1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16964],{66250:function(e,t,r){r.r(t),r.d(t,{default:function(){return a}});var n=r(14994),u=r(93435),o=r(60418),c=r.n(o);r(81785);let l=(0,r(20124).iv)({"--plyr-color-main":"brand.white","--plyr-video-controls-background":"misc.whiteSmoke","--plyr-video-control-background-hover":"none","--plyr-control-spacing":"0.5rem",margin:"0 auto",width:"100%",height:"auto",maxHeight:"40.625rem",overflow:"hidden"});var a=e=>{let[t,r]=(0,u.useState)(!1),[o,a]=(0,u.useState)(-1),[s,i]=(0,u.useState)(!1),[d,h]=(0,u.useState)(!1),f=(0,u.useRef)(null),v=(0,u.useRef)(null),m=(0,u.useRef)(),{videoUrl:p}=e;return(0,u.useEffect)(()=>{if(!f.current||m.current)return;let e=new(c())(f.current,{fullscreen:{fallback:!1,iosNative:!1},autoplay:!0,muted:!1,controls:["play","play-large","current-time","progress","duration","fullscreen"]});return e.source={type:"video",sources:[{src:p}]},e.on("statechange",e=>{let{detail:{code:t}}=e;return a(t)}),e.once("controlsshown",()=>{let e=document.querySelector('input[data-plyr="seek"]');e&&(e.onmousedown=()=>i(!0),e.ontouchstart=()=>i(!0),e.onmouseup=()=>i(!1),e.ontouchend=()=>i(!1))}),m.current=e,["touchstart","touchmove","touchend"].forEach(e=>{var t;null===(t=v.current)||void 0===t||t.addEventListener(e,()=>{h("touchend"!==e)})}),()=>{["touchstart","touchmove","touchend"].forEach(e=>{var t;null===(t=v.current)||void 0===t||t.removeEventListener(e,()=>{h("touchend"!==e)})})}},[f]),(0,u.useEffect)(()=>{if(!m.current)return;let e=s||m.current.seeking;if(2!==o&&0!==o||e)1!==o||t||r(!0);else{let{enabled:e,active:t,exit:n}=m.current.fullscreen;e&&t&&n(),r(!1)}return()=>{r(!0)}},[o,s,m]),(0,n.jsx)("div",{"data-qa-marker":"video-player",className:l,children:(0,n.jsx)("video",{ref: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.