PageSourceSearch

https://www.whatuni.com/_next/static/chunks/8650.9a073ba5a4cfb1aa.js

js whatuni.com collected 2026-09-24 08:53:33 UTC 20,840 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1365,3746,6269,8650],{50731:(e,l,t)=>{"use strict";t.d(l,{A:()=>i});var a=t(54568);let i=function(e){var l,t,i,n,s=e.catReview,r=e.hallName;return(0,a.jsxs)("div",{className:"flex flex-col gap-[8px]",children:[(0,a.jsxs)("div",{className:"category-rank flex items-center gap-[8px]",children:[(0,a.jsx)("span",{className:"reviewLink small font-semibold text-grey300",children:null==s?void 0:s.questionTitle}),(0,a.jsxs)("div",{className:"flex gap-[4px]",children:[(0,a.jsx)("div",{className:"flex gap-[4px]",children:(0,a.jsx)("svg",{"data-testid":"rating-svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M7.85874 1.14803C8.21796 0.0424542 9.78205 0.0424547 10.1413 1.14803L11.4248 5.09818C11.5854 5.59261 12.0462 5.92736 12.566 5.92736H16.7195C17.8819 5.92736 18.3653 7.4149 17.4248 8.09818L14.0646 10.5395C13.644 10.8451 13.468 11.3867 13.6287 11.8812L14.9122 15.8313C15.2714 16.9369 14.006 17.8562 13.0656 17.173L9.70535 14.7316C9.28477 14.426 8.71525 14.426 8.29466 14.7316L4.93446 17.173C3.994 17.8562 2.72863 16.9369 3.08785 15.8313L4.37133 11.8812C4.53198 11.3867 4.35599 10.8451 3.93541 10.5395L0.575205 8.09818C-0.365252 7.4149 0.118079 5.92736 1.28055 5.92736H5.43399C5.95386 5.92736 6.41461 5.59261 6.57525 5.09818L7.85874 1.14803Z",fill:"#0FBEFD"})})}),(0,a.jsx)("span",{className:"small text-grey300",children:null==(l=Number(null==s?void 0:s.rating))?void 0:l.toFixed(1)})]})]}),r&&(null==s||null==(t=s.questionTitle)?void 0:t.toLowerCase())=="university halls"&&(0,a.jsx)("div",{className:"x-small text-grey300 mt-[-4px]",children:r}),(null==s?void 0:s.comments)&&(0,a.jsx)("p",{className:"small text-grey300 break-words",children:null==s?void 0:s.comments}),!!(null==s||null==(i=s.childQuestions)?void 0:i.length)&&(0,a.jsx)("ul",{className:"flex flex-wrap gap-x-[16px] gap-y-[4px] w-full p-[16px] *:text-small *:text-grey300 *:font-semibold bg-grey-100 rounded-[8px]",children:null==s||null==(n=s.childQuestions)?void 0:n.map(function(e,l){var t;return(0,a.jsxs)("li",{children:[null==e?void 0:e.questionTitle," ",(null==e?void 0:e.rating)?null==(t=Number(null==e?void 0:e.rating))?void 0:t.toFixed(1):"N/A"]},l)})})]})}},51365:(e,l,t)=>{"use strict";t.r(l),t.d(l,{default:()=>v});var a=t(46615),i=t(17194),n=t(7798),s=t(54568),r=t(7620),o=t(28580),d=t(50091),c=t(97242),u=t(32536);t(84293),t(44821),t(7091),t(54820);var x=t(88570),m=t(733),p=t(47777);let v=function(e){var l=e.galleryItems,t=e.isPostgraduate,v=e.noVideoFlag,h=e.userReview,f=void 0!==h&&h,g=e.isOpen,w=e.commonGAAttrs,j=e.showGallery,N=e.isFullWidth,y=e.isOpenDayPage,b=void 0!==y&&y,k=function(e){return e.startsWith("http://")||e.startsWith("https://")?e:"".concat("https://images-dom.prod.aws.idp-connect.com").concat(e)},_=function(e,l){return f||!e.endsWith(".jpg")?e:e.replace(/\.jpg$/,"_".concat(l,".jpg"))},C=(0,n._)((0,r.useState)(null),2),L=C[0],I=C[1],P=(0,r.useRef)(null);if(!(null==l?void 0:l.length))return(0,s.jsx)(s.Fragment,{});var S=null==l?void 0:l.filter(function(e){return(null==e?void 0:e.mediaPath)||(null==e?void 0:e.thumbnailImage)});if(!(null==S?void 0:S.length))return(0,s.jsx)(s.Fragment,{});var A=function(){(0,m.GA4DataLayer)((0,a._)({event:p.g4.track_event,event_name:"carousel_navigation",click_text:j?"Show Gallery":"Is "+(null==w?void 0:w.institution_name)+" a good place to study?",navigation_category:"arrow"},w))};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{ref:P,className:"w-full mx-auto ".concat(void 0!==N&&N?"":"max-w-lg md:w-[728px] lg:w-[670px] xl:w-[907px]"," ").concat(f?"md:!w-full":""),children:(void 0===g||g)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.RC,{onSlideChange:function(e){if(P.current){var l=P.current.querySelectorAll("video");null==l||l.forEach(function(e){e.paused||e.pause()})}},onSlideNextTransitionStart:A,onSlidePrevTransitionStart:A,pagination:!0,spaceBetween:8,navigation:!0,thumbs:{swiper:L},modules:[d.Vx,d.dK,d.WO],className:"reviewMainSwiper MultiSwiper",children:S.length>0&&(null==S?void 0:S.map(function(e,l){return(0,s.jsx)(o.qr,{children:(0,s.jsx)("div",{className:"w-full h-[185px] rounded-[8px] overflow-hidden flex items-center justify-center sm:h-[360px] md:h-[390px] ".concat(f?"lg:h-[390px] xl:h-[410px]":b?"md:h-[411px] md:max-w-[728px] lg:h-[500px] xl:h-[686px] xl:max-w-[1216px]":"lg:h-[450px] xl:h-[480px]"," "),children:"Y"!==e.videoFlag||v?(null==e?void 0:e.mediaPath)?(0,s.jsx)(u.default,{src:_(k(null==e?void 0:e.mediaPath),"768px"),alt:"Slide ".concat(l),className:"w-full h-full object-cover rounded-[8px]",width:"907",height:"511"}):null:(0,s.jsx)(x.default,{commonGAAttrs:(0,i._)((0,a._)({},w),{position:l+1}),featuredData:{mediaPath:null==e?void 0:e.mediaPath,mediaName:null==e?void 0:e.mediaName,thumbnailUrl:(null==e?void 0:e.thumbnailImage)?k(null==e?void 0:e.thumbnailImage):""}})})},l)}))}),(0,s.jsx)(o.RC,{onSwiper:I,slidesPerView:"auto",spaceBetween:8,slidesPerGroupSkip:3,freeMode:!0,watchSlidesProgress:!0,breakpoints:{320:{spaceBetween:8,slidesPerGroup:3},768:{spaceBetween:10,slidesPerGroup:3},993:{spaceBetween:4,slidesPerGroup:3}},modules:[d.WO],className:"".concat(!(0,c.lz)()||t?"pgsthumswiper":"thumbSwiper"," ").concat(f?"reviewsSwiper":""),children:(null==S?void 0:S.length)>0&&S.map(function(e,l){return(0,s.jsx)(o.qr,{className:"cursor-pointer",children:"Y"!==e.videoFlag?(null==e?void 0:e.mediaPath)?(0,s.jsx)(u.default,{width:157,height:112,src:_(k(e.mediaPath),"170px"),alt:"Thumbn
1ail ".concat(l),className:"w-full h-full object-cover rounded-[4px]"}):null:(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"rounded-[4px] h-full",children:[(0,s.jsx)("button",{className:"absolute left-[50%] top-[50%] -translate-x-[50%] -translate-y-[50%] cursor-pointer",children:(0,s.jsx)(u.default,{alt:"video_play_icon",loading:"lazy",width:"52",height:"52",decoding:"async","data-nimg":"1",src:"/static/assets/icons/video_play_icon.svg"})}),(null==e?void 0:e.thumbnailImage)&&(0,s.jsx)(u.default,{width:157,height:112,src:(0,c.lz)()&&!t?_(k(e.thumbnailImage),"170px"):k(e.thumbnailImage),alt:"Thumbnail ".concat(l),className:"w-full h-full object-cover rounded-[4px]"})]})})},l)})})]})})})}},53895:(e,l,t)=>{"use strict";t.d(l,{A:()=>i});var a=t(54568);t(7620);let i=function(){return(0,a.jsx)("div",{className:"review-comments-card p-[16px] grow",children:(0,a.jsxs)("div",{className:"review-comments flex flex-col gap-[24px]",children:[(0,a.jsx)("div",{className:"review-comments__col w-full",children:(0,a.jsxs)("div",{className:"flex items-center gap-[16px]",children:[(0,a.jsx)("div",{className:"reviewer__avatar flex items-center justify-center min-w-[80px] w-[80px] h-[80px] bg-neutral-100 text-heading4 font-bold uppercase rounded-[80px]"}),(0,a.jsxs)("div",{className:"flex flex-col basis-[200px] *:text-x-small *:text-grey300 *:text-left",children:[(0,a.jsx)("div",{className:"skeleton skeleton-text-animated descrip"}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated descrip"}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated descrip"})]})]})}),(0,a.jsx)("div",{className:"review-comments__col flex-1",children:(0,a.jsxs)("div",{className:"flex flex-col flex-1 gap-[24px]",children:[(0,a.jsxs)("div",{className:"flex flex-col flex-1 *:text-grey300",children:[(0,a.jsx)("div",{className:"skeleton skeleton-text-animated descrip !w-[30%]"}),(0,a.jsxs)("div",{className:"flex flex-col gap-[4px]",children:[(0,a.jsx)("div",{className:"skeleton skeleton-text-animated large_heading !w-[50%]"}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated heading !w-[65%]"})]})]}),(0,a.jsx)("div",{className:"review-body flex flex-col gap-[16px]",children:(0,a.jsx)("div",{className:"flex flex-col gap-[20px]",children:(0,a.jsxs)("div",{className:"flex flex-col gap-[8px]",children:[(0,a.jsxs)("div",{className:"category-rank flex items-center gap-[8px]",children:[(0,a.jsx)("span",{className:"skeleton skeleton-text-animated heading !w-[20%] !m-0"}),(0,a.jsx)("div",{className:"flex gap-[4px] items-center",children:(0,a.jsx)("div",{className:"flex gap-[4px]",children:[1].map(function(e,l){return(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M7.85874 1.14803C8.21796 0.0424542 9.78205 0.0424547 10.1413 1.14803L11.4248 5.09818C11.5854 5.59261 12.0462 5.92736 12.566 5.92736H16.7195C17.8819 5.92736 18.3653 7.4149 17.4248 8.09818L14.0646 10.5395C13.644 10.8451 13.468 11.3867 13.6287 11.8812L14.9122 15.8313C15.2714 16.9369 14.006 17.8562 13.0656 17.173L9.70535 14.7316C9.28477 14.426 8.71525 14.426 8.29466 14.7316L4.93446 17.173C3.994 17.8562 2.72863 16.9369 3.08785 15.8313L4.37133 11.8812C4.53198 11.3867 4.35599 10.8451 3.93541 10.5395L0.575205 8.09818C-0.365252 7.4149 0.118079 5.92736 1.28055 5.92736H5.43399C5.95386 5.92736 6.41461 5.59261 6.57525 5.09818L7.85874 1.14803Z",fill:"#E2E8F0"})},l)})})})]}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated descrip !w-[15%]"}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated descrip !m-0"}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated descrip !m-0"}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated descrip !m-0"}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated descrip !m-0"}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-x-[16px] gap-y-[2px] *:text-small *:text-grey300 *:font-semibold w-full md:w-[375px] bg-grey-100 p-[16px] rounded-[8px]",children:[(0,a.jsx)("div",{className:"skeleton skeleton-text-animated small-heading !m-0"}
1),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated small-heading !m-0"}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated small-heading !m-0"}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated small-heading !m-0"}),(0,a.jsx)("div",{className:"skeleton skeleton-text-animated small-heading !m-0"})]})]})})})]})})]})})}},54820:()=>{},77597:(e,l,t)=>{"use strict";t.r(l),t.d(l,{ContentfulInspectorManager:()=>s});var a=t(11362),i=t(7798),n=t(17867),s=(0,t(96442).default)(function(){return(0,a._)(function(){var e,l;return(0,n.YH)(this,function(a){switch(a.label){case 0:return[4,Promise.resolve().then(t.t.bind(t,7620,19))];case 1:return e=a.sent(),[4,t.e(3471).then(t.bind(t,23471))];case 2:return l=a.sent().useContentfulInspectorMode,[2,function(t){var a=t.fields,n=e.useEffect,s=l();return n(function(){if(s){var e=[];return a.forEach(function(l){var t=l.entryId,a=l.fieldId,n=l.targetSelector;if(t&&a){var r=document.querySelector(n);if(r){var o=s({entryId:t,fieldId:a});Object.entries(o).forEach(function(l){var t=(0,i._)(l,2),a=t[0],n=t[1];r.setAttribute(a,n),e.push(function(){return r.removeAttribute(a)})}),e.push(function(){return Object.keys(o).forEach(function(e){return r.removeAttribute(e)})})}}}),function(){return e.forEach(function(e){return e()})}}},[a,s]),null}]}})})()},{loadableGenerated:{webpack:function(){return[null]}},ssr:!1,loading:function(){return null}})},78650:(e,l,t)=>{"use strict";t.r(l),t.d(l,{default:()=>m});var a=t(11362),i=t(7798),n=t(17867),s=t(54568),r=t(7620),o=t(50731),d=t(50575),c=t(53895),u=t(26677),x=t(51365);let m=function(e){var l,t,m=e.reviewId,p=e.reviewData,v=void 0===p?null:p,h=e.noVideoFlag,f=e.closeModal,g=e.lightBoxType,w=void 0===g?"basic":g,j=function(){b(function(){return!1}),setTimeout(function(){f()},400)},N=(0,i._)((0,r.useState)(!1),2),y=N[0],b=N[1],k=(0,i._)((0,r.useState)(),2),_=k[0],C=k[1];(0,r.useEffect)(function(){return document.body.classList.add("overflow-y-hidden"),b(function(){return!0}),v?(v.reviewedDate=L(null==v?void 0:v.reviewedDate),C(v)):(0,a._)(function(){var e;return(0,n.YH)(this,function(l){switch(l.label){case 0:return[4,(0,d.A)({url:"https://api.dom-services.idp-connect.com"+(null===u.A||void 0===u.A?void 0:u.A.reviewDetails),method:"POST",body:{reviewId:[m]},headers:{"x-api-key":"Vbcpal95JW7rKG4aDDhVYVWVdeiFwrK3Fj9etORd"}})];case 1:if(!(null==(e=l.sent())?void 0:e.details)||!(null==e?void 0:e.details[0].reviewedDate))return f(),[2];return e.details[0].reviewedDate=L(null==e?void 0:e.details[0].reviewedDate),C(function(){return null==e?void 0:e.details[0]}),[2]}})})(),function(){document.body.classList.remove("overflow-y-hidden")}},[]);var L=function(e){return new Date(e).toLocaleDateString("en-US",{month:"long",year:"numeric"})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{onClick:function(){return j()},className:"".concat(y?"animate-fadeIn block":"hidden"," backdrop-shadow fixed top-0 right-0 left-0 bottom-0 bg-white z-[10]")}),(0,s.jsx)("div",{className:"modal modal-container fixed top-0 right-0 bottom-0 z-[11]",children:(0,s.jsxs)("div",{className:"".concat(y?"translate-y-0 opacity-[1]":"translate-y-[100px] opacity-0"," transition-all duration-300 modal-box shadow-custom-6 w-full md:w-[720px] ").concat("galleryView"===w?"lg:w-[987px]":"lg:w-[790px]"," p-[0] md:p-[20px] lg:p-[24px] bg-white md:rounded-[8px] fixed top-0 md:top-[60px] left-0 right-0 mx-auto h-[100vh] md:h-[calc(100vh-120px)]"),children:[(0,s.jsx)("button",{"data-testid":"light-box-close-icon",onClick:function(){return j()},className:"modal_close flex items-center justify-center absolute top-[24px] right-[14px] md:right-[16px] lg:right-[20px] z-[1] cursor-pointer",children:(0,s.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{className:"stroke-grey-600",d:"M1 13L13 1M1 1L13 13",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)("div",{className:"review-modal-container flex flex-col gap-[16px] p-[16px_0_0] md:p-[0]",children:(0,s.jsxs)("div",{className:"review-modal-card flex flex-col lg:flex-row gap-[16px] md:gap-[20px] max-md:pr-[0] max-md:h-[calc(100vh-40px)] max-lg:pr-[20px] max-lg:custom-scrollbar-2 max-lg:overflow-y-auto max-lg:h-[calc(100vh-168px)] lg:h-[auto] ",children:["galleryView"===w&&(null==_||null==(l=_.imageDetails)?void 0:l.length)!==0&&(0,s.jsx)("div",{className:"w-full lg:min-w-[540px] lg:w-[540px]",children:(0,s.jsx)("div",{className:"review-gallery pt-[60px] md:pt-[0]",children:(0,s.jsx)(x.default,{noVideoFlag:void 0!==h&&h,userReview:!!v,isPostgraduate:!1,galleryItems:null==_?void 0:_.imageDetails})})}),_?(0,s.jsx)("div",{className:"review-gallery-scroll flex flex-1 px-[16px] md:px-[0] max-md:mr-[16px] max-md:custom-scrollbar-2 max-md:overflow-y-auto max-md:h-[calc(100vh-212px)] lg:custom-scrollbar-2 lg:overflow-y-auto lg:h-[c
1alc(100vh-168px)] lg:pr-[16px]",children:(0,s.jsx)("div",{className:"review-comments-card pb-[24px]",children:(0,s.jsxs)("div",{className:"review-comments flex flex-col gap-[24px]",children:[(0,s.jsx)("div",{className:"review-comments__col w-full",children:(0,s.jsxs)("div",{className:"flex items-center gap-[16px]",children:[(0,s.jsx)("div",{className:"reviewer__avatar flex items-center justify-center min-w-[80px] w-[80px] h-[80px] bg-primary-200 text-heading4 font-bold text-grey-50 uppercase rounded-[80px]",children:null==_?void 0:_.initials}),(0,s.jsxs)("div",{className:"flex flex-col flex-1 *:text-x-small *:text-grey300 *:text-left",children:[(0,s.jsx)("div",{className:"font-semibold break-words break-all",children:null==_?void 0:_.reviewerName}),(0,s.jsx)("p",{children:null==_?void 0:_.ageGroup}),(0,s.jsx)("p",{children:(null==_?void 0:_.isFirstGenStudent)?"First gen student":""})]})]})}),(0,s.jsx)("div",{className:"review-comments__col flex-1",children:(0,s.jsxs)("div",{className:"flex flex-col flex-1 gap-[24px]",children:[(0,s.jsxs)("div",{className:"flex flex-col flex-1 *:text-grey300",children:[(0,s.jsxs)("div",{className:"x-small",children:["Reviewed: ",null==_?void 0:_.reviewedDate]}),(0,s.jsxs)("div",{className:"flex flex-col gap-[4px]",children:[(0,s.jsx)("div",{className:"para font-semibold",children:null==_?void 0:_.institutionDisplayName}),(0,s.jsx)("a",{onClick:function(){return j()},className:"small text-primary-400 hover:text-primary-500 hover:underline",href:"/degrees/".concat(null==_?void 0:_.courseTextKey,"/").concat(null==_?void 0:_.institutionTextKey,"/cd/").concat(null==_?void 0:_.courseId,"/").concat(null==_?void 0:_.institutionId),children:null==_?void 0:_.courseDisplayName})]})]}),(0,s.jsxs)("div",{className:"review-body flex flex-col gap-[16px]",children:[(0,s.jsx)("div",{className:"flex flex-col gap-[20px]",children:null==_||null==(t=_.categoryComments)?void 0:t.map(function(e,l){return(0,s.jsx)("div",{children:(0,s.jsx)(o.A,{catReview:e,hallName:null==_?void 0:_.hallName})},l)})}),!!(null==_?void 0:_.likesCount)&&(0,s.jsxs)("div",{className:"flex gap-[8px] items-center w-fit small text-grey300 cursor-default",children:[(0,s.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M4.66732 15.1667H2.66732C2.3137 15.1667 1.97456 15.0262 1.72451 14.7762C1.47446 14.5261 1.33398 14.187 1.33398 13.8333V9.16668C1.33398 8.81306 1.47446 8.47392 1.72451 8.22387C1.97456 7.97382 2.3137 7.83334 2.66732 7.83334H4.66732M9.33398 6.50001V3.83334C9.33398 3.30291 9.12327 2.7942 8.7482 2.41913C8.37313 2.04406 7.86442 1.83334 7.33398 1.83334L4.66732 7.83334V15.1667H12.1873C12.5089 15.1703 12.8209 15.0576 13.0659 14.8493C13.3109 14.6411 13.4724 14.3513 13.5207 14.0333L14.4407 8.03334C14.4697 7.84225 14.4568 7.64713 14.4029 7.46151C14.349 7.27589 14.2554 7.10421 14.1286 6.95835C14.0017 6.8125 13.8447 6.69596 13.6684 6.61682C13.492 6.53768 13.3006 6.49782 13.1073 6.50001H9.33398Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,s.jsx)("span",{className:"small text-grey300 underline",children:(null==_?void 0:_.likesCount)||0})]})]})]})})]})})}):(0,s.jsx)(c.A,{})]})})]})})]})}},88570:(e,l,t)=>{"use strict";t.d(l,{default:()=>p});var a=t(46615),i=t(17194),n=t(7798),s=t(54568),r=t(7620),o=t(32536),d=t(2963),c=t(39448),u=t(47777),x=t(77597),m=t(733);let p=function(e){var l=e.featuredData,t=e.csData,p=(e.lazyLoadThumbnail,e.videoSysId),v=e.imageSysId,h=e.iscontentPreview,f=e.commonGAAttrs,g=(0,r.useRef)(null),w=(0,n._)((0,r.useState)(!1),2),j=w[0],N=w[1],y=(0,n._)((0,r.useState)(!1),2),b=y[0],k=y[1];(0,r.useEffect)(function(){return d.A.on("pauseVideo",I),function(){d.A.off("pauseVideo",I)}},[]),(0,r.useEffect)(function(){j&&g.current&&(g.current.muted=!0,g.current.play().catch(function(e){}))},[j]);var _=function(){var e;(e=(0,i._)((0,a._)({},t),{eventType:"VideoPlayed",functionalityName:"Featured provider",actionType:u.G0.clickAction,videoName:null==l?void 0:l.mediaName}))&&(0,c.logClickstreamEvent)(e)},C=function(){N(!0),k(!0)},L=function(e){e.stopPropagation(),g.current&&!b&&k(!0)},I=function(e){e.stopPropagation(),g.current&&b&&(g.current.pause(),k(!1))},P=function(e){e.stopPropagation()};return(0,s.jsxs)(s.Fragment,{children:[h&&(0,s.jsx)(x.ContentfulInspectorManager,{fields:[{entryId:p,fieldId:"video",targetSelector:"#cpc_video"},{entryId:v,fieldId:"image",targetSelector:"#cpc_image"}]}),j?(0,s.jsx)("video",{ref:g,className:"w-full",controls:!0,controlsList:"nodownload",preload:"none",onClick:function(e){P(e),b||_(),(0,m.GA4DataLayer)((0,a._)({event:u.g4.track_event,event_name:"video_click",click_text:null==l?void 0:l.mediaName},f))},onPlay:function(e){L(e),b||_()},onPause:function(e){return I(e)},poster:(null==l?void 0:l.thumbnailUrl)||"".concat("https://images-dom.prod.aws.idp-connect.com").concat(null==l?void 0:l.thumbnailPath),children:(0,s.jsx)("source",{id:"cpc_video",src:(null==l?void 0:l.mediaPath)?"".concat(null==l?void 0:l.mediaPath):"/",type:"video/mp4"})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"w-full relative rounded-[8px] overflow-hidden block",children:[!!((null==l?void 0:l.thumbnailPath)||(null==l?void 0:l.thumbnailUrl))&&(0,s.jsx)(o.default,{className:"block w-full",src:(null==l?void 0:l.thumbnailUrl)?l.thumbnailUrl:"".concat("https://images-dom.prod.aws.idp-connect.com").concat(null==l?void 0:l.thumbnailPath),alt:"Video thumbnail",width:907,height:511,sizes:"(max-width: 640px) 100v
1w, (max-width: 1024px) 50vw, 33vw",quality:80,priority:!0,placeholder:"blur",blurDataURL:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9IiNlMmUyZTIiLz48L3N2Zz4="}),(0,s.jsx)("button",{type:"button",onClick:function(){C(),(0,m.GA4DataLayer)((0,a._)({event:u.g4.track_event,event_name:"video_click",click_text:null==l?void 0:l.mediaName},f))},className:"video-play-icon absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 cursor-pointer","aria-label":"Play Video",children:(0,s.jsx)(o.default,{src:"/static/assets/icons/video_play_icon.svg",width:52,height:52,alt:"Play icon"})})]})})]})}}}]);
2//# sourceMappingURL=8650.9a073ba5a4cfb1aa.js.map

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.