(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),oa=0,pa=function(a,b,c){return a.call.apply(a.bind,arguments)},qa=function(a,b,c){if(!a)throw Error();if(2/g,Aa=/"/g,Ba=/'/g,Ca=/\x00/g,Da=/[\x00&<>"']/;var z;a:{var Ea=t.navigator;if(Ea){var Fa=Ea.userAgent;if(Fa){z=Fa;break a}}z=""}var A=function(a){return-1!=z.indexOf(a)};var Ga={},B=function(a,b,c){this.g=c===Ga?a:""};B.prototype.toString=function(){return this.g.toString()};var Ha=function(a){if(a instanceof B&&a.constructor===B)return a.g;ua("expected object of type SafeHtml, got '"+a+"' of type "+ma(a));return"type_error:SafeHtml"},Ia=new B(t.trustedTypes&&t.trustedTypes.emptyHTML||"",0,Ga);var Ja={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Ka=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=Ha(Ia);return!b.parentElement});var Ma=function(a){var b={"&":"&","<":"<",">":">",""":'"'};var c=t.document.createElement("div");return a.replace(La,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===y){e=null;var k=t.trustedTypes;if(k&&k.createPolicy){try{e=k.createPolicy("goog#html",{createHTML:sa,createScript:sa,createScriptURL:sa})}catch(l){t.console&&t.console.error(l.message)}y=e}else y=e}h=(e=y)?e.createHTML(h): h;h=new B(h,null,Ga);if(c.tagName&&Ja[c.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+c.tagName+".");if(Ka())for(;c.lastChild;)c.removeChild(c.lastChild);c.innerHTML=Ha(h);h=c.firstChild.nodeValue.slice(0,-1)}return b[d]=h})},Na=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)}})},La=/&([^;\s<&]+);?/g;chrome.cast.Za=function(a,b,c,d,e){this.sessionRequest=a;this.sessionListener=b;this.receiverListener=c;this.autoJoinPolicy=d||chrome.cast.la.TAB_AND_ORIGIN_SCOPED;this.defaultActionPolicy=e||chrome.cast.oa.CREATE_SESSION;this.customDialLaunchCallback=null;this.invisibleSender=!1;this.additionalSessionRequests=[]};w("chrome.cast.ApiConfig",chrome.cast.Za);chrome.cast.jb=function(a,b){this.appName=a;this.launchParameter=b||null};w("chrome.cast.DialRequest",chrome.cast.jb); chrome.cast.hb=function(a,b,c){this.receiver=a;this.appState=b;this.extraData=c||null};w("chrome.cast.DialLaunchData",chrome.cast.hb);chrome.cast.ib=function(a,b){this.doLaunch=a;this.launchParameter=b||null};w("chrome.cast.DialLaunchResponse",chrome.cast.ib); chrome.cast.Ib=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};w("chrome.cast.SessionRequest",chrome.cast.Ib); chrome.cast.Bb=function(a,b,c,d){this.label=a;a=b;Da.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(xa,"&")),-1!=a.indexOf("<")&&(a=a.replace(ya,"<")),-1!=a.indexOf(">")&&(a=a.replace(za,">")),-1!=a.indexOf('"')&&(a=a.replace(Aa,""")),-1!=a.indexOf("'")&&(a=a.replace(Ba,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(Ca,"�")));this.friendlyName=a;this.capabilities=c||[];this.volume=d||null;this.receiverType=chrome.cast.Ca.CAST;this.displayStatus=this.isActiveInput=null}; w("chrome.cast.Receiver",chrome.cast.Bb);chrome.cast.Db=function(a,b){this.statusText=a;this.appImages=b;this.showStop=null};w("chrome.cast.ReceiverDisplayStatus",chrome.cast.Db);chrome.cast.Fa=function(){this.requestSession=6E4;this.getDialAppInfo=this.sendCustomMessage=this.setReceiverVolume=this.stopSession=this.leaveSession=3E3};w("chrome.cast.Timeout",chrome.cast.Fa);chrome.cast.timeout=new chrome.cast.Fa;w("chrome.cast.timeout",chrome.cast.timeout);chrome.cast.Ya="auto-join"; chrome.cast.vb="cast-session_";chrome.cast.media.ob={SDR:"sdr",HDR:"hdr",DV:"dv"};w("chrome.cast.media.HdrType",chrome.cast.media.ob);chrome.cast.media.pb={AAC:"aac",AC3:"ac3",MP3:"mp3",TS:"ts",TS_AAC:"ts_aac",E_AC3:"e_ac3",FMP4:"fmp4"};w("chrome.cast.media.HlsSegmentFormat",chrome.cast.media.pb);chrome.cast.media.qb={MPEG2_TS:"mpeg2_ts",FMP4:"fmp4"};w("chrome.cast.media.HlsVideoSegmentFormat",chrome.cast.media.qb);chrome.cast.media.tb={PAUSE:"pause",SEEK:"seek",STREAM_VOLUME:"stream_volume",STREAM_MUTE:"stream_mute"}; w("chrome.cast.media.MediaCommand",chrome.cast.media.tb);chrome.cast.media.zb={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"};w("chrome.cast.media.QueueType",chrome.cast.media.zb);chrome.cast.media.Z={GENERIC_CONTAINER:0,AUDIOBOOK_CONTAINER:1};w("chrome.cast.media.ContainerType",chrome.cast.media.Z); chrome.cast.media.I={GENERIC:0,MOVIE:1,TV_SHOW:2,MUSIC_TRACK:3,PHOTO:4,AUDIOBOOK_CHAPTER:5};w("chrome.cast.media.MetadataType",chrome.cast.media.I);chrome.cast.media.H={IDLE:"IDLE",PLAYING:"PLAYING",PAUSED:"PAUSED",BUFFERING:"BUFFERING"};w("chrome.cast.media.PlayerState",chrome.cast.media.H);chrome.cast.media.$={OFF:"REPEAT_OFF",ALL:"REPEAT_ALL",SINGLE:"REPEAT_SINGLE",ALL_AND_SHUFFLE:"REPEAT_ALL_AND_SHUFFLE"};w("chrome.cast.media.RepeatMode",chrome.cast.media.$); chrome.cast.media.Eb={PLAYBACK_START:"PLAYBACK_START",PLAYBACK_PAUSE:"PLAYBACK_PAUSE"};w("chrome.cast.media.ResumeState",chrome.cast.media.Eb);chrome.cast.media.Ea={BUFFERED:"BUFFERED",LIVE:"LIVE",OTHER:"OTHER"};w("chrome.cast.media.StreamType",chrome.cast.media.Ea);chrome.cast.media.rb={CANCELLED:"CANCELLED",INTERRUPTED:"INTERRUPTED",FINISHED:"FINISHED",ERROR:"ERROR"};w("chrome.cast.media.IdleReason",chrome.cast.media.rb);chrome.cast.media.Qb={TEXT:"TEXT",AUDIO:"AUDIO",VIDEO:"VIDEO"}; w("chrome.cast.media.TrackType",chrome.cast.media.Qb);chrome.cast.media.Nb={SUBTITLES:"SUBTITLES",CAPTIONS:"CAPTIONS",DESCRIPTIONS:"DESCRIPTIONS",CHAPTERS:"CHAPTERS",METADATA:"METADATA"};w("chrome.cast.media.TextTrackType",chrome.cast.media.Nb);chrome.cast.media.Jb={NONE:"NONE",OUTLINE:"OUTLINE",DROP_SHADOW:"DROP_SHADOW",RAISED:"RAISED",DEPRESSED:"DEPRESSED"};w("chrome.cast.media.TextTrackEdgeType",chrome.cast.media.Jb);chrome.cast.media.Ob={NONE:"NONE",NORMAL:"NORMAL",ROUNDED_CORNERS:"ROUNDED_CORNERS"}; w("chrome.cast.media.TextTrackWindowType",chrome.cast.media.Ob);chrome.cast.media.Kb={SANS_SERIF:"SANS_SERIF",MONOSPACED_SANS_SERIF:"MONOSPACED_SANS_SERIF",SERIF:"SERIF",MONOSPACED_SERIF:"MONOSPACED_SERIF",CASUAL:"CASUAL",CURSIVE:"CURSIVE",SMALL_CAPITALS:"SMALL_CAPITALS"};w("chrome.cast.media.TextTrackFontGenericFamily",chrome.cast.media.Kb);chrome.cast.media.Lb={NORMAL:"NORMAL",BOLD:"BOLD",BOLD_ITALIC:"BOLD_ITALIC",ITALIC:"ITALIC"};w("chrome.cast.media.TextTrackFontStyle",chrome.cast.media.Lb); chrome.cast.media.Rb={LIKE:"LIKE",DISLIKE:"DISLIKE",FOLLOW:"FOLLOW",UNFOLLOW:"UNFOLLOW"};w("chrome.cast.media.UserAction",chrome.cast.media.Rb);chrome.cast.media.qa=function(){this.customData=null};w("chrome.cast.media.GetStatusRequest",chrome.cast.media.qa);chrome.cast.media.ua=function(){this.customData=null};w("chrome.cast.media.PauseRequest",chrome.cast.media.ua);chrome.cast.media.wa=function(){this.customData=null};w("chrome.cast.media.PlayRequest",chrome.cast.media.wa);chrome.cast.media.Fb=function(){this.customData=this.resumeState=this.currentTime=null};w("chrome.cast.media.SeekRequest",chrome.cast.media.Fb); chrome.cast.media.Da=function(){this.customData=null};w("chrome.cast.media.StopRequest",chrome.cast.media.Da);chrome.cast.media.Wb=function(a){this.volume=a;this.customData=null};w("chrome.cast.media.VolumeRequest",chrome.cast.media.Wb); chrome.cast.media.sb=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};w("chrome.cast.media.LoadRequest",chrome.cast.media.sb);chrome.cast.media.wb=function(a){this.type="PRECACHE";this.requestId=0;this.precacheData=a}; chrome.cast.media.kb=function(a,b){this.requestId=0;this.activeTrackIds=a||null;this.textTrackStyle=b||null};w("chrome.cast.media.EditTracksInfoRequest",chrome.cast.media.kb);chrome.cast.media.Y=function(a){this.containerType=a=void 0===a?chrome.cast.media.Z.GENERIC_CONTAINER:a;this.containerDuration=this.containerImages=this.sections=this.title=void 0};w("chrome.cast.media.ContainerMetadata",chrome.cast.media.Y); chrome.cast.media.v=function(a){this.metadataType=this.type=a;this.queueItemId=this.sectionStartTimeInContainer=this.sectionStartAbsoluteTime=this.sectionStartTimeInMedia=this.sectionDuration=void 0};w("chrome.cast.media.MediaMetadata",chrome.cast.media.v);chrome.cast.media.pa=function(){chrome.cast.media.v.call(this,chrome.cast.media.I.GENERIC);this.releaseDate=this.releaseYear=this.images=this.subtitle=this.title=void 0};q(chrome.cast.media.pa,chrome.cast.media.v); w("chrome.cast.media.GenericMediaMetadata",chrome.cast.media.pa);chrome.cast.media.sa=function(){chrome.cast.media.v.call(this,chrome.cast.media.I.MOVIE);this.releaseDate=this.releaseYear=this.images=this.subtitle=this.studio=this.title=void 0};q(chrome.cast.media.sa,chrome.cast.media.v);w("chrome.cast.media.MovieMediaMetadata",chrome.cast.media.sa); chrome.cast.media.Ga=function(){chrome.cast.media.v.call(this,chrome.cast.media.I.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.Ga,chrome.cast.media.v);w("chrome.cast.media.TvShowMediaMetadata",chrome.cast.media.Ga); chrome.cast.media.ta=function(){chrome.cast.media.v.call(this,chrome.cast.media.I.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.ta,chrome.cast.media.v);w("chrome.cast.media.MusicTrackMediaMetadata",chrome.cast.media.ta); chrome.cast.media.va=function(){chrome.cast.media.v.call(this,chrome.cast.media.I.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.va,chrome.cast.media.v);w("chrome.cast.media.PhotoMediaMetadata",chrome.cast.media.va);chrome.cast.media.ka=function(){chrome.cast.media.Y.call(this,chrome.cast.media.Z.AUDIOBOOK_CONTAINER);this.releaseDate=this.publisher=this.narrators=this.authors=void 0}; q(chrome.cast.media.ka,chrome.cast.media.Y);w("chrome.cast.media.AudiobookContainerMetadata",chrome.cast.media.ka);chrome.cast.media.ja=function(){chrome.cast.media.v.call(this,chrome.cast.media.I.AUDIOBOOK_CHAPTER);this.images=this.subtitle=this.bookTitle=this.chapterNumber=this.title=this.chapterTitle=void 0};q(chrome.cast.media.ja,chrome.cast.media.v);w("chrome.cast.media.AudiobookChapterMediaMetadata",chrome.cast.media.ja); chrome.cast.media.ub=function(a,b){this.contentId=a;this.contentUrl=void 0;this.streamType=chrome.cast.media.Ea.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};w("chrome.cast.media.MediaInfo",chrome.cast.media.ub); chrome.cast.media.ya=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};w("chrome.cast.media.QueueItem",chrome.cast.media.ya);chrome.cast.media.fb="CC1AD845";w("chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID",chrome.cast.media.fb);chrome.cast.media.timeout={};chrome.cast.media.timeout.load=0;w("chrome.cast.media.timeout.load",chrome.cast.media.timeout.load); chrome.cast.media.timeout.V=0;w("chrome.cast.media.timeout.getStatus",chrome.cast.media.timeout.V);chrome.cast.media.timeout.play=0;w("chrome.cast.media.timeout.play",chrome.cast.media.timeout.play);chrome.cast.media.timeout.pause=0;w("chrome.cast.media.timeout.pause",chrome.cast.media.timeout.pause);chrome.cast.media.timeout.seek=0;w("chrome.cast.media.timeout.seek",chrome.cast.media.timeout.seek);chrome.cast.media.timeout.stop=0;w("chrome.cast.media.timeout.stop",chrome.cast.media.timeout.stop); chrome.cast.media.timeout.X=0;w("chrome.cast.media.timeout.setVolume",chrome.cast.media.timeout.X);chrome.cast.media.timeout.U=0;w("chrome.cast.media.timeout.editTracksInfo",chrome.cast.media.timeout.U);chrome.cast.media.timeout.B=0;w("chrome.cast.media.timeout.queue",chrome.cast.media.timeout.B);chrome.cast.media.Pb=function(a,b){this.trackId=a;this.trackContentType=this.trackContentId=null;this.type=b;this.customData=this.subtype=this.language=this.name=null};w("chrome.cast.media.Track",chrome.cast.media.Pb); chrome.cast.media.Mb=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};w("chrome.cast.media.TextTrackStyle",chrome.cast.media.Mb);chrome.cast.media.yb=function(a){this.type="QUEUE_LOAD";this.sessionId=this.requestId=null;this.items=a;this.startIndex=0;this.repeatMode=chrome.cast.media.$.OFF;this.customData=null}; w("chrome.cast.media.QueueLoadRequest",chrome.cast.media.yb);chrome.cast.media.xa=function(a){this.type="QUEUE_INSERT";this.sessionId=this.requestId=null;this.items=a;this.customData=this.insertBefore=null};w("chrome.cast.media.QueueInsertItemsRequest",chrome.cast.media.xa);chrome.cast.media.Ab=function(a){this.type="QUEUE_UPDATE";this.sessionId=this.requestId=null;this.items=a;this.customData=null};w("chrome.cast.media.QueueUpdateItemsRequest",chrome.cast.media.Ab); chrome.cast.media.S=function(){this.type="QUEUE_UPDATE";this.customData=this.jump=this.currentItemId=this.sessionId=this.requestId=null};w("chrome.cast.media.QueueJumpRequest",chrome.cast.media.S);chrome.cast.media.Ba=function(){this.type="QUEUE_UPDATE";this.customData=this.repeatMode=this.sessionId=this.requestId=null};w("chrome.cast.media.QueueSetPropertiesRequest",chrome.cast.media.Ba); chrome.cast.media.za=function(a){this.type="QUEUE_REMOVE";this.sessionId=this.requestId=null;this.itemIds=a;this.customData=null};w("chrome.cast.media.QueueRemoveItemsRequest",chrome.cast.media.za);chrome.cast.media.Aa=function(a){this.type="QUEUE_REORDER";this.sessionId=this.requestId=null;this.itemIds=a;this.customData=this.insertBefore=null};w("chrome.cast.media.QueueReorderItemsRequest",chrome.cast.media.Aa); chrome.cast.media.$a=function(a,b,c){this.id=a;this.breakClipIds=b;this.position=c;this.duration=void 0;this.isWatched=!1;this.isEmbedded=void 0};w("chrome.cast.media.Break",chrome.cast.media.$a);chrome.cast.media.ab=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};w("chrome.cast.media.BreakClip",chrome.cast.media.ab); chrome.cast.media.Tb=function(){this.adsResponse=this.adTagUrl=void 0};w("chrome.cast.media.VastAdsRequest",chrome.cast.media.Tb);chrome.cast.media.bb=function(){this.whenSkippable=this.breakClipId=this.breakId=this.currentBreakClipTime=this.currentBreakTime=void 0};w("chrome.cast.media.BreakStatus",chrome.cast.media.bb);chrome.cast.media.ra=function(a,b,c,d){this.start=a;this.end=b;this.isMovingWindow=c;this.isLiveDone=d};w("chrome.cast.media.LiveSeekableRange",chrome.cast.media.ra); chrome.cast.media.xb=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};w("chrome.cast.media.QueueData",chrome.cast.media.xb);chrome.cast.media.Sb=function(a){this.userAction=a;this.customData=void 0};w("chrome.cast.media.UserActionState",chrome.cast.media.Sb);chrome.cast.media.Ub=function(a,b,c){this.width=a;this.height=b;this.hdrType=c}; w("chrome.cast.media.VideoInformation",chrome.cast.media.Ub);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.H.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.$.OFF;this.breakStatus=void 0;this.l=!1;this.i=[];this.liveSeekableRange= void 0};f=chrome.cast.media.h.prototype;f.V=function(a,b,c){a||(a=new chrome.cast.media.qa);C.s(this,"MEDIA_GET_STATUS",a,b,c,chrome.cast.media.timeout.V)};f.play=function(a,b,c){this.Ma(C,a,b,c)};f.Ma=function(a,b,c,d){b||(b=new chrome.cast.media.wa);a.s(this,"PLAY",b,c,d,chrome.cast.media.timeout.play)};f.pause=function(a,b,c){this.La(C,a,b,c)};f.La=function(a,b,c,d){b||(b=new chrome.cast.media.ua);a.s(this,"PAUSE",b,c,d,chrome.cast.media.timeout.pause)}; f.seek=function(a,b,c){C.s(this,"SEEK",a,b,c,chrome.cast.media.timeout.seek)};f.stop=function(a,b,c){a||(a=new chrome.cast.media.Da);C.s(this,"STOP_MEDIA",a,b,c,chrome.cast.media.timeout.stop)};f.X=function(a,b,c){C.s(this,"MEDIA_SET_VOLUME",a,b,c,chrome.cast.media.timeout.X)};f.U=function(a,b,c){C.s(this,"EDIT_TRACKS_INFO",a,b,c,chrome.cast.media.timeout.U)};f.mc=function(a,b,c){C.s(this,"QUEUE_INSERT",a,b,c,chrome.cast.media.timeout.B)}; f.lc=function(a,b,c){C.s(this,"QUEUE_INSERT",new chrome.cast.media.xa([a]),b,c,chrome.cast.media.timeout.B)};f.wc=function(a,b,c){C.s(this,"QUEUE_UPDATE",a,b,c,chrome.cast.media.timeout.B)};f.rc=function(a,b){var c=new chrome.cast.media.S;c.jump=-1;C.s(this,"QUEUE_UPDATE",c,a,b,chrome.cast.media.timeout.B)};f.qc=function(a,b){var c=new chrome.cast.media.S;c.jump=1;C.s(this,"QUEUE_UPDATE",c,a,b,chrome.cast.media.timeout.B)}; f.nc=function(a,b,c){if(!(0>Oa(this,a))){var d=new chrome.cast.media.S;d.currentItemId=a;C.s(this,"QUEUE_UPDATE",d,b,c,chrome.cast.media.timeout.B)}};f.vc=function(a,b,c){var d=new chrome.cast.media.Ba;d.repeatMode=a;C.s(this,"QUEUE_UPDATE",d,b,c,chrome.cast.media.timeout.B)};f.tc=function(a,b,c){C.s(this,"QUEUE_REMOVE",a,b,c,chrome.cast.media.timeout.B)};f.sc=function(a,b,c){0>Oa(this,a)||C.s(this,"QUEUE_REMOVE",new chrome.cast.media.za([a]),b,c,chrome.cast.media.timeout.B)}; f.uc=function(a,b,c){C.s(this,"QUEUE_REORDER",a,b,c,chrome.cast.media.timeout.B)};f.pc=function(a,b,c,d){var e=Oa(this,a);if(!(0>e))if(0>b)d&&d(new chrome.cast.Error(chrome.cast.F.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.cc=function(){if(this.breakStatus&&void 0!==this.breakStatus.currentBreakTime)return this.playerState==chrome.cast.media.H.PLAYING&&0<=this.g?this.breakStatus.currentBreakTime+(Date.now()-this.g)/1E3:this.breakStatus.currentBreakTime}; f.bc=function(){if(this.breakStatus&&void 0!==this.breakStatus.currentBreakClipTime)return this.playerState==chrome.cast.media.H.PLAYING&&0<=this.g?this.breakStatus.currentBreakClipTime+(Date.now()-this.g)/1E3:this.breakStatus.currentBreakClipTime}; f.dc=function(){if(this.liveSeekableRange&&void 0!==this.liveSeekableRange.start&&void 0!==this.liveSeekableRange.end){if(this.playerState==chrome.cast.media.H.PLAYING&&0<=this.g){var a=(Date.now()-this.g)/1E3,b=new chrome.cast.media.ra;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.ca=function(a){this.O(C,a)};f.O=function(a,b){a.Yb(this,b)};f.fa=function(a){this.R(C,a)};f.R=function(a,b){C.yc(this,b)};var Oa=function(a,b){return wa(a.items,function(c){return c.itemId==b})};w("chrome.cast.media.Media",chrome.cast.media.h);chrome.cast.media.h.prototype.removeUpdateListenerWithContext=chrome.cast.media.h.prototype.R;chrome.cast.media.h.prototype.removeUpdateListener=chrome.cast.media.h.prototype.fa;chrome.cast.media.h.prototype.addUpdateListenerWithContext=chrome.cast.media.h.prototype.O; chrome.cast.media.h.prototype.addUpdateListener=chrome.cast.media.h.prototype.ca;chrome.cast.media.h.prototype.getEstimatedLiveSeekableRange=chrome.cast.media.h.prototype.dc;chrome.cast.media.h.prototype.getEstimatedBreakClipTime=chrome.cast.media.h.prototype.bc;chrome.cast.media.h.prototype.getEstimatedBreakTime=chrome.cast.media.h.prototype.cc;chrome.cast.media.h.prototype.getEstimatedTime=chrome.cast.media.h.prototype.ec;chrome.cast.media.h.prototype.supportsCommand=chrome.cast.media.h.prototype.Hc; chrome.cast.media.h.prototype.queueMoveItemToNewIndex=chrome.cast.media.h.prototype.pc;chrome.cast.media.h.prototype.queueReorderItems=chrome.cast.media.h.prototype.uc;chrome.cast.media.h.prototype.queueRemoveItem=chrome.cast.media.h.prototype.sc;chrome.cast.media.h.prototype.queueRemoveItems=chrome.cast.media.h.prototype.tc;chrome.cast.media.h.prototype.queueSetRepeatMode=chrome.cast.media.h.prototype.vc;chrome.cast.media.h.prototype.queueJumpToItem=chrome.cast.media.h.prototype.nc; chrome.cast.media.h.prototype.queueNext=chrome.cast.media.h.prototype.qc;chrome.cast.media.h.prototype.queuePrev=chrome.cast.media.h.prototype.rc;chrome.cast.media.h.prototype.queueUpdateItems=chrome.cast.media.h.prototype.wc;chrome.cast.media.h.prototype.queueAppendItem=chrome.cast.media.h.prototype.lc;chrome.cast.media.h.prototype.queueInsertItems=chrome.cast.media.h.prototype.mc;chrome.cast.media.h.prototype.editTracksInfo=chrome.cast.media.h.prototype.U; chrome.cast.media.h.prototype.setVolume=chrome.cast.media.h.prototype.X;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.La;chrome.cast.media.h.prototype.pause=chrome.cast.media.h.prototype.pause;chrome.cast.media.h.prototype.playWithContext=chrome.cast.media.h.prototype.Ma;chrome.cast.media.h.prototype.play=chrome.cast.media.h.prototype.play; chrome.cast.media.h.prototype.getStatus=chrome.cast.media.h.prototype.V;var C=null;var Pa=function(a,b,c){this.sessionId=a;this.namespaceName=b;this.message=c};var Qa=function(a,b){this.type="SET_VOLUME";this.requestId=0;this.volume=a;this.expectedVolume=b||null};var Ra=function(a){this.type="STOP";this.requestId=0;this.sessionId=a||null};chrome.cast.j=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.N.CONNECTED;this.transportId=""};f=chrome.cast.j.prototype;f.Fc=function(a,b,c){this.Ua(C,a,b,c)};f.Ua=function(a,b,c,d){b=new Qa(new chrome.cast.Volume(b,null),this.receiver.volume);a.setReceiverVolume(this.sessionId,b,c,d)};f.Ec=function(a,b,c){this.Ta(C,a,b,c)}; f.Ta=function(a,b,c,d){a=new Qa(new chrome.cast.Volume(null,b),this.receiver.volume);C.setReceiverVolume(this.sessionId,a,c,d)};f.getDialAppInfo=function(a,b){this.Ka(C,a,b)};f.Ka=function(a,b,c){a.getDialAppInfo(b,c)};f.hc=function(a,b){C.leaveSession(this.sessionId,a,b)};f.stop=function(a,b){this.Wa(C,a,b)};f.Wa=function(a,b,c){a.Qa(new Ra(this.sessionId),b,c,chrome.cast.timeout.stopSession)};f.sendMessage=function(a,b,c,d){this.Sa(C,a,b,c,d)}; f.Sa=function(a,b,c,d,e){a.Bc(new Pa(this.sessionId,b,c),d,e)};f.ca=function(a){this.O(C,a)};f.O=function(a,b){a.$b(this.sessionId,b)};f.fa=function(a){this.R(C,a)};f.R=function(a,b){a.Ac(this.sessionId,b)};f.Zb=function(a,b){this.Ia(C,a,b)};f.Ia=function(a,b,c){a.Xb(this.sessionId,b,c)};f.aa=function(a){this.Ha(C,a)};f.Ha=function(a,b){a.aa(this.sessionId,b)};f.da=function(a){this.Na(C,a)};f.Na=function(a,b){a.da(this.sessionId,b)};f.zc=function(a,b){this.Oa(C,a,b)}; f.Oa=function(a,b,c){a.xc(this.sessionId,b,c)};f.ic=function(a,b,c){a.sessionId=this.sessionId;C.Ra(a,"LOAD",b,c)};f.oc=function(a,b,c){a.sessionId=this.sessionId;C.Ra(a,"QUEUE_LOAD",b,c)};w("chrome.cast.Session",chrome.cast.j);chrome.cast.j.prototype.queueLoad=chrome.cast.j.prototype.oc;chrome.cast.j.prototype.loadMedia=chrome.cast.j.prototype.ic;chrome.cast.j.prototype.removeMessageListenerWithContext=chrome.cast.j.prototype.Oa;chrome.cast.j.prototype.removeMessageListener=chrome.cast.j.prototype.zc; chrome.cast.j.prototype.removeMediaListenerWithContext=chrome.cast.j.prototype.Na;chrome.cast.j.prototype.removeMediaListener=chrome.cast.j.prototype.da;chrome.cast.j.prototype.addMediaListenerWithContext=chrome.cast.j.prototype.Ha;chrome.cast.j.prototype.addMediaListener=chrome.cast.j.prototype.aa;chrome.cast.j.prototype.addMessageListenerWithContext=chrome.cast.j.prototype.Ia;chrome.cast.j.prototype.addMessageListener=chrome.cast.j.prototype.Zb; chrome.cast.j.prototype.removeUpdateListenerWithContext=chrome.cast.j.prototype.R;chrome.cast.j.prototype.removeUpdateListener=chrome.cast.j.prototype.fa;chrome.cast.j.prototype.addUpdateListenerWithContext=chrome.cast.j.prototype.O;chrome.cast.j.prototype.addUpdateListener=chrome.cast.j.prototype.ca;chrome.cast.j.prototype.sendMessageWithContext=chrome.cast.j.prototype.Sa;chrome.cast.j.prototype.sendMessage=chrome.cast.j.prototype.sendMessage;chrome.cast.j.prototype.stopWithContext=chrome.cast.j.prototype.Wa; chrome.cast.j.prototype.stop=chrome.cast.j.prototype.stop;chrome.cast.j.prototype.leave=chrome.cast.j.prototype.hc;chrome.cast.j.prototype.getDialAppInfoWithContext=chrome.cast.j.prototype.Ka;chrome.cast.j.prototype.getDialAppInfo=chrome.cast.j.prototype.getDialAppInfo;chrome.cast.j.prototype.setReceiverMutedWithContext=chrome.cast.j.prototype.Ta;chrome.cast.j.prototype.setReceiverMuted=chrome.cast.j.prototype.Ec;chrome.cast.j.prototype.setReceiverVolumeLevelWithContext=chrome.cast.j.prototype.Ua; chrome.cast.j.prototype.setReceiverVolumeLevel=chrome.cast.j.prototype.Fc;var Sa=function(a,b){this.i=a[t.Symbol.iterator]();this.l=b;this.m=0};Sa.prototype[Symbol.iterator]=function(){return this};Sa.prototype.next=function(){var a=this.i.next();return{value:a.done?void 0:this.l.call(void 0,a.value,this.m++),done:a.done}};var Ta=function(a,b){return new Sa(a,b)};var D="StopIteration"in t?t.StopIteration:{message:"StopIteration",stack:""},E=function(){};E.prototype.next=function(){return E.prototype.g.call(this)};E.prototype.g=function(){throw D;};E.prototype.u=function(){return this}; var Ua=function(a){if(a instanceof E)return a;if("function"==typeof a.u)return a.u(!1);if(u(a)){var b=0,c=new E;c.g=function(){for(;;){if(b>=a.length)throw D;if(b in a)return a[b++];b++}};c.next=c.g.bind(c);return c}throw Error("Not implemented");},F=function(a,b){if(u(a))try{va(a,b,void 0)}catch(c){if(c!==D)throw c;}else{a=Ua(a);try{for(;;)b.call(void 0,a.g(),void 0,a)}catch(c){if(c!==D)throw c;}}};var Wa=function(a){if(a instanceof G||a instanceof H||a instanceof I)return a;if("function"==typeof a.next)return new G(function(){return Va(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 Va(a.u())});throw Error("Not an iterator or iterable.");},Va=function(a){if(!(a instanceof E))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.g();break}catch(d){if(d!==D)throw d;b=!0}return{value:c, done:b}}}},G=function(a){this.i=a};G.prototype.u=function(){return new H(this.i())};G.prototype[Symbol.iterator]=function(){return new I(this.i())};G.prototype.l=function(){return new I(this.i())};var H=function(a){this.i=a};q(H,E);H.prototype.g=function(){var a=this.i.next();if(a.done)throw D;return a.value};H.prototype.next=function(){return H.prototype.g.call(this)};H.prototype[Symbol.iterator]=function(){return new I(this.i)};H.prototype.l=function(){return new I(this.i)}; var I=function(a){G.call(this,function(){return a});this.m=a};q(I,G);I.prototype.next=function(){return this.m.next()};var J=function(a,b){this.g={};this.o=[];this.i=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)throw D;var h=d.o[b++];return a?h:d.g[h]};e.next=e.g.bind(e);return e};var L=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Xa=function(a,b){this.requestId=a;this.m=b;this.Xa=null};Xa.prototype.i=function(){};var Ya=function(){this.g=new J},Za=function(a,b){a.g.set(b.requestId,b);b.Xa=setTimeout(function(){M(a.g,b.requestId);b.i()},b.m)},$a=function(a,b){var c=a.g.get(b);if(!c)return null;clearTimeout(c.Xa);M(a.g,b);return c};var N=function(a,b,c,d){Xa.call(this,a,d||6E5);this.l=b;this.g=c};q(N,Xa);N.prototype.i=function(){this.g(new chrome.cast.Error(chrome.cast.F.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.i=String(Date.now())+String(Math.floor(1E5*Math.random()));this.g=null},ab=function(a,b){if(!a.g)return"No active session";b.clientId=a.i;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(""));qb[e]=h;for(var k=0;k>2];p=a[(p&3)<<4|r>>4];r=a[(r&15)<<2|l>>6];l=a[l&63];c[e++]=""+k+p+r+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 tb=function(a){if(a.P&&"function"==typeof a.P)return a.P();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(u(a)){for(var b=[],c=a.length,d=0;d