mycpen-blog 0.0.0-fluedccque → 0.0.0-flupenamct

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
package/img/siteshot.jpg CHANGED
Binary file
package/js/APlayer.js CHANGED
@@ -1 +1 @@
1
- !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(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=41)}([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(t>0?[t,n,i]:[n,i]).map((function(e){return e<10?"0"+e:""+e})).join(":")},getElementViewLeft:function(e){var t=e.offsetLeft,n=e.offsetParent,i=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-i},getElementViewTop:function(e,t){for(var n,i=e.offsetTop,a=e.offsetParent;null!==a;)i+=a.offsetTop,a=a.offsetParent;return n=document.body.scrollTop+document.documentElement.scrollTop,t?i:i-n},isMobile:i,storage:{set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)}},nameMap:{dragStart:i?"touchstart":"mousedown",dragMove:i?"touchmove":"mousemove",dragEnd:i?"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)),i=e[n];e[n]=e[t],e[t]=i}return e}([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Array(e))).map((function(e,t){return t})))}};t.default=a},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.audio,r=(e.$value,e.$index,i.$escape),o=e.theme,s=e.index;return n(a,(function(e,n){t+='\n<li>\n <span class="aplayer-list-cur" style="background-color: ',t+=r(e.theme||o),t+=';"></span>\n <span class="aplayer-list-index">',t+=r(n+s),t+='</span>\n <span class="aplayer-list-title">',t+=r(e.name),t+='</span>\n <span class="aplayer-list-author">',t+=r(e.artist),t+="</span>\n</li>\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 n>i?t:e+(t-e)*((a=n/i)<.5?4*a*a*a:(a-1)*(2*a-2)*(2*a-2)+1);var a},t=function(t,n,i,a){n=n||500;var r=(a=a||window).scrollTop||window.pageYOffset;if("number"==typeof t)var o=parseInt(t);else o=function(e,t){return"HTML"===e.nodeName?-t:e.getBoundingClientRect().top+t}(t,r);var s=Date.now(),l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,15)};!function u(){var c=Date.now()-s;a!==window?a.scrollTop=e(r,o,c,n):window.scroll(0,e(r,o,c,n)),c>n?"function"==typeof i&&i(t):l(u)}()},n=function(e){if(!e.defaultPrevented){e.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var n=document.getElementById(this.hash.substring(1));if(!n)return;t(n,500,(function(e){location.replace("#"+e.id)}))}};return document.addEventListener("DOMContentLoaded",(function(){for(var e,t=document.querySelectorAll('.aplayer a[href^="#"]:not([href="#"])'),i=t.length;e=t[--i];)e.addEventListener("click",n,!1)})),t}})?i.call(t,n,t,e):i)||(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=s(n(1)),r=s(n(0)),o=s(n(5));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.index=0,this.audios=this.player.options.audio,this.bindEvents()}return i(e,[{key:"bindEvents",value:function(){var e=this;this.player.template.list.addEventListener("click",(function(t){var n=void 0;n="LI"===t.target.tagName.toUpperCase()?t.target:t.target.parentElement;var i=parseInt(n.getElementsByClassName("aplayer-list-index")[0].innerHTML)-1;i!==e.index?(e.switch(i),e.player.play()):e.player.toggle()}))}},{key:"show",value:function(){this.player.events.trigger("listshow"),this.player.template.list.classList.remove("aplayer-list-hide"),this.player.template.listOl.scrollTop=33*this.index}},{key:"hide",value:function(){this.player.events.trigger("listhide"),this.player.template.list.classList.add("aplayer-list-hide")}},{key:"toggle",value:function(){this.player.template.list.classList.contains("aplayer-list-hide")?this.show():this.hide()}},{key:"add",value:function(e){this.player.events.trigger("listadd",{audios:e}),"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),e.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e}));var t=!(this.audios.length>1),n=0===this.audios.length;this.player.template.listOl.innerHTML+=(0,a.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;n<t.length;n++)t[n].getElementsByClassName("aplayer-list-index")[0].textContent=n;1===this.audios.length&&this.player.container.classList.remove("aplayer-withlist"),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur")}else this.clear()}},{key:"switch",value:function(e){if(this.player.events.trigger("listswitch",{index:e}),void 0!==e&&this.audios[e]){this.index=e;var t=this.audios[this.index];this.player.template.pic.style.backgroundImage=t.cover?"url('"+t.cover+"')":"",this.player.theme(this.audios[this.index].theme||this.player.options.theme,this.index,!1),this.player.template.title.innerHTML=t.name,this.player.template.author.innerHTML=t.artist?" - "+t.artist:"";var n=this.player.container.getElementsByClassName("aplayer-list-light")[0];n&&n.classList.remove("aplayer-list-light"),this.player.container.querySelectorAll(".aplayer-list li")[this.index].classList.add("aplayer-list-light"),(0,o.default)(33*this.index,500,null,this.player.template.listOl),this.player.setAudio(t),this.player.lrc&&this.player.lrc.switch(this.index),this.player.lrc&&this.player.lrc.update(0),1!==this.player.duration&&(this.player.template.dtime.innerHTML=r.default.secondToTime(this.player.duration))}}},{key:"clear",value:function(){this.player.events.trigger("listclear"),this.index=0,this.player.container.classList.remove("aplayer-withlist"),this.player.pause(),this.audios=[],this.player.lrc&&this.player.lrc.clear(),this.player.audio.src="",this.player.template.listOl.innerHTML="",this.player.template.pic.style.backgroundImage="",this.player.theme(this.player.options.theme,this.index,!1),this.player.template.title.innerHTML="No audio",this.player.template.author.innerHTML="",this.player.bar.set("loaded",0,"width"),this.player.template.dtime.innerHTML=r.default.secondToTime(0)}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.audioEvents=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","mozaudioavailable","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],this.playerEvents=["destroy","listshow","listhide","listadd","listremove","listswitch","listclear","noticeshow","noticehide","lrcshow","lrchide"]}return i(e,[{key:"on",value:function(e,t){this.type(e)&&"function"==typeof t&&(this.events[e]||(this.events[e]=[]),this.events[e].push(t))}},{key:"trigger",value:function(e,t){if(this.events[e]&&this.events[e].length)for(var n=0;n<this.events[e].length;n++)this.events[e][n](t)}},{key:"type",value:function(e){return-1!==this.playerEvents.indexOf(e)?"player":-1!==this.audioEvents.indexOf(e)?"audio":(console.error("Unknown event name: "+e),null)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},this.types=["loading"],this.init()}return i(e,[{key:"init",value:function(){var e=this;this.types.forEach((function(t){e["init"+t+"Checker"]()}))}},{key:"initloadingChecker",value:function(){var e=this,t=0,n=0,i=!1;this.loadingChecker=setInterval((function(){e.enableloadingChecker&&(n=e.player.audio.currentTime,i||n!==t||e.player.audio.paused||(e.player.container.classList.add("aplayer-loading"),i=!0),i&&n>t&&!e.player.audio.paused&&(e.player.container.classList.remove("aplayer-loading"),i=!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 e=this;this.types.forEach((function(t){e["enable"+t+"Checker"]=!1,e[t+"Checker"]&&clearInterval(e[t+"Checker"])}))}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(0)),r=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.initPlayButton(),this.initPlayBar(),this.initOrderButton(),this.initLoopButton(),this.initMenuButton(),a.default.isMobile||this.initVolumeButton(),this.initMiniSwitcher(),this.initSkipButton(),this.initLrcButton()}return i(e,[{key:"initPlayButton",value:function(){var e=this;this.player.template.pic.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initPlayBar",value:function(){var e=this,t=function(t){var n=((t.clientX||t.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;n=Math.max(n,0),n=Math.min(n,1),e.player.bar.set("played",n,"width"),e.player.lrc&&e.player.lrc.update(n*e.player.duration),e.player.template.ptime.innerHTML=a.default.secondToTime(n*e.player.duration)},n=function n(i){document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=((i.clientX||i.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;r=Math.max(r,0),r=Math.min(r,1),e.player.bar.set("played",r,"width"),e.player.seek(e.player.bar.get("played","width")*e.player.duration),e.player.disableTimeupdate=!1};this.player.template.barWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.disableTimeupdate=!0,document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initVolumeButton",value:function(){var e=this;this.player.template.volumeButton.addEventListener("click",(function(){e.player.audio.muted?(e.player.audio.muted=!1,e.player.switchVolumeIcon(),e.player.bar.set("volume",e.player.volume(),"height")):(e.player.audio.muted=!0,e.player.switchVolumeIcon(),e.player.bar.set("volume",0,"height"))}));var t=function(t){var n=1-((t.clientY||t.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;n=Math.max(n,0),n=Math.min(n,1),e.player.volume(n)},n=function n(i){e.player.template.volumeBarWrap.classList.remove("aplayer-volume-bar-wrap-active"),document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=1-((i.clientY||i.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;r=Math.max(r,0),r=Math.min(r,1),e.player.volume(r)};this.player.template.volumeBarWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.template.volumeBarWrap.classList.add("aplayer-volume-bar-wrap-active"),document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initOrderButton",value:function(){var e=this;this.player.template.order.addEventListener("click",(function(){"list"===e.player.options.order?(e.player.options.order="random",e.player.template.order.innerHTML=r.default.orderRandom):"random"===e.player.options.order&&(e.player.options.order="list",e.player.template.order.innerHTML=r.default.orderList)}))}},{key:"initLoopButton",value:function(){var e=this;this.player.template.loop.addEventListener("click",(function(){e.player.list.audios.length>1?"one"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop?(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll):"all"===e.player.options.loop&&(e.player.options.loop="one",e.player.template.loop.innerHTML=r.default.loopOne):"one"===e.player.options.loop||"all"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop&&(e.player.options.loop="all",e.player.template.loop.innerHTML=r.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())}))}}]),e}();t.default=s},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.lyrics,r=(e.$value,e.$index,i.$escape);return n(a,(function(e,n){t+="\n <p",0===n&&(t+=' class="aplayer-lrc-current"'),t+=">",t+=r(e[1]),t+="</p>\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;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(10))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.async=t.async,this.player=t.player,this.parsed=[],this.index=0,this.current=[]}return a(e,[{key:"show",value:function(){this.player.events.trigger("lrcshow"),this.player.template.lrcWrap.classList.remove("aplayer-lrc-hide")}},{key:"hide",value:function(){this.player.events.trigger("lrchide"),this.player.template.lrcWrap.classList.add("aplayer-lrc-hide")}},{key:"toggle",value:function(){this.player.template.lrcWrap.classList.contains("aplayer-lrc-hide")?this.show():this.hide()}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||e<this.current[this.index][0]||!this.current[this.index+1]||e>=this.current[this.index+1][0])for(var t=0;t<this.current.length;t++)e>=this.current[t][0]&&(!this.current[t+1]||e<this.current[t+1][0])&&(this.index=t,this.container.style.transform="translateY("+16*-this.index+"px)",this.container.style.webkitTransform="translateY("+16*-this.index+"px)",this.container.getElementsByClassName("aplayer-lrc-current")[0].classList.remove("aplayer-lrc-current"),this.container.getElementsByTagName("p")[t].classList.add("aplayer-lrc-current"))}},{key:"switch",value:function(e){var t=this;if(!this.parsed[e])if(this.async){this.parsed[e]=[["00:00","Loading"]];var n=new XMLHttpRequest;n.onreadystatechange=function(){e===t.player.list.index&&4===n.readyState&&(n.status>=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,r.default)({lyrics:t.parsed[e]}),t.update(0),t.current=t.parsed[e])};var i=this.player.list.audios[e].lrc;n.open("get",i,!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,r.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=[],i=t.length,a=0;a<i;a++){var r=t[a].match(/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g),o=t[a].replace(/.*\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g,"").replace(/<(\d{2}):(\d{2})(\.(\d{2,3}))?>/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l<s;l++){var u=/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/.exec(r[l]),c=60*u[1]+parseInt(u[2])+(u[4]?parseInt(u[4])/(2===(u[4]+"").length?100:1e3):0);n.push([c,o])}}return(n=n.filter((function(e){return e[1]}))).sort((function(e,t){return e[0]-t[0]})),n}return[]}},{key:"remove",value:function(e){this.parsed.splice(e,1)}},{key:"clear",value:function(){this.parsed=[],this.container.innerHTML=""}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(0))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageName=t.options.storageName,this.data=JSON.parse(r.default.storage.get(this.storageName)),this.data||(this.data={}),this.data.volume=this.data.volume||t.options.volume}return a(e,[{key:"get",value:function(e){return this.data[e]}},{key:"set",value:function(e,t){this.data[e]=t,r.default.storage.set(this.storageName,JSON.stringify(this.data))}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elements={},this.elements.volume=t.volume,this.elements.played=t.played,this.elements.loaded=t.loaded}return i(e,[{key:"set",value:function(e,t,n){t=Math.max(t,0),t=Math.min(t,1),this.elements[e].style[n]=100*t+"%"}},{key:"get",value:function(e,t){return parseFloat(this.elements[e].style[t])/100}}]),e}();t.default=a},function(e,t,n){"use strict";(function(t){e.exports=!1;try{e.exports="[object process]"===Object.prototype.toString.call(t.process)}catch(e){}}).call(this,n(4))},function(e,t,n){"use strict";(function(t){var i=n(14),a=Object.create(i?t:window),r=/["&'<>]/;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<t.length;a++){switch(t.charCodeAt(a)){case 34:s="&#34;";break;case 38:s="&#38;";break;case 39:s="&#39;";break;case 60:s="&#60;";break;case 62:s="&#62;";break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=s}return o!==a?i+t.substring(o,a):i}(function e(t){return"string"!=typeof t&&(t=null==t?"":"function"==typeof t?e(t.call(t)):JSON.stringify(t)),t}(e))},a.$each=function(e,t){if(Array.isArray(e))for(var n=0,i=e.length;n<i;n++)t(e[n],n);else for(var a in e)t(e[a],a)},e.exports=a}).call(this,n(4))},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";var t="",a=(e=e||{}).options,r=e.cover,o=i.$escape,s=e.icons,l=function(e){return t+=e},u=e.getObject;return e.theme,e.audio,e.index,a.fixed?(t+='\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+='\n </ol>\n</div>\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url(&quot;",t+=o(r),t+="&quot;);"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info" style="display: none;">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n</div>\n'):(t+='\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url(&quot;",t+=o(r),t+="&quot;);"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+="\n </ol>\n</div>\n"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(3)),r=o(n(16));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.options=t.options,this.randomOrder=t.randomOrder,this.init()}return i(e,[{key:"init",value:function(){var e="";this.options.audio.length&&(e="random"===this.options.order?this.options.audio[this.randomOrder[0]].cover:this.options.audio[0].cover),this.container.innerHTML=(0,r.default)({options:this.options,icons:a.default,cover:e,getObject:function(e){return e}}),this.lrc=this.container.querySelector(".aplayer-lrc-contents"),this.lrcWrap=this.container.querySelector(".aplayer-lrc"),this.ptime=this.container.querySelector(".aplayer-ptime"),this.info=this.container.querySelector(".aplayer-info"),this.time=this.container.querySelector(".aplayer-time"),this.barWrap=this.container.querySelector(".aplayer-bar-wrap"),this.button=this.container.querySelector(".aplayer-button"),this.body=this.container.querySelector(".aplayer-body"),this.list=this.container.querySelector(".aplayer-list"),this.listOl=this.container.querySelector(".aplayer-list ol"),this.listCurs=this.container.querySelectorAll(".aplayer-list-cur"),this.played=this.container.querySelector(".aplayer-played"),this.loaded=this.container.querySelector(".aplayer-loaded"),this.thumb=this.container.querySelector(".aplayer-thumb"),this.volume=this.container.querySelector(".aplayer-volume"),this.volumeBar=this.container.querySelector(".aplayer-volume-bar"),this.volumeButton=this.container.querySelector(".aplayer-time button"),this.volumeBarWrap=this.container.querySelector(".aplayer-volume-bar-wrap"),this.loop=this.container.querySelector(".aplayer-icon-loop"),this.order=this.container.querySelector(".aplayer-icon-order"),this.menu=this.container.querySelector(".aplayer-icon-menu"),this.pic=this.container.querySelector(".aplayer-pic"),this.title=this.container.querySelector(".aplayer-title"),this.author=this.container.querySelector(".aplayer-author"),this.dtime=this.container.querySelector(".aplayer-dtime"),this.notice=this.container.querySelector(".aplayer-notice"),this.miniSwitcher=this.container.querySelector(".aplayer-miniswitcher"),this.skipBackButton=this.container.querySelector(".aplayer-icon-back"),this.skipForwardButton=this.container.querySelector(".aplayer-icon-forward"),this.skipPlayButton=this.container.querySelector(".aplayer-icon-play"),this.lrcButton=this.container.querySelector(".aplayer-icon-lrc")}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={container:e.element||document.getElementsByClassName("aplayer")[0],mini:e.narrow||e.fixed||!1,fixed:!1,autoplay:!1,mutex:!0,lrcType:e.showlrc||e.lrc||0,preload:"auto",theme:"#b7daff",loop:"all",order:"list",volume:.7,listFolded:e.fixed,listMaxHeight:e.listmaxheight||"250px",audio:e.music||[],storageName:"aplayer-setting"};for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);return"[object Array]"!==Object.prototype.toString.call(e.audio)&&(e.audio=[e.audio]),e.audio.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e})),e.audio.length<=1&&"one"===e.loop&&(e.loop="all"),e}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M26.667 5.333h-21.333c-0 0-0.001 0-0.001 0-1.472 0-2.666 1.194-2.666 2.666 0 0 0 0.001 0 0.001v-0 16c0 0 0 0.001 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0.001 0 0.001 0h21.333c0 0 0.001 0 0.001 0 1.472 0 2.666-1.194 2.666-2.666 0-0 0-0.001 0-0.001v0-16c0-0 0-0.001 0-0.001 0-1.472-1.194-2.666-2.666-2.666-0 0-0.001 0-0.001 0h0zM5.333 16h5.333v2.667h-5.333v-2.667zM18.667 24h-13.333v-2.667h13.333v2.667zM26.667 24h-5.333v-2.667h5.333v2.667zM26.667 18.667h-13.333v-2.667h13.333v2.667z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M25.468 6.947c-0.326-0.172-0.724-0.151-1.030 0.057l-6.438 4.38v-3.553c0-0.371-0.205-0.71-0.532-0.884-0.326-0.172-0.724-0.151-1.030 0.057l-12 8.164c-0.274 0.186-0.438 0.496-0.438 0.827s0.164 0.641 0.438 0.827l12 8.168c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-3.556l6.438 4.382c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-16.333c0-0.371-0.205-0.71-0.532-0.884z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M4 16c0-6.6 5.4-12 12-12s12 5.4 12 12c0 1.2-0.8 2-2 2s-2-0.8-2-2c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c1.2 0 2 0.8 2 2s-0.8 2-2 2c-6.6 0-12-5.4-12-12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M2.667 7.027l1.707-1.693 22.293 22.293-1.693 1.707-4-4h-11.64v4l-5.333-5.333 5.333-5.333v4h8.973l-8.973-8.973v0.973h-2.667v-3.64l-4-4zM22.667 17.333h2.667v5.573l-2.667-2.667v-2.907zM22.667 6.667v-4l5.333 5.333-5.333 5.333v-4h-10.907l-2.667-2.667h13.573z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 33 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333zM17.333 20v-8h-1.333l-2.667 1.333v1.333h2v5.333h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 22 32"><path d="M20.8 14.4q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2zM1.6 11.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2zM20.8 20.8q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M0.622 18.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22.667 4l7 6-7 6 7 6-7 6v-4h-3.653l-3.76-3.76 2.827-2.827 2.587 2.587h2v-8h-2l-12 12h-6v-4h4.347l12-12h3.653v-4zM2.667 8h6l3.76 3.76-2.827 2.827-2.587-2.587h-4.347v-4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056zM29.728 16q0 4.096-2.272 7.552t-6.048 5.056q-0.224 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.64 0.704-1.056 0.128-0.064 0.384-0.192t0.416-0.192q0.8-0.448 1.44-0.896 2.208-1.632 3.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056 0-0.448 0.32-0.8t0.832-0.352q0.224 0 0.448 0.096 3.776 1.632 6.048 5.056t2.272 7.552z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 17 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 31"><path d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"></path></svg>'},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<t;)u&&u[d].run();d=-1,t=c.length}u=null,p=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===s||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||p||l(y)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";(function(e,t){!function(e,n){if(!e.setImmediate){var i,a,r,o,s,l=1,u={},c=!1,p=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick((function(){y(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(o="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&y(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),i=function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){y(e.data)},i=function(e){r.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(a=p.documentElement,i=function(e){var t=p.createElement("script");t.onreadystatechange=function(){y(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):i=function(e){setTimeout(y,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return u[l]=a,i(l),l++},d.clearImmediate=h}function h(e){delete u[e]}function y(e){if(c)setTimeout(y,0,e);else{var t=u[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(undefined,n)}}(t)}finally{h(e),c=!1}}}}}("undefined"==typeof self?void 0===e?void 0:e:self)}).call(this,n(4),n(34))},function(e,t,n){"use strict";var i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=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 n="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=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 o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,i)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":n(t))||"function"==typeof t)){var i=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof i)return void c((a=i,o=t,function(){a.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}var a,o}function l(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;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function c(e,t){var n=!1;try{e((function(e){n||(n=!0,s(t,e))}),(function(e){n||(n=!0,l(t,e))}))}catch(e){if(n)return;n=!0,l(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(a);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))},r.all=function(e){return new r((function(t,i){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var a=Array.prototype.slice.call(e);if(0===a.length)return t([]);var r=a.length;function o(e,s){try{if(s&&("object"===(void 0===s?"undefined":n(s))||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,(function(t){o(e,t)}),i)}a[e]=s,0==--r&&t(a)}catch(e){i(e)}}for(var s=0;s<a.length;s++)o(s,a[s])}))},r.resolve=function(e){return e&&"object"===(void 0===e?"undefined":n(e))&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var i=0,a=e.length;i<a;i++)e[i].then(t,n)}))},r._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){i(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},e.exports=r}).call(this,n(36).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=v(n(37)),r=v(n(0)),o=v(n(3)),s=v(n(18)),l=v(n(17)),u=v(n(13)),c=v(n(12)),p=v(n(11)),d=v(n(9)),h=v(n(8)),y=v(n(7)),f=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}var m=[],g=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=(0,s.default)(t),this.container=this.options.container,this.paused=!0,this.playedPromise=a.default.resolve(),this.mode="normal",this.randomOrder=r.default.randomOrder(this.options.audio.length),this.container.classList.add("aplayer"),this.options.lrcType&&!this.options.fixed&&this.container.classList.add("aplayer-withlrc"),this.options.audio.length>1&&this.container.classList.add("aplayer-withlist"),r.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 n=this.container.getElementsByClassName("aplayer-lrc-content"),i=0;i<n.length;i++)this.options.audio[i]&&(this.options.audio[i].lrc=n[i].innerHTML);this.template=new l.default({container:this.container,options:this.options,randomOrder:this.randomOrder}),this.options.fixed&&(this.container.classList.add("aplayer-fixed"),this.template.body.style.width=this.template.body.offsetWidth-18+"px"),this.options.mini&&(this.setMode("mini"),this.template.info.style.display="block"),this.template.info.offsetWidth<200&&this.template.time.classList.add("aplayer-time-narrow"),this.options.lrcType&&(this.lrc=new p.default({container:this.template.lrc,async:3===this.options.lrcType,player:this})),this.events=new y.default,this.storage=new c.default(this),this.bar=new u.default(this.template),this.controller=new d.default(this),this.timer=new h.default(this),this.list=new f.default(this),this.initAudio(),this.bindEvents(),"random"===this.options.order?this.list.switch(this.randomOrder[0]):this.list.switch(0),this.options.autoplay&&this.play(),m.push(this)}return i(e,[{key:"initAudio",value:function(){var e=this;this.audio=document.createElement("audio"),this.audio.preload=this.options.preload;for(var t=function(t){e.audio.addEventListener(e.events.audioEvents[t],(function(n){e.events.trigger(e.events.audioEvents[t],n)}))},n=0;n<this.events.audioEvents.length;n++)t(n);this.volume(this.storage.get("volume"),!0)}},{key:"bindEvents",value:function(){var e=this;this.on("play",(function(){e.paused&&e.setUIPlaying()})),this.on("pause",(function(){e.paused||e.setUIPaused()})),this.on("timeupdate",(function(){if(!e.disableTimeupdate){e.bar.set("played",e.audio.currentTime/e.duration,"width"),e.lrc&&e.lrc.update();var t=r.default.secondToTime(e.audio.currentTime);e.template.ptime.innerHTML!==t&&(e.template.ptime.innerHTML=t)}})),this.on("durationchange",(function(){1!==e.duration&&(e.template.dtime.innerHTML=r.default.secondToTime(e.duration))})),this.on("progress",(function(){var t=e.audio.buffered.length?e.audio.buffered.end(e.audio.buffered.length-1)/e.duration:0;e.bar.set("loaded",t,"width")}));var t=void 0;this.on("error",(function(){e.list.audios.length>1?(e.notice("An audio error has occurred, player will skip forward in 2 seconds."),t=setTimeout((function(){e.skipForward(),e.paused||e.play()}),2e3)):1===e.list.audios.length&&e.notice("An audio error has occurred.")})),this.events.on("listswitch",(function(){t&&clearTimeout(t)})),this.on("ended",(function(){"none"===e.options.loop?"list"===e.options.order?e.list.index<e.list.audios.length-1?(e.list.switch((e.list.index+1)%e.list.audios.length),e.play()):(e.list.switch((e.list.index+1)%e.list.audios.length),e.pause()):"random"===e.options.order&&(e.randomOrder.indexOf(e.list.index)<e.randomOrder.length-1?(e.list.switch(e.nextIndex()),e.play()):(e.list.switch(e.nextIndex()),e.pause())):"one"===e.options.loop?(e.list.switch(e.list.index),e.play()):"all"===e.options.loop&&(e.skipForward(),e.play())}))}},{key:"setAudio",value:function(e){this.hls&&(this.hls.destroy(),this.hls=null);var t=e.type;this.options.customAudioType&&this.options.customAudioType[t]?"[object Function]"===Object.prototype.toString.call(this.options.customAudioType[t])?this.options.customAudioType[t](this.audio,e,this):console.error("Illegal customType: "+t):(t&&"auto"!==t||(t=/m3u8(#|\?|$)/i.exec(e.url)?"hls":"normal"),"hls"===t?Hls.isSupported()?(this.hls=new Hls,this.hls.loadSource(e.url),this.hls.attachMedia(this.audio)):this.audio.canPlayType("application/x-mpegURL")||this.audio.canPlayType("application/vnd.apple.mpegURL")?this.audio.src=e.url:this.notice("Error: HLS is not supported."):"normal"===t&&(this.audio.src=e.url)),this.seek(0),this.paused||this.audio.play()}},{key:"theme",value:function(){var e=arguments.length>0&&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=r.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=o.default.pause}),100),this.template.skipPlayButton.innerHTML=o.default.pause),this.timer.enable("loading"),this.options.mutex)for(var t=0;t<m.length;t++)this!==m[t]&&m[t].pause()}},{key:"play",value:function(){var e=this;this.setUIPlaying();var t=this.audio.play();t&&t.catch((function(t){console.warn(t),"NotAllowedError"===t.name&&e.setUIPaused()}))}},{key:"setUIPaused",value:function(){var e=this;this.paused||(this.paused=!0,this.template.button.classList.remove("aplayer-pause"),this.template.button.classList.add("aplayer-play"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.play}),100),this.template.skipPlayButton.innerHTML=o.default.play),this.container.classList.remove("aplayer-loading"),this.timer.disable("loading")}},{key:"pause",value:function(){this.setUIPaused(),this.audio.pause()}},{key:"switchVolumeIcon",value:function(){this.volume()>=.95?this.template.volumeButton.innerHTML=o.default.volumeUp:this.volume()>0?this.template.volumeButton.innerHTML=o.default.volumeDown:this.template.volumeButton.innerHTML=o.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(){m.splice(m.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,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;this.template.notice.innerHTML=e,this.template.notice.style.opacity=i,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"}}]),e}();t.default=g},,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(40);var i,a=(i=n(38))&&i.__esModule?i:{default:i};t.default=a.default}]).default}));
1
+ !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(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=41)}([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(t>0?[t,n,i]:[n,i]).map((function(e){return e<10?"0"+e:""+e})).join(":")},getElementViewLeft:function(e){var t=e.offsetLeft,n=e.offsetParent,i=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-i},getElementViewTop:function(e,t){for(var n,i=e.offsetTop,a=e.offsetParent;null!==a;)i+=a.offsetTop,a=a.offsetParent;return n=document.body.scrollTop+document.documentElement.scrollTop,t?i:i-n},isMobile:i,storage:{set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)}},nameMap:{dragStart:i?"touchstart":"mousedown",dragMove:i?"touchmove":"mousemove",dragEnd:i?"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)),i=e[n];e[n]=e[t],e[t]=i}return e}([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Array(e))).map((function(e,t){return t})))}};t.default=a},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.audio,r=(e.$value,e.$index,i.$escape),o=e.theme,s=e.index;return n(a,(function(e,n){t+='\n<li>\n <span class="aplayer-list-cur" style="background-color: ',t+=r(e.theme||o),t+=';"></span>\n <span class="aplayer-list-index">',t+=r(n+s),t+='</span>\n <span class="aplayer-list-title">',t+=r(e.name),t+='</span>\n <span class="aplayer-list-author">',t+=r(e.artist),t+="</span>\n</li>\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 n>i?t:e+(t-e)*((a=n/i)<.5?4*a*a*a:(a-1)*(2*a-2)*(2*a-2)+1);var a},t=function(t,n,i,a){n=n||500;var r=(a=a||window).scrollTop||window.pageYOffset;if("number"==typeof t)var o=parseInt(t);else o=function(e,t){return"HTML"===e.nodeName?-t:e.getBoundingClientRect().top+t}(t,r);var s=Date.now(),l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,15)};!function u(){var c=Date.now()-s;a!==window?a.scrollTop=e(r,o,c,n):window.scroll(0,e(r,o,c,n)),c>n?"function"==typeof i&&i(t):l(u)}()},n=function(e){if(!e.defaultPrevented){e.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var n=document.getElementById(this.hash.substring(1));if(!n)return;t(n,500,(function(e){location.replace("#"+e.id)}))}};return document.addEventListener("DOMContentLoaded",(function(){for(var e,t=document.querySelectorAll('.aplayer a[href^="#"]:not([href="#"])'),i=t.length;e=t[--i];)e.addEventListener("click",n,!1)})),t}})?i.call(t,n,t,e):i)||(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=s(n(1)),r=s(n(0)),o=s(n(5));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.index=0,this.audios=this.player.options.audio,this.bindEvents()}return i(e,[{key:"bindEvents",value:function(){var e=this;this.player.template.list.addEventListener("click",(function(t){var n=void 0;n="LI"===t.target.tagName.toUpperCase()?t.target:t.target.parentElement;var i=parseInt(n.getElementsByClassName("aplayer-list-index")[0].innerHTML)-1;i!==e.index?(e.switch(i),e.player.play()):e.player.toggle()}))}},{key:"show",value:function(){this.player.events.trigger("listshow"),this.player.template.list.classList.remove("aplayer-list-hide"),this.player.template.listOl.scrollTop=33*this.index}},{key:"hide",value:function(){this.player.events.trigger("listhide"),this.player.template.list.classList.add("aplayer-list-hide")}},{key:"toggle",value:function(){this.player.template.list.classList.contains("aplayer-list-hide")?this.show():this.hide()}},{key:"add",value:function(e){this.player.events.trigger("listadd",{audios:e}),"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),e.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e}));var t=!(this.audios.length>1),n=0===this.audios.length;this.player.template.listOl.innerHTML+=(0,a.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;n<t.length;n++)t[n].getElementsByClassName("aplayer-list-index")[0].textContent=n;1===this.audios.length&&this.player.container.classList.remove("aplayer-withlist"),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur")}else this.clear()}},{key:"switch",value:function(e){if(this.player.events.trigger("listswitch",{index:e}),void 0!==e&&this.audios[e]){this.index=e;var t=this.audios[this.index];this.player.template.pic.style.backgroundImage=t.cover?"url('"+t.cover+"')":"",this.player.theme(this.audios[this.index].theme||this.player.options.theme,this.index,!1),this.player.template.title.innerHTML=t.name,this.player.template.author.innerHTML=t.artist?" - "+t.artist:"";var n=this.player.container.getElementsByClassName("aplayer-list-light")[0];n&&n.classList.remove("aplayer-list-light"),this.player.container.querySelectorAll(".aplayer-list li")[this.index].classList.add("aplayer-list-light"),(0,o.default)(33*this.index,500,null,this.player.template.listOl),this.player.setAudio(t),this.player.lrc&&this.player.lrc.switch(this.index),this.player.lrc&&this.player.lrc.update(0),1!==this.player.duration&&(this.player.template.dtime.innerHTML=r.default.secondToTime(this.player.duration))}}},{key:"clear",value:function(){this.player.events.trigger("listclear"),this.index=0,this.player.container.classList.remove("aplayer-withlist"),this.player.pause(),this.audios=[],this.player.lrc&&this.player.lrc.clear(),this.player.audio.src="",this.player.template.listOl.innerHTML="",this.player.template.pic.style.backgroundImage="",this.player.theme(this.player.options.theme,this.index,!1),this.player.template.title.innerHTML="No audio",this.player.template.author.innerHTML="",this.player.bar.set("loaded",0,"width"),this.player.template.dtime.innerHTML=r.default.secondToTime(0)}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.audioEvents=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","mozaudioavailable","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],this.playerEvents=["destroy","listshow","listhide","listadd","listremove","listswitch","listclear","noticeshow","noticehide","lrcshow","lrchide"]}return i(e,[{key:"on",value:function(e,t){this.type(e)&&"function"==typeof t&&(this.events[e]||(this.events[e]=[]),this.events[e].push(t))}},{key:"trigger",value:function(e,t){if(this.events[e]&&this.events[e].length)for(var n=0;n<this.events[e].length;n++)this.events[e][n](t)}},{key:"type",value:function(e){return-1!==this.playerEvents.indexOf(e)?"player":-1!==this.audioEvents.indexOf(e)?"audio":(console.error("Unknown event name: "+e),null)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},this.types=["loading"],this.init()}return i(e,[{key:"init",value:function(){var e=this;this.types.forEach((function(t){e["init"+t+"Checker"]()}))}},{key:"initloadingChecker",value:function(){var e=this,t=0,n=0,i=!1;this.loadingChecker=setInterval((function(){e.enableloadingChecker&&(n=e.player.audio.currentTime,i||n!==t||e.player.audio.paused||(e.player.container.classList.add("aplayer-loading"),i=!0),i&&n>t&&!e.player.audio.paused&&(e.player.container.classList.remove("aplayer-loading"),i=!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 e=this;this.types.forEach((function(t){e["enable"+t+"Checker"]=!1,e[t+"Checker"]&&clearInterval(e[t+"Checker"])}))}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(0)),r=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.initPlayButton(),this.initPlayBar(),this.initOrderButton(),this.initLoopButton(),this.initMenuButton(),a.default.isMobile||this.initVolumeButton(),this.initMiniSwitcher(),this.initSkipButton(),this.initLrcButton()}return i(e,[{key:"initPlayButton",value:function(){var e=this;this.player.template.pic.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initPlayBar",value:function(){var e=this,t=function(t){var n=((t.clientX||t.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;n=Math.max(n,0),n=Math.min(n,1),e.player.bar.set("played",n,"width"),e.player.lrc&&e.player.lrc.update(n*e.player.duration),e.player.template.ptime.innerHTML=a.default.secondToTime(n*e.player.duration)},n=function n(i){document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=((i.clientX||i.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;r=Math.max(r,0),r=Math.min(r,1),e.player.bar.set("played",r,"width"),e.player.seek(e.player.bar.get("played","width")*e.player.duration),e.player.disableTimeupdate=!1};this.player.template.barWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.disableTimeupdate=!0,document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initVolumeButton",value:function(){var e=this;this.player.template.volumeButton.addEventListener("click",(function(){e.player.audio.muted?(e.player.audio.muted=!1,e.player.switchVolumeIcon(),e.player.bar.set("volume",e.player.volume(),"height")):(e.player.audio.muted=!0,e.player.switchVolumeIcon(),e.player.bar.set("volume",0,"height"))}));var t=function(t){var n=1-((t.clientY||t.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;n=Math.max(n,0),n=Math.min(n,1),e.player.volume(n)},n=function n(i){e.player.template.volumeBarWrap.classList.remove("aplayer-volume-bar-wrap-active"),document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=1-((i.clientY||i.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;r=Math.max(r,0),r=Math.min(r,1),e.player.volume(r)};this.player.template.volumeBarWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.template.volumeBarWrap.classList.add("aplayer-volume-bar-wrap-active"),document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initOrderButton",value:function(){var e=this;this.player.template.order.addEventListener("click",(function(){"list"===e.player.options.order?(e.player.options.order="random",e.player.template.order.innerHTML=r.default.orderRandom):"random"===e.player.options.order&&(e.player.options.order="list",e.player.template.order.innerHTML=r.default.orderList)}))}},{key:"initLoopButton",value:function(){var e=this;this.player.template.loop.addEventListener("click",(function(){e.player.list.audios.length>1?"one"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop?(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll):"all"===e.player.options.loop&&(e.player.options.loop="one",e.player.template.loop.innerHTML=r.default.loopOne):"one"===e.player.options.loop||"all"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop&&(e.player.options.loop="all",e.player.template.loop.innerHTML=r.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())}))}}]),e}();t.default=s},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.lyrics,r=(e.$value,e.$index,i.$escape);return n(a,(function(e,n){t+="\n <p",0===n&&(t+=' class="aplayer-lrc-current"'),t+=">",t+=r(e[1]),t+="</p>\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;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(10))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.async=t.async,this.player=t.player,this.parsed=[],this.index=0,this.current=[]}return a(e,[{key:"show",value:function(){this.player.events.trigger("lrcshow"),this.player.template.lrcWrap.classList.remove("aplayer-lrc-hide")}},{key:"hide",value:function(){this.player.events.trigger("lrchide"),this.player.template.lrcWrap.classList.add("aplayer-lrc-hide")}},{key:"toggle",value:function(){this.player.template.lrcWrap.classList.contains("aplayer-lrc-hide")?this.show():this.hide()}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||e<this.current[this.index][0]||!this.current[this.index+1]||e>=this.current[this.index+1][0])for(var t=0;t<this.current.length;t++)e>=this.current[t][0]&&(!this.current[t+1]||e<this.current[t+1][0])&&(this.index=t,this.container.style.transform="translateY("+16*-this.index+"px)",this.container.style.webkitTransform="translateY("+16*-this.index+"px)",this.container.getElementsByClassName("aplayer-lrc-current")[0].classList.remove("aplayer-lrc-current"),this.container.getElementsByTagName("p")[t].classList.add("aplayer-lrc-current"))}},{key:"switch",value:function(e){var t=this;if(!this.parsed[e])if(this.async){this.parsed[e]=[["00:00","Loading"]];var n=new XMLHttpRequest;n.onreadystatechange=function(){e===t.player.list.index&&4===n.readyState&&(n.status>=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,r.default)({lyrics:t.parsed[e]}),t.update(0),t.current=t.parsed[e])};var i=this.player.list.audios[e].lrc;n.open("get",i,!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,r.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=[],i=t.length,a=0;a<i;a++){var r=t[a].match(/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g),o=t[a].replace(/.*\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g,"").replace(/<(\d{2}):(\d{2})(\.(\d{2,3}))?>/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l<s;l++){var u=/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/.exec(r[l]),c=60*u[1]+parseInt(u[2])+(u[4]?parseInt(u[4])/(2===(u[4]+"").length?100:1e3):0);n.push([c,o])}}return(n=n.filter((function(e){return e[1]}))).sort((function(e,t){return e[0]-t[0]})),n}return[]}},{key:"remove",value:function(e){this.parsed.splice(e,1)}},{key:"clear",value:function(){this.parsed=[],this.container.innerHTML=""}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(0))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageName=t.options.storageName,this.data=JSON.parse(r.default.storage.get(this.storageName)),this.data||(this.data={}),this.data.volume=this.data.volume||t.options.volume}return a(e,[{key:"get",value:function(e){return this.data[e]}},{key:"set",value:function(e,t){this.data[e]=t,r.default.storage.set(this.storageName,JSON.stringify(this.data))}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elements={},this.elements.volume=t.volume,this.elements.played=t.played,this.elements.loaded=t.loaded}return i(e,[{key:"set",value:function(e,t,n){t=Math.max(t,0),t=Math.min(t,1),this.elements[e].style[n]=100*t+"%"}},{key:"get",value:function(e,t){return parseFloat(this.elements[e].style[t])/100}}]),e}();t.default=a},function(e,t,n){"use strict";(function(t){e.exports=!1;try{e.exports="[object process]"===Object.prototype.toString.call(t.process)}catch(e){}}).call(this,n(4))},function(e,t,n){"use strict";(function(t){var i=n(14),a=Object.create(i?t:window),r=/["&'<>]/;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<t.length;a++){switch(t.charCodeAt(a)){case 34:s="&#34;";break;case 38:s="&#38;";break;case 39:s="&#39;";break;case 60:s="&#60;";break;case 62:s="&#62;";break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=s}return o!==a?i+t.substring(o,a):i}(function e(t){return"string"!=typeof t&&(t=null==t?"":"function"==typeof t?e(t.call(t)):JSON.stringify(t)),t}(e))},a.$each=function(e,t){if(Array.isArray(e))for(var n=0,i=e.length;n<i;n++)t(e[n],n);else for(var a in e)t(e[a],a)},e.exports=a}).call(this,n(4))},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";var t="",a=(e=e||{}).options,r=e.cover,o=i.$escape,s=e.icons,l=function(e){return t+=e},u=e.getObject;return e.theme,e.audio,e.index,a.fixed?(t+='\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+='\n </ol>\n</div>\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url(&quot;",t+=o(r),t+="&quot;);"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info" style="display: none;">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n</div>\n'):(t+='\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url(&quot;",t+=o(r),t+="&quot;);"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+="\n </ol>\n</div>\n"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(3)),r=o(n(16));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.options=t.options,this.randomOrder=t.randomOrder,this.init()}return i(e,[{key:"init",value:function(){var e="";this.options.audio.length&&(e="random"===this.options.order?this.options.audio[this.randomOrder[0]].cover:this.options.audio[0].cover),this.container.innerHTML=(0,r.default)({options:this.options,icons:a.default,cover:e,getObject:function(e){return e}}),this.lrc=this.container.querySelector(".aplayer-lrc-contents"),this.lrcWrap=this.container.querySelector(".aplayer-lrc"),this.ptime=this.container.querySelector(".aplayer-ptime"),this.info=this.container.querySelector(".aplayer-info"),this.time=this.container.querySelector(".aplayer-time"),this.barWrap=this.container.querySelector(".aplayer-bar-wrap"),this.button=this.container.querySelector(".aplayer-button"),this.body=this.container.querySelector(".aplayer-body"),this.list=this.container.querySelector(".aplayer-list"),this.listOl=this.container.querySelector(".aplayer-list ol"),this.listCurs=this.container.querySelectorAll(".aplayer-list-cur"),this.played=this.container.querySelector(".aplayer-played"),this.loaded=this.container.querySelector(".aplayer-loaded"),this.thumb=this.container.querySelector(".aplayer-thumb"),this.volume=this.container.querySelector(".aplayer-volume"),this.volumeBar=this.container.querySelector(".aplayer-volume-bar"),this.volumeButton=this.container.querySelector(".aplayer-time button"),this.volumeBarWrap=this.container.querySelector(".aplayer-volume-bar-wrap"),this.loop=this.container.querySelector(".aplayer-icon-loop"),this.order=this.container.querySelector(".aplayer-icon-order"),this.menu=this.container.querySelector(".aplayer-icon-menu"),this.pic=this.container.querySelector(".aplayer-pic"),this.title=this.container.querySelector(".aplayer-title"),this.author=this.container.querySelector(".aplayer-author"),this.dtime=this.container.querySelector(".aplayer-dtime"),this.notice=this.container.querySelector(".aplayer-notice"),this.miniSwitcher=this.container.querySelector(".aplayer-miniswitcher"),this.skipBackButton=this.container.querySelector(".aplayer-icon-back"),this.skipForwardButton=this.container.querySelector(".aplayer-icon-forward"),this.skipPlayButton=this.container.querySelector(".aplayer-icon-play"),this.lrcButton=this.container.querySelector(".aplayer-icon-lrc")}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={container:e.element||document.getElementsByClassName("aplayer")[0],mini:e.narrow||e.fixed||!1,fixed:!1,autoplay:!1,mutex:!0,lrcType:e.showlrc||e.lrc||0,preload:"auto",theme:"#b7daff",loop:"all",order:"list",volume:.7,listFolded:e.fixed,listMaxHeight:e.listmaxheight||"250px",audio:e.music||[],storageName:"aplayer-setting"};for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);return"[object Array]"!==Object.prototype.toString.call(e.audio)&&(e.audio=[e.audio]),e.audio.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e})),e.audio.length<=1&&"one"===e.loop&&(e.loop="all"),e}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M26.667 5.333h-21.333c-0 0-0.001 0-0.001 0-1.472 0-2.666 1.194-2.666 2.666 0 0 0 0.001 0 0.001v-0 16c0 0 0 0.001 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0.001 0 0.001 0h21.333c0 0 0.001 0 0.001 0 1.472 0 2.666-1.194 2.666-2.666 0-0 0-0.001 0-0.001v0-16c0-0 0-0.001 0-0.001 0-1.472-1.194-2.666-2.666-2.666-0 0-0.001 0-0.001 0h0zM5.333 16h5.333v2.667h-5.333v-2.667zM18.667 24h-13.333v-2.667h13.333v2.667zM26.667 24h-5.333v-2.667h5.333v2.667zM26.667 18.667h-13.333v-2.667h13.333v2.667z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M25.468 6.947c-0.326-0.172-0.724-0.151-1.030 0.057l-6.438 4.38v-3.553c0-0.371-0.205-0.71-0.532-0.884-0.326-0.172-0.724-0.151-1.030 0.057l-12 8.164c-0.274 0.186-0.438 0.496-0.438 0.827s0.164 0.641 0.438 0.827l12 8.168c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-3.556l6.438 4.382c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-16.333c0-0.371-0.205-0.71-0.532-0.884z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M4 16c0-6.6 5.4-12 12-12s12 5.4 12 12c0 1.2-0.8 2-2 2s-2-0.8-2-2c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c1.2 0 2 0.8 2 2s-0.8 2-2 2c-6.6 0-12-5.4-12-12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M2.667 7.027l1.707-1.693 22.293 22.293-1.693 1.707-4-4h-11.64v4l-5.333-5.333 5.333-5.333v4h8.973l-8.973-8.973v0.973h-2.667v-3.64l-4-4zM22.667 17.333h2.667v5.573l-2.667-2.667v-2.907zM22.667 6.667v-4l5.333 5.333-5.333 5.333v-4h-10.907l-2.667-2.667h13.573z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 33 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333zM17.333 20v-8h-1.333l-2.667 1.333v1.333h2v5.333h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 22 32"><path d="M20.8 14.4q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2zM1.6 11.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2zM20.8 20.8q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M0.622 18.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22.667 4l7 6-7 6 7 6-7 6v-4h-3.653l-3.76-3.76 2.827-2.827 2.587 2.587h2v-8h-2l-12 12h-6v-4h4.347l12-12h3.653v-4zM2.667 8h6l3.76 3.76-2.827 2.827-2.587-2.587h-4.347v-4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056zM29.728 16q0 4.096-2.272 7.552t-6.048 5.056q-0.224 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.64 0.704-1.056 0.128-0.064 0.384-0.192t0.416-0.192q0.8-0.448 1.44-0.896 2.208-1.632 3.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056 0-0.448 0.32-0.8t0.832-0.352q0.224 0 0.448 0.096 3.776 1.632 6.048 5.056t2.272 7.552z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 17 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 31"><path d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"></path></svg>'},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<t;)u&&u[d].run();d=-1,t=c.length}u=null,p=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===s||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||p||l(y)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";(function(e,t){!function(e){if(!e.setImmediate){var n,i,a,r,o,s=1,l={},u=!1,c=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){h(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&h(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(e){a.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(i=c.documentElement,n=function(e){var t=c.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(h,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var a={callback:e,args:t};return l[s]=a,n(s),s++},p.clearImmediate=d}function d(e){delete l[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(undefined,n)}}(t)}finally{d(e),u=!1}}}}}("undefined"==typeof self?void 0===e?void 0:e:self)}).call(this,n(4),n(34))},function(e,t,n){"use strict";var i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=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 n="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=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 o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,i)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":n(t))||"function"==typeof t)){var i=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof i)return void c((a=i,o=t,function(){a.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}var a,o}function l(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;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function c(e,t){var n=!1;try{e((function(e){n||(n=!0,s(t,e))}),(function(e){n||(n=!0,l(t,e))}))}catch(e){if(n)return;n=!0,l(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(a);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))},r.all=function(e){return new r((function(t,i){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var a=Array.prototype.slice.call(e);if(0===a.length)return t([]);var r=a.length;function o(e,s){try{if(s&&("object"===(void 0===s?"undefined":n(s))||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,(function(t){o(e,t)}),i)}a[e]=s,0==--r&&t(a)}catch(e){i(e)}}for(var s=0;s<a.length;s++)o(s,a[s])}))},r.resolve=function(e){return e&&"object"===(void 0===e?"undefined":n(e))&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var i=0,a=e.length;i<a;i++)e[i].then(t,n)}))},r._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){i(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},e.exports=r}).call(this,n(36).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=v(n(37)),r=v(n(0)),o=v(n(3)),s=v(n(18)),l=v(n(17)),u=v(n(13)),c=v(n(12)),p=v(n(11)),d=v(n(9)),h=v(n(8)),y=v(n(7)),f=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}var m=[],g=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=(0,s.default)(t),this.container=this.options.container,this.paused=!0,this.playedPromise=a.default.resolve(),this.mode="normal",this.randomOrder=r.default.randomOrder(this.options.audio.length),this.container.classList.add("aplayer"),this.options.lrcType&&!this.options.fixed&&this.container.classList.add("aplayer-withlrc"),this.options.audio.length>1&&this.container.classList.add("aplayer-withlist"),r.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 n=this.container.getElementsByClassName("aplayer-lrc-content"),i=0;i<n.length;i++)this.options.audio[i]&&(this.options.audio[i].lrc=n[i].innerHTML);this.template=new l.default({container:this.container,options:this.options,randomOrder:this.randomOrder}),this.options.fixed&&(this.container.classList.add("aplayer-fixed"),this.template.body.style.width=this.template.body.offsetWidth-18+"px"),this.options.mini&&(this.setMode("mini"),this.template.info.style.display="block"),this.template.info.offsetWidth<200&&this.template.time.classList.add("aplayer-time-narrow"),this.options.lrcType&&(this.lrc=new p.default({container:this.template.lrc,async:3===this.options.lrcType,player:this})),this.events=new y.default,this.storage=new c.default(this),this.bar=new u.default(this.template),this.controller=new d.default(this),this.timer=new h.default(this),this.list=new f.default(this),this.initAudio(),this.bindEvents(),"random"===this.options.order?this.list.switch(this.randomOrder[0]):this.list.switch(0),this.options.autoplay&&this.play(),m.push(this)}return i(e,[{key:"initAudio",value:function(){var e=this;this.audio=document.createElement("audio"),this.audio.preload=this.options.preload;for(var t=function(t){e.audio.addEventListener(e.events.audioEvents[t],(function(n){e.events.trigger(e.events.audioEvents[t],n)}))},n=0;n<this.events.audioEvents.length;n++)t(n);this.volume(this.storage.get("volume"),!0)}},{key:"bindEvents",value:function(){var e=this;this.on("play",(function(){e.paused&&e.setUIPlaying()})),this.on("pause",(function(){e.paused||e.setUIPaused()})),this.on("timeupdate",(function(){if(!e.disableTimeupdate){e.bar.set("played",e.audio.currentTime/e.duration,"width"),e.lrc&&e.lrc.update();var t=r.default.secondToTime(e.audio.currentTime);e.template.ptime.innerHTML!==t&&(e.template.ptime.innerHTML=t)}})),this.on("durationchange",(function(){1!==e.duration&&(e.template.dtime.innerHTML=r.default.secondToTime(e.duration))})),this.on("progress",(function(){var t=e.audio.buffered.length?e.audio.buffered.end(e.audio.buffered.length-1)/e.duration:0;e.bar.set("loaded",t,"width")}));var t=void 0;this.on("error",(function(){e.list.audios.length>1?(e.notice("An audio error has occurred, player will skip forward in 2 seconds."),t=setTimeout((function(){e.skipForward(),e.paused||e.play()}),2e3)):1===e.list.audios.length&&e.notice("An audio error has occurred.")})),this.events.on("listswitch",(function(){t&&clearTimeout(t)})),this.on("ended",(function(){"none"===e.options.loop?"list"===e.options.order?e.list.index<e.list.audios.length-1?(e.list.switch((e.list.index+1)%e.list.audios.length),e.play()):(e.list.switch((e.list.index+1)%e.list.audios.length),e.pause()):"random"===e.options.order&&(e.randomOrder.indexOf(e.list.index)<e.randomOrder.length-1?(e.list.switch(e.nextIndex()),e.play()):(e.list.switch(e.nextIndex()),e.pause())):"one"===e.options.loop?(e.list.switch(e.list.index),e.play()):"all"===e.options.loop&&(e.skipForward(),e.play())}))}},{key:"setAudio",value:function(e){this.hls&&(this.hls.destroy(),this.hls=null);var t=e.type;this.options.customAudioType&&this.options.customAudioType[t]?"[object Function]"===Object.prototype.toString.call(this.options.customAudioType[t])?this.options.customAudioType[t](this.audio,e,this):console.error("Illegal customType: "+t):(t&&"auto"!==t||(t=/m3u8(#|\?|$)/i.exec(e.url)?"hls":"normal"),"hls"===t?Hls.isSupported()?(this.hls=new Hls,this.hls.loadSource(e.url),this.hls.attachMedia(this.audio)):this.audio.canPlayType("application/x-mpegURL")||this.audio.canPlayType("application/vnd.apple.mpegURL")?this.audio.src=e.url:this.notice("Error: HLS is not supported."):"normal"===t&&(this.audio.src=e.url)),this.seek(0),this.paused||this.audio.play()}},{key:"theme",value:function(){var e=arguments.length>0&&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=r.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=o.default.pause}),100),this.template.skipPlayButton.innerHTML=o.default.pause),this.timer.enable("loading"),this.options.mutex)for(var t=0;t<m.length;t++)this!==m[t]&&m[t].pause()}},{key:"play",value:function(){var e=this;this.setUIPlaying();var t=this.audio.play();t&&t.catch((function(t){console.warn(t),"NotAllowedError"===t.name&&e.setUIPaused()}))}},{key:"setUIPaused",value:function(){var e=this;this.paused||(this.paused=!0,this.template.button.classList.remove("aplayer-pause"),this.template.button.classList.add("aplayer-play"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.play}),100),this.template.skipPlayButton.innerHTML=o.default.play),this.container.classList.remove("aplayer-loading"),this.timer.disable("loading")}},{key:"pause",value:function(){this.setUIPaused(),this.audio.pause()}},{key:"switchVolumeIcon",value:function(){this.volume()>=.95?this.template.volumeButton.innerHTML=o.default.volumeUp:this.volume()>0?this.template.volumeButton.innerHTML=o.default.volumeDown:this.template.volumeButton.innerHTML=o.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(){m.splice(m.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,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;this.template.notice.innerHTML=e,this.template.notice.style.opacity=i,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"}}]),e}();t.default=g},,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(40);var i,a=(i=n(38))&&i.__esModule?i:{default:i};t.default=a.default}]).default}));
package/js/custom.js CHANGED
@@ -1 +1 @@
1
- function _0x286f(e,t){var a=_0x425c();return(_0x286f=function(e,t){return a[e-=231]})(e,t)}function _0x425c(){var e=[" / ","data-fancybox","getTime","querySelector","#p_span_day","body","#p_span_year","善解人意的","谦虚的","test","darkmode_consoleSwitch","#article-container #mycpen1-about-page-tag-sponsor-part a","already-clear-clickEvent","focus","#newYear .newYear-time","afterend","hide-aside","series","mycpen1-link-page-tag-2","abs","有决策能力的","origin","forEach","lineStyle","name"," | Mycpen","onmouseover","tags-chart","darkmode_sidebarSwitch","lost_friends","hour"," MYCPEN BLOG ","splice","有协调能力的","机智的",".page-number","linkPageFetchShow","owoBigfunc","flink-mycpen1-rss-lost-friends","input[name='email']","11.30","IMG","links",'\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ',"距 2022-08-28 上线","addedNodes","axisLine","addEventListener","floor","09.09","慷慨的","#inpName","display:flex; height:","now","#console","-01-01 00:00:00","undefined","markLine","getItem","getDay","waterfall","复制成功","#bber time","dark","card-widget-schedule","17126lquiZH","含蓄的","#bber","label","体贴的","getNavRightPagePercent","removeClass","务实的","\n链接:","#name","page-name","xAxis","insertAdjacentHTML","essayReplaceAll","localhost:4000","cssText","currentTarget","categories-chart","push","style","tagPageActive","善良的","有激情的","querySelectorAll",'\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="',"start","innerText","next","真诚的","hideConsole","prev",'\n <p><a class="cf-article-title" href="',"join","night_to_day","迷人的",'</a>\n </div>\n <div class="cf-overshow-content">\n ',"px;","input[name='commail']","vertical","flink-mycpen1-rss-unknown-friends","OwO-body","bbtalk","load","show","switchPostChart","有商业头脑的","appendChild","length","温暖的","onmouseenter","MTAvMjIvMTk5OCAwMA==","link","onscroll","statistical_data","细心的","setAttribute","setOption","#comment_author","children","classList","cardRefreshTimes","src","gray !important;","可爱的","mycpen1-about-page-tag","stringify","ceil","type","有个性的","total_friend_num","long","#inpEmail","hasAttribute","NzcheckLink","pathname","MjIvMjA1OCAwMDowMA==","parse","#pBar_week","&type=goDown","#838391","Happy New Year!","MDgvMjgvMjAyMiA=","post?link=","</a><span ","px; left:","created","round","changeNavPageNameTitle",'<i class="fa-solid fa-clock"></i> <span>距离</span> ',"replace","有分析能力的","keyCode","dispatchEvent","getAttribute","progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)","categoryPageActive","NzcheckLocalSite","setHours","#article-container .flink .flink-list > .flink-list-item.失联 > a","守信的","西红柿","darkmode_navswitch","宽容的","率直的","input[name='comname']","page/","文静的",".cf-overshow","喜欢思考的","input[name='mail']","</div></div>","有团队精神的","none","add","loadFBComment","already-redirect-link","clientHeight","px; top:","value","1320466BQdspk","data-theme",".schedule-r2 .schedule-d1 .aside-span2","#newYear .title","具有批判性思维的","朴素的","concat","豁达的","closeAboutAplayer","day_to_night","29rXACpb","美丽的","cookieconsent","#cf-overshow > :not(.cf-overshow-close)","pause","MTAvMjIvMjA=","essayReflashEssayWaterFall","toPage","remove","mycpen.cn","click","link_list","removeEventListener","mycpen1-essay-page-tag","善于沟通的","</span></p>\n ","有担当的","#newYear .today","#ds-dialog-email",'<span class="happyNewYear">新年快乐</span>',"date_suffix","light","noopener external nofollow noreferrer","scrollHeight","edgeless","textContent","西兰花","then","05/23/2025 00:00:00","saveData","replaceChild",".cf-overshow-close","toLocaleDateString","aside-status","color: #fadfa3; background: #030307; padding:5px 0;","距 2025-05-23 计时","change","有眼光的","info","善于领导的",".page .layout #tag #tag-page-tags","未获取到文章卡片","09.18","el-textarea__inner","深刻的","createEvent","select","自信的","#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon","845mGguuK","disqus_thread","split","富有想象力的","max","haveValue","tag","postv2?name=","min","有学习能力的","善于表达的","setMonth","input[name='nick']","独立的","#consoleHideAside","title","#post-comment","offsetHeight","\n%c","有专业素养的","https://hexo-circle.cpen.top/","4ChoTNK","random","console","toPageText","/redirect.html?url=","开放的","getMonth","disqusReset","1251899reVono","有责任心的","apply","pjax:complete","background: #fadfa3; padding:5px 0;","toFixed","yAxis","_blank","post-comment",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"createElement","09.30","friendstatus","PressEscapeKey","#pBar_month","#edeff5","距 2058-00-00 计时","HTMLEvents","Snackbar","喜欢学习的","location","getElementById","#nav-totop","有组织能力的","toPageButton","有同情心的","avatar","href","有责任感的","$1:$2$3","setItem","trim","set","有冒险精神的","#waterfall","padEnd","documentElement","好奇的","60UBHcnD",'" target="_blank" rel="noopener nofollow" data-title="',"成熟的","firstChild","contains","data",'<span class="day">',"返回顶部","有智慧的","nameTextStyle","legend","display","哈密瓜",".schedule-r3 .schedule-d1 .aside-span2","endsWith","essayDiffDate","100%","getFullYear","datetime","朝气蓬勃的","getDate","#author","pageYOffset","我们使用 cookie 来确保在我们的网站上为您提供最佳体验。","catch","from","27AFKbKl","axisLabel","猕猴桃","#ds-dialog-name","05.12","cf-overshow","log","div","inline","function","距 2028-00-00 计时","cf-overlay","not_lost_friends","423381Vfacpd","有逻辑思维的","尊重他人的","有想象力的","color:#030307","comment-tips","posts-chart","bind","observe","offsetX","article_num","1168453sZLLho","#cf-overshow > .cf-overshow-close","loadData","initialise","owo-big","color"," / 024","disconnect","getElementsByTagName","initEvent","mycpen1-tags-page-cloudTags-","有思想的","mycpen1-link-page-tag","04.04","#mail","getElementsByClassName","object",".essay_bar_swiper_container","#percent","MjggMDA6MDA6MDA=","theme","copy","keydown","attributes","3990XNwOBK","footer","time","className","apipublicurl","addClass","有远见的","input[name='author']","367368TNVFjy","css","nextElementSibling","干净的","OjAw",".share","scrollTo","setDate","rel",'<span class="unit">天</span></span>',"cf-show-now","offsetTop","setSelectionRange","%c ","MTA=","20QGOhkE","07.07","innerHTML","clientWidth","#email","#p_span_month","includes",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-fluedccque/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"开朗的","input","category","json","mycpen1-categories-page-cloudCategories-","100.00","#4C4948","12.13","preventDefault","onmouseout","textStyle","大方的","温柔的",".tk-comments-container a:not(.already-redirect-link)","scrollY","target","DISQUS","padStart","有正义感的","contextmenu","有爱心的","getFooterRandomFlink","autoplay","坚强的","敏捷的","幽默的"," <span>年</span>","toString","火龙果","顽强的","好棒!","snackbarShow","dataset","linkPageLoadFcircleShow","英俊的","grayscale(100%)","firstElementChild","mycpen1-fcircle-page-tag",".tk-avatar.tk-clickable:not(.already-clear-clickEvent)"];return(_0x425c=function(){return e})()}var _0xafa7dd=_0x286f;!function(e,t){for(var a=_0x286f,n=_0x425c();;)try{if(131037===-parseInt(a(382))/1*(parseInt(a(253))/2)+parseInt(a(537))/3*(parseInt(a(452))/4)+parseInt(a(431))/5*(-parseInt(a(572))/6)+-parseInt(a(372))/7+-parseInt(a(580))/8*(parseInt(a(524))/9)+-parseInt(a(595))/10*(-parseInt(a(460))/11)+-parseInt(a(498))/12*(-parseInt(a(548))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x286f;"Mycpen - Personal Blog"==document.title?document[e(481)]("page-name")[e(279)]=document[e(446)]:document[e(481)](e(263))[e(279)]=document[e(446)][e(433)](e(667))[0]},getNavRightPagePercent(){var e=_0x286f;let t=document[e(496)].scrollTop||window[e(520)],a=Math[e(435)](document[e(647)][e(405)],document.documentElement[e(405)],document[e(647)][e(448)],document[e(496)][e(448)],document.body[e(369)],document.documentElement.clientHeight)-document[e(496)][e(369)],n=Math[e(339)](t/a*100),o=document[e(645)](e(566));n<=99||(n=99),o[e(597)]=n,r=window[e(617)]+document[e(496)][e(369)],p=document[e(481)](e(468))||document[e(481)](e(573)),p.offsetTop+p[e(448)]/2<r||90<n?(document.querySelector(e(482))[e(312)][e(366)](e(323)),o[e(597)]=e(505)):(document[e(645)](e(482)).classList[e(390)](e(323)),o.innerHTML=n)},share(){var e=_0x286f;let t=window[e(480)][e(663)]+window[e(480)][e(327)];new ClipboardJS(e(585),{text:function(){var a=e;return"标题:"+document.title+a(261)+t}}),btf[e(634)](e(249))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0x286f;localStorage[a(490)](e,JSON[a(318)]({time:Date[a(241)](),data:t}))},loadData:(e,t)=>{var a=_0x286f;let n=JSON[a(329)](localStorage[a(246)](e));if(n){let e=Date.now()-n[a(574)];if(e<60*t*1e3&&e>-1)return n[a(503)]}return 0},randomLink:()=>{var t=_0x286f;let a=e[t(550)](t(684),30);if(a){let e=document.querySelectorAll("#friend-links-in-footer .footer-item");if(!e[t(300)])return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math[t(453)]()*a[t(300)])}while("失联"===a[o][t(437)]);e[n].innerText=a[o][t(666)],e[n][t(487)]=a[o][t(304)],e[n].title=a[o][t(666)],e[n][t(618)]=t(467),e[n][t(588)]="noopener external nofollow noreferrer",a[t(674)](o,1)}}else fetch("https://cdn.cbd.int/mycpen-blog@0.0.0-fluedccque/json/link.json")[t(409)]((e=>e.json())).then((a=>{var n=t;e[n(411)](n(684),a[n(393)]),e.randomLink()}))}};e.randomLink()},newYearCountdownCard(){(()=>{var e=_0x286f;if(clearTimeout(null),!document[e(645)]("#newYear"))return;let t=new Date((new Date)[e(515)]()+1+"-01-01 00:00:00")[e(644)]()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,c=o[n(458)]()+1,r=o[n(518)]();c=c>9?c:"0"+c,r=r>9?r:"0"+r,document[n(645)](n(399))[n(597)]=o.getFullYear()+"-"+c+"-"+r+" "+a[o.getDay()];let s=t-Math.round(o[n(644)]()/1e3);s<0?(document[n(645)](n(375))[n(597)]=n(333),document[n(645)](n(656))[n(597)]=n(401)):(document[n(645)](n(375))[n(597)]=n(341)+((new Date).getFullYear()+1)+n(629),document[n(645)](n(656))[n(597)]=n(504)+Math[n(319)](s/86400)+n(589))}()})()},removeBodyPaceClass:function(){var e=_0x286f;$(e(647))[e(259)](),$(e(647))[e(577)]("pace-done")},toPage:function(){var e=_0x286f,t=document[e(276)](".page-number"),a=parseInt(t[t[e(300)]-1][e(597)]),n=document.getElementById("toPageText"),o=parseInt(n[e(371)]);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var c,r=window[e(480)].href.replace(/\/page\/\d+\/$/,"/");c=1===o?r:r+(r[e(512)]("/")?"":"/")+e(358)+o+"/",document[e(481)](e(484))[e(487)]=c}},listenToPageInputPress(){var e=_0x286f,t=document[e(481)](e(455)),a=document[e(481)](e(484));t&&(t[e(235)](e(570),(t=>{var n=e;13===t.keyCode&&(mycpen1js[n(389)](),pjax.loadUrl(a.href))})),t[e(235)](e(604),(function(){var n=e;""===t[n(371)]||"0"===t[n(371)]?a[n(312)][n(390)](n(436)):a[n(312)].add(n(436));var o=document.querySelectorAll(n(677)),c=+o[o[n(300)]-1][n(597)];+document[n(481)]("toPageText")[n(371)]>c&&(t[n(371)]=c)})))},showConsole:function(){var e=_0x286f;document[e(645)](e(242))[e(312)][e(366)](e(296)),mycpen1js.initConsoleState()},hideConsole:function(){var e=_0x286f;document[e(645)](e(242))[e(312)][e(390)](e(296))},hideAsideBtn:()=>{var e=_0x286f;const t=document[e(496)][e(312)];t.contains(e(658))?saveToLocal.set(e(415),"show",2):saveToLocal[e(492)](e(415),"hide",2),t.toggle(e(658)),t[e(502)](e(658))?document.querySelector("#consoleHideAside")[e(312)][e(366)]("on"):document[e(645)]("#consoleHideAside")[e(312)].remove("on")},initConsoleState:function(){var e=_0x286f;document[e(496)][e(312)][e(502)](e(658))?document[e(645)](e(445)).classList[e(366)]("on"):document[e(645)]("#consoleHideAside")[e(312)].remove("on")},tagPageActive:function(){var e=_0x286f,t=window[e(480)][e(327)];if(/\/tags\/.*?\//.test(t=decodeURIComponent(t))){var a=t[e(433)]("/")[2];if(document.querySelector(e(422))){$("a")[e(259)](e(428));var n=document[e(481)](e(558)+a);n&&n[e(312)][e(366)](e(428))}}},categoryPageActive:function(){var e=_0x286f,t=window[e(480)][e(327)];if(/\/categories\/.*?\//[e(651)](t=decodeURIComponent(t))){var a=t[e(433)]("/")[2];if(document[e(645)](".page .layout #category #category-page-categories")){$("a")[e(259)](e(428));var n=document.getElementById(e(607)+a);n&&n.classList[e(366)](e(428))}}},addRandomCommentInfo:function(){var e=_0x286f;const t=[e(383),e(637),"聪明的","勇敢的",e(316),e(238),e(274),"可靠的",e(603),e(500),"稳重的",e(281),e(628),e(379),"有趣的","活泼的","优雅的",e(627),e(615),e(301),"敬业的",e(307),"耐心的","深沉的",e(377),e(254),e(356),e(457),e(260),e(626),e(429),e(650),e(359),e(426),"纯真的",e(517),"慎重的",e(614),e(632),e(287),e(676),e(649),e(434),"有魅力的",e(444),e(497),e(583),e(355),e(539),e(257),e(352),"有耐性的",e(461),e(398),e(578),e(506),e(419),e(493),e(623),e(485),e(361),e(479),e(376),e(441),e(396),"善于合作的",e(421),e(275),"有幽默感的",e(559),e(321),e(621),e(488),"有创造力的",e(540),"有艺术细胞的",e(364),e(675),e(662),e(483),e(440),"有执行能力的",e(343),e(538),"有创新能力的",e(450),e(298)],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜",e(353),"洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜",e(408),"蘑菇","金针菇","苹果","香蕉","橙子","柠檬",e(526),"草莓","葡萄","桃子","杏子","李子","石榴","西瓜",e(510),"蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子",e(631)],n=""+t[Math[e(236)](Math.random()*t[e(300)])]+a[Math[e(236)](Math[e(453)]()*a[e(300)])];!function(){for(var t=e,a=[t(519),t(357),t(239),t(579),t(527),t(262),t(443),t(310)],o=[t(562),t(599),t(290),t(324),t(681),t(400),t(362),"#comment_email"],c=0;c<a[t(300)];c++){var r=document[t(645)](a[c]);if(null!=r){r[t(371)]=n,r[t(345)](new Event(t(604))),r[t(345)](new Event(t(418)));break}}for(var s=0;s<o[t(300)];s++){var i=document[t(645)](o[s]);if(null!=i){i[t(371)]="donotreply@mycpen.cn",i[t(345)](new Event(t(604))),i[t(345)](new Event("change"));break}}}();var o=document[e(563)](e(425))[0];o[e(655)](),o[e(592)](-1,-1)},owoBigfunc(){var e=_0x286f;document[e(481)](e(468))&&function(){var t=e;let a=1,n="",o=document[t(470)](t(531)),c=document.querySelector(t(647));o.id=t(552),c[t(299)](o),new MutationObserver((e=>{var r=t;for(let t=0;t<e[r(300)];t++){let s=e[t][r(233)],i="";2==s[r(300)]&&s[1][r(575)]==r(293)&&(i=s[1],document.body[r(598)]<=768&&i[r(235)](r(622),(e=>e[r(611)]())),i[r(668)]=e=>{var t=r;a&&e.target.tagName==t(683)&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e[a(618)][a(369)],r=3*e[a(618)][a(598)],s=e.x-e[a(546)]-(r-e[a(618)][a(598)])/2,i=e.y-e.offsetY;s+r>c.clientWidth&&(s-=s+r-c[a(598)]+10),s<0&&(s=10),o[a(272)][a(268)]=a(240)+n+"px; width:"+r+a(337)+s+a(370)+i+a(289),o[a(597)]='<img src="'+e[a(618)][a(314)]+'">'}),300))},i[r(612)]=()=>{var e=r;o.style[e(509)]=e(365),a=1,clearTimeout(n)})}}))[t(545)](document[t(481)]("post-comment"),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0x286f;function t(){var e=_0x286f;const t=document[e(645)](".aplayer-fixed .aplayer-icon.aplayer-icon-lrc");t&&(a[e(555)](),setTimeout((()=>{t[e(392)]()}),1))}const a=new MutationObserver(((e,a)=>{var n=_0x286f;for(let a of e)"childList"===a[n(320)]&&t()}));a[e(545)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x286f;("dark"===document[e(496)][e(346)]("data-theme")?e(251):"light")===e(403)?(activateDarkMode(),saveToLocal[e(492)](e(568),e(251),2),void 0!==GLOBAL_CONFIG[e(478)]&&btf[e(634)](GLOBAL_CONFIG.Snackbar[e(381)])):(activateLightMode(),saveToLocal[e(492)](e(568),e(403),2),void 0!==GLOBAL_CONFIG[e(478)]&&btf[e(634)](GLOBAL_CONFIG[e(478)][e(286)])),typeof utterancesTheme===e(533)&&utterancesTheme(),typeof FB===e(564)&&window[e(367)](),window[e(619)]&&document.getElementById(e(432))[e(311)].length&&setTimeout((()=>window[e(459)]()),200)},essayUnknownPart(){},essayReplaceAll(e,t,a){var n=_0x286f;return e[n(433)](t)[n(285)](a)},essayDiffDate:function(e,t=!1){var a=_0x286f;const n=new Date,o=new Date(e),c=n[a(644)]()-o[a(644)](),r=36e5,s=864e5;let i;if(t){const e=c/s,t=c/r,n=c/6e4;i=c/2592e6>=1?o[a(414)]()[a(342)](/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG[a(402)].day:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(402)][a(672)]:n>=1?parseInt(n)+" "+GLOBAL_CONFIG[a(402)][a(439)]:GLOBAL_CONFIG[a(402)].just}else i=parseInt(c/s);return i},essayChangeTimeInEssay:function(){var e=_0x286f;document[e(645)](e(255))&&document[e(276)](e(250))[e(664)]((function(t){var a=e,n=t,o=n[a(346)](a(516));n[a(279)]=mycpen1js[a(513)](o,!0),n[a(272)][a(509)]=a(532)}))},essayReflashEssayWaterFall:function(){var e=_0x286f;document[e(645)](e(494))&&setTimeout((function(){var t=e;waterfall(t(494)),document[t(481)](t(248))[t(312)].add(t(296))}),500)},essayCommentText:function(e){var t=_0x286f;var a=document[t(645)](t(447)).offsetTop;window[t(586)](0,a-80),e!=t(244)&&"null"!=e||(e=t(633)),function t(){setTimeout((()=>{var a=_0x286f,n=document[a(563)](a(425))[0];n||t();let o=document[a(427)](a(477));o[a(557)](a(604),!0,!0);let c=mycpen1js[a(266)](e,"\n","\n> ");n[a(371)]="> "+c+"\n\n",n[a(345)](o),n[a(655)](),n[a(592)](-1,-1),document[a(481)]("comment-tips")&&document[a(481)](a(542))[a(312)][a(366)](a(296))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x286f;let t=new Swiper(e(565),{passiveListeners:!0,direction:e(291),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document.getElementById(e(294));null!==a&&(a[e(302)]=function(){t.autoplay.stop()},a.onmouseleave=function(){var a=e;t[a(625)][a(278)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x286f,t=document[e(556)](e(574)),a=0;a<t[e(300)];a++){var n,o=t[a][e(346)]("datetime"),c=new Date(o),r=(new Date)[e(644)]()-c[e(644)](),s=Math[e(236)](r/864e5);0===s?n="最近":1===s?n="昨天":2===s?n="前天":s<=7?n=s+"天前":c[e(515)]()!==(new Date)[e(515)]()?(Essaymonth=c[e(458)]()+1,EssayDay=c[e(518)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=c[e(515)]()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=c.getMonth()+1,EssayDay=c.getDate(),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a][e(407)]=n}},switchPostChart:function(){var e=_0x286f;let t=document.documentElement[e(346)](e(373))===e(403)?e(609):"rgba(255,255,255,0.7)";if(document[e(481)](e(543))&&postsOption)try{let a=postsOption;a[e(446)][e(613)].color=t,a[e(264)][e(507)][e(553)]=t,a[e(466)][e(507)][e(553)]=t,a[e(264)][e(525)][e(553)]=t,a[e(466)][e(525)].color=t,a[e(264)][e(234)].lineStyle[e(553)]=t,a[e(466)][e(234)][e(665)].color=t,a.series[0][e(245)].data[0][e(256)][e(553)]=t,postsChart[e(309)](a)}catch(t){console[e(530)](t)}if(document[e(481)](e(669))&&tagsOption)try{let a=tagsOption;a[e(446)].textStyle[e(553)]=t,a[e(264)][e(507)][e(553)]=t,a[e(466)].nameTextStyle[e(553)]=t,a.xAxis[e(525)][e(553)]=t,a.yAxis[e(525)][e(553)]=t,a[e(264)][e(234)][e(665)][e(553)]=t,a[e(466)][e(234)].lineStyle[e(553)]=t,a[e(659)][0].markLine[e(503)][0].label[e(553)]=t,tagsChart[e(309)](a)}catch(t){console[e(530)](t)}if(document[e(481)](e(270))&&categoriesOption)try{let a=categoriesOption;a[e(446)][e(613)][e(553)]=t,a[e(508)].textStyle.color=t,!categoryParentFlag&&(a.series[0][e(256)][e(553)]=t),categoriesChart[e(309)](a)}catch(t){console[e(530)](t)}},cpRemind(){var e=_0x286f;document[e(235)](e(569),(function(t){var a=e;window.getSelection()[a(630)]()[a(491)]()[a(300)]>0&&btf.snackbarShow(a(249))}))},closeAboutAplayer(){var e=_0x286f;if(!document.getElementById("mycpen1-about-page-tag"))try{about_page_ap[e(386)](),about_page_ap=void 0,about_page_weekSong=void 0,about_page_now=void 0,about_page_weekSong_today=void 0}catch(e){}},grey(){var e=_0x286f,t=new Date,a=t.getMonth()+1,n=t.getDate(),o=[e(561),e(528),e(596),"08.14",e(237),e(424),e(471),e(682),e(610)];for(var c of o){var r=c[e(433)](".");if(a==r[0]&&n==r[1]){var s=e(638);$("html")[e(581)]({filter:e(315),filter:e(347),filter:s,"-webkit-filter":s,"-moz-filter":s,"-ms-filter":s,"-o-filter":s});break}}},console(){var e=_0x286f,t=new Date,a=console[e(530)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(334))+atob("MDA6MDA6MDA=")),c=new Date(atob(n(303))+":"+atob("MDA6MDA=")),r=new Date(""+atob(n(387))+atob(n(567))),s=new Date(atob(n(594))+"/"+atob(n(328))+atob(n(584))),i=new Date(n(410));t.setTime(t[n(644)]()+250);o=[n(673)," "+window[n(480)][n(663)]+" ","\n\n",n(232),Math[n(236)](Math[n(661)](t-o)/1e3/60/60/24+(t-o<0?1:0))[n(630)]().padEnd(5," "),"天","距 1998-00-00 计时",Math.floor(Math[n(661)](t-c)/1e3/60/60/24+(t-c<0?1:0))[n(630)]().padEnd(5," "),"天",n(534),Math[n(236)](Math[n(661)](t-r)/1e3/60/60/24+(t-r<0?1:0))[n(630)]()[n(495)](5," "),"天",n(476),Math[n(236)](Math[n(661)](t-s)/1e3/60/60/24+(t-s<0?1:0))[n(630)]().padEnd(5," "),"天",n(417),Math[n(236)](Math[n(661)](t-i)/1e3/60/60/24+(t-i<0?1:0)).toString()[n(495)](5," "),"天 (阿里云)"];setTimeout(function(){a[_0x286f(462)](console,arguments)}[n(544)](console,n(449)[n(378)](o[0],"%c").concat(o[1],"%c").concat(o[2],"%c").concat(o[3],n(593))[n(378)](o[4],n(593))[n(378)](o[5],"\n")[n(378)](o[6],n(593)).concat(o[7],n(593))[n(378)](o[8],"\n").concat(o[9],n(593))[n(378)](o[10],"%c ")[n(378)](o[11],"\n")[n(378)](o[12],n(593))[n(378)](o[13],n(593))[n(378)](o[14],"\n").concat(o[15],n(593))[n(378)](o[16],n(593)).concat(o[17],"\n").concat("\n"),n(416),n(464),"color:#fadfa3","",n(541),"","color:#030307","",n(541),"","color:#030307","",n(541),""))}))},cardRefreshTimes(){var e=_0x286f;const t=(new Date).getFullYear(),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,c=new Date((new Date).getFullYear()+e(243)),r=document[e(481)](e(252));r&&(asideDay=(o-c)/1e3/60/60/24,r[e(645)]("#pBar_year")[e(371)]=asideDay,r[e(645)]("#pBar_year").max=a,yearPercentage=(asideDay/a*100)[e(465)](2),displayYearPercentage=yearPercentage===e(608)?e(514):yearPercentage+"%",r[e(645)](e(648)).innerHTML=displayYearPercentage,r[e(645)](".schedule-r0 .schedule-d1 .aside-span2")[e(597)]=(Math.floor(10*(a-asideDay))/10)[e(465)](1)+e(642)+a,currentDateMonth=new Date,currentDateMonth.setDate(1),currentDateMonth.setHours(0,0,0,0),currentMonthTimestamp=currentDateMonth.getTime(),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(458)](),currentDateMonthTotal[e(442)](currentMonth+1,1),currentDateMonthTotal[e(587)](0),asideMonthDays=currentDateMonthTotal.getDate(),r[e(645)](e(474))[e(371)]=asideMonthDay,r[e(645)](e(474))[e(435)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100)[e(465)](2),displayMonthPercentage=monthPercentage===e(608)?e(514):monthPercentage+"%",r[e(645)](e(600)).innerHTML=displayMonthPercentage,r[e(645)](".schedule-r1 .schedule-d1 .aside-span2").innerHTML=(Math[e(236)](10*(asideMonthDays-asideMonthDay))/10).toFixed(1)+e(642)+asideMonthDays[e(630)]()[e(620)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek[e(247)](),currentWeekTimestamp=currentDateWeek.setHours(0,0,0,0),firstDayOfWeekTimestamp=currentWeekTimestamp-24*(0===currentDayOfWeek?6:currentDayOfWeek-1)*60*60*1e3,pastWeekTimestamp=o-firstDayOfWeekTimestamp,asideWeekDay=pastWeekTimestamp/1e3/60/60/24,r[e(645)](e(330))[e(371)]=asideWeekDay,weekPercentage=(asideWeekDay/7*100)[e(465)](2),displayWeekPercentage=weekPercentage===e(608)?e(514):weekPercentage+"%",r.querySelector("#p_span_week")[e(597)]=displayWeekPercentage,r[e(645)](e(374)).innerHTML=(Math[e(236)](10*(7-asideWeekDay))/10)[e(465)](1)+" / 007",currentTimeStamp=(new Date)[e(644)](),startOfDay=new Date,startOfDay[e(350)](0,0,0,0),startOfDayTimeStamp=startOfDay[e(644)](),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,r.querySelector("#pBar_day")[e(371)]=asideTodayHour,dayPercentage=(100*asideToday).toFixed(2),displayDayPercentage=dayPercentage===e(608)?"100%":dayPercentage+"%",r[e(645)](e(646))[e(597)]=displayDayPercentage,r[e(645)](e(511)).innerHTML=(Math[e(236)](10*(24-asideTodayHour))/10)[e(465)](1)+e(554),month=o.getMonth()+1,day=o[e(518)](),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document[e(645)]("#aside-content .card-widget#card-widget-schedule .item-content .schedule-today")[e(597)]=o[e(515)]()+"-"+month+"-"+day+" "+week[o[e(247)]()])},PressEscapeKey(e){var t=_0x286f;27===e[t(344)]&&(document[t(481)](t(454))&&mycpen1js[t(282)](),document[t(481)](t(535))&&document[t(481)]("cf-overshow")&&(document.querySelector(t(413))||document[t(645)](t(360)))&&(document[t(481)](t(640))&&closeShow(),document[t(481)](t(560))&&mycpen1js.linkPageCloseShow()))},linkPageOpenMeShow(e){var t=_0x286f,a="ok",n=t(469),o=document[t(481)](t(560));o&&(document[t(481)](t(535))||o[t(265)]("afterend",n)),e[t(611)]();var c,r=e.currentTarget.dataset.link[t(342)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,t(489));c={apipublicurl:"https://hexo-circle.cpen.top/"}[t(576)]+t(335)+r,"ok"==a&&(a="no",mycpen1js[t(678)](c))},linkPageOpenMeShowV2(e){var t=_0x286f,a={apipublicurl:t(451)},n="ok",o=t(469),c=document.getElementById("mycpen1-link-page-tag");c&&(document[t(481)](t(535))||c[t(265)](t(657),o)),e[t(611)]();var r,s=encodeURIComponent(e[t(269)][t(635)][t(666)]);r=a[t(576)]+t(438)+s,"ok"==n&&(n="no",mycpen1js[t(678)](r))},linkPageCloseShow(){var e=_0x286f;document.getElementById("cf-overlay")[e(575)]-=e(590),document[e(481)]("cf-overshow")[e(575)]-="cf-show-now",setTimeout((function(){var t=e,a=document[t(276)](t(385)),n=document[t(276)](t(549));a.forEach((function(e){e[t(390)]()}));for(var o=1;o<n[t(300)];o++)n[o][t(390)]()}),100)},linkPageFetchShow(_0x5dfbc6){var _0x247952=_0x286f,_0x5c49f0=_0x247952(231);fetch(_0x5dfbc6)[_0x247952(409)]((e=>e[_0x247952(606)]())).then((_0xec0660=>{var _0x21e32f=_0x247952;noClick="ok";var _0x36f6a2=_0xec0660[_0x21e32f(306)],_0x4be11f=eval(_0xec0660.article_data);0!==_0x36f6a2[_0x21e32f(547)]?(mycpen1js[_0x21e32f(636)](_0x36f6a2,_0x4be11f),document[_0x21e32f(481)](_0x21e32f(535))[_0x21e32f(575)]=_0x21e32f(590),document[_0x21e32f(481)](_0x21e32f(529))[_0x21e32f(265)]("afterbegin",_0x5c49f0)):btf[_0x21e32f(634)]("未获取到订阅内容")}))[_0x247952(522)]((e=>{var t=_0x247952;btf.snackbarShow(t(423))}))},linkPageLoadFcircleShow(e,t){for(var a=_0x286f,n=a(277)+e[a(486)]+a(602)+e.link+'">'+e[a(666)]+a(288),o=0;o<e[a(547)];o++){var c=t[o];let e="";Date.now()-new Date(c[a(338)]+" 00:00:00")[a(644)]()<=1728e5&&(e='style="color: var(--mycpen1-main); opacity: 1;"'),n+=a(284)+c[a(304)]+a(499)+c.title+'">'+c[a(446)]+a(336)+e+">"+c.created+a(397)}n+=a(363),document[a(481)](a(529))[a(265)]("beforeend",n),document[a(481)](a(529))[a(575)]="cf-show-now"},linkPageRssAliveCheck(){var e=_0x286f;apiurl=e(451),rssAliveCheckUrl=apiurl+e(472),fetch(rssAliveCheckUrl)[e(409)]((e=>e.json())).then((t=>{var a=e,n=t[a(671)],o=t[a(536)],c=t[a(322)];let r=[];for(const e in n){let t=n[e];t=t[a(342)](/^https?:\/\//,""),t=t.replace(/\/$/,""),r[a(271)](t)}let s=[];for(const e in o){let t=o[e];t=t[a(342)](/^https?:\/\//,""),t=t.replace(/\/$/,""),s.push(t)}document.querySelectorAll(a(430))[a(664)]((e=>{var t=a;if(e){let a=e[t(346)]("data-link")[t(342)](/^https?:\/\//,"");a=a[t(342)](/\/$/,""),c>0?s[t(601)](a)?e[t(312)].add("flink-mycpen1-rss-not-lost-friends"):r[t(601)](a)?e.classList.add(t(680)):e[t(312)][t(366)](t(292)):0===c&&e[t(312)][t(366)](t(680))}}))}))},NzcheckLink:async e=>{var t=_0x286f;const a=document.querySelectorAll(e);if(a){let e=new RegExp(/^[#].*/);for(let c=0;c<a[t(300)];c++){const r=a[c];var n=r[t(325)](t(643)),o=r[t(312)][t(502)](t(368));if(!n&&!o){let a=r.getAttribute(t(487)),n=r[t(346)]("data-download"),o=r[t(346)](t(588));e[t(651)](a)||o===t(283)||o===t(280)||o===t(605)||o===t(437)||"javascript:void(0);"===a||(await mycpen1js[t(349)](a)||n?!await mycpen1js.NzcheckLocalSite(a)&&"goDown"===n&&r[t(308)](t(487),t(456)+btoa(a)+t(331)):r[t(308)](t(487),"/redirect.html?url="+btoa(a)))}r[t(312)][t(366)]("already-redirect-link")}}},NzcheckLocalSite:async e=>{var t=_0x286f;try{const a=[t(267),"cpen.top",t(391)];let n=!1;for(let o=0;o<a.length;o++){const c=a[o];if(e[t(601)](c)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0x286f;window[e(235)](e(295),(()=>{var t=e;window[t(384)][t(551)]({type:t(420),theme:t(406),static:!1,position:"bottom-right",content:{message:t(521),dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:t(475),text:t(332)},button:{background:"#4b81e8"}}})}))}};function whenDOMReadyMycpen1JS(){var e=_0xafa7dd;mycpen1js[e(340)](),mycpen1js[e(624)](),mycpen1js.removeBodyPaceClass(),mycpen1js[e(273)](),mycpen1js[e(348)](),mycpen1js.listenToPageInputPress(),mycpen1js[e(679)](),document[e(481)](e(395))&&(mycpen1js.essayChangeTimeInEssayByMycpen(),mycpen1js[e(388)](),window.onresize=()=>{var t=e;document[t(481)](t(395))&&(mycpen1js[t(388)](),setTimeout((()=>{mycpen1js.essayReflashEssayWaterFall()}),300))}),document[e(481)]("darkmode")[e(235)](e(392),(function(){setTimeout(mycpen1js[e(297)],100)})),document[e(481)](e(354))[e(235)]("click",(function(){setTimeout(mycpen1js[e(297)],100)})),document[e(481)](e(652))[e(235)]("click",(function(){setTimeout(mycpen1js[e(297)],100)})),document[e(481)](e(670))[e(235)](e(392),(function(){setTimeout(mycpen1js[e(297)],100)})),mycpen1js.cpRemind(),mycpen1js[e(380)](),document.getElementById(e(252))&&(mycpen1js[e(313)](),setInterval((()=>{mycpen1js[e(313)]()}),1e3)),document[e(481)](e(660))&&mycpen1js.linkPageRssAliveCheck(),document[e(481)]("mycpen1-link-page-tag")&&(mycpen1js.NzcheckLink("#article-container .flink .flink-list > .flink-list-item.单向 > a"),mycpen1js[e(326)](e(351))),document[e(481)](e(317))&&mycpen1js[e(326)](e(653)),document[e(481)](e(468))&&setInterval((()=>{var t=e;if(document.querySelector(".tk-comments-container")){mycpen1js.NzcheckLink(t(616));document[t(276)](t(641)).forEach((e=>{var a=t;e.classList[a(366)](a(654));const n=document[a(470)]("a");for(Array[a(523)](e[a(571)])[a(664)]((e=>{var t=a;n[t(308)](e.name,e[t(371)])}));e[a(501)];)n[a(299)](e[a(501)]);e.parentNode[a(412)](n,e);const o=n[a(582)][a(639)].firstElementChild.firstElementChild.getAttribute(a(487));n[a(308)](a(487),o),n[a(308)]("target","_blank"),n.setAttribute(a(588),a(404))}))}}),1e3)}mycpen1js.console(),document[_0xafa7dd(394)]("keydown",mycpen1js[_0xafa7dd(473)]),document[_0xafa7dd(235)](_0xafa7dd(570),mycpen1js.PressEscapeKey),window[_0xafa7dd(305)]=mycpen1js[_0xafa7dd(258)],mycpen1js.removeaAlayerFixedLrc(),whenDOMReadyMycpen1JS(),document[_0xafa7dd(235)](_0xafa7dd(463),whenDOMReadyMycpen1JS);
1
+ var _0x31afd7=_0x29ed;function _0x2b6a(){var e=["linkPageRssAliveCheck","有组织能力的","createEvent","toString","干净的","className","darkmode_sidebarSwitch","08.14","善良的","有想象力的","max","真诚的","/redirect.html?url=","距 2022-08-28 上线","hide",'style="color: var(--mycpen1-main); opacity: 1;"',"disqusjs","#name","childList","then","07.07","addClass","changeNavPageNameTitle","background: #fadfa3; padding:5px 0;","essayReflashEssayWaterFall","date_suffix","美丽的","cpen.top","有正义感的","火龙果","currentTarget","有魅力的","location","有协调能力的","cf-overlay","慷慨的","footer","有趣的","距 1998-00-00 计时","09.18","#comment_author","textStyle","concat","night_to_day",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"有商业头脑的","100.00","appendChild","tagPageActive","time","onresize","4047570xurHLk","start","disqus_thread","el-textarea__inner","log","有爱心的","setHours","dark","#waterfall","Happy New Year!","clientHeight","mycpen.cn","removeBodyPaceClass","contextmenu","keyCode","</a><span ","name","change","getElementById","有思想的","$1:$2$3","disqus","豁达的","setOption","有激情的","#pBar_week","avatar","vertical","linkPageCloseShow","input","info","936fCulHv","getItem","darkmode_navswitch","nameTextStyle","#cf-overshow > .cf-overshow-close"," | Mycpen","addedNodes","有个性的","getTime","comment-tips","聪明的","target","PressEscapeKey","globalFn","insertAdjacentHTML","input[name='commail']","dispatchEvent"," 00:00:00","猕猴桃","务实的","length","rel","random","https://hexo-circle.cpen.top/","remove","contains","dataset","initEvent","mycpen1-about-page-tag","padEnd","forEach","DISQUS","好棒!",'<span class="happyNewYear">新年快乐</span>',"input[name='email']","温柔的","noopener external nofollow noreferrer","有学习能力的",".cf-overshow-close","classList","theme","有专业素养的","setMonth","darkmode_consoleSwitch","statistical_data","#4b81e8","body",".tk-avatar.tk-clickable:not(.already-clear-clickEvent)","20hjiiPL","HTMLEvents","data-theme","gray !important;",".page .layout #tag #tag-page-tags","有冒险精神的","color","card-widget-schedule","getElementsByTagName","善解人意的","有智慧的","split","#consoleHideAside","push","勇敢的","scrollY","axisLine","object","loadUrl","可爱的","floor","MjggMDA6MDA6MDA=","clientWidth","#ds-dialog-email","article_data","input[name='comname']","includes","</span></p>\n ","toPageText","25568zVQsDS","率直的","style","有创造力的","waterfall","now","pageYOffset","朝气蓬勃的"," / 007","开朗的","cf-overshow","顽强的","textContent","disconnect","post-comment","cssText","linkPageFetchShow","innerText","apipublicurl","机智的","未获取到订阅内容","\n> ","大方的","posts-chart","4234434IIZgQg","MDgvMjgvMjAyMiA=","#comment_email",'\n <p><a class="cf-article-title" href="',"initConsoleState","long","我们使用 cookie 来确保在我们的网站上为您提供最佳体验。","documentElement","\n链接:","initialise","attributes","display","owo-big","json",".schedule-r0 .schedule-d1 .aside-span2","稳重的","文静的",'<img src="',"宽容的","beforeend","Snackbar","type","snackbarShow","firstChild","_blank","owoBigfunc","pace-done","none",'<span class="unit">天</span></span>',"#percent","stop","善于沟通的","pjax:complete","offsetX","categoryPageActive","set","有艺术细胞的","yAxis","onmouseout","querySelectorAll","aside-status","donotreply@mycpen.cn","NzcheckLocalSite"," MYCPEN BLOG ","join","喜欢思考的","haveValue","OwO-body","listenToPageInputPress","input[name='author']","href","返回顶部","mycpen1-link-page-tag","day","grayscale(100%)","links","哈密瓜","data-download","data-fancybox","04.04","friendstatus","color:#fadfa3","getMonth","迷人的","value","select","flink-mycpen1-rss-lost-friends","disqusReset","09.09","stringify","getAttribute","min","#p_span_day","markLine","toFixed","autoplay","getDate","nextElementSibling","console","offsetTop","#cf-overshow > :not(.cf-overshow-close)","input[name='nick']","categories-chart","addEventListener","#inpName","show","MTAvMjIvMTk5OCAwMA==","category",".cf-overshow","#bber time","origin","xAxis","MjIvMjA1OCAwMDowMA==","#article-container .flink .flink-list > .flink-list-item.失联 > a","keydown","add","color:#030307",".essay_bar_swiper_container","#mail","click","localhost:4000","/json/link.json","closeAboutAplayer","#newYear .title","loadData","西红柿","splice","#aside-content .card-widget#card-widget-schedule .item-content .schedule-today","load","loadFBComment","copy","5422098JByJvh","series","hide-aside","体贴的","纯真的","createElement","含蓄的","cf-show-now","好奇的",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-flupenamct/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"#console","src","getElementsByClassName","英俊的","幽默的",".page-number","afterend","132915fMPCYM","inline","慎重的","#nav-totop","toLocaleDateString","MDA6MDA=","html"," <span>年</span>","尊重他人的","round",".aplayer-fixed .aplayer-icon.aplayer-icon-lrc","datetime",".schedule-r1 .schedule-d1 .aside-span2","ceil","onmouseleave","data","</div></div>","hideConsole","color: #fadfa3; background: #030307; padding:5px 0;","hour","mycpen1-essay-page-tag","坚强的","cookieconsent","day_to_night","getFooterRandomFlink","16pXDMRP","pause","offsetY","randomLink","page-name","善于合作的","845214FsVpaL","有团队精神的","link_list","#newYear .newYear-time","title","essayChangeTimeInEssayByMycpen","pathname","data-link","endsWith","removeClass","cardRefreshTimes","距 2028-00-00 计时","scrollHeight","#article-container #mycpen1-about-page-tag-sponsor-part a","活泼的","#bber","OjAw","legend","essayReplaceAll","345312TUVTnv","test","细心的","replace","setAttribute","next","NzcheckLink",".share",".schedule-r3 .schedule-d1 .aside-span2","not_lost_friends","-01-01 00:00:00","#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon","setSelectionRange","apply","firstElementChild","05.12","开放的","有责任感的","link","input[name='mail']","MDA6MDA6MDA=","getFullYear","from","#838391","onmouseover","label","#friend-links-in-footer .footer-item","有逻辑思维的"," / 024","未获取到文章卡片","可靠的","%c ",".tk-comments-container a:not(.already-redirect-link)","MTA=","preventDefault","#pBar_year","keys","querySelector","#p_span_week","goDown","linkPageLoadFcircleShow","有远见的","cpRemind","lost_friends",'<span class="day">',"toPageButton","有耐性的","100%","switchPostChart","observe","abs","total_friend_num","bottom-right","#newYear","page/","prev","善于领导的",".tk-comments-container","postv2?name=","复制成功","09.30","catch","#pBar_month","axisLabel","Mycpen - Personal Blog",".page .layout #category #category-page-categories","edgeless","守信的","getDay","onscroll","focus","mycpen1-tags-page-cloudTags-","tag","有分析能力的","innerHTML","children","成熟的","lineStyle"," / ","#4C4948","7jAaoTR","article_num","offsetHeight","css","bind","富有想象力的","removeEventListener","有决策能力的","created","getSelection","距 2058-00-00 计时","bbtalk","already-clear-clickEvent","light"];return(_0x2b6a=function(){return e})()}!function(e,t){for(var a=_0x29ed,n=_0x2b6a();;)try{if(424181===parseInt(a(339))/1+parseInt(a(333))/2*(parseInt(a(308))/3)+parseInt(a(358))/4+-parseInt(a(503))/5+-parseInt(a(635))/6*(parseInt(a(438))/7)+parseInt(a(611))/8*(-parseInt(a(534))/9)+parseInt(a(582))/10*(parseInt(a(291))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x29ed;document[e(343)]==e(422)?document[e(521)]("page-name")[e(628)]=document[e(343)]:document.getElementById(e(337))[e(628)]=document[e(343)][e(593)](e(539))[0]},getNavRightPagePercent(){var e=_0x29ed;let t=document[e(642)].scrollTop||window[e(617)],a=Math[e(462)](document[e(580)][e(351)],document[e(642)][e(351)],document[e(580)].offsetHeight,document[e(642)][e(440)],document.body[e(513)],document[e(642)][e(513)])-document[e(642)].clientHeight,n=Math.round(t/a*100),o=document[e(395)](e(209));n<=99||(n=99),o.innerHTML=n,r=window[e(597)]+document.documentElement[e(513)],p=document[e(521)](e(625))||document[e(521)]("footer"),p.offsetTop+p[e(440)]/2<r||90<n?(document[e(395)](e(311)).classList[e(275)](e(640)),o[e(432)]=e(231)):(document.querySelector(e(311))[e(573)][e(558)](e(640)),o[e(432)]=n)},share(){var e=_0x29ed;let t=window[e(484)].origin+window[e(484)][e(345)];new ClipboardJS(e(365),{text:function(){var a=e;return"标题:"+document.title+a(643)+t}}),btf[e(657)]("复制成功")},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0x29ed;localStorage.setItem(e,JSON[a(249)]({time:Date.now(),data:t}))},loadData:(e,t)=>{var a=_0x29ed;let n=JSON.parse(localStorage[a(535)](e));if(n){let e=Date[a(616)]()-n[a(501)];if(e<60*t*1e3&&e>-1)return n[a(323)]}return 0},randomLink:()=>{var t=_0x29ed;let a=e[t(284)](t(235),30);if(a){let e=document[t(219)](t(384));if(!e.length)return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math[t(556)]()*a[t(554)])}while("失联"===a[o][t(430)]);e[n][t(628)]=a[o][t(519)],e[n][t(230)]=a[o][t(376)],e[n][t(343)]=a[o][t(519)],e[n][t(545)]="_blank",e[n].rel=t(570),a[t(286)](o,1)}}else fetch(t(281)).then((e=>e.json()))[t(471)]((a=>{var n=t;e.saveData(n(235),a[n(341)]),e[n(336)]()}))}};e[_0x29ed(336)]()},newYearCountdownCard(){(()=>{var e=_0x29ed;if(clearTimeout(null),!document[e(395)](e(411)))return;let t=new Date((new Date).getFullYear()+1+"-01-01 00:00:00")[e(542)]()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,c=o[n(242)]()+1,s=o.getDate();c=c>9?c:"0"+c,s=s>9?s:"0"+s,document[n(395)]("#newYear .today")[n(432)]=o[n(379)]()+"-"+c+"-"+s+" "+a[o[n(426)]()];let r=t-Math[n(317)](o[n(542)]()/1e3);r<0?(document[n(395)](n(283))[n(432)]=n(512),document[n(395)](n(342)).innerHTML=n(567)):(document[n(395)](n(283))[n(432)]='<i class="fa-solid fa-clock"></i> <span>距离</span> '+((new Date)[n(379)]()+1)+n(315),document[n(395)]("#newYear .newYear-time")[n(432)]=r>86400?n(402)+Math[n(321)](r/86400)+'<span class="unit">天</span></span>':n(402)+Math.ceil(r/86400)+n(208))}()})()},removeBodyPaceClass:function(){var e=_0x29ed;$("body")[e(348)](),$(e(580))[e(473)](e(206))},toPage:function(){var e=_0x29ed,t=document[e(219)](e(306)),a=parseInt(t[t.length-1].innerHTML),n=document[e(521)](e(610)),o=parseInt(n.value);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var c,s=window[e(484)][e(230)][e(361)](/\/page\/\d+\/$/,"/");c=1===o?s:s+(s[e(347)]("/")?"":"/")+e(412)+o+"/",document[e(521)](e(403))[e(230)]=c}},listenToPageInputPress(){var e=_0x29ed,t=document[e(521)](e(610)),a=document[e(521)](e(403));t&&(t[e(263)]("keydown",(t=>{var n=e;13===t[n(517)]&&(mycpen1js.toPage(),pjax[n(600)](a[n(230)]))})),t[e(263)](e(532),(function(){var n=e;""===t[n(244)]||"0"===t[n(244)]?a[n(573)][n(558)]("haveValue"):a[n(573)][n(275)](n(226));var o=document[n(219)](n(306)),c=+o[o.length-1].innerHTML;+document.getElementById(n(610))[n(244)]>c&&(t.value=c)})))},showConsole:function(){var e=_0x29ed;document[e(395)](e(301))[e(573)].add("show"),mycpen1js[e(639)]()},hideConsole:function(){var e=_0x29ed;document[e(395)]("#console")[e(573)][e(558)](e(265))},hideAsideBtn:()=>{var e=_0x29ed;const t=document.documentElement.classList;t[e(559)](e(293))?saveToLocal[e(215)](e(220),e(265),2):saveToLocal.set(e(220),e(466),2),t.toggle(e(293)),t[e(559)](e(293))?document[e(395)]("#consoleHideAside")[e(573)][e(275)]("on"):document[e(395)](e(594)).classList[e(558)]("on")},initConsoleState:function(){var e=_0x29ed;document[e(642)][e(573)].contains(e(293))?document[e(395)](e(594))[e(573)][e(275)]("on"):document.querySelector(e(594))[e(573)][e(558)]("on")},tagPageActive:function(){var e=_0x29ed,t=window[e(484)].pathname;if(/\/tags\/.*?\//.test(t=decodeURIComponent(t))){var a=t[e(593)]("/")[2];if(document[e(395)](e(586))){$("a")[e(348)]("select");var n=document.getElementById(e(429)+a);n&&n[e(573)].add(e(245))}}},categoryPageActive:function(){var e=_0x29ed,t=window[e(484)].pathname;if(/\/categories\/.*?\//[e(359)](t=decodeURIComponent(t))){var a=t[e(593)]("/")[2];if(document[e(395)](e(423))){$("a")[e(348)](e(245));var n=document[e(521)]("mycpen1-categories-page-cloudCategories-"+a);n&&n[e(573)][e(275)]("select")}}},addRandomCommentInfo:function(){var e=_0x29ed;const t=[e(478),e(304),e(544),e(596),e(601),e(487),e(460),e(388),e(620),e(434),e(650),e(463),e(305),e(525),e(489),e(353),"优雅的","敏捷的",e(569),"温暖的","敬业的",e(360),"耐心的","深沉的","朴素的",e(297),e(612),e(374),e(553),e(329),"自信的","谦虚的",e(651),"深刻的",e(295),e(618),e(310),e(633),e(622),e(243),e(630),e(591),e(443),e(483),"独立的",e(299),e(456),e(653),e(316),e(294),e(425),e(404),"有责任心的","有担当的",e(399),e(592),"有眼光的",e(587),e(508),"有同情心的",e(225),"喜欢学习的","具有批判性思维的","善于表达的",e(211),e(338),e(414),e(527),"有幽默感的",e(522),e(541),e(480),e(375),e(614),e(461),e(216),e(340),e(485),e(445),e(453),e(571),"有执行能力的",e(431),e(385),"有创新能力的",e(575),e(497)],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜",e(285),"洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜","西兰花","蘑菇","金针菇","苹果","香蕉","橙子","柠檬",e(552),"草莓","葡萄","桃子","杏子","李子","石榴","西瓜",e(236),"蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子",e(481)],n=""+t[Math[e(602)](Math.random()*t.length)]+a[Math[e(602)](Math[e(556)]()*a[e(554)])];!function(){for(var t=e,a=["#author",t(607),t(264),t(229),"#ds-dialog-name",t(469),t(261),t(492)],o=[t(278),"#email",t(549),"#inpEmail",t(568),t(605),t(377),t(637)],c=0;c<a.length;c++){var s=document.querySelector(a[c]);if(null!=s){s[t(244)]=n,s.dispatchEvent(new Event(t(532))),s[t(550)](new Event(t(520)));break}}for(var r=0;r<o[t(554)];r++){var i=document[t(395)](o[r]);if(null!=i){i.value=t(221),i[t(550)](new Event(t(532))),i[t(550)](new Event(t(520)));break}}}();var o=document[e(303)](e(506))[0];o[e(428)](),o[e(370)](-1,-1)},owoBigfunc(){var e=_0x29ed;document[e(521)](e(625))&&function(){var t=e;let a=1,n="",o=document[t(296)]("div"),c=document[t(395)](t(580));o.id=t(647),c.appendChild(o),new MutationObserver((e=>{var s=t;for(let t=0;t<e.length;t++){let r=e[t][s(540)],i="";2==r[s(554)]&&r[1].className==s(227)&&(i=r[1],document[s(580)][s(604)]<=768&&i[s(263)](s(516),(e=>e.preventDefault())),i[s(382)]=e=>{var t=s;a&&"IMG"==e[t(545)].tagName&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e[a(545)][a(513)],s=3*e[a(545)][a(604)],r=e.x-e[a(213)]-(s-e[a(545)].clientWidth)/2,i=e.y-e[a(335)];r+s>c[a(604)]&&(r-=r+s-c[a(604)]+10),r<0&&(r=10),o[a(613)][a(626)]="display:flex; height:"+n+"px; width:"+s+"px; left:"+r+"px; top:"+i+"px;",o[a(432)]=a(652)+e[a(545)][a(302)]+'">'}),300))},i[s(218)]=()=>{var e=s;o.style[e(646)]=e(207),a=1,clearTimeout(n)})}}))[t(407)](document.getElementById(t(625)),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){function e(){var e=_0x29ed;const a=document[e(395)](e(318));a&&(t[e(624)](),setTimeout((()=>{a.click()}),1))}const t=new MutationObserver(((t,a)=>{var n=_0x29ed;for(let a of t)a[n(656)]===n(470)&&e()}));t.observe(document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x29ed;const t=e=>{var t=_0x29ed;const a=(window[t(547)]||{}).themeChange||{};a&&Object[t(394)](a).forEach((n=>{var o=t;const c=a[n];[o(524),o(468)].includes(n)?setTimeout((()=>c(e)),300):c(e)}))};(document[e(642)][e(250)](e(584))===e(510)?"dark":"light")===e(451)?(activateDarkMode(),saveToLocal.set(e(574),e(510),2),void 0!==GLOBAL_CONFIG[e(655)]&&btf[e(657)](GLOBAL_CONFIG.Snackbar[e(331)]),t(e(510))):(activateLightMode(),saveToLocal.set(e(574),e(451),2),void 0!==GLOBAL_CONFIG[e(655)]&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar[e(495)]),t("light")),"function"==typeof utterancesTheme&&utterancesTheme(),typeof FB===e(599)&&window[e(289)](),window[e(565)]&&document[e(521)](e(505))[e(433)][e(554)]&&setTimeout((()=>window[e(247)]()),200)},essayUnknownPart(){},essayReplaceAll(e,t,a){var n=_0x29ed;return e[n(593)](t)[n(224)](a)},essayDiffDate:function(e,t=!1){var a=_0x29ed;const n=new Date,o=new Date(e),c=n.getTime()-o[a(542)](),s=36e5,r=864e5;let i;if(t){const e=c/r,t=c/s,n=c/6e4;i=c/2592e6>=1?o[a(312)]().replace(/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG[a(477)][a(233)]:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(477)][a(327)]:n>=1?parseInt(n)+" "+GLOBAL_CONFIG[a(477)][a(251)]:GLOBAL_CONFIG[a(477)].just}else i=parseInt(c/r);return i},essayChangeTimeInEssay:function(){var e=_0x29ed;document[e(395)](e(354))&&document[e(219)](e(269))[e(564)]((function(t){var a=e,n=t,o=n[a(250)](a(319));n[a(628)]=mycpen1js.essayDiffDate(o,!0),n[a(613)].display=a(309)}))},essayReflashEssayWaterFall:function(){var e=_0x29ed;document[e(395)](e(511))&&setTimeout((function(){var t=e;waterfall(t(511)),document[t(521)](t(615))[t(573)].add("show")}),500)},essayCommentText:function(e){var t=_0x29ed;var a=document.querySelector("#post-comment")[t(259)];window.scrollTo(0,a-80),"undefined"!=e&&"null"!=e||(e=t(566)),function t(){setTimeout((()=>{var a=_0x29ed,n=document[a(303)](a(506))[0];n||t();let o=document[a(454)](a(583));o[a(561)](a(532),!0,!0);let c=mycpen1js[a(357)](e,"\n",a(632));n[a(244)]="> "+c+"\n\n",n.dispatchEvent(o),n.focus(),n[a(370)](-1,-1),document.getElementById(a(543))&&document.getElementById(a(543))[a(573)][a(275)](a(265))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x29ed;let t=new Swiper(e(277),{passiveListeners:!0,direction:e(530),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document[e(521)](e(449));null!==a&&(a.onmouseenter=function(){var a=e;t[a(255)][a(210)]()},a[e(322)]=function(){var a=e;t[a(255)][a(504)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x29ed,t=document[e(590)](e(501)),a=0;a<t.length;a++){var n,o=t[a].getAttribute(e(319)),c=new Date(o),s=(new Date)[e(542)]()-c[e(542)](),r=Math[e(602)](s/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":c[e(379)]()!==(new Date).getFullYear()?(Essaymonth=c[e(242)]()+1,EssayDay=c[e(256)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=c[e(379)]()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=c[e(242)]()+1,EssayDay=c[e(256)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a][e(623)]=n}},switchPostChart:function(){var e=_0x29ed;let t=document.documentElement.getAttribute(e(584))===e(451)?e(437):"rgba(255,255,255,0.7)";if(document[e(521)](e(634))&&postsOption)try{let a=postsOption;a[e(343)][e(493)].color=t,a[e(271)][e(537)][e(588)]=t,a[e(217)][e(537)][e(588)]=t,a[e(271)].axisLabel[e(588)]=t,a[e(217)][e(421)][e(588)]=t,a[e(271)][e(598)][e(435)][e(588)]=t,a[e(217)][e(598)][e(435)][e(588)]=t,a.series[0][e(253)][e(323)][0].label[e(588)]=t,postsChart[e(526)](a)}catch(t){console[e(507)](t)}if(document[e(521)]("tags-chart")&&tagsOption)try{let a=tagsOption;a[e(343)][e(493)][e(588)]=t,a[e(271)].nameTextStyle[e(588)]=t,a[e(217)][e(537)][e(588)]=t,a[e(271)].axisLabel.color=t,a.yAxis[e(421)].color=t,a[e(271)][e(598)][e(435)].color=t,a[e(217)][e(598)][e(435)][e(588)]=t,a[e(292)][0][e(253)].data[0][e(383)][e(588)]=t,tagsChart.setOption(a)}catch(e){console.log(e)}if(document[e(521)](e(262))&&categoriesOption)try{let a=categoriesOption;a.title.textStyle[e(588)]=t,a[e(356)][e(493)][e(588)]=t,!categoryParentFlag&&(a[e(292)][0].label[e(588)]=t),categoriesChart[e(526)](a)}catch(t){console[e(507)](t)}},cpRemind(){var e=_0x29ed;document[e(263)](e(290),(function(t){var a=e;window[a(447)]()[a(455)]().trim()[a(554)]>0&&btf[a(657)](a(417))}))},closeAboutAplayer(){var e=_0x29ed;if(!document.getElementById(e(562)))try{about_page_ap[e(334)](),about_page_ap=void 0,about_page_weekSong=void 0,about_page_now=void 0,about_page_weekSong_today=void 0}catch(e){}},grey(){var e=_0x29ed,t=new Date,a=t[e(242)]()+1,n=t[e(256)](),o=[e(239),e(373),e(472),e(459),e(248),e(491),e(418),"11.30","12.13"];for(var c of o){var s=c[e(593)](".");if(a==s[0]&&n==s[1]){var r=e(234);$(e(314))[e(441)]({filter:e(585),filter:"progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)",filter:r,"-webkit-filter":r,"-moz-filter":r,"-ms-filter":r,"-o-filter":r});break}}},console(){var e=new Date,t=console.log;queueMicrotask((function(){var a=_0x29ed;var n=new Date(""+atob(a(636))+atob(a(378))),o=new Date(atob(a(266))+":"+atob(a(313))),c=new Date(""+atob("MTAvMjIvMjA=")+atob(a(603))),s=new Date(atob(a(391))+"/"+atob(a(272))+atob(a(355)));new Date("05/23/2025 00:00:00");e.setTime(e.getTime()+250);n=[a(223)," "+window[a(484)][a(270)]+" ","\n\n",a(465),Math[a(602)](Math[a(408)](e-n)/1e3/60/60/24+(e-n<0?1:0))[a(455)]()[a(563)](5," "),"天",a(490),Math[a(602)](Math[a(408)](e-o)/1e3/60/60/24+(e-o<0?1:0))[a(455)]()[a(563)](5," "),"天",a(350),Math[a(602)](Math[a(408)](e-c)/1e3/60/60/24+(e-c<0?1:0))[a(455)]().padEnd(5," "),"天",a(448),Math[a(602)](Math[a(408)](e-s)/1e3/60/60/24+(e-s<0?1:0))[a(455)]()[a(563)](5," "),"天"];setTimeout(function(){t[_0x29ed(371)](console,arguments)}[a(442)](console,"\n%c".concat(n[0],"%c")[a(494)](n[1],"%c").concat(n[2],"%c")[a(494)](n[3],"%c ")[a(494)](n[4],a(389))[a(494)](n[5],"\n")[a(494)](n[6],a(389))[a(494)](n[7],a(389)).concat(n[8],"\n")[a(494)](n[9],a(389))[a(494)](n[10],a(389)).concat(n[11],"\n")[a(494)](n[12],a(389))[a(494)](n[13],a(389)).concat(n[14],"\n")[a(494)]("\n"),a(326),a(475),a(241),"",a(276),"",a(276),"",a(276),"","color:#030307",""))}))},cardRefreshTimes(){var e=_0x29ed;const t=(new Date)[e(379)](),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,c=new Date((new Date)[e(379)]()+e(368)),s=document.getElementById(e(589));s&&(asideDay=(o-c)/1e3/60/60/24,s[e(395)](e(393))[e(244)]=asideDay,s.querySelector(e(393))[e(462)]=a,yearPercentage=(asideDay/a*100)[e(254)](2),displayYearPercentage=yearPercentage===e(498)?e(405):yearPercentage+"%",s[e(395)]("#p_span_year")[e(432)]=displayYearPercentage,s[e(395)](e(649))[e(432)]=(Math[e(602)](10*(a-asideDay))/10)[e(254)](1)+e(436)+a,currentDateMonth=new Date,currentDateMonth.setDate(1),currentDateMonth.setHours(0,0,0,0),currentMonthTimestamp=currentDateMonth.getTime(),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(242)](),currentDateMonthTotal[e(576)](currentMonth+1,1),currentDateMonthTotal.setDate(0),asideMonthDays=currentDateMonthTotal.getDate(),s[e(395)](e(420))[e(244)]=asideMonthDay,s[e(395)](e(420))[e(462)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100)[e(254)](2),displayMonthPercentage=monthPercentage===e(498)?"100%":monthPercentage+"%",s.querySelector("#p_span_month")[e(432)]=displayMonthPercentage,s[e(395)](e(320))[e(432)]=(Math[e(602)](10*(asideMonthDays-asideMonthDay))/10)[e(254)](1)+e(436)+asideMonthDays[e(455)]().padStart(3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek[e(426)](),currentWeekTimestamp=currentDateWeek[e(509)](0,0,0,0),firstDayOfWeekTimestamp=currentWeekTimestamp-24*(0===currentDayOfWeek?6:currentDayOfWeek-1)*60*60*1e3,pastWeekTimestamp=o-firstDayOfWeekTimestamp,asideWeekDay=pastWeekTimestamp/1e3/60/60/24,s[e(395)](e(528))[e(244)]=asideWeekDay,weekPercentage=(asideWeekDay/7*100).toFixed(2),displayWeekPercentage="100.00"===weekPercentage?e(405):weekPercentage+"%",s[e(395)](e(396))[e(432)]=displayWeekPercentage,s[e(395)](".schedule-r2 .schedule-d1 .aside-span2")[e(432)]=(Math[e(602)](10*(7-asideWeekDay))/10)[e(254)](1)+e(619),currentTimeStamp=(new Date)[e(542)](),startOfDay=new Date,startOfDay[e(509)](0,0,0,0),startOfDayTimeStamp=startOfDay.getTime(),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,s.querySelector("#pBar_day")[e(244)]=asideTodayHour,dayPercentage=(100*asideToday)[e(254)](2),displayDayPercentage=dayPercentage===e(498)?e(405):dayPercentage+"%",s[e(395)](e(252)).innerHTML=displayDayPercentage,s[e(395)](e(366)).innerHTML=(Math[e(602)](10*(24-asideTodayHour))/10).toFixed(1)+e(386),month=o[e(242)]()+1,day=o.getDate(),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document[e(395)](e(287)).innerHTML=o[e(379)]()+"-"+month+"-"+day+" "+week[o[e(426)]()])},PressEscapeKey(e){var t=_0x29ed;27===e[t(517)]&&(document[t(521)](t(258))&&mycpen1js[t(325)](),document[t(521)](t(486))&&document[t(521)](t(621))&&(document[t(395)](t(572))||document[t(395)](t(268)))&&(document.getElementById("mycpen1-fcircle-page-tag")&&closeShow(),document[t(521)]("mycpen1-link-page-tag")&&mycpen1js[t(531)]()))},linkPageOpenMeShow(e){var t=_0x29ed,a="ok",n=t(496),o=document[t(521)](t(232));o&&(document[t(521)]("cf-overlay")||o[t(548)]("afterend",n)),e.preventDefault();var c;c="https://hexo-circle.cpen.top/post?link="+e.currentTarget.dataset[t(376)].replace(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,t(523)),"ok"==a&&(a="no",mycpen1js.linkPageFetchShow(c))},linkPageOpenMeShowV2(e){var t=_0x29ed,a={apipublicurl:t(557)},n="ok",o=document.getElementById("mycpen1-link-page-tag");o&&(document[t(521)](t(486))||o[t(548)](t(307),'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ')),e[t(392)]();var c,s=encodeURIComponent(e[t(482)][t(560)][t(519)]);c=a[t(629)]+t(416)+s,"ok"==n&&(n="no",mycpen1js[t(627)](c))},linkPageCloseShow(){var e=_0x29ed;document.getElementById(e(486)).className-=e(298),document[e(521)](e(621))[e(457)]-=e(298),setTimeout((function(){var t=e,a=document.querySelectorAll(t(260)),n=document[t(219)](t(538));a.forEach((function(e){e[t(558)]()}));for(var o=1;o<n[t(554)];o++)n[o].remove()}),100)},linkPageFetchShow(_0x55f282){var _0x193994=_0x29ed,_0x4755cd='\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ';fetch(_0x55f282)[_0x193994(471)]((e=>e[_0x193994(648)]()))[_0x193994(471)]((_0x318528=>{var _0x30b3cb=_0x193994;noClick="ok";var _0x47d670=_0x318528[_0x30b3cb(578)],_0x5a85f4=eval(_0x318528[_0x30b3cb(606)]);0!==_0x47d670[_0x30b3cb(439)]?(mycpen1js[_0x30b3cb(398)](_0x47d670,_0x5a85f4),document.getElementById(_0x30b3cb(486)).className=_0x30b3cb(298),document[_0x30b3cb(521)]("cf-overshow").insertAdjacentHTML("afterbegin",_0x4755cd)):btf[_0x30b3cb(657)](_0x30b3cb(631))}))[_0x193994(419)]((e=>{var t=_0x193994;btf[t(657)](t(387))}))},linkPageLoadFcircleShow(e,t){for(var a=_0x29ed,n='\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="'+e[a(529)]+a(300)+e[a(376)]+'">'+e.name+'</a>\n </div>\n <div class="cf-overshow-content">\n ',o=0;o<e[a(439)];o++){var c=t[o];let e="";Date[a(616)]()-new Date(c.created+a(551))[a(542)]()<=1728e5&&(e=a(467)),n+=a(638)+c[a(376)]+'" target="_blank" rel="noopener nofollow" data-title="'+c[a(343)]+'">'+c.title+a(518)+e+">"+c[a(446)]+a(609)}n+=a(324),document[a(521)]("cf-overshow")[a(548)](a(654),n),document[a(521)]("cf-overshow")[a(457)]=a(298)},linkPageRssAliveCheck(){var e=_0x29ed;apiurl=e(557),rssAliveCheckUrl=apiurl+e(240),fetch(rssAliveCheckUrl)[e(471)]((t=>t[e(648)]()))[e(471)]((t=>{var a=e,n=t[a(401)],o=t[a(367)],c=t[a(409)];let s=[];for(const e in n){let t=n[e];t=t.replace(/^https?:\/\//,""),t=t[a(361)](/\/$/,""),s[a(595)](t)}let r=[];for(const e in o){let t=o[e];t=t[a(361)](/^https?:\/\//,""),t=t.replace(/\/$/,""),r[a(595)](t)}document[a(219)](a(369))[a(564)]((e=>{var t=a;if(e){let a=e[t(250)](t(346)).replace(/^https?:\/\//,"");a=a[t(361)](/\/$/,""),c>0?r[t(608)](a)?e[t(573)][t(275)]("flink-mycpen1-rss-not-lost-friends"):s[t(608)](a)?e.classList.add(t(246)):e[t(573)][t(275)]("flink-mycpen1-rss-unknown-friends"):0===c&&e[t(573)].add("flink-mycpen1-rss-lost-friends")}}))}))},NzcheckLink:async e=>{var t=_0x29ed;const a=document[t(219)](e);if(a){let e=new RegExp(/^[#].*/);for(let c=0;c<a[t(554)];c++){const s=a[c];var n=s.hasAttribute(t(238)),o=s[t(573)][t(559)]("already-redirect-link");if(!n&&!o){let a=s.getAttribute(t(230)),n=s[t(250)](t(237)),o=s.getAttribute(t(555));e[t(359)](a)||o===t(413)||o===t(363)||o===t(267)||o===t(430)||"javascript:void(0);"===a||(await mycpen1js.NzcheckLocalSite(a)||n?!await mycpen1js[t(222)](a)&&n===t(397)&&s[t(362)]("href",t(464)+btoa(a)+"&type=goDown"):s[t(362)](t(230),t(464)+btoa(a)))}s[t(573)][t(275)]("already-redirect-link")}}},NzcheckLocalSite:async e=>{var t=_0x29ed;try{const a=[t(280),t(479),t(514)];let n=!1;for(let o=0;o<a.length;o++){const c=a[o];if(e[t(608)](c)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0x29ed;window[e(263)](e(288),(()=>{var t=e;window[t(330)][t(644)]({type:t(533),theme:t(424),static:!1,position:t(410),content:{message:t(641),dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:"#edeff5",text:t(381)},button:{background:t(579)}}})}))}};function _0x29ed(e,t){var a=_0x2b6a();return(_0x29ed=function(e,t){return a[e-=204]})(e,t)}function whenDOMReadyMycpen1JS(){var e=_0x31afd7;mycpen1js[e(474)](),mycpen1js[e(332)](),mycpen1js[e(515)](),mycpen1js[e(500)](),mycpen1js[e(214)](),mycpen1js[e(228)](),mycpen1js[e(205)](),document[e(521)](e(328))&&(mycpen1js[e(344)](),mycpen1js[e(476)](),window[e(502)]=()=>{var t=e;document[t(521)]("mycpen1-essay-page-tag")&&(mycpen1js[t(476)](),setTimeout((()=>{mycpen1js[t(476)]()}),300))}),document[e(521)]("darkmode")[e(263)]("click",(function(){setTimeout(mycpen1js.switchPostChart,100)})),document.getElementById(e(536))[e(263)](e(279),(function(){setTimeout(mycpen1js.switchPostChart,100)})),document[e(521)](e(577))[e(263)](e(279),(function(){setTimeout(mycpen1js[e(406)],100)})),document[e(521)](e(458))[e(263)](e(279),(function(){setTimeout(mycpen1js[e(406)],100)})),mycpen1js[e(400)](),mycpen1js[e(282)](),document[e(521)](e(589))&&(mycpen1js[e(349)](),setInterval((()=>{mycpen1js[e(349)]()}),1e3)),document[e(521)]("mycpen1-link-page-tag-2")&&mycpen1js[e(452)](),document[e(521)](e(232))&&(mycpen1js[e(364)]("#article-container .flink .flink-list > .flink-list-item.单向 > a"),mycpen1js.NzcheckLink(e(273))),document.getElementById("mycpen1-about-page-tag")&&mycpen1js[e(364)](e(352)),document[e(521)]("post-comment")&&setInterval((()=>{var t=e;if(document[t(395)](t(415))){mycpen1js[t(364)](t(390));document.querySelectorAll(t(581)).forEach((e=>{var a=t;e[a(573)][a(275)](a(450));const n=document[a(296)]("a");for(Array[a(380)](e[a(645)])[a(564)]((e=>{var t=a;n[t(362)](e[t(519)],e[t(244)])}));e[a(658)];)n[a(499)](e[a(658)]);e.parentNode.replaceChild(n,e);const o=n[a(257)][a(372)][a(372)].firstElementChild.getAttribute(a(230));n[a(362)](a(230),o),n[a(362)](a(545),a(204)),n[a(362)](a(555),a(570))}))}}),1e3)}mycpen1js[_0x31afd7(258)](),document[_0x31afd7(444)](_0x31afd7(274),mycpen1js[_0x31afd7(546)]),document[_0x31afd7(263)](_0x31afd7(274),mycpen1js[_0x31afd7(546)]),window[_0x31afd7(427)]=mycpen1js.getNavRightPagePercent,mycpen1js.removeaAlayerFixedLrc(),whenDOMReadyMycpen1JS(),document.addEventListener(_0x31afd7(212),whenDOMReadyMycpen1JS);