!function(){if(void 0==Dubtrack.user.playlist)return void alert("Please open the playlists at least once!");var e=window.prompt("Enter your search terms","needle");if(void 0==e||0==e.length)return void alert("Invalid search terms.");var t=e.toLowerCase().split(/[^a-zA-Z0-9]/),n=[],r=0;fetch=function(e,t,n){var a="https://api.dubtrack.fm/playlist/"+t._id+"/songs";r++,"function"==typeof console.time&&console.time("[fetch] "+e),$.getJSON(a,function(a,o){r--;var s,c,i;"function"==typeof console.timeEnd&&console.timeEnd("[fetch] "+e),"success"!==o||200!==a.code?(s=a,c=s.code,i=s.message,a=s.data,errorHandler("Error #"+c+" fetching "+e+": "+i+". "+a.message+".")):n(t,a.data)})},search=function(e){if(void 0==e)return!1;for(var n=0;n