mycpen-blog 0.0.0-ezbvuibndm → 0.0.0-ezcuaybncn

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 _0x59f2(){var e=["currentTarget","202734aKzaLY","created","\n%c","_blank","darkmode","day_to_night","pageYOffset","100%","有决策能力的","setSelectionRange","toLocaleDateString","inline","#pBar_month","ceil","大方的","pjax:complete","有担当的","light","setAttribute","https://www.cpen.top:8002/","#name","catch","scrollHeight","loadData","Snackbar","setDate","onmouseleave","apply","offsetX","慷慨的","干净的","1388358KIwkMx","changeNavPageNameTitle","linkPageCloseShow","#cf-overshow > .cf-overshow-close","innerHTML","442070UuWdZV","removeaAlayerFixedLrc","disqus_thread","cardRefreshTimes","now","hour","posts-chart","有同情心的","#bber","nameTextStyle","cssText","勇敢的","09.30","lineStyle","aside-status","MTAvMjIvMTk5OCAwMA==","px;","haveValue","select","start","#4C4948","datetime","flink-mycpen1-rss-lost-friends","snackbarShow","善良的","target","#waterfall","el-textarea__inner","firstElementChild","axisLine","not_lost_friends","length","toPageText","mycpen1-link-page-tag","css","#4b81e8","距 2022-08-28 上线","min","label","有个性的","from","postv2?name=","src","addClass","坚强的","距 1998-00-00 计时","display:flex; height:","-01-01 00:00:00","querySelector","afterend","px; left:","data-fancybox","firstChild","tagPageActive","hide","#p_span_month","MDA6MDA6MDA=","trim","remove","onresize","cf-show-now","focus","contains","theme","温暖的","show","bottom-right","href"," / 007","距 2028-00-00 计时","axisLabel","setOption","顽强的","getSelection","深刻的","scrollTo","appendChild","log","善于表达的","removeClass","有远见的","createElement","statistical_data","disqusReset","成熟的","insertAdjacentHTML","beforeend","json","categories-chart","textContent","MDgvMjgvMjAyMiA=","linkPageFetchShow","getDay","MDA6MDA=","px; width:","autoplay","100.00","addedNodes","具有批判性思维的","location","contextmenu","info","慎重的","文静的","#newYear .today","donotreply@mycpen.cn","floor","getAttribute","essayReflashEssayWaterFall","有魅力的","优雅的","有逻辑思维的","apipublicurl","有责任心的","cf-overshow","offsetTop","敬业的","getDate","730568aUNGsz","toggle","#percent","mycpen1-about-page-tag","hide-aside","preventDefault","09.09","style","有专业素养的",".page .layout #category #category-page-categories","localhost:4000",'<i class="fa-solid fa-clock"></i> <span>距离</span> ',"color: #fadfa3; background: #030307; padding:5px 0;","善于沟通的","#mail",'<span class="day">',"天 (阿里云)"," <span>年</span>","linkPageLoadFcircleShow","stringify","parentNode","data-link","gray !important;","真诚的","04.04","豁达的","cpen.top","createEvent","bind","px; top:","null","好奇的","朴素的","friendstatus","11.30","可爱的","post-comment","loadFBComment","体贴的",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-ezbvuibndm/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"#comment_email","MTAvMjIvMjA=","\n链接:","rgba(255,255,255,0.7)","max","data-download","稳重的","disconnect","innerText","#pBar_day","#edeff5","essayReplaceAll","mycpen1-categories-page-cloudCategories-","88txuRid","getElementById",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"color","宽容的","有幽默感的","already-redirect-link","name","link_list","NzcheckLink","edgeless","未获取到文章卡片","#author","tags-chart","#pBar_year","</a><span ",'<img src="',"date_suffix","background: #fadfa3; padding:5px 0;","有组织能力的","机智的","load","tag","#nav-totop","parse","toPage","display","pace-done"," MYCPEN BLOG ","essayDiffDate","幽默的","onmouseout","keydown","getFooterRandomFlink","loadUrl","%c ","already-clear-clickEvent","有眼光的","pathname","linkPageRssAliveCheck","abs"," 00:00:00","round","markLine","有执行能力的","#consoleHideAside"," / ","细心的","有责任感的","forEach","/json/link.json","dispatchEvent","hasAttribute","#newYear .newYear-time","08.14","time","padEnd","活泼的","observe","/redirect.html?url=","then","05.12","closeAboutAplayer","next","body","27NqnMYI","48327DQYzOz","toString","removeBodyPaceClass","randomLink","务实的","toPageButton","footer","removeEventListener",".tk-comments-container","replace","toFixed","深沉的","聪明的","复制成功","#p_span_day","value","undefined","onscroll","textStyle",".schedule-r3 .schedule-d1 .aside-span2","yAxis","dataset","set","mycpen1-essay-page-tag","add","379155vDEKsE","getMonth","onmouseover","守信的"," / 024","essayChangeTimeInEssayByMycpen","猕猴桃","MjIvMjA1OCAwMDowMA==","waterfall","page/","PressEscapeKey","push","#bber time","OwO-body","dark",".cf-overshow-close","data-theme","xAxis","22898WgRHSl","尊重他人的","includes","#newYear","bbtalk","scrollTop","article_num","&type=goDown","#comment_author","#newYear .title","random","series","#inpEmail","getTime","split","12eypTiX","#p_span_week","hideConsole",".tk-comments-container a:not(.already-redirect-link)","grayscale(100%)","data","getElementsByClassName","MjggMDA6MDA6MDA=","NzcheckLocalSite","setItem","07.07","有激情的","14BpiITs","addEventListener","西兰花","change","含蓄的","setTime","可靠的","setMonth","switchPostChart","cf-overlay","function","initConsoleState","click","article_data","replaceChild","西红柿","test","耐心的","pause","喜欢思考的","09.18",".share"," | Mycpen","tagName","nextElementSibling",'<span class="happyNewYear">新年快乐</span>',"documentElement","splice","迷人的","night_to_day","concat","#cf-overshow > :not(.cf-overshow-close)","console","keyCode","返回顶部","className","div","onmouseenter","padStart","goDown","darkmode_sidebarSwitch","getElementsByTagName","</div></div>","long",'<span class="unit">天</span></span>',"#838391","Happy New Year!","querySelectorAll","美丽的","childList","title","善于领导的","12.13","color:#fadfa3","#inpName","color:#030307","有思想的","saveData","offsetHeight","comment-tips","富有想象力的",'\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ',"有团队精神的","有想象力的","clientHeight","#p_span_year","#ds-dialog-email",".essay_bar_swiper_container","card-widget-schedule","attributes","#console","owo-big",".tk-avatar.tk-clickable:not(.already-clear-clickEvent)","page-name","有正义感的","善解人意的","</span></p>\n ","rel","classList","cookieconsent","origin","getFullYear","javascript:void(0);","input[name='mail']","initEvent","独立的",'style="color: var(--mycpen1-main); opacity: 1;"',"setHours","flink-mycpen1-rss-not-lost-friends","有协调能力的","自信的","darkmode_consoleSwitch","input","距 2058-00-00 计时","好棒!","link","$1:$2$3",".cf-overshow","有冒险精神的","clientWidth","initialise"];return(_0x59f2=function(){return e})()}var _0x3c26f0=_0x31d0;!function(e,t){for(var a=_0x31d0,n=_0x59f2();;)try{if(192440===-parseInt(a(473))/1*(parseInt(a(517))/2)+-parseInt(a(474))/3+-parseInt(a(532))/4*(parseInt(a(499))/5)+parseInt(a(232))/6+-parseInt(a(544))/7*(-parseInt(a(355))/8)+-parseInt(a(646))/9+-parseInt(a(237))/10*(-parseInt(a(408))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x31d0;"Mycpen - Personal Blog"==document.title?document.getElementById(e(617))[e(403)]=document.title:document[e(409)](e(617))[e(403)]=document[e(594)][e(531)](e(566))[0]},getNavRightPagePercent(){var e=_0x31d0;let t=document[e(570)][e(522)]||window[e(652)],a=Math[e(399)](document[e(472)].scrollHeight,document[e(570)][e(668)],document[e(472)].offsetHeight,document[e(570)][e(602)],document[e(472)][e(608)],document.documentElement[e(608)])-document[e(570)].clientHeight,n=Math[e(450)](t/a*100),o=document[e(285)](e(357));n<=99||(n=99),o[e(236)]=n,r=window.scrollY+document[e(570)][e(608)],p=document[e(409)](e(391))||document[e(409)](e(480)),p[e(352)]+p[e(602)]/2<r||90<n?(document[e(285)](e(431)).classList.add(e(587)),o[e(236)]=e(578)):(document[e(285)](e(431)).classList[e(295)](e(587)),o[e(236)]=n)},share(){var e=_0x31d0;let t=window[e(336)].origin+window.location[e(446)];new ClipboardJS(e(565),{text:function(){var a=e;return"标题:"+document[a(594)]+a(397)+t}}),btf.snackbarShow(e(487))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0x31d0;localStorage[a(541)](e,JSON[a(374)]({time:Date[a(241)](),data:t}))},loadData:(e,t)=>{var a=_0x31d0;let n=JSON[a(432)](localStorage.getItem(e));if(n){let e=Date[a(241)]()-n.time;if(e<60*t*1e3&&e>-1)return n.data}return 0},randomLink:()=>{var t=_0x31d0;let a=e[t(669)]("links",30);if(a){let e=document[t(591)]("#friend-links-in-footer .footer-item");if(!e[t(268)])return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math[t(527)]()*a.length)}while("失联"===a[o].tag);e[n][t(403)]=a[o][t(415)],e[n][t(304)]=a[o][t(639)],e[n][t(594)]=a[o][t(415)],e[n][t(262)]=t(649),e[n][t(621)]="noopener external nofollow noreferrer",a[t(571)](o,1)}}else fetch(t(458))[t(468)]((e=>e.json()))[t(468)]((a=>{var n=t;e[n(601)]("links",a[n(416)]),e[n(477)]()}))}};e.randomLink()},newYearCountdownCard(){(()=>{var e=_0x31d0;if(clearTimeout(null),!document.querySelector(e(520)))return;let t=new Date((new Date)[e(625)]()+1+e(284))[e(530)]()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,c=o[n(500)]()+1,s=o.getDate();c=c>9?c:"0"+c,s=s>9?s:"0"+s,document[n(285)](n(341)).innerHTML=o.getFullYear()+"-"+c+"-"+s+" "+a[o.getDay()];let r=t-Math[n(450)](o[n(530)]()/1e3);r<0?(document[n(285)]("#newYear .title")[n(236)]=n(590),document.querySelector(n(461))[n(236)]=n(569)):(document.querySelector(n(526))[n(236)]=n(366)+((new Date)[n(625)]()+1)+n(372),document[n(285)](n(461))[n(236)]=r>86400?n(370)+Math[n(659)](r/86400)+n(588):'<span class="day">'+Math.ceil(r/86400)+n(588))}()})()},removeBodyPaceClass:function(){var e=_0x31d0;$("body")[e(316)](),$("body")[e(280)](e(435))},toPage:function(){var e=_0x31d0,t=document[e(591)](".page-number"),a=parseInt(t[t[e(268)]-1].innerHTML),n=document[e(409)](e(269)),o=parseInt(n[e(489)]);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var c,s=window.location[e(304)].replace(/\/page\/\d+\/$/,"/");c=1===o?s:s+(s.endsWith("/")?"":"/")+e(508)+o+"/",document.getElementById(e(479))[e(304)]=c}},listenToPageInputPress(){var e=_0x31d0,t=document[e(409)](e(269)),a=document[e(409)](e(479));t&&(t.addEventListener("keydown",(t=>{var n=e;13===t.keyCode&&(mycpen1js[n(433)](),pjax[n(442)](a[n(304)]))})),t[e(545)](e(636),(function(){var n=e;""===t[n(489)]||"0"===t[n(489)]?a[n(622)][n(295)]("haveValue"):a[n(622)][n(498)](n(254));var o=document[n(591)](".page-number"),c=+o[o[n(268)]-1][n(236)];+document[n(409)](n(269))[n(489)]>c&&(t.value=c)})))},showConsole:function(){var e=_0x31d0;document[e(285)](e(614))[e(622)][e(498)](e(302)),mycpen1js[e(555)]()},hideConsole:function(){var e=_0x31d0;document[e(285)](e(614))[e(622)].remove("show")},hideAsideBtn:()=>{var e=_0x31d0;const t=document[e(570)][e(622)];t[e(299)](e(359))?saveToLocal[e(496)](e(251),e(302),2):saveToLocal[e(496)](e(251),e(291),2),t[e(356)](e(359)),t[e(299)]("hide-aside")?document.querySelector(e(453))[e(622)][e(498)]("on"):document[e(285)](e(453))[e(622)].remove("on")},initConsoleState:function(){var e=_0x31d0;document[e(570)][e(622)][e(299)](e(359))?document[e(285)]("#consoleHideAside")[e(622)][e(498)]("on"):document.querySelector("#consoleHideAside")[e(622)].remove("on")},tagPageActive:function(){var e=_0x31d0,t=window.location[e(446)];if(/\/tags\/.*?\//[e(560)](t=decodeURIComponent(t))){var a=t.split("/")[2];if(document[e(285)](".page .layout #tag #tag-page-tags")){$("a")[e(316)](e(255));var n=document.getElementById("mycpen1-tags-page-cloudTags-"+a);n&&n.classList[e(498)](e(255))}}},categoryPageActive:function(){var e=_0x31d0,t=window.location[e(446)];if(/\/categories\/.*?\//[e(560)](t=decodeURIComponent(t))){var a=t[e(531)]("/")[2];if(document[e(285)](e(364))){$("a")[e(316)](e(255));var n=document[e(409)](e(407)+a);n&&n[e(622)][e(498)]("select")}}},addRandomCommentInfo:function(){var e=_0x31d0;const t=[e(592),"英俊的",e(486),e(248),e(390),e(230),e(261),e(550),"开朗的",e(321),e(401),e(378),e(438),e(380),"有趣的",e(465),e(347),"敏捷的","温柔的",e(301),e(353),e(455),e(561),e(485),e(387),e(548),"率直的","开放的",e(478),e(281),e(634),"谦虚的",e(340),e(311),"纯真的","朝气蓬勃的",e(339),e(660),e(309),e(572),e(428),e(619),e(604),e(346),e(629),e(386),e(231),e(412),e(518),e(393),e(502),"有耐性的",e(350),e(662),e(317),"有智慧的",e(445),e(642),"有爱心的",e(244),e(563),"喜欢学习的",e(335),e(315),e(368),"善于合作的",e(595),e(543),e(413),e(600),e(276),e(618),e(456),"有创造力的",e(607),"有艺术细胞的",e(606),e(633),e(654),e(427),"有学习能力的",e(452),"有分析能力的",e(348),"有创新能力的",e(363),"有商业头脑的"],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜",e(559),"洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜",e(546),"蘑菇","金针菇","苹果","香蕉","橙子","柠檬",e(505),"草莓","葡萄","桃子","杏子","李子","石榴","西瓜","哈密瓜","蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子","火龙果"],n=""+t[Math[e(343)](Math[e(527)]()*t[e(268)])]+a[Math[e(343)](Math[e(527)]()*a[e(268)])];!function(){for(var t=e,a=[t(420),"input[name='comname']",t(598),"input[name='author']","#ds-dialog-name",t(666),"input[name='nick']",t(525)],o=[t(369),"#email","input[name='commail']",t(529),"input[name='email']",t(610),t(627),t(395)],c=0;c<a[t(268)];c++){var s=document[t(285)](a[c]);if(null!=s){s[t(489)]=n,s[t(459)](new Event("input")),s.dispatchEvent(new Event(t(547)));break}}for(var r=0;r<o.length;r++){var i=document[t(285)](o[r]);if(null!=i){i[t(489)]=t(342),i.dispatchEvent(new Event(t(636))),i.dispatchEvent(new Event(t(547)));break}}}();var o=document.getElementsByClassName(e(264))[0];o[e(298)](),o[e(655)](-1,-1)},owoBigfunc(){var e=_0x31d0;document.getElementById(e(391))&&function(){var t=e;let a=1,n="",o=document.createElement(t(580)),c=document[t(285)](t(472));o.id=t(615),c[t(313)](o),new MutationObserver((e=>{var s=t;for(let t=0;t<e[s(268)];t++){let r=e[t][s(334)],i="";2==r.length&&r[1].className==s(512)&&(i=r[1],document[s(472)][s(643)]<=768&&i[s(545)](s(337),(e=>e[s(360)]())),i[s(501)]=e=>{var t=s;a&&"IMG"==e[t(262)][t(567)]&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e.target[a(608)],s=3*e[a(262)][a(643)],r=e.x-e[a(229)]-(s-e[a(262)][a(643)])/2,i=e.y-e.offsetY;r+s>c[a(643)]&&(r-=r+s-c[a(643)]+10),r<0&&(r=10),o[a(362)][a(247)]=a(283)+n+a(331)+s+a(287)+r+a(384)+i+a(253),o.innerHTML=a(424)+e[a(262)][a(279)]+'">'}),300))},i[s(439)]=()=>{o[s(362)].display="none",a=1,clearTimeout(n)})}}))[t(466)](document.getElementById(t(391)),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){function e(){var e=_0x31d0;const a=document[e(285)](".aplayer-fixed .aplayer-icon.aplayer-icon-lrc");a&&(t[e(402)](),setTimeout((()=>{a.click()}),1))}const t=new MutationObserver(((t,a)=>{var n=_0x31d0;for(let a of t)a.type===n(593)&&e()}));t.observe(document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x31d0;(document[e(570)][e(344)](e(515))===e(513)?"dark":e(663))===e(663)?(activateDarkMode(),saveToLocal[e(496)](e(300),"dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf[e(260)](GLOBAL_CONFIG.Snackbar[e(651)])):(activateLightMode(),saveToLocal[e(496)](e(300),e(663),2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG[e(670)][e(573)])),typeof utterancesTheme===e(554)&&utterancesTheme(),"object"==typeof FB&&window[e(392)](),window.DISQUS&&document[e(409)](e(239)).children[e(268)]&&setTimeout((()=>window[e(320)]()),200)},essayUnknownPart(){},essayReplaceAll:(e,t,a)=>e.split(t).join(a),essayDiffDate:function(e,t=!1){var a=_0x31d0;const n=new Date,o=new Date(e),c=n[a(530)]()-o.getTime(),s=36e5,r=864e5;let i;if(t){const e=c/r,t=c/s,n=c/6e4;i=c/2592e6>=1?o[a(656)]()[a(483)](/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG[a(425)].day:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(425)][a(242)]:n>=1?parseInt(n)+" "+GLOBAL_CONFIG[a(425)][a(274)]:GLOBAL_CONFIG[a(425)].just}else i=parseInt(c/r);return i},essayChangeTimeInEssay:function(){var e=_0x31d0;document[e(285)](e(245))&&document[e(591)](e(511))[e(457)]((function(t){var a=e,n=t,o=n[a(344)](a(258));n[a(403)]=mycpen1js[a(437)](o,!0),n[a(362)][a(434)]=a(657)}))},essayReflashEssayWaterFall:function(){document.querySelector("#waterfall")&&setTimeout((function(){var e=_0x31d0;waterfall(e(263)),document[e(409)](e(507))[e(622)].add(e(302))}),500)},essayCommentText:function(e){var t=_0x31d0;var a=document.querySelector("#post-comment")[t(352)];window[t(312)](0,a-80),e!=t(490)&&e!=t(385)||(e=t(638)),function t(){setTimeout((()=>{var a=_0x31d0,n=document[a(538)](a(264))[0];n||t();let o=document[a(382)]("HTMLEvents");o[a(628)]("input",!0,!0);let c=mycpen1js[a(406)](e,"\n","\n> ");n.value="> "+c+"\n\n",n[a(459)](o),n[a(298)](),n[a(655)](-1,-1),document.getElementById(a(603))&&document[a(409)]("comment-tips")[a(622)][a(498)](a(302))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x31d0;let t=new Swiper(e(611),{passiveListeners:!0,direction:"vertical",loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document[e(409)](e(521));null!==a&&(a[e(581)]=function(){t.autoplay.stop()},a[e(227)]=function(){var a=e;t[a(332)][a(256)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x31d0,t=document[e(585)](e(463)),a=0;a<t.length;a++){var n,o=t[a][e(344)](e(258)),c=new Date(o),s=(new Date)[e(530)]()-c[e(530)](),r=Math[e(343)](s/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":c[e(625)]()!==(new Date)[e(625)]()?(Essaymonth=c[e(500)]()+1,EssayDay=c[e(354)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=c[e(625)]()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=c[e(500)]()+1,EssayDay=c[e(354)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a][e(326)]=n}},switchPostChart:function(){var e=_0x31d0;let t=document[e(570)][e(344)]("data-theme")===e(663)?e(257):e(398);if(document[e(409)](e(243))&&postsOption)try{let a=postsOption;a.title.textStyle.color=t,a[e(516)][e(246)][e(411)]=t,a[e(494)][e(246)].color=t,a[e(516)][e(307)][e(411)]=t,a.yAxis[e(307)][e(411)]=t,a[e(516)][e(266)][e(250)].color=t,a.yAxis[e(266)][e(250)][e(411)]=t,a[e(528)][0].markLine[e(537)][0][e(275)].color=t,postsChart[e(308)](a)}catch(t){console[e(314)](t)}if(document[e(409)](e(421))&&tagsOption)try{let a=tagsOption;a[e(594)][e(492)].color=t,a.xAxis[e(246)][e(411)]=t,a[e(494)][e(246)].color=t,a[e(516)][e(307)].color=t,a[e(494)].axisLabel.color=t,a.xAxis[e(266)][e(250)][e(411)]=t,a.yAxis[e(266)].lineStyle[e(411)]=t,a[e(528)][0][e(451)][e(537)][0][e(275)].color=t,tagsChart[e(308)](a)}catch(t){console[e(314)](t)}if(document[e(409)](e(325))&&categoriesOption)try{let a=categoriesOption;a.title[e(492)][e(411)]=t,a.legend[e(492)][e(411)]=t,!categoryParentFlag&&(a[e(528)][0].label[e(411)]=t),categoriesChart[e(308)](a)}catch(t){console[e(314)](t)}},cpRemind(){var e=_0x31d0;document[e(545)]("copy",(function(t){var a=e;window[a(310)]()[a(475)]()[a(294)]().length>0&&btf[a(260)](a(487))}))},closeAboutAplayer(){var e=_0x31d0;if(!document.getElementById(e(358)))try{about_page_ap[e(562)](),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=_0x31d0,t=new Date,a=t[e(500)]()+1,n=t[e(354)](),o=[e(379),e(469),e(542),e(462),e(361),e(564),e(249),e(389),e(596)];for(var c of o){var s=c[e(531)](".");if(a==s[0]&&n==s[1]){var r=e(536);$("html")[e(271)]({filter:e(377),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=_0x31d0,t=new Date,a=console[e(314)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(327))+atob(n(293))),c=new Date(atob(n(252))+":"+atob(n(330))),s=new Date(""+atob(n(396))+atob(n(539))),r=new Date(atob("MTA=")+"/"+atob(n(506))+atob("OjAw")),i=new Date("05/23/2025 00:00:00");t[n(549)](t[n(530)]()+250);o=[n(436)," "+window[n(336)][n(624)]+" ","\n\n",n(273),Math[n(343)](Math.abs(t-o)/1e3/60/60/24+(t-o<0?1:0))[n(475)]().padEnd(5," "),"天",n(282),Math[n(343)](Math[n(448)](t-c)/1e3/60/60/24+(t-c<0?1:0))[n(475)]()[n(464)](5," "),"天",n(306),Math.floor(Math[n(448)](t-s)/1e3/60/60/24+(t-s<0?1:0))[n(475)]()[n(464)](5," "),"天",n(637),Math[n(343)](Math[n(448)](t-r)/1e3/60/60/24+(t-r<0?1:0))[n(475)]().padEnd(5," "),"天","距 2025-05-23 计时",Math[n(343)](Math[n(448)](t-i)/1e3/60/60/24+(t-i<0?1:0))[n(475)]().padEnd(5," "),n(371)];setTimeout(function(){a[_0x31d0(228)](console,arguments)}[n(383)](console,n(648)[n(574)](o[0],"%c").concat(o[1],"%c")[n(574)](o[2],"%c")[n(574)](o[3],n(443))[n(574)](o[4],"%c ")[n(574)](o[5],"\n")[n(574)](o[6],n(443))[n(574)](o[7],n(443)).concat(o[8],"\n")[n(574)](o[9],n(443))[n(574)](o[10],n(443)).concat(o[11],"\n").concat(o[12],n(443)).concat(o[13],n(443))[n(574)](o[14],"\n")[n(574)](o[15],"%c ")[n(574)](o[16],n(443))[n(574)](o[17],"\n")[n(574)]("\n"),n(367),n(426),n(597),"",n(599),"",n(599),"",n(599),"",n(599),"",n(599),""))}))},cardRefreshTimes(){var e=_0x31d0;const t=(new Date)[e(625)](),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,c=new Date((new Date)[e(625)]()+"-01-01 00:00:00"),s=document.getElementById(e(612));s&&(asideDay=(o-c)/1e3/60/60/24,s[e(285)](e(422))[e(489)]=asideDay,s[e(285)](e(422))[e(399)]=a,yearPercentage=(asideDay/a*100)[e(484)](2),displayYearPercentage=yearPercentage===e(333)?e(653):yearPercentage+"%",s[e(285)](e(609))[e(236)]=displayYearPercentage,s[e(285)](".schedule-r0 .schedule-d1 .aside-span2").innerHTML=(Math.floor(10*(a-asideDay))/10)[e(484)](1)+e(454)+a,currentDateMonth=new Date,currentDateMonth[e(226)](1),currentDateMonth.setHours(0,0,0,0),currentMonthTimestamp=currentDateMonth[e(530)](),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(500)](),currentDateMonthTotal[e(551)](currentMonth+1,1),currentDateMonthTotal[e(226)](0),asideMonthDays=currentDateMonthTotal[e(354)](),s.querySelector(e(658))[e(489)]=asideMonthDay,s[e(285)](e(658))[e(399)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100)[e(484)](2),displayMonthPercentage=monthPercentage===e(333)?"100%":monthPercentage+"%",s[e(285)](e(292))[e(236)]=displayMonthPercentage,s[e(285)](".schedule-r1 .schedule-d1 .aside-span2").innerHTML=(Math[e(343)](10*(asideMonthDays-asideMonthDay))/10)[e(484)](1)+e(454)+asideMonthDays[e(475)]()[e(582)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek[e(329)](),currentWeekTimestamp=currentDateWeek[e(631)](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(285)]("#pBar_week").value=asideWeekDay,weekPercentage=(asideWeekDay/7*100).toFixed(2),displayWeekPercentage=weekPercentage===e(333)?e(653):weekPercentage+"%",s[e(285)](e(533)).innerHTML=displayWeekPercentage,s.querySelector(".schedule-r2 .schedule-d1 .aside-span2")[e(236)]=(Math.floor(10*(7-asideWeekDay))/10)[e(484)](1)+e(305),currentTimeStamp=(new Date)[e(530)](),startOfDay=new Date,startOfDay[e(631)](0,0,0,0),startOfDayTimeStamp=startOfDay.getTime(),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,s[e(285)](e(404))[e(489)]=asideTodayHour,dayPercentage=(100*asideToday)[e(484)](2),displayDayPercentage=dayPercentage===e(333)?e(653):dayPercentage+"%",s[e(285)](e(488))[e(236)]=displayDayPercentage,s.querySelector(e(493))[e(236)]=(Math.floor(10*(24-asideTodayHour))/10)[e(484)](1)+e(503),month=o[e(500)]()+1,day=o[e(354)](),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document[e(285)]("#aside-content .card-widget#card-widget-schedule .item-content .schedule-today")[e(236)]=o.getFullYear()+"-"+month+"-"+day+" "+week[o[e(329)]()])},PressEscapeKey(e){var t=_0x31d0;27===e[t(577)]&&(document.getElementById(t(576))&&mycpen1js[t(534)](),document.getElementById(t(553))&&document[t(409)]("cf-overshow")&&(document[t(285)](t(514))||document[t(285)](t(641)))&&(document[t(409)]("mycpen1-fcircle-page-tag")&&closeShow(),document.getElementById(t(270))&&mycpen1js[t(234)]()))},linkPageOpenMeShow(e){var t=_0x31d0,a={apipublicurl:t(665)},n="ok",o=t(410),c=document[t(409)]("mycpen1-link-page-tag");c&&(document[t(409)]("cf-overlay")||c.insertAdjacentHTML(t(286),o)),e[t(360)]();var s,r=e[t(645)][t(495)][t(639)][t(483)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,t(640));s=a[t(349)]+"post?link="+r,"ok"==n&&(n="no",mycpen1js[t(328)](s))},linkPageOpenMeShowV2(e){var t=_0x31d0,a="ok",n=t(410),o=document.getElementById(t(270));o&&(document[t(409)]("cf-overlay")||o[t(322)](t(286),n)),e.preventDefault();var c,s=encodeURIComponent(e[t(645)][t(495)][t(415)]);c={apipublicurl:"https://www.cpen.top:8002/"}[t(349)]+t(278)+s,"ok"==a&&(a="no",mycpen1js[t(328)](c))},linkPageCloseShow(){var e=_0x31d0;document[e(409)](e(553))[e(579)]-=e(297),document[e(409)](e(351))[e(579)]-="cf-show-now",setTimeout((function(){var t=e,a=document[t(591)](t(575)),n=document[t(591)](t(235));a.forEach((function(e){e[t(295)]()}));for(var o=1;o<n[t(268)];o++)n[o][t(295)]()}),100)},linkPageFetchShow(_0x587eb2){var _0xb00792=_0x31d0,_0x544146=_0xb00792(605);fetch(_0x587eb2)[_0xb00792(468)]((e=>e[_0xb00792(324)]()))[_0xb00792(468)]((_0xf8418f=>{var _0x60de0=_0xb00792;noClick="ok";var _0x12f725=_0xf8418f[_0x60de0(319)],_0x46e7d9=eval(_0xf8418f[_0x60de0(557)]);0!==_0x12f725[_0x60de0(523)]?(mycpen1js[_0x60de0(373)](_0x12f725,_0x46e7d9),document[_0x60de0(409)]("cf-overlay")[_0x60de0(579)]=_0x60de0(297),document[_0x60de0(409)](_0x60de0(351))[_0x60de0(322)]("afterbegin",_0x544146)):btf[_0x60de0(260)]("未获取到订阅内容")}))[_0xb00792(667)]((e=>{var t=_0xb00792;btf[t(260)](t(419))}))},linkPageLoadFcircleShow(e,t){for(var a=_0x31d0,n='\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="'+e.avatar+a(394)+e[a(639)]+'">'+e.name+'</a>\n </div>\n <div class="cf-overshow-content">\n ',o=0;o<e.article_num;o++){var c=t[o];let e="";Date[a(241)]()-new Date(c[a(647)]+a(449))[a(530)]()<=1728e5&&(e=a(630)),n+='\n <p><a class="cf-article-title" href="'+c.link+'" target="_blank" rel="noopener nofollow" data-title="'+c[a(594)]+'">'+c[a(594)]+a(423)+e+">"+c[a(647)]+a(620)}n+=a(586),document.getElementById("cf-overshow")[a(322)](a(323),n),document[a(409)]("cf-overshow")[a(579)]=a(297)},linkPageRssAliveCheck(){var e=_0x31d0;apiurl=e(665),rssAliveCheckUrl=apiurl+e(388),fetch(rssAliveCheckUrl).then((t=>t[e(324)]()))[e(468)]((t=>{var a=e,n=t.lost_friends,o=t[a(267)],c=t.total_friend_num;let s=[];for(const e in n){let t=n[e];t=t[a(483)](/^https?:\/\//,""),t=t[a(483)](/\/$/,""),s[a(510)](t)}let r=[];for(const e in o){let t=o[e];t=t[a(483)](/^https?:\/\//,""),t=t[a(483)](/\/$/,""),r[a(510)](t)}document[a(591)]("#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon").forEach((e=>{var t=a;if(e){let a=e[t(344)](t(376))[t(483)](/^https?:\/\//,"");a=a[t(483)](/\/$/,""),c>0?r[t(519)](a)?e.classList[t(498)](t(632)):s.includes(a)?e[t(622)][t(498)](t(259)):e[t(622)][t(498)]("flink-mycpen1-rss-unknown-friends"):0===c&&e[t(622)][t(498)](t(259))}}))}))},NzcheckLink:async e=>{var t=_0x31d0;const a=document[t(591)](e);if(a){let e=new RegExp(/^[#].*/);for(let c=0;c<a[t(268)];c++){const s=a[c];var n=s[t(460)](t(288)),o=s[t(622)][t(299)](t(414));if(!n&&!o){let a=s.getAttribute(t(304)),n=s[t(344)](t(400)),o=s[t(344)](t(621));e[t(560)](a)||"prev"===o||o===t(471)||"category"===o||o===t(430)||a===t(626)||(await mycpen1js.NzcheckLocalSite(a)||n?!await mycpen1js[t(540)](a)&&n===t(583)&&s[t(664)](t(304),t(467)+btoa(a)+t(524)):s[t(664)](t(304),t(467)+btoa(a)))}s[t(622)][t(498)](t(414))}}},NzcheckLocalSite:async e=>{var t=_0x31d0;try{const a=[t(365),t(381),"mycpen.cn"];let n=!1;for(let o=0;o<a.length;o++){const c=a[o];if(e[t(519)](c)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0x31d0;window[e(545)](e(429),(()=>{var t=e;window[t(623)][t(644)]({type:t(338),theme:t(418),static:!1,position:t(303),content:{message:"我们使用 cookie 来确保在我们的网站上为您提供最佳体验。",dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:t(405),text:t(589)},button:{background:t(272)}}})}))}};function _0x31d0(e,t){var a=_0x59f2();return(_0x31d0=function(e,t){return a[e-=226]})(e,t)}function whenDOMReadyMycpen1JS(){var e=_0x3c26f0;mycpen1js[e(233)](),mycpen1js[e(441)](),mycpen1js[e(476)](),mycpen1js[e(290)](),mycpen1js.categoryPageActive(),mycpen1js.listenToPageInputPress(),mycpen1js.owoBigfunc(),document.getElementById(e(497))&&(mycpen1js[e(504)](),mycpen1js[e(345)](),window[e(296)]=()=>{var t=e;document[t(409)](t(497))&&(mycpen1js.essayReflashEssayWaterFall(),setTimeout((()=>{mycpen1js[t(345)]()}),300))}),document[e(409)](e(650)).addEventListener(e(556),(function(){setTimeout(mycpen1js[e(552)],100)})),document.getElementById("darkmode_navswitch")[e(545)](e(556),(function(){setTimeout(mycpen1js.switchPostChart,100)})),document[e(409)](e(635))[e(545)](e(556),(function(){setTimeout(mycpen1js[e(552)],100)})),document[e(409)](e(584)).addEventListener(e(556),(function(){setTimeout(mycpen1js[e(552)],100)})),mycpen1js.cpRemind(),mycpen1js[e(470)](),document.getElementById(e(612))&&(mycpen1js[e(240)](),setInterval((()=>{mycpen1js[e(240)]()}),1e3)),document[e(409)]("mycpen1-link-page-tag-2")&&mycpen1js[e(447)](),document[e(409)](e(270))&&(mycpen1js[e(417)]("#article-container .flink .flink-list > .flink-list-item.单向 > a"),mycpen1js[e(417)]("#article-container .flink .flink-list > .flink-list-item.失联 > a")),document[e(409)](e(358))&&mycpen1js[e(417)]("#article-container #mycpen1-about-page-tag-sponsor-part a"),document[e(409)]("post-comment")&&setInterval((()=>{var t=e;if(document[t(285)](t(482))){mycpen1js[t(417)](t(535));document[t(591)](t(616))[t(457)]((e=>{var a=t;e[a(622)][a(498)](a(444));const n=document[a(318)]("a");for(Array[a(277)](e[a(613)]).forEach((e=>{var t=a;n[t(664)](e[t(415)],e[t(489)])}));e[a(289)];)n[a(313)](e[a(289)]);e[a(375)][a(558)](n,e);const o=n[a(568)][a(265)].firstElementChild[a(265)][a(344)](a(304));n[a(664)]("href",o),n.setAttribute(a(262),a(649)),n[a(664)](a(621),"noopener external nofollow noreferrer")}))}}),1e3)}mycpen1js.console(),document[_0x3c26f0(481)](_0x3c26f0(440),mycpen1js[_0x3c26f0(509)]),document[_0x3c26f0(545)](_0x3c26f0(440),mycpen1js[_0x3c26f0(509)]),window[_0x3c26f0(491)]=mycpen1js.getNavRightPagePercent,mycpen1js[_0x3c26f0(238)](),whenDOMReadyMycpen1JS(),document[_0x3c26f0(545)](_0x3c26f0(661),whenDOMReadyMycpen1JS);
1
+ var _0x3b3e25=_0x58f2;function _0x58f2(e,t){var a=_0x52c2();return(_0x58f2=function(e,t){return a[e-=361]})(e,t)}!function(e,t){for(var a=_0x58f2,n=_0x52c2();;)try{if(989470===-parseInt(a(532))/1+-parseInt(a(418))/2+parseInt(a(724))/3+parseInt(a(519))/4*(-parseInt(a(742))/5)+parseInt(a(678))/6*(-parseInt(a(739))/7)+-parseInt(a(717))/8*(-parseInt(a(679))/9)+parseInt(a(699))/10*(parseInt(a(439))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x58f2;"Mycpen - Personal Blog"==document[e(636)]?document[e(576)](e(416))[e(643)]=document[e(636)]:document[e(576)]("page-name")[e(643)]=document[e(636)].split(e(454))[0]},getNavRightPagePercent(){var e=_0x58f2;let t=document[e(549)].scrollTop||window[e(755)],a=Math[e(361)](document[e(675)][e(637)],document[e(549)][e(637)],document.body[e(737)],document[e(549)][e(737)],document[e(675)][e(486)],document[e(549)][e(486)])-document[e(549)][e(486)],n=Math.round(t/a*100),o=document[e(449)](e(546));n<=99||(n=99),o.innerHTML=n,r=window[e(387)]+document[e(549)].clientHeight,p=document.getElementById("post-comment")||document.getElementById(e(557)),p[e(632)]+p.offsetHeight/2<r||90<n?(document[e(449)](e(719))[e(422)].add(e(491)),o[e(488)]="返回顶部"):(document[e(449)](e(719)).classList.remove(e(491)),o[e(488)]=n)},share(){var e=_0x58f2;let t=window.location[e(523)]+window[e(464)][e(590)];new ClipboardJS(e(461),{text:function(){var a=e;return a(565)+document[a(636)]+a(754)+t}}),btf[e(395)](e(772))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0x58f2;localStorage[a(493)](e,JSON[a(586)]({time:Date.now(),data:t}))},loadData:(e,t)=>{var a=_0x58f2;let n=JSON[a(500)](localStorage[a(435)](e));if(n){let e=Date[a(424)]()-n.time;if(e<60*t*1e3&&e>-1)return n[a(365)]}return 0},randomLink:()=>{var t=_0x58f2;let a=e[t(437)]("links",30);if(a){let e=document[t(545)](t(713));if(!e[t(381)])return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math[t(688)]()*a[t(381)])}while("失联"===a[o].tag);e[n][t(643)]=a[o].name,e[n][t(413)]=a[o].link,e[n].title=a[o][t(453)],e[n][t(741)]=t(677),e[n][t(673)]=t(485),a[t(525)](o,1)}}else fetch("https://cdn.cbd.int/mycpen-blog@0.0.0-ezcuaybncn/json/link.json")[t(798)]((e=>e[t(455)]()))[t(798)]((a=>{var n=t;e[n(768)]("links",a[n(758)]),e[n(569)]()}))}};e[_0x58f2(569)]()},newYearCountdownCard(){(()=>{var e=_0x58f2;if(clearTimeout(null),!document.querySelector("#newYear"))return;let t=new Date((new Date)[e(514)]()+1+e(603)).getTime()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,s=o.getMonth()+1,c=o[n(728)]();s=s>9?s:"0"+s,c=c>9?c:"0"+c,document[n(449)](n(651)).innerHTML=o[n(514)]()+"-"+s+"-"+c+" "+a[o[n(457)]()];let r=t-Math[n(783)](o[n(596)]()/1e3);r<0?(document.querySelector("#newYear .title")[n(488)]="Happy New Year!",document[n(449)](n(593))[n(488)]=n(665)):(document[n(449)](n(487))[n(488)]=n(684)+((new Date).getFullYear()+1)+n(756),document[n(449)](n(593))[n(488)]=r>86400?n(779)+Math[n(614)](r/86400)+'<span class="unit">天</span></span>':n(779)+Math[n(614)](r/86400)+n(442))}()})()},removeBodyPaceClass:function(){var e=_0x58f2;$(e(675))[e(726)](),$(e(675))[e(676)](e(371))},toPage:function(){var e=_0x58f2,t=document[e(545)](e(427)),a=parseInt(t[t[e(381)]-1][e(488)]),n=document.getElementById(e(458)),o=parseInt(n[e(414)]);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var s,c=window[e(464)][e(413)][e(572)](/\/page\/\d+\/$/,"/");s=1===o?c:c+(c[e(379)]("/")?"":"/")+e(780)+o+"/",document[e(576)](e(492))[e(413)]=s}},listenToPageInputPress(){var e=_0x58f2,t=document[e(576)](e(458)),a=document[e(576)](e(492));t&&(t.addEventListener(e(476),(t=>{var n=e;13===t[n(364)]&&(mycpen1js[n(583)](),pjax[n(809)](a[n(413)]))})),t[e(529)](e(720),(function(){var n=e;""===t[n(414)]||"0"===t.value?a[n(422)].remove(n(760)):a[n(422)][n(709)](n(760));var o=document[n(545)](".page-number"),s=+o[o.length-1][n(488)];+document[n(576)](n(458))[n(414)]>s&&(t[n(414)]=s)})))},showConsole:function(){var e=_0x58f2;document[e(449)]("#console")[e(422)][e(709)](e(609)),mycpen1js[e(582)]()},hideConsole:function(){var e=_0x58f2;document[e(449)](e(362))[e(422)].remove(e(609))},hideAsideBtn:()=>{var e=_0x58f2;const t=document[e(549)][e(422)];t[e(386)](e(634))?saveToLocal[e(363)]("aside-status",e(609),2):saveToLocal[e(363)](e(615),e(468),2),t[e(564)]("hide-aside"),t[e(386)](e(634))?document[e(449)]("#consoleHideAside").classList[e(709)]("on"):document[e(449)](e(415))[e(422)].remove("on")},initConsoleState:function(){var e=_0x58f2;document[e(549)][e(422)].contains(e(634))?document.querySelector(e(415))[e(422)][e(709)]("on"):document.querySelector(e(415))[e(422)][e(774)]("on")},tagPageActive:function(){var e=_0x58f2,t=window[e(464)][e(590)];if(/\/tags\/.*?\//[e(692)](t=decodeURIComponent(t))){var a=t[e(526)]("/")[2];if(document[e(449)](e(498))){$("a").removeClass(e(521));var n=document[e(576)](e(721)+a);n&&n[e(422)][e(709)](e(521))}}},categoryPageActive:function(){var e=_0x58f2,t=window.location.pathname;if(/\/categories\/.*?\//[e(692)](t=decodeURIComponent(t))){var a=t[e(526)]("/")[2];if(document[e(449)](".page .layout #category #category-page-categories")){$("a")[e(726)](e(521));var n=document[e(576)](e(693)+a);n&&n.classList[e(709)](e(521))}}},addRandomCommentInfo:function(){var e=_0x58f2;const t=[e(598),e(652),e(698),e(570),e(661),"慷慨的","善良的",e(588),e(502),e(732),e(563),e(477),e(777),e(536),e(612),e(799),e(370),e(674),"温柔的","温暖的",e(482),"细心的",e(397),e(438),"朴素的","含蓄的",e(489),e(803),e(667),e(623),e(801),e(655),e(802),e(511),e(508),e(714),"慎重的",e(804),e(378),e(420),e(620),e(797),e(656),"有魅力的",e(404),e(791),"干净的",e(767),e(562),e(766),e(782),e(566),"有责任心的",e(635),e(479),"有智慧的",e(618),e(757),"有爱心的",e(670),e(597),e(574),"具有批判性思维的",e(544),"善于沟通的",e(571),e(475),"有激情的",e(401),e(517),"有个性的","有正义感的","有责任感的",e(394),e(580),e(606),e(697),"有协调能力的",e(735),e(543),e(503),"有执行能力的",e(622),e(638),e(657),e(743),e(408)],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜",e(530),"洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜","西兰花","蘑菇",e(662),"苹果","香蕉","橙子","柠檬",e(764),"草莓","葡萄","桃子","杏子","李子","石榴","西瓜","哈密瓜","蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子",e(443)],n=""+t[Math[e(611)](Math[e(688)]()*t[e(381)])]+a[Math.floor(Math[e(688)]()*a[e(381)])];!function(){for(var t=e,a=[t(504),"input[name='comname']",t(646),t(409),t(648),t(601),t(752),t(629)],o=[t(723),t(786),t(459),t(762),t(383),t(806),"input[name='mail']","#comment_email"],s=0;s<a[t(381)];s++){var c=document[t(449)](a[s]);if(null!=c){c.value=n,c.dispatchEvent(new Event(t(720))),c[t(642)](new Event(t(412)));break}}for(var r=0;r<o[t(381)];r++){var i=document[t(449)](o[r]);if(null!=i){i.value=t(541),i.dispatchEvent(new Event("input")),i.dispatchEvent(new Event(t(412)));break}}}();var o=document[e(600)](e(696))[0];o.focus(),o[e(771)](-1,-1)},owoBigfunc(){var e=_0x58f2;document[e(576)]("post-comment")&&function(){var t=e;let a=1,n="",o=document.createElement("div"),s=document[t(449)](t(675));o.id="owo-big",s.appendChild(o),new MutationObserver((e=>{var c=t;for(let t=0;t<e[c(381)];t++){let r=e[t][c(499)],i="";2==r[c(381)]&&"OwO-body"==r[1][c(805)]&&(i=r[1],document[c(675)][c(712)]<=768&&i[c(529)](c(460),(e=>e.preventDefault())),i[c(759)]=e=>{var t=c;a&&e[t(741)].tagName==t(595)&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e.target[a(486)],c=3*e[a(741)][a(712)],r=e.x-e[a(462)]-(c-e[a(741)][a(712)])/2,i=e.y-e.offsetY;r+c>s[a(712)]&&(r-=r+c-s[a(712)]+10),r<0&&(r=10),o[a(775)][a(800)]=a(641)+n+"px; width:"+c+a(430)+r+"px; top:"+i+a(605),o[a(488)]='<img src="'+e[a(741)][a(682)]+'">'}),300))},i.onmouseout=()=>{var e=c;o[e(775)][e(533)]=e(729),a=1,clearTimeout(n)})}}))[t(744)](document[t(576)](t(450)),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0x58f2;function t(){var e=_0x58f2;const t=document.querySelector(e(410));t&&(a.disconnect(),setTimeout((()=>{t[e(366)]()}),1))}const a=new MutationObserver(((e,a)=>{var n=_0x58f2;for(let a of e)a[n(734)]===n(490)&&t()}));a[e(744)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x58f2;const t=e=>{var t=_0x58f2;const a=(window.globalFn||{})[t(559)]||{};a&&Object[t(776)](a)[t(556)]((n=>{var o=t;const s=a[n];["disqus","disqusjs"][o(423)](n)?setTimeout((()=>s(e)),300):s(e)}))};(document.documentElement[e(796)](e(763))===e(391)?e(391):"light")===e(507)?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf[e(395)](GLOBAL_CONFIG[e(773)][e(512)]),t("dark")):(activateLightMode(),saveToLocal[e(363)](e(663),e(507),2),void 0!==GLOBAL_CONFIG[e(773)]&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day),t(e(507))),typeof utterancesTheme===e(613)&&utterancesTheme(),typeof FB===e(368)&&window[e(740)](),window.DISQUS&&document.getElementById("disqus_thread")[e(702)][e(381)]&&setTimeout((()=>window[e(540)]()),200)},essayUnknownPart(){},essayReplaceAll(e,t,a){var n=_0x58f2;return e[n(526)](t)[n(789)](a)},essayDiffDate:function(e,t=!1){var a=_0x58f2;const n=new Date,o=new Date(e),s=n[a(596)]()-o.getTime(),c=36e5,r=864e5;let i;if(t){const e=s/r,t=s/c,n=s/6e4;i=s/2592e6>=1?o[a(400)]()[a(572)](/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG.date_suffix[a(619)]:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(474)].hour:n>=1?parseInt(n)+" "+GLOBAL_CONFIG[a(474)][a(522)]:GLOBAL_CONFIG.date_suffix[a(463)]}else i=parseInt(s/r);return i},essayChangeTimeInEssay:function(){var e=_0x58f2;document[e(449)]("#bber")&&document[e(545)]("#bber time")[e(556)]((function(t){var a=e,n=t,o=n[a(796)](a(746));n[a(643)]=mycpen1js[a(633)](o,!0),n[a(775)][a(533)]=a(686)}))},essayReflashEssayWaterFall:function(){var e=_0x58f2;document.querySelector(e(520))&&setTimeout((function(){var t=e;waterfall("#waterfall"),document[t(576)](t(722))[t(422)][t(709)](t(609))}),500)},essayCommentText:function(e){var t=_0x58f2;var a=document[t(449)](t(372)).offsetTop;window[t(567)](0,a-80),e!=t(575)&&e!=t(483)||(e="好棒!"),function t(){setTimeout((()=>{var a=_0x58f2,n=document[a(600)](a(696))[0];n||t();let o=document[a(560)](a(591));o[a(683)](a(720),!0,!0);let s=mycpen1js.essayReplaceAll(e,"\n",a(451));n.value="> "+s+"\n\n",n[a(642)](o),n[a(578)](),n[a(771)](-1,-1),document[a(576)](a(672))&&document[a(576)](a(672))[a(422)][a(709)]("show")}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x58f2;let t=new Swiper(e(736),{passiveListeners:!0,direction:e(510),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document[e(576)](e(431));null!==a&&(a.onmouseenter=function(){var a=e;t[a(516)][a(785)]()},a.onmouseleave=function(){var a=e;t[a(516)][a(680)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x58f2,t=document[e(730)](e(616)),a=0;a<t[e(381)];a++){var n,o=t[a][e(796)](e(746)),s=new Date(o),c=(new Date)[e(596)]()-s[e(596)](),r=Math[e(611)](c/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":s[e(514)]()!==(new Date)[e(514)]()?(Essaymonth=s.getMonth()+1,EssayDay=s[e(728)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=s[e(514)]()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=s[e(587)]()+1,EssayDay=s[e(728)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a][e(792)]=n}},switchPostChart:function(){var e=_0x58f2;let t=document[e(549)][e(796)](e(763))===e(507)?e(467):e(579);if(document[e(576)]("posts-chart")&&postsOption)try{let a=postsOption;a.title[e(417)][e(711)]=t,a[e(716)].nameTextStyle[e(711)]=t,a[e(373)][e(658)][e(711)]=t,a.xAxis[e(749)][e(711)]=t,a.yAxis[e(749)][e(711)]=t,a[e(716)][e(389)][e(550)][e(711)]=t,a[e(373)][e(389)][e(550)][e(711)]=t,a.series[0].markLine.data[0].label.color=t,postsChart.setOption(a)}catch(t){console[e(602)](t)}if(document[e(576)](e(718))&&tagsOption)try{let a=tagsOption;a[e(636)].textStyle[e(711)]=t,a.xAxis.nameTextStyle[e(711)]=t,a.yAxis[e(658)].color=t,a[e(716)][e(749)].color=t,a[e(373)][e(749)].color=t,a[e(716)].axisLine[e(550)][e(711)]=t,a.yAxis.axisLine[e(550)][e(711)]=t,a[e(617)][0][e(537)][e(365)][0][e(447)][e(711)]=t,tagsChart[e(704)](a)}catch(t){console[e(602)](t)}if(document[e(576)]("categories-chart")&&categoriesOption)try{let a=categoriesOption;a[e(636)].textStyle.color=t,a[e(584)][e(417)].color=t,!categoryParentFlag&&(a[e(617)][0].label[e(711)]=t),categoriesChart[e(704)](a)}catch(t){console[e(602)](t)}},cpRemind(){var e=_0x58f2;document[e(529)]("copy",(function(t){var a=e;window[a(436)]()[a(538)]()[a(653)]().length>0&&btf[a(395)](a(772))}))},closeAboutAplayer(){var e=_0x58f2;if(!document[e(576)](e(515)))try{about_page_ap[e(555)](),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=_0x58f2,t=new Date,a=t.getMonth()+1,n=t[e(728)](),o=[e(630),e(660),e(407),e(654),e(715),e(481),e(589),"11.30",e(405)];for(var s of o){var c=s.split(".");if(a==c[0]&&n==c[1]){var r=e(434);$(e(561))[e(807)]({filter:e(765),filter:e(753),filter:r,"-webkit-filter":r,"-moz-filter":r,"-ms-filter":r,"-o-filter":r});break}}},console(){var e=_0x58f2,t=new Date,a=console[e(602)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(465))+atob("MDA6MDA6MDA=")),s=new Date(atob(n(513))+":"+atob(n(795))),c=new Date(""+atob(n(411))+atob("MjggMDA6MDA6MDA=")),r=new Date(atob(n(398))+"/"+atob(n(608))+atob(n(376)));new Date(n(551));t[n(527)](t[n(596)]()+250);o=[n(689)," "+window[n(464)].origin+" ","\n\n",n(548),Math[n(611)](Math[n(501)](t-o)/1e3/60/60/24+(t-o<0?1:0))[n(538)]().padEnd(5," "),"天","距 1998-00-00 计时",Math.floor(Math[n(501)](t-s)/1e3/60/60/24+(t-s<0?1:0)).toString()[n(794)](5," "),"天","距 2028-00-00 计时",Math[n(611)](Math[n(501)](t-c)/1e3/60/60/24+(t-c<0?1:0))[n(538)]()[n(794)](5," "),"天","距 2058-00-00 计时",Math[n(611)](Math[n(501)](t-r)/1e3/60/60/24+(t-r<0?1:0))[n(538)]()[n(794)](5," "),"天"];setTimeout(function(){a[_0x58f2(581)](console,arguments)}[n(668)](console,n(778)[n(428)](o[0],"%c").concat(o[1],"%c")[n(428)](o[2],"%c")[n(428)](o[3],n(708))[n(428)](o[4],n(708))[n(428)](o[5],"\n")[n(428)](o[6],n(708))[n(428)](o[7],"%c ")[n(428)](o[8],"\n").concat(o[9],n(708)).concat(o[10],n(708))[n(428)](o[11],"\n").concat(o[12],n(708))[n(428)](o[13],"%c ")[n(428)](o[14],"\n").concat("\n"),n(604),"background: #fadfa3; padding:5px 0;","color:#fadfa3","",n(478),"",n(478),"",n(478),"","color:#030307",""))}))},cardRefreshTimes(){var e=_0x58f2;const t=(new Date)[e(514)](),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,s=new Date((new Date).getFullYear()+e(603)),c=document.getElementById(e(751));c&&(asideDay=(o-s)/1e3/60/60/24,c.querySelector("#pBar_year").value=asideDay,c[e(449)](e(599))[e(361)]=a,yearPercentage=(asideDay/a*100)[e(406)](2),displayYearPercentage="100.00"===yearPercentage?e(687):yearPercentage+"%",c[e(449)](e(727)).innerHTML=displayYearPercentage,c.querySelector(e(624))[e(488)]=(Math.floor(10*(a-asideDay))/10)[e(406)](1)+" / "+a,currentDateMonth=new Date,currentDateMonth[e(703)](1),currentDateMonth[e(649)](0,0,0,0),currentMonthTimestamp=currentDateMonth[e(596)](),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(587)](),currentDateMonthTotal[e(664)](currentMonth+1,1),currentDateMonthTotal[e(703)](0),asideMonthDays=currentDateMonthTotal[e(728)](),c[e(449)]("#pBar_month").value=asideMonthDay,c[e(449)](e(506))[e(361)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100)[e(406)](2),displayMonthPercentage=monthPercentage===e(377)?e(687):monthPercentage+"%",c[e(449)](e(421))[e(488)]=displayMonthPercentage,c[e(449)](e(388))[e(488)]=(Math[e(611)](10*(asideMonthDays-asideMonthDay))/10)[e(406)](1)+" / "+asideMonthDays[e(538)]()[e(631)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek[e(457)](),currentWeekTimestamp=currentDateWeek[e(649)](0,0,0,0),firstDayOfWeekTimestamp=currentWeekTimestamp-24*(0===currentDayOfWeek?6:currentDayOfWeek-1)*60*60*1e3,pastWeekTimestamp=o-firstDayOfWeekTimestamp,asideWeekDay=pastWeekTimestamp/1e3/60/60/24,c[e(449)]("#pBar_week").value=asideWeekDay,weekPercentage=(asideWeekDay/7*100)[e(406)](2),displayWeekPercentage=weekPercentage===e(377)?e(687):weekPercentage+"%",c[e(449)]("#p_span_week")[e(488)]=displayWeekPercentage,c[e(449)](e(396))[e(488)]=(Math[e(611)](10*(7-asideWeekDay))/10)[e(406)](1)+e(469),currentTimeStamp=(new Date)[e(596)](),startOfDay=new Date,startOfDay[e(649)](0,0,0,0),startOfDayTimeStamp=startOfDay[e(596)](),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,c[e(449)](e(452)).value=asideTodayHour,dayPercentage=(100*asideToday)[e(406)](2),displayDayPercentage="100.00"===dayPercentage?e(687):dayPercentage+"%",c[e(449)](e(534))[e(488)]=displayDayPercentage,c.querySelector(e(494))[e(488)]=(Math[e(611)](10*(24-asideTodayHour))/10)[e(406)](1)+e(480),month=o[e(587)]()+1,day=o[e(728)](),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document.querySelector(e(425))[e(488)]=o.getFullYear()+"-"+month+"-"+day+" "+week[o[e(457)]()])},PressEscapeKey(e){var t=_0x58f2;27===e[t(364)]&&(document.getElementById(t(573))&&mycpen1js.hideConsole(),document[t(576)](t(542))&&document[t(576)](t(380))&&(document[t(449)](t(725))||document.querySelector(t(577)))&&(document[t(576)](t(429))&&closeShow(),document.getElementById(t(621))&&mycpen1js[t(707)]()))},linkPageOpenMeShow(e){var t=_0x58f2,a={apipublicurl:t(710)},n="ok",o=t(645),s=document[t(576)](t(621));s&&(document[t(576)]("cf-overlay")||s[t(539)]("afterend",o)),e[t(681)]();var c,r=e[t(685)][t(445)][t(393)][t(572)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,"$1:$2$3");c=a[t(399)]+t(607)+r,"ok"==n&&(n="no",mycpen1js[t(585)](c))},linkPageOpenMeShowV2(e){var t=_0x58f2,a={apipublicurl:t(710)},n="ok",o=t(645),s=document[t(576)](t(621));s&&(document[t(576)](t(542))||s[t(539)](t(671),o)),e.preventDefault();var c,r=encodeURIComponent(e[t(685)][t(445)][t(453)]);c=a[t(399)]+t(784)+r,"ok"==n&&(n="no",mycpen1js[t(585)](c))},linkPageCloseShow(){var e=_0x58f2;document[e(576)](e(542)).className-=e(448),document[e(576)](e(380)).className-=e(448),setTimeout((function(){var t=e,a=document[t(545)](t(369)),n=document[t(545)](t(531));a.forEach((function(e){e.remove()}));for(var o=1;o<n[t(381)];o++)n[o][t(774)]()}),100)},linkPageFetchShow(_0x56df55){var _0x2e22dd=_0x58f2,_0x5e17db=_0x2e22dd(731);fetch(_0x56df55)[_0x2e22dd(798)]((e=>e[_0x2e22dd(455)]()))[_0x2e22dd(798)]((_0x106091=>{var _0x14292f=_0x2e22dd;noClick="ok";var _0x5bfd2e=_0x106091[_0x14292f(628)],_0x3b048b=eval(_0x106091[_0x14292f(528)]);0!==_0x5bfd2e[_0x14292f(456)]?(mycpen1js[_0x14292f(496)](_0x5bfd2e,_0x3b048b),document[_0x14292f(576)](_0x14292f(542))[_0x14292f(805)]=_0x14292f(448),document[_0x14292f(576)](_0x14292f(380))[_0x14292f(539)]("afterbegin",_0x5e17db)):btf[_0x14292f(395)]("未获取到订阅内容")})).catch((e=>{btf[_0x2e22dd(395)]("未获取到文章卡片")}))},linkPageLoadFcircleShow(e,t){for(var a=_0x58f2,n='\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="'+e[a(558)]+'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-ezcuaybncn/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="'+e[a(393)]+'">'+e[a(453)]+'</a>\n </div>\n <div class="cf-overshow-content">\n ',o=0;o<e.article_num;o++){var s=t[o];let e="";Date.now()-new Date(s.created+a(787))[a(596)]()<=1728e5&&(e='style="color: var(--mycpen1-main); opacity: 1;"'),n+='\n <p><a class="cf-article-title" href="'+s.link+a(518)+s.title+'">'+s[a(636)]+"</a><span "+e+">"+s.created+"</span></p>\n "}n+=a(666),document[a(576)]("cf-overshow")[a(539)](a(793),n),document[a(576)](a(380))[a(805)]=a(448)},linkPageRssAliveCheck(){var e=_0x58f2;apiurl=e(710),rssAliveCheckUrl=apiurl+e(524),fetch(rssAliveCheckUrl).then((t=>t[e(455)]()))[e(798)]((t=>{var a=e,n=t[a(433)],o=t[a(748)],s=t.total_friend_num;let c=[];for(const e in n){let t=n[e];t=t.replace(/^https?:\/\//,""),t=t[a(572)](/\/$/,""),c[a(497)](t)}let r=[];for(const e in o){let t=o[e];t=t.replace(/^https?:\/\//,""),t=t[a(572)](/\/$/,""),r[a(497)](t)}document[a(545)](a(432)).forEach((e=>{var t=a;if(e){let a=e.getAttribute(t(553))[t(572)](/^https?:\/\//,"");a=a[t(572)](/\/$/,""),s>0?r[t(423)](a)?e[t(422)].add(t(594)):c[t(423)](a)?e.classList[t(709)](t(761)):e[t(422)][t(709)](t(384)):0===s&&e[t(422)][t(709)](t(761))}}))}))},NzcheckLink:async e=>{var t=_0x58f2;const a=document[t(545)](e);if(a){let e=new RegExp(/^[#].*/);for(let s=0;s<a[t(381)];s++){const c=a[s];var n=c[t(568)](t(444)),o=c[t(422)].contains(t(701));if(!n&&!o){let a=c[t(796)](t(413)),n=c[t(796)](t(738)),o=c[t(796)]("rel");e.test(a)||o===t(440)||"next"===o||o===t(495)||"tag"===o||a===t(446)||(await mycpen1js[t(441)](a)||n?!await mycpen1js[t(441)](a)&&n===t(403)&&c.setAttribute(t(413),t(472)+btoa(a)+t(374)):c.setAttribute("href",t(472)+btoa(a)))}c[t(422)][t(709)]("already-redirect-link")}}},NzcheckLocalSite:async e=>{var t=_0x58f2;try{const a=[t(659),t(367),t(392)];let n=!1;for(let o=0;o<a[t(381)];o++){const s=a[o];if(e[t(423)](s)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0x58f2;window[e(529)](e(694),(()=>{var t=e;window[t(745)][t(690)]({type:t(695),theme:"edgeless",static:!1,position:t(626),content:{message:t(473),dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:t(669),text:"#838391"},button:{background:t(505)}}})}))}};function whenDOMReadyMycpen1JS(){var e=_0x3b3e25;mycpen1js[e(627)](),mycpen1js[e(554)](),mycpen1js[e(471)](),mycpen1js[e(625)](),mycpen1js[e(781)](),mycpen1js.listenToPageInputPress(),mycpen1js[e(790)](),document[e(576)](e(552))&&(mycpen1js[e(700)](),mycpen1js[e(691)](),window[e(733)]=()=>{var t=e;document.getElementById(t(552))&&(mycpen1js[t(691)](),setTimeout((()=>{mycpen1js[t(691)]()}),300))}),document[e(576)](e(535))[e(529)](e(366),(function(){setTimeout(mycpen1js[e(466)],100)})),document[e(576)](e(705)).addEventListener("click",(function(){setTimeout(mycpen1js[e(466)],100)})),document.getElementById(e(592))[e(529)](e(366),(function(){setTimeout(mycpen1js[e(466)],100)})),document[e(576)](e(770)).addEventListener(e(366),(function(){setTimeout(mycpen1js[e(466)],100)})),mycpen1js.cpRemind(),mycpen1js[e(639)](),document[e(576)](e(751))&&(mycpen1js[e(747)](),setInterval((()=>{mycpen1js[e(747)]()}),1e3)),document[e(576)](e(808))&&mycpen1js[e(419)](),document[e(576)]("mycpen1-link-page-tag")&&(mycpen1js[e(547)](e(610)),mycpen1js[e(547)]("#article-container .flink .flink-list > .flink-list-item.失联 > a")),document[e(576)]("mycpen1-about-page-tag")&&mycpen1js[e(547)]("#article-container #mycpen1-about-page-tag-sponsor-part a"),document[e(576)](e(450))&&setInterval((()=>{var t=e;if(document.querySelector(t(382))){mycpen1js[t(547)](".tk-comments-container a:not(.already-redirect-link)");document[t(545)](t(375))[t(556)]((e=>{var a=t;e.classList[a(709)](a(402));const n=document[a(644)]("a");for(Array[a(769)](e[a(509)]).forEach((e=>{var t=a;n[t(750)](e[t(453)],e.value)}));e.firstChild;)n.appendChild(e[a(788)]);e.parentNode[a(426)](n,e);const o=n[a(647)][a(650)][a(650)].firstElementChild[a(796)](a(413));n[a(750)]("href",o),n[a(750)](a(741),"_blank"),n[a(750)](a(673),a(485))}))}}),1e3)}function _0x52c2(){var e=["essayReflashEssayWaterFall","test","mycpen1-categories-page-cloudCategories-","load","info","el-textarea__inner","有团队精神的","聪明的","10dnhgaf","essayChangeTimeInEssayByMycpen","already-redirect-link","children","setDate","setOption","darkmode_navswitch","getNavRightPagePercent","linkPageCloseShow","%c ","add","https://hexo-circle.cpen.top/","color","clientWidth","#friend-links-in-footer .footer-item","朝气蓬勃的","09.09","xAxis","15012512xiuVcY","tags-chart","#nav-totop","input","mycpen1-tags-page-cloudTags-","waterfall","#mail","5800701eQgBtE",".cf-overshow-close","removeClass","#p_span_year","getDate","none","getElementsByTagName",'\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ',"成熟的","onresize","type","有决策能力的",".essay_bar_swiper_container","offsetHeight","data-download","3647keJmDe","loadFBComment","target","1357040NDGYsT","有专业素养的","observe","cookieconsent","datetime","cardRefreshTimes","not_lost_friends","axisLabel","setAttribute","card-widget-schedule","input[name='nick']","progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)","\n链接:","pageYOffset"," <span>年</span>","有冒险精神的","link_list","onmouseover","haveValue","flink-mycpen1-rss-lost-friends","#inpEmail","data-theme","猕猴桃","gray !important;","体贴的","宽容的","saveData","from","darkmode_sidebarSwitch","setSelectionRange","复制成功","Snackbar","remove","style","keys","幽默的","\n%c",'<span class="day">',"page/","categoryPageActive","守信的","round","postv2?name=","stop","#email"," 00:00:00","firstChild","join","owoBigfunc","好奇的","textContent","beforeend","padEnd","MDA6MDA=","getAttribute","善解人意的","then","活泼的","cssText","自信的","文静的","开放的","大方的","className","#ds-dialog-email","css","mycpen1-link-page-tag-2","loadUrl","max","#console","set","keyCode","data","click","cpen.top","object","#cf-overshow > :not(.cf-overshow-close)","优雅的","pace-done","#post-comment","yAxis","&type=goDown",".tk-avatar.tk-clickable:not(.already-clear-clickEvent)","OjAw","100.00","顽强的","endsWith","cf-overshow","length",".tk-comments-container","input[name='email']","flink-mycpen1-rss-unknown-friends","PressEscapeKey","contains","scrollY",".schedule-r1 .schedule-d1 .aside-span2","axisLine","scrollTop","dark","mycpen.cn","link","有创造力的","snackbarShow",".schedule-r2 .schedule-d1 .aside-span2","耐心的","MTA=","apipublicurl","toLocaleDateString","有幽默感的","already-clear-clickEvent","goDown","独立的","12.13","toFixed","07.07","有商业头脑的","input[name='author']",".aplayer-fixed .aplayer-icon.aplayer-icon-lrc","MTAvMjIvMjA=","change","href","value","#consoleHideAside","page-name","textStyle","1229970qHPhUM","linkPageRssAliveCheck","迷人的","#p_span_month","classList","includes","now","#aside-content .card-widget#card-widget-schedule .item-content .schedule-today","replaceChild",".page-number","concat","mycpen1-fcircle-page-tag","px; left:","bbtalk","#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon","lost_friends","grayscale(100%)","getItem","getSelection","loadData","深沉的","1825219bFXcOY","prev","NzcheckLocalSite",'<span class="unit">天</span></span>',"火龙果","data-fancybox","dataset","javascript:void(0);","label","cf-show-now","querySelector","post-comment","\n> ","#pBar_day","name"," | Mycpen","json","article_num","getDay","toPageText","input[name='commail']","contextmenu",".share","offsetX","just","location","MDgvMjgvMjAyMiA=","switchPostChart","#4C4948","hide"," / 007","removeEventListener","removeBodyPaceClass","/redirect.html?url=","我们使用 cookie 来确保在我们的网站上为您提供最佳体验。","date_suffix","善于领导的","keydown","真诚的","color:#030307","有远见的"," / 024","09.18","敬业的","null","onscroll","noopener external nofollow noreferrer","clientHeight","#newYear .title","innerHTML","率直的","childList","long","toPageButton","setItem",".schedule-r3 .schedule-d1 .aside-span2","category","linkPageLoadFcircleShow","push",".page .layout #tag #tag-page-tags","addedNodes","parse","abs","开朗的","有学习能力的","#author","#4b81e8","#pBar_month","light","纯真的","attributes","vertical","深刻的","day_to_night","MTAvMjIvMTk5OCAwMA==","getFullYear","mycpen1-about-page-tag","autoplay","有思想的",'" target="_blank" rel="noopener nofollow" data-title="',"4MsguPI","#waterfall","select","min","origin","friendstatus","splice","split","setTime","article_data","addEventListener","西红柿","#cf-overshow > .cf-overshow-close","1379654btDvtf","display","#p_span_day","darkmode","豁达的","markLine","toString","insertAdjacentHTML","disqusReset","donotreply@mycpen.cn","cf-overlay","有组织能力的","善于表达的","querySelectorAll","#percent","NzcheckLink","距 2022-08-28 上线","documentElement","lineStyle","05/23/2025 00:00:00","mycpen1-essay-page-tag","data-link","getFooterRandomFlink","pause","forEach","footer","avatar","themeChange","createEvent","html","尊重他人的","稳重的","toggle","标题:","有耐性的","scrollTo","hasAttribute","randomLink","勇敢的","善于合作的","replace","console","喜欢学习的","undefined","getElementById",".cf-overshow","focus","rgba(255,255,255,0.7)","有想象力的","apply","initConsoleState","toPage","legend","linkPageFetchShow","stringify","getMonth","可靠的","09.30","pathname","HTMLEvents","darkmode_consoleSwitch","#newYear .newYear-time","flink-mycpen1-rss-not-lost-friends","IMG","getTime","喜欢思考的","美丽的","#pBar_year","getElementsByClassName","#name","log","-01-01 00:00:00","color: #fadfa3; background: #030307; padding:5px 0;","px;","有艺术细胞的","post?link=","MjIvMjA1OCAwMDowMA==","show","#article-container .flink .flink-list > .flink-list-item.单向 > a","floor","有趣的","function","ceil","aside-status","time","series","有眼光的","day","机智的","mycpen1-link-page-tag","有分析能力的","坚强的",".schedule-r0 .schedule-d1 .aside-span2","tagPageActive","bottom-right","changeNavPageNameTitle","statistical_data","#comment_author","04.04","padStart","offsetTop","essayDiffDate","hide-aside","有担当的","title","scrollHeight","有逻辑思维的","closeAboutAplayer","pjax:complete","display:flex; height:","dispatchEvent","innerText","createElement",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"#inpName","nextElementSibling","#ds-dialog-name","setHours","firstElementChild","#newYear .today","英俊的","trim","08.14","谦虚的","富有想象力的","有创新能力的","nameTextStyle","localhost:4000","05.12","可爱的","金针菇","theme","setMonth",'<span class="happyNewYear">新年快乐</span>',"</div></div>","务实的","bind","#edeff5","有同情心的","afterend","comment-tips","rel","敏捷的","body","addClass","_blank","8298UbElfC","9ecZYLh","start","preventDefault","src","initEvent",'<i class="fa-solid fa-clock"></i> <span>距离</span> ',"currentTarget","inline","100%","random"," MYCPEN BLOG ","initialise"];return(_0x52c2=function(){return e})()}mycpen1js[_0x3b3e25(573)](),document[_0x3b3e25(470)](_0x3b3e25(476),mycpen1js[_0x3b3e25(385)]),document.addEventListener(_0x3b3e25(476),mycpen1js[_0x3b3e25(385)]),window[_0x3b3e25(484)]=mycpen1js[_0x3b3e25(706)],mycpen1js.removeaAlayerFixedLrc(),whenDOMReadyMycpen1JS(),document[_0x3b3e25(529)](_0x3b3e25(640),whenDOMReadyMycpen1JS);