sinzmise-cetastories 1.7.0-1719902691827 → 1.7.0-1719904189580
Sign up to get free protection for your applications and to get access to all the features.
- package/404/index.html +1 -1
- package/404.html +1 -1
- package/about/index.html +1 -1
- package/album/index.html +1 -1
- package/archives/2021/12/index.html +1 -1
- package/archives/2021/index.html +1 -1
- package/archives/2022/12/index.html +1 -1
- package/archives/2022/index.html +1 -1
- package/archives/2023/01/index.html +1 -1
- package/archives/2023/02/index.html +1 -1
- package/archives/2023/03/index.html +1 -1
- package/archives/2023/04/index.html +1 -1
- package/archives/2023/07/index.html +1 -1
- package/archives/2023/08/index.html +1 -1
- package/archives/2023/09/index.html +1 -1
- package/archives/2023/10/index.html +1 -1
- package/archives/2023/11/index.html +1 -1
- package/archives/2023/12/index.html +1 -1
- package/archives/2023/index.html +1 -1
- package/archives/2023/page/2/index.html +1 -1
- package/archives/2023/page/3/index.html +1 -1
- package/archives/2024/01/index.html +1 -1
- package/archives/2024/02/index.html +1 -1
- package/archives/2024/03/index.html +1 -1
- package/archives/2024/04/index.html +1 -1
- package/archives/2024/05/index.html +1 -1
- package/archives/2024/06/index.html +1 -1
- package/archives/2024/index.html +1 -1
- package/archives/2024/page/2/index.html +1 -1
- package/archives/index.html +1 -1
- package/archives/page/2/index.html +1 -1
- package/archives/page/3/index.html +1 -1
- package/archives/page/4/index.html +1 -1
- package/article.json +1 -1
- package/atom.xml +45 -46
- package/baidu_verify_codeva-NA6uDlCuZg.html +1 -1
- package/baidusitemap.xml +40 -36
- package/bangumis/index.html +1 -1
- package/bbs/index.html +1 -1
- package/categories/Test/index.html +1 -0
- package/categories/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/charts/index.html +1 -1
- package/comments/index.html +1 -1
- package/en/404.html +72 -0
- package/en/archives/2023/12/index.html +72 -0
- package/en/archives/2023/index.html +72 -0
- package/en/archives/index.html +72 -0
- package/en/article.json +1 -0
- package/en/assets/algolia/algoliasearch.js +10 -0
- package/en/assets/algolia/algoliasearch.min.js +4 -0
- package/en/assets/algolia/algoliasearchLite.js +10 -0
- package/en/assets/algolia/algoliasearchLite.min.js +3 -0
- package/en/atom.xml +44 -0
- package/en/baidusitemap.xml +7 -0
- package/en/bangumis/index.html +72 -0
- package/en/categories/Test/index.html +72 -0
- package/en/categories/index.html +1 -1
- package/en/css/404.css +1 -0
- package/en/css/anzhiyu-var.css +1 -0
- package/en/css/bywind-var.css +1 -0
- package/en/css/categoryBar.css +1 -0
- package/en/css/console.css +1 -0
- package/en/css/custom.css +1 -0
- package/en/css/essay_page.css +1 -0
- package/en/css/footer.css +1 -0
- package/en/css/heo-var.css +1 -0
- package/en/css/icat-var.css +1 -0
- package/en/css/iconfont.css +1 -0
- package/en/css/iconfont.ttf +0 -0
- package/en/css/iconfont.woff +0 -0
- package/en/css/iconfont.woff2 +0 -0
- package/en/css/index.css +1 -0
- package/en/css/orlike.css +1 -0
- package/en/css/rightmenu.css +1 -0
- package/en/css/var.css +0 -0
- package/en/img/404.jpg +0 -0
- package/en/img/favicon.png +0 -0
- package/en/img/footer-social-link.svg +1 -0
- package/en/img/friend_404.gif +0 -0
- package/en/index.html +72 -0
- package/en/js/about.js +1 -0
- package/en/js/categoryBar.js +1 -0
- package/en/js/comments.js +1 -0
- package/en/js/console.js +1 -0
- package/en/js/custom/fixed_card_widget.js +1 -0
- package/en/js/custom.js +69 -0
- package/en/js/day.js +1 -0
- package/en/js/fps.js +1 -0
- package/en/js/hometop.js +1 -0
- package/en/js/lunar.js +1 -0
- package/en/js/main.js +1 -0
- package/en/js/nav.js +1 -0
- package/en/js/orlike.js +1 -0
- package/en/js/owobig.js +1 -0
- package/en/js/random-friends-post.js +1 -0
- package/en/js/randompost.js +1 -0
- package/en/js/rightmenu.js +1 -0
- package/en/js/sakura.js +1 -0
- package/en/js/search/algolia.js +1 -0
- package/en/js/search/local-search.js +1 -0
- package/en/js/tw_cn.js +1 -0
- package/en/js/utils.js +1 -0
- package/en/js/waterfall/waterfall.js +1 -0
- package/en/js/welcome.js +1 -0
- package/en/lib/tag_plugins.css +1 -0
- package/en/posts/46521/index.html +72 -0
- package/en/robots.txt +12 -0
- package/en/sitemap.xml +56 -0
- package/en/tags/Test/index.html +72 -0
- package/en/tags/index.html +1 -1
- package/essay/index.html +1 -1
- package/fcircle/index.html +1 -1
- package/google8073542809160a67.html +1 -1
- package/index.html +1 -1
- package/js/randompost.js +1 -1
- package/link/index.html +1 -1
- package/music/index.html +1 -1
- package/package.json +1 -1
- package/page/2/index.html +1 -1
- package/page/3/index.html +1 -1
- package/page/4/index.html +1 -1
- package/posts/10021/index.html +1 -1
- package/posts/10045/index.html +1 -1
- package/posts/10996/index.html +1 -1
- package/posts/12779/index.html +1 -1
- package/posts/13624/index.html +1 -1
- package/posts/15748/index.html +1 -1
- package/posts/15842/index.html +1 -1
- package/posts/16107/index.html +1 -1
- package/posts/18063/index.html +1 -1
- package/posts/20412/index.html +1 -1
- package/posts/21375/index.html +1 -1
- package/posts/22945/index.html +1 -1
- package/posts/23021/index.html +1 -1
- package/posts/27531/index.html +1 -1
- package/posts/27762/index.html +1 -1
- package/posts/28536/index.html +1 -1
- package/posts/28733/index.html +1 -1
- package/posts/29196/index.html +1 -1
- package/posts/38917/index.html +1 -1
- package/posts/38964/index.html +1 -1
- package/posts/42487/index.html +1 -1
- package/posts/42580/index.html +1 -1
- package/posts/45875/index.html +1 -1
- package/posts/46521/index.html +1 -0
- package/posts/48762/index.html +1 -1
- package/posts/50710/index.html +1 -1
- package/posts/52677/index.html +1 -1
- package/posts/53662/index.html +1 -1
- package/posts/54386/index.html +1 -1
- package/posts/54481/index.html +1 -1
- package/posts/54787/index.html +1 -1
- package/posts/56467/index.html +1 -1
- package/posts/57692/index.html +1 -1
- package/posts/58203/index.html +1 -1
- package/posts/61417/index.html +1 -1
- package/posts/646/index.html +1 -1
- package/seas/index.html +1 -1
- package/sitemap.xml +76 -53
- package/sw.js +1 -1
- package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
- package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
- package/tags/Test/index.html +1 -0
- package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
- package/tags/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
- package/tags//346/202/254/346/265/256/345/256/240/347/211/251-/347/234/213/346/235/277/345/250/230/index.html +1 -1
- package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
- package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
- package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/update/index.html +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
.orlike{color:rgba(255,255,255);font-size:26px!important;line-height:2;text-shadow:5px 5px 5px #2ed0d9fc}[data-theme=dark] .orlike{color:rgba(255,255,255,.85);text-shadow:4px 4px 4px #23a8af99}.orlike:first-child{margin-right:36px}.orlike span{margin-left:.3rem}.orlike-box{margin:15px 0 0 0;display:flex;width:100%;flex-direction:row;flex-wrap:nowrap;justify-content:center;position:relative;overflow:hidden;height:52px}.orlike:hover{color:#f07e7e!important}[data-theme=dark] .orlike:hover{color:#e87373e8!important}.orlike-loading{display:block;height:39px;width:10px!important;border-radius:50%;border:2px solid #acacac;border-bottom-color:transparent;-webkit-animation:orlike-loadingRotate .75s linear infinite;animation:orlike-loadingRotate .75s linear infinite}@-webkit-keyframes orlike-loadingRotate{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes orlike-loadingRotate{0%{transform:rotate(0)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}
|
@@ -0,0 +1 @@
|
|
1
|
+
#rightMenu{display:none;position:fixed;width:160px;height:fit-content;top:10%;left:10%;background-color:var(--card-bg);border:1px solid var(--font-color);border-radius:8px;z-index:100}#rightMenu .rightMenu-group{padding:7px 6px}#rightMenu .rightMenu-group:not(:nth-last-child(1)){border-bottom:1px solid var(--font-color)}#rightMenu .rightMenu-group.rightMenu-small{display:flex;justify-content:space-between}#rightMenu .rightMenu-group .rightMenu-item{height:30px;line-height:30px;border-radius:8px;transition:.3s;color:var(--font-color)}#rightMenu .rightMenu-group.rightMenu-line .rightMenu-item{display:flex;height:40px;line-height:40px;padding:0 4px}#rightMenu .rightMenu-group .rightMenu-item:hover{background-color:var(--text-bg-hover)}#rightMenu .rightMenu-group .rightMenu-item i{display:inline-block;text-align:center;line-height:30px;width:30px;height:30px;padding:0 5px}#rightMenu .rightMenu-group .rightMenu-item span{line-height:30px}#rightMenu .rightMenu-group.rightMenu-line .rightMenu-item *{height:40px;line-height:40px}.rightMenu-group.hide{display:none}
|
package/en/css/var.css
ADDED
File without changes
|
package/en/img/404.jpg
ADDED
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1714556925615" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9221" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M226.885632 81.92h570.228736a74.000384 74.000384 0 0 1 74.05568 73.945088L991.232 868.134912A74.000384 74.000384 0 0 1 917.17632 942.08H106.82368A74.000384 74.000384 0 0 1 32.768 868.134912L152.829952 155.865088A74.000384 74.000384 0 0 1 226.885632 81.92z" fill="#027b9a" p-id="9222"></path></svg>
|
Binary file
|
package/en/index.html
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
<!DOCTYPE html><html lang="en" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><title>Ceta Storical House - A magical cottage from the starry sky</title><meta name="author" content="SZ·Ninty·Ong"><meta name="copyright" content="SZ·Ninty·Ong"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><link rel="authorization_endpoint" href="https://indieauth.com/auth"><link rel="token_endpoint" href="https://tokens.indieauth.com/token"><link rel="webmention" href="https://webmention.io/blog.sinzmise.top/webmention"><meta name="description" content="The Story,The Dream."><meta property="og:type" content="website"><meta property="og:title" content="Ceta Storical House"><meta property="og:url" content="https://blog.sinzmise.top/en/"><meta property="og:site_name" content="Ceta Storical House"><meta property="og:description" content="The Story,The Dream."><meta property="og:locale" content="en_US"><meta property="og:image" content="https://blog.sinzmise.top/en/img/avatar.png"><meta property="article:author" content="SZ·Ninty·Ong"><meta name="twitter:card" content="summary"><meta name="twitter:image" content="https://blog.sinzmise.top/en/img/avatar.png"><link rel="shortcut icon" href="/img/icon-dark.png"><link rel="canonical" href="https://blog.sinzmise.top/en/"><link rel="preconnect"><link rel="preconnect" href="//www.google-analytics.com" crossorigin=""><link rel="preconnect" href="//hm.baidu.com"><link rel="preconnect" href="//static.cloudflareinsights.com"><link rel="preconnect" href="//busuanzi.ibruce.info"><link rel="preconnect" href="//sdk.51.la"><meta name="baidu-site-verification" content="codeva-NA6uDlCuZg"><meta name="msvalidate.01" content="18428535B4425286753107589FC35E79"><meta name="google-site-verification" content="H2O2-443XGKJh5l1ik9o6ZgFmcBEf9AKSoMRRlNIltQ"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-wowjs/lib/animate.min.css" media="print" onload='this.media="all"'><link rel="manifest" href="/manifest.json"><meta name="msapplication-TileColor" content="var(--anzhiyu-main)"><link rel="mask-icon" href="/img/siteicon/safari-pinned-tab.svg" color="#5bbad5"><link rel="apple-touch-icon" sizes="180x180" href="/img/siteicon/apple-touch-icon.png"><link rel="apple-touch-icon-precomposed" sizes="180x180" href="/img/siteicon/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/img/siteicon/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/siteicon/favicon-16x16.png"><link rel="bookmark" href="/img/siteicon/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1668-2388.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1290-2796.jpg" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2796-1290.jpg" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1179-2556.jpg" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2556-1179.jpg" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload='this.media="all"'><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/anzhiyu-theme-static/icon/ali_iconfont_css.min.css"><link rel="stylesheet" href="//at.alicdn.com/t/c/font_4199232_gh7up2nbg3c.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/tag_plugins.min.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/assets/font-awesome-animation.min.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/node-snackbar/dist/snackbar.min.css" media="print" onload='this.media="all"'><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload='this.media="all"'><script>var _hmt=_hmt||[];!function(){var e=document.createElement("script");e.src="https://hm.baidu.com/hm.js?59986c9d6715c06178a2b6e2f118f837";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()</script><script async src="https://www.googletagmanager.com/gtag/js?id=G-7MR59SK1DP"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-7MR59SK1DP")</script><script defer data-pjax="data-pjax" src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon="{"token": "9156db3f439e470d9c3e7bf91a7aa995"}"></script><script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script><script>LA.init({id:"K9WDMA2h2AfDg5GG",ck:"K9WDMA2h2AfDg5GG",autoTrack:!0,hashMode:!0})</script><script src="https://sdk.51.la/perf/js-sdk-perf.min.js" crossorigin="anonymous"></script><script>(new LingQue.Monitor).init({id:"K94JRCDsbHJJSjNs"})</script><script>const GLOBAL_CONFIG = {
|
2
|
+
root: '/',
|
3
|
+
algolia: undefined,
|
4
|
+
localSearch: undefined,
|
5
|
+
translate: undefined,
|
6
|
+
noticeOutdate: undefined,
|
7
|
+
highlight: undefined,
|
8
|
+
postHeadAiDescription: {"enable":true,"gptName":"MagicRing","mode":"tianli","switchBtn":false,"btnLink":"https://afdian.net/item/886a79d4db6711eda42a52540025c377","randomNum":1,"basicWordCount":1000,"key":"3782872dfbfe495c1c52","Referer":"https://blog.sinzmise.top/"},
|
9
|
+
date: '2021/12/17 14:53:11',
|
10
|
+
copy: {
|
11
|
+
success: 'Copy successfully',
|
12
|
+
error: 'Copy error',
|
13
|
+
noSupport: 'The browser does not support'
|
14
|
+
},
|
15
|
+
relativeDate: {
|
16
|
+
homepage: false,
|
17
|
+
post: false
|
18
|
+
},
|
19
|
+
runtime: '',
|
20
|
+
date_suffix: {
|
21
|
+
just: 'Just',
|
22
|
+
min: 'minutes ago',
|
23
|
+
hour: 'hours ago',
|
24
|
+
day: 'days ago',
|
25
|
+
month: 'months ago'
|
26
|
+
},
|
27
|
+
copyright: {"limitCount":50,"languages":{"author":"Author: SZ·Ninty·Ong","link":"Link: ","source":"Source: Ceta Storical House","info":"Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source."}},
|
28
|
+
lightbox: 'fancybox',
|
29
|
+
Snackbar: {"chs_to_cht":"Traditional Chinese Activated Manually","cht_to_chs":"Simplified Chinese Activated Manually","day_to_night":"Dark Mode Activated Manually","night_to_day":"Light Mode Activated Manually","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"top-left"},
|
30
|
+
source: {
|
31
|
+
justifiedGallery: {
|
32
|
+
js: 'https://jsd.cdn.storisinz.site/npm/flickr-justified-gallery/dist/fjGallery.min.js',
|
33
|
+
css: 'https://jsd.cdn.storisinz.site/npm/flickr-justified-gallery/dist/fjGallery.min.css'
|
34
|
+
}
|
35
|
+
},
|
36
|
+
isPhotoFigcaption: false,
|
37
|
+
islazyload: true,
|
38
|
+
isAnchor: false,
|
39
|
+
percent: {
|
40
|
+
toc: true,
|
41
|
+
rightside: false,
|
42
|
+
},
|
43
|
+
player: {
|
44
|
+
key: '661a038c31f2b',
|
45
|
+
mobile: '1'
|
46
|
+
},
|
47
|
+
uiversion: "v1.7.0"
|
48
|
+
}
|
49
|
+
const GLOBAL_LANG = {
|
50
|
+
fps: {
|
51
|
+
normal1: 'Very Good',
|
52
|
+
normal2: 'Good',
|
53
|
+
laggy1: 'Normal',
|
54
|
+
laggy2: 'Bad',
|
55
|
+
laggy3: 'Very Bad',
|
56
|
+
laggy4: 'What????'
|
57
|
+
},
|
58
|
+
about: {
|
59
|
+
comments: ' comments',
|
60
|
+
introduction: ["测试一下","测试",233],
|
61
|
+
comment_error: 'Error: The total comment count function cannot obtain the correct element. Please check if the page is functioning properly!',
|
62
|
+
stats:{
|
63
|
+
today_users: 'Visitor numbers (today)',
|
64
|
+
today_uv: 'Today's Visits',
|
65
|
+
yesterday_users: 'Visitor numbers (yesterday)',
|
66
|
+
yesterday_uv: 'Yesterday's Visits',
|
67
|
+
month_uv: 'Visits this month',
|
68
|
+
recent: 'Recent Visits',
|
69
|
+
years: 'Stable operation for ${q} years'
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE={title:"Ceta Storical House",isPost:!1,isHome:!0,isHighlightShrink:!1,isToc:!1,postUpdate:"2024-07-02 07:09:15"}</script><noscript><style>#nav{opacity:1}.justified-gallery img{opacity:1}#post-meta time,#recent-posts time{display:inline!important}</style></noscript><script src="https://jsd.cdn.storisinz.site/npm/jquery/dist/jquery.min.js"></script><script>(e=>{e.saveToLocal={set:function(e,t,o){if(0===o)return;const a=864e5*o,n={value:t,expiry:(new Date).getTime()+a};localStorage.setItem(e,JSON.stringify(n))},get:function(e){const t=localStorage.getItem(e);if(!t)return;const o=JSON.parse(t);if(!((new Date).getTime()>o.expiry))return o.value;localStorage.removeItem(e)}},e.getScript=e=>new Promise(((t,o)=>{const a=document.createElement("script");a.src=e,a.async=!0,a.onerror=o,a.onload=a.onreadystatechange=function(){const e=this.readyState;e&&"loaded"!==e&&"complete"!==e||(a.onload=a.onreadystatechange=null,t())},document.head.appendChild(a)})),e.getCSS=e=>new Promise(((t,o)=>{const a=document.createElement("link");a.rel="stylesheet",a.href=e,a.onload=()=>t(),a.onerror=()=>o(),document.head.appendChild(a)})),e.activateDarkMode=function(){document.documentElement.setAttribute("data-theme","dark"),null!==document.querySelector('meta[name="theme-color"]')&&document.querySelector('meta[name="theme-color"]').setAttribute("content","#0d0d0d")},e.activateLightMode=function(){document.documentElement.setAttribute("data-theme","light"),null!==document.querySelector('meta[name="theme-color"]')&&document.querySelector('meta[name="theme-color"]').setAttribute("content","#ffffff")};const t=saveToLocal.get("theme"),o=window.matchMedia("(prefers-color-scheme: dark)").matches,a=window.matchMedia("(prefers-color-scheme: light)").matches,n=window.matchMedia("(prefers-color-scheme: no-preference)").matches,c=!o&&!a&&!n;if(void 0===t){if(a)activateLightMode();else if(o)activateDarkMode();else if(n||c){const e=(new Date).getHours();e<=6||e>=18?activateDarkMode():activateLightMode()}window.matchMedia("(prefers-color-scheme: dark)").addListener((function(e){void 0===saveToLocal.get("theme")&&(e.matches?activateDarkMode():activateLightMode())}))}else"light"===t?activateLightMode():activateDarkMode();const d=saveToLocal.get("aside-status");void 0!==d&&("hide"===d?document.documentElement.classList.add("hide-aside"):document.documentElement.classList.remove("hide-aside"));/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)&&document.documentElement.classList.add("apple")})(window)</script><link rel="stylesheet" href="/css/custom.css"><link rel="stylesheet" href="/css/custom2.css"><link rel="stylesheet" href="/css/anzhiyu-var.css"><link rel="stylesheet" href="/css/heo-var.css"><link rel="stylesheet" href="/css/bywind-var.css"><link rel="stylesheet" href="/css/icat-var.css"><link rel="stylesheet" href="https://cdn2.codesign.qq.com/icons/XMx86jzlQw0brz3/latest/iconfont.css"><link rel="stylesheet" href="/css/rightmenu.css"><link rel="stylesheet" href="/css/iconfont.css"><link rel="stylesheet" href="/css/categoryBar.css"><script async src="/js/categoryBar.js"></script><link rel="stylesheet" href="/css/orlike.css"><link rel="stylesheet" href="/css/footer.css"><link rel="stylesheet" href="/css/404.css"><link rel="stylesheet" href="/css/plane.css"><link rel="stylesheet" href="/css/console.css"><style id="settingStyle"></style><style id="css"></style><style id="yjjs"></style><style id="themeColor"></style><meta name="generator" content="Hexo 7.3.0"><link rel="alternate" href="/atom.xml" title="Ceta Storical House" type="application/atom+xml"></head><body><div class="float-box left top"></div><div class="float-box left bottom"></div><div class="float-box right top"></div><div class="float-box right bottom"></div><div id="loading-box" onclick="preloader.endLoading()"><div class="loader-wrapper"><div class="container"><div class="circle"></div><div class="circle"></div><div class="circle"></div></div><div id="preload"><span></span><span></span><span></span><span></span><span></span><span></span></div></div></div><script>const preloader={endLoading:()=>{document.body.style.overflow="auto",document.getElementById("loading-box").classList.add("loaded"),setTimeout((()=>{document.getElementById("loading-box").style.display="none"}),1e3)},initLoading:()=>{document.body.style.overflow="",document.getElementById("loading-box").style.display="block",document.getElementById("loading-box").classList.remove("loaded")}};window.addEventListener("load",(()=>{preloader.endLoading()})),document.addEventListener("pjax:send",(()=>{preloader.initLoading()})),document.addEventListener("pjax:complete",(()=>{preloader.endLoading()}))</script><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/pace-js/themes/blue/pace-theme-minimal.min.css"><script src="https://jsd.cdn.storisinz.site/npm/pace-js/pace.min.js"></script><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/avatar.png" onerror='onerror=null,src="/img/friend_404.gif"' alt="avatar"></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">Articles</div><div class="length-num">1</div></a><a href="/tags/"><div class="headline">Tags</div><div class="length-num">1</div></a><a href="/categories/"><div class="headline">Categories</div><div class="length-num">1</div></a><a href="/comments/"><div class="headline">评论</div><div class="length-num icat-pe-comment">0</div></a></div><hr><div class="menus_items"><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-wenzhang"></use></svg> <span>Site</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/archives/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-a-xiangzishouna"></use></svg> <span>Archives</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/categories/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei"></use></svg> <span>Categories</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/tags/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei-copy"></use></svg> <span>Tags</span></a></li></ul></div></div></div></div><div class="page" id="body-wrap"><header class="not-top-img nav-fixed" id="page-header"><nav id="nav"><span id="blog-info"><a href="/" title="Ceta Storical House"><img class="site-logo" src="/img/icon-dark.png"></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-wenzhang"></use></svg> <span>Site</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/archives/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-a-xiangzishouna"></use></svg> <span>Archives</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/categories/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei"></use></svg> <span>Categories</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/tags/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei-copy"></use></svg> <span>Tags</span></a></li></ul></div></div><center id="name-container"><a id="page-name" href="javascript:rmf.scrollToTop()">PAGE_NAME</a></center></div><div id="nav-right"><div id="travellings"><a class="site-page" target="_blank" rel="noopener" href="https://www.travellings.cn/go.html" title="随机前往一个开往项目网站"><i class="fas fa-train fa-fw"></i></a></div><div id="random"><a class="site-page" href="javascript:toRandomPost()" title="随机前往一个文章"><i class="fas fa-paper-plane fa-fw"></i></a></div><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i></a></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav></header><div id="home_top"><div class="recent-top-post-group" id="recent-top-post-group"><div class="recent-post-top" id="recent-post-top"><div id="bannerGroup"><div id="banners"><div class="banners-title"><div class="banners-title-big">Plant the seeds of a story</div><div class="banners-title-big">As magic takes root and sprouts</div><div class="banners-title-small">Welcome to the Story Magic House</div></div><div class="tags-group-all"><div class="tags-group-wrapper"><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background:purple"><img src="https://jsd.onmicrosoft.cn/gh/SinzMise/picx-images-hosting@master/20230705/R-C.1r7tcfvvyaao.webp" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="PHP" alt="PHP"></div><div class="tags-group-icon" style="background:#fff"><img src="https://bu.dusays.com/2023/04/09/643293b1184e9.jpg" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="Java" alt="Java"></div></div><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background:#4082c3"><img src="https://bu.dusays.com/2022/12/15/639aa3a5c240e.png" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="Photoshop" alt="Photoshop"></div><div class="tags-group-icon" style="background:#333"><img src="https://jsd.onmicrosoft.cn/npm/anzhiyu-blog@2.1.1/img/svg/node-logo.svg" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="Node" alt="Node"></div></div><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background:#fff"><img src="https://bu.dusays.com/2023/04/09/643293b1230f7.png" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="Python" alt="Python"></div><div class="tags-group-icon" style="background:#2c51db"><img src="https://bu.dusays.com/2022/12/15/639aa3a5c251e.png" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="CSS3" alt="CSS3"></div></div><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background:#f7cb4f"><img src="https://bu.dusays.com/2023/04/09/643293b121f02.png" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="JS" alt="JS"></div><div class="tags-group-icon" style="background:#e9572b"><img src="https://bu.dusays.com/2022/12/15/639aa3a5c241c.png" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="HTML" alt="HTML"></div></div><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background:purple"><img src="https://jsd.onmicrosoft.cn/gh/SinzMise/picx-images-hosting@master/20230705/R-C.1r7tcfvvyaao.webp" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="PHP" alt="PHP"></div><div class="tags-group-icon" style="background:#fff"><img src="https://bu.dusays.com/2023/04/09/643293b1184e9.jpg" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="Java" alt="Java"></div></div><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background:#4082c3"><img src="https://bu.dusays.com/2022/12/15/639aa3a5c240e.png" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="Photoshop" alt="Photoshop"></div><div class="tags-group-icon" style="background:#333"><img src="https://jsd.onmicrosoft.cn/npm/anzhiyu-blog@2.1.1/img/svg/node-logo.svg" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="Node" alt="Node"></div></div><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background:#fff"><img src="https://bu.dusays.com/2023/04/09/643293b1230f7.png" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="Python" alt="Python"></div><div class="tags-group-icon" style="background:#2c51db"><img src="https://bu.dusays.com/2022/12/15/639aa3a5c251e.png" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="CSS3" alt="CSS3"></div></div><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background:#f7cb4f"><img src="https://bu.dusays.com/2023/04/09/643293b121f02.png" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="JS" alt="JS"></div><div class="tags-group-icon" style="background:#e9572b"><img src="https://bu.dusays.com/2022/12/15/639aa3a5c241c.png" onerror="this.onerror=null,this.src="/img/friend_404.gif"" title="HTML" alt="HTML"></div></div></div></div><a id="banner-hover" onclick="toRandomPost()"><span class="bannerText">随便逛逛</span><i class="fas fa-arrow-right banner-righticon"></i></a></div><div class="categoryGroup"><div class="categoryItem" style="box-shadow:var(--bywind-shadow-green)"><a class="categoryButton CB1 green" href="/categories/writing/"><span class="categoryButtonText">Writing</span><i class="fa fa-book"></i></a></div></div></div><div class="topGroup"><div class="topgroups"><div class="recent-post-item"><div class="post_cover left_radius"><a href="/posts/46521/" title="En Test"><span class="recent-post-top-text" onclick="pjax.loadUrl("posts/46521/")">荐</span><img class="post_bg entered loaded" src="/" onerror='this.onerror=null,this.src="/img/404.jpg"'></a></div><div class="recent-post-info" onclick="pjax.loadUrl("posts/46521/")"><a class="article-title" href="/posts/46521/" title="En Test">En Test</a></div></div></div><div class="todayCard" id="todayCard" onclick="pjax.loadUrl(/en/)" style="z-index:1"><div class="todayCard-info"><div class="todayCard-tips">Hello!</div><div class="todayCard-title">This is en page!</div></div><div class="todayCard-cover" style="background:url(https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240131/20.34xsj1b9tek0.webp) no-repeat center/cover" onerror="this.onerror=null,this.src="/img/404.png""></div><div class="banner-button-group"><a class="banner-button" onclick="window.event.cancelBubble=!0,bywind.hideTodayCard()"><i class="hnfont icon-add-circle-fill"></i><span class="banner-button-text">更多推荐</span></a></div></div></div></div></div></div><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div id="category-bar"><div class="category-bar-items" id="category-bar-items"><div class="category-bar-item" id="Test"><a href="/categories/Test/">Test</a></div></div><a class="category-bar-more" href="/categories/">更多</a></div><div class="recent-post-item"><span class="newPost-right">最新文章</span><span class="updatePost-right">最近更新</span><div class="post_cover left"><a href="/posts/46521/" title="En Test"><img class="post-bg" src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_pCoykBCYbk.png" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="En Test"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/46521/" title="En Test">En Test</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2023-12-30T17:36:56.000Z" title="Created 2023-12-30 17:36:56">2023-12-30</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/Test/">Test</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a class="twikoo-count" href="/posts/46521/#post-comment"><i class="fa-solid fa-spinner fa-spin"></i></a> <span class="article-meta-label">comments</span></span></div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info h-card"><div class="is-center"><div class="avatar-img"><img class="u-photo" src="/img/avatar.png" onerror='this.onerror=null,this.src="/img/friend_404.gif"' alt="avatar"></div><div class="author-info__name p-name">SZ·Ninty·Ong</div><div class="author-info__description p-note">The Story,The Dream.</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">Articles</div><div class="length-num">1</div></a><a href="/tags/"><div class="headline">Tags</div><div class="length-num">1</div></a><a href="/categories/"><div class="headline">Categories</div><div class="length-num">1</div></a><a href="/comments/"><div class="headline">Comments</div><div class="length-num icat-pc-comment">0</div></a></div><div class="card-info-social-icons is-center"><a class="social-icon u-url" href="https://www.sinzmise.top/" target="_blank" title="Home" rel="me"><i class="fas fa-house"></i></a><a class="social-icon u-url" href="https://github.com/SinzMise" target="_blank" title="Github" rel="me"><i class="fab fa-github"></i></a><a class="social-icon u-email" href="mailto:email@sinzmise.top" target="_blank" title="Email" rel="me"><i class="fas fa-envelope"></i></a></div></div><div class="card-widget card-clock-weather"><div class="item-headline"><i class="iconfont icon-pjh-shijian"></i><span>时间</span></div><div class="item-content"><canvas id="canvas" style="width:100%" width="100%" height="150"></canvas><script src="/js/clock.js"></script><div id="weather"></div></div></div><div class="card-widget card-clock-kickass"><div class="item-headline"><i class="iconfont icon-pjh-fasong"></i><span>Kick Ass</span></div><div class="item-content"><img src="https://cdn.jsdmirror.com/npm/pzai-staticr@1.0.2/blog/img/planeBg.png" style="width:100%"><div class="planeOpt"><p>退出:<kbd>esc</kbd></p><p>方向控制: <kbd>←</kbd><kbd>↑</kbd><kbd>→</kbd></p><p>射击:<kbd>Space</kbd></p><p>轰炸:<kbd>B</kbd></p><div style="display:flex;justify-content:center"><button onclick='const s=document.createElement("script");s.type="text/javascript",document.body.appendChild(s),s.src="/js/plane.js"'><div class="svg-wrapper-1"><div class="svg-wrapper"><svg height="20" width="20" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"></path><path d="M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685z" fill="currentColor"></path></svg></div></div><span>开始游戏</span></button></div></div></div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>Recent Post</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/posts/46521/" title="En Test"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_pCoykBCYbk.png" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="En Test"></a><div class="content"><a class="title" href="/posts/46521/" title="En Test">En Test</a><time datetime="2023-12-30T17:36:56.000Z" title="Created 2023-12-30 17:36:56">2023-12-30</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline"><i class="fas fa-folder-open"></i> <span>Categories</span></div><ul class="card-category-list" id="aside-cat-list"><li class="card-category-list-item"><a class="card-category-list-link" href="/categories/Test/"><span class="card-category-list-name">Test</span><span class="card-category-list-count">1</span></a></li></ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>Tags</span></div><div class="card-tag-cloud"><a href="/tags/Test/" style="font-size:1.1em;color:#999">Test</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>Archives</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/12/"><span class="card-archive-list-date">December 2023</span><span class="card-archive-list-count">1</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>Info</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">Article :</div><div class="item-count">1</div></div><div class="webinfo-item"><div class="item-name">UV :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">PV :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">Last Push :</div><div class="item-count" id="last-push-date" data-lastpushdate="2024-07-02T07:09:15.845Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="footer_custom_text"><section class="footer-wave-svg main-hero-waves-area-footer waves-area" id="jsi-flying-fish-container"><svg class="waves-svg" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto"><defs><path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s58 18 88 18 58-18 88-18 58 18 88 18v44h-352Z"></path></defs><g class="parallax"><use href="#gentle-wave" x="48" y="0"></use><use href="#gentle-wave" x="48" y="3"></use><use href="#gentle-wave" x="48" y="5"></use><use href="#gentle-wave" x="48" y="7"></use></g></svg></section><div class="footer-content"><div class="footer-content-column"><div class="footer-logo"><a class="footer-logo-link" href="#"><span class="hidden-link-text">LOGO</span><img src="/img/icon-light.png" style="height:40%;width:40%"></a></div><div class="footer-menu"><h2 class="footer-menu-name">开始</h2><ul class="footer-menu-list" id="menu-get-started"><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://www.sinzmise.top/">Personal homepage</a></li><li class="menu-item menu-item-object-product menu-item-type-post_type"><a href="/sitemap.xml">SiteMap</a></li></ul></div></div><div class="footer-content-column"><div class="footer-menu"><h2 class="footer-menu-name">Wormhole</h2><ul class="footer-menu-list" id="menu-company"><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://www.travellings.cn/go.html">Travelling</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://storeweb.cn/s/1707">StoreWeb</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://zhblogs.ohyee.cc/go">CN Blog List</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://travel.moe/go.html">Moe Travelling</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://bokelu.suijiboke.gs">boke.lu</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://forever.dreamerhe.cn/planet-shuttle">Dreamertrain</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://blogscn.fun/random.html">BLOGS·CN</a></li></ul></div></div><div class="footer-content-column"><div class="footer-menu"><h2 class="footer-menu-name">Content Me</h2><ul class="footer-menu-list" id="menu-company"><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=TK1cLmWzuZ-LhACNH8GCntLD6zbo-nUW&authKey=Lym2j6%2BggcPrl77XV1vwVTSM12%2B7O7yMMf02Xi6meCVPEFASHTFX01k%2F1KbFrv1%2B&noverify=0&group_code=623816093">My QQ group</a></li></ul></div></div><div class="footer-content-column"><ul class="footer-menu-list" id="menu-get-started"><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img class="img-not-ai" width="120" height="42" alt="ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE 4.0 INTERNATIONAL" src="https://cdn.gallery.uuanqin.top/img/by-nc-sa.svg"></a></li><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://blogscn.fun/"><img class="img-not-ai" width="120" height="42" alt="This sites is joined to BLOGS·CN" src="https://photo.xiangming.site/img/blogscnlogo.png"></a></li><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://boringbay.com"><img class="img-not-ai" width="120" height="42" alt="The Boring Bay" src="https://boringbay.com/api/badge/blog.sinzmise.top"></a></li><li class="menu-item menu-item-object-product menu-item-type-post_type">©2024 By SZ·Ninty·Ong</li></ul></div><div class="footer-social-links"><a class="footer-social-link link1" href="mailto:email@sinzmise.top" target="_self"><span class="hidden-link-text">Email</span><i class="footer-social-icon-svg fa fa-envelope"></i></a><a class="footer-social-link link2" href="https://github.com/SinzMise" target="_blank"><span class="hidden-link-text">Github</span><i class="footer-social-icon-svg fab fa-github"></i></a><a class="footer-social-link link3" href="/atom.xml" target="_self"><span class="hidden-link-text">RSS</span><i class="footer-social-icon-svg fas fa-square-rss"></i></a><a class="footer-social-link link4" href="https://xlog.sinzmise.top/" target="_blank"><span class="hidden-link-text">Star Magic book·Delta</span><i class="footer-social-icon-svg iconfont icon-pjh-icon_riji"></i></a></div></div><div class="footer-copyright"><div class="footer-copyright-wrapper"><p class="footer-copyright-text"><a href="https://hexo.io" rel="noopener external nofollow noreferrer" target="_blank">Hexo v4.9.0</a> | <a href="https://github.com/jerryc127/hexo-theme-butterfly" rel="noopener external nofollow noreferrer" target="_blank">Butterfly v6.3.0</a> | <a href="https://blog.sinzmise.top/update/" rel="noopener external nofollow noreferrer" target="_blank">CetaStories v1.7.0</a></p><p class="footer-copyright-text"><a href="https://icp.gov.moe/?keyword=20231033" target="_blank">萌ICP备20231033号</a> <br><a target="_blank" rel="noopener" href="https://xn--sr8hvo.ws/previous">←</a>An <a target="_blank" rel="noopener" href="https://xn--sr8hvo.ws">IndieWeb Webring</a> 🕸💍<a target="_blank" rel="noopener" href="https://xn--sr8hvo.ws/next">→</a><br><span>I joined:</span><a href="https://zhblogs.ohyee.cc/" target="_blank">CN Blog list</a> <a href="https://storeweb.cn/member/o/1585" target="_blank">Store Web</a> <a href="https://bf.zzxworld.com/s/995" target="_blank">BlogFinder</a> <a href="https://boke.lu" target="_blank">blog.lu</a> <a href="https://rssblog.cn/member/d711afd659d65c2ba2d3b18697818cf7/" target="_blank">RssBlog</a> <a href="https://blogscn.fun" target="_blank">BLOGS·CN</a> <a href="https://forever.dreamerhe.cn/" target="_blank">Dreamertrain</a> <a href="https://firewood.news/" target="_blank">Firewood</a> <a href="https://daohang.lusongsong.com/" target="_blank">CN Blog Encyclopedia</a> </p></div></div></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="Switch Between Light And Dark Mode"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="Toggle between single-column and double-column"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><a href="javascript:toggleWinbox();"><button id="rightside_config" type="button" href="javascript:toggleWinbox();" title="Setting"><i class="fas fa-cog fa-spin"></i></button></a><button id="go-up" type="button" title="Back To Top"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div class="docsearch-wrap"><div id="docsearch" style="display:none"></div><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/@docsearch/css/dist/style.min.css"><script src="https://jsd.cdn.storisinz.site/npm/@docsearch/js/dist/umd/index.min.js"></script><script>(()=>{docsearch(Object.assign({appId:"QAS05YI2PH",apiKey:"67ffd4c9fa1234148ec4f8b27dfdb2a7",indexName:"sinzmise",container:"#docsearch"},null));const e=()=>{document.querySelector(".DocSearch-Button").click()},c=()=>{document.querySelector("#search-button > .search").addEventListener("click",e)};c(),window.addEventListener("pjax:complete",c)})()</script></div><div class="js-pjax" id="settingWindow"><span class="setting-title"><button id="backer" onclick='$(".asetting").hide(),$(".settingx").show(),$("#backer").hide(),$("#stt-style").hide(),$("#stt-font").hide(),$("#stt-background").hide(),$("#stt-count").hide(),$("#stt-about").hide()'><i class="fa fa-chevron-left"></i></button><span id="stt">Settings</span><span id="stt-style">&nbsp;-> Sites</span><span id="stt-font">&nbsp;-> Fonts</span><span id="stt-background">&nbsp;-> Backgrounds</span><span id="stt-count">&nbsp;-> Status</span><span id="stt-about">&nbsp;-></span> <a id="close-console" onclick="toggleWinbox()">×</a></span><div class="settings"><div id="setting-buttons"><button class="settingx" onclick='$("#theme-settings").show(),$(".settingx").hide(),$("#backer").show(),$("#stt-style").show()'><i class="fas fa-layer-group"></i><span>Sites</span></button><button class="settingx" onclick='$("#font-settings").show(),$(".settingx").hide(),$("#backer").show(),$("#stt-font").show()'><i class="fa fa-font"></i><span>Fonts</span></button><button class="settingx" onclick="$('#con-echarts').show();$('.settingx').hide();$('#backer').show();$('#stt-count').show();var evt = document.createEvent("HTMLEvents");evt.initEvent("resize", false, false);window.dispatchEvent(evt);"><i class="fas fa-chart-pie"></i><span>Status</span></button><button class="settingx" onclick='$("#con-abouts").show(),$(".settingx").hide(),$("#backer").show(),$("#stt-about").show()'><i class="fa fa-cloud-download"></i><span>关于</span></button></div><div id="setting-hides"><div class="asetting" id="theme-settings"><h2 class="content-head">站点设置</h2><p></p><div class="content" style="display:flex"><input id="blur" type="checkbox" onclick="setBlur()"><div class="content-text">启用模糊效果</div></div><div class="content" style="display:flex"><input id="fpson" type="checkbox" onclick="fpssw()" style="flex-shrink:0"><div class="content-text"><span>开启帧率检测(</span><a href="javascript:window.location.reload()">刷新</a><span>后生效)</span></div></div><p></p><p></p><h2 class="content-head">主题设置</h2><div class="content" style="display:flex"><input id="hideAplayer" type="checkbox" onclick="toggleAplayer()"><div class="content-text"><span>音乐播放器</span></div></div><div class="content" style="display:flex"><input id="hideSakura" type="checkbox" onclick="toggleSakuras()"><div class="content-text">落樱特效</div></div><div class="content" style="display:flex"><input id="autoTheme" type="checkbox" onclick="toggleAutoTheme()"><div class="content-text">明暗模式自动切换</div></div><p></p><p></p><h3 class="content-head">主题色</h3><div class="content" id="themeColorSettings" style="display:flex"><input id="default" type="radio" name="colors" onclick='setColor("default")' checked><span id="deftext">默认</span><input id="red" type="radio" name="colors" onclick='setColor("red")'><input id="orange" type="radio" name="colors" onclick='setColor("orange")'><input id="yellow" type="radio" name="colors" onclick='setColor("yellow")'><input id="green" type="radio" name="colors" onclick='setColor("green")'><input id="blue" type="radio" name="colors" onclick='setColor("blue")'><input id="heoblue" type="radio" name="colors" onclick='setColor("heoblue")'><input id="darkblue" type="radio" name="colors" onclick='setColor("darkblue")'><input id="purple" type="radio" name="colors" onclick='setColor("purple")'><input id="pink" type="radio" name="colors" onclick='setColor("pink")'><input id="black" type="radio" name="colors" onclick='setColor("black")'><input id="blackgray" type="radio" name="colors" onclick='setColor("blackgray")'></div><p></p></div><div class="asetting" id="font-settings"><h2 class="content-head">字体设置</h2><p id="swfs"><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:HYTMR!important;color:#000" onclick='setFont("HYTMR")'>汉仪唐美人</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:HYPailou!important;color:#000" onclick='setFont("HYPailou")'>汉仪新蒂牌楼</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:FZXJLJ!important;color:#000" onclick='setFont("FZXJLJ")'>方正金陵体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:FZXS!important;color:#000" onclick='setFont("FZXS")'>方正像素体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:ZhuZiAWan!important;color:#000" onclick='setFont("ZhuZiAWan")'>筑紫A丸ゴシック</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:FZODZK!important;color:#000" onclick='setFont("FZODZK")'>方正欧蝶正楷</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'Source Serif'!important;color:#000" onclick='setFont("Source Serif")'>思源宋体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'Source Sans'!important;color:#000" onclick='setFont("Source Sans")'>思源黑体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:HMOSANS!important;color:#000" onclick='setFont("HMOSANS")'>HarmonyOS Sans</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:-apple-system,IBM Plex Mono,monosapce,'微软雅黑',sans-serif" onclick='setFont("main")'>系统默认</a><br></p></div><div class="asetting" id="con-echarts"><h1>统计</h1><img src="https://moe.counter.blog.sinzmise.top/sznhouse?theme=asoul"><h2>文章统计</h2><div id="posts-chart" data-start="2021-01" style="border-radius:8px;height:300px;padding:10px"></div><script id="postsChart">var color="light"===document.documentElement.getAttribute("data-theme")?"#4c4948":"rgba(255,255,255,0.7)",postsChart=echarts.init(document.getElementById("posts-chart"),"light"),postsOption={title:{text:"文章发布统计图",x:"center",textStyle:{color:color}},tooltip:{trigger:"axis"},xAxis:{name:"日期",type:"category",boundaryGap:!1,nameTextStyle:{color:color},axisTick:{show:!1},axisLabel:{show:!0,color:color},axisLine:{show:!0,lineStyle:{color:color}},data:["2021-01","2021-02","2021-03","2021-04","2021-05","2021-06","2021-07","2021-08","2021-09","2021-10","2021-11","2021-12","2022-01","2022-02","2022-03","2022-04","2022-05","2022-06","2022-07","2022-08","2022-09","2022-10","2022-11","2022-12","2023-01","2023-02","2023-03","2023-04","2023-05","2023-06","2023-07","2023-08","2023-09","2023-10","2023-11","2023-12","2024-01","2024-02","2024-03","2024-04","2024-05","2024-06","2024-07"]},yAxis:{name:"文章篇数",type:"value",nameTextStyle:{color:color},splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,color:color},axisLine:{show:!0,lineStyle:{color:color}}},series:[{name:"文章篇数",type:"line",smooth:!0,lineStyle:{width:0},showSymbol:!1,itemStyle:{opacity:1,color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 165)"},{offset:1,color:"rgba(1, 191, 236)"}])},areaStyle:{opacity:1,color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 165)"},{offset:1,color:"rgba(1, 191, 236)"}])},data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0],markLine:{data:[{name:"平均值",type:"average",label:{color:color}}]}}]};postsChart.setOption(postsOption),window.addEventListener("resize",(()=>{postsChart.resize()})),postsChart.on("click","series",(e=>{"series"===e.componentType&&(window.location.href="/archives/"+e.name.replace("-","/"))}))</script><div id="tags-chart" data-length="10" style="border-radius:8px;height:300px;padding:10px"></div><script id="tagsChart">var color="light"===document.documentElement.getAttribute("data-theme")?"#4c4948":"rgba(255,255,255,0.7)",tagsChart=echarts.init(document.getElementById("tags-chart"),"light"),tagsOption={title:{text:"Top 1 标签统计图",x:"center",textStyle:{color:color}},tooltip:{},xAxis:{name:"标签",type:"category",nameTextStyle:{color:color},axisTick:{show:!1},axisLabel:{show:!0,color:color,interval:0},axisLine:{show:!0,lineStyle:{color:color}},data:["Test"]},yAxis:{name:"文章篇数",type:"value",splitLine:{show:!1},nameTextStyle:{color:color},axisTick:{show:!1},axisLabel:{show:!0,color:color},axisLine:{show:!0,lineStyle:{color:color}}},series:[{name:"文章篇数",type:"bar",data:[{name:"Test",value:1,path:"tags/Test/"}],itemStyle:{borderRadius:[5,5,0,0],color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 165)"},{offset:1,color:"rgba(1, 191, 236)"}])},emphasis:{itemStyle:{color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 195)"},{offset:1,color:"rgba(1, 211, 255)"}])}},markLine:{data:[{name:"平均值",type:"average",label:{color:color}}]}}]};tagsChart.setOption(tagsOption),window.addEventListener("resize",(()=>{tagsChart.resize()})),tagsChart.on("click","series",(e=>{e.data.path&&(window.location.href="/"+e.data.path)}))</script><div id="categories-chart" data-parent="true" style="border-radius:8px;height:300px;padding:10px"></div><script id="categoriesChart">var color="light"===document.documentElement.getAttribute("data-theme")?"#4c4948":"rgba(255,255,255,0.7)",categoriesChart=echarts.init(document.getElementById("categories-chart"),"light"),categoryParentFlag=!1,categoriesOption={title:{text:"文章分类统计图",x:"center",textStyle:{color:color}},legend:{top:"bottom",data:["Test"],textStyle:{color:color}},tooltip:{trigger:"item"},series:[]};categoriesOption.series.push(categoryParentFlag?{nodeClick:!1,name:"文章篇数",type:"sunburst",radius:["15%","90%"],center:["50%","55%"],sort:"desc",data:[{name:"Test",value:1,path:"categories/Test/",id:"cly42ixty0003len77kz2506x",parentId:"0"}],itemStyle:{borderColor:"#fff",borderWidth:2,emphasis:{focus:"ancestor",shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(255, 255, 255, 0.5)"}}}:{name:"文章篇数",type:"pie",radius:[30,80],roseType:"area",label:{color:color,formatter:"{b} : {c} ({d}%)"},data:[{name:"Test",value:1,path:"categories/Test/",id:"cly42ixty0003len77kz2506x",parentId:"0"}],itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(255, 255, 255, 0.5)"}}}),categoriesChart.setOption(categoriesOption),window.addEventListener("resize",(()=>{categoriesChart.resize()})),categoriesChart.on("click","series",(e=>{e.data.path&&(window.location.href="/"+e.data.path)}))</script><h2>访问统计 显示不出来请刷新页面</h2><p>站点访问量:<span id="qexo-site-pv"></span></p><p>站点访客数:<span id="qexo-site-uv"></span></p><script src="https://jsd.onmicrosoft.cn/npm/qexo-static/hexo/statistic.js"></script><script>loadStatistic("https://houtai.hexo.sinzmise.top")</script></div><div class="asetting" id="con-abouts"><h1>关于</h1>基于 Ariasaka Console v1.0 魔改,目前功能尚未完善<br>欢迎<a href="/comments">反馈!</a></div></div></div><div class="app-refresh" id="app-refresh-setting" style="display:none"><div class="app-refresh-wrap"><label>检测到魔法屋已装修</label><a href="javascript:void(0)" onclick="location.reload(!0)"><span style="text-decoration:underline;cursor:pointer;float:right">点我查看</span></a></div></div><div id="setting-sidesl"><button class="reSettings con-rightside" title="恢复默认设置"><i class="fa fa-repeat"></i></button><div id="setting-sides"><button class="con-rightside" title="繁简转换" id="con-translate" onclick="rmf.translate()"><i class="iconfont icon-fanti"></i></button><button class="con-rightside" title="昼夜切换" id="con-mode" onclick="switchDarkMode()"><i class="fa fa-adjust"></i></button><button class="con-rightside" title="单双栏切换" id="con-toggleaside" onclick="toggleAside()"><i class="fas fa-arrows-alt-h"></i></button><button class="con-rightside" title="左右栏切换" id="con-toggleleftaside" onclick="switchAside()"><i class="fas fa-binoculars"></i></button><button class="con-rightside" title="全屏" id="con-fullscreen" onclick="fullScreen()"><i class="fas fa-expand"></i></button></div></div></div><div class="js-pjax" id="rightMenu"><div class="rightMenu-group rightMenu-small"><a class="rightMenu-item" href="javascript:window.history.back();"><i class="fa fa-arrow-left"></i></a><a class="rightMenu-item" href="javascript:window.history.forward();"><i class="fa fa-arrow-right"></i></a><a class="rightMenu-item" href="javascript:window.location.reload();"><i class="fa fa-refresh"></i></a><a class="rightMenu-item" href="javascript:rmf.scrollToTop();"><i class="fa fa-arrow-up"></i></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-text"><a class="rightMenu-item" href="javascript:rmf.copySelect();"><i class="fa fa-copy"></i><span>复制</span></a><a class="rightMenu-item" href="javascript:window.open("https://www.baidu.com/s?wd="+window.getSelection().toString());window.location.reload();"><i class="iconfont icon-baidu"></i><span>百度搜索</span></a><a class="rightMenu-item" href="javascript:rmf.searchinThisPage();"><i class="fas fa-search"></i><span>站内搜索</span></a><a class="rightMenu-item" href="#post-comment" onclick="rmf.yinyong()"><i class="fa-solid fa-message"></i><span>引用文本评论</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-too"><a class="rightMenu-item" href="javascript:window.open(window.getSelection().toString());window.location.reload();"><i class="fa fa-link"></i><span>转到链接</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-paste"><a class="rightMenu-item" href="javascript:rmf.paste()"><i class="fa fa-copy"></i><span>粘贴</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-post"><a class="rightMenu-item" href="#post-comment"><i class="fas fa-comment"></i><span>空降评论</span></a><a class="rightMenu-item" href="javascript:rmf.copyWordsLink()"><i class="fa fa-link"></i><span>复制本文地址</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-to"><a class="rightMenu-item" href="javascript:rmf.openWithNewTab()"><i class="fa fa-window-restore"></i><span>新窗口打开</span></a><a class="rightMenu-item" id="menu-too" href="javascript:rmf.open()"><i class="fa fa-link"></i><span>转到链接</span></a><a class="rightMenu-item" href="javascript:rmf.copyLink()"><i class="fa fa-copy"></i><span>复制链接</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-img"><a class="rightMenu-item" href="javascript:rmf.saveAs()"><i class="fa fa-download"></i><span>保存图片</span></a><a class="rightMenu-item" href="javascript:rmf.openWithNewTab()"><i class="fa fa-window-restore"></i><span>在新窗口打开</span></a><a class="rightMenu-item" href="javascript:rmf.click()"><i class="fa fa-arrows-alt"></i><span>全屏显示</span></a><a class="rightMenu-item" href="javascript:rmf.copyLink()"><i class="fa fa-copy"></i><span>复制图片链接</span></a></div><div class="rightMenu-group rightMenu-line"><a class="rightMenu-item" href="javascript:toRandomPost()"><i class="fa fa-paper-plane"></i><span>随便逛逛</span></a><a class="rightMenu-item" href="javascript:rmf.switchDarkMode();"><i class="fa fa-moon"></i><span>昼夜切换</span></a><a class="rightMenu-item" href="javascript:pjax.loadUrl("/license/");"><i class="fa fa-info-circle"></i><span>版权声明</span></a><a class="rightMenu-item" href="javascript:toggleWinbox();"><i class="fas fa-cog"></i><span>博客设置</span></a><a class="rightMenu-item" href="javascript:fullScreen();"><i class="fas fa-expand"></i><span>进入全屏</span></a></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script async src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/assets/carousel-touch.min.js"></script><script src="https://jsd.cdn.storisinz.site/npm/echarts/dist/echarts.min.js"></script><script src="https://jsd.cdn.storisinz.site/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script async src="//at.alicdn.com/t/c/font_4199232_gh7up2nbg3c.js"></script><script async src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/assets/issues.min.js"></script><script src="https://jsd.cdn.storisinz.site/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://jsd.cdn.storisinz.site/npm/node-snackbar/dist/snackbar.min.js"></script><div class="js-pjax"><script>(()=>{const t=()=>{const t=document.querySelectorAll("#recent-posts .article-title");let o=[];return t.forEach((t=>{o.push(t.getAttribute("href"))})),o},o=()=>{const o=()=>{twikoo.getCommentsCount({envId:"https://tk.pl.blog.sinzmise.top/",region:"",urls:t(),includeReply:!1}).then((function(t){document.querySelectorAll("#recent-posts .twikoo-count").forEach(((o,e)=>{o.innerText=t[e].count}))})).catch((function(t){console.log(t)}))};"object"==typeof twikoo?o():getScript("https://jsd.cdn.storisinz.site/npm/twikoo/dist/twikoo.all.min.js").then(o)};window.pjax?o():window.addEventListener("load",o)})()</script></div><script src="https://jsd.onmicrosoft.cn/npm/@ruffle-rs/ruffle"></script><script src="https://jsd.onmicrosoft.cn/gh/swfobject/swfobject@master/swfobject/swfobject.js"></script><script src="/js/welcome.js"></script><script data-pjax="" defer src="/js/custom/fixed_card_widget.js"></script><script src="/js/lunar.js"></script><script src="/js/day.js"></script><script src="https://jsd.onmicrosoft.cn/npm/sweetalert2@8.19.0/dist/sweetalert2.all.js"></script><script src="/js/autoload.js"></script><script src="/js/sakura.js"></script><script src="/js/fps.js"></script><script src="/js/randompost.js"></script><script data-pjax="" defer src="/js/custom.js"></script><script data-pjax="" async src="/js/waterfall/waterfall.js"></script><script src="/js/about.js"></script><script src="/js/hometop.js"></script><script src="/js/owobig.js"></script><div id="fps"></div><script defer src="/js/orlike.js"></script><script src="/js/nav.js"></script><script src="/js/console.js"></script><script src="https://jsd.cdn.storisinz.site/gh/nextapps-de/winbox/dist/winbox.bundle.min.js"></script><script src="/js/rightmenu.js"></script><script async src="https://umami.status.sinzmise.top/a8f9c04189c7d6a2b6b03f4f3948ef41" data-website-id="f18a2137-2dfe-45b9-a524-21413e09bd68"></script><script async src="/js/comments.js"></script><script src="https://jsd.cdn.storisinz.site/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors=["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show","#fixedcard-dashboard",".js-pjax"];var pjax=new Pjax({elements:'a:not([target="_blank"]):not([href="/bbs/"])',selectors:pjaxSelectors,cacheBust:!1,analytics:!0,scrollRestoration:!1});document.addEventListener("pjax:send",(function(){if(window.tocScrollFn&&window.removeEventListener("scroll",window.tocScrollFn),window.scrollCollect&&window.removeEventListener("scroll",scrollCollect),document.getElementById("rightside").style.cssText="opacity: ''; transform: ''",window.aplayers)for(let e=0;e<window.aplayers.length;e++)window.aplayers[e].options.fixed||window.aplayers[e].destroy();"object"==typeof typed&&typed.destroy();const e=document.body.classList;e.contains("read-mode")&&e.remove("read-mode"),"object"==typeof disqusjs&&disqusjs.destroy()})),document.addEventListener("pjax:complete",(function(){window.refreshFn(),document.querySelectorAll("script[data-pjax], .pjax-reload script").forEach((e=>{const t=document.createElement("script"),o=e.text||e.textContent||e.innerHTML||"";Array.from(e.attributes).forEach((e=>t.setAttribute(e.name,e.value))),t.appendChild(document.createTextNode(o)),e.parentNode.replaceChild(t,e)})),GLOBAL_CONFIG.islazyload&&window.lazyLoadInstance.update(),"function"==typeof chatBtnFn&&chatBtnFn(),"function"==typeof panguInit&&panguInit(),"function"==typeof gtag&>ag("config","G-7MR59SK1DP",{page_path:window.location.pathname}),"object"==typeof _hmt&&_hmt.push(["_trackPageview",window.location.pathname]),"function"==typeof loadMeting&&document.getElementsByClassName("aplayer").length&&loadMeting(),"object"==typeof Prism&&Prism.highlightAll()})),document.addEventListener("pjax:error",(e=>{404===e.request.status&&pjax.loadUrl("/404.html")}))</script><div class="pjax-reload"></div><script defer src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-wowjs/lib/wow.min.js"></script><script defer src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-wowjs/lib/wow_init.min.js"></script><div class="app-refresh" id="app-refresh" style="position:fixed;top:-2.2rem;left:0;right:0;z-index:99999;padding:0 1rem;font-size:15px;height:2.2rem;transition:all .3s ease"><div class="app-refresh-wrap" style="display:flex;color:#fff;height:100%;align-items:center;justify-content:center"><label>✨ 星空魔法屋站点已更新! 👉</label><a href="javascript:void(0)" onclick="location.reload(!0)"><span style="color:#fff;text-decoration:underline;cursor:pointer">⭐点我刷新⭐</span></a></div></div><script>function showNotification(){if(GLOBAL_CONFIG.Snackbar){var e="light"===document.documentElement.getAttribute("data-theme")?GLOBAL_CONFIG.Snackbar.bgLight:GLOBAL_CONFIG.Snackbar.bgDark,t=GLOBAL_CONFIG.Snackbar.position;Snackbar.show({text:"✨ 星空魔法屋又装修了 👉",backgroundColor:e,duration:5e5,pos:t,actionText:"⭐点我查看⭐",actionTextColor:"#fff",onActionClick:function(e){location.reload(!0)}}),document.getElementById("app-refresh-setting").style.display="block"}else{var o=`top: 0; background: ${"light"===document.documentElement.getAttribute("data-theme")?"#49b1f5":"#1f1f1f"};`;document.getElementById("app-refresh").style.cssText=o}}"serviceWorker"in navigator&&(navigator.serviceWorker.controller&&navigator.serviceWorker.addEventListener("controllerchange",(function(){showNotification()})),window.addEventListener("load",(function(){navigator.serviceWorker.register("/sw.js")})))</script><script async data-pjax="" src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="fixedcard-dashboard"><button class="fixedcard-activebtn" type="button" title="About Me" onclick="FixedCardWidget("class","card-info","0")"><i class="fas fa-address-book"></i></button><button class="fixedcard-activebtn" type="button" title="Clock" onclick="FixedCardWidget("class","card-clock-weather","0")"><i class="fas fa-cloud-sun"></i></button><button class="fixedcard-activebtn" type="button" title="Newest posts" onclick="FixedCardWidget("class","card-recent-post","0")"><i class="fas fa-history"></i></button><button class="fixedcard-activebtn" type="button" title="Tags" onclick="FixedCardWidget("class","card-tags","0")"><i class="fas fa-tags"></i></button><button class="fixedcard-activebtn" type="button" title="Site information" onclick="FixedCardWidget("class","card-webinfo","0")"><i class="fas fa-chart-line"></i></button><div class="fixedcard-user-avatar fixedcard-activebtn" onclick="RemoveFixedCardWidget()"><img class="fixedcard-user-avatar-img" src="/img/avatar.png" title="SZ·Ninty·Ong"></div></div></div></body></html>
|
package/en/js/about.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
function whenDOMReady(){location.pathname.startsWith("/about/")&&(meuicat.comments(),meuicat.Introduction(),meuicat.runtimen(),meuicat.fiftyonela(),document.getElementById("ui-version").innerHTML=GLOBAL_CONFIG.uiversion)}whenDOMReady(),document.addEventListener("pjax:complete",whenDOMReady);let lastSayHello="";var meuicat={comments:function(){fetch("/article.json").then((t=>t.json())).then((t=>{Object.keys(t);fetch("https://tk.pl.blog.sinzmise.top/",{method:"POST",body:JSON.stringify({event:"GET_RECENT_COMMENTS",accessToken:"f230dc1bac8bbb58af81860f1c6b5ca4",includeReply:!0,pageSize:-1}),headers:{"Content-Type":"application/json"}}).then((t=>t.json())).then((({data:t})=>{const e=t.length;document.querySelectorAll(".N_comments").forEach((t=>{t.classList.contains("N_comments")?t.innerText=e+GLOBAL_LANG.about.comments:console.error(GLOBAL_LANG.about.comment_error)}))}))}))},Introduction:function(){const t=GLOBAL_LANG.about.introduction,e=document.getElementById("Introduction");let n=t[Math.floor(Math.random()*t.length)];for(;n===lastSayHello;)n=t[Math.floor(Math.random()*t.length)];e.textContent=n,lastSayHello=n},runtimen:function(){let t=new Date(GLOBAL_CONFIG.date).getTime(),e=(new Date).getTime(),n=((Math.round((e-t)/1e3)/7884e4).toFixed(2),document.getElementById("run-time"));n&&(n.innerHTML=GLOBAL_LANG.about.stats.years),setTimeout(meuicat.runtime,1e3)},fiftyonela:function(){fetch("https://v6-widget.51.la/v6/K9WDMA2h2AfDg5GG/quote.js").then((t=>t.text())).then((t=>{let e=[GLOBAL_LANG.about.stats.today_users,GLOBAL_LANG.about.stats.today_uv,GLOBAL_LANG.about.stats.yesterday_users,GLOBAL_LANG.about.stats.yesterday_uv,GLOBAL_LANG.about.stats.month_uv],n=t.match(/(<\/span><span>).*?(\/span><\/p>)/g);n=n.map((t=>t.replace(/(<\/span><span>)/g,"").replace(/(<\/span><\/p>)/g,"")));let a=document.getElementById("statistic"),o=n[0],s=document.querySelector(".T-box");s&&(s.innerHTML=GLOBAL_LANG.about.stats.recent+":"+o+" | "+s.innerHTML);for(let t=0;t<n.length;t++){if(!a)return;0!=t&&t!=n.length-1&&(a.innerHTML+='<div><span class="tips">'+e[t-1]+"</span><span id="+e[t-1]+">"+n[t]+"</span></div>")}}))}};
|
@@ -0,0 +1 @@
|
|
1
|
+
function categoriesBarActive(){var e=window.location.pathname;if(e=decodeURIComponent(e),console.log(e),"/"!==e){var t=/\/categories\/.*?\//.test(e);if(console.log(t),t){var o=e.split("/");console.log(o[2]);var a=o[2];document.querySelector("#category-bar")&&document.getElementById(a).classList.add("select")}}}function topCategoriesBarScroll(){if(document.getElementById("category-bar-items")){let e=document.getElementById("category-bar-items");e.addEventListener("mousewheel",(function(t){let o=-t.wheelDelta/2;e.scrollLeft+=o,t.preventDefault()}),!1)}}function tagsBarActive(){var e=window.location.pathname;if("/"!==(e=decodeURIComponent(e))){if(/\/tags\/.*?\//.test(e)){var t=e.split("/")[2];document.querySelector("#category-bar")&&document.getElementById(t).classList.add("select")}}}categoriesBarActive(),topCategoriesBarScroll(),tagsBarActive();
|
@@ -0,0 +1 @@
|
|
1
|
+
fetch("/article.json").then((e=>e.json())).then((e=>{Object.keys(e);fetch("https://tk.pl.blog.sinzmise.top/",{method:"POST",body:JSON.stringify({event:"GET_RECENT_COMMENTS",accessToken:"f230dc1bac8bbb58af81860f1c6b5ca4",includeReply:!0,pageSize:-1}),headers:{"Content-Type":"application/json"}}).then((e=>e.json())).then((({data:e})=>{let t=0;e.forEach((e=>{t++}));const n=document.querySelector(".length-num.icat-pc-comment");n&&(n.innerText=t);const c=document.querySelector(".length-num.icat-pe-comment");c&&(c.innerText=t),console.log("本站Twikoo总评论数:",t)}))}));
|
package/en/js/console.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
function tosetting(){$("#settingWindow").hide(),"false"==localStorage.getItem("blur")?blur=0:blur=1,"true"==localStorage.getItem("yjjs")?yjjs=1:yjjs=0,null==localStorage.getItem("fpson")&&localStorage.setItem("fpson","1"),blur?document.getElementById("settingStyle").innerText="\n *,*:not(.card-info)::before,*::after{\n -webkit-backdrop-filter: none!important;\n backdrop-filter: none!important;\n -webkit-filter: none!important;\n filter: none!important;\n }":document.getElementById("settingStyle").innerText="",setBlur=function(){blur=!blur,localStorage.setItem("blur",blur),blur?document.getElementById("settingStyle").innerText="\n *,*:not(.card-info)::before,*::after{\n -webkit-backdrop-filter: none!important;\n backdrop-filter: none!important;\n -webkit-filter: none!important;\n filter: none!important;\n }":document.getElementById("settingStyle").innerText=""},yjjs1=function(){yjjs=!yjjs,localStorage.setItem("yjjs",yjjs)},"acrylic"==localStorage.getItem("blogTheme")&&(document.getElementById("css").href=""),switchTheme=function(){document.getElementById("css").href==window.location.protocol+"//"+window.location.host+"/css/stylessimple.css"?(document.getElementById("css").href="",localStorage.setItem("blogTheme","acrylic")):(document.getElementById("css").href="/css/stylessimple.css",localStorage.setItem("blogTheme","simple"))},setColor=function(e){document.getElementById("themeColor").innerText=`:root{--story-theme:var(--story-${e})!important;--story-theme-op:var(--story-${e}-op;)!important;--story-theme-deep:var(--story-${e}-deep;)!important;--story-theme-none:var(--story-${e}-none;)!important}`,localStorage.setItem("themeColor",e)},setFont=function(e){if(localStorage.setItem("font",e),"main"==e)for(var t=document.querySelectorAll("body,.aplayer"),o=0;o<t.length;o++)t[o].style.fontFamily="-apple-system, IBM Plex Mono ,monospace,'寰蒋闆呴粦', sans-serif";else if("HYPailou"==e)for(t=document.querySelectorAll("body,.aplayer"),o=0;o<t.length;o++)t[o].style.fontFamily="Fredoka,HYPailou,KyoukashoProL,-apple-system, IBM Plex Mono ,monospace,'寰蒋闆呴粦', sans-serif";else{for(t=document.querySelectorAll("body,.aplayer"),o=0;o<t.length;o++)t[o].style.fontFamily='var(--global-font),KyoukashoProL,-apple-system, IBM Plex Mono ,monosapce,"寰蒋闆呴粦", sans-serif';document.body.style.fontFamily="var(--global-font),KyoukashoProL,-apple-system, IBM Plex Mono ,monosapce,'寰蒋闆呴粦', sans-serif",document.documentElement.style.setProperty("--global-font",e)}},null==localStorage.getItem("themeColor")&&localStorage.setItem("themeColor","orange"),setColor(localStorage.getItem("themeColor")),null==localStorage.getItem("hideRightside")&&localStorage.setItem("hideRightside","0"),"1"==localStorage.getItem("hideRightside")&&$("#rightside").toggle(),toggleRightside=function(){$("#rightside").toggle(),localStorage.setItem("hideRightside",Math.abs(Number(localStorage.getItem("hideRightside"))-1))},null==localStorage.getItem("font")&&localStorage.setItem("font","HYTMR"),setFont(localStorage.getItem("font")),saveData=function(e,t){localStorage.setItem(e,JSON.stringify({time:Date.now(),data:t}))},loadData=function(e,t){let o=JSON.parse(localStorage.getItem(e));if(o){let e=Date.now()-o.time;if(e<60*t*1e3&&e>-1)return o.data}return 0},changeBg=function(e,t){let o=document.getElementById("web_bg");"#"==e.charAt(0)?(o.style.backgroundColor=e,o.style.backgroundImage="none"):o.style.backgroundImage=e,t||saveData("blogbg",e)};try{let e=loadData("blogbg",1440);e?changeBg(e,1):localStorage.removeItem("blogbg")}catch(e){localStorage.removeItem("blogbg")}if(fpssw=function(){"1"==localStorage.getItem("fpson")?localStorage.setItem("fpson","0"):localStorage.setItem("fpson","1")},$(".asetting").hide(),$("#backer").hide(),$("#stt-style").hide(),$("#stt-font").hide(),$("#stt-background").hide(),$("#stt-count").hide(),$("#stt-about").hide(),$("#"+localStorage.getItem("themeColor")).attr("checked",!0),"false"==localStorage.getItem("blur")&&(document.getElementById("blur").checked=!0),"true"==localStorage.getItem("yjjs")&&(document.getElementById("yjjs").checked=!0),"1"==localStorage.getItem("fpson")&&(document.getElementById("fpson").checked=!0),"false"==localStorage.getItem("sakurahide")?(document.getElementById("hideSakura").checked=!0,isSakura=1):null==localStorage.getItem("sakurahide")?(localStorage.setItem("sakurahide","true"),document.getElementById("hideSakura").checked=!1,setTimeout(stopp,1e3),isSakura=0):(document.getElementById("hideSakura").checked=!1,setTimeout(stopp,1e3),isSakura=0),"true"==localStorage.getItem("aplayerhide")){document.getElementById("hideAplayer").checked=!1;var e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),a=document.getElementById("guiguiKsc");if(document.getElementById("xplayer")&&e&&t&&o&&a)e.style.visibility="hidden",t.style.visibility="hidden",o.style.visibility="hidden",a.style.visibility="hidden",hasgeci=!1,$("li",$albumList).eq(albumId).addClass(cur).find(".artist").html("暂停播放 > ").parent().siblings().removeClass(cur).find(".artist").html("").parent(),guiguiTips.show("暂停播放 - "+songSheetList[albumId].songNames[songId]),$cover.removeClass("coverplay"),audio.pause(),document.getElementsByClassName("pause")[0].style.display="none",document.getElementsByClassName("play")[0].style.display="block",$.cookie("auto_playre","no");else setTimeout((()=>Snackbar.show({text:"本站配合音乐播放器最佳(可在设置里关闭)",pos:"bottom-right",actionText:"开启播放器",onActionClick:function(e){toggleAplayer()}})),15e3)}else if(null==localStorage.getItem("aplayerhide"))localStorage.setItem("aplayerhide","true"),document.getElementById("hideAplayer").checked=!1;else{document.getElementById("hideAplayer").checked=!0;e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),a=document.getElementById("guiguiKsc");if(document.getElementById("xplayer")&&e&&t&&o&&a)e.style.visibility="visible",t.style.visibility="visible",o.style.visibility="visible",a.style.visibility="visible";else{var l=document.createElement("script");l.id="xplayer",l.src="https://y.cenguigui.cn/Static/player13/js/player.js",l.setAttribute("key",GLOBAL_CONFIG.player.key),l.setAttribute("m",GLOBAL_CONFIG.player.mobile),document.getElementsByTagName("body")[0].appendChild(l)}}if(document.getElementsByClassName("reSettings")[0].onclick=function(){localStorage.clear(),window.location.reload()},toggleWinbox=function(){$("#settingWindow").fadeToggle(),"none"!=document.getElementById("settingWindow").style.display&&(document.getElementById("settingWindow").style.display="flex")},fullScreen=function(){document.fullscreenElement?document.exitFullscreen():document.documentElement.requestFullscreen()},toggleAside=function(){const e=document.documentElement.classList;e.contains("hide-aside")?saveToLocal.set("aside-status","show",2):saveToLocal.set("aside-status","hide",2),e.toggle("hide-aside")},toggleAplayer=function(){if("true"==localStorage.getItem("aplayerhide")){localStorage.setItem("aplayerhide",!1);var e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),a=document.getElementById("guiguiKsc");if((i=document.getElementById("xplayer"))&&e&&t&&o&&a)e.style.visibility="visible",t.style.visibility="visible",o.style.visibility="visible",a.style.visibility="visible";else{var l=document.createElement("script");l.id="xplayer",l.src="https://y.cenguigui.cn/Static/player13/js/player.js",l.setAttribute("key",GLOBAL_CONFIG.player.key),l.setAttribute("m",GLOBAL_CONFIG.player.mobile),document.getElementsByTagName("body")[0].appendChild(l)}}else{localStorage.setItem("aplayerhide",!0);var i=document.getElementById("xplayer");e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),a=document.getElementById("guiguiKsc");if(i&&e&&t&&o&&a)e.style.visibility="hidden",t.style.visibility="hidden",o.style.visibility="hidden",a.style.visibility="hidden",hasgeci=!1,$("li",$albumList).eq(albumId).addClass(cur).find(".artist").html("暂停播放 > ").parent().siblings().removeClass(cur).find(".artist").html("").parent(),guiguiTips.show("暂停播放 - "+songSheetList[albumId].songNames[songId]),$cover.removeClass("coverplay"),audio.pause(),document.getElementsByClassName("pause")[0].style.display="none",document.getElementsByClassName("play")[0].style.display="block",$.cookie("auto_playre","no");else setTimeout((()=>Snackbar.show({text:"本站配合音乐播放器最佳(可在设置里关闭)",pos:"bottom-right",actionText:"开启播放器",onActionClick:function(e){toggleAplayer()}})),15e3)}},toggleSakuras=function(){isSakura=!isSakura,stopp(isSakura),"true"==localStorage.getItem("sakurahide")?localStorage.setItem("sakurahide",!1):localStorage.setItem("sakurahide",!0)},switchAside=function(){if(left)document.getElementById("aside-content").classList.add("right"),document.querySelector(".layout > div:first-child").classList.add("left"),localStorage.setItem("leftAside","false");else{document.getElementById("aside-content").className="aside-content",document.querySelector(".layout > div:first-child").className="";try{document.querySelector("#recent-posts").className="recent-posts"}catch(e){}localStorage.setItem("leftAside","true")}left=!left},left=1,"true"==localStorage.getItem("leftAside")||null==localStorage.getItem("leftAside")||switchAside(),"true"==localStorage.getItem("autoTheme")){localStorage.setItem("autoTheme","false"),document.getElementById("autoTheme").checked=!0;var i=new Date;i.getHours()<=7||i.getHours()>=19?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set("theme","light",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day))}toggleAutoTheme=()=>{if("false"==localStorage.getItem("autoTheme"))localStorage.setItem("autoTheme","true"),$("#con-mode").show();else{localStorage.setItem("autoTheme","false");var e=new Date;e.getHours()<=7||e.getHours()>=19?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set("theme","light",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day)),$("#con-mode").hide()}}}document.addEventListener("pjax:complete",tosetting),document.addEventListener("DOMContentLoaded",tosetting),switchDarkMode=function(){"light"===("dark"===document.documentElement.getAttribute("data-theme")?"dark":"light")?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set("theme","light",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day)),"function"==typeof utterancesTheme&&utterancesTheme(),"object"==typeof FB&&window.loadFBComment(),window.DISQUS&&document.getElementById("disqus_thread").children.length&&setTimeout((()=>window.disqusReset()),200)};
|
@@ -0,0 +1 @@
|
|
1
|
+
function FixedCardWidget(e,d,i){if("id"===e)var t=document.getElementById(d);else t=document.getElementsByClassName(d)[i];t&&(t.className.indexOf("fixed-card-widget")>-1?RemoveFixedCardWidget():(RemoveFixedCardWidget(),CreateQuitBox(),t.classList.add("fixed-card-widget")))}function CreateQuitBox(){document.getElementById("aside-content").insertAdjacentHTML("beforebegin",'<div id="quit-box" onclick="RemoveFixedCardWidget()"></div>')}function RemoveFixedCardWidget(){var e=document.querySelectorAll(".fixed-card-widget");if(e)for(i=0;i<e.length;i++)e[i].classList.remove("fixed-card-widget");var d=document.getElementById("quit-box");d&&d.remove()}RemoveFixedCardWidget();
|
package/en/js/custom.js
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
function whenDOMReady() {
|
2
|
+
if (location.pathname == '/essay/') document.addEventListener('DOMContentLoaded', function () {setTimeout(() => { changeTime(), btf.loadLightbox(document.querySelectorAll('#icat-bber img')), window.lazyLoadInstance && window.lazyLoadInstance.update(), reflashWaterFall();}, 300)})
|
3
|
+
}
|
4
|
+
whenDOMReady()
|
5
|
+
document.addEventListener("pjax:complete", whenDOMReady)
|
6
|
+
|
7
|
+
// 适配pjax
|
8
|
+
|
9
|
+
window.onresize = () => {
|
10
|
+
waterfall('#waterfall');
|
11
|
+
};
|
12
|
+
|
13
|
+
// 自适应
|
14
|
+
|
15
|
+
function timeDiff(timeObj, today) {
|
16
|
+
const timeObjUTC = Date.UTC(timeObj.getFullYear(), timeObj.getMonth(), timeObj.getDate());
|
17
|
+
const todayUTC = Date.UTC(today.getFullYear(), today.getMonth(), today.getDate());
|
18
|
+
|
19
|
+
const timeDiff = todayUTC - timeObjUTC;
|
20
|
+
return Math.floor(timeDiff / (1000 * 3600 * 24));
|
21
|
+
}
|
22
|
+
function changeTime() {
|
23
|
+
const timeElements = Array.from(document.getElementsByTagName("time"));
|
24
|
+
const currentDate = new Date();
|
25
|
+
|
26
|
+
timeElements.forEach(timeElement => {
|
27
|
+
const datetime = timeElement.getAttribute("datetime");
|
28
|
+
const timeObj = new Date(datetime);
|
29
|
+
const daysDiff = timeDiff(timeObj, currentDate);
|
30
|
+
|
31
|
+
let timeString;
|
32
|
+
if (daysDiff === 0) {
|
33
|
+
timeString = `最近`;
|
34
|
+
} else if (daysDiff === 1) {
|
35
|
+
timeString = `昨天`;
|
36
|
+
} else if (daysDiff === 2) {
|
37
|
+
timeString = `前天`;
|
38
|
+
} else if (daysDiff <= 7) {
|
39
|
+
timeString = `${daysDiff}天前`;
|
40
|
+
} else {
|
41
|
+
if (timeObj.getFullYear() !== currentDate.getFullYear()) {
|
42
|
+
timeString = `${timeObj.getFullYear()}/${timeObj.getMonth() + 1}/${timeObj.getDate()}`;
|
43
|
+
} else {
|
44
|
+
timeString = `${timeObj.getMonth() + 1}/${timeObj.getDate()}`;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
timeElement.textContent = timeString;
|
48
|
+
});
|
49
|
+
}
|
50
|
+
function reflashWaterFall() {
|
51
|
+
document.querySelector("#waterfall") &&
|
52
|
+
setTimeout(function() {
|
53
|
+
waterfall("#waterfall");
|
54
|
+
document.getElementById("waterfall")
|
55
|
+
.classList.add("show");
|
56
|
+
}, 500);
|
57
|
+
} // 加载显示 - 即刻短文
|
58
|
+
function commentText(txt) {
|
59
|
+
const inputs = ["#wl-edit", ".el-textarea__inner"];
|
60
|
+
for (let i = 0; i < inputs.length; i++) {
|
61
|
+
let el = document.querySelector(inputs[i]);
|
62
|
+
if (el != null) {
|
63
|
+
el.dispatchEvent(new Event('input', { bubble: true, cancelable: true }));
|
64
|
+
el.value = '> ' + txt.replace(/\n/g, '\n> ') + '\n\n';
|
65
|
+
el.focus();
|
66
|
+
el.setSelectionRange(-1, -1);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
} // 引用评论跳转 - 即刻短文
|
package/en/js/day.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
var d=new Date;function randomNum(o,e){switch(arguments.length){case 1:return parseInt(Math.random()*o+1,10);case 2:return parseInt(Math.random()*(e-o+1)+o,10);default:return 0}}m=d.getMonth()+1,dd=d.getDate(),y=d.getFullYear(),9==m&&18==dd&&(console.log("勿忘国耻,振兴中华!\n\n今天是1931年9月18日九一八事变"+(y-1931).toString()+"周年纪念日!\n================================================================="),document.getElementsByTagName("html")[0].setAttribute("style","filter: grayscale(100%);"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("今天是1931年9月18日九一八事变"+(y-1931).toString()+"周年纪念日。\n勿忘国耻,振兴中华!"),sessionStorage.setItem("isPopupWindow","1"))),7==m&&7==dd&&(console.log("勿忘国耻,振兴中华!\n\n今天是1937年7月7日卢沟桥事变"+(y-1937).toString()+"周年纪念日!\n================================================================="),document.getElementsByTagName("html")[0].setAttribute("style","filter: grayscale(100%);"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("今天是1937年7月7日卢沟桥事变"+(y-1937).toString()+"周年纪念日。\n勿忘国耻,振兴中华!"),sessionStorage.setItem("isPopupWindow","1"))),12==m&&13==dd&&(console.log("勿忘国耻,振兴中华!\n\n今天是1937年12月13日南京大屠杀"+(y-1931).toString()+"周年纪念日!为遇难的无辜同胞们缅怀!\n================================================================="),document.getElementsByTagName("html")[0].setAttribute("style","filter: grayscale(100%);"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("今天是1937年12月13日南京大屠杀"+(y-1937).toString()+"周年纪念日,希望你能停下来缅怀遇难的无辜同胞们。\n勿忘国耻,振兴中华!"),sessionStorage.setItem("isPopupWindow","1"))),8==m&&14==dd&&(console.log("勿忘国耻,振兴中华!\n\n今天是8月14日世界慰安妇纪念日!\n================================================================="),document.getElementsByTagName("html")[0].setAttribute("style","filter: grayscale(100%);"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("今天是8月14日世界慰安妇纪念日,希望你能停下来了解一下来为历史作证,为曾经的无辜妇女发声。\n勿忘国耻,振兴中华!"),sessionStorage.setItem("isPopupWindow","1"))),10==m&&dd<=5&&(console.log("祖国"+(y-1949).toString()+"岁生日快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("祖国"+(y-1949).toString()+"岁生日快乐!"),sessionStorage.setItem("isPopupWindow","1"))),8==m&&15==dd&&(console.log("鬼子投降"+(y-1945).toString()+"年了!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("鬼子投降"+(y-1945).toString()+"年了!"),sessionStorage.setItem("isPopupWindow","1"))),1==m&&1==dd&&(console.log(y.toString()+"年元旦快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire(y.toString()+"年元旦快乐!"),sessionStorage.setItem("isPopupWindow","1"))),3==m&&8==dd&&(console.log("各位女神们,妇女节快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("各位女神们,妇女节快乐!"),sessionStorage.setItem("isPopupWindow","1"))),l=["震惊!微软让Minecraft Java免费了!","Minecraft竟然违背Mojang的原则发布2.0!","非常抱歉,因为不可控原因,博客将于明天停止运营,再见","好消息,日本没了!","美国垮了,背后原因竟是时刻心心念念想着祖国的川普!","微软垮了!"],console.log(m,dd),4==m&&1==dd&&(console.log(l[randomNum(0,l.length-1)]),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire(l[randomNum(0,l.length-1)]),sessionStorage.setItem("isPopupWindow","1"))),5==m&&1==dd&&(console.log("劳动节快乐!为助力各行各业发展辛勤工作的人们致敬!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("劳动节快乐!为助力各行各业发展辛勤工作的人们致敬!"),sessionStorage.setItem("isPopupWindow","1"))),5==m&&1==dd&&(console.log("劳动节快乐!为助力各行各业发展辛勤工作的人们致敬!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("劳动节快乐!为助力各行各业发展辛勤工作的人们致敬!"),sessionStorage.setItem("isPopupWindow","1"))),5==m&&4==dd&&(console.log("为有思想政治觉悟,拥护中国共产党,追求无产阶级、共产主义、马克思主义的青年们致敬!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("为有思想政治觉悟,拥护中国共产党,追求无产阶级、共产主义、马克思主义的青年们致敬"),sessionStorage.setItem("isPopupWindow","1"))),6==m&&1==dd&&(console.log("各位小朋友们,儿童节快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("各位小朋友们,儿童节快乐!"),sessionStorage.setItem("isPopupWindow","1"))),7==m&&1==dd&&(console.log("中国共产党"+(y-1921).toString()+"岁生日快乐"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("中国共产党"+(y-1921).toString()+"岁生日快乐"),sessionStorage.setItem("isPopupWindow","1"))),(4==m&&4==dd||4==m&&5==dd)&&(console.log("清明安康"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("清明安康"),sessionStorage.setItem("isPopupWindow","1")));var lunar=calendarFormatter.solar2lunar();("正月"==lunar.IMonthCn&&"初六"==lunar.IDayCn||"正月"==lunar.IMonthCn&&"初五"==lunar.IDayCn||"正月"==lunar.IMonthCn&&"初四"==lunar.IDayCn||"正月"==lunar.IMonthCn&&"初三"==lunar.IDayCn||"正月"==lunar.IMonthCn&&"初二"==lunar.IDayCn||"正月"==lunar.IMonthCn&&"初一"==lunar.IDayCn||"腊月"==lunar.IMonthCn&&"三十"==lunar.IDayCn||"腊月"==lunar.IMonthCn&&"廿九"==lunar.IDayCn)&&(console.log(y.toString()+"年新年快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire(y.toString()+"年新年快乐!"),sessionStorage.setItem("isPopupWindow","1"))),"正月"==lunar.IMonthCn&&"十五"==lunar.IDayCn&&(console.log("元宵节快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("元宵节快乐!"),sessionStorage.setItem("isPopupWindow","1"))),"正月"==lunar.IMonthCn&&"十五"==lunar.IDayCn&&(console.log("元宵节快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("元宵节快乐!"),sessionStorage.setItem("isPopupWindow","1"))),"五月"==lunar.IMonthCn&&"初五"==lunar.IDayCn&&(console.log("端午节快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("端午节快乐!"),sessionStorage.setItem("isPopupWindow","1"))),"七月"==lunar.IMonthCn&&"初七"==lunar.IDayCn&&(console.log("七夕节快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("七夕节快乐!"),sessionStorage.setItem("isPopupWindow","1"))),"八月"==lunar.IMonthCn&&"十五"==lunar.IDayCn&&(console.log("中秋节快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("中秋节快乐!"),sessionStorage.setItem("isPopupWindow","1"))),"九月"==lunar.IMonthCn&&"初九"==lunar.IDayCn&&(console.log("重阳节快乐!"),"1"!=sessionStorage.getItem("isPopupWindow")&&(Swal.fire("重阳节快乐!"),sessionStorage.setItem("isPopupWindow","1")));
|
package/en/js/fps.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
function fps(){if("1"==window.localStorage.getItem("fpson")){var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},n=0,s=Date.now(),o=Date.now(),a=function(){var t=Date.now(),l=t-o,p=Math.round(1e3/l);if(o=t,n++,t>1e3+s){if((p=Math.round(1e3*n/(t-s)))<=6)var i=`<span style="color:#bd0000">${GLOBAL_LANG.fps.laggy4}</span>`;else if(p<=10)i=`<span style="color:red">${GLOBAL_LANG.fps.laggy3}</span>`;else if(p<=14)i=`<span style="color:yellow">${GLOBAL_LANG.fps.laggy2}</span>`;else if(p<24)i=`<span style="color:orange">${GLOBAL_LANG.fps.laggy1}</span>`;else if(p<=40)i=`<span style="color:green">${GLOBAL_LANG.fps.normal2}</span>`;else i=`<span style="color:#425aef">${GLOBAL_LANG.fps.normal1}</span>`;document.getElementById("fps").innerHTML=`FPS:${p} ${i}`,n=0,s=t}e(a)};a()}else $("#fps").hide()}document.addEventListener("pjax:complete",fps),document.addEventListener("DOMContentLoaded",fps);
|
package/en/js/hometop.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
var bywind={hideTodayCard:function(){document.getElementById("todayCard")&&document.getElementById("todayCard").classList.add("hide")}};$(".topGroup").hover((function(){}),(function(){document.getElementById("todayCard").classList.remove("hide"),document.getElementById("todayCard").style.zIndex=1}));
|
package/en/js/lunar.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
var lunarInfo=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],solarMonth=[31,28,31,30,31,30,31,31,30,31,30,31],Gan=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhi=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals=["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm=["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],sTermInfo=["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],nStr1=["日","一","二","三","四","五","六","七","八","九","十"],nStr2=["初","十","廿","卅"],nStr3=["正","二","三","四","五","六","七","八","九","十","冬","腊"];function lYearDays(b){var f,c=348;for(f=32768;f>8;f>>=1)c+=lunarInfo[b-1900]&f?1:0;return c+leapDays(b)}function leapMonth(b){return 15&lunarInfo[b-1900]}function leapDays(b){return leapMonth(b)?65536&lunarInfo[b-1900]?30:29:0}function monthDays(b,f){return f>12||f<1?-1:lunarInfo[b-1900]&65536>>f?30:29}function solarDays(b,f){if(f>12||f<1)return-1;var c=f-1;return 1===c?b%4==0&&b%100!=0||b%400==0?29:28:solarMonth[c]}function toGanZhiYear(b){var f=(b-3)%10,c=(b-3)%12;return 0===f&&(f=10),0===c&&(c=12),Gan[f-1]+Zhi[c-1]}function toAstro(b,f){return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".substr(2*b-(f<[20,19,21,21,21,22,23,23,23,23,22,22][b-1]?2:0),2)+"座"}function toGanZhi(b){return Gan[b%10]+Zhi[b%12]}function getTerm(b,f){if(b<1900||b>2100)return-1;if(f<1||f>24)return-1;var c=sTermInfo[b-1900],e=[parseInt("0x"+c.substr(0,5)).toString(),parseInt("0x"+c.substr(5,5)).toString(),parseInt("0x"+c.substr(10,5)).toString(),parseInt("0x"+c.substr(15,5)).toString(),parseInt("0x"+c.substr(20,5)).toString(),parseInt("0x"+c.substr(25,5)).toString()],a=[e[0].substr(0,1),e[0].substr(1,2),e[0].substr(3,1),e[0].substr(4,2),e[1].substr(0,1),e[1].substr(1,2),e[1].substr(3,1),e[1].substr(4,2),e[2].substr(0,1),e[2].substr(1,2),e[2].substr(3,1),e[2].substr(4,2),e[3].substr(0,1),e[3].substr(1,2),e[3].substr(3,1),e[3].substr(4,2),e[4].substr(0,1),e[4].substr(1,2),e[4].substr(3,1),e[4].substr(4,2),e[5].substr(0,1),e[5].substr(1,2),e[5].substr(3,1),e[5].substr(4,2)];return parseInt(a[f-1])}function toChinaMonth(b){if(b>12||b<1)return-1;var f=nStr3[b-1];return f+="月"}function toChinaDay(b){var f;switch(b){case 10:f="初十";break;case 20:f="二十";break;case 30:f="三十";break;default:f=nStr2[Math.floor(b/10)],f+=nStr1[b%10]}return f}function getAnimal(b){return Animals[(b-4)%12]}function solar2lunar(b,f,c){if(b<1900||b>2100)return-1;if(1900===b&&1===f&&c<31)return-1;var e,a,r=null,t=0;b=(r=b?new Date(b,parseInt(f)-1,c):new Date).getFullYear(),f=r.getMonth()+1,c=r.getDate();var d=(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate())-Date.UTC(1900,0,31))/864e5;for(e=1900;e<2101&&d>0;e++)d-=t=lYearDays(e);d<0&&(d+=t,e--);var n=new Date,s=!1;n.getFullYear()===b&&n.getMonth()+1===f&&n.getDate()===c&&(s=!0);var u=r.getDay(),o=nStr1[u];0===u&&(u=7);var l=e;a=leapMonth(e);var i=!1;for(e=1;e<13&&d>0;e++)a>0&&e===a+1&&!1===i?(--e,i=!0,t=leapDays(l)):t=monthDays(l,e),!0===i&&e===a+1&&(i=!1),d-=t;0===d&&a>0&&e===a+1&&(i?i=!1:(i=!0,--e)),d<0&&(d+=t,--e);var h=e,D=d+1,g=f-1,v=toGanZhiYear(l),y=getTerm(b,2*f-1),m=getTerm(b,2*f),p=toGanZhi(12*(b-1900)+f+11);c>=y&&(p=toGanZhi(12*(b-1900)+f+12));var M=!1,T=null;y===c&&(M=!0,T=solarTerm[2*f-2]),m===c&&(M=!0,T=solarTerm[2*f-1]);var I=toGanZhi(Date.UTC(b,g,1,0,0,0,0)/864e5+25567+10+c-1),C=toAstro(f,c);return{lYear:l,lMonth:h,lDay:D,Animal:getAnimal(l),IMonthCn:(i?"闰":"")+toChinaMonth(h),IDayCn:toChinaDay(D),cYear:b,cMonth:f,cDay:c,gzYear:v,gzMonth:p,gzDay:I,isToday:s,isLeap:i,nWeek:u,ncWeek:"星期"+o,isTerm:M,Term:T,astro:C}}var calendarFormatter={solar2lunar:function(b,f,c){return solar2lunar(b,f,c)},lunar2solar:function(b,f,c,e){if((e=!!e)&&leapMonth!==f)return-1;if(2100===b&&12===f&&c>1||1900===b&&1===f&&c<31)return-1;var a=monthDays(b,f),r=a;if(e&&(r=leapDays(b,f)),b<1900||b>2100||c>r)return-1;for(var t=0,d=1900;d<b;d++)t+=lYearDays(d);var n=0,s=!1;for(d=1;d<f;d++)n=leapMonth(b),s||n<=d&&n>0&&(t+=leapDays(b),s=!0),t+=monthDays(b,d);e&&(t+=a);var u=Date.UTC(1900,1,30,0,0,0),o=new Date(864e5*(t+c-31)+u);return solar2lunar(o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate())}};
|
package/en/js/main.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
document.addEventListener("DOMContentLoaded",(function(){let t,e,n=!1;const o=n=>{const o=t=>{let e=0;return t.length&&Array.from(t).forEach((t=>{e+=t.offsetWidth})),e};if(n){const n=o(document.querySelector("#blog-info > a").children),i=o(document.getElementById("menus").children);t=n+i,e=document.getElementById("nav")}let i="";i=window.innerWidth<=768||t>e.offsetWidth-120,i?e.classList.add("hide-menu"):e.classList.remove("hide-menu")},i=()=>{btf.sidebarPaddingR(),document.body.style.overflow="hidden",btf.animateIn(document.getElementById("menu-mask"),"to_show 0.5s"),document.getElementById("sidebar-menus").classList.add("open"),n=!0},c=()=>{const t=document.body;t.style.overflow="",t.style.paddingRight="",btf.animateOut(document.getElementById("menu-mask"),"to_hide 0.5s"),document.getElementById("sidebar-menus").classList.remove("open"),n=!1},s=function(){const t=GLOBAL_CONFIG.highlight;if(!t)return;const e=t.highlightCopy,n=t.highlightLang,o=GLOBAL_CONFIG_SITE.isHighlightShrink,i=t.highlightHeightLimit,c=e||n||void 0!==o,s="highlighjs"===t.plugin?document.querySelectorAll("figure.highlight"):document.querySelectorAll('pre[class*="language-"]');if(!c&&!i||!s.length)return;const a="prismjs"===t.plugin;let l="",r="";const d=!0===o?"closed":"";void 0!==o&&(l=`<i class="fas fa-angle-down expand ${d}"></i>`),e&&(r='<div class="copy-notice"></div><i class="fas fa-paste copy-button"></i>');const u=t=>{const e=t.parentNode;e.classList.add("copy-true");const n=window.getSelection(),o=document.createRange();a?o.selectNodeContents(e.querySelectorAll("pre code")[0]):o.selectNodeContents(e.querySelectorAll("table .code pre")[0]),n.removeAllRanges(),n.addRange(o);n.toString();((t,e)=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy"))if(document.execCommand("copy"),void 0!==GLOBAL_CONFIG.Snackbar)btf.snackbarShow(GLOBAL_CONFIG.copy.success);else{const t=e.previousElementSibling;t.innerText=GLOBAL_CONFIG.copy.success,t.style.opacity=1,setTimeout((()=>{t.style.opacity=0}),700)}else void 0!==GLOBAL_CONFIG.Snackbar?btf.snackbarShow(GLOBAL_CONFIG.copy.noSupport):e.previousElementSibling.innerText=GLOBAL_CONFIG.copy.noSupport})(0,t.lastChild),n.removeAllRanges(),e.classList.remove("copy-true")},m=function(t){const e=t.target.classList;e.contains("expand")?(t=>{const e=[...t.parentNode.children].slice(1);t.firstChild.classList.toggle("closed"),btf.isHidden(e[e.length-1])?e.forEach((t=>{t.style.display="block"})):e.forEach((t=>{t.style.display="none"}))})(this):e.contains("copy-button")&&u(this)},g=function(){this.classList.toggle("expand-done")};function f(t,e,n){const o=document.createDocumentFragment();if(c){const e=document.createElement("div");e.className=`highlight-tools ${d}`,e.innerHTML=l+t+r,e.addEventListener("click",m),o.appendChild(e)}if(i&&e.offsetHeight>i+30){const t=document.createElement("div");t.className="code-expand-btn",t.innerHTML='<i class="fas fa-angle-double-down"></i>',t.addEventListener("click",g),o.appendChild(t)}"hl"===n?e.insertBefore(o,e.firstChild):e.parentNode.insertBefore(o,e)}n?a?s.forEach((function(t){const e=`<div class="code-lang">${t.getAttribute("data-language")?t.getAttribute("data-language"):"Code"}</div>`;btf.wrap(t,"figure",{class:"highlight"}),f(e,t)})):s.forEach((function(t){let e=t.getAttribute("class").split(" ")[1];"plain"!==e&&void 0!==e||(e="Code");f(`<div class="code-lang">${e}</div>`,t,"hl")})):a?s.forEach((function(t){btf.wrap(t,"figure",{class:"highlight"}),f("",t)})):s.forEach((function(t){f("",t,"hl")}))};const a=function(){const t=document.getElementById("rightside"),e=window.innerHeight+56;if(document.body.scrollHeight<=e)return void(t.style.cssText="opacity: 1; transform: translateX(-58px)");let n=0,o=!0;const i=document.getElementById("page-header"),c="function"==typeof chatBtnHide,s="function"==typeof chatBtnShow,a=GLOBAL_CONFIG.percent.rightside,l=btf.throttle((()=>{const l=window.scrollY||document.documentElement.scrollTop,r=function(t){const e=t>n;return n=t,e}(l);l>56?(i.classList.add("is-top-bar"),r?(i.classList.contains("nav-visible")&&i.classList.remove("nav-visible"),s&&!0===o&&(chatBtnHide(),o=!1)):(i.classList.contains("nav-visible")||i.classList.add("nav-visible"),c&&!1===o&&(chatBtnShow(),o=!0)),i.classList.add("nav-fixed"),"0"===window.getComputedStyle(t).getPropertyValue("opacity")&&(t.style.cssText="opacity: 0.8; transform: translateX(-58px)")):(0===l&&i.classList.remove("is-top-bar"),t.style.cssText="opacity: ''; transform: ''"),a&&(t=>{const e=btf.getScrollPercent(t,document.body),n=document.getElementById("go-up");e<95?(n.classList.add("show-percent"),n.querySelector(".scroll-percent").textContent=e):n.classList.remove("show-percent")})(l),document.body.scrollHeight<=e&&(t.style.cssText="opacity: 0.8; transform: translateX(-58px)")}),200);window.scrollCollect=l,window.addEventListener("scroll",scrollCollect)},l=function(){const t=GLOBAL_CONFIG_SITE.isToc,e=GLOBAL_CONFIG.isAnchor,n=document.getElementById("article-container");if(!n||!t&&!e)return;let o,i,c,s,a;if(t){const t=document.getElementById("card-toc");i=t.getElementsByClassName("toc-content")[0],o=i.querySelectorAll(".toc-link"),s=t.querySelector(".toc-percentage"),a=i.classList.contains("is-expand"),window.mobileToc={open:()=>{t.style.cssText="animation: toc-open .3s; opacity: 1; right: 55px"},close:()=>{t.style.animation="toc-close .2s",setTimeout((()=>{t.style.cssText="opacity:''; animation: ''; right: ''"}),100)}},i.addEventListener("click",(t=>{t.preventDefault();const e=t.target.classList;if(e.contains("toc-content"))return;const n=e.contains("toc-link")?t.target:t.target.parentElement;btf.scrollToDest(btf.getEleTop(document.getElementById(decodeURI(n.getAttribute("href")).replace("#",""))),300),window.innerWidth<900&&window.mobileToc.close()})),c=t=>{const e=t.getBoundingClientRect().top,n=i.scrollTop;e>document.documentElement.clientHeight-100&&(i.scrollTop=n+150),e<100&&(i.scrollTop=n-150)}}const l=n.querySelectorAll("h1,h2,h3,h4,h5,h6");let r="";window.tocScrollFn=btf.throttle((()=>{const d=window.scrollY||document.documentElement.scrollTop;t&&GLOBAL_CONFIG.percent.toc&&(s.textContent=btf.getScrollPercent(d,n)),function(n){if(0===n)return!1;let s="",d="";if(l.forEach((function(t,e){if(n>btf.getEleTop(t)-80){const n=t.id;s=n?"#"+encodeURI(n):"",d=e}})),r!==d&&(e&&btf.updateAnchor(s),r=d,t)){if(i.querySelectorAll(".active").forEach((t=>{t.classList.remove("active")})),""===s)return;const t=o[d];if(t.classList.add("active"),setTimeout((()=>{c(t)}),0),a)return;let e=t.parentNode;for(;!e.matches(".toc");e=e.parentNode)e.matches("li")&&e.classList.add("active")}}(d)}),100),window.addEventListener("scroll",tocScrollFn)},r=()=>{const t=document.body;t.classList.add("read-mode");const e=document.createElement("button");e.type="button",e.className="fas fa-sign-out-alt exit-readmode",t.appendChild(e),e.addEventListener("click",(function n(){t.classList.remove("read-mode"),e.remove(),e.removeEventListener("click",n)}))},d=()=>{"light"===("dark"===document.documentElement.getAttribute("data-theme")?"dark":"light")?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set("theme","light",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day)),"function"==typeof utterancesTheme&&utterancesTheme(),"function"==typeof changeGiscusTheme&&changeGiscusTheme(),"object"==typeof FB&&window.loadFBComment&&window.loadFBComment(),"function"==typeof runMermaid&&window.runMermaid()},u=t=>{const e=document.getElementById("rightside-config-hide").classList;e.toggle("show"),t.classList.contains("show")&&(e.add("status"),setTimeout((()=>{e.remove("status")}),300)),t.classList.toggle("show")},m=()=>{btf.scrollToDest(0,500)},g=()=>{const t=document.documentElement.classList;t.contains("hide-aside")?saveToLocal.set("aside-status","show",2):saveToLocal.set("aside-status","hide",2),t.toggle("hide-aside")},f=()=>{"0"===window.getComputedStyle(document.getElementById("card-toc")).getPropertyValue("opacity")?window.mobileToc.open():window.mobileToc.close()};document.getElementById("rightside").addEventListener("click",(function(t){const e=t.target.id?t.target:t.target.parentNode;switch(e.id){case"go-up":m();break;case"rightside_config":u(e);break;case"mobile-toc-button":f();break;case"readmode":r();break;case"darkmode":d();break;case"hide-aside-btn":g()}}));const h=()=>{document.querySelectorAll("#sidebar-menus .site-page.group").forEach((function(t){t.addEventListener("click",(function(){this.classList.toggle("hide")}))}))},p=function(){document.querySelectorAll("#article-container .tab > button").forEach((function(t){t.addEventListener("click",(function(t){const e=this,n=e.parentNode;if(!n.classList.contains("active")){const t=n.parentNode.nextElementSibling,o=btf.siblings(n,".active")[0];o&&o.classList.remove("active"),n.classList.add("active");const i=e.getAttribute("data-href").replace("#","");[...t.children].forEach((t=>{t.id===i?t.classList.add("active"):t.classList.remove("active")}));const c=t.querySelectorAll(`#${i} .fj-gallery`);c.length>0&&btf.initJustifiedGallery(c)}}))}))},y=()=>{document.querySelectorAll("#article-container .tabs .tab-to-top").forEach((function(t){t.addEventListener("click",(function(){btf.scrollToDest(btf.getEleTop(btf.getParents(this,".tabs")),300)}))}))},L=function(t){t.forEach((t=>{const e=t,n=e.getAttribute("datetime");e.innerText=btf.diffDate(n,!0),e.style.display="inline"}))};window.refreshFn=function(){o(!0),e.classList.add("show"),GLOBAL_CONFIG_SITE.isPost?(void 0!==GLOBAL_CONFIG.noticeOutdate&&function(){const t=GLOBAL_CONFIG.noticeOutdate,e=btf.diffDate(GLOBAL_CONFIG_SITE.postUpdate);if(e>=t.limitDay){const n=document.createElement("div");n.className="post-outdate-notice",n.textContent=t.messagePrev+" "+e+" "+t.messageNext;const o=document.getElementById("article-container");"top"===t.position?o.insertBefore(n,o.firstChild):o.appendChild(n)}}(),GLOBAL_CONFIG.relativeDate.post&&L(document.querySelectorAll("#post-meta time"))):(GLOBAL_CONFIG.relativeDate.homepage&&L(document.querySelectorAll("#recent-posts time")),GLOBAL_CONFIG.runtime&&(()=>{const t=document.getElementById("runtimeshow");if(t){const e=t.getAttribute("data-publishDate");t.innerText=btf.diffDate(e)+" "+GLOBAL_CONFIG.runtime}})(),(()=>{const t=document.getElementById("last-push-date");if(t){const e=t.getAttribute("data-lastPushDate");t.innerText=btf.diffDate(e,!0)}})(),function(){const t=document.querySelectorAll("#aside-cat-list .card-category-list-item.parent i");t.length&&t.forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),this.classList.toggle("expand");const e=this.parentNode.nextElementSibling;btf.isHidden(e)?e.style.display="block":e.style.display="none"}))}))}()),l(),GLOBAL_CONFIG_SITE.isHome&&(()=>{const t=document.getElementById("scroll-down");t&&t.addEventListener("click",(function(){btf.scrollToDest(document.getElementById("content-inner").offsetTop,300)}))})(),s(),GLOBAL_CONFIG.isPhotoFigcaption&&document.querySelectorAll("#article-container img").forEach((function(t){const e=t.parentNode,n=t.title||t.alt;if(n&&!e.parentNode.classList.contains("justified-gallery")){const o=document.createElement("div");o.className="img-alt is-center",o.textContent=n,e.insertBefore(o,t.nextSibling)}})),a();const t=document.querySelectorAll("#article-container .fj-gallery");t.length&&function(t){const e=t=>{let e="";const n=t=>t.replace(/"/g,""");return t.forEach((t=>{const o=t.alt?`alt="${n(t.alt)}"`:"",i=t.title?`title="${n(t.title)}"`:"";e+=`<div class="fj-gallery-item"><img src="${t.url}" ${o+i}"></div>`})),e},n=(t,n)=>{const o=t.getAttribute("data-limit"),i=n.length;return i>o?t.insertAdjacentHTML("beforeend",e(n.splice(0,o))):(t.insertAdjacentHTML("beforeend",e(n)),t.classList.remove("lazyload")),i>o?o:i};t.forEach((t=>{const o=JSON.parse(t.querySelector(".gallery-data").textContent);if(t.classList.contains("lazyload")){n(t,o);const e=t.getAttribute("data-limit"),i=()=>{const c=n(t,o);fjGallery(t,"appendImages",t.querySelectorAll(`.fj-gallery-item:nth-last-child(-n+${c})`)),btf.loadLightbox(t.querySelectorAll("img")),c<e&&t.nextElementSibling.removeEventListener("click",i)};t.nextElementSibling.addEventListener("click",i)}else t.innerHTML=e(o)})),window.fjGallery?setTimeout((()=>{btf.initJustifiedGallery(t)}),100):(getCSS(`${GLOBAL_CONFIG.source.justifiedGallery.css}`),getScript(`${GLOBAL_CONFIG.source.justifiedGallery.js}`).then((()=>{btf.initJustifiedGallery(t)})))}(t),btf.loadLightbox(document.querySelectorAll("#article-container img:not(.no-lightbox)")),(()=>{const t=document.querySelectorAll("#article-container :not(.highlight) > table, #article-container > table");t.length&&t.forEach((t=>{btf.wrap(t,"div",{class:"table-wrap"})}))})(),function(){const t=document.querySelectorAll("#article-container .hide-button");t.length&&t.forEach((function(t){t.addEventListener("click",(function(t){this.classList.add("open");const e=this.nextElementSibling.querySelectorAll(".fj-gallery");e.length&&btf.initJustifiedGallery(e)}))}))}(),p(),y(),function(){let t=!1;const e=document.querySelector("#comment-switch > .switch-btn");e&&e.addEventListener("click",(function(){this.classList.toggle("move"),document.querySelectorAll("#post-comment > .comment-wrap > div").forEach((function(t){btf.isHidden(t)?t.style.cssText="display: block;animation: tabshow .5s":t.style.cssText="display: none;animation: ''"})),t||"function"!=typeof loadOtherComment||(t=!0,loadOtherComment())}))}(),document.getElementById("toggle-menu").addEventListener("click",(()=>{i()}))},refreshFn(),window.addEventListener("resize",(()=>{o(!1),btf.isHidden(document.getElementById("toggle-menu"))&&n&&c()})),document.getElementById("menu-mask").addEventListener("click",(t=>{c()})),h(),GLOBAL_CONFIG.islazyload&&(window.lazyLoadInstance=new LazyLoad({elements_selector:"img",threshold:0,data_src:"lazy-src"})),void 0!==GLOBAL_CONFIG.copyright&&(()=>{const t=GLOBAL_CONFIG.copyright;document.body.oncopy=e=>{let n;e.preventDefault();const o=window.getSelection(0).toString();return n=o.length>t.limitCount?o+"\n\n\n"+t.languages.author+"\n"+t.languages.link+window.location.href+"\n"+t.languages.source+"\n"+t.languages.info:o,e.clipboardData?e.clipboardData.setData("text",n):window.clipboardData.setData("text",n)}})()}));
|
package/en/js/nav.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
function tonav(){document.getElementById("name-container").setAttribute("style","display:none");var e=$(window).scrollTop();$(window).scroll((function(){var t=$(window).scrollTop();t>e?(document.getElementById("name-container").setAttribute("style",""),document.getElementsByClassName("menus_items")[1].setAttribute("style","display:none!important")):(document.getElementsByClassName("menus_items")[1].setAttribute("style",""),document.getElementById("name-container").setAttribute("style","display:none")),e=t})),document.getElementById("page-name").innerText=document.title.split(" ")[0]}document.addEventListener("pjax:complete",tonav),document.addEventListener("DOMContentLoaded",tonav);
|
package/en/js/orlike.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
const version="V0.1.33";function setCookie(e,i,t){var s=new Date;s.setTime(s.getTime()+24*t*60*60*1e3);var o="expires="+s.toGMTString();document.cookie=e+"="+i+"; "+o}function getCookie(e){for(var i=e+"=",t=document.cookie.split(";"),s=0;s<t.length;s++){var o=t[s].trim();if(0==o.indexOf(i))return o.substring(i.length,o.length)}return""}function createLink(e){let i=$(document.createElement("link"));i.attr("href",e),i.attr("rel","stylesheet"),i.attr("type","text/css"),$("link").last().after(i)}function OrLike({serverUrl:e="",el:i="",days:t=30,style:s="",ifont:o="",icon:r={like:"fa fa-thumbs-up",dislike:"fa fa-thumbs-down"}}={}){this.serverUrl=e,this.el=i,this.style=s,this.ifont=o,this.days=t,this.icon=r,this.ckid="",this.prepare(),this.init()}OrLike.prototype.prepare=function(){$(this.el).addClass("orlike-loading"),""!=this.style&&createLink(this.style),""!=this.ifont&&createLink(this.ifont)},OrLike.prototype.init=function(){server_url=this.serverUrl,obj=this,$.ajax({type:"GET",url:server_url+"/tmp",dataType:"jsonp",jsonp:"callback",jsonpCallback:"success",xhrFields:{withCredentials:!0},async:!0,crossDomain:!0,success:function(e){let i=$(e.template),t=i.siblings("a.likeit.orlike").children("i"),s=i.siblings("a.dislikeit.orlike").children("i");t.attr("class",obj.icon.like),s.attr("class",obj.icon.dislike),0==obj.icon.like&&t.remove(),0==obj.icon.dislike&&s.remove(),$(obj.el).removeClass("orlike-loading"),$(obj.el).html(i),obj.ckusr(obj),$("a.likeit.orlike").click({obj:obj},obj.like),$("a.dislikeit.orlike").click({obj:obj},obj.dislike)}})},OrLike.prototype.ckusr=function(e){server_url=this.serverUrl,$.ajax({type:"GET",url:server_url+"/ckusr",dataType:"jsonp",jsonp:"callback",jsonpCallback:"success",xhrFields:{withCredentials:!0},async:!1,crossDomain:!0,success:function(i){"ok"==i.stat&&""!=i.uid?(e.ckid=i.ckid,getCookie(i.ckid)||setCookie(i.ckid,i.uid,e.days),e.query()):console.error("connect orlike failed!!!")}})},OrLike.prototype.query=function(){server_url=this.serverUrl,$.ajax({type:"GET",url:server_url+"/qry?link="+window.location.pathname,dataType:"jsonp",jsonp:"callback",jsonpCallback:"success",xhrFields:{withCredentials:!0},crossDomain:!0,success:function(e){"ok"==e.stat?($("a.likeit.orlike i span").text(e.like),$("span.post-meta-orlike a span").text(e.like),$("a.dislikeit.orlike i span").text(e.dislike)):console.error("query orlike failed!!!")}})},OrLike.prototype.orl=function(e,i){server_url=e.serverUrl,req_url=server_url+"/orl?method="+i+"&link="+window.location.pathname+"&"+e.ckid+"="+getCookie(e.ckid),$.ajax({type:"GET",url:req_url,dataType:"jsonp",jsonp:"callback",jsonpCallback:"success",xhrFields:{withCredentials:!0},crossDomain:!0,success:function(i){e.query()}})},OrLike.prototype.like=function(e){obj=e.data.obj,obj.orl(obj,"like")},OrLike.prototype.dislike=function(e){obj=e.data.obj,obj.orl(obj,"dislike")};
|
package/en/js/owobig.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
function owoBig(){let e=1,t="",o=document.createElement("div"),n=document.querySelector("body");o.id="owo-big",n.appendChild(o),new MutationObserver((i=>{for(let d=0;d<i.length;d++){let l=i[d].addedNodes,c="";2==l.length&&"OwO-body"==l[1].className&&(c=l[1],document.body.clientWidth<=768&&c.addEventListener("contextmenu",(e=>e.preventDefault())),c.onmouseover=i=>{e&&"IMG"==i.target.tagName&&(e=0,t=setTimeout((()=>{let e=3*i.target.clientHeight,t=3*i.target.clientWidth,d=i.x-i.offsetX-(t-i.target.clientWidth)/2,l=i.y-i.offsetY;d+t>n.clientWidth&&(d-=d+t-n.clientWidth+10),d<0&&(d=10),o.style.cssText=`display:flex; height:${e}px; width:${t}px; left:${d}px; top:${l}px;`,o.innerHTML=`<img src="${i.target.src}">`}),300))},c.onmouseout=()=>{o.style.display="none",e=1,clearTimeout(t)})}})).observe(document.getElementById("post-comment"),{subtree:!0,childList:!0})}document.getElementById("post-comment")&&owoBig();
|