diff --git a/about/index.html b/about/index.html new file mode 100644 index 0000000..9807e37 --- /dev/null +++ b/about/index.html @@ -0,0 +1,171 @@ +about | 深远 + + + + + + + + + + + +

有亿点恋爱脑的理工男……

+

希望我的文章对你我都有帮助!!!(づ ̄ 3 ̄)づ

+
Announcement
This is my Blog
Recent Posts
+ + Categories + +
+
+
+ + Archives + +
+
Website Info
Article Count :
3
Unique Visitors :
Page Views :
Last Update :
\ No newline at end of file diff --git a/api/archives/1.json b/api/archives/1.json deleted file mode 100644 index eb0c60b..0000000 --- a/api/archives/1.json +++ /dev/null @@ -1 +0,0 @@ -{"total":3,"pageSize":13,"pageCount":1,"data":[{"title":"GithHub-Hexo-VUE单页面主题的问题","uid":"41cb5e530197ef2e8f83c038836fd9a7","slug":"GithHub-Hexo-VUE单页面主题的问题","date":"2024-12-08T13:31:04.000Z","updated":"2024-12-08T14:10:37.645Z","comments":true,"path":"api/articles/GithHub-Hexo-VUE单页面主题的问题.json","keywords":null,"cover":null,"text":"前情提要你在我的博客中某个文章页面刷新,你就会发现报错“404”,但这种情况在原版Hexo是不会出现的,问题在于我用的主题。 问题我所用的主题Hexo Auro...","permalink":"/post/GithHub-Hexo-VUE单页面主题的问题","photos":[],"count_time":{"symbolsCount":950,"symbolsTime":"1 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"},{"name":"VUE","slug":"VUE","count":1,"path":"api/tags/VUE.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}},{"title":"HTML/CSS笔记","uid":"629bb2f73db7b6997456ee3db9e1b1b8","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","updated":"2024-12-07T10:55:22.269Z","comments":true,"path":"api/articles/HTML-CSS笔记.json","keywords":null,"cover":null,"text":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。 旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类...","permalink":"/post/HTML-CSS笔记","photos":[],"count_time":{"symbolsCount":"2.3k","symbolsTime":"2 mins."},"categories":[{"name":"笔记","slug":"笔记","count":1,"path":"api/categories/笔记.json"}],"tags":[{"name":"HTML","slug":"HTML","count":1,"path":"api/tags/HTML.json"},{"name":"CSS","slug":"CSS","count":1,"path":"api/tags/CSS.json"},{"name":"私人笔记","slug":"私人笔记","count":1,"path":"api/tags/私人笔记.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}},{"title":"GitHub-Hexo初次建站简单流程与问题","uid":"56a2787f8ff856a9dfaa6af31c8e98ba","slug":"GitHub-Hexo初次建站简单流程与问题","date":"2024-12-07T02:45:30.000Z","updated":"2024-12-07T06:49:09.187Z","comments":true,"path":"api/articles/GitHub-Hexo初次建站简单流程与问题.json","keywords":null,"cover":[],"text":" 终于是吃上Github的个人博客建站了,之前使用的宝塔-wordpress建站,由于租赁的服务器自动更新导致的宝塔服务崩溃的问题,把服务器站点关了,不仅个人博...","permalink":"/post/GitHub-Hexo初次建站简单流程与问题","photos":[],"count_time":{"symbolsCount":"2.5k","symbolsTime":"2 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}]} \ No newline at end of file diff --git "a/api/articles/GitHub-Hexo\345\210\235\346\254\241\345\273\272\347\253\231\347\256\200\345\215\225\346\265\201\347\250\213\344\270\216\351\227\256\351\242\230.json" "b/api/articles/GitHub-Hexo\345\210\235\346\254\241\345\273\272\347\253\231\347\256\200\345\215\225\346\265\201\347\250\213\344\270\216\351\227\256\351\242\230.json" deleted file mode 100644 index 4fb281f..0000000 --- "a/api/articles/GitHub-Hexo\345\210\235\346\254\241\345\273\272\347\253\231\347\256\200\345\215\225\346\265\201\347\250\213\344\270\216\351\227\256\351\242\230.json" +++ /dev/null @@ -1 +0,0 @@ -{"title":"GitHub-Hexo初次建站简单流程与问题","uid":"56a2787f8ff856a9dfaa6af31c8e98ba","slug":"GitHub-Hexo初次建站简单流程与问题","date":"2024-12-07T02:45:30.000Z","updated":"2024-12-07T06:49:09.187Z","comments":true,"path":"api/articles/GitHub-Hexo初次建站简单流程与问题.json","keywords":null,"cover":[],"content":"
\n

终于是吃上Github的个人博客建站了,之前使用的宝塔-wordpress建站,由于租赁的服务器自动更新导致的宝塔服务崩溃的问题,把服务器站点关了,不仅个人博客关了,自己的项目也停了(当然主要问题不是博客关了🥵)

\n
\n

本文重点不在于建站的流程,而是强调几点建站中遇到的问题(主要寻找的几篇文章中并没有提到这些问题,而是一味的去教死板的建站流程)

\n

Github-Hexo个人github.io博客搭建

Github中建站的方式有很多种,其中包括纯搓readme文件以及利用工具搭建,当然,我选择用工具。

\n

本文使用Hexo工具来进行建站操作。

\n

Hexo基础搭建与测试内容制作

前提

    \n
  1. 已经拥有Github账号,并且将ssh在本地设置完毕
  2. \n
  3. 本地系统环境已经安装Git
  4. \n
  5. 本地系统环境拥有node合适的版本(具体node版本参见文档 | Hexo-Node.js版本限制
  6. \n
  7. 本地拥有Vscode(建议)软件,并且已设置Vscode的系统环境与用户环境
  8. \n
  9. 本地已经设置了npm镜像(清华镜像或者其他)
  10. \n
\n

开始

npm包可以全局安装和局部安装,为了方便使用hexo命令,建议全局安装。

\n

桌面win+R运行cmd安装hexo基本环境

\n
txt
npm install hexo -g

安装完毕后在自己的硬盘中找个地方(禁止C盘战士)新建一个文件夹,然后在文件管理器的地址栏输入”cmd“快速在该文件夹调用cmd

\n\n\n

然后在终端中输入以下指令进行hexo项目初始化

\n
txt
npm init
\n

建议使用Vscode集成环境进行项目编写与终端命令执行

\n
\n

配置

初始化之后需要对项目进行配置,配置方法参见配置 | Hexo

\n

主要配置字段:

\n\n

撰写文章

首先使用hexo命令创建模板md文件

\n
txt
hexo new [layout] <title>

其中layout是创建的文件类型,创建文章使用”post“,创建页面使用”page“(这么说不是很正规,但是这样理解是最简单的,具体描述参见指令-new | Hexo

\n

比如我现在要创建一个文章,那么运行

\n
txt
hexo new post "新的文件"
\n

这里文件名的双引号最好一直使用这种方式进行命名,虽然英文名可以不加,但避免混淆,最好养成使用单双引号命名的习惯

\n
\n

然后我就可以在我的文件目录”G:\\Blog\\source_posts\\2024-12-07-新的文件.md“找到我的博客文章的文件

\n\n\n

进入文件后,文件默认自带三行内容

\n\n\n

title即文章标题,date为框架自动生成的时间戳信息,tags部分为文章标签,支持多个标签。

\n

该部分配置方法参见Front-matter | Hexo

\n

欲发布

\n

为什么不是预发布?事实上到现在为止我并没有教你很多东西,只是在教你如何在github上进行一个博客搭建的测试工作(狗头保命),真正预发布还得去设置站点主题、完善配置文件、完善站点结构,只不过我这篇文章不教,那些东西都烂大街了,直接搜就有

\n
\n

预览

在发布之前可以进行效果预览。依次执行以下指令

\n
txt
hexo generate\nhexo server

第一条指令是生成静态文件(可以理解为MD文件转换为HTML),第二条指令是在本地4000端口开启预览服务,执行成功后就可以在 localhost:4000 预览站点

\n\n\n

GitHub设置

GitHub仓库初始化

首先进入你的github主页,新建一个仓库,名称格式为

\n
txt
<username>.github.io

例如我的(希望没人真的把username.github.io作为名称吧)

\n
txt
shenyuanol.github.io

然后如下图操作(仓库名有一个验重,如果名称不可用就会报红,比如我这里我已经创建了该仓库了,就不能再创建了)

\n\n\n

创建完毕后,使用git命令,将自己的测试内容全都覆盖到仓库中。

\n

项目Git配置并提交项目到Github(一键部署)

Git信息配置

进入你的项目目录,打开_config.yml文件,将以下字段根据自己信息填写进去(如果文件中已经有这段内容了,改一下就行,避免出现配置信息冲突)

\n
yml
# Deployment\n## Docs: https://hexo.io/docs/one-command-deployment\ndeploy:\n  type: git\n  repo: https://github.com/<username>/<username>.github.io\n  branch: <站点项目分支>

一键部署

使用Hexo一键部署可以快速实现部署,只需要执行一个指令

\n
txt
hexo deploy

等待进度完毕后即可在GitHub找到这些文件

\n
\n

该操作只会将站点主要文件,即站点文件(项目根目录source文件夹)上传至Github,根目录中其他文件并不会跟随上传。

\n

如有需求,请使用Git的push方法上传,并开启仓库分支,将源文件与站点文件双份存储,开启站点时指向站点文件分支即可

\n
\n\n\n\n\n

GitHub博客模式设置

当所有文件上传之后,转到仓库设置(setting)-页面(pages)

\n\n\n

source模式改为分支模式,branch中选择你站点的分支,然后点击”save“执行更改。

\n

随后就可以在网址查看自己的站点

\n
txt
https://<username>.github.io
\n

这里需要注意的是,该操作不会立刻被执行,在1~10分钟内才会被执行,可以重复刷新页面,但是不要去重复上传与部署操作,待10分钟后页面依旧没有反应,再去检查自己的操作是否存在问题,再次执行上传与部署操作。

\n
\n

END

","text":" 终于是吃上Github的个人博客建站了,之前使用的宝塔-wordpress建站,由于租赁的服务器自动更新导致的宝塔服务崩溃的问题,把服务器站点关了,不仅个人博...","permalink":"/post/GitHub-Hexo初次建站简单流程与问题","photos":[],"count_time":{"symbolsCount":"2.5k","symbolsTime":"2 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"}],"toc":"
  1. Github-Hexo个人github.io博客搭建
    1. Hexo基础搭建与测试内容制作
      1. 前提
      2. 开始
      3. 配置
      4. 撰写文章
      5. 欲发布
        1. 预览
    2. GitHub设置
      1. GitHub仓库初始化
      2. 项目Git配置并提交项目到Github(一键部署)
        1. Git信息配置
        2. 一键部署
      3. GitHub博客模式设置
  2. END
","author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}},"mapped":true,"hidden":false,"prev_post":{"title":"HTML/CSS笔记","uid":"629bb2f73db7b6997456ee3db9e1b1b8","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","updated":"2024-12-07T10:55:22.269Z","comments":true,"path":"api/articles/HTML-CSS笔记.json","keywords":null,"cover":null,"text":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。 旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类...","permalink":"/post/HTML-CSS笔记","photos":[],"count_time":{"symbolsCount":"2.3k","symbolsTime":"2 mins."},"categories":[{"name":"笔记","slug":"笔记","count":1,"path":"api/categories/笔记.json"}],"tags":[{"name":"HTML","slug":"HTML","count":1,"path":"api/tags/HTML.json"},{"name":"CSS","slug":"CSS","count":1,"path":"api/tags/CSS.json"},{"name":"私人笔记","slug":"私人笔记","count":1,"path":"api/tags/私人笔记.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}},"next_post":{}} \ No newline at end of file diff --git "a/api/articles/GithHub-Hexo-VUE\345\215\225\351\241\265\351\235\242\344\270\273\351\242\230\347\232\204\351\227\256\351\242\230.json" "b/api/articles/GithHub-Hexo-VUE\345\215\225\351\241\265\351\235\242\344\270\273\351\242\230\347\232\204\351\227\256\351\242\230.json" deleted file mode 100644 index 05d3fdc..0000000 --- "a/api/articles/GithHub-Hexo-VUE\345\215\225\351\241\265\351\235\242\344\270\273\351\242\230\347\232\204\351\227\256\351\242\230.json" +++ /dev/null @@ -1 +0,0 @@ -{"title":"GithHub-Hexo-VUE单页面主题的问题","uid":"41cb5e530197ef2e8f83c038836fd9a7","slug":"GithHub-Hexo-VUE单页面主题的问题","date":"2024-12-08T13:31:04.000Z","updated":"2024-12-08T14:10:37.645Z","comments":true,"path":"api/articles/GithHub-Hexo-VUE单页面主题的问题.json","keywords":null,"cover":null,"content":"

前情提要

你在我的博客中某个文章页面刷新,你就会发现报错“404”,但这种情况在原版Hexo是不会出现的,问题在于我用的主题。

\n

问题

我所用的主题Hexo Aurora Docs | Hexo Aurora Docs是使用VUE开发的,众所不周知VUE是著名的渐进式单页面应用开发框架,但就是因为这个原因导致的在GitHub-Pages中产生“404”问题。

\n

VUE的路由与页面的关系可以理解成很多很多组件的调用,但是实际上这个路由并没有像网址一样,虽然都是指向了一个页面,但是网址是通过发送新的网络请求来请求页面的。

\n

而现在GitHub博客VUE单页面应用,实际的路由只是在内部调用组件而已,并没有产生向后端请求数据的网络请求,因为GitHub只是给你使用的静态页面,并没有地方让你部署后端,,况且GitHub博客大多数都是静态页。因此GitHub-Pages做不到对VUE的适配,它对这种路由处理方式依旧是按网络请求来的,但是网络上并没有与这个路由有关的数据页,所以自然而然就报错404了。

\n

可以这么理解:

\n

VUE路由:http://xxxx.xx/post/{post_name}(内部组件调用组装的)

\n

网址页面:http://xxxx.xx/post/post_name(后端处理网络请求,然后返回前端页面与相关数据)

\n

解决方法

方法一:VUE-Router路由模式

目前我是没有找到好的解决方法,网上有说与VUE的路由模式(Hash/History)有关的,但我在主题源工程文件更改模式后重新打包部署,依旧没有解决问题【也可能是我操作方式不对】,等有时间了再研究研究这种解决方法吧

\n

方法二:404页面“重定向”

这个方法是自定义404页面,默认是GitHub的404页面,当你在站点根目录下创建名为“404.html”文件后,这个文件就是404页面了。

\n

但为了避免GitHub-404页面失去对的博客操作,你可以:

\n
    \n
  1. 自定义404页面,添加博客主页的跳转链接

    \n
  2. \n
  3. 复制一份站点根目录的”index.html“文件,重命名为:“404.html”(该方法为自动重定向博客首页的方法,如需要自定义404页面内容,请使用上一条方法)

    \n
  4. \n
\n

方法三:不使用VUE开发的框架

从根源上解决问题,对吧

\n

END

","text":"前情提要你在我的博客中某个文章页面刷新,你就会发现报错“404”,但这种情况在原版Hexo是不会出现的,问题在于我用的主题。 问题我所用的主题Hexo Auro...","permalink":"/post/GithHub-Hexo-VUE单页面主题的问题","photos":[],"count_time":{"symbolsCount":950,"symbolsTime":"1 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"},{"name":"VUE","slug":"VUE","count":1,"path":"api/tags/VUE.json"}],"toc":"
  1. 前情提要
  2. 问题
  3. 解决方法
    1. 方法一:VUE-Router路由模式
    2. 方法二:404页面“重定向”
    3. 方法三:不使用VUE开发的框架
  • END","author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}},"mapped":true,"hidden":false,"prev_post":{},"next_post":{"title":"HTML/CSS笔记","uid":"629bb2f73db7b6997456ee3db9e1b1b8","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","updated":"2024-12-07T10:55:22.269Z","comments":true,"path":"api/articles/HTML-CSS笔记.json","keywords":null,"cover":null,"text":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。 旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类...","permalink":"/post/HTML-CSS笔记","photos":[],"count_time":{"symbolsCount":"2.3k","symbolsTime":"2 mins."},"categories":[{"name":"笔记","slug":"笔记","count":1,"path":"api/categories/笔记.json"}],"tags":[{"name":"HTML","slug":"HTML","count":1,"path":"api/tags/HTML.json"},{"name":"CSS","slug":"CSS","count":1,"path":"api/tags/CSS.json"},{"name":"私人笔记","slug":"私人笔记","count":1,"path":"api/tags/私人笔记.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}} \ No newline at end of file diff --git "a/api/articles/HTML-CSS\347\254\224\350\256\260.json" "b/api/articles/HTML-CSS\347\254\224\350\256\260.json" deleted file mode 100644 index 533973f..0000000 --- "a/api/articles/HTML-CSS\347\254\224\350\256\260.json" +++ /dev/null @@ -1 +0,0 @@ -{"title":"HTML/CSS笔记","uid":"629bb2f73db7b6997456ee3db9e1b1b8","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","updated":"2024-12-07T10:55:22.269Z","comments":true,"path":"api/articles/HTML-CSS笔记.json","keywords":null,"cover":null,"content":"

    HTML

    零碎知识点

    语义元素

    可以理解为把HTML标签用人话描述出来,并且自带了一些样式。

    \n

    旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类型,HTML5语义元素则通过官方标签的方式将这些复用率较高的容器组件化,便于直接使用,从而节省开发时间。

    \n

    同时使页面结构更加现代化,更加直观的展示主要信息,

    \n

    web存储

    存储方式与存储周期

    存在以下两种存储方式(客户端)

    \n

    localStorage:若用户不主动清除该存储数据,则一直存在于用户浏览器存储中,作用域仅限与之相关联的站点。

    \n

    sessionStorage:生命周期为一个标签页的周期,即只能在这个标签页周期内存储与该页面有关的数据,关闭页面后数据也随之删除。

    \n

    存储信息以键值对方式存在,数据格式包括num、object、string

    \n

    常用命令

    \n

    local与session指令使用方法一样,只不过前缀不同,下面将以*省略前缀

    \n
    \n

    *Storage.setItem( name[String], value ) 存储名为name,值为value的数据

    \n

    *Storage.getItem( name[String] ) 查找名为name的值

    \n

    *Storage.removeItem( name[String] ) 移除名为name的数据

    \n

    *Storage.clear() 清除所有数据

    \n

    *Storage.key() 得到某个数据的索引值

    \n

    格式转换

    \n

    这里需要注意转换的目标数据要符合转换后数据类型的格式要求,不然会导致格式错误,影响后续对数据的调用

    \n
    \n
    js
    //字符串转对象\nvar str = new String;\nvar site = JSON.parse(str);\n//对象转字符串\nvar site = new Object;\nvar str = JSON.stringify(site); \n//字符串转数字\nvar str = new String;\nvar num = Number(str);\nconsole.log( parseInt( str ) );//解析十进制数,它将四舍五入到最接近的整数值,并将该值转换为string\nconsole.log(+str);\nparseFloat();//解析一段内容,并且将第一个数字输出\nconsole.log( str * 1 );\nconsole.log( ~~str )\n//数字转字符串\nvar num = new Number;\nvar str = num.toString();\nvar str = String(num);\nvar str = '' + num;\nvar str = num.toFixed();

    indexedDB

    更符合现代需求的浏览器数据库,取代旧版WBE SQL。较于loaclStorage存储量更大,储存类型更丰富,并且不会阻塞主进程

    \n

    Canvas

    HTML页面与JS绘图的桥接物。

    \n

    拖放

    html
    <div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)">\n    <img src="/images/logo.png" draggable="true" ondragstart="drag(event)" id="drag1" width="88" height="31">\n</div>\n<div id="div2" ondrop="drop(event)" ondragover="allowDrop(event)"></div>\n\n\n<script>\nfunction allowDrop(ev) {\n    ev.preventDefault();\n}\n\nfunction drag(ev) {\n    ev.dataTransfer.setData("Text",ev.target.id);\n}\n\nfunction drop(ev) {\n    ev.preventDefault();\n    var data=ev.dataTransfer.getData("Text");\n    ev.target.appendChild(document.getElementById(data));\n}\n</script>
      \n
    1. 设置元素为可拖放:< ** draggable=”true”></**>

      \n
    2. \n
    3. 设置拖动元素的数据信息:drag()

      \n
    4. \n
    5. 设置哪些容器可以接收拖动的元素并且消除浏览器默认行为:allowDro()

      \n
    6. \n
    7. 接收元素的容器获取元素的数据并且追加到容器中,同时消除浏览器默认行为:drop()

      \n
    8. \n
    \n

    可以理解为将一个元素剪切然后追加到新容器中。

    \n

    H5表单增强(input增强)

    添加了一些更符合现代需求的标签与属性,内容查询参加HTML5 表单属性 | 菜鸟教程

    \n

    其中主要是对于“input”标签进行属性丰富,最显著的功能为数字/数学计算增强,即“数字输入框”

    \n","text":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。 旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类...","permalink":"/post/HTML-CSS笔记","photos":[],"count_time":{"symbolsCount":"2.3k","symbolsTime":"2 mins."},"categories":[{"name":"笔记","slug":"笔记","count":1,"path":"api/categories/笔记.json"}],"tags":[{"name":"HTML","slug":"HTML","count":1,"path":"api/tags/HTML.json"},{"name":"CSS","slug":"CSS","count":1,"path":"api/tags/CSS.json"},{"name":"私人笔记","slug":"私人笔记","count":1,"path":"api/tags/私人笔记.json"}],"toc":"
    1. HTML
      1. 零碎知识点
        1. 语义元素
        2. web存储
          1. 存储方式与存储周期
          2. 常用命令
          3. 格式转换
          4. indexedDB
        3. Canvas
        4. 拖放
        5. H5表单增强(input增强)
    ","author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}},"mapped":true,"hidden":false,"prev_post":{"title":"GithHub-Hexo-VUE单页面主题的问题","uid":"41cb5e530197ef2e8f83c038836fd9a7","slug":"GithHub-Hexo-VUE单页面主题的问题","date":"2024-12-08T13:31:04.000Z","updated":"2024-12-08T14:10:37.645Z","comments":true,"path":"api/articles/GithHub-Hexo-VUE单页面主题的问题.json","keywords":null,"cover":null,"text":"前情提要你在我的博客中某个文章页面刷新,你就会发现报错“404”,但这种情况在原版Hexo是不会出现的,问题在于我用的主题。 问题我所用的主题Hexo Auro...","permalink":"/post/GithHub-Hexo-VUE单页面主题的问题","photos":[],"count_time":{"symbolsCount":950,"symbolsTime":"1 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"},{"name":"VUE","slug":"VUE","count":1,"path":"api/tags/VUE.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}},"next_post":{"title":"GitHub-Hexo初次建站简单流程与问题","uid":"56a2787f8ff856a9dfaa6af31c8e98ba","slug":"GitHub-Hexo初次建站简单流程与问题","date":"2024-12-07T02:45:30.000Z","updated":"2024-12-07T06:49:09.187Z","comments":true,"path":"api/articles/GitHub-Hexo初次建站简单流程与问题.json","keywords":null,"cover":[],"text":" 终于是吃上Github的个人博客建站了,之前使用的宝塔-wordpress建站,由于租赁的服务器自动更新导致的宝塔服务崩溃的问题,把服务器站点关了,不仅个人博...","permalink":"/post/GitHub-Hexo初次建站简单流程与问题","photos":[],"count_time":{"symbolsCount":"2.5k","symbolsTime":"2 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}} \ No newline at end of file diff --git a/api/authors/blog-author.json b/api/authors/blog-author.json deleted file mode 100644 index d79e4a0..0000000 --- a/api/authors/blog-author.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}},"post_list":[{"title":"GithHub-Hexo-VUE单页面主题的问题","uid":"41cb5e530197ef2e8f83c038836fd9a7","slug":"GithHub-Hexo-VUE单页面主题的问题","date":"2024-12-08T13:31:04.000Z","updated":"2024-12-08T14:10:37.645Z","comments":true,"path":"api/articles/GithHub-Hexo-VUE单页面主题的问题.json","keywords":null,"cover":null,"text":"前情提要你在我的博客中某个文章页面刷新,你就会发现报错“404”,但这种情况在原版Hexo是不会出现的,问题在于我用的主题。 问题我所用的主题Hexo Auro...","permalink":"/post/GithHub-Hexo-VUE单页面主题的问题","photos":[],"count_time":{"symbolsCount":950,"symbolsTime":"1 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"},{"name":"VUE","slug":"VUE","count":1,"path":"api/tags/VUE.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}},{"title":"HTML/CSS笔记","uid":"629bb2f73db7b6997456ee3db9e1b1b8","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","updated":"2024-12-07T10:55:22.269Z","comments":true,"path":"api/articles/HTML-CSS笔记.json","keywords":null,"cover":null,"text":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。 旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类...","permalink":"/post/HTML-CSS笔记","photos":[],"count_time":{"symbolsCount":"2.3k","symbolsTime":"2 mins."},"categories":[{"name":"笔记","slug":"笔记","count":1,"path":"api/categories/笔记.json"}],"tags":[{"name":"HTML","slug":"HTML","count":1,"path":"api/tags/HTML.json"},{"name":"CSS","slug":"CSS","count":1,"path":"api/tags/CSS.json"},{"name":"私人笔记","slug":"私人笔记","count":1,"path":"api/tags/私人笔记.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}},{"title":"GitHub-Hexo初次建站简单流程与问题","uid":"56a2787f8ff856a9dfaa6af31c8e98ba","slug":"GitHub-Hexo初次建站简单流程与问题","date":"2024-12-07T02:45:30.000Z","updated":"2024-12-07T06:49:09.187Z","comments":true,"path":"api/articles/GitHub-Hexo初次建站简单流程与问题.json","keywords":null,"cover":[],"text":" 终于是吃上Github的个人博客建站了,之前使用的宝塔-wordpress建站,由于租赁的服务器自动更新导致的宝塔服务崩溃的问题,把服务器站点关了,不仅个人博...","permalink":"/post/GitHub-Hexo初次建站简单流程与问题","photos":[],"count_time":{"symbolsCount":"2.5k","symbolsTime":"2 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}],"categories":1,"tags":3,"word_count":"5.8k","post_count":3} \ No newline at end of file diff --git a/api/categories.json b/api/categories.json deleted file mode 100644 index 0c869d4..0000000 --- a/api/categories.json +++ /dev/null @@ -1 +0,0 @@ -[{"name":"笔记","path":"api/categories/笔记.json","slug":"笔记","count":1}] \ No newline at end of file diff --git "a/api/categories/\347\254\224\350\256\260.json" "b/api/categories/\347\254\224\350\256\260.json" deleted file mode 100644 index e61829e..0000000 --- "a/api/categories/\347\254\224\350\256\260.json" +++ /dev/null @@ -1 +0,0 @@ -{"name":"笔记","slug":"笔记","count":1,"postlist":[{"title":"HTML/CSS笔记","uid":"629bb2f73db7b6997456ee3db9e1b1b8","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","updated":"2024-12-07T10:55:22.269Z","comments":true,"path":"api/articles/HTML-CSS笔记.json","keywords":null,"cover":null,"text":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。 旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类...","permalink":"/post/HTML-CSS笔记","photos":[],"count_time":{"symbolsCount":"2.3k","symbolsTime":"2 mins."},"categories":[{"name":"笔记","slug":"笔记","count":1,"path":"api/categories/笔记.json"}],"tags":[{"name":"HTML","slug":"HTML","count":1,"path":"api/tags/HTML.json"},{"name":"CSS","slug":"CSS","count":1,"path":"api/tags/CSS.json"},{"name":"私人笔记","slug":"私人笔记","count":1,"path":"api/tags/私人笔记.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}]} \ No newline at end of file diff --git a/api/features.json b/api/features.json deleted file mode 100644 index 0637a08..0000000 --- a/api/features.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/api/pages/about/index.json b/api/pages/about/index.json deleted file mode 100644 index 033cc18..0000000 --- a/api/pages/about/index.json +++ /dev/null @@ -1 +0,0 @@ -{"title":"about","type":"page","uid":"03933793d01427bd4ef056d0a9b02560","text":"有亿点恋爱脑的理工男…… 希望我的文章对你我都有帮助!!!(づ ̄ 3 ̄)づ ","date":"2024-12-07T03:42:50.000Z","updated":"2024-12-07T07:22:28.407Z","comments":true,"path":"api/pages/about/index.json","covers":null,"excerpt":"","content":"

    有亿点恋爱脑的理工男……

    \n

    希望我的文章对你我都有帮助!!!(づ ̄ 3 ̄)づ

    \n","count_time":{"symbolsCount":38,"symbolsTime":"1 mins."},"toc":"","data":[]} \ No newline at end of file diff --git a/api/posts/1.json b/api/posts/1.json deleted file mode 100644 index eb0c60b..0000000 --- a/api/posts/1.json +++ /dev/null @@ -1 +0,0 @@ -{"total":3,"pageSize":13,"pageCount":1,"data":[{"title":"GithHub-Hexo-VUE单页面主题的问题","uid":"41cb5e530197ef2e8f83c038836fd9a7","slug":"GithHub-Hexo-VUE单页面主题的问题","date":"2024-12-08T13:31:04.000Z","updated":"2024-12-08T14:10:37.645Z","comments":true,"path":"api/articles/GithHub-Hexo-VUE单页面主题的问题.json","keywords":null,"cover":null,"text":"前情提要你在我的博客中某个文章页面刷新,你就会发现报错“404”,但这种情况在原版Hexo是不会出现的,问题在于我用的主题。 问题我所用的主题Hexo Auro...","permalink":"/post/GithHub-Hexo-VUE单页面主题的问题","photos":[],"count_time":{"symbolsCount":950,"symbolsTime":"1 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"},{"name":"VUE","slug":"VUE","count":1,"path":"api/tags/VUE.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}},{"title":"HTML/CSS笔记","uid":"629bb2f73db7b6997456ee3db9e1b1b8","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","updated":"2024-12-07T10:55:22.269Z","comments":true,"path":"api/articles/HTML-CSS笔记.json","keywords":null,"cover":null,"text":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。 旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类...","permalink":"/post/HTML-CSS笔记","photos":[],"count_time":{"symbolsCount":"2.3k","symbolsTime":"2 mins."},"categories":[{"name":"笔记","slug":"笔记","count":1,"path":"api/categories/笔记.json"}],"tags":[{"name":"HTML","slug":"HTML","count":1,"path":"api/tags/HTML.json"},{"name":"CSS","slug":"CSS","count":1,"path":"api/tags/CSS.json"},{"name":"私人笔记","slug":"私人笔记","count":1,"path":"api/tags/私人笔记.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}},{"title":"GitHub-Hexo初次建站简单流程与问题","uid":"56a2787f8ff856a9dfaa6af31c8e98ba","slug":"GitHub-Hexo初次建站简单流程与问题","date":"2024-12-07T02:45:30.000Z","updated":"2024-12-07T06:49:09.187Z","comments":true,"path":"api/articles/GitHub-Hexo初次建站简单流程与问题.json","keywords":null,"cover":[],"text":" 终于是吃上Github的个人博客建站了,之前使用的宝塔-wordpress建站,由于租赁的服务器自动更新导致的宝塔服务崩溃的问题,把服务器站点关了,不仅个人博...","permalink":"/post/GitHub-Hexo初次建站简单流程与问题","photos":[],"count_time":{"symbolsCount":"2.5k","symbolsTime":"2 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}]} \ No newline at end of file diff --git a/api/search.json b/api/search.json deleted file mode 100644 index a4435b1..0000000 --- a/api/search.json +++ /dev/null @@ -1 +0,0 @@ -[{"id":"41cb5e530197ef2e8f83c038836fd9a7","title":"GithHub-Hexo-VUE单页面主题的问题","content":"前情提要你在我的博客中某个文章页面刷新,你就会发现报错“404”,但这种情况在原版Hexo是不会出现的,问题在于我用的主题。\n问题我所用的主题Hexo Aurora Docs | Hexo Aurora Docs是使用VUE开发的,众所不周知VUE是著名的渐进式单页面应用开发框架,但就是因为这个原因导致的在GitHub-Pages中产生“404”问题。\nVUE的路由与页面的关系可以理解成很多很多组件的调用,但是实际上这个路由并没有像网址一样,虽然都是指向了一个页面,但是网址是通过发送新的网络请求来请求页面的。\n而现在GitHub博客VUE单页面应用,实际的路由只是在内部调用组件而已,并没有产生向后端请求数据的网络请求,因为GitHub只是给你使用的静态页面,并没有地方让你部署后端,,况且GitHub博客大多数都是静态页。因此GitHub-Pages做不到对VUE的适配,它对这种路由处理方式依旧是按网络请求来的,但是网络上并没有与这个路由有关的数据页,所以自然而然就报错404了。\n可以这么理解:\nVUE路由:http://xxxx.xx/post/{post_name}(内部组件调用组装的)\n网址页面:http://xxxx.xx/post/post_name(后端处理网络请求,然后返回前端页面与相关数据)\n解决方法方法一:VUE-Router路由模式目前我是没有找到好的解决方法,网上有说与VUE的路由模式(Hash/History)有关的,但我在主题源工程文件更改模式后重新打包部署,依旧没有解决问题【也可能是我操作方式不对】,等有时间了再研究研究这种解决方法吧\n方法二:404页面“重定向”这个方法是自定义404页面,默认是GitHub的404页面,当你在站点根目录下创建名为“404.html”文件后,这个文件就是404页面了。\n但为了避免GitHub-404页面失去对的博客操作,你可以:\n\n自定义404页面,添加博客主页的跳转链接\n\n复制一份站点根目录的”index.html“文件,重命名为:“404.html”(该方法为自动重定向博客首页的方法,如需要自定义404页面内容,请使用上一条方法)\n\n\n方法三:不使用VUE开发的框架从根源上解决问题,对吧\nEND","slug":"GithHub-Hexo-VUE单页面主题的问题","date":"2024-12-08T13:31:04.000Z","categories_index":"","tags_index":"个人博客,VUE","author_index":"ShenYuan"},{"id":"629bb2f73db7b6997456ee3db9e1b1b8","title":"HTML/CSS笔记","content":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。\n旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类型,HTML5语义元素则通过官方标签的方式将这些复用率较高的容器组件化,便于直接使用,从而节省开发时间。\n同时使页面结构更加现代化,更加直观的展示主要信息,\nweb存储存储方式与存储周期存在以下两种存储方式(客户端)\nlocalStorage:若用户不主动清除该存储数据,则一直存在于用户浏览器存储中,作用域仅限与之相关联的站点。\nsessionStorage:生命周期为一个标签页的周期,即只能在这个标签页周期内存储与该页面有关的数据,关闭页面后数据也随之删除。\n存储信息以键值对方式存在,数据格式包括num、object、string\n常用命令\nlocal与session指令使用方法一样,只不过前缀不同,下面将以*省略前缀\n\n*Storage.setItem( name[String], value ) 存储名为name,值为value的数据\n*Storage.getItem( name[String] ) 查找名为name的值\n*Storage.removeItem( name[String] ) 移除名为name的数据\n*Storage.clear() 清除所有数据\n*Storage.key() 得到某个数据的索引值\n格式转换\n这里需要注意转换的目标数据要符合转换后数据类型的格式要求,不然会导致格式错误,影响后续对数据的调用\n\njs//字符串转对象\nvar str = new String;\nvar site = JSON.parse(str);\n//对象转字符串\nvar site = new Object;\nvar str = JSON.stringify(site); \n//字符串转数字\nvar str = new String;\nvar num = Number(str);\nconsole.log( parseInt( str ) );//解析十进制数,它将四舍五入到最接近的整数值,并将该值转换为string\nconsole.log(+str);\nparseFloat();//解析一段内容,并且将第一个数字输出\nconsole.log( str * 1 );\nconsole.log( ~~str )\n//数字转字符串\nvar num = new Number;\nvar str = num.toString();\nvar str = String(num);\nvar str = '' + num;\nvar str = num.toFixed();indexedDB更符合现代需求的浏览器数据库,取代旧版WBE SQL。较于loaclStorage存储量更大,储存类型更丰富,并且不会阻塞主进程\nCanvasHTML页面与JS绘图的桥接物。\n拖放html<div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)">\n <img src="/images/logo.png" draggable="true" ondragstart="drag(event)" id="drag1" width="88" height="31">\n</div>\n<div id="div2" ondrop="drop(event)" ondragover="allowDrop(event)"></div>\n\n\n<script>\nfunction allowDrop(ev) {\n ev.preventDefault();\n}\n\nfunction drag(ev) {\n ev.dataTransfer.setData("Text",ev.target.id);\n}\n\nfunction drop(ev) {\n ev.preventDefault();\n var data=ev.dataTransfer.getData("Text");\n ev.target.appendChild(document.getElementById(data));\n}\n</script>\n设置元素为可拖放:< ** draggable=”true”></**>\n\n设置拖动元素的数据信息:drag()\n\n设置哪些容器可以接收拖动的元素并且消除浏览器默认行为:allowDro()\n\n接收元素的容器获取元素的数据并且追加到容器中,同时消除浏览器默认行为:drop()\n\n\n可以理解为将一个元素剪切然后追加到新容器中。\nH5表单增强(input增强)添加了一些更符合现代需求的标签与属性,内容查询参加HTML5 表单属性 | 菜鸟教程\n其中主要是对于“input”标签进行属性丰富,最显著的功能为数字/数学计算增强,即“数字输入框”\n","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","categories_index":"笔记","tags_index":"HTML,CSS,私人笔记","author_index":"ShenYuan"},{"id":"56a2787f8ff856a9dfaa6af31c8e98ba","title":"GitHub-Hexo初次建站简单流程与问题","content":"\n终于是吃上Github的个人博客建站了,之前使用的宝塔-wordpress建站,由于租赁的服务器自动更新导致的宝塔服务崩溃的问题,把服务器站点关了,不仅个人博客关了,自己的项目也停了(当然主要问题不是博客关了🥵)\n\n本文重点不在于建站的流程,而是强调几点建站中遇到的问题(主要寻找的几篇文章中并没有提到这些问题,而是一味的去教死板的建站流程)\nGithub-Hexo个人github.io博客搭建Github中建站的方式有很多种,其中包括纯搓readme文件以及利用工具搭建,当然,我选择用工具。\n本文使用Hexo工具来进行建站操作。\nHexo基础搭建与测试内容制作前提\n已经拥有Github账号,并且将ssh在本地设置完毕\n本地系统环境已经安装Git\n本地系统环境拥有node合适的版本(具体node版本参见文档 | Hexo-Node.js版本限制)\n本地拥有Vscode(建议)软件,并且已设置Vscode的系统环境与用户环境\n本地已经设置了npm镜像(清华镜像或者其他)\n\n开始npm包可以全局安装和局部安装,为了方便使用hexo命令,建议全局安装。\n桌面win+R运行cmd安装hexo基本环境\ntxtnpm install hexo -g安装完毕后在自己的硬盘中找个地方(禁止C盘战士)新建一个文件夹,然后在文件管理器的地址栏输入”cmd“快速在该文件夹调用cmd\n\n\n然后在终端中输入以下指令进行hexo项目初始化\ntxtnpm init\n建议使用Vscode集成环境进行项目编写与终端命令执行\n\n配置初始化之后需要对项目进行配置,配置方法参见配置 | Hexo\n主要配置字段:\n\ntitle 站点标题\n\nauthor 你的名字\n\nlanguage 站点语言\n\nnew_post_name 新文章文件名称(文件/文章名字的格式配置)\n\npost_asset_folder 是否开启资源文件夹模式(主要用于文章图片的存储)\n\n\n撰写文章首先使用hexo命令创建模板md文件\ntxthexo new [layout] <title>其中layout是创建的文件类型,创建文章使用”post“,创建页面使用”page“(这么说不是很正规,但是这样理解是最简单的,具体描述参见指令-new | Hexo)\n比如我现在要创建一个文章,那么运行\ntxthexo new post "新的文件"\n这里文件名的双引号最好一直使用这种方式进行命名,虽然英文名可以不加,但避免混淆,最好养成使用单双引号命名的习惯\n\n然后我就可以在我的文件目录”G:\\Blog\\source_posts\\2024-12-07-新的文件.md“找到我的博客文章的文件\n\n\n进入文件后,文件默认自带三行内容\n\n\ntitle即文章标题,date为框架自动生成的时间戳信息,tags部分为文章标签,支持多个标签。\n该部分配置方法参见Front-matter | Hexo\n欲发布\n为什么不是预发布?事实上到现在为止我并没有教你很多东西,只是在教你如何在github上进行一个博客搭建的测试工作(狗头保命),真正预发布还得去设置站点主题、完善配置文件、完善站点结构,只不过我这篇文章不教,那些东西都烂大街了,直接搜就有\n\n预览在发布之前可以进行效果预览。依次执行以下指令\ntxthexo generate\nhexo server第一条指令是生成静态文件(可以理解为MD文件转换为HTML),第二条指令是在本地4000端口开启预览服务,执行成功后就可以在 localhost:4000 预览站点\n\n\nGitHub设置GitHub仓库初始化首先进入你的github主页,新建一个仓库,名称格式为\ntxt<username>.github.io例如我的(希望没人真的把username.github.io作为名称吧)\ntxtshenyuanol.github.io然后如下图操作(仓库名有一个验重,如果名称不可用就会报红,比如我这里我已经创建了该仓库了,就不能再创建了)\n\n\n创建完毕后,使用git命令,将自己的测试内容全都覆盖到仓库中。\n项目Git配置并提交项目到Github(一键部署)Git信息配置进入你的项目目录,打开_config.yml文件,将以下字段根据自己信息填写进去(如果文件中已经有这段内容了,改一下就行,避免出现配置信息冲突)\nyml# Deployment\n## Docs: https://hexo.io/docs/one-command-deployment\ndeploy:\n type: git\n repo: https://github.com/<username>/<username>.github.io\n branch: <站点项目分支>一键部署使用Hexo一键部署可以快速实现部署,只需要执行一个指令\ntxthexo deploy等待进度完毕后即可在GitHub找到这些文件\n\n该操作只会将站点主要文件,即站点文件(项目根目录source文件夹)上传至Github,根目录中其他文件并不会跟随上传。\n如有需求,请使用Git的push方法上传,并开启仓库分支,将源文件与站点文件双份存储,开启站点时指向站点文件分支即可\n\n\n\n\n\nGitHub博客模式设置当所有文件上传之后,转到仓库设置(setting)-页面(pages)\n\n\nsource模式改为分支模式,branch中选择你站点的分支,然后点击”save“执行更改。\n随后就可以在网址查看自己的站点\ntxthttps://<username>.github.io\n这里需要注意的是,该操作不会立刻被执行,在1~10分钟内才会被执行,可以重复刷新页面,但是不要去重复上传与部署操作,待10分钟后页面依旧没有反应,再去检查自己的操作是否存在问题,再次执行上传与部署操作。\n\nEND","slug":"GitHub-Hexo初次建站简单流程与问题","date":"2024-12-07T02:45:30.000Z","categories_index":"","tags_index":"个人博客","author_index":"ShenYuan"}] \ No newline at end of file diff --git a/api/site.json b/api/site.json deleted file mode 100644 index afbbc8c..0000000 --- a/api/site.json +++ /dev/null @@ -1 +0,0 @@ -{"title":"深远","subtitle":"","description":"","author":"Shen Yuan","language":"zh","timezone":"","url":"https://shenyuanol.github.io","root":"/","permalink":"/post/:year/:month/:day/:title/","permalink_defaults":null,"pretty_urls":{"trailing_index":true,"trailing_html":true},"source_dir":"source","public_dir":"public","tag_dir":"tags","archive_dir":"archives","category_dir":"categories","code_dir":"downloads/code","i18n_dir":":lang","skip_render":null,"new_post_name":":year-:month-:day-:title.md","default_layout":"post","titlecase":false,"external_link":{"enable":true,"field":"site","exclude":""},"filename_case":0,"render_drafts":false,"post_asset_folder":true,"relative_link":false,"future":true,"syntax_highlighter":null,"highlight":{"auto_detect":false,"line_number":true,"tab_replace":"","wrap":true,"exclude_languages":[],"language_attr":false,"hljs":false,"line_threshold":0,"first_line_number":"always1","strip_indent":true},"prismjs":{"preprocess":true,"line_number":true,"tab_replace":"","exclude_languages":[],"strip_indent":true},"use_filename_as_post_title":false,"default_category":"uncategorized","category_map":null,"tag_map":null,"date_format":"YYYY-MM-DD","time_format":"HH:mm:ss","updated_option":"mtime","per_page":10,"pagination_dir":"page","theme":"aurora","ignore":null,"meta_generator":true,"keywords":null,"marked":{"gfm":true,"pedantic":false,"breaks":true,"smartLists":true,"smartypants":true,"modifyAnchors":0,"autolink":true,"mangle":true,"sanitizeUrl":false,"dompurify":false,"headerIds":true,"anchorAlias":false,"lazyload":false,"prependRoot":true,"postAsset":true,"external_link":{"enable":false,"exclude":[],"nofollow":false},"descriptionLists":true},"index_generator":{"per_page":10,"order_by":"-date","layout":["index","archive"],"path":""},"include":null,"exclude":null,"sitemap":{"path":"sitemap.xml","rel":false,"tags":true,"categories":true},"theme_config":{"site":{"subtitle":"ShenYuan's Blog","author":"ShenYuan","description":"有亿点恋爱脑的理工男......","link":"/","language":"zh","multi_language":true,"logo":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","beian":{"number":"","link":""},"police_beian":{"number":"","link":""},"started_date":"2024-12-7","pathSlug":"slug"},"authors":null,"menu":{"About":true,"Tags":true,"Archives":true,"Friends":false},"theme":{"dark_mode":true,"profile_shape":"circle","feature":false,"gradient":{"color_1":"#24c6dc","color_2":"#5433ff","color_3":"#ff0099"}},"socials":{"customs":null},"site_meta":{"cdn":"cn","favicon":null,"description":"有亿点恋爱脑的理工男......","keywords":"HTML, CSS, PHP, Python, Java, JS, Json, VUE, PHP, ShenYuan, 深远","author":"ShenYuan"},"gitalk":{"enable":false,"autoExpand":true,"clientID":"","clientSecret":"","repo":"","owner":"","admin":[""],"id":"uid","language":"en","distractionFreeMode":true,"recentComment":true,"proxy":""},"valine":{"enable":false,"app_id":null,"app_key":null,"avatar":"","placeholder":"Leave your thoughts behind~","visitor":true,"lang":"en","avatarForce":false,"meta":["nick","mail"],"requiredFields":["nick","mail"],"admin":"","recentComment":true},"twikoo":{"enable":false,"recentComment":true,"envId":"xxxxxxxxxxxxxxx","lang":"en"},"waline":{"enable":false,"recentComment":true,"reaction":false,"login":"disable","meta":["nick","mail"],"requiredMeta":["nick","mail"],"commentSorting":"latest","wordLimit":0,"imageUploader":false,"pageSize":10,"serverURL":""},"busuanzi":{"enable":false},"copy_protection":{"enable":false,"author":{"cn":"作者","en":"Author"},"link":{"cn":"本文来自于","en":"Article is from"},"license":{"cn":"博客内容遵循 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 协议","en":"This content is shared under the CC BY-NC-SA 4.0 protocol (Non-Commercial)"}},"aurora_bot":{"enable":false,"locale":"en","bot_type":"dia","tips":null},"injects":{"scripts":null,"css":null},"footer_links":[{"title":null,"links":[{"title":"希望文章对你有帮助~~~~§(* ̄▽ ̄*)§","url":null},{"title":null,"url":null},{"title":null,"mode":null}]}],"shiki":{"enable":true,"theme":"dark-plus","backgroundColor":"#1a1a1a"},"version":"2.5.3","algolia":{"enable":false}},"category_generator":{"per_page":10},"tag_generator":{"per_page":10},"archive_generator":{"per_page":10,"yearly":true,"monthly":true,"daily":false}} \ No newline at end of file diff --git a/api/statistic.json b/api/statistic.json deleted file mode 100644 index ba25330..0000000 --- a/api/statistic.json +++ /dev/null @@ -1 +0,0 @@ -{"posts":3,"categories":1,"tags":5,"wordCount":"5.8k"} \ No newline at end of file diff --git a/api/tags.json b/api/tags.json deleted file mode 100644 index 1779315..0000000 --- a/api/tags.json +++ /dev/null @@ -1 +0,0 @@ -[{"name":"个人博客","path":"api/tags/个人博客.json","slug":"个人博客","count":2},{"name":"HTML","path":"api/tags/HTML.json","slug":"HTML","count":1},{"name":"CSS","path":"api/tags/CSS.json","slug":"CSS","count":1},{"name":"私人笔记","path":"api/tags/私人笔记.json","slug":"私人笔记","count":1},{"name":"VUE","path":"api/tags/VUE.json","slug":"VUE","count":1}] \ No newline at end of file diff --git a/api/tags/CSS.json b/api/tags/CSS.json deleted file mode 100644 index 8118874..0000000 --- a/api/tags/CSS.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"CSS","slug":"CSS","count":1,"postlist":[{"title":"HTML/CSS笔记","uid":"629bb2f73db7b6997456ee3db9e1b1b8","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","updated":"2024-12-07T10:55:22.269Z","comments":true,"path":"api/articles/HTML-CSS笔记.json","keywords":null,"cover":null,"text":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。 旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类...","permalink":"/post/HTML-CSS笔记","photos":[],"count_time":{"symbolsCount":"2.3k","symbolsTime":"2 mins."},"categories":[{"name":"笔记","slug":"笔记","count":1,"path":"api/categories/笔记.json"}],"tags":[{"name":"HTML","slug":"HTML","count":1,"path":"api/tags/HTML.json"},{"name":"CSS","slug":"CSS","count":1,"path":"api/tags/CSS.json"},{"name":"私人笔记","slug":"私人笔记","count":1,"path":"api/tags/私人笔记.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}]} \ No newline at end of file diff --git a/api/tags/HTML.json b/api/tags/HTML.json deleted file mode 100644 index 101e86c..0000000 --- a/api/tags/HTML.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"HTML","slug":"HTML","count":1,"postlist":[{"title":"HTML/CSS笔记","uid":"629bb2f73db7b6997456ee3db9e1b1b8","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","updated":"2024-12-07T10:55:22.269Z","comments":true,"path":"api/articles/HTML-CSS笔记.json","keywords":null,"cover":null,"text":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。 旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类...","permalink":"/post/HTML-CSS笔记","photos":[],"count_time":{"symbolsCount":"2.3k","symbolsTime":"2 mins."},"categories":[{"name":"笔记","slug":"笔记","count":1,"path":"api/categories/笔记.json"}],"tags":[{"name":"HTML","slug":"HTML","count":1,"path":"api/tags/HTML.json"},{"name":"CSS","slug":"CSS","count":1,"path":"api/tags/CSS.json"},{"name":"私人笔记","slug":"私人笔记","count":1,"path":"api/tags/私人笔记.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}]} \ No newline at end of file diff --git a/api/tags/VUE.json b/api/tags/VUE.json deleted file mode 100644 index 2c1e294..0000000 --- a/api/tags/VUE.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"VUE","slug":"VUE","count":1,"postlist":[{"title":"GithHub-Hexo-VUE单页面主题的问题","uid":"41cb5e530197ef2e8f83c038836fd9a7","slug":"GithHub-Hexo-VUE单页面主题的问题","date":"2024-12-08T13:31:04.000Z","updated":"2024-12-08T14:10:37.645Z","comments":true,"path":"api/articles/GithHub-Hexo-VUE单页面主题的问题.json","keywords":null,"cover":null,"text":"前情提要你在我的博客中某个文章页面刷新,你就会发现报错“404”,但这种情况在原版Hexo是不会出现的,问题在于我用的主题。 问题我所用的主题Hexo Auro...","permalink":"/post/GithHub-Hexo-VUE单页面主题的问题","photos":[],"count_time":{"symbolsCount":950,"symbolsTime":"1 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"},{"name":"VUE","slug":"VUE","count":1,"path":"api/tags/VUE.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}]} \ No newline at end of file diff --git "a/api/tags/\344\270\252\344\272\272\345\215\232\345\256\242.json" "b/api/tags/\344\270\252\344\272\272\345\215\232\345\256\242.json" deleted file mode 100644 index 62438e1..0000000 --- "a/api/tags/\344\270\252\344\272\272\345\215\232\345\256\242.json" +++ /dev/null @@ -1 +0,0 @@ -{"name":"个人博客","slug":"个人博客","count":2,"postlist":[{"title":"GithHub-Hexo-VUE单页面主题的问题","uid":"41cb5e530197ef2e8f83c038836fd9a7","slug":"GithHub-Hexo-VUE单页面主题的问题","date":"2024-12-08T13:31:04.000Z","updated":"2024-12-08T14:10:37.645Z","comments":true,"path":"api/articles/GithHub-Hexo-VUE单页面主题的问题.json","keywords":null,"cover":null,"text":"前情提要你在我的博客中某个文章页面刷新,你就会发现报错“404”,但这种情况在原版Hexo是不会出现的,问题在于我用的主题。 问题我所用的主题Hexo Auro...","permalink":"/post/GithHub-Hexo-VUE单页面主题的问题","photos":[],"count_time":{"symbolsCount":950,"symbolsTime":"1 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"},{"name":"VUE","slug":"VUE","count":1,"path":"api/tags/VUE.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}},{"title":"GitHub-Hexo初次建站简单流程与问题","uid":"56a2787f8ff856a9dfaa6af31c8e98ba","slug":"GitHub-Hexo初次建站简单流程与问题","date":"2024-12-07T02:45:30.000Z","updated":"2024-12-07T06:49:09.187Z","comments":true,"path":"api/articles/GitHub-Hexo初次建站简单流程与问题.json","keywords":null,"cover":[],"text":" 终于是吃上Github的个人博客建站了,之前使用的宝塔-wordpress建站,由于租赁的服务器自动更新导致的宝塔服务崩溃的问题,把服务器站点关了,不仅个人博...","permalink":"/post/GitHub-Hexo初次建站简单流程与问题","photos":[],"count_time":{"symbolsCount":"2.5k","symbolsTime":"2 mins."},"categories":[],"tags":[{"name":"个人博客","slug":"个人博客","count":2,"path":"api/tags/个人博客.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}]} \ No newline at end of file diff --git "a/api/tags/\347\247\201\344\272\272\347\254\224\350\256\260.json" "b/api/tags/\347\247\201\344\272\272\347\254\224\350\256\260.json" deleted file mode 100644 index 37a6d45..0000000 --- "a/api/tags/\347\247\201\344\272\272\347\254\224\350\256\260.json" +++ /dev/null @@ -1 +0,0 @@ -{"name":"私人笔记","slug":"私人笔记","count":1,"postlist":[{"title":"HTML/CSS笔记","uid":"629bb2f73db7b6997456ee3db9e1b1b8","slug":"HTML-CSS笔记","date":"2024-12-07T07:06:56.000Z","updated":"2024-12-07T10:55:22.269Z","comments":true,"path":"api/articles/HTML-CSS笔记.json","keywords":null,"cover":null,"text":"HTML零碎知识点语义元素可以理解为把HTML标签用人话描述出来,并且自带了一些样式。 旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类...","permalink":"/post/HTML-CSS笔记","photos":[],"count_time":{"symbolsCount":"2.3k","symbolsTime":"2 mins."},"categories":[{"name":"笔记","slug":"笔记","count":1,"path":"api/categories/笔记.json"}],"tags":[{"name":"HTML","slug":"HTML","count":1,"path":"api/tags/HTML.json"},{"name":"CSS","slug":"CSS","count":1,"path":"api/tags/CSS.json"},{"name":"私人笔记","slug":"私人笔记","count":1,"path":"api/tags/私人笔记.json"}],"author":{"name":"ShenYuan","slug":"blog-author","avatar":"https://p3-pc-sign.douyinpic.com/aweme-avatar/tos-cn-i-0813_1dcb4695540149c582f477202a7f5b1f~tplv-8yspqt5zfm-300x300.webp?lk3s=93de098e&x-expires=1733727600&x-signature=irVopLDqvP%2FsvKqCDgbCAl%2Blfwo%3D&from=2480802190&s=profile&se=false&sc=avatar&l=202412071517574434926587895C6AFA38","link":"/","description":"有亿点恋爱脑的理工男......","socials":{"github":"","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{}}}}]} \ No newline at end of file diff --git a/archives/2024/12/index.html b/archives/2024/12/index.html new file mode 100644 index 0000000..1e89417 --- /dev/null +++ b/archives/2024/12/index.html @@ -0,0 +1,165 @@ +December 2024 | 深远 + + + + + + + +
    Announcement
    This is my Blog
    Recent Posts
    + + Categories + +
    +
    +
    + + Archives + +
    +
    Website Info
    Article Count :
    3
    Unique Visitors :
    Page Views :
    Last Update :
    \ No newline at end of file diff --git a/archives/2024/index.html b/archives/2024/index.html new file mode 100644 index 0000000..36288d9 --- /dev/null +++ b/archives/2024/index.html @@ -0,0 +1,165 @@ +2024 | 深远 + + + + + + + +
    Announcement
    This is my Blog
    Recent Posts
    + + Categories + +
    +
    +
    + + Archives + +
    +
    Website Info
    Article Count :
    3
    Unique Visitors :
    Page Views :
    Last Update :
    \ No newline at end of file diff --git a/archives/index.html b/archives/index.html index 052883e..9a19425 100644 --- a/archives/index.html +++ b/archives/index.html @@ -1 +1,165 @@ -
    \ No newline at end of file +Archives | 深远 + + + + + + + +
    Announcement
    This is my Blog
    Recent Posts
    + + Categories + +
    +
    +
    + + Archives + +
    +
    Website Info
    Article Count :
    3
    Unique Visitors :
    Page Views :
    Last Update :
    \ No newline at end of file diff --git "a/categories/\347\254\224\350\256\260/index.html" "b/categories/\347\254\224\350\256\260/index.html" new file mode 100644 index 0000000..93d43fe --- /dev/null +++ "b/categories/\347\254\224\350\256\260/index.html" @@ -0,0 +1,165 @@ +Category: 笔记 | 深远 + + + + + + + +
    Category - 笔记
    2024
    HTML/CSS笔记
    Announcement
    This is my Blog
    Recent Posts
    + + Categories + +
    +
    +
    + + Archives + +
    +
    Website Info
    Article Count :
    3
    Unique Visitors :
    Page Views :
    Last Update :
    \ No newline at end of file diff --git a/css/index.css b/css/index.css new file mode 100644 index 0000000..320b9e2 --- /dev/null +++ b/css/index.css @@ -0,0 +1,6092 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ +html { + line-height: 1.15; + -webkit-text-size-adjust: 100% +} + +body { + margin: 0 +} + +main { + display: block +} + +h1 { + font-size: 2em; + margin: .67em 0 +} + +hr { + box-sizing: content-box; + height: 0; + overflow: visible +} + +pre { + font-family: monospace, monospace; + font-size: 1em +} + +a { + background-color: transparent +} + +abbr[title] { + border-bottom: none; + text-decoration: underline; + text-decoration: underline dotted +} + +b, +strong { + font-weight: bolder +} + +code, +kbd, +samp { + font-family: monospace, monospace; + font-size: 1em +} + +small { + font-size: 80% +} + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline +} + +sub { + bottom: -.25em +} + +sup { + top: -.5em +} + +img { + border-style: none +} + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + font-size: 100%; + line-height: 1.15; + margin: 0 +} + +button, +input { + overflow: visible +} + +button, +select { + text-transform: none +} + +[type=button], +[type=reset], +[type=submit], +button { + -webkit-appearance: button +} + +[type=button]::-moz-focus-inner, +[type=reset]::-moz-focus-inner, +[type=submit]::-moz-focus-inner, +button::-moz-focus-inner { + border-style: none; + padding: 0 +} + +[type=button]:-moz-focusring, +[type=reset]:-moz-focusring, +[type=submit]:-moz-focusring, +button:-moz-focusring { + outline: 1px dotted ButtonText +} + +fieldset { + padding: .35em .75em .625em +} + +legend { + box-sizing: border-box; + color: inherit; + display: table; + max-width: 100%; + padding: 0; + white-space: normal +} + +progress { + vertical-align: baseline +} + +textarea { + overflow: auto +} + +[type=checkbox], +[type=radio] { + box-sizing: border-box; + padding: 0 +} + +[type=number]::-webkit-inner-spin-button, +[type=number]::-webkit-outer-spin-button { + height: auto +} + +[type=search] { + -webkit-appearance: textfield; + outline-offset: -2px +} + +[type=search]::-webkit-search-decoration { + -webkit-appearance: none +} + +::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit +} + +details { + display: block +} + +summary { + display: list-item +} + +template { + display: none +} + +[hidden] { + display: none +} +.limit-one-line, +.container .flink .flink-item-name, +.container .flink .flink-item-desc, +#aside-content .card-archives ul.card-archive-list > .card-archive-list-item a span, +#aside-content .card-categories ul.card-category-list > .card-category-list-item a span, +.site-data > a .headline, +#nav #blog-info, +#sidebar #sidebar-menus .menus_items .site-page { + overflow: hidden; + -o-text-overflow: ellipsis; + text-overflow: ellipsis; + white-space: nowrap; +} +.limit-more-line, +.article-sort-item-title, +#recent-posts .recent-post-item >.recent-post-info > .article-title, +#recent-posts .recent-post-item >.recent-post-info > .content, +#aside-content .aside-list > .aside-list-item .content > .name, +#aside-content .aside-list > .aside-list-item .content > .title, +#aside-content .aside-list > .aside-list-item .content > .comment, +#post-info .post-title, +.pagination-related .info .info-1 .info-item-2, +.pagination-related .info .info-2 .info-item-1, +.container figure.gallery-group p, +.container figure.gallery-group .gallery-group-name { + display: -webkit-box; + overflow: hidden; + -webkit-box-orient: vertical; +} +.fontawesomeIcon, +.custom-hr:before, +#post .post-copyright:before, +#post #post-outdate-notice:before, +.note:not(.no-icon)::before, +.search-dialog hr:before { + display: inline-block; + font-weight: 600; + font-family: 'Font Awesome 6 Free'; + text-rendering: auto; + -webkit-font-smoothing: antialiased; +} +.cardHover, +.layout > div:first-child:not(.nc), +#recent-posts .recent-post-item, +#article-container .shuoshuo-item, +#aside-content .card-widget, +.layout .pagination > *:not(.space) { + background: var(--card-bg); + -webkit-box-shadow: var(--card-box-shadow); + box-shadow: var(--card-box-shadow); + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; + border-radius: 8px; +} +.cardHover:hover, +.layout > div:first-child:not(.nc):hover, +#recent-posts .recent-post-item:hover, +#article-container .shuoshuo-item:hover, +#aside-content .card-widget:hover, +.layout .pagination > *:not(.space):hover { + -webkit-box-shadow: var(--card-hover-box-shadow); + box-shadow: var(--card-hover-box-shadow); +} +.imgHover, +.article-sort-item-img :first-child, +#recent-posts .recent-post-item .post_cover .post-bg, +#aside-content .aside-list > .aside-list-item .thumbnail :first-child { + width: 100%; + height: 100%; + -webkit-transition: filter 375ms ease-in 0.2s, -webkit-transform 0.6s; + -moz-transition: filter 375ms ease-in 0.2s, -moz-transform 0.6s; + -o-transition: filter 375ms ease-in 0.2s, -o-transform 0.6s; + -ms-transition: filter 375ms ease-in 0.2s, -ms-transform 0.6s; + transition: filter 375ms ease-in 0.2s, transform 0.6s; + object-fit: cover; +} +.imgHover:hover, +.article-sort-item-img :first-child:hover, +#recent-posts .recent-post-item .post_cover .post-bg:hover, +#aside-content .aside-list > .aside-list-item .thumbnail :first-child:hover { + -webkit-transform: scale(1.1); + -moz-transform: scale(1.1); + -o-transform: scale(1.1); + -ms-transform: scale(1.1); + transform: scale(1.1); +} +.postImgHover:hover .cover, +.pagination-related:hover .cover { + opacity: 0.5; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; + filter: alpha(opacity=50); + -webkit-transform: scale(1.1); + -moz-transform: scale(1.1); + -o-transform: scale(1.1); + -ms-transform: scale(1.1); + transform: scale(1.1); +} +.postImgHover .cover, +.pagination-related .cover { + width: 100%; + height: 100%; + opacity: 0.4; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + filter: alpha(opacity=40); + -webkit-transition: all 0.6s, filter 375ms ease-in 0.2s; + -moz-transition: all 0.6s, filter 375ms ease-in 0.2s; + -o-transition: all 0.6s, filter 375ms ease-in 0.2s; + -ms-transition: all 0.6s, filter 375ms ease-in 0.2s; + transition: all 0.6s, filter 375ms ease-in 0.2s; + object-fit: cover; +} +.list-beauty, +.category-lists ul { + list-style: none; +} +.list-beauty li, +.category-lists ul li { + position: relative; + padding: 0.12em 0.4em 0.12em 1.4em; +} +.list-beauty li:hover:before, +.category-lists ul li:hover:before { + border-color: var(--pseudo-hover); +} +.list-beauty li:before, +.category-lists ul li:before { + position: absolute; + top: 0.67em; + left: 0; + width: 0.43em; + height: 0.43em; + border: 0.215em solid #49b1f5; + border-radius: 0.43em; + background: transparent; + content: ''; + cursor: pointer; + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + -o-transition: all 0.3s ease-out; + -ms-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; +} +.custom-hr, +.search-dialog hr { + position: relative; + margin: 40px auto; + border: 2px dashed var(--hr-border); + width: calc(100% - 4px); +} +.custom-hr:hover:before, +.search-dialog hr:hover:before { + left: calc(95% - 20px); +} +.custom-hr:before, +.search-dialog hr:before { + position: absolute; + top: -10px; + left: 5%; + z-index: 1; + color: var(--hr-before-color); + content: '\f0c4'; + font-size: 20px; + line-height: 1; + -webkit-transition: all 1s ease-in-out; + -moz-transition: all 1s ease-in-out; + -o-transition: all 1s ease-in-out; + -ms-transition: all 1s ease-in-out; + transition: all 1s ease-in-out; +} +.verticalCenter, +.pagination-related .info .info-1, +.pagination-related .info .info-2 { + position: absolute; + top: 50%; + width: 100%; + -webkit-transform: translate(0, -50%); + -moz-transform: translate(0, -50%); + -o-transform: translate(0, -50%); + -ms-transform: translate(0, -50%); + transform: translate(0, -50%); +} +#content-inner, +#footer { + -webkit-animation: bottom-top 1s; + -moz-animation: bottom-top 1s; + -o-animation: bottom-top 1s; + -ms-animation: bottom-top 1s; + animation: bottom-top 1s; +} +#page-header:not(.full_page), +#nav.show { + -webkit-animation: header-effect 1s; + -moz-animation: header-effect 1s; + -o-animation: header-effect 1s; + -ms-animation: header-effect 1s; + animation: header-effect 1s; +} +#site-title, +#site-subtitle { + -webkit-animation: titleScale 1s; + -moz-animation: titleScale 1s; + -o-animation: titleScale 1s; + -ms-animation: titleScale 1s; + animation: titleScale 1s; +} +canvas:not(#ribbon-canvas), +#web_bg { + -webkit-animation: to_show 4s; + -moz-animation: to_show 4s; + -o-animation: to_show 4s; + -ms-animation: to_show 4s; + animation: to_show 4s; +} +#ribbon-canvas { + -webkit-animation: ribbon_to_show 4s; + -moz-animation: ribbon_to_show 4s; + -o-animation: ribbon_to_show 4s; + -ms-animation: ribbon_to_show 4s; + animation: ribbon_to_show 4s; +} +#sidebar-menus.open > :nth-child(1) { + -webkit-animation: sidebarItem 0.2s; + -moz-animation: sidebarItem 0.2s; + -o-animation: sidebarItem 0.2s; + -ms-animation: sidebarItem 0.2s; + animation: sidebarItem 0.2s; +} +#sidebar-menus.open > :nth-child(2) { + -webkit-animation: sidebarItem 0.4s; + -moz-animation: sidebarItem 0.4s; + -o-animation: sidebarItem 0.4s; + -ms-animation: sidebarItem 0.4s; + animation: sidebarItem 0.4s; +} +#sidebar-menus.open > :nth-child(3) { + -webkit-animation: sidebarItem 0.6s; + -moz-animation: sidebarItem 0.6s; + -o-animation: sidebarItem 0.6s; + -ms-animation: sidebarItem 0.6s; + animation: sidebarItem 0.6s; +} +#sidebar-menus.open > :nth-child(4) { + -webkit-animation: sidebarItem 0.8s; + -moz-animation: sidebarItem 0.8s; + -o-animation: sidebarItem 0.8s; + -ms-animation: sidebarItem 0.8s; + animation: sidebarItem 0.8s; +} +.scroll-down-effects { + -webkit-animation: scroll-down-effect 1.5s infinite; + -moz-animation: scroll-down-effect 1.5s infinite; + -o-animation: scroll-down-effect 1.5s infinite; + -ms-animation: scroll-down-effect 1.5s infinite; + animation: scroll-down-effect 1.5s infinite; +} +.reward-main { + -webkit-animation: donate_effcet 0.3s 0.1s ease both; + -moz-animation: donate_effcet 0.3s 0.1s ease both; + -o-animation: donate_effcet 0.3s 0.1s ease both; + -ms-animation: donate_effcet 0.3s 0.1s ease both; + animation: donate_effcet 0.3s 0.1s ease both; +} +@-moz-keyframes scroll-down-effect { + 0% { + opacity: 0.4; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + filter: alpha(opacity=40); + -webkit-transform: translate(0, 0); + -moz-transform: translate(0, 0); + -o-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); + } + 50% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translate(0, -16px); + -moz-transform: translate(0, -16px); + -o-transform: translate(0, -16px); + -ms-transform: translate(0, -16px); + transform: translate(0, -16px); + } + 100% { + opacity: 0.4; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + filter: alpha(opacity=40); + -webkit-transform: translate(0, 0); + -moz-transform: translate(0, 0); + -o-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); + } +} +@-webkit-keyframes scroll-down-effect { + 0% { + opacity: 0.4; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + filter: alpha(opacity=40); + -webkit-transform: translate(0, 0); + -moz-transform: translate(0, 0); + -o-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); + } + 50% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translate(0, -16px); + -moz-transform: translate(0, -16px); + -o-transform: translate(0, -16px); + -ms-transform: translate(0, -16px); + transform: translate(0, -16px); + } + 100% { + opacity: 0.4; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + filter: alpha(opacity=40); + -webkit-transform: translate(0, 0); + -moz-transform: translate(0, 0); + -o-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); + } +} +@-o-keyframes scroll-down-effect { + 0% { + opacity: 0.4; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + filter: alpha(opacity=40); + -webkit-transform: translate(0, 0); + -moz-transform: translate(0, 0); + -o-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); + } + 50% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translate(0, -16px); + -moz-transform: translate(0, -16px); + -o-transform: translate(0, -16px); + -ms-transform: translate(0, -16px); + transform: translate(0, -16px); + } + 100% { + opacity: 0.4; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + filter: alpha(opacity=40); + -webkit-transform: translate(0, 0); + -moz-transform: translate(0, 0); + -o-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); + } +} +@keyframes scroll-down-effect { + 0% { + opacity: 0.4; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + filter: alpha(opacity=40); + -webkit-transform: translate(0, 0); + -moz-transform: translate(0, 0); + -o-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); + } + 50% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translate(0, -16px); + -moz-transform: translate(0, -16px); + -o-transform: translate(0, -16px); + -ms-transform: translate(0, -16px); + transform: translate(0, -16px); + } + 100% { + opacity: 0.4; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + filter: alpha(opacity=40); + -webkit-transform: translate(0, 0); + -moz-transform: translate(0, 0); + -o-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); + } +} +@-moz-keyframes header-effect { + 0% { + -webkit-transform: translateY(-35px); + -moz-transform: translateY(-35px); + -o-transform: translateY(-35px); + -ms-transform: translateY(-35px); + transform: translateY(-35px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-webkit-keyframes header-effect { + 0% { + -webkit-transform: translateY(-35px); + -moz-transform: translateY(-35px); + -o-transform: translateY(-35px); + -ms-transform: translateY(-35px); + transform: translateY(-35px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-o-keyframes header-effect { + 0% { + -webkit-transform: translateY(-35px); + -moz-transform: translateY(-35px); + -o-transform: translateY(-35px); + -ms-transform: translateY(-35px); + transform: translateY(-35px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@keyframes header-effect { + 0% { + -webkit-transform: translateY(-35px); + -moz-transform: translateY(-35px); + -o-transform: translateY(-35px); + -ms-transform: translateY(-35px); + transform: translateY(-35px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-moz-keyframes bottom-top { + 0% { + -webkit-transform: translateY(35px); + -moz-transform: translateY(35px); + -o-transform: translateY(35px); + -ms-transform: translateY(35px); + transform: translateY(35px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-webkit-keyframes bottom-top { + 0% { + -webkit-transform: translateY(35px); + -moz-transform: translateY(35px); + -o-transform: translateY(35px); + -ms-transform: translateY(35px); + transform: translateY(35px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-o-keyframes bottom-top { + 0% { + -webkit-transform: translateY(35px); + -moz-transform: translateY(35px); + -o-transform: translateY(35px); + -ms-transform: translateY(35px); + transform: translateY(35px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@keyframes bottom-top { + 0% { + -webkit-transform: translateY(35px); + -moz-transform: translateY(35px); + -o-transform: translateY(35px); + -ms-transform: translateY(35px); + transform: translateY(35px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-moz-keyframes titleScale { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} +@-webkit-keyframes titleScale { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} +@-o-keyframes titleScale { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} +@keyframes titleScale { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} +@-moz-keyframes search_close { + 0% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + 100% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } +} +@-webkit-keyframes search_close { + 0% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + 100% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } +} +@-o-keyframes search_close { + 0% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + 100% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } +} +@keyframes search_close { + 0% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + 100% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } +} +@-moz-keyframes to_show { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + } +} +@-webkit-keyframes to_show { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + } +} +@-o-keyframes to_show { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + } +} +@keyframes to_show { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + } +} +@-moz-keyframes to_hide { + 0% { + opacity: 1; + -ms-filter: none; + filter: none; + } + 100% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } +} +@-webkit-keyframes to_hide { + 0% { + opacity: 1; + -ms-filter: none; + filter: none; + } + 100% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } +} +@-o-keyframes to_hide { + 0% { + opacity: 1; + -ms-filter: none; + filter: none; + } + 100% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } +} +@keyframes to_hide { + 0% { + opacity: 1; + -ms-filter: none; + filter: none; + } + 100% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } +} +@-moz-keyframes ribbon_to_show { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } + 100% { + opacity: 0.6; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; + filter: alpha(opacity=60); + } +} +@-webkit-keyframes ribbon_to_show { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } + 100% { + opacity: 0.6; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; + filter: alpha(opacity=60); + } +} +@-o-keyframes ribbon_to_show { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } + 100% { + opacity: 0.6; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; + filter: alpha(opacity=60); + } +} +@keyframes ribbon_to_show { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + } + 100% { + opacity: 0.6; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; + filter: alpha(opacity=60); + } +} +@-moz-keyframes avatar_turn_around { + from { + -webkit-transform: rotate(0); + -moz-transform: rotate(0); + -o-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + } + to { + -webkit-transform: rotate(360deg); + -moz-transform: rotate(360deg); + -o-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@-webkit-keyframes avatar_turn_around { + from { + -webkit-transform: rotate(0); + -moz-transform: rotate(0); + -o-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + } + to { + -webkit-transform: rotate(360deg); + -moz-transform: rotate(360deg); + -o-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@-o-keyframes avatar_turn_around { + from { + -webkit-transform: rotate(0); + -moz-transform: rotate(0); + -o-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + } + to { + -webkit-transform: rotate(360deg); + -moz-transform: rotate(360deg); + -o-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes avatar_turn_around { + from { + -webkit-transform: rotate(0); + -moz-transform: rotate(0); + -o-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + } + to { + -webkit-transform: rotate(360deg); + -moz-transform: rotate(360deg); + -o-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@-moz-keyframes sub_menus { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: translateY(10px); + -moz-transform: translateY(10px); + -o-transform: translateY(10px); + -ms-transform: translateY(10px); + transform: translateY(10px); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-webkit-keyframes sub_menus { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: translateY(10px); + -moz-transform: translateY(10px); + -o-transform: translateY(10px); + -ms-transform: translateY(10px); + transform: translateY(10px); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-o-keyframes sub_menus { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: translateY(10px); + -moz-transform: translateY(10px); + -o-transform: translateY(10px); + -ms-transform: translateY(10px); + transform: translateY(10px); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@keyframes sub_menus { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: translateY(10px); + -moz-transform: translateY(10px); + -o-transform: translateY(10px); + -ms-transform: translateY(10px); + transform: translateY(10px); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-moz-keyframes donate_effcet { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: translateY(-20px); + -moz-transform: translateY(-20px); + -o-transform: translateY(-20px); + -ms-transform: translateY(-20px); + transform: translateY(-20px); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-webkit-keyframes donate_effcet { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: translateY(-20px); + -moz-transform: translateY(-20px); + -o-transform: translateY(-20px); + -ms-transform: translateY(-20px); + transform: translateY(-20px); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-o-keyframes donate_effcet { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: translateY(-20px); + -moz-transform: translateY(-20px); + -o-transform: translateY(-20px); + -ms-transform: translateY(-20px); + transform: translateY(-20px); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@keyframes donate_effcet { + 0% { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: translateY(-20px); + -moz-transform: translateY(-20px); + -o-transform: translateY(-20px); + -ms-transform: translateY(-20px); + transform: translateY(-20px); + } + 100% { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-moz-keyframes sidebarItem { + 0% { + -webkit-transform: translateX(200px); + -moz-transform: translateX(200px); + -o-transform: translateX(200px); + -ms-transform: translateX(200px); + transform: translateX(200px); + } + 100% { + -webkit-transform: translateX(0); + -moz-transform: translateX(0); + -o-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} +@-webkit-keyframes sidebarItem { + 0% { + -webkit-transform: translateX(200px); + -moz-transform: translateX(200px); + -o-transform: translateX(200px); + -ms-transform: translateX(200px); + transform: translateX(200px); + } + 100% { + -webkit-transform: translateX(0); + -moz-transform: translateX(0); + -o-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} +@-o-keyframes sidebarItem { + 0% { + -webkit-transform: translateX(200px); + -moz-transform: translateX(200px); + -o-transform: translateX(200px); + -ms-transform: translateX(200px); + transform: translateX(200px); + } + 100% { + -webkit-transform: translateX(0); + -moz-transform: translateX(0); + -o-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} +@keyframes sidebarItem { + 0% { + -webkit-transform: translateX(200px); + -moz-transform: translateX(200px); + -o-transform: translateX(200px); + -ms-transform: translateX(200px); + transform: translateX(200px); + } + 100% { + -webkit-transform: translateX(0); + -moz-transform: translateX(0); + -o-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} +:root { + --global-font-size: 14px; + --global-bg: #fff; + --font-color: #4c4948; + --hr-border: #a4d8fa; + --hr-before-color: #80c8f8; + --search-bg: #f6f8fa; + --search-input-color: #4c4948; + --search-a-color: #4c4948; + --preloader-bg: #37474f; + --preloader-color: #fff; + --tab-border-color: #f0f0f0; + --tab-botton-bg: #f0f0f0; + --tab-botton-color: #1f2d3d; + --tab-button-hover-bg: #dcdcdc; + --tab-button-active-bg: #fff; + --card-bg: #fff; + --card-meta: #858585; + --sidebar-bg: #f6f8fa; + --sidebar-menu-bg: #fff; + --btn-hover-color: #ff7242; + --btn-color: #fff; + --btn-bg: #49b1f5; + --text-bg-hover: rgba(73,177,245,0.7); + --light-grey: #eee; + --dark-grey: #cacaca; + --white: #fff; + --text-highlight-color: #1f2d3d; + --blockquote-color: #6a737d; + --blockquote-bg: rgba(73,177,245,0.1); + --reward-pop: #f5f5f5; + --toc-link-color: #666261; + --card-box-shadow: 0 3px 8px 6px rgba(7,17,27,0.05); + --card-hover-box-shadow: 0 3px 8px 6px rgba(7,17,27,0.09); + --pseudo-hover: #ff7242; + --headline-presudo: #a0a0a0; + --scrollbar-color: #49b1f5; + --default-bg-color: #49b1f5; + --zoom-bg: #fff; + --mark-bg: rgba(0,0,0,0.3); +} +body { + position: relative; + overflow-y: scroll; + min-height: 100%; + background: var(--global-bg); + color: var(--font-color); + font-size: var(--global-font-size); + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Lato, Roboto, 'PingFang SC', 'Microsoft JhengHei', sans-serif; + line-height: 2; + -webkit-tap-highlight-color: rgba(0,0,0,0); + scroll-behavior: smooth; +} +@-moz-document url-prefix() { + * { + scrollbar-width: thin; + scrollbar-color: var(--scrollbar-color) transparent; + } +} +*::-webkit-scrollbar { + width: 5px; + height: 5px; +} +*::-webkit-scrollbar-thumb { + background: var(--scrollbar-color); +} +*::-webkit-scrollbar-track { + background-color: transparent; +} +input::placeholder { + color: var(--font-color); +} +h1, +h2, +h3, +h4, +h5, +h6 { + position: relative; + margin: 20px 0 14px; + color: var(--text-highlight-color); + font-weight: bold; +} +h1 code, +h2 code, +h3 code, +h4 code, +h5 code, +h6 code { + font-size: inherit !important; +} +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.table-wrap { + overflow-x: scroll; + margin: 0 0 20px; + border-radius: 5px; +} +.table-wrap table { + border-radius: 5px; +} +.table-wrap table thead > tr:first-child th:first-child { + border-top-left-radius: 5px; +} +.table-wrap table thead > tr:first-child th:last-child { + border-top-right-radius: 5px; +} +.table-wrap table tbody > tr:last-child td:first-child { + border-bottom-left-radius: 5px; +} +.table-wrap table tbody > tr:last-child td:last-child { + border-bottom-right-radius: 5px; +} +table { + display: table; + width: 100%; + border-spacing: 0; + border-collapse: separate; + border-top: 1px solid var(--light-grey); + border-left: 1px solid var(--light-grey); + empty-cells: show; +} +table thead { + background: rgba(153,169,191,0.1); +} +table th, +table td { + padding: 6px 12px; + border: 1px solid var(--light-grey); + border-top: none; + border-left: none; + vertical-align: middle; +} +*::selection { + background: #00c4b6; + color: #f7f7f7; +} +button { + padding: 0; + outline: 0; + border: none; + background: none; + cursor: pointer; + touch-action: manipulation; +} +a { + color: #99a9bf; + text-decoration: none; + word-wrap: break-word; + -webkit-transition: all 0.2s; + -moz-transition: all 0.2s; + -o-transition: all 0.2s; + -ms-transition: all 0.2s; + transition: all 0.2s; + overflow-wrap: break-word; +} +a:hover { + color: #49b1f5; +} +.text-center { + text-align: center; +} +.text-right { + text-align: right; +} +img[src=''], +img:not([src]) { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); +} +.img-alt { + margin: -10px 0 10px; + color: #858585; +} +.img-alt:hover { + text-decoration: none !important; +} +blockquote { + margin: 0 0 20px; + padding: 7px 15px; + border-left: 4px solid #49b1f5; + background-color: var(--blockquote-bg); + color: var(--blockquote-color); + border-radius: 6px; +} +blockquote footer cite:before { + padding: 0 5px; + content: '—'; +} +blockquote > :last-child { + margin-bottom: 0 !important; +} +:root { + --hl-color: #90a4ae; + --hl-bg: #f6f8fa; + --hltools-bg: #e6ebf1; + --hltools-color: #90a4ae; + --hlnumber-bg: #f6f8fa; + --hlnumber-color: rgba(144,164,174,0.5); + --hlscrollbar-bg: #dce4eb; + --hlexpand-bg: linear-gradient(180deg, rgba(246,248,250,0.6), rgba(246,248,250,0.9)); +} +[data-theme='dark'] { + --hl-color: rgba(255,255,255,0.7); + --hl-bg: #171717; + --hltools-bg: #1a1a1a; + --hltools-color: #90a4ae; + --hlnumber-bg: #171717; + --hlnumber-color: rgba(255,255,255,0.4); + --hlscrollbar-bg: #1f1f1f; + --hlexpand-bg: linear-gradient(180deg, rgba(23,23,23,0.6), rgba(23,23,23,0.9)); +} +.container pre, +.container figure.highlight { + overflow: auto; + margin: 0 0 20px; + padding: 0; + background: var(--hl-bg); + color: var(--hl-color); + line-height: 1.6; +} +.container pre, +.container code { + font-size: var(--global-font-size); + font-family: consolas, Menlo, 'PingFang SC', 'Microsoft JhengHei', sans-serif !important; + border-radius: 6px; +} +.container code { + padding: 2px 5px; + background: rgba(27,31,35,0.05); + color: #f47466; +} +.container pre { + padding: 10px 20px; +} +.container pre code { + padding: 0; + background: none; + color: var(--hl-color); + text-shadow: none; +} +.container figure.highlight { + position: relative; + border-radius: 6px; +} +.container figure.highlight pre { + margin: 0; + padding: 8px 0; + border: none; +} +.container figure.highlight figcaption, +.container figure.highlight .caption { + padding: 6px 0 2px 14px; + font-size: var(--global-font-size); + line-height: 1em; +} +.container figure.highlight figcaption a, +.container figure.highlight .caption a { + float: right; + padding-right: 10px; + color: var(--hl-color); +} +.container figure.highlight figcaption a:hover, +.container figure.highlight .caption a:hover { + border-bottom-color: var(--hl-color); +} +.container figure.highlight.copy-true { + -webkit-user-select: all; + -moz-user-select: all; + -ms-user-select: all; + user-select: all; + -webkit-user-select: all; +} +.container figure.highlight.copy-true > table, +.container figure.highlight.copy-true > pre { + display: block !important; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); +} +.container .highlight-tools { + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-align: center; + -moz-box-align: center; + -o-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + align-items: center; + padding: 0 8px; + min-height: 24px; + height: 2.15em; + background: var(--hltools-bg); + color: var(--hltools-color); + font-size: var(--global-font-size); + overflow: hidden; +} +.container .highlight-tools > * { + padding: 5px; +} +.container .highlight-tools i { + cursor: pointer; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; +} +.container .highlight-tools i:hover { + color: #49b1f5; +} +.container .highlight-tools.closed ~ * { + display: none; +} +.container .highlight-tools.closed .expand { + -webkit-transform: rotate(-90deg); + -moz-transform: rotate(-90deg); + -o-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); + transform: rotate(-90deg); +} +.container .highlight-tools > .macStyle { + padding: 0; +} +.container .highlight-tools .code-lang { + -webkit-box-flex: 1; + -moz-box-flex: 1; + -o-box-flex: 1; + box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-transform: uppercase; + font-weight: bold; + font-size: 1.15em; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-user-select: none; + padding: 2px; +} +.container .highlight-tools .copy-notice { + padding-right: 2px; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transition: opacity 0.4s; + -moz-transition: opacity 0.4s; + -o-transition: opacity 0.4s; + -ms-transition: opacity 0.4s; + transition: opacity 0.4s; +} +.container .highlight-tools .code-lang { + -webkit-box-flex: 1; + -moz-box-flex: 1; + -o-box-flex: 1; + box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.container .gutter { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-user-select: none; +} +.container .gist table { + width: auto; +} +.container .gist table td { + border: none; +} +.article-sort { + margin-left: 10px; + padding-left: 20px; + border-left: 2px solid #aadafa; +} +.article-sort-title { + position: relative; + margin-left: 10px; + padding-bottom: 20px; + padding-left: 20px; + font-size: 1.72em; +} +.article-sort-title:hover:before { + border-color: var(--pseudo-hover); +} +.article-sort-title:before { + position: absolute; + top: calc(((100% - 36px) / 2)); + left: -9px; + z-index: 1; + width: 10px; + height: 10px; + border: 5px solid #49b1f5; + border-radius: 10px; + background: var(--card-bg); + content: ''; + line-height: 10px; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} +.article-sort-title:after { + position: absolute; + bottom: 0; + left: 0; + z-index: 0; + width: 2px; + height: 1.5em; + background: #aadafa; + content: ''; +} +.article-sort-item { + position: relative; + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-align: center; + -moz-box-align: center; + -o-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + align-items: center; + margin: 0 0 20px 10px; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} +.article-sort-item:hover:before { + border-color: var(--pseudo-hover); +} +.article-sort-item:before { + position: absolute; + left: calc(-20px - 17px); + width: 6px; + height: 6px; + border: 3px solid #49b1f5; + border-radius: 6px; + background: var(--card-bg); + content: ''; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} +.article-sort-item.no-article-cover { + height: 80px; +} +.article-sort-item.no-article-cover .article-sort-item-info { + padding: 0; +} +.article-sort-item.year { + font-size: 1.43em; + margin-bottom: 10px; +} +.article-sort-item.year:hover:before { + border-color: #49b1f5; +} +.article-sort-item.year:before { + border-color: var(--pseudo-hover); +} +.article-sort-item-time { + color: var(--card-meta); + font-size: 0.85em; +} +.article-sort-item-time time { + padding-left: 6px; + cursor: default; +} +.article-sort-item-title { + color: var(--font-color); + font-size: 1.05em; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; + -webkit-line-clamp: 2; +} +.article-sort-item-title:hover { + color: #49b1f5; + -webkit-transform: translateX(10px); + -moz-transform: translateX(10px); + -o-transform: translateX(10px); + -ms-transform: translateX(10px); + transform: translateX(10px); +} +.article-sort-item-img { + overflow: hidden; + width: 100px; + height: 70px; + border-radius: 6px; +} +@media screen and (max-width: 768px) { + .article-sort-item-img { + width: 70px; + height: 70px; + } +} +.article-sort-item-info { + -webkit-box-flex: 1; + -moz-box-flex: 1; + -o-box-flex: 1; + box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 0 16px; +} +.category-lists .category-title { + font-size: 2.57em; +} +@media screen and (max-width: 768px) { + .category-lists .category-title { + font-size: 2em; + } +} +.category-lists .category-list { + margin-bottom: 0; +} +.category-lists .category-list a { + color: var(--font-color); +} +.category-lists .category-list a:hover { + color: #49b1f5; +} +.category-lists .category-list .category-list-count { + margin-left: 8px; + color: var(--card-meta); +} +.category-lists .category-list .category-list-count:before { + content: '('; +} +.category-lists .category-list .category-list-count:after { + content: ')'; +} +.category-lists ul { + padding: 0 0 0 20px; +} +.category-lists ul ul { + padding-left: 4px; +} +.category-lists ul li { + position: relative; + margin: 6px 0; + padding: 0.12em 0.4em 0.12em 1.4em; +} +#body-wrap { + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-orient: vertical; + -moz-box-orient: vertical; + -o-box-orient: vertical; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + min-height: 100vh; +} +.layout { + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-flex: 1; + -moz-box-flex: 1; + -o-box-flex: 1; + box-flex: 1; + -webkit-flex: 1 auto; + -ms-flex: 1 auto; + flex: 1 auto; + margin: 0 auto; + padding: 40px 15px; + max-width: 1200px; + width: 100%; +} +@media screen and (max-width: 900px) { + .layout { + -webkit-box-orient: vertical; + -moz-box-orient: vertical; + -o-box-orient: vertical; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} +@media screen and (max-width: 768px) { + .layout { + padding: 20px 5px; + } +} +@media screen and (min-width: 2000px) { + .layout { + max-width: 70%; + } +} +.layout > div:first-child:not(.nc) { + -webkit-align-self: flex-start; + align-self: flex-start; + -ms-flex-item-align: start; + padding: 50px 40px; +} +@media screen and (max-width: 768px) { + .layout > div:first-child:not(.nc) { + padding: 36px 14px; + } +} +.layout > div:first-child { + width: 74%; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; +} +@media screen and (max-width: 900px) { + .layout > div:first-child { + width: 100% !important; + } +} +.layout.hide-aside { + max-width: 1000px; +} +@media screen and (min-width: 2000px) { + .layout.hide-aside { + max-width: 1300px; + } +} +.layout.hide-aside > div { + width: 100% !important; +} +.apple #page-header.full_page { + background-attachment: scroll !important; +} +.apple .recent-post-item, +.apple .avatar-img, +.apple .flink-item-icon { + -webkit-transform: translateZ(0); + -moz-transform: translateZ(0); + -o-transform: translateZ(0); + -ms-transform: translateZ(0); + transform: translateZ(0); +} +.container .flink { + margin-bottom: 20px; +} +.container .flink .flink-list { + overflow: auto; + padding: 10px 10px 0; + text-align: center; +} +.container .flink .flink-list > .flink-list-item { + position: relative; + float: left; + overflow: hidden; + margin: 15px 7px; + width: calc(100% / 3 - 15px); + height: 90px; + line-height: 17px; + -webkit-transform: translateZ(0); + border-radius: 8px; +} +@media screen and (max-width: 1024px) { + .container .flink .flink-list > .flink-list-item { + width: calc(50% - 15px) !important; + } +} +@media screen and (max-width: 600px) { + .container .flink .flink-list > .flink-list-item { + width: calc(100% - 15px) !important; + } +} +.container .flink .flink-list > .flink-list-item:hover .flink-item-icon { + margin-left: -10px; + width: 0; +} +.container .flink .flink-list > .flink-list-item:before { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: -1; + background: var(--text-bg-hover); + content: ''; + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + -ms-transition: -ms-transform 0.3s ease-out; + transition: transform 0.3s ease-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -o-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} +.container .flink .flink-list > .flink-list-item:hover:before, +.container .flink .flink-list > .flink-list-item:focus:before, +.container .flink .flink-list > .flink-list-item:active:before { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} +.container .flink .flink-list > .flink-list-item a { + color: var(--font-color); + text-decoration: none; +} +.container .flink .flink-list > .flink-list-item a .flink-item-icon { + float: left; + overflow: hidden; + margin: 15px 10px; + width: 60px; + height: 60px; + border-radius: 7px; + -webkit-transition: width 0.3s ease-out; + -moz-transition: width 0.3s ease-out; + -o-transition: width 0.3s ease-out; + -ms-transition: width 0.3s ease-out; + transition: width 0.3s ease-out; +} +.container .flink .flink-list > .flink-list-item a .flink-item-icon img { + width: 100%; + height: 100%; + -webkit-transition: filter 375ms ease-in 0.2s, -webkit-transform 0.3s; + -moz-transition: filter 375ms ease-in 0.2s, -moz-transform 0.3s; + -o-transition: filter 375ms ease-in 0.2s, -o-transform 0.3s; + -ms-transition: filter 375ms ease-in 0.2s, -ms-transform 0.3s; + transition: filter 375ms ease-in 0.2s, transform 0.3s; + object-fit: cover; +} +.container .flink .flink-list > .flink-list-item a .img-alt { + display: none; +} +.container .flink .flink-item-name { + padding: 16px 10px 0 0; + height: 40px; + font-weight: bold; + font-size: 1.43em; +} +.container .flink .flink-item-desc { + padding: 16px 10px 16px 0; + height: 50px; + font-size: 0.93em; +} +.container .flink .flink-name { + margin-bottom: 5px; + font-weight: bold; + font-size: 1.5em; +} +#recent-posts .recent-post-item { + position: relative; + overflow: hidden; + margin-bottom: 20px; + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-orient: horizontal; + -moz-box-orient: horizontal; + -o-box-orient: horizontal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-align: center; + -moz-box-align: center; + -o-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + align-items: center; + height: 16.8em; +} +@media screen and (max-width: 768px) { + #recent-posts .recent-post-item { + -webkit-box-orient: vertical; + -moz-box-orient: vertical; + -o-box-orient: vertical; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + height: auto; + } +} +@media screen and (min-width: 2000px) { + #recent-posts .recent-post-item { + height: 18.8em; + } +} +#recent-posts .recent-post-item:hover .post-bg { + -webkit-transform: scale(1.1); + -moz-transform: scale(1.1); + -o-transform: scale(1.1); + -ms-transform: scale(1.1); + transform: scale(1.1); +} +#recent-posts .recent-post-item.ads-wrap { + display: block !important; + height: auto !important; +} +#recent-posts .recent-post-item .post_cover { + overflow: hidden; + width: 42%; + height: 100%; +} +@media screen and (max-width: 768px) { + #recent-posts .recent-post-item .post_cover { + width: 100%; + height: 230px; + } +} +#recent-posts .recent-post-item .post_cover.right { + -webkit-box-ordinal-group: 1; + -moz-box-ordinal-group: 1; + -o-box-ordinal-group: 1; + -ms-flex-order: 1; + -webkit-order: 1; + order: 1; +} +@media screen and (max-width: 768px) { + #recent-posts .recent-post-item .post_cover.right { + -webkit-box-ordinal-group: 0; + -moz-box-ordinal-group: 0; + -o-box-ordinal-group: 0; + -ms-flex-order: 0; + -webkit-order: 0; + order: 0; + } +} +#recent-posts .recent-post-item .post_cover .post-bg { + z-index: -4; +} +#recent-posts .recent-post-item >.recent-post-info { + padding: 0 40px; + width: 58%; +} +@media screen and (max-width: 768px) { + #recent-posts .recent-post-item >.recent-post-info { + padding: 20px 20px 30px; + width: 100%; + } +} +#recent-posts .recent-post-item >.recent-post-info.no-cover { + width: 100%; +} +@media screen and (max-width: 768px) { + #recent-posts .recent-post-item >.recent-post-info.no-cover { + padding: 30px 20px; + } +} +#recent-posts .recent-post-item >.recent-post-info > .article-title { + color: var(--text-highlight-color); + font-size: 1.55em; + line-height: 1.4; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + -webkit-line-clamp: 2; +} +#recent-posts .recent-post-item >.recent-post-info > .article-title .sticky { + margin-right: 10px; + color: #ff7242; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -o-transform: rotate(45deg); + -ms-transform: rotate(45deg); + transform: rotate(45deg); +} +@media screen and (max-width: 768px) { + #recent-posts .recent-post-item >.recent-post-info > .article-title { + font-size: 1.43em; + } +} +#recent-posts .recent-post-item >.recent-post-info > .article-title:hover { + color: #49b1f5; +} +#recent-posts .recent-post-item >.recent-post-info > .article-meta-wrap { + margin: 6px 0; + color: var(--card-meta); + font-size: 0.9em; +} +#recent-posts .recent-post-item >.recent-post-info > .article-meta-wrap > .post-meta-date { + cursor: default; +} +#recent-posts .recent-post-item >.recent-post-info > .article-meta-wrap i { + margin: 0 4px 0 0; +} +#recent-posts .recent-post-item >.recent-post-info > .article-meta-wrap .fa-spinner { + margin: 0; +} +#recent-posts .recent-post-item >.recent-post-info > .article-meta-wrap .article-meta-label { + padding-right: 4px; +} +#recent-posts .recent-post-item >.recent-post-info > .article-meta-wrap .article-meta-separator { + margin: 0 6px; +} +#recent-posts .recent-post-item >.recent-post-info > .article-meta-wrap .article-meta-link { + margin: 0 4px; +} +#recent-posts .recent-post-item >.recent-post-info > .article-meta-wrap a { + color: var(--card-meta); +} +#recent-posts .recent-post-item >.recent-post-info > .article-meta-wrap a:hover { + color: #49b1f5; + text-decoration: underline; +} +#recent-posts .recent-post-item >.recent-post-info > .content { + -webkit-line-clamp: 2; +} +#article-container .shuoshuo-item { + margin-bottom: 20px; + padding: 35px 30px 30px; +} +@media screen and (max-width: 768px) { + #article-container .shuoshuo-item { + padding: 25px 20px 20px; + } +} +#article-container .shuoshuo-item-header { + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-align: center; + -moz-box-align: center; + -o-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + align-items: center; + cursor: default; +} +#article-container .shuoshuo-avatar { + overflow: hidden; + width: 40px; + height: 40px; + border-radius: 40px; +} +#article-container .shuoshuo-avatar img { + margin: 0; + width: 100%; + height: 100%; +} +#article-container .shuoshuo-info { + margin-left: 10px; + line-height: 1.5; +} +#article-container .shuoshuo-date { + color: #858585; + font-size: 0.8em; +} +#article-container .shuoshuo-content { + padding: 15px 0 10px; +} +#article-container .shuoshuo-content > *:last-child { + margin-bottom: 0; +} +#article-container .shuoshuo-footer { + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-align: center; + -moz-box-align: center; + -o-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + align-items: center; +} +#article-container .shuoshuo-footer.flex-between { + -webkit-box-pack: justify; + -moz-box-pack: justify; + -o-box-pack: justify; + -ms-flex-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; +} +#article-container .shuoshuo-footer.flex-end { + -webkit-box-pack: end; + -moz-box-pack: end; + -o-box-pack: end; + -ms-flex-pack: end; + -webkit-justify-content: flex-end; + justify-content: flex-end; +} +#article-container .shuoshuo-footer .shuoshuo-tag { + display: inline-block; + margin-right: 8px; + padding: 0 8px; + width: fit-content; + border: 1px solid #49b1f5; + border-radius: 12px; + color: #49b1f5; + font-size: 0.85em; + cursor: default; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} +#article-container .shuoshuo-footer .shuoshuo-tag:hover { + background: #49b1f5; + color: var(--white); +} +#article-container .shuoshuo-footer .shuoshuo-comment-btn { + padding: 2px; + color: #90a4ae; + cursor: pointer; +} +#article-container .shuoshuo-footer .shuoshuo-comment-btn:hover { + color: #49b1f5; +} +#article-container .shuoshuo-comment { + padding-top: 10px; +} +#article-container .shuoshuo-comment.no-comment { + display: none; +} +.tag-cloud-list a { + display: inline-block; + margin: 2px; + padding: 2px 7px; + line-height: 1.7; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; + border-radius: 5px; +} +.tag-cloud-list a:hover { + background: var(--btn-bg) !important; + -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.2); + box-shadow: 2px 2px 6px rgba(0,0,0,0.2); + color: var(--btn-color) !important; +} +@media screen and (max-width: 768px) { + .tag-cloud-list a { + zoom: 0.85; + } +} +.tag-cloud-title { + font-size: 2.57em; +} +@media screen and (max-width: 768px) { + .tag-cloud-title { + font-size: 2em; + } +} +.page-title + .tag-cloud-list { + text-align: left; +} +#aside-content { + width: 26%; +} +@media screen and (min-width: 900px) { + #aside-content { + padding-left: 15px; + } +} +@media screen and (max-width: 900px) { + #aside-content { + margin-top: 20px; + width: 100%; + } +} +#aside-content .card-widget { + position: relative; + overflow: hidden; + margin-bottom: 20px; + padding: 20px 24px; +} +#aside-content .card-widget:last-child { + margin-bottom: 0; +} +#aside-content .card-info .author-info-name { + font-weight: 500; + font-size: 1.57em; +} +#aside-content .card-info .author-info-description { + margin-top: -0.42em; +} +#aside-content .card-info .site-data { + margin: 14px 0 4px; +} +#aside-content .card-info .card-info-social-icons { + margin: 6px 0 -6px; +} +#aside-content .card-info .card-info-social-icons .social-icon { + margin: 0 10px; + color: var(--font-color); + font-size: 1.4em; +} +#aside-content .card-info .card-info-social-icons i { + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; +} +#aside-content .card-info .card-info-social-icons i:hover { + -webkit-transform: rotate(360deg); + -moz-transform: rotate(360deg); + -o-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); +} +#aside-content .card-info #card-info-btn { + display: block; + margin-top: 14px; + background-color: var(--btn-bg); + color: var(--btn-color); + text-align: center; + line-height: 2.4; + border-radius: 7px; +} +#aside-content .card-info #card-info-btn:hover { + background-color: var(--btn-hover-color); +} +#aside-content .card-info #card-info-btn span { + padding-left: 10px; +} +#aside-content .item-headline { + padding-bottom: 6px; + font-size: 1.2em; +} +#aside-content .item-headline span { + margin-left: 6px; +} +@media screen and (min-width: 900px) { + #aside-content .sticky_layout { + position: sticky; + position: -webkit-sticky; + top: 20px; + -webkit-transition: top 0.3s; + -moz-transition: top 0.3s; + -o-transition: top 0.3s; + -ms-transition: top 0.3s; + transition: top 0.3s; + } +} +#aside-content .card-tag-cloud a { + display: inline-block; + padding: 0 4px; + line-height: 1.8; +} +#aside-content .card-tag-cloud a:hover { + color: #49b1f5 !important; +} +#aside-content .aside-list > span { + display: block; + margin-bottom: 10px; + text-align: center; +} +#aside-content .aside-list > .aside-list-item { + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-align: center; + -moz-box-align: center; + -o-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + align-items: center; + padding: 6px 0; +} +#aside-content .aside-list > .aside-list-item:first-child { + padding-top: 0; +} +#aside-content .aside-list > .aside-list-item:not(:last-child) { + border-bottom: 1px dashed #f5f5f5; +} +#aside-content .aside-list > .aside-list-item:last-child { + padding-bottom: 0; +} +#aside-content .aside-list > .aside-list-item .thumbnail { + overflow: hidden; + width: 4em; + height: 4em; + border-radius: 6px; +} +#aside-content .aside-list > .aside-list-item .content { + -webkit-box-flex: 1; + -moz-box-flex: 1; + -o-box-flex: 1; + box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-left: 10px; + word-break: break-all; +} +#aside-content .aside-list > .aside-list-item .content > .name { + -webkit-line-clamp: 1; +} +#aside-content .aside-list > .aside-list-item .content > time, +#aside-content .aside-list > .aside-list-item .content > .name { + display: block; + color: var(--card-meta); + font-size: 0.85em; +} +#aside-content .aside-list > .aside-list-item .content > .title, +#aside-content .aside-list > .aside-list-item .content > .comment { + color: var(--font-color); + line-height: 1.5; + -webkit-line-clamp: 2; +} +#aside-content .aside-list > .aside-list-item .content > .title:hover, +#aside-content .aside-list > .aside-list-item .content > .comment:hover { + color: #49b1f5; +} +#aside-content .aside-list > .aside-list-item.no-cover { + min-height: 4.4em; +} +#aside-content .card-archives ul.card-archive-list, +#aside-content .card-categories ul.card-category-list { + margin: 0; + padding: 0; + list-style: none; +} +#aside-content .card-archives ul.card-archive-list > .card-archive-list-item a, +#aside-content .card-categories ul.card-category-list > .card-category-list-item a { + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-orient: horizontal; + -moz-box-orient: horizontal; + -o-box-orient: horizontal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + margin: 2px 0; + padding: 2px 8px; + color: var(--font-color); + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; + border-radius: 6px; +} +#aside-content .card-archives ul.card-archive-list > .card-archive-list-item a:hover, +#aside-content .card-categories ul.card-category-list > .card-category-list-item a:hover { + padding: 2px 12px; + background-color: var(--text-bg-hover); + color: var(--white); +} +#aside-content .card-archives ul.card-archive-list > .card-archive-list-item a span:first-child, +#aside-content .card-categories ul.card-category-list > .card-category-list-item a span:first-child { + -webkit-box-flex: 1; + -moz-box-flex: 1; + -o-box-flex: 1; + box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +#aside-content .card-categories .card-category-list.child { + padding: 0 0 0 16px; +} +#aside-content .card-categories .card-category-list > .parent > a.expand i { + -webkit-transform: rotate(-90deg); + -moz-transform: rotate(-90deg); + -o-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); + transform: rotate(-90deg); +} +#aside-content .card-categories .card-category-list > .parent > a.expand + .child { + display: block; +} +#aside-content .card-categories .card-category-list > .parent > a .card-category-list-name { + width: 70% !important; +} +#aside-content .card-categories .card-category-list > .parent > a .card-category-list-count { + width: calc(100% - 70% - 20px); + text-align: right; +} +#aside-content .card-categories .card-category-list > .parent > a i { + float: right; + margin-right: -0.5em; + padding: 0.5em; + -webkit-transition: -webkit-transform 0.3s; + -moz-transition: -moz-transform 0.3s; + -o-transition: -o-transform 0.3s; + -ms-transition: -ms-transform 0.3s; + transition: transform 0.3s; + -webkit-transform: rotate(0); + -moz-transform: rotate(0); + -o-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); +} +#aside-content .card-webinfo .webinfo .webinfo-item { + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-align: center; + -moz-box-align: center; + -o-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + align-items: center; + padding: 2px 10px 0; +} +#aside-content .card-webinfo .webinfo .webinfo-item div:first-child { + -webkit-box-flex: 1; + -moz-box-flex: 1; + -o-box-flex: 1; + box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 20px; +} +@media screen and (min-width: 901px) { + #aside-content #card-toc { + right: 0 !important; + } +} +@media screen and (max-width: 900px) { + #aside-content #card-toc { + position: fixed; + right: 55px; + bottom: 30px; + z-index: 100; + max-width: 380px; + max-height: calc(100% - 60px); + width: calc(100% - 80px); + -webkit-transition: none; + -moz-transition: none; + -o-transition: none; + -ms-transition: none; + transition: none; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -o-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); + -webkit-transform-origin: right bottom; + -moz-transform-origin: right bottom; + -o-transform-origin: right bottom; + -ms-transform-origin: right bottom; + transform-origin: right bottom; + } + #aside-content #card-toc.open { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} +#aside-content #card-toc .toc-percentage { + float: right; + margin-top: -9px; + color: #a9a9a9; + font-style: italic; + font-size: 140%; +} +#aside-content #card-toc .toc-content { + overflow-y: scroll; + overflow-y: overlay; + margin: 0 -24px; + max-height: calc(100vh - 120px); + width: calc(100% + 48px); +} +@media screen and (max-width: 900px) { + #aside-content #card-toc .toc-content { + max-height: calc(100vh - 140px); + } +} +#aside-content #card-toc .toc-content > * { + margin: 0 20px !important; +} +#aside-content #card-toc .toc-content > * > .toc-item > .toc-child { + margin-left: 10px; + padding-left: 10px; + border-left: 1px solid var(--dark-grey); +} +#aside-content #card-toc .toc-content:not(.is-expand) .toc-child { + display: none; +} +@media screen and (max-width: 900px) { + #aside-content #card-toc .toc-content:not(.is-expand) .toc-child { + display: block !important; + } +} +#aside-content #card-toc .toc-content:not(.is-expand) .toc-item.active .toc-child { + display: block; +} +#aside-content #card-toc .toc-content ol, +#aside-content #card-toc .toc-content li { + list-style: none; +} +#aside-content #card-toc .toc-content > ol { + padding: 0 !important; +} +#aside-content #card-toc .toc-content ol { + margin: 0; + padding-left: 18px; +} +#aside-content #card-toc .toc-content .toc-link { + display: block; + margin: 4px 0; + padding: 1px 8px; + color: var(--toc-link-color); + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + border-radius: 6px; +} +#aside-content #card-toc .toc-content .toc-link:hover { + color: #49b1f5; +} +#aside-content #card-toc .toc-content .toc-link.active { + background: #00c4b6; + color: #fff; +} +#aside-content .sticky_layout:only-child > :first-child { + margin-top: 0; +} +#aside-content .card-more-btn { + float: right; + color: inherit; +} +#aside-content .card-more-btn:hover { + -webkit-animation: more-btn-move 1s infinite; + -moz-animation: more-btn-move 1s infinite; + -o-animation: more-btn-move 1s infinite; + -ms-animation: more-btn-move 1s infinite; + animation: more-btn-move 1s infinite; +} +#aside-content .card-announcement .item-headline i { + color: #f00; +} +.avatar-img { + overflow: hidden; + margin: 0 auto; + width: 110px; + height: 110px; + border-radius: 70px; +} +.avatar-img img { + width: 100%; + height: 100%; + -webkit-transition: filter 375ms ease-in 0.2s, -webkit-transform 0.3s; + -moz-transition: filter 375ms ease-in 0.2s, -moz-transform 0.3s; + -o-transition: filter 375ms ease-in 0.2s, -o-transform 0.3s; + -ms-transition: filter 375ms ease-in 0.2s, -ms-transform 0.3s; + transition: filter 375ms ease-in 0.2s, transform 0.3s; + object-fit: cover; +} +.avatar-img img:hover { + -webkit-transform: rotate(360deg); + -moz-transform: rotate(360deg); + -o-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); +} +.site-data { + display: table; + width: 100%; + table-layout: fixed; +} +.site-data > a { + display: table-cell; +} +.site-data > a div { + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; +} +.site-data > a:hover div { + color: #49b1f5 !important; +} +.site-data > a .headline { + color: var(--font-color); + font-size: 0.95em; +} +.site-data > a .length-num { + margin-top: -0.45em; + color: var(--text-highlight-color); + font-size: 1.2em; +} +@media screen and (min-width: 900px) { + html.hide-aside .layout { + -webkit-box-pack: center; + -moz-box-pack: center; + -o-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + } + html.hide-aside .layout > .aside-content { + display: none; + } + html.hide-aside .layout > div:first-child { + width: 80%; + } +} +.page .sticky_layout { + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-orient: vertical; + -moz-box-orient: vertical; + -o-box-orient: vertical; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +@-moz-keyframes more-btn-move { + 0%, 100% { + -webkit-transform: translateX(0); + -moz-transform: translateX(0); + -o-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + 50% { + -webkit-transform: translateX(3px); + -moz-transform: translateX(3px); + -o-transform: translateX(3px); + -ms-transform: translateX(3px); + transform: translateX(3px); + } +} +@-webkit-keyframes more-btn-move { + 0%, 100% { + -webkit-transform: translateX(0); + -moz-transform: translateX(0); + -o-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + 50% { + -webkit-transform: translateX(3px); + -moz-transform: translateX(3px); + -o-transform: translateX(3px); + -ms-transform: translateX(3px); + transform: translateX(3px); + } +} +@-o-keyframes more-btn-move { + 0%, 100% { + -webkit-transform: translateX(0); + -moz-transform: translateX(0); + -o-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + 50% { + -webkit-transform: translateX(3px); + -moz-transform: translateX(3px); + -o-transform: translateX(3px); + -ms-transform: translateX(3px); + transform: translateX(3px); + } +} +@keyframes more-btn-move { + 0%, 100% { + -webkit-transform: translateX(0); + -moz-transform: translateX(0); + -o-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + 50% { + -webkit-transform: translateX(3px); + -moz-transform: translateX(3px); + -o-transform: translateX(3px); + -ms-transform: translateX(3px); + transform: translateX(3px); + } +} +@-moz-keyframes toc-open { + 0% { + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } + 100% { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} +@-webkit-keyframes toc-open { + 0% { + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } + 100% { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} +@-o-keyframes toc-open { + 0% { + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } + 100% { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} +@keyframes toc-open { + 0% { + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } + 100% { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} +@-moz-keyframes toc-close { + 0% { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + 100% { + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } +} +@-webkit-keyframes toc-close { + 0% { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + 100% { + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } +} +@-o-keyframes toc-close { + 0% { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + 100% { + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } +} +@keyframes toc-close { + 0% { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -o-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + 100% { + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -o-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); + } +} +#post-comment .comment-head { + margin-bottom: 20px; +} +#post-comment .comment-head:after { + display: block; + clear: both; + content: ''; +} +#post-comment .comment-head .comment-headline { + display: inline-block; + vertical-align: middle; + font-weight: 700; + font-size: 1.43em; +} +#post-comment .comment-head .comment-switch { + display: inline-block; + float: right; + margin: 2px auto 0; + padding: 4px 16px; + width: max-content; + border-radius: 8px; + background: #f6f8fa; +} +#post-comment .comment-head .comment-switch .first-comment { + color: #49b1f5; +} +#post-comment .comment-head .comment-switch .second-comment { + color: #ff7242; +} +#post-comment .comment-head .comment-switch #switch-btn { + position: relative; + display: inline-block; + margin: -4px 8px 0; + width: 42px; + height: 22px; + border-radius: 34px; + background-color: #49b1f5; + vertical-align: middle; + cursor: pointer; + -webkit-transition: 0.4s; + -moz-transition: 0.4s; + -o-transition: 0.4s; + -ms-transition: 0.4s; + transition: 0.4s; +} +#post-comment .comment-head .comment-switch #switch-btn:before { + position: absolute; + bottom: 4px; + left: 4px; + width: 14px; + height: 14px; + border-radius: 50%; + background-color: #fff; + content: ''; + -webkit-transition: 0.4s; + -moz-transition: 0.4s; + -o-transition: 0.4s; + -ms-transition: 0.4s; + transition: 0.4s; +} +#post-comment .comment-wrap > div { + -webkit-animation: tabshow 0.5s; + -moz-animation: tabshow 0.5s; + -o-animation: tabshow 0.5s; + -ms-animation: tabshow 0.5s; + animation: tabshow 0.5s; +} +#post-comment .comment-wrap > div:nth-child(2) { + display: none; +} +#post-comment.move #switch-btn { + background-color: #ff7242; +} +#post-comment.move #switch-btn:before { + -webkit-transform: translateX(20px); + -moz-transform: translateX(20px); + -o-transform: translateX(20px); + -ms-transform: translateX(20px); + transform: translateX(20px); +} +#post-comment.move .comment-wrap > div:first-child { + display: none; +} +#post-comment.move .comment-wrap > div:last-child { + display: block; +} +#footer { + position: relative; + background-color: #49b1f5; + background-attachment: scroll; + background-position: bottom; + background-size: cover; +} +#footer-wrap { + position: relative; + padding: 40px 20px; + color: var(--light-grey); + text-align: center; +} +#footer-wrap a { + color: var(--light-grey); +} +#footer-wrap a:hover { + text-decoration: underline; +} +#footer-wrap .footer-separator { + margin: 0 4px; +} +#footer-wrap .icp-icon { + padding: 0 4px; + max-height: 1.4em; + width: auto; + vertical-align: text-bottom; +} +#page-header { + position: relative; + width: 100%; + background-color: #49b1f5; + background-position: center center; + background-size: cover; + background-repeat: no-repeat; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -o-transition: all 0.5s; + -ms-transition: all 0.5s; + transition: all 0.5s; +} +#page-header:not(.not-top-img):before { + position: absolute; + width: 100%; + height: 100%; + background-color: var(--mark-bg); + content: ''; +} +#page-header.full_page { + height: 100vh; + background-attachment: fixed; +} +#page-header.full_page #site-info { + position: absolute; + top: 43%; + padding: 0 10px; + width: 100%; +} +#page-header #site-title, +#page-header #site-subtitle, +#page-header #scroll-down .scroll-down-effects { + text-align: center; + text-shadow: 2px 2px 4px rgba(0,0,0,0.15); + line-height: 1.5; +} +#page-header #site-title { + margin: 0; + color: var(--white); + font-size: 1.85em; +} +@media screen and (min-width: 768px) { + #page-header #site-title { + font-size: 2.85em; + } +} +#page-header #site-subtitle { + color: var(--light-grey); + font-size: 1.15em; +} +@media screen and (min-width: 768px) { + #page-header #site-subtitle { + font-size: 1.72em; + } +} +#page-header #site_social_icons { + display: none; + margin: 0 auto; + text-align: center; +} +@media screen and (max-width: 768px) { + #page-header #site_social_icons { + display: block; + } +} +#page-header #site_social_icons .social-icon { + margin: 0 10px; + color: var(--light-grey); + text-shadow: 2px 2px 4px rgba(0,0,0,0.15); + font-size: 1.43em; +} +#page-header #scroll-down { + position: absolute; + bottom: 10px; + width: 100%; + cursor: pointer; +} +#page-header #scroll-down .scroll-down-effects { + position: relative; + width: 100%; + color: var(--light-grey); + font-size: 20px; +} +#page-header.not-home-page { + height: 400px; +} +@media screen and (max-width: 768px) { + #page-header.not-home-page { + height: 280px; + } +} +#page-header #page-site-info { + position: absolute; + top: 200px; + padding: 0 10px; + width: 100%; +} +@media screen and (max-width: 768px) { + #page-header #page-site-info { + top: 140px; + } +} +#page-header.post-bg { + height: 400px; +} +@media screen and (max-width: 768px) { + #page-header.post-bg { + height: 360px; + } +} +#page-header #post-info { + position: absolute; + width: 100%; + bottom: 30px; +} +#page-header #post-info > * { + margin: 0 auto; + padding: 0 15px; + max-width: 1200px; +} +@media screen and (min-width: 768px) and (max-width: 1300px) { + #page-header #post-info > * { + padding: 0 30px; + } +} +@media screen and (min-width: 2000px) { + #page-header #post-info > * { + max-width: 70%; + } +} +#page-header.not-top-img { + margin-bottom: 10px; + height: 60px; + background: 0; +} +#page-header.not-top-img .title-seo { + display: none; +} +#page-header.not-top-img #nav { + background: rgba(255,255,255,0.8); + -webkit-box-shadow: 0 5px 6px -5px rgba(133,133,133,0.6); + box-shadow: 0 5px 6px -5px rgba(133,133,133,0.6); +} +#page-header.not-top-img #nav a, +#page-header.not-top-img #nav span.site-page, +#page-header.not-top-img #nav .site-name { + color: var(--font-color); + text-shadow: none; +} +#page-header.nav-fixed #nav { + position: fixed; + top: -60px; + z-index: 91; + background: rgba(255,255,255,0.7); + -webkit-box-shadow: 0 5px 6px -5px rgba(133,133,133,0.6); + box-shadow: 0 5px 6px -5px rgba(133,133,133,0.6); + -webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in-out; + -moz-transition: -moz-transform 0.2s ease-in-out, opacity 0.2s ease-in-out; + -o-transition: -o-transform 0.2s ease-in-out, opacity 0.2s ease-in-out; + -ms-transition: -ms-transform 0.2s ease-in-out, opacity 0.2s ease-in-out; + transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out; + will-change: transform; + backdrop-filter: blur(7px); +} +#page-header.nav-fixed #nav #blog-info { + color: var(--font-color); +} +#page-header.nav-fixed #nav #blog-info:hover { + color: #49b1f5; +} +#page-header.nav-fixed #nav #blog-info .site-name { + text-shadow: none; +} +#page-header.nav-fixed #nav #blog-info > a:first-child { + display: none; +} +#page-header.nav-fixed #nav #blog-info > a:last-child { + display: inline; +} +#page-header.nav-fixed #nav a, +#page-header.nav-fixed #nav span.site-page, +#page-header.nav-fixed #nav #toggle-menu { + color: var(--font-color); + text-shadow: none; +} +#page-header.nav-fixed #nav a:hover, +#page-header.nav-fixed #nav span.site-page:hover, +#page-header.nav-fixed #nav #toggle-menu:hover { + color: #49b1f5; +} +#page-header.nav-fixed.fixed #nav { + top: 0; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -o-transition: all 0.5s; + -ms-transition: all 0.5s; + transition: all 0.5s; +} +#page-header.nav-visible:not(.fixed) #nav { + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -o-transition: all 0.5s; + -ms-transition: all 0.5s; + transition: all 0.5s; + -webkit-transform: translate3d(0, 100%, 0); + -moz-transform: translate3d(0, 100%, 0); + -o-transform: translate3d(0, 100%, 0); + -ms-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); +} +#page-header.nav-visible:not(.fixed) + .layout > .aside-content > .sticky_layout { + top: 70px; + -webkit-transition: top 0.5s; + -moz-transition: top 0.5s; + -o-transition: top 0.5s; + -ms-transition: top 0.5s; + transition: top 0.5s; +} +#page-header.fixed #nav { + position: fixed; +} +#page-header.fixed + .layout > .aside-content > .sticky_layout { + top: 70px; + -webkit-transition: top 0.5s; + -moz-transition: top 0.5s; + -o-transition: top 0.5s; + -ms-transition: top 0.5s; + transition: top 0.5s; +} +#page-header.fixed + .layout #card-toc .toc-content { + max-height: calc(100vh - 170px); +} +#page .page-title { + margin: 0 0 10px; + font-weight: bold; + font-size: 2em; +} +#post > #post-info { + margin-bottom: 30px; +} +#post > #post-info .post-title { + padding-bottom: 4px; + border-bottom: 1px solid var(--light-grey); + color: var(--text-highlight-color); +} +#post > #post-info .post-title .post-edit-link { + float: right; +} +#post > #post-info #post-meta, +#post > #post-info #post-meta a { + color: #78818a; +} +#post-info .post-title { + margin-bottom: 8px; + color: var(--white); + font-weight: normal; + font-size: 2.5em; + line-height: 1.5; + -webkit-line-clamp: 3; +} +@media screen and (max-width: 768px) { + #post-info .post-title { + font-size: 2.1em; + } +} +#post-info .post-title .post-edit-link { + padding-left: 10px; +} +#post-info #post-meta { + color: var(--light-grey); + font-size: 95%; +} +@media screen and (min-width: 768px) { + #post-info #post-meta > .meta-secondline > span:first-child { + display: none; + } +} +@media screen and (max-width: 768px) { + #post-info #post-meta { + font-size: 90%; + } + #post-info #post-meta > .meta-firstline, + #post-info #post-meta > .meta-secondline { + display: inline; + } +} +#post-info #post-meta .post-meta-separator { + margin: 0 5px; +} +#post-info #post-meta .post-meta-icon { + margin-right: 4px; +} +#post-info #post-meta .post-meta-label { + margin-right: 4px; +} +#post-info #post-meta a { + color: var(--light-grey); + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + -o-transition: all 0.3s ease-out; + -ms-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; +} +#post-info #post-meta a:hover { + color: #49b1f5; + text-decoration: underline; +} +#nav { + position: absolute; + top: 0; + z-index: 90; + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-align: center; + -moz-box-align: center; + -o-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + align-items: center; + padding: 0 36px; + width: 100%; + height: 60px; + font-size: 1.3em; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -o-transition: all 0.5s; + -ms-transition: all 0.5s; + transition: all 0.5s; +} +@media screen and (max-width: 768px) { + #nav { + padding: 0 16px; + } +} +#nav.show { + opacity: 1; + -ms-filter: none; + filter: none; +} +#nav #blog-info { + -webkit-box-flex: 1; + -moz-box-flex: 1; + -o-box-flex: 1; + box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + color: var(--light-grey); +} +#nav #blog-info .site-icon { + margin-right: 6px; + height: 36px; + vertical-align: middle; +} +#nav #blog-info .nav-page-title { + display: none; +} +#nav #toggle-menu { + display: none; + padding: 2px 0 0 6px; + vertical-align: top; +} +#nav #toggle-menu:hover { + color: var(--white); +} +#nav a, +#nav span.site-page { + color: var(--light-grey); +} +#nav a:hover, +#nav span.site-page:hover { + color: var(--white); +} +#nav .site-name { + text-shadow: 2px 2px 4px rgba(0,0,0,0.15); + font-weight: bold; +} +#nav .menus_items { + display: inline; +} +#nav .menus_items .menus_item { + position: relative; + display: inline-block; + padding: 0 0 0 14px; +} +#nav .menus_items .menus_item:hover .menus_item_child { + display: block; +} +#nav .menus_items .menus_item:hover > span > i:last-child { + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -o-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} +#nav .menus_items .menus_item > span > i:last-child { + padding: 4px; + -webkit-transition: -webkit-transform 0.3s; + -moz-transition: -moz-transform 0.3s; + -o-transition: -o-transform 0.3s; + -ms-transition: -ms-transform 0.3s; + transition: transform 0.3s; +} +#nav .menus_items .menus_item .menus_item_child { + position: absolute; + right: 0; + display: none; + margin-top: 8px; + padding: 0; + width: max-content; + background-color: var(--sidebar-bg); + -webkit-box-shadow: 0 5px 20px -4px rgba(0,0,0,0.5); + box-shadow: 0 5px 20px -4px rgba(0,0,0,0.5); + -webkit-animation: sub_menus 0.3s 0.1s ease both; + -moz-animation: sub_menus 0.3s 0.1s ease both; + -o-animation: sub_menus 0.3s 0.1s ease both; + -ms-animation: sub_menus 0.3s 0.1s ease both; + animation: sub_menus 0.3s 0.1s ease both; + border-radius: 5px; +} +#nav .menus_items .menus_item .menus_item_child:before { + position: absolute; + top: -8px; + left: 0; + width: 100%; + height: 20px; + content: ''; +} +#nav .menus_items .menus_item .menus_item_child li { + list-style: none; +} +#nav .menus_items .menus_item .menus_item_child li:hover { + background: var(--text-bg-hover); +} +#nav .menus_items .menus_item .menus_item_child li:first-child { + border-top-left-radius: 5px; + border-top-right-radius: 5px; +} +#nav .menus_items .menus_item .menus_item_child li:last-child { + border-bottom-right-radius: 5px; + border-bottom-left-radius: 5px; +} +#nav .menus_items .menus_item .menus_item_child li a { + display: inline-block; + padding: 8px 16px; + width: 100%; + color: var(--font-color) !important; + text-shadow: none !important; +} +#nav.hide-menu #toggle-menu { + display: inline-block !important; +} +#nav.hide-menu #toggle-menu .site-page { + font-size: inherit; +} +#nav.hide-menu .menus_items { + display: none; +} +#nav.hide-menu #search-button span:not(.site-page) { + display: none; +} +#nav #search-button { + display: inline; + padding: 0 0 0 14px; +} +#nav .site-page { + position: relative; + padding-bottom: 6px; + text-shadow: 1px 1px 2px rgba(0,0,0,0.3); + font-size: 0.78em; + cursor: pointer; +} +#nav .site-page:not(.child):after { + position: absolute; + bottom: 0; + left: 0; + z-index: -1; + width: 0; + height: 3px; + background-color: #80c8f8; + content: ''; + -webkit-transition: all 0.3s ease-in-out; + -moz-transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + -ms-transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; + border-radius: 6px; +} +#nav .site-page:not(.child):hover:after { + width: 100%; +} +#pagination .pagination { + margin-top: 20px; + text-align: center; +} +#pagination .page-number.current { + background: #00c4b6; + color: var(--white); +} +#pagination .full-width { + width: 100% !important; +} +#pagination .pagination-related { + width: 50%; + height: 150px; +} +@media screen and (max-width: 768px) { + #pagination .pagination-related { + width: 100%; + } +} +#pagination .pagination-related .info-1 .info-item-2 { + -webkit-line-clamp: 1; +} +#pagination .pagination-related .info-2 .info-item-1 { + -webkit-line-clamp: 2; +} +#pagination.pagination-post { + overflow: hidden; + margin-top: 40px; + width: 100%; + border-radius: 6px; +} +.layout .pagination > * { + display: inline-block; + margin: 0 6px; + width: 2.5em; + height: 2.5em; + line-height: 2.5em; +} +.layout .pagination > *:not(.space):hover { + background: var(--btn-hover-color); + color: var(--btn-color); +} +#archive .pagination { + margin-top: 30px; +} +#archive .pagination > *:not(.space) { + -webkit-box-shadow: none; + box-shadow: none; +} +.pagination-related { + position: relative; + display: inline-block; + overflow: hidden; + background: #000; + vertical-align: bottom; +} +.pagination-related.next-post .info { + text-align: right; +} +.pagination-related .info .info-1, +.pagination-related .info .info-2 { + padding: 20px 40px; + color: var(--white); + -webkit-transition: -webkit-transform 0.3s, opacity 0.3s; + -moz-transition: -moz-transform 0.3s, opacity 0.3s; + -o-transition: -o-transform 0.3s, opacity 0.3s; + -ms-transition: -ms-transform 0.3s, opacity 0.3s; + transition: transform 0.3s, opacity 0.3s; +} +.pagination-related .info .info-1 .info-item-1 { + color: var(--light-grey); + text-transform: uppercase; + font-size: 90%; +} +.pagination-related .info .info-1 .info-item-2 { + color: var(--white); + font-weight: 500; +} +.pagination-related .info .info-2 { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: translate(0, 0); + -moz-transform: translate(0, 0); + -o-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} +.pagination-related:not(.no-desc):hover .info-1 { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transform: translate(0, -100%); + -moz-transform: translate(0, -100%); + -o-transform: translate(0, -100%); + -ms-transform: translate(0, -100%); + transform: translate(0, -100%); +} +.pagination-related:not(.no-desc):hover .info-2 { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translate(0, -50%); + -moz-transform: translate(0, -50%); + -o-transform: translate(0, -50%); + -ms-transform: translate(0, -50%); + transform: translate(0, -50%); +} +.container { + word-wrap: break-word; + overflow-wrap: break-word; +} +.container a { + color: #49b1f5; +} +.container a:hover { + text-decoration: underline; +} +.container img { + display: block; + margin: 0 auto 20px; + max-width: 100%; + -webkit-transition: filter 375ms ease-in 0.2s; + -moz-transition: filter 375ms ease-in 0.2s; + -o-transition: filter 375ms ease-in 0.2s; + -ms-transition: filter 375ms ease-in 0.2s; + transition: filter 375ms ease-in 0.2s; + border-radius: 6px; +} +.container p { + margin: 0 0 16px; +} +.container iframe { + margin: 0 0 20px; +} +.container kbd { + margin: 0 3px; + padding: 3px 5px; + border: 1px solid #b4b4b4; + background-color: #f8f8f8; + -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 2px 1px 0 rgba(255,255,255,0.6) inset; + box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 2px 1px 0 rgba(255,255,255,0.6) inset; + color: #34495e; + white-space: nowrap; + font-weight: 600; + font-size: 0.9em; + font-family: Monaco, 'Ubuntu Mono', monospace; + line-height: 1em; + border-radius: 3px; +} +.container ol ol, +.container ul ol, +.container ol ul, +.container ul ul { + padding-left: 20px; +} +.container ol li, +.container ul li { + margin: 4px 0; +} +.container ol p, +.container ul p { + margin: 0 0 8px; +} +.container > :last-child { + margin-bottom: 0 !important; +} +.container hr { + margin: 20px 0; +} +#post .tag_share:after { + display: block; + clear: both; + content: ''; +} +#post .tag_share .post-meta__tag-list { + display: inline-block; +} +#post .tag_share .post-meta__tags { + display: inline-block; + margin: 8px 8px 8px 0; + padding: 0 12px; + width: fit-content; + border: 1px solid #49b1f5; + border-radius: 12px; + color: #49b1f5; + font-size: 0.85em; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} +#post .tag_share .post-meta__tags:hover { + background: #49b1f5; + color: var(--white); +} +#post .tag_share .post-share { + display: inline-block; + float: right; + margin: 8px 0 0; + width: fit-content; +} +#post .tag_share .post-share .social-share { + font-size: 0.85em; +} +#post .tag_share .post-share .social-share .social-share-icon { + margin: 0 4px; + width: 1.85em; + height: 1.85em; + font-size: 1.2em; + line-height: 1.85em; +} +#post .post-copyright { + position: relative; + margin: 40px 0 10px; + padding: 10px 16px; + border: 1px solid var(--light-grey); + -webkit-transition: box-shadow 0.3s ease-in-out; + -moz-transition: box-shadow 0.3s ease-in-out; + -o-transition: box-shadow 0.3s ease-in-out; + -ms-transition: box-shadow 0.3s ease-in-out; + transition: box-shadow 0.3s ease-in-out; + border-radius: 6px; +} +#post .post-copyright:before { + position: absolute; + top: 2px; + right: 12px; + color: #49b1f5; + content: '\f1f9'; + font-size: 1.3em; +} +#post .post-copyright:hover { + -webkit-box-shadow: 0 0 8px 0 rgba(232,237,250,0.6), 0 2px 4px 0 rgba(232,237,250,0.5); + box-shadow: 0 0 8px 0 rgba(232,237,250,0.6), 0 2px 4px 0 rgba(232,237,250,0.5); +} +#post .post-copyright .post-copyright-meta { + color: #49b1f5; + font-weight: bold; +} +#post .post-copyright .post-copyright-meta i { + margin-right: 3px; +} +#post .post-copyright .post-copyright-info { + padding-left: 6px; +} +#post .post-copyright .post-copyright-info a { + text-decoration: underline; + word-break: break-word; +} +#post .post-copyright .post-copyright-info a:hover { + text-decoration: none; +} +#post #post-outdate-notice { + position: relative; + margin: 0 0 20px; + padding: 0.5em 1.2em; + background-color: #ffe6e6; + color: #f66; + border-radius: 3px; + padding: 0.5em 1em 0.5em 2.6em; + border-left: 5px solid #ff8080; +} +#post #post-outdate-notice .num { + padding: 0 4px; +} +#post #post-outdate-notice:before { + position: absolute; + top: 50%; + left: 0.9em; + color: #ff8080; + content: '\f071'; + -webkit-transform: translateY(-50%); + -moz-transform: translateY(-50%); + -o-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); +} +#post .ads-wrap { + margin: 40px 0; +} +.relatedPosts { + margin-top: 40px; +} +.relatedPosts > .headline { + margin-bottom: 5px; + font-weight: 700; + font-size: 1.43em; +} +.relatedPosts > .relatedPosts-list > a { + margin: 3px; + width: calc(33.333% - 6px); + height: 200px; + border-radius: 6px; +} +@media screen and (max-width: 768px) { + .relatedPosts > .relatedPosts-list > a { + margin: 2px; + width: calc(50% - 4px); + height: 150px; + } +} +@media screen and (max-width: 600px) { + .relatedPosts > .relatedPosts-list > a { + width: calc(100% - 4px); + } +} +.relatedPosts > .relatedPosts-list .info .info-1 .info-item-2 { + -webkit-line-clamp: 2; +} +.relatedPosts > .relatedPosts-list .info .info-2 .info-item-1 { + -webkit-line-clamp: 3; +} +.post-reward { + position: relative; + margin-top: 80px; + width: 100%; + text-align: center; + pointer-events: none; +} +.post-reward > * { + pointer-events: auto; +} +.post-reward .reward-button { + display: inline-block; + padding: 4px 24px; + background: var(--btn-bg); + color: var(--btn-color); + cursor: pointer; + border-radius: 6px; +} +.post-reward .reward-button i { + margin-right: 5px; +} +.post-reward:hover .reward-button { + background: var(--btn-hover-color); +} +.post-reward:hover > .reward-main { + display: block; +} +.post-reward .reward-main { + position: absolute; + bottom: 40px; + left: 0; + z-index: 100; + display: none; + padding: 0 0 15px; + width: 100%; + border-radius: 6px; +} +.post-reward .reward-main .reward-all { + display: inline-block; + margin: 0; + padding: 20px 10px; + background: var(--reward-pop); +} +.post-reward .reward-main .reward-all:before { + position: absolute; + bottom: -10px; + left: 0; + width: 100%; + height: 20px; + content: ''; +} +.post-reward .reward-main .reward-all:after { + position: absolute; + right: 0; + bottom: 2px; + left: 0; + margin: 0 auto; + width: 0; + height: 0; + border-top: 13px solid var(--reward-pop); + border-right: 13px solid transparent; + border-left: 13px solid transparent; + content: ''; +} +.post-reward .reward-main .reward-all .reward-item { + display: inline-block; + padding: 0 8px; + list-style-type: none; + vertical-align: top; +} +.post-reward .reward-main .reward-all .reward-item img { + width: 130px; + height: 130px; +} +.post-reward .reward-main .reward-all .reward-item .post-qr-code-desc { + width: 130px; + color: #858585; +} +#rightside { + position: fixed; + right: -48px; + bottom: 40px; + z-index: 100; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -o-transition: all 0.5s; + -ms-transition: all 0.5s; + transition: all 0.5s; +} +#rightside.rightside-show { + opacity: 0.8; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; + filter: alpha(opacity=80); + -webkit-transform: translate(-58px, 0); + -moz-transform: translate(-58px, 0); + -o-transform: translate(-58px, 0); + -ms-transform: translate(-58px, 0); + transform: translate(-58px, 0); +} +#rightside #rightside-config-hide { + height: 0; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transition: -webkit-transform 0.4s; + -moz-transition: -moz-transform 0.4s; + -o-transition: -o-transform 0.4s; + -ms-transition: -ms-transform 0.4s; + transition: transform 0.4s; + -webkit-transform: translate(45px, 0); + -moz-transform: translate(45px, 0); + -o-transform: translate(45px, 0); + -ms-transform: translate(45px, 0); + transform: translate(45px, 0); +} +#rightside #rightside-config-hide.show { + height: auto; + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translate(0, 0); + -moz-transform: translate(0, 0); + -o-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} +#rightside #rightside-config-hide.status { + height: auto; + opacity: 1; + -ms-filter: none; + filter: none; +} +#rightside > div > button, +#rightside > div > a { + display: block; + margin-bottom: 5px; + width: 35px; + height: 35px; + background-color: var(--btn-bg); + color: var(--btn-color); + text-align: center; + font-size: 16px; + line-height: 35px; + border-radius: 5px; +} +#rightside > div > button:hover, +#rightside > div > a:hover { + background-color: var(--btn-hover-color); +} +#rightside #mobile-toc-button { + display: none; +} +@media screen and (max-width: 900px) { + #rightside #mobile-toc-button { + display: block; + } +} +@media screen and (max-width: 900px) { + #rightside #hide-aside-btn { + display: none; + } +} +#sidebar #menu-mask { + position: fixed; + z-index: 102; + display: none; + width: 100%; + height: 100%; + background: rgba(0,0,0,0.8); +} +#sidebar #sidebar-menus { + position: fixed; + top: 0; + right: -330px; + z-index: 103; + overflow-x: hidden; + overflow-y: scroll; + padding-left: 5px; + width: 330px; + height: 100%; + background: var(--sidebar-bg); + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -o-transition: all 0.5s; + -ms-transition: all 0.5s; + transition: all 0.5s; +} +#sidebar #sidebar-menus.open { + -webkit-transform: translate3d(-100%, 0, 0); + -moz-transform: translate3d(-100%, 0, 0); + -o-transform: translate3d(-100%, 0, 0); + -ms-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); +} +#sidebar #sidebar-menus > .avatar-img { + margin: 20px auto; +} +#sidebar #sidebar-menus .site-data { + padding: 0 10px; +} +#sidebar #sidebar-menus hr { + margin: 20px auto; +} +#sidebar #sidebar-menus .menus_items { + margin: 20px; + padding: 15px; + background: var(--sidebar-menu-bg); + -webkit-box-shadow: 0 0 1px 1px rgba(7,17,27,0.05); + box-shadow: 0 0 1px 1px rgba(7,17,27,0.05); + border-radius: 10px; +} +#sidebar #sidebar-menus .menus_items .site-page { + position: relative; + display: block; + margin: 4px 0; + padding: 2px 23px 2px 15px; + color: var(--font-color); + font-size: 1.15em; + cursor: pointer; + border-radius: 6px; +} +#sidebar #sidebar-menus .menus_items .site-page:hover { + background: var(--text-bg-hover); + color: var(--white); +} +#sidebar #sidebar-menus .menus_items .site-page i:first-child { + width: 15%; + text-align: left; +} +#sidebar #sidebar-menus .menus_items .site-page.group > i:last-child { + position: absolute; + top: 0.6em; + right: 10px; + -webkit-transition: -webkit-transform 0.3s; + -moz-transition: -moz-transform 0.3s; + -o-transition: -o-transform 0.3s; + -ms-transition: -ms-transform 0.3s; + transition: transform 0.3s; +} +#sidebar #sidebar-menus .menus_items .site-page.group.hide > i:last-child { + -webkit-transform: rotate(90deg); + -moz-transform: rotate(90deg); + -o-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); +} +#sidebar #sidebar-menus .menus_items .site-page.group.hide + .menus_item_child { + display: none; +} +#sidebar #sidebar-menus .menus_items .menus_item_child { + margin: 0; + padding-left: 25px; + list-style: none; +} +#vcomment { + font-size: 1.1em; +} +#vcomment .vbtn { + border: none; + background: var(--btn-bg); + color: var(--btn-color); +} +#vcomment .vbtn:hover { + background: var(--btn-hover-color); +} +#vcomment .vimg { + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; +} +#vcomment .vimg:hover { + -webkit-transform: rotate(360deg); + -moz-transform: rotate(360deg); + -o-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); +} +#vcomment .vcards .vcard .vcontent.expand:before, +#vcomment .vcards .vcard .vcontent.expand:after { + z-index: 22; +} +#waline-wrap { + --waline-font-size: 1.1em; + --waline-theme-color: #49b1f5; + --waline-active-color: #ff7242; +} +#waline-wrap .wl-comment-actions > button:not(last-child) { + padding-right: 4px; +} +.twikoo .tk-content p { + margin: 3px 0; +} +.fireworks { + position: fixed; + top: 0; + left: 0; + z-index: 9999; + pointer-events: none; +} +.medium-zoom-image--opened { + z-index: 99999 !important; + margin: 0 !important; +} +.medium-zoom-overlay { + z-index: 99999 !important; +} +.utterances, +.fb-comments iframe { + width: 100% !important; +} +#gitalk-container .gt-meta { + margin: 0 0 0.8em; + padding: 6px 0 16px; +} +.aplayer { + color: #4c4948; +} +.container .aplayer { + margin: 0 0 20px; +} +.snackbar-container.snackbar-css { + border-radius: 5px; + opacity: 0.85 !important; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)" !important; + filter: alpha(opacity=85) !important; +} +.abc-music-sheet { + margin: 0 0 20px; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transition: opacity 0.3s; + -moz-transition: opacity 0.3s; + -o-transition: opacity 0.3s; + -ms-transition: opacity 0.3s; + transition: opacity 0.3s; +} +.abc-music-sheet.abcjs-container { + opacity: 1; + -ms-filter: none; + filter: none; +} +@media screen and (max-width: 768px) { + .fancybox__toolbar__column.is-middle { + display: none; + } +} +.container .btn-center { + margin: 0 0 20px; + text-align: center; +} +.container .btn-beautify { + display: inline-block; + margin: 0 4px 6px; + padding: 0 15px; + background-color: var(--btn-beautify-color, #777); + color: #fff; + line-height: 2; + border-radius: 6px; +} +.container .btn-beautify.blue { + --btn-beautify-color: #428bca; +} +.container .btn-beautify.pink { + --btn-beautify-color: #ff69b4; +} +.container .btn-beautify.red { + --btn-beautify-color: #f00; +} +.container .btn-beautify.purple { + --btn-beautify-color: #6f42c1; +} +.container .btn-beautify.orange { + --btn-beautify-color: #ff8c00; +} +.container .btn-beautify.green { + --btn-beautify-color: #5cb85c; +} +.container .btn-beautify:hover { + background-color: var(--btn-hover-color); +} +.container .btn-beautify i + span { + margin-left: 6px; +} +.container .btn-beautify:not(.block) + .btn-beautify:not(.block) { + margin: 0 4px 20px; +} +.container .btn-beautify.block { + display: block; + margin: 0 0 20px; + width: fit-content; + width: -moz-fit-content; +} +.container .btn-beautify.block.center { + margin: 0 auto 20px; +} +.container .btn-beautify.block.right { + margin: 0 0 20px auto; +} +.container .btn-beautify.larger { + padding: 6px 15px; +} +.container .btn-beautify:hover { + text-decoration: none; +} +.container .btn-beautify.outline { + border: 1px solid transparent; + border-color: var(--btn-beautify-color, #777); + background-color: transparent; + color: var(--btn-beautify-color, #777); +} +.container .btn-beautify.outline:hover { + background-color: var(--btn-beautify-color, #777); +} +.container .btn-beautify.outline:hover { + color: #fff !important; +} +.container figure.gallery-group { + position: relative; + float: left; + overflow: hidden; + margin: 6px 4px; + width: calc(50% - 8px); + height: 250px; + border-radius: 10px; + background: #000; + -webkit-transform: translate3d(0, 0, 0); +} +@media screen and (max-width: 600px) { + .container figure.gallery-group { + width: calc(100% - 8px); + } +} +@media screen and (min-width: 1024px) { + .container figure.gallery-group { + width: calc(100% / 3 - 8px); + } +} +.container figure.gallery-group:hover img { + opacity: 0.4; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + filter: alpha(opacity=40); + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + -o-transform: translate3d(0, 0, 0); + -ms-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} +.container figure.gallery-group:hover .gallery-group-name::after { + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + -o-transform: translate3d(0, 0, 0); + -ms-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} +.container figure.gallery-group:hover p { + opacity: 1; + -ms-filter: none; + filter: none; + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + -o-transform: translate3d(0, 0, 0); + -ms-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} +.container figure.gallery-group img { + position: relative; + margin: 0; + max-width: none; + width: calc(100% + 20px); + height: 250px; + -webkit-backface-visibility: hidden; + -moz-backface-visibility: hidden; + -ms-backface-visibility: hidden; + backface-visibility: hidden; + opacity: 0.8; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; + filter: alpha(opacity=80); + -webkit-transition: all 0.3s, filter 375ms ease-in 0.2s; + -moz-transition: all 0.3s, filter 375ms ease-in 0.2s; + -o-transition: all 0.3s, filter 375ms ease-in 0.2s; + -ms-transition: all 0.3s, filter 375ms ease-in 0.2s; + transition: all 0.3s, filter 375ms ease-in 0.2s; + -webkit-transform: translate3d(-10px, 0, 0); + -moz-transform: translate3d(-10px, 0, 0); + -o-transform: translate3d(-10px, 0, 0); + -ms-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + object-fit: cover; +} +.container figure.gallery-group figcaption { + position: absolute; + top: 0; + left: 0; + padding: 30px; + width: 100%; + height: 100%; + color: #fff; + text-transform: uppercase; + -webkit-backface-visibility: hidden; + -moz-backface-visibility: hidden; + -ms-backface-visibility: hidden; + backface-visibility: hidden; +} +.container figure.gallery-group figcaption > a { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1000; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); +} +.container figure.gallery-group p { + margin: 0; + padding: 8px 0 0; + letter-spacing: 1px; + font-size: 1.1em; + line-height: 1.5; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; + -moz-transition: opacity 0.35s, -moz-transform 0.35s; + -o-transition: opacity 0.35s, -o-transform 0.35s; + -ms-transition: opacity 0.35s, -ms-transform 0.35s; + transition: opacity 0.35s, transform 0.35s; + -webkit-transform: translate3d(100%, 0, 0); + -moz-transform: translate3d(100%, 0, 0); + -o-transform: translate3d(100%, 0, 0); + -ms-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + -webkit-line-clamp: 4; +} +.container figure.gallery-group .gallery-group-name { + position: relative; + margin: 0; + padding: 8px 0; + font-weight: bold; + font-size: 1.65em; + line-height: 1.5; + -webkit-line-clamp: 2; +} +.container figure.gallery-group .gallery-group-name:after { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 2px; + background: #fff; + content: ''; + -webkit-transition: -webkit-transform 0.35s; + -moz-transition: -moz-transform 0.35s; + -o-transition: -o-transform 0.35s; + -ms-transition: -ms-transform 0.35s; + transition: transform 0.35s; + -webkit-transform: translate3d(-100%, 0, 0); + -moz-transform: translate3d(-100%, 0, 0); + -o-transform: translate3d(-100%, 0, 0); + -ms-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); +} +.container .gallery-group-main { + overflow: auto; + padding: 0 0 16px; +} +.container .gallery-container { + margin: 0 0 20px; + text-align: center; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); +} +.container .gallery-container.loaded { + opacity: 1; + -ms-filter: none; + filter: none; +} +.container .gallery-container img { + display: initial; + margin: 0; + width: 100%; + height: 100%; +} +.container .gallery-container .gallery-data { + display: none; +} +.container .gallery-container button { + margin-top: 25px; + padding: 8px 14px; + background: var(--btn-bg); + color: var(--btn-color); + font-weight: bold; + font-size: 1.1em; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; + border-radius: 5px; +} +.container .gallery-container button:hover { + background: var(--btn-hover-color); +} +.container .gallery-container button:hover i { + margin-left: 8px; +} +.container .gallery-container button i { + margin-left: 4px; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; +} +.container .loading-container { + display: inline-block; + overflow: hidden; + width: 154px; + height: 154px; +} +.container .loading-container .loading-item { + position: relative; + width: 100%; + height: 100%; + -webkit-backface-visibility: hidden; + -moz-backface-visibility: hidden; + -ms-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform: translateZ(0) scale(1); + -moz-transform: translateZ(0) scale(1); + -o-transform: translateZ(0) scale(1); + -ms-transform: translateZ(0) scale(1); + transform: translateZ(0) scale(1); + -webkit-transform-origin: 0 0; + -moz-transform-origin: 0 0; + -o-transform-origin: 0 0; + -ms-transform-origin: 0 0; + transform-origin: 0 0; +} +.container .loading-container .loading-item div { + position: absolute; + width: 30.8px; + height: 30.8px; + border-radius: 50%; + background: #e15b64; + -webkit-transform: translate(61.6px, 61.6px) scale(1); + -moz-transform: translate(61.6px, 61.6px) scale(1); + -o-transform: translate(61.6px, 61.6px) scale(1); + -ms-transform: translate(61.6px, 61.6px) scale(1); + transform: translate(61.6px, 61.6px) scale(1); + -webkit-animation: loading-ball 1.92s infinite cubic-bezier(0, 0.5, 0.5, 1); + -moz-animation: loading-ball 1.92s infinite cubic-bezier(0, 0.5, 0.5, 1); + -o-animation: loading-ball 1.92s infinite cubic-bezier(0, 0.5, 0.5, 1); + -ms-animation: loading-ball 1.92s infinite cubic-bezier(0, 0.5, 0.5, 1); + animation: loading-ball 1.92s infinite cubic-bezier(0, 0.5, 0.5, 1); +} +.container .loading-container .loading-item div:nth-child(1) { + background: #f47e60; + -webkit-transform: translate(113.96px, 61.6px) scale(1); + -moz-transform: translate(113.96px, 61.6px) scale(1); + -o-transform: translate(113.96px, 61.6px) scale(1); + -ms-transform: translate(113.96px, 61.6px) scale(1); + transform: translate(113.96px, 61.6px) scale(1); + -webkit-animation: loading-ball-r 0.48s infinite cubic-bezier(0, 0.5, 0.5, 1), loading-ball-c 1.92s infinite step-start; + -moz-animation: loading-ball-r 0.48s infinite cubic-bezier(0, 0.5, 0.5, 1), loading-ball-c 1.92s infinite step-start; + -o-animation: loading-ball-r 0.48s infinite cubic-bezier(0, 0.5, 0.5, 1), loading-ball-c 1.92s infinite step-start; + -ms-animation: loading-ball-r 0.48s infinite cubic-bezier(0, 0.5, 0.5, 1), loading-ball-c 1.92s infinite step-start; + animation: loading-ball-r 0.48s infinite cubic-bezier(0, 0.5, 0.5, 1), loading-ball-c 1.92s infinite step-start; +} +.container .loading-container .loading-item div:nth-child(2) { + background: #e15b64; + -webkit-animation-delay: -0.48s; + -moz-animation-delay: -0.48s; + -o-animation-delay: -0.48s; + -ms-animation-delay: -0.48s; + animation-delay: -0.48s; +} +.container .loading-container .loading-item div:nth-child(3) { + background: #f47e60; + -webkit-animation-delay: -0.96s; + -moz-animation-delay: -0.96s; + -o-animation-delay: -0.96s; + -ms-animation-delay: -0.96s; + animation-delay: -0.96s; +} +.container .loading-container .loading-item div:nth-child(4) { + background: #f8b26a; + -webkit-animation-delay: -1.44s; + -moz-animation-delay: -1.44s; + -o-animation-delay: -1.44s; + -ms-animation-delay: -1.44s; + animation-delay: -1.44s; +} +.container .loading-container .loading-item div:nth-child(5) { + background: #abbd81; + -webkit-animation-delay: -1.92s; + -moz-animation-delay: -1.92s; + -o-animation-delay: -1.92s; + -ms-animation-delay: -1.92s; + animation-delay: -1.92s; +} +@-moz-keyframes loading-ball { + 0% { + -webkit-transform: translate(9.24px, 61.6px) scale(0); + -moz-transform: translate(9.24px, 61.6px) scale(0); + -o-transform: translate(9.24px, 61.6px) scale(0); + -ms-transform: translate(9.24px, 61.6px) scale(0); + transform: translate(9.24px, 61.6px) scale(0); + } + 25% { + -webkit-transform: translate(9.24px, 61.6px) scale(0); + -moz-transform: translate(9.24px, 61.6px) scale(0); + -o-transform: translate(9.24px, 61.6px) scale(0); + -ms-transform: translate(9.24px, 61.6px) scale(0); + transform: translate(9.24px, 61.6px) scale(0); + } + 50% { + -webkit-transform: translate(9.24px, 61.6px) scale(1); + -moz-transform: translate(9.24px, 61.6px) scale(1); + -o-transform: translate(9.24px, 61.6px) scale(1); + -ms-transform: translate(9.24px, 61.6px) scale(1); + transform: translate(9.24px, 61.6px) scale(1); + } + 75% { + -webkit-transform: translate(61.6px, 61.6px) scale(1); + -moz-transform: translate(61.6px, 61.6px) scale(1); + -o-transform: translate(61.6px, 61.6px) scale(1); + -ms-transform: translate(61.6px, 61.6px) scale(1); + transform: translate(61.6px, 61.6px) scale(1); + } + 100% { + -webkit-transform: translate(113.96px, 61.6px) scale(1); + -moz-transform: translate(113.96px, 61.6px) scale(1); + -o-transform: translate(113.96px, 61.6px) scale(1); + -ms-transform: translate(113.96px, 61.6px) scale(1); + transform: translate(113.96px, 61.6px) scale(1); + } +} +@-webkit-keyframes loading-ball { + 0% { + -webkit-transform: translate(9.24px, 61.6px) scale(0); + -moz-transform: translate(9.24px, 61.6px) scale(0); + -o-transform: translate(9.24px, 61.6px) scale(0); + -ms-transform: translate(9.24px, 61.6px) scale(0); + transform: translate(9.24px, 61.6px) scale(0); + } + 25% { + -webkit-transform: translate(9.24px, 61.6px) scale(0); + -moz-transform: translate(9.24px, 61.6px) scale(0); + -o-transform: translate(9.24px, 61.6px) scale(0); + -ms-transform: translate(9.24px, 61.6px) scale(0); + transform: translate(9.24px, 61.6px) scale(0); + } + 50% { + -webkit-transform: translate(9.24px, 61.6px) scale(1); + -moz-transform: translate(9.24px, 61.6px) scale(1); + -o-transform: translate(9.24px, 61.6px) scale(1); + -ms-transform: translate(9.24px, 61.6px) scale(1); + transform: translate(9.24px, 61.6px) scale(1); + } + 75% { + -webkit-transform: translate(61.6px, 61.6px) scale(1); + -moz-transform: translate(61.6px, 61.6px) scale(1); + -o-transform: translate(61.6px, 61.6px) scale(1); + -ms-transform: translate(61.6px, 61.6px) scale(1); + transform: translate(61.6px, 61.6px) scale(1); + } + 100% { + -webkit-transform: translate(113.96px, 61.6px) scale(1); + -moz-transform: translate(113.96px, 61.6px) scale(1); + -o-transform: translate(113.96px, 61.6px) scale(1); + -ms-transform: translate(113.96px, 61.6px) scale(1); + transform: translate(113.96px, 61.6px) scale(1); + } +} +@-o-keyframes loading-ball { + 0% { + -webkit-transform: translate(9.24px, 61.6px) scale(0); + -moz-transform: translate(9.24px, 61.6px) scale(0); + -o-transform: translate(9.24px, 61.6px) scale(0); + -ms-transform: translate(9.24px, 61.6px) scale(0); + transform: translate(9.24px, 61.6px) scale(0); + } + 25% { + -webkit-transform: translate(9.24px, 61.6px) scale(0); + -moz-transform: translate(9.24px, 61.6px) scale(0); + -o-transform: translate(9.24px, 61.6px) scale(0); + -ms-transform: translate(9.24px, 61.6px) scale(0); + transform: translate(9.24px, 61.6px) scale(0); + } + 50% { + -webkit-transform: translate(9.24px, 61.6px) scale(1); + -moz-transform: translate(9.24px, 61.6px) scale(1); + -o-transform: translate(9.24px, 61.6px) scale(1); + -ms-transform: translate(9.24px, 61.6px) scale(1); + transform: translate(9.24px, 61.6px) scale(1); + } + 75% { + -webkit-transform: translate(61.6px, 61.6px) scale(1); + -moz-transform: translate(61.6px, 61.6px) scale(1); + -o-transform: translate(61.6px, 61.6px) scale(1); + -ms-transform: translate(61.6px, 61.6px) scale(1); + transform: translate(61.6px, 61.6px) scale(1); + } + 100% { + -webkit-transform: translate(113.96px, 61.6px) scale(1); + -moz-transform: translate(113.96px, 61.6px) scale(1); + -o-transform: translate(113.96px, 61.6px) scale(1); + -ms-transform: translate(113.96px, 61.6px) scale(1); + transform: translate(113.96px, 61.6px) scale(1); + } +} +@keyframes loading-ball { + 0% { + -webkit-transform: translate(9.24px, 61.6px) scale(0); + -moz-transform: translate(9.24px, 61.6px) scale(0); + -o-transform: translate(9.24px, 61.6px) scale(0); + -ms-transform: translate(9.24px, 61.6px) scale(0); + transform: translate(9.24px, 61.6px) scale(0); + } + 25% { + -webkit-transform: translate(9.24px, 61.6px) scale(0); + -moz-transform: translate(9.24px, 61.6px) scale(0); + -o-transform: translate(9.24px, 61.6px) scale(0); + -ms-transform: translate(9.24px, 61.6px) scale(0); + transform: translate(9.24px, 61.6px) scale(0); + } + 50% { + -webkit-transform: translate(9.24px, 61.6px) scale(1); + -moz-transform: translate(9.24px, 61.6px) scale(1); + -o-transform: translate(9.24px, 61.6px) scale(1); + -ms-transform: translate(9.24px, 61.6px) scale(1); + transform: translate(9.24px, 61.6px) scale(1); + } + 75% { + -webkit-transform: translate(61.6px, 61.6px) scale(1); + -moz-transform: translate(61.6px, 61.6px) scale(1); + -o-transform: translate(61.6px, 61.6px) scale(1); + -ms-transform: translate(61.6px, 61.6px) scale(1); + transform: translate(61.6px, 61.6px) scale(1); + } + 100% { + -webkit-transform: translate(113.96px, 61.6px) scale(1); + -moz-transform: translate(113.96px, 61.6px) scale(1); + -o-transform: translate(113.96px, 61.6px) scale(1); + -ms-transform: translate(113.96px, 61.6px) scale(1); + transform: translate(113.96px, 61.6px) scale(1); + } +} +@-moz-keyframes loading-ball-r { + 0% { + -webkit-transform: translate(113.96px, 61.6px) scale(1); + -moz-transform: translate(113.96px, 61.6px) scale(1); + -o-transform: translate(113.96px, 61.6px) scale(1); + -ms-transform: translate(113.96px, 61.6px) scale(1); + transform: translate(113.96px, 61.6px) scale(1); + } + 100% { + -webkit-transform: translate(113.96px, 61.6px) scale(0); + -moz-transform: translate(113.96px, 61.6px) scale(0); + -o-transform: translate(113.96px, 61.6px) scale(0); + -ms-transform: translate(113.96px, 61.6px) scale(0); + transform: translate(113.96px, 61.6px) scale(0); + } +} +@-webkit-keyframes loading-ball-r { + 0% { + -webkit-transform: translate(113.96px, 61.6px) scale(1); + -moz-transform: translate(113.96px, 61.6px) scale(1); + -o-transform: translate(113.96px, 61.6px) scale(1); + -ms-transform: translate(113.96px, 61.6px) scale(1); + transform: translate(113.96px, 61.6px) scale(1); + } + 100% { + -webkit-transform: translate(113.96px, 61.6px) scale(0); + -moz-transform: translate(113.96px, 61.6px) scale(0); + -o-transform: translate(113.96px, 61.6px) scale(0); + -ms-transform: translate(113.96px, 61.6px) scale(0); + transform: translate(113.96px, 61.6px) scale(0); + } +} +@-o-keyframes loading-ball-r { + 0% { + -webkit-transform: translate(113.96px, 61.6px) scale(1); + -moz-transform: translate(113.96px, 61.6px) scale(1); + -o-transform: translate(113.96px, 61.6px) scale(1); + -ms-transform: translate(113.96px, 61.6px) scale(1); + transform: translate(113.96px, 61.6px) scale(1); + } + 100% { + -webkit-transform: translate(113.96px, 61.6px) scale(0); + -moz-transform: translate(113.96px, 61.6px) scale(0); + -o-transform: translate(113.96px, 61.6px) scale(0); + -ms-transform: translate(113.96px, 61.6px) scale(0); + transform: translate(113.96px, 61.6px) scale(0); + } +} +@keyframes loading-ball-r { + 0% { + -webkit-transform: translate(113.96px, 61.6px) scale(1); + -moz-transform: translate(113.96px, 61.6px) scale(1); + -o-transform: translate(113.96px, 61.6px) scale(1); + -ms-transform: translate(113.96px, 61.6px) scale(1); + transform: translate(113.96px, 61.6px) scale(1); + } + 100% { + -webkit-transform: translate(113.96px, 61.6px) scale(0); + -moz-transform: translate(113.96px, 61.6px) scale(0); + -o-transform: translate(113.96px, 61.6px) scale(0); + -ms-transform: translate(113.96px, 61.6px) scale(0); + transform: translate(113.96px, 61.6px) scale(0); + } +} +@-moz-keyframes loading-ball-c { + 0% { + background: #e15b64; + } + 25% { + background: #abbd81; + } + 50% { + background: #f8b26a; + } + 75% { + background: #f47e60; + } + 100% { + background: #e15b64; + } +} +@-webkit-keyframes loading-ball-c { + 0% { + background: #e15b64; + } + 25% { + background: #abbd81; + } + 50% { + background: #f8b26a; + } + 75% { + background: #f47e60; + } + 100% { + background: #e15b64; + } +} +@-o-keyframes loading-ball-c { + 0% { + background: #e15b64; + } + 25% { + background: #abbd81; + } + 50% { + background: #f8b26a; + } + 75% { + background: #f47e60; + } + 100% { + background: #e15b64; + } +} +@keyframes loading-ball-c { + 0% { + background: #e15b64; + } + 25% { + background: #abbd81; + } + 50% { + background: #f8b26a; + } + 75% { + background: #f47e60; + } + 100% { + background: #e15b64; + } +} +blockquote.pullquote { + position: relative; + max-width: 45%; + font-size: 110%; +} +blockquote.pullquote.left { + float: left; + margin: 1em 0.5em 0 0; +} +blockquote.pullquote.right { + float: right; + margin: 1em 0 0 0.5em; +} +.video-container { + position: relative; + overflow: hidden; + margin-bottom: 16px; + padding-top: 56.25%; + height: 0; +} +.video-container iframe { + position: absolute; + top: 0; + left: 0; + margin-top: 0; + width: 100%; + height: 100%; +} +.hide-inline > .hide-button, +.hide-block > .hide-button { + display: inline-block; + padding: 5px 18px; + background: #49b1f5; + color: var(--white); + border-radius: 6px; +} +.hide-inline > .hide-button:hover, +.hide-block > .hide-button:hover { + background-color: var(--btn-hover-color); +} +.hide-inline > .hide-button.open, +.hide-block > .hide-button.open { + display: none; +} +.hide-inline > .hide-button.open + div, +.hide-block > .hide-button.open + div { + display: block; +} +.hide-inline > .hide-button.open + span, +.hide-block > .hide-button.open + span { + display: inline; +} +.hide-inline > .hide-content, +.hide-block > .hide-content { + display: none; +} +.hide-inline > .hide-button { + margin: 0 6px; +} +.hide-inline > .hide-content { + margin: 0 6px; +} +.hide-block { + margin: 0 0 16px; +} +.toggle { + margin-bottom: 20px; + border: 1px solid #f0f0f0; + border-radius: 5px; + overflow: hidden; +} +.toggle > .toggle-button { + padding: 6px 15px; + background: #f0f0f0; + color: #1f2d3d; + cursor: pointer; +} +.toggle > .toggle-content { + margin: 30px 24px; +} +.container .inline-img { + display: inline; + margin: 0 3px; + height: 1.1em; + vertical-align: text-bottom; +} +.hl-label { + padding: 2px 4px; + color: #fff; + border-radius: 3px; +} +.hl-label.default { + background-color: #777; +} +.hl-label.blue { + background-color: #428bca; +} +.hl-label.pink { + background-color: #ff69b4; +} +.hl-label.red { + background-color: #f00; +} +.hl-label.purple { + background-color: #6f42c1; +} +.hl-label.orange { + background-color: #ff8c00; +} +.hl-label.green { + background-color: #5cb85c; +} +.note { + position: relative; + margin: 0 0 20px; + padding: 15px; + border-radius: 3px; +} +.note.icon-padding { + padding-left: 3em; +} +.note > .note-icon { + position: absolute; + top: calc(50% - 0.5em); + left: 0.8em; + font-size: larger; +} +.note.blue:not(.disabled) { + border-left-color: #428bca !important; +} +.note.blue:not(.disabled).modern { + border-left-color: transparent !important; + color: #428bca; +} +.note.blue:not(.disabled):not(.simple) { + background: #e3eef7 !important; +} +.note.blue > .note-icon { + color: #428bca; +} +.note.pink:not(.disabled) { + border-left-color: #ff69b4 !important; +} +.note.pink:not(.disabled).modern { + border-left-color: transparent !important; + color: #ff69b4; +} +.note.pink:not(.disabled):not(.simple) { + background: #ffe9f4 !important; +} +.note.pink > .note-icon { + color: #ff69b4; +} +.note.red:not(.disabled) { + border-left-color: #f00 !important; +} +.note.red:not(.disabled).modern { + border-left-color: transparent !important; + color: #f00; +} +.note.red:not(.disabled):not(.simple) { + background: #ffd9d9 !important; +} +.note.red > .note-icon { + color: #f00; +} +.note.purple:not(.disabled) { + border-left-color: #6f42c1 !important; +} +.note.purple:not(.disabled).modern { + border-left-color: transparent !important; + color: #6f42c1; +} +.note.purple:not(.disabled):not(.simple) { + background: #e9e3f6 !important; +} +.note.purple > .note-icon { + color: #6f42c1; +} +.note.orange:not(.disabled) { + border-left-color: #ff8c00 !important; +} +.note.orange:not(.disabled).modern { + border-left-color: transparent !important; + color: #ff8c00; +} +.note.orange:not(.disabled):not(.simple) { + background: #ffeed9 !important; +} +.note.orange > .note-icon { + color: #ff8c00; +} +.note.green:not(.disabled) { + border-left-color: #5cb85c !important; +} +.note.green:not(.disabled).modern { + border-left-color: transparent !important; + color: #5cb85c; +} +.note.green:not(.disabled):not(.simple) { + background: #e7f4e7 !important; +} +.note.green > .note-icon { + color: #5cb85c; +} +.note.simple { + border: 1px solid #eee; + border-left-width: 5px; +} +.note.modern { + border: 1px solid transparent !important; + background-color: #f5f5f5; + color: #4c4948; +} +.note.flat { + border: initial; + border-left: 5px solid #eee; + background-color: #f9f9f9; + color: #4c4948; +} +.note h2, +.note h3, +.note h4, +.note h5, +.note h6 { + margin-top: 3px; + margin-bottom: 0; + padding-top: 0 !important; + border-bottom: initial; +} +.note p:first-child, +.note ul:first-child, +.note ol:first-child, +.note table:first-child, +.note pre:first-child, +.note blockquote:first-child, +.note img:first-child { + margin-top: 0 !important; +} +.note p:last-child, +.note ul:last-child, +.note ol:last-child, +.note table:last-child, +.note pre:last-child, +.note blockquote:last-child, +.note img:last-child { + margin-bottom: 0 !important; +} +.note .img-alt { + margin: 5px 0 10px; +} +.note:not(.no-icon) { + padding-left: 3em; +} +.note:not(.no-icon)::before { + position: absolute; + top: calc(50% - 0.95em); + left: 0.8em; + font-size: larger; +} +.note.default.flat { + background: #f7f7f7; +} +.note.default.modern { + border-color: #e1e1e1; + background: #f3f3f3; + color: #666; +} +.note.default.modern a:not(.btn) { + color: #666; +} +.note.default.modern a:not(.btn):hover { + color: #454545; +} +.note.default:not(.modern) { + border-left-color: #777; +} +.note.default:not(.modern) h2, +.note.default:not(.modern) h3, +.note.default:not(.modern) h4, +.note.default:not(.modern) h5, +.note.default:not(.modern) h6 { + color: #777; +} +.note.default:not(.no-icon)::before { + content: '\f0a9'; +} +.note.default:not(.no-icon):not(.modern)::before { + color: #777; +} +.note.primary.flat { + background: #f5f0fa; +} +.note.primary.modern { + border-color: #e1c2ff; + background: #f3daff; + color: #6f42c1; +} +.note.primary.modern a:not(.btn) { + color: #6f42c1; +} +.note.primary.modern a:not(.btn):hover { + color: #453298; +} +.note.primary:not(.modern) { + border-left-color: #6f42c1; +} +.note.primary:not(.modern) h2, +.note.primary:not(.modern) h3, +.note.primary:not(.modern) h4, +.note.primary:not(.modern) h5, +.note.primary:not(.modern) h6 { + color: #6f42c1; +} +.note.primary:not(.no-icon)::before { + content: '\f055'; +} +.note.primary:not(.no-icon):not(.modern)::before { + color: #6f42c1; +} +.note.info.flat { + background: #eef7fa; +} +.note.info.modern { + border-color: #b3e5ef; + background: #d9edf7; + color: #31708f; +} +.note.info.modern a:not(.btn) { + color: #31708f; +} +.note.info.modern a:not(.btn):hover { + color: #215761; +} +.note.info:not(.modern) { + border-left-color: #428bca; +} +.note.info:not(.modern) h2, +.note.info:not(.modern) h3, +.note.info:not(.modern) h4, +.note.info:not(.modern) h5, +.note.info:not(.modern) h6 { + color: #428bca; +} +.note.info:not(.no-icon)::before { + content: '\f05a'; +} +.note.info:not(.no-icon):not(.modern)::before { + color: #428bca; +} +.note.success.flat { + background: #eff8f0; +} +.note.success.modern { + border-color: #d0e6be; + background: #dff0d8; + color: #3c763d; +} +.note.success.modern a:not(.btn) { + color: #3c763d; +} +.note.success.modern a:not(.btn):hover { + color: #32562c; +} +.note.success:not(.modern) { + border-left-color: #5cb85c; +} +.note.success:not(.modern) h2, +.note.success:not(.modern) h3, +.note.success:not(.modern) h4, +.note.success:not(.modern) h5, +.note.success:not(.modern) h6 { + color: #5cb85c; +} +.note.success:not(.no-icon)::before { + content: '\f058'; +} +.note.success:not(.no-icon):not(.modern)::before { + color: #5cb85c; +} +.note.warning.flat { + background: #fdf8ea; +} +.note.warning.modern { + border-color: #fae4cd; + background: #fcf4e3; + color: #8a6d3b; +} +.note.warning.modern a:not(.btn) { + color: #8a6d3b; +} +.note.warning.modern a:not(.btn):hover { + color: #714f30; +} +.note.warning:not(.modern) { + border-left-color: #f0ad4e; +} +.note.warning:not(.modern) h2, +.note.warning:not(.modern) h3, +.note.warning:not(.modern) h4, +.note.warning:not(.modern) h5, +.note.warning:not(.modern) h6 { + color: #f0ad4e; +} +.note.warning:not(.no-icon)::before { + content: '\f06a'; +} +.note.warning:not(.no-icon):not(.modern)::before { + color: #f0ad4e; +} +.note.danger.flat { + background: #fcf1f2; +} +.note.danger.modern { + border-color: #ebcdd2; + background: #f2dfdf; + color: #a94442; +} +.note.danger.modern a:not(.btn) { + color: #a94442; +} +.note.danger.modern a:not(.btn):hover { + color: #84333f; +} +.note.danger:not(.modern) { + border-left-color: #d9534f; +} +.note.danger:not(.modern) h2, +.note.danger:not(.modern) h3, +.note.danger:not(.modern) h4, +.note.danger:not(.modern) h5, +.note.danger:not(.modern) h6 { + color: #d9534f; +} +.note.danger:not(.no-icon)::before { + content: '\f056'; +} +.note.danger:not(.no-icon):not(.modern)::before { + color: #d9534f; +} +.container .series-items a:hover { + color: var(--pseudo-hover); +} +.container .tabs { + position: relative; + margin: 0 0 20px; + border-right: 1px solid var(--tab-border-color); + border-bottom: 1px solid var(--tab-border-color); + border-left: 1px solid var(--tab-border-color); + border-radius: 6px; + overflow: hidden; +} +.container .tabs > .nav-tabs { + display: -webkit-box; + display: -moz-box; + display: -webkit-flex; + display: -ms-flexbox; + display: box; + display: flex; + -webkit-box-lines: multiple; + -moz-box-lines: multiple; + -o-box-lines: multiple; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0; + padding: 0; + background: var(--tab-botton-bg); +} +.container .tabs > .nav-tabs > .tab { + -webkit-box-flex: 1; + -moz-box-flex: 1; + -o-box-flex: 1; + -ms-box-flex: 1; + box-flex: 1; + -webkit-flex-grow: 1; + flex-grow: 1; + padding: 8px 18px; + border-top: 2px solid var(--tab-border-color); + background: var(--tab-botton-bg); + color: var(--tab-botton-color); + line-height: 2; + -webkit-transition: all 0.4s; + -moz-transition: all 0.4s; + -o-transition: all 0.4s; + -ms-transition: all 0.4s; + transition: all 0.4s; +} +.container .tabs > .nav-tabs > .tab i { + width: 1.5em; +} +.container .tabs > .nav-tabs > .tab.active { + border-top: 2px solid #49b1f5; + background: var(--tab-button-active-bg); + cursor: default; +} +.container .tabs > .nav-tabs > .tab:not(.active):hover { + border-top: 2px solid var(--tab-button-hover-bg); + background: var(--tab-button-hover-bg); +} +.container .tabs > .nav-tabs.no-default ~ .tab-to-top { + display: none; +} +.container .tabs > .tab-contents .tab-item-content { + position: relative; + display: none; + padding: 36px 24px 10px; +} +@media screen and (max-width: 768px) { + .container .tabs > .tab-contents .tab-item-content { + padding: 24px 14px; + } +} +.container .tabs > .tab-contents .tab-item-content.active { + display: block; + -webkit-animation: tabshow 0.5s; + -moz-animation: tabshow 0.5s; + -o-animation: tabshow 0.5s; + -ms-animation: tabshow 0.5s; + animation: tabshow 0.5s; +} +.container .tabs > .tab-contents .tab-item-content > :last-child { + margin-bottom: 0; +} +.container .tabs > .tab-to-top { + padding: 0 16px 10px 0; + width: 100%; + text-align: right; +} +.container .tabs > .tab-to-top button { + color: #99a9bf; +} +.container .tabs > .tab-to-top button:hover { + color: #49b1f5; +} +@-moz-keyframes tabshow { + 0% { + -webkit-transform: translateY(15px); + -moz-transform: translateY(15px); + -o-transform: translateY(15px); + -ms-transform: translateY(15px); + transform: translateY(15px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-webkit-keyframes tabshow { + 0% { + -webkit-transform: translateY(15px); + -moz-transform: translateY(15px); + -o-transform: translateY(15px); + -ms-transform: translateY(15px); + transform: translateY(15px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@-o-keyframes tabshow { + 0% { + -webkit-transform: translateY(15px); + -moz-transform: translateY(15px); + -o-transform: translateY(15px); + -ms-transform: translateY(15px); + transform: translateY(15px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +@keyframes tabshow { + 0% { + -webkit-transform: translateY(15px); + -moz-transform: translateY(15px); + -o-transform: translateY(15px); + -ms-transform: translateY(15px); + transform: translateY(15px); + } + 100% { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -o-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} +.container .timeline { + margin: 0 10px 20px; + padding: 14px 0 5px 20px; + border-left: 2px solid var(--timeline-color, #49b1f5); +} +.container .timeline.blue { + --timeline-color: #428bca; + --timeline-bg: rgba(66,139,202, 0.2); +} +.container .timeline.pink { + --timeline-color: #ff69b4; + --timeline-bg: rgba(255,105,180, 0.2); +} +.container .timeline.red { + --timeline-color: #f00; + --timeline-bg: rgba(255,0,0, 0.2); +} +.container .timeline.purple { + --timeline-color: #6f42c1; + --timeline-bg: rgba(111,66,193, 0.2); +} +.container .timeline.orange { + --timeline-color: #ff8c00; + --timeline-bg: rgba(255,140,0, 0.2); +} +.container .timeline.green { + --timeline-color: #5cb85c; + --timeline-bg: rgba(92,184,92, 0.2); +} +.container .timeline .timeline-item { + margin: 0 0 15px; +} +.container .timeline .timeline-item:hover .item-circle:before { + border-color: var(--timeline-color, #49b1f5); +} +.container .timeline .timeline-item.headline .timeline-item-title .item-circle > p { + font-weight: 600; + font-size: 1.2em; +} +.container .timeline .timeline-item.headline .timeline-item-title .item-circle:before { + left: -28px; + border: 4px solid var(--timeline-color, #49b1f5); +} +.container .timeline .timeline-item.headline:hover .item-circle:before { + border-color: var(--pseudo-hover); +} +.container .timeline .timeline-item .timeline-item-title { + position: relative; +} +.container .timeline .timeline-item .item-circle:before { + position: absolute; + top: 50%; + left: -27px; + width: 6px; + height: 6px; + border: 3px solid var(--pseudo-hover); + border-radius: 50%; + background: var(--card-bg); + content: ''; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; + -webkit-transform: translate(0, -50%); + -moz-transform: translate(0, -50%); + -o-transform: translate(0, -50%); + -ms-transform: translate(0, -50%); + transform: translate(0, -50%); +} +.container .timeline .timeline-item .item-circle > p { + margin: 0 0 8px; + font-weight: 500; +} +.container .timeline .timeline-item .timeline-item-content { + position: relative; + padding: 12px 15px; + border-radius: 8px; + background: var(--timeline-bg, #e4f3fd); + font-size: 0.93em; +} +.container .timeline .timeline-item .timeline-item-content > :last-child { + margin-bottom: 0; +} +.container .timeline + .timeline { + margin-top: -20px; +} +[data-theme='dark'] { + --global-bg: #0d0d0d; + --font-color: rgba(255,255,255,0.7); + --hr-border: rgba(255,255,255,0.4); + --hr-before-color: rgba(255,255,255,0.7); + --search-bg: #121212; + --search-input-color: rgba(255,255,255,0.7); + --search-a-color: rgba(255,255,255,0.7); + --preloader-bg: #0d0d0d; + --preloader-color: rgba(255,255,255,0.7); + --tab-border-color: #2c2c2c; + --tab-botton-bg: #2c2c2c; + --tab-botton-color: rgba(255,255,255,0.7); + --tab-button-hover-bg: #383838; + --tab-button-active-bg: #121212; + --card-bg: #121212; + --sidebar-bg: #121212; + --sidebar-menu-bg: #1f1f1f; + --btn-hover-color: #787878; + --btn-color: rgba(255,255,255,0.7); + --btn-bg: #1f1f1f; + --text-bg-hover: #383838; + --light-grey: rgba(255,255,255,0.7); + --dark-grey: rgba(255,255,255,0.2); + --white: rgba(255,255,255,0.9); + --text-highlight-color: rgba(255,255,255,0.9); + --blockquote-color: rgba(255,255,255,0.7); + --blockquote-bg: #2c2c2c; + --reward-pop: #2c2c2c; + --toc-link-color: rgba(255,255,255,0.6); + --scrollbar-color: #525252; + --timeline-bg: #1f1f1f; + --zoom-bg: #121212; + --mark-bg: rgba(0,0,0,0.6); +} +[data-theme='dark'] #web_bg:before { + position: absolute; + width: 100%; + height: 100%; + background-color: rgba(0,0,0,0.7); + content: ''; +} +[data-theme='dark'] .container code { + background: #2c2c2c; +} +[data-theme='dark'] .container pre > code { + background: #171717; +} +[data-theme='dark'] .container figure.highlight { + -webkit-box-shadow: none; + box-shadow: none; +} +[data-theme='dark'] .container .note code { + background: rgba(27,31,35,0.05); +} +[data-theme='dark'] .container .aplayer { + filter: brightness(0.8); +} +[data-theme='dark'] .container kbd { + border-color: #696969; + background-color: #525252; + color: #e2f1ff; +} +[data-theme='dark'] #page-header.nav-fixed > #nav, +[data-theme='dark'] #page-header.not-top-img > #nav { + background: rgba(18,18,18,0.8); + -webkit-box-shadow: 0 5px 6px -5px rgba(133,133,133,0); + box-shadow: 0 5px 6px -5px rgba(133,133,133,0); +} +[data-theme='dark'] #post-comment .comment-switch { + background: #2c2c2c !important; +} +[data-theme='dark'] #post-comment .comment-switch #switch-btn { + filter: brightness(0.8); +} +[data-theme='dark'] .note { + filter: brightness(0.8); +} +[data-theme='dark'] .hide-button, +[data-theme='dark'] .btn-beautify, +[data-theme='dark'] .hl-label, +[data-theme='dark'] #post-outdate-notice, +[data-theme='dark'] .error-img, +[data-theme='dark'] .container iframe, +[data-theme='dark'] .gist, +[data-theme='dark'] .ads-wrap { + filter: brightness(0.8); +} +[data-theme='dark'] img { + filter: brightness(0.8); +} +[data-theme='dark'] #aside-content .aside-list > .aside-list-item:not(:last-child) { + border-bottom: 1px dashed rgba(255,255,255,0.1); +} +[data-theme='dark'] #gitalk-container { + filter: brightness(0.8); +} +[data-theme='dark'] #gitalk-container svg { + fill: rgba(255,255,255,0.9) !important; +} +[data-theme='dark'] #disqusjs #dsqjs:hover, +[data-theme='dark'] #disqusjs #dsqjs:focus, +[data-theme='dark'] #disqusjs #dsqjs .dsqjs-tab-active, +[data-theme='dark'] #disqusjs #dsqjs .dsqjs-no-comment { + color: rgba(255,255,255,0.7); +} +[data-theme='dark'] #disqusjs #dsqjs .dsqjs-order-label { + background-color: #1f1f1f; +} +[data-theme='dark'] #disqusjs #dsqjs .dsqjs-post-body { + color: rgba(255,255,255,0.7); +} +[data-theme='dark'] #disqusjs #dsqjs .dsqjs-post-body code, +[data-theme='dark'] #disqusjs #dsqjs .dsqjs-post-body pre { + background: #2c2c2c; +} +[data-theme='dark'] #disqusjs #dsqjs .dsqjs-post-body blockquote { + color: rgba(255,255,255,0.7); +} +[data-theme='dark'] #artitalk_main #lazy { + background: #121212; +} +[data-theme='dark'] #operare_artitalk .c2 { + background: #121212; +} +@media screen and (max-width: 900px) { + [data-theme='dark'] #card-toc { + background: #1f1f1f; + } +} +[data-theme='dark'] .artalk.atk-dark-mode, +[data-theme='dark'] .atk-layer-wrap.atk-dark-mode { + --at-color-font: rgba(255,255,255,0.7); + --at-color-meta: rgba(255,255,255,0.7); + --at-color-grey: rgba(255,255,255,0.7); +} +[data-theme='dark'] .atk-send-btn, +[data-theme='dark'] .atk-badge { + color: rgba(255,255,255,0.7) !important; +} +[data-theme='dark'] #waline-wrap { + --waline-color: rgba(255,255,255,0.7); + --waline-dark-grey: rgba(255,255,255,0.7); + --waline-info-color: rgba(255,255,255,0.5); +} +.read-mode { + --font-color: #4c4948; + --readmode-light-color: #fff; + --white: #4c4948; + --light-grey: #4c4948; + --gray: #d6dbdf; + --hr-border: #d6dbdf; + --hr-before-color: #b9c2c9; + --highlight-bg: #f7f7f7; + --exit-btn-bg: #c0c0c0; + --exit-btn-color: #fff; + --exit-btn-hover: #8d8d8d; + --pseudo-hover: none; +} +[data-theme='dark'] .read-mode { + --font-color: rgba(255,255,255,0.7); + --readmode-light-color: #0d0d0d; + --white: rgba(255,255,255,0.9); + --light-grey: rgba(255,255,255,0.7); + --gray: rgba(255,255,255,0.7); + --hr-border: rgba(255,255,255,0.5); + --hr-before-color: rgba(255,255,255,0.7); + --highlight-bg: #171717; + --exit-btn-bg: #1f1f1f; + --exit-btn-color: rgba(255,255,255,0.9); + --exit-btn-hover: #525252; +} +.read-mode { + background: var(--readmode-light-color); +} +.read-mode .exit-readmode { + position: fixed; + top: 30px; + right: 30px; + z-index: 100; + width: 40px; + height: 40px; + background: var(--exit-btn-bg); + color: var(--exit-btn-color); + font-size: 16px; + -webkit-transition: background 0.3s; + -moz-transition: background 0.3s; + -o-transition: background 0.3s; + -ms-transition: background 0.3s; + transition: background 0.3s; + border-radius: 8px; +} +@media screen and (max-width: 768px) { + .read-mode .exit-readmode { + top: initial; + bottom: 30px; + } +} +.read-mode .exit-readmode:hover { + background: var(--exit-btn-hover); +} +.read-mode #aside-content { + display: none; +} +.read-mode #page-header.post-bg { + background: none !important; +} +.read-mode #page-header.post-bg:before { + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); +} +.read-mode #page-header.post-bg > #post-info { + text-align: center; +} +.read-mode #post { + margin: 0 auto; + background: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} +.read-mode #post:hover { + -webkit-box-shadow: none; + box-shadow: none; +} +.read-mode > canvas { + display: none !important; +} +.read-mode .highlight-tools, +.read-mode #footer, +.read-mode #post > *:not(#post-info):not(.post-content), +.read-mode #nav, +.read-mode #post-outdate-notice, +.read-mode #web_bg, +.read-mode #rightside, +.read-mode .not-top-img { + display: none !important; +} +.read-mode .container a { + color: #99a9bf; +} +.read-mode .container pre, +.read-mode .container .highlight:not(.js-file-line-container) { + background: var(--highlight-bg) !important; +} +.read-mode .container pre *, +.read-mode .container .highlight:not(.js-file-line-container) * { + color: var(--font-color) !important; +} +.read-mode .container figure.highlight { + border-radius: 0 !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; +} +.read-mode .container figure.highlight > :not(.highlight-tools) { + display: block !important; +} +.read-mode .container figure.highlight .line:before { + color: var(--font-color) !important; +} +.read-mode .container figure.highlight .hljs { + background: var(--highlight-bg) !important; +} +.read-mode .container h1, +.read-mode .container h2, +.read-mode .container h3, +.read-mode .container h4, +.read-mode .container h5, +.read-mode .container h6 { + padding: 0; +} +.read-mode .container h1:before, +.read-mode .container h2:before, +.read-mode .container h3:before, +.read-mode .container h4:before, +.read-mode .container h5:before, +.read-mode .container h6:before { + content: ''; +} +.read-mode .container h1:hover, +.read-mode .container h2:hover, +.read-mode .container h3:hover, +.read-mode .container h4:hover, +.read-mode .container h5:hover, +.read-mode .container h6:hover { + padding: 0; +} +.read-mode .container ul:hover:before, +.read-mode .container li:hover:before, +.read-mode .container ol:hover:before { + -webkit-transform: none !important; + -moz-transform: none !important; + -o-transform: none !important; + -ms-transform: none !important; + transform: none !important; +} +.read-mode .container ol:before, +.read-mode .container li:before { + background: transparent !important; + color: var(--font-color) !important; +} +.read-mode .container ul >li:before { + border-color: var(--gray) !important; +} +.read-mode .container .tabs { + border: 2px solid var(--tab-border-color); +} +.read-mode .container .tabs > .nav-tabs { + background: transparent; +} +.read-mode .container .tabs > .nav-tabs > .tab { + border-top: none !important; +} +.read-mode .container .tabs > .tab-contents .tab-item-content.active { + -webkit-animation: none; + -moz-animation: none; + -o-animation: none; + -ms-animation: none; + animation: none; +} +.read-mode .container code { + color: var(--font-color); +} +.read-mode .container blockquote { + border-color: var(--gray); + background-color: var(--readmode-light-color); +} +.read-mode .container kbd { + border: 1px solid var(--gray); + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; + color: var(--font-color); +} +.read-mode .container .hide-toggle { + border: 1px solid var(--gray) !important; +} +.read-mode .container .hide-button, +.read-mode .container .btn-beautify, +.read-mode .container .hl-label { + border: 1px solid var(--gray) !important; + background: var(--readmode-light-color) !important; + color: var(--font-color) !important; +} +.read-mode .container .note { + border: 2px solid var(--gray); + border-left-color: var(--gray) !important; + filter: none; + background-color: var(--readmode-light-color) !important; + color: var(--font-color); +} +.read-mode .container .note:before, +.read-mode .container .note .note-icon { + color: var(--font-color); +} +.search-dialog { + position: fixed; + top: 10%; + left: 50%; + z-index: 1001; + display: none; + margin-left: -300px; + padding: 20px; + width: 600px; + background: var(--search-bg); + --search-height: 100vh; + border-radius: 8px; +} +@media screen and (max-width: 768px) { + .search-dialog { + top: 0; + left: 0; + margin: 0; + width: 100%; + height: 100%; + border-radius: 0; + } +} +.search-dialog .search-nav { + margin: 0 0 14px; + color: #49b1f5; + font-size: 1.4em; + line-height: 1; +} +.search-dialog .search-nav .search-dialog-title { + margin-right: 10px; +} +.search-dialog .search-nav .search-close-button { + float: right; + color: #858585; + -webkit-transition: color 0.2s ease-in-out; + -moz-transition: color 0.2s ease-in-out; + -o-transition: color 0.2s ease-in-out; + -ms-transition: color 0.2s ease-in-out; + transition: color 0.2s ease-in-out; +} +.search-dialog .search-nav .search-close-button:hover { + color: #49b1f5; +} +.search-dialog hr { + margin: 15px auto; +} +#search-mask { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1000; + display: none; + background: rgba(0,0,0,0.6); +} diff --git a/css/var.css b/css/var.css new file mode 100644 index 0000000..e69de29 diff --git a/favicon.ico b/favicon.ico deleted file mode 100644 index 33dc508..0000000 Binary files a/favicon.ico and /dev/null differ diff --git a/icons/favicon-16x16.png b/icons/favicon-16x16.png deleted file mode 100644 index 4cc112b..0000000 Binary files a/icons/favicon-16x16.png and /dev/null differ diff --git a/icons/favicon-32x32.png b/icons/favicon-32x32.png deleted file mode 100644 index 58dd863..0000000 Binary files a/icons/favicon-32x32.png and /dev/null differ diff --git a/img/404.jpg b/img/404.jpg new file mode 100644 index 0000000..4bab3c3 Binary files /dev/null and b/img/404.jpg differ diff --git a/img/butterfly-icon.png b/img/butterfly-icon.png new file mode 100644 index 0000000..3992d77 Binary files /dev/null and b/img/butterfly-icon.png differ diff --git a/img/error-page.png b/img/error-page.png new file mode 100644 index 0000000..9d1de96 Binary files /dev/null and b/img/error-page.png differ diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 0000000..56d07f5 Binary files /dev/null and b/img/favicon.ico differ diff --git a/img/friend_404.gif b/img/friend_404.gif new file mode 100644 index 0000000..91dd56a Binary files /dev/null and b/img/friend_404.gif differ diff --git a/index.html b/index.html index 052883e..0149f60 100644 --- a/index.html +++ b/index.html @@ -1 +1,165 @@ -
    \ No newline at end of file +深远 + + + + + + + +
    Announcement
    This is my Blog
    Recent Posts
    + + Categories + +
    +
    +
    + + Archives + +
    +
    Website Info
    Article Count :
    3
    Unique Visitors :
    Page Views :
    Last Update :
    \ No newline at end of file diff --git a/js/main.js b/js/main.js new file mode 100644 index 0000000..42cfd97 --- /dev/null +++ b/js/main.js @@ -0,0 +1,923 @@ +document.addEventListener('DOMContentLoaded', () => { + let headerContentWidth, $nav + let mobileSidebarOpen = false + + const adjustMenu = init => { + const getAllWidth = ele => Array.from(ele).reduce((width, i) => width + i.offsetWidth, 0) + + if (init) { + const blogInfoWidth = getAllWidth(document.querySelector('#blog-info > a').children) + const menusWidth = getAllWidth(document.getElementById('menus').children) + headerContentWidth = blogInfoWidth + menusWidth + $nav = document.getElementById('nav') + } + + const hideMenuIndex = window.innerWidth <= 768 || headerContentWidth > $nav.offsetWidth - 120 + $nav.classList.toggle('hide-menu', hideMenuIndex) + } + + // 初始化header + const initAdjust = () => { + adjustMenu(true) + $nav.classList.add('show') + } + + // sidebar menus + const sidebarFn = { + open: () => { + btf.overflowPaddingR.add() + btf.animateIn(document.getElementById('menu-mask'), 'to_show 0.5s') + document.getElementById('sidebar-menus').classList.add('open') + mobileSidebarOpen = true + }, + close: () => { + btf.overflowPaddingR.remove() + btf.animateOut(document.getElementById('menu-mask'), 'to_hide 0.5s') + document.getElementById('sidebar-menus').classList.remove('open') + mobileSidebarOpen = false + } + } + + /** + * 首頁top_img底下的箭頭 + */ + const scrollDownInIndex = () => { + const handleScrollToDest = () => { + btf.scrollToDest(document.getElementById('content-inner').offsetTop, 300) + } + + const $scrollDownEle = document.getElementById('scroll-down') + $scrollDownEle && btf.addEventListenerPjax($scrollDownEle, 'click', handleScrollToDest) + } + + /** + * 代碼 + * 只適用於Hexo默認的代碼渲染 + */ + const addHighlightTool = () => { + const highLight = GLOBAL_CONFIG.highlight + if (!highLight) return + + const { highlightCopy, highlightLang, highlightHeightLimit, highlightFullpage, highlightMacStyle, plugin } = highLight + const isHighlightShrink = GLOBAL_CONFIG_SITE.isHighlightShrink + const isShowTool = highlightCopy || highlightLang || isHighlightShrink !== undefined || highlightFullpage || highlightMacStyle + const $figureHighlight = plugin === 'highlight.js' ? document.querySelectorAll('figure.highlight') : document.querySelectorAll('pre[class*="language-"]') + + if (!((isShowTool || highlightHeightLimit) && $figureHighlight.length)) return + + const isPrismjs = plugin === 'prismjs' + const highlightShrinkClass = isHighlightShrink === true ? 'closed' : '' + const highlightShrinkEle = isHighlightShrink !== undefined ? '' : '' + const highlightCopyEle = highlightCopy ? '
    ' : '' + const highlightMacStyleEle = '
    ' + const highlightFullpageEle = highlightFullpage ? '' : '' + + const alertInfo = (ele, text) => { + if (GLOBAL_CONFIG.Snackbar !== undefined) { + btf.snackbarShow(text) + } else { + ele.textContent = text + ele.style.opacity = 1 + setTimeout(() => { ele.style.opacity = 0 }, 800) + } + } + + const copy = async (text, ctx) => { + try { + await navigator.clipboard.writeText(text) + alertInfo(ctx, GLOBAL_CONFIG.copy.success) + } catch (err) { + console.error('Failed to copy: ', err) + alertInfo(ctx, GLOBAL_CONFIG.copy.noSupport) + } + } + + // click events + const highlightCopyFn = (ele, clickEle) => { + const $buttonParent = ele.parentNode + $buttonParent.classList.add('copy-true') + const preCodeSelector = isPrismjs ? 'pre code' : 'table .code pre' + const codeElement = $buttonParent.querySelector(preCodeSelector) + if (!codeElement) return + copy(codeElement.innerText, clickEle.previousElementSibling) + $buttonParent.classList.remove('copy-true') + } + + const highlightShrinkFn = ele => ele.classList.toggle('closed') + + const codeFullpage = (item, clickEle) => { + const wrapEle = item.closest('figure.highlight') + const isFullpage = wrapEle.classList.toggle('code-fullpage') + + document.body.style.overflow = isFullpage ? 'hidden' : '' + clickEle.classList.toggle('fa-down-left-and-up-right-to-center', isFullpage) + clickEle.classList.toggle('fa-up-right-and-down-left-from-center', !isFullpage) + } + + const highlightToolsFn = e => { + const $target = e.target.classList + const currentElement = e.currentTarget + if ($target.contains('expand')) highlightShrinkFn(currentElement) + else if ($target.contains('copy-button')) highlightCopyFn(currentElement, e.target) + else if ($target.contains('fullpage-button')) codeFullpage(currentElement, e.target) + } + + const expandCode = e => e.currentTarget.classList.toggle('expand-done') + + // 獲取隱藏狀態下元素的真實高度 + const getActualHeight = item => { + const hiddenElements = new Map() + + const fix = () => { + let current = item + while (current !== document.body && current != null) { + if (window.getComputedStyle(current).display === 'none') { + hiddenElements.set(current, current.getAttribute('style') || '') + } + current = current.parentNode + } + + const style = 'visibility: hidden !important; display: block !important;' + hiddenElements.forEach((originalStyle, elem) => { + elem.setAttribute('style', originalStyle ? originalStyle + ';' + style : style) + }) + } + + const restore = () => { + hiddenElements.forEach((originalStyle, elem) => { + if (originalStyle === '') elem.removeAttribute('style') + else elem.setAttribute('style', originalStyle) + }) + } + + fix() + const height = item.offsetHeight + restore() + return height + } + + const createEle = (lang, item) => { + const fragment = document.createDocumentFragment() + + if (isShowTool) { + const hlTools = document.createElement('div') + hlTools.className = `highlight-tools ${highlightShrinkClass}` + hlTools.innerHTML = highlightMacStyleEle + highlightShrinkEle + lang + highlightCopyEle + highlightFullpageEle + btf.addEventListenerPjax(hlTools, 'click', highlightToolsFn) + fragment.appendChild(hlTools) + } + + if (highlightHeightLimit && getActualHeight(item) > highlightHeightLimit + 30) { + const ele = document.createElement('div') + ele.className = 'code-expand-btn' + ele.innerHTML = '' + btf.addEventListenerPjax(ele, 'click', expandCode) + fragment.appendChild(ele) + } + + isPrismjs ? item.parentNode.insertBefore(fragment, item) : item.insertBefore(fragment, item.firstChild) + } + + $figureHighlight.forEach(item => { + let langName = '' + if (isPrismjs) btf.wrap(item, 'figure', { class: 'highlight' }) + + if (!highlightLang) { + createEle('', item) + return + } + + if (isPrismjs) { + langName = item.getAttribute('data-language') || 'Code' + } else { + langName = item.getAttribute('class').split(' ')[1] + if (langName === 'plain' || langName === undefined) langName = 'Code' + } + createEle(`
    ${langName}
    `, item) + }) + } + + /** + * PhotoFigcaption + */ + const addPhotoFigcaption = () => { + if (!GLOBAL_CONFIG.isPhotoFigcaption) return + document.querySelectorAll('#article-container img').forEach(item => { + const altValue = item.title || item.alt + if (!altValue) return + const ele = document.createElement('div') + ele.className = 'img-alt text-center' + ele.textContent = altValue + item.insertAdjacentElement('afterend', ele) + }) + } + + /** + * Lightbox + */ + const runLightbox = () => { + btf.loadLightbox(document.querySelectorAll('#article-container img:not(.no-lightbox)')) + } + + /** + * justified-gallery 圖庫排版 + */ + + const fetchUrl = async url => { + const response = await fetch(url) + return await response.json() + } + + const runJustifiedGallery = (item, data, isButton = false, tabs) => { + const dataLength = data.length + + const ig = new InfiniteGrid.JustifiedInfiniteGrid(item, { + gap: 5, + isConstantSize: true, + sizeRange: [150, 600], + // useResizeObserver: true, + // observeChildren: true, + useTransform: true + // useRecycle: false + }) + + const replaceDq = str => str.replace(/"/g, '"') // replace double quotes to " + + const getItems = (nextGroupKey, count) => { + const nextItems = [] + const startCount = (nextGroupKey - 1) * count + + for (let i = 0; i < count; ++i) { + const num = startCount + i + if (num >= dataLength) { + break + } + + const item = data[num] + const alt = item.alt ? `alt="${replaceDq(item.alt)}"` : '' + const title = item.title ? `title="${replaceDq(item.title)}"` : '' + + nextItems.push(`
    + +
    `) + } + return nextItems + } + + const buttonText = GLOBAL_CONFIG.infinitegrid.buttonText + const addButton = item => { + const button = document.createElement('button') + button.innerHTML = buttonText + '' + + button.addEventListener('click', e => { + e.target.closest('button').remove() + btf.setLoading.add(item) + appendItem(ig.getGroups().length + 1, 10) + }, { once: true }) + + item.insertAdjacentElement('afterend', button) + } + + const appendItem = (nextGroupKey, count) => { + ig.append(getItems(nextGroupKey, count), nextGroupKey) + } + + const maxGroupKey = Math.ceil(dataLength / 10) + let isLayoutHidden = false + + const completeFn = e => { + if (tabs) { + const parentNode = item.parentNode + + if (isLayoutHidden) { + parentNode.style.visibility = 'visible' + } + + if (item.offsetHeight === 0) { + parentNode.style.visibility = 'hidden' + isLayoutHidden = true + } + } + + const { updated, isResize, mounted } = e + if (!updated.length || !mounted.length || isResize) { + return + } + + btf.loadLightbox(item.querySelectorAll('img:not(.medium-zoom-image)')) + + if (ig.getGroups().length === maxGroupKey) { + btf.setLoading.remove(item) + !tabs && ig.off('renderComplete', completeFn) + return + } + + if (isButton) { + btf.setLoading.remove(item) + addButton(item) + } + } + + const requestAppendFn = btf.debounce(e => { + const nextGroupKey = (+e.groupKey || 0) + 1 + appendItem(nextGroupKey, 10) + + if (nextGroupKey === maxGroupKey) { + ig.off('requestAppend', requestAppendFn) + } + }, 300) + + btf.setLoading.add(item) + ig.on('renderComplete', completeFn) + + if (isButton) { + appendItem(1, 10) + } else { + ig.on('requestAppend', requestAppendFn) + ig.renderItems() + } + + btf.addGlobalFn('pjaxSendOnce', () => { ig.destroy() }) + } + + const addJustifiedGallery = async (ele, tabs = false) => { + if (!ele.length) return + const init = async () => { + for (const item of ele) { + if (btf.isHidden(item) || item.classList.contains('loaded')) continue + + const isButton = item.getAttribute('data-button') === 'true' + const children = item.firstElementChild + const text = children.textContent + children.textContent = '' + item.classList.add('loaded') + try { + const content = item.getAttribute('data-type') === 'url' ? await fetchUrl(text) : JSON.parse(text) + runJustifiedGallery(children, content, isButton, tabs) + } catch (e) { + console.error('Gallery data parsing failed:', e) + } + } + } + + if (typeof InfiniteGrid === 'function') { + init() + } else { + await btf.getScript(`${GLOBAL_CONFIG.infinitegrid.js}`) + init() + } + } + + /** + * rightside scroll percent + */ + const rightsideScrollPercent = currentTop => { + const scrollPercent = btf.getScrollPercent(currentTop, document.body) + const goUpElement = document.getElementById('go-up') + + if (scrollPercent < 95) { + goUpElement.classList.add('show-percent') + goUpElement.querySelector('.scroll-percent').textContent = scrollPercent + } else { + goUpElement.classList.remove('show-percent') + } + } + + /** + * 滾動處理 + */ + const scrollFn = () => { + const $rightside = document.getElementById('rightside') + const innerHeight = window.innerHeight + 56 + let initTop = 0 + const $header = document.getElementById('page-header') + const isChatBtn = typeof chatBtn !== 'undefined' + const isShowPercent = GLOBAL_CONFIG.percent.rightside + + // 檢查文檔高度是否小於視窗高度 + const checkDocumentHeight = () => { + if (document.body.scrollHeight <= innerHeight) { + $rightside.classList.add('rightside-show') + return true + } + return false + } + + // 如果文檔高度小於視窗高度,直接返回 + if (checkDocumentHeight()) return + + // find the scroll direction + const scrollDirection = currentTop => { + const result = currentTop > initTop // true is down & false is up + initTop = currentTop + return result + } + + let flag = '' + const scrollTask = btf.throttle(() => { + const currentTop = window.scrollY || document.documentElement.scrollTop + const isDown = scrollDirection(currentTop) + if (currentTop > 56) { + if (flag === '') { + $header.classList.add('nav-fixed') + $rightside.classList.add('rightside-show') + } + + if (isDown) { + if (flag !== 'down') { + $header.classList.remove('nav-visible') + isChatBtn && window.chatBtn.hide() + flag = 'down' + } + } else { + if (flag !== 'up') { + $header.classList.add('nav-visible') + isChatBtn && window.chatBtn.show() + flag = 'up' + } + } + } else { + flag = '' + if (currentTop === 0) { + $header.classList.remove('nav-fixed', 'nav-visible') + } + $rightside.classList.remove('rightside-show') + } + + isShowPercent && rightsideScrollPercent(currentTop) + checkDocumentHeight() + }, 300) + + btf.addEventListenerPjax(window, 'scroll', scrollTask, { passive: true }) + } + + /** + * toc,anchor + */ + const scrollFnToDo = () => { + const isToc = GLOBAL_CONFIG_SITE.isToc + const isAnchor = GLOBAL_CONFIG.isAnchor + const $article = document.getElementById('article-container') + + if (!($article && (isToc || isAnchor))) return + + let $tocLink, $cardToc, autoScrollToc, $tocPercentage, isExpand + + if (isToc) { + const $cardTocLayout = document.getElementById('card-toc') + $cardToc = $cardTocLayout.querySelector('.toc-content') + $tocLink = $cardToc.querySelectorAll('.toc-link') + $tocPercentage = $cardTocLayout.querySelector('.toc-percentage') + isExpand = $cardToc.classList.contains('is-expand') + + // toc元素點擊 + const tocItemClickFn = e => { + const target = e.target.closest('.toc-link') + if (!target) return + + e.preventDefault() + btf.scrollToDest(btf.getEleTop(document.getElementById(decodeURI(target.getAttribute('href')).replace('#', ''))), 300) + if (window.innerWidth < 900) { + $cardTocLayout.classList.remove('open') + } + } + + btf.addEventListenerPjax($cardToc, 'click', tocItemClickFn) + + autoScrollToc = item => { + const sidebarHeight = $cardToc.clientHeight + const itemOffsetTop = item.offsetTop + const itemHeight = item.clientHeight + const scrollTop = $cardToc.scrollTop + const offset = itemOffsetTop - scrollTop + const middlePosition = (sidebarHeight - itemHeight) / 2 + + if (offset !== middlePosition) { + $cardToc.scrollTop = scrollTop + (offset - middlePosition) + } + } + + // 處理 hexo-blog-encrypt 事件 + $cardToc.style.display = 'block' + } + + // find head position & add active class + const $articleList = $article.querySelectorAll('h1,h2,h3,h4,h5,h6') + let detectItem = '' + + const findHeadPosition = top => { + if (top === 0) return false + + let currentId = '' + let currentIndex = '' + + for (let i = 0; i < $articleList.length; i++) { + const ele = $articleList[i] + if (top > btf.getEleTop(ele) - 80) { + const id = ele.id + currentId = id ? '#' + encodeURI(id) : '' + currentIndex = i + } else { + break + } + } + + if (detectItem === currentIndex) return + + if (isAnchor) btf.updateAnchor(currentId) + + detectItem = currentIndex + + if (isToc) { + $cardToc.querySelectorAll('.active').forEach(i => i.classList.remove('active')) + + if (currentId) { + const currentActive = $tocLink[currentIndex] + currentActive.classList.add('active') + + setTimeout(() => autoScrollToc(currentActive), 0) + + if (!isExpand) { + let parent = currentActive.parentNode + while (!parent.matches('.toc')) { + if (parent.matches('li')) parent.classList.add('active') + parent = parent.parentNode + } + } + } + } + } + + // main of scroll + const tocScrollFn = btf.throttle(() => { + const currentTop = window.scrollY || document.documentElement.scrollTop + if (isToc && GLOBAL_CONFIG.percent.toc) { + $tocPercentage.textContent = btf.getScrollPercent(currentTop, $article) + } + findHeadPosition(currentTop) + }, 100) + + btf.addEventListenerPjax(window, 'scroll', tocScrollFn, { passive: true }) + } + + const handleThemeChange = mode => { + const globalFn = window.globalFn || {} + const themeChange = globalFn.themeChange || {} + if (!themeChange) { + return + } + + Object.keys(themeChange).forEach(key => { + const themeChangeFn = themeChange[key] + if (['disqus', 'disqusjs'].includes(key)) { + setTimeout(() => themeChangeFn(mode), 300) + } else { + themeChangeFn(mode) + } + }) + } + + /** + * Rightside + */ + const rightSideFn = { + readmode: () => { // read mode + const $body = document.body + const newEle = document.createElement('button') + + const exitReadMode = () => { + $body.classList.remove('read-mode') + newEle.remove() + newEle.removeEventListener('click', exitReadMode) + } + + $body.classList.add('read-mode') + newEle.type = 'button' + newEle.className = 'fas fa-sign-out-alt exit-readmode' + newEle.addEventListener('click', exitReadMode) + $body.appendChild(newEle) + }, + darkmode: () => { // switch between light and dark mode + const willChangeMode = document.documentElement.getAttribute('data-theme') === 'dark' ? 'light' : 'dark' + if (willChangeMode === 'dark') { + btf.activateDarkMode() + GLOBAL_CONFIG.Snackbar !== undefined && btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night) + } else { + btf.activateLightMode() + GLOBAL_CONFIG.Snackbar !== undefined && btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day) + } + btf.saveToLocal.set('theme', willChangeMode, 2) + handleThemeChange(willChangeMode) + }, + 'rightside-config': item => { // Show or hide rightside-hide-btn + const hideLayout = item.firstElementChild + if (hideLayout.classList.contains('show')) { + hideLayout.classList.add('status') + setTimeout(() => { + hideLayout.classList.remove('status') + }, 300) + } + + hideLayout.classList.toggle('show') + }, + 'go-up': () => { // Back to top + btf.scrollToDest(0, 500) + }, + 'hide-aside-btn': () => { // Hide aside + const $htmlDom = document.documentElement.classList + const saveStatus = $htmlDom.contains('hide-aside') ? 'show' : 'hide' + btf.saveToLocal.set('aside-status', saveStatus, 2) + $htmlDom.toggle('hide-aside') + }, + 'mobile-toc-button': (p, item) => { // Show mobile toc + const tocEle = document.getElementById('card-toc') + tocEle.style.transition = 'transform 0.3s ease-in-out' + + const tocEleHeight = tocEle.clientHeight + const btData = item.getBoundingClientRect() + + const tocEleBottom = window.innerHeight - btData.bottom - 30 + if (tocEleHeight > tocEleBottom) { + tocEle.style.transformOrigin = `right ${tocEleHeight - tocEleBottom - btData.height / 2}px` + } + + tocEle.classList.toggle('open') + tocEle.addEventListener('transitionend', () => { + tocEle.style.cssText = '' + }, { once: true }) + }, + 'chat-btn': () => { // Show chat + window.chatBtnFn() + }, + translateLink: () => { // switch between traditional and simplified chinese + window.translateFn.translatePage() + } + } + + document.getElementById('rightside').addEventListener('click', e => { + const $target = e.target.closest('[id]') + if ($target && rightSideFn[$target.id]) { + rightSideFn[$target.id](e.currentTarget, $target) + } + }) + + /** + * menu + * 側邊欄sub-menu 展開/收縮 + */ + const clickFnOfSubMenu = () => { + const handleClickOfSubMenu = e => { + const target = e.target.closest('.site-page.group') + if (!target) return + target.classList.toggle('hide') + } + + const menusItems = document.querySelector('#sidebar-menus .menus_items') + menusItems && menusItems.addEventListener('click', handleClickOfSubMenu) + } + + /** + * 手机端目录点击 + */ + const openMobileMenu = () => { + const toggleMenu = document.getElementById('toggle-menu') + if (!toggleMenu) return + btf.addEventListenerPjax(toggleMenu, 'click', () => { sidebarFn.open() }) + } + + /** + * 複製時加上版權信息 + */ + const addCopyright = () => { + const { limitCount, languages } = GLOBAL_CONFIG.copyright + + const handleCopy = (e) => { + e.preventDefault() + const copyFont = window.getSelection(0).toString() + let textFont = copyFont + if (copyFont.length > limitCount) { + textFont = `${copyFont}\n\n\n${languages.author}\n${languages.link}${window.location.href}\n${languages.source}\n${languages.info}` + } + if (e.clipboardData) { + return e.clipboardData.setData('text', textFont) + } else { + return window.clipboardData.setData('text', textFont) + } + } + + document.body.addEventListener('copy', handleCopy) + } + + /** + * 網頁運行時間 + */ + const addRuntime = () => { + const $runtimeCount = document.getElementById('runtimeshow') + if ($runtimeCount) { + const publishDate = $runtimeCount.getAttribute('data-publishDate') + $runtimeCount.textContent = `${btf.diffDate(publishDate)} ${GLOBAL_CONFIG.runtime}` + } + } + + /** + * 最後一次更新時間 + */ + const addLastPushDate = () => { + const $lastPushDateItem = document.getElementById('last-push-date') + if ($lastPushDateItem) { + const lastPushDate = $lastPushDateItem.getAttribute('data-lastPushDate') + $lastPushDateItem.textContent = btf.diffDate(lastPushDate, true) + } + } + + /** + * table overflow + */ + const addTableWrap = () => { + const $table = document.querySelectorAll('#article-container table') + if (!$table.length) return + + $table.forEach(item => { + if (!item.closest('.highlight')) { + btf.wrap(item, 'div', { class: 'table-wrap' }) + } + }) + } + + /** + * tag-hide + */ + const clickFnOfTagHide = () => { + const hideButtons = document.querySelectorAll('#article-container .hide-button') + if (!hideButtons.length) return + hideButtons.forEach(item => item.addEventListener('click', e => { + const currentTarget = e.currentTarget + currentTarget.classList.add('open') + addJustifiedGallery(currentTarget.nextElementSibling.querySelectorAll('.gallery-container')) + }, { once: true })) + } + + const tabsFn = () => { + const navTabsElements = document.querySelectorAll('#article-container .tabs') + if (!navTabsElements.length) return + + const setActiveClass = (elements, activeIndex) => { + elements.forEach((el, index) => { + el.classList.toggle('active', index === activeIndex) + }) + } + + const handleNavClick = e => { + const target = e.target.closest('button') + if (!target || target.classList.contains('active')) return + + const navItems = [...e.currentTarget.children] + const tabContents = [...e.currentTarget.nextElementSibling.children] + const indexOfButton = navItems.indexOf(target) + setActiveClass(navItems, indexOfButton) + e.currentTarget.classList.remove('no-default') + setActiveClass(tabContents, indexOfButton) + addJustifiedGallery(tabContents[indexOfButton].querySelectorAll('.gallery-container'), true) + } + + const handleToTopClick = tabElement => e => { + if (e.target.closest('button')) { + btf.scrollToDest(btf.getEleTop(tabElement), 300) + } + } + + navTabsElements.forEach(tabElement => { + btf.addEventListenerPjax(tabElement.firstElementChild, 'click', handleNavClick) + btf.addEventListenerPjax(tabElement.lastElementChild, 'click', handleToTopClick(tabElement)) + }) + } + + const toggleCardCategory = () => { + const cardCategory = document.querySelector('#aside-cat-list.expandBtn') + if (!cardCategory) return + + const handleToggleBtn = e => { + const target = e.target + if (target.nodeName === 'I') { + e.preventDefault() + target.parentNode.classList.toggle('expand') + } + } + btf.addEventListenerPjax(cardCategory, 'click', handleToggleBtn, true) + } + + const addPostOutdateNotice = () => { + const ele = document.getElementById('post-outdate-notice') + if (!ele) return + + const { limitDay, messagePrev, messageNext, postUpdate } = JSON.parse(ele.getAttribute('data')) + const diffDay = btf.diffDate(postUpdate) + if (diffDay >= limitDay) { + ele.textContent = `${messagePrev} ${diffDay} ${messageNext}` + ele.hidden = false + } + } + + const lazyloadImg = () => { + window.lazyLoadInstance = new LazyLoad({ + elements_selector: 'img', + threshold: 0, + data_src: 'lazy-src' + }) + + btf.addGlobalFn('pjaxComplete', () => { + window.lazyLoadInstance.update() + }, 'lazyload') + } + + const relativeDate = selector => { + selector.forEach(item => { + item.textContent = btf.diffDate(item.getAttribute('datetime'), true) + item.style.display = 'inline' + }) + } + + const justifiedIndexPostUI = () => { + const recentPostsElement = document.getElementById('recent-posts') + if (!(recentPostsElement && recentPostsElement.classList.contains('masonry'))) return + + const init = () => { + const masonryItem = new InfiniteGrid.MasonryInfiniteGrid('.recent-post-items', { + gap: { horizontal: 10, vertical: 20 }, + useTransform: true, + useResizeObserver: true + }) + masonryItem.renderItems() + btf.addGlobalFn('pjaxCompleteOnce', () => { masonryItem.destroy() }, 'removeJustifiedIndexPostUI') + } + + typeof InfiniteGrid === 'function' ? init() : btf.getScript(`${GLOBAL_CONFIG.infinitegrid.js}`).then(init) + } + + const unRefreshFn = () => { + window.addEventListener('resize', () => { + adjustMenu(false) + mobileSidebarOpen && btf.isHidden(document.getElementById('toggle-menu')) && sidebarFn.close() + }) + + const menuMask = document.getElementById('menu-mask') + menuMask && menuMask.addEventListener('click', () => { sidebarFn.close() }) + + clickFnOfSubMenu() + GLOBAL_CONFIG.islazyload && lazyloadImg() + GLOBAL_CONFIG.copyright !== undefined && addCopyright() + + if (GLOBAL_CONFIG.autoDarkmode) { + window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => { + if (btf.saveToLocal.get('theme') !== undefined) return + e.matches ? handleThemeChange('dark') : handleThemeChange('light') + }) + } + } + + const forPostFn = () => { + addHighlightTool() + addPhotoFigcaption() + addJustifiedGallery(document.querySelectorAll('#article-container .gallery-container')) + runLightbox() + scrollFnToDo() + addTableWrap() + clickFnOfTagHide() + tabsFn() + } + + const refreshFn = () => { + initAdjust() + justifiedIndexPostUI() + + if (GLOBAL_CONFIG_SITE.isPost) { + addPostOutdateNotice() + GLOBAL_CONFIG.relativeDate.post && relativeDate(document.querySelectorAll('#post-meta time')) + } else { + GLOBAL_CONFIG.relativeDate.homepage && relativeDate(document.querySelectorAll('#recent-posts time')) + GLOBAL_CONFIG.runtime && addRuntime() + addLastPushDate() + toggleCardCategory() + } + + GLOBAL_CONFIG_SITE.isHome && scrollDownInIndex() + scrollFn() + + forPostFn() + !GLOBAL_CONFIG_SITE.isShuoshuo && btf.switchComments(document) + openMobileMenu() + } + + btf.addGlobalFn('pjaxComplete', refreshFn, 'refreshFn') + refreshFn() + unRefreshFn() + + // 處理 hexo-blog-encrypt 事件 + window.addEventListener('hexo-blog-decrypt', e => { + forPostFn() + window.translateFn.translateInitialization() + Object.values(window.globalFn.encrypt).forEach(fn => { + fn() + }) + }) +}) diff --git a/js/search/algolia.js b/js/search/algolia.js new file mode 100644 index 0000000..8624f52 --- /dev/null +++ b/js/search/algolia.js @@ -0,0 +1,174 @@ +window.addEventListener('load', () => { + const { algolia } = GLOBAL_CONFIG + const { appId, apiKey, indexName, hitsPerPage = 5, languages } = algolia + + if (!appId || !apiKey || !indexName) { + return console.error('Algolia setting is invalid!') + } + + const $searchMask = document.getElementById('search-mask') + const $searchDialog = document.querySelector('#algolia-search .search-dialog') + + const animateElements = show => { + const action = show ? 'animateIn' : 'animateOut' + const maskAnimation = show ? 'to_show 0.5s' : 'to_hide 0.5s' + const dialogAnimation = show ? 'titleScale 0.5s' : 'search_close .5s' + btf[action]($searchMask, maskAnimation) + btf[action]($searchDialog, dialogAnimation) + } + + const fixSafariHeight = () => { + if (window.innerWidth < 768) { + $searchDialog.style.setProperty('--search-height', `${window.innerHeight}px`) + } + } + + const openSearch = () => { + btf.overflowPaddingR.add() + animateElements(true) + setTimeout(() => { document.querySelector('#algolia-search .ais-SearchBox-input').focus() }, 100) + + const handleEscape = event => { + if (event.code === 'Escape') { + closeSearch() + document.removeEventListener('keydown', handleEscape) + } + } + + document.addEventListener('keydown', handleEscape) + fixSafariHeight() + window.addEventListener('resize', fixSafariHeight) + } + + const closeSearch = () => { + btf.overflowPaddingR.remove() + animateElements(false) + window.removeEventListener('resize', fixSafariHeight) + } + + const searchClickFn = () => { + btf.addEventListenerPjax(document.querySelector('#search-button > .search'), 'click', openSearch) + } + + const searchFnOnce = () => { + $searchMask.addEventListener('click', closeSearch) + document.querySelector('#algolia-search .search-close-button').addEventListener('click', closeSearch) + } + + const cutContent = (content) => { + if (!content) return '' + const firstOccur = content.indexOf('') + let start = firstOccur - 30 + let end = firstOccur + 120 + let pre = '' + let post = '' + + if (start <= 0) { + start = 0 + end = 140 + } else { + pre = '...' + } + + if (end > content.length) { + end = content.length + } else { + post = '...' + } + + return `${pre}${content.substring(start, end)}${post}` + } + + const disableDiv = [ + document.getElementById('algolia-hits'), + document.getElementById('algolia-pagination'), + document.querySelector('#algolia-info .algolia-stats') + ] + + const searchClient = typeof algoliasearch === 'function' ? algoliasearch : window['algoliasearch/lite'].liteClient + const search = instantsearch({ + indexName, + searchClient: searchClient(appId, apiKey), + searchFunction (helper) { + disableDiv.forEach(item => { + item.style.display = helper.state.query ? '' : 'none' + }) + if (helper.state.query) helper.search() + } + }) + + const widgets = [ + instantsearch.widgets.configure({ hitsPerPage }), + instantsearch.widgets.searchBox({ + container: '#algolia-search-input', + showReset: false, + showSubmit: false, + placeholder: languages.input_placeholder, + showLoadingIndicator: true + }), + instantsearch.widgets.hits({ + container: '#algolia-hits', + templates: { + item (data) { + const link = data.permalink || (GLOBAL_CONFIG.root + data.path) + const result = data._highlightResult + const content = result.contentStripTruncate + ? cutContent(result.contentStripTruncate.value) + : result.contentStrip + ? cutContent(result.contentStrip.value) + : result.content + ? cutContent(result.content.value) + : '' + return ` + + ${result.title.value || 'no-title'} + ${content ? `
    ${content}
    ` : ''} +
    ` + }, + empty (data) { + return `
    ${languages.hits_empty.replace(/\$\{query}/, data.query)}
    ` + } + } + }), + instantsearch.widgets.stats({ + container: '#algolia-info > .algolia-stats', + templates: { + text (data) { + const stats = languages.hits_stats + .replace(/\$\{hits}/, data.nbHits) + .replace(/\$\{time}/, data.processingTimeMS) + return `
    ${stats}` + } + } + }), + instantsearch.widgets.poweredBy({ + container: '#algolia-info > .algolia-poweredBy' + }), + instantsearch.widgets.pagination({ + container: '#algolia-pagination', + totalPages: 5, + templates: { + first: '', + last: '', + previous: '', + next: '' + } + }) + ] + + search.addWidgets(widgets) + search.start() + searchClickFn() + searchFnOnce() + + window.addEventListener('pjax:complete', () => { + if (!btf.isHidden($searchMask)) closeSearch() + searchClickFn() + }) + + if (window.pjax) { + search.on('render', () => { + window.pjax.refresh(document.getElementById('algolia-hits')) + }) + } +}) diff --git a/js/search/local-search.js b/js/search/local-search.js new file mode 100644 index 0000000..1d3f268 --- /dev/null +++ b/js/search/local-search.js @@ -0,0 +1,360 @@ +/** + * Refer to hexo-generator-searchdb + * https://github.com/next-theme/hexo-generator-searchdb/blob/main/dist/search.js + * Modified by hexo-theme-butterfly + */ + +class LocalSearch { + constructor ({ + path = '', + unescape = false, + top_n_per_article = 1 + }) { + this.path = path + this.unescape = unescape + this.top_n_per_article = top_n_per_article + this.isfetched = false + this.datas = null + } + + getIndexByWord (words, text, caseSensitive = false) { + const index = [] + const included = new Set() + + if (!caseSensitive) { + text = text.toLowerCase() + } + words.forEach(word => { + if (this.unescape) { + const div = document.createElement('div') + div.innerText = word + word = div.innerHTML + } + const wordLen = word.length + if (wordLen === 0) return + let startPosition = 0 + let position = -1 + if (!caseSensitive) { + word = word.toLowerCase() + } + while ((position = text.indexOf(word, startPosition)) > -1) { + index.push({ position, word }) + included.add(word) + startPosition = position + wordLen + } + }) + // Sort index by position of keyword + index.sort((left, right) => { + if (left.position !== right.position) { + return left.position - right.position + } + return right.word.length - left.word.length + }) + return [index, included] + } + + // Merge hits into slices + mergeIntoSlice (start, end, index) { + let item = index[0] + let { position, word } = item + const hits = [] + const count = new Set() + while (position + word.length <= end && index.length !== 0) { + count.add(word) + hits.push({ + position, + length: word.length + }) + const wordEnd = position + word.length + + // Move to next position of hit + index.shift() + while (index.length !== 0) { + item = index[0] + position = item.position + word = item.word + if (wordEnd > position) { + index.shift() + } else { + break + } + } + } + return { + hits, + start, + end, + count: count.size + } + } + + // Highlight title and content + highlightKeyword (val, slice) { + let result = '' + let index = slice.start + for (const { position, length } of slice.hits) { + result += val.substring(index, position) + index = position + length + result += `${val.substr(position, length)}` + } + result += val.substring(index, slice.end) + return result + } + + getResultItems (keywords) { + const resultItems = [] + this.datas.forEach(({ title, content, url }) => { + // The number of different keywords included in the article. + const [indexOfTitle, keysOfTitle] = this.getIndexByWord(keywords, title) + const [indexOfContent, keysOfContent] = this.getIndexByWord(keywords, content) + const includedCount = new Set([...keysOfTitle, ...keysOfContent]).size + + // Show search results + const hitCount = indexOfTitle.length + indexOfContent.length + if (hitCount === 0) return + + const slicesOfTitle = [] + if (indexOfTitle.length !== 0) { + slicesOfTitle.push(this.mergeIntoSlice(0, title.length, indexOfTitle)) + } + + let slicesOfContent = [] + while (indexOfContent.length !== 0) { + const item = indexOfContent[0] + const { position } = item + // Cut out 120 characters. The maxlength of .search-input is 80. + const start = Math.max(0, position - 20) + const end = Math.min(content.length, position + 100) + slicesOfContent.push(this.mergeIntoSlice(start, end, indexOfContent)) + } + + // Sort slices in content by included keywords' count and hits' count + slicesOfContent.sort((left, right) => { + if (left.count !== right.count) { + return right.count - left.count + } else if (left.hits.length !== right.hits.length) { + return right.hits.length - left.hits.length + } + return left.start - right.start + }) + + // Select top N slices in content + const upperBound = parseInt(this.top_n_per_article, 10) + if (upperBound >= 0) { + slicesOfContent = slicesOfContent.slice(0, upperBound) + } + + let resultItem = '' + + url = new URL(url, location.origin) + url.searchParams.append('highlight', keywords.join(' ')) + + if (slicesOfTitle.length !== 0) { + resultItem += `
  • ${this.highlightKeyword(title, slicesOfTitle[0])}` + } else { + resultItem += `
  • ${title}` + } + + slicesOfContent.forEach(slice => { + resultItem += `

    ${this.highlightKeyword(content, slice)}...

    ` + }) + + resultItem += '
  • ' + resultItems.push({ + item: resultItem, + id: resultItems.length, + hitCount, + includedCount + }) + }) + return resultItems + } + + fetchData () { + const isXml = !this.path.endsWith('json') + fetch(this.path) + .then(response => response.text()) + .then(res => { + // Get the contents from search data + this.isfetched = true + this.datas = isXml + ? [...new DOMParser().parseFromString(res, 'text/xml').querySelectorAll('entry')].map(element => ({ + title: element.querySelector('title').textContent, + content: element.querySelector('content').textContent, + url: element.querySelector('url').textContent + })) + : JSON.parse(res) + // Only match articles with non-empty titles + this.datas = this.datas.filter(data => data.title).map(data => { + data.title = data.title.trim() + data.content = data.content ? data.content.trim().replace(/<[^>]+>/g, '') : '' + data.url = decodeURIComponent(data.url).replace(/\/{2,}/g, '/') + return data + }) + // Remove loading animation + window.dispatchEvent(new Event('search:loaded')) + }) + } + + // Highlight by wrapping node in mark elements with the given class name + highlightText (node, slice, className) { + const val = node.nodeValue + let index = slice.start + const children = [] + for (const { position, length } of slice.hits) { + const text = document.createTextNode(val.substring(index, position)) + index = position + length + const mark = document.createElement('mark') + mark.className = className + mark.appendChild(document.createTextNode(val.substr(position, length))) + children.push(text, mark) + } + node.nodeValue = val.substring(index, slice.end) + children.forEach(element => { + node.parentNode.insertBefore(element, node) + }) + } + + // Highlight the search words provided in the url in the text + highlightSearchWords (body) { + const params = new URL(location.href).searchParams.get('highlight') + const keywords = params ? params.split(' ') : [] + if (!keywords.length || !body) return + const walk = document.createTreeWalker(body, NodeFilter.SHOW_TEXT, null) + const allNodes = [] + while (walk.nextNode()) { + if (!walk.currentNode.parentNode.matches('button, select, textarea, .mermaid')) allNodes.push(walk.currentNode) + } + allNodes.forEach(node => { + const [indexOfNode] = this.getIndexByWord(keywords, node.nodeValue) + if (!indexOfNode.length) return + const slice = this.mergeIntoSlice(0, node.nodeValue.length, indexOfNode) + this.highlightText(node, slice, 'search-keyword') + }) + } +} + +window.addEventListener('load', () => { +// Search + const { path, top_n_per_article, unescape, languages } = GLOBAL_CONFIG.localSearch + const localSearch = new LocalSearch({ + path, + top_n_per_article, + unescape + }) + + const input = document.querySelector('#local-search-input input') + const statsItem = document.getElementById('local-search-stats-wrap') + const $loadingStatus = document.getElementById('loading-status') + const isXml = !path.endsWith('json') + + const inputEventFunction = () => { + if (!localSearch.isfetched) return + let searchText = input.value.trim().toLowerCase() + isXml && (searchText = searchText.replace(//g, '>')) + if (searchText !== '') $loadingStatus.innerHTML = '' + const keywords = searchText.split(/[-\s]+/) + const container = document.getElementById('local-search-results') + let resultItems = [] + if (searchText.length > 0) { + // Perform local searching + resultItems = localSearch.getResultItems(keywords) + } + if (keywords.length === 1 && keywords[0] === '') { + container.textContent = '' + statsItem.textContent = '' + } else if (resultItems.length === 0) { + container.textContent = '' + const statsDiv = document.createElement('div') + statsDiv.className = 'search-result-stats' + statsDiv.textContent = languages.hits_empty.replace(/\$\{query}/, searchText) + statsItem.innerHTML = statsDiv.outerHTML + } else { + resultItems.sort((left, right) => { + if (left.includedCount !== right.includedCount) { + return right.includedCount - left.includedCount + } else if (left.hitCount !== right.hitCount) { + return right.hitCount - left.hitCount + } + return right.id - left.id + }) + + const stats = languages.hits_stats.replace(/\$\{hits}/, resultItems.length) + + container.innerHTML = `
      ${resultItems.map(result => result.item).join('')}
    ` + statsItem.innerHTML = `
    ${stats}
    ` + window.pjax && window.pjax.refresh(container) + } + + $loadingStatus.textContent = '' + } + + let loadFlag = false + const $searchMask = document.getElementById('search-mask') + const $searchDialog = document.querySelector('#local-search .search-dialog') + + // fix safari + const fixSafariHeight = () => { + if (window.innerWidth < 768) { + $searchDialog.style.setProperty('--search-height', window.innerHeight + 'px') + } + } + + const openSearch = () => { + btf.overflowPaddingR.add() + btf.animateIn($searchMask, 'to_show 0.5s') + btf.animateIn($searchDialog, 'titleScale 0.5s') + setTimeout(() => { input.focus() }, 300) + if (!loadFlag) { + !localSearch.isfetched && localSearch.fetchData() + input.addEventListener('input', inputEventFunction) + loadFlag = true + } + // shortcut: ESC + document.addEventListener('keydown', function f (event) { + if (event.code === 'Escape') { + closeSearch() + document.removeEventListener('keydown', f) + } + }) + + fixSafariHeight() + window.addEventListener('resize', fixSafariHeight) + } + + const closeSearch = () => { + btf.overflowPaddingR.remove() + btf.animateOut($searchDialog, 'search_close .5s') + btf.animateOut($searchMask, 'to_hide 0.5s') + window.removeEventListener('resize', fixSafariHeight) + } + + const searchClickFn = () => { + btf.addEventListenerPjax(document.querySelector('#search-button > .search'), 'click', openSearch) + } + + const searchFnOnce = () => { + document.querySelector('#local-search .search-close-button').addEventListener('click', closeSearch) + $searchMask.addEventListener('click', closeSearch) + if (GLOBAL_CONFIG.localSearch.preload) { + localSearch.fetchData() + } + localSearch.highlightSearchWords(document.getElementById('article-container')) + } + + window.addEventListener('search:loaded', () => { + const $loadDataItem = document.getElementById('loading-database') + $loadDataItem.nextElementSibling.style.display = 'block' + $loadDataItem.remove() + }) + + searchClickFn() + searchFnOnce() + + // pjax + window.addEventListener('pjax:complete', () => { + !btf.isHidden($searchMask) && closeSearch() + localSearch.highlightSearchWords(document.getElementById('article-container')) + searchClickFn() + }) +}) diff --git a/js/tw_cn.js b/js/tw_cn.js new file mode 100644 index 0000000..c19d69c --- /dev/null +++ b/js/tw_cn.js @@ -0,0 +1,117 @@ +document.addEventListener('DOMContentLoaded', () => { + const { defaultEncoding, translateDelay, msgToTraditionalChinese, msgToSimplifiedChinese } = GLOBAL_CONFIG.translate + const snackbarData = GLOBAL_CONFIG.Snackbar + const targetEncodingCookie = 'translate-chn-cht' + + let currentEncoding = defaultEncoding + let targetEncoding = Number(btf.saveToLocal.get(targetEncodingCookie)) || defaultEncoding + const translateButtonObject = document.getElementById('translateLink') + const isSnackbar = snackbarData !== undefined + + const setLang = () => { + document.documentElement.lang = targetEncoding === 1 ? 'zh-TW' : 'zh-CN' + } + + const translateText = (txt) => { + if (!txt) return '' + if (currentEncoding === 1 && targetEncoding === 2) return Simplized(txt) + if (currentEncoding === 2 && targetEncoding === 1) return Traditionalized(txt) + return txt + } + + const translateBody = (fobj) => { + const nodes = typeof fobj === 'object' ? fobj.childNodes : document.body.childNodes + + for (const node of nodes) { + // Skip BR, HR tags, or the translate button object + if (['BR', 'HR'].includes(node.tagName) || node === translateButtonObject) continue + + if (node.nodeType === Node.ELEMENT_NODE) { + const { tagName, title, alt, placeholder, value, type } = node + + // Translate title, alt, placeholder + if (title) node.title = translateText(title) + if (alt) node.alt = translateText(alt) + if (placeholder) node.placeholder = translateText(placeholder) + + // Translate input value except text and hidden types + if (tagName === 'INPUT' && value && type !== 'text' && type !== 'hidden') { + node.value = translateText(value) + } + + // Recursively translate child nodes + translateBody(node) + } else if (node.nodeType === Node.TEXT_NODE) { + // Translate text node data + node.data = translateText(node.data) + } + } + } + + const translatePage = () => { + if (targetEncoding === 1) { + currentEncoding = 1 + targetEncoding = 2 + translateButtonObject.textContent = msgToTraditionalChinese + isSnackbar && btf.snackbarShow(snackbarData.cht_to_chs) + } else if (targetEncoding === 2) { + currentEncoding = 2 + targetEncoding = 1 + translateButtonObject.textContent = msgToSimplifiedChinese + isSnackbar && btf.snackbarShow(snackbarData.chs_to_cht) + } + btf.saveToLocal.set(targetEncodingCookie, targetEncoding, 2) + setLang() + translateBody() + } + + const JTPYStr = () => '万与丑专业丛东丝丢两严丧个丬丰临为丽举么义乌乐乔习乡书买乱争于亏云亘亚产亩亲亵亸亿仅从仑仓仪们价众优伙会伛伞伟传伤伥伦伧伪伫体余佣佥侠侣侥侦侧侨侩侪侬俣俦俨俩俪俭债倾偬偻偾偿傥傧储傩儿兑兖党兰关兴兹养兽冁内冈册写军农冢冯冲决况冻净凄凉凌减凑凛几凤凫凭凯击凼凿刍划刘则刚创删别刬刭刽刿剀剂剐剑剥剧劝办务劢动励劲劳势勋勐勚匀匦匮区医华协单卖卢卤卧卫却卺厂厅历厉压厌厍厕厢厣厦厨厩厮县参叆叇双发变叙叠叶号叹叽吁后吓吕吗吣吨听启吴呒呓呕呖呗员呙呛呜咏咔咙咛咝咤咴咸哌响哑哒哓哔哕哗哙哜哝哟唛唝唠唡唢唣唤唿啧啬啭啮啰啴啸喷喽喾嗫呵嗳嘘嘤嘱噜噼嚣嚯团园囱围囵国图圆圣圹场坂坏块坚坛坜坝坞坟坠垄垅垆垒垦垧垩垫垭垯垱垲垴埘埙埚埝埯堑堕塆墙壮声壳壶壸处备复够头夸夹夺奁奂奋奖奥妆妇妈妩妪妫姗姜娄娅娆娇娈娱娲娴婳婴婵婶媪嫒嫔嫱嬷孙学孪宁宝实宠审宪宫宽宾寝对寻导寿将尔尘尧尴尸尽层屃屉届属屡屦屿岁岂岖岗岘岙岚岛岭岳岽岿峃峄峡峣峤峥峦崂崃崄崭嵘嵚嵛嵝嵴巅巩巯币帅师帏帐帘帜带帧帮帱帻帼幂幞干并广庄庆庐庑库应庙庞废庼廪开异弃张弥弪弯弹强归当录彟彦彻径徕御忆忏忧忾怀态怂怃怄怅怆怜总怼怿恋恳恶恸恹恺恻恼恽悦悫悬悭悯惊惧惨惩惫惬惭惮惯愍愠愤愦愿慑慭憷懑懒懔戆戋戏戗战戬户扎扑扦执扩扪扫扬扰抚抛抟抠抡抢护报担拟拢拣拥拦拧拨择挂挚挛挜挝挞挟挠挡挢挣挤挥挦捞损捡换捣据捻掳掴掷掸掺掼揸揽揿搀搁搂搅携摄摅摆摇摈摊撄撑撵撷撸撺擞攒敌敛数斋斓斗斩断无旧时旷旸昙昼昽显晋晒晓晔晕晖暂暧札术朴机杀杂权条来杨杩杰极构枞枢枣枥枧枨枪枫枭柜柠柽栀栅标栈栉栊栋栌栎栏树栖样栾桊桠桡桢档桤桥桦桧桨桩梦梼梾检棂椁椟椠椤椭楼榄榇榈榉槚槛槟槠横樯樱橥橱橹橼檐檩欢欤欧歼殁殇残殒殓殚殡殴毁毂毕毙毡毵氇气氢氩氲汇汉污汤汹沓沟没沣沤沥沦沧沨沩沪沵泞泪泶泷泸泺泻泼泽泾洁洒洼浃浅浆浇浈浉浊测浍济浏浐浑浒浓浔浕涂涌涛涝涞涟涠涡涢涣涤润涧涨涩淀渊渌渍渎渐渑渔渖渗温游湾湿溃溅溆溇滗滚滞滟滠满滢滤滥滦滨滩滪漤潆潇潋潍潜潴澜濑濒灏灭灯灵灾灿炀炉炖炜炝点炼炽烁烂烃烛烟烦烧烨烩烫烬热焕焖焘煅煳熘爱爷牍牦牵牺犊犟状犷犸犹狈狍狝狞独狭狮狯狰狱狲猃猎猕猡猪猫猬献獭玑玙玚玛玮环现玱玺珉珏珐珑珰珲琎琏琐琼瑶瑷璇璎瓒瓮瓯电画畅畲畴疖疗疟疠疡疬疮疯疱疴痈痉痒痖痨痪痫痴瘅瘆瘗瘘瘪瘫瘾瘿癞癣癫癯皑皱皲盏盐监盖盗盘眍眦眬着睁睐睑瞒瞩矫矶矾矿砀码砖砗砚砜砺砻砾础硁硅硕硖硗硙硚确硷碍碛碜碱碹磙礼祎祢祯祷祸禀禄禅离秃秆种积称秽秾稆税稣稳穑穷窃窍窑窜窝窥窦窭竖竞笃笋笔笕笺笼笾筑筚筛筜筝筹签简箓箦箧箨箩箪箫篑篓篮篱簖籁籴类籼粜粝粤粪粮糁糇紧絷纟纠纡红纣纤纥约级纨纩纪纫纬纭纮纯纰纱纲纳纴纵纶纷纸纹纺纻纼纽纾线绀绁绂练组绅细织终绉绊绋绌绍绎经绐绑绒结绔绕绖绗绘给绚绛络绝绞统绠绡绢绣绤绥绦继绨绩绪绫绬续绮绯绰绱绲绳维绵绶绷绸绹绺绻综绽绾绿缀缁缂缃缄缅缆缇缈缉缊缋缌缍缎缏缐缑缒缓缔缕编缗缘缙缚缛缜缝缞缟缠缡缢缣缤缥缦缧缨缩缪缫缬缭缮缯缰缱缲缳缴缵罂网罗罚罢罴羁羟羡翘翙翚耢耧耸耻聂聋职聍联聩聪肃肠肤肷肾肿胀胁胆胜胧胨胪胫胶脉脍脏脐脑脓脔脚脱脶脸腊腌腘腭腻腼腽腾膑臜舆舣舰舱舻艰艳艹艺节芈芗芜芦苁苇苈苋苌苍苎苏苘苹茎茏茑茔茕茧荆荐荙荚荛荜荞荟荠荡荣荤荥荦荧荨荩荪荫荬荭荮药莅莜莱莲莳莴莶获莸莹莺莼萚萝萤营萦萧萨葱蒇蒉蒋蒌蓝蓟蓠蓣蓥蓦蔷蔹蔺蔼蕲蕴薮藁藓虏虑虚虫虬虮虽虾虿蚀蚁蚂蚕蚝蚬蛊蛎蛏蛮蛰蛱蛲蛳蛴蜕蜗蜡蝇蝈蝉蝎蝼蝾螀螨蟏衅衔补衬衮袄袅袆袜袭袯装裆裈裢裣裤裥褛褴襁襕见观觃规觅视觇览觉觊觋觌觍觎觏觐觑觞触觯詟誉誊讠计订讣认讥讦讧讨让讪讫训议讯记讱讲讳讴讵讶讷许讹论讻讼讽设访诀证诂诃评诅识诇诈诉诊诋诌词诎诏诐译诒诓诔试诖诗诘诙诚诛诜话诞诟诠诡询诣诤该详诧诨诩诪诫诬语诮误诰诱诲诳说诵诶请诸诹诺读诼诽课诿谀谁谂调谄谅谆谇谈谊谋谌谍谎谏谐谑谒谓谔谕谖谗谘谙谚谛谜谝谞谟谠谡谢谣谤谥谦谧谨谩谪谫谬谭谮谯谰谱谲谳谴谵谶谷豮贝贞负贠贡财责贤败账货质贩贪贫贬购贮贯贰贱贲贳贴贵贶贷贸费贺贻贼贽贾贿赀赁赂赃资赅赆赇赈赉赊赋赌赍赎赏赐赑赒赓赔赕赖赗赘赙赚赛赜赝赞赟赠赡赢赣赪赵赶趋趱趸跃跄跖跞践跶跷跸跹跻踊踌踪踬踯蹑蹒蹰蹿躏躜躯车轧轨轩轪轫转轭轮软轰轱轲轳轴轵轶轷轸轹轺轻轼载轾轿辀辁辂较辄辅辆辇辈辉辊辋辌辍辎辏辐辑辒输辔辕辖辗辘辙辚辞辩辫边辽达迁过迈运还这进远违连迟迩迳迹适选逊递逦逻遗遥邓邝邬邮邹邺邻郁郄郏郐郑郓郦郧郸酝酦酱酽酾酿释里鉅鉴銮錾钆钇针钉钊钋钌钍钎钏钐钑钒钓钔钕钖钗钘钙钚钛钝钞钟钠钡钢钣钤钥钦钧钨钩钪钫钬钭钮钯钰钱钲钳钴钵钶钷钸钹钺钻钼钽钾钿铀铁铂铃铄铅铆铈铉铊铋铍铎铏铐铑铒铕铗铘铙铚铛铜铝铞铟铠铡铢铣铤铥铦铧铨铪铫铬铭铮铯铰铱铲铳铴铵银铷铸铹铺铻铼铽链铿销锁锂锃锄锅锆锇锈锉锊锋锌锍锎锏锐锑锒锓锔锕锖锗错锚锜锞锟锠锡锢锣锤锥锦锨锩锫锬锭键锯锰锱锲锳锴锵锶锷锸锹锺锻锼锽锾锿镀镁镂镃镆镇镈镉镊镌镍镎镏镐镑镒镕镖镗镙镚镛镜镝镞镟镠镡镢镣镤镥镦镧镨镩镪镫镬镭镮镯镰镱镲镳镴镶长门闩闪闫闬闭问闯闰闱闲闳间闵闶闷闸闹闺闻闼闽闾闿阀阁阂阃阄阅阆阇阈阉阊阋阌阍阎阏阐阑阒阓阔阕阖阗阘阙阚阛队阳阴阵阶际陆陇陈陉陕陧陨险随隐隶隽难雏雠雳雾霁霉霭靓静靥鞑鞒鞯鞴韦韧韨韩韪韫韬韵页顶顷顸项顺须顼顽顾顿颀颁颂颃预颅领颇颈颉颊颋颌颍颎颏颐频颒颓颔颕颖颗题颙颚颛颜额颞颟颠颡颢颣颤颥颦颧风飏飐飑飒飓飔飕飖飗飘飙飚飞飨餍饤饥饦饧饨饩饪饫饬饭饮饯饰饱饲饳饴饵饶饷饸饹饺饻饼饽饾饿馀馁馂馃馄馅馆馇馈馉馊馋馌馍馎馏馐馑馒馓馔馕马驭驮驯驰驱驲驳驴驵驶驷驸驹驺驻驼驽驾驿骀骁骂骃骄骅骆骇骈骉骊骋验骍骎骏骐骑骒骓骔骕骖骗骘骙骚骛骜骝骞骟骠骡骢骣骤骥骦骧髅髋髌鬓魇魉鱼鱽鱾鱿鲀鲁鲂鲄鲅鲆鲇鲈鲉鲊鲋鲌鲍鲎鲏鲐鲑鲒鲓鲔鲕鲖鲗鲘鲙鲚鲛鲜鲝鲞鲟鲠鲡鲢鲣鲤鲥鲦鲧鲨鲩鲪鲫鲬鲭鲮鲯鲰鲱鲲鲳鲴鲵鲶鲷鲸鲹鲺鲻鲼鲽鲾鲿鳀鳁鳂鳃鳄鳅鳆鳇鳈鳉鳊鳋鳌鳍鳎鳏鳐鳑鳒鳓鳔鳕鳖鳗鳘鳙鳛鳜鳝鳞鳟鳠鳡鳢鳣鸟鸠鸡鸢鸣鸤鸥鸦鸧鸨鸩鸪鸫鸬鸭鸮鸯鸰鸱鸲鸳鸴鸵鸶鸷鸸鸹鸺鸻鸼鸽鸾鸿鹀鹁鹂鹃鹄鹅鹆鹇鹈鹉鹊鹋鹌鹍鹎鹏鹐鹑鹒鹓鹔鹕鹖鹗鹘鹚鹛鹜鹝鹞鹟鹠鹡鹢鹣鹤鹥鹦鹧鹨鹩鹪鹫鹬鹭鹯鹰鹱鹲鹳鹴鹾麦麸黄黉黡黩黪黾龙历志制一台皋准复猛钟注范签' + const FTPYStr = () => '萬與醜專業叢東絲丟兩嚴喪個爿豐臨為麗舉麼義烏樂喬習鄉書買亂爭於虧雲亙亞產畝親褻嚲億僅從侖倉儀們價眾優夥會傴傘偉傳傷倀倫傖偽佇體餘傭僉俠侶僥偵側僑儈儕儂俁儔儼倆儷儉債傾傯僂僨償儻儐儲儺兒兌兗黨蘭關興茲養獸囅內岡冊寫軍農塚馮衝決況凍淨淒涼淩減湊凜幾鳳鳧憑凱擊氹鑿芻劃劉則剛創刪別剗剄劊劌剴劑剮劍剝劇勸辦務勱動勵勁勞勢勳猛勩勻匭匱區醫華協單賣盧鹵臥衛卻巹廠廳曆厲壓厭厙廁廂厴廈廚廄廝縣參靉靆雙發變敘疊葉號歎嘰籲後嚇呂嗎唚噸聽啟吳嘸囈嘔嚦唄員咼嗆嗚詠哢嚨嚀噝吒噅鹹呱響啞噠嘵嗶噦嘩噲嚌噥喲嘜嗊嘮啢嗩唕喚呼嘖嗇囀齧囉嘽嘯噴嘍嚳囁嗬噯噓嚶囑嚕劈囂謔團園囪圍圇國圖圓聖壙場阪壞塊堅壇壢壩塢墳墜壟壟壚壘墾坰堊墊埡墶壋塏堖塒塤堝墊垵塹墮壪牆壯聲殼壺壼處備複夠頭誇夾奪奩奐奮獎奧妝婦媽嫵嫗媯姍薑婁婭嬈嬌孌娛媧嫻嫿嬰嬋嬸媼嬡嬪嬙嬤孫學孿寧寶實寵審憲宮寬賓寢對尋導壽將爾塵堯尷屍盡層屭屜屆屬屢屨嶼歲豈嶇崗峴嶴嵐島嶺嶽崠巋嶨嶧峽嶢嶠崢巒嶗崍嶮嶄嶸嶔崳嶁脊巔鞏巰幣帥師幃帳簾幟帶幀幫幬幘幗冪襆幹並廣莊慶廬廡庫應廟龐廢廎廩開異棄張彌弳彎彈強歸當錄彠彥徹徑徠禦憶懺憂愾懷態慫憮慪悵愴憐總懟懌戀懇惡慟懨愷惻惱惲悅愨懸慳憫驚懼慘懲憊愜慚憚慣湣慍憤憒願懾憖怵懣懶懍戇戔戲戧戰戩戶紮撲扡執擴捫掃揚擾撫拋摶摳掄搶護報擔擬攏揀擁攔擰撥擇掛摯攣掗撾撻挾撓擋撟掙擠揮撏撈損撿換搗據撚擄摑擲撣摻摜摣攬撳攙擱摟攪攜攝攄擺搖擯攤攖撐攆擷擼攛擻攢敵斂數齋斕鬥斬斷無舊時曠暘曇晝曨顯晉曬曉曄暈暉暫曖劄術樸機殺雜權條來楊榪傑極構樅樞棗櫪梘棖槍楓梟櫃檸檉梔柵標棧櫛櫳棟櫨櫟欄樹棲樣欒棬椏橈楨檔榿橋樺檜槳樁夢檮棶檢欞槨櫝槧欏橢樓欖櫬櫚櫸檟檻檳櫧橫檣櫻櫫櫥櫓櫞簷檁歡歟歐殲歿殤殘殞殮殫殯毆毀轂畢斃氈毿氌氣氫氬氳彙漢汙湯洶遝溝沒灃漚瀝淪滄渢溈滬濔濘淚澩瀧瀘濼瀉潑澤涇潔灑窪浹淺漿澆湞溮濁測澮濟瀏滻渾滸濃潯濜塗湧濤澇淶漣潿渦溳渙滌潤澗漲澀澱淵淥漬瀆漸澠漁瀋滲溫遊灣濕潰濺漵漊潷滾滯灩灄滿瀅濾濫灤濱灘澦濫瀠瀟瀲濰潛瀦瀾瀨瀕灝滅燈靈災燦煬爐燉煒熗點煉熾爍爛烴燭煙煩燒燁燴燙燼熱煥燜燾煆糊溜愛爺牘犛牽犧犢強狀獷獁猶狽麅獮獰獨狹獅獪猙獄猻獫獵獼玀豬貓蝟獻獺璣璵瑒瑪瑋環現瑲璽瑉玨琺瓏璫琿璡璉瑣瓊瑤璦璿瓔瓚甕甌電畫暢佘疇癤療瘧癘瘍鬁瘡瘋皰屙癰痙癢瘂癆瘓癇癡癉瘮瘞瘺癟癱癮癭癩癬癲臒皚皺皸盞鹽監蓋盜盤瞘眥矓著睜睞瞼瞞矚矯磯礬礦碭碼磚硨硯碸礪礱礫礎硜矽碩硤磽磑礄確鹼礙磧磣堿镟滾禮禕禰禎禱禍稟祿禪離禿稈種積稱穢穠穭稅穌穩穡窮竊竅窯竄窩窺竇窶豎競篤筍筆筧箋籠籩築篳篩簹箏籌簽簡籙簀篋籜籮簞簫簣簍籃籬籪籟糴類秈糶糲粵糞糧糝餱緊縶糸糾紆紅紂纖紇約級紈纊紀紉緯紜紘純紕紗綱納紝縱綸紛紙紋紡紵紖紐紓線紺絏紱練組紳細織終縐絆紼絀紹繹經紿綁絨結絝繞絰絎繪給絢絳絡絕絞統綆綃絹繡綌綏絛繼綈績緒綾緓續綺緋綽緔緄繩維綿綬繃綢綯綹綣綜綻綰綠綴緇緙緗緘緬纜緹緲緝縕繢緦綞緞緶線緱縋緩締縷編緡緣縉縛縟縝縫縗縞纏縭縊縑繽縹縵縲纓縮繆繅纈繚繕繒韁繾繰繯繳纘罌網羅罰罷羆羈羥羨翹翽翬耮耬聳恥聶聾職聹聯聵聰肅腸膚膁腎腫脹脅膽勝朧腖臚脛膠脈膾髒臍腦膿臠腳脫腡臉臘醃膕齶膩靦膃騰臏臢輿艤艦艙艫艱豔艸藝節羋薌蕪蘆蓯葦藶莧萇蒼苧蘇檾蘋莖蘢蔦塋煢繭荊薦薘莢蕘蓽蕎薈薺蕩榮葷滎犖熒蕁藎蓀蔭蕒葒葤藥蒞蓧萊蓮蒔萵薟獲蕕瑩鶯蓴蘀蘿螢營縈蕭薩蔥蕆蕢蔣蔞藍薊蘺蕷鎣驀薔蘞藺藹蘄蘊藪槁蘚虜慮虛蟲虯蟣雖蝦蠆蝕蟻螞蠶蠔蜆蠱蠣蟶蠻蟄蛺蟯螄蠐蛻蝸蠟蠅蟈蟬蠍螻蠑螿蟎蠨釁銜補襯袞襖嫋褘襪襲襏裝襠褌褳襝褲襇褸襤繈襴見觀覎規覓視覘覽覺覬覡覿覥覦覯覲覷觴觸觶讋譽謄訁計訂訃認譏訐訌討讓訕訖訓議訊記訒講諱謳詎訝訥許訛論訩訟諷設訪訣證詁訶評詛識詗詐訴診詆謅詞詘詔詖譯詒誆誄試詿詩詰詼誠誅詵話誕詬詮詭詢詣諍該詳詫諢詡譸誡誣語誚誤誥誘誨誑說誦誒請諸諏諾讀諑誹課諉諛誰諗調諂諒諄誶談誼謀諶諜謊諫諧謔謁謂諤諭諼讒諮諳諺諦謎諞諝謨讜謖謝謠謗諡謙謐謹謾謫譾謬譚譖譙讕譜譎讞譴譫讖穀豶貝貞負貟貢財責賢敗賬貨質販貪貧貶購貯貫貳賤賁貰貼貴貺貸貿費賀貽賊贄賈賄貲賃賂贓資賅贐賕賑賚賒賦賭齎贖賞賜贔賙賡賠賧賴賵贅賻賺賽賾贗讚贇贈贍贏贛赬趙趕趨趲躉躍蹌蹠躒踐躂蹺蹕躚躋踴躊蹤躓躑躡蹣躕躥躪躦軀車軋軌軒軑軔轉軛輪軟轟軲軻轤軸軹軼軤軫轢軺輕軾載輊轎輈輇輅較輒輔輛輦輩輝輥輞輬輟輜輳輻輯轀輸轡轅轄輾轆轍轔辭辯辮邊遼達遷過邁運還這進遠違連遲邇逕跡適選遜遞邐邏遺遙鄧鄺鄔郵鄒鄴鄰鬱郤郟鄶鄭鄆酈鄖鄲醞醱醬釅釃釀釋裏钜鑒鑾鏨釓釔針釘釗釙釕釷釺釧釤鈒釩釣鍆釹鍚釵鈃鈣鈈鈦鈍鈔鍾鈉鋇鋼鈑鈐鑰欽鈞鎢鉤鈧鈁鈥鈄鈕鈀鈺錢鉦鉗鈷缽鈳鉕鈽鈸鉞鑽鉬鉭鉀鈿鈾鐵鉑鈴鑠鉛鉚鈰鉉鉈鉍鈹鐸鉶銬銠鉺銪鋏鋣鐃銍鐺銅鋁銱銦鎧鍘銖銑鋌銩銛鏵銓鉿銚鉻銘錚銫鉸銥鏟銃鐋銨銀銣鑄鐒鋪鋙錸鋱鏈鏗銷鎖鋰鋥鋤鍋鋯鋨鏽銼鋝鋒鋅鋶鐦鐧銳銻鋃鋟鋦錒錆鍺錯錨錡錁錕錩錫錮鑼錘錐錦鍁錈錇錟錠鍵鋸錳錙鍥鍈鍇鏘鍶鍔鍤鍬鍾鍛鎪鍠鍰鎄鍍鎂鏤鎡鏌鎮鎛鎘鑷鐫鎳鎿鎦鎬鎊鎰鎔鏢鏜鏍鏰鏞鏡鏑鏃鏇鏐鐔钁鐐鏷鑥鐓鑭鐠鑹鏹鐙鑊鐳鐶鐲鐮鐿鑔鑣鑞鑲長門閂閃閆閈閉問闖閏闈閑閎間閔閌悶閘鬧閨聞闥閩閭闓閥閣閡閫鬮閱閬闍閾閹閶鬩閿閽閻閼闡闌闃闠闊闋闔闐闒闕闞闤隊陽陰陣階際陸隴陳陘陝隉隕險隨隱隸雋難雛讎靂霧霽黴靄靚靜靨韃鞽韉韝韋韌韍韓韙韞韜韻頁頂頃頇項順須頊頑顧頓頎頒頌頏預顱領頗頸頡頰頲頜潁熲頦頤頻頮頹頷頴穎顆題顒顎顓顏額顳顢顛顙顥纇顫顬顰顴風颺颭颮颯颶颸颼颻飀飄飆飆飛饗饜飣饑飥餳飩餼飪飫飭飯飲餞飾飽飼飿飴餌饒餉餄餎餃餏餅餑餖餓餘餒餕餜餛餡館餷饋餶餿饞饁饃餺餾饈饉饅饊饌饢馬馭馱馴馳驅馹駁驢駔駛駟駙駒騶駐駝駑駕驛駘驍罵駰驕驊駱駭駢驫驪騁驗騂駸駿騏騎騍騅騌驌驂騙騭騤騷騖驁騮騫騸驃騾驄驏驟驥驦驤髏髖髕鬢魘魎魚魛魢魷魨魯魴魺鮁鮃鯰鱸鮋鮓鮒鮊鮑鱟鮍鮐鮭鮚鮳鮪鮞鮦鰂鮜鱠鱭鮫鮮鮺鯗鱘鯁鱺鰱鰹鯉鰣鰷鯀鯊鯇鮶鯽鯒鯖鯪鯕鯫鯡鯤鯧鯝鯢鯰鯛鯨鯵鯴鯔鱝鰈鰏鱨鯷鰮鰃鰓鱷鰍鰒鰉鰁鱂鯿鰠鼇鰭鰨鰥鰩鰟鰜鰳鰾鱈鱉鰻鰵鱅鰼鱖鱔鱗鱒鱯鱤鱧鱣鳥鳩雞鳶鳴鳲鷗鴉鶬鴇鴆鴣鶇鸕鴨鴞鴦鴒鴟鴝鴛鴬鴕鷥鷙鴯鴰鵂鴴鵃鴿鸞鴻鵐鵓鸝鵑鵠鵝鵒鷳鵜鵡鵲鶓鵪鶤鵯鵬鵮鶉鶊鵷鷫鶘鶡鶚鶻鶿鶥鶩鷊鷂鶲鶹鶺鷁鶼鶴鷖鸚鷓鷚鷯鷦鷲鷸鷺鸇鷹鸌鸏鸛鸘鹺麥麩黃黌黶黷黲黽龍歷誌製壹臺臯準復勐鐘註範籤' + + const Traditionalized = (cc) => { + let str = '' + const ss = JTPYStr() + const tt = FTPYStr() + for (let i = 0; i < cc.length; i++) { + if (cc.charCodeAt(i) > 10000 && ss.indexOf(cc.charAt(i)) !== -1) { + str += tt.charAt(ss.indexOf(cc.charAt(i))) + } else str += cc.charAt(i) + } + return str + } + + const Simplized = (cc) => { + let str = '' + const ss = JTPYStr() + const tt = FTPYStr() + for (let i = 0; i < cc.length; i++) { + if (cc.charCodeAt(i) > 10000 && tt.indexOf(cc.charAt(i)) !== -1) { + str += ss.charAt(tt.indexOf(cc.charAt(i))) + } else str += cc.charAt(i) + } + return str + } + + const translateInitialization = () => { + if (translateButtonObject) { + if (currentEncoding !== targetEncoding) { + translateButtonObject.textContent = + targetEncoding === 1 + ? msgToSimplifiedChinese + : msgToTraditionalChinese + setLang() + setTimeout(translateBody, translateDelay) + } + } + } + + window.translateFn = { + translatePage, + Traditionalized, + Simplized, + translateInitialization + } + + translateInitialization() + btf.addGlobalFn('pjaxComplete', translateInitialization, 'translateInitialization') +}) diff --git a/js/utils.js b/js/utils.js new file mode 100644 index 0000000..48d8306 --- /dev/null +++ b/js/utils.js @@ -0,0 +1,313 @@ +(() => { + const btfFn = { + debounce: (func, wait = 0, immediate = false) => { + let timeout + return (...args) => { + const later = () => { + timeout = null + if (!immediate) func(...args) + } + const callNow = immediate && !timeout + clearTimeout(timeout) + timeout = setTimeout(later, wait) + if (callNow) func(...args) + } + }, + + throttle: function (func, wait, options = {}) { + let timeout, context, args + let previous = 0 + + const later = () => { + previous = options.leading === false ? 0 : new Date().getTime() + timeout = null + func.apply(context, args) + if (!timeout) context = args = null + } + + const throttled = (...params) => { + const now = new Date().getTime() + if (!previous && options.leading === false) previous = now + const remaining = wait - (now - previous) + context = this + args = params + if (remaining <= 0 || remaining > wait) { + if (timeout) { + clearTimeout(timeout) + timeout = null + } + previous = now + func.apply(context, args) + if (!timeout) context = args = null + } else if (!timeout && options.trailing !== false) { + timeout = setTimeout(later, remaining) + } + } + + return throttled + }, + + overflowPaddingR: { + add: () => { + const paddingRight = window.innerWidth - document.body.clientWidth + + if (paddingRight > 0) { + document.body.style.paddingRight = `${paddingRight}px` + document.body.style.overflow = 'hidden' + const menuElement = document.querySelector('#page-header.nav-fixed #menus') + if (menuElement) { + menuElement.style.paddingRight = `${paddingRight}px` + } + } + }, + remove: () => { + document.body.style.paddingRight = '' + document.body.style.overflow = '' + const menuElement = document.querySelector('#page-header.nav-fixed #menus') + if (menuElement) { + menuElement.style.paddingRight = '' + } + } + }, + + snackbarShow: (text, showAction = false, duration = 2000) => { + const { position, bgLight, bgDark } = GLOBAL_CONFIG.Snackbar + const bg = document.documentElement.getAttribute('data-theme') === 'light' ? bgLight : bgDark + Snackbar.show({ + text, + backgroundColor: bg, + showAction, + duration, + pos: position, + customClass: 'snackbar-css' + }) + }, + + diffDate: (inputDate, more = false) => { + const dateNow = new Date() + const datePost = new Date(inputDate) + const diffMs = dateNow - datePost + const diffSec = diffMs / 1000 + const diffMin = diffSec / 60 + const diffHour = diffMin / 60 + const diffDay = diffHour / 24 + const diffMonth = diffDay / 30 + const { dateSuffix } = GLOBAL_CONFIG + + if (!more) return Math.floor(diffDay) + + if (diffMonth > 12) return datePost.toISOString().slice(0, 10) + if (diffMonth >= 1) return `${Math.floor(diffMonth)} ${dateSuffix.month}` + if (diffDay >= 1) return `${Math.floor(diffDay)} ${dateSuffix.day}` + if (diffHour >= 1) return `${Math.floor(diffHour)} ${dateSuffix.hour}` + if (diffMin >= 1) return `${Math.floor(diffMin)} ${dateSuffix.min}` + return dateSuffix.just + }, + + loadComment: (dom, callback) => { + if ('IntersectionObserver' in window) { + const observerItem = new IntersectionObserver((entries) => { + if (entries[0].isIntersecting) { + callback() + observerItem.disconnect() + } + }, { threshold: [0] }) + observerItem.observe(dom) + } else { + callback() + } + }, + + scrollToDest: (pos, time = 500) => { + const currentPos = window.scrollY + const isNavFixed = document.getElementById('page-header').classList.contains('fixed') + if (currentPos > pos || isNavFixed) pos = pos - 70 + + if ('scrollBehavior' in document.documentElement.style) { + window.scrollTo({ + top: pos, + behavior: 'smooth' + }) + return + } + + const startTime = performance.now() + const animate = currentTime => { + const timeElapsed = currentTime - startTime + const progress = Math.min(timeElapsed / time, 1) + window.scrollTo(0, currentPos + (pos - currentPos) * progress) + if (progress < 1) { + requestAnimationFrame(animate) + } + } + requestAnimationFrame(animate) + }, + + animateIn: (ele, animation) => { + ele.style.display = 'block' + ele.style.animation = animation + }, + + animateOut: (ele, animation) => { + const handleAnimationEnd = () => { + ele.style.display = '' + ele.style.animation = '' + ele.removeEventListener('animationend', handleAnimationEnd) + } + ele.addEventListener('animationend', handleAnimationEnd) + ele.style.animation = animation + }, + + wrap: (selector, eleType, options) => { + const createEle = document.createElement(eleType) + for (const [key, value] of Object.entries(options)) { + createEle.setAttribute(key, value) + } + selector.parentNode.insertBefore(createEle, selector) + createEle.appendChild(selector) + }, + + isHidden: ele => ele.offsetHeight === 0 && ele.offsetWidth === 0, + + getEleTop: ele => { + let actualTop = ele.offsetTop + let current = ele.offsetParent + + while (current !== null) { + actualTop += current.offsetTop + current = current.offsetParent + } + + return actualTop + }, + + loadLightbox: ele => { + const service = GLOBAL_CONFIG.lightbox + + if (service === 'medium_zoom') { + mediumZoom(ele, { background: 'var(--zoom-bg)' }) + } + + if (service === 'fancybox') { + Array.from(ele).forEach(i => { + if (i.parentNode.tagName !== 'A') { + const dataSrc = i.dataset.lazySrc || i.src + const dataCaption = i.title || i.alt || '' + btf.wrap(i, 'a', { href: dataSrc, 'data-fancybox': 'gallery', 'data-caption': dataCaption, 'data-thumb': dataSrc }) + } + }) + + if (!window.fancyboxRun) { + Fancybox.bind('[data-fancybox]', { + Hash: false, + Thumbs: { + showOnStart: false + }, + Images: { + Panzoom: { + maxScale: 4 + } + }, + Carousel: { + transition: 'slide' + }, + Toolbar: { + display: { + left: ['infobar'], + middle: [ + 'zoomIn', + 'zoomOut', + 'toggle1to1', + 'rotateCCW', + 'rotateCW', + 'flipX', + 'flipY' + ], + right: ['slideshow', 'thumbs', 'close'] + } + } + }) + window.fancyboxRun = true + } + } + }, + + setLoading: { + add: ele => { + const html = ` +
    +
    +
    +
    +
    + ` + ele.insertAdjacentHTML('afterend', html) + }, + remove: ele => { + ele.nextElementSibling.remove() + } + }, + + updateAnchor: anchor => { + if (anchor !== window.location.hash) { + if (!anchor) anchor = location.pathname + const title = GLOBAL_CONFIG_SITE.title + window.history.replaceState({ + url: location.href, + title + }, title, anchor) + } + }, + + getScrollPercent: (() => { + let docHeight, winHeight, headerHeight, contentMath + + return (currentTop, ele) => { + if (!docHeight || ele.clientHeight !== docHeight) { + docHeight = ele.clientHeight + winHeight = window.innerHeight + headerHeight = ele.offsetTop + contentMath = Math.max(docHeight - winHeight, document.documentElement.scrollHeight - winHeight) + } + + const scrollPercent = (currentTop - headerHeight) / contentMath + return Math.max(0, Math.min(100, Math.round(scrollPercent * 100))) + } + })(), + + addEventListenerPjax: (ele, event, fn, option = false) => { + ele.addEventListener(event, fn, option) + btf.addGlobalFn('pjaxSendOnce', () => { + ele.removeEventListener(event, fn, option) + }) + }, + + removeGlobalFnEvent: (key, parent = window) => { + const globalFn = parent.globalFn || {} + const keyObj = globalFn[key] + if (!keyObj) return + + Object.keys(keyObj).forEach(i => keyObj[i]()) + + delete globalFn[key] + }, + + switchComments: (el = document, path) => { + const switchBtn = el.querySelector('#switch-btn') + if (!switchBtn) return + + let switchDone = false + const postComment = el.querySelector('#post-comment') + const handleSwitchBtn = () => { + postComment.classList.toggle('move') + if (!switchDone && typeof loadOtherComment === 'function') { + switchDone = true + loadOtherComment(el, path) + } + } + btf.addEventListenerPjax(switchBtn, 'click', handleSwitchBtn) + } + } + + window.btf = { ...window.btf, ...btfFn } +})() diff --git a/page/about/index.html b/page/about/index.html deleted file mode 100644 index 052883e..0000000 --- a/page/about/index.html +++ /dev/null @@ -1 +0,0 @@ -
    \ No newline at end of file diff --git "a/post/2024/12/07/GitHub-Hexo\345\210\235\346\254\241\345\273\272\347\253\231\347\256\200\345\215\225\346\265\201\347\250\213\344\270\216\351\227\256\351\242\230/index.html" "b/post/2024/12/07/GitHub-Hexo\345\210\235\346\254\241\345\273\272\347\253\231\347\256\200\345\215\225\346\265\201\347\250\213\344\270\216\351\227\256\351\242\230/index.html" index 052883e..064bc91 100644 --- "a/post/2024/12/07/GitHub-Hexo\345\210\235\346\254\241\345\273\272\347\253\231\347\256\200\345\215\225\346\265\201\347\250\213\344\270\216\351\227\256\351\242\230/index.html" +++ "b/post/2024/12/07/GitHub-Hexo\345\210\235\346\254\241\345\273\272\347\253\231\347\256\200\345\215\225\346\265\201\347\250\213\344\270\216\351\227\256\351\242\230/index.html" @@ -1 +1,257 @@ -
    \ No newline at end of file +GitHub-Hexo初次建站简单流程与问题 | 深远 + + + + + + + + + + + + +

    GitHub-Hexo初次建站简单流程与问题

    +

    终于是吃上Github的个人博客建站了,之前使用的宝塔-wordpress建站,由于租赁的服务器自动更新导致的宝塔服务崩溃的问题,把服务器站点关了,不仅个人博客关了,自己的项目也停了(当然主要问题不是博客关了🥵)

    +
    +

    本文重点不在于建站的流程,而是强调几点建站中遇到的问题(主要寻找的几篇文章中并没有提到这些问题,而是一味的去教死板的建站流程)

    +

    Github-Hexo个人github.io博客搭建

    Github中建站的方式有很多种,其中包括纯搓readme文件以及利用工具搭建,当然,我选择用工具。

    +

    本文使用Hexo工具来进行建站操作。

    +

    Hexo基础搭建与测试内容制作

    前提

      +
    1. 已经拥有Github账号,并且将ssh在本地设置完毕
    2. +
    3. 本地系统环境已经安装Git
    4. +
    5. 本地系统环境拥有node合适的版本(具体node版本参见文档 | Hexo-Node.js版本限制
    6. +
    7. 本地拥有Vscode(建议)软件,并且已设置Vscode的系统环境与用户环境
    8. +
    9. 本地已经设置了npm镜像(清华镜像或者其他)
    10. +
    +

    开始

    npm包可以全局安装和局部安装,为了方便使用hexo命令,建议全局安装。

    +

    桌面win+R运行cmd安装hexo基本环境

    +
    npm install hexo -g
    +
    +

    安装完毕后在自己的硬盘中找个地方(禁止C盘战士)新建一个文件夹,然后在文件管理器的地址栏输入”cmd“快速在该文件夹调用cmd

    + + +

    然后在终端中输入以下指令进行hexo项目初始化

    +
    npm init
    +
    +
    +

    建议使用Vscode集成环境进行项目编写与终端命令执行

    +
    +

    配置

    初始化之后需要对项目进行配置,配置方法参见配置 | Hexo

    +

    主要配置字段:

    +
      +
    • title 站点标题

      +
    • +
    • author 你的名字

      +
    • +
    • language 站点语言

      +
    • +
    • new_post_name 新文章文件名称(文件/文章名字的格式配置)

      +
    • +
    • post_asset_folder 是否开启资源文件夹模式(主要用于文章图片的存储)

      +
    • +
    +

    撰写文章

    首先使用hexo命令创建模板md文件

    +
    hexo new [layout] <title>
    +
    +

    其中layout是创建的文件类型,创建文章使用”post“,创建页面使用”page“(这么说不是很正规,但是这样理解是最简单的,具体描述参见指令-new | Hexo

    +

    比如我现在要创建一个文章,那么运行

    +
    hexo new post "新的文件"
    +
    +
    +

    这里文件名的双引号最好一直使用这种方式进行命名,虽然英文名可以不加,但避免混淆,最好养成使用单双引号命名的习惯

    +
    +

    然后我就可以在我的文件目录”G:\Blog\source_posts\2024-12-07-新的文件.md“找到我的博客文章的文件

    + + +

    进入文件后,文件默认自带三行内容

    + + +

    title即文章标题,date为框架自动生成的时间戳信息,tags部分为文章标签,支持多个标签。

    +

    该部分配置方法参见Front-matter | Hexo

    +

    欲发布

    +

    为什么不是预发布?事实上到现在为止我并没有教你很多东西,只是在教你如何在github上进行一个博客搭建的测试工作(狗头保命),真正预发布还得去设置站点主题、完善配置文件、完善站点结构,只不过我这篇文章不教,那些东西都烂大街了,直接搜就有

    +
    +

    预览

    在发布之前可以进行效果预览。依次执行以下指令

    +
    hexo generate
    +hexo server
    +
    +

    第一条指令是生成静态文件(可以理解为MD文件转换为HTML),第二条指令是在本地4000端口开启预览服务,执行成功后就可以在 localhost:4000 预览站点

    + + +

    GitHub设置

    GitHub仓库初始化

    首先进入你的github主页,新建一个仓库,名称格式为

    +
    <username>.github.io
    +
    +

    例如我的(希望没人真的把username.github.io作为名称吧)

    +
    shenyuanol.github.io
    +
    +

    然后如下图操作(仓库名有一个验重,如果名称不可用就会报红,比如我这里我已经创建了该仓库了,就不能再创建了)

    + + +

    创建完毕后,使用git命令,将自己的测试内容全都覆盖到仓库中。

    +

    项目Git配置并提交项目到Github(一键部署)

    Git信息配置

    进入你的项目目录,打开_config.yml文件,将以下字段根据自己信息填写进去(如果文件中已经有这段内容了,改一下就行,避免出现配置信息冲突)

    +
    # Deployment
    +## Docs: https://hexo.io/docs/one-command-deployment
    +deploy:
    +  type: git
    +  repo: https://github.com/<username>/<username>.github.io
    +  branch: <站点项目分支>
    +
    +

    一键部署

    使用Hexo一键部署可以快速实现部署,只需要执行一个指令

    +
    hexo deploy
    +
    +

    等待进度完毕后即可在GitHub找到这些文件

    +
    +

    该操作只会将站点主要文件,即站点文件(项目根目录source文件夹)上传至Github,根目录中其他文件并不会跟随上传。

    +

    如有需求,请使用Git的push方法上传,并开启仓库分支,将源文件与站点文件双份存储,开启站点时指向站点文件分支即可

    +
    + + + + +

    GitHub博客模式设置

    当所有文件上传之后,转到仓库设置(setting)-页面(pages)

    + + +

    source模式改为分支模式,branch中选择你站点的分支,然后点击”save“执行更改。

    +

    随后就可以在网址查看自己的站点

    +
    https://<username>.github.io
    +
    +
    +

    这里需要注意的是,该操作不会立刻被执行,在1~10分钟内才会被执行,可以重复刷新页面,但是不要去重复上传与部署操作,待10分钟后页面依旧没有反应,再去检查自己的操作是否存在问题,再次执行上传与部署操作。

    +
    +

    END

    Author: Shen Yuan
    Link: https://shenyuanol.github.io/post/2024/12/07/GitHub-Hexo%E5%88%9D%E6%AC%A1%E5%BB%BA%E7%AB%99%E7%AE%80%E5%8D%95%E6%B5%81%E7%A8%8B%E4%B8%8E%E9%97%AE%E9%A2%98/
    Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
    \ No newline at end of file diff --git "a/post/2024/12/07/HTML-CSS\347\254\224\350\256\260/index.html" "b/post/2024/12/07/HTML-CSS\347\254\224\350\256\260/index.html" index 052883e..c6b510b 100644 --- "a/post/2024/12/07/HTML-CSS\347\254\224\350\256\260/index.html" +++ "b/post/2024/12/07/HTML-CSS\347\254\224\350\256\260/index.html" @@ -1 +1,227 @@ -
    \ No newline at end of file +HTML/CSS笔记 | 深远 + + + + + + + + + + + + + + +

    HTML/CSS笔记

    HTML

    零碎知识点

    语义元素

    可以理解为把HTML标签用人话描述出来,并且自带了一些样式。

    +

    旧的HTML4只能通过定义class或者id来给予特定容器以特定的样式类型,HTML5语义元素则通过官方标签的方式将这些复用率较高的容器组件化,便于直接使用,从而节省开发时间。

    +

    同时使页面结构更加现代化,更加直观的展示主要信息,

    +

    web存储

    存储方式与存储周期

    存在以下两种存储方式(客户端)

    +

    localStorage:若用户不主动清除该存储数据,则一直存在于用户浏览器存储中,作用域仅限与之相关联的站点。

    +

    sessionStorage:生命周期为一个标签页的周期,即只能在这个标签页周期内存储与该页面有关的数据,关闭页面后数据也随之删除。

    +

    存储信息以键值对方式存在,数据格式包括num、object、string

    +

    常用命令

    +

    local与session指令使用方法一样,只不过前缀不同,下面将以*省略前缀

    +
    +

    *Storage.setItem( name[String], value ) 存储名为name,值为value的数据

    +

    *Storage.getItem( name[String] ) 查找名为name的值

    +

    *Storage.removeItem( name[String] ) 移除名为name的数据

    +

    *Storage.clear() 清除所有数据

    +

    *Storage.key() 得到某个数据的索引值

    +

    格式转换

    +

    这里需要注意转换的目标数据要符合转换后数据类型的格式要求,不然会导致格式错误,影响后续对数据的调用

    +
    +
    //字符串转对象
    +var str = new String;
    +var site = JSON.parse(str);
    +//对象转字符串
    +var site = new Object;
    +var str = JSON.stringify(site); 
    +//字符串转数字
    +var str = new String;
    +var num = Number(str);
    +console.log( parseInt( str ) );//解析十进制数,它将四舍五入到最接近的整数值,并将该值转换为string
    +console.log(+str);
    +parseFloat();//解析一段内容,并且将第一个数字输出
    +console.log( str * 1 );
    +console.log( ~~str )
    +//数字转字符串
    +var num = new Number;
    +var str = num.toString();
    +var str = String(num);
    +var str = '' + num;
    +var str = num.toFixed();
    +
    +

    indexedDB

    更符合现代需求的浏览器数据库,取代旧版WBE SQL。较于loaclStorage存储量更大,储存类型更丰富,并且不会阻塞主进程

    +

    Canvas

    HTML页面与JS绘图的桥接物。

    +

    拖放

    <div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)">
    +    <img src="/images/logo.png" draggable="true" ondragstart="drag(event)" id="drag1" width="88" height="31">
    +</div>
    +<div id="div2" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
    +
    +
    +<script>
    +function allowDrop(ev) {
    +    ev.preventDefault();
    +}
    +
    +function drag(ev) {
    +    ev.dataTransfer.setData("Text",ev.target.id);
    +}
    +
    +function drop(ev) {
    +    ev.preventDefault();
    +    var data=ev.dataTransfer.getData("Text");
    +    ev.target.appendChild(document.getElementById(data));
    +}
    +</script>
    +
    +
      +
    1. 设置元素为可拖放:< ** draggable=”true”></**>

      +
    2. +
    3. 设置拖动元素的数据信息:drag()

      +
    4. +
    5. 设置哪些容器可以接收拖动的元素并且消除浏览器默认行为:allowDro()

      +
    6. +
    7. 接收元素的容器获取元素的数据并且追加到容器中,同时消除浏览器默认行为:drop()

      +
    8. +
    +

    可以理解为将一个元素剪切然后追加到新容器中。

    +

    H5表单增强(input增强)

    添加了一些更符合现代需求的标签与属性,内容查询参加HTML5 表单属性 | 菜鸟教程

    +

    其中主要是对于“input”标签进行属性丰富,最显著的功能为数字/数学计算增强,即“数字输入框”

    +
    Author: Shen Yuan
    Link: https://shenyuanol.github.io/post/2024/12/07/HTML-CSS%E7%AC%94%E8%AE%B0/
    Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
    \ No newline at end of file diff --git "a/post/2024/12/08/GithHub-Hexo-VUE\345\215\225\351\241\265\351\235\242\344\270\273\351\242\230\347\232\204\351\227\256\351\242\230/index.html" "b/post/2024/12/08/GithHub-Hexo-VUE\345\215\225\351\241\265\351\235\242\344\270\273\351\242\230\347\232\204\351\227\256\351\242\230/index.html" index 052883e..4208df1 100644 --- "a/post/2024/12/08/GithHub-Hexo-VUE\345\215\225\351\241\265\351\235\242\344\270\273\351\242\230\347\232\204\351\227\256\351\242\230/index.html" +++ "b/post/2024/12/08/GithHub-Hexo-VUE\345\215\225\351\241\265\351\235\242\344\270\273\351\242\230\347\232\204\351\227\256\351\242\230/index.html" @@ -1 +1,167 @@ -
    \ No newline at end of file +GithHub-Hexo-VUE单页面主题的问题 | 深远 + + + + + + + + + + + + + +

    GithHub-Hexo-VUE单页面主题的问题

    前情提要

    你在我的博客中某个文章页面刷新,你就会发现报错“404”,但这种情况在原版Hexo是不会出现的,问题在于我用的主题。

    +

    问题

    我所用的主题Hexo Aurora Docs | Hexo Aurora Docs是使用VUE开发的,众所不周知VUE是著名的渐进式单页面应用开发框架,但就是因为这个原因导致的在GitHub-Pages中产生“404”问题。

    +

    VUE的路由与页面的关系可以理解成很多很多组件的调用,但是实际上这个路由并没有像网址一样,虽然都是指向了一个页面,但是网址是通过发送新的网络请求来请求页面的。

    +

    而现在GitHub博客VUE单页面应用,实际的路由只是在内部调用组件而已,并没有产生向后端请求数据的网络请求,因为GitHub只是给你使用的静态页面,并没有地方让你部署后端,,况且GitHub博客大多数都是静态页。因此GitHub-Pages做不到对VUE的适配,它对这种路由处理方式依旧是按网络请求来的,但是网络上并没有与这个路由有关的数据页,所以自然而然就报错404了。

    +

    可以这么理解:

    +

    VUE路由:http://xxxx.xx/post/{post_name}(内部组件调用组装的)

    +

    网址页面:http://xxxx.xx/post/post_name(后端处理网络请求,然后返回前端页面与相关数据)

    +

    解决方法

    方法一:VUE-Router路由模式

    目前我是没有找到好的解决方法,网上有说与VUE的路由模式(Hash/History)有关的,但我在主题源工程文件更改模式后重新打包部署,依旧没有解决问题【也可能是我操作方式不对】,等有时间了再研究研究这种解决方法吧

    +

    方法二:404页面“重定向”

    这个方法是自定义404页面,默认是GitHub的404页面,当你在站点根目录下创建名为“404.html”文件后,这个文件就是404页面了。

    +

    但为了避免GitHub-404页面失去对的博客操作,你可以:

    +
      +
    1. 自定义404页面,添加博客主页的跳转链接

      +
    2. +
    3. 复制一份站点根目录的”index.html“文件,重命名为:“404.html”(该方法为自动重定向博客首页的方法,如需要自定义404页面内容,请使用上一条方法)

      +
    4. +
    +

    方法三:不使用VUE开发的框架

    从根源上解决问题,对吧

    +

    END

    Author: Shen Yuan
    Link: https://shenyuanol.github.io/post/2024/12/08/GithHub-Hexo-VUE%E5%8D%95%E9%A1%B5%E9%9D%A2%E4%B8%BB%E9%A2%98%E7%9A%84%E9%97%AE%E9%A2%98/
    Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
    \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 7703de6..422cbc9 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -40,43 +40,43 @@ https://shenyuanol.github.io/ - 2024-12-08 + 2024-12-09 daily 1.0 - https://shenyuanol.github.io/tags/%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/ - 2024-12-08 + https://shenyuanol.github.io/tags/HTML/ + 2024-12-09 weekly 0.2 - https://shenyuanol.github.io/tags/HTML/ - 2024-12-08 + https://shenyuanol.github.io/tags/CSS/ + 2024-12-09 weekly 0.2 - https://shenyuanol.github.io/tags/CSS/ - 2024-12-08 + https://shenyuanol.github.io/tags/%E7%A7%81%E4%BA%BA%E7%AC%94%E8%AE%B0/ + 2024-12-09 weekly 0.2 - https://shenyuanol.github.io/tags/%E7%A7%81%E4%BA%BA%E7%AC%94%E8%AE%B0/ - 2024-12-08 + https://shenyuanol.github.io/tags/%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/ + 2024-12-09 weekly 0.2 https://shenyuanol.github.io/tags/VUE/ - 2024-12-08 + 2024-12-09 weekly 0.2 @@ -85,7 +85,7 @@ https://shenyuanol.github.io/categories/%E7%AC%94%E8%AE%B0/ - 2024-12-08 + 2024-12-09 weekly 0.2 diff --git a/static/886a749e.css b/static/886a749e.css deleted file mode 100644 index 93e4957..0000000 --- a/static/886a749e.css +++ /dev/null @@ -1 +0,0 @@ -@import"https://fonts.googleapis.com/css?family=Fira+Sans";.left-section .inner-content[data-v-8a320ede]{position:absolute;top:50%;transform:translateY(-50%)}#not-found-page[data-v-8a320ede]{margin:0;padding:0;color:var(--text-normal)}.background[data-v-8a320ede]{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(var(--background-primary),var(--background-secondary));border-radius:18px}.background .ground[data-v-8a320ede]{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);position:absolute;bottom:0;width:100%;height:25vh;background:#0c0e10;border-bottom-left-radius:18px;border-bottom-right-radius:18px}@media (max-width: 770px){.background .ground[data-v-8a320ede]{height:0vh}}.container[data-v-8a320ede]{position:relative;margin:0 auto;width:85%;height:100vh;padding-bottom:25vh;display:flex;flex-direction:row;justify-content:space-around;border-radius:18px}@media (max-width: 770px){.container[data-v-8a320ede]{flex-direction:column;padding-bottom:0vh}}.left-section[data-v-8a320ede],.right-section[data-v-8a320ede]{position:relative}.left-section[data-v-8a320ede]{width:40%}@media (max-width: 770px){.left-section[data-v-8a320ede]{width:100%;height:40%;position:absolute;top:0}.left-section .inner-content[data-v-8a320ede]{position:relative;padding:1rem 0}}.heading[data-v-8a320ede]{text-align:center;font-size:9em;line-height:1.3em;margin:2rem 0 .5rem;padding:0;text-shadow:0 0 1rem #fefefe}@media (max-width: 770px){.heading[data-v-8a320ede]{font-size:7em;line-height:1.15;margin:0}}.subheading[data-v-8a320ede]{text-align:center;max-width:480px;font-size:1.5em;line-height:1.15em;padding:0 1rem;margin:0 auto}@media (max-width: 770px){.subheading[data-v-8a320ede]{font-size:1.3em;line-height:1.15;max-width:100%}}.right-section[data-v-8a320ede]{width:50%}@media (max-width: 770px){.right-section[data-v-8a320ede]{width:100%;height:60%;position:absolute;bottom:0}}.svgimg[data-v-8a320ede]{position:absolute;bottom:0;padding-top:10vh;padding-left:1vh;max-width:100%;max-height:100%}@media (max-width: 770px){.svgimg[data-v-8a320ede]{padding:0}}.svgimg .bench-legs[data-v-8a320ede]{fill:#0c0e10}.svgimg .top-bench[data-v-8a320ede],.svgimg .bottom-bench[data-v-8a320ede]{stroke:#0c0e10;stroke-width:1px;fill:#5b3e2b}.svgimg .bottom-bench path[data-v-8a320ede]:nth-child(1){fill:#432d20}.svgimg .lamp-details[data-v-8a320ede]{fill:#202425}.svgimg .lamp-accent[data-v-8a320ede]{fill:#2c3133}.svgimg .lamp-bottom[data-v-8a320ede]{fill:linear-gradient(#202425,#0c0e10)}.svgimg .lamp-light[data-v-8a320ede]{fill:#efefef}@keyframes glow-8a320ede{0%{text-shadow:0 0 1rem #fefefe}50%{text-shadow:0 0 1.85rem #ededed}to{text-shadow:0 0 1rem #fefefe}} diff --git a/static/css/3e25f349.css b/static/css/3e25f349.css deleted file mode 100644 index 3307386..0000000 --- a/static/css/3e25f349.css +++ /dev/null @@ -1 +0,0 @@ -.post-title[data-v-1d305902]{margin-top:1.5rem;margin-bottom:1rem;font-size:clamp(1.2rem,1rem + 3.5vw,3rem);text-shadow:0 2px 2px rgba(0,0,0,.5);line-height:1.1}.post-stats[data-v-1d305902]{margin-bottom:1.5rem;display:flex;width:100%;flex-direction:row;font-size:.75rem;line-height:1rem}@media (min-width: 1024px){.post-stats[data-v-1d305902]{font-size:.875rem;line-height:1.25rem}}.post-stats span[data-v-1d305902]{display:flex;flex-direction:row;align-items:center;stroke:currentColor;padding-right:1rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))} diff --git a/static/css/6b275704.css b/static/css/6b275704.css deleted file mode 100644 index 80f3eea..0000000 --- a/static/css/6b275704.css +++ /dev/null @@ -1 +0,0 @@ -#vcomments .vwrap{border-radius:.75rem;background-color:var(--background-primary);border:none;border-color:transparent}#vcomments .vwrap .vheader{display:grid;gap:.5rem}#vcomments .vwrap .vheader.item2{grid-template-columns:repeat(2,minmax(0,1fr))}#vcomments .vwrap .vheader.item3{grid-template-columns:repeat(3,minmax(0,1fr))}#vcomments .vwrap .vheader .vinput{width:100%;border-radius:.5rem;border-style:none;background-color:var(--background-secondary);padding-left:.75rem;padding-right:.75rem}#vcomments .vcards>.vcard{margin-bottom:1.5rem;border-radius:.5rem;background-color:var(--background-primary);padding:1.5rem 1rem .5rem;transition:var(--trans-ease)}#vcomments .vcards>.vcard:hover{box-shadow:var(--accent-shadow)}#vcomments .vcards .vcard .vimg{border:2px solid var(--text-accent)}#vcomments .vcards .vcard .vh{border:none}#vcomments .vcards .vcard .vh .vmeta .vat{color:var(--text-accent);opacity:.6;transition:var(--trans-ease)}#vcomments .vcards .vcard .vh .vmeta .vat:hover{opacity:.3}#vcomments .vcards .vcard .vquote{border:none}#vcomments .vcards .vcard .vhead .vnick{color:var(--text-accent);font-weight:700}#vcomments .vbtn{background:var(--main-gradient);border:none;color:#fff}#vcomments .vbtn:hover{color:#fff;opacity:.5}#vcomments .vcount .vnum{color:var(--text-accent)}#vcomments .veditor,#vcomments .vinput{color:var(--text-normal)}#vcomments .vicon{transition:var(--trans-ease)}#vcomments .vicon:hover{opacity:.5}#vcomments a{color:var(--text-sub-accent);transition:var(--trans-ease)}#vcomments a:hover{opacity:.5}#vcomments blockquote{border-left:.25rem solid var(--bg-accent-55)}#vcomments p{color:var(--text-normal)}#gitalk-container .gt-container .gt-meta{border-bottom:1px solid var(--background-primary)}#gitalk-container .gt-container .gt-header-textarea{background-color:var(--background-primary)}#gitalk-container .gt-container .gt-btn{border:none;background:var(--main-gradient);transition:var(--trans-ease)}#gitalk-container .gt-container .gt-btn:hover{opacity:.5}#gitalk-container .gt-container .gt-btn-preview{background:var(--background-secondary);color:var(--text-bright);opacity:.7}#gitalk-container .gt-container .gt-header-controls-tip{color:var(--text-bright);opacity:.7;transition:var(--trans-ease)}#gitalk-container .gt-container .gt-header-controls-tip:hover{opacity:.5}#gitalk-container .gt-container .gt-svg svg{fill:var(--text-bright)}#gitalk-container .gt-container .gt-popup{background:var(--background-secondary);border:1px solid var(--background-primary);border-radius:.25rem}#gitalk-container .gt-container .gt-copyright{border-top:1px solid var(--background-primary)}#gitalk-container .gt-container .gt-link{border-bottom:2px solid var(--text-accent)}#gitalk-container .gt-container a{color:var(--text-accent);transition:var(--trans-ease)}#gitalk-container .gt-container a.is--active{color:var(--text-bright)}#gitalk-container .gt-container a.is--active:before{background:var(--text-accent)}#gitalk-container .gt-container a:hover{opacity:.5}#gitalk-container .gt-container .gt-comment-admin .gt-comment-content{background-color:var(--background-primary);box-shadow:var(--accent-shadow)}#gitalk-container .gt-container .gt-comment-admin .gt-comment-content:hover{box-shadow:var(--accent-shadow)}#gitalk-container .gt-container .gt-comment-admin .gt-comment-content a{color:var(--text-accent)}#gitalk-container .gt-container .gt-comment-admin .gt-comment-content .gt-comment-body.markdown-body blockquote{border-left:.25em solid var(--bg-accent-55)}#gitalk-container .gt-container .gt-comment-admin .gt-comment-content .gt-comment-body.markdown-body pre{background-color:var(--background-secondary)}#gitalk-container .gt-container .gt-comment-content{background-color:var(--background-primary);border-radius:5px}#gitalk-container .gt-container .gt-comment-content:hover{box-shadow:var(--sub-accent-shadow)}#gitalk-container .gt-container .gt-comment-content a{color:var(--text-sub-accent)}#gitalk-container .gt-container .gt-comment-body{color:var(--text-normal)!important}#gitalk-container .gt-container .gt-comment-body.markdown-body blockquote{border-left:.25em solid var(--bg-sub-accent-55)}#twikoo .tk-comments{padding-top:.5rem}#twikoo .tk-input,#twikoo .tk-meta-input input{background-color:var(--background-primary)}#twikoo .el-input__inner:focus,#twikoo .el-textarea__inner:focus{border-color:var(--text-accent)}#twikoo .el-button--primary{background:var(--main-gradient);border:none;color:#fff}#twikoo .el-button--primary:hover{color:#fff;opacity:.5}#twikoo .tk-icon.__comments,#twikoo .tk-action-icon{color:var(--text-accent)}#twikoo .tk-comment{margin-bottom:.5rem;border-radius:.5rem;background-color:var(--background-primary);padding:1.5rem 1rem;transition:var(--trans-ease)}#twikoo .tk-comment:hover{box-shadow:var(--accent-shadow)}#twikoo .tk-avatar{border:none}#twikoo .tk-nick{color:var(--text-accent);font-weight:700}#twikoo .tk-comments-count>span:first-of-type{color:var(--text-accent)}.comment-diamond-avatar #waline .wl-user img,.comment-diamond-avatar #waline .wl-login-nick img{-webkit-clip-path:polygon(50% 3%,91% 25%,91% 75%,50% 97%,9% 75%,9% 25%);clip-path:polygon(50% 3%,91% 25%,91% 75%,50% 97%,9% 75%,9% 25%)}.comment-circle-avatar #waline .wl-user img,.comment-circle-avatar #waline .wl-login-nick img{border-radius:9999px;border-color:var(--background-primary);border-width:6px}.comment-rounded-avatar #waline .wl-user img,.comment-rounded-avatar #waline .wl-login-nick img{border-radius:1rem;border-color:var(--background-primary);border-width:6px}#waline{--waline-theme-color: var(--text-accent);--waline-border: var(--background-secondary);--waline-bgcolor: var(--background-primary);--waline-bgcolor-light: var(--background-secondary);--waline-badge-color: var(--text-accent);--waline-disabled-bgcolor: var(--text-dim);--waline-avatar-size: 2.25rem;--waline-m-avatar-size: 1.25rem}#waline .wl-editor{margin-left:.25rem;margin-right:.25rem;margin-top:0;margin-bottom:0;box-sizing:border-box;background-color:var(--background-secondary);padding:.5rem;opacity:.5;transition:.3s opacity linear}#waline .wl-editor:focus{opacity:1}#waline .wl-login-nick{font-size:1.125rem;line-height:1.75rem}@media (min-width: 1024px){#waline .wl-login-nick{font-size:1.5rem;line-height:2rem}}#waline .wl-login-nick{color:var(--text-sub-accent)}#waline .wl-login-nick img{height:1.5rem;width:1.5rem}@media (min-width: 1024px){#waline .wl-login-nick img{height:2.25rem;width:2.25rem}}#waline .wl-text-number{display:none}@media (min-width: 1024px){#waline .wl-text-number{display:block}}#waline .wl-avatar{margin-right:.75rem;height:1.5rem;width:1.5rem}@media (min-width: 1024px){#waline .wl-avatar{height:2.25rem;width:2.25rem}}#waline .wl-header{margin-bottom:.5rem;margin-left:.25rem;margin-right:.5rem;display:flex;gap:.5rem;border-bottom-width:0}#waline .wl-header .wl-header-item{border-radius:.375rem;background-color:var(--background-secondary)}#waline .wl-header .wl-header-item label{font-weight:700}#waline .wl-header .wl-header-item input{height:100%;width:100%;background-color:var(--background-secondary);padding:.25rem .5rem;opacity:.5;transition:.3s opacity ease-in-out}#waline .wl-header .wl-header-item input:focus{opacity:1}#waline .wl-input,#waline .wl-input.wl-nick{font-size:.75rem;line-height:1rem;color:var(--text-dim)}#waline .wl-nick{font-size:1.25rem;line-height:1.75rem}@media (min-width: 1024px){#waline .wl-nick{font-size:1.5rem;line-height:2rem}}#waline .wl-nick{color:var(--text-sub-accent)}#waline .wl-cards{display:flex;flex-direction:column;gap:.5rem;padding-bottom:1rem}#waline .wl-cards .wl-user{margin-top:.375rem;display:flex;justify-content:center;background-color:var(--background-primary);padding-right:.5rem}@media (min-width: 1024px){#waline .wl-cards .wl-user{padding-right:1rem}}#waline .wl-cards .wl-user{margin-inline-end:0}#waline .wl-cards .wl-user .verified-icon{left:1rem;top:1.5rem}@media (min-width: 1024px){#waline .wl-cards .wl-user .verified-icon{left:1.5rem;top:2rem}}#waline .wl-cards .wl-user img{height:1.5rem;width:1.5rem}@media (min-width: 1024px){#waline .wl-cards .wl-user img{height:2.25rem;width:2.25rem}}#waline .wl-cards .wl-user svg{position:absolute;top:1.6875rem;inset-inline-start:1.65rem}#waline .wl-comment{display:flex;flex-direction:column;border-radius:.5rem;background-color:var(--background-primary);padding:1rem}#waline .wl-login-info{margin-top:0;display:flex;max-width:none;flex-direction:row;align-items:center}#waline .wl-login-info .wl-logout-btn{top:0;inset-inline-end:-.5rem}#waline .wl-login-info a.wl-login-nick{display:flex;width:100%}#waline .wl-card-item{border-radius:.5rem;background-color:var(--background-primary);padding:.5rem}@media (min-width: 1024px){#waline .wl-card-item{padding:1rem}}#waline .wl-card-item .wl-card-item{margin-bottom:.5rem;--tw-shadow: var(--accent-shadow);--tw-shadow-colored: var(--accent-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: var(--text-accent);--tw-shadow: var(--tw-shadow-colored)}#waline .wl-card{border-bottom-width:0px;padding-top:.25rem;padding-bottom:0}@media (min-width: 1024px){#waline .wl-card{padding-top:.5rem}}#waline .wl-num{color:var(--text-accent)}#waline .primary.wl-btn{padding-left:1rem;padding-right:1rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));border:none;background:var(--main-gradient);transition:var(--trans-ease)}#waline .primary.wl-btn:hover{opacity:.5}#waline .wl-card .wl-quote{border-inline-start:none}#waline .wl-card .wl-delete,#waline .wl-card .wl-like,#waline .wl-card .wl-reply,#waline .wl-card .wl-edit{color:var(--text-dim)}#waline .wl-card .wl-edit,#waline .wl-card .wl-delete,#waline .wl-card .wl-like{display:none}@media (min-width: 1024px){#waline .wl-card .wl-edit,#waline .wl-card .wl-delete,#waline .wl-card .wl-like{display:inline-flex}}#waline .wl-card .wl-badge{margin-inline-end:0px;margin-right:.5rem;box-sizing:border-box;border-style:none;background-color:var(--bg-accent-55);padding:.125rem .25rem;font-size:.75rem;line-height:1rem;color:var(--text-accent)}#waline .wl-card .wl-badge:first-of-type{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));background:var(--main-gradient)}#waline .wl-card .wl-badge:nth-of-type(2){display:none}@media (min-width: 1024px){#waline .wl-card .wl-badge:nth-of-type(2){display:inline-flex}}#waline .wl-sort li:hover{color:var(--text-accent)}#waline .wl-head{margin-bottom:.5rem;display:flex;align-items:center}#waline .wl-head .wl-time{margin-right:auto}#waline .wl-meta{margin-bottom:.5rem}#waline .wl-meta span{margin-inline-end:.25rem;border-radius:.375rem;padding:.125rem .375rem;font-size:.55rem}@media (min-width: 1024px){#waline .wl-meta span{font-size:.75rem;line-height:1rem}}#waline .wl-header-item{align-items:center}#waline .wl-admin-actions{padding-top:1rem}#waline .wl-admin-actions .wl-btn{padding:.375rem .5rem;font-size:.65rem}#waline .wl-admin-actions .wl-btn.wl-approved:disabled{background-color:var(--background-secondary);color:var(--text-normal)}#waline .wl-comment-actions{display:flex;gap:.375rem}#waline .wl-comment-actions>*:hover{color:var(--text-accent)} diff --git a/static/css/882f9706.css b/static/css/882f9706.css deleted file mode 100644 index 60bd142..0000000 --- a/static/css/882f9706.css +++ /dev/null @@ -1 +0,0 @@ -.breadcrumbs[data-v-ce11ce40],.breadcrumbs li[data-v-ce11ce40]{position:relative;z-index:20}.breadcrumbs li[data-v-ce11ce40]:after{content:">";position:absolute;top:.05rem;right:-.95rem;opacity:.65}.breadcrumbs li[data-v-ce11ce40]:last-of-type:after{content:""} diff --git a/static/css/8e0e69c4.css b/static/css/8e0e69c4.css deleted file mode 100644 index 1750091..0000000 --- a/static/css/8e0e69c4.css +++ /dev/null @@ -1 +0,0 @@ -.btn{padding:8px 12px;background:var(--heo-fontcolor);border-radius:12px;color:var(--heo-card-bg);display:flex;align-items:center;z-index:1;transition:.3s;cursor:pointer}.link-group-wrapper{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));animation:rowup 60s linear infinite}.links-group-avatar-pair .links-group-avatar:nth-child(2n){margin-top:1rem;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(-60px)}.links-group-avatar-pair .links-group-avatar:nth-child(2n).diamond-shape{margin-top:0;transform:translate(-66px)}.link-box-btn-group{position:absolute;right:2rem;top:2rem;display:flex}@keyframes rowup{0%{transform:translate(0)}to{transform:translate(-66.6666%)}}#link-card{position:relative}#link-card.highlighted.category-mode .article .article-content p{height:2rem}@media (min-width: 640px){#link-card.highlighted.category-mode .article .article-content p{height:2.5rem}}@media (min-width: 1024px){#link-card.highlighted.category-mode .article .article-content p{height:2.5rem}}#link-card.highlighted.category-mode .article .article-content p{-webkit-line-clamp:2}#link-card.article-container{height:auto}#link-card .article .article-content span b{border-radius:.375rem;background-color:var(--background-trans);padding:.25rem .5rem;color:var(--text-bright)}#link-card .article .article-content span b.vip{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity));padding:.25rem .5rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}#link-card .article .article-content h1{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem}#link-card .article .article-content h1.vip-text{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}#link-card .article .article-content p{height:2.5rem;font-size:.875rem;line-height:1.25rem}@media (min-width: 640px){#link-card .article .article-content p{height:2.5rem}}@media (min-width: 1024px){#link-card .article .article-content p{height:2.5rem}}#link-card .article .article-content p{display:-webkit-box;margin:0 auto;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis} diff --git a/static/css/9a0271b0.css b/static/css/9a0271b0.css deleted file mode 100644 index 3878020..0000000 --- a/static/css/9a0271b0.css +++ /dev/null @@ -1 +0,0 @@ -.timeline[data-v-43e81927]{position:relative;z-index:2;line-height:1.4em;list-style:none;margin:0;padding:0;width:100%}.timeline h1[data-v-43e81927],.timeline h2[data-v-43e81927],.timeline h3[data-v-43e81927],.timeline h4[data-v-43e81927],.timeline h5[data-v-43e81927],.timeline h6[data-v-43e81927]{margin-top:0}.timeline-item[data-v-43e81927]{padding-left:40px;position:relative}.timeline-item[data-v-43e81927]:last-child{padding-bottom:0}.timeline-info[data-v-43e81927]{color:var(--text-accent);font-size:12px;font-weight:700;letter-spacing:3px;margin:0 0 .5em;text-transform:uppercase;white-space:nowrap}.timeline-marker[data-v-43e81927]{position:absolute;top:0;bottom:0;left:0;width:15px}.timeline-marker[data-v-43e81927]:before{background:var(--text-accent);border:3px solid transparent;border-radius:100%;content:"";display:block;height:15px;position:absolute;top:4px;left:0;width:15px;transition:background .3s ease-in-out,border .3s ease-in-out}.timeline-marker[data-v-43e81927]:after{content:"";width:3px;background:var(--text-normal);display:block;position:absolute;top:24px;bottom:0;left:6px}.timeline-item:last-child .timeline-marker[data-v-43e81927]:after{content:none}.timeline-item:not(.period):hover .timeline-marker[data-v-43e81927]:before{background:transparent;border:3px solid var(--text-accent)}.timeline-content[data-v-43e81927]{padding-bottom:40px}.timeline-content p[data-v-43e81927]:last-child{margin-bottom:0}.timeline-title[data-v-43e81927]{position:relative;margin-bottom:1rem;padding-bottom:.5rem;font-size:1.5rem;line-height:2rem;color:var(--text-bright);font-weight:600}.timeline-title[data-v-43e81927]:after{position:absolute;bottom:0;height:.25rem;width:6rem;border-radius:9999px;content:"";background:var(--main-gradient);left:0}.period[data-v-43e81927]{padding:0}.period .timeline-info[data-v-43e81927]{display:none}.period .timeline-marker[data-v-43e81927]:before{background:transparent;content:"";width:15px;height:auto;border:none;border-radius:0;top:0;bottom:30px;position:absolute;border-top:3px solid var(--text-normal);border-bottom:3px solid var(--text-normal)}.period .timeline-marker[data-v-43e81927]:after{content:"";height:32px;top:auto}.period .timeline-content[data-v-43e81927]{padding:40px 0 70px}.period .timeline-title[data-v-43e81927]{margin:0}.period .timeline-title[data-v-43e81927]:after{content:none}@media (min-width: 768px){.timeline-split .timeline[data-v-43e81927],.timeline-centered .timeline[data-v-43e81927]{display:table}.timeline-split .timeline-item[data-v-43e81927],.timeline-centered .timeline-item[data-v-43e81927]{display:table-row;padding:0}.timeline-split .timeline-info[data-v-43e81927],.timeline-centered .timeline-info[data-v-43e81927],.timeline-split .timeline-marker[data-v-43e81927],.timeline-centered .timeline-marker[data-v-43e81927],.timeline-split .timeline-content[data-v-43e81927],.timeline-centered .timeline-content[data-v-43e81927],.timeline-split .period .timeline-info[data-v-43e81927]{display:table-cell;vertical-align:top}.timeline-split .timeline-marker[data-v-43e81927],.timeline-centered .timeline-marker[data-v-43e81927]{position:relative}.timeline-split .timeline-content[data-v-43e81927],.timeline-centered .timeline-content[data-v-43e81927]{padding-left:30px}.timeline-split .timeline-info[data-v-43e81927],.timeline-centered .timeline-info[data-v-43e81927]{padding-right:30px}.timeline-split .period .timeline-title[data-v-43e81927],.timeline-centered .period .timeline-title[data-v-43e81927]{position:relative;left:-45px}}@media (min-width: 992px){.timeline-centered[data-v-43e81927],.timeline-centered .timeline-item[data-v-43e81927],.timeline-centered .timeline-info[data-v-43e81927],.timeline-centered .timeline-marker[data-v-43e81927],.timeline-centered .timeline-content[data-v-43e81927]{display:block;margin:0;padding:0}.timeline-centered .timeline-item[data-v-43e81927]{padding-bottom:40px;overflow:hidden}.timeline-centered .timeline-marker[data-v-43e81927]{position:absolute;left:50%;margin-left:-7.5px}.timeline-centered .timeline-info[data-v-43e81927],.timeline-centered .timeline-content[data-v-43e81927]{width:50%}.timeline-centered>.timeline-item:nth-child(odd) .timeline-info[data-v-43e81927]{float:left;text-align:right;padding-right:30px}.timeline-centered>.timeline-item:nth-child(odd) .timeline-content[data-v-43e81927]{float:right;text-align:left;padding-left:30px}.timeline-centered>.timeline-item:nth-child(odd) .timeline-content .timeline-title[data-v-43e81927]:after{left:0;right:initial}.timeline-centered>.timeline-item:nth-child(2n) .timeline-info[data-v-43e81927]{float:right;text-align:left;padding-left:30px}.timeline-centered>.timeline-item:nth-child(2n) .timeline-content[data-v-43e81927]{float:left;text-align:right;padding-right:30px}.timeline-centered>.timeline-item:nth-child(2n) .timeline-content .timeline-title[data-v-43e81927]:after{right:0;left:initial}.timeline-centered>.timeline-item.period .timeline-content[data-v-43e81927]{float:none;padding:0;width:100%;text-align:center}.timeline-centered .timeline-item.period[data-v-43e81927]{padding:50px 0 90px}.timeline-centered .period .timeline-marker[data-v-43e81927]:after{height:30px;bottom:0;top:auto}.timeline-centered .period .timeline-title[data-v-43e81927]{left:auto}} diff --git a/static/css/a14e1a22.css b/static/css/a14e1a22.css deleted file mode 100644 index ef14907..0000000 --- a/static/css/a14e1a22.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";:root{--max-width: 1600px;--gap: 1.75rem;--main-gradient: linear-gradient( 130deg, #24c6dc, #5433ff 41.07%, #ff0099 76.05% );--theme-transition: all .25s ease}.theme-light{--background-primary: rgb(241, 243, 249);--background-primary-alt: #fafafa;--background-secondary: #ffffff;--background-secondary-alt: #2e3236;--background-trans: rgba(0, 0, 0, .15);--background-backdrop: rgba(241, 243, 249, .8);--text-bright: #000000;--text-invert: #ffffff;--text-normal: #333333;--text-accent: #e93796;--text-sub-accent: #547ce7;--text-faint: #b2b2b2;--text-dim: #858585;--text-title-h1: #333;--text-title-h2: #333;--text-title-h3: #333;--text-title-h4: #333;--text-title-h5: #333;--text-link: #b4b4b4;--text-a: #db4d52;--text-a-hover: #db4d52;--bg-accent-55: rgba(244, 86, 157, .55);--bg-sub-accent-55: rgba(13, 185, 215, .55);--bg-accent-05: rgba(244, 86, 157, .05);--strong-gradient: linear-gradient( 62deg, #188bfd 0%, #a03bff 100% ) !important;--gradient-cover: linear-gradient( 90deg, hsla(0, 0%, 98%, 0) 0, hsla(0, 0%, 98%, .013) 8.1%, hsla(0, 0%, 98%, .049) 15.5%, hsla(0, 0%, 98%, .104) 22.5%, hsla(0, 0%, 98%, .175) 29%, hsla(0, 0%, 98%, .259) 35.3%, hsla(0, 0%, 98%, .352) 41.2%, hsla(0, 0%, 98%, .45) 47.1%, hsla(0, 0%, 98%, .55) 52.9%, hsla(0, 0%, 98%, .648) 58.8%, hsla(0, 0%, 98%, .741) 64.7%, hsla(0, 0%, 98%, .825) 71%, hsla(0, 0%, 98%, .896) 77.5%, hsla(0, 0%, 98%, .951) 84.5%, hsla(0, 0%, 98%, .987) 91.9%, var(--background-secondary) );--article-cover: linear-gradient( 180deg, hsla(0, 0%, 98%, 0) 0, hsla(0, 0%, 98%, .013) 8.1%, hsla(0, 0%, 98%, .049) 15.5%, hsla(0, 0%, 98%, .104) 22.5%, hsla(0, 0%, 98%, .175) 29%, hsla(0, 0%, 98%, .259) 35.3%, hsla(0, 0%, 98%, .352) 41.2%, hsla(0, 0%, 98%, .45) 47.1%, hsla(0, 0%, 98%, .55) 52.9%, hsla(0, 0%, 98%, .648) 58.8%, hsla(0, 0%, 98%, .741) 64.7%, hsla(0, 0%, 98%, .825) 71%, hsla(0, 0%, 98%, .896) 77.5%, hsla(0, 0%, 98%, .951) 84.5%, hsla(0, 0%, 98%, .987) 91.9%, var(--background-secondary) );--banner-cover: linear-gradient(180deg, hsla(225, 40%, 96%, 0) 0, hsla(225, 40%, 96%, .013) 8.1%, hsla(225, 40%, 96%, .049) 15.5%, hsla(225, 40%, 96%, .104) 22.5%, hsla(225, 40%, 96%, .175) 29%, hsla(225, 40%, 96%, .259) 35.3%, hsla(225, 40%, 96%, .352) 41.2%, hsla(225, 40%, 96%, .45) 47.1%, hsla(225, 40%, 96%, .55) 52.9%, hsla(225, 40%, 96%, .648) 58.8%, hsla(225, 40%, 96%, .741) 64.7%, hsla(225, 40%, 96%, .825) 71%, hsla(225, 40%, 96%, .896) 77.5%, hsla(225, 40%, 96%, .951) 84.5%, hsla(225, 40%, 96%, .987) 91.9%, var(--background-primary));--nav-cover: linear-gradient(90deg, hsla(225, 40%, 96%, 0) 0, hsla(225, 40%, 96%, .013) 8.1%, hsla(225, 40%, 96%, .049) 15.5%, hsla(225, 40%, 96%, .104) 22.5%, hsla(225, 40%, 96%, .175) 29%, hsla(225, 40%, 96%, .259) 35.3%, hsla(225, 40%, 96%, .352) 41.2%, hsla(225, 40%, 96%, .45) 47.1%, hsla(225, 40%, 96%, .55) 52.9%, hsla(225, 40%, 96%, .648) 58.8%, hsla(225, 40%, 96%, .741) 64.7%, hsla(225, 40%, 96%, .825) 71%, hsla(225, 40%, 96%, .896) 77.5%, hsla(225, 40%, 96%, .951) 84.5%, hsla(225, 40%, 96%, .987) 91.9%, var(--background-primary));--app-screen-bg: #1a1a1a;--trans-ease: all .25s ease;--accent-shadow: 0 20px 25px -5px rgba(232, 57, 255, .06), 0 10px 10px -5px rgba(53, 11, 59, .1);--sub-accent-shadow: 0 20px 25px -5px rgba(71, 190, 255, .06), 0 10px 10px -5px rgba(11, 42, 59, .1);--search-modal-key-gradient: linear-gradient(-225deg, #d5dbe4, #f8f8f8);--search-modal-key-shadow: inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff, 0 1px 2px 1px rgba(30, 35, 90, .4);--custom-quote-tip: #7343d5;--custom-quote-warning: #e98503;--custom-quote-danger: #dd2500;--custom-quote: #e93796}.theme-dark{--background-primary: #1a1a1a;--background-primary-alt: #0d0b12;--background-secondary: #212121;--background-secondary-alt: #0d0b12;--background-trans: rgba(255, 255, 255, .15);--background-backdrop: rgba(26, 26, 26, .8);--background-blur: rgba(0,0,0,.09);--skeleton-bg: #2e2e2e;--skeleton-hl: #363636;--text-bright: #fff;--text-invert: #000000;--text-normal: #bebebe;--text-accent: #0fb6d6;--text-sub-accent: #f4569d;--text-dim: #6d6d6d;--text-faint: #7aa2f7;--text-title-h1: var(--text-accent);--text-title-h2: #cbdbe5;--text-title-h3: #cbdbe5;--text-title-h4: #cbdbe5;--text-title-h5: #cbdbe5;--text-link: #b4b4b4;--text-a: #6bcafb;--text-a-hover: #6bcafb;--bg-sub-accent-55: rgba(244, 86, 157, .55);--bg-accent-55: rgba(13, 185, 215, .55);--bg-accent-05: rgba(14, 210, 247, .05);--strong-gradient: linear-gradient( 62deg, #87c2fd 0%, #dcb9fc 100% ) !important;--gradient-cover: linear-gradient( 90deg, hsla(0, 0%, 13%, 0) 0, hsla(0, 0%, 13%, .013) 8.1%, hsla(0, 0%, 13%, .049) 15.5%, hsla(0, 0%, 13%, .104) 22.5%, hsla(0, 0%, 13%, .175) 29%, hsla(0, 0%, 13%, .259) 35.3%, hsla(0, 0%, 13%, .352) 41.2%, hsla(0, 0%, 13%, .45) 47.1%, hsla(0, 0%, 13%, .55) 52.9%, hsla(0, 0%, 13%, .648) 58.8%, hsla(0, 0%, 13%, .741) 64.7%, hsla(0, 0%, 13%, .825) 71%, hsla(0, 0%, 13%, .896) 77.5%, hsla(0, 0%, 13%, .951) 84.5%, hsla(00, 0%, 13%, .987) 91.9%, var(--background-secondary) );--article-cover: linear-gradient( 180deg, hsla(0, 0%, 13%, 0) 0, hsla(0, 0%, 13%, .013) 8.1%, hsla(0, 0%, 13%, .049) 15.5%, hsla(0, 0%, 13%, .104) 22.5%, hsla(0, 0%, 13%, .175) 29%, hsla(0, 0%, 13%, .259) 35.3%, hsla(0, 0%, 13%, .352) 41.2%, hsla(0, 0%, 13%, .45) 47.1%, hsla(0, 0%, 13%, .55) 52.9%, hsla(0, 0%, 13%, .648) 58.8%, hsla(0, 0%, 13%, .741) 64.7%, hsla(0, 0%, 13%, .825) 71%, hsla(0, 0%, 13%, .896) 77.5%, hsla(0, 0%, 13%, .951) 84.5%, hsla(00, 0%, 13%, .987) 91.9%, var(--background-secondary) );--banner-cover: linear-gradient(180deg, hsla(0, 0%, 10%, 0) 0, hsla(0, 0%, 10%, .01) 8.1%, hsla(0, 0%, 10%, .049) 15.5%, hsla(0, 0%, 10%, .104) 22.5%, hsla(0, 0%, 10%, .175) 29%, hsla(0, 0%, 10%, .259) 35.3%, hsla(0, 0%, 10%, .352) 41.2%, hsla(0, 0%, 10%, .45) 47.1%, hsla(0, 0%, 10%, .55) 52.9%, hsla(0, 0%, 10%, .648) 58.8%, hsla(0, 0%, 10%, .741) 64.7%, hsla(0, 0%, 10%, .825) 71%, hsla(0, 0%, 10%, .896) 77.5%, hsla(0, 0%, 10%, .951) 84.5%, hsla(00, 0%, 10%, .987) 91.9%, var(--background-primary));--nav-cover: linear-gradient(90deg, hsla(0, 0%, 10%, 0) 0, hsla(0, 0%, 10%, .01) 8.1%, hsla(0, 0%, 10%, .049) 15.5%, hsla(0, 0%, 10%, .104) 22.5%, hsla(0, 0%, 10%, .175) 29%, hsla(0, 0%, 10%, .259) 35.3%, hsla(0, 0%, 10%, .352) 41.2%, hsla(0, 0%, 10%, .45) 47.1%, hsla(0, 0%, 10%, .55) 52.9%, hsla(0, 0%, 10%, .648) 58.8%, hsla(0, 0%, 10%, .741) 64.7%, hsla(0, 0%, 10%, .825) 71%, hsla(0, 0%, 10%, .896) 77.5%, hsla(0, 0%, 10%, .951) 84.5%, hsla(00, 0%, 10%, .987) 91.9%, var(--background-primary));--app-screen-bg: var(--background-primary);--trans-ease: all .25s ease;--accent-shadow: 0 20px 25px -5px rgba(11, 42, 59, .35), 0 10px 10px -5px rgba(11, 42, 59, .14);--sub-accent-shadow: 0 20px 25px -5px rgba(53, 11, 59, .35), 0 10px 10px -5px rgba(53, 11, 59, .14);--search-modal-key-gradient: linear-gradient(-225deg, #3f3e3e, #2c2c2c);--search-modal-key-shadow: inset 0 -2px 0 0 #363636, inset 0 0 1px 1px #2e2e2e, 0 1px 2px 1px rgba(30, 35, 90, .4);--custom-quote-tip: #8d53ff;--custom-quote-warning: #cbcb00;--custom-quote-danger: #dd2500;--custom-quote: #5dc3d9}.ob-text-bright{color:var(--text-bright)}.ob-drop-shadow{filter:drop-shadow(0 2px 5px rgba(0,0,0,.3))}.ob-hz-thumbnail{max-width:120%}.ob-gradient-plate{width:calc(100% - .5rem);height:calc(100% - .5rem);margin:.25rem}.ob-gradient-cut-plate{top:8%;width:calc(100% - .5rem);height:calc(92% - .5rem);margin:.25rem}.ob-avatar{margin:0;height:6rem;width:6rem;--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.footer-avatar{margin:0;height:5rem;width:5rem;opacity:.4;--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.diamond-avatar{-webkit-clip-path:polygon(50% 3%,91% 25%,91% 75%,50% 97%,9% 75%,9% 25%);clip-path:polygon(50% 3%,91% 25%,91% 75%,50% 97%,9% 75%,9% 25%)}.profile .circle-avatar,.profile .rounded-avatar{border-color:var(--background-primary);border-width:6px}.circle-avatar{border-radius:9999px}.rounded-avatar{border-radius:1rem}.animation-text{-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-box-decoration-break:clone;background-color:#ccc;background-image:linear-gradient(90deg,#cccccc,#ffffff,#cccccc);animation:1.5s ease-in-out 0s infinite normal none running SkeletonLoading}.main-grid,.inverted-main-grid{display:flex;flex-direction:column}@media (min-width: 1024px){.main-grid{display:grid;gap:var(--gap);grid-template-columns:minmax(0,1fr) 320px}.inverted-main-grid{display:grid;gap:var(--gap);grid-template-columns:245px minmax(0,1fr)}}.tab{margin-bottom:2rem;display:flex;flex-direction:row;flex-wrap:wrap;overflow-y:hidden;border-radius:1rem;background-color:var(--background-secondary);padding-left:1.5rem;padding-right:3rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);height:3.5rem;transition:height .4s ease}.tab.expanded-tab{overflow-y:initial;height:auto}.tab li{margin-top:.875rem;margin-bottom:.875rem;margin-right:.5rem;cursor:pointer}.tab li:hover{opacity:.5}.tab li.active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);text-shadow:0 2px 2px rgba(0,0,0,.5)}.tab li span{white-space:nowrap;border-top-left-radius:.375rem;border-bottom-left-radius:.375rem;background-color:var(--background-primary);padding:.5rem .75rem;text-align:center;font-size:.875rem;line-height:1.25rem}.tab li span.first-tab{border-radius:.375rem;padding-left:1.5rem;padding-right:1.5rem}.tab li b{white-space:nowrap;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;background-color:var(--background-primary);padding:.5rem;text-align:center;font-size:.875rem;line-height:1.25rem;color:var(--text-accent);opacity:.7}.tab-expander{position:absolute;right:1.25rem;top:1rem;cursor:pointer;stroke:currentColor;color:var(--text-bright);opacity:.8}.tab-expander:hover{opacity:.5}.tab-expander svg{transition:transform .4s ease}.tab-expander.expanded svg{transform:rotate(180deg)}#loading-bar-wrapper #nprogress{pointer-events:none}#loading-bar-wrapper #nprogress .bar{background:var(--main-gradient);position:absolute;z-index:3000;top:0;left:0;width:100%;height:8px}#loading-bar-wrapper #nprogress .peg{display:none;position:absolute;right:0;width:100px;height:8px;opacity:0;box-shadow:none;transform:rotate(3deg) translateY(-4px)}#loading-bar-wrapper #nprogress .spinner{display:block;position:fixed;z-index:3000;top:15px;right:15px}#loading-bar-wrapper #nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:var(--text-accent);border-left-color:var(--text-accent);border-radius:50%;animation:nprogress-spinner .4s linear infinite}#loading-bar-wrapper{position:fixed;width:100px;top:8px;left:50%;transform:translate(-50%);height:8px;border-radius:8px;z-index:2000;background:transparent;overflow:hidden}#loading-bar-wrapper.nprogress-custom-parent{background:var(--background-secondary);box-shadow:0 1px 2px #0000001a}a{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}a:hover{opacity:.5}/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com */*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.article-container{position:relative;height:100%;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;list-style-type:none;border-radius:1rem}.article-container:hover .article-content span b.article-tag span span,.article-container:hover .feature-content span b.article-tag span span{margin-right:0;opacity:1}.article-container:hover .article,.article-container:hover .feature-article{transform:scale(1.015)}.article{position:relative;top:0;z-index:10;display:grid;height:100%;grid-template-rows:repeat(3,minmax(0,1fr));overflow:hidden;border-radius:1rem;background-color:var(--background-secondary);--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition:transform .2s ease-in-out}.article .article-thumbnail{position:relative;grid-row:span 1 / span 1}.article .article-thumbnail img{position:absolute;z-index:20;display:block;height:120%;width:100%;border-radius:1rem;background-size:cover;background-repeat:no-repeat;-o-object-fit:cover;object-fit:cover}.article .article-thumbnail .thumbnail-screen{pointer-events:none;position:absolute;left:0;z-index:30;height:120%;width:100%;opacity:.4;max-width:120%;mix-blend-mode:screen}.article .article-thumbnail:after{pointer-events:none;content:"";position:absolute;z-index:35;top:13%;left:0;height:120%;width:100%;background:var(--article-cover)}.article .article-content{position:relative;z-index:40;grid-row:span 2 / span 2;display:flex;flex-direction:column;background-color:transparent;padding-left:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem}.article .article-content span{filter:drop-shadow(0 2px 1px rgba(0,0,0,.1))}.article .article-content span b{cursor:pointer;font-size:.75rem;line-height:1rem;text-transform:uppercase;color:var(--text-accent)}.article .article-content span b:hover{opacity:.6}.article .article-content span b.article-tag{position:relative;margin-right:.5rem;cursor:default;padding:.125rem .375rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.article .article-content span b.article-tag:hover{opacity:1}.article .article-content span b.article-tag span{margin-left:.125rem;font-size:.75rem;line-height:1rem;position:relative;z-index:10}.article .article-content span b.article-tag span span{margin-right:-28px;opacity:0;transition:.3s all ease-in-out}.article .article-content span b.article-tag:after{position:absolute;top:0;left:0;z-index:0;height:100%;width:100%;border-radius:.375rem;opacity:.6;content:"";background:var(--main-gradient)}.article .article-content span ul{display:inline-flex;padding-right:.5rem;font-size:.65rem}.article .article-content span ul li{margin-right:.75rem;cursor:pointer}.article .article-content span ul li:hover{opacity:.6}.article .article-content span ul li em{font-style:normal;opacity:.5}.article .article-content h1{margin-bottom:1.5rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:1.5rem;line-height:2rem;font-weight:800;color:var(--text-bright)}@media (min-width: 1024px){.article .article-content h1{margin-top:1rem;margin-bottom:2rem}}.article .article-content p{margin-bottom:.5rem;padding-bottom:1rem;font-size:.875rem;line-height:1.25rem}@media (min-width: 1024px){.article .article-content p{margin-bottom:.5rem;padding-bottom:1.5rem;font-size:1rem;line-height:1.5rem}}.article .article-content .article-footer{display:flex;width:100%;flex:1 1 0%;align-content:flex-end;align-items:flex-end;justify-content:flex-start;font-size:.875rem;line-height:1.25rem}.article .article-content .article-footer img{margin-right:.5rem;border-radius:9999px;height:28px;width:28px}.feature-article{position:relative;top:0;z-index:10;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));overflow:hidden;border-radius:1rem;background-color:var(--background-secondary);--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 1024px){.feature-article{height:26rem;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}}.feature-article{transition:transform .2s ease-in-out}.feature-article .feature-thumbnail{position:relative;grid-row:span 1 / span 1}@media (min-width: 1024px){.feature-article .feature-thumbnail{grid-row:auto}}.feature-article .feature-thumbnail img{position:absolute;left:0;z-index:20;display:block;height:120%;width:100%;background-size:cover;background-repeat:no-repeat;-o-object-fit:cover;object-fit:cover}@media (min-width: 1024px){.feature-article .feature-thumbnail img{height:26rem;width:120%}}.feature-article .feature-thumbnail span{pointer-events:none;position:absolute;left:0;z-index:30;height:120%;width:100%;opacity:.4}@media (min-width: 1024px){.feature-article .feature-thumbnail span{height:26rem;width:120%}}.feature-article .feature-thumbnail:after{pointer-events:none;content:"";position:absolute;z-index:35;left:71%;top:0;height:100%;width:50%;background:var(--gradient-cover)}.feature-article .feature-content{position:relative;z-index:40;grid-row:span 2 / span 2;display:flex;flex-direction:column;padding-left:1.5rem;padding-right:1.5rem;padding-bottom:1.5rem}@media (min-width: 1024px){.feature-article .feature-content{grid-row:auto;padding:3rem}}.feature-article .feature-content b{cursor:pointer;text-transform:uppercase;color:var(--text-accent)}.feature-article .feature-content b:hover{opacity:.6}.feature-article .feature-content b.article-tag{position:relative;margin-right:.75rem;cursor:default;padding:.125rem .375rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.feature-article .feature-content b.article-tag:hover{opacity:1}.feature-article .feature-content b.article-tag span{margin-left:.125rem;font-size:.75rem;line-height:1rem;position:relative;z-index:10}.feature-article .feature-content b.article-tag span span{margin-right:-30px;opacity:0;transition:.3s all ease-in-out}.feature-article .feature-content b.article-tag:after{position:absolute;top:0;left:0;z-index:0;height:100%;width:100%;border-radius:.375rem;opacity:.6;content:"";background:var(--main-gradient)}.feature-article .feature-content ul{display:inline-flex;padding-right:1rem}.feature-article .feature-content ul li{margin-right:.75rem;cursor:pointer}.feature-article .feature-content ul li:hover{opacity:.6}.feature-article .feature-content ul li em{font-style:normal;opacity:.5}.feature-article .feature-content h1{margin-bottom:1.5rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:1.5rem;line-height:2rem;font-weight:800;color:var(--text-bright)}@media (min-width: 1024px){.feature-article .feature-content h1{margin-top:1rem;margin-bottom:2rem;font-size:2.25rem;line-height:2.5rem}}.feature-article .feature-content p{margin-bottom:.5rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;padding-bottom:1rem;font-size:1rem;line-height:1.5rem}@media (min-width: 1024px){.feature-article .feature-content p{margin-bottom:.5rem;padding-bottom:1.5rem;font-size:1.125rem;line-height:1.75rem}}.feature-article .feature-content .article-footer{display:flex;width:100%;flex:1 1 0%;align-content:flex-end;align-items:flex-end;justify-content:flex-start;font-size:.875rem;line-height:1.25rem}.feature-article .feature-content .article-footer img{margin-right:.5rem;border-radius:9999px;height:28px;width:28px}.thumbnail-screen{max-width:120%;mix-blend-mode:screen}@media (max-width: 1023px){.feature-article>div:first-of-type:after{top:13%;left:0;height:120%;width:100%;background:var(--article-cover)}}.post-html{margin-bottom:2rem;border-radius:1rem;background-color:var(--background-secondary);padding:1rem;--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 1024px){.post-html{margin-bottom:0;padding:3.5rem}}.post-html img{cursor:zoom-in;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.post-html img:hover{opacity:.6}.post-html h1,.post-html h2,.post-html h3,.post-html h4,.post-html h5,.post-html h6{position:relative;margin-bottom:1rem;display:flex;align-items:center;padding-top:1.75rem;padding-bottom:.5rem;color:var(--text-bright);font-weight:600}.post-html h1:after,.post-html h2:after,.post-html h3:after,.post-html h4:after,.post-html h5:after,.post-html h6:after{position:absolute;bottom:0;height:.25rem;width:6rem;border-radius:9999px;content:"";background:var(--main-gradient)}.post-html h1{font-size:1.875rem;line-height:2.25rem}@media (min-width: 1024px){.post-html h1{font-size:2.25rem;line-height:2.5rem}}.post-html h2{font-size:1.5rem;line-height:2rem}@media (min-width: 1024px){.post-html h2{font-size:1.875rem;line-height:2.25rem}}.post-html h3{font-size:1.25rem;line-height:1.75rem}@media (min-width: 1024px){.post-html h3{font-size:1.5rem;line-height:2rem}}.post-html h4{font-size:1.125rem;line-height:1.75rem}@media (min-width: 1024px){.post-html h4{font-size:1.25rem;line-height:1.75rem}}.post-html h5{font-size:1rem;line-height:1.5rem}@media (min-width: 1024px){.post-html h5{font-size:1.125rem;line-height:1.75rem}}.post-html h6{font-size:1rem;line-height:1.5rem}.post-html p{margin-top:1.5rem;margin-bottom:1.5rem;font-size:1rem;line-height:1.5rem;overflow-wrap:break-word}.post-html ul{margin-top:.375rem;margin-bottom:.375rem;font-size:1rem;line-height:1.5rem}.post-html ul ul{position:relative;margin:0}.post-html ul>li>ul:before{content:"";border-left:1px solid var(--text-accent);position:absolute;opacity:.35;left:-1em;top:0;bottom:0}.post-html ul li,.post-html ol li{margin-left:2rem}.post-html ul,.post-html ul ul,.post-html ol ul,.post-html ul ul ul,.post-html ol ul ul{list-style:none}.post-html li>p{display:inline-block;margin-top:0;margin-bottom:0}.post-html ul li:before{content:"•";color:var(--text-accent);display:inline-block;width:1em;margin-left:-1.15em;padding:0;font-weight:700;text-shadow:0 0 .5em var(--accent-2)}.post-html ul ul li:before{content:"•"}.post-html ul ul ul li:before{content:"•"}.post-html ol{list-style:none;counter-reset:li}.post-html ol>li{counter-increment:li}.post-html ol>li:before,.post-html ul ol>li:before,.post-html ul ul ol>li:before,.post-html ul ul ul ol>li:before{content:"." counter(li);color:var(--text-accent);font-weight:400;display:inline-block;width:1em;margin-left:-1.5em;margin-right:.5em;text-align:right;direction:rtl;overflow:visible;word-break:keep-all;white-space:nowrap}.post-html blockquote{margin-inline-start:0}.post-html .custom-quote,.post-html blockquote{position:relative;padding:.5rem 1rem .5rem 2rem;color:var(--text-normal);border-top-right-radius:5px;border-bottom-right-radius:5px;margin-bottom:2em;margin-top:2em;margin-right:0!important;border-left:3px var(--text-accent) solid;border-top:transparent;border-bottom:transparent;border-right:transparent;background:linear-gradient(135deg,var(--background-primary),var(--background-primary) 41.07%,var(--background-secondary) 76.05%,var(--background-secondary))}.post-html .custom-quote:before,.post-html blockquote:before{content:"";position:absolute;top:0;left:0;height:2px;width:76%;background:linear-gradient(90deg,var(--text-accent),var(--background-secondary) 76.05%)}.post-html .custom-quote:after,.post-html blockquote:after{content:"";position:absolute;bottom:0;left:0;height:2px;width:45%;background:linear-gradient(90deg,var(--text-accent),var(--background-primary) 45%)}.post-html .custom-quote-svg,.post-html .custom-blockquote-svg{display:flex;justify-content:center;align-items:center;position:absolute;top:-.65rem;left:-1rem;height:2.3rem;width:2.3rem;fill:currentColor;stroke:var(--background-secondary);overflow:hidden}.post-html .custom-quote-svg svg,.post-html .custom-blockquote-svg svg{height:100%;width:100%}.post-html .custom-blockquote-svg{color:var(--text-accent)}.post-html .custom-quote.tip .custom-quote-svg{color:var(--custom-quote-tip)}.post-html .custom-quote.tip{border-left:3px solid var(--custom-quote-tip)!important}.post-html .custom-quote.tip .custom-quote-title{color:var(--custom-quote-tip)}.post-html .custom-quote.tip:before{background:linear-gradient(90deg,var(--custom-quote-tip),var(--background-primary))}.post-html .custom-quote.tip:after{background:linear-gradient(90deg,var(--custom-quote-tip),var(--background-primary))}.post-html .custom-quote.warning .custom-quote-svg{color:var(--custom-quote-warning)}.post-html .custom-quote.warning{border-left:3px solid var(--custom-quote-warning)!important}.post-html .custom-quote.warning .custom-quote-title{color:var(--custom-quote-warning)}.post-html .custom-quote.warning:before{background:linear-gradient(90deg,var(--custom-quote-warning),var(--background-primary))}.post-html .custom-quote.warning:after{background:linear-gradient(90deg,var(--custom-quote-warning),var(--background-primary))}.post-html .custom-quote.danger .custom-quote-svg{color:var(--custom-quote-danger)}.post-html .custom-quote.danger{border-left:3px solid var(--custom-quote-danger)!important}.post-html .custom-quote.danger .custom-quote-title{color:var(--custom-quote-danger)}.post-html .custom-quote.danger:before{background:linear-gradient(90deg,var(--custom-quote-danger),var(--background-primary))}.post-html .custom-quote.danger:after{background:linear-gradient(90deg,var(--custom-quote-danger),var(--background-primary))}.post-html .custom-details{border-radius:.75rem;padding:1rem;background:linear-gradient(135deg,var(--background-primary),var(--background-primary) 41.07%,var(--background-secondary) 76.05%,var(--background-secondary))}.post-html .custom-details summary{cursor:pointer;border-radius:.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:.5rem 1.2rem;background:linear-gradient(135deg,var(--bg-accent-55),transparent 46.07%);opacity:1}.post-html .custom-details summary:hover{opacity:.6}.post-html strong{-webkit-background-clip:text;-webkit-text-fill-color:transparent;padding:0 .1rem;color:#7aa2f7;background-color:#7aa2f7;background-image:var(--strong-gradient)}.post-html strong::-moz-selection{-webkit-text-fill-color:var(--text-faint)}.post-html strong::selection{-webkit-text-fill-color:var(--text-faint)}.post-html table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}.post-html th{border:1px solid var(--background-primary-alt)!important;background-color:var(--background-secondary)}.post-html td,.post-html th{border:1px solid var(--background-primary-alt)!important;padding:.6em 1em}.post-html tr{border-top:1px solid var(--background-primary-alt)!important;background-color:var(--background-primary)}.post-html tr:nth-child(2n){background-color:var(--background-secondary)}.post-html em{color:#bb9af7!important;font-family:OperatorMonoSSmLig-Book,Rubik!important}.post-html a{text-shadow:-1px -1px 2px var(--background-primary),-1px 1px 2px var(--background-primary),1px -1px 2px var(--background-primary),1px 1px 2px var(--background-primary);-webkit-text-fill-color:var(--text-bright);background-position:0 100%;background-repeat:repeat-x;background-size:5px 5px;text-decoration:none;transition:all .35s ease;background-image:linear-gradient(to bottom,var(--bg-sub-accent-55) 0%,var(--bg-sub-accent-55) 100%)}.post-html a strong{-webkit-background-clip:initial;-webkit-text-fill-color:initial;color:inherit;background-color:initial;background-image:none}.post-html a:hover{text-shadow:-1px -1px 2px var(--background-modifier-border),-1px 1px 2px var(--background-modifier-border),1px -1px 2px var(--background-modifier-border),1px 1px 2px var(--background-modifier-border);-webkit-text-fill-color:var(--text-bright);background-size:4px 50px}.post-html svg{display:inline-block}.post-html hr{position:relative;margin-block-start:0;margin-block-end:0;border:none;height:1px;padding:2.5em 0}.post-html hr:before{content:"§";display:inline-block;position:absolute;left:50%;transform:translate(-50%,-44%) rotate(60deg);transform-origin:50% 50%;padding:.25rem;color:var(--text-sub-accent);background-color:var(--background-secondary);z-index:10;border-radius:60%}.post-html hr:after{position:absolute;content:"";top:0;left:50%;transform:translate(-50%);background:var(--main-gradient);height:3px;width:26%;border-radius:9999px;opacity:.26;margin:2.5em auto}.post-html pre{overflow:auto!important;overflow-wrap:normal!important}.post-html pre::-webkit-scrollbar{width:.5em;height:.5em}.post-html pre::-webkit-scrollbar-track{background-color:transparent;border-radius:0}.post-html pre::-webkit-scrollbar-thumb{background-color:var(--background-secondary);border-radius:.5em;box-shadow:inset 2px 2px 2px #ffffff40,inset -2px -2px 2px #00000040}.post-html pre code{display:inline-block;padding:0}.post-html p code,.post-html li code{margin:0;font-size:.85em;overflow-wrap:break-word;background-color:var(--bg-accent-05);word-wrap:break-word;padding:.1rem .3rem;border-radius:.3rem;color:var(--text-accent)!important}div[class^=language-]{position:relative;margin-top:1.5rem;margin-bottom:1.5rem;overflow:hidden;border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}div[class^=language-] .lang,div[class^=language-] button{position:absolute;top:1rem;right:1.25rem;z-index:50;text-transform:capitalize;opacity:.4}div[class^=language-] pre{position:relative;padding-top:1rem;padding-bottom:1rem}div[class^=language-] pre code{position:relative;display:block;padding-left:1rem;padding-right:1rem}.post-header{margin-bottom:1rem;padding-left:1rem;padding-right:1rem}.post-header .post-labels{position:relative;bottom:-.375rem}.post-header .post-labels>b{display:inline-flex;cursor:pointer;border-radius:.375rem;padding:.25rem .5rem;font-size:.75rem;line-height:1rem;text-transform:uppercase;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.post-header .post-labels>b:hover{opacity:.6}.post-header .post-labels>b{background-color:#ffffff40;text-shadow:0 2px 2px rgba(0,0,0,.5)}.post-header .post-labels ul{display:inline-flex;padding-left:.5rem}.post-header .post-labels ul li{margin-right:.75rem;cursor:pointer;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));opacity:.8}.post-header .post-labels ul li:hover{opacity:.6}.post-header .post-labels ul li{text-shadow:0 2px 2px rgba(0,0,0,.5)}.post-header .post-labels ul li em{font-style:normal}.post-header .post-title{margin-top:1.5rem;margin-bottom:1rem;font-size:clamp(1.2rem,1rem + 3.5vw,3rem);text-shadow:0 2px 2px rgba(0,0,0,.5);line-height:1.1}.post-header .post-stats{margin-right:1rem;display:none;flex-direction:row;font-size:.75rem;line-height:1rem}@media (min-width: 1024px){.post-header .post-stats{display:flex;font-size:.875rem;line-height:1.25rem}}.post-header .post-stats>span{display:flex;flex-direction:row;align-items:center;stroke:currentColor;padding-right:1rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.post-footer{margin-right:1rem;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;font-size:.875rem;line-height:1.25rem}@media (min-width: 1024px){.post-footer{font-size:1rem;line-height:1.5rem}}.post-footer img{margin-right:.5rem;border-radius:9999px;height:28px;width:28px}.sidebar-box{position:relative;margin-bottom:2rem;width:100%;border-radius:1rem;background-color:var(--background-secondary);padding:1.25rem;--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.modal--active{max-height:100vh;overflow:hidden!important}.modal--active #search-modal{animation:.85s ease 0s 1 normal none running opacity_show}#search-modal{--search-modal-height: 600px;--search-modal-searchbox-height: 56px;--search-modal-spacing: 12px;--search-modal-footer-height: 44px;position:fixed;top:0;left:0;height:100vh;width:100vw;--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background:var(--background-blur);z-index:1100}#search-modal .search-container{position:relative;margin-top:6rem;margin-bottom:auto;margin-right:.5rem;margin-left:.5rem;max-width:36rem;border-radius:1rem;background-color:var(--background-primary);--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 1024px){#search-modal .search-container{margin-right:auto;margin-left:auto}}#search-modal .search-form{position:relative;display:flex;height:3.5rem;width:100%;align-items:center;border-radius:.75rem;border-width:2px;border-color:var(--text-accent);background-color:var(--background-secondary);padding-top:0;padding-bottom:0;padding-left:.75rem;padding-right:.75rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#search-modal .search-form button:hover{color:var(--search-modal-highlight)}#search-modal .search-input{height:100%;width:80%;flex:1 1 0%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:0px;background-color:transparent;padding-left:.5rem;font-size:1.25rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}#search-modal .search-btn{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:9999px;border-width:0px;background-image:none;padding:.125rem;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}#search-modal .search-dropdown{margin-top:.5rem;overflow-y:auto;padding-left:1rem;padding-right:1rem;min-height:var(--search-modal-spacing);max-height:calc(var(--search-modal-height) - var(--search-modal-searchbox-height) - var(--search-modal-spacing) - var(--search-modal-footer-height));scrollbar-color:var(--search-modal-muted-color) var(--search-modal-background);scrollbar-width:thin}#search-modal .search-hit-label{position:sticky;top:0;z-index:10;background-color:var(--background-primary);padding:.5rem .25rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:var(--text-accent)}#search-modal .search-hit{position:relative;display:flex;border-radius:.25rem;padding-bottom:.5rem}#search-modal .search-hit:last-of-type{padding-bottom:1rem}#search-modal .search-hit a{box-sizing:border-box;display:block;width:100%;border-radius:.5rem;border-width:2px;border-color:var(--background-secondary);background-color:var(--background-secondary);padding-left:.75rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#search-modal .search-hit.active a{border-color:var(--text-accent)}#search-modal .search-hit-container{display:flex;height:3.5rem;align-items:center;padding-right:.75rem;color:var(--text-normal)}#search-modal .search-hit-icon{stroke-width:2;color:var(--text-dim)}#search-modal .search-hit-content-wrapper{position:relative;margin-left:.5rem;margin-right:.5rem;display:flex;width:80%;flex:1 1 auto;flex-direction:column;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}#search-modal .search-hit-title{width:91.666667%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem}#search-modal .search-hit-title mark{background-color:var(--text-accent)}#search-modal .search-hit-path{font-size:.75rem;line-height:1rem;color:var(--text-dim)}#search-modal .search-hit-action{display:flex;align-items:center;height:22px;width:22px}#search-modal .search-footer{position:relative;display:flex;height:2.75rem;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-direction:row-reverse;align-items:center;justify-content:space-between;border-bottom-right-radius:1rem;border-bottom-left-radius:1rem;background-color:var(--background-secondary);padding-left:.75rem;padding-right:.75rem;box-shadow:0 -1px,#363636 0 -3px 6px 0 #1e235a1f;z-index:300}#search-modal .search-logo a{display:flex;align-items:center;justify-items:center;text-decoration-line:none}#search-modal .search-label{margin-right:.5rem;font-size:.75rem;line-height:1rem;color:var(--text-dim)}#search-modal .search-commands{margin:0;display:none;list-style-type:none;padding:0;color:var(--text-dim)}@media (min-width: 1024px){#search-modal .search-commands{display:flex}}#search-modal .search-commands li{margin-right:.5rem;display:flex;align-items:center}#search-modal .search-commands-key{display:flex;align-items:center;justify-content:center;border-radius:.125rem;background:var(--search-modal-key-gradient);box-shadow:var(--search-modal-key-shadow);margin-right:.4em;height:18px;width:20px}#search-modal .search-commands-label{color:var(--text-dim)}#search-modal .search-startscreen{margin:0 auto;width:80%;padding-top:2.25rem;padding-bottom:2.25rem;text-align:center;font-size:.875rem;line-height:1.25rem}#search-modal .search-startscreen p{font-size:.875rem;line-height:1.25rem;color:var(--text-dim)}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-4{left:1rem}.left-6{left:1.5rem}.right-0{right:0}.right-4{right:1rem}.right-8{right:2rem}.top-0{top:0}.top-6{top:1.5rem}.top-8{top:2rem}.z-0{z-index:0}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.col-span-1{grid-column:span 1 / span 1}.row-span-1{grid-row:span 1 / span 1}.m-0{margin:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-0{margin-top:0;margin-bottom:0}.my-1{margin-top:.25rem;margin-bottom:.25rem}.-mb-0{margin-bottom:-0px}.-mb-0\.5{margin-bottom:-.125rem}.-ml-10{margin-left:-2.5rem}.-mr-10{margin-right:-2.5rem}.-mt-1{margin-top:-.25rem}.-mt-1\.5{margin-top:-.375rem}.-mt-7{margin-top:-1.75rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.me-0{margin-inline-end:0px}.me-1{margin-inline-end:.25rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-98{height:28rem}.h-\[120px\]{height:120px}.h-\[25rem\]{height:25rem}.h-full{height:100%}.max-h-98{max-height:28rem}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-2\/3{width:66.666667%}.w-24{width:6rem}.w-48{width:12rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[120px\]{width:120px}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-\[11rem\]{max-width:11rem}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.origin-top-right{transform-origin:top right}.scale-0{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\[1\.15\]{--tw-scale-x: 1.15;--tw-scale-y: 1.15;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-6{gap:1.5rem}.gap-7{gap:1.75rem}.gap-8{gap:2rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-b-2{border-bottom-width:2px}.border-l-2{border-left-width:2px}.border-r-2{border-right-width:2px}.border-r-4{border-right-width:4px}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-none{border-style:none}.border-ob{border-color:var(--text-accent)}.border-ob-bright{border-color:var(--text-bright)}.border-ob-deep-900{border-color:var(--background-primary)}.bg-ob-accent-55{background-color:var(--bg-accent-55)}.bg-ob-backdrop{background-color:var(--background-backdrop)}.bg-ob-bright{background-color:var(--text-bright)}.bg-ob-deep-800{background-color:var(--background-secondary)}.bg-ob-deep-900{background-color:var(--background-primary)}.bg-ob-screen{background-color:var(--app-screen-bg)}.bg-ob-trans{background-color:var(--background-trans)}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.fill-current{fill:currentColor}.stroke-current{stroke:currentColor}.stroke-ob-bright{stroke:var(--text-bright)}.stroke-0{stroke-width:0}.stroke-2{stroke-width:2}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pb-6{padding-bottom:1.5rem}.pb-7{padding-bottom:1.75rem}.pb-8{padding-bottom:2rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-1\.5{padding-right:.375rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-12{padding-top:3rem}.pt-2{padding-top:.5rem}.pt-28{padding-top:7rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[0\.45rem\]{font-size:.45rem}.text-\[0\.55rem\]{font-size:.55rem}.text-\[0\.65rem\]{font-size:.65rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.leading-8{line-height:2rem}.leading-tight{line-height:1.25}.text-ob{color:var(--text-accent)}.text-ob-bright{color:var(--text-bright)}.text-ob-dim{color:var(--text-dim)}.text-ob-invert{color:var(--text-invert)}.text-ob-normal{color:var(--text-normal)}.text-ob-secondary{color:var(--text-sub-accent)}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-ob{--tw-shadow: var(--accent-shadow);--tw-shadow-colored: var(--accent-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-ob{--tw-shadow-color: var(--text-accent);--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-0{--tw-blur: blur(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[72px\]{--tw-blur: blur(72px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.fade-bounce-y-enter-active,.fade-bounce-y-leave-active{transition:all .35s cubic-bezier(0,1.8,1,1.2)}.fade-bounce-y-enter-from,.fade-bounce-y-leave-to{transform:translateY(20%);opacity:0}.fade-bounce-pure-y-enter-active,.fade-bounce-pure-y-leave-active{transition:transform .35s cubic-bezier(0,1.8,1,1.2)}.fade-bounce-pure-y-enter-from,.fade-bounce-pure-y-leave-to{transform:translateY(15%);opacity:0}.fade-slide-y-enter-active{transition:all .3s ease}.fade-slide-y-leave-active{transition:all .3s cubic-bezier(1,.5,.8,1)}.fade-slide-y-enter-from,.fade-slide-y-leave-to{transform:translateY(10px);opacity:0}.breadcrumb-enter-active,.breadcrumb-leave-active{transition:all .5s}.breadcrumb-enter,.breadcrumb-leave-active{opacity:0;transform:translate(20px)}.breadcrumb-move{transition:all .5s}.breadcrumb-leave-active{position:absolute}@keyframes gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.stroke-ob-bright{stroke:var(--text-bright)!important}.diamond-clip-path{-webkit-clip-path:polygon(50% 3%,91% 25%,91% 75%,50% 97%,9% 75%,9% 25%);clip-path:polygon(50% 3%,91% 25%,91% 75%,50% 97%,9% 75%,9% 25%);background:var(--background-trans)}.diamond-icon{display:flex;height:2.7rem;width:2.7rem;cursor:pointer;align-items:center;justify-content:center;font-size:1.25rem;line-height:1.75rem;color:var(--text-bright);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.diamond-icon:hover{opacity:.5}html{scrollbar-color:rgba(82,82,82,.8) transparent;height:100%;font-size:18px}body{min-height:100%;font-size:16px;font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei;line-height:2}h1 code,h2 code,h3 code,h4 code,h5 code,h6 code{font-size:inherit!important}html::-webkit-scrollbar{width:12px;height:12px}html::-webkit-scrollbar-thumb{background:#434343;border-radius:16px;box-shadow:inset 2px 2px 2px #64646440,inset -2px -2px 2px #00000040}html::-webkit-scrollbar-track{border:none;background:linear-gradient(90deg,#434343,#434343 1px,#111 0,#111)}div::-webkit-scrollbar{width:10px;height:10px}div::-webkit-scrollbar-thumb{background:#434343;border-radius:16px;box-shadow:inset 2px 2px 2px #64646440,inset -2px -2px 2px #00000040}div::-webkit-scrollbar-track{border:none;background:transparent!important}b{font-weight:700;color:var(--text-bright)}.highlighted{position:relative}.highlighted:before{content:"";z-index:-1;position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(130deg,rgba(36,198,220,.5),rgba(84,51,255,.5) 41.07%,rgba(255,0,153,.5) 76.05%);transform:translate3d(0,25px,0) scale(.85);filter:blur(20px);opacity:var(.7);transition:opacity .3s;border-radius:inherit}.highlighted:after{content:"";z-index:-1;position:absolute;top:0;right:0;bottom:0;left:0;background:inherit;border-radius:inherit}@keyframes opacity_show{0%{opacity:0}to{opacity:1}}@keyframes opacity_hide{0%{opacity:1}to{opacity:0}}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-ob-deep-900:hover{background-color:var(--background-primary)}.hover\:bg-ob-trans:hover{background-color:var(--background-trans)}.hover\:text-ob:hover{color:var(--text-accent)}.hover\:text-ob-bright:hover{color:var(--text-bright)}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-50:hover{opacity:.5}.hover\:shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){.sm\:h-10{height:2.5rem}}@media (min-width: 768px){.md\:flex{display:flex}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:items-start{align-items:flex-start}.md\:gap-10{gap:2.5rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}}@media (min-width: 1024px){.lg\:left-6{left:1.5rem}.lg\:col-span-1{grid-column:span 1 / span 1}.lg\:col-span-3{grid-column:span 3 / span 3}.lg\:mb-0{margin-bottom:0}.lg\:mr-4{margin-right:1rem}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:h-10{height:2.5rem}.lg\:h-9{height:2.25rem}.lg\:h-auto{height:auto}.lg\:w-2\/5{width:40%}.lg\:w-9{width:2.25rem}.lg\:max-w-screen-2xl{max-width:1536px}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-rows-none{grid-template-rows:none}.lg\:flex-row{flex-direction:row}.lg\:justify-end{justify-content:flex-end}.lg\:gap-12{gap:3rem}.lg\:p-4{padding:1rem}.lg\:px-14{padding-left:3.5rem;padding-right:3.5rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:py-10{padding-top:2.5rem;padding-bottom:2.5rem}.lg\:pb-14{padding-bottom:3.5rem}.lg\:pr-4{padding-right:1rem}.lg\:pt-2{padding-top:.5rem}.lg\:text-left{text-align:left}.lg\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl\:gap-16{gap:4rem}}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.logo-image{height:2rem;width:2rem;--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition:.3s all ease}.header-active .logo-image{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dropdown-content-enter-active[data-v-72651e3e],.dropdown-content-leave-active[data-v-72651e3e]{transition:all .2s}.dropdown-content-enter[data-v-72651e3e],.dropdown-content-leave-to[data-v-72651e3e]{opacity:0;transform:translateY(-5px)}.active[data-v-2967cd4b]{background-color:var(--background-trans)}.toggler[data-v-d4b635a1]{position:relative;width:40px;height:22px;background-color:var(--background-primary);border-radius:24px;border:3px solid rgba(110,64,201,.35);box-sizing:border-box;transition:background-color .25s ease}.slider[data-v-d4b635a1]{top:-6px;left:-6px;width:28px;height:28px;background-color:#6e40c9;border-radius:50%;transition:all .25s cubic-bezier(.4,.03,0,1) 0s;position:absolute;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.svg-icon{vertical-align:-.15em;overflow:hidden;display:inline;position:relative}.external-icon svg{fill:currentColor;stroke:currentColor}.svg-external-icon{background-color:currentColor;-webkit-mask-size:cover!important;mask-size:cover!important;display:inline-block}.header-controls .progress-ball[data-v-332d6904]{margin-right:1rem;display:flex;height:1.5rem;width:1.5rem;--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:9999px;background-color:var(--text-bright);font-size:.75rem;line-height:1rem;color:var(--text-invert);transition:.3s transform ease}.header-controls .progress-ball:hover span[data-v-332d6904]{margin-top:1.5rem;opacity:1}.header-controls .progress-ball span[data-v-332d6904],.header-controls .progress-ball.reset-ball span[data-v-332d6904]{margin-bottom:.5rem;margin-top:-1.75rem;padding-right:0;opacity:0;transition:.3s all ease}.header-controls .progress-ball span .svg-icon[data-v-332d6904],.header-controls .progress-ball.reset-ball span .svg-icon[data-v-332d6904]{margin-right:0;color:var(--text-invert)}.header-controls .progress-ball.activated-ball[data-v-332d6904]{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.header-controls .progress-ball[data-v-332d6904]:hover{--tw-scale-x: 1.5;--tw-scale-y: 1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.header-controls .progress-ball.reset-ball[data-v-332d6904]{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.header-controls .left-control[data-v-332d6904],.header-controls .right-control[data-v-332d6904]{position:relative;left:0;display:flex;align-items:center;justify-content:center;font-weight:800}.header-controls .right-control[data-v-332d6904]{z-index:40}.header-controls .left-control[data-v-332d6904]{z-index:50;margin-right:-2.5rem;transition:.2s margin ease-out}.header-controls .left-control.moved-right[data-v-332d6904]{margin-right:-0px}.header-controls .icon-control span[data-v-332d6904]{pointer-events:none;margin-right:-2.5rem;width:2.5rem;opacity:0;transition:.3s all ease}.header-controls .icon-control:hover span[data-v-332d6904],.header-controls .icon-control:active span[data-v-332d6904]{pointer-events:auto;margin-right:0;opacity:1}.header-controls span[data-v-332d6904]{justify-content:center;align-items:center;cursor:pointer;transition:opacity .25s ease;padding-right:.5rem}.header-controls span[no-hover-effect][data-v-332d6904]:hover{opacity:1}.header-controls span .svg-icon[data-v-332d6904]{margin-right:.5rem;pointer-events:none}.header-controls .search-bar[data-v-332d6904]{margin-right:.5rem;display:flex;flex-direction:row;border-radius:9999px;background-color:transparent;padding-left:0;padding-right:0;opacity:0;width:0;transition:.3s all ease-out}.header-controls .search-bar.active[data-v-332d6904]{background-color:var(--background-secondary);opacity:.95;width:200px}.header-controls .search-bar.active imput[data-v-332d6904]{width:initial}.header-controls .search-bar[data-v-332d6904]:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none}.header-controls .search-bar input[data-v-332d6904]{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:transparent;padding-left:1.5rem;padding-right:1.5rem;color:var(--text-normal);width:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none}.header-controls .search-bar svg[data-v-332d6904]{float:right}.nav-link{font-weight:800}.nav-link:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.nav-link:hover:before{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity));opacity:.6}.nav-link:before{position:absolute;z-index:40;border-radius:.5rem;background-color:transparent;opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;content:"";top:-4px;left:-4px;width:calc(100% + 8px);height:calc(100% + 8px)}.header-active .nav-link{color:var(--text-bright)}.header-active .nav-link:hover:before{background-color:var(--background-trans)}.notification{top:-100%;left:50%;transform:translate(-50%);transition:top .3s ease-in-out}.notification.open{top:1.5rem}.progress-bar{width:100%;height:2px;background-color:var(--text-accent);transition:width 1s linear}.header-container{transition:.3s background ease}.header-container.header-active{background-color:var(--background-backdrop);color:var(--text-bright);--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.header-container.header-active .site-header{padding-top:.5rem;padding-bottom:.5rem}.header-container .site-header{position:relative;z-index:50;display:flex;padding-top:1rem;padding-bottom:1rem;transition:.3s padding ease-in-out;margin:0 auto}.header-active .text-invert{color:var(--text-bright)}.header-active .text-invert:hover{opacity:.6}#Ob-Navigator[data-v-710bb3b2]{position:fixed;bottom:1rem;right:1rem;z-index:40;display:flex;height:3rem;width:3rem;cursor:pointer;align-items:center;justify-content:center;border-radius:9999px;border-width:2px;border-color:var(--background-primary);stroke-width:0;font-size:1.5rem;line-height:2rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition:all .55s cubic-bezier(0,1.8,1,1.2);opacity:1}#Ob-Navigator svg[data-v-710bb3b2]{pointer-events:none}#Ob-Navigator .Ob-Navigator-submenu[data-v-710bb3b2]{position:absolute;top:0;left:0;margin:0;list-style-type:none;padding:0}#Ob-Navigator .Ob-Navigator-submenu li[data-v-710bb3b2]{position:absolute;display:flex;height:3rem;width:3rem;align-items:center;justify-content:center;border-radius:9999px;background-color:var(--background-primary);padding:.125rem;opacity:0;transition:all .55s cubic-bezier(0,1.8,1,1.2)}#Ob-Navigator .Ob-Navigator-submenu li:hover .Ob-Navigator-tips[data-v-710bb3b2]{opacity:1;transform:translate(-15%)}#Ob-Navigator .Ob-Navigator-submenu li div[data-v-710bb3b2]{display:flex;height:100%;width:100%;align-items:center;justify-content:center;border-radius:9999px;background-color:var(--background-secondary)}#Ob-Navigator.Ob-Navigator--open .Ob-Navigator-submenu li[data-v-710bb3b2]{opacity:1}#Ob-Navigator.Ob-Navigator--open .Ob-Navigator-submenu li[data-v-710bb3b2]:first-of-type{transform:translate(-4.8rem)}#Ob-Navigator.Ob-Navigator--open .Ob-Navigator-submenu li[data-v-710bb3b2]:nth-of-type(2){transform:translate(-3.6rem,-3.6rem)}#Ob-Navigator.Ob-Navigator--open .Ob-Navigator-submenu li[data-v-710bb3b2]:nth-of-type(3){transform:translateY(-4.8rem)}#Ob-Navigator.Ob-Navigator--open .Ob-Navigator-submenu li[data-v-710bb3b2]:nth-of-type(4){transform:translateY(-8.4rem)}#Ob-Navigator.Ob-Navigator--scrolling[data-v-710bb3b2]{transform:translate(2.4rem);opacity:.6}#Ob-Navigator .Ob-Navigator-tips[data-v-710bb3b2]{position:absolute;z-index:50;white-space:nowrap;border-radius:.375rem;background-color:var(--background-secondary);padding:.25rem .375rem;font-size:.75rem;line-height:1rem;color:var(--text-bright);--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);pointer-events:none;opacity:0;right:60%;transition:all .55s cubic-bezier(0,1.8,1,1.2)}#Ob-Navigator .Ob-Navigator-ball[data-v-710bb3b2]{position:relative;display:flex;height:100%;width:100%;align-items:center;justify-content:center;border-radius:9999px;background-color:var(--background-secondary);padding:.125rem;box-shadow:0 2px 4px #0000001a,0 12px 28px #0003;z-index:200}#Ob-Navigator .Ob-Navigator-ball div[data-v-710bb3b2]{display:flex;height:100%;width:100%;align-items:center;justify-content:center;border-radius:9999px}#Ob-Navigator .Ob-Navigator-btt[data-v-710bb3b2]{position:absolute;display:flex;height:100%;width:100%;align-items:center;justify-content:center;border-radius:9999px;background-color:var(--background-secondary);padding:.125rem;box-shadow:0 2px 4px #0000001a,0 12px 28px #0003;top:-3.3rem;left:0}#Ob-Navigator .Ob-Navigator-btt div[data-v-710bb3b2]{display:flex;height:100%;width:100%;align-items:center;justify-content:center;border-radius:9999px}.custom-social-SvgIcon[data-v-8a863da5]{width:1em;height:1em;font-size:1em;vertical-align:-.15em;fill:var(--text-bright);stroke:var(--background-primary);overflow:hidden}.App-Mobile-sidebar{z-index:9999}.App-Mobile-blur{position:fixed;top:0;left:0;display:none;height:100%;width:100%;--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);background:var(--background-blur);z-index:1001}.App-Mobile-wrapper{position:fixed;top:0;right:0;display:flex;height:100%;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));flex-direction:column;overflow-y:auto;background-color:var(--background-primary);padding-right:1.5rem;padding-left:1rem;padding-top:2rem;opacity:0;transform:translate(100%);transition:transform .65s ease;width:80%;z-index:1002}.App-Mobile-wrapper.open-menu{margin-right:0;opacity:1;transform:translate(0)}#bot-container[data-v-3a8162e1]{position:fixed;left:20px;bottom:0;z-index:1000;width:70px;height:60px}#Aurora-Dia--body[data-v-3a8162e1]{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%;--auora-dia--width: 65px;--auora-dia--height: 50px;--auora-dia--hover-height: 60px;--auora-dia--jump-1: 55px;--auora-dia--jump-2: 60px;--auora-dia--jump-3: 45px;--auora-dia--eye-height: 15px;--auora-dia--eye-width: 8px;--auora-dia--eye-top: 10px;--auora-dia--platform-size: var(--auora-dia--jump-2);--auora-dia--platform-size-shake-1: 75px;--auora-dia--platform-size-shake-2: 45px;--auora-dia--platform-top: -15px;--aurora-dia--linear-gradient: var(--main-gradient);--aurora-dia--linear-gradient-hover: linear-gradient( to bottom, #25b0cc, #3f60de );--aurora-dia--platform-light: #b712ac}.Aurora-Dia[data-v-3a8162e1]{position:absolute;bottom:30px;width:var(--auora-dia--width);height:var(--auora-dia--height);border-radius:45%;border:4px solid var(--background-secondary);animation:breathe-and-jump-3a8162e1 3s linear infinite;cursor:pointer;z-index:1}.Aurora-Dia[data-v-3a8162e1]:before{content:"";position:absolute;top:-1px;left:-1px;width:calc(100% + 3px);height:calc(100% + 2px);background-color:#2cdcff;background:var(--aurora-dia--linear-gradient);border-radius:45%;opacity:1;transition:.3s linear all}.Aurora-Dia.active[data-v-3a8162e1]{animation:deactivate-3a8162e1 .75s linear,bounce-then-breathe-3a8162e1 5s linear infinite}.Aurora-Dia--eyes>.Aurora-Dia--eye[data-v-3a8162e1]{position:absolute;top:var(--auora-dia--eye-top);width:var(--auora-dia--eye-width);height:var(--auora-dia--eye-height);border-radius:15px;background-color:#fff;box-shadow:0 0 7px #ffffff80;animation:blink-3a8162e1 5s linear infinite}.Aurora-Dia--eyes>.Aurora-Dia--eye.left[data-v-3a8162e1]{left:25%}.Aurora-Dia--eyes>.Aurora-Dia--eye.right[data-v-3a8162e1]{right:25%}.Aurora-Dia--eyes.moving>.Aurora-Dia--eye[data-v-3a8162e1]{animation:none}.Aurora-Dia--platform[data-v-3a8162e1]{position:relative;top:0;transform:rotateX(70deg);width:var(--auora-dia--platform-size);height:var(--auora-dia--platform-size);box-shadow:0 0 var(--auora-dia--platform-size) var(--aurora-dia--platform-light),0 0 15px var(--aurora-dia--platform-light) inset;animation:jump-pulse-3a8162e1 3s linear infinite;border-radius:50%;transition:.2s linear all}.Aurora-Dia[data-v-3a8162e1]:hover{animation:shake-to-alert-3a8162e1 .5s linear;height:var(--auora-dia--hover-height);transform:translateY(-7px)}.Aurora-Dia[data-v-3a8162e1]:hover:before{background:var(--aurora-dia--linear-gradient-hover)}.Aurora-Dia[data-v-3a8162e1]:hover,.Aurora-Dia:hover>.Aurora-Dia--eyes>.Aurora--Dia-eye[data-v-3a8162e1]{border-color:var(--text-accent);box-shadow:0 0 5px var(--text-accent)}.Aurora-Dia:hover+.Aurora-Dia--platform[data-v-3a8162e1]{box-shadow:0 0 var(--auora-dia--platform-size) var(--text-accent),0 0 15px var(--text-accent) inset;animation:shake-pulse-3a8162e1 .5s linear}#Aurora-Dia--tips-wrapper[data-v-3a8162e1]{position:absolute;bottom:80px;right:-120px;width:200px;min-height:60px;background:var(--aurora-dia--linear-gradient);color:var(--text-normal);padding:.2rem;border-radius:8px;opacity:0;animation:tips-breathe-3a8162e1 3s linear infinite;transition:.3s linear opacity}#Aurora-Dia--tips-wrapper.active[data-v-3a8162e1]{opacity:.86}.Aurora-Dia--tips[data-v-3a8162e1]{position:relative;height:100%;width:100%;min-height:60px;border-radius:6px;padding:.2rem .5rem;font-size:.8rem;font-weight:800;background:var(--background-secondary);overflow:hidden;text-overflow:ellipsis}.Aurora-Dia--tips>span[data-v-3a8162e1]{-webkit-background-clip:text;-webkit-text-fill-color:transparent;padding:0 .1rem;color:#7aa2f7;background-color:#7aa2f7;background-image:var(--strong-gradient)}@keyframes deactivate-3a8162e1{0%{border-color:var(--text-sub-accent)}20%,60%{border-color:var(--text-accent)}40%,80%,to{border-color:var(--background-secondary)}}@keyframes tips-breathe-3a8162e1{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes bounce-then-breathe-3a8162e1{0%,5%,10%,15%{transform:translateY(0)}2.5%,7.5%,12.5%{transform:translateY(-15px)}20%,40%,60%,80%,to{height:var(--auora-dia--jump-1);transform:translateY(0)}30%,50%,70%,90%{height:var(--auora-dia--jump-2);transform:translateY(-5px)}}@keyframes breathe-and-jump-3a8162e1{0%,40%,80%,to{height:var(--auora-dia--jump-1);transform:translateY(0)}20%,60%,70%,90%{height:var(--auora-dia--jump-2);transform:translateY(-5px)}85%{height:var(--auora-dia--jump-3);transform:translateY(-20px)}}@keyframes blink-3a8162e1{0%,to{transform:scaleY(.05)}5%,95%{transform:scale(1)}}@keyframes jump-pulse-3a8162e1{0%,40%,80%,to{box-shadow:0 0 30px var(--aurora-dia--platform-light),0 0 45px var(--aurora-dia--platform-light) inset}20%,60%,70%,90%{box-shadow:0 0 70px var(--aurora-dia--platform-light),0 0 25px var(--aurora-dia--platform-light) inset}85%{box-shadow:0 0 100px var(--aurora-dia--platform-light),0 0 15px var(--aurora-dia--platform-light) inset}}@keyframes shake-to-alert-3a8162e1{0%,20%,40%,60%,80%,to{transform:rotate(0) translateY(-8px)}10%,25%,35%,50%,65%{transform:rotate(7deg) translateY(-8px)}15%,30%,45%,55%,70%{transform:roate(-7deg) translateY(-8px)}}@keyframes shake-pulse-3a8162e1{0%,20%,40%,60%,80%,to{box-shadow:0 0 var(--auora-dia--platform-size) #2cdcff,0 0 15px #2cdcff inset}10%,25%,35%,50%,65%{box-shadow:0 0 var(--auora-dia--platform-size-shake-1) #2cdcff,0 0 15px #2cdcff inset}15%,30%,45%,55%,70%{box-shadow:0 0 var(--auora-dia--platform-size-shake-2) #2cdcff,0 0 15px #2cdcff inset}}.Aurora-Dia--tips>span{-webkit-background-clip:text;-webkit-text-fill-color:transparent;padding:0 .05rem;color:#7aa2f7;background-color:#7aa2f7;background-image:var(--strong-gradient)}.footer-link-divider{position:relative;margin-top:1rem;margin-bottom:2rem;display:flex;height:.25rem;width:66.666667%;border-radius:9999px;opacity:.7;--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 1024px){.footer-link-divider{width:40%}}.footer-link-divider .footer-link-img-wrapper{position:absolute;margin:0;box-sizing:content-box;height:2.5rem;width:2.5rem;border-radius:9999px;--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);left:50%;top:50%;transform:translate(-50%,-50%);border:4px solid var(--background-primary);background:var(--background-primary)}body{background:var(--background-primary-alt)}*:focus{outline:none}#app{position:relative;height:100%;min-height:100vh;min-width:100%}#app .app-wrapper{height:100%;min-width:100%;background-color:var(--background-primary);padding-bottom:3rem;transition-property:transform,border-radius;transition-duration:.35s;transition-timing-function:ease;transform-origin:0 42%}#app .app-wrapper .app-container{color:var(--text-normal);margin:0 auto}#app .header-wave{position:absolute;top:100px;left:0;z-index:1}.app-banner{content:"";display:block;height:600px;position:absolute;top:0;left:0;width:100%;z-index:1}.app-banner-cover{pointer-events:none;position:absolute;top:60px;z-index:3;height:540px;background:var(--banner-cover)}.theme-light .app-banner-cover{top:300px;height:300px}.theme-light .app-banner-screen{border-radius:0;--tw-blur: blur(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);width:100%;height:600px}.app-banner-image{z-index:1;background-size:cover;opacity:1;transition:ease-in-out opacity .3s;background-color:#1a1a1a}.app-banner-screen{border-radius:.25rem;--tw-blur: blur(72px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);left:50%;transform:translate(-50%);transition:ease-in-out all .5s;z-index:2;opacity:.91;width:85%;height:400px}.feature-sign[data-v-c453c440]{width:calc(100% - .5rem);height:calc(100% - .5rem);margin:.25rem}.large-tag-item{display:flex;border-radius:.375rem;background-color:var(--background-primary);padding:.5rem 1rem;font-size:1rem;line-height:1.5rem;color:var(--text-bright)}.large-tag-item:hover{opacity:1}.large-tag-item sub{transition:.3s all ease-in-out}.large-tag-item:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.large-tag-item:hover sub{font-size:1.125rem;line-height:1.75rem}.sidebar-box li.ob-skeleton{margin-right:.5rem;margin-bottom:.5rem}.more-btn{position:absolute;display:flex;height:2.25rem;width:100%;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:.5rem;background-color:var(--background-primary);--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);bottom:0;left:50%;transform:translate(-50%)}.more-btn svg{transition:.2s all ease-in-out}.more-btn span{margin-bottom:-1.75rem;font-weight:700;opacity:0;transition:.2s all ease-in-out}.more-btn:hover span{margin-bottom:.125rem;--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}.more-btn:hover svg{opacity:0}.more-cover{pointer-events:none;position:absolute;bottom:0;width:100%;height:250px;background:var(--article-cover)}#sidebar-navigator svg[data-v-0d371069]{pointer-events:none}.toc{list-style:none;counter-reset:li;padding-left:1.5rem}.toc>li{padding-bottom:.25rem;font-weight:800;color:var(--text-bright)}.toc>li.active{color:var(--text-accent)}.toc ol li{font-weight:400;color:var(--text-normal);padding-left:1.5rem}.toc ol li.active{color:var(--text-accent)}.toc ol,.toc ol ol{position:relative}.toc>li:before,.toc ol>li:before,.toc ol ol>li:before,.toc ol ol ol>li:before,.toc ol ol ol ol>li:before{content:"•";color:var(--text-accent);display:inline-block;width:1em;margin-left:-1.15em;padding:0;font-weight:700;text-shadow:0 0 .5em var(--accent-2)}.toc>li:before{font-size:1.25rem;line-height:1.75rem}.toc>li>ol:before,.toc>li>ol>li>ol:before{content:"";border-left:1px solid var(--text-accent);position:absolute;opacity:.35;left:-1em;top:0;bottom:0}.toc>li>ol:before{left:-1.25em;border-left:2px solid var(--text-accent)}.profile[data-v-8cf4b01a]{top:-7%;height:100%;max-height:100%}.paginator[data-v-12a7e65e]{margin-top:2rem;display:flex;flex-direction:row;justify-content:center}.paginator ul[data-v-12a7e65e]{display:flex;flex-direction:row}.paginator ul li[data-v-12a7e65e]{margin-right:.5rem;display:flex;height:2.5rem;width:2.5rem;cursor:pointer;align-items:center;justify-content:center;overflow:hidden;border-radius:.5rem;background-color:var(--background-secondary);padding:.25rem;font-weight:800;text-transform:uppercase}.paginator ul li svg[data-v-12a7e65e],.paginator ul li span[data-v-12a7e65e]{opacity:.7;transition:.2s all ease-in-out}.paginator ul li.page-navigator[data-v-12a7e65e]{width:5rem}.paginator ul li.page-navigator.navigator-right span[data-v-12a7e65e]{margin-right:-2.5rem;opacity:0;transition:.3s all ease-in-out}.paginator ul li.page-navigator.navigator-left span[data-v-12a7e65e]{margin-left:-2.5rem;opacity:0;transition:.3s all ease-in-out}.paginator ul li.page-navigator:hover.navigator-right span[data-v-12a7e65e]{margin-right:0;opacity:1}.paginator ul li.page-navigator:hover.navigator-left span[data-v-12a7e65e]{margin-left:0;opacity:1}.paginator ul li:hover:not(.navigator-right,.navigator-left) span[data-v-12a7e65e],.paginator ul li:hover svg[data-v-12a7e65e]{opacity:1;transform:scale(1.25)}.paginator ul li svg[data-v-12a7e65e]{margin-left:.5rem;margin-right:.5rem;font-weight:800;color:var(--text-accent)}.paginator .active[data-v-12a7e65e]{color:var(--text-accent)}.ob-skeleton{background-size:200px 100%;background-repeat:no-repeat;border-radius:10px;display:inline-block;line-height:1;width:100%;height:inherit}@keyframes SkeletonLoading{0%{background-position:-200px 0}to{background-position:calc(200px + 100%) 0}} diff --git a/static/img/dccf965f.jpg b/static/img/dccf965f.jpg deleted file mode 100644 index 7de8982..0000000 Binary files a/static/img/dccf965f.jpg and /dev/null differ diff --git a/static/js/120aa8f8.js b/static/js/120aa8f8.js deleted file mode 100644 index bd54d5a..0000000 --- a/static/js/120aa8f8.js +++ /dev/null @@ -1,77 +0,0 @@ -var B0=Object.defineProperty;var Z0=(e,t,n)=>t in e?B0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var w=(e,t,n)=>(Z0(e,typeof t!="symbol"?t+"":t,n),n);import{init as H0,pageviewCount as U0,commentCount as z0,RecentComments as V0}from"https://unpkg.com/@waline/client@v2/dist/waline.mjs";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function la(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Be={},zn=[],xt=()=>{},W0=()=>!1,q0=/^on[^a-z]/,Co=e=>q0.test(e),ca=e=>e.startsWith("onUpdate:"),Je=Object.assign,ua=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},K0=Object.prototype.hasOwnProperty,Ae=(e,t)=>K0.call(e,t),pe=Array.isArray,Vn=e=>Eo(e)==="[object Map]",xc=e=>Eo(e)==="[object Set]",we=e=>typeof e=="function",qe=e=>typeof e=="string",da=e=>typeof e=="symbol",Ze=e=>e!==null&&typeof e=="object",$c=e=>Ze(e)&&we(e.then)&&we(e.catch),Pc=Object.prototype.toString,Eo=e=>Pc.call(e),Y0=e=>Eo(e).slice(8,-1),Rc=e=>Eo(e)==="[object Object]",fa=e=>qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,so=la(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),So=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},G0=/-(\w)/g,Ut=So(e=>e.replace(G0,(t,n)=>n?n.toUpperCase():"")),X0=/\B([A-Z])/g,$n=So(e=>e.replace(X0,"-$1").toLowerCase()),Mo=So(e=>e.charAt(0).toUpperCase()+e.slice(1)),or=So(e=>e?`on${Mo(e)}`:""),Ls=(e,t)=>!Object.is(e,t),oo=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},J0=e=>{const t=qe(e)?Number(e):NaN;return isNaN(t)?e:t};let li;const Mr=()=>li||(li=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ie(e){if(pe(e)){const t={};for(let n=0;n{if(n){const s=n.split(ed);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ce(e){let t="";if(qe(e))t=e;else if(pe(e))for(let n=0;nqe(e)?e:e==null?"":pe(e)||Ze(e)&&(e.toString===Pc||!we(e.toString))?JSON.stringify(e,Dc,2):String(e),Dc=(e,t)=>t&&t.__v_isRef?Dc(e,t.value):Vn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:xc(t)?{[`Set(${t.size})`]:[...t.values()]}:Ze(t)&&!pe(t)&&!Rc(t)?String(t):t;let yt;class Fc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yt,!t&&yt&&(this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=yt;try{return yt=this,t()}finally{yt=n}}}on(){yt=this}off(){yt=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Bc=e=>(e.w&mn)>0,Zc=e=>(e.n&mn)>0,id=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(d==="length"||d>=l)&&i.push(c)})}else switch(n!==void 0&&i.push(a.get(n)),t){case"add":pe(e)?fa(n)&&i.push(a.get("length")):(i.push(a.get(An)),Vn(e)&&i.push(a.get(Or)));break;case"delete":pe(e)||(i.push(a.get(An)),Vn(e)&&i.push(a.get(Or)));break;case"set":Vn(e)&&i.push(a.get(An));break}if(i.length===1)i[0]&&Ar(i[0]);else{const l=[];for(const c of i)c&&l.push(...c);Ar(pa(l))}}function Ar(e,t){const n=pe(e)?e:[...e];for(const s of n)s.computed&&ui(s);for(const s of n)s.computed||ui(s)}function ui(e,t){(e!==Ot||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function cd(e,t){var n;return(n=po.get(e))==null?void 0:n.get(t)}const ud=la("__proto__,__v_isRef,__isVue"),zc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(da)),dd=ga(),fd=ga(!1,!0),hd=ga(!0),di=pd();function pd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Se(this);for(let r=0,a=this.length;r{e[t]=function(...n){ns();const s=Se(this)[t].apply(this,n);return ss(),s}}),e}function md(e){const t=Se(this);return _t(t,"has",e),t.hasOwnProperty(e)}function ga(e=!1,t=!1){return function(s,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?Id:Yc:t?Kc:qc).get(s))return s;const a=pe(s);if(!e){if(a&&Ae(di,o))return Reflect.get(di,o,r);if(o==="hasOwnProperty")return md}const i=Reflect.get(s,o,r);return(da(o)?zc.has(o):ud(o))||(e||_t(s,"get",o),t)?i:We(i)?a&&fa(o)?i:i.value:Ze(i)?e?Xc(i):$t(i):i}}const gd=Vc(),vd=Vc(!0);function Vc(e=!1){return function(n,s,o,r){let a=n[s];if(Kn(a)&&We(a)&&!We(o))return!1;if(!e&&(!mo(o)&&!Kn(o)&&(a=Se(a),o=Se(o)),!pe(n)&&We(a)&&!We(o)))return a.value=o,!0;const i=pe(n)&&fa(s)?Number(s)e,To=e=>Reflect.getPrototypeOf(e);function qs(e,t,n=!1,s=!1){e=e.__v_raw;const o=Se(e),r=Se(t);n||(t!==r&&_t(o,"get",t),_t(o,"get",r));const{has:a}=To(o),i=s?va:n?ya:Is;if(a.call(o,t))return i(e.get(t));if(a.call(o,r))return i(e.get(r));e!==o&&e.get(t)}function Ks(e,t=!1){const n=this.__v_raw,s=Se(n),o=Se(e);return t||(e!==o&&_t(s,"has",e),_t(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Ys(e,t=!1){return e=e.__v_raw,!t&&_t(Se(e),"iterate",An),Reflect.get(e,"size",e)}function fi(e){e=Se(e);const t=Se(this);return To(t).has.call(t,e)||(t.add(e),Gt(t,"add",e,e)),this}function hi(e,t){t=Se(t);const n=Se(this),{has:s,get:o}=To(n);let r=s.call(n,e);r||(e=Se(e),r=s.call(n,e));const a=o.call(n,e);return n.set(e,t),r?Ls(t,a)&&Gt(n,"set",e,t):Gt(n,"add",e,t),this}function pi(e){const t=Se(this),{has:n,get:s}=To(t);let o=n.call(t,e);o||(e=Se(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&Gt(t,"delete",e,void 0),r}function mi(){const e=Se(this),t=e.size!==0,n=e.clear();return t&&Gt(e,"clear",void 0,void 0),n}function Gs(e,t){return function(s,o){const r=this,a=r.__v_raw,i=Se(a),l=t?va:e?ya:Is;return!e&&_t(i,"iterate",An),a.forEach((c,d)=>s.call(o,l(c),l(d),r))}}function Xs(e,t,n){return function(...s){const o=this.__v_raw,r=Se(o),a=Vn(r),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=o[e](...s),d=n?va:t?ya:Is;return!t&&_t(r,"iterate",l?Or:An),{next(){const{value:h,done:p}=c.next();return p?{value:h,done:p}:{value:i?[d(h[0]),d(h[1])]:d(h),done:p}},[Symbol.iterator](){return this}}}}function tn(e){return function(...t){return e==="delete"?!1:this}}function Cd(){const e={get(r){return qs(this,r)},get size(){return Ys(this)},has:Ks,add:fi,set:hi,delete:pi,clear:mi,forEach:Gs(!1,!1)},t={get(r){return qs(this,r,!1,!0)},get size(){return Ys(this)},has:Ks,add:fi,set:hi,delete:pi,clear:mi,forEach:Gs(!1,!0)},n={get(r){return qs(this,r,!0)},get size(){return Ys(this,!0)},has(r){return Ks.call(this,r,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:Gs(!0,!1)},s={get(r){return qs(this,r,!0,!0)},get size(){return Ys(this,!0)},has(r){return Ks.call(this,r,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:Gs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Xs(r,!1,!1),n[r]=Xs(r,!0,!1),t[r]=Xs(r,!1,!0),s[r]=Xs(r,!0,!0)}),[e,n,t,s]}const[Ed,Sd,Md,Td]=Cd();function _a(e,t){const n=t?e?Td:Md:e?Sd:Ed;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(Ae(n,o)&&o in s?n:s,o,r)}const Od={get:_a(!1,!1)},Ad={get:_a(!1,!0)},Ld={get:_a(!0,!1)},qc=new WeakMap,Kc=new WeakMap,Yc=new WeakMap,Id=new WeakMap;function xd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $d(e){return e.__v_skip||!Object.isExtensible(e)?0:xd(Y0(e))}function $t(e){return Kn(e)?e:ba(e,!1,Wc,Od,qc)}function Gc(e){return ba(e,!1,wd,Ad,Kc)}function Xc(e){return ba(e,!0,kd,Ld,Yc)}function ba(e,t,n,s,o){if(!Ze(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const a=$d(e);if(a===0)return e;const i=new Proxy(e,a===2?s:n);return o.set(e,i),i}function hn(e){return Kn(e)?hn(e.__v_raw):!!(e&&e.__v_isReactive)}function Kn(e){return!!(e&&e.__v_isReadonly)}function mo(e){return!!(e&&e.__v_isShallow)}function Jc(e){return hn(e)||Kn(e)}function Se(e){const t=e&&e.__v_raw;return t?Se(t):e}function Oo(e){return ho(e,"__v_skip",!0),e}const Is=e=>Ze(e)?$t(e):e,ya=e=>Ze(e)?Xc(e):e;function Qc(e){fn&&Ot&&(e=Se(e),Uc(e.dep||(e.dep=pa())))}function e1(e,t){e=Se(e);const n=e.dep;n&&Ar(n)}function We(e){return!!(e&&e.__v_isRef===!0)}function ce(e){return n1(e,!1)}function t1(e){return n1(e,!0)}function n1(e,t){return We(e)?e:new Pd(e,t)}class Pd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Se(t),this._value=n?t:Is(t)}get value(){return Qc(this),this._value}set value(t){const n=this.__v_isShallow||mo(t)||Kn(t);t=n?t:Se(t),Ls(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Is(t),e1(this))}}function Wn(e){return We(e)?e.value:e}const Rd={get:(e,t,n)=>Wn(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return We(o)&&!We(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function s1(e){return hn(e)?e:new Proxy(e,Rd)}function ut(e){const t=pe(e)?new Array(e.length):{};for(const n in e)t[n]=Dd(e,n);return t}class Nd{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return cd(Se(this._object),this._key)}}function Dd(e,t,n){const s=e[t];return We(s)?s:new Nd(e,t,n)}class Fd{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ma(t,()=>{this._dirty||(this._dirty=!0,e1(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=Se(this);return Qc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function jd(e,t,n=!1){let s,o;const r=we(e);return r?(s=e,o=xt):(s=e.get,o=e.set),new Fd(s,o,r||!o,n)}function pn(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){Ao(r,t,n)}return o}function St(e,t,n,s){if(we(e)){const r=pn(e,t,n,s);return r&&$c(r)&&r.catch(a=>{Ao(a,t,n)}),r}const o=[];for(let r=0;r>>1;$s(at[s])Ht&&at.splice(t,1)}function Ud(e){pe(e)?qn.push(...e):(!qt||!qt.includes(e,e.allowRecurse?En+1:En))&&qn.push(e),r1()}function gi(e,t=xs?Ht+1:0){for(;t$s(n)-$s(s)),En=0;Ene.id==null?1/0:e.id,zd=(e,t)=>{const n=$s(e)-$s(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function i1(e){Lr=!1,xs=!0,at.sort(zd);const t=xt;try{for(Ht=0;Htqe(C)?C.trim():C)),h&&(o=n.map(Sr))}let i,l=s[i=or(t)]||s[i=or(Ut(t))];!l&&r&&(l=s[i=or($n(t))]),l&&St(l,e,6,o);const c=s[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,St(c,e,6,o)}}function l1(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let a={},i=!1;if(!we(e)){const l=c=>{const d=l1(c,t,!0);d&&(i=!0,Je(a,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(Ze(e)&&s.set(e,null),null):(pe(r)?r.forEach(l=>a[l]=null):Je(a,r),Ze(e)&&s.set(e,a),a)}function Lo(e,t){return!e||!Co(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ae(e,t[0].toLowerCase()+t.slice(1))||Ae(e,$n(t))||Ae(e,t))}let ot=null,Io=null;function go(e){const t=ot;return ot=e,Io=e&&e.type.__scopeId||null,t}function xo(e){Io=e}function $o(){Io=null}function De(e,t=ot,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Ai(-1);const r=go(t);let a;try{a=e(...o)}finally{go(r),s._d&&Ai(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function rr(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[a],slots:i,attrs:l,emit:c,render:d,renderCache:h,data:p,setupState:C,ctx:b,inheritAttrs:E}=e;let L,k;const T=go(e);try{if(n.shapeFlag&4){const S=o||s;L=Bt(d.call(S,S,h,r,C,p,b)),k=l}else{const S=t;L=Bt(S.length>1?S(r,{attrs:l,slots:i,emit:c}):S(r,null)),k=t.props?l:Wd(l)}}catch(S){ys.length=0,Ao(S,e,1),L=R(Mt)}let P=L;if(k&&E!==!1){const S=Object.keys(k),{shapeFlag:x}=P;S.length&&x&7&&(a&&S.some(ca)&&(k=qd(k,a)),P=gn(P,k))}return n.dirs&&(P=gn(P),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&(P.transition=n.transition),L=P,go(T),L}const Wd=e=>{let t;for(const n in e)(n==="class"||n==="style"||Co(n))&&((t||(t={}))[n]=e[n]);return t},qd=(e,t)=>{const n={};for(const s in e)(!ca(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Kd(e,t,n){const{props:s,children:o,component:r}=e,{props:a,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?vi(s,a,c):!!a;if(l&8){const d=t.dynamicProps;for(let h=0;he.__isSuspense;function Xd(e,t){t&&t.pendingBranch?pe(e)?t.effects.push(...e):t.effects.push(e):Ud(e)}const Js={};function ze(e,t,n){return c1(e,t,n)}function c1(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:a}=Be){var i;const l=jc()===((i=et)==null?void 0:i.scope)?et:null;let c,d=!1,h=!1;if(We(e)?(c=()=>e.value,d=mo(e)):hn(e)?(c=()=>e,s=!0):pe(e)?(h=!0,d=e.some(S=>hn(S)||mo(S)),c=()=>e.map(S=>{if(We(S))return S.value;if(hn(S))return On(S);if(we(S))return pn(S,l,2)})):we(e)?t?c=()=>pn(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return p&&p(),St(e,l,3,[C])}:c=xt,t&&s){const S=c;c=()=>On(S())}let p,C=S=>{p=T.onStop=()=>{pn(S,l,4)}},b;if(Ds)if(C=xt,t?n&&St(t,l,3,[c(),h?[]:void 0,C]):c(),o==="sync"){const S=Wf();b=S.__watcherHandles||(S.__watcherHandles=[])}else return xt;let E=h?new Array(e.length).fill(Js):Js;const L=()=>{if(T.active)if(t){const S=T.run();(s||d||(h?S.some((x,F)=>Ls(x,E[F])):Ls(S,E)))&&(p&&p(),St(t,l,3,[S,E===Js?void 0:h&&E[0]===Js?[]:E,C]),E=S)}else T.run()};L.allowRecurse=!!t;let k;o==="sync"?k=L:o==="post"?k=()=>gt(L,l&&l.suspense):(L.pre=!0,l&&(L.id=l.uid),k=()=>wa(L));const T=new ma(c,k);t?n?L():E=T.run():o==="post"?gt(T.run.bind(T),l&&l.suspense):T.run();const P=()=>{T.stop(),l&&l.scope&&ua(l.scope.effects,T)};return b&&b.push(P),P}function Jd(e,t,n){const s=this.proxy,o=qe(e)?e.includes(".")?u1(s,e):()=>s[e]:e.bind(s,s);let r;we(t)?r=t:(r=t.handler,n=t);const a=et;Xn(this);const i=c1(o,r.bind(s),n);return a?Xn(a):Ln(),i}function u1(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{On(n,t)});else if(Rc(e))for(const n in e)On(e[n],t);return e}function Xt(e,t){const n=ot;if(n===null)return e;const s=Fo(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),Ca(()=>{e.isUnmounting=!0}),e}const Ct=[Function,Array],d1={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ct,onEnter:Ct,onAfterEnter:Ct,onEnterCancelled:Ct,onBeforeLeave:Ct,onLeave:Ct,onAfterLeave:Ct,onLeaveCancelled:Ct,onBeforeAppear:Ct,onAppear:Ct,onAfterAppear:Ct,onAppearCancelled:Ct},ef={name:"BaseTransition",props:d1,setup(e,{slots:t}){const n=Gn(),s=Qd();let o;return()=>{const r=t.default&&h1(t.default(),!0);if(!r||!r.length)return;let a=r[0];if(r.length>1){for(const E of r)if(E.type!==Mt){a=E;break}}const i=Se(e),{mode:l}=i;if(s.isLeaving)return ar(a);const c=_i(a);if(!c)return ar(a);const d=Ir(c,i,s,n);xr(c,d);const h=n.subTree,p=h&&_i(h);let C=!1;const{getTransitionKey:b}=c.type;if(b){const E=b();o===void 0?o=E:E!==o&&(o=E,C=!0)}if(p&&p.type!==Mt&&(!Sn(c,p)||C)){const E=Ir(p,i,s,n);if(xr(p,E),l==="out-in")return s.isLeaving=!0,E.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},ar(a);l==="in-out"&&c.type!==Mt&&(E.delayLeave=(L,k,T)=>{const P=f1(s,p);P[String(p.key)]=p,L._leaveCb=()=>{k(),L._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=T})}return a}}},tf=ef;function f1(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ir(e,t,n,s){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:h,onLeave:p,onAfterLeave:C,onLeaveCancelled:b,onBeforeAppear:E,onAppear:L,onAfterAppear:k,onAppearCancelled:T}=t,P=String(e.key),S=f1(n,e),x=(Z,J)=>{Z&&St(Z,s,9,J)},F=(Z,J)=>{const ae=J[1];x(Z,J),pe(Z)?Z.every(de=>de.length<=1)&&ae():Z.length<=1&&ae()},Y={mode:r,persisted:a,beforeEnter(Z){let J=i;if(!n.isMounted)if(o)J=E||i;else return;Z._leaveCb&&Z._leaveCb(!0);const ae=S[P];ae&&Sn(e,ae)&&ae.el._leaveCb&&ae.el._leaveCb(),x(J,[Z])},enter(Z){let J=l,ae=c,de=d;if(!n.isMounted)if(o)J=L||l,ae=k||c,de=T||d;else return;let ne=!1;const m=Z._enterCb=N=>{ne||(ne=!0,N?x(de,[Z]):x(ae,[Z]),Y.delayedLeave&&Y.delayedLeave(),Z._enterCb=void 0)};J?F(J,[Z,m]):m()},leave(Z,J){const ae=String(e.key);if(Z._enterCb&&Z._enterCb(!0),n.isUnmounting)return J();x(h,[Z]);let de=!1;const ne=Z._leaveCb=m=>{de||(de=!0,J(),m?x(b,[Z]):x(C,[Z]),Z._leaveCb=void 0,S[ae]===e&&delete S[ae])};S[ae]=e,p?F(p,[Z,ne]):ne()},clone(Z){return Ir(Z,t,n,s)}};return Y}function ar(e){if(Po(e))return e=gn(e),e.children=null,e}function _i(e){return Po(e)?e.children?e.children[0]:void 0:e}function xr(e,t){e.shapeFlag&6&&e.component?xr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function h1(e,t=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;rJe({name:e.name},t,{setup:e}))():e}const gs=e=>!!e.type.__asyncLoader,Po=e=>e.type.__isKeepAlive;function nf(e,t){p1(e,"a",t)}function sf(e,t){p1(e,"da",t)}function p1(e,t,n=et){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ro(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Po(o.parent.vnode)&&of(s,t,n,o),o=o.parent}}function of(e,t,n,s){const o=Ro(t,e,s,!0);os(()=>{ua(s[t],o)},n)}function Ro(e,t,n=et,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;ns(),Xn(n);const i=St(t,n,e,a);return Ln(),ss(),i});return s?o.unshift(r):o.push(r),r}}const Qt=e=>(t,n=et)=>(!Ds||e==="sp")&&Ro(e,(...s)=>t(...s),n),No=Qt("bm"),dt=Qt("m"),rf=Qt("bu"),m1=Qt("u"),Ca=Qt("bum"),os=Qt("um"),af=Qt("sp"),lf=Qt("rtg"),cf=Qt("rtc");function uf(e,t=et){Ro("ec",e,t)}const Ea="components",df="directives";function ie(e,t){return Ma(Ea,e,!0,t)||e}const g1=Symbol.for("v-ndc");function ff(e){return qe(e)?Ma(Ea,e,!1)||e:e||g1}function Sa(e){return Ma(df,e)}function Ma(e,t,n=!0,s=!1){const o=ot||et;if(o){const r=o.type;if(e===Ea){const i=Uf(r,!1);if(i&&(i===t||i===Ut(t)||i===Mo(Ut(t))))return r}const a=bi(o[e]||r[e],t)||bi(o.appContext[e],t);return!a&&s?r:a}}function bi(e,t){return e&&(e[t]||e[Ut(t)]||e[Mo(Ut(t))])}function Ue(e,t,n,s){let o;const r=n&&n[s];if(pe(e)||qe(e)){o=new Array(e.length);for(let a=0,i=e.length;at(a,i,void 0,r&&r[i]));else{const a=Object.keys(e);o=new Array(a.length);for(let i=0,l=a.length;iNs(t)?!(t.type===Mt||t.type===me&&!v1(t.children)):!0)?e:null}const $r=e=>e?O1(e)?Fo(e)||e.proxy:$r(e.parent):null,vs=Je(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>$r(e.parent),$root:e=>$r(e.root),$emit:e=>e.emit,$options:e=>Ta(e),$forceUpdate:e=>e.f||(e.f=()=>wa(e.update)),$nextTick:e=>e.n||(e.n=Yn.bind(e.proxy)),$watch:e=>Jd.bind(e)}),ir=(e,t)=>e!==Be&&!e.__isScriptSetup&&Ae(e,t),hf={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:a,type:i,appContext:l}=e;let c;if(t[0]!=="$"){const C=a[t];if(C!==void 0)switch(C){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(ir(s,t))return a[t]=1,s[t];if(o!==Be&&Ae(o,t))return a[t]=2,o[t];if((c=e.propsOptions[0])&&Ae(c,t))return a[t]=3,r[t];if(n!==Be&&Ae(n,t))return a[t]=4,n[t];Pr&&(a[t]=0)}}const d=vs[t];let h,p;if(d)return t==="$attrs"&&_t(e,"get",t),d(e);if((h=i.__cssModules)&&(h=h[t]))return h;if(n!==Be&&Ae(n,t))return a[t]=4,n[t];if(p=l.config.globalProperties,Ae(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return ir(o,t)?(o[t]=n,!0):s!==Be&&Ae(s,t)?(s[t]=n,!0):Ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},a){let i;return!!n[a]||e!==Be&&Ae(e,a)||ir(t,a)||(i=r[0])&&Ae(i,a)||Ae(s,a)||Ae(vs,a)||Ae(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function yi(e){return pe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Pr=!0;function pf(e){const t=Ta(e),n=e.proxy,s=e.ctx;Pr=!1,t.beforeCreate&&ki(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:a,watch:i,provide:l,inject:c,created:d,beforeMount:h,mounted:p,beforeUpdate:C,updated:b,activated:E,deactivated:L,beforeDestroy:k,beforeUnmount:T,destroyed:P,unmounted:S,render:x,renderTracked:F,renderTriggered:Y,errorCaptured:Z,serverPrefetch:J,expose:ae,inheritAttrs:de,components:ne,directives:m,filters:N}=t;if(c&&mf(c,s,null),a)for(const G in a){const te=a[G];we(te)&&(s[G]=te.bind(n))}if(o){const G=o.call(n,n);Ze(G)&&(e.data=$t(G))}if(Pr=!0,r)for(const G in r){const te=r[G],he=we(te)?te.bind(n,n):we(te.get)?te.get.bind(n,n):xt,ve=!we(te)&&we(te.set)?te.set.bind(n):xt,$e=j({get:he,set:ve});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>$e.value,set:Te=>$e.value=Te})}if(i)for(const G in i)_1(i[G],s,n,G);if(l){const G=we(l)?l.call(n):l;Reflect.ownKeys(G).forEach(te=>{_s(te,G[te])})}d&&ki(d,e,"c");function X(G,te){pe(te)?te.forEach(he=>G(he.bind(n))):te&&G(te.bind(n))}if(X(No,h),X(dt,p),X(rf,C),X(m1,b),X(nf,E),X(sf,L),X(uf,Z),X(cf,F),X(lf,Y),X(Ca,T),X(os,S),X(af,J),pe(ae))if(ae.length){const G=e.exposed||(e.exposed={});ae.forEach(te=>{Object.defineProperty(G,te,{get:()=>n[te],set:he=>n[te]=he})})}else e.exposed||(e.exposed={});x&&e.render===xt&&(e.render=x),de!=null&&(e.inheritAttrs=de),ne&&(e.components=ne),m&&(e.directives=m)}function mf(e,t,n=xt){pe(e)&&(e=Rr(e));for(const s in e){const o=e[s];let r;Ze(o)?"default"in o?r=it(o.from||s,o.default,!0):r=it(o.from||s):r=it(o),We(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[s]=r}}function ki(e,t,n){St(pe(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function _1(e,t,n,s){const o=s.includes(".")?u1(n,s):()=>n[s];if(qe(e)){const r=t[e];we(r)&&ze(o,r)}else if(we(e))ze(o,e.bind(n));else if(Ze(e))if(pe(e))e.forEach(r=>_1(r,t,n,s));else{const r=we(e.handler)?e.handler.bind(n):t[e.handler];we(r)&&ze(o,r,e)}}function Ta(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,i=r.get(t);let l;return i?l=i:!o.length&&!n&&!s?l=t:(l={},o.length&&o.forEach(c=>vo(l,c,a,!0)),vo(l,t,a)),Ze(t)&&r.set(t,l),l}function vo(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&vo(e,r,n,!0),o&&o.forEach(a=>vo(e,a,n,!0));for(const a in t)if(!(s&&a==="expose")){const i=gf[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const gf={data:wi,props:Ci,emits:Ci,methods:ms,computed:ms,beforeCreate:lt,created:lt,beforeMount:lt,mounted:lt,beforeUpdate:lt,updated:lt,beforeDestroy:lt,beforeUnmount:lt,destroyed:lt,unmounted:lt,activated:lt,deactivated:lt,errorCaptured:lt,serverPrefetch:lt,components:ms,directives:ms,watch:_f,provide:wi,inject:vf};function wi(e,t){return t?e?function(){return Je(we(e)?e.call(this,this):e,we(t)?t.call(this,this):t)}:t:e}function vf(e,t){return ms(Rr(e),Rr(t))}function Rr(e){if(pe(e)){const t={};for(let n=0;n1)return n&&we(t)?t.call(s&&s.proxy):t}}function kf(){return!!(et||ot||Ps)}function wf(e,t,n,s=!1){const o={},r={};ho(r,Do,1),e.propsDefaults=Object.create(null),y1(e,t,o,r);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=s?o:Gc(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Cf(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:a}}=e,i=Se(o),[l]=e.propsOptions;let c=!1;if((s||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let h=0;h{l=!0;const[p,C]=k1(h,t,!0);Je(a,p),C&&i.push(...C)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!l)return Ze(e)&&s.set(e,zn),zn;if(pe(r))for(let d=0;d-1,C[1]=E<0||b-1||Ae(C,"default"))&&i.push(h)}}}const c=[a,i];return Ze(e)&&s.set(e,c),c}function Ei(e){return e[0]!=="$"}function Si(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Mi(e,t){return Si(e)===Si(t)}function Ti(e,t){return pe(t)?t.findIndex(n=>Mi(n,e)):we(t)&&Mi(t,e)?0:-1}const w1=e=>e[0]==="_"||e==="$stable",Oa=e=>pe(e)?e.map(Bt):[Bt(e)],Ef=(e,t,n)=>{if(t._n)return t;const s=De((...o)=>Oa(t(...o)),n);return s._c=!1,s},C1=(e,t,n)=>{const s=e._ctx;for(const o in e){if(w1(o))continue;const r=e[o];if(we(r))t[o]=Ef(o,r,s);else if(r!=null){const a=Oa(r);t[o]=()=>a}}},E1=(e,t)=>{const n=Oa(t);e.slots.default=()=>n},Sf=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Se(t),ho(t,"_",n)):C1(t,e.slots={})}else e.slots={},t&&E1(e,t);ho(e.slots,Do,1)},Mf=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,a=Be;if(s.shapeFlag&32){const i=t._;i?n&&i===1?r=!1:(Je(o,t),!n&&i===1&&delete o._):(r=!t.$stable,C1(t,o)),a=t}else t&&(E1(e,t),a={default:1});if(r)for(const i in o)!w1(i)&&!(i in a)&&delete o[i]};function Dr(e,t,n,s,o=!1){if(pe(e)){e.forEach((p,C)=>Dr(p,t&&(pe(t)?t[C]:t),n,s,o));return}if(gs(s)&&!o)return;const r=s.shapeFlag&4?Fo(s.component)||s.component.proxy:s.el,a=o?null:r,{i,r:l}=e,c=t&&t.r,d=i.refs===Be?i.refs={}:i.refs,h=i.setupState;if(c!=null&&c!==l&&(qe(c)?(d[c]=null,Ae(h,c)&&(h[c]=null)):We(c)&&(c.value=null)),we(l))pn(l,i,12,[a,d]);else{const p=qe(l),C=We(l);if(p||C){const b=()=>{if(e.f){const E=p?Ae(h,l)?h[l]:d[l]:l.value;o?pe(E)&&ua(E,r):pe(E)?E.includes(r)||E.push(r):p?(d[l]=[r],Ae(h,l)&&(h[l]=d[l])):(l.value=[r],e.k&&(d[e.k]=l.value))}else p?(d[l]=a,Ae(h,l)&&(h[l]=a)):C&&(l.value=a,e.k&&(d[e.k]=a))};a?(b.id=-1,gt(b,n)):b()}}}const gt=Xd;function Tf(e){return Of(e)}function Of(e,t){const n=Mr();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:a,createText:i,createComment:l,setText:c,setElementText:d,parentNode:h,nextSibling:p,setScopeId:C=xt,insertStaticContent:b}=e,E=(y,f,u,g=null,M=null,I=null,H=!1,U=null,Q=!!f.dynamicChildren)=>{if(y===f)return;y&&!Sn(y,f)&&(g=V(y),Te(y,M,I,!0),y=null),f.patchFlag===-2&&(Q=!1,f.dynamicChildren=null);const{type:z,ref:A,shapeFlag:D}=f;switch(z){case Hs:L(y,f,u,g);break;case Mt:k(y,f,u,g);break;case ro:y==null&&T(f,u,g,H);break;case me:ne(y,f,u,g,M,I,H,U,Q);break;default:D&1?x(y,f,u,g,M,I,H,U,Q):D&6?m(y,f,u,g,M,I,H,U,Q):(D&64||D&128)&&z.process(y,f,u,g,M,I,H,U,Q,ee)}A!=null&&M&&Dr(A,y&&y.ref,I,f||y,!f)},L=(y,f,u,g)=>{if(y==null)s(f.el=i(f.children),u,g);else{const M=f.el=y.el;f.children!==y.children&&c(M,f.children)}},k=(y,f,u,g)=>{y==null?s(f.el=l(f.children||""),u,g):f.el=y.el},T=(y,f,u,g)=>{[y.el,y.anchor]=b(y.children,f,u,g,y.el,y.anchor)},P=({el:y,anchor:f},u,g)=>{let M;for(;y&&y!==f;)M=p(y),s(y,u,g),y=M;s(f,u,g)},S=({el:y,anchor:f})=>{let u;for(;y&&y!==f;)u=p(y),o(y),y=u;o(f)},x=(y,f,u,g,M,I,H,U,Q)=>{H=H||f.type==="svg",y==null?F(f,u,g,M,I,H,U,Q):J(y,f,M,I,H,U,Q)},F=(y,f,u,g,M,I,H,U)=>{let Q,z;const{type:A,props:D,shapeFlag:le,transition:ue,dirs:_e}=y;if(Q=y.el=a(y.type,I,D&&D.is,D),le&8?d(Q,y.children):le&16&&Z(y.children,Q,null,g,M,I&&A!=="foreignObject",H,U),_e&&yn(y,null,g,"created"),Y(Q,y,y.scopeId,H,g),D){for(const ke in D)ke!=="value"&&!so(ke)&&r(Q,ke,null,D[ke],I,y.children,g,M,Ne);"value"in D&&r(Q,"value",null,D.value),(z=D.onVnodeBeforeMount)&&Dt(z,g,y)}_e&&yn(y,null,g,"beforeMount");const Oe=(!M||M&&!M.pendingBranch)&&ue&&!ue.persisted;Oe&&ue.beforeEnter(Q),s(Q,f,u),((z=D&&D.onVnodeMounted)||Oe||_e)&>(()=>{z&&Dt(z,g,y),Oe&&ue.enter(Q),_e&&yn(y,null,g,"mounted")},M)},Y=(y,f,u,g,M)=>{if(u&&C(y,u),g)for(let I=0;I{for(let z=Q;z{const U=f.el=y.el;let{patchFlag:Q,dynamicChildren:z,dirs:A}=f;Q|=y.patchFlag&16;const D=y.props||Be,le=f.props||Be;let ue;u&&kn(u,!1),(ue=le.onVnodeBeforeUpdate)&&Dt(ue,u,f,y),A&&yn(f,y,u,"beforeUpdate"),u&&kn(u,!0);const _e=M&&f.type!=="foreignObject";if(z?ae(y.dynamicChildren,z,U,u,g,_e,I):H||te(y,f,U,null,u,g,_e,I,!1),Q>0){if(Q&16)de(U,f,D,le,u,g,M);else if(Q&2&&D.class!==le.class&&r(U,"class",null,le.class,M),Q&4&&r(U,"style",D.style,le.style,M),Q&8){const Oe=f.dynamicProps;for(let ke=0;ke{ue&&Dt(ue,u,f,y),A&&yn(f,y,u,"updated")},g)},ae=(y,f,u,g,M,I,H)=>{for(let U=0;U{if(u!==g){if(u!==Be)for(const U in u)!so(U)&&!(U in g)&&r(y,U,u[U],null,H,f.children,M,I,Ne);for(const U in g){if(so(U))continue;const Q=g[U],z=u[U];Q!==z&&U!=="value"&&r(y,U,z,Q,H,f.children,M,I,Ne)}"value"in g&&r(y,"value",u.value,g.value)}},ne=(y,f,u,g,M,I,H,U,Q)=>{const z=f.el=y?y.el:i(""),A=f.anchor=y?y.anchor:i("");let{patchFlag:D,dynamicChildren:le,slotScopeIds:ue}=f;ue&&(U=U?U.concat(ue):ue),y==null?(s(z,u,g),s(A,u,g),Z(f.children,u,A,M,I,H,U,Q)):D>0&&D&64&&le&&y.dynamicChildren?(ae(y.dynamicChildren,le,u,M,I,H,U),(f.key!=null||M&&f===M.subTree)&&Aa(y,f,!0)):te(y,f,u,A,M,I,H,U,Q)},m=(y,f,u,g,M,I,H,U,Q)=>{f.slotScopeIds=U,y==null?f.shapeFlag&512?M.ctx.activate(f,u,g,H,Q):N(f,u,g,M,I,H,Q):B(y,f,Q)},N=(y,f,u,g,M,I,H)=>{const U=y.component=Ff(y,g,M);if(Po(y)&&(U.ctx.renderer=ee),jf(U),U.asyncDep){if(M&&M.registerDep(U,X),!y.el){const Q=U.subTree=R(Mt);k(null,Q,f,u)}return}X(U,y,f,u,M,I,H)},B=(y,f,u)=>{const g=f.component=y.component;if(Kd(y,f,u))if(g.asyncDep&&!g.asyncResolved){G(g,f,u);return}else g.next=f,Hd(g.update),g.update();else f.el=y.el,g.vnode=f},X=(y,f,u,g,M,I,H)=>{const U=()=>{if(y.isMounted){let{next:A,bu:D,u:le,parent:ue,vnode:_e}=y,Oe=A,ke;kn(y,!1),A?(A.el=_e.el,G(y,A,H)):A=_e,D&&oo(D),(ke=A.props&&A.props.onVnodeBeforeUpdate)&&Dt(ke,ue,A,_e),kn(y,!0);const Pe=rr(y),wt=y.subTree;y.subTree=Pe,E(wt,Pe,h(wt.el),V(wt),y,M,I),A.el=Pe.el,Oe===null&&Yd(y,Pe.el),le&>(le,M),(ke=A.props&&A.props.onVnodeUpdated)&>(()=>Dt(ke,ue,A,_e),M)}else{let A;const{el:D,props:le}=f,{bm:ue,m:_e,parent:Oe}=y,ke=gs(f);if(kn(y,!1),ue&&oo(ue),!ke&&(A=le&&le.onVnodeBeforeMount)&&Dt(A,Oe,f),kn(y,!0),D&&oe){const Pe=()=>{y.subTree=rr(y),oe(D,y.subTree,y,M,null)};ke?f.type.__asyncLoader().then(()=>!y.isUnmounted&&Pe()):Pe()}else{const Pe=y.subTree=rr(y);E(null,Pe,u,g,y,M,I),f.el=Pe.el}if(_e&>(_e,M),!ke&&(A=le&&le.onVnodeMounted)){const Pe=f;gt(()=>Dt(A,Oe,Pe),M)}(f.shapeFlag&256||Oe&&gs(Oe.vnode)&&Oe.vnode.shapeFlag&256)&&y.a&>(y.a,M),y.isMounted=!0,f=u=g=null}},Q=y.effect=new ma(U,()=>wa(z),y.scope),z=y.update=()=>Q.run();z.id=y.uid,kn(y,!0),z()},G=(y,f,u)=>{f.component=y;const g=y.vnode.props;y.vnode=f,y.next=null,Cf(y,f.props,g,u),Mf(y,f.children,u),ns(),gi(),ss()},te=(y,f,u,g,M,I,H,U,Q=!1)=>{const z=y&&y.children,A=y?y.shapeFlag:0,D=f.children,{patchFlag:le,shapeFlag:ue}=f;if(le>0){if(le&128){ve(z,D,u,g,M,I,H,U,Q);return}else if(le&256){he(z,D,u,g,M,I,H,U,Q);return}}ue&8?(A&16&&Ne(z,M,I),D!==z&&d(u,D)):A&16?ue&16?ve(z,D,u,g,M,I,H,U,Q):Ne(z,M,I,!0):(A&8&&d(u,""),ue&16&&Z(D,u,g,M,I,H,U,Q))},he=(y,f,u,g,M,I,H,U,Q)=>{y=y||zn,f=f||zn;const z=y.length,A=f.length,D=Math.min(z,A);let le;for(le=0;leA?Ne(y,M,I,!0,!1,D):Z(f,u,g,M,I,H,U,Q,D)},ve=(y,f,u,g,M,I,H,U,Q)=>{let z=0;const A=f.length;let D=y.length-1,le=A-1;for(;z<=D&&z<=le;){const ue=y[z],_e=f[z]=Q?un(f[z]):Bt(f[z]);if(Sn(ue,_e))E(ue,_e,u,null,M,I,H,U,Q);else break;z++}for(;z<=D&&z<=le;){const ue=y[D],_e=f[le]=Q?un(f[le]):Bt(f[le]);if(Sn(ue,_e))E(ue,_e,u,null,M,I,H,U,Q);else break;D--,le--}if(z>D){if(z<=le){const ue=le+1,_e=uele)for(;z<=D;)Te(y[z],M,I,!0),z++;else{const ue=z,_e=z,Oe=new Map;for(z=_e;z<=le;z++){const bt=f[z]=Q?un(f[z]):Bt(f[z]);bt.key!=null&&Oe.set(bt.key,z)}let ke,Pe=0;const wt=le-_e+1;let Rn=!1,ri=0;const ls=new Array(wt);for(z=0;z=wt){Te(bt,M,I,!0);continue}let Nt;if(bt.key!=null)Nt=Oe.get(bt.key);else for(ke=_e;ke<=le;ke++)if(ls[ke-_e]===0&&Sn(bt,f[ke])){Nt=ke;break}Nt===void 0?Te(bt,M,I,!0):(ls[Nt-_e]=z+1,Nt>=ri?ri=Nt:Rn=!0,E(bt,f[Nt],u,null,M,I,H,U,Q),Pe++)}const ai=Rn?Af(ls):zn;for(ke=ai.length-1,z=wt-1;z>=0;z--){const bt=_e+z,Nt=f[bt],ii=bt+1{const{el:I,type:H,transition:U,children:Q,shapeFlag:z}=y;if(z&6){$e(y.component.subTree,f,u,g);return}if(z&128){y.suspense.move(f,u,g);return}if(z&64){H.move(y,f,u,ee);return}if(H===me){s(I,f,u);for(let D=0;DU.enter(I),M);else{const{leave:D,delayLeave:le,afterLeave:ue}=U,_e=()=>s(I,f,u),Oe=()=>{D(I,()=>{_e(),ue&&ue()})};le?le(I,_e,Oe):Oe()}else s(I,f,u)},Te=(y,f,u,g=!1,M=!1)=>{const{type:I,props:H,ref:U,children:Q,dynamicChildren:z,shapeFlag:A,patchFlag:D,dirs:le}=y;if(U!=null&&Dr(U,null,u,y,!0),A&256){f.ctx.deactivate(y);return}const ue=A&1&&le,_e=!gs(y);let Oe;if(_e&&(Oe=H&&H.onVnodeBeforeUnmount)&&Dt(Oe,f,y),A&6)pt(y.component,u,g);else{if(A&128){y.suspense.unmount(u,g);return}ue&&yn(y,null,f,"beforeUnmount"),A&64?y.type.remove(y,f,u,M,ee,g):z&&(I!==me||D>0&&D&64)?Ne(z,f,u,!1,!0):(I===me&&D&384||!M&&A&16)&&Ne(Q,f,u),g&&Ke(y)}(_e&&(Oe=H&&H.onVnodeUnmounted)||ue)&>(()=>{Oe&&Dt(Oe,f,y),ue&&yn(y,null,f,"unmounted")},u)},Ke=y=>{const{type:f,el:u,anchor:g,transition:M}=y;if(f===me){Ye(u,g);return}if(f===ro){S(y);return}const I=()=>{o(u),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(y.shapeFlag&1&&M&&!M.persisted){const{leave:H,delayLeave:U}=M,Q=()=>H(u,I);U?U(y.el,I,Q):Q()}else I()},Ye=(y,f)=>{let u;for(;y!==f;)u=p(y),o(y),y=u;o(f)},pt=(y,f,u)=>{const{bum:g,scope:M,update:I,subTree:H,um:U}=y;g&&oo(g),M.stop(),I&&(I.active=!1,Te(H,y,f,u)),U&>(U,f),gt(()=>{y.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Ne=(y,f,u,g=!1,M=!1,I=0)=>{for(let H=I;Hy.shapeFlag&6?V(y.component.subTree):y.shapeFlag&128?y.suspense.next():p(y.anchor||y.el),se=(y,f,u)=>{y==null?f._vnode&&Te(f._vnode,null,null,!0):E(f._vnode||null,y,f,null,null,null,u),gi(),a1(),f._vnode=y},ee={p:E,um:Te,m:$e,r:Ke,mt:N,mc:Z,pc:te,pbc:ae,n:V,o:e};let W,oe;return t&&([W,oe]=t(ee)),{render:se,hydrate:W,createApp:yf(se,W)}}function kn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Aa(e,t,n=!1){const s=e.children,o=t.children;if(pe(s)&&pe(o))for(let r=0;r>1,e[n[i]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,a=n[r-1];r-- >0;)n[r]=a,a=t[a];return n}const Lf=e=>e.__isTeleport,bs=e=>e&&(e.disabled||e.disabled===""),Oi=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Fr=(e,t)=>{const n=e&&e.to;return qe(n)?t?t(n):null:n},If={__isTeleport:!0,process(e,t,n,s,o,r,a,i,l,c){const{mc:d,pc:h,pbc:p,o:{insert:C,querySelector:b,createText:E,createComment:L}}=c,k=bs(t.props);let{shapeFlag:T,children:P,dynamicChildren:S}=t;if(e==null){const x=t.el=E(""),F=t.anchor=E("");C(x,n,s),C(F,n,s);const Y=t.target=Fr(t.props,b),Z=t.targetAnchor=E("");Y&&(C(Z,Y),a=a||Oi(Y));const J=(ae,de)=>{T&16&&d(P,ae,de,o,r,a,i,l)};k?J(n,F):Y&&J(Y,Z)}else{t.el=e.el;const x=t.anchor=e.anchor,F=t.target=e.target,Y=t.targetAnchor=e.targetAnchor,Z=bs(e.props),J=Z?n:F,ae=Z?x:Y;if(a=a||Oi(F),S?(p(e.dynamicChildren,S,J,o,r,a,i),Aa(e,t,!0)):l||h(e,t,J,ae,o,r,a,i,!1),k)Z||Qs(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const de=t.target=Fr(t.props,b);de&&Qs(t,de,null,c,0)}else Z&&Qs(t,F,Y,c,1)}S1(t)},remove(e,t,n,s,{um:o,o:{remove:r}},a){const{shapeFlag:i,children:l,anchor:c,targetAnchor:d,target:h,props:p}=e;if(h&&r(d),(a||!bs(p))&&(r(c),i&16))for(let C=0;C0?Lt||zn:null,$f(),Rs>0&&Lt&&Lt.push(e),e}function $(e,t,n,s,o,r){return M1(v(e,t,n,s,o,r,!0))}function be(e,t,n,s,o){return M1(R(e,t,n,s,o,!0))}function Ns(e){return e?e.__v_isVNode===!0:!1}function Sn(e,t){return e.type===t.type&&e.key===t.key}const Do="__vInternal",T1=({key:e})=>e??null,ao=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?qe(e)||We(e)||we(e)?{i:ot,r:e,k:t,f:!!n}:e:null);function v(e,t=null,n=null,s=0,o=null,r=e===me?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&T1(t),ref:t&&ao(t),scopeId:Io,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ot};return i?(Ia(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=qe(n)?8:16),Rs>0&&!a&&Lt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Lt.push(l),l}const R=Pf;function Pf(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===g1)&&(e=Mt),Ns(e)){const i=gn(e,t,!0);return n&&Ia(i,n),Rs>0&&!r&&Lt&&(i.shapeFlag&6?Lt[Lt.indexOf(e)]=i:Lt.push(i)),i.patchFlag|=-2,i}if(zf(e)&&(e=e.__vccOpts),t){t=Rf(t);let{class:i,style:l}=t;i&&!qe(i)&&(t.class=Ce(i)),Ze(l)&&(Jc(l)&&!pe(l)&&(l=Je({},l)),t.style=Ie(l))}const a=qe(e)?1:Gd(e)?128:Lf(e)?64:Ze(e)?4:we(e)?2:0;return v(e,t,n,s,o,a,r,!0)}function Rf(e){return e?Jc(e)||Do in e?Je({},e):e:null}function gn(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:a}=e,i=t?jr(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&T1(i),ref:t&&t.ref?n&&o?pe(o)?o.concat(ao(t)):[o,ao(t)]:ao(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&gn(e.ssContent),ssFallback:e.ssFallback&&gn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ve(e=" ",t=0){return R(Hs,null,e,t)}function Z_(e,t){const n=R(ro,null,e);return n.staticCount=t,n}function fe(e="",t=!1){return t?(O(),be(Mt,null,e)):R(Mt,null,e)}function Bt(e){return e==null||typeof e=="boolean"?R(Mt):pe(e)?R(me,null,e.slice()):typeof e=="object"?un(e):R(Hs,null,String(e))}function un(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:gn(e)}function Ia(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(pe(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Ia(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Do in t)?t._ctx=ot:o===3&&ot&&(ot.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else we(t)?(t={default:t,_ctx:ot},n=32):(t=String(t),s&64?(n=16,t=[Ve(t)]):n=8);e.children=t,e.shapeFlag|=n}function jr(...e){const t={};for(let n=0;net||ot;let xa,Nn,Li="__VUE_INSTANCE_SETTERS__";(Nn=Mr()[Li])||(Nn=Mr()[Li]=[]),Nn.push(e=>et=e),xa=e=>{Nn.length>1?Nn.forEach(t=>t(e)):Nn[0](e)};const Xn=e=>{xa(e),e.scope.on()},Ln=()=>{et&&et.scope.off(),xa(null)};function O1(e){return e.vnode.shapeFlag&4}let Ds=!1;function jf(e,t=!1){Ds=t;const{props:n,children:s}=e.vnode,o=O1(e);wf(e,n,o,t),Sf(e,s);const r=o?Bf(e,t):void 0;return Ds=!1,r}function Bf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Oo(new Proxy(e.ctx,hf));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Hf(e):null;Xn(e),ns();const r=pn(s,e,0,[e.props,o]);if(ss(),Ln(),$c(r)){if(r.then(Ln,Ln),t)return r.then(a=>{Ii(e,a,t)}).catch(a=>{Ao(a,e,0)});e.asyncDep=r}else Ii(e,r,t)}else A1(e,t)}function Ii(e,t,n){we(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ze(t)&&(e.setupState=s1(t)),A1(e,n)}let xi;function A1(e,t,n){const s=e.type;if(!e.render){if(!t&&xi&&!s.render){const o=s.template||Ta(e).template;if(o){const{isCustomElement:r,compilerOptions:a}=e.appContext.config,{delimiters:i,compilerOptions:l}=s,c=Je(Je({isCustomElement:r,delimiters:i},a),l);s.render=xi(o,c)}}e.render=s.render||xt}Xn(e),ns(),pf(e),ss(),Ln()}function Zf(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return _t(e,"get","$attrs"),t[n]}}))}function Hf(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Zf(e)},slots:e.slots,emit:e.emit,expose:t}}function Fo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(s1(Oo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vs)return vs[n](e)},has(t,n){return n in t||n in vs}}))}function Uf(e,t=!0){return we(e)?e.displayName||e.name:e.name||t&&e.__name}function zf(e){return we(e)&&"__vccOpts"in e}const j=(e,t)=>jd(e,t,Ds);function Kt(e,t,n){const s=arguments.length;return s===2?Ze(t)&&!pe(t)?Ns(t)?R(e,null,[t]):R(e,t):R(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ns(n)&&(n=[n]),R(e,t,n))}const Vf=Symbol.for("v-scx"),Wf=()=>it(Vf),qf="3.3.4",Kf="http://www.w3.org/2000/svg",Mn=typeof document<"u"?document:null,$i=Mn&&Mn.createElement("template"),Yf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?Mn.createElementNS(Kf,e):Mn.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Mn.createTextNode(e),createComment:e=>Mn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const a=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{$i.innerHTML=s?`${e}`:e;const i=$i.content;if(s){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Gf(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Xf(e,t,n){const s=e.style,o=qe(n);if(n&&!o){if(t&&!qe(t))for(const r in t)n[r]==null&&Br(s,r,"");for(const r in n)Br(s,r,n[r])}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const Pi=/\s*!important$/;function Br(e,t,n){if(pe(n))n.forEach(s=>Br(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Jf(e,t);Pi.test(n)?e.setProperty($n(s),n.replace(Pi,""),"important"):e[s]=n}}const Ri=["Webkit","Moz","ms"],lr={};function Jf(e,t){const n=lr[t];if(n)return n;let s=Ut(t);if(s!=="filter"&&s in e)return lr[t]=s;s=Mo(s);for(let o=0;ocr||(o2.then(()=>cr=0),cr=Date.now());function a2(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;St(i2(s,n.value),t,5,[s])};return n.value=e,n.attached=r2(),n}function i2(e,t){if(pe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const Fi=/^on[a-z]/,l2=(e,t,n,s,o=!1,r,a,i,l)=>{t==="class"?Gf(e,s,o):t==="style"?Xf(e,n,s):Co(t)?ca(t)||n2(e,t,n,s,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):c2(e,t,s,o))?e2(e,t,s,r,a,i,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Qf(e,t,s,o))};function c2(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Fi.test(t)&&we(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Fi.test(t)&&qe(n)?!1:t in e}const nn="transition",cs="animation",Pt=(e,{slots:t})=>Kt(tf,u2(e),t);Pt.displayName="Transition";const L1={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Pt.props=Je({},d1,L1);const wn=(e,t=[])=>{pe(e)?e.forEach(n=>n(...t)):e&&e(...t)},ji=e=>e?pe(e)?e.some(t=>t.length>1):e.length>1:!1;function u2(e){const t={};for(const ne in e)ne in L1||(t[ne]=e[ne]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=a,appearToClass:d=i,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:C=`${n}-leave-to`}=e,b=d2(o),E=b&&b[0],L=b&&b[1],{onBeforeEnter:k,onEnter:T,onEnterCancelled:P,onLeave:S,onLeaveCancelled:x,onBeforeAppear:F=k,onAppear:Y=T,onAppearCancelled:Z=P}=t,J=(ne,m,N)=>{Cn(ne,m?d:i),Cn(ne,m?c:a),N&&N()},ae=(ne,m)=>{ne._isLeaving=!1,Cn(ne,h),Cn(ne,C),Cn(ne,p),m&&m()},de=ne=>(m,N)=>{const B=ne?Y:T,X=()=>J(m,ne,N);wn(B,[m,X]),Bi(()=>{Cn(m,ne?l:r),sn(m,ne?d:i),ji(B)||Zi(m,s,E,X)})};return Je(t,{onBeforeEnter(ne){wn(k,[ne]),sn(ne,r),sn(ne,a)},onBeforeAppear(ne){wn(F,[ne]),sn(ne,l),sn(ne,c)},onEnter:de(!1),onAppear:de(!0),onLeave(ne,m){ne._isLeaving=!0;const N=()=>ae(ne,m);sn(ne,h),p2(),sn(ne,p),Bi(()=>{ne._isLeaving&&(Cn(ne,h),sn(ne,C),ji(S)||Zi(ne,s,L,N))}),wn(S,[ne,N])},onEnterCancelled(ne){J(ne,!1),wn(P,[ne])},onAppearCancelled(ne){J(ne,!0),wn(Z,[ne])},onLeaveCancelled(ne){ae(ne),wn(x,[ne])}})}function d2(e){if(e==null)return null;if(Ze(e))return[ur(e.enter),ur(e.leave)];{const t=ur(e);return[t,t]}}function ur(e){return J0(e)}function sn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Cn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Bi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let f2=0;function Zi(e,t,n,s){const o=e._endId=++f2,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:a,timeout:i,propCount:l}=h2(e,t);if(!a)return s();const c=a+"end";let d=0;const h=()=>{e.removeEventListener(c,p),r()},p=C=>{C.target===e&&++d>=l&&h()};setTimeout(()=>{d(n[b]||"").split(", "),o=s(`${nn}Delay`),r=s(`${nn}Duration`),a=Hi(o,r),i=s(`${cs}Delay`),l=s(`${cs}Duration`),c=Hi(i,l);let d=null,h=0,p=0;t===nn?a>0&&(d=nn,h=a,p=r.length):t===cs?c>0&&(d=cs,h=c,p=l.length):(h=Math.max(a,c),d=h>0?a>c?nn:cs:null,p=d?d===nn?r.length:l.length:0);const C=d===nn&&/\b(transform|all)(,|$)/.test(s(`${nn}Property`).toString());return{type:d,timeout:h,propCount:p,hasTransform:C}}function Hi(e,t){for(;e.lengthUi(n)+Ui(e[s])))}function Ui(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function p2(){return document.body.offsetHeight}const zi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return pe(t)?n=>oo(t,n):t};function m2(e){e.target.composing=!0}function Vi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const g2={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e._assign=zi(o);const r=s||o.props&&o.props.type==="number";jn(e,t?"change":"input",a=>{if(a.target.composing)return;let i=e.value;n&&(i=i.trim()),r&&(i=Sr(i)),e._assign(i)}),n&&jn(e,"change",()=>{e.value=e.value.trim()}),t||(jn(e,"compositionstart",m2),jn(e,"compositionend",Vi),jn(e,"change",Vi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:o}},r){if(e._assign=zi(r),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(o||e.type==="number")&&Sr(e.value)===t))return;const a=t??"";e.value!==a&&(e.value=a)}},v2=["ctrl","shift","alt","meta"],_2={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>v2.some(n=>e[`${n}Key`]&&!t.includes(n))},vt=(e,t)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=$n(n.key);if(t.some(o=>o===s||b2[o]===s))return e(n)},jo={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):us(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),us(e,!0),s.enter(e)):s.leave(e,()=>{us(e,!1)}):us(e,t))},beforeUnmount(e,{value:t}){us(e,t)}};function us(e,t){e.style.display=t?e._vod:"none"}const y2=Je({patchProp:l2},Yf);let Wi;function k2(){return Wi||(Wi=Tf(y2))}const w2=(...e)=>{const t=k2().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=C2(s);if(!o)return;const r=t._component;!we(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t};function C2(e){return qe(e)?document.querySelector(e):e}var E2=!1;/*! - * pinia v2.1.6 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let I1;const Bo=e=>I1=e,x1=Symbol();function Zr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ks;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ks||(ks={}));function S2(){const e=ha(!0),t=e.run(()=>ce({}));let n=[],s=[];const o=Oo({install(r){Bo(o),o._a=r,r.provide(x1,o),r.config.globalProperties.$pinia=o,s.forEach(a=>n.push(a)),s=[]},use(r){return!this._a&&!E2?s.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const $1=()=>{};function qi(e,t,n,s=$1){e.push(t);const o=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),s())};return!n&&jc()&&ad(o),o}function Dn(e,...t){e.slice().forEach(n=>{n(...t)})}const M2=e=>e();function Hr(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],o=e[n];Zr(o)&&Zr(s)&&e.hasOwnProperty(n)&&!We(s)&&!hn(s)?e[n]=Hr(o,s):e[n]=s}return e}const T2=Symbol();function O2(e){return!Zr(e)||!e.hasOwnProperty(T2)}const{assign:cn}=Object;function A2(e){return!!(We(e)&&e.effect)}function L2(e,t,n,s){const{state:o,actions:r,getters:a}=t,i=n.state.value[e];let l;function c(){i||(n.state.value[e]=o?o():{});const d=ut(n.state.value[e]);return cn(d,r,Object.keys(a||{}).reduce((h,p)=>(h[p]=Oo(j(()=>{Bo(n);const C=n._s.get(e);return a[p].call(C,C)})),h),{}))}return l=P1(e,c,t,n,s,!0),l}function P1(e,t,n={},s,o,r){let a;const i=cn({actions:{}},n),l={deep:!0};let c,d,h=[],p=[],C;const b=s.state.value[e];!r&&!b&&(s.state.value[e]={}),ce({});let E;function L(Z){let J;c=d=!1,typeof Z=="function"?(Z(s.state.value[e]),J={type:ks.patchFunction,storeId:e,events:C}):(Hr(s.state.value[e],Z),J={type:ks.patchObject,payload:Z,storeId:e,events:C});const ae=E=Symbol();Yn().then(()=>{E===ae&&(c=!0)}),d=!0,Dn(h,J,s.state.value[e])}const k=r?function(){const{state:J}=n,ae=J?J():{};this.$patch(de=>{cn(de,ae)})}:$1;function T(){a.stop(),h=[],p=[],s._s.delete(e)}function P(Z,J){return function(){Bo(s);const ae=Array.from(arguments),de=[],ne=[];function m(X){de.push(X)}function N(X){ne.push(X)}Dn(p,{args:ae,name:Z,store:x,after:m,onError:N});let B;try{B=J.apply(this&&this.$id===e?this:x,ae)}catch(X){throw Dn(ne,X),X}return B instanceof Promise?B.then(X=>(Dn(de,X),X)).catch(X=>(Dn(ne,X),Promise.reject(X))):(Dn(de,B),B)}}const S={_p:s,$id:e,$onAction:qi.bind(null,p),$patch:L,$reset:k,$subscribe(Z,J={}){const ae=qi(h,Z,J.detached,()=>de()),de=a.run(()=>ze(()=>s.state.value[e],ne=>{(J.flush==="sync"?d:c)&&Z({storeId:e,type:ks.direct,events:C},ne)},cn({},l,J)));return ae},$dispose:T},x=$t(S);s._s.set(e,x);const F=s._a&&s._a.runWithContext||M2,Y=s._e.run(()=>(a=ha(),F(()=>a.run(t))));for(const Z in Y){const J=Y[Z];if(We(J)&&!A2(J)||hn(J))r||(b&&O2(J)&&(We(J)?J.value=b[Z]:Hr(J,b[Z])),s.state.value[e][Z]=J);else if(typeof J=="function"){const ae=P(Z,J);Y[Z]=ae,i.actions[Z]=J}}return cn(x,Y),cn(Se(x),Y),Object.defineProperty(x,"$state",{get:()=>s.state.value[e],set:Z=>{L(J=>{cn(J,Z)})}}),s._p.forEach(Z=>{cn(x,a.run(()=>Z({store:x,app:s._a,pinia:s,options:i})))}),b&&r&&n.hydrate&&n.hydrate(x.$state,b),c=!0,d=!0,x}function kt(e,t,n){let s,o;const r=typeof t=="function";typeof e=="string"?(s=e,o=r?n:t):(o=e,s=e.id);function a(i,l){const c=kf();return i=i||(c?it(x1,null):null),i&&Bo(i),i=I1,i._s.has(s)||(r?P1(s,t,o,i):L2(s,o,i)),i._s.get(s)}return a.$id=s,a}/*! js-cookie v3.0.5 | MIT */function eo(e){for(var t=1;t"u")){a=eo({},t,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var l in a)a[l]&&(i+="; "+l,a[l]!==!0&&(i+="="+a[l].split(";")[0]));return document.cookie=o+"="+e.write(r,o)+i}}function s(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var r=document.cookie?document.cookie.split("; "):[],a={},i=0;iF2?Symbol(e):e,j2=(e,t,n)=>B2({l:e,k:t,s:n}),B2=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),tt=e=>typeof e=="number"&&isFinite(e),Z2=e=>Pa(e)==="[object Date]",vn=e=>Pa(e)==="[object RegExp]",Zo=e=>ge(e)&&Object.keys(e).length===0;function H2(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rt=Object.assign;let Ki;const ws=()=>Ki||(Ki=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Yi(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const U2=Object.prototype.hasOwnProperty;function $a(e,t){return U2.call(e,t)}const Fe=Array.isArray,Ge=e=>typeof e=="function",re=e=>typeof e=="string",Ee=e=>typeof e=="boolean",je=e=>e!==null&&typeof e=="object",q1=Object.prototype.toString,Pa=e=>q1.call(e),ge=e=>Pa(e)==="[object Object]",z2=e=>e==null?"":Fe(e)||ge(e)&&e.toString===q1?JSON.stringify(e,null,2):String(e);/*! - * message-compiler v9.2.2 - * (c) 2022 kazuya kawaguchi - * Released under the MIT License. - */const xe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function Ho(e,t,n={}){const{domain:s,messages:o,args:r}=n,a=e,i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=s,i}function V2(e){throw e}function W2(e,t,n){return{line:e,column:t,offset:n}}function Vr(e,t,n){const s={start:e,end:t};return n!=null&&(s.source=n),s}const Vt=" ",q2="\r",ct=` -`,K2=String.fromCharCode(8232),Y2=String.fromCharCode(8233);function G2(e){const t=e;let n=0,s=1,o=1,r=0;const a=Y=>t[Y]===q2&&t[Y+1]===ct,i=Y=>t[Y]===ct,l=Y=>t[Y]===Y2,c=Y=>t[Y]===K2,d=Y=>a(Y)||i(Y)||l(Y)||c(Y),h=()=>n,p=()=>s,C=()=>o,b=()=>r,E=Y=>a(Y)||l(Y)||c(Y)?ct:t[Y],L=()=>E(n),k=()=>E(n+r);function T(){return r=0,d(n)&&(s++,o=0),a(n)&&n++,n++,o++,t[n]}function P(){return a(n+r)&&r++,r++,t[n+r]}function S(){n=0,s=1,o=1,r=0}function x(Y=0){r=Y}function F(){const Y=n+r;for(;Y!==n;)T();r=0}return{index:h,line:p,column:C,peekOffset:b,charAt:E,currentChar:L,currentPeek:k,next:T,peek:P,reset:S,resetPeek:x,skipToPeek:F}}const rn=void 0,Gi="'",X2="tokenizer";function J2(e,t={}){const n=t.location!==!1,s=G2(e),o=()=>s.index(),r=()=>W2(s.line(),s.column(),s.index()),a=r(),i=o(),l={currentType:14,offset:i,startLoc:a,endLoc:a,lastType:14,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:d}=t;function h(f,u,g,...M){const I=c();if(u.column+=g,u.offset+=g,d){const H=Vr(I.startLoc,u),U=Ho(f,H,{domain:X2,args:M});d(U)}}function p(f,u,g){f.endLoc=r(),f.currentType=u;const M={type:u};return n&&(M.loc=Vr(f.startLoc,f.endLoc)),g!=null&&(M.value=g),M}const C=f=>p(f,14);function b(f,u){return f.currentChar()===u?(f.next(),u):(h(xe.EXPECTED_TOKEN,r(),0,u),"")}function E(f){let u="";for(;f.currentPeek()===Vt||f.currentPeek()===ct;)u+=f.currentPeek(),f.peek();return u}function L(f){const u=E(f);return f.skipToPeek(),u}function k(f){if(f===rn)return!1;const u=f.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function T(f){if(f===rn)return!1;const u=f.charCodeAt(0);return u>=48&&u<=57}function P(f,u){const{currentType:g}=u;if(g!==2)return!1;E(f);const M=k(f.currentPeek());return f.resetPeek(),M}function S(f,u){const{currentType:g}=u;if(g!==2)return!1;E(f);const M=f.currentPeek()==="-"?f.peek():f.currentPeek(),I=T(M);return f.resetPeek(),I}function x(f,u){const{currentType:g}=u;if(g!==2)return!1;E(f);const M=f.currentPeek()===Gi;return f.resetPeek(),M}function F(f,u){const{currentType:g}=u;if(g!==8)return!1;E(f);const M=f.currentPeek()===".";return f.resetPeek(),M}function Y(f,u){const{currentType:g}=u;if(g!==9)return!1;E(f);const M=k(f.currentPeek());return f.resetPeek(),M}function Z(f,u){const{currentType:g}=u;if(!(g===8||g===12))return!1;E(f);const M=f.currentPeek()===":";return f.resetPeek(),M}function J(f,u){const{currentType:g}=u;if(g!==10)return!1;const M=()=>{const H=f.currentPeek();return H==="{"?k(f.peek()):H==="@"||H==="%"||H==="|"||H===":"||H==="."||H===Vt||!H?!1:H===ct?(f.peek(),M()):k(H)},I=M();return f.resetPeek(),I}function ae(f){E(f);const u=f.currentPeek()==="|";return f.resetPeek(),u}function de(f){const u=E(f),g=f.currentPeek()==="%"&&f.peek()==="{";return f.resetPeek(),{isModulo:g,hasSpace:u.length>0}}function ne(f,u=!0){const g=(I=!1,H="",U=!1)=>{const Q=f.currentPeek();return Q==="{"?H==="%"?!1:I:Q==="@"||!Q?H==="%"?!0:I:Q==="%"?(f.peek(),g(I,"%",!0)):Q==="|"?H==="%"||U?!0:!(H===Vt||H===ct):Q===Vt?(f.peek(),g(!0,Vt,U)):Q===ct?(f.peek(),g(!0,ct,U)):!0},M=g();return u&&f.resetPeek(),M}function m(f,u){const g=f.currentChar();return g===rn?rn:u(g)?(f.next(),g):null}function N(f){return m(f,g=>{const M=g.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===95||M===36})}function B(f){return m(f,g=>{const M=g.charCodeAt(0);return M>=48&&M<=57})}function X(f){return m(f,g=>{const M=g.charCodeAt(0);return M>=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102})}function G(f){let u="",g="";for(;u=B(f);)g+=u;return g}function te(f){L(f);const u=f.currentChar();return u!=="%"&&h(xe.EXPECTED_TOKEN,r(),0,u),f.next(),"%"}function he(f){let u="";for(;;){const g=f.currentChar();if(g==="{"||g==="}"||g==="@"||g==="|"||!g)break;if(g==="%")if(ne(f))u+=g,f.next();else break;else if(g===Vt||g===ct)if(ne(f))u+=g,f.next();else{if(ae(f))break;u+=g,f.next()}else u+=g,f.next()}return u}function ve(f){L(f);let u="",g="";for(;u=N(f);)g+=u;return f.currentChar()===rn&&h(xe.UNTERMINATED_CLOSING_BRACE,r(),0),g}function $e(f){L(f);let u="";return f.currentChar()==="-"?(f.next(),u+=`-${G(f)}`):u+=G(f),f.currentChar()===rn&&h(xe.UNTERMINATED_CLOSING_BRACE,r(),0),u}function Te(f){L(f),b(f,"'");let u="",g="";const M=H=>H!==Gi&&H!==ct;for(;u=m(f,M);)u==="\\"?g+=Ke(f):g+=u;const I=f.currentChar();return I===ct||I===rn?(h(xe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),I===ct&&(f.next(),b(f,"'")),g):(b(f,"'"),g)}function Ke(f){const u=f.currentChar();switch(u){case"\\":case"'":return f.next(),`\\${u}`;case"u":return Ye(f,u,4);case"U":return Ye(f,u,6);default:return h(xe.UNKNOWN_ESCAPE_SEQUENCE,r(),0,u),""}}function Ye(f,u,g){b(f,u);let M="";for(let I=0;II!=="{"&&I!=="}"&&I!==Vt&&I!==ct;for(;u=m(f,M);)g+=u;return g}function Ne(f){let u="",g="";for(;u=N(f);)g+=u;return g}function V(f){const u=(g=!1,M)=>{const I=f.currentChar();return I==="{"||I==="%"||I==="@"||I==="|"||!I||I===Vt?M:I===ct?(M+=I,f.next(),u(g,M)):(M+=I,f.next(),u(!0,M))};return u(!1,"")}function se(f){L(f);const u=b(f,"|");return L(f),u}function ee(f,u){let g=null;switch(f.currentChar()){case"{":return u.braceNest>=1&&h(xe.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),f.next(),g=p(u,2,"{"),L(f),u.braceNest++,g;case"}":return u.braceNest>0&&u.currentType===2&&h(xe.EMPTY_PLACEHOLDER,r(),0),f.next(),g=p(u,3,"}"),u.braceNest--,u.braceNest>0&&L(f),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),g;case"@":return u.braceNest>0&&h(xe.UNTERMINATED_CLOSING_BRACE,r(),0),g=W(f,u)||C(u),u.braceNest=0,g;default:let I=!0,H=!0,U=!0;if(ae(f))return u.braceNest>0&&h(xe.UNTERMINATED_CLOSING_BRACE,r(),0),g=p(u,1,se(f)),u.braceNest=0,u.inLinked=!1,g;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return h(xe.UNTERMINATED_CLOSING_BRACE,r(),0),u.braceNest=0,oe(f,u);if(I=P(f,u))return g=p(u,5,ve(f)),L(f),g;if(H=S(f,u))return g=p(u,6,$e(f)),L(f),g;if(U=x(f,u))return g=p(u,7,Te(f)),L(f),g;if(!I&&!H&&!U)return g=p(u,13,pt(f)),h(xe.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,g.value),L(f),g;break}return g}function W(f,u){const{currentType:g}=u;let M=null;const I=f.currentChar();switch((g===8||g===9||g===12||g===10)&&(I===ct||I===Vt)&&h(xe.INVALID_LINKED_FORMAT,r(),0),I){case"@":return f.next(),M=p(u,8,"@"),u.inLinked=!0,M;case".":return L(f),f.next(),p(u,9,".");case":":return L(f),f.next(),p(u,10,":");default:return ae(f)?(M=p(u,1,se(f)),u.braceNest=0,u.inLinked=!1,M):F(f,u)||Z(f,u)?(L(f),W(f,u)):Y(f,u)?(L(f),p(u,12,Ne(f))):J(f,u)?(L(f),I==="{"?ee(f,u)||M:p(u,11,V(f))):(g===8&&h(xe.INVALID_LINKED_FORMAT,r(),0),u.braceNest=0,u.inLinked=!1,oe(f,u))}}function oe(f,u){let g={type:14};if(u.braceNest>0)return ee(f,u)||C(u);if(u.inLinked)return W(f,u)||C(u);switch(f.currentChar()){case"{":return ee(f,u)||C(u);case"}":return h(xe.UNBALANCED_CLOSING_BRACE,r(),0),f.next(),p(u,3,"}");case"@":return W(f,u)||C(u);default:if(ae(f))return g=p(u,1,se(f)),u.braceNest=0,u.inLinked=!1,g;const{isModulo:I,hasSpace:H}=de(f);if(I)return H?p(u,0,he(f)):p(u,4,te(f));if(ne(f))return p(u,0,he(f));break}return g}function y(){const{currentType:f,offset:u,startLoc:g,endLoc:M}=l;return l.lastType=f,l.lastOffset=u,l.lastStartLoc=g,l.lastEndLoc=M,l.offset=o(),l.startLoc=r(),s.currentChar()===rn?p(l,14):oe(s,l)}return{nextToken:y,currentOffset:o,currentPosition:r,context:c}}const Q2="parser",eh=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function th(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function nh(e={}){const t=e.location!==!1,{onError:n}=e;function s(k,T,P,S,...x){const F=k.currentPosition();if(F.offset+=S,F.column+=S,n){const Y=Vr(P,F),Z=Ho(T,Y,{domain:Q2,args:x});n(Z)}}function o(k,T,P){const S={type:k,start:T,end:T};return t&&(S.loc={start:P,end:P}),S}function r(k,T,P,S){k.end=T,S&&(k.type=S),t&&k.loc&&(k.loc.end=P)}function a(k,T){const P=k.context(),S=o(3,P.offset,P.startLoc);return S.value=T,r(S,k.currentOffset(),k.currentPosition()),S}function i(k,T){const P=k.context(),{lastOffset:S,lastStartLoc:x}=P,F=o(5,S,x);return F.index=parseInt(T,10),k.nextToken(),r(F,k.currentOffset(),k.currentPosition()),F}function l(k,T){const P=k.context(),{lastOffset:S,lastStartLoc:x}=P,F=o(4,S,x);return F.key=T,k.nextToken(),r(F,k.currentOffset(),k.currentPosition()),F}function c(k,T){const P=k.context(),{lastOffset:S,lastStartLoc:x}=P,F=o(9,S,x);return F.value=T.replace(eh,th),k.nextToken(),r(F,k.currentOffset(),k.currentPosition()),F}function d(k){const T=k.nextToken(),P=k.context(),{lastOffset:S,lastStartLoc:x}=P,F=o(8,S,x);return T.type!==12?(s(k,xe.UNEXPECTED_EMPTY_LINKED_MODIFIER,P.lastStartLoc,0),F.value="",r(F,S,x),{nextConsumeToken:T,node:F}):(T.value==null&&s(k,xe.UNEXPECTED_LEXICAL_ANALYSIS,P.lastStartLoc,0,Ft(T)),F.value=T.value||"",r(F,k.currentOffset(),k.currentPosition()),{node:F})}function h(k,T){const P=k.context(),S=o(7,P.offset,P.startLoc);return S.value=T,r(S,k.currentOffset(),k.currentPosition()),S}function p(k){const T=k.context(),P=o(6,T.offset,T.startLoc);let S=k.nextToken();if(S.type===9){const x=d(k);P.modifier=x.node,S=x.nextConsumeToken||k.nextToken()}switch(S.type!==10&&s(k,xe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Ft(S)),S=k.nextToken(),S.type===2&&(S=k.nextToken()),S.type){case 11:S.value==null&&s(k,xe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Ft(S)),P.key=h(k,S.value||"");break;case 5:S.value==null&&s(k,xe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Ft(S)),P.key=l(k,S.value||"");break;case 6:S.value==null&&s(k,xe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Ft(S)),P.key=i(k,S.value||"");break;case 7:S.value==null&&s(k,xe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Ft(S)),P.key=c(k,S.value||"");break;default:s(k,xe.UNEXPECTED_EMPTY_LINKED_KEY,T.lastStartLoc,0);const x=k.context(),F=o(7,x.offset,x.startLoc);return F.value="",r(F,x.offset,x.startLoc),P.key=F,r(P,x.offset,x.startLoc),{nextConsumeToken:S,node:P}}return r(P,k.currentOffset(),k.currentPosition()),{node:P}}function C(k){const T=k.context(),P=T.currentType===1?k.currentOffset():T.offset,S=T.currentType===1?T.endLoc:T.startLoc,x=o(2,P,S);x.items=[];let F=null;do{const J=F||k.nextToken();switch(F=null,J.type){case 0:J.value==null&&s(k,xe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Ft(J)),x.items.push(a(k,J.value||""));break;case 6:J.value==null&&s(k,xe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Ft(J)),x.items.push(i(k,J.value||""));break;case 5:J.value==null&&s(k,xe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Ft(J)),x.items.push(l(k,J.value||""));break;case 7:J.value==null&&s(k,xe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Ft(J)),x.items.push(c(k,J.value||""));break;case 8:const ae=p(k);x.items.push(ae.node),F=ae.nextConsumeToken||null;break}}while(T.currentType!==14&&T.currentType!==1);const Y=T.currentType===1?T.lastOffset:k.currentOffset(),Z=T.currentType===1?T.lastEndLoc:k.currentPosition();return r(x,Y,Z),x}function b(k,T,P,S){const x=k.context();let F=S.items.length===0;const Y=o(1,T,P);Y.cases=[],Y.cases.push(S);do{const Z=C(k);F||(F=Z.items.length===0),Y.cases.push(Z)}while(x.currentType!==14);return F&&s(k,xe.MUST_HAVE_MESSAGES_IN_PLURAL,P,0),r(Y,k.currentOffset(),k.currentPosition()),Y}function E(k){const T=k.context(),{offset:P,startLoc:S}=T,x=C(k);return T.currentType===14?x:b(k,P,S,x)}function L(k){const T=J2(k,rt({},e)),P=T.context(),S=o(0,P.offset,P.startLoc);return t&&S.loc&&(S.loc.source=k),S.body=E(T),P.currentType!==14&&s(T,xe.UNEXPECTED_LEXICAL_ANALYSIS,P.lastStartLoc,0,k[P.offset]||""),r(S,T.currentOffset(),T.currentPosition()),S}return{parse:L}}function Ft(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function sh(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Xi(e,t){for(let n=0;na;function l(E,L){a.code+=E}function c(E,L=!0){const k=L?o:"";l(r?k+" ".repeat(E):k)}function d(E=!0){const L=++a.indentLevel;E&&c(L)}function h(E=!0){const L=--a.indentLevel;E&&c(L)}function p(){c(a.indentLevel)}return{context:i,push:l,indent:d,deindent:h,newline:p,helper:E=>`_${E}`,needIndent:()=>a.needIndent}}function ah(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Jn(e,t.key),t.modifier?(e.push(", "),Jn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function ih(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const o=t.items.length;for(let r=0;r1){e.push(`${n("plural")}([`),e.indent(s());const o=t.cases.length;for(let r=0;r{const n=re(t.mode)?t.mode:"normal",s=re(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` -`,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],l=rh(e,{mode:n,filename:s,sourceMap:o,breakLineCode:r,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),i.length>0&&(l.push(`const { ${i.map(h=>`${h}: _${h}`).join(", ")} } = ctx`),l.newline()),l.push("return "),Jn(l,e),l.deindent(a),l.push("}");const{code:c,map:d}=l.context();return{ast:e,code:c,map:d?d.toJSON():void 0}};function dh(e,t={}){const n=rt({},t),o=nh(n).parse(e);return oh(o,n),uh(o,n)}/*! - * devtools-if v9.2.2 - * (c) 2022 kazuya kawaguchi - * Released under the MIT License. - */const K1={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*! - * core-base v9.2.2 - * (c) 2022 kazuya kawaguchi - * Released under the MIT License. - */const bn=[];bn[0]={w:[0],i:[3,0],"[":[4],o:[7]};bn[1]={w:[1],".":[2],"[":[4],o:[7]};bn[2]={w:[2],i:[3,0],0:[3,0]};bn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};bn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};bn[5]={"'":[4,0],o:8,l:[5,0]};bn[6]={'"':[4,0],o:8,l:[6,0]};const fh=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function hh(e){return fh.test(e)}function ph(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function mh(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function gh(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:hh(t)?ph(t):"*"+t}function vh(e){const t=[];let n=-1,s=0,o=0,r,a,i,l,c,d,h;const p=[];p[0]=()=>{a===void 0?a=i:a+=i},p[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},p[2]=()=>{p[0](),o++},p[3]=()=>{if(o>0)o--,s=4,p[0]();else{if(o=0,a===void 0||(a=gh(a),a===!1))return!1;p[1]()}};function C(){const b=e[n+1];if(s===5&&b==="'"||s===6&&b==='"')return n++,i="\\"+b,p[0](),!0}for(;s!==null;)if(n++,r=e[n],!(r==="\\"&&C())){if(l=mh(r),h=bn[s],c=h[l]||h.l||8,c===8||(s=c[0],c[1]!==void 0&&(d=p[c[1]],d&&(i=r,d()===!1))))return;if(s===7)return t}}const Ji=new Map;function _h(e,t){return je(e)?e[t]:null}function bh(e,t){if(!je(e))return null;let n=Ji.get(t);if(n||(n=vh(t),n&&Ji.set(t,n)),!n)return null;const s=n.length;let o=e,r=0;for(;re,kh=e=>"",wh="text",Ch=e=>e.length===0?"":e.join(""),Eh=z2;function Qi(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Sh(e){const t=tt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(tt(e.named.count)||tt(e.named.n))?tt(e.named.count)?e.named.count:tt(e.named.n)?e.named.n:t:t}function Mh(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Th(e={}){const t=e.locale,n=Sh(e),s=je(e.pluralRules)&&re(t)&&Ge(e.pluralRules[t])?e.pluralRules[t]:Qi,o=je(e.pluralRules)&&re(t)&&Ge(e.pluralRules[t])?Qi:void 0,r=k=>k[s(n,k.length,o)],a=e.list||[],i=k=>a[k],l=e.named||{};tt(e.pluralIndex)&&Mh(n,l);const c=k=>l[k];function d(k){const T=Ge(e.messages)?e.messages(k):je(e.messages)?e.messages[k]:!1;return T||(e.parent?e.parent.message(k):kh)}const h=k=>e.modifiers?e.modifiers[k]:yh,p=ge(e.processor)&&Ge(e.processor.normalize)?e.processor.normalize:Ch,C=ge(e.processor)&&Ge(e.processor.interpolate)?e.processor.interpolate:Eh,b=ge(e.processor)&&re(e.processor.type)?e.processor.type:wh,L={list:i,named:c,plural:r,linked:(k,...T)=>{const[P,S]=T;let x="text",F="";T.length===1?je(P)?(F=P.modifier||F,x=P.type||x):re(P)&&(F=P||F):T.length===2&&(re(P)&&(F=P||F),re(S)&&(x=S||x));let Y=d(k)(L);return x==="vnode"&&Fe(Y)&&F&&(Y=Y[0]),F?h(F)(Y,x):Y},message:d,type:b,interpolate:C,normalize:p};return L}let Fs=null;function Oh(e){Fs=e}function Ah(e,t,n){Fs&&Fs.emit(K1.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Lh=Ih(K1.FunctionTranslate);function Ih(e){return t=>Fs&&Fs.emit(e,t)}function xh(e,t,n){return[...new Set([n,...Fe(t)?t:je(t)?Object.keys(t):re(t)?[t]:[n]])]}function Y1(e,t,n){const s=re(n)?n:Us,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(s);if(!r){r=[];let a=[n];for(;Fe(a);)a=el(r,a,t);const i=Fe(t)||!ge(t)?t:t.default?t.default:null;a=re(i)?[i]:i,Fe(a)&&el(r,a,!1),o.__localeChainCache.set(s,r)}return r}function el(e,t,n){let s=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Nh(){return{upper:(e,t)=>t==="text"&&re(e)?e.toUpperCase():t==="vnode"&&je(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&re(e)?e.toLowerCase():t==="vnode"&&je(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&re(e)?nl(e):t==="vnode"&&je(e)&&"__v_isVNode"in e?nl(e.children):e}}let G1;function Dh(e){G1=e}let X1;function Fh(e){X1=e}let J1;function jh(e){J1=e}let Q1=null;const sl=e=>{Q1=e},Bh=()=>Q1;let eu=null;const ol=e=>{eu=e},Zh=()=>eu;let rl=0;function Hh(e={}){const t=re(e.version)?e.version:Rh,n=re(e.locale)?e.locale:Us,s=Fe(e.fallbackLocale)||ge(e.fallbackLocale)||re(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,o=ge(e.messages)?e.messages:{[n]:{}},r=ge(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},a=ge(e.numberFormats)?e.numberFormats:{[n]:{}},i=rt({},e.modifiers||{},Nh()),l=e.pluralRules||{},c=Ge(e.missing)?e.missing:null,d=Ee(e.missingWarn)||vn(e.missingWarn)?e.missingWarn:!0,h=Ee(e.fallbackWarn)||vn(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,C=!!e.unresolving,b=Ge(e.postTranslation)?e.postTranslation:null,E=ge(e.processor)?e.processor:null,L=Ee(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter,T=Ge(e.messageCompiler)?e.messageCompiler:G1,P=Ge(e.messageResolver)?e.messageResolver:X1||_h,S=Ge(e.localeFallbacker)?e.localeFallbacker:J1||xh,x=je(e.fallbackContext)?e.fallbackContext:void 0,F=Ge(e.onWarn)?e.onWarn:H2,Y=e,Z=je(Y.__datetimeFormatters)?Y.__datetimeFormatters:new Map,J=je(Y.__numberFormatters)?Y.__numberFormatters:new Map,ae=je(Y.__meta)?Y.__meta:{};rl++;const de={version:t,cid:rl,locale:n,fallbackLocale:s,messages:o,modifiers:i,pluralRules:l,missing:c,missingWarn:d,fallbackWarn:h,fallbackFormat:p,unresolving:C,postTranslation:b,processor:E,warnHtmlMessage:L,escapeParameter:k,messageCompiler:T,messageResolver:P,localeFallbacker:S,fallbackContext:x,onWarn:F,__meta:ae};return de.datetimeFormats=r,de.numberFormats=a,de.__datetimeFormatters=Z,de.__numberFormatters=J,__INTLIFY_PROD_DEVTOOLS__&&Ah(de,t,ae),de}function Na(e,t,n,s,o){const{missing:r,onWarn:a}=e;if(r!==null){const i=r(e,n,t,o);return re(i)?i:t}else return t}function ds(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const Uh=e=>e;let al=Object.create(null);function zh(e,t={}){{const s=(t.onCacheKey||Uh)(e),o=al[s];if(o)return o;let r=!1;const a=t.onError||V2;t.onError=c=>{r=!0,a(c)};const{code:i}=dh(e,t),l=new Function(`return ${i}`)();return r?l:al[s]=l}}let tu=xe.__EXTEND_POINT__;const dr=()=>++tu,Hn={INVALID_ARGUMENT:tu,INVALID_DATE_ARGUMENT:dr(),INVALID_ISO_DATE_ARGUMENT:dr(),__EXTEND_POINT__:dr()};function Un(e){return Ho(e,null,void 0)}const il=()=>"",Zt=e=>Ge(e);function ll(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:r,fallbackLocale:a,messages:i}=e,[l,c]=Wr(...t),d=Ee(c.missingWarn)?c.missingWarn:e.missingWarn,h=Ee(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=Ee(c.escapeParameter)?c.escapeParameter:e.escapeParameter,C=!!c.resolvedMessage,b=re(c.default)||Ee(c.default)?Ee(c.default)?r?l:()=>l:c.default:n?r?l:()=>l:"",E=n||b!=="",L=re(c.locale)?c.locale:e.locale;p&&Vh(c);let[k,T,P]=C?[l,L,i[L]||{}]:nu(e,l,L,a,h,d),S=k,x=l;if(!C&&!(re(S)||Zt(S))&&E&&(S=b,x=S),!C&&(!(re(S)||Zt(S))||!re(T)))return o?Uo:l;let F=!1;const Y=()=>{F=!0},Z=Zt(S)?S:su(e,l,T,S,x,Y);if(F)return S;const J=Kh(e,T,P,c),ae=Th(J),de=Wh(e,Z,ae),ne=s?s(de,l):de;if(__INTLIFY_PROD_DEVTOOLS__){const m={timestamp:Date.now(),key:re(l)?l:Zt(S)?S.key:"",locale:T||(Zt(S)?S.locale:""),format:re(S)?S:Zt(S)?S.source:"",message:ne};m.meta=rt({},e.__meta,Bh()||{}),Lh(m)}return ne}function Vh(e){Fe(e.list)?e.list=e.list.map(t=>re(t)?Yi(t):t):je(e.named)&&Object.keys(e.named).forEach(t=>{re(e.named[t])&&(e.named[t]=Yi(e.named[t]))})}function nu(e,t,n,s,o,r){const{messages:a,onWarn:i,messageResolver:l,localeFallbacker:c}=e,d=c(e,s,n);let h={},p,C=null;const b="translate";for(let E=0;Es;return c.locale=n,c.key=t,c}const l=a(s,qh(e,n,o,s,i,r));return l.locale=n,l.key=t,l.source=s,l}function Wh(e,t,n){return t(n)}function Wr(...e){const[t,n,s]=e,o={};if(!re(t)&&!tt(t)&&!Zt(t))throw Un(Hn.INVALID_ARGUMENT);const r=tt(t)?String(t):(Zt(t),t);return tt(n)?o.plural=n:re(n)?o.default=n:ge(n)&&!Zo(n)?o.named=n:Fe(n)&&(o.list=n),tt(s)?o.plural=s:re(s)?o.default=s:ge(s)&&rt(o,s),[r,o]}function qh(e,t,n,s,o,r){return{warnHtmlMessage:o,onError:a=>{throw r&&r(a),a},onCacheKey:a=>j2(t,n,a)}}function Kh(e,t,n,s){const{modifiers:o,pluralRules:r,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,p={locale:t,modifiers:o,pluralRules:r,messages:C=>{let b=a(n,C);if(b==null&&d){const[,,E]=nu(d,C,t,i,l,c);b=a(E,C)}if(re(b)){let E=!1;const k=su(e,C,t,b,C,()=>{E=!0});return E?il:k}else return Zt(b)?b:il}};return e.processor&&(p.processor=e.processor),s.list&&(p.list=s.list),s.named&&(p.named=s.named),tt(s.plural)&&(p.pluralIndex=s.plural),p}function cl(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[l,c,d,h]=qr(...t),p=Ee(d.missingWarn)?d.missingWarn:e.missingWarn;Ee(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const C=!!d.part,b=re(d.locale)?d.locale:e.locale,E=a(e,o,b);if(!re(l)||l==="")return new Intl.DateTimeFormat(b,h).format(c);let L={},k,T=null;const P="datetime format";for(let F=0;F{ou.includes(l)?a[l]=n[l]:r[l]=n[l]}),re(s)?r.locale=s:ge(s)&&(a=s),ge(o)&&(a=o),[r.key||"",i,r,a]}function ul(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function dl(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:a}=e,{__numberFormatters:i}=e,[l,c,d,h]=Kr(...t),p=Ee(d.missingWarn)?d.missingWarn:e.missingWarn;Ee(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const C=!!d.part,b=re(d.locale)?d.locale:e.locale,E=a(e,o,b);if(!re(l)||l==="")return new Intl.NumberFormat(b,h).format(c);let L={},k,T=null;const P="number format";for(let F=0;F{ru.includes(l)?a[l]=n[l]:r[l]=n[l]}),re(s)?r.locale=s:ge(s)&&(a=s),ge(o)&&(a=o),[r.key||"",i,r,a]}function fl(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ws().__INTLIFY_PROD_DEVTOOLS__=!1);/*! - * vue-i18n v9.2.2 - * (c) 2022 kazuya kawaguchi - * Released under the MIT License. - */const Yh="9.2.2";function Gh(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ws().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ws().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ws().__INTLIFY_PROD_DEVTOOLS__=!1)}let au=xe.__EXTEND_POINT__;const mt=()=>++au,Xe={UNEXPECTED_RETURN_TYPE:au,INVALID_ARGUMENT:mt(),MUST_BE_CALL_SETUP_TOP:mt(),NOT_INSLALLED:mt(),NOT_AVAILABLE_IN_LEGACY_MODE:mt(),REQUIRED_VALUE:mt(),INVALID_VALUE:mt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:mt(),NOT_INSLALLED_WITH_PROVIDE:mt(),UNEXPECTED_ERROR:mt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:mt(),BRIDGE_SUPPORT_VUE_2_ONLY:mt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:mt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:mt(),__EXTEND_POINT__:mt()};function nt(e,...t){return Ho(e,null,void 0)}const Yr=_n("__transrateVNode"),Gr=_n("__datetimeParts"),Xr=_n("__numberParts"),iu=_n("__setPluralRules");_n("__intlifyMeta");const lu=_n("__injectWithOption");function Jr(e){if(!je(e))return e;for(const t in e)if($a(e,t))if(!t.includes("."))je(e[t])&&Jr(e[t]);else{const n=t.split("."),s=n.length-1;let o=e;for(let r=0;r{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||{},Cs(c,a[l])):Cs(c,a)}else re(i)&&Cs(JSON.parse(i),a)}),o==null&&r)for(const i in a)$a(a,i)&&Jr(a[i]);return a}const to=e=>!je(e)||Fe(e);function Cs(e,t){if(to(e)||to(t))throw nt(Xe.INVALID_VALUE);for(const n in e)$a(e,n)&&(to(e[n])||to(t[n])?t[n]=e[n]:Cs(e[n],t[n]))}function cu(e){return e.type}function uu(e,t,n){let s=je(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=zo(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const o=Object.keys(s);o.length&&o.forEach(r=>{e.mergeLocaleMessage(r,s[r])});{if(je(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(je(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function hl(e){return R(Hs,null,e,0)}const pl="__INTLIFY_META__";let ml=0;function gl(e){return(t,n,s,o)=>e(n,s,Gn()||void 0,o)}const Xh=()=>{const e=Gn();let t=null;return e&&(t=cu(e)[pl])?{[pl]:t}:null};function Da(e={},t){const{__root:n}=e,s=n===void 0;let o=Ee(e.inheritLocale)?e.inheritLocale:!0;const r=ce(n&&o?n.locale.value:re(e.locale)?e.locale:Us),a=ce(n&&o?n.fallbackLocale.value:re(e.fallbackLocale)||Fe(e.fallbackLocale)||ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r.value),i=ce(zo(r.value,e)),l=ce(ge(e.datetimeFormats)?e.datetimeFormats:{[r.value]:{}}),c=ce(ge(e.numberFormats)?e.numberFormats:{[r.value]:{}});let d=n?n.missingWarn:Ee(e.missingWarn)||vn(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:Ee(e.fallbackWarn)||vn(e.fallbackWarn)?e.fallbackWarn:!0,p=n?n.fallbackRoot:Ee(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,b=Ge(e.missing)?e.missing:null,E=Ge(e.missing)?gl(e.missing):null,L=Ge(e.postTranslation)?e.postTranslation:null,k=n?n.warnHtmlMessage:Ee(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const P=n?n.modifiers:ge(e.modifiers)?e.modifiers:{};let S=e.pluralRules||n&&n.pluralRules,x;x=(()=>{s&&ol(null);const A={version:Yh,locale:r.value,fallbackLocale:a.value,messages:i.value,modifiers:P,pluralRules:S,missing:E===null?void 0:E,missingWarn:d,fallbackWarn:h,fallbackFormat:C,unresolving:!0,postTranslation:L===null?void 0:L,warnHtmlMessage:k,escapeParameter:T,messageResolver:e.messageResolver,__meta:{framework:"vue"}};A.datetimeFormats=l.value,A.numberFormats=c.value,A.__datetimeFormatters=ge(x)?x.__datetimeFormatters:void 0,A.__numberFormatters=ge(x)?x.__numberFormatters:void 0;const D=Hh(A);return s&&ol(D),D})(),ds(x,r.value,a.value);function Y(){return[r.value,a.value,i.value,l.value,c.value]}const Z=j({get:()=>r.value,set:A=>{r.value=A,x.locale=r.value}}),J=j({get:()=>a.value,set:A=>{a.value=A,x.fallbackLocale=a.value,ds(x,r.value,A)}}),ae=j(()=>i.value),de=j(()=>l.value),ne=j(()=>c.value);function m(){return Ge(L)?L:null}function N(A){L=A,x.postTranslation=A}function B(){return b}function X(A){A!==null&&(E=gl(A)),b=A,x.missing=E}const G=(A,D,le,ue,_e,Oe)=>{Y();let ke;if(__INTLIFY_PROD_DEVTOOLS__)try{sl(Xh()),s||(x.fallbackContext=n?Zh():void 0),ke=A(x)}finally{sl(null),s||(x.fallbackContext=void 0)}else ke=A(x);if(tt(ke)&&ke===Uo){const[Pe,wt]=D();return n&&p?ue(n):_e(Pe)}else{if(Oe(ke))return ke;throw nt(Xe.UNEXPECTED_RETURN_TYPE)}};function te(...A){return G(D=>Reflect.apply(ll,null,[D,...A]),()=>Wr(...A),"translate",D=>Reflect.apply(D.t,D,[...A]),D=>D,D=>re(D))}function he(...A){const[D,le,ue]=A;if(ue&&!je(ue))throw nt(Xe.INVALID_ARGUMENT);return te(D,le,rt({resolvedMessage:!0},ue||{}))}function ve(...A){return G(D=>Reflect.apply(cl,null,[D,...A]),()=>qr(...A),"datetime format",D=>Reflect.apply(D.d,D,[...A]),()=>tl,D=>re(D))}function $e(...A){return G(D=>Reflect.apply(dl,null,[D,...A]),()=>Kr(...A),"number format",D=>Reflect.apply(D.n,D,[...A]),()=>tl,D=>re(D))}function Te(A){return A.map(D=>re(D)||tt(D)||Ee(D)?hl(String(D)):D)}const Ye={normalize:Te,interpolate:A=>A,type:"vnode"};function pt(...A){return G(D=>{let le;const ue=D;try{ue.processor=Ye,le=Reflect.apply(ll,null,[ue,...A])}finally{ue.processor=null}return le},()=>Wr(...A),"translate",D=>D[Yr](...A),D=>[hl(D)],D=>Fe(D))}function Ne(...A){return G(D=>Reflect.apply(dl,null,[D,...A]),()=>Kr(...A),"number format",D=>D[Xr](...A),()=>[],D=>re(D)||Fe(D))}function V(...A){return G(D=>Reflect.apply(cl,null,[D,...A]),()=>qr(...A),"datetime format",D=>D[Gr](...A),()=>[],D=>re(D)||Fe(D))}function se(A){S=A,x.pluralRules=S}function ee(A,D){const le=re(D)?D:r.value,ue=y(le);return x.messageResolver(ue,A)!==null}function W(A){let D=null;const le=Y1(x,a.value,r.value);for(let ue=0;ue{o&&(r.value=A,x.locale=A,ds(x,r.value,a.value))}),ze(n.fallbackLocale,A=>{o&&(a.value=A,x.fallbackLocale=A,ds(x,r.value,a.value))}));const z={id:ml,locale:Z,fallbackLocale:J,get inheritLocale(){return o},set inheritLocale(A){o=A,A&&n&&(r.value=n.locale.value,a.value=n.fallbackLocale.value,ds(x,r.value,a.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:ae,get modifiers(){return P},get pluralRules(){return S||{}},get isGlobal(){return s},get missingWarn(){return d},set missingWarn(A){d=A,x.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(A){h=A,x.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot(A){p=A},get fallbackFormat(){return C},set fallbackFormat(A){C=A,x.fallbackFormat=C},get warnHtmlMessage(){return k},set warnHtmlMessage(A){k=A,x.warnHtmlMessage=A},get escapeParameter(){return T},set escapeParameter(A){T=A,x.escapeParameter=A},t:te,getLocaleMessage:y,setLocaleMessage:f,mergeLocaleMessage:u,getPostTranslationHandler:m,setPostTranslationHandler:N,getMissingHandler:B,setMissingHandler:X,[iu]:se};return z.datetimeFormats=de,z.numberFormats=ne,z.rt=he,z.te=ee,z.tm=oe,z.d=ve,z.n=$e,z.getDateTimeFormat=g,z.setDateTimeFormat=M,z.mergeDateTimeFormat=I,z.getNumberFormat=H,z.setNumberFormat=U,z.mergeNumberFormat=Q,z[lu]=e.__injectWithOption,z[Yr]=pt,z[Gr]=V,z[Xr]=Ne,z}function Jh(e){const t=re(e.locale)?e.locale:Us,n=re(e.fallbackLocale)||Fe(e.fallbackLocale)||ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,s=Ge(e.missing)?e.missing:void 0,o=Ee(e.silentTranslationWarn)||vn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Ee(e.silentFallbackWarn)||vn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=Ee(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=ge(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=Ge(e.postTranslation)?e.postTranslation:void 0,h=re(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,p=!!e.escapeParameterHtml,C=Ee(e.sync)?e.sync:!0;let b=e.messages;if(ge(e.sharedMessages)){const x=e.sharedMessages;b=Object.keys(x).reduce((Y,Z)=>{const J=Y[Z]||(Y[Z]={});return rt(J,x[Z]),Y},b||{})}const{__i18n:E,__root:L,__injectWithOption:k}=e,T=e.datetimeFormats,P=e.numberFormats,S=e.flatJson;return{locale:t,fallbackLocale:n,messages:b,flatJson:S,datetimeFormats:T,numberFormats:P,missing:s,missingWarn:o,fallbackWarn:r,fallbackRoot:a,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:h,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:C,__i18n:E,__root:L,__injectWithOption:k}}function Qr(e={},t){{const n=Da(Jh(e)),s={id:n.id,get locale(){return n.locale.value},set locale(o){n.locale.value=o},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(o){n.fallbackLocale.value=o},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(o){},get missing(){return n.getMissingHandler()},set missing(o){n.setMissingHandler(o)},get silentTranslationWarn(){return Ee(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(o){n.missingWarn=Ee(o)?!o:o},get silentFallbackWarn(){return Ee(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(o){n.fallbackWarn=Ee(o)?!o:o},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(o){n.fallbackFormat=o},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(o){n.setPostTranslationHandler(o)},get sync(){return n.inheritLocale},set sync(o){n.inheritLocale=o},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){n.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(o){n.escapeParameter=o},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(o){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...o){const[r,a,i]=o,l={};let c=null,d=null;if(!re(r))throw nt(Xe.INVALID_ARGUMENT);const h=r;return re(a)?l.locale=a:Fe(a)?c=a:ge(a)&&(d=a),Fe(i)?c=i:ge(i)&&(d=i),Reflect.apply(n.t,n,[h,c||d||{},l])},rt(...o){return Reflect.apply(n.rt,n,[...o])},tc(...o){const[r,a,i]=o,l={plural:1};let c=null,d=null;if(!re(r))throw nt(Xe.INVALID_ARGUMENT);const h=r;return re(a)?l.locale=a:tt(a)?l.plural=a:Fe(a)?c=a:ge(a)&&(d=a),re(i)?l.locale=i:Fe(i)?c=i:ge(i)&&(d=i),Reflect.apply(n.t,n,[h,c||d||{},l])},te(o,r){return n.te(o,r)},tm(o){return n.tm(o)},getLocaleMessage(o){return n.getLocaleMessage(o)},setLocaleMessage(o,r){n.setLocaleMessage(o,r)},mergeLocaleMessage(o,r){n.mergeLocaleMessage(o,r)},d(...o){return Reflect.apply(n.d,n,[...o])},getDateTimeFormat(o){return n.getDateTimeFormat(o)},setDateTimeFormat(o,r){n.setDateTimeFormat(o,r)},mergeDateTimeFormat(o,r){n.mergeDateTimeFormat(o,r)},n(...o){return Reflect.apply(n.n,n,[...o])},getNumberFormat(o){return n.getNumberFormat(o)},setNumberFormat(o,r){n.setNumberFormat(o,r)},mergeNumberFormat(o,r){n.mergeNumberFormat(o,r)},getChoiceIndex(o,r){return-1},__onComponentInstanceCreated(o){const{componentInstanceCreatedListener:r}=e;r&&r(o,s)}};return s}}const Fa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Qh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,o)=>s=[...s,...Fe(o.children)?o.children:[o]],[]):t.reduce((n,s)=>{const o=e[s];return o&&(n[s]=o()),n},{})}function du(e){return me}const vl={name:"i18n-t",props:rt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>tt(e)||!isNaN(e)}},Fa),setup(e,t){const{slots:n,attrs:s}=t,o=e.i18n||st({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(h=>h!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=re(e.plural)?+e.plural:e.plural);const i=Qh(t,r),l=o[Yr](e.keypath,i,a),c=rt({},s),d=re(e.tag)||je(e.tag)?e.tag:du();return Kt(d,c,l)}}};function e3(e){return Fe(e)&&!re(e[0])}function fu(e,t,n,s){const{slots:o,attrs:r}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),re(e.format)?a.key=e.format:je(e.format)&&(re(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((p,C)=>n.includes(C)?rt({},p,{[C]:e.format[C]}):p,{}));const l=s(e.value,a,i);let c=[a.key];Fe(l)?c=l.map((p,C)=>{const b=o[p.type],E=b?b({[p.type]:p.value,index:C,parts:l}):[p.value];return e3(E)&&(E[0].key=`${p.type}-${C}`),E}):re(l)&&(c=[l]);const d=rt({},r),h=re(e.tag)||je(e.tag)?e.tag:du();return Kt(h,d,c)}}const _l={name:"i18n-n",props:rt({value:{type:Number,required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const n=e.i18n||st({useScope:"parent",__useComponent:!0});return fu(e,t,ru,(...s)=>n[Xr](...s))}},bl={name:"i18n-d",props:rt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const n=e.i18n||st({useScope:"parent",__useComponent:!0});return fu(e,t,ou,(...s)=>n[Gr](...s))}};function t3(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function n3(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw nt(Xe.UNEXPECTED_ERROR);const d=t3(e,i.$),h=yl(c);return[Reflect.apply(d.t,d,[...kl(h)]),d]};return{created:(a,i)=>{const[l,c]=t(i);zr&&e.global===c&&(a.__i18nWatcher=ze(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{zr&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,c=yl(i);a.textContent=Reflect.apply(l.t,l,[...kl(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function yl(e){if(re(e))return{path:e};if(ge(e)){if(!("path"in e))throw nt(Xe.REQUIRED_VALUE,"path");return e}else throw nt(Xe.INVALID_VALUE)}function kl(e){const{path:t,locale:n,args:s,choice:o,plural:r}=e,a={},i=s||{};return re(n)&&(a.locale=n),tt(o)&&(a.plural=o),tt(r)&&(a.plural=r),[t,i,a]}function s3(e,t,...n){const s=ge(n[0])?n[0]:{},o=!!s.useI18nComponentName;(Ee(s.globalInstall)?s.globalInstall:!0)&&(e.component(o?"i18n":vl.name,vl),e.component(_l.name,_l),e.component(bl.name,bl)),e.directive("t",n3(t))}function o3(e,t,n){return{beforeCreate(){const s=Gn();if(!s)throw nt(Xe.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const r=o.i18n;o.__i18n&&(r.__i18n=o.__i18n),r.__root=t,this===this.$root?this.$i18n=wl(e,r):(r.__injectWithOption=!0,this.$i18n=Qr(r))}else o.__i18n?this===this.$root?this.$i18n=wl(e,o):this.$i18n=Qr({__i18n:o.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;o.__i18nGlobal&&uu(t,o,o),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(s,this.$i18n),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,a)=>this.$i18n.te(r,a),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r)},mounted(){},unmounted(){const s=Gn();if(!s)throw nt(Xe.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(s),delete this.$i18n}}}function wl(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[iu](t.pluralizationRules||e.pluralizationRules);const n=zo(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(s=>e.mergeLocaleMessage(s,n[s])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(s=>e.mergeDateTimeFormat(s,t.datetimeFormats[s])),t.numberFormats&&Object.keys(t.numberFormats).forEach(s=>e.mergeNumberFormat(s,t.numberFormats[s])),e}const r3=_n("global-vue-i18n");function a3(e={},t){const n=__VUE_I18N_LEGACY_API__&&Ee(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,s=Ee(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[a,i]=i3(e,n),l=_n("");function c(p){return r.get(p)||null}function d(p,C){r.set(p,C)}function h(p){r.delete(p)}{const p={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return o},async install(C,...b){C.__VUE_I18N_SYMBOL__=l,C.provide(C.__VUE_I18N_SYMBOL__,p),!n&&s&&g3(C,p.global),__VUE_I18N_FULL_INSTALL__&&s3(C,p,...b),__VUE_I18N_LEGACY_API__&&n&&C.mixin(o3(i,i.__composer,p));const E=C.unmount;C.unmount=()=>{p.dispose(),E()}},get global(){return i},dispose(){a.stop()},__instances:r,__getInstance:c,__setInstance:d,__deleteInstance:h};return p}}function st(e={}){const t=Gn();if(t==null)throw nt(Xe.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw nt(Xe.NOT_INSLALLED);const n=l3(t),s=u3(n),o=cu(t),r=c3(e,o);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw nt(Xe.NOT_AVAILABLE_IN_LEGACY_MODE);return h3(t,r,s,e)}if(r==="global")return uu(s,e,o),s;if(r==="parent"){let l=d3(n,t,e.__useComponent);return l==null&&(l=s),l}const a=n;let i=a.__getInstance(t);if(i==null){const l=rt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),s&&(l.__root=s),i=Da(l),f3(a,t),a.__setInstance(t,i)}return i}function i3(e,t,n){const s=ha();{const o=__VUE_I18N_LEGACY_API__&&t?s.run(()=>Qr(e)):s.run(()=>Da(e));if(o==null)throw nt(Xe.UNEXPECTED_ERROR);return[s,o]}}function l3(e){{const t=it(e.isCE?r3:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw nt(e.isCE?Xe.NOT_INSLALLED_WITH_PROVIDE:Xe.UNEXPECTED_ERROR);return t}}function c3(e,t){return Zo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function u3(e){return e.mode==="composition"?e.global:e.global.__composer}function d3(e,t,n=!1){let s=null;const o=t.root;let r=t.parent;for(;r!=null;){const a=e;if(e.mode==="composition")s=a.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=a.__getInstance(r);i!=null&&(s=i.__composer,n&&s&&!s[lu]&&(s=null))}if(s!=null||o===r)break;r=r.parent}return s}function f3(e,t,n){dt(()=>{},t),os(()=>{e.__deleteInstance(t)},t)}function h3(e,t,n,s={}){const o=t==="local",r=t1(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw nt(Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=Ee(s.inheritLocale)?s.inheritLocale:!0,i=ce(o&&a?n.locale.value:re(s.locale)?s.locale:Us),l=ce(o&&a?n.fallbackLocale.value:re(s.fallbackLocale)||Fe(s.fallbackLocale)||ge(s.fallbackLocale)||s.fallbackLocale===!1?s.fallbackLocale:i.value),c=ce(zo(i.value,s)),d=ce(ge(s.datetimeFormats)?s.datetimeFormats:{[i.value]:{}}),h=ce(ge(s.numberFormats)?s.numberFormats:{[i.value]:{}}),p=o?n.missingWarn:Ee(s.missingWarn)||vn(s.missingWarn)?s.missingWarn:!0,C=o?n.fallbackWarn:Ee(s.fallbackWarn)||vn(s.fallbackWarn)?s.fallbackWarn:!0,b=o?n.fallbackRoot:Ee(s.fallbackRoot)?s.fallbackRoot:!0,E=!!s.fallbackFormat,L=Ge(s.missing)?s.missing:null,k=Ge(s.postTranslation)?s.postTranslation:null,T=o?n.warnHtmlMessage:Ee(s.warnHtmlMessage)?s.warnHtmlMessage:!0,P=!!s.escapeParameter,S=o?n.modifiers:ge(s.modifiers)?s.modifiers:{},x=s.pluralRules||o&&n.pluralRules;function F(){return[i.value,l.value,c.value,d.value,h.value]}const Y=j({get:()=>r.value?r.value.locale.value:i.value,set:u=>{r.value&&(r.value.locale.value=u),i.value=u}}),Z=j({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:u=>{r.value&&(r.value.fallbackLocale.value=u),l.value=u}}),J=j(()=>r.value?r.value.messages.value:c.value),ae=j(()=>d.value),de=j(()=>h.value);function ne(){return r.value?r.value.getPostTranslationHandler():k}function m(u){r.value&&r.value.setPostTranslationHandler(u)}function N(){return r.value?r.value.getMissingHandler():L}function B(u){r.value&&r.value.setMissingHandler(u)}function X(u){return F(),u()}function G(...u){return r.value?X(()=>Reflect.apply(r.value.t,null,[...u])):X(()=>"")}function te(...u){return r.value?Reflect.apply(r.value.rt,null,[...u]):""}function he(...u){return r.value?X(()=>Reflect.apply(r.value.d,null,[...u])):X(()=>"")}function ve(...u){return r.value?X(()=>Reflect.apply(r.value.n,null,[...u])):X(()=>"")}function $e(u){return r.value?r.value.tm(u):{}}function Te(u,g){return r.value?r.value.te(u,g):!1}function Ke(u){return r.value?r.value.getLocaleMessage(u):{}}function Ye(u,g){r.value&&(r.value.setLocaleMessage(u,g),c.value[u]=g)}function pt(u,g){r.value&&r.value.mergeLocaleMessage(u,g)}function Ne(u){return r.value?r.value.getDateTimeFormat(u):{}}function V(u,g){r.value&&(r.value.setDateTimeFormat(u,g),d.value[u]=g)}function se(u,g){r.value&&r.value.mergeDateTimeFormat(u,g)}function ee(u){return r.value?r.value.getNumberFormat(u):{}}function W(u,g){r.value&&(r.value.setNumberFormat(u,g),h.value[u]=g)}function oe(u,g){r.value&&r.value.mergeNumberFormat(u,g)}const y={get id(){return r.value?r.value.id:-1},locale:Y,fallbackLocale:Z,messages:J,datetimeFormats:ae,numberFormats:de,get inheritLocale(){return r.value?r.value.inheritLocale:a},set inheritLocale(u){r.value&&(r.value.inheritLocale=u)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:S},get pluralRules(){return r.value?r.value.pluralRules:x},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:p},set missingWarn(u){r.value&&(r.value.missingWarn=u)},get fallbackWarn(){return r.value?r.value.fallbackWarn:C},set fallbackWarn(u){r.value&&(r.value.missingWarn=u)},get fallbackRoot(){return r.value?r.value.fallbackRoot:b},set fallbackRoot(u){r.value&&(r.value.fallbackRoot=u)},get fallbackFormat(){return r.value?r.value.fallbackFormat:E},set fallbackFormat(u){r.value&&(r.value.fallbackFormat=u)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:T},set warnHtmlMessage(u){r.value&&(r.value.warnHtmlMessage=u)},get escapeParameter(){return r.value?r.value.escapeParameter:P},set escapeParameter(u){r.value&&(r.value.escapeParameter=u)},t:G,getPostTranslationHandler:ne,setPostTranslationHandler:m,getMissingHandler:N,setMissingHandler:B,rt:te,d:he,n:ve,tm:$e,te:Te,getLocaleMessage:Ke,setLocaleMessage:Ye,mergeLocaleMessage:pt,getDateTimeFormat:Ne,setDateTimeFormat:V,mergeDateTimeFormat:se,getNumberFormat:ee,setNumberFormat:W,mergeNumberFormat:oe};function f(u){u.locale.value=i.value,u.fallbackLocale.value=l.value,Object.keys(c.value).forEach(g=>{u.mergeLocaleMessage(g,c.value[g])}),Object.keys(d.value).forEach(g=>{u.mergeDateTimeFormat(g,d.value[g])}),Object.keys(h.value).forEach(g=>{u.mergeNumberFormat(g,h.value[g])}),u.escapeParameter=P,u.fallbackFormat=E,u.fallbackRoot=b,u.fallbackWarn=C,u.missingWarn=p,u.warnHtmlMessage=T}return No(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw nt(Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=u.locale.value,l.value=u.fallbackLocale.value,c.value=u.messages.value,d.value=u.datetimeFormats.value,h.value=u.numberFormats.value):o&&f(u)}),y}const p3=["locale","fallbackLocale","availableLocales"],m3=["t","rt","d","n","tm"];function g3(e,t){const n=Object.create(null);p3.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw nt(Xe.UNEXPECTED_ERROR);const r=We(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,r)}),e.config.globalProperties.$i18n=n,m3.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw nt(Xe.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)})}Dh(zh);Fh(bh);jh(Y1);Gh();if(__INTLIFY_PROD_DEVTOOLS__){const e=ws();e.__INTLIFY__=!0,Oh(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function v3(){const e=Object.assign({"./languages/en.json":$2,"./languages/zh-CN.json":R2,"./languages/zh-TW.json":D2}),t={};return Object.keys(e).forEach(n=>{const s=n.match(/([A-Za-z0-9-_]+)\./i);if(s&&s.length>1){const o=s[1];t[o]=e[n]}}),t}const In=a3({legacy:!1,locale:{}.VITE_APP_I18N_LOCALE||"en",fallbackLocale:{}.VITE_APP_I18N_FALLBACK_LOCALE||"en",messages:v3(),globalInjection:!0});class Cl{constructor(t){w(this,"menu",new El);w(this,"avatar",new Sl);w(this,"theme",new Ml);w(this,"site",new Ol);w(this,"socials",new _o);w(this,"site_meta",new Al);w(this,"plugins",new Ll);w(this,"footerLinks",new Il);w(this,"version","");const n=t&&t.theme_config;n&&(this.menu=new El(n.menu),this.avatar=new Sl(n.avatar),this.theme=new Ml(n.theme),this.site=new Ol(n.site),this.socials=new _o(n.socials),this.plugins=new Ll(n),this.site_meta=new Al(n.site_meta),this.footerLinks=new Il(n.footer_links),this.version=n.version)}}class El{constructor(t){w(this,"menus",{Home:new Es({name:"Home",path:"/",i18n:{"zh-CN":"首页","zh-TW":"首頁",en:"Home"}})});const n={About:{name:"About",path:"/about",i18n:{"zh-CN":"关于","zh-TW":"關於",en:"About"}},Archives:{name:"Archives",path:"/archives",i18n:{"zh-CN":"归档","zh-TW":"歸檔",en:"Archives"}},Tags:{name:"Tags",path:"/tags",i18n:{"zh-CN":"标签","zh-TW":"標簽",en:"Tags"}},Links:{name:"Links",path:"/links",i18n:{"zh-CN":"友情链接","zh-TW":"友情鏈接",en:"Friend Links"}}},s=Object.keys(n);if(t){for(const o of s){const r=typeof t[o];(r==="boolean"||r==="object")&&t[o]&&Object.assign(this.menus,{[o]:new Es(n[o])})}for(const o of Object.keys(t))s.indexOf(o)>0&&t[o].i18n&&Object.assign(this.menus[o].i18n,{...t[o].i18n}),s.indexOf(o)<0&&t[o].name&&Object.assign(this.menus,{[o]:new Es(t[o])})}}}class Es{constructor(t){w(this,"name","");w(this,"path","");w(this,"i18n",{});w(this,"children",[]);this.name=t.name,this.path=t.path?t.path:null,this.i18n=t.i18n?t.i18n:{},this.children=t.children?Object.keys(t.children).map(n=>new Es(t.children[n])):[]}}class Sl{constructor(t){w(this,"source_path","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class Ml{constructor(t){w(this,"dark_mode","auto");w(this,"profile_shape","diamond");w(this,"feature",!0);w(this,"gradient",{color_1:"#24c6dc",color_2:"#5433ff",color_3:"#ff0099"});w(this,"header_gradient_css","linear-gradient(130deg, #24c6dc, #5433ff 41.07%, #ff0099 76.05%)");w(this,"background_gradient_style",{background:"linear-gradient(130deg, #24c6dc, #5433ff 41.07%, #ff0099 76.05%)","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent","-webkit-box-decoration-break":"clone","box-decoration-break":"clone"});if(t){for(const n of Object.keys(this))if(Object.prototype.hasOwnProperty.call(t,n)){if(n==="profile_shape"){const s=["circle","diamond","rounded"],o=["circle-avatar","diamond-avatar","rounded-avatar"],r=s.indexOf(t[n]);r<0?t[n]=o[1]:t[n]=o[r]}if(Object.assign(this,{[n]:t[n]}),n==="gradient"){const s=`linear-gradient(130deg, ${this.gradient.color_1}, ${this.gradient.color_2} 41.07%, ${this.gradient.color_3} 76.05%)`;Object.assign(this,{header_gradient_css:s}),Object.assign(this,{background_gradient_style:{background:s,"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent","-webkit-box-decoration-break":"clone","box-decoration-break":"clone"}})}}}}}let _o=class{constructor(t){w(this,"github","");w(this,"twitter","");w(this,"stackoverflow","");w(this,"wechat","");w(this,"qq","");w(this,"weibo","");w(this,"csdn","");w(this,"juejin","");w(this,"zhihu","");w(this,"customs",new Tl);if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&(n==="customs"?Object.assign(this.customs,new Tl(t[n])):Object.assign(this,{[n]:t[n]}))}};class _3{constructor(t){w(this,"icon",{iconfont:"",img_link:""});w(this,"link","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&(n==="icon"?String(t[n]).match(/([a-zA-Z0-9\s_\\.\-():])+(.svg|.png|.jpg)$/g)?Object.assign(this.icon,{img_link:t[n]}):Object.assign(this.icon,{iconfont:t[n]}):Object.assign(this,{[n]:t[n]}))}}class Tl{constructor(t){w(this,"socials",[]);t&&Object.assign(this.socials,Object.keys(t).map(n=>new _3(t[n])))}}let Ol=class{constructor(t){w(this,"subtitle","");w(this,"slogan","");w(this,"author","");w(this,"nick","");w(this,"description","");w(this,"language","en");w(this,"multi_language",!0);w(this,"logo","");w(this,"avatar","");w(this,"beian",{number:"",link:""});w(this,"police_beian",{number:"",link:""});w(this,"started_date","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}};class Al{constructor(t){w(this,"cdn",{locale:"en",prismjs:[]});w(this,"favicon","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class Ll{constructor(t){w(this,"gitalk",{enable:!1,autoExpand:!0,clientID:"",clientSecret:"",repo:"blog-comments",owner:"TriDiamond",admin:["TriDiamond"],id:"location.pathname",language:"en",distractionFreeMode:!1,recentComment:!1,proxy:""});w(this,"valine",{enable:!1,app_id:"",app_key:"",avatar:"mp",placeholder:"Leave your thoughts behind~",visitor:!0,lang:"",meta:[],requiredFields:[],avatarForce:!1,admin:"",recentComment:!1});w(this,"twikoo",{enable:!1,envId:"",region:void 0,recentComment:!1,lang:""});w(this,"waline",{enable:!1,recentComment:!1,serverURL:"",reaction:!1,login:"disable",meta:[],requiredMeta:[],imageUploader:!1,wordLimit:0,pageSize:10,commentSorting:"latest"});w(this,"recent_comments",!1);w(this,"busuanzi",{enable:!0});w(this,"copy_protection",{enable:!0,author:{cn:"",en:""},link:{cn:"",en:""},license:{cn:"",en:""}});w(this,"aurora_bot",{enable:!1,locale:"en",bot_type:"dia",tips:{}});if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class Il{constructor(t){w(this,"data",[]);t&&Object.assign(this.data,t)}}class xl{constructor(t){w(this,"site",new $l);w(this,"url",new Pl);w(this,"directory",new Rl);w(this,"writing",new Nl);w(this,"categoriesAndTags",new Dl);w(this,"dateTimeFormat",new Fl);w(this,"page",new jl);w(this,"extensions",new Bl);t&&(this.site=new $l(t),this.url=new Pl(t),this.directory=new Rl(t),this.writing=new Nl(t),this.categoriesAndTags=new Dl(t),this.dateTimeFormat=new Fl(t),this.page=new jl(t),this.extensions=new Bl(t))}}class $l{constructor(t){w(this,"title","");w(this,"subtitle","");w(this,"description","");w(this,"author","");w(this,"language","");w(this,"timezone","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}let Pl=class{constructor(t){w(this,"url","");w(this,"root","");w(this,"permalink","");w(this,"permalink_defaults","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}};class Rl{constructor(t){w(this,"source_dir","");w(this,"public_dir","");w(this,"tag_dir","");w(this,"archive_dir","");w(this,"category_dir","");w(this,"code_dir","");w(this,"i18n_dir","");w(this,"skip_render","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class Nl{constructor(t){w(this,"new_post_name","");w(this,"default_layout","");w(this,"titlecase",!1);w(this,"filename_case",0);w(this,"external_link","");w(this,"render_drafts",!1);w(this,"post_asset_folder",!1);w(this,"relative_link",!1);w(this,"future",!0);w(this,"highlight",{enable:!1,line_number:!0,auto_detect:!1,tab_replace:""});w(this,"prismjs",{enable:!0,preprocess:!1,line_number:!0,tab_replace:""});if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class Dl{constructor(t){w(this,"default_category","");w(this,"category_map","");w(this,"tag_map","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class Fl{constructor(t){w(this,"date_format","");w(this,"time_format","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class jl{constructor(t){w(this,"per_page",0);w(this,"pagination_dir","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class Bl{constructor(t){w(this,"theme",!1);w(this,"deploy",{});if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}function hu(e,t){return function(){return e.apply(t,arguments)}}const{toString:b3}=Object.prototype,{getPrototypeOf:ja}=Object,Vo=(e=>t=>{const n=b3.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),zt=e=>(e=e.toLowerCase(),t=>Vo(t)===e),Wo=e=>t=>typeof t===e,{isArray:rs}=Array,js=Wo("undefined");function y3(e){return e!==null&&!js(e)&&e.constructor!==null&&!js(e.constructor)&&Tt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const pu=zt("ArrayBuffer");function k3(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&pu(e.buffer),t}const w3=Wo("string"),Tt=Wo("function"),mu=Wo("number"),qo=e=>e!==null&&typeof e=="object",C3=e=>e===!0||e===!1,io=e=>{if(Vo(e)!=="object")return!1;const t=ja(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},E3=zt("Date"),S3=zt("File"),M3=zt("Blob"),T3=zt("FileList"),O3=e=>qo(e)&&Tt(e.pipe),A3=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tt(e.append)&&((t=Vo(e))==="formdata"||t==="object"&&Tt(e.toString)&&e.toString()==="[object FormData]"))},L3=zt("URLSearchParams"),I3=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,o;if(typeof e!="object"&&(e=[e]),rs(e))for(s=0,o=e.length;s0;)if(o=n[s],t===o.toLowerCase())return o;return null}const vu=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),_u=e=>!js(e)&&e!==vu;function ea(){const{caseless:e}=_u(this)&&this||{},t={},n=(s,o)=>{const r=e&&gu(t,o)||o;io(t[r])&&io(s)?t[r]=ea(t[r],s):io(s)?t[r]=ea({},s):rs(s)?t[r]=s.slice():t[r]=s};for(let s=0,o=arguments.length;s(zs(t,(o,r)=>{n&&Tt(o)?e[r]=hu(o,n):e[r]=o},{allOwnKeys:s}),e),$3=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),P3=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},R3=(e,t,n,s)=>{let o,r,a;const i={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),r=o.length;r-- >0;)a=o[r],(!s||s(a,e,t))&&!i[a]&&(t[a]=e[a],i[a]=!0);e=n!==!1&&ja(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},N3=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},D3=e=>{if(!e)return null;if(rs(e))return e;let t=e.length;if(!mu(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},F3=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ja(Uint8Array)),j3=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=s.next())&&!o.done;){const r=o.value;t.call(e,r[0],r[1])}},B3=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Z3=zt("HTMLFormElement"),H3=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),Zl=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),U3=zt("RegExp"),bu=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};zs(n,(o,r)=>{let a;(a=t(o,r,e))!==!1&&(s[r]=a||o)}),Object.defineProperties(e,s)},z3=e=>{bu(e,(t,n)=>{if(Tt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Tt(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},V3=(e,t)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return rs(e)?s(e):s(String(e).split(t)),n},W3=()=>{},q3=(e,t)=>(e=+e,Number.isFinite(e)?e:t),fr="abcdefghijklmnopqrstuvwxyz",Hl="0123456789",yu={DIGIT:Hl,ALPHA:fr,ALPHA_DIGIT:fr+fr.toUpperCase()+Hl},K3=(e=16,t=yu.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Y3(e){return!!(e&&Tt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const G3=e=>{const t=new Array(10),n=(s,o)=>{if(qo(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[o]=s;const r=rs(s)?[]:{};return zs(s,(a,i)=>{const l=n(a,o+1);!js(l)&&(r[i]=l)}),t[o]=void 0,r}}return s};return n(e,0)},X3=zt("AsyncFunction"),J3=e=>e&&(qo(e)||Tt(e))&&Tt(e.then)&&Tt(e.catch),q={isArray:rs,isArrayBuffer:pu,isBuffer:y3,isFormData:A3,isArrayBufferView:k3,isString:w3,isNumber:mu,isBoolean:C3,isObject:qo,isPlainObject:io,isUndefined:js,isDate:E3,isFile:S3,isBlob:M3,isRegExp:U3,isFunction:Tt,isStream:O3,isURLSearchParams:L3,isTypedArray:F3,isFileList:T3,forEach:zs,merge:ea,extend:x3,trim:I3,stripBOM:$3,inherits:P3,toFlatObject:R3,kindOf:Vo,kindOfTest:zt,endsWith:N3,toArray:D3,forEachEntry:j3,matchAll:B3,isHTMLForm:Z3,hasOwnProperty:Zl,hasOwnProp:Zl,reduceDescriptors:bu,freezeMethods:z3,toObjectSet:V3,toCamelCase:H3,noop:W3,toFiniteNumber:q3,findKey:gu,global:vu,isContextDefined:_u,ALPHABET:yu,generateString:K3,isSpecCompliantForm:Y3,toJSONObject:G3,isAsyncFn:X3,isThenable:J3};function Le(e,t,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o)}q.inherits(Le,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ku=Le.prototype,wu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{wu[e]={value:e}});Object.defineProperties(Le,wu);Object.defineProperty(ku,"isAxiosError",{value:!0});Le.from=(e,t,n,s,o,r)=>{const a=Object.create(ku);return q.toFlatObject(e,a,function(l){return l!==Error.prototype},i=>i!=="isAxiosError"),Le.call(a,e.message,t,n,s,o),a.cause=e,a.name=e.name,r&&Object.assign(a,r),a};const Q3=null;function ta(e){return q.isPlainObject(e)||q.isArray(e)}function Cu(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function Ul(e,t,n){return e?e.concat(t).map(function(o,r){return o=Cu(o),!n&&r?"["+o+"]":o}).join(n?".":""):t}function ep(e){return q.isArray(e)&&!e.some(ta)}const tp=q.toFlatObject(q,{},null,function(t){return/^is[A-Z]/.test(t)});function Ko(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,L){return!q.isUndefined(L[E])});const s=n.metaTokens,o=n.visitor||d,r=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function c(b){if(b===null)return"";if(q.isDate(b))return b.toISOString();if(!l&&q.isBlob(b))throw new Le("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(b)||q.isTypedArray(b)?l&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,E,L){let k=b;if(b&&!L&&typeof b=="object"){if(q.endsWith(E,"{}"))E=s?E:E.slice(0,-2),b=JSON.stringify(b);else if(q.isArray(b)&&ep(b)||(q.isFileList(b)||q.endsWith(E,"[]"))&&(k=q.toArray(b)))return E=Cu(E),k.forEach(function(P,S){!(q.isUndefined(P)||P===null)&&t.append(a===!0?Ul([E],S,r):a===null?E:E+"[]",c(P))}),!1}return ta(b)?!0:(t.append(Ul(L,E,r),c(b)),!1)}const h=[],p=Object.assign(tp,{defaultVisitor:d,convertValue:c,isVisitable:ta});function C(b,E){if(!q.isUndefined(b)){if(h.indexOf(b)!==-1)throw Error("Circular reference detected in "+E.join("."));h.push(b),q.forEach(b,function(k,T){(!(q.isUndefined(k)||k===null)&&o.call(t,k,q.isString(T)?T.trim():T,E,p))===!0&&C(k,E?E.concat(T):[T])}),h.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return C(e),t}function zl(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Ba(e,t){this._pairs=[],e&&Ko(e,this,t)}const Eu=Ba.prototype;Eu.append=function(t,n){this._pairs.push([t,n])};Eu.toString=function(t){const n=t?function(s){return t.call(this,s,zl)}:zl;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function np(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Su(e,t,n){if(!t)return e;const s=n&&n.encode||np,o=n&&n.serialize;let r;if(o?r=o(t,n):r=q.isURLSearchParams(t)?t.toString():new Ba(t,n).toString(s),r){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class sp{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){q.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Vl=sp,Mu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},op=typeof URLSearchParams<"u"?URLSearchParams:Ba,rp=typeof FormData<"u"?FormData:null,ap=typeof Blob<"u"?Blob:null,ip=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),lp=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),It={isBrowser:!0,classes:{URLSearchParams:op,FormData:rp,Blob:ap},isStandardBrowserEnv:ip,isStandardBrowserWebWorkerEnv:lp,protocols:["http","https","file","blob","url","data"]};function cp(e,t){return Ko(e,new It.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return It.isNode&&q.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function up(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function dp(e){const t={},n=Object.keys(e);let s;const o=n.length;let r;for(s=0;s=n.length;return a=!a&&q.isArray(o)?o.length:a,l?(q.hasOwnProp(o,a)?o[a]=[o[a],s]:o[a]=s,!i):((!o[a]||!q.isObject(o[a]))&&(o[a]=[]),t(n,s,o[a],r)&&q.isArray(o[a])&&(o[a]=dp(o[a])),!i)}if(q.isFormData(e)&&q.isFunction(e.entries)){const n={};return q.forEachEntry(e,(s,o)=>{t(up(s),o,n,0)}),n}return null}function fp(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Za={transitional:Mu,adapter:It.isNode?"http":"xhr",transformRequest:[function(t,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=q.isObject(t);if(r&&q.isHTMLForm(t)&&(t=new FormData(t)),q.isFormData(t))return o&&o?JSON.stringify(Tu(t)):t;if(q.isArrayBuffer(t)||q.isBuffer(t)||q.isStream(t)||q.isFile(t)||q.isBlob(t))return t;if(q.isArrayBufferView(t))return t.buffer;if(q.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return cp(t,this.formSerializer).toString();if((i=q.isFileList(t))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Ko(i?{"files[]":t}:t,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),fp(t)):t}],transformResponse:[function(t){const n=this.transitional||Za.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&q.isString(t)&&(s&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(i){if(a)throw i.name==="SyntaxError"?Le.from(i,Le.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:It.classes.FormData,Blob:It.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{Za.headers[e]={}});const Ha=Za,hp=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),pp=e=>{const t={};let n,s,o;return e&&e.split(` -`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),s=a.substring(o+1).trim(),!(!n||t[n]&&hp[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Wl=Symbol("internals");function fs(e){return e&&String(e).trim().toLowerCase()}function lo(e){return e===!1||e==null?e:q.isArray(e)?e.map(lo):String(e)}function mp(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const gp=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function hr(e,t,n,s,o){if(q.isFunction(s))return s.call(this,t,n);if(o&&(t=n),!!q.isString(t)){if(q.isString(s))return t.indexOf(s)!==-1;if(q.isRegExp(s))return s.test(t)}}function vp(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function _p(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(o,r,a){return this[s].call(this,t,o,r,a)},configurable:!0})})}class Yo{constructor(t){t&&this.set(t)}set(t,n,s){const o=this;function r(i,l,c){const d=fs(l);if(!d)throw new Error("header name must be a non-empty string");const h=q.findKey(o,d);(!h||o[h]===void 0||c===!0||c===void 0&&o[h]!==!1)&&(o[h||l]=lo(i))}const a=(i,l)=>q.forEach(i,(c,d)=>r(c,d,l));return q.isPlainObject(t)||t instanceof this.constructor?a(t,n):q.isString(t)&&(t=t.trim())&&!gp(t)?a(pp(t),n):t!=null&&r(n,t,s),this}get(t,n){if(t=fs(t),t){const s=q.findKey(this,t);if(s){const o=this[s];if(!n)return o;if(n===!0)return mp(o);if(q.isFunction(n))return n.call(this,o,s);if(q.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=fs(t),t){const s=q.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||hr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let o=!1;function r(a){if(a=fs(a),a){const i=q.findKey(s,a);i&&(!n||hr(s,s[i],i,n))&&(delete s[i],o=!0)}}return q.isArray(t)?t.forEach(r):r(t),o}clear(t){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!t||hr(this,this[r],r,t,!0))&&(delete this[r],o=!0)}return o}normalize(t){const n=this,s={};return q.forEach(this,(o,r)=>{const a=q.findKey(s,r);if(a){n[a]=lo(o),delete n[r];return}const i=t?vp(r):String(r).trim();i!==r&&delete n[r],n[i]=lo(o),s[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return q.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=t&&q.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(o=>s.set(o)),s}static accessor(t){const s=(this[Wl]=this[Wl]={accessors:{}}).accessors,o=this.prototype;function r(a){const i=fs(a);s[i]||(_p(o,a),s[i]=!0)}return q.isArray(t)?t.forEach(r):r(t),this}}Yo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(Yo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});q.freezeMethods(Yo);const Yt=Yo;function pr(e,t){const n=this||Ha,s=t||n,o=Yt.from(s.headers);let r=s.data;return q.forEach(e,function(i){r=i.call(n,r,o.normalize(),t?t.status:void 0)}),o.normalize(),r}function Ou(e){return!!(e&&e.__CANCEL__)}function Vs(e,t,n){Le.call(this,e??"canceled",Le.ERR_CANCELED,t,n),this.name="CanceledError"}q.inherits(Vs,Le,{__CANCEL__:!0});function bp(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new Le("Request failed with status code "+n.status,[Le.ERR_BAD_REQUEST,Le.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const yp=It.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,a,i){const l=[];l.push(n+"="+encodeURIComponent(s)),q.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),q.isString(r)&&l.push("path="+r),q.isString(a)&&l.push("domain="+a),i===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function kp(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function wp(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Au(e,t){return e&&!kp(t)?wp(e,t):t}const Cp=It.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let a=r;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=o(window.location.href),function(a){const i=q.isString(a)?o(a):a;return i.protocol===s.protocol&&i.host===s.host}}():function(){return function(){return!0}}();function Ep(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Sp(e,t){e=e||10;const n=new Array(e),s=new Array(e);let o=0,r=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=s[r];a||(a=c),n[o]=l,s[o]=c;let h=r,p=0;for(;h!==o;)p+=n[h++],h=h%e;if(o=(o+1)%e,o===r&&(r=(r+1)%e),c-a{const r=o.loaded,a=o.lengthComputable?o.total:void 0,i=r-n,l=s(i),c=r<=a;n=r;const d={loaded:r,total:a,progress:a?r/a:void 0,bytes:i,rate:l||void 0,estimated:l&&a&&c?(a-r)/l:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const Mp=typeof XMLHttpRequest<"u",Tp=Mp&&function(e){return new Promise(function(n,s){let o=e.data;const r=Yt.from(e.headers).normalize(),a=e.responseType;let i;function l(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}q.isFormData(o)&&(It.isStandardBrowserEnv||It.isStandardBrowserWebWorkerEnv?r.setContentType(!1):r.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const C=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(C+":"+b))}const d=Au(e.baseURL,e.url);c.open(e.method.toUpperCase(),Su(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function h(){if(!c)return;const C=Yt.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),E={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:C,config:e,request:c};bp(function(k){n(k),l()},function(k){s(k),l()},E),c=null}if("onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(h)},c.onabort=function(){c&&(s(new Le("Request aborted",Le.ECONNABORTED,e,c)),c=null)},c.onerror=function(){s(new Le("Network Error",Le.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||Mu;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),s(new Le(b,E.clarifyTimeoutError?Le.ETIMEDOUT:Le.ECONNABORTED,e,c)),c=null},It.isStandardBrowserEnv){const C=(e.withCredentials||Cp(d))&&e.xsrfCookieName&&yp.read(e.xsrfCookieName);C&&r.set(e.xsrfHeaderName,C)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&q.forEach(r.toJSON(),function(b,E){c.setRequestHeader(E,b)}),q.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&a!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",ql(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",ql(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=C=>{c&&(s(!C||C.type?new Vs(null,e,c):C),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const p=Ep(d);if(p&&It.protocols.indexOf(p)===-1){s(new Le("Unsupported protocol "+p+":",Le.ERR_BAD_REQUEST,e));return}c.send(o||null)})},co={http:Q3,xhr:Tp};q.forEach(co,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Lu={getAdapter:e=>{e=q.isArray(e)?e:[e];const{length:t}=e;let n,s;for(let o=0;oe instanceof Yt?e.toJSON():e;function Qn(e,t){t=t||{};const n={};function s(c,d,h){return q.isPlainObject(c)&&q.isPlainObject(d)?q.merge.call({caseless:h},c,d):q.isPlainObject(d)?q.merge({},d):q.isArray(d)?d.slice():d}function o(c,d,h){if(q.isUndefined(d)){if(!q.isUndefined(c))return s(void 0,c,h)}else return s(c,d,h)}function r(c,d){if(!q.isUndefined(d))return s(void 0,d)}function a(c,d){if(q.isUndefined(d)){if(!q.isUndefined(c))return s(void 0,c)}else return s(void 0,d)}function i(c,d,h){if(h in t)return s(c,d);if(h in e)return s(void 0,c)}const l={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:i,headers:(c,d)=>o(Yl(c),Yl(d),!0)};return q.forEach(Object.keys(Object.assign({},e,t)),function(d){const h=l[d]||o,p=h(e[d],t[d],d);q.isUndefined(p)&&h!==i||(n[d]=p)}),n}const Iu="1.5.0",Ua={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ua[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Gl={};Ua.transitional=function(t,n,s){function o(r,a){return"[Axios v"+Iu+"] Transitional option '"+r+"'"+a+(s?". "+s:"")}return(r,a,i)=>{if(t===!1)throw new Le(o(a," has been removed"+(n?" in "+n:"")),Le.ERR_DEPRECATED);return n&&!Gl[a]&&(Gl[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,a,i):!0}};function Op(e,t,n){if(typeof e!="object")throw new Le("options must be an object",Le.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let o=s.length;for(;o-- >0;){const r=s[o],a=t[r];if(a){const i=e[r],l=i===void 0||a(i,r,e);if(l!==!0)throw new Le("option "+r+" must be "+l,Le.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Le("Unknown option "+r,Le.ERR_BAD_OPTION)}}const na={assertOptions:Op,validators:Ua},an=na.validators;class bo{constructor(t){this.defaults=t,this.interceptors={request:new Vl,response:new Vl}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Qn(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&na.assertOptions(s,{silentJSONParsing:an.transitional(an.boolean),forcedJSONParsing:an.transitional(an.boolean),clarifyTimeoutError:an.transitional(an.boolean)},!1),o!=null&&(q.isFunction(o)?n.paramsSerializer={serialize:o}:na.assertOptions(o,{encode:an.function,serialize:an.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=r&&q.merge(r.common,r[n.method]);r&&q.forEach(["delete","get","head","post","put","patch","common"],b=>{delete r[b]}),n.headers=Yt.concat(a,r);const i=[];let l=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(l=l&&E.synchronous,i.unshift(E.fulfilled,E.rejected))});const c=[];this.interceptors.response.forEach(function(E){c.push(E.fulfilled,E.rejected)});let d,h=0,p;if(!l){const b=[Kl.bind(this),void 0];for(b.unshift.apply(b,i),b.push.apply(b,c),p=b.length,d=Promise.resolve(n);h{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const a=new Promise(i=>{s.subscribe(i),r=i}).then(o);return a.cancel=function(){s.unsubscribe(r)},a},t(function(r,a,i){s.reason||(s.reason=new Vs(r,a,i),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new za(function(o){t=o}),cancel:t}}}const Ap=za;function Lp(e){return function(n){return e.apply(null,n)}}function Ip(e){return q.isObject(e)&&e.isAxiosError===!0}const sa={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(sa).forEach(([e,t])=>{sa[t]=e});const xp=sa;function xu(e){const t=new uo(e),n=hu(uo.prototype.request,t);return q.extend(n,uo.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return xu(Qn(e,o))},n}const Qe=xu(Ha);Qe.Axios=uo;Qe.CanceledError=Vs;Qe.CancelToken=Ap;Qe.isCancel=Ou;Qe.VERSION=Iu;Qe.toFormData=Ko;Qe.AxiosError=Le;Qe.Cancel=Qe.CanceledError;Qe.all=function(t){return Promise.all(t)};Qe.spread=Lp;Qe.isAxiosError=Ip;Qe.mergeConfig=Qn;Qe.AxiosHeaders=Yt;Qe.formToJSON=e=>Tu(q.isHTMLForm(e)?new FormData(e):e);Qe.getAdapter=Lu.getAdapter;Qe.HttpStatusCode=xp;Qe.default=Qe;const $u=Qe,ft=$u.create({baseURL:"/api",timeout:5e3});ft.interceptors.request.use(e=>e,e=>Promise.reject(e));ft.interceptors.response.use(e=>e,e=>(console.log("err"+e),console.error(e.message),Promise.reject(e)));function Go(e,t){const n={template:"[TIME]",lang:"en"},s={en:{seconds:"just seconds ago",minutes:" minutes ago",hours:" hours ago",days:" days ago",months:" months ago",years:" years ago"},"zh-CN":{seconds:"刚刚",minutes:" 分钟前",hours:" 小时前",days:" 天前",months:" 个月前",years:" 年前"},"zh-TW":{seconds:"剛剛",minutes:" 分鐘前",hours:" 小時前",days:" 天前",months:" 個月前",years:" 年前"}};t!==void 0&&(t.template&&(n.template=t.template),t.lang&&(n.lang=t.lang)),typeof e=="string"&&(/[a-zA-Z]+/g.test(e)?e=new Date(e).getTime():e=parseInt(e)),(""+e).length===10?e=parseInt(String(e))*1e3:e=+e;const o=new Date(e).getTime(),r=Date.now(),a=Math.floor((r-o)/1e3);let i="";return a<60?i=s[n.lang].seconds:a<3600?i=String(Math.floor(a/60))+s[n.lang].minutes:a<3600*24?i=String(Math.floor(a/3600))+s[n.lang].hours:a<3600*24*30?i=String(Math.floor(a/3600/24))+s[n.lang].days:a<3600*24*365?i=String(Math.floor(a/3600/24/30))+s[n.lang].months:i=String(Math.floor(a/3600/24/365))+s[n.lang].years,n.template.replace("[TIME]",i)}function Va(e,t){return t||(t=28),e=e.replace(/![\s\w\](?:http(s)?://)+[\w.-]+(?:.[\w.-]+)+[\w\-._~:/?#[\]@!$&'*+,;=.]+\)/g,"[img]").replace(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)+/g,"[link]").replace(/( |<([^>]+)>)/gi,""),e.length>t&&(e=e.substr(0,t),e+="..."),e}function $p(e){const t=new Date,n=new Date(e),s=t.getTime()-n.getTime();return Math.floor(s/(1e3*3600*24))}function Wa(e){return e!=="/"&&e.at(-1)==="/"?e.slice(0,-1):e}function Pp(e){for(let t=e.length-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}function Pu(e,t,n){const s=n*(t-1),o=s>e.length-1?void 0:n*t;return e.slice(s,o)}async function Rp(){return ft.get("/site.json")}async function Np(e){return ft.get(`/posts/${e}.json`)}async function Dp(e){return ft.get(`/archives/${e}.json`)}async function Fp(e,t,n){const s=await ft.get(`/tags/${e}.json`);return s.data.postlist=Pu(s.data.postlist,t,n),s}async function jp(e,t,n){const s=await ft.get(`/categories/${e}.json`);return s.data.pageSize=n,s.data.total=s.data.postlist.length,s.data.pageCount=Math.ceil(s.data.postlist.length/n),s.data.postlist=Pu(s.data.postlist,t,n),s}async function Bp(e){return ft.get(`/articles/${e}.json`)}async function Xl(){return ft.get("/tags.json")}async function Zp(){return ft.get("/categories.json")}async function Hp(e){return ft.get(`/pages/${e}/index.json`)}async function Up(){return ft.get("/features.json")}async function zp(){return ft.get("/statistic.json")}async function Vp(){return ft.get("/search.json")}async function Wp(e){return ft.get(`/authors/${e}.json`)}class Jl{constructor(t){w(this,"categories",0);w(this,"posts",0);w(this,"tags",0);w(this,"wordCount",0);if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}var qp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ru={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress - * @license MIT */(function(e,t){(function(n,s){e.exports=s()})(qp,function(){var n={};n.version="0.2.0";var s=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
    '};n.configure=function(b){var E,L;for(E in b)L=b[E],L!==void 0&&b.hasOwnProperty(E)&&(s[E]=L);return this},n.status=null,n.set=function(b){var E=n.isStarted();b=o(b,s.minimum,1),n.status=b===1?null:b;var L=n.render(!E),k=L.querySelector(s.barSelector),T=s.speed,P=s.easing;return L.offsetWidth,i(function(S){s.positionUsing===""&&(s.positionUsing=n.getPositioningCSS()),l(k,a(b,T,P)),b===1?(l(L,{transition:"none",opacity:1}),L.offsetWidth,setTimeout(function(){l(L,{transition:"all "+T+"ms linear",opacity:0}),setTimeout(function(){n.remove(),S()},T)},T)):setTimeout(S,T)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var b=function(){setTimeout(function(){n.status&&(n.trickle(),b())},s.trickleSpeed)};return s.trickle&&b(),this},n.done=function(b){return!b&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(b){var E=n.status;return E?(typeof b!="number"&&(b=(1-E)*o(Math.random()*E,.1,.95)),E=o(E+b,0,.994),n.set(E)):n.start()},n.trickle=function(){return n.inc(Math.random()*s.trickleRate)},function(){var b=0,E=0;n.promise=function(L){return!L||L.state()==="resolved"?this:(E===0&&n.start(),b++,E++,L.always(function(){E--,E===0?(b=0,n.done()):n.set((b-E)/b)}),this)}}(),n.render=function(b){if(n.isRendered())return document.getElementById("nprogress");d(document.documentElement,"nprogress-busy");var E=document.createElement("div");E.id="nprogress",E.innerHTML=s.template;var L=E.querySelector(s.barSelector),k=b?"-100":r(n.status||0),T=document.querySelector(s.parent),P;return l(L,{transition:"all 0 linear",transform:"translate3d("+k+"%,0,0)"}),s.showSpinner||(P=E.querySelector(s.spinnerSelector),P&&C(P)),T!=document.body&&d(T,"nprogress-custom-parent"),T.appendChild(E),E},n.remove=function(){h(document.documentElement,"nprogress-busy"),h(document.querySelector(s.parent),"nprogress-custom-parent");var b=document.getElementById("nprogress");b&&C(b)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var b=document.body.style,E="WebkitTransform"in b?"Webkit":"MozTransform"in b?"Moz":"msTransform"in b?"ms":"OTransform"in b?"O":"";return E+"Perspective"in b?"translate3d":E+"Transform"in b?"translate":"margin"};function o(b,E,L){return bL?L:b}function r(b){return(-1+b)*100}function a(b,E,L){var k;return s.positionUsing==="translate3d"?k={transform:"translate3d("+r(b)+"%,0,0)"}:s.positionUsing==="translate"?k={transform:"translate("+r(b)+"%,0)"}:k={"margin-left":r(b)+"%"},k.transition="all "+E+"ms "+L,k}var i=function(){var b=[];function E(){var L=b.shift();L&&L(E)}return function(L){b.push(L),b.length==1&&E()}}(),l=function(){var b=["Webkit","O","Moz","ms"],E={};function L(S){return S.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(x,F){return F.toUpperCase()})}function k(S){var x=document.body.style;if(S in x)return S;for(var F=b.length,Y=S.charAt(0).toUpperCase()+S.slice(1),Z;F--;)if(Z=b[F]+Y,Z in x)return Z;return S}function T(S){return S=L(S),E[S]||(E[S]=k(S))}function P(S,x,F){x=T(x),S.style[x]=F}return function(S,x){var F=arguments,Y,Z;if(F.length==2)for(Y in x)Z=x[Y],Z!==void 0&&x.hasOwnProperty(Y)&&P(S,Y,Z);else P(S,F[1],F[2])}}();function c(b,E){var L=typeof b=="string"?b:p(b);return L.indexOf(" "+E+" ")>=0}function d(b,E){var L=p(b),k=L+E;c(L,E)||(b.className=k.substring(1))}function h(b,E){var L=p(b),k;c(b,E)&&(k=L.replace(" "+E+" "," "),b.className=k.substring(1,k.length-1))}function p(b){return(" "+(b.className||"")+" ").replace(/\s+/gi," ")}function C(b){b&&b.parentNode&&b.parentNode.removeChild(b)}return n})})(Ru);var Yp=Ru.exports;const oa=Kp(Yp);oa.configure({showSpinner:!1,trickleSpeed:100,parent:"#loading-bar-wrapper"});const Gp=()=>window.matchMedia("(prefers-color-scheme: dark)").matches?"theme-dark":"theme-light",gr=e=>{e==="theme-dark"?(document.body.classList.remove("theme-light"),document.body.classList.add("theme-dark")):(document.body.classList.remove("theme-dark"),document.body.classList.add("theme-light"))},He=kt("app",{state:()=>({theme:on.get("theme")?String(on.get("theme")):Gp(),locale:on.get("locale")??"en",themeConfig:new Cl,hexoConfig:new xl,headerGradient:"",statistic:new Jl,appLoading:!1,NPTimeout:-1,loadingTimeout:-1,configReady:!1,openSearchModal:!1}),getters:{getTheme:e=>e.theme,getAppLoading:e=>e.appLoading},actions:{async fetchConfig(){this.configReady=!1;const{data:e}=await Rp();this.themeConfig=new Cl(e),this.hexoConfig=new xl(e),this.setDefaultLocale(this.themeConfig.site.language),this.initializeTheme(this.themeConfig.theme.dark_mode),this.configReady=!0},async fetchStat(){const{data:e}=await zp();return new Promise(t=>{this.statistic=new Jl(e),t(this.statistic)})},initializeTheme(e){!on.get("theme")&&e!=="auto"&&(this.theme=e?"theme-dark":"theme-light",on.set("theme",this.theme),gr(this.theme)),gr(this.theme)},toggleTheme(e){this.theme=e===!0||this.theme==="theme-light"?"theme-dark":"theme-light",on.set("theme",this.theme),gr(this.theme)},changeLocale(e){on.set("locale",e),this.locale=e,In.global.locale.value=e},setDefaultLocale(e){on.get("locale")||this.changeLocale(e)},startLoading(){this.appLoading!==!0&&(this.NPTimeout!==-1&&clearTimeout(this.NPTimeout),this.loadingTimeout!==-1&&clearTimeout(this.loadingTimeout),oa.start(),this.appLoading=!0)},endLoading(){this.NPTimeout=window.setTimeout(()=>{oa.done()},100),this.loadingTimeout=window.setTimeout(()=>{this.appLoading=!1},300)},changeOpenModal(e){this.openSearchModal=e},handleEscKey(){this.openSearchModal&&(this.openSearchModal=!1)},handleSearchOpen(){this.openSearchModal||(this.openSearchModal=!0)}}}),as=kt({id:"commonStore",state:()=>({isMobile:!1,headerImage:"",notificationState:!1,notificationMessage:""}),getters:{},actions:{setHeaderImage(e){this.headerImage=e},resetHeaderImage(){this.headerImage=""},changeMobileState(e){this.isMobile=e},sendNotification(e){this.notificationState=!0,this.notificationMessage=e},closeNotification(){this.notificationState=!1}}}),Xp=kt({id:"lightBoxStore",state:()=>({images:[],index:0,visible:!1}),getters:{},actions:{addImage(e){this.images.push(e)},setImages(e){this.images=e},openImage(e){this.index=this.images.indexOf(e.src),this.visible=!0},hideLightBox(){this.visible=!1}}});/*! - * vue-router v4.2.4 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */const Bn=typeof window<"u";function Jp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Re=Object.assign;function vr(e,t){const n={};for(const s in t){const o=t[s];n[s]=Rt(o)?o.map(e):e(o)}return n}const Ss=()=>{},Rt=Array.isArray,Qp=/\/$/,e4=e=>e.replace(Qp,"");function _r(e,t,n="/"){let s,o={},r="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i=0&&(l=-1),l>-1&&(s=t.slice(0,l),r=t.slice(l+1,i>-1?i:t.length),o=e(r)),i>-1&&(s=s||t.slice(0,i),a=t.slice(i,t.length)),s=o4(s??t,n),{fullPath:s+(r&&"?")+r+a,path:s,query:o,hash:a}}function t4(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ql(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function n4(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&es(t.matched[s],n.matched[o])&&Nu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function es(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!s4(e[n],t[n]))return!1;return!0}function s4(e,t){return Rt(e)?ec(e,t):Rt(t)?ec(t,e):e===t}function ec(e,t){return Rt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function o4(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,a,i;for(a=0;a1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(a-(a===s.length?1:0)).join("/")}var Bs;(function(e){e.pop="pop",e.push="push"})(Bs||(Bs={}));var Ms;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ms||(Ms={}));function r4(e){if(!e)if(Bn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),e4(e)}const a4=/^[^#]+#/;function i4(e,t){return e.replace(a4,"#")+t}function l4(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Xo=()=>({left:window.pageXOffset,top:window.pageYOffset});function c4(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=l4(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function tc(e,t){return(history.state?history.state.position-t:-1)+e}const ra=new Map;function u4(e,t){ra.set(e,t)}function d4(e){const t=ra.get(e);return ra.delete(e),t}let f4=()=>location.protocol+"//"+location.host;function Du(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let i=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(i);return l[0]!=="/"&&(l="/"+l),Ql(l,"")}return Ql(n,e)+s+o}function h4(e,t,n,s){let o=[],r=[],a=null;const i=({state:p})=>{const C=Du(e,location),b=n.value,E=t.value;let L=0;if(p){if(n.value=C,t.value=p,a&&a===b){a=null;return}L=E?p.position-E.position:0}else s(C);o.forEach(k=>{k(n.value,b,{delta:L,type:Bs.pop,direction:L?L>0?Ms.forward:Ms.back:Ms.unknown})})};function l(){a=n.value}function c(p){o.push(p);const C=()=>{const b=o.indexOf(p);b>-1&&o.splice(b,1)};return r.push(C),C}function d(){const{history:p}=window;p.state&&p.replaceState(Re({},p.state,{scroll:Xo()}),"")}function h(){for(const p of r)p();r=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:h}}function nc(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?Xo():null}}function p4(e){const{history:t,location:n}=window,s={value:Du(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,c,d){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:f4()+e+l;try{t[d?"replaceState":"pushState"](c,"",p),o.value=c}catch(C){console.error(C),n[d?"replace":"assign"](p)}}function a(l,c){const d=Re({},t.state,nc(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});r(l,d,!0),s.value=l}function i(l,c){const d=Re({},o.value,t.state,{forward:l,scroll:Xo()});r(d.current,d,!0);const h=Re({},nc(s.value,l,null),{position:d.position+1},c);r(l,h,!1),s.value=l}return{location:s,state:o,push:i,replace:a}}function m4(e){e=r4(e);const t=p4(e),n=h4(e,t.state,t.location,t.replace);function s(r,a=!0){a||n.pauseListeners(),history.go(r)}const o=Re({location:"",base:e,go:s,createHref:i4.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function g4(e){return typeof e=="string"||e&&typeof e=="object"}function Fu(e){return typeof e=="string"||typeof e=="symbol"}const ln={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ju=Symbol("");var sc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(sc||(sc={}));function ts(e,t){return Re(new Error,{type:e,[ju]:!0},t)}function Wt(e,t){return e instanceof Error&&ju in e&&(t==null||!!(e.type&t))}const oc="[^/]+?",v4={sensitive:!1,strict:!1,start:!0,end:!0},_4=/[.+*?^${}()[\]/\\]/g;function b4(e,t){const n=Re({},v4,t),s=[];let o=n.start?"^":"";const r=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function k4(e,t){let n=0;const s=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const w4={type:0,value:""},C4=/[a-zA-Z0-9_]/;function E4(e){if(!e)return[[]];if(e==="/")return[[w4]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(C){throw new Error(`ERR (${n})/"${c}": ${C}`)}let n=0,s=n;const o=[];let r;function a(){r&&o.push(r),r=[]}let i=0,l,c="",d="";function h(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;i{a(T)}:Ss}function a(d){if(Fu(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(a),h.alias.forEach(a))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function i(){return n}function l(d){let h=0;for(;h=0&&(d.record.path!==n[h].record.path||!Bu(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!ic(d)&&s.set(d.record.name,d)}function c(d,h){let p,C={},b,E;if("name"in d&&d.name){if(p=s.get(d.name),!p)throw ts(1,{location:d});E=p.record.name,C=Re(ac(h.params,p.keys.filter(T=>!T.optional).map(T=>T.name)),d.params&&ac(d.params,p.keys.map(T=>T.name))),b=p.stringify(C)}else if("path"in d)b=d.path,p=n.find(T=>T.re.test(b)),p&&(C=p.parse(b),E=p.record.name);else{if(p=h.name?s.get(h.name):n.find(T=>T.re.test(h.path)),!p)throw ts(1,{location:d,currentLocation:h});E=p.record.name,C=Re({},h.params,d.params),b=p.stringify(C)}const L=[];let k=p;for(;k;)L.unshift(k.record),k=k.parent;return{name:E,path:b,params:C,matched:L,meta:A4(L)}}return e.forEach(d=>r(d)),{addRoute:r,resolve:c,removeRoute:a,getRoutes:i,getRecordMatcher:o}}function ac(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function T4(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:O4(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function O4(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ic(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function A4(e){return e.reduce((t,n)=>Re(t,n.meta),{})}function lc(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Bu(e,t){return t.children.some(n=>n===e||Bu(e,n))}const Zu=/#/g,L4=/&/g,I4=/\//g,x4=/=/g,$4=/\?/g,Hu=/\+/g,P4=/%5B/g,R4=/%5D/g,Uu=/%5E/g,N4=/%60/g,zu=/%7B/g,D4=/%7C/g,Vu=/%7D/g,F4=/%20/g;function qa(e){return encodeURI(""+e).replace(D4,"|").replace(P4,"[").replace(R4,"]")}function j4(e){return qa(e).replace(zu,"{").replace(Vu,"}").replace(Uu,"^")}function aa(e){return qa(e).replace(Hu,"%2B").replace(F4,"+").replace(Zu,"%23").replace(L4,"%26").replace(N4,"`").replace(zu,"{").replace(Vu,"}").replace(Uu,"^")}function B4(e){return aa(e).replace(x4,"%3D")}function Z4(e){return qa(e).replace(Zu,"%23").replace($4,"%3F")}function H4(e){return e==null?"":Z4(e).replace(I4,"%2F")}function yo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function U4(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;or&&aa(r)):[s&&aa(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function z4(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Rt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const V4=Symbol(""),uc=Symbol(""),Jo=Symbol(""),Ka=Symbol(""),ia=Symbol("");function hs(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function dn(e,t,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,i)=>{const l=h=>{h===!1?i(ts(4,{from:n,to:t})):h instanceof Error?i(h):g4(h)?i(ts(2,{from:t,to:h})):(r&&s.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),a())},c=e.call(s&&s.instances[o],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(h=>i(h))})}function br(e,t,n,s){const o=[];for(const r of e)for(const a in r.components){let i=r.components[a];if(!(t!=="beforeRouteEnter"&&!r.instances[a]))if(W4(i)){const c=(i.__vccOpts||i)[t];c&&o.push(dn(c,n,s,r,a))}else{let l=i();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${r.path}"`));const d=Jp(c)?c.default:c;r.components[a]=d;const p=(d.__vccOpts||d)[t];return p&&dn(p,n,s,r,a)()}))}}return o}function W4(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function dc(e){const t=it(Jo),n=it(Ka),s=j(()=>t.resolve(Wn(e.to))),o=j(()=>{const{matched:l}=s.value,{length:c}=l,d=l[c-1],h=n.matched;if(!d||!h.length)return-1;const p=h.findIndex(es.bind(null,d));if(p>-1)return p;const C=fc(l[c-2]);return c>1&&fc(d)===C&&h[h.length-1].path!==C?h.findIndex(es.bind(null,l[c-2])):p}),r=j(()=>o.value>-1&&G4(n.params,s.value.params)),a=j(()=>o.value>-1&&o.value===n.matched.length-1&&Nu(n.params,s.value.params));function i(l={}){return Y4(l)?t[Wn(e.replace)?"replace":"push"](Wn(e.to)).catch(Ss):Promise.resolve()}return{route:s,href:j(()=>s.value.href),isActive:r,isExactActive:a,navigate:i}}const q4=ye({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:dc,setup(e,{slots:t}){const n=$t(dc(e)),{options:s}=it(Jo),o=j(()=>({[hc(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[hc(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:Kt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),K4=q4;function Y4(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function G4(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Rt(o)||o.length!==s.length||s.some((r,a)=>r!==o[a]))return!1}return!0}function fc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const hc=(e,t,n)=>e??t??n,X4=ye({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=it(ia),o=j(()=>e.route||s.value),r=it(uc,0),a=j(()=>{let c=Wn(r);const{matched:d}=o.value;let h;for(;(h=d[c])&&!h.components;)c++;return c}),i=j(()=>o.value.matched[a.value]);_s(uc,j(()=>a.value+1)),_s(V4,i),_s(ia,o);const l=ce();return ze(()=>[l.value,i.value,e.name],([c,d,h],[p,C,b])=>{d&&(d.instances[h]=c,C&&C!==d&&c&&c===p&&(d.leaveGuards.size||(d.leaveGuards=C.leaveGuards),d.updateGuards.size||(d.updateGuards=C.updateGuards))),c&&d&&(!C||!es(d,C)||!p)&&(d.enterCallbacks[h]||[]).forEach(E=>E(c))},{flush:"post"}),()=>{const c=o.value,d=e.name,h=i.value,p=h&&h.components[d];if(!p)return pc(n.default,{Component:p,route:c});const C=h.props[d],b=C?C===!0?c.params:typeof C=="function"?C(c):C:null,L=Kt(p,Re({},b,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return pc(n.default,{Component:L,route:c})||L}}});function pc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const J4=X4;function Q4(e){const t=M4(e.routes,e),n=e.parseQuery||U4,s=e.stringifyQuery||cc,o=e.history,r=hs(),a=hs(),i=hs(),l=t1(ln);let c=ln;Bn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=vr.bind(null,V=>""+V),h=vr.bind(null,H4),p=vr.bind(null,yo);function C(V,se){let ee,W;return Fu(V)?(ee=t.getRecordMatcher(V),W=se):W=V,t.addRoute(W,ee)}function b(V){const se=t.getRecordMatcher(V);se&&t.removeRoute(se)}function E(){return t.getRoutes().map(V=>V.record)}function L(V){return!!t.getRecordMatcher(V)}function k(V,se){if(se=Re({},se||l.value),typeof V=="string"){const u=_r(n,V,se.path),g=t.resolve({path:u.path},se),M=o.createHref(u.fullPath);return Re(u,g,{params:p(g.params),hash:yo(u.hash),redirectedFrom:void 0,href:M})}let ee;if("path"in V)ee=Re({},V,{path:_r(n,V.path,se.path).path});else{const u=Re({},V.params);for(const g in u)u[g]==null&&delete u[g];ee=Re({},V,{params:h(u)}),se.params=h(se.params)}const W=t.resolve(ee,se),oe=V.hash||"";W.params=d(p(W.params));const y=t4(s,Re({},V,{hash:j4(oe),path:W.path})),f=o.createHref(y);return Re({fullPath:y,hash:oe,query:s===cc?z4(V.query):V.query||{}},W,{redirectedFrom:void 0,href:f})}function T(V){return typeof V=="string"?_r(n,V,l.value.path):Re({},V)}function P(V,se){if(c!==V)return ts(8,{from:se,to:V})}function S(V){return Y(V)}function x(V){return S(Re(T(V),{replace:!0}))}function F(V){const se=V.matched[V.matched.length-1];if(se&&se.redirect){const{redirect:ee}=se;let W=typeof ee=="function"?ee(V):ee;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=T(W):{path:W},W.params={}),Re({query:V.query,hash:V.hash,params:"path"in W?{}:V.params},W)}}function Y(V,se){const ee=c=k(V),W=l.value,oe=V.state,y=V.force,f=V.replace===!0,u=F(ee);if(u)return Y(Re(T(u),{state:typeof u=="object"?Re({},oe,u.state):oe,force:y,replace:f}),se||ee);const g=ee;g.redirectedFrom=se;let M;return!y&&n4(s,W,ee)&&(M=ts(16,{to:g,from:W}),$e(W,W,!0,!1)),(M?Promise.resolve(M):ae(g,W)).catch(I=>Wt(I)?Wt(I,2)?I:ve(I):te(I,g,W)).then(I=>{if(I){if(Wt(I,2))return Y(Re({replace:f},T(I.to),{state:typeof I.to=="object"?Re({},oe,I.to.state):oe,force:y}),se||g)}else I=ne(g,W,!0,f,oe);return de(g,W,I),I})}function Z(V,se){const ee=P(V,se);return ee?Promise.reject(ee):Promise.resolve()}function J(V){const se=Ye.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(V):V()}function ae(V,se){let ee;const[W,oe,y]=e5(V,se);ee=br(W.reverse(),"beforeRouteLeave",V,se);for(const u of W)u.leaveGuards.forEach(g=>{ee.push(dn(g,V,se))});const f=Z.bind(null,V,se);return ee.push(f),Ne(ee).then(()=>{ee=[];for(const u of r.list())ee.push(dn(u,V,se));return ee.push(f),Ne(ee)}).then(()=>{ee=br(oe,"beforeRouteUpdate",V,se);for(const u of oe)u.updateGuards.forEach(g=>{ee.push(dn(g,V,se))});return ee.push(f),Ne(ee)}).then(()=>{ee=[];for(const u of y)if(u.beforeEnter)if(Rt(u.beforeEnter))for(const g of u.beforeEnter)ee.push(dn(g,V,se));else ee.push(dn(u.beforeEnter,V,se));return ee.push(f),Ne(ee)}).then(()=>(V.matched.forEach(u=>u.enterCallbacks={}),ee=br(y,"beforeRouteEnter",V,se),ee.push(f),Ne(ee))).then(()=>{ee=[];for(const u of a.list())ee.push(dn(u,V,se));return ee.push(f),Ne(ee)}).catch(u=>Wt(u,8)?u:Promise.reject(u))}function de(V,se,ee){i.list().forEach(W=>J(()=>W(V,se,ee)))}function ne(V,se,ee,W,oe){const y=P(V,se);if(y)return y;const f=se===ln,u=Bn?history.state:{};ee&&(W||f?o.replace(V.fullPath,Re({scroll:f&&u&&u.scroll},oe)):o.push(V.fullPath,oe)),l.value=V,$e(V,se,ee,f),ve()}let m;function N(){m||(m=o.listen((V,se,ee)=>{if(!pt.listening)return;const W=k(V),oe=F(W);if(oe){Y(Re(oe,{replace:!0}),W).catch(Ss);return}c=W;const y=l.value;Bn&&u4(tc(y.fullPath,ee.delta),Xo()),ae(W,y).catch(f=>Wt(f,12)?f:Wt(f,2)?(Y(f.to,W).then(u=>{Wt(u,20)&&!ee.delta&&ee.type===Bs.pop&&o.go(-1,!1)}).catch(Ss),Promise.reject()):(ee.delta&&o.go(-ee.delta,!1),te(f,W,y))).then(f=>{f=f||ne(W,y,!1),f&&(ee.delta&&!Wt(f,8)?o.go(-ee.delta,!1):ee.type===Bs.pop&&Wt(f,20)&&o.go(-1,!1)),de(W,y,f)}).catch(Ss)}))}let B=hs(),X=hs(),G;function te(V,se,ee){ve(V);const W=X.list();return W.length?W.forEach(oe=>oe(V,se,ee)):console.error(V),Promise.reject(V)}function he(){return G&&l.value!==ln?Promise.resolve():new Promise((V,se)=>{B.add([V,se])})}function ve(V){return G||(G=!V,N(),B.list().forEach(([se,ee])=>V?ee(V):se()),B.reset()),V}function $e(V,se,ee,W){const{scrollBehavior:oe}=e;if(!Bn||!oe)return Promise.resolve();const y=!ee&&d4(tc(V.fullPath,0))||(W||!ee)&&history.state&&history.state.scroll||null;return Yn().then(()=>oe(V,se,y)).then(f=>f&&c4(f)).catch(f=>te(f,V,se))}const Te=V=>o.go(V);let Ke;const Ye=new Set,pt={currentRoute:l,listening:!0,addRoute:C,removeRoute:b,hasRoute:L,getRoutes:E,resolve:k,options:e,push:S,replace:x,go:Te,back:()=>Te(-1),forward:()=>Te(1),beforeEach:r.add,beforeResolve:a.add,afterEach:i.add,onError:X.add,isReady:he,install(V){const se=this;V.component("RouterLink",K4),V.component("RouterView",J4),V.config.globalProperties.$router=se,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>Wn(l)}),Bn&&!Ke&&l.value===ln&&(Ke=!0,S(o.location).catch(oe=>{}));const ee={};for(const oe in ln)Object.defineProperty(ee,oe,{get:()=>l.value[oe],enumerable:!0});V.provide(Jo,se),V.provide(Ka,Gc(ee)),V.provide(ia,l);const W=V.unmount;Ye.add(V),V.unmount=function(){Ye.delete(V),Ye.size<1&&(c=ln,m&&m(),m=null,l.value=ln,Ke=!1,G=!1),W()}}};function Ne(V){return V.reduce((se,ee)=>se.then(()=>J(ee)),Promise.resolve())}return pt}function e5(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let a=0;aes(c,i))?s.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(c=>es(c,l))||o.push(l))}return[n,s,o]}function Pn(){return it(Jo)}function Wu(){return it(Ka)}const Qo=kt({id:"metaStore",state:()=>({title:"",description:"",links:[],scripts:[],meta:[]}),getters:{getTitle(){const e=He(),t=Wu();let n=e.themeConfig.site.subtitle||"Blog";return t.name&&t.name==="home"&&(n=e.themeConfig.site.slogan),this.title===""?n:`${this.title} | ${n}`}},actions:{setTitle(e){this.title=In.global.te(`menu.${e}`)?In.global.t(`menu.${e}`):e},addScripts(...e){e=e.flat(1);for(const t of e)this.scripts.push(t)}}});class t5{constructor(t){w(this,"id","");w(this,"title","");w(this,"content","");w(this,"slug","");w(this,"date","");w(this,"categories_index","");w(this,"tags_index","");w(this,"author_index","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class n5{constructor(t){w(this,"title","");w(this,"content","");w(this,"slug","");if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class s5{constructor(t){w(this,"data",new Map);w(this,"capacity",5);w(this,"cacheKey","ob-recent-search-results-key");t&&this.initData(t)}initData(t){t.forEach(n=>{this.add(n)})}getData(){const t=localStorage.getItem(this.cacheKey);if(t===null)return[];let n=JSON.parse(t);return n=n.map(s=>({title:s.value.title,content:s.value.content,slug:s.value.slug})),n.length>this.data.size&&this.initData(n.reverse()),n}cache(){localStorage.setItem(this.cacheKey,JSON.stringify(this.toArray()))}toArray(){return Array.from(this.data,([t,n])=>({name:t,value:n})).reverse()}add(t){const n=new n5(t);this.data.has(n.slug)||(this.data.size===this.capacity&&this.data.delete(this.data.keys().next().value),this.data.set(n.slug,n),this.cache())}remove(t){this.data.has(t)&&(this.data.delete(t),this.cache())}}class mc{constructor(t){w(this,"indexes",[]);w(this,"contentLimit",100);t&&(this.indexes=t.map(n=>new t5(n)))}searchByPage(t,n,s){n=n||1,s=s||12;const o=this.search(t),r=o.length;if(r<=s)return o;const a=n*s,i=a+s>r?r:a+s;return o.slice(a,i)}search(t){const n=t.trim().toLocaleLowerCase().split(/[\s-]+/),s=[];return this.indexes.forEach(o=>{(!o.title||o.title.trim()==="")&&(o.title="Untitled");const r=o.title.trim(),a=r.toLocaleLowerCase(),i=o.content.trim(),l=i.toLocaleLowerCase(),c=o.slug;let d=-1,h=-1,p=-1,C=!0;if(l!==""?n.forEach((b,E)=>{d=a.indexOf(b),h=l.indexOf(b),d<0&&h<0?C=!1:(h<0&&(h=0),E===0&&(p=h))}):C=!1,C){const b=i;if(p>=0){let E=p-20,L=p+this.contentLimit-20;E<0&&(E=0),E===0&&(L=100),L>b.length&&(L=b.length);let k=b.slice(E,L);n.forEach(function(T){const P=new RegExp(T,"gi");k=k.replace(P,""+T+"")}),s.push({title:r,content:k,slug:c})}}}),s}}const er=kt({id:"searchStore",state:()=>({searchIndexes:new mc,recentResults:new s5,openModal:!1}),getters:{results(){return this.recentResults.getData()}},actions:{async fetchSearchIndex(){const{data:e}=await Vp();return this.searchIndexes=new mc(e),new Promise(t=>{t(this.searchIndexes)})},setOpenModal(e){this.openModal=e;let t;e===!0?document.body.classList.add("modal--active"):(t=document.getElementById("search-modal"),t&&(t.style.animation="0.85s ease 0s 1 normal none running opacity_hide"),document.body.classList.remove("modal--active"))},addRecentSearch(e){this.recentResults.add(e)}}}),o5=ye({name:"ArLogo",setup(){const e=He(),t=Pn();return{handleLogoClick:()=>{t.push("/")},avatarClass:j(()=>({"logo-image":!0,[e.themeConfig.theme.profile_shape]:!0})),themeConfig:j(()=>e.themeConfig)}}});const Me=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},r5={class:"flex mr-3"},a5=["src"],i5={class:"flex flex-col justify-center"},l5={key:0,class:"text-invert flex text-xl leading-tight text-white font-extrabold"},c5={key:1,class:"text-invert flex text-xl leading-tight text-white font-extrabold"},u5={class:"text-invert font-extrabold text-[0.45rem] leading-tight uppercase text-white"};function d5(e,t,n,s,o,r){const a=ie("ob-skeleton");return O(),$("div",{class:"header-logo flex items-center self-stretch relative cursor-pointer hover:scale-110 transition-transform transform-gpu duration-500",onClick:t[0]||(t[0]=(...i)=>e.handleLogoClick&&e.handleLogoClick(...i))},[v("span",r5,[e.themeConfig.site.author?(O(),$("img",{key:0,class:Ce(e.avatarClass),src:e.themeConfig.site.logo||e.themeConfig.site.avatar,alt:"site-logo"},null,10,a5)):(O(),be(a,{key:1,width:"2rem",height:"2rem",circle:""}))]),v("div",i5,[e.themeConfig.site.author?(O(),$("span",l5,K(e.themeConfig.site.author),1)):(O(),$("span",c5," LOADING ")),v("span",u5,K(e.themeConfig.site.nick||"BLOG"),1)])])}const f5=Me(o5,[["render",d5]]),Ya=kt({id:"dropdown",state:()=>({commandName:"",uid:0}),getters:{},actions:{setCommand(e){this.commandName=e},setUid(){return this.uid=Date.now(),this.uid}}}),h5=ye({emits:["command"],name:"ObDropdown",props:{hover:{type:Boolean,default:!1}},setup(e,{emit:t}){const n=as(),s=ut(e).hover,o=Ya(),r=ce(0);ze(()=>o.commandName,(h,p)=>{const C=h||p;r.value===o.uid&&t("command",C)});const a=$t({active:!1}),i=()=>{a.active||(r.value=o.setUid()),s.value||(a.active=!a.active)},l=()=>{!s.value&&!n.isMobile&&(a.active=!1,r.value=0)},c=()=>{a.active||(r.value=o.setUid()),s.value&&(a.active=!0)},d=()=>{s.value&&(a.active=!1,r.value=0)};return _s("sharedState",a),{toggle:i,onClickAway:l,hoverHandler:c,leaveHandler:d}}});function p5(e,t,n,s,o,r){const a=Sa("click-away");return Xt((O(),$("div",{class:"ob-dropdown relative z-50",onClick:t[0]||(t[0]=(...i)=>e.toggle&&e.toggle(...i)),onMouseover:t[1]||(t[1]=(...i)=>e.hoverHandler&&e.hoverHandler(...i)),onMouseleave:t[2]||(t[2]=(...i)=>e.leaveHandler&&e.leaveHandler(...i))},[Jt(e.$slots,"default")],32)),[[a,e.onClickAway]])}const Ga=Me(h5,[["render",p5]]),m5=ye({name:"ObDropdownMenu",props:{expand:{type:Boolean,default:!1}},setup(){const e=Ya(),t=it("sharedState",{active:!1}),n=j(()=>t.active);return ze(()=>e.commandName,(s,o)=>{o!==s&&(t.active=!1)}),{active:n}}});const g5={key:0,class:"origin-top-right absolute right-0 mt-2 w-48 bg-ob-deep-900 rounded-lg py-2 shadow-md"},v5={key:1,class:"flex flex-col justify-center items-center mt-2 w-48 bg-ob-deep-900 rounded-lg py-2"};function _5(e,t,n,s,o,r){return O(),be(Pt,{name:"dropdown-content"},{default:De(()=>[!e.expand&&e.active?(O(),$("div",g5,[Jt(e.$slots,"default",{},void 0,!0)])):e.expand&&e.active?(O(),$("div",v5,[Jt(e.$slots,"default",{},void 0,!0)])):fe("",!0)]),_:3})}const Xa=Me(m5,[["render",_5],["__scopeId","data-v-72651e3e"]]),b5=ye({name:"ObDropdownItem",props:{name:String,active:Boolean},setup(e){const t=Ya();return{handleClick:()=>{t.setCommand(String(e.name))},itemClasses:j(()=>({"text-ob-bright block cursor-pointer hover:bg-ob-trans my-1 px-4 py-1 font-medium text-invert hover:text-ob-bright":!0,active:!!e.active}))}}});function y5(e,t,n,s,o,r){return O(),$("div",{onClick:t[0]||(t[0]=vt((...a)=>e.handleClick&&e.handleClick(...a),["stop","prevent"])),class:Ce(e.itemClasses)},[Jt(e.$slots,"default",{},void 0,!0)],2)}const Ja=Me(b5,[["render",y5],["__scopeId","data-v-2967cd4b"]]),k5=ye({name:"ObToggle",props:{status:Boolean},emits:["changeStatus"],setup(e,{emit:t}){const{status:n}=ut(e);dt(()=>{a()});const s=$t({transform:"",background:"#6e40c9"});let o=n.value;const r=()=>{o=!o,a(),t("changeStatus",o)},a=()=>{const i=o?"18px":"0";s.transform=`translateX(${i})`;const l=o?"#6e40c9":"#100E16";s.background=l};return{toggleStyle:s,changeStatus:r}}});const w5=e=>(xo("data-v-d4b635a1"),e=e(),$o(),e),C5=w5(()=>v("div",{class:"toggle-track"},null,-1));function E5(e,t,n,s,o,r){return O(),$("div",{class:"toggler",onClick:t[0]||(t[0]=(...a)=>e.changeStatus&&e.changeStatus(...a))},[C5,v("div",{class:"slider",style:Ie({transform:e.toggleStyle.transform,backgroundColor:e.toggleStyle.background})},[Jt(e.$slots,"default",{},void 0,!0)],4)])}const S5=Me(k5,[["render",E5],["__scopeId","data-v-d4b635a1"]]),M5=ye({name:"ObThemeToggle",components:{Toggle:S5},setup(){const e=He(),t=e.theme==="theme-dark",n=$t({fill:"yellow",margin:"7px 0 0 7px"}),s=o=>{e.toggleTheme(o)};return{svg:j(()=>n),handleChange:s,defaultStatus:t}}}),T5=v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.52208 7.71754C7.5782 7.71754 10.0557 5.24006 10.0557 2.18394C10.0557 1.93498 10.0392 1.68986 10.0074 1.44961C9.95801 1.07727 10.3495 0.771159 10.6474 0.99992C12.1153 2.12716 13.0615 3.89999 13.0615 5.89383C13.0615 9.29958 10.3006 12.0605 6.89485 12.0605C3.95334 12.0605 1.49286 10.001 0.876728 7.24527C0.794841 6.87902 1.23668 6.65289 1.55321 6.85451C2.41106 7.40095 3.4296 7.71754 4.52208 7.71754Z"},null,-1),O5=[T5];function A5(e,t,n,s,o,r){const a=ie("Toggle");return O(),be(a,{status:e.defaultStatus,onChangeStatus:e.handleChange},{default:De(()=>[(O(),$("svg",{style:Ie({fill:e.svg.fill,margin:e.svg.margin}),"aria-hidden":"true",width:"14",height:"13",viewBox:"0 0 14 13",xmlns:"http://www.w3.org/2000/svg"},O5,4))]),_:1},8,["status","onChangeStatus"])}const L5=Me(M5,[["render",A5]]),I5=ye({name:"ObSearchModal",setup(){const e=er(),t=ce(),n=ce(!1),s=ce([]),o=Pn(),r=ce(!1),a=ce(!1),i=ce(""),l=ce(),c=ce(0),d=ce(0),h=ce(!1),{t:p}=st(),C=Z=>{e.setOpenModal(Z)},b=Z=>{e.addRecentSearch(Z),x(),C(!1),Z.slug!==""&&o.push({name:"post-slug",params:{slug:Z.slug}})},E=()=>{i.value="",s.value=[],h.value=!1,F(l.value.length)},L=()=>{h.value!==!0&&(c.value===0?c.value=d.value:c.value=c.value-1,T())},k=()=>{h.value!==!0&&(c.value===d.value?c.value=0:c.value=c.value+1,T())},T=()=>{const Z=document.getElementById("Search-Dropdown"),J=document.getElementById(`search-hit-item-${c.value}`),ae=Z==null?void 0:Z.getBoundingClientRect().height,de=J==null?void 0:J.getBoundingClientRect().height;if(de&&ae&&Z){const m=36+de*(c.value+1)-ae;m>0&&Z.scrollTo({top:m})}Z&&c.value===0&&Z.scrollTo({top:0})},P=()=>{s.value.length===0&&l.value.length>0&&b(l.value[c.value]),s.value.length>0&&b(s.value[c.value])},S=_.debounce(Z=>{Z.target.value!==""?(s.value=e.searchIndexes.search(Z.target.value),s.value.length>0?(F(s.value.length),h.value=!1):h.value=!0):(h.value=!1,s.value=[],F(l.value.length))},500),x=()=>{l.value=e.recentResults.getData(),F(l.value.length)},F=Z=>{c.value=0,d.value=Z-1};return No(async()=>{n.value=!1,h.value=!1,await e.fetchSearchIndex().then(()=>{n.value=!0})}),dt(()=>setTimeout(()=>{t.value&&t.value.focus()},200)),m1(()=>{i.value="",s.value=[],setTimeout(()=>{t.value&&t.value.focus()},200)}),os(()=>{document.body.classList.remove("modal--active")}),ze(()=>e.openModal,Z=>{Z===!0&&x(),Z===!1?setTimeout(()=>{r.value=Z},850):r.value=Z,setTimeout(()=>{a.value=Z},200)}),{openModal:j(()=>r.value),openSearchContainer:j(()=>a.value),searchResultsCount:j(()=>p("settings.search-result").replace("[total]",String(s.value.length))),handleStatusChange:C,handleLinkClick:b,searchInput:t,searchResults:s,keyword:i,isEmpty:h,searchKeyword:S,recentResults:l,handleResetInput:E,handleArrowUp:L,handleArrowDown:k,handleEnterDown:P,menuActiveIndex:c,t:p}}}),x5={key:0,id:"search-container",class:"search-container"},$5={class:"flex pt-4 pr-4 pl-4"},P5={class:"search-form",action:""},R5=v("label",{id:"search-label",class:"items-center flex justify-center",for:"search-input"},[v("svg",{class:"text-ob fill-current stroke-current",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-reactroot":""},[v("path",{"stroke-linejoin":"round","stroke-linecap":"round","stroke-width":"1",stroke:"",d:"M15.9996 15.2877L15.2925 15.9948L21.2958 21.9981L22.0029 21.291L15.9996 15.2877Z"}),v("path",{"stroke-linejoin":"round","stroke-linecap":"round","stroke-width":"1",stroke:"",fill:"rgba(0,0,0,0)",d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18Z"})])],-1),N5=v("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},[v("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),D5=[N5],F5={key:0,id:"Search-Dropdown",class:"search-dropdown"},j5={key:0},B5={class:"search-hit-label"},Z5={id:"search-menu"},H5=["id"],U5=["onClick"],z5={class:"search-hit-container"},V5=v("div",{class:"search-hit-icon"},[v("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},[v("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linejoin":"round"})])],-1),W5={class:"search-hit-content-wrapper"},q5=["innerHTML"],K5={class:"search-hit-path"},Y5=v("div",{class:"search-hit-action"},[v("svg",{class:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},[v("g",{stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"},[v("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),v("path",{d:"M8 17l-6-6 6-6"})])])],-1),G5={key:1},X5={class:"search-hit-label"},J5={id:"search-menu"},Q5=["id"],e8=["onClick"],t8={class:"search-hit-container"},n8=v("div",{class:"search-hit-icon"},[v("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},[v("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linejoin":"round"})])],-1),s8={class:"search-hit-content-wrapper"},o8=["innerHTML"],r8={class:"search-hit-path"},a8=v("div",{class:"search-hit-action"},[v("svg",{class:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},[v("g",{stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"},[v("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),v("path",{d:"M8 17l-6-6 6-6"})])])],-1),i8={key:1,class:"search-startscreen"},l8={key:2,class:"search-startscreen"},c8={class:"search-footer"},u8={class:"search-logo"},d8={href:"https://www.algolia.com/docsearch",target:"_blank",rel:"noopener noreferrer"},f8={class:"search-label"},h8=v("img",{class:"mr-1.5",src:"https://res.cloudinary.com/tridiamond/image/upload/v1625037705/ObsidianestLogo-hex_hecqbw.png",alt:"ObsidianNext Logo",height:"20",width:"20"},null,-1),p8=v("span",{class:"text-ob"},"Aurora",-1),m8={class:"search-commands"},g8=v("span",{class:"search-commands-key"},[v("svg",{width:"15",height:"15"},[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.2"},[v("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"})])])],-1),v8={class:"search-commands-label"},_8=v("span",{class:"search-commands-key"},[v("svg",{width:"15",height:"15"},[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.2"},[v("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"})])])],-1),b8=v("span",{class:"search-commands-key"},[v("svg",{width:"15",height:"15"},[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.2"},[v("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"})])])],-1),y8={class:"search-commands-label"},k8=v("span",{class:"search-commands-key"},[v("svg",{width:"15",height:"15"},[v("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.2"},[v("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"})])])],-1),w8={class:"search-commands-label"};function C8(e,t,n,s,o,r){return e.openModal?(O(),$("div",{key:0,id:"search-modal",onKeydown:[t[3]||(t[3]=Tn(a=>e.handleStatusChange(!1),["esc"])),t[4]||(t[4]=Tn(vt(a=>e.handleStatusChange(!1),["meta","stop","prevent"]),["k"])),t[5]||(t[5]=Tn(vt((...a)=>e.handleArrowUp&&e.handleArrowUp(...a),["stop","prevent"]),["arrow-up"])),t[6]||(t[6]=Tn(vt((...a)=>e.handleArrowDown&&e.handleArrowDown(...a),["stop","prevent"]),["arrow-down"])),t[7]||(t[7]=Tn(vt((...a)=>e.handleEnterDown&&e.handleEnterDown(...a),["stop","prevent"]),["enter"]))],onClick:t[8]||(t[8]=vt(a=>e.handleStatusChange(!1),["self"])),tabindex:"-1"},[R(Pt,{name:"fade-bounce-pure-y",mode:"out-in"},{default:De(()=>[e.openSearchContainer?(O(),$("div",x5,[v("header",$5,[v("form",P5,[R5,Xt(v("input",{type:"search",id:"search-input",ref:"searchInput",class:"search-input",autocomplete:"off","onUpdate:modelValue":t[0]||(t[0]=a=>e.keyword=a),onInput:t[1]||(t[1]=(...a)=>e.searchKeyword&&e.searchKeyword(...a))},null,544),[[g2,e.keyword]]),Xt(v("button",{class:"search-btn",type:"reset",title:"Clear the query",onClick:t[2]||(t[2]=(...a)=>e.handleResetInput&&e.handleResetInput(...a))},D5,512),[[jo,e.keyword.length>0]])])]),(e.searchResults.length>0||e.recentResults.length>0)&&!e.isEmpty?(O(),$("div",F5,[v("div",null,[e.searchResults.length>0?(O(),$("section",j5,[v("div",B5,K(e.searchResultsCount),1),v("ul",Z5,[(O(!0),$(me,null,Ue(e.searchResults,(a,i)=>(O(),$("li",{key:a.slug,class:Ce({"search-hit":!0,active:i==e.menuActiveIndex}),id:"search-hit-item-"+i},[v("a",{href:"javascript:void(0)",onClick:l=>e.handleLinkClick(a)},[v("div",z5,[V5,v("div",W5,[v("span",{class:"search-hit-title",innerHTML:a.content},null,8,q5),v("span",K5,K(a.title),1)]),Y5])],8,U5)],10,H5))),128))])])):(O(),$("section",G5,[v("div",X5,K(e.t("settings.recently-search")),1),v("ul",J5,[(O(!0),$(me,null,Ue(e.recentResults,(a,i)=>(O(),$("li",{key:a.slug,class:Ce({"search-hit":!0,active:i==e.menuActiveIndex}),id:"search-hit-item-"+i},[v("a",{href:"javascript:void(0)",onClick:l=>e.handleLinkClick(a)},[v("div",t8,[n8,v("div",s8,[v("span",{class:"search-hit-title",innerHTML:a.content},null,8,o8),v("span",r8,K(a.title),1)]),a8])],8,e8)],10,Q5))),128))])]))])])):e.isEmpty?(O(),$("div",l8,[v("p",null,K(e.t("settings.no-search-result")),1)])):(O(),$("div",i8,[v("p",null,K(e.t("settings.no-recent-search")),1)])),v("div",c8,[v("div",u8,[v("a",d8,[v("span",f8,K(e.t("settings.searched-by")),1),h8,p8])]),v("ul",m8,[v("li",null,[g8,v("span",v8,K(e.t("settings.cmd-to-select")),1)]),v("li",null,[_8,b8,v("span",y8,K(e.t("settings.cmd-to-navigate")),1)]),v("li",null,[k8,v("span",w8,K(e.t("settings.cmd-to-close")),1)])])])])):fe("",!0)]),_:1})],32)):fe("",!0)}const E8=Me(I5,[["render",C8]]);function S8(e){return/^(https?:|mailto:|tel:)/.test(e)}function M8(e){return/^(\/)+([a-zA-Z0-9\s_\\.\-():/])+(.svg|.png|.jpg)$/g.test(e)||/^(https?:|mailto:|tel:)/.test(e)}var tr=(e=>(e.fill="fill",e.stroke="stroke",e))(tr||{});const T8=ye({name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""},fill:{type:String,default:""},stroke:{type:String,default:""},svgType:{type:String,default:"fill"},width:{type:String,default:"1em"},height:{type:String,default:"1em"}},setup(e){const t=He(),n=j(()=>M8(e.iconClass)),s=ce({content:"",attributes:{}}),o=j(()=>`#icon-${e.iconClass}`),r=j(()=>({"svg-icon":!0,"external-icon":n.value,[e.className]:e.className})),a=async()=>{const l=await(await fetch(e.iconClass)).text(),c=new DOMParser().parseFromString(l,"image/svg+xml").querySelector("svg");if(c!==null){const d=[...c.attributes].map(h=>[h.name,h.value]);s.value={content:c.innerHTML,attributes:Object.fromEntries(d)}}};return dt(()=>{n.value&&a()}),{svgStyle:j(()=>e.svgType==="fill"?{fill:e.fill?e.fill:"currentColor",stroke:e.stroke?e.stroke:t.theme==="theme-dark"?"var(--background-primary)":"white",width:e.width,height:e.height}:{fill:e.fill?e.fill:"none",stroke:e.stroke?e.stroke:t.theme==="theme-dark"?"white":"currentColor",width:e.width,height:e.height}),isExternalClass:n,iconName:o,svgClass:r,externalSvg:s}}});const O8={key:0},A8=["data"],L8=["innerHTML","fill","stroke"],I8=["href","fill","stroke"];function x8(e,t,n,s,o,r){return e.isExternalClass?(O(),$("span",O8,[v("object",{class:"hidden",data:e.iconName},null,8,A8),(O(),$("svg",jr({class:e.svgClass,"aria-hidden":"true"},e.externalSvg.attributes,{innerHTML:e.externalSvg.content,style:{height:e.svgStyle.height,width:e.svgStyle.width},fill:e.fill!==""?e.fill:e.svgStyle.fill,stroke:e.stroke!==""?e.stroke:e.svgStyle.stroke}),null,16,L8))])):(O(),$("svg",jr({key:1,class:e.svgClass,"aria-hidden":"true"},e.$attrs,{style:{height:e.svgStyle.height,width:e.svgStyle.width}}),[v("use",{href:e.iconName,fill:e.fill!==""?e.fill:e.svgStyle.fill,stroke:e.stroke!==""?e.stroke:e.svgStyle.stroke},null,8,I8)],16))}const ht=Me(T8,[["render",x8]]),Ws=kt({id:"navigatorStore",state:()=>({openMenu:!1,openNavigator:!1,isDone:!1,progress:0}),getters:{},actions:{toggleMobileMenu(){this.isDone=!1,this.openMenu=!this.openMenu,setTimeout(()=>{this.isDone=this.openMenu},300)},toggleOpenNavigator(){this.openNavigator=!this.openNavigator},setOpenNavigator(e){this.openNavigator=e},updateProgress(e){this.progress=e}}}),$8=ye({name:"ArControls",components:{Dropdown:Ga,DropdownMenu:Xa,DropdownItem:Ja,ThemeToggle:L5,SearchModal:E8,SvgIcon:ht},props:{scrollProgress:{type:Number,default:0}},setup(e){const t=He(),n=er(),s=Ws(),o=ut(e).scrollProgress;return{handleBackToTop:()=>{window.scrollTo({top:0,behavior:"smooth"})},handleOpenModal:c=>{n.setOpenModal(c)},handleOpenMenu:()=>{s.toggleMobileMenu()},handleClick:c=>{t.changeLocale(c)},progressBallClasses:j(()=>({"progress-ball":!0,"activated-ball":o.value>0,"reset-ball":o.value===0})),leftControlClasses:j(()=>({"left-control":!0,"moved-right":o.value>0})),currentLocale:j(()=>t.locale),enableMultiLanguage:j(()=>t.themeConfig.site.multi_language)}}});const P8={class:"icon-control flex items-center text-invert","data-dia":"language"},R8={key:0},N8={key:1},D8={key:2},F8={class:"right-control"},j8={"no-hover-effect":"",class:"ob-drop-shadow hidden lg:flex","data-dia":"light-switch"};function B8(e,t,n,s,o,r){const a=ie("SvgIcon"),i=ie("DropdownItem"),l=ie("DropdownMenu"),c=ie("Dropdown"),d=ie("ThemeToggle"),h=ie("SearchModal");return O(),$(me,null,[v("div",{class:"header-controls ml-auto top-0 right-0 flex flex-row items-center text-white",onKeydown:t[3]||(t[3]=Tn(p=>e.handleOpenModal(!0),["k"])),tabindex:"0"},[v("div",{class:Ce(e.leftControlClasses)},[v("span",{class:"icon-control flex items-center text-invert","data-dia":"search",onClick:t[0]||(t[0]=p=>e.handleOpenModal(!0))},[R(a,{"icon-class":"search",fill:"currentColor",stroke:"none",width:"1.2rem",height:"1.2rem"})]),e.enableMultiLanguage?(O(),be(c,{key:0,onCommand:e.handleClick,value:e.currentLocale},{default:De(()=>[v("span",P8,[R(a,{"icon-class":"translate",fill:"currentColor",stroke:"none",width:"1.2rem",height:"1.2rem"}),e.$i18n.locale=="zh-CN"?(O(),$("span",R8,"简体")):fe("",!0),e.$i18n.locale=="zh-TW"?(O(),$("span",N8,"繁體")):fe("",!0),e.$i18n.locale=="en"?(O(),$("span",D8,"En")):fe("",!0)]),R(l,null,{default:De(()=>[R(i,{name:"en",active:e.currentLocale==="en"},{default:De(()=>[Ve(" English ")]),_:1},8,["active"]),R(i,{name:"zh-CN",active:e.currentLocale==="zh-CN"},{default:De(()=>[Ve(" 简体 ")]),_:1},8,["active"]),R(i,{name:"zh-TW",active:e.currentLocale==="zh-TW"},{default:De(()=>[Ve(" 繁體 ")]),_:1},8,["active"])]),_:1})]),_:1},8,["onCommand","value"])):fe("",!0)],2),v("div",F8,[v("div",{class:Ce(e.progressBallClasses),onClick:t[1]||(t[1]=(...p)=>e.handleBackToTop&&e.handleBackToTop(...p))},[v("span",null,[R(a,{"icon-class":"back-to-top",stroke:"var(--text-invert)",width:"1.1rem",height:"1.1rem"})]),Ve(" "+K(e.scrollProgress),1)],2),v("span",j8,[R(d)]),v("span",{class:"icon-control flex lg:hidden items-center","data-dia":"menu",onClick:t[2]||(t[2]=p=>e.handleOpenMenu())},[R(a,{"icon-class":"hamburger",fill:"currentColor",stroke:"none",width:"1.2rem",height:"1.2rem"})])])],32),(O(),be(La,{to:"body"},[R(h)]))],64)}const Z8=Me($8,[["render",B8],["__scopeId","data-v-332d6904"]]),H8=ye({name:"ArNavigation",components:{Dropdown:Ga,DropdownMenu:Xa,DropdownItem:Ja},setup(){const{t:e,te:t}=st(),n=Pn(),s=He(),o=r=>{r&&(S8(r)?window.location.href=r:n.push({path:r}))};return{locale:j(()=>s.locale),routes:j(()=>s.themeConfig.menu.menus),pushPage:o,te:t,t:e}}});const U8={class:"items-center flex-1 hidden lg:flex"},z8={class:"flex flex-row items-center list-none px-6 text-white"},V8=["onClick","data-menu"],W8={key:0,class:"relative z-50"},q8={key:1,class:"relative z-50"},K8={key:0,class:"relative z-50"},Y8={key:1,class:"relative z-50"},G8={key:0,class:"relative z-50"},X8={key:1,class:"relative z-50"};function J8(e,t,n,s,o,r){const a=ie("DropdownItem"),i=ie("DropdownMenu"),l=ie("Dropdown");return O(),$("nav",U8,[v("ul",z8,[(O(!0),$(me,null,Ue(e.routes,c=>(O(),$("li",{class:"not-italic font-medium text-xs h-full relative flex flex-col items-center justify-center cursor-pointer text-center py-2 px-2",key:c.path},[c.children&&c.children.length===0?(O(),$("div",{key:0,class:"nav-link text-sm block px-1.5 py-0.5 rounded-md relative uppercase cursor-pointer",onClick:d=>e.pushPage(c.path),"data-menu":c.name},[e.locale?(O(),$("span",W8,K(c.i18n[e.locale]),1)):(O(),$("span",q8,K(c.name),1))],8,V8)):(O(),be(l,{key:1,onCommand:e.pushPage,hover:"",class:"nav-link text-sm block px-1.5 py-0.5 rounded-md relative uppercase"},{default:De(()=>[e.locale?(O(),$("span",K8,K(c.i18n[e.locale]),1)):(O(),$("span",Y8,K(c.name),1)),R(i,null,{default:De(()=>[(O(!0),$(me,null,Ue(c.children,d=>(O(),be(a,{key:d.path,name:d.path},{default:De(()=>[e.locale?(O(),$("span",G8,K(d.i18n[e.locale]),1)):(O(),$("span",X8,K(d.name),1))]),_:2},1032,["name"]))),128))]),_:2},1024)]),_:2},1032,["onCommand"]))]))),128))])])}const Q8=Me(H8,[["render",J8]]),e6=ye({name:"ARNotification",components:{SvgIcon:ht},setup(){const e=as(),t=ce(e.notificationState),n=ce(100);return ze(()=>e.notificationState,s=>{let o=0;t.value=s,s&&(n.value=100,window.setTimeout(()=>{o=window.setInterval(()=>{n.value=n.value-20},800)}),window.setTimeout(()=>{e.closeNotification(),clearInterval(o),n.value=100},5e3))}),{message:j(()=>e.notificationMessage),notificationClasses:j(()=>({"notification absolute z-50 shadow-2xl":!0,open:t.value})),progressStyle:j(()=>({width:`${n.value}%`}))}}});const t6={class:"flex flex-col relative bg-ob-deep-900 rounded-xl pt-3 overflow-hidden"},n6={class:"flex items-center space-x-4 px-6"};function s6(e,t,n,s,o,r){const a=ie("SvgIcon");return O(),$("div",{class:Ce(e.notificationClasses)},[v("div",t6,[v("div",n6,[R(a,{"icon-class":"bell",stroke:"var(--text-normal)",fill:"none",width:"1.4rem",height:"1.4rem"}),v("span",null,K(e.message),1)]),v("span",{class:"progress-bar mt-3",style:Ie(e.progressStyle)},null,4)])],2)}const o6=Me(e6,[["render",s6]]),r6=ye({name:"ObSticky",emits:["activeChange"],props:{stickyTop:{type:Number,default:0},zIndex:{type:Number,default:1},className:{type:String,default:""},stickyBottom:{type:Number,default:0},endingElId:{type:String,default:""},dynamicElClass:{type:String,default:""},delay:{type:Number,default:0}},setup(e){const t=ce(!1),n=ce(""),s=ce(),o=ce(),r=ce(!1),a=ce(0),i=ce(0),l=ce(!1),c=Ws(),d=j(()=>({top:r.value?i.value===-1?"initial":i.value+"px":"",bottom:l.value?0:"initial",zIndex:e.zIndex,position:n.value,width:s.value,height:o.value+"px"}));return{navigatorStore:c,styles:d,active:t,position:n,width:s,height:o,isSticky:r,newTop:a,top:i,isBottom:l}},mounted(){this.height=this.$el.getBoundingClientRect().height,this.updateScroll(),document.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize)},activated(){this.updateScroll()},unmounted(){document.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize)},methods:{sticky(e,t){this.active||(this.top=e,this.position=t,this.active=!0,this.width=this.width+"px",this.isSticky=!0,this.$emit("activeChange",!0))},handleReset(){this.active&&this.reset()},reset(){this.$emit("activeChange",!1),setTimeout(()=>{this.position="",this.width="auto",this.active=!1,this.isSticky=!1},this.delay)},handleScroll(){_.throttle(this.updateScroll,100,{trailing:!0,leading:!0})()},updateProgress(){const e=Number((window.scrollY/(document.documentElement.scrollHeight-window.innerHeight)*100).toFixed(0));this.navigatorStore.updateProgress(e)},updateScroll(){this.updateProgress();const e=document.documentElement.scrollHeight,t=this.$el.getBoundingClientRect().width,n=this.$el.getBoundingClientRect().height;if(this.dynamicElClass!==""){const d=this.$el.querySelector(this.dynamicElClass);this.height=d.getBoundingClientRect().height||n}const s=window.scrollY;this.width=t||"auto";const o=this.$el.getBoundingClientRect().top,r=this.endingElId!==""?document.getElementById(this.endingElId):null,a=e-((r==null?void 0:r.offsetTop)??0),i=document.getElementById("App-Wrapper"),l=parseInt(window.getComputedStyle(i||document.documentElement).paddingBottom,10),c=r&&r instanceof HTMLElement?e-s-n-this.stickyTop-this.stickyBottom-a-l:e;if(o[a6])],6)],4)}const qu=Me(r6,[["render",i6]]),l6=ye({name:"ArHeader",components:{Logo:f5,Navigation:Q8,Controls:Z8,Notification:o6,Sticky:qu},props:{msg:String},setup(){const e=Ws(),t=ce(!1),n=s=>{t.value=s};return{containerClasses:j(()=>({"header-container":!0,"header-active":t.value})),progress:j(()=>e.progress),handleActiveState:n,active:t}}});const c6={class:"site-header lg:max-w-screen-2xl px-3 lg:px-8"};function u6(e,t,n,s,o,r){const a=ie("Logo"),i=ie("Navigation"),l=ie("Controls"),c=ie("Notification"),d=ie("Sticky");return O(),be(d,{stickyTop:0,"z-index":999,onActiveChange:e.handleActiveState,delay:650},{default:De(()=>[v("div",{class:Ce(e.containerClasses)},[v("header",c6,[R(a),R(i),R(l,{"scroll-progress":e.progress},null,8,["scroll-progress"]),R(c)])],2)]),_:1},8,["onActiveChange"])}const d6=Me(l6,[["render",u6]]),f6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUxpcfjxsuzNbOC3gOCzcezbl/PWkvnpveKrTPXMmtmTRu/ljumwSdq1geSbP+a8ae+zSurBV/LjrO7Yb+bNlfrrrtmNP/PgdenEWurKhenFdt2rYt/EjPXnu+e9faFjNbWReNq8fdi1hZ1xTuOtVVxBUlIxSGFPX+jGXvHgmu/hn/Hfj96tYe7Yqea7XfXimPLghP334+Cwbvr32N3CiN/Bd+K5fui0Wt2fUeS2U+zOeuO1Y/bmiuPEiuG0bqyKduG5hfvOWaBuWk8sPa6DW++jROfFZfLkl86JV/nuyOzZfvjVY9qkYd20dJ9yXL+YWWxSWcmjbpyQdoyHee7ZfOGsVuTBau3WeOW7V92nUdCSRee3UcaEQuOwVufJk4deQfPOgIpsTt2fR6R/Vtyzd86keNqsab6SX8GYdPWlPPy/VZySeevMYufDeenMZtqkT9KRU/LNYP3aj8imfLCMbdQsG+m+Xem4UurDXtYgF+e2Weq+VRgWb+/KXui7WOWzUxESfO3BWQ8JatIWEduVQdcKCw8PcttQJ+GjSenIZNZfLhcHX9dKKNqXUOnBaN+fR8pEIuO4YdOEPOm0T+/GXNdBJNS6c96jUNIeEsZRJOhyNPbKaedoLeR2OelcJG9wehkaeIN9etQ1HvDOYqqkhdhzNNg6H/jCUv3VWNEIBRUeidl+OPG+UtmjW+GQP9x0OsdeLMsLCPfFXSMOXfAsEcEOEaqBUaWOZU0GRM+wax81jbOgboeFf8izeu6uWaSbfb2ve+OtV9RqMt1rNN2DQt6IN49aOOaiQ7slGmlgblBMb8ovF91YKMcfEF9ujex/M2FkfYeMjJKNfnl3d5wGHpJ7Xu2NQuKxTNBZLseoWb9oOfY7GcE7LWUZSGYEOPevRp+AXDVGinSAi4ZvW60TFUcmU7Cbe7ipdNBGJv7oapJsSV8nUa81NL9GI/R6LbORVbJQOCgueogKJ3ZjXuNCHK4HGn1oYDMfXLp7Pi8LVmsuUKM7LkFXknNiZHtdUdwjFSsuVN8AAAB1dFJOUwAE/hMaDRsI/gH+FPw6/L/+9GT+cS/+7vyP0M0kQbD5w1uI/uf5+v7sTHyU3FvVPLgXvyRJ/aPk1fyq66Vn2NEt/Nv85/7eh2FLzPfvsvX9+N7m8trP7+ntyafrm/OH+Jz59+3Pn3/Mq+qq+NHq5MF4+InD117Lt0kAAAU3SURBVDjLbdV3VJNnFAdgE8gkCQkJS9nInspQRGSIu+496qhard3tySAkIYuEbCBkAAFCwpCN7CkgKGUvBffee1S7z+kXUiL2cP9+zu97733Pe79582YXaFFIAMHFJdqFEBCyCDRv7kLAYGbmMegoN5fo6Gg3AjrG3AwGQ8wBYdaObsfj4pydDx06cuTo0bi4427rHGFzBEJ8ok66bHJ3dr5w4enThoZNm1xOEgIgcwQ6nIj3XHnB+epVobC7qqK5tdHTM/6Ew/8jQTAoOv72SgBWVw/marIkFQboHo+GghCfdmt9eOMWj3tPCzVqjk7B56uJk6qOca8t4T9BZ2eCINahG7d6eLg3ZOVyknU6saKEMzLZWeDl9XM4GgozzQkUEmS51cPTa8v5kSJiQgJRp1CoOUMDZ9MmRj08jjkBnzdBxxWbH/zm9W7kJVENQKKiSM2pH1p1ti3vgefWY6EOINMEQ7fla7WXGjS5yclEIJPDIRLPnMnNedRBo+VvC40BzZwwyHVbPpN5qSHXBHUA5GvaC2i8ie2uQZBpiVgUc8ry63wmzf13/q/JyQkJuqIiXUJCSUkRX9lJ4+VtD15uPX3vIAf0qUAjHDRAokLMF+uIABw0wvXBjiEGCHH98qtVD9uYzNubRzTJJamX023g8J4qtTo3p/kRjZff8eOGNVYQExwHzvhq8iXnTGZ1OndqqrKHSMyabG6l8do6MmL9fA3QzC0cg2nvKC3tu4e6lfkiNfVcYVlZVVVZTyz90j88bUE7Fut00GwabsRgmh+Wlva/g6+qzkxNFQoLC7u7e5A1lA9eTG2BEotysjdA88X+NpVS5Z0WWu3r6pwc8ePUx0KhWNydU3X1N1rpHSW4F+O/2NwAF3xmYyNV/t3CE/31IiuLLzZkisUazeXXteyWO2FgDNcE09Nvnb07zGRfrK+7NijMzDxXmJN1ra7+vYg9fJdUzLWJtJwFx+4C8H1dHf8yAM9Nw4si3vAYq5iLDDTC8MVfyGqy2wtamE0379cPDQ0MDOj4fMX1tzd52o727Oykz43NmAEwpSY7rLOltKnp7cX7938B6vr1589vNtHePFIa4DJj107HkNwuajZ4bJjGFolEtU03btz4o1YkYvNGJwQbSFQ4fP4ycyOUIFVdNdKCsTdaNpstevDsz2e1Ijabp80bp8dSu2YgdH5YhUQiwfRKwzpb730YzWts3Pyqr7+/fzSvOQ3VK5PBk3avh07DbysAWYkhScOUjbfb2lqvXLkykdfXlz+eRu3FyGRTETuCDRBi5bsnQqVC2pSdL6/R6+n08nIslkTB4+msyvNIJHzKzpvgY3iKsHVWgXvgKiSysAxbfBqo4mIsNvb0kyexxQCUdEV4f+NjDZteTlAr39W4iKn0dK6Mrmex5HIGQ6/foE+RISVp0l2rCT4W/71tIHO1t10E0obLpdBJjKQkBomu1wtSZCqVFLxrfkDQzA6AOQasiLSzM5BEFoVComRksBhweBJVABZIF/q7zoJWKyIFAgqFSjVACoWewSCnpFAZYABG+kf5zEALv2BbPB6flkalMoBUEolBlslS4FQqiSQA422Xr7EwweW2tnjwR0iWA2OGUxkkEhhsOwuCoNZ+y7xxZDIro7xcLieTUSgyg8VKTKQIdu/w83WwQJi2N5RgHxi4fz8OlwgguRyFYuDs7HA47+/WB/taQT5uSAQIYhGDXvvDvn17dy5dunDhkiU7F1haHraPcnWAWkA+XfgIM/O1aw8c+H6vES4AoP3BUPTH38K/OmNBlhC2jIMAAAAASUVORK5CYII=",Qa=$u.create({timeout:5e3});Qa.interceptors.request.use(e=>e,e=>Promise.reject(e));Qa.interceptors.response.use(e=>e,e=>(console.log("err"+e),console.error(e.message),Promise.reject(e)));const gc="github-comment-cache-key",h6="https://api.github.com/repos",V_=({clientID:e,clientSecret:t,repo:n,owner:s,admin:o,language:r,uid:a,title:i,body:l,proxy:c})=>{new Gitalk({clientID:e,clientSecret:t,repo:n,owner:s,admin:o,language:r,id:a,distractionFreeMode:!0,title:i,body:l,proxy:c}).render("gitalk-container")};class p6{constructor(t){w(this,"commentUrlCount",0);w(this,"configs",{repo:"",owner:"",clientId:"",clientSecret:"",admin:"",authorizationToken:"",lang:"en"});w(this,"comments",[]);this.configs.repo=`${h6}/${t.owner}/${t.repo}/issues`,this.configs.clientId=t.clientId,this.configs.clientSecret=t.clientSecret,this.configs.admin=t.admin,this.configs.authorizationToken="Basic "+window.btoa(t.clientId+":"+t.clientSecret),t.lang&&(this.configs.lang=t.lang)}async getComments(){return new Promise(t=>{const n=this.getCache();n.isValid()?(this.comments=n.data,t(this.comments)):this.fetchCommentData().then(s=>{t(s)})})}setCache(t){const n=new yr(t);localStorage.setItem(gc,JSON.stringify(n))}getCache(){const t=localStorage.getItem(gc);if(t){const n=JSON.parse(t);return new yr(n.data,n.time)}return new yr}async fetchCommentData(){const t=this.configs.repo+"/comments?sort=created&direction=desc&per_page=7&page=1";return new Promise(n=>{this.fetchGithub(t,this.configs.authorizationToken).then(s=>{const{data:o}=s;this.comments=o.map(r=>new Ku(r,this.configs)),this.setCache(this.comments),n(this.comments)})})}async fetchGithub(t,n){return await Qa.get(t,{headers:{Accept:"application/json; charset=utf-8",Authorization:n}})}}class yr{constructor(t,n){w(this,"data",[]);w(this,"time",0);this.data=t?t.map(s=>new Ku(s)):[],this.time=n||new Date().getTime()}isValid(){return this.data.length!==0&&new Date().getTime()-this.time<60*1e3}}class Ku{constructor(t,n){w(this,"id",0);w(this,"body","");w(this,"node_id",0);w(this,"html_url","");w(this,"issue_url","");w(this,"created_at","");w(this,"updated_at","");w(this,"author_association","");w(this,"filtered",!1);w(this,"user",{id:0,login:"",avatar_url:"",html_url:""});w(this,"is_admin",!1);w(this,"cache_flag",!0);if(t){let s=!1;for(const o of Object.keys(this))Object.prototype.hasOwnProperty.call(t,o)&&(o==="user"?(this.user.id=t[o].id,this.user.avatar_url=t[o].avatar_url,this.user.html_url=t[o].html_url,this.user.login=t[o].login,n&&n.admin&&n.admin!==""&&(this.is_admin=n.admin===t[o].login)):Object.assign(this,{[o]:t[o]}),!s&&o==="cache_flag"&&(s=!0));if(!s){const o=(n==null?void 0:n.lang)??"en";this.filterBody(),this.transformTime(o)}}}filterBody(){if(this.body.length===0)return;let t=this.body.trim().replace(" ","");const n=t.indexOf(">")>-1;let s=[];const o=` - -`;if(s=t.split(o),s.length!==2){const r=`\r -\r -`;s=t.split(r)}s.length===2&&n?t=s[1]:s.length>2&&n?t=t.substr(t.indexOf(o)+4):t=t.replace(/(-)+>/g," to ").replaceAll(">"," ").replaceAll(/```([^`]*)```/g,"").replaceAll(`\r -\r -`,` -`).replaceAll(` - -`,` -`),t=Va(t,28),this.body=t}transformTime(t){const n={en:"commented [TIME]","zh-CN":"[TIME]评论了","zh-TW":"[TIME]評論了"};this.created_at=Go(this.created_at,{template:n[t],lang:t})}}const m6="hexo-theme-aurora",g6="0.0.0-semantic-release",v6="Futuristic auroral theme for Hexo.",_6="Benny Guo ",b6="MIT",y6="https://github.com/auroral-ui/hexo-theme-aurora",k6=["hexo","hexo-theme","aurora","auroral-ui","blog"],w6=["data/**","layout/**","public/**","source/**"],C6={serve:"vite",build:"vite build --mode production",postbuild:"cat source/",lint:"eslint --ext .js,.vue .",preview:"vite preview","env:local":"node ./build/scripts/config-script.js local","env:prod":"node ./build/scripts/config-script.js prod","env:pub":"node ./build/scripts/config-script.js publish",prepare:"husky install"},E6={axios:"^1.5.0","js-cookie":"^3.0.5","normalize.css":"^8.0.1",nprogress:"^0.2.0",pinia:"2.1.6",vue:"^3.3.4","vue-class-component":"^8.0.0-rc.1","vue-i18n":"^9.2.2","vue-router":"^4.2.4","vue3-click-away":"^1.2.4","vue3-lazyload":"^0.3.8"},S6={"@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@types/jest":"^29.5.4","@types/js-cookie":"^3.0.3","@types/node":"^20.5.7","@types/nprogress":"^0.2.0","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^4.3.4","@vue/eslint-config-prettier":"^8.0.0","@vue/eslint-config-typescript":"^11.0.3","@vue/test-utils":"^2.4.1",autoprefixer:"^10.4.15",eslint:"8","eslint-plugin-prettier":"^5.0.0","eslint-plugin-vue":"9",esm:"^3.2.25",husky:"^8.0.3",postcss:"^8.4.29",prettier:"^3.0.3",runjs:"^4.4.2",sass:"^1.66.1","script-ext-html-webpack-plugin":"^2.1.5","semantic-release":"^21.1.1",tailwindcss:"3.3.3",typescript:"^5.1.0",vite:"^4.4.9","vite-plugin-html-transformer":"^4.0.0","vite-plugin-pages":"^0.31.0","vite-plugin-svg-icons":"^2.0.1","vue-easy-lightbox":"^1.16.0","vue-jest":"^3.0.7","vue3-scroll-spy":"^1.0.8"},M6={name:m6,version:g6,description:v6,author:_6,license:b6,repository:y6,keywords:k6,files:w6,scripts:C6,dependencies:E6,devDependencies:S6},T6=M6.version,Yu=e=>{const{avatarCDN:t="",lang:n="en"}=e,s={en:"https://www.gravatar.com/avatar/",ja:"https://www.gravatar.com/avatar/","zh-CN":"https://gravatar.loli.net/avatar/","zh-TW":"https://www.gravatar.com/avatar/"};return/^https?:\/\//.test(t)?t:s[String(n)]?s[String(n)]:s.en},Gu=(e,t,n=!1)=>{const s=n?t:md5(t);return String(t).endsWith("@qq.com")?"https://q4.qlogo.cn/g?b=qq&nk="+t.replace("@qq.com","")+"&s=100":e+s+`?&v=${T6}`};let vc=!1;class O6{constructor(t){w(this,"configs",{leanCloudConfig:{appId:"",appKey:"",className:"Comment",pageSize:7,prefix:"https://",admin:"",lang:""},gravatarConfig:{cdn:"https://www.gravatar.com/avatar/",ds:["mp","identicon","monsterid","wavatar","robohash","retro",""],params:"",url:""}});this.initLeancloud(t),this.initGravatar(t)}initLeancloud(t){const{appId:n,appKey:s,pageSize:o=7,serverURLs:r}=t;this.configs.leanCloudConfig.appId=n,this.configs.leanCloudConfig.appKey=s,this.configs.leanCloudConfig.pageSize=Number(o);let a="",i=this.configs.leanCloudConfig.prefix;if(!r)switch(n.slice(-9)){case"-9Nh9j0Va":i+="tab.";break;case"-MdYXbMMI":i+="us.";break}if(a=r||i+"avoscloud.com",!vc)try{AV.init({appId:n,appKey:s,serverURLs:a})}catch(l){console.warn(l)}vc=!0}initGravatar(t){const{avatarCDN:n="",admin:s="",lang:o="en"}=t;this.configs.leanCloudConfig.admin=s,this.configs.leanCloudConfig.lang=o,this.configs.gravatarConfig.url=Yu({avatarCDN:n,lang:o})}queryAll(){const t=new AV.Query(this.configs.leanCloudConfig.className);t.doesNotExist("rid");const n=new AV.Query(this.configs.leanCloudConfig.className);n.equalTo("rid","");const s=AV.Query.or(t,n);return s.exists("url"),s.addDescending("createdAt"),s.addDescending("insertedAt"),s}queryRid(t){const n=JSON.stringify(t.replace(/(\[|\])/g,"")),s=`select * from ${this.configs.leanCloudConfig.className} where rid in (${n}) order by -createdAt,-createdAt`;return AV.Query.doCloudQuery(s)}async getRecentComments(t){return await new Promise(n=>{this.queryAll().limit(t).find().then(s=>{const o=s.map(r=>new A6(this.mapComments(r)));n(o)})})}mapComments(t){const n=t._serverData.mail,s=this.configs.leanCloudConfig.admin;return{id:t.id,body:t._serverData.comment,html_url:t._serverData.url,issue_url:"",created_at:new Date(t._serverData.insertedAt.getTime()-8*1e3*60*60).toISOString(),updated_at:"",author_association:"",user:{id:0,login:t._serverData.nick,avatar_url:Gu(this.configs.gravatarConfig.url,n),html_url:t._serverData.link},is_admin:!(s===""||s!==t._serverData.nick)}}}class A6{constructor(t,n){w(this,"id",0);w(this,"body","");w(this,"node_id",0);w(this,"html_url","");w(this,"issue_url","");w(this,"created_at","");w(this,"updated_at","");w(this,"author_association","");w(this,"filtered",!1);w(this,"user",{id:0,login:"",avatar_url:"",html_url:""});w(this,"is_admin",!1);w(this,"cache_flag",!0);if(t){let s=!1;for(const o of Object.keys(this))Object.prototype.hasOwnProperty.call(t,o)&&(Object.assign(this,{[o]:t[o]}),!s&&o==="cache_flag"&&(s=!0));if(!s){const o=n??"en";this.filterBody(),this.transformTime(o)}}}filterBody(){this.body=Va(this.body,28)}transformTime(t){const n={en:"commented [TIME]","zh-CN":"[TIME]评论了","zh-TW":"[TIME]評論了"};this.created_at=Go(this.created_at,{template:n[t],lang:t})}}const no={envId:"",pageSize:7,includeReply:!1,lang:"en"},W_=e=>{twikoo.init({envId:e.envId,el:"#tcomment",region:e.region,path:e.path,lang:e.lang,visitor:!0})},L6=async(e,t)=>{const n=Wa(t),s=await twikoo.getCommentsCount({envId:e,urls:[n],includeReply:!0});return s[0]?Number(s[0].count):0};class I6{constructor(t){w(this,"configs",no);this.configs.envId=t.envId,this.configs.includeReply=t.includeReply??no.includeReply}async getRecentComments(t){const n=Yu({avatarCDN:void 0,lang:this.configs.lang??no.lang});return(await twikoo.getRecentComments({envId:this.configs.envId,pageSize:t??no.pageSize,includeReply:!0})).map(o=>this.mapComment(o,n))}mapComment(t,n){const s=this.configs.lang==="zh-CN"||this.configs.lang==="zh-TW"?288e5:0,o=Go(new Date(Number(t.created)-s).toISOString());return{id:Number(t.id),body:t.commentText,html_url:t.url,issue_url:"",created_at:o,updated_at:"",author_association:"",user:{id:0,login:t.nick,avatar_url:Gu(n,t.mailMd5,!0),html_url:t.link},is_admin:!1}}}const q_=({serverURL:e,lang:t="en",reaction:n=!1,login:s="disable",meta:o,requiredMeta:r,commentSorting:a,wordLimit:i,imageUploader:l,pageSize:c})=>{let d={el:"#waline",dark:'body[class="theme-dark"]',reaction:n,serverURL:e,lang:t,login:s,locale:"zh-CN",meta:o,requiredMeta:r,commentSorting:a,wordLimit:i,pageSize:c};return l===!1&&(d={imageUploader:l,...d}),H0(d)},x6=(e,t)=>{U0({serverURL:e,path:Wa(t)})},$6=(e,t)=>{z0({serverURL:e,path:Wa(t)})};class P6{constructor({serverURL:t,lang:n}){w(this,"configs",{serverURL:"",lang:"en"});this.configs.serverURL=t,this.configs.lang=n}async getRecentComments(t){const{serverURL:n}=this.configs,{comments:s}=await V0({serverURL:n,count:t});return s.map(o=>this.mapComment(o))}mapComment(t){const n=Go(new Date(t.time??t.insertedAt).toISOString().slice(0,-5),{lang:this.configs.lang});return{id:t.objectId,body:Va(t.comment),html_url:t.url,issue_url:"",created_at:n,updated_at:"",author_association:"",user:{id:t.user_id,login:t.nick,avatar_url:t.avatar,html_url:t.link},is_admin:t.user_id===1}}convertDateFormat(t){const n=t.split(" ");return`${n[0]}T${n[1]}`}}function Xu(){const e=He(),t=ce(!0),n=ce([]),s=j(()=>{const i=e.themeConfig.plugins,l={plugin:"",recentComment:!1};return i.gitalk.enable&&i.gitalk.recentComment?(l.plugin="gitalk",l.recentComment=!!i.gitalk.recentComment,l):i.valine.enable&&i.valine.recentComment?(l.plugin="valine",l.recentComment=!!i.valine.recentComment,l):i.twikoo.enable&&i.twikoo.recentComment?(l.plugin="twikoo",l.recentComment=!!i.twikoo.recentComment,l):(i.waline.enable&&i.waline.recentComment&&(l.plugin="waline",l.recentComment=!!i.waline.recentComment),l)});return{enabledCommentPlugin:s,intiCommentPluginPageView:i=>{const l=e.themeConfig.plugins;switch(s.value.plugin){case"waline":x6(l.waline.serverURL,i);break}},initCommentPluginCommentCount:async i=>{const l=e.themeConfig.plugins;switch(s.value.plugin){case"waline":return $6(l.waline.serverURL,i),0;case"twikoo":return await L6(l.twikoo.envId,i)}return 0},fetchRecentComment:async()=>{const i=j(()=>{const l=s.value;return l.plugin!==""&&l.recentComment?l.plugin:void 0});if(!e.configReady||s.value.plugin===void 0){t.value=!1;return}switch(i.value){case"gitalk":{const l=new p6({repo:e.themeConfig.plugins.gitalk.repo,clientId:e.themeConfig.plugins.gitalk.clientID,clientSecret:e.themeConfig.plugins.gitalk.clientSecret,owner:e.themeConfig.plugins.gitalk.owner,admin:e.themeConfig.plugins.gitalk.admin[0]});n.value=await l.getComments(),t.value=!1}break;case"valine":{const l=new O6({appId:e.themeConfig.plugins.valine.app_id,appKey:e.themeConfig.plugins.valine.app_key,avatar:e.themeConfig.plugins.valine.avatar,admin:e.themeConfig.plugins.valine.admin,lang:e.themeConfig.plugins.valine.lang});n.value=await l.getRecentComments(7),t.value=!1}break;case"twikoo":{const l=new I6({envId:e.themeConfig.plugins.twikoo.envId,lang:e.themeConfig.plugins.twikoo.lang});n.value=await l.getRecentComments(7),t.value=!1}break;case"waline":{const l=new P6({serverURL:"https://"+e.themeConfig.plugins.waline.serverURL,lang:e.locale??"en"});n.value=await l.getRecentComments(7),t.value=!1}break;default:t.value=!1}},recentComments:n,commentPluginLoading:t}}const R6=ye({name:"ObFooter",components:{SvgIcon:ht},setup(){const e=He(),{t}=st(),{enabledCommentPlugin:n,intiCommentPluginPageView:s}=Xu();return ze(()=>e.configReady,async(o,r)=>{!r&&o&&(await Yn(),s("/"))}),{SvgTypes:tr,beianImg:f6,avatarClass:j(()=>({"footer-avatar":!0,[e.themeConfig.theme.profile_shape]:!0})),gradientText:j(()=>e.themeConfig.theme.background_gradient_style),gradientBackground:j(()=>({background:e.themeConfig.theme.header_gradient_css})),currentYear:j(()=>new Date().getUTCFullYear()),themeConfig:j(()=>e.themeConfig),configReady:j(()=>e.configReady),runningDays:j(()=>{if(e.themeConfig.site.started_date!=="")return $p(`${e.themeConfig.site.started_date}`)}),intiCommentPluginPageView:s,enabledPlugin:j(()=>n.value.plugin),t}}}),N6={class:"bg-ob-deep-800 flex justify-center"},D6={class:"bg-ob-deep-800 rounded-lg max-w-10/12 lg:max-w-screen-2xl text-sm text-ob-normal w-full py-6 px-6 grid grid-rows-1 lg:grid-rows-none lg:grid-cols-4 justify-center items-center gap-8"},F6={class:"flex flex-col lg:flex-row gap-6 lg:gap-12 row-span-1 lg:col-span-3 text-center lg:text-left"},j6={class:"flex flex-col gap-1.5"},B6={class:"font-extrabold"},Z6=v("a",{href:"https://hexo.io/"},[v("b",{class:"font-extrabold border-b-2 border-ob hover:text-ob"}," Hexo ")],-1),H6={href:"https://github.com/obsidianext/hexo-theme-obsidianext"},U6={class:"font-extrabold border-b-2 border-ob hover:text-ob"},z6={key:0,class:"flex flex-row gap-3"},V6={key:0},W6=["src"],q6=["href"],K6={class:"font-extrabold border-b-2 border-ob hover:text-ob"},Y6={key:1},G6=["href"],X6={class:"font-extrabold border-b-2 border-ob hover:text-ob"},J6={class:"flex flex-col flex-1 gap-1.5"},Q6={key:0,class:"flex flex-row max-w-[11rem]"},em=v("span",{class:"flex-1 text-right"},[v("span",{class:"waline-pageview-count","data-path":"/"})],-1),tm={key:1},nm={id:"busuanzi_container_site_pv",class:"flex flex-row max-w-[11rem]"},sm=v("span",{id:"busuanzi_value_site_pv"},null,-1),om={key:2},rm={id:"busuanzi_container_site_uv",class:"flex flex-row max-w-[11rem]"},am=v("span",{id:"busuanzi_value_site_uv"},null,-1),im={key:3,class:"flex flex-row max-w-[11rem]"},lm={class:"flex-1 text-right"},cm={class:"hidden lg:flex lg:col-span-1 justify-center lg:justify-end row-span-1 relative"},um=["src"];function dm(e,t,n,s,o,r){const a=ie("SvgIcon");return O(),$("div",{id:"footer",class:"relative w-full pt-1",style:Ie(e.gradientBackground)},[v("span",N6,[v("div",D6,[v("div",F6,[v("ul",j6,[v("li",null,[Ve(" Copyright © 2019 - "+K(e.currentYear)+" ",1),v("b",B6,K(e.themeConfig.site.author),1),Ve(" . All Rights Reserved. ")]),v("li",null,[Ve(" Powered by "),Z6,Ve(" & Themed by "),v("a",H6,[v("b",U6," Aurora v"+K(e.themeConfig.version),1)])]),e.themeConfig.site.beian.number!==""||e.themeConfig.site.police_beian.number!==""?(O(),$("li",z6,[e.themeConfig.site.police_beian.number!==""?(O(),$("span",V6,[v("img",{class:"inline-block",src:e.beianImg,alt:"",width:"15"},null,8,W6),v("b",null,[Ve(" 公安备案信息: "),v("a",{href:e.themeConfig.site.police_beian.link},[v("b",K6,K(e.themeConfig.site.police_beian.number),1)],8,q6)])])):fe("",!0),e.themeConfig.site.beian.number!==""?(O(),$("span",Y6,[Ve(" 备案信息: "),v("a",{href:e.themeConfig.site.beian.link},[v("b",X6,K(e.themeConfig.site.beian.number),1)],8,G6)])):fe("",!0)])):fe("",!0)]),v("ul",J6,[e.enabledPlugin==="waline"?(O(),$("li",Q6,[v("span",null,[R(a,{"icon-class":"hot",class:"mr-1 text-lg inline-block",stroke:"currentColor"}),Ve(" "+K(e.t("settings.page-views-value")),1)]),em])):fe("",!0),e.themeConfig.plugins.busuanzi.enable?(O(),$("li",tm,[v("span",nm,[R(a,{"icon-class":"eye",class:"mr-1 text-lg inline-block"}),sm])])):fe("",!0),e.themeConfig.plugins.busuanzi.enable?(O(),$("li",om,[v("span",rm,[R(a,{"icon-class":"people",class:"mr-1 text-lg inline-block"}),am])])):fe("",!0),e.runningDays?(O(),$("li",im,[v("span",null,[R(a,{"icon-class":"date",class:"mr-1 text-lg inline-block",stroke:"currentColor"}),Ve(" "+K(e.t("settings.site-running-for")),1)]),v("span",lm,K(e.runningDays)+" "+K(e.t("settings.site-running-for-unit")),1)])):fe("",!0)])]),v("div",cm,[Xt(v("img",{class:Ce(e.avatarClass),src:e.themeConfig.site.avatar,alt:"avatar"},null,10,um),[[jo,e.themeConfig.site.avatar]])])])])],4)}const fm=Me(R6,[["render",dm]]),hm=ye({name:"ObNavigator",components:{SvgIcon:ht},setup(){const e=He(),t=as(),{t:n}=st(),s=Ws(),o=er(),r=Pn(),a=ce(0),i=ce(!1),l=ce(0);let c=0,d=0;const h=ce(!1),p=_.throttle(()=>{clearTimeout(c),clearTimeout(d),i.value=!0,c=window.setTimeout(()=>{i.value=!1},700),(h.value||s.openNavigator===!0)&&(s.openNavigator===!0&&s.setOpenNavigator(!1),h.value=!0,d=window.setTimeout(()=>{s.openNavigator=!0,h.value=!1},700)),a.value=Number((window.scrollY/(document.documentElement.scrollHeight-window.innerHeight)*100).toFixed(0))},100,{trailing:!0,leading:!0}),C=()=>{const T=new Date().getTime();T-l.value<10||(l.value=T,s.openNavigator===!0&&h.value===!0&&(h.value=!1),setTimeout(()=>{s.toggleOpenNavigator()},10))},b=()=>{s.setOpenNavigator(!1),window.scrollTo({top:0,behavior:"smooth"})},E=()=>{s.toggleMobileMenu()},L=()=>{s.setOpenNavigator(!1),r.push("/")},k=()=>{s.setOpenNavigator(!1),o.setOpenModal(!0)};return dt(()=>{p(),document.addEventListener("scroll",p)}),os(()=>{document.removeEventListener("scroll",p)}),{svgStyle:j(()=>({fill:e.theme==="theme-dark"?"white":"black",stroke:e.theme==="theme-dark"?"black":"white"})),gradient:j(()=>({background:e.themeConfig.theme.header_gradient_css})),showProgress:j(()=>a.value>5),isMobile:j(()=>t.isMobile),openNavigator:j(()=>s.openNavigator),progress:a,handleNavigatorToggle:C,handleBackToTop:b,handleOpenMenu:E,handleGoHome:L,handleSearch:k,scrolling:i,SvgTypes:tr,t:n}}});const pm={class:"Ob-Navigator-tips"},mm={key:2,class:"text-sm"},gm={class:"Ob-Navigator-submenu"},vm={class:"Ob-Navigator-tips"},_m={class:"Ob-Navigator-tips"},bm={class:"Ob-Navigator-tips"},ym={class:"Ob-Navigator-tips"};function km(e,t,n,s,o,r){const a=ie("SvgIcon");return O(),$("div",{id:"Ob-Navigator",class:Ce({"Ob-Navigator--open":e.openNavigator,"Ob-Navigator--scrolling":e.scrolling})},[R(Pt,{name:"fade-bounce-y",mode:"out-in"},{default:De(()=>[!e.openNavigator&&e.showProgress?(O(),$("div",{key:0,onClick:t[0]||(t[0]=vt((...i)=>e.handleBackToTop&&e.handleBackToTop(...i),["stop","prevent"])),class:"Ob-Navigator-btt"},[v("div",null,[R(a,{"icon-class":"back-to-top","class-name":"text-ob-bright"})]),v("span",pm,K(e.t("settings.tips-back-to-top")),1)])):fe("",!0)]),_:1}),v("div",{class:"Ob-Navigator-ball",onClick:t[1]||(t[1]=vt((...i)=>e.handleNavigatorToggle&&e.handleNavigatorToggle(...i),["stop","prevent"]))},[v("div",{style:Ie(e.gradient)},[R(Pt,{name:"fade-bounce-y",mode:"out-in"},{default:De(()=>[e.openNavigator?(O(),be(a,{key:0,class:"text-base stroke-2","icon-class":"close"})):e.showProgress?(O(),$("span",mm,K(e.progress)+"%",1)):(O(),be(a,{key:1,"icon-class":"dots"}))]),_:1})],4)]),v("ul",gm,[v("li",{id:"Ob-Navigator-top",style:Ie(e.gradient),onClick:t[2]||(t[2]=vt((...i)=>e.handleBackToTop&&e.handleBackToTop(...i),["stop","prevent"]))},[v("div",null,[R(a,{"icon-class":"back-to-top","class-name":"text-ob-bright"})]),v("span",vm,K(e.t("settings.tips-back-to-top")),1)],4),e.isMobile?(O(),$("li",{key:0,id:"Ob-Navigator-menu",style:Ie(e.gradient),onClick:t[3]||(t[3]=vt((...i)=>e.handleOpenMenu&&e.handleOpenMenu(...i),["stop","prevent"]))},[v("div",null,[R(a,{"icon-class":"nav-menu","class-name":"text-ob-bright"})]),v("span",_m,K(e.t("settings.tips-open-menu")),1)],4)):fe("",!0),v("li",{id:"Ob-Navigator-home",style:Ie(e.gradient),onClick:t[4]||(t[4]=vt((...i)=>e.handleGoHome&&e.handleGoHome(...i),["stop","prevent"]))},[v("div",null,[R(a,{"icon-class":"nav-home","class-name":"text-ob-bright"})]),v("span",bm,K(e.t("settings.tips-back-to-home")),1)],4),v("li",{id:"Ob-Navigator-search",style:Ie(e.gradient),onClick:t[5]||(t[5]=vt((...i)=>e.handleSearch&&e.handleSearch(...i),["stop","prevent"]))},[v("div",null,[R(a,{"icon-class":"nav-search","class-name":"text-ob-bright","svg-type":e.SvgTypes.stroke},null,8,["svg-type"])]),v("span",ym,K(e.t("settings.tips-open-search")),1)],4)])],2)}const wm=Me(hm,[["render",km],["__scopeId","data-v-710bb3b2"]]);class Cm{constructor(t){w(this,"title","");w(this,"uid","");w(this,"slug","");w(this,"date","");w(this,"updated","");w(this,"comments","");w(this,"path","");w(this,"keywords","");w(this,"cover","");w(this,"text","");w(this,"link","");w(this,"photos","");w(this,"count_time",{});w(this,"categories",{});w(this,"tags",{});w(this,"author",{});if(t){for(const n of Object.keys(this))if(Object.prototype.hasOwnProperty.call(t,n)){if(n==="date"){const s=new Date(t[n]),o=`settings.months[${s.getMonth()}]`;t[n]=Object.create({month:o,day:s.getUTCDate(),year:s.getUTCFullYear()})}Object.assign(this,{[n]:t[n]})}}}}class xn{constructor(t){w(this,"title","");w(this,"uid","");w(this,"slug","");w(this,"date",{month:"",day:0,year:0});w(this,"updated","");w(this,"comments",!0);w(this,"path","");w(this,"excerpt",null);w(this,"keywords",null);w(this,"cover","");w(this,"content",null);w(this,"text","");w(this,"link","");w(this,"raw",null);w(this,"photos",[]);w(this,"categories",[]);w(this,"tags",[]);w(this,"min_tags",[]);w(this,"count_time",{});w(this,"toc","");w(this,"next_post",{});w(this,"prev_post",{});w(this,"author",{name:"",avatar:"",link:"",slug:""});w(this,"feature",!1);w(this,"pinned",!1);if(t){for(const n of Object.keys(this))if(Object.prototype.hasOwnProperty.call(t,n))if(n==="categories")Object.assign(this,{[n]:t[n].map(s=>new nr(s))});else if(n==="tags")Object.assign(this,{[n]:t[n].map(s=>new Ju(s))}),this.min_tags=this.tags.filter((s,o)=>{if(o<2)return!0});else if(n==="prev_post"||n==="next_post")Object.assign(this,{[n]:new Cm(t[n])});else{if(n==="date"){const s=new Date(t[n]),o=`settings.months[${s.getMonth()}]`;t[n]=Object.create({month:o,day:s.getUTCDate(),year:s.getUTCFullYear()})}Object.assign(this,{[n]:t[n]})}}}}class Ts{constructor(t){w(this,"data",[]);w(this,"pageCount",0);w(this,"pageSize",0);w(this,"total",0);if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&(n==="data"?Object.assign(this,{[n]:t[n].map(s=>new xn(s))}):Object.assign(this,{[n]:t[n]}))}}class _c{constructor(t){w(this,"data",[]);w(this,"pageCount",0);w(this,"pageSize",0);w(this,"total",0);t&&t.postlist&&Object.assign(this,{data:t.postlist.map(n=>new xn(n)),pageCount:t.pageCount,pageSize:t.pageSize,total:t.total})}}class ko{constructor(t){w(this,"top_feature",{});w(this,"features",[]);t&&(Object.assign(this,{top_feature:new xn(t.shift())}),Object.assign(this,{features:t.map(n=>new xn(n))}))}}class ei{constructor(t){w(this,"name","");w(this,"slug","");w(this,"avatar","");w(this,"link","");w(this,"description","");w(this,"socials",new _o);w(this,"categories",0);w(this,"tags",0);w(this,"word_count","0");w(this,"post_list",[]);if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&(n==="socials"?Object.assign(this,{[n]:new _o(t[n])}):n==="post_list"?Object.assign(this,{post_list:t[n].map(s=>new xn(s))}):Object.assign(this,{[n]:t[n]}))}}class bc{constructor(t){w(this,"data",[]);t&&Object.assign(this,{data:t.map(n=>new nr(n))})}}class nr{constructor(t){w(this,"name","");w(this,"slug","");w(this,"path","");w(this,"count",0);w(this,"parent","");if(t){for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]});t instanceof nr||(this.parent=this.slug.split("/").filter((n,s,o)=>s!==o.length-1).join("/"))}}}class kr{constructor(t){w(this,"data",[]);t&&Object.assign(this,{data:t.map(n=>new Ju(n))})}}class Ju{constructor(t){w(this,"name","");w(this,"slug","");w(this,"path","");w(this,"count",0);if(t)for(const n of Object.keys(this))Object.prototype.hasOwnProperty.call(t,n)&&Object.assign(this,{[n]:t[n]})}}class Em{constructor(t){w(this,"data",[]);w(this,"pageCount",0);w(this,"pageSize",0);w(this,"total",0);const n=new Map;if(t){for(const s of Object.keys(this))if(Object.prototype.hasOwnProperty.call(t,s))if(s==="data"){t[s].forEach(r=>{const a=new xn(r),i=`${a.date.month}-${a.date.year}`;n.has(i)?n.get(i).posts.push(a):n.set(i,{month:a.date.month,year:a.date.year,posts:[a]})});const o=[];for(const r of n.values())o.push(r);Object.assign(this,{data:o})}else Object.assign(this,{[s]:t[s]})}}}const Qu=kt({id:"authorStore",state:()=>({}),getters:{},actions:{async fetchAuthorData(e){const{data:t}=await Wp(e);return new Promise(n=>{n(new ei(t))})}}}),Sm=ye({name:"AuSocial",components:{SvgIcon:ht},props:{socials:{type:Object,default:()=>({})}},setup(e){const t=ut(e).socials;return{customSocials:j(()=>t.value.customs.socials)}}});const Mm=e=>(xo("data-v-8a863da5"),e=e(),$o(),e),Tm={class:"flex flex-row justify-evenly flex-wrap w-full py-4 px-2 text-center items-center"},Om=["href"],Am={class:"diamond-clip-path diamond-icon"},Lm=["href"],Im={class:"diamond-clip-path diamond-icon"},xm=["href"],$m={class:"diamond-clip-path diamond-icon"},Pm=["href"],Rm={class:"diamond-clip-path diamond-icon"},Nm=["href"],Dm={class:"diamond-clip-path diamond-icon"},Fm=["href"],jm={class:"diamond-clip-path diamond-icon"},Bm=["href"],Zm={class:"diamond-clip-path diamond-icon"},Hm=["href"],Um={class:"diamond-clip-path diamond-icon"},zm=["href"],Vm=Mm(()=>v("li",{class:"diamond-clip-path diamond-icon"},"掘",-1)),Wm=[Vm],qm=["href"],Km={class:"diamond-clip-path diamond-icon"};function Ym(e,t,n,s,o,r){const a=ie("SvgIcon");return O(),$("ul",Tm,[e.socials.github?(O(),$("a",{key:0,href:e.socials.github,target:"_blank",ref:"github"},[v("li",Am,[R(a,{"icon-class":"github",class:"fill-current"})])],8,Om)):fe("",!0),e.socials.twitter?(O(),$("a",{key:1,href:e.socials.twitter,target:"_blank",ref:"twitter"},[v("li",Im,[R(a,{"icon-class":"twitter",class:"fill-current"})])],8,Lm)):fe("",!0),e.socials.stackoverflow?(O(),$("a",{key:2,href:e.socials.stackoverflow,target:"_blank",ref:"stackoverflow"},[v("li",$m,[R(a,{"icon-class":"stackoverflow",class:"fill-current"})])],8,xm)):fe("",!0),e.socials.wechat?(O(),$("a",{key:3,href:e.socials.wechat,target:"_blank",ref:"wechat"},[v("li",Rm,[R(a,{"icon-class":"wechat",class:"fill-current"})])],8,Pm)):fe("",!0),e.socials.qq?(O(),$("a",{key:4,href:e.socials.qq,target:"_blank",ref:"qq"},[v("li",Dm,[R(a,{"icon-class":"qq",class:"fill-current"})])],8,Nm)):fe("",!0),e.socials.weibo?(O(),$("a",{key:5,href:e.socials.weibo,target:"_blank",ref:"weibo"},[v("li",jm,[R(a,{"icon-class":"weibo",class:"fill-current"})])],8,Fm)):fe("",!0),e.socials.csdn?(O(),$("a",{key:6,href:e.socials.csdn,target:"_blank",ref:"csdn"},[v("li",Zm,[R(a,{"icon-class":"csdn",class:"fill-current"})])],8,Bm)):fe("",!0),e.socials.zhihu?(O(),$("a",{key:7,href:e.socials.zhihu,target:"_blank",ref:"zhifu"},[v("li",Um,[R(a,{"icon-class":"zhifu",class:"fill-current"})])],8,Hm)):fe("",!0),e.socials.juejin?(O(),$("a",{key:8,href:e.socials.juejin,target:"_blank",ref:"juejin"},Wm,8,zm)):fe("",!0),e.customSocials.length>0?(O(!0),$(me,{key:9},Ue(e.customSocials,i=>(O(),$("a",{key:i.name,href:i.link,target:"_blank",ref_for:!0,ref:i.name},[v("li",Km,[i.icon.img_link?(O(),be(a,{key:0,"icon-class":i.icon.img_link,class:"fill-current"},null,8,["icon-class"])):(O(),$("i",{key:1,class:Ce(["custom-social-svg-icon",i.icon.iconfont])},null,2))])],8,qm))),128)):fe("",!0)])}const e0=Me(Sm,[["render",Ym],["__scopeId","data-v-8a863da5"]]),Gm=ye({name:"ObMobileMenu",components:{Dropdown:Ga,DropdownMenu:Xa,DropdownItem:Ja,Social:e0},setup(){const e=He(),t=Qu(),n=Pn(),s=Ws(),{t:o}=st(),r=ce(),a=ce(new ei),i=async()=>{a.value=await t.fetchAuthorData("blog-author")},l=d=>{d&&(s.toggleMobileMenu(),s.setOpenNavigator(!1),d.match(/(http:\/\/|https:\/\/)((\w|=|\?|\.|\/|&|-)+)/g)?window.location.href=d:n.push({path:d}))},c=d=>{if(d.target===r.value){s.toggleMobileMenu();return}};return ze(()=>s.openMenu,d=>{const h=document.querySelector("#body-container");d?(h&&(h.style.overflow="hidden"),r.value.style.display="flex",r.value.style.animation="0.85s ease 0s 1 normal none running opacity_show",document.addEventListener("click",c)):(h&&(h.style.overflow="initial"),window.setTimeout(()=>{r.value.style.animation="none",r.value.style.display="none"},500),r.value.style.animation="0.85s ease 0s 1 normal none running opacity_hide",document.removeEventListener("click",c))}),dt(()=>{i()}),{avatarClass:j(()=>({"ob-avatar":!0,[e.themeConfig.theme.profile_shape]:!0})),themeConfig:j(()=>e.themeConfig),gradientBackground:j(()=>({background:e.themeConfig.theme.header_gradient_css})),statistic:j(()=>e.statistic),routes:j(()=>e.themeConfig.menu.menus),openState:j(()=>s.openMenu),sidebarClasses:j(()=>({"App-Mobile-sidebar":!0})),blurClasses:j(()=>({"App-Mobile-blur":!0})),wrapperClasses:j(()=>({"App-Mobile-wrapper":!0,"open-menu":s.openMenu})),blurScreen:r,authorData:a,pushPage:l,t:o}}});const Xm={class:"flex flex-col justify-center items-center"},Jm=["src"],Qm={class:"text-center pt-4 text-4xl font-semibold text-ob-bright"},eg=["innerHTML"],tg={key:3,class:"pt-6 px-10 w-full text-sm text-center flex flex-col gap-2"},ng={class:"grid grid-cols-3 pt-4 w-full px-2 text-lg"},sg={class:"col-span-1 text-center"},og={class:"text-ob-bright"},rg={class:"text-base text-ob-dim"},ag={class:"col-span-1 text-center"},ig={class:"text-ob-bright"},lg={class:"text-base text-ob-dim"},cg={class:"col-span-1 text-center"},ug={class:"text-ob-bright"},dg={class:"text-base text-ob-dim"},fg={class:"flex flex-col justify-center items-center mt-8 w-full list-none text-ob-bright"},hg=["onClick"],pg={key:0,class:"relative z-50"},mg={key:1,class:"relative z-50"},gg={key:2,class:"relative z-50"},vg={key:3,class:"relative z-50"},_g={key:0,class:"relative z-50"},bg={key:1,class:"relative z-50"},yg={key:2,class:"relative z-50"},kg={key:3,class:"relative z-50"},wg={key:0,class:"relative z-50"},Cg={key:1,class:"relative z-50"},Eg={key:2,class:"relative z-50"},Sg={key:3,class:"relative z-50"};function Mg(e,t,n,s,o,r){const a=ie("ob-skeleton"),i=ie("Social"),l=ie("DropdownItem"),c=ie("DropdownMenu"),d=ie("Dropdown");return O(),$("div",{class:Ce(e.sidebarClasses)},[v("div",{id:"App-Mobile-Profile",class:Ce(e.wrapperClasses)},[v("div",Xm,[e.authorData.avatar!==""?(O(),$("img",{key:0,class:Ce(e.avatarClass),src:e.authorData.avatar,alt:"avatar"},null,10,Jm)):(O(),be(a,{key:1,width:"7rem",height:"7rem",circle:""})),v("h2",Qm,[e.authorData.name?(O(),$(me,{key:0},[Ve(K(e.authorData.name),1)],64)):(O(),be(a,{key:1,height:"2.25rem",width:"7rem"}))]),v("span",{class:"h-1 w-14 rounded-full mt-2",style:Ie(e.gradientBackground)},null,4),e.authorData.description?(O(),$("p",{key:2,class:"pt-6 px-2 w-full text-sm text-center text-ob-normal",innerHTML:e.authorData.description},null,8,eg)):(O(),$("p",tg,[R(a,{count:2,height:"20px",width:"10rem"})])),R(i,{socials:e.authorData.socials},null,8,["socials"]),v("ul",ng,[v("li",sg,[v("span",og,K(e.authorData.post_list.length),1),v("p",rg,K(e.t("settings.articles")),1)]),v("li",ag,[v("span",ig,K(e.authorData.categories),1),v("p",lg,K(e.t("settings.categories")),1)]),v("li",cg,[v("span",ug,K(e.authorData.tags),1),v("p",dg,K(e.t("settings.tags")),1)])])]),v("ul",fg,[(O(!0),$(me,null,Ue(e.routes,h=>(O(),$("li",{class:"pb-2 cursor-pointer",key:h.path},[h.children&&h.children.length===0?(O(),$("div",{key:0,class:"text-sm block px-1.5 py-0.5 rounded-md relative uppercase",onClick:p=>e.pushPage(h.path)},[e.$i18n.locale==="zh-CN"&&h.i18n["zh-CN"]?(O(),$("span",pg,K(h.i18n["zh-CN"]),1)):fe("",!0),e.$i18n.locale==="zh-TW"&&h.i18n["zh-TW"]?(O(),$("span",mg,K(h.i18n["zh-TW"]),1)):e.$i18n.locale==="en"&&h.i18n.en?(O(),$("span",gg,K(h.i18n.en),1)):(O(),$("span",vg,K(h.name),1))],8,hg)):(O(),be(d,{key:1,onCommand:e.pushPage,class:"flex flex-col justify-center items-center nav-link text-sm px-1.5 py-0.5 rounded-md relative uppercase"},{default:De(()=>[e.$i18n.locale==="zh-CN"&&h.i18n["zh-CN"]?(O(),$("span",_g,K(h.i18n["zh-CN"]),1)):fe("",!0),e.$i18n.locale==="zh-TW"&&h.i18n["zh-TW"]?(O(),$("span",bg,K(h.i18n["zh-TW"]),1)):e.$i18n.locale==="en"&&h.i18n.en?(O(),$("span",yg,K(h.i18n.en),1)):(O(),$("span",kg,K(h.name),1)),R(c,{expand:""},{default:De(()=>[(O(!0),$(me,null,Ue(h.children,p=>(O(),be(l,{key:p.path,name:p.path},{default:De(()=>[e.$i18n.locale==="zh-CN"&&p.i18n["zh-CN"]?(O(),$("span",wg,K(p.i18n["zh-CN"]),1)):fe("",!0),e.$i18n.locale==="zh-TW"&&p.i18n["zh-TW"]?(O(),$("span",Cg,K(p.i18n["zh-TW"]),1)):e.$i18n.locale==="en"&&p.i18n.en?(O(),$("span",Eg,K(p.i18n.en),1)):(O(),$("span",Sg,K(p.name),1))]),_:2},1032,["name"]))),128))]),_:2},1024)]),_:2},1032,["onCommand"]))]))),128))])],2),v("div",{class:Ce(e.blurClasses),ref:"blurScreen"},null,2)],2)}const Tg=Me(Gm,[["render",Mg]]),t0=["Hi, I am Dia, I am here to help you~","Long time no see, time passes with the blink of the eyes...","Hi~ Come play with me!","*Hammer your chest with my kitty fist*","showQuote"],n0="LOL, you opened the console, want to find out my little secrets?",s0="What have you copied? Remember to add the source when using it!",o0="Welcome back my friend!~",r0={24:"Are you a night owl? Will you able get up tomorrow?","5_7":"Good morning! The plan for a day lies in the morning, and a beautiful day is about to begin.","7_11":"Good morning! How is your day doing? don't sit for too long!","11_13":"It's noon, Must have being working all morning, and it's lunch time!","13_17":"It's easy to get sleepy in the afternoon. Have a cup of coffee maybe?","17_19":"It's evening! The sunset outside the window is beautiful.","19_21":"Good evening, how are you doing today?","21_23":["It's getting late, rest early, good night~","Take good care of your eyes!"]},a0={self:"Welcome to 「[PLACEHOLDER]」",baidu:"Hello!Friend from Baidu search engine,
    did you search 「[PLACEHOLDER]」 to find me?",so:"Hello!Friend from 360 search engine,
    did you search 「[PLACEHOLDER]」 to find me?",google:"Hello!Friend from Google search engine,
    enjoy your time reading 「[PLACEHOLDER]」",site:"Hello there, friend from [PLACEHOLDER]",other:"Thanks for reading 「[PLACEHOLDER]」"},i0=[{selector:"#Aurora-Dia",text:["Waaaaaaaa...What are you doing? O.O","Please be gentle, I am very delicate! O.O","Sir yes sir! What can I help you with? O.O"]},{selector:"[data-menu='Home']",text:["Click to go to the home page. ","Yes, click here to go back home.","Go take a look at the home page."]},{selector:"[data-menu='About']",text:["You want to know more about my master?","Here hides all the secrets of my master, want to take a look?","Found my master's secret hideout!"]},{selector:"[data-menu='Archives']",text:["Here stores all the works my master had done!","Wanna see my master's library?","Yes, my masters' ancient histories are all here!"]},{selector:"[data-menu='Tags']",text:["Click here to look at article tags.","Tags are used to better categorize your articles."]},{selector:"[data-dia='language']",text:"Master's blog supports multiple languages."},{selector:"[data-dia='light-switch']",text:"You can switch between light and dark mode, click the switch to see the magic!"},{selector:"[data-dia='author']",text:["Here is a short profile of my master.","Click any of these links can teleport to my master's other worlds."]},{selector:"[data-dia='jump-to-comment']",text:["Do you want to check out the comments?","Click here will help you jump right into the comments section."]}],l0=[{selector:"[data-dia='search']",text:["Didn't find what you are looking for? Try search it here!","You can also use ctrl/cmd + k keyboard shortcut to open the search menu."]},{selector:"[data-dia='article-link']",text:["Enjoy reading:「{text}」.","That's a good pick, enjoy time reading this article.","Hope you can learn something from:「{text}」."]},{selector:".gt-header-textarea",text:["Wanna write something?","Be sure write your comment carefully meow~","Anything you want to say to the author?","If you think the article is good, leave a message for the author."]},{selector:".veditor",text:["Wanna write something?","Be sure write your comment carefully meow~","Anything you want to say to the author?","If you think the article is good, leave a message for the author."]}],c0=[{date:"01/01",text:"Happy new year,{year}~"},{date:"02/14",text:"It's Valentine's Day,have you found your loved one in {year}?"},{date:"03/08",text:"Today is International Women's Day!"},{date:"04/01",text:"Tell you a secret, don't trust anyone today, because today is April Fool"},{date:"05/01",text:"Today is International Labour Day,have you planned to go travel?"},{date:"12/20-12/30",text:"These few days is Christmas,my master must being shopping like crazy!"},{date:"12/31",text:"Today is New Year's Eve, this year is going away, but next year is going to be better!"}],Og={messages:t0,console:n0,copy:s0,visibility_change:o0,welcome:r0,referrer:a0,mouseover:i0,click:l0,events:c0},Ag=Object.freeze(Object.defineProperty({__proto__:null,click:l0,console:n0,copy:s0,default:Og,events:c0,messages:t0,mouseover:i0,referrer:a0,visibility_change:o0,welcome:r0},Symbol.toStringTag,{value:"Module"})),u0=["你好,我是 Dia,好高兴遇见你~","好久不见,日子过得好快呢……","大坏蛋!你都多久没理人家了呀,嘤嘤嘤~","嗨~快来逗我玩吧!","拿小拳拳锤你胸口!","学习使我们快乐,快乐使我们更想学习~","showQuote"],d0="哈哈,你打开了控制台,是想要看看我的小秘密吗?",f0="你都复制了些什么呀,转载要记得加上出处哦!",h0="老朋友,你怎么才回来呀~",p0={24:"你是夜猫子呀?这么晚还不睡觉,明天起的来嘛?","5_7":"早上好!一日之计在于晨,美好的一天就要开始了。","7_11":"上午好!工作顺利嘛,不要久坐,多起来走动走动哦!","11_13":"中午了,工作了一个上午,现在是午餐时间!","13_17":"午后很容易犯困呢,今天的运动目标完成了吗?","17_19":"傍晚了!窗外夕阳的景色很美丽呢,最美不过夕阳红~","19_21":"晚上好,今天过得怎么样?","21_23":["已经这么晚了呀,早点休息吧,晚安~","深夜时要爱护眼睛呀!"]},m0={self:"欢迎来到「[PLACEHOLDER]」",baidu:"Hello!来自 百度搜索 的朋友
    你是搜索 「[PLACEHOLDER]」 找到的我吗?",so:"Hello!来自 360搜索 的朋友
    你是搜索 「[PLACEHOLDER]」 找到的我吗?",google:"Hello!来自 谷歌搜索 的朋友
    欢迎阅读「[PLACEHOLDER]」",site:"Hello!来自 [PLACEHOLDER] 的朋友",other:"欢迎阅读 [PLACEHOLDER]"},g0=[{selector:"#Aurora-Dia",text:["哇啊啊啊啊啊啊... 你想干嘛? O.O","请您轻一点,我是很昂贵的机器人哦! O.O","领导,我在呢! 我有什么可以帮到你呢? O.O"]},{selector:"[data-menu='Home']",text:["点击前往首页,想回到上一页可以使用浏览器的后退功能哦。","点它就可以回到首页啦!","回首页看看吧。"]},{selector:"[data-menu='About']",text:["你想知道我家主人是谁吗?","这里有一些关于我家主人的秘密哦,要不要看看呢?","发现主人出没地点!"]},{selector:"[data-menu='Archives']",text:["这里存储了主人的所有作品哦!","想看看主人的图书馆吗?"]},{selector:"[data-menu='Tags']",text:["点击就可以看文章的标签啦!","使用标签可以更好的分类你的文章哦~"]},{selector:"[data-dia='language']",text:"主人的博客支持多种语言。"},{selector:"[data-dia='light-switch']",text:"您可以点击这里切换黑白模式哦!"},{selector:"[data-dia='author']",text:["这是我主人的简介。","点击其中任何一个链接都可以传送到我主人的其他世界。"]},{selector:"[data-dia='jump-to-comment']",text:["你想看看评论吗?","点击这里可以帮助你直接跳转到评论部分。"]}],v0=[{selector:"[data-dia='search']",text:["没有看到你想要的文章,那么就输入你想搜索的关键词吧~","可以使用 ctrl/cmd + k 快捷键打开搜索哦~"]},{selector:"[data-dia='article-link']",text:["希望你会喜欢这篇文章:「{text}」.","您的选择真的不错哦!好好享受这篇文章吧~","希望您能从 「{text}」这篇文章中学到点东西。"]},{selector:".gt-header-textarea",text:["要吐槽些什么呢?","一定要认真填写喵~","有什么想说的吗?","如果觉得文章不错的话,就给博主留个言吧~"]},{selector:".veditor",text:["要吐槽些什么呢?","一定要认真填写喵~","有什么想说的吗?","如果觉得文章不错的话,就给博主留个言吧~"]}],_0=[{date:"01/01",text:"元旦了呢,新的一年又开始了,今年是{year}年~"},{date:"02/14",text:"又是一年情人节,{year}年找到对象了嘛~"},{date:"03/08",text:"今天是国际妇女节!"},{date:"03/12",text:"今天是植树节,要保护环境呀!"},{date:"04/01",text:"悄悄告诉你一个秘密~今天是愚人节,不要被骗了哦~"},{date:"05/01",text:"今天是五一劳动节,计划好假期去哪里了吗~"},{date:"06/01",text:"儿童节了呢,快活的时光总是短暂,要是永远长不大该多好啊…"},{date:"09/03",text:"中国人民抗日战争胜利纪念日,铭记历史、缅怀先烈、珍爱和平、开创未来。"},{date:"09/10",text:"教师节,在学校要给老师问声好呀~"},{date:"10/01",text:"国庆节到了,为祖国母亲庆生!"},{date:"11/05-11/12",text:"今年的双十一是和谁一起过的呢~"},{date:"12/20-12/31",text:"这几天是圣诞节,主人肯定又去剁手买买买了~"}],Lg={messages:u0,console:d0,copy:f0,visibility_change:h0,welcome:p0,referrer:m0,mouseover:g0,click:v0,events:_0},Ig=Object.freeze(Object.defineProperty({__proto__:null,click:v0,console:d0,copy:f0,default:Lg,events:_0,messages:u0,mouseover:g0,referrer:m0,visibility_change:h0,welcome:p0},Symbol.toStringTag,{value:"Module"})),b0=["妳好,我是 Dia,好高興遇見妳~","好久不見,日子過得好快呢……","大壞蛋!妳都多久沒理人家了呀,嚶嚶嚶~","嗨~快來逗我玩吧!","拿小拳拳錘妳胸口!","學習使我們快樂,快樂使我們更想學習~","showQuote"],y0="哈哈,妳打開了控制臺,是想要看看我的小秘密嗎?",k0="妳都復制了些什麽呀,轉載要記得加上出處哦!",w0="老朋友,妳怎麽才回來呀~",C0={24:"妳是夜貓子呀?這麽晚還不睡覺,明天起的來嘛?","5_7":"早上好!一日之計在於晨,美好的一天就要開始了。","7_11":"上午好!工作順利嘛,不要久坐,多起來走動走動哦!","11_13":"中午了,工作了一個上午,現在是午餐時間!","13_17":"午後很容易犯睏呢,今天的運動目標完成了嗎?","17_19":"傍晚了!窗外夕陽的景色很美麗呢,最美不過夕陽紅~","19_21":"晚上好,今天過得怎麽樣?","21_23":["已經這麽晚了呀,早點休息吧,晚安~","深夜時要愛護眼睛呀!"]},E0={self:"歡迎來到「[PLACEHOLDER]」",baidu:"Hello!來自 百度搜索 的朋友
    妳是搜索 「[PLACEHOLDER]」 找到的我嗎?",so:"Hello!來自 360搜索 的朋友
    妳是搜索 「[PLACEHOLDER]」 找到的我嗎?",google:"Hello!來自 谷歌搜索 的朋友
    歡迎閱讀「[PLACEHOLDER]」",site:"Hello!來自 [PLACEHOLDER] 的朋友",other:"歡迎閱讀 [PLACEHOLDER]"},S0=[{selector:"#Aurora-Dia",text:["哇啊啊啊啊啊啊... 妳想幹嘛? O.O","請您輕一點,我是很昂貴的機器人哦! O.O","領導,我在呢! 我有什麽可以幫到妳呢? O.O"]},{selector:"[data-menu='Home']",text:["點擊前往首頁,想回到上一頁可以使用瀏覽器的後退功能哦。","點它就可以回到首頁啦!","回首頁看看吧。"]},{selector:"[data-menu='About']",text:["妳想知道我家主人是誰嗎?","這裏有一些關於我家主人的秘密哦,要不要看看呢?","發現主人出沒地點!"]},{selector:"[data-menu='Archives']",text:["這裏存儲了主人的所有作品哦!","想看看主人的圖書館嗎?"]},{selector:"[data-menu='Tags']",text:["點擊就可以看文章的標簽啦!","使用標簽可以更好的分類妳的文章哦~"]},{selector:"[data-dia='language']",text:"主人的博客支持多種語言。"},{selector:"[data-dia='light-switch']",text:"您可以點擊這裏切換黑白模式哦!"},{selector:"[data-dia='author']",text:["這是我主人的簡介。","點擊其中任何一個鏈接都可以傳送到我主人的其他世界。"]},{selector:"[data-dia='jump-to-comment']",text:["妳想看看評論嗎?","點擊這裏可以幫助妳直接跳轉到評論部分。"]}],M0=[{selector:"[data-dia='search']",text:["沒有看到妳想要的文章,那麽就輸入妳想搜索的關鍵詞吧~","可以使用 ctrl/cmd + k 快捷鍵打開搜索哦~"]},{selector:"[data-dia='article-link']",text:["希望妳會喜歡這篇文章:「{text}」.","您的選擇真的不錯哦!好好享受這篇文章吧~","希望您能從 「{text}」這篇文章中學到點東西。"]},{selector:".gt-header-textarea",text:["要吐槽些什麽呢?","一定要認真填寫喵~","有什麽想說的嗎?","如果覺得文章不錯的話,就給博主留個言吧~"]},{selector:".veditor",text:["要吐槽些什麽呢?","一定要認真填寫喵~","有什麽想說的嗎?","如果覺得文章不錯的話,就給博主留個言吧~"]}],T0=[{date:"01/01",text:"元旦了呢,新的一年又開始了,今年是{year}年~"},{date:"02/14",text:"又是一年情人節,{year}年找到對象了嘛~"},{date:"03/08",text:"今天是國際婦女節!"},{date:"03/12",text:"今天是植樹節,要保護環境呀!"},{date:"04/01",text:"悄悄告訴妳一個秘密~今天是愚人節,不要被騙了哦~"},{date:"05/01",text:"今天是五一勞動節,計劃好假期去哪裏了嗎~"},{date:"06/01",text:"兒童節了呢,快活的時光總是短暫,要是永遠長不大該多好啊…"},{date:"09/03",text:"中國人民抗日戰爭勝利紀念日,銘記歴史、緬懷先烈、珍愛和平、開創未來。"},{date:"09/10",text:"教師節,在學校要給老師問聲好呀~"},{date:"10/01",text:"國慶節到了,為祖國母親慶生!"},{date:"11/05-11/12",text:"今年的雙十一是和誰一起過的呢~"},{date:"12/20-12/31",text:"這幾天是聖誕節,主人肯定又去剁手買買買了~"}],xg={messages:b0,console:y0,copy:k0,visibility_change:w0,welcome:C0,referrer:E0,mouseover:S0,click:M0,events:T0},$g=Object.freeze(Object.defineProperty({__proto__:null,click:M0,console:y0,copy:k0,default:xg,events:T0,messages:b0,mouseover:S0,referrer:E0,visibility_change:w0,welcome:C0},Symbol.toStringTag,{value:"Module"}));class Pg{constructor(){w(this,"configs",{locale:"en",tips:{}});w(this,"software",new yc);w(this,"eyesAnimationTimer")}installSoftware(t){t&&(this.configs.locale=t.locale,this.configs.tips=t.tips),this.software=new yc({locale:this.configs.locale,botScript:this.configs.tips,containerId:"Aurora-Dia--tips-wrapper",messageId:"Aurora-Dia--tips"})}on(){this.software.load(),this.activateMotion()}activateMotion(){const t=document.getElementById("Aurora-Dia--left-eye"),n=document.getElementById("Aurora-Dia--right-eye"),s=document.getElementById("Aurora-Dia--eyes");t instanceof HTMLElement&&n instanceof HTMLElement&&s instanceof HTMLElement&&document.addEventListener("mousemove",o=>{clearTimeout(this.eyesAnimationTimer),s.classList.add("moving");const r=-(s.getBoundingClientRect().left-o.clientX)/100,a=-(s.getBoundingClientRect().top-o.clientY)/120;t.style.transform=`translateY(${a}px) translateX(${r}px)`,n.style.transform=`translateY(${a}px) translateX(${r}px)`,this.eyesAnimationTimer=setTimeout(()=>{t.style.transform="translateY(0) translateX(0)",n.style.transform="translateY(0) translateX(0)",s.classList.remove("moving")},2e3)})}}class yc{constructor(t){w(this,"config",{botScript:{},containerId:"",messageId:"",botId:"Aurora-Did",locale:"en"});w(this,"messageCacheKey","__AURORA_BOT_MESSAGE__");w(this,"mouseoverEventCacheKey","__AURORA_BOT_MOUSE_OVER__");w(this,"userAction",!1);w(this,"userActionTimer");w(this,"messageTimer");w(this,"messages",[]);w(this,"locales",{});w(this,"botTips",{});t&&(this.config={botScript:t.botScript?t.botScript:this.config.botScript,containerId:t.containerId?t.containerId:"",messageId:t.messageId?t.messageId:"",botId:"Aurora-Dia",locale:t.locale?t.locale:"en"})}load(){this.loadLocaleMessages(),this.injectBotScripts(),this.messages=this.botTips.messages,window.addEventListener("mousemove",()=>this.userAction=!0),window.addEventListener("keydown",()=>this.userAction=!0),sessionStorage.removeItem(this.messageCacheKey),setInterval(()=>{this.userAction?(this.userAction=!1,clearInterval(this.userActionTimer),this.userActionTimer=void 0):this.userActionTimer||(this.userActionTimer=setInterval(()=>{this.showMessage(this.randomSelection(this.messages),6e3,9)},2e4))},1e3),this.registerEventListener(),setTimeout(()=>{this.showWelcomeMessage()},3e3)}injectBotScripts(){let t=[];const n=this.config.botScript;this.botTips=this.locales[this.config.locale],n!==void 0&&(t=Object.keys(n),t.length>0&&t.forEach(s=>{this.botTips={...this.botTips,[s]:n[s]}}))}registerEventListener(){document.addEventListener("copy",()=>{this.showMessage(this.botTips.copy,6e3,9)}),document.addEventListener("visibilitychange",()=>{document.hidden||this.showMessage(this.botTips.visibility_change,6e3,9)}),this.botTips.mouseover&&this.botTips.mouseover.length>0&&document.addEventListener("mouseover",t=>{for(const n of this.botTips.mouseover){const s=n.selector;let o=n.text;if(t.preventDefault(),t.target&&t.target instanceof HTMLElement){if(!t.target.matches(s))continue;if(sessionStorage.getItem(this.mouseoverEventCacheKey)&&sessionStorage.getItem(this.mouseoverEventCacheKey)===s)return;o=this.randomSelection(o),o=o.replace("{text}",t.target.innerText),this.showMessage(o,4e3,8),sessionStorage.setItem(this.mouseoverEventCacheKey,s),setTimeout(()=>{sessionStorage.removeItem(this.mouseoverEventCacheKey)},4e3);return}}}),this.botTips.click&&this.botTips.click.length>0&&document.addEventListener("click",t=>{if(t.target&&t.target instanceof HTMLElement)for(const n of this.botTips.click){const s=n.selector;let o=n.text;if(t.target&&t.target instanceof HTMLElement){if(!t.target.matches(s))continue;o=this.randomSelection(o),o=o.replace("{text}",t.target.innerText),this.showMessage(o,4e3,8);return}}}),this.botTips.events&&this.botTips.events.length>0&&this.botTips.events.forEach(t=>{const n=new Date,s=t.date.split("-")[0],o=t.date.split("-")[1]||s;s.split("/")[0]<=n.getMonth()+1&&n.getMonth()+1<=o.split("/")[0]&&s.split("/")[1]<=n.getDate()&&n.getDate()<=o.split("/")[1]&&(t.text=this.randomSelection(t.text),t.text=t.text.replace("{year}",n.getFullYear()),this.messages.push(t.text))})}showWelcomeMessage(){let t;if(location.pathname==="/"){const n=new Date().getHours();n>5&&n<=7?t=this.botTips["5_7"]:n>7&&n<=11?t=this.botTips.welcome["7_11"]:n>11&&n<=13?t=this.botTips.welcome["11_13"]:n>13&&n<=17?t=this.botTips.welcome["13_17"]:n>17&&n<=19?t=this.botTips.welcome["17_19"]:n>19&&n<=21?t=this.botTips.welcome["19_21"]:n>21&&n<=23?t=this.botTips.welcome["21_23"]:t=this.botTips.welcome[24]}else if(document.referrer!==""){const n=new URL(document.referrer),s=n.hostname.split(".")[1];location.hostname===n.hostname?t=this.botTips.referrer.self.replace("[PLACEHOLDER]",document.title.split(" - ")[0]):s==="baidu"?t=this.botTips.referrer.baidu.replace("[PLACEHOLDER]",n.search.split("&wd=")[1].split("&")[0]):s==="so"?t=this.botTips.referrer.so.replace("[PLACEHOLDER]",n.search.split("&q=")[1].split("&")[0]):s==="google"?t=this.botTips.referrer.google.replace("[PLACEHOLDER]",document.title.split(" - ")[0]):t=this.botTips.referrer.site.replace("[PLACEHOLDER]",n.hostname)}else t=this.botTips.referrer.other.replace("[PLACEHOLDER]",document.title.split(" - ")[0]);this.showMessage(t,7e3,8)}loadLocaleMessages(){const t=Object.assign({"./messages/en.json":Ag,"./messages/zh-CN.json":Ig,"./messages/zh-TW.json":$g}),n={};Object.keys(t).forEach(s=>{const o=s.match(/([A-Za-z0-9-_]+)\./i);if(o&&o.length>1){const r=o[1];n[r]=t[s]}}),this.locales=n}showMessage(t,n,s){const o=sessionStorage.getItem(this.messageCacheKey)??"";if(!t||o!==""&&parseInt(o)>s)return;if(this.messageTimer&&(clearTimeout(this.messageTimer),this.messageTimer=void 0),sessionStorage.setItem(this.messageCacheKey,String(s)),t=this.randomSelection(t),t==="showQuote"){this.showQuote();return}const r=document.getElementById(this.config.containerId),a=document.getElementById(this.config.messageId);let i=document.createElement("null");this.config.botId&&(i=document.getElementById(this.config.botId)??document.createElement("null")),a instanceof Element&&r instanceof Element&&(a.innerHTML=t,r.classList.add("active"),i instanceof Element&&i.classList.add("active"),this.messageTimer=setTimeout(()=>{sessionStorage.removeItem(this.messageCacheKey),r.classList.remove("active"),i instanceof Element&&i.classList.remove("active")},n))}randomSelection(t){return Array.isArray(t)?t[Math.floor(Math.random()*t.length)]:t}showQuote(){(this.config.locale==="zh-CN"||this.config.locale==="zh-TW")&&this.getHitokoto()}getHitokoto(){fetch("https://v1.hitokoto.cn").then(t=>t.json()).then(t=>{this.showMessage(t.hitokoto,6e3,9)})}getTheySaidSo(){fetch("https://quotes.rest/qod?language=en").then(t=>t.json()).then(t=>{this.showMessage(t.contents.quotes[0].quote,6e3,9)})}}const Rg=kt({id:"diaStore",state:()=>({dia:new Pg}),getters:{},actions:{initializeBot(e){this.dia.installSoftware(e),this.dia.on()}}}),Ng=ye({name:"AUDia",setup(){const e=Rg(),t=He(),n=ce(!1),s=()=>{t.themeConfig.plugins.aurora_bot.enable&&(e.initializeBot({locale:t.themeConfig.plugins.aurora_bot.locale,tips:t.themeConfig.plugins.aurora_bot.tips}),setTimeout(()=>{n.value=!0},1e3))};return ze(()=>t.configReady,o=>{o&&s()}),dt(()=>{t.configReady&&s()}),{cssVariables:j(()=>` - --aurora-dia--linear-gradient: ${t.themeConfig.theme.header_gradient_css}; - --aurora-dia--linear-gradient-hover: linear-gradient( - to bottom, - ${t.themeConfig.theme.gradient.color_2}, - ${t.themeConfig.theme.gradient.color_3} - ); - --aurora-dia--platform-light: ${t.themeConfig.theme.gradient.color_3}; - `),showDia:n}}});const ti=e=>(xo("data-v-3a8162e1"),e=e(),$o(),e),Dg={id:"bot-container"},Fg=ti(()=>v("div",{id:"Aurora-Dia--tips-wrapper"},[v("div",{id:"Aurora-Dia--tips",class:"Aurora-Dia--tips"},"早上好呀~")],-1)),jg=ti(()=>v("div",{id:"Aurora-Dia",class:"Aurora-Dia"},[v("div",{id:"Aurora-Dia--eyes",class:"Aurora-Dia--eyes"},[v("div",{id:"Aurora-Dia--left-eye",class:"Aurora-Dia--eye left"}),v("div",{id:"Aurora-Dia--right-eye",class:"Aurora-Dia--eye right"})])],-1)),Bg=ti(()=>v("div",{class:"Aurora-Dia--platform"},null,-1)),Zg=[Fg,jg,Bg];function Hg(e,t,n,s,o,r){return O(),be(Pt,{name:"fade-bounce-y",mode:"out-in"},{default:De(()=>[Xt(v("div",Dg,[v("div",{id:"Aurora-Dia--body",style:Ie(e.cssVariables)},Zg,4)],512),[[jo,e.showDia]])]),_:1})}const Ug=Me(Ng,[["render",Hg],["__scopeId","data-v-3a8162e1"]]),Zs="/static/img/dccf965f.jpg";function is(e,t){t===void 0&&(t={});var n=t.insertAt;if(e&&typeof document<"u"){var s=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&s.firstChild?s.insertBefore(o,s.firstChild):s.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}is(".vel-fade-enter-active,.vel-fade-leave-active{-webkit-transition:all .3s ease;transition:all .3s ease}.vel-fade-enter-from,.vel-fade-leave-to{opacity:0}.vel-img-swiper{display:block;position:relative}.vel-modal{background:rgba(0,0,0,.5);bottom:0;left:0;margin:0;position:fixed;right:0;top:0;z-index:9998}.vel-img-wrapper{left:50%;margin:0;position:absolute;top:50%;-webkit-transform:translate(-50% -50%);transform:translate(-50% -50%);-webkit-transition:.3s linear;transition:.3s linear;will-change:transform opacity}.vel-img,.vel-img-wrapper{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vel-img{background-color:rgba(0,0,0,.7);-webkit-box-shadow:0 5px 20px 2px rgba(0,0,0,.7);box-shadow:0 5px 20px 2px rgba(0,0,0,.7);display:block;max-height:80vh;max-width:80vw;position:relative;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}@media (max-width:750px){.vel-img{max-height:95vh;max-width:85vw}}.vel-btns-wrapper{position:static}.vel-btns-wrapper .btn__close,.vel-btns-wrapper .btn__next,.vel-btns-wrapper .btn__prev{-webkit-tap-highlight-color:transparent;color:#fff;cursor:pointer;font-size:32px;opacity:.6;outline:none;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:.15s linear;transition:.15s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vel-btns-wrapper .btn__close:hover,.vel-btns-wrapper .btn__next:hover,.vel-btns-wrapper .btn__prev:hover{opacity:1}.vel-btns-wrapper .btn__close.disable,.vel-btns-wrapper .btn__close.disable:hover,.vel-btns-wrapper .btn__next.disable,.vel-btns-wrapper .btn__next.disable:hover,.vel-btns-wrapper .btn__prev.disable,.vel-btns-wrapper .btn__prev.disable:hover{cursor:default;opacity:.2}.vel-btns-wrapper .btn__next{right:12px}.vel-btns-wrapper .btn__prev{left:12px}.vel-btns-wrapper .btn__close{right:10px;top:24px}@media (max-width:750px){.vel-btns-wrapper .btn__next,.vel-btns-wrapper .btn__prev{font-size:20px}.vel-btns-wrapper .btn__close{font-size:24px}.vel-btns-wrapper .btn__next{right:4px}.vel-btns-wrapper .btn__prev{left:4px}}.vel-modal.is-rtl .vel-btns-wrapper .btn__next{left:12px;right:auto}.vel-modal.is-rtl .vel-btns-wrapper .btn__prev{left:auto;right:12px}@media (max-width:750px){.vel-modal.is-rtl .vel-btns-wrapper .btn__next{left:4px;right:auto}.vel-modal.is-rtl .vel-btns-wrapper .btn__prev{left:auto;right:4px}}.vel-modal.is-rtl .vel-img-title{direction:rtl}");is('.vel-loading{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vel-loading .ring{display:inline-block;height:64px;width:64px}.vel-loading .ring:after{-webkit-animation:ring 1.2s linear infinite;animation:ring 1.2s linear infinite;border-color:hsla(0,0%,100%,.7) transparent;border-radius:50%;border-style:solid;border-width:5px;content:" ";display:block;height:46px;margin:1px;width:46px}@-webkit-keyframes ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}');is(".vel-on-error{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vel-on-error .icon{color:#aaa;font-size:80px}");is(".vel-img-title{bottom:60px;color:#ccc;cursor:default;font-size:12px;left:50%;line-height:1;max-width:80%;opacity:.8;overflow:hidden;position:absolute;text-align:center;text-overflow:ellipsis;-webkit-transform:translate(-50%);transform:translate(-50%);-webkit-transition:opacity .15s;transition:opacity .15s;white-space:nowrap}.vel-img-title:hover{opacity:1}");is(".vel-icon{fill:currentColor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}");is(".vel-toolbar{border-radius:4px;bottom:8px;display:-webkit-box;display:-ms-flexbox;display:flex;left:50%;opacity:.9;overflow:hidden;padding:0;position:absolute;-webkit-transform:translate(-50%);transform:translate(-50%)}.vel-toolbar,.vel-toolbar .toolbar-btn{background-color:#2d2d2d;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vel-toolbar .toolbar-btn{-ms-flex-negative:0;-webkit-tap-highlight-color:transparent;color:#fff;cursor:pointer;flex-shrink:0;font-size:20px;outline:none;padding:6px 10px}.vel-toolbar .toolbar-btn:active,.vel-toolbar .toolbar-btn:hover{background-color:#3d3d3d}");const Et="vel",At=ye({name:"SvgIcon",props:{type:{type:String,default:""}},setup:e=>()=>R("svg",{class:`${Et}-icon icon`,"aria-hidden":"true"},[R("use",{"xlink:href":`#icon-${e.type}`},null)])}),sr=typeof window<"u",Zn=()=>{};let O0=!1;if(sr)try{const e={};Object.defineProperty(e,"passive",{get(){O0=!0}}),window.addEventListener("test-passive",Zn,e)}catch{}const kc=function(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0&&arguments[3];sr&&e.addEventListener(t,n,!!O0&&{capture:!1,passive:s})},wc=(e,t,n)=>{sr&&e.removeEventListener(t,n)},zg=e=>{e.preventDefault()},Vg=Object.prototype.toString,ni=e=>t=>Vg.call(t).slice(8,-1)===e,Wg=e=>!!e&&ni("Object")(e),Cc=e=>!!e&&ni("String")(e);function qg(e){return e!=null}const Kg=ye({name:"Toolbar",props:{zoomIn:{type:Function,default:Zn},zoomOut:{type:Function,default:Zn},rotateLeft:{type:Function,default:Zn},rotateRight:{type:Function,default:Zn},resize:{type:Function,default:Zn},rotateDisabled:{type:Boolean,default:!1},zoomDisabled:{type:Boolean,default:!1}},setup:e=>()=>R("div",{class:`${Et}-toolbar`},[!e.zoomDisabled&&R(me,null,[R("div",{role:"button","aria-label":"zoom in button",class:"toolbar-btn toolbar-btn__zoomin",onClick:e.zoomIn},[R(At,{type:"zoomin"},null)]),R("div",{role:"button","aria-label":"zoom out button",class:"toolbar-btn toolbar-btn__zoomout",onClick:e.zoomOut},[R(At,{type:"zoomout"},null)])]),R("div",{role:"button","aria-label":"resize image button",class:"toolbar-btn toolbar-btn__resize",onClick:e.resize},[R(At,{type:"resize"},null)]),!e.rotateDisabled&&R(me,null,[R("div",{role:"button","aria-label":"image rotate left button",class:"toolbar-btn toolbar-btn__rotate",onClick:e.rotateLeft},[R(At,{type:"rotate-left"},null)]),R("div",{role:"button","aria-label":"image rotate right button",class:"toolbar-btn toolbar-btn__rotate",onClick:e.rotateRight},[R(At,{type:"rotate-right"},null)])])])}),Yg=()=>R("div",{class:`${Et}-loading`},[R("div",{class:"ring"},null)]),Gg=()=>R("div",{class:`${Et}-on-error`},[R("div",{class:"ring"},null),R(At,{type:"img-broken"},null)]),Xg=(e,t)=>{let{slots:n}=t;return R("div",{class:`${Et}-img-title`},[n.default?n.default():""])},Jg=ye({name:"DefaultIcons",setup:()=>()=>R("svg",{"aria-hidden":!0,style:"position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden;"},[R("symbol",{id:"icon-rotate-right",viewBox:"0 0 1024 1024"},[R("path",{d:"M275.199914 450.496179v20.031994c0.384-38.079988 12.543996-67.423979 36.479989-87.967973 22.431993-20.351994 49.215985-30.55999 80.319975-30.55999 32.06399 0 59.295981 10.175997 81.759974 30.55999 22.815993 20.543994 34.591989 49.887984 35.359989 87.967973v123.935961c-0.768 37.887988-12.543996 67.135979-35.359989 87.679973-22.431993 20.351994-49.695984 30.75199-81.759974 31.10399a120.255962 120.255962 0 0 1-72.991978-24.895992c-21.503993-15.839995-35.359989-38.751988-41.567987-68.735979h60.831981c9.247997 23.007993 27.167992 34.495989 53.759983 34.49599 37.535988-0.384 56.863982-21.407993 57.983982-63.071981v-38.751988c-28.095991 8.863997-54.303983 13.119996-78.623975 12.735996a91.263971 91.263971 0 0 1-68.447979-27.711991c-18.847994-18.303994-28.095991-47.231985-27.711991-86.847973z m62.55998 24.863992c7.103998 24.799992 25.215992 37.343988 54.271983 37.663989 27.103992-0.288 44.703986-11.327996 52.831984-33.11999 3.135999-8.383997 2.655999-29.599991-1.28-38.559988-8.607997-19.615994-25.791992-29.695991-51.551984-30.20799-28.383991 0.576-46.303986 12.639996-53.759983 36.159988a58.719982 58.719982 0 0 0-0.512 28.063991z m390.335878 115.711964v-116.895963c-1.12-41.311987-20.447994-62.335981-57.983981-63.07198-37.727988 0.768-56.959982 21.791993-57.695982 63.07198v116.895963c0.768 41.663987 19.999994 62.68798 57.695982 63.071981 37.535988-0.384 56.863982-21.407993 57.983981-63.071981z m-174.815945 3.391999v-123.935961c0.384-38.079988 12.543996-67.423979 36.479989-87.967973 22.431993-20.351994 49.215985-30.55999 80.319975-30.55999 32.06399 0 59.295981 10.175997 81.759974 30.55999 22.815993 20.543994 34.591989 49.887984 35.359989 87.967973v123.935961c-0.768 37.887988-12.543996 67.135979-35.359989 87.679973-22.431993 20.351994-49.695984 30.75199-81.759974 31.10399-31.10399-0.384-57.887982-10.751997-80.319975-31.10399-23.935993-20.543994-36.127989-49.791984-36.479989-87.679973z m282.559912-479.07185A509.887841 509.887841 0 0 0 511.99984 0.00032C229.215928 0.00032 0 229.216248 0 512.00016s229.215928 511.99984 511.99984 511.99984 511.99984-229.215928 511.99984-511.99984c0-3.743999-0.032-7.455998-0.128-11.167997-1.631999-11.295996-8.159997-27.103992-31.87199-27.103991-27.487991 0-31.67999 21.247993-32.03199 32.06399l0.032 4.127999a30.62399 30.62399 0 0 0 0.16 2.079999H959.9997c0 247.423923-200.575937 447.99986-447.99986 447.99986S63.99998 759.424083 63.99998 512.00016 264.575917 64.0003 511.99984 64.0003a446.079861 446.079861 0 0 1 277.439913 96.22397l-94.91197 91.679971c-25.439992 24.607992-17.439995 44.991986 17.887994 45.599986l188.031942 3.295999a64.31998 64.31998 0 0 0 65.055979-62.84798l3.295999-188.127942C969.407697 15.040315 949.311703 5.792318 923.871711 30.368311l-87.999972 85.023973z",fill:""},null)]),R("symbol",{id:"icon-rotate-left",viewBox:"0 0 1024 1024"},[R("path",{d:"M275.199914 450.496179v20.031994c0.384-38.079988 12.543996-67.423979 36.479989-87.967973 22.431993-20.351994 49.215985-30.55999 80.319975-30.55999 32.06399 0 59.295981 10.175997 81.759974 30.55999 22.815993 20.543994 34.591989 49.887984 35.359989 87.967973v123.935961c-0.768 37.887988-12.543996 67.135979-35.359989 87.679973-22.431993 20.351994-49.695984 30.75199-81.759974 31.10399a120.255962 120.255962 0 0 1-72.991978-24.895992c-21.503993-15.839995-35.359989-38.751988-41.567987-68.735979h60.831981c9.247997 23.007993 27.167992 34.495989 53.759983 34.49599 37.535988-0.384 56.863982-21.407993 57.983982-63.071981v-38.751988c-28.095991 8.863997-54.303983 13.119996-78.623975 12.735996a91.263971 91.263971 0 0 1-68.447979-27.711991c-18.847994-18.303994-28.095991-47.231985-27.711991-86.847973z m62.55998 24.863992c7.103998 24.799992 25.215992 37.343988 54.271983 37.663989 27.103992-0.288 44.703986-11.327996 52.831984-33.11999 3.135999-8.383997 2.655999-29.599991-1.28-38.559988-8.607997-19.615994-25.791992-29.695991-51.551984-30.20799-28.383991 0.576-46.303986 12.639996-53.759983 36.159988a58.719982 58.719982 0 0 0-0.512 28.063991z m390.335878 115.711964v-116.895963c-1.12-41.311987-20.447994-62.335981-57.983981-63.07198-37.727988 0.768-56.959982 21.791993-57.695982 63.07198v116.895963c0.768 41.663987 19.999994 62.68798 57.695982 63.071981 37.535988-0.384 56.863982-21.407993 57.983981-63.071981z m-174.815945 3.391999v-123.935961c0.384-38.079988 12.543996-67.423979 36.479989-87.967973 22.431993-20.351994 49.215985-30.55999 80.319975-30.55999 32.06399 0 59.295981 10.175997 81.759974 30.55999 22.815993 20.543994 34.591989 49.887984 35.359989 87.967973v123.935961c-0.768 37.887988-12.543996 67.135979-35.359989 87.679973-22.431993 20.351994-49.695984 30.75199-81.759974 31.10399-31.10399-0.384-57.887982-10.751997-80.319975-31.10399-23.935993-20.543994-36.127989-49.791984-36.479989-87.679973zM188.159941 115.392284A509.887841 509.887841 0 0 1 511.99984 0.00032c282.783912 0 511.99984 229.215928 511.99984 511.99984s-229.215928 511.99984-511.99984 511.99984S0 794.784072 0 512.00016c0-3.743999 0.032-7.455998 0.128-11.167997 1.631999-11.295996 8.159997-27.103992 31.87199-27.103991 27.487991 0 31.67999 21.247993 32.03199 32.06399L63.99998 509.920161a30.62399 30.62399 0 0 1-0.16 2.079999H63.99998c0 247.423923 200.575937 447.99986 447.99986 447.99986s447.99986-200.575937 447.99986-447.99986S759.423763 64.0003 511.99984 64.0003a446.079861 446.079861 0 0 0-277.439913 96.22397l94.91197 91.679971c25.439992 24.607992 17.439995 44.991986-17.887994 45.599986L123.551961 300.800226a64.31998 64.31998 0 0 1-65.055979-62.84798l-3.295999-188.127942C54.591983 15.040315 74.687977 5.792318 100.127969 30.368311l87.999972 85.023973z",fill:""},null)]),R("symbol",{id:"icon-resize",viewBox:"0 0 1024 1024"},[R("path",{d:"M456.036919 791.8108 270.553461 791.8108 460.818829 601.572038l-39.593763-39.567157L231.314785 751.915162l0.873903-183.953615c0-15.465227-12.515035-27.981285-27.981285-27.981285s-27.981285 12.515035-27.981285 27.981285l0 251.829516c0 8.3072 3.415796 14.975063 8.826016 19.564591 5.082762 5.192256 12.132318 8.416693 19.947308 8.416693l251.036453 0c15.46625 0 27.981285-12.514012 27.981285-27.981285C484.018204 804.325835 471.504192 791.8108 456.036919 791.8108zM838.945819 184.644347c-5.082762-5.191232-12.132318-8.416693-19.947308-8.416693L567.961034 176.227654c-15.46625 0-27.981285 12.515035-27.981285 27.981285 0 15.46625 12.514012 27.981285 27.981285 27.981285l185.483458 0L563.206754 422.427962l39.567157 39.567157 189.910281-189.910281-0.873903 183.953615c0 15.46625 12.514012 27.981285 27.981285 27.981285s27.981285-12.514012 27.981285-27.981285L847.772858 204.208938C847.771835 195.902762 844.356039 189.234899 838.945819 184.644347zM847.771835 64.303538 176.227142 64.303538c-61.809741 0-111.924115 50.115398-111.924115 111.924115l0 671.544693c0 61.809741 50.114374 111.924115 111.924115 111.924115l671.544693 0c61.809741 0 111.924115-50.114374 111.924115-111.924115l0-671.544693C959.69595 114.418936 909.581576 64.303538 847.771835 64.303538zM903.733381 847.772346c0 30.878265-25.056676 55.962569-55.962569 55.962569L176.227142 903.734916c-30.90487 0-55.962569-25.084305-55.962569-55.962569l0-671.544693c0-30.9325 25.056676-55.962569 55.962569-55.962569l671.544693 0c30.90487 0 55.962569 25.03007 55.962569 55.962569L903.734404 847.772346z"},null)]),R("symbol",{id:"icon-img-broken",viewBox:"0 0 1024 1024"},[R("path",{d:"M810.666667 128H213.333333c-46.933333 0-85.333333 38.4-85.333333 85.333333v597.333334c0 46.933333 38.4 85.333333 85.333333 85.333333h597.333334c46.933333 0 85.333333-38.4 85.333333-85.333333V213.333333c0-46.933333-38.4-85.333333-85.333333-85.333333z m0 682.666667H213.333333v-195.413334l42.24 42.24 170.666667-170.666666 170.666667 170.666666 170.666666-170.24L810.666667 530.346667V810.666667z m0-401.493334l-43.093334-43.093333-170.666666 171.093333-170.666667-170.666666-170.666667 170.666666-42.24-42.666666V213.333333h597.333334v195.84z"},null)]),R("symbol",{id:"icon-prev",viewBox:"0 0 1024 1024"},[R("path",{d:"M784.652701 955.6957 346.601985 517.644983c-2.822492-2.822492-2.822492-7.902977 0-11.289967l439.179713-439.179713c6.77398-6.77398 10.725469-16.370452 10.725469-25.966924L796.507166 36.692393c0-20.32194-16.370452-36.692393-36.692393-36.692393l-4.515987 0c-9.596472 0-19.192944 3.951488-25.966924 10.725469L250.072767 489.420066c-12.418964 12.418964-12.418964 32.740904 0 45.159868l477.565601 477.565601c7.338479 7.338479 17.499449 11.854465 28.224917 11.854465l0 0c22.015436 0 40.079383-18.063947 40.079383-40.079383l0 0C796.507166 973.759647 791.99118 963.598677 784.652701 955.6957z"},null)]),R("symbol",{id:"icon-next",viewBox:"0 0 1024 1024"},[R("path",{d:"M246.121279 955.6957l438.050717-438.050717c2.822492-2.822492 2.822492-7.902977 0-11.289967L244.992282 67.175303c-6.77398-6.77398-10.725469-16.370452-10.725469-25.966924L234.266814 36.692393C234.266814 16.370452 250.637266 0 270.959206 0l4.515987 0c9.596472 0 19.192944 3.951488 25.966924 10.725469l478.694598 478.694598c12.418964 12.418964 12.418964 32.740904 0 45.159868l-477.565601 477.565601c-7.338479 7.338479-17.499449 11.854465-28.224917 11.854465l0 0c-22.015436 0-40.079383-18.063947-40.079383-40.079383l0 0C234.266814 973.759647 238.7828 963.598677 246.121279 955.6957z"},null)]),R("symbol",{id:"icon-zoomin",viewBox:"0 0 1024 1024"},[R("path",{d:"M725.504 652.864c46.4-61.44 71.744-136.448 71.744-218.752C797.248 230.464 632.768 64 430.656 64S64 230.464 64 434.112C64 639.36 228.48 805.76 430.656 805.76c86.656 0 164.48-30.144 227.52-81.088L889.984 960 960 891.264l-234.496-238.4z m-294.848 67.456c-155.776 0-282.624-128.896-282.624-286.208s126.848-286.208 282.624-286.208 282.624 128.896 282.624 286.208-126.912 286.208-282.624 286.208z"},null),R("path",{d:"M235.712 369.92h390.72v127.104H235.712z"},null),R("path",{d:"M367.488 238.144h127.104v390.72H367.488z"},null)]),R("symbol",{id:"icon-close",viewBox:"0 0 1024 1024"},[R("path",{d:"M570.24 512l259.2 259.2-58.88 58.24L512 570.24l-261.12 261.12-58.24-58.24L453.76 512 194.56 252.8l58.24-58.24L512 453.76l261.12-261.12 58.24 58.24z"},null)]),R("symbol",{id:"icon-zoomout",viewBox:"0 0 1024 1024"},[R("path",{d:"M725.504 652.864c46.4-61.44 71.744-136.448 71.744-218.752C797.248 230.464 632.768 64 430.656 64S64 230.464 64 434.112C64 639.36 228.48 805.76 430.656 805.76c86.656 0 164.48-30.144 227.52-81.088L889.984 960 960 891.264l-234.496-238.4z m-294.848 67.456c-155.776 0-282.624-128.896-282.624-286.208s126.848-286.208 282.624-286.208 282.624 128.896 282.624 286.208-126.912 286.208-282.624 286.208z"},null),R("path",{d:"M235.712 369.92h390.72v127.104H235.712z"},null)])])}),Os=sr?window:global;let Ec=Date.now();function Qg(e){const t=Date.now(),n=Math.max(0,16-(t-Ec)),s=setTimeout(e,n);return Ec=t+n,s}function wr(e){return(Os.requestAnimationFrame||Qg).call(Os,e)}function Sc(e){(Os.cancelAnimationFrame||Os.clearTimeout).call(Os,e)}function Mc(e,t){const n=e.clientX-t.clientX,s=e.clientY-t.clientY;return Math.sqrt(n*n+s*s)}function Cr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ns(e)}var Er=ye({name:"VueEasyLightbox",props:{imgs:{type:[Array,String],default:()=>""},visible:{type:Boolean,default:!1},index:{type:Number,default:0},scrollDisabled:{type:Boolean,default:!0},escDisabled:{type:Boolean,default:!1},moveDisabled:{type:Boolean,default:!1},titleDisabled:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},teleport:{type:[String,Object],default:null},swipeTolerance:{type:Number,default:50},loop:{type:Boolean,default:!1},rtl:{type:Boolean,default:!1},zoomScale:{type:Number,default:.12},maxZoom:{type:Number,default:3},minZoom:{type:Number,default:.1},rotateDisabled:{type:Boolean,default:!1},zoomDisabled:{type:Boolean,default:!1},pinchDisabled:{type:Boolean,default:!1}},emits:{hide:()=>!0,"on-error":e=>!0,"on-prev":(e,t)=>!0,"on-next":(e,t)=>!0,"on-prev-click":(e,t)=>!0,"on-next-click":(e,t)=>!0,"on-index-change":(e,t)=>!0,"on-rotate":e=>!0},setup(e,t){let{emit:n,slots:s}=t;const{imgRef:o,imgState:r,setImgSize:a}=(()=>{const u=ce(),g=$t({width:0,height:0,maxScale:1});return{imgRef:u,imgState:g,setImgSize:()=>{if(u.value){const{width:M,height:I,naturalWidth:H}=u.value;g.maxScale=H/M,g.width=M,g.height=I}}}})(),i=ce(0),l=ce(""),c=$t({scale:1,lastScale:1,rotateDeg:0,top:0,left:0,initX:0,initY:0,lastX:0,lastY:0,touches:[]}),d=$t({loadError:!1,loading:!1,dragging:!1,gesturing:!1,wheeling:!1}),h=j(()=>{return u=e.imgs,ni("Array")(u)?e.imgs.map(g=>typeof g=="string"?{src:g}:function(M){return Wg(M)&&Cc(M.src)}(g)?g:void 0).filter(qg):Cc(e.imgs)?[{src:e.imgs}]:[];var u}),p=j(()=>{var g;return(g=h.value[i.value])==null?void 0:g.src}),C=j(()=>{var u;return(u=h.value[i.value])==null?void 0:u.title}),b=j(()=>{var u;return(u=h.value[i.value])==null?void 0:u.alt}),E=j(()=>({cursor:d.loadError?"default":e.moveDisabled?d.dragging?"grabbing":"grab":"move",top:`calc(50% + ${c.top}px)`,left:`calc(50% + ${c.left}px)`,transition:d.dragging||d.gesturing?"none":"",transform:`translate(-50%, -50%) scale(${c.scale}) rotate(${c.rotateDeg}deg)`})),L=()=>{n("hide")},k=()=>{c.scale=1,c.lastScale=1,c.rotateDeg=0,c.top=0,c.left=0,d.loadError=!1,d.dragging=!1,d.loading=!0},T=(u,g)=>{const M=i.value;k(),i.value=u,h.value[i.value]===h.value[u]&&Yn(()=>{d.loading=!1}),e.visible&&M!==u&&(g&&g(M,u),n("on-index-change",M,u))},P=()=>{const u=i.value,g=e.loop?(u+1)%h.value.length:u+1;!e.loop&&g>h.value.length-1||T(g,(M,I)=>{n("on-next",M,I),n("on-next-click",M,I)})},S=()=>{const u=i.value;let g=u-1;if(u===0){if(!e.loop)return;g=h.value.length-1}T(g,(M,I)=>{n("on-prev",M,I),n("on-prev-click",M,I)})},x=u=>{Math.abs(1-u)<.05?u=1:Math.abs(r.maxScale-u)<.05&&(u=r.maxScale),c.lastScale=c.scale,c.scale=u},F=()=>{const u=c.scale+e.zoomScale;u{const u=c.scale-e.zoomScale;u>e.minZoom&&x(u)},Z=()=>{const u=c.rotateDeg%360;n("on-rotate",Math.abs(u<0?u+360:u))},J=()=>{c.rotateDeg-=90,Z()},ae=()=>{c.rotateDeg+=90,Z()},de=()=>{c.scale=1,c.top=0,c.left=0},ne=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return!e.moveDisabled&&u===0},{onMouseDown:m,onMouseMove:N,onMouseUp:B}=((u,g,M)=>{let I,H=!1;return{onMouseDown:U=>{u.initX=u.lastX=U.clientX,u.initY=u.lastY=U.clientY,g.dragging=!0,H=!1,U.stopPropagation()},onMouseUp:U=>{M(U.button)&&Sc(I),g.dragging=!1,H=!1},onMouseMove:U=>{if(g.dragging)if(M(U.button)){if(H)return;H=!0,I=wr(()=>{const{top:Q,left:z,lastY:A,lastX:D}=u;u.top=Q-A+U.clientY,u.left=z-D+U.clientX,u.lastX=U.clientX,u.lastY=U.clientY,H=!1})}else u.lastX=U.clientX,u.lastY=U.clientY;U.stopPropagation()}}})(c,d,ne),{onTouchStart:X,onTouchMove:G,onTouchEnd:te}=((u,g,M,I,H)=>{let U,Q=!1;return{onTouchStart:z=>{const{touches:A}=z;A.length>1&&H()?(M.gesturing=!0,g.touches=A):(g.initX=g.lastX=A[0].clientX,g.initY=g.lastY=A[0].clientY,M.dragging=!0),z.stopPropagation()},onTouchMove:z=>{if(Q)return;const{touches:A}=z,{lastX:D,lastY:le,left:ue,top:_e,scale:Oe}=g;if(!M.gesturing&&M.dragging){if(!A[0])return;const{clientX:ke,clientY:Pe}=A[0];I()?U=wr(()=>{g.lastX=ke,g.lastY=Pe,g.top=_e-le+Pe,g.left=ue-D+ke,Q=!1}):(g.lastX=ke,g.lastY=Pe)}else M.gesturing&&g.touches.length>1&&A.length>1&&H()&&(U=wr(()=>{const ke=(Mc(g.touches[0],g.touches[1])-Mc(A[0],A[1]))/u.width;g.touches=A;const Pe=Oe-1.3*ke;Pe>.5&&Pe<1.5*u.maxScale&&(g.scale=Pe),Q=!1}))},onTouchEnd:()=>{Sc(U),M.dragging=!1,M.gesturing=!1,Q=!1}}})(r,c,d,ne,()=>!e.pinchDisabled),he=()=>{c.scale!==r.maxScale?(c.lastScale=c.scale,c.scale=r.maxScale):c.scale=c.lastScale},ve=u=>{d.loadError||d.gesturing||d.loading||d.dragging||d.wheeling||!e.scrollDisabled||e.zoomDisabled||(d.wheeling=!0,setTimeout(()=>{d.wheeling=!1},80),u.deltaY<0?F():Y())},$e=u=>{const g=u;e.visible&&(!e.escDisabled&&g.key==="Escape"&&e.visible&&L(),g.key==="ArrowLeft"&&(e.rtl?P():S()),g.key==="ArrowRight"&&(e.rtl?S():P()))},Te=()=>{e.maskClosable&&L()},Ke=()=>{a()},Ye=()=>{d.loading=!1},pt=u=>{d.loading=!1,d.loadError=!0,n("on-error",u)},Ne=()=>{e.visible&&a()};ze(()=>e.index,u=>{u<0||u>=h.value.length||T(u)}),ze(()=>d.dragging,(u,g)=>{const M=!u&&g;if(!ne()&&M){const I=c.lastX-c.initX,H=c.lastY-c.initY,U=e.swipeTolerance;Math.abs(I)>Math.abs(H)&&(I<-1*U?P():I>U&&S())}}),ze(()=>e.visible,u=>{if(u){k();const g=h.value.length;if(g===0)return i.value=0,d.loading=!1,void Yn(()=>d.loadError=!0);i.value=e.index>=g?g-1:e.index<0?0:e.index,e.scrollDisabled&&V()}else e.scrollDisabled&&se()});const V=()=>{document&&(l.value=document.body.style.overflowY,document.body.style.overflowY="hidden")},se=()=>{document&&(document.body.style.overflowY=l.value)};dt(()=>{kc(document,"keydown",$e),kc(window,"resize",Ne)}),Ca(()=>{wc(document,"keydown",$e),wc(window,"resize",Ne),se()});const ee=()=>d.loading?s.loading?s.loading({key:"loading"}):R(Yg,{key:"img-loading"},null):d.loadError?s.onerror?s.onerror({key:"onerror"}):R(Gg,{key:"img-on-error"},null):R("div",{class:`${Et}-img-wrapper`,style:E.value,key:"img-wrapper"},[R("img",{alt:b.value,ref:o,draggable:"false",class:`${Et}-img`,src:p.value,onMousedown:m,onMouseup:B,onMousemove:N,onTouchstart:X,onTouchmove:G,onTouchend:te,onLoad:Ke,onDblclick:he,onDragstart:u=>{u.preventDefault()}},null)]),W=()=>{if(s["prev-btn"])return s["prev-btn"]({prev:S});if(h.value.length<=1)return;const u=!e.loop&&i.value<=0;return R("div",{role:"button","aria-label":"previous image button",class:"btn__prev "+(u?"disable":""),onClick:S},[e.rtl?R(At,{type:"next"},null):R(At,{type:"prev"},null)])},oe=()=>{if(s["next-btn"])return s["next-btn"]({next:P});if(h.value.length<=1)return;const u=!e.loop&&i.value>=h.value.length-1;return R("div",{role:"button","aria-label":"next image button",class:"btn__next "+(u?"disable":""),onClick:P},[e.rtl?R(At,{type:"prev"},null):R(At,{type:"next"},null)])},y=()=>{if(C.value&&!e.titleDisabled&&!d.loading&&!d.loadError)return s.title?s.title():R(Xg,null,{default:()=>[C.value]})},f=()=>{let u;if(e.visible)return R("div",{onTouchmove:zg,class:[`${Et}-modal`,e.rtl?"is-rtl":""],onClick:vt(Te,["self"]),onWheel:ve},[R(Jg,null,null),R(Pt,{name:`${Et}-fade`,mode:"out-in"},Cr(u=ee())?u:{default:()=>[u]}),R("img",{style:"display:none;",src:p.value,onError:pt,onLoad:Ye},null),R("div",{class:`${Et}-btns-wrapper`},[W(),oe(),y(),s["close-btn"]?s["close-btn"]({close:L}):R("div",{role:"button","aria-label":"close image preview button",class:"btn__close",onClick:L},[R(At,{type:"close"},null)]),s.toolbar?s.toolbar({toolbarMethods:{zoomIn:F,zoomOut:Y,rotate:J,rotateLeft:J,rotateRight:ae,resize:de},zoomIn:F,zoomOut:Y,rotate:J,rotateLeft:J,rotateRight:ae,resize:de}):R(Kg,{zoomIn:F,zoomOut:Y,resize:de,rotateLeft:J,rotateRight:ae,rotateDisabled:e.rotateDisabled,zoomDisabled:e.zoomDisabled},null)])])};return()=>{let u;if(e.teleport){let g;return R(La,{to:e.teleport},{default:()=>[R(Pt,{name:`${Et}-fade`},Cr(g=f())?g:{default:()=>[g]})]})}return R(Pt,{name:`${Et}-fade`},Cr(u=f())?u:{default:()=>[u]})}}});const e7=Object.assign(Er,{install:e=>{e.component(Er.name,Er)}});class t7{constructor(t){w(this,"title","");w(this,"uid","");w(this,"date",{month:"",day:0,year:0});w(this,"updated","");w(this,"comments",!0);w(this,"path","");w(this,"covers",null);w(this,"excerpt",null);w(this,"content","");w(this,"count_time",{symbolsTime:void 0,symbolsCount:void 0});w(this,"toc","");w(this,"text","");w(this,"categoryMode",!1);w(this,"avatarWall",[]);w(this,"data");if(t){for(const n of Object.keys(this))if(Object.prototype.hasOwnProperty.call(t,n)){if(n==="date"){const s=new Date(t[n]),o=`settings.months[${s.getMonth()}]`;t[n]=Object.create({month:o,day:s.getUTCDate(),year:s.getUTCFullYear()})}Object.assign(this,{[n]:t[n]})}}}}const n7=kt({id:"articleStore",state:()=>({}),getters:{},actions:{async fetchArticle(e){const{data:t}=await Hp(e);return new Promise(n=>setTimeout(()=>{n(new t7(t))},200))}}}),s7=ye({name:"ARFooterLink",components:{SvgIcon:ht},props:{links:Array},setup(){const e=He(),t=n7(),n=ce(!0),s=ce([]),o=ce([]),r=100,a=()=>{n.value=!0,s.value=[];let l=[...new Map(o.value.flat().map(c=>[c.nick,c])).values()];setTimeout(()=>{const c=new Set;let d=l.length<5?l.length:5,h="SHUFFLE";for(l.length>r&&(h="random"),h==="SHUFFLE"&&(l=Pp(l));d>0;)if(h==="SHUFFLE")s.value.push(l[d-1]),d--;else{const p=l[Math.floor(Math.random()*d)];c.has(p.nick)||(c.add(p.nick),s.value.push(p),d--)}n.value=!1},1e3)},i=async()=>{const l=await t.fetchArticle("links");l&&l.avatarWall&&(o.value=l.avatarWall,a())};return ze(()=>e.configReady,(l,c)=>{!c&&l&&e.themeConfig.menu.menus.Links&&i()}),dt(()=>{e.themeConfig.menu.menus.Links&&i()}),{avatarClass:j(()=>({"footer-link-avatar":!0,[e.themeConfig.theme.profile_shape]:!0})),gradientBackground:j(()=>({background:e.themeConfig.theme.header_gradient_css})),avatar:j(()=>e.themeConfig.site.avatar),loadingSvgClasses:j(()=>({"cursor-pointer":!0,"animate-spin":n.value})),refreshLinkData:a,loadingLinks:n,linksData:s}}});const o7={key:0,id:"footer-link",class:"flex flex-col items-center py-8 bg-ob-deep-900"},r7={class:"footer-link-img-wrapper"},a7=["src"],i7={class:"flex flex-row flex-wrap justify-center bg-ob-deep-900 rounded-lg max-w-10/12 lg:max-w-screen-2xl text-normal text-ob-normal w-full py-6 px-6 items-start gap-8 md:gap-10 xl:gap-16"},l7={class:"flex mb-4 items-center"},c7={class:"text-ob-dim font-bold mr-2"},u7={key:0,class:"flex flex-col gap-1 items-center md:items-start"},d7=["href"],f7={key:1,class:"flex flex-col"},h7=["href"],p7={key:2,class:"flex flex-col items-center md:items-start"};function m7(e,t,n,s,o,r){const a=ie("SvgIcon"),i=ie("ob-skeleton");return e.links&&e.links.length>0?(O(),$("div",o7,[v("div",{class:"footer-link-divider",style:Ie(e.gradientBackground)},[v("div",r7,[Xt(v("img",{class:Ce(e.avatarClass),src:e.avatar,alt:"avatar"},null,10,a7),[[jo,e.avatar]])])],4),v("div",i7,[(O(!0),$(me,null,Ue(e.links.entries(),([l,c])=>(O(),$("div",{class:"flex flex-col items-center md:items-start",key:l},[v("div",l7,[v("h3",c7,K(c.title),1),c.mode==="links"?(O(),be(a,{key:0,onClick:e.refreshLinkData,"icon-class":"reload",class:Ce(e.loadingSvgClasses)},null,8,["onClick","class"])):fe("",!0)]),c.mode?fe("",!0):(O(),$("ul",u7,[(O(!0),$(me,null,Ue(c.links.entries(),([d,h])=>(O(),$("li",{class:"cursor-pointer",key:d},[v("a",{href:h.url,target:"_blank"},K(h.title),9,d7)]))),128))])),c.mode==="links"&&e.linksData?(O(),$("ul",f7,[(O(!0),$(me,null,Ue(e.linksData.entries(),([d,h])=>(O(),$("li",{class:"cursor-pointer",key:d},[v("a",{href:h.link,target:"_blank"},K(h.nick),9,h7)]))),128))])):fe("",!0),c.mode==="links"&&e.loadingLinks?(O(),$("ul",p7,[(O(),$(me,null,Ue(5,d=>v("li",{class:"cursor-pointer",key:d},[R(i,{count:1,height:"22px",width:"7.5rem"})])),64))])):fe("",!0)]))),128))])])):fe("",!0)}const g7=Me(s7,[["render",m7]]),v7=ye({name:"App",components:{HeaderMain:d6,FooterContainer:fm,Navigator:wm,MobileMenu:Tg,Dia:Ug,VueEasyLightbox:e7,FooterLink:g7},setup(){const e=He(),t=Xp(),n=as(),s=Qo(),o=er(),r=1024,{t:a}=st(),i="app-wrapper",l=ce({"nprogress-custom-parent":!1});let c=` - -Read more at: ${document.location.href}`;const d=async()=>{L(),await e.fetchConfig().then(()=>{if(s.addScripts(e.themeConfig.site_meta.cdn.prismjs),e.themeConfig.site_meta.favicon&&e.themeConfig.site_meta.favicon!==""){const P=document.querySelector("link[rel~='icon']");P&&P.setAttribute("href",e.themeConfig.site_meta.favicon)}if(e.themeConfig.plugins.copy_protection.enable){const P=e.locale,S=P==="zh-CN"?e.themeConfig.plugins.copy_protection.link.cn:e.themeConfig.plugins.copy_protection.link.en,x=P==="zh-CN"?e.themeConfig.plugins.copy_protection.author.cn:e.themeConfig.plugins.copy_protection.author.en,F=P==="zh-CN"?e.themeConfig.plugins.copy_protection.license.cn:e.themeConfig.plugins.copy_protection.license.en;c=` - ---------------------------------- -${x}: ${e.themeConfig.site.author} -${S}: ${document.location.href} -${F}`,C()}})},h=P=>{var S;document.getSelection()instanceof Selection&&((S=document.getSelection())==null?void 0:S.toString())!==""&&P.clipboardData&&(P.clipboardData.setData("text",document.getSelection()+c),P.preventDefault())},p=()=>t.hideLightBox(),C=()=>{document.addEventListener("copy",h)},b=j(()=>n.isMobile),E=()=>{const S=document.body.getBoundingClientRect().width-1{E(),window.addEventListener("resize",E)},k=()=>{o.setOpenModal(!0)};No(d),os(()=>{document.removeEventListener("copy",h),window.removeEventListener("resize",E)});const T=ce({"min-height":"100vh"});return dt(()=>{let P=screen.height;const S=document.getElementById("footer"),x=(S==null?void 0:S.getBoundingClientRect().height)??0;P=P-x*2,T.value={"min-height":P+"px"}}),ze(()=>e.appLoading,P=>{l.value["nprogress-custom-parent"]=P}),{title:j(()=>s.getTitle),theme:j(()=>e.theme),scripts:j(()=>s.scripts),themeConfig:j(()=>e.themeConfig),headerImage:j(()=>({backgroundImage:`url(${n.headerImage}), url(${Zs})`,backgroundColor:"#0d0b12",opacity:n.headerImage!==""?.2:0})),headerBaseBackground:j(()=>({background:e.themeConfig.theme.header_gradient_css,opacity:n.headerImage!==""?.8:.99})),wrapperStyle:j(()=>T.value),handleEscKey:e.handleEscKey,isMobile:j(()=>n.isMobile),configReady:j(()=>e.configReady),cssVariables:j(()=>e.theme==="theme-dark"?` - --text-accent: ${e.themeConfig.theme.gradient.color_1}; - --text-sub-accent: ${e.themeConfig.theme.gradient.color_3}; - --main-gradient: ${e.themeConfig.theme.header_gradient_css}; - `:` - --text-accent: ${e.themeConfig.theme.gradient.color_3}; - --text-sub-accent: ${e.themeConfig.theme.gradient.color_2}; - --main-gradient: ${e.themeConfig.theme.header_gradient_css}; - `),lightBoxVisible:j(()=>t.visible),lightBoxIndex:j(()=>t.index),lightBoxImages:j(()=>t.images),appWrapperClass:i,loadingBarClass:l,handleOpenModal:k,onHideLightBox:p,t:a}}});const _7=v("div",{class:"app-banner bg-ob-screen"},null,-1),b7=v("div",{class:"app-banner app-banner-cover"},null,-1),y7={class:"relative z-10"};function k7(e,t,n,s,o,r){const a=ie("HeaderMain"),i=ie("router-view"),l=ie("FooterLink"),c=ie("FooterContainer"),d=ie("MobileMenu"),h=ie("Dia"),p=ie("VueEasyLightbox");return O(),$(me,null,[v("div",{id:"App-Wrapper",class:Ce([e.appWrapperClass,e.theme]),style:Ie(e.wrapperStyle)},[R(a),v("div",{id:"App-Container",class:"app-container lg:max-w-screen-2xl px-3 lg:px-8",onKeydown:t[0]||(t[0]=Tn(vt((...C)=>e.handleOpenModal&&e.handleOpenModal(...C),["meta","stop","prevent"]),["k"])),tabindex:"-1",style:Ie(e.cssVariables)},[_7,v("div",{class:"app-banner app-banner-image",style:Ie(e.headerImage)},null,4),v("div",{class:"app-banner app-banner-screen",style:Ie(e.headerBaseBackground)},null,4),b7,v("div",y7,[R(i,null,{default:De(({Component:C})=>[R(Pt,{name:"fade-slide-y",mode:"out-in"},{default:De(()=>[(O(),be(ff(C)))]),_:2},1024)]),_:1})])],36),v("div",{id:"loading-bar-wrapper",class:Ce(e.loadingBarClass)},null,2)],6),R(l,{links:e.themeConfig.footerLinks.data},null,8,["links"]),R(c,{style:Ie(e.cssVariables)},null,8,["style"]),e.isMobile?(O(),be(d,{key:0})):fe("",!0),!e.isMobile&&e.configReady?(O(),be(h,{key:1})):fe("",!0),(O(),be(La,{to:"head"},[v("title",null,K(e.title),1)])),R(p,{visible:e.lightBoxVisible,imgs:e.lightBoxImages,index:e.lightBoxIndex,moveDisabled:!0,rotateDisabled:!0,scrollDisabled:!1,onHide:e.onHideLightBox},null,8,["visible","imgs","index","onHide"])],64)}const w7=Me(v7,[["render",k7]]),C7="modulepreload",E7=function(e){return"/"+e},Tc={},en=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=E7(r),r in Tc)return;Tc[r]=!0;const a=r.endsWith(".css"),i=a?'[rel="stylesheet"]':"";if(!!s)for(let d=o.length-1;d>=0;d--){const h=o[d];if(h.href===r&&(!a||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${i}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":C7,a||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),a)return new Promise((d,h)=>{c.addEventListener("load",d),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t()).catch(r=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=r,window.dispatchEvent(a),!a.defaultPrevented)throw r})},S7=ye({name:"ObHorizontalArticle",components:{SvgIcon:ht},props:{data:{type:Object,default:()=>({})}},setup(e){const t=Pn(),n=He(),s=as(),{t:o}=st(),r=ut(e).data,a=d=>{d&&t.push({name:"post-slug",params:{slug:d}})},i=d=>{d===""&&(d=window.location.href),window.location.href=d},l=d=>{t.push({name:"post-search",query:{tag:d}})},c=d=>{t.push({name:"post-search",query:{category:d}})};return{avatarClass:j(()=>({"hover:opacity-50 cursor-pointer":!0,[n.themeConfig.theme.profile_shape]:!0})),bannerHoverGradient:j(()=>({background:n.themeConfig.theme.header_gradient_css})),isMobile:j(()=>s.isMobile),numberOfTags:j(()=>{const d=r.value.tags.length;return s.isMobile?d>"2"?"2":d:d>"5"?"5":d}),navigateToTag:l,navigateToCategory:c,post:r,handleAuthorClick:i,handleCardClick:a,t:o}}}),M7={class:"feature-article"},T7={class:"feature-thumbnail"},O7={key:0,class:"ob-hz-thumbnail"},A7={key:1,class:"ob-hz-thumbnail",src:Zs},L7={class:"feature-content"},I7={key:0,class:"article-tag"},x7={key:1,class:"article-tag"},$7={key:3},P7={class:"flex flex-wrap"},R7=["onClick"],N7=v("em",null,"# ",-1),D7={key:1},F7=v("em",null,"# ",-1),j7={"data-dia":"article-link"},B7={key:2},Z7={key:4,class:"article-footer"},H7={class:"flex flex-row items-center"},U7=["alt"],z7={class:"text-ob-dim"},V7={key:5,class:"article-footer"},W7={class:"flex flex-row items-center mt-6"},q7={class:"text-ob-dim mt-1"};function K7(e,t,n,s,o,r){const a=ie("SvgIcon"),i=ie("ob-skeleton"),l=ie("router-link"),c=Sa("lazy");return O(),$("div",{class:"article-container",onClick:t[3]||(t[3]=d=>{var h;return e.handleCardClick((h=e.post)==null?void 0:h.slug)})},[v("div",M7,[v("div",T7,[e.post.cover?Xt((O(),$("img",O7,null,512)),[[c,e.post.cover]]):(O(),$("img",A7)),v("span",{class:"thumbnail-screen",style:Ie(e.bannerHoverGradient)},null,4)]),v("div",L7,[v("span",null,[e.post.pinned?(O(),$("b",I7,[v("span",null,[R(a,{"icon-class":"hot",width:"1.05rem",height:"1.05rem",class:"-mb-0.5 mr-1",stroke:"currentColor"}),v("span",null,K(e.t("settings.pinned")),1)])])):fe("",!0),e.post.feature?(O(),$("b",x7,[v("span",null,[R(a,{"icon-class":"hot",width:"1.05rem",height:"1.05rem",class:"-mb-0.5 mr-1",stroke:"currentColor"}),v("span",null,K(e.t("settings.featured")),1)])])):fe("",!0),e.post.categories&&e.post.categories.length>0?(O(),$("b",{key:2,onClick:t[0]||(t[0]=d=>e.navigateToCategory(e.post.categories[0].slug))},K(e.post.categories[0].name),1)):e.post.categories&&e.post.categories.length<=0?(O(),$("b",$7,K(e.t("settings.default-category")),1)):(O(),be(i,{key:4,tag:"b",height:"20px",width:"35px"}))]),v("span",P7,[v("ul",null,[e.post.tags&&e.post.tags.length>0?(O(!0),$(me,{key:0},Ue(e.numberOfTags,d=>(O(),$("li",{key:e.post.tags[d-1].slug,onClick:h=>e.navigateToTag(e.post.tags[d-1].slug)},[N7,v("span",null,K(e.post.tags[d-1].name),1)],8,R7))),128)):e.post.tags&&e.post.tags.length<=0?(O(),$("li",D7,[F7,v("span",null,K(e.t("settings.default-tag")),1)])):(O(),be(i,{key:2,count:2,tag:"li",height:"16px",width:"35px"}))])]),e.post.title?(O(),be(l,{key:0,to:{name:"post-slug",params:{slug:e.post.slug}}},{default:De(()=>[v("h1",j7,K(e.post.title),1)]),_:1},8,["to"])):(O(),be(i,{key:1,tag:"h1",height:"3rem"})),e.post.text?(O(),$("p",B7,K(e.post.text),1)):(O(),be(i,{key:3,tag:"p",count:3,height:"20px"})),e.post.count_time?(O(),$("div",Z7,[v("div",H7,[Xt(v("img",{class:Ce(e.avatarClass),alt:`avatar-${e.post.author.name}`,onClick:t[1]||(t[1]=d=>e.handleAuthorClick(e.post.author.link))},null,10,U7),[[c,e.post.author.avatar]]),v("span",z7,[v("strong",{class:"text-ob-normal pr-1.5 hover:text-ob hover:opacity-50 cursor-pointer",onClick:t[2]||(t[2]=d=>e.handleAuthorClick(e.post.author.link))},K(e.post.author.name),1),Ve(" "+K(e.t("settings.shared-on"))+" "+K(e.t(e.post.date.month))+" "+K(e.post.date.day)+", "+K(e.post.date.year),1)])])])):(O(),$("div",V7,[v("div",W7,[R(i,{class:"mr-2",height:"28px",width:"28px",circle:!0}),v("span",q7,[R(i,{height:"20px",width:"150px"})])])]))])])])}const A0=Me(S7,[["render",K7]]),Y7=ye({name:"ArFeature",props:{data:Object},components:{HorizontalArticle:A0},setup(e){return{featurePost:ut(e).data}}}),G7={id:"feature"};function X7(e,t,n,s,o,r){const a=ie("horizontal-article");return O(),$("div",G7,[R(a,{data:e.featurePost},null,8,["data"]),Jt(e.$slots,"default")])}const J7=Me(Y7,[["render",X7]]),Q7=ye({name:"ARArticleCard",components:{SvgIcon:ht},props:{data:{type:Object,required:!0}},setup(e){const t=Pn(),n=He(),{t:s}=st(),o=l=>{l&&t.push({name:"post-slug",params:{slug:l}})},r=l=>{l===""&&(l=window.location.href),window.location.href=l},a=l=>{t.push({name:"post-search",query:{tag:l}})},i=l=>{t.push({name:"post-search",query:{category:l}})};return{avatarClasses:j(()=>({"hover:opacity-50 cursor-pointer":!0,[n.themeConfig.theme.profile_shape]:!0})),gradientBackground:j(()=>({background:n.themeConfig.theme.header_gradient_css})),post:j(()=>e.data),navigateToTag:a,navigateToCategory:i,handleAuthorClick:r,handleCardClick:o,t:s}}});const L0=e=>(xo("data-v-c453c440"),e=e(),$o(),e),e9={class:"article"},t9={class:"article-thumbnail"},n9={key:0,alt:""},s9={key:1,src:Zs},o9={class:"article-content"},r9={key:0,class:"article-tag"},a9={key:1,class:"article-tag"},i9={key:3},l9={class:"flex flex-wrap"},c9={key:0},u9=["onClick"],d9=L0(()=>v("em",null,"# ",-1)),f9={key:1},h9=L0(()=>v("em",null,"#",-1)),p9={key:2},m9={"data-dia":"article-link"},g9={key:2},v9={key:4,class:"article-footer"},_9={class:"flex flex-row items-center"},b9=["src","alt"],y9={class:"text-ob-dim"},k9={key:5,class:"article-footer"},w9={class:"flex flex-row items-center mt-6"},C9={class:"text-ob-dim mt-1"};function E9(e,t,n,s,o,r){const a=ie("SvgIcon"),i=ie("ob-skeleton"),l=ie("router-link"),c=Sa("lazy");return O(),$("li",{class:"article-container",onClick:t[3]||(t[3]=d=>{var h;return e.handleCardClick((h=e.post)==null?void 0:h.slug)})},[v("div",e9,[v("div",t9,[e.post.cover?Xt((O(),$("img",n9,null,512)),[[c,e.post.cover]]):(O(),$("img",s9)),v("span",{class:"thumbnail-screen",style:Ie(e.gradientBackground)},null,4)]),v("div",o9,[v("span",null,[e.post.pinned?(O(),$("b",r9,[v("span",null,[R(a,{"icon-class":"hot",width:"1.rem",height:"1.05rem",class:"-mb-0.5",stroke:"currentColor"}),v("span",null,K(e.t("settings.pinned")),1)])])):fe("",!0),e.post.feature?(O(),$("b",a9,[v("span",null,[R(a,{"icon-class":"hot",width:"1.05rem",height:"1.05rem",class:"-mb-0.5",stroke:"currentColor"}),v("span",null,K(e.t("settings.featured")),1)])])):fe("",!0),e.post.categories&&e.post.categories.length>0?(O(),$("b",{key:2,onClick:t[0]||(t[0]=d=>e.navigateToCategory(e.post.categories[0].slug))},K(e.post.categories[0].name),1)):e.post.categories&&e.post.categories.length<=0?(O(),$("b",i9,K(e.t("settings.default-category")),1)):(O(),be(i,{key:4,tag:"b",height:"20px",width:"35px"}))]),v("span",l9,[e.post.tags&&e.post.tags.length>0?(O(),$("ul",c9,[(O(!0),$(me,null,Ue(e.post.min_tags,d=>(O(),$("li",{key:d.slug,onClick:h=>e.navigateToTag(d.slug)},[d9,v("span",null,K(d.name),1)],8,u9))),128))])):e.post.tags&&e.post.tags.length<=0?(O(),$("ul",f9,[v("li",null,[h9,v("span",null,K(e.t("settings.default-tag")),1)])])):(O(),$("ul",p9,[e.post.tags?fe("",!0):(O(),be(i,{key:0,count:2,tag:"li",height:"16px",width:"35px"}))]))]),e.post.title?(O(),be(l,{key:0,to:{name:"post-slug",params:{slug:e.post.slug}}},{default:De(()=>[v("h1",m9,K(e.post.title),1)]),_:1},8,["to"])):(O(),be(i,{key:1,tag:"h1",height:"3rem"})),e.post.text?(O(),$("p",g9,K(e.post.text),1)):(O(),be(i,{key:3,tag:"p",count:4,height:"16px"})),e.post.author&&e.post.date?(O(),$("div",v9,[v("div",_9,[v("img",{class:Ce(e.avatarClasses),src:e.post.author.avatar,alt:`avatar-${e.post.author.name}`,onClick:t[1]||(t[1]=d=>e.handleAuthorClick(e.post.author.link))},null,10,b9),v("span",y9,[v("strong",{class:"text-ob-normal pr-1.5 hover:text-ob hover:opacity-50 cursor-pointer",onClick:t[2]||(t[2]=d=>e.handleAuthorClick(e.post.author.link))},K(e.post.author.name),1),Ve(" "+K(e.t("settings.shared-on"))+" "+K(e.t(e.post.date.month))+" "+K(e.post.date.day)+", "+K(e.post.date.year),1)])])])):(O(),$("div",k9,[v("div",w9,[R(i,{class:"mr-2",height:"28px",width:"28px",circle:!0}),v("span",C9,[R(i,{height:"20px",width:"150px"})])])]))])])])}const I0=Me(Q7,[["render",E9],["__scopeId","data-v-c453c440"]]),S9=ye({name:"ObFeatureList",components:{ArticleCard:I0,SvgIcon:ht},props:{data:{type:Array,required:!0}},setup(e){const t=He(),n=ut(e).data,{t:s}=st();return{gradientBackground:j(()=>({background:t.themeConfig.theme.header_gradient_css})),gradientText:j(()=>t.themeConfig.theme.background_gradient_style),featurePosts:n,t:s}}}),M9={class:"inverted-main-grid py-7 gap-7 box-border"},T9={class:"relative overflow-hidden h-56 lg:h-auto rounded-2xl bg-ob-deep-800 shadow-lg"},O9={class:"ob-gradient-plate opacity-90 relative z-10 bg-ob-deep-900 rounded-2xl flex justify-start items-end px-6 pb-10 shadow-md"},A9={class:"text-3xl pb-8 lg:pb-14"},L9={class:"relative text-lg text-ob-bright font-semibold"},I9={class:"grid lg:grid-cols-2 gap-7"};function x9(e,t,n,s,o,r){const a=ie("SvgIcon"),i=ie("ArticleCard");return O(),$("div",M9,[v("div",T9,[v("div",O9,[v("h2",A9,[v("p",{style:Ie(e.gradientText)},"EDITOR'S SELECTION",4),v("span",L9,[R(a,{class:"inline-block","icon-class":"hot",stroke:"white"}),Ve(" "+K(e.t("home.recommended")),1)])])]),v("span",{class:"absolute top-0 w-full h-full z-0",style:Ie(e.gradientBackground)},null,4)]),v("ul",I9,[e.featurePosts.length>0?(O(!0),$(me,{key:0},Ue(e.featurePosts,l=>(O(),$("li",{key:l.slug},[R(i,{data:l},null,8,["data"])]))),128)):(O(),$(me,{key:1},Ue(2,l=>v("li",{key:l},[R(i,{data:{}})])),64))])])}const $9=Me(S9,[["render",x9]]),P9=ye({name:"ARTitle",components:{SvgIcon:ht},props:{title:{type:String,required:!0},id:String,icon:String,textSize:{type:String,default:"text-3xl"},paddings:{type:String,default:"pt-12 pb-2"},margins:{type:String,default:"mb-8"},count:Number,uppercase:{type:Boolean,default:!0}},setup(e){const{t}=st(),n=He(),s=ut(e).title;return{titleClasses:j(()=>["relative opacity-90 flex items-center text-ob-bright",e.uppercase?"uppercase":"",e.paddings,e.margins,e.textSize]),gradientBackground:j(()=>({background:n.themeConfig.theme.header_gradient_css})),titleStr:s,t}}}),R9=["id"],N9={key:1,class:"ml-2"};function D9(e,t,n,s,o,r){const a=ie("SvgIcon");return O(),$("p",{id:e.id,class:Ce(e.titleClasses)},[e.icon?(O(),be(a,{key:0,"icon-class":e.icon,class:"inline-block mr-2",fill:"none",stroke:"currentColor"},null,8,["icon-class"])):fe("",!0),Ve(" "+K(e.t(e.titleStr))+" ",1),e.count?(O(),$("span",N9,"("+K(e.count)+")",1)):fe("",!0),v("span",{class:"absolute bottom-0 h-1 w-24 rounded-full",style:Ie(e.gradientBackground)},null,4)],10,R9)}const F9=Me(P9,[["render",D9]]),j9=ye({name:"ObSubTitle",components:{SvgIcon:ht},props:{title:{type:String,default:"",requried:!0},side:{type:String,default:"left"},icon:String},setup(e){const t=He(),{t:n}=st(),s=ut(e).title,o=ut(e).side;return{gradientBackground:j(()=>({background:t.themeConfig.theme.header_gradient_css})),titleClass:j(()=>({"w-full":!0,block:!0,"text-right":o.value==="right"})),lineClass:j(()=>({absolute:!0,"bottom-0":!0,"h-1":!0,"w-14":!0,"rounded-full":!0,"right-0":o.value==="right"})),titleStr:s,t:n}}}),B9={class:"relative flex items-center pb-2 mb-4 text-xl text-ob-bright"};function Z9(e,t,n,s,o,r){const a=ie("SvgIcon");return O(),$("p",B9,[e.icon&&e.side==="left"?(O(),be(a,{key:0,"icon-class":e.icon,class:"inline-block mr-2",fill:"none",stroke:"currentColor"},null,8,["icon-class"])):fe("",!0),v("span",{class:Ce(e.titleClass)},K(e.t(e.titleStr)),3),e.icon&&e.side==="right"?(O(),be(a,{key:1,"icon-class":e.icon,class:"inline-block ml-2"},null,8,["icon-class"])):fe("",!0),v("span",{class:Ce(e.lineClass),style:Ie(e.gradientBackground)},null,6)])}const x0=Me(j9,[["render",Z9]]),H9=ye({name:"ObSidebar",setup(){const e=as();return{isMobile:j(()=>e.isMobile)}}}),U9={key:0};function z9(e,t,n,s,o,r){return e.isMobile?fe("",!0):(O(),$("div",U9,[Jt(e.$slots,"default")]))}const V9=Me(H9,[["render",z9]]),W9=kt({id:"categoryStore",state:()=>({isLoaded:!1,categories:new bc().data}),getters:{},actions:{async fetchCategories(){this.isLoaded=!1;const{data:e}=await Zp();return new Promise(t=>{this.isLoaded=!0,this.categories=new bc(e).data,t(this.categories)})}}}),q9=kt({id:"tagStore",state:()=>({isLoaded:!1,tags:new kr().data}),getters:{},actions:{async fetchAllTags(){const{data:e}=await Xl();return new Promise(t=>{this.tags=new kr(e).data,t(this.tags)})},async fetchTagsByCount(e){this.isLoaded=!1;const{data:t}=await Xl();return new Promise(n=>{this.isLoaded=!0;const s=t.length>e?e:t.length;this.tags=new kr(t.splice(0,s)).data,n(this.tags)})}}}),K9=ye({name:"ObTagList"}),Y9={class:"flex justify-event flex-wrap pt-2"};function G9(e,t,n,s,o,r){return O(),$("div",Y9,[Jt(e.$slots,"default")])}const X9=Me(K9,[["render",G9]]),J9=ye({name:"ObTagItem",props:{name:String,slug:String,count:{type:Number,default:0},size:{type:String,default:"small"},active:{type:Boolean,default:!1}},setup(e){const t=ut(e).size,n=He();return{tagClasses:j(()=>({"flex p-1.5 rounded-md text-sm hover:bg-ob-deep-900 hover:opacity-100 hover:text-ob-bright font-bold":t.value==="small","large-tag-item":t.value==="large"})),countClasses:j(()=>({"block -mt-1.5 ml-1 text-xs opacity-50":t.value==="small","block -mt-1.5 ml-2 rounded-full text-xs text-ob":t.value==="large"})),gradientBackground:j(()=>e.active?{background:n.themeConfig.theme.header_gradient_css,color:"#fff",opacity:1}:{})}}});const Q9={class:"flex flex-row items-center mr-1 mb-1 cursor-pointer transition-all"};function ev(e,t,n,s,o,r){const a=ie("router-link");return O(),$("div",Q9,[R(a,{class:Ce(e.tagClasses),to:{name:"post-search",query:{tag:e.slug}},style:Ie(e.gradientBackground)},{default:De(()=>[Ve(K(e.name)+" ",1),v("sub",{class:Ce(e.countClasses)},K(e.count),3)]),_:1},8,["class","to","style"])])}const tv=Me(J9,[["render",ev]]),nv=ye({name:"ObTag",components:{SubTitle:x0,TagList:X9,TagItem:tv,SvgIcon:ht},props:{sidebarBox:{type:Boolean,default:!0},activeTag:String},setup(e){const t=q9(),{t:n}=st(),s=ce(!1),o=async()=>{t.fetchAllTags()},r=()=>{s.value=!0};return dt(o),{tags:j(()=>t.isLoaded&&t.tags.length===0?null:t.tags),tagBoxClasses:j(()=>({"overflow-hidden text-ellipsis relative":!0,"max-h-98":!s.value,"h-full":s.value})),sidebarBoxClasses:j(()=>({"sidebar-box":e.sidebarBox})),expandBox:r,expand:s,t:n}}});const sv=v("div",{class:"more-cover"},null,-1),ov={key:2,class:"flex flex-row justify-center items-center"};function rv(e,t,n,s,o,r){const a=ie("SubTitle"),i=ie("TagItem"),l=ie("SvgIcon"),c=ie("ob-skeleton"),d=ie("TagList");return O(),$("div",{id:"sticky-tag-box",class:Ce(e.sidebarBoxClasses)},[R(a,{title:"titles.tag_list",icon:"tag"},null,8,["title"]),R(d,{class:Ce(e.tagBoxClasses)},{default:De(()=>[e.tags&&e.tags.length>0?(O(),$(me,{key:0},[(O(!0),$(me,null,Ue(e.tags,h=>(O(),be(i,{key:h.slug,name:h.name,slug:h.slug,count:h.count,active:!!e.activeTag&&h.slug===e.activeTag,size:"small"},null,8,["name","slug","count","active"]))),128)),e.expand?fe("",!0):(O(),$(me,{key:0},[sv,v("div",{class:"more-btn",onClick:t[0]||(t[0]=(...h)=>e.expandBox&&e.expandBox(...h))},[R(l,{class:"font-bold","icon-class":"more",fill:"currentColor",stroke:"none",height:"1.5rem",width:"1.5rem"}),v("span",null,K(e.t("settings.more-tags")),1)])],64))],64)):e.tags?(O(),be(c,{key:1,tag:"li",count:10,height:"20px",width:"3rem"})):(O(),$("div",ov,[R(l,{class:"stroke-ob-bright mr-2","icon-class":"warning"}),Ve(" "+K(e.t("settings.empty-tag")),1)]))]),_:1},8,["class"])],2)}const av=Me(nv,[["render",rv]]);const iv=ye({name:"ArRecentComment",components:{SubTitle:x0,SvgIcon:ht},setup(){const e=He(),{t}=st(),{enabledCommentPlugin:n,recentComments:s,fetchRecentComment:o,commentPluginLoading:r}=Xu();return ze(()=>e.configReady,(a,i)=>{!i&&a&&o()}),{avatarClass:j(()=>({"col-span-1 mr-2 h-6 w-6":!0,[e.themeConfig.theme.profile_shape]:!0})),isLoading:j(()=>r.value),comments:j(()=>s.value),isConfigReady:j(()=>e.configReady),SvgTypes:tr,fetchRecentComment:o,enabledCommentPlugin:n,t}},mounted(){this.isConfigReady&&this.fetchRecentComment()}}),lv={key:0,class:"sidebar-box"},cv=["href"],uv={class:"flex justify-start items-start"},dv=["src"],fv={class:"flex-1 text-xs"},hv={class:"text-xs mb-2 pt-1"},pv={class:"text-ob-secondary pr-2"},mv=["href"],gv={key:0,class:"ml-2 text-ob bg-ob-deep-800 py-0.5 px-1.5 rounded-md"},vv={class:"text-ob-dim text-[0.65rem]"},_v={class:"text-xs pb-1"},bv={key:1,class:"flex flex-row justify-center items-center text-ob-dim"},yv={class:"flex-1 text-xs"},kv={class:"text-xs"},wv={class:"text-ob pr-2"},Cv={class:"text-xs text-ob-bright"};function Ev(e,t,n,s,o,r){const a=ie("SubTitle"),i=ie("SvgIcon"),l=ie("ob-skeleton");return e.enabledCommentPlugin?(O(),$("div",lv,[R(a,{title:"titles.recent_comment",icon:"quote"},null,8,["title"]),v("ul",null,[e.isLoading===!1?(O(),$(me,{key:0},[e.comments.length>0?(O(!0),$(me,{key:0},Ue(e.comments,c=>(O(),$("li",{class:"bg-ob-deep-900 px-2 py-2 mb-1.5 rounded-lg shadow-sm transition-all duration-300 ease-in-out hover:scale-105",key:c.id},[v("a",{href:`${c.html_url}#${c.id}`,class:"flex flex-row justify-items-center items-stretch cursor-pointer hover:opacity-100"},[v("div",uv,[v("img",{class:Ce(e.avatarClass),src:c.user.avatar_url,alt:"comment-avatar"},null,10,dv)]),v("div",fv,[v("div",hv,[v("span",pv,[v("a",{class:"font-bold",href:c.user.html_url},K(c.user.login),9,mv),c.is_admin?(O(),$("b",gv,K(e.t("settings.admin-user")),1)):fe("",!0)]),v("span",vv,K(c.created_at),1)]),v("div",_v,K(c.body),1)])],8,cv)]))),128)):(O(),$("div",bv,[R(i,{class:"mr-2","icon-class":"warning",svgType:e.SvgTypes.stroke,stroke:"var(--text-dim)"},null,8,["svgType"]),Ve(" "+K(e.t("settings.empty-recent-comments")),1)]))],64)):(O(),$(me,{key:1},Ue(7,c=>v("li",{class:"bg-ob-deep-900 px-2 py-3 mb-1.5 rounded-lg flex flex-row justify-items-center items-start shadow-sm transition-all",key:c},[R(l,{class:"col-span-1 mr-2 rounded-full p-1",height:"19px",width:"19px",circle:!0}),v("div",yv,[v("div",kv,[v("span",wv,[R(l,{tag:"b",class:"text-ob-secondary bg-ob-deep-800 py-0.5 px-1.5 rounded-md",height:"10px",width:"50px"})]),R(l,{tag:"p",class:"text-ob-secondary bg-ob-deep-800 py-0.5 px-1.5 rounded-md",height:"10px",width:"40px"})]),v("div",Cv,[R(l,{class:"text-ob-secondary bg-ob-deep-800 py-0.5 px-1.5 rounded-md",height:"10px",width:"126px"})])])])),64))])])):fe("",!0)}const Sv=Me(iv,[["render",Ev]]),Mv=ye({name:"ObProfile",components:{Social:e0},props:{author:{type:String,default:()=>""}},setup(e){const t=He(),n=Qu(),{t:s}=st(),o=ut(e).author,r=ce(new ei),a=async()=>{await t.fetchStat(),await i()},i=async()=>{o.value!==""&&await n.fetchAuthorData(o.value).then(l=>{r.value=l})};return ze(()=>e.author,(l,c)=>{l&&l!==c&&i()}),dt(a),{avatarClass:j(()=>({"ob-avatar":!0,[t.themeConfig.theme.profile_shape]:!0})),themeConfig:j(()=>t.themeConfig),gradientBackground:j(()=>({background:t.themeConfig.theme.header_gradient_css})),socials:j(()=>t.themeConfig.socials),statistic:j(()=>t.statistic),authorData:r,t:s}}});const Tv={class:"ob-gradient-cut-plate absolute bg-ob-deep-900 rounded-xl opacity-90 flex justify-center items-center pt-4 px-6 shadow-lg hover:shadow-2xl duration-300","data-dia":"author"},Ov={class:"profile absolute w-full flex flex-col justify-center items-center"},Av={class:"flex flex-col justify-center items-center"},Lv=["src"],Iv={class:"text-center pt-2 text-3xl font-semibold text-ob-bright"},xv={class:"h-full w-full flex flex-col flex-1 justify-center items-end"},$v=["innerHTML"],Pv={key:1,class:"pt-8 px-8 w-full text-sm text-center flex flex-col gap-2 justify-center"},Rv={class:"grid grid-cols-4 pt-2 w-full px-2 text-lg"},Nv={class:"col-span-1 text-center"},Dv={class:"text-ob-bright"},Fv={class:"text-xs"},jv={class:"col-span-1 text-center"},Bv={class:"text-ob-bright"},Zv={class:"text-xs"},Hv={class:"col-span-1 text-center"},Uv={class:"text-ob-bright"},zv={class:"text-xs"},Vv={class:"col-span-1 text-center"},Wv={class:"text-ob-bright"},qv={class:"text-xs"};function Kv(e,t,n,s,o,r){const a=ie("ob-skeleton"),i=ie("Social");return O(),$("div",{class:"h-98 w-full rounded-2xl relative shadow-xl mb-8",style:Ie(e.gradientBackground)},[v("div",Tv,[v("div",Ov,[v("div",Av,[e.authorData.avatar!==""?(O(),$("img",{key:0,class:Ce(e.avatarClass),src:e.authorData.avatar,alt:"avatar"},null,10,Lv)):(O(),be(a,{key:1,width:"6.4rem",height:"6.4rem",circle:""})),v("h2",Iv,[e.authorData.name?(O(),$(me,{key:0},[Ve(K(e.authorData.name),1)],64)):(O(),be(a,{key:1,height:"2.25rem",width:"7rem"}))]),v("span",{class:"h-1 w-14 rounded-full mt-2",style:Ie(e.gradientBackground)},null,4)]),v("div",xv,[e.authorData.description?(O(),$("p",{key:0,class:"flex-1 pt-6 px-8 w-full text-sm leading-8 text-center",innerHTML:e.authorData.description},null,8,$v)):(O(),$("p",Pv,[R(a,{count:2,height:"20px",width:"100%"})])),R(i,{socials:e.authorData.socials},null,8,["socials"]),v("ul",Rv,[v("li",Nv,[v("span",Dv,K(e.authorData.word_count),1),v("p",Fv,K(e.t("settings.words")),1)]),v("li",jv,[v("span",Bv,K(e.authorData.post_list.length),1),v("p",Zv,K(e.t("settings.articles")),1)]),v("li",Hv,[v("span",Uv,K(e.authorData.categories),1),v("p",zv,K(e.t("settings.categories")),1)]),v("li",Vv,[v("span",Wv,K(e.authorData.tags),1),v("p",qv,K(e.t("settings.tags")),1)])])])])])],4)}const Yv=Me(Mv,[["render",Kv],["__scopeId","data-v-8cf4b01a"]]),Gv=kt({id:"postStore",state:()=>({featurePosts:new ko,posts:new Ts,postTotal:0,cachePost:{title:"",body:"",uid:""}}),getters:{},actions:{async fetchFeaturePosts(){const{data:e}=await Up();return new Promise(t=>setTimeout(()=>{this.featurePosts=new ko(e),t(this.featurePosts)},200))},async fetchPostsList(e){e||(e=1);const{data:t}=await Np(e);return new Promise(n=>setTimeout(()=>{this.posts=new Ts(t),this.postTotal=this.posts.total,n(this.posts)},200))},async fetchArchives(e){e||(e=1);const{data:t}=await Dp(e);return new Promise(n=>setTimeout(()=>{n(new Em(t))},200))},async fetchPost(e){const{data:t}=await Bp(e);return new Promise(n=>setTimeout(()=>{n(new xn(t))},200))},async fetchPostsByCategory(e,t=1,n=12){const{data:s}=await jp(e,t,n);return new Promise(o=>setTimeout(()=>{o(new _c(s))},200))},async fetchPostsByTag(e,t=1,n=12){const{data:s}=await Fp(e,t,n);return new Promise(o=>{setTimeout(()=>{o(new _c(s))},200)})},setCache(e){this.cachePost=e}}}),Xv=ye({name:"ObPaginator",components:{SvgIcon:ht},emits:["pageChange"],props:{pageTotal:{type:Number,required:!0},pageSize:{type:Number,required:!0},page:{type:Number,required:!0}},setup(e,{emit:t}){const{t:n}=st(),s=ut(e),o=j(()=>Math.ceil(s.pageTotal.value/s.pageSize.value)),r=j(()=>{if(o.value<=3){const i=[];for(let l=0;l=1&&s.page.value<3?{head:1,pages:[2,3,"..."],end:o.value}:s.page.value>=3&&s.page.value<=o.value-2?{head:1,pages:["...",s.page.value-1,s.page.value,s.page.value+1,"..."],end:o.value}:{head:1,pages:["...",o.value-2,o.value-1],end:o.value}}),a=i=>{i!=="..."&&t("pageChange",i)};return{currentPage:j(()=>s.page.value),pageChangeEmitter:a,paginator:r,pages:o,t:n}}});const Jv={class:"paginator"},Qv=["onClick"];function e_(e,t,n,s,o,r){const a=ie("SvgIcon");return O(),$("div",Jv,[v("ul",null,[e.currentPage>1?(O(),$("li",{key:0,class:"page-navigator text-ob-bright navigator-right",onClick:t[0]||(t[0]=i=>e.pageChangeEmitter(e.currentPage-1))},[R(a,{class:"font-bold","icon-class":"arrow-left",height:"1.25rem",width:"1.25rem",fill:"var(--text-accent)",stroke:"var(--text-accent)"}),v("span",null,K(e.t("settings.paginator.newer")),1)])):fe("",!0),e.paginator.head!==0?(O(),$("li",{key:1,class:Ce({active:e.currentPage===e.paginator.head}),onClick:t[1]||(t[1]=i=>e.pageChangeEmitter(e.paginator.head))},K(e.paginator.head),3)):fe("",!0),(O(!0),$(me,null,Ue(e.paginator.pages,(i,l)=>(O(),$("li",{key:l,class:Ce({active:e.currentPage===i}),onClick:c=>e.pageChangeEmitter(i)},[v("span",null,K(i),1)],10,Qv))),128)),e.paginator.end!==0?(O(),$("li",{key:2,class:Ce({active:e.currentPage===e.paginator.end}),onClick:t[2]||(t[2]=i=>e.pageChangeEmitter(e.paginator.end))},K(e.paginator.end),3)):fe("",!0),e.currentPagee.pageChangeEmitter(e.currentPage+1))},[v("span",null,K(e.t("settings.paginator.older")),1),R(a,{class:"font-bold","icon-class":"arrow-right",height:"1.25rem",width:"1.25rem",fill:"var(--text-accent)",stroke:"var(--text-accent)"})])):fe("",!0)])])}const t_=Me(Xv,[["render",e_],["__scopeId","data-v-12a7e65e"]]);function n_(){const e=ce(),t=He(),n=Qo(),s=Wu(),o=a=>{const i=a??t.locale,l=String(s.name==="index"?"home":s.name),c=t.themeConfig.menu.menus[l.charAt(0).toUpperCase()+l.slice(1)];e.value=c&&c.i18n&&c.i18n[i]||c.name,n.setTitle(e.value)},r=a=>{n.setTitle(a)};return ze(()=>t.locale,a=>{a&&o(a)}),{pageTitle:e,updateTitle:o,updateTitleByText:r}}const s_=ye({name:"ARHome",components:{Feature:J7,FeatureList:$9,ArticleCard:I0,HorizontalArticle:A0,MainTitle:F9,Sidebar:V9,TagBox:av,Paginator:t_,RecentComment:Sv,Profile:Yv,SvgIcon:ht,Sticky:qu},setup(){Qo().setTitle("home");const e=Gv(),t=He(),n=W9(),{updateTitleByText:s}=n_(),{t:o}=st(),r=12,a=ce(new ko().top_feature),i=ce(new ko().features),l=ce(new Ts),c=ce({"tab-expander":!0,expanded:!1}),d=ce({tab:!0,"expanded-tab":!1}),h=ce(""),p=ce(0),C=ce({pageSize:r,pageTotal:0,page:1});dt(async()=>{await e.fetchFeaturePosts().then(()=>{a.value=e.featurePosts.top_feature,i.value=e.featurePosts.features}),await P(),await n.fetchCategories(),s(t.themeConfig.site.subtitle);const F=document.getElementById("article-list");p.value=F&&F instanceof HTMLElement?F.offsetTop:0});const E=()=>{c.value.expanded=!c.value.expanded,d.value["expanded-tab"]=!d.value["expanded-tab"]},L=F=>{h.value=F,k(),F!==""?S(F):P()},k=()=>{window.scrollTo({top:p.value,behavior:"smooth"})},T=F=>F===h.value?{background:t.themeConfig.theme.header_gradient_css}:{},P=async()=>{l.value=new Ts,await e.fetchPostsList(C.value.page).then(()=>{l.value=e.posts,C.value.pageTotal=e.posts.total})},S=async F=>{l.value=new Ts,await e.fetchPostsByCategory(F,C.value.page,C.value.pageSize).then(Y=>{l.value=Y,C.value.pageTotal=Y.total})},x=async F=>{C.value.page=F,k(),h.value?await S(h.value):await P()};return{endEleId:j(()=>t.themeConfig.footerLinks.data.length>0?"footer-link":"footer"),gradientText:j(()=>t.themeConfig.theme.background_gradient_style),gradientBackground:j(()=>({background:t.themeConfig.theme.header_gradient_css})),themeConfig:j(()=>t.themeConfig),categories:j(()=>n.isLoaded&&n.categories.length===0?null:n.categories),expanderClass:c,tabClass:d,expandHandler:E,handleTabChange:L,topFeature:a,featurePosts:i,posts:l,activeTabStyle:T,activeTab:h,pagination:C,pageChangeHandler:x,t:o}}}),o_={class:"block mt-8"},r_={class:"main-grid",id:"article-list"},a_={class:"flex flex-col relative"},i_=["onClick"],l_={class:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6"},c_={key:0};function u_(e,t,n,s,o,r){const a=ie("FeatureList"),i=ie("Feature"),l=ie("horizontal-article"),c=ie("ob-skeleton"),d=ie("SvgIcon"),h=ie("ArticleCard"),p=ie("Paginator"),C=ie("Profile"),b=ie("RecentComment"),E=ie("TagBox"),L=ie("Sticky"),k=ie("Sidebar");return O(),$("div",o_,[e.themeConfig.theme.feature?(O(),be(i,{key:0,data:e.topFeature},{default:De(()=>[R(a,{data:e.featurePosts},null,8,["data"])]),_:1},8,["data"])):(O(),be(l,{key:1,class:"mb-8",data:e.posts.data[0]||{}},null,8,["data"])),v("div",r_,[v("div",a_,[v("ul",{class:Ce(e.tabClass)},[v("li",{class:Ce({active:e.activeTab===""}),onClick:t[0]||(t[0]=T=>e.handleTabChange(""))},[v("span",{class:"first-tab",style:Ie(e.activeTabStyle(""))},K(e.t("settings.button-all")),5)],2),e.categories&&e.categories.length>0?(O(!0),$(me,{key:0},Ue(e.categories,T=>(O(),$("li",{key:T.slug,class:Ce({active:e.activeTab===T.slug}),onClick:P=>e.handleTabChange(T.slug)},[v("span",{style:Ie(e.activeTabStyle(T.slug))},K(T.name),5),v("b",null,K(T.count),1)],10,i_))),128)):e.categories!==null?(O(),$(me,{key:1},Ue(6,T=>v("li",{key:T,style:{position:"relative",top:"-4px"}},[R(c,{tag:"span",width:"60px",height:"33px"})])),64)):fe("",!0)],2),v("span",{class:Ce(e.expanderClass),onClick:t[1]||(t[1]=(...T)=>e.expandHandler&&e.expandHandler(...T))},[R(d,{"icon-class":"chevron",height:"1.2rem",width:"1.2rem",fill:"var(--text-normal)",stroke:"var(--text-normal)"})],2),v("ul",l_,[e.posts.data.length===0?(O(),$(me,{key:0},Ue(6,T=>v("li",{key:T},[R(h,{data:{}})])),64)):e.themeConfig.theme.feature?(O(!0),$(me,{key:2},Ue(e.posts.data,T=>(O(),$("li",{key:T.slug},[R(h,{data:T},null,8,["data"])]))),128)):(O(!0),$(me,{key:1},Ue(e.posts.data,(T,P)=>(O(),$(me,{key:T.slug},[P!==0?(O(),$("li",c_,[R(h,{data:T},null,8,["data"])])):fe("",!0)],64))),128))]),R(p,{pageSize:e.pagination.pageSize,pageTotal:e.pagination.pageTotal,page:e.pagination.page,onPageChange:e.pageChangeHandler},null,8,["pageSize","pageTotal","page","onPageChange"])]),v("div",null,[R(k,null,{default:De(()=>[R(C,{author:"blog-author"}),R(b),R(L,{stickyTop:32+63,endingElId:e.endEleId,dynamicElClass:"#sticky-tag-box"},{default:De(()=>[R(E)]),_:1},8,["endingElId"])]),_:1})])])])}const d_=Me(s_,[["render",u_]]),f_=()=>en(()=>import("./9cb479b5.js"),[]),h_=()=>en(()=>import("./7d897144.js"),["static/js/7d897144.js","static/js/fffbee97.js","static/css/882f9706.css"]),p_=()=>en(()=>import("./ff251d5d.js"),["static/js/ff251d5d.js","static/js/415fa29b.js","static/js/d57a5994.js","static/css/6b275704.css","static/js/fffbee97.js","static/css/882f9706.css","static/css/8e0e69c4.css"]),m_=()=>en(()=>import("./36429e9b.js"),["static/js/36429e9b.js","static/js/fffbee97.js","static/css/882f9706.css"]),g_=()=>en(()=>import("./53ed1a6f.js"),["static/js/53ed1a6f.js","static/js/fffbee97.js","static/css/882f9706.css","static/css/9a0271b0.css"]),v_=()=>en(()=>import("./a92e6a1c.js"),["static/js/a92e6a1c.js","static/js/7e80f274.js","static/js/9aa0d897.js","static/js/415fa29b.js","static/css/3e25f349.css","static/js/fffbee97.js","static/css/882f9706.css"]),__=()=>en(()=>import("./8da07a12.js"),["static/js/8da07a12.js","static//886a749e.css"]),b_=()=>en(()=>import("./22ac7e7f.js"),["static/js/22ac7e7f.js","static/js/7e80f274.js","static/js/9aa0d897.js","static/js/415fa29b.js","static/css/3e25f349.css","static/js/fffbee97.js","static/css/882f9706.css","static/js/d57a5994.js","static/css/6b275704.css"]),y_=()=>en(()=>import("./c562793b.js"),["static/js/c562793b.js","static/js/9aa0d897.js","static/js/415fa29b.js","static/js/d57a5994.js","static/css/6b275704.css"]),k_=[{name:"post-search",path:"/post/search",component:f_,props:!0},{name:"tags",path:"/tags",component:h_,props:!0},{name:"links",path:"/links",component:p_,props:!0},{name:"index",path:"/",component:d_,props:!0},{name:"category",path:"/category",component:m_,props:!0},{name:"archives",path:"/archives",component:g_,props:!0},{name:"about",path:"/about",component:v_,props:!0},{name:"all",path:"/:all(.*)*",component:__,props:!0},{name:"page-slug",path:"/page/:slug",component:b_,props:!0},{name:"post-slug",path:"/post/:slug",component:y_,props:!0}],si=Q4({history:m4("/"),routes:k_,scrollBehavior(e,t,n){return new Promise(s=>{e.hash?setTimeout(()=>{s({el:e.hash,behavior:"smooth",top:81})},1500):s(n||{top:0})})}}),$0=function(){return document.ontouchstart!==null?"click":"touchstart"},wo="__vue_click_away__",P0=function(e,t,n){R0(e);let s=n.context,o=t.value,r=!1;setTimeout(function(){r=!0},0),e[wo]=function(a){if((!e||!e.contains(a.target))&&o&&r&&typeof o=="function")return o.call(s,a)},document.addEventListener($0(),e[wo],!1)},R0=function(e){document.removeEventListener($0(),e[wo],!1),delete e[wo]},w_=function(e,t,n){t.value!==t.oldValue&&P0(e,t,n)},C_={install:function(e){e.directive("click-away",E_)}},E_={mounted:P0,updated:w_,unmounted:R0};var jt=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(jt||{});const S_=typeof window<"u"&&window!==null,M_=L_(),T_=Object.prototype.propertyIsEnumerable,Oc=Object.getOwnPropertySymbols;function As(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function O_(e){return typeof e=="object"?e===null:typeof e!="function"}function A_(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function L_(){return S_&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function I_(e,...t){if(!As(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Oc!="function")return e;for(const n of t){const s=Oc(n);for(const o of s)T_.call(n,o)&&(e[o]=n[o])}return e}function N0(e,...t){let n=0;for(O_(e)&&(e=t[n++]),e||(e={});n{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,s,r,a,i)}update(t,n){var i;if(!t)return;(i=this._realObserver(t))==null||i.unobserve(t);const{src:s,error:o,lifecycle:r,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,s,o,r,a)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,s,o){this._setImageSrc(t,n,s,o)}_setImageSrc(t,n,s,o){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(jt.LOADED,o,t)},()=>{var r;t.onload=null,this._lifecycle(jt.ERROR,o,t),(r=this._realObserver(t))==null||r.disconnect(),s&&t.getAttribute("src")!==s&&t.setAttribute("src",s),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,s,o,r){var i;const a=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{r&&r>0?this._delayedIntersectionCallback(t,c,r,n,s,o):this._intersectionCallback(t,c,n,s,o)})},a)),(i=this._realObserver(t))==null||i.observe(t)}_intersectionCallback(t,n,s,o,r){var a;n.isIntersecting&&((a=this._realObserver(t))==null||a.unobserve(n.target),this._setImageSrc(t,s,o,r))}_delayedIntersectionCallback(t,n,s,o,r,a){if(n.isIntersecting){if(n.target.hasAttribute(Fn))return;const i=setTimeout(()=>{this._intersectionCallback(t,n,o,r,a),n.target.removeAttribute(Fn)},s);n.target.setAttribute(Fn,String(i))}else n.target.hasAttribute(Fn)&&(clearTimeout(Number(n.target.getAttribute(Fn))),n.target.removeAttribute(Fn))}_listenImageStatus(t,n,s){t.onload=n,t.onerror=s}_valueFormatter(t){let n=t,s=this.options.loading,o=this.options.error,r=this.options.lifecycle,a=this.options.delay;return As(t)&&(n=t.src,s=t.loading||this.options.loading,o=t.error||this.options.error,r=t.lifecycle||this.options.lifecycle,a=t.delay||this.options.delay),{src:n,loading:s,error:o,lifecycle:r,delay:a}}_log(t){this.options.log&&t()}_lifecycle(t,n,s){switch(t){case jt.LOADING:s==null||s.setAttribute("lazy",jt.LOADING),n!=null&&n.loading&&n.loading(s);break;case jt.LOADED:s==null||s.setAttribute("lazy",jt.LOADED),n!=null&&n.loaded&&n.loaded(s);break;case jt.ERROR:s==null||s.setAttribute("lazy",jt.ERROR),n!=null&&n.error&&n.error(s);break}}_realObserver(t){return this._images.get(t)}_logger(t,...n){let s=console.error;switch(this.options.logLevel){case"error":s=console.error;break;case"warn":s=console.warn;break;case"info":s=console.info;break;case"debug":s=console.debug;break}s(t,n)}}const R_={install(e,t){const n=new P_(t);e.config.globalProperties.$Lazyload=n,e.provide("Lazyload",n),e.directive("lazy",{mounted:n.mount.bind(n),updated:n.update.bind(n),unmounted:n.unmount.bind(n)})}};si.beforeEach(async(e,t,n)=>{const s=He(),o=Qo();s.startLoading();const r=In.global.te(`menu.${String(e.name)}`)?In.global.t(`menu.${String(e.name)}`):e.name;o.setTitle(String(r)),In.global.locale.value=s.locale?s.locale:"en",n()});si.afterEach(()=>{var t;He().endLoading(),(t=document.getElementById("App-Container"))==null||t.focus()});if(typeof window<"u"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}const fo="var(--skeleton-bg, #eeeeee)",D0="var(--skeleton-hl, #f5f5f5)",F0={backgroundColor:fo,backgroundImage:`linear-gradient( - 90deg, - ${fo}, - ${D0}, - ${fo} - )`,animation:"",height:"inherit",width:"inherit",borderRadius:"3px",content:'"‌"'},Lc=ye({name:"ObSkeletonTheme",props:{color:{type:String,default:fo},highlight:{type:String,default:D0},duration:{type:Number,default:1.5},tag:{type:String,default:"div"},loading:Boolean},provide(){return{_themeStyle:this.themeStyle,_skeletonTheme:this}},setup(){return{themeStyle:{...F0}}},render(){const{color:e,highlight:t,duration:n}=this;return this.themeStyle.backgroundColor=e,this.themeStyle.backgroundImage=`linear-gradient( - 90deg, - ${e}, - ${t}, - ${e} - )`,n?this.themeStyle.animation=`SkeletonLoading ${n}s ease-in-out infinite`:(this.themeStyle.animation="",this.themeStyle.backgroundImage=""),this.tag?Kt(this.tag,this.$slots.default):this.$slots.default}}),N_=e=>{if(!e)return!0;const t=e()[0];let n=t.text;return n&&(n=n.replace(/(\n|\r\n|\s)/g,"")),typeof t.tag>"u"&&!n},Ic=ye({name:"ObSkeleton",props:{prefix:{type:String,default:"ob"},count:{type:Number,default:1},duration:{type:Number,default:1.5},tag:{type:String,default:"span"},width:[String,Number],height:[String,Number],circle:Boolean,loading:Boolean,class:String},setup(e,{slots:t}){const n=it("_themeStyle",F0),s=it("_skeletonTheme",{loading:!1}),o=ut(e).loading;return{themeStyle:n,theme:s,slots:t,isLoading:j(()=>typeof o===void 0?typeof s.loading!==void 0?s.loading:o:N_(t.default))}},render(){const{width:e,height:t,duration:n,prefix:s,circle:o,count:r,tag:a,isLoading:i,slots:l}=this,c=this.class?this.class.split(" "):[],d=[`${s}-skeleton`,...c],h=[],p={...this.themeStyle};n?p.animation=`SkeletonLoading ${n}s ease-in-out infinite`:p.backgroundImage="",e&&(p.width=String(e)),t&&(p.height=String(t)),o&&(p.borderRadius="50%");for(let C=0;C{e.component(Ic.name,Ic),e.component(Lc.name,Lc)};var j0={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(self,function(){return(()=>{var n={d:(m,N)=>{for(var B in N)n.o(N,B)&&!n.o(m,B)&&Object.defineProperty(m,B,{enumerable:!0,get:N[B]})},o:(m,N)=>Object.prototype.hasOwnProperty.call(m,N),r:m=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})}},s={};function o(m,N=null){let B=0;do{isNaN(m.offsetTop)||(B+=m.offsetTop);const X=m.offsetParent;if(X===null)break;m=X}while(m&&m!==N);return B}function r(m){return m.getAttribute("data-scroll-spy-id")||m.getAttribute("scroll-spy-id")||m.getAttribute("id")||"default"}function a(m){return!!m.getAttribute("data-scroll-spy-id")||!!m.getAttribute("scroll-spy-id")}function i(m){do{if(a(m))return r(m);m=m.parentElement}while(m);return"default"}n.r(s),n.d(s,{Easing:()=>ae,registerScrollSpy:()=>ne});var l,c={Linear:{None:function(m){return m}},Quadratic:{In:function(m){return m*m},Out:function(m){return m*(2-m)},InOut:function(m){return(m*=2)<1?.5*m*m:-.5*(--m*(m-2)-1)}},Cubic:{In:function(m){return m*m*m},Out:function(m){return--m*m*m+1},InOut:function(m){return(m*=2)<1?.5*m*m*m:.5*((m-=2)*m*m+2)}},Quartic:{In:function(m){return m*m*m*m},Out:function(m){return 1- --m*m*m*m},InOut:function(m){return(m*=2)<1?.5*m*m*m*m:-.5*((m-=2)*m*m*m-2)}},Quintic:{In:function(m){return m*m*m*m*m},Out:function(m){return--m*m*m*m*m+1},InOut:function(m){return(m*=2)<1?.5*m*m*m*m*m:.5*((m-=2)*m*m*m*m+2)}},Sinusoidal:{In:function(m){return 1-Math.cos(m*Math.PI/2)},Out:function(m){return Math.sin(m*Math.PI/2)},InOut:function(m){return .5*(1-Math.cos(Math.PI*m))}},Exponential:{In:function(m){return m===0?0:Math.pow(1024,m-1)},Out:function(m){return m===1?1:1-Math.pow(2,-10*m)},InOut:function(m){return m===0?0:m===1?1:(m*=2)<1?.5*Math.pow(1024,m-1):.5*(2-Math.pow(2,-10*(m-1)))}},Circular:{In:function(m){return 1-Math.sqrt(1-m*m)},Out:function(m){return Math.sqrt(1- --m*m)},InOut:function(m){return(m*=2)<1?-.5*(Math.sqrt(1-m*m)-1):.5*(Math.sqrt(1-(m-=2)*m)+1)}},Elastic:{In:function(m){return m===0?0:m===1?1:-Math.pow(2,10*(m-1))*Math.sin(5*(m-1.1)*Math.PI)},Out:function(m){return m===0?0:m===1?1:Math.pow(2,-10*m)*Math.sin(5*(m-.1)*Math.PI)+1},InOut:function(m){return m===0?0:m===1?1:(m*=2)<1?-.5*Math.pow(2,10*(m-1))*Math.sin(5*(m-1.1)*Math.PI):.5*Math.pow(2,-10*(m-1))*Math.sin(5*(m-1.1)*Math.PI)+1}},Back:{In:function(m){var N=1.70158;return m*m*((N+1)*m-N)},Out:function(m){var N=1.70158;return--m*m*((N+1)*m+N)+1},InOut:function(m){var N=2.5949095;return(m*=2)<1?m*m*((N+1)*m-N)*.5:.5*((m-=2)*m*((N+1)*m+N)+2)}},Bounce:{In:function(m){return 1-c.Bounce.Out(1-m)},Out:function(m){return m<1/2.75?7.5625*m*m:m<2/2.75?7.5625*(m-=1.5/2.75)*m+.75:m<2.5/2.75?7.5625*(m-=2.25/2.75)*m+.9375:7.5625*(m-=2.625/2.75)*m+.984375},InOut:function(m){return m<.5?.5*c.Bounce.In(2*m):.5*c.Bounce.Out(2*m-1)+.5}}},d=typeof self>"u"&&typeof process<"u"&&process.hrtime?function(){var m=process.hrtime();return 1e3*m[0]+m[1]/1e6}:typeof self<"u"&&self.performance!==void 0&&self.performance.now!==void 0?self.performance.now.bind(self.performance):Date.now!==void 0?Date.now:function(){return new Date().getTime()},h=function(){function m(){this._tweens={},this._tweensAddedDuringUpdate={}}return m.prototype.getAll=function(){var N=this;return Object.keys(this._tweens).map(function(B){return N._tweens[B]})},m.prototype.removeAll=function(){this._tweens={}},m.prototype.add=function(N){this._tweens[N.getId()]=N,this._tweensAddedDuringUpdate[N.getId()]=N},m.prototype.remove=function(N){delete this._tweens[N.getId()],delete this._tweensAddedDuringUpdate[N.getId()]},m.prototype.update=function(N,B){N===void 0&&(N=d()),B===void 0&&(B=!1);var X=Object.keys(this._tweens);if(X.length===0)return!1;for(;X.length>0;){this._tweensAddedDuringUpdate={};for(var G=0;G1?te(m[B],m[B-1],B-X):te(m[G],m[G+1>B?B:G+1],X-G)},Bezier:function(m,N){for(var B=0,X=m.length-1,G=Math.pow,te=p.Utils.Bernstein,he=0;he<=X;he++)B+=G(1-N,X-he)*G(N,he)*m[he]*te(X,he);return B},CatmullRom:function(m,N){var B=m.length-1,X=B*N,G=Math.floor(X),te=p.Utils.CatmullRom;return m[0]===m[B]?(N<0&&(G=Math.floor(X=B*(1+N))),te(m[(G-1+B)%B],m[G],m[(G+1)%B],m[(G+2)%B],X-G)):N<0?m[0]-(te(m[0],m[0],m[1],m[1],-X)-m[0]):N>1?m[B]-(te(m[B],m[B],m[B-1],m[B-1],X-B)-m[B]):te(m[G?G-1:0],m[G],m[B1;B--)N*=B;return l[m]=N,N}),CatmullRom:function(m,N,B,X,G){var te=.5*(B-m),he=.5*(X-N),ve=G*G;return(2*N-2*B+te+he)*(G*ve)+(-3*N+3*B-2*te-he)*ve+te*G+N}}},C=function(){function m(){}return m.nextId=function(){return m._nextId++},m._nextId=0,m}(),b=new h,E=function(){function m(N,B){B===void 0&&(B=b),this._object=N,this._group=B,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=c.Linear.None,this._interpolationFunction=p.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._id=C.nextId(),this._isChainStopped=!1,this._goToEnd=!1}return m.prototype.getId=function(){return this._id},m.prototype.isPlaying=function(){return this._isPlaying},m.prototype.isPaused=function(){return this._isPaused},m.prototype.to=function(N,B){return this._valuesEnd=Object.create(N),B!==void 0&&(this._duration=B),this},m.prototype.duration=function(N){return this._duration=N,this},m.prototype.start=function(N){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed)for(var B in this._reversed=!1,this._valuesStartRepeat)this._swapEndStartRepeatValues(B),this._valuesStart[B]=this._valuesStartRepeat[B];return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=N!==void 0?typeof N=="string"?d()+parseFloat(N):N:d(),this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this},m.prototype._setupProperties=function(N,B,X,G){for(var te in X){var he=N[te],ve=Array.isArray(he),$e=ve?"array":typeof he,Te=!ve&&Array.isArray(X[te]);if($e!=="undefined"&&$e!=="function"){if(Te){var Ke=X[te];if(Ke.length===0)continue;Ke=Ke.map(this._handleRelativeValue.bind(this,he)),X[te]=[he].concat(Ke)}if($e!=="object"&&!ve||!he||Te)B[te]===void 0&&(B[te]=he),ve||(B[te]*=1),G[te]=Te?X[te].slice().reverse():B[te]||0;else{for(var Ye in B[te]=ve?[]:{},he)B[te][Ye]=he[Ye];G[te]=ve?[]:{},this._setupProperties(he,B[te],X[te],G[te])}}}},m.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},m.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},m.prototype.pause=function(N){return N===void 0&&(N=d()),this._isPaused||!this._isPlaying||(this._isPaused=!0,this._pauseStart=N,this._group&&this._group.remove(this)),this},m.prototype.resume=function(N){return N===void 0&&(N=d()),this._isPaused&&this._isPlaying?(this._isPaused=!1,this._startTime+=N-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this):this},m.prototype.stopChainedTweens=function(){for(var N=0,B=this._chainedTweens.length;Nte)return!1;B&&this.start(N)}if(this._goToEnd=!1,N1?1:G;var he=this._easingFunction(G);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,he),this._onUpdateCallback&&this._onUpdateCallback(this._object,G),G===1){if(this._repeat>0){for(X in isFinite(this._repeat)&&this._repeat--,this._valuesStartRepeat)this._yoyo||typeof this._valuesEnd[X]!="string"||(this._valuesStartRepeat[X]=this._valuesStartRepeat[X]+parseFloat(this._valuesEnd[X])),this._yoyo&&this._swapEndStartRepeatValues(X),this._valuesStart[X]=this._valuesStartRepeat[X];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=N+this._repeatDelayTime:this._startTime=N+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),!0}this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var ve=0,$e=this._chainedTweens.length;ve<$e;ve++)this._chainedTweens[ve].start(this._startTime+this._duration);return this._isPlaying=!1,!1}return!0},m.prototype._updateProperties=function(N,B,X,G){for(var te in X)if(B[te]!==void 0){var he=B[te]||0,ve=X[te],$e=Array.isArray(N[te]),Te=Array.isArray(ve);!$e&&Te?N[te]=this._interpolationFunction(ve,G):typeof ve=="object"&&ve?this._updateProperties(N[te],he,ve,G):typeof(ve=this._handleRelativeValue(he,ve))=="number"&&(N[te]=he+(ve-he)*G)}},m.prototype._handleRelativeValue=function(N,B){return typeof B!="string"?B:B.charAt(0)==="+"||B.charAt(0)==="-"?N+parseFloat(B):parseFloat(B)},m.prototype._swapEndStartRepeatValues=function(N){var B=this._valuesStartRepeat[N],X=this._valuesEnd[N];this._valuesStartRepeat[N]=typeof X=="string"?this._valuesStartRepeat[N]+parseFloat(X):this._valuesEnd[N],this._valuesEnd[N]=B},m}(),L=C.nextId,k=b,T=k.getAll.bind(k),P=k.removeAll.bind(k),S=k.add.bind(k),x=k.remove.bind(k),F=k.update.bind(k);const Y={Easing:c,Group:h,Interpolation:p,now:d,Sequence:C,nextId:L,Tween:E,VERSION:"18.6.4",getAll:T,removeAll:P,add:S,remove:x,update:F},Z=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(m){window.setTimeout(m,1e3/60)};function J(){Y.update()&&Z(J)}Z(J);const ae=Y.Easing,de={allowNoActive:!1,sectionSelector:null,offset:0,time:500,steps:30,easing:null,active:{selector:null,class:"active"},link:{selector:"a"}},ne=(m,N)=>{const B=Object.assign({},de,N||{}),X={};Object.defineProperty(X,"scrollTop",{get:()=>document.body.scrollTop||document.documentElement.scrollTop,set(W){document.body.scrollTop=W,document.documentElement.scrollTop=W}}),Object.defineProperty(X,"scrollHeight",{get:()=>document.body.scrollHeight||document.documentElement.scrollHeight}),Object.defineProperty(X,"offsetHeight",{get:()=>window.innerHeight});const G="@@scrollSpyContext",te={},he={},ve={},$e={},Te={};function Ke(W,oe,y){y.preventDefault(),pt(te[oe],W)}function Ye(W,oe){const y=r(W),f=se(W,oe);for(let u=0;u0){const H=g.time,U=g.steps,Q=parseInt(H)/parseInt(U),z=I-M;for(let A=0;A<=U;A++){const D=M+z/U*A;setTimeout(()=>{u.scrollTop=D},Q*A)}return}window.scrollTo({top:I,behavior:"smooth"})}}function Ne(W,oe){const y=r(W),f=Object.assign({},B,{active:{selector:oe.value&&oe.value.selector?oe.value.selector:B.active.selector,class:oe.value&&oe.value.class?oe.value.class:B.active.class}}),u=[...se(W,f.active.selector)];$e[y]=u.map(g=>(g[G].options=f,g))}function V(W,oe){const y=r(W),f=W[G],u=se(W,oe);he[y]=u,u[0]&&u[0]instanceof HTMLElement&&u[0].offsetParent!==W&&(f.eventEl=window,f.scrollEl=X)}function se(W,oe){if(!oe)return[...W.children].map(u=>ee(u));const y=r(W),f=[];for(const u of W.querySelectorAll(oe))i(u)===y&&f.push(ee(u));return f}function ee(W){return W[G]={onScroll:()=>{},options:B,id:"",eventEl:W,scrollEl:W},W}m.directive("scroll-spy",{created(W,oe){const y=r(W);W[G]={onScroll:()=>{const f=r(W),u=he[f],{scrollEl:g,options:M}=W[G];let I;if(g.offsetHeight+g.scrollTop>=g.scrollHeight-10)I=u.length;else for(I=0;Ig.scrollTop);I++);if(I--,I<0)I=M.allowNoActive?null:0;else if(M.allowNoActive&&I>=u.length-1){const H=u[I];H instanceof HTMLElement&&o(u[I])+H.offsetHeight0&&U!==null&&(H=$e[f][U],ve[f]=H,H&&H.classList.add(H[G].options.active.class))}},options:Object.assign({},B,oe.value),id:r(W),eventEl:W,scrollEl:W},te[y]=W,delete Te[y]},mounted(W){const{options:{sectionSelector:oe}}=W[G];V(W,oe);const{eventEl:y,onScroll:f}=W[G];y.addEventListener("scroll",f),f()},updated(W,oe){W[G].options=Object.assign({},B,oe.value);const{onScroll:y,options:{sectionSelector:f}}=W[G];V(W,f),y()},unmounted(W){const{eventEl:oe,onScroll:y}=W[G];oe.removeEventListener("scroll",y)}}),m.directive("scroll-spy-active",{created:Ne,updated:Ne}),m.directive("scroll-spy-link",{mounted:function(W,oe){Ye(W,Object.assign({},B.link,oe.value).selector)},updated:function(W,oe){Ye(W,Object.assign({},B.link,oe.value).selector)},unmounted(W){const oe=se(W,null);for(let y=0;y{const t=await e.fetchArticle(String(s.params.slug));n.value=t,o.value=t.title,d(a.locale)},d=t=>{const h=t??"en",c=a.themeConfig.menu.menus[String(s.params.slug)];o.value=c.i18n&&c.i18n[h]||c.name,u.setTitle(o.value)};return y(()=>a.locale,t=>{t&&d(t)}),A(m),{enabledComment:f(()=>n.value.comments&&r.value.plugin!==""),pageTitle:f(()=>o.value),pageData:n,t:p}}}),R={class:"mt-20"},q={key:0,id:"comments"};function z(e,a,u,n,s,p){const o=l("Breadcrumbs"),r=l("Comment"),m=l("PageContent");return _(),C("div",R,[i(o,{current:e.pageTitle},null,8,["current"]),i(m,{post:e.pageData,title:e.pageTitle},{default:k(()=>[e.enabledComment?(_(),C("div",q,[i(r,{title:e.pageData.title,body:e.pageData.text,uid:e.pageData.uid},null,8,["title","body","uid"])])):V("",!0)]),_:1},8,["post","title"])])}const J=$(N,[["render",z]]);export{J as default}; diff --git a/static/js/36429e9b.js b/static/js/36429e9b.js deleted file mode 100644 index 92f670d..0000000 --- a/static/js/36429e9b.js +++ /dev/null @@ -1 +0,0 @@ -import{d as c,m as n,N as i,_ as d,e as t,g as l,i as e,h as o,t as p,f as _}from"./120aa8f8.js";import"https://unpkg.com/@waline/client@v2/dist/waline.mjs";import{B as m}from"./fffbee97.js";const u=c({name:"ArCategory",components:{Sidebar:n,Breadcrumbs:m},setup(){const{pageTitle:s}=i();return{pageTitle:s}}}),h={class:"flex flex-col mt-20"},f={class:"post-header"},g={class:"post-title text-white uppercase"},b={class:"main-grid"},v=e("div",{class:"relative"},[e("div",{class:"post-html bg-ob-deep-800 px-14 py-16 rounded-2xl shadow-xl block min-h-screen"})],-1),x={class:"col-span-1"};function B(s,y,S,T,$,k){const a=t("Breadcrumbs"),r=t("Sidebar");return _(),l("div",h,[e("div",f,[o(a,{current:s.pageTitle},null,8,["current"]),e("h1",g,p(s.pageTitle),1)]),e("div",b,[v,e("div",x,[o(r)])])])}const V=d(u,[["render",B]]);export{V as default}; diff --git a/static/js/415fa29b.js b/static/js/415fa29b.js deleted file mode 100644 index 6045578..0000000 --- a/static/js/415fa29b.js +++ /dev/null @@ -1 +0,0 @@ -import{r,d as w,p as _,ad as f,X as y,c as k,_ as v,e as g,g as a,i as e,h as s,t as m,D as c,k as C,F as P,C as T,f as n}from"./120aa8f8.js";function Y(){const t=r(),p=r(0),h=l=>{let u=0;for(;l;)u+=l.offsetTop,l=l.offsetParent;return u};return{jumpToEle:l=>{t.value=document.getElementById(l),t.value&&(p.value=t.value&&t.value instanceof HTMLElement?h(t.value)-30-81:0),window.scrollTo({top:p.value,behavior:"smooth"})}}}const S=w({name:"ObPostStats",components:{SvgIcon:_},props:{postWordCount:{type:Number||void 0},postTimeCount:{type:String||void 0},postTitle:{type:String},pluginConfigs:{type:Object,default:()=>new f().plugins,required:!0},currentPath:{type:String,default:"/",required:!0},comments:Boolean},setup(t,{expose:p}){const h=r(void 0),{enabledCommentPlugin:d,initCommentPluginCommentCount:l,intiCommentPluginPageView:u}=y();return p({getCommentCount:async()=>{h.value=await l(t.currentPath)},getPostView:()=>{u(t.currentPath)}}),{commentCount:h,plugin:k(()=>d.value.plugin)}}}),b={key:0,class:"post-stats"},V={class:"pl-2 opacity-70"},B={class:"pl-2 opacity-70"},q={key:0},N={class:"pl-2 opacity-70"},I={class:"waline-pageview-count"},O={key:1},$={class:"pl-2 opacity-70"},j=["data-path"],E={key:2},W={class:"pl-2 opacity-70",id:"twikoo_visitors"},x={key:3},D={class:"pl-2 opacity-70"},F={key:4},H={class:"pl-2 opacity-70"},J=["id","data-flag-title"],L={class:"leancloud-visitors-count"},M={key:1,class:"post-stats"},X={class:"pl-2"},z={class:"pl-2"},A={key:0},G={class:"pl-2"},K={key:1},Q={class:"pl-2"};function R(t,p,h,d,l,u){const o=g("SvgIcon"),i=g("ob-skeleton");return t.postTimeCount!==void 0&&t.postWordCount!==void 0?(n(),a("div",b,[e("span",null,[s(o,{class:"opacity-70","icon-class":"clock",fill:"none",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",V,m(t.postTimeCount),1)]),e("span",null,[s(o,{class:"opacity-70","icon-class":"text",fill:"none",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",B,m(t.postWordCount),1)]),t.plugin==="waline"?(n(),a("span",q,[s(o,{class:"opacity-70","icon-class":"hot",fill:"none",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",N,[e("span",I,[s(i,{width:"40px",height:"16px"})])])])):c("",!0),t.comments&&t.plugin==="waline"?(n(),a("span",O,[s(o,{class:"opacity-70","icon-class":"quote",fill:"none",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",$,[e("span",{class:"waline-comment-count","data-path":t.currentPath},[s(i,{width:"40px",height:"16px"})],8,j)])])):c("",!0),t.plugin==="twikoo"?(n(),a("span",E,[s(o,{class:"opacity-70","icon-class":"hot",fill:"none",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",W,[s(i,{width:"40px",height:"16px"})])])):c("",!0),t.comments&&t.plugin==="twikoo"?(n(),a("span",x,[s(o,{class:"opacity-70","icon-class":"quote",fill:"none",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",D,[t.commentCount===void 0?(n(),C(i,{key:0,width:"40px",height:"16px"})):(n(),a(P,{key:1},[T(m(t.commentCount),1)],64))])])):c("",!0),t.plugin==="valine"?(n(),a("span",F,[s(o,{class:"opacity-70","icon-class":"hot",fill:"none",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",H,[e("span",{id:t.currentPath,class:"leancloud_visitors","data-flag-title":t.postTitle},[e("i",L,[s(i,{width:"40px",height:"16px"})])],8,J)])])):c("",!0)])):(n(),a("div",M,[e("span",null,[s(o,{class:"opacity-70","icon-class":"clock",fill:"none",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",X,[s(i,{width:"40px",height:"16px"})])]),e("span",null,[s(o,{class:"opacity-70","icon-class":"text",fill:"white",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",z,[s(i,{width:"40px",height:"16px"})])]),t.plugin==="waline"||t.plugin==="twikoo"||t.plugin==="valine"?(n(),a("span",A,[s(o,{class:"opacity-70","icon-class":"hot",fill:"none",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",G,[s(i,{width:"40px",height:"16px"})])])):c("",!0),t.comments&&(t.plugin==="waline"||t.plugin==="twikoo")?(n(),a("span",K,[s(o,{class:"opacity-70","icon-class":"quote",fill:"none",stroke:"white",height:"1.25em",width:"1.25em"}),e("span",Q,[s(i,{width:"40px",height:"16px"})])])):c("",!0)]))}const Z=v(S,[["render",R]]);export{Z as P,Y as u}; diff --git a/static/js/53ed1a6f.js b/static/js/53ed1a6f.js deleted file mode 100644 index ec19f2d..0000000 --- a/static/js/53ed1a6f.js +++ /dev/null @@ -1 +0,0 @@ -import{d as k,P as B,L as C,v as S,q as w,r as y,Z as P,N as b,z as I,B as $,O as x,_ as A,e as m,g as i,h as u,i as t,t as s,F as _,j as T,f as l,E as H,$ as N,a0 as z}from"./120aa8f8.js";import{B as D}from"./fffbee97.js";import"https://unpkg.com/@waline/client@v2/dist/waline.mjs";const E=k({name:"ArArchives",components:{Breadcrumbs:D,Paginator:B},setup(){const e=C(),g=S(),{t:v}=w(),c=y(new P().data),n=y({pageTotal:0,page:1}),{pageTitle:f,updateTitle:d}=b(),r=async()=>{const a=await g.fetchArchives(n.value.page);n.value.pageTotal=a.total,c.value=a.data,e.setHeaderImage(x),d()},p=a=>{n.value.page=a,window.scrollTo({top:0,behavior:"smooth"}),r()};return I(r),$(()=>{e.resetHeaderImage()}),{pageTitle:f,pageChangeHandler:p,pagination:n,archives:c,t:v}}});const h=e=>(N("data-v-43e81927"),e=e(),z(),e),F={class:"flex flex-col mt-20"},L={class:"post-header"},V={class:"post-title text-white uppercase"},j={class:"bg-ob-deep-800 px-14 py-16 rounded-2xl shadow-xl block min-h-screen"},q={class:"timeline timeline-centered"},M={class:"timeline-item period"},O=h(()=>t("div",{class:"timeline-info"},null,-1)),U=h(()=>t("div",{class:"timeline-marker"},null,-1)),Z={class:"timeline-content"},G={class:"timeline-title"},J={class:"timeline-info"},K=h(()=>t("div",{class:"timeline-marker"},null,-1)),Q={class:"timeline-content"},R={class:"timeline-title"};function W(e,g,v,c,n,f){const d=m("Breadcrumbs"),r=m("router-link"),p=m("Paginator");return l(),i("div",F,[u(d,{current:e.pageTitle},null,8,["current"]),t("div",L,[t("h1",V,s(e.pageTitle),1)]),t("div",j,[t("ul",q,[(l(!0),i(_,null,T(e.archives,a=>(l(),i(_,{key:`${a.month}-${a.year}}`},[t("li",M,[O,U,t("div",Z,[t("h2",G,s(e.t(a.month))+" "+s(a.year),1)])]),(l(!0),i(_,null,T(a.posts,o=>(l(),i("li",{class:"timeline-item",key:o.slug},[t("div",J,[t("span",null,s(e.t(o.date.month))+" "+s(o.date.day)+", "+s(o.date.year),1)]),K,t("div",Q,[u(r,{to:{name:"post-slug",params:{slug:o.slug}}},{default:H(()=>[t("h3",R,s(o.title),1)]),_:2},1032,["to"]),t("p",null,s(o.text),1)])]))),128))],64))),128))]),u(p,{pageSize:12,pageTotal:e.pagination.pageTotal,page:e.pagination.page,onPageChange:e.pageChangeHandler},null,8,["pageTotal","page","onPageChange"])])])}const te=A(E,[["render",W],["__scopeId","data-v-43e81927"]]);export{te as default}; diff --git a/static/js/7d897144.js b/static/js/7d897144.js deleted file mode 100644 index d3f0595..0000000 --- a/static/js/7d897144.js +++ /dev/null @@ -1 +0,0 @@ -import{B as k}from"./fffbee97.js";import{d as b,J as B,K as v,p as y,L as I,q as S,M as w,N as x,z as C,B as L,c as N,O as $,_ as D,e as s,g as n,h as r,i as c,t as u,E as V,f as o,F as j,j as z,k as m,C as A}from"./120aa8f8.js";import"https://unpkg.com/@waline/client@v2/dist/waline.mjs";const E=b({name:"ArTag",components:{Breadcrumbs:k,TagList:B,TagItem:v,SvgIcon:y},setup(){const e=I(),{t:l}=S(),t=w(),{pageTitle:i,updateTitle:g}=x();return C(async()=>{await t.fetchAllTags(),g(),e.setHeaderImage($)}),L(()=>{e.resetHeaderImage()}),{pageTitle:i,tags:N(()=>t.isLoaded&&t.tags.length===0?null:t.tags),t:l}}}),F={class:"flex flex-col mt-20"},H={class:"post-header"},M={class:"post-title text-white uppercase"},q={class:"bg-ob-deep-800 px-14 py-16 rounded-2xl shadow-xl block"},J={key:2,class:"flex flex-row justify-center items-center"};function K(e,l,t,i,g,d){const p=s("Breadcrumbs"),_=s("TagItem"),f=s("ob-skeleton"),h=s("SvgIcon"),T=s("TagList");return o(),n("div",F,[r(p,{current:e.pageTitle},null,8,["current"]),c("div",H,[c("h1",M,u(e.pageTitle),1)]),c("div",q,[r(T,null,{default:V(()=>[e.tags&&e.tags.length>0?(o(!0),n(j,{key:0},z(e.tags,a=>(o(),m(_,{key:a.slug,name:a.name,slug:a.slug,count:a.count,size:"large"},null,8,["name","slug","count"]))),128)):e.tags?(o(),m(f,{key:1,tag:"li",count:10,height:"20px",width:"3rem"})):(o(),n("div",J,[r(h,{class:"stroke-ob-bright mr-2","icon-class":"warning"}),A(" "+u(e.t("settings.empty-tag")),1)]))]),_:1})])])}const G=D(E,[["render",K]]);export{G as default}; diff --git a/static/js/7e80f274.js b/static/js/7e80f274.js deleted file mode 100644 index b183c38..0000000 --- a/static/js/7e80f274.js +++ /dev/null @@ -1 +0,0 @@ -import{d as C,U as w,m as P,a2 as k,u as T,L as x,s as I,q as B,a3 as S,r as $,X as H,y,o as L,B as R,c as u,Y as D,_ as M,e as c,R as O,g as d,i as e,t as V,k as j,h as s,H as E,a4 as N,E as U,f as l,$ as q,a0 as z}from"./120aa8f8.js";import{T as A,u as X}from"./9aa0d897.js";import{P as Y}from"./415fa29b.js";const F=C({name:"ObPageContent",components:{ObSkeleton:w,Sidebar:P,Toc:A,Profile:k,PostStats:Y},props:{post:{type:Object,default:()=>({})},title:{type:String,default:""}},setup(t){const g=T(),r=x(),f=I(),{t:v}=B(),n=S(t).post,o=S(t).title,i=$(),{enabledCommentPlugin:m}=H(),{initializeLightBox:h}=X();return y(()=>n.value.covers,a=>{a&&r.setHeaderImage(a)}),y(()=>n.value.count_time.symbolsTime,async a=>{var p,b;a&&(await D(),h(),(p=i.value)==null||p.getCommentCount(),(b=i.value)==null||b.getPostView())}),L(()=>{r.setHeaderImage(n.value.covers)}),R(()=>{r.resetHeaderImage()}),{enabledComment:u(()=>n.value.comments&&m.value.plugin!==""),pageTitle:u(()=>o.value!==""?o.value:n.value.title),currentPath:u(()=>f.path),pluginConfigs:u(()=>g.themeConfig.plugins),postStatsRef:i,t:v}}});const _=t=>(q("data-v-1d305902"),t=t(),z(),t),G={class:"flex flex-col"},J={class:"post-header"},K={key:0,class:"post-title text-white uppercase"},Q={class:"flex flex-row items-center justify-start mt-8"},W={class:"main-grid"},Z={class:"relative"},tt=["innerHTML"],et={key:1,class:"bg-ob-deep-800 px-14 py-16 rounded-2xl shadow-xl block min-h-screen"},ot=_(()=>e("br",null,null,-1)),st=_(()=>e("br",null,null,-1)),nt=_(()=>e("br",null,null,-1)),at={class:"col-span-1"};function it(t,g,r,f,v,n){const o=c("ob-skeleton"),i=c("PostStats"),m=c("Profile"),h=c("Toc"),a=c("Sidebar"),p=O("scroll-spy");return l(),d("div",G,[e("div",J,[t.post.title?(l(),d("h1",K,V(t.pageTitle),1)):(l(),j(o,{key:1,class:"post-title text-white uppercase",width:"100%",height:"clamp(1.2rem, calc(1rem + 3.5vw), 4rem)"})),e("div",Q,[s(i,{"post-word-count":t.post.count_time.symbolsCount,"post-time-count":t.post.count_time.symbolsTime,"post-title":t.post.title,"current-path":t.currentPath,"plugin-configs":t.pluginConfigs,comments:t.enabledComment,ref:"postStatsRef"},null,8,["post-word-count","post-time-count","post-title","current-path","plugin-configs","comments"])])]),e("div",W,[e("div",Z,[t.post.content?E((l(),d("div",{key:0,class:"post-html",innerHTML:t.post.content},null,8,tt)),[[p,{sectionSelector:"h1, h2, h3, h4, h5, h6"}]]):(l(),d("div",et,[s(o,{tag:"div",count:1,height:"36px",width:"150px",class:"mb-6"}),ot,s(o,{tag:"div",count:35,height:"16px",width:"100px",class:"mr-2"}),st,nt,s(o,{tag:"div",count:25,height:"16px",width:"100px",class:"mr-2"})])),N(t.$slots,"default",{},void 0,!0)]),e("div",at,[s(a,null,{default:U(()=>[s(m,{author:"blog-author"}),s(h,{toc:t.post.toc,comments:t.enabledComment},null,8,["toc","comments"])]),_:1})])])])}const pt=M(F,[["render",it],["__scopeId","data-v-1d305902"]]);export{pt as P}; diff --git a/static/js/8da07a12.js b/static/js/8da07a12.js deleted file mode 100644 index 043d3a2..0000000 --- a/static/js/8da07a12.js +++ /dev/null @@ -1,11 +0,0 @@ -import{d as a,_ as e,g as t,f as d,a1 as c}from"./120aa8f8.js";import"https://unpkg.com/@waline/client@v2/dist/waline.mjs";const s=a({name:"App"});const o={id:"not-found-page"},i=c(`

    404

    Looks like the page you were looking for is no longer here.

    `,2),l=[i];function n(p,v,h,r,_,g){return d(),t("div",o,l)}const u=e(s,[["render",n],["__scopeId","data-v-8a320ede"]]);export{u as default}; diff --git a/static/js/9aa0d897.js b/static/js/9aa0d897.js deleted file mode 100644 index da2969b..0000000 --- a/static/js/9aa0d897.js +++ /dev/null @@ -1 +0,0 @@ -import{d as k,p as x,b as w,_ as h,e as d,f as m,g as u,i as l,h as a,D as B,S,ab as C,a3 as $,r as p,o as E,B as j,c as v,R as f,k as H,E as b,H as g,I,n as N,G as L,ac as z}from"./120aa8f8.js";import{u as D}from"./415fa29b.js";const M=k({name:"ArNavigator",components:{SvgIcon:x},props:{comments:Boolean},setup(){const o=w(),{jumpToEle:e}=D();return{goBack:()=>{o.back()},backToTop:()=>{window.scrollTo({top:0,behavior:"smooth"})},jumpToComments:()=>{e("comments")}}}}),q={id:"sidebar-navigator",class:"flex flex-row bg-ob-deep-800 rounded-xl shadow-2xl justify-items-center overflow-hidden"};function R(o,e,r,t,s,n){const c=d("SvgIcon");return m(),u("ul",q,[l("li",{class:"border-r-4 border-ob-deep-900 flex justify-center py-3 w-full hover:opacity-50 hover:text-ob transition-all cursor-pointer",onClick:e[0]||(e[0]=(...i)=>o.goBack&&o.goBack(...i))},[a(c,{class:"inline-block text-3xl","icon-class":"go-back",fill:"none",stroke:"currentColor"})]),l("li",{class:"border-r-4 border-ob-deep-900 flex justify-center py-3 w-full hover:opacity-50 hover:text-ob transition-all cursor-pointer",onClick:e[1]||(e[1]=(...i)=>o.backToTop&&o.backToTop(...i))},[a(c,{class:"inline-block text-3xl","icon-class":"back-to-top",fill:"none",stroke:"currentColor"})]),o.comments?(m(),u("li",{key:0,class:"flex justify-center py-3 w-full hover:opacity-50 hover:text-ob transition-all cursor-pointer",onClick:e[2]||(e[2]=(...i)=>o.jumpToComments&&o.jumpToComments(...i)),"data-dia":"jump-to-comment"},[a(c,{class:"inline-block text-3xl","icon-class":"quote",fill:"none",stroke:"currentColor"})])):B("",!0)])}const V=h(M,[["render",R],["__scopeId","data-v-0d371069"]]),A=k({name:"ObTOC",components:{SubTitle:S,Sticky:C,Navigator:V},props:{toc:String,comments:Boolean},setup(o){const e=$(o).toc,r=p(0),t=p(0),s=()=>{const n=document.getElementById("sidebar-navigator");r.value=n?n.clientHeight:0,t.value=window.innerHeight-r.value-63-18-46-18-60-18};return E(()=>{s(),window.addEventListener("resize",s)}),j(()=>{window.removeEventListener("resize",s)}),{tocData:e,showToc:v(()=>!(e!==void 0&&e.value==="")),sideBoxStyle:v(()=>({maxHeight:`${t.value}px`,overflowY:"scroll",overflowX:"hidden"}))}}}),O={id:"sticky-sidebar"},G={class:"sidebar-box mb-4"},J=["innerHTML"];function U(o,e,r,t,s,n){const c=d("SubTitle"),i=d("Navigator"),y=d("Sticky"),T=f("scroll-spy-active"),_=f("scroll-spy-link");return m(),H(y,{stickyTop:16+63,endingElId:"footer-link",dynamicElClass:"#sticky-sidebar"},{default:b(()=>[l("div",O,[a(L,{name:"fade-slide-y",mode:"out-in"},{default:b(()=>[g(l("div",G,[a(c,{title:"titles.toc",icon:"toc"},null,8,["title"]),g(l("div",{id:"toc-side-box",innerHTML:o.tocData,style:N(o.sideBoxStyle)},null,12,J),[[T,{selector:".toc-item"}],[_]])],512),[[I,o.showToc]])]),_:1}),a(i,{comments:o.comments},null,8,["comments"])])]),_:1})}const F=h(A,[["render",U]]);function K(){const o=z(),e=t=>{o.openImage(t)};return{initializeLightBox:()=>{const t=document.querySelector(".post-html");if(!t)return;let s=t.querySelectorAll("img");for(let n=0;n{await u.fetchCategories(),f.value=!1},a=o=>{_.push({name:"post-search",query:{category:o}})};return N(n),{loading:f,navigateToCategory:a,sidebarBoxClasses:v(()=>({"sidebar-box":e.sidebarBox})),categories:v(()=>u.categories),gradientBackground:o=>o?{background:h.themeConfig.theme.header_gradient_css,color:"#fff",opacity:1}:{}}}}),se={class:"flex justify-event flex-wrap gap-2 pt-2 cursor-pointer"},ne=["onClick"],re={class:"bg-ob-deep-900 text-ob text-center px-2 py-1 rounded-tr-md rounded-br-md text-sm opacity-70"};function le(e,h,u,f,_,n){const a=g("SubTitle"),o=g("ob-skeleton");return r(),c("div",{class:H(e.sidebarBoxClasses)},[s(a,{title:"titles.category_list",icon:"category"},null,8,["title"]),t("ul",se,[e.categories.length>0?(r(!0),c(x,{key:0},B(e.categories,l=>(r(),c("li",{class:"flex flex-row items-center hover:opacity-50",key:l.slug,onClick:b=>e.navigateToCategory(l.slug)},[t("span",{class:"bg-ob-deep-900 text-center px-3 py-1 rounded-tl-md rounded-bl-md text-sm",style:V(e.gradientBackground(l.slug===e.activeCategory))},T(l.name),5),t("b",re,T(l.count),1)],8,ne))),128)):(r(),F(o,{key:1,tag:"li",count:10,height:"20px",width:"3rem"}))])],2)}const ie=q(oe,[["render",le]]),ce=P({name:"ArResult",components:{Sidebar:M,TagBox:R,Paginator:j,ArticleCard:K,CategoryBox:ie,SvgIcon:G},setup(){const{t:e}=O(),h=U(),u=J(),f=Q(),_=y("search"),n=y(!1),a=y(new W),o=y({pageSize:12,pageTotal:0,page:1}),l="aurora-query-tag",b="aurora-query-category",d=y(),p=y(),m=()=>{d.value?z():p.value&&A(),window.scrollTo({top:0}),f.setTitle("search")},z=()=>{n.value=!1,u.fetchPostsByTag(d.value).then(i=>{n.value=!0,a.value=i,o.value.pageTotal=i.total})},A=()=>{n.value=!1,u.fetchPostsByCategory(p.value).then(i=>{n.value=!0,a.value=i,o.value.pageTotal=i.total})},C=()=>{p.value="",d.value="";const{tag:i,category:S}=h.query;S?p.value=S:i&&(d.value=i),(i||S)&&m()};return X(()=>h.query,()=>{C()}),Y(()=>{C()}),Z(()=>{localStorage.removeItem(l),localStorage.removeItem(b)}),{isLoading:v(()=>!n.value),isEmpty:v(()=>a.value.data.length===0&&n.value),categoryTitle:v(()=>p.value),tagTitle:v(()=>d.value),posts:a,pageType:_,pagination:o,pageChangeHandler:C,t:e}}}),ge={class:"flex flex-col mt-10"},ue={class:"post-header"},de={class:"flex flex-row gap-8"},pe={key:0,class:"post-title text-white uppercase"},ye={class:"opacity-60"},he={key:1,class:"post-title text-white uppercase"},fe={class:"opacity-60"},me={class:"main-grid"},ve={class:"relative"},_e={class:"post-html flex flex-col items-center"},Te={class:"flex flex-col relative"},be={class:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-8"},Ce={class:"sidebar-box flex flex-col gap-8"};function Se(e,h,u,f,_,n){const a=g("SvgIcon"),o=g("ArticleCard"),l=g("Paginator"),b=g("CategoryBox"),d=g("TagBox"),p=g("Sidebar");return r(),c("div",ge,[t("div",ue,[t("div",de,[e.categoryTitle?(r(),c("h1",pe,[t("span",ye,[s(a,{"icon-class":"category",stroke:"white"})]),k(" "+T(e.categoryTitle),1)])):w("",!0),e.tagTitle?(r(),c("h1",he,[t("span",fe,[s(a,{"icon-class":"tag",stroke:"white"})]),k(" "+T(e.tagTitle),1)])):w("",!0)])]),t("div",me,[t("div",ve,[s(ee,{name:"fade-slide-y",mode:"out-in"},{default:$(()=>[te(t("div",_e,[t("h1",null,T(e.t("settings.no-search-result")),1),s(a,{"icon-class":"empty-search",style:{"font-size":"35rem"}})],512),[[ae,e.isEmpty]])]),_:1}),t("div",Te,[t("ul",be,[e.isLoading||e.posts.data.length===0?(r(),c(x,{key:0},B(12,m=>t("li",{key:m},[s(o,{data:{}})])),64)):(r(!0),c(x,{key:1},B(e.posts.data,m=>(r(),c("li",{key:m.slug},[s(o,{data:m},null,8,["data"])]))),128))]),s(l,{pageSize:e.pagination.pageSize,pageTotal:e.pagination.pageTotal,page:e.pagination.page,onPageChange:e.pageChangeHandler},null,8,["pageSize","pageTotal","page","onPageChange"])])]),t("div",null,[s(p,null,{default:$(()=>[t("div",Ce,[s(b,{"sidebar-box":!1,"active-category":e.categoryTitle},null,8,["active-category"]),s(d,{"sidebar-box":!1,"active-tag":e.tagTitle},null,8,["active-tag"])])]),_:1})])])])}const ke=q(ce,[["render",Se]]);export{ke as default}; diff --git a/static/js/a92e6a1c.js b/static/js/a92e6a1c.js deleted file mode 100644 index 897f25b..0000000 --- a/static/js/a92e6a1c.js +++ /dev/null @@ -1 +0,0 @@ -import{d as i,L as u,V as l,r as d,W as f,q as g,N as _,o as B,B as C,O as b,_ as h,e as c,g as A,h as m,f as P}from"./120aa8f8.js";import{P as T}from"./7e80f274.js";import{B as v}from"./fffbee97.js";import"https://unpkg.com/@waline/client@v2/dist/waline.mjs";import"./9aa0d897.js";import"./415fa29b.js";const S=i({name:"ARAbout",components:{PageContent:T,Breadcrumbs:v},setup(){const e=u(),o=l(),t=d(new f),{t:a}=g(),{pageTitle:n,updateTitle:s}=_();return B(async()=>{t.value=await o.fetchArticle("about"),e.setHeaderImage(b),s()}),C(()=>{e.resetHeaderImage()}),{pageTitle:n,pageData:t,t:a}}}),$={class:"mt-20"};function I(e,o,t,a,n,s){const r=c("Breadcrumbs"),p=c("PageContent");return P(),A("div",$,[m(r,{current:e.pageTitle},null,8,["current"]),m(p,{post:e.pageData,title:e.pageTitle},null,8,["post","title"])])}const q=h(S,[["render",I]]);export{q as default}; diff --git a/static/js/c562793b.js b/static/js/c562793b.js deleted file mode 100644 index 7470377..0000000 --- a/static/js/c562793b.js +++ /dev/null @@ -1 +0,0 @@ -import{d as R,m as j,S as V,A as z,a2 as E,p as I,w as N,v as q,u as F,L as O,s as U,b as X,q as Y,r as T,a5 as D,X as G,y as J,c as g,a6 as K,Y as Q,_ as W,e as p,R as H,g as n,i as o,k as P,t as l,F as Z,j as x,C as L,H as M,l as tt,h as a,D as A,E as et,f as s}from"./120aa8f8.js";import{T as ot,u as st}from"./9aa0d897.js";import{C as nt}from"./d57a5994.js";import{P as at}from"./415fa29b.js";import"https://unpkg.com/@waline/client@v2/dist/waline.mjs";const it=R({name:"ARPost",components:{Sidebar:j,Toc:ot,Comment:nt,SubTitle:V,ArticleCard:z,Profile:E,SvgIcon:I,PostStats:at},setup(){const t=N(),r=q(),h=F(),f=O(),m=U(),y=X(),{t:i}=Y(),c=T(new D),u=T(!0),d=T(),{enabledCommentPlugin:C}=G(),{initializeLightBox:w}=st(),v=async()=>{var S,$;u.value=!0,c.value=new D,window.scrollTo({top:0});let e=String(m.params.slug);e=e.indexOf(",")?e.replace(/[,]+/g,"/"):e,await r.fetchPost(e).then(B=>{c.value=B,t.setTitle(c.value.title),f.setHeaderImage(B.cover),u.value=!1}),h.hexoConfig.writing.highlight.enable&&console.warn("[Aurora Config Error]: Please turn off [Hightlightjs]."),h.hexoConfig.writing.prismjs.enable&&console.warn("[Aurora Config Error]: Please turn off [prismjs]. "),await Q(),w(),(S=d.value)==null||S.getCommentCount(),($=d.value)==null||$.getPostView()};J(()=>m.params,e=>{e.slug&&m.fullPath.indexOf("#")===-1&&v()});const b=e=>{e===""&&(e=window.location.href),window.location.href=e},_=e=>{y.push({name:"post-search",query:{tag:e}})},k=e=>{y.push({name:"post-search",query:{category:e}})};return{avatarClasses:g(()=>({"hover:opacity-50 cursor-pointer":!0,[h.themeConfig.theme.profile_shape]:!0})),isMobile:g(()=>f.isMobile),currentPath:g(()=>m.path),pluginConfigs:g(()=>h.themeConfig.plugins),enabledComment:g(()=>c.value.comments&&C.value.plugin!==""),postStatsRef:d,SvgTypes:K,commonStore:f,fetchData:v,handleAuthorClick:b,navigateToTag:_,navigateToCategory:k,loading:u,post:c,t:i}},mounted(){this.fetchData()},beforeUnmount(){this.commonStore.resetHeaderImage()}}),lt={class:"flex flex-col mt-20"},rt={class:"main-grid"},pt={class:"post-header"},ct={class:"post-labels"},ut={key:2},dt=["onClick"],ht=o("em",{class:"opacity-50"},"#",-1),mt={key:2},gt=o("b",{class:"opacity-50"},"#",-1),ft={key:0,class:"post-title text-white"},vt={class:"flex flex-row items-center justify-start mt-8 mb-4"},yt={key:0,class:"post-footer"},Ct=["alt"],wt={class:"text-white opacity-80"},bt={class:"opacity-70"},_t={key:1,class:"post-footer"},kt={class:"flex flex-row items-center"},St={class:"text-ob-dim mt-1"},Tt={class:"main-grid"},Pt=["innerHTML"],At={key:1,class:"bg-ob-deep-800 px-14 py-16 rounded-2xl shadow-xl block min-h-screen"},$t=o("br",null,null,-1),Bt=o("br",null,null,-1),Dt=o("br",null,null,-1),Ht={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols2 gap-6 mt-6"},Lt={key:0,class:"flex flex-col w-full h-full mr-0 lg:mr-4"},Mt={key:1,class:"flex flex-col w-full h-full"},Rt={key:2,id:"comments"};function jt(t,r,h,f,m,y){const i=p("ob-skeleton"),c=p("PostStats"),u=p("SubTitle"),d=p("ArticleCard"),C=p("Comment"),w=p("Profile"),v=p("Toc"),b=p("Sidebar"),_=H("lazy"),k=H("scroll-spy");return s(),n("div",lt,[o("div",rt,[o("div",pt,[o("span",ct,[t.loading?(s(),P(i,{key:0,tag:"b",height:"20px",width:"35px"})):!t.loading&&t.post.categories&&t.post.categories.length>0?(s(),n("b",{key:1,onClick:r[0]||(r[0]=e=>t.navigateToCategory(t.post.categories[0].slug))},[o("span",null,l(t.post.categories[0].name),1)])):(s(),n("b",ut,l(t.t("settings.default-category")),1)),o("ul",null,[t.loading?(s(),P(i,{key:0,count:2,tag:"li",height:"16px",width:"35px",class:"mr-2"})):!t.loading&&t.post.tags&&t.post.tags.length>0?(s(!0),n(Z,{key:1},x(t.post.tags,e=>(s(),n("li",{key:e.slug,onClick:S=>t.navigateToTag(e.slug)},[ht,L(" "+l(e.name),1)],8,dt))),128)):(s(),n("li",mt,[gt,L(" "+l(t.t("settings.default-tag")),1)]))])]),t.post.title?(s(),n("h1",ft,l(t.post.title),1)):(s(),P(i,{key:1,class:"post-title text-white uppercase",width:"100%",height:"clamp(1.2rem, calc(1rem + 3.5vw), 4rem)"})),o("div",vt,[t.post.author&&t.post.count_time.symbolsTime?(s(),n("div",yt,[M(o("img",{class:tt(t.avatarClasses),alt:`author-${t.post.author.name}`,onClick:r[1]||(r[1]=e=>t.handleAuthorClick(t.post.author.link))},null,10,Ct),[[_,t.post.author.avatar||""]]),o("span",wt,[o("strong",{class:"text-white pr-1.5 hover:opacity-50 cursor-pointer",onClick:r[2]||(r[2]=e=>t.handleAuthorClick(t.post.author.link))},l(t.post.author.name),1),o("span",bt,l(t.t("settings.shared-on"))+" "+l(t.t(t.post.date.month))+" "+l(t.post.date.day)+", "+l(t.post.date.year),1)])])):(s(),n("div",_t,[o("div",kt,[a(i,{class:"mr-2",height:"28px",width:"28px",circle:!0}),o("span",St,[a(i,{height:"20px",width:"150px"})])])])),a(c,{"post-word-count":t.post.count_time.symbolsCount,"post-time-count":t.post.count_time.symbolsTime,"post-title":t.post.title,"current-path":t.currentPath,"plugin-configs":t.pluginConfigs,comments:t.enabledComment,ref:"postStatsRef"},null,8,["post-word-count","post-time-count","post-title","current-path","plugin-configs","comments"])])])]),o("div",Tt,[o("div",null,[t.post.content?M((s(),n("div",{key:0,class:"post-html",innerHTML:t.post.content},null,8,Pt)),[[k,{sectionSelector:"h1, h2, h3, h4, h5, h6"}]]):(s(),n("div",At,[a(i,{tag:"div",count:1,height:"36px",width:"150px",class:"mb-6"}),$t,a(i,{tag:"div",count:35,height:"16px",width:"100px",class:"mr-2"}),Bt,Dt,a(i,{tag:"div",count:25,height:"16px",width:"100px",class:"mr-2"})])),o("div",Ht,[t.post.prev_post.title?(s(),n("div",Lt,[a(u,{title:"settings.paginator.prev",icon:"arrow-left-circle"}),a(d,{data:t.post.prev_post},null,8,["data"])])):A("",!0),t.post.next_post.title?(s(),n("div",Mt,[a(u,{title:"settings.paginator.next",side:t.isMobile?"left":"right",icon:"arrow-right-circle"},null,8,["side"]),a(d,{data:t.post.next_post},null,8,["data"])])):A("",!0)]),t.enabledComment&&t.post.title&&t.post.text&&t.post.uid?(s(),n("div",Rt,[a(C,{title:t.post.title,body:t.post.text,uid:t.post.uid},null,8,["title","body","uid"])])):A("",!0)]),o("div",null,[a(b,null,{default:et(()=>[a(w,{author:t.post.author.slug||""},null,8,["author"]),a(v,{toc:t.post.toc,comments:t.enabledComment},null,8,["toc","comments"])]),_:1})])])])}const qt=W(it,[["render",jt]]);export{qt as default}; diff --git a/static/js/d57a5994.js b/static/js/d57a5994.js deleted file mode 100644 index bfd2e00..0000000 --- a/static/js/d57a5994.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a7 as I,d as $,Q as M,a3 as b,u as q,v as z,y,o as P,c as R,a8 as F,a9 as V,aa as N,_ as U,e as A,g as B,h as D,l as E,i as v,f as K}from"./120aa8f8.js";const O=({appId:o,appKey:u,avatar:h,placeholder:f,visitor:e,lang:r,meta:i,requiredFields:_,avatarForce:t,path:n})=>{new Valine({el:"#vcomments",appId:o,appKey:u,avatar:h,placeholder:f,visitor:e,lang:r,meta:i??[],requiredFields:_??[],avatarForce:t,path:I(n)})},Q=$({name:"ObComment",props:{title:{type:String,default:""},body:{type:String,default:""},uid:{type:String,default:""}},components:{MainTitle:M},setup(o){const u=b(o).title,h=b(o).body,f=b(o).uid,e=q(),r=z();let i;const _=(t,n,c)=>{const k=!t||t===""?"":t,x=!n||n===""?window.location.href:`${window.location.href} - ${n}`,S=e.themeConfig.plugins.gitalk.id==="pathname"?window.location.pathname:c;if(r.setCache({title:t,body:n,uid:c}),!!e.configReady){if(e.themeConfig.plugins.gitalk.enable){const a=e.themeConfig.plugins.gitalk.proxy===""?"https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token":e.themeConfig.plugins.gitalk.proxy,{clientID:l,clientSecret:s,repo:d,owner:p,admin:m,language:g}=e.themeConfig.plugins.gitalk;F({clientID:l,clientSecret:s,repo:d,owner:p,admin:m,language:g,uid:S,title:k,body:x,proxy:a})}else if(e.themeConfig.plugins.valine.enable){const{app_id:a,app_key:l,avatar:s,placeholder:d,visitor:p,lang:m,meta:g,requiredFields:w,avatarForce:C}=e.themeConfig.plugins.valine;O({appId:a,appKey:l,avatar:s,placeholder:d,visitor:p,lang:m,meta:g,requiredFields:w,avatarForce:C,path:window.location.pathname})}else if(e.themeConfig.plugins.twikoo.enable){const{envId:a,region:l,lang:s}=e.themeConfig.plugins.twikoo;V({envId:a,region:l,lang:s,path:window.location.pathname})}else if(e.themeConfig.plugins.waline.enable){const{serverURL:a,login:l,reaction:s,meta:d,requiredMeta:p,commentSorting:m,wordLimit:g,imageUploader:w,pageSize:C}=e.themeConfig.plugins.waline;i=N({serverURL:a,lang:e.locale??"en",login:l,reaction:s,meta:d,requiredMeta:p,commentSorting:m,wordLimit:g,imageUploader:w,pageSize:C})}}};return y(()=>e.configReady,(t,n)=>{if(!n&&t){const c=r.cachePost;_(c.title,c.body,c.uid)}}),y(()=>e.locale,(t,n)=>{i&&t!==void 0&&t!==n&&i.update({lang:t})}),P(()=>{_(u.value,h.value,f.value)}),{wrapperClasses:R(()=>({"bg-ob-deep-800 p-4 mt-8 lg:px-14 lg:py-10 rounded-2xl shadow-xl mb-8 lg:mb-0":!0,[`comment-${e.themeConfig.theme.profile_shape}`]:!0}))}}});const T=v("div",{id:"gitalk-container"},null,-1),j=v("div",{id:"vcomments"},null,-1),G=v("div",{id:"tcomment"},null,-1),H=v("div",{id:"waline"},null,-1);function J(o,u,h,f,e,r){const i=A("MainTitle");return K(),B("div",{class:E(o.wrapperClasses)},[D(i,{title:"titles.comment",icon:"quote",paddings:"pb-2 pt-0","text-size":"text-2xl md:text-3xl"},null,8,["title"]),T,j,G,H],2)}const W=U(Q,[["render",J]]);export{W as C}; diff --git a/static/js/ff251d5d.js b/static/js/ff251d5d.js deleted file mode 100644 index 575beb4..0000000 --- a/static/js/ff251d5d.js +++ /dev/null @@ -1 +0,0 @@ -import{P as O,u as N}from"./415fa29b.js";import{d as y,u as T,c as _,_ as b,e as i,g as o,l as $,k as v,f as t,t as f,n as B,Q as P,q as A,L as E,i as s,h as p,F as C,j as L,R as x,H as M,O as V,D as j,S as q,U as J,V as W,r as D,W as H,s as F,N as G,X as I,o as U,Y as K}from"./120aa8f8.js";import{C as Q}from"./d57a5994.js";import{B as X}from"./fffbee97.js";import"https://unpkg.com/@waline/client@v2/dist/waline.mjs";const Y=y({name:"ARLinkAvatar",components:{},props:{title:String,link:String,source:{type:String}},setup(){const e=T();return{linkGroupClasses:_(()=>({"links-group-avatar h-[120px] w-[120px] flex items-center justify-center text-white text-6xl font-bold":!0,"diamond-shape":e.themeConfig.theme.profile_shape==="diamond-avatar"})),avatarClasses:_(()=>({"h-full w-full shadow-xl m-0 transform-gpu":!0,[e.themeConfig.theme.profile_shape]:!0,"scale-[1.15]":e.themeConfig.theme.profile_shape==="diamond-avatar"}))}}}),Z=["href","title"],ee=["src","title"];function te(e,n,r,m,g,k){const d=i("ob-skeleton");return t(),o("a",{class:$(e.linkGroupClasses),href:e.link,target:"_blank",title:e.title},[e.source?(t(),o("img",{key:0,class:$(e.avatarClasses),src:e.source,alt:"link-avatar",title:e.title},null,10,ee)):(t(),v(d,{key:1,class:$(e.avatarClasses),width:"100%",height:"100%",circle:""},null,8,["class"]))],10,Z)}const ne=b(Y,[["render",te]]),se=y({name:"ARPrimaryButton",components:{},props:{text:String},setup(){const e=T();return{gradientBackground:_(()=>({background:e.themeConfig.theme.header_gradient_css}))}}});function oe(e,n,r,m,g,k){return t(),o("a",{class:"py-1 px-3 text-white flex items-center justify-center z-10 transition cursor-pointer rounded-xl font-semibold select-none",style:B(e.gradientBackground)},f(e.text),5)}const ae=b(se,[["render",oe]]),ie=y({name:"ARSecondaryButton",components:{},props:{text:String},setup(){}}),re={class:"py-1 px-3 text-ob-bright flex items-center justify-center z-10 transition cursor-pointer rounded-xl bg-ob-deep-900 border-solid border-ob-bright border-t-2 border-b-2 border-r-2 border-l-2 opacity-80 select-none"};function le(e,n,r,m,g,k){return t(),o("a",re,f(e.text),1)}const ce=b(ie,[["render",le]]),pe=y({name:"ARLinkBox",components:{LinkAvatar:ne,MainTitle:P,PrimaryButton:ae,SecondaryButton:ce},emits:["onApplyClicked"],props:{gradientBackground:{type:Object,default:()=>({}),required:!0},data:{type:Array,default:()=>[],required:!0}},setup(e,{emit:n}){const{t:r}=A(),m=E();return{applyClicked:()=>{n("onApplyClicked")},randomJump:()=>{m.sendNotification(r("settings.notification-random-jump")),setTimeout(()=>{const l=e.data[Math.floor(Math.random()*24)][Math.floor(Math.random()*2)];window.open(l.link,"_blank")},6e3)},t:r}}});const de={class:"ob-gradient-plate absolute bg-ob-deep-900 rounded-xl opacity-90 flex justify-center items-center shadow-lg hover:shadow-2xl duration-300 overflow-hidden"},ue={class:"flex w-full relative overflow-hidden"},me={class:"top-6 left-6 absolute flex flex-col"},ge={class:"hidden md:flex text-ob-dim text-sm"},ke={class:"absolute right-8 top-8 flex space-x-3"},he={class:"link-group-wrapper flex flex-nowrap pt-28 left-0 top-0"};function _e(e,n,r,m,g,k){const d=i("MainTitle"),l=i("SecondaryButton"),u=i("PrimaryButton"),a=i("LinkAvatar");return t(),o("div",{class:"h-[25rem] w-full rounded-2xl relative shadow-xl mb-8 flex",style:B(e.gradientBackground)},[s("div",de,[s("div",ue,[s("div",me,[s("div",ge,f(e.t("settings.links")),1),p(d,{title:"settings.links-slogan",icon:"friends","text-size":"text-3xl",paddings:"hidden md:flex pb-2",margins:"mb-0 mt-0",uppercase:!1})]),s("div",ke,[p(l,{text:e.t("settings.links-random-visit"),onClick:n[0]||(n[0]=c=>e.randomJump())},null,8,["text"]),p(u,{text:e.t("settings.links-apply"),onClick:n[1]||(n[1]=c=>e.applyClicked())},null,8,["text"])]),s("div",he,[e.data.length===0?(t(),o(C,{key:0},L(48,c=>s("div",{class:"links-group-avatar-pair ml-4 pb-7 pt-4 select-none",key:c},[p(a),p(a)])),64)):(t(!0),o(C,{key:1},L(e.data.entries(),([c,h])=>(t(),o("div",{class:"links-group-avatar-pair ml-4 pb-7 pt-4 select-none",key:c},[p(a,{title:h[0].nick,link:h[0].link,source:h[0].avatar},null,8,["title","link","source"]),p(a,{title:h[1].nick,link:h[1].link,source:h[1].avatar},null,8,["title","link","source"])]))),128))])])])],4)}const fe=b(pe,[["render",_e]]),ve=y({name:"ARLinkCard",components:{},props:{avatar:String,link:String,nick:String,description:String,type:String,vip:Boolean,categoryMode:Boolean},setup(e){const n=T(),{t:r}=A();return{t:r,titleStyle:{"text-xl":!0,"vip-text":!!e.vip},gradientBackground:_(()=>({background:n.themeConfig.theme.header_gradient_css})),articleClasses:_(()=>({"article-container":!0,highlighted:!!e.vip,"category-mode":!!e.categoryMode}))}}});const ye={class:"article"},be={class:"article-thumbnail"},$e={key:0,alt:""},Ce={key:1,src:V},Le={class:"article-content"},Se={key:0},we=["href"],Be={key:0};function Te(e,n,r,m,g,k){const d=i("ob-skeleton"),l=x("lazy");return t(),o("li",{id:"link-card",class:$(e.articleClasses)},[s("div",ye,[s("div",be,[e.avatar?M((t(),o("img",$e,null,512)),[[l,e.avatar]]):(t(),o("img",Ce)),s("span",{class:"thumbnail-screen",style:B(e.gradientBackground)},null,4)]),s("div",Le,[s("span",null,[e.type&&!e.vip?(t(),o("b",Se,f(e.t(e.type)),1)):e.type&&e.vip?(t(),o("b",{key:1,class:"vip",style:B(e.gradientBackground)},f(e.t(e.type)),5)):(t(),v(d,{key:2,tag:"b",height:"20px",width:"35px"}))]),s("a",{href:e.link,target:"_blank"},[s("h1",{class:$(e.titleStyle)},f(e.nick),3)],8,we),e.description?(t(),o("p",Be,f(e.description),1)):(t(),v(d,{key:1,tag:"p",count:4,height:"16px"}))])])],2)}const R=b(ve,[["render",Te]]),Ae=["links-badge-tech","links-badge-designer","links-badge-vip","links-badge-personal"];function z(e){return Ae.includes(e.replace("-desc",""))?`settings.${e}`:e.match("-desc")?"":e}const De=y({name:"ARLinkCategory",components:{LinkCard:R,MainTitle:P},props:{links:{type:Object,default:()=>({})}},setup(){const{t:e}=A();return{linkWrapperClasses:n=>({"grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-6":!0,"xl:grid-cols-5":n!=="links-badge-vip","xl:grid-cols-4":n==="links-badge-vip"}),localizeLink:z,t:e}}}),Pe={class:"text-ob-dim mb-8 text-lg"};function xe(e,n,r,m,g,k){const d=i("MainTitle"),l=i("LinkCard");return e.links?(t(!0),o(C,{key:0},L(Object.keys(e.links),u=>(t(),o(C,{key:u},[p(d,{title:e.localizeLink(u),count:e.links[u].length,margins:"mb-2",uppercase:!1},null,8,["title","count"]),s("span",Pe,f(e.t(`${e.localizeLink(u+"-desc")}`)),1),s("ul",{class:$(e.linkWrapperClasses(u))},[(t(!0),o(C,null,L(e.links[u].entries(),([a,c])=>(t(),v(l,{key:a,nick:c.nick,link:c.link,avatar:c.avatar,description:c.description,type:e.localizeLink(c.label),vip:c.label==="links-badge-vip","category-mode":!0},null,8,["nick","link","avatar","description","type","vip"]))),128))],2)],64))),128)):j("",!0)}const Me=b(De,[["render",xe]]),je=y({name:"ARLinkList",components:{SubTitle:q},props:{links:{type:Array,default:()=>[],required:!0}},setup(){return{localizeLink:z}}}),Re={class:"grid grid-cols-2 md:grid-cols-4 xl:grid-cols-6 gap-8"};function ze(e,n,r,m,g,k){const d=i("SubTitle"),l=i("LinkCard");return t(),o("div",null,[p(d,{title:"settings.links",icon:"friends",count:e.links.length,uppercase:!1},null,8,["count"]),s("ul",Re,[(t(!0),o(C,null,L(e.links.entries(),([u,a])=>(t(),v(l,{key:u,nick:a.nick,link:a.link,avatar:a.avatar,description:a.description,type:e.localizeLink(a.label),vip:a.label==="links-badge-vip"},null,8,["nick","link","avatar","description","type","vip"]))),128))])])}const Oe=b(je,[["render",ze]]),Ne=y({name:"ARLinks",components:{ObSkeleton:J,PostStats:O,LinkBox:fe,LinkCard:R,LinkCategoryList:Me,LinkList:Oe,Comment:Q,Breadcrumbs:X},setup(){const e=W(),n=T(),r=D(new H),m=D(),g=F(),{t:k}=A(),{pageTitle:d,updateTitle:l}=G(),{jumpToEle:u}=N(),{enabledCommentPlugin:a}=I(),c=async()=>{var S,w;r.value=await e.fetchArticle("links"),l(n.locale),await K(),(S=m.value)==null||S.getCommentCount(),(w=m.value)==null||w.getPostView()},h=()=>{u("content")};return U(c),{currentPath:_(()=>g.path),pluginConfigs:_(()=>n.themeConfig.plugins),gradientBackground:_(()=>({background:n.themeConfig.theme.header_gradient_css})),enabledComment:_(()=>r.value.comments&&a.value.plugin!==""),pageTitle:d,jumpToContent:h,postStatsRef:m,pageData:r,t:k}}}),Ee={class:"mt-20"},Ve={class:"flex flex-col"},qe={class:"post-header"},Je={key:0,class:"post-title text-white uppercase"},We={class:"flex flex-row items-center justify-start mt-8 mb-4"},He={class:"mt-8",id:"content"},Fe=["innerHTML"],Ge={key:1,class:"bg-ob-deep-800 px-14 py-16 rounded-2xl shadow-xl block min-h-screen"},Ie=s("br",null,null,-1),Ue=s("br",null,null,-1),Ke=s("br",null,null,-1),Qe={key:2,id:"comments"};function Xe(e,n,r,m,g,k){const d=i("Breadcrumbs"),l=i("ob-skeleton"),u=i("PostStats"),a=i("LinkBox"),c=i("LinkCategoryList"),h=i("LinkList"),S=i("Comment"),w=x("scroll-spy");return t(),o("div",Ee,[p(d,{current:e.pageTitle},null,8,["current"]),s("div",Ve,[s("div",qe,[e.pageTitle?(t(),o("h1",Je,f(e.pageTitle),1)):(t(),v(l,{key:1,class:"post-title text-white uppercase",width:"100%",height:"clamp(1.2rem, calc(1rem + 3.5vw), 4rem)"})),s("div",We,[p(u,{"post-word-count":e.pageData.count_time.symbolsCount,"post-time-count":e.pageData.count_time.symbolsTime,"post-title":e.pageData.title,"current-path":e.currentPath,"plugin-configs":e.pluginConfigs,comments:e.enabledComment,ref:"postStatsRef"},null,8,["post-word-count","post-time-count","post-title","current-path","plugin-configs","comments"])])]),p(a,{"gradient-background":e.gradientBackground,data:e.pageData.avatarWall,onOnApplyClicked:n[0]||(n[0]=Ye=>e.jumpToContent())},null,8,["gradient-background","data"]),e.pageData.categoryMode?(t(),v(c,{key:0,links:e.pageData.data},null,8,["links"])):(t(),v(h,{key:1,links:e.pageData.data},null,8,["links"])),s("div",He,[e.pageData.content?M((t(),o("div",{key:0,class:"post-html",innerHTML:e.pageData.content},null,8,Fe)),[[w,{sectionSelector:"h1, h2, h3, h4, h5, h6"}]]):(t(),o("div",Ge,[p(l,{tag:"div",count:1,height:"36px",width:"150px",class:"mb-6"}),Ie,p(l,{tag:"div",count:35,height:"16px",width:"100px",class:"mr-2"}),Ue,Ke,p(l,{tag:"div",count:25,height:"16px",width:"100px",class:"mr-2"})]))]),e.enabledComment&&e.pageData.title&&e.pageData.text&&e.pageData.uid?(t(),o("div",Qe,[p(S,{title:e.pageData.title,body:e.pageData.text,uid:e.pageData.uid},null,8,["title","body","uid"])])):j("",!0)])])}const ot=b(Ne,[["render",Xe]]);export{ot as default}; diff --git a/static/js/fffbee97.js b/static/js/fffbee97.js deleted file mode 100644 index 0c1f4af..0000000 --- a/static/js/fffbee97.js +++ /dev/null @@ -1 +0,0 @@ -import{d as t,q as n,_ as a,g as c,i as r,t as s,f as o}from"./120aa8f8.js";const _=t({name:"ArBreadcrumbBar",props:{current:String},setup(){const{t:e}=n();return{t:e}}});const p={class:"breadcrumbs flex flex-row gap-6 text-white z-50 px-4"};function u(e,l,d,i,m,f){return o(),c("ul",p,[r("li",null,s(e.t("menu.home")),1),r("li",null,s(e.current),1)])}const x=a(_,[["render",u],["__scopeId","data-v-ce11ce40"]]);export{x as B}; diff --git a/tags/CSS/index.html b/tags/CSS/index.html new file mode 100644 index 0000000..555718a --- /dev/null +++ b/tags/CSS/index.html @@ -0,0 +1,165 @@ +Tag: CSS | 深远 + + + + + + + +
    Tag - CSS
    2024
    HTML/CSS笔记
    Announcement
    This is my Blog
    Recent Posts
    + + Categories + +
    +
    +
    + + Archives + +
    +
    Website Info
    Article Count :
    3
    Unique Visitors :
    Page Views :
    Last Update :
    \ No newline at end of file diff --git a/tags/HTML/index.html b/tags/HTML/index.html new file mode 100644 index 0000000..0f81ab0 --- /dev/null +++ b/tags/HTML/index.html @@ -0,0 +1,165 @@ +Tag: HTML | 深远 + + + + + + + +
    Tag - HTML
    2024
    HTML/CSS笔记
    Announcement
    This is my Blog
    Recent Posts
    + + Categories + +
    +
    +
    + + Archives + +
    +
    Website Info
    Article Count :
    3
    Unique Visitors :
    Page Views :
    Last Update :
    \ No newline at end of file diff --git a/tags/VUE/index.html b/tags/VUE/index.html new file mode 100644 index 0000000..ab974bf --- /dev/null +++ b/tags/VUE/index.html @@ -0,0 +1,165 @@ +Tag: VUE | 深远 + + + + + + + +
    Announcement
    This is my Blog
    Recent Posts
    + + Categories + +
    +
    +
    + + Archives + +
    +
    Website Info
    Article Count :
    3
    Unique Visitors :
    Page Views :
    Last Update :
    \ No newline at end of file diff --git a/tags/index.html b/tags/index.html deleted file mode 100644 index 052883e..0000000 --- a/tags/index.html +++ /dev/null @@ -1 +0,0 @@ -
    \ No newline at end of file diff --git a/tags/search/index.html b/tags/search/index.html deleted file mode 100644 index 052883e..0000000 --- a/tags/search/index.html +++ /dev/null @@ -1 +0,0 @@ -
    \ No newline at end of file diff --git "a/tags/\344\270\252\344\272\272\345\215\232\345\256\242/index.html" "b/tags/\344\270\252\344\272\272\345\215\232\345\256\242/index.html" new file mode 100644 index 0000000..32da47d --- /dev/null +++ "b/tags/\344\270\252\344\272\272\345\215\232\345\256\242/index.html" @@ -0,0 +1,165 @@ +Tag: 个人博客 | 深远 + + + + + + + +
    Announcement
    This is my Blog
    Recent Posts
    + + Categories + +
    +
    +
    + + Archives + +
    +
    Website Info
    Article Count :
    3
    Unique Visitors :
    Page Views :
    Last Update :
    \ No newline at end of file diff --git "a/tags/\347\247\201\344\272\272\347\254\224\350\256\260/index.html" "b/tags/\347\247\201\344\272\272\347\254\224\350\256\260/index.html" new file mode 100644 index 0000000..7b54e66 --- /dev/null +++ "b/tags/\347\247\201\344\272\272\347\254\224\350\256\260/index.html" @@ -0,0 +1,165 @@ +Tag: 私人笔记 | 深远 + + + + + + + +
    Tag - 私人笔记
    2024
    HTML/CSS笔记
    Announcement
    This is my Blog
    Recent Posts
    + + Categories + +
    +
    +
    + + Archives + +
    +
    Website Info
    Article Count :
    3
    Unique Visitors :
    Page Views :
    Last Update :
    \ No newline at end of file