(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var f,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(h){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(h||"")+"_"+d++,h)};return e}); da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c>>0),ma=0,na=function(a, b,c){return a.call.apply(a.bind,arguments)},oa=function(a,b,c){if(!a)throw Error();if(2/g,xa=/"/g,ya=/'/g,za=/\x00/g,Aa=/[\x00&<>"']/;function Ba(){var a=r.navigator;return a&&(a=a.userAgent)?a:""}function B(a){return-1!=Ba().indexOf(a)};var Ca={},C=function(a,b,c){this.g=c===Ca?a:""};C.prototype.toString=function(){return this.g.toString()};var Da=function(a){if(a instanceof C&&a.constructor===C)return a.g;ra("expected object of type SafeHtml, got '"+a+"' of type "+la(a));return"type_error:SafeHtml"},Ea=new C(r.trustedTypes&&r.trustedTypes.emptyHTML||"",0,Ca);var Fa={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Ga=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if("undefined"===typeof document)return!1;var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);if(!a.firstChild)return!1;b=a.firstChild.firstChild;a.innerHTML=Da(Ea);return!b.parentElement});var Ia=function(a){var b={"&":"&","<":"<",">":">",""":'"'};var c=r.document.createElement("div");return a.replace(Ha,function(d,e){var h=b[d];if(h)return h;"#"==e.charAt(0)&&(e=Number("0"+e.substr(1)),isNaN(e)||(h=String.fromCharCode(e)));if(!h){h=d+" ";if(void 0===A){e=null;var k=r.trustedTypes;if(k&&k.createPolicy){try{e=k.createPolicy("goog#html",{createHTML:y,createScript:y,createScriptURL:y})}catch(l){r.console&&r.console.error(l.message)}A=e}else A=e}h=(e=A)?e.createHTML(h):h; h=new C(h,null,Ca);if(c.tagName&&Fa[c.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+c.tagName+".");if(Ga())for(;c.lastChild;)c.removeChild(c.lastChild);c.innerHTML=Da(h);h=c.firstChild.nodeValue.slice(0,-1)}return b[d]=h})},Ja=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return"#"!=c.charAt(0)||(c=Number("0"+c.substr(1)),isNaN(c))?b:String.fromCharCode(c)}})}, Ha=/&([^;\s<&]+);?/g;chrome.cast.Xa=function(a,b,c,d,e){this.sessionRequest=a;this.sessionListener=b;this.receiverListener=c;this.autoJoinPolicy=d||chrome.cast.ja.TAB_AND_ORIGIN_SCOPED;this.defaultActionPolicy=e||chrome.cast.ma.CREATE_SESSION;this.customDialLaunchCallback=null;this.invisibleSender=!1;this.additionalSessionRequests=[]};x("chrome.cast.ApiConfig",chrome.cast.Xa);chrome.cast.hb=function(a,b){this.appName=a;this.launchParameter=b||null};x("chrome.cast.DialRequest",chrome.cast.hb); chrome.cast.fb=function(a,b,c){this.receiver=a;this.appState=b;this.extraData=c||null};x("chrome.cast.DialLaunchData",chrome.cast.fb);chrome.cast.gb=function(a,b){this.doLaunch=a;this.launchParameter=b||null};x("chrome.cast.DialLaunchResponse",chrome.cast.gb); chrome.cast.Gb=function(a,b,c,d,e){c=void 0===c?chrome.cast.timeout.requestSession:c;this.appId=a;this.capabilities=Array.isArray(b)?b:[];this.requestSessionTimeout=c;this.dialRequest=this.language=null;this.androidReceiverCompatible=void 0===d?!1:d;this.credentialsData=void 0===e?null:e};x("chrome.cast.SessionRequest",chrome.cast.Gb); chrome.cast.zb=function(a,b,c,d){this.label=a;a=b;Aa.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(ua,"&")),-1!=a.indexOf("<")&&(a=a.replace(va,"<")),-1!=a.indexOf(">")&&(a=a.replace(wa,">")),-1!=a.indexOf('"')&&(a=a.replace(xa,""")),-1!=a.indexOf("'")&&(a=a.replace(ya,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(za,"�")));this.friendlyName=a;this.capabilities=c||[];this.volume=d||null;this.receiverType=chrome.cast.Aa.CAST;this.displayStatus=this.isActiveInput=null}; x("chrome.cast.Receiver",chrome.cast.zb);chrome.cast.Bb=function(a,b){this.statusText=a;this.appImages=b;this.showStop=null};x("chrome.cast.ReceiverDisplayStatus",chrome.cast.Bb);chrome.cast.Da=function(){this.requestSession=6E4;this.getDialAppInfo=this.sendCustomMessage=this.setReceiverVolume=this.stopSession=this.leaveSession=3E3};x("chrome.cast.Timeout",chrome.cast.Da);chrome.cast.timeout=new chrome.cast.Da;x("chrome.cast.timeout",chrome.cast.timeout);chrome.cast.Wa="auto-join"; chrome.cast.tb="cast-session_";chrome.cast.media.mb={SDR:"sdr",HDR:"hdr",DV:"dv"};x("chrome.cast.media.HdrType",chrome.cast.media.mb);chrome.cast.media.nb={AAC:"aac",AC3:"ac3",MP3:"mp3",TS:"ts",TS_AAC:"ts_aac",E_AC3:"e_ac3",FMP4:"fmp4"};x("chrome.cast.media.HlsSegmentFormat",chrome.cast.media.nb);chrome.cast.media.ob={MPEG2_TS:"mpeg2_ts",FMP4:"fmp4"};x("chrome.cast.media.HlsVideoSegmentFormat",chrome.cast.media.ob);chrome.cast.media.rb={PAUSE:"pause",SEEK:"seek",STREAM_VOLUME:"stream_volume",STREAM_MUTE:"stream_mute"}; x("chrome.cast.media.MediaCommand",chrome.cast.media.rb);chrome.cast.media.xb={ALBUM:"ALBUM",PLAYLIST:"PLAYLIST",AUDIOBOOK:"AUDIOBOOK",RADIO_STATION:"RADIO_STATION",PODCAST_SERIES:"PODCAST_SERIES",TV_SERIES:"TV_SERIES",VIDEO_PLAYLIST:"VIDEO_PLAYLIST",LIVE_TV:"LIVE_TV",MOVIE:"MOVIE"};x("chrome.cast.media.QueueType",chrome.cast.media.xb);chrome.cast.media.X={GENERIC_CONTAINER:0,AUDIOBOOK_CONTAINER:1};x("chrome.cast.media.ContainerType",chrome.cast.media.X); chrome.cast.media.H={GENERIC:0,MOVIE:1,TV_SHOW:2,MUSIC_TRACK:3,PHOTO:4,AUDIOBOOK_CHAPTER:5};x("chrome.cast.media.MetadataType",chrome.cast.media.H);chrome.cast.media.G={IDLE:"IDLE",PLAYING:"PLAYING",PAUSED:"PAUSED",BUFFERING:"BUFFERING"};x("chrome.cast.media.PlayerState",chrome.cast.media.G);chrome.cast.media.Y={OFF:"REPEAT_OFF",ALL:"REPEAT_ALL",SINGLE:"REPEAT_SINGLE",ALL_AND_SHUFFLE:"REPEAT_ALL_AND_SHUFFLE"};x("chrome.cast.media.RepeatMode",chrome.cast.media.Y); chrome.cast.media.Cb={PLAYBACK_START:"PLAYBACK_START",PLAYBACK_PAUSE:"PLAYBACK_PAUSE"};x("chrome.cast.media.ResumeState",chrome.cast.media.Cb);chrome.cast.media.Ca={BUFFERED:"BUFFERED",LIVE:"LIVE",OTHER:"OTHER"};x("chrome.cast.media.StreamType",chrome.cast.media.Ca);chrome.cast.media.pb={CANCELLED:"CANCELLED",INTERRUPTED:"INTERRUPTED",FINISHED:"FINISHED",ERROR:"ERROR"};x("chrome.cast.media.IdleReason",chrome.cast.media.pb);chrome.cast.media.Ob={TEXT:"TEXT",AUDIO:"AUDIO",VIDEO:"VIDEO"}; x("chrome.cast.media.TrackType",chrome.cast.media.Ob);chrome.cast.media.Lb={SUBTITLES:"SUBTITLES",CAPTIONS:"CAPTIONS",DESCRIPTIONS:"DESCRIPTIONS",CHAPTERS:"CHAPTERS",METADATA:"METADATA"};x("chrome.cast.media.TextTrackType",chrome.cast.media.Lb);chrome.cast.media.Hb={NONE:"NONE",OUTLINE:"OUTLINE",DROP_SHADOW:"DROP_SHADOW",RAISED:"RAISED",DEPRESSED:"DEPRESSED"};x("chrome.cast.media.TextTrackEdgeType",chrome.cast.media.Hb);chrome.cast.media.Mb={NONE:"NONE",NORMAL:"NORMAL",ROUNDED_CORNERS:"ROUNDED_CORNERS"}; x("chrome.cast.media.TextTrackWindowType",chrome.cast.media.Mb);chrome.cast.media.Ib={SANS_SERIF:"SANS_SERIF",MONOSPACED_SANS_SERIF:"MONOSPACED_SANS_SERIF",SERIF:"SERIF",MONOSPACED_SERIF:"MONOSPACED_SERIF",CASUAL:"CASUAL",CURSIVE:"CURSIVE",SMALL_CAPITALS:"SMALL_CAPITALS"};x("chrome.cast.media.TextTrackFontGenericFamily",chrome.cast.media.Ib);chrome.cast.media.Jb={NORMAL:"NORMAL",BOLD:"BOLD",BOLD_ITALIC:"BOLD_ITALIC",ITALIC:"ITALIC"};x("chrome.cast.media.TextTrackFontStyle",chrome.cast.media.Jb); chrome.cast.media.Pb={LIKE:"LIKE",DISLIKE:"DISLIKE",FOLLOW:"FOLLOW",UNFOLLOW:"UNFOLLOW"};x("chrome.cast.media.UserAction",chrome.cast.media.Pb);chrome.cast.media.oa=function(){this.customData=null};x("chrome.cast.media.GetStatusRequest",chrome.cast.media.oa);chrome.cast.media.sa=function(){this.customData=null};x("chrome.cast.media.PauseRequest",chrome.cast.media.sa);chrome.cast.media.ua=function(){this.customData=null};x("chrome.cast.media.PlayRequest",chrome.cast.media.ua);chrome.cast.media.Db=function(){this.customData=this.resumeState=this.currentTime=null};x("chrome.cast.media.SeekRequest",chrome.cast.media.Db); chrome.cast.media.Ba=function(){this.customData=null};x("chrome.cast.media.StopRequest",chrome.cast.media.Ba);chrome.cast.media.Ub=function(a){this.volume=a;this.customData=null};x("chrome.cast.media.VolumeRequest",chrome.cast.media.Ub); chrome.cast.media.qb=function(a){this.type="LOAD";this.requestId=0;this.sessionId=null;this.media=a;this.activeTrackIds=null;this.autoplay=!0;this.atvCredentialsType=this.atvCredentials=this.credentialsType=this.credentials=void 0;this.customData=this.currentTime=null;this.queueData=this.playbackRate=void 0};x("chrome.cast.media.LoadRequest",chrome.cast.media.qb);chrome.cast.media.ub=function(a){this.type="PRECACHE";this.requestId=0;this.precacheData=a}; chrome.cast.media.ib=function(a,b){this.requestId=0;this.activeTrackIds=a||null;this.textTrackStyle=b||null};x("chrome.cast.media.EditTracksInfoRequest",chrome.cast.media.ib);chrome.cast.media.W=function(a){this.containerType=a=void 0===a?chrome.cast.media.X.GENERIC_CONTAINER:a;this.containerDuration=this.containerImages=this.sections=this.title=void 0};x("chrome.cast.media.ContainerMetadata",chrome.cast.media.W); chrome.cast.media.MediaMetadata=function(a){this.metadataType=this.type=a;this.queueItemId=this.sectionStartTimeInContainer=this.sectionStartAbsoluteTime=this.sectionStartTimeInMedia=this.sectionDuration=void 0};x("chrome.cast.media.MediaMetadata",chrome.cast.media.MediaMetadata);chrome.cast.media.na=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.H.GENERIC);this.releaseDate=this.releaseYear=this.images=this.subtitle=this.title=void 0};q(chrome.cast.media.na,chrome.cast.media.MediaMetadata); x("chrome.cast.media.GenericMediaMetadata",chrome.cast.media.na);chrome.cast.media.qa=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.H.MOVIE);this.releaseDate=this.releaseYear=this.images=this.subtitle=this.studio=this.title=void 0};q(chrome.cast.media.qa,chrome.cast.media.MediaMetadata);x("chrome.cast.media.MovieMediaMetadata",chrome.cast.media.qa); chrome.cast.media.Ea=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.H.TV_SHOW);this.originalAirdate=this.releaseYear=this.images=this.episode=this.episodeNumber=this.season=this.seasonNumber=this.episodeTitle=this.title=this.seriesTitle=void 0};q(chrome.cast.media.Ea,chrome.cast.media.MediaMetadata);x("chrome.cast.media.TvShowMediaMetadata",chrome.cast.media.Ea); chrome.cast.media.ra=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.H.MUSIC_TRACK);this.releaseDate=this.releaseYear=this.images=this.discNumber=this.trackNumber=this.artistName=this.songName=this.composer=this.artist=this.albumArtist=this.title=this.albumName=void 0};q(chrome.cast.media.ra,chrome.cast.media.MediaMetadata);x("chrome.cast.media.MusicTrackMediaMetadata",chrome.cast.media.ra); chrome.cast.media.ta=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.H.PHOTO);this.creationDateTime=this.height=this.width=this.longitude=this.latitude=this.images=this.location=this.artist=this.title=void 0};q(chrome.cast.media.ta,chrome.cast.media.MediaMetadata);x("chrome.cast.media.PhotoMediaMetadata",chrome.cast.media.ta); chrome.cast.media.ia=function(){chrome.cast.media.W.call(this,chrome.cast.media.X.AUDIOBOOK_CONTAINER);this.releaseDate=this.publisher=this.narrators=this.authors=void 0};q(chrome.cast.media.ia,chrome.cast.media.W);x("chrome.cast.media.AudiobookContainerMetadata",chrome.cast.media.ia);chrome.cast.media.ha=function(){chrome.cast.media.MediaMetadata.call(this,chrome.cast.media.H.AUDIOBOOK_CHAPTER);this.images=this.subtitle=this.bookTitle=this.chapterNumber=this.title=this.chapterTitle=void 0}; q(chrome.cast.media.ha,chrome.cast.media.MediaMetadata);x("chrome.cast.media.AudiobookChapterMediaMetadata",chrome.cast.media.ha); chrome.cast.media.sb=function(a,b){this.contentId=a;this.contentUrl=void 0;this.streamType=chrome.cast.media.Ca.BUFFERED;this.contentType=b;this.metadata=null;this.atvEntity=this.entity=void 0;this.duration=null;this.startAbsoluteTime=void 0;this.customData=this.textTrackStyle=this.tracks=null;this.userActionStates=this.hlsVideoSegmentFormat=this.hlsSegmentFormat=this.vmapAdsRequest=this.breakClips=this.breaks=void 0};x("chrome.cast.media.MediaInfo",chrome.cast.media.sb); chrome.cast.media.wa=function(a){this.itemId=null;this.media=a;this.autoplay=!0;this.startTime=0;this.playbackDuration=null;this.preloadTime=0;this.customData=this.activeTrackIds=null};x("chrome.cast.media.QueueItem",chrome.cast.media.wa);chrome.cast.media.cb="CC1AD845";x("chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID",chrome.cast.media.cb);chrome.cast.media.timeout={};chrome.cast.media.timeout.load=0;x("chrome.cast.media.timeout.load",chrome.cast.media.timeout.load); chrome.cast.media.timeout.U=0;x("chrome.cast.media.timeout.getStatus",chrome.cast.media.timeout.U);chrome.cast.media.timeout.play=0;x("chrome.cast.media.timeout.play",chrome.cast.media.timeout.play);chrome.cast.media.timeout.pause=0;x("chrome.cast.media.timeout.pause",chrome.cast.media.timeout.pause);chrome.cast.media.timeout.seek=0;x("chrome.cast.media.timeout.seek",chrome.cast.media.timeout.seek);chrome.cast.media.timeout.stop=0;x("chrome.cast.media.timeout.stop",chrome.cast.media.timeout.stop); chrome.cast.media.timeout.V=0;x("chrome.cast.media.timeout.setVolume",chrome.cast.media.timeout.V);chrome.cast.media.timeout.T=0;x("chrome.cast.media.timeout.editTracksInfo",chrome.cast.media.timeout.T);chrome.cast.media.timeout.A=0;x("chrome.cast.media.timeout.queue",chrome.cast.media.timeout.A);chrome.cast.media.Nb=function(a,b){this.trackId=a;this.trackContentType=this.trackContentId=null;this.type=b;this.customData=this.subtype=this.language=this.name=null};x("chrome.cast.media.Track",chrome.cast.media.Nb); chrome.cast.media.Kb=function(){this.customData=this.fontStyle=this.fontGenericFamily=this.fontFamily=this.fontScale=this.windowRoundedCornerRadius=this.windowColor=this.windowType=this.edgeColor=this.edgeType=this.backgroundColor=this.foregroundColor=null};x("chrome.cast.media.TextTrackStyle",chrome.cast.media.Kb);chrome.cast.media.wb=function(a){this.type="QUEUE_LOAD";this.sessionId=this.requestId=null;this.items=a;this.startIndex=0;this.repeatMode=chrome.cast.media.Y.OFF;this.customData=null}; x("chrome.cast.media.QueueLoadRequest",chrome.cast.media.wb);chrome.cast.media.va=function(a){this.type="QUEUE_INSERT";this.sessionId=this.requestId=null;this.items=a;this.customData=this.insertBefore=null};x("chrome.cast.media.QueueInsertItemsRequest",chrome.cast.media.va);chrome.cast.media.yb=function(a){this.type="QUEUE_UPDATE";this.sessionId=this.requestId=null;this.items=a;this.customData=null};x("chrome.cast.media.QueueUpdateItemsRequest",chrome.cast.media.yb); chrome.cast.media.R=function(){this.type="QUEUE_UPDATE";this.customData=this.jump=this.currentItemId=this.sessionId=this.requestId=null};x("chrome.cast.media.QueueJumpRequest",chrome.cast.media.R);chrome.cast.media.za=function(){this.type="QUEUE_UPDATE";this.customData=this.repeatMode=this.sessionId=this.requestId=null};x("chrome.cast.media.QueueSetPropertiesRequest",chrome.cast.media.za); chrome.cast.media.xa=function(a){this.type="QUEUE_REMOVE";this.sessionId=this.requestId=null;this.itemIds=a;this.customData=null};x("chrome.cast.media.QueueRemoveItemsRequest",chrome.cast.media.xa);chrome.cast.media.ya=function(a){this.type="QUEUE_REORDER";this.sessionId=this.requestId=null;this.itemIds=a;this.customData=this.insertBefore=null};x("chrome.cast.media.QueueReorderItemsRequest",chrome.cast.media.ya); chrome.cast.media.Ya=function(a,b,c){this.id=a;this.breakClipIds=b;this.position=c;this.duration=void 0;this.isWatched=!1;this.isEmbedded=void 0};x("chrome.cast.media.Break",chrome.cast.media.Ya);chrome.cast.media.Za=function(a){this.id=a;this.vastAdsRequest=this.customData=this.hlsSegmentFormat=this.clickThroughUrl=this.posterUrl=this.whenSkippable=this.duration=this.title=this.contentType=this.contentUrl=this.contentId=void 0};x("chrome.cast.media.BreakClip",chrome.cast.media.Za); chrome.cast.media.Rb=function(){this.adsResponse=this.adTagUrl=void 0};x("chrome.cast.media.VastAdsRequest",chrome.cast.media.Rb);chrome.cast.media.$a=function(){this.whenSkippable=this.breakClipId=this.breakId=this.currentBreakClipTime=this.currentBreakTime=void 0};x("chrome.cast.media.BreakStatus",chrome.cast.media.$a);chrome.cast.media.pa=function(a,b,c,d){this.start=a;this.end=b;this.isMovingWindow=c;this.isLiveDone=d};x("chrome.cast.media.LiveSeekableRange",chrome.cast.media.pa); chrome.cast.media.vb=function(a,b,c,d,e,h,k){this.id=a;this.queueType=this.entity=void 0;this.name=b;this.description=c;this.repeatMode=d;this.shuffle=!1;this.items=e;this.startIndex=h;this.startTime=k;this.containerMetadata=void 0};x("chrome.cast.media.QueueData",chrome.cast.media.vb);chrome.cast.media.Qb=function(a){this.userAction=a;this.customData=void 0};x("chrome.cast.media.UserActionState",chrome.cast.media.Qb);chrome.cast.media.Sb=function(a,b,c){this.width=a;this.height=b;this.hdrType=c}; x("chrome.cast.media.VideoInformation",chrome.cast.media.Sb);chrome.cast.media.h=function(a,b){this.sessionId=a;this.mediaSessionId=b;this.media=null;this.videoInfo=this.queueData=void 0;this.playbackRate=1;this.playerState=chrome.cast.media.G.IDLE;this.currentTime=0;this.g=-1;this.supportedMediaCommands=[];this.volume=new chrome.cast.Volume;this.items=this.preloadedItemId=this.loadingItemId=this.currentItemId=this.customData=this.activeTrackIds=this.idleReason=null;this.repeatMode=chrome.cast.media.Y.OFF;this.breakStatus=void 0;this.l=!1;this.j=[];this.liveSeekableRange= void 0};f=chrome.cast.media.h.prototype;f.U=function(a,b,c){a||(a=new chrome.cast.media.oa);D.s(this,"MEDIA_GET_STATUS",a,b,c,chrome.cast.media.timeout.U)};f.play=function(a,b,c){this.Ka(D,a,b,c)};f.Ka=function(a,b,c,d){b||(b=new chrome.cast.media.ua);a.s(this,"PLAY",b,c,d,chrome.cast.media.timeout.play)};f.pause=function(a,b,c){this.Ja(D,a,b,c)};f.Ja=function(a,b,c,d){b||(b=new chrome.cast.media.sa);a.s(this,"PAUSE",b,c,d,chrome.cast.media.timeout.pause)}; f.seek=function(a,b,c){D.s(this,"SEEK",a,b,c,chrome.cast.media.timeout.seek)};f.stop=function(a,b,c){a||(a=new chrome.cast.media.Ba);D.s(this,"STOP_MEDIA",a,b,c,chrome.cast.media.timeout.stop)};f.V=function(a,b,c){D.s(this,"MEDIA_SET_VOLUME",a,b,c,chrome.cast.media.timeout.V)};f.T=function(a,b,c){D.s(this,"EDIT_TRACKS_INFO",a,b,c,chrome.cast.media.timeout.T)};f.kc=function(a,b,c){D.s(this,"QUEUE_INSERT",a,b,c,chrome.cast.media.timeout.A)}; f.jc=function(a,b,c){D.s(this,"QUEUE_INSERT",new chrome.cast.media.va([a]),b,c,chrome.cast.media.timeout.A)};f.uc=function(a,b,c){D.s(this,"QUEUE_UPDATE",a,b,c,chrome.cast.media.timeout.A)};f.pc=function(a,b){var c=new chrome.cast.media.R;c.jump=-1;D.s(this,"QUEUE_UPDATE",c,a,b,chrome.cast.media.timeout.A)};f.oc=function(a,b){var c=new chrome.cast.media.R;c.jump=1;D.s(this,"QUEUE_UPDATE",c,a,b,chrome.cast.media.timeout.A)}; f.lc=function(a,b,c){if(!(0>Ka(this,a))){var d=new chrome.cast.media.R;d.currentItemId=a;D.s(this,"QUEUE_UPDATE",d,b,c,chrome.cast.media.timeout.A)}};f.tc=function(a,b,c){var d=new chrome.cast.media.za;d.repeatMode=a;D.s(this,"QUEUE_UPDATE",d,b,c,chrome.cast.media.timeout.A)};f.rc=function(a,b,c){D.s(this,"QUEUE_REMOVE",a,b,c,chrome.cast.media.timeout.A)};f.qc=function(a,b,c){0>Ka(this,a)||D.s(this,"QUEUE_REMOVE",new chrome.cast.media.xa([a]),b,c,chrome.cast.media.timeout.A)}; f.sc=function(a,b,c){D.s(this,"QUEUE_REORDER",a,b,c,chrome.cast.media.timeout.A)};f.nc=function(a,b,c,d){var e=Ka(this,a);if(!(0>e))if(0>b)d&&d(new chrome.cast.Error(chrome.cast.D.INVALID_PARAMETER));else if(e==b)c&&c();else{var h=null;b=b>e?b+1:b;bthis.media.duration&&-1!=this.media.duration&&(a=this.media.duration);0>a&&(a=0);return a}return this.currentTime};f.ac=function(){if(this.breakStatus&&void 0!==this.breakStatus.currentBreakTime)return this.playerState==chrome.cast.media.G.PLAYING&&0<=this.g?this.breakStatus.currentBreakTime+(Date.now()-this.g)/1E3:this.breakStatus.currentBreakTime}; f.$b=function(){if(this.breakStatus&&void 0!==this.breakStatus.currentBreakClipTime)return this.playerState==chrome.cast.media.G.PLAYING&&0<=this.g?this.breakStatus.currentBreakClipTime+(Date.now()-this.g)/1E3:this.breakStatus.currentBreakClipTime}; f.bc=function(){if(this.liveSeekableRange&&void 0!==this.liveSeekableRange.start&&void 0!==this.liveSeekableRange.end){if(this.playerState==chrome.cast.media.G.PLAYING&&0<=this.g){var a=(Date.now()-this.g)/1E3,b=new chrome.cast.media.pa;b.isMovingWindow=this.liveSeekableRange.isMovingWindow;b.isLiveDone=this.liveSeekableRange.isLiveDone;b.start=b.isMovingWindow?this.liveSeekableRange.start+a:this.liveSeekableRange.start;b.end=b.isLiveDone?this.liveSeekableRange.end:this.liveSeekableRange.end+a;return b}return this.liveSeekableRange}}; f.aa=function(a){this.N(D,a)};f.N=function(a,b){a.Wb(this,b)};f.da=function(a){this.P(D,a)};f.P=function(a,b){D.wc(this,b)};var Ka=function(a,b){return ta(a.items,function(c){return c.itemId==b})};x("chrome.cast.media.Media",chrome.cast.media.h);chrome.cast.media.h.prototype.removeUpdateListenerWithContext=chrome.cast.media.h.prototype.P;chrome.cast.media.h.prototype.removeUpdateListener=chrome.cast.media.h.prototype.da;chrome.cast.media.h.prototype.addUpdateListenerWithContext=chrome.cast.media.h.prototype.N; chrome.cast.media.h.prototype.addUpdateListener=chrome.cast.media.h.prototype.aa;chrome.cast.media.h.prototype.getEstimatedLiveSeekableRange=chrome.cast.media.h.prototype.bc;chrome.cast.media.h.prototype.getEstimatedBreakClipTime=chrome.cast.media.h.prototype.$b;chrome.cast.media.h.prototype.getEstimatedBreakTime=chrome.cast.media.h.prototype.ac;chrome.cast.media.h.prototype.getEstimatedTime=chrome.cast.media.h.prototype.cc;chrome.cast.media.h.prototype.supportsCommand=chrome.cast.media.h.prototype.Fc; chrome.cast.media.h.prototype.queueMoveItemToNewIndex=chrome.cast.media.h.prototype.nc;chrome.cast.media.h.prototype.queueReorderItems=chrome.cast.media.h.prototype.sc;chrome.cast.media.h.prototype.queueRemoveItem=chrome.cast.media.h.prototype.qc;chrome.cast.media.h.prototype.queueRemoveItems=chrome.cast.media.h.prototype.rc;chrome.cast.media.h.prototype.queueSetRepeatMode=chrome.cast.media.h.prototype.tc;chrome.cast.media.h.prototype.queueJumpToItem=chrome.cast.media.h.prototype.lc; chrome.cast.media.h.prototype.queueNext=chrome.cast.media.h.prototype.oc;chrome.cast.media.h.prototype.queuePrev=chrome.cast.media.h.prototype.pc;chrome.cast.media.h.prototype.queueUpdateItems=chrome.cast.media.h.prototype.uc;chrome.cast.media.h.prototype.queueAppendItem=chrome.cast.media.h.prototype.jc;chrome.cast.media.h.prototype.queueInsertItems=chrome.cast.media.h.prototype.kc;chrome.cast.media.h.prototype.editTracksInfo=chrome.cast.media.h.prototype.T; chrome.cast.media.h.prototype.setVolume=chrome.cast.media.h.prototype.V;chrome.cast.media.h.prototype.stop=chrome.cast.media.h.prototype.stop;chrome.cast.media.h.prototype.seek=chrome.cast.media.h.prototype.seek;chrome.cast.media.h.prototype.pauseWithContext=chrome.cast.media.h.prototype.Ja;chrome.cast.media.h.prototype.pause=chrome.cast.media.h.prototype.pause;chrome.cast.media.h.prototype.playWithContext=chrome.cast.media.h.prototype.Ka;chrome.cast.media.h.prototype.play=chrome.cast.media.h.prototype.play; chrome.cast.media.h.prototype.getStatus=chrome.cast.media.h.prototype.U;var D=null;var La=function(a,b,c){this.sessionId=a;this.namespaceName=b;this.message=c};var Ma=function(a,b){this.type="SET_VOLUME";this.requestId=0;this.volume=a;this.expectedVolume=b||null};var Na=function(a){this.type="STOP";this.requestId=0;this.sessionId=a||null};chrome.cast.i=function(a,b,c,d,e){this.sessionId=a;this.appId=b;this.displayName=c;this.statusText=null;this.appImages=d;this.receiver=e;this.senderApps=[];this.namespaces=[];this.media=[];this.status=chrome.cast.M.CONNECTED;this.transportId=""};f=chrome.cast.i.prototype;f.Dc=function(a,b,c){this.Sa(D,a,b,c)};f.Sa=function(a,b,c,d){b=new Ma(new chrome.cast.Volume(b,null),this.receiver.volume);a.setReceiverVolume(this.sessionId,b,c,d)};f.Cc=function(a,b,c){this.Ra(D,a,b,c)}; f.Ra=function(a,b,c,d){a=new Ma(new chrome.cast.Volume(null,b),this.receiver.volume);D.setReceiverVolume(this.sessionId,a,c,d)};f.getDialAppInfo=function(a,b){this.Ia(D,a,b)};f.Ia=function(a,b,c){a.getDialAppInfo(b,c)};f.ec=function(a,b){D.leaveSession(this.sessionId,a,b)};f.stop=function(a,b){this.Ua(D,a,b)};f.Ua=function(a,b,c){a.Oa(new Na(this.sessionId),b,c,chrome.cast.timeout.stopSession)};f.sendMessage=function(a,b,c,d){this.Qa(D,a,b,c,d)}; f.Qa=function(a,b,c,d,e){a.zc(new La(this.sessionId,b,c),d,e)};f.aa=function(a){this.N(D,a)};f.N=function(a,b){a.Yb(this.sessionId,b)};f.da=function(a){this.P(D,a)};f.P=function(a,b){a.yc(this.sessionId,b)};f.Xb=function(a,b){this.Ga(D,a,b)};f.Ga=function(a,b,c){a.Vb(this.sessionId,b,c)};f.Z=function(a){this.Fa(D,a)};f.Fa=function(a,b){a.Z(this.sessionId,b)};f.ba=function(a){this.La(D,a)};f.La=function(a,b){a.ba(this.sessionId,b)};f.xc=function(a,b){this.Ma(D,a,b)}; f.Ma=function(a,b,c){a.vc(this.sessionId,b,c)};f.fc=function(a,b,c){a.sessionId=this.sessionId;D.Pa(a,"LOAD",b,c)};f.mc=function(a,b,c){a.sessionId=this.sessionId;D.Pa(a,"QUEUE_LOAD",b,c)};x("chrome.cast.Session",chrome.cast.i);chrome.cast.i.prototype.queueLoad=chrome.cast.i.prototype.mc;chrome.cast.i.prototype.loadMedia=chrome.cast.i.prototype.fc;chrome.cast.i.prototype.removeMessageListenerWithContext=chrome.cast.i.prototype.Ma;chrome.cast.i.prototype.removeMessageListener=chrome.cast.i.prototype.xc; chrome.cast.i.prototype.removeMediaListenerWithContext=chrome.cast.i.prototype.La;chrome.cast.i.prototype.removeMediaListener=chrome.cast.i.prototype.ba;chrome.cast.i.prototype.addMediaListenerWithContext=chrome.cast.i.prototype.Fa;chrome.cast.i.prototype.addMediaListener=chrome.cast.i.prototype.Z;chrome.cast.i.prototype.addMessageListenerWithContext=chrome.cast.i.prototype.Ga;chrome.cast.i.prototype.addMessageListener=chrome.cast.i.prototype.Xb; chrome.cast.i.prototype.removeUpdateListenerWithContext=chrome.cast.i.prototype.P;chrome.cast.i.prototype.removeUpdateListener=chrome.cast.i.prototype.da;chrome.cast.i.prototype.addUpdateListenerWithContext=chrome.cast.i.prototype.N;chrome.cast.i.prototype.addUpdateListener=chrome.cast.i.prototype.aa;chrome.cast.i.prototype.sendMessageWithContext=chrome.cast.i.prototype.Qa;chrome.cast.i.prototype.sendMessage=chrome.cast.i.prototype.sendMessage;chrome.cast.i.prototype.stopWithContext=chrome.cast.i.prototype.Ua; chrome.cast.i.prototype.stop=chrome.cast.i.prototype.stop;chrome.cast.i.prototype.leave=chrome.cast.i.prototype.ec;chrome.cast.i.prototype.getDialAppInfoWithContext=chrome.cast.i.prototype.Ia;chrome.cast.i.prototype.getDialAppInfo=chrome.cast.i.prototype.getDialAppInfo;chrome.cast.i.prototype.setReceiverMutedWithContext=chrome.cast.i.prototype.Ra;chrome.cast.i.prototype.setReceiverMuted=chrome.cast.i.prototype.Cc;chrome.cast.i.prototype.setReceiverVolumeLevelWithContext=chrome.cast.i.prototype.Sa; chrome.cast.i.prototype.setReceiverVolumeLevel=chrome.cast.i.prototype.Dc;var Oa=function(a,b){this.g=a[r.Symbol.iterator]();this.j=b};Oa.prototype[Symbol.iterator]=function(){return this};Oa.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.j.call(void 0,a.value),done:a.done}};var Pa=function(a,b){return new Oa(a,b)};var Qa=Object.freeze||function(a){return a};var E=function(){};E.prototype.next=function(){return Ra};var Ra=Qa({done:!0,value:void 0});E.prototype.u=function(){return this};var Sa=function(a){if(a instanceof E)return a;if("function"==typeof a.u)return a.u(!1);if(t(a)){var b=0,c=new E;c.next=function(){for(;;){if(b>=a.length)return Ra;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},F=function(a,b){if(t(a))sa(a,b);else for(a=Sa(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var Ta=function(a){if(a instanceof G||a instanceof H||a instanceof I)return a;if("function"==typeof a.next)return new G(function(){return a});if("function"==typeof a[Symbol.iterator])return new G(function(){return a[Symbol.iterator]()});if("function"==typeof a.u)return new G(function(){return a.u()});throw Error("Not an iterator or iterable.");},G=function(a){this.g=a};G.prototype.u=function(){return new H(this.g())};G.prototype[Symbol.iterator]=function(){return new I(this.g())};G.prototype.j=function(){return new I(this.g())}; var H=function(a){this.g=a};q(H,E);H.prototype.next=function(){return this.g.next()};H.prototype[Symbol.iterator]=function(){return new I(this.g)};H.prototype.j=function(){return new I(this.g)};var I=function(a){G.call(this,function(){return a});this.l=a};q(I,G);I.prototype.next=function(){return this.l.next()};var J=function(a,b){this.g={};this.o=[];this.j=this.size=0;var c=arguments.length;if(12*a.size&&K(a),!0):!1},K=function(a){if(a.size!=a.o.length){for(var b=0,c=0;b=d.o.length)return Ra;var h=d.o[b++];return{value:a?h:d.g[h],done:!1}};return e};var L=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Ua=function(a,b){this.requestId=a;this.m=b;this.Va=null};Ua.prototype.j=function(){};var Va=function(){this.g=new J},Wa=function(a,b){a.g.set(b.requestId,b);b.Va=setTimeout(function(){M(a.g,b.requestId);b.j()},b.m)},Xa=function(a,b){var c=a.g.get(b);if(!c)return null;clearTimeout(c.Va);M(a.g,b);return c};var N=function(a,b,c,d){Ua.call(this,a,d||6E5);this.l=b;this.g=c};q(N,Ua);N.prototype.j=function(){this.g(new chrome.cast.Error(chrome.cast.D.TIMEOUT))};var O=function(a,b,c,d){this.type=a;this.message=b;this.sequenceNumber=void 0!==c?c:-1;this.timeoutMillis=d||0;this.clientId=""};var P=function(a){this.l=a;this.j=String(Date.now())+String(Math.floor(1E5*Math.random()));this.g=null},Ya=function(a,b){if(!a.g)return"No active session";b.clientId=a.j;b=JSON.stringify(b);if(32768>=8);b[c++]=e}a=void 0;void 0===a&&(a=0);if(!S)for(S={},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;5>e;e++){var h=c.concat(d[e].split(""));nb[e]=h;for(var k=0;k>2];p=a[(p&3)<<4|v>>4];v=a[(v&15)<<2|l>>6];l=a[l&63];c[e++]=""+k+p+v+l}k=0;l=d;switch(b.length-h){case 2:k=b[h+1],l=a[(k&15)<<2]||d;case 1:b=b[h],c[e]=""+a[b>>2]+a[(b&3)<<4|k>>4]+l+d}b=c.join("")}return b};var qb=function(a){if(a.O&&"function"==typeof a.O)return a.O();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(t(a)){for(var b=[],c=a.length,d=0;d