1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[6519,9925],{97991(e,o,r){r.r(o),r.d(o,{default:()=>s});var l=r(77810),t=r(75826),i=r.n(t),a=r(51817);function d({item:e}){var o;return e?e.backgroundVideo?l.createElement(a.default,{video:e.backgroundVideo}):null!==(o=e.backgroundImage)&&void 0!==o&&o.src?l.createElement("img",{src:e.backgroundImage.src,alt:e.backgroundImage.alt||"",className:"absolute inset-0 w-full h-full object-cover",style:e.backgroundImage.focalPoint?{objectPosition:`${100*e.backgroundImage.focalPoint.x}% ${100*e.backgroundImage.focalPoint.y}%`}:void 0}):null:null}d.propTypes={item:i().shape({backgroundVideo:i().object,backgroundImage:i().shape({src:i().string,focalPoint:i().shape({x:i().number,y:i().number})})})};const s=d},51817(e,o,r){r.r(o),r.d(o,{default:()=>c});var l=r(77810),t=r(75826),i=r.n(t),a=r(42272),d=r(29550);const s=({className:e,objectSize:o,onEnded:r,video:t})=>{const i=(0,d.A)(t),[s,c]=(0,l.useState)(t.videoUrlPosterImage),[n,u]=(0,l.useState)(t.videoUrl);return(0,l.useEffect)(()=>{const e=window.matchMedia("(max-width: 767px)").matches;e&&t.videoUrlPosterImageMobile?c(t.videoUrlPosterImageMobile):c(t.videoUrlPosterImage),"youtube"===t.platform&&u(e&&t.videoUrlMobile?t.videoUrlMobile:t.videoUrl)},[t.platform,t.videoUrl,t.videoUrlMobile,t.videoUrlPosterImage,t.videoUrlPosterImageMobile]),"youtube"===t.platform?l.createElement("div",{className:(0,a.cn)("absolute h-full left-0 top-0 w-full",o||"object-cover",e)},l.createElement("iframe",{className:"w-full h-full",src:n,title:"YouTube video player",allowFullScreen:!0,allow:"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",frameBorder:"0"})):l.createElement("video",{ref:i,className:(0,a.cn)("absolute h-full left-0 top-0 w-full",o||"object-cover",e),loop:!t.disableVideoLoop,muted:!0,onEnded:r,playsInline:!0,poster:s,preload:"auto"},l.createElement("source",{src:t.videoUrlMobile?t.videoUrlMobile:t.videoUrl,media:"(max-width: 767px)",type:"video/mp4"}),l.createElement("source",{src:t.videoUrl,media:"(min-width: 768px)",type:"video/mp4"}))};s.displayName="VideoPlayer",s.propTypes={className:i().string,objectSize:i().string,onEnded:i().func,video:i().shape({platform:i().oneOf(["widen","youtube"]).isRequired,videoId:i().string,disableVideoLoop:i().bool,videoUrl:i().string,videoUrlMobile:i().string,posterImage:i().string,posterImageMobile:i().string})};const c=s}}]);
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.