mycpen-blog 0.0.0-fjvexcwxyt → 0.0.0-fkajbcdjfo

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