diff --git a/dist/ushio-footer.min.js b/dist/ushio-footer.min.js index 7d94aad..378d7cb 100644 --- a/dist/ushio-footer.min.js +++ b/dist/ushio-footer.min.js @@ -1 +1 @@ -(function(e,t,n){"use strict";if(typeof window!=="undefined"&&typeof define==="function"&&define.amd){define(n)}else if(typeof module!=="undefined"&&module.exports){module.exports=n()}else if(t.exports){t.exports=n()}else{t[e]=n()}})("fp",this,function(){"use strict";var l=.8;var d=function(e,t){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535];t=[t[0]>>>16,t[0]&65535,t[1]>>>16,t[1]&65535];var n=[0,0,0,0];n[3]+=e[3]+t[3];n[2]+=n[3]>>>16;n[3]&=65535;n[2]+=e[2]+t[2];n[1]+=n[2]>>>16;n[2]&=65535;n[1]+=e[1]+t[1];n[0]+=n[1]>>>16;n[1]&=65535;n[0]+=e[0]+t[0];n[0]&=65535;return[n[0]<<16|n[1],n[2]<<16|n[3]]};var p=function(e,t){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535];t=[t[0]>>>16,t[0]&65535,t[1]>>>16,t[1]&65535];var n=[0,0,0,0];n[3]+=e[3]*t[3];n[2]+=n[3]>>>16;n[3]&=65535;n[2]+=e[2]*t[3];n[1]+=n[2]>>>16;n[2]&=65535;n[2]+=e[3]*t[2];n[1]+=n[2]>>>16;n[2]&=65535;n[1]+=e[1]*t[3];n[0]+=n[1]>>>16;n[1]&=65535;n[1]+=e[2]*t[2];n[0]+=n[1]>>>16;n[1]&=65535;n[1]+=e[3]*t[1];n[0]+=n[1]>>>16;n[1]&=65535;n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0];n[0]&=65535;return[n[0]<<16|n[1],n[2]<<16|n[3]]};var f=function(e,t){t%=64;if(t===32){return[e[1],e[0]]}else if(t<32){return[e[0]<>>32-t,e[1]<>>32-t]}else{t-=32;return[e[1]<>>32-t,e[0]<>>32-t]}};var h=function(e,t){t%=64;if(t===0){return e}else if(t<32){return[e[0]<>>32-t,e[1]<>>1]);e=p(e,[4283543511,3981806797]);e=v(e,[0,e[0]>>>1]);e=p(e,[3301882366,444984403]);e=v(e,[0,e[0]>>>1]);return e};var u=function(e,t){e=e||"";t=t||0;var n=e.length%16;var a=e.length-n;var i=[0,t];var r=[0,t];var o=[0,0];var s=[0,0];var l=[2277735313,289559509];var u=[1291169091,658871167];for(var c=0;c>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)+("00000000"+(r[0]>>>0).toString(16)).slice(-8)+("00000000"+(r[1]>>>0).toString(16)).slice(-8)};var e={preprocessor:null,audio:{timeout:1e3,excludeIOS11:true},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:false},screen:{detectScreenOrientation:true},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:false},extraComponents:[],excludes:{enumerateDevices:true,pixelRatio:true,doNotTrack:true,fontsFlash:true},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"};var y=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach){e.forEach(t)}else if(e.length===+e.length){for(var n=0,a=e.length;nt.name){return 1}if(e.name=0){a="Windows Phone"}else if(e.indexOf("win")>=0){a="Windows"}else if(e.indexOf("android")>=0){a="Android"}else if(e.indexOf("linux")>=0||e.indexOf("cros")>=0){a="Linux"}else if(e.indexOf("iphone")>=0||e.indexOf("ipad")>=0){a="iOS"}else if(e.indexOf("mac")>=0){a="Mac"}else{a="Other"}var i="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;if(i&&a!=="Windows Phone"&&a!=="Android"&&a!=="iOS"&&a!=="Other"){return true}if(typeof t!=="undefined"){t=t.toLowerCase();if(t.indexOf("win")>=0&&a!=="Windows"&&a!=="Windows Phone"){return true}else if(t.indexOf("linux")>=0&&a!=="Linux"&&a!=="Android"){return true}else if(t.indexOf("mac")>=0&&a!=="Mac"&&a!=="iOS"){return true}else if((t.indexOf("win")===-1&&t.indexOf("linux")===-1&&t.indexOf("mac")===-1)!==(a==="Other")){return true}}if(n.indexOf("win")>=0&&a!=="Windows"&&a!=="Windows Phone"){return true}else if((n.indexOf("linux")>=0||n.indexOf("android")>=0||n.indexOf("pike")>=0)&&a!=="Linux"&&a!=="Android"){return true}else if((n.indexOf("mac")>=0||n.indexOf("ipad")>=0||n.indexOf("ipod")>=0||n.indexOf("iphone")>=0)&&a!=="Mac"&&a!=="iOS"){return true}else{var r=n.indexOf("win")<0&&n.indexOf("linux")<0&&n.indexOf("mac")<0&&n.indexOf("iphone")<0&&n.indexOf("ipad")<0;if(r!==(a==="Other")){return true}}return typeof navigator.plugins==="undefined"&&a!=="Windows"&&a!=="Windows Phone"};var pe=function(){var e=navigator.userAgent.toLowerCase();var t=navigator.productSub;var n;if(e.indexOf("firefox")>=0){n="Firefox"}else if(e.indexOf("opera")>=0||e.indexOf("opr")>=0){n="Opera"}else if(e.indexOf("chrome")>=0){n="Chrome"}else if(e.indexOf("safari")>=0){n="Safari"}else if(e.indexOf("trident")>=0){n="Internet Explorer"}else{n="Other"}if((n==="Chrome"||n==="Safari"||n==="Opera")&&t!=="20030107"){return true}var a=eval.toString().length;if(a===37&&n!=="Safari"&&n!=="Firefox"&&n!=="Other"){return true}else if(a===39&&n!=="Internet Explorer"&&n!=="Other"){return true}else if(a===33&&n!=="Chrome"&&n!=="Opera"&&n!=="Other"){return true}var i;try{throw"a"}catch(e){try{e.toSource();i=true}catch(e){i=false}}return i&&n!=="Firefox"&&n!=="Other"};var fe=function(){var e=document.createElement("canvas");return!!(e.getContext&&e.getContext("2d"))};var he=function(){if(!fe()){return false}var e=be();return!!window.WebGLRenderingContext&&!!e};var ve=function(){if(navigator.appName==="Microsoft Internet Explorer"){return true}else if(navigator.appName==="Netscape"&&/Trident/.test(navigator.userAgent)){return true}return false};var me=function(){return typeof window.swfobject!=="undefined"};var ye=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")};var ge=function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId);document.body.appendChild(t)};var we=function(t,e){var n="___fp_swf_loaded";window[n]=function(e){t(e)};var a=e.fonts.swfContainerId;ge();var i={onReady:n};var r={allowScriptAccess:"always",menu:"false"};window.swfobject.embedSWF(e.fonts.swfPath,a,"1","1","9.0.0",false,i,r,{})};var be=function(){var e=document.createElement("canvas");var t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}if(!t){t=null}return t};var Te=[{key:"userAgent",getData:r},{key:"webdriver",getData:o},{key:"language",getData:c},{key:"colorDepth",getData:g},{key:"deviceMemory",getData:w},{key:"pixelRatio",getData:b},{key:"hardwareConcurrency",getData:J},{key:"screenResolution",getData:T},{key:"availableScreenResolution",getData:k},{key:"timezoneOffset",getData:M},{key:"timezone",getData:E},{key:"sessionStorage",getData:A},{key:"localStorage",getData:C},{key:"indexedDb",getData:L},{key:"addBehavior",getData:B},{key:"openDatabase",getData:O},{key:"cpuClass",getData:_},{key:"platform",getData:P},{key:"doNotTrack",getData:I},{key:"plugins",getData:W},{key:"canvas",getData:N},{key:"webgl",getData:R},{key:"webglVendorAndRenderer",getData:D},{key:"adBlock",getData:F},{key:"hasLiedLanguages",getData:H},{key:"hasLiedResolution",getData:q},{key:"hasLiedOs",getData:j},{key:"hasLiedBrowser",getData:U},{key:"touchSupport",getData:$},{key:"fonts",getData:V,pauseBefore:true},{key:"fontsFlash",getData:G,pauseBefore:true},{key:"audio",getData:i},{key:"enumerateDevices",getData:n}];var xe=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/Valve/fingerprintjs2#upgrade-guide-from-182-to-200")};xe.get=function(n,a){if(!a){a=n;n={}}else if(!n){n={}}t(n,e);n.components=n.extraComponents.concat(Te);var i={data:[],addPreprocessedComponent:function(e,t){if(typeof n.preprocessor==="function"){t=n.preprocessor(e,t)}i.data.push({key:e,value:t})}};var r=-1;var o=function(e){r+=1;if(r>=n.components.length){a(i.data);return}var t=n.components[r];if(n.excludes[t.key]){o(false);return}if(!e&&t.pauseBefore){r-=1;setTimeout(function(){o(true)},1);return}try{t.getData(function(e){i.addPreprocessedComponent(t.key,e);o(false)},n)}catch(e){i.addPreprocessedComponent(t.key,String(e));o(false)}};o(false)};xe.getPromise=function(n){return new Promise(function(e,t){xe.get(n,e)})};xe.getV18=function(r,o){if(o==null){o=r;r={}}return xe.get(r,function(e){var t=[];for(var n=0;ns.maxReconnectInterval?s.maxReconnectInterval:n)}},o.onmessage=function(e){(s.debug||d.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",s.url,e.data);var t=i("message");t.data=e.data,c.dispatchEvent(t)},o.onerror=function(e){(s.debug||d.debugAll)&&console.debug("ReconnectingWebSocket","onerror",s.url,e),c.dispatchEvent(i("error"))}},1==this.automaticOpen&&this.open(!1),this.send=function(e){if(o)return(s.debug||d.debugAll)&&console.debug("ReconnectingWebSocket","send",s.url,e),o.send(e);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(e,t){"undefined"==typeof e&&(e=1e3),l=!0,o&&o.close(e,t)},this.refresh=function(){o&&o.close()}}return d.prototype.onopen=function(){},d.prototype.onclose=function(){},d.prototype.onconnecting=function(){},d.prototype.onmessage=function(){},d.prototype.onerror=function(){},d.debugAll=!1,d.CONNECTING=WebSocket.CONNECTING,d.OPEN=WebSocket.OPEN,d.CLOSING=WebSocket.CLOSING,d.CLOSED=WebSocket.CLOSED,d});!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("APlayer",[],t):"object"==typeof exports?exports.APlayer=t():e.APlayer=t()}(window,function(){return function(n){var a={};function i(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}return i.m=n,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i(i.s=41)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=/mobile/i.test(window.navigator.userAgent),i={secondToTime:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),a=Math.floor(e-3600*t-60*n);return(t>0?[t,n,a]:[n,a]).map(function(e){return e<10?"0"+e:""+e}).join(":")},getElementViewLeft:function(e){var t=e.offsetLeft,n=e.offsetParent,a=document.body.scrollLeft+document.documentElement.scrollLeft;if(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)for(;null!==n&&n!==e;)t+=n.offsetLeft,n=n.offsetParent;else for(;null!==n;)t+=n.offsetLeft,n=n.offsetParent;return t-a},getElementViewTop:function(e,t){for(var n,a=e.offsetTop,i=e.offsetParent;null!==i;)a+=i.offsetTop,i=i.offsetParent;return n=document.body.scrollTop+document.documentElement.scrollTop,t?a:a-n},isMobile:a,storage:{set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)}},nameMap:{dragStart:a?"touchstart":"mousedown",dragMove:a?"touchmove":"mousemove",dragEnd:a?"touchend":"mouseup"},randomOrder:function(e){return function(e){for(var t=e.length-1;t>=0;t--){var n=Math.floor(Math.random()*(t+1)),a=e[n];e[n]=e[t],e[t]=a}return e}([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t\n ',n+=i(t+o),n+='\n ',n+=i(e.name),n+='\n ',n+=i(e.artist),n+="\n\n"}),n}},function(e,t,n){"use strict";e.exports=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=g(n(33)),i=g(n(32)),r=g(n(31)),o=g(n(30)),s=g(n(29)),l=g(n(28)),u=g(n(27)),c=g(n(26)),d=g(n(25)),p=g(n(24)),f=g(n(23)),h=g(n(22)),v=g(n(21)),m=g(n(20)),y=g(n(19));function g(e){return e&&e.__esModule?e:{default:e}}var w={play:a.default,pause:i.default,volumeUp:r.default,volumeDown:o.default,volumeOff:s.default,orderRandom:l.default,orderList:u.default,menu:c.default,loopAll:d.default,loopOne:p.default,loopNone:f.default,loading:h.default,right:v.default,skip:m.default,lrc:y.default};t.default=w},function(e,t,n){"use strict";var a,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};a=function(){return this}();try{a=a||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":i(window))&&(a=window)}e.exports=a},function(e,t,n){"use strict";var a,i,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};void 0===(i="function"==typeof(a=function(){if("object"===("undefined"==typeof window?"undefined":r(window))&&void 0!==document.querySelectorAll&&void 0!==window.pageYOffset&&void 0!==history.pushState){var c=function(e,t,n,a){return n>a?t:e+(t-e)*((i=n/a)<.5?4*i*i*i:(i-1)*(2*i-2)*(2*i-2)+1);var i},n=function(n,a,i,r){a=a||500;var o=(r=r||window).scrollTop||window.pageYOffset;if("number"==typeof n)var s=parseInt(n);else var s=function(e,t){return"HTML"===e.nodeName?-t:e.getBoundingClientRect().top+t}(n,o);var l=Date.now(),u=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,15)};!function e(){var t=Date.now()-l;r!==window?r.scrollTop=c(o,s,t,a):window.scroll(0,c(o,s,t,a)),t>a?"function"==typeof i&&i(n):u(e)}()},a=function(e){if(!e.defaultPrevented){e.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var t=document.getElementById(this.hash.substring(1));if(!t)return;n(t,500,function(e){location.replace("#"+e.id)})}};return document.addEventListener("DOMContentLoaded",function(){for(var e,t=document.querySelectorAll('a[href^="#"]:not([href="#"])'),n=t.length;e=t[--n];)e.addEventListener("click",a,!1)}),n}})?a.call(t,n,t,e):a)||(e.exports=i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function a(e,t){for(var n=0;n1),n=0===this.audios.length;this.player.template.listOl.innerHTML+=(0,i.default)({theme:this.player.options.theme,audio:e,index:this.audios.length+1}),this.audios=this.audios.concat(e),t&&this.audios.length>1&&this.player.container.classList.add("aplayer-withlist"),this.player.randomOrder=r.default.randomOrder(this.audios.length),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur"),this.player.template.listCurs[this.audios.length-1].style.backgroundColor=e.theme||this.player.options.theme,n&&("random"===this.player.options.order?this.switch(this.player.randomOrder[0]):this.switch(0))}},{key:"remove",value:function(e){if(this.player.events.trigger("listremove",{index:e}),this.audios[e])if(this.audios.length>1){var t=this.player.container.querySelectorAll(".aplayer-list li");t[e].remove(),this.audios.splice(e,1),this.player.lrc&&this.player.lrc.remove(e),e===this.index&&(this.audios[e]?this.switch(e):this.switch(e-1)),this.index>e&&this.index--;for(var n=e;nt&&!e.player.audio.paused&&(e.player.container.classList.remove("aplayer-loading"),a=!1),t=n)},100)}},{key:"enable",value:function(e){this["enable"+e+"Checker"]=!0,"fps"===e&&this.initfpsChecker()}},{key:"disable",value:function(e){this["enable"+e+"Checker"]=!1}},{key:"destroy",value:function(){var t=this;this.types.forEach(function(e){t["enable"+e+"Checker"]=!1,t[e+"Checker"]&&clearInterval(t[e+"Checker"])})}}]),t}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function a(e,t){for(var n=0;n1?"one"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=i.default.loopNone):"none"===e.player.options.loop?(e.player.options.loop="all",e.player.template.loop.innerHTML=i.default.loopAll):"all"===e.player.options.loop&&(e.player.options.loop="one",e.player.template.loop.innerHTML=i.default.loopOne):"one"===e.player.options.loop||"all"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=i.default.loopNone):"none"===e.player.options.loop&&(e.player.options.loop="all",e.player.template.loop.innerHTML=i.default.loopAll)})}},{key:"initMenuButton",value:function(){var e=this;this.player.template.menu.addEventListener("click",function(){e.player.list.toggle()})}},{key:"initMiniSwitcher",value:function(){var e=this;this.player.template.miniSwitcher.addEventListener("click",function(){e.player.setMode("mini"===e.player.mode?"normal":"mini")})}},{key:"initSkipButton",value:function(){var e=this;this.player.template.skipBackButton.addEventListener("click",function(){e.player.skipBack()}),this.player.template.skipForwardButton.addEventListener("click",function(){e.player.skipForward()}),this.player.template.skipPlayButton.addEventListener("click",function(){e.player.toggle()})}},{key:"initLrcButton",value:function(){var e=this;this.player.template.lrcButton.addEventListener("click",function(){e.player.template.lrcButton.classList.contains("aplayer-icon-lrc-inactivity")?(e.player.template.lrcButton.classList.remove("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.show()):(e.player.template.lrcButton.classList.add("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.hide())})}}]),t}();t.default=s},function(e,t,n){var r=n(2);e.exports=function(e){"use strict";e=e||{};var n="",t=r.$each,a=e.lyrics,i=(e.$value,e.$index,r.$escape);return t(a,function(e,t){n+="\n \n"}),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,i=function(){function a(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||e=this.current[this.index+1][0])for(var t=0;t=this.current[t][0]&&(!this.current[t+1]||e=200&&n.status<300||304===n.status?t.parsed[e]=t.parse(n.responseText):(t.player.notice("LRC file request fails: status "+n.status),t.parsed[e]=[["00:00","Not available"]]),t.container.innerHTML=(0,o.default)({lyrics:t.parsed[e]}),t.update(0),t.current=t.parsed[e])};var a=this.player.list.audios[e].lrc;n.open("get",a,!0),n.send(null)}else this.player.list.audios[e].lrc?this.parsed[e]=this.parse(this.player.list.audios[e].lrc):this.parsed[e]=[["00:00","Not available"]];this.container.innerHTML=(0,o.default)({lyrics:this.parsed[e]}),this.update(0),this.current=this.parsed[e]}},{key:"parse",value:function(e){if(e){for(var t=(e=e.replace(/([^\]^\n])\[/g,function(e,t){return t+"\n["})).split("\n"),n=[],a=t.length,i=0;i/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l]/;n.$escape=function(e){return function(e){var t=""+e,n=s.exec(t);if(!n)return e;var a="",i=void 0,r=void 0,o=void 0;for(i=n.index,r=0;i\n \n
',t+=r.play,t+='
\n \n \n
\n
\n\n
\n
\n
\n'):(t+='\n
\n
\n
',t+=r.play,t+='
\n
\n
\n
\n No audio\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n ',t+=r.loading,t+='\n \n
\n
\n
\n
\n \n 00:00 / 00:00\n \n \n ',t+=r.skip,t+='\n \n \n ',t+=r.play,t+='\n \n \n ',t+=r.skip,t+='\n \n
\n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n '},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){"use strict";var a,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(t){if(a===setTimeout)return setTimeout(t,0);if((a===o||!a)&&setTimeout)return a=setTimeout,setTimeout(t,0);try{return a(t,0)}catch(e){try{return a.call(null,t,0)}catch(e){return a.call(this,t,0)}}}!function(){try{a="function"==typeof setTimeout?setTimeout:o}catch(e){a=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var u,c=[],d=!1,p=-1;function f(){d&&u&&(d=!1,u.length?c=u.concat(c):p=-1,c.length&&h())}function h(){if(!d){var e=l(f);d=!0;for(var t=c.length;t;){for(u=c,c=[];++p1)for(var n=1;n=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(35),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){"use strict";(function(t){var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=setTimeout;function a(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function i(n,a){for(;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,r._immediateFn(function(){var e=1===n._state?a.onFulfilled:a.onRejected;if(null!==e){var t;try{t=e(n._value)}catch(e){return void s(a.promise,e)}o(a.promise,t)}else(1===n._state?o:s)(a.promise,n._value)})):n._deferreds.push(a)}function o(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":l(t))||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof n)return void c((a=n,i=t,function(){a.apply(i,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){s(e,t)}var a,i}function s(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t1&&this.container.classList.add("aplayer-withlist"),o.default.isMobile&&this.container.classList.add("aplayer-mobile"),this.arrow=this.container.offsetWidth<=300,this.arrow&&this.container.classList.add("aplayer-arrow"),this.container=this.options.container,2===this.options.lrcType||!0===this.options.lrcType)for(var t=this.container.getElementsByClassName("aplayer-lrc-content"),n=0;n1?(t.notice("An audio error has occurred, player will skip forward in 2 seconds."),e=setTimeout(function(){t.skipForward(),t.paused||t.play()},2e3)):1===t.list.audios.length&&t.notice("An audio error has occurred.")}),this.events.on("listswitch",function(){e&&clearTimeout(e)}),this.on("ended",function(){"none"===t.options.loop?"list"===t.options.order?t.list.index0&&void 0!==arguments[0]?arguments[0]:this.list.audios[this.list.index].theme||this.options.theme,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.list.index;(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&this.list.audios[t]&&(this.list.audios[t].theme=e),this.template.listCurs[t]&&(this.template.listCurs[t].style.backgroundColor=e),t===this.list.index&&(this.template.pic.style.backgroundColor=e,this.template.played.style.background=e,this.template.thumb.style.background=e,this.template.volume.style.background=e)}},{key:"seek",value:function(e){e=Math.max(e,0),e=Math.min(e,this.duration),this.audio.currentTime=e,this.bar.set("played",e/this.duration,"width"),this.template.ptime.innerHTML=o.default.secondToTime(e)}},{key:"setUIPlaying",value:function(){var e=this;if(this.paused&&(this.paused=!1,this.template.button.classList.remove("aplayer-play"),this.template.button.classList.add("aplayer-pause"),this.template.button.innerHTML="",setTimeout(function(){e.template.button.innerHTML=s.default.pause},100),this.template.skipPlayButton.innerHTML=s.default.pause),this.timer.enable("loading"),this.options.mutex)for(var t=0;t=.95?this.template.volumeButton.innerHTML=s.default.volumeUp:this.volume()>0?this.template.volumeButton.innerHTML=s.default.volumeDown:this.template.volumeButton.innerHTML=s.default.volumeOff}},{key:"volume",value:function(e,t){return e=parseFloat(e),isNaN(e)||(e=Math.max(e,0),e=Math.min(e,1),this.bar.set("volume",e,"height"),t||this.storage.set("volume",e),this.audio.volume=e,this.audio.muted&&(this.audio.muted=!1),this.switchVolumeIcon()),this.audio.muted?0:this.audio.volume}},{key:"on",value:function(e,t){this.events.on(e,t)}},{key:"toggle",value:function(){this.template.button.classList.contains("aplayer-play")?this.play():this.template.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"switchAudio",value:function(e){this.list.switch(e)}},{key:"addAudio",value:function(e){this.list.add(e)}},{key:"removeAudio",value:function(e){this.list.remove(e)}},{key:"destroy",value:function(){y.splice(y.indexOf(this),1),this.pause(),this.container.innerHTML="",this.audio.src="",this.timer.destroy(),this.events.trigger("destroy")}},{key:"setMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"normal";this.mode=e,"mini"===e?this.container.classList.add("aplayer-narrow"):"normal"===e&&this.container.classList.remove("aplayer-narrow")}},{key:"notice",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;this.template.notice.innerHTML=e,this.template.notice.style.opacity=a,this.noticeTime&&clearTimeout(this.noticeTime),this.events.trigger("noticeshow",{text:e}),n&&(this.noticeTime=setTimeout(function(){t.template.notice.style.opacity=0,t.events.trigger("noticehide")},n))}},{key:"prevIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return this.list.index-1<0?this.list.audios.length-1:this.list.index-1;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return 0===e?this.randomOrder[this.randomOrder.length-1]:this.randomOrder[e-1]}}},{key:"nextIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return(this.list.index+1)%this.list.audios.length;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return e===this.randomOrder.length-1?this.randomOrder[0]:this.randomOrder[e+1]}}},{key:"skipBack",value:function(){this.list.switch(this.prevIndex())}},{key:"skipForward",value:function(){this.list.switch(this.nextIndex())}},{key:"duration",get:function(){return isNaN(this.audio.duration)?0:this.audio.duration}}],[{key:"version",get:function(){return"1.10.1"}}]),a}();t.default=g},,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(40);var a,i=n(38),r=(a=i)&&a.__esModule?a:{default:a};console.log("\n %c APlayer v1.10.1 af84efb %c http://aplayer.js.org \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),t.default=r.default}]).default});$("title").remove();$("head").append(""+page.title+"");$('[rel="icon"]').remove();$("head").append('');if(!$('[name="viewport"]').length){$("head").append('')}if(!$('[name="keywords"]').length){$("head").append('')}if(!$('[name="description"]').length){$("head").append('')}function getHiddenProp(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t
');var t=new APlayer({element:document.getElementById("ap-f"),autoplay:false,fixed:true,loop:"all",order:"list",listFolded:true,showlrc:3,theme:"#00CBFF",listmaxheight:"200px",music:e});window.aplayers||(window.aplayers=[]),window.aplayers.push(t);window.aplayers[0].lrc.hide();if(session.get("aplayer/status")=="play"){window.aplayers[0].play();if(window.aplayers[0].audio.paused)window.aplayers[0].notice("Click Here",2e3,.8)}window.aplayers[0].on("play",function(){session.set("aplayer/status","play");window.aplayers[0].lrc.show();if(window.aplayers[0].firstTime===undefined){adjustSeek();window.aplayers[0].firstTime=false}});window.aplayers[0].on("pause",function(){session.set("aplayer/status","pause");window.aplayers[0].lrc.hide()});window.aplayers[0].on("listswitch",function(e){session.set("aplayer/playing",window.aplayers[0].list.audios[e.index].id)});setInterval(function(){try{if(!window.aplayers[0].audio.paused)session.set("aplayer/seek",window.aplayers[0].audio.currentTime)}catch(e){}},1e3)})})}function adjustSeek(){if(session.get("aplayer/seek")!=undefined&&window.aplayers[0].audio.currentTime>>16,65535&e[0],e[1]>>>16,65535&e[1]],r=[r[0]>>>16,65535&r[0],r[1]>>>16,65535&r[1]];var a=[0,0,0,0];return a[3]+=e[3]+r[3],a[2]+=a[3]>>>16,a[3]&=65535,a[2]+=e[2]+r[2],a[1]+=a[2]>>>16,a[2]&=65535,a[1]+=e[1]+r[1],a[0]+=a[1]>>>16,a[1]&=65535,a[0]+=e[0]+r[0],a[0]&=65535,[a[0]<<16|a[1],a[2]<<16|a[3]]}function d(e,r){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],r=[r[0]>>>16,65535&r[0],r[1]>>>16,65535&r[1]];var a=[0,0,0,0];return a[3]+=e[3]*r[3],a[2]+=a[3]>>>16,a[3]&=65535,a[2]+=e[2]*r[3],a[1]+=a[2]>>>16,a[2]&=65535,a[2]+=e[3]*r[2],a[1]+=a[2]>>>16,a[2]&=65535,a[1]+=e[1]*r[3],a[0]+=a[1]>>>16,a[1]&=65535,a[1]+=e[2]*r[2],a[0]+=a[1]>>>16,a[1]&=65535,a[1]+=e[3]*r[1],a[0]+=a[1]>>>16,a[1]&=65535,a[0]+=e[0]*r[3]+e[1]*r[2]+e[2]*r[1]+e[3]*r[0],a[0]&=65535,[a[0]<<16|a[1],a[2]<<16|a[3]]}function g(e,r){return 32===(r%=64)?[e[1],e[0]]:r<32?[e[0]<>>32-r,e[1]<>>32-r]:(r-=32,[e[1]<>>32-r,e[0]<>>32-r])}function v(e,r){return 0===(r%=64)?e:r<32?[e[0]<>>32-r,e[1]<>>1]),e=d(e,[4283543511,3981806797]),e=h(e,[0,e[0]>>>1]),e=d(e,[3301882366,444984403]),e=h(e,[0,e[0]>>>1])}function p(e,r){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(r);else if(e.length===+e.length)for(var a=0,t=e.length;a>>0).toString(16)).slice(-8)+("00000000"+(n[1]>>>0).toString(16)).slice(-8)+("00000000"+(i[0]>>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)},e={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},t=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},w=function(e){var r=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&r.sort().reverse(),r},B=function(e){if(window.screen.availWidth&&window.screen.availHeight){var r=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&r.sort().reverse(),r}return e.NOT_AVAILABLE},K=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var r=[],a=0,t=navigator.plugins.length;ar.name?1:e.name=a.components.length)t(n.data);else{var r=a.components[i];if(a.excludes[r.key])o(!1);else{if(!e&&r.pauseBefore)return i-=1,void setTimeout(function(){o(!0)},1);try{r.getData(function(e){n.addPreprocessedComponent(r.key,e),o(!1)},a)}catch(e){n.addPreprocessedComponent(r.key,String(e)),o(!1)}}}};o(!1)},we.getPromise=function(a){return new Promise(function(e,r){we.get(a,e)})};var ye=null,Be="",Ee=null,xe=null,Me=null,Oe={},ke=null,_e=!(we.getV18=function(i,o){return null==o&&(o=i,i={}),we.get(i,function(e){for(var r=[],a=0;ag.maxReconnectInterval?g.maxReconnectInterval:e)}},h.onmessage=function(b){(g.debug||a.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",g.url,b.data);var c=l("message");c.data=b.data,k.dispatchEvent(c)},h.onerror=function(b){(g.debug||a.debugAll)&&console.debug("ReconnectingWebSocket","onerror",g.url,b),k.dispatchEvent(l("error"))}},1==this.automaticOpen&&this.open(!1),this.send=function(b){if(h)return(g.debug||a.debugAll)&&console.debug("ReconnectingWebSocket","send",g.url,b),h.send(b);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(a,b){void 0===a&&(a=1e3),i=!0,h&&h.close(a,b)},this.refresh=function(){h&&h.close()}}return a.prototype.onopen=function(){},a.prototype.onclose=function(){},a.prototype.onconnecting=function(){},a.prototype.onmessage=function(){},a.prototype.onerror=function(){},a.debugAll=!1,a.CONNECTING=WebSocket.CONNECTING,a.OPEN=WebSocket.OPEN,a.CLOSING=WebSocket.CLOSING,a.CLOSED=WebSocket.CLOSED,a}),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("APlayer",[],t):"object"==typeof exports?exports.APlayer=t():e.APlayer=t()}(window,function(){return(e=[function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=/mobile/i.test(window.navigator.userAgent),a={secondToTime:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),i=Math.floor(e-3600*t-60*n);return(0\n ',t+=r(n+s),t+='\n ',t+=r(e.name),t+='\n ',t+=r(e.artist),t+="\n\n"}),t}},function(e,t,n){"use strict";e.exports=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n(33)),a=g(n(32)),r=g(n(31)),o=g(n(30)),s=g(n(29)),l=g(n(28)),u=g(n(27)),c=g(n(26)),p=g(n(25)),d=g(n(24)),h=g(n(23)),y=g(n(22)),f=g(n(21)),v=g(n(20)),m=g(n(19));function g(e){return e&&e.__esModule?e:{default:e}}var w={play:i.default,pause:a.default,volumeUp:r.default,volumeDown:o.default,volumeOff:s.default,orderRandom:l.default,orderList:u.default,menu:c.default,loopAll:p.default,loopOne:d.default,loopNone:h.default,loading:y.default,right:f.default,skip:v.default,lrc:m.default};t.default=w},function(e,t,n){"use strict";var i,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":a(window))&&(i=window)}e.exports=i},function(e,t,n){"use strict";var i,a,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};void 0===(a="function"==typeof(i=function(){if("object"===("undefined"==typeof window?"undefined":r(window))&&void 0!==document.querySelectorAll&&void 0!==window.pageYOffset&&void 0!==history.pushState){var e=function(e,t,n,i){return ie&&this.index--;for(var n=e;n\n"}),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;nthis.current.length-1||e=this.current[this.index+1][0])for(var t=0;t=this.current[t][0]&&(!this.current[t+1]||e/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l]/;a.$escape=function(e){return function(e){var t=""+e,n=r.exec(t);if(!n)return e;var i="",a=void 0,o=void 0,s=void 0;for(a=n.index,o=0;a\n \n
',t+=s.play,t+='
\n \n \n
\n
\n\n
\n
\n
\n'):(t+='\n
\n
\n
',t+=s.play,t+='
\n
\n
\n
\n No audio\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n ',t+=s.loading,t+='\n \n
\n
\n
\n
\n \n 00:00 / 00:00\n \n \n ',t+=s.skip,t+='\n \n \n ',t+=s.play,t+='\n \n \n ',t+=s.skip,t+='\n \n
\n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n '},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){"use strict";var i,a,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(e){i=o}try{a="function"==typeof clearTimeout?clearTimeout:s}catch(e){a=s}}();var u,c=[],p=!1,d=-1;function h(){p&&u&&(p=!1,u.length?c=u.concat(c):d=-1,c.length&&y())}function y(){if(!p){var e=l(h);p=!0;for(var t=c.length;t;){for(u=c,c=[];++d"+page.title+""),$('[rel="icon"]').remove(),$("head").append(''),$('[name="viewport"]').length||$("head").append(''),$('[name="keywords"]').length||$("head").append(''),$('[name="description"]').length||$("head").append(''),getHiddenProp()){var evtname=getHiddenProp().replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(evtname,function(){if("hidden"==document[getVisibilityState()]){session.close(),log_update();var rand=100*Math.random();document.title=rand<30?"啊咧(⊙0⊙)":rand<55?"快来戳我呀( ´∀`)σ":rand<75?"躲起来(´・ω・`)":"哎呦,页面崩掉了吗(>﹏<)",setTimeout("document.title = page.title",2400),clearInterval(page.TimerObj),page.TimerObj=null}"visible"==document[getVisibilityState()]&&(document.title=page.title,session.open(),null==page.TimerObj&&(page.TimerObj=setInterval("page.Timer++",1e3)))},!1)}function log_ini(){null==page.params.fpKey||page.params.fpKey.length<20?fp(fp_callback):fp(page.params.fpKey,fp_callback)}function fp_callback(myFp,key,acc,detail,createdTime,timeUsed,detailObj){page.fp=myFp,page.fpKey=key,session_websocket_ini(),$.post("https://log.yimian.xyz/iis.php",{fp:myFp,url:page.url,lang:detailObj.language,timezone:detailObj.timezone,platform:detailObj.platform,ram:detailObj.deviceMemory,screen:detailObj.screenResolution,userAgent:detailObj.userAgent,webgl:detailObj.webglVendorAndRenderer},function(res){page.sid=JSON.parse(res).sid,page.ip=JSON.parse(res).ip,session.status?drawBrand():setTimeout(drawBrand,2300),updateHref()})}function log_update(){$.post("https://log.yimian.xyz/iis.php",{sid:page.sid,sessiontime:page.Timer})}function updateHref(){-1!=page.url.indexOf("?fpKey=")&&window.history.replaceState(null,"ushio",page.url.substr(0,page.url.indexOf("?fpKey="))),-1!=page.url.indexOf("&fpKey=")&&window.history.replaceState(null,"ushio",page.url.substr(0,page.url.indexOf("&fpKey=")));var links=$(document).find("a");for(var index in links){var _href=links.eq(index).attr("href"),_id=links.eq(index).attr("id");_id=_id&&_id.substr(0,5),null!=_href&&(-1==_href.indexOf("?")&&"ushio"==_id?links.eq(index).attr("href",_href+"?fpKey="+page.fp+(page.host?"&from=https://"+page.host:"")):"ushio"==_id&&links.eq(index).attr("href",_href+"&fpKey="+page.fp+(page.host?"&from=https://"+page.host:"")))}}function session_websocket_ini(){page.ws=new ReconnectingWebSocket("wss://session.yimian.xyz:21515?fp="+page.fp),page.ws.maxReconnectInterval=60,page.ws.onopen=function(evt){!1===session.status&&console.log("Ushio - Session Connected!!"),page.ws.send("get"),session.set=function(key,val){return page.session[key]=val,page.session.LastOperateTime=(new Date).valueOf(),page.ws.send('{"key":"'+key+'", "val": "'+val+'", "t":'+page.session.LastOperateTime+"}"),page.ws.send("get"),!!session.status},session.get=function(key){return page.ws.send("get"),page.session[key]},session.del=function(key){return delete page.session[key],page.session.LastOperateTime=(new Date).valueOf(),page.ws.send('{"del":"'+key+'"}'),page.ws.send("get"),!!session.status},session.close=function(){page.ws.close(),delete page.ws},session.open=function(){session_websocket_ini()}},page.ws.onmessage=function(msg){page.session=JSON.parse(msg.data),session.method="WebSocket",void 0===session.status&&"undefined"==typeof block_aplayer&&player_ini(),session.status=!0},page.ws.onerror=function(err){console.log("Ushio - Session Error::"+JSON.stringify(err)),session.status=!1},page.ws.onclose=function(){console.log("Ushio - Session Connection Lost!!"),session.status=!1}}function session_ajax_ini(){$.get("https://session.yimian.xyz/get?fp="+page.fp,function(res){page.session=res,delete session.set,delete session.get,delete session.del,delete session.open,delete session.close,!1===session.status&&console.log("Ushio - Session Connected!!"),session.set=function(key,val){return page.session[key]=val,page.session.LastOperateTime=(new Date).valueOf(),$.get("https://session.yimian.xyz/set?fp="+page.fp+"&key="+key+"&val="+val+"&t="+page.session.LastOperateTime),$.get("https://session.yimian.xyz/get?fp="+page.fp,function(res2){page.session=res2,session.status=!0,session.method="ajax"}),!!session.status},session.get=function(key){return $.get("https://session.yimian.xyz/get?fp="+page.fp,function(res2){page.session=res2,session.status=!0,session.method="ajax"}),page.session[key]},session.del=function(key){return delete page.session[key],page.session.LastOperateTime=(new Date).valueOf(),$.get("https://session.yimian.xyz/del?fp="+page.fp+"&del="+key+"&t="+page.session.LastOperateTime),$.get("https://session.yimian.xyz/get?fp="+page.fp,function(res2){page.session=res2,session.status=!0,session.method="ajax"}),!!session.status},session.close=function(){},session.open=function(){session.get("LastOperateTime")},void 0===session.status&&"undefined"==typeof block_aplayer&&player_ini(),session.status=!0})}function player_ini(){$.post("https://api.yimian.xyz/msc/?type=single&id="+(null==session.get("aplayer/playing")?"477215840":session.get("aplayer/playing"))+"&limit=15&random=true",function(e){$.post("https://api.yimian.xyz/msc/?type=playlist&id=808097971&limit=14&random=true",function(res){res.unshift(e),$("body").append('');var a=new APlayer({element:document.getElementById("ap-f"),autoplay:!1,fixed:!0,loop:"all",order:"list",listFolded:!0,showlrc:3,theme:"#00CBFF",listmaxheight:"200px",music:res});window.aplayers||(window.aplayers=[]),window.aplayers.push(a),window.aplayers[0].lrc.hide(),"play"==session.get("aplayer/status")&&(window.aplayers[0].play(),window.aplayers[0].audio.paused&&window.aplayers[0].notice("Click Here",2e3,.8)),window.aplayers[0].on("play",function(){session.set("aplayer/status","play"),window.aplayers[0].lrc.show(),void 0===window.aplayers[0].firstTime&&(adjustSeek(),window.aplayers[0].firstTime=!1)}),window.aplayers[0].on("pause",function(){session.set("aplayer/status","pause"),window.aplayers[0].lrc.hide()}),window.aplayers[0].on("listswitch",function(e){session.set("aplayer/playing",window.aplayers[0].list.audios[e.index].id)}),setInterval(function(){try{window.aplayers[0].audio.paused||session.set("aplayer/seek",window.aplayers[0].audio.currentTime)}catch(e){}},1e3)})})}function adjustSeek(){null!=session.get("aplayer/seek")&&window.aplayers[0].audio.currentTime