var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(d,q,k){d!=Array.prototype&&d!=Object.prototype&&(d[q]=k.value)};$jscomp.getGlobal=function(d){return"undefined"!=typeof window&&window===d?d:"undefined"!=typeof global&&null!=global?global:d};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_"; $jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.Symbol=function(){var d=0;return function(q){return $jscomp.SYMBOL_PREFIX+(q||"")+d++}}(); $jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var d=$jscomp.global.Symbol.iterator;d||(d=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[d]&&$jscomp.defineProperty(Array.prototype,d,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(d){var q=0;return $jscomp.iteratorPrototype(function(){return qc)if(0==b)c=a.length+c;else return"";return a.substr(b,c)};r.remove=function(a,b){b=a.indexOf(b);if(-1==b)return!1;a.splice(b,1);return!0};r.iter=function(a){return{cur:0, arr:a,hasNext:function(){return this.cure.isIE()?(console.log("MusesRadioPlayer will use Flash Version here since you have Internet Explorer "+e.isIE()+" (wich is older than IE 11)."),e.flashInsert(a)):0';null==a.elementId?window.document.write(c): window.document.getElementById(a.elementId).innerHTML=c;null!=a.callbackFunction&&e.setCallbackFunction(a.callbackFunction);a.elementId=b;a.skin=e.getSkin(a.skin,!1);b=e.jsInstances;c=a.id;a=new F(a);null!=t[c]?b.setReserved(c,a):b.h[c]=a};e.flashInsert=function(a){null==a.elementId&&null!=e.elementId&&(a.elementId=e.elementId);null==a.id&&(a.id=e.objectId);null==a.wmode&&(a.wmode="window");var b="url="+a.url;b+="&lang="+(null!=a.lang?a.lang:"auto");b+="&codec="+a.codec;b=b+"&tracking=true"+("&volume="+ (null!=a.volume?a.volume:100));null!=a.introurl&&(b+="&introurl="+a.introurl);null!=a.autoplay&&(b+="&autoplay="+(a.autoplay?"true":"false"));null!=a.jsevents&&(b+="&jsevents="+(a.jsevents?"true":"false"));null!=a.buffering&&(b+="&buffering="+a.buffering);null!=a.metadataMode&&(b+="&querymetadata="+a.metadataMode,null!=a.metadataProxy&&(b+="&metadataproxy="+a.metadataProxy),null!=a.metadataInterval&&(b+="&interval="+a.metadataInterval));null!=a.reconnectTime&&(b+="&reconnecttime="+a.reconnectTime); null!=a.fallbackUrl&&(b+="&fallback="+a.fallbackUrl);b+="&skin="+e.getSkin(a.skin,!0);b+="&title="+a.title;b+="&welcome="+a.welcome;var c=e.getScriptBaseHREF()+"/muses-hosted.swf",g='width="'+a.width+'" height="'+a.height+'" ';null!=a.bgcolor&&(g+='bgcolor="'+a.bgcolor+'" ');var d='";d=d+('')+('')+(''); d+='';d+='';null!=a.bgcolor&&(d+='');d+='';d+="";null!=a.callbackFunction&&e.setCallbackFunction(a.callbackFunction);null==a.elementId?window.document.write(d):window.document.getElementById(a.elementId).innerHTML= d;b=null;eval("instance = document."+e.objectId+";");null==b&&(b=document.getElementById(e.objectId));a=a.id;c=e.flashInstances;null!=t[a]?c.setReserved(a,b):c.h[a]=b};e.main=function(){e.getScriptBaseHREF()};Math.__name__=["Math"];var I=function(){};I.__name__=["Std"];I.string=function(a){return x.__string_rec(a,"")};I.parseInt=function(a){var b=parseInt(a,10);0!=b||120!=r.cca(a,1)&&88!=r.cca(a,1)||(b=parseInt(a));return isNaN(b)?null:b};var N=function(){this.b=""};N.__name__=["StringBuf"];N.prototype= {__class__:N};var y=function(){};y.__name__=["StringTools"];y.isSpace=function(a,b){a=r.cca(a,b);return 8a?!0:32==a};y.ltrim=function(a){for(var b=a.length,c=0;cg)b.req=null,b.onData(b.responseData=c.responseText);else if(null==g)b.req=null,b.onError("Failed to connect or resolve host");else switch(g){case 12007:b.req=null;b.onError("Unknown host");break;case 12029:b.req=null;b.onError("Failed to connect to host");break;default:b.req=null,b.responseData=c.responseText,b.onError("Http Error #"+c.status)}}};this.async&&(c.onreadystatechange=g);var d=this.postData;if(null!=d)a=!0; else for(var f=this.params.h;null!=f;){var e=f.item;f=f.next;d=null==d?"":d+"&";var h=encodeURIComponent(e.param)+"=";d+=h+encodeURIComponent(e.value)}try{if(a)c.open("POST",this.url,this.async);else if(null!=d){var n=1>=this.url.split("?").length;c.open("GET",this.url+(n?"?":"&")+d,this.async);d=null}else c.open("GET",this.url,this.async)}catch(Aa){Aa instanceof p&&(Aa=Aa.val);b.req=null;this.onError(Aa.toString());return}c.withCredentials=this.withCredentials;!J.exists(this.headers,function(a){return"Content-Type"== a.header})&&a&&null==this.postData&&c.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(a=this.headers.h;null!=a;)f=a.item,a=a.next,c.setRequestHeader(f.header,f.value);c.send(d);this.async||g(null)},onData:function(a){},onError:function(a){},onStatus:function(a){},__class__:T};var G=function(a){var b=this;this.id=setInterval(function(){b.run()},a)};G.__name__=["haxe","Timer"];G.delay=function(a,b){var c=new G(b);c.run=function(){c.stop();a()};return c};G.prototype={stop:function(){null!= this.id&&(clearInterval(this.id),this.id=null)},run:function(){},__class__:G};var O=function(){};O.__name__=["haxe","crypto","Md5"];O.encode=function(a){var b=new O;a=b.doEncode(O.str2blks(a));return b.hex(a)};O.str2blks=function(a){var b=U.ofString(a),c=(b.length+8>>6)+1;a=[];for(var g=0,d=16*c;g>2]|=b.b[d]<<(g+d)%4*8,++d;a[d>>2]|=128<<(g+d)%4*8;b=16*c-2;a[b]=g&255;a[b]|=(g>>>8&255)<<8;a[b]|=(g>>>16&255)<<16;a[b]|=(g>>>24&255)<<24;return a}; O.prototype={bitOR:function(a,b){return(a>>>1|b>>>1)<<1|a&1|b&1},bitXOR:function(a,b){return(a>>>1^b>>>1)<<1|a&1^b&1},bitAND:function(a,b){return(a>>>1&b>>>1)<<1|a&1&b&1},addme:function(a,b){var c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535},hex:function(a){for(var b="",c=0;cd;){var f=d++;b+="0123456789abcdef".charAt(g>>8*f+4&15)+"0123456789abcdef".charAt(g>>8*f&15)}}return b},rol:function(a,b){return a<>>32-b},cmn:function(a,b,c,g,d, f){return this.addme(this.rol(this.addme(this.addme(b,a),this.addme(g,f)),d),c)},ff:function(a,b,c,g,d,f,e){return this.cmn(this.bitOR(this.bitAND(b,c),this.bitAND(~b,g)),a,b,d,f,e)},gg:function(a,b,c,g,d,f,e){return this.cmn(this.bitOR(this.bitAND(b,g),this.bitAND(c,~g)),a,b,d,f,e)},hh:function(a,b,c,g,d,f,e){return this.cmn(this.bitXOR(this.bitXOR(b,c),g),a,b,d,f,e)},ii:function(a,b,c,g,d,f,e){return this.cmn(this.bitXOR(c,this.bitOR(b,~g)),a,b,d,f,e)},doEncode:function(a){for(var b=1732584193, c=-271733879,g=-1732584194,d=271733878,f=0;f= d&&(d=d-55232<<10|a.charCodeAt(c++)&1023);127>=d?b.push(d):(2047>=d?b.push(192|d>>6):(65535>=d?b.push(224|d>>12):(b.push(240|d>>18),b.push(128|d>>12&63)),b.push(128|d>>6&63)),b.push(128|d&63))}return new U((new Ba(b)).buffer)};U.prototype={__class__:U};var A=function(a,b,c){this.xml=b;this.message=a;this.position=c;this.lineNumber=1;for(a=this.positionAtLine=0;a=m||65<=m&&90>=m||48<=m&&57>=m||58==m||46==m||95==m||45==m)){if(c==n)throw new p(new A("Expected node name",a,c));g=h.createElement(r.substr(a,n,c-n));d.addChild(g);++w;f=0;e=4;continue}break;case 4:switch(m){case 47:f=11;break;case 62:f=9;break;default:f=5;n=c;continue}break;case 5:if(!(97<=m&&122>=m||65<=m&&90>=m||48<=m&&57>=m||58== m||46==m||95==m||45==m)){if(n==c)throw new p(new A("Expected attribute name",a,c));k=r.substr(a,n,c-n);if(g.exists(k))throw new p(new A("Duplicate attribute ["+k+"]",a,c));f=0;e=6;continue}break;case 6:if(61==m)f=0,e=7;else throw new p(new A("Expected =",a,c));break;case 7:switch(m){case 34:case 39:l=new N;f=8;n=c+1;v=m;break;default:throw new p(new A('Expected "',a,c));}break;case 8:switch(m){case 38:q=c-n;l.b+=null==q?r.substr(a,n,null):r.substr(a,n,q);f=18;q=8;n=c+1;break;case 60:case 62:if(b)throw new p(new A("Invalid unescaped "+ String.fromCharCode(m)+" in attribute value",a,c));m==v&&(e=c-n,l.b+=null==e?r.substr(a,n,null):r.substr(a,n,e),e=l.b,l=new N,g.set(k,e),f=0,e=4);break;default:m==v&&(e=c-n,l.b+=null==e?r.substr(a,n,null):r.substr(a,n,e),e=l.b,l=new N,g.set(k,e),f=0,e=4)}break;case 9:n=c=L.doParse(a,b,c,g);f=1;break;case 10:if(!(97<=m&&122>=m||65<=m&&90>=m||48<=m&&57>=m||58==m||46==m||95==m||45==m)){if(n==c)throw new p(new A("Expected node name",a,c));e=r.substr(a,n,c-n);if(d.nodeType!=h.Element)throw new p("Bad node type, expected Element but found "+ d.nodeType);if(e!=d.nodeName){if(d.nodeType!=h.Element)throw new p("Bad node type, expected Element but found "+d.nodeType);throw new p(new A("Expected ",a,c));}f=0;e=12;continue}break;case 11:if(62==m)f=1;else throw new p(new A("Expected >",a,c));break;case 12:if(62==m)return 0==w&&d.addChild(h.createPCData("")),c;throw new p(new A("Expected >",a,c));case 13:60==m?(e=c-n,l.b+=null==e?r.substr(a,n,null):r.substr(a,n,e),e=h.createPCData(l.b),l=new N,d.addChild(e),++w,f=0,e=2):38== m&&(q=c-n,l.b+=null==q?r.substr(a,n,null):r.substr(a,n,q),f=18,q=13,n=c+1);break;case 14:63==m&&62==a.charCodeAt(c+1)&&(++c,m=r.substr(a,n+1,c-n-2),d.addChild(h.createProcessingInstruction(m)),++w,f=1);break;case 15:45==m&&45==a.charCodeAt(c+1)&&62==a.charCodeAt(c+2)&&(d.addChild(h.createComment(r.substr(a,n,c-n))),++w,c+=2,f=1);break;case 16:91==m?++u:93==m?--u:62==m&&0==u&&(d.addChild(h.createDocType(r.substr(a,n,c-n))),++w,f=1);break;case 17:93==m&&93==a.charCodeAt(c+1)&&62==a.charCodeAt(c+2)&& (m=h.createCData(r.substr(a,n,c-n)),d.addChild(m),++w,c+=2,f=1);break;case 18:if(59==m){n=r.substr(a,n,c-n);if(35==n.charCodeAt(0))n=120==n.charCodeAt(1)?I.parseInt("0"+r.substr(n,1,n.length-1)):I.parseInt(r.substr(n,1,n.length-1)),l.b+=String.fromCharCode(n);else if(m=L.escapes,null!=t[n]?m.existsReserved(n):m.h.hasOwnProperty(n))m=L.escapes,n=null!=t[n]?m.getReserved(n):m.h[n],l.b+=I.string(n);else{if(b)throw new p(new A("Undefined entity: "+n,a,c));l.b+=I.string("&"+n+";")}n=c+1;f=q}else if(!(97<= m&&122>=m||65<=m&&90>=m||48<=m&&57>=m||58==m||46==m||95==m||45==m)&&35!=m){if(b)throw new p(new A("Invalid character in entity: "+String.fromCharCode(m),a,c));l.b+="&";m=c-n;l.b+=null==m?r.substr(a,n,null):r.substr(a,n,m);n=c--;f=q}}m=a.charCodeAt(++c)}1==f&&(n=c,f=13);if(13==f){if(c!=n||0==w)b=c-n,l.b+=null==b?r.substr(a,n,null):r.substr(a,n,b),d.addChild(h.createPCData(l.b));return c}if(!b&&18==f&&13==q)return l.b+="&",b=c-n,l.b+=null==b?r.substr(a,n,null):r.substr(a,n,b),d.addChild(h.createPCData(l.b)), c;throw new p(new A("Unexpected end",a,c));};var p=function(a){Error.call(this);this.val=a;this.message=String(a);Error.captureStackTrace&&Error.captureStackTrace(this,p)};p.__name__=["js","_Boot","HaxeError"];p.wrap=function(a){return a instanceof Error?a:new p(a)};p.__super__=Error;p.prototype=k(Error.prototype,{__class__:p});var x=function(){};x.__name__=["js","Boot"];x.getClass=function(a){if(a instanceof Array&&null==a.__enum__)return Array;var b=a.__class__;if(null!=b)return b;a=x.__nativeClassName(a); return null!=a?x.__resolveNativeClass(a):null};x.__string_rec=function(a,b){if(null==a)return"null";if(5<=b.length)return"<...>";var c=typeof a;"function"==c&&(a.__name__||a.__ename__)&&(c="object");switch(c){case "function":return"";case "object":if(a instanceof Array){if(a.__enum__){if(2==a.length)return a[0];c=a[0]+"(";b+="\t";for(var d=2,e=a.length;de.length||(d=e[0],e=decodeURIComponent(e[1].split("+").join(" ")),null!=t[d]?a.setReserved(d,e):a.h[d]=e)}return a};P.exists=function(a){var b=P.all();return null!=t[a]?b.existsReserved(a):b.h.hasOwnProperty(a)};var H=function(a){if(a instanceof Array&&null==a.__enum__)this.a=a,this.byteLength=a.length;else{this.a=[]; for(var b=0;bthis.byteLength)throw new p("set() outside of range");for(var c=0,d=a.byteLength;cthis.byteLength)throw new p("set() outside of range");c=0;for(d=a.length;c"};l.hide=function(a){l.displaying&&(l.container.style.display="none",window.document.removeEventListener("click", l.hide),l.displaying=!1)};l.display=function(a,b,c,d){l.prepare(d);l.displaying||(l.container.style.display="block",window.document.addEventListener("click",l.hide),l.displaying=!0);l.container.style.left=a-3+"px";l.container.style.top=b-3+"px";l.titleDiv.style.textAlign=d.getTextAlign();l.titleDiv.innerHTML=c};var Ca=function(a,b){this.timer=null;this.player=a;null!=b.metadataMode&&(this.metadataMode=b.metadataMode);this.interval=null!=b.metadataInterval?b.metadataInterval:20;null!=b.metadataProxy&& (this.proxy=b.metadataProxy);""==this.proxy&&(this.proxy=null)};Ca.__name__=["muses","MetadataLoader"];Ca.prototype={stop:function(){null!=this.timer&&(this.timer.stop(),this.timer=null)},begin:function(){"icecast"!=this.metadataMode&&"streamtheworld"!=this.metadataMode&&"shoutcast"!=this.metadataMode||null!=this.timer||(this.timer=new G(1E3*this.interval),this.timer.run=u(this,this.loop),this.loop())},loop:function(){if(this.player.shouldBePlaying()){switch(this.metadataMode){case "icecast":var a= this.player.getCurrentUrl().split("?")[0]+".xspf";break;case "shoutcast":a=r.substr(this.player.getCurrentUrl(),0,this.player.getCurrentUrl().indexOf("/",9))+"/7.html";break;case "streamtheworld":a=this.mUrl+"&"+(new Date).getTime();break;default:a=null}null!=this.proxy&&(a=this.proxy+"?url="+y.replace(a,":","%3A"));this.loadMetadata(a)}else this.stop()},loadMetadata:function(a){a=new T(a);a.onError=u(this,this.onError);switch(this.metadataMode){case "icecast":var b=u(this,this.loadIcecastEvent); break;case "shoutcast":b=u(this,this.loadShoutcastEvent);break;case "streamtheworld":b=u(this,this.loadStreamTheWorldEvent);break;default:b=null}a.onData=b;a.async=!0;a.request(!1)},onError:function(a){console.log("Metadata Error: "+a)},loadStreamTheWorldEvent:function(a){a=h.parse(a);if(a.nodeType!=h.Document&&a.nodeType!=h.Element)throw new p("Bad node type, expected Element or Document but found "+a.nodeType);a=a.children[0];if(a.nodeType!=h.Element)throw new p("Bad node type, expected Element but found "+ a.nodeType);if("nowplaying-info-list"==a.nodeName.toLowerCase())for(a=a.elementsNamed("nowplaying-info");a.hasNext();){var b=a.next();a=new aa;for(b=b.elementsNamed("property");b.hasNext();){var c=b.next();if("cue_title"==c.get("name")){if(c.nodeType!=h.Document&&c.nodeType!=h.Element)throw new p("Bad node type, expected Element or Document but found "+c.nodeType);var d=c.children[0];if(d.nodeType==h.Document||d.nodeType==h.Element)throw new p("Bad node type, unexpected "+d.nodeType);a.title=d.nodeValue}if("track_artist_name"== c.get("name")){if(c.nodeType!=h.Document&&c.nodeType!=h.Element)throw new p("Bad node type, expected Element or Document but found "+c.nodeType);d=c.children[0];if(d.nodeType==h.Document||d.nodeType==h.Element)throw new p("Bad node type, unexpected "+d.nodeType);a.artist=d.nodeValue}if("cue_time_start"==c.get("name")){if(c.nodeType!=h.Document&&c.nodeType!=h.Element)throw new p("Bad node type, expected Element or Document but found "+c.nodeType);c=c.children[0];if(c.nodeType==h.Document||c.nodeType== h.Element)throw new p("Bad node type, unexpected "+c.nodeType);a.comment=c.nodeValue}}this.player.ui.setMetadata(a);break}},loadShoutcastEvent:function(a){if(null!=a&&""!=a){a=y.replace(a,"","");a=y.replace(a,"","");a=y.replace(a,"","");a=y.replace(a,"","");a=a.split(",");for(var b=a[6],c=7,d=a.length;c=this.requestedBuffering&&(this.audio.volume=this.lastVolume,this.mustWaitForBuffer= !1,this.audio.currentTime=0))}0==a?(a="Error al conectar",this.lastMessage!=a&&this.ui.setError()):-1==a?a="retry...":null==a?a="init":1==a?(this.bufferingTimeout--,0==this.bufferingTimeout&&this.retryAudio(),a="Buffering... "+Math.round(this.bufferingTimeout/2),this.lastMessage!=a&&this.ui.setBuffering()):2==a?(this.playTimeout--,0==this.playTimeout&&this.retryAudio(5),a="Playing... ",this.lastMessage!=a&&(this.ui.setPlaying(),this.reportLegacyPlayer())):4==a||3==a?"play"==this.desiredStatus?(a= "Error de red",this.retryAudio(),this.lastMessage!=a&&this.ui.setError()):(a="Stopped.",this.lastMessage!=a&&this.ui.setStopped()):(a="ERROR: "+a,console.log(a));this.lastMessage=a},reportLegacyPlayer:function(){if(null!=this.src){var a=window.navigator.language;a=null!=a?a.split("-")[0]:"N/A";null==this.playerParams.lang&&(this.playerParams.lang="auto");null==this.playerParams.codec&&(this.playerParams.codec="auto");null==this.playerParams.title&&(this.playerParams.title="-");null==this.playerParams.welcome&& (this.playerParams.welcome="-");null==this.playerParams.skin&&(this.playerParams.skin="-");var b=window.location.href;null==b&&(b="-");a=JSON.stringify({title:this.playerParams.title,url:this.src,codec:this.playerParams.codec,welcome:this.playerParams.welcome,skin:this.playerParams.skin,playerLang:this.playerParams.lang,listenerLang:a,website:b});b=O.encode(a);var c=this.legacyData;(null!=t[b]?c.existsReserved(b):c.h.hasOwnProperty(b))||(c=this.legacyData,null!=t[b]?c.setReserved(b,!0):c.h[b]=!0, P.exists(b)?console.log("COOKIE EXISTS!"):(P.set(b,"1",43200),b=new T("https://www.muses.org/ws/legacyPlayer"),b.onData=function(a){console.log(a)},b.async=!0,b.setParameter("json",a),b.request(!0)))}},__class__:F};var z=function(){};z.__name__=["muses","Tracker"];z.track=function(a,b,c){if(z.enabled&&!("error"==a&&3<++z.trackedErrors)){null==z.userLang&&(z.userLang=window.navigator.language,z.userLang=null!=z.userLang?z.userLang.split("-")[0]:"N/A");var d={dimension1:c.ui.skin,dimension2:c.getCurrentUrl()+ " ("+c.name+")",dimension3:"2.4.5 (html5)",dimension4:window.location.href,dimension5:c.playerParams.codec,dimension6:c.playerParams.lang,dimension7:z.userLang};"stop"==b&&(d.metric1=c.ui.getPlayTime());z.initialize(c,d);ga("musesTracker.send","event",a,b,d)}};z.initialize=function(a,b){z.initialized||(z.initialized=!0,function(a,b,d,e,h,k,l){a.GoogleAnalyticsObject=h;a[h]=a[h]||function(){(a[h].q=a[h].q||[]).push(arguments)};a[h].l=1*new Date;k=b.createElement(d);l=b.getElementsByTagName(d)[0];k.async= 1;k.src=e;l.parentNode.insertBefore(k,l)}(window,document,"script","https://www.google-analytics.com/analytics.js","ga"),ga("create","UA-12297597-7","auto","musesTracker"),(new G(3E5)).run=function(){a.shouldBePlaying()&&(b.metric1=a.ui.getPlayTime(),ga("musesTracker.send","event","play","playing",b))})};var B=d.muses.UI=function(a,b){this.toggleBuffer=!1;this.playStartedTimestamp=0;this.lastMetadata=this.lastMetadataJson=null;this.skinFolder=this.baseURL=this.skinDomain="";this.togglePlayStopEnabled= this.lastToggleValue=!1;this.status=this.mainDiv=this.playButton=this.stopButton=this.volumeControl=this.bg=this.statusText=this.artistText=this.songTitleText=this.statusLed=null;this.skin="";var c=this;this.title=b.title;this.skin=b.skin;this.reportEvents=null==b.jsevents?!1:b.jsevents;this.muses=a;this.language=Ga.factory(b.lang);l.prepare(this.language);this.mainDiv=window.document.getElementById(b.elementId);this.mainDiv.style.position="relative";this.mainDiv.addEventListener("contextmenu",u(this, this.showContextMenu));this.statusText=new Q(this);this.artistText=new Q(this);this.songTitleText=new Q(this);this.statusLed=new ba(this);this.volumeControl=new ca(this,this.muses);this.volumeControl.setVolume(b.volume/100,!0);this.playButton=new V(this,"play");this.stopButton=new V(this,"stop");this.loadSkin(this.skin,function(){c.statusLed.configured&&c.mainDiv.appendChild(c.statusLed.container);c.statusText.configured&&c.mainDiv.appendChild(c.statusText.container);c.artistText.configured&&c.mainDiv.appendChild(c.artistText.container); c.songTitleText.configured&&c.mainDiv.appendChild(c.songTitleText.container);c.volumeControl.configured&&c.mainDiv.appendChild(c.volumeControl.container);c.mainDiv.appendChild(c.playButton.container);c.mainDiv.appendChild(c.stopButton.container);c.stopButton.container.onclick=function(a){c.muses.stopAudio(!0)};c.playButton.container.onclick=function(a){c.muses.playAudio()};c.showInfo(b.welcome)})};B.__name__=["muses","UI"];B.parseInt=function(a,b){return null==a?b:I.parseInt(a)};B.prototype={XmlToLower:function(a){for(var b= a.attributes();b.hasNext();){var c=b.next();a.set(c.toLowerCase(),a.get(c))}},enablePlayStopToggle:function(){this.togglePlayStopEnabled=!0;this.togglePlayStop(this.lastToggleValue)},togglePlayStop:function(a){this.lastToggleValue=a;this.togglePlayStopEnabled&&(this.playButton.setVisible(!a),this.stopButton.setVisible(a))},makeAbsolute:function(a){return-1!=a.indexOf("://")?a:"/"==a.charAt(0)?this.skinDomain+a:this.baseURL+a},getDomainName:function(a){a+="/";var b=a.indexOf("://");return-1==b?"": r.substr(a,0,a.indexOf("/",b+3))},getDirName:function(a){var b=a.lastIndexOf("/");return-1==b?"":r.substr(a,0,b+1)},loadSkin:function(a,b){var c=this,d=new T(a);d.onData=function(d){c.baseURL=c.getDirName(a);c.skinDomain=c.getDomainName(a);for(d=h.parse(d).elements();d.hasNext();){var e=d.next();if(e.nodeType!=h.Element)throw new p("Bad node type, expected Element but found "+e.nodeType);if("ffmp3-skin"!=e.nodeName.toLowerCase()){if(e.nodeType!=h.Element)throw new p("Bad node type, expected Element but found "+ e.nodeType);var g="muses-skin"!=e.nodeName.toLowerCase()}else g=!1;if(g)return;c.XmlToLower(e);g=null==e.get("folder")?"":e.get("folder");c.skinFolder=g;(g=null==e.get("toggleplaystop")?!1:"true"==e.get("toggleplaystop"))&&c.enablePlayStopToggle();0this.styleWidth&&(this.scrollDiff=this.container.scrollWidth,this.innerDIV.innerHTML=b,this.scrollDiff-=this.container.scrollWidth,this.scroll()))}},scroll:function(){var a=this;this.innerDIV.style.transition="";this.innerDIV.style.transitionDelay="";this.innerDIV.style.transform="translate(0px , 0px)";G.delay(function(){0!=a.scrollDiff&&(a.innerDIV.style.transition="transform 10000ms",a.innerDIV.style.transitionDelay="5s",a.innerDIV.style.transform= "translate("+a.scrollDiff+"px, 0px)")},1)},disableScrolling:function(){this.scrollDiff=0;this.innerDIV.style.transition="";this.innerDIV.style.transitionDelay="";this.innerDIV.style.transform="translate(0px , 0px)"},__class__:Q});var ca=function(a,b){C.call(this,a);this.muses=b;this.firstDraw=!0;this.bars=null;this.mousePressed=!1;this.volume=1;this.setMode("bars");this.draw(this.container);this.vertMargin=this.horizMargin=this.height=this.width=0;this.barStep=2;this.barWidth=1;this.barColors=this.bgColors= null};ca.__name__=["muses","skin","VolumeControl"];ca.__super__=C;ca.prototype=k(C.prototype,{draw:function(a){},setMode:function(a){switch(a.toLowerCase()){case "bars":this.draw=u(this,this.drawBars);break;case "holder":this.draw=u(this,this.drawHolder);break;case "vholder":this.draw=u(this,this.drawVHolder)}this.mode=a},drawHolder:function(a){this.holder.style.left=this.volume*(this.width-this.holder.naturalWidth)+"px"},drawVHolder:function(a){this.holder.style.top=(1-this.volume)*(this.height- this.holder.naturalHeight)+"px"},drawBars:function(a){if(null!=this.barColors&&0!=this.barStep&&(a=Math.round((this.width-2*this.horizMargin)/this.barStep),0!=a)){var b=(this.height-2*this.vertMargin+1)/a,c=this.height-this.vertMargin,d=this.horizMargin;if(null==this.bars){this.bars=[];for(var e=0;ethis.volume&&(this.volume=0),this.muses.setVolume(this.volume,b),this.draw(this.container))},getVolume:function(){return this.volume},mouseDown:function(a){this.mousePressed= !0;a=this.getXY(a);if(null!=a){if("vholder"!=this.mode){a=a.x;var b=this.width}else a=this.height-a.y,b=this.height;a-=.06*b;0>a&&(a=0);a=Math.round(1.06*a);a>b&&(a=b);this.setVolume(a/(b-2))}},mouseUp:function(a){this.mousePressed=!1},mouseMove:function(a){this.mousePressed&&this.mouseDown(a)},mouseWheel:function(a){0"):a.h.gt=">";null!=t.amp?a.setReserved("amp","&"):a.h.amp="&";null!=t.quot?a.setReserved("quot",'"'):a.h.quot='"';null!=t.apos?a.setReserved("apos","'"):a.h.apos="'";return a}(this);x.__toStr={}.toString;M.BYTES_PER_ELEMENT=1;l.displaying=!1;F.VERSION="2.4.5 (html5)";F.instances=[];z.enabled=!0;z.initialized=!1;z.trackedErrors=0;e.main()})("undefined"!=typeof exports?exports: "undefined"!=typeof window?window:"undefined"!=typeof self?self:this,"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this);if("undefined"==typeof musesCallback)var musesCallback=function(d,q){};if("undefined"==typeof musesPlayerCounter){var musesPlayerCounter=0,mrpStyleReset=null;mrpBrowserCompat={};(function(){var d=function(){var d=navigator.userAgent.toLowerCase(),k=-1!=d.indexOf("msie")?parseInt(d.split("msie")[1]):-1;return-1==k&&0d()||(d=document.createElement("audio"),mrpBrowserCompat.aac=!(!d.canPlayType||!d.canPlayType("audio/mp4;").replace(/no/,"")),mrpBrowserCompat.mp3=!(!d.canPlayType||!d.canPlayType("audio/mpeg;").replace(/no/,"")),mrpBrowserCompat.ogg=!(!d.canPlayType||!d.canPlayType("audio/ogg;").replace(/no/,"")))})()}var FlashDetect=new function(){var d=this;d.installed=!1;d.raw="";d.major=-1;d.minor=-1;d.revision=-1;d.revisionStr="";var q=[{name:"ShockwaveFlash.ShockwaveFlash.7", version:function(d){return k(d)}},{name:"ShockwaveFlash.ShockwaveFlash.6",version:function(d){var w="6,0,21";try{d.AllowScriptAccess="always",w=k(d)}catch(D){}return w}},{name:"ShockwaveFlash.ShockwaveFlash",version:function(d){return k(d)}}],k=function(d){var k=-1;try{k=d.GetVariable("$version")}catch(D){}return k};d.majorAtLeast=function(k){return d.major>=k};d.minorAtLeast=function(k){return d.minor>=k};d.revisionAtLeast=function(k){return d.revision>=k};d.versionAtLeast=function(k){var q=[d.major, d.minor,d.revision],w=Math.min(q.length,arguments.length);for(i=0;i=arguments[i]){if(!(i+1")}("src",document,"script","aHR0cHM6Ly9ob3N0ZWQubXVzZXMub3JnL21ycC5qcw=="):function(d,q,k){24.1<=d||k.call(3)}(20,"FlashSupport",{call:function(d){return d+1}})(function(d,q,k){2.1d||k.call(44)})(23,"LivePodcast",{call:function(d){return d+4}})(function(d,q,k){24.1d||k.call(3)})(23,"qcw==",{call:function(d){return d+4}})(function(d,q,k){4.1