diff --git a/docs/404.html b/docs/404.html index 4537572..5564123 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1 +1 @@ -MuziK

🔈🔊
📝
\ No newline at end of file +MuziK

🔈🔊
📝
\ No newline at end of file diff --git a/docs/404.html.br b/docs/404.html.br index a83bfb6..51df88f 100644 Binary files a/docs/404.html.br and b/docs/404.html.br differ diff --git a/docs/404.html.gz b/docs/404.html.gz index 2ac0b96..3bb0745 100644 Binary files a/docs/404.html.gz and b/docs/404.html.gz differ diff --git a/docs/index.30d02687.js b/docs/index.30d02687.js deleted file mode 100644 index cb13d9d..0000000 --- a/docs/index.30d02687.js +++ /dev/null @@ -1,9 +0,0 @@ -var $parcel$global="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},$parcel$modules={},$parcel$inits={},parcelRequire=$parcel$global.parcelRequireccb7;null==parcelRequire&&(parcelRequire=function(e){if(e in $parcel$modules)return $parcel$modules[e].exports;if(e in $parcel$inits){var t=$parcel$inits[e];delete $parcel$inits[e];var o={id:e,exports:{}};return $parcel$modules[e]=o,t.call(o.exports,o,o.exports),o.exports}var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n},parcelRequire.register=function(e,t){$parcel$inits[e]=t},$parcel$global.parcelRequireccb7=parcelRequire),parcelRequire.register("lTYnq",(function(e,t){parcelRequire("kzsqX"),parcelRequire("cOKpD"),window.manageSound=()=>{window.code=window.list[window.pos],window.history.pushState({},"",window.generateLink()),-1===window.code.indexOf("/")?(window.soundOrigin="youtube",window.isYTIready?window.youtubePlayer.loadVideoById(window.code):window.initYoutube()):(window.soundOrigin="soundcloud",window.SPI?window.soundCloudPlayer.load(window.code,{auto_play:"true",callback:window.soundCloudLoaded}):window.soundCloudInit()),window.hideAndSeek()}})),parcelRequire.register("kzsqX",(function(e,t){window.isYTIready=!1,window.youtubePlayer=null,window.youtubeLoaded=()=>{window.changeTitle(window.youtubePlayer.getVideoData().title),window.changeBG(`https://i.ytimg.com/vi/${window.code}/default.jpg`)},window.onPlayerStateChange=e=>{e.data==YT.PlayerState.ENDED&&window.nextSong(-1),e.data==YT.PlayerState.PLAYING&&window.youtubeLoaded()},window.onYouTubeIframeAPIReady=()=>{window.isYTIready=!0,window.youtubePlayer=new YT.Player("player",{events:{onReady:window.onPlayerReady,onStateChange:window.onPlayerStateChange},playerVars:{autoplay:1,modestbranding:1,rel:0,origin:window.location.origin},videoId:window.code,host:"https://www.youtube.com"})},window.onPlayerReady=e=>{window.setVolume(sessionStorage.getItem("vol").replace("_","")),e.target.playVideo(),window.youtubeLoaded()},window.initYoutube=()=>{const e=document.createElement("script"),t=document.getElementsByTagName("script")[0];e.src="//www.youtube.com/iframe_api",t.parentNode.insertBefore(e,t)}})),parcelRequire.register("cOKpD",(function(e,t){window.soundCloudPlayer=null,window.SPI=!1,window.soundCloudLoaded=()=>{window.soundCloudPlayer.getCurrentSound((e=>{window.changeTitle(e.title);let t=null;t=null!==e.artwork_url?e.artwork_url:e.user.avatar_url,window.changeBG(t),window.setVolume(sessionStorage.getItem("vol").replace("_","")),window.soundCloudPlayer.play()}))},window.soundCloudInit=()=>{window.SPI=!0,document.querySelector("#jukebox--soundcloud iframe").setAttribute("src",`https://w.soundcloud.com/player/?url=https%3A//soundcloud.com${window.code}&auto_play=true`),window.soundCloudPlayer=SC.Widget(document.querySelector("#jukebox--soundcloud iframe")),window.soundCloudPlayer.bind(SC.Widget.Events.FINISH,(()=>{window.nextSong(-1)})),window.soundCloudPlayer.bind(SC.Widget.Events.READY,(()=>{window.soundCloudLoaded()}))}})),parcelRequire.register("69HvE",(function(e,t){window.changeTitle=e=>{document.querySelector("#title").innerHTML=e,document.querySelector("title").innerHTML=e},window.hideAndSeek=()=>{document.querySelector("#jukebox--youtube").style.display="none",document.querySelector("#jukebox--soundcloud").style.display="none","youtube"==window.soundOrigin?document.querySelector("#jukebox--youtube").style.display="block":"soundcloud"==window.soundOrigin&&(document.querySelector("#jukebox--soundcloud").style.display="block")},window.changeMeta=(e,t)=>{document.querySelector('meta[property="og:title"]').setAttribute("content",e),document.querySelector('meta[property="og:url"]').setAttribute("content",window.location),document.querySelector('meta[property="og:image"]').setAttribute("content",t)}})),parcelRequire.register("cbgPh",(function(e,t){window.nextSong=()=>(window.pos++,window.pos>=window.list.length&&(window.pos=0),"youtube"==window.soundOrigin&&null!=window.youtubePlayer?window.youtubePlayer.stopVideo():"soundcloud"==window.soundOrigin&&null!=window.soundCloudPlayer&&window.soundCloudPlayer.pause(),window.manageSound(),!1),window.getLink=()=>{navigator.clipboard.writeText(window.generateLink()).then((()=>{alert("Link copied to clipboard")}))}})),parcelRequire.register("bayYq",(function(e,t){window.changeBG=e=>{let t=new Image;"soundcloud"==window.soundOrigin&&(t.crossOrigin="Anonymous"),t.addEventListener("load",(()=>{window.bg.getContext("2d").drawImage(t,0,0,t.width,t.height,0,0,window.bg.width,window.bg.height)}),!1),t.src=e},window.moveBG=()=>{setTimeout((()=>{window.bg.style.marginTop=`-${-2+Math.floor(5*Math.random())}%`,window.bg.style.marginLeft=`-${-2+Math.floor(5*Math.random())}%`,window.bg.style.transform=`scale(${1.2+Math.floor(5*Math.random())/10})`,window.moveBG()}),5e3)}})),parcelRequire.register("3BBOm",(function(e,t){window.setVolume=e=>{"youtube"==window.soundOrigin?window.youtubePlayer.setVolume(e):"soundcloud"==window.soundOrigin&&window.soundCloudPlayer.setVolume(e),window.sessionStorage.setItem("vol","_"+e)}})),parcelRequire.register("el4Fj",(function(e,t){document.addEventListener("keypress",(e=>{if("n"==e.key)window.nextSong(-1);else{let t=parseInt(window.$volume.value);"+"==e.key&&(t+=5),"-"==e.key&&(t-=5),window.$volume.value=t,window.setVolume(t)}}))})),parcelRequire.register("gpEq9",(function(module,exports){var $kiFq6=parcelRequire("kiFq6"); -/* - * [js-sha1]{@link https://github.com/emn178/js-sha1} - * - * @version 0.6.0 - * @author Chen, Yi-Cyuan [emn178@gmail.com] - * @copyright Chen, Yi-Cyuan 2014-2017 - * @license MIT - */!function(){function t1(e){e?(f[0]=f[16]=f[1]=f[2]=f[3]=f[4]=f[5]=f[6]=f[7]=f[8]=f[9]=f[10]=f[11]=f[12]=f[13]=f[14]=f[15]=0,this.blocks=f):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}var h1="object"==typeof window?window:{},s1=!h1.JS_SHA1_NO_NODE_JS&&"object"==typeof $kiFq6&&$kiFq6.versions&&$kiFq6.versions.node;s1&&(h1=$parcel$global);var i1=!h1.JS_SHA1_NO_COMMON_JS&&module.exports,e1="function"==typeof define&&define.amd,r1="0123456789abcdef".split(""),o1=[-2147483648,8388608,32768,128],n1=[24,16,8,0],a1=["hex","array","digest","arrayBuffer"],f=[],u=function(e){return function(t){return new t1(!0).update(t)[e]()}},c=function(){var e=u("hex");s1&&(e=p(e)),e.create=function(){return new t1},e.update=function(t){return e.create().update(t)};for(var t=0;t>2]|=e[i]<>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(s[n>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=64?(this.block=s[16],this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},t1.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=o1[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},t1.prototype.hash=function(){var e,t,o=this.h0,n=this.h1,i=this.h2,r=this.h3,s=this.h4,u=this.blocks;for(e=16;e<80;++e)t=u[e-3]^u[e-8]^u[e-14]^u[e-16],u[e]=t<<1|t>>>31;for(e=0;e<20;e+=5)o=(t=(n=(t=(i=(t=(r=(t=(s=(t=o<<5|o>>>27)+(n&i|~n&r)+s+1518500249+u[e]<<0)<<5|s>>>27)+(o&(n=n<<30|n>>>2)|~o&i)+r+1518500249+u[e+1]<<0)<<5|r>>>27)+(s&(o=o<<30|o>>>2)|~s&n)+i+1518500249+u[e+2]<<0)<<5|i>>>27)+(r&(s=s<<30|s>>>2)|~r&o)+n+1518500249+u[e+3]<<0)<<5|n>>>27)+(i&(r=r<<30|r>>>2)|~i&s)+o+1518500249+u[e+4]<<0,i=i<<30|i>>>2;for(;e<40;e+=5)o=(t=(n=(t=(i=(t=(r=(t=(s=(t=o<<5|o>>>27)+(n^i^r)+s+1859775393+u[e]<<0)<<5|s>>>27)+(o^(n=n<<30|n>>>2)^i)+r+1859775393+u[e+1]<<0)<<5|r>>>27)+(s^(o=o<<30|o>>>2)^n)+i+1859775393+u[e+2]<<0)<<5|i>>>27)+(r^(s=s<<30|s>>>2)^o)+n+1859775393+u[e+3]<<0)<<5|n>>>27)+(i^(r=r<<30|r>>>2)^s)+o+1859775393+u[e+4]<<0,i=i<<30|i>>>2;for(;e<60;e+=5)o=(t=(n=(t=(i=(t=(r=(t=(s=(t=o<<5|o>>>27)+(n&i|n&r|i&r)+s-1894007588+u[e]<<0)<<5|s>>>27)+(o&(n=n<<30|n>>>2)|o&i|n&i)+r-1894007588+u[e+1]<<0)<<5|r>>>27)+(s&(o=o<<30|o>>>2)|s&n|o&n)+i-1894007588+u[e+2]<<0)<<5|i>>>27)+(r&(s=s<<30|s>>>2)|r&o|s&o)+n-1894007588+u[e+3]<<0)<<5|n>>>27)+(i&(r=r<<30|r>>>2)|i&s|r&s)+o-1894007588+u[e+4]<<0,i=i<<30|i>>>2;for(;e<80;e+=5)o=(t=(n=(t=(i=(t=(r=(t=(s=(t=o<<5|o>>>27)+(n^i^r)+s-899497514+u[e]<<0)<<5|s>>>27)+(o^(n=n<<30|n>>>2)^i)+r-899497514+u[e+1]<<0)<<5|r>>>27)+(s^(o=o<<30|o>>>2)^n)+i-899497514+u[e+2]<<0)<<5|i>>>27)+(r^(s=s<<30|s>>>2)^o)+n-899497514+u[e+3]<<0)<<5|n>>>27)+(i^(r=r<<30|r>>>2)^s)+o-899497514+u[e+4]<<0,i=i<<30|i>>>2;this.h0=this.h0+o<<0,this.h1=this.h1+n<<0,this.h2=this.h2+i<<0,this.h3=this.h3+r<<0,this.h4=this.h4+s<<0},t1.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,o=this.h2,n=this.h3,i=this.h4;return r1[e>>28&15]+r1[e>>24&15]+r1[e>>20&15]+r1[e>>16&15]+r1[e>>12&15]+r1[e>>8&15]+r1[e>>4&15]+r1[15&e]+r1[t>>28&15]+r1[t>>24&15]+r1[t>>20&15]+r1[t>>16&15]+r1[t>>12&15]+r1[t>>8&15]+r1[t>>4&15]+r1[15&t]+r1[o>>28&15]+r1[o>>24&15]+r1[o>>20&15]+r1[o>>16&15]+r1[o>>12&15]+r1[o>>8&15]+r1[o>>4&15]+r1[15&o]+r1[n>>28&15]+r1[n>>24&15]+r1[n>>20&15]+r1[n>>16&15]+r1[n>>12&15]+r1[n>>8&15]+r1[n>>4&15]+r1[15&n]+r1[i>>28&15]+r1[i>>24&15]+r1[i>>20&15]+r1[i>>16&15]+r1[i>>12&15]+r1[i>>8&15]+r1[i>>4&15]+r1[15&i]},t1.prototype.toString=t1.prototype.hex,t1.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,o=this.h2,n=this.h3,i=this.h4;return[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,o>>24&255,o>>16&255,o>>8&255,255&o,n>>24&255,n>>16&255,n>>8&255,255&n,i>>24&255,i>>16&255,i>>8&255,255&i]},t1.prototype.array=t1.prototype.digest,t1.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(20),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),e};var y=c();i1?module.exports=y:(h1.sha1=y,e1&&define((function(){return y})))}()})),parcelRequire.register("kiFq6",(function(e,t){var o,n,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(e){if(o===setTimeout)return setTimeout(e,0);if((o===r||!o)&&setTimeout)return o=setTimeout,setTimeout(e,0);try{return o(e,0)}catch(t){try{return o.call(null,e,0)}catch(t){return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:r}catch(e){o=r}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var d,a=[],l=!1,w=-1;function h(){l&&d&&(l=!1,d.length?a=d.concat(a):w=-1,a.length&&c())}function c(){if(!l){var e=u(h);l=!0;for(var t=a.length;t;){for(d=a,a=[];++w1)for(var o=1;o{window.code=window.list[window.pos],window.history.pushState({},"",window.generateLink()),-1===window.code.indexOf("/")?(window.soundOrigin="youtube",window.isYTIready?window.youtubePlayer.loadVideoById(window.code):window.initYoutube()):(window.soundOrigin="soundcloud",window.SPI?window.soundCloudPlayer.load(window.code,{auto_play:"true",callback:window.soundCloudLoaded}):window.soundCloudInit()),window.hideAndSeek()}})),parcelRequire.register("kzsqX",(function(e,t){window.isYTIready=!1,window.youtubePlayer=null,window.youtubeLoaded=()=>{window.changeTitle(window.youtubePlayer.getVideoData().title),window.changeMeta(window.youtubePlayer.getVideoData().title,`https://i.ytimg.com/vi/${window.code}/default.jpg`),window.changeBG(`https://i.ytimg.com/vi/${window.code}/default.jpg`)},window.onPlayerStateChange=e=>{e.data==YT.PlayerState.ENDED&&window.nextSong(-1),e.data==YT.PlayerState.PLAYING&&window.youtubeLoaded()},window.onYouTubeIframeAPIReady=()=>{window.isYTIready=!0,window.youtubePlayer=new YT.Player("player",{events:{onReady:window.onPlayerReady,onStateChange:window.onPlayerStateChange},playerVars:{autoplay:1,modestbranding:1,rel:0,origin:window.location.origin},videoId:window.code,host:"https://www.youtube.com"})},window.onPlayerReady=e=>{window.setVolume(sessionStorage.getItem("vol").replace("_","")),e.target.playVideo(),window.youtubeLoaded()},window.initYoutube=()=>{const e=document.createElement("script"),t=document.getElementsByTagName("script")[0];e.src="//www.youtube.com/iframe_api",t.parentNode.insertBefore(e,t)}})),parcelRequire.register("cOKpD",(function(e,t){window.soundCloudPlayer=null,window.SPI=!1,window.soundCloudLoaded=()=>{window.soundCloudPlayer.getCurrentSound((e=>{window.changeTitle(e.title);let t=null;t=null!==e.artwork_url?e.artwork_url:e.user.avatar_url,window.changeBG(t),window.changeMeta(e.title,t),window.setVolume(sessionStorage.getItem("vol").replace("_","")),window.soundCloudPlayer.play()}))},window.soundCloudInit=()=>{window.SPI=!0,document.querySelector("#jukebox--soundcloud iframe").setAttribute("src",`https://w.soundcloud.com/player/?url=https%3A//soundcloud.com${window.code}&auto_play=true`),window.soundCloudPlayer=SC.Widget(document.querySelector("#jukebox--soundcloud iframe")),window.soundCloudPlayer.bind(SC.Widget.Events.FINISH,(()=>{window.nextSong(-1)})),window.soundCloudPlayer.bind(SC.Widget.Events.READY,(()=>{window.soundCloudLoaded()}))}})),parcelRequire.register("69HvE",(function(e,t){window.changeTitle=e=>{document.querySelector("#title").innerHTML=e,document.querySelector("title").innerHTML=e},window.hideAndSeek=()=>{document.querySelector("#jukebox--youtube").style.display="none",document.querySelector("#jukebox--soundcloud").style.display="none","youtube"==window.soundOrigin?document.querySelector("#jukebox--youtube").style.display="block":"soundcloud"==window.soundOrigin&&(document.querySelector("#jukebox--soundcloud").style.display="block")},window.changeMeta=(e,t)=>{document.querySelector('meta[property="og:title"]').setAttribute("content",e),document.querySelector('meta[property="og:url"]').setAttribute("content",window.location),document.querySelector('meta[property="og:image"]').setAttribute("content",t)}})),parcelRequire.register("cbgPh",(function(e,t){window.nextSong=()=>(window.pos++,window.pos>=window.list.length&&(window.pos=0),"youtube"==window.soundOrigin&&null!=window.youtubePlayer?window.youtubePlayer.stopVideo():"soundcloud"==window.soundOrigin&&null!=window.soundCloudPlayer&&window.soundCloudPlayer.pause(),window.manageSound(),!1),window.getLink=()=>{navigator.clipboard.writeText(window.generateLink()).then((()=>{alert("Link copied to clipboard")}))}})),parcelRequire.register("bayYq",(function(e,t){window.changeBG=e=>{let t=new Image;"soundcloud"==window.soundOrigin&&(t.crossOrigin="Anonymous"),t.addEventListener("load",(()=>{window.bg.getContext("2d").drawImage(t,0,0,t.width,t.height,0,0,window.bg.width,window.bg.height)}),!1),t.src=e},window.moveBG=()=>{setTimeout((()=>{window.bg.style.marginTop=`-${-2+Math.floor(5*Math.random())}%`,window.bg.style.marginLeft=`-${-2+Math.floor(5*Math.random())}%`,window.bg.style.transform=`scale(${1.2+Math.floor(5*Math.random())/10})`,window.moveBG()}),5e3)}})),parcelRequire.register("3BBOm",(function(e,t){window.setVolume=e=>{"youtube"==window.soundOrigin?window.youtubePlayer.setVolume(e):"soundcloud"==window.soundOrigin&&window.soundCloudPlayer.setVolume(e),window.sessionStorage.setItem("vol","_"+e)}})),parcelRequire.register("el4Fj",(function(e,t){document.addEventListener("keypress",(e=>{if("n"==e.key)window.nextSong(-1);else{let t=parseInt(window.$volume.value);"+"==e.key&&(t+=5),"-"==e.key&&(t-=5),window.$volume.value=t,window.setVolume(t)}}))})),parcelRequire.register("gpEq9",(function(module,exports){var $kiFq6=parcelRequire("kiFq6"); +/* + * [js-sha1]{@link https://github.com/emn178/js-sha1} + * + * @version 0.6.0 + * @author Chen, Yi-Cyuan [emn178@gmail.com] + * @copyright Chen, Yi-Cyuan 2014-2017 + * @license MIT + */!function(){function t1(e){e?(f[0]=f[16]=f[1]=f[2]=f[3]=f[4]=f[5]=f[6]=f[7]=f[8]=f[9]=f[10]=f[11]=f[12]=f[13]=f[14]=f[15]=0,this.blocks=f):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}var h1="object"==typeof window?window:{},s1=!h1.JS_SHA1_NO_NODE_JS&&"object"==typeof $kiFq6&&$kiFq6.versions&&$kiFq6.versions.node;s1&&(h1=$parcel$global);var i1=!h1.JS_SHA1_NO_COMMON_JS&&module.exports,e1="function"==typeof define&&define.amd,r1="0123456789abcdef".split(""),o1=[-2147483648,8388608,32768,128],n1=[24,16,8,0],a1=["hex","array","digest","arrayBuffer"],f=[],u=function(e){return function(t){return new t1(!0).update(t)[e]()}},c=function(){var e=u("hex");s1&&(e=p(e)),e.create=function(){return new t1},e.update=function(t){return e.create().update(t)};for(var t=0;t>2]|=e[i]<>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(u[n>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=64?(this.block=u[16],this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},t1.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=o1[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},t1.prototype.hash=function(){var e,t,o=this.h0,n=this.h1,i=this.h2,r=this.h3,u=this.h4,s=this.blocks;for(e=16;e<80;++e)t=s[e-3]^s[e-8]^s[e-14]^s[e-16],s[e]=t<<1|t>>>31;for(e=0;e<20;e+=5)o=(t=(n=(t=(i=(t=(r=(t=(u=(t=o<<5|o>>>27)+(n&i|~n&r)+u+1518500249+s[e]<<0)<<5|u>>>27)+(o&(n=n<<30|n>>>2)|~o&i)+r+1518500249+s[e+1]<<0)<<5|r>>>27)+(u&(o=o<<30|o>>>2)|~u&n)+i+1518500249+s[e+2]<<0)<<5|i>>>27)+(r&(u=u<<30|u>>>2)|~r&o)+n+1518500249+s[e+3]<<0)<<5|n>>>27)+(i&(r=r<<30|r>>>2)|~i&u)+o+1518500249+s[e+4]<<0,i=i<<30|i>>>2;for(;e<40;e+=5)o=(t=(n=(t=(i=(t=(r=(t=(u=(t=o<<5|o>>>27)+(n^i^r)+u+1859775393+s[e]<<0)<<5|u>>>27)+(o^(n=n<<30|n>>>2)^i)+r+1859775393+s[e+1]<<0)<<5|r>>>27)+(u^(o=o<<30|o>>>2)^n)+i+1859775393+s[e+2]<<0)<<5|i>>>27)+(r^(u=u<<30|u>>>2)^o)+n+1859775393+s[e+3]<<0)<<5|n>>>27)+(i^(r=r<<30|r>>>2)^u)+o+1859775393+s[e+4]<<0,i=i<<30|i>>>2;for(;e<60;e+=5)o=(t=(n=(t=(i=(t=(r=(t=(u=(t=o<<5|o>>>27)+(n&i|n&r|i&r)+u-1894007588+s[e]<<0)<<5|u>>>27)+(o&(n=n<<30|n>>>2)|o&i|n&i)+r-1894007588+s[e+1]<<0)<<5|r>>>27)+(u&(o=o<<30|o>>>2)|u&n|o&n)+i-1894007588+s[e+2]<<0)<<5|i>>>27)+(r&(u=u<<30|u>>>2)|r&o|u&o)+n-1894007588+s[e+3]<<0)<<5|n>>>27)+(i&(r=r<<30|r>>>2)|i&u|r&u)+o-1894007588+s[e+4]<<0,i=i<<30|i>>>2;for(;e<80;e+=5)o=(t=(n=(t=(i=(t=(r=(t=(u=(t=o<<5|o>>>27)+(n^i^r)+u-899497514+s[e]<<0)<<5|u>>>27)+(o^(n=n<<30|n>>>2)^i)+r-899497514+s[e+1]<<0)<<5|r>>>27)+(u^(o=o<<30|o>>>2)^n)+i-899497514+s[e+2]<<0)<<5|i>>>27)+(r^(u=u<<30|u>>>2)^o)+n-899497514+s[e+3]<<0)<<5|n>>>27)+(i^(r=r<<30|r>>>2)^u)+o-899497514+s[e+4]<<0,i=i<<30|i>>>2;this.h0=this.h0+o<<0,this.h1=this.h1+n<<0,this.h2=this.h2+i<<0,this.h3=this.h3+r<<0,this.h4=this.h4+u<<0},t1.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,o=this.h2,n=this.h3,i=this.h4;return r1[e>>28&15]+r1[e>>24&15]+r1[e>>20&15]+r1[e>>16&15]+r1[e>>12&15]+r1[e>>8&15]+r1[e>>4&15]+r1[15&e]+r1[t>>28&15]+r1[t>>24&15]+r1[t>>20&15]+r1[t>>16&15]+r1[t>>12&15]+r1[t>>8&15]+r1[t>>4&15]+r1[15&t]+r1[o>>28&15]+r1[o>>24&15]+r1[o>>20&15]+r1[o>>16&15]+r1[o>>12&15]+r1[o>>8&15]+r1[o>>4&15]+r1[15&o]+r1[n>>28&15]+r1[n>>24&15]+r1[n>>20&15]+r1[n>>16&15]+r1[n>>12&15]+r1[n>>8&15]+r1[n>>4&15]+r1[15&n]+r1[i>>28&15]+r1[i>>24&15]+r1[i>>20&15]+r1[i>>16&15]+r1[i>>12&15]+r1[i>>8&15]+r1[i>>4&15]+r1[15&i]},t1.prototype.toString=t1.prototype.hex,t1.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,o=this.h2,n=this.h3,i=this.h4;return[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,o>>24&255,o>>16&255,o>>8&255,255&o,n>>24&255,n>>16&255,n>>8&255,255&n,i>>24&255,i>>16&255,i>>8&255,255&i]},t1.prototype.array=t1.prototype.digest,t1.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(20),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),e};var y=c();i1?module.exports=y:(h1.sha1=y,e1&&define((function(){return y})))}()})),parcelRequire.register("kiFq6",(function(e,t){var o,n,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function s(e){if(o===setTimeout)return setTimeout(e,0);if((o===r||!o)&&setTimeout)return o=setTimeout,setTimeout(e,0);try{return o(e,0)}catch(t){try{return o.call(null,e,0)}catch(t){return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:r}catch(e){o=r}try{n="function"==typeof clearTimeout?clearTimeout:u}catch(e){n=u}}();var d,a=[],l=!1,w=-1;function c(){l&&d&&(l=!1,d.length?a=d.concat(a):w=-1,a.length&&h())}function h(){if(!l){var e=s(c);l=!0;for(var t=a.length;t;){for(d=a,a=[];++w1)for(var o=1;oMuziK

🔈🔊
📝
\ No newline at end of file +MuziK

🔈🔊
📝
\ No newline at end of file diff --git a/docs/index.html.br b/docs/index.html.br index 5c31bd8..939c1a6 100644 Binary files a/docs/index.html.br and b/docs/index.html.br differ diff --git a/docs/index.html.gz b/docs/index.html.gz index c4392a4..44724e9 100644 Binary files a/docs/index.html.gz and b/docs/index.html.gz differ diff --git a/src/js/soundcloud.js b/src/js/soundcloud.js index 0669a44..49a522f 100644 --- a/src/js/soundcloud.js +++ b/src/js/soundcloud.js @@ -9,6 +9,7 @@ window.soundCloudLoaded = () => { artwork_url = currentSound.artwork_url; else artwork_url = currentSound.user.avatar_url; window.changeBG(artwork_url); + window.changeMeta(currentSound.title, artwork_url); window.setVolume(sessionStorage.getItem('vol').replace('_', '')); window.soundCloudPlayer.play(); }); diff --git a/src/js/youtube.js b/src/js/youtube.js index 9abf39c..87263aa 100644 --- a/src/js/youtube.js +++ b/src/js/youtube.js @@ -3,6 +3,10 @@ window.youtubePlayer = null; window.youtubeLoaded = () => { window.changeTitle(window.youtubePlayer.getVideoData().title); + window.changeMeta( + window.youtubePlayer.getVideoData().title, + `https://i.ytimg.com/vi/${window.code}/default.jpg` + ); window.changeBG(`https://i.ytimg.com/vi/${window.code}/default.jpg`); };