From 5902b4996f62b5826c506fd7afc51e6942f7bf2b Mon Sep 17 00:00:00 2001 From: 7Wate Date: Thu, 20 Jan 2022 08:48:00 +0800 Subject: [PATCH] fix(bug): 320px devices removed and bugs patched --- module/comment.ftl | 2 +- source/css/Redemption.css | 262 ++++----------------- source/css/Redemption.scss | 1 - source/css/base/_base.scss | 55 ++--- source/css/base/_font.scss | 22 +- source/css/base/_media.scss | 35 --- source/css/pages/_archives.scss | 39 +-- source/css/pages/_category.scss | 49 +--- source/css/pages/_index.scss | 36 ++- source/css/pages/_journals.scss | 38 ++- source/css/pages/_links.scss | 37 ++- source/css/pages/_post.scss | 38 +-- source/css/pages/_tag.scss | 41 ++-- source/css/pages/layout/_comment.scss | 47 ++-- source/css/pages/layout/_footer.scss | 17 +- source/css/pages/layout/_header.scss | 25 +- source/css/pages/layout/_pagenav.scss | 13 +- source/css/redemption.css.map | 2 +- source/plugins/comment/halo-comment.min.js | 2 +- 19 files changed, 203 insertions(+), 558 deletions(-) delete mode 100644 source/css/base/_media.scss diff --git a/module/comment.ftl b/module/comment.ftl index e7cae9a..a1c28e7 100644 --- a/module/comment.ftl +++ b/module/comment.ftl @@ -3,7 +3,7 @@
- + <#-- -->
diff --git a/source/css/Redemption.css b/source/css/Redemption.css index 2ad298f..4b07660 100644 --- a/source/css/Redemption.css +++ b/source/css/Redemption.css @@ -2,21 +2,7 @@ html { font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; -} -@media (max-width: 320px) { - html { - font-size: 14px; - } -} -@media (min-width: 320px) and (max-width: 768px) { - html { - font-size: 16px; - } -} -@media (min-width: 768px) and (max-width: 2048px) { - html { - font-size: 16px; - } + font-size: 16px; } [data-font=serif] { @@ -38,15 +24,13 @@ html ::-webkit-scrollbar-thumb { border-radius: 16px; background-color: rgba(0, 0, 0, 0.249); } -@media (prefers-color-scheme: dark) { - html ::-webkit-scrollbar-thumb { - background-color: blue; - } -} html ::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, 0.249); } @media (prefers-color-scheme: dark) { + html ::-webkit-scrollbar-thumb { + background-color: blue; + } html ::-webkit-scrollbar-thumb:hover { background-color: blue; } @@ -84,21 +68,14 @@ main { box-shadow: 0 0.375rem 1rem -0.5rem rgba(0, 0, 0, 0.34); } } -@media (max-width: 320px) { - main { - width: 90%; - margin-top: 3%; - padding-bottom: 7%; - } -} -@media (min-width: 320px) and (max-width: 768px) { +@media (max-width: 870px) { main { width: 90%; margin-top: 5%; padding-bottom: 5%; } } -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { main { width: 52rem; margin-top: 4rem; @@ -106,7 +83,7 @@ main { } } -@media (max-width: 320px) { +@media (max-width: 870px) { main > .index, main > .archives, main > .categories, @@ -130,31 +107,7 @@ main > .journals > ul { margin-block-end: 0; } } -@media (min-width: 320px) and (max-width: 768px) { - main > .index, -main > .archives, -main > .categories, -main > .category, -main > .links, -main > .post, -main > .tag, -main > .journals { - width: 90%; - padding: 2.5% 5%; - } - main > .index > ul, -main > .archives > ul, -main > .categories > ul, -main > .category > ul, -main > .links > ul, -main > .post > ul, -main > .tag > ul, -main > .journals > ul { - margin-block-start: 0; - margin-block-end: 0; - } -} -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { main > .index, main > .archives, main > .categories, @@ -263,7 +216,7 @@ main > .journals { color: #7d7d7d80; } } -@media (max-width: 320px) { +@media (max-width: 870px) { .header { flex-direction: column; align-items: center; @@ -276,20 +229,7 @@ main > .journals { align-items: center; } } -@media (min-width: 320px) and (max-width: 768px) { - .header { - flex-direction: column; - align-items: center; - width: 90%; - padding: 17% 5% 5% 5%; - } - .header > .description { - display: flex; - flex-direction: column; - align-items: center; - } -} -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .header { width: 45rem; padding: 7rem 0 3rem 0; @@ -325,17 +265,12 @@ footer .copyright a:hover { color: #bfbfbf; } } -@media (max-width: 320px) { +@media (max-width: 870px) { footer { padding: 5% 0; } } -@media (min-width: 320px) and (max-width: 768px) { - footer { - padding: 5% 0; - } -} -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { footer { padding: 2rem 0; } @@ -361,35 +296,24 @@ footer .copyright a:hover { color: #434343; } } -@media (max-width: 320px) { - .pagenav { - padding: 5% 0 7% 0; - } -} -@media (min-width: 320px) and (max-width: 768px) { +@media (max-width: 870px) { .pagenav { padding: 4% 0 5% 0; } } -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .pagenav { padding: 2rem 0; } } -@media (max-width: 320px) { +@media (max-width: 870px) { .comment { width: 90%; margin: 5% 0; } } -@media (min-width: 320px) and (max-width: 768px) { - .comment { - width: 90%; - margin: 5% 0; - } -} -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .comment { margin-top: 2rem; width: 52rem; @@ -411,8 +335,6 @@ footer .copyright a:hover { .post-bottom-menu { border-top: 1px solid #e7e7e7; } -} -@media (prefers-color-scheme: dark) and (prefers-color-scheme: dark) { .post-bottom-menu > a { color: #b6b6b6; } @@ -420,21 +342,14 @@ footer .copyright a:hover { color: #434343; } } -@media (max-width: 320px) { - .post-bottom-menu { - margin-top: 7%; - padding-top: 7%; - width: 80%; - } -} -@media (min-width: 320px) and (max-width: 768px) { +@media (max-width: 870px) { .post-bottom-menu { margin-top: 7%; padding-top: 5%; width: 80%; } } -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .post-bottom-menu { margin-top: 2rem; padding-top: 2rem; @@ -491,26 +406,7 @@ footer .copyright a:hover { color: #7d7d7d; } } -@media (max-width: 320px) { - .archives > ul { - padding: 2.5% 1%; - } - .archives > ul > .year { - padding: 2.5% 0; - text-align: center; - } - .archives > ul > .title { - padding: 2.5% 0; - text-align: center; - } - .archives > ul > li { - justify-content: center; - } - .archives > ul > li > span { - display: none; - } -} -@media (min-width: 320px) and (max-width: 768px) { +@media (max-width: 870px) { .archives > ul { padding: 2.5% 1%; } @@ -524,7 +420,7 @@ footer .copyright a:hover { justify-content: space-between; } } -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .archives > ul { padding: 0.625rem 0.1rem; } @@ -545,7 +441,8 @@ footer .copyright a:hover { * 1.默认 * 2.深色 * 3.媒体查询 - * - 320px + * - 870px + * - 2048px */ .category > ul > .name { font-size: 1.5rem; @@ -581,22 +478,7 @@ footer .copyright a:hover { color: #7d7d7d; } } -@media (max-width: 320px) { - .category > ul { - padding: 2.5% 1%; - } - .category > ul > .name { - padding: 2.5% 0; - text-align: center; - } - .category > ul > li { - justify-content: center; - } - .category > ul > li > span { - display: none; - } -} -@media (min-width: 320px) and (max-width: 768px) { +@media (max-width: 870px) { .category > ul { padding: 2.5% 1%; } @@ -607,7 +489,7 @@ footer .copyright a:hover { justify-content: space-between; } } -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .category > ul { padding: 0.625rem 0.1rem; } @@ -653,7 +535,7 @@ footer .copyright a:hover { color: #dbdbdb80; } } -@media (max-width: 320px) { +@media (max-width: 870px) { .categories { margin: 7% 0; } @@ -661,15 +543,7 @@ footer .copyright a:hover { margin: 2.5% 2.5%; } } -@media (min-width: 320px) and (max-width: 768px) { - .categories { - margin: 7% 0; - } - .categories > ul > li { - margin: 2.5% 2.5%; - } -} -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .categories { margin: 5rem 0; } @@ -745,19 +619,7 @@ footer .copyright a:hover { color: #7d7d7d80; } } -@media (max-width: 320px) { - .index > h1 { - margin-block-start: 0; - text-align: center; - } - .index > .info { - padding: 1% 0 2% 0; - } - .index > .info > span { - margin: 1% 1%; - } -} -@media (min-width: 320px) and (max-width: 768px) { +@media (min-width: 320px) and (max-width: 870px) { .index > h1 { margin-block-start: 0; } @@ -768,7 +630,7 @@ footer .copyright a:hover { margin: 1% 1%; } } -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .index > .info { padding: 0.5rem 0 2rem 0; } @@ -801,7 +663,7 @@ footer .copyright a:hover { color: #7d7d7d; } } -@media (max-width: 320px) { +@media (max-width: 870px) { .journals > .name { padding: 2.5% 0; text-align: center; @@ -813,19 +675,7 @@ footer .copyright a:hover { padding: 1% 0; } } -@media (min-width: 320px) and (max-width: 768px) { - .journals > .name { - padding: 2.5% 0; - text-align: center; - } - .journals > ul > li { - padding: 2.5% 0; - } - .journals > ul > li > .info { - padding: 1% 0; - } -} -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .journals > .name { padding: 0.5rem 0; } @@ -867,20 +717,7 @@ footer .copyright a:hover { color: #dbdbdb80; } } -@media (max-width: 320px) { - .links > ul { - padding: 2.5% 1%; - } - .links > ul > .friend { - padding: 2.5% 0; - text-align: center; - } - .links > ul > li { - justify-content: center; - padding-bottom: 1%; - } -} -@media (min-width: 320px) and (max-width: 768px) { +@media (max-width: 870px) { .links > ul { padding: 2.5% 1%; } @@ -891,7 +728,7 @@ footer .copyright a:hover { padding-bottom: 1%; } } -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .links > ul { padding: 0.625rem 0.1rem; } @@ -935,7 +772,6 @@ footer .copyright a:hover { } .post > .title > .info { border-bottom: 1px solid #434343; - flex-direction: column; } .post > .title > .info span { color: #7d7d7d; @@ -944,26 +780,24 @@ footer .copyright a:hover { color: #7d7d7d; } } -@media (max-width: 320px) { +@media (min-width: 320px) and (max-width: 870px) { .post > .title { margin-top: 10%; } + .post > .title > .info { + flex-direction: column; + } .post > .title > .info > span { padding: 1% 1%; } } -@media (min-width: 320px) and (max-width: 768px) { - .post > .title { - margin-top: 10%; - } - .post > .title > .info > span { - padding: 1% 1%; - } -} -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .post > .title { margin-top: 4rem; } + .post > .title > .info { + flex-direction: row; + } .post > .title > .info > span { margin: 0.25rem 0.25rem; } @@ -997,7 +831,7 @@ footer .copyright a:hover { color: #dbdbdb80; } } -@media (max-width: 320px) { +@media (max-width: 870px) { .tag > ul { padding: 2.5% 1%; } @@ -1013,7 +847,7 @@ footer .copyright a:hover { display: none; } } -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .tag > ul { padding: 0.625rem 0.1rem; } @@ -1059,7 +893,7 @@ footer .copyright a:hover { color: #dbdbdb80; } } -@media (max-width: 320px) { +@media (max-width: 870px) { .tags { margin: 7% 0; } @@ -1067,15 +901,7 @@ footer .copyright a:hover { margin: 2.5% 2.5%; } } -@media (min-width: 320px) and (max-width: 768px) { - .tags { - margin: 7% 0; - } - .tags > ul > li { - margin: 2.5% 2.5%; - } -} -@media (min-width: 768px) and (max-width: 2048px) { +@media (min-width: 870px) and (max-width: 2048px) { .tags { margin: 5rem 0; } diff --git a/source/css/Redemption.scss b/source/css/Redemption.scss index 3ec5350..782cbc4 100644 --- a/source/css/Redemption.scss +++ b/source/css/Redemption.scss @@ -3,7 +3,6 @@ @import "base/variables"; @import "base/font"; @import "base/base"; -// @import "base/media"; // 组件 @import "pages/layout/header"; diff --git a/source/css/base/_base.scss b/source/css/base/_base.scss index 64433dd..c0da9df 100644 --- a/source/css/base/_base.scss +++ b/source/css/base/_base.scss @@ -11,18 +11,22 @@ html { height: 40px; border-radius: 16px; background-color: rgba(0, 0, 0, 0.249); - - @include darkmode { - // 深色 - background-color: blue; - } } ::-webkit-scrollbar-thumb { &:hover { background-color: rgba(0, 0, 0, 0.249); - @include darkmode { + } + } + + @include darkmode { + ::-webkit-scrollbar-thumb { + background-color: blue; + } + + ::-webkit-scrollbar-thumb { + &:hover { background-color: blue; } } @@ -48,7 +52,7 @@ body { align-items: center; } -// main +// main 主体 main { display: flex; flex-wrap: nowrap; @@ -57,28 +61,21 @@ main { background: #ffffff; box-shadow: 0 0.375rem 1rem -0.5rem rgb(0, 0, 0, 0.17); - // 深色模式 + // =========== 深色 =========== @include darkmode { background: #292929; box-shadow: 0 0.375rem 1rem -0.5rem rgb(0, 0, 0, 0.34); } - // 320px 设备 - @media (max-width: 320px) { - width: 90%; - margin-top: 3%; - padding-bottom: 7%; - } - - // 768px 设备 - @media (min-width: 320px) and (max-width: 768px) { + // =========== 移动端 =========== + @media (max-width: 870px) { width: 90%; margin-top: 5%; padding-bottom: 5%; } - // 1440px 设备 - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { width: 52rem; margin-top: 4rem; padding-bottom: 3rem; @@ -94,9 +91,8 @@ main>.links, main>.post, main>.tag, main>.journals { - - // 320px 设备 - @media (max-width: 320px) { + // =========== 移动端 =========== + @media (max-width: 870px) { >ul { margin-block-start: 0; margin-block-end: 0; @@ -106,19 +102,8 @@ main>.journals { padding: 2.5% 5%; } - // 768px 设备 - @media (min-width: 320px) and (max-width: 768px) { - >ul { - margin-block-start: 0; - margin-block-end: 0; - } - - width: 90%; - padding: 2.5% 5%; - } - - // 2048px 设备 - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { width: 45rem; padding: 1rem 0.1rem 1rem 0.1rem; } diff --git a/source/css/base/_font.scss b/source/css/base/_font.scss index 9c63511..4f821ea 100644 --- a/source/css/base/_font.scss +++ b/source/css/base/_font.scss @@ -3,21 +3,17 @@ html { font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; + font-size: 16px; - // =========== 320px 设备 =========== - @media (max-width: 320px) { - font-size: 14px; - } + // // =========== 移动端 =========== + // @media (max-width: 870px) { + // font-size: 16px; + // } - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { - font-size: 16px; - } - - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { - font-size: 16px; - } + // // =========== 桌面端 =========== + // @media (min-width: 870px) and (max-width: 2048px) { + // font-size: 16px; + // } } // 衬线字体 diff --git a/source/css/base/_media.scss b/source/css/base/_media.scss deleted file mode 100644 index e06cb11..0000000 --- a/source/css/base/_media.scss +++ /dev/null @@ -1,35 +0,0 @@ -@media (max-width: 320px) { - - - - - - - -} - - // // 超小屏幕(手机,小于 768px) - // @media (min-width: 320px) and (max-width: 768px) { - - - - - - - - - // } - - // // 小屏幕(平板,大于等于 768px) - // @media (min-width: 768px) and (max-width: 768px) { - - // } - - // // 中等屏幕(桌面显示器,大于等于 992px) - // @media (min-width: 992px) and (max-width: 992px) { - - // } - - // // 大屏幕(大桌面显示器,大于等于 1200px) - // @media (min-width: 1200px) { - // } \ No newline at end of file diff --git a/source/css/pages/_archives.scss b/source/css/pages/_archives.scss index 0a5695a..9722418 100644 --- a/source/css/pages/_archives.scss +++ b/source/css/pages/_archives.scss @@ -6,7 +6,8 @@ * 1.默认 * 2.深色 * 3.媒体查询 - * - 320px + * - 870px + * - 2048px */ @import "../base/variables"; @@ -63,33 +64,8 @@ } } - // =========== 320px 设备 =========== - @media (max-width: 320px) { - - >ul { - padding: 2.5% 1%; - - >.year { - padding: 2.5% 0; - text-align: center; - } - - >.title { - padding: 2.5% 0; - text-align: center; - } - - >li { - justify-content: center; - - >span { - display: none; - } - } - } - } - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { + // =========== 移动端 =========== + @media (max-width: 870px) { >ul { padding: 2.5% 1%; @@ -106,8 +82,8 @@ } } } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { >ul { padding: 0.625rem 0.1rem; @@ -121,7 +97,4 @@ } } } - - - } \ No newline at end of file diff --git a/source/css/pages/_category.scss b/source/css/pages/_category.scss index b9ae9a6..843349c 100644 --- a/source/css/pages/_category.scss +++ b/source/css/pages/_category.scss @@ -6,7 +6,8 @@ * 1.默认 * 2.深色 * 3.媒体查询 - * - 320px + * - 870px + * - 2048px */ @import "../base/variables"; @@ -61,27 +62,8 @@ } } - // =========== 320px 设备 =========== - @media (max-width: 320px) { - >ul { - padding: 2.5% 1%; - - >.name { - padding: 2.5% 0; - text-align: center; - } - - >li { - justify-content: center; - - >span { - display: none; - } - } - } - } - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { + // =========== 移动端 =========== + @media (max-width: 870px) { >ul { padding: 2.5% 1%; @@ -96,8 +78,8 @@ } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { >ul { padding: 0.625rem 0.1rem; >.name { @@ -162,18 +144,8 @@ } - // =========== 320px 设备 =========== - @media (max-width: 320px) { - margin: 7% 0; - - >ul { - >li { - margin: 2.5% 2.5%; - } - } - } - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { + // =========== 移动端 =========== + @media (max-width: 870px) { margin: 7% 0; >ul { @@ -183,15 +155,14 @@ } } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { margin: 5rem 0; >ul { >li { margin: 0.5rem 1rem; - } } } diff --git a/source/css/pages/_index.scss b/source/css/pages/_index.scss index 8b32993..ef2620b 100644 --- a/source/css/pages/_index.scss +++ b/source/css/pages/_index.scss @@ -1,4 +1,14 @@ -// 首页 +/* + * + * 首页 + * + * 按照顺序 + * 1.默认 + * 2.深色 + * 3.媒体查询 + * - 870px + * - 2048px +*/ @import "../base/variables"; .index { @@ -91,24 +101,8 @@ } - // =========== 320px 设备 =========== - @media (max-width: 320px) { - >h1 { - margin-block-start: 0; - text-align: center; - } - - >.info { - padding: 1% 0 2% 0; - - >span { - margin: 1% 1%; - } - } - } - - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { + // =========== 移动端 =========== + @media (min-width: 320px) and (max-width: 870px) { >h1 { margin-block-start: 0; } @@ -122,8 +116,8 @@ } } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { >.info { padding: 0.5rem 0 2rem 0; diff --git a/source/css/pages/_journals.scss b/source/css/pages/_journals.scss index eb8df4b..e669240 100644 --- a/source/css/pages/_journals.scss +++ b/source/css/pages/_journals.scss @@ -1,6 +1,15 @@ +/* + * + * 日志 + * + * 按照顺序 + * 1.默认 + * 2.深色 + * 3.媒体查询 + * - 870px + * - 2048px +*/ @import "../base/variables"; - -// 日志 .journals { >.name { font-size: 1.5rem; @@ -44,25 +53,8 @@ } } - // =========== 320px 设备 =========== - @media (max-width: 320px) { - >.name { - padding: 2.5% 0; - text-align: center; - } - - >ul { - >li { - padding: 2.5% 0; - - >.info { - padding: 1% 0; - } - } - } - } - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { + // =========== 移动端 =========== + @media (max-width: 870px) { >.name { padding: 2.5% 0; text-align: center; @@ -78,8 +70,8 @@ } } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { >.name { padding: 0.5rem 0; } diff --git a/source/css/pages/_links.scss b/source/css/pages/_links.scss index 9969384..571aa0e 100644 --- a/source/css/pages/_links.scss +++ b/source/css/pages/_links.scss @@ -1,6 +1,15 @@ +/* + * + * 友链 + * + * 按照顺序 + * 1.默认 + * 2.深色 + * 3.媒体查询 + * - 870px + * - 2048px +*/ @import "../base/variables"; - -// 友链 .links { >ul { >.friend { @@ -48,24 +57,8 @@ } - // =========== 320px 设备 =========== - @media (max-width: 320px) { - >ul { - padding: 2.5% 1%; - - >.friend { - padding: 2.5% 0; - text-align: center; - } - - >li { - justify-content: center; - padding-bottom: 1%; - } - } - } - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { + // =========== 移动端 =========== + @media (max-width: 870px) { >ul { padding: 2.5% 1%; @@ -79,8 +72,8 @@ } } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { >ul { padding: 0.625rem 0.1rem; diff --git a/source/css/pages/_post.scss b/source/css/pages/_post.scss index 8d28fc0..a65e5d2 100644 --- a/source/css/pages/_post.scss +++ b/source/css/pages/_post.scss @@ -1,6 +1,15 @@ +/* + * + * 文章 + * + * 按照顺序 + * 1.默认 + * 2.深色 + * 3.媒体查询 + * - 870px + * - 2048px +*/ @import "../base/variables"; - -// 文章 .post { >.title { >h1 { @@ -52,7 +61,6 @@ >.info { border-bottom: 1px solid #434343; - flex-direction: column; span { color: #7d7d7d; @@ -64,37 +72,29 @@ } } - // =========== 320px 设备 =========== - @media (max-width: 320px) { - >.title { - margin-top: 10%; - >.info{ - >span{ - padding: 1% 1%; - } - - } - } - } - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { + // =========== 移动端 =========== + @media (min-width: 320px) and (max-width: 870px) { >.title { margin-top: 10%; >.info{ + flex-direction: column; >span{ padding: 1% 1%; + } } } } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { >.title { margin-top: 4rem; >.info{ + flex-direction: row; >span{ margin: 0.25rem 0.25rem; + } } } diff --git a/source/css/pages/_tag.scss b/source/css/pages/_tag.scss index ede7582..5901d9f 100644 --- a/source/css/pages/_tag.scss +++ b/source/css/pages/_tag.scss @@ -1,6 +1,15 @@ +/* + * + * 标志 + * + * 按照顺序 + * 1.默认 + * 2.深色 + * 3.媒体查询 + * - 870px + * - 2048px +*/ @import "../base/variables"; - -// 标签 .tag { >ul { >.name { @@ -46,8 +55,8 @@ } - // =========== 320px 设备 =========== - @media (max-width: 320px) { + // =========== 移动端 =========== + @media (max-width: 870px) { >ul { padding: 2.5% 1%; @@ -67,8 +76,8 @@ } } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { >ul { padding: 0.625rem 0.1rem; >.name { @@ -94,7 +103,6 @@ font-size: 1rem; >a { - // 浅色 color: #262626; &:hover { @@ -131,8 +139,8 @@ } } - // =========== 320px 设备 =========== - @media (max-width: 320px) { + // =========== 移动端 =========== + @media (max-width: 870px) { margin: 7% 0; >ul { @@ -141,19 +149,8 @@ } } } - - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { - margin: 7% 0; - - >ul { - >li { - margin: 2.5% 2.5%; - } - } - } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 移动端 =========== + @media (min-width: 870px) and (max-width: 2048px) { margin: 5rem 0; >ul { diff --git a/source/css/pages/layout/_comment.scss b/source/css/pages/layout/_comment.scss index 0f344fe..7685a19 100644 --- a/source/css/pages/layout/_comment.scss +++ b/source/css/pages/layout/_comment.scss @@ -1,26 +1,20 @@ // 评论容器 .comment { - // 320px 设备 - @media (max-width: 320px) { + // =========== 移动端 =========== + @media (max-width: 870px) { width: 90%; margin: 5% 0; } - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { - width: 90%; - margin: 5% 0; - } - - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { margin-top: 2rem; width: 52rem; } } -// 评论 首页 按钮 +// 评论、首页按钮 .post-bottom-menu { display: flex; justify-content: space-around; @@ -32,43 +26,30 @@ &:hover { color: #595959; } - - } - // 深色 + // =========== 深色 =========== @include darkmode { border-top: 1px solid #e7e7e7; - >a { + color: #b6b6b6; - // 深色 - @include darkmode { - color: #b6b6b6; - - &:hover { - color: #434343; - } + &:hover { + color: #434343; } + } } - // =========== 320px 设备 =========== - @media (max-width: 320px) { - margin-top: 7%; - padding-top: 7%; - width: 80%; - } - - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { + // =========== 移动端 =========== + @media (max-width: 870px) { margin-top: 7%; padding-top: 5%; width: 80%; } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { margin-top: 2rem; padding-top: 2rem; width: 40rem; diff --git a/source/css/pages/layout/_footer.scss b/source/css/pages/layout/_footer.scss index ac8207b..6c136f1 100644 --- a/source/css/pages/layout/_footer.scss +++ b/source/css/pages/layout/_footer.scss @@ -18,7 +18,7 @@ footer { } } - // 深色 + // =========== 深色 =========== @include darkmode { .copyright> { >a { @@ -31,20 +31,13 @@ footer { } } - // 320px 设备 - @media (max-width: 320px) { - padding: 5% 0; - } - - // 768px 设备 - @media (min-width: 320px) and (max-width: 768px) { + // =========== 移动端 =========== + @media (max-width: 870px) { padding: 5% 0; } - // 2048px 设备 - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { padding: 2rem 0; } - - } \ No newline at end of file diff --git a/source/css/pages/layout/_header.scss b/source/css/pages/layout/_header.scss index 9259334..4e91b95 100644 --- a/source/css/pages/layout/_header.scss +++ b/source/css/pages/layout/_header.scss @@ -44,7 +44,7 @@ } } - // 深色 + // =========== 深色 =========== @include darkmode { >.title { >a { @@ -74,8 +74,8 @@ } - // 320px 设备 - @media (max-width: 320px) { + // =========== 移动端 =========== + @media (max-width: 870px) { flex-direction: column; align-items: center; width: 90%; @@ -88,22 +88,8 @@ } } - // 768px 设备 - @media (min-width: 320px) and (max-width: 768px) { - flex-direction: column; - align-items: center; - width: 90%; - padding: 17% 5% 5% 5%; - - >.description { - display: flex; - flex-direction: column; - align-items: center; - } - } - - // 2048px 设备 - @media (min-width: 768px) and (max-width: 2048px) { + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { width: 45rem; padding: 7rem 0 3rem 0; justify-content: space-between; @@ -118,5 +104,4 @@ align-items: flex-end; } } - } \ No newline at end of file diff --git a/source/css/pages/layout/_pagenav.scss b/source/css/pages/layout/_pagenav.scss index e6c19cb..945a72d 100644 --- a/source/css/pages/layout/_pagenav.scss +++ b/source/css/pages/layout/_pagenav.scss @@ -24,18 +24,13 @@ } } - // =========== 320px 设备 =========== - @media (max-width: 320px) { - padding: 5% 0 7% 0; - } - - // =========== 768px 设备 =========== - @media (min-width: 320px) and (max-width: 768px) { + // // =========== 移动端 =========== + @media (max-width: 870px) { padding: 4% 0 5% 0; } - // =========== 2048px 设备 =========== - @media (min-width: 768px) and (max-width: 2048px) { + // // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { padding: 2rem 0; } } diff --git a/source/css/redemption.css.map b/source/css/redemption.css.map index 9311547..d9ba69b 100644 --- a/source/css/redemption.css.map +++ b/source/css/redemption.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["base/_font.scss","base/_base.scss","base/_variables.scss","pages/layout/_header.scss","pages/layout/_footer.scss","pages/layout/_pagenav.scss","pages/layout/_comment.scss","pages/_archives.scss","pages/_category.scss","pages/_index.scss","pages/_journals.scss","pages/_links.scss","pages/_post.scss","pages/_tag.scss"],"names":[],"mappings":"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","file":"redemption.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["base/_font.scss","base/_base.scss","base/_variables.scss","pages/layout/_header.scss","pages/layout/_footer.scss","pages/layout/_pagenav.scss","pages/layout/_comment.scss","pages/_archives.scss","pages/_category.scss","pages/_index.scss","pages/_journals.scss","pages/_links.scss","pages/_post.scss","pages/_tag.scss"],"names":[],"mappings":"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","file":"redemption.css"} \ No newline at end of file diff --git a/source/plugins/comment/halo-comment.min.js b/source/plugins/comment/halo-comment.min.js index 6d07569..74ced9c 100644 --- a/source/plugins/comment/halo-comment.min.js +++ b/source/plugins/comment/halo-comment.min.js @@ -33,4 +33,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){e.done?n(e.value):o(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return u([e,t])}}function u(i){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(o=2&i[0]?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i["return"])&&n.call(i)}finally{if(o)throw o.error}}return a}function b(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{u(o[e](t))}catch(n){d(i[0][3],n)}}function u(e){e.value instanceof w?Promise.resolve(e.value.v).then(l,c):d(i[0][2],e)}function l(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function D(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:w(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"===typeof m?m(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){t=e[n](t),o(r,i,t.done,t.value)}))}}function o(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var C=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&p(t,e,n);return C(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function _(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function F(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}},"9a63":function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n{const{endpointName:t,scope:n}=e,r=void 0!==n?""+n:"content";return`/api/${r}/${t}`};t.buildPath=r},b492:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatisticClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}statistics(){const e=r.buildPath({endpointName:"statistics"});return this.client.get(e,{})}statisticsWithUser(){const e=r.buildPath({endpointName:"statistics/user"});return this.client.get(e,{})}}t.StatisticClient=o},b50d:function(e,t,n){"use strict";var r=n("c532"),o=n("467f"),i=n("7aac"),a=n("30b5"),s=n("83b9"),u=n("c345"),l=n("3934"),c=n("2d83"),d=n("2444"),p=n("7a77");e.exports=function(e){return new Promise((function(t,n){var f,m=e.data,h=e.headers,b=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}r.isFormData(m)&&delete h["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(w+":"+v)}var D=s(e.baseURL,e.url);function k(){if(y){var r="getAllResponseHeaders"in y?u(y.getAllResponseHeaders()):null,i=b&&"text"!==b&&"json"!==b?y.response:y.responseText,a={data:i,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),g()}),(function(e){n(e),g()}),a),y=null}}if(y.open(e.method.toUpperCase(),a(D,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=k:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(k)},y.onabort=function(){y&&(n(c("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(c("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var x=(e.withCredentials||l(D))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;x&&(h[e.xsrfHeaderName]=x)}"setRequestHeader"in y&&r.forEach(h,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete h[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),b&&"json"!==b&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){y&&(n(!e||e&&e.type?new p("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),m||(m=null),y.send(m)}))}},bc3a:function(e,t,n){e.exports=n("cee4")},c1f2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.injectPlatformDeps=t.platformDeps=void 0,t.platformDeps={readFileFromPath:()=>{throw new Error("not implemented")},getRequestToken:()=>{throw new Error("not implemented")},getDefaultAuth:()=>{throw new Error("not implemented")},buildPlatformDependentConfig:()=>{throw new Error("not implemented")},buildHeaders:()=>{throw new Error("not implemented")},buildFormDataValue:()=>{throw new Error("not implemented")},buildBaseUrl:()=>{throw new Error("not implemented")},getVersion:()=>{throw new Error("not implemented")}};const r=e=>{t.platformDeps.readFileFromPath=e.readFileFromPath,t.platformDeps.getRequestToken=e.getRequestToken,t.platformDeps.getDefaultAuth=e.getDefaultAuth,t.platformDeps.buildPlatformDependentConfig=e.buildPlatformDependentConfig,t.platformDeps.buildHeaders=e.buildHeaders,t.platformDeps.buildFormDataValue=e.buildFormDataValue,t.platformDeps.buildBaseUrl=e.buildBaseUrl,t.platformDeps.getVersion=e.getVersion};t.injectPlatformDeps=r},c250:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_TOKEN_KEY=void 0,t.SESSION_TOKEN_KEY="__REQUEST_TOKEN__"},c256:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApiClient=void 0;var i=n("06d0");Object.defineProperty(t,"ContentApiClient",{enumerable:!0,get:function(){return i.ContentApiClient}}),o(n("755b"),t),o(n("7203"),t),o(n("8aa4"),t)},c345:function(e,t,n){"use strict";var r=n("c532"),o=["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"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},c401:function(e,t,n){"use strict";var r=n("c532"),o=n("2444");e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},c532:function(e,t,n){"use strict";var r=n("1d2b"),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function u(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function c(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function d(e){return"string"===typeof e}function p(e){return"number"===typeof e}function f(e){return null!==e&&"object"===typeof e}function m(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function h(e){return"[object Date]"===o.call(e)}function b(e){return"[object File]"===o.call(e)}function g(e){return"[object Blob]"===o.call(e)}function y(e){return"[object Function]"===o.call(e)}function w(e){return f(e)&&y(e.pipe)}function v(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function D(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===i(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,u=0;u=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},dfc6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HaloRestAPIError=void 0;class r extends Error{constructor(e){const{data:t}=r.buildErrorResponseDate(e);super(t.message),this.name="HaloRestAPIError",this.data=t,this.status=t.status,this.headers=e.headers,this.message=`[${this.status}] ${this.message}`,Error.captureStackTrace&&Error.captureStackTrace(this,r),Object.setPrototypeOf(this,r.prototype)}static buildErrorResponseDate(e){return{data:e.data}}}t.HaloRestAPIError=r},e222:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVersion=t.buildBaseUrl=t.buildFormDataValue=t.buildHeaders=t.buildPlatformDependentConfig=t.getDefaultAuth=t.getRequestToken=t.readFileFromPath=void 0;const r=n("978d"),o=n("3a23"),i=()=>{throw new o.UnsupportedPlatformError("Browser")};t.readFileFromPath=i;const a=()=>(0,r.__awaiter)(void 0,void 0,void 0,(function*(){if("object"===typeof halo&&null!==halo&&"function"===typeof halo.getRequestToken)return halo.getRequestToken();throw new Error("session authentication must specify a request token")}));t.getRequestToken=a;const s=()=>({type:"session"});t.getDefaultAuth=s;const u=()=>({});t.buildPlatformDependentConfig=u;const l=()=>({});t.buildHeaders=l;const c=e=>new Blob([e]);t.buildFormDataValue=c;const d=e=>{if("undefined"===typeof e)throw new Error("in browser environment, baseUrl is required");return e};t.buildBaseUrl=d;const p=()=>PACKAGE_VERSION;t.getVersion=p},e4cb:function(e,t,n){var r=n("6fac");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("7fecc0b2",r,e)}},e64f:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.halo-comment{padding:1rem 2.5rem;position:relative;font-size:.875rem;font-weight:500;line-height:1.8;margin:0 auto;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;background-color:#fff;-webkit-box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.16862745098039217);box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.16862745098039217)}@media (prefers-color-scheme:dark){.halo-comment{color:#a3a3a3;background-color:#292929;-webkit-box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.3411764705882353);box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.3411764705882353)}}.halo-comment a{text-decoration:none;color:#2775b6}.halo-comment input::-webkit-input-placeholder,.halo-comment textarea::-webkit-input-placeholder{color:#7d7d7d}@media (prefers-color-scheme:dark){.halo-comment input::-webkit-input-placeholder,.halo-comment textarea::-webkit-input-placeholder{color:#8c8c8c}}.halo-comment a,.halo-comment abbr,.halo-comment acronym,.halo-comment address,.halo-comment applet,.halo-comment big,.halo-comment blockquote,.halo-comment body,.halo-comment caption,.halo-comment cite,.halo-comment code,.halo-comment dd,.halo-comment del,.halo-comment dfn,.halo-comment div,.halo-comment dl,.halo-comment dt,.halo-comment em,.halo-comment fieldset,.halo-comment figure,.halo-comment form,.halo-comment h1,.halo-comment h2,.halo-comment h3,.halo-comment h4,.halo-comment h5,.halo-comment h6,.halo-comment html,.halo-comment iframe,.halo-comment ins,.halo-comment kbd,.halo-comment label,.halo-comment legend,.halo-comment li,.halo-comment object,.halo-comment ol,.halo-comment p,.halo-comment pre,.halo-comment q,.halo-comment s,.halo-comment samp,.halo-comment small,.halo-comment span,.halo-comment strike,.halo-comment strong,.halo-comment sub,.halo-comment sup,.halo-comment table,.halo-comment tbody,.halo-comment td,.halo-comment tfoot,.halo-comment th,.halo-comment thead,.halo-comment tr,.halo-comment tt,.halo-comment ul,.halo-comment var{border:0;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}.halo-comment ol.comment-nodes,.halo-comment ol.comment-nodes ol{margin:0;padding:0 0 0 2em}.halo-comment ol.comment-nodes{padding:0}.halo-comment ol.comment-nodes ol.children>li{list-style:none;position:relative}.halo-comment ol.comment-nodes ol.children>li:before{color:#d9d9d9;position:absolute;opacity:.5;content:"";top:-5.425em;left:-.5em;width:.3em;height:7em;border-style:none none dashed dashed;border-width:.09em}.halo-comment ol.comment-nodes ol.children>li:not(:last-child):after{color:#d9d9d9;opacity:.5;position:absolute;content:"";top:23px;left:-.5em;bottom:76px;width:.3em;border-style:none none none dashed;border-width:.09em}.halo-comment ol.comment-nodes .comment-editor+ol>li:first-child:before{border-style:none none solid none}.halo-comment button,.halo-comment input,.halo-comment textarea{-webkit-appearance:none;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.halo-comment button:focus,.halo-comment input:focus,.halo-comment textarea:focus{outline:none}.halo-comment ol,.halo-comment ul{list-style:none}.halo-comment .middle{display:inline-block;vertical-align:middle}.halo-comment .avatar{display:block;-o-object-fit:cover;object-fit:cover;border-radius:100%;width:48px;height:48px;cursor:pointer;-webkit-transition:all .8s;transition:all .8s}.halo-comment .avatar:hover{-webkit-transform:rotate(1turn);transform:rotate(1turn)}.halo-comment .comment-editor{position:relative;z-index:1;-webkit-animation:top20 .5s;animation:top20 .5s}.halo-comment .comment-editor .inner{margin:auto;padding:20px 0}.halo-comment .comment-form{margin-left:56px}.halo-comment .comment-form input,.halo-comment .comment-form textarea{-webkit-box-shadow:none;box-shadow:none;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px;resize:vertical;color:#262626;background-color:#fff;border:1px solid #d9d9d9}@media (prefers-color-scheme:dark){.halo-comment .comment-form input,.halo-comment .comment-form textarea{color:#dbdbdb!important;background-color:#292929!important;border:1px solid #434343!important}}.halo-comment .comment-form input:focus,.halo-comment .comment-form textarea:focus{border-color:#ccc}.halo-comment .commentator{position:relative;float:left}.halo-comment .author-info{position:relative;overflow:hidden;margin-bottom:10px}.halo-comment .author-info input{font-size:14px;float:left;width:32%;margin-right:2%}.halo-comment .author-info input#authorUrl{margin:0}.halo-comment .comment-textarea{position:relative;width:100%}.halo-comment .comment-textarea textarea{font-size:13px;line-height:18px;width:100%;min-height:90px;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;color:#000;overflow:hidden;overflow-wrap:break-word}.halo-comment .comment-preview{position:relative;width:100%;min-height:90px;-webkit-box-shadow:none;box-shadow:none;border:1px solid #e1e8ed;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px;margin-bottom:10px;overflow-wrap:break-word}.halo-comment .comment-preview img{max-width:100%}.halo-comment .comment-buttons{font-size:14px;text-align:right;margin-top:10px}.halo-comment .comment-buttons .button-preview-edit,.halo-comment .comment-buttons .button-submit{-webkit-animation:bottom20 .5s;animation:bottom20 .5s;border:none;font-weight:500;padding:6px 18px;text-transform:uppercase;border-radius:4px;display:inline-block;-webkit-transition:all .3s ease 0s;transition:all .3s ease 0s;color:#262626;background-color:#dbdbdb}.halo-comment .comment-buttons .button-preview-edit:hover,.halo-comment .comment-buttons .button-submit:hover{font-weight:700;letter-spacing:3px;background:none;-webkit-box-shadow:0 5px 40px -10px rgba(0,0,0,.57);box-shadow:0 5px 40px -10px rgba(0,0,0,.57);-webkit-transition:all .3s ease 0s;transition:all .3s ease 0s}@media (prefers-color-scheme:dark){.halo-comment .comment-buttons .button-preview-edit:hover,.halo-comment .comment-buttons .button-submit:hover{color:#dbdbdb;background-color:#262626}}.halo-comment .comment-loader-container{-webkit-animation:top20 .5s;animation:top20 .5s;position:relative;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:30px 0}.halo-comment .comment-loader-container .comment-loader-default{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:30px}.halo-comment .comment-loader-container .comment-loader-default span{width:4px;height:15px;background-color:#898c7b}.halo-comment .comment-loader-container .comment-loader-default span:first-of-type{-webkit-animation:grow 1s ease-in-out -.45s infinite;animation:grow 1s ease-in-out -.45s infinite}.halo-comment .comment-loader-container .comment-loader-default span:nth-of-type(2){-webkit-animation:grow 1s ease-in-out -.3s infinite;animation:grow 1s ease-in-out -.3s infinite}.halo-comment .comment-loader-container .comment-loader-default span:nth-of-type(3){-webkit-animation:grow 1s ease-in-out -.15s infinite;animation:grow 1s ease-in-out -.15s infinite}.halo-comment .comment-loader-container .comment-loader-default span:nth-of-type(4){-webkit-animation:grow 1s ease-in-out infinite;animation:grow 1s ease-in-out infinite}@-webkit-keyframes grow{0%,to{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(2);transform:scaleY(2)}}@keyframes grow{0%,to{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(2);transform:scaleY(2)}}.halo-comment .comment-loader-container .comment-loader-circle{border:3px solid #898c7b;border-top-color:#fff;border-radius:50%;width:2.5em;height:2.5em;-webkit-animation:spin .7s linear infinite;animation:spin .7s linear infinite}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.halo-comment .comment-loader-container .comment-loader-balls{width:3.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.halo-comment .comment-loader-container .comment-loader-balls div{width:.7em;height:.7em;border-radius:50%;background-color:#898c7b;-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-animation:wave .7s ease-in-out infinite alternate;animation:wave .7s ease-in-out infinite alternate}.halo-comment .comment-loader-container .comment-loader-balls div:first-of-type{-webkit-animation-delay:-.4s;animation-delay:-.4s}.halo-comment .comment-loader-container .comment-loader-balls div:nth-of-type(2){-webkit-animation-delay:-.2s;animation-delay:-.2s}@-webkit-keyframes wave{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes wave{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.halo-comment .comment-nodes{-webkit-animation:top20 1s;animation:top20 1s;position:relative}.halo-comment .comment-nodes .comment-editor{-webkit-animation:bottom20 .5s;animation:bottom20 .5s}.halo-comment .comment-nodes .comment-editor .inner{padding:7px 0 12px}.halo-comment .comment-empty,.halo-comment .comment-load-button{margin:30px 0;text-align:center}.halo-comment .comment-empty{color:#8899a6}.halo-comment .comment-page{margin-top:30px;text-align:center;border-top:3px solid #f5f8fa}.halo-comment .comment-page .page{display:inline-block;padding:10px 0;margin:0}.halo-comment .comment-page .page li{display:inline;margin-right:5px}.halo-comment .comment-page .page button{margin-bottom:8px;position:relative;font-size:inherit;font-family:inherit;padding:5px 10px;border:1px solid #d9d9d9;border-radius:4px;cursor:pointer;-webkit-transition:all .8s;transition:all .8s;font-weight:400;color:rgba(0,0,0,.65);background-color:#fff}.halo-comment .comment-page .page .active,.halo-comment .comment-page .page button:hover{color:#1890ff;border-color:#1890ff}.halo-comment .comment-nodes .index-1{overflow:hidden;margin-top:30px;padding-bottom:20px;border-bottom:1px solid #d9d9d9}@media (prefers-color-scheme:dark){.halo-comment .comment-nodes .index-1{border-bottom:1px solid #434343}}.halo-comment .comment-nodes .commentator a:after,.halo-comment .comment-nodes .commentator a:before{display:none}.halo-comment .comment-body{position:relative;margin:0 auto;padding:0}.halo-comment .comment-body:hover .comment-reply{display:block}.halo-comment .comment-avatar{position:relative;z-index:1;float:left;padding:0}.halo-comment .contain-main{margin-left:58px}.halo-comment .comment-meta{line-height:1}.halo-comment .comment-meta .useragent-info{margin-top:6px;font-size:12px;color:#595959}@media (prefers-color-scheme:dark){.halo-comment .comment-meta .useragent-info{color:#acacac}}.halo-comment .comment-author{font-size:14px}.halo-comment .comment-author .author-name{font-size:16px;font-weight:700;color:#262626}@media (prefers-color-scheme:dark){.halo-comment .comment-author .author-name{color:#dbdbdb}}.halo-comment .is-admin{margin-left:4px;font-size:14px;cursor:pointer}.halo-comment .comment-time{display:inline-block;margin-top:6px;font-size:12px;color:#595959}@media (prefers-color-scheme:dark){.halo-comment .comment-time{color:#acacac}}.halo-comment .comment-id{display:block;float:right;margin-top:6px;font-size:12px;color:#595959}@media (prefers-color-scheme:dark){.halo-comment .comment-id{color:#acacac}}.halo-comment .comment-content{padding:20px 20px 19px 0;font-size:14px;color:#262626}@media (prefers-color-scheme:dark){.halo-comment .comment-content{color:#dbdbdb}}.halo-comment .comment-content p{margin:0}.halo-comment .comment-content p img{max-width:50%}.halo-comment .comment-reply{display:none;float:right;font-size:12px;color:#fff;padding:1px 5px;border-radius:3px;line-height:1.5;background:#898c7b;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.halo-comment .comment-reply a,.halo-comment .comment-reply a:hover{color:#fff}.halo-comment .comment-alert{margin-top:10px}.halo-comment .alert{-webkit-animation:top20 .5s;animation:top20 .5s;border-radius:4px;padding:8px 16px;background-color:#f44336;color:#fff;opacity:1;-webkit-transition:opacity .6s;transition:opacity .6s;margin-bottom:15px}.halo-comment .alert.success{background-color:#4caf50}.halo-comment .alert.info{background-color:#2196f3}.halo-comment .alert.warning{background-color:#ff9800}.halo-comment .alert .closebtn{margin-left:15px;color:#fff;font-weight:700;float:right;font-size:22px;line-height:16px;cursor:pointer;-webkit-transition:.3s;transition:.3s}.halo-comment .alert .closebtn:hover{color:#000}.halo-comment hr{border:none;border-bottom:1px solid #d9d9d9}@media (prefers-color-scheme:dark){.halo-comment hr{border-bottom:1px solid #434343}}@media only screen and (max-width:576px){.halo-comment .author-info input{width:100%;margin-right:0;margin-bottom:5px}}@-webkit-keyframes top20{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes top20{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes bottom20{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bottom20{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}',""]),e.exports=t},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e998:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SheetClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}list(e){const t=r.buildPath({endpointName:"sheets"});return this.client.get(t,Object.assign({},e))}get(e,t){const n=r.buildPath({endpointName:"sheets/"+e});return this.client.get(n,Object.assign({},t))}getBySlug(e,t){const n=r.buildPath({endpointName:"sheets/slug"});return this.client.get(n,Object.assign({slug:e},t))}listTopComments(e,t){const n=r.buildPath({endpointName:`sheets/${e}/comments/top_view`});return this.client.get(n,Object.assign({},t))}listChildrenComments(e,t,n){const o=r.buildPath({endpointName:`sheets/${e}/comments/${t}/children`});return this.client.get(o,{sort:n})}listCommentsAsTree(e,t){const n=r.buildPath({endpointName:`sheets/${e}/comments/tree_view`});return this.client.get(n,Object.assign({},t))}listComments(e,t){const n=r.buildPath({endpointName:`sheets/${e}/comments/list_view`});return this.client.get(n,Object.assign({},t))}comment(e){const t=r.buildPath({endpointName:"sheets/comments"});return this.client.post(t,Object.assign({},e))}}t.SheetClient=o},f482:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}list(e){const t=r.buildPath({endpointName:"categories"});return this.client.get(t,Object.assign({},e))}listPostBySlug(e){const t=r.buildPath({endpointName:`categories/${e.slug}/posts`});return this.client.get(t,Object.assign({},e))}}t.CategoryClient=o},f6b4:function(e,t,n){"use strict";var r=n("c532");function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},f9af:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"comment",class:e.commentClass,attrs:{id:"li-comment-"+e.comment.id,itemprop:"comment",itemtype:"http://schema.org/Comment"}},[n("div",{staticClass:"comment-body",attrs:{id:"comment-"+e.comment.id}},[n("div",{staticClass:"comment-avatar"},[n("a",{attrs:{href:""+(e.comment.authorUrl?e.comment.authorUrl:"javascript:void(0)"),rel:"nofollow",target:"_blank"}},[n("img",{staticClass:"avatar",attrs:{alt:e.comment.author+"'s avatar",src:e.avatar}})])]),n("div",{staticClass:"contain-main"},[n("div",{staticClass:"comment-meta"},[n("div",{staticClass:"comment-author",attrs:{itemprop:"author"}},[n("a",{staticClass:"author-name",attrs:{href:e.comment.authorUrl,rel:"nofollow",target:"_blank"}},[e._v(e._s(e.comment.author))]),n("span",{staticClass:"comment-reply",staticStyle:{cursor:"pointer"},style:e.editing?"display:block;":"",on:{click:e.handleReplyClick}},[e._v(e._s(e.editing?"取消回复":"回复"))]),e.comment.isAdmin?n("span",{staticClass:"is-admin"},[n("svg",{staticClass:"icon",attrs:{height:"14",version:"1.1",viewBox:"0 0 1024 1024",width:"14",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z m0 896c-212.032 0-384-171.968-384-384S299.968 128 512 128s384 171.968 384 384-171.968 384-384 384z m94.08-513.408L512 192.064l-94.016 190.528-210.304 30.592 152.192 148.288-35.968 209.344L512 672l188.032 98.88-35.904-209.344 152.128-148.288-210.176-30.656z",fill:"#1296db","p-id":"6998"}})])]):e._e(),e.configs.showUserAgent?n("div",{staticClass:"useragent-info"},[e._v(" "+e._s(e.compileUserAgent)+" ")]):e._e()]),n("time",{staticClass:"comment-time",attrs:{datetime:e.comment.createTime,itemprop:"datePublished"}},[e._v(e._s(e.createTimeAgo))]),n("a",{staticClass:"comment-id",attrs:{href:"#comment-"+e.comment.id}},[e._v("#"+e._s(e.comment.id))])]),n("div",{staticClass:"comment-content markdown-body",attrs:{itemprop:"description"},domProps:{innerHTML:e._s(e.compileContent)}})])]),e.editing?n("comment-editor",{attrs:{configs:e.configs,options:e.options,replyComment:e.comment,target:e.target,targetId:e.targetId}}):e._e(),e.comment.children?n("ol",{staticClass:"children"},[e._l(e.comment.children,(function(t,r){return[n("CommentNode",{key:r,attrs:{comment:t,configs:e.configs,isChild:!0,options:e.options,parent:e.comment,target:e.target,targetId:e.targetId}})]}))],2):e._e()],1)},o=[],i=(n("2af9"),n("ca00")),a=n("2b80"),s=n.n(a),u=n("0e54"),l=n.n(u),c={name:"CommentNode",props:{isChild:{type:Boolean,required:!1,default:!1},targetId:{type:Number,required:!1,default:0},target:{type:String,required:!1,default:"posts",validator:function(e){return-1!==["posts","sheets","journals"].indexOf(e)}},parent:{type:Object,required:!1},comment:{type:Object,required:!1,default:function(){}},options:{type:Object,required:!1,default:function(){}},configs:{type:Object,required:!0}},data:function(){return{editing:!1}},computed:{avatar:function(){var e=this.options.comment_gravatar_default,t=this.options.gravatar_source||"//cn.gravatar.com/avatar/";return this.comment.avatar?this.comment.avatar:"".concat(t).concat(this.comment.gravatarMd5,"?s=256&d=").concat(e)},compileContent:function(){var e="";return this.parent&&(e="[@".concat(this.parent.author,"](#comment-").concat(this.parent.id,")")),l()(e+" "+this.comment.content)},createTimeAgo:function(){return Object(i["c"])(this.comment.createTime)},compileUserAgent:function(){var e=new s.a;e.setUA(this.comment.userAgent);var t=e.getResult();return t.browser.name+" in "+t.os.name+" "+t.os.version},commentClass:function(){var e=this.isChild?" ":" index-1";return" li-comment-"+this.comment.id+e}},methods:{handleReplyClick:function(){this.editing=!this.editing}}},d=c,p=n("2877"),f=Object(p["a"])(d,r,o,!1,null,null,null,!0);t["default"]=f.exports}}); \ No newline at end of file +var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){e.done?n(e.value):o(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return u([e,t])}}function u(i){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(o=2&i[0]?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i["return"])&&n.call(i)}finally{if(o)throw o.error}}return a}function b(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{u(o[e](t))}catch(n){d(i[0][3],n)}}function u(e){e.value instanceof w?Promise.resolve(e.value.v).then(l,c):d(i[0][2],e)}function l(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function D(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:w(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"===typeof m?m(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){t=e[n](t),o(r,i,t.done,t.value)}))}}function o(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var C=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&p(t,e,n);return C(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function _(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function F(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}},"9a63":function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n{const{endpointName:t,scope:n}=e,r=void 0!==n?""+n:"content";return`/api/${r}/${t}`};t.buildPath=r},b492:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatisticClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}statistics(){const e=r.buildPath({endpointName:"statistics"});return this.client.get(e,{})}statisticsWithUser(){const e=r.buildPath({endpointName:"statistics/user"});return this.client.get(e,{})}}t.StatisticClient=o},b50d:function(e,t,n){"use strict";var r=n("c532"),o=n("467f"),i=n("7aac"),a=n("30b5"),s=n("83b9"),u=n("c345"),l=n("3934"),c=n("2d83"),d=n("2444"),p=n("7a77");e.exports=function(e){return new Promise((function(t,n){var f,m=e.data,h=e.headers,b=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}r.isFormData(m)&&delete h["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(w+":"+v)}var D=s(e.baseURL,e.url);function k(){if(y){var r="getAllResponseHeaders"in y?u(y.getAllResponseHeaders()):null,i=b&&"text"!==b&&"json"!==b?y.response:y.responseText,a={data:i,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),g()}),(function(e){n(e),g()}),a),y=null}}if(y.open(e.method.toUpperCase(),a(D,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=k:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(k)},y.onabort=function(){y&&(n(c("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(c("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var x=(e.withCredentials||l(D))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;x&&(h[e.xsrfHeaderName]=x)}"setRequestHeader"in y&&r.forEach(h,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete h[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),b&&"json"!==b&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){y&&(n(!e||e&&e.type?new p("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),m||(m=null),y.send(m)}))}},bc3a:function(e,t,n){e.exports=n("cee4")},c1f2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.injectPlatformDeps=t.platformDeps=void 0,t.platformDeps={readFileFromPath:()=>{throw new Error("not implemented")},getRequestToken:()=>{throw new Error("not implemented")},getDefaultAuth:()=>{throw new Error("not implemented")},buildPlatformDependentConfig:()=>{throw new Error("not implemented")},buildHeaders:()=>{throw new Error("not implemented")},buildFormDataValue:()=>{throw new Error("not implemented")},buildBaseUrl:()=>{throw new Error("not implemented")},getVersion:()=>{throw new Error("not implemented")}};const r=e=>{t.platformDeps.readFileFromPath=e.readFileFromPath,t.platformDeps.getRequestToken=e.getRequestToken,t.platformDeps.getDefaultAuth=e.getDefaultAuth,t.platformDeps.buildPlatformDependentConfig=e.buildPlatformDependentConfig,t.platformDeps.buildHeaders=e.buildHeaders,t.platformDeps.buildFormDataValue=e.buildFormDataValue,t.platformDeps.buildBaseUrl=e.buildBaseUrl,t.platformDeps.getVersion=e.getVersion};t.injectPlatformDeps=r},c250:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_TOKEN_KEY=void 0,t.SESSION_TOKEN_KEY="__REQUEST_TOKEN__"},c256:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApiClient=void 0;var i=n("06d0");Object.defineProperty(t,"ContentApiClient",{enumerable:!0,get:function(){return i.ContentApiClient}}),o(n("755b"),t),o(n("7203"),t),o(n("8aa4"),t)},c345:function(e,t,n){"use strict";var r=n("c532"),o=["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"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},c401:function(e,t,n){"use strict";var r=n("c532"),o=n("2444");e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},c532:function(e,t,n){"use strict";var r=n("1d2b"),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function u(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function c(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function d(e){return"string"===typeof e}function p(e){return"number"===typeof e}function f(e){return null!==e&&"object"===typeof e}function m(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function h(e){return"[object Date]"===o.call(e)}function b(e){return"[object File]"===o.call(e)}function g(e){return"[object Blob]"===o.call(e)}function y(e){return"[object Function]"===o.call(e)}function w(e){return f(e)&&y(e.pipe)}function v(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function D(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===i(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,u=0;u=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},dfc6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HaloRestAPIError=void 0;class r extends Error{constructor(e){const{data:t}=r.buildErrorResponseDate(e);super(t.message),this.name="HaloRestAPIError",this.data=t,this.status=t.status,this.headers=e.headers,this.message=`[${this.status}] ${this.message}`,Error.captureStackTrace&&Error.captureStackTrace(this,r),Object.setPrototypeOf(this,r.prototype)}static buildErrorResponseDate(e){return{data:e.data}}}t.HaloRestAPIError=r},e222:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVersion=t.buildBaseUrl=t.buildFormDataValue=t.buildHeaders=t.buildPlatformDependentConfig=t.getDefaultAuth=t.getRequestToken=t.readFileFromPath=void 0;const r=n("978d"),o=n("3a23"),i=()=>{throw new o.UnsupportedPlatformError("Browser")};t.readFileFromPath=i;const a=()=>(0,r.__awaiter)(void 0,void 0,void 0,(function*(){if("object"===typeof halo&&null!==halo&&"function"===typeof halo.getRequestToken)return halo.getRequestToken();throw new Error("session authentication must specify a request token")}));t.getRequestToken=a;const s=()=>({type:"session"});t.getDefaultAuth=s;const u=()=>({});t.buildPlatformDependentConfig=u;const l=()=>({});t.buildHeaders=l;const c=e=>new Blob([e]);t.buildFormDataValue=c;const d=e=>{if("undefined"===typeof e)throw new Error("in browser environment, baseUrl is required");return e};t.buildBaseUrl=d;const p=()=>PACKAGE_VERSION;t.getVersion=p},e4cb:function(e,t,n){var r=n("6fac");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("7fecc0b2",r,e)}},e64f:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.halo-comment{padding:1rem 2.5rem;position:relative;font-size:.875rem;font-weight:500;line-height:1.8;margin:0 auto;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;background-color:#fff;-webkit-box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.16862745098039217);box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.16862745098039217)}@media (prefers-color-scheme:dark){.halo-comment{color:#a3a3a3;background-color:#292929;-webkit-box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.3411764705882353);box-shadow:0 .375rem 1rem -.5rem rgba(0,0,0,.3411764705882353)}}.halo-comment a{text-decoration:none;color:#2775b6}.halo-comment input::-webkit-input-placeholder,.halo-comment textarea::-webkit-input-placeholder{color:#7d7d7d}@media (prefers-color-scheme:dark){.halo-comment input::-webkit-input-placeholder,.halo-comment textarea::-webkit-input-placeholder{color:#8c8c8c}}.halo-comment a,.halo-comment abbr,.halo-comment acronym,.halo-comment address,.halo-comment applet,.halo-comment big,.halo-comment blockquote,.halo-comment body,.halo-comment caption,.halo-comment cite,.halo-comment code,.halo-comment dd,.halo-comment del,.halo-comment dfn,.halo-comment div,.halo-comment dl,.halo-comment dt,.halo-comment em,.halo-comment fieldset,.halo-comment figure,.halo-comment form,.halo-comment h1,.halo-comment h2,.halo-comment h3,.halo-comment h4,.halo-comment h5,.halo-comment h6,.halo-comment html,.halo-comment iframe,.halo-comment ins,.halo-comment kbd,.halo-comment label,.halo-comment legend,.halo-comment li,.halo-comment object,.halo-comment ol,.halo-comment p,.halo-comment pre,.halo-comment q,.halo-comment s,.halo-comment samp,.halo-comment small,.halo-comment span,.halo-comment strike,.halo-comment strong,.halo-comment sub,.halo-comment sup,.halo-comment table,.halo-comment tbody,.halo-comment td,.halo-comment tfoot,.halo-comment th,.halo-comment thead,.halo-comment tr,.halo-comment tt,.halo-comment ul,.halo-comment var{border:0;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}.halo-comment ol.comment-nodes,.halo-comment ol.comment-nodes ol{margin:0;padding:0 0 0 2em}.halo-comment ol.comment-nodes{padding:0}.halo-comment ol.comment-nodes ol.children>li{list-style:none;position:relative}.halo-comment ol.comment-nodes ol.children>li:before{color:#d9d9d9;position:absolute;opacity:.5;content:"";top:-5.425em;left:-.5em;width:.3em;height:7em;border-style:none none dashed dashed;border-width:.09em}.halo-comment ol.comment-nodes ol.children>li:not(:last-child):after{color:#d9d9d9;opacity:.5;position:absolute;content:"";top:23px;left:-.5em;bottom:76px;width:.3em;border-style:none none none dashed;border-width:.09em}.halo-comment ol.comment-nodes .comment-editor+ol>li:first-child:before{border-style:none none solid none}.halo-comment button,.halo-comment input,.halo-comment textarea{-webkit-appearance:none;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.halo-comment button:focus,.halo-comment input:focus,.halo-comment textarea:focus{outline:none}.halo-comment ol,.halo-comment ul{list-style:none}.halo-comment .middle{display:inline-block;vertical-align:middle}.halo-comment .avatar{display:block;-o-object-fit:cover;object-fit:cover;border-radius:100%;width:48px;height:48px;cursor:pointer;-webkit-transition:all .8s;transition:all .8s}.halo-comment .avatar:hover{-webkit-transform:rotate(1turn);transform:rotate(1turn)}.halo-comment .comment-editor{position:relative;z-index:1;-webkit-animation:top20 .5s;animation:top20 .5s}.halo-comment .comment-editor .inner{margin:auto;padding:20px 0}.halo-comment .comment-form{margin-left:56px}.halo-comment .comment-form input,.halo-comment .comment-form textarea{-webkit-box-shadow:none;box-shadow:none;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px;resize:vertical;color:#262626;background-color:#fff;border:1px solid #d9d9d9}@media (prefers-color-scheme:dark){.halo-comment .comment-form input,.halo-comment .comment-form textarea{color:#dbdbdb!important;background-color:#292929!important;border:1px solid #434343!important}}.halo-comment .comment-form input:focus,.halo-comment .comment-form textarea:focus{border-color:#ccc}.halo-comment .commentator{position:relative;float:left}.halo-comment .author-info{position:relative;overflow:hidden;margin-bottom:10px}.halo-comment .author-info input{font-size:14px;float:left;width:32%;margin-right:2%}.halo-comment .author-info input#authorUrl{margin:0}.halo-comment .comment-textarea{position:relative;width:100%}.halo-comment .comment-textarea textarea{font-size:13px;line-height:18px;width:100%;min-height:90px;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;color:#000;overflow:hidden;overflow-wrap:break-word}.halo-comment .comment-preview{position:relative;width:100%;min-height:90px;-webkit-box-shadow:none;box-shadow:none;border:1px solid #e1e8ed;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px;margin-bottom:10px;overflow-wrap:break-word}.halo-comment .comment-preview img{max-width:100%}.halo-comment .comment-buttons{font-size:14px;text-align:right;margin-top:10px}.halo-comment .comment-buttons .button-preview-edit,.halo-comment .comment-buttons .button-submit{-webkit-animation:bottom20 .5s;animation:bottom20 .5s;border:none;font-weight:500;padding:6px 18px;text-transform:uppercase;border-radius:4px;display:inline-block;-webkit-transition:all .3s ease 0s;transition:all .3s ease 0s;color:#262626;background-color:#dbdbdb}.halo-comment .comment-buttons .button-preview-edit:hover,.halo-comment .comment-buttons .button-submit:hover{font-weight:700;letter-spacing:3px;background:none;-webkit-box-shadow:0 5px 40px -10px rgba(0,0,0,.57);box-shadow:0 5px 40px -10px rgba(0,0,0,.57);-webkit-transition:all .3s ease 0s;transition:all .3s ease 0s}@media (prefers-color-scheme:dark){.halo-comment .comment-buttons .button-preview-edit:hover,.halo-comment .comment-buttons .button-submit:hover{color:#dbdbdb;background-color:#262626}}.halo-comment .comment-loader-container{-webkit-animation:top20 .5s;animation:top20 .5s;position:relative;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:30px 0}.halo-comment .comment-loader-container .comment-loader-default{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:30px}.halo-comment .comment-loader-container .comment-loader-default span{width:4px;height:15px;background-color:#898c7b}.halo-comment .comment-loader-container .comment-loader-default span:first-of-type{-webkit-animation:grow 1s ease-in-out -.45s infinite;animation:grow 1s ease-in-out -.45s infinite}.halo-comment .comment-loader-container .comment-loader-default span:nth-of-type(2){-webkit-animation:grow 1s ease-in-out -.3s infinite;animation:grow 1s ease-in-out -.3s infinite}.halo-comment .comment-loader-container .comment-loader-default span:nth-of-type(3){-webkit-animation:grow 1s ease-in-out -.15s infinite;animation:grow 1s ease-in-out -.15s infinite}.halo-comment .comment-loader-container .comment-loader-default span:nth-of-type(4){-webkit-animation:grow 1s ease-in-out infinite;animation:grow 1s ease-in-out infinite}@-webkit-keyframes grow{0%,to{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(2);transform:scaleY(2)}}@keyframes grow{0%,to{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(2);transform:scaleY(2)}}.halo-comment .comment-loader-container .comment-loader-circle{border:3px solid #898c7b;border-top-color:#fff;border-radius:50%;width:2.5em;height:2.5em;-webkit-animation:spin .7s linear infinite;animation:spin .7s linear infinite}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.halo-comment .comment-loader-container .comment-loader-balls{width:3.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.halo-comment .comment-loader-container .comment-loader-balls div{width:.7em;height:.7em;border-radius:50%;background-color:#898c7b;-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-animation:wave .7s ease-in-out infinite alternate;animation:wave .7s ease-in-out infinite alternate}.halo-comment .comment-loader-container .comment-loader-balls div:first-of-type{-webkit-animation-delay:-.4s;animation-delay:-.4s}.halo-comment .comment-loader-container .comment-loader-balls div:nth-of-type(2){-webkit-animation-delay:-.2s;animation-delay:-.2s}@-webkit-keyframes wave{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes wave{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.halo-comment .comment-nodes{-webkit-animation:top20 1s;animation:top20 1s;position:relative}.halo-comment .comment-nodes .comment-editor{-webkit-animation:bottom20 .5s;animation:bottom20 .5s}.halo-comment .comment-nodes .comment-editor .inner{padding:7px 0 12px}.halo-comment .comment-empty,.halo-comment .comment-load-button{margin:30px 0;text-align:center}.halo-comment .comment-empty{color:#8899a6}.halo-comment .comment-page{margin-top:30px;text-align:center;border-top:3px solid #f5f8fa}.halo-comment .comment-page .page{display:inline-block;padding:10px 0;margin:0}.halo-comment .comment-page .page li{display:inline;margin-right:5px}.halo-comment .comment-page .page button{margin-bottom:8px;position:relative;font-size:inherit;font-family:inherit;padding:5px 10px;border:1px solid #d9d9d9;border-radius:4px;cursor:pointer;-webkit-transition:all .8s;transition:all .8s;font-weight:400;color:rgba(0,0,0,.65);background-color:#fff}.halo-comment .comment-page .page .active,.halo-comment .comment-page .page button:hover{color:#1890ff;border-color:#1890ff}.halo-comment .comment-nodes .index-1{overflow:hidden;margin-top:30px;padding-bottom:20px;border-bottom:1px solid #d9d9d9}@media (prefers-color-scheme:dark){.halo-comment .comment-nodes .index-1{border-bottom:1px solid #434343}}.halo-comment .comment-nodes .commentator a:after,.halo-comment .comment-nodes .commentator a:before{display:none}.halo-comment .comment-body{position:relative;margin:0 auto;padding:0}.halo-comment .comment-body:hover .comment-reply{display:block}.halo-comment .comment-avatar{position:relative;z-index:1;float:left;padding:0}.halo-comment .contain-main{margin-left:58px}.halo-comment .comment-meta{line-height:1}.halo-comment .comment-meta .useragent-info{margin-top:6px;font-size:12px;color:#595959}@media (prefers-color-scheme:dark){.halo-comment .comment-meta .useragent-info{color:#acacac}}.halo-comment .comment-author{font-size:14px}.halo-comment .comment-author .author-name{font-size:16px;font-weight:700;color:#262626}@media (prefers-color-scheme:dark){.halo-comment .comment-author .author-name{color:#dbdbdb}}.halo-comment .is-admin{margin-left:4px;font-size:14px;cursor:pointer}.halo-comment .comment-time{display:inline-block;margin-top:6px;font-size:12px;color:#595959}@media (prefers-color-scheme:dark){.halo-comment .comment-time{color:#acacac}}.halo-comment .comment-id{display:block;float:right;margin-top:6px;font-size:12px;color:#595959}@media (prefers-color-scheme:dark){.halo-comment .comment-id{color:#acacac}}.halo-comment .comment-content{padding:20px 20px 19px 0;font-size:14px;color:#262626}@media (prefers-color-scheme:dark){.halo-comment .comment-content{color:#dbdbdb}}.halo-comment .comment-content p{margin:0}.halo-comment .comment-content p img{max-width:50%}.halo-comment .comment-reply{display:none;float:right;font-size:12px;color:#fff;padding:1px 5px;border-radius:3px;line-height:1.5;background:#898c7b;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.halo-comment .comment-reply a,.halo-comment .comment-reply a:hover{color:#fff}.halo-comment .comment-alert{margin-top:10px}.halo-comment .alert{-webkit-animation:top20 .5s;animation:top20 .5s;border-radius:4px;padding:8px 16px;background-color:#f44336;color:#fff;opacity:1;-webkit-transition:opacity .6s;transition:opacity .6s;margin-bottom:15px}.halo-comment .alert.success{background-color:#4caf50}.halo-comment .alert.info{background-color:#2196f3}.halo-comment .alert.warning{background-color:#ff9800}.halo-comment .alert .closebtn{margin-left:15px;color:#fff;font-weight:700;float:right;font-size:22px;line-height:16px;cursor:pointer;-webkit-transition:.3s;transition:.3s}.halo-comment .alert .closebtn:hover{color:#000}.halo-comment hr{border:none;border-bottom:1px solid #d9d9d9}@media (prefers-color-scheme:dark){.halo-comment hr{border-bottom:1px solid #434343}}@media only screen and (max-width:576px){.halo-comment .author-info input{width:100%;margin-right:0;margin-bottom:5px}}@-webkit-keyframes top20{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes top20{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes bottom20{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bottom20{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}',""]),e.exports=t},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e998:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SheetClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}list(e){const t=r.buildPath({endpointName:"sheets"});return this.client.get(t,Object.assign({},e))}get(e,t){const n=r.buildPath({endpointName:"sheets/"+e});return this.client.get(n,Object.assign({},t))}getBySlug(e,t){const n=r.buildPath({endpointName:"sheets/slug"});return this.client.get(n,Object.assign({slug:e},t))}listTopComments(e,t){const n=r.buildPath({endpointName:`sheets/${e}/comments/top_view`});return this.client.get(n,Object.assign({},t))}listChildrenComments(e,t,n){const o=r.buildPath({endpointName:`sheets/${e}/comments/${t}/children`});return this.client.get(o,{sort:n})}listCommentsAsTree(e,t){const n=r.buildPath({endpointName:`sheets/${e}/comments/tree_view`});return this.client.get(n,Object.assign({},t))}listComments(e,t){const n=r.buildPath({endpointName:`sheets/${e}/comments/list_view`});return this.client.get(n,Object.assign({},t))}comment(e){const t=r.buildPath({endpointName:"sheets/comments"});return this.client.post(t,Object.assign({},e))}}t.SheetClient=o},f482:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryClient=void 0;const r=n("a8c2");class o{constructor(e){this.client=e}list(e){const t=r.buildPath({endpointName:"categories"});return this.client.get(t,Object.assign({},e))}listPostBySlug(e){const t=r.buildPath({endpointName:`categories/${e.slug}/posts`});return this.client.get(t,Object.assign({},e))}}t.CategoryClient=o},f6b4:function(e,t,n){"use strict";var r=n("c532");function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},f9af:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"comment",class:e.commentClass,attrs:{id:"li-comment-"+e.comment.id,itemprop:"comment",itemtype:"http://schema.org/Comment"}},[n("div",{staticClass:"comment-body",attrs:{id:"comment-"+e.comment.id}},[n("div",{staticClass:"comment-avatar"},[n("a",{attrs:{href:""+(e.comment.authorUrl?e.comment.authorUrl:"javascript:void(0)"),rel:"nofollow",target:"_blank"}},[n("img",{staticClass:"avatar",attrs:{alt:e.comment.author+"'s avatar",src:e.avatar}})])]),n("div",{staticClass:"contain-main"},[n("div",{staticClass:"comment-meta"},[n("div",{staticClass:"comment-author",attrs:{itemprop:"author"}},[n("a",{staticClass:"author-name",attrs:{href:e.comment.authorUrl,rel:"nofollow",target:"_blank"}},[e._v(e._s(e.comment.author))]),n("span",{staticClass:"comment-reply",staticStyle:{cursor:"pointer"},style:e.editing?"display:block;":"",on:{click:e.handleReplyClick}},[e._v(e._s(e.editing?"取消回复":"回复"))]),e.comment.isAdmin?n("span",{staticClass:"is-admin"},[n("svg",{staticClass:"icon",attrs:{height:"14",version:"1.1",viewBox:"0 0 1024 1024",width:"14",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z m0 896c-212.032 0-384-171.968-384-384S299.968 128 512 128s384 171.968 384 384-171.968 384-384 384z m94.08-513.408L512 192.064l-94.016 190.528-210.304 30.592 152.192 148.288-35.968 209.344L512 672l188.032 98.88-35.904-209.344 152.128-148.288-210.176-30.656z",fill:"#1296db","p-id":"6998"}})])]):e._e(),e.configs.showUserAgent?n("div",{staticClass:"useragent-info"},[e._v(" "+e._s(e.compileUserAgent)+" ")]):e._e()]),n("time",{staticClass:"comment-time",attrs:{datetime:e.comment.createTime,itemprop:"datePublished"}},[e._v(e._s(e.createTimeAgo))]),n("a",{staticClass:"comment-id",attrs:{href:"#comment-"+e.comment.id}},[e._v("#"+e._s(e.comment.id))])]),n("div",{staticClass:"comment-content markdown-body",attrs:{itemprop:"description"},domProps:{innerHTML:e._s(e.compileContent)}})])]),e.editing?n("comment-editor",{attrs:{configs:e.configs,options:e.options,replyComment:e.comment,target:e.target,targetId:e.targetId}}):e._e(),e.comment.children?n("ol",{staticClass:"children"},[e._l(e.comment.children,(function(t,r){return[n("CommentNode",{key:r,attrs:{comment:t,configs:e.configs,isChild:!0,options:e.options,parent:e.comment,target:e.target,targetId:e.targetId}})]}))],2):e._e()],1)},o=[],i=(n("2af9"),n("ca00")),a=n("2b80"),s=n.n(a),u=n("0e54"),l=n.n(u),c={name:"CommentNode",props:{isChild:{type:Boolean,required:!1,default:!1},targetId:{type:Number,required:!1,default:0},target:{type:String,required:!1,default:"posts",validator:function(e){return-1!==["posts","sheets","journals"].indexOf(e)}},parent:{type:Object,required:!1},comment:{type:Object,required:!1,default:function(){}},options:{type:Object,required:!1,default:function(){}},configs:{type:Object,required:!0}},data:function(){return{editing:!1}},computed:{avatar:function(){var e=this.options.comment_gravatar_default,t=this.options.gravatar_source||"//cn.gravatar.com/avatar/";return this.comment.avatar?this.comment.avatar:"".concat(t).concat(this.comment.gravatarMd5,"?s=256&d=").concat(e)},compileContent:function(){var e="";return this.parent&&(e="[@".concat(this.parent.author,"](#comment-").concat(this.parent.id,")")),l()(e+" "+this.comment.content)},createTimeAgo:function(){return Object(i["c"])(this.comment.createTime)},compileUserAgent:function(){var e=new s.a;e.setUA(this.comment.userAgent);var t=e.getResult();return t.browser.name+" in "+t.os.name+" "+t.os.version},commentClass:function(){var e=this.isChild?" ":" index-1";return" li-comment-"+this.comment.id+e}},methods:{handleReplyClick:function(){this.editing=!this.editing}}},d=c,p=n("2877"),f=Object(p["a"])(d,r,o,!1,null,null,null,!0);t["default"]=f.exports}}); \ No newline at end of file