1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5614],{5614:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=l(41197).default},8778:e=>{e.exports={"jw-player":"jw-player_jw-player__lHmOu","has-link":"jw-player_has-link__jJ47G",asset:"jw-player_asset__Hge51"}},15602:(e,t,l)=>{"use strict";l.d(t,{A:()=>h});var r=l(54568),n=l(56768),a=l(19713),i=l.n(a),s=l(7620),o=l(54639),c=l(81619),d=l.n(c),u=l(52686);let h=e=>{let{children:t,dataAttributes:l={},footer:a,header:c,lockBodyScroll:h=!0,onClose:p,position:v="centre",visible:m=!1,isIframe:f=!1}=e,_=(0,s.useRef)(null),x=(0,s.useRef)(null),[b,j]=(0,s.useState)({visible:m}),g=(0,s.useRef)(b),{visible:y}=b,w=()=>{var e,t,l,r;g.current.visible?(null==(e=x.current)||e.setAttribute("data-previously-animated","true"),null==(t=x.current)||t.setAttribute("data-visible","true"),null==(l=x.current)||l.removeAttribute("data-animating-in")):null==(r=x.current)||r.removeAttribute("data-animating-out")},k=e=>{m&&e.target===x.current&&e.preventDefault()};(0,s.useEffect)(()=>{var e,t,l,r,n;(e=>{g.current=e,j(e)})({visible:m}),m?(null==(e=x.current)||e.setAttribute("data-animating-in","true"),h&&(0,o.h7)()):((null==(t=x.current)?void 0:t.hasAttribute("data-previously-animated"))&&(null==(l=x.current)||l.setAttribute("data-animating-out","true"),null==(r=x.current)||r.removeAttribute("data-previously-animated"),null==(n=x.current)||n.removeAttribute("data-visible")),h&&(0,o.G0)())},[m]),(0,s.useEffect)(()=>{var e,t;return null==(e=x.current)||e.addEventListener("transitionend",e=>{"opacity"===e.propertyName&&w()}),null==(t=x.current)||t.addEventListener("touchstart",k),()=>{var e,t;null==(e=x.current)||e.removeEventListener("transitionend",w),null==(t=x.current)||t.removeEventListener("touchstart",k)}},[]);let A=i().bind(d())({modal:!0,["position-".concat(v)]:!0,visible:y});return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:A,...(0,o.at)("modal",l),ref:x,children:[(0,r.jsx)(n.A,{expandedHitArea:u.A.XS,id:"circleClose",onClick:p,size:u.A.M}),(0,r.jsxs)("div",{className:d().outer,ref:_,children:[c&&(0,r.jsx)("div",{className:d().header,children:c}),(0,r.jsx)("div",{className:f?d()["iframe-content"]:d().content,"body-scroll-lock-ignore":"true",children:t}),a&&(0,r.jsx)("div",{className:d().footer,children:a})]})]})})}},17921:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=l(79868).default},21786:e=>{e.exports={button:"button_button__6d0dL",disabled:"button_disabled__SoQZ_","full-width":"button_full-width__PjsTH",ghost:"button_ghost__nCr_5",loading:"button_loading___sT1M","has-onclick":"button_has-onclick__bFd26",small:"button_small__N4bjQ",medium:"button_medium__f5ivD",large:"button_large__FzuK9",primary:"button_primary__lNXaF",invert:"button_invert__Ctqeh",secondary:"button_secondary__RPiOq"}},26218:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var r=l(54568),n=l(25150),a=l.n(n),i=l(54639);l(81606);var s=l(52686);let o=e=>{let{bold:t,children:l,className:n,centered:o,dataAttributes:c={},font:d,size:u,suffixContent:h,variant:p}=e;if(!u)switch(p){case 1:u=s.A.XL;break;case 2:u=s.A.L;break;case 3:u=s.A.M;break;case 4:u=s.A.S;break;case 5:u=s.A.XS}let v=a()({centered:o,heading:!0});v+=(0,i.FS)(n),d&&(v+=(0,i.FS)([d]));let m=a()({["h".concat(p)]:!0,["size-".concat(u)]:!0}),f="h".concat(p),_=l;return t&&(_=(0,r.jsx)("strong",{children:l})),(0,r.jsxs)("div",{...(0,i.at)("heading",c),className:v,children:[(0,r.jsx)(f,{className:m,children:_}),h&&(0,r.jsx)("div",{className:"suffix",children:h})]})}},27742:(e,t,l)=>{"use strict";l.d(t,{default:()=>p});var r=l(54568),n=l(69859),a=l.n(n),i=l(25150),s=l.n(i),o=l(7620),c=l(81229),d=l(54639),u=l(79238),h=l.n(u);let p=e=>{let{aspectRatio:t="16:9",autoPlay:l=!1,className:n,dataAttributes:i={},src:u,videoId:p}=e,v=s().bind(h())({"jw-player":!0});v+=(0,d.FS)(n);let m=(0,o.useId)(),f=(0,o.useMemo)(()=>"".concat(m,"-").concat(null!=u?u:p),[m,u,p]),{register:_,notifyPlay:x}=(0,c.R)(),b=(0,o.useRef)(null);(0,o.useEffect)(()=>_(f,()=>{let e=b.current;e&&e.pause()}),[f,_]);let j=u?{file:u,image:(e=>{let t=e.match(/videos\/([a-zA-Z0-9]+)-/);if(!t)return null;let l=t[1];return"https://cdn.jwplayer.com/v2/media/".concat(l,"/poster.jpg?width=720")})(u)}:{playlist:"https://cdn.jwplayer.com/v2/media/".concat(p)};return(0,r.jsx)("div",{className:v,...(0,d.at)("jw-player",i),children:(0,r.jsx)(a(),{aspectratio:t,autostart:l,controls:!0,didMountCallback:e=>{let{player:t}=e;b.current=t},height:"100%",library:"https://cdn.jwplayer.com/libraries/".concat("dtXjuWuy",".js"),mute:l,onBeforePlay:()=>x(f),onPlay:()=>{x(f)}
1,width:"100%",willUnmountCallback:()=>{b.current=null},...j})})}},30899:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=l(53266).default},32542:(e,t,l)=>{"use strict";l.d(t,{vb:()=>p,n2:()=>v,Qd:()=>m});var r=l(54568),n=l(67345),a=l(30899),i=l(56768),s=l(93426),o=l(32602);let c={JWPlayer:s.default,Vimeo:o.default};var d=l(84546);l(7620);var u=l(72067);l(87832);var h=l(52686);let p=e=>{let{kind:t,...l}=e;switch(t){case"frieze":return(0,r.jsx)(a.A,{...l});case"armory":case"expo":return(0,r.jsx)(n.A,{...l})}},v=e=>{let{aspectRatio:t,link:l,preview:n,src:a,videoId:i}=e,s="YouTube";if(i)s="JWPlayer";else switch(!0){case null==a?void 0:a.includes("cdn.jwplayer.com"):s="JWPlayer";break;case null==a?void 0:a.includes("youtube"):s="YouTube";break;case null==a?void 0:a.includes("vimeo"):s="Vimeo"}let o=t?{aspectRatio:t}:{},u=l?{link:l}:{},h={YouTube:e=>{let{src:t}=e;return(0,r.jsx)(d.A.YouTube,{...o,src:t})},JWPlayer:e=>{let{preview:t,previewWidth:l,src:n,videoId:a}=e;if(t&&a){let e={videoId:a,...o,...u,...l&&{previewWidth:l}};return(0,r.jsx)(c.JWPlayer,{...e})}if(n||a)return(0,r.jsx)(d.A.JWPlayer,{...o,src:n,videoId:a})},Vimeo:e=>{let{preview:t,src:l}=e;if(!t||!l)return(0,r.jsx)(d.A.Vimeo,{...o,src:l});{let e=l.slice(l.lastIndexOf("/")+1);return(0,r.jsx)(c.Vimeo,{...o,...u,videoId:e})}}}[s];return(0,r.jsx)(h,{preview:n,src:a,videoId:i})},m=(e,t)=>{let l;switch(t){case"error":l="exclamationCircle";break;case"info":l="informationCircle";break;case"success":l="circleTick";break;case"warning":l="warningTriangle"}return(0,u.toast)(e,{closeButton:(0,r.jsx)(i.A,{colour:h.f.WHITE,eventStopPropagation:!1,id:"circleClose",size:h.A.S}),closeOnClick:!0,icon:(0,r.jsx)(i.A,{colour:h.f.WHITE,id:l}),position:"top-center",theme:"colored",type:t})},f=e=>{var t,l,r;if("text"===e.type)return null!=(t=e.data)?t:"";if("tag"===e.type){let t=Object.entries(null!=(l=e.attribs)?l:{}).map(e=>{let[t,l]=e;return"".concat(t,'="').concat(l,'"')}).join(" "),n=t.length?"<".concat(e.name," ").concat(t,">"):"<".concat(e.name,">"),a=(null!=(r=e.children)?r:[]).map(f).join("");return"".concat(n).concat(a,"</").concat(e.name,">")}return""},_=e=>{var t,l;return"text"===e.type?String(null!=(t=e.data)?t:""):"tag"===e.type?(null!=(l=e.children)?l:[]).map(_).join(""):""}},32602:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var r=l(54568),n=l(19713),a=l.n(n),i=l(27541),s=l(54639),o=l(34242),c=l.n(o);let d=e=>{let{aspectRatio:t="16 / 9",className:l,dataAttributes:n={},link:o,videoId:d}=e,u=a().bind(c())({"has-link":o,vimeo:!0});u+=(0,s.FS)(l);let h=(0,i.useRouter)(),p={};return o&&(p.onClick=()=>h.push(o),p.onKeyDown=e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),h.push(o))},p.tabIndex=0),(0,r.jsxs)("div",{className:u,...(0,s.at)("video",n),style:{aspectRatio:t},...p,children:[o&&(0,r.jsx)("div",{className:c().clickable}),(0,r.jsx)("iframe",{allow:"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share",referrerPolicy:"strict-origin-when-cross-origin",src:"https://player.vimeo.com/video/".concat(d,"?autopause=0&loop=1&background=1&controls=0&app_id=122963")})]})}},33161:(e,t,l)=>{"use strict";l.d(t,{h:()=>n});var r=l(7620);let n=()=>{let[e,t]=(0,r.useState)(null),[l,n]=(0,r.useState)(!1),[a,i]=(0,r.useState)(null),[s,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(!1),[u,h]=(0,r.useState)("centre");return{footer:a,header:s,isIframe:c,isOpen:l,content:e,position:u,showModal:e=>{let{content:l,footer:r,header:a,isIframe:s,position:c}=e;i(r),o(null),d(!!s),h(c),t(l),o(a),n(!0)},hideModal:()=>{d(!1),n(!1)}}}},34242:e=>{e.exports={vimeo:"vimeo_vimeo__joGh9","has-link":"vimeo_has-link__pMkEB",clickable:"vimeo_clickable__ohRjI"}},41197:(e,t,l)=>{"use strict";l.d(t,{default:()=>g});var r=l(54568),n=l(26218),a=l(56768),i=l(17921),s=l(15602),o=l(19713),c=l.n(o),d=l(7620),u=l(50091),h=l(66536),p=l(33161),v=l(32542),m=l(54639);l(84293),l(7091),l(44821),l(65725);var f=l(81621),_=l.n(f),x=l(52686);let b=e=>{let{allowFullscreen:t,autoPlay:l,breakpoints:o={1:{slidesPerView:1.2,spaceBetween:10},768:{slidesPerView:2.4,spaceBetween:10},1024:{slidesPerView:2.4,spaceBetween:10}},className:f,coverflow:b,dataAttributes:g={},fullscreen:y,heading:w,id:k,showNavigation:A=!1,showPagination:N=!1,slides:S,suffixLink:P}=e,C=c().bind(_())({carousel:!0});C+=(0,m.FS)(f);let{content:E,footer:F,header:I,hideModal:L,isOpen:M,position:R,showModal:V}=(0,p.h)(),T=(0,d.useRef)(null),X=(0,d.useRef)(null),W={};return l&&(W.autoplay={delay:2e3,disableOnInteraction:!1}),b&&(W.centeredSlides=!0,W.coverflowEffect={depth:100,modifier:1,rotate:50,slideShadows:!0,stretch:0}
1,W.effect="coverflow",W.grabCursor=!0),y&&(W.breakpoints={1:{slidesPerView:1,spaceBetween:10},768:{slidesPerView:1,spaceBetween:10},1024:{slidesPerView:1,spaceBetween:10}}),(0,r.jsxs)(r.Fragment,{children:[t&&!y&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.A,{footer:F,header:I,onClose:L,position:R,visible:M,children:E}),(0,v.vb)({children:"Full screen",className:["mb-20"],kind:"frieze",onClick:()=>{V({content:(0,r.jsx)("div",{className:_().fullscreen,children:(0,r.jsx)(j,{id:"".concat(k,"-fullscreen"),fullscreen:!0,showNavigation:!0,showPagination:!0,slides:S})}),footer:(0,r.jsx)(n.A,{variant:4,children:"Modal footer (optional)"}),header:(0,r.jsx)(n.A,{variant:4,children:"Modal heading (optional)"}),position:"fullscreen"})},variant:"primary"})]}),(0,r.jsxs)("div",{className:C,...(0,m.at)("carousel",g),children:[w&&(0,r.jsx)("div",{className:_().heading,children:w}),(0,r.jsx)("div",{className:_().inner,children:(0,r.jsxs)(h.RC,{...W,autoHeight:!0,breakpoints:y?W.breakpoints:o,className:"mySwiper",id:k,loop:!0,modules:[u.Ij,u.t9,u.Vx,u.dK],navigation:{nextEl:".next-".concat(k),prevEl:".previous-".concat(k)},onAutoplayTimeLeft:(e,t,l)=>{T.current.style.setProperty("--progress",String(1-l)),X.current.textContent="".concat(Math.ceil(t/1e3),"s")},pagination:{clickable:!0,el:".pagination-".concat(k)},speed:500,children:[S.map((e,t)=>(0,r.jsx)(h.qr,{children:e},"slide-".concat(t))),l&&(0,r.jsxs)("div",{className:"autoplay-progress",slot:"container-end",children:[(0,r.jsx)("svg",{viewBox:"0 0 48 48",ref:T,children:(0,r.jsx)("circle",{cx:"24",cy:"24",r:"20"})}),(0,r.jsx)("span",{ref:X})]}),(0,r.jsxs)("footer",{className:_().footer,children:[N&&(0,r.jsx)("div",{className:"pagination-".concat(k)}),A&&(0,r.jsxs)("div",{className:_().navigation,children:[(0,r.jsxs)("div",{className:"previous-".concat(k),children:[(0,r.jsx)(a.A,{eventStopPropagation:!1,id:"arrowLeftLong",size:x.A.XS}),(0,r.jsx)(i.A,{animatedUnderline:!1,href:"#",children:"Previous"})]}),(0,r.jsxs)("div",{className:"next-".concat(k),children:[(0,r.jsx)(i.A,{animatedUnderline:!1,href:"#",children:"Next"}),(0,r.jsx)(a.A,{eventStopPropagation:!1,id:"arrowRightLong",size:x.A.XS})]})]}),P&&(0,r.jsx)("div",{className:_().link,children:(0,r.jsx)(i.A,{animatedUnderline:!1,href:P.href,children:P.text})})]})]})})]})]})},j=b,g=b},46216:()=>{},51508:()=>{},51632:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var r=l(54568),n=l(56768),a=l(25150),i=l.n(a),s=l(54639);l(46216);let o=e=>{let t,{children:l,className:a,compact:o=!1,dataAttributes:c={},disabled:d,eventStopPropagation:u=!0,fullWidth:h,icon:p,loading:v,onClick:m=null,prefixIcon:f,suffixIcon:_,type:x="button",variant:b="primary"}=e,j=i()({button:!0,compact:o,disabled:d,"full-width":h,"has-onclick":m,"has-prefix-icon":f,"has-suffix-icon":_,loading:v,"with-icon":f||_,["variant-".concat(b)]:!0});return j+=(0,s.FS)(a),t=v?(0,r.jsx)(n.A,{id:"loading"}):p||(0,r.jsxs)(r.Fragment,{children:[f&&(0,r.jsx)("div",{className:"prefix-icon",children:f}),(0,r.jsx)("span",{children:l}),_&&(0,r.jsx)("div",{className:"suffix-icon",children:_})]}),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("button",{...(0,s.at)("button",c),className:j,disabled:d,onClickCapture:e=>{u&&e.stopPropagation(),m&&m()},type:x,children:t})})}},53266:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var r=l(54568),n=l(56768),a=l(19713),i=l.n(a),s=l(54639),o=l(21786),c=l.n(o),d=l(52686);let u=e=>{let t,{children:l,className:a,compact:o=!1,dataAttributes:u={},disabled:h,eventStopPropagation:p=!0,fullWidth:v,icon:m,invert:f,onClick:_=null,size:x="medium",type:b="button",variant:j="primary"}=e,g=i().bind(c())({button:!0,compact:o,disabled:h,"full-width":v,"has-onclick":!0,invert:f,[x]:!0,[j]:!0});if(g+=(0,s.FS)(a),m){let e=d.A.XS;"small"===x&&(e=d.A.XXS),"large"===x&&(e=d.A.S),t=(0,r.jsx)(n.A,{id:m,size:e})}else t=(0,r.jsx)("span",{children:l});return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("button",{...(0,s.at)("button",u),className:"".concat(g," font--frieze/label/regular/s"),disabled:h,onClickCapture:e=>{p&&e.stopPropagation(),_&&_()},type:b,children:t})})}},56768:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=l(4565).default},65725:()=>{},67345:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=l(51632).default},73310:(e,t,l)=>{"use strict";l.d(t,{default:()=>p});var r=l(54568),n=l(19713),a=l.n(n),i=l(96442),s=l(7620),o=l(81229),c=l(54639),d=l(86174),u=l.n(d);let h=(0,i.default)(()=>l.e(887).then(l.bind(l,40887)),{loadableGenerated:{webpack:()=>[40887]},ssr:!1}),p=e=>{let{aspectRatio:t="16 / 9",autoPlay:l=!1,className:n,dataAttributes:i={},src:d}=e,p=a().bind(u())({video:!0});p+=(0,c.FS)(n);let v=(0,s.useId)(),m=(0,s.useMemo)(()=>
1"".concat(v,"-").concat(d),[v,d]),[f,_]=(0,s.useState)(l),{register:x,notifyPlay:b}=(0,o.R)();return(0,s.useEffect)(()=>x(m,()=>_(!1)),[m,x]),(0,r.jsx)("div",{className:p,...(0,c.at)("video",i),style:{aspectRatio:t},children:(0,r.jsx)(h,{controls:!0,height:"100%",muted:l,onEnded:()=>_(!1),onPause:()=>_(!1),onPlay:()=>{_(!0),b(m)},playing:f,playsInline:l,src:d,width:"100%"})})}},79238:()=>{},79868:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Link:()=>c,default:()=>d});var r=l(54568),n=l(25150),a=l.n(n),i=l(19664),s=l.n(i),o=l(54639);l(51508);let c=e=>{let{accessibilityLabel:t="",animatedUnderline:l=!0,bold:n,children:i,className:c,dataAttributes:d={},disabled:u=!1,external:h,fullWidth:p,href:v,noUnderline:m=!1,onClick:f,onHover:_,prefixIcon:x,renderAsButton:b=!1,suffixIcon:j,suppressHydrationWarning:g,variant:y="default"}=e,w={link:!0};b?(w["render-as-button-".concat(b)]=!0,w["full-width"]=p):(w["animated-underline"]=!m&&l,w.disabled=u,w["no-underline"]=m,w["variant-".concat(y)]=!0);let k=a()(w);k+=(0,o.FS)(c);let A=!v||u||(0,o.i9)(v)?"":(e=>{try{return(e.startsWith("http")?new URL(e).pathname:e.split(/[?#]/)[0]).replace(/^\/(en|ko)(?=\/|$)/,"")}catch(e){return""}})(v),N="/account"===A||A.startsWith("/account/");return(0,r.jsx)(s(),{href:v&&!u?v:"",legacyBehavior:!0,passHref:!0,prefetch:!1,children:(0,r.jsxs)("a",{"aria-label":t,className:k,...(0,o.at)("link",d),"data-disabled":u,onClick:e=>(!u&&f&&f(e),N&&(e.preventDefault(),window.location.href=v),!1),onMouseOver:e=>{!u&&_&&_(e)},suppressHydrationWarning:g,target:v&&(0,o.i9)(v)?"_blank":void 0,children:[x&&(0,r.jsx)("div",{className:"prefix",children:x}),n?(0,r.jsx)("strong",{children:i}):i,j&&(0,r.jsx)("div",{className:"suffix",children:j})]})})},d=c},81229:(e,t,l)=>{"use strict";l.d(t,{R:()=>a}),l(54568);var r=l(7620);let n=(0,r.createContext)(null),a=()=>{let e=(0,r.useContext)(n);if(!e)throw Error("useVideo must be used inside <VideoProvider>");return e}},81606:()=>{},81619:e=>{e.exports={footer:"modal_footer__E8nCg","iframe-content":"modal_iframe-content__IOMgo",content:"modal_content__zvMEr",header:"modal_header___Xo7p",modal:"modal_modal__QioTe",visible:"modal_visible__AtbkJ",outer:"modal_outer__e_gfZ","position-bottom":"modal_position-bottom__FJrLg","position-centre":"modal_position-centre__5dJyf","position-fullscreen":"modal_position-fullscreen__xiXNE","position-left":"modal_position-left___7897","position-right":"modal_position-right__2gZTA"}},81621:e=>{e.exports={carousel:"carousel_carousel__jGcro",heading:"carousel_heading__KXsLv",content:"carousel_content__qP_Ic",footer:"carousel_footer__C5KQT",navigation:"carousel_navigation__Y8_ra",link:"carousel_link__mItfN",fullscreen:"carousel_fullscreen__LXK0V"}},84546:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var r=l(73310);let n={JWPlayer:l(27742).default,Vimeo:r.default,YouTube:r.default}},86174:e=>{e.exports={video:"video_video__Lxd_8"}},93426:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var r=l(54568),n=l(19713),a=l.n(n),i=l(27541),s=l(7620),o=l(54639),c=l(8778),d=l.n(c);let u=e=>{let{ariaLabel:t,aspectRatio:l="16 / 9",className:n,dataAttributes:c={},link:u,previewWidth:h=320,videoId:p}=e,v=a().bind(d())({"has-link":u,"jw-player":!0});v+=(0,o.FS)(n);let m=(0,i.useRouter)(),[f,_]=(0,s.useState)(""),[x,b]=(0,s.useState)(""),j=(0,s.useMemo)(()=>"https://cdn.jwplayer.com/v2/media/".concat(p),[p]);(0,s.useEffect)(()=>{let e=!1,t=function(){var e,t,l,r,n,a,i,s,o,c;let d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],p=u.filter(e=>(e.type||"").includes("mp4")),v=(null==(e=p.find(e=>1280===e.width&&720===e.height))?void 0:e.file)||(null==(t=p.find(e=>1280===e.width))?void 0:t.file)||(null==(l=p.find(e=>720===e.height))?void 0:l.file),m=d.filter(e=>"image/jpeg"===e.type),f=(null==(r=m.find(e=>1280===e.width))?void 0:r.src)||(null==(n=m.find(e=>720===e.width))?void 0:n.src)||(null==(a=m.sort((e,t)=>{var l,r;return(null!=(l=t.width)?l:0)-(null!=(r=e.width)?r:0)})[0])?void 0:a.src);if(!v){let e=d.filter(e=>"video/mp4"===e.type);e.length&&(v=(null==(i=e.find(e=>e.width===h))?void 0:i.src)||(null==(s=e.filter(e=>{var t;return(null!=(t=e.width)?t:0)>=h}).sort((e,t)=>
1{var l,r;return(null!=(l=e.width)?l:0)-(null!=(r=t.width)?r:0)})[0])?void 0:s.src)||(null==(o=e.sort((e,t)=>{var l,r;return(null!=(l=t.width)?l:0)-(null!=(r=e.width)?r:0)})[0])?void 0:o.src))}return v||(v=null==(c=p.sort((e,t)=>{var l,r;return(null!=(l=t.width)?l:0)-(null!=(r=e.width)?r:0)})[0])?void 0:c.file),{motion:v,poster:f}};return(async()=>{try{var l;let r=await fetch(j,{cache:"force-cache"});if(!r.ok)return;let n=await r.json(),a=null==n||null==(l=n.playlist)?void 0:l[0];if(!a)return;let{motion:i,poster:s}=t(a.images,a.sources);!e&&(i&&_(i),s&&b(s))}catch(e){}})(),()=>{e=!0}},[j,h]);let g={};return u&&(g.onClick=()=>m.push(u),g.onKeyDown=e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),m.push(u))},g.tabIndex=0),(0,r.jsxs)("div",{...(0,o.at)("jw-player",c),"aria-label":t,className:v,style:{aspectRatio:l},...g,children:[x&&(0,r.jsx)("img",{alt:t||"",className:d().asset,src:x}),f&&(0,r.jsx)("video",{autoPlay:!0,className:d().asset,controls:!1,loop:!0,muted:!0,playsInline:!0,poster:x||void 0,preload:"metadata",src:f})]})}}}]);
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.