1"use strict";(self.webpackChunkgetter_fe=self.webpackChunkgetter_fe||[]).push([[2767],{52767:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var r=n(68963),a=n(28691),o=n.n(a),u=n(22788),l=n.n(u),i=(n(1205),n(75859));window.muxjs=o(),l().polyfill.installAll();const s={streaming:{useNativeHlsOnSafari:!0}},d={addBigPlayButton:!0,controlPanelElements:["play_pause","time_and_duration","volume","mute","fullscreen"]},c=(0,r.forwardRef)((function(e,t){let{src:n,autoPlay:a=!1,muted:o=!1,width:u="100%",height:c="auto",className:p,onError:h,onLoaded:v}=e;const m=(0,r.useRef)(null),f=(0,r.useRef)(null),[y,g]=(0,r.useState)(),[b,k]=(0,r.useState)();(0,r.useEffect)((()=>{if(!l().Player.isBrowserSupported())return void console.error("Browser not supported for Shaka Player");if(!f.current||!m.current)return;f.current&&(f.current.muted=o,f.current.volume=.5);const e=document.createElement("style");e.textContent="\n .shaka-play-button {\n padding: 0;\n }\n .shaka-controls-button-panel{\n position: relative;\n justify-content: flex-start !important;\n }\n .shaka-small-play-button{\n width:32px;\n height:32px;\n border-radius: 50%;\n }\n .shaka-small-play-button:hover{\n background-color: rgba(255, 255, 255, 0.2);\n }\n .shaka-fullscreen-button{\n position: absolute;\n right: 0;\n }\n .shaka-mute-button{\n position: absolute;\n right: 30px;\n }\n .shaka-volume-bar-container{\n position: absolute;\n right: 70px;\n left: unset;\n top: 11px;\n }\n",document.head.appendChild(e);const t=new(l().Player);g(t),t.attach(f.current),t.configure(s);const n=new(l().ui.Overlay)(t,m.current,f.current);return n.configure(d),k(n),t.addEventListener("error",(e=>{h&&h(e)})),t.addEventListener("loaded",(()=>{v&&v()})),()=>{t.destroy(),n.destroy(),e.parentNode&&e.parentNode.removeChild(e)}}),[]),(0,r.useEffect)((()=>{y&&n&&y.load(n).catch((e=>{console.error("Error loading media:",e),h&&h(e)}))}),[y,n]),(0,r.useImperativeHandle)(t,(()=>({get player(){return y},get videoElement(){return f.current},play:()=>{var e;return(null===(e=f.current)||void 0===e?void 0:e.play())||Promise.reject()},pause:()=>{f.current&&f.current.pause()},getCurrentTime:()=>{var e;return(null===(e=f.current)||void 0===e?void 0:e.currentTime)||0},getDuration:()=>{var e;return(null===(e=f.current)||void 0===e?void 0:e.duration)||0},isLive:()=>(null===y||void 0===y?void 0:y.isLive())||!1})),[y]);return(0,i.jsx)("div",{ref:m,className:p,style:{width:u,height:c},onClick:()=>{var e;null!==(e=f.current)&&void 0!==e&&e.muted&&(f.current.muted=!1,f.current.play())},children:(0,i.jsx)("video",{ref:f,muted:o,autoPlay:a,style:{width:"100%",height:"100%"}})})}))}}]);
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.