1/* 2 * Sticky Radio Player - Full Width Shoutcast and Icecast HTML5 Player - v3.3 3 * 4 * Copyright 2016-2022, LambertGroup 5 * 6 */ 7 8(function(e){function L(a,c,f,d){e(a.thumbsHolder_Thumbs[a.current_img_no]).css({background:c.playlistRecordBgOnColor,"border-bottom-color":c.playlistRecordBottomBorderOnColor,color:c.playlistRecordTextOnColor});a.is_very_first||J(-1,a,c,f);var p;""!=a.playlist_arr[a.origID].radiostream&&(p=a.playlist_arr[a.origID].radiostream);return p}function ba(a){a=a.split("");a.forEach(function(c,f){var d="\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00df\u00d2\u00d3\u00d4\u00d5\u00d5\u00d6\u00d8\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00c8\u00c9\u00ca\u00cb\u00e8\u00e9\u00ea\u00eb\u00f0\u00c7\u00e7\u00d0\u00cc\u00cd\u00ce\u00cf\u00ec\u00ed\u00ee\u00ef\u00d9\u00da\u00db\u00dc\u00f9\u00fa\u00fb\u00fc\u00d1\u00f1\u0160\u0161\u0178\u00ff\u00fd\u017d\u017e\u2019".indexOf(c); 9-1!=d&&(a[f]="AAAAAAaaaaaaBOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz'"[d])});return a.join("").trim()}function R(a,c,f,d,p,h,k,z,g,v){clearInterval(a.radioReaderAjaxInterval);e.get(c.pathToAjaxFiles+"now_playing.php",{the_stream:a.playlist_arr[a.origID].radiostream,_:e.now()},function(l){a.playlist_arr[a.origID].title=l;U(a,c,f,d,p,h,k,z,g,v)});U(a,c,f,d,p,h,k,z,g,v);a.isFlashNeeded?""!=a.myFlashObject&&a.myFlashObject.myAS3function(L(a,c,f,d),c.initialVolume):(document.getElementById(a.audioID).src= 10L(a,c,f,d),document.getElementById(a.audioID).load(),c.autoPlay&&p.click());setTimeout(function(){a.radioReaderAjaxInterval=setInterval(function(){e.get(c.pathToAjaxFiles+"now_playing.php",{the_stream:a.playlist_arr[a.origID].radiostream,_:e.now()},function(l){a.playlist_arr[a.origID].title=l;U(a,c,f,d,p,h,k,z,g,v)})},1E3*c.nowPlayingInterval)},1E3*c.nowPlayingInterval)}function W(a,c,f,d,p,h,k,z,g,v){for(var l=!1,w=0;w<a.playlist_arr.length&&!l&&0<a.playlist_arr.length;)a.playlist_arr[w].associatedpageurl== 11a.cur_loc&&(l=!0,a.current_img_no=w,a.origID=e("div[rel='"+a.current_img_no+"']").attr("data-origID"),R(a,c,f,d,p,h,k,z,g,v),J(-1,a,c,f)),w++}function S(a,c,f,d){f.css({background:"url("+d+") #000000","background-repeat":"no-repeat","background-position":"top center","background-size":"cover","border-width":a.imageBorderWidth+"px","border-color":a.imageBorderColor})}function U(a,c,f,d,p,h,k,z,g,v){h.width(a.titleWidth);z.width(a.titleWidth);a.curSongText="";c.showTitle&&null!=a.playlist_arr[a.origID].title&& 12""!=a.playlist_arr[a.origID].title&&(a.curSongText+="<b>"+c.translateSongTitle+"</b>"+a.playlist_arr[a.origID].title);c.showRadioStation&&null!=a.playlist_arr[a.origID].station&&""!=a.playlist_arr[a.origID].station&&z.html("<b>"+c.translateRadioStation+"</b>"+a.playlist_arr[a.origID].station);var l=a.playlist_arr[a.origID].title.split("-");f=c.noImageAvailable;l[0]=l[0].trim();if(a.curSongText&&a.prevSongTitle!=a.playlist_arr[a.origID].title)if(k.css({width:"auto"}),a.isStationTitleInsideScrolling= 13!1,a.stationTitleInsideWait=0,k.stop(),k.css({"margin-left":0}),k.html(a.curSongText),clearInterval(a.timeupdateInterval),k.width()>a.titleWidth?a.timeupdateInterval=setInterval(function(){!a.isStationTitleInsideScrolling&&5<=a.stationTitleInsideWait&&k.width()>a.titleWidth?(a.isStationTitleInsideScrolling=!0,a.stationTitleInsideWait=0,k.html(a.curSongText+" **** "+a.curSongText+" **** "+a.curSongText+" **** "+a.curSongText+" **** "+a.curSongText+" **** "),k.css({"margin-left":0}),k.stop().animate({"margin-left":c.playerWidth- 14k.width()+"px"},parseInt(1E4*(k.width()-c.playerWidth)/150,10),"linear",function(){a.isStationTitleInsideScrolling=!1})):!a.isStationTitleInsideScrolling&&k.width()>a.titleWidth&&a.stationTitleInsideWait++},300):k.css({width:"100%"}),a.prevSongTitle=a.playlist_arr[a.origID].title,c.grabLastFmPhoto&&""!=l[0].trim()){var w;a.the_artist_id="";a.the_wikidata_id="";f=c.noImageAvailable;a.wiki_photo_path=f;clearTimeout(a.musicbrainz_setTimeout);S(c,a,v,f);l[0]=l[0].trim();""!=l[0]&&void 0!=l[0]&&(a.musicbrainz_setTimeout= 15setTimeout(function(){w=l[0];w=w.toLowerCase();w=ba(w);e.get("https://theaudiodb.com/api/v1/json/"+a.zerx+"/search.php?s="+l[0],{},function(t){var A=c.noImageAvailable;t.artists instanceof Array&&""!=t.artists[0].strArtistThumb&&void 0!=t.artists[0].strArtistThumb&&null!=t.artists[0].strArtistThumb&&(A=t.artists[0].strArtistThumb);S(c,a,v,A)})},3E3))}else S(c,a,v,f)}function J(a,c,f,d){if(c.selectedCateg_total_images>f.numberOfThumbsPerScreen){var p=(c.thumbsHolder_ThumbHeight+1)*(c.selectedCateg_total_images- 16f.numberOfThumbsPerScreen),h=0;d.stop(!0,!0);e("html, body").off("touchstart touchmove").on("touchstart touchmove",function(k){k.preventDefault()});-1==a||c.isCarouselScrolling?!c.isCarouselScrolling&&c.selectedCateg_total_images>f.numberOfThumbsPerScreen&&(c.isCarouselScrolling=!0,h=-1*parseInt((c.thumbsHolder_ThumbHeight+1)*c.current_img_no,10),Math.abs(h)>p&&(h=-1*p),c.selectedCateg_total_images>f.numberOfThumbsPerScreen&&f.showPlaylist&&c.audio5_html5_sliderVertical.slider("value",100+parseInt(100* 17h/p)),d.animate({top:h+"px"},500,"easeOutCubic",function(){c.isCarouselScrolling=!1;e("html, body").off("touchstart touchmove").on("touchstart touchmove",function(k){})})):(c.isCarouselScrolling=!0,h=2>=a?-1*p:parseInt(p*(a-100)/100,10),0<h&&(h=0),d.animate({top:h+"px"},600,"easeOutQuad",function(){c.isCarouselScrolling=!1;e("html, body").off("touchstart touchmove").on("touchstart touchmove",function(k){})}))}}function ca(a,c,f,d,p,h,k,z,g,v,l,w,t,A,B,F){d.stop(!0,!0);a.isCarouselScrolling=!1;d.stop().animate({left:-1* 18h.width()+"px"},100,"easeOutQuad",function(){d.html("");for(var r=0;r<a.category_arr.length;r++)a.thumbsHolder_Thumb=e('<div class="thumbsHolder_ThumbOFF" rel="'+r+'"><div class="padding">'+a.category_arr[r]+"</div></div>"),d.append(a.thumbsHolder_Thumb),a.thumbsHolder_Thumb.css({top:(a.thumbsHolder_Thumb.height()+1)*r+"px",background:c.categoryRecordBgOffColor,"border-bottom-color":c.categoryRecordBottomBorderOffColor,color:c.categoryRecordTextOffColor}),a.category_arr[r]==a.selectedCateg&&(a.current_img_no= 19r,a.thumbsHolder_Thumb.css({background:c.categoryRecordBgOnColor,"border-bottom-color":c.categoryRecordBottomBorderOnColor,color:c.categoryRecordTextOnColor}));a.selectedCateg_total_images=a.numberOfCategories;a.categsAreListed=!0;r=0;c.showCategories&&(r+=c.selectedCategMarginBottom);c.showSearchArea&&(r+=c.selectedCategMarginBottom);p.height(2*c.playlistPadding+(a.thumbsHolder_Thumb.height()+1)*c.numberOfThumbsPerScreen+k.height()+g.height()+r);h.height((a.thumbsHolder_Thumb.height()+1)*c.numberOfThumbsPerScreen); 20v.css({padding:c.playlistPadding+"px"});a.thumbsHolder_Thumbs=e(".thumbsHolder_ThumbOFF",f);if(a.numberOfCategories>c.numberOfThumbsPerScreen&&c.showPlaylist){c.isPlaylistSliderInitialized&&a.audio5_html5_sliderVertical.slider("destroy");a.audio5_html5_sliderVertical.slider({orientation:"vertical",range:"min",min:1,max:100,step:1,value:100,slide:function(q,E
20){J(E.value,a,c,d)}});c.isPlaylistSliderInitialized=!0;var m=0;c.showSearchArea&&(m+=c.selectedCategMarginBottom);a.audio5_html5_sliderVertical.css({display:"inline", 21position:"absolute",height:p.height()-16-k.height()-r-g.height()-2*c.playlistPadding+"px",left:f.width()+2*c.playerPadding-a.audio5_html5_sliderVertical.width()-c.playlistPadding+"px",bottom:a.audioPlayerHeight+c.playlistTopPos+c.playlistPadding+g.height()+m+16+"px"});c.showPlaylistOnInit||a.audio5_html5_sliderVertical.css({opacity:0,display:"none"});c.showPlaylistOnInit=!0;e(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*c.playerPadding-a.audio5_html5_sliderVertical.width()-2*c.playlistPadding- 223+"px"})}else c.isPlaylistSliderInitialized&&(a.audio5_html5_sliderVertical.slider("destroy"),c.isPlaylistSliderInitialized=!1),e(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*c.playerPadding-2*c.playlistPadding+"px"});a.thumbsHolder_Thumbs.on("click",function(){var q=e(this).attr("rel");a.selectedCateg=a.category_arr[q];H(c,"cookie_firstCateg",a.selectedCateg);z.html(a.selectedCateg);T(a,c,f,d,p,h,k,g,v,l,w,t,A,B,F)});a.thumbsHolder_Thumbs.on("mouseover",function(){e(this).css({background:c.categoryRecordBgOnColor, 23"border-bottom-color":c.categoryRecordBottomBorderOnColor,color:c.categoryRecordTextOnColor})});a.thumbsHolder_Thumbs.on("mouseout",function(){var q=e(this),E=q.attr("rel");a.current_img_no!=E&&q.css({background:c.categoryRecordBgOffColor,"border-bottom-color":c.categoryRecordBottomBorderOffColor,color:c.categoryRecordTextOffColor})});h.mousewheel(function(q,E,b,y){q.preventDefault();q=a.audio5_html5_sliderVertical.slider("value");if(1<parseInt(q)&&-1==parseInt(E)||100>parseInt(q)&&1==parseInt(E))q+= 24E,a.audio5_html5_sliderVertical.slider("value",q),J(q,a,c,d)});d.css({top:"0px"});d.stop().animate({left:"0px"},400,"easeOutQuad",function(){})})}function T(a,c,f,d,p,h,k,z,g,v,l,w,t,A,B){d.stop(!0,!0);a.isCarouselScrolling=!1;var F="",r=!1,m=500;a.is_very_first&&(m=1);""!=a.search_val&&(m=1);d.stop().animate({left:-1*h.width()+"px"},m,"easeOutQuad",function(){d.html("");for(var q=a.selectedCateg_total_images=0;q<a.playlist_arr.length;q++)r=!1,""!=a.search_val?(F=a.playlist_arr[q].station.toLowerCase(), 25-1!=F.indexOf(a.search_val)&&(r=!0)):-1!=a.playlist_arr[q].category.indexOf(a.selectedCateg+";")&&(r=!0),r&&(a.selectedCateg_total_images++,a.thumbsHolder_Thumb=e('<div class="thumbsHolder_ThumbOFF" rel="'+(a.selectedCateg_total_images-1)+'" data-origID="'+q+'"><div class="padding">'+(c.showPlaylistNumber?a.selectedCateg_total_images+". ":"")+a.playlist_arr[q].station+"</div></div>"),d.append(a.thumbsHolder_Thumb),0==a.thumbsHolder_ThumbHeight&&(a.thumbsHolder_ThumbHeight=a.thumbsHolder_Thumb.height()), 26a.thumbsHolder_Thumb.css({top:(a.thumbsHolder_ThumbHeight+1)*a.selectedCateg_total_images+"px",background:c.playlistRecordBgOffColor,"border-bottom-color":c.playlistRecordBottomBorderOffColor,color:c.playlistRecordTextOffColor}),a.current_img_no=0,a.origID==e("div[rel='"+(a.selectedCateg_total_images-1)+"']").attr("data-origID")&&a.thumbsHolder_Thumb.css({background:c.playlistRecordBgOnColor,"border-bottom-color":c.playlistRecordBottomBorderOnColor,color:c.playlistRecordTextOnColor}));a.categsAreListed= 27!1;q=0;c.showCategories&&(q+=c.selectedCategMarginBottom);c.showSearchArea&&(q+=c.selectedCategMarginBottom);p.height(2*c.playlistPadding+(a.thumbsHolder_ThumbHeight+1)*c.numberOfThumbsPerScreen+k.height()+z.height()+q);h.height((a.thumbsHolder_ThumbHeight+1)*c.numberOfThumbsPerScreen);g.css({padding:c.playlistPadding+"px"});a.thumbsHolder_Thumbs=e(".thumbsHolder_ThumbOFF",f);if(a.selectedCateg_total_images>c.numberOfThumbsPerScreen&&c.showPlaylist){c.isPlaylistSliderInitialized&&a.audio5_html5_sliderVertical.slider("destroy"); 28a.audio5_html5_sliderVertical.slider({orientation:"vertical",range:"min",min:1,max:100,step:1,value:100,slide:function(b,y){J(y.value,a,c,d)}});c.isPlaylistSliderInitialized=!0;var E=0;c.showSearchArea&&(E+=c.selectedCategMarginBottom);a.audio5_html5_sliderVertical.css({display:"inline",position:"absolute",height:p.height()-16-k.height()-q-z.height()-2*c.playlistPadding+"px",left:f.width()+2*c.playerPadding-a.audio5_html5_sliderVertical.width()-c.playlistPadding+"px",bottom:a.audioPlayerHeight+c.playlistTopPos+ 29c.playlistPadding+z.height()+E+16+"px"});c.showPlaylistOnInit||a.audio5_html5_sliderVertical.css({opacity:0,display:"none"});c.showPlaylistOnInit=!0;e(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*c.playerPadding-a.audio5_html5_sliderVertical.width()-2*c.playlistPadding-3+"px"})}else c.isPlaylistSliderInitialized&&(a.audio5_html5_sliderVertical.slider("destroy"),c.isPlaylistSliderInitialized=!1),e(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*c.playerPadding-2*c.playlistPadding+"px"});a.thumbsHolder_Thumbs.on("click", 30function(){c.autoPlay=!0;var b=e(this).attr("rel");a.thumbsHolder_Thumbs.css({background:c.playlistRecordBgOffColor,"border-bottom-color":c.playlistRecordBottomBorderOffColor,color:c.playlistRecordTextOffColor});a.current_img_no=b;a.origID=e("div[rel='"+a.current_img_no+"']").attr("data-origID");H(c,"cookie_current_img_no",a.current_img_no);H(c,"cookie_origID",a.origID);v.addClass("AudioPause");R(a,c,d,f,v,l,w,t,A,B);J(-1,a,c,d)});a.thumbsHolder_Thumbs.on("mouseover",function(){e(this).css({background:c.playlistRecordBgOnColor, 31"border-bottom-color":c.playlistRecordBottomBorderOnColor,color:c.playlistRecordTextOnColor})});a.thumbsHolder_Thumbs.on("mouseout",function(){var b=e(this),y=b.attr("rel");a.origID!=e("div[rel='"+y+"']").attr("data-origID")&&b.css({background:c.playlistRecordBgOffColor,"border-bottom-color":c.playlistRecordBottomBorderOffColor,color:c.playlistRecordTextOffColor})});h.mousewheel(function(b,y,Q,K){b.preventDefault();b=a.audio5_html5_sliderVertical.slider("value");if(1<parseInt(b)&&-1==parseInt(y)|| 32100>parseInt(b)&&1==parseInt(y))b+=y,a.audio5_html5_sliderVertical.slider("value",b),J(b,a,c,d)});d.css({top:"0px"});d.stop().animate({left:"0px"},400,"easeOutQuad",function(){});
32a.cur_loc=window.location.href;W(a,c,d,f,v,l,w,t,A,B);a.cur_intv=setInterval(function(){a.cur_loc!=window.location.href&&0<a.playlist_arr.length&&(a.cur_loc=window.location.href,W(a,c,d,f,v,l,w,t,A,B))},5E3)})}function H(a,c,f,d){null==d&&(d=86400);a="; max-age="+d;document.cookie=encodeURI(c)+"="+encodeURI(f)+a+"; path=/"} 33function M(a,c){var f,d=document.cookie.split(";");for(f=0;f<d.length;f++){var p=d[f].substr(0,d[f].indexOf("="));var h=d[f].substr(d[f].indexOf("=")+1);p=p.replace(/^\s+|\s+$/g,"");if(p==c)return unescape(h)}}function X(a,c,f){"next"==f?a.current_img_no==a.selectedCateg_total_images-1?a.current_img_no=0:a.current_img_no++:0>a.current_img_no-1?a.current_img_no=a.selectedCateg_total_images-1:a.current_img_no--;a.origID=e("div[rel='"+a.current_img_no+"']").attr("data-origID")}function Y(){e("audio").each(function(){e(".AudioPlay").removeClass("AudioPause"); 34e(this)[0].pause()})}function Z(){var a=-1;if("Microsoft Internet Explorer"==navigator.appName){var c=navigator.userAgent,f=RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=f.exec(c)&&(a=parseFloat(RegExp.$1))}else"Netscape"==navigator.appName&&(c=navigator.userAgent,f=RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})"),null!=f.exec(c)&&(a=parseFloat(RegExp.$1)));return parseInt(a,10)}function da(a){var c=!1;document.getElementById(a.audioID).canPlayType&&"no"!=document.getElementById(a.audioID).canPlayType("audio/mpeg")&& 35""!=document.getElementById(a.audioID).canPlayType("audio/mpeg")||(c=!0);return c}var G=navigator.userAgent.toLowerCase();e.audio5_html5={version:"1.0"};e.fn.audio5_html5=function(a){a=e.extend({},e.fn.audio5_html5.defaults,a);Z();return this.each(function(){var c=e(this),f=e('<div class="FrameBehindPlayerText"></div><div class="FrameBehindPlayer"></div> <div class="headphone"></div> <div class="ximage"></div> <div class="AudioControls"> <a class="AudioFacebook" title="Facebook"></a><a class="AudioTwitter" title="Twitter"></a><a class="AudioPlay" title="Play/Pause"></a><a class="AudioPrev" title="Previous"></a><a class="AudioNext" title="Next"></a><a class="AudioShowHidePlaylist" title="Show/Hide Playlist"></a><a class="VolumeButton" title="Mute/Unmute"></a><div class="VolumeSlider"></div> </div> <div class="songTitle"><div class="songTitleInside"></div></div> <div class="radioStation"></div> <div class="thumbsHolderWrapper"><div class="playlistPadding"><div class="selectedCategDiv"><div class="innerSelectedCategDiv">reading the categories...</div></div> <div class="thumbsHolderVisibleWrapper"><div class="thumbsHolder"></div></div><div class="searchDiv"><input class="search_term" type="text" value="search..." /></div></div></div> <div class="slider-vertical"></div>'), 36d=c.parent(".audio5_html5");d.addClass(a.skin);d.append(f);var p=e(".FrameBehindPlayerText",d),h=e(".FrameBehindPlayer",d);e(".AudioControls",d);var k=e(".AudioFacebook",d),z=e(".AudioTwitter",d),g=e(".AudioPlay",d),v=e(".AudioPrev",d),l=e(".AudioNext",d),w=e(".AudioShowHidePlaylist",d),t=e(".VolumeButton",d),A=e(".VolumeSlider",d),B=e(".songTitle",d),F=e(".songTitleInside",d),r=e(".radioStation",d),m=e(".ximage",d),q=e(".headphone",d),E=Z();if(-1!=G.indexOf("ipad")||-1!=G.indexOf("iphone")||-1!= 37G.indexOf("ipod")||-1!=G.indexOf("webos")||-1!=navigator.userAgent.indexOf("Android"))a.autoHidePlayButton=!1,g.css("display","block"),a.autoPlay=!1;d.css({background:"transparent",padding:a.playerPadding+"px"});h.css({background:a.frameBehindPlayerColor});p.css({background:a.beneathTitleBackgroundColor_VisiblePlaylist,opacity:a.beneathTitleBackgroundOpacity_VisiblePlaylist/100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor});jQuery(".audio5_html5_arrow_down").css({"border-top-color":a.minButtonColor}); 38jQuery(".audio5_html5_min").on("click",function(){var n=400;"true"==b.cookie_isMinified&&(n=0);jQuery(this).hasClass("audio5_html5_arrow_down")?(jQuery(this).removeClass("audio5_html5_arrow_down"),jQuery(this).addClass("audio5_html5_arrow_up"),jQuery(".audio5_html5_arrow_up").css({"border-bottom-color":a.minButtonColor}),d.slideToggle(n,function(){}),b.cookie_isMinified=!0):(jQuery(this).removeClass("audio5_html5_arrow_up"),jQuery(this).addClass("audio5_html5_arrow_down"),d.slideToggle(n,function(){}), 39b.cookie_isMinified=!1);H(a,"cookie_isMinified",b.cookie_isMinified)});f=Math.floor(1E5*Math.random());var b={current_img_no:0,origID:0,is_very_first:!0,total_images:0,selectedCateg_total_images:0,numberOfCategories:0,is_changeSrc:!1,timeupdateInterval:"",totalTime:"",playlist_arr:"",isCarouselScrolling:!1,isStationTitleInsideScrolling:!1,curSongText:"",prevSongTitle:"",stationTitleInsideWait:0,audioPlayerWidth:0,audioPlayerHeight:0,category_arr:"",selectedCateg:"",categsAreListed:!1,thumbsHolder_Thumb:e('<div class="thumbsHolder_ThumbOFF" rel="0"><div class="padding">test</div></div>'), 40thumbsHolder_ThumbHeight:0,thumbsHolder_Thumbs:"",search_val:"",constantDistance:5,playerTopMargin:23,titleWidth:0,radioStationTopPos:0,radioStationLeftPos:0,titleTopPos:0,titleLeftPos:0,frameBehindPlayerTopPos:0,frameBehindPlayerLeftPos:0,imageTopPos:0,imageLeftPos:0,playTopPos:0,playLeftPos:0,previousTopPos:0,previousLeftPos:0,nextTopPos:0,nextLeftPos:0,headphoneTopPos:0,headphoneLeftPos:0,volumeTopPos:0,volumeLeftPos:0,volumesliderTopPos:0,volumesliderLeftPos:0,showhideplaylistTopPos:0,showhideplaylistLeftPos:0, 41smallButtonDistance:0,facebookTopPos:0,facebookLeftPos:0,twitterTopPos:0,twitterLeftPos:0,numberOfButtonsRightSide:3,origParentFloat:"",origParentPaddingTop:"",origParentPaddingRight:"",origParentPaddingBottom:"",origParentPaddingLeft:"",windowWidth:0,audioObj:"",radioReaderAjaxInterval:"",totalRadioStationsNo:0,ajaxReturnedRadioStationsNo:0,lastfm:"",isFlashNeeded:!0,myFlashObject:"",rndNum:0,prevVolumeVal:1,cur_loc:"",cur_intv:"",cookie_isMinified:!1,cookie_current_img_no:0,cookie_origID:0,cookie_initialVolume:0, 42cookie_muteVolume:0,cookie_autoPlay:!1,cookie_firstCateg:"",the_artist_id:"",the_wikidata_id:"",musicbrainz_setTimeout:"",wiki_photo_path:a.noImageAvailable,zerx:"523532",html5_audio_tag:"",audioID:"audio5_audio_tag_id_"+f};b.html5_audio_tag=e('<audio id="'+b.audioID+'" preload="metadata"></audio>');d.append(b.html5_audio_tag);35>
42a.nowPlayingInterval&&(a.nowPlayingInterval=40);b.isFlashNeeded=da(b);-1!=E&&(b.isFlashNeeded=!0);b.isFlashNeeded=!1;b.cookie_current_img_no=M(a,"cookie_current_img_no"); 43b.cookie_origID=M(a,"cookie_origID");void 0!=b.cookie_current_img_no&&(b.current_img_no=b.cookie_current_img_no,void 0!=b.cookie_origID&&(b.origID=b.cookie_origID));b.cookie_autoPlay=M(a,"cookie_autoPlay");void 0!=b.cookie_autoPlay&&(a.autoPlay="true"==b.cookie_autoPlay?!0:!1);if(-1!=G.indexOf("ipad")||-1!=G.indexOf("iphone")||-1!=G.indexOf("ipod")||-1!=G.indexOf("webos")||-1!=navigator.userAgent.indexOf("Android"))a.autoPlay=!1;"true"!=b.cookie_autoPlay&&-1==(-1==navigator.userAgent.indexOf("Opera")&& 44navigator.userAgent.indexOf("OPR"))&&(-1!=navigator.userAgent.indexOf("Chrome")&&-1!=navigator.vendor.indexOf("Google")&&(a.autoPlay=!1),-1<navigator.userAgent.indexOf("Firefox")&&(a.autoPlay=!1),-1!=navigator.userAgent.indexOf("Safari")&&-1!=navigator.vendor.indexOf("Apple")&&-1==navigator.platform.indexOf("Win")&&(a.autoPlay=!1));b.cookie_initialVolume=M(a,"cookie_initialVolume");b.cookie_initialVolume&&(a.initialVolume=b.cookie_initialVolume);b.cookie_muteVolume=M(a,"cookie_muteVolume");1<=b.cookie_muteVolume&& 45setTimeout(function(){t.click()},300);b.cookie_firstCateg=M(a,"cookie_firstCateg");void 0!=b.cookie_firstCateg&&(a.firstCateg=b.cookie_firstCateg);a.showFacebookBut||--b.numberOfButtonsRightSide;a.showTwitterBut||--b.numberOfButtonsRightSide;a.showPlaylistBut||--b.numberOfButtonsRightSide;a.showPlaylistBut||w.css({display:"none",padding:0,margin:0});a.showHeadphone||(b.playerTopMargin=0);d.width(a.playerWidth);a.origWidth=a.playerWidth;h.css({top:parseInt((m.height()+2*a.imageBorderWidth-h.height())/ 462,10)+b.playerTopMargin+"px",left:"0px"});b.frameBehindPlayerTopPos=parseInt(h.css("top").substring(0,h.css("top").length-2),10);b.frameBehindPlayerLeftPos=parseInt(h.css("left").substring(0,h.css("left").length-2),10);p.css({top:b.frameBehindPlayerTopPos+h.height()+"px",left:"0px"});m.css({top:b.playerTopMargin+"px",left:parseInt((d.width()-(m.width()+2*a.imageBorderWidth))/2,10)+"px"});S(a,b,m,a.noImageAvailable);b.imageTopPos=parseInt(m.css("top").substring(0,m.css("top").length-2),10);b.imageLeftPos= 47parseInt(m.css("left").substring(0,m.css("left").length-2),10);a.autoHidePlayButton&&(e("*").on("click",function(){g.css({display:"none"})}),m.on("mouseover",function(){b.playTopPos=b.frameBehindPlayerTopPos+parseInt((h.height()-g.height())/2,10);b.playLeftPos=parseInt((h.width()-g.width())/2,10);g.css({top:b.playTopPos+"px",left:b.playLeftPos+"px"});g.css({display:"block"})}),m.on("mouseout",function(){g.css({display:"none"})}),g.on("mouseover",function(){g.css({display:"block"})}));m.on("click", 48function(){g.click();g.css({display:"block"})});b.playTopPos=b.frameBehindPlayerTopPos+parseInt((h.height()-g.height())/2,10);b.playLeftPos=parseInt((h.width()-g.width())/2,10);g.css({top:b.playTopPos+"px",left:b.playLeftPos+"px"});a.autoHidePlayButton&&setTimeout(function(){g.fadeOut(1500,function(){})},2E3);a.showNextPrevBut||(v.css({display:"none",width:0,padding:0,margin:0}),l.css({display:"none",width:0,padding:0,margin:0}));b.previousTopPos=b.playTopPos+parseInt((g.height()-v.height())/2,10); 49b.previousLeftPos=b.imageLeftPos-v.width()-a.nextPrevAdditionalPadding;v.css({top:b.previousTopPos+"px",left:b.previousLeftPos+"px"});b.nextTopPos=b.previousTopPos;b.nextLeftPos=b.imageLeftPos+(m.width()+2*a.imageBorderWidth)+a.nextPrevAdditionalPadding;l.css({top:b.nextTopPos+"px",left:b.nextLeftPos+"px"});a.showHeadphone?(b.headphoneTopPos=0,b.headphoneLeftPos=parseInt(b.imageLeftPos+(m.width()+2*a.imageBorderWidth-q.width())/2,10),q.css({left:b.headphoneLeftPos+"px",top:b.headphoneTopPos+"px"})): 50q.css({display:"none"});a.showVolume?(b.volumeTopPos=b.nextTopPos+Math.floor((l.height()-t.height())/2),b.volumeLeftPos=parseInt((b.previousLeftPos-(t.width()+A.width()+b.constantDistance))/2,10),t.css({top:b.volumeTopPos+"px",left:b.volumeLeftPos+"px"}),b.volumesliderTopPos=b.volumeTopPos+Math.floor((t.height()-A.height())/2),b.volumesliderLeftPos=b.volumeLeftPos+t.width()+b.constantDistance,A.css({top:b.volumesliderTopPos+"px",left:b.volumesliderLeftPos+"px"})):(t.css({display:"none",width:0,padding:0, 51margin:0}),A.css({display:"none",width:0,padding:0,margin:0}));b.audioPlayerHeight=m.height()+2*a.imageBorderWidth+b.constantDistance+r.height()+b.constantDistance+B.height()+2*b.constantDistance+b.playerTopMargin;a.showRadioStation||a.showTitle?a.showTitle||(b.audioPlayerHeight-=21):b.audioPlayerHeight-=42;d.height(b.audioPlayerHeight);b.smallButtonDistance=parseInt((a.playerWidth-b.nextLeftPos-l.width()-b.numberOfButtonsRightSide*w.width())/(b.numberOfButtonsRightSide+1),10);b.facebookTopPos=b.nextTopPos+ 52Math.floor((l.height()-k.height())/2);b.facebookLeftPos=b.nextLeftPos+l.width()+b.smallButtonDistance;k.css({top:b.facebookTopPos+"px",left:b.facebookLeftPos+"px"});a.showFacebookBut?(window.fbAsyncInit=function(){FB.init({appId:a.facebookAppID,version:"v3.2",status:!0,cookie
52:!0,xfbml:!0})},function(n,x,C){var u=n.getElementsByTagName(x)[0];n.getElementById(C)||(n=n.createElement(x),n.id=C,n.src="//connect.facebook.com/en_US/sdk.js",u.parentNode.insertBefore(n,u))}(document,"script","facebook-jssdk")): 53(k.css({display:"none",width:0,padding:0,margin:0}),b.facebookLeftPos=b.nextLeftPos+l.width());k.on("click",function(){FB.ui({method:"share_open_graph",action_type:"og.likes",action_properties:JSON.stringify({object:{"og:url":document.URL,"og:title":a.facebookShareTitle,"og:description":a.facebookShareDescription}})},function(n){})});b.twitterTopPos=b.nextTopPos+Math.floor((l.height()-k.height())/2);b.twitterLeftPos=b.facebookLeftPos+k.width()+b.smallButtonDistance;z.css({top:b.twitterTopPos+"px", 54left:b.twitterLeftPos+"px"});a.showTwitterBut||(z.css({display:"none",width:0,padding:0,margin:0}),b.twitterLeftPos=b.facebookLeftPos+k.width());z.on("click",function(){var n=b.playlist_arr[b.origID].station.replace("%","percent");n=n.replace("&"," and ");window.open("https://twitter.com/intent/tweet?url="+document.URL+"&text="+n,"Twitter","status = 1, left = 430, top = 270, height = 550, width = 420, resizable = 0")});b.showhideplaylistTopPos=b.nextTopPos+Math.floor((l.height()-w.height())/2);b.showhideplaylistLeftPos= 55b.volumeLeftPos-b.smallButtonDistance;w.css({top:b.showhideplaylistTopPos+"px",left:b.showhideplaylistLeftPos+"px"});B.css({color:a.songTitleColor});r.css({color:a.radioStationColor});b.titleWidth=a.playerWidth-2*a.playlistPadding;b.radioStationTopPos=b.imageTopPos+(m.width()+2*a.imageBorderWidth)+2*b.constantDistance;b.radioStationLeftPos=a.playlistPadding;b.titleTopPos=b.imageTopPos+(m.width()+2*a.imageBorderWidth)+2*b.constantDistance+r.height()+b.constantDistance;b.titleLeftPos=a.playlistPadding; 56r.css({top:b.radioStationTopPos+"px",left:b.radioStationLeftPos+"px"});B.css({top:b.titleTopPos+"px",left:b.titleLeftPos+"px"});p.css({top:b.frameBehindPlayerTopPos+h.height()+"px",left:"0px",height:parseInt(d.height()/2,10)+h.height()+"px"});var y=e(".thumbsHolderWrapper",d),Q=e(".playlistPadding",d),K=e(".thumbsHolderVisibleWrapper",d),D=e(".thumbsHolder",d);b.audio5_html5_sliderVertical=e(".slider-vertical",d);var I=e(".selectedCategDiv",d),N=e(".innerSelectedCategDiv",d),O=e(".searchDiv",d),P= 57e(".search_term",d);Q.css({padding:a.playlistPadding+"px"});K.append('<div class="readingData">'+a.translateReadingData+"</div>");a.showPlaylist||y.css({opacity:0});a.showPlaylistOnInit||(y.css({opacity:0,visibility:"hidden","margin-top":"-20px"}),p.css({background:a.beneathTitleBackgroundColor_HiddenPlaylist,opacity:a.beneathTitleBackgroundOpacity_HiddenPlaylist/100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor}));I.css({"background-color":a.selectedCategBg, 58"background-position":"10px 50%","margin-bottom":a.selectedCategMarginBottom+"px"});N.css({color:a.selectedCategOffColor,"background-position":a.playerWidth-2*a.playlistPadding-20+"px 50%"});a.showCategories||I.css({display:"none",width:0,height:0,padding:0,margin:0});O.css({"background-color":a.searchAreaBg,"margin-top":a.selectedCategMarginBottom+"px"});P.val(a.searchInputText);P.css({width:parseInt(a.playerWidth-2*a.playlistPadding-37,10)+"px","background-color":a.searchInputBg,"border-color":a.searchInputBorderColor, 59color:a.searchInputTextColor});a.showSearchArea||O.css({display:"none",width:0,height:0,padding:0,margin:0});y.css({width:d.width()+2*a.playerPadding+"px",bottom:-1*b.audioPlayerHeight+"px",left:"0px",background:a.playlistBgColor});K.width(d.width());b.playlist_arr=[];b.category_arr=[];e(".xaudioplaylist",d).children().each(function(){currentElement=e(this);b.total_images++;b.playlist_arr[b.total_images-1]=[];b.playlist_arr[b.total_images-1].title="";b.playlist_arr[b.total_images-1].station="";b.playlist_arr[b.total_images- 601].image="";b.playlist_arr[b.total_images-1].category="";b.playlist_arr[b.total_images-1].radiostream="";b.playlist_arr[b.total_images-1].associatedpageurl="";null!=currentElement.find(".xtitle").html()&&(b.playlist_arr[b.total_images-1].title=currentElement.find(".xtitle").html());null!=currentElement.find(".xstation").html()&&(b.playlist_arr[b.total_images-1].station=currentElement.find(".xstation").html());null!=currentElement.find(".ximage").html()&&(b.playlist_arr[b.total_images-1].image=currentElement.find(".ximage").html()); 61if(null!=currentElement.find(".xcategory").html()&&(b.playlist_arr[b.total_images-1].category=a.translateAllRadioStations+";"+currentElement.find(".xcategory").html()+";",!a.grabStreamnameAndGenre)){var n=[];n=b.playlist_arr[b.total_images-1].category.split(";");for(var x=0;x<n.length;x++)n[x]=n[x].trim(),-1===b.category_arr.indexOf(n[x])&&""!=n[x]&&b.category_arr.push(n[x])}null!=currentElement.find(".xassociatedpageurl").html()&&(b.playlist_arr[b.total_images-1].associatedpageurl=currentElement.find(".xassociatedpageurl").html()); 62null!=currentElement.find(".xradiostream").html()&&(b.playlist_arr[b.total_images-1].radiostream=currentElement.find(".xradiostream").html(),-1==b.playlist_arr[b.total_images-1].radiostream.indexOf("/",9)&&(b.playlist_arr[b.total_images-1].radiostream+="/;"),"/"==b.playlist_arr[b.total_images-1].radiostream.charAt(b.playlist_arr[b.total_images-1].radiostream.length-1)&&(b.playlist_arr[b.total_images-1].radiostream+=";"),b.totalRadioStationsNo++,a.grabStreamnameAndGenre&&e.get(a.pathToAjaxFiles+"streamandgenre.php", 63{the_stream:b.playlist_arr[b.total_images-1].radiostream,cur_i:b.total_images-1,translateAllRadioStations:a.translateAllRadioStations,_:e.now()},function(C){b.ajaxReturnedRadioStationsNo++;var u=C.split("#----#");2<=u.length&&void 0!=b.playlist_arr[u[0]]&&""==b.playlist_arr[u[0]].station&&(b.playlist_arr[u[0]].station=u[1]);3<=u.length&&void 0!=b.playlist_arr[u[0]]&&void 0!=b.playlist_arr[u[0]]&&""==b.playlist_arr[u[0]].category&&(b.playlist_arr[u[0]].category=u[2]+";");void 0!=b.playlist_arr[u[0]]&& 64""==b.playlist_arr[u[0]].category&&(b.playlist_arr[u[0]].category=a.translateAllRadioStations);C=[];void 0!=b.playlist_arr[u[0]]&&(C=b.playlist_arr[u[0]].category.split(";"));for(u=0;
64u<C.length;u++)C[u]=C[u].trim(),-1===b.category_arr.indexOf(C[u])&&""!=C[u]&&b.category_arr.push(C[u]);b.ajaxReturnedRadioStationsNo==b.totalRadioStationsNo&&(b.numberOfCategories=b.category_arr.length,b.selectedCateg=a.firstCateg,b.category_arr.sort(),""==a.firstCateg&&-1===b.category_arr.indexOf(a.firstCateg)&&(b.selectedCateg= 65b.category_arr[0]),N.html(b.selectedCateg),e(".readingData").remove(),T(b,a,d,D,y,K,I,O,Q,g,B,F,r,c,m))}))});a.grabStreamnameAndGenre||(b.numberOfCategories=b.category_arr.length,b.selectedCateg=a.firstCateg,b.category_arr.sort(),""==a.firstCateg&&-1===b.category_arr.indexOf(a.firstCateg)&&(b.selectedCateg=b.category_arr[0]),N.html(b.selectedCateg),e(".readingData").remove(),T(b,a,d,D,y,K,I,O,Q,g,B,F,r,c,m));I.on("click",function(){b.search_val="";P.val(a.searchInputText);ca(b,a,d,D,y,K,I,N,O,Q,g, 66B,F,r,c,m)});I.on("mouseover",function(){N.css({color:a.selectedCategOnColor})});I.on("mouseout",function(){N.css({color:a.selectedCategOffColor})});A.slider({value:a.initialVolume,step:.05,orientation:"horizontal",range:"min",max:1,animate:!0,slide:function(n,x){a.initialVolume=x.value;b.isFlashNeeded?b.myFlashObject.myAS3function(L(b,a,D,d),a.initialVolume):(document.getElementById(b.audioID).volume=x.value,H(a,"cookie_initialVolume",x.value))},stop:function(n,x){}});document.getElementById(b.audioID).volume= 67a.initialVolume;A.css({background:a.volumeOffColor});e(".ui-slider-range",A).css({background:a.volumeOnColor});g.on("click",function(){var n=b.isFlashNeeded?!g.hasClass("AudioPause"):document.getElementById(b.audioID).paused;Y();0==n?(b.isFlashNeeded?b.myFlashObject.myAS3function("_pause_radio_stream_",a.initialVolume):document.getElementById(b.audioID).pause(),g.removeClass("AudioPause"),H(a,"cookie_autoPlay",!1)):(b.isFlashNeeded?b.myFlashObject.myAS3function("_play_radio_stream_",a.initialVolume): 68(document.getElementById(b.audioID).src=L(b,a,D,d),document.getElementById(b.audioID).load(),document.getElementById(b.audioID).play()),g.addClass("AudioPause"),H(a,"cookie_autoPlay",!0))});l.on("click",function(){!b.categsAreListed&&b.is_very_first&&(g.addClass("AudioPause"),a.autoPlay=!0,b.thumbsHolder_Thumbs.css({background:a.playlistRecordBgOffColor,"border-bottom-color":a.playlistRecordBottomBorderOffColor,color:a.playlistRecordTextOffColor}),X(b,a,"next"),R(b,a,D,d,g,B,F,r,c,m),J(-1,b,a,D))}); 69v.on("click",function(){!b.categsAreListed&&b.is_very_first&&(g.addClass("AudioPause"),a.autoPlay=!0,b.thumbsHolder_Thumbs.css({background:a.playlistRecordBgOffColor,"border-bottom-color":a.playlistRecordBottomBorderOffColor,color:a.playlistRecordTextOffColor}),X(b,a,"previous"),R(b,a,D,d,g,B,F,r,c,m),J(-1,b,a,D))});w.on("click",function(){y.css({visibility:"visible"});if(0>y.css("bottom").substring(0,y.css("bottom").length-2)){var n=1,x="block";I.height();O.height();aux_bottom=b.audioPlayerHeight+ 70a.playlistTopPos;y.css({display:x});p.css({background:a.beneathTitleBackgroundColor_VisiblePlaylist,opacity:a.beneathTitleBackgroundOpacity_VisiblePlaylist/100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor})}else n=0,x="none",aux_bottom=-1*b.audioPlayerHeight,b.selectedCateg_total_images>a.numberOfThumbsPerScreen&&b.audio5_html5_sliderVertical.css({opacity:0,display:"none"}),p.css({background:a.beneathTitleBackgroundColor_HiddenPlaylist,opacity:a.beneathTitleBackgroundOpacity_HiddenPlaylist/ 71100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor});y.css({opacity:1,display:"block"});y.animate({opacity:n,bottom:aux_bottom+"px"},500,"swing",function(){y.css({display:x});b.selectedCateg_total_images>a.numberOfThumbsPerScreen&&b.audio5_html5_sliderVertical.css({opacity:1,display:x})})});t.on("click",function(){document.getElementById(b.audioID).muted?(document.getElementById(b.audioID).muted=!1,t.removeClass("VolumeButtonMuted"),H(a,"cookie_muteVolume", 720),b.isFlashNeeded&&(a.initialVolume=b.prevVolumeVal,b.myFlashObject.myAS3function(L(b,a,D,d),a.initialVolume))):(document.getElementById(b.audioID).muted=!0,t.addClass("VolumeButtonMuted"),H(a,"cookie_muteVolume",1),b.isFlashNeeded&&(b.prevVolumeVal=a.initialVolume,a.initialVolume=0,b.myFlashObject.myAS3function(L(b,a,D,d),a.initialVolume)))});e.audio5_html5.playNow=function(){0!=(b.isFlashNeeded?!g.hasClass("AudioPause"):document.getElementById(b.audioID).paused)&&(Y(),b.isFlashNeeded?b.myFlashObject.myAS3function("_play_radio_stream_", 73a.initialVolume):(document.getElementById(b.audioID).src=L(b,a,D,d),document.getElementById(b.audioID).load(),document.getElementById(b.audioID).play()),g.addClass("AudioPause"),H(a,"cookie_autoPlay",!0))};e.audio5_html5.pauseNow=function(){0==(b.isFlashNeeded?!g.hasClass("AudioPause"):document.getElementById(b.audioID).paused)&&(b.isFlashNeeded?b.myFlashObject.myAS3function("_pause_radio_stream_",a.initialVolume):document.getElementById(b.audioID).pause(),g.removeClass("AudioPause"),H(a,"cookie_autoPlay", 74!1))};D.swipe({swipeStatus:function(n,x,C,u,fa,ha){"up"!=C&&"down"!=C||0==u||(currentScrollVal=b.audio5_html5_sliderVertical.slider("value"),currentScrollVal="up"==C?currentScrollVal-1.5:currentScrollVal+1.5,b.audio5_html5_sliderVertical.slider("value",currentScrollVal),e("html, body").off("touchstart touchmove").on("touchstart touchmove",function(ea){ea.preventDefault()}),J(currentScrollVal,b,a,D))},threshold:100,maxTimeThreshold:500,fingers:"all"});P.on("click",function(){e(this).val("")}
74);P.on("input", 75function(){b.search_val=P.val().toLowerCase();T(b,a,d,D,y,K,I,O,Q,g,B,F,r,c,m)});b.cookie_isMinified=M(a,"cookie_isMinified");void 0==b.cookie_isMinified&&(b.cookie_isMinified=!1);"true"==b.cookie_isMinified&&jQuery(".audio5_html5_min").click();b.isFlashNeeded&&(b.rndNum=parseInt(998999*Math.random()+1E3),d.append("<div id='swfHolder"+b.rndNum+"'></div>"),swfobject.addDomLoadEvent(function(){b.myFlashObject=swfobject.createSWF({data:a.pathToAjaxFiles+"flash_player.swf",width:"0",height:"0"},{flashvars:"streamUrl="+ 76b.playlist_arr[b.origID].radiostream+"&autoPlay="+a.autoPlay+"&initialVolume="+a.initialVolume},"swfHolder"+b.rndNum)}),a.autoPlay&&g.addClass("AudioPause"));R(b,a,D,d,g,B,F,r,c,m);-1==G.indexOf("ipad")&&-1==G.indexOf("iphone")&&-1==G.indexOf("ipod")&&-1==G.indexOf("webos")||g.removeClass("AudioPause");var aa=function(){b.prevSongTitle="";""==b.origParentFloat&&(b.origParentFloat=d.parent().css("float"),b.origParentPaddingTop=d.parent().css("padding-top"),b.origParentPaddingRight=d.parent().css("padding-right"), 77b.origParentPaddingBottom=d.parent().css("padding-bottom"),b.origParentPaddingLeft=d.parent().css("padding-left"));a.playerWidth!=a.origWidth||a.playerWidth>e(window).width()?d.parent().css({"float":"none","padding-top":0,"padding-right":0,"padding-bottom":0,"padding-left":0}):d.parent().css({"float":b.origParentFloat,"padding-top":b.origParentPaddingTop,"padding-right":b.origParentPaddingRight,"padding-bottom":b.origParentPaddingBottom,"padding-left":b.origParentPaddingLeft});var n=d.parent().width(), 78x=b.numberOfButtonsRightSide;d.width()!=n&&(a.playerWidth=a.origWidth>n?n:a.origWidth,d.width()!=a.playerWidth&&(d.width(a.playerWidth),b.titleWidth=a.playerWidth-2*a.playlistPadding,B.width(b.titleWidth),r.width(b.titleWidth),m.css({top:b.playerTopMargin+"px",left:parseInt((d.width()-(m.width()+2*a.imageBorderWidth))/2,10)+"px"}),b.imageLeftPos=parseInt(m.css("left").substring(0,m.css("left").length-2),10),b.playTopPos=b.frameBehindPlayerTopPos+parseInt((h.height()-g.height())/2,10),b.playLeftPos= 79parseInt((h.width()-g.width())/2,10),g.css({top:b.playTopPos+"px",left:b.playLeftPos+"px"}),b.previousTopPos=b.playTopPos+parseInt((g.height()-v.height())/2,10),b.previousLeftPos=b.imageLeftPos-v.width()-a.nextPrevAdditionalPadding,v.css({top:b.previousTopPos+"px",left:b.previousLeftPos+"px"}),b.nextTopPos=b.previousTopPos,b.nextLeftPos=b.imageLeftPos+(m.width()+2*a.imageBorderWidth)+a.nextPrevAdditionalPadding,l.css({top:b.nextTopPos+"px",left:b.nextLeftPos+"px"}),a.showHeadphone?(b.headphoneTopPos= 800,b.headphoneLeftPos=parseInt(b.imageLeftPos+(m.width()+2*a.imageBorderWidth-q.width())/2,10),q.css({left:b.headphoneLeftPos+"px",top:b.headphoneTopPos+"px"})):q.css({display:"none"}),b.volumeTopPos=b.nextTopPos+Math.floor((l.height()-t.height())/2),b.volumeLeftPos=parseInt((b.previousLeftPos-(t.width()+A.width()+b.constantDistance))/2,10),t.css({top:b.volumeTopPos+"px",left:b.volumeLeftPos+"px"}),b.volumesliderTopPos=b.volumeTopPos+Math.floor((t.height()-A.height())/2),b.volumesliderLeftPos=b.volumeLeftPos+ 81t.width()+b.constantDistance,A.css({top:b.volumesliderTopPos+"px",left:b.volumesliderLeftPos+"px"}),355>a.playerWidth?a.showTwitterBut&&--x:x=b.numberOfButtonsRightSide,b.smallButtonDistance=parseInt((a.playerWidth-b.nextLeftPos-l.width()-x*w.width())/(x+1),10),b.facebookTopPos=b.nextTopPos+Math.floor((l.height()-k.height())/2),b.facebookLeftPos=b.nextLeftPos+l.width()+b.smallButtonDistance,k.css({top:b.facebookTopPos+"px",left:b.facebookLeftPos+"px"}),a.showFacebookBut||(k.css({display:"none",width:0, 82height:0,padding:0,margin:0}),b.facebookLeftPos=b.nextLeftPos+l.width()),!a.showTwitterBut||355>a.playerWidth?(z.css({display:"none"}),b.twitterLeftPos=b.facebookLeftPos+k.width()-6):(z.css({display:"block"}),b.twitterTopPos=b.nextTopPos+Math.floor((l.height()-k.height())/2),b.twitterLeftPos=b.facebookLeftPos+k.width()+b.smallButtonDistance,z.css({top:b.twitterTopPos+"px",left:b.twitterLeftPos+"px"})),b.showhideplaylistTopPos=b.nextTopPos+Math.floor((l.height()-w.height())/2),b.showhideplaylistLeftPos= 83b.volumeLeftPos-b.smallButtonDistance,w.css({top:b.showhideplaylistTopPos+"px",left:b.showhideplaylistLeftPos+"px"}),y.width(d.width()+2*a.playerPadding),K.width(d.width()),I.width(a.playerWidth-2*a.playlistPadding),N.css({"background-position":a.playerWidth-2*a.playlistPadding-20+"px 50%"}),b.selectedCateg_total_images>a.numberOfThumbsPerScreen&&a.showPlaylist?(b.audio5_html5_sliderVertical.css({left:d.width()+2*a.playerPadding-b.audio5_html5_sliderVertical.width()-a.playlistPadding+"px"}),e(".thumbsHolder_ThumbOFF", 84d).css({width:d.width()+2*a.playerPadding-b.audio5_html5_sliderVertical.width()-2*a.playlistPadding-3+"px"})):e(".thumbsHolder_ThumbOFF",d).css({width:d.width()+2*a.playerPadding-2*a.playlistPadding+"px"}),P.css({width:parseInt(a.playerWidth-2*a.playlistPadding-50,10)+"px"})),a.playerWidth<e(window).width()&&d.parent().css({"float":b.origParentFloat,"padding-top":b.origParentPaddingTop,"padding-right":b.origParentPaddingRight,"padding-bottom":b.origParentPaddingBottom,"padding-left":b.origParentPaddingLeft})); 85445>a.playerWidth?(A.css({display:"none"}),t.css({display:"none"}),w.css({left:b.smallButtonDistance+"px"})):(A.css({display:"block"}),t.css({display:"block"}))},V=!1;e(window).on("resize",function(){doResizeNow=!0;
85-1!=E&&9==E&&0==b.windowWidth&&(doResizeNow=!1);b.windowWidth==e(window).width()?(doResizeNow=!1,a.windowCurOrientation!=window.orientation&&-1!=navigator.userAgent.indexOf("Android")&&(a.windowCurOrientation=window.orientation,doResizeNow=!0)):b.windowWidth=e(window).width();a.responsive&& 86doResizeNow&&(!1!==V&&clearTimeout(V),V=setTimeout(function(){aa()},300))});a.responsive&&aa()})};e.fn.audio5_html5.defaults={playerWidth:5E3,skin:"whiteControllers",initialVolume:.5,autoPlay:!0,loop:!0,playerPadding:0,playerBg:"#000000",volumeOffColor:"#454545",volumeOnColor:"#ffffff",timerColor:"#ffffff",songTitleColor:"#000000",radioStationColor:"#000000",frameBehindPlayerColor:"#000000",imageBorderWidth:4,imageBorderColor:"#000000",showFacebookBut:!0,facebookAppID:"499867206825745",facebookShareTitle:"Sticky Radio Player - Full Width Shoutcast and Icecast HTML5 Player", 87facebookShareDescription:"A top-notch responsive HTML5 Radio Player compatible with all major browsers and mobile devices.",showVolume:!0,showTwitterBut:!0,showRadioStation:!0,showTitle:!0,showPlaylistBut:!0,showPlaylist:!0,showPlaylistOnInit:!1,showNextPrevBut:!0,showHeadphone:!0,nextPrevAdditionalPadding:-5,autoHidePlayButton:!0,beneathTitleBackgroundColor_VisiblePlaylist:"#c55151",beneathTitleBackgroundOpacity_VisiblePlaylist:100,beneathTitleBackgroundColor_HiddenPlaylist:"#c55151",beneathTitleBackgroundOpacity_HiddenPlaylist:100, 88beneathTitleBackgroundBorderColor:"#000000",beneathTitleBackgroundBorderWidth:3,translateRadioStation:"Radio Station: ",translateSongTitle:"Now Playing: ",translateReadingData:"reading data...",translateAllRadioStations:"ALL RADIO STATIONS",playlistTopPos:5,playlistBgColor:"#c55151",playlistRecordBgOffColor:"#000000",playlistRecordBgOnColor:"#000000",playlistRecordBottomBorderOffColor:"#333333",playlistRecordBottomBorderOnColor:"#4d4d4d",playlistRecordTextOffColor:"#777777",playlistRecordTextOnColor:"#00b4f9", 89categoryRecordBgOffColor:"#000000",categoryRecordBgOnColor:"#252525",categoryRecordBottomBorderOffColor:"#2f2f2f",categoryRecordBottomBorderOnColor:"#2f2f2f",categoryRecordTextOffColor:"#777777",categoryRecordTextOnColor:"#00b4f9",numberOfThumbsPerScreen:7,playlistPadding:18,showCategories:!0,firstCateg:"ALL RADIO STATIONS",
89selectedCategBg:"#000000",selectedCategOffColor:"#FFFFFF",selectedCategOnColor:"#00b4f9",selectedCategMarginBottom:12,showSearchArea:!0,searchAreaBg:"#000000",searchInputText:" search...", 90searchInputBg:"#ffffff",searchInputBorderColor:"#333333",searchInputTextColor:"#333333",minButtonColor:"#FFFFFF",responsive:!0,showPlaylistNumber:!0,nowPlayingInterval:35,grabLastFmPhoto:!0,grabStreamnameAndGenre:!0,pathToAjaxFiles:"",noImageAvailable:"noimageavailable.jpg",lastFMApiKey:"",lastFMSecret:"",origWidth:0,isSliderInitialized:!1,isProgressInitialized:!1,isPlaylistSliderInitialized:!1}})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.