mycpen-blog 0.0.0-wzavuowwjo → 0.0.0-wzujayvmjp

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