PageSourceSearch

https://sumajestadelbolero.com/wp-content/plugins/erplayer/inc/frontend/assets/js/erplayer-frontend-min.js

js sumajestadelbolero.com collected 2026-10-02 00:07:56 UTC 26,117 bytes, 2 lines download raw bytes

1!function(t){"use strict";t.erplayer={proxyURL:t("#erplayer-radiofeed-proxyurl").data("proxyurl"),playlist:[],currentSong:0,playPercent:0,bufferPercent:0,duration:0,buffered:0,seekPoint:0,playerState:"pause",marqueeInstances:[],options:{timeInterval:2e4,qtFeedInterval:!1,postid:!1,popup:!1,typoSettings:!1,showPlist:!1,showVolume:!1,boxShadow:!1,startVolume:1,searchCover:!1,open:!1,defaultImage:!1,displayDefault:!1,maxWidth:!1,margin:!1,padding:!1,layout:!1,playBtnSize:45,playlistDirection:!1,location:!1,boxRadius:!1,coverRadius:!1,bgOpacity:0,customClass:!1,bodyPadding:!1,backgroundColor:!1,textColor:!1,accentColor:!1,toggleBgColor:!1,toggleTextColor:!1,toggleHoverColor:!1,toggleHoverBg:!1,toggleRadius:!1,toggleHeight:!1,togglePadding:!1,toggleFsize:!1,defaultBgImg:!1,defaultBgImgOp:1,thumbSize:60,fileFormats:[".wav",".aac",".ogg",".m4a",".flac",".m3u",".radio",".stream",".mp3",".ira",".di",".io",".ad",".com",".xyz",".pro",".eu"]},_create:function(){this.player=this.element;var e=this.player.data("erplayer-options");this.options=t.extend(this.options,e),this.playlistHtml=this.player.find("[data-erplayer-playlist-html] li"),this.playerContainer=this.player.find("[data-erplayer-container]"),this.playerWrapper=this.player.find("[data-erplayer-wrapper]"),this.playerToggleBtn=this.player.find("[data-erplayer-togglerbutton]"),this.controls=this.player.find("[data-erplayer-controls]"),this.playButton=this.player.find("[data-erplayer-play]"),this.pauseButton=this.player.find("[data-erplayer-pause]"),this.nextButton=this.player.find("[data-erplayer-next]"),this.prevButton=this.player.find("[data-erplayer-prev]"),this.muteBtn=this.player.find("[data-erplayer-mute]"),this.volume=this.player.find("[data-erplayer-volume-input]"),this.volumeBar=this.player.find("[data-erplayer-volume-bar]"),this.playhead=this.player.find("[data-erplayer-playhead]"),this.bufferhead=this.player.find("[data-erplayer-bufferhead]"),this.progressbar=this.player.find("[data-erplayer-progressbar]"),this.cue=this.player.find("[data-erplayer-cue]"),this.timer=this.player.find("[data-erplayer-timer]"),this.durationTime=this.player.find("[data-erplayer-duration]"),this.songtitle=this.player.find("[data-erplayer-title]"),this.artist=this.player.find("[data-erplayer-artist]"),this.album=this.player.find("[data-erplayer-album]"),this.cover=this.player.find("[data-erplayer-trackcover]"),this.bg=this.player.find("[data-erplayer-background]"),this.toggler=this.player.find("[data-erplayer-plist-toggler]"),this.playlistContainer=this.player.find("[data-erplayer-playlist]"),this.audio=this.player.find("[data-erplayer-audio]"),this.myAudio=this.audio[0],this.volumeLevel=1,this.initializePlayer()},initializePlayer:function(){var e=this;e.createCss(),e.createListeners(),e.createButtons(),e.getBarsWidth(),e.refreshPlaylist(),e.loadSound(),e.initVolume(),e.initCue(),e.player.delay(700).promise().done((function(){e.playerContainer.animate({opacity:1},300)})),t(window).resize((function(){}))},arrayKeyExists:function(t,e){return!(!e||e.constructor!==Array&&e.constructor!==Object)&&t in e},createCss:function(){var e=this,a="",i=this.options.customClass;if(this.player.attr("id",i),this.options.typoSettings){var r=t.parseJSON(this.options.typoSettings);if("custom"===r.typo_title_typography){var o="#"+i+" .erplayer__info__title { ",s,n;r.typo_title_font_family&&(s=(n=r.typo_title_font_family).split(" ").join("+"),o+='font-family:"'+n+'";'),r.typo_title_font_size&&r.typo_title_font_size.size&&(o+="font-size:"+r.typo_title_font_size.size+r.typo_title_font_size.unit+";"),r.typo_title_font_weight&&(o+="font-weight:"+r.typo_title_font_weight+";",s+=":"+r.typo_title_font_weight),r.typo_title_font_style&&(o+="font-style:"+r.typo_title_font_style+";",s+="i"),r.typo_title_letter_spacing&&r.typo_title_letter_spacing.size&&(o+="letter-spacing:"+r.typo_title_letter_spacing.size+r.typo_title_letter_spacing.unit+";"),r.typo_title_text_transform&&(o+="text-transform:"+r.typo_title_text_transform+";"),o+="}",s&&t("head").append('<link rel="stylesheet" id="google-fonts-'+i+'-css" href="https://fonts.googleapis.com/css?family='+s+'" type="text/css" media="all">'),a+=o}if("custom"===r.typo_artist_typography){var l="#"+i+" .erplayer__info__artist { ",p,u;r.typo_artist_font_family&&(p=(u=r.typo_artist_font_family).split(" ").join("+"),l+='font-family:"'+u+'";'),r.typo_artist_font_size&&r.typo_artist_font_size.size&&(l+="font-size:"+r.typo_artist_font_size.size+r.typo_artist_font_size.unit+";"),r.typo_artist_font_weight&&(l+="font-weight:"+r.typo_artist_font_weight+";",p+=":"+r.typo_artist_font_weight),r.typo_artist_font_style&&(l+="font-style:"+r.typo_artist_font_style+";",p+="i"),r.typo_artist_letter_spacing&&r.typo_artist_letter_spacing.size&&(l+="letter-spacing:"+r.typo_artist_letter_spacing.size+r.typo_artist_letter_spacing.unit+";"),r.typo_artist_text_transform&&(l+="text-transform:"+r.typo_artist_text_transform+";"),l+="}",p&&t("head").append('<link rel="stylesheet" id="google-fonts-'+i+'-css" href="https://fonts.googleapis.com/css?family='+p+'" type="text/css" media="all">'),a+=l}if("custom"===r.typo_album_typography){var c="#"+i+" .erplayer__info__album { ",h,d;r.typo_album_font_family&&(h=(d=r.typo_album_font_family).split(" ").join("+"),c+='font-family:"'+d+'";'),r.typo_album_font_size&&r.typo_album_font_size.size&&(c+="font-size:"+r.typo_album_font_size.size+r.typo_album_font_size.unit+";"),r.typo_album_font_weight&&(c+="font-weight:"+r.typo_album_font_weight+";",h+=":"+r.typo_album_font_weight),r.typo_album_font_style&&(c+="font-style:"+r.typo_album_font_style+";",h+="i"),r.typo_album_letter_spacing&&r.typo_album_letter_spacing.size&&(c+="letter-spacing:"+r.typo_album_letter_spacing.size+r.typo_album_letter_spacing.unit+";"),r.typo_album_text_transform&&(c+="text-transform:"+r.typo_album_text_transform+";"),c+="}",h&&t("head").append('<link rel="stylesheet" id="google-fonts-'+i+'-css" href="https://fonts.googleapis.com/css?family='+h+'" type="text/css" media="all">'),a+=c}}if(!1===this.options.boxShadow&&(this.options.boxShadow=0),a+="#"+i+" .erplayer__container{box-shadow:0 0 16px rgba(0,0,0,"+this.options.boxShadow+");}",!1!==this.options.maxWidth&&(a+="#"+i+" .erplayer__container{max-width:"+this.options.maxWidth+"px;}"),!1!==this.options.thumbSize&&(a+="#"+i+"  .erplayer__info__cover{width:"+this.options.thumbSize+"px;
1height:"+this.options.thumbSize+"px;}","bar"===this.options.layout&&(a+="#"+i+"  .erplayer__play, #"+i+"  .erplayer__pause {width:calc("+this.options.thumbSize+"px - 15px);height:calc("+this.options.thumbSize+"px - 15px);line-height:calc("+this.options.thumbSize+"px - 15px); border-radius: 50%;}",a+="#"+i+" .erplayer__wrapper__container{min-height:"+this.options.thumbSize+"px}"),"fullscreenbar"===this.options.layout)){var y=(this.options.thumbSize-60)/2;a+="#"+i+"  .erplayer__controls {padding-top: "+y+"px;padding-bottom: "+y+"px;}",a+="#"+i+"  .erplayer__slidercontrol--volume {margin-top: "+y/4+"px}",a+="@media only screen and (max-width: 1170px){",a+="#"+i+"  .erplayer__controls {padding-left: "+y+"px;padding-right: "+y+"px;}",a+="}"}if("buttononly"===this.options.layout&&this.options.playBtnSize){a+="#"+i+"  .erplayer__btn ,  #"+i+"  .erplayer__btn.loading, #"+i+"  .erplayer__btn.loading::before, #"+i+" .erplayer__controls .erplayer__btn.loading::before { width:"+this.options.playBtnSize+"px;height:"+this.options.playBtnSize+"px;line-height:"+this.options.playBtnSize+"px;}",a+="#"+i+"  .erplayer__slidercontrol--volume{line-height:"+this.options.playBtnSize+"px}";var f=.07*Number(this.options.playBtnSize),m;a+="#"+i+"  .erplayer__play::before, #"+i+"  .erplayer__pause::before, #"+i+"  .erplayer__btn.loading::before { border-width:"+f+"px; transform: translate(-"+f+"px, -"+f+"px);}",a+="#"+i+"  .erplayer__play i, #"+i+"  .erplayer__pause i { font-size:"+.5*Number(this.options.playBtnSize)+"px;  }"}!1!==this.options.boxRadius&&(a+="#"+i+" .erplayer__bgcolor, #"+i+" .erplayer__bgcolor, #"+i+" .erplayer__wrapper, #"+i+" .erplayer__container,  #"+i+" .erplayer__background {border-radius:"+this.options.boxRadius+"px;}"),!1!==this.options.coverRadius&&(a+="#"+i+" .erplayer__info__cover {border-radius:"+this.options.coverRadius+"px;}"),!1!==this.options.bgOpacity&&(a+="#"+i+" .erplayer__background {opacity:"+this.options.bgOpacity+";}"),!1!==this.options.backgroundColor&&(a+="#"+i+" .erplayer__container, #"+i+" .erplayer__bgcolor {background-color:"+this.options.backgroundColor+";}","fullscreenbar"===this.options.layout&&(a+="#"+i+" .erplayer__playlist {background-color:"+this.options.backgroundColor+";}")),!1!==this.options.textColor&&(a+="#"+i+" .erplayer__container ,#"+i+" .erplayer__container h3 ,#"+i+" .erplayer__container h4 ,#"+i+" .erplayer__container h5 ,#"+i+" .erplayer__container h6 ,  #"+i+" .erplayer__btn{color:"+this.options.textColor+";}",a+="#"+i+" .erplayer__play::after, #"+i+" .erplayer__pause::after{background-color:"+this.options.textColor+";}"),!1!==this.options.accentColor&&(a+="#"+i+" .erplayer__btn.loading::before{border-left-color:"+this.options.accentColor+";}",a+="#"+i+"  .erplayer__slidercontrol__bar,  #"+i+'input[type="range"]::-webkit-slider-thumb {background:'+this.options.accentColor+";}",a+="#"+i+' .erplayer__slidercontrol input[type="range"]::-webkit-slider-thumb {background-color:'+this.options.accentColor+";}","card"===this.options.layout&&(a+="#"+i+" .erplayer__playlist.open::-webkit-scrollbar-thumb {background-color:"+this.options.accentColor+";}")),(t.erplayerIsMobile()||"1"!==this.options.showVolume)&&(a+="#"+i+" .erplayer__slidercontrol--volume {display: none;}"),!1!==this.options.defaultBgImg&&""!==this.options.defaultBgImg&&(this.player.find(".erplayer__bgcolor").append('<img src="'+this.options.defaultBgImg+'">'),!1!==this.options.defaultBgImgOp&&(this.player.find(".erplayer__bgcolor img").css({opacity:this.options.defaultBgImgOp}),a+="#"+i+" .erplayer__bgcolor img {opacity:"+this.options.defaultBgImgOp+";}")),a+="@media only screen and (min-width: 1170px){","1"!==this.options.showPlist&&(a+="#"+i+" .erplayer__openplaylist {display: none;}"),!1!==this.options.margin&&(a+="#"+i+" .erplayer__container {margin:"+this.options.margin+"px;}"),!1!==this.options.accentColor&&(a+="#"+i+" .erplayer__btn:hover{color:"+this.options.accentColor+";}"),!1!==this.options.padding&&(a+="#"+i+" .erplayer__wrapper {padding:"+this.options.padding+"px;}",a+="#"+i+".erplayer--fullscreenbar .erplayer__openplaylist {margin-right:"+this.options.padding+"px;}",a+="#"+i+".erplayer--bar .erplayer__openplaylist {margin-right:"+this.options.padding+"px;}",a+="#"+i+".erplayer--fullscreenbar .erplayer__playlist {padding-left:"+this.options.padding+"px;padding-right:"+this.options.padding+"px;}",a+="#"+i+".erplayer--fullscreenbar .erplayer__slidercontrol--volume{right:"+(30+Number(this.options.padding))+"px;}"),a+="}","fullscreenbar"===this.options.layout&&this.options.bodyPadding&&("tr"===this.options.location||"tl"===this.options.location?a+="body {margin-top: "+this.playerContainer.outerHeight()+"px;}":"br"!==this.options.location&&"bl"!==this.options.location||(a+="body {margin-bottom: "+this.playerContainer.outerHeight()+"px;}")),t("#erplayer-custom-css-"+i).remove(),t("head").append('<style id="erplayer-custom-css-'+i+'">'+a+"</style>")},initCue:function(){var t=this;t.cue.val(0),t.cue.on("input",(function(){t.seekCue()}))},initVolume:function(){var e=this;t.erplayerIsMobile()&&(e.options.startVolume=1),e.volume.val(e.options.startVolume),e.setVolume(),e.storedVolume=e.options.startVolume,e.muteBtn.on("click",(function(){e.volume.val()>0?(e.muteBtn.addClass("muted"),e.storedVolume=e.volume.val(),e.volume.val(0)):(e.muteBtn.removeClass("muted"),e.volume.val(e.storedVolume)),e.setVolume()})),e.volume.on("input",(function(){e.setVolume()}))},createButtons:function(){var e=this;
1t("[data-erplayer-togglerbutton]").off("click"),t("[data-erplayer-togglerbutton]").on("click",(function(e){e.preventDefault();var a=t(this).data("erplayer-togglerbutton");t("#"+a).toggleClass("erplayer--visible")})),e.playButton.on("click",(function(){e.player.find('[data-erplayer-playlist-id="'+e.currentSong+'"]').addClass("erplayer-track-active"),e.playSound()})),e.pauseButton.on("click",(function(){e.player.find(".erplayer-track-active").removeClass("erplayer-track-active"),e.pauseSound()})),e.nextButton.on("click",(function(){e.nextTrack()})),e.prevButton.on("click",(function(){e.prevTrack()})),e.toggler.on("click",(function(){e.playlistContainer.focus(),e.playlistContainer.toggleClass("open"),e.toggler.toggleClass("open"),e.player.toggleClass("erplayer-playlist-open")})),e.playlistScrollFix()},playlistScrollFix:function(){var t=this;this.playlistContainer.on("mousewheel DOMMouseScroll",(function(t){var e=t.originalEvent,a=e.wheelDelta||-e.detail;this.scrollTop+=30*(a<0?1:-1),t.preventDefault()}))},createListeners:function(){var t=this;t.myAudio.addEventListener("loadstart",(function(){t.pauseButton.addClass("loading").css({"pointer-events":"none"}).find("i").animate({opacity:.3},500)}),!1),t.myAudio.addEventListener("durationchange",(function(){t.bufferUpdate()}),!1),t.myAudio.addEventListener("progress",(function(){t.bufferUpdate()}),!1),t.myAudio.addEventListener("timeupdate",(function(){t.timeUpdate()}),!1),t.myAudio.addEventListener("canplay",(function(){t.pauseButton.removeClass("loading").css({"pointer-events":"initial"}).find("i").animate({opacity:1},500),t.duration=t.myAudio.duration,"radio"===t.playlist[t.currentSong].type?jQuery("[data-erplayer-duration]").html(""):t.durationTime.html(t.formatSecondsAsTime(t.myAudio.duration.toString()))}),!1),t.myAudio.addEventListener("ended",(function(){t.nextTrack()}),!1)},marqueeText:function(e,a){if("function"==typeof t.fn.marquee){var i=e.player.find(".erplayer-marquee");if(!0===a&&(i=e.player.find(".erplayer__info__artist, .erplayer__info__album")),e.marqueeInstances.length>0){for(var r=0;r<e.marqueeInstances.length;r++)void 0!==e.marqueeInstances[r]&&e.marqueeInstances[r].marquee("destroy");e.player.find(".erplayer-marquee").marquee("destroy"),e.marqueeInstances=[]}t.each(i,(function(a,i){var r=t(i);r.find(".js-marquee").length,r.outerWidth()>r.find("span").outerWidth()||(e.marqueeInstances[a]=r.marquee({duration:12e3,gap:r.outerWidth(),delayBeforeStart:1e3,direction:"left",duplicated:!1,pauseOnCycle:5e3,startVisible:!0}))}))}},refreshPlaylist:function(){var e=this;if(e.playlist=[],e.playlistItems=e.player.find("[data-erplayer-trackdata]"),e.playlistItems.length<=1&&e.player.find("[data-erplayer-next],[data-erplayer-prev]").hide(),0===e.playlistItems.length)return e.cover.hide(),e.songtitle.html("No channels"),void e.album.html("Check settings");e.cover.show(),e.playlistItems.each((function(a,i){var r=t(i);e.playlist[a]=r.data("erplayer-trackdata"),r.attr("data-erplayer-playlist-id",a),r.on("click",(function(t){t.preventDefault(),e.currentSong===a?"play"===e.playerState?(r.removeClass("erplayer-track-active"),e.pauseSound()):(r.addClass("erplayer-track-active"),e.playSound(),e.playlistContainer.removeClass("open"),e.toggler.removeClass("open"),e.player.removeClass("erplayer-playlist-open")):(e.player.find(".erplayer-track-active").removeClass("erplayer-track-active"),r.addClass("erplayer-track-active"),e.currentSong=a,e.pauseSound(),e.loadSound(),e.playSound(),e.playlistContainer.removeClass("open"),e.toggler.removeClass("open"),e.player.removeClass("erplayer-playlist-open"))}))}))},readShoutcast:function(e){var a="http",i=!1,r,o,s=e.qtFeedData,n=s.shoutcast_channel||1;"443"!==s.shoutcast_port&&"https"!==s.shoutcast_protocol||(a="https"),o=r=a+"://"+s.shoutcast_host+":"+s.shoutcast_port+"/stats?sid="+n+"&json=1",s.use_proxy&&e.proxyURL&&(o=e.proxyURL,i={qtproxycall:window.btoa(r)}),t.ajax({type:"GET",cache:!1,url:o,async:!0,data:i,contentType:"application/json",success:function(t){"object"!=typeof t&&(t=JSON.parse(t)),e.result=t.songtitle,e.applyTitle()}})}
1,readIcecast:function(e){var a=e.qtFeedData.icecast_url,i,r,o;e.qtFeedData.use_proxy&&e.proxyURL&&(a=e.proxyURL,o={qtproxycall:window.btoa(e.qtFeedData.icecast_url)}),t.ajax({type:"GET",cache:!1,url:a,async:!0,jsonpCallback:"parseMusic",jsonp:!1,data:o,success:function(t){"object"!=typeof t&&(t=JSON.parse(t)),void 0!==(i=t.icestats.source)&&(e.qtFeedData.icecast_mountpoint&&(i=i[e.qtFeedData.icecast_mountpoint]),e.qtFeedData.icecast_channel&&(i=i[e.qtFeedData.icecast_channel]),void 0===i.title&&(i=i[0]),r=i.title,i.artist&&(r=r+" - "+i.artist),e.result=r,e.applyTitle())}})},readAirtime:function(e){t.ajax({type:"GET",cache:!1,url:e.proxyURL,async:!0,data:{qtproxycall:window.btoa(e.qtFeedData.airtime)},contentType:"application/json",success:function(t){var a=JSON.parse(t);e.result=a.tracks.current.name,e.applyTitle()}})},readText:function(e){var a=e.qtFeedData.textfeed;e.qtFeedData.use_proxy&&e.proxyURL&&(a=e.proxyURL),t.ajax({type:"GET",cache:!1,url:a,async:!0,dataType:"text",data:{qtproxycall:window.btoa(e.qtFeedData.textfeed)},success:function(t){e.result=t,e.applyTitle()}})},readRadioDotCo:function(e){t.ajax({type:"GET",cache:!1,url:"https://public.radio.co/stations/"+e.qtFeedData.radiodotco+"/status",async:!0,contentType:"application/json",success:function(t){e.result=t.current_track.title,e.applyTitle()}})},readLive365:function(e){var a="https://api.live365.com/station/"+e.qtFeedData.live365,i=a;e.qtFeedData.use_proxy&&e.proxyURL&&(i=e.proxyURL),t.ajax({type:"GET",cache:!1,url:i,data:{qtproxycall:window.btoa(a)},async:!0,success:function(t){var a=JSON.parse(t);e.result=a["current-track"].artist+" - "+a["current-track"].title,e.applyTitle()}})},readRadionomy:function(e){var a,i="http://api.radionomy.com/currentsong.cfm?radiouid="+e.qtFeedData.radionomy_userid+"&apikey="+e.qtFeedData.radionomy_apikey+"&callmeback=yes&type=xml&cover=yes";t.ajax({type:"GET",url:i,async:!0,cache:!1,dataType:"xml",jsonpCallback:"parseMusic",jsonp:!0,success:function(a){e.result=t(a).find("artists").html()+" - "+t(a).find("title").html(),e.applyTitle()}})},readAuto:function(e){var a=e.qtFeedData.file;t.ajax({type:"GET",url:e.proxyURL,headers:{"Icy-MetaData":"1"},jsonpCallback:"parseMusic",async:!0,cache:!1,data:{qtproxycall:window.btoa(a),icymetadata:"1"},success:function(t){e.result=t,e.applyTitle()}})},getThumbnail:function(){var e=this;if(!1!==e.options.searchCover){var a,i,r,o="https://itunes.apple.com/search?term="+e.result.split(" - ").join("-").split(" ").join("+").split("(").join("+").split(")").join("+").split("[").join("+").split("]").join("+");t.ajax({type:"GET",cache:!0,url:o,async:!0,dataType:"jsonp",context:this,success:function(t){"object"!=typeof t&&(t=JSON.parse(t)),t.resultCount>0?(i=t.results[0].artworkUrl100,r=t.results[0].collectionName,e.cover.show().html('<img src="'+i+'">'),e.bg.show().html('<img src="'+i+'">')):e.defaultCover?(e.cover.show().html('<img src="'+e.defaultCover+'">'),e.bg.show().html('<img src="'+e.defaultCover+'">')):(e.cover.hide(),e.bg.hide())}})}},applyTitle:function(){var t=this,e=this.result;if(void 0!==e){this.album.html("").hide(),this.artist.html("").hide();var a=this.album.closest(".erplayer__info__album"),i=this.album.closest(".erplayer__info__artist");if(a.html('<span data-erplayer-album="" style="display: none;"></span>'),i.html('<span data-erplayer-artist="" style="display: none;"></span>'),this.artist=this.player.find("[data-erplayer-artist]"),this.album=this.player.find("[data-erplayer-album]"),!1!==e&&""!==e){var r=e.split(" - "),o="",s="";r.length>1?(o=r[0],s=r[1]):(o="",s=e),this.album.show(),this.artist.show(),this.album.html(s),this.artist.html(o)}else this.album.html(this.playlist[this.currentSong].album).show();var n=!0;this.marqueeText(this,!0),!1!==this.cover&&this.getThumbnail()}},stopFeed:function(t){!1!==t&&clearInterval(t)},startFeed:function(){var t=this;if(t.qtFeedData=t.playlist[t.currentSong],!t.qtFeedData.server_type)return t.album.html(t.playlist[t.currentSong].album).show(),void t.marqueeText(t,!0);switch(t.result="",t.applyTitle(),t.feedFunction={},t.feedFunction.type=t.qtFeedData.server_type,t.feedFunction.func=!1,t.stopFeed(t.qtFeedInterval),t.qtFeedData.server_type){case"type-shoutcast":t.feedFunction.func=t.readShoutcast;break;case"type-icecast":t.feedFunction.func=t.readIcecast;break;case"type-radiodotco":t.feedFunction.func=t.readRadioDotCo;break;case"type-airtime":t.feedFunction.func=t.readAirtime;break;case"type-radionomy":t.feedFunction.func=t.readRadionomy;break;case"type-live365":t.feedFunction.func=t.readLive365;break;case"type-text":t.feedFunction.func=t.readText;break;case"type-auto":t.feedFunction.func=t.readAuto;break;default:return}t.feedFunction.func(t),t.qtFeedInterval=setInterval((function(){t.feedFunction.func(t)}),t.options.timeInterval)},loadSound:function(){var t=this;0!==this.playlist.length&&(this.cue.val(0),this.audio.html('<source src="'+this.playlist[this.currentSong].file+'" type="audio/mp3" style="display:none">'),this.myAudio.src=this.playlist[this.currentSong].file,this.audio.title=this.playlist[this.currentSong].title,this.channelCount=0,this.audio.load(),this.artist.html(""),this.songtitle.html(""),this.album.html(""),this.formatCheck(),this.stopFeed(),this.playlist[this.currentSong].title&&this.songtitle.html(this.playlist[this.currentSong].title),this.playlist[this.currentSong].artist&&this.artist.html(this.playlist[this.currentSong].artist),this.playlist[this.currentSong].album&&this.album.html(this.playlist[this.currentSong].album),this.defaultCover=!1,this.playlist[this.currentSong].artwork?this.defaultCover=this.playlist[this.currentSong].artwork:this.options.defaultImage&&this.options.displayDefault&&(this.defaultCover=this.options.defaultImage),this.defaultCover?(this.cover.show(),this.bg.show(),this.cover.html('<img src="'+this.defaultCover+'">'),this.bg.html('<img src="'+this.defaultCover+'">')):(this.cover.html(""),this.bg.html(""),this.cover.hide(),this.bg.hide()),this.playhead.width(0),this.bufferhead.width(0),"radio"===this.playlist[this.currentSong].type?(this.playhead.css({width:this.progressbarWidth-11+"px"}),this.progressbar.addClass("disabled")):this.progressbar.removeClass("disabled"),"radio"===this.playlist[this.currentSong].type&&this.startFeed(),"play"===this.playerState&&this.playSound())},switchState:function(){"play"===this.playerState?this.controls.addClass("erplayer-playing"):this.controls.removeClass("erplayer-playing")},toRegEx:function(t){return new RegExp(t)},playSound:function(){t.each(t.erplayerWidgets,(function(){t(this).theplayer("pauseSound")}));var e=this;"radio"===this.playlist[this.currentSong].type&&!0===this.radioIsPaused&&(this.myAudio.src=this.playlist[this.currentSong].file),this.myAudio.play(),this.playerState="play",this.switchState()},radioIsPaused:!1,pauseSound:function(){var t=this;this.myAudio.pause(),"radio"===this.playlist[this.currentSong].type&&(this.myAudio.src=null,this.radioIsPaused=!0),this.playerState="pause",this.switchState(),this.stopFeed()},nextTrack:function(){this.currentSong+1===this.playlist.length?this.currentSong=0:this.currentSong++,this.loadSound()},prevTrack:function(){this.currentSong-1==-1?this.currentSong=0:this.currentSong--,this.loadSound()},timeUpdate:function(){var t=this,e=document.getElementById("erplayer-audio");this.playPercent=e.currentTime/e.duration,this.timer.html(this.formatSecondsAsTime(this.myAudio.currentTime.toString())),isNaN(this.playPercent)||"radio"!==this.playlist[this.currentSong].type&&(this.playhead.css({width:(this.progressbarWidth-13)*this.playPercent+"px"}),this.cue.val(this.playPercent))},bufferUpdate:function(){var t=this;this.myAudio.duration!==1/0&&"radio"!==this.playlist[this.currentSong].type&&this.myAudio.duration>0&&(this.bufferPercent=this.myAudio.buffered.end(0)/this.myAudio.duration,this.bufferhead.css({width:(this.progressbarWidth-12)*this.bufferPercent+"px"}))},getBarsWidth:function(){this.progressbarWidth=this.progressbar.width(),this.volumebarWidth=this.volumeBar.width()},formatSecondsAsTime:function(t){var e=Math.floor(t/3600),a=Math.floor((t-3600*e)/60),i=Math.floor(t-3600*e-60*a);return i<10&&(i="0"+i),a+":"+i},seekCue:function(){var t=this;"radio"!==this.playlist[this.currentSong].type&&(this.seekPoint=this.cue[0].value,this.myAudio.currentTime=this.seekPoint*this.myAudio.duration)},formatCheck:function(){var e=this;t.each(e.options.fileFormats,(function(t,a){var i;a=(a=a.split("."))[1],e.toRegEx(a).test(e.myAudio.src)&&e.channelCount++}))},setVolume:function(){this.volumeLevel=this.volume[0].value,this.volumeBar.css({width:(this.volumebarWidth-13)*this.volumeLevel+"px"}),this.myAudio.volume=this.volumeLevel,this.volumeLevel>0?this.muteBtn.removeClass("muted"):this.muteBtn.addClass("muted")}},t.erplayerIsMobile=function(){var t=window.screen.width*window.devicePixelRatio,e;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||t<1170},t.fn.erplayerPopupWindow=function(){t("body").on("click",".qt-popupwindow",(function(e){var a,i,r;e.preventDefault();var o=t(this),s=o.attr("href"),n=o.attr("data-name"),l=o.attr("data-width"),p=o.attr("data-height"),u;return a={height:600,width:600,toolbar:0,scrollbars:1,status:0,resizable:1,left:0,top:0,center:0,createnew:1,location:0,menubar:0,onUnload:null},l&&(a.width=l),p&&(a.height=p),1===a.center&&(a.top=(screen.height-(a.height+110))/2,a.left=(screen.width-a.width)/2),i="location="+a.location+",menubar="+a.menubar+",height="+a.height+",width="+a.width+",toolbar="+a.toolbar+",scrollbars="+a.scrollbars+",status="+a.status+",resizable="+a.resizable+",left="+a.left+",screenX="+a.left+",top="+a.top+",screenY="+a.top,r=window.open(s,n,i),a.onUnload&&(u=setInterval((function(){r&&!r.closed||(clearInterval(u),a.onUnload.call(t(this)))}),500)),!1}))},t.elementorRadioPlayerInit=function(){t.widget("erplayer.theplayer",t.erplayer),t.erplayerWidgets=[],t("[data-erplayer-widget]").each((function(){var e=t(this).theplayer();t.erplayerWidgets.push(e)})),t.fn.erplayerPopupWindow()},t(document).ready((function(){t.elementorRadioPlayerInit()}))}(jQuery);
2//# sourceMappingURL=erplayer-frontend-min.js.map

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.