filesbox/web/dist/design/designstatic/chatroom/video/video.min.js

48 lines
241 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
/**
* @license
* Video.js 5.19.2 <http://videojs.com/>
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
* Available under Apache License Version 2.0
* <https://github.com/videojs/video.js/blob/master/LICENSE>
*
* Includes vtt.js <https://github.com/mozilla/vtt.js>
* Available under Apache License Version 2.0
* <https://github.com/mozilla/vtt.js/blob/master/LICENSE>
*/(function(ft){if(typeof exports=="object"&&typeof module!="undefined")module.exports=ft();else if(typeof define=="function"&&define.amd)define([],ft);else{var s;s=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this,s.videojs=ft()}})(function(){var ft;return function s(U,h,w){function _(T,C){if(!h[T]){if(!U[T]){var b=typeof require=="function"&&require;if(!C&&b)return b(T,!0);if(m)return m(T,!0);var f=new Error("Cannot find module '"+T+"'");throw f.code="MODULE_NOT_FOUND",f}var i=h[T]={exports:{}};U[T][0].call(i.exports,function(p){var n=U[T][1][p];return _(n||p)},i,i.exports,s,U,h,w)}return h[T].exports}for(var m=typeof require=="function"&&require,E=0;E<w.length;E++)_(w[E]);return _}({1:[function(s,U,h){"use strict";function w(p){return p&&p.__esModule?p:{default:p}}function _(p,n){if(!(p instanceof n))throw new TypeError("Cannot call a class as a function")}function m(p,n){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||typeof n!="object"&&typeof n!="function"?p:n}function E(p,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);p.prototype=Object.create(n&&n.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(p,n):p.__proto__=n)}h.__esModule=!0;var T=s(2),C=w(T),b=s(5),f=w(b),i=function(p){function n(){return _(this,n),m(this,p.apply(this,arguments))}return E(n,p),n.prototype.buildCSSClass=function(){return"vjs-big-play-button"},n.prototype.handleClick=function(u){this.player_.play();var e=this.player_.getChild("controlBar"),t=e&&e.getChild("playToggle");if(!t)return void this.player_.focus();this.setTimeout(function(){t.focus()},1)},n}(C.default);i.prototype.controlText_="Play Video",f.default.registerComponent("BigPlayButton",i),h.default=i},{2:2,5:5}],2:[function(s,U,h){"use strict";function w(e){return e&&e.__esModule?e:{default:e}}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||typeof t!="object"&&typeof t!="function"?e:t}function E(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}h.__esModule=!0;var T=s(3),C=w(T),b=s(5),f=w(b),i=s(86),p=w(i),n=s(88),u=function(e){function t(){return _(this,t),m(this,e.apply(this,arguments))}return E(t,e),t.prototype.createEl=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"button",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};l=(0,n.assign)({className:this.buildCSSClass()},l),r!=="button"&&(p.default.warn("Creating a Button with an HTML element of "+r+" is deprecated; use ClickableComponent instead."),l=(0,n.assign)({tabIndex:0},l),a=(0,n.assign)({role:"button"},a)),a=(0,n.assign)({type:"button","aria-live":"polite"},a);var v=f.default.prototype.createEl.call(this,r,l,a);return this.createControlTextEl(v),v},t.prototype.addChild=function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=this.constructor.name;return p.default.warn("Adding an actionable (user controllable) child to a Button ("+a+") is not supported; use a ClickableComponent instead."),f.default.prototype.addChild.call(this,r,l)},t.prototype.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},t.prototype.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(r){r.which!==32&&r.which!==13&&e.prototype.handleKeyPress.call(this,r)},t}(C.default);f.default.registerComponent("Button",u),h.default=u},{3:3,5:5,86:86,88:88}],3:[function(s
<span class="vjs-control-text"><span>`+this.localize("Progress")+"</span>: 0%</span>"});return this.tooltip=r.querySelector(".vjs-time-tooltip"),r},t.prototype.updateDataAttr=function(r){var l=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),a=(0,n.default)(l,this.player_.duration());this.el_.setAttribute("data-current-time",a),this.tooltip.innerHTML=a},t}(b.default);b.default.registerComponent("TooltipProgressBar",u),h.default=u},{5:5,83:83,84:84}],21:[function(s,U,h){"use strict";function w(p){return p&&p.__esModule?p:{default:p}}function _(p,n){if(!(p instanceof n))throw new TypeError("Cannot call a class as a function")}function m(p,n){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||typeof n!="object"&&typeof n!="function"?p:n}function E(p,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);p.prototype=Object.create(n&&n.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(p,n):p.__proto__=n)}h.__esModule=!0;var T=s(22),C=w(T),b=s(5),f=w(b),i=function(p){function n(){return _(this,n),m(this,p.apply(this,arguments))}return E(n,p),n.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+p.prototype.buildCSSClass.call(this)},n.prototype.createEl=function(){var u=p.prototype.createEl.call(this,{className:this.buildCSSClass()});return u.innerHTML="&nbsp;",u},n}(C.default);f.default.registerComponent("CustomControlSpacer",i),h.default=i},{22:22,5:5}],22:[function(s,U,h){"use strict";function w(f){return f&&f.__esModule?f:{default:f}}function _(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function m(f,i){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!i||typeof i!="object"&&typeof i!="function"?f:i}function E(f,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);f.prototype=Object.create(i&&i.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(f,i):f.__proto__=i)}h.__esModule=!0;var T=s(5),C=w(T),b=function(f){function i(){return _(this,i),m(this,f.apply(this,arguments))}return E(i,f),i.prototype.buildCSSClass=function(){return"vjs-spacer "+f.prototype.buildCSSClass.call(this)},i.prototype.createEl=function(){return f.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},i}(C.default);C.default.registerComponent("Spacer",b),h.default=b},{5:5}],23:[function(s,U,h){"use strict";function w(p){return p&&p.__esModule?p:{default:p}}function _(p,n){if(!(p instanceof n))throw new TypeError("Cannot call a class as a function")}function m(p,n){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||typeof n!="object"&&typeof n!="function"?p:n}function E(p,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);p.prototype=Object.create(n&&n.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(p,n):p.__proto__=n)}h.__esModule=!0;var T=s(31),C=w(T),b=s(5),f=w(b),i=function(p){function n(u,e){_(this,n),e.track={player:u,kind:e.kind,label:e.kind+" settings",selectable:!1,default:!1,mode:"disabled"},e.selectable=!1;var t=m(this,p.call(this,u,e));return t.addClass("vjs-texttrack-settings"),t.controlText(", opens "+e.kind+" settings dialog"),t}return E(n,p),n.prototype.handleClick=function(u){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},n}(C.default);f.default.registerComponent("CaptionSettingsMenuItem",i),h.default=i},{31:31,5:5}],24:[function(s,U,h){"use strict";function w(u){return u&&u.__esModule?u:{default:u}}function _(u,e){if(!(u instanceof e))throw new TypeError("Cannot call a clas
.`+ct+` {
width: `+Z+`px;
height: `+rt+`px;
}
.`+ct+`.vjs-fluid {
}
`)},F.prototype.loadTech_=function(k,I){var K=this;this.tech_&&this.unloadTech_(),k!=="Html5"&&this.tag&&(nt.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=k,this.isReady_=!1;var Z=(0,z.assign)({source:I,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+k+"_api",videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]},this.options_[k.toLowerCase()]);this.tag&&(Z.tag=this.tag),I&&(this.currentType_=I.type,I.src===this.cache_.src&&this.cache_.currentTime>0&&(Z.startTime=this.cache_.currentTime),this.cache_.sources=null,this.cache_.source=I,this.cache_.src=I.src);var rt=nt.default.getTech(k);rt||(rt=b.default.getComponent(k)),this.tech_=new rt(Z),this.tech_.ready(a.bind(this,this.handleTechReady_),!0),M.default.jsonToTextTracks(this.textTracksJson_||[],this.tech_),W.forEach(function(Q){K.on(K.tech_,Q,K["handleTech"+(0,D.default)(Q)+"_"])}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||k==="Html5"&&this.tag||r.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},F.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks(),this.textTracks_=this.textTracks(),this.audioTracks_=this.audioTracks(),this.textTracksJson_=M.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},F.prototype.tech=function(k){if(k&&k.IWillNotUseThisInPlugins)return this.tech_;var I=`
Please make sure that you are not using this inside of a plugin.
To disable this alert and error, please pass in an object with
\`IWillNotUseThisInPlugins\` to the \`tech\` method. See
https://github.com/videojs/video.js/issues/2617 for more info.
`;throw n.default.alert(I),new Error(I)},F.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},F.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},F.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused()){try{delete this.tag.poster}catch(k){(0,c.default)("deleting tag.poster throws in some browsers",k)}this.play()}},F.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},F.prototype.hasStarted=function(k){return k!==void 0?(this.hasStarted_!==k&&(this.hasStarted_=k,k?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},F.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},F.prototype.handleTechWaiting_=function(){var k=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return k.removeClass("vjs-waiting")})},F.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},F.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},F.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},F.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},F.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},F.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(c.default.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},F.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},F.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},F.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},F.prototype.handleTechClick_=function(k){k.button===0&&this.controls()&&(this.paused()?this.play():this.pause())},F.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},F.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},F.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},F.prototype.handleTechTouchEnd_=function(k){k.preventDefault()},F.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},F.prototype.handleStageClick_=function(){this.reportUserActivity()},F.prototype.handleTechFullscreenChange_=function(k,I){I&&this.isFullscreen(I.isFullscreen),this.trigger("fullscreenchange")},F.prototype.handleTechError_=function(){var k=this.tech_.error();this.error(k)},F.prototype.handleTechTextData_=function(){var k=null;arguments.length>1&&(k=arguments[1]),this.trigger("textdata",k)},F.prototype.getCache=function(){return this.cache_},F
This may prevent text tracks from loading.`],[`Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.
This may prevent text tracks from loading.`]),f=s(62),i=_(f),p=s(5),n=_(p),u=s(81),e=w(u),t=s(92),r=w(t),l=s(83),a=w(l),v=s(86),d=_(v),y=s(98),g=_(y),o=s(78),c=w(o),j=s(94),D=_(j),B=s(95),R=_(B),L=s(88),O=s(87),P=_(O),N=s(91),q=_(N),x=function(S){function A(M,V){E(this,A);var G=T(this,S.call(this,M,V)),et=M.source,nt=!1;if(et&&(G.el_.currentSrc!==et.src||M.tag&&M.tag.initNetworkState_===3)?G.setSource(et):G.handleLateInit_(G.el_),G.el_.hasChildNodes()){for(var ot=G.el_.childNodes,st=ot.length,ut=[];st--;){var pt=ot[st];pt.nodeName.toLowerCase()==="track"&&(G.featuresNativeTextTracks?(G.remoteTextTrackEls().addTrackElement_(pt),G.remoteTextTracks().addTrack_(pt.track),nt||G.el_.hasAttribute("crossorigin")||!r.isCrossOrigin(pt.src)||(nt=!0)):ut.push(pt))}for(var W=0;W<ut.length;W++)G.el_.removeChild(ut[W])}return["audio","video"].forEach(function(Y){var tt=G.el()[Y+"Tracks"],J=G[Y+"Tracks"](),F=(0,q.default)(Y);G["featuresNative"+F+"Tracks"]&&tt&&tt.addEventListener&&(G["handle"+F+"TrackChange_"]=function(k){J.trigger({type:"change",target:J,currentTarget:J,srcElement:J})},G["handle"+F+"TrackAdd_"]=function(k){return J.addTrack(k.track)},G["handle"+F+"TrackRemove_"]=function(k){return J.removeTrack(k.track)},tt.addEventListener("change",G["handle"+F+"TrackChange_"]),tt.addEventListener("addtrack",G["handle"+F+"TrackAdd_"]),tt.addEventListener("removetrack",G["handle"+F+"TrackRemove_"]),G["removeOld"+F+"Tracks_"]=function(k){return G.removeOldTracks_(J,tt)},G.on("loadstart",G["removeOld"+F+"Tracks_"]))}),G.featuresNativeTextTracks&&(nt&&d.default.warn((0,g.default)(b)),G.handleTextTrackChange_=a.bind(G,G.handleTextTrackChange),G.handleTextTrackAdd_=a.bind(G,G.handleTextTrackAdd),G.handleTextTrackRemove_=a.bind(G,G.handleTextTrackRemove),G.proxyNativeTextTracks_()),(c.TOUCH_ENABLED||c.IS_IPHONE||c.IS_NATIVE_ANDROID)&&M.nativeControlsForTouch===!0&&G.setControls(!0),G.proxyWebkitFullscreen_(),G.triggerReady(),G}return C(A,S),A.prototype.dispose=function(){var M=this;["audio","video","text"].forEach(function(V){var G=(0,q.default)(V),et=M.el_[V+"Tracks"];et&&et.removeEventListener&&(et.removeEventListener("change",M["handle"+G+"TrackChange_"]),et.removeEventListener("addtrack",M["handle"+G+"TrackAdd_"]),et.removeEventListener("removetrack",M["handle"+G+"TrackRemove_"])),et&&M.off("loadstart",M["removeOld"+G+"Tracks_"])}),A.disposeMediaElement(this.el_),S.prototype.dispose.call(this)},A.prototype.createEl=function(){var M=this.options_.tag;if(!M||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(M){var V=M.cloneNode(!0);M.parentNode&&M.parentNode.insertBefore(V,M),A.disposeMediaElement(M),M=V}else{M=D.default.createElement("video");var G=this.options_.tag&&e.getElAttributes(this.options_.tag),et=(0,P.default)({},G);c.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete et.controls,e.setElAttributes(M,(0,L.assign)(et,{id:this.options_.techId,class:"vjs-tech"}))}M.playerId=this.options_.playerId}for(var nt=["autoplay","preload","loop","muted"],ot=nt.length-1;ot>=0;ot--){var st=nt[ot],ut={};typeof this.options_[st]!="undefined"&&(ut[st]=this.options_[st]),e.setElAttributes(M,ut)}return M},A.prototype.handleLateInit_=function(M){if(M.networkState!==0&&M.networkState!==3){if(M.readyState===0){var V=!1,G=function(){V=!0};this.on("loadstart",G);var et=function(){V||this.trigger("loadstart")};return this.on("loadedmetadata",et),void this.ready(function(){this.off("loadstart",G),this.off("loadedmetadata",et),V||this.trigger("loadstart")})}var nt=["loadstart"];nt.push("loadedmetadata"),M.readyState>=2&&nt.push("loadeddata"),M.readyState>=3&&nt.push("canplay"),M.readyState>=4&&nt.push("canplaythrough"),this.ready(function(){nt.forEach(function(ot){this.trigger(ot)},this)})}},A.prototype.proxyNativeTextTracks_=function(){var M=this.el().textTracks;if(M){for(var V=0;V<M.length;V++)this.textTracks().addTrack_(M[V]);M.addEventListener&&(M.addEventListener("change",this.handleTextTrackChange_),M.addEventListener("addtrack",this.handleTextTrackAdd_),M.addEventListener("removetrack",this.handleTextTrackRem
has been deprecated. Use the third argument instead.
createEl(type, properties, attributes). Attempting to set `," to ","."],[`Setting attributes in the second argument of createEl()
has been deprecated. Use the third argument instead.
createEl(type, properties, attributes). Attempting to set `," to ","."]);h.isReal=b,h.isEl=f,h.getEl=p,h.createEl=n,h.textContent=u,h.insertElFirst=e,h.getElData=t,h.hasElData=r,h.removeElData=l,h.hasElClass=a,h.addElClass=v,h.removeElClass=d,h.toggleElClass=y,h.setElAttributes=g,h.getElAttributes=o,h.getAttribute=c,h.setAttribute=j,h.removeAttribute=D,h.blockTextSelection=B,h.unblockTextSelection=R,h.findElPosition=L,h.getPointerPosition=O,h.isTextNode=P,h.emptyEl=N,h.normalizeContent=q,h.appendContent=x,h.insertContent=X;var z=s(94),H=_(z),S=s(95),A=_(S),M=s(85),V=w(M),G=s(86),et=_(G),nt=s(98),ot=_(nt),st=s(88),ut={},pt="vdata"+new Date().getTime();h.$=i("querySelector"),h.$$=i("querySelectorAll")},{85:85,86:86,88:88,94:94,95:95,98:98}],82:[function(s,U,h){"use strict";function w(y){return y&&y.__esModule?y:{default:y}}function _(y){if(y&&y.__esModule)return y;var g={};if(y!=null)for(var o in y)Object.prototype.hasOwnProperty.call(y,o)&&(g[o]=y[o]);return g.default=y,g}function m(y,g){var o=n.getElData(y);o.handlers[g].length===0&&(delete o.handlers[g],y.removeEventListener?y.removeEventListener(g,o.dispatcher,!1):y.detachEvent&&y.detachEvent("on"+g,o.dispatcher)),Object.getOwnPropertyNames(o.handlers).length<=0&&(delete o.handlers,delete o.dispatcher,delete o.disabled),Object.getOwnPropertyNames(o).length===0&&n.removeElData(y)}function E(y,g,o,c){o.forEach(function(j){y(g,j,c)})}function T(y){function g(){return!0}function o(){return!1}if(!y||!y.isPropagationStopped){var c=y||a.default.event;y={};for(var j in c)j!=="layerX"&&j!=="layerY"&&j!=="keyLocation"&&j!=="webkitMovementX"&&j!=="webkitMovementY"&&(j==="returnValue"&&c.preventDefault||(y[j]=c[j]));if(y.target||(y.target=y.srcElement||d.default),y.relatedTarget||(y.relatedTarget=y.fromElement===y.target?y.toElement:y.fromElement),y.preventDefault=function(){c.preventDefault&&c.preventDefault(),y.returnValue=!1,c.returnValue=!1,y.defaultPrevented=!0},y.defaultPrevented=!1,y.stopPropagation=function(){c.stopPropagation&&c.stopPropagation(),y.cancelBubble=!0,c.cancelBubble=!0,y.isPropagationStopped=g},y.isPropagationStopped=o,y.stopImmediatePropagation=function(){c.stopImmediatePropagation&&c.stopImmediatePropagation(),y.isImmediatePropagationStopped=g,y.stopPropagation()},y.isImmediatePropagationStopped=o,y.clientX!==null&&y.clientX!==void 0){var D=d.default.documentElement,B=d.default.body;y.pageX=y.clientX+(D&&D.scrollLeft||B&&B.scrollLeft||0)-(D&&D.clientLeft||B&&B.clientLeft||0),y.pageY=y.clientY+(D&&D.scrollTop||B&&B.scrollTop||0)-(D&&D.clientTop||B&&B.clientTop||0)}y.which=y.charCode||y.keyCode,y.button!==null&&y.button!==void 0&&(y.button=1&y.button?0:4&y.button?1:2&y.button?2:0)}return y}function C(y,g,o){if(Array.isArray(g))return E(C,y,g,o);var c=n.getElData(y);c.handlers||(c.handlers={}),c.handlers[g]||(c.handlers[g]=[]),o.guid||(o.guid=e.newGUID()),c.handlers[g].push(o),c.dispatcher||(c.disabled=!1,c.dispatcher=function(j,D){if(!c.disabled){j=T(j);var B=c.handlers[j.type];if(B)for(var R=B.slice(0),L=0,O=R.length;L<O&&!j.isImmediatePropagationStopped();L++)try{R[L].call(y,j,D)}catch(P){r.default.error(P)}}}),c.handlers[g].length===1&&(y.addEventListener?y.addEventListener(g,c.dispatcher,!1):y.attachEvent&&y.attachEvent("on"+g,c.dispatcher))}function b(y,g,o){if(n.hasElData(y)){var c=n.getElData(y);if(c.handlers){if(Array.isArray(g))return E(b,y,g,o);var j=function(L){c.handlers[L]=[],m(y,L)};if(g){var D=c.handlers[g];if(D){if(!o)return void j(g);if(o.guid)for(var B=0;B<D.length;B++)D[B].guid===o.guid&&D.splice(B--,1);m(y,g)}}else for(var R in c.handlers)j(R)}}}function f(y,g,o){var c=n.hasElData(y)?n.getElData(y):{},j=y.parentNode||y.ownerDocument;if(typeof g=="string"&&(g={type:g,target:y}),g=T(g),c.dispatcher&&c.dispatcher.call(y,g,o),j&&!g.isPropagationStopped()&&g.bubbles===!0)f.call(null,j,g,o);else if(!j&&!g.defaultPrevented){var D=n.getElData(g.target);g.target[g.type]&&(D.disabled=!0,typeof g.target[g.type]=="function"&&g.target[g.type](),D.disabled=!1)}return!g.defaultPrevented}function i(y,g,o){if(Array.isArray(g))return E(i,y,
.video-js {
width: 300px;
height: 150px;
}
.vjs-fluid {
}
`)}}p.autoSetupTimeout(1,m),m.VERSION="5.19.2",m.options=y.default.prototype.options_,m.getPlayers=function(){return y.default.players},m.players=y.default.players,m.getComponent=t.default.getComponent,m.registerComponent=function(I,K){J.default.isTech(K)&&H.default.warn("The "+I+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),t.default.registerComponent.call(t.default,I,K)},m.getTech=J.default.getTech,m.registerTech=J.default.registerTech,m.browser=V,m.TOUCH_ENABLED=V.TOUCH_ENABLED,m.extend=pt.default,m.mergeOptions=j.default,m.bind=B.bind,m.plugin=o.default,m.addLanguage=function(I,K){var Z;return I=(""+I).toLowerCase(),m.options.languages=(0,j.default)(m.options.languages,(Z={},Z[I]=K,Z)),m.options.languages[I]},m.log=H.default,m.createTimeRange=m.createTimeRanges=x.createTimeRanges,m.formatTime=$.default,m.parseUrl=et.parseUrl,m.isCrossOrigin=et.isCrossOrigin,m.EventTarget=l.default,m.on=v.on,m.one=v.one,m.off=v.off,m.trigger=v.trigger,m.xhr=Y.default,m.TextTrack=L.default,m.AudioTrack=P.default,m.VideoTrack=q.default,m.isEl=A.isEl,m.isTextNode=A.isTextNode,m.createEl=A.createEl,m.hasClass=A.hasElClass,m.addClass=A.addElClass,m.removeClass=A.removeElClass,m.toggleClass=A.toggleElClass,m.setAttributes=A.setElAttributes,m.getAttributes=A.getElAttributes,m.emptyEl=A.emptyEl,m.appendContent=A.appendContent,m.insertContent=A.insertContent,m.computedStyle=st.default,typeof ft=="function"&&ft.amd?ft("videojs",[],function(){return m}):(h===void 0?"undefined":E(h))==="object"&&(U===void 0?"undefined":E(U))==="object"&&(U.exports=m),h.default=m},{42:42,43:43,5:5,51:51,52:52,56:56,62:62,64:64,72:72,77:77,78:78,80:80,81:81,82:82,83:83,84:84,86:86,87:87,88:88,89:89,90:90,92:92,94:94,95:95,99:99}],94:[function(s,U,h){(function(w){var _=w!==void 0?w:typeof window!="undefined"?window:{},m=s(96);if(typeof document!="undefined")U.exports=document;else{var E=_["__GLOBAL_DOCUMENT_CACHE@4"];E||(E=_["__GLOBAL_DOCUMENT_CACHE@4"]=m),U.exports=E}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{96:96}],95:[function(s,U,h){(function(w){typeof window!="undefined"?U.exports=window:w!==void 0?U.exports=w:typeof self!="undefined"?U.exports=self:U.exports={}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],96:[function(s,U,h){},{}],97:[function(s,U,h){function w(_,m){var E,T=null;try{E=JSON.parse(_,m)}catch(C){T=C}return[T,E]}U.exports=w},{}],98:[function(s,U,h){function w(_){return _.replace(/\n\r?\s*/g,"")}U.exports=function(_){for(var m="",E=0;E<arguments.length;E++)m+=w(_[E])+(arguments[E+1]||"");return m}},{}],99:[function(s,U,h){"use strict";function w(u,e){for(var t=0;t<u.length;t++)e(u[t])}function _(u){for(var e in u)if(u.hasOwnProperty(e))return!1;return!0}function m(u,e,t){var r=u;return i(e)?(t=e,typeof u=="string"&&(r={uri:u})):r=n(e,{uri:u}),r.callback=t,r}function E(u,e,t){return e=m(u,e,t),T(e)}function T(u){function e(){d.readyState===4&&setTimeout(l,0)}function t(){var P=void 0;if(P=d.response?d.response:d.responseText||C(d),L)try{P=JSON.parse(P)}catch(N){}return P}function r(P){return clearTimeout(o),P instanceof Error||(P=new Error(""+(P||"Unknown XMLHttpRequest Error"))),P.statusCode=0,v(P,O)}function l(){if(!g){var P;clearTimeout(o),P=u.useXDR&&d.status===void 0?200:d.status===1223?204:d.status;var N=O,q=null;return P!==0?(N={body:t(),statusCode:P,method:j,headers:{},url:c,rawRequest:d},d.getAllResponseHeaders&&(N.headers=p(d.getAllResponseHeaders()))):q=new Error("Internal XMLHttpRequest Error"),v(q,N,N.body)}}if(typeof u.callback=="undefined")throw new Error("callback argument missing");var a=!1,v=function(P,N,q){a||(a=!0,u.callback(P,N,q))},d=u.xhr||null;d||(d=u.cors||u.useXDR?new E.XDomainRequest:new E.XMLHttpRequest);var y,g,o,c=d.url=u.uri||u.url,j=d.method=u.method||"GET",D=u.body||u.data,B=d.headers=u.headers||{},R=!!u.sync,L=!1,O={body:void 0,headers:{},statusCode:0,method:j,url:c,rawRequest:d};if("json"in u&&u.json
`),function(C){var b=C.indexOf(":"),f=w(C.slice(0,b)).toLowerCase(),i=w(C.slice(b+1));typeof T[f]=="undefined"?T[f]=i:m(T[f])?T[f].push(i):T[f]=[T[f],i]}),T}},{101:101,102:102}],104:[function(s,U,h){function w(){for(var m={},E=0;E<arguments.length;E++){var T=arguments[E];for(var C in T)_.call(T,C)&&(m[C]=T[C])}return m}U.exports=w;var _=Object.prototype.hasOwnProperty},{}],105:[function(s,U,h){var w=s(109),_=U.exports={WebVTT:s(106).WebVTT,VTTCue:s(107).VTTCue,VTTRegion:s(108).VTTRegion};w.vttjs=_,w.WebVTT=_.WebVTT;var m=_.VTTCue,E=_.VTTRegion,T=w.VTTCue,C=w.VTTRegion;_.shim=function(){w.VTTCue=m,w.VTTRegion=E},_.restore=function(){w.VTTCue=T,w.VTTRegion=C},w.VTTCue||_.shim()},{106:106,107:107,108:108,109:109}],106:[function(s,U,h){(function(w){function _(o,c){this.name="ParsingError",this.code=o.code,this.message=c||o.message}function m(o){function c(D,B,R,L){return 3600*(0|D)+60*(0|B)+(0|R)+(0|L)/1e3}var j=o.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return j?j[3]?c(j[1],j[2],j[3].replace(":",""),j[4]):j[1]>59?c(j[1],j[2],0,j[4]):c(0,j[1],j[2],j[4]):null}function E(){this.values=l(null)}function T(o,c,j,D){var B=D?o.split(D):[o];for(var R in B)if(typeof B[R]=="string"){var L=B[R].split(j);if(L.length===2){var O=L[0],P=L[1];c(O,P)}}}function C(o,c,j){function D(){var O=m(o);if(O===null)throw new _(_.Errors.BadTimeStamp,"Malformed timestamp: "+L);return o=o.replace(/^[^\sa-zA-Z-]+/,""),O}function B(O,P){var N=new E;T(O,function(q,x){switch(q){case"region":for(var X=j.length-1;X>=0;X--)if(j[X].id===x){N.set(q,j[X].region);break}break;case"vertical":N.alt(q,x,["rl","lr"]);break;case"line":var $=x.split(","),z=$[0];N.integer(q,z),N.percent(q,z)&&N.set("snapToLines",!1),N.alt(q,z,["auto"]),$.length===2&&N.alt("lineAlign",$[1],["start","middle","end"]);break;case"position":$=x.split(","),N.percent(q,$[0]),$.length===2&&N.alt("positionAlign",$[1],["start","middle","end"]);break;case"size":N.percent(q,x);break;case"align":N.alt(q,x,["start","middle","end","left","right"])}},/:/,/\s/),P.region=N.get("region",null),P.vertical=N.get("vertical",""),P.line=N.get("line","auto"),P.lineAlign=N.get("lineAlign","start"),P.snapToLines=N.get("snapToLines",!0),P.size=N.get("size",100),P.align=N.get("align","middle"),P.position=N.get("position",{start:0,left:0,middle:50,end:100,right:100},P.align),P.positionAlign=N.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},P.align)}function R(){o=o.replace(/^\s+/,"")}var L=o;if(R(),c.startTime=D(),R(),o.substr(0,3)!=="-->")throw new _(_.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+L);o=o.substr(3),R(),c.endTime=D(),R(),B(o,c)}function b(o,c){function j(){function z(S){return c=c.substr(S.length),S}if(!c)return null;var H=c.match(/^([^<]*)(<[^>]+>?)?/);return z(H[1]?H[1]:H[2])}function D(z){return a[z]}function B(z){for(;$=z.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)z=z.replace($[0],D);return z}function R(z,H){return!y[H.localName]||y[H.localName]===z.localName}function L(z,H){var S=v[z];if(!S)return null;var A=o.document.createElement(S);A.localName=S;var M=d[z];return M&&H&&(A[M]=H.trim()),A}for(var O,P=o.document.createElement("div"),N=P,q=[];(O=j())!==null;)if(O[0]!=="<")N.appendChild(o.document.createTextNode(B(O)));else{if(O[1]==="/"){q.length&&q[q.length-1]===O.substr(2).replace(">","")&&(q.pop(),N=N.parentNode);continue}var x,X=m(O.substr(1,O.length-2));if(X){x=o.document.createProcessingInstruction("timestamp",X),N.appendChild(x);continue}var $=O.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!$||(x=L($[1],$[3]),!x)||!R(N,x))continue;$[2]&&(x.className=$[2].substr(1).replace("."," ")),q.push($[1]),N.appendChild(x),N=x}return P}function f(o){for(var c=0;c<g.length;c++){var j=g[c];if(o>=j[0]&&o<=j[1])return!0}return!1}function i(o){function c(O,P){for(var N=P.childNodes.length-1;N>=0;N--)O.push(P.childNodes[N])}function j(O){if(!O||!O.length)return null;var P=O.pop(),N=P.textContent||P.innerText;if(N){var q=N.match(/^.*(\n|\r)/);return q?(O.length=0,q[0]):N}return P.tagName==="ruby"?j(O):P.childNodes?(c(O,P)
`;)++x;var X=q.substr(0,x);return q[x]==="\r"&&++x,q[x]===`
`&&++x,R.buffer=q.substr(x),X}function j(q){var x=new E;if(T(q,function($,z){switch($){case"id":x.set($,z);break;case"width":x.percent($,z);break;case"lines":x.integer($,z);break;case"regionanchor":case"viewportanchor":var H=z.split(",");if(H.length!==2)break;var S=new E;if(S.percent("x",H[0]),S.percent("y",H[1]),!S.has("x")||!S.has("y"))break;x.set($+"X",S.get("x")),x.set($+"Y",S.get("y"));break;case"scroll":x.alt($,z,["up"])}},/=/,/\s/),x.has("id")){var X=new(R.vttjs.VTTRegion||R.window.VTTRegion);X.width=x.get("width",100),X.lines=x.get("lines",3),X.regionAnchorX=x.get("regionanchorX",0),X.regionAnchorY=x.get("regionanchorY",100),X.viewportAnchorX=x.get("viewportanchorX",0),X.viewportAnchorY=x.get("viewportanchorY",100),X.scroll=x.get("scroll",""),R.onregion&&R.onregion(X),R.regionList.push({id:x.get("id"),region:X})}}function D(q){var x=new E;T(q,function(X,$){switch(X){case"MPEGT":x.integer(X+"S",$);break;case"LOCA":x.set(X+"L",m($))}},/[^\d]:/,/,/),R.ontimestampmap&&R.ontimestampmap({MPEGTS:x.get("MPEGTS"),LOCAL:x.get("LOCAL")})}function B(q){q.match(/X-TIMESTAMP-MAP/)?T(q,function(x,X){switch(x){case"X-TIMESTAMP-MAP":D(X)}},/=/):T(q,function(x,X){switch(x){case"Region":j(X)}},/:/)}var R=this;o&&(R.buffer+=R.decoder.decode(o,{stream:!0}));try{var L;if(R.state==="INITIAL"){if(!/\r\n|\n/.test(R.buffer))return this;L=c();var O=L.match(/^WEBVTT([ \t].*)?$/);if(!O||!O[0])throw new _(_.Errors.BadSignature);R.state="HEADER"}for(var P=!1;R.buffer;){if(!/\r\n|\n/.test(R.buffer))return this;switch(P?P=!1:L=c(),R.state){case"HEADER":/:/.test(L)?B(L):L||(R.state="ID");continue;case"NOTE":L||(R.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(L)){R.state="NOTE";break}if(!L)continue;if(R.cue=new(R.vttjs.VTTCue||R.window.VTTCue)(0,0,""),R.state="CUE",L.indexOf("-->")===-1){R.cue.id=L;continue}case"CUE":try{C(L,R.cue,R.regionList)}catch(q){R.reportOrThrowError(q),R.cue=null,R.state="BADCUE";continue}R.state="CUETEXT";continue;case"CUETEXT":var N=L.indexOf("-->")!==-1;if(!L||N&&(P=!0)){R.oncue&&R.oncue(R.cue),R.cue=null,R.state="ID";continue}R.cue.text&&(R.cue.text+=`
`),R.cue.text+=L;continue;case"BADCUE":L||(R.state="ID");continue}}}catch(q){R.reportOrThrowError(q),R.state==="CUETEXT"&&R.cue&&R.oncue&&R.oncue(R.cue),R.cue=null,R.state=R.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},flush:function(){var o=this;try{if(o.buffer+=o.decoder.decode(),(o.cue||o.state==="HEADER")&&(o.buffer+=`
`,o.parse()),o.state==="INITIAL")throw new _(_.Errors.BadSignature)}catch(c){o.reportOrThrowError(c)}return o.onflush&&o.onflush(),this}},w.WebVTT=r})(this,this.vttjs)},{}],107:[function(s,U,h){(function(w,_){function m(i){return typeof i=="string"&&!!b[i.toLowerCase()]&&i.toLowerCase()}function E(i){return typeof i=="string"&&!!f[i.toLowerCase()]&&i.toLowerCase()}function T(i){for(var p=1;p<arguments.length;p++){var n=arguments[p];for(var u in n)i[u]=n[u]}return i}function C(i,p,n){var u=this,e=/MSIE\s8\.0/.test(navigator.userAgent),t={};e?u=document.createElement("custom"):t.enumerable=!0,u.hasBeenReset=!1;var r="",l=!1,a=i,v=p,d=n,y=null,g="",o=!0,c="auto",j="start",D=50,B="middle",R=50,L="middle";if(Object.defineProperty(u,"id",T({},t,{get:function(){return r},set:function(O){r=""+O}})),Object.defineProperty(u,"pauseOnExit",T({},t,{get:function(){return l},set:function(O){l=!!O}})),Object.defineProperty(u,"startTime",T({},t,{get:function(){return a},set:function(O){if(typeof O!="number")throw new TypeError("Start time must be set to a number.");a=O,this.hasBeenReset=!0}})),Object.defineProperty(u,"endTime",T({},t,{get:function(){return v},set:function(O){if(typeof O!="number")throw new TypeError("End time must be set to a number.");v=O,this.hasBeenReset=!0}})),Object.defineProperty(u,"text",T({},t,{get:function(){return d},set:function(O){d=""+O,this.hasBeenReset=!0}})),Object.defineProperty(u,"region",T({},t,{get:function(){return y},set:function(O){y=O,this.hasBeenReset=!0}})),Object.defineProperty(u,"vertical",T({},t,{get:function(){return g},set:function(O){var P=m(O);if(P===!1)throw new SyntaxError("An invalid or illegal string was specified.");g=P,this.hasBeenReset=!0}})),Object.defineProperty(u,"snapToLines",T({},t,{get:function(){return o},set:function(O){o=!!O,this.hasBeenReset=!0}})),Object.defineProperty(u,"line",T({},t,{get:function(){return c},set:function(O){if(typeof O!="number"&&O!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");c=O,this.hasBeenReset=!0}})),Object.defineProperty(u,"lineAlign",T({},t,{get:function(){return j},set:function(O){var P=E(O);if(!P)throw new SyntaxError("An invalid or illegal string was specified.");j=P,this.hasBeenReset=!0}})),Object.defineProperty(u,"position",T({},t,{get:function(){return D},set:function(O){if(O<0||O>100)throw new Error("Position must be between 0 and 100.");D=O,this.hasBeenReset=!0}})),Object.defineProperty(u,"positionAlign",T({},t,{get:function(){return B},set:function(O){var P=E(O);if(!P)throw new SyntaxError("An invalid or illegal string was specified.");B=P,this.hasBeenReset=!0}})),Object.defineProperty(u,"size",T({},t,{get:function(){return R},set:function(O){if(O<0||O>100)throw new Error("Size must be between 0 and 100.");R=O,this.hasBeenReset=!0}})),Object.defineProperty(u,"align",T({},t,{get:function(){return L},set:function(O){var P=E(O);if(!P)throw new SyntaxError("An invalid or illegal string was specified.");L=P,this.hasBeenReset=!0}})),u.displayState=void 0,e)return u}var b={"":!0,lr:!0,rl:!0},f={start:!0,middle:!0,end:!0,left:!0,right:!0};C.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},w.VTTCue=w.VTTCue||C,_.VTTCue=C})(this,this.vttjs||{})},{}],108:[function(s,U,h){(function(w,_){function m(b){return typeof b=="string"&&!!C[b.toLowerCase()]&&b.toLowerCase()}function E(b){return typeof b=="number"&&b>=0&&b<=100}function T(){var b=100,f=3,i=0,p=100,n=0,u=100,e="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return b},set:function(t){if(!E(t))throw new Error("Width must be between 0 and 100.");b=t}},lines:{enumerable:!0,get:function(){return f},set:function(t){if(typeof t!="number")throw new TypeError("Lines must be set to a number.");f=t}},regionAnchorY:{enumerable:!0,get:function(){return p},set:function(t){if(!E(t))throw new Error("RegionAnchorX must be between 0 and 100.");p=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!E(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enume