1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3758],{75706:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return l}});var t=r(55732),u=r(34707),i=r.n(u),c=r(27378),s=(r(88588),r(18664)),o=r(24246);function l(){var e=(0,c.useRef)(null),n=(0,c.useRef)(null),r=(0,c.useRef)(null),t=(0,c.useRef)(null),u=(0,c.useRef)(null);return(0,o.jsx)("div",{children:(0,o.jsxs)("div",{className:"grid grid-cols-2 gap-5",children:[(0,o.jsx)(a,{playerJSRef:e,id:"videoref1",selectedIndex:0}),(0,o.jsx)(a,{playerJSRef:n,id:"videoref2",selectedIndex:1}),(0,o.jsx)(a,{playerJSRef:r,selectedIndex:2,id:"videoref3"}),(0,o.jsx)(a,{playerJSRef:t,id:"videoref4",selectedIndex:3})," ",(0,o.jsx)(a,{playerJSRef:u,id:"videoref5",selectedIndex:4})," "]})})}function a(e){var n=e.playerJSRef,r=e.selectedIndex,u=e.id;(0,c.useEffect)((function(){return n.current=(0,s.Z)(u,{plugins:{},bigPlayButton:!1,inactivityTimeout:0,html5:{vhs:{overrideNative:!0},nativeAudioTracks:!1,nativeVideoTracks:!1}}),n.current.ready((0,t.Z)(i().mark((function e(){var t;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(t=n.current.qualityLevels()).on("addqualitylevel",(function(e){r&&d(t,r)}));case 2:case"end":return e.stop()}}),e)})))),n.current.src({src:"M02RSOD00rU3W8vdQJoyPnJAAG6LSpxJPP6zSjwiAqVUo",type:"video/mux"}),function(){var e,r;null===(e=n.current)||void 0===e||e.off("progress"),null===(r=n.current)||void 0===r||r.off("loadstart")}}),[r,n.current,u]);var l=(0,c.useRef)(null);return(0,c.useEffect)((function(){return l.current&&(l.current.currentTime=7),function(){n.current.qualityLevels().off("change",(function(){}))}}),[l.current,r]),(0,o.jsx)("video",{ref:l,id:u,autoPlay:!1,className:"video-js vjs-16-9",controls:!0,preload:"auto",width:"100%"})}function d(e,n){for(var r=void 0,t=e.selectedIndex,u=0;u<e.levels_.length;u++)(void 0===r||r.bitrate<e.levels_[u].bitrate)&&(r=e.levels_[u],t=u),e[u].enabled=!1;t!==e.selectedIndex&&(e[n].enabled=!0)}s.Z.use("video/mux",(function(e){return{setSource:function(e,n){var r=e.src;n(null,{src:"https://stream.mux.com/".concat(r),type:"application/x-mpegurl"})}}}))},77086:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/videotest",function(){return r(75706)}])},40444:function(){},25773:function(e,n,r){"use strict";function t(){return t=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},t.apply(this,arguments)}r.d(n,{Z:function(){return t}})}},function(e){e.O(0,[7336,5493,9774,2888,179],(function(){return n=77086,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.