[
  {
    "path": ".editorconfig",
    "content": "# editorconfig.org\nroot = true\n\n[*]\nindent_style = space\nindent_size = 2\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\n\n[*.md]\ntrim_trailing_whitespace = false\n"
  },
  {
    "path": ".eslintrc",
    "content": "{\n  \"extends\": [\n    \"eslint:recommended\"\n  ],\n  \"parserOptions\": {\n    \"ecmaVersion\": 2018\n  },\n  \"rules\": {\n    // Override recomennded\n    \"no-console\": [\n      2,\n      {\n        \"allow\": [\n          \"warn\"\n        ]\n      }\n    ],\n    \"no-empty\": [\n      2,\n      {\n        \"allowEmptyCatch\": true\n      }\n    ],\n    \"no-unused-vars\": [\n      2,\n      {\n        \"args\": \"none\"\n      }\n    ],\n    // Possible Errors\n    \"no-extra-parens\": [\n      2,\n      \"all\",\n      {\n        \"conditionalAssign\": false,\n        \"returnAssign\": false,\n        \"nestedBinaryExpressions\": false,\n        \"enforceForArrowConditionals\": false\n      }\n    ],\n    // Best Practices\n    \"array-callback-return\": 2,\n    \"block-scoped-var\": 2,\n    \"curly\": [\n      2,\n      \"multi-line\"\n    ],\n    \"dot-location\": [\n      2,\n      \"property\"\n    ],\n    \"dot-notation\": 2,\n    \"eqeqeq\": [\n      2,\n      \"smart\"\n    ],\n    \"no-else-return\": 2,\n    \"no-eval\": 2,\n    \"no-extend-native\": 2,\n    \"no-extra-bind\": 2,\n    \"no-extra-label\": 2,\n    \"no-implicit-globals\": 2,\n    \"no-implied-eval\": 2,\n    \"no-lone-blocks\": 2,\n    \"no-loop-func\": 2,\n    \"no-multi-spaces\": [\n      2,\n      {\n        \"exceptions\": {\n          \"ImportDeclaration\": true,\n          \"VariableDeclarator\": true,\n          \"FunctionDeclarator\": true,\n          \"AssignmentExpression\": true,\n          \"CallExpression\": true\n        }\n      }\n    ],\n    \"no-multi-str\": 2,\n    \"no-new\": 2,\n    \"no-new-func\": 2,\n    \"no-new-wrappers\": 2,\n    \"no-proto\": 2,\n    \"no-return-assign\": 2,\n    \"no-self-compare\": 2,\n    \"no-sequences\": 2,\n    \"no-throw-literal\": 2,\n    \"no-unused-expressions\": [\n      2,\n      {\n        \"allowShortCircuit\": true,\n        \"allowTernary\": true\n      }\n    ],\n    \"no-useless-call\": 2,\n    \"no-useless-concat\": 2,\n    \"no-useless-return\": 2,\n    \"no-void\": 2,\n    \"no-with\": 2,\n    \"prefer-promise-reject-errors\": 2,\n    \"radix\": 2,\n    \"wrap-iife\": [\n      2,\n      \"inside\"\n    ],\n    \"yoda\": 2,\n    // Variables\n    \"no-label-var\": 2,\n    \"no-shadow-restricted-names\": 2,\n    \"no-undef-init\": 2,\n    // Node.js and CommonJS\n    \"handle-callback-err\": 2,\n    \"no-path-concat\": 2,\n    // Stylistic Issues\n    \"array-bracket-spacing\": 2,\n    \"block-spacing\": 2,\n    \"brace-style\": [\n      2,\n      \"1tbs\",\n      {\n        \"allowSingleLine\": true\n      }\n    ],\n    \"comma-dangle\": 2,\n    \"comma-spacing\": 2,\n    \"comma-style\": 2,\n    \"computed-property-spacing\": 2,\n    \"eol-last\": 2,\n    \"func-call-spacing\": 2,\n    \"indent\": [\n      2,\n      2,\n      {\n        \"SwitchCase\": 1,\n        \"VariableDeclarator\": {\n          \"var\": 2,\n          \"let\": 2,\n          \"const\": 3\n        }\n      }\n    ],\n    \"key-spacing\": [\n      2,\n      {\n        \"align\": \"colon\",\n        \"beforeColon\": false\n      }\n    ],\n    \"keyword-spacing\": 2,\n    \"linebreak-style\": [\"off\", \"window\"],\n    \"lines-around-comment\": 2,\n    \"new-cap\": [\n      2,\n      {\n        \"capIsNew\": false\n      }\n    ],\n    \"new-parens\": 2,\n    \"no-array-constructor\": 2,\n    \"no-mixed-operators\": 2,\n    \"no-multiple-empty-lines\": 2,\n    \"no-nested-ternary\": 2,\n    \"no-new-object\": 2,\n    \"no-trailing-spaces\": 2,\n    \"no-unneeded-ternary\": 2,\n    \"no-whitespace-before-property\": 2,\n    \"object-curly-spacing\": [\n      2,\n      \"always\"\n    ],\n    \"one-var\": [\n      2,\n      {\n        \"uninitialized\": \"always\",\n        \"initialized\": \"never\"\n      }\n    ],\n    \"operator-linebreak\": [\n      2,\n      \"before\"\n    ],\n    \"quotes\": [\n      2,\n      \"single\"\n    ],\n    \"semi\": 2,\n    \"semi-spacing\": 2,\n    \"space-before-blocks\": 2,\n    \"space-before-function-paren\": [\n      2,\n      \"never\"\n    ],\n    \"space-in-parens\": 2,\n    \"space-infix-ops\": 2,\n    \"space-unary-ops\": 2,\n    \"template-tag-spacing\": 2,\n    \"unicode-bom\": 2,\n    // ECMAScript 6\n    \"arrow-spacing\": 2,\n    \"generator-star-spacing\": [\n      2,\n      \"after\"\n    ],\n    \"no-confusing-arrow\": [\n      2,\n      {\n        \"allowParens\": true\n      }\n    ],\n    \"no-duplicate-imports\": 2,\n    \"no-useless-computed-key\": 2,\n    \"no-useless-constructor\": 2,\n    \"no-useless-rename\": 2,\n    \"rest-spread-spacing\": 2,\n    \"template-curly-spacing\": 2,\n    \"yield-star-spacing\": 2\n  },\n  \"env\": {\n    \"browser\": true,\n    \"jquery\": true,\n    \"mocha\": true,\n    \"node\": true,\n    \"es6\": true\n  }\n}\n"
  },
  {
    "path": ".gitattributes",
    "content": "source/lib/* linguist-vendored\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/bug_report.md",
    "content": "---\nname: Bug report\nabout: Create a report to help us improve\ntitle: ''\nlabels: ':bug: bug'\nassignees: ''\n---\n\n#### Make sure\n- [ ] Upgrade the latest [release](https://github.com/fluid-dev/hexo-theme-fluid/releases).\n- [ ] It can be replicated through `hexo clean && hexo s` and cleared browser cache in the localhost.\n- [ ] Not affected by other Hexo plugins\n\n#### Describe the bug\n<!-- A clear and concise description of what the bug is. -->\n<!-- It is better to provide related items of _config.yml -->\n\n#### To Reproduce\nSteps to reproduce the behavior:\n1. Go to '...', click on '....'\n2. Scroll down to '....'\n3. See error\n\n<!-- It is better to provide the page link that can be reproduced -->\n\n#### Screenshots\n<!-- For front page problems, please provide a screenshot of your browser console -->\n<!-- For hexo command problems, please provide a screenshot of your command console -->\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/bug_report_zh.md",
    "content": "---\nname: Bug 报告\nabout: 创建一份 Bug 报告帮助我们优化产品\ntitle: ''\nlabels: ':bug: bug'\nassignees: ''\n---\n\n<!-- 必读 -->\n<!-- 1. 反馈 Bug 必须按照本模板提供足够详细的复现步骤和相关配置，否则请后退使用问题求助 -->\n<!-- 2. 功能如果不正常工作，请先检查自己的环境和 Hexo 插件，特别是从其他主题更换过来的用户 -->\n<!-- 3. 前端页面问题，请先打开浏览器控制台（Console），自行尝试理解和解决其中的报错，确认非网络或配置问题 -->\n<!-- 4. 如果本地页面正常，部署后有问题，请清除缓存或者耐心等待 CDN 刷新（可能持续数小时），这不属于主题问题 -->\n\n#### 请确认\n- [ ] 是当前最新的 [Release 版本](https://github.com/fluid-dev/hexo-theme-fluid/releases)\n- [ ] 本地 `hexo clean && hexo s`，并且清除浏览器缓存，仍可复现\n- [ ] 已经排除是其他 Hexo 插件影响\n\n#### Bug 描述\n<!-- 例如，当 xxx 时，xxx 功能不工作，期望是 xxx 能工作，浏览器: Chrome -->\n<!-- 如果涉及一些功能配置，最好提供 _config.yml 里相关配置项 -->\n\n#### 复现步骤\n该 Bug 复现步骤如下：\n1. 在 xxx 页面点击 xxx 按钮\n2. 然后向下滚动\n3. 会出现 xxx\n\n<!-- 最好提供部署后能复现的页面地址 -->\n\n#### 截图\n<!-- 前端页面问题请提供浏览器控制台（Console）的截图 -->\n<!-- 本地 hexo 命令中报错问题请提供命令行的截图 -->\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/feature_request.md",
    "content": "---\nname: Feature request\nabout: Suggest an idea for this project\ntitle: ''\nlabels: ':sparkles: enhancement'\nassignees: ''\n---\n\n#### Make sure\n- [ ] Difficult to implemented through [custom](https://hexo.fluid-dev.com/docs/en/guide/#custom-js-css-html).\n- [ ] Difficult to implemented through third-party plugins.\n\n#### Is your feature request related to a problem? Please describe\n<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]. -->\n\n#### Describe the solution you'd like\n<!-- A clear and concise description of what you want to happen. -->\n\n#### Describe alternatives you've considered\n<!-- A clear and concise description of any alternative solutions or features you've considered. -->\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/feature_request_zh.md",
    "content": "---\nname: 功能需求或优化\nabout: 创建一份合理可行的建议帮助我们提升产品\ntitle: ''\nlabels: ':sparkles: enhancement'\nassignees: ''\n---\n\n#### 如是功能需求，请确定符合以下情况\n- [ ] 难以通过[自定义](https://hexo.fluid-dev.com/docs/guide/#自定义-js-css-html)实现\n- [ ] 难以通过第三方插件实现\n\n#### 请描述该需求尝试解决的问题\n<!-- 例如，当 xxx 时，我总是被当前 xxx 的设计所困扰。 -->\n\n#### 请描述您认为可行的解决方案\n<!-- 例如，添加 xxx 功能能够解决问题。 -->\n\n#### 考虑过的替代方案\n<!-- 例如，如果用 xxx，也能解决该问题。 -->\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/question.md",
    "content": "---\nname: Question\nabout: Ask a question about use, need help\n---\n\n#### Make sure\n- [ ] Upgrade the latest [release](https://github.com/fluid-dev/hexo-theme-fluid/releases)\n- [ ] No solution found in [documentations](https://hexo.fluid-dev.com/docs/en/)\n\n#### Describe the question\n<!-- A clear and concise description of what the question is. -->\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/question_zh.md",
    "content": "---\nname: 问题求助\nabout: 提出一个使用过程中遇到的问题，需要得到帮助\n---\n\n<!-- 必读 -->\n<!-- 1. 功能如果不正常工作，请先检查自己的环境和 Hexo 插件，特别是从其他主题更换过来的用户 -->\n<!-- 2. 前端页面问题，请先打开浏览器控制台（Console），自行尝试理解和解决其中的报错，确认非网络或配置问题 -->\n<!-- 3. 如果本地页面正常，部署后有问题，请清除缓存或者耐心等待 CDN 刷新（可能持续数小时），这不属于主题问题 -->\n\n#### 请确认\n- [ ] 是当前最新的 [Release 版本](https://github.com/fluid-dev/hexo-theme-fluid/releases)\n- [ ] 在 [用户指南](https://hexo.fluid-dev.com/docs/) 中没有找到解决办法\n\n#### 问题描述\n<!--\n例如，在使用 xxx 时出现了 xxx 报错。\n如果是页面问题，需要提供浏览器版本（如果本地样式没问题，部署后有问题，请清除浏览器缓存）。\n-->\n"
  },
  {
    "path": ".github/workflows/cr.yaml",
    "content": "name: Code Review Bot\n\npermissions:\n  contents: read\n  pull-requests: write\n\non:\n  pull_request:\n    types: [opened, reopened, synchronize]\n\njobs:\n  test:\n    # if: ${{ contains(github.event.*.labels.*.name, 'gpt review') }} # Optional; to run only when a label is attached\n    runs-on: ubuntu-latest\n    steps:\n      - uses: anc95/ChatGPT-CodeReview@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          # Optional\n          LANGUAGE: Chinese\n          OPENAI_API_ENDPOINT: https://api.openai.com/v1\n          MODEL: gpt-3.5-turbo\n          PROMPT:\n          top_p: 1\n          temperature: 1\n          max_tokens: 1000\n          MAX_PATCH_LENGTH: 1000"
  },
  {
    "path": ".github/workflows/limit.yaml",
    "content": "name: Limit PRs\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  limit_master_pr:\n    runs-on: ubuntu-latest\n    name: Limits PR to master\n    steps:\n      - name: Limit action step\n        id: limit_action\n        uses: LukBukkit/action-pr-limits@v1\n        with:\n          whitelist: |\n            develop\n"
  },
  {
    "path": ".github/workflows/publish.yaml",
    "content": "name: Publish Package\n\non:\n  release:\n    types: [created]\n\npermissions:\n  contents: read\n  id-token: write\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n  publish-npm:\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          registry-url: https://registry.npmjs.org/\n      - run: npm ci\n      - run: npm publish --provenance --access public\n"
  },
  {
    "path": ".gitignore",
    "content": ".idea/\n.vscode/\n.DS_Store\nThumbs.db\n\n*.log\n*.iml\nnode_modules/\npackage-lock.json\n*.lock\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    hexo-theme-fluid is an elegant Material-Design theme for Hexo.\n    Copyright (C) 2022  Fluid-dev\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    hexo-theme-fluid  Copyright (C) 2022  Fluid-dev\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<http://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<http://www.gnu.org/philosophy/why-not-lgpl.html>.\n"
  },
  {
    "path": "README.md",
    "content": "<p align=\"center\">\n  <img alt=\"Fluid Logo\" src=\"https://avatars2.githubusercontent.com/t/3419353?s=280&v=4\" width=\"128\">\n</p>\n\n<p align=\"center\">一款 Material Design 风格的主题</p>\n<p align=\"center\">An elegant Material-Design theme for Hexo</p>\n\n![ScreenShot](https://cdn.jsdelivr.net/gh/fluid-dev/static@master/hexo-theme-fluid/screenshots/index.png)\n\n<p align=\"center\">\n  <a title=\"Hexo Version\" target=\"_blank\" href=\"https://hexo.io/zh-cn/\"><img alt=\"Hexo Version\" src=\"https://img.shields.io/badge/Hexo-%3E%3D%205.0-orange?style=flat\"></a>\n  <a title=\"Node Version\" target=\"_blank\" href=\"https://nodejs.org/zh-cn/\"><img alt=\"Node Version\" src=\"https://img.shields.io/badge/Node-%3E%3D%2010.13.0-yellowgreen?style=flat\"></a>\n  <a title=\"License\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/blob/master/LICENSE\"><img alt=\"License\" src=\"https://img.shields.io/github/license/fluid-dev/hexo-theme-fluid.svg?style=flat\"></a>\n  <br>\n  <a title=\"GitHub Release\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/releases\"><img alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/fluid-dev/hexo-theme-fluid?style=flat\"></a>\n  <a title=\"Npm Downloads\" target=\"_blank\" href=\"https://www.npmjs.com/package/hexo-theme-fluid\"><img alt=\"Npm Downloads\" src=\"https://img.shields.io/npm/dt/hexo-theme-fluid?color=red&label=npm\"></a>\n  <a title=\"GitHub Commits\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/commits/master\"><img alt=\"GitHub Commits\" src=\"https://img.shields.io/github/commit-activity/m/fluid-dev/hexo-theme-fluid.svg?style=flat&color=brightgreen&label=commits\"></a>\n  <br><br>\n  <a title=\"GitHub Watchers\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/watchers\"><img alt=\"GitHub Watchers\" src=\"https://img.shields.io/github/watchers/fluid-dev/hexo-theme-fluid.svg?label=Watchers&style=social\"></a>  \n  <a title=\"GitHub Stars\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/stargazers\"><img alt=\"GitHub Stars\" src=\"https://img.shields.io/github/stars/fluid-dev/hexo-theme-fluid.svg?label=Stars&style=social\"></a>  \n  <a title=\"GitHub Forks\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/network/members\"><img alt=\"GitHub Forks\" src=\"https://img.shields.io/github/forks/fluid-dev/hexo-theme-fluid.svg?label=Forks&style=social\"></a>  \n</p>\n\n<p align=\"center\">🇨🇳 中文简体  |  <a title=\"English\" href=\"README_en.md\">🇬🇧 English</a></p>\n\n<p align=\"center\">\n  <span>文档：</span>\n  <a href=\"https://hexo.fluid-dev.com/docs/guide/\">主题配置</a> | \n  <a href=\"https://hexo.io/zh-cn/docs/front-matter\">文章配置</a>\n</p>\n\n<p align=\"center\">\n  <span>预览：</span>\n  <a href=\"https://hexo.fluid-dev.com/\">Fluid's blog</a> | \n  <a href=\"https://zkqiang.cn\">zkqiang's blog</a>\n</p>\n\n## 快速开始\n\n#### 1. 搭建 Hexo 博客\n\n如果你还没有 Hexo 博客，请按照 [Hexo 官方文档](https://hexo.io/zh-cn/docs/) 进行安装、建站。\n\n#### 2. 获取主题最新版本\n\n**方式一：**\n\nHexo 5.0.0 版本以上，推荐通过 npm 直接安装，进入博客目录执行命令：\n\n```sh\nnpm install --save hexo-theme-fluid\n```\n\n然后在博客目录下创建 `_config.fluid.yml`，将主题的 [_config.yml](https://github.com/fluid-dev/hexo-theme-fluid/blob/master/_config.yml) 内容复制进去。\n\n**方式二：**\n\n下载 [最新 release 版本](https://github.com/fluid-dev/hexo-theme-fluid/releases) 解压到 themes 目录，并将解压出的文件夹重命名为 `fluid`。\n\n#### 3. 指定主题\n\n如下修改 Hexo 博客目录中的 `_config.yml`：\n\n```yaml\ntheme: fluid  # 指定主题\n\nlanguage: zh-CN  # 指定语言，会影响主题显示的语言，按需修改\n```\n\n#### 4. 创建「关于页」\n\n首次使用主题的「关于页」需要手动创建：\n\n```bash\nhexo new page about\n```\n\n创建成功后，编辑博客目录下 `/source/about/index.md`，添加 `layout` 属性。\n\n修改后的文件示例如下：\n\n```yaml\n---\ntitle: about\nlayout: about\n---\n\n这里写关于页的正文，支持 Markdown, HTML\n```\n\n## 更新主题\n\n更新主题的方式[参照这里](https://hexo.fluid-dev.com/docs/start/#更新主题)。\n\n## 功能特性\n\n- [x] 无比详实的[用户文档](https://hexo.fluid-dev.com/docs/)\n- [x] 页面组件懒加载\n- [x] 多种代码高亮方案\n- [x] 多语言配置\n- [x] 内置多款评论插件\n- [x] 内置网页访问统计\n- [x] 内置文章本地搜索\n- [x] 支持暗色模式\n- [x] 支持脚注语法\n- [x] 支持 LaTeX 数学公式\n- [x] 支持 mermaid 流程图\n\n## 鸣谢\n\n<table>\n  <thead>\n    <tr>\n      <th align=\"center\" style=\"width: 240px;\">\n        <a href=\"https://www.jetbrains.com/?from=hexo-theme-fluid\">\n          <img src=\"https://raw.githubusercontent.com/fluid-dev/static/690616966f34a58d66aa15ac7b550dd7bbc03967/hexo-theme-fluid/jetbrains.svg\" width=\"100%\" height=\"200px\" style=\"object-fit: contain;\"><br>\n          <sub>开发工具提供方 JetBrains</sub><br>\n        </a>\n      </th>\n    </tr>\n  </thead>\n</table>\n\n## 贡献者\n\n[![contributors](https://opencollective.com/hexo-theme-fluid/contributors.svg?width=890&button=false)](https://github.com/fluid-dev/hexo-theme-fluid/graphs/contributors)\n\n英文文档翻译：[@EatRice](https://eatrice.top/) [@橙子杀手](https://ruru.eatrice.top) [@Sinetian](https://sinetian.github.io/)\n\n其他贡献：[@zhugaoqi](https://github.com/zhugaoqi) [@julydate](https://github.com/julydate) [@xiyuvi](https://xiyu.pro/)\n\n如你也想贡献代码，可参照[贡献指南](https://hexo.fluid-dev.com/docs/contribute/)\n\n## 支持我们\n\n如果你觉得这个项目有帮助，并愿意支持它的发展，可以通过以下方式支持我们的开源创作：\n\n<table>\n  <thead>\n    <tr>\n      <th align=\"center\" width=\"240\">\n        <div>\n          <img src=\"https://github.com/fluid-dev/static/blob/master/hexo-theme-fluid/sponsor.png?s=200&v=4\" height=\"200px\" alt=\"微信赞赏码\"><br>\n          <sub>微信赞赏码</sub>\n        </div>\n      </th>\n    </tr>\n  </thead>\n</table>\n\n同时我们正在**寻求商业赞助**，如果贵司想在本页显著位置展示广告位（每月 6K+ Views 定向流量曝光），或者有其他赞助形式，可将联系方式发送邮件至 zkqiang#126.com (#替换为@)。\n\n## Star 趋势\n\n[![Stargazers over time](https://starchart.cc/fluid-dev/hexo-theme-fluid.svg)](https://starchart.cc/fluid-dev/hexo-theme-fluid)\n"
  },
  {
    "path": "README_en.md",
    "content": "<p align=\"center\">\n  <img alt=\"Fluid Logo\" src=\"https://avatars2.githubusercontent.com/t/3419353?s=280&v=4\" width=\"128\">\n</p>\n\n<p align=\"center\">An elegant Material-Design theme for Hexo</p>\n\n![ScreenShot](https://cdn.jsdelivr.net/gh/fluid-dev/static@master/hexo-theme-fluid/screenshots/index.png)\n\n<p align=\"center\">\n  <a title=\"Hexo Version\" target=\"_blank\" href=\"https://hexo.io\"><img alt=\"Hexo Version\" src=\"https://img.shields.io/badge/Hexo-%3E%3D%205.0-orange?style=flat\"></a>\n  <a title=\"Node Version\" target=\"_blank\" href=\"https://nodejs.org\"><img alt=\"Node Version\" src=\"https://img.shields.io/badge/Node-%3E%3D%2010.13.0-yellowgreen?style=flat\"></a>\n  <a title=\"License\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/blob/master/LICENSE\"><img alt=\"License\" src=\"https://img.shields.io/github/license/fluid-dev/hexo-theme-fluid.svg?style=flat\"></a>\n  <br>\n  <a title=\"GitHub Release\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/releases\"><img alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/fluid-dev/hexo-theme-fluid?style=flat\"></a>\n  <a title=\"Npm Downloads\" target=\"_blank\" href=\"https://www.npmjs.com/package/hexo-theme-fluid\"><img alt=\"Npm Downloads\" src=\"https://img.shields.io/npm/dt/hexo-theme-fluid?color=red&label=npm\"></a>\n  <a title=\"GitHub Commits\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/commits/master\"><img alt=\"GitHub Commits\" src=\"https://img.shields.io/github/commit-activity/m/fluid-dev/hexo-theme-fluid.svg?style=flat&color=brightgreen&label=commits\"></a>\n  <br><br>\n  <a title=\"GitHub Watchers\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/watchers\"><img alt=\"GitHub Watchers\" src=\"https://img.shields.io/github/watchers/fluid-dev/hexo-theme-fluid.svg?label=Watchers&style=social\"></a>  \n  <a title=\"GitHub Stars\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/stargazers\"><img alt=\"GitHub Stars\" src=\"https://img.shields.io/github/stars/fluid-dev/hexo-theme-fluid.svg?label=Stars&style=social\"></a>  \n  <a title=\"GitHub Forks\" target=\"_blank\" href=\"https://github.com/fluid-dev/hexo-theme-fluid/network/members\"><img alt=\"GitHub Forks\" src=\"https://img.shields.io/github/forks/fluid-dev/hexo-theme-fluid.svg?label=Forks&style=social\"></a>  \n</p>\n\n<p align=\"center\"><a title=\"Chinese\" href=\"README.md\">🇨🇳 中文简体</a>  |  🇬🇧 English</p>\n\n<p align=\"center\">\n  <span>Docs: </span>\n  <a href=\"https://hexo.fluid-dev.com/docs/en/guide/\">Theme guide</a>&nbsp&nbsp&nbsp&nbsp\n  <a href=\"https://hexo.io/docs/front-matter\">Post guide</a>\n</p>\n\n<p align=\"center\">\n  <span>Preview: </span>\n  <a href=\"https://hexo.fluid-dev.com/\">Fluid's blog</a> | \n  <a href=\"https://zkqiang.cn\">zkqiang's blog</a>\n</p>\n\n## Quick Start\n\n#### 1. Install Hexo\n\nIf you don't have a hexo blog, please follow [Hexo Docs](https://hexo.io/docs/) to install and initialize your blog。\n\n#### 2. Install Fluid\n\n**Way A:**\n\nIf your Hexo version >= 5.0.0, you can install Fluid via Npm:\n\n```sh\nnpm install --save hexo-theme-fluid\n```\n\nThen create `_config.fluid.yml` in the blog directory and copy the content of [_config.yml](https://github.com/fluid-dev/hexo-theme-fluid/blob/master/_config.yml).\n\n**Way B:**\n\nDownload the [latest release](https://github.com/fluid-dev/hexo-theme-fluid/releases), then extract it to `themes` directory and renamed to `fluid`.\n\n#### 3. Set theme\n\nEdit `_config.yml` in the blog root directory as follows:\n\n```yaml\ntheme: fluid\n```\n\n#### 4. Create about page\n\nThe about page needs to be created manually:\n\n```bash\nhexo new page about\n```\n\nThen edit `/source/about/index.md` and add `layout` attribute.\n\nThe modified example is as follows:\n\n```yaml\n---\ntitle: about\nlayout: about\n---\n\nAbout content\n```\n\n## How to Upgrade\n\n[Please follow here](https://hexo.fluid-dev.com/docs/en/start/#theme-upgrade)\n\n## Features\n\n- [x] Detailed [documents](https://hexo.fluid-dev.com/docs/en/)\n- [x] Widget lazyload\n- [x] Multiple code highlighting schemes\n- [x] Multiple comment plugins\n- [x] Multiple language configurations\n- [x] Multiple website analysis\n- [x] Support for local search\n- [x] Support for footnote\n- [x] Support for LaTeX\n- [x] Support for Mermaid\n- [x] Dark mode\n\n## Thanks\n\n<table>\n  <thead>\n    <tr>\n      <th align=\"center\" style=\"width: 240px;\">\n        <a href=\"https://www.jetbrains.com/?from=hexo-theme-fluid\">\n          <img src=\"https://raw.githubusercontent.com/fluid-dev/static/690616966f34a58d66aa15ac7b550dd7bbc03967/hexo-theme-fluid/jetbrains.svg\" width=\"100%\" height=\"200px\" style=\"object-fit: contain;\"><br>\n          <sub>Powered by JetBrains</sub><br>\n        </a>\n      </th>\n    </tr>\n  </thead>\n</table>\n\n## Contributors\n\n[![contributors](https://opencollective.com/hexo-theme-fluid/contributors.svg?width=890&button=false)](https://github.com/fluid-dev/hexo-theme-fluid/graphs/contributors)\n\nEnglish docs translator: [@EatRice](https://eatrice.top/) [@橙子杀手](https://ruru.eatrice.top) [@Sinetian](https://sinetian.github.io/)\n\nContributors outside PR: [@zhugaoqi](https://github.com/zhugaoqi) [@julydate](https://github.com/julydate) [@xiyuvi](https://xiyu.pro/)\n\n## Star Trending\n\n[![Stargazers over time](https://starchart.cc/fluid-dev/hexo-theme-fluid.svg)](https://starchart.cc/fluid-dev/hexo-theme-fluid)\n"
  },
  {
    "path": "_config.yml",
    "content": "#---------------------------\n# Hexo Theme Fluid\n# Author: Fluid-dev\n# Github: https://github.com/fluid-dev/hexo-theme-fluid\n#\n# 配置指南: https://hexo.fluid-dev.com/docs/guide/\n# 你可以从指南中获得更详细的说明\n#\n# Guide: https://hexo.fluid-dev.com/docs/en/guide/\n# You can get more detailed help from the guide\n#---------------------------\n\n\n#---------------------------\n# 全局\n# Global\n#---------------------------\n\n# 用于浏览器标签的图标\n# Icon for browser tab\nfavicon: /img/fluid.png\n\n# 用于苹果设备的图标\n# Icon for Apple touch\napple_touch_icon: /img/fluid.png\n\n# 浏览器标签页中的标题分隔符，效果：文章名 - 站点名\n# Title separator in browser tab, eg: article - site\ntab_title_separator: \" - \"\n\n# 强制所有链接升级为 HTTPS（适用于图片等资源出现 HTTP 混入报错）\n# Force all links to be HTTPS (applicable to HTTP mixed error)\nforce_https: false\n\n# 代码块的增强配置\n# Enhancements to code blocks\ncode:\n  # 是否开启复制代码的按钮\n  # Enable copy code button\n  copy_btn: true\n\n  # 代码语言\n  # Code language\n  language:\n    enable: true\n    default: \"TEXT\"\n\n  # 代码高亮\n  # Code highlight\n  highlight:\n    enable: true\n\n    # 代码块是否显示行号\n    # If true, the code block display line numbers\n    line_number: true\n\n    # 实现高亮的库，对应下面的设置\n    # Highlight library\n    # Options: highlightjs | prismjs\n    lib: \"highlightjs\"\n\n    highlightjs:\n      # 在链接中挑选 style 填入\n      # Select a style in the link\n      # See: https://highlightjs.org/demo/\n      style: \"github gist\"\n      style_dark: \"dark\"\n\n    prismjs:\n      # 在下方链接页面右侧的圆形按钮挑选 style 填入，也可以直接填入 css 链接\n      # Select the style button on the right side of the link page, you can also set the CSS link\n      # See: https://prismjs.com/\n      style: \"default\"\n      style_dark: \"tomorrow night\"\n\n      # 设为 true 高亮将本地静态生成（但只支持部分 prismjs 插件），设为 false 高亮将在浏览器通过 js 生成\n      # If true, it will be generated locally (but some prismjs plugins are not supported). If false, it will be generated via JS in the browser\n      preprocess: true\n\n# 一些好玩的功能\n# Some fun features\nfun_features:\n  # 为 subtitle 添加打字机效果\n  # Typing animation for subtitle\n  typing:\n    enable: true\n\n    # 打印速度，数字越大越慢\n    # Typing speed, the larger the number, the slower\n    typeSpeed: 70\n\n    # 游标字符\n    # Cursor character\n    cursorChar: \"_\"\n\n    # 是否循环播放效果\n    # If true, loop animation\n    loop: false\n\n    # 在指定页面开启，不填则在所有页面开启\n    # Enable in specified page, all pages by default\n    # Options: home | post | tag | category | about | links | page | 404\n    scope: []\n\n  # 为文章内容中的标题添加锚图标\n  # Add an anchor icon to the title on the post page\n  anchorjs:\n    enable: true\n    element: h1,h2,h3,h4,h5,h6\n    # Options: left | right\n    placement: left\n\n    # Options: hover | always\n    visible: hover\n\n    # Options: § | # | ❡\n    icon: \"\"\n\n  # 加载进度条\n  # Progress bar when loading\n  progressbar:\n    enable: true\n    height_px: 3\n    color: \"#29d\"\n    # See: https://github.com/rstacruz/nprogress\n    options: { showSpinner: false, trickleSpeed: 100 }\n\n# 主题暗色模式，开启后菜单中会出现切换按钮，用户浏览器会存储切换选项，并且会遵循 prefers-color-scheme 自动切换\n# Theme dark mode. If enable, a switch button will appear on the menu, each of the visitor's browser will store his switch option\ndark_mode:\n  enable: true\n  # 默认的选项（当用户手动切换后则不再按照默认模式），选择 `auto` 会优先遵循 prefers-color-scheme，其次按用户本地时间 18 点到次日 6 点之间进入暗色模式\n  # Default option (when the visitor switches manually, the default mode is no longer followed), choosing `auto` will give priority to prefers-color-scheme, and then enter the dark mode from 18:00 to 6:00 in the visitor's local time\n  # Options: auto | light | dark\n  default: auto\n\n# 主题颜色配置，其他不生效的地方请使用自定义 css 解决，配色可以在下方链接中获得启发\n# Theme color, please use custom CSS to solve other colors, color schema can be inspired by the links below\n# See: https://www.webdesignrankings.com/resources/lolcolors/\ncolor:\n  # body 背景色\n  # Color of body background\n  body_bg_color: \"#eee\"\n  # 暗色模式下的 body 背景色，下同\n  # Color in dark mode, the same below\n  body_bg_color_dark: \"#181c27\"\n\n  # 顶部菜单背景色\n  # Color of navigation bar background\n  navbar_bg_color: \"#2f4154\"\n  navbar_bg_color_dark: \"#1f3144\"\n\n  # 顶部菜单字体色\n  # Color of navigation bar text\n  navbar_text_color: \"#fff\"\n  navbar_text_color_dark: \"#d0d0d0\"\n\n  # 副标题字体色\n  # Color of subtitle text\n  subtitle_color: \"#fff\"\n  subtitle_color_dark: \"#d0d0d0\"\n\n  # 全局字体色\n  # Color of global text\n  text_color: \"#3c4858\"\n  text_color_dark: \"#c4c6c9\"\n\n  # 全局次级字体色（摘要、简介等位置）\n  # Color of global secondary text (excerpt, introduction, etc.)\n  sec_text_color: \"#718096\"\n  sec_text_color_dark: \"#a7a9ad\"\n\n  # 主面板背景色\n  # Color of main board\n  board_color: \"#fff\"\n  board_color_dark: \"#252d38\"\n\n  # 文章正文字体色\n  # Color of post text\n  post_text_color: \"#2c3e50\"\n  post_text_color_dark: \"#c4c6c9\"\n\n  # 文章正文字体色（h1 h2 h3...）\n  # Color of Article heading (h1 h2 h3...)\n  post_heading_color: \"#1a202c\"\n  post_heading_color_dark: \"#c4c6c9\"\n\n  # 文章超链接字体色\n  # Color of post link\n  post_link_color: \"#0366d6\"\n  post_link_color_dark: \"#1589e9\"\n\n  # 超链接悬浮时字体色\n  # Color of link when hovering\n  link_hover_color: \"#30a9de\"\n  link_hover_color_dark: \"#30a9de\"\n\n  # 超链接悬浮背景色\n  # Color of link background when hovering\n  link_hover_bg_color: \"#f8f9fa\"\n  link_hover_bg_color_dark: \"#364151\"\n\n  # 分隔线和表格边线的颜色\n  # Color of horizontal rule and table border\n  line_color: \"#eaecef\"\n  line_color_dark: \"#435266\"\n\n  # 滚动条颜色\n  # Color of scrollbar\n  scrollbar_color: \"#c4c6c9\"\n  scrollbar_color_dark: \"#687582\"\n  # 滚动条悬浮颜色\n  # Color of scrollbar when hovering\n  scrollbar_hover_color: \"#a6a6a6\"\n  scrollbar_hover_color_dark: \"#9da8b3\"\n\n  # 按钮背景色\n  # Color of button\n  button_bg_color: \"transparent\"\n  button_bg_color_dark: \"transparent\"\n  # 按钮悬浮背景色\n  # Color of button when hovering\n  button_hover_bg_color: \"#f2f3f5\"\n  button_hover_bg_color_dark: \"#46647e\"\n\n# 主题字体配置\n# Font\nfont:\n  font_size: 16px\n  font_family:\n  letter_spacing: 0.02em\n  code_font_size: 85%\n\n# 指定自定义 .js 文件路径，支持列表；路径是相对 source 目录，如 /js/custom.js 对应存放目录 source/js/custom.js\n# Specify the path of your custom js file, support list. The path is relative to the source directory, such as `/js/custom.js` corresponding to the directory `source/js/custom.js`\ncustom_js:\n\n# 指定自定义 .css 文件路径，用法和 custom_js 相同\n# The usage is the same as custom_js\ncustom_css:\n\n# 网页访问统计\n# Analysis of website visitors\nweb_analytics:\n  enable: false\n\n  # 遵循访客浏览器\"请勿追踪\"的设置，如果开启则不统计其访问\n  # Follow the \"Do Not Track\" setting of the visitor's browser\n  # See: https://www.w3.org/TR/tracking-dnt/\n  follow_dnt: true\n\n  # 百度统计的 Key，值需要获取下方链接中 `hm.js?` 后边的字符串\n  # Baidu analytics, get the string behind `hm.js?`\n  # See: https://tongji.baidu.com/sc-web/10000033910/home/site/getjs?siteId=13751376\n  baidu:\n\n  # Google Analytics 4 的媒体资源 ID\n  # Google Analytics 4 MEASUREMENT_ID\n  # See: https://support.google.com/analytics/answer/9744165#zippy=%2Cin-this-article\n  google:\n    measurement_id:\n\n  # 腾讯统计的 H5 App ID，开启高级功能才有cid\n  # Tencent analytics, set APP ID\n  # See: https://mta.qq.com/h5/manage/ctr_app_manage\n  tencent:\n    sid:\n    cid:\n\n  # LeanCloud 计数统计，可用于 PV UV 展示，如果 `web_analytics: enable` 没有开启，PV UV 展示只会查询不会增加\n  # LeanCloud count statistics, which can be used for PV UV display. If `web_analytics: enable` is false, PV UV display will only query and not increase\n  leancloud:\n    app_id:\n    app_key:\n    # REST API 服务器地址，国际版不填\n    # Only the Chinese mainland users need to set\n    server_url:\n    # 统计页面时获取路径的属性\n    # Get the attribute of the page path during statistics\n    path: window.location.pathname\n    # 开启后不统计本地路径( localhost 与 127.0.0.1 )\n    # If true, ignore localhost & 127.0.0.1\n    ignore_local: false\n\n  # OpenKounter 计数统计（基于 EdgeOne Pages），可用于 PV UV 展示\n  # OpenKounter count statistics (based on EdgeOne Pages), which can be used for PV UV display\n  # See: https://github.com/Mintimate/open-kounter\n  openkounter:\n    # OpenKounter API 服务器地址\n    # OpenKounter API server URL\n    server_url: https://open-kounter.mintimate.cn\n    # 统计页面时获取路径的属性，通常使用 window.location.pathname\n    # Get the attribute of the page path during statistics\n    path: window.location.pathname\n    # 开启后不统计本地路径（localhost、127.0.0.1、[::1]）\n    # If true, ignore localhost & 127.0.0.1 & [::1]\n    ignore_local: false\n\n  # Umami Analytics，仅支持自部署。如果要展示 PV UV 需要填写所有配置项，否则只填写 `src` 和 `website_id` 即可\n  # Umami Analytics, only Self-host support. If you want to display PV UV need to set all config items, otherwise only set 'src' and 'website_id'\n  # See: https://umami.is/docs\n  umami:\n    # umami js 文件地址，需要在 umami 后台创建站点后获取\n    # umami js file url, get after create website in umami\n    src:\n\n    # umami 的 website id，需要在 umami 后台创建站点后获取\n    # umami website id, get after create website in umami\n    website_id:\n\n    # 如果你只想统计特定的域名可以填入此字段，多个域名通过逗号分隔，这可以避免统计 localhost。\n    # If you only want to tracker to specific domains you can fill in this field, multiple domain names are separated by commas, which can avoid tracker localhost\n    domains:\n\n    # 用于统计 PV UV 的开始时间，格式为 \"YYYY-MM-DD\"\n    # statistics on the start time, the format is \"YYYY-MM-DD\"\n    start_time: 2024-01-01\n\n    # 新建一个 umami viewOnly 用户，然后通过 login api 获取该用户 token\n    # create an umami viewOnly user, and then get user token through the login api\n    token:\n\n    # 填写 umami 部署的服务器地址，如 \"https://umami.example.com\"\n    # server url of umami deployment, such as \"https://umami.example.com\"\n    api_server:\n\n# Canonical 用于向 Google 搜索指定规范网址，开启前确保 hexo _config.yml 中配置 `url: http://yourdomain.com`\n# Canonical, to specify a canonical URL for Google Search, need to set up `url: http://yourdomain.com` in hexo _config.yml\n# See: https://support.google.com/webmasters/answer/139066\ncanonical:\n  enable: false\n\n# 对页面中的图片和评论插件进行懒加载处理，可见范围外的元素不会提前加载\n# Lazy loading of images and comment plugin on the page\nlazyload:\n  enable: true\n\n  # 加载时的占位图片\n  # The placeholder image when loading\n  loading_img: /img/loading.gif\n\n  # 开启后懒加载仅在文章页生效，如果自定义页面需要使用，可以在 Front-matter 里指定 `lazyload: true`\n  # If true, only enable lazyload on the post page. For custom pages, you can set 'lazyload: true' in front-matter\n  onlypost: false\n\n  # 触发加载的偏移倍数，基数是视窗高度，可根据部署环境的请求速度调节\n  # The factor of viewport height that triggers loading\n  offset_factor: 2\n\n# 图标库，包含了大量社交类图标，主题依赖的不包含在内，因此可自行修改，详见 https://hexo.fluid-dev.com/docs/icon/\n# Icon library, which includes many social icons, does not include those theme dependent, so your can modify link by yourself. See: https://hexo.fluid-dev.com/docs/en/icon/\niconfont: //at.alicdn.com/t/c/font_1736178_k526ubmyhba.css\n\n\n#---------------------------\n# 页头\n# Header\n#---------------------------\n\n# 导航栏的相关配置\n# Navigation bar\nnavbar:\n  # 导航栏左侧的标题，为空则按 hexo config 中 `title` 显示\n  # The title on the left side of the navigation bar. If empty, it is based on `title` in hexo config\n  blog_title: \"Fluid\"\n\n  # 导航栏毛玻璃特效，实验性功能，可能会造成页面滚动掉帧和抖动，部分浏览器不支持会自动不生效\n  # Navigation bar frosted glass special animation. It is an experimental feature\n  ground_glass:\n    enable: false\n\n    # 模糊像素，只能为数字，数字越大模糊度越高\n    # Number of blurred pixel. the larger the number, the higher the blur\n    px: 3\n\n    # 不透明度，数字越大透明度越低，注意透明过度可能看不清菜单字体\n    # Ratio of opacity, 1.0 is completely opaque\n    # available: 0 - 1.0\n    alpha: 0.7\n\n  # 导航栏菜单，可自行增减，key 用来关联 languages/*.yml，如不存在关联则显示 key 本身的值；icon 是 css class，可以省略；增加 name 可以强制显示指定名称\n  # Navigation bar menu. `key` is used to associate languages/*.yml. If there is no association, the value of `key` itself will be displayed; if `icon` is a css class, it can be omitted; adding `name` can force the display of the specified name\n  menu:\n    - { key: \"home\", link: \"/\", icon: \"iconfont icon-home-fill\" }\n    - { key: \"archive\", link: \"/archives/\", icon: \"iconfont icon-archive-fill\" }\n    - { key: \"category\", link: \"/categories/\", icon: \"iconfont icon-category-fill\" }\n    - { key: \"tag\", link: \"/tags/\", icon: \"iconfont icon-tags-fill\" }\n    - { key: \"about\", link: \"/about/\", icon: \"iconfont icon-user-fill\" }\n    #- { key: \"links\", link: \"/links/\", icon: \"iconfont icon-link-fill\" }\n\n# 搜索功能，基于 hexo-generator-search 插件，若已安装其他搜索插件请关闭此功能，以避免生成多余的索引文件\n# Search feature, based on hexo-generator-search. If you have installed other search plugins, please disable this feature to avoid generating redundant index files\nsearch:\n  enable: true\n\n  # 搜索索引文件的路径，可以是相对路径或外站的绝对路径\n  # Path for search index file, it can be a relative path or an absolute path\n  path: /local-search.xml\n\n  # 文件生成在本地的位置，必须是相对路径\n  # The location where the index file is generated locally, it must be a relative location\n  generate_path: /local-search.xml\n\n  # 搜索的范围\n  # Search field\n  # Options: post | page | all\n  field: post\n\n  # 搜索是否扫描正文\n  # If true, search will scan the post content\n  content: true\n\n# 首屏图片的相关配置\n# Config of the big image on the first screen\nbanner:\n  # 是否开启所有页面的随机头图，仅在页面对应 banner_img 为空时生效，将图片放在 source/img/random/ 目录下\n  # Enable random banner for all pages, only works when banner_img is empty, put images in the directory `source/img/random/`\n  random_img: false\n\n  # 视差滚动，图片与板块会随着屏幕滚动产生视差效果\n  # Scrolling parallax\n  parallax: true\n\n  # 图片最小的宽高比，以免图片两边被过度裁剪，适用于移动端竖屏时，如需关闭设为 0\n  # Minimum ratio of width to height, applicable to the vertical screen of mobile device, if you need to close it, set it to 0\n  width_height_ratio: 1.0\n\n# 向下滚动的箭头\n# Scroll down arrow\nscroll_down_arrow:\n  enable: true\n\n  # 头图高度不小于指定比例，才显示箭头\n  # Only the height of the banner image is greater than the ratio, the arrow is displayed\n  # Available: 0 - 100\n  banner_height_limit: 80\n\n  # 翻页后自动滚动\n  # Auto scroll after page turning\n  scroll_after_turning_page: true\n\n# 向顶部滚动的箭头\n# Scroll top arrow\nscroll_top_arrow:\n  enable: true\n\n# Open Graph metadata\n# See: https://hexo.io/docs/helpers.html#open-graph\nopen_graph:\n  enable: true\n  twitter_card: summary_large_image\n  twitter_id:\n  twitter_site:\n  google_plus:\n  fb_admins:\n  fb_app_id:\n\n\n#---------------------------\n# 页脚\n# Footer\n#---------------------------\nfooter:\n  # 页脚第一行文字的 HTML，建议保留 Fluid 的链接，用于向更多人推广本主题\n  # HTML of the first line of the footer, it is recommended to keep the Fluid link to promote this theme to more people\n  content: '\n    <a href=\"https://hexo.io\" target=\"_blank\" rel=\"nofollow noopener\"><span>Hexo</span></a>\n    <i class=\"iconfont icon-love\"></i>\n    <a href=\"https://github.com/fluid-dev/hexo-theme-fluid\" target=\"_blank\" rel=\"nofollow noopener\"><span>Fluid</span></a>\n  '\n\n  # 展示网站的 PV、UV 统计数\n  # Display website PV and UV statistics\n  statistics:\n    enable: false\n\n    # 统计数据来源，使用 leancloud, umami, openkounter 需要设置 `web_analytics` 中对应的参数；使用 busuanzi 不需要额外设置，但是有时不稳定，另外本地运行时 busuanzi 显示统计数据很大属于正常现象，部署后会正常\n    # Data source. If use leancloud, umami, openkounter, you need to set the parameter in `web_analytics`\n    # Options: busuanzi | leancloud | umami | openkounter\n    source: \"busuanzi\"\n\n  # 国内大陆服务器的备案信息\n  # For Chinese mainland website policy, other areas keep disable\n  beian:\n    enable: false\n    # ICP证号\n    icp_text: 京ICP证123456号\n    # 公安备案号，不填则只显示ICP\n    police_text: 京公网安备12345678号\n    # 公安备案的编号，用于URL跳转查询\n    police_code: 12345678\n    # 公安备案的图片. 为空时不显示备案图片\n    police_icon: /img/police_beian.png\n\n\n#---------------------------\n# 首页\n# Home Page\n#---------------------------\nindex:\n  # 首页 Banner 头图，可以是相对路径或绝对路径，以下相同\n  # Path of Banner image, can be a relative path or an absolute path, the same on other pages\n  banner_img: /img/default.png\n\n  # 头图高度，屏幕百分比\n  # Height ratio of banner image\n  # Available: 0 - 100\n  banner_img_height: 100\n\n  # 头图黑色蒙版的不透明度，available: 0 - 1.0，1 是完全不透明\n  # Opacity of the banner mask, 1.0 is completely opaque\n  # Available: 0 - 1.0\n  banner_mask_alpha: 0.3\n\n  # 首页副标题的独立设置\n  # Independent config of home page subtitle\n  slogan:\n    enable: true\n\n    # 为空则按 hexo config.subtitle 显示，支持列表格式来实现随机选择一行文字显示\n    # If empty, text based on `subtitle` in hexo config, support list format to random selection of a row for display\n    text: \"An elegant Material-Design theme for Hexo\"\n\n    # 通过 API 接口作为首页副标题的内容，必须返回的是 JSON 格式，如果请求失败则按 text 字段显示，该功能必须先开启 typing 打字机功能\n    # Subtitle of the homepage through the API, must be returned a JSON. If the request fails, it will be displayed in `text` value. This feature must first enable the typing animation\n    api:\n      enable: false\n\n      # 请求地址\n      # Request url\n      url: \"\"\n\n      # 请求方法\n      # Request method\n      # Available: GET | POST | PUT\n      method: \"GET\"\n\n      # 请求头\n      # Request headers\n      headers: {}\n\n      # 从请求结果获取字符串的取值字段，最终必须是一个字符串，例如返回结果为 {\"data\": {\"author\": \"fluid\", \"content\": \"An elegant theme\"}}, 则取值字段为 ['data', 'content']；如果返回是列表则自动选择第一项\n      # The value field of the string obtained from the response. For example, the response content is {\"data\": {\"author\": \"fluid\", \"content\": \"An elegant theme\"}}, the expected `keys: ['data','content']`; if the return is a list, the first item is automatically selected\n      keys: []\n\n  # 自动截取文章摘要\n  # Auto extract post\n  auto_excerpt:\n    enable: true\n\n  # 打开文章的标签方式\n  # The browser tag to open the post\n  # Available: _blank | _self\n  post_url_target: _self\n\n  # 是否显示文章信息（时间、分类、标签）\n  # Meta information of post\n  post_meta:\n    date: true\n    category: true\n    tag: true\n\n  # 文章通过 sticky 排序后，在首页文章标题前显示图标\n  # If the posts are sorted by `sticky`, an icon is displayed in front of the post title\n  post_sticky:\n    enable: true\n    icon: \"iconfont icon-top\"\n\n\n#---------------------------\n# 文章页\n# Post Page\n#---------------------------\npost:\n  banner_img: /img/default.png\n  banner_img_height: 70\n  banner_mask_alpha: 0.3\n\n  # 文章在首页的默认封面图，当没有指定 index_img 时会使用该图片，若两者都为空则不显示任何图片\n  # Path of the default post cover when `index_img` is not set. If both are empty, no image will be displayed\n  default_index_img:\n\n  # 文章标题下方的元信息\n  # Meta information below title\n  meta:\n    # 作者，优先根据 front-matter 里 author 字段，其次是 hexo 配置中 author 值\n    # Author, based on `author` field in front-matter, if not set, based on `author` value in hexo config\n    author:\n      enable: false\n\n    # 文章日期，优先根据 front-matter 里 date 字段，其次是 md 文件日期\n    # Post date, based on `date` field in front-matter, if not set, based on create date of .md file\n    date:\n      enable: true\n      # 格式参照 ISO-8601 日期格式化\n      # ISO-8601 date format\n      # See: http://momentjs.cn/docs/#/parsing/string-format/\n      format: \"LL a\"\n\n    # 字数统计\n    # Word count\n    wordcount:\n      enable: true\n\n    # 估计阅读全文需要的时长\n    # Estimated reading time\n    min2read:\n      enable: true\n      # 每个字词的长度，建议：中文≈2，英文≈5，中英混合可自行调节\n      # Average word length (chars count in word), ZH ≈ 2, EN ≈ 5\n      awl: 2\n      # 每分钟阅读字数，如果大部分是技术文章可适度调低\n      # Words per minute\n      wpm: 60\n\n    # 浏览量计数\n    # Number of visits\n    views:\n      enable: false\n      # 统计数据来源\n      # Data Source\n      # Options: busuanzi | leancloud | umami\n      source: \"busuanzi\"\n\n  # 在文章开头显示文章更新时间，该时间默认是 md 文件更新时间，可通过 front-matter 中 `updated` 手动指定（和 date 一样格式）\n  # Update date is displayed at the beginning of the post. The default date is the update date of the md file, which can be manually specified by `updated` in front-matter (same format as date)\n  updated:\n    enable: false\n\n    # 格式参照 ISO-8601 日期格式化\n    # ISO-8601 date format\n    # See: http://momentjs.cn/docs/#/parsing/string-format/\n    date_format: \"LL a\"\n\n    # 是否使用相对时间表示，比如：\"3 天前\"\n    # If true, it will be a relative time, such as: \"3 days ago\"\n    relative: false\n\n    # 提示标签类型\n    # Note class\n    # Options: default | primary | info | success | warning | danger | light\n    note_class: info\n\n  # 侧边栏展示当前分类下的文章\n  # Sidebar of category\n  category_bar:\n    enable: true\n\n    # 开启后，只有在文章 Front-matter 里指定 `category_bar: true` 才会展示分类，也可以通过 `category_bar: [\"分类A\"]` 来指定分类\n    # If true, only set `category_bar: true` in Front-matter will enable sidebar of category, also set `category_bar: [\"CategoryA\"]` to specify categories\n    specific: true\n\n    # 置于板块的左侧或右侧\n    # place in the board\n    # Options: left | right\n    placement: left\n\n    # 文章的排序字段，前面带减号是倒序，不带减号是正序\n    # Sort field for posts, with a minus sign is reverse order\n    # Options: date | title | or other field of front-matter\n    post_order_by: \"title\"\n\n    # 单个分类中折叠展示文章数的最大值，超过限制会显示 More，0 则不限制\n    # The maximum number of posts in a single category. If the limit is exceeded, it will be displayed More. If 0 no limit\n    post_limit: 0\n\n  # 侧边栏展示文章目录\n  # Table of contents (TOC) in the sidebar\n  toc:\n    enable: true\n    # 进入文章时是否默认展开全部目录\n    # Expand all TOC items on enter\n    expand_all: true\n\n    # 置于板块的左侧或右侧\n    # place in the board\n    # Options: left | right\n    placement: right\n\n    # 目录会选择这些节点作为标题\n    # TOC will select these nodes as headings\n    headingSelector: \"h1,h2,h3,h4,h5,h6\"\n\n    # 层级的折叠深度，0 是全部折叠，大于 0 后如果存在下级标题则默认展开\n    # Collapse depth. If 0, all headings collapsed. If greater than 0, it will be expanded by default if there are sub headings\n    collapseDepth: 0\n\n  # 版权声明，会显示在每篇文章的结尾\n  # Copyright, will be displayed at the end of each post\n  copyright:\n    enable: true\n\n    # CreativeCommons license\n    # See: https://creativecommons.org/share-your-work/cclicenses/\n    # Options: BY | BY-SA | BY-ND | BY-NC | BY-NC-SA | BY-NC-ND | ZERO\n    license: 'BY'\n\n    # 显示作者\n    author:\n      enable: true\n\n    # 显示发布日期\n    # Show post date\n    post_date:\n      enable: true\n      format: \"LL\"\n\n    # 显示更新日期\n    # Show update date\n    update_date:\n      enable: false\n      format: \"LL\"\n\n  # 文章底部上一篇下一篇功能\n  # Link to previous/next post\n  prev_next:\n    enable: true\n\n  # 文章图片标题\n  # Image caption\n  image_caption:\n    enable: true\n\n  # 文章图片可点击放大\n  # Zoom feature of images\n  image_zoom:\n    enable: true\n    # 放大后图片链接替换规则，可用于将压缩图片链接替换为原图片链接，如 ['-slim', ''] 是将链接中 `-slim` 移除；如果想使用正则请使用 `re:` 前缀，如 ['re:\\\\d{3,4}\\\\/\\\\d{3,4}\\\\/', '']\n    # The image url replacement when zooming, the feature can be used to replace the compressed image to the original image, eg: ['-slim', ''] removes `-slim` from the image url when zooming; if you want to use regular, use prefix `re:`, eg: ['re:\\\\d{3,4}\\\\/\\\\d{3,4}\\\\/','']\n    img_url_replace: ['', '']\n\n  # 脚注语法，会在文章底部生成脚注，如果 Markdown 渲染器本身支持，则建议关闭，否则可能会冲突\n  # Support footnote syntax, footnotes will be generated at the bottom of the post page. If the Markdown renderer itself supports it, please disable it, otherwise it may conflict\n  footnote:\n    enable: true\n    # 脚注的节标题，也可以在 front-matter 中通过 `footnote: <h2>Reference</h2>` 这种形式修改单独页面的 header\n    # The section title of the footnote, you can also modify the header of a single page in the form of `footnote: <h2>Reference</h2>` in front-matter\n    header: ''\n\n  # 数学公式，开启之前需要更换 Markdown 渲染器，否则复杂公式会有兼容问题，具体请见：https://hexo.fluid-dev.com/docs/guide/##latex-数学公式\n  # Mathematical formula. If enable, you need to change the Markdown renderer, see: https://hexo.fluid-dev.com/docs/en/guide/#math\n  math:\n    # 开启后文章默认可用，自定义页面如需使用，需在 Front-matter 中指定 `math: true`\n    # If you want to use math on the custom page, you need to set `math: true` in Front-matter\n    enable: false\n\n    # 开启后，只有在文章 Front-matter 里指定 `math: true` 才会在文章页启动公式转换，以便在页面不包含公式时提高加载速度\n    # If true, only set `math: true` in Front-matter will enable math, to load faster when the page does not contain math\n    specific: false\n\n    # Options: mathjax | katex\n    engine: mathjax\n\n  # 流程图，基于 mermaid-js，具体请见：https://hexo.fluid-dev.com/docs/guide/#mermaid-流程图\n  # Flow chart, based on mermaid-js, see: https://hexo.fluid-dev.com/docs/en/guide/#mermaid\n  mermaid:\n    # 开启后文章默认可用，自定义页面如需使用，需在 Front-matter 中指定 `mermaid: true`\n    # If you want to use mermaid on the custom page, you need to set `mermaid: true` in Front-matter\n    enable: false\n\n    # 开启后，只有在文章 Front-matter 里指定 `mermaid: true` 才会在文章页启动公式转换，以便在页面不包含公式时提高加载速度\n    # If true, only set `mermaid: true` in Front-matter will enable mermaid, to load faster when the page does not contain mermaid\n    specific: false\n\n    # See: http://mermaid-js.github.io/mermaid/\n    options: { theme: 'default' }\n\n  # 评论插件\n  # Comment plugin\n  comments:\n    enable: false\n    # 指定的插件，需要同时设置对应插件的必要参数\n    # The specified plugin needs to set the necessary parameters at the same time\n    # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis | giscus | discuss\n    type: disqus\n\n\n#---------------------------\n# 评论插件\n# Comment plugins\n#\n# 开启评论需要先设置上方 `post: comments: enable: true`，然后根据 `type` 设置下方对应的评论插件参数\n# Enable comments need to be set `post: comments: enable: true`, then set the corresponding comment plugin parameters below according to `type`\n#---------------------------\n\n# Utterances\n# 基于 GitHub Issues\n# Based on GitHub Issues\n# See: https://utteranc.es\nutterances:\n  repo:\n  issue_term: pathname\n  label: utterances\n  theme: github-light\n  theme_dark: github-dark\n\n# Disqus\n# 基于第三方的服务，国内用户直接使用容易被墙，建议配合 Disqusjs\n# Based on third-party service\n# See: https://disqus.com\ndisqus:\n  shortname:\n  # 以下为 Disqusjs 支持, 国内用户如果想使用 Disqus 建议配合使用，支持填入多个 apikey，建议自行搭建 api 端点\n  # The following are Disqusjs configurations, please ignore if DisqusJS is not required, it supports filling in multiple apikeys, it is recommended to build the API endpoint by yourself\n  # See: https://github.com/SukkaW/DisqusJS\n  disqusjs: false\n  apikey:\n    - 'KEY1'\n    #- 'KEY2'\n  api: https://disqus.skk.moe/disqus/\n  admin:\n  adminLabel:\n\n# Gitalk\n# 基于 GitHub Issues\n# Based on GitHub Issues\n# See: https://github.com/gitalk/gitalk#options\ngitalk:\n  clientID:\n  clientSecret:\n  repo:\n  owner:\n  admin: ['name']\n  language: zh-CN\n  labels: ['Gitalk']\n  perPage: 10\n  pagerDirection: last\n  distractionFreeMode: false\n  createIssueManually: true\n  # 默认 proxy 可能会失效，解决方法请见下方链接\n  # The default proxy may be invalid, refer to the links for solutions\n  # https://github.com/gitalk/gitalk/issues/429\n  # https://github.com/Zibri/cloudflare-cors-anywhere\n  proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token\n\n# Valine\n# 基于 LeanCloud\n# Based on LeanCloud\n# See: https://valine.js.org/\nvaline:\n  appId:\n  appKey:\n  path: window.location.pathname\n  placeholder:\n  avatar: 'retro'\n  meta: ['nick', 'mail', 'link']\n  requiredFields: []\n  pageSize: 10\n  lang: 'zh-CN'\n  highlight: false\n  recordIP: false\n  serverURLs: ''\n  emojiCDN:\n  emojiMaps:\n  enableQQ: false\n\n# Waline\n# 从 Valine 衍生而来，额外增加了服务端和多种功能\n# Derived from Valine, with self-hosted service and new features\n# See: https://waline.js.org/\nwaline:\n  serverURL: ''\n  path: window.location.pathname\n  meta: ['nick', 'mail', 'link']\n  requiredMeta: ['nick']\n  lang: 'zh-CN'\n  emoji: ['https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo']\n  dark: 'html[data-user-color-scheme=\"dark\"]'\n  wordLimit: 0\n  pageSize: 10\n\n# 畅言 Changyan\n# 基于第三方的服务\n# Based on third-party service, insufficient support for regions outside China\n# http://changyan.kuaizhan.com\nchangyan:\n  appid: ''\n  appkey: ''\n\n# 来必力 Livere\n# 基于第三方的服务\n# Based on third-party service\n# See: https://www.livere.com\nlivere:\n  uid: ''\n\n# Remark42\n# 需要自托管服务端\n# Based on self-hosted service\n# See: https://remark42.com\nremark42:\n  host:\n  site_id:\n  max_shown_comments: 10\n  locale: zh\n  components: ['embed']\n\n# Twikoo\n# 支持腾讯云、Vercel、Railway 等多种平台部署\n# Based on Tencent CloudBase\n# See: https://twikoo.js.org\ntwikoo:\n  envId:\n  region: ap-shanghai\n  path: window.location.pathname\n\n# Cusdis\n# 基于第三方服务或自托管服务\n# Based on third-party or self-hosted service\n# See https://cusdis.com\ncusdis:\n  host:\n  app_id:\n  lang: zh-cn\n\n# Giscus\n# 基于 GitHub Discussions，类似于 Utterances\n# Based on GitHub Discussions, similar to Utterances\n# See: https://giscus.app/\ngiscus:\n  repo:\n  repo-id:\n  category:\n  category-id:\n  theme-light: light\n  theme-dark: dark\n  mapping: pathname\n  reactions-enabled: 1\n  emit-metadata: 0\n  input-position: top\n  lang: zh-CN\n\n# Discuss\n# 多平台、多数据库、自托管、免费开源评论系统\n# Self-hosted, small size, multi-platform, multi-database, free and open source commenting system\n# See: https://discuss.js.org\ndiscuss:\n  serverURLs:\n  path: window.location.pathname\n\n\n#---------------------------\n# 归档页\n# Archive Page\n#---------------------------\narchive:\n  banner_img: /img/default.png\n  banner_img_height: 60\n  banner_mask_alpha: 0.3\n\n\n#---------------------------\n# 分类页\n# Category Page\n#---------------------------\ncategory:\n  enable: true\n  banner_img: /img/default.png\n  banner_img_height: 60\n  banner_mask_alpha: 0.3\n\n  # 分类的排序字段，前面带减号是倒序，不带减号是正序\n  # Sort field for categories, with a minus sign is reverse order\n  # Options: length | name\n  order_by: \"-length\"\n\n  # 层级的折叠深度，0 是全部折叠，大于 0 后如果存在子分类则默认展开\n  # Collapse depth. If 0, all posts collapsed. If greater than 0, it will be expanded by default if there are subcategories\n  collapse_depth: 0\n\n  # 文章的排序字段，前面带减号是倒序，不带减号是正序\n  # Sort field for posts, with a minus sign is reverse order\n  # Options: date | title | or other field of front-matter\n  post_order_by: \"-date\"\n\n  # 单个分类中折叠展示文章数的最大值，超过限制会显示 More，0 则不限制\n  # The maximum number of posts in a single category. If the limit is exceeded, it will be displayed More. If 0 no limit\n  post_limit: 10\n\n\n#---------------------------\n# 标签页\n# Tag Page\n#---------------------------\ntag:\n  enable: true\n  banner_img: /img/default.png\n  banner_img_height: 80\n  banner_mask_alpha: 0.3\n  tagcloud:\n    min_font: 15\n    max_font: 30\n    unit: px\n    start_color: \"#BBBBEE\"\n    end_color: \"#337ab7\"\n\n\n#---------------------------\n# 关于页\n# About Page\n#---------------------------\nabout:\n  enable: true\n  banner_img: /img/default.png\n  banner_img_height: 60\n  banner_mask_alpha: 0.3\n  avatar: /img/avatar.png\n  name: \"Fluid\"\n  intro: \"An elegant theme for Hexo\"\n  # 更多图标可从 https://hexo.fluid-dev.com/docs/icon/ 查找，`class` 代表图标的 css class，添加 `qrcode` 后，图标不再是链接而是悬浮二维码\n  # More icons can be found from https://hexo.fluid-dev.com/docs/en/icon/  `class` is the css class of the icon. If adding `qrcode`, the icon is no longer a link, but a hovering QR code\n  icons:\n    - { class: \"iconfont icon-github-fill\", link: \"https://github.com\", tip: \"GitHub\" }\n    - { class: \"iconfont icon-douban-fill\", link: \"https://douban.com\", tip: \"豆瓣\" }\n    - { class: \"iconfont icon-wechat-fill\", qrcode: \"/img/favicon.png\" }\n\n\n#---------------------------\n# 自定义页\n# Custom Page\n#\n# 通过 hexo new page 命令创建的页面\n# Custom Page through `hexo new page`\n#---------------------------\npage:\n  banner_img: /img/default.png\n  banner_img_height: 60\n  banner_mask_alpha: 0.3\n\n\n#---------------------------\n# 404页\n# 404 Page\n#---------------------------\npage404:\n  enable: true\n  banner_img: /img/default.png\n  banner_img_height: 85\n  banner_mask_alpha: 0.3\n  # 重定向到首页的延迟(毫秒)\n  # Delay in redirecting to home page (milliseconds)\n  redirect_delay: 5000\n\n\n#---------------------------\n# 友链页\n# Links Page\n#---------------------------\nlinks:\n  enable: true\n  banner_img: /img/default.png\n  banner_img_height: 60\n  banner_mask_alpha: 0.3\n  # 友链的成员项\n  # Member item of page\n  items:\n    - {\n      title: \"Fluid Blog\",\n      intro: \"主题博客\",\n      link: \"https://hexo.fluid-dev.com/\",\n      avatar: \"/img/favicon.png\"\n    }\n    - {\n      title: \"Fluid Docs\",\n      intro: \"主题使用指南\",\n      link: \"https://hexo.fluid-dev.com/docs/\",\n      avatar: \"/img/favicon.png\"\n    }\n    - {\n      title: \"Fluid Repo\",\n      intro: \"主题 GitHub 仓库\",\n      link: \"https://github.com/fluid-dev/hexo-theme-fluid\",\n      avatar: \"/img/favicon.png\"\n    }\n\n  # 当成员头像加载失败时，替换为指定图片\n  # When the member avatar fails to load, replace the specified image\n  onerror_avatar: /img/avatar.png\n\n  # 友链下方自定义区域，支持 HTML，可插入例如申请友链的文字\n  # Custom content at the bottom of the links\n  custom:\n    enable: false\n    content: '<hr><p>在下方留言申请加入我的友链，按如下格式提供信息：</p><ul><li>博客名：Fluid</li><li>简介：Fluid 主题官方博客</li><li>链接：https://hexo.fluid-dev.com</li><li>图片：https://hexo.fluid-dev.com/img/favicon.png</li></ul>'\n\n  # 评论插件\n  # Comment plugin\n  comments:\n    enable: false\n    # 指定的插件，需要同时设置对应插件的必要参数\n    # The specified plugin needs to set the necessary parameters at the same time\n    # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis | giscus | discuss\n    type: disqus\n\n\n#---------------------------\n# 以下是配置 JS CSS 等静态资源的 URL 前缀，可以自定义成 CDN 地址，\n# 如果需要修改，最好使用与默认配置相同的版本，以避免潜在的问题，\n# ** 如果你不知道如何设置，请不要做任何改动 **\n#\n# Here is the url prefix to configure the static assets. Set CDN addresses you want to customize.\n# Be aware that you would better use the same version as default ones to avoid potential problems.\n# DO NOT EDIT THE FOLLOWING SETTINGS UNLESS YOU KNOW WHAT YOU ARE DOING\n#---------------------------\n\nstatic_prefix:\n  # 内部静态\n  # Internal static\n  internal_js: /js\n  internal_css: /css\n  internal_img: /img\n\n  anchor: https://lib.baomitu.com/anchor-js/5.0.0/\n\n  github_markdown: https://lib.baomitu.com/github-markdown-css/4.0.0/\n\n  jquery: https://lib.baomitu.com/jquery/3.6.4/\n\n  bootstrap: https://lib.baomitu.com/twitter-bootstrap/4.6.1/\n\n  prismjs: https://lib.baomitu.com/prism/1.29.0/\n\n  tocbot: https://lib.baomitu.com/tocbot/4.20.1/\n\n  typed: https://lib.baomitu.com/typed.js/2.0.12/\n\n  fancybox: https://lib.baomitu.com/fancybox/3.5.7/\n\n  nprogress: https://lib.baomitu.com/nprogress/0.2.0/\n\n  mathjax: https://lib.baomitu.com/mathjax/3.2.2/\n\n  katex: https://lib.baomitu.com/KaTeX/0.16.2/\n\n  busuanzi: https://busuanzi.ibruce.info/busuanzi/2.3/\n\n  clipboard: https://lib.baomitu.com/clipboard.js/2.0.11/\n\n  mermaid: https://lib.baomitu.com/mermaid/8.14.0/\n\n  valine: https://lib.baomitu.com/valine/1.5.1/\n\n  waline: https://cdn.jsdelivr.net/npm/@waline/client@v3/dist/\n\n  gitalk: https://lib.baomitu.com/gitalk/1.8.0/\n\n  disqusjs: https://lib.baomitu.com/disqusjs/1.3.0/\n\n  twikoo: https://lib.baomitu.com/twikoo/1.6.8/\n\n  discuss: https://lib.baomitu.com/discuss/1.2.1/\n\n  hint: https://lib.baomitu.com/hint.css/2.7.0/\n\n  moment: https://lib.baomitu.com/moment.js/2.29.4/\n"
  },
  {
    "path": "languages/de.yml",
    "content": "name: 'Deutsch'\n\nhome:\n  menu: 'Startseite'\n  title: 'Startseite'\n\narchive:\n  menu: 'Archiv'\n  title: 'Archiv'\n  subtitle: 'Archiv'\n  post_total: 'Insgesamt %d Artikel'\n\ncategory:\n  menu: 'Kategorien'\n  title: 'Kategorien'\n  subtitle: 'Kategorien'\n  post_total: 'Insgesamt %d Artikel'\n  more: 'More...'\n\ntag:\n  menu: 'Schlagwörter'\n  title: 'Schlagwörter'\n  subtitle: 'Schlagwörter'\n  post_total: 'Insgesamt %d Artikel'\n\nabout:\n  menu: 'Über'\n  title: 'Über'\n  subtitle: 'Über'\n\nlinks:\n  menu: 'Weblinks'\n  title: 'Weblinks'\n  subtitle: 'Weblinks'\n\npage404:\n  menu: 'Die Seite wurde nicht gefunden'\n  title: 'Die Seite wurde nicht gefunden'\n  subtitle: 'Die Seite wurde nicht gefunden'\n\npost:\n  toc: 'Inhaltsverzeichnis'\n  prev_post: 'Vorheriger'\n  next_post: 'Nächster'\n  updated: 'Geändert am %s'\n  meta:\n    wordcount: '%s wörter'\n    min2read: '%s minuten'\n    views: '{} ansichten'\n  copyright:\n    author: 'Beitragsautor'\n    posted: 'Veröffentlicht am'\n    updated: 'Geändert am'\n    licensed: 'Urheberrechtshinweis'\n    CC: 'CC - Creative Commons license'\n    BY: 'BY - Attribution'\n    SA: 'SA - Share-alike'\n    NC: 'NC - Non-commercial'\n    ND: 'ND - No derivative works'\n    ZERO: 'CC0 - No Copyright'\n\nfooter:\n  pv: 'Alle Aufrufe: {}'\n  uv: 'Alle Besucher: {}'\n\nsearch:\n  title: 'Suchen'\n  keyword: 'Stichwort'\n\nnoscript_warning: 'Blog funktioniert am besten mit aktiviertem JavaScript'\n\ndarkmode:\n  light: 'Hell'\n  dark: 'Dunkel'\n"
  },
  {
    "path": "languages/en.yml",
    "content": "name: 'English'\n\nhome:\n  menu: 'Home'\n  title: 'Home'\n\narchive:\n  menu: 'Archives'\n  title: 'Archives'\n  subtitle: 'Archives'\n  post_total: '%d posts in total'\n\ncategory:\n  menu: 'Categories'\n  title: 'Categories'\n  subtitle: 'Categories'\n  post_total: '%d posts in total'\n  more: 'More...'\n\ntag:\n  menu: 'Tags'\n  title: 'Tags'\n  subtitle: 'Tags'\n  post_total: '%d posts in total'\n\nabout:\n  menu: 'About'\n  title: 'About'\n  subtitle: 'About'\n\nlinks:\n  menu: 'Links'\n  title: 'Links'\n  subtitle: 'Links'\n\npage404:\n  menu: 'Page not found'\n  title: 'Page not found'\n  subtitle: 'Page not found'\n\npost:\n  toc: 'Table of Contents'\n  prev_post: 'Previous'\n  next_post: 'Next'\n  updated: 'Last updated on %s'\n  meta:\n    wordcount: '%s words'\n    min2read: '%s mins'\n    views: '{} views'\n  copyright:\n    author: 'Author'\n    posted: 'Posted on'\n    updated: 'Updated on'\n    licensed: 'Licensed under'\n    CC: 'CC - Creative Commons license'\n    BY: 'BY - Attribution'\n    SA: 'SA - Share-alike'\n    NC: 'NC - Non-commercial'\n    ND: 'ND - No derivative works'\n    ZERO: 'CC0 - No Copyright'\n\nfooter:\n  pv: 'Views: {}'\n  uv: 'Visitors: {}'\n\nsearch:\n  title: 'Search'\n  keyword: 'Keyword'\n\nnoscript_warning: 'Blog works best with JavaScript enabled'\n\ndarkmode:\n  light: 'Light'\n  dark: 'Dark'\n"
  },
  {
    "path": "languages/eo.yml",
    "content": "name: 'Esperanto'\n\nhome:\n  menu: 'Hejmpaĝo'\n  title: 'Hejmpaĝo'\n\narchive:\n  menu: 'Arkivoj'\n  title: 'Arkivoj'\n  subtitle: 'Arkivoj'\n  post_total: 'Entute %d afiŝoj'\n\ncategory:\n  menu: 'Kategorio'\n  title: 'Kategorio'\n  subtitle: 'Kategorio'\n  post_total: 'Entute %d afiŝoj'\n  more: 'More...'\n\ntag:\n  menu: 'Etikedoj'\n  title: 'Etikedoj'\n  subtitle: 'Etikedoj'\n  post_total: 'Entute %d afiŝoj'\n\nabout:\n  menu: 'Pri'\n  title: 'Pri'\n  subtitle: 'Pri'\n\nlinks:\n  menu: 'Ligoj'\n  title: 'Ligoj'\n  subtitle: 'Ligoj'\n\npage404:\n  menu: 'Paĝo ne trovita'\n  title: 'Paĝo ne trovita'\n  subtitle: 'Paĝo ne trovita'\n\npost:\n  toc: 'Enhavtabelo'\n  prev_post: 'Antaŭa afiŝo'\n  next_post: 'Sekva afiŝo'\n  updated: 'Aktualizita: %s'\n  meta:\n    wordcount: '%s vortoj'\n    min2read: '%s minutoj'\n    views: '{} rigardoj'\n  copyright:\n    author: 'Aŭtoro'\n    posted: 'Postigita'\n    updated: 'Aktualizita'\n    licensed: 'Lizenta'\n    CC: 'CC - Creative Commons license'\n    BY: 'BY - Attribution'\n    SA: 'SA - Share-alike'\n    NC: 'NC - Non-commercial'\n    ND: 'ND - No derivative works'\n    ZERO: 'CC0 - No Copyright'\n\nfooter:\n  pv: 'Vidoj: {}'\n  uv: 'Visitoj: {}'\n\nsearch:\n  title: 'Serĉi'\n  keyword: 'ŝlosivorto'\n\nnoscript_warning: 'Blogo funkcias plej bone kun JavaScript ebligita'\n\ndarkmode:\n  light: 'Hela'\n  dark: 'Malhela'\n"
  },
  {
    "path": "languages/es.yml",
    "content": "name: 'Español'\n\nhome:\n  menu: 'Inicio'\n  title: 'Inicio'\n\narchive:\n  menu: 'Archivo'\n  title: 'Archivo'\n  subtitle: 'Archivo'\n  post_total: '%d artículos en total'\n\ncategory:\n  menu: 'Categorías'\n  title: 'Categorías'\n  subtitle: 'Categorías'\n  post_total: '%d artículos en total'\n  more: 'Más...'\n\ntag:\n  menu: 'Etiquetas'\n  title: 'Etiquetas'\n  subtitle: 'Etiquetas'\n  post_total: '%d artículos en total'\n\nabout:\n  menu: 'Acerca'\n  title: 'Acerca'\n  subtitle: 'Acerca'\n\nlinks:\n  menu: 'Enlaces'\n  title: 'Enlaces'\n  subtitle: 'Enlaces'\n\npage404:\n  menu: 'Página no encontrada'\n  title: 'Página no encontrada'\n  subtitle: 'Página no encontrada'\n\npost:\n  toc: 'Tabla de Contenidos'\n  prev_post: 'Anterior'\n  next_post: 'Siguiente'\n  updated: 'Última actualización el %s'\n  meta:\n    wordcount: '%s palabras'\n    min2read: '%s minutos'\n    views: '{} vistas'\n  copyright:\n    author: 'Autor'\n    posted: 'Publicado el'\n    updated: 'Actualizado el'\n    licensed: 'Licencia bajo'\n    CC: 'CC - Licencia Creative Commons'\n    BY: 'BY - Atribución'\n    SA: 'SA - Compartir igual'\n    NC: 'NC - No comercial'\n    ND: 'ND - Sin obras derivadas'\n    ZERO: 'CC0 - Sin derechos autorales'\n\nfooter:\n  pv: 'Vistas: {}'\n  uv: 'Visitantes: {}'\n\nsearch:\n  title: 'Buscar'\n  keyword: 'Palabra clave'\n\nnoscript_warning: 'El blog funciona mejor con JavaScript habilitado'\n\ndarkmode:\n  light: 'Claro'\n  dark: 'Oscuro'\n"
  },
  {
    "path": "languages/ja.yml",
    "content": "name: '日本語'\n\nhome:\n  menu: 'ホーム'\n  title: 'ホーム'\n\narchive:\n  menu: 'アーカイブ'\n  title: 'アーカイブ'\n  subtitle: 'アーカイブ'\n  post_total: '全 %d 件のポスト'\n\ncategory:\n  menu: 'カテゴリ'\n  title: 'カテゴリ'\n  subtitle: 'カテゴリ'\n  post_total: '全 %d 件のポスト'\n  more: 'More...'\n\ntag:\n  menu: 'タグ'\n  title: 'タグ'\n  subtitle: 'タグ'\n  post_total: '全 %d 件のポスト'\n\nabout:\n  menu: 'プロフィール'\n  title: 'プロフィール'\n  subtitle: 'プロフィール'\n\nlinks:\n  menu: 'リンク'\n  title: 'リンク'\n  subtitle: 'リンク'\n\npage404:\n  menu: 'ページが見つかりませんでした'\n  title: 'ページが見つかりませんでした'\n  subtitle: 'ページが見つかりませんでした'\n\npost:\n  toc: '見出し'\n  prev_post: '前の記事'\n  next_post: '次の記事'\n  updated: '最終更新日：%s'\n  meta:\n    wordcount: '%s 単語'\n    min2read: '%s 分'\n    views: '{} 閲覧'\n  copyright:\n    author: '著者'\n    posted: '作成日'\n    updated: '修正日'\n    licensed: '著作権'\n    CC: 'CC - Creative Commons license'\n    BY: 'BY - Attribution'\n    SA: 'SA - Share-alike'\n    NC: 'NC - Non-commercial'\n    ND: 'ND - No derivative works'\n    ZERO: 'CC0 - No Copyright'\n\nfooter:\n  pv: '閲覧合計数: {}'\n  uv: '合計閲覧者数: {}'\n\nsearch:\n  title: '検索'\n  keyword: 'キーワード'\n\nnoscript_warning: 'ブログは JavaScript を有効にすると最適に機能します'\n\ndarkmode:\n  light: 'ライト'\n  dark: 'ダーク'\n"
  },
  {
    "path": "languages/ru.yml",
    "content": "name: 'Русский'\n\nhome:\n  menu: 'Главная'\n  title: 'Главная'\n\narchive:\n  menu: 'Архивы'\n  title: 'Архивы'\n  subtitle: 'Архивы'\n  post_total: '%d сообщений всего'\n\ncategory:\n  menu: 'Категории'\n  title: 'Категории'\n  subtitle: 'Категории'\n  post_total: '%d сообщений всего'\n  more: 'More...'\n\ntag:\n  menu: 'Теги'\n  title: 'Теги'\n  subtitle: 'Теги'\n  post_total: '%d сообщений всего'\n\nabout:\n  menu: 'О'\n  title: 'О'\n  subtitle: 'О'\n\nlinks:\n  menu: 'Ссылки'\n  title: 'Ссылки'\n  subtitle: 'Ссылки'\n\npage404:\n  menu: 'Страница не найдена'\n  title: 'Страница не найдена'\n  subtitle: 'Страница не найдена'\n\npost:\n  toc: 'Оглавление'\n  prev_post: 'Предыдущий'\n  next_post: 'Следующий'\n  updated: 'Последнее обновление %s'\n  meta:\n    wordcount: '%s слов'\n    min2read: '%s минут'\n    views: '{} просмотров'\n  copyright:\n    author: 'Автор'\n    posted: 'Опубликовано на'\n    updated: 'Обновлено'\n    license: 'Лицензировано под'\n    CC: 'CC - Creative Commons license'\n    BY: 'BY - Attribution'\n    SA: 'SA - Share-alike'\n    NC: 'NC - Non-commercial'\n    ND: 'ND - No derivative works'\n    ZERO: 'CC0 - No Copyright'\n\nfooter:\n  pv: 'Просмотров: {}'\n  uv: 'Посетителей: {}'\n\nsearch:\n  title: 'Поиск'\n  keyword: 'Ключевое слово'\n\nnoscript_warning: 'Блог лучше всего работает с включенным JavaScript'\n\ndarkmode:\n  light: 'Светлая'\n  dark: 'Тёмная'\n"
  },
  {
    "path": "languages/zh-CN.yml",
    "content": "name: '简体中文'\n\nhome:\n  menu: '首页'\n  title: '首页'\n\narchive:\n  menu: '归档'\n  title: '归档'\n  subtitle: '归档'\n  post_total: '共计 %d 篇文章'\n\ncategory:\n  menu: '分类'\n  title: '分类'\n  subtitle: '分类'\n  post_total: '共计 %d 篇文章'\n  more: 'More...'\n\ntag:\n  menu: '标签'\n  title: '标签'\n  subtitle: '标签'\n  post_total: '共计 %d 篇文章'\n\nabout:\n  menu: '关于'\n  title: '关于'\n  subtitle: '关于'\n\nlinks:\n  menu: '友链'\n  title: '友链'\n  subtitle: '友情链接'\n\npage404:\n  menu: '页面不存在'\n  title: '页面不存在'\n  subtitle: '页面不存在'\n\npost:\n  toc: '目录'\n  prev_post: '上一篇'\n  next_post: '下一篇'\n  updated: '本文最后更新于 %s'\n  meta:\n    wordcount: '%s 字'\n    min2read: '%s 分钟'\n    views: '{} 次'\n  copyright:\n    author: '作者'\n    posted: '发布于'\n    updated: '更新于'\n    licensed: '许可协议'\n    CC: 'CC - 知识共享许可协议'\n    BY: 'BY - 署名'\n    SA: 'SA - 相同方式共享'\n    NC: 'NC - 非商业性使用'\n    ND: 'ND - 禁止演绎'\n    ZERO: 'CC0 - 无版权'\n\nfooter:\n  pv: '总访问量 {} 次'\n  uv: '总访客数 {} 人'\n\nsearch:\n  title: '搜索'\n  keyword: '关键词'\n\nnoscript_warning: '博客在允许 JavaScript 运行的环境下浏览效果更佳'\n\ndarkmode:\n  light: '开灯'\n  dark: '关灯'\n"
  },
  {
    "path": "languages/zh-HK.yml",
    "content": "name: '繁體中文'\n\nhome:\n  menu: '首頁'\n  title: '首頁'\n\narchive:\n  menu: '歸檔'\n  title: '歸檔'\n  subtitle: '歸檔'\n  post_total: '共有 %d 篇文章'\n\ncategory:\n  menu: '分類'\n  title: '分類'\n  subtitle: '分類'\n  post_total: '共有 %d 篇文章'\n  more: 'More...'\n\ntag:\n  menu: '標籤'\n  title: '標籤'\n  subtitle: '標籤'\n  post_total: '共有 %d 篇文章'\n\nabout:\n  menu: '關於'\n  title: '關於'\n  subtitle: '關於'\n\nlinks:\n  menu: '連結'\n  title: '交換連結'\n  subtitle: '交換連結'\n\npage404:\n  menu: '頁面不存在'\n  title: '頁面不存在'\n  subtitle: '頁面不存在'\n\npost:\n  toc: '目錄'\n  prev_post: '上一篇'\n  next_post: '下一篇'\n  updated: '本文最後更新於：%s'\n  meta:\n    wordcount: '%s 字'\n    min2read: '%s 分鐘'\n    views: '{} 次'\n  copyright:\n    author: '作者'\n    posted: '發布於'\n    updated: '更新於'\n    licensed: '許可協議'\n    CC: 'CC - 知識共享許可協議'\n    BY: 'BY - 署名'\n    SA: 'SA - 相同方式共享'\n    NC: 'NC - 非商業性使用'\n    ND: 'ND - 禁止演繹'\n    ZERO: 'CC0 - 無著作權'\n\nfooter:\n  pv: '總訪問量 {} 次'\n  uv: '總訪客數 {} 人'\n\nsearch:\n  title: '搜尋'\n  keyword: '關鍵字'\n\nnoscript_warning: '博客在允許 JavaScript 運行的環境下瀏覽效果更佳'\n\ndarkmode:\n  light: '開燈'\n  dark: '關燈'\n"
  },
  {
    "path": "languages/zh-TW.yml",
    "content": "name: '正體中文'\n\nhome:\n  menu: '首頁'\n  title: '首頁'\n\narchive:\n  menu: '歸檔'\n  title: '歸檔'\n  subtitle: '歸檔'\n  post_total: '共有 %d 篇文章'\n\ncategory:\n  menu: '分類'\n  title: '分類'\n  subtitle: '分類'\n  post_total: '共有 %d 篇文章'\n  more: 'More...'\n\ntag:\n  menu: '標籤'\n  title: '標籤'\n  subtitle: '標籤'\n  post_total: '共有 %d 篇文章'\n\nabout:\n  menu: '關於'\n  title: '關於'\n  subtitle: '關於'\n\nlinks:\n  menu: '連結'\n  title: '交換連結'\n  subtitle: '交換連結'\n\npage404:\n  menu: '頁面不存在'\n  title: '頁面不存在'\n  subtitle: '頁面不存在'\n\npost:\n  toc: '目錄'\n  prev_post: '上一篇'\n  next_post: '下一篇'\n  updated: '本文最後更新於：%s'\n  meta:\n    wordcount: '%s 字'\n    min2read: '%s 分鐘'\n    views: '{} 次'\n  copyright:\n    author: '作者'\n    posted: '發布於'\n    updated: '更新於'\n    licensed: '許可協議'\n    CC: 'CC - 創用 CC 授權'\n    BY: 'BY - 姓名標示'\n    SA: 'SA - 相同方式分享'\n    NC: 'NC - 非商業性'\n    ND: 'ND - 禁止改作'\n    ZERO: 'CC0 - 公眾領域貢獻宣告'\n\nfooter:\n  pv: '總訪問量 {} 次'\n  uv: '總訪客數 {} 人'\n\nsearch:\n  title: '搜尋'\n  keyword: '關鍵字'\n\nnoscript_warning: '部落格在允許 JavaScript 執行的環境下瀏覽效果更佳'\n\ndarkmode:\n  light: '開燈'\n  dark: '關燈'\n"
  },
  {
    "path": "layout/404.ejs",
    "content": "<%\npage.layout = \"404\"\npage.title = theme.page404.title || __('page404.title')\npage.subtitle = theme.page404.subtitle || __('page404.subtitle')\npage.banner_img = theme.page404.banner_img\npage.banner_img_height = theme.page404.banner_img_height\npage.banner_mask_alpha = theme.page404.banner_mask_alpha\n%>\n\n<script>\n  function redirect() {\n    location.href = \"<%- url_for('/') %>\";\n  }\n\n  <% if (theme.page404.redirect_delay) { %>\n    setTimeout(redirect, <%= parseInt(theme.page404.redirect_delay) %>)\n  <% } %>\n</script>\n"
  },
  {
    "path": "layout/_partials/archive-list.ejs",
    "content": "<div class=\"list-group\">\n  <p class=\"h4\"><%= __(params.key + '.post_total', params.postTotal) %></p>\n  <hr>\n  <% var dateCursor %>\n  <% page.posts.each(function (post) { %>\n    <% if(date(post.date, \"YYYY\") !== dateCursor) { %>\n      <% dateCursor = date(post.date, \"YYYY\") %>\n      <p class=\"h5\"><%= dateCursor %></p>\n    <% } %>\n    <a href=\"<%= url_for(post.path) %>\" class=\"list-group-item list-group-item-action\">\n      <time><%= date(post.date, \"MM-DD\") %></time>\n      <div class=\"list-group-item-title\"><%= post.title %></div>\n    </a>\n  <% }) %>\n</div>\n\n<%- partial('_partials/paginator') %>\n"
  },
  {
    "path": "layout/_partials/category-chains.ejs",
    "content": "<% function render_category_chain(cat) { %>\n  <a href=\"<%= url_for(cat.path) %>\" class=\"category-chain-item\"><%= cat.name.trim() %></a>\n  <% var nextCats = categories.find({ parent: cat._id }).sort(config.index_generator.order_by || 'name').filter(cat => cat.length) %>\n  <% if (nextCats.length > 0) { %>\n    <span>></span>\n    <%- render_category_chain(nextCats.data[0]) %>\n  <% } %>\n<% } %>\n\n<span class=\"category-chains\">\n  <% var catsFirst = categories.find({ parent: { $exists: false } }).sort(config.index_generator.order_by || 'name').filter(cat => cat.length) %>\n  <% catsFirst.each((cat, idx) => { %>\n    <% if (typeof(limit) === \"undefined\" || idx < limit) { %>\n      <span class=\"category-chain\">\n        <%- render_category_chain(cat) %>\n      </span>\n    <% } %>\n  <% }) %>\n</span>\n"
  },
  {
    "path": "layout/_partials/category-list.ejs",
    "content": "<% function render_categories(curCats, params = {}, depth = 0) { %>\n  <% return curCats.each((cat) => { %>\n    <% var subCats = site.categories.find({ parent: cat._id }).sort(params.orderBy || 'name').filter(cat => cat.length) %>\n    <% var collapsed = subCats.length === 0 || depth >= theme.category.collapse_depth %>\n    <% if ((params.filterIds || []).includes(cat._id)) collapsed = false %>\n    <div class=\"<%= depth <= 0 ? 'category' : 'category-sub' %> row nomargin-x\">\n      <a class=\"<%= depth <= 0 ? 'category-item' : 'category-subitem' %> <%= collapsed ? 'collapsed' : '' %>\n          list-group-item category-item-action col-10 col-md-11 col-xm-11\" title=\"<%= cat.name.trim() %>\"\n        id=\"heading-<%= md5(cat.name) %>\" role=\"tab\" data-toggle=\"collapse\" href=\"#collapse-<%= md5(cat.name) %>\"\n        aria-expanded=\"<%= collapsed ? 'false' : 'true' %>\"\n      >\n        <%= cat.name.trim() %>\n        <span class=\"list-group-count\"><%= params.type === 'post' ? `(${ cat.posts.length })` : '' %></span>\n        <i class=\"iconfont icon-arrowright\"></i>\n      </a>\n      <% if(params.type !== 'post') { %>\n        <a href=\"<%= url_for(cat.path) %>\" class=\"category-count col-2 col-md-1 col-xm-1\">\n          <i class=\"iconfont icon-articles\"></i>\n          <span><%= cat.posts.length %></span>\n        </a>\n      <% } %>\n      <div class=\"category-collapse collapse <%= collapsed ? '' : 'show' %>\" id=\"collapse-<%= md5(cat.name) %>\"\n           role=\"tabpanel\" aria-labelledby=\"heading-<%= md5(cat.name) %>\">\n        <% var posts = cat.posts.sort(params.postOrderBy || '-date') %>\n        <% if (subCats.length > 0) { %>\n          <% var filteredPosts = posts.filter((p) => {\n            return p.categories.filter(catOnPost => catOnPost.parent === cat._id).length === 0;\n          }) %>\n          <%- render_posts(filteredPosts, cat, params) %>\n          <%- render_categories(subCats, params, depth + 1) %>\n        <% } else { %>\n          <%- render_posts(posts, cat, params) %>\n        <% } %>\n      </div>\n    </div>\n  <% }) %>\n<% } %>\n\n<% function render_posts(posts, cat, params) { %>\n  <div class=\"category-post-list\">\n    <% var limit = params.postLimit %>\n    <% for (var idx = 0; idx < posts.length; idx++) { %>\n      <% var post = posts.data[idx] %>\n      <% if (idx && limit && idx >= limit) { %>\n        <a href=\"<%= url_for(cat.path) %>\" class=\"list-group-item list-group-item-action\">\n          <span class=\"category-post\"><%- __('category.more') %></span>\n        </a>\n        <% break %>\n      <% } else { %>\n        <a href=\"<%= url_for(post.path) %>\" title=\"<%= post.title %>\"\n           class=\"list-group-item list-group-item-action\n           <%= (params.filterIds || []).includes(post._id) ? 'active' : ''  %>\">\n          <span class=\"category-post\"><%= post.title %></span>\n        </a>\n      <% } %>\n    <% } %>\n  </div>\n<% } %>\n\n<div class=\"category-list\">\n  <%- render_categories(curCats, params) %>\n</div>\n"
  },
  {
    "path": "layout/_partials/comments/changyan.ejs",
    "content": "<% if (theme.changyan.appid) { %>\n  <div id=\"SOHUCS\" sid='<%= page.permalink %>'></div>\n  <script type=\"text/javascript\">\n    Fluid.utils.loadComments('#SOHUCS', function() {\n      Fluid.utils.createScript(\"https://changyan.sohu.com/upload/changyan.js\", function() {\n        window.changyan.api.config(<%- JSON.stringify(theme.changyan || {}) %>)\n      });\n    });\n  </script>\n  <noscript>Please enable JavaScript to view the comments</noscript>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/cusdis.ejs",
    "content": "<% if (theme.cusdis.host && theme.cusdis.app_id) { %>\n  <div class=\"cusdis\" style=\"width:100%; overflow:visible; min-height:480px;\">\n    <div id=\"cusdis_thread\"\n      style=\"width:100%; overflow:visible;\"\n      data-host=\"<%= theme.cusdis.host %>\"\n      data-app-id=\"<%= theme.cusdis.app_id %>\"\n      data-page-id=\"<%= md5(page.path) %>\"\n      data-page-url=\"<%= page.path %>\"\n      data-page-title=\"<%= page.title %>\"\n      data-theme=\"<%= theme.dark_mode.default %>\"\n    >\n    </div>\n  </div>\n  <script type=\"text/javascript\">\n    Fluid.utils.loadComments('#cusdis_thread', function() {\n      Fluid.utils.createScript('<%= url_join(theme.cusdis.host,\n        `/js/widget/lang/${ String(theme.cusdis.lang || 'zh-cn').toLowerCase() }.js`) %>');\n      Fluid.utils.createScript('<%= url_join(theme.cusdis.host, 'js/cusdis.es.js') %>');\n\n      // 取消容器滚动条，尝试让 iframe 展开显示\n      var container = document.querySelector('.cusdis');\n      var thread = document.querySelector('#cusdis_thread');\n      if (container) container.style.overflow = 'visible';\n      if (thread) thread.style.overflow = 'visible';\n\n      // 等待 widget 加载后调整 iframe 样式\n      setTimeout(function() {\n        try {\n          var iframe = thread && thread.querySelector('iframe');\n          if (iframe) {\n            iframe.style.width = '100%';\n            iframe.style.border = 'none';\n            iframe.style.overflow = 'visible';\n            iframe.style.minHeight = '600px';\n            iframe.setAttribute('scrolling', 'no');\n\n            // 若同源，尝试根据内容自适应高度\n            try {\n              var doc = iframe.contentDocument || iframe.contentWindow.document;\n              if (doc && doc.body) {\n                iframe.style.height = doc.body.scrollHeight + 'px';\n              }\n            } catch (e) {\n            }\n          }\n        } catch (e) {\n        }\n      }, 600);\n\n      var schema = document.documentElement.getAttribute('data-user-color-scheme');\n      if (schema) {\n        document.querySelector('#cusdis_thread').dataset.theme = schema\n      }\n    });\n  </script>\n  <noscript>Please enable JavaScript to view the comments</noscript>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/discuss.ejs",
    "content": "<% if (theme.discuss && theme.discuss.serverURLs) { %>\n  <div id=\"discuss-comments\"></div>\n  <script type=\"text/javascript\">\n    Fluid.utils.loadComments('#comments', function() {\n      Fluid.utils.createScript('<%= url_join(theme.static_prefix.discuss, 'discuss.js') %>', function() {\n        var options = Object.assign(\n          <%- JSON.stringify(theme.discuss || {}) %>,\n          { el: '#discuss-comments',\n            path: <%= theme.discuss.path %>\n          }\n        )\n        discuss.init(options)\n      });\n    });\n  </script>\n  <noscript>Please enable JavaScript to view the comments</noscript>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/disqus.ejs",
    "content": "<% if (theme.disqus.shortname) { %>\n  <div class=\"disqus\" style=\"width:100%\">\n    <div id=\"disqus_thread\"></div>\n    <% if (theme.disqus.disqusjs) { %>\n      <script>\n        Fluid.utils.loadComments('#disqus_thread', function() {\n          Fluid.utils.createCssLink('<%= url_join(theme.static_prefix.disqusjs, 'disqusjs.css') %>');\n          Fluid.utils.createScript('<%= url_join(theme.static_prefix.disqusjs, 'disqus.js') %>', function() {\n            new DisqusJS({\n              shortname: '<%= theme.disqus.shortname %>',\n              apikey: <%- JSON.stringify(theme.disqus.apikey) %>,\n              api: '<%= theme.disqus.api %>',\n              url: '<%= page.permalink %>',\n              identifier: '<%= url_for(page.path) %>',\n              admin: '<%= theme.disqus.admin %>',\n              adminLabel: '<%= theme.disqus.adminLabel %>'\n            });\n          });\n        });\n      </script>\n    <% } else { %>\n      <script type=\"text/javascript\">\n        var disqus_config = function() {\n          this.page.url = '<%= page.permalink %>';\n          this.page.identifier = '<%= url_for(page.path) %>';\n        };\n        Fluid.utils.loadComments('#disqus_thread', function() {\n          var d = document, s = d.createElement('script');\n          s.src = '//' + '<%= theme.disqus.shortname %>' + '.disqus.com/embed.js';\n          s.setAttribute('data-timestamp', new Date());\n          (d.head || d.body).appendChild(s);\n        });\n      </script>\n    <% } %>\n    <noscript>Please enable JavaScript to view the comments</noscript>\n  </div>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/giscus.ejs",
    "content": "<% if (theme.giscus && theme.giscus['repo'] && theme.giscus['repo-id']) { %>\n    <div id=\"giscus\" class=\"giscus\"></div>\n    <script type=\"text/javascript\">\n      Fluid.utils.loadComments('#giscus', function() {\n        var options = <%- JSON.stringify(theme.giscus || {}) %>;\n        var attributes = {};\n        for (let option in options) {\n          if (!option.startsWith('theme-')) {\n            var key = option.startsWith('data-') ? option : 'data-' + option;\n            attributes[key] = options[option];\n          }\n        }\n        var light = '<%= theme.giscus['theme-light'] || 'light' %>';\n        var dark = '<%= theme.giscus['theme-dark'] || 'dark' %>';\n        window.GiscusThemeLight = light;\n        window.GiscusThemeDark = dark;\n        attributes['data-theme'] = document.documentElement.getAttribute('data-user-color-scheme') === 'dark' ? dark : light;\n        for (let attribute in attributes) {\n          var value = attributes[attribute];\n          if (value === undefined || value === null || value === '') {\n            delete attributes[attribute];\n          }\n        }\n        var s = document.createElement('script');\n        s.setAttribute('src', 'https://giscus.app/client.js');\n        s.setAttribute('crossorigin', 'anonymous');\n        for (let attribute in attributes) {\n          s.setAttribute(attribute, attributes[attribute]);\n        }\n        var ss = document.getElementsByTagName('script');\n        var e = ss.length > 0 ? ss[ss.length - 1] : document.head || document.documentElement;\n        e.parentNode.insertBefore(s, e.nextSibling);\n      });\n    </script>\n    <noscript>Please enable JavaScript to view the comments</noscript>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/gitalk.ejs",
    "content": "<% if(theme.gitalk.clientID && theme.gitalk.clientSecret && theme.gitalk.repo){ %>\n  <div id=\"gitalk-container\"></div>\n  <script type=\"text/javascript\">\n    Fluid.utils.loadComments('#gitalk-container', function() {\n      Fluid.utils.createCssLink('<%= url_join(theme.static_prefix.internal_css, 'gitalk.css') %>')\n      Fluid.utils.createScript('<%= url_join(theme.static_prefix.gitalk, 'gitalk.min.js') %>', function() {\n        var options = Object.assign(\n          <%- JSON.stringify(theme.gitalk || {}) %>,\n          {\n            id: '<%= md5(page.path) %>'\n          }\n        )\n        var gitalk = new Gitalk(options);\n        gitalk.render('gitalk-container');\n      });\n    });\n  </script>\n  <noscript>Please enable JavaScript to view the comments</noscript>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/livere.ejs",
    "content": "<% if (theme.livere.uid) { %>\n  <div id=\"lv-container\" data-id=\"city\" data-uid=\"<%= theme.livere.uid %>\">\n    <script type=\"text/javascript\">\n      Fluid.utils.loadComments('#lv-container', function() {\n        Fluid.utils.createScript('https://cdn-city.livere.com/js/embed.dist.js');\n      });\n    </script>\n    <noscript>Please enable JavaScript to view the comments</noscript>\n  </div>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/remark42.ejs",
    "content": "<% if (theme.remark42.host && theme.remark42.site_id) { %>\n  <div id=\"remark42\"></div>\n  <script type=\"text/javascript\">\n    var schema = document.documentElement.getAttribute('data-user-color-scheme');\n    if (schema !== 'light' && schema !== 'dark') {\n      schema = 'light';\n    }\n    var remark_config = Object.assign(\n      <%- JSON.stringify(theme.remark42 || {}) %>,\n      {\n        url: '<%= url_for(page.path) %>',\n        page_title: '<%= page.title %>',\n        theme: schema,\n      }\n    );\n\n    Fluid.utils.loadComments('#remark42', function() {\n      (function (c) {\n        for (var i = 0; i < c.length; i++) {\n          var d = document, s = d.createElement('script');\n          s.src = remark_config.host + '/web/' + c[i] + '.js';\n          s.defer = true;\n          (d.head || d.body).appendChild(s);\n        }\n      })(remark_config.components || ['embed']);\n    });\n  </script>\n  <noscript>Please enable JavaScript to view the comments</noscript>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/twikoo.ejs",
    "content": "<% if (theme.twikoo && theme.twikoo.envId) { %>\n  <div id=\"twikoo\"></div>\n  <script type=\"text/javascript\">\n    Fluid.utils.loadComments('#comments', function() {\n      Fluid.utils.createScript('<%= url_join(theme.static_prefix.twikoo, 'twikoo.all.min.js') %>', function() {\n        var options = Object.assign(\n          <%- JSON.stringify(theme.twikoo || {}) %>,\n          {\n            el: '#twikoo',\n            path: '<%= theme.twikoo.path %>',\n            onCommentLoaded: function() {\n              Fluid.utils.listenDOMLoaded(function() {\n                var imgSelector = '#twikoo .tk-content img:not(.tk-owo-emotion)';\n                Fluid.plugins.imageCaption(imgSelector);\n                Fluid.plugins.fancyBox(imgSelector);\n              });\n            }\n          }\n        )\n        twikoo.init(options)\n      });\n    });\n  </script>\n  <noscript>Please enable JavaScript to view the comments</noscript>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/utterances.ejs",
    "content": "<% if (theme.utterances.repo && theme.utterances.issue_term) { %>\n  <script type=\"text/javascript\">\n    Fluid.utils.loadComments('#comments', function() {\n      var light = '<%= theme.utterances.theme || 'github-light' %>';\n      var dark = '<%= theme.utterances.theme_dark || 'github-dark' %>';\n      var schema = document.documentElement.getAttribute('data-user-color-scheme');\n      if (schema === 'dark') {\n        schema = dark;\n      } else {\n        schema = light;\n      }\n      window.UtterancesThemeLight = light;\n      window.UtterancesThemeDark = dark;\n      var s = document.createElement('script');\n      s.setAttribute('src', 'https://utteranc.es/client.js');\n      s.setAttribute('repo', '<%= theme.utterances.repo %>');\n      s.setAttribute('issue-term', '<%= theme.utterances.issue_term %>');\n      <% if (theme.utterances.label) { %>\n      s.setAttribute('label', '<%= theme.utterances.label %>');\n      <% } %>\n      s.setAttribute('theme', schema);\n      s.setAttribute('crossorigin', 'anonymous');\n      document.getElementById('comments').appendChild(s);\n    })\n  </script>\n  <noscript>Please enable JavaScript to view the comments</noscript>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/valine.ejs",
    "content": "<% if (theme.valine.appId && theme.valine.appKey) { %>\n  <div id=\"valine\"></div>\n  <script type=\"text/javascript\">\n    Fluid.utils.loadComments('#valine', function() {\n      Fluid.utils.createScript('<%= url_join(theme.static_prefix.valine, 'Valine.min.js') %>', function() {\n        var options = Object.assign(\n          <%- JSON.stringify(theme.valine || {}) %>,\n          {\n            el: \"#valine\",\n            path: <%= theme.valine.path %>\n          }\n        )\n        new Valine(options);\n        Fluid.utils.waitElementVisible('#valine .vcontent', () => {\n          var imgSelector = '#valine .vcontent img:not(.vemoji)';\n          Fluid.plugins.imageCaption(imgSelector);\n          Fluid.plugins.fancyBox(imgSelector);\n        })\n      });\n    });\n  </script>\n  <noscript>Please enable JavaScript to view the comments</noscript>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments/waline.ejs",
    "content": "<% if (theme.waline.serverURL) { %>\n  <div id=\"waline\"></div>\n  <script type=\"module\">\n    Fluid.utils.loadComments('#waline', function() {\n      Fluid.utils.createCssLink('<%= url_join(theme.static_prefix.waline, 'waline.css') %>')\n      import('<%= url_join(theme.static_prefix.waline, 'waline.js') %>').then(({ init }) => {\n        var options = Object.assign(\n          <%- JSON.stringify(theme.waline || {}) %>,\n          {\n            el: '#waline',\n            path: <%= theme.waline.path %>\n          }\n        )\n        init(options);\n        Fluid.utils.waitElementVisible('#waline .wl-content', () => {\n          var imgSelector = '#waline .wl-content img:not(.wl-emoji)';\n          Fluid.plugins.imageCaption(imgSelector);\n          Fluid.plugins.fancyBox(imgSelector);\n        })\n      });\n    });\n  </script>\n  <noscript>Please enable JavaScript to view the comments</noscript>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/comments.ejs",
    "content": "<% if ((!is_post() && !is_page()) || (is_post() && theme.post.comments.enable && page.comments) || (is_page() && page.comments)) { %>\n  <% var commentType = typeof page.comment === 'string' && page.comment !== '' ? page.comment : theme.post.comments.type %>\n  <% if (commentType) { %>\n    <article id=\"comments\">\n      <%- partial('_partials/comments/' + commentType) %>\n    </article>\n  <% } %>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/css.ejs",
    "content": "<%- css_ex(theme.static_prefix.bootstrap, 'css/bootstrap.min.css') %>\n\n<% var css_snippets = deduplicate(page.css_snippets) %>\n<% for (var idx = 0; idx < css_snippets.length; idx++) { %>\n  <%- css_snippets[idx] %>\n<% } %>\n<% page.css_snippets = [] %>\n\n<!-- 主题依赖的图标库，不要自行修改 -->\n<!-- Do not modify the link that theme dependent icons -->\n<%- css('//at.alicdn.com/t/c/font_1749284_5i9bdhy70f8.css') %>\n\n<%- css(theme.static_prefix.iconfont || theme.iconfont) %>\n\n<%- css_ex(theme.static_prefix.internal_css, 'main.css') %>\n\n<% if (theme.code.highlight.enable) { %>\n  <%- css_ex(theme.static_prefix.internal_css, 'highlight.css', 'id=\"highlight-css\"') %>\n  <% if (theme.dark_mode.enable) { %>\n    <%- css_ex(theme.static_prefix.internal_css, 'highlight-dark.css', 'id=\"highlight-css-dark\"') %>\n  <% } %>\n<% } %>\n\n<% if (theme.custom_css) { %>\n  <%- css(theme.custom_css) %>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/footer/beian.ejs",
    "content": "<div class=\"beian\">\n  <span>\n    <a href=\"http://beian.miit.gov.cn/\" target=\"_blank\" rel=\"nofollow noopener\">\n      <%- theme.footer.beian.icp_text %>\n    </a>\n  </span>\n  <% if(theme.footer.beian.police_text) { %>\n    <% if(theme.footer.beian.police_code) { %>\n      <span>\n        <a\n          href=\"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=<%= theme.footer.beian.police_code %>\"\n          rel=\"nofollow noopener\"\n          class=\"beian-police\"\n          target=\"_blank\"\n        >\n          <% if(theme.footer.beian.police_icon) { %>\n            <span style=\"visibility: hidden; width: 0\">|</span>\n            <img src=\"<%= url_for(theme.footer.beian.police_icon) %>\" alt=\"police-icon\"/>\n          <% } %>\n          <span><%- theme.footer.beian.police_text %></span>\n        </a>\n      </span>\n    <% } else { %>\n      <span class=\"beian-police\">\n        <% if(theme.footer.beian.police_icon) { %>\n          <span style=\"visibility: hidden; width: 0\">|</span>\n          <img src=\"<%= url_for(theme.footer.beian.police_icon) %>\" alt=\"police-icon\"/>\n        <% } %>\n        <span class=\"beian-police\"><%- theme.footer.beian.police_text %></span>\n      </span>\n    <% } %>\n  <% } %>\n</div>\n"
  },
  {
    "path": "layout/_partials/footer/statistics.ejs",
    "content": "<div class=\"statistics\">\n  <% let pv_texts = (theme.footer.statistics.pv_format || __('footer.pv')).split('{}') %>\n  <% let uv_texts = (theme.footer.statistics.uv_format || __('footer.uv')).split('{}') %>\n\n  <% if (theme.footer.statistics.source === 'leancloud') { %>\n    <% if (pv_texts.length >= 2) { %>\n      <span id=\"leancloud-site-pv-container\" style=\"display: none\">\n        <%- pv_texts[0] %>\n        <span id=\"leancloud-site-pv\"></span>\n        <%- pv_texts[1] %>\n      </span>\n    <% } %>\n    <% if (uv_texts.length >= 2) { %>\n      <span id=\"leancloud-site-uv-container\" style=\"display: none\">\n        <%- uv_texts[0] %>\n        <span id=\"leancloud-site-uv\"></span>\n        <%- uv_texts[1] %>\n      </span>\n    <% } %>\n    <% import_js(theme.static_prefix.internal_js, 'leancloud.js', 'defer') %>\n\n  <% } else if (theme.footer.statistics.source === 'openkounter') { %>\n    <% if (pv_texts.length >= 2) { %>\n      <span id=\"openkounter-site-pv-container\" style=\"display: none\">\n        <%- pv_texts[0] %>\n        <span id=\"openkounter-site-pv\"></span>\n        <%- pv_texts[1] %>\n      </span>\n    <% } %>\n    <% if (uv_texts.length >= 2) { %>\n      <span id=\"openkounter-site-uv-container\" style=\"display: none\">\n        <%- uv_texts[0] %>\n        <span id=\"openkounter-site-uv\"></span>\n        <%- uv_texts[1] %>\n      </span>\n    <% } %>\n    <% import_js(theme.static_prefix.internal_js, 'openkounter.js', 'defer') %>\n\n  <% } else if (theme.footer.statistics.source === 'busuanzi') { %>\n    <% if (pv_texts.length >= 2) { %>\n      <span id=\"busuanzi_container_site_pv\" style=\"display: none\">\n        <%- pv_texts[0] %>\n        <span id=\"busuanzi_value_site_pv\"></span>\n        <%- pv_texts[1] %>\n      </span>\n    <% } %>\n    <% if (uv_texts.length >= 2) { %>\n      <span id=\"busuanzi_container_site_uv\" style=\"display: none\">\n        <%- uv_texts[0] %>\n        <span id=\"busuanzi_value_site_uv\"></span>\n        <%- uv_texts[1] %>\n      </span>\n    <% } %>\n    <% import_js(theme.static_prefix.busuanzi, 'busuanzi.pure.mini.js', 'defer') %>\n\n  <% } else if (theme.footer.statistics.source === 'umami') { %>\n    <% if (pv_texts.length >= 2) { %>\n      <span id=\"umami-site-pv-container\" style=\"display: none\">\n        <%- pv_texts[0] %>\n        <span id=\"umami-site-pv\"></span>\n        <%- pv_texts[1] %>\n      </span>\n    <% } %>\n    <% if (uv_texts.length >= 2) { %>\n      <span id=\"umami-site-uv-container\" style=\"display: none\">\n        <%- uv_texts[0] %>\n        <span id=\"umami-site-uv\"></span>\n        <%- uv_texts[1] %>\n      </span>\n    <% } %>\n    <% import_js(theme.static_prefix.internal_js, 'umami-view.js', 'defer') %>\n  <% } %>\n\n</div>\n"
  },
  {
    "path": "layout/_partials/footer.ejs",
    "content": "<div class=\"footer-inner\">\n  <% if (theme.footer.content) { %>\n    <div class=\"footer-content\">\n      <%- theme.footer.content %>\n    </div>\n  <% } %>\n  <% if (theme.footer.statistics.enable) { %>\n    <%- partial('_partials/footer/statistics.ejs') %>\n  <% } %>\n  <% if(theme.footer.beian.enable) { %>\n    <!-- 备案信息 ICP for China -->\n    <%- partial('_partials/footer/beian.ejs') %>\n  <% } %>\n</div>\n"
  },
  {
    "path": "layout/_partials/head.ejs",
    "content": "<%\nvar separator = theme.title_join_string || theme.tab_title_separator\nvar title = page.title ? [page.title, config.title].join(separator) : config.title\nvar keywords = page.keywords || config.keywords\nif (keywords instanceof Array) {\n  keywords = keywords.join(',')\n}\nvar description = page.description || page.excerpt || (is_post() && page.content) || config.description\nif (description) {\n  description = strip_html(description).substring(0, 200).trim().replace(/\\n/g, ' ')\n}\nvar ogImage = page.og_img || page.index_img\nvar ogConfig = Object.assign({ image: ogImage && url_for(ogImage) }, theme.open_graph)\n%>\n\n<head>\n  <meta charset=\"UTF-8\">\n\n  <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"<%= url_for(theme.apple_touch_icon) %>\">\n  <link rel=\"icon\" href=\"<%= url_for(theme.favicon) %>\">\n  <% if (theme.canonical.enable) { %>\n    <link rel=\"canonical\" href=\"<%= url_join(config.url, page.canonical_path.replace('index.html', '')) %>\"/>\n  <% } %>\n\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no\">\n  <meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">\n  <% if (theme.force_https) { %>\n    <meta http-equiv=\"Content-Security-Policy\" content=\"upgrade-insecure-requests\">\n  <% } %>\n  <meta name=\"theme-color\" content=\"<%= theme.color.navbar_bg_color %>\">\n  <meta name=\"author\" content=\"<%= page.author || config.author %>\">\n  <meta name=\"keywords\" content=\"<%= keywords %>\">\n  <% if (theme.open_graph.enable) { %>\n    <%- open_graph(ogConfig) %>\n  <% } else { %>\n    <meta name=\"description\" content=\"<%= description %>\">\n  <% } %>\n  <% if ((theme.post.meta.views.enable && theme.post.meta.views.source === 'busuanzi')\n    || (theme.footer.statistics.enable && theme.footer.statistics.source === 'busuanzi')) { %>\n    <meta name=\"referrer\" content=\"no-referrer-when-downgrade\">\n  <% } %>\n  <% if (theme.custom_head) { %>\n    <%- theme.custom_head %>\n  <% } %>\n  <title><%= title %></title>\n\n  <%- partial('_partials/css.ejs') %>\n  <%- export_config() %>\n  <%- js_ex(theme.static_prefix.internal_js, 'utils.js') %>\n  <%- js_ex(theme.static_prefix.internal_js, 'color-schema.js') %>\n  <%- partial('_partials/plugins/analytics.ejs') %>\n\n  <%- inject_point('head') %>\n</head>\n"
  },
  {
    "path": "layout/_partials/header/banner.ejs",
    "content": "<%\nvar banner_img = page.banner_img || (is_post() && theme.post ? theme.post.banner_img : theme.index.banner_img)\nvar random_enabled = theme.banner && typeof theme.banner.random_img === 'boolean'\n  ? theme.banner.random_img\n  : false\nvar random_banner_list = []\nif (!banner_img && random_enabled && Array.isArray(theme.banner_img_list) && theme.banner_img_list.length > 0) {\n  for (var i = 0; i < theme.banner_img_list.length; i++) {\n    random_banner_list.push(url_for(theme.banner_img_list[i]))\n  }\n  banner_img = random_banner_list[0]\n}\nvar random_banner_attr = ''\nif (random_banner_list.length > 0) {\n  random_banner_attr = \"data-random-banner='\" + random_banner_list.join(',') + \"'\"\n}\nvar banner_attrs = ''\nif (theme.banner && theme.banner.parallax) {\n  banner_attrs += ' parallax=true'\n}\nif (random_banner_attr) {\n  banner_attrs += ' ' + random_banner_attr\n}\nvar banner_img_height = parseFloat(page.banner_img_height || theme.index.banner_img_height)\nvar banner_mask_alpha = parseFloat(page.banner_mask_alpha || theme.index.banner_mask_alpha)\nvar subtitle = page.subtitle || page.title\n%>\n\n<div id=\"banner\" class=\"banner\"<%- banner_attrs %>\n     style=\"background: url('<%- url_for(banner_img) %>') no-repeat center center; background-size: cover;\">\n  <div class=\"full-bg-img\">\n    <div class=\"mask flex-center\" style=\"background-color: rgba(0, 0, 0, <%= banner_mask_alpha %>)\">\n      <div class=\"banner-text text-center fade-in-up\">\n        <div class=\"h2\">\n          <% if(theme.fun_features.typing.enable && in_scope(theme.fun_features.typing.scope)) { %>\n            <span id=\"subtitle\" data-typed-text=\"<%= subtitle %>\"></span>\n          <% } else { %>\n            <span id=\"subtitle\"><%- subtitle %></span>\n          <% } %>\n        </div>\n\n        <% if (is_post()) { %>\n          <%- inject_point('postMetaTop') %>\n        <% } %>\n      </div>\n\n      <% if (theme.scroll_down_arrow.enable && theme.scroll_down_arrow.banner_height_limit <= banner_img_height && page.layout !== '404') { %>\n        <div class=\"scroll-down-bar\">\n          <i class=\"iconfont icon-arrowdown\"></i>\n        </div>\n      <% } %>\n    </div>\n  </div>\n</div>\n\n<% if (random_banner_list.length > 0) { %>\n  <script>\n    (function() {\n      var banner = document.getElementById('banner');\n      if (!banner) return;\n      var list = banner.getAttribute('data-random-banner');\n      if (!list) return;\n      list = list.split(',').filter(Boolean);\n      if (list.length === 0) return;\n      var pick = list[Math.floor(Math.random() * list.length)];\n      banner.style.backgroundImage = \"url('\" + pick + \"')\";\n    })();\n  </script>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/header/navigation.ejs",
    "content": "<nav id=\"navbar\" class=\"navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar\">\n  <div class=\"container\">\n    <a class=\"navbar-brand\" href=\"<%= url_for() %>\">\n      <strong><%= theme.navbar.blog_title || config.title %></strong>\n    </a>\n\n    <button id=\"navbar-toggler-btn\" class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\"\n            data-target=\"#navbarSupportedContent\"\n            aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">\n      <div class=\"animated-icon\"><span></span><span></span><span></span></div>\n    </button>\n\n    <!-- Collapsible content (desktop) -->\n    <div class=\"collapse navbar-collapse\" id=\"navbarSupportedContent\">\n      <ul class=\"navbar-nav ml-auto text-center\">\n        <% for(const each of theme.navbar.menu || []) { %>\n          <% if (!each.submenu && !each.link) continue %>\n          <% var text = each.name || __(each.key + '.menu') || __(each.key + '.title') %>\n          <% if (text.indexOf('.menu') !== -1 || text.indexOf('.title') !== -1) {\n            text = each.key\n          } %>\n          <% if (each.submenu) { %>\n            <li class=\"nav-item dropdown\">\n              <a class=\"nav-link dropdown-toggle\" target=\"_self\" href=\"javascript:;\" role=\"button\"\n                 data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\n                <%- each.icon ? '<i class=\"' + each.icon + '\"></i>' : '' %>\n                <span><%- text %></span>\n              </a>\n              <div class=\"dropdown-menu\" aria-labelledby=\"navbarDropdown\">\n                <% for(const subEach of each.submenu || []) { %>\n                  <% if (!subEach.link) continue %>\n                  <% var subText = subEach.name || __(subEach.key + '.title') %>\n                  <% if (subText.indexOf('.title') !== -1) {\n                    subText = subEach.key\n                  } %>\n                  <a class=\"dropdown-item\" href=\"<%= url_for(subEach.link) %>\" target=\"<%= subEach.target || '_self' %>\">\n                    <%- subEach.icon ? '<i class=\"' + subEach.icon + '\"></i>' : '' %>\n                    <span><%- subText %></span>\n                  </a>\n                <% } %>\n              </div>\n            </li>\n          <% } else { %>\n            <li class=\"nav-item\">\n              <a class=\"nav-link\" href=\"<%= url_for(each.link) %>\" target=\"<%= each.target || '_self' %>\">\n                <%- each.icon ? '<i class=\"' + each.icon + '\"></i>' : '' %>\n                <span><%- text %></span>\n              </a>\n            </li>\n          <% } %>\n        <% } %>\n        <% if(theme.search.enable) { %>\n          <li class=\"nav-item\" id=\"search-btn\">\n            <a class=\"nav-link\" target=\"_self\" href=\"javascript:;\" data-toggle=\"modal\" data-target=\"#modalSearch\" aria-label=\"Search\">\n              <i class=\"iconfont icon-search\"></i>\n            </a>\n          </li>\n          <% import_js(theme.static_prefix.internal_js, 'local-search.js') %>\n        <% } %>\n        <% if(theme.dark_mode && theme.dark_mode.enable) { %>\n          <li class=\"nav-item\" id=\"color-toggle-btn\">\n            <a class=\"nav-link\" target=\"_self\" href=\"javascript:;\" aria-label=\"Color Toggle\">\n              <i class=\"iconfont icon-dark\" id=\"color-toggle-icon\"></i>\n            </a>\n          </li>\n        <% } %>\n      </ul>\n    </div>\n  </div>\n</nav>\n\n<!-- Mobile grid menu overlay -->\n<div id=\"mobile-grid-menu\" class=\"d-lg-none\">\n  <div class=\"mobile-grid-menu-inner\">\n    <div class=\"container\">\n      <div class=\"row\">\n        <% for(const each of theme.navbar.menu || []) { %>\n          <% if (!each.submenu && !each.link) continue %>\n          <% var gridText = each.name || __(each.key + '.menu') || __(each.key + '.title') %>\n          <% if (gridText.indexOf('.menu') !== -1 || gridText.indexOf('.title') !== -1) {\n            gridText = each.key\n          } %>\n          <% if (each.submenu) { %>\n            <%\n              // Flatten submenu items as grid cells grouped under a header\n              // First render the parent as a header row, then sub items\n            %>\n            <div class=\"col-12 mobile-grid-group-header\">\n              <%- each.icon ? '<i class=\"' + each.icon + '\"></i>' : '' %>\n              <span><%- gridText %></span>\n            </div>\n            <% for(const subEach of each.submenu || []) { %>\n              <% if (!subEach.link) continue %>\n              <% var subGridText = subEach.name || __(subEach.key + '.title') %>\n              <% if (subGridText.indexOf('.title') !== -1) {\n                subGridText = subEach.key\n              } %>\n              <div class=\"col-4 mobile-grid-cell\">\n                <a href=\"<%= url_for(subEach.link) %>\" target=\"<%= subEach.target || '_self' %>\">\n                  <div class=\"mobile-grid-item\">\n                    <%- subEach.icon ? '<i class=\"' + subEach.icon + '\"></i>' : '<i class=\"iconfont icon-link-fill\"></i>' %>\n                    <span><%- subGridText %></span>\n                  </div>\n                </a>\n              </div>\n            <% } %>\n          <% } else { %>\n            <div class=\"col-4 mobile-grid-cell\">\n              <a href=\"<%= url_for(each.link) %>\" target=\"<%= each.target || '_self' %>\">\n                <div class=\"mobile-grid-item\">\n                  <%- each.icon ? '<i class=\"' + each.icon + '\"></i>' : '<i class=\"iconfont icon-link-fill\"></i>' %>\n                  <span><%- gridText %></span>\n                </div>\n              </a>\n            </div>\n          <% } %>\n        <% } %>\n        <% if(theme.search.enable) { %>\n          <div class=\"col-4 mobile-grid-cell\" id=\"mobile-search-btn\">\n            <a href=\"javascript:;\" data-toggle=\"modal\" data-target=\"#modalSearch\" aria-label=\"Search\">\n              <div class=\"mobile-grid-item\">\n                <i class=\"iconfont icon-search\"></i>\n                <span><%= __('search.title') !== 'search.title' ? __('search.title') : 'Search' %></span>\n              </div>\n            </a>\n          </div>\n        <% } %>\n        <% if(theme.dark_mode && theme.dark_mode.enable) { %>\n          <div class=\"col-4 mobile-grid-cell\" id=\"mobile-color-toggle-btn\"\n               data-label-light=\"<%= __('darkmode.light') %>\"\n               data-label-dark=\"<%= __('darkmode.dark') %>\">\n            <a href=\"javascript:;\" aria-label=\"Color Toggle\">\n              <div class=\"mobile-grid-item\">\n                <i class=\"iconfont icon-dark\" id=\"mobile-color-toggle-icon\"></i>\n                <span id=\"mobile-color-toggle-label\"><%= __('darkmode.dark') %></span>\n              </div>\n            </a>\n          </div>\n        <% } %>\n      </div>\n    </div>\n  </div>\n</div>\n"
  },
  {
    "path": "layout/_partials/header.ejs",
    "content": "<%\nvar banner_img_height = parseFloat(page.banner_img_height || theme.index.banner_img_height)\n%>\n\n<div class=\"header-inner\" style=\"height: <%= banner_img_height %>vh;\">\n  <%- partial('_partials/header/navigation') %>\n  <%- partial('_partials/header/banner') %>\n</div>\n"
  },
  {
    "path": "layout/_partials/markdown-plugins.ejs",
    "content": "<% import_css(theme.static_prefix.github_markdown, 'github-markdown.min.css') %>\n<% import_css(theme.static_prefix.hint, 'hint.min.css') %>\n\n<% if (theme.code.highlight.enable) { %>\n  <%- partial('_partials/plugins/highlight.ejs') %>\n<% } %>\n<% if ((theme.code.language.enable && theme.code.language.default) || theme.code.copy_btn) { %>\n  <%- partial('_partials/plugins/code-widget.ejs') %>\n<% } %>\n<% if (theme.fun_features.anchorjs.enable && page.anchorjs !== false) { %>\n  <%- partial('_partials/plugins/anchorjs.ejs') %>\n<% } %>\n<% if (theme.post.image_zoom.enable && page.image_zoom !== false) { %>\n  <%- partial('_partials/plugins/fancybox.ejs') %>\n<% } %>\n<% if (theme.post.image_caption.enable) { %>\n  <% import_script('<script>Fluid.plugins.imageCaption();</script>') %>\n<% } %>\n<% if (theme.post.math.enable && (!theme.post.math.specific || (theme.post.math.specific && page.math))) { %>\n  <%- partial('_partials/plugins/math.ejs') %>\n<% } %>\n<% if (theme.post.mermaid.enable && (!theme.post.mermaid.specific || (theme.post.mermaid.specific && page.mermaid))) { %>\n  <%- partial('_partials/plugins/mermaid.ejs') %>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/paginator.ejs",
    "content": "<% if (page.total > 1){ %>\n  <nav aria-label=\"navigation\">\n    <span class=\"pagination\" id=\"pagination\">\n      <%- paginator({\n        prev_text: '<i class=\"iconfont icon-arrowleft\"></i>',\n        next_text: '<i class=\"iconfont icon-arrowright\"></i>',\n        mid_size: 2,\n        end_size: 1,\n        format: `${config.pagination_dir}/%d/${theme.scroll_down_arrow.scroll_after_turning_page ? '#board' : ''}`,\n        escape: false\n      }) %>\n    </span>\n  </nav>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/plugins/analytics.ejs",
    "content": "<% if (theme.web_analytics.enable) { %>\n\n  <% if(theme.web_analytics.baidu) { %>\n    <!-- Baidu Analytics -->\n    <script async>\n      if (!Fluid.ctx.dnt) {\n        var _hmt = _hmt || [];\n        (function() {\n          var hm = document.createElement(\"script\");\n          hm.src = \"https://hm.baidu.com/hm.js?<%= theme.web_analytics.baidu %>\";\n          var s = document.getElementsByTagName(\"script\")[0];\n          s.parentNode.insertBefore(hm, s);\n        })();\n      }\n    </script>\n  <% } %>\n\n  <% if (theme.web_analytics.google && theme.web_analytics.google.measurement_id){ %>\n    <!-- Google tag (gtag.js) -->\n    <script async>\n      if (!Fluid.ctx.dnt) {\n        Fluid.utils.createScript(\"https://www.googletagmanager.com/gtag/js?id=<%= theme.web_analytics.google.measurement_id %>\", function() {\n          window.dataLayer = window.dataLayer || [];\n          function gtag() {\n            dataLayer.push(arguments);\n          }\n          gtag('js', new Date());\n          gtag('config', '<%= theme.web_analytics.google.measurement_id %>');\n        });\n      }\n    </script>\n  <% } %>\n\n  <% if(theme.web_analytics.umami && theme.web_analytics.umami.src && theme.web_analytics.umami.website_id) { %>\n    <script async>\n      if (!Fluid.ctx.dnt) {\n        let umami = document.createElement('script');\n        umami.async = true;\n        umami.src = \"<%= theme.web_analytics.umami.src %>\";\n        umami.setAttribute(\"data-website-id\", \"<%= theme.web_analytics.umami.website_id %>\");\n        umami.setAttribute(\"data-domains\", \"<%= theme.web_analytics.umami.domains %>\");\n        document.head.appendChild(umami);\n      }\n    </script>\n  <% } %>\n\n  <% if(theme.web_analytics.tencent && theme.web_analytics.tencent.sid && theme.web_analytics.tencent.cid) { %>\n    <!-- Tencent Analytics -->\n    <script async>\n      if (!Fluid.ctx.dnt) {\n        var _mtac = {};\n        (function() {\n          var mta = document.createElement(\"script\");\n          mta.src = \"//pingjs.qq.com/h5/stats.js?v2.0.4\";\n          mta.setAttribute(\"name\", \"MTAH5\");\n          mta.setAttribute(\"sid\", \"<%= theme.web_analytics.tencent.sid %>\");\n          <% if(theme.web_analytics.tencent.cid) { %>\n          mta.setAttribute(\"cid\", \"<%= theme.web_analytics.tencent.cid %>\");\n          <% } %>\n          var s = document.getElementsByTagName(\"script\")[0];\n          s.parentNode.insertBefore(mta, s);\n        })();\n      }\n    </script>\n  <% } %>\n\n  <% if(theme.web_analytics.leancloud && theme.web_analytics.leancloud.app_id && theme.web_analytics.leancloud.app_key) { %>\n    <% import_js(theme.static_prefix.internal_js, 'leancloud.js', 'defer') %>\n  <% } %>\n\n  <% if(theme.web_analytics.openkounter && theme.web_analytics.openkounter.server_url) { %>\n    <% import_js(theme.static_prefix.internal_js, 'openkounter.js', 'defer') %>\n  <% } %>\n\n<% } %>\n"
  },
  {
    "path": "layout/_partials/plugins/anchorjs.ejs",
    "content": "<%\nimport_script(`\n<script>\n  Fluid.utils.createScript('${ url_join(theme.static_prefix.anchor, 'anchor.min.js') }', function() {\n    window.anchors.options = {\n      placement: CONFIG.anchorjs.placement,\n      visible  : CONFIG.anchorjs.visible\n    };\n    if (CONFIG.anchorjs.icon) {\n      window.anchors.options.icon = CONFIG.anchorjs.icon;\n    }\n    var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');\n    var res = [];\n    for (var item of el) {\n      res.push('.markdown-body > ' + item.trim());\n    }\n    if (CONFIG.anchorjs.placement === 'left') {\n      window.anchors.options.class = 'anchorjs-link-left';\n    }\n    window.anchors.add(res.join(', '));\n\n    Fluid.events.registerRefreshCallback(function() {\n      if ('anchors' in window) {\n        anchors.removeAll();\n        var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');\n        var res = [];\n        for (var item of el) {\n          res.push('.markdown-body > ' + item.trim());\n        }\n        if (CONFIG.anchorjs.placement === 'left') {\n          anchors.options.class = 'anchorjs-link-left';\n        }\n        anchors.add(res.join(', '));\n      }\n    });\n  });\n</script>\n`)\n%>\n"
  },
  {
    "path": "layout/_partials/plugins/code-widget.ejs",
    "content": "<%\nif (theme.code.copy_btn) {\n  import_script(`<script src=${url_join(theme.static_prefix.clipboard, 'clipboard.min.js')}></script>`)\n}\nimport_script(`<script>Fluid.plugins.codeWidget();</script>\n`)\n%>\n"
  },
  {
    "path": "layout/_partials/plugins/encrypt.ejs",
    "content": "<%\nimport_script(`\n  <script defer>\n    if (document.getElementById('hbePass') || document.querySelector('hbe-prefix')) {\n      Fluid.utils.waitElementLoaded('hbe-prefix', function() {\n        var hbePrefix = document.querySelector('hbe-prefix');\n        hbePrefix.parentElement.classList.add('markdown-body');\n        Fluid.utils.retry(function() {\n          if (Fluid.boot && Fluid.boot.refresh) {\n            Fluid.boot.refresh();\n            return true;\n          }\n        }, 100, 10);\n      })\n    }\n  </script>\n`)\n%>\n"
  },
  {
    "path": "layout/_partials/plugins/fancybox.ejs",
    "content": "<%\nimport_css(theme.static_prefix.fancybox, 'jquery.fancybox.min.css')\n\nimport_script(`\n<script>\n  Fluid.utils.createScript('${url_join(theme.static_prefix.fancybox, 'jquery.fancybox.min.js')}', function() {\n    Fluid.plugins.fancyBox();\n  });\n</script>\n`)\n%>\n"
  },
  {
    "path": "layout/_partials/plugins/highlight.ejs",
    "content": "<%\nif (theme.code.highlight.lib === 'prismjs') {\n  if (!theme.code.highlight.prismjs.preprocess) {\n    import_js(theme.static_prefix.prismjs, 'components/prism-core.min.js')\n    import_js(theme.static_prefix.prismjs, 'plugins/autoloader/prism-autoloader.min.js')\n  }\n\n  if (theme.code.highlight.line_number) {\n    import_css(theme.static_prefix.prismjs, '/plugins/line-numbers/prism-line-numbers.min.css')\n    import_js(theme.static_prefix.prismjs, '/plugins/line-numbers/prism-line-numbers.min.js')\n  }\n}\n%>\n"
  },
  {
    "path": "layout/_partials/plugins/math.ejs",
    "content": "<% if(theme.post.math.engine === 'mathjax') { %>\n  <%\n    var lazy = theme.lazyload.enable && require_version(theme.static_prefix.mathjax, '3.2.0')\n\n    import_script(`\n      <script>\n        if (!window.MathJax) {\n          window.MathJax = {\n            tex    : {\n              inlineMath: { '[+]': [['$', '$']] }\n            },\n            loader : {\n              ${ lazy ? 'load: \\[\\'ui/lazy\\'\\]' : '' }\n            },\n            options: {\n              renderActions: {\n                insertedScript: [200, () => {\n                  document.querySelectorAll('mjx-container').forEach(node => {\n                    let target = node.parentNode;\n                    if (target.nodeName.toLowerCase() === 'li') {\n                      target.parentNode.classList.add('has-jax');\n                    }\n                  });\n                }, '', false]\n              }\n            }\n          };\n        } else {\n          MathJax.startup.document.state(0);\n          MathJax.texReset();\n          MathJax.typeset();\n          MathJax.typesetPromise();\n        }\n\n        Fluid.events.registerRefreshCallback(function() {\n          if ('MathJax' in window && MathJax.startup.document && typeof MathJax.startup.document.state === 'function') {\n            MathJax.startup.document.state(0);\n            MathJax.texReset();\n            MathJax.typeset();\n            MathJax.typesetPromise();\n          }\n        });\n      </script>\n    `)\n\n    import_js(theme.static_prefix.mathjax.replace('es5/', ''), 'es5/tex-mml-chtml.js')\n  %>\n\n<% } else if (theme.post.math.engine === 'katex') { %>\n  <% import_css(theme.static_prefix.katex, 'katex.min.css') %>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/plugins/mermaid.ejs",
    "content": "<script>\n  Fluid.utils.createScript('<%= url_join(theme.static_prefix.mermaid, 'mermaid.min.js') %>', function() {\n    mermaid.initialize(<%- JSON.stringify(theme.post.mermaid.options || {}) %>);\n\n    Fluid.utils.listenDOMLoaded(function() {\n      Fluid.events.registerRefreshCallback(function() {\n        if ('mermaid' in window) {\n          mermaid.init();\n        }\n      });\n    });\n  });\n</script>\n"
  },
  {
    "path": "layout/_partials/plugins/moment.ejs",
    "content": "<%\nvar lang = (config.language || 'zh-cn').toLowerCase();\n\nimport_script(`\n<script>\n  var relativeDate = function() {\n    var updatedTime = document.getElementById('updated-time');\n    if (updatedTime) {\n      var text = updatedTime.textContent;\n      var reg = /\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(?:Z|[+-]\\\\d{2}:\\\\d{2})/;\n      var matchs = text.match(reg);\n      if (matchs) {\n        var relativeTime = moment(matchs[0]).fromNow();\n        updatedTime.textContent = text.replace(reg, relativeTime);\n      }\n      updatedTime.style.display = '';\n    }\n  };\n  Fluid.utils.createScript('${url_join(theme.static_prefix.moment, 'moment.min.js')}', function() {\n    if (!'${lang}'.startsWith('en')) {\n      Fluid.utils.createScript('${url_join(theme.static_prefix.moment, 'locale/' + lang + '.min.js')}', function() {\n        relativeDate();\n      });\n    } else {\n      relativeDate();\n    }\n  });\n</script>\n`)\n%>\n"
  },
  {
    "path": "layout/_partials/plugins/nprogress.ejs",
    "content": "<% if (theme.fun_features.progressbar && theme.fun_features.progressbar.enable){ %>\n  <%- js_ex(theme.static_prefix.nprogress, 'nprogress.min.js') %>\n  <%- css_ex(theme.static_prefix.nprogress, 'nprogress.min.css') %>\n\n  <script>\n    NProgress.configure(<%- JSON.stringify(theme.fun_features.progressbar.options || '{}') %>)\n    NProgress.start()\n    window.addEventListener('load', function() {\n      NProgress.done();\n    })\n  </script>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/plugins/typed.ejs",
    "content": "<% if(theme.fun_features.typing.enable && in_scope(theme.fun_features.typing.scope) && page.subtitle !== false) { %>\n  <%- js_ex(theme.static_prefix.typed, '/typed.min.js') %>\n  <script>\n    (function (window, document) {\n      var typing = Fluid.plugins.typing;\n      var subtitle = document.getElementById('subtitle');\n      if (!subtitle || !typing) {\n        return;\n      }\n      var text = subtitle.getAttribute('data-typed-text');\n      <% if (is_home() && theme.index.slogan.api && theme.index.slogan.api.enable) { %>\n        jQuery.ajax({\n          type: '<%= theme.index.slogan.api.method %>',\n          url: '<%- theme.index.slogan.api.url %>',\n          headers: <%- JSON.stringify(theme.index.slogan.api.headers || {}) %>,\n          dataType: 'json',\n          success: function(result) {\n            var apiText;\n            if (result) {\n              var keys = '<%= theme.index.slogan.api.keys %>'.split(',');\n              if (result instanceof Array) {\n                result = result[0];\n              }\n              for (const k of keys) {\n                var value = result[k];\n                if (typeof value === 'string') {\n                  apiText = value;\n                  break;\n                } else if (value instanceof Object) {\n                  result = value;\n                }\n              }\n            }\n            apiText ? typing(apiText) : typing(text);\n          },\n          error: function(xhr, status, error) {\n            if (error) {\n              console.error('Failed to request <%= theme.index.slogan.api.url %>:', error);\n            }\n            typing(text);\n          }\n        })\n      <% } else if (is_home() && Array.isArray(theme.index.slogan.text) && theme.index.slogan.text.length > 0) { %>\n        var texts = <%- JSON.stringify(theme.index.slogan.text) %>;\n        var idx = Math.floor(Math.random() * texts.length);\n        typing(texts[idx]);\n      <% } else { %>\n        typing(text);\n      <% } %>\n    })(window, document);\n  </script>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/post/category-bar.ejs",
    "content": "<%\nvar parent = page.categories.filter(c => !c.parent)\nif (Array.isArray(page.category_bar)) {\n  parent = page.categories.filter(cat => page.category_bar.indexOf(cat.name) !== -1)\n}\nvar filterIds = page.categories.map(c => c._id)\nfilterIds.push(page._id)\n%>\n\n<%- partial('_partials/category-list', {\n  curCats  : parent,\n  params: {\n    type     : 'post',\n    filterIds: filterIds,\n    postLimit: theme.post.category_bar.post_limit,\n    postOrderBy: theme.post.category_bar.post_order_by || config.index_generator.order_by\n  }\n}) %>\n"
  },
  {
    "path": "layout/_partials/post/copyright.ejs",
    "content": "<% if (theme.post.copyright.enable && page.copyright !== false) { %>\n  <%\n    var license = theme.post.copyright.license || ''\n    if (typeof page.copyright === 'string') {\n      license = page.copyright\n    } else if (typeof page.license === 'string') {\n      license = page.license\n    }\n    license = license.toUpperCase()\n  %>\n\n  <div class=\"license-box my-3\">\n    <div class=\"license-title\">\n      <div><%= page.title %></div>\n      <div><%= decode_url(full_url_for(page.path)) %></div>\n    </div>\n    <div class=\"license-meta\">\n      <% if (theme.post.copyright.author.enable && (page.author || config.author)) { %>\n        <div class=\"license-meta-item\">\n          <div><%- __('post.copyright.author') %></div>\n          <div><%- page.author || config.author %></div>\n        </div>\n      <% } %>\n      <% if (theme.post.copyright.post_date.enable && page.date) { %>\n        <div class=\"license-meta-item license-meta-date\">\n          <div><%- __('post.copyright.posted') %></div>\n          <div><%= full_date(page.date, theme.post.copyright.post_date.format || 'LL') %></div>\n        </div>\n      <% } %>\n      <% if (theme.post.copyright.update_date.enable && page.updated && compare_date(page.date, page.updated)) { %>\n        <div class=\"license-meta-item license-meta-date\">\n          <div><%- __('post.copyright.updated') %></div>\n          <div><%= full_date(page.updated, theme.post.copyright.update_date.format || 'LL') %></div>\n        </div>\n      <% } %>\n      <% if (license) { %>\n        <div class=\"license-meta-item\">\n          <div><%- __('post.copyright.licensed') %></div>\n          <div>\n            <% if (['BY', 'BY-SA', 'BY-ND', 'BY-NC', 'BY-NC-SA', 'BY-NC-ND'].indexOf(license) !== -1) { %>\n              <% var items = license.split('-') %>\n              <% for (var idx = 0; idx < items.length; idx++) { %>\n                <a class=\"print-no-link\" target=\"_blank\" href=\"https://creativecommons.org/licenses/<%= license.toLowerCase() %>/4.0/\">\n                  <span class=\"hint--top hint--rounded\" aria-label=\"<%- __('post.copyright.' + items[idx]) %>\">\n                    <i class=\"iconfont icon-cc-<%= items[idx].toLowerCase() %>\"></i>\n                  </span>\n                </a>\n              <% } %>\n            <% } else if (license === 'ZERO') {  %>\n              <a class=\"print-no-link\" target=\"_blank\" href=\"https://creativecommons.org/publicdomain/zero/1.0/\">\n                <span class=\"hint--top hint--rounded\" aria-label=\"<%- __('post.copyright.ZERO') %>\">\n                  <i class=\"iconfont icon-cc-zero\"></i>\n                </span>\n              </a>\n            <% } else { %>\n              <%- license %>\n            <% } %>\n          </div>\n        </div>\n      <% } %>\n    </div>\n    <div class=\"license-icon iconfont\"></div>\n  </div>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/post/meta-bottom.ejs",
    "content": "<div class=\"post-metas my-3\">\n  <% if (page.categories && page.categories.length > 0) { %>\n    <div class=\"post-meta mr-3 d-flex align-items-center\">\n      <i class=\"iconfont icon-category\"></i>\n      <%- partial('_partials/category-chains', { categories: page.categories }) %>\n    </div>\n  <% } %>\n  <% if (page.tags && page.tags.length > 0 ) { %>\n    <div class=\"post-meta\">\n      <i class=\"iconfont icon-tags\"></i>\n      <% page.tags.each(function(tag) { %>\n        <a href=\"<%= url_for(tag.path) %>\" class=\"print-no-link\">#<%- tag.name %></a>\n      <% }) %>\n    </div>\n  <% } %>\n</div>\n"
  },
  {
    "path": "layout/_partials/post/meta-top.ejs",
    "content": "<% if (page.meta !== false) { %>\n  <div class=\"mt-3\">\n    <% if (theme.post.meta.author && theme.post.meta.author.enable && (page.author || config.author)) { %>\n      <span class=\"post-meta mr-2\">\n        <i class=\"iconfont icon-author\" aria-hidden=\"true\"></i>\n        <%- page.author || config.author %>\n      </span>\n    <% } %>\n    <% if (theme.post.meta.date.enable) { %>\n      <span class=\"post-meta\">\n        <i class=\"iconfont icon-date-fill\" aria-hidden=\"true\"></i>\n        <time datetime=\"<%= full_date(page.date, 'YYYY-MM-DD HH:mm') %>\" pubdate>\n          <%= full_date(page.date, theme.post.meta.date.format) %>\n        </time>\n      </span>\n    <% } %>\n  </div>\n\n  <div class=\"mt-1\">\n    <% if (theme.post.meta.wordcount.enable) { %>\n      <span class=\"post-meta mr-2\">\n        <i class=\"iconfont icon-chart\"></i>\n        <% if (theme.post.meta.wordcount.format) { %>\n          <!-- compatible with older versions-->\n          <%- theme.post.meta.wordcount.format.replace('{}', wordcount(page)) %>\n        <% } else { %>\n          <%- __('post.meta.wordcount', wordcount(page)) %>\n        <% } %>\n      </span>\n    <% } %>\n\n    <% if (theme.post.meta.min2read.enable) { %>\n      <span class=\"post-meta mr-2\">\n        <i class=\"iconfont icon-clock-fill\"></i>\n        <% var awl = parseInt(theme.post.meta.min2read.awl, 10) %>\n        <% var wpm = parseInt(theme.post.meta.min2read.wpm, 10) %>\n        <% if (theme.post.meta.min2read.format) { %>\n          <!-- compatible with older versions-->\n          <%- theme.post.meta.min2read.format.replace('{}', min2read(page, { awl: awl, wpm: wpm })) %>\n        <% } else { %>\n          <%- __('post.meta.min2read', min2read(page, { awl: awl, wpm: wpm })) %>\n        <% } %>\n      </span>\n    <% } %>\n\n    <% var views_texts = (theme.post.meta.views.format || __('post.meta.views')).split('{}') %>\n    <% if (theme.post.meta.views.enable && views_texts.length >= 2) { %>\n      <% if (theme.post.meta.views.source === 'leancloud') { %>\n        <span id=\"leancloud-page-views-container\" class=\"post-meta\" style=\"display: none\">\n          <i class=\"iconfont icon-eye\" aria-hidden=\"true\"></i>\n          <%- views_texts[0] %><span id=\"leancloud-page-views\"></span><%- views_texts[1] %>\n        </span>\n        <% import_js(theme.static_prefix.internal_js, 'leancloud.js', 'defer') %>\n      <% } else if (theme.post.meta.views.source === 'openkounter')  { %>\n        <span id=\"openkounter-page-views-container\" style=\"display: none\">\n          <i class=\"iconfont icon-eye\" aria-hidden=\"true\"></i>\n          <%- views_texts[0] %><span id=\"openkounter-page-views\"></span><%- views_texts[1] %>\n        </span>\n        <% import_js(theme.static_prefix.internal_js, 'openkounter.js', 'defer') %>\n\n      <% } else if (theme.post.meta.views.source === 'busuanzi')  { %>\n        <span id=\"busuanzi_container_page_pv\" style=\"display: none\">\n          <i class=\"iconfont icon-eye\" aria-hidden=\"true\"></i>\n          <%- views_texts[0] %><span id=\"busuanzi_value_page_pv\"></span><%- views_texts[1] %>\n        </span>\n        <% import_js(theme.static_prefix.busuanzi, 'busuanzi.pure.mini.js', 'defer') %>\n\n      <% } else if (theme.post.meta.views.source === 'umami')  { %>\n        <span id=\"umami-page-views-container\" class=\"post-meta\" style=\"display: none\">\n          <i class=\"iconfont icon-eye\" aria-hidden=\"true\"></i>\n          <%- views_texts[0] %><span id=\"umami-page-views\"></span><%- views_texts[1] %>\n        </span>\n        <% import_js(theme.static_prefix.internal_js, 'umami-view.js', 'defer') %>\n      <% } %>\n    <% } %>\n  </div>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/post/sidebar-left.ejs",
    "content": "<% if(theme.post.toc.enable && theme.post.toc.placement === 'left' && page.toc !== false){ %>\n  <aside class=\"sidebar\" style=\"padding-left: 2rem; margin-right: -1rem\">\n    <%- partial('_partials/post/toc') %>\n  </aside>\n<% } else if (theme.post.category_bar.enable && theme.post.category_bar.placement !== 'right' && !page.hide &&\n  (!theme.post.category_bar.specific || (theme.post.category_bar.specific && page.category_bar))) { %>\n  <aside class=\"sidebar category-bar\" style=\"margin-right: -1rem\">\n    <%- partial('_partials/post/category-bar') %>\n  </aside>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/post/sidebar-right.ejs",
    "content": "<% if(theme.post.toc.enable && theme.post.toc.placement !== 'left' && page.toc !== false){ %>\n  <aside class=\"sidebar\" style=\"margin-left: -1rem\">\n    <%- partial('_partials/post/toc') %>\n  </aside>\n<% } else if (theme.post.category_bar.enable && theme.post.category_bar.placement === 'right' && !page.hide &&\n  (!theme.post.category_bar.specific || (theme.post.category_bar.specific && page.category_bar))) { %>\n  <aside class=\"sidebar category-bar\" style=\"margin-left: -1rem\">\n    <%- partial('_partials/post/category-bar') %>\n  </aside>\n<% } %>\n"
  },
  {
    "path": "layout/_partials/post/toc.ejs",
    "content": "<div id=\"toc\">\n  <p class=\"toc-header\">\n    <i class=\"iconfont icon-list\"></i>\n    <span><%- __('post.toc') %></span>\n  </p>\n  <div class=\"toc-body\" id=\"toc-body\"></div>\n</div>\n\n<%\nimport_script(`\n<script>\n  Fluid.utils.createScript('${url_join(theme.static_prefix.tocbot, 'tocbot.min.js')}', function() {\n    var toc = jQuery('#toc');\n    if (toc.length === 0 || !window.tocbot) { return; }\n    var boardCtn = jQuery('#board-ctn');\n    var boardTop = boardCtn.offset().top;\n\n    function isExpandAllEnabled() {\n      return CONFIG.toc && CONFIG.toc.expand_all === true;\n    }\n    function expandAllToc() {\n      if (!isExpandAllEnabled()) { return; }\n      jQuery('#toc-body .tocbot-is-collapsed').removeClass('tocbot-is-collapsed');\n    }\n    function updateTocToggle($li, $childList) {\n      var $toggle = $li.children('.toc-toggle');\n      if ($toggle.length === 0) { return; }\n      var collapsed = $childList.hasClass('tocbot-is-collapsed');\n      $toggle\n        .toggleClass('toc-toggle-collapsed', collapsed)\n        .toggleClass('toc-toggle-expanded', !collapsed);\n    }\n    function bindTocToggle() {\n      if (!isExpandAllEnabled()) { return; }\n      jQuery('#toc-body .toc-list-item').each(function() {\n        var $li = jQuery(this);\n        var $childList = $li.children('ol');\n        if ($childList.length === 0) {\n          if ($li.children('.toc-toggle').length === 0) {\n            $li.prepend('<span class=\"toc-toggle toc-toggle-placeholder\" aria-hidden=\"true\">›</span>');\n          }\n          return;\n        }\n\n        if ($li.children('.toc-toggle').length === 0) {\n          $li.prepend('<span class=\"toc-toggle toc-toggle-expanded\" aria-hidden=\"true\">›</span>');\n        }\n        updateTocToggle($li, $childList);\n      });\n      jQuery('#toc-body').off('click.tocToggle').on('click.tocToggle', '.toc-toggle', function(e) {\n        e.preventDefault();\n        e.stopPropagation();\n        var $li = jQuery(this).parent('.toc-list-item');\n        var $childList = $li.children('ol');\n        if ($childList.length === 0) { return; }\n        $childList.toggleClass('tocbot-is-collapsed');\n        updateTocToggle($li, $childList);\n      });\n      if (!window.__tocToggleObserver) {\n        window.__tocToggleObserver = new MutationObserver(function(mutations) {\n          mutations.forEach(function(mutation) {\n            if (mutation.type !== 'attributes' || mutation.attributeName !== 'class') { return; }\n            var $list = jQuery(mutation.target);\n            var $li = $list.parent('.toc-list-item');\n            if ($li.length === 0) { return; }\n            updateTocToggle($li, $list);\n          });\n        });\n        jQuery('#toc-body ol').each(function() {\n          window.__tocToggleObserver.observe(this, { attributes: true });\n        });\n      }\n    }\n    var tocConfig = Object.assign({\n      tocSelector     : '#toc-body',\n      contentSelector : '.markdown-body',\n      linkClass       : 'tocbot-link',\n      activeLinkClass : 'tocbot-active-link',\n      listClass       : 'tocbot-list',\n      isCollapsedClass: 'tocbot-is-collapsed',\n      collapsibleClass: 'tocbot-is-collapsible',\n      scrollSmooth    : true,\n      includeTitleTags: true,\n      headingsOffset  : -boardTop,\n    }, CONFIG.toc);\n    if (isExpandAllEnabled()) {\n      tocConfig.collapseDepth = 6;\n    }\n    window.tocbot.init(tocConfig);\n    if (toc.find('.toc-list-item').length > 0) {\n      toc.css('visibility', 'visible');\n    }\n    expandAllToc();\n    bindTocToggle();\n\n    Fluid.events.registerRefreshCallback(function() {\n      if ('tocbot' in window) {\n        tocbot.refresh();\n        var toc = jQuery('#toc');\n        if (toc.length === 0 || !tocbot) {\n          return;\n        }\n        if (toc.find('.toc-list-item').length > 0) {\n          toc.css('visibility', 'visible');\n        }\n        expandAllToc();\n        bindTocToggle();\n      }\n    });\n  });\n</script>\n`)\n%>\n"
  },
  {
    "path": "layout/_partials/scripts.ejs",
    "content": "<%- partial('_partials/plugins/nprogress.ejs') %>\n<%- js_ex(theme.static_prefix.jquery, 'jquery.min.js') %>\n<%- js_ex(theme.static_prefix.bootstrap, 'js/bootstrap.min.js') %>\n<%- js_ex(theme.static_prefix.internal_js, 'events.js') %>\n<%- js_ex(theme.static_prefix.internal_js, 'plugins.js') %>\n\n<%- partial('_partials/plugins/typed.ejs') %>\n\n<% if (theme.lazyload.enable){ %>\n  <% if (theme.lazyload.onlypost) { %>\n    <% if (is_post() || is_page()) { %>\n      <%- js_ex(theme.static_prefix.internal_js, 'img-lazyload.js') %>\n    <% } %>\n  <% } else { %>\n    <%- js_ex(theme.static_prefix.internal_js, 'img-lazyload.js') %>\n  <% } %>\n<% } %>\n\n<% var script_snippets = deduplicate(page.script_snippets) %>\n<% for (var idx = 0; idx < script_snippets.length; idx++) { %>\n  <%- script_snippets[idx] %>\n<% } %>\n<% page.script_snippets = [] %>\n\n<% if (theme.custom_js) { %>\n  <%- js(theme.custom_js) %>\n<% } %>\n\n<!-- 主题的启动项，将它保持在最底部 -->\n<!-- the boot of the theme, keep it at the bottom -->\n<%- js_ex(theme.static_prefix.internal_js, 'boot.js') %>\n"
  },
  {
    "path": "layout/_partials/search.ejs",
    "content": "<div class=\"modal fade\" id=\"modalSearch\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"ModalLabel\"\n     aria-hidden=\"true\">\n  <div class=\"modal-dialog modal-dialog-scrollable modal-lg\" role=\"document\">\n    <div class=\"modal-content\">\n      <div class=\"modal-header text-center\">\n        <h4 class=\"modal-title w-100 font-weight-bold\"><%= __('search.title') %></h4>\n        <button type=\"button\" id=\"local-search-close\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n          <span aria-hidden=\"true\">&times;</span>\n        </button>\n      </div>\n      <div class=\"modal-body mx-3\">\n        <div class=\"md-form mb-5\">\n          <input type=\"text\" id=\"local-search-input\" class=\"form-control validate\">\n          <label data-error=\"x\" data-success=\"v\" for=\"local-search-input\"><%= __('search.keyword') %></label>\n        </div>\n        <div class=\"list-group\" id=\"local-search-result\"></div>\n      </div>\n    </div>\n  </div>\n</div>\n"
  },
  {
    "path": "layout/about.ejs",
    "content": "<%\npage.layout = \"about\"\npage.title = theme.about.title || __('about.title')\npage.subtitle = theme.about.subtitle || __('about.subtitle')\npage.banner_img = page.banner_img || theme.about.banner_img\npage.banner_img_height = page.banner_img_height || theme.about.banner_img_height\npage.banner_mask_alpha = page.banner_mask_alpha || theme.about.banner_mask_alpha\n%>\n\n<div class=\"text-center\">\n  <div class=\"about-info\">\n    <div class=\"about-name\"><%- theme.about.name %></div>\n    <div class=\"about-intro\"><%- theme.about.introduce || theme.about.intro %></div>\n    <div class=\"about-icons\">\n      <% for(const each of theme.about.icons || []) { %>\n        <% if (!each.class) continue; %>\n        <% var cls = each.class %>\n        <% var isQr = each.qrcode %>\n        <a <%= isQr ? '' : ('href=' + url_for(each.link)) %> class=\"<%= isQr ? 'qr-trigger' : '' %>\n           <%= !isQr && each.tip ? 'hint--bottom hint--rounded' : '' %>\"\n           <% if (!isQr && each.tip) { %>aria-label=\"<%= each.tip %>\"<% } %>\n           target=\"<%= isQr ? '_self' : '_blank' %>\"\n        >\n          <i class=\"<%= cls %>\" aria-hidden=\"true\"></i>\n          <% if (isQr) { %>\n            <img class=\"qr-img\" src=\"<%= url_for(each.qrcode) %>\" alt=\"qrcode\" />\n          <% } %>\n        </a>\n      <% } %>\n    </div>\n  </div>\n</div>\n\n<article class=\"about-content page-content mt-5\">\n  <div class=\"markdown-body\">\n    <%- page.content %>\n  </div>\n\n  <% if(page.comments) { %>\n    <!-- Comments -->\n    <article id=\"comments\">\n      <% var type %>\n      <% if (typeof page.comment === 'string' && page.comment !== '') { %>\n        <% type = '_partials/comments/' + page.comment %>\n      <% } else { %>\n        <% type = '_partials/comments/' + theme.post.comments.type %>\n      <% } %>\n      <%- partial(type) %>\n    </article>\n  <% } %>\n</article>\n\n<%- partial('_partials/markdown-plugins') %>\n"
  },
  {
    "path": "layout/archive.ejs",
    "content": "<%\npage.layout = \"archive\"\npage.title = theme.archive.title || __('archive.title')\npage.subtitle = theme.archive.subtitle || __('archive.subtitle')\npage.banner_img = theme.archive.banner_img\npage.banner_img_height = theme.archive.banner_img_height\npage.banner_mask_alpha = theme.archive.banner_mask_alpha\n%>\n\n<%- partial('_partials/archive-list.ejs', { params: { key: page.layout, postTotal: site.posts.length } }) %>\n"
  },
  {
    "path": "layout/categories.ejs",
    "content": "<%\npage.layout = 'categories'\npage.title = theme.category.title || __('category.title')\npage.subtitle = theme.category.subtitle || __('category.subtitle')\npage.banner_img = theme.category.banner_img\npage.banner_img_height = theme.category.banner_img_height\npage.banner_mask_alpha = theme.category.banner_mask_alpha\nvar orderBy = theme.category.order_by || 'name'\nvar curCats = site.categories.find({ parent: { $exists: false } }).sort(orderBy).filter(cat => cat.length)\n%>\n\n<%- partial('_partials/category-list', {\n  curCats: curCats,\n  params: {\n    orderBy: orderBy,\n    postLimit  : theme.category.post_limit,\n    postOrderBy: theme.category.post_order_by || config.index_generator.order_by\n  }\n}) %>\n"
  },
  {
    "path": "layout/category.ejs",
    "content": "<%\npage.layout = \"category\"\npage.title = [__('category.title'), page.category].join(\" - \")\npage.subtitle = [__('category.subtitle'), page.category].join(\" - \")\npage.banner_img = theme.category.banner_img\npage.banner_img_height = theme.category.banner_img_height\npage.banner_mask_alpha = theme.category.banner_mask_alpha\n\nvar cat = site.categories.find({name: page.category}).filter(cat => cat.length).data[0]\n%>\n\n<%- partial('_partials/archive-list.ejs', { params: { key: page.layout, postTotal: cat ? cat.posts.length : 0 } }) %>\n"
  },
  {
    "path": "layout/index.ejs",
    "content": "<%\nif (theme.index.slogan.enable) {\n  page.subtitle = theme.index.slogan.text || config.subtitle || ''\n}\npage.banner_img = theme.index.banner_img\npage.banner_img_height = theme.index.banner_img_height\npage.banner_mask_alpha = theme.index.banner_mask_alpha\n%>\n\n<h1 style=\"display: none\"><%= config.title %></h1>\n<% page.posts.each(function (post) { %>\n  <div class=\"row mx-auto index-card\">\n    <% var post_url = url_for(post.path), index_img = post.index_img || theme.post.default_index_img %>\n    <% if (index_img) { %>\n      <div class=\"col-12 col-md-4 m-auto index-img\">\n        <a href=\"<%= post_url %>\" target=\"<%- theme.index.post_url_target %>\">\n          <img src=\"<%= url_for(index_img) %>\" alt=\"<%= post.title %>\">\n        </a>\n      </div>\n    <% } %>\n    <article class=\"col-12 col-md-<%= index_img ? '8' : '12' %> mx-auto index-info\">\n      <h2 class=\"index-header\">\n        <% if (theme.index.post_sticky && theme.index.post_sticky.enable && post.sticky > 0) { %>\n          <i class=\"index-pin <%= theme.index.post_sticky && theme.index.post_sticky.icon %>\" title=\"Pin on top\"></i>\n        <% } %>\n        <a href=\"<%= post_url %>\" target=\"<%- theme.index.post_url_target %>\">\n          <%= post.title %>\n        </a>\n      </h2>\n\n      <% var excerpt = post.description || post.excerpt || (theme.index.auto_excerpt.enable && !post.encrypt && post.content) %>\n      <a class=\"index-excerpt <%= index_img ? '' : 'index-excerpt__noimg' %>\" href=\"<%= post_url %>\" target=\"<%- theme.index.post_url_target %>\">\n        <div>\n          <%- strip_html(excerpt).substring(0, 200).trim().replace(/\\n/g, ' ') %>\n        </div>\n      </a>\n\n      <div class=\"index-btm post-metas\">\n        <% if (theme.index.post_meta.date) { %>\n          <div class=\"post-meta mr-3\">\n            <i class=\"iconfont icon-date\"></i>\n            <time datetime=\"<%= full_date(post.date, 'YYYY-MM-DD HH:mm') %>\" pubdate>\n              <%- date(post.date, config.date_format) %>\n            </time>\n          </div>\n        <% } %>\n        <% if (theme.index.post_meta.category && post.categories.length > 0) { %>\n          <div class=\"post-meta mr-3 d-flex align-items-center\">\n            <i class=\"iconfont icon-category\"></i>\n            <%- partial('_partials/category-chains', { categories: post.categories, limit: 1 }) %>\n          </div>\n        <% } %>\n        <% if (theme.index.post_meta.tag && post.tags.length > 0) { %>\n          <div class=\"post-meta\">\n            <i class=\"iconfont icon-tags\"></i>\n            <% post.tags.each(function(tag){ %>\n              <a href=\"<%= url_for(tag.path) %>\">#<%- tag.name %></a>\n            <% }) %>\n          </div>\n        <% } %>\n      </div>\n    </article>\n  </div>\n<% }) %>\n\n<%- partial('_partials/paginator') %>\n"
  },
  {
    "path": "layout/layout.ejs",
    "content": "<%\nvar banner_img_height = parseFloat(page.banner_img_height || theme.index.banner_img_height)\nvar colorSchema = theme.dark_mode && theme.dark_mode.enable && theme.dark_mode.default ? theme.dark_mode.default : ''\n%>\n\n<!DOCTYPE html>\n<html lang=\"<%= config.language %>\" <%= colorSchema ? `data-default-color-scheme=${colorSchema}` : '' %>>\n\n<%- partial('_partials/head.ejs') %>\n\n<body>\n  <%- inject_point('bodyBegin') %>\n\n  <header>\n    <%- inject_point('header') %>\n  </header>\n\n  <main>\n    <% if(is_post() || page.layout === '404') { %>\n      <%- body %>\n    <% } else { %>\n      <div class=\"container nopadding-x-md\">\n        <div id=\"board\"\n          <%- banner_img_height >= 100 && theme.banner && theme.banner.parallax ? 'style=\"margin-top: 0\"' : '' %>>\n          <% if(page.layout === 'about') { %>\n            <div class=\"about-avatar\">\n              <img src=\"<%= url_for(theme.about.avatar) %>\" class=\"img-fluid\" alt=\"avatar\">\n            </div>\n          <% } %>\n          <div class=\"container\">\n            <div class=\"row\">\n              <div class=\"col-12 col-md-10 m-auto\">\n                <%- body %>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    <% } %>\n\n    <% if (theme.scroll_top_arrow.enable) { %>\n      <a id=\"scroll-top-button\" aria-label=\"TOP\" href=\"#\" role=\"button\">\n        <i class=\"iconfont icon-arrowup\" aria-hidden=\"true\"></i>\n      </a>\n    <% } %>\n\n    <% if (theme.search.enable) { %>\n      <%- partial('_partials/search.ejs') %>\n    <% } %>\n\n    <% if (theme.custom_html) { %>\n      <div class=\"col-lg-7 mx-auto nopadding-x-md\">\n        <div class=\"container custom mx-auto\">\n          <%- theme.custom_html %>\n        </div>\n      </div>\n    <% } %>\n  </main>\n\n  <footer>\n    <%- inject_point('footer') %>\n  </footer>\n\n  <!-- Scripts -->\n  <%- partial('_partials/scripts.ejs') %>\n\n  <%- inject_point('bodyEnd') %>\n\n  <noscript>\n    <div class=\"noscript-warning\"><%- __('noscript_warning') %></div>\n  </noscript>\n</body>\n</html>\n"
  },
  {
    "path": "layout/links.ejs",
    "content": "<%\npage.layout = \"links\"\npage.title = theme.links.title || __('links.title')\npage.subtitle = theme.links.subtitle || __('links.subtitle')\npage.banner_img = theme.links.banner_img\npage.banner_img_height = theme.links.banner_img_height\npage.banner_mask_alpha = theme.links.banner_mask_alpha\npage.comment = theme.links.comments.type\n%>\n\n<div class=\"row links\">\n  <% for(const each of theme.links.items || []) { %>\n    <% if (!each.title || !each.link) continue %>\n    <div class=\"card col-lg-4 col-md-6 col-sm-12\">\n      <a href=\"<%= url_for(each.link) %>\" class=\"card-body hover-with-bg\" target=\"_blank\" rel=\"noopener\">\n        <div class=\"card-content\">\n          <% if (each.avatar || each.image) { %>\n            <div class=\"link-avatar my-auto\">\n              <img src=\"<%= url_for(each.avatar || each.image) %>\" alt=\"<%= each.title %>\"\n                   onerror=\"this.onerror=null; this.src=this.srcset='<%= url_for(theme.links.onerror_avatar) %>'\"/>\n            </div>\n          <% } %>\n          <div class=\"link-text\">\n            <div class=\"link-title\"><%- each.title %></div>\n            <div class=\"link-intro\"><%- each.intro || '' %></div>\n          </div>\n        </div>\n      </a>\n    </div>\n  <% } %>\n</div>\n\n<% if(theme.links.custom && theme.links.custom.enable && theme.links.custom.content) { %>\n  <!-- Custom -->\n  <div class=\"custom mx-auto\">\n    <%- theme.links.custom.content %>\n  </div>\n<% } %>\n\n<%- inject_point('linksComments') %>\n"
  },
  {
    "path": "layout/page.ejs",
    "content": "<%\nvar layout = page.layout\npage.title = page.title || __(`${ layout }.title`)\npage.subtitle = page.subtitle || page.title || __(`${ layout }.subtitle`)\npage.banner_img = page.banner_img || theme.page.banner_img\npage.banner_img_height = page.banner_img_height || theme.page.banner_img_height\npage.banner_mask_alpha = page.banner_mask_alpha || theme.page.banner_mask_alpha\n%>\n\n<article class=\"page-content\">\n  <%- page.content %>\n\n  <%- inject_point('pageComments') %>\n</article>\n\n<% if (/<[^>]+? class=\"[^\"]*?markdown-body[^\"]*?\"/gims.test(page.content)) { %>\n  <%- partial('_partials/markdown-plugins') %>\n<% } %>\n"
  },
  {
    "path": "layout/post.ejs",
    "content": "<%\npage.banner_img = page.banner_img || theme.post.banner_img\npage.banner_img_height = page.banner_img_height || theme.post.banner_img_height\npage.banner_mask_alpha = page.banner_mask_alpha || theme.post.banner_mask_alpha\n%>\n\n<div class=\"container-fluid nopadding-x\">\n  <div class=\"row nomargin-x\">\n    <div class=\"side-col d-none d-lg-block col-lg-2\">\n      <%- inject_point('postLeft') %>\n    </div>\n\n    <div class=\"col-lg-8 nopadding-x-md\">\n      <div class=\"container nopadding-x-md\" id=\"board-ctn\">\n        <div id=\"board\">\n          <article class=\"post-content mx-auto\">\n            <h1 id=\"seo-header\"><%= page.subtitle || page.title %></h1>\n            <% if (theme.post.updated.enable && theme.post.updated && compare_date(page.date, page.updated)) { %>\n              <p id=\"updated-time\" class=\"note note-<%= theme.post.updated.note_class || 'info' %>\" style=\"<%= theme.post.updated.relative ? 'display: none' : '' %>\">\n                <% if (theme.post.updated.relative) { %>\n                  <% if (theme.post.updated.content) { %>\n                    <!-- compatible with older versions-->\n                    <%- theme.post.updated.content %><%- date(page.updated, 'YYYY-MM-DDTHH:mm:ssZ') %>\n                  <% } else { %>\n                    <%- __('post.updated', date(page.updated, 'YYYY-MM-DDTHH:mm:ssZ')) %>\n                  <% } %>\n                  <%- partial('_partials/plugins/moment.ejs') %>\n                <% } else { %>\n                  <% if (theme.post.updated.content) { %>\n                    <!-- compatible with older versions-->\n                    <%- theme.post.updated.content %><%- date(page.updated, theme.post.updated.date_format) %>\n                  <% } else { %>\n                    <%- __('post.updated', date(page.updated, theme.post.updated.date_format)) %>\n                  <% } %>\n                <% } %>\n              </p>\n            <% } %>\n            <% if (page.encrypt === true) { %>\n              <%- inject_point('postMarkdownBegin') %>\n              <%- page.content %>\n              <%- partial('_partials/plugins/encrypt') %>\n              <%- inject_point('postMarkdownEnd') %>\n            <% } else { %>\n              <div class=\"markdown-body\">\n                <%- inject_point('postMarkdownBegin') %>\n                <%- page.content %>\n                <%- inject_point('postMarkdownEnd') %>\n              </div>\n            <% } %>\n            <hr/>\n            <div>\n              <%- inject_point('postMetaBottom') %>\n\n              <%- inject_point('postCopyright') %>\n\n              <% if (theme.post.prev_next.enable && !page.hide) { %>\n                <div class=\"post-prevnext my-3\">\n                  <article class=\"post-prev col-6\">\n                    <% const prev = prev_post(page) %>\n                    <% if (prev) { %>\n                      <a href=\"<%= url_for(prev.path) %>\" title=\"<%= prev.title %>\">\n                        <i class=\"iconfont icon-arrowleft\"></i>\n                        <span class=\"hidden-mobile\"><%= prev.title %></span>\n                        <span class=\"visible-mobile\"><%- __('post.prev_post') %></span>\n                      </a>\n                    <% } %>\n                  </article>\n                  <article class=\"post-next col-6\">\n                    <% const next = next_post(page) %>\n                    <% if (next) { %>\n                      <a href=\"<%= url_for(next.path) %>\" title=\"<%= next.title %>\">\n                        <span class=\"hidden-mobile\"><%= next.title %></span>\n                        <span class=\"visible-mobile\"><%- __('post.next_post') %></span>\n                        <i class=\"iconfont icon-arrowright\"></i>\n                      </a>\n                    <% } %>\n                  </article>\n                </div>\n              <% } %>\n            </div>\n\n            <%- inject_point('postComments') %>\n          </article>\n        </div>\n      </div>\n    </div>\n\n    <div class=\"side-col d-none d-lg-block col-lg-2\">\n      <%- inject_point('postRight') %>\n    </div>\n  </div>\n</div>\n\n<%- partial('_partials/markdown-plugins') %>\n\n<% if(theme.post.custom && theme.post.custom.enable && theme.post.custom.content && page.custom !== false) { %>\n  <!-- Custom -->\n  <div class=\"col-lg-7 mx-auto nopadding-x-md\">\n    <div class=\"container custom post-custom mx-auto\">\n      <%- page.custom || theme.post.custom.content %>\n    </div>\n  </div>\n<% } %>\n"
  },
  {
    "path": "layout/tag.ejs",
    "content": "<%\npage.layout = \"tag\"\npage.title = [__('tag.title'), page.tag].join(\" - \")\npage.subtitle = [__('tag.subtitle'), page.tag].join(\" - \")\npage.banner_img = theme.tag.banner_img\npage.banner_img_height = theme.tag.banner_img_height\npage.banner_mask_alpha = theme.tag.banner_mask_alpha\n\nvar tag = site.tags.find({name: page.tag}).filter(tag => tag.length).data[0]\n%>\n\n<%- partial('_partials/archive-list.ejs', { params: { key: page.layout, postTotal: tag ? tag.posts.length : 0 } }) %>\n"
  },
  {
    "path": "layout/tags.ejs",
    "content": "<%\npage.layout = \"tags\"\npage.title = theme.tag.title || __('tag.title')\npage.subtitle = theme.tag.subtitle || __('tag.subtitle')\npage.banner_img = theme.tag.banner_img\npage.banner_img_height = theme.tag.banner_img_height\npage.banner_mask_alpha = theme.tag.banner_mask_alpha\n\nvar min_font = theme.tag.tagcloud.min_font || 15\nvar max_font = theme.tag.tagcloud.max_font || 30\nvar unit = theme.tag.tagcloud.unit || 'px'\nvar start_color = theme.tag.tagcloud.start_color || '#BBBBEE'\nvar end_color = theme.tag.tagcloud.end_color || '#337ab7'\n%>\n\n<div class=\"text-center tagcloud\">\n  <%- tagcloud({\n    min_font: min_font,\n    max_font: max_font,\n    amount: 999,\n    unit: unit,\n    color: true,\n    start_color,\n    end_color\n  }) %>\n</div>\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"hexo-theme-fluid\",\n  \"version\": \"1.9.9\",\n  \"description\": \"An elegant Material-Design theme for Hexo.\",\n  \"main\": \"package.json\",\n  \"files\": [\n    \"languages\",\n    \"layout\",\n    \"scripts\",\n    \"source\",\n    \"_config.yml\"\n  ],\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"git+https://github.com/fluid-dev/hexo-theme-fluid.git\"\n  },\n  \"keywords\": [\n    \"hexo\",\n    \"theme\",\n    \"fluid\",\n    \"material\"\n  ],\n  \"author\": \"Fluid-dev (https://github.com/fluid-dev)\",\n  \"license\": \"GPL-V3\",\n  \"bugs\": {\n    \"url\": \"https://github.com/fluid-dev/hexo-theme-fluid/issues\"\n  },\n  \"homepage\": \"https://hexo.fluid-dev.com/docs\",\n  \"engines\": {\n    \"node\": \">=8.10.0\"\n  },\n  \"peerDependencies\": {\n    \"nunjucks\": \"^3.0.0\"\n  }\n}\n"
  },
  {
    "path": "scripts/events/index.js",
    "content": "/* global hexo */\n\n'use strict';\n\nhexo.on('generateBefore', () => {\n  require('./lib/merge-configs')(hexo);\n  require('./lib/random-banner')(hexo);\n  require('./lib/compatible-configs')(hexo);\n  require('./lib/injects')(hexo);\n  require('./lib/highlight')(hexo);\n  require('./lib/lazyload')(hexo);\n  require('./lib/footnote')(hexo);\n});\n\nhexo.on('generateAfter', () => {\n  require('./lib/hello')(hexo);\n});\n"
  },
  {
    "path": "scripts/events/lib/compatible-configs.js",
    "content": "'use strict';\n\nmodule.exports = (hexo) => {\n  const isZh = hexo.theme.i18n.languages[0].search(/zh-CN/i) !== -1;\n\n  // Breaking change at v1.8.3 2020/09/03\n  if (hexo.theme.config.highlight && !hexo.theme.config.code) {\n    if (isZh) {\n      hexo.log.warn('[Fluid] 检测到弃用的配置项: \"highlight\" 已被修改为 \"code:highlight\"，请根据新版本更新');\n    } else {\n      hexo.log.warn('[Fluid] Deprecated config detected: \"highlight\" has been modified to \"code:highlight\", please update according to the release.');\n    }\n    hexo.theme.config.code = {\n      copy_btn : hexo.theme.config.highlight.copy_btn,\n      highlight: {\n        enable     : hexo.theme.config.highlight.enable,\n        lib        : 'highlightjs',\n        highlightjs: {\n          style: hexo.theme.config.highlight.style\n        },\n        prismjs: {\n          style     : 'default',\n          preprocess: true\n        }\n      }\n    };\n  }\n\n  // Some configs that require hexo >= 5.0\n  if (parseInt(hexo.version[0], 10) < 5) {\n    if (isZh) {\n      hexo.log.warn('[Fluid] 检测到 Hexo 版本低于 5.0.0，部分功能可能会受影响');\n    } else {\n      hexo.log.warn('[Fluid] Hexo version < 5.0.0 detected, some features may not be available.');\n    }\n    if (hexo.theme.config.code.highlight.lib === 'prismjs' && hexo.theme.config.code.highlight.prismjs.preprocess) {\n      hexo.theme.config.code.highlight.prismjs.preprocess = false;\n    }\n  }\n\n  // Breaking change at v1.8.7 2020/12/02\n  if (hexo.theme.config.index.post_default_img) {\n    if (isZh) {\n      hexo.log.warn('[Fluid] 检测到弃用的配置项: \"index:post_default_img\" 已被修改为 \"post:default_index_img\"，请根据新版本更新');\n    } else {\n      hexo.log.warn('[Fluid] Deprecated config detected: \"index:post_default_img\" has been modified to \"post:default_index_img\", please update according to the release.');\n    }\n    hexo.theme.config.post.default_index_img = hexo.theme.config.index.post_default_img;\n  }\n\n  // Breaking change at v1.8.7 2020/12/10\n  if (hexo.theme.config.banner_parallax) {\n    if (isZh) {\n      hexo.log.warn('[Fluid] 检测到弃用的配置项: \"banner_parallax\" 已被修改为 \"banner:parallax\"，请根据新版本更新');\n    } else {\n      hexo.log.warn('[Fluid] Deprecated config detected: \"banner_parallax\" has been modified to \"banner:parallax\", please update according to the release.');\n    }\n    if (!hexo.theme.config.banner) {\n      hexo.theme.config.banner = {};\n    }\n    hexo.theme.config.banner.parallax = hexo.theme.config.banner_parallax;\n  }\n\n  // Breaking change at v1.8.11 2021/05/14\n  if (hexo.theme.config.valine.appid) {\n    hexo.theme.config.valine.appId = hexo.theme.config.valine.appid;\n  }\n  if (hexo.theme.config.valine.appkey) {\n    hexo.theme.config.valine.appKey = hexo.theme.config.valine.appkey;\n  }\n};\n"
  },
  {
    "path": "scripts/events/lib/footnote.js",
    "content": "'use strict';\n\nconst { stripHTML } = require('hexo-util');\n\nfunction escapeAttr(text) {\n  return text\n    .replace(/&/g, '&amp;')\n    .replace(/\"/g, '&quot;')\n    .replace(/'/g, '&#39;')\n    .replace(/</g, '&lt;')\n    .replace(/>/g, '&gt;');\n}\n\n// Register footnotes filter\nmodule.exports = (hexo) => {\n  const config = hexo.theme.config;\n  if (config.post.footnote.enable) {\n    hexo.extend.filter.register('before_post_render', (page) => {\n      if (page.footnote !== false) {\n        page.content = renderFootnotes(page.content, page.footnote);\n      }\n      return page;\n    });\n  }\n\n  /**\n   * Modified from https://github.com/kchen0x/hexo-reference\n   *\n   * Render markdown footnotes\n   * @param {String} text\n   * @param {String} header\n   * @returns {String} text\n   */\n  function renderFootnotes(text, header) {\n    const reFootnoteContent = /\\[\\^(\\d+)]: ?([\\S\\s]+?)(?=\\[\\^(?:\\d+)]|\\n\\n|$)/g;\n    const reInlineFootnote = /\\[\\^(\\d+)]\\((.+?)\\)/g;\n    const reFootnoteIndex = /\\[\\^(\\d+)]/g;\n    const reCodeBlock = /<pre>[\\s\\S]*?<\\/pre>/g;\n\n    let footnotes = [];\n    let html = '';\n    let codeBlocks = [];\n\n    // extract code block\n    text = text.replace(reCodeBlock, function(match) {\n      codeBlocks.push(match);\n      return 'CODE_BLOCK_PLACEHOLDER';\n    });\n\n    // threat all inline footnotes\n    text = text.replace(reInlineFootnote, function(match, index, content) {\n      footnotes.push({\n        index  : index,\n        content: content ? content.trim() : ''\n      });\n      // remove content of inline footnote\n      return '[^' + index + ']';\n    });\n\n    // threat all footnote contents\n    text = text.replace(reFootnoteContent, function(match, index, content) {\n      footnotes.push({\n        index  : index,\n        content: content ? content.trim() : ''\n      });\n      // remove footnote content\n      return '';\n    });\n\n    // create map for looking footnotes array\n    function createLookMap(field) {\n      let map = {};\n      for (let i = 0; i < footnotes.length; i++) {\n        const item = footnotes[i];\n        const key = item[field];\n        map[key] = item;\n      }\n      return map;\n    }\n    const indexMap = createLookMap('index');\n\n    // render (HTML) footnotes reference\n    text = text.replace(reFootnoteIndex,\n      function(match, index) {\n        if (!indexMap[index]) {\n          return match;\n        }\n        const tooltip = escapeAttr(stripHTML(indexMap[index].content));\n        return '<sup id=\"fnref:' + index + '\" class=\"footnote-ref\">'\n          + '<a href=\"#fn:' + index + '\" rel=\"footnote\">'\n          + '<span class=\"hint--top hint--rounded\" aria-label=\"'\n          + tooltip\n          + '\">[' + index + ']</span></a></sup>';\n      });\n\n    // sort footnotes by their index\n    footnotes.sort(function(a, b) {\n      return a.index - b.index;\n    });\n\n    // render footnotes (HTML)\n    footnotes.forEach(function(item) {\n      html += '<li><span id=\"fn:' + item.index + '\" class=\"footnote-text\">';\n      html += '<span>';\n      const fn = hexo.render.renderSync({ text: item.content, engine: 'markdown' });\n      html += fn.replace(/(<p>)|(<\\/p>)/g, '').replace(/<br>/g, '');\n      html += '<a href=\"#fnref:' + item.index + '\" rev=\"footnote\" class=\"footnote-backref\"> ↩</a></span></span></li>';\n    });\n\n    // add footnotes at the end of the content\n    if (footnotes.length) {\n      text += '<section class=\"footnotes\">';\n      text += header || config.post.footnote.header || '';\n      text += '<div class=\"footnote-list\">';\n      text += '<ol>' + html + '</ol>';\n      text += '</div></section>';\n    }\n\n    // restore code block\n    text = text.replace(/CODE_BLOCK_PLACEHOLDER/g, function() {\n      return codeBlocks.shift();\n    });\n\n    return text;\n  }\n};\n"
  },
  {
    "path": "scripts/events/lib/hello.js",
    "content": "'use strict';\n\nmodule.exports = (hexo) => {\n  if (hexo.theme.has_hello) {\n    return;\n  }\n\n  if (hexo.theme.i18n.languages[0].search(/zh-CN/i) !== -1) {\n    hexo.log.info(`\n------------------------------------------------\n|                                              |\n|     ________  __            _        __      |\n|    |_   __  |[  |          (_)      |  ]     |\n|      | |_ \\\\_| | | __   _   __   .--.| |      |\n|      |  _|    | |[  | | | [  |/ /'\\`\\\\' |      |\n|     _| |_     | | | \\\\_/ |, | || \\\\__/  |      |\n|    |_____|   [___]'.__.'_/[___]'.__.;__]     |\n|                                              |\n|             感谢使用 Fluid 主题              |\n|    文档: https://hexo.fluid-dev.com/docs/    |\n|                                              |\n------------------------------------------------\n`);\n  } else {\n    hexo.log.info(`\n------------------------------------------------\n|                                              |\n|     ________  __            _        __      |\n|    |_   __  |[  |          (_)      |  ]     |\n|      | |_ \\\\_| | | __   _   __   .--.| |      |\n|      |  _|    | |[  | | | [  |/ /'\\`\\\\' |      |\n|     _| |_     | | | \\\\_/ |, | || \\\\__/  |      |\n|    |_____|   [___]'.__.'_/[___]'.__.;__]     |\n|                                              |\n|       Thank you for using Fluid theme        |\n|   Docs: https://hexo.fluid-dev.com/docs/en/  |\n|                                              |\n------------------------------------------------\n`);\n  }\n\n  hexo.theme.has_hello = true;\n};\n"
  },
  {
    "path": "scripts/events/lib/highlight.js",
    "content": "'use strict';\n\nlet css;\ntry {\n  css = require('css');\n} catch (error) {\n  if (error.code === 'MODULE_NOT_FOUND') {\n    css = require('@adobe/css-tools');\n  } else {\n    throw error;\n  }\n}\n\nconst fs = require('fs');\nconst objUtil = require('../../utils/object');\nconst resolveModule = require('../../utils/resolve');\n\nmodule.exports = (hexo) => {\n\n  function resolveHighlight(name) {\n    if (!name) {\n      name = 'github-gist';\n    }\n    const cssName = name.toLowerCase().replace(/([^0-9])\\s+?([^0-9])/g, '$1-$2').replace(/\\s/g, '');\n    let file = resolveModule('highlight.js', `styles/${cssName}.css`);\n    if (cssName === 'github-gist' && !fs.existsSync(file)) {\n      file = resolveModule('highlight.js', 'styles/github.css');\n    }\n    let backgroundColor;\n    if (fs.existsSync(file)) {\n      const content = fs.readFileSync(file, 'utf8');\n      css.parse(content).stylesheet.rules\n        .filter(rule => rule.type === 'rule' && rule.selectors.some(selector => selector.endsWith('.hljs')))\n        .flatMap(rule => rule.declarations)\n        .forEach(declaration => {\n          if (declaration.property === 'background' || declaration.property === 'background-color') {\n            backgroundColor = declaration.value;\n          }\n        });\n    } else {\n      hexo.log.error(`[Fluid] highlightjs style '${name}' not found`);\n      return {};\n    }\n    if (backgroundColor === 'white' || backgroundColor === '#ffffff') {\n      backgroundColor = '#fff';\n    }\n    return { file, backgroundColor };\n  }\n\n  function resolvePrism(name) {\n    if (!name) {\n      name = 'default';\n    }\n    let cssName = name.toLowerCase().replace(/[\\s-]/g, '');\n    if (cssName === 'prism' || cssName === 'default') {\n      cssName = '';\n    } else if (cssName === 'tomorrownight') {\n      cssName = 'tomorrow';\n    }\n    let file = resolveModule('prismjs', `themes/${cssName ? 'prism-' + cssName : 'prism'}.css`);\n    if (!fs.existsSync(file)) {\n      file = resolveModule('prism-themes', `themes/${cssName}.css`);\n    }\n    if (!fs.existsSync(file)) {\n      hexo.log.error(`[Fluid] prismjs style '${name}' not found`);\n      return {};\n    }\n    return { file };\n  }\n\n  const config = hexo.theme.config;\n  if (!config.code || !config.code.highlight.enable) {\n    return;\n  }\n\n  if (config.code.highlight.lib === 'highlightjs') {\n    // Force set hexo config\n    hexo.config.prismjs = objUtil.merge({}, hexo.config.prismjs, {\n      enable: false\n    });\n    hexo.config.highlight = objUtil.merge({}, hexo.config.highlight, {\n      enable     : true,\n      hljs       : true,\n      wrap       : false,\n      auto_detect: true,\n      line_number: config.code.highlight.line_number || false\n    });\n    hexo.config.syntax_highlighter = 'highlight.js';  // hexo v7.0.0+ config\n    hexo.theme.config.code.highlight.highlightjs = objUtil.merge({}, hexo.theme.config.code.highlight.highlightjs, {\n      light: resolveHighlight(hexo.theme.config.code.highlight.highlightjs.style),\n      dark : hexo.theme.config.dark_mode.enable && resolveHighlight(hexo.theme.config.code.highlight.highlightjs.style_dark)\n    });\n\n    hexo.extend.filter.register('after_post_render', (page) => {\n      if (hexo.config.highlight.line_number) {\n        page.content = page.content.replace(/<figure[^>]+?highlight.+?<td[^>]+?code[^>]+?>.*?(<pre.+?<\\/pre>).+?<\\/figure>/gims, (str, p1) => {\n          if (/<code[^>]+?mermaid[^>]+?>/ims.test(p1)) {\n            return p1.replace(/(class=\"[^>]*?)hljs([^>]*?\")/gims, '$1$2').replace(/<br>/gims, '\\n');\n          }\n          return str;\n        });\n      } else {\n        page.content = page.content.replace(/(?<!<div class=\"code-wrapper\">)<pre.+?<\\/pre>/gims, (str) => {\n          if (/<code[^>]+?mermaid[^>]+?>/ims.test(str)) {\n            return str.replace(/(class=\".*?)hljs(.*?\")/gims, '$1$2');\n          }\n          return `<div class=\"code-wrapper\">${str}</div>`;\n        });\n      }\n\n      // 适配缩进型代码块\n      page.content = page.content.replace(/<pre><code>/gims, (str) => {\n        return '<pre><code class=\"hljs\">';\n      });\n\n      return page;\n    });\n  } else if (config.code.highlight.lib === 'prismjs') {\n    // Force set hexo config\n    hexo.config.highlight = objUtil.merge({}, hexo.config.highlight, {\n      enable: false\n    });\n    hexo.config.prismjs = objUtil.merge({}, hexo.config.prismjs, {\n      enable     : true,\n      preprocess : config.code.highlight.prismjs.preprocess || false,\n      line_number: config.code.highlight.line_number || false\n    });\n    hexo.config.syntax_highlighter = 'prismjs';  // hexo v7.0.0+ config\n    hexo.theme.config.code.highlight.prismjs = objUtil.merge({}, hexo.theme.config.code.highlight.prismjs, {\n      light: resolvePrism(hexo.theme.config.code.highlight.prismjs.style),\n      dark : hexo.theme.config.dark_mode.enable && resolvePrism(hexo.theme.config.code.highlight.prismjs.style_dark)\n    });\n\n    hexo.extend.filter.register('after_post_render', (page) => {\n      page.content = page.content.replace(/(?<!<div class=\"code-wrapper\">)<pre.+?<\\/pre>/gims, (str) => {\n        if (/<code[^>]+?mermaid[^>]+?>/ims.test(str)) {\n          if (hexo.config.highlight.line_number) {\n            str = str.replace(/<span[^>]+?line-numbers-rows[^>]+?>.+?<\\/span><\\/code>/, '</code>');\n          }\n          str = str.replace(/<pre[^>]*?>/gims, '<pre>')\n            .replace(/(class=\".*?)language-mermaid(.*?\")/gims, '$1mermaid$2')\n            .replace(/<span[^>]+?>(.+?)<\\/span>/gims, '$1');\n          return str;\n        }\n        return `<figure><div class=\"code-wrapper\">${str}</div></figure>`;\n      });\n\n      // 适配缩进型代码块\n      page.content = page.content.replace(/<pre><code>/gims, (str) => {\n        return '<pre class=\"language-none\"><code class=\"language-none\">';\n      });\n\n      return page;\n    });\n  }\n};\n"
  },
  {
    "path": "scripts/events/lib/injects.js",
    "content": "'use strict';\n\n/**\n * Modified from https://github.com/next-theme/hexo-theme-next/blob/master/scripts/events/lib/injects.js\n */\n\nconst fs = require('fs');\nconst path = require('path');\nconst defaultExtname = '.ejs';\n\n// Defining stylus types\nclass StylusInject {\n\n  constructor(base_dir) {\n    this.base_dir = base_dir;\n    this.files = [];\n  }\n\n  push(file) {\n    // Get absolute path base on hexo dir\n    this.files.push(path.resolve(this.base_dir, file));\n  }\n}\n\n// Defining view types\nclass ViewInject {\n\n  constructor(base_dir) {\n    this.base_dir = base_dir;\n    this.raws = [];\n  }\n\n  raw(name, raw, ...args) {\n    // Set default extname\n    if (path.extname(name) === '') {\n      name += defaultExtname;\n    }\n    this.raws.push({ name, raw, args });\n  }\n\n  file(name, file, ...args) {\n    // Set default extname from file's extname\n    if (path.extname(name) === '') {\n      name += path.extname(file);\n    }\n    // Get absolute path base on hexo dir\n    this.raw(name, fs.readFileSync(path.resolve(this.base_dir, file), 'utf8'), ...args);\n  }\n}\n\nconst points = {\n  views: [\n    'head',\n    'header',\n    'bodyBegin',\n    'bodyEnd',\n    'footer',\n    'postMetaTop',\n    'postMetaBottom',\n    'postMarkdownBegin',\n    'postMarkdownEnd',\n    'postLeft',\n    'postRight',\n    'postCopyright',\n    'postComments',\n    'pageComments',\n    'linksComments'\n  ],\n  styles: [\n    'variable',\n    'mixin',\n    'style'\n  ]\n};\n\n// Init injects\nfunction initInject(base_dir) {\n  const injects = {};\n  points.styles.forEach(item => {\n    injects[item] = new StylusInject(base_dir);\n  });\n  points.views.forEach(item => {\n    injects[item] = new ViewInject(base_dir);\n  });\n  return injects;\n}\n\nmodule.exports = (hexo) => {\n  // Exec theme_inject filter\n  const injects = initInject(hexo.base_dir);\n  hexo.execFilterSync('theme_inject', injects);\n  hexo.theme.config.injects = {};\n\n  // Inject stylus\n  points.styles.forEach(type => {\n    hexo.theme.config.injects[type] = injects[type].files;\n  });\n\n  // Inject views\n  points.views.forEach(type => {\n    const configs = Object.create(null);\n    hexo.theme.config.injects[type] = [];\n    // Add or override view.\n    injects[type].raws.forEach((injectObj, index) => {\n      const name = `inject/${type}/${injectObj.name}`;\n      hexo.theme.setView(name, injectObj.raw);\n      configs[name] = {\n        layout : name,\n        locals : injectObj.args[0],\n        options: injectObj.args[1],\n        order  : injectObj.args[2] || index\n      };\n    });\n    // Views sort.\n    hexo.theme.config.injects[type] = Object.values(configs)\n      .sort((x, y) => x.order - y.order);\n  });\n};\n"
  },
  {
    "path": "scripts/events/lib/lazyload.js",
    "content": "'use strict';\n\nconst urlJoin = require('../../utils/url-join');\n\nmodule.exports = (hexo) => {\n  const config = hexo.theme.config;\n  const loadingImage = urlJoin(hexo.config.root, config.lazyload.loading_img\n    || urlJoin(config.static_prefix.internal_img, 'loading.gif'));\n  if (!config.lazyload || !config.lazyload.enable || !loadingImage) {\n    return;\n  }\n  if (config.lazyload.onlypost) {\n    hexo.extend.filter.register('after_post_render', (page) => {\n      if (page.layout !== 'post' && !page.lazyload) {\n        return;\n      }\n      if (page.lazyload !== false) {\n        page.content = lazyImages(page.content, loadingImage);\n        page.content = lazyComments(page.content);\n      }\n      return page;\n    });\n  } else {\n    hexo.extend.filter.register('after_render:html', (html, data) => {\n      if (!data.page || data.page.lazyload !== false) {\n        html = lazyImages(html, loadingImage);\n        html = lazyComments(html);\n        return html;\n      }\n    });\n  }\n};\n\nconst lazyImages = (htmlContent, loadingImage) => {\n  return htmlContent.replace(/<img[^>]+?src=(\".*?\")[^>]*?>/gims, (str, p1) => {\n    if (/lazyload/i.test(str)) {\n      return str;\n    }\n    return str.replace(p1, `${p1} srcset=\"${loadingImage}\" lazyload`);\n  });\n};\n\nconst lazyComments = (htmlContent) => {\n  return htmlContent.replace(/<[^>]+?id=\"comments\"[^>]*?>/gims, (str) => {\n    if (/lazyload/i.test(str)) {\n      return str;\n    }\n    return str.replace('id=\"comments\"', 'id=\"comments\" lazyload');\n  });\n};\n"
  },
  {
    "path": "scripts/events/lib/merge-configs.js",
    "content": "'use strict';\n\nconst fs = require('fs');\nconst path = require('path');\nconst objUtil = require('../../utils/object');\nconst { isNotEmptyObject } = require('../../utils/object');\n\nmodule.exports = (hexo) => {\n  const isZh = hexo.theme.i18n.languages[0].search(/zh-CN/i) !== -1;\n\n  let dataConfig = {};\n  let dataStaticConfig = {};\n\n  if (hexo.locals.get instanceof Function) {\n    const data = hexo.locals.get('data');\n    if (data && isNotEmptyObject(data.fluid_config)) {\n      dataConfig = data.fluid_config;\n    } else if (!configFromRoot(hexo)) {\n      if (isZh) {\n        hexo.log.warn('[Fluid] 推荐你使用覆盖配置功能: https://hexo.fluid-dev.com/docs/guide/#%E8%A6%86%E7%9B%96%E9%85%8D%E7%BD%AE');\n      } else {\n        hexo.log.warn('[Fluid] It is recommended that you use override configuration: https://hexo.fluid-dev.com/docs/en/guide/#override-configuration');\n      }\n    }\n    if (data && isNotEmptyObject(data.fluid_static_prefix)) {\n      dataStaticConfig = data.fluid_static_prefix;\n    }\n\n    const { language } = hexo.config;\n    const { i18n } = hexo.theme;\n    const langConfigMap = {};\n    for (const key in data) {\n      if (Object.prototype.hasOwnProperty.call(data, key)) {\n        if (/^languages\\/.+$/.test(key)) {\n          langConfigMap[key.replace('languages/', '')] = data[key];\n        }\n      }\n    }\n    if (isNotEmptyObject(langConfigMap)) {\n      const mergeLang = (lang) => {\n        if (langConfigMap[lang]) {\n          i18n.set(lang, objUtil.merge({}, i18n.get([lang]), langConfigMap[lang]));\n        }\n      };\n      if (Array.isArray(language)) {\n        for (const lang of language) {\n          mergeLang(lang);\n        }\n      } else {\n        mergeLang(language);\n      }\n      if (isZh) {\n        hexo.log.debug('[Fluid] 读取 source/_data/languages/*.yml 文件覆盖语言配置');\n      } else {\n        hexo.log.debug('[Fluid] Merge language config from source/_data/languages/*.yml');\n      }\n    }\n  }\n\n  if (isNotEmptyObject(hexo.config.theme_config)) {\n    hexo.theme.config = objUtil.merge({}, hexo.theme.config, hexo.config.theme_config);\n    if (isZh) {\n      hexo.log.debug('[Fluid] 读取 _config.yml 中 theme_config 配置项覆盖主题配置');\n    } else {\n      hexo.log.debug('[Fluid] Merge theme config from theme_config in _config.yml');\n    }\n  }\n\n  if (isNotEmptyObject(dataStaticConfig)) {\n    hexo.theme.config.static_prefix = objUtil.merge({}, hexo.theme.config.static_prefix, dataStaticConfig);\n    if (isZh) {\n      hexo.log.debug('[Fluid] 读取 source/_data/fluid_static_prefix.yml 文件覆盖主题配置');\n    } else {\n      hexo.log.debug('[Fluid] Merge theme config from source/_data/fluid_static_prefix.yml');\n    }\n  }\n\n  if (isNotEmptyObject(dataConfig)) {\n    hexo.theme.config = objUtil.merge({}, hexo.theme.config, dataConfig);\n    if (isZh) {\n      hexo.log.debug('[Fluid] 读取 source/_data/fluid_config.yml 文件覆盖主题配置');\n    } else {\n      hexo.log.debug('[Fluid] Merge theme config from source/_data/fluid_config.yml');\n    }\n  }\n\n  hexo.log.debug('[Fluid] Output theme config:\\n', JSON.stringify(hexo.theme.config, undefined, 2));\n};\n\nconst configFromRoot = (hexo) => {\n  const configPath = path.join(hexo.base_dir, '_config.fluid.yml');\n  return fs.existsSync(configPath);\n};\n"
  },
  {
    "path": "scripts/events/lib/random-banner.js",
    "content": "'use strict';\n\nconst fs = require('fs');\nconst path = require('path');\n\nconst IMAGE_EXTS = new Set([\n  '.png',\n  '.jpg',\n  '.jpeg',\n  '.gif',\n  '.webp',\n  '.avif'\n]);\n\nmodule.exports = (hexo) => {\n  const themeConfig = hexo.theme && hexo.theme.config;\n  if (!themeConfig || !themeConfig.post) {\n    return;\n  }\n\n  const randomEnabled = themeConfig.banner && typeof themeConfig.banner.random_img === 'boolean'\n    ? themeConfig.banner.random_img\n    : false;\n  if (!randomEnabled) {\n    return;\n  }\n\n  const randomDir = path.join(hexo.theme_dir, 'source', 'img', 'random');\n  if (!fs.existsSync(randomDir)) {\n    hexo.log.warn(`[Fluid] Random banner directory not found: ${randomDir}`);\n    return;\n  }\n\n  const files = fs.readdirSync(randomDir)\n    .filter((file) => IMAGE_EXTS.has(path.extname(file).toLowerCase()));\n\n  if (files.length === 0) {\n    hexo.log.warn('[Fluid] Random banner directory is empty.');\n    return;\n  }\n\n  themeConfig.banner_img_list = files.map((file) => `/img/random/${file}`);\n  hexo.log.debug(`[Fluid] Random banner images loaded: ${themeConfig.banner_img_list.length}`);\n};\n\n"
  },
  {
    "path": "scripts/filters/default-injects.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst path = require('path');\n\nhexo.extend.filter.register('theme_inject', function(injects) {\n  injects.header.file('default', path.join(hexo.theme_dir, 'layout/_partials/header.ejs'));\n  injects.footer.file('default', path.join(hexo.theme_dir, 'layout/_partials/footer.ejs'));\n\n  injects.postLeft.file('default', path.join(hexo.theme_dir, 'layout/_partials/post/sidebar-left.ejs'));\n  injects.postRight.file('default', path.join(hexo.theme_dir, 'layout/_partials/post/sidebar-right.ejs'));\n  injects.postMetaTop.file('default', path.join(hexo.theme_dir, 'layout/_partials/post/meta-top.ejs'));\n  injects.postMetaBottom.file('default', path.join(hexo.theme_dir, 'layout/_partials/post/meta-bottom.ejs'));\n  if (hexo.theme.config.post.copyright.enable) {\n    injects.postCopyright.file('default', path.join(hexo.theme_dir, 'layout/_partials/post/copyright.ejs'));\n  }\n  if (hexo.theme.config.post.comments.enable) {\n    injects.postComments.file('default', path.join(hexo.theme_dir, 'layout/_partials/comments.ejs'));\n  }\n\n  injects.pageComments.file('default', path.join(hexo.theme_dir, 'layout/_partials/comments.ejs'));\n\n  if (hexo.theme.config.links.comments.enable) {\n    injects.linksComments.file('default', path.join(hexo.theme_dir, 'layout/_partials/comments.ejs'));\n  }\n}, -99);\n"
  },
  {
    "path": "scripts/filters/locals.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst path = require('path');\n\nhexo.extend.filter.register('template_locals', locals => {\n  const { env, config } = hexo;\n  const { __ } = locals;\n  const { i18n } = hexo.theme;\n  locals.hexo_version = env.version;\n  locals.fluid_version = require(path.normalize(path.join(hexo.theme_dir, 'package.json'))).version;\n  locals.title = __('title') !== 'title' ? __('title') : config.title;\n  locals.subtitle = __('subtitle') !== 'subtitle' ? __('subtitle') : config.subtitle;\n  locals.author = __('author') !== 'author' ? __('author') : config.author;\n  locals.description = __('description') !== 'description' ? __('description') : config.description;\n  locals.languages = [...i18n.languages];\n  locals.languages.splice(locals.languages.indexOf('default'), 1);\n  locals.page.lang = locals.page.lang || locals.page.language;\n});\n"
  },
  {
    "path": "scripts/filters/post-filter.js",
    "content": "/* global hexo */\n\n'use strict';\n\n// 生成前过滤文章\nhexo.extend.filter.register('before_generate', function() {\n  this._bindLocals();\n\n  const allPages = this.locals.get('pages');\n  allPages.data.map((page) => {\n    if (page.comment !== true) {\n      page.comments = typeof page.comment === 'string' && page.comment !== '';\n    } else {\n      page.comments = true;\n    }\n    return page;\n  });\n  this.locals.set('pages', allPages);\n\n  const allPosts = this.locals.get('posts');\n  allPosts.data.map((post) => {\n    if (post.comment === false) {\n      post.comments = false;\n    }\n    return post;\n  });\n  const hidePosts = allPosts.filter(post => post.hide);\n  const normalPosts = allPosts.filter(post => !post.hide);\n  const indexPost = allPosts.filter(post => !post.hide && !post.archive);\n\n  this.locals.set('all_posts', allPosts);\n  this.locals.set('hide_posts', hidePosts);\n  this.locals.set('posts', normalPosts);\n  this.locals.set('index_posts', indexPost);\n});\n\nconst original_post_generator = hexo.extend.generator.get('post');\n\nhexo.extend.generator.register('post', function(locals) {\n  // 发送时需要把过滤的页面也加入\n  return original_post_generator.bind(this)({\n    posts: new locals.posts.constructor(\n      locals.posts.data.concat(locals.hide_posts.data)\n    )\n  });\n});\n\n// 渲染文章后的过滤\nhexo.extend.filter.register('after_post_render', (page) => {\n  // 移除 hexo-renderer-pandoc 生成的 <colgroup>\n  page.content = page.content.replace(/<colgroup>.+?<\\/colgroup>/gims, '');\n  // 移除 hexo-renderer-pandoc 生成的 <span class=\"footnote-text\">...<br>...</span>\n  page.content = page.content.replace(/(class=\"footnote-text\".+?)<br.+?>(.+?rev=\"footnote\")/gims, '$1$2');\n\n  // 为文章中 <h1> 添加默认 id 属性，方便锚点链接\n  if (page.content) {\n    const uniqueIdStore = {};\n    page.content = page.content.replace(/<h1>(.*?)<\\/h1>/g, function(match, p1) {\n      const cleanId = p1.trim().toLowerCase()\n        .replace(/\\s+/g, '-')\n        .replace(/[?#&]/g, '');\n\n      let uniqueId = cleanId;\n      if (cleanId === '') {\n        uniqueId = 'default';\n      }\n      if (uniqueIdStore[cleanId]) {\n        uniqueId = `${cleanId}-${uniqueIdStore[cleanId]}`;\n        uniqueIdStore[cleanId] += 1;\n      } else {\n        uniqueIdStore[cleanId] = 1;\n      }\n      return `<h1 id=\"${uniqueId}\">${p1}</h1>`;\n    });\n  }\n\n  return page;\n});\n"
  },
  {
    "path": "scripts/generators/index-generator.js",
    "content": "'use strict';\n\nconst pagination = require('hexo-pagination');\n\nmodule.exports = function(locals) {\n  const config = this.config;\n  const posts = locals.index_posts.sort(config.index_generator.order_by);\n\n  posts.data.sort((a, b) => (b.sticky || 0) - (a.sticky || 0));\n\n  const paginationDir = config.pagination_dir || 'page';\n  const path = config.index_generator.path || '';\n\n  return pagination(path, posts, {\n    perPage: config.index_generator.per_page,\n    layout: 'index',\n    format: paginationDir + '/%d/',\n    data: {\n      __index: true\n    }\n  });\n};\n"
  },
  {
    "path": "scripts/generators/local-search.js",
    "content": "/* global hexo */\n\n'use strict';\n\nhexo.extend.generator.register('_hexo_generator_search', function(locals) {\n  const config = this.theme.config;\n  if (!config.search.enable) {\n    return;\n  }\n\n  const nunjucks = require('nunjucks');\n  const env = new nunjucks.Environment();\n  const pathFn = require('path');\n  const fs = require('fs');\n\n  env.addFilter('uriencode', function(str) {\n    return encodeURI(str);\n  });\n\n  env.addFilter('noControlChars', function(str) {\n    // eslint-disable-next-line no-control-regex\n    return str && str.replace(/[\\x00-\\x1F\\x7F]/g, '');\n  });\n\n  env.addFilter('urlJoin', function(str) {\n    const base = str[0];\n    const relative = str[1];\n    return relative\n      ? base.replace(/\\/+$/, '') + '/' + relative.replace(/^\\/+/, '')\n      : base;\n  });\n\n  const searchTmplSrc = pathFn.join(hexo.theme_dir, './source/xml/local-search.xml');\n  const searchTmpl = nunjucks.compile(fs.readFileSync(searchTmplSrc, 'utf8'), env);\n\n  const searchConfig = config.search;\n  let searchField = searchConfig.field;\n  const content = searchConfig.content && true;\n\n  let posts, pages;\n\n  if (searchField.trim() !== '') {\n    searchField = searchField.trim();\n    if (searchField === 'post') {\n      posts = locals.posts.sort('-date');\n    } else if (searchField === 'page') {\n      pages = locals.pages;\n    } else {\n      posts = locals.posts.sort('-date');\n      pages = locals.pages;\n    }\n  } else {\n    posts = locals.posts.sort('-date');\n  }\n\n  const xml = searchTmpl.render({\n    config : config,\n    posts  : posts,\n    pages  : pages,\n    content: content,\n    url    : hexo.config.root\n  });\n\n  return {\n    path: searchConfig.generate_path || '/local-search.xml',\n    data: xml\n  };\n});\n"
  },
  {
    "path": "scripts/generators/pages.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst fs = require('fs');\nconst path = require('path');\n\n// generate 404 page\nif (!fs.existsSync(path.join(hexo.source_dir, '404.html'))) {\n  hexo.extend.generator.register('_404', function(locals) {\n    if (this.theme.config.page404.enable !== false) {\n      return {\n        path  : '404.html',\n        data  : locals.theme,\n        layout: '404'\n      };\n    }\n  });\n}\n\n// generate tags Page\nhexo.extend.generator.register('_tags', function(locals) {\n  if (this.theme.config.tag.enable !== false) {\n    return {\n      path  : 'tags/index.html',\n      data  : locals.theme,\n      layout: 'tags'\n    };\n  }\n});\n\n// generate categories Page\nhexo.extend.generator.register('_categories', function(locals) {\n  if (this.theme.config.category.enable !== false) {\n    return {\n      path  : 'categories/index.html',\n      data  : locals.theme,\n      layout: 'categories'\n    };\n  }\n});\n\n// generate links page\nhexo.extend.generator.register('_links', function(locals) {\n  if (this.theme.config.links.enable !== false) {\n    return {\n      path  : 'links/index.html',\n      data  : locals.theme,\n      layout: 'links'\n    };\n  }\n});\n\n// generate index page\nhexo.extend.generator.register('index', require('./index-generator'));\n"
  },
  {
    "path": "scripts/helpers/date.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst moment = require('moment');\nconst { isMoment } = moment;\n\nhexo.extend.helper.register('compare_date', function(date1, date2) {\n  if (!date1) {\n    return -1;\n  }\n  if (!date2) {\n    return 1;\n  }\n  const m1 = isMoment(date1) ? date1 : moment(date1);\n  const m2 = isMoment(date2) ? date2 : moment(date2);\n  const diff = m1.diff(m2);\n  if (diff < 0) {\n    return -1;\n  } else if (diff > 0) {\n    return 1;\n  } else {\n    return 0;\n  }\n});\n"
  },
  {
    "path": "scripts/helpers/engine.js",
    "content": "/* global hexo */\n\n'use strict';\n\nhexo.extend.helper.register('inject_point', function(point) {\n  return this.theme.injects[point]\n    .map(item => this.partial(item.layout, item.locals, item.options))\n    .join('');\n});\n"
  },
  {
    "path": "scripts/helpers/export-config.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst url = require('url');\nconst urlJoin = require('../utils/url-join');\n\n/**\n * Export theme config to js\n */\nhexo.extend.helper.register('export_config', function () {\n  let { config, theme, fluid_version } = this;\n  const exportConfig = {\n    hostname: url.parse(config.url).hostname || config.url,\n    root: config.root,\n    version: fluid_version,\n    typing: theme.fun_features.typing,\n    anchorjs: theme.fun_features.anchorjs,\n    progressbar: theme.fun_features.progressbar,\n    code_language: theme.code.language,\n    copy_btn: theme.code.copy_btn,\n    image_caption: theme.post.image_caption,\n    image_zoom: theme.post.image_zoom,\n    toc: theme.post.toc,\n    lazyload: theme.lazyload,\n    web_analytics: theme.web_analytics,\n    search_path: urlJoin(config.root, theme.search.path),\n    include_content_in_search: theme.search.content,\n  };\n  return `<script id=\"fluid-configs\">\n    var Fluid = window.Fluid || {};\n    Fluid.ctx = Object.assign({}, Fluid.ctx)\n    var CONFIG = ${JSON.stringify(exportConfig)};\n\n    if (CONFIG.web_analytics.follow_dnt) {\n      var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;\n      Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));\n    }\n  </script>`;\n});\n"
  },
  {
    "path": "scripts/helpers/import.js",
    "content": "/* global hexo */\n\n'use strict';\n\nhexo.extend.helper.register('import_js', function(base, relative, ex = '') {\n  if (!Array.isArray(this.page.script_snippets)) {\n    this.page.script_snippets = [];\n  }\n  this.page.script_snippets.push(this.js_ex(base, relative, ex));\n});\n\nhexo.extend.helper.register('import_script', function(snippet) {\n  if (!Array.isArray(this.page.script_snippets)) {\n    this.page.script_snippets = [];\n  }\n  this.page.script_snippets.push(snippet);\n});\n\nhexo.extend.helper.register('import_css', function(base, relative, ex = '') {\n  if (!Array.isArray(this.page.css_snippets)) {\n    this.page.css_snippets = [];\n  }\n  this.page.css_snippets.push(this.css_ex(base, relative, ex));\n});\n"
  },
  {
    "path": "scripts/helpers/injects.js",
    "content": "/* global hexo */\n\n'use strict';\n\nhexo.extend.helper.register('point_injected', function(type) {\n  return hexo.theme.config.injects[type] && hexo.theme.config.injects[type].length > 0;\n});\n"
  },
  {
    "path": "scripts/helpers/page.js",
    "content": "/* global hexo */\n\n'use strict';\n\nhexo.extend.helper.register('prev_post', function prev_post(post) {\n  const prev = post.prev;\n  if (!prev) {\n    return null;\n  }\n  if (prev.hide) {\n    return prev_post(prev);\n  }\n  return prev;\n});\n\nhexo.extend.helper.register('next_post', function next_post(post) {\n  const next = post.next;\n  if (!next) {\n    return null;\n  }\n  if (next.hide) {\n    return next_post(next);\n  }\n  return next;\n});\n"
  },
  {
    "path": "scripts/helpers/scope.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst pageInScope = (page, scope) => {\n  switch (scope) {\n    case 'home':\n      return Boolean(page.__index);\n    case 'post':\n    case 'posts':\n      return Boolean(page.__post);\n    case 'archives':\n    case 'archive':\n      return Boolean(page.archive);\n    case 'categories':\n    case 'category':\n      return page.layout === 'categories' || page.layout === 'category';\n    case 'tags':\n    case 'tag':\n      return page.layout === 'tags' || page.layout === 'tag';\n    case 'about':\n      return page.layout === 'about';\n    case 'links':\n    case 'link':\n      return page.layout === 'links';\n    case '404':\n      return page.layout === '404';\n    case 'page':\n    case 'custom':\n      return Boolean(page.__page);\n  }\n};\n\nhexo.extend.helper.register('in_scope', function(scope) {\n  if (!scope || scope.length === 0) {\n    return true;\n  }\n\n  if (Array.isArray(scope)) {\n    for (const each of scope) {\n      if (pageInScope(this.page, each)) {\n        return true;\n      }\n    }\n  } else {\n    return pageInScope(this.page, scope);\n  }\n\n  return false;\n});\n"
  },
  {
    "path": "scripts/helpers/url.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst urlJoin = require('../utils/url-join');\n\nhexo.extend.helper.register('css_ex', function(base, relative, ex = '') {\n  return `<link ${ex} rel=\"stylesheet\" href=\"${this.url_for(urlJoin(base, relative))}\" />`;\n});\n\nhexo.extend.helper.register('js_ex', function(base, relative, ex = '') {\n  return `<script ${ex} src=\"${this.url_for(urlJoin(base, relative))}\" ></script>`;\n});\n\nhexo.extend.helper.register('url_join', function(base, relative) {\n  return this.url_for(urlJoin(base, relative));\n});\n"
  },
  {
    "path": "scripts/helpers/utils.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst md5 = require('../utils/crypto');\nconst { decodeURL } = require('hexo-util');\nconst compareVersions = require('../../scripts/utils/compare-versions');\n\nhexo.extend.helper.register('md5', function(string) {\n  return md5(string);\n});\n\nhexo.extend.helper.register('require_version', function(current, require) {\n  const verRe = current.match(/[@/](\\d{1,2})\\.?(\\d{0,2})\\.?(\\d{0,2})/);\n  if (verRe && verRe.length >= 4) {\n    const ver = `${verRe[1]}.${verRe[2] || 'x'}.${verRe[3] || 'x'}`;\n    return compareVersions(ver, require) >= 0;\n  }\n  return false;\n});\n\nhexo.extend.helper.register('deduplicate', function(arr) {\n  if (!Array.isArray(arr)) {\n    return [];\n  }\n  return [...new Set(arr)];\n});\n\nhexo.extend.helper.register('decode_url', decodeURL);\n"
  },
  {
    "path": "scripts/helpers/wordcount.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst { stripHTML } = require('hexo-util');\n\nconst getWordCount = (post) => {\n  if (!post.wordcount) {\n    // post.origin is the original post content of hexo-blog-encrypt\n    const content = stripHTML(post.origin || post.content).replace(/[\\s\\r\\n]/g, '');\n    post.wordcount = content.length;\n  }\n  return post.wordcount;\n};\n\nconst symbolsCount = (count) => {\n  if (count > 9999) {\n    count = Math.round(count / 1000) + 'k'; // > 9999 => 11k\n  } else if (count > 999) {\n    count = (Math.round(count / 100) / 10) + 'k'; // > 999 => 1.1k\n  } // < 999 => 111\n  return count;\n};\n\nhexo.extend.helper.register('min2read', (post, { awl, wpm }) => {\n  return Math.floor(getWordCount(post) / ((awl || 2) * (wpm || 60))) + 1;\n});\n\nhexo.extend.helper.register('wordcount', (post) => {\n  return symbolsCount(getWordCount(post));\n});\n\nhexo.extend.helper.register('wordtotal', (site) => {\n  let count = 0;\n  site.posts.forEach(post => {\n    count += getWordCount(post);\n  });\n  return symbolsCount(count);\n});\n"
  },
  {
    "path": "scripts/tags/button.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst button = (args) => {\n  args = args.join(' ').split(',');\n  const url = (args[0] || '').trim();\n  const text = (args[1] || '').trim();\n  const title = (args[2] || '').trim();\n\n  !url && hexo.log.warn('[Fluid] Button url must be defined!');\n\n  return `<a class=\"btn\" href=\"${url}\" ${title.length > 0 ? ` title=\"${title}\"` : ''} target=\"_blank\">${text}</a>`;\n};\n\n// {% btn url, text, title %}\nhexo.extend.tag.register('button', button, { ends: false });\nhexo.extend.tag.register('btn', button, { ends: false });\n"
  },
  {
    "path": "scripts/tags/checkbox.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst checkbox = (args) => {\n  args = args[0] === ',' ? args.slice(1) : args;\n  args = args.join(' ').split(',');\n  const text = (args[0] || '').trim();\n\n  !text && hexo.log.warn('[Fluid] Checkbox text must be defined!');\n\n  if (text === 'checked' || text === 'true' || text === 'false') {\n    const checked = text === 'checked' || text === 'true';\n    return `<input type=\"checkbox\" disabled ${checked ? 'checked=\"checked\"' : ''}>`;\n  }\n\n  const checked = (args[1] || '').length > 0 && args[1].trim() !== 'false';\n  const inline = (args[2] || '').length > 0 && args[2].trim() !== 'false';\n  const disabled = (args[3] || '').length > 0 && args[3].trim() !== 'false';\n  const content = hexo.render.renderSync({ text: text, engine: 'markdown' }).replace(/(<p>)|(<\\/p>)/g, '').replace(/<br>/g, '');\n\n  return `${!inline ? '<div>' : ''}\n            <input type=\"checkbox\" ${disabled ? 'disabled' : ''} ${checked ? 'checked=\"checked\"' : ''}>${content}\n          ${!inline ? '</div>' : ''}`;\n\n};\n\n// {% cb text, checked?, inline?, disabled? %}\nhexo.extend.tag.register('checkbox', checkbox, { ends: false });\nhexo.extend.tag.register('cb', checkbox, { ends: false });\n"
  },
  {
    "path": "scripts/tags/fold.js",
    "content": "const md5 = require('../utils/crypto');\n\nhexo.extend.tag.register('fold', (args, content) => {\n  args = args.join(' ').split('@');\n  const classes = args[0] || 'default';\n  const text = args[1] || '';\n  const id = 'collapse-' + md5(content).slice(0, 8);\n\n  return `\n    <div class=\"fold\">\n      <div class=\"fold-title fold-${classes.trim()} collapsed\" data-toggle=\"collapse\" href=\"#${id}\" role=\"button\" aria-expanded=\"false\" aria-controls=\"${id}\">\n        <div class=\"fold-arrow\">▶</div>${text}\n      </div>\n      <div class=\"fold-collapse collapse\" id=\"${id}\">\n        <div class=\"fold-content\">\n          ${hexo.render.renderSync({ text: content, engine: 'markdown' }).split('\\n').join(' ')}\n        </div>\n      </div>\n    </div>`;\n}, {\n  ends: true\n});\n"
  },
  {
    "path": "scripts/tags/group-image.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst DEFAULT_LAYOUTS = {\n  2 : [1, 1],\n  3 : [2, 1],\n  4 : [2, 2],\n  5 : [3, 2],\n  6 : [3, 3],\n  7 : [3, 2, 2],\n  8 : [3, 2, 3],\n  9 : [3, 3, 3],\n  10: [3, 2, 2, 3]\n};\n\nconst groupBy = (total, layout) => {\n  const r = [];\n  for (let count of total) {\n    r.push(layout.slice(0, count));\n    layout = layout.slice(count);\n  }\n  return r;\n};\n\nconst templates = {\n\n  dispatch: (images, total, layout) => {\n    const valid = layout && (layout.reduce((prev, current) => prev + current) === total);\n    const _layout = valid ? layout : DEFAULT_LAYOUTS[total];\n    return _layout ? templates.getHTML(groupBy(_layout, images)) : templates.defaults(images);\n  },\n\n  defaults: (images) => {\n    const ROW_SIZE = 3;\n    const rows = images.length / ROW_SIZE;\n    const imageArr = [];\n\n    for (let i = 0; i < rows; i++) {\n      imageArr.push(images.slice(i * ROW_SIZE, (i + 1) * ROW_SIZE));\n    }\n\n    return templates.getHTML(imageArr);\n  },\n\n  getHTML: (rows) => {\n    return rows.map(row => {\n      return `<div class=\"group-image-row\">${templates.getColumnHTML(row)}</div>`;\n    }).join('');\n  },\n\n  getColumnHTML: (images) => {\n    return images.map(image => {\n      return `<div class=\"group-image-wrap\">${image}</div>`;\n    }).join('');\n  }\n};\n\nconst groupImage = (args, content) => {\n  const total = parseInt(args[0], 10);\n  const layout = args[1] && args[1].split('-').map((v) => parseInt(v, 10));\n\n  content = hexo.render.renderSync({ text: content, engine: 'markdown' });\n\n  const images = content.match(/<img[\\s\\S]*?>/g);\n\n  return `<div class=\"group-image-container\">${templates.dispatch(images, total, layout)}</div>`;\n};\n\n/*\n  {% groupimage total n1-n2-n3-... %}\n  ![](url)\n  ![](url)\n  ![](url)\n  {% endgroupimage %}\n */\nhexo.extend.tag.register('groupimage', groupImage, { ends: true });\nhexo.extend.tag.register('gi', groupImage, { ends: true });\n"
  },
  {
    "path": "scripts/tags/label.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst label = (args) => {\n  args = args.join(' ').split('@');\n  const classes = args[0] || 'default';\n  const text = args[1] || '';\n\n  !text && hexo.log.warn('[Fluid] Label text must be defined!');\n\n  return `<span class=\"label label-${classes.trim()}\">${text}</span>`;\n};\n\n// {% label class @text %}\nhexo.extend.tag.register('label', label, { ends: false });\n"
  },
  {
    "path": "scripts/tags/mermaid.js",
    "content": "/* global hexo */\n\n'use strict';\n\nfunction mermaid(args, content) {\n  return `\n<pre>\n<code class=\"mermaid\" ${args.join(' ')}>\n${content}\n</code>\n</pre>`;\n}\n\n/*\n  {% mermaid %}\n  text\n  {% endmermaid %}\n */\nhexo.extend.tag.register('mermaid', mermaid, { ends: true });\n"
  },
  {
    "path": "scripts/tags/note.js",
    "content": "/* global hexo */\n\n'use strict';\n\nconst note = (args, content) => {\n  if (!args || !args[0] || args[0].toLowerCase() === \"default\") {\n    args = [ hexo.theme.config.post.updated.note_class || \"info\"];\n  }\n  return `<div class=\"note note-${args.join(' ')}\">\n            ${hexo.render.renderSync({ text: content, engine: 'markdown' }).split('\\n').join(' ')}\n          </div>`;\n};\n\n/*\n  {% note class %}\n  text\n  {% endnote %}\n */\nhexo.extend.tag.register('note', note, { ends: true });\n"
  },
  {
    "path": "scripts/utils/compare-versions.js",
    "content": "'use strict';\n// Ref: https://github.com/omichelsen/compare-versions\n\n/* global define */\n(function (root, factory) {\n  /* istanbul ignore next */\n  if (typeof define === 'function' && define.amd) {\n    define([], factory);\n  } else if (typeof exports === 'object') {\n    module.exports = factory();\n  } else {\n    root.compareVersions = factory();\n  }\n}(this, function () {\n\n  var semver = /^v?(?:\\d+)(\\.(?:[x*]|\\d+)(\\.(?:[x*]|\\d+)(\\.(?:[x*]|\\d+))?(?:-[\\da-z\\-]+(?:\\.[\\da-z\\-]+)*)?(?:\\+[\\da-z\\-]+(?:\\.[\\da-z\\-]+)*)?)?)?$/i;\n\n  function indexOrEnd(str, q) {\n    return str.indexOf(q) === -1 ? str.length : str.indexOf(q);\n  }\n\n  function split(v) {\n    var c = v.replace(/^v/, '').replace(/\\+.*$/, '');\n    var patchIndex = indexOrEnd(c, '-');\n    var arr = c.substring(0, patchIndex).split('.');\n    arr.push(c.substring(patchIndex + 1));\n    return arr;\n  }\n\n  function tryParse(v) {\n    return isNaN(Number(v)) ? v : Number(v);\n  }\n\n  function validate(version) {\n    if (typeof version !== 'string') {\n      throw new TypeError('Invalid argument expected string');\n    }\n    if (!semver.test(version)) {\n      throw new Error('Invalid argument not valid semver (\\''+version+'\\' received)');\n    }\n  }\n\n  function compareVersions(v1, v2) {\n    [v1, v2].forEach(validate);\n\n    var s1 = split(v1);\n    var s2 = split(v2);\n\n    for (var i = 0; i < Math.max(s1.length - 1, s2.length - 1); i++) {\n      var n1 = parseInt(s1[i] || 0, 10);\n      var n2 = parseInt(s2[i] || 0, 10);\n\n      if (n1 > n2) return 1;\n      if (n2 > n1) return -1;\n    }\n\n    var sp1 = s1[s1.length - 1];\n    var sp2 = s2[s2.length - 1];\n\n    if (sp1 && sp2) {\n      var p1 = sp1.split('.').map(tryParse);\n      var p2 = sp2.split('.').map(tryParse);\n\n      for (i = 0; i < Math.max(p1.length, p2.length); i++) {\n        if (p1[i] === undefined || typeof p2[i] === 'string' && typeof p1[i] === 'number') return -1;\n        if (p2[i] === undefined || typeof p1[i] === 'string' && typeof p2[i] === 'number') return 1;\n\n        if (p1[i] > p2[i]) return 1;\n        if (p2[i] > p1[i]) return -1;\n      }\n    } else if (sp1 || sp2) {\n      return sp1 ? -1 : 1;\n    }\n\n    return 0;\n  };\n\n  var allowedOperators = [\n    '>',\n    '>=',\n    '=',\n    '<',\n    '<='\n  ];\n\n  var operatorResMap = {\n    '>': [1],\n    '>=': [0, 1],\n    '=': [0],\n    '<=': [-1, 0],\n    '<': [-1]\n  };\n\n  function validateOperator(op) {\n    if (typeof op !== 'string') {\n      throw new TypeError('Invalid operator type, expected string but got ' + typeof op);\n    }\n    if (allowedOperators.indexOf(op) === -1) {\n      throw new TypeError('Invalid operator, expected one of ' + allowedOperators.join('|'));\n    }\n  }\n\n  compareVersions.validate = function(version) {\n    return typeof version === 'string' && semver.test(version);\n  }\n\n  compareVersions.compare = function (v1, v2, operator) {\n    // Validate operator\n    validateOperator(operator);\n\n    // since result of compareVersions can only be -1 or 0 or 1\n    // a simple map can be used to replace switch\n    var res = compareVersions(v1, v2);\n    return operatorResMap[operator].indexOf(res) > -1;\n  }\n\n  return compareVersions;\n}));\n"
  },
  {
    "path": "scripts/utils/crypto.js",
    "content": "'use strict';\n\nconst crypto = require('crypto');\n\nconst md5 = (content) => {\n  return crypto.createHash('md5').update(content).digest('hex');\n}\n\nmodule.exports = md5;\n"
  },
  {
    "path": "scripts/utils/object.js",
    "content": "'use strict';\n\nconst isObject = (obj) => {\n  return obj && typeof obj === 'object' && !Array.isArray(obj);\n};\n\nconst isNotEmptyObject = (obj) => {\n  return obj && typeof obj === 'object' && Object.getOwnPropertyNames(obj).length !== 0;\n};\n\nconst isEmptyObject = (obj) => {\n  return !isNotEmptyObject(obj);\n};\n\nconst merge = (target, ...sources) => {\n  for (const source of sources) {\n    for (const key in source) {\n      if (!Object.prototype.hasOwnProperty.call(source, key)) {\n        continue;\n      }\n      if (isObject(target[key]) && isObject(source[key])) {\n        merge(target[key], source[key]);\n      } else {\n        target[key] = source[key];\n      }\n    }\n  }\n  return target;\n};\n\nmodule.exports = {\n  isObject,\n  isNotEmptyObject,\n  isEmptyObject,\n  merge\n};\n"
  },
  {
    "path": "scripts/utils/resolve.js",
    "content": "'use strict';\n\nconst path = require('path');\n\nconst resolveModule = (name, file = '') => {\n  let dir;\n  try {\n    dir = path.dirname(require.resolve(`${name}/package.json`));\n  } catch (error) {\n    return '';\n  }\n  return `${dir}/${file}`;\n};\n\nmodule.exports = resolveModule;\n"
  },
  {
    "path": "scripts/utils/url-join.js",
    "content": "'use strict';\n\nconst urlJoin = function(base, relative) {\n  if (relative && /^https*:\\/\\//.test(relative)) {\n    return relative;\n  }\n  return relative\n    ? base.replace(/\\/+$/, '') + '/' + relative.replace(/^\\/+/, '')\n    : base;\n};\n\nmodule.exports = urlJoin;\n"
  },
  {
    "path": "source/css/_functions/base.styl",
    "content": "theme-config(config, predef)\n  unquote(hexo-config(config) ? hexo-config(config):predef)\n\ntheme-config-unit(config, predef, unit)\n  unit(hexo-config(config) ? hexo-config(config):predef, unit)\n\ntheme-config-origin(config, predef)\n  (hexo-config(config) ? hexo-config(config):predef)\n"
  },
  {
    "path": "source/css/_mixins/base.styl",
    "content": "/* 给锚点增加偏移量（适配导航栏的高度） */\nanchor-offset()\n  &::before\n    display block\n    content \"\"\n    margin-top -5rem\n    height 5rem\n    width 1px\n    visibility hidden\n\n/* 毛玻璃透明效果 */\nground-glass($px, $bg-color, $alpha)\n  /* 若浏览器支持 backdrop-filter，则启用毛玻璃 */\n  @supports (-webkit-backdrop-filter: blur($px)) or (backdrop-filter: blur($px))\n    &\n      background rgba(convert($bg-color), $alpha)\n      -webkit-backdrop-filter blur($px)\n      backdrop-filter blur($px)\n\n  /* 若浏览器器不支持，则使用透明 */\n  @supports not ((-webkit-backdrop-filter: blur($px)) or (backdrop-filter: blur($px)))\n    &\n      background rgb(convert($bg-color))\n"
  },
  {
    "path": "source/css/_pages/_about/about.styl",
    "content": ".about-avatar\n  position relative\n  margin -8rem auto 1rem\n  width 10rem\n  height 10rem\n  z-index 3\n\n  img\n    width 100%\n    height 100%\n    border-radius 50%\n    background-color transparent\n    object-fit cover\n    box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)\n\n.about-info\n  & > div\n    margin-bottom .5rem\n\n.about-name\n  font-size 1.75rem\n  font-weight bold\n\n.about-intro\n  font-size 1rem\n\n.about-icons\n  & > a:not(:last-child)\n    margin-right .5rem\n\n  & > a > i\n    font-size 1.5rem\n"
  },
  {
    "path": "source/css/_pages/_archive/archive.styl",
    "content": ".list-group\n  a ~ p.h5\n    margin-top 1rem\n\n.list-group-item\n  display flex\n  background-color transparent\n  border 0\n\n  time\n    flex 0 0 5rem\n\n  .list-group-item-title\n    white-space nowrap\n    overflow hidden\n    text-overflow ellipsis\n\n@media (max-width: 575px)\n  .list-group-item\n    font-size .95rem\n    padding 0.5rem 0.75rem\n\n    time\n      flex 0 0 4rem\n\n.list-group-item-action\n  color var(--text-color)\n\n  &:focus, &:hover\n    color var(--link-hover-color)\n    background-color var(--link-hover-bg-color)\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/anchorjs.styl",
    "content": "// Rewrite anchorjs\n.anchorjs-link\n  text-decoration none !important\n  transition opacity .2s ease-in-out\n\n.markdown-body h1, h2, h3, h4, h5, h6\n  &:hover > .anchorjs-link\n    opacity 1\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/banner.styl",
    "content": ".banner\n  height 100%\n  position relative\n  overflow hidden\n  cursor default\n\n  .mask\n    position absolute\n    width 100%\n    height 100%\n    background-color rgba(0, 0, 0, 0.3)\n\n  &[parallax=\"true\"]\n    will-change transform\n    -webkit-transform-style preserve-3d\n    -webkit-backface-visibility hidden\n    transition transform .05s ease-out\n\nif $banner-width-height-ratio > 0\n  @media (max-width: unit($banner-width-height-ratio * 100, \"vh\"))\n    .header-inner\n      max-height unit(100 / $banner-width-height-ratio, \"vw\")\n\n    #board\n      margin-top -1rem !important\n\n  @media (max-width: unit($scroll-arrow-height-limit - 0.01, \"vh\"))\n    .scroll-down-bar\n      display none\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/board.styl",
    "content": "#board\n  position relative\n  margin-top -2rem\n  padding 3rem 0\n  background-color var(--board-bg-color)\n  transition background-color .2s ease-in-out\n  border-radius 0.5rem\n  z-index 3\n  -webkit-box-shadow 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)\n  box-shadow 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/code-widget.styl",
    "content": ".code-widget\n  display inline-block\n  background-color transparent\n  font-size .75rem\n  line-height 1\n  font-weight bold\n  padding .3rem .1rem .1rem .1rem\n  position absolute\n  right .45rem\n  top .15rem\n  z-index 1\n\n.code-widget-light\n  color #999\n\n.code-widget-dark\n  color #bababa\n\n.copy-btn\n  cursor pointer\n  user-select none\n  -webkit-appearance none\n  outline none\n\n  & > i\n    font-size .75rem !important\n    font-weight 400\n    margin-right .15rem\n    opacity 0\n    transition opacity .2s ease-in-out\n\n.markdown-body pre:hover > .copy-btn > i\n  opacity 0.9\n\n.markdown-body pre:hover > .copy-btn, .markdown-body pre:not(:hover) > .copy-btn\n  outline none\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/copyright.styl",
    "content": "// Modified from [hexo-theme-icarus](https://github.com/ppoffice/hexo-theme-icarus)\n\n.license-box\n  background-color rgba(#1b1f23, .05)\n  transition background-color .2s ease-in-out\n  border-radius 4px\n  font-size .9rem\n  overflow hidden\n  padding 1.25rem\n  position relative\n  z-index 1\n\n  .license-icon\n    position absolute\n    top 50%\n    left 100%\n\n    &::after\n      content \"\\e8e4\"\n      font-size 12.5rem\n      line-height 1\n      opacity 0.1\n      position relative\n      left -.85em\n      bottom .5em\n      z-index -1\n\n  .license-title\n    margin-bottom 1rem\n\n    div:nth-child(1)\n      line-height 1.2\n      margin-bottom .25rem\n\n    div:nth-child(2)\n      color var(--sec-text-color)\n      font-size .8rem\n\n  .license-meta\n    align-items center\n    display flex\n    flex-wrap wrap\n    justify-content flex-start\n\n    .license-meta-item\n      align-items center\n      justify-content center\n      margin-right 1.5rem\n\n      div:nth-child(1)\n        color var(--sec-text-color)\n        font-size .8rem\n        font-weight normal\n\n      i.iconfont\n        font-size 1rem\n\n  @media (max-width: 575px) and (min-width: 425px)\n    .license-meta\n\n      .license-meta-item\n        display flex\n        justify-content flex-start\n        flex-wrap wrap\n        font-size .8rem\n        flex 0 0 50%\n        max-width 50%\n        margin-right 0\n\n        div:nth-child(1)\n          margin-right .5rem\n\n      .license-meta-date\n        order -1\n\n  @media (max-width: 424px)\n    &::after\n      top -65px\n\n    .license-meta\n      flex-direction column\n      align-items flex-start\n\n      .license-meta-item\n        display flex\n        flex-wrap wrap\n        font-size .8rem\n\n        div:nth-child(1)\n          margin-right .5rem\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/footer.styl",
    "content": ".footer-inner\n  padding 3rem 0 1rem 0\n  text-align center\n\n  & > div:not(:first-child)\n    margin .25rem 0\n    font-size .85rem\n\n  .statistics\n    display flex\n    flex-direction row\n    justify-content center\n\n    & > span\n      flex 1\n      margin 0 .25rem\n\n    & > *:nth-last-child(2):first-child\n      text-align right\n\n    & > *:nth-last-child(2):first-child ~ *\n      text-align left\n\n  .beian\n    display flex\n    flex-direction row\n    justify-content center\n\n    & > *\n      margin 0 .25rem\n\n  .beian-police\n    position relative\n    overflow hidden\n    display inline-flex\n    align-items center\n    justify-content left\n\n    img\n      margin-right 3px\n      width 1rem\n      height 1rem\n      margin-bottom .1rem\n\n  @media (max-width: 424px)\n    .statistics\n      flex-direction column\n\n      & > *:nth-last-child(2):first-child\n        text-align center\n\n      & > *:nth-last-child(2):first-child ~ *\n        text-align center\n\n    .beian\n      flex-direction column\n\n      .beian-police\n        justify-content center\n\n      & > *:nth-last-child(2):first-child\n        text-align center\n\n      & > *:nth-last-child(2):first-child ~ *\n        text-align center\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/footnote.styl",
    "content": "sup > a, .footnote-text\n  anchor-offset()\n  &::before\n    display inline-block\n\n.footnote-item\n  anchor-offset()\n\n.footnote-list\n  ol\n    list-style-type none\n    counter-reset sectioncounter\n    padding-left .5rem\n    font-size .95rem\n\n    li:before\n      font-family \"Helvetica Neue\", monospace, \"Monaco\"\n      content \"[\"counter(sectioncounter)\"]\"\n      counter-increment sectioncounter\n\n    li+li\n      margin-top .5rem\n\n.footnote-text\n  padding-left .5em\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/header.styl",
    "content": "// Rewrite navbar\n.navbar\n  background-color transparent\n  font-size 0.875rem\n  box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)\n  -webkit-box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)\n\n  .navbar-brand\n    color var(--navbar-text-color)\n\n  .navbar-toggler .animated-icon span\n    background-color var(--navbar-text-color)\n\n  .nav-item .nav-link\n    display block\n    color var(--navbar-text-color)\n    transition color .2s ease-in-out, background-color .2s ease-in-out\n\n    &:hover\n      color var(--link-hover-color)\n\n    &:focus\n      color var(--navbar-text-color)\n\n    i\n      font-size 0.875rem\n      line-height inherit\n\n    i:only-child\n      margin 0 .2rem\n\n  .navbar-toggler\n    border-width 0\n    outline 0\n\n  &.scrolling-navbar\n    will-change background, padding\n    -webkit-transition background 0.5s ease-in-out, padding 0.5s ease-in-out\n    transition background 0.5s ease-in-out, padding 0.5s ease-in-out\n\n    @media (min-width: 600px)\n      &\n        padding-top 12px\n        padding-bottom 12px\n\n      & .navbar-nav > li\n        -webkit-transition-duration 1s\n        transition-duration 1s\n\n    &.top-nav-collapse\n      padding-top 5px\n      padding-bottom 5px\n\n  .dropdown-menu\n    font-size 0.875rem\n    color var(--navbar-text-color)\n    background-color rgba(0, 0, 0, 0.3)\n    border none\n    min-width 8rem\n    -webkit-transition background .5s ease-in-out,padding .5s ease-in-out\n    transition background .5s ease-in-out,padding .5s ease-in-out\n\n    @media (max-width: 991.98px)\n      text-align center\n\n  .dropdown-item\n    color var(--navbar-text-color)\n\n    &:hover, &:focus\n      color var(--link-hover-color)\n      background-color rgba(0, 0, 0, 0.1)\n\n  @media (min-width: 992px)\n    .dropdown:hover > .dropdown-menu\n      display block\n\n    .dropdown > .dropdown-toggle:active\n      pointer-events none\n\n    .dropdown-menu\n      top 95%\n\n  .animated-icon\n    width 30px\n    height 20px\n    position relative\n    margin 0\n    -webkit-transform rotate(0deg)\n    -moz-transform rotate(0deg)\n    -o-transform rotate(0deg)\n    transform rotate(0deg)\n    -webkit-transition .5s ease-in-out\n    -moz-transition .5s ease-in-out\n    -o-transition .5s ease-in-out\n    transition .5s ease-in-out\n    cursor pointer\n\n    span\n      display block\n      position absolute\n      height 3px\n      width 100%\n      border-radius 9px\n      opacity 1\n      left 0\n      -webkit-transform rotate(0deg)\n      -moz-transform rotate(0deg)\n      -o-transform rotate(0deg)\n      transform rotate(0deg)\n      -webkit-transition .25s ease-in-out\n      -moz-transition .25s ease-in-out\n      -o-transition .25s ease-in-out\n      transition .25s ease-in-out\n      background #ffffff\n\n      &:nth-child(1)\n        top 0\n\n      &:nth-child(2)\n        top 10px\n\n      &:nth-child(3)\n        top 20px\n\n    &.open\n      span\n        &:nth-child(1)\n          top 11px\n          -webkit-transform rotate(135deg)\n          -moz-transform rotate(135deg)\n          -o-transform rotate(135deg)\n          transform rotate(135deg)\n\n        &:nth-child(2)\n          opacity 0\n          left -60px\n\n        &:nth-child(3)\n          top 11px\n          -webkit-transform rotate(-135deg)\n          -moz-transform rotate(-135deg)\n          -o-transform rotate(-135deg)\n          transform rotate(-135deg)\n\n.navbar .dropdown-collapse, .top-nav-collapse, .navbar-col-show\n  if $navbar-glass-enable\n    ground-glass($navbar-glass-px, $navbar-bg-color, $navbar-glass-alpha)\n  else\n    background-color var(--navbar-bg-color)\n\n@media (max-width: 767px)\n  .navbar\n    font-size 1rem\n    line-height 2.5rem\n\n.banner-text\n  color var(--subtitle-color)\n  max-width calc(960px - 6rem)\n  width 80%\n  overflow-wrap break-word\n\n  .typed-cursor\n    margin 0 .2rem\n\n@media (max-width: 767px)\n  #subtitle, .typed-cursor\n    font-size 1.5rem\n\n@media (max-width: 575px)\n  .banner-text\n    font-size 0.9rem\n\n  #subtitle, .typed-cursor\n    font-size 1.35rem\n\n// Mobile grid menu (九宫格)\n#mobile-grid-menu\n  display block\n  position fixed\n  top 0\n  left 0\n  right 0\n  bottom 0\n  z-index 1029\n  overflow-y auto\n  -webkit-overflow-scrolling touch\n  pointer-events none\n  opacity 0\n  transform translateY(-12px)\n  transition opacity .18s ease, transform .18s ease\n  will-change opacity, transform\n\n  if $navbar-glass-enable\n    ground-glass($navbar-glass-px, $navbar-bg-color, $navbar-glass-alpha)\n  else\n    background-color var(--navbar-bg-color)\n\n  &.show\n    pointer-events auto\n    opacity 1\n    transform translateY(0)\n\n    // Staggered cell pop-in — delays are set via JS\n    .mobile-grid-cell, .mobile-grid-group-header\n      animation mobile-grid-cell-in .18s ease both\n\n  .mobile-grid-menu-inner\n    padding-top 70px\n    padding-bottom 2rem\n\n  .mobile-grid-group-header\n    color var(--navbar-text-color)\n    font-size 0.8rem\n    opacity 0.6\n    text-transform uppercase\n    letter-spacing 0.05em\n    padding 1rem 15px 0.4rem\n    border-top 1px solid rgba(255, 255, 255, 0.1)\n    margin-top 0.5rem\n\n    &:first-child\n      border-top none\n      margin-top 0\n\n    i\n      margin-right 0.3rem\n      font-size 0.8rem\n\n  .mobile-grid-cell\n    padding 0.5rem\n\n  .mobile-grid-item\n    display flex\n    flex-direction column\n    align-items center\n    justify-content center\n    padding 1rem 0.5rem\n    border-radius 12px\n    background-color rgba(255, 255, 255, 0.08)\n    transition background-color .2s ease-in-out, transform .15s ease-in-out\n    cursor pointer\n    min-height 80px\n\n    &:hover, &:active\n      background-color rgba(255, 255, 255, 0.18)\n      transform scale(0.96)\n\n    i\n      font-size 1.6rem\n      color var(--navbar-text-color)\n      margin-bottom 0.4rem\n      line-height 1\n\n    span\n      font-size 0.78rem\n      color var(--navbar-text-color)\n      text-align center\n      line-height 1.2\n      word-break break-word\n\n  a\n    text-decoration none\n    color var(--navbar-text-color)\n\n    &:hover\n      color var(--navbar-text-color)\n\n// On mobile, suppress the original collapse list — grid menu takes over\n@media (max-width: 991.98px)\n  #navbarSupportedContent\n    display none !important\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/modal.styl",
    "content": "// Rewrite modal\n.modal-dialog .modal-content\n  background-color var(--board-bg-color)\n  border 0\n  border-radius .125rem\n  -webkit-box-shadow 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)\n  box-shadow 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)\n\n.modal-dialog .modal-content .modal-header\n  border-bottom-color var(--line-color)\n  transition border-bottom-color .2s ease-in-out\n\n.close\n  color var(--text-color)\n\n  &:hover\n    color var(--link-hover-color)\n\n  &:focus\n    outline 0\n\n.modal-dialog .modal-content .modal-header\n  border-top-left-radius .125rem\n  border-top-right-radius .125rem\n  border-bottom 1px solid #dee2e6\n\n.md-form\n  position relative\n  margin-top 1.5rem\n  margin-bottom 1.5rem\n\n.md-form\n  input[type]\n    -webkit-box-sizing content-box\n    box-sizing content-box\n    background-color transparent\n    border none\n    border-bottom 1px solid #ced4da\n    border-radius 0\n    outline none\n    -webkit-box-shadow none\n    box-shadow none\n    transition border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out\n\n    $normal = #4285f4\n\n    &:focus:not([readonly])\n      border-bottom 1px solid $normal\n      -webkit-box-shadow 0 1px 0 0 $normal\n      box-shadow 0 1px 0 0 $normal\n\n      & + label\n        color: $normal\n\n    $valid = #00c851\n\n    &.valid, &:focus.valid\n      border-bottom 1px solid $valid\n      -webkit-box-shadow 0 1px 0 0 $valid\n      box-shadow 0 1px 0 0 $valid\n\n      & + label\n        color: $valid\n\n    $invalid = #f44336\n\n    &.invalid, &:focus.invalid\n      border-bottom 1px solid $invalid\n      -webkit-box-shadow 0 1px 0 0 $invalid\n      box-shadow 0 1px 0 0 $invalid\n\n      & + label\n        color $invalid\n\n    &.validate\n      margin-bottom 2.5rem\n\n    &.form-control\n      height auto\n      padding .6rem 0 .4rem 0\n      margin 0 0 .5rem 0\n      color var(--text-color)\n      background-color transparent\n      border-radius 0\n\n  label\n    font-size 0.8rem\n    position absolute\n    top -1rem\n    left 0\n    color #757575\n    cursor text\n    transition color .2s ease-out\n\n.modal-open[style]\n  padding-right: 0 !important\n  overflow auto\n\n  #navbar[style]\n    padding-right 1rem !important\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/ngrogress.styl",
    "content": "// Rewrite nprogress\n$npColor = theme-config(\"fun_features.progressbar.color\", \"#29d\")\n#nprogress\n  .bar\n    height theme-config-unit(\"fun_features.progressbar.height_px\", 3, \"px\") !important\n    background-color $npColor !important\n  .peg\n    box-shadow 0 0 14px $npColor, 0 0 8px $npColor !important\n\n  @media (max-width: 575px)\n    .bar\n      display none\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/noscript.styl",
    "content": ".noscript-warning\n  background-color #f55\n  color #fff\n  font-family sans-serif\n  font-size 1rem\n  font-weight bold\n  position fixed\n  left 0\n  bottom  0\n  text-align center\n  width 100%\n  z-index 99\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/pagination.styl",
    "content": "// Rewrite pagination\n.pagination\n  margin-top 3rem\n  justify-content center\n\n  .space\n    align-self flex-end\n\n  .page-number, .current, .extend\n    outline 0\n    border 0\n    background-color transparent\n    font-size .9rem\n    padding .5rem .75rem\n    line-height 1.25\n    border-radius .125rem\n\n  .page-number\n    margin 0 .05rem\n\n  .page-number:hover, .current\n    transition background-color .2s ease-in-out\n    background-color var(--link-hover-bg-color)\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/qrcode.styl",
    "content": ".qr-trigger\n  cursor pointer\n  position relative\n\n  &:hover .qr-img\n    display block\n    transition all .3s\n\n.qr-img\n  max-width 12rem\n  position absolute\n  right -5.25rem\n  z-index 99\n  display none\n  border-radius .2rem\n  background-color transparent\n  box-shadow 0 0 20px -5px hsla(0, 0%, 62%, .2)\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/scroll-btn.styl",
    "content": ".scroll-down-bar\n  position absolute\n  width 100%\n  height 6rem\n  text-align center\n  cursor pointer\n  bottom 0\n\n  i.iconfont\n    font-size 2rem\n    font-weight bold\n    display inline-block\n    position relative\n    padding-top 2rem\n    color var(--subtitle-color)\n    transform translateZ(0)\n    animation scroll-down 1.5s infinite\n\n#scroll-top-button\n  position fixed\n  z-index 99\n  background var(--board-bg-color)\n  transition background-color .2s ease-in-out, bottom .3s ease\n  border-radius 4px\n  min-width 40px\n  min-height 40px\n  bottom -60px\n  outline none\n  display flex\n  display -webkit-flex\n  align-items center\n  box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)\n\n  i\n    font-size 32px\n    margin auto\n    color var(--sec-text-color)\n\n  &:hover i, &:active i\n    animation-name scroll-top\n    animation-duration 1s\n    animation-delay .1s\n    animation-timing-function ease-in-out\n    animation-iteration-count infinite\n    animation-fill-mode forwards\n    animation-direction alternate\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/search.styl",
    "content": "#local-search-result\n  .search-list-title\n    border-left 3px solid #0d47a1\n\n  .search-list-content\n    padding 0 1.25rem\n\n  .search-word\n    color orangered\n"
  },
  {
    "path": "source/css/_pages/_base/_widget/toc.styl",
    "content": "#toc\n  visibility hidden\n\n.toc-header\n  margin-bottom .5rem\n  font-weight bold\n  line-height 1.2\n\n  &, & > i\n    font-size 1.25rem\n\n.toc-body\n  max-height 75vh\n  overflow-y auto\n  overflow -moz-scrollbars-none\n  -ms-overflow-style none\n\n  ol\n    list-style none\n    padding-inline-start 1rem\n\n  &::-webkit-scrollbar\n    display none\n\n.tocbot-list\n  position relative\n\n  ol\n    list-style none\n    padding-left 1rem\n\n  a\n    font-size 0.95rem\n\n  ol a\n    font-size 0.85rem\n\n.tocbot-link\n  color var(--text-color)\n\n.toc-toggle\n  display inline-block\n  width .7rem\n  text-align center\n  margin-right .15rem\n  cursor pointer\n  user-select none\n  color var(--text-color)\n  font-size .9rem\n  line-height 1\n  transition transform .2s ease-in-out\n\n  &.toc-toggle-collapsed\n    transform rotate(0deg)\n\n  &.toc-toggle-expanded\n    transform rotate(90deg)\n\n  &.toc-toggle-placeholder\n    visibility hidden\n    pointer-events none\n    cursor default\n    transform none\n\n\n.tocbot-active-link\n  font-weight bold\n  color var(--link-hover-color)\n\n.tocbot-is-collapsed\n  max-height 0\n\n.tocbot-is-collapsible\n  overflow hidden\n  transition all .3s ease-in-out\n\n.toc-list-item\n  padding .1rem 0\n  white-space nowrap\n  overflow hidden\n  text-overflow ellipsis\n\n  &.is-active-li::before\n    height 1rem\n    margin 0.25rem 0\n    visibility visible\n\n  &::before\n    width 0.15rem\n    height 0.2rem\n    position absolute\n    left 0.25rem\n    content \"\"\n    border-radius 2px\n    margin 0.65rem 0\n    background var(--link-hover-color)\n    visibility hidden\n    transition height .1s ease-in-out, margin .1s ease-in-out, visibility .1s ease-in-out\n\n.sidebar\n  position -webkit-sticky\n  position sticky\n  top 2rem\n  padding 3rem 0\n"
  },
  {
    "path": "source/css/_pages/_base/base.styl",
    "content": "@import \"_widget/*\"\n\nhtml\n  font-size $font-size\n  letter-spacing $letter-spacing\n\nhtml, body\n  height 100%\n  font-family $font-family\n  overflow-wrap break-word\n\nbody\n  transition color .2s ease-in-out, background-color .2s ease-in-out\n  background-color var(--body-bg-color)\n  color var(--text-color)\n  -webkit-font-smoothing antialiased\n  -moz-osx-font-smoothing grayscale\n\n  a\n    color var(--text-color)\n    text-decoration none\n    cursor pointer\n    transition color .2s ease-in-out, background-color .2s ease-in-out\n\n    &:hover\n      color var(--link-hover-color)\n      text-decoration none\n      transition color .2s ease-in-out, background-color .2s ease-in-out\n\ncode\n  color inherit\n\ntable\n  font-size inherit\n  color var(--post-text-color)\n\nimg[lazyload]\n  object-fit cover\n\n*[align=\"left\"]\n  text-align left\n\n*[align=\"center\"]\n  text-align center\n\n*[align=\"right\"]\n  text-align right\n\n::-webkit-scrollbar\n  width 6px\n  height 6px\n\n::-webkit-scrollbar-thumb\n  background-color var(--scrollbar-color)\n  border-radius 6px\n\n  &:hover\n    background-color var(--scrollbar-hover-color)\n\n::-webkit-scrollbar-corner\n  background-color transparent\n\nlabel\n  margin-bottom 0\n\ni.iconfont\n  font-size 1em\n  line-height 1\n\nbody.mobile-menu-open\n  overflow hidden\n"
  },
  {
    "path": "source/css/_pages/_base/color-schema.styl",
    "content": ":root\n  --color-mode \"light\"\n  --body-bg-color $body-bg-color\n  --board-bg-color $board-bg-color\n  --text-color $text-color\n  --sec-text-color $sec-text-color\n  --post-text-color $post-text-color\n  --post-heading-color $post-heading-color\n  --post-link-color $post-link-color\n  --link-hover-color $link-hover-color\n  --link-hover-bg-color $link-hover-bg-color\n  --line-color $line-color\n  --navbar-bg-color $navbar-bg-color\n  --navbar-text-color $navbar-text-color\n  --subtitle-color $subtitle-color\n  --scrollbar-color $scrollbar-color\n  --scrollbar-hover-color $scrollbar-hover-color\n  --button-bg-color $button-bg-color\n  --button-hover-bg-color $button-hover-bg-color\n  --highlight-bg-color $highlight-bg-color\n  --inlinecode-bg-color $inlinecode-bg-color\n  --fold-title-color $text-color\n  --fold-border-color $line-color\n\ndark-colors()\n  --body-bg-color $body-bg-color-dark\n  --board-bg-color $board-bg-color-dark\n  --text-color $text-color-dark\n  --sec-text-color $sec-text-color-dark\n  --post-text-color $post-text-color-dark\n  --post-heading-color $post-heading-color-dark\n  --post-link-color $post-link-color-dark\n  --link-hover-color $link-hover-color-dark\n  --link-hover-bg-color $link-hover-bg-color-dark\n  --line-color $line-color-dark\n  --navbar-bg-color $navbar-bg-color-dark\n  --navbar-text-color $navbar-text-color-dark\n  --subtitle-color $subtitle-color-dark\n  --scrollbar-color $scrollbar-color-dark\n  --scrollbar-hover-color $scrollbar-hover-color-dark\n  --button-bg-color $button-bg-color-dark\n  --button-hover-bg-color $button-hover-bg-color-dark\n  --highlight-bg-color $highlight-bg-color-dark\n  --inlinecode-bg-color $inlinecode-bg-color-dark\n  --fold-title-color $text-color-dark\n  --fold-border-color $line-color-dark\n\n  img\n    -webkit-filter brightness(.9)\n    filter brightness(.9)\n    transition filter .2s ease-in-out\n\n  .navbar .dropdown-collapse, .top-nav-collapse, .navbar-col-show\n    if $navbar-glass-enable\n      ground-glass($navbar-glass-px, $navbar-bg-color-dark, $navbar-glass-alpha)\n\n  .license-box\n    background-color rgba(#3e4b5e, .35)\n    transition background-color .2s ease-in-out\n\n  .gt-comment-admin .gt-comment-content\n    background-color transparent\n    transition background-color .2s ease-in-out\n\nif (hexo-config(\"dark_mode.enable\"))\n  @media (prefers-color-scheme: dark)\n    :root\n      --color-mode \"dark\"\n\n    :root:not([data-user-color-scheme])\n      dark-colors()\n\n  @media not print\n    [data-user-color-scheme=\"dark\"]\n      dark-colors()\n\n  @media print\n    :root\n      --color-mode \"light\"\n"
  },
  {
    "path": "source/css/_pages/_base/inline.styl",
    "content": ".fade-in-up\n  -webkit-animation-name fade-in-up\n  animation-name fade-in-up\n\n.hidden-mobile\n  display block\n\n.visible-mobile\n  display none\n\n@media (max-width: 575px)\n  .hidden-mobile\n    display none\n\n  .visible-mobile\n    display block\n\n.nomargin-x\n  margin-left 0 !important\n  margin-right 0 !important\n\n.nopadding-x\n  padding-left 0 !important\n  padding-right 0 !important\n\n@media (max-width: 767px)\n  .nopadding-x-md\n    padding-left 0 !important\n    padding-right 0 !important\n\n.flex-center\n  display -webkit-box\n  display -ms-flexbox\n  display flex\n  -webkit-box-align center\n  -ms-flex-align center\n  align-items center\n  -webkit-box-pack center\n  -ms-flex-pack center\n  justify-content center\n  height 100%\n\n.hover-with-bg\n  display inline-block\n  line-height 1\n\n  &:hover\n    background-color var(--link-hover-bg-color)\n    transition-duration .2s\n    transition-timing-function ease-in-out\n    border-radius .2rem\n"
  },
  {
    "path": "source/css/_pages/_base/keyframes.styl",
    "content": "@keyframes fade-in-up\n  from\n    opacity 0\n    -webkit-transform translate3d(0, 100%, 0)\n    transform translate3d(0, 100%, 0)\n  to\n    opacity 1\n    -webkit-transform translate3d(0, 0, 0)\n    transform translate3d(0, 0, 0)\n\n@keyframes scroll-down\n  0%\n    opacity 0.8\n    top 0\n  50%\n    opacity 0.4\n    top -1em\n  100%\n    opacity 0.8\n    top 0\n\n@keyframes scroll-top\n  0%\n    -webkit-transform translateY(0)\n    transform translateY(0)\n  50%\n    -webkit-transform translateY(-0.35rem)\n    transform translateY(-0.35rem)\n  100%\n    -webkit-transform translateY(0)\n    transform translateY(0)\n\n@keyframes mobile-grid-cell-in\n  from\n    opacity 0\n    transform scale(0.82) translateY(10px)\n  to\n    opacity 1\n    transform scale(1) translateY(0)\n"
  },
  {
    "path": "source/css/_pages/_base/print.styl",
    "content": "@media print\n  header, footer, .side-col, #scroll-top-button, .post-prevnext, #comments\n    display none !important\n\n  .markdown-body\n    a:not([href^='#']):not([href^='javascript:']):not(.print-no-link)::after\n      content ' (' attr(href) ')'\n      font-size 0.8rem\n      color var(--post-text-color)\n      opacity 0.8\n\n    & > h1, h2\n      border-bottom-color transparent !important\n\n    & > h1, h2, h3, h4, h5, h6\n      margin-top 1.25em !important\n      margin-bottom 0.25em !important\n\n    [data-anchorjs-icon]::after\n      display none\n\n    figure.highlight\n      table, tbody, tr, td.code, td.code pre\n        width 100% !important\n        display block !important\n\n      pre > code\n        white-space pre-wrap\n\n      .gutter, .code-widget\n        display none !important\n\n  .post-metas a\n    text-decoration none\n\n@media not print\n  #seo-header\n    display none\n"
  },
  {
    "path": "source/css/_pages/_category/category-bar.styl",
    "content": ".category-bar\n\n  .category-list\n    max-height 85vh\n    overflow-y auto\n    overflow-x hidden\n\n    &::-webkit-scrollbar\n      display none\n\n    & > .category-sub > a\n      font-weight bold\n      font-size 1.2rem\n\n    .category-item-action i\n      margin 0\n\n    .category-subitem\n      &.list-group-item\n        padding-left .5rem\n        padding-right 0\n\n    .category-collapse\n      .category-post-list\n        margin-top .25rem\n        margin-bottom .5rem\n\n      .category-post\n        font-size .9rem\n        line-height 1.75\n\n    .category-item-action:hover\n      background-color initial\n\n  .list-group-item\n    padding 0\n\n    &.active\n      color var(--link-hover-color)\n      background-color initial\n      font-weight bold\n      font-family \"iconfont\"\n      font-style normal\n      -webkit-font-smoothing antialiased\n\n      &::before\n        content \"\\e61f\"\n        font-weight initial\n        margin-right .25rem\n\n  .list-group-count\n    margin-left .2rem\n    margin-right .2rem\n    font-size .9em\n\n  .list-group-item-action\n    &:focus, &:hover\n      background-color initial\n"
  },
  {
    "path": "source/css/_pages/_category/category-chain.styl",
    "content": ".category-chains\n  display flex\n  flex-wrap wrap\n\n  & > *:not(:last-child)\n    margin-right 1em\n"
  },
  {
    "path": "source/css/_pages/_category/category-list.styl",
    "content": ".category\n\n  &:not(:last-child)\n    margin-bottom 1rem\n\n  .category-sub\n    pass\n\n  .category-item, .category-subitem\n    font-weight bold\n    display flex\n    align-items center\n\n  .category-item\n    font-size 1.25rem\n\n  .category-subitem\n    font-size 1.1rem\n\n  .category-collapse\n    padding-left: 1.25rem\n    width 100%\n\n  .category-count\n    font-size .9rem\n    font-weight initial\n    min-width 1.3em\n    line-height 1.3em\n    display flex\n    align-items center\n\n    i\n      padding-right  .25rem\n\n    span\n      width 2rem\n\n  .category-post\n    white-space nowrap\n    overflow hidden\n    text-overflow ellipsis\n\n  .category-item-action\n\n    &:not(.collapsed) > i\n      transform rotate(90deg)\n      transform-origin center center\n\n    i\n      transition transform .3s ease-out\n      display inline-block\n      margin-left .25rem\n\n    .category:hover\n      z-index 1\n      color var(--link-hover-color)\n      text-decoration none\n      background-color var(--link-hover-bg-color)\n\n  .row\n    margin-left 0\n    margin-right 0\n"
  },
  {
    "path": "source/css/_pages/_index/index.styl",
    "content": ".index-card\n  margin-bottom 2.5rem\n\n.index-img\n  img\n    display block\n    width 100%\n    height 10rem\n    object-fit cover\n    box-shadow 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)\n    border-radius .25rem\n    background-color transparent\n\n.index-info\n  display flex\n  flex-direction column\n  justify-content space-between\n  padding-top .5rem\n  padding-bottom .5rem\n\n.index-header\n  color var(--text-color)\n  font-size 1.5rem\n  font-weight bold\n  line-height 1.4\n  white-space nowrap\n  overflow hidden\n  text-overflow ellipsis\n  margin-bottom .25rem\n\n  .index-pin\n    color var(--text-color)\n    font-size 1.5rem\n    margin-right .15rem\n\n.index-btm\n  color var(--sec-text-color)\n\n  a\n    color var(--sec-text-color)\n\n.index-excerpt\n  color var(--sec-text-color)\n  margin 0.5rem 0\n  height calc(1.4rem * 3)\n  overflow hidden\n  display flex\n\n  & > div\n    width 100%\n    line-height 1.4rem\n    word-break break-word\n    display -webkit-box\n    -webkit-box-orient vertical\n    -webkit-line-clamp 3\n\n.index-excerpt__noimg\n  height auto\n  max-height calc(1.4rem * 3)\n\n@media (max-width: 767px)\n  .index-info\n    padding-top 1.25rem\n\n  .index-header\n    font-size 1.25rem\n    white-space normal\n    overflow hidden\n    word-break break-word\n    display -webkit-box\n    -webkit-box-orient vertical\n    -webkit-line-clamp 2\n\n    .index-pin\n      font-size 1.25rem\n\n  .index-excerpt\n    height auto\n    max-height calc(1.4rem * 3)\n    margin 0.25rem 0\n"
  },
  {
    "path": "source/css/_pages/_links/links.styl",
    "content": ".links\n  .card\n    box-shadow none\n    min-width 33%\n    background-color transparent\n    border 0\n\n  .card-body\n    margin 1rem 0\n    padding 1rem\n    border-radius .3rem\n    display block\n    width 100%\n    height 100%\n\n    &:hover\n      .link-avatar\n        transform scale(1.1)\n\n  .card-content\n    display flex\n    flex-wrap nowrap\n    width 100%\n    height 3.5rem\n\n.link-avatar\n  flex none\n  width 3rem\n  height 3rem\n  margin-right .75rem\n  object-fit cover\n  transition-duration .2s\n  transition-timing-function ease-in-out\n\n  img\n    width 100%\n    height 100%\n    border-radius 50%\n    background-color transparent\n    object-fit cover\n\n.link-text\n  flex 1\n  display grid\n  flex-direction column\n  line-height 1.5\n\n.link-title\n  overflow hidden\n  text-overflow ellipsis\n  white-space nowrap\n  color var(--text-color)\n  font-weight bold\n\n.link-intro\n  max-height 2rem\n  font-size 0.85rem\n  line-height 1.2\n  color var(--sec-text-color)\n  display -webkit-box\n  -webkit-box-orient vertical\n  -webkit-line-clamp 2\n  text-overflow ellipsis\n  overflow hidden\n\n@media (max-width 767px)\n  .links\n    display flex\n    flex-direction column\n    justify-content center\n    align-items center\n\n    .card\n      padding-left 2rem\n      padding-right 2rem\n\n@media (min-width 768px)\n  .link-text:only-child\n    margin-left 1rem\n"
  },
  {
    "path": "source/css/_pages/_post/comment.styl",
    "content": "// Rewrite valine\n#valine.v[data-class=v]\n  .status-bar, .veditor, .vinput, .vbtn, p, pre code\n    color var(--text-color)\n\n  .vinput::placeholder\n    color var(--sec-text-color)\n\n  .vicon\n    fill var(--text-color)\n\n// Rewrite gitalk\n.gt-container\n\n  .gt-comment-content:hover\n    -webkit-box-shadow none\n    box-shadow none\n\n  .gt-comment-body\n    color var(--text-color) !important\n    transition color .2s ease-in-out\n\n// Rewrite remark42\n#remark-km423lmfdslkm34-back\n  z-index 1030\n#remark-km423lmfdslkm34-node\n  z-index 1031\n"
  },
  {
    "path": "source/css/_pages/_post/highlight.styl",
    "content": ".markdown-body\n  .highlight pre, pre\n    padding 1.45rem 1rem\n\n  pre code.hljs\n    padding 0\n\n  pre[class*=\"language-\"]\n    padding-top 1.45rem\n    padding-bottom 1.45rem\n    padding-right 1rem\n    line-height 1.5\n    margin-bottom 1rem\n\n  .code-wrapper\n    position relative\n    border-radius 4px\n    margin-bottom 1rem\n\n  .hljs, .highlight pre, .code-wrapper pre, figure.highlight td.gutter\n    transition color .2s ease-in-out, background-color .2s ease-in-out\n    background-color var(--highlight-bg-color)\n\npre[class*=language-].line-numbers\n  position initial\n\nfigure\n  margin 1rem 0\n\nfigure.highlight\n  position relative\n\n  table\n    border 0\n    margin 0\n    width auto\n    border-radius 4px\n\n  td\n    border 0\n    padding 0\n\n  tr\n    border 0\n\n  td.code\n    width 100%\n\n  td.gutter\n    display table-cell\n    position -webkit-sticky\n    position sticky\n    left 0\n    z-index 1\n\n    pre\n      text-align right\n      padding 0 .75rem\n      border-radius initial\n      border-right 1px solid #999\n\n      span.line\n        color #999\n\n  td.code > pre\n    border-top-left-radius 0\n    border-bottom-left-radius 0\n"
  },
  {
    "path": "source/css/_pages/_post/markdown.styl",
    "content": "// Rewrite github-markdown.css\n.markdown-body\n  font-size 1rem\n  line-height 1.6\n  font-family $font-family\n  margin-bottom 2rem\n  color var(--post-text-color)\n\n  & > h1, h2\n    border-bottom-color var(--line-color)\n\n  & > h1, h2, h3, h4, h5, h6\n    anchor-offset()\n    color var(--post-heading-color)\n    transition color .2s ease-in-out, border-bottom-color 0.2s ease-in-out\n    font-weight bold\n    margin-bottom .75em\n    margin-top 2em\n\n    &:focus\n      outline none\n\n  a\n    color var(--post-link-color)\n\n  strong\n    font-weight bold\n\n  code\n    tab-size 4\n    background-color var(--inlinecode-bg-color)\n    transition background-color .2s ease-in-out\n\n  table\n    tr\n      background-color var(--board-bg-color)\n      transition background-color .2s ease-in-out\n    tr:nth-child(2n)\n      background-color var(--board-bg-color)\n      transition background-color .2s ease-in-out\n    th, td\n      border-color var(--line-color)\n      transition border-color .2s ease-in-out\n\n  pre\n    font-size $code-font-size !important\n\n    .mermaid\n      text-align center\n\n      & > svg\n        min-width 100%\n\n  p > img, p > a > img, figure > img, figure > a > img\n    max-width 90%\n    margin 1.5rem auto\n    display block\n    box-shadow $img-shadow\n    border-radius 4px\n    background-color transparent\n\n  blockquote\n    color var(--sec-text-color)\n\n  details\n    cursor pointer\n\n    summary\n      outline none\n\n// Rewrite hr\nhr, .markdown-body hr\n  background-color initial\n  border-top 1px solid var(--line-color)\n  transition border-top-color .2s ease-in-out\n\n.markdown-body hr\n  height 0\n  margin 2rem 0\n\n// Rewrite figcaption\n.markdown-body\n  figcaption.image-caption\n    font-size .8rem\n    color var(--post-text-color)\n    opacity 0.65\n    line-height 1\n    margin -0.75rem auto 2rem\n    text-align center\n\n  figcaption:not(.image-caption)\n    display none\n"
  },
  {
    "path": "source/css/_pages/_post/post-page.styl",
    "content": ".post-content, post-custom\n  box-sizing border-box\n  padding-left 10%\n  padding-right 10%\n\n@media (max-width: 767px)\n  .post-content, post-custom\n    padding-left 2rem\n    padding-right 2rem\n\n  .page-content, .post-content\n    overflow hidden\n\n@media (max-width: 424px)\n  .post-content, post-custom\n    padding-left 1rem\n    padding-right 1rem\n\n  .page-content, .post-content\n    overflow hidden\n\n  .anchorjs-link-left\n    opacity 0 !important\n\n.page-content, .post-content\n  strong\n    font-weight bold\n\n  & > *:nth-child(2)\n    margin-top 0\n\n  img\n    object-fit cover\n    max-width 100%\n\n.post-metas\n  display flex\n  flex-wrap wrap\n  font-size .9rem\n\n.post-meta\n\n  & > *:not(.hover-with-bg)\n    margin-right .2rem\n\n.post-prevnext\n  display flex\n  flex-wrap wrap\n  justify-content space-between\n  font-size .9rem\n  margin-left -.35rem\n  margin-right -.35rem\n\n  .post-prev, .post-next\n    display flex\n    padding-left 0\n    padding-right 0\n\n    i\n      font-size 1.5rem\n\n    a\n      display flex\n      align-items center\n\n    .hidden-mobile\n      display -webkit-box\n      -webkit-box-orient vertical\n      -webkit-line-clamp 2\n      text-overflow ellipsis\n      overflow hidden\n\n    @media (max-width: 575px)\n      .hidden-mobile\n        display none\n\n  .post-prev:hover i, .post-prev:active i, .post-next:hover i, .post-next:active i\n    -webkit-animation-duration 1s\n    animation-duration 1s\n    -webkit-animation-delay .1s\n    animation-delay .1s\n    -webkit-animation-timing-function ease-in-out\n    animation-timing-function ease-in-out\n    -webkit-animation-iteration-count infinite\n    animation-iteration-count infinite\n    -webkit-animation-fill-mode forwards\n    animation-fill-mode forwards\n    -webkit-animation-direction alternate\n    animation-direction alternate\n\n  .post-prev:hover i, .post-prev:active i\n    -webkit-animation-name post-prev-anim\n    animation-name post-prev-anim\n\n  .post-next:hover i, .post-next:active i\n    -webkit-animation-name post-next-anim\n    animation-name post-next-anim\n\n  .post-next\n    justify-content flex-end\n\n  .fa-chevron-left\n    margin-right .5rem\n\n  .fa-chevron-right\n    margin-left .5rem\n\n@keyframes post-prev-anim\n  0%\n    -webkit-transform translateX(0)\n    transform translateX(0)\n  50%\n    -webkit-transform translateX(-0.35rem)\n    transform translateX(-0.35rem)\n  100%\n    -webkit-transform translateX(0)\n    transform translateX(0)\n\n@keyframes post-next-anim\n  0%\n    -webkit-transform translateX(0)\n    transform translateX(0)\n  50%\n    -webkit-transform translateX(0.35rem)\n    transform translateX(0.35rem)\n  100%\n    -webkit-transform translateX(0)\n    transform translateX(0)\n\n#seo-header\n  color var(--post-heading-color)\n  font-weight bold\n  margin-top 0.5em\n  margin-bottom 0.75em\n  border-bottom-color var(--line-color)\n  border-bottom-style solid\n  border-bottom-width 2px\n  line-height 1.5\n\n.custom, #comments\n  margin-top 2rem\n\n#comments\n  noscript\n    display block\n    text-align center\n    padding 2rem 0\n\n.visitors\n  font-size .8em\n  padding .45rem\n  float right\n\na.fancybox:hover\n  text-decoration none\n\n// Rewrite mathjax\nmjx-container, .mjx-container\n  overflow-x auto\n  overflow-y hidden !important\n  padding .5em 0\n\n  &:focus, svg:focus\n    outline none\n\n.mjx-char\n  line-height 1\n\n// Rewrite katex\n.katex-block\n  overflow-x auto\n\n.katex, .mjx-mrow\n  white-space pre-wrap !important\n\n// Rewrite hint\n.footnote-ref [class*=hint--][aria-label]:after\n  max-width 12rem\n  white-space nowrap\n  overflow hidden\n  text-overflow ellipsis\n"
  },
  {
    "path": "source/css/_pages/_post/post-tag.styl",
    "content": "// fold\n.fold\n  margin 1rem 0\n  border 0.5px solid var(--fold-border-color)\n  position relative\n  clear both\n  border-radius 0.125rem\n\n  .fold-title\n    color var(--fold-title-color)\n    padding 0.5rem 0.75rem\n    font-size 0.9rem\n    font-weight bold\n    border-radius 0.125rem\n\n    &:not(.collapsed) > .fold-arrow\n      transform rotate(90deg)\n      transform-origin center center\n\n    .fold-arrow\n      display inline-block\n      margin-right 0.35rem\n      transition transform .3s ease-out\n\n  .fold-content\n    padding 1rem 1rem\n\n    & > *:last-child\n      margin-bottom 0\n\n.fold-default, .fold-secondary\n  background-color rgba(#bbbbbb, 0.25)\n\n.fold-primary\n  background-color rgba(#b7a0e0, 0.25)\n\n.fold-info\n  background-color rgba(#a0c5e4, 0.25)\n\n.fold-success\n  background-color rgba(#aedcae, 0.25)\n\n.fold-warning\n  background-color rgba(#f8d6a6, 0.25)\n\n.fold-danger\n  background-color rgba(#eca9a7, 0.25)\n\n.fold-light\n  background-color rgba(#fefefe, 0.25)\n\n// note\n.note\n  padding 0.75rem\n  border-left 0.35rem solid\n  border-radius 0.25rem\n  margin 1.5rem 0\n  color var(--text-color)\n  transition color .2s ease-in-out\n  font-size 0.9rem\n\n  a\n    color var(--text-color)\n    transition color .2s ease-in-out\n\n  *:last-child\n    margin-bottom 0\n\n.note-default, .note-secondary\n  background-color rgba(#bbbbbb, 0.25)\n  border-color #777\n\n.note-primary\n  background-color rgba(#b7a0e0, 0.25)\n  border-color #6f42c1\n\n.note-success\n  background-color rgba(#aedcae, 0.25)\n  border-color #5cb85c\n\n.note-danger\n  background-color rgba(#eca9a7, 0.25)\n  border-color #d9534f\n\n.note-warning\n  background-color rgba(#f8d6a6, 0.25)\n  border-color #f0ad4e\n\n.note-info\n  background-color rgba(#a0c5e4, 0.25)\n  border-color #428bca\n\n.note-light\n  background-color rgba(#fefefe, 0.25)\n  border-color #0f0f0f\n\n// label\n.label\n  display inline\n  border-radius 3px\n  font-size 85%\n  margin 0\n  padding .2em .4em\n  color var(--text-color)\n  transition color .2s ease-in-out\n\n.label-default, .label-secondary\n  background-color rgba(#bbbbbb, 0.25)\n\n.label-primary\n  background-color rgba(#b7a0e0, 0.25)\n\n.label-info\n  background-color rgba(#a0c5e4, 0.25)\n\n.label-success\n  background-color rgba(#aedcae, 0.25)\n\n.label-warning\n  background-color rgba(#f8d6a6, 0.25)\n\n.label-danger\n  background-color rgba(#eca9a7, 0.25)\n\n// button\n.markdown-body .btn\n  border 1px solid var(--line-color)\n  background-color var(--button-bg-color)\n  color var(--text-color)\n  transition color .2s ease-in-out, background .2s ease-in-out, border-color .2s ease-in-out\n  border-radius .25rem\n  display inline-block\n  font-size .875em\n  line-height 2\n  padding 0 .75rem\n  margin-bottom 1rem\n\n  &:hover\n    background-color var(--button-hover-bg-color)\n    text-decoration none\n\n// group-image\n.group-image-container\n  margin 1.5rem auto\n\n  & img\n    margin 0 auto\n    border-radius 3px\n    background-color transparent\n    box-shadow 0 3px 9px 0 rgba(0, 0, 0, 0.15), 0 3px 9px 0 rgba(0, 0, 0, 0.15)\n\n.group-image-row\n  margin-bottom .5rem\n  display flex\n  justify-content center\n\n.group-image-wrap\n  flex 1\n  display flex\n  justify-content center\n\n  &:not(:last-child)\n    margin-right .25rem\n\n// checkbox\ninput[type=checkbox]\n  margin 0 0.2em 0.2em 0\n  vertical-align middle\n"
  },
  {
    "path": "source/css/_pages/_tag/tag.styl",
    "content": ""
  },
  {
    "path": "source/css/_pages/_tag/tags.styl",
    "content": ".tagcloud\n  padding 1rem 5%\n\n  a\n    display inline-block\n    padding .5rem\n\n    &:hover\n      color var(--link-hover-color) !important\n"
  },
  {
    "path": "source/css/_pages/pages.styl",
    "content": "@import \"_base/*\"\n@import \"_index/*\"\n@import \"_post/*\"\n@import \"_archive/*\"\n@import \"_about/*\"\n@import \"_category/*\"\n@import \"_tag/*\"\n@import \"_links/*\"\n"
  },
  {
    "path": "source/css/_variables/base.styl",
    "content": "// font\n$font-size = theme-config(\"font.font_size\", \"16px\")\n$letter-spacing = theme-config(\"font.letter_spacing\", \"0.02em\")\n$font-family = theme-config(\"font.font_family\", \"var(--font-family-sans-serif)\")\n$code-font-size = theme-config(\"font.code_font_size\", \"85%\")\n\n// body\n$body-bg-color = theme-config(\"color.body_bg_color\", \"#eee\")\n$body-bg-color-dark = theme-config(\"color.body_bg_color_dark\", \"#181c27\")\n\n// text\n$text-color = theme-config(\"color.text_color\", \"#3c4858\")\n$text-color-dark = theme-config(\"color.text_color_dark\", \"#c4c6c9\")\n$sec-text-color = theme-config(\"color.sec_text_color\", \"#718096\")\n$sec-text-color-dark = theme-config(\"color.sec_text_color_dark\", \"#a7a9ad\")\n\n// post\n$post-text-color = theme-config(\"color.post_text_color\", \"#2c3e50\")\n$post-text-color-dark = theme-config(\"color.post_text_color_dark\", \"#c4c6c9\")\n$post-heading-color = theme-config(\"color.post_heading_color\", \"#1a202c\")\n$post-heading-color-dark = theme-config(\"color.post_heading_color_dark\", \"#c4c6c9\")\n$post-link-color = theme-config(\"color.post_link_color\", \"#2c3e50\")\n$post-link-color-dark = theme-config(\"color.post_link_color_dark\", \"#c4c6c9\")\n$link-hover-color = theme-config(\"color.link_hover_color\", \"#30a9de\")\n$link-hover-color-dark = theme-config(\"color.link_hover_color_dark\", \"#30a9de\")\n$link-hover-bg-color = theme-config(\"color.link_hover_bg_color\", \"#ebedef\")\n$link-hover-bg-color-dark = theme-config(\"color.link_hover_bg_color_dark\", \"#364151\")\n$line-color = theme-config(\"color.line_color\", \"#eaecef\")\n$line-color-dark = theme-config(\"color.line_color_dark\", \"#435266\")\n$button-bg-color = theme-config(\"color.button_bg_color\", \"#f6f8fa\")\n$button-bg-color-dark = theme-config(\"color.button_bg_color_dark\", \"#2f4154\")\n$button-hover-bg-color = theme-config(\"color.button_hover_bg_color\", \"#f2f3f5\")\n$button-hover-bg-color-dark = theme-config(\"color.button_hover_bg_color_dark\", \"#46647e\")\n\n// navbar\n$navbar-bg-color = theme-config(\"color.navbar_bg_color\", \"#2f4154\")\n$navbar-bg-color-dark = theme-config(\"color.navbar_bg_color_dark\", \"#1f3144\")\n$navbar-text-color = theme-config(\"color.navbar_text_color\", \"#fff\")\n$navbar-text-color-dark = theme-config(\"color.navbar_text_color_dark\", \"d0d0d0\")\n$navbar-glass-enable = theme-config-origin(\"navbar.ground_glass.enable\", false)\n$navbar-glass-px = theme-config-unit(\"navbar.ground_glass.px\", 0, \"px\")\n$navbar-glass-alpha = theme-config-origin(\"navbar.ground_glass.alpha\", 0)\n\n// banner\n$banner-width-height-ratio = theme-config-origin(\"banner.width_height_ratio\", 0)\n\n// subtitle\n$subtitle-color = theme-config(\"color.subtitle_color\", \"#fff\")\n$subtitle-color-dark = theme-config(\"color.subtitle_color_dark\", \"d0d0d0\")\n\n// scroll arrow\n$scroll-arrow-height-limit = theme-config-origin(\"scroll_down_arrow.banner_height_limit\", 0)\n\n// board\n$board-bg-color = theme-config(\"color.board_color\", \"#fff\")\n$board-bg-color-dark = theme-config(\"color.board_color_dark\", \"#252d38\")\n\n// scrollbar\n$scrollbar-color = theme-config(\"color.scrollbar_color\", \"#c4c6c9\")\n$scrollbar-color-dark = theme-config(\"color.scrollbar_color_dark\", \"#687582\")\n$scrollbar-hover-color = theme-config(\"color.scrollbar_hover_color\", \"#a6a6a6\")\n$scrollbar-hover-color-dark = theme-config(\"color.scrollbar_hover_color_dark\", \"#9da8b3\")\n\n// code\n$highlight-bg-color = hexo-config(\"code.highlight.highlightjs.light.backgroundColor\") && hexo-config(\"code.highlight.highlightjs.light.backgroundColor\") != \"#fff\" ? unquote(hexo-config(\"code.highlight.highlightjs.light.backgroundColor\")):#f6f8fa\n$highlight-bg-color-dark = hexo-config(\"code.highlight.highlightjs.dark.backgroundColor\") && hexo-config(\"code.highlight.highlightjs.dark.backgroundColor\") != \"#fff\" ? unquote(hexo-config(\"code.highlight.highlightjs.dark.backgroundColor\")):#2d333b\n$inlinecode-bg-color = rgba(175, 184, 193, .2)\n$inlinecode-bg-color-dark = rgba(99, 110, 123, .4)\n\n// shadow\n$img-shadow = 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15)\n"
  },
  {
    "path": "source/css/gitalk.css",
    "content": "@font-face {\n  font-family: octicons-link;\n  src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff');\n}\n/* variables */\n/* functions & mixins */\n/* variables - calculated */\n/* styles */\n.gt-container {\n  -webkit-box-sizing: border-box;\n  box-sizing: border-box;\n  font-size: 16px;\n  /* loader */\n  /* error */\n  /* initing */\n  /* no int */\n  /* link */\n  /* meta */\n  /* popup */\n  /* header */\n  /* comments */\n  /* comment */\n}\n.gt-container * {\n  -webkit-box-sizing: border-box;\n  box-sizing: border-box;\n}\n.gt-container a {\n  color: #6190e8;\n}\n.gt-container a:hover {\n  color: #81a6ed;\n  border-color: #81a6ed;\n}\n.gt-container a.is--active {\n  color: #333;\n  cursor: default !important;\n}\n.gt-container a.is--active:hover {\n  color: #333;\n}\n.gt-container .hide {\n  display: none !important;\n}\n.gt-container .gt-svg {\n  display: inline-block;\n  width: 1em;\n  height: 1em;\n  vertical-align: sub;\n}\n.gt-container .gt-svg svg {\n  width: 100%;\n  height: 100%;\n  fill: #6190e8;\n}\n.gt-container .gt-ico {\n  display: inline-block;\n}\n.gt-container .gt-ico-text {\n  margin-left: 0.3125em;\n}\n.gt-container .gt-ico-github {\n  width: 100%;\n  height: 100%;\n}\n.gt-container .gt-ico-github .gt-svg {\n  width: 100%;\n  height: 100%;\n}\n.gt-container .gt-ico-github svg {\n  fill: inherit;\n}\n.gt-container .gt-spinner {\n  position: relative;\n}\n.gt-container .gt-spinner::before {\n  content: '';\n  -webkit-box-sizing: border-box;\n  box-sizing: border-box;\n  position: absolute;\n  top: 3px;\n  width: 0.75em;\n  height: 0.75em;\n  margin-top: -0.1875em;\n  margin-left: -0.375em;\n  border-radius: 50%;\n  border: 1px solid #fff;\n  border-top-color: #6190e8;\n  -webkit-animation: gt-kf-rotate 0.6s linear infinite;\n  animation: gt-kf-rotate 0.6s linear infinite;\n}\n.gt-container .gt-loader {\n  position: relative;\n  border: 1px solid #999;\n  -webkit-animation: ease gt-kf-rotate 1.5s infinite;\n  animation: ease gt-kf-rotate 1.5s infinite;\n  display: inline-block;\n  font-style: normal;\n  width: 1.75em;\n  height: 1.75em;\n  line-height: 1.75em;\n  border-radius: 50%;\n}\n.gt-container .gt-loader:before {\n  content: '';\n  position: absolute;\n  display: block;\n  top: 0;\n  left: 50%;\n  margin-top: -0.1875em;\n  margin-left: -0.1875em;\n  width: 0.375em;\n  height: 0.375em;\n  background-color: #999;\n  border-radius: 50%;\n}\n.gt-container .gt-avatar {\n  display: inline-block;\n  width: 3.125em;\n  height: 3.125em;\n}\n@media (max-width: 479px) {\n  .gt-container .gt-avatar {\n    width: 2em;\n    height: 2em;\n  }\n}\n.gt-container .gt-avatar img {\n  width: 100%;\n  height: auto;\n  border-radius: 3px;\n}\n.gt-container .gt-avatar-github {\n  width: 3em;\n  height: 3em;\n}\n@media (max-width: 479px) {\n  .gt-container .gt-avatar-github {\n    width: 1.875em;\n    height: 1.875em;\n  }\n}\n.gt-container .gt-btn {\n  padding: 0.75em 1.25em;\n  display: inline-block;\n  line-height: 1;\n  text-decoration: none;\n  white-space: nowrap;\n  cursor: pointer;\n  border: 1px solid #6190e8;\n  border-radius: 5px;\n  background-color: #6190e8;\n  color: #fff;\n  outline: none;\n  font-size: 0.75em;\n}\n.gt-container .gt-btn-text {\n  font-weight: 400;\n}\n.gt-container .gt-btn-loading {\n  position: relative;\n  margin-left: 0.5em;\n  display: inline-block;\n  width: 0.75em;\n  height: 1em;\n  vertical-align: top;\n}\n.gt-container .gt-btn.is--disable {\n  cursor: not-allowed;\n  opacity: 0.5;\n}\n.gt-container .gt-btn-login {\n  margin-right: 0;\n}\n.gt-container .gt-btn-preview {\n  background-color: #fff;\n  color: #6190e8;\n}\n.gt-container .gt-btn-preview:hover {\n  background-color: #f2f2f2;\n  border-color: #81a6ed;\n}\n.gt-container .gt-btn-public:hover {\n  background-color: #81a6ed;\n  border-color: #81a6ed;\n}\n.gt-container .gt-error {\n  text-align: center;\n  margin: 0.625em;\n  color: #ff3860;\n}\n.gt-container .gt-initing {\n  padding: 1.25em 0;\n  text-align: center;\n}\n.gt-container .gt-initing-text {\n  margin: 0.625em auto;\n  font-size: 92%;\n}\n.gt-container .gt-no-init {\n  padding: 1.25em 0;\n  text-align: center;\n}\n.gt-container .gt-link {\n  border-bottom: 1px dotted #6190e8;\n}\n.gt-container .gt-link-counts,\n.gt-container .gt-link-project {\n  text-decoration: none;\n}\n.gt-container .gt-meta {\n  margin: 1.25em 0;\n  padding: 1em 0;\n  position: relative;\n  border-bottom: 1px solid #e9e9e9;\n  font-size: 1em;\n  position: relative;\n  z-index: 10;\n}\n.gt-container .gt-meta:before,\n.gt-container .gt-meta:after {\n  content: \" \";\n  display: table;\n}\n.gt-container .gt-meta:after {\n  clear: both;\n}\n.gt-container .gt-counts {\n  margin: 0 0.625em 0 0;\n}\n.gt-container .gt-user {\n  float: right;\n  margin: 0;\n  font-size: 92%;\n}\n.gt-container .gt-user-pic {\n  width: 16px;\n  height: 16px;\n  vertical-align: top;\n  margin-right: 0.5em;\n}\n.gt-container .gt-user-inner {\n  display: inline-block;\n  cursor: pointer;\n}\n.gt-container .gt-user .gt-ico {\n  margin: 0 0 0 0.3125em;\n}\n.gt-container .gt-user .gt-ico svg {\n  fill: inherit;\n}\n.gt-container .gt-user .is--poping .gt-ico svg {\n  fill: #6190e8;\n}\n.gt-container .gt-version {\n  color: #a1a1a1;\n  margin-left: 0.375em;\n}\n.gt-container .gt-copyright {\n  margin: 0 0.9375em 0.5em;\n  border-top: 1px solid #e9e9e9;\n  padding-top: 0.5em;\n}\n.gt-container .gt-popup {\n  position: absolute;\n  right: 0;\n  top: 2.375em;\n  background: #fff;\n  display: inline-block;\n  border: 1px solid #e9e9e9;\n  padding: 0.625em 0;\n  font-size: 0.875em;\n  letter-spacing: 0.5px;\n}\n.gt-container .gt-popup .gt-action {\n  cursor: pointer;\n  display: block;\n  margin: 0.5em 0;\n  padding: 0 1.125em;\n  position: relative;\n  text-decoration: none;\n}\n.gt-container .gt-popup .gt-action.is--active:before {\n  content: '';\n  width: 0.25em;\n  height: 0.25em;\n  background: #6190e8;\n  position: absolute;\n  left: 0.5em;\n  top: 0.4375em;\n}\n.gt-container .gt-header {\n  position: relative;\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n}\n.gt-container .gt-header-comment {\n  -webkit-box-flex: 1;\n  -ms-flex: 1;\n  flex: 1;\n  margin-left: 1.25em;\n}\n@media (max-width: 479px) {\n  .gt-container .gt-header-comment {\n    margin-left: 0.875em;\n  }\n}\n.gt-container .gt-header-textarea {\n  padding: 0.75em;\n  display: block;\n  -webkit-box-sizing: border-box;\n  box-sizing: border-box;\n  width: 100%;\n  min-height: 5.125em;\n  max-height: 15em;\n  border-radius: 5px;\n  border: 1px solid rgba(0,0,0,0.1);\n  font-size: 0.875em;\n  word-wrap: break-word;\n  resize: vertical;\n  background-color: #f6f6f6;\n  outline: none;\n  -webkit-transition: all 0.25s ease;\n  transition: all 0.25s ease;\n}\n.gt-container .gt-header-textarea:hover {\n  background-color: #fbfbfb;\n}\n.gt-container .gt-header-preview {\n  padding: 0.75em;\n  border-radius: 5px;\n  border: 1px solid rgba(0,0,0,0.1);\n  background-color: #f6f6f6;\n}\n.gt-container .gt-header-controls {\n  position: relative;\n  margin: 0.75em 0 0;\n}\n.gt-container .gt-header-controls:before,\n.gt-container .gt-header-controls:after {\n  content: \" \";\n  display: table;\n}\n.gt-container .gt-header-controls:after {\n  clear: both;\n}\n@media (max-width: 479px) {\n  .gt-container .gt-header-controls {\n    margin: 0;\n  }\n}\n.gt-container .gt-header-controls-tip {\n  font-size: 0.875em;\n  color: #6190e8;\n  text-decoration: none;\n  vertical-align: sub;\n}\n@media (max-width: 479px) {\n  .gt-container .gt-header-controls-tip {\n    display: none;\n  }\n}\n.gt-container .gt-header-controls .gt-btn {\n  float: right;\n  margin-left: 1.25em;\n}\n@media (max-width: 479px) {\n  .gt-container .gt-header-controls .gt-btn {\n    float: none;\n    width: 100%;\n    margin: 0.75em 0 0;\n  }\n}\n.gt-container:after {\n  content: '';\n  position: fixed;\n  bottom: 100%;\n  left: 0;\n  right: 0;\n  top: 0;\n  opacity: 0;\n}\n.gt-container.gt-input-focused {\n  position: relative;\n}\n.gt-container.gt-input-focused:after {\n  content: '';\n  position: fixed;\n  bottom: 0%;\n  left: 0;\n  right: 0;\n  top: 0;\n  background: #000;\n  opacity: 0.6;\n  -webkit-transition: opacity 0.3s, bottom 0s;\n  transition: opacity 0.3s, bottom 0s;\n  z-index: 9999;\n}\n.gt-container.gt-input-focused .gt-header-comment {\n  z-index: 10000;\n}\n.gt-container .gt-comments {\n  padding-top: 1.25em;\n}\n.gt-container .gt-comments-null {\n  text-align: center;\n}\n.gt-container .gt-comments-controls {\n  margin: 1.25em 0;\n  text-align: center;\n}\n.gt-container .gt-comment {\n  position: relative;\n  padding: 0.625em 0;\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n}\n.gt-container .gt-comment-content {\n  -webkit-box-flex: 1;\n  -ms-flex: 1;\n  flex: 1;\n  margin-left: 1.25em;\n  padding: 0.75em 1em;\n  background-color: #f9f9f9;\n  overflow: auto;\n  -webkit-transition: all ease 0.25s;\n  transition: all ease 0.25s;\n}\n.gt-container .gt-comment-content:hover {\n  -webkit-box-shadow: 0 0.625em 3.75em 0 #f4f4f4;\n  box-shadow: 0 0.625em 3.75em 0 #f4f4f4;\n}\n@media (max-width: 479px) {\n  .gt-container .gt-comment-content {\n    margin-left: 0.875em;\n    padding: 0.625em 0.75em;\n  }\n}\n.gt-container .gt-comment-header {\n  margin-bottom: 0.5em;\n  font-size: 0.875em;\n  position: relative;\n}\n.gt-container .gt-comment-block-1 {\n  float: right;\n  height: 1.375em;\n  width: 2em;\n}\n.gt-container .gt-comment-block-2 {\n  float: right;\n  height: 1.375em;\n  width: 4em;\n}\n.gt-container .gt-comment-username {\n  font-weight: 500;\n  color: #6190e8;\n  text-decoration: none;\n}\n.gt-container .gt-comment-username:hover {\n  text-decoration: underline;\n}\n.gt-container .gt-comment-text {\n  margin-left: 0.5em;\n  color: #a1a1a1;\n}\n.gt-container .gt-comment-date {\n  margin-left: 0.5em;\n  color: #a1a1a1;\n}\n.gt-container .gt-comment-like,\n.gt-container .gt-comment-edit,\n.gt-container .gt-comment-reply {\n  position: absolute;\n  height: 1.375em;\n}\n.gt-container .gt-comment-like:hover,\n.gt-container .gt-comment-edit:hover,\n.gt-container .gt-comment-reply:hover {\n  cursor: pointer;\n}\n.gt-container .gt-comment-like {\n  top: 0;\n  right: 2em;\n}\n.gt-container .gt-comment-edit,\n.gt-container .gt-comment-reply {\n  top: 0;\n  right: 0;\n}\n.gt-container .gt-comment-body {\n  color: #333 !important;\n}\n.gt-container .gt-comment-body .email-hidden-toggle a {\n  display: inline-block;\n  height: 12px;\n  padding: 0 9px;\n  font-size: 12px;\n  font-weight: 600;\n  line-height: 6px;\n  color: #444d56;\n  text-decoration: none;\n  vertical-align: middle;\n  background: #dfe2e5;\n  border-radius: 1px;\n}\n.gt-container .gt-comment-body .email-hidden-toggle a:hover {\n  background-color: #c6cbd1;\n}\n.gt-container .gt-comment-body .email-hidden-reply {\n  display: none;\n  white-space: pre-wrap;\n}\n.gt-container .gt-comment-body .email-hidden-reply .email-signature-reply {\n  padding: 0 15px;\n  margin: 15px 0;\n  color: #586069;\n  border-left: 4px solid #dfe2e5;\n}\n.gt-container .gt-comment-body .email-hidden-reply.expanded {\n  display: block;\n}\n.gt-container .gt-comment-admin .gt-comment-content {\n  background-color: #f6f9fe;\n}\n@-webkit-keyframes gt-kf-rotate {\n  0% {\n    -webkit-transform: rotate(0);\n    transform: rotate(0);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n@keyframes gt-kf-rotate {\n  0% {\n    -webkit-transform: rotate(0);\n    transform: rotate(0);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n"
  },
  {
    "path": "source/css/highlight-dark.styl",
    "content": "if hexo-config(\"code.highlight.enable\") && hexo-config(\"dark_mode.enable\")\n  if hexo-config(\"code.highlight.highlightjs.dark.file\")\n    @require hexo-config(\"code.highlight.highlightjs.dark.file\")\n\n  if hexo-config(\"code.highlight.prismjs.dark.file\")\n    @require hexo-config(\"code.highlight.prismjs.dark.file\")\n"
  },
  {
    "path": "source/css/highlight.styl",
    "content": "if hexo-config(\"code.highlight.enable\")\n  if hexo-config(\"code.highlight.highlightjs.light.file\")\n    @require hexo-config(\"code.highlight.highlightjs.light.file\")\n\n  if hexo-config(\"code.highlight.prismjs.light.file\")\n    @require hexo-config(\"code.highlight.prismjs.light.file\")\n"
  },
  {
    "path": "source/css/main.styl",
    "content": "// --------------------------------------\n// Fluid\n// https://github.com/fluid-dev/hexo-theme-fluid\n// --------------------------------------\n\n@import \"_variables/base\"\nfor $inject_variable in hexo-config(\"injects.variable\")\n  @import $inject_variable;\n\n@import \"_functions/base\"\n\n@import \"_mixins/base\"\nfor $inject_mixin in hexo-config(\"injects.mixin\")\n  @import $inject_mixin;\n\n@import \"_pages/pages\"\n\nfor $inject_style in hexo-config(\"injects.style\")\n  @import $inject_style;\n"
  },
  {
    "path": "source/js/boot.js",
    "content": "/* global Fluid */\n\nFluid.boot = {};\n\nFluid.boot.registerEvents = function() {\n  Fluid.events.billboard();\n  Fluid.events.registerNavbarEvent();\n  Fluid.events.registerParallaxEvent();\n  Fluid.events.registerScrollDownArrowEvent();\n  Fluid.events.registerScrollTopArrowEvent();\n  Fluid.events.registerImageLoadedEvent();\n};\n\nFluid.boot.refresh = function() {\n  Fluid.plugins.fancyBox();\n  Fluid.plugins.codeWidget();\n  Fluid.events.refresh();\n};\n\ndocument.addEventListener('DOMContentLoaded', function() {\n  Fluid.boot.registerEvents();\n});\n"
  },
  {
    "path": "source/js/color-schema.js",
    "content": "/* global Fluid */\n\n/**\n * Modified from https://blog.skk.moe/post/hello-darkmode-my-old-friend/\n */\n(function(window, document) {\n  var rootElement = document.documentElement;\n  var colorSchemaStorageKey = 'Fluid_Color_Scheme';\n  var colorSchemaMediaQueryKey = '--color-mode';\n  var userColorSchemaAttributeName = 'data-user-color-scheme';\n  var defaultColorSchemaAttributeName = 'data-default-color-scheme';\n  var colorToggleButtonSelector = '#color-toggle-btn';\n  var colorToggleIconSelector = '#color-toggle-icon';\n  var iframeSelector = 'iframe';\n\n  function setLS(k, v) {\n    try {\n      localStorage.setItem(k, v);\n    } catch (e) {}\n  }\n\n  function removeLS(k) {\n    try {\n      localStorage.removeItem(k);\n    } catch (e) {}\n  }\n\n  function getLS(k) {\n    try {\n      return localStorage.getItem(k);\n    } catch (e) {\n      return null;\n    }\n  }\n\n  function getSchemaFromHTML() {\n    var res = rootElement.getAttribute(defaultColorSchemaAttributeName);\n    if (typeof res === 'string') {\n      return res.replace(/[\"'\\s]/g, '');\n    }\n    return null;\n  }\n\n  function getSchemaFromCSSMediaQuery() {\n    var res = getComputedStyle(rootElement).getPropertyValue(\n      colorSchemaMediaQueryKey\n    );\n    if (typeof res === 'string') {\n      return res.replace(/[\"'\\s]/g, '');\n    }\n    return null;\n  }\n\n  function resetSchemaAttributeAndLS() {\n    rootElement.setAttribute(userColorSchemaAttributeName, getDefaultColorSchema());\n    removeLS(colorSchemaStorageKey);\n  }\n\n  var validColorSchemaKeys = {\n    dark : true,\n    light: true\n  };\n\n  function getDefaultColorSchema() {\n    // 取默认字段的值\n    var schema = getSchemaFromHTML();\n    // 如果明确指定了 schema 则返回\n    if (validColorSchemaKeys[schema]) {\n      return schema;\n    }\n    // 默认优先按 prefers-color-scheme\n    schema = getSchemaFromCSSMediaQuery();\n    if (validColorSchemaKeys[schema]) {\n      return schema;\n    }\n    // 否则按本地时间是否大于 18 点或凌晨 0 ~ 6 点\n    var hours = new Date().getHours();\n    if (hours >= 18 || (hours >= 0 && hours <= 6)) {\n      return 'dark';\n    }\n    return 'light';\n  }\n\n  function applyCustomColorSchemaSettings(schema) {\n    // 接受从「开关」处传来的模式，或者从 localStorage 读取，否则按默认设置值\n    var current = schema || getLS(colorSchemaStorageKey) || getDefaultColorSchema();\n\n    if (current === getDefaultColorSchema()) {\n      // 当用户切换的显示模式和默认模式相同时，则恢复为自动模式\n      resetSchemaAttributeAndLS();\n    } else if (validColorSchemaKeys[current]) {\n      rootElement.setAttribute(\n        userColorSchemaAttributeName,\n        current\n      );\n    } else {\n      // 特殊情况重置\n      resetSchemaAttributeAndLS();\n      return;\n    }\n\n    // 根据当前模式设置图标\n    setButtonIcon(current);\n\n    // 设置代码高亮\n    setHighlightCSS(current);\n\n    // 设置其他应用\n    setApplications(current);\n  }\n\n  var invertColorSchemaObj = {\n    dark : 'light',\n    light: 'dark'\n  };\n\n  function getIconClass(scheme) {\n    return 'icon-' + scheme;\n  }\n\n  function toggleCustomColorSchema() {\n    var currentSetting = getLS(colorSchemaStorageKey);\n\n    if (validColorSchemaKeys[currentSetting]) {\n      // 从 localStorage 中读取模式，并取相反的模式\n      currentSetting = invertColorSchemaObj[currentSetting];\n    } else if (currentSetting === null) {\n      // 当 localStorage 中没有相关值，或者 localStorage 抛了 Error\n      // 先按照按钮的状态进行切换\n      var iconElement = document.querySelector(colorToggleIconSelector);\n      if (iconElement) {\n        currentSetting = iconElement.getAttribute('data');\n      }\n      if (!iconElement || !validColorSchemaKeys[currentSetting]) {\n        // 当 localStorage 中没有相关值，或者 localStorage 抛了 Error，则读取默认值并切换到相反的模式\n        currentSetting = invertColorSchemaObj[getSchemaFromCSSMediaQuery()];\n      }\n    } else {\n      return;\n    }\n    // 将相反的模式写入 localStorage\n    setLS(colorSchemaStorageKey, currentSetting);\n\n    return currentSetting;\n  }\n\n  function setButtonIcon(schema) {\n    if (validColorSchemaKeys[schema]) {\n      // 切换图标\n      var icon = getIconClass('dark');\n      if (schema) {\n        icon = getIconClass(schema);\n      }\n      var iconElement = document.querySelector(colorToggleIconSelector);\n      if (iconElement) {\n        iconElement.setAttribute('class', 'iconfont ' + icon);\n        iconElement.setAttribute('data', invertColorSchemaObj[schema]);\n      } else {\n        Fluid.utils.waitElementLoaded(colorToggleIconSelector, function() {\n          var iconElement = document.querySelector(colorToggleIconSelector);\n          if (iconElement) {\n            iconElement.setAttribute('class', 'iconfont ' + icon);\n            iconElement.setAttribute('data', invertColorSchemaObj[schema]);\n          }\n        });\n      }\n\n      // 同步更新移动端按钮文字：light 状态显示\"关灯\"，dark 状态显示\"开灯\"\n      var mobileBtn = document.querySelector('#mobile-color-toggle-btn');\n      if (mobileBtn) {\n        var label = document.querySelector('#mobile-color-toggle-label');\n        if (label) {\n          // schema 是当前模式：light→显示 dark 标签（关灯），dark→显示 light 标签（开灯）\n          label.textContent = schema === 'dark'\n            ? (mobileBtn.getAttribute('data-label-light') || '')\n            : (mobileBtn.getAttribute('data-label-dark') || '');\n        }\n        // 同步图标\n        var mobileIcon = document.querySelector('#mobile-color-toggle-icon');\n        if (mobileIcon) {\n          mobileIcon.setAttribute('class', 'iconfont ' + icon);\n        }\n      }\n\n      if (document.documentElement.getAttribute('data-user-color-scheme')) {\n        var color = getComputedStyle(document.documentElement).getPropertyValue('--navbar-bg-color').trim();\n        document.querySelector('meta[name=\"theme-color\"]').setAttribute('content', color);\n      }\n    }\n  }\n\n  function setHighlightCSS(schema) {\n    // 启用对应的代码高亮的样式\n    var lightCss = document.getElementById('highlight-css');\n    var darkCss = document.getElementById('highlight-css-dark');\n    if (schema === 'dark') {\n      if (darkCss) {\n        darkCss.removeAttribute('disabled');\n      }\n      if (lightCss) {\n        lightCss.setAttribute('disabled', '');\n      }\n    } else {\n      if (lightCss) {\n        lightCss.removeAttribute('disabled');\n      }\n      if (darkCss) {\n        darkCss.setAttribute('disabled', '');\n      }\n    }\n\n    setTimeout(function() {\n      // 设置代码块组件样式\n      document.querySelectorAll('.markdown-body pre').forEach((pre) => {\n        var cls = Fluid.utils.getBackgroundLightness(pre) >= 0 ? 'code-widget-light' : 'code-widget-dark';\n        var widget = pre.querySelector('.code-widget-light, .code-widget-dark');\n        if (widget) {\n          widget.classList.remove('code-widget-light', 'code-widget-dark');\n          widget.classList.add(cls);\n        }\n      });\n    }, 200);\n  }\n\n  function setApplications(schema) {\n    // 设置 remark42 评论主题\n    if (window.REMARK42) {\n      window.REMARK42.changeTheme(schema);\n    }\n\n    // 设置 cusdis 评论主题\n    if (window.CUSDIS) {\n      window.CUSDIS.setTheme(schema);\n    }\n\n    // 设置 utterances 评论主题\n    var utterances = document.querySelector('.utterances-frame');\n    if (utterances) {\n      var utterancesTheme = schema === 'dark' ? window.UtterancesThemeDark : window.UtterancesThemeLight;\n      const message = {\n        type : 'set-theme',\n        theme: utterancesTheme\n      };\n      utterances.contentWindow.postMessage(message, 'https://utteranc.es');\n    }\n\n    // 设置 giscus 评论主题\n    var giscus = document.querySelector('iframe.giscus-frame');\n    if (giscus) {\n      var giscusTheme = schema === 'dark' ? window.GiscusThemeDark : window.GiscusThemeLight;\n      const message = {\n        setConfig: {\n          theme: giscusTheme,\n        }\n      };\n      // giscus.style.cssText += 'color-scheme: normal;';\n      giscus.contentWindow.postMessage({ 'giscus': message }, 'https://giscus.app');\n    }\n  }\n\n  // 当页面加载时，将显示模式设置为 localStorage 中自定义的值（如果有的话）\n  applyCustomColorSchemaSettings();\n\n  Fluid.utils.waitElementLoaded(colorToggleIconSelector, function() {\n    applyCustomColorSchemaSettings();\n    var button = document.querySelector(colorToggleButtonSelector);\n    if (button) {\n      // 当用户点击切换按钮时，获得新的显示模式、写入 localStorage、并在页面上生效\n      button.addEventListener('click', function() {\n        applyCustomColorSchemaSettings(toggleCustomColorSchema());\n      });\n      var icon = document.querySelector(colorToggleIconSelector);\n      if (icon) {\n        // 光标悬停在按钮上时，切换图标\n        button.addEventListener('mouseenter', function() {\n          var current = icon.getAttribute('data');\n          icon.classList.replace(getIconClass(invertColorSchemaObj[current]), getIconClass(current));\n        });\n        button.addEventListener('mouseleave', function() {\n          var current = icon.getAttribute('data');\n          icon.classList.replace(getIconClass(current), getIconClass(invertColorSchemaObj[current]));\n        });\n      }\n    }\n\n    // 绑定移动端菜单按钮的事件\n    var mobileButton = document.querySelector('#mobile-color-toggle-btn');\n    if (mobileButton) {\n      mobileButton.addEventListener('click', function() {\n        applyCustomColorSchemaSettings(toggleCustomColorSchema());\n      });\n    }\n  });\n\n  Fluid.utils.waitElementLoaded(iframeSelector, function() {\n    applyCustomColorSchemaSettings();\n  });\n\n})(window, document);\n"
  },
  {
    "path": "source/js/events.js",
    "content": "/* global Fluid */\n\nHTMLElement.prototype.wrap = function(wrapper) {\n  this.parentNode.insertBefore(wrapper, this);\n  this.parentNode.removeChild(this);\n  wrapper.appendChild(this);\n};\n\nFluid.events = {\n\n  registerNavbarEvent: function() {\n    var navbar = jQuery('#navbar');\n    if (navbar.length === 0) {\n      return;\n    }\n    var submenu = jQuery('#navbar .dropdown-menu');\n    if (navbar.offset().top > 0) {\n      navbar.removeClass('navbar-dark');\n      submenu.removeClass('navbar-dark');\n    }\n    Fluid.utils.listenScroll(function() {\n      navbar[navbar.offset().top > 50 ? 'addClass' : 'removeClass']('top-nav-collapse');\n      submenu[navbar.offset().top > 50 ? 'addClass' : 'removeClass']('dropdown-collapse');\n      if (navbar.offset().top > 0) {\n        navbar.removeClass('navbar-dark');\n        submenu.removeClass('navbar-dark');\n      } else {\n        navbar.addClass('navbar-dark');\n        submenu.removeClass('navbar-dark');\n      }\n    });\n\n    var mobileGridMenu = jQuery('#mobile-grid-menu');\n\n    jQuery('#navbar-toggler-btn').on('click', function() {\n      var $this = jQuery(this);\n      if ($this.data('animating')) {\n        return;\n      }\n      $this.data('animating', true);\n      jQuery('.animated-icon').toggleClass('open');\n\n      // On mobile use grid menu; on desktop keep original collapse behavior\n      if (window.innerWidth < 992) {\n        navbar.addClass('top-nav-collapse');\n        mobileGridMenu.toggleClass('show');\n        // Apply staggered animation delays when opening\n        if (mobileGridMenu.hasClass('show')) {\n          mobileGridMenu.find('.mobile-grid-cell, .mobile-grid-group-header').each(function(i, el) {\n            el.style.animationDelay = (i * 20) + 'ms';\n          });\n        }\n        // Prevent body scroll when menu is open\n        jQuery('body').toggleClass('mobile-menu-open', mobileGridMenu.hasClass('show'));\n      } else {\n        jQuery('#navbar').toggleClass('navbar-col-show');\n      }\n\n      setTimeout(function() {\n        $this.data('animating', false);\n      }, 300);\n    });\n\n    // Close grid menu when a link inside it is clicked\n    mobileGridMenu.on('click', 'a[href]:not([href=\"javascript:;\"])', function() {\n      mobileGridMenu.removeClass('show');\n      jQuery('.animated-icon').removeClass('open');\n      jQuery('body').removeClass('mobile-menu-open');\n      navbar.removeClass('top-nav-collapse');\n      jQuery('#navbar-toggler-btn').data('animating', false);\n    });\n\n    // Close grid menu on resize to desktop\n    jQuery(window).on('resize', function() {\n      if (window.innerWidth >= 992 && mobileGridMenu.hasClass('show')) {\n        mobileGridMenu.removeClass('show');\n        jQuery('.animated-icon').removeClass('open');\n        jQuery('body').removeClass('mobile-menu-open');\n      }\n    });\n  },\n\n  registerParallaxEvent: function() {\n    var ph = jQuery('#banner[parallax=\"true\"]');\n    if (ph.length === 0) {\n      return;\n    }\n    var board = jQuery('#board');\n    if (board.length === 0) {\n      return;\n    }\n    var parallax = function() {\n      var pxv = jQuery(window).scrollTop() / 5;\n      var offset = parseInt(board.css('margin-top'), 10);\n      var max = 96 + offset;\n      if (pxv > max) {\n        pxv = max;\n      }\n      ph.css({\n        transform: 'translate3d(0,' + pxv + 'px,0)'\n      });\n      var sideCol = jQuery('.side-col');\n      if (sideCol) {\n        sideCol.css({\n          'padding-top': pxv + 'px'\n        });\n      }\n    };\n    Fluid.utils.listenScroll(parallax);\n  },\n\n  registerScrollDownArrowEvent: function() {\n    var scrollbar = jQuery('.scroll-down-bar');\n    if (scrollbar.length === 0) {\n      return;\n    }\n    scrollbar.on('click', function() {\n      Fluid.utils.scrollToElement('#board', -jQuery('#navbar').height());\n    });\n  },\n\n  registerScrollTopArrowEvent: function() {\n    var topArrow = jQuery('#scroll-top-button');\n    if (topArrow.length === 0) {\n      return;\n    }\n    var board = jQuery('#board');\n    if (board.length === 0) {\n      return;\n    }\n    var posDisplay = false;\n    var scrollDisplay = false;\n    // Position\n    var setTopArrowPos = function() {\n      var boardRight = board[0].getClientRects()[0].right;\n      var bodyWidth = document.body.offsetWidth;\n      var right = bodyWidth - boardRight;\n      posDisplay = right >= 50;\n      topArrow.css({\n        'bottom': posDisplay && scrollDisplay ? '20px' : '-60px',\n        'right' : right - 64 + 'px'\n      });\n    };\n    setTopArrowPos();\n    jQuery(window).resize(setTopArrowPos);\n    // Display\n    var headerHeight = board.offset().top;\n    Fluid.utils.listenScroll(function() {\n      var scrollHeight = document.body.scrollTop + document.documentElement.scrollTop;\n      scrollDisplay = scrollHeight >= headerHeight;\n      topArrow.css({\n        'bottom': posDisplay && scrollDisplay ? '20px' : '-60px'\n      });\n    });\n    // Click\n    topArrow.on('click', function() {\n      jQuery('body,html').animate({\n        scrollTop: 0,\n        easing   : 'swing'\n      });\n    });\n  },\n\n  registerImageLoadedEvent: function() {\n    if (!('NProgress' in window)) { return; }\n\n    var bg = document.getElementById('banner');\n    if (bg) {\n      var src = bg.style.backgroundImage;\n      var url = src.match(/\\((.*?)\\)/)[1].replace(/(['\"])/g, '');\n      var img = new Image();\n      img.onload = function() {\n        window.NProgress && window.NProgress.status !== null && window.NProgress.inc(0.2);\n      };\n      img.src = url;\n      if (img.complete) { img.onload(); }\n    }\n\n    var notLazyImages = jQuery('main img:not([lazyload])');\n    var total = notLazyImages.length;\n    for (const img of notLazyImages) {\n      const old = img.onload;\n      img.onload = function() {\n        old && old();\n        window.NProgress && window.NProgress.status !== null && window.NProgress.inc(0.5 / total);\n      };\n      if (img.complete) { img.onload(); }\n    }\n  },\n\n  registerRefreshCallback: function(callback) {\n    if (!Array.isArray(Fluid.events._refreshCallbacks)) {\n      Fluid.events._refreshCallbacks = [];\n    }\n    Fluid.events._refreshCallbacks.push(callback);\n  },\n\n  refresh: function() {\n    if (Array.isArray(Fluid.events._refreshCallbacks)) {\n      for (var callback of Fluid.events._refreshCallbacks) {\n        if (callback instanceof Function) {\n          callback();\n        }\n      }\n    }\n  },\n\n  billboard: function() {\n    if (!('console' in window)) {\n      return;\n    }\n    // eslint-disable-next-line no-console\n    console.log(`\n-------------------------------------------------\n|                                               |\n|      ________  __            _        __      |\n|     |_   __  |[  |          (_)      |  ]     |\n|       | |_ \\\\_| | | __   _   __   .--.| |      |\n|       |  _|    | |[  | | | [  |/ /'\\`\\\\' |      |\n|      _| |_     | | | \\\\_/ |, | || \\\\__/  |      |\n|     |_____|   [___]'.__.'_/[___]'.__.;__]     |\n|                                               |\n|            Powered by Hexo x Fluid            |\n| https://github.com/fluid-dev/hexo-theme-fluid |\n|                                               |\n-------------------------------------------------\n    `);\n  }\n};\n"
  },
  {
    "path": "source/js/img-lazyload.js",
    "content": "/* global Fluid, CONFIG */\n\n(function(window, document) {\n  for (const each of document.querySelectorAll('img[lazyload]')) {\n    Fluid.utils.waitElementVisible(each, function() {\n      each.removeAttribute('srcset');\n      each.removeAttribute('lazyload');\n    }, CONFIG.lazyload.offset_factor);\n  }\n})(window, document);\n"
  },
  {
    "path": "source/js/leancloud.js",
    "content": "/* global CONFIG */\n// eslint-disable-next-line no-console\n\n(function(window, document) {\n  // 查询存储的记录\n  function getRecord(Counter, target) {\n    return new Promise(function(resolve, reject) {\n      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ target })))\n        .then(resp => resp.json())\n        .then(({ results, code, error }) => {\n          if (code === 401) {\n            throw error;\n          }\n          if (results && results.length > 0) {\n            var record = results[0];\n            resolve(record);\n          } else {\n            Counter('post', '/classes/Counter', { target, time: 0 })\n              .then(resp => resp.json())\n              .then((record, error) => {\n                if (error) {\n                  throw error;\n                }\n                resolve(record);\n              }).catch(error => {\n                console.error('Failed to create: ', error);\n                reject(error);\n              });\n          }\n        }).catch((error) => {\n          console.error('LeanCloud Counter Error: ', error);\n          reject(error);\n        });\n    });\n  }\n\n  // 发起自增请求\n  function increment(Counter, incrArr) {\n    return new Promise(function(resolve, reject) {\n      Counter('post', '/batch', {\n        'requests': incrArr\n      }).then((res) => {\n        res = res.json();\n        if (res.error) {\n          throw res.error;\n        }\n        resolve(res);\n      }).catch((error) => {\n        console.error('Failed to save visitor count: ', error);\n        reject(error);\n      });\n    });\n  }\n\n  // 构建自增请求体\n  function buildIncrement(objectId) {\n    return {\n      'method': 'PUT',\n      'path'  : `/1.1/classes/Counter/${objectId}`,\n      'body'  : {\n        'time': {\n          '__op'  : 'Increment',\n          'amount': 1\n        }\n      }\n    };\n  }\n\n  // 校验是否为有效的 Host\n  function validHost() {\n    if (CONFIG.web_analytics.leancloud.ignore_local) {\n      var hostname = window.location.hostname;\n      if (hostname === 'localhost' || hostname === '127.0.0.1') {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  // 校验是否为有效的 UV\n  function validUV() {\n    var key = 'LeanCloud_UV_Flag';\n    var flag = localStorage.getItem(key);\n    if (flag) {\n      // 距离标记小于 24 小时则不计为 UV\n      if (new Date().getTime() - parseInt(flag, 10) <= 86400000) {\n        return false;\n      }\n    }\n    localStorage.setItem(key, new Date().getTime().toString());\n    return true;\n  }\n\n  function addCount(Counter) {\n    var enableIncr = CONFIG.web_analytics.enable && !Fluid.ctx.dnt && validHost();\n    var getterArr = [];\n    var incrArr = [];\n\n    // 请求 PV 并自增\n    var pvCtn = document.querySelector('#leancloud-site-pv-container');\n    if (pvCtn) {\n      var pvGetter = getRecord(Counter, 'site-pv').then((record) => {\n        enableIncr && incrArr.push(buildIncrement(record.objectId));\n        var ele = document.querySelector('#leancloud-site-pv');\n        if (ele) {\n          ele.innerText = (record.time || 0) + (enableIncr ? 1 : 0);\n          pvCtn.style.display = 'inline';\n        }\n      });\n      getterArr.push(pvGetter);\n    }\n\n    // 请求 UV 并自增\n    var uvCtn = document.querySelector('#leancloud-site-uv-container');\n    if (uvCtn) {\n      var uvGetter = getRecord(Counter, 'site-uv').then((record) => {\n        var incrUV = validUV() && enableIncr;\n        incrUV && incrArr.push(buildIncrement(record.objectId));\n        var ele = document.querySelector('#leancloud-site-uv');\n        if (ele) {\n          ele.innerText = (record.time || 0) + (incrUV ? 1 : 0);\n          uvCtn.style.display = 'inline';\n        }\n      });\n      getterArr.push(uvGetter);\n    }\n\n    // 如果有页面浏览数节点，则请求浏览数并自增\n    var viewCtn = document.querySelector('#leancloud-page-views-container');\n    if (viewCtn) {\n      var path = eval(CONFIG.web_analytics.leancloud.path || 'window.location.pathname');\n      var target = decodeURI(path.replace(/\\/*(index.html)?$/, '/'));\n      var viewGetter = getRecord(Counter, target).then((record) => {\n        enableIncr && incrArr.push(buildIncrement(record.objectId));\n        var ele = document.querySelector('#leancloud-page-views');\n        if (ele) {\n          ele.innerText = (record.time || 0) + (enableIncr ? 1 : 0);\n          viewCtn.style.display = 'inline';\n        }\n      });\n      getterArr.push(viewGetter);\n    }\n\n    // 如果启动计数自增，批量发起自增请求\n    if (enableIncr) {\n      Promise.all(getterArr).then(() => {\n        incrArr.length > 0 && increment(Counter, incrArr);\n      });\n    }\n  }\n\n  var appId = CONFIG.web_analytics.leancloud.app_id;\n  var appKey = CONFIG.web_analytics.leancloud.app_key;\n  var serverUrl = CONFIG.web_analytics.leancloud.server_url;\n\n  if (!appId) {\n    throw new Error('LeanCloud appId is empty');\n  }\n  if (!appKey) {\n    throw new Error('LeanCloud appKey is empty');\n  }\n\n  function fetchData(api_server) {\n    var Counter = (method, url, data) => {\n      return fetch(`${api_server}/1.1${url}`, {\n        method,\n        headers: {\n          'X-LC-Id'     : appId,\n          'X-LC-Key'    : appKey,\n          'Content-Type': 'application/json'\n        },\n        body: JSON.stringify(data)\n      });\n    };\n\n    addCount(Counter);\n  }\n\n  var apiServer = serverUrl || `https://${appId.slice(0, 8).toLowerCase()}.api.lncldglobal.com`;\n\n  if (apiServer) {\n    fetchData(apiServer);\n  } else {\n    fetch('https://app-router.leancloud.cn/2/route?appId=' + appId)\n      .then(resp => resp.json())\n      .then((data) => {\n        if (data.api_server) {\n          fetchData('https://' + data.api_server);\n        }\n      });\n  }\n})(window, document);\n"
  },
  {
    "path": "source/js/local-search.js",
    "content": "/* global CONFIG */\n\n(function() {\n  // Modified from [hexo-generator-search](https://github.com/wzpan/hexo-generator-search)\n  function localSearchFunc(path, searchSelector, resultSelector) {\n    'use strict';\n    // 0x00. environment initialization\n    var $input = jQuery(searchSelector);\n    var $result = jQuery(resultSelector);\n\n    if ($input.length === 0) {\n      // eslint-disable-next-line no-console\n      throw Error('No element selected by the searchSelector');\n    }\n    if ($result.length === 0) {\n      // eslint-disable-next-line no-console\n      throw Error('No element selected by the resultSelector');\n    }\n\n    if ($result.attr('class').indexOf('list-group-item') === -1) {\n      $result.html('<div class=\"m-auto text-center\"><div class=\"spinner-border\" role=\"status\"><span class=\"sr-only\">Loading...</span></div><br/>Loading...</div>');\n    }\n\n    jQuery.ajax({\n      // 0x01. load xml file\n      url     : path,\n      dataType: 'xml',\n      success : function(xmlResponse) {\n        // 0x02. parse xml file\n        var dataList = jQuery('entry', xmlResponse).map(function() {\n          return {\n            title  : jQuery('title', this).text(),\n            content: jQuery('content', this).text(),\n            url    : jQuery('url', this).text()\n          };\n        }).get();\n\n        if ($result.html().indexOf('list-group-item') === -1) {\n          $result.html('');\n        }\n\n        $input.on('input', function() {\n          // 0x03. parse query to keywords list\n          var content = $input.val();\n          var resultHTML = '';\n          var keywords = content.trim().toLowerCase().split(/[\\s-]+/);\n          $result.html('');\n          if (content.trim().length <= 0) {\n            return $input.removeClass('invalid').removeClass('valid');\n          }\n          // 0x04. perform local searching\n          dataList.forEach(function(data) {\n            var isMatch = true;\n            if (!data.title || data.title.trim() === '') {\n              data.title = 'Untitled';\n            }\n            var orig_data_title = data.title.trim();\n            var data_title = orig_data_title.toLowerCase();\n            var orig_data_content = data.content.trim().replace(/<[^>]+>/g, '');\n            var data_content = orig_data_content.toLowerCase();\n            var data_url = data.url;\n            var index_title = -1;\n            var index_content = -1;\n            var first_occur = -1;\n            // Skip matching when content is included in search and content is empty\n            if (CONFIG.include_content_in_search && data_content === '') {\n              isMatch = false;\n            } else {\n              keywords.forEach(function (keyword, i) {\n                index_title = data_title.indexOf(keyword);\n                index_content = data_content.indexOf(keyword);\n\n                if (index_title < 0 && index_content < 0) {\n                  isMatch = false;\n                } else {\n                  if (index_content < 0) {\n                    index_content = 0;\n                  }\n                  if (i === 0) {\n                    first_occur = index_content;\n                  }\n                }\n              });\n            }\n            // 0x05. show search results\n            if (isMatch) {\n              resultHTML += '<a href=\\'' + data_url + '\\' class=\\'list-group-item list-group-item-action font-weight-bolder search-list-title\\'>' + orig_data_title + '</a>';\n              var content = orig_data_content;\n              if (first_occur >= 0) {\n                // cut out 100 characters\n                var start = first_occur - 20;\n                var end = first_occur + 80;\n\n                if (start < 0) {\n                  start = 0;\n                }\n\n                if (start === 0) {\n                  end = 100;\n                }\n\n                if (end > content.length) {\n                  end = content.length;\n                }\n\n                var match_content = content.substring(start, end);\n\n                // highlight all keywords\n                keywords.forEach(function(keyword) {\n                  var regS = new RegExp(keyword, 'gi');\n                  match_content = match_content.replace(regS, '<span class=\"search-word\">' + keyword + '</span>');\n                });\n\n                resultHTML += '<p class=\\'search-list-content\\'>' + match_content + '...</p>';\n              }\n            }\n          });\n          if (resultHTML.indexOf('list-group-item') === -1) {\n            return $input.addClass('invalid').removeClass('valid');\n          }\n          $input.addClass('valid').removeClass('invalid');\n          $result.html(resultHTML);\n        });\n      }\n    });\n  }\n\n  function localSearchReset(searchSelector, resultSelector) {\n    'use strict';\n    var $input = jQuery(searchSelector);\n    var $result = jQuery(resultSelector);\n\n    if ($input.length === 0) {\n      // eslint-disable-next-line no-console\n      throw Error('No element selected by the searchSelector');\n    }\n    if ($result.length === 0) {\n      // eslint-disable-next-line no-console\n      throw Error('No element selected by the resultSelector');\n    }\n\n    $input.val('').removeClass('invalid').removeClass('valid');\n    $result.html('');\n  }\n\n  var modal = jQuery('#modalSearch');\n  var searchSelector = '#local-search-input';\n  var resultSelector = '#local-search-result';\n  modal.on('show.bs.modal', function() {\n    var path = CONFIG.search_path || '/local-search.xml';\n    localSearchFunc(path, searchSelector, resultSelector);\n  });\n  modal.on('shown.bs.modal', function() {\n    jQuery('#local-search-input').focus();\n  });\n  modal.on('hidden.bs.modal', function() {\n    localSearchReset(searchSelector, resultSelector);\n  });\n})();\n"
  },
  {
    "path": "source/js/openkounter.js",
    "content": "/* global CONFIG, Fluid */\n\n(function(window, document) {\n  'use strict';\n\n  // Get server URL from config\n  const API_SERVER = (CONFIG.web_analytics.openkounter && CONFIG.web_analytics.openkounter.server_url) || '';\n\n  if (!API_SERVER) {\n    console.warn('OpenKounter: server_url is not configured');\n    return;\n  }\n\n  function getRecord(target) {\n    return fetch(`${API_SERVER}/api/counter?target=${encodeURIComponent(target)}`)\n      .then(resp => {\n        if (!resp.ok) {\n          throw new Error(`HTTP ${resp.status}: ${resp.statusText}`);\n        }\n        return resp.json();\n      })\n      .then(({ data, code, message }) => {\n        if (code !== 0) {\n          throw new Error(message || 'Unknown error');\n        }\n        return { time: data.time || 0, objectId: data.target };\n      })\n      .catch(error => {\n        console.error('OpenKounter fetch error:', error);\n        return { time: 0, objectId: target };\n      });\n  }\n\n  function increment(incrArr) {\n    if (!incrArr || incrArr.length === 0) {\n      return Promise.resolve([]);\n    }\n\n    return fetch(`${API_SERVER}/api/counter`, {\n      method: 'POST',\n      headers: { 'Content-Type': 'application/json' },\n      body: JSON.stringify({\n        action: 'batch_inc',\n        requests: incrArr\n      })\n    })\n      .then(res => {\n        if (!res.ok) {\n          throw new Error(`HTTP ${res.status}: ${res.statusText}`);\n        }\n        return res.json();\n      })\n      .then(res => {\n        if (res.code !== 0) {\n          throw new Error(res.message || 'Failed to increment counter');\n        }\n        return res.data;\n      })\n      .catch(error => {\n        console.error('OpenKounter increment error:', error);\n      });\n  }\n\n  function buildIncrement(objectId) {\n    return { target: objectId };\n  }\n\n  // 校验是否为有效的主机（排除本地开发环境）\n  function validHost() {\n    const ignoreLocal = CONFIG.web_analytics.openkounter && CONFIG.web_analytics.openkounter.ignore_local;\n    if (ignoreLocal !== false) {\n      const hostname = window.location.hostname;\n      if (hostname === 'localhost' || hostname === '127.0.0.1' || hostname === '[::1]') {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  // 校验是否为有效的独立访客（24小时内只计一次）\n  function validUV() {\n    const key = 'OpenKounter_UV_Flag';\n    const now = Date.now();\n\n    try {\n      const flag = localStorage.getItem(key);\n      if (flag) {\n        const lastVisit = parseInt(flag, 10);\n        // 距离上次访问小于 24 小时则不计为新 UV\n        if (now - lastVisit <= 86400000) {\n          return false;\n        }\n      }\n      localStorage.setItem(key, now.toString());\n    } catch (e) {\n      // localStorage 不可用时默认计为 UV\n      console.warn('OpenKounter: localStorage is not available');\n    }\n    return true;\n  }\n\n  function addCount() {\n    const enableIncr = CONFIG.web_analytics.enable && (!window.Fluid || !Fluid.ctx.dnt) && validHost();\n    const getterArr = [];\n    const incrArr = [];\n\n    // 请求站点 PV 并自增\n    const pvCtn = document.querySelector('#openkounter-site-pv-container');\n    if (pvCtn) {\n      const pvGetter = getRecord('site-pv').then((record) => {\n        if (enableIncr) {\n          incrArr.push(buildIncrement(record.objectId));\n        }\n        const ele = document.querySelector('#openkounter-site-pv');\n        if (ele) {\n          ele.innerText = (record.time || 0) + (enableIncr ? 1 : 0);\n          pvCtn.style.display = 'inline';\n        }\n      });\n      getterArr.push(pvGetter);\n    }\n\n    // 请求站点 UV 并自增\n    const uvCtn = document.querySelector('#openkounter-site-uv-container');\n    if (uvCtn) {\n      const uvGetter = getRecord('site-uv').then((record) => {\n        const incrUV = validUV() && enableIncr;\n        if (incrUV) {\n          incrArr.push(buildIncrement(record.objectId));\n        }\n        const ele = document.querySelector('#openkounter-site-uv');\n        if (ele) {\n          ele.innerText = (record.time || 0) + (incrUV ? 1 : 0);\n          uvCtn.style.display = 'inline';\n        }\n      });\n      getterArr.push(uvGetter);\n    }\n\n    // 请求页面浏览数并自增\n    const viewCtn = document.querySelector('#openkounter-page-views-container');\n    if (viewCtn) {\n      const pathConfig = CONFIG.web_analytics.openkounter.path || 'window.location.pathname';\n      const path = eval(pathConfig);\n      const target = decodeURI(path.replace(/\\/*(index.html)?$/, '/'));\n\n      const viewGetter = getRecord(target).then((record) => {\n        if (enableIncr) {\n          incrArr.push(buildIncrement(record.objectId));\n        }\n        const ele = document.querySelector('#openkounter-page-views');\n        if (ele) {\n          ele.innerText = (record.time || 0) + (enableIncr ? 1 : 0);\n          viewCtn.style.display = 'inline';\n        }\n      });\n      getterArr.push(viewGetter);\n    }\n\n    // 批量发起统计请求\n    Promise.all(getterArr).then(() => {\n      if (enableIncr && incrArr.length > 0) {\n        increment(incrArr);\n      }\n    }).catch(error => {\n      console.error('OpenKounter error:', error);\n    });\n  }\n\n  addCount();\n\n})(window, document);\n\n"
  },
  {
    "path": "source/js/plugins.js",
    "content": "/* global Fluid, CONFIG */\n\nHTMLElement.prototype.wrap = function(wrapper) {\n  this.parentNode.insertBefore(wrapper, this);\n  this.parentNode.removeChild(this);\n  wrapper.appendChild(this);\n};\n\nFluid.plugins = {\n\n  typing: function(text) {\n    if (!('Typed' in window)) { return; }\n\n    var typed = new window.Typed('#subtitle', {\n      strings: [\n        '  ',\n        text\n      ],\n      cursorChar: CONFIG.typing.cursorChar,\n      typeSpeed : CONFIG.typing.typeSpeed,\n      loop      : CONFIG.typing.loop\n    });\n    typed.stop();\n    var subtitle = document.getElementById('subtitle');\n    if (subtitle) {\n      subtitle.innerText = '';\n    }\n    jQuery(document).ready(function() {\n      typed.start();\n    });\n  },\n\n  fancyBox: function(selector) {\n    if (!CONFIG.image_zoom.enable || !('fancybox' in jQuery)) { return; }\n\n    jQuery(selector || '.markdown-body :not(a) > img, .markdown-body > img').each(function() {\n      var $image = jQuery(this);\n      var imageUrl = $image.attr('data-src') || $image.attr('src') || '';\n      if (CONFIG.image_zoom.img_url_replace) {\n        var rep = CONFIG.image_zoom.img_url_replace;\n        var r1 = rep[0] || '';\n        var r2 = rep[1] || '';\n        if (r1) {\n          if (/^re:/.test(r1)) {\n            r1 = r1.replace(/^re:/, '');\n            var reg = new RegExp(r1, 'gi');\n            imageUrl = imageUrl.replace(reg, r2);\n          } else {\n            imageUrl = imageUrl.replace(r1, r2);\n          }\n        }\n      }\n      var $imageWrap = $image.wrap(`\n        <a class=\"fancybox fancybox.image\" href=\"${imageUrl}\"\n          itemscope itemtype=\"http://schema.org/ImageObject\" itemprop=\"url\"></a>`\n      ).parent('a');\n      if ($imageWrap.length !== 0) {\n        if ($image.is('.group-image-container img')) {\n          $imageWrap.attr('data-fancybox', 'group').attr('rel', 'group');\n        } else {\n          $imageWrap.attr('data-fancybox', 'default').attr('rel', 'default');\n        }\n\n        var imageTitle = $image.attr('title') || $image.attr('alt');\n        if (imageTitle) {\n          $imageWrap.attr('title', imageTitle).attr('data-caption', imageTitle);\n        }\n      }\n    });\n\n    jQuery.fancybox.defaults.hash = false;\n    jQuery('.fancybox').fancybox({\n      loop   : true,\n      helpers: {\n        overlay: {\n          locked: false\n        }\n      }\n    });\n  },\n\n  imageCaption: function(selector) {\n    if (!CONFIG.image_caption.enable) { return; }\n\n    jQuery(selector || `.markdown-body > p > img, .markdown-body > figure > img,\n      .markdown-body > p > a.fancybox, .markdown-body > figure > a.fancybox`).each(function() {\n      var $target = jQuery(this);\n      var $figcaption = $target.next('figcaption');\n      if ($figcaption.length !== 0) {\n        $figcaption.addClass('image-caption');\n      } else {\n        var imageTitle = $target.attr('title') || $target.attr('alt');\n        if (imageTitle) {\n          $target.after(`<figcaption aria-hidden=\"true\" class=\"image-caption\">${imageTitle}</figcaption>`);\n        }\n      }\n    });\n  },\n\n  codeWidget() {\n    var enableLang = CONFIG.code_language.enable && CONFIG.code_language.default;\n    var enableCopy = CONFIG.copy_btn && 'ClipboardJS' in window;\n    if (!enableLang && !enableCopy) {\n      return;\n    }\n\n    function getBgClass(ele) {\n      return Fluid.utils.getBackgroundLightness(ele) >= 0 ? 'code-widget-light' : 'code-widget-dark';\n    }\n\n    var copyTmpl = '';\n    copyTmpl += '<div class=\"code-widget\">';\n    copyTmpl += 'LANG';\n    copyTmpl += '</div>';\n    jQuery('.markdown-body pre').each(function() {\n      var $pre = jQuery(this);\n      if ($pre.find('code.mermaid').length > 0) {\n        return;\n      }\n      if ($pre.find('span.line').length > 0) {\n        return;\n      }\n\n      var lang = '';\n\n      if (enableLang) {\n        lang = CONFIG.code_language.default;\n        if ($pre[0].children.length > 0 && $pre[0].children[0].classList.length >= 2 && $pre.children().hasClass('hljs')) {\n          lang = $pre[0].children[0].classList[1];\n        } else if ($pre[0].getAttribute('data-language')) {\n          lang = $pre[0].getAttribute('data-language');\n        } else if ($pre.parent().hasClass('sourceCode') && $pre[0].children.length > 0 && $pre[0].children[0].classList.length >= 2) {\n          lang = $pre[0].children[0].classList[1];\n          $pre.parent().addClass('code-wrapper');\n        } else if ($pre.parent().hasClass('markdown-body') && $pre[0].classList.length === 0) {\n          $pre.wrap('<div class=\"code-wrapper\"></div>');\n        }\n        lang = lang.toUpperCase().replace('NONE', CONFIG.code_language.default);\n      }\n      $pre.append(copyTmpl.replace('LANG', lang).replace('code-widget\">',\n        getBgClass($pre[0]) + (enableCopy ? ' code-widget copy-btn\" data-clipboard-snippet><i class=\"iconfont icon-copy\"></i>' : ' code-widget\">')));\n\n      if (enableCopy) {\n        var clipboard = new ClipboardJS('.copy-btn', {\n          target: function(trigger) {\n            var nodes = trigger.parentNode.childNodes;\n            for (var i = 0; i < nodes.length; i++) {\n              if (nodes[i].tagName === 'CODE') {\n                return nodes[i];\n              }\n            }\n          }\n        });\n        clipboard.on('success', function(e) {\n          e.clearSelection();\n          e.trigger.innerHTML = e.trigger.innerHTML.replace('icon-copy', 'icon-success');\n          setTimeout(function() {\n            e.trigger.innerHTML = e.trigger.innerHTML.replace('icon-success', 'icon-copy');\n          }, 2000);\n        });\n      }\n    });\n  }\n};\n"
  },
  {
    "path": "source/js/umami-view.js",
    "content": "// 从配置文件中获取 umami 的配置\nconst website_id = CONFIG.web_analytics.umami.website_id;\n// 拼接请求地址\nconst request_url = `${CONFIG.web_analytics.umami.api_server}/api/websites/${website_id}/stats`;\n\nconst start_time = new Date(CONFIG.web_analytics.umami.start_time).getTime();\nconst end_time = new Date().getTime();\nconst token = CONFIG.web_analytics.umami.token;\n\n// 检查配置是否为空\nif (!website_id) {\n  throw new Error(\"Umami website_id is empty\");\n}\nif (!request_url) {\n  throw new Error(\"Umami request_url is empty\");\n}\nif (!start_time) {\n  throw new Error(\"Umami start_time is empty\");\n}\nif (!token) {\n  throw new Error(\"Umami token is empty\");\n}\n\n// 构造请求参数\nconst params = new URLSearchParams({\n  startAt: start_time,\n  endAt: end_time,\n});\n// 构造请求头\nconst request_header = {\n  method: \"GET\",\n  headers: {\n    \"Content-Type\": \"application/json\",\n    \"Authorization\": \"Bearer \" + token,\n  },\n};\n\n// 获取站点统计数据\nasync function siteStats() {\n  try {\n    const response = await fetch(`${request_url}?${params}`, request_header);\n    const data = await response.json();\n    const uniqueVisitors = data.visitors.value; // 获取独立访客数\n    const pageViews = data.pageviews.value; // 获取页面浏览量\n\n    let pvCtn = document.querySelector(\"#umami-site-pv-container\");\n    if (pvCtn) {\n      let ele = document.querySelector(\"#umami-site-pv\");\n      if (ele) {\n        ele.textContent = pageViews; // 设置页面浏览量\n        pvCtn.style.display = \"inline\"; // 将元素显示出来\n      }\n    }\n\n    let uvCtn = document.querySelector(\"#umami-site-uv-container\");\n    if (uvCtn) {\n      let ele = document.querySelector(\"#umami-site-uv\");\n      if (ele) {\n        ele.textContent = uniqueVisitors;\n        uvCtn.style.display = \"inline\";\n      }\n    }\n  } catch (error) {\n    console.error(error);\n    return \"-1\";\n  }\n}\n\n// 获取页面浏览量\nasync function pageStats(path) {\n  try {\n    const response = await fetch(`${request_url}?${params}&url=${path}`, request_header);\n    const data = await response.json();\n    const pageViews = data.pageviews.value;\n\n    let viewCtn = document.querySelector(\"#umami-page-views-container\");\n    if (viewCtn) {\n      let ele = document.querySelector(\"#umami-page-views\");\n      if (ele) {\n        ele.textContent = pageViews;\n        viewCtn.style.display = \"inline\";\n      }\n    }\n  } catch (error) {\n    console.error(error);\n    return \"-1\";\n  }\n}\n\nsiteStats();\n\n// 获取页面容器\nlet viewCtn = document.querySelector(\"#umami-page-views-container\");\n// 如果页面容器存在，则获取页面浏览量\nif (viewCtn) {\n  let path = window.location.pathname;\n  let target = path\n    .replace(/(\\/[^/]+\\.html)\\/$/, \"$1\")  // 如果是 '/xxxx.html/' 格式的路径，则去掉最后那个 '/'\n    .replace(/\\/index\\.html$/, \"/\");      // 如果是 '/index.html' 格式，则合并成 '/'\n  pageStats(target);\n}\n"
  },
  {
    "path": "source/js/utils.js",
    "content": "/* global Fluid, CONFIG */\n\nwindow.requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame;\n\nFluid.utils = {\n\n  listenScroll: function(callback) {\n    var dbc = new Debouncer(callback);\n    window.addEventListener('scroll', dbc, false);\n    dbc.handleEvent();\n    return dbc;\n  },\n\n  unlistenScroll: function(callback) {\n    window.removeEventListener('scroll', callback);\n  },\n\n  listenDOMLoaded(callback) {\n    if (document.readyState !== 'loading') {\n      callback();\n    } else {\n      document.addEventListener('DOMContentLoaded', function () {\n        callback();\n      });\n    }\n  },\n\n  scrollToElement: function(target, offset) {\n    var of = jQuery(target).offset();\n    if (of) {\n      jQuery('html,body').animate({\n        scrollTop: of.top + (offset || 0),\n        easing   : 'swing'\n      });\n    }\n  },\n\n  elementVisible: function(element, offsetFactor) {\n    offsetFactor = offsetFactor && offsetFactor >= 0 ? offsetFactor : 0;\n    var rect = element.getBoundingClientRect();\n    var vh = window.innerHeight || document.documentElement.clientHeight;\n    var vw = window.innerWidth || document.documentElement.clientWidth;\n    var expandH = vh * offsetFactor;\n    var expandW = vw * offsetFactor;\n    // 判断元素矩形与视口（上下左右各扩展 offsetFactor 屏）是否有重叠\n    return rect.bottom > -expandH\n      && rect.top < vh + expandH\n      && rect.right > -expandW\n      && rect.left < vw + expandW;\n  },\n\n  waitElementVisible: function(selectorOrElement, callback, offsetFactor) {\n    var runningOnBrowser = typeof window !== 'undefined';\n    var isBot = (runningOnBrowser && !('onscroll' in window))\n      || (typeof navigator !== 'undefined' && /(gle|ing|ro|msn)bot|crawl|spider|yand|duckgo/i.test(navigator.userAgent));\n    if (!runningOnBrowser || isBot) {\n      return;\n    }\n\n    offsetFactor = offsetFactor && offsetFactor >= 0 ? offsetFactor : 0;\n\n    function waitInViewport(element) {\n      Fluid.utils.listenDOMLoaded(function() {\n        if (Fluid.utils.elementVisible(element, offsetFactor)) {\n          callback();\n          return;\n        }\n        if ('IntersectionObserver' in window) {\n          var margin = (window.innerHeight || document.documentElement.clientHeight) * offsetFactor + 'px';\n          var io = new IntersectionObserver(function(entries, ob) {\n            if (entries[0].isIntersecting) {\n              callback();\n              ob.disconnect();\n            }\n          }, {\n            threshold : [0],\n            rootMargin: margin + ' 0px'\n          });\n          io.observe(element);\n        } else {\n          var wrapper = Fluid.utils.listenScroll(function() {\n            if (Fluid.utils.elementVisible(element, offsetFactor)) {\n              Fluid.utils.unlistenScroll(wrapper);\n              callback();\n            }\n          });\n        }\n      });\n    }\n\n    if (typeof selectorOrElement === 'string') {\n      this.waitElementLoaded(selectorOrElement, function(element) {\n        waitInViewport(element);\n      });\n    } else {\n      waitInViewport(selectorOrElement);\n    }\n  },\n\n  waitElementLoaded: function(selector, callback) {\n    var runningOnBrowser = typeof window !== 'undefined';\n    var isBot = (runningOnBrowser && !('onscroll' in window))\n      || (typeof navigator !== 'undefined' && /(gle|ing|ro|msn)bot|crawl|spider|yand|duckgo/i.test(navigator.userAgent));\n    if (!runningOnBrowser || isBot) {\n      return;\n    }\n\n    if ('MutationObserver' in window) {\n      var mo = new MutationObserver(function(records, ob) {\n        var ele = document.querySelector(selector);\n        if (ele) {\n          callback(ele);\n          ob.disconnect();\n        }\n      });\n      mo.observe(document, { childList: true, subtree: true });\n    } else {\n      Fluid.utils.listenDOMLoaded(function() {\n        var waitLoop = function() {\n          var ele = document.querySelector(selector);\n          if (ele) {\n            callback(ele);\n          } else {\n            setTimeout(waitLoop, 100);\n          }\n        };\n        waitLoop();\n      });\n    }\n  },\n\n  createScript: function(url, onload) {\n    var s = document.createElement('script');\n    s.setAttribute('src', url);\n    s.setAttribute('type', 'text/javascript');\n    s.setAttribute('charset', 'UTF-8');\n    s.async = false;\n    if (typeof onload === 'function') {\n      if (window.attachEvent) {\n        s.onreadystatechange = function() {\n          var e = s.readyState;\n          if (e === 'loaded' || e === 'complete') {\n            s.onreadystatechange = null;\n            onload();\n          }\n        };\n      } else {\n        s.onload = onload;\n      }\n    }\n    var ss = document.getElementsByTagName('script');\n    var e = ss.length > 0 ? ss[ss.length - 1] : document.head || document.documentElement;\n    e.parentNode.insertBefore(s, e.nextSibling);\n  },\n\n  createCssLink: function(url) {\n    var l = document.createElement('link');\n    l.setAttribute('rel', 'stylesheet');\n    l.setAttribute('type', 'text/css');\n    l.setAttribute('href', url);\n    var e = document.getElementsByTagName('link')[0]\n      || document.getElementsByTagName('head')[0]\n      || document.head || document.documentElement;\n    e.parentNode.insertBefore(l, e);\n  },\n\n  loadComments: function(selector, loadFunc) {\n    var ele = document.querySelector('#comments[lazyload]');\n    if (ele) {\n      var callback = function() {\n        loadFunc();\n        ele.removeAttribute('lazyload');\n      };\n      Fluid.utils.waitElementVisible(selector, callback, CONFIG.lazyload.offset_factor);\n    } else {\n      loadFunc();\n    }\n  },\n\n  getBackgroundLightness(selectorOrElement) {\n    var ele = selectorOrElement;\n    if (typeof selectorOrElement === 'string') {\n      ele = document.querySelector(selectorOrElement);\n    }\n    var view = ele.ownerDocument.defaultView;\n    if (!view) {\n      view = window;\n    }\n    var rgbArr = view.getComputedStyle(ele).backgroundColor.replace(/rgba*\\(/, '').replace(')', '').split(/,\\s*/);\n    if (rgbArr.length < 3) {\n      return 0;\n    }\n    var colorCast = (0.213 * rgbArr[0]) + (0.715 * rgbArr[1]) + (0.072 * rgbArr[2]);\n    return colorCast === 0 || colorCast > 255 / 2 ? 1 : -1;\n  },\n\n  retry(handler, interval, times) {\n    if (times <= 0) {\n      return;\n    }\n    var next = function() {\n      if (--times >= 0 && !handler()) {\n        setTimeout(next, interval);\n      }\n    };\n    setTimeout(next, interval);\n  }\n\n};\n\n/**\n * Handles debouncing of events via requestAnimationFrame\n * @see http://www.html5rocks.com/en/tutorials/speed/animations/\n * @param {Function} callback The callback to handle whichever event\n */\nfunction Debouncer(callback) {\n  this.callback = callback;\n  this.ticking = false;\n}\n\nDebouncer.prototype = {\n  constructor: Debouncer,\n\n  /**\n   * dispatches the event to the supplied callback\n   * @private\n   */\n  update: function() {\n    this.callback && this.callback();\n    this.ticking = false;\n  },\n\n  /**\n   * ensures events don't get stacked\n   * @private\n   */\n  requestTick: function() {\n    if (!this.ticking) {\n      requestAnimationFrame(this.rafCallback || (this.rafCallback = this.update.bind(this)));\n      this.ticking = true;\n    }\n  },\n\n  /**\n   * Attach this as the event listeners\n   */\n  handleEvent: function() {\n    this.requestTick();\n  }\n};\n"
  },
  {
    "path": "source/xml/local-search.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<search>\n  {% if posts %}\n  {% for post in posts.toArray() %}\n  {% if post.indexing == undefined or post.indexing %}\n  <entry>\n    <title>{{ post.title }}</title>\n    <link href=\"{{ [url, post.path] | urlJoin | uriencode }}\"/>\n    <url>{{ [url, post.path] | urlJoin | uriencode }}</url>\n    {% if content %}\n    <content type=\"html\"><![CDATA[{{ post.content | noControlChars | safe }}]]></content>\n    {% endif %}\n    {% if post.categories and post.categories.length>0 %}\n    <categories>\n      {% for cate in post.categories.toArray() %}\n      <category>{{ cate.name }}</category>\n      {% endfor %}\n    </categories>\n    {% endif %}\n    {% if post.tags and post.tags.length>0 %}\n    <tags>\n      {% for tag in post.tags.toArray() %}\n      <tag>{{ tag.name }}</tag>\n      {% endfor %}\n    </tags>\n    {% endif %}\n  </entry>\n  {% endif %}\n  {% endfor %}\n  {% endif %}\n  {% if pages %}\n  {% for page in pages.toArray() %}\n  {% if post.indexing == undefined or post.indexing %}\n  <entry>\n    <title>{{ page.title }}</title>\n    <link href=\"{{ [url, post.path] | urlJoin | uriencode }}\"/>\n    <url>{{ [url, post.path] | urlJoin | uriencode }}</url>\n    {% if content %}\n    <content type=\"html\"><![CDATA[{{ page.content | noControlChars | safe }}]]></content>\n    {% endif %}\n  </entry>\n  {% endif %}\n  {% endfor %}\n  {% endif %}\n</search>\n"
  }
]