mycpen-blog 0.0.0-wkagesamvp → 0.0.0-wkamerunwu

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