shaka-player 4.16.41 → 4.16.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -785,7 +785,7 @@ P.prototype.trickPlay=P.prototype.Zb;P.prototype.useTrickPlayTrackIfAvailable=P.
785
785
  P.prototype.isVideoOnly=P.prototype.Fe;P.prototype.isAudioOnly=P.prototype.bd;P.prototype.isInProgress=P.prototype.Ic;P.prototype.isLive=P.prototype.U;P.prototype.getQueueManager=P.prototype.ve;P.prototype.getAdManager=P.prototype.re;P.prototype.getAssetUri=P.prototype.Gc;P.prototype.getNetworkingEngine=P.prototype.Eb;P.prototype.getMediaElement=P.prototype.ue;P.prototype.getManifestType=P.prototype.$f;P.prototype.getLoadMode=P.prototype.bc;P.prototype.resetConfiguration=P.prototype.Fh;
786
786
  P.prototype.getBufferFullness=P.prototype.jh;P.prototype.getNonDefaultConfiguration=P.prototype.nh;P.prototype.getConfigurationForLowLatency=P.prototype.Ei;P.prototype.getConfiguration=P.prototype.getConfiguration;P.prototype.configurationForLowLatency=P.prototype.oi;P.prototype.configure=P.prototype.configure;P.prototype.releaseAllMutexes=P.prototype.Qj;P.prototype.destroyAllPreloads=P.prototype.Df;P.prototype.preload=P.prototype.preload;P.prototype.detachAndSavePreload=P.prototype.gh;
787
787
  P.prototype.unloadAndSavePreload=P.prototype.Zh;P.prototype.load=P.prototype.load;P.prototype.updateStartTime=P.prototype.nk;P.prototype.unload=P.prototype.$b;P.prototype.detach=P.prototype.detach;P.prototype.attachCanvas=P.prototype.Wg;P.prototype.attach=P.prototype.Db;P.probeSupport=async function(a=!0){let b={};a&&(b=await $g());a=Pc();const c=Sj(),d=await tb().A(),e={manifest:a,media:c,drm:b,hardwareResolution:d};bq.forEach((f,g)=>{e[g]=f()});return e};P.isBrowserSupported=cq;
788
- P.setQueueManagerFactory=function(a){Jr=a};P.setAdManagerFactory=function(a){Ir=a};P.registerSupportPlugin=aq;P.prototype.destroy=P.prototype.destroy;var hr=0,Hr=1,jq=2,Jq=3;P.LoadMode={DESTROYED:hr,NOT_LOADED:Hr,MEDIA_SOURCE:jq,SRC_EQUALS:Jq};P.version="v4.16.41";var Gc;const Kr=["4","16"];Gc=new Dc(Number(Kr[0]),Number(Kr[1]));Jc=new Hc;var bq=new Map,Ir=null,Jr=null;function Lr(a){return a.g.length?a.g.reduce((b,c)=>b+c,0)/a.g.length:0}var Mr=class{constructor(){this.g=[];this.i=this.m=this.l=this.j=this.h=0}};var R=class{constructor(a,b,c){this.g=a;this.h=b;this.m=c;this.i=!1;this.j=this.h.getVolume();this.l=new zc;this.l.o(this.h,google.ima.AdEvent.Type.PAUSED,()=>{this.i=!0});this.l.o(this.h,google.ima.AdEvent.Type.RESUMED,()=>{this.i=!1})}needsSkipUI(){return!1}isClientRendering(){return!0}hasCustomClick(){return!0}isUsingAnotherMediaElement(){return!0}getDuration(){return this.g.getDuration()}getMinSuggestedDuration(){return this.g.getMinSuggestedDuration()}getRemainingTime(){return this.h.getRemainingTime()}isPaused(){return this.i}isSkippable(){return this.g.getSkipTimeOffset()>=
788
+ P.setQueueManagerFactory=function(a){Jr=a};P.setAdManagerFactory=function(a){Ir=a};P.registerSupportPlugin=aq;P.prototype.destroy=P.prototype.destroy;var hr=0,Hr=1,jq=2,Jq=3;P.LoadMode={DESTROYED:hr,NOT_LOADED:Hr,MEDIA_SOURCE:jq,SRC_EQUALS:Jq};P.version="v4.16.42";var Gc;const Kr=["4","16"];Gc=new Dc(Number(Kr[0]),Number(Kr[1]));Jc=new Hc;var bq=new Map,Ir=null,Jr=null;function Lr(a){return a.g.length?a.g.reduce((b,c)=>b+c,0)/a.g.length:0}var Mr=class{constructor(){this.g=[];this.i=this.m=this.l=this.j=this.h=0}};var R=class{constructor(a,b,c){this.g=a;this.h=b;this.m=c;this.i=!1;this.j=this.h.getVolume();this.l=new zc;this.l.o(this.h,google.ima.AdEvent.Type.PAUSED,()=>{this.i=!0});this.l.o(this.h,google.ima.AdEvent.Type.RESUMED,()=>{this.i=!1})}needsSkipUI(){return!1}isClientRendering(){return!0}hasCustomClick(){return!0}isUsingAnotherMediaElement(){return!0}getDuration(){return this.g.getDuration()}getMinSuggestedDuration(){return this.g.getMinSuggestedDuration()}getRemainingTime(){return this.h.getRemainingTime()}isPaused(){return this.i}isSkippable(){return this.g.getSkipTimeOffset()>=
789
789
  0}getTimeUntilSkippable(){var a=this.g.getSkipTimeOffset();a=this.getRemainingTime()-a;return Math.max(a,0)}canSkipNow(){return this.h.getAdSkippableState()}skip(){return this.h.skip()}pause(){return this.h.pause()}play(){return this.h.resume()}getVolume(){return this.h.getVolume()}setVolume(a){this.m.volume=a;return this.h.setVolume(a)}isMuted(){return this.h.getVolume()==0}isLinear(){return this.g.isLinear()}resize(a,b){this.h.resize(a,b)}setMuted(a){(this.m.muted=a)?(this.j=this.getVolume(),this.h.setVolume(0)):
790
790
  this.h.setVolume(this.j)}getSequenceLength(){const a=this.g.getAdPodInfo();return a==null?1:a.getTotalAds()}getPositionInSequence(){const a=this.g.getAdPodInfo();return a==null?1:a.getAdPosition()}getTitle(){return this.g.getTitle()}getDescription(){return this.g.getDescription()}getVastMediaBitrate(){return this.g.getVastMediaBitrate()}getVastMediaHeight(){return this.g.getVastMediaHeight()}getVastMediaWidth(){return this.g.getVastMediaWidth()}getVastAdId(){return""}getAdId(){return this.g.getAdId()}getCreativeAdId(){return this.g.getCreativeAdId()}getAdvertiserName(){return this.g.getAdvertiserName()}getMediaUrl(){return this.g.getMediaUrl()}getTimeOffset(){const a=
791
791
  this.g.getAdPodInfo();return a==null?0:a.getTimeOffset()}getPodIndex(){const a=this.g.getAdPodInfo();return a==null?0:a.getPodIndex()}release(){this.h=this.g=null}};x("shaka.ads.ClientSideAd",R);R.prototype.release=R.prototype.release;R.prototype.getPodIndex=R.prototype.getPodIndex;R.prototype.getTimeOffset=R.prototype.getTimeOffset;R.prototype.getMediaUrl=R.prototype.getMediaUrl;R.prototype.getAdvertiserName=R.prototype.getAdvertiserName;R.prototype.getCreativeAdId=R.prototype.getCreativeAdId;
@@ -809,7 +809,7 @@ a.h.o(a.g,google.ima.AdEvent.Type.COMPLETE,c=>{b(c,"ad-complete")});a.h.o(a.g,go
809
809
  c=>{b(c,"ad-duration-changed")});a.h.o(a.g,google.ima.AdEvent.Type.USER_CLOSE,c=>{b(c,"ad-closed")});a.h.o(a.g,google.ima.AdEvent.Type.LOADED,c=>{b(c,"ad-loaded")});a.h.o(a.g,google.ima.AdEvent.Type.LINEAR_CHANGED,c=>{b(c,"ad-linear-changed")});a.h.o(a.g,google.ima.AdEvent.Type.AD_METADATA,c=>{b(c,"ad-metadata")});a.h.o(a.g,google.ima.AdEvent.Type.LOG,c=>{b(c,"ad-recoverable-error")});a.h.o(a.g,google.ima.AdEvent.Type.AD_BREAK_READY,c=>{b(c,"ad-break-ready")});a.h.o(a.g,google.ima.AdEvent.Type.INTERACTION,
810
810
  c=>{b(c,"ad-interaction")})}
811
811
  function Vr(a,b){const c=b.getAd();c?(a.j=new R(c,a.g,a.i),b.type!=google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED||a.u.supportsMultipleMediaElements||a.l(new C("ad-content-pause-requested")),b=(new Map).set("ad",a.j).set("sdkAdObject",c).set("originalEvent",b),a.l(new C("ad-started",b)),a.j.isLinear()&&(a.A.setAttribute("ad-active","true"),a.u.customPlayheadTracker||a.i.pause(),a.i.muted?(b=a.j,b.j=a.i.volume,b.h.setVolume(0)):a.j.setVolume(a.i.volume))):sa("The IMA SDK fired a "+b.type+" event with no associated ad. Unable to play ad!")}
812
- var Wr=class{constructor(a,b,c,d,e){this.A=a;this.i=b;this.F=!1;this.B=this.u=null;this.G=NaN;this.l=e;this.j=null;this.h=new zc;google.ima.settings.setLocale(c);google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0);this.D=new google.ima.AdDisplayContainer(this.A,this.i);this.D.initialize();this.m=new google.ima.AdsLoader(this.D);this.m.getSettings().setPlayerType("shaka-player");this.m.getSettings().setPlayerVersion("v4.16.41");this.g=null;this.C=d||new google.ima.AdsRenderingSettings;this.h.o(this.m,
812
+ var Wr=class{constructor(a,b,c,d,e){this.A=a;this.i=b;this.F=!1;this.B=this.u=null;this.G=NaN;this.l=e;this.j=null;this.h=new zc;google.ima.settings.setLocale(c);google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0);this.D=new google.ima.AdDisplayContainer(this.A,this.i);this.D.initialize();this.m=new google.ima.AdsLoader(this.D);this.m.getSettings().setPlayerType("shaka-player");this.m.getSettings().setPlayerVersion("v4.16.42");this.g=null;this.C=d||new google.ima.AdsRenderingSettings;this.h.o(this.m,
813
813
  google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,f=>{Rr(this,f)});this.h.o(this.m,google.ima.AdErrorEvent.Type.AD_ERROR,f=>{Ur(this,f)});this.h.o(this.i,"ended",()=>{this.m.contentComplete()});this.h.sa(this.i,"play",()=>{this.F=!0})}configure(a){this.u=a}stop(){this.g&&this.g.stop();this.A&&fj(this.A)}release(){this.stop();this.B&&this.B.disconnect();this.h&&this.h.release();this.g&&this.g.destroy();this.m.destroy();this.D.destroy()}};var S=class{constructor(a,b,c,d,e,f){this.g=a;this.h=b;this.j=(this.i=b.isSkippable)?b.skipOffset||0:b.skipOffset;this.l=b.skipFor;this.B=c;this.u=d;this.m=e;this.A=f;this.C=b.overlay}needsSkipUI(){return!0}isClientRendering(){return!0}hasCustomClick(){return this.h.clickThroughUrl!=null}isUsingAnotherMediaElement(){return this.A}getDuration(){const a=this.g.duration;return isNaN(a)?-1:a}getMinSuggestedDuration(){return this.getDuration()}getRemainingTime(){const a=this.g.duration;return isNaN(a)?
814
814
  -1:a-this.g.currentTime}isPaused(){return this.g.paused}isSkippable(){return this.i&&this.l!=null?this.getDuration()-this.getRemainingTime()<this.j+this.l:this.i}getTimeUntilSkippable(){if(this.isSkippable()){const a=this.getRemainingTime()+this.j-this.getDuration();return Math.max(a,0)}return Math.max(this.getRemainingTime(),0)}canSkipNow(){return this.i&&this.getTimeUntilSkippable()==0}skip(){this.canSkipNow()&&this.B()}pause(){return this.g.pause()}play(){return this.g.play()}getVolume(){return this.g.volume}setVolume(a){this.g.volume=
815
815
  a}isMuted(){return this.g.muted}isLinear(){return this.C==null}resize(){}setMuted(a){this.g.muted=a}getSequenceLength(){return this.u}getPositionInSequence(){return this.m}getTitle(){return""}getDescription(){return""}getVastMediaBitrate(){return 0}getVastMediaHeight(){return 0}getVastMediaWidth(){return 0}getVastAdId(){return""}getAdId(){return this.h.id||""}getCreativeAdId(){return""}getAdvertiserName(){return""}getMediaUrl(){return this.h.uri}getTimeOffset(){return this.h.pre?0:this.h.post?-1:
@@ -897,8 +897,8 @@ var W=class extends Ba{constructor(){super();this.h=this.i=this.j=this.g=null;th
897
897
  this.j=new Wr(a,b,this.u,c,d=>Hs(this,d));this.j.configure(this.l)}release(){this.g&&(this.g.release(),this.g=null);this.j&&(this.j.release(),this.j=null);this.i&&(this.i.release(),this.i=null);this.h&&(this.h.release(),this.h=null);super.release()}onAssetUnload(){this.g&&this.g.stop();this.j&&this.j.stop();this.i&&this.i.stop();this.h&&this.h.stop();this.dispatchEvent(new C("ad-stopped"));this.dispatchEvent(new C("ad-content-attach-requested"));this.m=new Mr}requestClientSideAds(a){if(!this.j)throw new D(1,
898
898
  10,10001);var b=this.j;b.g&&b.g.destroy();b.m&&b.m.contentComplete();b.G=Date.now()/1E3;b.m.requestAds(a)}updateClientSideAdsRenderingSettings(a){if(!this.j)throw new D(1,10,10001);var b=this.j;b.C=a;b.g&&b.g.updateAdsRenderingSettings(b.C)}initMediaTailor(a,b,c){this.i&&this.i.release();this.i=new Es(a,b,c,d=>Hs(this,d))}requestMediaTailorStream(a,b,c=""){if(!this.i)throw new D(1,10,10005);var d=this.i;d.u?a=Promise.reject(new D(1,10,10004)):(d.u=new gg,ts(d,a,b),d.H=c||"",d.O=Date.now()/1E3,a=d.u);
899
899
  return a}addMediaTailorTrackingUrl(a){if(!this.i)throw new D(1,10,10005);var b=this.i;b.G=a;b.i(new C("ads-loaded",(new Map).set("loadTime",0)))}initServerSide(a,b){if(!window.google||!google.ima||!google.ima.dai)throw new D(2,10,10002);this.h&&this.h.release();this.h=new Gs(a,b,this.u,c=>Hs(this,c));this.h.configure(this.l)}requestServerSideStream(a,b=""){if(!this.h)throw new D(1,10,10003);a.adTagParameters||(a.adTagParameters={});var c=a.adTagParameters;(c.mpt||c.mpv)&&sa('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overridden.');
900
- a.adTagParameters.mpt="shaka-player";a.adTagParameters.mpv="v4.16.41";c=this.h;c.j?a=Promise.reject(new D(1,10,10004)):(a instanceof google.ima.dai.api.LiveStreamRequest&&(c.G=!0),c.j=new gg,c.g.requestStream(a),c.C=b||"",c.F=Date.now()/1E3,a=c.j);return a}replaceServerSideAdTagParameters(a){if(!this.h)throw new D(1,10,10003);(a.mpt||a.mpv)&&sa('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overridden.');
901
- a.mpt="Shaka Player";a.mpv="v4.16.41";this.h.g.replaceAdTagParameters(a)}getServerSideCuePoints(){Ic("AdManager.getServerSideCuePoints","Please use getCuePoints function.");return this.getCuePoints()}getCuePoints(){let a=[];this.h&&(a=a.concat(this.h.getCuePoints()));this.i&&(a=a.concat(this.i.getCuePoints()));return a}getStats(){var a=this.m;return{loadTimes:a.g,averageLoadTime:Lr(a),started:a.h,overlayAds:a.j,playedCompletely:a.l,skipped:a.m,errors:a.i}}onManifestUpdated(a){if(this.i)this.i.onManifestUpdated(a)}onDashTimedMetadata(a){this.h&&
900
+ a.adTagParameters.mpt="shaka-player";a.adTagParameters.mpv="v4.16.42";c=this.h;c.j?a=Promise.reject(new D(1,10,10004)):(a instanceof google.ima.dai.api.LiveStreamRequest&&(c.G=!0),c.j=new gg,c.g.requestStream(a),c.C=b||"",c.F=Date.now()/1E3,a=c.j);return a}replaceServerSideAdTagParameters(a){if(!this.h)throw new D(1,10,10003);(a.mpt||a.mpv)&&sa('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overridden.');
901
+ a.mpt="Shaka Player";a.mpv="v4.16.42";this.h.g.replaceAdTagParameters(a)}getServerSideCuePoints(){Ic("AdManager.getServerSideCuePoints","Please use getCuePoints function.");return this.getCuePoints()}getCuePoints(){let a=[];this.h&&(a=a.concat(this.h.getCuePoints()));this.i&&(a=a.concat(this.i.getCuePoints()));return a}getStats(){var a=this.m;return{loadTimes:a.g,averageLoadTime:Lr(a),started:a.h,overlayAds:a.j,playedCompletely:a.l,skipped:a.m,errors:a.i}}onManifestUpdated(a){if(this.i)this.i.onManifestUpdated(a)}onDashTimedMetadata(a){this.h&&
902
902
  a.schemeIdUri=="urn:google:dai:2018"&&this.h.g.processMetadata(a.schemeIdUri,a.eventNode?a.eventNode.attributes.messageData:null,a.startTime)}onHlsTimedMetadata(a,b){this.h&&this.h.g.processMetadata("ID3",a.data,b)}onCueMetadataChange(a){if(this.h)this.h.onCueMetadataChange(a)}onHLSInterstitialMetadata(a,b,c){this.l&&this.l.disableHLSInterstitial||(this.g||this.initInterstitial(null,a,b),this.g&&ps(this.g,c))}onDASHInterstitialMetadata(a,b,c){if(!this.l||!this.l.disableDASHInterstitial){var d=c.schemeIdUri;
903
903
  if(d=="urn:mpeg:dash:event:alternativeMPD:insert:2025"||d=="urn:mpeg:dash:event:alternativeMPD:replace:2025"){if(this.g||this.initInterstitial(null,a,b),this.g){a=this.g;const l=c.schemeIdUri=="urn:mpeg:dash:event:alternativeMPD:replace:2025",m=c.schemeIdUri=="urn:mpeg:dash:event:alternativeMPD:insert:2025";if(l||m){b=c.startTime;d=c.endTime;var e=null,f=0;for(var g of c.eventNode.children)if(g.tagName=="AlternativeMPD"){var h=g.attributes.uri;if(h){var k=h;break}}else if(g.tagName=="InsertPresentation"||
904
904
  g.tagName=="ReplacePresentation")if(h=g.attributes.uri||g.attributes.url){k=Fb(h);(h=Id(g,"maxDuration",Od))&&(e=h/c.timescale);(g=Id(g,"returnOffset",Od))&&(f=g/c.timescale);l&&f&&(d=b+f);break}k&&os(a,[{id:c.id,groupId:null,startTime:b,endTime:d,uri:k,mimeType:null,isSkippable:!1,skipOffset:null,skipFor:null,canJump:!0,resumeOffset:m?f:null,playoutLimit:e,once:!1,pre:!1,post:!1,timelineRange:l&&!m,loop:!1,overlay:null,displayOnBackground:!1,currentVideo:null,background:null,clickThroughUrl:null}])}}}else(d==
@@ -1351,7 +1351,7 @@ await cast.__platform__.canDisplayType(b),MC.set(b,a));return a}var GC=class{};i
1351
1351
  function OC(){const a=MediaSource.prototype.addSourceBuffer;MediaSource.prototype.addSourceBuffer=function(...b){b=a.apply(this,b);b.abort=function(){};return b}}function PC(){const a=SourceBuffer.prototype.remove;SourceBuffer.prototype.remove=function(b,c){return a.call(this,b,c-.001)}}
1352
1352
  function QC(a){const b=MediaSource.isTypeSupported.bind(MediaSource);MediaSource.isTypeSupported=c=>Qe(c)!=a&&b(c);if(window.ManagedMediaSource){const c=ManagedMediaSource.isTypeSupported.bind(ManagedMediaSource);window.ManagedMediaSource.isTypeSupported=d=>Qe(d)!=a&&c(d)}}
1353
1353
  function RC(){if(window.MediaSource){const a=MediaSource.isTypeSupported.bind(MediaSource);MediaSource.isTypeSupported=b=>Ne(b)!="mp2t"&&a(b)}if(window.ManagedMediaSource){const a=ManagedMediaSource.isTypeSupported.bind(ManagedMediaSource);window.ManagedMediaSource.isTypeSupported=b=>Ne(b)!="mp2t"&&a(b)}}
1354
- function SC(){const a=MediaSource.isTypeSupported;tb().za()&&(MediaSource.isTypeSupported=b=>{const c=b.split(/ *; */),d=c.findIndex(g=>g.startsWith("codecs="));if(d<0)return a(b);const e=c[d].replace("codecs=","").replace(/"/g,"").split(/\s*,\s*/),f=e.findIndex(g=>g.startsWith("vp09"));f>=0&&(e[f]="vp9",c[d]='codecs="'+e.join(",")+'"',b=c.join("; "));return a(b)})}var TC=class{};iC.MediaSource=TC;TC.install=NC;hC(NC);function UC(){screen.orientation&&screen.orientation.unlock||(screen.orientation!=void 0?VC():window.orientation!=void 0&&WC())}function VC(){screen.orientation.lock===void 0&&(screen.orientation.lock=()=>Promise.resolve());screen.orientation.unlock===void 0&&(screen.orientation.unlock=()=>{})}
1354
+ function SC(){const a=MediaSource.isTypeSupported;tb().za()&&(MediaSource.isTypeSupported=b=>{const c=b.split(/ *; */),d=c.findIndex(g=>g.startsWith("codecs="));if(d<0)return a(b);const e=c[d].replace("codecs=","").replace(/"/g,"").split(/\s*,\s*/),f=e.findIndex(g=>g.startsWith("vp09"));f>=0&&(e[f]="vp9",c[d]='codecs="'+e.join(",")+'"',b=c.join("; "));return a(b)})}var TC=class{};iC.MediaSource=TC;TC.install=NC;hC(NC);function UC(){screen.orientation&&screen.orientation.unlock||(screen.orientation!=void 0?VC():window.orientation!=void 0&&WC())}function VC(){const a=Object.getPrototypeOf(screen.orientation);screen.orientation.lock===void 0&&(a.lock=()=>Promise.resolve());screen.orientation.unlock===void 0&&(a.unlock=()=>{})}
1355
1355
  function WC(){const a=new XC;screen.orientation=a;const b=()=>{switch(window.orientation){case -90:a.type="landscape-secondary";a.angle=270;break;case 0:a.type="portrait-primary";a.angle=0;break;case 90:a.type="landscape-primary";a.angle=90;break;case 180:a.type="portrait-secondary",a.angle=180}};b();window.addEventListener("orientationchange",()=>{b();const c=new C("change");a.dispatchEvent(c)})}var YC=class{};iC.Orientation=YC;YC.install=UC;
1356
1356
  var XC=class extends Ba{constructor(){super();this.type="";this.angle=0}lock(a){const b=d=>screen.lockOrientation?screen.lockOrientation(d):screen.mozLockOrientation?screen.mozLockOrientation(d):!1;let c=!1;switch(a){case "natural":c=b("default");break;case "any":c=!0;this.unlock();break;default:c=b(a)}if(c)return Promise.resolve();a=Error("screen.orientation.lock() is not available on this device");a.name="NotSupportedError";a.code=DOMException.NOT_SUPPORTED_ERR;return Promise.reject(a)}unlock(){screen.unlockOrientation?
1357
1357
  screen.unlockOrientation():screen.mozUnlockOrientation&&screen.mozUnlockOrientation()}};hC(UC);function ZC(a=!1){window.HTMLVideoElement&&window.WebKitMediaKeys&&window.shakaMediaKeysPolyfill!=$C&&(a&&(aD=!0,bD=Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype,"mediaKeys"),cD=HTMLMediaElement.prototype.setMediaKeys,dD=window.MediaKeys,eD=window.MediaKeySystemAccess,fD=navigator.requestMediaKeySystemAccess),delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=gD,window.MediaKeys=hD,window.MediaKeySystemAccess=