mycpen-blog 0.0.0-eiumagcrho

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. package/README.md +1 -0
  2. package/atom.xml +547 -0
  3. package/baidu_urls.txt +10 -0
  4. package/baidusitemap.xml +311 -0
  5. package/css/hbe.style.css +1 -0
  6. package/css/index.css +1 -0
  7. package/css/null.css +0 -0
  8. package/css/var.css +0 -0
  9. package/fonts/iconfont.ttf +0 -0
  10. package/fonts/iconfont_redirect_page.ttf +0 -0
  11. package/gallery/fe32.top/download.sh +1144 -0
  12. package/img/202302112141946.png +0 -0
  13. package/img/202302112142328.png +0 -0
  14. package/img/202304021532267.png +0 -0
  15. package/img/202305112228638.jpg +0 -0
  16. package/img/202305171801446.png +0 -0
  17. package/img/202305310409649.gif +0 -0
  18. package/img/202306160035915.jpg +0 -0
  19. package/img/202306160058808.jpg +0 -0
  20. package/img/404.jpg +0 -0
  21. package/img/64.png +0 -0
  22. package/img/avatar.jpg +0 -0
  23. package/img/avatar.png +0 -0
  24. package/img/default-cover.png +0 -0
  25. package/img/email-mycpen.svg +1 -0
  26. package/img/essayError.png +0 -0
  27. package/img/favicon-2.png +0 -0
  28. package/img/favicon.png +0 -0
  29. package/img/fefeff.png +0 -0
  30. package/img/flink-loss-2.png +0 -0
  31. package/img/flink-loss.png +0 -0
  32. package/img/flink404-2.svg +10 -0
  33. package/img/flink404-3.svg +22 -0
  34. package/img/flink404-4.svg +65 -0
  35. package/img/flink404.gif +0 -0
  36. package/img/flink404.svg +52 -0
  37. package/img/github-mycpen.svg +1 -0
  38. package/img/gray2.png +0 -0
  39. package/img/ikun.png +0 -0
  40. package/img/ikun1.png +0 -0
  41. package/img/kaiwang.gif +0 -0
  42. package/img/loading.gif +0 -0
  43. package/img/loading.png +0 -0
  44. package/img/loading.svg +1 -0
  45. package/img/loadingBox.webp +0 -0
  46. package/img/open-peeps-sheet.png +0 -0
  47. package/img/pwa/144.png +0 -0
  48. package/img/pwa/192.png +0 -0
  49. package/img/pwa/196.png +0 -0
  50. package/img/pwa/36.png +0 -0
  51. package/img/pwa/48.png +0 -0
  52. package/img/pwa/512.png +0 -0
  53. package/img/pwa/72.png +0 -0
  54. package/img/pwa/96.png +0 -0
  55. package/img/pwa/splash-1125x2436.png +0 -0
  56. package/img/pwa/splash-1136x640.png +0 -0
  57. package/img/pwa/splash-1170x2532.png +0 -0
  58. package/img/pwa/splash-1179x2556.png +0 -0
  59. package/img/pwa/splash-1242x2148.png +0 -0
  60. package/img/pwa/splash-1242x2208.png +0 -0
  61. package/img/pwa/splash-1242x2688.png +0 -0
  62. package/img/pwa/splash-1248x2778.png +0 -0
  63. package/img/pwa/splash-1290x2796.png +0 -0
  64. package/img/pwa/splash-1334x750.png +0 -0
  65. package/img/pwa/splash-1536x2048.png +0 -0
  66. package/img/pwa/splash-1620x2160.png +0 -0
  67. package/img/pwa/splash-1668x2224.png +0 -0
  68. package/img/pwa/splash-1668x2388.png +0 -0
  69. package/img/pwa/splash-1792x828.png +0 -0
  70. package/img/pwa/splash-2048x1536.png +0 -0
  71. package/img/pwa/splash-2048x2732.png +0 -0
  72. package/img/pwa/splash-2160x1620.png +0 -0
  73. package/img/pwa/splash-2208x1242.png +0 -0
  74. package/img/pwa/splash-2224x1668.png +0 -0
  75. package/img/pwa/splash-2388x1668.png +0 -0
  76. package/img/pwa/splash-2436x1125.png +0 -0
  77. package/img/pwa/splash-2532x1170.png +0 -0
  78. package/img/pwa/splash-2556x1179.png +0 -0
  79. package/img/pwa/splash-2688x1242.png +0 -0
  80. package/img/pwa/splash-2732x2048.png +0 -0
  81. package/img/pwa/splash-2778x1248.png +0 -0
  82. package/img/pwa/splash-2796x1290.png +0 -0
  83. package/img/pwa/splash-640x1136.png +0 -0
  84. package/img/pwa/splash-750x1294.png +0 -0
  85. package/img/pwa/splash-750x1334.png +0 -0
  86. package/img/pwa/splash-828x1792.png +0 -0
  87. package/img/reward-2.gif +0 -0
  88. package/img/reward.gif +0 -0
  89. package/img/siteshot.jpg +0 -0
  90. package/img/telegram-mycpen.svg +1 -0
  91. package/img/wechatoa-cover.png +0 -0
  92. package/img/wechatoa-icon.png +0 -0
  93. package/img/wechatoa-qrcode.png +0 -0
  94. package/img/wormhole_4_tp.gif +0 -0
  95. package/img/zero.png +0 -0
  96. package/img//345/217/210/346/213/215/344/272/221_logo5-2.png +0 -0
  97. package/img//345/217/210/346/213/215/344/272/221_logo5.png +0 -0
  98. package/js/APlayer.js +1 -0
  99. package/js/Meting.js +1 -0
  100. package/js/ali_font.js +1 -0
  101. package/js/custom.js +1 -0
  102. package/js/fcircle.js +1 -0
  103. package/js/fcircle_manage_panel.js +16 -0
  104. package/js/home_page_swiper.js +1 -0
  105. package/js/main.js +1 -0
  106. package/js/people.js +1 -0
  107. package/js/random.js +1 -0
  108. package/js/random_friends_post.js +1 -0
  109. package/js/search/algolia.js +1 -0
  110. package/js/search/local-search.js +1 -0
  111. package/js/tianli_gpt.js +1 -0
  112. package/js/tw_cn.js +1 -0
  113. package/js/ua_parser.js +1 -0
  114. package/js/utils.js +1 -0
  115. package/js/waterfall.js +1 -0
  116. package/json/friend.json +1 -0
  117. package/json/link.json +1 -0
  118. package/json/tianli_gpt.json +1 -0
  119. package/lib/hbe.js +1 -0
  120. package/manifest.json +1 -0
  121. package/music1/css/APlayer.min.css +1 -0
  122. package/music1/img/192.png +0 -0
  123. package/music1/img/512.png +0 -0
  124. package/music1/img/cover.webp +0 -0
  125. package/music1/img/help.webp +0 -0
  126. package/music1/img/icon-2.webp +0 -0
  127. package/music1/img/icon-r.png +0 -0
  128. package/music1/img/icon-r.webp +0 -0
  129. package/music1/img/icon-r_mini.png +0 -0
  130. package/music1/img/icon.webp +0 -0
  131. package/music1/js/APlayer.min.js +1 -0
  132. package/music1/js/Meting2.min.js +1 -0
  133. package/music1/js/main.js +1 -0
  134. package/music1/main.css +1 -0
  135. package/music1/manifest.json +21 -0
  136. package/package.json +22 -0
  137. package/search.xml +2130 -0
  138. package/sitemap.xml +1599 -0
  139. package/wechatOA/img/icon-r-2.webp +0 -0
  140. package/wechatOA/img/icon-r.webp +0 -0
  141. package/wechatOA/img/icon.webp +0 -0
  142. package/wechatOA/img/qrcode.png +0 -0
  143. package/wechatOA/main.css +1 -0
  144. package/wechatOA/main.js +1 -0
@@ -0,0 +1 @@
1
+ {"summaries":[{"url":"https://blog.cpen.top/posts/14763.html","title":"01_Django-介绍-项目结构-URL和视图函数","id":28742,"summary":"这篇文章介绍了Django的项目结构、URL和视图函数的相关内容。首先介绍了Django的起源、组件、用途和版本,并提供了安装方法。然后详细解析了Django项目的结构,包括各个文件的作用和配置。接着介绍了URL的结构和处理URL请求的方法,包括主路由配置和示例视图函数。最后给出了Django的用途和官方文档参考网站,并提供了在线和离线安装的方法。"},{"url":"https://blog.cpen.top/posts/57095.html","title":"02_Django-路由配置-HTTP协议的请求和响应","id":29015,"summary":"这篇文章介绍了Django中的路由配置和HTTP协议的请求和响应。在路由配置方面,文章讲解了path()和re_path()函数的使用方法,并提供了相关的实例练习。对于HTTP协议的请求和响应,文章说明了请求和响应的样例和常用方法,以及Django中处理请求和生成响应的方式。文章还提及了URL反向解析和Django的设计模式及模板层的内容。"},{"url":"https://blog.cpen.top/posts/42935.html","title":"03_Django-GET请求和POST请求-设计模式及模板层","id":49855,"summary":"这篇文章介绍了Django中GET请求和POST请求的处理方式,以及设计模式和模板层的相关内容。文章首先定义了GET请求和POST请求的概念和处理方式。接着介绍了Django中的设计模式和模板层,包括传统的MVC模式以及Django特有的MTV模式。文章还解释了什么是模板,以及模板的配置和加载方式。同时,还介绍了视图层与模板层之间的交互。最后,文章提供了GET请求和POST请求的样例和格式,并解释了如何处理客户端传递的数据。"},{"url":"https://blog.cpen.top/posts/5552.html","title":"01_Error-Nginx 反代后端接口报错","id":37550,"summary":"这篇文章介绍了作者遇到的一个问题,当使用Nginx作为反向代理时,后端接口报错的情况。作者提供了解决办法,并分享了个人配置记录。文章中还包含了相关错误日志以及分析,指出可能是上传文件过大,传输时间过长导致连接被中断。作者提到在使用Nginx作为反向代理时,要注意保持长连接的设置。"},{"url":"https://blog.cpen.top/posts/65154.html","title":"04_Django-模板变量/标签/过滤器/继承-url反向解析","id":43866,"summary":"这篇文章介绍了Django中模板层的各个部分:变量和标签、过滤器和继承、以及url反向解析。文章提供了示例代码和语法演示来说明每个部分的用法。其中介绍了模板变量的传递和调用方式,以及如何使用标签进行流程控制等操作。文章还介绍了过滤器的使用方法,可以通过过滤器改变变量的输出显示。最后,文章简要介绍了模板的继承和url反向解析的相关内容。"},{"url":"https://blog.cpen.top/posts/cb0ae693.html","title":"02_Error-记 Win下 Git 忘加入 PATH","id":31314,"summary":"这篇文章介绍了一个关于在Windows系统中使用Git时出现未加入PATH环境变量的问题。作者使用VS Code打开项目时,使用Git Bash作为终端,在输入命令时出现\"bash: xxx: command not found\"的错误提示。文章提到该问题的原因是Git安装目录下的bin目录未加入环境变量,导致基础命令无法找到。作者解决该问题的方法是将xxx/git/bin加入PATH变量。另外,文章还提到在VS Code打开常用的仓库时,命令通常是可以找到的,但具体原因不确定。"},{"url":"https://blog.cpen.top/posts/12907.html","title":"01_Java-特性-jdk-运行机制-转义字符-注释-代码规范","id":31630,"summary":"这篇文章介绍了Java的特性、jdk的安装配置、运行机制、转义字符、注释、代码规范等内容。首先介绍了Java的就业方向、开发场景和应用领域,接着给出了一些Java程序的举例。然后讲述了Java的特点,包括面向对象、健壮性和跨平台性。还介绍了Java的开发工具选择。文章还附带了视频链接,介绍了一些具体的Java开发场景举例。最后提供了一些本章作业。"},{"url":"https://blog.cpen.top/posts/fe8dbc73.html","title":"03_Error-问题记录-winpty-.gitignore","id":30017,"summary":"这篇文章介绍了一些问题记录和解决方法。首先,作者在git bash终端运行python文件时遇到了中文乱码的问题,通过在python命令前加上winpty解决了这个问题。其次,作者分享了.gitignore配置文件的使用,介绍了.gitignore命令和git status命令中的一些参数。然后,文章提到了一个网络显示\"无Internet\"的问题,并尝试了一些解决方法,最终通过重置以太网网络解决了问题。最后,作者推测问题可能是由DHCP分配的DNS服务器有问题造成的。"},{"url":"https://blog.cpen.top/posts/47697.html","title":"02_Java-变量-数据类型","id":30401,"summary":"这篇文章介绍了Java中的变量和数据类型。在变量部分,它讲解了变量的原理、概念、细节以及加号的使用。在数据类型部分,它介绍了整型、浮点数、字符型和布尔类型,并提供了一些示例。此外,还讨论了数据类型转换和基本数据类型与String类型的转换。文章还使用示例代码演示了变量的使用和注意事项。最后,还简要介绍了Java API文档。"},{"url":"https://blog.cpen.top/posts/62652.html","title":"03_Java-运算符-标识符命名规则规范-键盘输入-进制","id":4377,"summary":"这篇文章介绍了Java中的运算符包括算术、关系、逻辑、位运算符以及赋值和三元运算符,同时也介绍了标识符命名的规则和规范,包括标识符的命名规则和关键字保留字,最后还介绍了键盘输入和进制转换的相关知识,包括四种进制的介绍,以及不同进制之间的转换方法和运算思考题。文章还提供了运算符和关系运算符的应用案例。"},{"url":"https://blog.cpen.top/posts/5162.html","title":"02_Hexo-出错排查-Nunjucks Error","id":30814,"summary":"这篇文章介绍了解决Hexo中Nunjucks错误的方法。文章首先描述了出现的错误现象,即Unhandled rejection Nunjucks Error: _posts/xxx.md [Line 84, Column 13] unknown block tag: 标签。然后介绍了解决这个问题的办法,可以使用raw标签包裹或使用单引号或三引号来避免Nunjucks解析错误。另外,还提到可以通过渲染器的选项、API或前置内容来禁用Nunjucks标签。"},{"url":"https://blog.cpen.top/posts/8236.html","title":"01_Hexo-Hexo + Pure搭建博客-自定义","id":29123,"summary":"这篇文章介绍了如何使用Hexo和Pure主题搭建个人博客,并提供了自定义的方法。介绍了Hexo的特点和使用方法,以及Pure主题的项目地址和文档。文章还提到了一些自定义的需求,如修改搜索框、头像链接和文章目录的样式,添加评论框和修改分类的默认收起状态。最后,文章还讨论了一些未解决的小需求。"},{"url":"https://blog.cpen.top/posts/43907.html","title":"03_Hexo-Github Pages 个人博客源文件备份迁移","id":30149,"summary":"这篇文章介绍了将Hexo-Github Pages个人博客源文件备份迁移的过程。文章涵盖了起因、作用、注意点以及配置步骤等内容。其中提到了个人博客源文件的保存问题,源文件的隐私问题以及源文件备份的重要性。文章还提供了具体的配置步骤,包括删除主题文件中的.git文件、同步自定义配置文件等。最后介绍了Hexo和博客源文件之间的关系以及创建新仓库和新分支的示例。"},{"url":"https://blog.cpen.top/posts/38874.html","title":"04_Hexo-多平台部署-云服务器-GitHub-Gitee","id":31036,"summary":"这篇文章介绍了使用Hexo进行多平台部署的步骤和注意事项。文章首先介绍了Hexo可以通过使用多个deployer实现一键部署到多个平台的功能,并说明了在配置文件_config.yml中需要修改参数来正确配置部署。接下来,文章介绍了使用Git Hooks和rsync来同步Hexo生成的静态文件,以及在传大文件时使用rsync的优势。文章还提到了配置SSH免密登录、授权存储目录权限以及打开端口等注意事项。最后,文章提到了使用Nginx编译安装时可能出现的权限问题。"},{"url":"https://blog.cpen.top/posts/51a9ee30.html","title":"05_Hexo-twikoo数据从MongoDB导出-js适配pjax","id":29994,"summary":"这篇文章介绍了如何将Hexo-twikoo的数据从MongoDB导出,并介绍了js文件如何适配PJAX的步骤。作者在文章中提供了参考文章和安装过程,还提到了使用butterfly主题下的data-pjax属性来重载js文件的方法。文章以详细的步骤指导读者完成数据导出和js适配的过程。"},{"url":"https://blog.cpen.top/posts/4c16ee73.html","title":"07_Hexo-插件整理","id":29446,"summary":"这篇文章介绍了一些与Hexo博客相关的插件和Butterfly主题。其中包括加密博客文章、隐藏Hexo文章、渲染引擎、轮播图、分类磁铁、友链朋友圈和统计图表等功能。作者推荐了一些插件并提供了相关的Github地址。该文章转载自Justlovesmile的目录3,并介绍了该博客中使用的插件。"},{"url":"https://blog.cpen.top/posts/9b5a2768.html","title":"06_Hexo-elemecdn 加速 Butterfly 第三方资源","id":29098,"summary":"这篇文章介绍了如何使用Hexo-elemecdn加速Butterfly第三方资源。文章提到了如何配置自定义CDN,以及使用七牛云提供的CDN加速服务。作者尝试了使用elemecdn,但在配置中遇到了困难。经过一番研究,作者成功地修改了源码和配置文件,解决了加载异常的问题,并替换了CDN链接。最后,作者提到了一些参考文章和提示,以帮助读者进一步了解和使用Butterfly CDN。"},{"url":"https://blog.cpen.top/posts/df249111.html","title":"08_Hexo-博客引用 B站鸿蒙字体","id":29511,"summary":"这篇文章介绍了如何在博客中引用B站鸿蒙字体。文章提供了引用的步骤,并总结了字体的样式差异。作者建议在手机上不要使用HarmonyOS_Regular字体,而是使用主题原生的consolas字体。此外,作者还提供了备用方案,即将字体放在个人GitHub仓库中,并通过staticaly CDN进行免费加速。对于使用该字体,作者总结了其与主题原字体之间的差异。"},{"url":"https://blog.cpen.top/posts/27addd89.html","title":"09_Hexo-Replit 搭建 Uptime Kuma 监控服务","id":29442,"summary":"这篇文章介绍了如何使用Hexo和Replit平台搭建Uptime Kuma监控服务。文章分为四个部分:前言、搭建步骤、注意点和参考链接。其中详细介绍了在Replit上导入仓库、配置运行命令、解决回档现象等步骤。作者之前想使用UptimeRobot监控博客友链的存活情况,但由于限制转而使用Uptime Kuma,并通过观看B站视频和参考文档完成了搭建。"},{"url":"https://blog.cpen.top/posts/6f7759e0.html","title":"10_Hexo-GitHub Actions 自动刷新多吉云 CDN 缓存","id":29784,"summary":"这篇文章介绍了使用Hexo-GitHub Actions自动刷新多吉云CDN缓存的方法。文章中提到了新增Workflow文件、新增PY脚本刷新缓存、新增Secrets变量、新增JS代码复制.github以及更新_config.yml配置等步骤。作者通过多吉云API验证和刷新目录任务Actions来实现自动刷新CDN缓存的功能。此外,文章还介绍了解决将隐藏文件复制到public目录下的方法以及修改Hexo配置文件和Github部署器的操作。"},{"url":"https://blog.cpen.top/posts/8b765f7a.html","title":"11_Hexo-GitHub Actions 自动部署博客","id":28702,"summary":"这篇文章介绍了Hexo-GitHub Actions自动部署博客的示例,包括.gitignore文件、workflows文件夹、插件等内容。文章还提到了相关的参考和记录,以及一些变量含义。同时介绍了使用GitHub Action实现全自动部署Hexo博客的方法和示例。"},{"url":"https://blog.cpen.top/posts/8d01af11.html","title":"12_Hexo-GitHub Actions 发布博客静态资源至 NPM","id":50019,"summary":"这篇文章介绍了使用Hexo和GitHub Actions将博客的静态资源发布至NPM。文章中提到了一些npm命令的示例,以及如何将博客静态文件上传至GitHub并通过GitHub Actions自动发布至NPM。文章还介绍了生成npm token、新增GitHub仓库的secrets以及一些脚本的使用方法。最后还提到了一些相关资源和工具的推荐。"},{"url":"https://blog.cpen.top/posts/48860.html","title":"01_Linux基础-部署-VMware-Xshell-Xftp-内核-安迪比尔定理","id":32287,"summary":"这篇文章介绍了Linux操作系统在VMware虚拟机中的部署过程,包括新建虚拟机、放置镜像文件等步骤。同时,还讨论了云厂商、CPU、虚拟机的配置以及Xshell软件的使用。文章进一步解释了CentOS内核的作用和Linux与Windows的区别,最后提到了安迪比尔定理和免费开源的CentOS操作系统。"},{"url":"https://blog.cpen.top/posts/34556.html","title":"02_Linux基础-文件系统层次结构-提示符-进程-隐藏文件-通配符-绝对相对路径-其他基础命令","id":50054,"summary":"这篇文章介绍了Linux基础知识,包括文件系统层次结构、提示符、进程、隐藏文件、通配符和绝对相对路径等。文章详细介绍了一些常用的基础命令,如ls、mkdir、cd等,以及目录结构、进程、隐藏文件等相关内容。还介绍了通配符的使用方法和绝对路径、相对路径的区别等内容。"},{"url":"https://blog.cpen.top/posts/43225.html","title":"03_Linux基础-文件类型-主辅提示符-第1提示符-3个时间-stat-其他基础命令","id":33497,"summary":"这篇文章介绍了一些Linux基础命令,包括stat、ll、ls、集合、du、cd、cp、file、文件类型、mv、主辅提示符、echo、第1提示符、$+变量名、id、cat、ln -s、echo $SHELL、env、set、which、rpm、/usr、/与/root关系、hostname、vim、cat、快捷键、pwd、别名、ls \\ls -l ls -l |grep “^d”、ASCII、文件类型、wc、du、改为英文编码、3个时间、chmod和cp时覆盖文件的方法。"},{"url":"https://blog.cpen.top/posts/62964.html","title":"04_Linux基础-.&..-cat-tac-重定向-EOF-基本命令","id":43184,"summary":"这篇文章介绍了Linux基础知识,包括命令行中的cat、tac、重定向等常用命令,以及Shell脚本的使用。文章还介绍了more、less、head、tail、sed等命令的用法,以及grep、which、whereis、locate、find等命令的功能和用法。同时,还深入讲解了PATH变量的作用和如何让Linux系统知道命令的位置。最后,文章详细介绍了find命令的用途和常见查找条件。"},{"url":"https://blog.cpen.top/posts/43579.html","title":"05_Linux基础-NGINX编译安装^判断是否启动^修改端口^启动停止重启^相关路径^中文乱码","id":29141,"summary":"这篇文章介绍了关于Linux基础中NGINX的编译安装方法,包括判断服务是否启动、修改端口、启动停止重启以及相关路径等内容。文章还涉及到了解决中文乱码的问题以及Windows和Linux之间的文件传输。最后,文章提到了在同一台机器上同时运行两个网站的方法。"},{"url":"https://blog.cpen.top/posts/10149.html","title":"06_Linux基础-NGINX和浏览器、网页的关系-压缩命令-配置NGINX支持下载功能-备份脚本","id":30777,"summary":"这篇文章介绍了Linux基础内容,包括NGINX和浏览器、网页的关系,云服务器的SSH登录和安装NGINX,压缩命令(包括xz、gzip、bzip2、zip、tar)的使用以及配置NGINX服务器支持下载功能。主要内容涉及压缩命令tar,对文件和文件夹进行压缩和解压缩的操作,以及使用zip、gzip、xz、bzip2等命令对文件进行压缩。文章还提供了配置NGINX服务器支持下载功能的操作方法。"},{"url":"https://blog.cpen.top/posts/29955.html","title":"07_Linux基础-计划任务-备份脚本-变量定义和使用","id":35709,"summary":"这篇文章介绍了Linux系统中的计划任务以及计划任务的备份脚本、变量定义和使用。文章详细介绍了计划任务的基本概念,如何在Linux系统中设置和管理计划任务,以及如何使用变量来定义和使用计划任务。此外,还讨论了一次性的计划任务和周期性的计划任务的区别,并提供了一些实际操作的示例和练习。同时还介绍了黑客利用计划任务进行攻击的情况以及如何检查计划任务的执行情况。总之,本文为读者提供了丰富的关于计划任务的知识。"},{"url":"https://blog.cpen.top/posts/33007.html","title":"08_Linux基础-vim-tmux-字符编码","id":41248,"summary":"这篇文章介绍了Linux基础中的vim编辑器的基本用法和常用快捷方式,以及vim-tmux和字符编码问题。文章详细介绍了vim编辑器的多种模式,包括命令模式、编辑模式、末行模式等,并提供了相应的操作键和功能。同时还介绍了vim-tmux的特点和字符编码问题的解决方法。文章总结了vim编辑器在编写脚本、程序和文本处理方面的应用。"},{"url":"https://blog.cpen.top/posts/5276.html","title":"09_Linux基础-SHELL-标准输入与标准输出-重定向-管道","id":43486,"summary":"这篇文章介绍了Linux基础中的SHELL标准输入与标准输出、重定向和管道的相关知识。它讲解了文件描述符,以及如何查看当前登录的用户情况和拦截虚拟终端。文章还介绍了重定向的用法,包括标准错误输出和标准正确输出的重定向方式,以及如何使用重定向清空文件。最后,文章提供了一些关于SHELL脚本练习和管道符号的内容。文章还介绍了一些关于文件目录和虚拟终端的高级操作知识点。"},{"url":"https://blog.cpen.top/posts/30664.html","title":"10_Linux基础-SHELL入门1","id":51496,"summary":"这篇文章介绍了Linux基础中的SHELL入门知识。包括输入输出重定向、特殊文件(/dev/null和/dev/zero)、here document、tee命令、清空文件内容等内容。还介绍了SHELL的变量、接收参数、数据类型、引号区别、字符串操作、数值运算与比较,以及SHELL编程中的if判断、循环和判断等知识点。同时还回顾了输入输出重定向和here document的应用实例。"},{"url":"https://blog.cpen.top/posts/35184.html","title":"11_Linux基础-SHELL入门2","id":33581,"summary":"这篇文章介绍了Linux基础中的SHELL入门内容。主要包括用户的增删改查操作,变量的使用和传参方法,条件判断的方式,连接运算的操作,函数的定义和使用,seq命令的应用,以及循环获取文件或命令输出内容的三种方式。此外还介绍了shell中的一维数组,生成随机数的方法,脚本的编写以及tr命令的使用。文章还提供了一些练习题,如创建用户、找出特定行并进行输出等。"},{"url":"https://blog.cpen.top/posts/9132.html","title":"13_Linux基础-SHELL命令-wc-diff-patch-bc-awk","id":51494,"summary":"这篇文章介绍了一些Linux基础命令,如sort、uniq、cut、wc等以及它们的用法和选项。还介绍了diff命令和patch命令,用于比较和修补文件之间的差异。文章还讲解了如何编写脚本监控内存使用情况、扫描局域网IP、监控进程和文件是否被修改等任务。最后还提到了一些其他命令的用法,如grep、free、pidof和md5sum。"},{"url":"https://blog.cpen.top/posts/61496.html","title":"12_Linux基础-SHELL命令-sort-uniq-cut-grep-正则表达式-通配符","id":51495,"summary":"这篇文章介绍了Linux基础中的一些常用命令,包括sort、uniq、cut、grep等。其中,sort命令可以进行排序和去重操作,uniq命令用于去重并统计重复出现的行数,cut命令用于提取文本列,而grep命令则用于查找匹配的文本。同时,文章还介绍了正则表达式和通配符的使用方法。最后,给出了一些练习题目来巩固知识。"},{"url":"https://blog.cpen.top/posts/10588.html","title":"14_Linux基础-用户与组1","id":11644,"summary":"这篇文章介绍了Linux基础中关于用户和组的知识。文章包含了用户与组的概念、常见命令以及相关文件的介绍。同时还介绍了用户的创建、删除、密码设置等操作,以及用户和组之间的关系和权限管理。此外,还提到了使用Python中的os模块查看当前进程的用户信息,以及ftp协议的使用和常用命令。最后还介绍了一些相关文件的作用和查看用户、组信息的命令。文章内容包含了用户和组的操作和管理方面的基础知识。"},{"url":"https://blog.cpen.top/posts/43746.html","title":"15_Linux基础-用户与组2","id":43075,"summary":"这篇文章介绍了Linux系统中用户与组的基础知识。文章中提到了如何判断用户是否存在、禁用用户登录、查询用户所属的组、查看已登录用户和曾登录用户、重设用户密码、处理忘记root密码、踢出已登录用户并防止其再次登录、将普通用户变成root用户等内容。还介绍了/etc/group文件、group相关操作、gpasswd命令、Linux加密、/etc/login.defs文件、/etc/skel/文件、登录/退出时打印日志的配置、Shell启动配置文件的区别、.bash_history、bash的启动脚本初始化以及用户和组账户的查询。通过这些内容,读者能够了解Linux系统中用户和组的管理和操作。"},{"url":"https://blog.cpen.top/posts/5637.html","title":"16_Linux基础-文件&目录权限及归属","id":51493,"summary":"这篇文章介绍了Linux基础中的文件和目录权限,以及文件和目录的归属。文章还讨论了socket(套接字)的概念以及Linux内核的五大子系统。此外,文章还提到了进程、根目录下的可执行权限、Shell文件的执行方式以及chmod命令的使用。最后,文章解释了文件/目录的权限访问权限可读、可写、可执行以及归属(所有权)。文章并提到了一般情况下普通用户只能在家目录下或者/tmp目录下创建文件或者文件夹。"},{"url":"https://blog.cpen.top/posts/14777.html","title":"17_Linux基础-用户权限2","id":29995,"summary":"这篇文章介绍了Linux基础中与用户权限相关的内容,包括批量创建用户、普通用户的操作权限、权限设置和修改、文件的归属和属组修改、可执行用户操作、默认权限、文件和目录的隐藏属性、文件的正常权限和特别权限、粘滞位权限的设置、以及如何保持文件复制后权限一致。文章还介绍了一些相关的命令和选项。"},{"url":"https://blog.cpen.top/posts/57976.html","title":"18_Linux基础-用户权限3","id":31463,"summary":"这篇文章介绍了Linux基础中关于用户权限的内容。文章包括对根目录下的/etc目录的作用,另外还介绍了练习和ACL的使用、ACL类型以及权限的继承和拒绝。还介绍了sudo授权的相关内容。最后还有关于SELinux的介绍。其中还包括了两道题目,分别是创建三个用户并修改权限,以及有关脚本的内容,包括用户的创建、删除、修改,以及ACL的设置和查看等。"},{"url":"https://blog.cpen.top/posts/33033.html","title":"19_Linux基础-ssh服务1","id":31684,"summary":"这篇文章介绍了一些Linux基础知识,包括编写脚本实现批量新增用户并设置随机密码、字符串的拼接、数值运算、计算本机用户数量和普通用户数量、去除字符串中的空格、备份日志文件等内容。该篇文章还介绍了SSH服务以及密钥登录和配置,以及实现公钥认证的方法。"},{"url":"https://blog.cpen.top/posts/46092.html","title":"20_Linux基础-ssh服务2","id":31597,"summary":"这篇文章介绍了SSH服务的基础知识,包括公钥认证、登录方式、数据加密和数字签名等。文章详细解释了SSH服务端配置文件的用途,并给出了一些实践建议。同时,文章还讨论了如何通过SSH运行服务器中的窗口程序,以及SSH客户端应用和访问控制等内容。为了解决中间人攻击问题,文章强调了公钥确认的重要性。"},{"url":"https://blog.cpen.top/posts/57744.html","title":"21_Linux基础-ssh服务3","id":42803,"summary":"这篇文章介绍了Linux基础-ssh服务的内容。包括回顾ssh、加密技术、ssh登录、ssh远程操作工具、服务配置、跳板机等内容。同时还介绍了ssh服务的补充内容,如命令、登录方式、安全加固措施、免密通道、ansible、日志文件等。文章还详细介绍了ssh服务的登录流程、免密通道、公钥认证的使用方法和弊端。"},{"url":"https://blog.cpen.top/posts/22091.html","title":"22_Linux基础-ansible1","id":31335,"summary":"这篇文章介绍了一些关于Linux基础和Ansible的内容。其中包括selinux、established、SSH访问控制和ssh隧道等主题。文章还提到了如何使用TCP Wrappers实现访问控制,并给出了一些示例命令。同时,还介绍了本地端口转发和远程端口转发的操作步骤以及相关命令。"},{"url":"https://blog.cpen.top/posts/b0a8892b.html","title":"23_Linux基础-ansible2","id":35854,"summary":"这篇文章介绍了Linux基础中的ansible工具。文章首先介绍了云计算和虚拟化技术,然后详细解释了ansible的模块,包括copy、fetch、command、shell、file、cron、yum、service和script模块。文章还介绍了如何查看系统版本和使用playbook。最后,文章给出了一些练习题。文章中还提到了一些关于安全性和问题解答能力的注意事项。"},{"url":"https://blog.cpen.top/posts/ecc378ee.html","title":"24_Linux基础-DNS服务","id":45424,"summary":"这篇文章介绍了Linux下的DNS服务相关内容,包括完全限定域名、域的分类、DNS解析、常用命令、DNS服务软件bind、DNS解析过程、DNS服务的类型、域名服务器配置、资源记录类型等。文章还简单解释了DNS的作用和原理,以及域名的层级关系。最后,提供了参考文章链接。"},{"url":"https://blog.cpen.top/posts/317b0311.html","title":"25_Linux基础-NFS服务","id":33377,"summary":"这篇文章介绍了Linux基础-NFS服务的内容。文章首先简要介绍了NFS(Network File System的简称,即网络文件系统)以及其作用,可以通过网络实现机器和操作系统之间的文件共享。然后介绍了在使用NFS之前需要关闭selinx和iptables,并确保rpcbind服务已经启动。接下来详细介绍了如何配置和启动NFS服务,并展示了在A、C两台机器上如何挂载A机器上的文件目录。\n注意,文章还提到了使用Nginx作为代理转发请求的负载均衡的示例。"},{"url":"https://blog.cpen.top/posts/dd4b1092.html","title":"26_Linux基础-项目轮廓-回顾ansible-dns-nfs-nginx","id":41903,"summary":"这篇文章介绍了Ansible、grep ansible、paramiko和nginx的基本概念和功能。其中,Ansible是一个自动化运维工具,由host inventory、playbook、module和pluging组成。grep ansible用于搜索ansible相关信息。paramiko是一个库/模块,用于实现Ansible的SSH功能。而nginx是一个web服务器,用于处理网站的请求。文章还介绍了DNS的作用和解析过程,以及A记录的类型。"},{"url":"https://blog.cpen.top/posts/45562d6f.html","title":"27_Linux基础-nginx","id":35348,"summary":"这篇文章介绍了nginx的基础知识和安装步骤,包括了shell编程语法和web的相关内容。文章还提到了浏览器输入网址到显示内容背后的过程,以及nginx的配置文件的详细讲解。另外,文章解释了HTTP协议的作用和http/https协议在nginx中的应用,并介绍了nginx的日志记录功能。文章中提到了一些相关文件和路径。"},{"url":"https://blog.cpen.top/posts/29e2641c.html","title":"28_Linux基础-shell编程-awk","id":51492,"summary":"这篇文章介绍了使用shell脚本进行文本处理的几种方法,包括调试脚本、小数计算、打印奇数、合并文件等操作。其中详细介绍了使用awk命令进行文本处理的方法,包括awk的内置变量、操作符以及文本数据表达式。此外,还介绍了一些常见的文件路径和系统命令。"},{"url":"https://blog.cpen.top/posts/3ae7567f.html","title":"29_Linux基础-shell编程-awk-sed","id":29741,"summary":"这篇文章介绍了Linux基础中的shell编程和awk、sed工具。其中包括awk和shell变量交换的问题,进程间通信的方式,awk和sed的内置函数,流控,awk的for循环和数组等内容。文章还详细介绍了sed工具的作用和用法,以及其核心概念,如模式空间和保持空间。此外,文章还提到了性能和容量意识对sed工具的影响。"},{"url":"https://blog.cpen.top/posts/4cb758ea.html","title":"30_Linux基础-shell编程-sed","id":30137,"summary":"这篇文章介绍了Linux基础中的shell编程和sed命令的一些功能。其中包括sed的整行替换、写入文件命令、替换的核心功能,以及与模式空间和暂存空间相关的命令。文章还给出了一些练习,包括使用sed修改配置文件和对IP进行合法判断的正则表达式。最后,文章介绍了一些与模式空间和暂存空间相关的命令,如输出模式空间行、替换当前模式空间的行、拷贝和追加行到暂存空间等。"},{"url":"https://blog.cpen.top/posts/88a726.html","title":"01_Other-Supervisor管理进程-Twikoo版本升级","id":29157,"summary":"这篇文章介绍了Supervisor管理进程中Twikoo版本的升级过程。作者首先提到了一些参考文章和个人示例,然后说明了Twikoo版本升级的方法。文章中给出了停止旧版本、拉取新版本、启动新版本的详细步骤,并给出了个人的步骤记录。整篇文章主要是记录作者在升级Twikoo版本时的操作步骤。"},{"url":"https://blog.cpen.top/posts/6a2caa19.html","title":"02_Other-AList 搭建云盘","id":30667,"summary":"这篇文章介绍了一个名为AList的文件列表程序,它使用Gin和Solidjs实现,并可以支持多种存储方式。文章提供了一些参考链接和个人样例,介绍了反向代理设置、全局自定义内容等功能,还提到了AList的官方文档和配置方式。文章还提到了AList的Github地址以及特别赞助商。"},{"url":"https://blog.cpen.top/posts/4f5c6419.html","title":"04_Other-使用 Python ftplib 模块同步又拍云云存储数据至本地","id":30816,"summary":"这篇文章介绍了使用Python的ftplib模块将又拍云云存储数据同步到本地的方法。文章分为前言、脚本内容和参考文章三个部分。作者首先将图床资源从GitHub迁移到又拍云云存储上,然后通过Python脚本将又拍云上的图片同步到本地,并将本地图片上传到GitHub。文章提供了具体的脚本执行顺序和修改路径的说明,并提供了相关的参考文章。"},{"url":"https://blog.cpen.top/posts/583c5c34.html","title":"03_Other-PC端环境记录","id":29012,"summary":"这篇文章介绍了作者记录个人电脑环境的更新情况,包括更新时间和系统重置记录,并提到了一个第三方分享网站果壳剥壳。"},{"url":"https://blog.cpen.top/posts/3ffec809.html","title":"05_Other-使用 Python open 函数批量替换文件内容","id":28807,"summary":"这篇文章介绍了使用Python的open函数来批量替换文件内容的方法。作者提到了在VSCode中集成了批量替换文件内容的功能,以及推荐了一些在网上可以找到的类似脚本。文章中给出了一个递归遍历指定目录下所有文件,并进行批量替换的脚本示例。作者还提醒在执行脚本前先备份原文件,以防出错后无法还原。"},{"url":"https://blog.cpen.top/posts/b7f58a40.html","title":"06_Other-Windows 图片批量压缩工具 ultra-tinypng","id":28870,"summary":"这篇文章介绍了一个名为ultra-tinypng的Windows平台图片批量压缩工具。该工具基于super-tinypng项目,并在原项目基础上添加了打包开箱即用、递归目录、线程池、重复跳过等功能。该工具的原理是通过调用tinypng的接口对文件进行压缩处理。然而,该工具要求图片后缀必须为PNG或JPG,且文件大小须小于5MB。文章中还提供了该工具的Github源码和下载地址。"},{"url":"https://blog.cpen.top/posts/63259.html","title":"01_PHP-CentOS8.2 编译安装 PHP8.1.10","id":34159,"summary":"这篇文章介绍了如何在CentOS 8.2上编译安装PHP 8.1.10,以及如何将GitHub图床迁移到又拍云。由于服务器配置太低,编译安装PHP失败,因此作者转而使用已经搭建好环境的又拍云平台。文章还介绍了编写批量修改文章内容和迁移图片资源的脚本。其中包括下载、安装依赖包、编译PHP、创建又拍云存储服务、使用FTP上传、编写Python脚本实现批量迁移等内容。文章还提到了解决图片失效的问题,申请并上传了SSL证书。"},{"url":"https://blog.cpen.top/posts/cee83196.html","title":"07_Other-文章记录-sshpass","id":28703,"summary":"这篇文章介绍了一个名为sshpass的工具,它用于非交互式的ssh密码验证。该工具允许在命令行或文件中指定明文密码,并支持从环境变量中读取密码。文章还提供了使用sshpass的示例和安装方法,以及一些其他相关参考文章。"},{"url":"https://blog.cpen.top/posts/acb8c062.html","title":"08_Other-GitHub Actions 定时执行脚本,备份又拍云云存储","id":508,"summary":"这篇文章介绍了如何使用GitHub Actions定时执行脚本并备份至又拍云云存储的方法。具体步骤包括新增Workflow YML文件、新增Secrets常量、授予Workflow读写权限、新建Python同步脚本以及git.sh推送变更。此外,还提供了相关参考文章以及FTP上传和下载功能的脚本。"},{"url":"https://blog.cpen.top/posts/4979.html","title":"02_Python-CSDN_数据类型1","id":34978,"summary":"这篇文章介绍了Python中的数据类型,包括整数、浮点数、复数和字符串。其中,整数可以存储超长数据,浮点数可以表示带有小数点的数字,而复数由实数和虚数组成。对于字符串,可以使用不同的引号表示,并且可以进行转义字符的处理。还介绍了字符串的取值方法、拼接方法和格式化方法。"},{"url":"https://blog.cpen.top/posts/16756.html","title":"01_Python-CSDN_环境搭建","id":31633,"summary":"这篇文章介绍了Python环境的搭建步骤,包括安装Python解释器、设置pip工具、安装PyCharm以及配置Python解释器的方法。文章提供了Windows和Linux平台的具体操作步骤和相关下载链接,还介绍了pip工具的作用和解决安装慢的问题方法。此外,文章还介绍了PyCharm作为一款PythonIDE的优点,并提供了它的下载地址和激活方法的参考。"},{"url":"https://blog.cpen.top/posts/33188.html","title":"04_Python-CSDN_mail模块","id":31677,"summary":"这篇文章介绍了如何使用Python的mail模块在Foxmail客户端中登录QQ邮箱并获取授权码,以及如何在Foxmail中新建账号并使用POP3或IMAP协议登录。文章分为理论和步骤两部分,首先讲解了相关的理论知识,然后提供了详细的操作步骤和效果图。"},{"url":"https://blog.cpen.top/posts/37069.html","title":"03_Python-CSDN_数据类型2","id":34657,"summary":"这篇文章介绍了Python中常见的数据类型,包括列表、元组、字典和集合。对于列表,文章讨论了索引、切片、增加、删除、修改、反转、排序、统计和遍历等操作。对于元组,文章讨论了索引、切片、不可变性、统计和遍历等操作。对于字典,文章讨论了取值、增加/修改、删除、合并、成员关系和遍历等操作。对于集合,文章讨论了添加、移除和集合操作等基本操作。同时,还介绍了通过下标访问列表中的元素、判断成员关系、类型转换等相关知识。"},{"url":"https://blog.cpen.top/posts/49827.html","title":"05_Python-CSDN_排序算法","id":28806,"summary":"这篇文章介绍了Python中的各种排序算法和查找算法,包括顺序查找、二分查找、冒泡排序、选择排序、插入排序、快速排序、堆排序、归并排序、希尔排序、计数排序、桶排序和基数排序。同时提供了相关的教程和视频资源。"},{"url":"https://blog.cpen.top/posts/314.html","title":"06_Python-CSDN_psutil模块","id":30449,"summary":"这篇文章介绍了CSDN上关于Python psutil模块的内容。文章主要包括psutil模块的介绍、安装方法和获取系统基本信息的方法,包括CPU、内存、磁盘、网络和进程管理等方面的信息。"},{"url":"https://blog.cpen.top/posts/46.html","title":"07_Python-CSDN_高阶函数","id":51491,"summary":"这篇文章介绍了Python中的几个高阶函数,包括map、filter、sorted和reduce。通过map函数可以将一个函数作用于列表中的每个元素,并返回结果列表;filter函数用于过滤序列中的元素;sorted函数可以按照指定的规则对列表进行排序;reduce函数则是将一个函数作用于序列中的元素并进行累积计算。"},{"url":"https://blog.cpen.top/posts/13683.html","title":"08_Python-CSDN_面向对象练习","id":40185,"summary":"这篇文章介绍了在Python中进行面向对象的练习。文章涉及了三个主题:回合制对战游戏、模拟ATM和Linux用户管理类。这些练习都可以帮助读者理解和应用面向对象的概念。"},{"url":"https://blog.cpen.top/posts/16589f92.html","title":"01_转载-图床搭建 Backblaze B2 + Cloudflare CDN","id":29776,"summary":"这篇文章介绍了如何搭建一个自定义域名的图床,使用了Backblaze B2和Cloudflare CDN作为存储和分发的工具。作者介绍了图床的概念和常见的公开图床,并说明了自建图床的优势。作者推荐使用Backblaze B2作为图床的存储平台,介绍了其价格和免费空间的优势。同时,作者还提供了具体的教程步骤和注意事项。文章内容主要来自三篇转载文章,作者还感谢了分享者。"},{"url":"https://blog.cpen.top/posts/9186.html","title":"09_Python-CSDN_上下文管理器","id":32265,"summary":"这篇文章介绍了Python中的上下文管理器,它是一种装饰器,可以包装任意格式的代码块。上下文管理器保证进入和退出时代码执行的一致性,以及资源的正确回收。with语句是最常用的应用上下文管理器的方式,它要求对象定义__enter__和__exit__方法。__enter__方法负责执行一些配置,而__exit__方法可以选择性地处理异常或关闭上下文状态。"},{"url":"https://blog.cpen.top/posts/10d5063.html","title":"02_转载-Replit 部署 Memos & Butterfly 基于 Memos 实现清单功能","id":29456,"summary":"这篇文章介绍了如何使用Replit来部署Memos和Butterfly,以及基于Memos实现清单功能。文章提供了Atticus和Leonus的参考链接和文章内容,包括使用Repl来避免回档现象、部署Memos、实现动态相册以及使用Memos实现说说和清单功能的详细步骤。文章还提及了Memos-on-replit的实现细节和使用注意事项。"},{"url":"https://blog.cpen.top/posts/62975.html","title":"10_Python-CSDN_内存管理","id":33474,"summary":"这篇文章介绍了Python中的内存管理。首先讲述了引用机制,即对象存储在内存中,我们在程序中写的对象名只是指向该对象的引用。然后介绍了引用计数的原理,即每个对象都有一个引用计数,当引用失效时计数减1,计数为0时对象可以被回收。接着介绍了垃圾回收的原则和机制,即找到无用的垃圾资源并清除,以释放内存。最后介绍了缓冲池的概念以及整数对象和字符串的优化方案。"},{"url":"https://blog.cpen.top/posts/3e42a4ef.html","title":"03_转载-中文文案排版指北","id":28777,"summary":"这篇文章介绍了中文文案排版的指南,包括在中英文之间增加空格、在中文和数字之间增加空格、在数字和单位之间增加空格、不重复使用标点符号等内容。文章还提到了一些特殊情况的排版规则,比如使用直角引号、不需要在度数/百分比与数字之间增加空格等。最后,文章分享了一个工具用于自动处理文案排版。"},{"url":"https://blog.cpen.top/posts/beb8baf2.html","title":"04_转载-提问的智慧","id":28779,"summary":"这篇文章介绍了提问问题时的智慧。文章提到了一些在提问之前和提问时需要注意的要点,例如选择合适的论坛、使用明确的主题、描述问题准确等。文章还提到了一些不应该做的事情,如不要要求私下回复、不要张贴家庭作业式问题等。文章还介绍了如何更好地解读回答,以及如何更好地回答他人的问题。总的来说,文章教导读者如何通过正确的方式提问以获得满意的答复。"},{"url":"https://blog.cpen.top/posts/285c50ae.html","title":"05_转载-延寿指南-反向面试-文档写作规范","id":28780,"summary":"这篇文章介绍了一个程序员延寿指南,包括饮食、运动、日常生活等方面的建议以及一些药物的使用。此外,文章还提供了一个反向面试的问题列表,包括职责、工作安排、团队合作等方面的问题。文章还强调了面试时需要尊重面试官的时间,并提醒读者变量之间的实际影响并不明确,需要谨慎实践。"},{"url":"https://blog.cpen.top/posts/85a8374a.html","title":"06_转载-自我提升的8个好习惯","id":28696,"summary":"这篇文章介绍了八个自我提升的好习惯。文章指出,现代社会变化迅速,为了跟上时代的步伐,人们需要不断提升自己。作者强调每个人都有自己独特的生活方式和目标,不要将自己的短处与他人的优点进行比较,要培养自己的兴趣爱好,每天早起30分钟以拥有充足的时间来准备工作和生活,注意健康,定期复盘总结并保持阅读习惯,以及保持积极的心态。"}]}
package/lib/hbe.js ADDED
@@ -0,0 +1 @@
1
+ (()=>{"use strict";const e=window.crypto||window.msCrypto,t=window.localStorage,n="hexo-blog-encrypt:#"+window.location.pathname,r=h("hexo-blog-encrypt的作者们都是大帅比!"),o=h("hexo-blog-encrypt是地表最强Hexo加密插件!"),a="<hbe-prefix></hbe-prefix>",i=document.getElementById("hexo-blog-encrypt"),c=i.dataset.wpm,s=i.dataset.whm,l=i.getElementsByTagName("script").hbeData,d=l.innerText,u=l.dataset.hmacdigest;function y(e){return new Uint8Array(e.match(/[\da-f]{2}/gi).map((e=>parseInt(e,16))))}function h(e){for(var t=e.length,n=0,r=new Array,o=0;o<t;){var a=e.codePointAt(o);a<128?(r[n++]=a,o++):a>127&&a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128,o++):a>2047&&a<65536?(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128,o++):(r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128,o+=2)}return new Uint8Array(r)}function m(e){if("object"!=typeof e||null===e||"number"!=typeof e.byteLength)throw new TypeError("Expected input to be an ArrayBuffer");for(var t,n=new Uint8Array(e),r="",o=0;o<n.length;o++)r+=1===(t=n[o].toString(16)).length?"0"+t:t;return r}async function f(e){let t=document.createElement("div");return t.innerHTML=e,t.querySelectorAll("script").forEach((async e=>{e.replaceWith(await async function(e){let t=document.createElement("script");return["type","text","src","crossorigin","defer","referrerpolicy"].forEach((n=>{e[n]&&(t[n]=e[n])})),t}(e))})),t}async function g(t,r,o){let i=y(d);return await e.subtle.decrypt({name:"AES-CBC",iv:r},t,i.buffer).then((async t=>{const r=(new TextDecoder).decode(t);if(!r.startsWith(a))throw"Decode successfully but not start with KnownPrefix.";const i=document.createElement("button");i.textContent="Encrypt again",i.type="button",i.classList.add("hbe-button"),i.addEventListener("click",(()=>{window.localStorage.removeItem(n),window.location.reload()})),document.getElementById("hexo-blog-encrypt").style.display="inline",document.getElementById("hexo-blog-encrypt").innerHTML="",document.getElementById("hexo-blog-encrypt").appendChild(await f(r)),document.getElementById("hexo-blog-encrypt").appendChild(i),document.querySelectorAll("img").forEach((e=>{e.getAttribute("data-src")&&!e.src&&(e.src=e.getAttribute("data-src"))})),window.NexT&&NexT.boot&&"function"==typeof NexT.boot.refresh&&NexT.boot.refresh();var c=document.getElementById("toc-div");c&&(c.style.display="inline");var l=document.getElementsByClassName("toc-div-class");if(l&&l.length>0)for(var d=0;d<l.length;d++)l[d].style.display="inline";var h=new Event("hexo-blog-decrypt");return window.dispatchEvent(h),await async function(t,n){const r=(new TextEncoder).encode(n);let o=y(u);const a=await e.subtle.verify({name:"HMAC",hash:"SHA-256"},t,o,r);return console.log(`Verification result: ${a}`),a||(alert(s),console.log(`${s}, got `,o," but proved wrong.")),a}(o,r)})).catch((e=>(alert(c),console.log(e),!1)))}!function(){const a=JSON.parse(t.getItem(n));if(a){console.log(`Password got from localStorage(${n}): `,a);const r=y(a.iv).buffer,o=a.dk,i=a.hmk;e.subtle.importKey("jwk",o,{name:"AES-CBC",length:256},!0,["decrypt"]).then((o=>{e.subtle.importKey("jwk",i,{name:"HMAC",hash:"SHA-256",length:256},!0,["verify"]).then((e=>{g(o,r,e).then((e=>{e||t.removeItem(n)}))}))}))}i.addEventListener("keydown",(async a=>{if(a.isComposing||13===a.keyCode){const a=document.getElementById("hbePass").value,i=await function(t){let n=new TextEncoder;return e.subtle.importKey("raw",n.encode(t),{name:"PBKDF2"},!1,["deriveKey","deriveBits"])}(a),c=await function(t){return e.subtle.deriveKey({name:"PBKDF2",hash:"SHA-256",salt:r.buffer,iterations:1024},t,{name:"HMAC",hash:"SHA-256",length:256},!0,["verify"])}(i),s=await function(t){return e.subtle.deriveKey({name:"PBKDF2",hash:"SHA-256",salt:r.buffer,iterations:1024},t,{name:"AES-CBC",length:256},!0,["decrypt"])}(i),l=await function(t){return e.subtle.deriveBits({name:"PBKDF2",hash:"SHA-256",salt:o.buffer,iterations:512},t,128)}(i);g(s,l,c).then((r=>{console.log(`Decrypt result: ${r}`),r&&e.subtle.exportKey("jwk",s).then((r=>{e.subtle.exportKey("jwk",c).then((e=>{const o={dk:r,iv:m(l),hmk:e};t.setItem(n,JSON.stringify(o))}))}))}))}}))}()})();
package/manifest.json ADDED
@@ -0,0 +1 @@
1
+ {"name":"Mycpen","short_name":"Mycpen","theme_color":"#ffffff","background_color":"#ffffff","display":"standalone","scope":"/","start_url":"/","icons":[{"src":"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/img/pwa/36.png","sizes":"36x36","type":"image/png"},{"src":"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/img/pwa/48.png","sizes":"48x48","type":"image/png"},{"src":"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/img/pwa/72.png","sizes":"72x72","type":"image/png"},{"src":"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/img/pwa/96.png","sizes":"96x96","type":"image/png"},{"src":"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/img/pwa/144.png","sizes":"144x144","type":"image/png"},{"src":"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/img/pwa/192.png","sizes":"192x192","type":"image/png"},{"src":"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/img/pwa/196.png","sizes":"196x196","type":"image/png","purpose":"any maskable"},{"src":"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/img/pwa/512.png","sizes":"512x512","type":"image/png"}]}
@@ -0,0 +1 @@
1
+ .aplayer{background:#fff;font-family:Arial,Helvetica,sans-serif;margin:5px;box-shadow:0 2px 2px 0 rgba(0,0,0,.07),0 1px 5px 0 rgba(0,0,0,.1);border-radius:2px;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:normal;position:relative}.aplayer *{box-sizing:content-box}.aplayer svg{width:100%;height:100%}.aplayer svg circle,.aplayer svg path{fill:#fff}.aplayer.aplayer-withlist .aplayer-info{border-bottom:1px solid #e9e9e9}.aplayer.aplayer-withlist .aplayer-list{display:block}.aplayer.aplayer-withlist .aplayer-icon-order,.aplayer.aplayer-withlist .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu{display:inline}.aplayer.aplayer-withlrc .aplayer-pic{height:90px;width:90px}.aplayer.aplayer-withlrc .aplayer-info{margin-left:90px;height:90px}.aplayer.aplayer-withlrc .aplayer-lrc{display:block}.aplayer.aplayer-narrow{width:66px}.aplayer.aplayer-narrow .aplayer-info,.aplayer.aplayer-narrow .aplayer-list{display:none}.aplayer.aplayer-narrow .aplayer-body,.aplayer.aplayer-narrow .aplayer-pic{height:66px;width:66px}.aplayer.aplayer-fixed{position:fixed;bottom:0;left:0;right:0;margin:0;z-index:99;overflow:visible;max-width:400px;box-shadow:none}.aplayer.aplayer-fixed .aplayer-list{margin-bottom:65px;border:1px solid #eee;border-bottom:none}.aplayer.aplayer-fixed .aplayer-body{position:fixed;bottom:0;left:0;right:0;margin:0;z-index:99;background:#fff;padding-right:18px;transition:all .3s ease;max-width:400px}.aplayer.aplayer-fixed .aplayer-lrc{display:block;position:fixed;bottom:10px;left:0;right:0;margin:0;z-index:98;pointer-events:none;text-shadow:-1px -1px 0 #fff}.aplayer.aplayer-fixed .aplayer-lrc:after,.aplayer.aplayer-fixed .aplayer-lrc:before{display:none}.aplayer.aplayer-fixed .aplayer-info{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:0 0;transform-origin:0 0;transition:all .3s ease;border-bottom:none;border-top:1px solid #e9e9e9}.aplayer.aplayer-fixed .aplayer-info .aplayer-music{width:calc(100% - 105px)}.aplayer.aplayer-fixed .aplayer-miniswitcher{display:block}.aplayer.aplayer-fixed.aplayer-narrow .aplayer-info{display:block;-webkit-transform:scaleX(0);transform:scaleX(0)}.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body{width:66px!important}.aplayer.aplayer-fixed.aplayer-narrow .aplayer-miniswitcher .aplayer-icon{-webkit-transform:rotateY(0);transform:rotateY(0)}.aplayer.aplayer-fixed .aplayer-icon-back,.aplayer.aplayer-fixed .aplayer-icon-forward,.aplayer.aplayer-fixed .aplayer-icon-lrc,.aplayer.aplayer-fixed .aplayer-icon-play{display:inline-block}.aplayer.aplayer-fixed .aplayer-icon-back,.aplayer.aplayer-fixed .aplayer-icon-forward,.aplayer.aplayer-fixed .aplayer-icon-menu,.aplayer.aplayer-fixed .aplayer-icon-play{position:absolute;bottom:27px;width:20px;height:20px}.aplayer.aplayer-fixed .aplayer-icon-back{right:75px}.aplayer.aplayer-fixed .aplayer-icon-play{right:50px}.aplayer.aplayer-fixed .aplayer-icon-forward{right:25px}.aplayer.aplayer-fixed .aplayer-icon-menu{right:0}.aplayer.aplayer-arrow .aplayer-icon-loop,.aplayer.aplayer-arrow .aplayer-icon-order,.aplayer.aplayer-mobile .aplayer-icon-volume-down{display:none}.aplayer.aplayer-loading .aplayer-info .aplayer-controller .aplayer-loading-icon{display:block}.aplayer.aplayer-loading .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{-webkit-transform:scale(1);transform:scale(1)}.aplayer .aplayer-body{position:relative}.aplayer .aplayer-icon{width:15px;height:15px;border:none;background-color:transparent;outline:0;cursor:pointer;opacity:.8;vertical-align:middle;padding:0;font-size:12px;margin:0;display:inline-block}.aplayer .aplayer-icon path{transition:all .2s ease-in-out}.aplayer .aplayer-icon-back,.aplayer .aplayer-icon-forward,.aplayer .aplayer-icon-lrc,.aplayer .aplayer-icon-order,.aplayer .aplayer-icon-play{display:none}.aplayer .aplayer-icon-lrc-inactivity svg{opacity:.4}.aplayer .aplayer-icon-forward{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.aplayer .aplayer-lrc-content{display:none}.aplayer .aplayer-pic{position:relative;float:left;height:66px;width:66px;background-size:cover;background-position:50%;transition:all .3s ease;cursor:pointer}.aplayer .aplayer-pic:hover .aplayer-button{opacity:1}.aplayer .aplayer-pic .aplayer-button{position:absolute;border-radius:50%;opacity:.8;text-shadow:0 1px 1px rgba(0,0,0,.2);box-shadow:0 1px 1px rgba(0,0,0,.2);background:rgba(0,0,0,.2);transition:all .1s ease}.aplayer .aplayer-pic .aplayer-button path{fill:#fff}.aplayer .aplayer-pic .aplayer-hide{display:none}.aplayer .aplayer-pic .aplayer-play{width:26px;height:26px;border:2px solid #fff;bottom:50%;right:50%;margin:0 -15px -15px 0}.aplayer .aplayer-pic .aplayer-play svg{position:absolute;top:3px;left:4px;height:20px;width:20px}.aplayer .aplayer-pic .aplayer-pause{width:16px;height:16px;border:2px solid #fff;bottom:4px;right:4px}.aplayer .aplayer-pic .aplayer-pause svg{position:absolute;top:2px;left:2px;height:12px;width:12px}.aplayer .aplayer-info{margin-left:66px;padding:14px 7px 0 10px;height:66px;box-sizing:border-box}.aplayer .aplayer-info .aplayer-music{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 0 13px 5px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;cursor:default;padding-bottom:2px;height:20px}.aplayer .aplayer-info .aplayer-music .aplayer-title{font-size:14px}.aplayer .aplayer-info .aplayer-music .aplayer-author{font-size:12px;color:#666}.aplayer .aplayer-info .aplayer-controller{position:relative;display:flex}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 0 0 5px;padding:4px 0;cursor:pointer!important;flex:1}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap:hover .aplayer-bar .aplayer-played .aplayer-thumb{-webkit-transform:scale(1);transform:scale(1)}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar{position:relative;height:2px;width:100%;background:#cdcdcd}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded{position:absolute;left:0;top:0;bottom:0;background:#aaa;height:2px;transition:all .5s ease}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played{position:absolute;left:0;top:0;bottom:0;height:2px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:10px;width:10px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;-webkit-transform:scale(0);transform:scale(0)}.aplayer .aplayer-info .aplayer-controller .aplayer-time{position:relative;right:0;bottom:4px;height:17px;color:#999;font-size:11px;padding-left:7px}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-time-inner{vertical-align:middle}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon{cursor:pointer;transition:all .2s ease}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon path{fill:#666}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop{margin-right:2px}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover path{fill:#000}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu,.aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-menu,.aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-mode{display:none}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap{position:relative;display:inline-block;margin-left:3px;cursor:pointer!important}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap{height:40px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap{position:absolute;bottom:5px;right:6px;width:25px;height:0;z-index:99;overflow:hidden;transition:all .2s ease-in-out}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap.aplayer-volume-bar-wrap-active{height:40px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar{position:absolute;bottom:0;right:10px;width:5px;height:35px;background:var(--heo-white-op);border-radius:2.5px;overflow:hidden}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume{position:absolute;bottom:0;right:0;width:5px;transition:all .1s ease}.aplayer .aplayer-info .aplayer-controller .aplayer-loading-icon{display:none}.aplayer .aplayer-info .aplayer-controller .aplayer-loading-icon svg{position:absolute;-webkit-animation:rotate 1s linear infinite;animation:rotate 1s linear infinite}.aplayer .aplayer-lrc{display:none;position:relative;height:30px;text-align:center;overflow:hidden;margin:-10px 0 7px}.aplayer .aplayer-lrc:before{top:0;height:10%;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.aplayer .aplayer-lrc:after,.aplayer .aplayer-lrc:before{position:absolute;z-index:1;display:block;overflow:hidden;width:100%;content:" "}.aplayer .aplayer-lrc:after{bottom:0;height:33%;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,.8))}.aplayer .aplayer-lrc p{font-size:12px;color:var(--heo-white);padding:0;margin:0;transition:all .5s ease-out;opacity:.4;overflow:hidden}.aplayer .aplayer-lrc p.aplayer-lrc-current{opacity:1;overflow:inherit;height:auto}.aplayer .aplayer-lrc.aplayer-lrc-hide{display:none}.aplayer .aplayer-lrc .aplayer-lrc-contents{width:100%;transition:all .5s ease-out;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;cursor:default}.aplayer .aplayer-list{overflow:auto;transition:all .5s ease;will-change:height;display:none;overflow:hidden}.aplayer .aplayer-list.aplayer-list-hide{max-height:0!important}.aplayer .aplayer-list ol{list-style-type:none;margin:0;padding:0;overflow-y:auto}.aplayer .aplayer-list ol::-webkit-scrollbar{width:5px}.aplayer .aplayer-list ol::-webkit-scrollbar-thumb{border-radius:3px;background-color:#eee}.aplayer .aplayer-list ol::-webkit-scrollbar-thumb:hover{background-color:#ccc}.aplayer .aplayer-list ol li{position:relative;height:32px;line-height:32px;padding:0 15px;font-size:12px;cursor:pointer;transition:all .2s ease;overflow:hidden;margin:1px 0}.aplayer .aplayer-list ol li:first-child{border-top:none}.aplayer .aplayer-list ol li:hover{background:#efefef}.aplayer .aplayer-list ol li.aplayer-list-light{background:#e9e9e9}.aplayer .aplayer-list ol li.aplayer-list-light .aplayer-list-cur{display:inline-block}.aplayer .aplayer-list ol li .aplayer-list-cur{display:none;width:3px;height:22px;position:absolute;left:0;top:5px;cursor:pointer}.aplayer .aplayer-list ol li .aplayer-list-index{color:var(--heo-white);opacity:.6;margin-right:6px;cursor:pointer}.aplayer .aplayer-list ol li .aplayer-list-author{color:#666;float:right;cursor:pointer}.aplayer .aplayer-notice{opacity:0;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:12px;border-radius:4px;padding:5px 10px;transition:all .3s ease-in-out;overflow:hidden;color:#fff;pointer-events:none;background-color:#f4f4f5;color:#909399}.aplayer .aplayer-miniswitcher{display:none;position:absolute;top:0;right:0;bottom:0;height:100%;background:#e6e6e6;width:18px;border-radius:0 2px 2px 0}.aplayer .aplayer-miniswitcher .aplayer-icon{height:100%;width:100%;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);transition:all .3s ease}.aplayer .aplayer-miniswitcher .aplayer-icon path{fill:#666}.aplayer .aplayer-miniswitcher .aplayer-icon:hover path{fill:#000}@-webkit-keyframes aplayer-roll{0%{left:0}to{left:-100%}}@keyframes aplayer-roll{0%{left:0}to{left:-100%}}@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +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('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()})),document.querySelector(".aplayer-lrc").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("+80*-this.index+"px)",this.container.style.webkitTransform="translateY("+80*-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 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.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};console.log("\n %c APlayer v1.10.1 af84efb %c http://aplayer.js.org \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),t.default=a.default}]).default}));
@@ -0,0 +1 @@
1
+ "use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null==arguments[t]?{}:arguments[t],a=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),a.forEach((function(t){_defineProperty(e,t,i[t])}))}return e}function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class MetingJSElement extends HTMLElement{connectedCallback(){window.APlayer&&window.fetch&&(this._init(),this._parse())}disconnectedCallback(){this.lock||this.aplayer.destroy()}_camelize(e){return e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,((e,t)=>t.toUpperCase()))}_init(){let e={};for(let t=0;t<this.attributes.length;t+=1)e[this._camelize(this.attributes[t].name)]=this.attributes[t].value;let t=["server","type","id","api","auth","auto","lock","name","title","artist","author","url","cover","pic","lyric","lrc"];this.meta={};for(var i=0;i<t.length;i++){let a=t[i];this.meta[a]=e[a],delete e[a]}this.config=e,this.api=this.meta.api||window.meting_api||"https://meting.cpen.top/api/?server=:server&type=:type&id=:id&auth=:auth&r=:r",this.meta.auto&&this._parse_link()}_parse_link(){let e=[["music.163.com.*song.*id=(\\d+)","netease","song"],["music.163.com.*album.*id=(\\d+)","netease","album"],["music.163.com.*artist.*id=(\\d+)","netease","artist"],["music.163.com.*playlist.*id=(\\d+)","netease","playlist"],["music.163.com.*discover/toplist.*id=(\\d+)","netease","playlist"],["y.qq.com.*song/(\\w+).html","tencent","song"],["y.qq.com.*album/(\\w+).html","tencent","album"],["y.qq.com.*singer/(\\w+).html","tencent","artist"],["y.qq.com.*playsquare/(\\w+).html","tencent","playlist"],["y.qq.com.*playlist/(\\w+).html","tencent","playlist"],["xiami.com.*song/(\\w+)","xiami","song"],["xiami.com.*album/(\\w+)","xiami","album"],["xiami.com.*artist/(\\w+)","xiami","artist"],["xiami.com.*collect/(\\w+)","xiami","playlist"]];for(var t=0;t<e.length;t++){let i=e[t],a=new RegExp(i[0]).exec(this.meta.auto);if(null!==a)return this.meta.server=i[1],this.meta.type=i[2],void(this.meta.id=a[1])}}_parse(){if(this.meta.url){let e={name:this.meta.name||this.meta.title||"Audio name",artist:this.meta.artist||this.meta.author||"Audio artist",url:this.meta.url,cover:this.meta.cover||this.meta.pic,lrc:this.meta.lrc||this.meta.lyric||"",type:this.meta.type||"auto"};return e.lrc||(this.meta.lrcType=0),this.innerText&&(e.lrc=this.innerText,this.meta.lrcType=2),void this._loadPlayer([e])}let e=this.api.replace(":server",this.meta.server).replace(":type",this.meta.type).replace(":id",this.meta.id).replace(":auth",this.meta.auth).replace(":r",Math.random());fetch(e).then((e=>e.json())).then((e=>this._loadPlayer(e)))}_loadPlayer(e){let t={audio:e,mutex:!0,lrcType:this.meta.lrcType||3,storageName:"metingjs"};if(e.length){let e=_objectSpread({},t,this.config);for(let t in e)("true"===e[t]||"false"===e[t])&&(e[t]="true"===e[t]);let i=document.createElement("div");e.container=i,this.appendChild(i),this.aplayer=new APlayer(e)}}}console.log("\n %c MetingJS v2.0.1 %c https://github.com/metowolf/MetingJS \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),window.customElements&&!window.customElements.get("meting-js")&&(window.MetingJSElement=MetingJSElement,window.customElements.define("meting-js",MetingJSElement));
@@ -0,0 +1 @@
1
+ console.log("\n %c HeoMusic 开源静态音乐播放器 v1.5 %c https://github.com/zhheo/HeoMusic \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");var volume=.8;const params=new URLSearchParams(window.location.search);var heo={changeMusicBg:function(e=!0){const t=document.getElementById("music_bg");if(e){const e=document.querySelector("#heoMusic-page .aplayer-pic");var n=new Image;n.src=extractValue(e.style.backgroundImage),n.onload=function(){t.style.backgroundImage=e.style.backgroundImage}}else{let e=setInterval((()=>{document.querySelector("#heoMusic-page .aplayer-pic")&&(clearInterval(e),document.querySelector("meting-js").aplayer.volume(.8,!0),heo.addEventListenerChangeMusicBg())}),100)}},addEventListenerChangeMusicBg:function(){document.getElementById("heoMusic-page").querySelector("meting-js").aplayer.on("loadeddata",(function(){heo.changeMusicBg()}))},getCustomPlayList:function(){const e=document.getElementById("heoMusic-page"),t=params.get("type")||"playlist";if(params.get("id")&&params.get("server")){var n=params.get("id"),o=params.get("server");e.innerHTML=`<meting-js id="${n}" server="${o}" type="${t}" mutex="true" preload="auto"></meting-js>`}else e.innerHTML=`<meting-js id="${userId}" server="${userServer}" type="${userType}" mutex="true" preload="auto"></meting-js>`;heo.changeMusicBg(!1)}};heo.getCustomPlayList();const vh=1*window.innerHeight;function extractValue(e){return/\("([^\s]+)"\)/g.exec(e)[1]}document.documentElement.style.setProperty("--vh",`${vh}px`),window.addEventListener("resize",(()=>{let e=1*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`)})),document.addEventListener("keydown",(function(e){"Space"===e.code&&(e.preventDefault(),document.querySelector("meting-js").aplayer.toggle()),39===e.keyCode&&(e.preventDefault(),document.querySelector("meting-js").aplayer.skipForward()),37===e.keyCode&&(e.preventDefault(),document.querySelector("meting-js").aplayer.skipBack()),38===e.keyCode&&volume<=1&&(volume+=.1,document.querySelector("meting-js").aplayer.volume(volume,!0)),40===e.keyCode&&volume>=0&&(volume+=-.1,document.querySelector("meting-js").aplayer.volume(volume,!0))}));
@@ -0,0 +1 @@
1
+ @charset "UTF-8";:root{--heo-white:#fff;--heo-white-op:rgba(255, 255, 255, 0.2);--heo-black:#000;--heo-black-op:rgba(0, 0, 0, 0.2);--heo-none:#00000000;--heo-gray:#999999;--heo-gray-op:#9999992b;--heo-vip:#e5a80d;--heo-main:var(--heo-theme);--heo-main-op:var(--heo-theme-op);--heo-main-op-deep:var(--heo-theme-op-deep);--heo-main-none:var(--heo-theme-none);--heo-shadow-theme:0 8px 12px -3px var(--heo-theme-op);--heo-shadow-blackdeep:0 2px 16px -3px rgba(0, 0, 0, .15);--heo-shadow-main:0 8px 12px -3px var(--heo-main-op);--heo-shadow-blue:0 8px 12px -3px rgba(40, 109, 234, .20);--heo-shadow-white:0 8px 12px -3px rgba(255, 255, 255, .20);--heo-shadow-black:0 0 12px 4px rgba(0, 0, 0, .05);--heo-shadow-yellow:0px 38px 77px -26px rgba(255, 201, 62, .12);--heo-shadow-red:0 8px 12px -3px #ee7d7936;--heo-shadow-green:0 8px 12px -3px #87ee7936;--heo-logo-color:linear-gradient(215deg, #4584ff 0%, #cf0db9 100%);--heo-snackbar-time:5s}#page{border:0;box-shadow:none!important;padding:0!important;background:0 0!important}body{background:#0d0d0d;position:relative;overflow:hidden}#heoMusic-page meting-js .aplayer{display:flex;flex-direction:row-reverse;background:rgba(0,0,0,0);border:none;box-shadow:none;justify-content:space-between}#page{border:0;box-shadow:none!important;padding:0!important;background:0 0!important}#music_bg{display:none;position:fixed;z-index:-999;width:200%;height:200%;top:-50%;left:-50%;background-position:0 0;rotate:0;background-size:40%;transition:.6s;background-image:url(https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/music1/img/cover.webp)}#music_bg::before{content:'';transform:translateZ(0);background:rgba(0,0,0,.4);backdrop-filter:blur(200px);-webkit-backdrop-filter:blur(200px);transform:translateZ(0);position:fixed;z-index:-998;top:-50%;left:-50%;width:200%;height:200%}body #music_bg{display:block}body{background:#0d0d0d}#heoMusic-page{max-width:calc(1200px - 160px);margin:auto;margin-top:60px}#heoMusic-page meting-js .aplayer{display:flex;flex-direction:row-reverse;background:rgba(0,0,0,0);border:none;box-shadow:none}body #web_bg{filter:blur(63px);opacity:.6;background-repeat:no-repeat;background-size:cover}body #footer,body #nav-music{display:none}#heoMusic-page .aplayer-body{width:70%;height:75vh}#heoMusic-page ol>li:hover{background:var(--heo-black-op);border-radius:6px}#heoMusic-page .aplayer-pic{float:none;width:60px;height:60px;border-radius:12px;margin:auto;bottom:30px;left:90px;position:fixed;z-index:999;display:none}#heoMusic-page .aplayer-info{margin:0 20px 0 20px;border-bottom:none}#heoMusic-page .aplayer-info .aplayer-music{text-align:center;height:auto;margin:15px;display:none}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{font-size:2rem;font-weight:700;color:#fff}#heoMusic-page .aplayer-info .aplayer-lrc{padding-top:80px;height:var(--vh);mask-image:linear-gradient(to bottom,#000,#000,#000,#000,#000,#000,#000,#000,#000,#000,#0000,#0000)}#heoMusic-page .aplayer-info .aplayer-lrc p{font-size:36px;line-height:44px;height:44px;margin-bottom:36px;color:#fff;font-weight:700;text-align:left;filter:blur(2px);opacity:.3;transition:all .9s cubic-bezier(.56,.17,.22,.76);user-select:none;text-shadow:0 2px 0 #ffffff00}#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current{filter:blur(0);opacity:1;transition:all .3s cubic-bezier(.56,.17,.22,.76),text-shadow 8s 4s ease-in;height:fit-content;text-shadow:0 2px 16px #ffffff94}#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current:first-child{text-shadow:0 2px 16px #ffffff00}@media screen and (min-width:768px){#heoMusic-page .aplayer-info .aplayer-lrc:hover p{filter:blur(0)}}#heoMusic-page .aplayer .aplayer-lrc:after,#heoMusic-page .aplayer .aplayer-lrc:before{display:none}.aplayer .aplayer-lrc .aplayer-lrc-contents{width:90%;margin-left:auto;transition:all .5s cubic-bezier(.49,.21,.22,.84);position:relative}@media screen and (max-width:768px){.aplayer .aplayer-lrc .aplayer-lrc-contents{width:100%}}#heoMusic-page .aplayer-info .aplayer-controller{position:fixed;max-width:calc(1200px - 160px);margin:auto;left:0;right:0;bottom:50px;align-items:center}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 160px 0 150px}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-played{background:var(--heo-white)!important}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-thumb{-webkit-transform:none;transform:none;background:#fff!important}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back,#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward,#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{display:inline;position:fixed}#heoMusic-page .aplayer-info .aplayer-time{position:absolute;width:100%;bottom:24px;height:0;display:flex;justify-content:flex-end}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner{margin-right:18px;margin-top:-8px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back{position:absolute;left:0}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{position:absolute;left:40px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward{position:absolute;left:80px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon{width:2rem;height:2rem;margin-left:15px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon::before{content:'';position:absolute;padding:8px;top:-6px;width:8px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu{display:none}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon path{fill:var(--heo-white);opacity:.8}#heoMusic-page .aplayer-list{width:40%;max-width:480px;max-height:none!important;height:100%;min-width:200px}#heoMusic-page ol{max-height:calc(var(--vh) - 170px)!important}#heoMusic-page ol::-webkit-scrollbar-thumb{background-color:var(--heo-white-op)}#heoMusic-page ol>li{font-size:14px;opacity:.6}#heoMusic-page ol>li.aplayer-list-light{background:var(--heo-black-op);border-radius:6px;height:60px;display:flex;flex-direction:column;opacity:1}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-index{display:none}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{font-size:20px;line-height:20px;margin-top:8px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#heoMusic-page ol>li span{color:var(--heo-white)}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-cur{display:none}#heoMusic-page ol>li span.aplayer-list-title{line-height:32px}#heoMusic-page ol>li .aplayer-list-index{line-height:32px}#heoMusic-page ol>li span.aplayer-list-author{opacity:.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40%;line-height:32px}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{max-width:100%}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar{height:8px;border-radius:8px;background:var(--heo-white-op)}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded{background:var(--heo-white-op);height:8px;border-radius:8px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played{height:8px;border-radius:8px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{height:16px;width:16px}.page #nav{backdrop-filter:none!important;background:0 0!important;border-bottom:none!important}.page #page-header #nav .back-home-button,.page #page-header.not-top-img #nav a{color:var(--heo-white)}body .s-sticker div{color:var(--heo-white)!important}body .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop{margin-right:7px}.aplayer .aplayer-info .aplayer-controller .aplayer-time{color:var(--heo-white)}[data-theme=dark] .page #page-header:before{background-color:transparent}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap{height:120px;border-radius:40px;width:30px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap{width:30px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar{width:100%;height:100%;left:0}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume{width:100%;background:var(--heo-white)!important}@media screen and (max-width:768px){body #rightside{display:none}body #content-inner,body #page{z-index:auto}#heoMusic-page .aplayer-list{position:fixed;z-index:1002;width:100%;bottom:0;left:0;background:var(--heo-white);border-radius:16px 16px 0 0;padding:15px 0;max-width:100%;height:calc(var(--vh) - 200px)}#heoMusic-page .aplayer-list.aplayer-list-hide{bottom:-100%!important}#heoMusic-page ol{max-height:100%!important;padding-right:3px;padding-left:8px}#heoMusic-page ol>li{display:flex}#heoMusic-page ol>li span{color:var(--font-color)}#heoMusic-page ol>li span.aplayer-list-title{width:30%}#heoMusic-page ol>li.aplayer-list-light{background:#33a673;padding:5px 20px;border-radius:10px;height:52px;justify-content:center}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{margin-top:4px}#heoMusic-page ol>li.aplayer-list-light span{color:#fff}#heoMusic-page ol>li span.aplayer-list-title{max-width:55%;width:auto;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;-webkit-box-orient:vertical}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{max-width:unset;display:unset}#heoMusic-page ol>li span.aplayer-list-author{right:10px;width:auto;max-width:35%;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;-webkit-box-orient:vertical;margin-left:auto;white-space:normal}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{margin-left:0}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{right:15px}#heoMusic-page .aplayer-body{width:100%;overflow:hidden;position:fixed;margin:auto;left:0;right:0;top:0;height:calc(var(--vh) - 200px)}#heoMusic-page .aplayer-info .aplayer-lrc{margin-top:0;height:auto;min-height:100%;mask-image:linear-gradient(to bottom,#000,#000,#000,#000,#0000,#0000)}#heoMusic-page .aplayer-info .aplayer-controller{width:100%;bottom:120px}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 32px}#heoMusic-page .aplayer-info .aplayer-time{bottom:-40px;align-items:center}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner{position:absolute;width:100%;margin-right:4px;margin-top:-60px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-dtime{position:absolute;right:30px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-ptime{position:absolute;left:44px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back{margin:auto;right:110px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{margin:auto;right:0;left:0;width:56px;height:56px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward{margin:auto;left:110px;right:0}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-order{position:absolute;left:22px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-loop{position:absolute;right:25px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu{display:inline;position:absolute;right:30px;top:-100px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-volume-bar-wrap{bottom:0;right:7px}#heoMusic-page .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap{left:-66px;display:none}#heoMusic-page .aplayer-info .aplayer-lrc{padding-top:100px}#heoMusic-page .aplayer-info .aplayer-lrc p{font-size:32px;margin-bottom:38px;line-height:42px;height:42px}#heoMusic-page .aplayer-info .aplayer-music{display:flex;position:fixed;top:calc(var(--vh) - 178px);left:0;margin:0;margin-left:32px;height:21px;max-width:calc(100vw - 110px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.6;align-items:center;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{font-size:16px;font-weight:400;margin:0;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author{margin-left:4px;font-size:16px;font-weight:400;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 176px)}.aplayer .aplayer-lrc{overflow:inherit}}
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "IsMusic",
3
+ "short_name": "IsMusic",
4
+ "theme_color": "#000000",
5
+ "background_color": "#000000",
6
+ "display": "fullscreen",
7
+ "scope": "/music1/",
8
+ "start_url": "/music1/",
9
+ "icons": [
10
+ {
11
+ "src": "https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/music1/img/192.png",
12
+ "sizes": "192x192",
13
+ "type": "image/png"
14
+ },
15
+ {
16
+ "src": "https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/music1/img/512.png",
17
+ "sizes": "512x512",
18
+ "type": "image/png"
19
+ }
20
+ ]
21
+ }
package/package.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "mycpen-blog",
3
+ "version": "0.0.0-eiumagcrho",
4
+ "description": "mycpen blog static file",
5
+ "main": "index.js",
6
+ "directories": {
7
+ "lib": "lib"
8
+ },
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/mycpen/blog.git"
15
+ },
16
+ "author": "mycpen",
17
+ "license": "ISC",
18
+ "bugs": {
19
+ "url": "https://github.com/mycpen/blog/issues"
20
+ },
21
+ "homepage": "https://github.com/mycpen/blog#readme"
22
+ }