mycpen-blog 0.0.0-elufamvqik → 0.0.0-elumfduncr

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