(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17133],{17133:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>p});var l=s(87687),n=s(52751),t=s(31928),u=s(11780),a=s(5098);let c=(0,t.I)("div")({name:"Wrapper",class:"weao06p",propsAsIs:!1}),o=(0,t.I)("div")({name:"Filler",class:"fyyzddg",propsAsIs:!1}),f=(0,t.I)("iframe")({name:"Iframe",class:"i178w86r",propsAsIs:!1}),p=function(e){let{playbackId:r,aspectRatio:s=.625,fillEdges:t,...p}=e,d=n.useRef(null),i=n.useRef(null),w=(0,a.A)(d,!1,{threshold:[0],ignoreSubsequentEntries:!0}),y=n.useRef(null);return n.useEffect(()=>{if(!i.current||!w)return;y.current||(y.current=new u.A(i.current));let e=y.current;return e.on("ended",()=>{e.exitFullscreen()}),()=>{e.off("ended")}},[w]),(0,l.jsxs)(c,{...p,ref:d,style:{aspectRatio:"".concat(1/s)},children:[t&&(0,l.jsx)(o,{}),w&&(0,l.jsx)(f,{ref:i,src:"https://player.vimeo.com/video/".concat(r,"?pip=true"),frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0})]})};s(10489)},10489:e=>{e.exports={weao06p:"weao06p",fyyzddg:"fyyzddg",i178w86r:"i178w86r"}}}]); //# sourceMappingURL=17133.0daa3dd4d4c7c009.js.map