[
  {
    "path": ".gitattributes",
    "content": "*.js linguist-language=Java\n*.css linguist-language=Java\n*.html linguist-language=Java\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/feature_request.md",
    "content": "---\nname: Feature request\nabout: Suggest an idea for this project\ntitle: ''\nlabels: ''\nassignees: ''\n\n---\n\n**Is your feature request related to a problem? Please describe.**\nA clear and concise description of what the problem is. Ex. I'm always frustrated when [...]\n\n**Describe the solution you'd like**\nA clear and concise description of what you want to happen.\n\n**Describe alternatives you've considered**\nA clear and concise description of any alternative solutions or features you've considered.\n\n**Additional context**\nAdd any other context or screenshots about the feature request here.\n"
  },
  {
    "path": ".github/dependabot.yml",
    "content": "# To get started with Dependabot version updates, you'll need to specify which\n# package ecosystems to update and where the package manifests are located.\n# Please see the documentation for all configuration options:\n# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates\n# create\nversion: 2\nupdates:\n  - package-ecosystem: \"\" # See documentation for possible values\n    directory: \"/\" # Location of package manifests\n    schedule:\n      interval: \"weekly\"\n"
  },
  {
    "path": ".gitignore",
    "content": "/target/\n/.idea/\n/blog-dev.log\n/log/\n\n# Node.js dependencies in static resources (security risk)\nsrc/main/resources/static/**/package.json\nsrc/main/resources/static/**/package-lock.json\nsrc/main/resources/static/**/node_modules/"
  },
  {
    "path": "Dockerfile",
    "content": "# SpringBoot AI Blog - Docker 镜像\nFROM openjdk:11-jre-slim\n\n# 作者信息\nLABEL maintainer=\"tangredtea <tangredtea@gmail.com>\"\nLABEL description=\"AI驱动的智能博客系统 - Spring Boot + MyBatis + AI集成\"\n\n# 设置时区\nENV TZ=Asia/Shanghai\nRUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone\n\n# 创建工作目录\nWORKDIR /app\n\n# 将可执行的 jar 包放到容器中\nCOPY target/blog-1.0.0.jar app.jar\n\n# 暴露服务端口\nEXPOSE 8080\n\n# 创建日志目录\nRUN mkdir -p /logs\nVOLUME [\"/logs\"]\n\n# 环境变量配置\nENV JAVA_OPTS=\"-Dfile.encoding=UTF-8 -Duser.timezone=Asia/Shanghai\"\nENV JVM_OPTS=\"-Xmx512m -Xms512m -Xmn256m -XX:+UseG1GC\"\nENV APP_OPTS=\"\"\n\n# AI 配置（可选）\nENV AI_API_KEY=\"\"\nENV AI_API_URL=\"https://api.openai.com/v1/chat/completions\"\nENV AI_MODEL=\"gpt-3.5-turbo\"\n\n# 数据库配置（运行时通过环境变量传入）\nENV DB_HOST=\"mysql\"\nENV DB_PORT=\"3306\"\nENV DB_NAME=\"blog\"\nENV DB_USERNAME=\"root\"\nENV DB_PASSWORD=\"\"\nENV REDIS_HOST=\"redis\"\nENV REDIS_PORT=\"6379\"\nENV REDIS_PASSWORD=\"\"\n\n# 健康检查\nHEALTHCHECK --interval=30s --timeout=3s --start-period=60s --retries=3 \\\n  CMD curl -f http://localhost:8080/actuator/health || exit 1\n\n# 运行程序\nENTRYPOINT [\"sh\", \"-c\", \"java $JAVA_OPTS $JVM_OPTS $APP_OPTS -jar app.jar\"]\n"
  },
  {
    "path": "LICENSE.txt",
    "content": "                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n"
  },
  {
    "path": "README.md",
    "content": "# SpringBoot AI Blog\n\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)\n[![Stars](https://img.shields.io/github/stars/tangredtea/Spring-Blog?style=social)](https://github.com/tangredtea/Spring-Blog/stargazers)\n[![Issues](https://img.shields.io/github/issues/tangredtea/Spring-Blog)](https://github.com/tangredtea/Spring-Blog/issues)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)\n\n> A personal blog system built with Spring Boot + MyBatis, featuring AI-powered content assistance, Redis caching, and a clean admin dashboard.\n\nEnglish | [简体中文](README_CN.md)\n\n---\n\n## Features\n\n### AI Integration\n- **Smart Summary** - Auto-generate article summaries via AI\n- **Tag Suggestions** - AI-recommended tags based on content\n- **Article Scoring** - Quality assessment with improvement suggestions\n- **Smart Search** - Keyword extraction and related article recommendations\n\n### Content Management\n- **Rich Editor** - Markdown editor with live preview\n- **Draft System** - Save unpublished articles as drafts\n- **Category & Tags** - Flexible content organization\n- **Friend Links** - Blogroll management\n- **Comment System** - Valine-based serverless comments\n- **Message Board** - Visitor guestbook\n\n### Admin Dashboard\n- **Statistics Overview** - Article count, views, tags, categories at a glance\n- **AI Status Monitor** - Check AI service availability from dashboard\n- **Quick Actions** - One-click shortcuts for common operations\n- **Recent Articles** - Latest published posts table\n\n### Performance\n- **Redis Caching** - Accelerated page loading\n- **Database Indexing** - Optimized query performance\n- **HikariCP** - High-performance connection pool\n\n### Security\n- **BCrypt Encryption** - Secure password hashing (Spring Security Crypto)\n- **SQL Injection Protection** - MyBatis parameterized queries\n- **Login Interceptor** - Admin route protection\n- **Input Validation** - Bean Validation (JSR-380)\n\n### Additional Features\n- **SEO Optimization** - Sitemap generation, meta tags, structured data\n- **Markdown Support** - CommonMark parser with GFM tables and heading anchors\n- **Exception Monitoring** - WeChat Work webhook notifications for system errors\n- **Global Exception Handling** - Custom error pages with detailed logging\n- **AOP Logging** - Request/response logging with aspect-oriented programming\n- **Scheduled Tasks** - Automatic cache refresh and maintenance\n\n---\n\n## Tech Stack\n\n| Layer | Technology |\n|-------|-----------|\n| Framework | Spring Boot 2.7.x |\n| ORM | MyBatis |\n| Database | MySQL 8.0 |\n| Cache | Redis |\n| Template Engine | Thymeleaf |\n| Pagination | PageHelper |\n| Password Encryption | BCrypt |\n| Connection Pool | HikariCP |\n\n---\n\n## Quick Start\n\n### Prerequisites\n- JDK 8+ (tested with JDK 21)\n- MySQL 5.7+ (recommended MySQL 8.0)\n- Redis 5.0+\n- Maven 3.6+\n\n### Installation\n\n1. **Clone the repository**\n```bash\ngit clone https://github.com/tangredtea/Spring-Blog.git\ncd Spring-Blog\n```\n\n2. **Initialize the database**\n```bash\nmysql -u root -p < blog.sql\n```\n\n3. **Configure environment variables** (recommended)\n```bash\nexport DB_USERNAME=root\nexport DB_PASSWORD=your_password\nexport REDIS_PASSWORD=your_redis_password  # if applicable\nexport AI_API_KEY=your_openai_api_key      # optional, for AI features\n```\n\n4. **Run the application**\n```bash\nmvn spring-boot:run\n```\n\n5. **Access the application**\n- Frontend: http://localhost:8080\n- Admin panel: http://localhost:8080/admin\n- Default credentials: `admin` / `admin123`\n\n### Docker Compose Deployment\n\n```bash\n# 1. Copy config\ncp .env.example .env\n\n# 2. Edit config\nvim .env\n\n# 3. Start all services\ndocker-compose up -d\n```\n\n---\n\n## Project Structure\n\n```\nSpring-Blog/\n├── src/main/java/com/blog/\n│   ├── controller/      # Controllers (admin + frontend + common)\n│   │   ├── admin/       # Admin panel controllers\n│   │   ├── blog/        # Frontend blog controllers\n│   │   ├── common/      # Common controllers\n│   │   └── SitemapController.java  # SEO sitemap\n│   ├── service/         # Business logic & AI services\n│   │   └── impl/        # Service implementations\n│   ├── dao/             # Data access layer (MyBatis mappers)\n│   ├── entity/          # Entity classes (Blog, User, Tag, etc.)\n│   ├── pojo/            # Plain Old Java Objects (DTOs)\n│   ├── config/          # Configuration (Redis, WebMvc, Settings)\n│   ├── interceptor/     # Login interceptor\n│   ├── aspect/          # AOP logging\n│   ├── scheduled/       # Scheduled tasks (cache refresh)\n│   ├── exception/       # Global exception handling\n│   ├── enums/           # Enumerations (BlogStatus, etc.)\n│   └── util/            # Utilities (Password, SEO, Markdown, etc.)\n├── src/main/resources/\n│   ├── mapper/          # MyBatis XML mappers\n│   ├── templates/       # Thymeleaf templates\n│   │   ├── admin/       # Admin panel pages\n│   │   ├── fragments/   # Reusable fragments\n│   │   └── error/       # Error pages (404, 500)\n│   ├── static/          # Static resources (CSS/JS/images)\n│   │   ├── css/         # Stylesheets\n│   │   ├── js/          # JavaScript files\n│   │   ├── images/      # Images\n│   │   ├── fonts/       # Web fonts\n│   │   └── lib/         # Third-party libraries\n│   ├── application.yml  # Main configuration\n│   ├── application-dev.yml   # Development config\n│   ├── application-pro.yml   # Production config\n│   └── messages.properties   # i18n messages\n├── src/test/            # Unit tests\n├── blog.sql             # Database schema & seed data\n├── Dockerfile           # Docker build\n├── docker-compose.yml   # Docker Compose\n├── nginx.conf           # Nginx configuration\n└── .env.example         # Environment variables template\n```\n\n---\n\n## Configuration\n\n### AI Configuration (Optional)\n\nAI features are optional. To enable them, set the following in `application-dev.yml` or via environment variables:\n\n```yaml\nai:\n  api:\n    key: ${AI_API_KEY:}         # OpenAI API key\n    url: ${AI_API_URL:https://api.openai.com/v1/chat/completions}\n  model: ${AI_MODEL:gpt-3.5-turbo}\n```\n\nWhen AI is not configured, the system gracefully falls back to default behavior (no errors).\n\n### Site Settings\n\nEdit `src/main/resources/messages.properties` to customize your blog:\n\n```properties\n# Basic Info\nweb_Name=Your Blog Name\nweb_Description=Your blog description\nweb_Keywords=Java Blog, Tech Blog\n\n# Social Links\nweb_Github=https://github.com/yourusername\nweb_Csdn=https://blog.csdn.net/yourusername\n\n# Comment System (Valine)\nvaline_AppID=your_leancloud_appid\nvaline_AppKey=your_leancloud_appkey\n\n# WeChat Work Webhook (Optional - for error notifications)\nwx_Webhook=https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=your_key\n# Set to \"0\" to disable webhook notifications\n```\n\n---\n\n## Contributing\n\nContributions are welcome! Feel free to open issues and pull requests.\n\n1. Fork the repository\n2. Create your branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n---\n\n## License\n\n[Apache License 2.0](LICENSE) - tangredtea\n"
  },
  {
    "path": "README_CN.md",
    "content": "# SpringBoot AI 博客系统\n\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)\n[![Stars](https://img.shields.io/github/stars/tangredtea/Spring-Blog?style=social)](https://github.com/tangredtea/Spring-Blog/stargazers)\n[![Issues](https://img.shields.io/github/issues/tangredtea/Spring-Blog)](https://github.com/tangredtea/Spring-Blog/issues)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)\n\n> 基于 Spring Boot + MyBatis 构建的个人博客系统，集成 AI 智能辅助、Redis 缓存和简洁的后台管理界面。\n\n[English](README.md) | 简体中文\n\n---\n\n## 功能特性\n\n### AI 智能集成\n- **智能摘要** - AI 自动生成文章摘要\n- **标签推荐** - 基于内容的 AI 标签建议\n- **文章评分** - 质量评估与改进建议\n- **智能搜索** - 关键词提取和相关文章推荐\n\n### 内容管理\n- **富文本编辑器** - Markdown 编辑器，支持实时预览\n- **草稿系统** - 保存未发布的文章为草稿\n- **分类与标签** - 灵活的内容组织方式\n- **友情链接** - 友链管理\n- **评论系统** - 基于 Valine 的无服务器评论\n- **留言板** - 访客留言功能\n\n### 后台管理\n- **统计概览** - 文章数、浏览量、标签、分类一目了然\n- **AI 状态监控** - 从仪表板检查 AI 服务可用性\n- **快捷操作** - 常用操作的一键快捷方式\n- **最新文章** - 最近发布的文章列表\n\n### 性能优化\n- **Redis 缓存** - 加速页面加载\n- **数据库索引** - 优化查询性能\n- **HikariCP** - 高性能连接池\n\n### 安全特性\n- **BCrypt 加密** - 安全的密码哈希（Spring Security Crypto）\n- **SQL 注入防护** - MyBatis 参数化查询\n- **登录拦截器** - 后台路由保护\n- **输入验证** - Bean Validation（JSR-380）\n\n### 附加功能\n- **SEO 优化** - 站点地图生成、元标签、结构化数据\n- **Markdown 支持** - CommonMark 解析器，支持 GFM 表格和标题锚点\n- **异常监控** - 企业微信 Webhook 通知系统错误\n- **全局异常处理** - 自定义错误页面和详细日志记录\n- **AOP 日志** - 基于面向切面编程的请求/响应日志\n- **定时任务** - 自动缓存刷新和维护\n\n---\n\n## 技术栈\n\n| 层级 | 技术 |\n|-------|-----------|\n| 框架 | Spring Boot 2.7.x |\n| ORM | MyBatis |\n| 数据库 | MySQL 8.0 |\n| 缓存 | Redis |\n| 模板引擎 | Thymeleaf |\n| 分页 | PageHelper |\n| 密码加密 | BCrypt |\n| 连接池 | HikariCP |\n\n---\n\n## 快速开始\n\n### 环境要求\n- JDK 8+（已在 JDK 21 上测试）\n- MySQL 5.7+（推荐 MySQL 8.0）\n- Redis 5.0+\n- Maven 3.6+\n\n### 安装步骤\n\n1. **克隆仓库**\n```bash\ngit clone https://github.com/tangredtea/Spring-Blog.git\ncd Spring-Blog\n```\n\n2. **初始化数据库**\n```bash\nmysql -u root -p < blog.sql\n```\n\n3. **配置环境变量**（推荐）\n```bash\nexport DB_USERNAME=root\nexport DB_PASSWORD=your_password\nexport REDIS_PASSWORD=your_redis_password  # 如果需要\nexport AI_API_KEY=your_openai_api_key      # 可选，用于 AI 功能\n```\n\n4. **运行应用**\n```bash\nmvn spring-boot:run\n```\n\n5. **访问应用**\n- 前台：http://localhost:8080\n- 后台管理：http://localhost:8080/admin\n- 默认账号：`admin` / `admin123`\n\n### Docker Compose 部署\n\n```bash\n# 1. 复制配置文件\ncp .env.example .env\n\n# 2. 编辑配置\nvim .env\n\n# 3. 启动所有服务\ndocker-compose up -d\n```\n\n---\n\n## 项目结构\n\n```\nSpring-Blog/\n├── src/main/java/com/blog/\n│   ├── controller/      # 控制器（后台 + 前台 + 通用）\n│   │   ├── admin/       # 后台管理控制器\n│   │   ├── blog/        # 前台博客控制器\n│   │   ├── common/      # 通用控制器\n│   │   └── SitemapController.java  # SEO 站点地图\n│   ├── service/         # 业务逻辑 & AI 服务\n│   │   └── impl/        # 服务实现类\n│   ├── dao/             # 数据访问层（MyBatis 映射器）\n│   ├── entity/          # 实体类（Blog、User、Tag 等）\n│   ├── pojo/            # 数据传输对象（DTOs）\n│   ├── config/          # 配置（Redis、WebMvc、Settings）\n│   ├── interceptor/     # 登录拦截器\n│   ├── aspect/          # AOP 日志\n│   ├── scheduled/       # 定时任务（缓存刷新）\n│   ├── exception/       # 全局异常处理\n│   ├── enums/           # 枚举类（BlogStatus 等）\n│   └── util/            # 工具类（密码、SEO、Markdown 等）\n├── src/main/resources/\n│   ├── mapper/          # MyBatis XML 映射文件\n│   ├── templates/       # Thymeleaf 模板\n│   │   ├── admin/       # 后台管理页面\n│   │   ├── fragments/   # 可复用片段\n│   │   └── error/       # 错误页面（404、500）\n│   ├── static/          # 静态资源（CSS/JS/图片）\n│   │   ├── css/         # 样式表\n│   │   ├── js/          # JavaScript 文件\n│   │   ├── images/      # 图片\n│   │   ├── fonts/       # Web 字体\n│   │   └── lib/         # 第三方库\n│   ├── application.yml  # 主配置文件\n│   ├── application-dev.yml   # 开发环境配置\n│   ├── application-pro.yml   # 生产环境配置\n│   └── messages.properties   # 国际化消息\n├── src/test/            # 单元测试\n├── blog.sql             # 数据库结构 & 初始数据\n├── Dockerfile           # Docker 构建\n├── docker-compose.yml   # Docker Compose\n├── nginx.conf           # Nginx 配置\n└── .env.example         # 环境变量模板\n```\n\n---\n\n## 配置说明\n\n### AI 配置（可选）\n\nAI 功能是可选的。要启用它们，请在 `application-dev.yml` 中设置或通过环境变量配置：\n\n```yaml\nai:\n  api:\n    key: ${AI_API_KEY:}         # OpenAI API 密钥\n    url: ${AI_API_URL:https://api.openai.com/v1/chat/completions}\n  model: ${AI_MODEL:gpt-3.5-turbo}\n```\n\n当未配置 AI 时，系统会优雅地回退到默认行为（不会报错）。\n\n### 站点设置\n\n编辑 `src/main/resources/messages.properties` 自定义你的博客：\n\n```properties\n# 基本信息\nweb_Name=你的博客名称\nweb_Description=你的博客描述\nweb_Keywords=Java博客, 技术博客\n\n# 社交链接\nweb_Github=https://github.com/yourusername\nweb_Csdn=https://blog.csdn.net/yourusername\n\n# 评论系统（Valine）\nvaline_AppID=your_leancloud_appid\nvaline_AppKey=your_leancloud_appkey\n\n# 企业微信 Webhook（可选 - 用于错误通知）\nwx_Webhook=https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=your_key\n# 设置为 \"0\" 可禁用 webhook 通知\n```\n\n---\n\n## 贡献指南\n\n欢迎贡献！随时提交 issue 和 pull request。\n\n1. Fork 本仓库\n2. 创建你的分支 (`git checkout -b feature/amazing-feature`)\n3. 提交你的更改 (`git commit -m 'Add amazing feature'`)\n4. 推送到分支 (`git push origin feature/amazing-feature`)\n5. 开启 Pull Request\n\n---\n\n## 开源协议\n\n[Apache License 2.0](LICENSE) - tangredtea\n"
  },
  {
    "path": "blog.sql",
    "content": "-- --------------------------------------------------------\n-- Spring-Blog 初始化数据\n-- 适用于 MySQL 8.x\n-- --------------------------------------------------------\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET NAMES utf8 */;\n/*!50503 SET NAMES utf8mb4 */;\n/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;\n/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;\n\nCREATE DATABASE IF NOT EXISTS `blog` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;\nUSE `blog`;\n\n-- ----------------------------\n-- 用户表\n-- ----------------------------\nCREATE TABLE IF NOT EXISTS `t_user` (\n  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '用户表主键id',\n  `username` varchar(255) NOT NULL DEFAULT '' COMMENT '用户名',\n  `password` varchar(255) NOT NULL DEFAULT '' COMMENT '用户密码',\n  `nickname` varchar(255) DEFAULT NULL COMMENT '用户昵称',\n  `email` varchar(255) DEFAULT NULL COMMENT '用户邮箱',\n  `avatar` varchar(255) DEFAULT NULL COMMENT '用户头像',\n  PRIMARY KEY (`id`) USING BTREE\n) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;\n\n/*!40000 ALTER TABLE `t_user` DISABLE KEYS */;\nREPLACE INTO `t_user` (`id`, `username`, `password`, `nickname`, `email`, `avatar`) VALUES\n    (1, 'admin', '$2a$10$obu8GJJJ6CbBr6oS/HIQGeH1E4MsfXiirhC.y0NxiYtMWI5HUoxA6', 'tangredtea', 'tangredtea@gmail.com', 'https://picsum.photos/seed/admin/200/200'),\n    (2, 'guest', '$2a$10$b0k6ETX.fw2e2RmtlUSSnORFTkg/2FchBuT12seoGnV0b1iQvyrLK', '访客编辑', 'guest@example.com', 'https://picsum.photos/seed/guest/200/200');\n/*!40000 ALTER TABLE `t_user` ENABLE KEYS */;\n\n-- ----------------------------\n-- 分类表\n-- ----------------------------\nCREATE TABLE IF NOT EXISTS `t_type` (\n  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '分类主键id',\n  `name` varchar(255) NOT NULL COMMENT '分类名',\n  PRIMARY KEY (`id`) USING BTREE\n) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;\n\n/*!40000 ALTER TABLE `t_type` DISABLE KEYS */;\nREPLACE INTO `t_type` (`id`, `name`) VALUES\n    (1, 'Java后端'),\n    (2, 'Spring框架'),\n    (3, '数据库'),\n    (4, '前端开发'),\n    (5, '架构设计'),\n    (6, 'DevOps'),\n    (7, '读书笔记');\n/*!40000 ALTER TABLE `t_type` ENABLE KEYS */;\n\n-- ----------------------------\n-- 标签表\n-- ----------------------------\nCREATE TABLE IF NOT EXISTS `t_tag` (\n  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '标签表主键',\n  `name` varchar(255) NOT NULL COMMENT '标签名字',\n  PRIMARY KEY (`id`) USING BTREE\n) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;\n\n/*!40000 ALTER TABLE `t_tag` DISABLE KEYS */;\nREPLACE INTO `t_tag` (`id`, `name`) VALUES\n    (1, 'Java'),\n    (2, 'Spring Boot'),\n    (3, 'MySQL'),\n    (4, 'Redis'),\n    (5, 'MyBatis'),\n    (6, 'Docker'),\n    (7, 'Vue.js'),\n    (8, '设计模式'),\n    (9, '并发编程'),\n    (10, 'JVM'),\n    (11, 'Linux'),\n    (12, '微服务');\n/*!40000 ALTER TABLE `t_tag` ENABLE KEYS */;\n\n-- ----------------------------\n-- 博客表\n-- ----------------------------\nCREATE TABLE IF NOT EXISTS `t_blog` (\n  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '博客表主键id',\n  `title` varchar(255) DEFAULT NULL COMMENT '博客标题',\n  `description` text COMMENT '文章描述',\n  `content` mediumtext COMMENT '博文内容',\n  `first_picture` varchar(255) DEFAULT NULL COMMENT '博文封面',\n  `views` int(11) DEFAULT '0' COMMENT '文章阅读量',\n  `flag` bit(1) DEFAULT NULL COMMENT '文章状态位，1：原创，0：转载',\n  `appreciation` bit(1) DEFAULT NULL COMMENT '文章状态位，1：开启，0：关闭',\n  `share_statement` bit(1) DEFAULT NULL COMMENT '分享状态位，1：开启，0：关闭',\n  `commentable` bit(1) DEFAULT NULL COMMENT '评论状态位，1：开启，0：关闭',\n  `published` bit(1) DEFAULT NULL COMMENT '发布状态位，1：已发布，0：草稿',\n  `recommend` bit(1) DEFAULT NULL COMMENT '推荐状态位，1：开启，0：关闭',\n  `is_deleted` bit(1) DEFAULT b'0' COMMENT '删除状态，1：已删除，0：正常',\n  `is_top` bit(1) DEFAULT b'0' COMMENT '置顶状态，1：置顶，0：普通',\n  `password` varchar(64) DEFAULT NULL COMMENT '文章密码，为空表示公开',\n  `create_time` datetime DEFAULT NULL COMMENT '文章创建时间',\n  `update_time` datetime DEFAULT NULL COMMENT '文章修改时间',\n  `publish_time` datetime DEFAULT NULL COMMENT '文章发布时间',\n  `type_id` int(11) DEFAULT NULL COMMENT '关联的分类id',\n  `user_id` int(11) DEFAULT NULL COMMENT '关联的用户id',\n  `tag_ids` varchar(100) DEFAULT NULL COMMENT '关联标签',\n  PRIMARY KEY (`id`) USING BTREE,\n  KEY `idx_type_user` (`type_id`,`user_id`) USING BTREE,\n  KEY `idx_published` (`published`) USING BTREE,\n  KEY `idx_is_deleted` (`is_deleted`) USING BTREE,\n  KEY `idx_create_time` (`create_time`) USING BTREE,\n  KEY `idx_views` (`views` DESC) USING BTREE,\n  KEY `idx_recommend_update` (`recommend`,`update_time` DESC) USING BTREE,\n  FULLTEXT KEY `ft_title_content` (`title`,`description`)\n) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;\n\n/*!40000 ALTER TABLE `t_blog` DISABLE KEYS */;\nREPLACE INTO `t_blog` (`id`, `title`, `description`, `content`, `first_picture`, `views`, `flag`, `appreciation`, `share_statement`, `commentable`, `published`, `recommend`, `is_deleted`, `is_top`, `create_time`, `update_time`, `publish_time`, `type_id`, `user_id`, `tag_ids`) VALUES\n    (1, 'Spring Boot 3.x 新特性详解与迁移指南',\n     '本文将全面介绍 Spring Boot 3.x 带来的重大变化，包括 Java 17 基线、Jakarta EE 9+ 迁移、GraalVM 原生镜像支持等核心特性，帮助开发者平稳升级。',\n     '## Spring Boot 3.x 新特性\\n\\n### 1. Java 17 基线\\n\\nSpring Boot 3.x 将最低 Java 版本提升至 17，可以使用 Records、Sealed Classes、Pattern Matching 等新语法特性。\\n\\n```java\\npublic record UserDTO(String name, String email) {}\\n```\\n\\n### 2. Jakarta EE 9+ 迁移\\n\\n所有 `javax.*` 包名已改为 `jakarta.*`，这是最大的破坏性变更。\\n\\n```java\\n// Before\\nimport javax.servlet.http.HttpServletRequest;\\n// After\\nimport jakarta.servlet.http.HttpServletRequest;\\n```\\n\\n### 3. GraalVM 原生镜像\\n\\nSpring Boot 3.x 内建对 GraalVM Native Image 的支持，应用启动时间可缩短至毫秒级。\\n\\n### 4. 可观测性增强\\n\\n引入 Micrometer Observation API，统一了 Metrics 和 Tracing 的编程模型。\\n\\n### 总结\\n\\nSpring Boot 3.x 是一次重大升级，建议在新项目中直接采用，老项目逐步迁移。',\n     'https://picsum.photos/seed/springboot3/800/450', 1286, b'1', b'1', b'1', b'1', b'1', b'1', b'0', b'1',\n     '2025-11-10 09:30:00', '2026-01-15 14:20:00', '2025-11-10 10:00:00', 2, 1, '1,2'),\n\n    (2, '深入理解 JVM 垃圾回收机制：从 CMS 到 ZGC',\n     '详细分析 JVM 中主流垃圾回收器的工作原理，包括 CMS、G1、ZGC 的对比，以及在生产环境中的调优经验。',\n     '## JVM 垃圾回收机制\\n\\n### 垃圾回收算法基础\\n\\n- **标记-清除**：最基础的 GC 算法\\n- **标记-整理**：解决内存碎片问题\\n- **复制算法**：新生代常用策略\\n\\n### CMS 收集器\\n\\nConcurrent Mark Sweep，以最短停顿时间为目标的收集器，适合对响应时间敏感的应用。\\n\\n### G1 收集器\\n\\n将堆内存分割为多个 Region，兼顾吞吐量和停顿时间。JDK 9 起成为默认 GC。\\n\\n### ZGC\\n\\n- 停顿时间不超过 10ms\\n- 支持 TB 级堆内存\\n- JDK 15 开始可用于生产\\n\\n```bash\\njava -XX:+UseZGC -Xmx16g -jar app.jar\\n```\\n\\n### 调优建议\\n\\n1. 优先选择 G1 或 ZGC\\n2. 合理设置堆大小\\n3. 关注 GC 日志分析',\n     'https://picsum.photos/seed/jvmgc/800/450', 952, b'1', b'1', b'1', b'1', b'1', b'1', b'0', b'0',\n     '2025-10-05 15:00:00', '2025-12-20 10:30:00', '2025-10-05 16:00:00', 1, 1, '1,10'),\n\n    (3, 'MySQL 索引优化实战：从慢查询到秒级响应',\n     '通过真实案例演示 MySQL 慢查询分析和索引优化过程，涵盖 EXPLAIN 解读、联合索引设计、覆盖索引等核心技巧。',\n     '## MySQL 索引优化\\n\\n### 问题背景\\n\\n生产环境某查询耗时超过 5 秒，影响用户体验。\\n\\n### EXPLAIN 分析\\n\\n```sql\\nEXPLAIN SELECT * FROM orders \\nWHERE user_id = 1001 AND status = 1 \\nORDER BY create_time DESC LIMIT 20;\\n```\\n\\n`type: ALL` 表示全表扫描，需要优化。\\n\\n### 优化方案\\n\\n#### 1. 建立联合索引\\n\\n```sql\\nALTER TABLE orders ADD INDEX idx_user_status_time(user_id, status, create_time);\\n```\\n\\n#### 2. 使用覆盖索引\\n\\n只查询索引中包含的列，避免回表。\\n\\n#### 3. 分页优化\\n\\n深分页使用游标方式替代 OFFSET。\\n\\n### 优化结果\\n\\n查询时间从 5.2s 降至 12ms，性能提升 400 倍。',\n     'https://picsum.photos/seed/mysqlindex/800/450', 738, b'1', b'1', b'1', b'1', b'1', b'0', b'0', b'0',\n     '2025-09-18 11:00:00', '2025-11-05 08:45:00', '2025-09-18 12:00:00', 3, 1, '3,1'),\n\n    (4, 'Redis 分布式锁的正确实现方式',\n     '对比分析基于 SETNX、Redisson、RedLock 三种 Redis 分布式锁方案的优缺点，给出生产环境推荐实践。',\n     '## Redis 分布式锁\\n\\n### 为什么需要分布式锁？\\n\\n在微服务架构下，多个实例可能同时操作同一资源，需要分布式锁保证互斥。\\n\\n### 方案一：SETNX + EXPIRE\\n\\n```java\\nBoolean locked = redisTemplate.opsForValue()\\n    .setIfAbsent(\\\"lock:order:\\\" + orderId, requestId, 30, TimeUnit.SECONDS);\\n```\\n\\n存在的问题：锁过期但业务未执行完。\\n\\n### 方案二：Redisson\\n\\n```java\\nRLock lock = redissonClient.getLock(\\\"lock:order:\\\" + orderId);\\ntry {\\n    lock.lock(30, TimeUnit.SECONDS);\\n    // 业务逻辑\\n} finally {\\n    lock.unlock();\\n}\\n```\\n\\nRedisson 内置看门狗机制，自动续期。\\n\\n### 方案三：RedLock\\n\\n适用于 Redis 集群场景，需要在多数节点加锁成功。\\n\\n### 推荐\\n\\n单机/哨兵模式用 Redisson，集群模式考虑 RedLock。',\n     'https://picsum.photos/seed/redislock/800/450', 623, b'1', b'1', b'1', b'1', b'1', b'1', b'0', b'0',\n     '2025-12-01 10:30:00', '2026-01-08 16:00:00', '2025-12-01 11:00:00', 1, 1, '1,4'),\n\n    (5, '使用 Docker Compose 编排 Spring Boot 微服务',\n     '手把手教你用 Docker Compose 将 Spring Boot 应用、MySQL、Redis、Nginx 组合成完整的微服务部署方案。',\n     '## Docker Compose 微服务部署\\n\\n### 项目结构\\n\\n```\\nproject/\\n├── docker-compose.yml\\n├── app/\\n│   └── Dockerfile\\n├── nginx/\\n│   └── nginx.conf\\n└── mysql/\\n    └── init.sql\\n```\\n\\n### docker-compose.yml\\n\\n```yaml\\nversion: \\\"3.8\\\"\\nservices:\\n  app:\\n    build: ./app\\n    ports:\\n      - \\\"8080:8080\\\"\\n    depends_on:\\n      - mysql\\n      - redis\\n    environment:\\n      - SPRING_PROFILES_ACTIVE=prod\\n\\n  mysql:\\n    image: mysql:8.0\\n    volumes:\\n      - mysql_data:/var/lib/mysql\\n    environment:\\n      MYSQL_ROOT_PASSWORD: secret\\n      MYSQL_DATABASE: blog\\n\\n  redis:\\n    image: redis:7-alpine\\n    ports:\\n      - \\\"6379:6379\\\"\\n\\n  nginx:\\n    image: nginx:alpine\\n    ports:\\n      - \\\"80:80\\\"\\n    volumes:\\n      - ./nginx/nginx.conf:/etc/nginx/nginx.conf\\n```\\n\\n### 一键启动\\n\\n```bash\\ndocker compose up -d\\n```',\n     'https://picsum.photos/seed/docker/800/450', 512, b'1', b'1', b'1', b'1', b'1', b'0', b'0', b'0',\n     '2026-01-20 14:00:00', '2026-02-10 09:15:00', '2026-01-20 15:00:00', 6, 1, '6,2,11'),\n\n    (6, 'Vue 3 组合式 API 完全指南',\n     '深入讲解 Vue 3 Composition API 的核心概念，包括 ref、reactive、computed、watch 的使用场景和最佳实践。',\n     '## Vue 3 Composition API\\n\\n### 为什么要用组合式 API？\\n\\nOptions API 在组件复杂后，相关逻辑分散在 data/methods/computed 中，难以维护。Composition API 按逻辑关注点组织代码。\\n\\n### ref vs reactive\\n\\n```javascript\\nimport { ref, reactive } from \\\"vue\\\";\\n\\n// 基本类型用 ref\\nconst count = ref(0);\\n\\n// 对象用 reactive\\nconst user = reactive({\\n  name: \\\"张三\\\",\\n  age: 25\\n});\\n```\\n\\n### 自定义 Hook\\n\\n```javascript\\nexport function useCounter(initial = 0) {\\n  const count = ref(initial);\\n  const increment = () => count.value++;\\n  const decrement = () => count.value--;\\n  return { count, increment, decrement };\\n}\\n```\\n\\n### 与 TypeScript 配合\\n\\nVue 3 对 TypeScript 支持更好，推荐使用 `<script setup lang=\\\"ts\\\">`。',\n     'https://picsum.photos/seed/vue3/800/450', 487, b'1', b'1', b'1', b'1', b'1', b'0', b'0', b'0',\n     '2025-08-22 09:00:00', '2025-10-15 11:30:00', '2025-08-22 10:00:00', 4, 1, '7'),\n\n    (7, '设计模式在 Spring 框架中的应用',\n     '结合 Spring 源码分析常用设计模式：工厂模式、代理模式、观察者模式、模板方法模式等在框架中的精妙运用。',\n     '## Spring 中的设计模式\\n\\n### 1. 工厂模式 — BeanFactory\\n\\nSpring IoC 容器本身就是一个超级工厂，管理所有 Bean 的创建和生命周期。\\n\\n```java\\nApplicationContext context = new ClassPathXmlApplicationContext(\\\"beans.xml\\\");\\nUserService service = context.getBean(UserService.class);\\n```\\n\\n### 2. 代理模式 — AOP\\n\\nSpring AOP 通过 JDK 动态代理或 CGLIB 实现切面编程。\\n\\n```java\\n@Aspect\\n@Component\\npublic class LogAspect {\\n    @Around(\\\"execution(* com.blog.service..*.*(..))\\\")\\n    public Object log(ProceedingJoinPoint pjp) throws Throwable {\\n        long start = System.currentTimeMillis();\\n        Object result = pjp.proceed();\\n        log.info(\\\"耗时: {}ms\\\", System.currentTimeMillis() - start);\\n        return result;\\n    }\\n}\\n```\\n\\n### 3. 观察者模式 — ApplicationEvent\\n\\nSpring 事件机制实现组件间松耦合通信。\\n\\n### 4. 模板方法 — JdbcTemplate\\n\\n封装了 JDBC 样板代码，用户只需关注 SQL 和结果映射。',\n     'https://picsum.photos/seed/designpattern/800/450', 395, b'1', b'1', b'1', b'1', b'1', b'1', b'0', b'0',\n     '2025-07-15 13:00:00', '2025-09-22 17:00:00', '2025-07-15 14:00:00', 2, 1, '2,8,1'),\n\n    (8, 'Java 并发编程：线程池核心原理与调优',\n     '从 ThreadPoolExecutor 源码出发，解析线程池的工作流程、拒绝策略、参数配置，以及生产环境常见问题排查。',\n     '## Java 线程池\\n\\n### 为什么不用 Executors 创建线程池？\\n\\n`Executors.newFixedThreadPool()` 使用无界队列，可能导致 OOM。推荐手动创建 `ThreadPoolExecutor`。\\n\\n### 核心参数\\n\\n```java\\nnew ThreadPoolExecutor(\\n    4,                // corePoolSize\\n    8,                // maximumPoolSize\\n    60L,              // keepAliveTime\\n    TimeUnit.SECONDS,\\n    new LinkedBlockingQueue<>(1000),  // 有界队列\\n    new ThreadPoolExecutor.CallerRunsPolicy()  // 拒绝策略\\n);\\n```\\n\\n### 工作流程\\n\\n1. 核心线程未满 → 创建新线程\\n2. 核心线程满 → 入队列\\n3. 队列满 → 创建非核心线程（不超过 max）\\n4. 全满 → 执行拒绝策略\\n\\n### 调优建议\\n\\n- IO 密集型：coreSize = CPU * 2\\n- CPU 密集型：coreSize = CPU + 1\\n- 使用有界队列，设置合理容量',\n     'https://picsum.photos/seed/threadpool/800/450', 341, b'1', b'1', b'1', b'1', b'1', b'0', b'0', b'0',\n     '2025-06-28 16:00:00', '2025-08-10 14:20:00', '2025-06-28 17:00:00', 1, 1, '1,9'),\n\n    (9, '从零搭建 CI/CD 流水线：GitHub Actions 实践',\n     '介绍如何使用 GitHub Actions 为 Spring Boot 项目搭建自动化构建、测试、部署流水线，实现代码推送即部署。',\n     '## GitHub Actions CI/CD\\n\\n### Workflow 文件\\n\\n```yaml\\nname: CI/CD Pipeline\\non:\\n  push:\\n    branches: [main]\\n\\njobs:\\n  build:\\n    runs-on: ubuntu-latest\\n    steps:\\n      - uses: actions/checkout@v4\\n      - uses: actions/setup-java@v4\\n        with:\\n          java-version: 17\\n          distribution: temurin\\n\\n      - name: Build & Test\\n        run: mvn clean verify\\n\\n      - name: Build Docker Image\\n        run: docker build -t myapp:${{ github.sha }} .\\n\\n      - name: Deploy\\n        run: |\\n          ssh deploy@server \\\"docker pull myapp && docker compose up -d\\\"\\n```\\n\\n### 最佳实践\\n\\n1. 分离 build 和 deploy job\\n2. 使用 GitHub Secrets 管理密钥\\n3. 添加缓存加速构建\\n4. 设置通知（Slack/邮件）',\n     'https://picsum.photos/seed/cicd/800/450', 278, b'1', b'1', b'1', b'1', b'1', b'0', b'0', b'0',\n     '2026-02-05 10:00:00', '2026-02-20 15:30:00', '2026-02-05 11:00:00', 6, 1, '6,11'),\n\n    (10, '《Effective Java》读书笔记：最值得记住的 10 条建议',\n     '精选 Joshua Bloch 经典著作《Effective Java》中最实用的编程建议，结合现代 Java 特性给出具体代码示例。',\n     '## Effective Java 精选\\n\\n### 1. 用静态工厂方法代替构造器\\n\\n```java\\npublic static Boolean valueOf(boolean b) {\\n    return b ? Boolean.TRUE : Boolean.FALSE;\\n}\\n```\\n\\n### 2. 遇到多个构造器参数时考虑 Builder 模式\\n\\n```java\\nUser user = User.builder()\\n    .name(\\\"张三\\\")\\n    .age(25)\\n    .email(\\\"zhangsan@example.com\\\")\\n    .build();\\n```\\n\\n### 3. 用枚举实现单例\\n\\n```java\\npublic enum Singleton {\\n    INSTANCE;\\n    public void doSomething() { ... }\\n}\\n```\\n\\n### 4. 优先使用泛型\\n\\n### 5. 用 Optional 代替 null\\n\\n```java\\nOptional<User> user = userService.findById(id);\\nuser.ifPresent(u -> log.info(\\\"Found: {}\\\", u.getName()));\\n```\\n\\n### 6. 谨慎使用 Stream\\n\\n### 7. 优先使用标准异常\\n\\n### 8. 使用 try-with-resources\\n\\n### 9. 用接口定义类型\\n\\n### 10. 使类和成员的可访问性最小化',\n     'https://picsum.photos/seed/effectivejava/800/450', 189, b'1', b'0', b'1', b'1', b'1', b'0', b'0', b'0',\n     '2026-02-18 20:00:00', '2026-02-25 10:00:00', '2026-02-18 21:00:00', 7, 1, '1,8');\n/*!40000 ALTER TABLE `t_blog` ENABLE KEYS */;\n\n-- ----------------------------\n-- 博客-标签关联表\n-- ----------------------------\nCREATE TABLE IF NOT EXISTS `t_blog_tags` (\n  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '关联表主键',\n  `tag_id` int(11) DEFAULT NULL COMMENT '标签id',\n  `blog_id` bigint(20) DEFAULT NULL COMMENT '博文id',\n  PRIMARY KEY (`id`) USING BTREE\n) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;\n\n/*!40000 ALTER TABLE `t_blog_tags` DISABLE KEYS */;\nREPLACE INTO `t_blog_tags` (`id`, `tag_id`, `blog_id`) VALUES\n    (1, 1, 1),   -- Spring Boot 3.x → Java\n    (2, 2, 1),   -- Spring Boot 3.x → Spring Boot\n    (3, 1, 2),   -- JVM GC → Java\n    (4, 10, 2),  -- JVM GC → JVM\n    (5, 3, 3),   -- MySQL 索引 → MySQL\n    (6, 1, 3),   -- MySQL 索引 → Java\n    (7, 1, 4),   -- Redis 分布式锁 → Java\n    (8, 4, 4),   -- Redis 分布式锁 → Redis\n    (9, 6, 5),   -- Docker Compose → Docker\n    (10, 2, 5),  -- Docker Compose → Spring Boot\n    (11, 11, 5), -- Docker Compose → Linux\n    (12, 7, 6),  -- Vue 3 → Vue.js\n    (13, 2, 7),  -- 设计模式 in Spring → Spring Boot\n    (14, 8, 7),  -- 设计模式 in Spring → 设计模式\n    (15, 1, 7),  -- 设计模式 in Spring → Java\n    (16, 1, 8),  -- 线程池 → Java\n    (17, 9, 8),  -- 线程池 → 并发编程\n    (18, 6, 9),  -- CI/CD → Docker\n    (19, 11, 9), -- CI/CD → Linux\n    (20, 1, 10), -- Effective Java → Java\n    (21, 8, 10); -- Effective Java → 设计模式\n/*!40000 ALTER TABLE `t_blog_tags` ENABLE KEYS */;\n\n-- ----------------------------\n-- 留言表\n-- ----------------------------\nCREATE TABLE IF NOT EXISTS `t_message` (\n  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '留言表主键id',\n  `nickname` varchar(255) DEFAULT NULL COMMENT '昵称',\n  `email` varchar(255) DEFAULT NULL COMMENT '邮箱',\n  `content` varchar(255) DEFAULT NULL COMMENT '内容',\n  `avatar` varchar(255) DEFAULT NULL COMMENT '头像',\n  `create_time` datetime DEFAULT NULL COMMENT '创建时间',\n  `parent_message_id` bigint(20) DEFAULT NULL COMMENT '父留言id',\n  `admin_message` bit(1) NOT NULL COMMENT '是否为管理员评论',\n  PRIMARY KEY (`id`) USING BTREE\n) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;\n\n/*!40000 ALTER TABLE `t_message` DISABLE KEYS */;\nREPLACE INTO `t_message` (`id`, `nickname`, `email`, `content`, `avatar`, `create_time`, `parent_message_id`, `admin_message`) VALUES\n    -- 顶级留言\n    (1, '陈同学', 'chenxiao@163.com', '博主写得太好了，Spring Boot 3 那篇帮我顺利完成了项目迁移，感谢分享！', 'https://picsum.photos/seed/user1/100/100', '2026-01-20 10:15:00', -1, b'0'),\n    (2, '李开发', 'lidev@gmail.com', '请问博主，Redis 分布式锁在集群环境下 RedLock 真的可靠吗？Martin Kleppmann 的那篇质疑文章怎么看？', 'https://picsum.photos/seed/user2/100/100', '2026-01-25 14:30:00', -1, b'0'),\n    (3, 'tangredtea', 'tangredtea@gmail.com', '好问题！RedLock 确实存在争议，对于强一致性场景建议用 ZooKeeper 或 etcd。一般业务场景 Redisson 单节点锁就够用了。', 'https://picsum.photos/seed/admin/200/200', '2026-01-25 16:45:00', 2, b'1'),\n    (4, '王小明', 'wangxm@qq.com', '刚入门 Java 后端，请问学习路线怎么规划比较好？看了博主的文章感觉知识体系很清晰。', 'https://picsum.photos/seed/user3/100/100', '2026-02-01 09:20:00', -1, b'0'),\n    (5, 'tangredtea', 'tangredtea@gmail.com', '建议路线：Java 基础 → MySQL → Spring Boot → Redis → 项目实战。不用贪多，每个阶段做一个小项目巩固。', 'https://picsum.photos/seed/admin/200/200', '2026-02-01 11:00:00', 4, b'1'),\n    (6, '赵工程师', 'zhaodev@outlook.com', '线程池那篇写得很清楚！补充一点：Spring Boot 中可以用 @Async + 自定义 ThreadPoolTaskExecutor 更方便。', 'https://picsum.photos/seed/user4/100/100', '2026-02-05 17:30:00', -1, b'0'),\n    (7, '刘学生', 'liustudent@edu.cn', '大四准备春招了，看了设计模式那篇文章很有启发。请问面试一般会考哪些设计模式？', 'https://picsum.photos/seed/user5/100/100', '2026-02-10 20:15:00', -1, b'0'),\n    (8, 'tangredtea', 'tangredtea@gmail.com', '面试高频：单例、工厂、策略、观察者、代理。结合 Spring 源码聊会加分不少，加油！', 'https://picsum.photos/seed/admin/200/200', '2026-02-10 22:00:00', 7, b'1'),\n    (9, '周运维', 'zhouops@company.com', 'Docker Compose 那篇正好是我需要的，之前一直手动部署太痛苦了。已经按照教程跑起来了，完美！', 'https://picsum.photos/seed/user6/100/100', '2026-02-15 08:45:00', -1, b'0'),\n    (10, '孙前端', 'sunfe@gmail.com', 'Vue 3 那篇讲得很透彻，特别是 ref 和 reactive 的区别。希望博主可以出一篇 Pinia 状态管理的教程。', 'https://picsum.photos/seed/user7/100/100', '2026-02-18 15:20:00', -1, b'0'),\n    (11, '李开发', 'lidev@gmail.com', '感谢博主的回复！确实 Redisson 对大部分场景够用了。又学到了。', 'https://picsum.photos/seed/user2/100/100', '2026-01-26 09:00:00', 2, b'0'),\n    (12, '吴 DBA', 'wudba@company.com', 'MySQL 索引优化那篇非常实用，我们线上也遇到过类似的深分页问题，游标方案确实好用。', 'https://picsum.photos/seed/user8/100/100', '2026-02-22 11:30:00', -1, b'0');\n/*!40000 ALTER TABLE `t_message` ENABLE KEYS */;\n\n-- ----------------------------\n-- 友链表\n-- ----------------------------\nCREATE TABLE IF NOT EXISTS `t_friend` (\n  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '友链表主键',\n  `blog_address` varchar(255) NOT NULL COMMENT '友链地址',\n  `blog_name` varchar(255) NOT NULL COMMENT '友链名字',\n  `picture_address` varchar(255) NOT NULL COMMENT '友链图标',\n  `create_time` datetime DEFAULT NULL COMMENT '创建时间',\n  PRIMARY KEY (`id`) USING BTREE\n) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;\n\n/*!40000 ALTER TABLE `t_friend` DISABLE KEYS */;\nREPLACE INTO `t_friend` (`id`, `blog_address`, `blog_name`, `picture_address`, `create_time`) VALUES\n    (1, 'https://www.ruanyifeng.com/blog/', '阮一峰的网络日志', 'https://picsum.photos/seed/ruanyf/200/200', '2025-06-15 10:00:00'),\n    (2, 'https://tech.meituan.com/', '美团技术团队', 'https://picsum.photos/seed/meituan/200/200', '2025-07-20 14:30:00'),\n    (3, 'https://coolshell.cn/', '酷壳 – CoolShell', 'https://picsum.photos/seed/coolshell/200/200', '2025-08-10 09:00:00'),\n    (4, 'https://javaguide.cn/', 'JavaGuide', 'https://picsum.photos/seed/javaguide/200/200', '2025-09-05 16:00:00'),\n    (5, 'https://www.hollischuang.com/', 'Hollis的博客', 'https://picsum.photos/seed/hollis/200/200', '2025-10-12 11:20:00'),\n    (6, 'https://mp.weixin.qq.com/s/xxx', '沉默王二', 'https://picsum.photos/seed/wanger/200/200', '2025-11-28 13:45:00');\n/*!40000 ALTER TABLE `t_friend` ENABLE KEYS */;\n\n-- ----------------------------\n-- 系统配置表\n-- ----------------------------\nCREATE TABLE IF NOT EXISTS `t_settings` (\n  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '配置ID',\n  `config_key` varchar(100) NOT NULL COMMENT '配置键名',\n  `config_value` text COMMENT '配置值',\n  `description` varchar(255) DEFAULT NULL COMMENT '配置说明',\n  `create_time` datetime DEFAULT CURRENT_TIMESTAMP,\n  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n  PRIMARY KEY (`id`) USING BTREE,\n  UNIQUE KEY `uk_config_key` (`config_key`) USING BTREE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='系统配置表';\n\nINSERT IGNORE INTO `t_settings` (`config_key`, `config_value`, `description`) VALUES\n('site.name', 'SpringBoot AI Blog', '网站名称'),\n('site.description', '基于 Spring Boot + AI 的智能博客系统', '网站描述'),\n('site.keywords', 'Spring Boot,Blog,AI,Java', '网站关键词'),\n('site.logo', '', '网站Logo URL'),\n('site.favicon', '', '网站图标 URL'),\n('site.beian', '', '备案号'),\n('site.footer', '© 2024 SpringBoot AI Blog. All rights reserved.', '页脚信息'),\n('comment.enabled', 'true', '是否开启评论'),\n('comment.audit', 'false', '评论是否需要审核'),\n('ai.enabled', 'false', '是否启用AI功能'),\n('ai.auto_summary', 'false', '是否自动生成摘要'),\n('ai.auto_tags', 'false', '是否自动推荐标签');\n\n-- ----------------------------\n-- 操作日志表\n-- ----------------------------\nCREATE TABLE IF NOT EXISTS `t_operation_log` (\n  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志ID',\n  `user_id` int(11) DEFAULT NULL COMMENT '操作用户ID',\n  `username` varchar(100) DEFAULT NULL COMMENT '操作用户名',\n  `operation` varchar(255) DEFAULT NULL COMMENT '操作描述',\n  `method` varchar(500) DEFAULT NULL COMMENT '请求方法',\n  `params` text COMMENT '请求参数',\n  `ip` varchar(50) DEFAULT NULL COMMENT 'IP地址',\n  `duration` int(11) DEFAULT NULL COMMENT '执行时长(ms)',\n  `status` tinyint(1) DEFAULT '1' COMMENT '状态：0失败 1成功',\n  `error_msg` text COMMENT '错误信息',\n  `create_time` datetime DEFAULT CURRENT_TIMESTAMP,\n  PRIMARY KEY (`id`) USING BTREE,\n  KEY `idx_user_id` (`user_id`) USING BTREE,\n  KEY `idx_create_time` (`create_time`) USING BTREE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='操作日志表';\n\n/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;\n/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n"
  },
  {
    "path": "docker-compose.yml",
    "content": "version: '3.8'\n\nservices:\n  # MySQL 数据库\n  mysql:\n    image: mysql:8.0\n    container_name: blog-mysql\n    restart: always\n    environment:\n      MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-root}\n      MYSQL_DATABASE: blog\n      MYSQL_CHARSET: utf8mb4\n      MYSQL_COLLATION: utf8mb4_unicode_ci\n    volumes:\n      - mysql_data:/var/lib/mysql\n      - ./blog.sql:/docker-entrypoint-initdb.d/init.sql\n    ports:\n      - \"3306:3306\"\n    healthcheck:\n      test: [\"CMD\", \"mysqladmin\", \"ping\", \"-h\", \"localhost\"]\n      timeout: 20s\n      retries: 10\n\n  # Redis 缓存\n  redis:\n    image: redis:7-alpine\n    container_name: blog-redis\n    restart: always\n    command: redis-server --appendonly yes\n    volumes:\n      - redis_data:/data\n    ports:\n      - \"6379:6379\"\n    healthcheck:\n      test: [\"CMD\", \"redis-cli\", \"ping\"]\n      interval: 10s\n      timeout: 3s\n      retries: 5\n\n  # SpringBoot AI Blog 应用\n  app:\n    build: .\n    container_name: blog-app\n    restart: always\n    depends_on:\n      mysql:\n        condition: service_healthy\n      redis:\n        condition: service_healthy\n    environment:\n      # 数据库配置\n      DB_HOST: mysql\n      DB_PORT: 3306\n      DB_NAME: blog\n      DB_USERNAME: root\n      DB_PASSWORD: ${DB_PASSWORD:-root}\n      \n      # Redis 配置\n      REDIS_HOST: redis\n      REDIS_PORT: 6379\n      REDIS_PASSWORD: ${REDIS_PASSWORD:-}\n      \n      # AI 配置（可选）\n      AI_API_KEY: ${AI_API_KEY:-}\n      AI_API_URL: ${AI_API_URL:-https://api.openai.com/v1/chat/completions}\n      AI_MODEL: ${AI_MODEL:-gpt-3.5-turbo}\n      \n      # JVM 参数\n      JVM_OPTS: \"-Xmx512m -Xms512m\"\n    ports:\n      - \"8080:8080\"\n    volumes:\n      - ./logs:/logs\n\nvolumes:\n  mysql_data:\n  redis_data:\n"
  },
  {
    "path": "nginx.conf",
    "content": "http {\n include  mime.types;\n default_type application/octet-stream;\n sendfile  on;\n keepalive_timeout 65;\n gzip on;\n\n server {\n  #监听的端口号\n  listen  80;\n  #设置访问的二级域名\n  server_name www.host.com; // 你的域名\n\n  location /{\n  #配置访问的项目路径（注:这里重点）\n  proxy_pass http://127.0.0.1:8080/\n  # root html;\n  # index index.html index.htm;\n  proxy_set_header   Host $host;\n  proxy_set_header X-Real-IP $remote_addr;\n  proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;\n  client_max_body_size 100m;\n  root html;\n  index index.html index.htm;\n  }\n\n }"
  },
  {
    "path": "pom.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n\txsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd\">\n\t<modelVersion>4.0.0</modelVersion>\n\t<parent>\n\t\t<groupId>org.springframework.boot</groupId>\n\t\t<artifactId>spring-boot-starter-parent</artifactId>\n\t\t<version>2.7.18</version>\n\t\t<relativePath/> <!-- lookup parent from repository -->\n\t</parent>\n\t<groupId>com</groupId>\n\t<artifactId>blog</artifactId>\n\t<version>1.0.0</version>\n\t<name>Spring-Blog-1.0.0</name>\n\t<description>Demo project for Spring Boot</description>\n\n\t<properties>\n\t\t<java.version>21</java.version>\n\t\t<lombok.version>1.18.38</lombok.version>\n\t</properties>\n\n\t<dependencies>\n\t\t<!--Redis依赖-->\n\t\t<dependency>\n\t\t\t<groupId>org.springframework.boot</groupId>\n\t\t\t<artifactId>spring-boot-starter-cache</artifactId>\n\t\t</dependency>\n\n\t\t<dependency>\n\t\t\t<groupId>org.springframework.boot</groupId>\n\t\t\t<artifactId>spring-boot-starter-data-redis</artifactId>\n\t\t</dependency>\n\n\n\t\t<!--这三个jar包作用是将markdown格式转成html格式-->\n\t\t<dependency>\n\t\t\t<groupId>com.atlassian.commonmark</groupId>\n\t\t\t<artifactId>commonmark</artifactId>\n\t\t\t<version>0.17.0</version>\n\t\t</dependency>\n\n\t\t<dependency>\n\t\t\t<groupId>com.atlassian.commonmark</groupId>\n\t\t\t<artifactId>commonmark-ext-heading-anchor</artifactId>\n\t\t\t<version>0.17.0</version>\n\t\t</dependency>\n\t\t<dependency>\n\t\t\t<groupId>com.atlassian.commonmark</groupId>\n\t\t\t<artifactId>commonmark-ext-gfm-tables</artifactId>\n\t\t\t<version>0.17.0</version>\n\t\t</dependency>\n<!--分页插件-->\n\t\t<dependency>\n\t\t\t<groupId>com.github.pagehelper</groupId>\n\t\t\t<artifactId>pagehelper-spring-boot-starter</artifactId>\n\t\t\t<version>1.4.6</version>\n\t\t</dependency>\n\n\t\t<dependency>\n\t\t\t<groupId>org.springframework.boot</groupId>\n\t\t\t<artifactId>spring-boot-starter-aop</artifactId>\n\t\t</dependency>\n\n\t\t<dependency>\n\t\t\t<groupId>org.springframework.boot</groupId>\n\t\t\t<artifactId>spring-boot-starter-thymeleaf</artifactId>\n\t\t</dependency>\n\n\t\t<dependency>\n\t\t\t<groupId>org.springframework.boot</groupId>\n\t\t\t<artifactId>spring-boot-starter-web</artifactId>\n\t\t</dependency>\n\n\t\t<dependency>\n\t\t\t<groupId>org.mybatis.spring.boot</groupId>\n\t\t\t<artifactId>mybatis-spring-boot-starter</artifactId>\n\t\t\t<version>2.3.1</version>\n\t\t</dependency>\n\n\t\t<dependency>\n\t\t\t<groupId>org.springframework.boot</groupId>\n\t\t\t<artifactId>spring-boot-devtools</artifactId>\n\t\t\t<scope>runtime</scope>\n\t\t\t<optional>true</optional>\n\t\t\t<version>2.5.9</version>\n\t\t</dependency>\n\n\t\t<dependency>\n\t\t\t<groupId>com.mysql</groupId>\n\t\t\t<artifactId>mysql-connector-j</artifactId>\n\t\t\t<scope>runtime</scope>\n\t\t\t<version>8.2.0</version>\n\t\t</dependency>\n<!-- lombok类-->\n\t\t<dependency>\n\t\t\t<groupId>org.projectlombok</groupId>\n\t\t\t<artifactId>lombok</artifactId>\n\t\t\t<optional>true</optional>\n\t\t</dependency>\n<!--测试依赖-->\n\t\t<dependency>\n\t\t\t<groupId>org.springframework.boot</groupId>\n\t\t\t<artifactId>spring-boot-starter-test</artifactId>\n\t\t\t<scope>test</scope>\n\t\t\t<exclusions>\n\t\t\t\t<exclusion>\n\t\t\t\t\t<groupId>org.junit.vintage</groupId>\n\t\t\t\t\t<artifactId>junit-vintage-engine</artifactId>\n\t\t\t\t</exclusion>\n\t\t\t</exclusions>\n\t\t</dependency>\n\t\t<!--连接池-->\n\n\n\t\t<!-- 添加对 JDBC 的支持 -->\n\t\t<dependency>\n\t\t\t<groupId>org.springframework.boot</groupId>\n\t\t\t<artifactId>spring-boot-starter-jdbc</artifactId>\n\t\t</dependency>\n\t\t<dependency>\n\t\t\t<groupId>javax.validation</groupId>\n\t\t\t<artifactId>validation-api</artifactId>\n\t\t\t<scope>compile</scope>\n\t\t</dependency>\n        <dependency>\n            <groupId>org.apache.commons</groupId>\n            <artifactId>commons-lang3</artifactId>\n            <version>3.18.0</version>\n        </dependency>\n\t\t<dependency>\n\t\t\t<groupId>org.apache.httpcomponents</groupId>\n\t\t\t<artifactId>httpclient</artifactId>\n\t\t\t<version>4.5.14</version>\n\t\t</dependency>\n\t\t<!-- Spring Security Crypto for BCrypt -->\n\t\t<dependency>\n\t\t\t<groupId>org.springframework.security</groupId>\n\t\t\t<artifactId>spring-security-crypto</artifactId>\n\t\t</dependency>\n\t\t<!-- Validation -->\n\t\t<dependency>\n\t\t\t<groupId>org.springframework.boot</groupId>\n\t\t\t<artifactId>spring-boot-starter-validation</artifactId>\n\t\t</dependency>\n\n\n\t</dependencies>\n\n\t<build>\n\t\t<plugins>\n\t\t\t<plugin>\n\t\t\t\t<groupId>org.springframework.boot</groupId>\n\t\t\t\t<artifactId>spring-boot-maven-plugin</artifactId>\n\t\t\t\t<configuration>\n\t\t\t\t\t<excludes>\n\t\t\t\t\t\t<exclude>\n\t\t\t\t\t\t\t<groupId>org.projectlombok</groupId>\n\t\t\t\t\t\t\t<artifactId>lombok</artifactId>\n\t\t\t\t\t\t</exclude>\n\t\t\t\t\t</excludes>\n\t\t\t\t</configuration>\n\t\t\t</plugin>\n\t\t\t<plugin>\n\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\n\t\t\t\t<artifactId>maven-compiler-plugin</artifactId>\n\t\t\t\t<version>3.13.0</version>\n\t\t\t\t<configuration>\n\t\t\t\t\t<source>${java.version}</source>\n\t\t\t\t\t<target>${java.version}</target>\n\t\t\t\t\t<annotationProcessorPaths>\n\t\t\t\t\t\t<path>\n\t\t\t\t\t\t\t<groupId>org.projectlombok</groupId>\n\t\t\t\t\t\t\t<artifactId>lombok</artifactId>\n\t\t\t\t\t\t\t<version>${lombok.version}</version>\n\t\t\t\t\t\t</path>\n\t\t\t\t\t</annotationProcessorPaths>\n\t\t\t\t</configuration>\n\t\t\t</plugin>\n\t\t</plugins>\n\t</build>\n\n</project>\n"
  },
  {
    "path": "src/main/java/com/blog/BlogApplication.java",
    "content": "package com.blog;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\nimport org.springframework.cache.annotation.EnableCaching;\nimport org.springframework.context.annotation.ComponentScan;\nimport org.springframework.scheduling.annotation.EnableScheduling;\n\n/**\n * @author tangredtea\n */\n@SpringBootApplication\n@EnableCaching\n@EnableScheduling\npublic class BlogApplication {\n\n\tpublic static void main(String[] args) {\n\t\tSpringApplication.run(BlogApplication.class, args);\n\t}\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/aspect/LogAspect.java",
    "content": "package com.blog.aspect;\n\nimport com.blog.pojo.RequestLog;\nimport org.aspectj.lang.JoinPoint;\nimport org.aspectj.lang.annotation.*;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.stereotype.Component;\nimport org.springframework.web.context.request.RequestContextHolder;\nimport org.springframework.web.context.request.ServletRequestAttributes;\nimport javax.servlet.http.HttpServletRequest;\n\n/**\n * 定义切面\n * 方便日志输出，对相对应的访问方法织入\n * @author tangredtea\n */\n@Aspect\n@Component\npublic class LogAspect {\n\n    private final Logger logger = LoggerFactory.getLogger(this.getClass());\n\n    /**\n     * 定义切入点\n     */\n    @Pointcut(\"execution(* com.blog.controller..*.*(..))\")\n    public void log(){}\n\n    /**\n     * 前置增强\n     */\n    @Before(\"log()\")\n    public void doBefore(JoinPoint joinPoint){\n        ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();\n        //断言，若请求为异常，则中止后续执行\n        assert attributes != null;\n        HttpServletRequest request = attributes.getRequest();\n        String url = request.getRequestURL().toString();\n        String ip = request.getRemoteAddr();\n        //获得类名.方法名\n        String classMethod = joinPoint.getSignature().getDeclaringTypeName() + \".\" + joinPoint.getSignature().getName();\n        //获得方法参数\n        Object[] args = joinPoint.getArgs();\n        //构建请求\n        RequestLog requestLog = new RequestLog(url, ip, classMethod, args);\n        //打印请求信息\n        logger.info(\"Request: {}\", requestLog);\n    }\n\n    /**\n     * 后置增强\n     */\n    @After(\"log()\")\n    public void doAfter(){\n        logger.info(\"------------doAfter------------\");\n    }\n\n    /**\n     *目标方法正常完成后被织入\n     */\n    @AfterReturning(returning = \"result\", pointcut = \"log()\")\n    public void doAfterReturn(Object result){\n        //打印返回值\n        logger.info(\"Result: {}\", result);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/config/RedisConfig.java",
    "content": "package com.blog.config;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.PropertyAccessor;\nimport com.fasterxml.jackson.databind.DeserializationFeature;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport org.springframework.cache.annotation.CachingConfigurerSupport;\nimport org.springframework.cache.annotation.EnableCaching;\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.data.redis.connection.RedisConnectionFactory;\nimport org.springframework.data.redis.core.RedisTemplate;\nimport org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;\nimport org.springframework.data.redis.serializer.RedisSerializer;\nimport org.springframework.data.redis.serializer.StringRedisSerializer;\n\n/**\n * @author tangredtea\n */\n@Configuration\n@EnableCaching\npublic class RedisConfig extends CachingConfigurerSupport {\n    @Bean\n    public RedisTemplate<?, ?> redisTemplate(RedisConnectionFactory connectionFactory) {\n        RedisTemplate<?, ?> redisTemplate = new RedisTemplate<>();\n        redisTemplate.setConnectionFactory(connectionFactory);\n        //Use Jackson 2Json RedisSerializer to serialize and deserialize the value of redis (default JDK serialization)\n        Jackson2JsonRedisSerializer<?> jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer<>(Object.class);\n        ObjectMapper objectMapper = new ObjectMapper();\n        objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);\n        //将类名称序列化到json串中，去掉会导致得出来的的是LinkedHashMap对象，直接转换实体对象会失败\n        objectMapper.enableDefaultTyping(ObjectMapper.DefaultTyping.NON_FINAL);\n        //设置输入时忽略JSON字符串中存在而Java对象实际没有的属性\n        objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);\n        jackson2JsonRedisSerializer.setObjectMapper(objectMapper);\n\n        //Use String RedisSerializer to serialize and deserialize the key value of redis\n        RedisSerializer<? extends String> redisSerializer = new StringRedisSerializer();\n        //key\n        redisTemplate.setKeySerializer(redisSerializer);\n        redisTemplate.setHashKeySerializer(redisSerializer);\n        //value\n        redisTemplate.setValueSerializer(jackson2JsonRedisSerializer);\n        redisTemplate.setHashValueSerializer(jackson2JsonRedisSerializer);\n\n        redisTemplate.afterPropertiesSet();\n        return redisTemplate;\n\n    }\n\n}"
  },
  {
    "path": "src/main/java/com/blog/config/RedisKey.java",
    "content": "package com.blog.config;\n\n/**\n * @author tangredtea\n */\npublic final class RedisKey {\n    public static final String ARTICLE_VIEWS = \"article_views\";\n    public static final String ARTICLE = \"article\";\n    public static final String INDEXBLOG = \"all_blogs\";\n    public static final String RECOMMENDBLOG = \"recommend_blogs\";\n    public static final String MESSAGES = \"messages\";\n    public static final String HOTBLOGS = \"hot_blogs\";\n}\n"
  },
  {
    "path": "src/main/java/com/blog/config/SettingsConfig.java",
    "content": "package com.blog.config;\n\nimport lombok.*;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.PropertySource;\nimport org.springframework.stereotype.Component;\n\n/**\n * @author tangredtea\n */\n@Component\n@Data\n@NoArgsConstructor\n@PropertySource(value= \"classpath:messages.properties\",encoding = \"UTF-8\")\npublic class SettingsConfig {\n\n    @Value(\"${web_Name}\")\n    private String web_Name;\n\n    @Value(\"${web_IndexName}\")\n    private String web_IndexName;\n\n    @Value(\"${web_Keywords}\")\n    private String web_Keywords;\n\n    @Value(\"${web_Description}\")\n    private String web_Description;\n\n    @Value(\"${web_Ico}\")\n    private String web_Ico;\n\n    @Value(\"${web_Github}\")\n    private String web_Github;\n\n    @Value(\"${web_Csdn}\")\n    private String web_Csdn;\n\n    @Value(\"${web_Bilibili}\")\n    private String web_Bilibili;\n\n    @Value(\"${web_Wechat}\")\n    private String web_Wechat;\n\n    @Value(\"${web_QQ}\")\n    private String web_QQ;\n\n    @Value(\"${web_Logo}\")\n    private String web_Logo;\n\n    @Value(\"${web_Background}\")\n    private String web_Background;\n\n    @Value(\"${web_Home}\")\n    private String web_Home;\n\n    @Value(\"${web_GeYan}\")\n    private String web_GeYan;\n\n    @Value(\"${default_avatar}\")\n    private String default_avatar;\n\n    @Value(\"${message_Background}\")\n    private String message_Background;\n\n    @Value(\"${about_Background}\")\n    private String about_Background;\n\n    @Value(\"${friend_Background}\")\n    private String friend_Background;\n\n    @Value(\"${search_Background}\")\n    private String search_Background;\n\n    @Value(\"${tags_Background}\")\n    private String tags_Background;\n\n    @Value(\"${time_Background}\")\n    private String time_Background;\n\n    @Value(\"${types_Background}\")\n    private String types_Background;\n\n    @Value(\"${valine_AppID}\")\n    private String valine_AppID;\n\n    @Value(\"${valine_AppKey}\")\n    private String valine_AppKey;\n\n    @Value(\"${wx_Webhook}\")\n    private String wx_Webhook;\n}\n"
  },
  {
    "path": "src/main/java/com/blog/config/WebMvcConfig.java",
    "content": "package com.blog.config;\n\nimport com.blog.interceptor.LoginInterceptor;\nimport org.springframework.context.annotation.ComponentScan;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.web.servlet.config.annotation.InterceptorRegistry;\nimport org.springframework.web.servlet.config.annotation.WebMvcConfigurer;\n\n/**\n * @author tangredtea\n */\n@Configuration\n@ComponentScan(basePackages = \"com.blog\")\npublic class WebMvcConfig implements WebMvcConfigurer {\n    /**\n     * 注册自定义拦截器\n     *\n     * @param registry 拦截器\n     */\n    @Override\n    public void addInterceptors(InterceptorRegistry registry) {\n        registry.addInterceptor(new LoginInterceptor())\n                .addPathPatterns(\"/admin/**\")\n                .excludePathPatterns(\"/admin\")\n                .excludePathPatterns(\"/admin/login\");\n    }\n\n\n}\n\n"
  },
  {
    "path": "src/main/java/com/blog/controller/SitemapController.java",
    "content": "package com.blog.controller;\n\nimport com.blog.service.SitemapService;\nimport org.springframework.http.MediaType;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.ResponseBody;\nimport javax.annotation.Resource;\n\n/**\n * 站点地图控制器\n * 提供 sitemap.xml 用于搜索引擎收录\n * @author tangredtea\n */\n@Controller\npublic class SitemapController {\n\n    @Resource\n    private SitemapService sitemapService;\n    \n    /**\n     * 生成站点地图\n     * 访问地址: /sitemap.xml\n     */\n    @GetMapping(value = \"/sitemap.xml\", produces = MediaType.APPLICATION_XML_VALUE)\n    @ResponseBody\n    public String sitemap() {\n        return sitemapService.generateSitemap();\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/admin/AIController.java",
    "content": "package com.blog.controller.admin;\n\nimport com.blog.service.AIService;\nimport com.blog.util.CommonResult;\nimport lombok.extern.slf4j.Slf4j;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.web.bind.annotation.*;\n\nimport javax.annotation.Resource;\nimport java.util.HashMap;\nimport java.util.Map;\n\n/**\n * AI 功能控制器\n * @author tangredtea\n */\n@Slf4j\n@Controller\n@RequestMapping(\"/admin/ai\")\npublic class AIController {\n\n    @Resource\n    private AIService aiService;\n\n    /**\n     * AI 助手页面\n     */\n    @GetMapping(\"/assistant\")\n    public String assistant() {\n        return \"admin/ai-assistant\";\n    }\n\n    /**\n     * 生成文章摘要\n     */\n    @PostMapping(\"/summary\")\n    @ResponseBody\n    public CommonResult generateSummary(@RequestParam String content) {\n        try {\n            String summary = aiService.generateSummary(content);\n            return CommonResult.success(summary);\n        } catch (Exception e) {\n            log.error(\"Generate summary failed\", e);\n            return CommonResult.error(\"生成摘要失败：\" + e.getMessage());\n        }\n    }\n    \n    /**\n     * 推荐标签\n     */\n    @PostMapping(\"/suggest-tags\")\n    @ResponseBody\n    public CommonResult suggestTags(@RequestParam String title, \n                                     @RequestParam String content) {\n        try {\n            String[] tags = aiService.suggestTags(title, content);\n            return CommonResult.success(tags);\n        } catch (Exception e) {\n            log.error(\"Suggest tags failed\", e);\n            return CommonResult.error(\"推荐标签失败：\" + e.getMessage());\n        }\n    }\n    \n    /**\n     * 文章质量评分\n     */\n    @PostMapping(\"/score\")\n    @ResponseBody\n    public CommonResult scoreArticle(@RequestParam String title,\n                                      @RequestParam String content) {\n        try {\n            AIService.ArticleScore score = aiService.scoreArticle(title, content);\n            Map<String, Object> result = new HashMap<>();\n            result.put(\"score\", score.getScore());\n            result.put(\"suggestion\", score.getSuggestion());\n            result.put(\"level\", getScoreLevel(score.getScore()));\n            return CommonResult.success(result);\n        } catch (Exception e) {\n            log.error(\"Score article failed\", e);\n            return CommonResult.error(\"评分失败：\" + e.getMessage());\n        }\n    }\n    \n    /**\n     * 检查 AI 状态\n     */\n    @GetMapping(\"/status\")\n    @ResponseBody\n    public CommonResult checkStatus() {\n        Map<String, Object> status = new HashMap<>();\n        status.put(\"enabled\", aiService.isEnabled());\n        status.put(\"message\", aiService.isEnabled() ? \"AI 服务正常运行\" : \"AI 服务未配置\");\n        return CommonResult.success(status);\n    }\n    \n    private String getScoreLevel(int score) {\n        if (score >= 90) return \"优秀\";\n        if (score >= 80) return \"良好\";\n        if (score >= 70) return \"合格\";\n        if (score >= 60) return \"待改进\";\n        return \"需优化\";\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/admin/AdminController.java",
    "content": "package com.blog.controller.admin;\n\nimport com.blog.entity.User;\nimport com.blog.service.*;\nimport com.blog.util.PasswordUtils;\nimport com.github.pagehelper.PageHelper;\nimport com.github.pagehelper.PageInfo;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.*;\nimport org.springframework.web.servlet.mvc.support.RedirectAttributes;\nimport javax.annotation.Resource;\nimport javax.servlet.http.HttpSession;\nimport java.util.List;\nimport java.util.Objects;\n\n/**\n * 后台登录处理\n * @author tangredtea\n */\n@Controller\n@RequestMapping(\"/admin\")\npublic class AdminController {\n\n    @Resource\n    private BlogService blogService;\n\n    @Resource\n    private FriendLinkService friendLinkService;\n\n    @Resource\n    private MessageService messageService;\n\n    @Resource\n    private TagService tagService;\n\n    @Resource\n    private TypeService typeService;\n\n    @Resource\n    private UserService userService;\n\n    @Resource\n    private AIService aiService;\n\n    @GetMapping({\"\",\"/\",\"/index\",\"/login\"})\n    public String loginPage(HttpSession session, Model model) {\n        if (null != session && session.getAttribute(\"user\") != null){\n            model.addAttribute(\"article_nums\", blogService.countBlog());\n            model.addAttribute(\"article_views\", blogService.getTotalViews());\n            model.addAttribute(\"avg_views\", blogService.getAvgViews());\n            model.addAttribute(\"friendLink_nums\", friendLinkService.countFriendLink());\n            model.addAttribute(\"message_nums\", messageService.countMessage());\n            model.addAttribute(\"tag_nums\", tagService.countTag());\n            model.addAttribute(\"type_nums\", typeService.countType());\n            model.addAttribute(\"user_nums\", userService.countUser());\n            model.addAttribute(\"ai_enabled\", aiService.isEnabled());\n            // 最近发布的文章（取前5条）\n            PageHelper.startPage(1, 5);\n            model.addAttribute(\"recentBlogs\", blogService.getAllBlog());\n            return \"admin/index\";\n        }\n        return \"admin/login\";\n    }\n\n    @PostMapping(\"/login\")\n    public String login(@RequestParam String username,\n                        @RequestParam String password,\n                        HttpSession session,\n                        RedirectAttributes attributes){\n        User user = userService.checkUser(username, password);\n        if(user != null){\n            // 不在 session 中存储密码\n            user.setPassword(null);\n            session.setAttribute(\"user\", user);\n            return \"redirect:/admin/index\";\n        }else {\n            attributes.addFlashAttribute(\"msg\", \"用户名或密码错误\");\n            return \"redirect:/admin\";\n        }\n    }\n\n    @GetMapping(\"/logout\")\n    public String logout(HttpSession session){\n        session.removeAttribute(\"user\");\n        return \"redirect:/admin\";\n    }\n\n    @GetMapping(\"/users\")\n    public String users(@RequestParam(required = false,defaultValue = \"1\",value = \"pageNum\")int pageNum, Model model){\n        PageHelper.startPage(pageNum, 5);\n        List<User> allUser = userService.getUsers();\n        PageInfo<User> pageInfo = new PageInfo<>(allUser);\n        model.addAttribute(\"pageInfo\", pageInfo);\n        return \"admin/users\";\n    }\n\n    @GetMapping(\"/users/input\")\n    public String toAddUser(Model model){\n        model.addAttribute(\"user\", new User());\n        return \"admin/users-input\";\n    }\n\n    @GetMapping(\"/users/{id}/input\")\n    public String toEditUser(@PathVariable Integer id, Model model){\n        model.addAttribute(\"user\", userService.getUserInfoById(id));\n        return \"admin/users-input\";\n    }\n\n    @PostMapping(\"/users\")\n    public String addUser(User user, RedirectAttributes attributes){\n        int nums = userService.getUserInfoByUsername(user.getUsername());\n        if(nums != 0){\n            attributes.addFlashAttribute(\"msg\", \"不能添加已存在的用户名\");\n            return \"redirect:/admin/users/input\";\n        }else {\n            attributes.addFlashAttribute(\"msg\", \"添加成功\");\n        }\n        user.setPassword(PasswordUtils.encode(user.getPassword()));\n        userService.saveUser(user);\n        return \"redirect:/admin/users\";\n    }\n\n    @PostMapping(\"/users/{id}/delete\")\n    public String delete(@PathVariable Integer id, RedirectAttributes attributes){\n        userService.deleteUser(id);\n        attributes.addFlashAttribute(\"msg\", \"删除成功\");\n        return \"redirect:/admin/users\";\n    }\n\n    @PostMapping(\"/users/{id}\")\n    public String editUser(@PathVariable Integer id, User user, RedirectAttributes attributes){\n        User beforeUser = userService.getUserInfoById(id);\n        if (!Objects.equals(beforeUser.getUsername(), user.getUsername())){\n            int nums = userService.getUserInfoByUsername(user.getUsername());\n            if(nums != 0){\n                attributes.addFlashAttribute(\"msg\", \"不能添加已存在的用户名\");\n                return \"redirect:/admin/users/input\";\n            }else {\n                attributes.addFlashAttribute(\"msg\", \"修改成功\");\n            }\n        }\n        // 如果密码为空或未修改，保留原密码；否则加密新密码\n        if (user.getPassword() == null || user.getPassword().trim().isEmpty()){\n            user.setPassword(beforeUser.getPassword());\n        } else {\n            user.setPassword(PasswordUtils.encode(user.getPassword()));\n        }\n        userService.updateUser(user);\n        return \"redirect:/admin/users\";\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/admin/BlogController.java",
    "content": "package com.blog.controller.admin;\n\nimport com.blog.config.RedisKey;\nimport com.blog.entity.Blog;\nimport com.blog.entity.User;\nimport com.blog.service.BlogService;\nimport com.blog.service.RedisService;\nimport com.blog.service.TagService;\nimport com.blog.service.TypeService;\nimport com.github.pagehelper.PageHelper;\nimport com.github.pagehelper.PageInfo;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.*;\nimport org.springframework.web.servlet.mvc.support.RedirectAttributes;\nimport javax.annotation.Resource;\nimport javax.servlet.http.HttpSession;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Controller\n@RequestMapping(\"/admin\")\npublic class BlogController {\n\n    @Resource\n    private BlogService blogService;\n\n    @Resource\n    private TypeService typeService;\n\n    @Resource\n    private RedisService redisService;\n\n    @Resource\n    private TagService tagService;\n\n    public void setTypeAndTag(Model model) {\n        model.addAttribute(\"types\", typeService.getAllType());\n        model.addAttribute(\"tags\", tagService.getAllTag());\n    }\n\n    /**\n     * 后台显示博客列表\n     * @param pageNum 页数\n     * @param model 视图\n     * @return 渲染视图\n     */\n    @GetMapping(\"/blogs\")\n    public String blogs(@RequestParam(required = false,defaultValue = \"1\",value = \"pageNum\")int pageNum, Model model){\n        PageHelper.startPage(pageNum, 5);\n        List<Blog> allBlog = blogService.getAllBlog();\n        //得到分页结果对象\n        PageInfo<? extends Blog> pageInfo = new PageInfo<>(allBlog);\n        model.addAttribute(\"pageInfo\", pageInfo);\n        setTypeAndTag(model);\n        return \"admin/blogs\";\n    }\n\n    /**\n     * 按条件查询博客\n     * @param blog 博文\n     * @param pageNum 页数\n     * @param model 视图\n     * @return 渲染视图\n     */\n    @PostMapping(\"/blogs/search\")\n    public String searchBlogs(Blog blog, @RequestParam(required = false,defaultValue = \"1\",value = \"pageNum\")int pageNum, Model model){\n        PageHelper.startPage(pageNum, 5);\n        List<Blog> allBlog = blogService.searchAllBlog(blog);\n        //得到分页结果对象\n        PageInfo<? extends Blog> pageInfo = new PageInfo<>(allBlog);\n        model.addAttribute(\"pageInfo\", pageInfo);\n        model.addAttribute(\"message\", \"查询成功\");\n        setTypeAndTag(model);\n        return \"admin/blogs\";\n    }\n\n    /**\n     * 新增博客页\n     * @param model 视图\n     * @return 渲染视图\n     */\n    @GetMapping(\"/blogs/input\")\n    public String toAddBlog(Model model){\n        //返回一个blog对象给前端th:object\n        model.addAttribute(\"blog\", new Blog());\n        setTypeAndTag(model);\n        return \"admin/blogs-input\";\n    }\n\n    /**\n     * 博文编辑页\n     * @param id 博文id\n     * @param model 视图\n     * @return 渲染视图\n     */\n    @GetMapping(\"/blogs/{id}/input\")\n    public String toEditBlog(@PathVariable Long id, Model model){\n        Blog blog = blogService.getBlog(id);\n        //将tags集合转换为tagIds字符串\n        blog.init();\n        updateCache(blog);\n        //返回一个blog对象给前端th:object\n        model.addAttribute(\"blog\", blog);\n        setTypeAndTag(model);\n        return \"admin/blogs-input\";\n    }\n\n    /**\n     * 新增、编辑博客\n     * @param blog 博文\n     * @param session session\n     * @param attributes 属性\n     * @return 重定向到博文页\n     */\n    @PostMapping(\"/blogs\")\n    public String addBlog(Blog blog, HttpSession session, RedirectAttributes attributes){\n        blog.setUser((User) session.getAttribute(\"user\"));\n        blog.setUserId(blog.getUser().getId());\n        blog.setType(typeService.getType(blog.getType().getId()));\n        blog.setTypeId(blog.getType().getId());\n        blog.setTags(tagService.getTagByString(blog.getTagIds()));\n        if (blog.getId() == null) {\n            blogService.saveBlog(blog);\n        } else {\n            updateCache(blog);\n            blogService.updateBlog(blog);\n        }\n        attributes.addFlashAttribute(\"msg\", \"新增成功\");\n        return \"redirect:/admin/blogs\";\n    }\n\n    @PostMapping(\"/blogs/{id}/delete\")\n    public String deleteBlogs(@PathVariable Long id, RedirectAttributes attributes){\n        blogService.deleteBlog(id);\n        deleteCache(id);\n        attributes.addFlashAttribute(\"msg\", \"删除成功\");\n        return \"redirect:/admin/blogs\";\n    }\n\n    public void updateCache(Blog blog){\n        if (redisService.hHasKey(RedisKey.ARTICLE, String.valueOf(blog.getId()))){\n            redisService.hSet(RedisKey.ARTICLE, String.valueOf(blog.getId()), blog);\n        }\n    }\n\n    public void deleteCache(Long id){\n        if (redisService.hHasKey(RedisKey.ARTICLE, String.valueOf(id))){\n            redisService.hDel(RedisKey.ARTICLE, String.valueOf(id));\n        }\n        if (redisService.hHasKey(RedisKey.ARTICLE_VIEWS, String.valueOf(id))){\n            redisService.hDel(RedisKey.ARTICLE_VIEWS, String.valueOf(id));\n        }\n        redisService.set(RedisKey.INDEXBLOG, blogService.getIndexBlog());\n        redisService.set(RedisKey.RECOMMENDBLOG, blogService.getAllRecommendBlog());\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/admin/FriendLinkController.java",
    "content": "package com.blog.controller.admin;\n\nimport com.blog.entity.FriendLink;\nimport com.blog.service.FriendLinkService;\nimport com.github.pagehelper.PageHelper;\nimport com.github.pagehelper.PageInfo;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.validation.BindingResult;\nimport org.springframework.web.bind.annotation.*;\nimport org.springframework.web.servlet.mvc.support.RedirectAttributes;\nimport javax.annotation.Resource;\nimport javax.validation.Valid;\nimport java.util.Date;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Controller\n@RequestMapping(\"/admin\")\npublic class FriendLinkController {\n\n    @Resource\n    private FriendLinkService friendLinkService;\n\n    /**\n     * 查询所有友链\n     * @param model 视图\n     * @param pageNum 页数\n     * @return 渲染视图\n     */\n    @GetMapping({\"/friendLinks\",\"/friendlinks\"})\n    public String friend(Model model, @RequestParam(defaultValue = \"1\",value = \"pageNum\") Integer pageNum){\n        PageHelper.startPage(pageNum,10);\n        List<FriendLink> listFriendLink = friendLinkService.listFriendLink();\n        PageInfo<FriendLink> pageInfo = new PageInfo<>(listFriendLink);\n        model.addAttribute(\"pageInfo\",pageInfo);\n        return \"admin/friendLinks\";\n    }\n\n    /**\n     * 跳转友链新增页面\n     * @param model 视图\n     * @return 友链新增页\n     */\n    @GetMapping(\"/friendLinks/input\")\n    public String input(Model model) {\n        model.addAttribute(\"friendLink\", new FriendLink());\n        return \"admin/friendLinks-input\";\n    }\n\n    /**\n     * 友链新增\n     * @param friendLink 友链\n     * @param result 结果\n     * @param attributes 属性\n     * @return 重定向到友链页\n     */\n    @PostMapping(\"/friendLinks\")\n    public String post(@Valid FriendLink friendLink, BindingResult result, RedirectAttributes attributes){\n        FriendLink obj = friendLinkService.getFriendLinkByBlogAddress(friendLink.getBlogAddress());\n        if (obj != null) {\n            attributes.addFlashAttribute(\"msg\", \"不能添加相同的网址\");\n            return \"redirect:/admin/friendLinks/input\";\n        }\n\n        if(result.hasErrors()){\n            return \"admin/friendLinks-input\";\n        }\n        friendLink.setCreateTime(new Date());\n        int num = friendLinkService.saveFriendLink(friendLink);\n        if (num == 0 ) {\n            attributes.addFlashAttribute(\"msg\", \"新增失败\");\n        } else {\n            attributes.addFlashAttribute(\"msg\", \"新增成功\");\n        }\n        return \"redirect:/admin/friendLinks\";\n    }\n\n    /**\n     * 跳转友链修改页面\n     * @param id 友链id\n     * @param model 视图\n     * @return 友链修改页\n     */\n    @GetMapping(\"/friendLinks/{id}/input\")\n    public String editInput(@PathVariable Integer id, Model model) {\n        model.addAttribute(\"friendLink\", friendLinkService.getFriendLink(id));\n        return \"admin/friendLinks-input\";\n    }\n\n    /**\n     * 编辑修改友链\n     * @param friendLink 友链\n     * @param attributes 属性\n     * @return 友链页\n     */\n    @PostMapping(\"/friendLinks/{id}\")\n    public String editPost(@Valid FriendLink friendLink, RedirectAttributes attributes) {\n        int t = friendLinkService.updateFriendLink(friendLink);\n        if (t == 0 ) {\n            attributes.addFlashAttribute(\"msg\", \"编辑失败\");\n        } else {\n            attributes.addFlashAttribute(\"msg\", \"编辑成功\");\n        }\n        return \"redirect:/admin/friendLinks\";\n    }\n\n    /**\n     * 删除友链\n     * @param id 友链id\n     * @param attributes 属性\n     * @return 友链页\n     */\n    @PostMapping(\"/friendLinks/{id}/delete\")\n    public String delete(@PathVariable Integer id, RedirectAttributes attributes){\n        friendLinkService.deleteFriendLink(id);\n        attributes.addFlashAttribute(\"msg\", \"删除成功\");\n        return \"redirect:/admin/friendLinks\";\n    }\n\n}"
  },
  {
    "path": "src/main/java/com/blog/controller/admin/SettingsController.java",
    "content": "package com.blog.controller.admin;\n\nimport com.blog.config.SettingsConfig;\nimport com.blog.util.PropertiesUtil;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.PostMapping;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.servlet.mvc.support.RedirectAttributes;\nimport javax.annotation.Resource;\nimport javax.validation.Valid;\nimport java.io.IOException;\n\n\n/**\n * @author tangredtea\n */\n@Controller\n@RequestMapping(\"/admin\")\npublic class SettingsController {\n\n    @Resource\n    private SettingsConfig settings;\n\n    @GetMapping(\"/settings\")\n    public String messages(Model model) throws IOException {\n        model.addAttribute(\"settings\",settings);\n        return \"admin/settings\";\n    }\n\n    @PostMapping(\"/settings\")\n    public String message(@Valid SettingsConfig temp, RedirectAttributes attributes) throws IOException, IllegalAccessException {\n        PropertiesUtil.write(settings.getClass(),temp);\n        settings = temp;\n        attributes.addFlashAttribute(\"msg\", \"编辑成功\");\n        return \"redirect:/admin/settings\";\n    }\n\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/admin/TagController.java",
    "content": "package com.blog.controller.admin;\n\nimport com.blog.entity.Tag;\nimport com.blog.service.TagService;\nimport com.github.pagehelper.PageHelper;\nimport com.github.pagehelper.PageInfo;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.*;\nimport org.springframework.web.servlet.mvc.support.RedirectAttributes;\n\nimport javax.annotation.Resource;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Controller\n@RequestMapping(\"/admin\")\npublic class TagController {\n\n    @Resource\n    TagService tagService;\n\n    @GetMapping(\"/tags\")\n    public String tags(@RequestParam(required = false,defaultValue = \"1\",value = \"pageNum\")int pageNum, Model model){\n        PageHelper.startPage(pageNum, 5);\n        List<Tag> allTag = tagService.getAllTag();\n        PageInfo<Tag> pageInfo = new PageInfo<>(allTag);\n        model.addAttribute(\"pageInfo\", pageInfo);\n        return \"admin/tags\";\n    }\n\n    @GetMapping(\"/tags/input\")\n    public String toAddTag(Model model){\n        //返回一个tag对象给前端th:object\n        model.addAttribute(\"tag\", new Tag());\n        return \"admin/tags-input\";\n    }\n\n    @GetMapping(\"/tags/{id}/input\")\n    public String toEditTag(@PathVariable Integer id, Model model){\n        model.addAttribute(\"tag\", tagService.getTag(id));\n        return \"admin/tags-input\";\n    }\n\n    @PostMapping(\"/tags\")\n    public String addTag(Tag tag, RedirectAttributes attributes){\n        Tag t = tagService.getTagByName(tag.getName());\n        if(t != null){\n            attributes.addFlashAttribute(\"msg\", \"不能添加重复的标签\");\n            return \"redirect:/admin/tags/input\";\n        }else {\n            attributes.addFlashAttribute(\"msg\", \"添加成功\");\n        }\n        tagService.saveTag(tag);\n        return \"redirect:/admin/tags\";\n    }\n\n    @PostMapping(\"/tags/{id}\")\n    public String editTag(@PathVariable Integer id, Tag tag, RedirectAttributes attributes){\n        Tag t = tagService.getTagByName(tag.getName());\n        if(t != null){\n            attributes.addFlashAttribute(\"msg\", \"不能添加重复的标签\");\n            return \"redirect:/admin/tags/input\";\n        }else {\n            attributes.addFlashAttribute(\"msg\", \"修改成功\");\n        }\n        tagService.updateTag(tag);\n        return \"redirect:/admin/tags\";\n    }\n\n    @PostMapping(\"/tags/{id}/delete\")\n    public String delete(@PathVariable Integer id, RedirectAttributes attributes){\n        tagService.deleteTag(id);\n        attributes.addFlashAttribute(\"msg\", \"删除成功\");\n        return \"redirect:/admin/tags\";\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/admin/TypeController.java",
    "content": "package com.blog.controller.admin;\n\nimport com.blog.entity.Type;\nimport com.blog.service.TypeService;\nimport com.github.pagehelper.PageHelper;\nimport com.github.pagehelper.PageInfo;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.*;\nimport org.springframework.web.servlet.mvc.support.RedirectAttributes;\n\nimport javax.annotation.Resource;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Controller\n@RequestMapping(\"/admin\")\npublic class TypeController {\n\n    @Resource\n    TypeService typeService;\n\n    @GetMapping(\"/types\")\n    public String types(@RequestParam(required = false,defaultValue = \"1\",value = \"pageNum\")int pageNum, Model model){\n        PageHelper.startPage(pageNum, 5);\n        List<Type> allType = typeService.getAllType();\n        PageInfo<Type> pageInfo = new PageInfo<>(allType);\n        model.addAttribute(\"pageInfo\", pageInfo);\n        return \"admin/types\";\n    }\n\n    @GetMapping(\"/types/input\")\n    public String toAddType(Model model){\n        //返回一个type对象给前端th:object\n        model.addAttribute(\"type\", new Type());\n        return \"admin/types-input\";\n    }\n\n    @GetMapping(\"/types/{id}/input\")\n    public String toEditType(@PathVariable Integer id, Model model){\n        model.addAttribute(\"type\", typeService.getType(id));\n        return \"admin/types-input\";\n    }\n\n    @PostMapping(\"/types\")\n    public String addType(Type type, RedirectAttributes attributes){\n        Type t = typeService.getTypeByName(type.getName());\n        if(t != null){\n            attributes.addFlashAttribute(\"msg\", \"不能添加重复的分类\");\n            return \"redirect:/admin/types/input\";\n        }else {\n            attributes.addFlashAttribute(\"msg\", \"添加成功\");\n        }\n        typeService.saveType(type);\n        return \"redirect:/admin/types\";\n    }\n\n    @PostMapping(\"/types/{id}\")\n    public String editType(@PathVariable Integer id, Type type, RedirectAttributes attributes){\n        Type t = typeService.getTypeByName(type.getName());\n        if(t != null){\n            attributes.addFlashAttribute(\"msg\", \"不能添加重复的分类\");\n            return \"redirect:/admin/types/input\";\n        }else {\n            attributes.addFlashAttribute(\"msg\", \"修改成功\");\n        }\n        typeService.updateType(type);\n        return \"redirect:/admin/types\";\n    }\n\n    @PostMapping(\"/types/{id}/delete\")\n    public String delete(@PathVariable Integer id, RedirectAttributes attributes){\n        typeService.deleteType(id);\n        attributes.addFlashAttribute(\"msg\", \"删除成功\");\n        return \"redirect:/admin/types\";\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/blog/AboutShowController.java",
    "content": "package com.blog.controller.blog;\n\nimport org.springframework.stereotype.Controller;\nimport org.springframework.web.bind.annotation.GetMapping;\n\n/**\n * @author tangredtea\n */\n@Controller\npublic class AboutShowController {\n\n    @GetMapping(\"/about\")\n    public String about(){\n        return \"about\";\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/blog/ArchiveShowController.java",
    "content": "package com.blog.controller.blog;\n\nimport com.blog.service.BlogService;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.GetMapping;\n\nimport javax.annotation.Resource;\n\n/**\n * @author tangredtea\n */\n@Controller\npublic class ArchiveShowController {\n\n    @Resource\n    private BlogService blogService;\n\n    @GetMapping(\"/time\")\n    public String archives(Model model) {\n        model.addAttribute(\"archiveMap\", blogService.archiveBlog());\n        model.addAttribute(\"blogCount\", blogService.countBlog());\n        return \"time\";\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/blog/FriendLinkControllerShow.java",
    "content": "package com.blog.controller.blog;\n\nimport com.blog.service.FriendLinkService;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.GetMapping;\n\nimport javax.annotation.Resource;\n\n/**\n * @author tangredtea\n */\n@Controller\npublic class FriendLinkControllerShow {\n\n    @Resource\n    private FriendLinkService friendLinkService;\n\n    @GetMapping(\"/friends\")\n    public String friends(Model model) {\n        model.addAttribute(\"friendLinks\",friendLinkService.listFriendLink());\n        return \"friends\";\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/blog/IndexController.java",
    "content": "package com.blog.controller.blog;\n\nimport com.blog.config.RedisKey;\nimport com.blog.entity.Blog;\nimport com.blog.entity.Message;\nimport com.blog.service.AIService;\nimport com.blog.service.BlogService;\nimport com.blog.service.MessageService;\nimport com.blog.service.RedisService;\nimport com.blog.service.SmartSearchService;\nimport com.blog.util.CommonResult;\nimport com.github.pagehelper.PageHelper;\nimport com.github.pagehelper.PageInfo;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.*;\n\nimport javax.annotation.Resource;\nimport java.util.Collections;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Controller\npublic class IndexController {\n\n    /** 缓存过期时间：5小时 */\n    private static final long CACHE_TTL = 5 * 3600;\n\n    @Resource\n    private RedisService cache;\n\n    @Resource\n    private BlogService blogService;\n\n    @Resource\n    private MessageService messageService;\n\n    @Resource\n    private SmartSearchService smartSearchService;\n\n    @Resource\n    private AIService aiService;\n\n    /**\n     * 首页数据\n     * @param model 视图\n     * @param pageNum 分页\n     * @return 渲染视图\n     */\n    @RequestMapping(\"/\")\n    public String toIndex(@RequestParam(required = false,defaultValue = \"1\") int pageNum, Model model){\n        List<Blog> recommendBlog;\n        List<Message> messages;\n        List<Blog> hotBlogs;\n        // 文章列表需要分页，不走缓存以保证 PageHelper 生效\n        PageHelper.startPage(pageNum, 5);\n        List<Blog> allBlog = blogService.getIndexBlog();\n        if (cache.hasKey(RedisKey.RECOMMENDBLOG)){\n            recommendBlog = (List<Blog>) cache.get(RedisKey.RECOMMENDBLOG);\n        }else {\n            recommendBlog = blogService.getAllRecommendBlog();\n            cache.set(RedisKey.RECOMMENDBLOG, recommendBlog, CACHE_TTL);\n        }\n        if (cache.hasKey(RedisKey.MESSAGES)){\n            messages = (List<Message>) cache.get(RedisKey.MESSAGES);\n        }else {\n            messages = messageService.findByIndexParentId();\n            cache.set(RedisKey.MESSAGES, messages, CACHE_TTL);\n        }\n        if (cache.hasKey(RedisKey.HOTBLOGS)){\n            hotBlogs = (List<Blog>) cache.get(RedisKey.HOTBLOGS);\n        }else {\n            hotBlogs = blogService.getHotBlog();\n            cache.set(RedisKey.HOTBLOGS, hotBlogs, CACHE_TTL);\n        }\n        if (messages.size() >= 8){\n            messages = messages.subList(0, 8);\n        }\n        PageInfo<? extends Blog> pageInfo = new PageInfo<>(allBlog);\n        model.addAttribute(\"messages\", messages);\n        model.addAttribute(\"pageInfo\", pageInfo);\n        model.addAttribute(\"recommendBlogs\", recommendBlog);\n        model.addAttribute(\"hotBlogs\", hotBlogs);\n        return \"index\";\n    }\n\n    @GetMapping(\"/search\")\n    public String search(@RequestParam(required = false,defaultValue = \"1\",value = \"pageNum\")int pageNum,\n                         @RequestParam String query, Model model){\n\n        PageHelper.startPage(pageNum, 5);\n        List<Blog> searchBlog = blogService.getSearchBlog(query);\n        PageInfo<? extends Blog> pageInfo = new PageInfo<>(searchBlog);\n        model.addAttribute(\"pageInfo\", pageInfo);\n        model.addAttribute(\"query\", query);\n        return \"search\";\n    }\n\n    @GetMapping(\"/blog/{id}\")\n    public String getBlog(@PathVariable Long id, Model model){\n        Blog blog;\n        if (cache.hHasKey(RedisKey.ARTICLE, String.valueOf(id))){\n            blog = (Blog) cache.hGet(RedisKey.ARTICLE, String.valueOf(id));\n        }else {\n            blog = blogService.getDetailedBlog(id);\n            cache.hSet(RedisKey.ARTICLE, String.valueOf(id), blog);\n        }\n        if (!cache.hHasKey(RedisKey.ARTICLE_VIEWS, String.valueOf(id))){\n            cache.hSet(RedisKey.ARTICLE_VIEWS, String.valueOf(id), blog.getViews());\n        }\n        cache.hIncr(RedisKey.ARTICLE_VIEWS, String.valueOf(id), 1L);\n        blog.setViews((Integer) cache.hGet(RedisKey.ARTICLE_VIEWS, String.valueOf(id)));\n        model.addAttribute(\"blog\", blog);\n        try {\n            List<Blog> relatedBlogs = smartSearchService.getRelatedBlogs(id, 4);\n            model.addAttribute(\"relatedBlogs\", relatedBlogs);\n        } catch (Exception e) {\n            model.addAttribute(\"relatedBlogs\", Collections.emptyList());\n        }\n        return \"blog\";\n    }\n\n    @GetMapping(\"/api/search/suggestions\")\n    @ResponseBody\n    public List<String> searchSuggestions(@RequestParam String query) {\n        try {\n            return smartSearchService.getSearchSuggestions(query);\n        } catch (Exception e) {\n            return Collections.emptyList();\n        }\n    }\n\n    /**\n     * AI 文章问答接口\n     */\n    @PostMapping(\"/api/ai/chat\")\n    @ResponseBody\n    public CommonResult aiChat(@RequestParam Long blogId, @RequestParam String question) {\n        try {\n            if (question == null || question.trim().isEmpty()) {\n                return CommonResult.error(\"请输入问题\");\n            }\n            Blog blog;\n            if (cache.hHasKey(RedisKey.ARTICLE, String.valueOf(blogId))) {\n                blog = (Blog) cache.hGet(RedisKey.ARTICLE, String.valueOf(blogId));\n            } else {\n                blog = blogService.getDetailedBlog(blogId);\n            }\n            if (blog == null) {\n                return CommonResult.error(\"文章不存在\");\n            }\n            String answer = aiService.chatAboutArticle(blog.getTitle(), blog.getContent(), question.trim());\n            return CommonResult.success(answer);\n        } catch (Exception e) {\n            return CommonResult.error(\"AI 暂时无法回答，请稍后再试\");\n        }\n    }\n\n    /**\n     * 公开的 AI 状态接口\n     */\n    @GetMapping(\"/api/ai/status\")\n    @ResponseBody\n    public CommonResult aiStatus() {\n        java.util.Map<String, Object> status = new java.util.HashMap<>();\n        status.put(\"enabled\", aiService.isEnabled());\n        return CommonResult.success(status);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/blog/MessageController.java",
    "content": "package com.blog.controller.blog;\n\nimport com.blog.config.RedisKey;\nimport com.blog.config.SettingsConfig;\nimport com.blog.entity.Message;\nimport com.blog.entity.User;\nimport com.blog.service.MessageService;\nimport com.blog.service.RedisService;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.PathVariable;\nimport org.springframework.web.bind.annotation.PostMapping;\nimport javax.annotation.Resource;\nimport javax.servlet.http.HttpSession;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Controller\npublic class MessageController {\n\n    @Resource\n    private RedisService redisService;\n\n    @Resource\n    private SettingsConfig settingsConfig;\n\n    @Resource\n    private MessageService messageService;\n\n    /**\n     * 查询留言\n     * @param model 视图\n     * @return 渲染视图\n     */\n    @GetMapping({\"/messageComment\",\"/message\"})\n    public String messages(Model model) {\n        List<Message> messages = messageService.listMessage();\n        model.addAttribute(\"messages\", messages);\n        return \"message\";\n    }\n\n    /**\n     * 新增留言\n     * @param message 留言\n     * @param session 用户\n     * @param model 视图\n     * @return 渲染视图\n     */\n    @PostMapping(\"/message\")\n    public String post(Message message, HttpSession session, Model model) {\n        User user = (User) session.getAttribute(\"user\");\n        //设置头像\n        if (user != null) {\n            message.setAdminMessage(true);\n            message.setAvatar(user.getAvatar());\n        } else {\n            message.setAvatar(settingsConfig.getDefault_avatar());\n        }\n        if (message.getParentMessage().getId() != null) {\n            message.setParentMessageId(message.getParentMessage().getId());\n        }\n        messageService.saveMessage(message);\n        List<Message> messages = messageService.listMessage();\n        model.addAttribute(\"messages\", messages);\n        return \"message\";\n    }\n\n    /**\n     * 删除留言（需要管理员权限）\n     * @param id 留言id\n     * @return 渲染视图\n     */\n    @PostMapping(\"/admin/messages/{id}/delete\")\n    public String delete(@PathVariable Long id){\n        messageService.deleteMessage(id);\n        deleteCache();\n        return \"redirect:/messageComment\";\n    }\n\n    public void deleteCache(){\n        redisService.set(RedisKey.MESSAGES, messageService.findByIndexParentId());\n    }\n}"
  },
  {
    "path": "src/main/java/com/blog/controller/blog/TagShowController.java",
    "content": "package com.blog.controller.blog;\n\nimport com.blog.entity.Blog;\nimport com.blog.entity.Tag;\nimport com.blog.service.BlogService;\nimport com.blog.service.TagService;\nimport com.github.pagehelper.PageHelper;\nimport com.github.pagehelper.PageInfo;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.PathVariable;\nimport org.springframework.web.bind.annotation.RequestParam;\n\nimport javax.annotation.Resource;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Controller\npublic class TagShowController {\n\n    @Resource\n    private TagService tagService;\n\n    @Resource\n    private BlogService blogService;\n\n    @GetMapping(value = {\"/tags/{id}\",\"/tags\"})\n    public String types(@PathVariable(required = false) Integer id, @RequestParam(required = false,defaultValue = \"1\",value = \"pageNum\")int pageNum,\n                        Model model){\n        //开启分页\n        PageHelper.startPage(pageNum, 100);\n        List<Tag> tags = tagService.getBlogTag();\n        //从导航点过来的\n        if (id == null){\n            id = tags.get(0).getId();\n        }\n        List<Blog> blogs = blogService.getByTagId(id);\n        for (Blog blog : blogs) {\n            System.out.println(blog);\n        }\n        PageInfo<Blog> pageInfo = new PageInfo<>(blogs);\n        model.addAttribute(\"tags\", tags);\n        model.addAttribute(\"pageInfo\", pageInfo);\n        model.addAttribute(\"activeTagId\", id);\n        return \"tags\";\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/blog/TypeShowController.java",
    "content": "package com.blog.controller.blog;\n\nimport com.blog.entity.Blog;\nimport com.blog.entity.Type;\nimport com.blog.service.BlogService;\nimport com.blog.service.TypeService;\nimport com.github.pagehelper.PageHelper;\nimport com.github.pagehelper.PageInfo;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.PathVariable;\nimport org.springframework.web.bind.annotation.RequestParam;\n\nimport javax.annotation.Resource;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Controller\npublic class TypeShowController {\n\n    @Resource\n    private TypeService typeService;\n\n    @Resource\n    private BlogService blogService;\n\n    @GetMapping(value = {\"/types/{id}\",\"/types\"})\n    public String types(@PathVariable(required = false) Integer id, @RequestParam(required = false,defaultValue = \"1\",value = \"pageNum\")int pageNum,\n                        Model model){\n        //开启分页\n        PageHelper.startPage(pageNum, 100);\n        List<Type> types = typeService.getBlogType();\n        //从导航点过来的\n        if (id == null){\n            id = types.get(0).getId();\n            System.out.println(id);\n        }\n        List<Blog> blogs = blogService.getByTypeId(id);\n        PageInfo<Blog> pageInfo = new PageInfo<>(blogs);\n        model.addAttribute(\"types\", types);\n        model.addAttribute(\"pageInfo\", pageInfo);\n        model.addAttribute(\"activeTypeId\", id);\n        return \"types\";\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/controller/common/ControllerExceptionHandler.java",
    "content": "package com.blog.controller.common;\n\nimport com.blog.config.SettingsConfig;\nimport com.blog.pojo.WebhookMessage;\nimport com.blog.util.WxChatbotClient;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.core.annotation.AnnotationUtils;\nimport org.springframework.web.bind.annotation.ControllerAdvice;\nimport org.springframework.web.bind.annotation.ExceptionHandler;\nimport org.springframework.web.bind.annotation.ResponseStatus;\nimport org.springframework.web.servlet.ModelAndView;\n\nimport javax.annotation.Resource;\nimport javax.servlet.http.HttpServletRequest;\n\n/**\n * 非状态码跳转到自定义的error页面\n * 状态码自动处理到相对应的状态码页面\n * 拦截所有controller抛出的异常，对异常进行统一的处理\n * @author tangredtea\n */\n@ControllerAdvice\npublic class ControllerExceptionHandler {\n\n    @Resource\n    private SettingsConfig settings;\n\n    private final Logger logger = LoggerFactory.getLogger(this.getClass());\n\n    /**\n     * 表示该方法可以处理所有类型异常\n     * @param request 请求\n     * @param e 异常\n     * @return 错误页面\n     * @throws Exception 异常\n     */\n    @ExceptionHandler(Exception.class)\n    public ModelAndView exceptionHandler(HttpServletRequest request, Exception e) throws Exception {\n        //日志打印异常信息\n        logger.error(\"Request url: {}, Request ip: {}, Exception: {} \", request.getRequestURI(), request.getRemoteAddr(), e.getMessage());\n        //不处理带有ResponseStatus注解的异常\n        if (AnnotationUtils.findAnnotation(e.getClass(), ResponseStatus.class) != null) {\n            throw e;\n        }\n        if (!\"0\".equals(settings.getWx_Webhook())){\n            WebhookMessage message = new WebhookMessage();\n            message.setText(\"博客异常请求通知\\n请求url:\" + request.getRequestURI() + \"\\n请求ip:\" + request.getRemoteAddr() + \"\\n错误原因:\" + e.getMessage());\n            WxChatbotClient.send(settings.getWx_Webhook(), message);\n        }\n        //返回异常信息到自定义error页面\n        ModelAndView mv = new ModelAndView();\n        mv.addObject(\"url\", request.getRequestURI());\n        mv.addObject(\"exception\",e);\n        mv.setViewName(\"error/error\");\n        return mv;\n    }\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/dao/BlogDao.java",
    "content": "package com.blog.dao;\n\nimport com.blog.entity.Blog;\nimport com.blog.entity.BlogAndTag;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.apache.ibatis.annotations.Param;\nimport org.springframework.stereotype.Repository;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Mapper\n@Repository\npublic interface BlogDao {\n    /**\n     * 后台展示博客\n     * @param id 博客id\n     * @return 博文\n     */\n    Blog getBlog(Long id);\n\n    /**\n     *  博客详情\n     * @param id 博客id\n     * @return 博文\n     */\n    Blog getDetailedBlog(@Param(\"id\") Long id);\n\n    /**\n     * 得到所有博客\n     * @return 博客列表\n     */\n    List<Blog> getAllBlog();\n\n    /**\n     * 得到所有已发布博客\n     * @return 博客列表\n     */\n    List<Blog> getAllPublishedBlogs();\n\n    /**\n     * 原子性增加浏览量（线程安全）\n     * @param id 博客id\n     * @return 修改状态\n     */\n    int incrementViews(@Param(\"id\") Long id);\n\n    /**\n     * 根据类型id获取博客\n     * @param typeId 类型id\n     * @return 博客列表\n     */\n    List<Blog> getByTypeId(Integer typeId);\n\n    /**\n     * 根据标签id获取博客\n     * @param tagId 标签id\n     * @return 博客列表\n     */\n    List<Blog> getByTagId(Integer tagId);\n\n    /**\n     * 主页博客展示\n     * @return 博文列表\n     */\n    List<Blog> getIndexBlog();\n\n    /**\n     * 推荐博客展示\n     * @return 博文列表\n     */\n    List<Blog> getAllRecommendBlog();\n\n    /**\n     * 全局搜索博客\n     * @param query 关键字\n     * @return 博文列表\n     */\n    List<Blog> getSearchBlog(String query);\n\n    /**\n     * 后台根据标题、分类、推荐搜索博客\n     * @param blog 博文\n     * @return 博文列表\n     */\n    List<Blog> searchAllBlog(Blog blog);\n\n    /**\n     * 查询所有年份，返回一个集合\n     * @return 日期值\n     */\n    List<String> findGroupYear();\n\n    /**\n     *  按年份查询博客\n     * @param year 年份\n     * @return 博文列表\n     */\n    List<Blog> findByYear(@Param(\"year\") String year);\n\n    /**\n     * 保存博客\n     * @param blog 博文\n     * @return 状态值\n     */\n    int saveBlog(Blog blog);\n\n    /**\n     * 保存博客和标签\n     * @param blogAndTag 博文和标签\n     * @return 状态值\n     */\n    int saveBlogAndTag(BlogAndTag blogAndTag);\n\n    /**\n     * 删除博客标签关联\n     * @param blogId 博文id\n     * @return 状态值\n     */\n    int deleteBlogAndTagByBlogId(@Param(\"blogId\") Long blogId);\n\n    /**\n     * 批量增加浏览量\n     * @param id 博客id\n     * @param increment 增量\n     * @return 修改状态\n     */\n    int addViews(@Param(\"id\") Long id, @Param(\"increment\") int increment);\n\n    /**\n     * 更新博客\n     * @param blog 博文\n     * @return 状态值\n     */\n    int updateBlog(Blog blog);\n\n    /**\n     * 删除博客\n     * @param id 博文id\n     * @return 状态值\n     */\n    int deleteBlog(Long id);\n\n    /**\n     * 热门博客推荐\n     * @return 博文列表\n     */\n    List<Blog> getHotBlog();\n\n    /**\n     * 得到博文数量\n     * @return 数量\n     */\n    int getCount();\n\n    /**\n     * 得到阅读数\n     * @return 阅读量\n     */\n    int getViews();\n\n    /**\n     * 得到平均阅读数\n     * @return 阅读量\n     */\n    int getAvgViews();\n}\n"
  },
  {
    "path": "src/main/java/com/blog/dao/FriendLinkDao.java",
    "content": "package com.blog.dao;\n\nimport com.blog.entity.FriendLink;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.springframework.stereotype.Repository;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Mapper\n@Repository\npublic interface FriendLinkDao {\n    /**\n     * 列出友情链接\n     * @return 友链列表\n     */\n    List<FriendLink> listFriendLink();\n\n    /**\n     * 保存友情链接\n     * @param friendLink 友链\n     * @return 状态值\n     */\n    int saveFriendLink(FriendLink friendLink);\n\n    /**\n     * 得到数量\n     * @return 数量\n     */\n    int getCount();\n\n    /**\n     * 获取友情链接\n     * @param id 友链id\n     * @return 友链\n     */\n    FriendLink getFriendLink(Integer id);\n\n    /**\n     * 通过地址得到友情链接\n     * @param blogAddress 友链地址\n     * @return 友链\n     */\n    FriendLink getFriendLinkByBlogAddress(String blogAddress);\n\n    /**\n     * 更新友情链接\n     * @param friendLink 友链\n     * @return 状态值\n     */\n    int updateFriendLink(FriendLink friendLink);\n\n    /**\n     * 删除友情链接\n     * @param id 友链id\n     */\n    void deleteFriendLink(Integer id);\n\n}"
  },
  {
    "path": "src/main/java/com/blog/dao/MessageDao.java",
    "content": "package com.blog.dao;\n\nimport com.blog.entity.Message;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.apache.ibatis.annotations.Param;\nimport org.springframework.stereotype.Repository;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Mapper\n@Repository\npublic interface MessageDao {\n\n    /**\n     * 添加一个留言\n     * @param message 留言\n     * @return 状态值\n     */\n    int saveMessage(Message message);\n\n    /**\n     * 得到数量\n     * @return 数量\n     */\n    int getCount();\n\n    /**\n     * 查询首页推荐留言\n     * @param ParentId 留言父id\n     * @return 留言列表\n     */\n    List<Message> findByIndexParentId(@Param(\"ParentId\") Long ParentId);\n\n    /**\n     * 查询留言\n     * @param ParentId 留言父id\n     * @return 留言列表\n     */\n    List<Message> findByParentIdNull(@Param(\"ParentId\") Long ParentId);\n\n    /**\n     * 查询一级回复\n     * @param id 留言id\n     * @return 留言列表\n     */\n    List<Message> findByParentIdNotNull(@Param(\"id\") Long id);\n\n    /**\n     * 查询二级以及所有子集回复\n     * @param childId 留言id\n     * @return 留言列表\n     */\n    List<Message> findByReplayId(@Param(\"childId\") Long childId);\n\n    /**\n     * 删除评论\n     * @param id 留言id\n     */\n    void deleteMessage(Long id);\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/dao/TagDao.java",
    "content": "package com.blog.dao;\n\nimport com.blog.entity.Tag;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.springframework.stereotype.Repository;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Mapper\n@Repository\npublic interface TagDao {\n    /**\n     * 保存标签\n     * @param tag 标签\n     * @return 状态值\n     */\n    int saveTag(Tag tag);\n\n    /**\n     * 得到数量\n     * @return 数量\n     */\n    int getCount();\n\n    /**\n     * 得到标签\n     * @param id 标签id\n     * @return 标签\n     */\n    Tag getTag(Integer id);\n\n    /**\n     * 通过名字获取标签\n     * @param name 名字\n     * @return 标签\n     */\n    Tag getTagByName(String name);\n\n    /**\n     * 得到所有标签\n     * @return 标签列表\n     */\n    List<Tag> getAllTag();\n\n    /**\n     * 首页展示博客标签\n     * @return 标签列表\n     */\n    List<Tag> getBlogTag();\n\n    /**\n     * 更新标签\n     * @param tag 标签\n     * @return 状态值\n     */\n    int updateTag(Tag tag);\n\n    /**\n     * 删除标签\n     * @param id 标签id\n     * @return 状态值\n     */\n    int deleteTag(Integer id);\n}\n"
  },
  {
    "path": "src/main/java/com/blog/dao/TypeDao.java",
    "content": "package com.blog.dao;\n\nimport com.blog.entity.Type;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.springframework.stereotype.Repository;\n\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Mapper\n@Repository\npublic interface TypeDao {\n    /**\n     * 保存分类\n     * @param type 分类\n     * @return 状态值\n     */\n    int saveType(Type type);\n\n    /**\n     * 得到数量\n     * @return 数量\n     */\n    int getCount();\n\n    /**\n     * 得到分类\n     * @param id 分类id\n     * @return 分类\n     */\n    Type getType(Integer id);\n\n    /**\n     * 通过分类名搜索\n     * @param name 分类名\n     * @return 分类\n     */\n    Type getTypeByName(String name);\n\n    /**\n     * 得到所有分类\n     * @return 分类列表\n     */\n    List<Type> getAllType();\n\n    /**\n     * 首页右侧展示type对应的博客数量\n     * @return 分类列表\n     */\n    List<Type> getBlogType();\n\n    /**\n     * 更新分类\n     * @param type 分类\n     * @return 状态值\n     */\n    int updateType(Type type);\n\n    /**\n     * 删除分类\n     * @param id 分类id\n     * @return 状态值\n     */\n    int deleteType(Integer id);\n}\n"
  },
  {
    "path": "src/main/java/com/blog/dao/UserDao.java",
    "content": "package com.blog.dao;\n\nimport com.blog.entity.User;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.apache.ibatis.annotations.Param;\nimport org.springframework.stereotype.Repository;\n\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Mapper\n@Repository\npublic interface UserDao {\n    /**\n     * 查询用户登录\n     * @param username 账号\n     * @param password 密码\n     * @return user\n     */\n    User queryByUsernameAndPassword(@Param(\"username\") String username, @Param(\"password\") String password);\n\n    /**\n     * 通过用户名查询用户\n     * @param username 用户名\n     * @return user\n     */\n    User queryByUsername(@Param(\"username\") String username);\n\n    /**\n     * 通过id查询用户信息\n     * @param id 用户id\n     * @return user\n     */\n    User getUserInfoById(Integer id);\n\n    /**\n     * 得到所有用户\n     * @return 标签列表\n     */\n    List<User> getAllUser();\n\n    /**\n     * 修改用户信息\n     * @param user 用户\n     * @return boolean\n     */\n    int updateUser(User user);\n\n    /**\n     * 删除用户\n     * @param id 用户id\n     * @return 状态值\n     */\n    int deleteUser(Integer id);\n\n    /**\n     * 保存用户\n     * @param user 用户\n     * @return 状态值\n     */\n    int saveUser(User user);\n\n    /**\n     * 得到数量\n     * @return 数量\n     */\n    int getCount();\n\n    /**\n     * 查询用户名数量\n     * @param name 用户名\n     * @return 数量\n     */\n    int getUserInfoByUsername(String name);\n}\n"
  },
  {
    "path": "src/main/java/com/blog/entity/Blog.java",
    "content": "package com.blog.entity;\n\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;\n\nimport java.io.Serializable;\nimport java.util.ArrayList;\nimport java.util.Date;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Data\n@AllArgsConstructor\n@NoArgsConstructor\npublic class Blog implements Serializable {\n\n    private Long id;\n    private String title;\n    private String content;\n    private String firstPicture;\n    private Integer views;\n    private Boolean flag;\n    private Boolean appreciation;\n    private Boolean shareStatement;\n    private Boolean commentable;\n    private Boolean published;      // 是否发布（true=已发布，false=草稿）\n    private Boolean recommend;      // 是否推荐\n    private Boolean isDeleted;      // 是否删除（软删除）\n    private Boolean isTop;          // 是否置顶\n    private String password;        // 文章密码（为空表示公开）\n    private Date publishTime;       // 发布时间\n    private Date createTime;\n    private Date updateTime;\n\n    /**\n     * 这个属性用来在mybatis中进行连接查询的\n     */\n    private Integer typeId;\n    private Integer userId;\n\n    /**\n     * 获取多个标签的id\n     */\n    private String tagIds;\n\n    private String description;\n\n    private Type type;\n\n    private User user;\n\n    private List<Tag> tags = new ArrayList<>();\n\n    public void init(){\n        this.tagIds = tagsToIds(this.getTags());\n    }\n\n    /**\n     * 将tags集合转换为tagIds字符串形式：“1,2,3”,用于编辑博客时显示博客的tag\n     * @param tags 标签\n     * @return 标签id\n     */\n    private String tagsToIds(List<Tag> tags){\n        if(!tags.isEmpty()){\n            StringBuilder ids = new StringBuilder();\n            boolean flag = false;\n            for(Tag tag: tags){\n                if(flag){\n                    ids.append(\",\");\n                }else {\n                    flag = true;\n                }\n                ids.append(tag.getId());\n            }\n            return ids.toString();\n        }else {\n            return tagIds;\n        }\n    }\n    public String tagsToNames(){\n        if(!tags.isEmpty()){\n            StringBuilder ids = new StringBuilder();\n            boolean flag = false;\n            for(Tag tag: tags){\n                if(flag){\n                    ids.append(\",\");\n                }else {\n                    flag = true;\n                }\n                ids.append(tag.getName());\n            }\n            return ids.toString();\n        }else {\n            return \"\";\n        }\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/entity/BlogAndTag.java",
    "content": "package com.blog.entity;\n\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;\n\nimport java.io.Serializable;\n\n/**\n * 把博客和标签关系存到数据库中使用的类\n * @author tangredtea\n */\n\n@Data\n@AllArgsConstructor\n@NoArgsConstructor\npublic class BlogAndTag implements Serializable {\n\n    private Integer tagId;\n\n    private Long blogId;\n}\n"
  },
  {
    "path": "src/main/java/com/blog/entity/FriendLink.java",
    "content": "package com.blog.entity;\n\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;\n\nimport java.io.Serializable;\nimport java.util.Date;\n\n/**\n * @author tangredtea\n */\n@Data\n@AllArgsConstructor\n@NoArgsConstructor\npublic class FriendLink implements Serializable {\n\n    private Integer id;\n    private String blogName;\n    private String blogAddress;\n    private String pictureAddress;\n    private Date createTime;\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/entity/Message.java",
    "content": "package com.blog.entity;\n\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;\n\nimport java.io.Serializable;\nimport java.util.ArrayList;\nimport java.util.Date;\nimport java.util.List;\n\n/**\n留言类\n * @author tangredtea\n */\n@Data\n@AllArgsConstructor\n@NoArgsConstructor\npublic class Message implements Serializable {\n\n    private Long id;\n    private String nickname;\n    private String email;\n    private String content;\n    private String avatar;\n    private Date createTime;\n    private Long parentMessageId;\n    private boolean adminMessage;\n\n    /**\n     * 回复评论\n     */\n    private List<Message> replyMessages = new ArrayList<>();\n    private Message parentMessage;\n    private String parentNickname;\n\n}"
  },
  {
    "path": "src/main/java/com/blog/entity/Tag.java",
    "content": "package com.blog.entity;\n\n\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;\n\nimport java.io.Serializable;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Data\n@AllArgsConstructor\n@NoArgsConstructor\npublic class Tag implements Serializable {\n    private Integer id;\n    private String name;\n    private List<Blog> blogs = new ArrayList<>();\n}\n"
  },
  {
    "path": "src/main/java/com/blog/entity/Type.java",
    "content": "package com.blog.entity;\n\n\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;\n\nimport java.io.Serializable;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Data\n@AllArgsConstructor\n@NoArgsConstructor\npublic class Type implements Serializable {\n\n    private Integer id;\n    private String name;\n    private List<Blog> blogs = new ArrayList<>();\n}\n"
  },
  {
    "path": "src/main/java/com/blog/entity/User.java",
    "content": "package com.blog.entity;\n\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;\n\nimport java.io.Serializable;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Data\n@AllArgsConstructor\n@NoArgsConstructor\npublic class User implements Serializable {\n    private Integer id;\n    private String nickname;\n    private String username;\n    private String password;\n    private String email;\n    private String avatar;\n    private List<Blog> blogs = new ArrayList<>();\n}\n"
  },
  {
    "path": "src/main/java/com/blog/enums/BlogStatus.java",
    "content": "package com.blog.enums;\n\nimport lombok.Getter;\n\n/**\n * 博客文章状态枚举\n * @author tangredtea\n */\n@Getter\npublic enum BlogStatus {\n    \n    DRAFT(0, \"草稿\"),\n    PUBLISHED(1, \"已发布\"),\n    DELETED(2, \"已删除（回收站）\");\n    \n    private final int code;\n    private final String desc;\n    \n    BlogStatus(int code, String desc) {\n        this.code = code;\n        this.desc = desc;\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/exception/BusinessException.java",
    "content": "package com.blog.exception;\n\nimport lombok.Getter;\n\n/**\n * 业务异常\n * @author tangredtea\n */\n@Getter\npublic class BusinessException extends RuntimeException {\n\n    private final String redirectUrl;\n\n    public BusinessException(String message) {\n        super(message);\n        this.redirectUrl = \"/admin\";\n    }\n\n    public BusinessException(String message, String redirectUrl) {\n        super(message);\n        this.redirectUrl = redirectUrl;\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/exception/GlobalExceptionHandler.java",
    "content": "package com.blog.exception;\n\nimport lombok.extern.slf4j.Slf4j;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.ControllerAdvice;\nimport org.springframework.web.bind.annotation.ExceptionHandler;\nimport org.springframework.web.servlet.mvc.support.RedirectAttributes;\n\n/**\n * 全局异常处理器\n * @author tangredtea\n */\n@Slf4j\n@ControllerAdvice\npublic class GlobalExceptionHandler {\n\n    /**\n     * 处理所有异常\n     */\n    @ExceptionHandler(Exception.class)\n    public String handleException(Exception e, Model model) {\n        log.error(\"系统异常\", e);\n        model.addAttribute(\"errorMsg\", \"系统繁忙，请稍后重试\");\n        return \"error/error\";\n    }\n\n    /**\n     * 处理业务异常\n     */\n    @ExceptionHandler(BusinessException.class)\n    public String handleBusinessException(BusinessException e, RedirectAttributes attributes) {\n        log.warn(\"业务异常: {}\", e.getMessage());\n        attributes.addFlashAttribute(\"msg\", e.getMessage());\n        return \"redirect:\" + e.getRedirectUrl();\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/exception/NotFoundException.java",
    "content": "package com.blog.exception;\n\nimport org.springframework.http.HttpStatus;\nimport org.springframework.web.bind.annotation.ResponseStatus;\n\n/**\n * 自定义NotFoundException异常,会跳转到404页面\n * @author tangredtea\n */\n@ResponseStatus(HttpStatus.NOT_FOUND)\npublic class NotFoundException extends RuntimeException {\n\n    public NotFoundException() {\n    }\n\n    public NotFoundException(String message) {\n        super(message);\n    }\n\n    public NotFoundException(String message, Throwable cause) {\n        super(message, cause);\n    }\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/interceptor/LoginInterceptor.java",
    "content": "package com.blog.interceptor;\n\nimport org.springframework.web.servlet.HandlerInterceptor;\n\nimport javax.servlet.http.HttpServletRequest;\nimport javax.servlet.http.HttpServletResponse;\n\n/**\n * 登录拦截器\n * @author tangredtea\n */\npublic class LoginInterceptor implements HandlerInterceptor {\n\n    @Override\n    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {\n        if (request.getSession().getAttribute(\"user\") == null){\n            response.sendRedirect(\"/admin\");\n            return false;\n        }\n        return true;\n    }\n\n}"
  },
  {
    "path": "src/main/java/com/blog/pojo/RequestLog.java",
    "content": "package com.blog.pojo;\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\n\n/**\n * 日志类，用于封装请求信息\n * @author tangredtea\n */\n@Data\n@AllArgsConstructor\npublic class RequestLog{\n    private String url;\n    private String ip;\n    private String classMethod;\n    private Object[] args;\n}"
  },
  {
    "path": "src/main/java/com/blog/pojo/WebhookMessage.java",
    "content": "package com.blog.pojo;\n\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;\nimport java.util.HashMap;\nimport java.util.Map;\n\n/**\n * @author tangredtea\n */\n@Data\n@AllArgsConstructor\n@NoArgsConstructor\npublic class WebhookMessage {\n    /**\n     * the text to send\n     */\n    private String text;\n\n    public Map<String, Object> toJsonString() {\n        Map<String, Object> items = new HashMap<>();\n        items.put(\"msgtype\", \"text\");\n        Map<String, Object> textContent = new HashMap<>();\n        textContent.put(\"content\", text);\n        items.put(\"text\", textContent);\n        return items;\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/scheduled/Refresh.java",
    "content": "package com.blog.scheduled;\n\nimport com.blog.dao.BlogDao;\nimport com.blog.config.RedisKey;\nimport com.blog.entity.Blog;\nimport com.blog.service.BlogService;\nimport com.blog.service.MessageService;\nimport com.blog.service.RedisService;\nimport lombok.extern.slf4j.Slf4j;\nimport org.springframework.scheduling.annotation.Scheduled;\nimport org.springframework.stereotype.Component;\n\nimport javax.annotation.PostConstruct;\nimport javax.annotation.Resource;\nimport java.util.Map;\n\n/**\n * @author tangredtea\n */\n@Slf4j\n@Component\npublic class Refresh {\n\n    @Resource\n    BlogDao blogDao;\n\n    @Resource\n    BlogService blogService;\n\n    @Resource\n    MessageService messageService;\n\n    @Resource\n    RedisService cache;\n\n    /** 缓存过期时间：5小时（大于定时任务4小时间隔，保证定时任务异常时缓存也会过期） */\n    private static final long CACHE_TTL = 5 * 3600;\n\n    @PostConstruct\n    public void init(){\n        refreshCaches();\n    }\n\n    @Scheduled(cron = \"0 0 0/4 * * ? \")\n    public void execute() {\n        // 博客刷新阅读量到数据库\n        Map<String, Object> blogMap = cache.hGetAll(RedisKey.ARTICLE);\n        Map<String, Object> viewMap = cache.hGetAll(RedisKey.ARTICLE_VIEWS);\n\n        for (Map.Entry<String, Object> entry : blogMap.entrySet()) {\n            String key = entry.getKey();\n            Blog blog = (Blog) entry.getValue();\n            Integer redisViews = (Integer) viewMap.get(key);\n\n            if (redisViews != null && !redisViews.equals(blog.getViews())) {\n                int increment = redisViews - blog.getViews();\n                if (increment > 0) {\n                    blogDao.addViews(blog.getId(), increment);\n                    blog.setViews(redisViews);\n                    cache.hSet(RedisKey.ARTICLE, key, blog);\n                }\n            }\n        }\n        refreshCaches();\n    }\n\n    private void refreshCaches() {\n        cache.set(RedisKey.INDEXBLOG, blogService.getIndexBlog(), CACHE_TTL);\n        cache.set(RedisKey.RECOMMENDBLOG, blogService.getAllRecommendBlog(), CACHE_TTL);\n        cache.set(RedisKey.HOTBLOGS, blogService.getHotBlog(), CACHE_TTL);\n        cache.set(RedisKey.MESSAGES, messageService.findByIndexParentId(), CACHE_TTL);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/AIService.java",
    "content": "package com.blog.service;\n\nimport lombok.extern.slf4j.Slf4j;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.http.HttpEntity;\nimport org.springframework.http.HttpHeaders;\nimport org.springframework.http.MediaType;\nimport org.springframework.stereotype.Service;\nimport org.springframework.web.client.RestTemplate;\n\nimport javax.annotation.PostConstruct;\nimport java.util.HashMap;\nimport java.util.Map;\n\n/**\n * AI 服务\n * 集成大模型 API 提供智能功能\n * @author tangredtea\n */\n@Slf4j\n@Service\npublic class AIService {\n\n    @Value(\"${ai.api.key:}\")\n    private String apiKey;\n    \n    @Value(\"${ai.api.url:https://api.openai.com/v1/chat/completions}\")\n    private String apiUrl;\n    \n    @Value(\"${ai.model:gpt-3.5-turbo}\")\n    private String model;\n    \n    private RestTemplate restTemplate;\n    private boolean aiEnabled = false;\n    \n    @PostConstruct\n    public void init() {\n        restTemplate = new RestTemplate();\n        aiEnabled = !apiKey.isEmpty();\n        if (aiEnabled) {\n            log.info(\"AI service initialized with model: {}\", model);\n        } else {\n            log.warn(\"AI service disabled: API key not configured\");\n        }\n    }\n    \n    /**\n     * 生成文章摘要\n     * @param content 文章内容\n     * @return 生成的摘要\n     */\n    public String generateSummary(String content) {\n        if (!aiEnabled) {\n            return generateLocalSummary(content);\n        }\n        \n        try {\n            String prompt = \"请为以下文章生成一段简洁的摘要（100字以内）：\\n\\n\" + \n                           content.substring(0, Math.min(content.length(), 2000));\n            \n            return callAI(prompt);\n        } catch (Exception e) {\n            log.error(\"AI summary generation failed\", e);\n            return generateLocalSummary(content);\n        }\n    }\n    \n    /**\n     * 生成文章标签建议\n     * @param title 文章标题\n     * @param content 文章内容\n     * @return 标签建议数组\n     */\n    public String[] suggestTags(String title, String content) {\n        if (!aiEnabled) {\n            return new String[0];\n        }\n        \n        try {\n            String prompt = String.format(\n                \"请为以下文章推荐3-5个合适的标签，用逗号分隔：\\n标题：%s\\n内容：%s\",\n                title,\n                content.substring(0, Math.min(content.length(), 1000))\n            );\n            \n            String response = callAI(prompt);\n            // Clean up: remove markdown formatting, headers, etc.\n            response = response.replaceAll(\"\\\\*\\\\*[^*]*\\\\*\\\\*\", \"\").trim();\n            // Remove leading/trailing newlines and pick the last non-empty line (tags line)\n            String[] lines = response.split(\"\\\\n\");\n            String tagLine = response;\n            for (int i = lines.length - 1; i >= 0; i--) {\n                if (!lines[i].trim().isEmpty()) {\n                    tagLine = lines[i].trim();\n                    break;\n                }\n            }\n            String[] tags = tagLine.split(\"[，,]\\\\s*\");\n            // Filter out empty tags\n            java.util.List<String> result = new java.util.ArrayList<>();\n            for (String tag : tags) {\n                String t = tag.trim();\n                if (!t.isEmpty()) {\n                    result.add(t);\n                }\n            }\n            return result.toArray(new String[0]);\n        } catch (Exception e) {\n            log.error(\"AI tag suggestion failed\", e);\n            return new String[0];\n        }\n    }\n    \n    /**\n     * 智能回复评论\n     * @param comment 评论内容\n     * @param articleTitle 文章标题\n     * @return 回复内容\n     */\n    public String generateReply(String comment, String articleTitle) {\n        if (!aiEnabled) {\n            return \"感谢您的评论！\";\n        }\n        \n        try {\n            String prompt = String.format(\n                \"作为博主，请礼貌地回复以下评论（50字以内）：\\n文章：《%s》\\n评论：%s\",\n                articleTitle,\n                comment\n            );\n            \n            return callAI(prompt);\n        } catch (Exception e) {\n            log.error(\"AI reply generation failed\", e);\n            return \"感谢您的评论！\";\n        }\n    }\n    \n    /**\n     * 文章质量评分\n     * @param title 标题\n     * @param content 内容\n     * @return 评分和建议\n     */\n    public ArticleScore scoreArticle(String title, String content) {\n        if (!aiEnabled) {\n            return new ArticleScore(70, \"AI 服务未启用，使用默认评分\");\n        }\n        \n        try {\n            String prompt = String.format(\n                \"请对以下博客文章进行评分（0-100分），并给出简要建议：\\n标题：%s\\n内容：%s\\n\\n格式：分数|建议\",\n                title,\n                content.substring(0, Math.min(content.length(), 1500))\n            );\n            \n            String response = callAI(prompt);\n            // Try to extract score from response - look for \"分数|建议\" format first\n            String[] parts = response.split(\"\\\\|\", 2);\n\n            int score = 70;\n            String suggestion = \"继续加油！\";\n\n            // Try to extract a number from the first part\n            try {\n                String numStr = parts[0].replaceAll(\"[^0-9]\", \"\");\n                if (!numStr.isEmpty()) {\n                    int parsed = Integer.parseInt(numStr.substring(0, Math.min(numStr.length(), 3)));\n                    if (parsed >= 0 && parsed <= 100) {\n                        score = parsed;\n                    }\n                }\n            } catch (NumberFormatException ignored) {}\n\n            if (parts.length > 1) {\n                suggestion = parts[1].replaceAll(\"\\\\*\\\\*[^*]*\\\\*\\\\*\", \"\").trim();\n            } else {\n                // No pipe found - try to use the whole response as suggestion\n                suggestion = response.replaceAll(\"\\\\*\\\\*[^*]*\\\\*\\\\*\", \"\").replaceAll(\"\\\\d+\\\\s*分?\", \"\").trim();\n                if (suggestion.isEmpty()) suggestion = \"继续加油！\";\n            }\n            \n            return new ArticleScore(score, suggestion);\n        } catch (Exception e) {\n            log.error(\"AI article scoring failed\", e);\n            return new ArticleScore(70, \"评分服务暂时不可用\");\n        }\n    }\n    \n    /**\n     * 调用 AI API\n     */\n    private String callAI(String prompt) {\n        HttpHeaders headers = new HttpHeaders();\n        headers.setContentType(MediaType.APPLICATION_JSON);\n        headers.setBearerAuth(apiKey);\n        \n        Map<String, Object> message = new HashMap<>();\n        message.put(\"role\", \"user\");\n        message.put(\"content\", prompt);\n        \n        Map<String, Object> requestBody = new HashMap<>();\n        requestBody.put(\"model\", model);\n        requestBody.put(\"messages\", new Object[]{message});\n        requestBody.put(\"temperature\", 0.7);\n        requestBody.put(\"max_tokens\", 500);\n        \n        HttpEntity<Map<String, Object>> request = new HttpEntity<>(requestBody, headers);\n        \n        @SuppressWarnings(\"unchecked\")\n        Map<String, Object> response = restTemplate.postForObject(apiUrl, request, Map.class);\n        \n        if (response != null && response.containsKey(\"choices\")) {\n            @SuppressWarnings(\"unchecked\")\n            java.util.List<Map<String, Object>> choices = (java.util.List<Map<String, Object>>) response.get(\"choices\");\n            if (!choices.isEmpty()) {\n                @SuppressWarnings(\"unchecked\")\n                Map<String, Object> choice = choices.get(0);\n                @SuppressWarnings(\"unchecked\")\n                Map<String, String> message_ = (Map<String, String>) choice.get(\"message\");\n                String content = message_.get(\"content\").trim();\n                // Strip <think>...</think> blocks from reasoning models\n                content = content.replaceAll(\"(?s)<think>.*?</think>\", \"\").trim();\n                return content;\n            }\n        }\n        \n        throw new RuntimeException(\"Invalid AI response\");\n    }\n    \n    /**\n     * 本地摘要生成（备用方案）\n     */\n    private String generateLocalSummary(String content) {\n        // 去除 HTML 标签\n        String text = content.replaceAll(\"<[^>]+>\", \"\");\n        // 取前 150 字符\n        if (text.length() > 150) {\n            return text.substring(0, 150) + \"...\";\n        }\n        return text;\n    }\n    \n    /**\n     * 文章问答\n     * @param articleTitle 文章标题\n     * @param articleContent 文章内容\n     * @param question 用户问题\n     * @return AI 回答\n     */\n    public String chatAboutArticle(String articleTitle, String articleContent, String question) {\n        if (!aiEnabled) {\n            return \"AI 服务未启用，暂时无法回答问题。请联系博主配置 AI 服务。\";\n        }\n\n        try {\n            // Truncate article content to fit in context\n            String truncatedContent = articleContent.replaceAll(\"<[^>]+>\", \"\");\n            if (truncatedContent.length() > 2000) {\n                truncatedContent = truncatedContent.substring(0, 2000) + \"...\";\n            }\n\n            String prompt = String.format(\n                \"你是一个博客文章的 AI 助手。根据以下文章内容回答用户的问题。\\n\" +\n                \"回答要求：简洁准确，控制在 200 字以内，使用中文。如果问题与文章无关，礼貌地引导用户提出与文章相关的问题。\\n\\n\" +\n                \"文章标题：%s\\n\" +\n                \"文章内容：%s\\n\\n\" +\n                \"用户问题：%s\",\n                articleTitle, truncatedContent, question\n            );\n\n            return callAI(prompt);\n        } catch (Exception e) {\n            log.error(\"AI chat failed\", e);\n            return \"抱歉，AI 暂时无法回答您的问题，请稍后再试。\";\n        }\n    }\n\n    /**\n     * 检查 AI 是否可用\n     */\n    public boolean isEnabled() {\n        return aiEnabled;\n    }\n    \n    /**\n     * 文章评分结果\n     */\n    public static class ArticleScore {\n        private final int score;\n        private final String suggestion;\n        \n        public ArticleScore(int score, String suggestion) {\n            this.score = score;\n            this.suggestion = suggestion;\n        }\n        \n        public int getScore() { return score; }\n        public String getSuggestion() { return suggestion; }\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/BlogService.java",
    "content": "package com.blog.service;\n\nimport com.blog.entity.Blog;\n\nimport java.util.List;\nimport java.util.Map;\n\n/**\n * @author tangredtea\n */\npublic interface BlogService {\n\n    /**\n     * 根据id查博文\n     * @param id 博文id\n     * @return 博文\n     */\n    Blog getBlog(Long id);\n\n    /**\n     * 前端展示博客\n     * @param id 博文id\n     * @return 博文\n     */\n    Blog getDetailedBlog(Long id);\n\n    /**\n     * 得到所有博文\n     * @return 博文列表\n     */\n    List<Blog> getAllBlog();\n\n    /**\n     * 根据类型id获取博客\n     * @param typeId 类型id\n     * @return 博文列表\n     */\n    List<Blog> getByTypeId(Integer typeId);\n\n    /**\n     * 根据标签id获取博客\n     * @param tagId 标签id\n     * @return 博文列表\n     */\n    List<Blog> getByTagId(Integer tagId);\n\n    /**\n     * 主页博客展示\n     * @return 博文列表\n     */\n    List<Blog> getIndexBlog();\n\n    /**\n     * 推荐博客展示\n     * @return 博文列表\n     */\n    List<Blog> getAllRecommendBlog();\n\n    /**\n     * 全局搜索博客\n     * @param query 关键字\n     * @return 博文列表\n     */\n    List<Blog> getSearchBlog(String query);\n\n    /**\n     * 归档博客\n     * @return 博文列表\n     */\n    Map<String,List<Blog>> archiveBlog();\n\n    /**\n     * 查询博客条数\n     * @return 博文数目\n     */\n    int countBlog();\n\n    /**\n     * 保存博客\n     * @param blog 博文\n     * @return 状态值\n     */\n    int saveBlog(Blog blog);\n\n    /**\n     * 更新博客\n     * @param blog 博文\n     * @return 状态值\n     */\n    int updateBlog(Blog blog);\n\n    /**\n     * 删除博客\n     * @param id 博文id\n     * @return 状态值\n     */\n    int deleteBlog(Long id);\n\n    /**\n     * 后台根据标题、分类、推荐搜索博客\n     * @param blog 博文\n     * @return 博文列表\n     */\n    List<Blog> searchAllBlog(Blog blog);\n\n    /**\n     * 得到热门博客\n     * @return 博文列表\n     */\n    List<Blog> getHotBlog();\n\n    /**\n     * 得到总浏览量\n     * @return 总浏览量\n     */\n    int getTotalViews();\n\n    /**\n     * 得到平均浏览量\n     * @return 平均浏览量\n     */\n    int getAvgViews();\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/FriendLinkService.java",
    "content": "package com.blog.service;\n\nimport com.blog.entity.FriendLink;\n\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\npublic interface FriendLinkService {\n\n    /**\n     * 查询所有友链\n     * @return 友链列表\n     */\n    List<FriendLink> listFriendLink();\n\n    /**\n     * 友链新增\n     * @param friendLink 友链\n     * @return 状态值\n     */\n    int saveFriendLink(FriendLink friendLink);\n\n    /**\n     * 根据id查询友链\n     * @param id 友链id\n     * @return 友链\n     */\n    FriendLink getFriendLink(Integer id);\n\n    /**\n     * 根据网址查询友链\n     * @param blogAddress 友链网址\n     * @return 友链\n     */\n    FriendLink getFriendLinkByBlogAddress(String blogAddress);\n\n    /**\n     * 编辑修改友链\n     * @param friendLink 友链\n     * @return 状态值\n     */\n    int updateFriendLink(FriendLink friendLink);\n\n    /**\n     * 删除友链\n     * @param id 友链id\n     */\n    void deleteFriendLink(Integer id);\n\n    /**\n     * 得到友链数量\n     * @return 数量\n     */\n    int countFriendLink();\n\n}"
  },
  {
    "path": "src/main/java/com/blog/service/MessageService.java",
    "content": "package com.blog.service;\n\nimport com.blog.entity.Message;\n\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\npublic interface MessageService {\n\n    /**\n     * 查询留言列表\n     * @return 留言列表\n     */\n    List<Message> listMessage();\n\n    /**\n     * 列出首页推荐留言\n     * @return 留言列表\n     */\n    List<Message> findByIndexParentId();\n\n    /**\n     * 保存留言\n     * @param message 留言\n     * @return 状态\n     */\n    int saveMessage(Message message);\n\n    /**\n     * 删除留言\n     * @param id 留言id\n     */\n    void deleteMessage(Long id);\n\n    /**\n     * 得到留言数量\n     * @return 数量\n     */\n    int countMessage();\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/RedisService.java",
    "content": "package com.blog.service;\n\nimport org.springframework.data.domain.Sort;\nimport org.springframework.data.geo.Distance;\nimport org.springframework.data.geo.GeoResults;\nimport org.springframework.data.geo.Point;\nimport org.springframework.data.redis.connection.RedisGeoCommands;\n\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\n\n/**\n * Redis 操作服务接口\n * 提供常用的 Redis 数据操作功能\n * \n * @author tangredtea\n * @since 2022-02-22\n */\n@SuppressWarnings(\"all\")\npublic interface RedisService {\n    /**\n     * 保存属性\n     *\n     * @param key   key值\n     * @param value value值\n     * @param time  时间戳\n     */\n    void set(String key, Object value, long time);\n\n    /**\n     * 保存属性\n     *\n     * @param key   key值\n     * @param value value值\n     */\n    void set(String key, Object value);\n\n    /**\n     * 获取属性\n     *\n     * @param key key值\n     * @return 返回对象\n     */\n    Object get(String key);\n\n    /**\n     * 删除属性\n     *\n     * @param key key值\n     * @return 返回成功\n     */\n    Boolean del(String key);\n\n    /**\n     * 批量删除属性\n     *\n     * @param keys key值集合\n     * @return 返回删除数量\n     */\n    Long del(List<String> keys);\n\n    /**\n     * 设置过期时间\n     *\n     * @param key  key值\n     * @param time 时间戳\n     * @return 返回成功\n     */\n    Boolean expire(String key, long time);\n\n    /**\n     * 获取过期时间\n     *\n     * @param key key值\n     * @return 返回时间戳\n     */\n    Long getExpire(String key);\n\n    /**\n     * 判断key是否存在\n     *\n     * @param key key值\n     * @return 返回\n     */\n    Boolean hasKey(String key);\n\n    /**\n     * 按delta递增\n     *\n     * @param key   key值\n     * @param delta delta值\n     * @return 返回递增后结果\n     */\n    Long incr(String key, long delta);\n\n    /**\n     * 按delta递减\n     *\n     * @param key   key值\n     * @param delta delta值\n     * @return 返回递减后结果\n     */\n    Long decr(String key, long delta);\n\n    /**\n     * 获取Hash结构中的属性\n     *\n     * @param key     外部key值\n     * @param hashKey 内部key值\n     * @return 返回内部key的value\n     */\n    Object hGet(String key, String hashKey);\n\n    /**\n     * 向Hash结构中放入一个属性\n     *\n     * @param key     外部key\n     * @param hashKey 内部key\n     * @param value   内部key的value\n     * @param time    过期时间\n     * @return 返回是否成功\n     */\n    Boolean hSet(String key, String hashKey, Object value, long time);\n\n    /**\n     * 向Hash结构中放入一个属性\n     *\n     * @param key     外部key\n     * @param hashKey 内部key\n     * @param value   内部key的value\n     */\n    void hSet(String key, String hashKey, Object value);\n\n    /**\n     * 直接获取整个Hash结构\n     *\n     * @param key 外部key值\n     * @return 返回hashMap\n     */\n    Map hGetAll(String key);\n\n    /**\n     * 直接设置整个Hash结构\n     *\n     * @param key  外部key\n     * @param map  hashMap值\n     * @param time 过期时间\n     * @return 返回是否成功\n     */\n    Boolean hSetAll(String key, Map<String, Object> map, long time);\n\n    /**\n     * 直接设置整个Hash结构\n     *\n     * @param key 外部key\n     * @param map hashMap值\n     */\n    void hSetAll(String key, Map<String, ?> map);\n\n    /**\n     * 删除Hash结构中的属性\n     *\n     * @param key     外部key值\n     * @param hashKey 内部key值\n     */\n    void hDel(String key, Object... hashKey);\n\n    /**\n     * 判断Hash结构中是否有该属性\n     *\n     * @param key     外部key\n     * @param hashKey 内部key\n     * @return 返回是否存在\n     */\n    Boolean hHasKey(String key, String hashKey);\n\n    /**\n     * Hash结构中属性递增\n     *\n     * @param key     外部key\n     * @param hashKey 内部key\n     * @param delta   递增条件\n     * @return 返回递增后的数据\n     */\n    Long hIncr(String key, String hashKey, Long delta);\n\n    /**\n     * Hash结构中属性递减\n     *\n     * @param key     外部key\n     * @param hashKey 内部key\n     * @param delta   递增条件\n     * @return 返回递减后的数据\n     */\n    Long hDecr(String key, String hashKey, Long delta);\n\n    /**\n     * 获取Set结构\n     *\n     * @param key key\n     * @return 返回set集合\n     */\n    Set<Object> sMembers(String key);\n\n    /**\n     * 向Set结构中添加属性\n     *\n     * @param key    key\n     * @param values value集\n     * @return 返回增加数量\n     */\n    Long sAdd(String key, Object... values);\n\n    /**\n     * 向Set结构中添加属性\n     *\n     * @param key    key\n     * @param time   过期时间\n     * @param values 值集合\n     * @return 返回添加的数量\n     */\n    Long sAdd(String key, long time, Object... values);\n\n    /**\n     * 是否为Set中的属性\n     *\n     * @param key   key\n     * @param value value\n     * @return 返回是否存在\n     */\n    Boolean sIsMember(String key, Object value);\n\n    /**\n     * 获取Set结构的长度\n     *\n     * @param key key\n     * @return 返回长度\n     */\n    Long sSize(String key);\n\n    /**\n     * 删除Set结构中的属性\n     *\n     * @param key    key\n     * @param values value集合\n     * @return 删除掉的数据量\n     */\n    Long sRemove(String key, Object... values);\n\n    /**\n     * 获取List结构中的属性\n     *\n     * @param key   key\n     * @param start 开始\n     * @param end   结束\n     * @return 返回查询的集合\n     */\n    List<Object> lRange(String key, long start, long end);\n\n    /**\n     * 获取List结构的长度\n     *\n     * @param key key\n     * @return 长度\n     */\n    Long lSize(String key);\n\n    /**\n     * 根据索引获取List中的属性\n     *\n     * @param key   key\n     * @param index 索引\n     * @return 对象\n     */\n    Object lIndex(String key, long index);\n\n    /**\n     * 向List结构中添加属性\n     *\n     * @param key   key\n     * @param value value\n     * @return 增加后的长度\n     */\n    Long lPush(String key, Object value);\n\n    /**\n     * 向List结构中添加属性\n     *\n     * @param key   key\n     * @param value value\n     * @param time  过期时间\n     * @return 增加后的长度\n     */\n    Long lPush(String key, Object value, long time);\n\n    /**\n     * 向List结构中批量添加属性\n     *\n     * @param key    key\n     * @param values value 集合\n     * @return 增加后的长度\n     */\n    Long lPushAll(String key, Object... values);\n\n    /**\n     * 向List结构中批量添加属性\n     *\n     * @param key    key\n     * @param time   过期时间\n     * @param values value集合\n     * @return 增加后的长度\n     */\n    Long lPushAll(String key, Long time, Object... values);\n\n    /**\n     * 从List结构中移除属性\n     *\n     * @param key   key\n     * @param count 总量\n     * @param value value\n     * @return 返回删除后的长度\n     */\n    Long lRemove(String key, long count, Object value);\n\n    /**\n     * 向bitmap中新增值\n     *\n     * @param key    key\n     * @param offset 偏移量\n     * @param b      状态\n     * @return 结果\n     */\n    Boolean bitAdd(String key, int offset, boolean b);\n\n    /**\n     * 从bitmap中获取偏移量的值\n     *\n     * @param key    key\n     * @param offset 偏移量\n     * @return 结果\n     */\n    Boolean bitGet(String key, int offset);\n\n    /**\n     * 获取bitmap的key值总和\n     *\n     * @param key key\n     * @return 总和\n     */\n    Long bitCount(String key);\n\n    /**\n     * 获取bitmap范围值\n     *\n     * @param key    key\n     * @param limit  范围\n     * @param offset 开始偏移量\n     * @return long类型集合\n     */\n    List<Long> bitField(String key, int limit, int offset);\n\n    /**\n     * 获取所有bitmap\n     *\n     * @param key key\n     * @return 以二进制字节数组返回\n     */\n    byte[] bitGetAll(String key);\n\n    /**\n     * 增加坐标\n     *\n     * @param key  key\n     * @param x    x\n     * @param y    y\n     * @param name 地点名称\n     * @return 返回结果\n     */\n    Long geoAdd(String key, Double x, Double y, String name);\n\n    /**\n     * 根据城市名称获取坐标集合\n     *\n     * @param key   key\n     * @param place 地点\n     * @return 坐标集合\n     */\n    List<Point> geoGetPointList(String key, Object... place);\n\n    /**\n     * 计算两个城市之间的距离\n     *\n     * @param key      key\n     * @param placeOne 地点1\n     * @param placeTow 地点2\n     * @return 返回距离\n     */\n    Distance geoCalculationDistance(String key, String placeOne, String placeTow);\n\n    /**\n     * 获取附该地点附近的其他地点\n     *\n     * @param key      key\n     * @param place    地点\n     * @param distance 附近的范围\n     * @param limit    查几条\n     * @param sort     排序规则\n     * @return 返回附近的地点集合\n     */\n    GeoResults<RedisGeoCommands.GeoLocation<Object>> geoNearByPlace(String key, String place, Distance distance, long limit, Sort.Direction sort);\n\n    /**\n     * 获取地点的hash\n     *\n     * @param key   key\n     * @param place 地点\n     * @return 返回集合\n     */\n    List<String> geoGetHash(String key, String... place);\n}\n\n"
  },
  {
    "path": "src/main/java/com/blog/service/SitemapService.java",
    "content": "package com.blog.service;\n\nimport com.blog.entity.Blog;\nimport com.blog.dao.BlogDao;\nimport lombok.extern.slf4j.Slf4j;\nimport org.springframework.stereotype.Service;\nimport javax.annotation.Resource;\nimport java.time.LocalDateTime;\nimport java.time.format.DateTimeFormatter;\nimport java.util.List;\n\n/**\n * 站点地图服务\n * 自动生成 sitemap.xml 用于 SEO\n * @author tangredtea\n */\n@Slf4j\n@Service\npublic class SitemapService {\n\n    @Resource\n    private BlogDao blogDao;\n    \n    private static final String SITE_URL = \"https://your-domain.com\";\n    private static final DateTimeFormatter DATE_FORMAT = DateTimeFormatter.ofPattern(\"yyyy-MM-dd\");\n    \n    /**\n     * 生成 XML 格式的站点地图\n     */\n    public String generateSitemap() {\n        StringBuilder sitemap = new StringBuilder();\n        sitemap.append(\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n\");\n        sitemap.append(\"<urlset xmlns=\\\"http://www.sitemaps.org/schemas/sitemap/0.9\\\">\\n\");\n        \n        // 首页\n        addUrl(sitemap, \"/\", \"1.0\", \"daily\");\n        \n        // 分类页\n        addUrl(sitemap, \"/types\", \"0.8\", \"weekly\");\n        \n        // 标签页\n        addUrl(sitemap, \"/tags\", \"0.8\", \"weekly\");\n        \n        // 关于页\n        addUrl(sitemap, \"/about\", \"0.5\", \"monthly\");\n        \n        // 留言页\n        addUrl(sitemap, \"/message\", \"0.6\", \"weekly\");\n        \n        // 所有已发布的文章\n        List<Blog> blogs = blogDao.getAllPublishedBlogs();\n        for (Blog blog : blogs) {\n            String lastmod = blog.getUpdateTime() != null ? \n                DATE_FORMAT.format(blog.getUpdateTime().toInstant()) :\n                DATE_FORMAT.format(LocalDateTime.now());\n            addUrl(sitemap, \"/blog/\" + blog.getId(), \"0.9\", \"weekly\", lastmod);\n        }\n        \n        sitemap.append(\"</urlset>\");\n        return sitemap.toString();\n    }\n    \n    private void addUrl(StringBuilder sb, String loc, String priority, String changefreq) {\n        addUrl(sb, loc, priority, changefreq, DATE_FORMAT.format(LocalDateTime.now()));\n    }\n    \n    private void addUrl(StringBuilder sb, String loc, String priority, String changefreq, String lastmod) {\n        sb.append(\"  <url>\\n\");\n        sb.append(\"    <loc>\").append(SITE_URL).append(loc).append(\"</loc>\\n\");\n        sb.append(\"    <lastmod>\").append(lastmod).append(\"</lastmod>\\n\");\n        sb.append(\"    <changefreq>\").append(changefreq).append(\"</changefreq>\\n\");\n        sb.append(\"    <priority>\").append(priority).append(\"</priority>\\n\");\n        sb.append(\"  </url>\\n\");\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/SmartSearchService.java",
    "content": "package com.blog.service;\n\nimport com.blog.dao.BlogDao;\nimport com.blog.entity.Blog;\nimport lombok.extern.slf4j.Slf4j;\nimport org.springframework.stereotype.Service;\n\nimport javax.annotation.Resource;\nimport java.util.*;\nimport java.util.stream.Collectors;\n\n/**\n * 智能搜索服务\n * 提供语义化搜索和相关推荐\n * @author tangredtea\n */\n@Slf4j\n@Service\npublic class SmartSearchService {\n\n    @Resource\n    private BlogDao blogDao;\n\n    /** Simple in-memory cache for search suggestions to avoid repeated DB queries */\n    private volatile List<Blog> publishedBlogsCache;\n    private volatile long cacheTimestamp;\n    private static final long CACHE_TTL_MS = 5 * 60 * 1000; // 5 minutes\n\n    private List<Blog> getCachedPublishedBlogs() {\n        long now = System.currentTimeMillis();\n        if (publishedBlogsCache == null || now - cacheTimestamp > CACHE_TTL_MS) {\n            publishedBlogsCache = blogDao.getAllPublishedBlogs();\n            cacheTimestamp = now;\n        }\n        return publishedBlogsCache;\n    }\n\n    /**\n     * 提取关键词\n     * @param text 文本内容\n     * @return 关键词列表\n     */\n    public List<String> extractKeywords(String text) {\n        // 简单的中文分词实现\n        // 实际项目中可以使用 HanLP、jieba 等分词库\n        Set<String> stopWords = new HashSet<>(Arrays.asList(\n            \"的\", \"了\", \"在\", \"是\", \"我\", \"有\", \"和\", \"就\", \"不\", \"人\", \"都\", \"一\", \"一个\", \"上\", \"也\",\n            \"很\", \"到\", \"说\", \"要\", \"去\", \"你\", \"会\", \"着\", \"没有\", \"看\", \"好\", \"自己\", \"这\"\n        ));\n        \n        // 去除 HTML 标签\n        String cleanText = text.replaceAll(\"<[^>]+>\", \"\");\n        \n        // 按非中文字符分割\n        String[] words = cleanText.split(\"[^\\\\u4e00-\\\\u9fa5a-zA-Z0-9]+\");\n        \n        Map<String, Integer> wordFreq = new HashMap<>();\n        for (String word : words) {\n            word = word.toLowerCase().trim();\n            if (word.length() >= 2 && !stopWords.contains(word)) {\n                wordFreq.merge(word, 1, Integer::sum);\n            }\n        }\n        \n        // 按频率排序，取前 10\n        return wordFreq.entrySet().stream()\n                .sorted(Map.Entry.<String, Integer>comparingByValue().reversed())\n                .limit(10)\n                .map(Map.Entry::getKey)\n                .collect(Collectors.toList());\n    }\n    \n    /**\n     * 计算文章相似度\n     * @param blog1 文章1\n     * @param blog2 文章2\n     * @return 相似度分数 (0-1)\n     */\n    public double calculateSimilarity(Blog blog1, Blog blog2) {\n        // 基于标签和分类计算相似度\n        double score = 0.0;\n        \n        // 同分类 +0.3\n        if (blog1.getTypeId() != null && blog1.getTypeId().equals(blog2.getTypeId())) {\n            score += 0.3;\n        }\n        \n        // 标签重叠\n        if (blog1.getTagIds() != null && blog2.getTagIds() != null) {\n            Set<String> tags1 = new HashSet<>(Arrays.asList(blog1.getTagIds().split(\",\")));\n            Set<String> tags2 = new HashSet<>(Arrays.asList(blog2.getTagIds().split(\",\")));\n            \n            Set<String> intersection = new HashSet<>(tags1);\n            intersection.retainAll(tags2);\n            \n            if (!tags1.isEmpty() || !tags2.isEmpty()) {\n                score += 0.7 * ((double) intersection.size() / \n                    Math.max(tags1.size(), tags2.size()));\n            }\n        }\n        \n        return score;\n    }\n    \n    /**\n     * 获取相关文章推荐\n     * @param blogId 当前文章ID\n     * @param limit 返回数量\n     * @return 相关文章列表\n     */\n    public List<Blog> getRelatedBlogs(Long blogId, int limit) {\n        Blog currentBlog = blogDao.getBlog(blogId);\n        if (currentBlog == null) {\n            return Collections.emptyList();\n        }\n        \n        List<Blog> allBlogs = getCachedPublishedBlogs();\n        \n        return allBlogs.stream()\n                .filter(b -> !b.getId().equals(blogId))\n                .map(b -> new AbstractMap.SimpleEntry<>(b, calculateSimilarity(currentBlog, b)))\n                .filter(e -> e.getValue() > 0.1)  // 过滤低相似度\n                .sorted(Map.Entry.<Blog, Double>comparingByValue().reversed())\n                .limit(limit)\n                .map(Map.Entry::getKey)\n                .collect(Collectors.toList());\n    }\n    \n    /**\n     * 智能搜索建议\n     * @param query 搜索词\n     * @return 建议列表\n     */\n    public List<String> getSearchSuggestions(String query) {\n        if (query == null || query.trim().isEmpty()) {\n            return Collections.emptyList();\n        }\n\n        List<Blog> blogs = getCachedPublishedBlogs();\n        String lowerQuery = query.toLowerCase();\n\n        // Match by title first, then by description\n        List<String> titleMatches = blogs.stream()\n                .filter(b -> b.getTitle() != null &&\n                       b.getTitle().toLowerCase().contains(lowerQuery))\n                .map(Blog::getTitle)\n                .collect(Collectors.toList());\n\n        List<String> descMatches = blogs.stream()\n                .filter(b -> b.getTitle() != null &&\n                       !b.getTitle().toLowerCase().contains(lowerQuery) &&\n                       b.getDescription() != null &&\n                       b.getDescription().toLowerCase().contains(lowerQuery))\n                .map(Blog::getTitle)\n                .collect(Collectors.toList());\n\n        List<String> result = new ArrayList<>(titleMatches);\n        result.addAll(descMatches);\n\n        return result.stream().limit(6).collect(Collectors.toList());\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/TagService.java",
    "content": "package com.blog.service;\n\nimport com.blog.entity.Tag;\n\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\npublic interface TagService {\n    /**\n     * 保存标签\n     * @param tag 标签\n     * @return 状态值\n     */\n    int saveTag(Tag tag);\n\n    /**\n     * 得到标签\n     * @param id 标签id\n     * @return 标签\n     */\n    Tag getTag(Integer id);\n\n    /**\n     * 通过名字得到标签\n     * @param  name 标签名\n     * @return 标签\n     */\n    Tag getTagByName(String name);\n\n    /**\n     * 得到所有的标签名\n     * @return 标签列表\n     */\n    List<Tag> getAllTag();\n\n    /**\n     * 首页展示博客标签\n     * @return 标签列表\n     */\n    List<Tag> getBlogTag();\n\n    /**\n     * 从字符串中获取tag集合\n     * @param text 标签名\n     * @return 标签列表\n     */\n    List<Tag> getTagByString(String text);\n\n    /**\n     * 升级标签\n     * @param tag 标签\n     * @return 状态值\n     */\n    int updateTag(Tag tag);\n\n    /**\n     * 删除标签\n     * @param id 标签id\n     * @return 状态值\n     */\n    int deleteTag(Integer id);\n\n    /**\n     * 得到标签数量\n     * @return 数量\n     */\n    int countTag();\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/TypeService.java",
    "content": "package com.blog.service;\n\nimport com.blog.entity.Type;\n\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\npublic interface TypeService {\n    /**\n     * 保存分类\n     * @param type 分类\n     * @return 状态值\n     */\n    int saveType(Type type);\n\n    /**\n     * 得到分类名\n     * @param id 分类id\n     * @return 分类\n     */\n    Type getType(Integer id);\n\n    /**\n     * 通过名字得到分类名\n     * @param name 分类名\n     * @return 分类\n     */\n    Type getTypeByName(String name);\n\n    /**\n     * 得到所有分类\n     * @return 分类列表\n     */\n    List<Type> getAllType();\n\n    /**\n     * 首页右侧展示type对应的博客数量\n     * @return 分类列表\n     */\n    List<Type> getBlogType();\n\n    /**\n     * 更新分类\n     * @param type 分类\n     * @return 状态值\n     */\n    int updateType(Type type);\n\n    /**\n     * 删除分类\n     * @param id 分类id\n     * @return 状态值\n     */\n    int deleteType(Integer id);\n\n    /**\n     * 得到分类数量\n     * @return 数量\n     */\n    int countType();\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/UserService.java",
    "content": "package com.blog.service;\n\nimport com.blog.entity.User;\nimport org.apache.ibatis.annotations.Param;\n\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\npublic interface UserService {\n\n    /**\n     * 登录\n     * @param username 账号\n     * @param password 密码\n     * @return user\n     */\n    User checkUser(@Param(\"username\") String username, @Param(\"password\") String password);\n\n    /**\n     * 通过用户ID获取用户信息\n     * @param id   主键\n     * @return user\n     */\n    User getUserInfoById(Integer id);\n\n    /**\n     * 更改用户信息\n     * @param user  user对象\n     * @return 状态值\n     */\n    int updateUser(User user);\n\n    /**\n     * 更改用户信息\n     * @param user  user对象\n     * @return 状态值\n     */\n    int saveUser(User user);\n\n    /**\n     * 得到所有用户\n     * @return 用户\n     */\n    List<User> getUsers();\n\n    /**\n     * 删除用户\n     * @param id 用户id\n     * @return 状态值\n     */\n    int deleteUser(Integer id);\n\n    /**\n     * 查询用户名数量\n     * @param name\n     * @return 数量\n     */\n    int getUserInfoByUsername(String name);\n\n    /**\n     * 得到用户数量\n     * @return 数量\n     */\n    int countUser();\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/impl/BlogServiceImpl.java",
    "content": "package com.blog.service.impl;\n\nimport com.blog.dao.BlogDao;\nimport com.blog.config.RedisKey;\nimport com.blog.exception.NotFoundException;\nimport com.blog.entity.Blog;\nimport com.blog.entity.BlogAndTag;\nimport com.blog.entity.Tag;\nimport com.blog.service.BlogService;\nimport com.blog.service.RedisService;\nimport com.blog.util.MarkdownUtils;\nimport lombok.extern.slf4j.Slf4j;\nimport org.springframework.stereotype.Service;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport javax.annotation.Resource;\nimport java.util.*;\n\n/**\n * @author tangredtea\n */\n@Service\npublic class BlogServiceImpl implements BlogService {\n\n    @Resource\n    RedisService cache;\n\n    @Resource\n    BlogDao blogDao;\n\n    @Override\n    public Blog getBlog(Long id) {\n        return blogDao.getBlog(id);\n    }\n\n    @Override\n    public Blog getDetailedBlog(Long id) {\n        Blog blog = Optional.ofNullable(blogDao.getDetailedBlog(id))\n                            .orElseThrow(() -> new NotFoundException(\"该博客不存在\"));\n        String content = blog.getContent();\n        //将Markdown格式转换成html\n        blog.setContent(MarkdownUtils.markdownToHtmlExtensions(content));\n        return blog;\n    }\n\n    @Override\n    public List<Blog> getAllBlog() {\n        return blogDao.getAllBlog();\n    }\n\n    @Override\n    public List<Blog> getByTypeId(Integer typeId) {\n        return blogDao.getByTypeId(typeId);\n    }\n\n    @Override\n    public List<Blog> getByTagId(Integer tagId) {\n        return blogDao.getByTagId(tagId);\n    }\n\n    @Override\n    public List<Blog> getIndexBlog() {\n        return blogDao.getIndexBlog();\n    }\n\n    @Override\n    public List<Blog> getAllRecommendBlog() {\n        return blogDao.getAllRecommendBlog();\n    }\n\n    @Override\n    public List<Blog> getSearchBlog(String query) {\n        return blogDao.getSearchBlog(query);\n    }\n\n    @Override\n    public Map<String, List<Blog>> archiveBlog() {\n        List<String> years = blogDao.findGroupYear();\n        //set去掉重复的年份\n        Set<String> set = new HashSet<>(years);\n        Map<String, List<Blog>> map = new HashMap<>(8);\n        set.forEach(year -> map.put(year, blogDao.findByYear(year)));\n        return map;\n    }\n\n    @Override\n    public int countBlog() {\n        return blogDao.getCount();\n    }\n\n    @Override\n    public int getTotalViews() {\n        return blogDao.getViews();\n    }\n\n    @Override\n    public int getAvgViews() {\n        return blogDao.getAvgViews();\n    }\n\n    @Override\n    public List<Blog> searchAllBlog(Blog blog) {\n        return blogDao.searchAllBlog(blog);\n    }\n\n    @Override\n    public List<Blog> getHotBlog() {\n        return blogDao.getHotBlog();\n    }\n\n    /**\n     * 状态值\n     * @param blog 博文\n     * @return 保存博文\n     */\n    @Transactional(rollbackFor = Exception.class)\n    @Override\n    public int saveBlog(Blog blog) {\n        final Date now = new Date();\n        blog.setCreateTime(now);\n        blog.setUpdateTime(now);\n        blog.setViews(0);\n        blogDao.saveBlog(blog);\n        Long id = blog.getId();\n        blog.getTags().forEach(tag -> {\n            BlogAndTag blogAndTag = new BlogAndTag(tag.getId(), id);\n            blogDao.saveBlogAndTag(blogAndTag);\n        });\n        return 1;\n    }\n\n    @Transactional(rollbackFor = Exception.class)\n    @Override\n    public int updateBlog(Blog blog) {\n        blog.setUpdateTime(new Date());\n        // 先删除旧的标签关联，再插入新的\n        blogDao.deleteBlogAndTagByBlogId(blog.getId());\n        blog.getTags().forEach(tag -> {\n            BlogAndTag blogAndTag = new BlogAndTag(tag.getId(), blog.getId());\n            blogDao.saveBlogAndTag(blogAndTag);\n        });\n        if (cache.hHasKey(RedisKey.ARTICLE, String.valueOf(blog.getId()))){\n            cache.hSet(RedisKey.ARTICLE, String.valueOf(blog.getId()), blog);\n        }\n        return blogDao.updateBlog(blog);\n    }\n\n    @Override\n    public int deleteBlog(Long id) {\n        //如果缓存中有这个键值的话\n        if (cache.hHasKey(RedisKey.ARTICLE_VIEWS, String.valueOf(id))){\n            cache.hDel(RedisKey.ARTICLE_VIEWS, String.valueOf(id));\n        }\n        if (cache.hHasKey(RedisKey.ARTICLE, String.valueOf(id))){\n            cache.hDel(RedisKey.ARTICLE, String.valueOf(id));\n        }\n        return blogDao.deleteBlog(id);\n    }\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/impl/FriendLinkServiceImpl.java",
    "content": "package com.blog.service.impl;\n\nimport com.blog.dao.FriendLinkDao;\nimport com.blog.entity.FriendLink;\nimport com.blog.service.FriendLinkService;\nimport org.springframework.stereotype.Service;\n\nimport javax.annotation.Resource;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Service\npublic class FriendLinkServiceImpl implements FriendLinkService {\n\n    @Resource\n    private FriendLinkDao friendLinkDao;\n\n    @Override\n    public List<FriendLink> listFriendLink() {\n        return friendLinkDao.listFriendLink();\n    }\n\n    @Override\n    public int saveFriendLink(FriendLink friendLink) {\n        return friendLinkDao.saveFriendLink(friendLink);\n    }\n\n    @Override\n    public FriendLink getFriendLink(Integer id) {\n        return friendLinkDao.getFriendLink(id);\n    }\n\n    @Override\n    public FriendLink getFriendLinkByBlogAddress(String blogAddress) {\n        return friendLinkDao.getFriendLinkByBlogAddress(blogAddress);\n    }\n\n    @Override\n    public int updateFriendLink(FriendLink friendLink) {\n        return friendLinkDao.updateFriendLink(friendLink);\n    }\n\n    @Override\n    public void deleteFriendLink(Integer id) {\n        friendLinkDao.deleteFriendLink(id);\n    }\n\n    @Override\n    public int countFriendLink() {\n        return friendLinkDao.getCount();\n    }\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/impl/MessageServiceImpl.java",
    "content": "package com.blog.service.impl;\n\nimport com.blog.dao.MessageDao;\nimport com.blog.entity.Message;\nimport com.blog.service.MessageService;\nimport org.springframework.stereotype.Service;\n\nimport javax.annotation.Resource;\nimport java.util.ArrayList;\nimport java.util.Date;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Service\npublic class MessageServiceImpl implements MessageService {\n\n    @Resource\n    private MessageDao messageDao;\n\n    /**\n     * 首页推荐评论\n     * @return 留言列表\n     */\n    @Override\n    public  List<Message> findByIndexParentId(){\n        return messageDao.findByParentIdNull(Long.parseLong(\"-1\"));\n    }\n\n    /**\n     * 列出留言\n     * @return 留言列表\n     */\n    @Override\n    public List<Message> listMessage() {\n        //查询出父节点\n        List<Message> messages = messageDao.findByParentIdNull(Long.parseLong(\"-1\"));\n        for(Message message : messages){\n            Long id = message.getId();\n            String parentNickname1 = message.getNickname();\n            List<Message> childMessages = messageDao.findByParentIdNotNull(id);\n            //查询出子留言\n            List<Message> tempReplies = new ArrayList<>();\n            combineChildren(tempReplies, childMessages, parentNickname1);\n            message.setReplyMessages(tempReplies);\n        }\n        return messages;\n    }\n\n\n    /**\n     * 查询子留言\n     * @param tempReplies 存放子留言的集合\n     * @param childMessages 子留言\n     * @param parentNickname1 父留言名称\n     */\n    private void combineChildren(List<Message> tempReplies, List<Message> childMessages, String parentNickname1) {\n        if(!childMessages.isEmpty()){\n            for(Message childMessage : childMessages){\n                String parentNickname = childMessage.getNickname();\n                childMessage.setParentNickname(parentNickname1);\n                tempReplies.add(childMessage);\n                Long childId = childMessage.getId();\n                recursively(tempReplies, childId, parentNickname);\n            }\n        }\n    }\n\n    /**\n     * 循环迭代找出子集回复\n     * @param tempReplies 存放子留言的集合\n     * @param childId 子集id\n     * @param parentNickname1 父名称\n     */\n    private void recursively(List<Message> tempReplies, Long childId, String parentNickname1) {\n        List<Message> replayMessages = messageDao.findByReplayId(childId);\n        if(!replayMessages.isEmpty()){\n            for(Message replayMessage : replayMessages){\n                String parentNickname = replayMessage.getNickname();\n                replayMessage.setParentNickname(parentNickname1);\n                Long replayId = replayMessage.getId();\n                tempReplies.add(replayMessage);\n                recursively(tempReplies, replayId, parentNickname);\n            }\n        }\n    }\n\n    /**\n     * 保存留言\n     * @param message 留言\n     * @return 状态\n     */\n    @Override\n    public int saveMessage(Message message) {\n        message.setCreateTime(new Date());\n        return messageDao.saveMessage(message);\n    }\n\n    /**\n     *  删除留言\n     * @param id 留言id\n     */\n    @Override\n    public void deleteMessage(Long id) {\n        messageDao.deleteMessage(id);\n    }\n\n    @Override\n    public int countMessage() {\n        return messageDao.getCount();\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/impl/RedisServiceImpl.java",
    "content": "package com.blog.service.impl;\nimport com.blog.service.RedisService;\nimport org.springframework.data.domain.Sort;\nimport org.springframework.data.geo.Distance;\nimport org.springframework.data.geo.GeoResults;\nimport org.springframework.data.geo.Point;\nimport org.springframework.data.redis.connection.BitFieldSubCommands;\nimport org.springframework.data.redis.connection.RedisGeoCommands;\nimport org.springframework.data.redis.core.RedisCallback;\nimport org.springframework.data.redis.core.RedisTemplate;\nimport org.springframework.stereotype.Service;\n\nimport javax.annotation.Resource;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.concurrent.TimeUnit;\n\n\n/**\n * redis操作\n *\n *\n * @author tangredtea*/\n@Service\npublic class RedisServiceImpl implements RedisService {\n\n    @Resource\n    private RedisTemplate<String, Object> redisTemplate;\n\n    @Override\n    public void set(String key, Object value, long time) {\n        redisTemplate.opsForValue().set(key, value, time, TimeUnit.SECONDS);\n    }\n\n    @Override\n    public void set(String key, Object value) {\n        redisTemplate.opsForValue().set(key, value);\n    }\n\n    @Override\n    public Object get(String key) {\n        return redisTemplate.opsForValue().get(key);\n    }\n\n    @Override\n    public Boolean del(String key) {\n        return redisTemplate.delete(key);\n    }\n\n    @Override\n    public Long del(List<String> keys) {\n        return redisTemplate.delete(keys);\n    }\n\n    @Override\n    public Boolean expire(String key, long time) {\n        return redisTemplate.expire(key, time, TimeUnit.SECONDS);\n    }\n\n    @Override\n    public Long getExpire(String key) {\n        return redisTemplate.getExpire(key, TimeUnit.SECONDS);\n    }\n\n    @Override\n    public Boolean hasKey(String key) {\n        return redisTemplate.hasKey(key);\n    }\n\n    @Override\n    public Long incr(String key, long delta) {\n        return redisTemplate.opsForValue().increment(key, delta);\n    }\n\n    @Override\n    public Long decr(String key, long delta) {\n        return redisTemplate.opsForValue().increment(key, -delta);\n    }\n\n    @Override\n    public Object hGet(String key, String hashKey) {\n        return redisTemplate.opsForHash().get(key, hashKey);\n    }\n\n    @Override\n    public Boolean hSet(String key, String hashKey, Object value, long time) {\n        redisTemplate.opsForHash().put(key, hashKey, value);\n        return expire(key, time);\n    }\n\n    @Override\n    public void hSet(String key, String hashKey, Object value) {\n        redisTemplate.opsForHash().put(key, hashKey, value);\n    }\n\n    @Override\n    public Map hGetAll(String key) {\n        return redisTemplate.opsForHash().entries(key);\n    }\n\n    @Override\n    public Boolean hSetAll(String key, Map<String, Object> map, long time) {\n        redisTemplate.opsForHash().putAll(key, map);\n        return expire(key, time);\n    }\n\n    @Override\n    public void hSetAll(String key, Map<String, ?> map) {\n        redisTemplate.opsForHash().putAll(key, map);\n    }\n\n    @Override\n    public void hDel(String key, Object... hashKey) {\n        redisTemplate.opsForHash().delete(key, hashKey);\n    }\n\n    @Override\n    public Boolean hHasKey(String key, String hashKey) {\n        return redisTemplate.opsForHash().hasKey(key, hashKey);\n    }\n\n    @Override\n    public Long hIncr(String key, String hashKey, Long delta) {\n        return redisTemplate.opsForHash().increment(key, hashKey, delta);\n    }\n\n    @Override\n    public Long hDecr(String key, String hashKey, Long delta) {\n        return redisTemplate.opsForHash().increment(key, hashKey, -delta);\n    }\n\n    @Override\n    public Set<Object> sMembers(String key) {\n        return redisTemplate.opsForSet().members(key);\n    }\n\n    @Override\n    public Long sAdd(String key, Object... values) {\n        return redisTemplate.opsForSet().add(key, values);\n    }\n\n    @Override\n    public Long sAdd(String key, long time, Object... values) {\n        Long count = redisTemplate.opsForSet().add(key, values);\n        expire(key, time);\n        return count;\n    }\n\n    @Override\n    public Boolean sIsMember(String key, Object value) {\n        return redisTemplate.opsForSet().isMember(key, value);\n    }\n\n    @Override\n    public Long sSize(String key) {\n        return redisTemplate.opsForSet().size(key);\n    }\n\n    @Override\n    public Long sRemove(String key, Object... values) {\n        return redisTemplate.opsForSet().remove(key, values);\n    }\n\n    @Override\n    public List<Object> lRange(String key, long start, long end) {\n        return redisTemplate.opsForList().range(key, start, end);\n    }\n\n    @Override\n    public Long lSize(String key) {\n        return redisTemplate.opsForList().size(key);\n    }\n\n    @Override\n    public Object lIndex(String key, long index) {\n        return redisTemplate.opsForList().index(key, index);\n    }\n\n    @Override\n    public Long lPush(String key, Object value) {\n        return redisTemplate.opsForList().rightPush(key, value);\n    }\n\n    @Override\n    public Long lPush(String key, Object value, long time) {\n        Long index = redisTemplate.opsForList().rightPush(key, value);\n        expire(key, time);\n        return index;\n    }\n\n    @Override\n    public Long lPushAll(String key, Object... values) {\n        return redisTemplate.opsForList().rightPushAll(key, values);\n    }\n\n    @Override\n    public Long lPushAll(String key, Long time, Object... values) {\n        Long count = redisTemplate.opsForList().rightPushAll(key, values);\n        expire(key, time);\n        return count;\n    }\n\n    @Override\n    public Long lRemove(String key, long count, Object value) {\n        return redisTemplate.opsForList().remove(key, count, value);\n    }\n\n    @Override\n    public Boolean bitAdd(String key, int offset, boolean b) {\n        return redisTemplate.opsForValue().setBit(key, offset, b);\n    }\n\n    @Override\n    public Boolean bitGet(String key, int offset) {\n        return redisTemplate.opsForValue().getBit(key, offset);\n    }\n\n    @Override\n    public Long bitCount(String key) {\n        return redisTemplate.execute((RedisCallback<Long>) con -> con.bitCount(key.getBytes()));\n    }\n\n    @Override\n    public List<Long> bitField(String key, int limit, int offset) {\n        return redisTemplate.execute((RedisCallback<List<Long>>) con ->\n                con.bitField(key.getBytes(),\n                        BitFieldSubCommands.create().get(BitFieldSubCommands.BitFieldType.unsigned(limit)).valueAt(offset)));\n    }\n\n    @Override\n    public byte[] bitGetAll(String key) {\n        return redisTemplate.execute((RedisCallback<byte[]>) con -> con.get(key.getBytes()));\n    }\n\n    @Override\n    public Long geoAdd(String key, Double x, Double y, String name) {\n        return redisTemplate.opsForGeo().add(key, new Point(x, y), name);\n    }\n\n    @Override\n    public List<Point> geoGetPointList(String key, Object... place) {\n        return redisTemplate.opsForGeo().position(key, place);\n    }\n\n    @Override\n    public Distance geoCalculationDistance(String key, String placeOne, String placeTow) {\n        return redisTemplate.opsForGeo()\n                .distance(key, placeOne, placeTow, RedisGeoCommands.DistanceUnit.KILOMETERS);\n    }\n\n    @Override\n    public GeoResults<RedisGeoCommands.GeoLocation<Object>> geoNearByPlace(String key, String place, Distance distance, long limit, Sort.Direction sort) {\n        RedisGeoCommands.GeoRadiusCommandArgs args = RedisGeoCommands.GeoRadiusCommandArgs.newGeoRadiusArgs().includeDistance().includeCoordinates();\n        // 判断排序方式\n        if (Sort.Direction.ASC == sort) {\n            args.sortAscending();\n        } else {\n            args.sortDescending();\n        }\n        args.limit(limit);\n        return redisTemplate.opsForGeo()\n                .radius(key, place, distance, args);\n    }\n\n    @Override\n    public List<String> geoGetHash(String key, String... place) {\n        return redisTemplate.opsForGeo()\n                .hash(key, place);\n    }\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/impl/TagServiceImpl.java",
    "content": "package com.blog.service.impl;\n\nimport com.blog.dao.TagDao;\nimport com.blog.entity.Tag;\nimport com.blog.service.TagService;\nimport org.springframework.stereotype.Service;\nimport javax.annotation.Resource;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Service\npublic class TagServiceImpl implements TagService {\n\n    @Resource\n    TagDao tagDao;\n\n    @Override\n    public int saveTag(Tag tag) {\n        return tagDao.saveTag(tag);\n    }\n\n    @Override\n    public Tag getTag(Integer id) {\n        return tagDao.getTag(id);\n    }\n\n    @Override\n    public Tag getTagByName(String name) {\n        return tagDao.getTagByName(name);\n    }\n\n    @Override\n    public List<Tag> getAllTag() {\n        return tagDao.getAllTag();\n    }\n\n    @Override\n    public List<Tag> getBlogTag() {\n        return tagDao.getBlogTag();\n    }\n\n    /**\n     * 从tagIds字符串中获取id，根据id获取tag集合\n     * @param text 标签名\n     * @return 标签列表\n     */\n    @Override\n    public List<Tag> getTagByString(String text) {\n        List<Tag> tags = new ArrayList<>();\n        List<Integer> nums = convertToList(text);\n        for (Integer num : nums) {\n            tags.add(tagDao.getTag(num));\n        }\n        return tags;\n    }\n\n    /**\n     * 把前端的tagIds字符串转换为list集合\n     * @param ids id\n     * @return id列表\n     */\n    private List<Integer> convertToList(String ids) {\n        List<Integer> list = new ArrayList<>();\n        if (!\"\".equals(ids) && ids != null) {\n            String[] idArrays = ids.split(\",\");\n            for (String idArray : idArrays) {\n                list.add(Integer.valueOf(idArray));\n            }\n        }\n        return list;\n    }\n\n    @Override\n    public int updateTag(Tag tag) {\n        return tagDao.updateTag(tag);\n    }\n\n    @Override\n    public int deleteTag(Integer id) {\n        return tagDao.deleteTag(id);\n    }\n\n    @Override\n    public int countTag() {\n        return tagDao.getCount();\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/impl/TypeServiceImpl.java",
    "content": "package com.blog.service.impl;\n\nimport com.blog.dao.TypeDao;\nimport com.blog.entity.Type;\nimport com.blog.service.RedisService;\nimport com.blog.service.TypeService;\nimport org.springframework.stereotype.Service;\n\nimport javax.annotation.Resource;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Service\npublic class TypeServiceImpl implements TypeService {\n\n    @Resource\n    RedisService cache;\n\n    @Resource\n    private TypeDao typeDao;\n\n    @Override\n    public int saveType(Type type) {\n        return typeDao.saveType(type);\n    }\n\n    @Override\n    public Type getType(Integer id) {\n        return typeDao.getType(id);\n    }\n\n    @Override\n    public Type getTypeByName(String name) {\n        return typeDao.getTypeByName(name);\n    }\n\n    @Override\n    public List<Type> getAllType() {\n        return typeDao.getAllType();\n    }\n\n\n    @Override\n    public List<Type> getBlogType() {\n        return typeDao.getBlogType();\n    }\n\n    @Override\n    public int updateType(Type type) {\n        return typeDao.updateType(type);\n    }\n\n    @Override\n    public int deleteType(Integer id) {\n        return typeDao.deleteType(id);\n    }\n\n    @Override\n    public int countType() {\n        return typeDao.getCount();\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/service/impl/UserServiceImpl.java",
    "content": "package com.blog.service.impl;\n\nimport com.blog.dao.UserDao;\nimport com.blog.entity.User;\nimport com.blog.service.UserService;\nimport com.blog.util.PasswordUtils;\nimport lombok.extern.slf4j.Slf4j;\nimport org.springframework.stereotype.Service;\nimport org.springframework.transaction.annotation.Transactional;\n\nimport javax.annotation.Resource;\nimport java.util.List;\n\n/**\n * @author tangredtea\n */\n@Slf4j\n@Service\npublic class UserServiceImpl implements UserService {\n\n    @Resource\n    private UserDao userDao;\n\n\n    @Override\n    public User checkUser(String username, String password) {\n        User user = userDao.queryByUsername(username);\n        if (user != null && PasswordUtils.matches(password, user.getPassword())) {\n            return user;\n        }\n        return null;\n    }\n\n    @Override\n    public User getUserInfoById(Integer id) {\n        return userDao.getUserInfoById(id);\n    }\n\n    @Override\n    public int updateUser(User user) {\n        return userDao.updateUser(user);\n    }\n\n    @Override\n    public int saveUser(User user) {\n        return userDao.saveUser(user);\n    }\n\n    @Override\n    public List<User> getUsers() {\n        return userDao.getAllUser();\n    }\n\n    @Override\n    public int deleteUser(Integer id) {\n        return userDao.deleteUser(id);\n    }\n\n    @Override\n    public int getUserInfoByUsername(String name) {\n        return userDao.getUserInfoByUsername(name);\n    }\n\n    @Override\n    public int countUser() {\n        return userDao.getCount();\n    }\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/util/CommonResult.java",
    "content": "package com.blog.util;\n\nimport lombok.Data;\n\n/**\n * 公共逻辑返回类\n * @author tangredtea\n */\n@Data\npublic class CommonResult<T> {\n    private Integer code;\n    private String msg;\n    private T data;\n\n    public CommonResult(int code, String msg, T data) {\n        this.code = code;\n        this.msg = msg;\n        this.data = data;\n    }\n\n    public static <T> CommonResult<T> success(T t) {\n        return new CommonResult<>(200, \"操作成功\", t);\n    }\n\n    public static <T> CommonResult<T> error(T t) {\n        return new CommonResult<>(500, \"操作失败\", t);\n    }\n\n}\n\n"
  },
  {
    "path": "src/main/java/com/blog/util/MD5Utils.java",
    "content": "package com.blog.util;\n\nimport java.security.MessageDigest;\nimport java.security.NoSuchAlgorithmException;\n\n/**\n * @author tangredtea\n */\npublic class MD5Utils {\n\n    /**\n     * MD5加密类\n     * @param str 要加密的字符串\n     * @return    加密后的字符串\n     */\n    public static String code(String str){\n        try {\n            MessageDigest md = MessageDigest.getInstance(\"MD5\");\n            md.update(str.getBytes());\n            byte[]byteDigest = md.digest();\n            int i;\n            StringBuilder buf = new StringBuilder();\n            for (byte b : byteDigest) {\n                i = b;\n                if (i < 0) {\n                    i += 256;\n                }\n                if (i < 16) {\n                    buf.append(\"0\");\n                }\n                buf.append(Integer.toHexString(i));\n            }\n            //32位加密\n            return buf.toString();\n        } catch (NoSuchAlgorithmException e) {\n            e.printStackTrace();\n            return null;\n        }\n\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/util/MarkdownUtils.java",
    "content": "package com.blog.util;\n\nimport org.commonmark.Extension;\nimport org.commonmark.ext.gfm.tables.TableBlock;\nimport org.commonmark.ext.gfm.tables.TablesExtension;\nimport org.commonmark.ext.heading.anchor.HeadingAnchorExtension;\nimport org.commonmark.node.Link;\nimport org.commonmark.node.Node;\nimport org.commonmark.parser.Parser;\nimport org.commonmark.renderer.html.AttributeProvider;\nimport org.commonmark.renderer.html.HtmlRenderer;\n\nimport java.util.*;\n\n\n/**\n * @author tangredtea\n */\npublic class MarkdownUtils {\n\n    /**\n     * markdown格式转换成HTML格式\n     * @param markdown 文本\n     * @return 渲染后的文本\n     */\n    public static String markdownToHtml(String markdown) {\n        Parser parser = Parser.builder().build();\n        Node document = parser.parse(markdown);\n        HtmlRenderer renderer = HtmlRenderer.builder().build();\n        return renderer.render(document);\n    }\n\n    /**\n     * 增加扩展[标题锚点，表格生成]\n     * Markdown转换成HTML\n     * @param markdown 文本\n     * @return 渲染后的文本\n     */\n    public static String markdownToHtmlExtensions(String markdown) {\n        //h标题生成id\n        Set<Extension> headingAnchorExtensions = Collections.singleton(HeadingAnchorExtension.create());\n        //转换table的HTML\n        List<Extension> tableExtension = Collections.singletonList(TablesExtension.create());\n        Parser parser = Parser.builder()\n                .extensions(tableExtension)\n                .build();\n        Node document = parser.parse(markdown);\n        HtmlRenderer renderer = HtmlRenderer.builder()\n                .extensions(headingAnchorExtensions)\n                .extensions(tableExtension)\n                .attributeProviderFactory(context -> new CustomAttributeProvider())\n                .build();\n        return renderer.render(document);\n    }\n\n    /**\n     * 处理标签的属性\n     */\n    static class CustomAttributeProvider implements AttributeProvider {\n        @Override\n        public void setAttributes(Node node, String tagName, Map<String, String> attributes) {\n            //改变a标签的target属性为_blank\n            if (node instanceof Link) {\n                attributes.put(\"target\", \"_blank\");\n            }\n            if (node instanceof TableBlock) {\n                attributes.put(\"class\", \"ui celled table\");\n            }\n        }\n    }\n\n\n}\n"
  },
  {
    "path": "src/main/java/com/blog/util/PasswordUtils.java",
    "content": "package com.blog.util;\n\nimport org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;\n\n/**\n * 密码加密工具类\n * 使用 BCrypt 算法，比 MD5 更安全\n * @author tangredtea\n */\npublic class PasswordUtils {\n\n    private static final BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();\n\n    /**\n     * 加密密码\n     * @param rawPassword 原始密码\n     * @return 加密后的密码\n     */\n    public static String encode(String rawPassword) {\n        return encoder.encode(rawPassword);\n    }\n\n    /**\n     * 验证密码\n     * @param rawPassword 原始密码\n     * @param encodedPassword 加密后的密码\n     * @return 是否匹配\n     */\n    public static boolean matches(String rawPassword, String encodedPassword) {\n        return encoder.matches(rawPassword, encodedPassword);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/util/PropertiesUtil.java",
    "content": "package com.blog.util;\n\n\nimport com.blog.config.SettingsConfig;\nimport lombok.extern.slf4j.Slf4j;\nimport org.springframework.util.ResourceUtils;\n\nimport java.io.*;\nimport java.lang.reflect.Field;\nimport java.util.Properties;\n\n/**\n * @author tangredtea\n */\n@Slf4j\npublic class PropertiesUtil {\n\n    private static String path;\n\n    static {\n        try {\n            path = ResourceUtils.getURL(\"classpath:\").getPath()+\"messages.properties\";\n        } catch (FileNotFoundException e) {\n            log.error(\"messages.properties not found\", e);\n        }\n    }\n\n    public static String getValueByKey(String filePath, String key) {\n        Properties pps = new Properties();\n        try (InputStream in = new BufferedInputStream(new FileInputStream(filePath))) {\n            pps.load(in);\n            return pps.getProperty(key);\n        } catch (IOException e) {\n            log.error(\"Failed to read property: {}\", key, e);\n            return null;\n        }\n    }\n\n    public static void writeProperties(String pKey, String pValue) throws IOException {\n        Properties pps = new Properties();\n        try (InputStream in = new FileInputStream(path)) {\n            pps.load(in);\n        }\n        pps.setProperty(pKey, pValue);\n        try (OutputStream out = new FileOutputStream(path)) {\n            pps.store(out, \"Update \" + pKey + \" name\");\n        }\n    }\n\n    public static void write(Class<?> t, SettingsConfig settings) throws IllegalAccessException, IOException {\n        Field[] declaredFields = t.getDeclaredFields();\n        for (Field declaredField : declaredFields) {\n            declaredField.setAccessible(true);\n            writeProperties(declaredField.getName(), (String) declaredField.get(settings));\n        }\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/util/RedisUtil.java",
    "content": "package com.blog.util;\n\nimport org.springframework.data.redis.core.*;\nimport org.springframework.stereotype.Component;\n\nimport javax.annotation.Resource;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.concurrent.TimeUnit;\n\n/**\n * @author tangredtea\n\n */\n@Component\npublic class RedisUtil {\n\n    @Resource\n    private RedisTemplate redisTemplate;\n\n    private static final double size = Math.pow(2, 32);\n\n\n    public boolean setBit(String key, long offset, boolean isShow) {\n        boolean result = false;\n        try {\n            ValueOperations operations = redisTemplate.opsForValue();\n            operations.setBit(key, offset, isShow);\n            result = true;\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n        return result;\n    }\n\n\n    public boolean getBit(String key, long offset) {\n        boolean result = false;\n        try {\n            ValueOperations operations = redisTemplate.opsForValue();\n            result = operations.getBit(key, offset);\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n        return result;\n    }\n\n    /**\n     * 写入缓存\n     *\n     * @param key\n     * @param value\n     * @return\n     */\n    public boolean set(final String key, Object value) {\n        boolean result = false;\n        try {\n            ValueOperations operations = redisTemplate.opsForValue();\n            operations.set(key, value);\n            result = true;\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n        return result;\n    }\n\n    /**\n     * 写入缓存设置时效时间\n     *\n     * @param key\n     * @param value\n     * @return\n     */\n    public boolean set(final String key, Object value, Long expireTime) {\n        boolean result = false;\n        try {\n            ValueOperations operations = redisTemplate.opsForValue();\n            operations.set(key, value);\n            redisTemplate.expire(key, expireTime, TimeUnit.SECONDS);\n            result = true;\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n        return result;\n    }\n\n    /**\n     * 批量删除对应的value\n     *\n     * @param keys\n     */\n    public void remove(final String... keys) {\n        for (String key : keys) {\n            remove(key);\n        }\n    }\n\n    /**\n     * 删除对应的value\n     *\n     * @param key\n     */\n    public void remove(final String key) {\n        if (exists(key)) {\n            redisTemplate.delete(key);\n        }\n    }\n\n    public boolean exists(final String key) {\n        return redisTemplate.hasKey(key);\n    }\n\n\n    public Object get(final String key) {\n        Object result;\n        ValueOperations operations = redisTemplate.opsForValue();\n        result = operations.get(key);\n        return result;\n    }\n\n    public void hmSet(String key, Object hashKey, Object value) {\n        HashOperations hash = redisTemplate.opsForHash();\n        hash.put(key, hashKey, value);\n    }\n\n    public Object hmGet(String key, Object hashKey) {\n        HashOperations hash = redisTemplate.opsForHash();\n        return hash.get(key, hashKey);\n    }\n\n\n    public void lPush(String k, Object v) {\n        ListOperations list = redisTemplate.opsForList();\n        list.rightPush(k, v);\n    }\n\n\n    public List lRange(String k, long l, long l1) {\n        ListOperations list = redisTemplate.opsForList();\n        return list.range(k, l, l1);\n    }\n\n\n    public void add(String key, Object value) {\n        SetOperations set = redisTemplate.opsForSet();\n        set.add(key, value);\n    }\n\n\n    public Set setMembers(String key) {\n        SetOperations set = redisTemplate.opsForSet();\n        return set.members(key);\n    }\n\n\n    public void zAdd(String key, Object value, double source) {\n        ZSetOperations zset = redisTemplate.opsForZSet();\n        zset.add(key, value, source);\n    }\n\n\n    public Set rangeByScore(String key, double source, double scoure_1) {\n        ZSetOperations zset = redisTemplate.opsForZSet();\n        redisTemplate.opsForValue();\n        return zset.rangeByScore(key, source, scoure_1);\n    }\n\n    public void saveDataToRedis(String name) {\n        double index = Math.abs(name.hashCode() % size);\n        long indexLong = new Double(index).longValue();\n        boolean availableUsers = setBit(\"availableUsers\", indexLong, true);\n    }\n\n\n    public boolean getDataToRedis(String name) {\n        double index = Math.abs(name.hashCode() % size);\n        long indexLong = new Double(index).longValue();\n        return getBit(\"availableUsers\", indexLong);\n    }\n\n\n\n    public Long zRank(String key, Object value) {\n        ZSetOperations zset = redisTemplate.opsForZSet();\n        return zset.rank(key, value);\n    }\n\n\n    public Set zRankWithScore(String key, long start, long end) {\n        ZSetOperations zset = redisTemplate.opsForZSet();\n        Set ret = zset.rangeWithScores(key, start, end);\n        return ret;\n    }\n\n\n    public Double zSetScore(String key, Object value) {\n        ZSetOperations zset = redisTemplate.opsForZSet();\n        return zset.score(key, value);\n    }\n\n\n    public void incrementScore(String key, Object value, double scoure) {\n        ZSetOperations zset = redisTemplate.opsForZSet();\n        zset.incrementScore(key, value, scoure);\n    }\n\n\n    public Set<ZSetOperations.TypedTuple<Object>> reverseZRankWithScore(String key, long start, long end) {\n        ZSetOperations zset = redisTemplate.opsForZSet();\n        return (Set<ZSetOperations.TypedTuple<Object>>) zset.reverseRangeByScoreWithScores(key, start, end);\n    }\n\n    public Set<ZSetOperations.TypedTuple<Object>> reverseZRankWithRank(String key, long start, long end) {\n        ZSetOperations zset = redisTemplate.opsForZSet();\n        return (Set<ZSetOperations.TypedTuple<Object>>) zset.reverseRangeWithScores(key, start, end);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/util/SEOUtils.java",
    "content": "package com.blog.util;\n\nimport com.blog.entity.Blog;\nimport org.springframework.stereotype.Component;\n\n/**\n * SEO 工具类\n * 生成 Meta 标签、结构化数据等\n * @author tangredtea\n */\n@Component\npublic class SEOUtils {\n    \n    private static final String SITE_NAME = \"Spring Blog\";\n    private static final String SITE_URL = \"https://your-domain.com\";\n    \n    /**\n     * 生成文章页面的 Meta Description\n     */\n    public String generateMetaDescription(Blog blog) {\n        if (blog.getDescription() != null && !blog.getDescription().isEmpty()) {\n            return truncate(blog.getDescription(), 160);\n        }\n        // 从内容提取\n        String content = blog.getContent() != null ? \n            blog.getContent().replaceAll(\"<[^>]+\", \"\") : \"\";\n        return truncate(content, 160);\n    }\n    \n    /**\n     * 生成文章页面的 Meta Keywords\n     */\n    public String generateMetaKeywords(Blog blog) {\n        StringBuilder keywords = new StringBuilder();\n        \n        // 添加标题中的关键词\n        if (blog.getTitle() != null) {\n            keywords.append(blog.getTitle().replaceAll(\"[^\\\\u4e00-\\\\u9fa5a-zA-Z0-9]\", \",\"));\n        }\n        \n        // 添加标签\n        if (blog.getTagIds() != null) {\n            keywords.append(\",\").append(blog.getTagIds());\n        }\n        \n        // 添加分类\n        if (blog.getType() != null && blog.getType().getName() != null) {\n            keywords.append(\",\").append(blog.getType().getName());\n        }\n        \n        return keywords.toString();\n    }\n    \n    /**\n     * 生成 Open Graph 标签（社交媒体分享优化）\n     */\n    public String generateOpenGraphTags(Blog blog, String currentUrl) {\n        StringBuilder og = new StringBuilder();\n        og.append(\"<meta property=\\\"og:type\\\" content=\\\"article\\\">\\n\");\n        og.append(\"<meta property=\\\"og:title\\\" content=\\\"\").append(escapeHtml(blog.getTitle())).append(\"\\\">\\n\");\n        og.append(\"<meta property=\\\"og:description\\\" content=\\\"\").append(escapeHtml(generateMetaDescription(blog))).append(\"\\\">\\n\");\n        og.append(\"<meta property=\\\"og:url\\\" content=\\\"\").append(SITE_URL).append(currentUrl).append(\"\\\">\\n\");\n        og.append(\"<meta property=\\\"og:site_name\\\" content=\\\"\").append(SITE_NAME).append(\"\\\">\\n\");\n        \n        if (blog.getFirstPicture() != null) {\n            og.append(\"<meta property=\\\"og:image\\\" content=\\\"\").append(blog.getFirstPicture()).append(\"\\\">\\n\");\n        }\n        \n        if (blog.getCreateTime() != null) {\n            og.append(\"<meta property=\\\"article:published_time\\\" content=\\\"\").append(blog.getCreateTime()).append(\"\\\">\\n\");\n        }\n        if (blog.getUpdateTime() != null) {\n            og.append(\"<meta property=\\\"article:modified_time\\\" content=\\\"\").append(blog.getUpdateTime()).append(\"\\\">\\n\");\n        }\n        \n        return og.toString();\n    }\n    \n    /**\n     * 生成 Twitter Card 标签\n     */\n    public String generateTwitterCardTags(Blog blog) {\n        StringBuilder twitter = new StringBuilder();\n        twitter.append(\"<meta name=\\\"twitter:card\\\" content=\\\"summary_large_image\\\">\\n\");\n        twitter.append(\"<meta name=\\\"twitter:title\\\" content=\\\"\").append(escapeHtml(blog.getTitle())).append(\"\\\">\\n\");\n        twitter.append(\"<meta name=\\\"twitter:description\\\" content=\\\"\").append(escapeHtml(generateMetaDescription(blog))).append(\"\\\">\\n\");\n        \n        if (blog.getFirstPicture() != null) {\n            twitter.append(\"<meta name=\\\"twitter:image\\\" content=\\\"\").append(blog.getFirstPicture()).append(\"\\\">\\n\");\n        }\n        \n        return twitter.toString();\n    }\n    \n    /**\n     * 生成 JSON-LD 结构化数据（Schema.org）\n     */\n    public String generateJsonLd(Blog blog, String currentUrl) {\n        StringBuilder json = new StringBuilder();\n        json.append(\"<script type=\\\"application/ld+json\\\">\\n\");\n        json.append(\"{\\n\");\n        json.append(\"  \\\"@context\\\": \\\"https://schema.org\\\",\\n\");\n        json.append(\"  \\\"@type\\\": \\\"BlogPosting\\\",\\n\");\n        json.append(\"  \\\"headline\\\": \\\"\").append(escapeJson(blog.getTitle())).append(\"\\\",\\n\");\n        json.append(\"  \\\"description\\\": \\\"\").append(escapeJson(generateMetaDescription(blog))).append(\"\\\",\\n\");\n        json.append(\"  \\\"url\\\": \\\"\").append(SITE_URL).append(currentUrl).append(\"\\\",\\n\");\n        \n        if (blog.getFirstPicture() != null) {\n            json.append(\"  \\\"image\\\": [\\\"\").append(blog.getFirstPicture()).append(\"\\\"],\\n\");\n        }\n        \n        if (blog.getCreateTime() != null) {\n            json.append(\"  \\\"datePublished\\\": \\\"\").append(blog.getCreateTime()).append(\"\\\",\\n\");\n        }\n        if (blog.getUpdateTime() != null) {\n            json.append(\"  \\\"dateModified\\\": \\\"\").append(blog.getUpdateTime()).append(\"\\\",\\n\");\n        }\n        \n        // 作者信息\n        if (blog.getUser() != null) {\n            json.append(\"  \\\"author\\\": {\\n\");\n            json.append(\"    \\\"@type\\\": \\\"Person\\\",\\n\");\n            json.append(\"    \\\"name\\\": \\\"\").append(escapeJson(blog.getUser().getNickname())).append(\"\\\"\\n\");\n            json.append(\"  },\\n\");\n        }\n        \n        // 发布者信息\n        json.append(\"  \\\"publisher\\\": {\\n\");\n        json.append(\"    \\\"@type\\\": \\\"Organization\\\",\\n\");\n        json.append(\"    \\\"name\\\": \\\"\").append(SITE_NAME).append(\"\\\"\\n\");\n        json.append(\"  }\\n\");\n        \n        json.append(\"}\\n\");\n        json.append(\"</script>\\n\");\n        \n        return json.toString();\n    }\n    \n    /**\n     * 生成面包屑导航结构化数据\n     */\n    public String generateBreadcrumbJsonLd(String... items) {\n        StringBuilder json = new StringBuilder();\n        json.append(\"<script type=\\\"application/ld+json\\\">\\n\");\n        json.append(\"{\\n\");\n        json.append(\"  \\\"@context\\\": \\\"https://schema.org\\\",\\n\");\n        json.append(\"  \\\"@type\\\": \\\"BreadcrumbList\\\",\\n\");\n        json.append(\"  \\\"itemListElement\\\": [\\n\");\n        \n        for (int i = 0; i < items.length; i += 2) {\n            if (i > 0) json.append(\",\\n\");\n            json.append(\"    {\\n\");\n            json.append(\"      \\\"@type\\\": \\\"ListItem\\\",\\n\");\n            json.append(\"      \\\"position\\\": \").append(i / 2 + 1).append(\",\\n\");\n            json.append(\"      \\\"name\\\": \\\"\").append(items[i]).append(\"\\\"\");\n            if (i + 1 < items.length) {\n                json.append(\",\\n      \\\"item\\\": \\\"\").append(SITE_URL).append(items[i + 1]).append(\"\\\"\");\n            }\n            json.append(\"\\n    }\");\n        }\n        \n        json.append(\"\\n  ]\\n\");\n        json.append(\"}\\n\");\n        json.append(\"</script>\\n\");\n        \n        return json.toString();\n    }\n    \n    /**\n     * AEO (Answer Engine Optimization) - 生成 FAQ 结构化数据\n     */\n    public String generateFaqJsonLd(String[][] faqs) {\n        StringBuilder json = new StringBuilder();\n        json.append(\"<script type=\\\"application/ld+json\\\">\\n\");\n        json.append(\"{\\n\");\n        json.append(\"  \\\"@context\\\": \\\"https://schema.org\\\",\\n\");\n        json.append(\"  \\\"@type\\\": \\\"FAQPage\\\",\\n\");\n        json.append(\"  \\\"mainEntity\\\": [\\n\");\n        \n        for (int i = 0; i < faqs.length; i++) {\n            if (i > 0) json.append(\",\\n\");\n            json.append(\"    {\\n\");\n            json.append(\"      \\\"@type\\\": \\\"Question\\\",\\n\");\n            json.append(\"      \\\"name\\\": \\\"\").append(escapeJson(faqs[i][0])).append(\"\\\",\\n\");\n            json.append(\"      \\\"acceptedAnswer\\\": {\\n\");\n            json.append(\"        \\\"@type\\\": \\\"Answer\\\",\\n\");\n            json.append(\"        \\\"text\\\": \\\"\").append(escapeJson(faqs[i][1])).append(\"\\\"\\n\");\n            json.append(\"      }\\n\");\n            json.append(\"    }\");\n        }\n        \n        json.append(\"\\n  ]\\n\");\n        json.append(\"}\\n\");\n        json.append(\"</script>\\n\");\n        \n        return json.toString();\n    }\n    \n    // 辅助方法\n    private String truncate(String str, int maxLength) {\n        if (str == null || str.length() <= maxLength) {\n            return str;\n        }\n        return str.substring(0, maxLength - 3) + \"...\";\n    }\n    \n    private String escapeHtml(String str) {\n        if (str == null) return \"\";\n        return str.replace(\"&\", \"&amp;\")\n                  .replace(\"<\", \"&lt;\")\n                  .replace(\">\", \"&gt;\")\n                  .replace(\"\\\"\", \"&quot;\");\n    }\n    \n    private String escapeJson(String str) {\n        if (str == null) return \"\";\n        return str.replace(\"\\\\\", \"\\\\\\\\\")\n                  .replace(\"\\\"\", \"\\\\\\\"\")\n                  .replace(\"\\n\", \"\\\\n\")\n                  .replace(\"\\r\", \"\\\\r\")\n                  .replace(\"\\t\", \"\\\\t\");\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/blog/util/WxChatbotClient.java",
    "content": "package com.blog.util;\n\nimport com.blog.pojo.WebhookMessage;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport org.apache.commons.lang3.StringUtils;\nimport org.apache.http.HttpResponse;\nimport org.apache.http.HttpStatus;\nimport org.apache.http.client.HttpClient;\nimport org.apache.http.client.config.RequestConfig;\nimport org.apache.http.client.methods.HttpPost;\nimport org.apache.http.config.Registry;\nimport org.apache.http.config.RegistryBuilder;\nimport org.apache.http.conn.socket.ConnectionSocketFactory;\nimport org.apache.http.conn.socket.PlainConnectionSocketFactory;\nimport org.apache.http.conn.ssl.SSLConnectionSocketFactory;\nimport org.apache.http.conn.ssl.SSLSocketFactory;\nimport org.apache.http.entity.StringEntity;\nimport org.apache.http.impl.client.CloseableHttpClient;\nimport org.apache.http.impl.client.HttpClients;\nimport org.apache.http.impl.conn.PoolingHttpClientConnectionManager;\n\n\nimport javax.net.ssl.SSLContext;\nimport javax.net.ssl.TrustManager;\nimport javax.net.ssl.X509TrustManager;\nimport java.io.IOException;\nimport java.security.GeneralSecurityException;\nimport java.security.cert.CertificateException;\nimport java.security.cert.X509Certificate;\n\n/**\n * @author tangredtea\n */\npublic class WxChatbotClient {\n\n    private static PoolingHttpClientConnectionManager connMgr;\n    private static RequestConfig requestConfig;\n    private static final int MAX_TIMEOUT = 600000;\n    private static ObjectMapper objectMapper = new ObjectMapper();\n\n    static {\n        Registry<ConnectionSocketFactory> socketFactoryRegistry = RegistryBuilder.<ConnectionSocketFactory>create()\n                .register(\"http\", PlainConnectionSocketFactory.INSTANCE)\n                .register(\"https\", createSSLConnSocketFactory())\n                .build();\n        // 设置连接池\n        connMgr = new PoolingHttpClientConnectionManager(socketFactoryRegistry);\n        // 设置连接池大小\n        connMgr.setMaxTotal(100);\n        connMgr.setDefaultMaxPerRoute(connMgr.getMaxTotal());\n        RequestConfig.Builder configBuilder = RequestConfig.custom();\n        // 设置连接超时\n        configBuilder.setConnectTimeout(MAX_TIMEOUT);\n        // 设置读取超时\n        configBuilder.setSocketTimeout(MAX_TIMEOUT);\n        // 设置从连接池获取连接实例的超时\n        configBuilder.setConnectionRequestTimeout(MAX_TIMEOUT);\n        // 在提交请求之前 测试连接是否可用\n        configBuilder.setStaleConnectionCheckEnabled(true);\n        requestConfig = configBuilder.build();\n    }\n\n    public static boolean send(String webhook, WebhookMessage message) throws IOException{\n    \tif(StringUtils.isBlank(webhook)){\n    \t\treturn false;\n    \t}\n        boolean flag = false;\n        CloseableHttpClient httpclient = HttpClients.custom().setConnectionManager(connMgr).setDefaultRequestConfig(requestConfig).build();\n        try{\n            HttpPost httppost = new HttpPost(webhook);\n            httppost.addHeader(\"Content-Type\", \"application/json;charset=utf-8\");\n            StringEntity se = new StringEntity(objectMapper.writeValueAsString(message.toJsonString()), \"utf-8\");\n            httppost.setEntity(se);\n            HttpResponse response = httpclient.execute(httppost);\n            System.out.println(response);\n            if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {\n                flag = true;\n            }\n        } finally {\n            return flag;\n        }\n    }\n\n    private static SSLConnectionSocketFactory createSSLConnSocketFactory() {\n        SSLConnectionSocketFactory sslsf = null;\n        try {\n            SSLContext ctx = SSLContext.getInstance(\"SSL\");\n            X509TrustManager tm = new X509TrustManager() {\n                @Override\n                public void checkClientTrusted(X509Certificate[] chain,\n                                               String authType) throws CertificateException {\n                }\n\n                @Override\n                public void checkServerTrusted(X509Certificate[] chain,\n                                               String authType) throws CertificateException {\n                }\n\n                @Override\n                public X509Certificate[] getAcceptedIssuers() {\n                    return null;\n                }\n            };\n            ctx.init(null, new TrustManager[]{tm}, null);\n            sslsf = new SSLConnectionSocketFactory(ctx, SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);\n        } catch (GeneralSecurityException e) {\n            e.printStackTrace();\n        }\n        return sslsf;\n    }\n}\n\n\n"
  },
  {
    "path": "src/main/resources/application-dev.yml",
    "content": "#开发环境\n# 敏感配置请使用环境变量：\n# export DB_PASSWORD=your_password\n# export REDIS_PASSWORD=your_redis_password\n\nspring:\n  datasource:\n    #hikari连接池,号称最快的连接池\n    type: com.zaxxer.hikari.HikariDataSource\n    url: jdbc:mysql://127.0.0.1:3306/blog?useUnicode=true&characterEncoding=UTF-8&useSSL=true&serverTimezone=Asia/Shanghai\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    username: ${DB_USERNAME:root}\n    password: ${DB_PASSWORD:qq897261}\n    hikari:\n      auto-commit: true\n      minimum-idle: 2\n      idle-timeout: 60000\n      connection-timeout: 30000\n      max-lifetime: 1800000\n      pool-name: DatebookHikariCP\n      maximum-pool-size: 5\n      #Redis配置，默认底层的Redis连接池为lettuce\n  redis:\n    host: 127.0.0.1\n    port: 6379\n    password: #你的redis密码，如果没有可以不设置\n    timeout: 1000\n    lettuce:\n      pool:\n      # 最大可用连接数（默认为8，负数表示无限）\n       max-active: 8\n      # 最大空闲连接数（默认为8，负数表示无限）\n       max-idle: 8\n      # 最小空闲连接数（默认为0，该值只有为正数才有作用）\n       min-idle: 0\n      # 从连接池中获取连接最大等待时间（默认为-1，单位为毫秒，负数表示无限）\n       max-wait: 1000\n  thymeleaf:\n    #开启模板缓存\n    cache: false\n    #检查模板是否存在再呈现\n    check-template: false\n    #检查模板位置是否正确\n    check-template-location: true\n    #Content-Type 的值（默认值： text/html ）\n    servlet.content-type: text/html\n    # 开启 MVC Thymeleaf 视图解析（默认值： true ）\n    enabled: true\n    # 模板编码\n    encoding: UTF-8\n    # 要运⽤于模板之上的模板模式。另⻅ StandardTemplate-ModeHandlers( 默认值： HTML5)\n    mode: HTML\n    # 在构建 URL 时添加到视图名称前的前缀（默认值： classpath:/templates/ ）\n    prefix: classpath:/templates/\n    # 在构建 URL 时添加到视图名称后的后缀（默认值： .html ）\n    suffix: .html\n  devtools:\n    restart:\n      enabled: true\n      additional-paths: src/main/java\n\n#日志输出\nlogging:\n  level:\n    root: info\n    com.blog: debug\n  file:\n    path: logs\n#Mybatis\nmybatis:\n  #设置别名\n  type-aliases-package: com.blog.entity\n  #ָ指定myBatis的核心配置文件与Mapper映射文件\n  mapper-locations: classpath:mapper/*.xml\n  #驼峰命名\n  configuration:\n    map-underscore-to-camel-case: true\n#分页插件\npagehelper:\n  helper-dialect: mysql\n  reasonable: true\n  support-methods-arguments: true\n\n# AI 配置（可选）\nai:\n  api:\n    key: ${AI_API_KEY:}\n    url: ${AI_API_URL:https://api.openai.com/v1/chat/completions}\n  model: ${AI_MODEL:gpt-3.5-turbo}\n"
  },
  {
    "path": "src/main/resources/application-pro.yml",
    "content": "#生产环境\nspring:\n  datasource:\n    #hikari连接池,号称最快的连接池\n    type: com.zaxxer.hikari.HikariDataSource\n    url: jdbc:mysql://127.0.0.1:3306/blog?useUnicode=true&characterEncoding=UTF-8&useSSL=true&serverTimezone=Asia/Shanghai\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    username: root\n    password: root\n    hikari:\n      auto-commit: true\n      minimum-idle: 2\n      idle-timeout: 60000\n      connection-timeout: 30000\n      max-lifetime: 1800000\n      pool-name: DatebookHikariCP\n      maximum-pool-size: 5\n  thymeleaf:\n    #开启模板缓存\n    cache: true\n    #检查模板是否存在再呈现\n    check-template: true\n    #检查模板位置是否正确\n    check-template-location: true\n    #Content-Type 的值（默认值： text/html ）\n    servlet.content-type: text/html\n    # 开启 MVC Thymeleaf 视图解析（默认值： true ）\n    enabled: true\n    # 模板编码\n    encoding: UTF-8\n    # 要运⽤于模板之上的模板模式。另⻅ StandardTemplate-ModeHandlers( 默认值： HTML5)\n    mode: HTML\n    # 在构建 URL 时添加到视图名称前的前缀（默认值： classpath:/templates/ ）\n    prefix: classpath:/templates/\n    # 在构建 URL 时添加到视图名称后的后缀（默认值： .html ）\n    suffix: .html\n#日志输出\nlogging:\n  level:\n    root: warn\n    com.blog: info\n  file:\n    path: logs\n#Mybatis\nmybatis:\n  #设置别名\n  type-aliases-package: com.blog.entity\n  #ָ指定myBatis的核心配置文件与Mapper映射文件\n  mapper-locations: classpath:mapper/*.xml\n  #驼峰命名\n  configuration:\n    map-underscore-to-camel-case: true\n#分页插件\npagehelper:\n  helper-dialect: mysql\n  reasonable: true\n  support-methods-arguments: true\n\n"
  },
  {
    "path": "src/main/resources/application.yml",
    "content": "spring:            #全局配置\n  thymeleaf:\n    cache: true\n  profiles:\n    active: dev\n  devtools:\n    restart:\n      enabled: true\n      additional-paths: src/main/java\n#gzip压缩\nserver:\n  tomcat:\n    remote-ip-header: x-forwarded-for\n    protocol-header: x-forwarded-proto\n    port-header: X-Forwarded-Port\n    use-forward-headers: true\n  compression:\n    enabled: true\n    mime-types: application/json,application/xml,text/html,text/xml,text/plain\n  port: 8080\n\n\n"
  },
  {
    "path": "src/main/resources/mapper/BlogDao.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper\n        PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n        \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n<mapper namespace=\"com.blog.dao.BlogDao\">\n\n    <resultMap id=\"blog\" type=\"Blog\">\n        <id property=\"id\" column=\"id\"/>\n        <result property=\"title\" column=\"title\"/>\n        <result property=\"content\" column=\"content\"/>\n        <result property=\"flag\" column=\"flag\"/>\n        <result property=\"views\" column=\"views\"/>\n        <result property=\"updateTime\" column=\"update_time\"/>\n        <result property=\"typeId\" column=\"type_id\"/>\n        <result property=\"firstPicture\" column=\"first_picture\"/>\n        <result property=\"shareStatement\" column=\"share_statement\"/>\n        <result property=\"published\" column=\"published\"/>\n        <result property=\"appreciation\" column=\"appreciation\"/>\n        <result property=\"commentable\" column=\"commentable\"/>\n        <result property=\"description\" column=\"description\"/>\n        <result property=\"recommend\" column=\"recommend\"/>\n        <result property=\"createTime\" column=\"create_time\"/>\n        <result property=\"typeId\" column=\"type_id\"/>\n        <result property=\"userId\" column=\"user_id\"/>\n        <result property=\"tagIds\" column=\"tag_ids\"/>\n        <association property=\"type\" javaType=\"Type\">\n            <id property=\"id\" column=\"typeId\"/>\n            <result property=\"name\" column=\"typeName\"/>\n        </association>\n        <association property=\"user\" javaType=\"User\">\n            <id property=\"id\" column=\"uid\"/>\n            <result property=\"nickname\" column=\"nickname\"/>\n            <result property=\"username\" column=\"username\"/>\n            <result property=\"email\" column=\"email\"/>\n            <result property=\"avatar\" column=\"avatar\"/>\n        </association>\n        <collection property=\"tags\" ofType=\"Tag\">\n            <id property=\"id\" column=\"tagId\"/>\n            <result property=\"name\" column=\"tagName\"/>\n        </collection>\n    </resultMap>\n    <!--后台文章删除-->\n    <delete id=\"deleteBlog\">\n        delete from t_blog where id = #{id}\n    </delete>\n\n    <!--主页最新文章显示-->\n    <select id=\"getIndexBlog\" resultMap=\"blog\">\n        select b.id, b.title, b.first_picture,b.flag, b.views, b.update_time, b.description,\n        t.name typeName, t.id typeId,\n        u.nickname,u.avatar\n        from t_blog b, t_type t, t_user u\n        where b.type_id = t.id and  u.id = b.user_id order by b.update_time desc\n    </select>\n\n    <!--后台列表文章显示-->\n    <select id=\"getAllBlog\" resultMap=\"blog\">\n        select b.id, b.title, b.update_time, b.recommend, b.type_id, b.published,\n               t.id typeId, t.name typeName\n        from t_blog b, t_type t\n        where b.type_id = t.id order by b.update_time desc\n    </select>\n\n    <!--获取所有已发布博客-->\n    <select id=\"getAllPublishedBlogs\" resultMap=\"blog\">\n        select b.id, b.title, b.update_time, b.type_id, b.tag_ids, b.description,\n               t.id typeId, t.name typeName\n        from t_blog b\n        left join t_type t on b.type_id = t.id\n        where b.published = 1\n        order by b.update_time desc\n    </select>\n\n    <!--得到分类文章-->\n    <select id=\"getByTypeId\" resultMap=\"blog\">\n        select b.id, b.title, b.first_picture, b.views, b.update_time, b.description,\n        t.name typeName, t.id typeId,\n        u.nickname,u.avatar\n        from t_blog b, t_type t, t_user u\n        where b.type_id = t.id and u.id = b.user_id and b.type_id = #{typeId} order by b.update_time desc\n    </select>\n\n    <!--根据标签得到文章-->\n    <select id=\"getByTagId\" resultMap=\"blog\">\n        select b.id, b.title, b.first_picture, b.views, b.update_time, b.description,\n        t.name typeName, t.id typeId,\n        t1.name tagName, t1.id tagId,\n        u.nickname,u.avatar\n        from t_blog b, t_type t, t_user u, t_blog_tags tb, t_tag t1\n        where b.type_id = t.id and u.id = b.user_id and tb.blog_id = b.id and tb.tag_id = t1.id and t1.id = #{tagId}\n        order by b.update_time desc\n    </select>\n\n    <!--热点文章-->\n    <select id=\"getHotBlog\" resultMap=\"blog\">\n        select id, title ,first_picture , description ,views from t_blog order by views desc limit 0,4\n    </select>\n\n    <!--前台推荐文章-->\n    <select id=\"getAllRecommendBlog\" resultMap=\"blog\">\n        select id, title, recommend ,first_picture ,views from t_blog order by update_time desc limit 0,3\n    </select>\n\n    <!--后台得到文章-->\n    <select id=\"getBlog\" resultMap=\"blog\">\n        select b.id, b.published, b.flag, b.title, b.content, b.type_id,\n         b.tag_ids, b.first_picture, b.description, b.recommend,\n         b.share_statement, b.appreciation, b.commentable\n        from t_blog b  where  b.id = #{id} ;\n    </select>\n\n    <!--文章详情页面-->\n    <select id=\"getDetailedBlog\" resultMap=\"blog\">\n        select b.id, b.first_picture, b.flag, b.title, b.content, b.views,\n        b.update_time,b.commentable, b.share_statement, b.appreciation,b.description,\n        u.nickname,u.avatar,\n        tag.id tagid, tag.name tagname\n        from t_blog b, t_user u, t_tag tag, t_blog_tags tb\n        where b.user_id = u.id and tb.blog_id = b.id and tb.tag_id = tag.id and  b.id = #{id}\n    </select>\n\n    <!--文章搜索-->\n    <select id=\"getSearchBlog\" resultMap=\"blog\">\n        <bind name=\"pattern\" value=\"'%' + query + '%'\" />\n        select b.id, b.title, b.first_picture, b.views, b.update_time, b.description,\n        t.name typename,\n        u.nickname, u.avatar\n        from t_blog b, t_type t, t_user u\n        where b.type_id = t.id and  u.id = b.user_id and (b.title like #{pattern} or b.content like  #{pattern})\n        order by b.update_time desc\n    </select>\n\n    <select id=\"searchAllBlog\" parameterType=\"Blog\" resultMap=\"blog\">\n        <bind name=\"pattern\" value=\"'%' + title + '%'\" />    /*模糊查询*/\n        select b.id, b.title, b.update_time, b.recommend, b.published, b.type_id, t.id, t.name\n        from t_blog b ,t_type t\n        <where>\n            <if test=\"1 == 1\">\n                b.type_id = t.id    /*博客类型id=类型id*/\n            </if>\n            <if test=\"typeId != null\">\n                and b.type_id = #{typeId}       /*根据博客类型查询*/\n            </if>\n            <if test=\"recommend != null\">\n                and b.recommend = #{recommend}   /*根据博客推荐查询*/\n            </if>\n            <if test=\"title != null\">\n                and b.title like #{pattern}   /*根据博客title模糊查询*/\n            </if>\n        </where>\n    </select>\n\n    <update id=\"updateBlog\" parameterType=\"Blog\">\n        update t_blog set published = #{published},flag = #{flag} ,\n        title = #{title}, content = #{content}, type_id = #{typeId}, tag_ids = #{tagIds},\n        first_picture = #{firstPicture} , description = #{description} , recommend = #{recommend} ,\n        share_statement = #{shareStatement}, appreciation = #{appreciation},\n        commentable = #{commentable} ,update_time = #{updateTime} where id = #{id};\n    </update>\n\n    <!--useGeneratedKeys=\"true\"；使用自增主键获取主键值策略\n        keyProperty；指定对应的主键属性，也就是mybatis获取到主键值以后，将这个值封装给javaBean的哪个属性\n    -->\n    <insert id=\"saveBlog\" parameterType=\"Blog\" useGeneratedKeys=\"true\" keyProperty=\"id\">\n        insert into t_blog (title, content, first_picture, flag,\n        views, appreciation, share_statement, commentable,published,\n        recommend, create_time, update_time, type_id, tag_ids, user_id, description)\n        values (#{title}, #{content}, #{firstPicture}, #{flag}, #{views}, #{appreciation},\n        #{shareStatement}, #{commentable}, #{published}, #{recommend}, #{createTime},\n        #{updateTime}, #{typeId}, #{tagIds}, #{userId}, #{description});\n    </insert>\n\n    <insert id=\"saveBlogAndTag\" parameterType=\"BlogAndTag\">\n        insert into t_blog_tags (tag_id, blog_id) values (#{tagId},#{blogId});\n    </insert>\n\n    <delete id=\"deleteBlogAndTagByBlogId\">\n        delete from t_blog_tags where blog_id = #{blogId}\n    </delete>\n\n\n    <select id=\"findGroupYear\" resultType=\"String\">\n        select DATE_FORMAT(b.update_time, '%Y') from t_blog b order by b.update_time desc\n    </select>\n\n    <select id=\"findByYear\" resultMap=\"blog\">\n        select b.title, b.update_time, b.id, b.flag\n        from t_blog b\n        where DATE_FORMAT(b.update_time, \"%Y\") = #{year}\n    </select>\n    <select id=\"getCount\" resultType=\"java.lang.Integer\">\n        select count(id) from t_blog;\n    </select>\n    <select id=\"getViews\" resultType=\"java.lang.Integer\">\n        select sum(views) from t_blog;\n    </select>\n    <select id=\"getAvgViews\" resultType=\"java.lang.Integer\">\n        select avg(views) from t_blog;\n    </select>\n\n    <!--原子性增加浏览量（线程安全）-->\n    <update id=\"incrementViews\">\n        UPDATE t_blog SET views = views + 1 WHERE id = #{id}\n    </update>\n\n    <!--批量增加浏览量-->\n    <update id=\"addViews\">\n        UPDATE t_blog SET views = views + #{increment} WHERE id = #{id}\n    </update>\n\n\n\n\n\n\n</mapper>"
  },
  {
    "path": "src/main/resources/mapper/FriendLinkDao.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\" >\n<mapper namespace=\"com.blog.dao.FriendLinkDao\">\n\n    <!--查询所有友链-->\n    <select id=\"listFriendLink\" resultType=\"com.blog.entity.FriendLink\">\n        select * from t_friend order by t_friend.create_time desc\n    </select>\n\n    <!--添加友链-->\n    <insert id=\"saveFriendLink\" parameterType=\"com.blog.entity.FriendLink\">\n        insert into t_friend (blog_name,blog_address,picture_address,create_time)\n        values (#{blogName},#{blogAddress},#{pictureAddress},#{createTime})\n    </insert>\n\n    <!--根据id查询友链-->\n    <select id=\"getFriendLink\" resultType=\"com.blog.entity.FriendLink\">\n        select * from t_friend f where f.id = #{id}\n    </select>\n\n    <!--根据网址查询友链-->\n    <select id=\"getFriendLinkByBlogAddress\" resultType=\"com.blog.entity.FriendLink\">\n        select * from t_friend f where f.blog_address = #{blogAddress}\n    </select>\n    <select id=\"getCount\" resultType=\"java.lang.Integer\">\n        select count(id) from t_friend;\n    </select>\n\n    <!--编辑修改友链-->\n    <update id=\"updateFriendLink\" parameterType=\"com.blog.entity.FriendLink\">\n        update t_friend set blog_name = #{blogName}, blog_address = #{blogAddress}, picture_address = #{pictureAddress} where id = #{id};\n    </update>\n\n    <!--删除友链-->\n    <delete id=\"deleteFriendLink\" >\n        delete from t_friend where id = #{id}\n    </delete>\n\n</mapper>\n"
  },
  {
    "path": "src/main/resources/mapper/MessageDao.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\" >\n<mapper namespace=\"com.blog.dao.MessageDao\">\n\n    <!--添加留言-->\n    <insert id=\"saveMessage\" parameterType=\"com.blog.entity.Message\">\n        insert into t_message (nickname,email,content,avatar,create_time,parent_message_id,admin_message)\n        values (#{nickname},#{email},#{content},#{avatar},#{createTime},#{parentMessageId},#{adminMessage});\n    </insert>\n\n    <!--查询父级留言-->\n    <select id=\"findByParentIdNull\" resultType=\"com.blog.entity.Message\">\n        select *\n        from t_message c\n        where c.parent_message_id = #{ParentId}\n        order by c.create_time desc\n    </select>\n\n    <!--查询一级回复-->\n    <select id=\"findByParentIdNotNull\" resultType=\"com.blog.entity.Message\">\n        select *\n        from t_message c\n        where c.parent_message_id = #{id}\n        order by c.create_time desc\n    </select>\n\n    <!--首页推荐评论-->\n    <select id=\"findByIndexParentId\" resultType=\"com.blog.entity.Message\">\n        select *\n        from t_message c\n        where c.parent_message_id = #{id}\n        order by c.create_time desc limit 0,3\n    </select>\n\n    <!--查询二级以及所有子集回复-->\n    <select id=\"findByReplayId\" resultType=\"com.blog.entity.Message\">\n        select *\n        from t_message c\n        where c.parent_message_id = #{childId}\n        order by c.create_time desc\n    </select>\n    <select id=\"getCount\" resultType=\"java.lang.Integer\">\n        select count(id) from t_message;\n    </select>\n\n    <!--删除留言-->\n    <delete id=\"deleteMessage\" >\n        delete from t_message where id = #{id}\n    </delete>\n\n\n</mapper>\n"
  },
  {
    "path": "src/main/resources/mapper/TagDao.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper\n        PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n        \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n<mapper namespace=\"com.blog.dao.TagDao\">\n\n\n    <select id=\"getTag\" resultType=\"Tag\">\n        select id,name from t_tag where id = #{id}\n    </select>\n\n    <insert id=\"saveTag\" parameterType=\"Tag\">\n        insert into t_tag values (#{id},#{name});\n    </insert>\n\n    <!--两个id可能会相冲，取别名即可-->\n    <resultMap id=\"tags\" type=\"Tag\">\n        <id property=\"id\" column=\"tid\"/>\n        <result property=\"name\" column=\"name\"/>\n        <collection property=\"blogs\" ofType=\"Blog\">\n            <id property=\"id\" column=\"bid\"/>\n            <result property=\"title\" column=\"title\"/>\n        </collection>\n    </resultMap>\n\n    <select id=\"getAllTag\" resultType=\"Tag\">\n        select * from t_tag\n    </select>\n\n    <select id=\"getBlogTag\" resultMap=\"tags\">\n        select t.id tid, t.name, b.id bid, b.title\n        from t_tag t, t_blog b, t_blog_tags bt\n        where t.id = bt.tag_id and b.id = bt.blog_id\n    </select>\n\n    <select id=\"getTagByName\" resultType=\"Tag\">\n        select * from t_tag where name = #{name}\n    </select>\n    <select id=\"getCount\" resultType=\"java.lang.Integer\">\n        select count(id) from t_tag;\n    </select>\n\n    <delete id=\"deleteTag\">\n        delete from t_tag where id = #{id}\n    </delete>\n\n    <update id=\"updateTag\" parameterType=\"Tag\">\n        update t_tag set name = #{name} where id = #{id};\n    </update>\n\n</mapper>"
  },
  {
    "path": "src/main/resources/mapper/TypeDao.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper\n        PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n        \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n<mapper namespace=\"com.blog.dao.TypeDao\">\n\n\n    <select id=\"getType\" resultType=\"Type\">\n        select id,name from t_type where id = #{id}\n    </select>\n\n    <insert id=\"saveType\" parameterType=\"Type\">\n        insert into t_type values (#{id},#{name});\n    </insert>\n\n    <!--两个id可能会相冲，取别名即可-->\n    <resultMap id=\"type\" type=\"Type\">\n        <id property=\"id\" column=\"tid\"/>\n        <result property=\"name\" column=\"name\"/>\n        <collection property=\"blogs\" ofType=\"Blog\">\n            <id property=\"id\" column=\"bid\"/>\n            <result property=\"title\" column=\"title\"/>\n            <result property=\"typeId\" column=\"type_id\"/>\n        </collection>\n    </resultMap>\n\n    <select id=\"getBlogType\" resultMap=\"type\">\n        select t.id tid, t.name, b.id bid, b.title, b.type_id\n        from t_type t, t_blog b\n        where t.id = b.type_id\n    </select>\n\n\n    <select id=\"getAllType\" resultType=\"Type\">\n        select * from t_type\n    </select>\n\n    <select id=\"getTypeByName\" resultType=\"Type\">\n        select * from t_type where name = #{name}\n    </select>\n    <select id=\"getCount\" resultType=\"java.lang.Integer\">\n        select count(id) from t_type;\n    </select>\n\n    <delete id=\"deleteType\" >\n        delete from t_type where id = #{id}\n    </delete>\n\n    <update id=\"updateType\" parameterType=\"Type\">\n        update t_type set name = #{name} where id = #{id};\n    </update>\n\n</mapper>"
  },
  {
    "path": "src/main/resources/mapper/UserDao.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper\n        PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n        \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n<mapper namespace=\"com.blog.dao.UserDao\">\n\n    <update id=\"updateUser\">\n        update t_user set username = #{username} , nickname = #{nickname} , password = #{password} , email = #{email} where id = #{id};\n    </update>\n\n    <delete id=\"deleteUser\">\n        delete from t_user where id = #{id}\n    </delete>\n\n    <insert id=\"saveUser\" parameterType=\"Tag\">\n        insert into t_user values (#{id}, #{username}, #{password}, #{nickname}, #{email}, #{avatar});\n    </insert>\n\n    <select id=\"queryByUsernameAndPassword\" resultType=\"User\">\n        select * from t_user\n        where username = #{username} and password = #{password};\n    </select>\n\n    <select id=\"queryByUsername\" resultType=\"User\">\n        select * from t_user where username = #{username}\n    </select>\n\n    <select id=\"getUserInfoById\" resultType=\"com.blog.entity.User\">\n        select nickname, username, id , email from t_user where id = #{id}\n    </select>\n\n    <select id=\"getAllUser\" resultType=\"com.blog.entity.User\">\n        select id, username, nickname, email, avatar from t_user\n    </select>\n\n    <select id=\"getUserInfoByUsername\" resultType=\"java.lang.Integer\">\n        select count(username) from t_user where username = #{username}\n    </select>\n\n    <select id=\"getCount\" resultType=\"java.lang.Integer\">\n        select count(id) from t_user;\n    </select>\n\n</mapper>"
  },
  {
    "path": "src/main/resources/messages.properties",
    "content": "web_Name=\\u6587\\u82E5\\u541B\nweb_IndexName=\\u81F4\\u529B\\u4E8E\\u5206\\u4EAB\\u540E\\u7AEF\\u6280\\u672F\\u548C\\u8BB0\\u5F55\\u7684\\u535A\\u5BA2--\\u6587\\u82E5\\u541B\nweb_Keywords=Java\\u535A\\u5BA2,\\u6280\\u672F\\u535A\\u5BA2,Java\\u540E\\u7AEF,Java\\u5F00\\u53D1\nweb_Description=\\u6587\\u82E5\\u541B\\u81F4\\u529B\\u4E8E\\u5206\\u4EAB\\u7F16\\u7A0B\\u6280\\u672F\\u3001\\u6570\\u636E\\u7ED3\\u6784\\u4E0E\\u7B97\\u6CD5\\u3001\\u8BA1\\u7B97\\u673A\\u57FA\\u7840\\u4E0E\\u4E2D\\u95F4\\u4EF6\\u7684\\u77E5\\u8BC6\\uFF0C\\u5305\\u62ECJava,Spring\\u6846\\u67B6,MySQL,Mybatis,Redis\\u7B49\\u77E5\\u8BC6\\uFF0C\\u8BB0\\u5F55\\u4E00\\u4E2A\\u7A0B\\u5E8F\\u5458\\u7684\\u6210\\u957F\\u3002\nweb_Ico=/images/favicon.ico\nweb_Github=https://github.com/laowenruo\nweb_Csdn=https://blog.csdn.net/Ryan_wenruo\nweb_Bilibili=https://space.bilibili.com/45854074\nweb_Wechat=/images/aboutMe/contactOfWeChat.png\nweb_QQ=/images/aboutMe/contactOfQQ.png\nweb_Logo=/images/logo.png\nweb_Background=/images//background/background5.jpg\nweb_Home=/images/aboutMe/home.jpg\nweb_GeYan=/images/geyan.jpg\ndefault_avatar=https://t1.picb.cc/uploads/2021/03/23/ZboxAv.png\nmessage_Background=https://t1.picb.cc/uploads/2021/03/23/ZboRwD.jpg\nabout_Background=https://t1.picb.cc/uploads/2021/03/23/ZboTFi.jpg\nfriend_Background=https://t1.picb.cc/uploads/2021/03/23/ZboU4W.jpg\nsearch_Background=https://t1.picb.cc/uploads/2021/03/23/ZboU4W.jpg\ntags_Background=https://t1.picb.cc/uploads/2021/03/23/ZboU4W.jpg\ntime_Background=https://t1.picb.cc/uploads/2021/03/23/ZboRwD.jpg\ntypes_Background=https://t1.picb.cc/uploads/2021/03/23/ZboRwD.jpg\nvaline_AppID=xxxx\nvaline_AppKey=xxxxx\nwx_Webhook=https://xxx.com"
  },
  {
    "path": "src/main/resources/static/backend/css/style.css",
    "content": "@import url(\"./../icons/simple-line-icons/css/simple-line-icons.css\");@import url(\"./../icons/font-awesome/css/font-awesome.min.css\");@import url(\"./../icons/material-design-iconic-font/css/materialdesignicons.min.css\");@import url(\"./../icons/themify-icons/css/themify-icons.css\");@import url(\"./../icons/line-awesome/css/line-awesome.min.css\");@import url(\"./../icons/avasta/css/style.css\");@import url(\"./../icons/flaticon/flaticon.css\");@import url(\"./../icons/flaticon_1/flaticon_1.css\");@import url(\"./../icons/icomoon/icomoon.css\");@import url(\"./../icons/bootstrap-icons/font/bootstrap-icons.css\");@import url(./../vendor/animate/animate.min.css);@import url(./../vendor/aos/css/aos.min.css);@import url(./../vendor/perfect-scrollbar/css/perfect-scrollbar.css);@import url(./../vendor/metismenu/css/metisMenu.min.css);.gradient_one{background-image:linear-gradient(90deg,rgba(186,1,181,.85) 0,rgba(103,25,255,.85))}.gradient-1{background:#f0a907;background:-moz-linear-gradient(top,#f0a907 0,#f53c79 100%);background:-webkit-linear-gradient(top,#f0a907,#f53c79);background:linear-gradient(180deg,#f0a907 0,#f53c79)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#f0a907\",endColorstr=\"#f53c79\",GradientType=0)}.gradient-2{background:#4dedf5;background:-moz-linear-gradient(top,#4dedf5 0,#480ceb 100%);background:-webkit-linear-gradient(top,#4dedf5,#480ceb);background:linear-gradient(180deg,#4dedf5 0,#480ceb)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#4dedf5\",endColorstr=\"#480ceb\",GradientType=0)}.gradient-3{background:#51f5ae;background:-moz-linear-gradient(top,#51f5ae 0,#3fbcda 100%);background:-webkit-linear-gradient(top,#51f5ae,#3fbcda);background:linear-gradient(180deg,#51f5ae 0,#3fbcda)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#51f5ae\",endColorstr=\"#3fbcda\",GradientType=0)}.gradient-4{background:#f25521;background:-moz-linear-gradient(left,#f25521 0,#f9c70a 100%);background:-webkit-linear-gradient(left,#f25521,#f9c70a);background:linear-gradient(90deg,#f25521 0,#f9c70a);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#f25521\",endColorstr=\"#f9c70a\",GradientType=1)}.gradient-5{background:#f53c79;background:-moz-linear-gradient(left,#f53c79 0,#f0a907 100%);background:-webkit-linear-gradient(left,#f53c79,#f0a907);background:linear-gradient(90deg,#f53c79 0,#f0a907)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#f53c79\",endColorstr=\"#f0a907\",GradientType=1)}.gradient-6{background:#36b9d8;background:-moz-linear-gradient(left,#36b9d8 0,#4bffa2 100%);background:-webkit-linear-gradient(left,#36b9d8,#4bffa2);background:linear-gradient(90deg,#36b9d8 0,#4bffa2)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#36b9d8\",endColorstr=\"#4bffa2\",GradientType=1)}.gradient-7{background:#4400eb;background:-moz-linear-gradient(left,#4400eb 0,#44e7f5 100%);background:-webkit-linear-gradient(left,#4400eb,#44e7f5);background:linear-gradient(90deg,#4400eb 0,#44e7f5)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#4400eb\",endColorstr=\"#44e7f5\",GradientType=1)}.gradient-8{background:#f7b00f;background:-moz-linear-gradient(top,#f7b00f 0,#f25521 100%);background:-webkit-linear-gradient(top,#f7b00f,#f25521);background:linear-gradient(180deg,#f7b00f 0,#f25521);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#F7B00F\",endColorstr=\"#F25521\",GradientType=1)}.datepicker.datepicker-dropdown td.day:hover,.datepicker.datepicker-dropdown th.next:hover,.datepicker.datepicker-dropdown th.prev:hover,.datepicker table tr td.active,.datepicker table tr td.selected,.datepicker table tr td.today,.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today:hover,.gradient-9{background:#f31e7a!important;background:-moz-linear-gradient(left,#f31e7a 0,#fd712c 100%);background:-webkit-linear-gradient(left,#f31e7a,#fd712c);background:linear-gradient(90deg,#f31e7a 0,#fd712c)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#f31e7a\",endColorstr=\"#fd712c\",GradientType=1)}.gradient-10{background:#f25521!important;background:-moz-linear-gradient(left,#f25521 0,#f9c70a 100%);background:-webkit-linear-gradient(left,#f25521,#f9c70a);background:linear-gradient(0deg,#f25521 0,#f9c70a)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#f25521\",endColorstr=\"#f9c70a\",GradientType=1)}.gradient-11{background:#3398fb;background:-moz-linear-gradient(left,#3398fb 0,#8553ee 100%);background:-webkit-linear-gradient(left,#3398fb,#8553ee);background:linear-gradient(90deg,#3398fb 0,#8553ee);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#3398fb\",endColorstr=\"#8553ee\",GradientType=1)}.gradient-12{background:#36e1b4;background:-moz-linear-gradient(left,#36e1b4 0,#11cae7 100%);background:-webkit-linear-gradient(left,#36e1b4,#11cae7);background:linear-gradient(90deg,#36e1b4 0,#11cae7);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#36e1b4\",endColorstr=\"#11cae7\",GradientType=1)}.gradient-13{background:#ffbf31;background:-moz-linear-gradient(left,#ffbf31 0,#ff890e 100%);background:-webkit-linear-gradient(left,#ffbf31,#ff890e);background:linear-gradient(90deg,#ffbf31 0,#ff890e);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ffbf31\",endColorstr=\"#ff890e\",GradientType=1)}.gradient-14{background:#23bdb8;background:-moz-linear-gradient(-45deg,#23bdb8 0,#43e794 100%);background:-webkit-linear-gradient(-45deg,#23bdb8,#43e794);background:linear-gradient(135deg,#23bdb8,#43e794);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#23bdb8\",endColorstr=\"#43e794\",GradientType=1)}.gradient-15{background:#9a56ff;background:-moz-linear-gradient(-45deg,#9a56ff 0,#e36cd9 100%);background:-webkit-linear-gradient(-45deg,#9a56ff,#e36cd9);background:linear-gradient(135deg,#9a56ff,#e36cd9);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#9a56ff\",endColorstr=\"#e36cd9\",GradientType=1)}.gradient-16{background:#f48665;background:-moz-linear-gradient(-45deg,#f48665 0,#fda23f 100%);background:-webkit-linear-gradient(-45deg,#f48665,#fda23f);background:linear-gradient(135deg,#f48665,#fda23f);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#f48665\",endColorstr=\"#fda23f\",GradientType=1)}.gradient-17{background:#e36cd9;background:-moz-linear-gradient(-45deg,#e36cd9 0,#fe60ae 100%);background:-webkit-linear-gradient(-45deg,#e36cd9,#fe60ae);background:linear-gradient(135deg,#e36cd9,#fe60ae);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#e36cd9\",endColorstr=\"#fe60ae\",GradientType=1)}.gradient-18{background:#a15cff;background:-moz-linear-gradient(left,#a15cff 0,#ce82fd 100%);background:-webkit-linear-gradient(left,#a15cff,#ce82fd);background:linear-gradient(90deg,#a15cff 0,#ce82fd);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#a15cff\",endColorstr=\"#ce82fd\",GradientType=1)}\n/*!\n * Bootstrap v5.0.0-beta2 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */:root{--bs-blue:#5e72e4;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#e83e8c;--bs-red:#ee3232;--bs-orange:#f90;--bs-yellow:#fffa6f;--bs-green:#297f00;--bs-teal:#20c997;--bs-cyan:#3065d0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-primary:#2258bf;--bs-secondary:#627eea;--bs-success:#68e365;--bs-info:#b48dd3;--bs-warning:#ffa755;--bs-danger:#f72b50;--bs-light:#c8c8c8;--bs-dark:#6e6e6e;--bs-font-sans-serif:system-ui,-apple-system,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",\"Liberation Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--bs-gradient:linear-gradient(180deg,hsla(0,0%,100%,0.15),hsla(0,0%,100%,0))}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:Roboto,sans-serif;font-weight:400;line-height:1.5;color:#969ba0;background-color:#f6f6f6;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}[tabindex=\"-1\"]:focus:not(:focus-visible){outline:0!important}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:#000}.h1,h1{font-size:calc(1.35rem + 1.2vw)}@media (min-width:1200px){.h1,h1{font-size:2.25rem}}.h2,h2{font-size:calc(1.3125rem + .75vw)}@media (min-width:1200px){.h2,h2{font-size:1.875rem}}.h3,h3{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h3,h3{font-size:1.5rem}}.h4,h4{font-size:1.125rem}.h5,h5{font-size:1rem}.h6,h6{font-size:.938rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{text-decoration:underline;text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#2258bf;text-decoration:underline}a:hover{color:#1b4699}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#e83e8c;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#89879f;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border:0 solid;border-color:inherit}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.09375rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.09375rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:\"\\2014\\00A0\"}.img-fluid,.img-thumbnail{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#f6f6f6;border:1px solid #dee2e6;border-radius:.75rem}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{width:100%;padding-right:var(--bs-gutter-x,15px);padding-left:var(--bs-gutter-x,15px);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1440){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}.row{--bs-gutter-x:30px;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(var(--bs-gutter-y)*-1);margin-right:calc(var(--bs-gutter-x)/-2);margin-left:calc(var(--bs-gutter-x)/-2)}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x)/2);padding-left:calc(var(--bs-gutter-x)/2);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.3333333333%}.col-2{flex:0 0 auto;width:16.6666666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.3333333333%}.col-5{flex:0 0 auto;width:41.6666666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.3333333333%}.col-8{flex:0 0 auto;width:66.6666666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.3333333333%}.col-11{flex:0 0 auto;width:91.6666666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.3333333333%}.offset-2{margin-left:16.6666666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.3333333333%}.offset-5{margin-left:41.6666666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.3333333333%}.offset-8{margin-left:66.6666666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.3333333333%}.offset-11{margin-left:91.6666666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.3333333333%}.col-sm-2{flex:0 0 auto;width:16.6666666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.3333333333%}.col-sm-5{flex:0 0 auto;width:41.6666666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.3333333333%}.col-sm-8{flex:0 0 auto;width:66.6666666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.3333333333%}.col-sm-11{flex:0 0 auto;width:91.6666666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.3333333333%}.offset-sm-2{margin-left:16.6666666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.3333333333%}.offset-sm-5{margin-left:41.6666666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.3333333333%}.offset-sm-8{margin-left:66.6666666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.3333333333%}.offset-sm-11{margin-left:91.6666666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.3333333333%}.col-md-2{flex:0 0 auto;width:16.6666666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.3333333333%}.col-md-5{flex:0 0 auto;width:41.6666666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.3333333333%}.col-md-8{flex:0 0 auto;width:66.6666666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.3333333333%}.col-md-11{flex:0 0 auto;width:91.6666666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.3333333333%}.offset-md-2{margin-left:16.6666666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.3333333333%}.offset-md-5{margin-left:41.6666666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.3333333333%}.offset-md-8{margin-left:66.6666666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.3333333333%}.offset-md-11{margin-left:91.6666666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.3333333333%}.col-lg-2{flex:0 0 auto;width:16.6666666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.3333333333%}.col-lg-5{flex:0 0 auto;width:41.6666666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.3333333333%}.col-lg-8{flex:0 0 auto;width:66.6666666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.3333333333%}.col-lg-11{flex:0 0 auto;width:91.6666666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.3333333333%}.offset-lg-2{margin-left:16.6666666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.3333333333%}.offset-lg-5{margin-left:41.6666666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.3333333333%}.offset-lg-8{margin-left:66.6666666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.3333333333%}.offset-lg-11{margin-left:91.6666666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.3333333333%}.col-xl-2{flex:0 0 auto;width:16.6666666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.3333333333%}.col-xl-5{flex:0 0 auto;width:41.6666666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.3333333333%}.col-xl-8{flex:0 0 auto;width:66.6666666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.3333333333%}.col-xl-11{flex:0 0 auto;width:91.6666666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.3333333333%}.offset-xl-2{margin-left:16.6666666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.3333333333%}.offset-xl-5{margin-left:41.6666666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.3333333333%}.offset-xl-8{margin-left:66.6666666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.3333333333%}.offset-xl-11{margin-left:91.6666666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1440){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.3333333333%}.col-xxl-2{flex:0 0 auto;width:16.6666666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.3333333333%}.col-xxl-5{flex:0 0 auto;width:41.6666666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.3333333333%}.col-xxl-8{flex:0 0 auto;width:66.6666666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.3333333333%}.col-xxl-11{flex:0 0 auto;width:91.6666666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.3333333333%}.offset-xxl-2{margin-left:16.6666666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.3333333333%}.offset-xxl-5{margin-left:41.6666666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.3333333333%}.offset-xxl-8{margin-left:66.6666666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.3333333333%}.offset-xxl-11{margin-left:91.6666666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-bg:transparent;--bs-table-striped-color:#969ba0;--bs-table-striped-bg:rgba(0,0,0,0.05);--bs-table-active-color:#969ba0;--bs-table-active-bg:rgba(0,0,0,0.1);--bs-table-hover-color:#969ba0;--bs-table-hover-bg:rgba(0,0,0,0.075);width:100%;margin-bottom:1rem;color:#969ba0;vertical-align:top;border-color:#eee}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table>:not(:last-child)>:last-child>*{border-bottom-color:currentColor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-striped>tbody>tr:nth-of-type(odd){--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-bg:#d3def2;--bs-table-striped-bg:#c8d3e6;--bs-table-striped-color:#000;--bs-table-active-bg:#bec8da;--bs-table-active-color:#000;--bs-table-hover-bg:#c3cde0;--bs-table-hover-color:#000;color:#000;border-color:#bec8da}.table-secondary{--bs-table-bg:#e0e5fb;--bs-table-striped-bg:#d5daee;--bs-table-striped-color:#000;--bs-table-active-bg:#cacee2;--bs-table-active-color:#000;--bs-table-hover-bg:#cfd4e8;--bs-table-hover-color:#000;color:#000;border-color:#cacee2}.table-success{--bs-table-bg:#e1f9e0;--bs-table-striped-bg:#d6edd5;--bs-table-striped-color:#000;--bs-table-active-bg:#cbe0ca;--bs-table-active-color:#000;--bs-table-hover-bg:#d0e6cf;--bs-table-hover-color:#000;color:#000;border-color:#cbe0ca}.table-info{--bs-table-bg:#f0e8f6;--bs-table-striped-bg:#e4dcea;--bs-table-striped-color:#000;--bs-table-active-bg:#d8d1dd;--bs-table-active-color:#000;--bs-table-hover-bg:#ded7e4;--bs-table-hover-color:#000;color:#000;border-color:#d8d1dd}.table-warning{--bs-table-bg:#ffeddd;--bs-table-striped-bg:#f2e1d2;--bs-table-striped-color:#000;--bs-table-active-bg:#e6d5c7;--bs-table-active-color:#000;--bs-table-hover-bg:#ecdbcc;--bs-table-hover-color:#000;color:#000;border-color:#e6d5c7}.table-danger{--bs-table-bg:#fdd5dc;--bs-table-striped-bg:#f0cad1;--bs-table-striped-color:#000;--bs-table-active-bg:#e4c0c6;--bs-table-active-color:#000;--bs-table-hover-bg:#eac5cc;--bs-table-hover-color:#000;color:#000;border-color:#e4c0c6}.table-light{--bs-table-bg:#c8c8c8;--bs-table-striped-bg:#bebebe;--bs-table-striped-color:#000;--bs-table-active-bg:#b4b4b4;--bs-table-active-color:#000;--bs-table-hover-bg:#b9b9b9;--bs-table-hover-color:#000;color:#000;border-color:#b4b4b4}.table-dark{--bs-table-bg:#6e6e6e;--bs-table-striped-bg:#757575;--bs-table-striped-color:#fff;--bs-table-active-bg:#7d7d7d;--bs-table-active-color:#000;--bs-table-hover-bg:#797979;--bs-table-hover-color:#000;color:#fff;border-color:#7d7d7d}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1439.98){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.09375rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.765625rem}.form-text{margin-top:.25rem;font-size:.875em;color:#89879f}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:.875rem;font-weight:400;line-height:1.5;color:#969ba0;background-color:#fff;background-clip:padding-box;appearance:none;border-radius:.75rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#969ba0;background-color:#fff;border-color:#91acdf;outline:0;box-shadow:0 0 0 .25rem rgba(34,88,191,.25)}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:#969ba0;background-color:#e9ecef;pointer-events:none;border:0 solid;border-color:inherit;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:#969ba0;background-color:#e9ecef;pointer-events:none;border:0 solid;border-color:inherit;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#969ba0;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.765625rem;border-radius:.2rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.09375rem;border-radius:.3rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{max-width:3rem;height:auto;padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{height:1.5em;border-radius:.75rem}.form-control-color::-webkit-color-swatch{height:1.5em;border-radius:.75rem}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:.875rem;font-weight:400;line-height:1.5;color:#969ba0;background-color:#fff;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #f5f5f5;border-radius:.75rem;appearance:none}.form-select:focus{border-color:#91acdf;outline:0;box-shadow:0 0 0 .25rem rgba(34,88,191,.25)}.form-select[multiple],.form-select[size]:not([size=\"1\"]){padding-right:.75rem;background-image:none}.form-select:disabled{color:#6c757d;background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #969ba0}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.765625rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.09375rem}.form-check{display:block;min-height:1.3125rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:50%;background-size:contain;border:1px solid rgba(0,0,0,.25);appearance:none;color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#91acdf;outline:0;box-shadow:0 0 0 .25rem rgba(34,88,191,.25)}.form-check-input:checked{background-color:#2258bf;border-color:#2258bf}.form-check-input:checked[type=checkbox]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3 6-6'/%3E%3C/svg%3E\")}.form-check-input:checked[type=radio]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='2' fill='%23fff'/%3E%3C/svg%3E\")}.form-check-input[type=checkbox]:indeterminate{background-color:#2258bf;border-color:#2258bf;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3E%3C/svg%3E\")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='rgba(0, 0, 0, 0.25)'/%3E%3C/svg%3E\");background-position:0;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%2391acdf'/%3E%3C/svg%3E\")}.form-switch .form-check-input:checked{background-position:100%;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E\")}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #f6f6f6,0 0 0 .25rem rgba(34,88,191,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #f6f6f6,0 0 0 .25rem rgba(34,88,191,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#2258bf;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#bdcdec}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#2258bf;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{transition:none}}.form-range::-moz-range-thumb:active{background-color:#bdcdec}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-select{height:calc(3.5rem + 2px);padding:1rem .75rem}.form-floating>label{position:absolute;top:0;left:0;height:100%;padding:1rem .75rem;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus{z-index:3}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:3}.input-group-text{align-items:center;padding:.375rem .75rem;font-size:.875rem;font-weight:400;line-height:1.5;color:#969ba0;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #f5f5f5;border-radius:.75rem}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.09375rem;border-radius:.3rem}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.765625rem;border-radius:.2rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#68e365}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.765625rem;color:#000;background-color:rgba(104,227,101,.9);border-radius:.75rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#68e365;padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%2368e365' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#68e365;box-shadow:0 0 0 .25rem rgba(104,227,101,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:#68e365;padding-right:4.125rem;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E\"),url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%2368e365' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E\");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:#68e365;box-shadow:0 0 0 .25rem rgba(104,227,101,.25)}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:#68e365}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:#68e365}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(104,227,101,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#68e365}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#f72b50}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.765625rem;color:#000;background-color:rgba(247,43,80,.9);border-radius:.75rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#f72b50;padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f72b50'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23f72b50' stroke='none'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#f72b50;box-shadow:0 0 0 .25rem rgba(247,43,80,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:#f72b50;padding-right:4.125rem;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E\"),url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f72b50'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23f72b50' stroke='none'/%3E%3C/svg%3E\");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:#f72b50;box-shadow:0 0 0 .25rem rgba(247,43,80,.25)}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:#f72b50}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:#f72b50}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(247,43,80,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#f72b50}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.btn{display:inline-block;line-height:1.5;color:#969ba0;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:.875rem;border-radius:.75rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#969ba0}.btn-check:focus+.btn,.btn:focus{outline:0;box-shadow:0 0 0 .25rem rgba(34,88,191,.25)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{pointer-events:none;opacity:.65}.btn-primary{color:#fff;background-color:#2258bf;border-color:#2258bf}.btn-check:focus+.btn-primary,.btn-primary:focus,.btn-primary:hover{color:#fff;background-color:#1d4ba2;border-color:#1b4699}.btn-check:focus+.btn-primary,.btn-primary:focus{box-shadow:0 0 0 .25rem rgba(67,113,201,.5)}.btn-check:active+.btn-primary,.btn-check:checked+.btn-primary,.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#1b4699;border-color:#1a428f}.btn-check:active+.btn-primary:focus,.btn-check:checked+.btn-primary:focus,.btn-primary.active:focus,.btn-primary:active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(67,113,201,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#2258bf;border-color:#2258bf}.btn-secondary{color:#000;background-color:#627eea;border-color:#627eea}.btn-check:focus+.btn-secondary,.btn-secondary:focus,.btn-secondary:hover{color:#000;background-color:#7a91ed;border-color:#728bec}.btn-check:focus+.btn-secondary,.btn-secondary:focus{box-shadow:0 0 0 .25rem rgba(83,107,199,.5)}.btn-check:active+.btn-secondary,.btn-check:checked+.btn-secondary,.btn-secondary.active,.btn-secondary:active,.show>.btn-secondary.dropdown-toggle{color:#000;background-color:#8198ee;border-color:#728bec}.btn-check:active+.btn-secondary:focus,.btn-check:checked+.btn-secondary:focus,.btn-secondary.active:focus,.btn-secondary:active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(83,107,199,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#000;background-color:#627eea;border-color:#627eea}.btn-success{color:#000;background-color:#68e365;border-color:#68e365}.btn-check:focus+.btn-success,.btn-success:focus,.btn-success:hover{color:#000;background-color:#7fe77c;border-color:#77e674}.btn-check:focus+.btn-success,.btn-success:focus{box-shadow:0 0 0 .25rem rgba(88,193,86,.5)}.btn-check:active+.btn-success,.btn-check:checked+.btn-success,.btn-success.active,.btn-success:active,.show>.btn-success.dropdown-toggle{color:#000;background-color:#86e984;border-color:#77e674}.btn-check:active+.btn-success:focus,.btn-check:checked+.btn-success:focus,.btn-success.active:focus,.btn-success:active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(88,193,86,.5)}.btn-success.disabled,.btn-success:disabled{color:#000;background-color:#68e365;border-color:#68e365}.btn-info{color:#000;background-color:#b48dd3;border-color:#b48dd3}.btn-check:focus+.btn-info,.btn-info:focus,.btn-info:hover{color:#000;background-color:#bf9eda;border-color:#bc98d7}.btn-check:focus+.btn-info,.btn-info:focus{box-shadow:0 0 0 .25rem rgba(153,120,179,.5)}.btn-check:active+.btn-info,.btn-check:checked+.btn-info,.btn-info.active,.btn-info:active,.show>.btn-info.dropdown-toggle{color:#000;background-color:#c3a4dc;border-color:#bc98d7}.btn-check:active+.btn-info:focus,.btn-check:checked+.btn-info:focus,.btn-info.active:focus,.btn-info:active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(153,120,179,.5)}.btn-info.disabled,.btn-info:disabled{color:#000;background-color:#b48dd3;border-color:#b48dd3}.btn-warning{color:#000;background-color:#ffa755;border-color:#ffa755}.btn-check:focus+.btn-warning,.btn-warning:focus,.btn-warning:hover{color:#000;background-color:#ffb46f;border-color:#ffb066}.btn-check:focus+.btn-warning,.btn-warning:focus{box-shadow:0 0 0 .25rem rgba(217,142,72,.5)}.btn-check:active+.btn-warning,.btn-check:checked+.btn-warning,.btn-warning.active,.btn-warning:active,.show>.btn-warning.dropdown-toggle{color:#000;background-color:#ffb977;border-color:#ffb066}.btn-check:active+.btn-warning:focus,.btn-check:checked+.btn-warning:focus,.btn-warning.active:focus,.btn-warning:active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(217,142,72,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#000;background-color:#ffa755;border-color:#ffa755}.btn-danger{color:#000;background-color:#f72b50;border-color:#f72b50}.btn-check:focus+.btn-danger,.btn-danger:focus,.btn-danger:hover{color:#000;background-color:#f84b6a;border-color:#f84062}.btn-check:focus+.btn-danger,.btn-danger:focus{box-shadow:0 0 0 .25rem rgba(210,37,68,.5)}.btn-check:active+.btn-danger,.btn-check:checked+.btn-danger,.btn-danger.active,.btn-danger:active,.show>.btn-danger.dropdown-toggle{color:#000;background-color:#f95573;border-color:#f84062}.btn-check:active+.btn-danger:focus,.btn-check:checked+.btn-danger:focus,.btn-danger.active:focus,.btn-danger:active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(210,37,68,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#000;background-color:#f72b50;border-color:#f72b50}.btn-light{color:#000;background-color:#c8c8c8}.btn-check:focus+.btn-light,.btn-light:focus,.btn-light:hover{color:#000;background-color:#d0d0d0;border-color:#cecece}.btn-check:focus+.btn-light,.btn-light:focus{box-shadow:0 0 0 .25rem hsla(0,0%,66.7%,.5)}.btn-check:active+.btn-light,.btn-check:checked+.btn-light,.btn-light.active,.btn-light:active,.show>.btn-light.dropdown-toggle{color:#000;background-color:#d3d3d3;border-color:#cecece}.btn-check:active+.btn-light:focus,.btn-check:checked+.btn-light:focus,.btn-light.active:focus,.btn-light:active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .25rem hsla(0,0%,66.7%,.5)}.btn-light.disabled,.btn-light:disabled{color:#000;background-color:#c8c8c8;border-color:#c8c8c8}.btn-dark{background-color:#6e6e6e}.btn-check:focus+.btn-dark,.btn-dark:focus,.btn-dark:hover{color:#fff;background-color:#5e5e5e;border-color:#585858}.btn-check:focus+.btn-dark,.btn-dark:focus{box-shadow:0 0 0 .25rem hsla(0,0%,51.8%,.5)}.btn-check:active+.btn-dark,.btn-check:checked+.btn-dark,.btn-dark.active,.btn-dark:active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#585858;border-color:#535353}.btn-check:active+.btn-dark:focus,.btn-check:checked+.btn-dark:focus,.btn-dark.active:focus,.btn-dark:active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .25rem hsla(0,0%,51.8%,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#6e6e6e;border-color:#6e6e6e}.btn-outline-primary{color:#2258bf;border-color:#2258bf}.btn-outline-primary:hover{background-color:#2258bf;border-color:#2258bf}.btn-check:focus+.btn-outline-primary,.btn-outline-primary:focus{box-shadow:0 0 0 .25rem rgba(34,88,191,.5)}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{background-color:#2258bf;border-color:#2258bf}.btn-check:active+.btn-outline-primary:focus,.btn-check:checked+.btn-outline-primary:focus,.btn-outline-primary.active:focus,.btn-outline-primary.dropdown-toggle.show:focus,.btn-outline-primary:active:focus{box-shadow:0 0 0 .25rem rgba(34,88,191,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#2258bf;background-color:transparent}.btn-outline-secondary{color:#627eea;border-color:#627eea}.btn-outline-secondary:hover{color:#000;background-color:#627eea;border-color:#627eea}.btn-check:focus+.btn-outline-secondary,.btn-outline-secondary:focus{box-shadow:0 0 0 .25rem rgba(98,126,234,.5)}.btn-check:active+.btn-outline-secondary,.btn-check:checked+.btn-outline-secondary,.btn-outline-secondary.active,.btn-outline-secondary.dropdown-toggle.show,.btn-outline-secondary:active{color:#000;background-color:#627eea;border-color:#627eea}.btn-check:active+.btn-outline-secondary:focus,.btn-check:checked+.btn-outline-secondary:focus,.btn-outline-secondary.active:focus,.btn-outline-secondary.dropdown-toggle.show:focus,.btn-outline-secondary:active:focus{box-shadow:0 0 0 .25rem rgba(98,126,234,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#627eea;background-color:transparent}.btn-outline-success{color:#68e365;border-color:#68e365}.btn-outline-success:hover{color:#000;background-color:#68e365;border-color:#68e365}.btn-check:focus+.btn-outline-success,.btn-outline-success:focus{box-shadow:0 0 0 .25rem rgba(104,227,101,.5)}.btn-check:active+.btn-outline-success,.btn-check:checked+.btn-outline-success,.btn-outline-success.active,.btn-outline-success.dropdown-toggle.show,.btn-outline-success:active{color:#000;background-color:#68e365;border-color:#68e365}.btn-check:active+.btn-outline-success:focus,.btn-check:checked+.btn-outline-success:focus,.btn-outline-success.active:focus,.btn-outline-success.dropdown-toggle.show:focus,.btn-outline-success:active:focus{box-shadow:0 0 0 .25rem rgba(104,227,101,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#68e365;background-color:transparent}.btn-outline-info{color:#b48dd3;border-color:#b48dd3}.btn-outline-info:hover{color:#000;background-color:#b48dd3;border-color:#b48dd3}.btn-check:focus+.btn-outline-info,.btn-outline-info:focus{box-shadow:0 0 0 .25rem rgba(180,141,211,.5)}.btn-check:active+.btn-outline-info,.btn-check:checked+.btn-outline-info,.btn-outline-info.active,.btn-outline-info.dropdown-toggle.show,.btn-outline-info:active{color:#000;background-color:#b48dd3;border-color:#b48dd3}.btn-check:active+.btn-outline-info:focus,.btn-check:checked+.btn-outline-info:focus,.btn-outline-info.active:focus,.btn-outline-info.dropdown-toggle.show:focus,.btn-outline-info:active:focus{box-shadow:0 0 0 .25rem rgba(180,141,211,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#b48dd3;background-color:transparent}.btn-outline-warning{color:#ffa755;border-color:#ffa755}.btn-outline-warning:hover{color:#000;background-color:#ffa755;border-color:#ffa755}.btn-check:focus+.btn-outline-warning,.btn-outline-warning:focus{box-shadow:0 0 0 .25rem rgba(255,167,85,.5)}.btn-check:active+.btn-outline-warning,.btn-check:checked+.btn-outline-warning,.btn-outline-warning.active,.btn-outline-warning.dropdown-toggle.show,.btn-outline-warning:active{color:#000;background-color:#ffa755;border-color:#ffa755}.btn-check:active+.btn-outline-warning:focus,.btn-check:checked+.btn-outline-warning:focus,.btn-outline-warning.active:focus,.btn-outline-warning.dropdown-toggle.show:focus,.btn-outline-warning:active:focus{box-shadow:0 0 0 .25rem rgba(255,167,85,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffa755;background-color:transparent}.btn-outline-danger{color:#f72b50;border-color:#f72b50}.btn-outline-danger:hover{color:#000;background-color:#f72b50;border-color:#f72b50}.btn-check:focus+.btn-outline-danger,.btn-outline-danger:focus{box-shadow:0 0 0 .25rem rgba(247,43,80,.5)}.btn-check:active+.btn-outline-danger,.btn-check:checked+.btn-outline-danger,.btn-outline-danger.active,.btn-outline-danger.dropdown-toggle.show,.btn-outline-danger:active{color:#000;background-color:#f72b50;border-color:#f72b50}.btn-check:active+.btn-outline-danger:focus,.btn-check:checked+.btn-outline-danger:focus,.btn-outline-danger.active:focus,.btn-outline-danger.dropdown-toggle.show:focus,.btn-outline-danger:active:focus{box-shadow:0 0 0 .25rem rgba(247,43,80,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#f72b50;background-color:transparent}.btn-outline-light{color:#c8c8c8;border-color:#c8c8c8}.btn-outline-light:hover{color:#000;background-color:#c8c8c8;border-color:#c8c8c8}.btn-check:focus+.btn-outline-light,.btn-outline-light:focus{box-shadow:0 0 0 .25rem hsla(0,0%,78.4%,.5)}.btn-check:active+.btn-outline-light,.btn-check:checked+.btn-outline-light,.btn-outline-light.active,.btn-outline-light.dropdown-toggle.show,.btn-outline-light:active{color:#000;background-color:#c8c8c8;border-color:#c8c8c8}.btn-check:active+.btn-outline-light:focus,.btn-check:checked+.btn-outline-light:focus,.btn-outline-light.active:focus,.btn-outline-light.dropdown-toggle.show:focus,.btn-outline-light:active:focus{box-shadow:0 0 0 .25rem hsla(0,0%,78.4%,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#c8c8c8;background-color:transparent}.btn-outline-dark{color:#6e6e6e;border-color:#6e6e6e}.btn-outline-dark:hover{color:#fff;background-color:#6e6e6e;border-color:#6e6e6e}.btn-check:focus+.btn-outline-dark,.btn-outline-dark:focus{box-shadow:0 0 0 .25rem hsla(0,0%,43.1%,.5)}.btn-check:active+.btn-outline-dark,.btn-check:checked+.btn-outline-dark,.btn-outline-dark.active,.btn-outline-dark.dropdown-toggle.show,.btn-outline-dark:active{color:#fff;background-color:#6e6e6e;border-color:#6e6e6e}.btn-check:active+.btn-outline-dark:focus,.btn-check:checked+.btn-outline-dark:focus,.btn-outline-dark.active:focus,.btn-outline-dark.dropdown-toggle.show:focus,.btn-outline-dark:active:focus{box-shadow:0 0 0 .25rem hsla(0,0%,43.1%,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#6e6e6e;background-color:transparent}.btn-link{font-weight:400;color:#2258bf;text-decoration:underline}.btn-link:hover{color:#1b4699}.btn-link.disabled,.btn-link:disabled{color:#6c757d}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.09375rem;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.765625rem;border-radius:.2rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropend,.dropstart,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{position:absolute;top:100%;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:.875rem;color:#969ba0;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.75rem}.dropdown-menu[data-bs-popper]{left:0;margin-top:.125rem}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1440){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%}.dropup .dropdown-menu[data-bs-popper]{margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu{top:0;right:auto;left:100%}.dropend .dropdown-menu[data-bs-popper]{margin-top:0;margin-left:.125rem}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu{top:0;right:100%;left:auto}.dropstart .dropdown-menu[data-bs-popper]{margin-top:0;margin-right:.125rem}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid rgba(0,0,0,.15)}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#2258bf}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1rem;margin-bottom:0;font-size:.765625rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1rem;color:#212529}.dropdown-menu-dark{color:#dee2e6;background-color:#343a40;border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item{color:#dee2e6}.dropdown-menu-dark .dropdown-item:focus,.dropdown-menu-dark .dropdown-item:hover{color:#fff;background-color:hsla(0,0%,100%,.15)}.dropdown-menu-dark .dropdown-item.active,.dropdown-menu-dark .dropdown-item:active{color:#fff;background-color:#2258bf}.dropdown-menu-dark .dropdown-item.disabled,.dropdown-menu-dark .dropdown-item:disabled{color:#adb5bd}.dropdown-menu-dark .dropdown-divider{border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item-text{color:#dee2e6}.dropdown-menu-dark .dropdown-header{color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;background:none;border:1px solid transparent;border-top-left-radius:.75rem;border-top-right-radius:.75rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6;isolation:isolate}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#f6f6f6;border-color:#dee2e6 #dee2e6 #f6f6f6}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{background:none;border:0;border-radius:.75rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#2258bf}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:.3359375rem;padding-bottom:.3359375rem;margin-right:1rem;font-size:1.09375rem;text-decoration:none;white-space:nowrap}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.09375rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.75rem;transition:box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 .25rem}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-repeat:no-repeat;background-position:50%;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}@media (min-width:1440){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.55)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.55);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\")}.navbar-light .navbar-text{color:rgba(0,0,0,.55)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:hsla(0,0%,100%,.55)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:hsla(0,0%,100%,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:hsla(0,0%,100%,.55);border-color:hsla(0,0%,100%,.1)}.navbar-dark .navbar-toggler-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\")}.navbar-dark .navbar-text{color:hsla(0,0%,100%,.55)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.75rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.75rem - 1px);border-top-right-radius:calc(.75rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.75rem - 1px);border-bottom-left-radius:calc(.75rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:1rem}.card-title{margin-bottom:.5rem}.card-subtitle{margin-top:-.25rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1rem}.card-header{padding:.5rem 1rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.75rem - 1px) calc(.75rem - 1px) 0 0}.card-footer{padding:.5rem 1rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.75rem - 1px) calc(.75rem - 1px)}.card-header-tabs{margin-right:-.5rem;margin-bottom:-.5rem;margin-left:-.5rem;border-bottom:0}.card-header-tabs .nav-link.active{background-color:#fff;border-bottom-color:#fff}.card-header-pills{margin-right:-.5rem;margin-left:-.5rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1rem;border-radius:calc(.75rem - 1px)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.75rem - 1px);border-top-right-radius:calc(.75rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.75rem - 1px);border-bottom-left-radius:calc(.75rem - 1px)}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:1rem 1.25rem;font-size:.875rem;color:#969ba0;text-align:left;background-color:transparent;border:1px solid rgba(0,0,0,.125);border-radius:0;overflow-anchor:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button.collapsed{border-bottom-width:0}.accordion-button:not(.collapsed){color:#1f4fac;background-color:#e9eef9}.accordion-button:not(.collapsed):after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231f4fac'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E\");transform:rotate(180deg)}.accordion-button:after{flex-shrink:0;width:1.25rem;height:1.25rem;margin-left:auto;content:\"\";background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23969ba0'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:1.25rem;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:#91acdf;outline:0;box-shadow:0 0 0 .25rem rgba(34,88,191,.25)}.accordion-header{margin-bottom:0}.accordion-item:first-of-type .accordion-button{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.accordion-item:last-of-type .accordion-button.collapsed,.accordion-item:last-of-type .accordion-collapse{border-bottom-width:1px;border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.accordion-collapse{border:solid rgba(0,0,0,.125);border-width:0 1px}.accordion-body{padding:1rem 1.25rem}.accordion-flush .accordion-button{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item:first-of-type .accordion-button{border-top-width:0;border-top-left-radius:0;border-top-right-radius:0}.accordion-flush .accordion-item:last-of-type .accordion-button.collapsed{border-bottom-width:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.breadcrumb{display:flex;flex-wrap:wrap;padding:0;margin-bottom:1rem;list-style:none}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:.5rem;color:#6c757d;content:var(--bs-breadcrumb-divider,\"/\")}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;color:#2258bf;text-decoration:none;background-color:#fff;border:1px solid #dee2e6;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;border-color:#dee2e6}.page-link:focus,.page-link:hover{color:#1b4699;background-color:#e9ecef}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .25rem rgba(34,88,191,.25)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item.active .page-link{z-index:3;color:#fff;background-color:#2258bf;border-color:#2258bf}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;background-color:#fff;border-color:#dee2e6}.page-link{padding:.375rem .75rem}.page-item:first-child .page-link{border-top-left-radius:.75rem;border-bottom-left-radius:.75rem}.page-item:last-child .page-link{border-top-right-radius:.75rem;border-bottom-right-radius:.75rem}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.09375rem}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.765625rem}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.75rem}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{position:relative;padding:1rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.75rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{color:#143573;background-color:#d3def2;border-color:#bdcdec}.alert-primary .alert-link{color:#102a5c}.alert-secondary{color:#3b4c8c;background-color:#e0e5fb;border-color:#d0d8f9}.alert-secondary .alert-link{color:#2f3d70}.alert-success{color:#2a5b28;background-color:#e1f9e0;border-color:#d2f7d1}.alert-success .alert-link{color:#224920}.alert-info{color:#6c557f;background-color:#f0e8f6;border-color:#e9ddf2}.alert-info .alert-link{color:#564466}.alert-warning{color:#664322;background-color:#ffeddd;border-color:#ffe5cc}.alert-warning .alert-link{color:#52361b}.alert-danger{color:#941a30;background-color:#fdd5dc;border-color:#fdbfcb}.alert-danger .alert-link{color:#761526}.alert-light{color:#505050;background-color:#f4f4f4;border-color:#efefef}.alert-light .alert-link{color:#404040}.alert-dark{color:#424242;background-color:#e2e2e2;border-color:#d4d4d4}.alert-dark .alert-link{color:#353535}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{display:flex;height:1rem;font-size:.65625rem;background-color:#e9ecef;border-radius:.75rem}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#2258bf;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.75rem}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#969ba0;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.5rem 1rem;text-decoration:none;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#2258bf;border-color:#2258bf}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.75rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.75rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.75rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.75rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.75rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.75rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.75rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.75rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.75rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.75rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1440){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child{border-bottom-left-radius:.75rem;border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child{border-top-right-radius:.75rem;border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#143573;background-color:#d3def2}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#143573;background-color:#bec8da}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#143573;border-color:#143573}.list-group-item-secondary{color:#3b4c8c;background-color:#e0e5fb}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#3b4c8c;background-color:#cacee2}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#3b4c8c;border-color:#3b4c8c}.list-group-item-success{color:#2a5b28;background-color:#e1f9e0}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#2a5b28;background-color:#cbe0ca}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#2a5b28;border-color:#2a5b28}.list-group-item-info{color:#6c557f;background-color:#f0e8f6}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#6c557f;background-color:#d8d1dd}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#6c557f;border-color:#6c557f}.list-group-item-warning{color:#664322;background-color:#ffeddd}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#664322;background-color:#e6d5c7}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664322;border-color:#664322}.list-group-item-danger{color:#941a30;background-color:#fdd5dc}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#941a30;background-color:#e4c0c6}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#941a30;border-color:#941a30}.list-group-item-light{color:#505050;background-color:#f4f4f4}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#505050;background-color:#dcdcdc}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#505050;border-color:#505050}.list-group-item-dark{color:#424242;background-color:#e2e2e2}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#424242;background-color:#cbcbcb}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#424242;border-color:#424242}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E\") 50%/1em auto no-repeat;border:0;border-radius:.75rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem rgba(34,88,191,.25);opacity:1}.btn-close.disabled,.btn-close:disabled{pointer-events:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:hsla(0,0%,100%,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .5rem 1rem rgba(0,0,0,.15);border-radius:.75rem}.toast:not(.showing):not(.show){opacity:0}.toast.hide{display:none}.toast-container{width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:15px}.toast-header{display:flex;align-items:center;padding:.5rem .75rem;color:#6c757d;background-color:hsla(0,0%,100%,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.75rem - 1px);border-top-right-radius:calc(.75rem - 1px)}.toast-header .btn-close{margin-right:-.375rem;margin-left:.75rem}.toast-body{padding:.75rem;word-wrap:break-word}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #eee;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .btn-close{padding:.5rem;margin:-.5rem -.5rem -.5rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;flex-wrap:wrap;flex-shrink:0;align-items:center;justify-content:flex-end;padding:.75rem;border-top:1px solid #eee;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{height:calc(100% - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}.modal-fullscreen .modal-footer{border-radius:0}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}.modal-fullscreen-sm-down .modal-footer{border-radius:0}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}.modal-fullscreen-md-down .modal-footer{border-radius:0}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}.modal-fullscreen-lg-down .modal-footer{border-radius:0}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}.modal-fullscreen-xl-down .modal-footer{border-radius:0}}@media (max-width:1439.98){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}.modal-fullscreen-xxl-down .modal-footer{border-radius:0}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.765625rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .tooltip-arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .tooltip-arrow:before{position:absolute;content:\"\";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,.bs-tooltip-top .tooltip-arrow:before{top:-1px;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[data-popper-placement^=right],.bs-tooltip-end{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before,.bs-tooltip-end .tooltip-arrow:before{right:-1px;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[data-popper-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before,.bs-tooltip-bottom .tooltip-arrow:before{bottom:-1px;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[data-popper-placement^=left],.bs-tooltip-start{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before,.bs-tooltip-start .tooltip-arrow:before{left:-1px;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.75rem}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.765625rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .popover-arrow{position:absolute;display:block;width:1rem;height:.5rem}.popover .popover-arrow:after,.popover .popover-arrow:before{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-top>.popover-arrow:after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-end>.popover-arrow:after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:before{top:0;border-width:0 .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:after{top:1px;border-width:0 .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:\"\";border-bottom:1px solid #f0f0f0}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-start>.popover-arrow:after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem 1rem;margin-bottom:0;font-size:.875rem;color:#000;background-color:#f0f0f0;border-bottom:1px solid #d8d8d8;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:1rem;color:#969ba0}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:\"\"}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M11.354 1.646a.5.5 0 010 .708L5.707 8l5.647 5.646a.5.5 0 01-.708.708l-6-6a.5.5 0 010-.708l6-6a.5.5 0 01.708 0z'/%3E%3C/svg%3E\")}.carousel-control-next-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M4.646 1.646a.5.5 0 01.708 0l6 6a.5.5 0 010 .708l-6 6a.5.5 0 01-.708-.708L10.293 8 4.646 2.354a.5.5 0 010-.708z'/%3E%3C/svg%3E\")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid;border-right:.25em solid transparent;border-radius:50%;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{animation-duration:1.5s}}.clearfix:after{display:block;clear:both;content:\"\"}.link-primary{color:#2258bf}.link-primary:focus,.link-primary:hover{color:#1b4699}.link-secondary{color:#627eea}.link-secondary:focus,.link-secondary:hover{color:#8198ee}.link-success{color:#68e365}.link-success:focus,.link-success:hover{color:#86e984}.link-info{color:#b48dd3}.link-info:focus,.link-info:hover{color:#c3a4dc}.link-warning{color:#ffa755}.link-warning:focus,.link-warning:hover{color:#ffb977}.link-danger{color:#f72b50}.link-danger:focus,.link-danger:hover{color:#f95573}.link-light{color:#c8c8c8}.link-light:focus,.link-light:hover{color:#d3d3d3}.link-dark{color:#6e6e6e}.link-dark:focus,.link-dark:hover{color:#585858}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:\"\"}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.85714%}.fixed-top{top:0}.fixed-bottom,.fixed-top{position:fixed;right:0;left:0;z-index:1030}.fixed-bottom{bottom:0}.sticky-top{position:sticky;top:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:sticky;top:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}}@media (min-width:1440){.sticky-xxl-top{position:sticky;top:0;z-index:1020}}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:\"\"}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:1px solid #eee!important}.border-0{border:0!important}.border-top{border-top:1px solid #eee!important}.border-top-0{border-top:0!important}.border-end{border-right:1px solid #eee!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:1px solid #eee!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:1px solid #eee!important}.border-start-0{border-left:0!important}.border-primary{border-color:#2258bf!important}.border-secondary{border-color:#627eea!important}.border-success{border-color:#68e365!important}.border-info{border-color:#b48dd3!important}.border-warning{border-color:#ffa755!important}.border-danger{border-color:#f72b50!important}.border-light{border-color:#c8c8c8!important}.border-dark{border-color:#6e6e6e!important}.border-white{border-color:#fff!important}.border-0{border-width:0!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.fs-1{font-size:calc(1.35rem + 1.2vw)!important}.fs-2{font-size:calc(1.3125rem + .75vw)!important}.fs-3{font-size:calc(1.275rem + .3vw)!important}.fs-4{font-size:1.125rem!important}.fs-5{font-size:1rem!important}.fs-6{font-size:.938rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-primary{color:#2258bf!important}.text-secondary{color:#627eea!important}.text-success{color:#68e365!important}.text-info{color:#b48dd3!important}.text-warning{color:#ffa755!important}.text-danger{color:#f72b50!important}.text-light{color:#c8c8c8!important}.text-dark{color:#6e6e6e!important}.text-white{color:#fff!important}.text-body{color:#969ba0!important}.text-muted{color:#89879f!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:hsla(0,0%,100%,.5)!important}.text-reset{color:inherit!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.bg-primary{background-color:#2258bf!important}.bg-secondary{background-color:#627eea!important}.bg-success{background-color:#68e365!important}.bg-info{background-color:#b48dd3!important}.bg-warning{background-color:#ffa755!important}.bg-danger{background-color:#f72b50!important}.bg-light{background-color:#c8c8c8!important}.bg-dark{background-color:#6e6e6e!important}.bg-body{background-color:#f6f6f6!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.bg-gradient{background-image:var(--bs-gradient)!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.user-select-all{user-select:all!important}.user-select-auto{user-select:auto!important}.user-select-none{user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:.75rem!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:.2rem!important}.rounded-2{border-radius:.75rem!important}.rounded-3{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-top{border-top-left-radius:.75rem!important}.rounded-end,.rounded-top{border-top-right-radius:.75rem!important}.rounded-bottom,.rounded-end{border-bottom-right-radius:.75rem!important}.rounded-bottom,.rounded-start{border-bottom-left-radius:.75rem!important}.rounded-start{border-top-left-radius:.75rem!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1440){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.25rem!important}.fs-2{font-size:1.875rem!important}.fs-3{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}.c-pointer{cursor:pointer}*{outline:none;padding:0}:after,:before{margin:0;padding:0}::selection{color:#fff;background:var(--primary)}body{overflow-x:hidden;height:100%;position:relative;max-width:100%;font-size:.875rem}@media only screen and (max-width:991px){body{font-size:.875rem}}p{line-height:1.8}.box-shadow-none{box-shadow:none!important}.media{display:flex;align-items:flex-start}.media-body{flex:1}#main-wrapper{opacity:0;transition:all .25s ease-in;overflow:hidden;position:relative}#main-wrapper.show{opacity:1}.rounded-lg{border-radius:1.75rem}ul{padding:0;margin:0}li{list-style:none}a{color:#969ba0}.btn-link.active,.btn-link:focus,.btn-link:hover,a,a.active,a:focus,a:hover{text-decoration:none}.bg-primary{background-color:var(--primary)!important}.text-primary{color:var(--primary)!important}.fs-12{font-size:12px!important}.fs-12,.fs-13{line-height:1.5}.fs-13{font-size:13px!important}.fs-14{line-height:1.6}.fs-14,.fs-15{font-size:14px!important}.fs-15{line-height:1.5}.fs-16{font-size:16px!important;line-height:1.6}@media only screen and (max-width:575px){.fs-16{font-size:14px!important}}.fs-18{font-size:18px!important;line-height:1.5}@media only screen and (max-width:575px){.fs-18{font-size:16px!important}}.fs-20{font-size:20px!important}.fs-20,.fs-22{line-height:1.5}.fs-22{font-size:22px!important}.fs-24{font-size:24px!important}.fs-24,.fs-26{line-height:1.4}.fs-26{font-size:26px!important}.fs-28{font-size:28px!important;line-height:1.4}@media only screen and (max-width:575px){.fs-28{font-size:24px!important}}.fs-30{font-size:30px!important;line-height:1.4}.fs-32{font-size:32px!important}.fs-32,.fs-34{line-height:1.25}.fs-34{font-size:34px!important}.fs-35{font-size:35px!important}.fs-35,.fs-36{line-height:1.25}.fs-36{font-size:36px!important}.fs-38{font-size:38px!important}.fs-38,.fs-46{line-height:1.25}.fs-46{font-size:46px!important}.fs-48{font-size:48px!important;line-height:1.25}.font-w100{font-weight:100}.font-w200{font-weight:200}.font-w300{font-weight:300}.font-w400{font-weight:400}.font-w500{font-weight:500}.font-w600{font-weight:600}.font-w700{font-weight:700}.font-w800{font-weight:800}.font-w900{font-weight:900}.w-space-no{white-space:nowrap}.content-body .container{margin-top:40px}.content-body .container-fluid,.content-body .container-lg,.content-body .container-md,.content-body .container-sm,.content-body .container-xl,.content-body .container-xxl{padding-top:20px;padding-right:40px;padding-left:40px}@media only screen and (max-width:1200px){.content-body .container-fluid,.content-body .container-lg,.content-body .container-md,.content-body .container-sm,.content-body .container-xl,.content-body .container-xxl{padding-top:30px;padding-right:30px;padding-left:30px}}@media only screen and (max-width:767px){.content-body .container-fluid,.content-body .container-lg,.content-body .container-md,.content-body .container-sm,.content-body .container-xl,.content-body .container-xxl{padding-top:20px;padding-right:20px;padding-left:20px}}@media only screen and (max-width:575px){.content-body .container-fluid,.content-body .container-lg,.content-body .container-md,.content-body .container-sm,.content-body .container-xl,.content-body .container-xxl{padding-top:15px;padding-right:15px;padding-left:15px}}.row.sp4,.sp4{margin-left:-2px;margin-right:-2px}.row.sp4 [class*=col-],.sp4 [class*=col-]{padding-left:2px;padding-right:2px}.op1{opacity:.1}.op2{opacity:.2}.op3{opacity:.3}.op4{opacity:.4}.op5{opacity:.5}.op6{opacity:.6}.op7{opacity:.7}.op8{opacity:.8}.op9{opacity:.9}.content-heading{font-size:16px;margin-bottom:1.875rem;margin-top:3.125rem;border-bottom:1px solid #f5f5f5;padding-bottom:10px}[direction=rtl] .content-heading{text-align:right}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus{box-shadow:none}.vh-100{height:100vh!important}.support-ticket{position:fixed;bottom:30px;right:15px;z-index:999999}.support-ticket-btn{width:100px;background:#7cb442;animation:crescendo .7s ease-in-out 0s infinite alternate none running;border-radius:50px;color:#fff;font-size:8px;font-size:16px;padding:5px 10px 7px;text-align:center;display:inline-block;box-shadow:0 8px 35px 0 rgba(124,180,66,.7)}.support-ticket-btn:focus,.support-ticket-btn:hover{color:#fff}.text-blue{color:#5e72e4}.text-indigo{color:#6610f2}.text-purple{color:#6f42c1}.text-pink{color:#e83e8c}.text-red{color:#ee3232}.text-orange{color:#f90}.text-yellow{color:#fffa6f}.text-green{color:#297f00}.text-teal{color:#20c997}.text-cyan{color:#3065d0}.bg-blue{background:#496ecc!important}.bg-orange{background:#ed8030!important}.bg-green{background:#299e4a!important}.bg-purpel{background:#9517c1!important}.bg-dark-blue{background:#251e71!important}.bg-black{background:#000}.text-black{color:#000!important}.dz-scroll{position:relative}.scale1{transform:scale(1.1);-moz-transform:scale(1.1);-webkit-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1)}.scale1,.scale2{display:inline-block}.scale2{transform:scale(1.2);-moz-transform:scale(1.2);-webkit-transform:scale(1.2);-ms-transform:scale(1.2);-o-transform:scale(1.2)}.scale3{transform:scale(1.3);-moz-transform:scale(1.3);-webkit-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3)}.scale3,.scale4{display:inline-block}.scale4{transform:scale(1.4);-moz-transform:scale(1.4);-webkit-transform:scale(1.4);-ms-transform:scale(1.4);-o-transform:scale(1.4)}.scale5{transform:scale(1.5);-moz-transform:scale(1.5);-webkit-transform:scale(1.5);-ms-transform:scale(1.5);-o-transform:scale(1.5)}.scale5,.scale-2{display:inline-block}.scale-2{transform:scale(2);-moz-transform:scale(2);-webkit-transform:scale(2);-ms-transform:scale(2);-o-transform:scale(2)}@-webkit-keyframes crescendo{0%{-webkit-transform:translateY(5px) scale(.8);-ms-transform:translateY(5px) scale(.8);transform:translateY(5px) scale(.8)}to{-webkit-transform:translateY(0) scale(1);-ms-transform:translateY(0) scale(1);transform:translateY(0) scale(1)}}.height10{height:10px}.height20{height:20px}.height30{height:30px}.height40{height:40px}.height50{height:50px}.height60{height:60px}.height70{height:70px}.height80{height:80px}.height90{height:90px}.height100{height:100px}.height110{height:110px}.height120{height:120px}.height130{height:130px}.height140{height:140px}.height150{height:150px}.height160{height:160px}.height170{height:170px}.height180{height:180px}.height190{height:190px}.height200{height:200px}.height210{height:210px}.height220{height:220px}.height230{height:230px}.height240{height:240px}.height250{height:250px}.height260{height:260px}.height270{height:270px}.height280{height:280px}.height290{height:290px}.height300{height:300px}.height310{height:310px}.height320{height:320px}.height330{height:330px}.height340{height:340px}.height350{height:350px}.height360{height:360px}.height370{height:370px}.height380{height:380px}.height390{height:390px}.height400{height:400px}.height415{height:415px}.height500{height:500px}.height550{height:550px}.height600{height:600px}.height630{height:630px}.height720{height:720px}.height750{height:750px}.height800{height:800px}.width10{width:10px}.width20{width:20px}.width30{width:30px}.width40{width:40px}.width50{width:50px}.width60{width:60px}.width70{width:70px}.width80{width:80px}.width90{width:90px}.width100{width:100px}.width110{width:110px}.width120{width:120px}.width130{width:130px}.width140{width:140px}.width150{width:150px}.width160{width:160px}.width170{width:170px}.width180{width:180px}.width190{width:190px}.width200{width:200px}.width210{width:210px}.width220{width:220px}.width230{width:230px}.width240{width:240px}.width250{width:250px}.width260{width:260px}.width270{width:270px}.width280{width:280px}.width290{width:290px}.width300{width:300px}.width310{width:310px}.width320{width:320px}.width330{width:330px}.width340{width:340px}.width350{width:350px}.width360{width:360px}.width370{width:370px}.width380{width:380px}.width390{width:390px}.width400{width:400px}.rounded{border-radius:1.75rem!important}@media only screen and (max-width:575px){.rounded{border-radius:6px!important}}label{margin-bottom:.5rem}@keyframes crescendo{0%{-webkit-transform:translateY(5px) scale(.8);-ms-transform:translateY(5px) scale(.8);transform:translateY(5px) scale(.8)}to{-webkit-transform:translateY(0) scale(1);-ms-transform:translateY(0) scale(1);transform:translateY(0) scale(1)}}@keyframes gXGDoR{0%{-webkit-transform:translateY(5px) scale(.8);-ms-transform:translateY(5px) scale(.8);transform:translateY(5px) scale(.8)}to{-webkit-transform:translateY(0) scale(1);-ms-transform:translateY(0) scale(1);transform:translateY(0) scale(1)}}@media only screen and (min-width:1200px) and (max-width:1600px){.col-xxl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.col-xxl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-xxl-3{flex:0 0 25%;max-width:25%}.col-xxl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.col-xxl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.col-xxl-6{flex:0 0 50%;max-width:50%}.col-xxl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.col-xxl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.col-xxl-9{flex:0 0 75%;max-width:75%}.col-xxl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.col-xxl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.col-xxl-12{flex:0 0 100%;max-width:100%}.mb-xxl-4{margin-bottom:1.5rem!important}}#preloader{background-color:#fff;padding:0;margin:0;height:100%;position:fixed;z-index:99999;width:100%;display:flex;align-items:center;justify-content:center}.loader{-webkit-perspective:700px;perspective:700px}.loader>span{font-size:60px;color:var(--primary);font-family:franklin gothic medium,sans-serif;display:inline-block;animation:flip 2.6s linear infinite;transform-origin:0 70%;transform-style:preserve-3d;-webkit-transform-style:preserve-3d}@keyframes flip{35%{transform:rotateX(1turn)}to{transform:rotatex(1turn)}}.loader>span:nth-child(2n){color:#fff}.loader>span:nth-child(2){animation-delay:.3s;color:#ff8736}.loader>span:nth-child(3){animation-delay:.6s}.loader>span:nth-child(4){animation-delay:.9s;color:#ff8736}.loader>span:nth-child(5){animation-delay:1.2s}[data-theme-version=dark] #preloader{background-color:#171622}.footer{padding-left:17.1875rem;background-color:#f6f6f6}.footer .copyright{padding:.9375rem}.footer .copyright p{text-align:center;margin:0;color:#000;font-size:14px}.footer .copyright a{color:var(--primary)}[data-layout=horizontal] .nav-control,[data-sidebar-style=mini] .nav-control{display:none}@media only screen and (max-width:767px){[data-sidebar-style=overlay] .nav-header .logo-abbr{display:block}}[data-header-position=fixed] .nav-header{position:fixed}.nav-header{height:7.5rem;width:20.5rem;display:inline-block;text-align:left;position:absolute;top:0;background-color:var(--nav-headbg);transition:all .2s ease;z-index:5}.nav-header .logo-abbr{max-width:47px}@media only screen and (max-width:1400px){.nav-header .logo-abbr{max-width:45px}}@media only screen and (max-width:575px){.nav-header .logo-abbr{width:35px;height:35px}}.nav-header .logo-compact{display:none}@media only screen and (max-width:1400px){.nav-header{height:5.5rem;width:17rem}}.nav-header .brand-logo{display:flex;height:100%;width:100%;justify-content:flex-start;align-items:center;font-size:1.125rem;color:#fff;text-decoration:none;padding-left:30px;padding-right:30px;font-weight:700}@media only screen and (max-width:1400px){.nav-header .brand-logo{padding-left:20px;padding-right:20px}}[data-sidebar-style=compact] .nav-header .brand-logo,[data-sidebar-style=mini] .nav-header .brand-logo{padding-left:0;padding-right:0;justify-content:center}@media only screen and (max-width:767px){.nav-header .brand-logo{padding-left:0;padding-right:0;justify-content:center}}.nav-header .brand-title{margin-left:15px;max-width:140px;font-size:38px;color:#000}[data-theme-version=dark] .nav-header .brand-title{background-position:0 120%}@media only screen and (max-width:767px){.nav-header{top:0;background:transparent}}.nav-header .rect-primary-rect,.nav-header .svg-logo-primary-path,.nav-header .svg-title-path{fill:var(--primary)}@media only screen and (max-width:1199px){.nav-header{height:5rem}}@media only screen and (max-width:1023px){.nav-header{width:5rem}.nav-header .brand-title{display:none}}.nav-control{cursor:pointer;position:absolute;right:1.75rem;text-align:center;top:55%;transform:translateY(-50%);z-index:9999;font-size:1.4rem;padding:2px .5rem 0;border-radius:2px}@media only screen and (max-width:1400px){.nav-control{right:.75rem}}@media only screen and (max-width:767px){.nav-control{right:-3rem}}@media only screen and (max-width:575px){.nav-control{right:-3rem}}.hamburger{display:inline-block;left:0;position:relative;top:0;-webkit-transition:all .3s ease-in-out 0s;transition:all .3s ease-in-out 0s;width:26px;z-index:999}.hamburger .line{background:#000;display:block;height:3px;border-radius:3px;margin-top:6px;margin-bottom:6px;margin-right:auto;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.hamburger .line:first-child,.hamburger .line:nth-child(2){width:26px}.hamburger .line:nth-child(3){width:15px}.hamburger:hover{cursor:pointer}.hamburger:hover .line{width:26px}.hamburger.is-active .line:first-child,.hamburger.is-active .line:nth-child(3){width:10px;height:2px}.hamburger.is-active .line:nth-child(2){-webkit-transform:translateX(0);transform:translateX(0);width:22px;height:2px}.hamburger.is-active .line:first-child{-webkit-transform:translateY(4px) translateX(12px) rotate(45deg);transform:translateY(4px) translateX(12px) rotate(45deg)}.hamburger.is-active .line:nth-child(3){-webkit-transform:translateY(-4px) translateX(12px) rotate(-45deg);transform:translateY(-4px) translateX(12px) rotate(-45deg)}@media (min-width:767px){[data-sidebar-style=compact] .nav-control{display:none}[data-sidebar-style=compact] .nav-header{width:11.25rem}}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .brand-title{display:none}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .nav-header .logo-abbr{display:block}[data-sidebar-style=full][data-layout=horizontal] .logo-compact{display:none}[data-sidebar-style=mini] .nav-header{height:6.5rem}[data-sidebar-style=mini] .nav-header .logo-abbr{display:block}@media only screen and (max-width:1023px){[data-sidebar-style=mini] .nav-header{height:5.5rem}}[data-sidebar-style=compact][data-layout=vertical] .nav-header .brand-title{display:none}[data-sidebar-style=compact][data-layout=vertical] .nav-header .logo-compact{max-width:75px}[data-sidebar-style=compact][data-layout=horizontal] .nav-header .brand-logo{padding-left:30px;padding-right:30px;justify-content:start}[data-sidebar-style=modern][data-layout=vertical] .nav-header{width:10.625rem}[data-sidebar-style=modern][data-layout=vertical] .nav-header .brand-title,[data-sidebar-style=modern][data-layout=vertical] .nav-header .logo-compact{display:none}.header{height:7.5rem;z-index:1;position:relative;background:var(--headerbg);z-index:3;padding:0 0 0 20.563rem;transition:all .2s ease}.header .header-content{height:100%;padding-left:3rem;padding-right:1.875rem;align-items:center;display:flex}@media only screen and (max-width:1400px){.header .header-content{padding-left:2rem}}@media only screen and (max-width:767px){.header .header-content{padding-left:3.75rem;padding-right:.938rem}}.header .navbar{padding:0}.header .navbar,.header .navbar .navbar-collapse{height:100%;width:100%}@media only screen and (max-width:1400px){.header{height:5.5rem}}@media only screen and (max-width:1199px){.header{height:5rem}}@media only screen and (max-width:767px){.header{padding-top:0}}svg.pulse-svg{overflow:visible}svg.pulse-svg .first-circle,svg.pulse-svg .second-circle,svg.pulse-svg .third-circle{-webkit-transform:scale(.3);transform:scale(.3);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation:pulse-me 3s linear infinite;animation:pulse-me 3s linear infinite;fill:var(--primary)}svg.pulse-svg .second-circle{-webkit-animation-delay:1s;animation-delay:1s}svg.pulse-svg .third-circle{-webkit-animation-delay:2s;animation-delay:2s}.pulse-css{width:1rem;height:1rem;border-radius:.5rem;border-radius:3.5rem;height:20px;position:absolute;background:#fe8630;right:6px;top:5px;border:4px solid #fff;width:20px}.pulse-css:after,.pulse-css:before{content:\"\";width:1rem;height:1rem;border-radius:.5rem;position:absolute;top:0;right:0;bottom:0;left:-.2rem;background-color:#d8b9c3;margin:auto;-webkit-transform:scale(.3);transform:scale(.3);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation:pulse-me 3s linear infinite;animation:pulse-me 3s linear infinite}[direction=rtl] .pulse-css:after,[direction=rtl] .pulse-css:before{left:auto;right:-.2rem}@media only screen and (max-width:1400px){.pulse-css{height:16px;width:16px}}@-webkit-keyframes pulse-me{0%{-webkit-transform:scale(.3);transform:scale(.3);opacity:0}50%{opacity:.1}70%{opacity:.09}to{-webkit-transform:scale(3);transform:scale(3);opacity:0}}@keyframes pulse-me{0%{-webkit-transform:scale(.3);transform:scale(.3);opacity:0}50%{opacity:.1}70%{opacity:.09}to{-webkit-transform:scale(3);transform:scale(3);opacity:0}}[data-sidebar-style=full] .header,[data-sidebar-style=overlay] .header{width:100%}@media only screen and (max-width:1400px){[data-sidebar-style=full] .header,[data-sidebar-style=overlay] .header{width:100%;padding-left:18.2rem}}@media only screen and (max-width:1023px){[data-sidebar-style=full] .header,[data-sidebar-style=overlay] .header{width:100%;padding-left:5rem}}[data-sidebar-style=mini] .header{width:100%;height:6.5rem;padding-left:7.5rem}@media only screen and (max-width:1023px){[data-sidebar-style=mini] .header{height:5.5rem;padding-left:6.5rem}}[data-sidebar-style=compact] .header{width:100%;padding-left:12.5rem}[data-sidebar-style=compact] .header .header-content{padding-left:2.5rem}[data-header-position=fixed] .header{position:fixed;top:0;width:100%}[data-header-position=fixed] .content-body{padding-top:7.5rem}@media only screen and (max-width:1400px){[data-header-position=fixed] .content-body{padding-top:6.5rem}}@media only screen and (max-width:1199px){[data-header-position=fixed] .content-body{padding-top:5rem}}[data-header-position=fixed] .deznav{margin-top:0}[data-sidebar-style=compact][data-header-position=fixed][data-container=boxed][data-layout=vertical] .header{width:1199px}[data-sidebar-style=modern] .header{width:100%;padding-left:11.9rem}[data-sidebar-style=modern][data-layout=horizontal] .nav-header .brand-logo{justify-content:start}[data-sidebar-style=modern][data-layout=horizontal] .header .header-content{padding-left:30px}.header-left{height:100%;display:flex;align-items:center}.header-left .breadcrumb{margin-bottom:0}.header-left .dashboard_bar{font-size:38px;font-weight:400;color:#000}@media only screen and (max-width:1199px){.header-left .dashboard_bar{font-size:34px}}@media only screen and (max-width:767px){.header-left .dashboard_bar{display:none}}.header-left .dashboard_bar.sub-bar{font-size:30px}.header-left .search-area{width:509px}@media only screen and (max-width:1600px){.header-left .search-area{width:380px}}@media only screen and (max-width:767px){.header-left .search-area{display:none}}.header-left .search-area .form-control{border:0;background:#f1f1f1;border-top-left-radius:42px;border-bottom-left-radius:42px;height:68px;padding:5px 30px;font-size:16px}@media only screen and (max-width:1400px){.header-left .search-area .form-control{height:48px}}.header-left .search-area .input-group-text{border-top-right-radius:42px;border-bottom-right-radius:42px;background:#f1f1f1;padding:0 30px}.header-left .search-area .input-group-text i{font-size:22px}[data-sidebar-style=compact] .header-left{margin-left:0}.header-right{height:100%}.header-right .nav-item{height:100%;display:flex;align-items:center}.header-right .nav-item .nav-link{color:#464a53;font-size:18px}.header-right .right-sidebar{margin-right:-30px}.header-right .right-sidebar a{height:80px;width:80px;text-align:center;justify-content:center;display:flex;align-items:center;border-left:1px solid #c8c8c8}.header-right>li:not(:first-child){padding-left:1.25rem}@media only screen and (max-width:1199px){.header-right>li:not(:first-child){padding-left:1rem}}@media only screen and (max-width:767px){.header-right .notification_dropdown{position:static}}.header-right .notification_dropdown .nav-link{position:relative;color:var(--primary);border-radius:1.75rem;padding:15px;line-height:1}@media only screen and (max-width:1400px){.header-right .notification_dropdown .nav-link{padding:10px}}.header-right .notification_dropdown .nav-link i{font-size:24px}@media only screen and (max-width:1400px){.header-right .notification_dropdown .nav-link i{font-size:18px}}@media only screen and (max-width:1400px){.header-right .notification_dropdown .nav-link svg{width:24px;height:24px}}.header-right .notification_dropdown .nav-link .badge{position:absolute;font-size:.625rem;border-radius:50%;right:-8px;top:-4px;border:2px solid #fff;font-weight:400;height:26px;width:26px;line-height:12px;text-align:center;padding:5px;font-size:14px}@media only screen and (max-width:575px){.header-right .notification_dropdown .nav-link .badge{height:20px;width:20px;border-width:2px;line-height:7px;font-size:9px}}.header-right .notification_dropdown .dropdown-item:active a,.header-right .notification_dropdown .dropdown-item:focus a{color:#fff}.header-right .notification_dropdown .dropdown-item a{color:#6e6e6e}.header-right .notification_dropdown .dropdown-item a:hover{text-decoration:none}.header-right .dropdown-menu{border-width:0;box-shadow:0 0 37px rgba(8,21,66,.05)}[data-theme-version=dark] .header-right .dropdown-menu{box-shadow:none}.header-right .search-area{width:340px}.header-right .search-area .form-control{height:56px;background:#f3f3f3;border:0}.header-right .search-area .input-group-text{height:56px;border-radius:1rem;background:#f3f3f3;padding:0 20px}.header-right .search-area .input-group-text i{font-size:24px}@media only screen and (max-width:1600px){.header-right .search-area{width:250px}}@media only screen and (max-width:1199px){.header-right .search-area{display:none}}.header-right .ai-icon{height:56px;width:56px;background:#eee}@media only screen and (max-width:1400px){.header-right .ai-icon{height:44px;width:44px}}.dz-fullscreen #icon-minimize,.dz-fullscreen.active #icon-full{display:none}.dz-fullscreen.active #icon-minimize{display:inline-block}.notification_dropdown .dropdown-menu-end{min-width:310px;padding:0 0 1rem;top:100%}.notification_dropdown .dropdown-menu-end .notification_title{background:var(--primary);color:#fff;padding:10px 20px}.notification_dropdown .dropdown-menu-end .notification_title .h5,.notification_dropdown .dropdown-menu-end .notification_title h5{color:#fff;margin-bottom:3px}.notification_dropdown .dropdown-menu-end .media{width:45px;height:45px;font-size:18px}[data-theme-version=dark] .notification_dropdown .dropdown-menu-end .media{border-color:#2e2e42}.notification_dropdown .dropdown-menu-end .media>span{width:35px;height:35px;border-radius:50px;display:inline-block;padding:7px 9px;margin-right:10px}[direction=rtl].notification_dropdown .dropdown-menu-end .media>span{margin-right:0;margin-left:10px}.notification_dropdown .dropdown-menu-end .media>span.success{background:#e7fbe6;color:#68e365}.notification_dropdown .dropdown-menu-end .media>span.primary{background:var(--rgba-primary-1);color:var(--primary)}.notification_dropdown .dropdown-menu-end .media>span.danger{background:#fee6ea;color:#f72b50}.notification_dropdown .dropdown-menu-end .media .notify-time{width:100%;margin-right:0;color:#828690}.notification_dropdown .dropdown-menu-end .media p{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:200px;margin-bottom:0;margin-top:5px}@media only screen and (max-width:575px){.notification_dropdown .dropdown-menu-end .media p{max-width:100px}}.notification_dropdown .dropdown-menu-end .all-notification{display:block;padding:15px 30px 0;text-align:center;border-top:1px solid #c8c8c8}.notification_dropdown .dropdown-menu-end .all-notification i{margin-left:10px}[data-container=boxed] .search-area{display:none!important}@media (min-width:576px){.rtl .mx-sm-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-sm-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-sm-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-sm-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-sm-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-sm-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-sm-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-sm-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-sm-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-sm-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-sm-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-sm-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-sm-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-sm-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-sm-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:768px){.rtl .mx-md-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-md-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-md-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-md-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-md-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-md-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-md-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-md-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-md-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-md-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-md-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-md-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-md-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-md-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-md-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:992px){.rtl .mx-lg-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-lg-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-lg-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-lg-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-lg-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-lg-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-lg-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-lg-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-lg-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-lg-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-lg-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-lg-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-lg-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-lg-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-lg-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:1200px){.rtl .mx-xl-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-xl-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-xl-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-xl-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-xl-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-xl-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-xl-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-xl-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-xl-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-xl-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-xl-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-xl-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-xl-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-xl-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-xl-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:1440){.rtl .mx-xxl-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-xxl-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-xxl-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-xxl-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-xxl-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-xxl-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-xxl-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-xxl-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-xxl-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-xxl-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-xxl-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-xxl-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-xxl-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-xxl-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}}.nav-label{margin:10px 30px 0;padding:1.5625rem 0 10px;text-transform:uppercase;font-size:.75rem;letter-spacing:.05rem;border-top:1px solid #eaeaea;color:#999}[data-theme-version=dark] .nav-label{border-color:#2e2e42}.nav-label.first{border:0;margin-top:0}.nav-badge{position:absolute;right:2.8125rem;top:.625rem}.content-body{margin-left:20.563rem;z-index:0;transition:all .2s ease}@media only screen and (max-width:1400px){.content-body{margin-left:17.2rem}}.bell img{-webkit-animation:ring 8s ease-in-out .7s infinite;-webkit-transform-origin:50% 4px;-moz-animation:ring 8s .7s ease-in-out infinite;-moz-transform-origin:50% 4px;animation:ring 8s ease-in-out .7s infinite}@-webkit-keyframes ring{0%{-webkit-transform:rotate(0)}1%{-webkit-transform:rotate(30deg)}3%{-webkit-transform:rotate(-28deg)}5%{-webkit-transform:rotate(34deg)}7%{-webkit-transform:rotate(-32deg)}9%{-webkit-transform:rotate(30deg)}11%{-webkit-transform:rotate(-28deg)}13%{-webkit-transform:rotate(26deg)}15%{-webkit-transform:rotate(-24deg)}17%{-webkit-transform:rotate(22deg)}19%{-webkit-transform:rotate(-20deg)}21%{-webkit-transform:rotate(18deg)}23%{-webkit-transform:rotate(-16deg)}25%{-webkit-transform:rotate(14deg)}27%{-webkit-transform:rotate(-12deg)}29%{-webkit-transform:rotate(10deg)}31%{-webkit-transform:rotate(-8deg)}33%{-webkit-transform:rotate(6deg)}35%{-webkit-transform:rotate(-4deg)}37%{-webkit-transform:rotate(2deg)}39%{-webkit-transform:rotate(-1deg)}41%{-webkit-transform:rotate(1deg)}43%{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(0)}}@-moz-keyframes ring{0%{-moz-transform:rotate(0)}1%{-moz-transform:rotate(30deg)}3%{-moz-transform:rotate(-28deg)}5%{-moz-transform:rotate(34deg)}7%{-moz-transform:rotate(-32deg)}9%{-moz-transform:rotate(30deg)}11%{-moz-transform:rotate(-28deg)}13%{-moz-transform:rotate(26deg)}15%{-moz-transform:rotate(-24deg)}17%{-moz-transform:rotate(22deg)}19%{-moz-transform:rotate(-20deg)}21%{-moz-transform:rotate(18deg)}23%{-moz-transform:rotate(-16deg)}25%{-moz-transform:rotate(14deg)}27%{-moz-transform:rotate(-12deg)}29%{-moz-transform:rotate(10deg)}31%{-moz-transform:rotate(-8deg)}33%{-moz-transform:rotate(6deg)}35%{-moz-transform:rotate(-4deg)}37%{-moz-transform:rotate(2deg)}39%{-moz-transform:rotate(-1deg)}41%{-moz-transform:rotate(1deg)}43%{-moz-transform:rotate(0)}to{-moz-transform:rotate(0)}}@keyframes ring{0%{transform:rotate(0)}1%{transform:rotate(30deg)}3%{transform:rotate(-28deg)}5%{transform:rotate(34deg)}7%{transform:rotate(-32deg)}9%{transform:rotate(30deg)}11%{transform:rotate(-28deg)}13%{transform:rotate(26deg)}15%{transform:rotate(-24deg)}17%{transform:rotate(22deg)}19%{transform:rotate(-20deg)}21%{transform:rotate(18deg)}23%{transform:rotate(-16deg)}25%{transform:rotate(14deg)}27%{transform:rotate(-12deg)}29%{transform:rotate(10deg)}31%{transform:rotate(-8deg)}33%{transform:rotate(6deg)}35%{transform:rotate(-4deg)}37%{transform:rotate(2deg)}39%{transform:rotate(-1deg)}41%{transform:rotate(1deg)}43%{transform:rotate(0)}to{transform:rotate(0)}}.deznav{width:20.5rem;padding-bottom:0;height:calc(100% - 120px);position:absolute;top:7.5rem;padding-top:0;z-index:6;background-color:var(--sidebar-bg);transition:all .2s ease;box-shadow:0 15px 30px 0 rgba(0,0,0,.02)}@media only screen and (max-width:1400px){.deznav{top:5.5rem;height:calc(100% - 85px)}}@media only screen and (max-width:1199px){.deznav{top:4.9rem;height:calc(100% - 75px)}}@media only screen and (max-width:767px){.deznav{width:18rem}}.deznav .deznav-scroll{position:relative;height:100%}@media only screen and (max-width:1400px){.deznav{width:17rem}}.deznav ul{padding:0;margin:0;list-style:none}.deznav .metismenu{display:flex;flex-direction:column;padding-top:15px}.deznav .metismenu.fixed{position:fixed;top:0;width:100%;left:0}.deznav .metismenu>li{display:flex;flex-direction:column}.deznav .metismenu>li a>i{font-size:1.3rem;display:inline-block;vertical-align:middle;position:relative;top:0;height:auto;width:auto;text-align:center;margin-right:20px;line-height:1;border-radius:2px}[data-sidebar-style=compact] .deznav .metismenu>li a>i{display:block;padding:0;background:hsla(0,0%,78.4%,.2);color:rgba(0,0,0,.3);width:60px;height:60px;border-radius:1.75rem;line-height:60px;margin-left:auto;margin-right:auto;margin-bottom:5px}[data-sidebar-style=compact] .deznav .metismenu>li a>i[data-theme-version=dark]{color:#fff}@media only screen and (max-width:1350px){.deznav .metismenu>li a>i{height:auto;line-height:1px;width:auto;font-size:24px;padding:0;color:#969ba0}}.deznav .metismenu>li>a{font-weight:400;display:inline-block;font-size:18px;color:#9fa4a6}.deznav .metismenu>li>a i{color:#9fa4a6}.deznav .metismenu>li>a svg{max-width:24px;max-height:24px;height:100%;margin-right:5px;margin-top:-3px;color:var(--primary)}.deznav .metismenu>li>a g [fill]{fill:#8088a1}.deznav .metismenu>li:focus>a,.deznav .metismenu>li:hover>a{color:var(--primary)}.deznav .metismenu>li:focus>a g [fill],.deznav .metismenu>li:hover>a g [fill]{fill:var(--primary)}.deznav .metismenu>li.mm-active>a{color:var(--primary)!important;font-weight:400;box-shadow:none;background:var(--rgba-primary-1)}.deznav .metismenu>li.mm-active>a i{font-weight:100}.deznav .metismenu>li.mm-active>a g [fill]{fill:var(--primary)}.deznav .metismenu>li.mm-active>a:after{border-top:5px solid var(--primary);border-left:5px solid var(--primary)}[data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a i{background:var(--rgba-primary-1);color:var(--primary)!important}.deznav .metismenu li{position:relative}.deznav .metismenu ul{transition:all .2s ease-in-out;position:relative;z-index:1;padding:.5rem 0}.deznav .metismenu ul a{padding-top:.5rem;padding-bottom:.5rem;position:relative;font-size:15px;padding-left:5rem}@media only screen and (max-width:1400px){.deznav .metismenu ul a{padding-left:4.2rem}}@media only screen and (max-width:767px){.deznav .metismenu ul a{padding-left:3.5rem;font-size:14px}}.deznav .metismenu ul a.mm-active,.deznav .metismenu ul a:focus,.deznav .metismenu ul a:hover{text-decoration:none;color:var(--primary)}.deznav .metismenu ul a.mm-active:before,.deznav .metismenu ul a:focus:before,.deznav .metismenu ul a:hover:before{border-color:var(--primary);transform:translateY(-50%) rotate(225deg)}.deznav .metismenu ul a:before{position:absolute;content:\"\";height:8px;width:8px;border:2px solid #ccc;top:50%;left:40px;-webkit-transition:all .5s;-ms-transition:all .5s;transition:all .5s;transform:translateY(-50%) rotate(45deg)}@media only screen and (max-width:1400px){.deznav .metismenu ul a:before{left:30px}}.deznav .metismenu a{position:relative;display:block;padding:.625rem 1.875rem;outline-width:0;color:#9fa4a6;text-decoration:none}@media only screen and (max-width:767px){.deznav .metismenu a{padding:.625rem 1.25rem}}.deznav .metismenu .has-arrow:after{border-color:#c8c8c8 transparent transparent #c8c8c8;border-style:solid;border-width:5px;right:1.875rem;top:48%;-webkit-transform:rotate(-225deg) translateY(-50%);transform:rotate(-225deg) translateY(-50%)}.deznav .metismenu .has-arrow[aria-expanded=true]:after,.deznav .metismenu .mm-active>.has-arrow:after{-webkit-transform:rotate(-135deg) translateY(-50%);transform:rotate(-135deg) translateY(-50%)}.deznav .header-profile{margin-bottom:25px}.deznav .header-profile>a.nav-link{padding:10px 15px!important;align-items:center}.deznav .header-profile>a.nav-link i{font-weight:700}.deznav .header-profile>a.nav-link .header-info{text-align:center}@media only screen and (max-width:1400px){.deznav .header-profile>a.nav-link .header-info{padding-left:10px}}.deznav .header-profile>a.nav-link .header-info span{font-size:20px;color:#000;display:block;font-weight:600}.deznav .header-profile>a.nav-link .header-info strong{color:#6e6e6e}.deznav .header-profile>a.nav-link .header-info .small,.deznav .header-profile>a.nav-link .header-info small{font-size:14px;color:#89879f;font-weight:400;line-height:1.2}@media only screen and (max-width:1400px){.deznav .header-profile>a.nav-link{margin-left:0;padding-left:0}.deznav .header-profile>a.nav-link .header-info span{font-size:16px}}.deznav .header-profile .dropdown-menu{padding:15px 0;min-width:12.5rem}.deznav .header-profile .dropdown-menu a.active,.deznav .header-profile .dropdown-menu a:focus,.deznav .header-profile .dropdown-menu a:hover{color:var(--primary)}.deznav .header-profile img{width:93px;height:93px;display:block;margin-left:auto;margin-right:auto;margin-bottom:20px;border-radius:50%}.deznav .header-profile .dropdown-toggle i{font-size:1.25rem}@media only screen and (max-width:575px){.deznav .header-profile .dropdown-toggle span{display:none}}.deznav .header-profile .profile_title{background:var(--primary);color:#fff;padding:10px 20px}.deznav .header-profile .profile_title .h5,.deznav .header-profile .profile_title h5{color:#fff;margin-bottom:3px}.deznav .header-profile .dropdown-item{padding:8px 24px}.copyright{padding:0 30px;color:#9fa4a6;margin-top:30px}.copyright p{font-size:12px}.copyright strong{display:block;font-size:14px}@media only screen and (max-width:1023px){.nav-header{width:5rem}}@media (max-width:767px){.brand-title{display:none}.footer{padding-left:0}.deznav{left:0;top:5rem}}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu>ul.collapse:not(.in),[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu>ul.collapse:not(.in){height:252px!important}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu:hover>a,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu:hover>a{width:calc(70vw + 3.75rem)}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu:hover>ul,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu:hover>ul{display:flex;flex-wrap:wrap;flex-direction:column;max-height:13.75rem;width:70vw}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu:hover>ul ul a,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu:hover>ul ul a{width:101%}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-xl:hover>a,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-xl:hover>a{width:calc(70vw + 3rem)}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-xl:hover>ul,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-xl:hover>ul{max-height:200px;width:70vw}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-xl:hover>ul ul a,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-xl:hover>ul ul a{width:101%}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-lg:hover>a,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-lg:hover>a{width:calc(55vw + 3rem)}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-lg:hover>ul,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-lg:hover>ul{max-height:200px;width:55vw}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-lg:hover>ul ul a,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-lg:hover>ul ul a{width:101%}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-md:hover>a,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-md:hover>a{width:calc(45vw + 3)}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-md:hover>ul,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-md:hover>ul{max-height:18.75rem;width:45vw}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-md:hover>ul ul a,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-md:hover>ul ul a{width:101%}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-sm:hover>a,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-sm:hover>a{width:calc(30vw + 3)}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-sm:hover>ul,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-sm:hover>ul{max-height:18.125rem;width:30vw}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mega-menu-sm:hover>ul ul a,[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mega-menu-sm:hover>ul ul a{width:101%}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu:hover>a{width:calc(60vw + 3.75rem)}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu:hover>ul{display:flex;flex-wrap:wrap;flex-direction:column;max-height:25rem;width:60vw}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu:hover>ul ul a{width:101%}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu-xl:hover>a{width:calc(60vw + 3.75rem)}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu-xl:hover>ul{max-height:25.625rem;width:60vw}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu-lg:hover>a{width:calc(50vw + 3.75rem)}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu-lg:hover>ul{max-height:16.25rem;width:50vw}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu-md:hover>a{width:calc(40vw + 3.75rem)}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu-md:hover>ul{max-height:18.75rem;width:40vw}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu-sm:hover>a{width:calc(22vw + 3.75rem)}[data-sidebar-style=mini][data-layout=vertical][data-container=boxed] .deznav .metismenu>li.mega-menu-sm:hover>ul{max-height:18.125rem;width:22vw}[data-layout=horizontal] .deznav .metismenu>li.mega-menu:not(:last-child){position:static}[data-layout=horizontal] .deznav .metismenu>li.mega-menu ul{left:0;right:0}[data-theme-version=dark][data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li{border-color:#2e2e42}[data-sibebarbg=color_2][data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li{border-color:#3d0894}[data-sibebarbg=color_3][data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li{border-color:#133068}[data-sibebarbg=color_4][data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li{border-color:#1f0243}[data-sibebarbg=color_5][data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li{border-color:#921925}[data-sibebarbg=color_6][data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li{border-color:#aa4e01}[data-sibebarbg=color_7][data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li{border-color:#a07800}[data-sibebarbg=color_8][data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li{border-color:#ccc}[data-sibebarbg=color_9][data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li{border-color:#127155}[data-sibebarbg=color_10][data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li{border-color:#0c525d}[data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li a{transition:all .4s ease-in-out}[data-layout=horizontal] .deznav .metismenu>li.mega-menu ul li a:hover{border-radius:.25rem}[data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul{display:flex;flex-wrap:wrap;flex-direction:column;max-height:13.75rem;width:70vw;z-index:99}[data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{content:\"\";height:100%;width:1px;position:absolute;background-color:#fff;right:2.8125rem;top:0}[data-theme-version=dark][data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{background-color:#1e1c2c}[data-sibebarbg=color_2][data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{background-color:#510bc4}[data-sibebarbg=color_3][data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{background-color:#1a4494}[data-sibebarbg=color_4][data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{background-color:#360474}[data-sibebarbg=color_5][data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{background-color:#bd2130}[data-sibebarbg=color_6][data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{background-color:#dc6502}[data-sibebarbg=color_7][data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{background-color:#d39e00}[data-sibebarbg=color_8][data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{background-color:#e6e6e6}[data-sibebarbg=color_9][data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{background-color:#199d76}[data-sibebarbg=color_10][data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul:after{background-color:#117a8b}[data-layout=horizontal] .deznav .metismenu>li.mega-menu:hover>ul ul a{width:101%}[data-layout=horizontal] .deznav .metismenu>li.mega-menu-xl:hover>ul{max-height:210px;width:70vw}[data-layout=horizontal] .deznav .metismenu>li.mega-menu-lg:hover>ul{max-height:210px;width:700px;height:210px!important}@media only screen and (min-width:1200px) and (max-width:1500px){[data-layout=horizontal] .deznav .metismenu>li.mega-menu-lg:hover>ul{width:700px}}[data-layout=horizontal] .deznav .metismenu>li.mega-menu-md:hover>ul{max-height:20rem;width:54vw}@media only screen and (min-width:1200px) and (max-width:1500px){[data-layout=horizontal] .deznav .metismenu>li.mega-menu-md:hover>ul{width:60vw}}[data-layout=horizontal] .deznav .metismenu>li.mega-menu-sm:hover>ul{max-height:20rem;width:25vw}@media only screen and (min-width:1200px) and (max-width:1500px){[data-layout=horizontal] .deznav .metismenu>li.mega-menu-sm:hover>ul{width:35vw}}[data-layout=horizontal][data-container=boxed] .deznav .metismenu>li.mega-menu:hover>ul{display:flex;flex-wrap:wrap;flex-direction:column}[data-layout=horizontal][data-container=boxed] .deznav .metismenu>li.mega-menu-xl:hover>ul{max-height:21.875rem;width:100%}[data-layout=horizontal][data-container=boxed] .deznav .metismenu>li.mega-menu-lg:hover>ul{max-height:21.875rem;width:55vw}[data-layout=horizontal][data-container=boxed] .deznav .metismenu>li.mega-menu-md:hover>ul{max-height:18.75rem;width:45vw}[data-layout=horizontal][data-container=boxed] .deznav .metismenu>li.mega-menu-sm:hover>ul{max-height:18.125rem;width:50vw}[data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li{padding:0 20px}[data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li>a{font-size:16px;padding:22px 35px;border-radius:2rem;-webkit-transition:all .5s;-ms-transition:all .5s;transition:all .5s}[data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:var(--primary);font-weight:300}[data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li .has-arrow:after{right:1.5rem}@media only screen and (max-width:1400px){[data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li{padding:0 15px}[data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li>a{font-size:16px;padding:15px 20px}}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .nav-header{width:6.5rem;z-index:999}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .nav-header .brand-logo{padding-left:0;padding-right:0;justify-content:center}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .nav-header .nav-control{right:-4rem}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .nav-header .nav-control .hamburger .line{background-color:var(--primary)}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .copyright,[data-sidebar-style=full][data-layout=vertical] .menu-toggle .plus-box{display:none}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .header{padding-left:7.5rem;width:100%}[direction=rtl][data-sidebar-style=full][data-layout=vertical] .menu-toggle .header{padding:0 7.5rem 0 .9375rem}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .header .header-content{padding-left:5rem}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav{width:6.5rem;overflow:visible;position:absolute}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .nav-text{display:none}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .deznav-scroll,[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .slimScrollDiv{overflow:visible!important}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .header-profile{margin-bottom:0}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .header-profile>a.nav-link{padding:5px!important}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .header-profile>a.nav-link .header-info{display:none}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .header-profile>a.nav-link img{height:60px;width:60px;background:none}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li{position:relative}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li a{background:transparent;margin:2px 0}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li a svg{max-width:24px;max-height:24px;margin-right:0}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li a:before{content:none}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li a i{margin:0}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li>ul{position:absolute;left:5.8rem;top:0;width:12rem;z-index:1001;display:none;padding-left:1px;height:auto!important;box-shadow:0 0 40px 0 rgba(82,63,105,.1);border-radius:6px;margin-left:0;border:0;background:#fff}[direction=rtl][data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li>ul{left:auto;right:5rem}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li>ul li:hover ul{left:11.8125rem;top:0}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li>ul li:hover ul:after{content:none}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li:hover>ul{display:block;height:auto;overflow:visible}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li{transition:all .4s ease-in-out;padding:0 18px}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li>a{padding:20px 18px;text-align:center;border-radius:3rem}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li>a.has-arrow:after{display:none}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mm-active>a{background:var(--rgba-primary-1);border-radius:3rem}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li.mm-active>a i{color:var(--primary);padding:0}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li:hover:nth-last-child(-n+1)>ul{bottom:0;top:auto}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li:hover>a{border-radius:3rem;background:var(--rgba-primary-1);color:var(--primary)}[data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li:hover>a{background:#212130}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li:hover>a i{color:var(--primary)}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li:hover>ul{height:auto!important;padding:10px 0}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li:hover>ul a{padding:6px 20px;margin-left:-.1rem}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li:hover>ul ul{padding:10px 0}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu>li:hover>ul ul a{padding:6px 20px;margin-left:-.1rem}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu .nav-badge,[data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu .nav-label{display:none}[data-sidebar-style=full][data-layout=vertical] .menu-toggle .content-body{margin-left:6.5rem}[direction=rtl][data-sidebar-style=full][data-layout=vertical] .menu-toggle .content-body{margin-right:5.7rem;margin-left:auto;border:0}[data-sidebar-style=full][data-layout=vertical] .menu-toggle+.footer{padding-left:5.7rem}[direction=rtl][data-sidebar-style=full][data-layout=vertical] .menu-toggle+.footer{padding-left:0;padding-right:5.7rem}[data-sidebar-style=full][data-layout=horizontal] .header .header-content{padding-left:1.875rem}@media only screen and (min-width:768px){[data-sidebar-style=mini] .nav-header{width:6.25rem}[data-sidebar-style=mini] .nav-header .nav-control{z-index:-1}[data-sidebar-style=mini] .nav-header .nav-control .hamburger{left:6.25rem!important}[data-sidebar-style=mini] .nav-header .nav-control .hamburger .line{background-color:#6e6e6e!important}[data-sidebar-style=mini] .nav-header .brand-title,[data-sidebar-style=mini] .nav-header .hamburger{display:none}[data-sidebar-style=mini] .header .header-content{padding-left:1.875rem}[direction=rtl][data-sidebar-style=mini] .header .header-content{padding-right:1.875rem}[data-sidebar-style=mini] .deznav{width:6.25rem;overflow:visible;position:absolute;z-index:2;top:6.5rem}[data-sidebar-style=mini] .deznav .copyright,[data-sidebar-style=mini] .deznav .nav-text,[data-sidebar-style=mini] .deznav .plus-box{display:none}[data-sidebar-style=mini] .deznav .deznav-scroll,[data-sidebar-style=mini] .deznav .slimScrollDiv{overflow:visible!important}[data-sidebar-style=mini] .deznav .nav-user{padding:11px}[data-sidebar-style=mini] .deznav .nav-user .media-body{display:none}[data-sidebar-style=mini] .deznav .header-profile{margin-bottom:0;margin-top:12px}[data-sidebar-style=mini] .deznav .header-profile:hover>a.nav-link{border-radius:3rem}[data-sidebar-style=mini] .deznav .header-profile img{width:48px;height:48px}[data-sidebar-style=mini] .deznav .header-profile>a.nav-link{border-radius:3rem;padding:5px!important}[data-sidebar-style=mini] .deznav .header-profile .header-info{display:none}[data-sidebar-style=mini] .deznav .metismenu li a{padding:.813rem .875rem}[data-sidebar-style=mini] .deznav .metismenu li a svg{margin-right:0}[data-sidebar-style=mini] .deznav .metismenu li a i{height:auto;width:auto;line-height:1;margin:0}[data-sidebar-style=mini] .deznav .metismenu li>ul{position:absolute;left:6.25rem;top:2.9375rem;width:11.875rem;z-index:1001;display:none;padding-left:1px;box-shadow:0 0 40px 0 rgba(82,63,105,.1);height:auto!important;border-radius:1.75rem;background:#fff}[direction=rtl]:not([data-layout=horizontal])[data-sidebar-style=mini] .deznav .metismenu li>ul{left:auto;right:6.25rem;box-shadow:0 0 40px 0 rgba(82,63,105,.1)}[data-sidebar-style=mini] .deznav .metismenu>li{padding:2px 20px}[data-sidebar-style=mini] .deznav .metismenu>li>a{padding:1.125rem .875rem;text-align:center;line-height:1;transition:all .5s;-moz-transition:all .5s;-webkit-transition:all .5s;-ms-transition:all .5s;-o-transition:all .5s}[data-sidebar-style=mini] .deznav .metismenu>li>a>i{padding:0;font-size:22px}[data-sidebar-style=mini] .deznav .metismenu .nav-badge,[data-sidebar-style=mini] .deznav .metismenu .nav-label,[data-sidebar-style=mini] .deznav .metismenu>li>a.has-arrow:after{display:none}}@media only screen and (min-width:768px) and (max-width:1023px){[data-sidebar-style=mini] .deznav{top:5.5rem}}@media only screen and (min-width:768px){[data-sidebar-style=mini] .content-body{margin-left:6.5rem}[data-sidebar-style=mini] .footer{padding-left:6.5rem}[data-sidebar-style=mini][data-header-position=fixed] .content-body{padding-top:6.5rem}}@media only screen and (min-width:768px) and (max-width:1023px){[data-sidebar-style=mini][data-header-position=fixed] .content-body{padding-top:5.5rem}}@media only screen and (min-width:768px){[data-sidebar-style=mini][data-layout=vertical] .deznav{position:absolute!important}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu li:hover>ul{display:block}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:nth-last-child(-n+1)>ul{bottom:0;top:auto!important}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:nth-last-child(-n+1)>ul:after{top:auto;bottom:20px}}@media only screen and (min-width:768px) and (max-width:1199px){[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:nth-last-child(-n+1)>ul{bottom:0;top:auto!important}}@media only screen and (min-width:768px){[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li>ul{overflow:visible}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li>ul:after{content:none}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li>ul li:hover ul{padding:10px 0;width:13rem;left:13rem;top:-10px;border:0;margin:0}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li>ul li:hover ul:after{content:none}[direction=rtl][data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li>ul li:hover ul{left:auto;right:13rem}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mm-active>a{background:var(--rgba-primary-1);color:#fff;border-radius:1.75rem}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:var(--primary)}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>a{background:var(--rgba-primary-1);color:var(--primary);box-shadow:0 12px 15px 0 var(--rgba-primary-1);border-radius:1.75rem;position:unset}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>a i{color:var(--primary)}[direction=rtl][data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>a .nav-text{padding-left:auto;padding-right:1.6875rem}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>ul{height:auto!important;overflow:visible;margin-left:0;left:6.25rem;width:13rem;border-radius:1.75rem;border:0;padding:10px 0;top:0}[data-theme-version=dark][data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>ul{box-shadow:0 0 40px 0 rgba(82,63,105,.1)}[direction=rtl][data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>ul{left:auto;right:6.25rem}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>ul a{padding:6px 20px}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>ul a:before{content:none}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>ul a.has-arrow:after{right:1.25rem}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>ul ul a{padding:6px 20px;margin-left:-1.6px}[data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li:hover>ul ul a:before{content:none}[data-sidebar-style=mini][data-header-position=fixed][data-container=boxed][data-layout=vertical] .header{width:1199px}[data-sidebar-style=mini][data-layout=horizontal] .deznav .metismenu>li{padding:0}[data-sidebar-style=mini][data-layout=horizontal] .deznav .metismenu>li>a{padding:18px}[data-sidebar-style=mini][data-layout=horizontal] .deznav .metismenu>li>a i{padding:0;margin:0}[direction=rtl][data-sidebar-style=mini][data-layout=horizontal] .deznav .metismenu>li>a{padding:18px}[direction=rtl][data-sidebar-style=mini][data-layout=horizontal] .deznav .metismenu>li>a svg{margin-left:0}[data-sidebar-style=mini][data-layout=horizontal] .deznav .metismenu>li>a svg{margin-right:0;margin-top:0}[data-sidebar-style=mini][data-layout=horizontal] .deznav .metismenu>li>ul li a{padding:8px 20px 8px 48px}}@media only screen and (max-width:1199px){[data-sidebar-style=mini] .deznav li.mm-active ul{height:auto!important}[data-sidebar-style=mini] .deznav li a.has-arrow:after{transform:rotate(-45deg) translateY(-50%)}}@media (min-width:1024px){[data-layout=horizontal] .nav-header{width:21.563rem;height:6.5rem;top:0}[data-layout=horizontal] .nav-header .nav-control{display:none}[data-layout=horizontal] .nav-header .brand-logo{padding-left:40px;padding-right:40px}[data-layout=horizontal] .header{width:100%;height:5.5rem;padding-left:21.563rem;padding-top:0}[data-layout=horizontal] .deznav{width:100%;position:relative;height:auto;padding-bottom:0;top:0;z-index:2}[data-layout=horizontal] .deznav .deznav-scroll,[data-layout=horizontal] .deznav .slimScrollDiv,[data-layout=horizontal] .deznav .slimScrollDiv .deznav-scroll{overflow:visible!important}[data-layout=horizontal] .deznav .slimScrollBar{display:none!important}[data-layout=horizontal] .deznav .header-profile{margin-right:15px;margin-bottom:0;display:none}[data-layout=horizontal] .deznav .header-profile:hover>a.nav-link{border-radius:3rem}[data-layout=horizontal] .deznav .header-profile img{height:45px;width:45px}[data-layout=horizontal] .deznav .header-profile>a.nav-link{border-radius:3rem;padding:5px!important}[data-layout=horizontal] .deznav .header-profile .header-info,[data-layout=horizontal] .deznav .nav-label,[data-layout=horizontal] .deznav .nav-user{display:none}[data-layout=horizontal] .deznav .metismenu{flex-direction:row;padding:10px 20px;margin-bottom:0;display:inline-flex;flex-wrap:wrap}[data-layout=horizontal] .deznav .metismenu .collapse.in{display:none}[data-layout=horizontal] .deznav .metismenu ul{border-left:0}[data-theme-version=dark][data-layout=horizontal] .deznav .metismenu ul{box-shadow:0 0 40px 0 rgba(82,63,105,.1)}[data-layout=horizontal] .deznav .metismenu li{flex-direction:column;position:relative}[data-layout=horizontal] .deznav .metismenu li:hover>ul{display:block}[data-layout=horizontal] .deznav .metismenu li>ul{position:absolute;height:auto!important;top:100%;width:100%;min-width:13.75rem;z-index:999;left:auto;right:auto;padding:.5rem 0;display:none;box-shadow:0 0 40px 0 rgba(82,63,105,.1);margin:0;background:#fff;border-radius:1.75rem}[data-theme-version=dark][data-layout=horizontal] .deznav .metismenu li>ul{box-shadow:0 0 40px 0 rgba(82,63,105,.1);background:#212130}[data-layout=horizontal] .deznav .metismenu li>ul li{padding:0}[data-layout=horizontal] .deznav .metismenu li>ul li a{transition:all .4s ease-in-out;padding:8px 20px 8px 48px;margin-left:-.1rem}[direction=rtl][data-layout=horizontal] .deznav .metismenu li>ul li a{padding:8px 20px;text-align:right}[data-layout=horizontal] .deznav .metismenu li>ul li a:hover{border-radius:.4rem}[data-layout=horizontal] .deznav .metismenu li>ul li a:before{left:22px}[direction=rtl][data-layout=horizontal] .deznav .metismenu li>ul li a:before{left:auto;right:6px}[data-layout=horizontal] .deznav .metismenu li>ul ul{left:100%;top:0;box-shadow:0 0 40px 0 rgba(82,63,105,.1)}[direction=rtl][data-layout=horizontal] .deznav .metismenu li>ul ul{left:auto;right:100%}[data-layout=horizontal] .deznav .metismenu>li{flex:0 0 auto;position:relative}[data-layout=horizontal] .deznav .metismenu>li>a i{margin-right:5px}[data-theme-version=dark][data-layout=horizontal] .deznav .metismenu>li{border-color:hsla(0,0%,100%,.07)}[data-theme-version=dark][data-layout=horizontal] .deznav .metismenu>li.mm-active{border-color:transparent}[data-layout=horizontal] .deznav .metismenu>li.mm-active,[data-layout=horizontal] .deznav .metismenu>li:hover{padding:0}[data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-layout=horizontal] .deznav .metismenu>li:hover>a{background:var(--rgba-primary-1);color:var(--primary);border-radius:1rem}[data-layout=horizontal] .deznav .metismenu>li.mm-active>a i,[data-layout=horizontal] .deznav .metismenu>li:hover>a i{color:var(--primary);background:transparent;box-shadow:none}[direction=rtl][data-layout=horizontal] .deznav .metismenu>li:first-child{border-right:0}[data-theme-version=dark][direction=rtl][data-layout=horizontal] .deznav .metismenu>li{border-color:#2e2e42}[data-layout=horizontal] .deznav .metismenu>li>a{padding:15px 40px 15px 15px;margin:2px}[direction=rtl][data-layout=horizontal] .deznav .metismenu>li>a{padding:15px 15px 15px 40px}[data-layout=horizontal] .deznav .metismenu>li>a i{padding:0 .4375rem 0 0;height:auto;width:auto;line-height:1}[direction=rtl][data-layout=horizontal] .deznav .metismenu>li>a i{padding:0 0 0 .4375rem}[data-layout=horizontal] .deznav .metismenu>li>a .nav-badge{display:none}[data-layout=horizontal] .deznav .metismenu>li>a:after{right:20px;transform:rotate(-135deg) translateY(-50%)}[data-layout=horizontal] .deznav .metismenu>li:hover{border-color:transparent}[data-layout=horizontal] .deznav .metismenu>li:hover>ul{display:flex!important;flex-direction:column;flex-wrap:wrap;height:auto!important;box-shadow:5px 5px 30px 0 rgba(20,0,30,.1);border-radius:1.75rem}[data-theme-version=dark][data-layout=horizontal] .deznav .metismenu>li:hover>ul{box-shadow:5px 5px 30px 0 rgba(0,0,0,.1);background:#212130}[data-layout=horizontal] .deznav .metismenu>li>ul>li:hover ul.collapse{display:block!important;position:absolute;left:auto!important;right:-100%!important;top:0!important}[data-layout=horizontal] .deznav .metismenu>li:nth-last-child(-n+5)>ul{left:auto;right:0}[data-layout=horizontal] .deznav .metismenu>li:nth-last-child(-n+5)>ul>li:hover ul.collapse{right:auto!important;left:-100%!important}[data-layout=horizontal] .deznav .metismenu>li:nth-last-child(-n+5)>ul.left{left:0}[data-layout=horizontal] .deznav .metismenu>li:nth-last-child(-n+5)>ul.left>li:hover ul.collapse{left:100%!important}[direction=rtl][data-layout=horizontal] .deznav .metismenu>li:nth-last-child(-n+5)>ul.left{left:auto;right:0}[data-layout=horizontal] .deznav .metismenu>li:last-child>ul ul{left:-100%}[data-layout=horizontal] .deznav .metismenu>li:last-child>ul.left ul{left:100%}[direction=rtl][data-layout=horizontal] .deznav .metismenu>li:last-child>ul.left ul{left:auto;right:100%}[direction=rtl][data-layout=horizontal] .deznav .metismenu>li:nth-last-child(-n+3)>ul{left:0;right:auto}[direction=rtl][data-layout=horizontal] .deznav .metismenu>li:nth-last-child(-n+3)>ul>li:hover ul.collapse{right:-100%!important;left:auto!important}[data-layout=horizontal] .deznav .copyright,[data-layout=horizontal] .deznav .plus-box{display:none}[data-layout=horizontal] .content-body{margin-left:0}[data-layout=horizontal] .content-body .container-fluid,[data-layout=horizontal] .content-body .container-lg,[data-layout=horizontal] .content-body .container-md,[data-layout=horizontal] .content-body .container-sm,[data-layout=horizontal] .content-body .container-xl,[data-layout=horizontal] .content-body .container-xxl{padding-top:40px}[data-layout=horizontal] .content-body .page-titles{margin-left:0!important;margin-right:0!important;margin-bottom:1.875rem}[data-layout=horizontal] .footer{margin:0 auto;padding-left:0}[data-header-position=fixed][data-layout=horizontal] .deznav{top:6.5rem}[data-header-position=fixed][data-layout=horizontal] .header{height:6.5rem}[data-header-position=fixed][data-sidebar-position=fixed] .deznav{position:fixed}[data-header-position=fixed][data-layout=horizontal][data-sidebar-position=fixed] .content-body{padding-top:11.5rem}[data-header-position=fixed][data-layout=horizontal][data-sidebar-position=fixed][data-sidebar-style=modern] .content-body{padding-top:13.125rem}[data-layout=horizontal][data-container=boxed] .footer{max-width:1199px;margin:0 auto}[data-layout=horizontal][data-container=wide] .page-titles{margin-left:-30px;margin-right:-30px}[data-layout=horizontal][data-sidebar-style=modern] .deznav .header-profile{margin-bottom:0}[data-layout=horizontal][data-sidebar-style=modern] .deznav .header-profile img{height:60px;width:60px;margin-bottom:0!important}[data-layout=horizontal][data-sidebar-style=modern] .deznav .header-profile>a.nav-link{border:1px solid #eee;padding:4px!important;border-radius:3rem}[data-layout=horizontal][data-sidebar-style=compact] .page-titles{margin-top:0}[data-layout=horizontal][data-sidebar-style=compact] .deznav .header-profile{margin-bottom:0}[data-layout=horizontal][data-sidebar-style=compact] .deznav .header-profile img{height:60px;width:60px;margin-bottom:0!important}[data-layout=horizontal][data-sidebar-style=compact] .deznav .header-profile>a.nav-link{border:1px solid #eee}[data-layout=horizontal][data-sidebar-style=compact] .deznav .metismenu>li>ul{top:4.5rem}[data-layout=horizontal][data-sidebar-style=compact] .deznav .metismenu>li>a{padding:18px 20px 10px}[data-layout=horizontal][data-sidebar-style=compact] .deznav .metismenu>li>a:after{display:none}[data-layout=horizontal][data-sidebar-style=compact] .deznav .metismenu>li>a .nav-text{margin-top:5px}[data-layout=horizontal][data-sidebar-style=compact] .deznav .metismenu>li>a>i{width:auto;height:auto;line-height:1;padding:0;background:transparent;border-radius:0;margin:0}[data-layout=horizontal][data-sidebar-style=compact] .deznav .metismenu>li li{text-align:left}[data-sidebar-style=mini][data-layout=horizontal] .nav-header{width:7.75rem;padding-left:40px;padding-right:40px}[data-sidebar-style=mini][data-layout=horizontal] .nav-header .brand-logo{justify-content:start;padding-left:0;padding-right:0}[data-sidebar-style=mini][data-layout=horizontal] .header{width:100%;padding-left:7.75rem}[data-sidebar-style=mini][data-layout=horizontal] .metismenu>li a{width:auto}[data-sidebar-style=mini][data-layout=horizontal] .metismenu>li:hover a .nav-text{display:none}[data-header-position=fixed][data-layout=horizontal][data-sidebar-position=fixed][data-sidebar-style=compact] .content-body{padding-top:13.125rem}[data-sidebar-position=fixed][data-layout=horizontal] .deznav.fixed{position:fixed;padding:0 15px;left:0;top:0;border-radius:0;width:100%}}@media (min-width:767px){[data-sidebar-style=compact] .nav-header{width:11.25rem}[data-sidebar-style=compact] .deznav .header-profile{margin-bottom:5px}[data-sidebar-style=compact] .deznav .header-profile>a.nav-link{display:block;text-align:center;border:0}[data-sidebar-style=compact] .deznav .header-profile>a.nav-link img{margin-bottom:5px}[data-sidebar-style=compact] .deznav .header-profile>a.nav-link .header-info{margin-left:0!important;text-align:center;display:none}[data-sidebar-style=compact] .deznav .header-profile>a.nav-link .header-info .small,[data-sidebar-style=compact] .deznav .header-profile>a.nav-link .header-info small{text-align:center!important}[data-sidebar-style=compact] .deznav .header-profile .dropdown-menu{min-width:11rem}[data-sidebar-style=compact] .deznav .header-profile a svg{display:unset!important}[data-sidebar-style=compact] .deznav .nav-user{display:none}[data-sidebar-style=compact] .deznav .metismenu li{text-align:center}[data-sidebar-style=compact] .deznav .metismenu li a{padding:.7rem .5rem}[data-sidebar-style=compact] .deznav .metismenu li a svg{max-width:21px;max-height:21px;display:block;margin-left:auto;margin-right:auto}[data-sidebar-style=compact] .deznav .metismenu li a i{-webkit-transition:all .5s;-ms-transition:all .5s;transition:all .5s}[data-sidebar-style=compact] .deznav .metismenu li ul:after{content:none}[data-sidebar-style=compact] .deznav .metismenu li>a{background:transparent!important;box-shadow:none;font-size:15px}[data-sidebar-style=compact] .deznav .copyright,[data-sidebar-style=compact] .deznav .plus-box{display:none}[data-sidebar-style=compact] .deznav .copyright{padding:0 20px;margin-top:20px}[data-sidebar-style=compact] .nav-text{display:inline-block;margin-top:.3125rem}[data-sidebar-style=compact] .nav-badge,[data-sidebar-style=compact] .nav-label.first{display:none}[data-sidebar-style=compact] .footer{padding-left:12.5rem}[data-sidebar-style=compact] .content-body{margin-left:11.4rem}[data-sidebar-style=compact][data-theme-version=dark][data-layout=horizontal] .deznav .metismenu li>a i{color:#fff}[data-sidebar-style=compact][data-theme-version=dark][data-layout=vertical] .deznav .metismenu li.mm-active>a i{background:var(--primary);color:#fff}[data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu li:hover>a i{background:var(--rgba-primary-1);color:var(--primary)}}[data-layout=horizontal][data-sidebar-style=compact] .footer{padding-left:0}[data-layout=horizontal][data-sidebar-style=compact] .content-body{margin-left:0}[data-layout=horizontal][data-sidebar-style=compact] .deznav{margin-bottom:0}[data-layout=horizontal][data-sidebar-style=compact] .nav-header{width:21.75rem}[data-layout=horizontal][data-sidebar-style=compact] .nav-header .brand-logo{padding-left:40px;padding-right:40px}[data-layout=vertical][data-sidebar-style=compact] .deznav{width:11.25rem}[data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu ul{margin-left:0;border:0;background:rgba(0,0,0,.02);padding:10px 0}[data-theme-version=dark][data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu ul{background:255,255,255,.05}[data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu ul a:before{content:none}[data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu ul ul a{padding:.625rem .9375rem}[data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu>li>a{padding:1.2rem .5rem}[data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu>li>a.has-arrow:after{top:1px;display:inline-block;right:auto;margin-left:5px;position:relative;width:7px;height:7px;border-width:2px 0 0 2px}[direction=rtl][data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu>li>a.has-arrow:after{left:auto;margin-left:0;margin-right:5px}@media (min-width:767px){[data-sidebar-style=icon-hover][data-layout=horizontal] .header .header-content{padding-left:1.875rem}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .header-profile,[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu li.mm-active>ul{display:none}[data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .deznav .header-profile,[data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .deznav .metismenu li.mm-active>ul{display:block}[data-sidebar-style=icon-hover][data-layout=vertical] .nav-header{width:7rem;border-radius:0 0 0 0!important}[data-sidebar-style=icon-hover][data-layout=vertical] .nav-header .brand-logo{padding-left:30px}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .nav-header .brand-logo{padding-left:30px;padding-right:30px}[data-sidebar-style=icon-hover][data-layout=vertical] .nav-header .brand-logo .logo-abbr{display:block}[data-sidebar-style=icon-hover][data-layout=vertical] .nav-header .brand-logo .brand-title,[data-sidebar-style=icon-hover][data-layout=vertical] .nav-header .nav-control{display:none}[data-sidebar-style=icon-hover][data-layout=vertical] .header{padding-left:7rem}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .header{padding-right:7rem;padding-left:.9375rem}[data-sidebar-style=icon-hover][data-layout=vertical] .header .header-content{padding-left:2rem}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .header .header-content{padding-right:1.375rem;padding-left:0}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav{overflow:visible;position:absolute;left:-13.5rem}}@media only screen and (min-width:767px) and (min-width:767px) and (max-width:1400px){[data-sidebar-style=icon-hover][data-layout=vertical] .deznav{left:-10rem}}@media (min-width:767px){[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .deznav{left:auto;right:-14.563rem}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .nav-label{display:none}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .header-profile img{order:1}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .header-profile .header-info{margin-left:0!important;padding-left:0!important;margin-right:10px}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu>li{padding:0 25px}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu>li>a{display:flex;justify-content:space-between;padding:20px;border-radius:1rem}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu>li>a>svg{order:1;margin-right:0;margin-top:0;padding-right:0;height:auto;width:auto;line-height:1}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu>li>a>i,[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu>li>a>svg{padding-left:0;padding-right:0}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu>li:hover>a{background:var(--rgba-primary-1);color:var(--primary)}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu>li:hover>a i{color:var(--primary)}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu ul{border-left:0;padding-left:0;padding-right:0}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu ul{padding-right:0;padding-left:0}[data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu ul{border-color:#2e2e42}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu ul:after{left:auto;right:28px}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu ul:after{left:28px;right:auto}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu ul a{position:relative;padding-left:3.3rem}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu ul a{padding-right:3.3rem}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu ul a:before{left:20px;right:auto}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu ul a:before{right:auto;left:-5px}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu .has-arrow:after{right:5rem;opacity:0}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .deznav .metismenu .has-arrow:after{right:auto;left:5rem}[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .copyright,[data-sidebar-style=icon-hover][data-layout=vertical] .deznav.mm-show,[data-sidebar-style=icon-hover][data-layout=vertical] .deznav .plus-box{display:none}[data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .nav-header{width:20.5rem}[data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .nav-header .brand-logo{padding-left:1.6rem}[data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .nav-header .brand-logo .brand-title{display:block}}@media only screen and (min-width:767px) and (max-width:1400px){[data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .nav-header{width:17rem}}@media (min-width:767px){[data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle.mm-show{display:block}[data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .header{padding-left:4.38rem}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .header{padding-right:4.38rem;padding-left:.9375rem}[data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .deznav{left:0}[data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .deznav .metismenu .has-arrow:after{opacity:1}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .iconhover-toggle .deznav{left:auto;right:0}[data-sidebar-style=icon-hover][data-layout=vertical] .content-body{margin-left:7rem}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .content-body{margin-left:0;margin-right:7rem}[data-sidebar-style=icon-hover][data-layout=vertical] .footer{padding-left:7rem}[direction=rtl][data-sidebar-style=icon-hover][data-layout=vertical] .footer{margin-left:0;margin-right:7rem}}@media (min-width:767px){[data-sidebar-style=modern] .nav-header{width:10.625rem}[data-sidebar-style=modern] .nav-header .brand-logo{justify-content:center}[data-sidebar-style=modern] .deznav .header-profile{margin-bottom:5px}[data-sidebar-style=modern] .deznav .header-profile>a.nav-link{display:block;text-align:center;margin:0 -10px 15px;padding:15px 10px!important;border-radius:1.75rem}[data-sidebar-style=modern] .deznav .header-profile>a.nav-link img{margin-bottom:5px}[data-sidebar-style=modern] .deznav .header-profile>a.nav-link .header-info{margin-left:0!important;text-align:center;display:none}[data-sidebar-style=modern] .deznav .header-profile>a.nav-link .header-info .small,[data-sidebar-style=modern] .deznav .header-profile>a.nav-link .header-info small{text-align:center!important}[data-sidebar-style=modern] .deznav .metismenu>li{text-align:center}[data-sidebar-style=modern] .deznav .metismenu>li>a{padding:20px 15px;margin:2px 0;-webkit-transition:all .5s;-ms-transition:all .5s;transition:all .5s}[data-sidebar-style=modern] .deznav .metismenu>li>a:after{display:none}[data-sidebar-style=modern] .deznav .metismenu>li>a.mm-active>a,[data-sidebar-style=modern] .deznav .metismenu>li>a:active>a,[data-sidebar-style=modern] .deznav .metismenu>li>a:focus>a,[data-sidebar-style=modern] .deznav .metismenu>li>a:hover>a{background-color:var(--primary-dark)}[data-sidebar-style=modern] .deznav .metismenu>li.mm-active,[data-sidebar-style=modern] .deznav .metismenu>li:hover{padding:0}[data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background:var(--rgba-primary-1);color:var(--primary);border-radius:1rem}[data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a i,[data-sidebar-style=modern] .deznav .metismenu>li:hover>a i{color:var(--primary)}[data-sidebar-style=modern] .deznav .metismenu>li li{text-align:left}[direction=rtl][data-sidebar-style=modern] .deznav .metismenu>li li{text-align:right}[data-sidebar-style=modern] .deznav .metismenu li a{padding:.625rem .9375rem;font-size:15px}[data-sidebar-style=modern] .deznav .metismenu li ul:after{content:none}[data-sidebar-style=modern] .deznav .metismenu li>ul{height:auto!important}[data-sidebar-style=modern] .deznav .metismenu .nav-label,[data-sidebar-style=modern] .deznav .nav-label{display:none}[data-sidebar-style=modern] .deznav .nav-text{display:block;margin-top:.3125rem}[data-sidebar-style=modern] .deznav .copyright,[data-sidebar-style=modern] .deznav .plus-box{display:none}[data-sidebar-style=modern] .footer{padding-left:11.9rem}[data-sidebar-style=modern] .content-body{margin-left:10.9rem}[data-sidebar-style=modern][data-layout=horizontal] .deznav .metismenu li>a i{padding:0;margin:0}[data-sidebar-style=modern][data-layout=vertical] .deznav{width:10.625rem;left:0}[direction=rtl][data-sidebar-style=modern][data-layout=vertical] .deznav{left:auto;right:0}[data-sidebar-style=modern][data-layout=vertical] .deznav .deznav-scroll,[data-sidebar-style=modern][data-layout=vertical] .deznav .slimScrollDiv{overflow:visible!important}[data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu{padding:10px 30px}[data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu>li>a{padding:22px .6em 15px!important}[data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu>li>a i{padding:0;height:auto;width:auto;line-height:1;margin:0 0 5px}[data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu>li>ul{display:none;padding:1.875rem .9375rem}[data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu li{position:relative}[data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu li a{padding:.625rem 1.5rem}[data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu li a:before{content:none}[data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu li ul{position:absolute;left:105%;top:0;bottom:auto;background-color:#fff;border:1px solid #f5f5f5;width:200px}[data-theme-version=dark][data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu li ul{background:#212130;box-shadow:0 0 13px 0 rgba(0,0,0,.1)}[direction=rtl][data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu li ul{left:auto;right:105%}[data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu li:hover>ul{display:block;left:100%;padding:1rem 0;margin-left:0;border:0;box-shadow:5px 5px 30px 0 rgba(20,0,30,.1);border-radius:1.75rem}[data-theme-version=dark][data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu li:hover>ul{box-shadow:5px 5px 30px 0 rgba(20,0,30,.1)}[direction=rtl][data-sidebar-style=modern][data-layout=vertical] .deznav .metismenu li:hover>ul{left:auto;right:100%;box-shadow:-5px 5px 30px 0 rgba(20,0,30,.1)}[data-sidebar-style=modern][data-layout=vertical] .deznav .nav-label{display:none}[data-sidebar-style=modern][data-layout=vertical] .deznav .nav-text{display:block;margin-top:0}[data-sidebar-style=modern][data-layout=vertical] .nav-control{right:-4.25rem}[data-sidebar-style=modern][data-layout=vertical] .header .header-content{padding-left:6rem}[data-sidebar-style=modern][data-layout=vertical] .menu-toggle .deznav,[data-sidebar-style=modern][data-layout=vertical] .menu-toggle .nav-header{left:-10.625rem}[data-sidebar-style=modern][data-layout=vertical] .menu-toggle .header{padding-left:0}[data-sidebar-style=modern][data-layout=vertical] .menu-toggle .content-body{margin-left:0}[data-sidebar-style=modern][data-layout=horizontal] .nav-header{width:21.75rem}[data-sidebar-style=modern][data-layout=horizontal] .header{padding-left:21.75rem}[data-sidebar-style=modern][data-layout=horizontal] .content-body,[data-sidebar-style=modern][data-layout=horizontal] .footer{margin-left:0}[data-sidebar-style=modern][data-layout=horizontal] .deznav .metismenu>li>a{padding:15px 25px 12px;margin:0 2px}[data-sidebar-style=modern][data-layout=horizontal] .deznav .metismenu>li>ul{top:4.8rem}[data-sidebar-style=modern][data-layout=horizontal][data-container=boxed] .deznav .metismenu>li>a{padding:.8125rem 1.25rem}}[data-sidebar-style=overlay][data-layout=vertical] .deznav{border-radius:0 0 0 0!important}@media only screen and (max-width:767px){[data-sidebar-style=overlay][data-layout=vertical] .deznav{border-radius:0 0 0 0!important}}[data-sidebar-style=overlay][data-layout=vertical] .nav-header{border-radius:0}[data-sidebar-style=overlay][data-layout=vertical] .menu-toggle .nav-header{border-radius:0 0 0 0}[data-sidebar-style=overlay] .deznav{left:-100%;-webkit-transition:all .5s;-ms-transition:all .5s;transition:all .5s;box-shadow:0 0 10px rgba(0,0,0,.2)}[data-sidebar-style=overlay] .deznav .metismenu>li{padding:0 30px}[data-sidebar-style=overlay] .deznav .metismenu>li>a{font-size:16px;padding:20px;color:#7f7184;border-radius:1rem;-webkit-transition:all .5s;-ms-transition:all .5s;transition:all .5s}[data-sidebar-style=overlay] .deznav .metismenu>li>a i{height:auto;width:auto;line-height:1}[data-sidebar-style=overlay] .deznav .metismenu>li:hover>a,[data-sidebar-style=overlay] .deznav .metismenu>li:hover>a i{color:var(--primary)}[data-sidebar-style=overlay] .deznav .metismenu>li.mm-active>a{background:var(--rgba-primary-1);color:var(--primary)}[data-sidebar-style=overlay] .deznav .metismenu>li.mm-active>a i{color:var(--primary)}@media only screen and (max-width:575px){[data-sidebar-style=overlay] .deznav .metismenu>li{padding:0 15px}}[data-sidebar-style=overlay] .deznav .metismenu ul a{padding-top:.5rem;padding-bottom:.5rem;position:relative;font-size:15px;padding-left:4rem}[data-sidebar-style=overlay] .deznav .metismenu ul a:before{left:25px}[direction=rtl][data-sidebar-style=overlay] .deznav{left:auto;right:-100%}@media only screen and (max-width:767px){[data-sidebar-style=overlay] .deznav .metismenu>li>a{font-size:14px;padding:12px 14px}[data-sidebar-style=overlay] .deznav .metismenu>li>a i{font-size:18px}[data-sidebar-style=overlay] .deznav .metismenu ul li a{padding-left:3.4rem}}[data-sidebar-style=overlay] .content-body{margin-left:0}[data-sidebar-style=overlay] .nav-header{position:absolute}[data-sidebar-style=overlay] .nav-header .hamburger.is-active{left:0}[data-sidebar-style=overlay] .nav-header .hamburger.is-active .line{background-color:var(--primary)}[data-sidebar-style=overlay] .menu-toggle .nav-header{position:absolute;left:auto}[data-sidebar-style=overlay] .menu-toggle .deznav{left:0}[direction=rtl][data-sidebar-style=overlay] .menu-toggle .deznav{left:auto;right:0}[data-sidebar-style=overlay] .footer{padding-left:0}[data-sidebar-position=fixed][data-header-position=fixed] .nav-header,[data-sidebar-style=overlay][data-header-position=fixed] .nav-header{position:fixed}[data-sidebar-position=fixed][data-layout=vertical] .nav-header{position:fixed;border-top-left-radius:0;border-top-right-radius:0;box-shadow:7px -7px 25px hsla(0,0%,94.5%,.5)}[data-sidebar-position=fixed][data-layout=vertical] .deznav{position:fixed;border-bottom-left-radius:0;border-bottom-right-radius:0}[data-sidebar-position=fixed][data-layout=vertical] .deznav .deznav-scroll{border-top-left-radius:0;border-top-right-radius:0}[data-sidebar-position=fixed][data-layout=vertical] .menu-toggle .deznav{position:fixed}[data-layout=vertical] .nav-header{border-top-left-radius:0;border-top-right-radius:0}[data-layout=vertical] .deznav{border-bottom-left-radius:0;border-bottom-right-radius:0}[data-header-position=fixed][data-sidebar-position=fixed][data-sidebar-style=icon-hover][data-layout=vertical][data-container=boxed] .deznav,[data-header-position=fixed][data-sidebar-position=fixed][data-sidebar-style=icon-hover][data-layout=vertical][data-container=wide-boxed] .deznav,[data-header-position=fixed][data-sidebar-position=fixed][data-sidebar-style=overlay][data-layout=vertical][data-container=boxed] .deznav,[data-header-position=fixed][data-sidebar-position=fixed][data-sidebar-style=overlay][data-layout=vertical][data-container=wide-boxed] .deznav,[data-sidebar-style=icon-hover][data-layout=vertical][data-container=boxed] .deznav,[data-sidebar-style=icon-hover][data-layout=vertical][data-container=wide-boxed] .deznav,[data-sidebar-style=overlay][data-layout=vertical][data-container=boxed] .deznav,[data-sidebar-style=overlay][data-layout=vertical][data-container=wide-boxed] .deznav{position:absolute}.sidebar-right{right:-50rem;position:fixed;top:0;width:50rem;background-color:#fff;margin-top:3.5rem;transition:all .5s ease-in-out;border-radius:1.75rem;z-index:9999}.sidebar-right .bg-label-pattern{background:transparent;background-image:url(../images/pattern/pattern5.png);background-size:130%}.sidebar-right .bootstrap-select{height:48px;border-radius:6px}.sidebar-right .bootstrap-select .btn{padding:12px 15px;font-size:15px;border-color:#d1d1d1;border-radius:6px}.sidebar-right .sidebar-right-trigger{position:absolute;z-index:9;top:14.75rem;right:100%;background-color:#2258bf;color:#fff;display:inline-block;height:3rem;width:3rem;text-align:center;font-size:1.75rem;line-height:3rem;border-radius:5px 0 0 5px;box-shadow:-5px 3px 5px 0 hsla(0,0%,46.7%,.15)}[data-theme-version=dark] .sidebar-right .sidebar-right-trigger{color:#fff}@media only screen and (max-width:767px){.sidebar-right .sidebar-right-trigger{display:none}}[direction=rtl] .sidebar-right .slimScrollDiv{overflow:visible!important}.sidebar-right .sidebar-close-trigger{position:absolute;z-index:2;font-size:28px;top:0;right:-48px;height:3rem;width:3rem;line-height:3rem;text-align:center;background:#000;color:#fff}.sidebar-right.show{right:5.25rem;box-shadow:0 0 50px rgba(0,0,0,.2);z-index:9999}.sidebar-right.show .bg-overlay{position:fixed;width:100%;cursor:pointer;height:100%;top:0;left:0;background:rgba(0,0,0,.2)}.sidebar-right .card-tabs .nav-tabs{justify-content:space-between;position:sticky;top:0;width:100%;border-bottom:4px solid var(--rgba-primary-1);background-color:#fff;z-index:2}.sidebar-right .card-tabs .nav-tabs .nav-item{margin-bottom:0;flex:1}.sidebar-right .card-tabs .nav-tabs .nav-item .nav-link{border:0;font-size:1.125rem;position:relative;text-align:center;border-radius:0;margin:0;background-color:#fff}.sidebar-right .card-tabs .nav-tabs .nav-item .nav-link.active{background:var(--rgba-primary-1);color:#000}[data-theme-version=dark] .sidebar-right .card-tabs .nav-tabs .nav-item .nav-link.active{border-right:none;border-left:none;border-top:none}.sidebar-right .sidebar-right-inner>.h4,.sidebar-right .sidebar-right-inner>h4{padding:10px 20px;display:flex;justify-content:space-between;align-items:center;color:#000;background:#fff;margin:0}.sidebar-right .tab-content{padding:1.25rem 1.25rem 0;min-height:370px;background:#fff}.sidebar-right .tab-content .tab-pane .admin-settings .row>div{margin-bottom:20px}.sidebar-right .tab-content .tab-pane .admin-settings p{color:#353535;font-weight:500;margin-bottom:8px;font-size:16px}.sidebar-right .tab-content .tab-pane .admin-settings input[type=radio]{display:none}.sidebar-right .tab-content .tab-pane .admin-settings input[type=radio]+label{display:inline-block;width:35px;height:35px;cursor:pointer;transition:all .1s ease;border-radius:4px;margin-right:5px;margin-bottom:3px}.sidebar-right .tab-content .tab-pane .admin-settings input[type=radio]:checked+label{position:relative}.sidebar-right .tab-content .tab-pane .admin-settings input[type=radio]:checked+label:after{height:33px;width:33px;left:-4px;top:-4px;content:\"\";position:absolute;background-color:inherit;border-radius:6px;opacity:.4}.sidebar-right #header_color_1+label,.sidebar-right #nav_header_color_1+label,.sidebar-right #primary_color_1+label,.sidebar-right #sidebar_color_1+label{background-color:#fff}.sidebar-right #header_color_2+label,.sidebar-right #nav_header_color_2+label,.sidebar-right #primary_color_2+label,.sidebar-right #sidebar_color_2+label{background-color:#6610f2}.sidebar-right #header_color_3+label,.sidebar-right #nav_header_color_3+label,.sidebar-right #primary_color_3+label,.sidebar-right #sidebar_color_3+label{background-color:#2258bf}.sidebar-right #header_color_4+label,.sidebar-right #nav_header_color_4+label,.sidebar-right #primary_color_4+label,.sidebar-right #sidebar_color_4+label{background-color:#4d06a5}.sidebar-right #header_color_5+label,.sidebar-right #nav_header_color_5+label,.sidebar-right #primary_color_5+label,.sidebar-right #sidebar_color_5+label{background-color:#dc3545}.sidebar-right #header_color_6+label,.sidebar-right #nav_header_color_6+label,.sidebar-right #primary_color_6+label,.sidebar-right #sidebar_color_6+label{background-color:#fd7e14}.sidebar-right #header_color_7+label,.sidebar-right #nav_header_color_7+label,.sidebar-right #primary_color_7+label,.sidebar-right #sidebar_color_7+label{background-color:#ffc107}.sidebar-right #header_color_8+label,.sidebar-right #nav_header_color_8+label,.sidebar-right #primary_color_8+label,.sidebar-right #sidebar_color_8+label{background-color:#fff}.sidebar-right #header_color_9+label,.sidebar-right #nav_header_color_9+label,.sidebar-right #primary_color_9+label,.sidebar-right #sidebar_color_9+label{background-color:#20c997}.sidebar-right #header_color_10+label,.sidebar-right #nav_header_color_10+label,.sidebar-right #primary_color_10+label,.sidebar-right #sidebar_color_10+label{background-color:#17a2b8}.sidebar-right #header_color_11+label,.sidebar-right #nav_header_color_11+label,.sidebar-right #primary_color_11+label,.sidebar-right #sidebar_color_11+label{background-color:#94618e}.sidebar-right #header_color_12+label,.sidebar-right #nav_header_color_12+label,.sidebar-right #primary_color_12+label,.sidebar-right #sidebar_color_12+label{background-color:#343a40}.sidebar-right #header_color_13+label,.sidebar-right #nav_header_color_13+label,.sidebar-right #primary_color_13+label,.sidebar-right #sidebar_color_13+label{background-color:#2a2a2a}.sidebar-right #header_color_14+label,.sidebar-right #nav_header_color_14+label,.sidebar-right #primary_color_14+label,.sidebar-right #sidebar_color_14+label{background-color:#4885ed}.sidebar-right #header_color_15+label,.sidebar-right #nav_header_color_15+label,.sidebar-right #primary_color_15+label,.sidebar-right #sidebar_color_15+label{background-color:#4cb32b}.sidebar-right #header_color_1+label,.sidebar-right #nav_header_color_1+label,.sidebar-right #primary_color_1+label,.sidebar-right #sidebar_color_1+label{border:1px solid #c4c4c4}.sidebar-right.style-1{height:100vh;width:250px;margin-top:0;right:-250px}.sidebar-right.style-1 .sidebar-right-inner{background:#fff}.sidebar-right.style-1 .sidebar-right-trigger{top:12.4rem}.sidebar-right.style-1.show{right:0}.sidebar-right.style-1.show .sidebar-right-trigger{display:block}@media only screen and (max-width:991px){.sidebar-right{width:75%}}@keyframes bounce{0%{transform:translateX(-8%);-webkit-transform:translateX(-8%)}50%{transform:translateX(8%);-webkit-transform:translateX(8%)}to{transform:translateX(-8%);-webkit-transform:translateX(-8%)}}@-webkit-keyframes bounce{0%{transform:translateX(-8%);-webkit-transform:translateX(-8%)}50%{transform:translateX(8%);-webkit-transform:translateX(8%)}to{transform:translateY(-8%);-webkit-transform:translateY(-8%)}}@media only screen and (max-width:1400px){.nice-select.wide{line-height:32px}}.nav-user{background:var(--primary);margin-bottom:10px;padding:20px 25px 15px}@media only screen and (min-width:768px) and (max-width:1199px){.nav-user{padding:20px 15px 15px}}.nav-user img{width:35px;height:35px}@media only screen and (min-width:768px) and (max-width:1199px){.nav-user img{width:35px;height:35px;margin-bottom:10px}}.nav-user .h5,.nav-user h5{margin-left:10px;margin-bottom:3px;color:#fff}@media only screen and (min-width:768px) and (max-width:1199px){.nav-user .h5,.nav-user h5{display:none}}[data-sibebarbg=color_2] .nav-user .h5,[data-sibebarbg=color_2] .nav-user h5{color:#fff}.nav-user p{margin-left:10px;margin-bottom:8px;color:#afcff7}@media only screen and (min-width:768px) and (max-width:1199px){.nav-user p{display:none}}@media only screen and (min-width:768px) and (max-width:1199px){.nav-user i{margin-top:15px;display:block}}.menu-toggle .nav-user{padding:20px 15px 15px}.menu-toggle .nav-user img{width:35px;height:35px;margin-bottom:10px}.menu-toggle .nav-user .h5,.menu-toggle .nav-user h5,.menu-toggle .nav-user p{display:none}.menu-toggle .nav-user i{margin-top:15px;display:block}.menu-toggle .nav-user .dropdown-menu{left:45px!important;top:22px!important}.chatbox{width:340px;height:100vh;position:fixed;right:-500px;top:0;z-index:999;background:#fff;box-shadow:0 0 30px 0 rgba(82,63,105,.15);-webkit-transition:all .8s;-ms-transition:all .8s;transition:all .8s}[data-theme-version=dark] .chatbox{background:#212130}.chatbox .chatbox-close{position:absolute;-webkit-transition:all .2s;-ms-transition:all .2s;transition:all .2s;width:0;height:100%;right:340px;background:#000;z-index:1;opacity:.1;cursor:pointer}.chatbox .card-fotter{padding:.75rem 1rem}.chatbox .card-body{padding:1rem}.chatbox.active{right:0}.chatbox.active .chatbox-close{width:100vw}.chatbox .type_msg{padding-top:10px}.chatbox .nav{padding:1rem 1rem 0;background:var(--rgba-primary-1);border:0;justify-content:space-between}.chatbox .nav .nav-link{color:var(--primary);opacity:.7;text-transform:uppercase}.chatbox .nav .nav-link.active,.chatbox .nav .nav-link:hover{background:transparent;color:var(--primary);opacity:1;border-color:var(--primary)}.chatbox .img_cont{width:40px;border-radius:40px;margin-right:10px;position:relative;height:40px;background:#eee;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;min-width:40px;min-height:40px}.chatbox .img_cont .icon{color:#fff}.chatbox .img_cont.primary{color:var(--primary)}.chatbox .img_cont.primary,[data-theme-version=dark] .chatbox .img_cont.primary{background:var(--rgba-primary-1)}.chatbox .img_cont.warning{background:#ffeedf;color:#ffa755}[data-theme-version=dark] .chatbox .img_cont.warning{background:rgba(255,167,85,.1)}.chatbox .img_cont.success{background:#e7fbe6;color:#68e365}[data-theme-version=dark] .chatbox .img_cont.success{background:rgba(104,227,101,.1)}.chatbox .img_cont.info{background:#f5f0f9;color:#b48dd3}[data-theme-version=dark] .chatbox .img_cont.info{background:rgba(180,141,211,.1)}.chatbox .img_cont img{width:100%}.chatbox .img_cont .online_icon{background:#68e365;position:absolute;width:12px;height:12px;border-radius:15px;right:-1px;bottom:0;border:2px solid #fff}.chatbox .img_cont .online_icon.offline{background:#f72b50}.chatbox .card{box-shadow:none}.chatbox .search{height:40px}.chatbox .user_info span{font-size:15px;color:#000;font-weight:500;line-height:1;margin-bottom:5px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;max-width:170px}[data-theme-version=dark] .chatbox .user_info span{color:#fff}.chatbox .user_info p{font-size:13px;margin-bottom:0;line-height:1;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;max-width:170px}.chatbox .contacts li{padding:7px 1rem;border-bottom:1px solid #eee;cursor:pointer}[data-theme-version=dark] .chatbox .contacts li{border-color:#2e2e42}.chatbox .contacts li>div{display:flex;align-items:center}.chatbox .contacts li:hover{background:#f4f7ff}[data-theme-version=dark] .chatbox .contacts li:hover{background-color:#171622}.chatbox .contacts .name-first-letter{background:#f6f6f6;padding:4px 1rem;font-weight:700;color:#000;position:sticky;top:0;z-index:1}[data-theme-version=dark] .chatbox .contacts .name-first-letter{color:#fff;background:#171622}.chatbox .contacts_body{height:calc(100vh - 120px)}.chatbox .card-header{background:#f4f7ff;padding:15px 20px;justify-content:center}.chatbox .card-header .h6,.chatbox .card-header h6{font-size:15px}.chatbox .card-header p{line-height:1.2;font-size:12px;color:#969ba0}.chatbox .chat-list-header{justify-content:space-between;background:#fff}[data-theme-version=dark] .chatbox .chat-list-header{background:#212130}.chatbox .chat-list-header a{text-align:center;width:30px;height:30px;background:#f6f6f6;border-radius:6px;line-height:30px;display:block}[data-theme-version=dark] .chatbox .chat-list-header a{background:var(--rgba-primary-1)}[data-theme-version=dark] .chatbox .chat-list-header a svg g [fill]{fill:#fff}.chatbox .img_cont_msg{width:30px;height:30px;display:block;max-width:30px;min-width:30px}.chatbox .img_cont_msg img{width:100%}.chatbox .msg_cotainer{background:var(--primary);margin-left:10px;border-radius:0 1.75rem 1.75rem 1.75rem;padding:10px 15px;color:#fff;position:relative}.chatbox .msg_cotainer .msg_time{display:block;font-size:11px;color:#fff;margin-top:5px;opacity:.5}.chatbox .msg_cotainer:after{content:\"\";position:absolute;left:-10px;border-right:10px solid var(--primary);border-bottom:10px solid transparent;border-top:0 solid;top:0}.chatbox .msg_cotainer_send{background:#f6f6f6;padding:10px 15px;border-radius:6px 0 6px 6px;margin-right:10px;color:#222;position:relative;text-align:right}[data-theme-version=dark] .chatbox .msg_cotainer_send{background:#171622;color:#fff}.chatbox .msg_cotainer_send .msg_time_send{display:block;font-size:11px;text-align:right;margin-top:5px;opacity:.6}.chatbox .msg_cotainer_send:after{content:\"\";position:absolute;right:-10px;border-left:10px solid #f6f6f6;border-bottom:10px solid transparent;border-top:0 solid;top:0}[data-theme-version=dark] .chatbox .msg_cotainer_send:after{border-left:10px solid #171622}.chatbox .type_msg .form-control{padding:10px 0;height:50px;border:0;resize:none}.chatbox .type_msg .form-control:focus{z-index:0}.chatbox .type_msg .btn{font-size:18px;border-radius:38px!important;width:38px;height:38px;padding:0;margin-top:6px}.chatbox .video_cam{margin-left:15px}.chatbox .video_cam span{width:35px;height:35px;background:#10ca93;text-align:center;line-height:35px;border-radius:35px;color:#fff;margin-right:5px;align-self:center;font-size:16px;padding:0 3px;display:inline-block}.chatbox .note_card .contacts li{padding:12px 1rem}@media only screen and (max-width:576px){.chatbox{width:280px}.chatbox .chatbox-close{right:280px}}.dz-demo-panel{right:-380px;position:fixed;top:0;width:380px;background-color:#fff;height:100vh;transition:all .5s ease-in-out;z-index:9999}.dz-demo-panel .dz-demo-trigger{position:absolute;z-index:9;top:21.75rem;right:100%;background-color:#627eea;color:#fff;display:inline-block;height:3rem;width:3rem;text-align:center;font-size:1.75rem;line-height:3rem;border-radius:5px 0 0 5px;box-shadow:-5px 3px 5px 0 hsla(0,0%,46.7%,.15)}@media only screen and (max-width:1023px){.dz-demo-panel .dz-demo-trigger{display:none}}.dz-demo-panel .dz-demo-close{height:30px;color:#fff;width:30px;border-radius:1.75rem;background:rgba(0,0,0,.5);line-height:30px;text-align:center}.dz-demo-panel.show{right:0;box-shadow:0 0 50px rgba(0,0,0,.2);z-index:99999;overflow:hidden}.dz-demo-panel.show .sidebar-right-trigger{display:none}.dz-demo-panel.show .bg-close{position:fixed;z-index:-2;cursor:pointer;width:100%;height:100%;top:0;left:0;background:rgba(0,0,0,.15)}.dz-demo-panel .dz-demo-inner{padding:30px;background:#fff}.dz-demo-panel .dz-demo-content{height:calc(100vh - 140px)}.dz-demo-panel .dz-demo-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dz-demo-panel .dz-demo-header .h4,.dz-demo-panel .dz-demo-header h4{margin-bottom:0;color:#000}.dz-demo-panel .dz-demo-bx{height:200px;overflow:hidden;border:5px solid #efefef;box-shadow:0 0 5px rgba(0,0,0,.1);margin-bottom:10px}.dz-demo-panel .dz-demo-bx.demo-active{border-color:#627eea}.dz-demo-panel .dz-demo-bx.demo-active .overlay-layer{opacity:1}.dz-demo-panel .overlay-bx{position:relative}.dz-demo-panel .overlay-bx .overlay-layer{position:absolute;top:0;bottom:0;left:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(0,0,0,.1);-webkit-transition:all .3s ease;transition:all .3s ease;opacity:0}.dz-demo-panel .overlay-bx:hover .overlay-layer{-webkit-transition:all .3s ease;transition:all .3s ease;opacity:1}:root{--nav-headbg:#fff;--sidebar-bg:#fff;--headerbg:#fff}[data-nav-headerbg=color_2],[data-nav-headerbg=color_2][data-theme-version=dark]{--nav-headbg:#6610f2}[data-nav-headerbg=color_2] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_2][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_2] .nav-header .hamburger .line,[data-nav-headerbg=color_2][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_2][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_2][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_2][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_2][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_3],[data-nav-headerbg=color_3][data-theme-version=dark]{--nav-headbg:#2258bf}[data-nav-headerbg=color_3] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_3][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_3] .nav-header .hamburger .line,[data-nav-headerbg=color_3][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_3][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_3][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_3][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_3][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_4],[data-nav-headerbg=color_4][data-theme-version=dark]{--nav-headbg:#4d06a5}[data-nav-headerbg=color_4] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_4][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_4] .nav-header .hamburger .line,[data-nav-headerbg=color_4][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_4][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_4][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_4][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_4][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_5],[data-nav-headerbg=color_5][data-theme-version=dark]{--nav-headbg:#dc3545}[data-nav-headerbg=color_5] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_5][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_5] .nav-header .hamburger .line,[data-nav-headerbg=color_5][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_5][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_5][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_5][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_5][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_6],[data-nav-headerbg=color_6][data-theme-version=dark]{--nav-headbg:#fd7e14}[data-nav-headerbg=color_6] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_6][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_6] .nav-header .hamburger .line,[data-nav-headerbg=color_6][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_6][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_6][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_6][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_6][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_7],[data-nav-headerbg=color_7][data-theme-version=dark]{--nav-headbg:#ffc107}[data-nav-headerbg=color_7] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_7][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_7] .nav-header .hamburger .line,[data-nav-headerbg=color_7][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_7][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_7][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_7][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_7][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_8],[data-nav-headerbg=color_8][data-theme-version=dark]{--nav-headbg:#fff}[data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_8][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_8][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_8][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_8][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_8][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_8][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_9],[data-nav-headerbg=color_9][data-theme-version=dark]{--nav-headbg:#20c997}[data-nav-headerbg=color_9] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_9][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_9] .nav-header .hamburger .line,[data-nav-headerbg=color_9][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_9][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_9][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_9][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_9][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_10],[data-nav-headerbg=color_10][data-theme-version=dark]{--nav-headbg:#17a2b8}[data-nav-headerbg=color_10] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_10][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_10] .nav-header .hamburger .line,[data-nav-headerbg=color_10][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_10][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_10][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_10][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_10][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_11],[data-nav-headerbg=color_11][data-theme-version=dark]{--nav-headbg:#94618e}[data-nav-headerbg=color_11] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_11][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_11] .nav-header .hamburger .line,[data-nav-headerbg=color_11][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_11][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_11][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_11][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_11][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_12],[data-nav-headerbg=color_12][data-theme-version=dark]{--nav-headbg:#343a40}[data-nav-headerbg=color_12] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_12][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_12] .nav-header .hamburger .line,[data-nav-headerbg=color_12][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_12][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_12][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_12][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_12][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_13],[data-nav-headerbg=color_13][data-theme-version=dark]{--nav-headbg:#2a2a2a}[data-nav-headerbg=color_13] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_13][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_13] .nav-header .hamburger .line,[data-nav-headerbg=color_13][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_13][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_13][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_13][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_13][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_14],[data-nav-headerbg=color_14][data-theme-version=dark]{--nav-headbg:#4885ed}[data-nav-headerbg=color_14] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_14][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_14] .nav-header .hamburger .line,[data-nav-headerbg=color_14][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_14][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_14][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_14][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_14][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-nav-headerbg=color_15],[data-nav-headerbg=color_15][data-theme-version=dark]{--nav-headbg:#4cb32b}[data-nav-headerbg=color_15] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_15][data-theme-version=dark] .nav-header .brand-logo .brand-title path{fill:#fff}[data-nav-headerbg=color_15] .nav-header .hamburger .line,[data-nav-headerbg=color_15][data-theme-version=dark] .nav-header .hamburger .line{background:#fff}[data-nav-headerbg=color_15][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path,[data-nav-headerbg=color_15][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .brand-logo .brand-title path{fill:#000}[data-nav-headerbg=color_15][data-nav-headerbg=color_8] .nav-header .hamburger .line,[data-nav-headerbg=color_15][data-theme-version=dark][data-nav-headerbg=color_8] .nav-header .hamburger .line{background:#000}[data-sibebarbg=color_2],[data-sibebarbg=color_2][data-theme-version=dark]{--sidebar-bg:#6610f2}[data-sibebarbg=color_2] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_2][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#6610f2!important}[data-sibebarbg=color_2][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_2][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_2][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_2][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_2][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_2][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#a471f7}[data-sibebarbg=color_2][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_2][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_2][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_2][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_2][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#8540f5}[data-sibebarbg=color_2][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_2][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#6f1ff3!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_2][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_2][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_2][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_2][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#8540f5!important;color:#fff!important}[data-sibebarbg=color_2] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_2] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_2] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_2] .deznav .metismenu a,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_2] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_2] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_2] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_2] .deznav .metismenu>li>a,[data-sibebarbg=color_2] .deznav .metismenu>li>a i,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_2] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_2] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_2] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_2] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_2] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_2] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_2] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_2][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_2] .copyright,[data-sibebarbg=color_2][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_2][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_2][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_3],[data-sibebarbg=color_3][data-theme-version=dark]{--sidebar-bg:#2258bf}[data-sibebarbg=color_3] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_3][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#2258bf!important}[data-sibebarbg=color_3][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_3][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_3][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_3][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_3][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_3][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#6490e3}[data-sibebarbg=color_3][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_3][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_3][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_3][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_3][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#3871dc}[data-sibebarbg=color_3][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_3][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#245ecc!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_3][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_3][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_3][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_3][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#3871dc!important;color:#fff!important}[data-sibebarbg=color_3] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_3] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_3] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_3] .deznav .metismenu a,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_3] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_3] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_3] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_3] .deznav .metismenu>li>a,[data-sibebarbg=color_3] .deznav .metismenu>li>a i,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_3] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_3] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_3] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_3] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_3] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_3] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_3] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_3][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_3] .copyright,[data-sibebarbg=color_3][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_3][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_3][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_4],[data-sibebarbg=color_4][data-theme-version=dark]{--sidebar-bg:#4d06a5}[data-sibebarbg=color_4] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_4][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#4d06a5!important}[data-sibebarbg=color_4][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_4][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_4][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_4][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_4][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_4][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#7d1af7}[data-sibebarbg=color_4][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_4][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_4][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_4][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_4][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#6408d6}[data-sibebarbg=color_4][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_4][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#5407b4!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_4][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_4][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_4][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_4][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#6408d6!important;color:#fff!important}[data-sibebarbg=color_4] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_4] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_4] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_4] .deznav .metismenu a,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_4] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_4] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_4] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_4] .deznav .metismenu>li>a,[data-sibebarbg=color_4] .deznav .metismenu>li>a i,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_4] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_4] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_4] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_4] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_4] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_4] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_4] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_4][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_4] .copyright,[data-sibebarbg=color_4][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_4][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_4][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_5],[data-sibebarbg=color_5][data-theme-version=dark]{--sidebar-bg:#dc3545}[data-sibebarbg=color_5] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_5][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#dc3545!important}[data-sibebarbg=color_5][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_5][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_5][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_5][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_5][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_5][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#eb8c95}[data-sibebarbg=color_5][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_5][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_5][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_5][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_5][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#e4606d}[data-sibebarbg=color_5][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_5][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#de4251!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_5][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_5][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_5][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_5][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#e4606d!important;color:#fff!important}[data-sibebarbg=color_5] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_5] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_5] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_5] .deznav .metismenu a,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_5] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_5] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_5] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_5] .deznav .metismenu>li>a,[data-sibebarbg=color_5] .deznav .metismenu>li>a i,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_5] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_5] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_5] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_5] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_5] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_5] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_5] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_5][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_5] .copyright,[data-sibebarbg=color_5][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_5][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_5][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_6],[data-sibebarbg=color_6][data-theme-version=dark]{--sidebar-bg:#fd7e14}[data-sibebarbg=color_6] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_6][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#fd7e14!important}[data-sibebarbg=color_6][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_6][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_6][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_6][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_6][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_6][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#feb679}[data-sibebarbg=color_6][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_6][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_6][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_6][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_6][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#fd9a47}[data-sibebarbg=color_6][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_6][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#fd8623!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_6][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_6][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_6][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_6][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#fd9a47!important;color:#fff!important}[data-sibebarbg=color_6] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_6] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_6] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_6] .deznav .metismenu a,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_6] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_6] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_6] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_6] .deznav .metismenu>li>a,[data-sibebarbg=color_6] .deznav .metismenu>li>a i,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_6] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_6] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_6] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_6] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_6] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_6] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_6] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_6][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_6] .copyright,[data-sibebarbg=color_6][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_6][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_6][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_7],[data-sibebarbg=color_7][data-theme-version=dark]{--sidebar-bg:#ffc107}[data-sibebarbg=color_7] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_7][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#ffc107!important}[data-sibebarbg=color_7][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_7][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_7][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_7][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_7][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_7][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#ffdb6d}[data-sibebarbg=color_7][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_7][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_7][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_7][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_7][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#ffce3a}[data-sibebarbg=color_7][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_7][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#ffc516!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_7][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_7][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_7][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_7][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#ffce3a!important;color:#fff!important}[data-sibebarbg=color_7] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_7] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_7] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_7] .deznav .metismenu a,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_7] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_7] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_7] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_7] .deznav .metismenu>li>a,[data-sibebarbg=color_7] .deznav .metismenu>li>a i,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_7] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_7] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_7] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_7] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_7] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_7] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_7] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_7][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_7] .copyright,[data-sibebarbg=color_7][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_7][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_7][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_8],[data-sibebarbg=color_8][data-theme-version=dark]{--sidebar-bg:#fff}[data-sibebarbg=color_8] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_8][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#fff!important}[data-sibebarbg=color_8][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_8][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_8][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_8][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_8][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_8][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#fff}[data-sibebarbg=color_8][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_8][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#fff!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_8][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_8][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_8][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_8][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#fff!important;color:#fff!important}[data-sibebarbg=color_8] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_8] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_8] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_8] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_8] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_8] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_8] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_8] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_8] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_8] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_8] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_8] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_8][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_8] .copyright,[data-sibebarbg=color_8][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_8][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_8][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_9],[data-sibebarbg=color_9][data-theme-version=dark]{--sidebar-bg:#20c997}[data-sibebarbg=color_9] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_9][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#20c997!important}[data-sibebarbg=color_9][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_9][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_9][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_9][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_9][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_9][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#68e7c1}[data-sibebarbg=color_9][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_9][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_9][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_9][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_9][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#3ce0af}[data-sibebarbg=color_9][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_9][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#22d6a1!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_9][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_9][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_9][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_9][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#3ce0af!important;color:#fff!important}[data-sibebarbg=color_9] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_9] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_9] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_9] .deznav .metismenu a,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_9] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_9] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_9] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_9] .deznav .metismenu>li>a,[data-sibebarbg=color_9] .deznav .metismenu>li>a i,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_9] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_9] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_9] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_9] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_9] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_9] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_9] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_9][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_9] .copyright,[data-sibebarbg=color_9][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_9][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_9][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_10],[data-sibebarbg=color_10][data-theme-version=dark]{--sidebar-bg:#17a2b8}[data-sibebarbg=color_10] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_10][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#17a2b8!important}[data-sibebarbg=color_10][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_10][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_10][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_10][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_10][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_10][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#4cd3e9}[data-sibebarbg=color_10][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_10][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_10][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_10][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_10][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#1fc8e3}[data-sibebarbg=color_10][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_10][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#19aec6!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_10][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_10][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_10][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_10][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#1fc8e3!important;color:#fff!important}[data-sibebarbg=color_10] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_10] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_10] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_10] .deznav .metismenu a,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_10] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_10] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_10] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_10] .deznav .metismenu>li>a,[data-sibebarbg=color_10] .deznav .metismenu>li>a i,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_10] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_10] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_10] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_10] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_10] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_10] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_10] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_10][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_10] .copyright,[data-sibebarbg=color_10][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_10][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_10][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_11],[data-sibebarbg=color_11][data-theme-version=dark]{--sidebar-bg:#94618e}[data-sibebarbg=color_11] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_11][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#94618e!important}[data-sibebarbg=color_11][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_11][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_11][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_11][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_11][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_11][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#be9dba}[data-sibebarbg=color_11][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_11][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_11][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_11][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_11][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#aa7ea5}[data-sibebarbg=color_11][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_11][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#9c6896!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_11][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_11][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_11][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_11][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#aa7ea5!important;color:#fff!important}[data-sibebarbg=color_11] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_11] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_11] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_11] .deznav .metismenu a,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_11] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_11] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_11] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_11] .deznav .metismenu>li>a,[data-sibebarbg=color_11] .deznav .metismenu>li>a i,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_11] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_11] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_11] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_11] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_11] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_11] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_11] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_11][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_11] .copyright,[data-sibebarbg=color_11][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_11][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_11][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_12],[data-sibebarbg=color_12][data-theme-version=dark]{--sidebar-bg:#343a40}[data-sibebarbg=color_12] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_12][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#343a40!important}[data-sibebarbg=color_12][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_12][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_12][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_12][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_12][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_12][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#626d78}[data-sibebarbg=color_12][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_12][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_12][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_12][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_12][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#4b545c}[data-sibebarbg=color_12][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_12][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#3b4248!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_12][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_12][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_12][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_12][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#4b545c!important;color:#fff!important}[data-sibebarbg=color_12] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_12] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_12] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_12] .deznav .metismenu a,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_12] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_12] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_12] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_12] .deznav .metismenu>li>a,[data-sibebarbg=color_12] .deznav .metismenu>li>a i,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_12] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_12] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_12] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_12] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_12] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_12] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_12] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_12][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_12] .copyright,[data-sibebarbg=color_12][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_12][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_12][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_13],[data-sibebarbg=color_13][data-theme-version=dark]{--sidebar-bg:#2a2a2a}[data-sibebarbg=color_13] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_13][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#2a2a2a!important}[data-sibebarbg=color_13][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_13][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_13][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_13][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_13][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_13][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#5d5d5d}[data-sibebarbg=color_13][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_13][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_13][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_13][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_13][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#444}[data-sibebarbg=color_13][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_13][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#323232!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_13][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_13][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_13][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_13][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#444!important;color:#fff!important}[data-sibebarbg=color_13] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_13] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_13] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_13] .deznav .metismenu a,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_13] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_13] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_13] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_13] .deznav .metismenu>li>a,[data-sibebarbg=color_13] .deznav .metismenu>li>a i,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_13] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_13] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_13] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_13] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_13] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_13] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_13] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_13][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_13] .copyright,[data-sibebarbg=color_13][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_14],[data-sibebarbg=color_14][data-theme-version=dark]{--sidebar-bg:#4885ed}[data-sibebarbg=color_14] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_14][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#4885ed!important}[data-sibebarbg=color_14][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_14][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_14][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_14][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_14][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_14][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#a5c3f6}[data-sibebarbg=color_14][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_14][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_14][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_14][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_14][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#76a4f2}[data-sibebarbg=color_14][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_14][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#568eee!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_14][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_14][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_14][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_14][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#76a4f2!important;color:#fff!important}[data-sibebarbg=color_14] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_14] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_14] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_14] .deznav .metismenu a,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_14] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_14] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_14] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_14] .deznav .metismenu>li>a,[data-sibebarbg=color_14] .deznav .metismenu>li>a i,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_14] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_14] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_14] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_14] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_14] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_14] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_14] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_14][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_14] .copyright,[data-sibebarbg=color_14][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_14][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_14][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_15],[data-sibebarbg=color_15][data-theme-version=dark]{--sidebar-bg:#4cb32b}[data-sibebarbg=color_15] .menu-toggle .deznav .metismenu li>ul,[data-sibebarbg=color_15][data-theme-version=dark] .menu-toggle .deznav .metismenu li>ul{background:#4cb32b!important}[data-sibebarbg=color_15][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li.mm-active>a i{color:#fff}[data-sibebarbg=color_15][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_15][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_15][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_15][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_15][data-sidebar-style=modern] .deznav .metismenu li ul,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu li ul,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu li ul,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li ul,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu li ul{background-color:#85db69}[data-sibebarbg=color_15][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_15][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_15][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_15][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_15][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-sidebar-style=modern] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=compact] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=full][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=icon-hover][data-layout=horizontal] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=modern] .deznav .metismenu>li:hover>a{background-color:#63d140}[data-sibebarbg=color_15][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li a:hover{color:#fff}[data-sibebarbg=color_15][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li>a>i{background:#51bf2e!important;color:hsla(0,0%,100%,.7)}[data-sibebarbg=color_15][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a{box-shadow:none;background:transparent!important;color:#fff!important}[data-sibebarbg=color_15][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_15][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_15][data-theme-version=dark][data-sidebar-style=compact][data-layout=vertical] .deznav .metismenu>li:hover>a i{background:#63d140!important;color:#fff!important}[data-sibebarbg=color_15] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_15] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_15] .deznav .metismenu ul a:hover:before,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-sibebarbg=color_15] .deznav .metismenu a,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu a{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_15] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_15] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_15] .deznav .metismenu li ul a:hover,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu li ul a.mm-active,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu li ul a:focus,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu li ul a:hover{color:#fff}[data-sibebarbg=color_15] .deznav .metismenu>li>a,[data-sibebarbg=color_15] .deznav .metismenu>li>a i,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu>li>a,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu>li>a i{color:hsla(0,0%,100%,.85)!important}[data-sibebarbg=color_15] .deznav .metismenu>li.mm-active>a,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu>li.mm-active>a{background:rgba(0,0,0,.15);color:#fff!important}[data-sibebarbg=color_15] .deznav .metismenu>li.mm-active>a i,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu>li.mm-active>a i{color:#fff!important}[data-sibebarbg=color_15] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:hsla(0,0%,100%,.85) transparent transparent hsla(0,0%,100%,.85)}[data-sibebarbg=color_15] .deznav .header-profile>a.nav-link,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:hsla(0,0%,100%,.3)}[data-sibebarbg=color_15] .deznav .header-profile>a.nav-link .header-info span,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-sibebarbg=color_15] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_15] .deznav .header-profile>a.nav-link .header-info small,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info .small,[data-sibebarbg=color_15][data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info small{color:hsla(0,0%,100%,.8)}[data-sibebarbg=color_15] .copyright,[data-sibebarbg=color_15][data-theme-version=dark] .copyright{color:#fff}[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .metismenu ul a:before,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu ul a:before{background:rgba(0,0,0,.5)}[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .metismenu a,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a:hover{color:#000;background:hsla(0,0%,100%,.15)!important}[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu .has-arrow:after{border-color:rgba(0,0,0,.85) transparent transparent rgba(0,0,0,.85)}[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .metismenu>li>a i,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu>li>a i{color:rgba(0,0,0,.6)!important}[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .copyright p,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .copyright p{color:rgba(0,0,0,.6)}[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .book-box,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .book-box{background:rgba(0,0,0,.4)}[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_15][data-sibebarbg=color_8] .deznav .header-info span,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info .small,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info small,[data-sibebarbg=color_15][data-theme-version=dark][data-sibebarbg=color_8] .deznav .header-info span{color:rgba(0,0,0,.6)!important}[data-headerbg=color_2],[data-headerbg=color_2][data-theme-version=dark]{--headerbg:#6610f2}[data-headerbg=color_2] .search-area .form-control,[data-headerbg=color_2] .search-area .form-control::placeholder,[data-headerbg=color_2] .search-area .input-group-text,[data-headerbg=color_2][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_2][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_2][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_2] .search-area .input-group-append .input-group-text i,[data-headerbg=color_2][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_2] .header-left .search-area .form-control,[data-headerbg=color_2] .header-left .search-area .input-group-text,[data-headerbg=color_2][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_2][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#8540f5}[data-headerbg=color_2] .header-left .search-area .form-control i,[data-headerbg=color_2] .header-left .search-area .input-group-text i,[data-headerbg=color_2][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_2][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_2] .header-right .ai-icon,[data-headerbg=color_2][data-theme-version=dark] .header-right .ai-icon{background-color:#8540f5}[data-headerbg=color_2] .header-right .ai-icon svg path,[data-headerbg=color_2][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_2] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_2][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#8540f5}[data-headerbg=color_2][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_2][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_2][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_2][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_2][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_2][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_2][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_2][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_2][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_2][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_2][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_2][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_2][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_2][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_3],[data-headerbg=color_3][data-theme-version=dark]{--headerbg:#2258bf}[data-headerbg=color_3] .search-area .form-control,[data-headerbg=color_3] .search-area .form-control::placeholder,[data-headerbg=color_3] .search-area .input-group-text,[data-headerbg=color_3][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_3][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_3][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_3] .search-area .input-group-append .input-group-text i,[data-headerbg=color_3][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_3] .header-left .search-area .form-control,[data-headerbg=color_3] .header-left .search-area .input-group-text,[data-headerbg=color_3][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_3][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#3871dc}[data-headerbg=color_3] .header-left .search-area .form-control i,[data-headerbg=color_3] .header-left .search-area .input-group-text i,[data-headerbg=color_3][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_3][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_3] .header-right .ai-icon,[data-headerbg=color_3][data-theme-version=dark] .header-right .ai-icon{background-color:#3871dc}[data-headerbg=color_3] .header-right .ai-icon svg path,[data-headerbg=color_3][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_3] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_3][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#3871dc}[data-headerbg=color_3][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_3][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_3][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_3][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_3][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_3][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_3][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_3][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_3][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_3][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_3][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_3][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_3][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_3][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_4],[data-headerbg=color_4][data-theme-version=dark]{--headerbg:#4d06a5}[data-headerbg=color_4] .search-area .form-control,[data-headerbg=color_4] .search-area .form-control::placeholder,[data-headerbg=color_4] .search-area .input-group-text,[data-headerbg=color_4][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_4][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_4][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_4] .search-area .input-group-append .input-group-text i,[data-headerbg=color_4][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_4] .header-left .search-area .form-control,[data-headerbg=color_4] .header-left .search-area .input-group-text,[data-headerbg=color_4][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_4][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#6408d6}[data-headerbg=color_4] .header-left .search-area .form-control i,[data-headerbg=color_4] .header-left .search-area .input-group-text i,[data-headerbg=color_4][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_4][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_4] .header-right .ai-icon,[data-headerbg=color_4][data-theme-version=dark] .header-right .ai-icon{background-color:#6408d6}[data-headerbg=color_4] .header-right .ai-icon svg path,[data-headerbg=color_4][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_4] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_4][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#6408d6}[data-headerbg=color_4][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_4][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_4][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_4][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_4][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_4][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_4][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_4][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_4][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_4][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_4][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_4][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_4][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_4][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_5],[data-headerbg=color_5][data-theme-version=dark]{--headerbg:#dc3545}[data-headerbg=color_5] .search-area .form-control,[data-headerbg=color_5] .search-area .form-control::placeholder,[data-headerbg=color_5] .search-area .input-group-text,[data-headerbg=color_5][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_5][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_5][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_5] .search-area .input-group-append .input-group-text i,[data-headerbg=color_5][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_5] .header-left .search-area .form-control,[data-headerbg=color_5] .header-left .search-area .input-group-text,[data-headerbg=color_5][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_5][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#e4606d}[data-headerbg=color_5] .header-left .search-area .form-control i,[data-headerbg=color_5] .header-left .search-area .input-group-text i,[data-headerbg=color_5][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_5][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_5] .header-right .ai-icon,[data-headerbg=color_5][data-theme-version=dark] .header-right .ai-icon{background-color:#e4606d}[data-headerbg=color_5] .header-right .ai-icon svg path,[data-headerbg=color_5][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_5] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_5][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#e4606d}[data-headerbg=color_5][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_5][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_5][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_5][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_5][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_5][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_5][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_5][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_5][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_5][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_5][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_5][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_5][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_5][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_6],[data-headerbg=color_6][data-theme-version=dark]{--headerbg:#fd7e14}[data-headerbg=color_6] .search-area .form-control,[data-headerbg=color_6] .search-area .form-control::placeholder,[data-headerbg=color_6] .search-area .input-group-text,[data-headerbg=color_6][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_6][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_6][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_6] .search-area .input-group-append .input-group-text i,[data-headerbg=color_6][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_6] .header-left .search-area .form-control,[data-headerbg=color_6] .header-left .search-area .input-group-text,[data-headerbg=color_6][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_6][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#fd9a47}[data-headerbg=color_6] .header-left .search-area .form-control i,[data-headerbg=color_6] .header-left .search-area .input-group-text i,[data-headerbg=color_6][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_6][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_6] .header-right .ai-icon,[data-headerbg=color_6][data-theme-version=dark] .header-right .ai-icon{background-color:#fd9a47}[data-headerbg=color_6] .header-right .ai-icon svg path,[data-headerbg=color_6][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_6] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_6][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#fd9a47}[data-headerbg=color_6][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_6][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_6][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_6][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_6][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_6][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_6][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_6][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_6][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_6][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_6][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_6][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_6][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_6][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_7],[data-headerbg=color_7][data-theme-version=dark]{--headerbg:#ffc107}[data-headerbg=color_7] .search-area .form-control,[data-headerbg=color_7] .search-area .form-control::placeholder,[data-headerbg=color_7] .search-area .input-group-text,[data-headerbg=color_7][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_7][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_7][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_7] .search-area .input-group-append .input-group-text i,[data-headerbg=color_7][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_7] .header-left .search-area .form-control,[data-headerbg=color_7] .header-left .search-area .input-group-text,[data-headerbg=color_7][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_7][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#ffce3a}[data-headerbg=color_7] .header-left .search-area .form-control i,[data-headerbg=color_7] .header-left .search-area .input-group-text i,[data-headerbg=color_7][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_7][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_7] .header-right .ai-icon,[data-headerbg=color_7][data-theme-version=dark] .header-right .ai-icon{background-color:#ffce3a}[data-headerbg=color_7] .header-right .ai-icon svg path,[data-headerbg=color_7][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_7] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_7][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#ffce3a}[data-headerbg=color_7][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_7][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_7][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_7][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_7][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_7][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_7][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_7][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_7][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_7][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_7][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_7][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_7][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_7][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_8],[data-headerbg=color_8][data-theme-version=dark]{--headerbg:#fff}[data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_8][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_8][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_8][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_8] .search-area .input-group-append .input-group-text i,[data-headerbg=color_8][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_8] .header-left .search-area .form-control,[data-headerbg=color_8] .header-left .search-area .input-group-text,[data-headerbg=color_8][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_8][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#fff}[data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_8][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_8][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_8][data-theme-version=dark] .header-right .ai-icon{background-color:#fff}[data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_8][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_8] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_8][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#fff}[data-headerbg=color_8][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_8][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_8][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_8][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_8][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_8][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_8][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_8][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_8][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_8][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_8][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_8][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_8][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_8][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_9],[data-headerbg=color_9][data-theme-version=dark]{--headerbg:#20c997}[data-headerbg=color_9] .search-area .form-control,[data-headerbg=color_9] .search-area .form-control::placeholder,[data-headerbg=color_9] .search-area .input-group-text,[data-headerbg=color_9][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_9][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_9][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_9] .search-area .input-group-append .input-group-text i,[data-headerbg=color_9][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_9] .header-left .search-area .form-control,[data-headerbg=color_9] .header-left .search-area .input-group-text,[data-headerbg=color_9][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_9][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#3ce0af}[data-headerbg=color_9] .header-left .search-area .form-control i,[data-headerbg=color_9] .header-left .search-area .input-group-text i,[data-headerbg=color_9][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_9][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_9] .header-right .ai-icon,[data-headerbg=color_9][data-theme-version=dark] .header-right .ai-icon{background-color:#3ce0af}[data-headerbg=color_9] .header-right .ai-icon svg path,[data-headerbg=color_9][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_9] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_9][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#3ce0af}[data-headerbg=color_9][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_9][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_9][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_9][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_9][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_9][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_9][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_9][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_9][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_9][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_9][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_9][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_9][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_9][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_10],[data-headerbg=color_10][data-theme-version=dark]{--headerbg:#17a2b8}[data-headerbg=color_10] .search-area .form-control,[data-headerbg=color_10] .search-area .form-control::placeholder,[data-headerbg=color_10] .search-area .input-group-text,[data-headerbg=color_10][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_10][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_10][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_10] .search-area .input-group-append .input-group-text i,[data-headerbg=color_10][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_10] .header-left .search-area .form-control,[data-headerbg=color_10] .header-left .search-area .input-group-text,[data-headerbg=color_10][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_10][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#1fc8e3}[data-headerbg=color_10] .header-left .search-area .form-control i,[data-headerbg=color_10] .header-left .search-area .input-group-text i,[data-headerbg=color_10][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_10][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_10] .header-right .ai-icon,[data-headerbg=color_10][data-theme-version=dark] .header-right .ai-icon{background-color:#1fc8e3}[data-headerbg=color_10] .header-right .ai-icon svg path,[data-headerbg=color_10][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_10] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_10][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#1fc8e3}[data-headerbg=color_10][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_10][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_10][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_10][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_10][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_10][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_10][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_10][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_10][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_10][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_10][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_10][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_10][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_10][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_11],[data-headerbg=color_11][data-theme-version=dark]{--headerbg:#94618e}[data-headerbg=color_11] .search-area .form-control,[data-headerbg=color_11] .search-area .form-control::placeholder,[data-headerbg=color_11] .search-area .input-group-text,[data-headerbg=color_11][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_11][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_11][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_11] .search-area .input-group-append .input-group-text i,[data-headerbg=color_11][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_11] .header-left .search-area .form-control,[data-headerbg=color_11] .header-left .search-area .input-group-text,[data-headerbg=color_11][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_11][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#aa7ea5}[data-headerbg=color_11] .header-left .search-area .form-control i,[data-headerbg=color_11] .header-left .search-area .input-group-text i,[data-headerbg=color_11][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_11][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_11] .header-right .ai-icon,[data-headerbg=color_11][data-theme-version=dark] .header-right .ai-icon{background-color:#aa7ea5}[data-headerbg=color_11] .header-right .ai-icon svg path,[data-headerbg=color_11][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_11] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_11][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#aa7ea5}[data-headerbg=color_11][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_11][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_11][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_11][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_11][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_11][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_11][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_11][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_11][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_11][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_11][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_11][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_11][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_11][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_12],[data-headerbg=color_12][data-theme-version=dark]{--headerbg:#343a40}[data-headerbg=color_12] .search-area .form-control,[data-headerbg=color_12] .search-area .form-control::placeholder,[data-headerbg=color_12] .search-area .input-group-text,[data-headerbg=color_12][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_12][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_12][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_12] .search-area .input-group-append .input-group-text i,[data-headerbg=color_12][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_12] .header-left .search-area .form-control,[data-headerbg=color_12] .header-left .search-area .input-group-text,[data-headerbg=color_12][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_12][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#4b545c}[data-headerbg=color_12] .header-left .search-area .form-control i,[data-headerbg=color_12] .header-left .search-area .input-group-text i,[data-headerbg=color_12][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_12][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_12] .header-right .ai-icon,[data-headerbg=color_12][data-theme-version=dark] .header-right .ai-icon{background-color:#4b545c}[data-headerbg=color_12] .header-right .ai-icon svg path,[data-headerbg=color_12][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_12] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_12][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#4b545c}[data-headerbg=color_12][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_12][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_12][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_12][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_12][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_12][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_12][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_12][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_12][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_12][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_12][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_12][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_12][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_12][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_13],[data-headerbg=color_13][data-theme-version=dark]{--headerbg:#2a2a2a}[data-headerbg=color_13] .search-area .form-control,[data-headerbg=color_13] .search-area .form-control::placeholder,[data-headerbg=color_13] .search-area .input-group-text,[data-headerbg=color_13][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_13][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_13][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_13] .search-area .input-group-append .input-group-text i,[data-headerbg=color_13][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_13] .header-left .search-area .form-control,[data-headerbg=color_13] .header-left .search-area .input-group-text,[data-headerbg=color_13][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_13][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#444}[data-headerbg=color_13] .header-left .search-area .form-control i,[data-headerbg=color_13] .header-left .search-area .input-group-text i,[data-headerbg=color_13][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_13][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_13] .header-right .ai-icon,[data-headerbg=color_13][data-theme-version=dark] .header-right .ai-icon{background-color:#444}[data-headerbg=color_13] .header-right .ai-icon svg path,[data-headerbg=color_13][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_13] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_13][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#444}[data-headerbg=color_13][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_13][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_13][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_13][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_13][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_13][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_13][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_13][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_13][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_13][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_13][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_13][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_13][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_13][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_14],[data-headerbg=color_14][data-theme-version=dark]{--headerbg:#4885ed}[data-headerbg=color_14] .search-area .form-control,[data-headerbg=color_14] .search-area .form-control::placeholder,[data-headerbg=color_14] .search-area .input-group-text,[data-headerbg=color_14][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_14][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_14][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_14] .search-area .input-group-append .input-group-text i,[data-headerbg=color_14][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_14] .header-left .search-area .form-control,[data-headerbg=color_14] .header-left .search-area .input-group-text,[data-headerbg=color_14][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_14][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#76a4f2}[data-headerbg=color_14] .header-left .search-area .form-control i,[data-headerbg=color_14] .header-left .search-area .input-group-text i,[data-headerbg=color_14][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_14][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_14] .header-right .ai-icon,[data-headerbg=color_14][data-theme-version=dark] .header-right .ai-icon{background-color:#76a4f2}[data-headerbg=color_14] .header-right .ai-icon svg path,[data-headerbg=color_14][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_14] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_14][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#76a4f2}[data-headerbg=color_14][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_14][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_14][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_14][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_14][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_14][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_14][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_14][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_14][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_14][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_14][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_14][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_14][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_14][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}[data-headerbg=color_15],[data-headerbg=color_15][data-theme-version=dark]{--headerbg:#4cb32b}[data-headerbg=color_15] .search-area .form-control,[data-headerbg=color_15] .search-area .form-control::placeholder,[data-headerbg=color_15] .search-area .input-group-text,[data-headerbg=color_15][data-theme-version=dark] .search-area .form-control,[data-headerbg=color_15][data-theme-version=dark] .search-area .form-control::placeholder,[data-headerbg=color_15][data-theme-version=dark] .search-area .input-group-text{color:#fff}[data-headerbg=color_15] .search-area .input-group-append .input-group-text i,[data-headerbg=color_15][data-theme-version=dark] .search-area .input-group-append .input-group-text i{color:#fff}[data-headerbg=color_15] .header-left .search-area .form-control,[data-headerbg=color_15] .header-left .search-area .input-group-text,[data-headerbg=color_15][data-theme-version=dark] .header-left .search-area .form-control,[data-headerbg=color_15][data-theme-version=dark] .header-left .search-area .input-group-text{background-color:#63d140}[data-headerbg=color_15] .header-left .search-area .form-control i,[data-headerbg=color_15] .header-left .search-area .input-group-text i,[data-headerbg=color_15][data-theme-version=dark] .header-left .search-area .form-control i,[data-headerbg=color_15][data-theme-version=dark] .header-left .search-area .input-group-text i{color:#fff}[data-headerbg=color_15] .header-right .ai-icon,[data-headerbg=color_15][data-theme-version=dark] .header-right .ai-icon{background-color:#63d140}[data-headerbg=color_15] .header-right .ai-icon svg path,[data-headerbg=color_15][data-theme-version=dark] .header-right .ai-icon svg path{fill:#fff}[data-headerbg=color_15] .header-right .notification_dropdown .nav-link .badge,[data-headerbg=color_15][data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#63d140}[data-headerbg=color_15][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_15][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_15][data-headerbg=color_8] .search-area .input-group-text,[data-headerbg=color_15][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control,[data-headerbg=color_15][data-theme-version=dark][data-headerbg=color_8] .search-area .form-control::placeholder,[data-headerbg=color_15][data-theme-version=dark][data-headerbg=color_8] .search-area .input-group-text{color:#000;background:#f1f1f1}[data-headerbg=color_15][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_15][data-headerbg=color_8] .header-left .search-area .input-group-text i,[data-headerbg=color_15][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .form-control i,[data-headerbg=color_15][data-theme-version=dark][data-headerbg=color_8] .header-left .search-area .input-group-text i{color:#000}[data-headerbg=color_15][data-headerbg=color_8] .header-right .ai-icon,[data-headerbg=color_15][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon{background-color:#f1f1f1}[data-headerbg=color_15][data-headerbg=color_8] .header-right .ai-icon svg path,[data-headerbg=color_15][data-theme-version=dark][data-headerbg=color_8] .header-right .ai-icon svg path{fill:#000}@media (min-width:992px){[data-container=boxed] #main-wrapper{max-width:1199px;margin:0 auto;box-shadow:0 0 30px 0 rgba(0,0,0,.1)}[direction=rtl][data-container=boxed] #main-wrapper{text-align:right}[data-container=boxed] .invoice-num{font-size:22px}}@media only screen and (min-width:1350px){[data-layout=vertical][data-sidebar-style=overlay][data-container=boxed][data-header-position=fixed] .header{width:1199px}}@media only screen and (min-width:1200px) and (max-width:1349px){[data-layout=vertical][data-sidebar-style=overlay][data-container=boxed][data-header-position=fixed] .header{width:1199px}}[data-header-position=fixed][data-layout=horizontal][data-container=boxed] .deznav{max-width:1199px}[data-layout=horizontal][data-container=boxed][data-header-position=fixed] .header,[data-layout=horizontal][data-container=boxed][data-header-position=fixed][data-sidebar-style=mini] .header,[data-layout=vertical][data-container=boxed][data-header-position=fixed] .header{width:1199px}[data-container=boxed] .metismenu.fixed{left:auto;max-width:1199px}[data-container=boxed] .page-titles{margin-bottom:3rem;padding:15px}[data-container=boxed] .content-body .container-fluid,[data-container=boxed] .content-body .container-lg,[data-container=boxed] .content-body .container-md,[data-container=boxed] .content-body .container-sm,[data-container=boxed] .content-body .container-xl,[data-container=boxed] .content-body .container-xxl{padding:40px}[data-container=boxed][data-layout=vertical] .page-titles{margin-left:0;margin-right:0}[data-layout=vertical][data-container=boxed][data-sidebar-position=fixed][data-header-position=static][data-sidebar-style=overlay] .menu-toggle .deznav,[data-layout=vertical][data-container=boxed][data-sidebar-position=fixed][data-header-position=static][data-sidebar-style=overlay] .nav-header{position:absolute}[data-container=boxed][data-sidebar-position=fixed][data-layout=horizontal] .deznav.fixed{left:auto;max-width:1199px}@media (min-width:992px){[data-container=wide-boxed] #main-wrapper{max-width:1480px;margin:0 auto;box-shadow:0 0 30px 0 rgba(0,0,0,.1)}[direction=rtl][data-container=wide-boxed] #main-wrapper{text-align:right}}@media only screen and (min-width:1350px){[data-layout=vertical][data-sidebar-style=overlay][data-container=wide-boxed][data-header-position=fixed] .header{width:1480px}}@media only screen and (min-width:1200px) and (max-width:1600px){[data-layout=vertical][data-sidebar-style=overlay][data-container=wide-boxed][data-header-position=fixed] .header{width:1480px}}[data-sidebar-style=compact][data-header-position=fixed][data-container=wide-boxed][data-layout=vertical] .header{width:1480px}[data-header-position=fixed][data-layout=horizontal][data-container=wide-boxed] .deznav{max-width:1480px}[data-layout=horizontal][data-container=wide-boxed][data-header-position=fixed] .header,[data-layout=horizontal][data-container=wide-boxed][data-header-position=fixed][data-sidebar-style=mini] .header,[data-layout=vertical][data-container=wide-boxed][data-header-position=fixed] .header{width:1480px}[data-container=wide-boxed] .metismenu.fixed{left:auto;max-width:1480px}[data-container=wide-boxed] .page-titles{margin-bottom:3rem;padding:15px}[data-container=wide-boxed] .content-body .container-fluid,[data-container=wide-boxed] .content-body .container-lg,[data-container=wide-boxed] .content-body .container-md,[data-container=wide-boxed] .content-body .container-sm,[data-container=wide-boxed] .content-body .container-xl,[data-container=wide-boxed] .content-body .container-xxl{padding:40px}[data-container=wide-boxed][data-layout=vertical] .page-titles{margin-left:0;margin-right:0}[data-layout=vertical][data-container=wide-boxed][data-sidebar-position=fixed][data-header-position=static][data-sidebar-style=overlay] .menu-toggle .deznav,[data-layout=vertical][data-container=wide-boxed][data-sidebar-position=fixed][data-header-position=static][data-sidebar-style=overlay] .nav-header{position:absolute}[data-container=wide-boxed][data-sidebar-position=fixed][data-layout=horizontal] .deznav.fixed{left:auto;max-width:1480px}[data-primary=color_2]{--primary:#6610f2;--secondary:#627eea;--primary-hover:#510bc4;--primary-dark:#290564;--rgba-primary-1:rgba(102,16,242,0.1);--rgba-primary-2:rgba(102,16,242,0.2);--rgba-primary-3:rgba(102,16,242,0.3);--rgba-primary-4:rgba(102,16,242,0.4);--rgba-primary-5:rgba(102,16,242,0.5);--rgba-primary-6:rgba(102,16,242,0.6);--rgba-primary-7:rgba(102,16,242,0.7);--rgba-primary-8:rgba(102,16,242,0.8);--rgba-primary-9:rgba(102,16,242,0.9)}[data-primary=color_3]{--primary:#2258bf;--secondary:#627eea;--primary-hover:#1a4494;--primary-dark:#0b1c3d;--rgba-primary-1:rgba(34,88,191,0.1);--rgba-primary-2:rgba(34,88,191,0.2);--rgba-primary-3:rgba(34,88,191,0.3);--rgba-primary-4:rgba(34,88,191,0.4);--rgba-primary-5:rgba(34,88,191,0.5);--rgba-primary-6:rgba(34,88,191,0.6);--rgba-primary-7:rgba(34,88,191,0.7);--rgba-primary-8:rgba(34,88,191,0.8);--rgba-primary-9:rgba(34,88,191,0.9)}[data-primary=color_4]{--primary:#4d06a5;--secondary:#627eea;--primary-hover:#360474;--primary-dark:#080111;--rgba-primary-1:rgba(77,6,165,0.1);--rgba-primary-2:rgba(77,6,165,0.2);--rgba-primary-3:rgba(77,6,165,0.3);--rgba-primary-4:rgba(77,6,165,0.4);--rgba-primary-5:rgba(77,6,165,0.5);--rgba-primary-6:rgba(77,6,165,0.6);--rgba-primary-7:rgba(77,6,165,0.7);--rgba-primary-8:rgba(77,6,165,0.8);--rgba-primary-9:rgba(77,6,165,0.9)}[data-primary=color_5]{--primary:#dc3545;--secondary:#627eea;--primary-hover:#bd2130;--primary-dark:#66121a;--rgba-primary-1:rgba(220,53,69,0.1);--rgba-primary-2:rgba(220,53,69,0.2);--rgba-primary-3:rgba(220,53,69,0.3);--rgba-primary-4:rgba(220,53,69,0.4);--rgba-primary-5:rgba(220,53,69,0.5);--rgba-primary-6:rgba(220,53,69,0.6);--rgba-primary-7:rgba(220,53,69,0.7);--rgba-primary-8:rgba(220,53,69,0.8);--rgba-primary-9:rgba(220,53,69,0.9)}[data-primary=color_6]{--primary:#fd7e14;--secondary:#627eea;--primary-hover:#dc6502;--primary-dark:#773701;--rgba-primary-1:rgba(253,126,20,0.1);--rgba-primary-2:rgba(253,126,20,0.2);--rgba-primary-3:rgba(253,126,20,0.3);--rgba-primary-4:rgba(253,126,20,0.4);--rgba-primary-5:rgba(253,126,20,0.5);--rgba-primary-6:rgba(253,126,20,0.6);--rgba-primary-7:rgba(253,126,20,0.7);--rgba-primary-8:rgba(253,126,20,0.8);--rgba-primary-9:rgba(253,126,20,0.9)}[data-primary=color_7]{--primary:#ffc107;--secondary:#627eea;--primary-hover:#d39e00;--primary-dark:#6d5200;--rgba-primary-1:rgba(255,193,7,0.1);--rgba-primary-2:rgba(255,193,7,0.2);--rgba-primary-3:rgba(255,193,7,0.3);--rgba-primary-4:rgba(255,193,7,0.4);--rgba-primary-5:rgba(255,193,7,0.5);--rgba-primary-6:rgba(255,193,7,0.6);--rgba-primary-7:rgba(255,193,7,0.7);--rgba-primary-8:rgba(255,193,7,0.8);--rgba-primary-9:rgba(255,193,7,0.9)}[data-primary=color_8]{--primary:#fff;--secondary:#627eea;--primary-hover:#e6e6e6;--primary-dark:#b3b3b3;--rgba-primary-1:hsla(0,0%,100%,0.1);--rgba-primary-2:hsla(0,0%,100%,0.2);--rgba-primary-3:hsla(0,0%,100%,0.3);--rgba-primary-4:hsla(0,0%,100%,0.4);--rgba-primary-5:hsla(0,0%,100%,0.5);--rgba-primary-6:hsla(0,0%,100%,0.6);--rgba-primary-7:hsla(0,0%,100%,0.7);--rgba-primary-8:hsla(0,0%,100%,0.8);--rgba-primary-9:hsla(0,0%,100%,0.9)}[data-primary=color_9]{--primary:#20c997;--secondary:#627eea;--primary-hover:#199d76;--primary-dark:#0b4534;--rgba-primary-1:rgba(32,201,151,0.1);--rgba-primary-2:rgba(32,201,151,0.2);--rgba-primary-3:rgba(32,201,151,0.3);--rgba-primary-4:rgba(32,201,151,0.4);--rgba-primary-5:rgba(32,201,151,0.5);--rgba-primary-6:rgba(32,201,151,0.6);--rgba-primary-7:rgba(32,201,151,0.7);--rgba-primary-8:rgba(32,201,151,0.8);--rgba-primary-9:rgba(32,201,151,0.9)}[data-primary=color_10]{--primary:#17a2b8;--secondary:#627eea;--primary-hover:#117a8b;--primary-dark:#062a30;--rgba-primary-1:rgba(23,162,184,0.1);--rgba-primary-2:rgba(23,162,184,0.2);--rgba-primary-3:rgba(23,162,184,0.3);--rgba-primary-4:rgba(23,162,184,0.4);--rgba-primary-5:rgba(23,162,184,0.5);--rgba-primary-6:rgba(23,162,184,0.6);--rgba-primary-7:rgba(23,162,184,0.7);--rgba-primary-8:rgba(23,162,184,0.8);--rgba-primary-9:rgba(23,162,184,0.9)}[data-primary=color_11]{--primary:#94618e;--secondary:#627eea;--primary-hover:#754d70;--primary-dark:#382435;--rgba-primary-1:rgba(148,97,142,0.1);--rgba-primary-2:rgba(148,97,142,0.2);--rgba-primary-3:rgba(148,97,142,0.3);--rgba-primary-4:rgba(148,97,142,0.4);--rgba-primary-5:rgba(148,97,142,0.5);--rgba-primary-6:rgba(148,97,142,0.6);--rgba-primary-7:rgba(148,97,142,0.7);--rgba-primary-8:rgba(148,97,142,0.8);--rgba-primary-9:rgba(148,97,142,0.9)}[data-primary=color_12]{--primary:#343a40;--secondary:#627eea;--primary-hover:#1d2124;--primary-dark:#000;--rgba-primary-1:rgba(52,58,64,0.1);--rgba-primary-2:rgba(52,58,64,0.2);--rgba-primary-3:rgba(52,58,64,0.3);--rgba-primary-4:rgba(52,58,64,0.4);--rgba-primary-5:rgba(52,58,64,0.5);--rgba-primary-6:rgba(52,58,64,0.6);--rgba-primary-7:rgba(52,58,64,0.7);--rgba-primary-8:rgba(52,58,64,0.8);--rgba-primary-9:rgba(52,58,64,0.9)}[data-primary=color_13]{--primary:#2a2a2a;--secondary:#627eea;--primary-hover:#111;--primary-dark:#000;--rgba-primary-1:rgba(42,42,42,0.1);--rgba-primary-2:rgba(42,42,42,0.2);--rgba-primary-3:rgba(42,42,42,0.3);--rgba-primary-4:rgba(42,42,42,0.4);--rgba-primary-5:rgba(42,42,42,0.5);--rgba-primary-6:rgba(42,42,42,0.6);--rgba-primary-7:rgba(42,42,42,0.7);--rgba-primary-8:rgba(42,42,42,0.8);--rgba-primary-9:rgba(42,42,42,0.9)}[data-primary=color_14]{--primary:#4885ed;--secondary:#627eea;--primary-hover:#1a66e8;--primary-dark:#0e3d8e;--rgba-primary-1:rgba(72,133,237,0.1);--rgba-primary-2:rgba(72,133,237,0.2);--rgba-primary-3:rgba(72,133,237,0.3);--rgba-primary-4:rgba(72,133,237,0.4);--rgba-primary-5:rgba(72,133,237,0.5);--rgba-primary-6:rgba(72,133,237,0.6);--rgba-primary-7:rgba(72,133,237,0.7);--rgba-primary-8:rgba(72,133,237,0.8);--rgba-primary-9:rgba(72,133,237,0.9)}[data-primary=color_15]{--primary:#4cb32b;--secondary:#627eea;--primary-hover:#3b8a21;--primary-dark:#18380d;--rgba-primary-1:rgba(76,179,43,0.1);--rgba-primary-2:rgba(76,179,43,0.2);--rgba-primary-3:rgba(76,179,43,0.3);--rgba-primary-4:rgba(76,179,43,0.4);--rgba-primary-5:rgba(76,179,43,0.5);--rgba-primary-6:rgba(76,179,43,0.6);--rgba-primary-7:rgba(76,179,43,0.7);--rgba-primary-8:rgba(76,179,43,0.8);--rgba-primary-9:rgba(76,179,43,0.9)}[data-typography=opensans]{font-family:Open Sans,sans-serif}[data-typography=poppins]{font-family:poppins,sans-serif}[data-typography=cairo]{font-family:Cairo,sans-serif}[data-typography=roboto]{font-family:Roboto,sans-serif}[data-typography=helvetica]{font-family:HelveticaNeue}[data-theme-version=transparent]{background:url(../images/body/12.jpg);background-repeat:no-repeat;background-attachment:fixed;background-size:cover;background-position:50%;position:relative;color:#fff}[data-theme-version=transparent] .h1,[data-theme-version=transparent] .h2,[data-theme-version=transparent] .h3,[data-theme-version=transparent] .h4,[data-theme-version=transparent] .h5,[data-theme-version=transparent] .h6,[data-theme-version=transparent] h1,[data-theme-version=transparent] h2,[data-theme-version=transparent] h3,[data-theme-version=transparent] h4,[data-theme-version=transparent] h5,[data-theme-version=transparent] h6{color:#fff!important}[data-theme-version=transparent] a.link{color:#ddd}[data-theme-version=transparent] a.link:focus,[data-theme-version=transparent] a.link:hover{color:#b48dd3}[data-theme-version=transparent] a{color:#fff}[data-theme-version=transparent] a:hover{color:#828690}[data-theme-version=transparent] .border-right{border-right:1px solid #2e2e42!important}[data-theme-version=transparent] .border-left{border-left:1px solid #2e2e42!important}[data-theme-version=transparent] .border-top{border-top:1px solid #2e2e42!important}[data-theme-version=transparent] .border-bottom{border-bottom:1px solid #2e2e42!important}[data-theme-version=transparent] .border{border:1px solid #2e2e42!important}[data-theme-version=transparent] .dropdown-menu{background-color:#212130}[data-theme-version=transparent] .dropdown-item:focus,[data-theme-version=transparent] .dropdown-item:hover{background-color:#171622;color:#fff}[data-theme-version=transparent] .form-control{background-color:#171622;border-color:#2e2e42;color:#fff}[data-theme-version=transparent] .card,[data-theme-version=transparent] .header{background-color:rgba(0,0,0,.15)}[data-theme-version=transparent] .header-left input{border-color:#2e2e42;color:#fff}[data-theme-version=transparent] .header-left input:focus{box-shadow:none;border-color:#2258bf}[data-theme-version=transparent] .header-left input::placeholder{color:#fff}[data-theme-version=transparent] .header-right .dropdown .nav-link:hover,[data-theme-version=transparent] .header-right .notification_dropdown .dropdown-item a{color:#fff}[data-theme-version=transparent] .nav-control,[data-theme-version=transparent] .nav-header{background-color:rgba(0,0,0,.15)!important}[data-theme-version=transparent] .brand-logo,[data-theme-version=transparent] .brand-logo:hover,[data-theme-version=transparent] .nav-control{color:#fff}[data-theme-version=transparent] .deznav{background-color:rgba(0,0,0,.15)!important}[data-theme-version=transparent] .deznav .metismenu>li>a{color:rgba(0,0,0,.15)}[data-theme-version=transparent] .deznav .metismenu>li.mm-active>a,[data-theme-version=transparent] .deznav .metismenu>li:focus>a,[data-theme-version=transparent] .deznav .metismenu>li:hover>a{background-color:rgba(0,0,0,.15)!important;color:#fff}[data-theme-version=transparent] .deznav .metismenu>li.mm-active>a:after,[data-theme-version=transparent] .deznav .metismenu>li:focus>a:after,[data-theme-version=transparent] .deznav .metismenu>li:hover>a:after{border-color:transparent transparent #fff}[data-theme-version=transparent] .deznav .metismenu>li.mm-active ul ul{background-color:transparent}[data-theme-version=transparent] .deznav .metismenu ul{background-color:rgba(0,0,0,.15)}[data-theme-version=transparent] .deznav .metismenu ul a.mm-active,[data-theme-version=transparent] .deznav .metismenu ul a:focus,[data-theme-version=transparent] .deznav .metismenu ul a:hover{color:#fff}[data-theme-version=transparent] .deznav .metismenu a{color:rgba(0,0,0,.15)}[data-theme-version=transparent] .deznav .metismenu ul{background-color:rgba(0,0,0,.15)!important}[data-theme-version=transparent] .deznav .metismenu .has-arrow:after{border-color:transparent transparent rgba(0,0,0,.15)}.app-fullcalender button{border-radius:0;color:#6e6e6e}.app-fullcalender td{border-color:#f5f5f5}.calendar{float:left;margin-bottom:0}.fc-view{margin-top:1.875rem}.fc-toolbar{margin-bottom:.3125rem;margin-top:.9375rem}@media (max-width:575.98px){.fc-toolbar .fc-left{display:flex;justify-content:space-between;margin-bottom:.625rem;float:none}}@media (max-width:575.98px){.fc-toolbar .fc-right{float:none;margin-bottom:.3125rem}}@media (max-width:575.98px){.fc-toolbar .fc-center,.fc-toolbar .fc-right{display:flex;justify-content:center}.fc-toolbar .fc-center *{float:none}}.fc-toolbar .h2,.fc-toolbar h2{font-size:1rem;font-weight:600;line-height:1.875rem;text-transform:uppercase}.fc-toolbar .fc-state-active,.fc-toolbar .ui-state-active,.fc-toolbar .ui-state-hover,.fc-toolbar button:focus,.fc-toolbar button:hover{z-index:0;box-shadow:none}.fc-widget-header{border:1px solid #f5f5f5;border-bottom:0!important}.fc th.fc-widget-header{background:#f5f5f5!important;font-size:.875rem;line-height:1.25rem;padding:.625rem 0;text-transform:uppercase}.fc-button{border:1px solid #f5f5f5;text-transform:capitalize}.fc-button.active{box-shadow:none!important}.fc-text-arrow{font-family:inherit;font-size:1rem}.external-event,.fc-event{border-radius:.125rem;border:none;cursor:move;font-size:.8125rem;margin:.3125rem .4375rem;padding:.3125rem;text-align:center}.external-event{cursor:move;margin:.625rem 0;padding:.125rem 0}.fc-basic-view td.fc-day-number,.fc-basic-view td.fc-week-number span{padding-right:.3125rem}#drop-remove{margin-right:8px;top:.1875rem}#add-category .modal-dialog,#event-modal .modal-dialog{max-width:37.5rem}.fc-content{color:#fff}.fc th.fc-widget-header{background:transparent!important}.fc-button{background:#fff}.fc-state-hover{background:#fff!important}.fc-state-highlight{background:#f2f4fa!important}[data-theme-version=dark] .fc-state-highlight{color:#fff!important}.fc-cell-overlay{background:#fff!important}.fc-unthemed .fc-today{background:#f2f4fa!important}.fc-day-top{color:#6e6e6e!important}[data-theme-version=dark] .fc-day-top{color:#fff!important}.external-event{color:#fff}[data-theme-version=dark] .external-event{color:#fff!important}.fc-basic-view .fc-body .fc-row{min-height:1rem}.fc-scroller.fc-day-grid-container{height:490px!important}.fc-row.fc-week.fc-widget-content.fc-rigid{height:81px!important}@media only screen and (max-width:1440px){.email_left_pane{display:none}}#external-events .external-event:before{content:\"\";display:block;width:14px;min-width:14px;height:14px;border-radius:50%;margin-right:.9rem;position:relative;top:2px}[data-theme-version=dark] #external-events [data-class=bg-primary]{color:#fff!important}#external-events [data-class=bg-primary]:before{background:var(--primary)}#external-events [data-class=bg-success]:before{background:#68e365}#external-events [data-class=bg-warning]:before{background:#ffa755}#external-events [data-class=bg-dark]:before{background:#6e6e6e}#external-events [data-class=bg-danger]:before{background:#f72b50}#external-events [data-class=bg-info]:before{background:#b48dd3}#external-events [data-class=bg-pink]:before{background:#e83e8c}#external-events [data-class=bg-secondary]:before{background:#627eea}.fc .fc-row .fc-content-skeleton table,.fc .fc-row .fc-content-skeleton td,.fc .fc-row .fc-helper-skeleton td{border-color:#f5f5f5}[data-theme-version=dark] .fc-unthemed .fc-content,[data-theme-version=dark] .fc-unthemed .fc-divider,[data-theme-version=dark] .fc-unthemed .fc-list-heading td,[data-theme-version=dark] .fc-unthemed .fc-list-view,[data-theme-version=dark] .fc-unthemed .fc-popover,[data-theme-version=dark] .fc-unthemed .fc-row,[data-theme-version=dark] .fc-unthemed tbody,[data-theme-version=dark] .fc-unthemed td,[data-theme-version=dark] .fc-unthemed th,[data-theme-version=dark] .fc-unthemed thead,[data-theme-version=dark] .fc .fc-row .fc-content-skeleton table,[data-theme-version=dark] .fc .fc-row .fc-content-skeleton td,[data-theme-version=dark] .fc .fc-row .fc-helper-skeleton td{border-color:#2e2e42}.email-left-box{width:15rem;float:left;padding:0 1.25rem 1.25rem 1rem;border-top:0;border-left:0}@media (min-width:576px) and (max-width:991.98px){.email-left-box{width:100%;padding-bottom:0!important}}@media (max-width:575.98px){.email-left-box{width:100%;float:none;border:none;padding-bottom:30px!important}}.email-left-box .intro-title{background:var(--rgba-primary-1);padding:1rem;margin:1.875rem 0 1.25rem}.email-left-box .intro-title .h5,.email-left-box .intro-title h5{margin-bottom:0;color:#6a707e;font-size:14px}.email-left-box .intro-title .h5 i,.email-left-box .intro-title h5 i{font-size:.75rem;position:relative;bottom:1px}.email-left-box .intro-title i{color:var(--primary)}.email-right-box{padding-left:15rem;padding-right:1rem}@media (min-width:576px) and (max-width:991.98px){.email-right-box{padding-left:0;padding-right:0;margin-left:0!important;clear:both}}@media (max-width:575.98px){.email-right-box{padding-left:0;padding-right:0}}.email-right-box .right-box-border{border-right:2px solid var(--rgba-primary-1)}@media screen and (min-width:649px) and (max-width:1200px){.email-right-box .right-box-padding{padding-left:1.25rem}}@media (min-width:1700px){.email-right-box .right-box-padding{padding-left:.9375rem}}@media (min-width:576px) and (max-width:991.98px){.email-right-box .right-box-padding{padding-left:0}}.toolbar .btn-group .btn{border:0}.toolbar .btn-group input{position:relative;top:2px}.read-content textarea{height:150px;padding:15px 20px}.read-content-email{font-size:.875rem}.read-content .h5,.read-content h5,.read-content p strong{color:#6a707e}.read-content-body p{margin-bottom:1.875rem}.read-content-attachment{padding:.5rem 0}.read-content-attachment .h6,.read-content-attachment h6{font-size:1.125rem;color:#6a707e}.read-content-attachment .h6 i,.read-content-attachment h6 i{padding-right:.3125rem}.read-content-attachment .attachment>div:not(:last-child){border-right:1px solid #dddfe1}.compose-content .wysihtml5-toolbar{border-color:#eaeaea}.compose-content .dropzone{background:#f2f4fa!important}.compose-content .h5,.compose-content h5{font-size:1.0625rem;color:#6a707e}.compose-content .h5 i,.compose-content h5 i{font-size:1.125rem;transform:rotate(90deg)}.compose-content .dropzone{border:1px dashed #dddfe1;min-height:13.125rem;position:relative}.compose-content .dropzone .dz-message{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.email-list{display:block;padding-left:0}.email-list .message{position:relative;display:block;height:3.125rem;line-height:3.125rem;cursor:default;transition-duration:.3s}.email-list .message a{color:#828690}.email-list .message-single .custom-checkbox{margin-top:2px}.email-list .message-single i{color:#89879f;font-size:1.125rem;padding-left:.4rem}.email-list .message:hover{transition-duration:.05s;background:rgba(152,166,173,.15)}.email-list .message .col-mail{float:left;position:relative}.email-list .message .col-mail-1{width:5.625rem}.email-list .message .col-mail-1 .star-toggle{display:block;float:left;margin-top:1.125rem;font-size:1rem;margin-left:.3125rem}.email-list .message .col-mail-1 .email-checkbox{display:block;float:left;margin:.9375rem .625rem 0 1.25rem}.email-list .message .col-mail-1 .dot{display:block;float:left;border:.4rem solid transparent;border-radius:6.25rem;margin:1.375rem 1.625rem 0;height:0;width:0;line-height:0;font-size:0}.email-list .message .col-mail-2{position:absolute;top:0;left:5.625rem;right:0;bottom:0}.email-list .message .col-mail-2 .subject{position:absolute;top:0;left:0;right:5.5rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.email-list .message .col-mail-2 .date{position:absolute;top:0;right:0}.email-checkbox{cursor:pointer;height:.9375rem;width:.9375rem;display:inline-block;border-radius:.1rem;position:relative;top:.3125rem;box-shadow:inset 0 0 0 .1rem #828690}.email-checkbox input{opacity:0;cursor:pointer}.email-checkbox input:checked label{opacity:1}.email-checkbox label{position:absolute;top:.3rem;left:.3rem;right:.3rem;bottom:.3rem;cursor:pointer;opacity:0;margin-bottom:0!important;transition-duration:.05s}.mail-list a{vertical-align:middle;padding:.625rem .9375rem;display:block;background:transparent;color:#464a53;font-weight:600}.mail-list .list-group-item{color:#6a707e;padding:.75rem 1.0625rem}.mail-list .list-group-item i{font-size:1rem;padding-right:.625rem;color:#ccc}.mail-list .list-group-item.active,.mail-list .list-group-item.active i{color:#fff}.chat-wrap{padding:1.0625rem 1.875rem}.chat-wrap .media .media-body .h6,.chat-wrap .media .media-body h6{font-size:1.0625rem;color:#6a707e}.chat-wrap .media .media-body p{font-size:.875rem}@media (min-width:648px){.email-filter{padding-left:1.25rem}}@media (min-width:1700px){.email-filter{padding-left:1.875rem}}.email-filter .input-group-prepend i{font-size:.875rem;color:#89879f}.email-filter .input-group-prepend .input-group-text{border:0;border-bottom:1px solid #dddfe1!important;background:transparent}.email-filter .input-group .form-control{padding:0 0 0 .3125rem;border:0;font-size:.875rem;height:1.875rem;color:#89879f;border-bottom:1px solid #dddfe1}.email-filter .input-group .form-control::placeholder{font-size:.875rem;color:#89879f}.email-filter .input-group>.form-control{min-height:1.875rem}.single-mail{display:block;padding:1.5625rem 0}.single-mail .media{padding-left:1.25rem;padding-right:1.25rem}@media (min-width:1700px){.single-mail .media{padding-left:1.875rem;padding-right:1.875rem}}.single-mail .media img{width:55px;height:55px;border-radius:50%;margin-right:.9375rem}@media (min-width:1700px){.single-mail .media img{margin-right:1.875rem}}.single-mail .media-body .h6,.single-mail .media-body h6{color:#abafb3}.single-mail .media-body .h4,.single-mail .media-body h4{font-size:1rem;color:#6a707e}.single-mail .media-body .h4 button i,.single-mail .media-body h4 button i{font-size:1.125rem;color:#abafb3;font-weight:700;transform:rotate(90deg)}.single-mail .media-body p{font-size:.875rem;color:#abafb3}.single-mail.active{background:var(--primary)}.single-mail.active .h4,.single-mail.active .h6,.single-mail.active h4,.single-mail.active h6,.single-mail.active i,.single-mail.active p{color:#fff!important}[direction=rtl] .email-right-box{padding-left:1rem;padding-right:15rem}@media only screen and (max-width:991px){[direction=rtl] .email-right-box{padding-left:0;padding-right:0;margin-right:0}}@media only screen and (max-width:575px){[direction=rtl] .email-right-box{padding-left:0;padding-right:0}}[direction=rtl] .email-left-box{float:right}[direction=rtl] .email-list .message .col-mail-2{right:5.625rem;left:0;float:right}[direction=rtl] .email-list .message .col-mail-2 .date{right:auto;left:0}[direction=rtl] .email-list .message .col-mail-2 .subject{right:0;left:5.5rem}.photo-content{position:relative}.photo-content .cover-photo{background:url(../images/profile/cover.jpg);background-size:cover;background-position:50%;min-height:250px;width:100%}.profile .profile-photo{max-width:100px;position:relative;z-index:1;margin-top:-40px;margin-right:10px}@media only screen and (max-width:575px){.profile .profile-photo{width:80px;margin-left:auto;margin-right:auto;margin-bottom:20px}}[direction=rtl] .profile .profile-photo{left:auto;right:0;margin-right:0;margin-left:15px}@media only screen and (max-width:1199px){[direction=rtl] .profile .profile-photo{right:15px}}@media only screen and (max-width:575px){[direction=rtl] .profile .profile-photo{width:80px;right:calc(50% - 40px);top:-100px}}.profile-info{padding:15px 20px}@media only screen and (max-width:575px){.profile-info{padding:0 0 20px;text-align:center}}.profile-info .h4,.profile-info h4{color:#464a53!important}.profile-info .text-primary.h4,.profile-info h4.text-primary{color:var(--primary)!important}.profile-info p{color:#828690}.profile-info .prf-col{min-width:250px;padding:10px 50px 0}.profile-interest .row{margin:0 -.7px}.profile-interest .row .int-col{padding:0 .7px}.profile-interest .row .int-col .interest-cat{margin-bottom:1.4px;position:relative;display:block}.profile-interest .row .int-col .interest-cat:after{background:#000;bottom:0;content:\"\";left:0;opacity:.5;position:absolute;right:0;top:0;z-index:0}.profile-interest .row .int-col .interest-cat p{position:absolute;top:0;width:100%;height:100%;padding:5px;left:0;margin:0;z-index:1;color:#fff;font-size:1.2px}.profile-tab .nav-item .nav-link{font-size:16px;margin-right:30px;transition:all .5s ease-in-out;border:none;border-bottom:.2px solid transparent;color:#828690}.profile-tab .nav-item .nav-link.active,.profile-tab .nav-item .nav-link:hover{border:0;background:transparent;border-bottom:.2px solid var(--primary);color:var(--primary)}@media only screen and (max-width:575px){.profile-tab .nav-item .nav-link{margin-right:0}}.profile-info{display:flex}@media only screen and (max-width:575px){.profile-info{display:block}}.profile-info .profile-details{display:flex;width:100%}@media only screen and (max-width:575px){.profile-info .profile-details{display:block}.profile-info .profile-details .dropdown{position:absolute;top:30px;right:30px}}.post-input{margin-bottom:30px}.post-input .form-control{height:75px;font-weight:400;margin:15px 0}.post-input .btn-social{font-size:20px;height:55px;display:inline-block;padding:0;text-align:center;border-radius:1.75rem;color:#fff;width:55px;line-height:54px}.post-input .btn-social.facebook{background-color:#3b5998}.post-input .btn-social.google-plus{background-color:#de4e43}.post-input .btn-social.linkedin{background-color:#007bb6}.post-input .btn-social.instagram{background-color:#8a5a4e}.post-input .btn-social.twitter{background-color:#1ea1f3}.post-input .btn-social.youtube{background-color:#ce201f}.post-input .btn-social.whatsapp{background-color:#01c854}.post-input .btn-social i{margin:0!important}.profile-uoloaded-post img{margin-bottom:20px}.profile-uoloaded-post a .h4,.profile-uoloaded-post a h4{margin-bottom:10px;color:#464a53}.event-chat-ryt .chat-area .chat-reciver,.event-chat-ryt .chat-area .chat-sender{margin-bottom:1.875rem;padding:0}.event-chat-ryt .chat-area .chat-reciver img,.event-chat-ryt .chat-area .chat-sender img{border-radius:30px}.event-chat-ryt .chat-area .media{position:relative}.event-chat-ryt .chat-area .media-body p{margin:0;max-width:100%;display:inline-block;position:relative}.event-chat-ryt .chat-area .media-body p span{padding:1rem;display:inline-block;top:103%;position:relative;border:1px solid #f5f5f5}.event-chat-ryt .chat-reciver{padding:.5rem 1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.event-chat-ryt .chat-reciver .media{-webkit-box-flex:1;-ms-flex:1;flex:1}.event-chat-ryt .chat-reciver .media .media-body{margin-right:2rem;text-align:right}[direction=rtl] .event-chat-ryt .chat-reciver .media .media-body{text-align:left;margin-left:2rem;margin-right:auto}.event-chat-ryt .chat-reciver .media .media-body p{background:#fff;margin-bottom:0;border-radius:5px 5px 0 5px}.event-chat-ryt .chat-reciver .media .media-body p span{text-align:left;border:1px solid #f5f5f5}.event-chat-ryt .chat-reciver .media .media-body p span:after{content:\"\";width:20px;height:20px;border-bottom:1px solid #f5f5f5;border-right:1px solid #f5f5f5;position:absolute;right:0;bottom:0;background:#fff;-webkit-transform:rotate(-45deg) translateX(15px);transform:rotate(-45deg) translateX(15px)}[direction=rtl] .event-chat-ryt .chat-reciver .media .media-body p span:after{left:0;right:auto;-webkit-transform:rotate(135deg) translateY(15px);transform:rotate(135deg) translateY(15px)}.event-chat-ryt .chat-reciver .media .media-body p .time{position:absolute;font-size:12px;color:#969ba0;font-weight:400;bottom:0;left:-80px}[direction=rtl] .event-chat-ryt .chat-reciver .media .media-body p .time{right:-5rem;left:auto}.event-chat-ryt .chat-sender{text-align:left;padding:.5rem 1rem}.event-chat-ryt .chat-sender .media .media-body{margin-left:2rem}[direction=rtl] .event-chat-ryt .chat-sender .media .media-body{text-align:right;margin-right:2rem;margin-left:auto}.event-chat-ryt .chat-sender .media .media-body p{background-color:#fff;margin-bottom:0}.event-chat-ryt .chat-sender .media .media-body p span:after{content:\"\";width:20px;height:20px;border-bottom:1px solid #f5f5f5;border-left:1px solid #f5f5f5;position:absolute;left:0;bottom:0;background:#fff;-webkit-transform:rotate(45deg) translateX(-15px);transform:rotate(45deg) translateX(-15px)}[direction=rtl] .event-chat-ryt .chat-sender .media .media-body p span:after{left:auto;right:0;-webkit-transform:rotate(-135deg) translateY(15px);transform:rotate(-135deg) translateY(15px)}.event-chat-ryt .chat-sender .media .media-body p .time{position:absolute;font-size:10px;color:#969ba0;font-weight:400;bottom:0;right:-5rem}[direction=rtl] .event-chat-ryt .chat-sender .media .media-body p .time{left:-5rem;right:auto}.char-type{padding-top:30px;padding-bottom:30px}.char-type form .form-control{height:45px;padding-left:18px;background:#f6f6f6;border-right:0}.char-type form .input-group-append i{color:#898989;font-size:18px}.char-type form .input-group-append .input-group-text{padding-left:.7rem;padding-right:.7rem;background:#f6f6f6;border-color:#f5f5f5;border-left:0}.char-type form .input-group-append .input-group-text:last-child{padding-right:1.8rem}.media-avatar{padding:25px 0;border-bottom:1px solid #f5f5f5}.media-avatar:last-child{border-bottom:0}.media-avatar p{margin-bottom:0}.media-avatar .avatar-status{position:relative}.media-avatar .avatar-status i{position:absolute;right:0;bottom:0}.ct-golden-section:before{float:none}.ct-chart{max-height:15.7rem}.ct-chart .ct-label{fill:#a3afb7;color:#a3afb7;font-size:.75rem;line-height:1}.ct-grid{stroke:rgba(49,58,70,.1)}.ct-chart.simple-pie-chart-chartist .ct-label{color:#fff;fill:#fff;font-size:.625rem}.ct-chart .ct-series.ct-series-a .ct-bar,.ct-chart .ct-series.ct-series-a .ct-line,.ct-chart .ct-series.ct-series-a .ct-point,.ct-chart .ct-series.ct-series-a .ct-slice-donut{stroke:var(--primary)}.ct-chart .ct-series.ct-series-b .ct-bar,.ct-chart .ct-series.ct-series-b .ct-line,.ct-chart .ct-series.ct-series-b .ct-point,.ct-chart .ct-series.ct-series-b .ct-slice-donut{stroke:#68e365}.ct-chart .ct-series.ct-series-c .ct-bar,.ct-chart .ct-series.ct-series-c .ct-line,.ct-chart .ct-series.ct-series-c .ct-point,.ct-chart .ct-series.ct-series-c .ct-slice-donut{stroke:#ffa755}.ct-chart .ct-series.ct-series-d .ct-bar,.ct-chart .ct-series.ct-series-d .ct-line,.ct-chart .ct-series.ct-series-d .ct-point,.ct-chart .ct-series.ct-series-d .ct-slice-donut{stroke:#f72b50}.ct-chart .ct-series.ct-series-e .ct-bar,.ct-chart .ct-series.ct-series-e .ct-line,.ct-chart .ct-series.ct-series-e .ct-point,.ct-chart .ct-series.ct-series-e .ct-slice-donut{stroke:#b48dd3}.ct-chart .ct-series.ct-series-f .ct-bar,.ct-chart .ct-series.ct-series-f .ct-line,.ct-chart .ct-series.ct-series-f .ct-point,.ct-chart .ct-series.ct-series-f .ct-slice-donut{stroke:#6e6e6e}.ct-chart .ct-series.ct-series-g .ct-bar,.ct-chart .ct-series.ct-series-g .ct-line,.ct-chart .ct-series.ct-series-g .ct-point,.ct-chart .ct-series.ct-series-g .ct-slice-donut{stroke:#8d6e63}.ct-series-a .ct-area,.ct-series-a .ct-slice-pie{fill:#627eea}.ct-series-b .ct-area,.ct-series-b .ct-slice-pie{fill:#00a2ff}.ct-series-c .ct-area,.ct-series-c .ct-slice-pie,.ct-series-d .ct-area,.ct-series-d .ct-slice-pie{fill:#ff9800}.chartist-tooltip{position:absolute;display:inline-block;opacity:0;min-width:.625rem;padding:2px .625rem;border-radius:3px;background:#313a46;color:#fff;text-align:center;pointer-events:none;z-index:1;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear}.chartist-tooltip.tooltip-show{opacity:1}#donught_graph .ct-series.ct-series-a .ct-slice-donut{stroke:#3fc6d4}#donught_graph .ct-series.ct-series-b .ct-slice-donut{stroke:#333}#donught_graph .ct-series.ct-series-c .ct-slice-donut{stroke:#f63465}@media only screen and (max-width:767px){#pie-chart .ct-label{color:#fff;fill:#fff}}#visitor_graph{height:253px!important}#user_rating_graph{height:280px!important}#activity{height:270px!important}#trendMeter,#visitorOnline{height:72px!important}#widget-revenue1,#widget-revenue2,#widget-revenue3{height:117px!important}#widget-profit1,#widget-profit2,#widget-profit3{height:160px!important}#comparison-rate{height:230px!important}#session_day{height:175px!important;width:auto!important;margin:0 auto}#walet-status{height:140px!important}#bar1{height:150px!important}#sold-product{height:230px!important}#chart-gross-sale,#chart-online-sale,#chart-venue-expenses{height:150px!important}#areaChart_3{height:295px!important}.chart-point{display:flex;align-items:center}.chart-point .check-point-area{width:100px;height:100px;margin-top:-10px;margin-left:-10px}.chart-point .chart-point-list{margin:0;padding-left:5px}.chart-point .chart-point-list li{list-style:none;font-size:13px;padding:2px 0}.chart-point .chart-point-list li i{margin-right:5px;font-size:11px;position:relative;top:-1px}.c3{height:250px}.c3-legend-item{fill:#9fabb1}.c3 .c3-axis-x line,.c3 .c3-axis-x path,.c3 .c3-axis-y line,.c3 .c3-axis-y path,.tick text{stroke:#fff}.flot-chart{height:15.7rem}.tooltipflot{background-color:transparent;font-size:1.4rem;padding:.5rem 1rem;color:hsla(0,0%,100%,.7);border-radius:.2rem}.legendColorBox>div{border:0!important;padding:0!important}.legendLabel{font-size:.825rem;padding-left:.5rem;color:#fff}.flotTip{background:#000;border:1px solid #000;color:#fff}.legend>div{background:transparent!important}#balance_graph{height:260px}.morris-hover{position:absolute;z-index:1;background:var(--primary);color:#fff}.morris-hover .morris-hover-point{color:#fff!important;margin:3px 0;text-align:center;padding:0 25px}.morris-hover .morris-hover-row-label{background-color:#6e6e6e;text-align:center;padding:5px;margin-bottom:5px}.morris-hover.morris-default-style{border-radius:5px;padding:0;margin:0;border:none;overflow:hidden}#line_chart_2,#morris_area,#morris_area_2,#morris_bar,#morris_bar_2,#morris_bar_stalked,#morris_donught,#morris_donught_2{height:240px!important}#morris_line{height:278px!important}#crypto-btc-card,#crypto-eth-card,#crypto-ltc-card,#crypto-rpl-card{height:9.375rem}#comparison-rate,#daily-sales,#usage-chart,#walet-status{width:100%;display:block}#comparison-rate canvas,#daily-sales canvas,#usage-chart canvas,#walet-status canvas{max-width:100%!important;width:100%!important}#composite-bar canvas,#spark-bar canvas,#sparkline11 canvas,#sparkline-composite-chart canvas,#StackedBarChart canvas,#tristate canvas{height:100px!important}#sparkline11 canvas{width:100px!important}.easy-pie-chart{position:relative;text-align:center}.easy-pie-chart .inner{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-block}.easy-pie-chart img{width:75px;height:75px;border-radius:50%}.easy-pie-chart canvas{display:block;margin:0 auto}#revenue-chart{height:27.7rem}#duration-value-axis{height:27.6rem;width:100%}#chartMap,#combined-bullet,#comparing-stock-indices,#depth-chart,#multiple-panel-data,#professional-candlesticks,#zoomable-chart{height:28.125rem;width:100%}.amcharts-export-menu{display:none}.amcharts-data-set-selector-div{position:absolute;left:0;right:0;text-align:center;width:16.875rem;margin:0 auto}.amcharts-data-set-selector-div select{border:0;margin-left:.625rem;background:#ddd;color:#000}.amChartsInputField{border:0;background:var(--primary);color:#fff;padding:.3125rem .9375rem;margin:0 .9375rem}.amcharts-data-set-select{border:0;background:#ddd;color:#000}.amcharts-period-input,.amcharts-period-input-selected{border:0;margin-left:.625rem;background:var(--primary);color:#fff;padding:.3125rem .9375rem}.amcharts-graph-g2 .amcharts-graph-stroke{stroke-dasharray:3px 3px;stroke-linejoin:round;stroke-linecap:round;-webkit-animation:am-moving-dashes 1s linear infinite;animation:am-moving-dashes 1s linear infinite}@-webkit-keyframes am-moving-dashes{to{stroke-dashoffset:-1.9375rem}}@keyframes am-moving-dashes{to{stroke-dashoffset:-1.9375rem}}.lastBullet{-webkit-animation:am-pulsating 1s ease-out infinite;animation:am-pulsating 1s ease-out infinite}@-webkit-keyframes am-pulsating{0%{stroke-opacity:1;stroke-width:0px}to{stroke-opacity:0;stroke-width:3.125rem}}@keyframes am-pulsating{0%{stroke-opacity:1;stroke-width:0px}to{stroke-opacity:0;stroke-width:3.125rem}}.amcharts-graph-column-front{-webkit-transition:all .3s ease-out .3s;transition:all .3s ease-out .3s}.amcharts-graph-column-front:hover{fill:#496375;stroke:#496375;-webkit-transition:all .3s ease-out;transition:all .3s ease-out}@-webkit-keyframes am-draw{0%{stroke-dashoffset:500%}to{stroke-dashoffset:0%}}@keyframes am-draw{0%{stroke-dashoffset:500%}to{stroke-dashoffset:0%}}@media only screen and (max-width:991px){.amChartsPeriodSelector>fieldset>div{float:none!important;display:block!important;margin-bottom:.625rem}}.highcharts-root text{font-weight:300!important}.highcharts-credits{display:none}#chart_employee_gender,#chart_employee_status{width:auto;height:350px}.form-control{background:#fff;border:1px solid #f5f5f5;padding:5px 20px;color:#6e6e6e;height:56px;border-radius:1rem}@media only screen and (max-width:1400px){.form-control{height:44px}}.form-control.active,.form-control:focus,.form-control:hover{box-shadow:none;background:#fff;color:#6e6e6e}.form-control:focus{border-color:var(--primary)}.input-rounded{border-radius:100px}[data-theme-version=dark] .input-primary .form-control,[data-theme-version=light] .input-primary .form-control{border-color:var(--primary)}[data-theme-version=dark] .input-primary .input-group-text,[data-theme-version=light] .input-primary .input-group-text{background-color:var(--primary);color:#fff}[data-theme-version=dark] .input-danger .form-control,[data-theme-version=light] .input-danger .form-control{border-color:#f72b50}[data-theme-version=dark] .input-danger .input-group-text,[data-theme-version=light] .input-danger .input-group-text{background-color:#f72b50;color:#fff}[data-theme-version=dark] .input-info .form-control,[data-theme-version=light] .input-info .form-control{border-color:#b48dd3}[data-theme-version=dark] .input-info .input-group-text,[data-theme-version=light] .input-info .input-group-text{background-color:#b48dd3;color:#fff}[data-theme-version=dark] .input-success .form-control,[data-theme-version=light] .input-success .form-control{border-color:#68e365}[data-theme-version=dark] .input-success .input-group-text,[data-theme-version=light] .input-success .input-group-text{background-color:#68e365;color:#fff}[data-theme-version=dark] .input-warning .form-control,[data-theme-version=light] .input-warning .form-control{border-color:#ffa755}[data-theme-version=dark] .input-warning .input-group-text,[data-theme-version=light] .input-warning .input-group-text{background-color:#ffa755;color:#fff}[data-theme-version=dark] .input-primary-o .form-control,[data-theme-version=light] .input-primary-o .form-control{border-color:var(--primary)}[data-theme-version=dark] .input-primary-o .input-group-text,[data-theme-version=light] .input-primary-o .input-group-text{background-color:transparent;border-color:var(--primary);color:var(--primary)}[data-theme-version=dark] .input-danger-o .form-control,[data-theme-version=light] .input-danger-o .form-control{border-color:#f72b50}[data-theme-version=dark] .input-danger-o .input-group-text,[data-theme-version=light] .input-danger-o .input-group-text{background-color:transparent;border-color:#f72b50;color:#f72b50}[data-theme-version=dark] .input-info-o .form-control,[data-theme-version=light] .input-info-o .form-control{border-color:#b48dd3}[data-theme-version=dark] .input-info-o .input-group-text,[data-theme-version=light] .input-info-o .input-group-text{background-color:transparent;border-color:#b48dd3;color:#b48dd3}[data-theme-version=dark] .input-success-o .form-control,[data-theme-version=light] .input-success-o .form-control{border-color:#68e365}[data-theme-version=dark] .input-success-o .input-group-text,[data-theme-version=light] .input-success-o .input-group-text{background-color:transparent;border-color:#68e365;color:#68e365}[data-theme-version=dark] .input-warning-o .form-control,[data-theme-version=light] .input-warning-o .form-control{border-color:#ffa755}[data-theme-version=dark] .input-warning-o .input-group-text,[data-theme-version=light] .input-warning-o .input-group-text{background-color:transparent;border-color:#ffa755;color:#ffa755}.input-group-text{background:#d7dae3;border:1px solid transparent;min-width:50px;display:flex;justify-content:center;padding:.532rem .75rem}.input-group-text i{font-size:16px}.form-file-label{height:40px;padding:.5rem .75rem}.input-group-append .btn,.input-group-prepend .btn{z-index:0}.custom-select{background:none;border-color:#f5f5f5;color:#6e6e6e}.custom-select:focus{box-shadow:none;border-color:var(--primary);color:var(--primary)}.form-file-label{background:#656c73;white-space:nowrap;color:#fff}[data-theme-version=dark] .form-file-label{background:#2e2e42;border-color:#2e2e42;color:#969ba0}.custom_file_input .form-file-label:after{height:100%}.form-control:disabled,.form-control[readonly]{background:#fff;opacity:1}.form-file{border:1px solid #f5f5f5;background:#fff}[data-theme-version=dark] .form-file{background:#171622;border-color:#2e2e42}.input-group>.form-control-plaintext,.input-group>.form-file,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;margin-bottom:0}.input-group>.form-file{display:flex;align-items:center}.input-group>.form-file:not(:last-child) .form-file-label,.input-group>.form-file:not(:last-child) .form-file-label:after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.form-file:not(:first-child) .form-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice{border-radius:1.75rem}.form-file .form-control{margin:0;border-radius:0;border:0;height:auto}.form-check-label{margin-left:5px;margin-top:3px}.form-check-inline .form-check-input{margin-right:.625rem}.form-check-input{top:2px;border-width:2px;width:1.25rem;height:1.25rem;border-color:#e7e7e7}.rtl .form-check-label:after,.rtl .form-check-label:before{right:-1.5rem!important;left:inherit}.form-check{line-height:normal}.toggle-switch{padding-left:50px;line-height:1.25;display:inline-block;color:#000;font-weight:600}.toggle-switch .form-check-input{border:0;cursor:pointer;background:#d8d8d8;width:37px;border-radius:20px!important;height:14px;position:relative;left:-5px;-webkit-transition:all .2s;-ms-transition:all .2s;transition:all .2s;background-image:none}.toggle-switch .form-check-input:focus{background-image:none!important}.toggle-switch .form-check-input:checked{background:var(--rgba-primary-2);background-image:none!important}.toggle-switch .form-check-input:checked:after{left:20px;background:var(--primary)}.toggle-switch .form-check-input:focus{box-shadow:none}.toggle-switch .form-check-input:after{width:20px;background:#909090;height:20px;content:\"\";position:absolute;border-radius:24px;top:-3px;left:0;box-shadow:0 0 5px rgba(0,0,0,.3);-webkit-transition:all .2s;-ms-transition:all .2s;transition:all .2s}.toggle-switch.text-end{padding-right:0;padding-left:0}.toggle-switch.text-end .form-check-input{left:auto;margin-left:0;float:right;right:0}.toggle-switch.text-end .form-check-label{margin-right:15px;margin-left:0}.toggle-switch .form-check-label{cursor:pointer}.form-check-input:focus~.form-check-label:before{box-shadow:none!important}.form-check-label:before{background-color:transparent;border-color:#c8c8c8;border-width:2px;border-radius:2px!important}[data-theme-version=dark] .form-check-label:before{background-color:transparent;border-color:#2e2e42}.check-xs .form-check-input{width:18px;height:18px}.check-lg .form-check-input{width:24px;height:24px}.check-xl .form-check-input{width:28px;height:28px}.checkbox-info .form-check-input:focus{border-color:#b48dd3;outline:0;box-shadow:0 0 0 .25rem rgba(180,141,211,.25)}.checkbox-info .form-check-input:checked{background-color:#b48dd3;border-color:#b48dd3}[data-theme-version=dark] .checkbox-info .form-check-input:checked{background-color:rgba(180,141,211,.1);border-color:transparent}.checkbox-danger .form-check-input:focus{border-color:#f72b50;outline:0;box-shadow:0 0 0 .25rem rgba(247,43,80,.25)}.checkbox-danger .form-check-input:checked{background-color:#f72b50;border-color:#f72b50}[data-theme-version=dark] .checkbox-danger .form-check-input:checked{background-color:rgba(247,43,80,.15);border-color:transparent}.checkbox-success .form-check-input:focus{border-color:#68e365;outline:0;box-shadow:0 0 0 .25rem rgba(104,227,101,.25)}.checkbox-success .form-check-input:checked{background-color:#68e365;border-color:#68e365}[data-theme-version=dark] .checkbox-success .form-check-input:checked{background-color:rgba(104,227,101,.1);border-color:transparent}.checkbox-warning .form-check-input:focus{border-color:#ffa755;outline:0;box-shadow:0 0 0 .25rem rgba(255,167,85,.25)}.checkbox-warning .form-check-input:checked{background-color:#ffa755;border-color:#ffa755}[data-theme-version=dark] .checkbox-warning .form-check-input:checked{background-color:rgba(255,167,85,.1);border-color:transparent}.checkbox-secondary .form-check-input:focus{border-color:#627eea;outline:0;box-shadow:0 0 0 .25rem rgba(98,126,234,.25)}.checkbox-secondary .form-check-input:checked{background-color:#627eea;border-color:#627eea}[data-theme-version=dark] .checkbox-secondary .form-check-input:checked{background-color:rgba(98,126,234,.5);border-color:transparent}.check-switch{padding-left:40px}.check-switch .form-check-label{line-height:30px;font-weight:500}.check-switch .form-check-label span{line-height:1}.check-switch .form-check-label:after,.check-switch .form-check-label:before{height:1.5rem;width:1.5rem;left:-2rem;border-radius:3rem!important;border-color:var(--rgba-primary-3)}.check-switch .form-check-input:checked~.form-check-label:after{background-image:url(../images/svg/check.svg)}.check-switch .form-check-input:checked~.form-check-label:before{background:#fff}.form-check-input:checked{background-color:var(--primary);border-color:var(--primary)}.form-check-input:focus{border-color:var(--primary);box-shadow:var(--rgba-primary-1)}.js-switch+.switchery{border-radius:50px;margin-right:4rem}@media (max-width:767.98px){.js-switch+.switchery{margin-right:1rem}}.js-switch+.switchery>.small,.js-switch+.switchery>small{top:2px}.js-switch.js-switch-lg+.switchery{height:2rem;width:4.5rem}.js-switch.js-switch-lg+.switchery>.small,.js-switch.js-switch-lg+.switchery>small{width:1.75rem;height:1.75rem}.js-switch.js-switch-md+.switchery{height:1.5rem;width:3.5rem}.js-switch.js-switch-md+.switchery>.small,.js-switch.js-switch-md+.switchery>small{width:1.25rem;height:1.25rem}.js-switch.js-switch-sm+.switchery{height:1rem;width:2.2rem}.js-switch.js-switch-sm+.switchery>.small,.js-switch.js-switch-sm+.switchery>small{width:.875rem;height:.875rem;top:1px}.js-switch-square+.switchery{border-radius:0}.js-switch-square+.switchery>.small,.js-switch-square+.switchery>small{border-radius:0;top:2px}.js-switch-square.js-switch-lg+.switchery{height:2rem;width:4.5rem}.js-switch-square.js-switch-lg+.switchery>.small,.js-switch-square.js-switch-lg+.switchery>small{width:1.75rem;height:1.75rem}.js-switch-square.js-switch-md+.switchery{height:1.5rem;width:3.5rem}.js-switch-square.js-switch-md+.switchery>.small,.js-switch-square.js-switch-md+.switchery>small{width:1.25rem;height:1.25rem}.js-switch-square.js-switch-sm+.switchery{height:1rem;width:2.2rem}.js-switch-square.js-switch-sm+.switchery>.small,.js-switch-square.js-switch-sm+.switchery>small{width:.875rem;height:.875rem;top:1px}.form-control.is-valid{border-color:#68e365!important;border-right:0!important}.form-control.is-valid:focus{box-shadow:none}.form-control.is-warning{border-color:#ffa755!important;border-right:0!important}.form-control.is-warning:focus{box-shadow:none}.form-control.is-invalid{border-color:#f72b50!important;border-right:0!important}.form-control.is-invalid:focus{box-shadow:none}.is-valid .input-group-prepend .input-group-text i{color:#68e365}.is-invalid .input-group-prepend .input-group-text i{color:var(--rgba-primary-2)}.show-pass{cursor:pointer}.show-pass.active .fa-eye-slash,.show-pass .fa-eye{display:none}.show-pass.active .fa-eye{display:inline-block}.asColorPicker-dropdown{max-width:26rem}.asColorPicker-trigger{border:0;height:100%;position:absolute;right:0;top:0;width:2.1875rem}[direction=rtl] .asColorPicker-trigger{left:0;right:auto}.asColorPicker-clear{display:none;position:absolute;right:1rem;text-decoration:none;top:.5rem}.daterangepicker td.active,.daterangepicker td.active:hover{background-color:var(--primary)}.daterangepicker button.applyBtn{background-color:var(--primary);border-color:var(--primary)}.datepicker.datepicker-dropdown{background:#f2f4fa;border-radius:1px;border:1px solid #eee}.datepicker.datepicker-dropdown td.day,.datepicker.datepicker-dropdown th.next,.datepicker.datepicker-dropdown th.prev{height:30px;width:30px!important;padding:0;text-align:center;font-weight:300;border-radius:50px}.datepicker.datepicker-dropdown td.day:hover,.datepicker.datepicker-dropdown th.next:hover,.datepicker.datepicker-dropdown th.prev:hover{box-shadow:0 0 30px 5px rgba(243,30,122,.3);color:#fff}.datepicker.datepicker-dropdown th.datepicker-switch,.datepicker.datepicker-dropdown th.next,.datepicker.datepicker-dropdown th.prev{font-weight:300;color:#333}.datepicker.datepicker-dropdown th.dow{font-weight:300}.datepicker table tr td.active.active,.datepicker table tr td.selected{box-shadow:0 0 30px 5px rgba(243,30,122,.3);border:0}.datepicker table tr td.today,.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today:hover{box-shadow:0 0 30px 5px rgba(243,30,122,.3);color:#fff}.picker__select--month,.picker__select--year{height:2.5em}.picker__input{background-color:transparent!important}[data-theme-version=dark] .picker__input{background-color:transparent!important;border:1px solid #2e2e42}.asColorPicker-wrap .form-control{border-top-right-radius:0;border-bottom-right-radius:0}#image{max-width:100%}.docs-options .dropdown-menu{padding:1.5rem}.docs-preview{margin-bottom:3rem}.docs-preview .img-preview{float:left;margin-right:.5rem;margin-bottom:.5rem;overflow:hidden;max-width:100%!important}.docs-preview .img-preview>img{max-width:100%!important}.docs-preview .img-preview.preview-lg{width:16rem;height:9rem}.docs-preview .img-preview.preview-md{width:8rem;height:4.5rem}.docs-preview .img-preview.preview-sm{width:4rem;height:2.25rem}.docs-preview .img-preview.preview-xs{width:2rem;height:1.125rem;margin-right:0}.select2-container{width:100%!important}.select2-container--default .select2-selection--single{border-radius:1.75rem;border:1px solid #c8c8c8;height:40px;background:#fff}[data-theme-version=dark] .select2-container--default .select2-selection--single{background:#171622;border-color:#2e2e42}.select2-container--default .select2-selection--single.active,.select2-container--default .select2-selection--single:focus,.select2-container--default .select2-selection--single:hover{box-shadow:none}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:40px;color:#969ba0;padding-left:15px;min-height:40px}.select2-container--default .select2-selection--multiple{border-color:#f5f5f5;border-radius:0}.select2-dropdown{border-radius:0}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:var(--primary)}.select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#f5f5f5;background:#fff}.select2-container--default .select2-selection--single .select2-selection__arrow{top:6px;right:15px}.select2-container .select2-selection--multiple{min-height:40px;color:#969ba0;border-radius:1.75rem;border:1px solid #c8c8c8}[data-theme-version=dark] .select2-container .select2-selection--multiple{background:#171622;border-color:#2e2e42}[data-theme-version=dark] .select2-search--dropdown .select2-search__field{background:#212130;border-color:#2e2e42}.select2-dropdown{border-color:#c8c8c8}[data-theme-version=dark] .select2-dropdown{background:#171622;border-color:#2e2e42}.swal2-popup .swal2-content{color:#969ba0}.form-wizard{border:0}.form-wizard .nav-wizard{box-shadow:none!important;margin-bottom:2rem}.form-wizard .nav-wizard li .nav-link{position:relative}.form-wizard .nav-wizard li .nav-link span{border-radius:50px;width:3rem;height:3rem;border:2px solid var(--primary);display:block;line-height:3rem;color:var(--primary);font-size:18px;margin:auto;background-color:#fff;position:relative;z-index:1}.form-wizard .nav-wizard li .nav-link:after{position:absolute;top:50%;left:50%;height:3px;transform:translateY(-50%);background:#eee!important;z-index:0;width:100%}.form-wizard .nav-wizard li .nav-link.active:after{background:var(--primary)!important}.form-wizard .nav-wizard li .nav-link.active span{background:var(--primary);color:#fff}.form-wizard .nav-wizard li .nav-link.done:after{background:var(--primary)!important}.form-wizard .nav-wizard li .nav-link.done span{background-color:var(--primary);color:#fff}.form-wizard .nav-wizard li:last-child .nav-link:after{content:none}.form-wizard .toolbar-bottom .btn{background-color:var(--primary);border:0;padding:12px 18px}.form-wizard .tab-content .tab-pane{padding:0}.form-wizard .emial-setup label.mailclinet{display:flex;align-items:center;justify-content:center;flex-direction:column;width:10rem;height:10rem;border-radius:50%;cursor:pointer;background-color:#eef5f9;text-align:center;margin:auto}[data-theme-version=dark] .form-wizard .emial-setup label.mailclinet{background-color:#171622}@media only screen and (max-width:575px){.form-wizard .emial-setup label.mailclinet{width:7rem;height:7rem}}.form-wizard .emial-setup label.mailclinet .mail-icon{font-size:3rem;display:inline-block;line-height:1;margin-top:-1rem}@media only screen and (max-width:575px){.form-wizard .emial-setup label.mailclinet .mail-icon{font-size:2rem}}.form-wizard .emial-setup label.mailclinet .mail-text{font-size:1rem;text-align:center;margin-top:.5rem}@media only screen and (max-width:575px){.form-wizard .emial-setup label.mailclinet .mail-text{font-size:16px;line-height:20px}}.form-wizard .emial-setup label.mailclinet input[type=radio]{display:none}@media only screen and (max-width:767px){.form-wizard .nav-wizard{flex-direction:unset!important}.form-wizard .tab-content{height:100%!important}}@media only screen and (max-width:575px){.form-wizard .nav-wizard li .nav-link{padding:0}}.custom-ekeditor ul{padding-left:20px}.custom-ekeditor ul li{list-style:unset}.custom-ekeditor ol li{list-style:decimal}.ql-container{height:25rem}#world-datamap{padding-bottom:46%!important}.datamaps-hoverover{background:#fff;padding:.3125rem;border-radius:.3125rem;font-family:Roboto!important;color:var(--primary);border:1px solid var(--rgba-primary-3)}@media only screen and (max-width:1440px){.world_map_card ul.list-group{display:flex;flex-wrap:wrap;flex-direction:row;margin-top:35px}}.jqvmap-zoomin,.jqvmap-zoomout{height:20px;width:20px;line-height:14px;background-color:var(--primary)}.jqvmap-zoomout{top:35px}#usa,#world-map{height:400px}@media only screen and (max-width:991px){#usa,#world-map{height:350px}}@media only screen and (max-width:575px){#usa,#world-map{height:230px}}.blockUI.blockMsg.blockPage{border:0!important}#loginForm{cursor:auto}.blockMsg{border:0!important;width:20%!important}.blockMsg .h1,.blockMsg h1{font-size:16px;padding:8px 0;margin-bottom:0}.bootstrap-select{margin-bottom:0}.bootstrap-select .btn{border:1px solid #f5f5f5!important;background-color:transparent!important;font-weight:400;color:#969ba0!important}[data-theme-version=dark] .bootstrap-select .btn{border-color:#2e2e42!important;background:#171622!important}.bootstrap-select .btn:active,.bootstrap-select .btn:focus,.bootstrap-select .btn:hover{outline:none!important;outline-offset:0}[data-theme-version=dark] .bootstrap-select .btn:active,[data-theme-version=dark] .bootstrap-select .btn:focus,[data-theme-version=dark] .bootstrap-select .btn:hover{color:#969ba0!important}.bootstrap-select .dropdown-menu{border-color:#f5f5f5!important;box-shadow:0 0 40px 0 rgba(82,63,105,.1)}.bootstrap-select .dropdown-menu .dropdown-item{padding:.25rem 1rem}[data-theme-version=dark] .bootstrap-select .dropdown-menu{border-color:#f5f5f5!important}.input-group>.bootstrap-select:not(:first-child) .dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.bootstrap-select:not(:last-child) .dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.clipboard-btn{transition:all .1s ease-in-out}.clipboard-btn:hover{background-color:var(--primary);color:#fff}.crypto-ticker{background:rgba(0,0,0,.5);margin-top:20px;padding:10px 20px;border-radius:3px;box-shadow:0 0 35px 0 rgba(154,161,171,.15)}[data-theme-version=dark] .crypto-ticker{background:#212130}#webticker-big{font:inherit!important;font-size:inherit!important;font-weight:400!important}#webticker-big li i{font-size:18px;margin-right:7px}#webticker-big li p{margin-bottom:0;font-size:12px;font-weight:700}.twitter-typeahead{width:100%}.twitter-typeahead .tt-dataset.tt-dataset-states{border:1px solid #f5f5f5}.twitter-typeahead .tt-menu{width:100%;background-color:#fff}.twitter-typeahead .tt-menu .tt-suggestion{padding:.625rem;cursor:pointer}.twitter-typeahead .tt-menu .tt-suggestion:hover{background-color:var(--primary);color:#fff}.weather-one i{font-size:8rem;position:relative;top:.5rem}.weather-one .h2,.weather-one h2{display:inline-block;float:right;font-size:4.8rem}.weather-one .city{position:relative;text-align:right;top:-2.5rem}.weather-one .currently{font-size:1.6rem;font-weight:400;position:relative;top:2.5rem}.weather-one .celcious{text-align:right;font-size:2rem}.noUi-target{border-color:transparent;border-radius:0}.noUi-connect{background-color:var(--primary)}.noUi-connects{background-color:#d2d6de}.noUi-connect.c-1-color{background-color:#68e365}.noUi-connect.c-2-color{background-color:#b48dd3}.noUi-connect.c-3-color{background-color:var(--primary)}.noUi-connect.c-4-color{background-color:#ffa755}.noUi-vertical{width:.375rem}.noUi-horizontal{height:2px;border:0;margin-bottom:10px}.noUi-horizontal .noUi-handle,.noUi-vertical .noUi-handle{height:15px;width:15px;border-radius:50px;box-shadow:none;border:none;background-color:var(--primary)}.noUi-horizontal .noUi-handle:after,.noUi-horizontal .noUi-handle:before,.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{display:none}.noUi-vertical .noUi-handle{left:-4px;top:-6px}.noUi-horizontal .noUi-handle{top:-7px;cursor:pointer}html:not([dir=rtl]) .noUi-horizontal .noUi-handle{right:-6px}#slider-toggle{height:50px}#slider-toggle.off .noUi-handle{border-color:var(--primary)}.colorpicker-slider .sliders.noUi-target#blue,.colorpicker-slider .sliders.noUi-target#green,.colorpicker-slider .sliders.noUi-target#red{margin:10px;display:inline-block;height:200px}.colorpicker-slider .sliders.noUi-target#red .noUi-connect{background:#c0392b}.colorpicker-slider .sliders.noUi-target#green .noUi-connect{background:#27ae60}.colorpicker-slider .sliders.noUi-target#blue .noUi-connect{background:#2980b9}.colorpicker-slider #result{margin:60px 26px;height:100px;width:100px;display:inline-block;vertical-align:top;color:#7f7f7f;background:#7f7f7f;border:1px solid #fff;box-shadow:0 0 10px}.slider-vertical{height:18rem}.nestable-cart{overflow:hidden}.dd-handle{border-radius:5px;padding:8px 15px;height:auto;border:1px solid #f5f5f5}.dd3-content:hover,.dd-handle,.dd-handle:hover{color:#fff;background:var(--primary)}.dd3-content{color:#fff}.dd-item>button{line-height:28px;color:#fff}.pignose-calendar{box-shadow:none;width:100%;max-width:none;border-color:var(--primary)}.pignose-calendar .pignose-calendar-top-date{background-color:var(--primary)}.pignose-calendar .pignose-calendar-top-date .pignose-calendar-top-month{color:#fff}.pignose-calendar.pignose-calendar-blue .pignose-calendar-body .pignose-calendar-row .pignose-calendar-unit.pignose-calendar-unit-active a{background-color:var(--primary);box-shadow:none}.pignose-calendar .pignose-calendar-top{box-shadow:none;border-bottom:0}.pignose-calendar.pignose-calendar-blue{background-color:rgba(0,0,0,.15)}.pignose-calendar .pignose-calendar-unit{height:4.8em}.cd-h-timeline{opacity:0;transition:opacity .2s}.cd-h-timeline--loaded{opacity:1}.cd-h-timeline__container{position:relative;height:100px;max-width:800px}.cd-h-timeline__dates{position:relative;height:100%;margin:0 40px;overflow:hidden}.cd-h-timeline__dates:after,.cd-h-timeline__dates:before{content:\"\";position:absolute;z-index:2;top:0;height:100%;width:20px}.cd-h-timeline__dates:before{left:0;background:var(--primary)}.cd-h-timeline__dates:after{right:0;background:var(--primary)}.cd-h-timeline__line{position:absolute;z-index:1;left:0;top:49px;height:2px;background-color:var(--primary);transition:transform .4s}.cd-h-timeline__filling-line{position:absolute;z-index:1;left:0;top:0;height:100%;width:100%;background-color:#68e365;transform:scaleX(0);transform-origin:left center;transition:transform .3s}.cd-h-timeline__date{position:absolute;bottom:0;z-index:2;text-align:center;font-size:.8em;padding-bottom:var(--space-sm);color:var(--cd-color-1);user-select:none;text-decoration:none}.cd-h-timeline__date:after{content:\"\";position:absolute;left:50%;transform:translateX(-50%);bottom:-5px;height:12px;width:12px;border-radius:50%;border:2px solid var(--rgba-primary-6);background-color:var(--primary);transition:background-color .3s,border-color .3s}.cd-h-timeline__date:hover:after{background-color:#68e365;border-color:#68e365}.cd-h-timeline__date--selected{pointer-events:none}.cd-h-timeline__date--selected:after{background-color:#68e365;border-color:#68e365}.cd-h-timeline__date--older-event:after{border-color:#68e365}.cd-h-timeline__navigation{position:absolute;z-index:1;top:50%;transform:translateY(-50%);height:34px;width:34px;border-radius:50%;border:2px solid var(--rgba-primary-6);transition:border-color .3s}.cd-h-timeline__navigation:after{content:\"\";position:absolute;height:16px;width:16px;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);background:url(../images/svg/cd-arrow.svg) no-repeat 0 0}.cd-h-timeline__navigation:hover{border-color:#68e365}.cd-h-timeline__navigation--prev{left:0;transform:translateY(-50%) rotate(180deg)}.cd-h-timeline__navigation--next{right:0}.cd-h-timeline__navigation--inactive{cursor:not-allowed}.cd-h-timeline__navigation--inactive:after{background-position:0 -16px}.cd-h-timeline__navigation--inactive:hover{border-color:var(--rgba-primary-6)}.cd-h-timeline__events{position:relative;width:100%;overflow:hidden;transition:height .4s}.cd-h-timeline__event{position:absolute;z-index:1;width:100%;left:0;top:0;transform:translateX(-100%);padding:1px 5%;opacity:0;animation-duration:.4s;animation-timing-function:ease-in-out}.cd-h-timeline__event--selected{position:relative;z-index:2;opacity:1;transform:translateX(0)}.cd-h-timeline__event--enter-right,.cd-h-timeline__event--leave-right{animation-name:cd-enter-right}.cd-h-timeline__event--enter-left,.cd-h-timeline__event--leave-left{animation-name:cd-enter-left}.cd-h-timeline__event--leave-left,.cd-h-timeline__event--leave-right{animation-direction:reverse}.cd-h-timeline__event-content{max-width:800px}.cd-h-timeline__event-title{color:var(--cd-color-1);font-family:var(--font-secondary);font-weight:700;font-size:var(--text-xxxl)}.cd-h-timeline__event-date{display:block;font-style:italic;margin:var(--space-xs) auto}.cd-h-timeline__event-date:before{content:\"- \"}@keyframes cd-enter-right{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}@keyframes cd-enter-left{0%{opacity:0;transform:translateX(-100%)}to{opacity:1;transform:translateX(0)}}.toast-success{background-color:var(--primary)}.toast-info{background-color:#b48dd3}.toast-warning{background-color:#ffa755}.toast-error{background-color:#f72b50}#toast-container>div{box-shadow:none;border-radius:0;width:auto;max-width:250px;opacity:1}[direction=rtl] #toast-container>div{padding:15px 50px 15px 15px;background-position:calc(100% - 15px);text-align:right}#toast-container>div:hover{box-shadow:none}#toast-container .toast-title{margin-bottom:5px;font-weight:600}#toast-container .toast-message{font-size:12px}#toast-container .toast-close-button{opacity:1;font-size:20px;font-weight:400;text-shadow:none}[direction=rtl] .toast-top-right.demo_rtl_class{left:12px;right:auto}.lg-actions .lg-next,.lg-actions .lg-prev,.lg-sub-html,.lg-toolbar{background-color:rgba(30,30,30,.6)}.lg-outer .lg-img-wrap,.lg-outer .lg-item,.lg-outer .lg-thumb-outer,.lg-outer .lg-toogle-thumb{background-color:transparent}.lg-thumb-outer.lg-grab,.lg-toogle-thumb.lg-icon{background-color:rgba(30,30,30,.6)}.lg-backdrop{background-color:rgba(30,30,30,.9)}#lg-counter,.lg-actions .lg-next,.lg-actions .lg-prev,.lg-outer .lg-toogle-thumb,.lg-toolbar .lg-icon{color:#fff}.lg-outer .lg-thumb-item.active,.lg-outer .lg-thumb-item:hover{border-color:var(--primary)}.lightimg{cursor:pointer}.jqvmap-zoomin,.jqvmap-zoomout{position:absolute;left:10px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background:#000;padding:3px;color:#fff;width:17px;height:17px;cursor:pointer;line-height:10px;text-align:center}.jqvmap-zoomin{top:10px}.jqvmap-zoomout{top:30px}.ps__rail-x.ps--clicking,.ps__rail-x:focus,.ps__rail-x:hover,.ps__rail-y.ps--clicking,.ps__rail-y:focus,.ps__rail-y:hover{background-color:transparent;opacity:.9}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y,.ps__thumb-y{background-color:#dae2f3;width:4px}.total-average{position:relative;height:300px}.widget-chat{position:relative;height:250px}.widget-todo{position:relative;height:210px}.widget-team{height:285px}.widget-comments,.widget-team,.widget-timeline{position:relative}.widget-comments{height:400px}.sidebar-right-inner{position:relative;height:100%}.widget-team .ps .ps__rail-x.ps--clicking,.widget-team .ps .ps__rail-x:focus,.widget-team .ps .ps__rail-x:hover,.widget-team .ps .ps__rail-y.ps--clicking,.widget-team .ps .ps__rail-y:focus,.widget-team .ps .ps__rail-y:hover{background-color:transparent!important;opacity:.9}.fc-h-event,.fc-v-event{background:var(--primary);border-radius:.42rem}.fc-h-event .fc-event-title{color:#fff}.fc-theme-standard td,.fc-theme-standard th{border-color:#ebedf3}.fc-unthemed .fc-event-dot,.fc-unthemed .fc-h-event{padding:0;border-radius:.42rem}.fc-theme-standard th{padding:.75rem .5rem;font-size:1rem;font-weight:500;color:#b5b5c3}@media only screen and (max-width:575px){.fc-theme-standard th{font-size:14px;font-weight:400;padding:3px 0}}.fc-scrollgrid,.fc-theme-standard .fc-scrollgrid.fc-scrollgrid-liquid,table{border-color:#ebedf3}.fc-daygrid-dot-event{background:#fff;border:1px solid #ebedf3;-webkit-box-shadow:0 0 9px 0 rgba(0,0,0,.1);box-shadow:0 0 9px 0 rgba(0,0,0,.1)}.fc-daygrid-dot-event .fc-daygrid-event-dot{border-color:var(--primary)}.fc-daygrid-dot-event .fc-event-title{font-weight:500}.fc-event.bg-dark,.fc-event.bg-info,.fc-event.bg-primary,.fc-event.bg-secondary,.fc-event.bg-success,.fc-event.bg-warning{color:#fff!important;border-radius:8px}.fc-event.bg-dark .fc-daygrid-event-dot,.fc-event.bg-info .fc-daygrid-event-dot,.fc-event.bg-primary .fc-daygrid-event-dot,.fc-event.bg-secondary .fc-daygrid-event-dot,.fc-event.bg-success .fc-daygrid-event-dot,.fc-event.bg-warning .fc-daygrid-event-dot{border-color:#fff}.fc-scroller,.fc .fc-scroller-liquid-absolute{position:relative;overflow:visible!important}.fc .fc-button-group>.fc-button{color:#b5b5c3;background:0 0;border:1px solid #ebedf3;text-shadow:none!important;-webkit-box-shadow:none!important;box-shadow:none!important}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{background:var(--primary);color:#fff;border-color:var(--primary)}.fc-button.fc-button-primary.fc-today-button{background:var(--primary);color:#fff;border:0;opacity:1}.fc-unthemed .fc-toolbar .fc-button.fc-button-active,.fc-unthemed .fc-toolbar .fc-button:active,.fc-unthemed .fc-toolbar .fc-button:focus{background:var(--primary);color:#fff;border:1px solid var(--primary);-webkit-box-shadow:none;box-shadow:none;text-shadow:none}.fc .fc-toolbar-title{font-size:20px;margin:0}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:-.5em}.external-event{padding:8px 10px;display:flex;align-items:center;border-radius:5px}.external-event:hover:before{background:#fff!important}.fc-event{overflow:hidden}.fc .fc-view-harness{height:800px!important;overflow-y:auto}@media only screen and (max-width:575px){.fc .fc-toolbar.fc-header-toolbar{display:block}.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk{display:flex;justify-content:center}.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk:first-child{justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-title{margin-bottom:8px}}#external-events .external-event{text-align:left;font-size:16px}@media only screen and (max-width:575px){.fc.app-fullcalendar .fc-timegrid-slot-label{width:40px!important;font-size:10px}.fc.app-fullcalendar .external-event,.fc.app-fullcalendar .fc-event{font-size:10px;margin:0;padding:2px 0;text-align:center;line-height:1.3}.fc.app-fullcalendar .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px;font-size:10px}}.accordion-primary .accordion-header{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 15px 20px 0 var(--rgba-primary-1)}.accordion-primary .accordion-header.collapsed{background:var(--rgba-primary-1);border-color:var(--rgba-primary-1);color:var(--primary);box-shadow:none}[data-theme-version=dark] .accordion-primary .accordion-header.collapsed{background:var(--rgba-primary-1);border-color:var(--rgba-primary-1);color:#969ba0}.accordion-primary-solid .accordion-header{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 -10px 20px 0 var(--rgba-primary-1);border-bottom-left-radius:0;border-bottom-right-radius:0}.accordion-primary-solid .accordion-header.collapsed{background:var(--rgba-primary-1);border-color:var(--rgba-primary-1);color:var(--primary);box-shadow:none;border-bottom-left-radius:1.75rem;border-bottom-right-radius:1.75rem}[data-theme-version=dark] .accordion-primary-solid .accordion-header.collapsed{background:var(--rgba-primary-1);border-color:var(--rgba-primary-1);color:#969ba0}.accordion-primary-solid .accordion__body{border:2px solid var(--primary);border-top:none;box-shadow:0 15px 20px 0 var(--rgba-primary-1);border-bottom-left-radius:1.75rem;border-bottom-right-radius:1.75rem}.accordion-danger .accordion-header{background:#f72b50;border-color:#f72b50;color:#fff;box-shadow:0 15px 20px 0 rgba(247,43,80,.15)}.accordion-danger .accordion-header.collapsed{background:#fee6ea;border-color:#fee6ea;color:#211c37;box-shadow:none}.accordion-danger-solid .accordion-header{background:#f72b50;border-color:#f72b50;color:#fff;box-shadow:0 -10px 20px 0 rgba(247,43,80,.15);border-bottom-left-radius:0;border-bottom-right-radius:0}.accordion-danger-solid .accordion-header.collapsed{background:#fee6ea;border-color:#fee6ea;color:#211c37;box-shadow:none;border-bottom-left-radius:1.75rem;border-bottom-right-radius:1.75rem}[data-theme-version=dark] .accordion-danger-solid .accordion-header.collapsed{background:rgba(247,43,80,.15);border-color:rgba(247,43,80,.15);color:#969ba0}@media only screen and (max-width:575px){.accordion-danger-solid .accordion-header.collapsed{border-bottom-left-radius:6px;border-bottom-right-radius:6px}}.accordion-danger-solid .accordion__body{border:2px solid #f72b50;border-top:none;box-shadow:0 15px 20px 0 rgba(247,43,80,.15);border-bottom-left-radius:1.75rem;border-bottom-right-radius:1.75rem}@media only screen and (max-width:575px){.accordion-danger-solid .accordion__body{border-bottom-left-radius:6px;border-bottom-right-radius:6px}}.accordion-item{margin-bottom:1.25rem}.accordion-header{padding:1rem 1.75rem;border:1px solid #f5f5f5;cursor:pointer;position:relative;color:#333;font-weight:400;border-radius:1.75rem;-webkit-transition:all .5s;-ms-transition:all .5s;transition:all .5s}[data-theme-version=dark] .accordion-header{color:#fff;border-color:#2e2e42}@media only screen and (max-width:575px){.accordion-header{border-radius:6px}}.accordion-header-indicator{font-family:themify;position:absolute;right:1.5625rem;top:50%;transform:translateY(-50%)}[direction=rtl] .accordion-header-indicator{right:auto;left:1.5625rem}.accordion-header-indicator.indicator_bordered{display:inline-block;width:25px;text-align:center;height:25px;border:1px solid #f5f5f5;border-radius:50%;line-height:25px}.accordion-header:not(.collapsed) .accordion-header-indicator:before{content:\"\\e622\"}.accordion-header:not(.collapsed) .accordion-header-indicator.style_two:before{content:\"\\e648\"}.accordion-header.collapsed .accordion-header-indicator:before{content:\"\\e61a\"}.accordion-header.collapsed .accordion-header-indicator.style_two:before{content:\"\\e64b\"}.accordion-body-text{padding:.875rem 1.25rem}.accordion-bordered .accordion__body{border:1px solid #f5f5f5;border-top:none;border-bottom-left-radius:1.75rem;border-bottom-right-radius:1.75rem}[data-theme-version=dark] .accordion-bordered .accordion__body{border-color:#2e2e42}@media only screen and (max-width:575px){.accordion-bordered .accordion__body{border-bottom-left-radius:6px;border-bottom-right-radius:6px}}.accordion-bordered .accordion-header.collapsed{border-radius:1.75rem}@media only screen and (max-width:575px){.accordion-bordered .accordion-header.collapsed{border-radius:6px}}.accordion-bordered .accordion-header{border-bottom-left-radius:0;border-bottom-right-radius:0}.accordion-no-gutter .accordion-item{margin-bottom:0}.accordion-no-gutter .accordion-item .accordion-header.collapsed{border-bottom:none}.accordion-no-gutter .accordion-item:last-child .accordion-header{border-bottom:1px solid #f5f5f5}[data-theme-version=dark] .accordion-no-gutter .accordion-item:last-child .accordion-header{border-color:#2e2e42}.accordion-no-gutter.accordion__bordered .accordion-item:not(:last-child) .accordion__body{border-bottom:none}.accordion-left-indicator .accordion-header-text{padding-left:2.5rem}.accordion-left-indicator .accordion-header-indicator{right:auto;left:1.5625rem}.accordion-with-icon .accordion-header-text{padding-left:2.5rem}[direction=rtl] .accordion-with-icon .accordion-header-text{padding-left:0;padding-right:2.5rem}.accordion-with-icon .accordion-header-icon{position:absolute;right:auto;left:1.5625rem;font-family:themify}[direction=rtl] .accordion-with-icon .accordion-header-icon{left:auto;right:1.5625rem}.accordion-with-icon .accordion-header-icon:before{content:\"\\e645\"}.accordion-header-bg .accordion-header{background-color:#c8c8c8}[data-theme-version=dark] .accordion-header-bg .accordion-header{background-color:#171622;color:#fff}.accordion-header-bg .accordion-header-primary{background-color:var(--primary);color:#fff;border-color:var(--primary)}[data-theme-version=dark] .accordion-header-bg .accordion-header-primary{background-color:var(--primary)}.accordion-header-bg .accordion-header-info{background-color:#b48dd3;color:#fff;border-color:#b48dd3}[data-theme-version=dark] .accordion-header-bg .accordion-header-info{background-color:#b48dd3}.accordion-header-bg .accordion-header-success{background-color:#68e365;color:#fff;border-color:#68e365}[data-theme-version=dark] .accordion-header-bg .accordion-header-success{background-color:#68e365}.accordion-header-bg.accordion-no-gutter .accordion-header{border-color:transparent;border-radius:0}.accordion-header-bg.accordion-no-gutter .accordion-item:first-child .accordion-header{border-top-left-radius:1.75rem;border-top-right-radius:1.75rem}.accordion-header-bg.accordion-no-gutter .accordion-item:last-child .accordion-header{border-bottom-left-radius:1.75rem;border-bottom-right-radius:1.75rem}.accordion.accordion-no-gutter .accordion-header,.accordion.accordion-no-gutter .accordion-header.collapsed,.accordion.accordion-no-gutter .accordion__body{border-radius:0}.accordion.accordion-no-gutter .accordion-item:first-child .accordion-header{border-top-left-radius:1.75rem;border-top-right-radius:1.75rem}@media only screen and (max-width:575px){.accordion.accordion-no-gutter .accordion-item:first-child .accordion-header{border-top-left-radius:6px;border-top-right-radius:6px}}.accordion.accordion-no-gutter .accordion-item:last-child .accordion-header.collapsed,.accordion.accordion-no-gutter .accordion-item:last-child .accordion__body{border-bottom-left-radius:1.75rem;border-bottom-right-radius:1.75rem}@media only screen and (max-width:575px){.accordion.accordion-no-gutter .accordion-item:last-child .accordion-header.collapsed,.accordion.accordion-no-gutter .accordion-item:last-child .accordion__body{border-bottom-left-radius:6px;border-bottom-right-radius:6px}}.accordion-solid-bg .accordion-header{border-color:transparent;background-color:var(--rgba-primary-1);border-bottom-left-radius:0;border-bottom-right-radius:0}[data-theme-version=dark] .accordion-solid-bg .accordion-header{background-color:#171622}.accordion-solid-bg .accordion-header.collapsed{border-radius:1.75rem}@media only screen and (max-width:575px){.accordion-solid-bg .accordion-header.collapsed{border-radius:6px}}.accordion-solid-bg .accordion__body{border-color:transparent;background-color:var(--rgba-primary-1);border-bottom-left-radius:1.75rem;border-bottom-right-radius:1.75rem}[data-theme-version=dark] .accordion-solid-bg .accordion__body{background-color:#171622}@media only screen and (max-width:575px){.accordion-solid-bg .accordion__body{border-bottom-left-radius:6px;border-bottom-right-radius:6px}}.accordion-active-header .accordion-header:not(.collapsed){background-color:#b48dd3;border-color:#b48dd3;color:#fff}.accordion-header-shadow .accordion-header{border:none;box-shadow:0 0 .9375rem -3px rgba(0,0,0,.3)}.accordion-rounded-stylish .accordion-header{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.accordion-rounded-stylish .accordion__body{border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem}.accordion-rounded .accordion-header{border-radius:.3125rem}.accordion-gradient .accordion-header{color:#fff;background-image:linear-gradient(90deg,rgba(186,1,181,.85) 0,rgba(103,25,255,.85));border-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.accordion-gradient .accordion-header.collapsed{border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem}.accordion-gradient .accordion__body{color:#fff;background-image:linear-gradient(90deg,rgba(186,1,181,.85) 0,rgba(103,25,255,.85));border-color:transparent}.alert{border-radius:1.75rem;padding:1rem 1.5rem}.alert p{line-height:1.5}@media only screen and (max-width:575px){.alert{border-radius:6px}}.alert.alert-dismissible{padding-right:38px}.alert-rounded{border-radius:30px}.alert-primary{color:var(--primary)}.alert-primary,[data-theme-version=dark] .alert-primary{background:var(--rgba-primary-1);border-color:var(--rgba-primary-1)}.alert-secondary{background:#f2f4fd;border-color:#f2f4fd;color:#627eea}[data-theme-version=dark] .alert-secondary{background:rgba(98,126,234,.5);border-color:rgba(98,126,234,.5);color:#969ba0}.alert-success{background:#e7fbe6;border-color:#e7fbe6;color:#68e365}[data-theme-version=dark] .alert-success{background:rgba(104,227,101,.1);border-color:rgba(104,227,101,.1)}.alert-warning{background:#ffeedf;border-color:#ffeedf;color:#ffa755}[data-theme-version=dark] .alert-warning{background:rgba(255,167,85,.1);border-color:rgba(255,167,85,.1)}.alert-danger{background:#fee6ea;border-color:#fee6ea;color:#f72b50}[data-theme-version=dark] .alert-danger{background:rgba(247,43,80,.15);border-color:rgba(247,43,80,.15)}.alert-info{background:#f5f0f9;border-color:#f5f0f9;color:#b48dd3}[data-theme-version=dark] .alert-info{background:rgba(180,141,211,.1);border-color:rgba(180,141,211,.1)}.alert-dark{background:#eee;border-color:#eee;color:#6e6e6e}[data-theme-version=dark] .alert-dark{background:hsla(0,0%,43.1%,.35);border-color:hsla(0,0%,43.1%,.35);color:#969ba0}.alert-light{background:#c8c8c8;border-color:#c8c8c8;color:#6e6e6e}.alert-alt.alert-primary{border-left:4px solid var(--primary)}.alert-alt.alert-secondary{border-left:4px solid #627eea}.alert-alt.alert-success{border-left:4px solid #68e365}.alert-alt.alert-warning{border-left:4px solid #ffa755}.alert-alt.alert-danger{border-left:4px solid #f72b50}.alert-alt.alert-info{border-left:4px solid #b48dd3}.alert-alt.alert-dark{border-left:4px solid #6e6e6e}.alert-alt.alert-light{border-left:4px solid #a2a2a2}.alert-alt.alert-primary.solid{border-left:4px solid var(--primary-dark)!important}.alert-alt.alert-secondary.solid{border-left:4px solid #1838b4!important}.alert-alt.alert-success.solid{border-left:4px solid #22aa1f!important}.alert-alt.alert-warning.solid{border-left:4px solid #d56700!important}.alert-alt.alert-danger.solid{border-left:4px solid #9d0621!important}.alert-alt.alert-info.solid{border-left:4px solid #763fa2!important}.alert-alt.alert-dark.solid{border-left:4px solid #2e2e2e!important}.alert-alt.alert-light.solid{border-left:4px solid #888!important}.alert-dismissible.solid .close:hover{color:#fff;opacity:1}.alert.alert-primary.solid{background:var(--primary);color:#fff;border-color:var(--primary)}.alert.alert-secondary.solid{background:#627eea;color:#fff;border-color:#627eea}.alert.alert-success.solid{background:#68e365;color:#fff;border-color:#68e365}.alert.alert-warning.solid{background:#ffa755;color:#fff;border-color:#ffa755}.alert.alert-danger.solid{background:#f72b50;color:#fff;border-color:#f72b50}.alert.alert-info.solid{background:#b48dd3;color:#fff;border-color:#b48dd3}.alert.alert-dark.solid{background:#6e6e6e;color:#fff;border-color:#6e6e6e}.alert.alert-light.solid{background:#c8c8c8;color:#6e6e6e;border-color:#c8c8c8}.alert-right-icon>span i{font-size:18px;margin-right:5px}.alert-right-icon .close i{font-size:16px}.alert.alert-outline-primary{background:transparent;color:var(--primary);border-color:var(--primary)}.alert.alert-outline-secondary{background:transparent;color:#969ba0;border-color:#627eea}.alert.alert-outline-success{background:transparent;color:#68e365;border-color:#68e365}.alert.alert-outline-info{background:transparent;color:#b48dd3;border-color:#b48dd3}.alert.alert-outline-warning{background:transparent;color:#ffa755;border-color:#ffa755}.alert.alert-outline-danger{background:transparent;color:#f72b50;border-color:#f72b50}.alert.alert-outline-dark{background:transparent;color:#969ba0;border-color:#6e6e6e}.alert.alert-outline-light{background:transparent;color:#6e6e6e;border-color:#c8c8c8}.alert-social{color:#fff}.alert-social .alert-social-icon{align-self:center;margin-right:.9375rem}.alert-social .alert-social-icon i{font-size:42px}.alert-social.facebook{background-color:#3b5998}.alert-social.twitter{background-color:#1da1f2}.alert-social.linkedin{background-color:#007bb6}.alert-social.google-plus{background-color:#db4439}.alert-social .close:hover{opacity:1!important;color:#fff!important}.left-icon-big .alert-left-icon-big{align-self:center;margin-right:.9375rem}.left-icon-big .alert-left-icon-big i{font-size:35px;line-height:1}[direction=rtl] .alert-social .alert-social-icon,[direction=rtl] .left-icon-big .alert-left-icon-big{margin-right:0;margin-left:.9375rem}.badge{line-height:1.5;border-radius:1.03125rem;padding:4px 10px;border:1px solid transparent}@media only screen and (max-width:575px){.badge{border-radius:6px}}.badge-rounded{border-radius:20px;padding:3px 13px}.badge-circle{border-radius:100px;padding:3px 7px}.badge-outline-primary{border:1px solid var(--primary);color:var(--primary)}.badge-outline-secondary{border:1px solid #627eea;color:#627eea}[data-theme-version=dark] .badge-outline-secondary{color:#969ba0}.badge-outline-success{border:1px solid #68e365;color:#68e365}.badge-outline-info{border:1px solid #b48dd3;color:#b48dd3}.badge-outline-warning{border:1px solid #ffa755;color:#ffa755}.badge-outline-danger{border:1px solid #f72b50;color:#f72b50}.badge-outline-light{border:1px solid #f5f5f5;color:#6e6e6e}[data-theme-version=dark] .badge-outline-light{color:#969ba0}.badge-outline-dark{border:1px solid #6e6e6e;color:#6e6e6e}[data-theme-version=dark] .badge-outline-dark{color:#969ba0}.badge-xs{font-size:10px;padding:0 5px;line-height:18px}.badge-sm{font-size:11px;padding:5px 8px;line-height:11px}.badge-lg{font-size:14px;padding:0 10px;line-height:30px}.badge-xl{font-size:16px;padding:0 15px;line-height:35px}.badge-default{background:#adb6c7}.badge-success{background-color:#68e365}.badge-secondary{background-color:#627eea}.badge-info{background-color:#b48dd3}.badge-primary{background-color:var(--primary)}.badge-warning{background-color:#ffa755}.badge-danger{background-color:#f72b50}.badge-dark{background-color:#6e6e6e}.badge-light{background-color:#c8c8c8}.light.badge-default{background:#adb6c7}.light.badge-success{background-color:#e7fbe6;color:#68e365}[data-theme-version=dark] .light.badge-success{background-color:rgba(104,227,101,.1)}.light.badge-info{background-color:#f5f0f9;color:#b48dd3}[data-theme-version=dark] .light.badge-info{background-color:rgba(180,141,211,.1)}.light.badge-primary{color:var(--primary)}.light.badge-primary,[data-theme-version=dark] .light.badge-primary{background-color:var(--rgba-primary-1)}.light.badge-secondary{background-color:#f2f4fd;color:#627eea}[data-theme-version=dark] .light.badge-secondary{background-color:rgba(98,126,234,.5);color:#969ba0}.light.badge-warning{background-color:#ffeedf;color:#ffa755}[data-theme-version=dark] .light.badge-warning{background-color:rgba(255,167,85,.1)}.light.badge-danger{background-color:#fee6ea;color:#f72b50}[data-theme-version=dark] .light.badge-danger{background-color:rgba(247,43,80,.15)}.light.badge-dark{background-color:#eee;color:#6e6e6e}[data-theme-version=dark] .light.badge-dark{background-color:hsla(0,0%,43.1%,.35);color:#969ba0}.bootstrap-label .label{display:inline-block;margin-right:1rem}.bootstrap-label .label:last-child{margin-right:0}.badge-demo .badge{margin-right:5px;margin-bottom:5px}.badge-demo .badge:last-child{margin-right:0}.bootstrap-badge-buttons button{margin-right:.2rem;margin-bottom:1rem}.bootstrap-badge-buttons button:last-child{margin-right:0}.breadcrumb{font-size:1.1875rem}.breadcrumb .breadcrumb-item+.breadcrumb-item:before,.breadcrumb .breadcrumb-item.active a{color:var(--primary)}.page-titles{padding:15px 40px;background:#fff;border-radius:1rem;margin:0 0 30px}[data-theme-version=dark] .page-titles{background:#212130}@media only screen and (max-width:767px){.page-titles{padding:15px 20px;margin:0 0 15px}}@media only screen and (max-width:575px){.page-titles{padding:8px 20px;border-radius:6px}}.page-titles .justify-content-sm-end{align-items:center}.page-titles .h4,.page-titles h4{margin-bottom:0;margin-top:0;color:var(--primary);font-size:1.25rem}.page-titles .h4 span,.page-titles h4 span{font-size:.875rem;font-weight:400}.page-titles .breadcrumb{margin-bottom:0;padding:0;background:transparent}.page-titles .breadcrumb li{margin-top:0;margin-bottom:0}.page-titles .breadcrumb li a{color:#828690}@media only screen and (max-width:575px){.page-titles .breadcrumb li a{font-size:14px}}.page-titles .breadcrumb li.active{color:var(--primary);font-weight:600}.page-titles .breadcrumb .breadcrumb-item+.breadcrumb-item:before,.page-titles .breadcrumb li.active a{color:#627eea}.page-titles .breadcrumb-datepicker{font-size:.75rem;color:#89879f}.page-titles .breadcrumb-datepicker__icon{font-size:.875rem}.page-titles .breadcrumb-widget .border-dark{border-color:#dee2e6!important}.page-titles .breadcrumb-widget .h4,.page-titles .breadcrumb-widget h4{color:#646c9a;font-weight:600}@media only screen and (max-width:575px){.page-titles .breadcrumb-widget{text-align:left!important;margin-bottom:.9375rem}}button{cursor:pointer}button:focus{outline:0;box-shadow:none}.btn{padding:.938rem 1.5rem;border-radius:1.125rem;font-weight:400;font-size:1rem}.btn.active,.btn:active,.btn:focus,.btn:hover{outline:0!important}@media only screen and (max-width:1400px){.btn{padding:.625rem 1rem;font-size:.813rem}}@media only screen and (max-width:575px){.btn{border-radius:6px}}.btn.btn-danger,.btn.btn-info,.btn.btn-primary,.btn.btn-secondary,.btn.btn-success,.btn.btn-warning{color:#fff}.btn-transparent{background-color:transparent}.btn-primary{border-color:var(--primary);background-color:var(--primary)}.btn-primary:active,.btn-primary:focus,.btn-primary:hover{border-color:var(--primary-hover);background-color:var(--primary-hover)}.btn-primary:focus{box-shadow:0 0 0 .25rem var(--rgba-primary-5)}.btn-primary.disabled,.btn-primary:disabled{background-color:var(--primary);border-color:var(--primary)}.btn-link{color:var(--primary);text-decoration:none}.btn-link:hover{color:var(--primary-hover)}.btn-outline-primary{color:var(--primary);border-color:var(--primary)}.btn-outline-primary:hover{border-color:var(--primary-hover);background-color:var(--primary-hover)}.sharp{min-width:40px;padding:7px;height:40px;min-height:40px}.sharp.btn-xs{padding:3px;width:26px;height:26px;min-width:26px;min-height:26px}.btn-block{display:block;width:100%}.light.tp-btn{background-color:transparent}.light.btn-default{background:#adb6c7}.light.btn-success{background-color:#e7fbe6;border-color:#e7fbe6;color:#68e365}.light.btn-success g [fill]{fill:#68e365}[data-theme-version=dark] .light.btn-success{background-color:rgba(104,227,101,.1);border-color:transparent}.light.btn-success:hover{background-color:#68e365;border-color:#68e365;color:#fff}.light.btn-success:hover g [fill]{fill:#fff}.light.btn-info{background-color:#f5f0f9;border-color:#f5f0f9;color:#b48dd3}.light.btn-info g [fill]{fill:#b48dd3}[data-theme-version=dark] .light.btn-info{background-color:rgba(180,141,211,.1);border-color:transparent}.light.btn-info:hover{background-color:#b48dd3;border-color:#b48dd3;color:#fff}.light.btn-info:hover g [fill]{fill:#fff}.light.btn-primary{background-color:var(--rgba-primary-1);border-color:var(--rgba-primary-1);color:var(--primary)}.light.btn-primary g [fill]{fill:var(--primary)}[data-theme-version=dark] .light.btn-primary{background-color:var(--rgba-primary-1);border-color:transparent;color:#fff}.light.btn-primary:hover{background-color:var(--primary);border-color:var(--primary);color:#fff}.light.btn-primary:hover g [fill]{fill:#fff}.light.btn-secondary{background-color:#f2f4fd;border-color:#f2f4fd;color:#627eea}.light.btn-secondary g [fill]{fill:#627eea}[data-theme-version=dark] .light.btn-secondary{background-color:rgba(98,126,234,.5);border-color:transparent;color:#fff}.light.btn-secondary:hover{background-color:#627eea;border-color:#627eea;color:#fff}.light.btn-secondary:hover g [fill]{fill:#fff}.light.btn-warning{background-color:#ffeedf;border-color:#ffeedf;color:#ffa755}.light.btn-warning g [fill]{fill:#ffa755}[data-theme-version=dark] .light.btn-warning{background-color:rgba(255,167,85,.1);border-color:transparent}.light.btn-warning:hover{background-color:#ffa755;border-color:#ffa755;color:#fff}.light.btn-warning:hover g [fill]{fill:#fff}.light.btn-danger{background-color:#fee6ea;border-color:#fee6ea;color:#f72b50}.light.btn-danger g [fill]{fill:#f72b50}[data-theme-version=dark] .light.btn-danger{background-color:rgba(247,43,80,.15);border-color:transparent}.light.btn-danger:hover{background-color:#f72b50;border-color:#f72b50;color:#fff}.light.btn-danger:hover g [fill]{fill:#fff}.light.btn-dark{background-color:#eee;border-color:#eee;color:#6e6e6e}.light.btn-dark g [fill]{fill:#6e6e6e}[data-theme-version=dark] .light.btn-dark{background-color:hsla(0,0%,43.1%,.35);border-color:transparent;color:#fff}.light.btn-dark:hover{background-color:#6e6e6e;border-color:#6e6e6e;color:#fff}.light.btn-dark:hover g [fill]{fill:#fff}.btn.tp-btn{background-color:transparent;border-color:transparent}.btn.tp-btn.btn-default{background:#adb6c7}.btn.tp-btn.btn-success{color:#68e365}.btn.tp-btn.btn-success g [fill]{fill:#68e365}.btn.tp-btn.btn-success:hover{background-color:#68e365;border-color:#68e365;color:#fff}.btn.tp-btn.btn-success:hover g [fill]{fill:#fff}.btn.tp-btn.btn-info{color:#b48dd3}.btn.tp-btn.btn-info g [fill]{fill:#b48dd3}.btn.tp-btn.btn-info:hover{background-color:#b48dd3;border-color:#b48dd3;color:#fff}.btn.tp-btn.btn-info:hover g [fill]{fill:#fff}.btn.tp-btn.btn-primary{color:var(--primary)}.btn.tp-btn.btn-primary g [fill]{fill:var(--primary)}.btn.tp-btn.btn-primary:hover{background-color:var(--primary);border-color:var(--primary);color:#fff}.btn.tp-btn.btn-primary:hover g [fill]{fill:#fff}.btn.tp-btn.btn-secondary{color:#627eea}.btn.tp-btn.btn-secondary g [fill]{fill:#627eea}.btn.tp-btn.btn-secondary:hover{background-color:#627eea;border-color:#627eea;color:#fff}.btn.tp-btn.btn-secondary:hover g [fill]{fill:#fff}.btn.tp-btn.btn-warning{color:#ffa755}.btn.tp-btn.btn-warning g [fill]{fill:#ffa755}.btn.tp-btn.btn-warning:hover{background-color:#ffa755;border-color:#ffa755;color:#fff}.btn.tp-btn.btn-warning:hover g [fill]{fill:#fff}.btn.tp-btn.btn-danger{color:#f72b50}.btn.tp-btn.btn-danger g [fill]{fill:#f72b50}.btn.tp-btn.btn-danger:hover{background-color:#f72b50;border-color:#f72b50;color:#fff}.btn.tp-btn.btn-danger:hover g [fill]{fill:#fff}.btn.tp-btn.btn-light{color:#6e6e6e}.btn.tp-btn.btn-light g [fill]{fill:#6e6e6e}.btn.tp-btn.btn-light:hover{background-color:#c8c8c8;border-color:#c8c8c8;color:#6e6e6e}.btn.tp-btn.btn-light:hover g [fill]{fill:#fff}.btn.tp-btn.btn-dark{color:#6e6e6e}.btn.tp-btn.btn-dark g [fill]{fill:#6e6e6e}.btn.tp-btn.btn-dark:hover{background-color:#6e6e6e;border-color:#6e6e6e;color:#fff}.btn.tp-btn.btn-dark:hover g [fill]{fill:#fff}.btn.tp-btn-light{background-color:transparent;border-color:transparent}.btn.tp-btn-light.btn-success{color:#68e365}.btn.tp-btn-light.btn-success g [fill]{fill:#68e365}.btn.tp-btn-light.btn-success:hover{background-color:#e7fbe6;border-color:#e7fbe6;color:#68e365}.btn.tp-btn-light.btn-success:hover g [fill]{fill:#68e365}.btn.tp-btn-light.btn-info{color:#b48dd3}.btn.tp-btn-light.btn-info g [fill]{fill:#b48dd3}.btn.tp-btn-light.btn-info:hover{background-color:#f5f0f9;border-color:#f5f0f9;color:#b48dd3}.btn.tp-btn-light.btn-info:hover g [fill]{fill:#b48dd3}.btn.tp-btn-light.btn-primary{color:var(--primary)}.btn.tp-btn-light.btn-primary g [fill]{fill:var(--primary)}.btn.tp-btn-light.btn-primary:hover{background-color:var(--rgba-primary-1);border-color:var(--rgba-primary-1);color:var(--primary)}.btn.tp-btn-light.btn-primary:hover g [fill]{fill:var(--primary)}.btn.tp-btn-light.btn-secondary{color:#627eea}.btn.tp-btn-light.btn-secondary g [fill]{fill:#627eea}.btn.tp-btn-light.btn-secondary:hover{background-color:#f2f4fd;border-color:#f2f4fd;color:#627eea}.btn.tp-btn-light.btn-secondary:hover g [fill]{fill:#627eea}.btn.tp-btn-light.btn-warning{color:#ffa755}.btn.tp-btn-light.btn-warning g [fill]{fill:#ffa755}.btn.tp-btn-light.btn-warning:hover{background-color:#ffeedf;border-color:#ffeedf;color:#ffa755}.btn.tp-btn-light.btn-warning:hover g [fill]{fill:#ffa755}.btn.tp-btn-light.btn-danger{color:#f72b50}.btn.tp-btn-light.btn-danger g [fill]{fill:#f72b50}.btn.tp-btn-light.btn-danger:hover{background-color:#fee6ea;border-color:#fee6ea;color:#f72b50}.btn.tp-btn-light.btn-danger:hover g [fill]{fill:#fff}.btn.tp-btn-light.btn-dark{color:#6e6e6e}.btn.tp-btn-light.btn-dark g [fill]{fill:#6e6e6e}.btn.tp-btn-light.btn-dark:hover{background-color:#eee;border-color:#eee;color:#6e6e6e}.btn.tp-btn-light.btn-dark:hover g [fill]{fill:#fff}.shadow.btn-primary{-webkit-box-shadow:0 5px 15px 0 var(--rgba-primary-2)!important;box-shadow:0 5px 15px 0 var(--rgba-primary-2)!important}.shadow.btn-secondary{-webkit-box-shadow:0 5px 15px 0 rgba(98,126,234,.2)!important;box-shadow:0 5px 15px 0 rgba(98,126,234,.2)!important}.shadow.btn-warning{-webkit-box-shadow:0 5px 15px 0 rgba(255,167,85,.2)!important;box-shadow:0 5px 15px 0 rgba(255,167,85,.2)!important}.shadow.btn-danger{-webkit-box-shadow:0 5px 15px 0 rgba(247,43,80,.2)!important;box-shadow:0 5px 15px 0 rgba(247,43,80,.2)!important}.shadow.btn-info{-webkit-box-shadow:0 5px 15px 0 rgba(180,141,211,.2)!important;box-shadow:0 5px 15px 0 rgba(180,141,211,.2)!important}.shadow.btn-success{-webkit-box-shadow:0 5px 15px 0 rgba(104,227,101,.2)!important;box-shadow:0 5px 15px 0 rgba(104,227,101,.2)!important}.btn-xxs{padding:6px 15px;font-size:11px;line-height:1.3}.btn-xs{font-size:.75rem;padding:.438rem 1rem;font-weight:600}.btn-group-sm>.btn,.btn-sm{font-size:.813rem!important;padding:.625rem 1rem}.btn-md{font-size:.875rem!important;padding:.875rem 1.25rem}.btn-group-lg>.btn,.btn-lg{padding:1rem 2rem;font-size:1.125rem!important}@media only screen and (max-width:575px){.btn-group-lg>.btn,.btn-lg{padding:.75rem 1.25rem}}.btn-xl{padding:.6rem 1rem}.btn-xl.btn-default{font-weight:600}.btn-square{border-radius:0}.btn-rounded{border-radius:40px!important}.btn-icon-end{border-left:1px solid #fff;display:inline-block;margin:-1rem -.25rem -1rem 1rem;padding:1rem 0 1rem 1.25rem}.btn-icon-start{background:#fff;border-radius:10rem;display:inline-block;margin:-.5rem .75rem -.5rem -1.188rem;padding:.5rem .8rem;float:left}@media only screen and (max-width:1400px){.btn-icon-start{margin:-.5rem .75rem -.5rem -.88rem}}[direction=rtl] .btn-icon-start{margin:-.5rem .5rem -.5rem -1rem}@media only screen and (max-width:1400px){[direction=rtl] .btn-icon-start{margin:-.5rem .75rem -.5rem -.88rem}}[direction=rtl] .btn-icon-end{border-left:0 solid #fff;display:inline-block;margin:-.8rem 1rem -.8rem 0;padding:.4375rem 1rem .4375rem 0;border-right:1px solid #fff}.toggle-dropdown:after{margin-left:.755em}.social-btn-icon .btn{min-width:7.5rem;margin-bottom:1.5rem}.social-icon .btn{padding:.7rem 1.4rem}.btn-circle{height:5rem;width:5rem;border-radius:50%!important}.btn-circle-sm{width:4.5rem;height:4.5rem;font-size:1.8rem}.btn-circle-md{width:6rem;height:6rem;font-size:2.5rem}.btn-circle-md i{font-size:2.4rem}.btn-circle-lg{width:8rem;height:8rem;font-size:3.2rem}.btn-circle-lg i{font-size:3.1rem}.btn-page .btn{min-width:110px;margin-right:4px;margin-bottom:8px}.size-1{min-width:160px!important;font-size:24px;padding:.68rem .75rem}.size-2{font-size:20px;min-width:130px!important;padding:.57rem .75rem}.size-3{font-size:14px;min-width:110px!important;padding:.536rem .75rem}.size-4{font-size:14px;min-width:100px!important}.size-5{font-size:14px;min-width:90px!important;padding:.22rem .75rem}.size-6{font-size:13px;min-width:80px!important;padding:.097rem .75rem}.size-7{font-size:12px;min-width:60px!important;padding:.001rem .75rem}.btn-light{background:#c8c8c8;border-color:#c8c8c8;color:#fff}.btn-light:active,.btn-light:focus,.btn-light:hover{background:#fff;color:#6e6e6e;border-color:#fff}.btn-outline-primary:hover,.btn-outline-warning:hover{color:#fff}.btn-outline-light{color:#6e6e6e}[data-theme-version=dark] .btn-outline-dark,[data-theme-version=dark] .btn-outline-light,[data-theme-version=dark] .btn-outline-secondary{color:#969ba0}.btn-dark{background:#6e6e6e;border-color:#6e6e6e;color:#fff}.btn-dark:active,.btn-dark:focus,.btn-dark:hover{background:#555;color:#fff;border-color:#555}.btn-group.btn-rounded .btn:first-child{border-top-left-radius:30px;border-bottom-left-radius:30px}.btn-group.btn-rounded .btn:last-child{border-top-right-radius:30px;border-bottom-right-radius:30px}.btn-facebook{background:#3b5998;border-color:#3b5998;color:#fff}.btn-facebook:active,.btn-facebook:focus,.btn-facebook:hover{background:#2d4373;color:#fff;border-color:#2d4373}.btn-twitter{background:#1da1f2;border-color:#1da1f2;color:#fff}.btn-twitter:active,.btn-twitter:focus,.btn-twitter:hover{background:#0c85d0;color:#fff;border-color:#0c85d0}.btn-youtube{background:red;border-color:red;color:#fff}.btn-youtube:active,.btn-youtube:focus,.btn-youtube:hover{background:#c00;color:#fff;border-color:#c00}.btn-instagram{background:#c32aa3;border-color:#c32aa3;color:#fff}.btn-instagram:active,.btn-instagram:focus,.btn-instagram:hover{background:#992180;color:#fff;border-color:#992180}.btn-pinterest{background:#bd081c;border-color:#bd081c;color:#fff}.btn-pinterest:active,.btn-pinterest:focus,.btn-pinterest:hover{background:#8c0615;color:#fff;border-color:#8c0615}.btn-linkedin{background:#007bb6;border-color:#007bb6;color:#fff}.btn-linkedin:active,.btn-linkedin:focus,.btn-linkedin:hover{background:#005983;color:#fff;border-color:#005983}.btn-google-plus{background:#db4439;border-color:#db4439;color:#fff}.btn-google-plus:active,.btn-google-plus:focus,.btn-google-plus:hover{background:#be2d23;color:#fff;border-color:#be2d23}.btn-google{background:#4285f4;border-color:#4285f4;color:#fff}.btn-google:active,.btn-google:focus,.btn-google:hover{background:#1266f1;color:#fff;border-color:#1266f1}.btn-snapchat{background:#fffc00;border-color:#fffc00;color:#000}.btn-snapchat:active,.btn-snapchat:focus,.btn-snapchat:hover{background:#ccca00;color:#000;border-color:#ccca00}.btn-whatsapp{background:#25d366;border-color:#25d366;color:#fff}.btn-whatsapp:active,.btn-whatsapp:focus,.btn-whatsapp:hover{background:#1da851;color:#fff;border-color:#1da851}.btn-tumblr{background:#35465d;border-color:#35465d;color:#fff}.btn-tumblr:active,.btn-tumblr:focus,.btn-tumblr:hover{background:#222e3d;color:#fff;border-color:#222e3d}.btn-reddit{background:#ff4500;border-color:#ff4500;color:#fff}.btn-reddit:active,.btn-reddit:focus,.btn-reddit:hover{background:#cc3700;color:#fff;border-color:#cc3700}.btn-spotify{background:#1ed760;border-color:#1ed760;color:#fff}.btn-spotify:active,.btn-spotify:focus,.btn-spotify:hover{background:#18aa4c;color:#fff;border-color:#18aa4c}.btn-yahoo{background:#430297;border-color:#430297;color:#fff}.btn-yahoo:active,.btn-yahoo:focus,.btn-yahoo:hover{background:#2d0165;color:#fff;border-color:#2d0165}.btn-dribbble{background:#ea4c89;border-color:#ea4c89;color:#fff}.btn-dribbble:active,.btn-dribbble:focus,.btn-dribbble:hover{background:#e51e6b;color:#fff;border-color:#e51e6b}.btn-skype{background:#00aff0;border-color:#00aff0;color:#fff}.btn-skype:active,.btn-skype:focus,.btn-skype:hover{background:#008abd;color:#fff;border-color:#008abd}.btn-quora{background:#a20;border-color:#a20;color:#fff}.btn-quora:active,.btn-quora:focus,.btn-quora:hover{background:#771800;color:#fff;border-color:#771800}.btn-vimeo{background:#1ab7ea;border-color:#1ab7ea;color:#fff}.btn-vimeo:active,.btn-vimeo:focus,.btn-vimeo:hover{background:#1295bf;color:#fff;border-color:#1295bf}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{background-color:var(--primary);border-color:var(--primary);color:#fff}.btn-check:active+.btn-outline-primary:focus,.btn-check:checked+.btn-outline-primary:focus,.btn-check:focus+.btn-outline-primary,.btn-close:focus,.btn-outline-primary.active:focus,.btn-outline-primary.dropdown-toggle.show:focus,.btn-outline-primary:active:focus,.btn-outline-primary:focus{box-shadow:0 0 0 .25rem var(--rgba-primary-5)}.card{margin-bottom:1.875rem;background-color:#fff;transition:all .5s ease-in-out;position:relative;border:0 solid transparent;border-radius:1.75rem;box-shadow:0 5px 5px 0 rgba(82,63,105,.05);height:calc(100% - 30px)}@media only screen and (max-width:575px){.card{border-radius:6px;margin-bottom:.938rem;height:calc(100% - .938rem)}}.card-body{padding:1.875rem}@media only screen and (max-width:575px){.card-body{padding:1rem}}.card-title{font-size:20px;font-weight:500;color:#000;text-transform:capitalize}.card-title--large{font-size:1.5rem}.card-title--medium{font-size:1rem}.card-title--small{font-size:.875rem}.card-header{border-color:#f5f5f5;position:relative;background:transparent;padding:1.5rem 1.875rem 1.25rem;display:flex;justify-content:space-between;align-items:center}@media only screen and (max-width:575px){.card-header{padding:1.25rem 1rem}}[data-theme-version=dark] .card-header{border-color:#2e2e42}.card-header .card-title{margin-bottom:0}.card-header .subtitle{padding-top:5px;font-size:14px;line-height:1.5}.card-footer{border-color:#f5f5f5;background:transparent;padding:1.25rem 1.875rem}[data-theme-version=dark] .card-footer{border-color:#2e2e42}.transparent-card.card{background:transparent;border:1px solid transparent;box-shadow:none}.card-action>a{display:inline-block;width:30px;height:30px;line-height:30px;border-radius:5px;border-color:transparent;text-align:center;background:var(--primary-dark);color:#fff;margin-right:8px}[data-theme-version=dark] .card-action>a{background:#171622}.card-action>a:last-child{margin-right:0}.card-action>a:focus,.card-action>a:hover{background:var(--primary-dark)}[data-theme-version=dark] .card-action>a:focus,[data-theme-version=dark] .card-action>a:hover{background:#171622}.card-action>a i,.card-action>a span{font-size:1rem}.card-action .dropdown{width:30px;height:30px;border-radius:5px;border-color:transparent;text-align:center;margin-right:8px;top:-2px;position:relative;display:inline-block;background:var(--primary-dark);color:var(--primary)}[data-theme-version=dark] .card-action .dropdown{background:#171622}.card-action .dropdown:focus,.card-action .dropdown:hover{background:var(--primary-dark)}[data-theme-version=dark] .card-action .dropdown:focus,[data-theme-version=dark] .card-action .dropdown:hover{background:#171622}.card-action .dropdown .btn{padding:0;line-height:27px;color:#fff}.card-action .dropdown .btn:focus{box-shadow:none}.card-fullscreen{position:fixed;z-index:99999999;overflow:auto}.card-fullscreen,.card-loader{top:0;left:0;width:100%;height:100%}.card-loader{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(0,0,0,.75);z-index:999}.card-loader i{margin:0 auto;background:var(--primary-dark);padding:10px;border-radius:50%;color:#fff;font-size:1rem}.rotate-refresh{-webkit-animation:mymove .8s linear infinite;animation:mymove .8s linear infinite;display:inline-block}.card-header .date_picker{display:inline-block;padding:8px;border:1px solid #f5f5f5;cursor:pointer;border-radius:.375rem}.card-header .border-0{padding-bottom:0}@-webkit-keyframes mymove{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes mymove{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.carousel-custom-next,.carousel-custom-prev{width:2.5rem;height:2.5rem;line-height:2.5rem;display:inline-block;border-radius:50%;background:#fff;text-align:center}.carousel-custom-next i,.carousel-custom-prev i{font-size:1rem}.carousel-custom-next:hover,.carousel-custom-prev:hover{background:linear-gradient(90deg,rgba(245,60,121,.99) 0,rgba(246,104,47,.99));color:#fff}.carousel-custom-next{right:30px}.carousel-custom-next,.carousel-custom-prev{position:absolute;top:50%;transform:translateY(-50%)}.carousel-custom-prev{left:30px}.carousel-caption{text-shadow:2px 2px 4px rgba(0,0,0,.78);z-index:1;background:rgba(0,0,0,.6)}.carousel-caption .h5,.carousel-caption h5{color:#fff;font-size:1.8rem}.carousel-caption p{margin-bottom:0}.carousel-indicators{z-index:1}.dropdown-toggle:focus{box-shadow:none!important}.dropdown-outline{border:.1rem solid var(--primary)}.dropdown-menu{font-size:inherit;border:0;z-index:2;overflow:hidden;border-radius:1.75rem;box-shadow:0 0 50px 0 rgba(82,63,105,.15);margin-top:0}.dropdown-menu .dropdown-item{font-size:16px;color:#969ba0;padding:.5rem 1.75rem}@media only screen and (max-width:1400px){.dropdown-menu .dropdown-item{padding:.375rem 1rem;font-size:14px}}.dropdown-menu .dropdown-item.active,.dropdown-menu .dropdown-item:active,.dropdown-menu .dropdown-item:focus,.dropdown-menu .dropdown-item:hover{color:#514e5f}.dropdown-menu .dropdown-item.active,.dropdown-menu .dropdown-item:active{color:var(--primary);background:var(--rgba-primary-1)}[direction=rtl] .dropdown-menu{right:auto!important}.dropdown-menu.show{right:0}@media only screen and (max-width:575px){.dropdown-menu{border-radius:6px}}.dropdown-toggle-split{padding:0 10px;opacity:.85}.dropdown-toggle-split:after{margin-left:0!important}.dropdown-toggle-split:active,.dropdown-toggle-split:focus,.dropdown-toggle-split:hover{opacity:1}.dropdown-toggle:after,.dropleft .dropdown-toggle:before,.dropright .dropdown-toggle:before,.dropup .dropdown-toggle:after{content:\"\\f0d7\";font-family:FontAwesome;border:0;vertical-align:middle;margin-left:.25em;line-height:1}.dropup .dropdown-toggle:after{content:\"\\f106\"}.dropleft .dropdown-toggle:before{content:\"\\f104\"}.dropright .dropdown-toggle:before{content:\"\\f105\"}.dropright .dropdown-toggle:after{content:none}.custom-dropdown{display:inline-block;margin-bottom:1rem}.custom-dropdown .dropdown-menu{border:0;min-width:160px}.card-action .custom-dropdown{margin:0;background:var(--rgba-primary-1)}.card-action .custom-dropdown.show,.card-action .custom-dropdown:focus,.card-action .custom-dropdown:hover{background:var(--primary);color:#fff}.card-action .custom-dropdown i{display:inline-block;padding-top:9px}.dropdown .dropdown-dots{position:relative;height:5px;width:5px;background:hsla(0,0%,43.1%,.4);border-radius:5px;display:block}.dropdown .dropdown-dots:after,.dropdown .dropdown-dots:before{content:\"\";height:5px;width:5px;background:hsla(0,0%,43.1%,.4);position:absolute;border-radius:5px}.dropdown .dropdown-dots:after{right:-8px}.dropdown .dropdown-dots:before{left:-8px}.dropdown .dropdown-dots.text-white,.dropdown .dropdown-dots.text-white:after,.dropdown .dropdown-dots.text-white:before{background:hsla(0,0%,100%,.7)}.grid-col{padding:.5rem!important;background:#f2f4fa}.row.grid{margin-bottom:1.5rem;text-align:center}.row.grid .grid-col:first-child{text-align:left}.label{display:inline-block;text-align:center;font-size:.75rem;padding:.2rem .8rem}.label-fixed{width:7.5rem;padding:.6rem 0}.label-fixed-lg{width:9.5rem;padding:.6rem 0}.label-big{width:16.8rem;font-size:1.4rem;padding:1.1rem 0}.label-xl{width:10.5rem;padding:1.1rem 0;font-size:1.5rem}.label-lg{width:9.5rem;padding:1.1rem 0}.label-md{width:8.5rem;padding:1.1rem 0}.label-sm{width:7.5rem;padding:1.1rem 0}.label-default{background:#adb6c7}.label-primary{background:var(--primary);color:#fff}.label-secondary{background:#627eea;color:#fff}.label-info{background:#b48dd3;color:#fff}.label-success{background:#68e365;color:#fff}.label-warning{background:#ffa755;color:#fff}.label-danger{background:#f72b50;color:#fff}.label-light{background:#c8c8c8;color:#000}.label-dark{background:#6e6e6e;color:#fff}code{word-break:break-word;padding:2px 5px;border-radius:3px;background:#fdcdd6;color:#f72b50}[data-theme-version=dark] code{background:rgba(247,43,80,.1)}.heading-labels{color:#333}.heading-labels>*{margin-bottom:.8rem}.heading-labels .h1 .label,.heading-labels h1 .label{font-size:18px;font-weight:400;padding:.4rem .9rem}.heading-labels .h2 .label,.heading-labels h2 .label{font-size:16px;font-weight:400;padding:.3rem .9rem}.heading-labels .h3 .label,.heading-labels h3 .label{font-size:14px;font-weight:400}.heading-labels .h4 .label,.heading-labels .h5 .label,.heading-labels .h6 .label,.heading-labels h4 .label,.heading-labels h5 .label,.heading-labels h6 .label{font-size:12px;font-weight:400}.list-group-item{background-color:hsla(0,0%,100%,0);border:1px solid #f5f5f5;padding:1rem 1.5rem}.list-group-item.active{background-color:var(--primary);border-color:var(--primary)}[data-theme-version=dark] .list-group-item{border-color:#2e2e42}.list-group-item.disabled,.list-group-item:disabled{color:#fff;background-color:#627eea;border-color:#627eea}[class*=bg-] .list-group-item{border-color:hsla(0,0%,100%,.05)}.bg-warning .list-group-item{border-color:rgba(0,0,0,.05)}.media img{border-radius:3px}.vertical-card__menu:hover{box-shadow:none}.vertical-card__menu--image{text-align:center}.vertical-card__menu--image img{width:100%;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.vertical-card__menu--status.closed{background:#f72b50}.vertical-card__menu--status.closed:after{border-top:10px solid #f72b50}.vertical-card__menu--status.closed .ribbon-curve{border-top:11px solid #f72b50;border-bottom:10px solid #f72b50}.vertical-card__menu--desc p{margin-bottom:.625rem}.vertical-card__menu--price{font-size:1.25rem;margin:0;font-weight:700}.vertical-card__menu--rating{font-size:.75rem}.vertical-card__menu--title{font-weight:700}.vertical-card__menu--button button{font-size:.75rem}.vertical-card__menu .card-footer{padding:15px 20px;background-color:#f5f5f5;border-top:none}@media only screen and (min-width:1200px) and (max-width:1440px){.vertical-card__menu .card-footer{padding:15px}}.vertical-card__menu .card-footer span{color:#6e6e6e;margin-right:.3125rem}.horizontal-card__menu{box-shadow:0 0 7px hsla(0,0%,67.8%,.32);display:flex;flex-direction:row}@media (max-width:575.98px){.horizontal-card__menu{display:block}}.horizontal-card__menu .card-body{padding:20px 30px}.horizontal-card__menu--image{flex-basis:30%;max-width:30%}.horizontal-card__menu--image img{height:100%;width:100%}@media (max-width:575.98px){.horizontal-card__menu--image{max-width:unset;flex-basis:100%}}.horizontal-card__menu--title{font-size:1rem;font-weight:700;margin-bottom:.3125rem}.horizontal-card__menu--fav{margin-right:.5rem}.horizontal-card__menu--price{margin:0;font-size:1rem;font-weight:700}.horizontal-card__menu--rating{font-size:.625rem}.horizontal-card__menu--footer{margin-top:10px}.prev_price{text-decoration:line-through;font-size:80%;opacity:.5}.modal-header{padding:1rem 1.875rem}.modal-header .close{padding:.875rem 1.815rem;margin:0;position:absolute;right:0;float:none;top:0;font-size:30px;font-weight:100}.modal-body{padding:1.875rem}.modal-footer{padding:1rem 1.875rem}.modal-content{border-radius:1.75rem}.modal-backdrop{z-index:10!important}.pagination .page-item.active .page-link{background:var(--primary)}.pagination{margin-bottom:20px}.pagination .page-item.page-indicator .page-link{padding:.65rem .8rem;font-size:14px}.pagination .page-item.page-indicator:hover .page-link{color:#6e6e6e}.pagination .page-item .page-link{text-align:center;z-index:1;padding:.55rem 1rem;font-size:1rem;background:hsla(0,0%,100%,.15);border:1px solid #f5f5f5}[data-theme-version=dark] .pagination .page-item .page-link{border-color:#2e2e42;color:#828690;background:hsla(0,0%,100%,0)}.pagination .page-item .page-link:hover i,.pagination .page-item .page-link span{color:#fff}.pagination .page-item .page-link:focus{outline:0;box-shadow:none}.pagination .page-item .page-link:hover{background:var(--primary);color:#fff;border-color:var(--primary)}.pagination .page-item.active .page-link{background-color:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 10px 20px 0 var(--rgba-primary-2)}[data-theme-version=dark] .pagination .page-item.active .page-link{color:#fff}.pagination .page-item .page-link{color:#6e6e6e;-webkit-transition:all .5s;-ms-transition:all .5s;transition:all .5s}.pagination .page-item:last-child .page-link,[direction=rtl] .pagination .page-item:first-child .page-link{margin-right:0}.pagination.no-bg li:not(.page-indicator):not(.active) .page-link{background:transparent;border-color:transparent}.pagination.no-bg.pagination-primary li:not(.page-indicator):not(.active):hover .page-link,[data-theme-version=dark] .pagination.no-bg.pagination-primary li:not(.page-indicator):not(.active):hover .page-link{background:var(--primary);border-color:var(--primary)}.pagination.no-bg.pagination-danger li:not(.page-indicator):not(.active):hover .page-link,[data-theme-version=dark] .pagination.no-bg.pagination-danger li:not(.page-indicator):not(.active):hover .page-link{background:#f72b50;border-color:#f72b50}.pagination.no-bg.pagination-info li:not(.page-indicator):not(.active):hover .page-link,[data-theme-version=dark] .pagination.no-bg.pagination-info li:not(.page-indicator):not(.active):hover .page-link{background:#b48dd3;border-color:#b48dd3}.pagination.no-bg.pagination-warning li:not(.page-indicator):not(.active):hover .page-link,[data-theme-version=dark] .pagination.no-bg.pagination-warning li:not(.page-indicator):not(.active):hover .page-link{background:#ffa755;border-color:#ffa755}.pagination-primary .page-item .page-link{background:var(--rgba-primary-1);border-color:var(--rgba-primary-1);color:var(--primary)}[data-theme-version=dark] .pagination-primary .page-item .page-link{background:var(--rgba-primary-1);border-color:transparent;color:var(--primary)}.pagination-primary .page-item.active .page-link,.pagination-primary .page-item:hover .page-link{background:var(--primary);border-color:var(--primary);box-shadow:0 10px 20px 0 var(--rgba-primary-2)}[data-theme-version=dark] .pagination-primary .page-item.active .page-link,[data-theme-version=dark] .pagination-primary .page-item:hover .page-link{color:#fff}.pagination-danger .page-item .page-link{background:#fee6ea;border-color:#fee6ea;color:#f72b50}[data-theme-version=dark] .pagination-danger .page-item .page-link{background:rgba(247,43,80,.15);border-color:transparent;color:#f72b50}.pagination-danger .page-item.active .page-link,.pagination-danger .page-item:hover .page-link{background:#f72b50;border-color:#f72b50;box-shadow:0 10px 20px 0 rgba(247,43,80,.2)}[data-theme-version=dark] .pagination-danger .page-item.active .page-link,[data-theme-version=dark] .pagination-danger .page-item:hover .page-link{color:#fff}.pagination-info .page-item .page-link{background:#f5f0f9;border-color:#f5f0f9;color:#b48dd3}[data-theme-version=dark] .pagination-info .page-item .page-link{background:rgba(180,141,211,.1);border-color:transparent;color:#b48dd3}.pagination-info .page-item.active .page-link,.pagination-info .page-item:hover .page-link{background:#b48dd3;border-color:#b48dd3;box-shadow:0 10px 20px 0 rgba(180,141,211,.2)}.pagination-warning .page-item .page-link{background:#ffeedf;border-color:#ffeedf;color:#ffa755}[data-theme-version=dark] .pagination-warning .page-item .page-link{background:rgba(255,167,85,.1);border-color:transparent;color:#ffa755}.pagination-warning .page-item.active .page-link,.pagination-warning .page-item:hover .page-link{background:#ffa755;border-color:#ffa755;box-shadow:0 10px 20px 0 rgba(255,167,85,.2)}.pagination-gutter .page-item{margin-right:7px}.pagination-gutter .page-item .page-link{border-radius:1.75rem!important}.pagination-circle .page-item{margin-right:7px}.pagination-circle .page-item.page-indicator .page-link,.pagination-circle .page-item .page-link{width:40px;height:40px;line-height:40px;border-radius:50%!important;padding:0}.pagination.pagination-md .page-item .page-link{width:30px;height:30px;line-height:30px;font-size:14px}.pagination.pagination-sm .page-item.page-indicator .page-link{font-size:12px}.pagination.pagination-sm .page-item .page-link{padding:0;width:30px;height:30px;line-height:30px;font-size:14px}.pagination.pagination-xs .page-item.page-indicator .page-link{font-size:10px}.pagination.pagination-xs .page-item .page-link{padding:0;width:25px;height:25px;line-height:25px;font-size:12px}.popover{border:2px solid #627eea;min-width:210px;box-shadow:0 0 30px 0 rgba(0,0,0,.1)}[data-theme-version=dark] .popover{background-color:#171622}.popover-header{background:#627eea;color:#fff;font-weight:300}.popover-header:before{border-bottom:0!important}.popover-body{font-size:.75rem}[data-theme-version=dark] .popover .popover-header{border-color:#212130}@media only screen and (max-width:767px){.popover{z-index:1}}.bootstrap-popover-wrapper .bootstrap-popover:not(:last-child){margin-right:8px}.bootstrap-popover-wrapper .bootstrap-popover{margin-bottom:.5rem}.bootstrap-popover-wrapper .bootstrap-popover button:focus,.bootstrap-popover-wrapper .bootstrap-popover button:hover{background:var(--primary);color:#fff;box-shadow:none}.bs-popover-auto[data-popper-placement^=top] .arrow:after,.bs-popover-auto[x-placement^=top] .arrow:after,.bs-popover-top .arrow:after{bottom:0;border-top-color:#627eea}.bs-popover-auto[x-placement^=left] .arrow:after,.bs-popover-left .arrow:after{right:0;border-left-color:#627eea}.bs-popover-auto[x-placement^=right] .arrow:after,.bs-popover-right .arrow:after{left:0;border-right-color:#627eea}.bs-popover-auto[data-popper-placement^=bottom] .arrow:after,.bs-popover-auto[x-placement^=bottom] .arrow:after,.bs-popover-bottom .arrow:after{top:0;border-bottom-color:#627eea}.note-popover{display:none}.progress-bar,.progress-bar-primary{background-color:var(--primary)}.progress-bar-success{background-color:#68e365}.progress-bar-info{background-color:#b48dd3}.progress-bar-danger{background-color:#f72b50}.progress-bar-warning{background-color:#ffa755}.progress-bar-pink{background-color:#e83e8c}.progress{height:6px;background-color:#f6f6f6;overflow:hidden}[data-theme-version=dark] .progress{background-color:#171622}.progress-bar{border-radius:1.75rem}.progress-vertical{display:inline-block;margin-bottom:0;margin-right:2rem;min-height:17rem;position:relative}@media (max-width:991.98px){.progress-vertical{margin-right:1rem}}.progress-vertical-bottom{display:inline-block;margin-bottom:0;margin-right:2rem;min-height:17rem;position:relative;transform:rotate(180deg)}@media (max-width:991.98px){.progress-vertical-bottom{margin-right:1rem}}.progress-animated{animation-duration:5s;animation-name:myanimation;transition:all 5s ease 0s}@keyframes myanimation{0%{width:0}}.ribbon{position:absolute;z-index:1;text-transform:uppercase}.ribbon__one{top:15px;left:-11px;min-height:20px;min-width:52px;text-align:center;padding:3px 10px;background:#3ab54b;color:#fff;font-size:.625rem}.ribbon__one:after{position:absolute;width:0;height:0;border-top:10px solid #239132;border-left:11px solid transparent;left:0;content:\"\";bottom:-10px}.ribbon__two{width:50px;height:50px;display:inline-block;background:#ffa755;line-height:50px;text-align:center;font-size:16px;color:#fff;right:15px;top:15px;border-radius:3px}.ribbon__three{left:-1.875rem;top:.875rem;width:6.875rem;height:1.5625rem;background-color:#f72b50;clip-path:polygon(20% 0,80% 0,100% 100%,0 100%);transform:rotate(-45deg);font-size:14px}.ribbon__four,.ribbon__three{color:#fff;display:flex;align-items:center;justify-content:center}.ribbon__four{left:8px;top:-8px;width:110px;height:50px;background-color:var(--primary);z-index:auto;font-size:16px}.ribbon__four:after{right:-5px}.ribbon__four:before{left:-5px}.ribbon__four:after,.ribbon__four:before{z-index:-1;background-color:var(--rgba-primary-1);top:3px;transform:rotate(45deg);content:\"\";height:10px;width:10px;position:absolute}.ribbon__five{left:-1.875rem;top:.625rem;width:6.875rem;height:1.875rem;background-color:var(--primary);transform:rotate(-45deg);font-size:.75rem;color:#fff;padding-bottom:.3125rem;display:flex;align-items:center;justify-content:center;font-size:1rem}.ribbon__five:before{position:absolute;content:\"\";width:0;height:0;border-left:50px solid transparent;border-bottom:50px solid var(--primary);border-right:50px solid transparent;border-top:0 solid transparent;left:.25rem;top:-2.8125rem}.ribbon__six{left:0;top:1.125rem;width:6.875rem;height:2.375rem;background-color:var(--primary);-webkit-clip-path:polygon(0 0,100% 0,100% 0,85% 50%,100% 100%,100% 100%,0 100%);clip-path:polygon(0 0,100% 0,100% 0,85% 50%,100% 100%,100% 100%,0 100%);display:flex;font-size:1.25rem;align-items:center;justify-content:center;color:#fff}.ribbon-curve{position:absolute;top:0;right:-6px;width:10px;height:11px;border-top:11px solid #3ab54b;border-bottom:10px solid #3ab54b;border-right:5px solid transparent}.dataTables_scrollBody::-webkit-scrollbar,.jsgrid-grid-body::-webkit-scrollbar,.table-responsive::-webkit-scrollbar{background-color:#f5f5f5;width:8px;height:8px}.dataTables_scrollBody::-webkit-scrollbar-track,.jsgrid-grid-body::-webkit-scrollbar-track,.table-responsive::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);border-radius:10px;background-color:#f5f5f5}.dataTables_scrollBody::-webkit-scrollbar-thumb,.jsgrid-grid-body::-webkit-scrollbar-thumb,.table-responsive::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:var(--primary)}.multi-steps>li.is-active:before,.multi-steps>li.is-active~li:before{content:counter(stepNum);font-family:inherit;font-weight:400}.multi-steps>li.is-active:after,.multi-steps>li.is-active~li:after{background-color:#f5f5f5}.multi-steps{display:table;table-layout:fixed;width:100%}.multi-steps>li{counter-increment:stepNum;text-align:center;display:table-cell;position:relative;color:var(--primary)}@media (max-width:575.98px){.multi-steps>li{font-size:.75rem}}.multi-steps>li:before{content:\"\\2713\";display:block;margin:0 auto 4px;background-color:#fff;width:25px;height:25px;line-height:22px;text-align:center;font-weight:700;position:relative;z-index:1;border:2px solid var(--primary);border-radius:5px}@media (max-width:575.98px){.multi-steps>li:before{width:25px;height:25px;line-height:21px}}.multi-steps>li:after{content:\"\";height:2px;width:100%;background-color:var(--primary);position:absolute;top:12px;left:50%}[direction=rtl] .multi-steps>li:after{left:auto;right:50%}@media (max-width:575.98px){.multi-steps>li:after{top:12px}}.multi-steps>li:last-child:after{display:none}.multi-steps>li.is-active:before{background-color:#fff;border-color:var(--primary)}.multi-steps>li.is-active~li{color:#969ba0}.multi-steps>li.is-active~li:before{background-color:#f5f5f5;border-color:#f5f5f5}.nav-pills .nav-link{border-radius:1.75rem;padding:.75rem 1.25rem}.default-tab .nav-link{background:transparent;border-radius:0;font-weight:500}.default-tab .nav-link i{display:inline-block;transform:scale(1.5);color:var(--primary)}.default-tab .nav-link.active,.default-tab .nav-link:focus,.default-tab .nav-link:hover{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff #ebeef6;border-radius:1.75rem 1.75rem 0 0;color:var(--primary)}[data-theme-version=dark] .default-tab .nav-link.active,[data-theme-version=dark] .default-tab .nav-link:focus,[data-theme-version=dark] .default-tab .nav-link:hover{background-color:var(--rgba-primary-1);border-color:transparent transparent #2e2e42}.custom-tab-1 .nav-link{background:transparent;border-radius:0;font-weight:500;border-left-width:0;border-bottom:3px solid transparent;border-right-width:0;border-top-width:0}.custom-tab-1 .nav-link i{display:inline-block;transform:scale(1.5);color:var(--primary)}.custom-tab-1 .nav-link.active,.custom-tab-1 .nav-link:focus,.custom-tab-1 .nav-link:hover{color:#495057;background-color:#fff;border-color:var(--primary);border-radius:0;color:var(--primary);border-width:0 0 3px}[data-theme-version=dark] .custom-tab-1 .nav-link.active,[data-theme-version=dark] .custom-tab-1 .nav-link:focus,[data-theme-version=dark] .custom-tab-1 .nav-link:hover{background-color:var(--rgba-primary-1)}.nav-pills.light .nav-link.active,.nav-pills.light .show>.nav-link{background:var(--rgba-primary-1);color:var(--primary);box-shadow:none}[data-theme-version=dark] .nav-pills.light .nav-link.active,[data-theme-version=dark] .nav-pills.light .show>.nav-link{background:var(--rgba-primary-1)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{background-color:var(--primary);box-shadow:0 0 20px 0 var(--rgba-primary-2)}.tooltip-wrapper button:not(:last-child){margin-right:8px}.tooltip-wrapper button:hover{background:var(--primary);color:#fff}.tooltip-wrapper button{margin-bottom:.5rem}.tooltip-wrapper button:focus{box-shadow:none}.tooltip-inner{border-radius:0;background:#333;font-size:12px;font-weight:300;padding:.35rem .7rem}.bs-tooltip-auto[data-popper-placement^=bottom] .arrow:before,.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.bs-tooltip-bottom .arrow:before{border-bottom-color:#333}.bs-tooltip-auto[x-placement^=right] .arrow:before,.bs-tooltip-right .arrow:before{border-right-color:#333}.bs-tooltip-auto[x-placement^=left] .arrow:before,.bs-tooltip-left .arrow:before{border-left-color:#333}.bs-tooltip-auto[data-popper-placement^=top] .arrow:before,.bs-tooltip-auto[x-placement^=top] .arrow:before,.bs-tooltip-top .arrow:before{border-top-color:#333}.widget-timeline .timeline{list-style:none;position:relative}.widget-timeline .timeline:before{top:20px;bottom:0;position:absolute;content:\" \";width:3px;left:9px;margin-right:-1.5px;background:#c8c8c8}[data-theme-version=dark] .widget-timeline .timeline:before{background:#2e2e42}[direction=rtl] .widget-timeline .timeline:before{left:auto;right:9px;margin-right:auto;margin-left:-1.5px}.widget-timeline .timeline>li{margin-bottom:15px;position:relative}.widget-timeline .timeline>li:before{content:\" \";display:table}.widget-timeline .timeline>li:after{content:\" \";display:table;clear:both}.widget-timeline .timeline>li>.timeline-panel{border-radius:1.75rem;padding:15px 20px;position:relative;display:block;margin-left:40px;border-width:1px;border-style:solid}.widget-timeline .timeline>li>.timeline-panel span{font-size:12px;display:block;margin-bottom:5px;opacity:.8;letter-spacing:1px}.widget-timeline .timeline>li>.timeline-panel p{font-size:14px}.widget-timeline .timeline>li>.timeline-panel:after{content:\"\";width:10px;height:10px;background:inherit;border-color:inherit;border-style:solid;border-width:0 0 1px 1px;display:block;position:absolute;left:-5px;transform:rotate(45deg);top:15px}.widget-timeline .timeline>li>.timeline-badge{border-radius:50%;height:22px;left:0;position:absolute;top:10px;width:22px;border-width:2px;border-style:solid;background:#fff;padding:4px}[data-theme-version=dark] .widget-timeline .timeline>li>.timeline-badge{background-color:#212130}.widget-timeline .timeline>li>.timeline-badge:after{content:\"\";width:10px;height:10px;border-radius:100%;display:block}[direction=rtl] .widget-timeline .timeline>li>.timeline-badge{right:19px}.widget-timeline .timeline-body>p{font-size:12px}.widget-timeline .timeline-badge.primary,[data-theme-version=dark] .widget-timeline .timeline-badge.primary{border-color:var(--rgba-primary-1)}.widget-timeline .timeline-badge.primary:after{background-color:var(--primary);box-shadow:0 5px 10px 0 var(--rgba-primary-2)}.widget-timeline .timeline-badge.primary+.timeline-panel{background:var(--rgba-primary-1);border-color:var(--rgba-primary-1)}[data-theme-version=dark] .widget-timeline .timeline-badge.primary+.timeline-panel{border-color:transparent;background-color:var(--rgba-primary-1)}.widget-timeline .timeline-badge.success{border-color:#e7fbe6}[data-theme-version=dark] .widget-timeline .timeline-badge.success{border-color:rgba(104,227,101,.1)}.widget-timeline .timeline-badge.success:after{background-color:#68e365!important;box-shadow:0 5px 10px 0 rgba(104,227,101,.2)}.widget-timeline .timeline-badge.success+.timeline-panel{background:#e7fbe6;border-color:#e7fbe6}[data-theme-version=dark] .widget-timeline .timeline-badge.success+.timeline-panel{background-color:rgba(104,227,101,.1);border-color:transparent}.widget-timeline .timeline-badge.warning{border-color:#ffeedf}[data-theme-version=dark] .widget-timeline .timeline-badge.warning{border-color:rgba(255,167,85,.1)}.widget-timeline .timeline-badge.warning:after{background-color:#ffa755!important;box-shadow:0 5px 10px 0 rgba(255,167,85,.2)}.widget-timeline .timeline-badge.warning+.timeline-panel{background:#ffeedf;border-color:#ffeedf}[data-theme-version=dark] .widget-timeline .timeline-badge.warning+.timeline-panel{background-color:rgba(255,167,85,.1);border-color:transparent}.widget-timeline .timeline-badge.danger{border-color:#fee6ea}[data-theme-version=dark] .widget-timeline .timeline-badge.danger{border-color:rgba(247,43,80,.15)}.widget-timeline .timeline-badge.danger:after{background-color:#f72b50!important;box-shadow:0 5px 10px 0 rgba(247,43,80,.2)}.widget-timeline .timeline-badge.danger+.timeline-panel{background:#fee6ea;border-color:#fee6ea}[data-theme-version=dark] .widget-timeline .timeline-badge.danger+.timeline-panel{background-color:rgba(247,43,80,.15);border-color:transparent}.widget-timeline .timeline-badge.info{border-color:#f5f0f9}[data-theme-version=dark] .widget-timeline .timeline-badge.info{border-color:rgba(180,141,211,.1)}.widget-timeline .timeline-badge.info:after{background-color:#b48dd3!important;box-shadow:0 5px 10px 0 rgba(180,141,211,.2)}.widget-timeline .timeline-badge.info+.timeline-panel{background:#f5f0f9;border-color:#f5f0f9}[data-theme-version=dark] .widget-timeline .timeline-badge.info+.timeline-panel{background-color:rgba(180,141,211,.1);border-color:transparent}.widget-timeline .timeline-badge.dark{border-color:#eee}[data-theme-version=dark] .widget-timeline .timeline-badge.dark{border-color:hsla(0,0%,43.1%,.35)}.widget-timeline .timeline-badge.dark:after{background-color:#6e6e6e!important;box-shadow:0 5px 10px 0 hsla(0,0%,43.1%,.2)}.widget-timeline .timeline-badge.dark+.timeline-panel{background:#eee;border-color:#eee}[data-theme-version=dark] .widget-timeline .timeline-badge.dark+.timeline-panel{background-color:hsla(0,0%,43.1%,.35);border-color:transparent}.widget-timeline.style-1 .timeline-panel{background:transparent}.widget-timeline.style-1 .timeline .timeline-badge.timeline-badge+.timeline-panel{background:transparent!important;border-style:solid;border-width:0 0 0 5px;border-radius:0;padding:5px 10px 5px 15px}.widget-timeline.style-1 .timeline .timeline-badge.timeline-badge+.timeline-panel:after{border:0;left:-9px;width:7px;height:7px}.widget-timeline.style-1 .timeline .timeline-badge.primary+.timeline-panel{border-color:var(--primary)}.widget-timeline.style-1 .timeline .timeline-badge.primary+.timeline-panel:after{background:var(--primary)}.widget-timeline.style-1 .timeline .timeline-badge.success+.timeline-panel{border-color:#68e365}.widget-timeline.style-1 .timeline .timeline-badge.success+.timeline-panel:after{background:#68e365}.widget-timeline.style-1 .timeline .timeline-badge.warning+.timeline-panel{border-color:#ffa755}.widget-timeline.style-1 .timeline .timeline-badge.warning+.timeline-panel:after{background:#ffa755}.widget-timeline.style-1 .timeline .timeline-badge.danger+.timeline-panel{border-color:#f72b50}.widget-timeline.style-1 .timeline .timeline-badge.danger+.timeline-panel:after{background:#f72b50}.widget-timeline.style-1 .timeline .timeline-badge.info+.timeline-panel{border-color:#b48dd3}.widget-timeline.style-1 .timeline .timeline-badge.info+.timeline-panel:after{background:#b48dd3}.widget-timeline.style-1 .timeline .timeline-badge.dark+.timeline-panel{border-color:#6e6e6e}.widget-timeline.style-1 .timeline .timeline-badge.dark+.timeline-panel:after{background:#6e6e6e}#chart_widget_4{height:255px!important}#chart_widget_5 .ct-series-a .ct-line,#chart_widget_5 .ct-series-a .ct-point{stroke:#46ffc8}#chart_widget_5 .ct-line{stroke-width:1px}#chart_widget_5 .ct-point{stroke-width:2px}#chart_widget_5 .ct-series-a .ct-area{fill:#20dea6}#chart_widget_5 .ct-area{fill-opacity:1}#chart_widget_6 .ct-series-a .ct-line,#chart_widget_6 .ct-series-a .ct-point{stroke:#b48dd3}#chart_widget_6 .ct-line{stroke-width:2px}#chart_widget_6 .ct-point{stroke-width:5px}#chart_widget_6 .ct-series-a .ct-area{fill:#b48dd3}#chart_widget_6 .ct-area{fill-opacity:.5}#chart_widget_8{height:255px}#chart_widget_8 .ct-series-a .ct-line,#chart_widget_8 .ct-series-a .ct-point{stroke:#b48dd3}#chart_widget_8 .ct-line{stroke-width:2px}#chart_widget_8 .ct-point{stroke-width:5px}#chart_widget_8 .ct-series-a .ct-area{fill:#b48dd3}#chart_widget_8 .ct-area{fill-opacity:.5}#chart_widget_9,#chart_widget_10{height:250px!important}#chart_widget_11 .ct-slice-donut,#chart_widget_12 .ct-slice-donut,#chart_widget_13 .ct-slice-donut{stroke-width:25px!important}#chart_widget_11{height:270px!important}#chart_widget_17{height:150px!important}.chart_widget_tab_one .nav-link{border:1px solid #ddd}.chart_widget_tab_one .nav-link.active{background-color:var(--primary);border:1px solid var(--primary);color:#fff}.chart_widget_tab_one .nav-link.active:hover{border:1px solid var(--primary)}.chart_widget_tab_one .nav-link:hover{border:1px solid #ddd}[data-theme-version=dark] .ccc-widget>div{background:#212130!important;border-color:#2e2e42!important}.social-icon{display:inline-block;width:40px;height:40px;line-height:40px;border-radius:4px;text-align:center;background:#f6f6f6;margin-bottom:.5rem;font-size:20px}.social-icon i{color:#fff}.social-icon.youtube{background:red}.social-icon.facebook{background:#3b5998}.social-icon.twitter{background:#1da1f2}.social-graph-wrapper{text-align:center;padding:20px;position:relative;color:#fff;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.social-graph-wrapper.widget-facebook{background-color:#3b5998}.social-graph-wrapper.widget-twitter{background-color:#1da1f2}.social-graph-wrapper.widget-linkedin{background-color:#007bb6}.social-graph-wrapper.widget-googleplus{background-color:#db4439}.social-graph-wrapper .s-icon{font-size:24px;position:relative;padding:0 10px}.social-icon2 a{border:.1rem solid var(--primary);display:block;padding:1rem;margin-top:1.5rem;margin-bottom:.5rem;border-radius:.3rem;font-size:1.6rem}.social-icon2 i{font-size:12px;color:var(--primary)}.social-icon3 ul li{display:inline-block}.social-icon3 ul li a{display:block}.social-icon3 ul li a i{font-size:1.4rem;padding:1rem .7rem;color:#464a53}.social-icon3 ul li a:hover i{color:var(--primary)}.social-icons-muted ul li a i{color:#89879f}.social-links a{padding:.5rem}.widget-stat .media{padding:0;align-items:center}.widget-stat .media>span{height:85px;width:85px;border-radius:50px;padding:10px 12px;font-size:32px;display:flex;justify-content:center;align-items:center;color:#464a53;min-width:85px}.widget-stat .media .media-body p{text-transform:uppercase;font-weight:500;font-size:14px}[data-theme-version=dark] .widget-stat .media .media-body p{color:#c4c9d5}.widget-stat .media .media-body .h3,.widget-stat .media .media-body h3{font-size:40px;font-weight:600;margin:0;line-height:1.2}.widget-stat .media .media-body .h4,.widget-stat .media .media-body h4{font-size:24px;display:inline-block;vertical-align:middle}.widget-stat .media .media-body span{margin-left:5px}.widget-stat[class*=bg-] .media>span{background-color:hsla(0,0%,100%,.25);color:#fff}.widget-stat[class*=bg-] .progress{background-color:hsla(0,0%,100%,.25)!important}[direction=rtl] .widget-stat .media .media-body span{margin-left:0;margin-right:10px}.dez-widget-1 .card{background:#ffe7db}.dez-widget-1 .card .card-body p{color:#f87533}.dez-widget-1 .icon{float:right;width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:28px}.bgl-primary{background:var(--rgba-primary-1);border-color:var(--rgba-primary-1)}[data-theme-version=dark] .bgl-primary{background-color:var(--rgba-primary-1);border-color:var(--rgba-primary-1)}.bgl-secondary{background:#f2f4fd;border-color:#f2f4fd}[data-theme-version=dark] .bgl-secondary{background-color:rgba(98,126,234,.5);border-color:rgba(98,126,234,.5)}.bgl-success{background:#e7fbe6;border-color:#e7fbe6}[data-theme-version=dark] .bgl-success{background-color:rgba(104,227,101,.1);border-color:rgba(104,227,101,.1)}.bgl-warning{background:#ffeedf;border-color:#ffeedf}[data-theme-version=dark] .bgl-warning{background-color:rgba(255,167,85,.1);border-color:rgba(255,167,85,.1)}.bgl-danger{background:#fee6ea;border-color:#fee6ea}[data-theme-version=dark] .bgl-danger{background-color:rgba(247,43,80,.15);border-color:rgba(247,43,80,.15)}.bgl-info{background:#f5f0f9;border-color:#f5f0f9}[data-theme-version=dark] .bgl-info{background-color:rgba(180,141,211,.1);border-color:rgba(180,141,211,.1)}.bg-primary-light{background:var(--rgba-primary-5)}[data-theme-version=dark] .bg-primary-light{background-color:var(--rgba-primary-1)}.bg-secondary-light{background:rgba(242,244,253,.5)}[data-theme-version=dark] .bg-secondary-light{background-color:rgba(98,126,234,.05)}.bg-success-light{background:rgba(231,251,230,.5)}[data-theme-version=dark] .bg-success-light{background-color:rgba(104,227,101,.05)}.bg-warning-light{background:rgba(255,238,223,.5)}[data-theme-version=dark] .bg-warning-light{background-color:rgba(255,167,85,.05)}.bg-danger-light{background:rgba(254,230,234,.5)}[data-theme-version=dark] .bg-danger-light{background-color:rgba(247,43,80,.05)}.bg-info-light{background:rgba(245,240,249,.5)}[data-theme-version=dark] .bg-info-light{background-color:rgba(180,141,211,.05)}.bgl-dark{background:#eee;border-color:#eee}.bgl-light{background:#c8c8c8;border-color:#c8c8c8}.overlay-box{position:relative;z-index:1}.overlay-box:after{content:\"\";width:100%;height:100%;left:0;top:0;position:absolute;opacity:.85;background:var(--primary);z-index:-1}.rating-bar{font-size:13px}.tdl-holder{margin:0 auto}.tdl-holder ul{list-style:none;margin:0;padding:0}.tdl-holder li{background-color:#fff;border-bottom:1px solid #f5f5f5;list-style:none none;margin:0;padding:0}.tdl-holder li span{margin-left:35px;font-size:1rem;vertical-align:middle;transition:all .2s linear}[direction=rtl] .tdl-holder li span{margin-left:auto;margin-right:35px}.tdl-holder label{cursor:pointer;display:block;line-height:50px;padding-left:1.5rem;position:relative;margin:0!important}[direction=rtl] .tdl-holder label{padding-left:0;padding-right:1.5rem}.tdl-holder label:hover{background-color:#eef1f6;color:#6e6e6e}.tdl-holder label:hover a{color:#f72b50}.tdl-holder label a{color:#fff;display:inline-block;line-height:normal;height:100%;text-align:center;text-decoration:none;width:50px;-webkit-transition:all .2s linear;-moz-transition:all .2s linear;-o-transition:all .2s linear;transition:all .2s linear;padding:18px 0;font-size:18px;position:absolute;right:0}[direction=rtl] .tdl-holder label a{right:auto;left:0}.tdl-holder input[type=checkbox]{cursor:pointer;opacity:0;position:absolute}.tdl-holder input[type=checkbox]+i{background-color:#fff;border:1px solid #e7e7e7;display:block;height:20px;position:absolute;top:15px;width:20px;z-index:1;border-radius:0;font-size:11px;border-radius:4px}.tdl-holder input[type=checkbox]:checked+i{background:var(--primary);border-color:transparent}.tdl-holder input[type=checkbox]:checked+i:after{content:\"\\f00c\";font-family:fontAwesome;display:block;left:2px;position:absolute;top:-14px;z-index:2;color:#fff}.tdl-holder input[type=checkbox]:checked~span{text-decoration:line-through;position:relative}.tdl-holder input[type=text]{background-color:#fff;height:50px;margin-top:29px;border-radius:3px}.tdl-holder input[type=text]::placeholder{color:#6e6e6e}.widget-message p{font-size:14px;line-height:1.5}.picker .picker__frame{min-width:450px!important;max-width:450px!important}.picker .picker__frame .picker__box{padding:20px;border:0;box-shadow:0 5px 10px rgba(0,0,0,.1)}.picker .picker__frame .picker__box .picker__header{margin-top:0}.picker .picker__frame .picker__box .picker__header .picker__year{color:var(--primary);font-style:inherit;font-size:20px}.picker .picker__frame .picker__box .picker__header .picker__nav--next,.picker .picker__frame .picker__box .picker__header .picker__nav--prev{width:40px;height:40px;padding:0;line-height:40px;border-radius:2px}.picker .picker__frame .picker__box .picker__header .picker__nav--next:before,.picker .picker__frame .picker__box .picker__header .picker__nav--prev:before{content:none!important}.picker .picker__frame .picker__box .picker__header .picker__nav--next:after,.picker .picker__frame .picker__box .picker__header .picker__nav--prev:after{font-family:fontawesome;border:0;margin:0 auto;font-size:22px}.picker .picker__frame .picker__box .picker__header .picker__nav--next:hover,.picker .picker__frame .picker__box .picker__header .picker__nav--prev:hover{background-color:var(--primary);color:var(--primary)}.picker .picker__frame .picker__box .picker__header .picker__nav--prev{left:0}.picker .picker__frame .picker__box .picker__header .picker__nav--prev:after{content:\"\\f0d9\"}.picker .picker__frame .picker__box .picker__header .picker__nav--next{right:0}.picker .picker__frame .picker__box .picker__header .picker__nav--next:after{content:\"\\f0da\"}.picker .picker__frame .picker__box .picker__table .picker__weekday{padding:10px 0;font-size:16px}.picker .picker__frame .picker__box .picker__table .picker__day{width:40px;height:40px;border-radius:50px;padding:0!important;font-size:16px;line-height:40px;margin:auto;border:0!important}.picker .picker__frame .picker__box .picker__table .picker__day.picker__day--today:before{content:none!important}.picker .picker__frame .picker__box .picker__table .picker__day.picker__day--highlighted{border:0!important;padding:0;background-color:var(--primary);color:#fff!important}.picker .picker__frame .picker__box .picker__footer .picker__button--today,.picker .picker__frame .picker__box .picker__table .picker__day:hover{background-color:var(--primary);color:#fff!important}.picker .picker__frame .picker__box .picker__footer .picker__button--today:before{content:none!important}.picker .picker__frame .picker__box .picker__footer .picker__button--clear,.picker .picker__frame .picker__box .picker__footer .picker__button--close,.picker .picker__frame .picker__box .picker__footer .picker__button--today{border:0;border-radius:2px;font-size:16px}.picker .picker__frame .picker__box .picker__footer .picker__button--clear:hover,.picker .picker__frame .picker__box .picker__footer .picker__button--close:hover,.picker .picker__frame .picker__box .picker__footer .picker__button--today:hover{background-color:var(--primary);color:#fff!important}@media only screen and (max-width:575px){.picker .picker__frame{min-width:100%!important;max-width:100%!important}.picker .picker__frame .picker__box{padding:15px;margin:0 10px}}.card-list{overflow:unset;height:calc(100% - 50px)}.card-list .card-header{padding-top:0;padding-bottom:0}.card-list .card-header .photo{overflow:hidden;border-radius:5px;width:100%}@media only screen and (max-width:1199px){.card-list{height:calc(100% - 40px)}}.card-list.list-left{margin-top:15px;margin-left:15px}.card-list.list-left .card-header{padding-left:0}.card-list.list-left .card-header .photo{margin:-15px 15px 0 -15px}.card-list.list-right{margin-top:15px;margin-right:15px;text-align:right}.card-list.list-right .card-header{padding-right:0}.card-list.list-right .card-header .photo{margin:-15px -15px 0 15px}.card-list.list-right .card-header .photo img{width:100%}.card-list.list-center{margin-top:15px}.card-list.list-center .card-header .photo{margin:-15px 0 0}.card-list .photo img{width:100%}.card-profile .profile-photo{margin-top:-20px}.widget-media .timeline .timeline-panel{display:flex;align-items:center;border-bottom:1px solid #eaeaea;padding-bottom:15px;margin-bottom:15px}.widget-media .timeline .timeline-panel .media{width:50px;height:50px;background:#eee;border-radius:12px;overflow:hidden;font-size:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-weight:700;align-self:start}.widget-media .timeline .timeline-panel .media-primary{background:var(--rgba-primary-1);color:var(--primary)}[data-theme-version=dark] .widget-media .timeline .timeline-panel .media-primary{background-color:var(--rgba-primary-1)}.widget-media .timeline .timeline-panel .media-info{background:#f5f0f9;color:#b48dd3}[data-theme-version=dark] .widget-media .timeline .timeline-panel .media-info{background-color:rgba(180,141,211,.1)}.widget-media .timeline .timeline-panel .media-warning{background:#ffeedf;color:#ffa755}[data-theme-version=dark] .widget-media .timeline .timeline-panel .media-warning{background-color:rgba(255,167,85,.1)}.widget-media .timeline .timeline-panel .media-danger{background:#fee6ea;color:#f72b50}[data-theme-version=dark] .widget-media .timeline .timeline-panel .media-danger{background-color:rgba(247,43,80,.15)}.widget-media .timeline .timeline-panel .media-success{background:#e7fbe6;color:#68e365}[data-theme-version=dark] .widget-media .timeline .timeline-panel .media-success{background-color:rgba(104,227,101,.1)}.widget-media .timeline .timeline-panel .media-body p{font-size:14px;line-height:1.5}.widget-media .timeline .timeline-panel .dropdown{align-self:self-end;margin-top:5px}.widget-media .timeline li:last-child .timeline-panel{margin-bottom:0;border-bottom:0;padding-bottom:0}.card[class*=bg-] .timeline .timeline-panel{border-color:hsla(0,0%,100%,.2)!important}.table{color:strong;color-color:#6e6e6e}.table td,.table th{border-color:#f5f5f5;padding:15px 10px}[data-theme-version=dark] .table td,[data-theme-version=dark] .table th{border-color:#2e2e42;color:#fff}.table.table-hover tr:hover,.table.table-striped tbody tr:nth-of-type(odd){background-color:#f2f4fa}[data-theme-version=dark] .table.table-hover tr:hover,[data-theme-version=dark] .table.table-striped tbody tr:nth-of-type(odd){background-color:#171622}.table.shadow-hover tbody tr:hover{background-color:#fff;box-shadow:0 0 30px var(--rgba-primary-2)}[data-theme-version=dark] .table.shadow-hover tbody tr:hover{background-color:#171622}.table.tr-rounded tr td:first-child,.table.tr-rounded tr th:first-child{border-radius:45px 0 0 45px}.table.tr-rounded tr td:last-child,.table.tr-rounded tr th:last-child{border-radius:0 45px 45px 0}.table.border-hover tr td{border-width:1px 0;border-bottom:1px solid;border-color:transparent}.table.border-hover tr td:first-child{border-width:1px 0 1px 1px}.table.border-hover tr td:last-child{border-width:1px 1px 1px 0}.table.border-hover tr:hover td{border-color:#eee}.table.bg-primary-hover td,.table.bg-primary-hover th{border:none;font-weight:500}.table.bg-primary-hover td{color:#000}.table.bg-primary-hover th{color:#6c6c6c}.table.bg-primary-hover tr:hover td,.table.bg-primary-hover tr:hover th{background:var(--primary);color:#fff}.table.bg-secondary-hover td,.table.bg-secondary-hover th{border:none;font-weight:500}.table.bg-secondary-hover td{color:#000}.table.bg-secondary-hover th{color:#6c6c6c}.table.bg-secondary-hover tr:hover td,.table.bg-secondary-hover tr:hover th{background:#627eea;color:#fff!important}.table.bg-info-hover td,.table.bg-info-hover th{border:none;font-weight:500}.table.bg-info-hover td{color:#000}.table.bg-info-hover th{color:#6c6c6c}.table.bg-info-hover tr:hover td,.table.bg-info-hover tr:hover th{background:#b48dd3;color:#fff!important}.table.bg-warning-hover td,.table.bg-warning-hover th{border:none;font-weight:500}.table.bg-warning-hover td{color:#000}.table.bg-warning-hover th{color:#6c6c6c}.table.bg-warning-hover tr:hover td,.table.bg-warning-hover tr:hover th{background:#ffa755;color:#fff!important}.table.border-no td{border:0}.table.short-one tr td:first-child,.table.short-one tr th:first-child{width:60px!important}.table thead th{border-bottom:1px solid #eee;text-transform:capitalize;font-size:18px;white-space:nowrap;font-weight:500;letter-spacing:.5px;border-color:#f5f5f5!important}[data-theme-version=dark] .table thead th{border-color:#2e2e42}.table tbody tr td{vertical-align:middle;border-color:#f5f5f5}.table:not(.table-bordered) thead th{border-top:none}.table .thead-primary th{background-color:var(--primary);color:#fff}.table .thead-info th{background-color:#b48dd3;color:#fff}.table .thead-warning th{background-color:#ffa755;color:#fff}.table .thead-danger th{background-color:#f72b50;color:#fff}.table .thead-success th{background-color:#68e365;color:#fff}.table.primary-table-bordered{border:1px solid #f5f5f5}[data-theme-version=dark] .table.primary-table-bordered{border-color:#2e2e42}.table.primary-table-bg-hover thead th{background-color:var(--primary-dark);color:#fff;border-bottom:none}.table.primary-table-bg-hover tbody tr{background-color:var(--primary);color:#fff;transition:all .1s ease}.table.primary-table-bg-hover tbody tr:hover{background-color:var(--rgba-primary-8)}.table.primary-table-bg-hover tbody tr:not(:last-child) td,.table.primary-table-bg-hover tbody tr:not(:last-child) th{border-bottom:1px solid var(--primary-dark)}.table-responsive-tiny{min-width:18.75rem}.table-responsive-sm{min-width:30rem!important}.table-responsive-md{min-width:36rem!important}.table-responsive-lg{min-width:60.9375rem!important}.table-responsive-xl{min-width:70.9375rem!important}.table-primary,.table-primary>td,.table-primary>th{background-color:var(--rgba-primary-1);color:var(--primary)}[data-theme-version=dark] .table-primary,[data-theme-version=dark] .table-primary>td,[data-theme-version=dark] .table-primary>th{background-color:var(--rgba-primary-1)}.table-success,.table-success>td,.table-success>th{background-color:#e7fbe6;color:#68e365}[data-theme-version=dark] .table-success,[data-theme-version=dark] .table-success>td,[data-theme-version=dark] .table-success>th{background-color:rgba(104,227,101,.1)}.table-info,.table-info>td,.table-info>th{background-color:#f5f0f9;color:#b48dd3}[data-theme-version=dark] .table-info,[data-theme-version=dark] .table-info>td,[data-theme-version=dark] .table-info>th{background-color:rgba(180,141,211,.1)}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeedf;color:#ffa755}[data-theme-version=dark] .table-warning,[data-theme-version=dark] .table-warning>td,[data-theme-version=dark] .table-warning>th{background-color:rgba(255,167,85,.1)}.table-danger,.table-danger>td,.table-danger>th{background-color:#fee6ea;color:#f72b50}[data-theme-version=dark] .table-danger,[data-theme-version=dark] .table-danger>td,[data-theme-version=dark] .table-danger>th{background-color:rgba(247,43,80,.15)}.table-active,.table-active>td,.table-active>th{background-color:#f2f4fa}[data-theme-version=dark] .table-active,[data-theme-version=dark] .table-active>td,[data-theme-version=dark] .table-active>th{background-color:#171622}.card-table td:first-child,.card-table th:first-child{padding-left:30px}@media only screen and (max-width:575px){.card-table td:first-child,.card-table th:first-child{padding-left:15px}}.card-table td:last-child,.card-table th:last-child{padding-right:30px}@media only screen and (max-width:575px){.card-table td:last-child,.card-table th:last-child{padding-right:15px}}.bootgrid-header{padding:0!important;margin:0}@media only screen and (max-width:575px){.bootgrid-header .actionBar{padding:0}.bootgrid-header .search{margin:0 0 10px}}table#example{padding:0 0 2rem}table.dataTable{font-size:14px}#example2_wrapper .dataTables_scrollBody{max-height:33.25rem!important}#custommers,#employees{padding:.5rem 0 1rem}.dataTables_wrapper .dataTables_paginate{padding-top:.75em;padding-bottom:.75em}table.dataTable thead td,table.dataTable thead th{border-bottom:2px solid #eee;border-top:0}table.dataTable tfoot td,table.dataTable tfoot th{border-top:0}table.dataTable tbody td,table.dataTable tbody tr{background:transparent!important}table.dataTable thead th{color:#000;white-space:nowrap;font-size:18px;text-transform:capitalize;font-weight:600;padding:20px 15px}[data-theme-version=dark] table.dataTable thead th{color:#fff}@media only screen and (max-width:1400px){table.dataTable thead th{font-size:16px}}table.dataTable tbody td{padding:20px 15px;font-size:16px;font-weight:400;border-bottom:0}@media only screen and (max-width:575px){table.dataTable tbody td{padding:8px 5px}}@media only screen and (max-width:1400px){table.dataTable tbody td{font-size:14px;padding:8px 15px}}table.dataTable tr.selected{color:var(--primary)}table.dataTable tfoot th{color:#6e6e6e;font-weight:600}[data-theme-version=dark] table.dataTable tfoot th{color:#fff}.dataTables_wrapper .dataTables_paginate{align-items:center;display:flex;flex-flow:wrap}.dataTables_wrapper .dataTables_paginate .paginate_button.next,.dataTables_wrapper .dataTables_paginate .paginate_button.previous{font-size:18px;height:50px;width:fit-content;border:1px solid var(--primary);border-radius:45px;padding:0 20px;line-height:50px;margin:0 10px;display:inline-block;color:var(--primary)!important}.dataTables_wrapper .dataTables_paginate .paginate_button.next.current:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.next.next:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.next.previous:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.previous.current:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.previous.next:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.previous.previous:hover{color:#fff!important;background:var(--primary)!important}.dataTables_wrapper .dataTables_paginate .paginate_button.next.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.previous.disabled{color:var(--primary)!important}@media only screen and (max-width:575px){.dataTables_wrapper .dataTables_paginate .paginate_button.next,.dataTables_wrapper .dataTables_paginate .paginate_button.previous{height:50px;width:fit-content;line-height:50px;padding:0 12px}}.dataTables_wrapper .dataTables_paginate span .paginate_button{height:50px;width:50px;padding:0;margin:0 2px;line-height:50px;text-align:center;font-size:18px;border-radius:45px;color:var(--primary)!important;background:var(--rgba-primary-1)}@media only screen and (max-width:575px){.dataTables_wrapper .dataTables_paginate span .paginate_button{height:50px;width:50px;line-height:50px}}.dataTables_wrapper .dataTables_paginate span .paginate_button.current,.dataTables_wrapper .dataTables_paginate span .paginate_button:hover{color:var(--primary)!important}.dataTables_wrapper .dataTables_paginate span .paginate_button.current:hover,.dataTables_wrapper .dataTables_paginate span .paginate_button:hover:hover{color:#fff!important;background:var(--primary)!important}.dataTables_wrapper input[type=search],.dataTables_wrapper input[type=text],.dataTables_wrapper select{border:1px solid #e2e2e2;padding:.3rem .5rem;color:#715d5d;border-radius:5px}[data-theme-version=dark] .dataTables_wrapper input[type=search],[data-theme-version=dark] .dataTables_wrapper input[type=text],[data-theme-version=dark] .dataTables_wrapper select{background:#171622;border-color:#2e2e42;color:#fff}.dataTables_wrapper .dataTables_length{margin-bottom:15px}.dataTables_wrapper .dataTables_length .bootstrap-select{width:80px!important;margin:0 5px}table.dataTable.no-footer{border-bottom:0}.rounded-lg{min-width:30px}.dataTables_scroll{padding:1rem 0}.dataTables_scrollFoot{padding-top:1rem}.dataTablesCard{background-color:#fff;border-radius:1.75rem}.dataTablesCard.border-no td{border-top:0!important}@media only screen and (max-width:575px){.dataTablesCard{border-radius:6px}}@media (max-width:991.98px){.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_length{text-align:left}}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{color:#969ba0!important}.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_paginate,.dataTables_wrapper .dataTables_processing{color:#969ba0;border-radius:1rem;padding:2px 0;margin-bottom:20px}.paging_simple_numbers.dataTables_paginate{padding:5px}.dataTables_wrapper .dataTables_paginate .paginate_button{color:#969ba0!important}table.dataTable.display tbody td,table.dataTable.display tbody th,table.dataTable.row-border tbody td,table.dataTable.row-border tbody th{border-color:#eee}[data-theme-version=dark] table.dataTable.display tbody td,[data-theme-version=dark] table.dataTable.display tbody th,[data-theme-version=dark] table.dataTable.row-border tbody td,[data-theme-version=dark] table.dataTable.row-border tbody th{border-color:#2e2e42}.dataTables_wrapper .dataTables_length .bootstrap-select .dropdown-toggle{font-size:.813rem!important;padding:.625rem 1rem}.fooicon{font-size:1.25rem}.fooicon,.jsgrid-table .jsgrid-header-row>.jsgrid-header-cell{color:#6e6e6e}.jsgrid-table>tbody>tr>td{padding:1.2em}.jsgrid-table .jsgrid-edit-row input,.jsgrid-table .jsgrid-edit-row select,.jsgrid-table .jsgrid-insert-row input,.jsgrid-table .jsgrid-insert-row select{border:1px solid #dddfe1}.jsgrid .jsgrid-button{border:0!important;margin-left:10px}.error-page .error-text{font-size:150px;line-height:1}@media only screen and (max-width:575px){.error-page .error-text{font-size:80px}}.error-page .h4,.error-page h4{font-size:40px;margin-bottom:5px}@media only screen and (max-width:575px){.error-page .h4,.error-page h4{font-size:20px}}.error-page p{font-size:16px}@media only screen and (max-width:575px){.error-page p{font-size:14px}}.flex-row-fluid{-webkit-box-flex:1;flex:1 auto;-ms-flex:1 0 0px;min-width:0}.authincation{background:var(--rgba-primary-1);display:flex;min-height:100vh}.authincation .login-aside{background:#fff;padding-top:80px;max-width:560px;width:100%;z-index:1;position:relative}.authincation .login-aside:after{content:\"\";clip-path:polygon(0 100%,100% 0,0 0);width:140px;height:100%;position:absolute;right:-140px;z-index:-1;top:0;background:#fff;box-shadow:2px 0 30px rgba(0,0,0,.15)}.authincation .login-aside .aside-image{min-height:450px;margin:auto 0;min-width:0;background-size:contain;background-repeat:no-repeat;background-position:50%}@media only screen and (max-width:1400px){.authincation .login-aside{max-width:360px}}@media only screen and (max-width:991px){.authincation .login-aside{max-width:100%;padding-top:0}.authincation .login-aside:after{content:none}}@media only screen and (max-width:575px){.authincation .login-aside .aside-image{min-height:300px}}.authincation-content{background:#fff;box-shadow:0 0 35px 0 rgba(154,161,171,.15);border-radius:5px}[data-theme-version=dark] .authincation-content{background:#212130;box-shadow:none}.authincation-content.style-1{background:hsla(0,0%,100%,.5);backdrop-filter:blur(20px)}.authincation-content.style-1 .form-control{background:hsla(0,0%,100%,.6);border-radius:5px}.authincation-content.style-1 .user-icon{height:100px;background:var(--primary);width:100px;border-radius:100px;line-height:100px;font-size:60px;text-align:center;color:#fff;margin:-100px auto 20px}.authincation-content.style-2{background:transparent;box-shadow:none;max-width:530px;width:100%}.authincation-content.style-2 .form-control{border:0;border-radius:5px;box-shadow:0 0 15px rgba(0,0,0,.08)}@media only screen and (max-width:575px){.authincation-content.style-2 .auth-form{padding:30px 0}}.welcome-content{background:url(../images/1.jpg);background-size:cover;background-position:50%;height:100%;padding:75px 50px;position:relative;z-index:1}.welcome-content,.welcome-content:after{border-top-left-radius:5px;border-bottom-left-radius:5px}.welcome-content:after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;background:var(--primary);opacity:.75;z-index:-1}.welcome-content .welcome-title{color:#fff;font-weight:500;font-size:20px}.welcome-content p{color:#fff}.welcome-content .brand-logo a{display:inline-block;margin-bottom:20px;font-weight:700;color:#fff;font-size:20px}.welcome-content .brand-logo a img{width:100px}.welcome-content .intro-social{position:absolute;bottom:75px}.welcome-content .intro-social ul{margin-bottom:0}.welcome-content .intro-social ul li{display:inline-block}.welcome-content .intro-social ul li a{color:#fff;font-size:14px;padding:0 7px}.auth-form{padding:50px}@media only screen and (max-width:575px){.auth-form{padding:30px}}.auth-form .btn{height:50px;font-weight:700}.auth-form .page-back{display:inline-block;margin-bottom:15px}.pricing_table_content{background:#fff;text-align:center;border:1px solid #e7e7e7;border-radius:3px;padding:25px;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out}.pricing_table_content .package{font-weight:700;font-size:18px}.pricing_table_content .price{font-weight:700;font-size:50px;line-height:100px;color:#6e6e6e}.pricing_table_content hr{margin:0}.pricing_table_content .price_list{padding:30px 0;text-align:left;max-width:175px;margin:0 auto}.pricing_table_content .price_list li{color:#909093;font-size:14px;line-height:25px;padding:7px 0}.pricing_table_content .price_list li i{margin-right:15px}.pricing_table_content .price-btn{padding:15px 50px;-webkit-box-shadow:none;box-shadow:none;border:1px solid #eaeaea;border-radius:5px;font-weight:700;font-size:14px;margin-bottom:25px;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out}.pricing_table_content:focus,.pricing_table_content:hover{-webkit-transform:scale(1.05);transform:scale(1.05);-webkit-box-shadow:0 0 10px rgba(0,0,0,.175);box-shadow:0 0 10px rgba(0,0,0,.175)}.pricing_table_content:focus .price-btn,.pricing_table_content:hover .price-btn{color:#f72b50}.page-timeline .timeline{list-style:none;padding:40px 0;position:relative}.page-timeline .timeline-workplan.page-timeline .timeline{padding-bottom:0;margin-bottom:0}.page-timeline .timeline-workplan.page-timeline .timeline.timeline>li>.timeline-badge{top:4.5rem}.page-timeline .timeline-workplan.page-timeline .timeline>li{margin-bottom:2.6rem}@media only screen and (min-width:1200px) and (max-width:1650px){.page-timeline .timeline-workplan.page-timeline .timeline li>p{max-width:8rem}}@media only screen and (max-width:1199px){.page-timeline .timeline-workplan.page-timeline .timeline li>p{max-width:7rem}}@media only screen and (max-width:991px){.page-timeline .timeline-workplan.page-timeline .timeline li>p{max-width:100%}}@media only screen and (max-width:575px){.page-timeline .timeline-workplan.page-timeline .timeline li>p{max-width:7rem}}.page-timeline .timeline-workplan.page-timeline .timeline:before{left:20%;top:6rem}[direction=rtl] .page-timeline .timeline-workplan.page-timeline .timeline:before{right:22%;left:auto}@media only screen and (max-width:575px){.page-timeline .timeline-workplan.page-timeline .timeline:before{left:22%}}.page-timeline .timeline-workplan.page-timeline .timeline .timeline-badge{left:21.4%;height:.9rem;width:.9rem;background-color:var(--primary)}[direction=rtl] .page-timeline .timeline-workplan.page-timeline .timeline .timeline-badge{right:19.2%;left:auto}@media only screen and (min-width:1200px) and (max-width:1650px){.page-timeline .timeline-workplan.page-timeline .timeline .timeline-badge{left:22.4%}}@media only screen and (max-width:1199px){.page-timeline .timeline-workplan.page-timeline .timeline .timeline-badge{left:22.4%}}@media only screen and (max-width:991px){.page-timeline .timeline-workplan.page-timeline .timeline .timeline-badge{left:21.7%}}@media only screen and (max-width:767px){.page-timeline .timeline-workplan.page-timeline .timeline .timeline-badge{left:19.5%}}@media only screen and (max-width:575px){.page-timeline .timeline-workplan.page-timeline .timeline .timeline-badge{left:21.4%}}.page-timeline .timeline-workplan.page-timeline .timeline .timeline-badge:after{position:absolute;width:1.9rem;height:1.9rem;background-color:var(--primary-dark);content:\"\";border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.page-timeline .timeline-workplan.page-timeline .timeline .timeline-panel{width:70%}.page-timeline .timeline:before{top:0;bottom:0;position:absolute;content:\" \";width:2px;background-color:#eceff2;left:50%;margin-left:-1.5px}.page-timeline .timeline>li{margin-bottom:20px;position:relative}.page-timeline .timeline>li:after,.page-timeline .timeline>li:before{content:\" \";display:table}.page-timeline .timeline>li:after{clear:both}.page-timeline .timeline>li>.timeline-panel{width:46%;float:left;border-radius:2px;position:relative}.page-timeline .timeline>li>.timeline-badge{background-color:#f2f4fa;border:1px solid #dddfe1;border-radius:50%;color:#6e6e6e;height:40px;left:50%;line-height:40px;margin-left:-13px;position:absolute;text-align:center;top:30px;width:40px;z-index:1;transform:translate(-25%,-3rem)}@media (min-width:576px){.page-timeline .timeline>li>.timeline-badge{width:50px;height:50px;line-height:50px}}.page-timeline .timeline>li.timeline-inverted>.timeline-panel{float:right}.page-timeline .timeline>li.timeline-inverted>.timeline-panel:before{border-left-width:0;border-right-width:15px;left:-15px;right:auto}.page-timeline .timeline>li.timeline-inverted>.timeline-panel:after{border-left-width:0;border-right-width:14px;left:-14px;right:auto}.page-timeline .timeline-title{margin-top:0;color:inherit}.page-timeline .event_time,.page-timeline .event_vanue{font-size:14px;font-weight:600}.page-timeline .event_vanue{margin:5px 0}.page-timeline .timeline_img{height:100px;width:100px}.page-timeline .timeline-body>p,.page-timeline .timeline-body>ul{margin-bottom:0}@media (max-width:767px){.page-timeline ul.timeline:before{left:40px}.page-timeline ul.timeline>li>.timeline-panel{width:calc(100% - 90px);width:-webkit-calc(100% - 90px)}.page-timeline ul.timeline>li>.timeline-badge{left:28px;margin-left:0;top:16px}.page-timeline ul.timeline>li>.timeline-panel{float:right}.page-timeline ul.timeline>li>.timeline-panel:before{border-left-width:0;border-right-width:15px;left:-15px;right:auto}.page-timeline ul.timeline>li>.timeline-panel:after{border-left-width:0;border-right-width:14px;left:-14px;right:auto}.page-timeline .timeline_img{height:30%;width:30%}}.page-timeline .timeline-timestamp{text-align:center}.page-timeline .timeline-timestamp .badge{padding:.8rem 2rem;border-radius:50px;font-size:.8125rem}@media only screen and (max-width:767px){.doctor-info-details{display:block!important}}.doctor-info-details .media{position:relative}@media only screen and (max-width:1400px){.doctor-info-details .media img{width:100%}}@media only screen and (max-width:767px){.doctor-info-details .media{float:left}}@media only screen and (max-width:1400px){.doctor-info-details .media{width:80px;height:80px;margin-right:20px}}.doctor-info-details .media i{width:64px;height:64px;border-radius:60px;border:3px solid #fff;line-height:58px;text-align:center;background:var(--primary);position:absolute;right:-15px;bottom:-15px;color:#fff;font-size:24px}@media only screen and (max-width:1400px){.doctor-info-details .media i{width:50px;height:50px;font-size:18px;line-height:46px}}@media only screen and (max-width:575px){.doctor-info-details .media i{width:35px;height:35px;font-size:16px;line-height:33px;right:-7px;bottom:-7px}}.doctor-info-details .media-body{padding-left:40px}@media only screen and (max-width:1400px){.doctor-info-details .media-body{padding-left:20px}}@media only screen and (max-width:767px){.doctor-info-details .media-body{padding-left:0}}.doctor-info-details .media-body .h2,.doctor-info-details .media-body h2{font-size:40px;line-height:1.2;font-weight:600;color:#000}@media only screen and (max-width:1400px){.doctor-info-details .media-body .h2,.doctor-info-details .media-body h2{font-size:28px}}@media only screen and (max-width:575px){.doctor-info-details .media-body .h2,.doctor-info-details .media-body h2{font-size:20px}}.doctor-info-details .media-body p{font-size:18px;font-weight:500;color:#3e4954}.doctor-info-details .media-body span{color:#333}.doctor-info-details .media-body span i{transform:scale(1.3);display:inline-block;margin-right:10px}.doctor-info-details .star-review i{font-size:22px}@media only screen and (max-width:1400px){.doctor-info-details .star-review i{font-size:16px}}.doctor-info-content p{line-height:1.4}.review-box{border:1px solid #f0f0f0;border-radius:18px;padding:20px 30px 30px}@media only screen and (max-width:1400px){.review-box{padding:15px 15px 20px}}@media only screen and (max-width:767px){.review-box{display:block!important}}.review-box .h4,.review-box h4{font-size:20px}.review-box p{font-size:14px;line-height:1.4}@media only screen and (max-width:767px){.review-box img{width:60px;float:left}}.review-box .media-footer{min-width:150px}@media only screen and (max-width:1400px){.review-box .media-footer{min-width:110px}}@media only screen and (max-width:767px){.review-box .star-review{margin-top:15px}}.review-box .star-review span{display:block;font-size:24px;font-weight:600;margin-bottom:15px;line-height:1.3}@media only screen and (max-width:767px){.review-box .star-review span{font-size:16px;display:inline-block;margin-bottom:0}}.review-box .star-review i{font-size:18px;margin:0 2px}@media only screen and (max-width:1400px){.review-box .star-review i{font-size:16px;margin:0 1px}}@media only screen and (max-width:767px){.patient-box{display:block!important}}.patient-box .up-sign i{font-size:50px;line-height:.7}@media only screen and (max-width:767px){.patient-box .up-sign{float:right}}@media only screen and (max-width:767px){.patient-box img{width:100px;float:left}}.patient-calender{color:#fff}.patient-calender .bootstrap-datetimepicker-widget table td,.patient-calender .bootstrap-datetimepicker-widget table th{padding:15px 5px;border-radius:1.75rem}.patient-calender .bootstrap-datetimepicker-widget table th{height:20px;line-height:20px;width:20px;font-weight:400;opacity:.7;font-size:14px}.patient-calender .bootstrap-datetimepicker-widget table i,.patient-calender .bootstrap-datetimepicker-widget table span,.patient-calender .bootstrap-datetimepicker-widget table td.active,.patient-calender .bootstrap-datetimepicker-widget table td.active:hover{color:#fff}.patient-calender .bootstrap-datetimepicker-widget table thead tr:first-child th{font-size:18px;font-weight:600;opacity:1}.patient-calender .bootstrap-datetimepicker-widget table .btn-primary{border:0;padding:10px}.patient-calender .bootstrap-datetimepicker-widget table .btn-primary,.patient-calender .bootstrap-datetimepicker-widget table td.day:hover,.patient-calender .bootstrap-datetimepicker-widget table td.hour:hover,.patient-calender .bootstrap-datetimepicker-widget table td.minute:hover,.patient-calender .bootstrap-datetimepicker-widget table td.second:hover,.patient-calender .bootstrap-datetimepicker-widget table td i.active,.patient-calender .bootstrap-datetimepicker-widget table td i:hover,.patient-calender .bootstrap-datetimepicker-widget table td span.active,.patient-calender .bootstrap-datetimepicker-widget table td span:hover,.patient-calender .bootstrap-datetimepicker-widget table thead tr:first-child th:hover{background:rgba(0,0,0,.2)}.patient-calender .datepicker table tr td.active,.patient-calender .datepicker table tr td.today{background:rgba(0,0,0,.2)!important}.abilities-chart .ct-chart .ct-label{font-size:16px;fill:#000}.abilities-chart .ct-chart .ct-series.ct-series-a .ct-slice-donut{stroke:#209f84}.abilities-chart .ct-chart .ct-series.ct-series-b .ct-slice-donut{stroke:#07654e}.abilities-chart .ct-chart .ct-series.ct-series-c .ct-slice-donut{stroke:#93cbff}.abilities-chart .chart-point{font-size:16px;justify-content:space-between;margin-top:40px}.abilities-chart .chart-point .a,.abilities-chart .chart-point .b,.abilities-chart .chart-point .c{width:32px;height:8px;display:block;border-radius:8px;margin-left:auto;margin-right:auto;margin-bottom:10px}.abilities-chart .chart-point .a{background:#07654e}.abilities-chart .chart-point .b{background:#209f84}.abilities-chart .chart-point .c{background:#93cbff}.patient-map-area{position:relative;border-radius:12px;overflow:hidden}.patient-map-area a{position:absolute;bottom:30px;left:30px}.patient-map-area i{background:#3e4954;position:absolute;top:30px;right:30px;width:56px;height:56px;text-align:center;line-height:56px;font-size:24px;color:#fff;border-radius:56px}.patient-map-area img{width:100%}.iconbox{position:relative;padding-left:70px}.iconbox i{background:#f9f7fa;width:56px;height:56px;line-height:56px;border-radius:56px;text-align:center;font-size:32px;color:var(--primary);position:absolute;left:0;top:0}.iconbox p{margin:0;color:#484848;font-size:18px;line-height:1.3;font-weight:500}.iconbox .small,.iconbox small{margin-bottom:5px;font-size:16px;display:block}.widget-timeline-icon{padding:50px}@media only screen and (max-width:1400px){.widget-timeline-icon{padding:30px}}@media only screen and (max-width:575px){.widget-timeline-icon{overflow:scroll;padding:15px}}.widget-timeline-icon .timeline{display:flex}@media only screen and (max-width:575px){.widget-timeline-icon .timeline{display:block;margin-left:10px}}.widget-timeline-icon li{position:relative;border-top:6px solid var(--primary)}@media only screen and (max-width:575px){.widget-timeline-icon li{border-top:0;border-left:6px solid var(--primary)}}.widget-timeline-icon li a{padding:25px 50px 0 0;display:block}@media only screen and (max-width:1400px){.widget-timeline-icon li a{padding:15px 25px 0 0}}@media only screen and (max-width:575px){.widget-timeline-icon li a{padding:0 0 30px 30px}}.widget-timeline-icon li .icon{position:absolute;width:20px;height:20px;font-size:24px;color:#fff;text-align:center;line-height:56px;border-radius:56px;left:-2px;top:-14px}@media only screen and (max-width:575px){.widget-timeline-icon li .icon{left:-12px;top:-4px}}.widget-timeline-icon li:last-child{border-color:transparent}@media only screen and (max-width:575px){.widget-timeline-icon li:last-child{border-left:6px solid transparent}}.assigned-doctor{position:relative}.assigned-doctor .owl-item img{width:90px}.assigned-doctor .owl-next,.assigned-doctor .owl-prev{position:absolute;width:60px;height:60px;line-height:60px;border-radius:.75rem;top:50%;background:#fff;color:var(--primary);font-size:18px;margin-top:-30px;text-align:center;-webkit-transition:all .5s;-ms-transition:all .5s;transition:all .5s;cursor:pointer;box-shadow:0 13px 25px 0 rgba(0,0,0,.13)}@media only screen and (max-width:575px){.assigned-doctor .owl-next,.assigned-doctor .owl-prev{width:45px;height:45px;line-height:45px}}.assigned-doctor .owl-next:hover,.assigned-doctor .owl-prev:hover{background:#450b5a;color:#fff}.assigned-doctor .owl-next{right:-45px}@media only screen and (max-width:575px){.assigned-doctor .owl-next{right:-25px}}.assigned-doctor .owl-prev{left:-45px}@media only screen and (max-width:575px){.assigned-doctor .owl-prev{left:-25px}}.review-table{padding:25px;box-shadow:none;border-radius:0;border-bottom:1px solid #eee;height:auto;margin-bottom:0}.review-table .disease{border-left:1px solid #eee;padding-left:20px}@media only screen and (max-width:991px){.review-table .disease{border-left:0;padding-left:0;margin-right:10px!important;margin-left:0}}.review-table .star-review i{font-size:20px}@media only screen and (max-width:991px){.review-table .star-review i{font-size:216x}}.review-table .media-body p{color:#3e4954;font-size:18px;line-height:1.5}@media only screen and (max-width:991px){.review-table .media-body p{font-size:14px}}.review-table .media-footer{min-width:500px}@media only screen and (max-width:1400px){.review-table .media-footer{min-width:300px;margin-left:10px}}@media only screen and (max-width:991px){.review-table .media-footer{margin-left:0;margin-top:25px}}@media only screen and (max-width:991px){.review-table img{float:left;width:80px}}@media only screen and (max-width:991px){.review-table .media{display:block!important}}@media only screen and (max-width:1199px){.review-table .custom-control{float:right}}@media only screen and (max-width:991px){.review-table{padding:15px}}.review-tab.nav-pills{margin-bottom:0}.review-tab.nav-pills li{display:inline-block}.review-tab.nav-pills li a.nav-link{color:#6b6b6b;background:#e9e9e9;box-shadow:none;border-radius:0;font-weight:600;font-size:16px;padding:15px 40px;margin-right:1px}.review-tab.nav-pills li a.nav-link.active{color:var(--primary);background:#fff}@media only screen and (max-width:991px){.review-tab.nav-pills li a.nav-link{font-size:14px;padding:10px 15px}}.review-tab.nav-pills li:first-child a.nav-link{border-radius:1.75rem 0 0 0}.review-tab.nav-pills li:last-child a.nav-link{border-radius:0 1.75rem 0 0}.heart-blast{background-position:-1680px 0!important;transition:background 1s steps(28)}.heart{width:60px;height:60px;display:inline-block;background:url(../images/like.png);cursor:pointer;margin:-25px -15px}.weather-btn{display:flex;align-items:center;border:1px solid #eee;border-radius:45px;margin-right:25px}.weather-btn span{align-items:center;border-bottom-left-radius:42px;border-top-left-radius:42px;padding:11.5px 10px 11.5px 13px;color:#000;font-weight:600;background:#fff}@media only screen and (max-width:1400px){.weather-btn span{padding:5.5px 8px}}.default-select.style-3{line-height:45px;border:0;border-bottom-left-radius:0;border-top-left-radius:0;border-bottom-right-radius:42px;border-top-right-radius:42px;padding-left:0;padding-right:38px;font-weight:600}@media only screen and (max-width:1400px){.default-select.style-3{line-height:30px}}.style-2{line-height:45px;border-radius:45px;color:#000;font-weight:600;font-size:16px;border:0;padding-right:35px}@media only screen and (max-width:1400px){.style-2{line-height:31px}}.invoice-num{font-size:30px;font-weight:600}@media only screen and (max-width:767px){.invoice-num{font-size:24px}}@media only screen and (max-width:575px){.invoice-num1{font-size:10px}}.default-checkbox .form-check-input{border-radius:30px}.border-hover{border-collapse:separate}.card-bx img{position:absolute;height:100%;width:100%;z-index:0;border-radius:1.25rem;object-fit:cover}@media only screen and (max-width:575px){.card-bx img{border-radius:6px}}.card-bx .card-info{position:relative;padding:40px 30px}.card-bx .card-info .num-text{font-size:28px}.stacked{position:relative;z-index:1}.card-tabs.style-1 .nav-tabs{border:1px solid #eee;border-radius:45px}@media only screen and (max-width:575px){.card-tabs.style-1 .nav-tabs{width:max-content}}.card-tabs.style-1 .nav-tabs .nav-link{font-weight:500;padding:10px 18px;border:0;border-bottom:0;border-radius:3rem}@media only screen and (max-width:575px){.card-tabs.style-1 .nav-tabs .nav-link{padding:8px 18px}}.card-tabs.style-1 .nav-tabs .nav-link.active,.card-tabs.style-1 .nav-tabs .nav-link:hover{background:var(--primary);color:#fff}.tbl-orders{background:#eee;border-radius:3rem}.tbl-orders i{color:#000}.quick-select{display:flex;align-items:center;border:1px solid #eee;border-radius:14px;padding:0 0 0 13px}.form-wrapper .form-group{margin-bottom:12px}.form-wrapper .input-group .input-group-prepend .input-group-text{background:#eee;border:0;font-size:16px;font-weight:500;width:210px;color:#342e59;height:75px;border-radius:3rem;margin-right:-50px;z-index:1;position:relative}@media only screen and (max-width:575px){.form-wrapper .input-group .input-group-prepend .input-group-text{width:115px}}.form-wrapper .input-group .form-control{font-size:24px;height:75px;text-align:right;border-left:0;z-index:0;color:#342e59;border-top-right-radius:3rem;border-bottom-right-radius:3rem}.form-wrapper .input-group .form-control:focus{border-color:#eee}@media only screen and (max-width:575px){.form-wrapper .input-group .input-group-prepend .input-group-text{font-size:14px;padding-left:15px}}@media only screen and (max-width:575px) and (max-width:575px){.form-wrapper .input-group .input-group-prepend .input-group-text{font-size:12px;height:50px}}@media only screen and (max-width:575px){.form-wrapper .input-group .form-control{font-size:16px;height:50px}}.contacts-slider img{height:106px;width:106px!important}@media only screen and (max-width:575px){.contacts-slider img{height:85px;width:85px!important}}.card-slide .card-bx{width:350px}.text-head .h2,.text-head h2{font-size:34px}@media only screen and (max-width:575px){.text-head .h2,.text-head h2{font-size:25px}}@media only screen and (max-width:575px){.text-head{margin-bottom:10px}}@media only screen and (max-width:575px){.card-table tbody tr td{padding:5px 10px}}.cardtbl-link tbody tr td a{border:2px solid;font-weight:500}.order-tbl thead th,.view-link a{font-size:16px}.view-link a{font-weight:500;color:#6418c3}.tbl-link tr td>a{font-weight:600}.coin-tabs .nav-tabs{border:0}.coin-tabs .nav-tabs .nav-link{border:0;border-bottom:2px solid var(--rgba-primary-2);font-size:16px;font-weight:400;color:#342e59;display:flex;align-items:center;padding:12px 18px}.coin-tabs .nav-tabs .nav-link svg{margin-right:10px}.coin-tabs .nav-tabs .nav-link.active{border-color:var(--primary);border-bottom:4px solid var(--primary)}.about-coin .title{font-size:24px}@media only screen and (max-width:575px){.about-coin .title{font-size:16px}}.about-coin .sub-title{font-size:14px}@media only screen and (max-width:575px){.about-coin .sub-title{font-size:12px}}@media only screen and (max-width:575px){.about-coin img{width:60px}.about-coin .sub-title{margin-bottom:0}}.about-coin span{font-size:14px}@media only screen and (max-width:575px){.about-coin span{font-size:12px}}.detault-daterange{width:auto;border:1px solid #eee;border-radius:1.75rem;overflow:hidden}.detault-daterange .form-control{border:0;height:50px;font-weight:500;color:var(--primary)}.detault-daterange .input-group-text{background:transparent;padding-right:0;color:#2258bf;border-radius:0}.detault-daterange .input-group-text i{font-size:28px}@media only screen and (max-width:1400px){.detault-daterange .form-control,.detault-daterange .input-group-text{height:40px}}.default-select.style-1{width:auto!important;border-radius:45;left:0;top:0;height:auto!important;border:1px solid #eee;font-size:14px;font-weight:500;padding:12px 35px 12px 22px}.coin-holding{padding:15px 20px;border-radius:15px;position:relative;margin-right:0;margin-left:0;z-index:1;display:flex;justify-content:space-between;align-items:center}.coin-holding .coin-font{font-size:28px}@media only screen and (max-width:1600px){.coin-holding .coin-font{font-size:16px}}@media only screen and (max-width:1199px){.coin-holding .coin-font{font-size:16px}}@media only screen and (max-width:575px){.coin-holding .coin-font{font-size:20px}}.coin-holding .coin-font-1{font-size:30px;font-weight:600}@media only screen and (max-width:1600px){.coin-holding .coin-font-1{font-size:16px}}@media only screen and (max-width:1199px){.coin-holding .coin-font-1{font-size:16px}}@media only screen and (max-width:1600px){.coin-holding .coin-bx svg{width:50px}}@media only screen and (max-width:575px){.coin-holding{border-radius:6px}.coin-holding .coin-bx{width:100%}.coin-holding .coin-bx svg{width:50px}.coin-holding .coin-bx-one svg{width:20px}.coin-holding p{font-size:11px}}.bg-gradient-1{background:-moz-linear-gradient(left,rgba(98,126,234,.12) 0,rgba(98,126,234,0) 100%);background:-webkit-linear-gradient(left,rgba(98,126,234,.12),rgba(98,126,234,0));background:linear-gradient(90deg,rgba(98,126,234,.12) 0,rgba(98,126,234,0));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#1f627eea\",endColorstr=\"#00627eea\",GradientType=1)}.bg-gradient-2{background:-moz-linear-gradient(left,rgba(52,93,157,.12) 0,rgba(52,93,157,0) 100%);background:-webkit-linear-gradient(left,rgba(52,93,157,.12),rgba(52,93,157,0));background:linear-gradient(90deg,rgba(52,93,157,.12) 0,rgba(52,93,157,0));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#1f345d9d\",endColorstr=\"#00345d9d\",GradientType=1)}.bg-gradient-3{background:-moz-linear-gradient(left,rgba(247,147,26,.12) 0,rgba(247,147,26,0) 100%);background:-webkit-linear-gradient(left,rgba(247,147,26,.12),rgba(247,147,26,0));background:linear-gradient(90deg,rgba(247,147,26,.12) 0,rgba(247,147,26,0));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#1ff7931a\",endColorstr=\"#00f7931a\",GradientType=1)}.bg-gradient-4{background:-moz-linear-gradient(left,rgba(247,147,26,.12) 0,rgba(255,104,3,0) 100%);background:-webkit-linear-gradient(left,rgba(247,147,26,.12),rgba(255,104,3,0));background:linear-gradient(90deg,rgba(247,147,26,.12) 0,rgba(255,104,3,0));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#1ff7931a\",endColorstr=\"#00ff6803\",GradientType=1)}.my-profile{position:relative;display:inline-block}.my-profile img{height:195px;width:195px}@media only screen and (max-width:1199px){.my-profile img{height:100px;width:100px}}.my-profile a{position:absolute;height:52px;width:52px;text-align:center;line-height:52px;border-radius:52px;background:#fff;color:var(--primary);font-size:20px;bottom:0;right:0;box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}@media only screen and (max-width:1199px){.my-profile a{height:35px;width:35px;line-height:35px;font-size:14px}}.portofolio-social{display:flex;justify-content:center;margin-top:30px}.portofolio-social li a{height:52px;width:52px;line-height:52px;font-size:24px;display:block;text-align:center;color:var(--primary);background:var(--rgba-primary-1);margin:0 8px;border-radius:52px}@media only screen and (max-width:1199px){.portofolio-social li a{height:40px;width:40px;line-height:40px;font-size:20px}}.name-text{font-size:26px;font-weight:600}.swiper-box{position:relative;height:920px}.swiper-box .swiper-container{width:100%;height:100%}.swiper-box .card{height:auto}.swiper-box .swiper-slide{font-size:18px;height:auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:23px}.swiper-box .swiper-container-vertical>.swiper-scrollbar{right:auto;left:4px;width:2px}.swiper-box .swiper-scrollbar-drag{width:8px;left:-3px;background:#68e365}.swiper-box:after{content:\"\";height:200px;width:100%;z-index:1;position:absolute;left:0;bottom:0;background:-moz-linear-gradient(top,rgba(30,87,153,0) 0,rgba(166,188,213,0) 33%,hsla(0,0%,97.6%,.43) 53%,#f9f9f9 79%);background:-webkit-linear-gradient(top,rgba(30,87,153,0),rgba(166,188,213,0) 33%,hsla(0,0%,97.6%,.43) 53%,#f9f9f9 79%);background:linear-gradient(180deg,rgba(30,87,153,0) 0,rgba(166,188,213,0) 33%,hsla(0,0%,97.6%,.43) 53%,#f9f9f9 79%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#001e5799\",endColorstr=\"#f9f9f9\",GradientType=0)}@media only screen and (max-width:1600px){.swiper-box{height:1100px}}@media only screen and (max-width:1199px){.swiper-box{height:auto;margin-bottom:25px}.swiper-box:after{content:none}.swiper-box .swiper-slide{width:auto!important;padding:0 10px}.swiper-box .card-bx{width:350px}}@media only screen and (max-width:575px){.swiper-box .card{margin-bottom:25px}.swiper-box .card-bx{width:305px}}.underline{text-decoration:underline;font-weight:600}.donut-chart-sale .small,.donut-chart-sale small{font-size:20px;position:absolute;width:100%;height:100%;left:0;display:flex;align-items:center;top:0;justify-content:center;font-weight:600;z-index:1;color:#000!important}.donut-chart-sale .small:after,.donut-chart-sale small:after{content:\"\";position:absolute;height:76%;width:76%;top:50%;transform:translate(-50%,-50%);left:50%;background:#fff;border-radius:100%;z-index:-1}.theme-colors .btn{height:35px;width:35px;cursor:pointer;border-radius:35px!important;text-align:center;margin-right:12px;padding:3px}.theme-colors .btn i{font-size:28px;color:#fff;display:none}.theme-colors .btn-check:active+.btn i,.theme-colors .btn-check:checked+.btn i{display:block!important}.rank-ic{height:63px;width:63px;line-height:63px;display:block;border-radius:63px;text-align:center}@media only screen and (max-width:575px){.rank-ic{height:50px;width:50px;line-height:50px;font-size:16px!important}}.card-table{overflow:hidden}@media only screen and (max-width:575px){.card-table tbody tr td span svg{width:40px}}table.dataTable.market-tbl{border-collapse:separate}table.dataTable.market-tbl tr td{border-top:5px solid #fff!important;border-bottom:5px solid #fff}table.dataTable.market-tbl tr td:first-child{border-left:10px solid #fff}table.dataTable.market-tbl tr td:last-child{border-right:10px solid #fff}table.dataTable.market-tbl tr th{border:0}table.dataTable.market-tbl .market-trbg td{background:#eee!important;padding:8px}table.dataTable.market-tbl .market-trbg td:first-child{border-radius:4rem 0 0 4rem}table.dataTable.market-tbl .market-trbg td:last-child{border-radius:0 4rem 4rem 0}.wspace-no{white-space:nowrap}@media only screen and (max-width:575px){.wspace-no svg{width:25px}}.produtct-detail-tag{display:inline-block}.produtct-detail-tag a{font-style:13px;color:#6e6e6e}.product-detail-content .item-tag{background:#828690;border-radius:6px;display:inline-block;font-size:12px;margin-right:4px;padding:2px 12px;color:#fff}.filtaring-area .h4,.filtaring-area h4{color:#1d1d1d;font-size:16px;font-weight:400;text-transform:lowercase}.plus-minus-input .input-icon{color:#6e6e6e}.plus-minus-input{display:flex;width:120px}.plus-minus-input .custom-btn{padding:12px 8px;border:1px solid #f5f5f5}.plus-minus-input .form-control:active,.plus-minus-input .form-control:focus,.plus-minus-input .form-control:hover{border:1px solid #f5f5f5}.btn-reveal-trigger .avatar-xl{min-width:30px}.share-view,.share-view ul li{display:inline-block}.share-view .share-icon{width:40px;height:40px;display:inline-block;border:1px solid #f5f5f5;text-align:center;line-height:40px;font-style:16px;color:#f5f5f5;margin-right:8px}.veritical-line{padding:20px 30px;border-top:1px solid #f5f5f5;border-right:1px solid #f5f5f5;border-bottom:1px solid #f5f5f5;position:relative}.veritical-line:before{background:#f5f5f5;bottom:0;content:\"\";height:100%;left:-1px;max-height:40%;position:absolute;width:1px}.tab-content-text p{color:#6e6e6e;font-size:13px;font-weight:400;line-height:24px;margin-bottom:25px}.tab-item-list li a{background:#fff;border-top:1px solid #f5f5f5;border-left:1px solid #f5f5f5;border-right:1px solid #f5f5f5;color:#6e6e6e;display:block;font-size:16px;padding:16px;text-transform:uppercase}.tab-item-list li a:focus,.tab-item-list li a:hover{background:#fff;color:#6e6e6e;border-right:0}.tab-item-list li:last-child{border-bottom:1px solid #f5f5f5}.tab-list li{margin-bottom:7px;font-size:13px}.tab-list li i{font-size:13px;margin-right:14px}.slide-item-list{text-align:center;margin:0 -5px}.slide-item-list li{display:inline-block;flex:0 0 25%;width:25%;padding:0 5px}.slide-item-list li a{display:inline-block;padding:0}.slide-item-list li a,.slide-item-list li a:focus,.slide-item-list li a:hover{background:transparent}.slide-item-list li a img{width:100%}.product-detail-text{padding:28px 30px 70px}.star-rating .product-review{font-style:13px;color:#6e6e6e;font-weight:400;text-decoration:underline!important}.product-detail .tab-content img{display:inline-block;width:100%}.popular-tag ul{margin:0;padding:0}.popular-tag ul li{padding:8px 15px;background:#f8f8f8;font-size:13px;color:#fff;margin-right:10px;margin-bottom:10px}.popular-tag ul li,.size-filter ul li{display:inline-block}.intro{border:1px solid red;color:#1d1d1d}#listResults .slider{margin:25px 0}#listResults .slider-box{width:90%;margin:25px auto}#listResults input{width:10%}#listResults label{border:none;display:inline-block;margin-right:-4px;vertical-align:top;width:30%}.plus-minus-input .input-icon{font-size:13px;color:#aaa}.plus-minus-input .custom-btn{border-radius:0;height:40px;padding:8px 12px;background:#fff;border:1px solid #c8c8c8}.plus-minus-input .custom-btn.active,.plus-minus-input .custom-btn:focus,.plus-minus-input .custom-btn:hover{box-shadow:none;outline:none}.plus-minus-input .form-control{height:40px;border:1px solid #c8c8c8;border-left-width:0}.plus-minus-input .form-control:active,.plus-minus-input .form-control:focus,.plus-minus-input .form-control:hover{border-color:#c8c8c8;border-style:solid;border-width:1px 0}.new-arrival-product .new-arrivals-img-contnent{overflow:hidden}.new-arrival-product .new-arrivals-img-contnent img{width:100%;-webkit-transition:all .5s;-ms-transition:all .5s;transition:all .5s}.new-arrival-product:hover .new-arrivals-img-contnent img{transform:scale(1.5) translateY(12%);-moz-transform:scale(1.5) translateY(12%);-webkit-transform:scale(1.5) translateY(12%);-ms-transform:scale(1.5) translateY(12%);-o-transform:scale(1.5) translateY(12%)}.new-arrival-content .item{font-size:12px;color:#6e6e6e}.new-arrival-content .h4,.new-arrival-content h4{font-size:16px;font-weight:600;margin-bottom:10px}.new-arrival-content .h4 a,.new-arrival-content h4 a{color:#000}.new-arrival-content .price{font-weight:600;color:var(--primary);font-size:24px;margin-bottom:0;float:right}@media only screen and (max-width:575px){.new-arrival-content .price{float:none;margin-top:10px}}.new-arrival-content p{font-size:14px;color:#828690;margin-bottom:6px;line-height:24px}.new-arrival-content .text-content{margin-top:18px}.new-arrival-content.text-center .price{float:unset!important}.success-icon{color:#68e365;font-size:16px}.comment-review{margin-bottom:15px;display:table;width:100%}.comment-review .client-review{color:#828690;padding-right:20px;text-decoration:underline!important;font-size:14px}.comment-review .span{color:#828690;font-size:14px}@media only screen and (max-width:575px){.comment-review{margin-bottom:0}}.star-rating li{display:inline-block}.star-rating li i{color:gold}.rtl{text-align:right;direction:rtl}.rtl .nav{padding-right:0}.rtl .navbar-nav .nav-item{float:right}.rtl .navbar-nav .nav-item+.nav-item{margin-right:1rem;margin-left:inherit}.rtl th{text-align:right}.rtl .alert-dismissible{padding-right:1.25rem;padding-left:4rem}.rtl .dropdown-menu{right:0;text-align:right}.rtl .checkbox label{padding-right:1.25rem;padding-left:inherit}.rtl .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-radius:0 .75rem .75rem 0}.rtl .btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child,.rtl .btn-group>.btn:last-child:not(:first-child),.rtl .btn-group>.dropdown-toggle:not(:first-child){border-radius:.75rem 0 0 .75rem}.rtl .custom-control-label:after,.rtl .custom-control-label:before{right:0;left:inherit}.rtl .custom-select{padding:.375rem .75rem .375rem 1.75rem;background:#fff url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E\") no-repeat left .75rem center;background-size:8px 10px}.rtl .input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.rtl .input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.rtl .input-group>.input-group-append:not(:last-child)>.btn,.rtl .input-group>.input-group-append:not(:last-child)>.input-group-text,.rtl .input-group>.input-group-prepend>.btn,.rtl .input-group>.input-group-prepend>.input-group-text{border-radius:0 .75rem .75rem 0}.rtl .input-group>.custom-select:not(:first-child),.rtl .input-group>.form-control:not(:first-child),.rtl .input-group>.input-group-append>.btn,.rtl .input-group>.input-group-append>.input-group-text,.rtl .input-group>.input-group-prepend:first-child>.btn:not(:first-child),.rtl .input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.rtl .input-group>.input-group-prepend:not(:first-child)>.btn,.rtl .input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-radius:.75rem 0 0 .75rem}.rtl .input-group>.custom-select:not(:last-child),.rtl .input-group>.form-control:not(:last-child){border-radius:0 .75rem .75rem 0}.rtl .input-group>.custom-select:not(:last-child):not(:first-child),.rtl .input-group>.form-control:not(:last-child):not(:first-child){border-radius:0}.rtl .custom-control{padding-right:1.5rem;padding-left:inherit;margin-right:inherit;margin-left:1rem}.rtl .custom-control-indicator{right:0;left:inherit}.rtl .custom-file-label:after{right:auto;left:-1px;border-radius:.25rem 0 0 .25rem}.rtl .checkbox-inline input,.rtl .checkbox input,.rtl .radio-inline,.rtl .radio input{margin-right:-1.25rem;margin-left:inherit}.rtl .list-group{padding-right:0;padding-left:40px}.rtl .close{float:left}.rtl .modal-header .close{margin:-15px auto -15px -15px}.rtl .modal-footer>:not(:first-child){margin-right:.25rem}.rtl .alert-dismissible .close{right:inherit;left:0}.rtl .dropdown-toggle:after{margin-right:.255em;margin-left:0}.rtl .form-check-input{margin-right:-1.25rem;margin-left:inherit}.rtl .form-check-label{padding-right:1.25rem;padding-left:inherit}.rtl .offset-1{margin-right:8.3333333333%;margin-left:0}.rtl .offset-2{margin-right:16.6666666667%;margin-left:0}.rtl .offset-3{margin-right:25%;margin-left:0}.rtl .offset-4{margin-right:33.3333333333%;margin-left:0}.rtl .offset-5{margin-right:41.6666666667%;margin-left:0}.rtl .offset-6{margin-right:50%;margin-left:0}.rtl .offset-7{margin-right:58.3333333333%;margin-left:0}.rtl .offset-8{margin-right:66.6666666667%;margin-left:0}.rtl .offset-9{margin-right:75%;margin-left:0}.rtl .offset-10{margin-right:83.3333333333%;margin-left:0}.rtl .offset-11{margin-right:91.6666666667%;margin-left:0}@media (min-width:576px){.rtl .offset-sm-0{margin-right:0;margin-left:0}.rtl .offset-sm-1{margin-right:8.3333333333%;margin-left:0}.rtl .offset-sm-2{margin-right:16.6666666667%;margin-left:0}.rtl .offset-sm-3{margin-right:25%;margin-left:0}.rtl .offset-sm-4{margin-right:33.3333333333%;margin-left:0}.rtl .offset-sm-5{margin-right:41.6666666667%;margin-left:0}.rtl .offset-sm-6{margin-right:50%;margin-left:0}.rtl .offset-sm-7{margin-right:58.3333333333%;margin-left:0}.rtl .offset-sm-8{margin-right:66.6666666667%;margin-left:0}.rtl .offset-sm-9{margin-right:75%;margin-left:0}.rtl .offset-sm-10{margin-right:83.3333333333%;margin-left:0}.rtl .offset-sm-11{margin-right:91.6666666667%;margin-left:0}}@media (min-width:768px){.rtl .offset-md-0{margin-right:0;margin-left:0}.rtl .offset-md-1{margin-right:8.3333333333%;margin-left:0}.rtl .offset-md-2{margin-right:16.6666666667%;margin-left:0}.rtl .offset-md-3{margin-right:25%;margin-left:0}.rtl .offset-md-4{margin-right:33.3333333333%;margin-left:0}.rtl .offset-md-5{margin-right:41.6666666667%;margin-left:0}.rtl .offset-md-6{margin-right:50%;margin-left:0}.rtl .offset-md-7{margin-right:58.3333333333%;margin-left:0}.rtl .offset-md-8{margin-right:66.6666666667%;margin-left:0}.rtl .offset-md-9{margin-right:75%;margin-left:0}.rtl .offset-md-10{margin-right:83.3333333333%;margin-left:0}.rtl .offset-md-11{margin-right:91.6666666667%;margin-left:0}}@media (min-width:992px){.rtl .offset-lg-0{margin-right:0;margin-left:0}.rtl .offset-lg-1{margin-right:8.3333333333%;margin-left:0}.rtl .offset-lg-2{margin-right:16.6666666667%;margin-left:0}.rtl .offset-lg-3{margin-right:25%;margin-left:0}.rtl .offset-lg-4{margin-right:33.3333333333%;margin-left:0}.rtl .offset-lg-5{margin-right:41.6666666667%;margin-left:0}.rtl .offset-lg-6{margin-right:50%;margin-left:0}.rtl .offset-lg-7{margin-right:58.3333333333%;margin-left:0}.rtl .offset-lg-8{margin-right:66.6666666667%;margin-left:0}.rtl .offset-lg-9{margin-right:75%;margin-left:0}.rtl .offset-lg-10{margin-right:83.3333333333%;margin-left:0}.rtl .offset-lg-11{margin-right:91.6666666667%;margin-left:0}}@media (min-width:1200px){.rtl .offset-xl-0{margin-right:0;margin-left:0}.rtl .offset-xl-1{margin-right:8.3333333333%;margin-left:0}.rtl .offset-xl-2{margin-right:16.6666666667%;margin-left:0}.rtl .offset-xl-3{margin-right:25%;margin-left:0}.rtl .offset-xl-4{margin-right:33.3333333333%;margin-left:0}.rtl .offset-xl-5{margin-right:41.6666666667%;margin-left:0}.rtl .offset-xl-6{margin-right:50%;margin-left:0}.rtl .offset-xl-7{margin-right:58.3333333333%;margin-left:0}.rtl .offset-xl-8{margin-right:66.6666666667%;margin-left:0}.rtl .offset-xl-9{margin-right:75%;margin-left:0}.rtl .offset-xl-10{margin-right:83.3333333333%;margin-left:0}.rtl .offset-xl-11{margin-right:91.6666666667%;margin-left:0}}@media (min-width:1440){.rtl .offset-xxl-0{margin-right:0;margin-left:0}.rtl .offset-xxl-1{margin-right:8.3333333333%;margin-left:0}.rtl .offset-xxl-2{margin-right:16.6666666667%;margin-left:0}.rtl .offset-xxl-3{margin-right:25%;margin-left:0}.rtl .offset-xxl-4{margin-right:33.3333333333%;margin-left:0}.rtl .offset-xxl-5{margin-right:41.6666666667%;margin-left:0}.rtl .offset-xxl-6{margin-right:50%;margin-left:0}.rtl .offset-xxl-7{margin-right:58.3333333333%;margin-left:0}.rtl .offset-xxl-8{margin-right:66.6666666667%;margin-left:0}.rtl .offset-xxl-9{margin-right:75%;margin-left:0}.rtl .offset-xxl-10{margin-right:83.3333333333%;margin-left:0}.rtl .offset-xxl-11{margin-right:91.6666666667%;margin-left:0}}.rtl .ml-0,.rtl .mr-0,.rtl .mx-0{margin-right:0!important;margin-left:0!important}.rtl .mr-1,.rtl .mx-1{margin-right:0!important;margin-left:.25rem!important}.rtl .ml-1,.rtl .mx-1{margin-left:0!important;margin-right:.25rem!important}.rtl .mr-2,.rtl .mx-2{margin-right:0!important;margin-left:.5rem!important}.rtl .ml-2,.rtl .mx-2{margin-left:0!important;margin-right:.5rem!important}.rtl .mr-3,.rtl .mx-3{margin-right:0!important;margin-left:1rem!important}.rtl .ml-3,.rtl .mx-3{margin-left:0!important;margin-right:1rem!important}.rtl .mr-4,.rtl .mx-4{margin-right:0!important;margin-left:1.5rem!important}.rtl .ml-4,.rtl .mx-4{margin-left:0!important;margin-right:1.5rem!important}.rtl .mr-5,.rtl .mx-5{margin-right:0!important;margin-left:3rem!important}.rtl .ml-5,.rtl .mx-5{margin-left:0!important;margin-right:3rem!important}.rtl .pl-0,.rtl .pr-0,.rtl .px-0{padding-right:0!important;padding-left:0!important}.rtl .pr-1,.rtl .px-1{padding-right:0!important;padding-left:.25rem!important}.rtl .pl-1,.rtl .px-1{padding-left:0!important;padding-right:.25rem!important}.rtl .pr-2,.rtl .px-2{padding-right:0!important;padding-left:.5rem!important}.rtl .pl-2,.rtl .px-2{padding-left:0!important;padding-right:.5rem!important}.rtl .pr-3,.rtl .px-3{padding-right:0!important;padding-left:1rem!important}.rtl .pl-3,.rtl .px-3{padding-left:0!important;padding-right:1rem!important}.rtl .pr-4,.rtl .px-4{padding-right:0!important;padding-left:1.5rem!important}.rtl .pl-4,.rtl .px-4{padding-left:0!important;padding-right:1.5rem!important}.rtl .pr-5,.rtl .px-5{padding-right:0!important;padding-left:3rem!important}.rtl .pl-5,.rtl .px-5{padding-left:0!important;padding-right:3rem!important}@media (min-width:576px){.rtl .ml-sm-0,.rtl .mr-sm-0,.rtl .mx-sm-0{margin-right:0!important;margin-left:0!important}.rtl .mr-sm-1,.rtl .mx-sm-1{margin-right:0!important;margin-left:.25rem!important}.rtl .ml-sm-1,.rtl .mx-sm-1{margin-left:0!important;margin-right:.25rem!important}.rtl .mr-sm-2,.rtl .mx-sm-2{margin-right:0!important;margin-left:.5rem!important}.rtl .ml-sm-2,.rtl .mx-sm-2{margin-left:0!important;margin-right:.5rem!important}.rtl .mr-sm-3,.rtl .mx-sm-3{margin-right:0!important;margin-left:1rem!important}.rtl .ml-sm-3,.rtl .mx-sm-3{margin-left:0!important;margin-right:1rem!important}.rtl .mr-sm-4,.rtl .mx-sm-4{margin-right:0!important;margin-left:1.5rem!important}.rtl .ml-sm-4,.rtl .mx-sm-4{margin-left:0!important;margin-right:1.5rem!important}.rtl .mr-sm-5,.rtl .mx-sm-5{margin-right:0!important;margin-left:3rem!important}.rtl .ml-sm-5,.rtl .mx-sm-5{margin-left:0!important;margin-right:3rem!important}.rtl .pl-sm-0,.rtl .pr-sm-0,.rtl .px-sm-0{padding-right:0!important;padding-left:0!important}.rtl .pr-sm-1,.rtl .px-sm-1{padding-right:0!important;padding-left:.25rem!important}.rtl .pl-sm-1,.rtl .px-sm-1{padding-left:0!important;padding-right:.25rem!important}.rtl .pr-sm-2,.rtl .px-sm-2{padding-right:0!important;padding-left:.5rem!important}.rtl .pl-sm-2,.rtl .px-sm-2{padding-left:0!important;padding-right:.5rem!important}.rtl .pr-sm-3,.rtl .px-sm-3{padding-right:0!important;padding-left:1rem!important}.rtl .pl-sm-3,.rtl .px-sm-3{padding-left:0!important;padding-right:1rem!important}.rtl .pr-sm-4,.rtl .px-sm-4{padding-right:0!important;padding-left:1.5rem!important}.rtl .pl-sm-4,.rtl .px-sm-4{padding-left:0!important;padding-right:1.5rem!important}.rtl .pr-sm-5,.rtl .px-sm-5{padding-right:0!important;padding-left:3rem!important}.rtl .pl-sm-5,.rtl .px-sm-5{padding-left:0!important;padding-right:3rem!important}.rtl .mr-sm-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-sm-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-sm-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:768px){.rtl .ml-md-0,.rtl .mr-md-0,.rtl .mx-md-0{margin-right:0!important;margin-left:0!important}.rtl .mr-md-1,.rtl .mx-md-1{margin-right:0!important;margin-left:.25rem!important}.rtl .ml-md-1,.rtl .mx-md-1{margin-left:0!important;margin-right:.25rem!important}.rtl .mr-md-2,.rtl .mx-md-2{margin-right:0!important;margin-left:.5rem!important}.rtl .ml-md-2,.rtl .mx-md-2{margin-left:0!important;margin-right:.5rem!important}.rtl .mr-md-3,.rtl .mx-md-3{margin-right:0!important;margin-left:1rem!important}.rtl .ml-md-3,.rtl .mx-md-3{margin-left:0!important;margin-right:1rem!important}.rtl .mr-md-4,.rtl .mx-md-4{margin-right:0!important;margin-left:1.5rem!important}.rtl .ml-md-4,.rtl .mx-md-4{margin-left:0!important;margin-right:1.5rem!important}.rtl .mr-md-5,.rtl .mx-md-5{margin-right:0!important;margin-left:3rem!important}.rtl .ml-md-5,.rtl .mx-md-5{margin-left:0!important;margin-right:3rem!important}.rtl .pl-md-0,.rtl .pr-md-0,.rtl .px-md-0{padding-right:0!important;padding-left:0!important}.rtl .pr-md-1,.rtl .px-md-1{padding-right:0!important;padding-left:.25rem!important}.rtl .pl-md-1,.rtl .px-md-1{padding-left:0!important;padding-right:.25rem!important}.rtl .pr-md-2,.rtl .px-md-2{padding-right:0!important;padding-left:.5rem!important}.rtl .pl-md-2,.rtl .px-md-2{padding-left:0!important;padding-right:.5rem!important}.rtl .pr-md-3,.rtl .px-md-3{padding-right:0!important;padding-left:1rem!important}.rtl .pl-md-3,.rtl .px-md-3{padding-left:0!important;padding-right:1rem!important}.rtl .pr-md-4,.rtl .px-md-4{padding-right:0!important;padding-left:1.5rem!important}.rtl .pl-md-4,.rtl .px-md-4{padding-left:0!important;padding-right:1.5rem!important}.rtl .pr-md-5,.rtl .px-md-5{padding-right:0!important;padding-left:3rem!important}.rtl .pl-md-5,.rtl .px-md-5{padding-left:0!important;padding-right:3rem!important}.rtl .mr-md-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-md-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-md-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:992px){.rtl .ml-lg-0,.rtl .mr-lg-0,.rtl .mx-lg-0{margin-right:0!important;margin-left:0!important}.rtl .mr-lg-1,.rtl .mx-lg-1{margin-right:0!important;margin-left:.25rem!important}.rtl .ml-lg-1,.rtl .mx-lg-1{margin-left:0!important;margin-right:.25rem!important}.rtl .mr-lg-2,.rtl .mx-lg-2{margin-right:0!important;margin-left:.5rem!important}.rtl .ml-lg-2,.rtl .mx-lg-2{margin-left:0!important;margin-right:.5rem!important}.rtl .mr-lg-3,.rtl .mx-lg-3{margin-right:0!important;margin-left:1rem!important}.rtl .ml-lg-3,.rtl .mx-lg-3{margin-left:0!important;margin-right:1rem!important}.rtl .mr-lg-4,.rtl .mx-lg-4{margin-right:0!important;margin-left:1.5rem!important}.rtl .ml-lg-4,.rtl .mx-lg-4{margin-left:0!important;margin-right:1.5rem!important}.rtl .mr-lg-5,.rtl .mx-lg-5{margin-right:0!important;margin-left:3rem!important}.rtl .ml-lg-5,.rtl .mx-lg-5{margin-left:0!important;margin-right:3rem!important}.rtl .pl-lg-0,.rtl .pr-lg-0,.rtl .px-lg-0{padding-right:0!important;padding-left:0!important}.rtl .pr-lg-1,.rtl .px-lg-1{padding-right:0!important;padding-left:.25rem!important}.rtl .pl-lg-1,.rtl .px-lg-1{padding-left:0!important;padding-right:.25rem!important}.rtl .pr-lg-2,.rtl .px-lg-2{padding-right:0!important;padding-left:.5rem!important}.rtl .pl-lg-2,.rtl .px-lg-2{padding-left:0!important;padding-right:.5rem!important}.rtl .pr-lg-3,.rtl .px-lg-3{padding-right:0!important;padding-left:1rem!important}.rtl .pl-lg-3,.rtl .px-lg-3{padding-left:0!important;padding-right:1rem!important}.rtl .pr-lg-4,.rtl .px-lg-4{padding-right:0!important;padding-left:1.5rem!important}.rtl .pl-lg-4,.rtl .px-lg-4{padding-left:0!important;padding-right:1.5rem!important}.rtl .pr-lg-5,.rtl .px-lg-5{padding-right:0!important;padding-left:3rem!important}.rtl .pl-lg-5,.rtl .px-lg-5{padding-left:0!important;padding-right:3rem!important}.rtl .mr-lg-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-lg-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-lg-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:1200px){.rtl .ml-xl-0,.rtl .mr-xl-0,.rtl .mx-xl-0{margin-right:0!important;margin-left:0!important}.rtl .mr-xl-1,.rtl .mx-xl-1{margin-right:0!important;margin-left:.25rem!important}.rtl .ml-xl-1,.rtl .mx-xl-1{margin-left:0!important;margin-right:.25rem!important}.rtl .mr-xl-2,.rtl .mx-xl-2{margin-right:0!important;margin-left:.5rem!important}.rtl .ml-xl-2,.rtl .mx-xl-2{margin-left:0!important;margin-right:.5rem!important}.rtl .mr-xl-3,.rtl .mx-xl-3{margin-right:0!important;margin-left:1rem!important}.rtl .ml-xl-3,.rtl .mx-xl-3{margin-left:0!important;margin-right:1rem!important}.rtl .mr-xl-4,.rtl .mx-xl-4{margin-right:0!important;margin-left:1.5rem!important}.rtl .ml-xl-4,.rtl .mx-xl-4{margin-left:0!important;margin-right:1.5rem!important}.rtl .mr-xl-5,.rtl .mx-xl-5{margin-right:0!important;margin-left:3rem!important}.rtl .ml-xl-5,.rtl .mx-xl-5{margin-left:0!important;margin-right:3rem!important}.rtl .pl-xl-0,.rtl .pr-xl-0,.rtl .px-xl-0{padding-right:0!important;padding-left:0!important}.rtl .pr-xl-1,.rtl .px-xl-1{padding-right:0!important;padding-left:.25rem!important}.rtl .pl-xl-1,.rtl .px-xl-1{padding-left:0!important;padding-right:.25rem!important}.rtl .pr-xl-2,.rtl .px-xl-2{padding-right:0!important;padding-left:.5rem!important}.rtl .pl-xl-2,.rtl .px-xl-2{padding-left:0!important;padding-right:.5rem!important}.rtl .pr-xl-3,.rtl .px-xl-3{padding-right:0!important;padding-left:1rem!important}.rtl .pl-xl-3,.rtl .px-xl-3{padding-left:0!important;padding-right:1rem!important}.rtl .pr-xl-4,.rtl .px-xl-4{padding-right:0!important;padding-left:1.5rem!important}.rtl .pl-xl-4,.rtl .px-xl-4{padding-left:0!important;padding-right:1.5rem!important}.rtl .pr-xl-5,.rtl .px-xl-5{padding-right:0!important;padding-left:3rem!important}.rtl .pl-xl-5,.rtl .px-xl-5{padding-left:0!important;padding-right:3rem!important}.rtl .mr-xl-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-xl-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-xl-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:1440){.rtl .ml-xxl-0,.rtl .mr-xxl-0,.rtl .mx-xxl-0{margin-right:0!important;margin-left:0!important}.rtl .mr-xxl-1,.rtl .mx-xxl-1{margin-right:0!important;margin-left:.25rem!important}.rtl .ml-xxl-1,.rtl .mx-xxl-1{margin-left:0!important;margin-right:.25rem!important}.rtl .mr-xxl-2,.rtl .mx-xxl-2{margin-right:0!important;margin-left:.5rem!important}.rtl .ml-xxl-2,.rtl .mx-xxl-2{margin-left:0!important;margin-right:.5rem!important}.rtl .mr-xxl-3,.rtl .mx-xxl-3{margin-right:0!important;margin-left:1rem!important}.rtl .ml-xxl-3,.rtl .mx-xxl-3{margin-left:0!important;margin-right:1rem!important}.rtl .mr-xxl-4,.rtl .mx-xxl-4{margin-right:0!important;margin-left:1.5rem!important}.rtl .ml-xxl-4,.rtl .mx-xxl-4{margin-left:0!important;margin-right:1.5rem!important}.rtl .mr-xxl-5,.rtl .mx-xxl-5{margin-right:0!important;margin-left:3rem!important}.rtl .ml-xxl-5,.rtl .mx-xxl-5{margin-left:0!important;margin-right:3rem!important}.rtl .pl-xxl-0,.rtl .pr-xxl-0,.rtl .px-xxl-0{padding-right:0!important;padding-left:0!important}.rtl .pr-xxl-1,.rtl .px-xxl-1{padding-right:0!important;padding-left:.25rem!important}.rtl .pl-xxl-1,.rtl .px-xxl-1{padding-left:0!important;padding-right:.25rem!important}.rtl .pr-xxl-2,.rtl .px-xxl-2{padding-right:0!important;padding-left:.5rem!important}.rtl .pl-xxl-2,.rtl .px-xxl-2{padding-left:0!important;padding-right:.5rem!important}.rtl .pr-xxl-3,.rtl .px-xxl-3{padding-right:0!important;padding-left:1rem!important}.rtl .pl-xxl-3,.rtl .px-xxl-3{padding-left:0!important;padding-right:1rem!important}.rtl .pr-xxl-4,.rtl .px-xxl-4{padding-right:0!important;padding-left:1.5rem!important}.rtl .pl-xxl-4,.rtl .px-xxl-4{padding-left:0!important;padding-right:1.5rem!important}.rtl .pr-xxl-5,.rtl .px-xxl-5{padding-right:0!important;padding-left:3rem!important}.rtl .pl-xxl-5,.rtl .px-xxl-5{padding-left:0!important;padding-right:3rem!important}.rtl .mr-xxl-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-xxl-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}}.rtl .text-right{text-align:left!important}.rtl .text-left{text-align:right!important}@media (min-width:576px){.rtl .text-sm-right{text-align:left!important}.rtl .text-sm-left{text-align:right!important}}@media (min-width:768px){.rtl .text-md-right{text-align:left!important}.rtl .text-md-left{text-align:right!important}}@media (min-width:992px){.rtl .text-lg-right{text-align:left!important}.rtl .text-lg-left{text-align:right!important}}@media (min-width:1200px){.rtl .text-xl-right{text-align:left!important}.rtl .text-xl-left{text-align:right!important}}@media (min-width:1440){.rtl .text-xxl-right{text-align:left!important}.rtl .text-xxl-left{text-align:right!important}}.rtl .mx-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-auto{margin-right:auto!important;margin-left:auto!important}@media (min-width:576px){.rtl .mx-sm-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-sm-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-sm-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-sm-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-sm-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-sm-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-sm-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-sm-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-sm-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-sm-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-sm-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-sm-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-sm-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-sm-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-sm-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:768px){.rtl .mx-md-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-md-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-md-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-md-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-md-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-md-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-md-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-md-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-md-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-md-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-md-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-md-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-md-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-md-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-md-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:992px){.rtl .mx-lg-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-lg-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-lg-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-lg-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-lg-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-lg-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-lg-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-lg-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-lg-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-lg-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-lg-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-lg-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-lg-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-lg-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-lg-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:1200px){.rtl .mx-xl-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-xl-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-xl-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-xl-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-xl-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-xl-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-xl-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-xl-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-xl-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-xl-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-xl-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-xl-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-xl-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-xl-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-xl-auto{margin-right:auto!important;margin-left:auto!important}}@media (min-width:1440){.rtl .mx-xxl-0{margin-right:auto;margin-left:0!important;margin-left:auto;margin-right:0!important}.rtl .mx-xxl-1{margin-right:auto;margin-left:.25rem!important;margin-left:auto;margin-right:.25rem!important}.rtl .mx-xxl-2{margin-right:auto;margin-left:.5rem!important;margin-left:auto;margin-right:.5rem!important}.rtl .mx-xxl-3{margin-right:auto;margin-left:1rem!important;margin-left:auto;margin-right:1rem!important}.rtl .mx-xxl-4{margin-right:auto;margin-left:1.5rem!important;margin-left:auto;margin-right:1.5rem!important}.rtl .mx-xxl-5{margin-right:auto;margin-left:3rem!important;margin-left:auto;margin-right:3rem!important}.rtl .px-xxl-0{padding-right:auto;padding-left:0!important;padding-left:auto;padding-right:0!important}.rtl .px-xxl-1{padding-right:auto;padding-left:.25rem!important;padding-left:auto;padding-right:.25rem!important}.rtl .px-xxl-2{padding-right:auto;padding-left:.5rem!important;padding-left:auto;padding-right:.5rem!important}.rtl .px-xxl-3{padding-right:auto;padding-left:1rem!important;padding-left:auto;padding-right:1rem!important}.rtl .px-xxl-4{padding-right:auto;padding-left:1.5rem!important;padding-left:auto;padding-right:1.5rem!important}.rtl .px-xxl-5{padding-right:auto;padding-left:3rem!important;padding-left:auto;padding-right:3rem!important}.rtl .mr-xxl-auto{margin-right:0!important;margin-left:auto!important}.rtl .ml-xxl-auto{margin-right:auto!important;margin-left:0!important}.rtl .mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}}.rtl .float-left{float:right!important}.rtl .float-right{float:left!important}.rtl .float-none{float:none!important}@media (min-width:576px){.rtl .float-sm-left{float:right!important}.rtl .float-sm-right{float:left!important}.rtl .float-sm-none{float:none!important}}@media (min-width:768px){.rtl .float-md-left{float:right!important}.rtl .float-md-right{float:left!important}.rtl .float-md-none{float:none!important}}@media (min-width:992px){.rtl .float-lg-left{float:right!important}.rtl .float-lg-right{float:left!important}.rtl .float-lg-none{float:none!important}}@media (min-width:1200px){.rtl .float-xl-left{float:right!important}.rtl .float-xl-right{float:left!important}.rtl .float-xl-none{float:none!important}}@media (min-width:1440){.rtl .float-xxl-left{float:right!important}.rtl .float-xxl-right{float:left!important}.rtl .float-xxl-none{float:none!important}}[direction=rtl][data-theme-version=dark] .border,[direction=rtl][data-theme-version=dark] .border-left,[direction=rtl][data-theme-version=dark] .border-right{border-color:#2e2e42!important}[direction=rtl] .text-right{text-align:left!important}[direction=rtl] .text-left{text-align:right!important}[direction=rtl] .border-right{border-left:1px solid #f5f5f5!important;border-right:0!important}[direction=rtl] .border-left{border-right:1px solid #f5f5f5!important;border-left:0!important}[direction=rtl] .dropdown-menu{left:auto}[direction=rtl] .dropdown-menu-right{left:0;right:auto}@media only screen and (max-width:575px){[direction=rtl] .dropdown-menu-right{left:15px}}[direction=rtl] .notification_dropdown .dropdown-menu-right .media>span{margin-left:10px;margin-right:0}[direction=rtl]:not([data-container=boxed]) .nav-header{left:auto;right:0}[direction=rtl][data-container=wide-boxed] .nav-header{left:auto;right:auto}[direction=rtl] .nav-header{text-align:right;right:auto}[direction=rtl] .nav-header .brand-title{margin-left:0;margin-right:15px}[direction=rtl] .nav-header .brand-logo{padding-left:0;padding-right:1.75rem}[data-sidebar-style=compact][direction=rtl] .nav-header .brand-logo{padding-right:0}[data-sidebar-style=compact][direction=rtl] .nav-header .brand-logo[data-layout=horizontal]{padding-right:30px}[data-sidebar-style=mini][direction=rtl] .nav-header .brand-logo,[data-sidebar-style=modern][direction=rtl] .nav-header .brand-logo{padding-right:0}[data-layout=horizontal][data-sidebar-style=modern][direction=rtl] .nav-header .brand-logo{padding-right:30px}@media (max-width:767.98px){[direction=rtl] .nav-header .brand-logo{padding-right:0}}[direction=rtl] .nav-control{right:auto;left:-4.0625rem}@media (max-width:767.98px){[direction=rtl] .nav-control{left:-4.0625rem}}@media (max-width:575.98px){[direction=rtl] .nav-control{left:-2.0625rem}}[direction=rtl][data-sidebar-style=overlay] .nav-header .hamburger.is-active{right:0}[direction=rtl][data-sidebar-style=compact][data-layout=horizontal] .nav-header .brand-logo{padding-right:40px}[direction=rtl][data-sidebar-style=modern][data-layout=horizontal] .nav-header{width:16rem}[direction=rtl] .header{padding:0 21.563rem 0 0}@media (max-width:767.98px){[direction=rtl] .header{padding-right:5rem;padding-left:0}}[direction=rtl] .header .header-content{padding-left:1.875rem;padding-right:5.3125rem}@media only screen and (max-width:575px){[direction=rtl] .header .header-content{padding-right:3.5rem;padding-left:.938rem}}[data-sidebar-style=compact][direction=rtl] .header .header-content{padding-right:1.875rem}[data-sidebar-style=modern][direction=rtl] .header .header-content,[data-sidebar-style=overlay][direction=rtl] .header .header-content{padding-right:5.3125rem}@media only screen and (max-width:575px){[data-sidebar-style=overlay][direction=rtl] .header .header-content{padding-right:.5rem}}[direction=rtl] .header .nav-control{right:.4375rem;left:auto}[direction=rtl] .header-right>li:not(:first-child){padding-left:0;padding-right:1.25rem;margin-right:0!important}@media only screen and (max-width:767px){[direction=rtl] .header-right>li:not(:first-child){padding-right:.5rem}}[direction=rtl] .header-right .search-area .input-group-append .input-group-text{padding-right:auto;padding-left:20px}[direction=rtl] .header-right .search-area .form-control{padding-left:auto;padding-right:20px}[direction=rtl] .header-right .header-profile>a.nav-link{margin-left:auto;padding-left:auto;margin-right:15px;padding-right:30px;border-right:1px solid #eee;border-left:0}[direction=rtl] .header-right .header-profile>a.nav-link .header-info{padding-right:20px;padding-left:auto;text-align:right}@media only screen and (max-width:1400px){[direction=rtl] .header-right .header-profile>a.nav-link .header-info{padding-right:10px}}@media only screen and (max-width:1400px){[direction=rtl] .header-right .header-profile>a.nav-link{margin-right:10px;padding-right:20px}}@media only screen and (max-width:575px){[direction=rtl] .header-right .header-profile>a.nav-link{margin-right:0;padding-right:0;border-right:0}}[direction=rtl] .header-left .search_bar .dropdown-menu,[direction=rtl] .header-left .search_bar .dropdown-menu.show{right:40px!important}@media only screen and (max-width:575px){[direction=rtl] .header-left .search_bar .dropdown-menu,[direction=rtl] .header-left .search_bar .dropdown-menu.show{right:-100px!important}}[direction=rtl] .header-left .search_bar .search_icon{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:5rem;border-bottom-right-radius:5rem}@media only screen and (max-width:575px){[direction=rtl] .header-left .search_bar .search_icon{border-radius:5rem}}[direction=rtl][data-layout=horizontal] .header{padding:0 21.563rem 0 0}[direction=rtl][data-layout=horizontal] .header .header-content{padding-right:2.5rem;padding-left:2.5rem}[direction=rtl][data-layout=horizontal][data-sidebar-style=full] .nav-header .brand-logo{padding-right:2.5rem}[direction=rtl][data-layout=horizontal][data-sidebar-style=mini] .header{padding-right:7.75rem}[direction=rtl][data-sidebar-style=mini] .header{padding-right:6.25rem}[direction=rtl][data-sidebar-style=compact] .header{padding:0 11.25rem 0 .9375rem}[direction=rtl][data-sidebar-style=compact][data-layout=horizontal] .header{padding:0 21.563rem 0 0}[direction=rtl][data-sidebar-style=modern] .header{padding:0 10.625rem 0 .9375rem}[direction=rtl][data-sidebar-style=modern][data-layout=horizontal] .header{padding:0 16rem 0 0}[direction=rtl],[direction=rtl] .deznav{text-align:right}[direction=rtl] .deznav .metismenu ul:after{left:auto;right:25px}[direction=rtl] .deznav .metismenu ul a:before{left:auto;right:42px}[data-sidebar-style=full][direction=rtl] .deznav .metismenu li>a i{padding:0;margin-right:0;margin-left:10px}[direction=rtl] .deznav .metismenu li>a svg{margin-left:5px;margin-right:0}[data-sidebar-style=compact][direction=rtl] .deznav .metismenu li>a svg{left:auto;margin-left:auto;margin-right:auto}[data-sidebar-style=icon-hover][direction=rtl] .deznav .metismenu li>a svg{margin-left:0}[direction=rtl] .deznav .metismenu li ul a{padding-right:6rem;padding-left:.625rem}[direction=rtl] .deznav .metismenu li.active>.has-arrow:after{transform:rotate(45deg) translateY(-50%)}[direction=rtl] .deznav .metismenu .has-arrow:after{left:1.5625rem;right:auto}[data-layout=horizontal][direction=rtl] .deznav .metismenu .has-arrow:after{left:1.125rem}[data-sidebar-style=modern][direction=rtl] .deznav .metismenu .has-arrow:after{-webkit-transform:rotate(-45deg) translateY(-50%);transform:rotate(-45deg) translateY(-50%)}[direction=rtl][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu>li .has-arrow:after{left:1.5rem;right:auto}[direction=rtl][data-sidebar-style=mini] .deznav .metismenu>li>a>i{padding:0}[direction=rtl][data-sidebar-style=mini][data-layout=vertical] .deznav .metismenu>li>ul a.has-arrow:after{left:1.5625rem;right:auto}[direction=rtl][data-sidebar-style=compact] .deznav .metismenu li>a i{padding:0;margin-left:auto;margin-right:auto}[direction=rtl][data-sidebar-style=compact] .deznav .metismenu li ul a{padding-right:.625rem;padding-left:.625rem}[direction=rtl][data-sidebar-style=full][data-layout=vertical] .menu-toggle .deznav .metismenu li>ul li:hover ul{right:11.8125rem;left:0}[direction=rtl] .select2-container--default .select2-selection--single .select2-selection__arrow{left:15px;right:auto}[direction=rtl] .input-group>.bootstrap-select:not(:first-child) .dropdown-toggle{border-radius:.75rem 0 0 .75rem}[direction=rtl] .list-group{padding-left:0}[direction=rtl] .form-check-input{margin-left:-1.25rem;margin-right:inherit}[direction=rtl] .form-check-inline .form-check-input{margin-right:0;margin-left:10px}[direction=rtl] .checkbox-inline input,[direction=rtl] .checkbox input,[direction=rtl] .radio-inline,[direction=rtl] .radio input{margin-left:0;margin-right:0}[direction=rtl] .content-body{margin-right:21.563rem;margin-left:auto}[data-sidebar-style=modern][direction=rtl] .content-body{margin-right:9.375rem}[direction=rtl] .content-body .page-titles{text-align:right}[direction=rtl] .doctor-info-details .media-body span i,[direction=rtl] .recovered-chart-deta .col [class*=bg-]{margin-right:0;margin-left:10px}[direction=rtl] .patients-chart-deta .col,[direction=rtl] .patients-chart-deta .col [class*=bg-],[direction=rtl] .recovered-chart-deta .col{margin-right:0;margin-left:15px}[direction=rtl] .best-doctor .timeline .timeline-panel .media .number{left:auto;right:-13px}[direction=rtl] .doctor-info-details .media i{right:0;left:-15px}[direction=rtl] .review-table .disease{border-left:0;border-right:1px solid #eee;padding-left:0;padding-right:20px}[direction=rtl] .apexcharts-legend-text{margin:4px}[direction=rtl] .doctor-info-details .media-body{padding-left:0;padding-right:40px}[direction=rtl] .custom-control{margin-left:0}[direction=rtl] .review-tab.nav-pills li:first-child a.nav-link{border-radius:0 .75rem 0 0}[direction=rtl] .review-tab.nav-pills li:last-child a.nav-link{border-radius:.75rem 0 0 0}[direction=rtl] .form-head .btn i{margin-left:5px;margin-right:0}[direction=rtl] .iconbox{padding-left:0;padding-right:70px}[direction=rtl] .iconbox i{left:auto;right:0}[direction=rtl] .table.tr-rounded tr td:first-child,[direction=rtl] .table.tr-rounded tr th:first-child{border-radius:0 1.75rem 1.75rem 0}[direction=rtl] .table.tr-rounded tr td:last-child,[direction=rtl] .table.tr-rounded tr th:last-child{border-radius:1.75rem 0 0 1.75rem}[direction=rtl] .custom-switch.toggle-switch.text-right{padding-left:48px;padding-right:0}[direction=rtl] .toggle-switch.text-right .custom-control-label:before{right:auto!important;left:-47px}[direction=rtl] .toggle-switch.text-right .custom-control-label:after{right:auto!important;left:-28px}[direction=rtl] .toggle-switch.text-right .custom-control-input:checked~.custom-control-label:after{left:-62px;right:auto!important}[direction=rtl] .check-switch{padding-right:40px}[direction=rtl] .check-switch .custom-control-label:after,[direction=rtl] .check-switch .custom-control-label:before{right:-35px!important}[direction=rtl] .bar-chart .apexcharts-yaxis{transform:translatex(101%)}[direction=rtl] .detault-daterange .input-group-text{padding:.532rem auto .532rem 0}[direction=rtl] .form-wrapper .input-group .form-control{text-align:left}[direction=rtl] .timeline-chart .apexcharts-yaxis{transform:translateX(0)}[direction=rtl] .card-table td:first-child{padding-right:30px;padding-left:10px}[direction=rtl] .card-table td:last-child{padding-left:30px;padding-right:10px}[direction=rtl] .chatbox .img_cont{margin-right:0;margin-left:10px}[direction=rtl] .profile-tab .nav-item .nav-link{margin-right:0;margin-left:30px}@media only screen and (max-width:575px){[direction=rtl] .profile-tab .nav-item .nav-link{margin-left:0}}[direction=rtl] .widget-timeline .timeline>li>.timeline-panel{margin-left:0;margin-right:40px}[direction=rtl] .widget-timeline.style-1 .timeline .timeline-badge.timeline-badge+.timeline-panel{padding:5px 15px 5px 10px;border-width:0 5px 0 0}[direction=rtl] .widget-timeline.style-1 .timeline .timeline-badge.timeline-badge+.timeline-panel:after{border:0;right:-9px;width:7px;left:auto;height:7px}[direction=rtl] .widget-timeline .timeline>li>.timeline-badge{left:auto;right:0}[direction=rtl] .widget-timeline .timeline>li>.timeline-panel:after{left:auto;right:-5px}[direction=rtl] .input-group>.bootstrap-select:not(:first-child) .dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:1.75rem;border-bottom-left-radius:1.75rem}[direction=rtl] .input-group>.bootstrap-select:not(:last-child) .dropdown-toggle{border-top-right-radius:1.75rem;border-bottom-right-radius:1.75rem;border-top-left-radius:0;border-bottom-left-radius:0}[direction=rtl] .breadcrumb-item+.breadcrumb-item{padding-right:.5rem;padding-left:0}[direction=rtl] .breadcrumb-item+.breadcrumb-item:before{padding-right:0;padding-left:.5rem}[direction=rtl] .chatbox .chatbox-close{left:340px;right:auto}@media only screen and (max-width:575px){[direction=rtl] .chatbox .chatbox-close{left:280px}}[direction=rtl] .separator{margin-right:0;margin-left:9px}[direction=rtl] .card-tabs .nav-tabs{padding-right:5px}[direction=rtl] .chatbox .msg_cotainer{margin-left:0;margin-right:10px;border-radius:1.375rem 0 1.375rem 1.375rem}[direction=rtl] .chatbox .msg_cotainer:after{left:auto;right:-10px;transform:rotate(-90deg)}[direction=rtl] .chatbox .type_msg .input-group .input-group-append .btn{border-top-right-radius:38px!important;border-bottom-right-radius:38px!important}[direction=rtl] .chatbox .msg_cotainer_send{margin-right:0;margin-left:10px;border-radius:0 6px 6px 6px}[direction=rtl] .chatbox .msg_cotainer_send:after{right:auto;left:-10px;transform:rotate(90deg)}[direction=rtl] .new-arrival-content .price{float:left}[direction=rtl] .trending-menus .tr-row .num{margin-right:0;margin-left:15px}[direction=rtl] .default-select.style-2 .btn:after{margin-left:0;margin-right:.5em}[direction=rtl] .widget-timeline-icon li .icon{left:auto;right:-2px}[direction=rtl] .widget-timeline-icon li a{padding:25px 0 0 50px}@media only screen and (max-width:575px){[direction=rtl] .widget-timeline-icon .timeline{margin-left:0;margin-right:10px}[direction=rtl] .widget-timeline-icon li{border-left:0;border-right:6px solid #2258bf}[direction=rtl] .widget-timeline-icon li a{padding:0 30px 30px 0}[direction=rtl] .widget-timeline-icon li .icon{right:-12px}[direction=rtl] .widget-timeline-icon li:last-child{border-color:transparent}}[direction=rtl] #customerMapkm .apexcharts-yaxis,[direction=rtl] #revenueMap .apexcharts-yaxis{transform:translateX(0)}[direction=rtl] .mail-list .list-group-item i{padding-right:0;padding-left:.625rem}[direction=rtl] .dz-demo-panel{right:auto;left:-380px}[direction=rtl] .dz-demo-panel.show{right:unset;left:0}[direction=rtl] .dz-demo-panel .dz-demo-trigger{left:100%;right:auto;border-radius:0 5px 5px 0;box-shadow:5px 3px 5px 0 hsla(0,0%,46.7%,.15)}[direction=rtl][data-layout=horizontal] .content-body{margin-right:0}[direction=rtl][data-layout=horizontal] .deznav .metismenu li li .has-arrow:after{-webkit-transform:rotate(-4deg) translateY(-50%);transform:rotate(-45deg) translateY(-50%)}[direction=rtl][data-sidebar-style=mini]:not([data-layout=horizontal]) .content-body{margin-right:6.25rem}[direction=rtl][data-sidebar-style=compact]:not([data-layout=horizontal]) .content-body{margin-right:11.25rem}[direction=rtl][data-sidebar-style=overlay] .content-body{margin-right:0}[direction=rtl] #external-events .external-event:before{margin-right:0;margin-left:.9rem}[direction=rtl] .post-input a i{margin-left:15px;margin-right:0}[direction=rtl][data-sidebar-style=compact] .deznav .metismenu .has-arrow:after{-webkit-transform:rotate(-45deg) translateY(-50%);transform:rotate(-45deg) translateY(-50%)}[direction=rtl] .deznav .metismenu .has-arrow:after{-webkit-transform:rotate(-135deg) translateY(-50%);transform:rotate(-135deg) translateY(-50%)}[direction=rtl] .deznav .metismenu .has-arrow[aria-expanded=true]:after,[direction=rtl] .deznav .metismenu .mm-active>.has-arrow:after{-webkit-transform:rotate(-135deg) translateY(-50%);transform:rotate(-135deg)}[direction=rtl][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu .has-arrow[aria-expanded=true]:after,[direction=rtl][data-sidebar-style=full][data-layout=vertical] .deznav .metismenu .mm-active>.has-arrow:after{-webkit-transform:rotate(-45deg) translateY(-50%);transform:rotate(-45deg)}[direction=rtl] .chatbox{left:-500px;right:auto}[direction=rtl] .chatbox.active{left:0;right:auto}@media only screen and (max-width:575px){[direction=rtl] .best-doctor .timeline .timeline-panel .media{float:right;margin-right:0!important;margin-left:15px!important}}[direction=rtl] .default-select.style-1 .btn:after{margin-left:0;margin-right:.5em}[direction=rtl] .pagination .page-indicator{transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg)}[direction=rtl] .lg-outer.lg-visible{direction:ltr}[direction=rtl] .chart-point .chart-point-list{margin:0;padding-right:20px}[direction=rtl] .noUi-target{direction:rtl}[direction=rtl] .noUi-vertical .noUi-pips-vertical{left:-20px}[direction=rtl] .noUi-vertical .noUi-value-vertical{padding-left:0;padding-right:25px}[direction=rtl] .sidebar-right .ps--active-x>.ps__rail-x{display:none}[direction=rtl] .dtp>.dtp-content,[direction=rtl] .form-wizard .nav-wizard li .nav-link:after{right:50%;left:auto}[direction=rtl] .modal-header .close{margin:0;left:0;top:0;right:auto}[direction=rtl] .input-group-prepend .btn+.btn{border-radius:0!important}[direction=rtl] .form-control+.input-group-append .btn:first-child{border-top-right-radius:0!important;border-bottom-right-radius:0!important}[direction=rtl] .input-group>.custom-file:not(:first-child) .custom-file-label{border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:.75rem;border-top-left-radius:.75rem}[direction=rtl] .custom-file-label:after{border-radius:.75rem 0 0 .75rem}[direction=rtl] .input-group>.custom-file:not(:last-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:.75rem;border-bottom-right-radius:.75rem}[direction=rtl] .input-group>.custom-file:not(:last-child) .custom-file-label:after{border-radius:0}@media only screen and (max-width:1350px) and (min-width:1200px){[direction=rtl] .content-body{margin-right:17rem}}[direction=rtl] .sidebar-right{right:auto;left:-50rem}[direction=rtl] .sidebar-right.show{left:5.25rem;right:unset}[direction=rtl] .sidebar-right .sidebar-right-trigger{left:100%;right:auto;border-radius:0 5px 5px 0;box-shadow:5px 3px 5px 0 hsla(0,0%,46.7%,.15)}[direction=rtl] .sidebar-right .sidebar-close-trigger{right:auto;left:-48px}[direction=rtl] .bootstrap-select .dropdown-toggle .filter-option{text-align:right}html[dir=rtl] [direction=rtl] .footer{padding-right:17.1875rem;padding-left:0}@media (max-width:767.98px){html[dir=rtl] [direction=rtl] .footer{padding-right:0}}html[dir=rtl] [direction=rtl][data-sidebar-style=overlay] .footer{padding-right:0}html[dir=rtl] [direction=rtl] .menu-toggle .footer{padding-right:3.75rem}html[dir=rtl] [direction=rtl][data-container=boxed] .footer{padding-right:0}html[dir=rtl] [direction=rtl][data-sidebar-style=mini]:not([data-layout=horizontal]) .footer{padding-right:3.75rem}html[dir=rtl] [direction=rtl][data-sidebar-style=compact]:not([data-layout=horizontal]) .footer{padding-right:9.375rem}:root{--primary:#2258bf;--secondary:#627eea;--primary-hover:#1a4494;--primary-dark:#0b1c3d;--rgba-primary-1:rgba(34,88,191,0.1);--rgba-primary-2:rgba(34,88,191,0.2);--rgba-primary-3:rgba(34,88,191,0.3);--rgba-primary-4:rgba(34,88,191,0.4);--rgba-primary-5:rgba(34,88,191,0.5);--rgba-primary-6:rgba(34,88,191,0.6);--rgba-primary-7:rgba(34,88,191,0.7);--rgba-primary-8:rgba(34,88,191,0.8);--rgba-primary-9:rgba(34,88,191,0.9);--font-family-base:Roboto,sans-serif;--font-family-title:Roboto,sans-serif;--title:#000}[data-theme-version=dark]{background:#171622;color:#828690;--nav-headbg:#212130;--sidebar-bg:#212130;--headerbg:#212130}[data-theme-version=dark] .h1,[data-theme-version=dark] .h2,[data-theme-version=dark] .h3,[data-theme-version=dark] .h4,[data-theme-version=dark] .h5,[data-theme-version=dark] .h6,[data-theme-version=dark] h1,[data-theme-version=dark] h2,[data-theme-version=dark] h3,[data-theme-version=dark] h4,[data-theme-version=dark] h5,[data-theme-version=dark] h6{color:#fff!important}[data-theme-version=dark] a.link{color:#ddd}[data-theme-version=dark] a.link:focus,[data-theme-version=dark] a.link:hover{color:#b48dd3}[data-theme-version=dark] a:hover{color:#fff}[data-theme-version=dark] .border-right{border-right:1px solid #2e2e42!important}[data-theme-version=dark] .border-left{border-left:1px solid #2e2e42!important}[data-theme-version=dark] .border-top{border-top:1px solid #2e2e42!important}[data-theme-version=dark] .border-bottom{border-bottom:1px solid #2e2e42!important}[data-theme-version=dark] .border{border:1px solid #2e2e42!important}[data-theme-version=dark] .card{background-color:#212130;box-shadow:none}[data-theme-version=dark] .dropdown-menu{background-color:#212130;box-shadow:0 0 0 1px hsla(0,0%,100%,.1)}[data-theme-version=dark] .dropdown-menu .dropdown-item{color:#777}[data-theme-version=dark] .dropdown-menu .dropdown-item.active,[data-theme-version=dark] .dropdown-menu .dropdown-item.selected,[data-theme-version=dark] .dropdown-menu .dropdown-item.selected.active,[data-theme-version=dark] .dropdown-menu .dropdown-item:focus,[data-theme-version=dark] .dropdown-menu .dropdown-item:hover{background-color:#212130;color:#fff}[data-theme-version=dark] a{color:#fff}[data-theme-version=dark] .text-primary{color:#fff!important}[data-theme-version=dark] .btn-link g [fill]{fill:#fff}[data-theme-version=dark] .btn-light:active,[data-theme-version=dark] .btn-light:focus,[data-theme-version=dark] .btn-light:hover{color:#000}[data-theme-version=dark] .form-control{background-color:#212130;border-color:#2e2e42;color:#fff}[data-theme-version=dark] .modal-content{background:#212130}[data-theme-version=dark] .modal-footer,[data-theme-version=dark] .modal-header{border-color:#2e2e42}[data-theme-version=dark] .close{font-weight:400;color:#fff;text-shadow:none}[data-theme-version=dark] .close:hover,[data-theme-version=dark] .new-arrival-content .item,[data-theme-version=dark] .star-rating .product-review{color:#fff}[data-theme-version=dark] .custom-dropdown .dropdown-menu{border-color:#2e2e42}[data-theme-version=dark] .widget-stat .media>span{background:#2e2e42;border-color:#2e2e42;color:#fff}[data-theme-version=dark] .plus-minus-input .custom-btn{background:#171622;border-color:#2e2e42}[data-theme-version=dark] .dropdown-divider,[data-theme-version=dark] .size-filter ul li{border-color:#2e2e42}[data-theme-version=dark] .custom-select{border-color:#2e2e42;color:#828690;background:#171622}[data-theme-version=dark] .nav-tabs{border-color:#2e2e42!important}[data-theme-version=dark] .mail-list .list-group-item.active i{color:#fff}[data-theme-version=dark] hr{border-color:#2e2e42}[data-theme-version=dark] .grid-col{background:#171622}[data-theme-version=dark] .noUi-target{border-color:#2e2e42;border-radius:8px;box-shadow:none}[data-theme-version=dark] .noUi-marker,[data-theme-version=dark] .noUi-marker-large,[data-theme-version=dark] .noUi-target .noUi-connects{background:#2e2e42}[data-theme-version=dark] .input-group-text{background:#212130;color:#969ba0;border-color:#2e2e42}[data-theme-version=dark] .note-editor.note-frame{border-color:#2e2e42}[data-theme-version=dark] .note-editor.note-frame .btn,[data-theme-version=dark] .note-editor.note-frame .note-editing-area .note-editable{color:#fff}[data-theme-version=dark] #user-activity .nav-tabs .nav-link,[data-theme-version=dark] .notification_dropdown .dropdown-menu-right .all-notification,[data-theme-version=dark] .widget-media .timeline .timeline-panel{border-color:#2e2e42}[data-theme-version=dark] #user-activity .nav-tabs .nav-link.active{background:#171622;color:#fff}[data-theme-version=dark] .list-group-item-action{color:#969ba0}[data-theme-version=dark] .list-group-item-action:focus,[data-theme-version=dark] .list-group-item-action:hover{background-color:#171622;border-color:#171622}[data-theme-version=dark] .list-group-item.active{color:#fff;border-color:var(--primary)}[data-theme-version=dark] .list-group-item.active:focus,[data-theme-version=dark] .list-group-item.active:hover{background-color:var(--primary);border-color:var(--primary);color:#fff}[data-theme-version=dark] .swal2-popup{background:#212130}[data-theme-version=dark] .form-head .btn-outline-primary{border-color:#2e2e42}[data-theme-version=dark] .form-head .btn-outline-primary:hover{border-color:var(--primary)}[data-theme-version=dark] .review-tab.nav-pills li a.nav-link.active{background:transparent}[data-theme-version=dark] .new-arrival-content .h4 a,[data-theme-version=dark] .new-arrival-content h4 a{color:#fff}[data-theme-version=dark] .text-black{color:#fff!important}[data-theme-version=dark] .abilities-chart .ct-chart .ct-label,[data-theme-version=dark] .morris_chart_height text tspan{fill:#fff}[data-theme-version=dark] .btn-link{color:#fff}[data-theme-version=dark] .order-bg{background:#171622}[data-theme-version=dark] .detault-daterange{background:#171622;color:#fff}[data-theme-version=dark] .detault-daterange .input-group-text{background:#212130;border:0}[data-theme-version=dark] .dataTablesCard{background-color:#212130}[data-theme-version=dark] .compose-content .dropzone{background:#171622}[data-theme-version=dark] .compose-content .dropzone .dz-message .dz-button{color:#fff}[data-theme-version=dark] .daterangepicker,[data-theme-version=dark] .daterangepicker .calendar-table{background:#171622;border-color:var(--primary)}[data-theme-version=dark] .daterangepicker .calendar-table .table-condensed td:hover{background-color:var(--primary);color:#fff}[data-theme-version=dark] .daterangepicker:after{border-bottom:6px solid #171622}[data-theme-version=dark] .daterangepicker select.ampmselect,[data-theme-version=dark] .daterangepicker select.hourselect,[data-theme-version=dark] .daterangepicker select.minuteselect,[data-theme-version=dark] .daterangepicker select.secondselect{background:#171622;border:1px solid #2e2e42;color:#fff}[data-theme-version=dark] .daterangepicker td.off,[data-theme-version=dark] .daterangepicker td.off.end-date,[data-theme-version=dark] .daterangepicker td.off.in-range,[data-theme-version=dark] .daterangepicker td.off.start-date{background-color:#212130}[data-theme-version=dark] .daterangepicker td.off.end-date:hover,[data-theme-version=dark] .daterangepicker td.off.in-range:hover,[data-theme-version=dark] .daterangepicker td.off.start-date:hover,[data-theme-version=dark] .daterangepicker td.off:hover{background-color:var(--primary);color:#fff}[data-theme-version=dark] .app-fullcalendar .fc-button{background-color:#171622;border-color:var(--primary);color:#fff;text-shadow:none}[data-theme-version=dark] .app-fullcalendar .fc-button.fc-stat-hover,[data-theme-version=dark] .app-fullcalendar .fc-button:hover{background-color:var(--primary)}[data-theme-version=dark] .swal2-popup .swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #2e2e42,0 0 0 4px var(--rgba-primary-1)}[data-theme-version=dark] .dd-handle{border-color:#2e2e42}[data-theme-version=dark][data-layout=vertical] .menu-toggle .deznav .metismenu li>ul{background:#212130;box-shadow:0 0 10px rgba(0,0,0,.5)}[data-theme-version=dark] .header-right .notification_dropdown .nav-link{border-color:#2e2e42}[data-theme-version=dark] .nav-tabs .nav-link.active,[data-theme-version=dark] .nav-tabs .nav-link:hover{border-color:var(--primary);background:#171622;color:#fff!important}[data-theme-version=dark] .clockpicker-popover .popover-content{background-color:#212130}[data-theme-version=dark] .clockpicker-plate{background-color:#171622}[data-theme-version=dark] .clockpicker-popover .popover-title{background-color:#171622;color:#fff}[data-theme-version=dark] .form-wizard .nav-wizard li .nav-link span{background-color:#171622}[data-theme-version=dark] .form-wizard .nav-wizard li .nav-link:after{background:#171622}[data-theme-version=dark] .form-wizard .nav-wizard li .nav-link.active:after,[data-theme-version=dark] .form-wizard .nav-wizard li .nav-link.active span,[data-theme-version=dark] .form-wizard .nav-wizard li .nav-link.done:after,[data-theme-version=dark] .form-wizard .nav-wizard li .nav-link.done span{background:var(--primary)}[data-theme-version=dark] .check-switch .custom-control-label:after,[data-theme-version=dark] .check-switch .custom-control-label:before{border-color:var(--primary)}[data-theme-version=dark] .fc-unthemed .fc-today{background:#171622}[data-theme-version=dark] .fc-unthemed .fc-divider,[data-theme-version=dark] .fc-unthemed .fc-list-heading td,[data-theme-version=dark] .fc-unthemed .fc-popover .fc-header{background:#2e2e42}[data-theme-version=dark] .picker__box{background:#171622}[data-theme-version=dark] .picker__box .picker__button--clear,[data-theme-version=dark] .picker__box .picker__button--close,[data-theme-version=dark] .picker__box .picker__button--today{background:#212130;color:#fff}[data-theme-version=dark] .picker__box .picker__button--clear:hover:before,[data-theme-version=dark] .picker__box .picker__button--close:hover:before,[data-theme-version=dark] .picker__box .picker__button--today:hover:before{color:#fff}[data-theme-version=dark] .picker{color:#999}[data-theme-version=dark] .dtp>.dtp-content{background:#171622}[data-theme-version=dark] .dtp table.dtp-picker-days tr>td>a{color:#68686a}[data-theme-version=dark] .dtp table.dtp-picker-days tr>td>a.selected{color:#fff}[data-theme-version=dark] .order-request tbody tr{border-color:#2e2e42}[data-theme-version=dark] .card-list li{color:#fff}[data-theme-version=dark] .card-bx .change-btn:hover{color:var(--primary)}[data-theme-version=dark] .invoice-card.bg-warning{background-color:#5b3c1f!important}[data-theme-version=dark] .invoice-card.bg-success{background-color:#2a6729!important}[data-theme-version=dark] .invoice-card.bg-info{background-color:#4c276a!important}[data-theme-version=dark] .invoice-card.bg-secondary{background-color:#1c3e52!important}[data-theme-version=dark] .user-list li{border-color:#212130}[data-theme-version=dark] .toggle-switch{color:#fff}[data-theme-version=dark] .bar-chart .apexcharts-text tspan{fill:#969ba0}[data-theme-version=dark] .bar-chart line{stroke:#2e2e42}[data-theme-version=dark] .coin-card{background:#0f6a62;background:-moz-linear-gradient(left,#0f6a62 0,#084355 100%);background:-webkit-linear-gradient(left,#0f6a62,#084355);background:linear-gradient(90deg,#0f6a62 0,#084355);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#0f6a62\",endColorstr=\"#084355\",GradientType=1)}[data-theme-version=dark] .coin-card .coin-icon{background:rgba(0,0,0,.2)}[data-theme-version=dark] .accordion.style-1 .accordion-item,[data-theme-version=dark] .invoice-list{border-color:#2e2e42}[data-theme-version=dark] .accordion.style-1 .accordion-header.collapsed .user-info,[data-theme-version=dark] .accordion.style-1 .accordion-header.collapsed .user-info a,[data-theme-version=dark] .accordion.style-1 .accordion-header.collapsed>span{color:#fff}[data-theme-version=dark] .ic-card>a{background:#25479f}[data-theme-version=dark] .ic-card>a:first-child{border-color:#25479f}[data-theme-version=dark] .ic-card span{color:#fff}[data-theme-version=dark] table.dataTable thead td,[data-theme-version=dark] table.dataTable thead th{border-color:#2e2e42!important}[data-theme-version=dark] .form-check .form-check-input{background:transparent}[data-theme-version=dark] .form-check .form-check-input:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3 6-6'/%3E%3C/svg%3E\")}[data-theme-version=dark] .paging_simple_numbers.dataTables_paginate{background:#171622}[data-theme-version=dark] .dataTables_wrapper .dataTables_paginate span .paginate_button.current,[data-theme-version=dark] .dataTables_wrapper .dataTables_paginate span .paginate_button:hover{background:var(--primary);color:#fff!important}[data-theme-version=dark] .dashboard-select,[data-theme-version=dark] .dashboard-select .list{background:#212130}[data-theme-version=dark] .dashboard-select .option.focus,[data-theme-version=dark] .dashboard-select .option.selected.focus,[data-theme-version=dark] .dashboard-select .option:hover{background:#171622}[data-theme-version=dark] .card-tabs.style-1 .nav-tabs{background:#212130}[data-theme-version=dark] .transaction-details{border-color:#2e2e42}[data-theme-version=dark] .description{color:#fff}[data-theme-version=dark] .transaction-details .amount-bx{background:#3f250d}[data-theme-version=dark] .transaction-details .amount-bx i{background:#8d3b0c}[data-theme-version=dark] .weather-btn{border-color:#2e2e42;background:#212130}[data-theme-version=dark] .weather-btn span{color:#fff;background:#212130}[data-theme-version=dark] .nice-select .option,[data-theme-version=dark] .nice-select .option.focus,[data-theme-version=dark] .nice-select .option.selected.focus,[data-theme-version=dark] .nice-select .option:hover{background:#212130}[data-theme-version=dark] .card-tabs.style-1,[data-theme-version=dark] .quick-select,[data-theme-version=dark] .table.border-hover tr:hover td{border-color:#2e2e42}[data-theme-version=dark] .order-tbl tr td,[data-theme-version=dark] .order-tbl tr th{color:#fff}[data-theme-version=dark] .dark-btn svg path{stroke:#fff}[data-theme-version=dark] .detault-daterange{border-color:#2e2e42}[data-theme-version=dark] .detault-daterange span{background:#212130}[data-theme-version=dark] .donut-chart-sale .small,[data-theme-version=dark] .donut-chart-sale small{color:#fff!important}[data-theme-version=dark] .donut-chart-sale .small:after,[data-theme-version=dark] .donut-chart-sale small:after{background:#212130}[data-theme-version=dark] .my-profile a{color:var(--primary)!important}[data-theme-version=dark] table.dataTable.market-tbl tr td{border-color:#212130!important}[data-theme-version=dark] table.dataTable.market-tbl .market-trbg td{background:#171622!important}[data-theme-version=dark] .tbl-orders i{color:#fff}[data-theme-version=dark] .form-wrapper .input-group .input-group-prepend .input-group-text{background:#171622;color:#fff}[data-theme-version=dark] .form-wrapper .input-group .form-control:focus{border-color:#2e2e42}[data-theme-version=dark] .nice-select .list{background:#171622}[data-theme-version=dark] .nice-select .list:hover{background:#212130}[data-theme-version=dark] .swiper-box:after{background:-moz-linear-gradient(top,rgba(23,22,34,0) 1%,rgba(23,22,34,0) 38%,rgba(23,22,34,.91) 85%,rgba(23,22,34,.91) 100%);background:-webkit-linear-gradient(top,rgba(23,22,34,0) 1%,rgba(23,22,34,0) 38%,rgba(23,22,34,.91) 85%,rgba(23,22,34,.91));background:linear-gradient(180deg,rgba(23,22,34,0) 1%,rgba(23,22,34,0) 38%,rgba(23,22,34,.91) 85%,rgba(23,22,34,.91));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#00171622\",endColorstr=\"#e8171622\",GradientType=0)}[data-theme-version=dark] .header,[data-theme-version=dark][data-layout=vertical][data-sidebar-position=fixed] .header{border-color:#2e2e42}[data-theme-version=dark] .header-left .dashboard_bar{color:#fff}[data-theme-version=dark] .header-left .search-area .form-control{background:#171622}[data-theme-version=dark] .header-left .search-area .input-group-text{border:0;background:#171622}[data-theme-version=dark] .header-left .search-area .input-group-text a{color:#4f7086}[data-theme-version=dark] .header-right .notification_dropdown .nav-link{background:#171622!important}[data-theme-version=dark] .header-right .notification_dropdown .nav-link .badge{border-color:#212130}[data-theme-version=dark] .header-right .notification_dropdown .nav-link svg path{fill:#fff}[data-theme-version=dark] .header-right .dropdown .nav-link,[data-theme-version=dark] .header-right .dropdown .nav-link:hover{color:#fff}[data-theme-version=dark] .nav-header .hamburger .line{background:#fff!important}[data-theme-version=dark] .menu-toggle .nav-header .nav-control .hamburger .line{background-color:#fff!important}[data-theme-version=dark] .nav-header{border-color:#2e2e42}[data-theme-version=dark][data-sidebar-position=fixed][data-layout=vertical] .nav-header{box-shadow:7px -7px 25px rgba(23,22,34,.5)}[data-theme-version=dark] .brand-logo,[data-theme-version=dark] .brand-logo:hover,[data-theme-version=dark] .nav-control{color:#fff}[data-theme-version=dark] .svg-title-path{fill:var(--primary)}[data-theme-version=dark] .fixed-content-box,[data-theme-version=dark][data-sidebar-style=mini] .deznav .metismenu li>ul{background-color:#212130}[data-theme-version=dark] .fixed-content-box .head-name{background:#212130;color:#fff;border-color:#2e2e42}[data-theme-version=dark] .fixed-content-box+.header+.deznav{background-color:#171622}[data-theme-version=dark][data-layout=vertical][data-sidebar-position=fixed] .deznav{border-color:#2e2e42}[data-theme-version=dark][data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a,[data-theme-version=dark][data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu>li:hover>a{background:transparent}[data-theme-version=dark][data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu>li.mm-active>a i,[data-theme-version=dark][data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu>li:hover>a i{color:var(--primary);background:var(--rgba-primary-1)}[data-theme-version=dark][data-layout=vertical][data-sidebar-style=compact] .deznav .metismenu>li a>i{color:hsla(0,0%,100%,.3)}[data-theme-version=dark] .deznav .header-profile>a.nav-link{border-color:#2e2e42}[data-theme-version=dark] .deznav .header-profile>a.nav-link .header-info span{color:#fff}[data-theme-version=dark] .deznav .metismenu>li>a{color:#b3b3b3}[data-theme-version=dark] .deznav .metismenu>li.mm-active>a,[data-theme-version=dark] .deznav .metismenu>li:focus>a,[data-theme-version=dark] .deznav .metismenu>li:hover>a{color:#fff;background:var(--rgba-primary-1)}[data-theme-version=dark] .deznav .metismenu>li.mm-active>a:after,[data-theme-version=dark] .deznav .metismenu>li:focus>a:after,[data-theme-version=dark] .deznav .metismenu>li:hover>a:after{border-color:#b3b3b3 transparent transparent #b3b3b3;border-style:solid;border-width:5px}[data-theme-version=dark] .deznav .metismenu>li.mm-active>a i,[data-theme-version=dark] .deznav .metismenu>li:focus>a i,[data-theme-version=dark] .deznav .metismenu>li:hover>a i{color:#fff}[data-theme-version=dark] .deznav .metismenu>li.mm-active ul ul{background:#212130}[data-theme-version=dark] .deznav .metismenu ul:after{background-color:#2e2e42}[data-theme-version=dark] .deznav .metismenu ul a.mm-active,[data-theme-version=dark] .deznav .metismenu ul a:focus,[data-theme-version=dark] .deznav .metismenu ul a:hover{color:#fff!important}[data-theme-version=dark] .deznav .metismenu ul a.mm-active:before,[data-theme-version=dark] .deznav .metismenu ul a:focus:before,[data-theme-version=dark] .deznav .metismenu ul a:hover:before{border-color:#fff}[data-theme-version=dark] .deznav .metismenu ul a:before{border-color:#949497}[data-theme-version=dark] .deznav .metismenu a{color:#b3b3b3!important}[data-theme-version=dark] .deznav .metismenu .has-arrow:after{border-color:#b3b3b3 transparent transparent #b3b3b3;border-style:solid;border-width:5px}[data-theme-version=dark] .sidebar-right .card-tabs .nav-tabs{border-color:var(--rgba-primary-1)!important}[data-theme-version=dark] .sidebar-right .card-tabs .nav-tabs .nav-item .nav-link{color:#000!important}[data-theme-version=dark] .sidebar-right .form-control{background:#fff;color:#000;border-color:#eee}[data-theme-version=dark] .sidebar-right .default-select .list{background:#fff}[data-theme-version=dark] .sidebar-right .default-select .list .option.focus,[data-theme-version=dark] .sidebar-right .default-select .list .option.selected,[data-theme-version=dark] .sidebar-right .default-select .list .option:hover{background:rgba(0,0,0,.05)!important}[data-theme-version=dark] .sidebar-right .sidebar-right-inner>.h4,[data-theme-version=dark] .sidebar-right .sidebar-right-inner>h4{color:#000!important}[data-theme-version=dark] .sidebar-right .nice-select .option{background:#fff}[data-theme-version=dark] .footer,[data-theme-version=dark] .footer .copyright{background-color:transparent}[data-theme-version=dark] .footer .copyright a{color:#fff}[data-theme-version=dark] .footer .copyright p{color:hsla(0,0%,100%,.4)!important}"
  },
  {
    "path": "src/main/resources/static/backend/icons/avasta/css/style.css",
    "content": "@font-face{font-family:'avasta';src:url('../fonts/avasta.eot');src:url('../fonts/avasta.eot') format('embedded-opentype'),url('../fonts/avasta.woff2') format('woff2'),url('../fonts/avasta.woff') format('woff'),url('../fonts/avasta.ttf') format('truetype'),url('../fonts/avasta.svg') format('svg');font-weight:normal;font-style:normal;}.icon{display:inline-block;font:normal normal normal 1em/1 'avasta';speak:none;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.icon-sm{font-size:0.8em;}.icon-lg{font-size:1.2em;}.icon-16{font-size:16px;}.icon-32{font-size:32px;}.icon-bg-square,.icon-bg-circle{padding:0.35em;background-color:#eee;}.icon-bg-circle{border-radius:50%;}.icon-ul{padding-left:0;list-style-type:none;}.icon-ul > li{display:flex;align-items:flex-start;line-height:1.4;}.icon-ul > li > .icon{margin-right:0.4em;line-height:inherit;}.icon-is-spinning{-webkit-animation:icon-spin 2s infinite linear;-moz-animation:icon-spin 2s infinite linear;animation:icon-spin 2s infinite linear;}@-webkit-keyframes icon-spin{0%{-webkit-transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);}}@-moz-keyframes icon-spin{0%{-moz-transform:rotate(0deg);}100%{-moz-transform:rotate(360deg);}}@keyframes icon-spin{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg);}}.icon-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);}.icon-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);}.icon-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);}.icon-flip-y{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0);-webkit-transform:scale(-1,1);-moz-transform:scale(-1,1);-ms-transform:scale(-1,1);-o-transform:scale(-1,1);transform:scale(-1,1);}.icon-flip-x{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:scale(1,-1);-moz-transform:scale(1,-1);-ms-transform:scale(1,-1);-o-transform:scale(1,-1);transform:scale(1,-1);}.icon-cloud-download-95::before{content:\"\\ea02\";}.icon-home-minimal::before{content:\"\\ea03\";}.icon-single-04::before{content:\"\\ea04\";}.icon-users-mm::before{content:\"\\ea05\";}.icon-webpage::before{content:\"\\ea06\";}.icon-layout-25::before{content:\"\\ea07\";}.icon-analytics::before{content:\"\\ea08\";}.icon-chart-pie-36::before{content:\"\\ea09\";}.icon-chart-bar-33::before{content:\"\\ea0a\";}.icon-single-copy-06::before{content:\"\\ea0b\";}.icon-home::before{content:\"\\ea0c\";}.icon-single-content-03::before{content:\"\\ea0d\";}.icon-bell-53::before{content:\"\\ea0e\";}.icon-email-84::before{content:\"\\ea0f\";}.icon-send::before{content:\"\\ea10\";}.icon-at-sign::before{content:\"\\ea11\";}.icon-attach-87::before{content:\"\\ea12\";}.icon-edit-72::before{content:\"\\ea13\";}.icon-tail-right::before{content:\"\\ea14\";}.icon-minimal-right::before{content:\"\\ea15\";}.icon-tail-left::before{content:\"\\ea16\";}.icon-minimal-left::before{content:\"\\ea17\";}.icon-tail-up::before{content:\"\\ea18\";}.icon-minimal-up::before{content:\"\\ea19\";}.icon-minimal-down::before{content:\"\\ea1a\";}.icon-tail-down::before{content:\"\\ea1b\";}.icon-settings-gear-64::before{content:\"\\ea1c\";}.icon-settings::before{content:\"\\ea1d\";}.icon-menu-dots::before{content:\"\\ea1e\";}.icon-menu-left::before{content:\"\\ea1f\";}.icon-funnel-40::before{content:\"\\ea20\";}.icon-filter::before{content:\"\\ea21\";}.icon-preferences-circle::before{content:\"\\ea22\";}.icon-check-2::before{content:\"\\ea23\";}.icon-cart-simple::before{content:\"\\ea24\";}.icon-cart-9::before{content:\"\\ea25\";}.icon-card-update::before{content:\"\\ea26\";}.icon-basket::before{content:\"\\ea27\";}.icon-check-circle-07::before{content:\"\\ea28\";}.icon-simple-remove::before{content:\"\\ea29\";}.icon-circle-remove::before{content:\"\\ea2a\";}.icon-alert-circle-exc::before{content:\"\\ea2b\";}.icon-bug::before{content:\"\\ea2c\";}.icon-share-66::before{content:\"\\ea2d\";}.icon-time-3::before{content:\"\\ea2e\";}.icon-time::before{content:\"\\ea2f\";}.icon-coffee::before{content:\"\\ea30\";}.icon-smile::before{content:\"\\ea31\";}.icon-sad::before{content:\"\\ea32\";}.icon-broken-heart::before{content:\"\\ea33\";}.icon-heart-2::before{content:\"\\ea34\";}.icon-pin-3::before{content:\"\\ea35\";}.icon-marker-3::before{content:\"\\ea36\";}.icon-globe-2::before{content:\"\\ea37\";}.icon-world-2::before{content:\"\\ea38\";}.icon-phone-2::before{content:\"\\ea39\";}.icon-check-square-11::before{content:\"\\ea3a\";}.icon-wallet-90::before{content:\"\\ea3b\";}.icon-credit-card::before{content:\"\\ea3c\";}.icon-payment::before{content:\"\\ea3d\";}.icon-tag::before{content:\"\\ea3e\";}.icon-tag-cut::before{content:\"\\ea3f\";}.icon-tag-content::before{content:\"\\ea40\";}.icon-flag-diagonal-33::before{content:\"\\ea41\";}.icon-triangle-right-17::before{content:\"\\ea47\";}.icon-puzzle-10::before{content:\"\\ea48\";}.icon-triangle-right-17-2::before{content:\"\\ea49\";}.icon-btn-play::before{content:\"\\ea4a\";}.icon-btn-play-2::before{content:\"\\ea4b\";}.icon-menu-34::before{content:\"\\ea4c\";}.icon-menu-left-2::before{content:\"\\ea4d\";}.icon-heart-2-2::before{content:\"\\ea4e\";}.icon-single-04-2::before{content:\"\\ea4f\";}.icon-users-mm-2::before{content:\"\\ea50\";}.icon-l-settings::before{content:\"\\ea51\";}.icon-book-open-2::before{content:\"\\ea52\";}.icon-layers-3::before{content:\"\\ea53\";}.icon-logo-fb-simple::before{content:\"\\ea55\";}.icon-logo-twitter::before{content:\"\\ea56\";}.icon-google::before{content:\"\\ea57\";}.icon-logo-pinterest::before{content:\"\\ea58\";}.icon-logo-instagram::before{content:\"\\ea59\";}.icon-logo-dribbble::before{content:\"\\ea5a\";}.icon-tablet-mobile::before{content:\"\\ea5b\";}.icon-house-search-engine::before{content:\"\\ea5c\";}.icon-house-pricing::before{content:\"\\ea5d\";}.icon-pulse-chart::before{content:\"\\ea5e\";}.icon-plug::before{content:\"\\ea5f\";}.icon-app-store::before{content:\"\\ea60\";}.icon-power-level::before{content:\"\\ea61\";}.icon-window-add::before{content:\"\\ea62\";}.icon-form::before{content:\"\\ea63\";}.icon-folder-15::before{content:\"\\ea64\";}.icon-lock::before{content:\"\\ea65\";}.icon-unlocked::before{content:\"\\ea66\";}.icon-e-reader::before{content:\"\\ea67\";}.icon-layout-grid::before{content:\"\\ea68\";}.icon-single-copies::before{content:\"\\ea69\";}"
  },
  {
    "path": "src/main/resources/static/backend/icons/bootstrap-icons/font/bootstrap-icons.css",
    "content": "@font-face{font-family:\"bootstrap-icons\";src:url(\"./fonts/bootstrap-icons.woff2?8bd4575acf83c7696dc7a14a966660a3\") format(\"woff2\"),url(\"./fonts/bootstrap-icons.woff?8bd4575acf83c7696dc7a14a966660a3\") format(\"woff\");}[class^=\"bi-\"]::before,[class*=\" bi-\"]::before{display:inline-block;font-family:bootstrap-icons !important;font-style:normal;font-weight:normal !important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.bi-alarm-fill::before{content:\"\\f101\";}.bi-alarm::before{content:\"\\f102\";}.bi-align-bottom::before{content:\"\\f103\";}.bi-align-center::before{content:\"\\f104\";}.bi-align-end::before{content:\"\\f105\";}.bi-align-middle::before{content:\"\\f106\";}.bi-align-start::before{content:\"\\f107\";}.bi-align-top::before{content:\"\\f108\";}.bi-alt::before{content:\"\\f109\";}.bi-app-indicator::before{content:\"\\f10a\";}.bi-app::before{content:\"\\f10b\";}.bi-archive-fill::before{content:\"\\f10c\";}.bi-archive::before{content:\"\\f10d\";}.bi-arrow-90deg-down::before{content:\"\\f10e\";}.bi-arrow-90deg-left::before{content:\"\\f10f\";}.bi-arrow-90deg-right::before{content:\"\\f110\";}.bi-arrow-90deg-up::before{content:\"\\f111\";}.bi-arrow-bar-down::before{content:\"\\f112\";}.bi-arrow-bar-left::before{content:\"\\f113\";}.bi-arrow-bar-right::before{content:\"\\f114\";}.bi-arrow-bar-up::before{content:\"\\f115\";}.bi-arrow-clockwise::before{content:\"\\f116\";}.bi-arrow-counterclockwise::before{content:\"\\f117\";}.bi-arrow-down-circle-fill::before{content:\"\\f118\";}.bi-arrow-down-circle::before{content:\"\\f119\";}.bi-arrow-down-left-circle-fill::before{content:\"\\f11a\";}.bi-arrow-down-left-circle::before{content:\"\\f11b\";}.bi-arrow-down-left-square-fill::before{content:\"\\f11c\";}.bi-arrow-down-left-square::before{content:\"\\f11d\";}.bi-arrow-down-left::before{content:\"\\f11e\";}.bi-arrow-down-right-circle-fill::before{content:\"\\f11f\";}.bi-arrow-down-right-circle::before{content:\"\\f120\";}.bi-arrow-down-right-square-fill::before{content:\"\\f121\";}.bi-arrow-down-right-square::before{content:\"\\f122\";}.bi-arrow-down-right::before{content:\"\\f123\";}.bi-arrow-down-short::before{content:\"\\f124\";}.bi-arrow-down-square-fill::before{content:\"\\f125\";}.bi-arrow-down-square::before{content:\"\\f126\";}.bi-arrow-down-up::before{content:\"\\f127\";}.bi-arrow-down::before{content:\"\\f128\";}.bi-arrow-left-circle-fill::before{content:\"\\f129\";}.bi-arrow-left-circle::before{content:\"\\f12a\";}.bi-arrow-left-right::before{content:\"\\f12b\";}.bi-arrow-left-short::before{content:\"\\f12c\";}.bi-arrow-left-square-fill::before{content:\"\\f12d\";}.bi-arrow-left-square::before{content:\"\\f12e\";}.bi-arrow-left::before{content:\"\\f12f\";}.bi-arrow-repeat::before{content:\"\\f130\";}.bi-arrow-return-left::before{content:\"\\f131\";}.bi-arrow-return-right::before{content:\"\\f132\";}.bi-arrow-right-circle-fill::before{content:\"\\f133\";}.bi-arrow-right-circle::before{content:\"\\f134\";}.bi-arrow-right-short::before{content:\"\\f135\";}.bi-arrow-right-square-fill::before{content:\"\\f136\";}.bi-arrow-right-square::before{content:\"\\f137\";}.bi-arrow-right::before{content:\"\\f138\";}.bi-arrow-up-circle-fill::before{content:\"\\f139\";}.bi-arrow-up-circle::before{content:\"\\f13a\";}.bi-arrow-up-left-circle-fill::before{content:\"\\f13b\";}.bi-arrow-up-left-circle::before{content:\"\\f13c\";}.bi-arrow-up-left-square-fill::before{content:\"\\f13d\";}.bi-arrow-up-left-square::before{content:\"\\f13e\";}.bi-arrow-up-left::before{content:\"\\f13f\";}.bi-arrow-up-right-circle-fill::before{content:\"\\f140\";}.bi-arrow-up-right-circle::before{content:\"\\f141\";}.bi-arrow-up-right-square-fill::before{content:\"\\f142\";}.bi-arrow-up-right-square::before{content:\"\\f143\";}.bi-arrow-up-right::before{content:\"\\f144\";}.bi-arrow-up-short::before{content:\"\\f145\";}.bi-arrow-up-square-fill::before{content:\"\\f146\";}.bi-arrow-up-square::before{content:\"\\f147\";}.bi-arrow-up::before{content:\"\\f148\";}.bi-arrows-angle-contract::before{content:\"\\f149\";}.bi-arrows-angle-expand::before{content:\"\\f14a\";}.bi-arrows-collapse::before{content:\"\\f14b\";}.bi-arrows-expand::before{content:\"\\f14c\";}.bi-arrows-fullscreen::before{content:\"\\f14d\";}.bi-arrows-move::before{content:\"\\f14e\";}.bi-aspect-ratio-fill::before{content:\"\\f14f\";}.bi-aspect-ratio::before{content:\"\\f150\";}.bi-asterisk::before{content:\"\\f151\";}.bi-at::before{content:\"\\f152\";}.bi-award-fill::before{content:\"\\f153\";}.bi-award::before{content:\"\\f154\";}.bi-back::before{content:\"\\f155\";}.bi-backspace-fill::before{content:\"\\f156\";}.bi-backspace-reverse-fill::before{content:\"\\f157\";}.bi-backspace-reverse::before{content:\"\\f158\";}.bi-backspace::before{content:\"\\f159\";}.bi-badge-3d-fill::before{content:\"\\f15a\";}.bi-badge-3d::before{content:\"\\f15b\";}.bi-badge-4k-fill::before{content:\"\\f15c\";}.bi-badge-4k::before{content:\"\\f15d\";}.bi-badge-8k-fill::before{content:\"\\f15e\";}.bi-badge-8k::before{content:\"\\f15f\";}.bi-badge-ad-fill::before{content:\"\\f160\";}.bi-badge-ad::before{content:\"\\f161\";}.bi-badge-ar-fill::before{content:\"\\f162\";}.bi-badge-ar::before{content:\"\\f163\";}.bi-badge-cc-fill::before{content:\"\\f164\";}.bi-badge-cc::before{content:\"\\f165\";}.bi-badge-hd-fill::before{content:\"\\f166\";}.bi-badge-hd::before{content:\"\\f167\";}.bi-badge-tm-fill::before{content:\"\\f168\";}.bi-badge-tm::before{content:\"\\f169\";}.bi-badge-vo-fill::before{content:\"\\f16a\";}.bi-badge-vo::before{content:\"\\f16b\";}.bi-badge-vr-fill::before{content:\"\\f16c\";}.bi-badge-vr::before{content:\"\\f16d\";}.bi-badge-wc-fill::before{content:\"\\f16e\";}.bi-badge-wc::before{content:\"\\f16f\";}.bi-bag-check-fill::before{content:\"\\f170\";}.bi-bag-check::before{content:\"\\f171\";}.bi-bag-dash-fill::before{content:\"\\f172\";}.bi-bag-dash::before{content:\"\\f173\";}.bi-bag-fill::before{content:\"\\f174\";}.bi-bag-plus-fill::before{content:\"\\f175\";}.bi-bag-plus::before{content:\"\\f176\";}.bi-bag-x-fill::before{content:\"\\f177\";}.bi-bag-x::before{content:\"\\f178\";}.bi-bag::before{content:\"\\f179\";}.bi-bar-chart-fill::before{content:\"\\f17a\";}.bi-bar-chart-line-fill::before{content:\"\\f17b\";}.bi-bar-chart-line::before{content:\"\\f17c\";}.bi-bar-chart-steps::before{content:\"\\f17d\";}.bi-bar-chart::before{content:\"\\f17e\";}.bi-basket-fill::before{content:\"\\f17f\";}.bi-basket::before{content:\"\\f180\";}.bi-basket2-fill::before{content:\"\\f181\";}.bi-basket2::before{content:\"\\f182\";}.bi-basket3-fill::before{content:\"\\f183\";}.bi-basket3::before{content:\"\\f184\";}.bi-battery-charging::before{content:\"\\f185\";}.bi-battery-full::before{content:\"\\f186\";}.bi-battery-half::before{content:\"\\f187\";}.bi-battery::before{content:\"\\f188\";}.bi-bell-fill::before{content:\"\\f189\";}.bi-bell::before{content:\"\\f18a\";}.bi-bezier::before{content:\"\\f18b\";}.bi-bezier2::before{content:\"\\f18c\";}.bi-bicycle::before{content:\"\\f18d\";}.bi-binoculars-fill::before{content:\"\\f18e\";}.bi-binoculars::before{content:\"\\f18f\";}.bi-blockquote-left::before{content:\"\\f190\";}.bi-blockquote-right::before{content:\"\\f191\";}.bi-book-fill::before{content:\"\\f192\";}.bi-book-half::before{content:\"\\f193\";}.bi-book::before{content:\"\\f194\";}.bi-bookmark-check-fill::before{content:\"\\f195\";}.bi-bookmark-check::before{content:\"\\f196\";}.bi-bookmark-dash-fill::before{content:\"\\f197\";}.bi-bookmark-dash::before{content:\"\\f198\";}.bi-bookmark-fill::before{content:\"\\f199\";}.bi-bookmark-heart-fill::before{content:\"\\f19a\";}.bi-bookmark-heart::before{content:\"\\f19b\";}.bi-bookmark-plus-fill::before{content:\"\\f19c\";}.bi-bookmark-plus::before{content:\"\\f19d\";}.bi-bookmark-star-fill::before{content:\"\\f19e\";}.bi-bookmark-star::before{content:\"\\f19f\";}.bi-bookmark-x-fill::before{content:\"\\f1a0\";}.bi-bookmark-x::before{content:\"\\f1a1\";}.bi-bookmark::before{content:\"\\f1a2\";}.bi-bookmarks-fill::before{content:\"\\f1a3\";}.bi-bookmarks::before{content:\"\\f1a4\";}.bi-bookshelf::before{content:\"\\f1a5\";}.bi-bootstrap-fill::before{content:\"\\f1a6\";}.bi-bootstrap-reboot::before{content:\"\\f1a7\";}.bi-bootstrap::before{content:\"\\f1a8\";}.bi-border-all::before{content:\"\\f1a9\";}.bi-border-bottom::before{content:\"\\f1aa\";}.bi-border-center::before{content:\"\\f1ab\";}.bi-border-inner::before{content:\"\\f1ac\";}.bi-border-left::before{content:\"\\f1ad\";}.bi-border-middle::before{content:\"\\f1ae\";}.bi-border-outer::before{content:\"\\f1af\";}.bi-border-right::before{content:\"\\f1b0\";}.bi-border-style::before{content:\"\\f1b1\";}.bi-border-top::before{content:\"\\f1b2\";}.bi-border-width::before{content:\"\\f1b3\";}.bi-border::before{content:\"\\f1b4\";}.bi-bounding-box-circles::before{content:\"\\f1b5\";}.bi-bounding-box::before{content:\"\\f1b6\";}.bi-box-arrow-down-left::before{content:\"\\f1b7\";}.bi-box-arrow-down-right::before{content:\"\\f1b8\";}.bi-box-arrow-down::before{content:\"\\f1b9\";}.bi-box-arrow-in-down-left::before{content:\"\\f1ba\";}.bi-box-arrow-in-down-right::before{content:\"\\f1bb\";}.bi-box-arrow-in-down::before{content:\"\\f1bc\";}.bi-box-arrow-in-left::before{content:\"\\f1bd\";}.bi-box-arrow-in-right::before{content:\"\\f1be\";}.bi-box-arrow-in-up-left::before{content:\"\\f1bf\";}.bi-box-arrow-in-up-right::before{content:\"\\f1c0\";}.bi-box-arrow-in-up::before{content:\"\\f1c1\";}.bi-box-arrow-left::before{content:\"\\f1c2\";}.bi-box-arrow-right::before{content:\"\\f1c3\";}.bi-box-arrow-up-left::before{content:\"\\f1c4\";}.bi-box-arrow-up-right::before{content:\"\\f1c5\";}.bi-box-arrow-up::before{content:\"\\f1c6\";}.bi-box-seam::before{content:\"\\f1c7\";}.bi-box::before{content:\"\\f1c8\";}.bi-braces::before{content:\"\\f1c9\";}.bi-bricks::before{content:\"\\f1ca\";}.bi-briefcase-fill::before{content:\"\\f1cb\";}.bi-briefcase::before{content:\"\\f1cc\";}.bi-brightness-alt-high-fill::before{content:\"\\f1cd\";}.bi-brightness-alt-high::before{content:\"\\f1ce\";}.bi-brightness-alt-low-fill::before{content:\"\\f1cf\";}.bi-brightness-alt-low::before{content:\"\\f1d0\";}.bi-brightness-high-fill::before{content:\"\\f1d1\";}.bi-brightness-high::before{content:\"\\f1d2\";}.bi-brightness-low-fill::before{content:\"\\f1d3\";}.bi-brightness-low::before{content:\"\\f1d4\";}.bi-broadcast-pin::before{content:\"\\f1d5\";}.bi-broadcast::before{content:\"\\f1d6\";}.bi-brush-fill::before{content:\"\\f1d7\";}.bi-brush::before{content:\"\\f1d8\";}.bi-bucket-fill::before{content:\"\\f1d9\";}.bi-bucket::before{content:\"\\f1da\";}.bi-bug-fill::before{content:\"\\f1db\";}.bi-bug::before{content:\"\\f1dc\";}.bi-building::before{content:\"\\f1dd\";}.bi-bullseye::before{content:\"\\f1de\";}.bi-calculator-fill::before{content:\"\\f1df\";}.bi-calculator::before{content:\"\\f1e0\";}.bi-calendar-check-fill::before{content:\"\\f1e1\";}.bi-calendar-check::before{content:\"\\f1e2\";}.bi-calendar-date-fill::before{content:\"\\f1e3\";}.bi-calendar-date::before{content:\"\\f1e4\";}.bi-calendar-day-fill::before{content:\"\\f1e5\";}.bi-calendar-day::before{content:\"\\f1e6\";}.bi-calendar-event-fill::before{content:\"\\f1e7\";}.bi-calendar-event::before{content:\"\\f1e8\";}.bi-calendar-fill::before{content:\"\\f1e9\";}.bi-calendar-minus-fill::before{content:\"\\f1ea\";}.bi-calendar-minus::before{content:\"\\f1eb\";}.bi-calendar-month-fill::before{content:\"\\f1ec\";}.bi-calendar-month::before{content:\"\\f1ed\";}.bi-calendar-plus-fill::before{content:\"\\f1ee\";}.bi-calendar-plus::before{content:\"\\f1ef\";}.bi-calendar-range-fill::before{content:\"\\f1f0\";}.bi-calendar-range::before{content:\"\\f1f1\";}.bi-calendar-week-fill::before{content:\"\\f1f2\";}.bi-calendar-week::before{content:\"\\f1f3\";}.bi-calendar-x-fill::before{content:\"\\f1f4\";}.bi-calendar-x::before{content:\"\\f1f5\";}.bi-calendar::before{content:\"\\f1f6\";}.bi-calendar2-check-fill::before{content:\"\\f1f7\";}.bi-calendar2-check::before{content:\"\\f1f8\";}.bi-calendar2-date-fill::before{content:\"\\f1f9\";}.bi-calendar2-date::before{content:\"\\f1fa\";}.bi-calendar2-day-fill::before{content:\"\\f1fb\";}.bi-calendar2-day::before{content:\"\\f1fc\";}.bi-calendar2-event-fill::before{content:\"\\f1fd\";}.bi-calendar2-event::before{content:\"\\f1fe\";}.bi-calendar2-fill::before{content:\"\\f1ff\";}.bi-calendar2-minus-fill::before{content:\"\\f200\";}.bi-calendar2-minus::before{content:\"\\f201\";}.bi-calendar2-month-fill::before{content:\"\\f202\";}.bi-calendar2-month::before{content:\"\\f203\";}.bi-calendar2-plus-fill::before{content:\"\\f204\";}.bi-calendar2-plus::before{content:\"\\f205\";}.bi-calendar2-range-fill::before{content:\"\\f206\";}.bi-calendar2-range::before{content:\"\\f207\";}.bi-calendar2-week-fill::before{content:\"\\f208\";}.bi-calendar2-week::before{content:\"\\f209\";}.bi-calendar2-x-fill::before{content:\"\\f20a\";}.bi-calendar2-x::before{content:\"\\f20b\";}.bi-calendar2::before{content:\"\\f20c\";}.bi-calendar3-event-fill::before{content:\"\\f20d\";}.bi-calendar3-event::before{content:\"\\f20e\";}.bi-calendar3-fill::before{content:\"\\f20f\";}.bi-calendar3-range-fill::before{content:\"\\f210\";}.bi-calendar3-range::before{content:\"\\f211\";}.bi-calendar3-week-fill::before{content:\"\\f212\";}.bi-calendar3-week::before{content:\"\\f213\";}.bi-calendar3::before{content:\"\\f214\";}.bi-calendar4-event::before{content:\"\\f215\";}.bi-calendar4-range::before{content:\"\\f216\";}.bi-calendar4-week::before{content:\"\\f217\";}.bi-calendar4::before{content:\"\\f218\";}.bi-camera-fill::before{content:\"\\f219\";}.bi-camera-reels-fill::before{content:\"\\f21a\";}.bi-camera-reels::before{content:\"\\f21b\";}.bi-camera-video-fill::before{content:\"\\f21c\";}.bi-camera-video-off-fill::before{content:\"\\f21d\";}.bi-camera-video-off::before{content:\"\\f21e\";}.bi-camera-video::before{content:\"\\f21f\";}.bi-camera::before{content:\"\\f220\";}.bi-camera2::before{content:\"\\f221\";}.bi-capslock-fill::before{content:\"\\f222\";}.bi-capslock::before{content:\"\\f223\";}.bi-card-checklist::before{content:\"\\f224\";}.bi-card-heading::before{content:\"\\f225\";}.bi-card-image::before{content:\"\\f226\";}.bi-card-list::before{content:\"\\f227\";}.bi-card-text::before{content:\"\\f228\";}.bi-caret-down-fill::before{content:\"\\f229\";}.bi-caret-down-square-fill::before{content:\"\\f22a\";}.bi-caret-down-square::before{content:\"\\f22b\";}.bi-caret-down::before{content:\"\\f22c\";}.bi-caret-left-fill::before{content:\"\\f22d\";}.bi-caret-left-square-fill::before{content:\"\\f22e\";}.bi-caret-left-square::before{content:\"\\f22f\";}.bi-caret-left::before{content:\"\\f230\";}.bi-caret-right-fill::before{content:\"\\f231\";}.bi-caret-right-square-fill::before{content:\"\\f232\";}.bi-caret-right-square::before{content:\"\\f233\";}.bi-caret-right::before{content:\"\\f234\";}.bi-caret-up-fill::before{content:\"\\f235\";}.bi-caret-up-square-fill::before{content:\"\\f236\";}.bi-caret-up-square::before{content:\"\\f237\";}.bi-caret-up::before{content:\"\\f238\";}.bi-cart-check-fill::before{content:\"\\f239\";}.bi-cart-check::before{content:\"\\f23a\";}.bi-cart-dash-fill::before{content:\"\\f23b\";}.bi-cart-dash::before{content:\"\\f23c\";}.bi-cart-fill::before{content:\"\\f23d\";}.bi-cart-plus-fill::before{content:\"\\f23e\";}.bi-cart-plus::before{content:\"\\f23f\";}.bi-cart-x-fill::before{content:\"\\f240\";}.bi-cart-x::before{content:\"\\f241\";}.bi-cart::before{content:\"\\f242\";}.bi-cart2::before{content:\"\\f243\";}.bi-cart3::before{content:\"\\f244\";}.bi-cart4::before{content:\"\\f245\";}.bi-cash-stack::before{content:\"\\f246\";}.bi-cash::before{content:\"\\f247\";}.bi-cast::before{content:\"\\f248\";}.bi-chat-dots-fill::before{content:\"\\f249\";}.bi-chat-dots::before{content:\"\\f24a\";}.bi-chat-fill::before{content:\"\\f24b\";}.bi-chat-left-dots-fill::before{content:\"\\f24c\";}.bi-chat-left-dots::before{content:\"\\f24d\";}.bi-chat-left-fill::before{content:\"\\f24e\";}.bi-chat-left-quote-fill::before{content:\"\\f24f\";}.bi-chat-left-quote::before{content:\"\\f250\";}.bi-chat-left-text-fill::before{content:\"\\f251\";}.bi-chat-left-text::before{content:\"\\f252\";}.bi-chat-left::before{content:\"\\f253\";}.bi-chat-quote-fill::before{content:\"\\f254\";}.bi-chat-quote::before{content:\"\\f255\";}.bi-chat-right-dots-fill::before{content:\"\\f256\";}.bi-chat-right-dots::before{content:\"\\f257\";}.bi-chat-right-fill::before{content:\"\\f258\";}.bi-chat-right-quote-fill::before{content:\"\\f259\";}.bi-chat-right-quote::before{content:\"\\f25a\";}.bi-chat-right-text-fill::before{content:\"\\f25b\";}.bi-chat-right-text::before{content:\"\\f25c\";}.bi-chat-right::before{content:\"\\f25d\";}.bi-chat-square-dots-fill::before{content:\"\\f25e\";}.bi-chat-square-dots::before{content:\"\\f25f\";}.bi-chat-square-fill::before{content:\"\\f260\";}.bi-chat-square-quote-fill::before{content:\"\\f261\";}.bi-chat-square-quote::before{content:\"\\f262\";}.bi-chat-square-text-fill::before{content:\"\\f263\";}.bi-chat-square-text::before{content:\"\\f264\";}.bi-chat-square::before{content:\"\\f265\";}.bi-chat-text-fill::before{content:\"\\f266\";}.bi-chat-text::before{content:\"\\f267\";}.bi-chat::before{content:\"\\f268\";}.bi-check-all::before{content:\"\\f269\";}.bi-check-circle-fill::before{content:\"\\f26a\";}.bi-check-circle::before{content:\"\\f26b\";}.bi-check-square-fill::before{content:\"\\f26c\";}.bi-check-square::before{content:\"\\f26d\";}.bi-check::before{content:\"\\f26e\";}.bi-check2-all::before{content:\"\\f26f\";}.bi-check2-circle::before{content:\"\\f270\";}.bi-check2-square::before{content:\"\\f271\";}.bi-check2::before{content:\"\\f272\";}.bi-chevron-bar-contract::before{content:\"\\f273\";}.bi-chevron-bar-down::before{content:\"\\f274\";}.bi-chevron-bar-expand::before{content:\"\\f275\";}.bi-chevron-bar-left::before{content:\"\\f276\";}.bi-chevron-bar-right::before{content:\"\\f277\";}.bi-chevron-bar-up::before{content:\"\\f278\";}.bi-chevron-compact-down::before{content:\"\\f279\";}.bi-chevron-compact-left::before{content:\"\\f27a\";}.bi-chevron-compact-right::before{content:\"\\f27b\";}.bi-chevron-compact-up::before{content:\"\\f27c\";}.bi-chevron-contract::before{content:\"\\f27d\";}.bi-chevron-double-down::before{content:\"\\f27e\";}.bi-chevron-double-left::before{content:\"\\f27f\";}.bi-chevron-double-right::before{content:\"\\f280\";}.bi-chevron-double-up::before{content:\"\\f281\";}.bi-chevron-down::before{content:\"\\f282\";}.bi-chevron-expand::before{content:\"\\f283\";}.bi-chevron-left::before{content:\"\\f284\";}.bi-chevron-right::before{content:\"\\f285\";}.bi-chevron-up::before{content:\"\\f286\";}.bi-circle-fill::before{content:\"\\f287\";}.bi-circle-half::before{content:\"\\f288\";}.bi-circle-square::before{content:\"\\f289\";}.bi-circle::before{content:\"\\f28a\";}.bi-clipboard-check::before{content:\"\\f28b\";}.bi-clipboard-data::before{content:\"\\f28c\";}.bi-clipboard-minus::before{content:\"\\f28d\";}.bi-clipboard-plus::before{content:\"\\f28e\";}.bi-clipboard-x::before{content:\"\\f28f\";}.bi-clipboard::before{content:\"\\f290\";}.bi-clock-fill::before{content:\"\\f291\";}.bi-clock-history::before{content:\"\\f292\";}.bi-clock::before{content:\"\\f293\";}.bi-cloud-arrow-down-fill::before{content:\"\\f294\";}.bi-cloud-arrow-down::before{content:\"\\f295\";}.bi-cloud-arrow-up-fill::before{content:\"\\f296\";}.bi-cloud-arrow-up::before{content:\"\\f297\";}.bi-cloud-check-fill::before{content:\"\\f298\";}.bi-cloud-check::before{content:\"\\f299\";}.bi-cloud-download-fill::before{content:\"\\f29a\";}.bi-cloud-download::before{content:\"\\f29b\";}.bi-cloud-drizzle-fill::before{content:\"\\f29c\";}.bi-cloud-drizzle::before{content:\"\\f29d\";}.bi-cloud-fill::before{content:\"\\f29e\";}.bi-cloud-fog-fill::before{content:\"\\f29f\";}.bi-cloud-fog::before{content:\"\\f2a0\";}.bi-cloud-fog2-fill::before{content:\"\\f2a1\";}.bi-cloud-fog2::before{content:\"\\f2a2\";}.bi-cloud-hail-fill::before{content:\"\\f2a3\";}.bi-cloud-hail::before{content:\"\\f2a4\";}.bi-cloud-haze-1::before{content:\"\\f2a5\";}.bi-cloud-haze-fill::before{content:\"\\f2a6\";}.bi-cloud-haze::before{content:\"\\f2a7\";}.bi-cloud-haze2-fill::before{content:\"\\f2a8\";}.bi-cloud-lightning-fill::before{content:\"\\f2a9\";}.bi-cloud-lightning-rain-fill::before{content:\"\\f2aa\";}.bi-cloud-lightning-rain::before{content:\"\\f2ab\";}.bi-cloud-lightning::before{content:\"\\f2ac\";}.bi-cloud-minus-fill::before{content:\"\\f2ad\";}.bi-cloud-minus::before{content:\"\\f2ae\";}.bi-cloud-moon-fill::before{content:\"\\f2af\";}.bi-cloud-moon::before{content:\"\\f2b0\";}.bi-cloud-plus-fill::before{content:\"\\f2b1\";}.bi-cloud-plus::before{content:\"\\f2b2\";}.bi-cloud-rain-fill::before{content:\"\\f2b3\";}.bi-cloud-rain-heavy-fill::before{content:\"\\f2b4\";}.bi-cloud-rain-heavy::before{content:\"\\f2b5\";}.bi-cloud-rain::before{content:\"\\f2b6\";}.bi-cloud-slash-fill::before{content:\"\\f2b7\";}.bi-cloud-slash::before{content:\"\\f2b8\";}.bi-cloud-sleet-fill::before{content:\"\\f2b9\";}.bi-cloud-sleet::before{content:\"\\f2ba\";}.bi-cloud-snow-fill::before{content:\"\\f2bb\";}.bi-cloud-snow::before{content:\"\\f2bc\";}.bi-cloud-sun-fill::before{content:\"\\f2bd\";}.bi-cloud-sun::before{content:\"\\f2be\";}.bi-cloud-upload-fill::before{content:\"\\f2bf\";}.bi-cloud-upload::before{content:\"\\f2c0\";}.bi-cloud::before{content:\"\\f2c1\";}.bi-clouds-fill::before{content:\"\\f2c2\";}.bi-clouds::before{content:\"\\f2c3\";}.bi-cloudy-fill::before{content:\"\\f2c4\";}.bi-cloudy::before{content:\"\\f2c5\";}.bi-code-slash::before{content:\"\\f2c6\";}.bi-code-square::before{content:\"\\f2c7\";}.bi-code::before{content:\"\\f2c8\";}.bi-collection-fill::before{content:\"\\f2c9\";}.bi-collection-play-fill::before{content:\"\\f2ca\";}.bi-collection-play::before{content:\"\\f2cb\";}.bi-collection::before{content:\"\\f2cc\";}.bi-columns-gap::before{content:\"\\f2cd\";}.bi-columns::before{content:\"\\f2ce\";}.bi-command::before{content:\"\\f2cf\";}.bi-compass-fill::before{content:\"\\f2d0\";}.bi-compass::before{content:\"\\f2d1\";}.bi-cone-striped::before{content:\"\\f2d2\";}.bi-cone::before{content:\"\\f2d3\";}.bi-controller::before{content:\"\\f2d4\";}.bi-cpu-fill::before{content:\"\\f2d5\";}.bi-cpu::before{content:\"\\f2d6\";}.bi-credit-card-2-back-fill::before{content:\"\\f2d7\";}.bi-credit-card-2-back::before{content:\"\\f2d8\";}.bi-credit-card-2-front-fill::before{content:\"\\f2d9\";}.bi-credit-card-2-front::before{content:\"\\f2da\";}.bi-credit-card-fill::before{content:\"\\f2db\";}.bi-credit-card::before{content:\"\\f2dc\";}.bi-crop::before{content:\"\\f2dd\";}.bi-cup-fill::before{content:\"\\f2de\";}.bi-cup-straw::before{content:\"\\f2df\";}.bi-cup::before{content:\"\\f2e0\";}.bi-cursor-fill::before{content:\"\\f2e1\";}.bi-cursor-text::before{content:\"\\f2e2\";}.bi-cursor::before{content:\"\\f2e3\";}.bi-dash-circle-dotted::before{content:\"\\f2e4\";}.bi-dash-circle-fill::before{content:\"\\f2e5\";}.bi-dash-circle::before{content:\"\\f2e6\";}.bi-dash-square-dotted::before{content:\"\\f2e7\";}.bi-dash-square-fill::before{content:\"\\f2e8\";}.bi-dash-square::before{content:\"\\f2e9\";}.bi-dash::before{content:\"\\f2ea\";}.bi-diagram-2-fill::before{content:\"\\f2eb\";}.bi-diagram-2::before{content:\"\\f2ec\";}.bi-diagram-3-fill::before{content:\"\\f2ed\";}.bi-diagram-3::before{content:\"\\f2ee\";}.bi-diamond-fill::before{content:\"\\f2ef\";}.bi-diamond-half::before{content:\"\\f2f0\";}.bi-diamond::before{content:\"\\f2f1\";}.bi-dice-1-fill::before{content:\"\\f2f2\";}.bi-dice-1::before{content:\"\\f2f3\";}.bi-dice-2-fill::before{content:\"\\f2f4\";}.bi-dice-2::before{content:\"\\f2f5\";}.bi-dice-3-fill::before{content:\"\\f2f6\";}.bi-dice-3::before{content:\"\\f2f7\";}.bi-dice-4-fill::before{content:\"\\f2f8\";}.bi-dice-4::before{content:\"\\f2f9\";}.bi-dice-5-fill::before{content:\"\\f2fa\";}.bi-dice-5::before{content:\"\\f2fb\";}.bi-dice-6-fill::before{content:\"\\f2fc\";}.bi-dice-6::before{content:\"\\f2fd\";}.bi-disc-fill::before{content:\"\\f2fe\";}.bi-disc::before{content:\"\\f2ff\";}.bi-discord::before{content:\"\\f300\";}.bi-display-fill::before{content:\"\\f301\";}.bi-display::before{content:\"\\f302\";}.bi-distribute-horizontal::before{content:\"\\f303\";}.bi-distribute-vertical::before{content:\"\\f304\";}.bi-door-closed-fill::before{content:\"\\f305\";}.bi-door-closed::before{content:\"\\f306\";}.bi-door-open-fill::before{content:\"\\f307\";}.bi-door-open::before{content:\"\\f308\";}.bi-dot::before{content:\"\\f309\";}.bi-download::before{content:\"\\f30a\";}.bi-droplet-fill::before{content:\"\\f30b\";}.bi-droplet-half::before{content:\"\\f30c\";}.bi-droplet::before{content:\"\\f30d\";}.bi-earbuds::before{content:\"\\f30e\";}.bi-easel-fill::before{content:\"\\f30f\";}.bi-easel::before{content:\"\\f310\";}.bi-egg-fill::before{content:\"\\f311\";}.bi-egg-fried::before{content:\"\\f312\";}.bi-egg::before{content:\"\\f313\";}.bi-eject-fill::before{content:\"\\f314\";}.bi-eject::before{content:\"\\f315\";}.bi-emoji-angry-fill::before{content:\"\\f316\";}.bi-emoji-angry::before{content:\"\\f317\";}.bi-emoji-dizzy-fill::before{content:\"\\f318\";}.bi-emoji-dizzy::before{content:\"\\f319\";}.bi-emoji-expressionless-fill::before{content:\"\\f31a\";}.bi-emoji-expressionless::before{content:\"\\f31b\";}.bi-emoji-frown-fill::before{content:\"\\f31c\";}.bi-emoji-frown::before{content:\"\\f31d\";}.bi-emoji-heart-eyes-fill::before{content:\"\\f31e\";}.bi-emoji-heart-eyes::before{content:\"\\f31f\";}.bi-emoji-laughing-fill::before{content:\"\\f320\";}.bi-emoji-laughing::before{content:\"\\f321\";}.bi-emoji-neutral-fill::before{content:\"\\f322\";}.bi-emoji-neutral::before{content:\"\\f323\";}.bi-emoji-smile-fill::before{content:\"\\f324\";}.bi-emoji-smile-upside-down-fill::before{content:\"\\f325\";}.bi-emoji-smile-upside-down::before{content:\"\\f326\";}.bi-emoji-smile::before{content:\"\\f327\";}.bi-emoji-sunglasses-fill::before{content:\"\\f328\";}.bi-emoji-sunglasses::before{content:\"\\f329\";}.bi-emoji-wink-fill::before{content:\"\\f32a\";}.bi-emoji-wink::before{content:\"\\f32b\";}.bi-envelope-fill::before{content:\"\\f32c\";}.bi-envelope-open-fill::before{content:\"\\f32d\";}.bi-envelope-open::before{content:\"\\f32e\";}.bi-envelope::before{content:\"\\f32f\";}.bi-eraser-fill::before{content:\"\\f330\";}.bi-eraser::before{content:\"\\f331\";}.bi-exclamation-circle-fill::before{content:\"\\f332\";}.bi-exclamation-circle::before{content:\"\\f333\";}.bi-exclamation-diamond-fill::before{content:\"\\f334\";}.bi-exclamation-diamond::before{content:\"\\f335\";}.bi-exclamation-octagon-fill::before{content:\"\\f336\";}.bi-exclamation-octagon::before{content:\"\\f337\";}.bi-exclamation-square-fill::before{content:\"\\f338\";}.bi-exclamation-square::before{content:\"\\f339\";}.bi-exclamation-triangle-fill::before{content:\"\\f33a\";}.bi-exclamation-triangle::before{content:\"\\f33b\";}.bi-exclamation::before{content:\"\\f33c\";}.bi-exclude::before{content:\"\\f33d\";}.bi-eye-fill::before{content:\"\\f33e\";}.bi-eye-slash-fill::before{content:\"\\f33f\";}.bi-eye-slash::before{content:\"\\f340\";}.bi-eye::before{content:\"\\f341\";}.bi-eyedropper::before{content:\"\\f342\";}.bi-eyeglasses::before{content:\"\\f343\";}.bi-facebook::before{content:\"\\f344\";}.bi-file-arrow-down-fill::before{content:\"\\f345\";}.bi-file-arrow-down::before{content:\"\\f346\";}.bi-file-arrow-up-fill::before{content:\"\\f347\";}.bi-file-arrow-up::before{content:\"\\f348\";}.bi-file-bar-graph-fill::before{content:\"\\f349\";}.bi-file-bar-graph::before{content:\"\\f34a\";}.bi-file-binary-fill::before{content:\"\\f34b\";}.bi-file-binary::before{content:\"\\f34c\";}.bi-file-break-fill::before{content:\"\\f34d\";}.bi-file-break::before{content:\"\\f34e\";}.bi-file-check-fill::before{content:\"\\f34f\";}.bi-file-check::before{content:\"\\f350\";}.bi-file-code-fill::before{content:\"\\f351\";}.bi-file-code::before{content:\"\\f352\";}.bi-file-diff-fill::before{content:\"\\f353\";}.bi-file-diff::before{content:\"\\f354\";}.bi-file-earmark-arrow-down-fill::before{content:\"\\f355\";}.bi-file-earmark-arrow-down::before{content:\"\\f356\";}.bi-file-earmark-arrow-up-fill::before{content:\"\\f357\";}.bi-file-earmark-arrow-up::before{content:\"\\f358\";}.bi-file-earmark-bar-graph-fill::before{content:\"\\f359\";}.bi-file-earmark-bar-graph::before{content:\"\\f35a\";}.bi-file-earmark-binary-fill::before{content:\"\\f35b\";}.bi-file-earmark-binary::before{content:\"\\f35c\";}.bi-file-earmark-break-fill::before{content:\"\\f35d\";}.bi-file-earmark-break::before{content:\"\\f35e\";}.bi-file-earmark-check-fill::before{content:\"\\f35f\";}.bi-file-earmark-check::before{content:\"\\f360\";}.bi-file-earmark-code-fill::before{content:\"\\f361\";}.bi-file-earmark-code::before{content:\"\\f362\";}.bi-file-earmark-diff-fill::before{content:\"\\f363\";}.bi-file-earmark-diff::before{content:\"\\f364\";}.bi-file-earmark-easel-fill::before{content:\"\\f365\";}.bi-file-earmark-easel::before{content:\"\\f366\";}.bi-file-earmark-excel-fill::before{content:\"\\f367\";}.bi-file-earmark-excel::before{content:\"\\f368\";}.bi-file-earmark-fill::before{content:\"\\f369\";}.bi-file-earmark-font-fill::before{content:\"\\f36a\";}.bi-file-earmark-font::before{content:\"\\f36b\";}.bi-file-earmark-image-fill::before{content:\"\\f36c\";}.bi-file-earmark-image::before{content:\"\\f36d\";}.bi-file-earmark-lock-fill::before{content:\"\\f36e\";}.bi-file-earmark-lock::before{content:\"\\f36f\";}.bi-file-earmark-lock2-fill::before{content:\"\\f370\";}.bi-file-earmark-lock2::before{content:\"\\f371\";}.bi-file-earmark-medical-fill::before{content:\"\\f372\";}.bi-file-earmark-medical::before{content:\"\\f373\";}.bi-file-earmark-minus-fill::before{content:\"\\f374\";}.bi-file-earmark-minus::before{content:\"\\f375\";}.bi-file-earmark-music-fill::before{content:\"\\f376\";}.bi-file-earmark-music::before{content:\"\\f377\";}.bi-file-earmark-person-fill::before{content:\"\\f378\";}.bi-file-earmark-person::before{content:\"\\f379\";}.bi-file-earmark-play-fill::before{content:\"\\f37a\";}.bi-file-earmark-play::before{content:\"\\f37b\";}.bi-file-earmark-plus-fill::before{content:\"\\f37c\";}.bi-file-earmark-plus::before{content:\"\\f37d\";}.bi-file-earmark-post-fill::before{content:\"\\f37e\";}.bi-file-earmark-post::before{content:\"\\f37f\";}.bi-file-earmark-ppt-fill::before{content:\"\\f380\";}.bi-file-earmark-ppt::before{content:\"\\f381\";}.bi-file-earmark-richtext-fill::before{content:\"\\f382\";}.bi-file-earmark-richtext::before{content:\"\\f383\";}.bi-file-earmark-ruled-fill::before{content:\"\\f384\";}.bi-file-earmark-ruled::before{content:\"\\f385\";}.bi-file-earmark-slides-fill::before{content:\"\\f386\";}.bi-file-earmark-slides::before{content:\"\\f387\";}.bi-file-earmark-spreadsheet-fill::before{content:\"\\f388\";}.bi-file-earmark-spreadsheet::before{content:\"\\f389\";}.bi-file-earmark-text-fill::before{content:\"\\f38a\";}.bi-file-earmark-text::before{content:\"\\f38b\";}.bi-file-earmark-word-fill::before{content:\"\\f38c\";}.bi-file-earmark-word::before{content:\"\\f38d\";}.bi-file-earmark-x-fill::before{content:\"\\f38e\";}.bi-file-earmark-x::before{content:\"\\f38f\";}.bi-file-earmark-zip-fill::before{content:\"\\f390\";}.bi-file-earmark-zip::before{content:\"\\f391\";}.bi-file-earmark::before{content:\"\\f392\";}.bi-file-easel-fill::before{content:\"\\f393\";}.bi-file-easel::before{content:\"\\f394\";}.bi-file-excel-fill::before{content:\"\\f395\";}.bi-file-excel::before{content:\"\\f396\";}.bi-file-fill::before{content:\"\\f397\";}.bi-file-font-fill::before{content:\"\\f398\";}.bi-file-font::before{content:\"\\f399\";}.bi-file-image-fill::before{content:\"\\f39a\";}.bi-file-image::before{content:\"\\f39b\";}.bi-file-lock-fill::before{content:\"\\f39c\";}.bi-file-lock::before{content:\"\\f39d\";}.bi-file-lock2-fill::before{content:\"\\f39e\";}.bi-file-lock2::before{content:\"\\f39f\";}.bi-file-medical-fill::before{content:\"\\f3a0\";}.bi-file-medical::before{content:\"\\f3a1\";}.bi-file-minus-fill::before{content:\"\\f3a2\";}.bi-file-minus::before{content:\"\\f3a3\";}.bi-file-music-fill::before{content:\"\\f3a4\";}.bi-file-music::before{content:\"\\f3a5\";}.bi-file-person-fill::before{content:\"\\f3a6\";}.bi-file-person::before{content:\"\\f3a7\";}.bi-file-play-fill::before{content:\"\\f3a8\";}.bi-file-play::before{content:\"\\f3a9\";}.bi-file-plus-fill::before{content:\"\\f3aa\";}.bi-file-plus::before{content:\"\\f3ab\";}.bi-file-post-fill::before{content:\"\\f3ac\";}.bi-file-post::before{content:\"\\f3ad\";}.bi-file-ppt-fill::before{content:\"\\f3ae\";}.bi-file-ppt::before{content:\"\\f3af\";}.bi-file-richtext-fill::before{content:\"\\f3b0\";}.bi-file-richtext::before{content:\"\\f3b1\";}.bi-file-ruled-fill::before{content:\"\\f3b2\";}.bi-file-ruled::before{content:\"\\f3b3\";}.bi-file-slides-fill::before{content:\"\\f3b4\";}.bi-file-slides::before{content:\"\\f3b5\";}.bi-file-spreadsheet-fill::before{content:\"\\f3b6\";}.bi-file-spreadsheet::before{content:\"\\f3b7\";}.bi-file-text-fill::before{content:\"\\f3b8\";}.bi-file-text::before{content:\"\\f3b9\";}.bi-file-word-fill::before{content:\"\\f3ba\";}.bi-file-word::before{content:\"\\f3bb\";}.bi-file-x-fill::before{content:\"\\f3bc\";}.bi-file-x::before{content:\"\\f3bd\";}.bi-file-zip-fill::before{content:\"\\f3be\";}.bi-file-zip::before{content:\"\\f3bf\";}.bi-file::before{content:\"\\f3c0\";}.bi-files-alt::before{content:\"\\f3c1\";}.bi-files::before{content:\"\\f3c2\";}.bi-film::before{content:\"\\f3c3\";}.bi-filter-circle-fill::before{content:\"\\f3c4\";}.bi-filter-circle::before{content:\"\\f3c5\";}.bi-filter-left::before{content:\"\\f3c6\";}.bi-filter-right::before{content:\"\\f3c7\";}.bi-filter-square-fill::before{content:\"\\f3c8\";}.bi-filter-square::before{content:\"\\f3c9\";}.bi-filter::before{content:\"\\f3ca\";}.bi-flag-fill::before{content:\"\\f3cb\";}.bi-flag::before{content:\"\\f3cc\";}.bi-flower1::before{content:\"\\f3cd\";}.bi-flower2::before{content:\"\\f3ce\";}.bi-flower3::before{content:\"\\f3cf\";}.bi-folder-check::before{content:\"\\f3d0\";}.bi-folder-fill::before{content:\"\\f3d1\";}.bi-folder-minus::before{content:\"\\f3d2\";}.bi-folder-plus::before{content:\"\\f3d3\";}.bi-folder-symlink-fill::before{content:\"\\f3d4\";}.bi-folder-symlink::before{content:\"\\f3d5\";}.bi-folder-x::before{content:\"\\f3d6\";}.bi-folder::before{content:\"\\f3d7\";}.bi-folder2-open::before{content:\"\\f3d8\";}.bi-folder2::before{content:\"\\f3d9\";}.bi-fonts::before{content:\"\\f3da\";}.bi-forward-fill::before{content:\"\\f3db\";}.bi-forward::before{content:\"\\f3dc\";}.bi-front::before{content:\"\\f3dd\";}.bi-fullscreen-exit::before{content:\"\\f3de\";}.bi-fullscreen::before{content:\"\\f3df\";}.bi-funnel-fill::before{content:\"\\f3e0\";}.bi-funnel::before{content:\"\\f3e1\";}.bi-gear-fill::before{content:\"\\f3e2\";}.bi-gear-wide-connected::before{content:\"\\f3e3\";}.bi-gear-wide::before{content:\"\\f3e4\";}.bi-gear::before{content:\"\\f3e5\";}.bi-gem::before{content:\"\\f3e6\";}.bi-geo-alt-fill::before{content:\"\\f3e7\";}.bi-geo-alt::before{content:\"\\f3e8\";}.bi-geo-fill::before{content:\"\\f3e9\";}.bi-geo::before{content:\"\\f3ea\";}.bi-gift-fill::before{content:\"\\f3eb\";}.bi-gift::before{content:\"\\f3ec\";}.bi-github::before{content:\"\\f3ed\";}.bi-globe::before{content:\"\\f3ee\";}.bi-globe2::before{content:\"\\f3ef\";}.bi-google::before{content:\"\\f3f0\";}.bi-graph-down::before{content:\"\\f3f1\";}.bi-graph-up::before{content:\"\\f3f2\";}.bi-grid-1x2-fill::before{content:\"\\f3f3\";}.bi-grid-1x2::before{content:\"\\f3f4\";}.bi-grid-3x2-gap-fill::before{content:\"\\f3f5\";}.bi-grid-3x2-gap::before{content:\"\\f3f6\";}.bi-grid-3x2::before{content:\"\\f3f7\";}.bi-grid-3x3-gap-fill::before{content:\"\\f3f8\";}.bi-grid-3x3-gap::before{content:\"\\f3f9\";}.bi-grid-3x3::before{content:\"\\f3fa\";}.bi-grid-fill::before{content:\"\\f3fb\";}.bi-grid::before{content:\"\\f3fc\";}.bi-grip-horizontal::before{content:\"\\f3fd\";}.bi-grip-vertical::before{content:\"\\f3fe\";}.bi-hammer::before{content:\"\\f3ff\";}.bi-hand-index-fill::before{content:\"\\f400\";}.bi-hand-index-thumb-fill::before{content:\"\\f401\";}.bi-hand-index-thumb::before{content:\"\\f402\";}.bi-hand-index::before{content:\"\\f403\";}.bi-hand-thumbs-down-fill::before{content:\"\\f404\";}.bi-hand-thumbs-down::before{content:\"\\f405\";}.bi-hand-thumbs-up-fill::before{content:\"\\f406\";}.bi-hand-thumbs-up::before{content:\"\\f407\";}.bi-handbag-fill::before{content:\"\\f408\";}.bi-handbag::before{content:\"\\f409\";}.bi-hash::before{content:\"\\f40a\";}.bi-hdd-fill::before{content:\"\\f40b\";}.bi-hdd-network-fill::before{content:\"\\f40c\";}.bi-hdd-network::before{content:\"\\f40d\";}.bi-hdd-rack-fill::before{content:\"\\f40e\";}.bi-hdd-rack::before{content:\"\\f40f\";}.bi-hdd-stack-fill::before{content:\"\\f410\";}.bi-hdd-stack::before{content:\"\\f411\";}.bi-hdd::before{content:\"\\f412\";}.bi-headphones::before{content:\"\\f413\";}.bi-headset::before{content:\"\\f414\";}.bi-heart-fill::before{content:\"\\f415\";}.bi-heart-half::before{content:\"\\f416\";}.bi-heart::before{content:\"\\f417\";}.bi-heptagon-fill::before{content:\"\\f418\";}.bi-heptagon-half::before{content:\"\\f419\";}.bi-heptagon::before{content:\"\\f41a\";}.bi-hexagon-fill::before{content:\"\\f41b\";}.bi-hexagon-half::before{content:\"\\f41c\";}.bi-hexagon::before{content:\"\\f41d\";}.bi-hourglass-bottom::before{content:\"\\f41e\";}.bi-hourglass-split::before{content:\"\\f41f\";}.bi-hourglass-top::before{content:\"\\f420\";}.bi-hourglass::before{content:\"\\f421\";}.bi-house-door-fill::before{content:\"\\f422\";}.bi-house-door::before{content:\"\\f423\";}.bi-house-fill::before{content:\"\\f424\";}.bi-house::before{content:\"\\f425\";}.bi-hr::before{content:\"\\f426\";}.bi-hurricane::before{content:\"\\f427\";}.bi-image-alt::before{content:\"\\f428\";}.bi-image-fill::before{content:\"\\f429\";}.bi-image::before{content:\"\\f42a\";}.bi-images::before{content:\"\\f42b\";}.bi-inbox-fill::before{content:\"\\f42c\";}.bi-inbox::before{content:\"\\f42d\";}.bi-inboxes-fill::before{content:\"\\f42e\";}.bi-inboxes::before{content:\"\\f42f\";}.bi-info-circle-fill::before{content:\"\\f430\";}.bi-info-circle::before{content:\"\\f431\";}.bi-info-square-fill::before{content:\"\\f432\";}.bi-info-square::before{content:\"\\f433\";}.bi-info::before{content:\"\\f434\";}.bi-input-cursor-text::before{content:\"\\f435\";}.bi-input-cursor::before{content:\"\\f436\";}.bi-instagram::before{content:\"\\f437\";}.bi-intersect::before{content:\"\\f438\";}.bi-journal-album::before{content:\"\\f439\";}.bi-journal-arrow-down::before{content:\"\\f43a\";}.bi-journal-arrow-up::before{content:\"\\f43b\";}.bi-journal-bookmark-fill::before{content:\"\\f43c\";}.bi-journal-bookmark::before{content:\"\\f43d\";}.bi-journal-check::before{content:\"\\f43e\";}.bi-journal-code::before{content:\"\\f43f\";}.bi-journal-medical::before{content:\"\\f440\";}.bi-journal-minus::before{content:\"\\f441\";}.bi-journal-plus::before{content:\"\\f442\";}.bi-journal-richtext::before{content:\"\\f443\";}.bi-journal-text::before{content:\"\\f444\";}.bi-journal-x::before{content:\"\\f445\";}.bi-journal::before{content:\"\\f446\";}.bi-journals::before{content:\"\\f447\";}.bi-joystick::before{content:\"\\f448\";}.bi-justify-left::before{content:\"\\f449\";}.bi-justify-right::before{content:\"\\f44a\";}.bi-justify::before{content:\"\\f44b\";}.bi-kanban-fill::before{content:\"\\f44c\";}.bi-kanban::before{content:\"\\f44d\";}.bi-key-fill::before{content:\"\\f44e\";}.bi-key::before{content:\"\\f44f\";}.bi-keyboard-fill::before{content:\"\\f450\";}.bi-keyboard::before{content:\"\\f451\";}.bi-ladder::before{content:\"\\f452\";}.bi-lamp-fill::before{content:\"\\f453\";}.bi-lamp::before{content:\"\\f454\";}.bi-laptop-fill::before{content:\"\\f455\";}.bi-laptop::before{content:\"\\f456\";}.bi-layer-backward::before{content:\"\\f457\";}.bi-layer-forward::before{content:\"\\f458\";}.bi-layers-fill::before{content:\"\\f459\";}.bi-layers-half::before{content:\"\\f45a\";}.bi-layers::before{content:\"\\f45b\";}.bi-layout-sidebar-inset-reverse::before{content:\"\\f45c\";}.bi-layout-sidebar-inset::before{content:\"\\f45d\";}.bi-layout-sidebar-reverse::before{content:\"\\f45e\";}.bi-layout-sidebar::before{content:\"\\f45f\";}.bi-layout-split::before{content:\"\\f460\";}.bi-layout-text-sidebar-reverse::before{content:\"\\f461\";}.bi-layout-text-sidebar::before{content:\"\\f462\";}.bi-layout-text-window-reverse::before{content:\"\\f463\";}.bi-layout-text-window::before{content:\"\\f464\";}.bi-layout-three-columns::before{content:\"\\f465\";}.bi-layout-wtf::before{content:\"\\f466\";}.bi-life-preserver::before{content:\"\\f467\";}.bi-lightbulb-fill::before{content:\"\\f468\";}.bi-lightbulb-off-fill::before{content:\"\\f469\";}.bi-lightbulb-off::before{content:\"\\f46a\";}.bi-lightbulb::before{content:\"\\f46b\";}.bi-lightning-charge-fill::before{content:\"\\f46c\";}.bi-lightning-charge::before{content:\"\\f46d\";}.bi-lightning-fill::before{content:\"\\f46e\";}.bi-lightning::before{content:\"\\f46f\";}.bi-link-45deg::before{content:\"\\f470\";}.bi-link::before{content:\"\\f471\";}.bi-linkedin::before{content:\"\\f472\";}.bi-list-check::before{content:\"\\f473\";}.bi-list-nested::before{content:\"\\f474\";}.bi-list-ol::before{content:\"\\f475\";}.bi-list-stars::before{content:\"\\f476\";}.bi-list-task::before{content:\"\\f477\";}.bi-list-ul::before{content:\"\\f478\";}.bi-list::before{content:\"\\f479\";}.bi-lock-fill::before{content:\"\\f47a\";}.bi-lock::before{content:\"\\f47b\";}.bi-mailbox::before{content:\"\\f47c\";}.bi-mailbox2::before{content:\"\\f47d\";}.bi-map-fill::before{content:\"\\f47e\";}.bi-map::before{content:\"\\f47f\";}.bi-markdown-fill::before{content:\"\\f480\";}.bi-markdown::before{content:\"\\f481\";}.bi-mask::before{content:\"\\f482\";}.bi-megaphone-fill::before{content:\"\\f483\";}.bi-megaphone::before{content:\"\\f484\";}.bi-menu-app-fill::before{content:\"\\f485\";}.bi-menu-app::before{content:\"\\f486\";}.bi-menu-button-fill::before{content:\"\\f487\";}.bi-menu-button-wide-fill::before{content:\"\\f488\";}.bi-menu-button-wide::before{content:\"\\f489\";}.bi-menu-button::before{content:\"\\f48a\";}.bi-menu-down::before{content:\"\\f48b\";}.bi-menu-up::before{content:\"\\f48c\";}.bi-mic-fill::before{content:\"\\f48d\";}.bi-mic-mute-fill::before{content:\"\\f48e\";}.bi-mic-mute::before{content:\"\\f48f\";}.bi-mic::before{content:\"\\f490\";}.bi-minecart-loaded::before{content:\"\\f491\";}.bi-minecart::before{content:\"\\f492\";}.bi-moisture::before{content:\"\\f493\";}.bi-moon-fill::before{content:\"\\f494\";}.bi-moon-stars-fill::before{content:\"\\f495\";}.bi-moon-stars::before{content:\"\\f496\";}.bi-moon::before{content:\"\\f497\";}.bi-mouse-fill::before{content:\"\\f498\";}.bi-mouse::before{content:\"\\f499\";}.bi-mouse2-fill::before{content:\"\\f49a\";}.bi-mouse2::before{content:\"\\f49b\";}.bi-mouse3-fill::before{content:\"\\f49c\";}.bi-mouse3::before{content:\"\\f49d\";}.bi-music-note-beamed::before{content:\"\\f49e\";}.bi-music-note-list::before{content:\"\\f49f\";}.bi-music-note::before{content:\"\\f4a0\";}.bi-music-player-fill::before{content:\"\\f4a1\";}.bi-music-player::before{content:\"\\f4a2\";}.bi-newspaper::before{content:\"\\f4a3\";}.bi-node-minus-fill::before{content:\"\\f4a4\";}.bi-node-minus::before{content:\"\\f4a5\";}.bi-node-plus-fill::before{content:\"\\f4a6\";}.bi-node-plus::before{content:\"\\f4a7\";}.bi-nut-fill::before{content:\"\\f4a8\";}.bi-nut::before{content:\"\\f4a9\";}.bi-octagon-fill::before{content:\"\\f4aa\";}.bi-octagon-half::before{content:\"\\f4ab\";}.bi-octagon::before{content:\"\\f4ac\";}.bi-option::before{content:\"\\f4ad\";}.bi-outlet::before{content:\"\\f4ae\";}.bi-paint-bucket::before{content:\"\\f4af\";}.bi-palette-fill::before{content:\"\\f4b0\";}.bi-palette::before{content:\"\\f4b1\";}.bi-palette2::before{content:\"\\f4b2\";}.bi-paperclip::before{content:\"\\f4b3\";}.bi-paragraph::before{content:\"\\f4b4\";}.bi-patch-check-fill::before{content:\"\\f4b5\";}.bi-patch-check::before{content:\"\\f4b6\";}.bi-patch-exclamation-fill::before{content:\"\\f4b7\";}.bi-patch-exclamation::before{content:\"\\f4b8\";}.bi-patch-minus-fill::before{content:\"\\f4b9\";}.bi-patch-minus::before{content:\"\\f4ba\";}.bi-patch-plus-fill::before{content:\"\\f4bb\";}.bi-patch-plus::before{content:\"\\f4bc\";}.bi-patch-question-fill::before{content:\"\\f4bd\";}.bi-patch-question::before{content:\"\\f4be\";}.bi-pause-btn-fill::before{content:\"\\f4bf\";}.bi-pause-btn::before{content:\"\\f4c0\";}.bi-pause-circle-fill::before{content:\"\\f4c1\";}.bi-pause-circle::before{content:\"\\f4c2\";}.bi-pause-fill::before{content:\"\\f4c3\";}.bi-pause::before{content:\"\\f4c4\";}.bi-peace-fill::before{content:\"\\f4c5\";}.bi-peace::before{content:\"\\f4c6\";}.bi-pen-fill::before{content:\"\\f4c7\";}.bi-pen::before{content:\"\\f4c8\";}.bi-pencil-fill::before{content:\"\\f4c9\";}.bi-pencil-square::before{content:\"\\f4ca\";}.bi-pencil::before{content:\"\\f4cb\";}.bi-pentagon-fill::before{content:\"\\f4cc\";}.bi-pentagon-half::before{content:\"\\f4cd\";}.bi-pentagon::before{content:\"\\f4ce\";}.bi-people-fill::before{content:\"\\f4cf\";}.bi-people::before{content:\"\\f4d0\";}.bi-percent::before{content:\"\\f4d1\";}.bi-person-badge-fill::before{content:\"\\f4d2\";}.bi-person-badge::before{content:\"\\f4d3\";}.bi-person-bounding-box::before{content:\"\\f4d4\";}.bi-person-check-fill::before{content:\"\\f4d5\";}.bi-person-check::before{content:\"\\f4d6\";}.bi-person-circle::before{content:\"\\f4d7\";}.bi-person-dash-fill::before{content:\"\\f4d8\";}.bi-person-dash::before{content:\"\\f4d9\";}.bi-person-fill::before{content:\"\\f4da\";}.bi-person-lines-fill::before{content:\"\\f4db\";}.bi-person-plus-fill::before{content:\"\\f4dc\";}.bi-person-plus::before{content:\"\\f4dd\";}.bi-person-square::before{content:\"\\f4de\";}.bi-person-x-fill::before{content:\"\\f4df\";}.bi-person-x::before{content:\"\\f4e0\";}.bi-person::before{content:\"\\f4e1\";}.bi-phone-fill::before{content:\"\\f4e2\";}.bi-phone-landscape-fill::before{content:\"\\f4e3\";}.bi-phone-landscape::before{content:\"\\f4e4\";}.bi-phone-vibrate-fill::before{content:\"\\f4e5\";}.bi-phone-vibrate::before{content:\"\\f4e6\";}.bi-phone::before{content:\"\\f4e7\";}.bi-pie-chart-fill::before{content:\"\\f4e8\";}.bi-pie-chart::before{content:\"\\f4e9\";}.bi-pin-angle-fill::before{content:\"\\f4ea\";}.bi-pin-angle::before{content:\"\\f4eb\";}.bi-pin-fill::before{content:\"\\f4ec\";}.bi-pin::before{content:\"\\f4ed\";}.bi-pip-fill::before{content:\"\\f4ee\";}.bi-pip::before{content:\"\\f4ef\";}.bi-play-btn-fill::before{content:\"\\f4f0\";}.bi-play-btn::before{content:\"\\f4f1\";}.bi-play-circle-fill::before{content:\"\\f4f2\";}.bi-play-circle::before{content:\"\\f4f3\";}.bi-play-fill::before{content:\"\\f4f4\";}.bi-play::before{content:\"\\f4f5\";}.bi-plug-fill::before{content:\"\\f4f6\";}.bi-plug::before{content:\"\\f4f7\";}.bi-plus-circle-dotted::before{content:\"\\f4f8\";}.bi-plus-circle-fill::before{content:\"\\f4f9\";}.bi-plus-circle::before{content:\"\\f4fa\";}.bi-plus-square-dotted::before{content:\"\\f4fb\";}.bi-plus-square-fill::before{content:\"\\f4fc\";}.bi-plus-square::before{content:\"\\f4fd\";}.bi-plus::before{content:\"\\f4fe\";}.bi-power::before{content:\"\\f4ff\";}.bi-printer-fill::before{content:\"\\f500\";}.bi-printer::before{content:\"\\f501\";}.bi-puzzle-fill::before{content:\"\\f502\";}.bi-puzzle::before{content:\"\\f503\";}.bi-question-circle-fill::before{content:\"\\f504\";}.bi-question-circle::before{content:\"\\f505\";}.bi-question-diamond-fill::before{content:\"\\f506\";}.bi-question-diamond::before{content:\"\\f507\";}.bi-question-octagon-fill::before{content:\"\\f508\";}.bi-question-octagon::before{content:\"\\f509\";}.bi-question-square-fill::before{content:\"\\f50a\";}.bi-question-square::before{content:\"\\f50b\";}.bi-question::before{content:\"\\f50c\";}.bi-rainbow::before{content:\"\\f50d\";}.bi-receipt-cutoff::before{content:\"\\f50e\";}.bi-receipt::before{content:\"\\f50f\";}.bi-reception-0::before{content:\"\\f510\";}.bi-reception-1::before{content:\"\\f511\";}.bi-reception-2::before{content:\"\\f512\";}.bi-reception-3::before{content:\"\\f513\";}.bi-reception-4::before{content:\"\\f514\";}.bi-record-btn-fill::before{content:\"\\f515\";}.bi-record-btn::before{content:\"\\f516\";}.bi-record-circle-fill::before{content:\"\\f517\";}.bi-record-circle::before{content:\"\\f518\";}.bi-record-fill::before{content:\"\\f519\";}.bi-record::before{content:\"\\f51a\";}.bi-record2-fill::before{content:\"\\f51b\";}.bi-record2::before{content:\"\\f51c\";}.bi-reply-all-fill::before{content:\"\\f51d\";}.bi-reply-all::before{content:\"\\f51e\";}.bi-reply-fill::before{content:\"\\f51f\";}.bi-reply::before{content:\"\\f520\";}.bi-rss-fill::before{content:\"\\f521\";}.bi-rss::before{content:\"\\f522\";}.bi-rulers::before{content:\"\\f523\";}.bi-save-fill::before{content:\"\\f524\";}.bi-save::before{content:\"\\f525\";}.bi-save2-fill::before{content:\"\\f526\";}.bi-save2::before{content:\"\\f527\";}.bi-scissors::before{content:\"\\f528\";}.bi-screwdriver::before{content:\"\\f529\";}.bi-search::before{content:\"\\f52a\";}.bi-segmented-nav::before{content:\"\\f52b\";}.bi-server::before{content:\"\\f52c\";}.bi-share-fill::before{content:\"\\f52d\";}.bi-share::before{content:\"\\f52e\";}.bi-shield-check::before{content:\"\\f52f\";}.bi-shield-exclamation::before{content:\"\\f530\";}.bi-shield-fill-check::before{content:\"\\f531\";}.bi-shield-fill-exclamation::before{content:\"\\f532\";}.bi-shield-fill-minus::before{content:\"\\f533\";}.bi-shield-fill-plus::before{content:\"\\f534\";}.bi-shield-fill-x::before{content:\"\\f535\";}.bi-shield-fill::before{content:\"\\f536\";}.bi-shield-lock-fill::before{content:\"\\f537\";}.bi-shield-lock::before{content:\"\\f538\";}.bi-shield-minus::before{content:\"\\f539\";}.bi-shield-plus::before{content:\"\\f53a\";}.bi-shield-shaded::before{content:\"\\f53b\";}.bi-shield-slash-fill::before{content:\"\\f53c\";}.bi-shield-slash::before{content:\"\\f53d\";}.bi-shield-x::before{content:\"\\f53e\";}.bi-shield::before{content:\"\\f53f\";}.bi-shift-fill::before{content:\"\\f540\";}.bi-shift::before{content:\"\\f541\";}.bi-shop-window::before{content:\"\\f542\";}.bi-shop::before{content:\"\\f543\";}.bi-shuffle::before{content:\"\\f544\";}.bi-signpost-2-fill::before{content:\"\\f545\";}.bi-signpost-2::before{content:\"\\f546\";}.bi-signpost-fill::before{content:\"\\f547\";}.bi-signpost-split-fill::before{content:\"\\f548\";}.bi-signpost-split::before{content:\"\\f549\";}.bi-signpost::before{content:\"\\f54a\";}.bi-sim-fill::before{content:\"\\f54b\";}.bi-sim::before{content:\"\\f54c\";}.bi-skip-backward-btn-fill::before{content:\"\\f54d\";}.bi-skip-backward-btn::before{content:\"\\f54e\";}.bi-skip-backward-circle-fill::before{content:\"\\f54f\";}.bi-skip-backward-circle::before{content:\"\\f550\";}.bi-skip-backward-fill::before{content:\"\\f551\";}.bi-skip-backward::before{content:\"\\f552\";}.bi-skip-end-btn-fill::before{content:\"\\f553\";}.bi-skip-end-btn::before{content:\"\\f554\";}.bi-skip-end-circle-fill::before{content:\"\\f555\";}.bi-skip-end-circle::before{content:\"\\f556\";}.bi-skip-end-fill::before{content:\"\\f557\";}.bi-skip-end::before{content:\"\\f558\";}.bi-skip-forward-btn-fill::before{content:\"\\f559\";}.bi-skip-forward-btn::before{content:\"\\f55a\";}.bi-skip-forward-circle-fill::before{content:\"\\f55b\";}.bi-skip-forward-circle::before{content:\"\\f55c\";}.bi-skip-forward-fill::before{content:\"\\f55d\";}.bi-skip-forward::before{content:\"\\f55e\";}.bi-skip-start-btn-fill::before{content:\"\\f55f\";}.bi-skip-start-btn::before{content:\"\\f560\";}.bi-skip-start-circle-fill::before{content:\"\\f561\";}.bi-skip-start-circle::before{content:\"\\f562\";}.bi-skip-start-fill::before{content:\"\\f563\";}.bi-skip-start::before{content:\"\\f564\";}.bi-slack::before{content:\"\\f565\";}.bi-slash-circle-fill::before{content:\"\\f566\";}.bi-slash-circle::before{content:\"\\f567\";}.bi-slash-square-fill::before{content:\"\\f568\";}.bi-slash-square::before{content:\"\\f569\";}.bi-slash::before{content:\"\\f56a\";}.bi-sliders::before{content:\"\\f56b\";}.bi-smartwatch::before{content:\"\\f56c\";}.bi-snow::before{content:\"\\f56d\";}.bi-snow2::before{content:\"\\f56e\";}.bi-snow3::before{content:\"\\f56f\";}.bi-sort-alpha-down-alt::before{content:\"\\f570\";}.bi-sort-alpha-down::before{content:\"\\f571\";}.bi-sort-alpha-up-alt::before{content:\"\\f572\";}.bi-sort-alpha-up::before{content:\"\\f573\";}.bi-sort-down-alt::before{content:\"\\f574\";}.bi-sort-down::before{content:\"\\f575\";}.bi-sort-numeric-down-alt::before{content:\"\\f576\";}.bi-sort-numeric-down::before{content:\"\\f577\";}.bi-sort-numeric-up-alt::before{content:\"\\f578\";}.bi-sort-numeric-up::before{content:\"\\f579\";}.bi-sort-up-alt::before{content:\"\\f57a\";}.bi-sort-up::before{content:\"\\f57b\";}.bi-soundwave::before{content:\"\\f57c\";}.bi-speaker-fill::before{content:\"\\f57d\";}.bi-speaker::before{content:\"\\f57e\";}.bi-speedometer::before{content:\"\\f57f\";}.bi-speedometer2::before{content:\"\\f580\";}.bi-spellcheck::before{content:\"\\f581\";}.bi-square-fill::before{content:\"\\f582\";}.bi-square-half::before{content:\"\\f583\";}.bi-square::before{content:\"\\f584\";}.bi-stack::before{content:\"\\f585\";}.bi-star-fill::before{content:\"\\f586\";}.bi-star-half::before{content:\"\\f587\";}.bi-star::before{content:\"\\f588\";}.bi-stars::before{content:\"\\f589\";}.bi-stickies-fill::before{content:\"\\f58a\";}.bi-stickies::before{content:\"\\f58b\";}.bi-sticky-fill::before{content:\"\\f58c\";}.bi-sticky::before{content:\"\\f58d\";}.bi-stop-btn-fill::before{content:\"\\f58e\";}.bi-stop-btn::before{content:\"\\f58f\";}.bi-stop-circle-fill::before{content:\"\\f590\";}.bi-stop-circle::before{content:\"\\f591\";}.bi-stop-fill::before{content:\"\\f592\";}.bi-stop::before{content:\"\\f593\";}.bi-stoplights-fill::before{content:\"\\f594\";}.bi-stoplights::before{content:\"\\f595\";}.bi-stopwatch-fill::before{content:\"\\f596\";}.bi-stopwatch::before{content:\"\\f597\";}.bi-subtract::before{content:\"\\f598\";}.bi-suit-club-fill::before{content:\"\\f599\";}.bi-suit-club::before{content:\"\\f59a\";}.bi-suit-diamond-fill::before{content:\"\\f59b\";}.bi-suit-diamond::before{content:\"\\f59c\";}.bi-suit-heart-fill::before{content:\"\\f59d\";}.bi-suit-heart::before{content:\"\\f59e\";}.bi-suit-spade-fill::before{content:\"\\f59f\";}.bi-suit-spade::before{content:\"\\f5a0\";}.bi-sun-fill::before{content:\"\\f5a1\";}.bi-sun::before{content:\"\\f5a2\";}.bi-sunglasses::before{content:\"\\f5a3\";}.bi-sunrise-fill::before{content:\"\\f5a4\";}.bi-sunrise::before{content:\"\\f5a5\";}.bi-sunset-fill::before{content:\"\\f5a6\";}.bi-sunset::before{content:\"\\f5a7\";}.bi-symmetry-horizontal::before{content:\"\\f5a8\";}.bi-symmetry-vertical::before{content:\"\\f5a9\";}.bi-table::before{content:\"\\f5aa\";}.bi-tablet-fill::before{content:\"\\f5ab\";}.bi-tablet-landscape-fill::before{content:\"\\f5ac\";}.bi-tablet-landscape::before{content:\"\\f5ad\";}.bi-tablet::before{content:\"\\f5ae\";}.bi-tag-fill::before{content:\"\\f5af\";}.bi-tag::before{content:\"\\f5b0\";}.bi-tags-fill::before{content:\"\\f5b1\";}.bi-tags::before{content:\"\\f5b2\";}.bi-telegram::before{content:\"\\f5b3\";}.bi-telephone-fill::before{content:\"\\f5b4\";}.bi-telephone-forward-fill::before{content:\"\\f5b5\";}.bi-telephone-forward::before{content:\"\\f5b6\";}.bi-telephone-inbound-fill::before{content:\"\\f5b7\";}.bi-telephone-inbound::before{content:\"\\f5b8\";}.bi-telephone-minus-fill::before{content:\"\\f5b9\";}.bi-telephone-minus::before{content:\"\\f5ba\";}.bi-telephone-outbound-fill::before{content:\"\\f5bb\";}.bi-telephone-outbound::before{content:\"\\f5bc\";}.bi-telephone-plus-fill::before{content:\"\\f5bd\";}.bi-telephone-plus::before{content:\"\\f5be\";}.bi-telephone-x-fill::before{content:\"\\f5bf\";}.bi-telephone-x::before{content:\"\\f5c0\";}.bi-telephone::before{content:\"\\f5c1\";}.bi-terminal-fill::before{content:\"\\f5c2\";}.bi-terminal::before{content:\"\\f5c3\";}.bi-text-center::before{content:\"\\f5c4\";}.bi-text-indent-left::before{content:\"\\f5c5\";}.bi-text-indent-right::before{content:\"\\f5c6\";}.bi-text-left::before{content:\"\\f5c7\";}.bi-text-paragraph::before{content:\"\\f5c8\";}.bi-text-right::before{content:\"\\f5c9\";}.bi-textarea-resize::before{content:\"\\f5ca\";}.bi-textarea-t::before{content:\"\\f5cb\";}.bi-textarea::before{content:\"\\f5cc\";}.bi-thermometer-half::before{content:\"\\f5cd\";}.bi-thermometer-high::before{content:\"\\f5ce\";}.bi-thermometer-low::before{content:\"\\f5cf\";}.bi-thermometer-snow::before{content:\"\\f5d0\";}.bi-thermometer-sun::before{content:\"\\f5d1\";}.bi-thermometer::before{content:\"\\f5d2\";}.bi-three-dots-vertical::before{content:\"\\f5d3\";}.bi-three-dots::before{content:\"\\f5d4\";}.bi-toggle-off::before{content:\"\\f5d5\";}.bi-toggle-on::before{content:\"\\f5d6\";}.bi-toggle2-off::before{content:\"\\f5d7\";}.bi-toggle2-on::before{content:\"\\f5d8\";}.bi-toggles::before{content:\"\\f5d9\";}.bi-toggles2::before{content:\"\\f5da\";}.bi-tools::before{content:\"\\f5db\";}.bi-tornado::before{content:\"\\f5dc\";}.bi-trash-fill::before{content:\"\\f5dd\";}.bi-trash::before{content:\"\\f5de\";}.bi-trash2-fill::before{content:\"\\f5df\";}.bi-trash2::before{content:\"\\f5e0\";}.bi-tree-fill::before{content:\"\\f5e1\";}.bi-tree::before{content:\"\\f5e2\";}.bi-triangle-fill::before{content:\"\\f5e3\";}.bi-triangle-half::before{content:\"\\f5e4\";}.bi-triangle::before{content:\"\\f5e5\";}.bi-trophy-fill::before{content:\"\\f5e6\";}.bi-trophy::before{content:\"\\f5e7\";}.bi-tropical-storm::before{content:\"\\f5e8\";}.bi-truck-flatbed::before{content:\"\\f5e9\";}.bi-truck::before{content:\"\\f5ea\";}.bi-tsunami::before{content:\"\\f5eb\";}.bi-tv-fill::before{content:\"\\f5ec\";}.bi-tv::before{content:\"\\f5ed\";}.bi-twitch::before{content:\"\\f5ee\";}.bi-twitter::before{content:\"\\f5ef\";}.bi-type-bold::before{content:\"\\f5f0\";}.bi-type-h1::before{content:\"\\f5f1\";}.bi-type-h2::before{content:\"\\f5f2\";}.bi-type-h3::before{content:\"\\f5f3\";}.bi-type-italic::before{content:\"\\f5f4\";}.bi-type-strikethrough::before{content:\"\\f5f5\";}.bi-type-underline::before{content:\"\\f5f6\";}.bi-type::before{content:\"\\f5f7\";}.bi-ui-checks-grid::before{content:\"\\f5f8\";}.bi-ui-checks::before{content:\"\\f5f9\";}.bi-ui-radios-grid::before{content:\"\\f5fa\";}.bi-ui-radios::before{content:\"\\f5fb\";}.bi-umbrella-fill::before{content:\"\\f5fc\";}.bi-umbrella::before{content:\"\\f5fd\";}.bi-union::before{content:\"\\f5fe\";}.bi-unlock-fill::before{content:\"\\f5ff\";}.bi-unlock::before{content:\"\\f600\";}.bi-upc-scan::before{content:\"\\f601\";}.bi-upc::before{content:\"\\f602\";}.bi-upload::before{content:\"\\f603\";}.bi-vector-pen::before{content:\"\\f604\";}.bi-view-list::before{content:\"\\f605\";}.bi-view-stacked::before{content:\"\\f606\";}.bi-vinyl-fill::before{content:\"\\f607\";}.bi-vinyl::before{content:\"\\f608\";}.bi-voicemail::before{content:\"\\f609\";}.bi-volume-down-fill::before{content:\"\\f60a\";}.bi-volume-down::before{content:\"\\f60b\";}.bi-volume-mute-fill::before{content:\"\\f60c\";}.bi-volume-mute::before{content:\"\\f60d\";}.bi-volume-off-fill::before{content:\"\\f60e\";}.bi-volume-off::before{content:\"\\f60f\";}.bi-volume-up-fill::before{content:\"\\f610\";}.bi-volume-up::before{content:\"\\f611\";}.bi-vr::before{content:\"\\f612\";}.bi-wallet-fill::before{content:\"\\f613\";}.bi-wallet::before{content:\"\\f614\";}.bi-wallet2::before{content:\"\\f615\";}.bi-watch::before{content:\"\\f616\";}.bi-water::before{content:\"\\f617\";}.bi-whatsapp::before{content:\"\\f618\";}.bi-wifi-1::before{content:\"\\f619\";}.bi-wifi-2::before{content:\"\\f61a\";}.bi-wifi-off::before{content:\"\\f61b\";}.bi-wifi::before{content:\"\\f61c\";}.bi-wind::before{content:\"\\f61d\";}.bi-window-dock::before{content:\"\\f61e\";}.bi-window-sidebar::before{content:\"\\f61f\";}.bi-window::before{content:\"\\f620\";}.bi-wrench::before{content:\"\\f621\";}.bi-x-circle-fill::before{content:\"\\f622\";}.bi-x-circle::before{content:\"\\f623\";}.bi-x-diamond-fill::before{content:\"\\f624\";}.bi-x-diamond::before{content:\"\\f625\";}.bi-x-octagon-fill::before{content:\"\\f626\";}.bi-x-octagon::before{content:\"\\f627\";}.bi-x-square-fill::before{content:\"\\f628\";}.bi-x-square::before{content:\"\\f629\";}.bi-x::before{content:\"\\f62a\";}.bi-youtube::before{content:\"\\f62b\";}.bi-zoom-in::before{content:\"\\f62c\";}.bi-zoom-out::before{content:\"\\f62d\";}"
  },
  {
    "path": "src/main/resources/static/backend/icons/flaticon/flaticon.css",
    "content": "@font-face{font-family:\"Flaticon\";src:url(\"./Flaticon.eot\");src:url(\"./Flaticon.eot?#iefix\") format(\"embedded-opentype\"),url(\"./Flaticon.woff\") format(\"woff\"),url(\"./Flaticon.ttf\") format(\"truetype\"),url(\"./Flaticon.svg#Flaticon\") format(\"svg\");font-weight:normal;font-style:normal;}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:\"Flaticon\";src:url(\"./Flaticon.svg#Flaticon\") format(\"svg\");}}[class^=\"flaticon-\"]:before,[class*=\" flaticon-\"]:before,[class^=\"flaticon-\"]:after,[class*=\" flaticon-\"]:after{font-family:Flaticon;font-style:normal;}.flaticon-381-add:before{content:\"\\f100\";}.flaticon-381-add-1:before{content:\"\\f101\";}.flaticon-381-add-2:before{content:\"\\f102\";}.flaticon-381-add-3:before{content:\"\\f103\";}.flaticon-381-alarm-clock:before{content:\"\\f104\";}.flaticon-381-alarm-clock-1:before{content:\"\\f105\";}.flaticon-381-album:before{content:\"\\f106\";}.flaticon-381-album-1:before{content:\"\\f107\";}.flaticon-381-album-2:before{content:\"\\f108\";}.flaticon-381-album-3:before{content:\"\\f109\";}.flaticon-381-app:before{content:\"\\f10a\";}.flaticon-381-archive:before{content:\"\\f10b\";}.flaticon-381-back:before{content:\"\\f10c\";}.flaticon-381-back-1:before{content:\"\\f10d\";}.flaticon-381-back-2:before{content:\"\\f10e\";}.flaticon-381-background:before{content:\"\\f10f\";}.flaticon-381-background-1:before{content:\"\\f110\";}.flaticon-381-battery:before{content:\"\\f111\";}.flaticon-381-battery-1:before{content:\"\\f112\";}.flaticon-381-battery-2:before{content:\"\\f113\";}.flaticon-381-battery-3:before{content:\"\\f114\";}.flaticon-381-battery-4:before{content:\"\\f115\";}.flaticon-381-battery-5:before{content:\"\\f116\";}.flaticon-381-battery-6:before{content:\"\\f117\";}.flaticon-381-battery-7:before{content:\"\\f118\";}.flaticon-381-battery-8:before{content:\"\\f119\";}.flaticon-381-battery-9:before{content:\"\\f11a\";}.flaticon-381-binoculars:before{content:\"\\f11b\";}.flaticon-381-blueprint:before{content:\"\\f11c\";}.flaticon-381-bluetooth:before{content:\"\\f11d\";}.flaticon-381-bluetooth-1:before{content:\"\\f11e\";}.flaticon-381-book:before{content:\"\\f11f\";}.flaticon-381-bookmark:before{content:\"\\f120\";}.flaticon-381-bookmark-1:before{content:\"\\f121\";}.flaticon-381-box:before{content:\"\\f122\";}.flaticon-381-box-1:before{content:\"\\f123\";}.flaticon-381-box-2:before{content:\"\\f124\";}.flaticon-381-briefcase:before{content:\"\\f125\";}.flaticon-381-broken-heart:before{content:\"\\f126\";}.flaticon-381-broken-link:before{content:\"\\f127\";}.flaticon-381-calculator:before{content:\"\\f128\";}.flaticon-381-calculator-1:before{content:\"\\f129\";}.flaticon-381-calendar:before{content:\"\\f12a\";}.flaticon-381-calendar-1:before{content:\"\\f12b\";}.flaticon-381-calendar-2:before{content:\"\\f12c\";}.flaticon-381-calendar-3:before{content:\"\\f12d\";}.flaticon-381-calendar-4:before{content:\"\\f12e\";}.flaticon-381-calendar-5:before{content:\"\\f12f\";}.flaticon-381-calendar-6:before{content:\"\\f130\";}.flaticon-381-calendar-7:before{content:\"\\f131\";}.flaticon-381-clock:before{content:\"\\f132\";}.flaticon-381-clock-1:before{content:\"\\f133\";}.flaticon-381-clock-2:before{content:\"\\f134\";}.flaticon-381-close:before{content:\"\\f135\";}.flaticon-381-cloud:before{content:\"\\f136\";}.flaticon-381-cloud-computing:before{content:\"\\f137\";}.flaticon-381-command:before{content:\"\\f138\";}.flaticon-381-compact-disc:before{content:\"\\f139\";}.flaticon-381-compact-disc-1:before{content:\"\\f13a\";}.flaticon-381-compact-disc-2:before{content:\"\\f13b\";}.flaticon-381-compass:before{content:\"\\f13c\";}.flaticon-381-compass-1:before{content:\"\\f13d\";}.flaticon-381-compass-2:before{content:\"\\f13e\";}.flaticon-381-controls:before{content:\"\\f13f\";}.flaticon-381-controls-1:before{content:\"\\f140\";}.flaticon-381-controls-2:before{content:\"\\f141\";}.flaticon-381-controls-3:before{content:\"\\f142\";}.flaticon-381-controls-4:before{content:\"\\f143\";}.flaticon-381-controls-5:before{content:\"\\f144\";}.flaticon-381-controls-6:before{content:\"\\f145\";}.flaticon-381-controls-7:before{content:\"\\f146\";}.flaticon-381-controls-8:before{content:\"\\f147\";}.flaticon-381-controls-9:before{content:\"\\f148\";}.flaticon-381-database:before{content:\"\\f149\";}.flaticon-381-database-1:before{content:\"\\f14a\";}.flaticon-381-database-2:before{content:\"\\f14b\";}.flaticon-381-diamond:before{content:\"\\f14c\";}.flaticon-381-diploma:before{content:\"\\f14d\";}.flaticon-381-dislike:before{content:\"\\f14e\";}.flaticon-381-divide:before{content:\"\\f14f\";}.flaticon-381-division:before{content:\"\\f150\";}.flaticon-381-division-1:before{content:\"\\f151\";}.flaticon-381-download:before{content:\"\\f152\";}.flaticon-381-earth-globe:before{content:\"\\f153\";}.flaticon-381-earth-globe-1:before{content:\"\\f154\";}.flaticon-381-edit:before{content:\"\\f155\";}.flaticon-381-edit-1:before{content:\"\\f156\";}.flaticon-381-eject:before{content:\"\\f157\";}.flaticon-381-eject-1:before{content:\"\\f158\";}.flaticon-381-enter:before{content:\"\\f159\";}.flaticon-381-equal:before{content:\"\\f15a\";}.flaticon-381-equal-1:before{content:\"\\f15b\";}.flaticon-381-equal-2:before{content:\"\\f15c\";}.flaticon-381-error:before{content:\"\\f15d\";}.flaticon-381-exit:before{content:\"\\f15e\";}.flaticon-381-exit-1:before{content:\"\\f15f\";}.flaticon-381-exit-2:before{content:\"\\f160\";}.flaticon-381-fast-forward:before{content:\"\\f161\";}.flaticon-381-fast-forward-1:before{content:\"\\f162\";}.flaticon-381-file:before{content:\"\\f163\";}.flaticon-381-file-1:before{content:\"\\f164\";}.flaticon-381-file-2:before{content:\"\\f165\";}.flaticon-381-film-strip:before{content:\"\\f166\";}.flaticon-381-film-strip-1:before{content:\"\\f167\";}.flaticon-381-fingerprint:before{content:\"\\f168\";}.flaticon-381-flag:before{content:\"\\f169\";}.flaticon-381-flag-1:before{content:\"\\f16a\";}.flaticon-381-flag-2:before{content:\"\\f16b\";}.flaticon-381-flag-3:before{content:\"\\f16c\";}.flaticon-381-flag-4:before{content:\"\\f16d\";}.flaticon-381-focus:before{content:\"\\f16e\";}.flaticon-381-folder:before{content:\"\\f16f\";}.flaticon-381-folder-1:before{content:\"\\f170\";}.flaticon-381-folder-10:before{content:\"\\f171\";}.flaticon-381-folder-11:before{content:\"\\f172\";}.flaticon-381-folder-12:before{content:\"\\f173\";}.flaticon-381-folder-13:before{content:\"\\f174\";}.flaticon-381-folder-14:before{content:\"\\f175\";}.flaticon-381-folder-15:before{content:\"\\f176\";}.flaticon-381-folder-16:before{content:\"\\f177\";}.flaticon-381-folder-17:before{content:\"\\f178\";}.flaticon-381-folder-18:before{content:\"\\f179\";}.flaticon-381-folder-19:before{content:\"\\f17a\";}.flaticon-381-folder-2:before{content:\"\\f17b\";}.flaticon-381-folder-3:before{content:\"\\f17c\";}.flaticon-381-folder-4:before{content:\"\\f17d\";}.flaticon-381-folder-5:before{content:\"\\f17e\";}.flaticon-381-folder-6:before{content:\"\\f17f\";}.flaticon-381-folder-7:before{content:\"\\f180\";}.flaticon-381-folder-8:before{content:\"\\f181\";}.flaticon-381-folder-9:before{content:\"\\f182\";}.flaticon-381-forbidden:before{content:\"\\f183\";}.flaticon-381-funnel:before{content:\"\\f184\";}.flaticon-381-gift:before{content:\"\\f185\";}.flaticon-381-heart:before{content:\"\\f186\";}.flaticon-381-heart-1:before{content:\"\\f187\";}.flaticon-381-help:before{content:\"\\f188\";}.flaticon-381-help-1:before{content:\"\\f189\";}.flaticon-381-hide:before{content:\"\\f18a\";}.flaticon-381-high-volume:before{content:\"\\f18b\";}.flaticon-381-home:before{content:\"\\f18c\";}.flaticon-381-home-1:before{content:\"\\f18d\";}.flaticon-381-home-2:before{content:\"\\f18e\";}.flaticon-381-home-3:before{content:\"\\f18f\";}.flaticon-381-hourglass:before{content:\"\\f190\";}.flaticon-381-hourglass-1:before{content:\"\\f191\";}.flaticon-381-hourglass-2:before{content:\"\\f192\";}.flaticon-381-id-card:before{content:\"\\f193\";}.flaticon-381-id-card-1:before{content:\"\\f194\";}.flaticon-381-id-card-2:before{content:\"\\f195\";}.flaticon-381-id-card-3:before{content:\"\\f196\";}.flaticon-381-id-card-4:before{content:\"\\f197\";}.flaticon-381-id-card-5:before{content:\"\\f198\";}.flaticon-381-idea:before{content:\"\\f199\";}.flaticon-381-incoming-call:before{content:\"\\f19a\";}.flaticon-381-infinity:before{content:\"\\f19b\";}.flaticon-381-internet:before{content:\"\\f19c\";}.flaticon-381-key:before{content:\"\\f19d\";}.flaticon-381-knob:before{content:\"\\f19e\";}.flaticon-381-knob-1:before{content:\"\\f19f\";}.flaticon-381-layer:before{content:\"\\f1a0\";}.flaticon-381-layer-1:before{content:\"\\f1a1\";}.flaticon-381-like:before{content:\"\\f1a2\";}.flaticon-381-link:before{content:\"\\f1a3\";}.flaticon-381-link-1:before{content:\"\\f1a4\";}.flaticon-381-list:before{content:\"\\f1a5\";}.flaticon-381-list-1:before{content:\"\\f1a6\";}.flaticon-381-location:before{content:\"\\f1a7\";}.flaticon-381-location-1:before{content:\"\\f1a8\";}.flaticon-381-location-2:before{content:\"\\f1a9\";}.flaticon-381-location-3:before{content:\"\\f1aa\";}.flaticon-381-location-4:before{content:\"\\f1ab\";}.flaticon-381-locations:before{content:\"\\f1ac\";}.flaticon-381-lock:before{content:\"\\f1ad\";}.flaticon-381-lock-1:before{content:\"\\f1ae\";}.flaticon-381-lock-2:before{content:\"\\f1af\";}.flaticon-381-lock-3:before{content:\"\\f1b0\";}.flaticon-381-low-volume:before{content:\"\\f1b1\";}.flaticon-381-low-volume-1:before{content:\"\\f1b2\";}.flaticon-381-low-volume-2:before{content:\"\\f1b3\";}.flaticon-381-low-volume-3:before{content:\"\\f1b4\";}.flaticon-381-magic-wand:before{content:\"\\f1b5\";}.flaticon-381-magnet:before{content:\"\\f1b6\";}.flaticon-381-magnet-1:before{content:\"\\f1b7\";}.flaticon-381-magnet-2:before{content:\"\\f1b8\";}.flaticon-381-map:before{content:\"\\f1b9\";}.flaticon-381-map-1:before{content:\"\\f1ba\";}.flaticon-381-map-2:before{content:\"\\f1bb\";}.flaticon-381-menu:before{content:\"\\f1bc\";}.flaticon-381-menu-1:before{content:\"\\f1bd\";}.flaticon-381-menu-2:before{content:\"\\f1be\";}.flaticon-381-menu-3:before{content:\"\\f1bf\";}.flaticon-381-microphone:before{content:\"\\f1c0\";}.flaticon-381-microphone-1:before{content:\"\\f1c1\";}.flaticon-381-more:before{content:\"\\f1c2\";}.flaticon-381-more-1:before{content:\"\\f1c3\";}.flaticon-381-more-2:before{content:\"\\f1c4\";}.flaticon-381-multiply:before{content:\"\\f1c5\";}.flaticon-381-multiply-1:before{content:\"\\f1c6\";}.flaticon-381-music-album:before{content:\"\\f1c7\";}.flaticon-381-mute:before{content:\"\\f1c8\";}.flaticon-381-mute-1:before{content:\"\\f1c9\";}.flaticon-381-mute-2:before{content:\"\\f1ca\";}.flaticon-381-network:before{content:\"\\f1cb\";}.flaticon-381-network-1:before{content:\"\\f1cc\";}.flaticon-381-network-2:before{content:\"\\f1cd\";}.flaticon-381-network-3:before{content:\"\\f1ce\";}.flaticon-381-networking:before{content:\"\\f1cf\";}.flaticon-381-networking-1:before{content:\"\\f1d0\";}.flaticon-381-news:before{content:\"\\f1d1\";}.flaticon-381-newspaper:before{content:\"\\f1d2\";}.flaticon-381-next:before{content:\"\\f1d3\";}.flaticon-381-next-1:before{content:\"\\f1d4\";}.flaticon-381-note:before{content:\"\\f1d5\";}.flaticon-381-notebook:before{content:\"\\f1d6\";}.flaticon-381-notebook-1:before{content:\"\\f1d7\";}.flaticon-381-notebook-2:before{content:\"\\f1d8\";}.flaticon-381-notebook-3:before{content:\"\\f1d9\";}.flaticon-381-notebook-4:before{content:\"\\f1da\";}.flaticon-381-notebook-5:before{content:\"\\f1db\";}.flaticon-381-notepad:before{content:\"\\f1dc\";}.flaticon-381-notepad-1:before{content:\"\\f1dd\";}.flaticon-381-notepad-2:before{content:\"\\f1de\";}.flaticon-381-notification:before{content:\"\\f1df\";}.flaticon-381-off:before{content:\"\\f1e0\";}.flaticon-381-on:before{content:\"\\f1e1\";}.flaticon-381-pad:before{content:\"\\f1e2\";}.flaticon-381-padlock:before{content:\"\\f1e3\";}.flaticon-381-padlock-1:before{content:\"\\f1e4\";}.flaticon-381-padlock-2:before{content:\"\\f1e5\";}.flaticon-381-panel:before{content:\"\\f1e6\";}.flaticon-381-panel-1:before{content:\"\\f1e7\";}.flaticon-381-panel-2:before{content:\"\\f1e8\";}.flaticon-381-panel-3:before{content:\"\\f1e9\";}.flaticon-381-paperclip:before{content:\"\\f1ea\";}.flaticon-381-pause:before{content:\"\\f1eb\";}.flaticon-381-pause-1:before{content:\"\\f1ec\";}.flaticon-381-pencil:before{content:\"\\f1ed\";}.flaticon-381-percentage:before{content:\"\\f1ee\";}.flaticon-381-percentage-1:before{content:\"\\f1ef\";}.flaticon-381-perspective:before{content:\"\\f1f0\";}.flaticon-381-phone-call:before{content:\"\\f1f1\";}.flaticon-381-photo:before{content:\"\\f1f2\";}.flaticon-381-photo-camera:before{content:\"\\f1f3\";}.flaticon-381-photo-camera-1:before{content:\"\\f1f4\";}.flaticon-381-picture:before{content:\"\\f1f5\";}.flaticon-381-picture-1:before{content:\"\\f1f6\";}.flaticon-381-picture-2:before{content:\"\\f1f7\";}.flaticon-381-pin:before{content:\"\\f1f8\";}.flaticon-381-play-button:before{content:\"\\f1f9\";}.flaticon-381-play-button-1:before{content:\"\\f1fa\";}.flaticon-381-plus:before{content:\"\\f1fb\";}.flaticon-381-presentation:before{content:\"\\f1fc\";}.flaticon-381-price-tag:before{content:\"\\f1fd\";}.flaticon-381-print:before{content:\"\\f1fe\";}.flaticon-381-print-1:before{content:\"\\f1ff\";}.flaticon-381-privacy:before{content:\"\\f200\";}.flaticon-381-promotion:before{content:\"\\f201\";}.flaticon-381-promotion-1:before{content:\"\\f202\";}.flaticon-381-push-pin:before{content:\"\\f203\";}.flaticon-381-quaver:before{content:\"\\f204\";}.flaticon-381-quaver-1:before{content:\"\\f205\";}.flaticon-381-radar:before{content:\"\\f206\";}.flaticon-381-reading:before{content:\"\\f207\";}.flaticon-381-receive:before{content:\"\\f208\";}.flaticon-381-record:before{content:\"\\f209\";}.flaticon-381-repeat:before{content:\"\\f20a\";}.flaticon-381-repeat-1:before{content:\"\\f20b\";}.flaticon-381-resume:before{content:\"\\f20c\";}.flaticon-381-rewind:before{content:\"\\f20d\";}.flaticon-381-rewind-1:before{content:\"\\f20e\";}.flaticon-381-ring:before{content:\"\\f20f\";}.flaticon-381-ring-1:before{content:\"\\f210\";}.flaticon-381-rotate:before{content:\"\\f211\";}.flaticon-381-rotate-1:before{content:\"\\f212\";}.flaticon-381-route:before{content:\"\\f213\";}.flaticon-381-save:before{content:\"\\f214\";}.flaticon-381-search:before{content:\"\\f215\";}.flaticon-381-search-1:before{content:\"\\f216\";}.flaticon-381-search-2:before{content:\"\\f217\";}.flaticon-381-search-3:before{content:\"\\f218\";}.flaticon-381-send:before{content:\"\\f219\";}.flaticon-381-send-1:before{content:\"\\f21a\";}.flaticon-381-send-2:before{content:\"\\f21b\";}.flaticon-381-settings:before{content:\"\\f21c\";}.flaticon-381-settings-1:before{content:\"\\f21d\";}.flaticon-381-settings-2:before{content:\"\\f21e\";}.flaticon-381-settings-3:before{content:\"\\f21f\";}.flaticon-381-settings-4:before{content:\"\\f220\";}.flaticon-381-settings-5:before{content:\"\\f221\";}.flaticon-381-settings-6:before{content:\"\\f222\";}.flaticon-381-settings-7:before{content:\"\\f223\";}.flaticon-381-settings-8:before{content:\"\\f224\";}.flaticon-381-settings-9:before{content:\"\\f225\";}.flaticon-381-share:before{content:\"\\f226\";}.flaticon-381-share-1:before{content:\"\\f227\";}.flaticon-381-share-2:before{content:\"\\f228\";}.flaticon-381-shuffle:before{content:\"\\f229\";}.flaticon-381-shuffle-1:before{content:\"\\f22a\";}.flaticon-381-shut-down:before{content:\"\\f22b\";}.flaticon-381-silence:before{content:\"\\f22c\";}.flaticon-381-silent:before{content:\"\\f22d\";}.flaticon-381-smartphone:before{content:\"\\f22e\";}.flaticon-381-smartphone-1:before{content:\"\\f22f\";}.flaticon-381-smartphone-2:before{content:\"\\f230\";}.flaticon-381-smartphone-3:before{content:\"\\f231\";}.flaticon-381-smartphone-4:before{content:\"\\f232\";}.flaticon-381-smartphone-5:before{content:\"\\f233\";}.flaticon-381-smartphone-6:before{content:\"\\f234\";}.flaticon-381-smartphone-7:before{content:\"\\f235\";}.flaticon-381-speaker:before{content:\"\\f236\";}.flaticon-381-speedometer:before{content:\"\\f237\";}.flaticon-381-spotlight:before{content:\"\\f238\";}.flaticon-381-star:before{content:\"\\f239\";}.flaticon-381-star-1:before{content:\"\\f23a\";}.flaticon-381-stop:before{content:\"\\f23b\";}.flaticon-381-stop-1:before{content:\"\\f23c\";}.flaticon-381-stopclock:before{content:\"\\f23d\";}.flaticon-381-stopwatch:before{content:\"\\f23e\";}.flaticon-381-stopwatch-1:before{content:\"\\f23f\";}.flaticon-381-stopwatch-2:before{content:\"\\f240\";}.flaticon-381-substract:before{content:\"\\f241\";}.flaticon-381-substract-1:before{content:\"\\f242\";}.flaticon-381-substract-2:before{content:\"\\f243\";}.flaticon-381-success:before{content:\"\\f244\";}.flaticon-381-success-1:before{content:\"\\f245\";}.flaticon-381-success-2:before{content:\"\\f246\";}.flaticon-381-sunglasses:before{content:\"\\f247\";}.flaticon-381-switch:before{content:\"\\f248\";}.flaticon-381-switch-1:before{content:\"\\f249\";}.flaticon-381-switch-2:before{content:\"\\f24a\";}.flaticon-381-switch-3:before{content:\"\\f24b\";}.flaticon-381-switch-4:before{content:\"\\f24c\";}.flaticon-381-switch-5:before{content:\"\\f24d\";}.flaticon-381-sync:before{content:\"\\f24e\";}.flaticon-381-tab:before{content:\"\\f24f\";}.flaticon-381-target:before{content:\"\\f250\";}.flaticon-381-television:before{content:\"\\f251\";}.flaticon-381-time:before{content:\"\\f252\";}.flaticon-381-transfer:before{content:\"\\f253\";}.flaticon-381-trash:before{content:\"\\f254\";}.flaticon-381-trash-1:before{content:\"\\f255\";}.flaticon-381-trash-2:before{content:\"\\f256\";}.flaticon-381-trash-3:before{content:\"\\f257\";}.flaticon-381-turn-off:before{content:\"\\f258\";}.flaticon-381-umbrella:before{content:\"\\f259\";}.flaticon-381-unlocked:before{content:\"\\f25a\";}.flaticon-381-unlocked-1:before{content:\"\\f25b\";}.flaticon-381-unlocked-2:before{content:\"\\f25c\";}.flaticon-381-unlocked-3:before{content:\"\\f25d\";}.flaticon-381-unlocked-4:before{content:\"\\f25e\";}.flaticon-381-upload:before{content:\"\\f25f\";}.flaticon-381-upload-1:before{content:\"\\f260\";}.flaticon-381-user:before{content:\"\\f261\";}.flaticon-381-user-1:before{content:\"\\f262\";}.flaticon-381-user-2:before{content:\"\\f263\";}.flaticon-381-user-3:before{content:\"\\f264\";}.flaticon-381-user-4:before{content:\"\\f265\";}.flaticon-381-user-5:before{content:\"\\f266\";}.flaticon-381-user-6:before{content:\"\\f267\";}.flaticon-381-user-7:before{content:\"\\f268\";}.flaticon-381-user-8:before{content:\"\\f269\";}.flaticon-381-user-9:before{content:\"\\f26a\";}.flaticon-381-video-camera:before{content:\"\\f26b\";}.flaticon-381-video-clip:before{content:\"\\f26c\";}.flaticon-381-video-player:before{content:\"\\f26d\";}.flaticon-381-video-player-1:before{content:\"\\f26e\";}.flaticon-381-view:before{content:\"\\f26f\";}.flaticon-381-view-1:before{content:\"\\f270\";}.flaticon-381-view-2:before{content:\"\\f271\";}.flaticon-381-volume:before{content:\"\\f272\";}.flaticon-381-warning:before{content:\"\\f273\";}.flaticon-381-warning-1:before{content:\"\\f274\";}.flaticon-381-wifi:before{content:\"\\f275\";}.flaticon-381-wifi-1:before{content:\"\\f276\";}.flaticon-381-wifi-2:before{content:\"\\f277\";}.flaticon-381-windows:before{content:\"\\f278\";}.flaticon-381-windows-1:before{content:\"\\f279\";}.flaticon-381-zoom-in:before{content:\"\\f27a\";}.flaticon-381-zoom-out:before{content:\"\\f27b\";}"
  },
  {
    "path": "src/main/resources/static/backend/icons/flaticon_1/flaticon_1.css",
    "content": "@font-face{font-family:\"Flaticon\";src:url(\"./Flaticon_1.eot\");src:url(\"./Flaticon_1.eot?#iefix\") format(\"embedded-opentype\"),url(\"./Flaticon_1.woff2\") format(\"woff2\"),url(\"./Flaticon_1.woff\") format(\"woff\"),url(\"./Flaticon_1.ttf\") format(\"truetype\"),url(\"./Flaticon_1.svg#Flaticon\") format(\"svg\");font-weight:normal;font-style:normal;}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:\"Flaticon\";src:url(\"./Flaticon_1.svg#Flaticon\") format(\"svg\");}}.fimanager:before{display:inline-block;font-family:\"Flaticon\";font-style:normal;font-weight:normal;font-variant:normal;line-height:1;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;display:block;}.flaticon-001-arrow-down:before{content:\"\\f100\";}.flaticon-002-arrow-down:before{content:\"\\f101\";}.flaticon-003-arrow-up:before{content:\"\\f102\";}.flaticon-004-arrow-up:before{content:\"\\f103\";}.flaticon-005-back-arrow:before{content:\"\\f104\";}.flaticon-006-brightness:before{content:\"\\f105\";}.flaticon-007-bulleye:before{content:\"\\f106\";}.flaticon-008-check:before{content:\"\\f107\";}.flaticon-009-check:before{content:\"\\f108\";}.flaticon-010-check:before{content:\"\\f109\";}.flaticon-011-check:before{content:\"\\f10a\";}.flaticon-012-checkmark:before{content:\"\\f10b\";}.flaticon-013-checkmark:before{content:\"\\f10c\";}.flaticon-014-checkmark:before{content:\"\\f10d\";}.flaticon-015-chevron:before{content:\"\\f10e\";}.flaticon-016-double-chevron:before{content:\"\\f10f\";}.flaticon-017-clipboard:before{content:\"\\f110\";}.flaticon-018-clock:before{content:\"\\f111\";}.flaticon-019-close:before{content:\"\\f112\";}.flaticon-020-close:before{content:\"\\f113\";}.flaticon-021-command:before{content:\"\\f114\";}.flaticon-022-copy:before{content:\"\\f115\";}.flaticon-023-cut:before{content:\"\\f116\";}.flaticon-024-dashboard:before{content:\"\\f117\";}.flaticon-025-dashboard:before{content:\"\\f118\";}.flaticon-026-delete:before{content:\"\\f119\";}.flaticon-027-dot:before{content:\"\\f11a\";}.flaticon-028-download:before{content:\"\\f11b\";}.flaticon-029-ellipsis:before{content:\"\\f11c\";}.flaticon-030-ellipsis:before{content:\"\\f11d\";}.flaticon-031-ellipsis:before{content:\"\\f11e\";}.flaticon-032-ellipsis:before{content:\"\\f11f\";}.flaticon-033-feather:before{content:\"\\f120\";}.flaticon-034-filter:before{content:\"\\f121\";}.flaticon-035-flag:before{content:\"\\f122\";}.flaticon-036-floppy-disk:before{content:\"\\f123\";}.flaticon-037-funnel:before{content:\"\\f124\";}.flaticon-038-gauge:before{content:\"\\f125\";}.flaticon-039-goal:before{content:\"\\f126\";}.flaticon-040-graph:before{content:\"\\f127\";}.flaticon-041-graph:before{content:\"\\f128\";}.flaticon-042-menu:before{content:\"\\f129\";}.flaticon-043-menu:before{content:\"\\f12a\";}.flaticon-044-menu:before{content:\"\\f12b\";}.flaticon-045-heart:before{content:\"\\f12c\";}.flaticon-046-home:before{content:\"\\f12d\";}.flaticon-047-home:before{content:\"\\f12e\";}.flaticon-048-home:before{content:\"\\f12f\";}.flaticon-049-home:before{content:\"\\f130\";}.flaticon-050-info:before{content:\"\\f131\";}.flaticon-051-info:before{content:\"\\f132\";}.flaticon-052-inside:before{content:\"\\f133\";}.flaticon-053-lifebuoy:before{content:\"\\f134\";}.flaticon-054-maximize:before{content:\"\\f135\";}.flaticon-055-minimize:before{content:\"\\f136\";}.flaticon-056-minus:before{content:\"\\f137\";}.flaticon-057-minus:before{content:\"\\f138\";}.flaticon-058-minus:before{content:\"\\f139\";}.flaticon-059-minus:before{content:\"\\f13a\";}.flaticon-060-on:before{content:\"\\f13b\";}.flaticon-061-outside:before{content:\"\\f13c\";}.flaticon-062-pencil:before{content:\"\\f13d\";}.flaticon-063-pencil:before{content:\"\\f13e\";}.flaticon-064-pin:before{content:\"\\f13f\";}.flaticon-065-pin:before{content:\"\\f140\";}.flaticon-066-plus:before{content:\"\\f141\";}.flaticon-067-plus:before{content:\"\\f142\";}.flaticon-068-plus:before{content:\"\\f143\";}.flaticon-069-plus:before{content:\"\\f144\";}.flaticon-070-power:before{content:\"\\f145\";}.flaticon-071-print:before{content:\"\\f146\";}.flaticon-072-printer:before{content:\"\\f147\";}.flaticon-073-question:before{content:\"\\f148\";}.flaticon-074-question:before{content:\"\\f149\";}.flaticon-075-reload:before{content:\"\\f14a\";}.flaticon-076-remove:before{content:\"\\f14b\";}.flaticon-077-remove:before{content:\"\\f14c\";}.flaticon-078-remove:before{content:\"\\f14d\";}.flaticon-079-search:before{content:\"\\f14e\";}.flaticon-080-search:before{content:\"\\f14f\";}.flaticon-081-search:before{content:\"\\f150\";}.flaticon-082-share:before{content:\"\\f151\";}.flaticon-083-share:before{content:\"\\f152\";}.flaticon-084-share:before{content:\"\\f153\";}.flaticon-085-signal:before{content:\"\\f154\";}.flaticon-086-star:before{content:\"\\f155\";}.flaticon-087-stop:before{content:\"\\f156\";}.flaticon-088-time:before{content:\"\\f157\";}.flaticon-089-trash:before{content:\"\\f158\";}.flaticon-090-upload:before{content:\"\\f159\";}.flaticon-091-warning:before{content:\"\\f15a\";}.flaticon-092-warning:before{content:\"\\f15b\";}.flaticon-093-waving:before{content:\"\\f15c\";}"
  },
  {
    "path": "src/main/resources/static/backend/icons/icomoon/icomoon.css",
    "content": "@font-face{font-family:'icomoon';src:url('fonts/icomoon.eot');src:url('fonts/icomoon.eot') format('embedded-opentype'),url('fonts/icomoon.ttf') format('truetype'),url('fonts/icomoon.woff') format('woff'),url('fonts/icomoon.svg') format('svg');font-weight:normal;font-style:normal;font-display:block;}[class^=\"icon-\"],[class*=\" icon-\"]{speak:never;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.icon-Angle-Grinder .path1:before{content:\"\\e900\";opacity:0.3;}.icon-Angle-Grinder .path2:before{content:\"\\e901\";margin-left:-1em;opacity:0.3;}.icon-Angle-Grinder .path3:before{content:\"\\e902\";margin-left:-1em;}.icon-Axe .path1:before{content:\"\\e903\";opacity:0.3;}.icon-Axe .path2:before{content:\"\\e904\";margin-left:-1em;}.icon-Brush .path1:before{content:\"\\e905\";opacity:0.3;}.icon-Brush .path2:before{content:\"\\e906\";margin-left:-1em;}.icon-Compass .path1:before{content:\"\\e907\";opacity:0.3;}.icon-Compass .path2:before{content:\"\\e908\";margin-left:-1em;}.icon-Hummer .path1:before{content:\"\\e909\";opacity:0.3;}.icon-Hummer .path2:before{content:\"\\e90a\";margin-left:-1em;}.icon-Hummer .path3:before{content:\"\\e90b\";margin-left:-1em;opacity:0.3;}.icon-Hummer1 .path1:before{content:\"\\e90c\";opacity:0.3;}.icon-Hummer1 .path2:before{content:\"\\e90d\";margin-left:-1em;}.icon-Pantone .path1:before{content:\"\\e90e\";opacity:0.3;}.icon-Pantone .path2:before{content:\"\\e90f\";margin-left:-1em;opacity:0.3;}.icon-Pantone .path3:before{content:\"\\e910\";margin-left:-1em;}.icon-Road-Cone .path1:before{content:\"\\e911\";}.icon-Road-Cone .path2:before{content:\"\\e912\";margin-left:-1em;opacity:0.3;}.icon-Roller .path1:before{content:\"\\e913\";}.icon-Roller .path2:before{content:\"\\e914\";margin-left:-1em;}.icon-Roller .path3:before{content:\"\\e915\";margin-left:-1em;opacity:0.3;}.icon-Roulette .path1:before{content:\"\\e916\";}.icon-Roulette .path2:before{content:\"\\e917\";margin-left:-1em;opacity:0.3;}.icon-Screwdriver .path1:before{content:\"\\e918\";opacity:0.3;}.icon-Screwdriver .path2:before{content:\"\\e919\";margin-left:-1em;}.icon-Shovel1 .path1:before{content:\"\\e91a\";opacity:0.3;}.icon-Shovel1 .path2:before{content:\"\\e91b\";margin-left:-1em;}.icon-Spatula .path1:before{content:\"\\e91c\";opacity:0.3;}.icon-Spatula .path2:before{content:\"\\e91d\";margin-left:-1em;}.icon-Swiss-knife .path1:before{content:\"\\e91e\";opacity:0.3;}.icon-Swiss-knife .path2:before{content:\"\\e91f\";margin-left:-1em;}.icon-Tools .path1:before{content:\"\\e920\";}.icon-Tools .path2:before{content:\"\\e921\";margin-left:-1em;opacity:0.3;}.icon-Align-auto .path1:before{content:\"\\e922\";opacity:0.3;}.icon-Align-auto .path2:before{content:\"\\e923\";margin-left:-1em;}.icon-Align-center .path1:before{content:\"\\e924\";opacity:0.3;}.icon-Align-center .path2:before{content:\"\\e925\";margin-left:-1em;}.icon-Align-justify .path1:before{content:\"\\e926\";opacity:0.3;}.icon-Align-justify .path2:before{content:\"\\e927\";margin-left:-1em;}.icon-Align-left .path1:before{content:\"\\e928\";opacity:0.3;}.icon-Align-left .path2:before{content:\"\\e929\";margin-left:-1em;opacity:0.3;}.icon-Align-left .path3:before{content:\"\\e92a\";margin-left:-1em;}.icon-Align-right .path1:before{content:\"\\e92b\";opacity:0.3;}.icon-Align-right .path2:before{content:\"\\e92c\";margin-left:-1em;}.icon-Article .path1:before{content:\"\\e92d\";}.icon-Article .path2:before{content:\"\\e92e\";margin-left:-1em;opacity:0.3;}.icon-Bold:before{content:\"\\e92f\";}.icon-Bullet-list .path1:before{content:\"\\e930\";}.icon-Bullet-list .path2:before{content:\"\\e931\";margin-left:-1em;opacity:0.3;}.icon-Code:before{content:\"\\e932\";}.icon-Edit-text .path1:before{content:\"\\e933\";opacity:0.3;}.icon-Edit-text .path2:before{content:\"\\e934\";margin-left:-1em;}.icon-Filter:before{content:\"\\e935\";}.icon-Font .path1:before{content:\"\\e936\";}.icon-Font .path2:before{content:\"\\e937\";margin-left:-1em;opacity:0.3;}.icon-H1 .path1:before{content:\"\\e938\";}.icon-H1 .path2:before{content:\"\\e939\";margin-left:-1em;opacity:0.3;}.icon-H2 .path1:before{content:\"\\e93a\";}.icon-H2 .path2:before{content:\"\\e93b\";margin-left:-1em;opacity:0.3;}.icon-Itallic:before{content:\"\\e93c\";}.icon-Menu .path1:before{content:\"\\e93d\";}.icon-Menu .path2:before{content:\"\\e93e\";margin-left:-1em;opacity:0.3;}.icon-Paragraph:before{content:\"\\e93f\";}.icon-Quote .path1:before{content:\"\\e940\";}.icon-Quote .path2:before{content:\"\\e941\";margin-left:-1em;opacity:0.3;}.icon-Quote1 .path1:before{content:\"\\e942\";}.icon-Quote1 .path2:before{content:\"\\e943\";margin-left:-1em;opacity:0.3;}.icon-Redo:before{content:\"\\e944\";}.icon-Strikethrough .path1:before{content:\"\\e945\";opacity:0.3;}.icon-Strikethrough .path2:before{content:\"\\e946\";margin-left:-1em;}.icon-Text:before{content:\"\\e947\";}.icon-Text-height .path1:before{content:\"\\e948\";opacity:0.3;}.icon-Text-height .path2:before{content:\"\\e949\";margin-left:-1em;}.icon-Text-width .path1:before{content:\"\\e94a\";opacity:0.3;}.icon-Text-width .path2:before{content:\"\\e94b\";margin-left:-1em;}.icon-Underline .path1:before{content:\"\\e94c\";}.icon-Underline .path2:before{content:\"\\e94d\";margin-left:-1em;opacity:0.3;}.icon-Undo:before{content:\"\\e94e\";}.icon-ATM .path1:before{content:\"\\e94f\";opacity:0.3;}.icon-ATM .path2:before{content:\"\\e950\";margin-left:-1em;}.icon-Bag .path1:before{content:\"\\e951\";opacity:0.3;}.icon-Bag .path2:before{content:\"\\e952\";margin-left:-1em;}.icon-Bag1 .path1:before{content:\"\\e953\";opacity:0.3;}.icon-Bag1 .path2:before{content:\"\\e954\";margin-left:-1em;}.icon-Barcode .path1:before{content:\"\\e955\";}.icon-Barcode .path2:before{content:\"\\e956\";margin-left:-1em;opacity:0.3;}.icon-Barcode-read .path1:before{content:\"\\e957\";opacity:0.3;}.icon-Barcode-read .path2:before{content:\"\\e958\";margin-left:-1em;}.icon-Barcode-scan .path1:before{content:\"\\e959\";}.icon-Barcode-scan .path2:before{content:\"\\e95a\";margin-left:-1em;opacity:0.3;}.icon-Barcode-scan .path3:before{content:\"\\e95b\";margin-left:-1em;opacity:0.3;}.icon-Bitcoin .path1:before{content:\"\\e95c\";opacity:0.3;}.icon-Bitcoin .path2:before{content:\"\\e95d\";margin-left:-1em;opacity:0.3;}.icon-Bitcoin .path3:before{content:\"\\e95e\";margin-left:-1em;}.icon-Box1 .path1:before{content:\"\\e95f\";opacity:0.3;}.icon-Box1 .path2:before{content:\"\\e960\";margin-left:-1em;}.icon-Box2 .path1:before{content:\"\\e961\";}.icon-Box2 .path2:before{content:\"\\e962\";margin-left:-1em;opacity:0.3;}.icon-Box3 .path1:before{content:\"\\e963\";opacity:0.3;}.icon-Box3 .path2:before{content:\"\\e964\";margin-left:-1em;}.icon-Calculator .path1:before{content:\"\\e965\";opacity:0.3;}.icon-Calculator .path2:before{content:\"\\e966\";margin-left:-1em;}.icon-Cart1 .path1:before{content:\"\\e967\";opacity:0.3;}.icon-Cart1 .path2:before{content:\"\\e968\";margin-left:-1em;}.icon-Cart2 .path1:before{content:\"\\e969\";opacity:0.3;}.icon-Cart2 .path2:before{content:\"\\e96a\";margin-left:-1em;}.icon-Cart .path1:before{content:\"\\e96b\";opacity:0.3;}.icon-Cart .path2:before{content:\"\\e96c\";margin-left:-1em;}.icon-Chart-bar .path1:before{content:\"\\e96d\";opacity:0.3;}.icon-Chart-bar .path2:before{content:\"\\e96e\";margin-left:-1em;opacity:0.3;}.icon-Chart-bar .path3:before{content:\"\\e96f\";margin-left:-1em;}.icon-Chart-bar .path4:before{content:\"\\e970\";margin-left:-1em;opacity:0.3;}.icon-Chart-bar1 .path1:before{content:\"\\e971\";opacity:0.3;}.icon-Chart-bar1 .path2:before{content:\"\\e972\";margin-left:-1em;opacity:0.3;}.icon-Chart-bar1 .path3:before{content:\"\\e973\";margin-left:-1em;}.icon-Chart-bar1 .path4:before{content:\"\\e974\";margin-left:-1em;opacity:0.3;}.icon-Chart-bar2 .path1:before{content:\"\\e975\";opacity:0.3;}.icon-Chart-bar2 .path2:before{content:\"\\e976\";margin-left:-1em;opacity:0.3;}.icon-Chart-bar2 .path3:before{content:\"\\e977\";margin-left:-1em;}.icon-Chart-bar2 .path4:before{content:\"\\e978\";margin-left:-1em;opacity:0.3;}.icon-Chart-line .path1:before{content:\"\\e979\";}.icon-Chart-line .path2:before{content:\"\\e97a\";margin-left:-1em;opacity:0.3;}.icon-Chart-line1 .path1:before{content:\"\\e97b\";}.icon-Chart-line1 .path2:before{content:\"\\e97c\";margin-left:-1em;opacity:0.3;}.icon-Chart-pie .path1:before{content:\"\\e97d\";opacity:0.3;}.icon-Chart-pie .path2:before{content:\"\\e97e\";margin-left:-1em;}.icon-Credit-card .path1:before{content:\"\\e97f\";opacity:0.3;}.icon-Credit-card .path2:before{content:\"\\e980\";margin-left:-1em;}.icon-Credit-card .path3:before{content:\"\\e981\";margin-left:-1em;opacity:0.3;}.icon-Dollar .path1:before{content:\"\\e982\";opacity:0.3;}.icon-Dollar .path2:before{content:\"\\e983\";margin-left:-1em;opacity:0.3;}.icon-Dollar .path3:before{content:\"\\e984\";margin-left:-1em;}.icon-Euro .path1:before{content:\"\\e985\";opacity:0.3;}.icon-Euro .path2:before{content:\"\\e986\";margin-left:-1em;}.icon-Gift .path1:before{content:\"\\e987\";}.icon-Gift .path2:before{content:\"\\e988\";margin-left:-1em;opacity:0.3;}.icon-Loader .path1:before{content:\"\\e989\";opacity:0.3;}.icon-Loader .path2:before{content:\"\\e98a\";margin-left:-1em;opacity:0.3;}.icon-Loader .path3:before{content:\"\\e98b\";margin-left:-1em;}.icon-MC .path1:before{content:\"\\e98c\";opacity:0.3;}.icon-MC .path2:before{content:\"\\e98d\";margin-left:-1em;}.icon-Money .path1:before{content:\"\\e98e\";opacity:0.3;}.icon-Money .path2:before{content:\"\\e98f\";margin-left:-1em;}.icon-Pound .path1:before{content:\"\\e990\";}.icon-Pound .path2:before{content:\"\\e991\";margin-left:-1em;opacity:0.3;}.icon-Price:before{content:\"\\e992\";}.icon-145:before{content:\"\\e992\";}.icon-Price1:before{content:\"\\e993\";}.icon-245:before{content:\"\\e993\";}.icon-Rouble .path1:before{content:\"\\e994\";opacity:0.3;}.icon-Rouble .path2:before{content:\"\\e995\";margin-left:-1em;}.icon-Safe .path1:before{content:\"\\e996\";opacity:0.3;}.icon-Safe .path2:before{content:\"\\e997\";margin-left:-1em;}.icon-Sale .path1:before{content:\"\\e998\";}.icon-Sale .path2:before{content:\"\\e999\";margin-left:-1em;opacity:0.3;}.icon-Sale1 .path1:before{content:\"\\e99a\";opacity:0.3;}.icon-Sale1 .path2:before{content:\"\\e99b\";margin-left:-1em;}.icon-Sale1 .path3:before{content:\"\\e99c\";margin-left:-1em;opacity:0.3;}.icon-Sale1 .path4:before{content:\"\\e99d\";margin-left:-1em;opacity:0.3;}.icon-Settings .path1:before{content:\"\\e99e\";opacity:0.3;}.icon-Settings .path2:before{content:\"\\e99f\";margin-left:-1em;}.icon-Sort .path1:before{content:\"\\e9a0\";}.icon-Sort .path2:before{content:\"\\e9a1\";margin-left:-1em;opacity:0.3;}.icon-Sort1:before{content:\"\\e9a2\";}.icon-25:before{content:\"\\e9a2\";}.icon-Sort2:before{content:\"\\e9a3\";}.icon-32:before{content:\"\\e9a3\";}.icon-Ticket:before{content:\"\\e9a4\";}.icon-Wallet .path1:before{content:\"\\e9a5\";opacity:0.3;}.icon-Wallet .path2:before{content:\"\\e9a6\";margin-left:-1em;}.icon-Wallet1 .path1:before{content:\"\\e9a7\";opacity:0.3;}.icon-Wallet1 .path2:before{content:\"\\e9a8\";margin-left:-1em;}.icon-Wallet1 .path3:before{content:\"\\e9a9\";margin-left:-1em;}.icon-Wallet2 .path1:before{content:\"\\e9aa\";opacity:0.3;}.icon-Wallet2 .path2:before{content:\"\\e9ab\";margin-left:-1em;opacity:0.3;}.icon-Wallet2 .path3:before{content:\"\\e9ac\";margin-left:-1em;}.icon-Angle-up:before{content:\"\\e9ad\";}.icon-Angle-double-down .path1:before{content:\"\\e9ae\";}.icon-Angle-double-down .path2:before{content:\"\\e9af\";margin-left:-1em;opacity:0.3;}.icon-Angle-double-left .path1:before{content:\"\\e9b0\";}.icon-Angle-double-left .path2:before{content:\"\\e9b1\";margin-left:-1em;opacity:0.3;}.icon-Angle-double-right .path1:before{content:\"\\e9b2\";}.icon-Angle-double-right .path2:before{content:\"\\e9b3\";margin-left:-1em;opacity:0.3;}.icon-Angle-double-up .path1:before{content:\"\\e9b4\";}.icon-Angle-double-up .path2:before{content:\"\\e9b5\";margin-left:-1em;opacity:0.3;}.icon-Angle-down:before{content:\"\\e9b6\";}.icon-Angle-left:before{content:\"\\e9b7\";}.icon-Angle-right:before{content:\"\\e9b8\";}.icon-Arrow-down .path1:before{content:\"\\e9b9\";opacity:0.3;}.icon-Arrow-down .path2:before{content:\"\\e9ba\";margin-left:-1em;}.icon-Arrow-from-bottom .path1:before{content:\"\\e9bb\";opacity:0.3;}.icon-Arrow-from-bottom .path2:before{content:\"\\e9bc\";margin-left:-1em;}.icon-Arrow-from-bottom .path3:before{content:\"\\e9bd\";margin-left:-1em;opacity:0.3;}.icon-Arrow-from-left .path1:before{content:\"\\e9be\";opacity:0.3;}.icon-Arrow-from-left .path2:before{content:\"\\e9bf\";margin-left:-1em;opacity:0.3;}.icon-Arrow-from-left .path3:before{content:\"\\e9c0\";margin-left:-1em;}.icon-Arrow-from-right .path1:before{content:\"\\e9c1\";opacity:0.3;}.icon-Arrow-from-right .path2:before{content:\"\\e9c2\";margin-left:-1em;opacity:0.3;}.icon-Arrow-from-right .path3:before{content:\"\\e9c3\";margin-left:-1em;}.icon-Arrow-from-top .path1:before{content:\"\\e9c4\";opacity:0.3;}.icon-Arrow-from-top .path2:before{content:\"\\e9c5\";margin-left:-1em;}.icon-Arrow-from-top .path3:before{content:\"\\e9c6\";margin-left:-1em;opacity:0.3;}.icon-Arrow-left .path1:before{content:\"\\e9c7\";opacity:0.3;}.icon-Arrow-left .path2:before{content:\"\\e9c8\";margin-left:-1em;}.icon-Arrow-right .path1:before{content:\"\\e9c9\";opacity:0.3;}.icon-Arrow-right .path2:before{content:\"\\e9ca\";margin-left:-1em;}.icon-Arrows-h .path1:before{content:\"\\e9cb\";opacity:0.3;}.icon-Arrows-h .path2:before{content:\"\\e9cc\";margin-left:-1em;}.icon-Arrows-h .path3:before{content:\"\\e9cd\";margin-left:-1em;}.icon-Arrows-v .path1:before{content:\"\\e9ce\";opacity:0.3;}.icon-Arrows-v .path2:before{content:\"\\e9cf\";margin-left:-1em;}.icon-Arrows-v .path3:before{content:\"\\e9d0\";margin-left:-1em;}.icon-Arrow-to-bottom .path1:before{content:\"\\e9d1\";opacity:0.3;}.icon-Arrow-to-bottom .path2:before{content:\"\\e9d2\";margin-left:-1em;}.icon-Arrow-to-bottom .path3:before{content:\"\\e9d3\";margin-left:-1em;opacity:0.3;}.icon-Arrow-to-left .path1:before{content:\"\\e9d4\";opacity:0.3;}.icon-Arrow-to-left .path2:before{content:\"\\e9d5\";margin-left:-1em;opacity:0.3;}.icon-Arrow-to-left .path3:before{content:\"\\e9d6\";margin-left:-1em;}.icon-Arrow-to-right .path1:before{content:\"\\e9d7\";opacity:0.3;}.icon-Arrow-to-right .path2:before{content:\"\\e9d8\";margin-left:-1em;opacity:0.3;}.icon-Arrow-to-right .path3:before{content:\"\\e9d9\";margin-left:-1em;}.icon-Arrow-to-up .path1:before{content:\"\\e9da\";opacity:0.3;}.icon-Arrow-to-up .path2:before{content:\"\\e9db\";margin-left:-1em;}.icon-Arrow-to-up .path3:before{content:\"\\e9dc\";margin-left:-1em;opacity:0.3;}.icon-Arrow-up .path1:before{content:\"\\e9dd\";opacity:0.3;}.icon-Arrow-up .path2:before{content:\"\\e9de\";margin-left:-1em;}.icon-Check:before{content:\"\\e9df\";}.icon-Close .path1:before{content:\"\\e9e0\";}.icon-Close .path2:before{content:\"\\e9e1\";margin-left:-1em;opacity:0.3;}.icon-Double-check .path1:before{content:\"\\e9e2\";opacity:0.3;}.icon-Double-check .path2:before{content:\"\\e9e3\";margin-left:-1em;}.icon-Down-2 .path1:before{content:\"\\e9e4\";opacity:0.3;}.icon-Down-2 .path2:before{content:\"\\e9e5\";margin-left:-1em;}.icon-Down-left .path1:before{content:\"\\e9e6\";opacity:0.3;}.icon-Down-left .path2:before{content:\"\\e9e7\";margin-left:-1em;}.icon-Down-right .path1:before{content:\"\\e9e8\";opacity:0.3;}.icon-Down-right .path2:before{content:\"\\e9e9\";margin-left:-1em;}.icon-Exchange .path1:before{content:\"\\e9ea\";opacity:0.3;}.icon-Exchange .path2:before{content:\"\\e9eb\";margin-left:-1em;}.icon-Exchange .path3:before{content:\"\\e9ec\";margin-left:-1em;opacity:0.3;}.icon-Exchange .path4:before{content:\"\\e9ed\";margin-left:-1em;}.icon-Left-3 .path1:before{content:\"\\e9ee\";}.icon-Left-3 .path2:before{content:\"\\e9ef\";margin-left:-1em;opacity:0.3;}.icon-Left-2 .path1:before{content:\"\\e9f0\";opacity:0.3;}.icon-Left-2 .path2:before{content:\"\\e9f1\";margin-left:-1em;}.icon-Minus1:before{content:\"\\e9f2\";}.icon-Plus1 .path1:before{content:\"\\e9f3\";}.icon-Plus1 .path2:before{content:\"\\e9f4\";margin-left:-1em;opacity:0.3;}.icon-Right-3 .path1:before{content:\"\\e9f5\";}.icon-Right-3 .path2:before{content:\"\\e9f6\";margin-left:-1em;opacity:0.3;}.icon-Right-2 .path1:before{content:\"\\e9f7\";opacity:0.3;}.icon-Right-2 .path2:before{content:\"\\e9f8\";margin-left:-1em;}.icon-Route .path1:before{content:\"\\e9f9\";opacity:0.3;}.icon-Route .path2:before{content:\"\\e9fa\";margin-left:-1em;}.icon-Route .path3:before{content:\"\\e9fb\";margin-left:-1em;}.icon-Sign-in .path1:before{content:\"\\e9fc\";opacity:0.3;}.icon-Sign-in .path2:before{content:\"\\e9fd\";margin-left:-1em;opacity:0.3;}.icon-Sign-in .path3:before{content:\"\\e9fe\";margin-left:-1em;}.icon-Sign-out .path1:before{content:\"\\e9ff\";opacity:0.3;}.icon-Sign-out .path2:before{content:\"\\ea00\";margin-left:-1em;opacity:0.3;}.icon-Sign-out .path3:before{content:\"\\ea01\";margin-left:-1em;}.icon-Up-2 .path1:before{content:\"\\ea02\";opacity:0.3;}.icon-Up-2 .path2:before{content:\"\\ea03\";margin-left:-1em;}.icon-Up-down .path1:before{content:\"\\ea04\";opacity:0.3;}.icon-Up-down .path2:before{content:\"\\ea05\";margin-left:-1em;}.icon-Up-down .path3:before{content:\"\\ea06\";margin-left:-1em;opacity:0.3;}.icon-Up-down .path4:before{content:\"\\ea07\";margin-left:-1em;}.icon-Up-left .path1:before{content:\"\\ea08\";opacity:0.3;}.icon-Up-left .path2:before{content:\"\\ea09\";margin-left:-1em;}.icon-Up-right .path1:before{content:\"\\ea0a\";opacity:0.3;}.icon-Up-right .path2:before{content:\"\\ea0b\";margin-left:-1em;}.icon-Waiting:before{content:\"\\ea0c\";}.icon-Add-music .path1:before{content:\"\\ea0d\";}.icon-Add-music .path2:before{content:\"\\ea0e\";margin-left:-1em;opacity:0.3;}.icon-Airplay .path1:before{content:\"\\ea0f\";opacity:0.3;}.icon-Airplay .path2:before{content:\"\\ea10\";margin-left:-1em;}.icon-Airplay-video .path1:before{content:\"\\ea11\";}.icon-Airplay-video .path2:before{content:\"\\ea12\";margin-left:-1em;opacity:0.3;}.icon-Back .path1:before{content:\"\\ea13\";}.icon-Back .path2:before{content:\"\\ea14\";margin-left:-1em;opacity:0.3;}.icon-Backward .path1:before{content:\"\\ea15\";opacity:0.3;}.icon-Backward .path2:before{content:\"\\ea16\";margin-left:-1em;}.icon-CD .path1:before{content:\"\\ea17\";}.icon-CD .path2:before{content:\"\\ea18\";margin-left:-1em;opacity:0.3;}.icon-DVD .path1:before{content:\"\\ea19\";opacity:0.3;}.icon-DVD .path2:before{content:\"\\ea1a\";margin-left:-1em;}.icon-Eject .path1:before{content:\"\\ea1b\";}.icon-Eject .path2:before{content:\"\\ea1c\";margin-left:-1em;opacity:0.3;}.icon-Equalizer .path1:before{content:\"\\ea1d\";opacity:0.3;}.icon-Equalizer .path2:before{content:\"\\ea1e\";margin-left:-1em;}.icon-Equalizer .path3:before{content:\"\\ea1f\";margin-left:-1em;}.icon-Equalizer .path4:before{content:\"\\ea20\";margin-left:-1em;}.icon-Forward .path1:before{content:\"\\ea21\";opacity:0.3;}.icon-Forward .path2:before{content:\"\\ea22\";margin-left:-1em;}.icon-Media-library .path1:before{content:\"\\ea23\";opacity:0.3;}.icon-Media-library .path2:before{content:\"\\ea24\";margin-left:-1em;opacity:0.3;}.icon-Media-library .path3:before{content:\"\\ea25\";margin-left:-1em;opacity:0.3;}.icon-Media-library .path4:before{content:\"\\ea26\";margin-left:-1em;}.icon-Media-library1 .path1:before{content:\"\\ea27\";opacity:0.3;}.icon-Media-library1 .path2:before{content:\"\\ea28\";margin-left:-1em;}.icon-Media-library2 .path1:before{content:\"\\ea29\";opacity:0.0900;}.icon-Media-library2 .path2:before{content:\"\\ea2a\";margin-left:-1em;}.icon-Movie-Lane .path1:before{content:\"\\ea2b\";opacity:0.3;}.icon-Movie-Lane .path2:before{content:\"\\ea2c\";margin-left:-1em;}.icon-Movie-lane .path1:before{content:\"\\ea2d\";opacity:0.3;}.icon-Movie-lane .path2:before{content:\"\\ea2e\";margin-left:-1em;}.icon-Music1:before{content:\"\\ea2f\";}.icon-Music-cloud .path1:before{content:\"\\ea30\";opacity:0.3;}.icon-Music-cloud .path2:before{content:\"\\ea31\";margin-left:-1em;}.icon-Music-note:before{content:\"\\ea32\";}.icon-Mute .path1:before{content:\"\\ea33\";opacity:0.3;}.icon-Mute .path2:before{content:\"\\ea34\";margin-left:-1em;}.icon-Next .path1:before{content:\"\\ea35\";}.icon-Next .path2:before{content:\"\\ea36\";margin-left:-1em;opacity:0.3;}.icon-Pause:before{content:\"\\ea37\";}.icon-Play:before{content:\"\\ea38\";}.icon-Playlist .path1:before{content:\"\\ea39\";}.icon-Playlist .path2:before{content:\"\\ea3a\";margin-left:-1em;opacity:0.3;}.icon-Playlist1 .path1:before{content:\"\\ea3b\";opacity:0.3;}.icon-Playlist1 .path2:before{content:\"\\ea3c\";margin-left:-1em;}.icon-Rec:before{content:\"\\ea3d\";}.icon-Repeat .path1:before{content:\"\\ea3e\";}.icon-Repeat .path2:before{content:\"\\ea3f\";margin-left:-1em;opacity:0.3;}.icon-Repeat-one .path1:before{content:\"\\ea40\";opacity:0.3;}.icon-Repeat-one .path2:before{content:\"\\ea41\";margin-left:-1em;}.icon-Shuffle .path1:before{content:\"\\ea42\";opacity:0.3;}.icon-Shuffle .path2:before{content:\"\\ea43\";margin-left:-1em;}.icon-Volume-down .path1:before{content:\"\\ea44\";opacity:0.3;}.icon-Volume-down .path2:before{content:\"\\ea45\";margin-left:-1em;}.icon-Volume-full .path1:before{content:\"\\ea46\";opacity:0.3;}.icon-Volume-full .path2:before{content:\"\\ea47\";margin-left:-1em;}.icon-Volume-half .path1:before{content:\"\\ea48\";opacity:0.3;}.icon-Volume-half .path2:before{content:\"\\ea49\";margin-left:-1em;}.icon-Volume-up .path1:before{content:\"\\ea4a\";opacity:0.3;}.icon-Volume-up .path2:before{content:\"\\ea4b\";margin-left:-1em;}.icon-Vynil .path1:before{content:\"\\ea4c\";}.icon-Vynil .path2:before{content:\"\\ea4d\";margin-left:-1em;opacity:0.3;}.icon-Youtube .path1:before{content:\"\\ea4e\";opacity:0.3;}.icon-Youtube .path2:before{content:\"\\ea4f\";margin-left:-1em;}.icon-Compass1:before{content:\"\\ea50\";}.icon-Direction1:before{content:\"\\ea51\";}.icon-136:before{content:\"\\ea51\";}.icon-Direction:before{content:\"\\ea52\";}.icon-228:before{content:\"\\ea52\";}.icon-Location-arrow:before{content:\"\\ea53\";}.icon-Marker:before{content:\"\\ea54\";}.icon-128:before{content:\"\\ea54\";}.icon-Marker1:before{content:\"\\ea55\";}.icon-229:before{content:\"\\ea55\";}.icon-Position1 .path1:before{content:\"\\ea56\";opacity:0.3;}.icon-Position1 .path2:before{content:\"\\ea57\";margin-left:-1em;opacity:0.3;}.icon-Position1 .path3:before{content:\"\\ea58\";margin-left:-1em;}.icon-Layout-3d .path1:before{content:\"\\ea59\";}.icon-Layout-3d .path2:before{content:\"\\ea5a\";margin-left:-1em;opacity:0.3;}.icon-Layout-4-blocks .path1:before{content:\"\\ea5b\";}.icon-Layout-4-blocks .path2:before{content:\"\\ea5c\";margin-left:-1em;opacity:0.3;}.icon-Layout-arrange .path1:before{content:\"\\ea5d\";}.icon-Layout-arrange .path2:before{content:\"\\ea5e\";margin-left:-1em;opacity:0.3;}.icon-Layout-grid .path1:before{content:\"\\ea5f\";opacity:0.3;}.icon-Layout-grid .path2:before{content:\"\\ea60\";margin-left:-1em;}.icon-Layout-horizontal .path1:before{content:\"\\ea61\";opacity:0.3;}.icon-Layout-horizontal .path2:before{content:\"\\ea62\";margin-left:-1em;}.icon-Layout-left-panel-1 .path1:before{content:\"\\ea63\";}.icon-Layout-left-panel-1 .path2:before{content:\"\\ea64\";margin-left:-1em;opacity:0.3;}.icon-Layout-left-panel-2 .path1:before{content:\"\\ea65\";}.icon-Layout-left-panel-2 .path2:before{content:\"\\ea66\";margin-left:-1em;opacity:0.3;}.icon-Layout-right-panel-1 .path1:before{content:\"\\ea67\";}.icon-Layout-right-panel-1 .path2:before{content:\"\\ea68\";margin-left:-1em;opacity:0.3;}.icon-Layout-right-panel-2 .path1:before{content:\"\\ea69\";}.icon-Layout-right-panel-2 .path2:before{content:\"\\ea6a\";margin-left:-1em;opacity:0.3;}.icon-Layout-top-panel-1 .path1:before{content:\"\\ea6b\";}.icon-Layout-top-panel-1 .path2:before{content:\"\\ea6c\";margin-left:-1em;opacity:0.3;}.icon-Layout-top-panel-2 .path1:before{content:\"\\ea6d\";}.icon-Layout-top-panel-2 .path2:before{content:\"\\ea6e\";margin-left:-1em;opacity:0.3;}.icon-Layout-top-panel-3 .path1:before{content:\"\\ea6f\";}.icon-Layout-top-panel-3 .path2:before{content:\"\\ea70\";margin-left:-1em;opacity:0.3;}.icon-Layout-top-panel-4 .path1:before{content:\"\\ea71\";}.icon-Layout-top-panel-4 .path2:before{content:\"\\ea72\";margin-left:-1em;opacity:0.3;}.icon-Layout-top-panel-5 .path1:before{content:\"\\ea73\";}.icon-Layout-top-panel-5 .path2:before{content:\"\\ea74\";margin-left:-1em;opacity:0.3;}.icon-Layout-top-panel-6 .path1:before{content:\"\\ea75\";}.icon-Layout-top-panel-6 .path2:before{content:\"\\ea76\";margin-left:-1em;opacity:0.3;}.icon-Layout-vertical .path1:before{content:\"\\ea77\";}.icon-Layout-vertical .path2:before{content:\"\\ea78\";margin-left:-1em;opacity:0.3;}.icon-Air-ballon .path1:before{content:\"\\ea79\";}.icon-Air-ballon .path2:before{content:\"\\ea7a\";margin-left:-1em;opacity:0.3;}.icon-Alarm-clock .path1:before{content:\"\\ea7b\";}.icon-Alarm-clock .path2:before{content:\"\\ea7c\";margin-left:-1em;opacity:0.3;}.icon-Alarm-clock .path3:before{content:\"\\ea7d\";margin-left:-1em;}.icon-Armchair .path1:before{content:\"\\ea7e\";opacity:0.3;}.icon-Armchair .path2:before{content:\"\\ea7f\";margin-left:-1em;opacity:0.3;}.icon-Armchair .path3:before{content:\"\\ea80\";margin-left:-1em;}.icon-Bag-chair:before{content:\"\\ea81\";}.icon-Bath .path1:before{content:\"\\ea82\";opacity:0.3;}.icon-Bath .path2:before{content:\"\\ea83\";margin-left:-1em;opacity:0.3;}.icon-Bath .path3:before{content:\"\\ea84\";margin-left:-1em;}.icon-Bed .path1:before{content:\"\\ea85\";opacity:0.3;}.icon-Bed .path2:before{content:\"\\ea86\";margin-left:-1em;}.icon-Bed .path3:before{content:\"\\ea87\";margin-left:-1em;opacity:0.3;}.icon-Book:before{content:\"\\ea88\";}.icon-Book-open .path1:before{content:\"\\ea89\";}.icon-Book-open .path2:before{content:\"\\ea8a\";margin-left:-1em;opacity:0.3;}.icon-Box .path1:before{content:\"\\ea8b\";}.icon-Box .path2:before{content:\"\\ea8c\";margin-left:-1em;opacity:0.3;}.icon-Broom .path1:before{content:\"\\ea8d\";opacity:0.3;}.icon-Broom .path2:before{content:\"\\ea8e\";margin-left:-1em;}.icon-Building .path1:before{content:\"\\ea8f\";}.icon-Building .path2:before{content:\"\\ea90\";margin-left:-1em;color:rgb(255,255,255);}.icon-Building .path3:before{content:\"\\ea91\";margin-left:-1em;opacity:0.3;}.icon-Bulb .path1:before{content:\"\\ea92\";opacity:0.3;}.icon-Bulb .path2:before{content:\"\\ea93\";margin-left:-1em;opacity:0.3;}.icon-Bulb .path3:before{content:\"\\ea94\";margin-left:-1em;opacity:0.3;}.icon-Bulb .path4:before{content:\"\\ea95\";margin-left:-1em;}.icon-Bulb1 .path1:before{content:\"\\ea96\";opacity:0.3;}.icon-Bulb1 .path2:before{content:\"\\ea97\";margin-left:-1em;opacity:0.3;}.icon-Bulb1 .path3:before{content:\"\\ea98\";margin-left:-1em;opacity:0.3;}.icon-Bulb1 .path4:before{content:\"\\ea99\";margin-left:-1em;}.icon-Chair .path1:before{content:\"\\ea9a\";}.icon-Chair .path2:before{content:\"\\ea9b\";margin-left:-1em;opacity:0.3;}.icon-Chair1 .path1:before{content:\"\\ea9c\";opacity:0.3;}.icon-Chair1 .path2:before{content:\"\\ea9d\";margin-left:-1em;}.icon-Clock .path1:before{content:\"\\ea9e\";opacity:0.3;}.icon-Clock .path2:before{content:\"\\ea9f\";margin-left:-1em;}.icon-Commode .path1:before{content:\"\\eaa0\";opacity:0.3;}.icon-Commode .path2:before{content:\"\\eaa1\";margin-left:-1em;}.icon-Commode1 .path1:before{content:\"\\eaa2\";opacity:0.3;}.icon-Commode1 .path2:before{content:\"\\eaa3\";margin-left:-1em;}.icon-Couch .path1:before{content:\"\\eaa4\";opacity:0.3;}.icon-Couch .path2:before{content:\"\\eaa5\";margin-left:-1em;opacity:0.3;}.icon-Couch .path3:before{content:\"\\eaa6\";margin-left:-1em;}.icon-Cupboard .path1:before{content:\"\\eaa7\";opacity:0.3;}.icon-Cupboard .path2:before{content:\"\\eaa8\";margin-left:-1em;}.icon-Curtains .path1:before{content:\"\\eaa9\";opacity:0.3;}.icon-Curtains .path2:before{content:\"\\eaaa\";margin-left:-1em;}.icon-Deer .path1:before{content:\"\\eaab\";opacity:0.3;}.icon-Deer .path2:before{content:\"\\eaac\";margin-left:-1em;}.icon-Door-open .path1:before{content:\"\\eaad\";opacity:0.3;}.icon-Door-open .path2:before{content:\"\\eaae\";margin-left:-1em;}.icon-Earth:before{content:\"\\eaaf\";}.icon-Fireplace .path1:before{content:\"\\eab0\";opacity:0.3;}.icon-Fireplace .path2:before{content:\"\\eab1\";margin-left:-1em;}.icon-Flashlight .path1:before{content:\"\\eab2\";}.icon-Flashlight .path2:before{content:\"\\eab3\";margin-left:-1em;opacity:0.3;}.icon-Flower .path1:before{content:\"\\eab4\";opacity:0.3;}.icon-Flower .path2:before{content:\"\\eab5\";margin-left:-1em;opacity:0.3;}.icon-Flower .path3:before{content:\"\\eab6\";margin-left:-1em;opacity:0.3;}.icon-Flower .path4:before{content:\"\\eab7\";margin-left:-1em;}.icon-Flower1:before{content:\"\\eab8\";}.icon-239:before{content:\"\\eab8\";}.icon-Flower2:before{content:\"\\eab9\";}.icon-38:before{content:\"\\eab9\";}.icon-Globe .path1:before{content:\"\\eaba\";}.icon-Globe .path2:before{content:\"\\eabb\";margin-left:-1em;opacity:0.3;}.icon-Home:before{content:\"\\eabc\";}.icon-Home-heart:before{content:\"\\eabd\";}.icon-Key .path1:before{content:\"\\eabe\";opacity:0.3;}.icon-Key .path2:before{content:\"\\eabf\";margin-left:-1em;}.icon-Ladder .path1:before{content:\"\\eac0\";opacity:0.3;}.icon-Ladder .path2:before{content:\"\\eac1\";margin-left:-1em;}.icon-Lamp .path1:before{content:\"\\eac2\";}.icon-Lamp .path2:before{content:\"\\eac3\";margin-left:-1em;opacity:0.3;}.icon-Lamp .path3:before{content:\"\\eac4\";margin-left:-1em;color:rgb(255,255,255);}.icon-Lamp .path4:before{content:\"\\eac5\";margin-left:-1em;}.icon-Lamp1 .path1:before{content:\"\\eac6\";opacity:0.3;}.icon-Lamp1 .path2:before{content:\"\\eac7\";margin-left:-1em;opacity:0.3;}.icon-Lamp1 .path3:before{content:\"\\eac8\";margin-left:-1em;}.icon-Library .path1:before{content:\"\\eac9\";}.icon-Library .path2:before{content:\"\\eaca\";margin-left:-1em;opacity:0.3;}.icon-Mailbox .path1:before{content:\"\\eacb\";}.icon-Mailbox .path2:before{content:\"\\eacc\";margin-left:-1em;opacity:0.3;}.icon-Mirror .path1:before{content:\"\\eacd\";}.icon-Mirror .path2:before{content:\"\\eace\";margin-left:-1em;opacity:0.3;}.icon-Picture .path1:before{content:\"\\eacf\";opacity:0.3;}.icon-Picture .path2:before{content:\"\\ead0\";margin-left:-1em;opacity:0.3;}.icon-Picture .path3:before{content:\"\\ead1\";margin-left:-1em;}.icon-Picture .path4:before{content:\"\\ead2\";margin-left:-1em;opacity:0.3;}.icon-Ruller:before{content:\"\\ead3\";}.icon-Stairs:before{content:\"\\ead4\";}.icon-Timer .path1:before{content:\"\\ead5\";opacity:0.3;}.icon-Timer .path2:before{content:\"\\ead6\";margin-left:-1em;}.icon-Timer .path3:before{content:\"\\ead7\";margin-left:-1em;}.icon-Timer .path4:before{content:\"\\ead8\";margin-left:-1em;}.icon-Toilet .path1:before{content:\"\\ead9\";opacity:0.3;}.icon-Toilet .path2:before{content:\"\\eada\";margin-left:-1em;}.icon-Toilet .path3:before{content:\"\\eadb\";margin-left:-1em;opacity:0.3;}.icon-Towel:before{content:\"\\eadc\";}.icon-Trash1 .path1:before{content:\"\\eadd\";}.icon-Trash1 .path2:before{content:\"\\eade\";margin-left:-1em;opacity:0.3;}.icon-Water-mixer .path1:before{content:\"\\eadf\";opacity:0.3;}.icon-Water-mixer .path2:before{content:\"\\eae0\";margin-left:-1em;}.icon-Water-mixer .path3:before{content:\"\\eae1\";margin-left:-1em;opacity:0.3;}.icon-Weight .path1:before{content:\"\\eae2\";}.icon-Weight .path2:before{content:\"\\eae3\";margin-left:-1em;opacity:0.3;}.icon-Weight1 .path1:before{content:\"\\eae4\";opacity:0.3;}.icon-Weight1 .path2:before{content:\"\\eae5\";margin-left:-1em;}.icon-Wood .path1:before{content:\"\\eae6\";opacity:0.3;}.icon-Wood .path2:before{content:\"\\eae7\";margin-left:-1em;}.icon-Wood1 .path1:before{content:\"\\eae8\";opacity:0.3;}.icon-Wood1 .path2:before{content:\"\\eae9\";margin-left:-1em;}.icon-Wood-horse:before{content:\"\\eaea\";}.icon-Attachment .path1:before{content:\"\\eaeb\";opacity:0.3;}.icon-Attachment .path2:before{content:\"\\eaec\";margin-left:-1em;}.icon-Attachment1 .path1:before{content:\"\\eaed\";opacity:0.3;}.icon-Attachment1 .path2:before{content:\"\\eaee\";margin-left:-1em;}.icon-Attachment1 .path3:before{content:\"\\eaef\";margin-left:-1em;opacity:0.3;}.icon-Attachment1 .path4:before{content:\"\\eaf0\";margin-left:-1em;opacity:0.3;}.icon-Binocular:before{content:\"\\eaf1\";}.icon-Bookmark:before{content:\"\\eaf2\";}.icon-Clip:before{content:\"\\eaf3\";}.icon-Clipboard .path1:before{content:\"\\eaf4\";opacity:0.3;}.icon-Clipboard .path2:before{content:\"\\eaf5\";margin-left:-1em;}.icon-Clipboard .path3:before{content:\"\\eaf6\";margin-left:-1em;opacity:0.3;}.icon-Clipboard .path4:before{content:\"\\eaf7\";margin-left:-1em;opacity:0.3;}.icon-Cursor:before{content:\"\\eaf8\";}.icon-Dislike .path1:before{content:\"\\eaf9\";}.icon-Dislike .path2:before{content:\"\\eafa\";margin-left:-1em;opacity:0.3;}.icon-Duplicate .path1:before{content:\"\\eafb\";opacity:0.3;}.icon-Duplicate .path2:before{content:\"\\eafc\";margin-left:-1em;}.icon-Edit1:before{content:\"\\eafd\";}.icon-Expand-arrows .path1:before{content:\"\\eafe\";opacity:0.3;}.icon-Expand-arrows .path2:before{content:\"\\eaff\";margin-left:-1em;}.icon-Fire:before{content:\"\\eb00\";}.icon-Folder1:before{content:\"\\eb01\";}.icon-Half-heart .path1:before{content:\"\\eb02\";opacity:0.3;}.icon-Half-heart .path2:before{content:\"\\eb03\";margin-left:-1em;}.icon-Half-star .path1:before{content:\"\\eb04\";opacity:0.3;}.icon-Half-star .path2:before{content:\"\\eb05\";margin-left:-1em;}.icon-Heart:before{content:\"\\eb06\";}.icon-Hidden .path1:before{content:\"\\eb07\";}.icon-Hidden .path2:before{content:\"\\eb08\";margin-left:-1em;}.icon-Hidden .path3:before{content:\"\\eb09\";margin-left:-1em;opacity:0.3;}.icon-Like .path1:before{content:\"\\eb0a\";}.icon-Like .path2:before{content:\"\\eb0b\";margin-left:-1em;opacity:0.3;}.icon-Lock:before{content:\"\\eb0c\";}.icon-Notification .path1:before{content:\"\\eb0d\";}.icon-Notification .path2:before{content:\"\\eb0e\";margin-left:-1em;opacity:0.3;}.icon-Notifications .path1:before{content:\"\\eb0f\";}.icon-Notifications .path2:before{content:\"\\eb10\";margin-left:-1em;opacity:0.3;}.icon-Other:before{content:\"\\eb11\";}.icon-133:before{content:\"\\eb11\";}.icon-Other1:before{content:\"\\eb12\";}.icon-234:before{content:\"\\eb12\";}.icon-Sad .path1:before{content:\"\\eb13\";opacity:0.3;}.icon-Sad .path2:before{content:\"\\eb14\";margin-left:-1em;}.icon-Save .path1:before{content:\"\\eb15\";}.icon-Save .path2:before{content:\"\\eb16\";margin-left:-1em;opacity:0.3;}.icon-Scale .path1:before{content:\"\\eb17\";}.icon-Scale .path2:before{content:\"\\eb18\";margin-left:-1em;opacity:0.3;}.icon-Scissors .path1:before{content:\"\\eb19\";opacity:0.3;}.icon-Scissors .path2:before{content:\"\\eb1a\";margin-left:-1em;}.icon-Search .path1:before{content:\"\\eb1b\";opacity:0.3;}.icon-Search .path2:before{content:\"\\eb1c\";margin-left:-1em;}.icon-Settings2 .path1:before{content:\"\\eb1d\";opacity:0.3;}.icon-Settings2 .path2:before{content:\"\\eb1e\";margin-left:-1em;}.icon-Settings-1 .path1:before{content:\"\\eb1f\";}.icon-Settings-1 .path2:before{content:\"\\eb20\";margin-left:-1em;opacity:0.3;}.icon-Settings-2:before{content:\"\\eb21\";}.icon-Shield-check .path1:before{content:\"\\eb22\";opacity:0.3;}.icon-Shield-check .path2:before{content:\"\\eb23\";margin-left:-1em;}.icon-Shield-disabled .path1:before{content:\"\\eb24\";opacity:0.3;}.icon-Shield-disabled .path2:before{content:\"\\eb25\";margin-left:-1em;}.icon-Shield-protected .path1:before{content:\"\\eb26\";opacity:0.3;}.icon-Shield-protected .path2:before{content:\"\\eb27\";margin-left:-1em;}.icon-Size .path1:before{content:\"\\eb28\";}.icon-Size .path2:before{content:\"\\eb29\";margin-left:-1em;opacity:0.3;}.icon-Smile .path1:before{content:\"\\eb2a\";opacity:0.3;}.icon-Smile .path2:before{content:\"\\eb2b\";margin-left:-1em;}.icon-Star:before{content:\"\\eb2c\";}.icon-Thunder1:before{content:\"\\eb2d\";}.icon-Thunder-move .path1:before{content:\"\\eb2e\";}.icon-Thunder-move .path2:before{content:\"\\eb2f\";margin-left:-1em;opacity:0.3;}.icon-Trash .path1:before{content:\"\\eb30\";}.icon-Trash .path2:before{content:\"\\eb31\";margin-left:-1em;opacity:0.3;}.icon-Unlock:before{content:\"\\eb32\";}.icon-Update:before{content:\"\\eb33\";}.icon-User .path1:before{content:\"\\eb34\";opacity:0.3;}.icon-User .path2:before{content:\"\\eb35\";margin-left:-1em;}.icon-Visible:before{content:\"\\eb36\";}.icon-Beer .path1:before{content:\"\\eb37\";opacity:0.3;}.icon-Beer .path2:before{content:\"\\eb38\";margin-left:-1em;opacity:0.3;}.icon-Beer .path3:before{content:\"\\eb39\";margin-left:-1em;opacity:0.3;}.icon-Beer .path4:before{content:\"\\eb3a\";margin-left:-1em;opacity:0.3;}.icon-Beer .path5:before{content:\"\\eb3b\";margin-left:-1em;}.icon-Bottle .path1:before{content:\"\\eb3c\";}.icon-Bottle .path2:before{content:\"\\eb3d\";margin-left:-1em;opacity:0.3;}.icon-Bottle1 .path1:before{content:\"\\eb3e\";}.icon-Bottle1 .path2:before{content:\"\\eb3f\";margin-left:-1em;opacity:0.3;}.icon-Bread .path1:before{content:\"\\eb40\";opacity:0.3;}.icon-Bread .path2:before{content:\"\\eb41\";margin-left:-1em;}.icon-Bucket1 .path1:before{content:\"\\eb42\";opacity:0.3;}.icon-Bucket1 .path2:before{content:\"\\eb43\";margin-left:-1em;}.icon-Burger .path1:before{content:\"\\eb44\";}.icon-Burger .path2:before{content:\"\\eb45\";margin-left:-1em;}.icon-Burger .path3:before{content:\"\\eb46\";margin-left:-1em;opacity:0.3;}.icon-Cake .path1:before{content:\"\\eb47\";}.icon-Cake .path2:before{content:\"\\eb48\";margin-left:-1em;opacity:0.3;}.icon-Cake .path3:before{content:\"\\eb49\";margin-left:-1em;opacity:0.3;}.icon-Carrot .path1:before{content:\"\\eb4a\";opacity:0.3;}.icon-Carrot .path2:before{content:\"\\eb4b\";margin-left:-1em;opacity:0.3;}.icon-Carrot .path3:before{content:\"\\eb4c\";margin-left:-1em;opacity:0.3;}.icon-Carrot .path4:before{content:\"\\eb4d\";margin-left:-1em;}.icon-Cheese .path1:before{content:\"\\eb4e\";}.icon-Cheese .path2:before{content:\"\\eb4f\";margin-left:-1em;opacity:0.3;}.icon-Chicken .path1:before{content:\"\\eb50\";}.icon-Chicken .path2:before{content:\"\\eb51\";margin-left:-1em;opacity:0.3;}.icon-Coffee .path1:before{content:\"\\eb52\";}.icon-Coffee .path2:before{content:\"\\eb53\";margin-left:-1em;opacity:0.3;}.icon-Coffee .path3:before{content:\"\\eb54\";margin-left:-1em;opacity:0.3;}.icon-Coffee .path4:before{content:\"\\eb55\";margin-left:-1em;opacity:0.3;}.icon-Coffee .path5:before{content:\"\\eb56\";margin-left:-1em;opacity:0.3;}.icon-Coffee1 .path1:before{content:\"\\eb57\";opacity:0.3;}.icon-Coffee1 .path2:before{content:\"\\eb58\";margin-left:-1em;}.icon-Coffee1 .path3:before{content:\"\\eb59\";margin-left:-1em;opacity:0.3;}.icon-Cookie:before{content:\"\\eb5a\";}.icon-Dinner1 .path1:before{content:\"\\eb5b\";opacity:0.3;}.icon-Dinner1 .path2:before{content:\"\\eb5c\";margin-left:-1em;}.icon-Fish .path1:before{content:\"\\eb5d\";opacity:0.3;}.icon-Fish .path2:before{content:\"\\eb5e\";margin-left:-1em;}.icon-French-Bread:before{content:\"\\eb5f\";}.icon-Glass-martini .path1:before{content:\"\\eb60\";opacity:0.3;}.icon-Glass-martini .path2:before{content:\"\\eb61\";margin-left:-1em;}.icon-Ice-cream1 .path1:before{content:\"\\eb62\";opacity:0.3;}.icon-Ice-cream1 .path2:before{content:\"\\eb63\";margin-left:-1em;}.icon-Ice-cream .path1:before{content:\"\\eb64\";}.icon-Ice-cream .path2:before{content:\"\\eb65\";margin-left:-1em;opacity:0.3;}.icon-Miso-soup .path1:before{content:\"\\eb66\";}.icon-Miso-soup .path2:before{content:\"\\eb67\";margin-left:-1em;opacity:0.3;}.icon-Orange .path1:before{content:\"\\eb68\";}.icon-Orange .path2:before{content:\"\\eb69\";margin-left:-1em;opacity:0.3;}.icon-Pizza:before{content:\"\\eb6a\";}.icon-Sushi .path1:before{content:\"\\eb6b\";}.icon-Sushi .path2:before{content:\"\\eb6c\";margin-left:-1em;opacity:0.3;}.icon-Two-bottles .path1:before{content:\"\\eb6d\";}.icon-Two-bottles .path2:before{content:\"\\eb6e\";margin-left:-1em;opacity:0.3;}.icon-Wine .path1:before{content:\"\\eb6f\";opacity:0.3;}.icon-Wine .path2:before{content:\"\\eb70\";margin-left:-1em;}.icon-Cloud-download .path1:before{content:\"\\eb71\";opacity:0.3;}.icon-Cloud-download .path2:before{content:\"\\eb72\";margin-left:-1em;}.icon-Cloud-upload .path1:before{content:\"\\eb73\";opacity:0.3;}.icon-Cloud-upload .path2:before{content:\"\\eb74\";margin-left:-1em;}.icon-Compilation .path1:before{content:\"\\eb75\";opacity:0.3;}.icon-Compilation .path2:before{content:\"\\eb76\";margin-left:-1em;opacity:0.3;}.icon-Compilation .path3:before{content:\"\\eb77\";margin-left:-1em;opacity:0.3;}.icon-Compilation .path4:before{content:\"\\eb78\";margin-left:-1em;}.icon-Compilation .path5:before{content:\"\\eb79\";margin-left:-1em;}.icon-Compiled-file .path1:before{content:\"\\eb7a\";opacity:0.3;}.icon-Compiled-file .path2:before{content:\"\\eb7b\";margin-left:-1em;opacity:0.3;}.icon-Compiled-file .path3:before{content:\"\\eb7c\";margin-left:-1em;opacity:0.3;}.icon-Compiled-file .path4:before{content:\"\\eb7d\";margin-left:-1em;}.icon-Compiled-file .path5:before{content:\"\\eb7e\";margin-left:-1em;}.icon-Deleted-file .path1:before{content:\"\\eb7f\";opacity:0.3;}.icon-Deleted-file .path2:before{content:\"\\eb80\";margin-left:-1em;}.icon-Deleted-folder .path1:before{content:\"\\eb81\";opacity:0.3;}.icon-Deleted-folder .path2:before{content:\"\\eb82\";margin-left:-1em;}.icon-Download .path1:before{content:\"\\eb83\";opacity:0.3;}.icon-Download .path2:before{content:\"\\eb84\";margin-left:-1em;opacity:0.3;}.icon-Download .path3:before{content:\"\\eb85\";margin-left:-1em;}.icon-Downloaded-file .path1:before{content:\"\\eb86\";opacity:0.3;}.icon-Downloaded-file .path2:before{content:\"\\eb87\";margin-left:-1em;}.icon-Downloads-folder .path1:before{content:\"\\eb88\";opacity:0.3;}.icon-Downloads-folder .path2:before{content:\"\\eb89\";margin-left:-1em;}.icon-Export .path1:before{content:\"\\eb8a\";opacity:0.3;}.icon-Export .path2:before{content:\"\\eb8b\";margin-left:-1em;opacity:0.3;}.icon-Export .path3:before{content:\"\\eb8c\";margin-left:-1em;}.icon-File .path1:before{content:\"\\eb8d\";opacity:0.3;}.icon-File .path2:before{content:\"\\eb8e\";margin-left:-1em;}.icon-File .path3:before{content:\"\\eb8f\";margin-left:-1em;}.icon-File-cloud .path1:before{content:\"\\eb90\";opacity:0.3;}.icon-File-cloud .path2:before{content:\"\\eb91\";margin-left:-1em;}.icon-File-done .path1:before{content:\"\\eb92\";opacity:0.3;}.icon-File-done .path2:before{content:\"\\eb93\";margin-left:-1em;}.icon-File-minus .path1:before{content:\"\\eb94\";opacity:0.3;}.icon-File-minus .path2:before{content:\"\\eb95\";margin-left:-1em;}.icon-File-plus .path1:before{content:\"\\eb96\";opacity:0.3;}.icon-File-plus .path2:before{content:\"\\eb97\";margin-left:-1em;}.icon-Folder:before{content:\"\\eb98\";}.icon-Folder-check .path1:before{content:\"\\eb99\";opacity:0.3;}.icon-Folder-check .path2:before{content:\"\\eb9a\";margin-left:-1em;}.icon-Folder-cloud .path1:before{content:\"\\eb9b\";opacity:0.3;}.icon-Folder-cloud .path2:before{content:\"\\eb9c\";margin-left:-1em;}.icon-Folder-error .path1:before{content:\"\\eb9d\";}.icon-Folder-error .path2:before{content:\"\\eb9e\";margin-left:-1em;opacity:0.3;}.icon-Folder-heart:before{content:\"\\eb9f\";}.icon-Folder-minus .path1:before{content:\"\\eba0\";opacity:0.3;}.icon-Folder-minus .path2:before{content:\"\\eba1\";margin-left:-1em;}.icon-Folder-plus .path1:before{content:\"\\eba2\";opacity:0.3;}.icon-Folder-plus .path2:before{content:\"\\eba3\";margin-left:-1em;}.icon-Folder-solid:before{content:\"\\eba4\";}.icon-Folder-star:before{content:\"\\eba5\";}.icon-Folder-thunder:before{content:\"\\eba6\";}.icon-Group-folders .path1:before{content:\"\\eba7\";opacity:0.3;}.icon-Group-folders .path2:before{content:\"\\eba8\";margin-left:-1em;}.icon-Import .path1:before{content:\"\\eba9\";opacity:0.3;}.icon-Import .path2:before{content:\"\\ebaa\";margin-left:-1em;opacity:0.3;}.icon-Import .path3:before{content:\"\\ebab\";margin-left:-1em;}.icon-Locked-folder .path1:before{content:\"\\ebac\";opacity:0.3;}.icon-Locked-folder .path2:before{content:\"\\ebad\";margin-left:-1em;}.icon-Media .path1:before{content:\"\\ebae\";opacity:0.3;}.icon-Media .path2:before{content:\"\\ebaf\";margin-left:-1em;}.icon-Media-folder .path1:before{content:\"\\ebb0\";opacity:0.3;}.icon-Media-folder .path2:before{content:\"\\ebb1\";margin-left:-1em;}.icon-Music .path1:before{content:\"\\ebb2\";opacity:0.3;}.icon-Music .path2:before{content:\"\\ebb3\";margin-left:-1em;}.icon-Pictures .path1:before{content:\"\\ebb4\";opacity:0.3;}.icon-Pictures .path2:before{content:\"\\ebb5\";margin-left:-1em;opacity:0.3;}.icon-Pictures .path3:before{content:\"\\ebb6\";margin-left:-1em;}.icon-Pictures .path4:before{content:\"\\ebb7\";margin-left:-1em;opacity:0.3;}.icon-Pictures1:before{content:\"\\ebb8\";}.icon-221:before{content:\"\\ebb8\";}.icon-Protected-file .path1:before{content:\"\\ebb9\";opacity:0.3;}.icon-Protected-file .path2:before{content:\"\\ebba\";margin-left:-1em;}.icon-Selected-file .path1:before{content:\"\\ebbb\";opacity:0.3;}.icon-Selected-file .path2:before{content:\"\\ebbc\";margin-left:-1em;}.icon-Share1 .path1:before{content:\"\\ebbd\";}.icon-Share1 .path2:before{content:\"\\ebbe\";margin-left:-1em;opacity:0.3;}.icon-Share1 .path3:before{content:\"\\ebbf\";margin-left:-1em;opacity:0.3;}.icon-Share1 .path4:before{content:\"\\ebc0\";margin-left:-1em;opacity:0.3;}.icon-Upload .path1:before{content:\"\\ebc1\";opacity:0.3;}.icon-Upload .path2:before{content:\"\\ebc2\";margin-left:-1em;opacity:0.3;}.icon-Upload .path3:before{content:\"\\ebc3\";margin-left:-1em;}.icon-Uploaded-file .path1:before{content:\"\\ebc4\";opacity:0.3;}.icon-Uploaded-file .path2:before{content:\"\\ebc5\";margin-left:-1em;}.icon-Upload-folder .path1:before{content:\"\\ebc6\";opacity:0.3;}.icon-Upload-folder .path2:before{content:\"\\ebc7\";margin-left:-1em;}.icon-User-folder:before{content:\"\\ebc8\";}.icon-Air-conditioning .path1:before{content:\"\\ebc9\";}.icon-Air-conditioning .path2:before{content:\"\\ebca\";margin-left:-1em;opacity:0.3;}.icon-air-dryer .path1:before{content:\"\\ebcb\";opacity:0.3;}.icon-air-dryer .path2:before{content:\"\\ebcc\";margin-left:-1em;}.icon-Blender .path1:before{content:\"\\ebcd\";}.icon-Blender .path2:before{content:\"\\ebce\";margin-left:-1em;opacity:0.3;}.icon-Fan:before{content:\"\\ebcf\";}.icon-Fridge:before{content:\"\\ebd0\";}.icon-Gas-stove .path1:before{content:\"\\ebd1\";}.icon-Gas-stove .path2:before{content:\"\\ebd2\";margin-left:-1em;opacity:0.3;}.icon-Highvoltage:before{content:\"\\ebd3\";}.icon-Iron .path1:before{content:\"\\ebd4\";opacity:0.3;}.icon-Iron .path2:before{content:\"\\ebd5\";margin-left:-1em;}.icon-Kettle .path1:before{content:\"\\ebd6\";}.icon-Kettle .path2:before{content:\"\\ebd7\";margin-left:-1em;opacity:0.3;}.icon-Mixer .path1:before{content:\"\\ebd8\";}.icon-Mixer .path2:before{content:\"\\ebd9\";margin-left:-1em;opacity:0.3;}.icon-Outlet .path1:before{content:\"\\ebda\";opacity:0.3;}.icon-Outlet .path2:before{content:\"\\ebdb\";margin-left:-1em;}.icon-Range-hood .path1:before{content:\"\\ebdc\";}.icon-Range-hood .path2:before{content:\"\\ebdd\";margin-left:-1em;opacity:0.3;}.icon-Shutdown .path1:before{content:\"\\ebde\";}.icon-Shutdown .path2:before{content:\"\\ebdf\";margin-left:-1em;opacity:0.3;}.icon-Socket-eu:before{content:\"\\ebe0\";}.icon-Socket-us:before{content:\"\\ebe1\";}.icon-Washer .path1:before{content:\"\\ebe2\";}.icon-Washer .path2:before{content:\"\\ebe3\";margin-left:-1em;opacity:0.3;}.icon-Airpods .path1:before{content:\"\\ebe4\";opacity:0.3;}.icon-Airpods .path2:before{content:\"\\ebe5\";margin-left:-1em;opacity:0.3;}.icon-Airpods .path3:before{content:\"\\ebe6\";margin-left:-1em;}.icon-Airpods .path4:before{content:\"\\ebe7\";margin-left:-1em;}.icon-Android .path1:before{content:\"\\ebe8\";}.icon-Android .path2:before{content:\"\\ebe9\";margin-left:-1em;opacity:0.3;}.icon-Apple-Watch .path1:before{content:\"\\ebea\";opacity:0.3;}.icon-Apple-Watch .path2:before{content:\"\\ebeb\";margin-left:-1em;}.icon-Battery-charging .path1:before{content:\"\\ebec\";}.icon-Battery-charging .path2:before{content:\"\\ebed\";margin-left:-1em;opacity:0.3;}.icon-Battery-charging .path3:before{content:\"\\ebee\";margin-left:-1em;opacity:0.3;}.icon-Battery-empty .path1:before{content:\"\\ebef\";}.icon-Battery-empty .path2:before{content:\"\\ebf0\";margin-left:-1em;opacity:0.3;}.icon-Battery-full .path1:before{content:\"\\ebf1\";}.icon-Battery-full .path2:before{content:\"\\ebf2\";margin-left:-1em;opacity:0.3;}.icon-Battery-half .path1:before{content:\"\\ebf3\";}.icon-Battery-half .path2:before{content:\"\\ebf4\";margin-left:-1em;opacity:0.3;}.icon-Bluetooth .path1:before{content:\"\\ebf5\";opacity:0.3;}.icon-Bluetooth .path2:before{content:\"\\ebf6\";margin-left:-1em;}.icon-Camera .path1:before{content:\"\\ebf7\";}.icon-Camera .path2:before{content:\"\\ebf8\";margin-left:-1em;opacity:0.3;}.icon-Camera .path3:before{content:\"\\ebf9\";margin-left:-1em;opacity:0.3;}.icon-Cardboard-vr .path1:before{content:\"\\ebfa\";opacity:0.3;}.icon-Cardboard-vr .path2:before{content:\"\\ebfb\";margin-left:-1em;}.icon-Cassete .path1:before{content:\"\\ebfc\";opacity:0.3;}.icon-Cassete .path2:before{content:\"\\ebfd\";margin-left:-1em;}.icon-Cassete .path3:before{content:\"\\ebfe\";margin-left:-1em;}.icon-CPU .path1:before{content:\"\\ebff\";opacity:0.3;}.icon-CPU .path2:before{content:\"\\ec00\";margin-left:-1em;opacity:0.3;}.icon-CPU .path3:before{content:\"\\ec01\";margin-left:-1em;}.icon-CPU .path4:before{content:\"\\ec02\";margin-left:-1em;}.icon-CPU .path5:before{content:\"\\ec03\";margin-left:-1em;}.icon-CPU .path6:before{content:\"\\ec04\";margin-left:-1em;}.icon-CPU .path7:before{content:\"\\ec05\";margin-left:-1em;}.icon-CPU .path8:before{content:\"\\ec06\";margin-left:-1em;}.icon-CPU1:before{content:\"\\ec07\";}.icon-222:before{content:\"\\ec07\";}.icon-Diagnostics .path1:before{content:\"\\ec08\";opacity:0.3;}.icon-Diagnostics .path2:before{content:\"\\ec09\";margin-left:-1em;}.icon-Diagnostics .path3:before{content:\"\\ec0a\";margin-left:-1em;opacity:0.3;}.icon-Display .path1:before{content:\"\\ec0b\";opacity:0.3;}.icon-Display .path2:before{content:\"\\ec0c\";margin-left:-1em;}.icon-Display1 .path1:before{content:\"\\ec0d\";opacity:0.3;}.icon-Display1 .path2:before{content:\"\\ec0e\";margin-left:-1em;opacity:0.3;}.icon-Display1 .path3:before{content:\"\\ec0f\";margin-left:-1em;}.icon-Display2 .path1:before{content:\"\\ec10\";opacity:0.3;}.icon-Display2 .path2:before{content:\"\\ec11\";margin-left:-1em;opacity:0.3;}.icon-Display2 .path3:before{content:\"\\ec12\";margin-left:-1em;}.icon-Gameboy .path1:before{content:\"\\ec13\";opacity:0.3;}.icon-Gameboy .path2:before{content:\"\\ec14\";margin-left:-1em;}.icon-Gamepad .path1:before{content:\"\\ec15\";opacity:0.3;}.icon-Gamepad .path2:before{content:\"\\ec16\";margin-left:-1em;}.icon-Gamepad1 .path1:before{content:\"\\ec17\";opacity:0.3;}.icon-Gamepad1 .path2:before{content:\"\\ec18\";margin-left:-1em;}.icon-Generator .path1:before{content:\"\\ec19\";opacity:0.3;}.icon-Generator .path2:before{content:\"\\ec1a\";margin-left:-1em;}.icon-Generator .path3:before{content:\"\\ec1b\";margin-left:-1em;}.icon-Generator .path4:before{content:\"\\ec1c\";margin-left:-1em;}.icon-Hard-drive .path1:before{content:\"\\ec1d\";}.icon-Hard-drive .path2:before{content:\"\\ec1e\";margin-left:-1em;opacity:0.3;}.icon-Headphones .path1:before{content:\"\\ec1f\";opacity:0.3;}.icon-Headphones .path2:before{content:\"\\ec20\";margin-left:-1em;}.icon-Homepod .path1:before{content:\"\\ec21\";opacity:0.3;}.icon-Homepod .path2:before{content:\"\\ec22\";margin-left:-1em;}.icon-iMac .path1:before{content:\"\\ec23\";}.icon-iMac .path2:before{content:\"\\ec24\";margin-left:-1em;opacity:0.3;}.icon-iMac .path3:before{content:\"\\ec25\";margin-left:-1em;opacity:0.3;}.icon-iPhone-back:before{content:\"\\ec26\";}.icon-iPhone-X .path1:before{content:\"\\ec27\";opacity:0.3;}.icon-iPhone-X .path2:before{content:\"\\ec28\";margin-left:-1em;}.icon-iPhone-x-back:before{content:\"\\ec29\";}.icon-Keyboard .path1:before{content:\"\\ec2a\";opacity:0.3;}.icon-Keyboard .path2:before{content:\"\\ec2b\";margin-left:-1em;}.icon-Laptop .path1:before{content:\"\\ec2c\";}.icon-Laptop .path2:before{content:\"\\ec2d\";margin-left:-1em;opacity:0.3;}.icon-Laptop-macbook .path1:before{content:\"\\ec2e\";}.icon-Laptop-macbook .path2:before{content:\"\\ec2f\";margin-left:-1em;opacity:0.3;}.icon-LTE .path1:before{content:\"\\ec30\";opacity:0.3;}.icon-LTE .path2:before{content:\"\\ec31\";margin-left:-1em;}.icon-LTE1 .path1:before{content:\"\\ec32\";opacity:0.3;}.icon-LTE1 .path2:before{content:\"\\ec33\";margin-left:-1em;}.icon-Mic .path1:before{content:\"\\ec34\";}.icon-Mic .path2:before{content:\"\\ec35\";margin-left:-1em;opacity:0.3;}.icon-Midi .path1:before{content:\"\\ec36\";opacity:0.3;}.icon-Midi .path2:before{content:\"\\ec37\";margin-left:-1em;opacity:0.3;}.icon-Midi .path3:before{content:\"\\ec38\";margin-left:-1em;opacity:0.3;}.icon-Midi .path4:before{content:\"\\ec39\";margin-left:-1em;opacity:0.3;}.icon-Midi .path5:before{content:\"\\ec3a\";margin-left:-1em;}.icon-Midi .path6:before{content:\"\\ec3b\";margin-left:-1em;}.icon-Midi .path7:before{content:\"\\ec3c\";margin-left:-1em;}.icon-Mouse .path1:before{content:\"\\ec3d\";opacity:0.3;}.icon-Mouse .path2:before{content:\"\\ec3e\";margin-left:-1em;}.icon-Mouse .path3:before{content:\"\\ec3f\";margin-left:-1em;}.icon-Phone .path1:before{content:\"\\ec40\";}.icon-Phone .path2:before{content:\"\\ec41\";margin-left:-1em;opacity:0.3;}.icon-Phone .path3:before{content:\"\\ec42\";margin-left:-1em;}.icon-Printer .path1:before{content:\"\\ec43\";}.icon-Printer .path2:before{content:\"\\ec44\";margin-left:-1em;opacity:0.3;}.icon-Radio .path1:before{content:\"\\ec45\";opacity:0.3;}.icon-Radio .path2:before{content:\"\\ec46\";margin-left:-1em;}.icon-Radio .path3:before{content:\"\\ec47\";margin-left:-1em;}.icon-Radio .path4:before{content:\"\\ec48\";margin-left:-1em;opacity:0.3;}.icon-Radio .path5:before{content:\"\\ec49\";margin-left:-1em;opacity:0.3;}.icon-Router .path1:before{content:\"\\ec4a\";}.icon-Router .path2:before{content:\"\\ec4b\";margin-left:-1em;opacity:0.3;}.icon-Router1 .path1:before{content:\"\\ec4c\";}.icon-Router1 .path2:before{content:\"\\ec4d\";margin-left:-1em;opacity:0.3;}.icon-SD-card:before{content:\"\\ec4e\";}.icon-Server .path1:before{content:\"\\ec4f\";opacity:0.3;}.icon-Server .path2:before{content:\"\\ec50\";margin-left:-1em;}.icon-Server .path3:before{content:\"\\ec51\";margin-left:-1em;}.icon-Speaker .path1:before{content:\"\\ec52\";}.icon-Speaker .path2:before{content:\"\\ec53\";margin-left:-1em;opacity:0.3;}.icon-Tablet .path1:before{content:\"\\ec54\";}.icon-Tablet .path2:before{content:\"\\ec55\";margin-left:-1em;opacity:0.3;}.icon-TV .path1:before{content:\"\\ec56\";}.icon-TV .path2:before{content:\"\\ec57\";margin-left:-1em;opacity:0.3;}.icon-TV .path3:before{content:\"\\ec58\";margin-left:-1em;opacity:0.3;}.icon-TV1 .path1:before{content:\"\\ec59\";}.icon-TV1 .path2:before{content:\"\\ec5a\";margin-left:-1em;opacity:0.3;}.icon-USB .path1:before{content:\"\\ec5b\";}.icon-USB .path2:before{content:\"\\ec5c\";margin-left:-1em;opacity:0.3;}.icon-USB .path3:before{content:\"\\ec5d\";margin-left:-1em;opacity:0.3;}.icon-Usb-storage .path1:before{content:\"\\ec5e\";}.icon-Usb-storage .path2:before{content:\"\\ec5f\";margin-left:-1em;opacity:0.3;}.icon-Video-camera .path1:before{content:\"\\ec60\";}.icon-Video-camera .path2:before{content:\"\\ec61\";margin-left:-1em;opacity:0.3;}.icon-Watch .path1:before{content:\"\\ec62\";}.icon-Watch .path2:before{content:\"\\ec63\";margin-left:-1em;opacity:0.3;}.icon-Watch .path3:before{content:\"\\ec64\";margin-left:-1em;opacity:0.3;}.icon-Watch .path4:before{content:\"\\ec65\";margin-left:-1em;opacity:0.3;}.icon-Watch1 .path1:before{content:\"\\ec66\";opacity:0.3;}.icon-Watch1 .path2:before{content:\"\\ec67\";margin-left:-1em;opacity:0.3;}.icon-Watch1 .path3:before{content:\"\\ec68\";margin-left:-1em;opacity:0.3;}.icon-Watch1 .path4:before{content:\"\\ec69\";margin-left:-1em;}.icon-Wi-fi .path1:before{content:\"\\ec6a\";opacity:0.3;}.icon-Wi-fi .path2:before{content:\"\\ec6b\";margin-left:-1em;}.icon-Adjust:before{content:\"\\ec6c\";}.icon-Anchor-center .path1:before{content:\"\\ec6d\";}.icon-Anchor-center .path2:before{content:\"\\ec6e\";margin-left:-1em;opacity:0.3;}.icon-Anchor-center-down .path1:before{content:\"\\ec6f\";opacity:0.3;}.icon-Anchor-center-down .path2:before{content:\"\\ec70\";margin-left:-1em;}.icon-Anchor-center-up .path1:before{content:\"\\ec71\";opacity:0.3;}.icon-Anchor-center-up .path2:before{content:\"\\ec72\";margin-left:-1em;}.icon-Anchor-left .path1:before{content:\"\\ec73\";opacity:0.3;}.icon-Anchor-left .path2:before{content:\"\\ec74\";margin-left:-1em;}.icon-Anchor-left-down .path1:before{content:\"\\ec75\";opacity:0.3;}.icon-Anchor-left-down .path2:before{content:\"\\ec76\";margin-left:-1em;}.icon-Anchor-left-up .path1:before{content:\"\\ec77\";opacity:0.3;}.icon-Anchor-left-up .path2:before{content:\"\\ec78\";margin-left:-1em;}.icon-Anchor-right .path1:before{content:\"\\ec79\";opacity:0.3;}.icon-Anchor-right .path2:before{content:\"\\ec7a\";margin-left:-1em;}.icon-Anchor-right-down .path1:before{content:\"\\ec7b\";opacity:0.3;}.icon-Anchor-right-down .path2:before{content:\"\\ec7c\";margin-left:-1em;}.icon-Anchor-right-up .path1:before{content:\"\\ec7d\";opacity:0.3;}.icon-Anchor-right-up .path2:before{content:\"\\ec7e\";margin-left:-1em;}.icon-Arrows .path1:before{content:\"\\ec7f\";opacity:0.3;}.icon-Arrows .path2:before{content:\"\\ec80\";margin-left:-1em;}.icon-Bezier-curve .path1:before{content:\"\\ec81\";opacity:0.3;}.icon-Bezier-curve .path2:before{content:\"\\ec82\";margin-left:-1em;}.icon-Border:before{content:\"\\ec83\";}.icon-Brush1 .path1:before{content:\"\\ec84\";}.icon-Brush1 .path2:before{content:\"\\ec85\";margin-left:-1em;opacity:0.3;}.icon-Bucket .path1:before{content:\"\\ec86\";}.icon-Bucket .path2:before{content:\"\\ec87\";margin-left:-1em;opacity:0.3;}.icon-Cap-1 .path1:before{content:\"\\ec88\";}.icon-Cap-1 .path2:before{content:\"\\ec89\";margin-left:-1em;opacity:0.3;}.icon-Cap-2 .path1:before{content:\"\\ec8a\";opacity:0.3;}.icon-Cap-2 .path2:before{content:\"\\ec8b\";margin-left:-1em;}.icon-Cap-3 .path1:before{content:\"\\ec8c\";}.icon-Cap-3 .path2:before{content:\"\\ec8d\";margin-left:-1em;opacity:0.3;}.icon-Circle:before{content:\"\\ec8e\";}.icon-Color:before{content:\"\\ec8f\";}.icon-Color-profile .path1:before{content:\"\\ec90\";opacity:0.3;}.icon-Color-profile .path2:before{content:\"\\ec91\";margin-left:-1em;}.icon-Component:before{content:\"\\ec92\";}.icon-Crop .path1:before{content:\"\\ec93\";opacity:0.3;}.icon-Crop .path2:before{content:\"\\ec94\";margin-left:-1em;}.icon-Difference .path1:before{content:\"\\ec95\";}.icon-Difference .path2:before{content:\"\\ec96\";margin-left:-1em;opacity:0.3;}.icon-Edit .path1:before{content:\"\\ec97\";}.icon-Edit .path2:before{content:\"\\ec98\";margin-left:-1em;opacity:0.3;}.icon-Eraser:before{content:\"\\ec99\";}.icon-Flatten .path1:before{content:\"\\ec9a\";}.icon-Flatten .path2:before{content:\"\\ec9b\";margin-left:-1em;opacity:0.3;}.icon-Flip-horizontal .path1:before{content:\"\\ec9c\";opacity:0.3;}.icon-Flip-horizontal .path2:before{content:\"\\ec9d\";margin-left:-1em;}.icon-Flip-horizontal .path3:before{content:\"\\ec9e\";margin-left:-1em;opacity:0.3;}.icon-Flip-vertical .path1:before{content:\"\\ec9f\";opacity:0.3;}.icon-Flip-vertical .path2:before{content:\"\\eca0\";margin-left:-1em;}.icon-Flip-vertical .path3:before{content:\"\\eca1\";margin-left:-1em;opacity:0.3;}.icon-Horizontal .path1:before{content:\"\\eca2\";}.icon-Horizontal .path2:before{content:\"\\eca3\";margin-left:-1em;opacity:0.3;}.icon-Image:before{content:\"\\eca4\";}.icon-Interselect .path1:before{content:\"\\eca5\";opacity:0.3;}.icon-Interselect .path2:before{content:\"\\eca6\";margin-left:-1em;}.icon-Join-1 .path1:before{content:\"\\eca7\";}.icon-Join-1 .path2:before{content:\"\\eca8\";margin-left:-1em;opacity:0.3;}.icon-Join-2 .path1:before{content:\"\\eca9\";}.icon-Join-2 .path2:before{content:\"\\ecaa\";margin-left:-1em;opacity:0.3;}.icon-Join-3 .path1:before{content:\"\\ecab\";opacity:0.3;}.icon-Join-3 .path2:before{content:\"\\ecac\";margin-left:-1em;}.icon-Layers .path1:before{content:\"\\ecad\";}.icon-Layers .path2:before{content:\"\\ecae\";margin-left:-1em;opacity:0.3;}.icon-Line .path1:before{content:\"\\ecaf\";opacity:0.3;}.icon-Line .path2:before{content:\"\\ecb0\";margin-left:-1em;}.icon-Line .path3:before{content:\"\\ecb1\";margin-left:-1em;}.icon-Magic .path1:before{content:\"\\ecb2\";}.icon-Magic .path2:before{content:\"\\ecb3\";margin-left:-1em;opacity:0.3;}.icon-Mask .path1:before{content:\"\\ecb4\";opacity:0.3;}.icon-Mask .path2:before{content:\"\\ecb5\";margin-left:-1em;}.icon-Patch .path1:before{content:\"\\ecb6\";}.icon-Patch .path2:before{content:\"\\ecb7\";margin-left:-1em;opacity:0.3;}.icon-Patch .path3:before{content:\"\\ecb8\";margin-left:-1em;opacity:0.3;}.icon-Penruller .path1:before{content:\"\\ecb9\";opacity:0.3;}.icon-Penruller .path2:before{content:\"\\ecba\";margin-left:-1em;}.icon-Pencil:before{content:\"\\ecbb\";}.icon-Pen-tool-vector .path1:before{content:\"\\ecbc\";}.icon-Pen-tool-vector .path2:before{content:\"\\ecbd\";margin-left:-1em;opacity:0.3;}.icon-Picker .path1:before{content:\"\\ecbe\";}.icon-Picker .path2:before{content:\"\\ecbf\";margin-left:-1em;opacity:0.3;}.icon-Pixels .path1:before{content:\"\\ecc0\";}.icon-Pixels .path2:before{content:\"\\ecc1\";margin-left:-1em;}.icon-Pixels .path3:before{content:\"\\ecc2\";margin-left:-1em;}.icon-Pixels .path4:before{content:\"\\ecc3\";margin-left:-1em;opacity:0.3;}.icon-Pixels .path5:before{content:\"\\ecc4\";margin-left:-1em;}.icon-Pixels .path6:before{content:\"\\ecc5\";margin-left:-1em;}.icon-Polygon:before{content:\"\\ecc6\";}.icon-Position:before{content:\"\\ecc7\";}.icon-Rectangle:before{content:\"\\ecc8\";}.icon-Saturation:before{content:\"\\ecc9\";}.icon-Select .path1:before{content:\"\\ecca\";opacity:0.3;}.icon-Select .path2:before{content:\"\\eccb\";margin-left:-1em;}.icon-Sketch .path1:before{content:\"\\eccc\";opacity:0.3;}.icon-Sketch .path2:before{content:\"\\eccd\";margin-left:-1em;}.icon-Stamp .path1:before{content:\"\\ecce\";}.icon-Stamp .path2:before{content:\"\\eccf\";margin-left:-1em;opacity:0.3;}.icon-Substract .path1:before{content:\"\\ecd0\";}.icon-Substract .path2:before{content:\"\\ecd1\";margin-left:-1em;opacity:0.3;}.icon-Target .path1:before{content:\"\\ecd2\";opacity:0.3;}.icon-Target .path2:before{content:\"\\ecd3\";margin-left:-1em;}.icon-Triangle:before{content:\"\\ecd4\";}.icon-Union:before{content:\"\\ecd5\";}.icon-Vertical .path1:before{content:\"\\ecd6\";}.icon-Vertical .path2:before{content:\"\\ecd7\";margin-left:-1em;opacity:0.3;}.icon-Zoom-minus .path1:before{content:\"\\ecd8\";opacity:0.3;}.icon-Zoom-minus .path2:before{content:\"\\ecd9\";margin-left:-1em;}.icon-Zoom-minus .path3:before{content:\"\\ecda\";margin-left:-1em;opacity:0.3;}.icon-Zoom-plus .path1:before{content:\"\\ecdb\";opacity:0.3;}.icon-Zoom-plus .path2:before{content:\"\\ecdc\";margin-left:-1em;}.icon-Zoom-plus .path3:before{content:\"\\ecdd\";margin-left:-1em;opacity:0.3;}.icon-Baking-glove .path1:before{content:\"\\ecde\";}.icon-Baking-glove .path2:before{content:\"\\ecdf\";margin-left:-1em;opacity:0.3;}.icon-Bowl .path1:before{content:\"\\ece0\";opacity:0.3;}.icon-Bowl .path2:before{content:\"\\ece1\";margin-left:-1em;}.icon-Chef .path1:before{content:\"\\ece2\";opacity:0.3;}.icon-Chef .path2:before{content:\"\\ece3\";margin-left:-1em;}.icon-Cooking-book .path1:before{content:\"\\ece4\";opacity:0.0900;}.icon-Cooking-book .path2:before{content:\"\\ece5\";margin-left:-1em;opacity:0.3;}.icon-Cooking-pot .path1:before{content:\"\\ece6\";opacity:0.3;}.icon-Cooking-pot .path2:before{content:\"\\ece7\";margin-left:-1em;}.icon-Cutting-board .path1:before{content:\"\\ece8\";opacity:0.3;}.icon-Cutting-board .path2:before{content:\"\\ece9\";margin-left:-1em;}.icon-Dinner .path1:before{content:\"\\ecea\";opacity:0.3;}.icon-Dinner .path2:before{content:\"\\eceb\";margin-left:-1em;opacity:0.3;}.icon-Dinner .path3:before{content:\"\\ecec\";margin-left:-1em;}.icon-Dinner .path4:before{content:\"\\eced\";margin-left:-1em;}.icon-Dinner .path5:before{content:\"\\ecee\";margin-left:-1em;opacity:0.3;}.icon-Dish .path1:before{content:\"\\ecef\";}.icon-Dish .path2:before{content:\"\\ecf0\";margin-left:-1em;opacity:0.3;}.icon-Dishes .path1:before{content:\"\\ecf1\";}.icon-Dishes .path2:before{content:\"\\ecf2\";margin-left:-1em;opacity:0.3;}.icon-Fork .path1:before{content:\"\\ecf3\";opacity:0.3;}.icon-Fork .path2:before{content:\"\\ecf4\";margin-left:-1em;}.icon-Fork-spoon .path1:before{content:\"\\ecf5\";}.icon-Fork-spoon .path2:before{content:\"\\ecf6\";margin-left:-1em;opacity:0.3;}.icon-Fork-spoon .path3:before{content:\"\\ecf7\";margin-left:-1em;opacity:0.3;}.icon-Fork-spoon .path4:before{content:\"\\ecf8\";margin-left:-1em;}.icon-Fork-spoon-knife .path1:before{content:\"\\ecf9\";}.icon-Fork-spoon-knife .path2:before{content:\"\\ecfa\";margin-left:-1em;opacity:0.3;}.icon-Fork-spoon-knife .path3:before{content:\"\\ecfb\";margin-left:-1em;opacity:0.3;}.icon-Fork-spoon-knife .path4:before{content:\"\\ecfc\";margin-left:-1em;}.icon-Fork-spoon-knife .path5:before{content:\"\\ecfd\";margin-left:-1em;opacity:0.3;}.icon-Fork-spoon-knife .path6:before{content:\"\\ecfe\";margin-left:-1em;}.icon-Frying-pan .path1:before{content:\"\\ecff\";opacity:0.3;}.icon-Frying-pan .path2:before{content:\"\\ed00\";margin-left:-1em;}.icon-Grater .path1:before{content:\"\\ed01\";opacity:0.3;}.icon-Grater .path2:before{content:\"\\ed02\";margin-left:-1em;}.icon-Kitchen-scale .path1:before{content:\"\\ed03\";}.icon-Kitchen-scale .path2:before{content:\"\\ed04\";margin-left:-1em;opacity:0.3;}.icon-Knife .path1:before{content:\"\\ed05\";opacity:0.3;}.icon-Knife .path2:before{content:\"\\ed06\";margin-left:-1em;}.icon-Knife1 .path1:before{content:\"\\ed07\";opacity:0.3;}.icon-Knife1 .path2:before{content:\"\\ed08\";margin-left:-1em;}.icon-Knifefork .path1:before{content:\"\\ed09\";}.icon-Knifefork .path2:before{content:\"\\ed0a\";margin-left:-1em;opacity:0.3;}.icon-Knifefork .path3:before{content:\"\\ed0b\";margin-left:-1em;opacity:0.3;}.icon-Knifefork .path4:before{content:\"\\ed0c\";margin-left:-1em;}.icon-Knifefork1 .path1:before{content:\"\\ed0d\";}.icon-Knifefork1 .path2:before{content:\"\\ed0e\";margin-left:-1em;}.icon-Knifefork1 .path3:before{content:\"\\ed0f\";margin-left:-1em;opacity:0.3;}.icon-Knifefork1 .path4:before{content:\"\\ed10\";margin-left:-1em;opacity:0.3;}.icon-Ladle .path1:before{content:\"\\ed11\";opacity:0.3;}.icon-Ladle .path2:before{content:\"\\ed12\";margin-left:-1em;}.icon-Rolling-pin .path1:before{content:\"\\ed13\";}.icon-Rolling-pin .path2:before{content:\"\\ed14\";margin-left:-1em;opacity:0.3;}.icon-Saucepan .path1:before{content:\"\\ed15\";}.icon-Saucepan .path2:before{content:\"\\ed16\";margin-left:-1em;opacity:0.3;}.icon-Shovel .path1:before{content:\"\\ed17\";opacity:0.3;}.icon-Shovel .path2:before{content:\"\\ed18\";margin-left:-1em;}.icon-Sieve .path1:before{content:\"\\ed19\";opacity:0.3;}.icon-Sieve .path2:before{content:\"\\ed1a\";margin-left:-1em;}.icon-Spoon .path1:before{content:\"\\ed1b\";opacity:0.3;}.icon-Spoon .path2:before{content:\"\\ed1c\";margin-left:-1em;}.icon-Spoon .path3:before{content:\"\\ed1d\";margin-left:-1em;color:rgb(255,255,255);}.icon-Active-call .path1:before{content:\"\\ed1e\";}.icon-Active-call .path2:before{content:\"\\ed1f\";margin-left:-1em;opacity:0.3;}.icon-Address-card:before{content:\"\\ed20\";}.icon-Add-user .path1:before{content:\"\\ed21\";opacity:0.3;}.icon-Add-user .path2:before{content:\"\\ed22\";margin-left:-1em;}.icon-Adress-book .path1:before{content:\"\\ed23\";opacity:0.3;}.icon-Adress-book .path2:before{content:\"\\ed24\";margin-left:-1em;}.icon-Adress-book1 .path1:before{content:\"\\ed25\";opacity:0.3;}.icon-Adress-book1 .path2:before{content:\"\\ed26\";margin-left:-1em;}.icon-Archive:before{content:\"\\ed27\";}.icon-Call1:before{content:\"\\ed28\";}.icon-118:before{content:\"\\ed28\";}.icon-Call:before{content:\"\\ed29\";}.icon-Chat .path1:before{content:\"\\ed2a\";opacity:0.3;}.icon-Chat .path2:before{content:\"\\ed2b\";margin-left:-1em;}.icon-Chat1 .path1:before{content:\"\\ed2c\";opacity:0.3;}.icon-Chat1 .path2:before{content:\"\\ed2d\";margin-left:-1em;}.icon-Chat2:before{content:\"\\ed2e\";}.icon-41:before{content:\"\\ed2e\";}.icon-Chat3:before{content:\"\\ed2f\";}.icon-51:before{content:\"\\ed2f\";}.icon-Chat4:before{content:\"\\ed30\";}.icon-6:before{content:\"\\ed30\";}.icon-Chat-check .path1:before{content:\"\\ed31\";opacity:0.3;}.icon-Chat-check .path2:before{content:\"\\ed32\";margin-left:-1em;}.icon-Chat-error .path1:before{content:\"\\ed33\";}.icon-Chat-error .path2:before{content:\"\\ed34\";margin-left:-1em;opacity:0.3;}.icon-Chat-locked .path1:before{content:\"\\ed35\";opacity:0.3;}.icon-Chat-locked .path2:before{content:\"\\ed36\";margin-left:-1em;}.icon-Chat-smile .path1:before{content:\"\\ed37\";opacity:0.3;}.icon-Chat-smile .path2:before{content:\"\\ed38\";margin-left:-1em;}.icon-Clipboard-check .path1:before{content:\"\\ed39\";opacity:0.3;}.icon-Clipboard-check .path2:before{content:\"\\ed3a\";margin-left:-1em;}.icon-Clipboard-check .path3:before{content:\"\\ed3b\";margin-left:-1em;}.icon-Clipboard-list .path1:before{content:\"\\ed3c\";opacity:0.3;}.icon-Clipboard-list .path2:before{content:\"\\ed3d\";margin-left:-1em;}.icon-Clipboard-list .path3:before{content:\"\\ed3e\";margin-left:-1em;opacity:0.3;}.icon-Clipboard-list .path4:before{content:\"\\ed3f\";margin-left:-1em;opacity:0.3;}.icon-Clipboard-list .path5:before{content:\"\\ed40\";margin-left:-1em;opacity:0.3;}.icon-Clipboard-list .path6:before{content:\"\\ed41\";margin-left:-1em;opacity:0.3;}.icon-Clipboard-list .path7:before{content:\"\\ed42\";margin-left:-1em;opacity:0.3;}.icon-Clipboard-list .path8:before{content:\"\\ed43\";margin-left:-1em;opacity:0.3;}.icon-Contact:before{content:\"\\ed44\";}.icon-110:before{content:\"\\ed44\";}.icon-Delete-user .path1:before{content:\"\\ed45\";opacity:0.3;}.icon-Delete-user .path2:before{content:\"\\ed46\";margin-left:-1em;}.icon-Dial-numbers .path1:before{content:\"\\ed47\";opacity:0.3;}.icon-Dial-numbers .path2:before{content:\"\\ed48\";margin-left:-1em;}.icon-Dial-numbers .path3:before{content:\"\\ed49\";margin-left:-1em;}.icon-Dial-numbers .path4:before{content:\"\\ed4a\";margin-left:-1em;}.icon-Dial-numbers .path5:before{content:\"\\ed4b\";margin-left:-1em;}.icon-Dial-numbers .path6:before{content:\"\\ed4c\";margin-left:-1em;}.icon-Dial-numbers .path7:before{content:\"\\ed4d\";margin-left:-1em;}.icon-Dial-numbers .path8:before{content:\"\\ed4e\";margin-left:-1em;}.icon-Dial-numbers .path9:before{content:\"\\ed4f\";margin-left:-1em;}.icon-Flag .path1:before{content:\"\\ed50\";}.icon-Flag .path2:before{content:\"\\ed51\";margin-left:-1em;opacity:0.3;}.icon-Forward1:before{content:\"\\ed52\";}.icon-Group .path1:before{content:\"\\ed53\";opacity:0.3;}.icon-Group .path2:before{content:\"\\ed54\";margin-left:-1em;}.icon-Group-chat .path1:before{content:\"\\ed55\";}.icon-Group-chat .path2:before{content:\"\\ed56\";margin-left:-1em;opacity:0.3;}.icon-Incoming-box .path1:before{content:\"\\ed57\";}.icon-Incoming-box .path2:before{content:\"\\ed58\";margin-left:-1em;opacity:0.3;}.icon-Incoming-box .path3:before{content:\"\\ed59\";margin-left:-1em;}.icon-Incoming-call .path1:before{content:\"\\ed5a\";opacity:0.3;}.icon-Incoming-call .path2:before{content:\"\\ed5b\";margin-left:-1em;}.icon-Incoming-mail .path1:before{content:\"\\ed5c\";}.icon-Incoming-mail .path2:before{content:\"\\ed5d\";margin-left:-1em;opacity:0.3;}.icon-Mail:before{content:\"\\ed5e\";}.icon-Mail-:before{content:\"\\ed5f\";}.icon-Mail-attachment .path1:before{content:\"\\ed60\";opacity:0.3;}.icon-Mail-attachment .path2:before{content:\"\\ed61\";margin-left:-1em;}.icon-Mail-box .path1:before{content:\"\\ed62\";}.icon-Mail-box .path2:before{content:\"\\ed63\";margin-left:-1em;opacity:0.3;}.icon-Mail-error .path1:before{content:\"\\ed64\";}.icon-Mail-error .path2:before{content:\"\\ed65\";margin-left:-1em;opacity:0.3;}.icon-Mail-heart .path1:before{content:\"\\ed66\";opacity:0.3;}.icon-Mail-heart .path2:before{content:\"\\ed67\";margin-left:-1em;}.icon-Mail-locked .path1:before{content:\"\\ed68\";}.icon-Mail-locked .path2:before{content:\"\\ed69\";margin-left:-1em;opacity:0.3;}.icon-Mail-notification .path1:before{content:\"\\ed6a\";}.icon-Mail-notification .path2:before{content:\"\\ed6b\";margin-left:-1em;opacity:0.3;}.icon-Mail-opened .path1:before{content:\"\\ed6c\";opacity:0.3;}.icon-Mail-opened .path2:before{content:\"\\ed6d\";margin-left:-1em;}.icon-Mail-unocked .path1:before{content:\"\\ed6e\";opacity:0.3;}.icon-Mail-unocked .path2:before{content:\"\\ed6f\";margin-left:-1em;}.icon-Missed-call .path1:before{content:\"\\ed70\";opacity:0.3;}.icon-Missed-call .path2:before{content:\"\\ed71\";margin-left:-1em;}.icon-Outgoing-box .path1:before{content:\"\\ed72\";}.icon-Outgoing-box .path2:before{content:\"\\ed73\";margin-left:-1em;opacity:0.3;}.icon-Outgoing-box .path3:before{content:\"\\ed74\";margin-left:-1em;}.icon-Outgoing-call .path1:before{content:\"\\ed75\";opacity:0.3;}.icon-Outgoing-call .path2:before{content:\"\\ed76\";margin-left:-1em;}.icon-Outgoing-mail .path1:before{content:\"\\ed77\";}.icon-Outgoing-mail .path2:before{content:\"\\ed78\";margin-left:-1em;opacity:0.3;}.icon-Readed-mail .path1:before{content:\"\\ed79\";opacity:0.3;}.icon-Readed-mail .path2:before{content:\"\\ed7a\";margin-left:-1em;}.icon-Reply:before{content:\"\\ed7b\";}.icon-Reply-all .path1:before{content:\"\\ed7c\";opacity:0.3;}.icon-Reply-all .path2:before{content:\"\\ed7d\";margin-left:-1em;}.icon-Right:before{content:\"\\ed7e\";}.icon-RSS .path1:before{content:\"\\ed7f\";}.icon-RSS .path2:before{content:\"\\ed80\";margin-left:-1em;opacity:0.3;}.icon-RSS .path3:before{content:\"\\ed81\";margin-left:-1em;opacity:0.3;}.icon-Safe-chat .path1:before{content:\"\\ed82\";opacity:0.3;}.icon-Safe-chat .path2:before{content:\"\\ed83\";margin-left:-1em;}.icon-Send:before{content:\"\\ed84\";}.icon-Sending-mail .path1:before{content:\"\\ed85\";opacity:0.3;}.icon-Sending-mail .path2:before{content:\"\\ed86\";margin-left:-1em;}.icon-Sending .path1:before{content:\"\\ed87\";}.icon-Sending .path2:before{content:\"\\ed88\";margin-left:-1em;opacity:0.3;}.icon-Share .path1:before{content:\"\\ed89\";opacity:0.3;}.icon-Share .path2:before{content:\"\\ed8a\";margin-left:-1em;}.icon-Shield-thunder:before{content:\"\\ed8b\";}.icon-Shield-user:before{content:\"\\ed8c\";}.icon-Snoozed-mail .path1:before{content:\"\\ed8d\";}.icon-Snoozed-mail .path2:before{content:\"\\ed8e\";margin-left:-1em;opacity:0.3;}.icon-Spam:before{content:\"\\ed8f\";}.icon-Thumbtack .path1:before{content:\"\\ed90\";}.icon-Thumbtack .path2:before{content:\"\\ed91\";margin-left:-1em;opacity:0.3;}.icon-Urgent-mail .path1:before{content:\"\\ed92\";opacity:0.3;}.icon-Urgent-mail .path2:before{content:\"\\ed93\";margin-left:-1em;}.icon-Write .path1:before{content:\"\\ed94\";}.icon-Write .path2:before{content:\"\\ed95\";margin-left:-1em;opacity:0.3;}.icon-Backspace .path1:before{content:\"\\ed96\";opacity:0.3;}.icon-Backspace .path2:before{content:\"\\ed97\";margin-left:-1em;}.icon-CMD:before{content:\"\\ed98\";}.icon-Code1 .path1:before{content:\"\\ed99\";}.icon-Code1 .path2:before{content:\"\\ed9a\";margin-left:-1em;opacity:0.3;}.icon-Commit .path1:before{content:\"\\ed9b\";opacity:0.3;}.icon-Commit .path2:before{content:\"\\ed9c\";margin-left:-1em;}.icon-Compiling .path1:before{content:\"\\ed9d\";opacity:0.3;}.icon-Compiling .path2:before{content:\"\\ed9e\";margin-left:-1em;}.icon-Control:before{content:\"\\ed9f\";}.icon-Done-circle .path1:before{content:\"\\eda0\";opacity:0.3;}.icon-Done-circle .path2:before{content:\"\\eda1\";margin-left:-1em;}.icon-Error-circle .path1:before{content:\"\\eda2\";opacity:0.3;}.icon-Error-circle .path2:before{content:\"\\eda3\";margin-left:-1em;}.icon-Git2 .path1:before{content:\"\\eda4\";opacity:0.3;}.icon-Git2 .path2:before{content:\"\\eda5\";margin-left:-1em;}.icon-Git2 .path3:before{content:\"\\eda6\";margin-left:-1em;}.icon-Git3 .path1:before{content:\"\\eda7\";opacity:0.3;}.icon-Git3 .path2:before{content:\"\\eda8\";margin-left:-1em;}.icon-Git3 .path3:before{content:\"\\eda9\";margin-left:-1em;opacity:0.3;}.icon-Git3 .path4:before{content:\"\\edaa\";margin-left:-1em;}.icon-Git3 .path5:before{content:\"\\edab\";margin-left:-1em;}.icon-Git3 .path6:before{content:\"\\edac\";margin-left:-1em;}.icon-Git .path1:before{content:\"\\edad\";opacity:0.3;}.icon-Git .path2:before{content:\"\\edae\";margin-left:-1em;}.icon-Git .path3:before{content:\"\\edaf\";margin-left:-1em;}.icon-Git .path4:before{content:\"\\edb0\";margin-left:-1em;}.icon-Git1 .path1:before{content:\"\\edb1\";}.icon-Git1 .path2:before{content:\"\\edb2\";margin-left:-1em;opacity:0.3;}.icon-Git1 .path3:before{content:\"\\edb3\";margin-left:-1em;}.icon-Git1 .path4:before{content:\"\\edb4\";margin-left:-1em;}.icon-Github .path1:before{content:\"\\edb5\";}.icon-Github .path2:before{content:\"\\edb6\";margin-left:-1em;opacity:0.3;}.icon-Info-circle .path1:before{content:\"\\edb7\";opacity:0.3;}.icon-Info-circle .path2:before{content:\"\\edb8\";margin-left:-1em;}.icon-Info-circle .path3:before{content:\"\\edb9\";margin-left:-1em;}.icon-Left-circle .path1:before{content:\"\\edba\";opacity:0.3;}.icon-Left-circle .path2:before{content:\"\\edbb\";margin-left:-1em;}.icon-Loading:before{content:\"\\edbc\";}.icon-Lock-circle .path1:before{content:\"\\edbd\";opacity:0.3;}.icon-Lock-circle .path2:before{content:\"\\edbe\";margin-left:-1em;}.icon-Lock-overturning .path1:before{content:\"\\edbf\";opacity:0.3;}.icon-Lock-overturning .path2:before{content:\"\\edc0\";margin-left:-1em;}.icon-Minus .path1:before{content:\"\\edc1\";opacity:0.3;}.icon-Minus .path2:before{content:\"\\edc2\";margin-left:-1em;}.icon-Option .path1:before{content:\"\\edc3\";opacity:0.3;}.icon-Option .path2:before{content:\"\\edc4\";margin-left:-1em;}.icon-Plus .path1:before{content:\"\\edc5\";opacity:0.3;}.icon-Plus .path2:before{content:\"\\edc6\";margin-left:-1em;}.icon-Puzzle:before{content:\"\\edc7\";}.icon-Question-circle .path1:before{content:\"\\edc8\";opacity:0.3;}.icon-Question-circle .path2:before{content:\"\\edc9\";margin-left:-1em;}.icon-Right-circle .path1:before{content:\"\\edca\";opacity:0.3;}.icon-Right-circle .path2:before{content:\"\\edcb\";margin-left:-1em;}.icon-Settings1 .path1:before{content:\"\\edcc\";opacity:0.3;}.icon-Settings1 .path2:before{content:\"\\edcd\";margin-left:-1em;}.icon-Shift:before{content:\"\\edce\";}.icon-Spy .path1:before{content:\"\\edcf\";}.icon-Spy .path2:before{content:\"\\edd0\";margin-left:-1em;opacity:0.3;}.icon-Stop:before{content:\"\\edd1\";}.icon-Terminal .path1:before{content:\"\\edd2\";}.icon-Terminal .path2:before{content:\"\\edd3\";margin-left:-1em;opacity:0.3;}.icon-Thunder-circle .path1:before{content:\"\\edd4\";opacity:0.3;}.icon-Thunder-circle .path2:before{content:\"\\edd5\";margin-left:-1em;}.icon-Time-schedule .path1:before{content:\"\\edd6\";}.icon-Time-schedule .path2:before{content:\"\\edd7\";margin-left:-1em;opacity:0.3;}.icon-Warning-1-circle .path1:before{content:\"\\edd8\";opacity:0.3;}.icon-Warning-1-circle .path2:before{content:\"\\edd9\";margin-left:-1em;}.icon-Warning-1-circle .path3:before{content:\"\\edda\";margin-left:-1em;}.icon-Warning-2 .path1:before{content:\"\\eddb\";opacity:0.3;}.icon-Warning-2 .path2:before{content:\"\\eddc\";margin-left:-1em;}.icon-Warning-2 .path3:before{content:\"\\eddd\";margin-left:-1em;}.icon-Brassiere:before{content:\"\\edde\";}.icon-Briefcase .path1:before{content:\"\\eddf\";}.icon-Briefcase .path2:before{content:\"\\ede0\";margin-left:-1em;opacity:0.3;}.icon-Cap .path1:before{content:\"\\ede1\";opacity:0.3;}.icon-Cap .path2:before{content:\"\\ede2\";margin-left:-1em;}.icon-Crown .path1:before{content:\"\\ede3\";opacity:0.3;}.icon-Crown .path2:before{content:\"\\ede4\";margin-left:-1em;}.icon-Dress .path1:before{content:\"\\ede5\";opacity:0.3;}.icon-Dress .path2:before{content:\"\\ede6\";margin-left:-1em;}.icon-Hanger:before{content:\"\\ede7\";}.icon-Hat .path1:before{content:\"\\ede8\";}.icon-Hat .path2:before{content:\"\\ede9\";margin-left:-1em;opacity:0.3;}.icon-Panties:before{content:\"\\edea\";}.icon-Shirt .path1:before{content:\"\\edeb\";opacity:0.3;}.icon-Shirt .path2:before{content:\"\\edec\";margin-left:-1em;}.icon-Shoes .path1:before{content:\"\\eded\";}.icon-Shoes .path2:before{content:\"\\edee\";margin-left:-1em;opacity:0.3;}.icon-Shorts:before{content:\"\\edef\";}.icon-Sneakers .path1:before{content:\"\\edf0\";opacity:0.3;}.icon-Sneakers .path2:before{content:\"\\edf1\";margin-left:-1em;}.icon-Socks .path1:before{content:\"\\edf2\";opacity:0.3;}.icon-Socks .path2:before{content:\"\\edf3\";margin-left:-1em;}.icon-Sun-glasses .path1:before{content:\"\\edf4\";opacity:0.3;}.icon-Sun-glasses .path2:before{content:\"\\edf5\";margin-left:-1em;}.icon-Tie .path1:before{content:\"\\edf6\";}.icon-Tie .path2:before{content:\"\\edf7\";margin-left:-1em;opacity:0.3;}.icon-T-Shirt:before{content:\"\\edf8\";}.icon-Celcium .path1:before{content:\"\\edf9\";}.icon-Celcium .path2:before{content:\"\\edfa\";margin-left:-1em;opacity:0.3;}.icon-Cloud:before{content:\"\\edfb\";}.icon-18:before{content:\"\\edfb\";}.icon-Cloud1 .path1:before{content:\"\\edfc\";opacity:0.3;}.icon-Cloud1 .path2:before{content:\"\\edfd\";margin-left:-1em;}.icon-Cloud-fog .path1:before{content:\"\\edfe\";}.icon-Cloud-fog .path2:before{content:\"\\edff\";margin-left:-1em;opacity:0.3;}.icon-Cloud-sun .path1:before{content:\"\\ee00\";opacity:0.3;}.icon-Cloud-sun .path2:before{content:\"\\ee01\";margin-left:-1em;}.icon-Cloud-wind .path1:before{content:\"\\ee02\";}.icon-Cloud-wind .path2:before{content:\"\\ee03\";margin-left:-1em;opacity:0.3;}.icon-Cloud-wind .path3:before{content:\"\\ee04\";margin-left:-1em;opacity:0.3;}.icon-Cloudy .path1:before{content:\"\\ee05\";opacity:0.3;}.icon-Cloudy .path2:before{content:\"\\ee06\";margin-left:-1em;}.icon-Cloudy-night .path1:before{content:\"\\ee07\";opacity:0.3;}.icon-Cloudy-night .path2:before{content:\"\\ee08\";margin-left:-1em;}.icon-Day-rain .path1:before{content:\"\\ee09\";opacity:0.3;}.icon-Day-rain .path2:before{content:\"\\ee0a\";margin-left:-1em;}.icon-Fahrenheit .path1:before{content:\"\\ee0b\";}.icon-Fahrenheit .path2:before{content:\"\\ee0c\";margin-left:-1em;opacity:0.3;}.icon-Fog:before{content:\"\\ee0d\";}.icon-Moon:before{content:\"\\ee0e\";}.icon-Night-fog .path1:before{content:\"\\ee0f\";}.icon-Night-fog .path2:before{content:\"\\ee10\";margin-left:-1em;opacity:0.3;}.icon-Night-rain .path1:before{content:\"\\ee11\";opacity:0.3;}.icon-Night-rain .path2:before{content:\"\\ee12\";margin-left:-1em;}.icon-Rain .path1:before{content:\"\\ee13\";}.icon-Rain .path2:before{content:\"\\ee14\";margin-left:-1em;opacity:0.3;}.icon-Rain1 .path1:before{content:\"\\ee15\";}.icon-Rain1 .path2:before{content:\"\\ee16\";margin-left:-1em;opacity:0.3;}.icon-Rain2 .path1:before{content:\"\\ee17\";opacity:0.3;}.icon-Rain2 .path2:before{content:\"\\ee18\";margin-left:-1em;}.icon-Rainbow .path1:before{content:\"\\ee19\";opacity:0.3;}.icon-Rainbow .path2:before{content:\"\\ee1a\";margin-left:-1em;}.icon-Snow .path1:before{content:\"\\ee1b\";}.icon-Snow .path2:before{content:\"\\ee1c\";margin-left:-1em;opacity:0.3;}.icon-Snow1 .path1:before{content:\"\\ee1d\";}.icon-Snow1 .path2:before{content:\"\\ee1e\";margin-left:-1em;opacity:0.3;}.icon-Snow2 .path1:before{content:\"\\ee1f\";opacity:0.3;}.icon-Snow2 .path2:before{content:\"\\ee20\";margin-left:-1em;}.icon-Snow3:before{content:\"\\ee21\";}.icon-Storm .path1:before{content:\"\\ee22\";}.icon-Storm .path2:before{content:\"\\ee23\";margin-left:-1em;opacity:0.3;}.icon-Sun .path1:before{content:\"\\ee24\";}.icon-Sun .path2:before{content:\"\\ee25\";margin-left:-1em;opacity:0.3;}.icon-Sun-fog .path1:before{content:\"\\ee26\";}.icon-Sun-fog .path2:before{content:\"\\ee27\";margin-left:-1em;opacity:0.3;}.icon-Suset .path1:before{content:\"\\ee28\";}.icon-Suset .path2:before{content:\"\\ee29\";margin-left:-1em;opacity:0.3;}.icon-Suset1 .path1:before{content:\"\\ee2a\";}.icon-Suset1 .path2:before{content:\"\\ee2b\";margin-left:-1em;opacity:0.3;}.icon-Temperature-empty:before{content:\"\\ee2c\";}.icon-Temperature-full:before{content:\"\\ee2d\";}.icon-Temperature-half:before{content:\"\\ee2e\";}.icon-Thunder .path1:before{content:\"\\ee2f\";opacity:0.3;}.icon-Thunder .path2:before{content:\"\\ee30\";margin-left:-1em;}.icon-Thunder-night .path1:before{content:\"\\ee31\";opacity:0.3;}.icon-Thunder-night .path2:before{content:\"\\ee32\";margin-left:-1em;}.icon-Umbrella .path1:before{content:\"\\ee33\";}.icon-Umbrella .path2:before{content:\"\\ee34\";margin-left:-1em;opacity:0.3;}.icon-Wind .path1:before{content:\"\\ee35\";}.icon-Wind .path2:before{content:\"\\ee36\";margin-left:-1em;opacity:0.3;}"
  },
  {
    "path": "src/main/resources/static/backend/icons/simple-line-icons/css/simple-line-icons.css",
    "content": "@font-face{font-family:'simple-line-icons';src:url('../fonts/Simple-Line-Icons4c82.eot?-i3a2kk');src:url('../fonts/Simple-Line-Iconsd41d.eot?#iefix-i3a2kk') format('embedded-opentype'),url('../fonts/Simple-Line-Icons4c82.ttf?-i3a2kk') format('truetype'),url('../fonts/Simple-Line-Icons4c82.woff2?-i3a2kk') format('woff2'),url('../fonts/Simple-Line-Icons4c82.woff?-i3a2kk') format('woff'),url('../fonts/Simple-Line-Icons4c82.svg?-i3a2kk#simple-line-icons') format('svg');font-weight:normal;font-style:normal;}.icon-user,.icon-people,.icon-user-female,.icon-user-follow,.icon-user-following,.icon-user-unfollow,.icon-login,.icon-logout,.icon-emotsmile,.icon-phone,.icon-call-end,.icon-call-in,.icon-call-out,.icon-map,.icon-location-pin,.icon-direction,.icon-directions,.icon-compass,.icon-layers,.icon-menu,.icon-list,.icon-options-vertical,.icon-options,.icon-arrow-down,.icon-arrow-left,.icon-arrow-right,.icon-arrow-up,.icon-arrow-up-circle,.icon-arrow-left-circle,.icon-arrow-right-circle,.icon-arrow-down-circle,.icon-check,.icon-clock,.icon-plus,.icon-close,.icon-trophy,.icon-screen-smartphone,.icon-screen-desktop,.icon-plane,.icon-notebook,.icon-mustache,.icon-mouse,.icon-magnet,.icon-energy,.icon-disc,.icon-cursor,.icon-cursor-move,.icon-crop,.icon-chemistry,.icon-speedometer,.icon-shield,.icon-screen-tablet,.icon-magic-wand,.icon-hourglass,.icon-graduation,.icon-ghost,.icon-game-controller,.icon-fire,.icon-eyeglass,.icon-envelope-open,.icon-envelope-letter,.icon-bell,.icon-badge,.icon-anchor,.icon-wallet,.icon-vector,.icon-speech,.icon-puzzle,.icon-printer,.icon-present,.icon-playlist,.icon-pin,.icon-picture,.icon-handbag,.icon-globe-alt,.icon-globe,.icon-folder-alt,.icon-folder,.icon-film,.icon-feed,.icon-drop,.icon-drawar,.icon-docs,.icon-doc,.icon-diamond,.icon-cup,.icon-calculator,.icon-bubbles,.icon-briefcase,.icon-book-open,.icon-basket-loaded,.icon-basket,.icon-bag,.icon-action-undo,.icon-action-redo,.icon-wrench,.icon-umbrella,.icon-trash,.icon-tag,.icon-support,.icon-frame,.icon-size-fullscreen,.icon-size-actual,.icon-shuffle,.icon-share-alt,.icon-share,.icon-rocket,.icon-question,.icon-pie-chart,.icon-pencil,.icon-note,.icon-loop,.icon-home,.icon-grid,.icon-graph,.icon-microphone,.icon-music-tone-alt,.icon-music-tone,.icon-earphones-alt,.icon-earphones,.icon-equalizer,.icon-like,.icon-dislike,.icon-control-start,.icon-control-rewind,.icon-control-play,.icon-control-pause,.icon-control-forward,.icon-control-end,.icon-volume-1,.icon-volume-2,.icon-volume-off,.icon-calender,.icon-bulb,.icon-chart,.icon-ban,.icon-bubble,.icon-camrecorder,.icon-camera,.icon-cloud-download,.icon-cloud-upload,.icon-envelope,.icon-eye,.icon-flag,.icon-heart,.icon-info,.icon-key,.icon-link,.icon-lock,.icon-lock-open,.icon-magnifier,.icon-magnifier-add,.icon-magnifier-remove,.icon-paper-clip,.icon-paper-plane,.icon-power,.icon-refresh,.icon-reload,.icon-settings,.icon-star,.icon-symble-female,.icon-symbol-male,.icon-target,.icon-credit-card,.icon-paypal,.icon-social-tumblr,.icon-social-twitter,.icon-social-facebook,.icon-social-instagram,.icon-social-linkedin,.icon-social-pintarest,.icon-social-github,.icon-social-gplus,.icon-social-reddit,.icon-social-skype,.icon-social-dribbble,.icon-social-behance,.icon-social-foursqare,.icon-social-soundcloud,.icon-social-spotify,.icon-social-stumbleupon,.icon-social-youtube,.icon-social-dropbox{font-family:'simple-line-icons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.icon-user:before{content:\"\\e005\";}.icon-people:before{content:\"\\e001\";}.icon-user-female:before{content:\"\\e000\";}.icon-user-follow:before{content:\"\\e002\";}.icon-user-following:before{content:\"\\e003\";}.icon-user-unfollow:before{content:\"\\e004\";}.icon-login:before{content:\"\\e066\";}.icon-logout:before{content:\"\\e065\";}.icon-emotsmile:before{content:\"\\e021\";}.icon-phone:before{content:\"\\e600\";}.icon-call-end:before{content:\"\\e048\";}.icon-call-in:before{content:\"\\e047\";}.icon-call-out:before{content:\"\\e046\";}.icon-map:before{content:\"\\e033\";}.icon-location-pin:before{content:\"\\e096\";}.icon-direction:before{content:\"\\e042\";}.icon-directions:before{content:\"\\e041\";}.icon-compass:before{content:\"\\e045\";}.icon-layers:before{content:\"\\e034\";}.icon-menu:before{content:\"\\e601\";}.icon-list:before{content:\"\\e067\";}.icon-options-vertical:before{content:\"\\e602\";}.icon-options:before{content:\"\\e603\";}.icon-arrow-down:before{content:\"\\e604\";}.icon-arrow-left:before{content:\"\\e605\";}.icon-arrow-right:before{content:\"\\e606\";}.icon-arrow-up:before{content:\"\\e607\";}.icon-arrow-up-circle:before{content:\"\\e078\";}.icon-arrow-left-circle:before{content:\"\\e07a\";}.icon-arrow-right-circle:before{content:\"\\e079\";}.icon-arrow-down-circle:before{content:\"\\e07b\";}.icon-check:before{content:\"\\e080\";}.icon-clock:before{content:\"\\e081\";}.icon-plus:before{content:\"\\e095\";}.icon-close:before{content:\"\\e082\";}.icon-trophy:before{content:\"\\e006\";}.icon-screen-smartphone:before{content:\"\\e010\";}.icon-screen-desktop:before{content:\"\\e011\";}.icon-plane:before{content:\"\\e012\";}.icon-notebook:before{content:\"\\e013\";}.icon-mustache:before{content:\"\\e014\";}.icon-mouse:before{content:\"\\e015\";}.icon-magnet:before{content:\"\\e016\";}.icon-energy:before{content:\"\\e020\";}.icon-disc:before{content:\"\\e022\";}.icon-cursor:before{content:\"\\e06e\";}.icon-cursor-move:before{content:\"\\e023\";}.icon-crop:before{content:\"\\e024\";}.icon-chemistry:before{content:\"\\e026\";}.icon-speedometer:before{content:\"\\e007\";}.icon-shield:before{content:\"\\e00e\";}.icon-screen-tablet:before{content:\"\\e00f\";}.icon-magic-wand:before{content:\"\\e017\";}.icon-hourglass:before{content:\"\\e018\";}.icon-graduation:before{content:\"\\e019\";}.icon-ghost:before{content:\"\\e01a\";}.icon-game-controller:before{content:\"\\e01b\";}.icon-fire:before{content:\"\\e01c\";}.icon-eyeglass:before{content:\"\\e01d\";}.icon-envelope-open:before{content:\"\\e01e\";}.icon-envelope-letter:before{content:\"\\e01f\";}.icon-bell:before{content:\"\\e027\";}.icon-badge:before{content:\"\\e028\";}.icon-anchor:before{content:\"\\e029\";}.icon-wallet:before{content:\"\\e02a\";}.icon-vector:before{content:\"\\e02b\";}.icon-speech:before{content:\"\\e02c\";}.icon-puzzle:before{content:\"\\e02d\";}.icon-printer:before{content:\"\\e02e\";}.icon-present:before{content:\"\\e02f\";}.icon-playlist:before{content:\"\\e030\";}.icon-pin:before{content:\"\\e031\";}.icon-picture:before{content:\"\\e032\";}.icon-handbag:before{content:\"\\e035\";}.icon-globe-alt:before{content:\"\\e036\";}.icon-globe:before{content:\"\\e037\";}.icon-folder-alt:before{content:\"\\e039\";}.icon-folder:before{content:\"\\e089\";}.icon-film:before{content:\"\\e03a\";}.icon-feed:before{content:\"\\e03b\";}.icon-drop:before{content:\"\\e03e\";}.icon-drawar:before{content:\"\\e03f\";}.icon-docs:before{content:\"\\e040\";}.icon-doc:before{content:\"\\e085\";}.icon-diamond:before{content:\"\\e043\";}.icon-cup:before{content:\"\\e044\";}.icon-calculator:before{content:\"\\e049\";}.icon-bubbles:before{content:\"\\e04a\";}.icon-briefcase:before{content:\"\\e04b\";}.icon-book-open:before{content:\"\\e04c\";}.icon-basket-loaded:before{content:\"\\e04d\";}.icon-basket:before{content:\"\\e04e\";}.icon-bag:before{content:\"\\e04f\";}.icon-action-undo:before{content:\"\\e050\";}.icon-action-redo:before{content:\"\\e051\";}.icon-wrench:before{content:\"\\e052\";}.icon-umbrella:before{content:\"\\e053\";}.icon-trash:before{content:\"\\e054\";}.icon-tag:before{content:\"\\e055\";}.icon-support:before{content:\"\\e056\";}.icon-frame:before{content:\"\\e038\";}.icon-size-fullscreen:before{content:\"\\e057\";}.icon-size-actual:before{content:\"\\e058\";}.icon-shuffle:before{content:\"\\e059\";}.icon-share-alt:before{content:\"\\e05a\";}.icon-share:before{content:\"\\e05b\";}.icon-rocket:before{content:\"\\e05c\";}.icon-question:before{content:\"\\e05d\";}.icon-pie-chart:before{content:\"\\e05e\";}.icon-pencil:before{content:\"\\e05f\";}.icon-note:before{content:\"\\e060\";}.icon-loop:before{content:\"\\e064\";}.icon-home:before{content:\"\\e069\";}.icon-grid:before{content:\"\\e06a\";}.icon-graph:before{content:\"\\e06b\";}.icon-microphone:before{content:\"\\e063\";}.icon-music-tone-alt:before{content:\"\\e061\";}.icon-music-tone:before{content:\"\\e062\";}.icon-earphones-alt:before{content:\"\\e03c\";}.icon-earphones:before{content:\"\\e03d\";}.icon-equalizer:before{content:\"\\e06c\";}.icon-like:before{content:\"\\e068\";}.icon-dislike:before{content:\"\\e06d\";}.icon-control-start:before{content:\"\\e06f\";}.icon-control-rewind:before{content:\"\\e070\";}.icon-control-play:before{content:\"\\e071\";}.icon-control-pause:before{content:\"\\e072\";}.icon-control-forward:before{content:\"\\e073\";}.icon-control-end:before{content:\"\\e074\";}.icon-volume-1:before{content:\"\\e09f\";}.icon-volume-2:before{content:\"\\e0a0\";}.icon-volume-off:before{content:\"\\e0a1\";}.icon-calender:before{content:\"\\e075\";}.icon-bulb:before{content:\"\\e076\";}.icon-chart:before{content:\"\\e077\";}.icon-ban:before{content:\"\\e07c\";}.icon-bubble:before{content:\"\\e07d\";}.icon-camrecorder:before{content:\"\\e07e\";}.icon-camera:before{content:\"\\e07f\";}.icon-cloud-download:before{content:\"\\e083\";}.icon-cloud-upload:before{content:\"\\e084\";}.icon-envelope:before{content:\"\\e086\";}.icon-eye:before{content:\"\\e087\";}.icon-flag:before{content:\"\\e088\";}.icon-heart:before{content:\"\\e08a\";}.icon-info:before{content:\"\\e08b\";}.icon-key:before{content:\"\\e08c\";}.icon-link:before{content:\"\\e08d\";}.icon-lock:before{content:\"\\e08e\";}.icon-lock-open:before{content:\"\\e08f\";}.icon-magnifier:before{content:\"\\e090\";}.icon-magnifier-add:before{content:\"\\e091\";}.icon-magnifier-remove:before{content:\"\\e092\";}.icon-paper-clip:before{content:\"\\e093\";}.icon-paper-plane:before{content:\"\\e094\";}.icon-power:before{content:\"\\e097\";}.icon-refresh:before{content:\"\\e098\";}.icon-reload:before{content:\"\\e099\";}.icon-settings:before{content:\"\\e09a\";}.icon-star:before{content:\"\\e09b\";}.icon-symble-female:before{content:\"\\e09c\";}.icon-symbol-male:before{content:\"\\e09d\";}.icon-target:before{content:\"\\e09e\";}.icon-credit-card:before{content:\"\\e025\";}.icon-paypal:before{content:\"\\e608\";}.icon-social-tumblr:before{content:\"\\e00a\";}.icon-social-twitter:before{content:\"\\e009\";}.icon-social-facebook:before{content:\"\\e00b\";}.icon-social-instagram:before{content:\"\\e609\";}.icon-social-linkedin:before{content:\"\\e60a\";}.icon-social-pintarest:before{content:\"\\e60b\";}.icon-social-github:before{content:\"\\e60c\";}.icon-social-gplus:before{content:\"\\e60d\";}.icon-social-reddit:before{content:\"\\e60e\";}.icon-social-skype:before{content:\"\\e60f\";}.icon-social-dribbble:before{content:\"\\e00d\";}.icon-social-behance:before{content:\"\\e610\";}.icon-social-foursqare:before{content:\"\\e611\";}.icon-social-soundcloud:before{content:\"\\e612\";}.icon-social-spotify:before{content:\"\\e613\";}.icon-social-stumbleupon:before{content:\"\\e614\";}.icon-social-youtube:before{content:\"\\e008\";}.icon-social-dropbox:before{content:\"\\e00c\";}"
  },
  {
    "path": "src/main/resources/static/backend/icons/themify-icons/css/themify-icons.css",
    "content": "@font-face{font-family:'themify';src:url('../fonts/themify9f24.eot?-fvbane');src:url('../fonts/themifyd41d.eot?#iefix-fvbane') format('embedded-opentype'),url('../fonts/themify.woff') format('woff'),url('../fonts/themify.ttf') format('truetype'),url('../fonts/themify9f24.svg?-fvbane#themify') format('svg');font-weight:normal;font-style:normal;}[class^=\"ti-\"],[class*=\" ti-\"]{font-family:'themify';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.ti-wand:before{content:\"\\e600\";}.ti-volume:before{content:\"\\e601\";}.ti-user:before{content:\"\\e602\";}.ti-unlock:before{content:\"\\e603\";}.ti-unlink:before{content:\"\\e604\";}.ti-trash:before{content:\"\\e605\";}.ti-thought:before{content:\"\\e606\";}.ti-target:before{content:\"\\e607\";}.ti-tag:before{content:\"\\e608\";}.ti-tablet:before{content:\"\\e609\";}.ti-star:before{content:\"\\e60a\";}.ti-spray:before{content:\"\\e60b\";}.ti-signal:before{content:\"\\e60c\";}.ti-shopping-cart:before{content:\"\\e60d\";}.ti-shopping-cart-full:before{content:\"\\e60e\";}.ti-settings:before{content:\"\\e60f\";}.ti-search:before{content:\"\\e610\";}.ti-zoom-in:before{content:\"\\e611\";}.ti-zoom-out:before{content:\"\\e612\";}.ti-cut:before{content:\"\\e613\";}.ti-ruler:before{content:\"\\e614\";}.ti-ruler-pencil:before{content:\"\\e615\";}.ti-ruler-alt:before{content:\"\\e616\";}.ti-bookmark:before{content:\"\\e617\";}.ti-bookmark-alt:before{content:\"\\e618\";}.ti-reload:before{content:\"\\e619\";}.ti-plus:before{content:\"\\e61a\";}.ti-pin:before{content:\"\\e61b\";}.ti-pencil:before{content:\"\\e61c\";}.ti-pencil-alt:before{content:\"\\e61d\";}.ti-paint-roller:before{content:\"\\e61e\";}.ti-paint-bucket:before{content:\"\\e61f\";}.ti-na:before{content:\"\\e620\";}.ti-mobile:before{content:\"\\e621\";}.ti-minus:before{content:\"\\e622\";}.ti-medall:before{content:\"\\e623\";}.ti-medall-alt:before{content:\"\\e624\";}.ti-marker:before{content:\"\\e625\";}.ti-marker-alt:before{content:\"\\e626\";}.ti-arrow-up:before{content:\"\\e627\";}.ti-arrow-right:before{content:\"\\e628\";}.ti-arrow-left:before{content:\"\\e629\";}.ti-arrow-down:before{content:\"\\e62a\";}.ti-lock:before{content:\"\\e62b\";}.ti-location-arrow:before{content:\"\\e62c\";}.ti-link:before{content:\"\\e62d\";}.ti-layout:before{content:\"\\e62e\";}.ti-layers:before{content:\"\\e62f\";}.ti-layers-alt:before{content:\"\\e630\";}.ti-key:before{content:\"\\e631\";}.ti-import:before{content:\"\\e632\";}.ti-image:before{content:\"\\e633\";}.ti-heart:before{content:\"\\e634\";}.ti-heart-broken:before{content:\"\\e635\";}.ti-hand-stop:before{content:\"\\e636\";}.ti-hand-open:before{content:\"\\e637\";}.ti-hand-drag:before{content:\"\\e638\";}.ti-folder:before{content:\"\\e639\";}.ti-flag:before{content:\"\\e63a\";}.ti-flag-alt:before{content:\"\\e63b\";}.ti-flag-alt-2:before{content:\"\\e63c\";}.ti-eye:before{content:\"\\e63d\";}.ti-export:before{content:\"\\e63e\";}.ti-exchange-vertical:before{content:\"\\e63f\";}.ti-desktop:before{content:\"\\e640\";}.ti-cup:before{content:\"\\e641\";}.ti-crown:before{content:\"\\e642\";}.ti-comments:before{content:\"\\e643\";}.ti-comment:before{content:\"\\e644\";}.ti-comment-alt:before{content:\"\\e645\";}.ti-close:before{content:\"\\e646\";}.ti-clip:before{content:\"\\e647\";}.ti-angle-up:before{content:\"\\e648\";}.ti-angle-right:before{content:\"\\e649\";}.ti-angle-left:before{content:\"\\e64a\";}.ti-angle-down:before{content:\"\\e64b\";}.ti-check:before{content:\"\\e64c\";}.ti-check-box:before{content:\"\\e64d\";}.ti-camera:before{content:\"\\e64e\";}.ti-announcement:before{content:\"\\e64f\";}.ti-brush:before{content:\"\\e650\";}.ti-briefcase:before{content:\"\\e651\";}.ti-bolt:before{content:\"\\e652\";}.ti-bolt-alt:before{content:\"\\e653\";}.ti-blackboard:before{content:\"\\e654\";}.ti-bag:before{content:\"\\e655\";}.ti-move:before{content:\"\\e656\";}.ti-arrows-vertical:before{content:\"\\e657\";}.ti-arrows-horizontal:before{content:\"\\e658\";}.ti-fullscreen:before{content:\"\\e659\";}.ti-arrow-top-right:before{content:\"\\e65a\";}.ti-arrow-top-left:before{content:\"\\e65b\";}.ti-arrow-circle-up:before{content:\"\\e65c\";}.ti-arrow-circle-right:before{content:\"\\e65d\";}.ti-arrow-circle-left:before{content:\"\\e65e\";}.ti-arrow-circle-down:before{content:\"\\e65f\";}.ti-angle-double-up:before{content:\"\\e660\";}.ti-angle-double-right:before{content:\"\\e661\";}.ti-angle-double-left:before{content:\"\\e662\";}.ti-angle-double-down:before{content:\"\\e663\";}.ti-zip:before{content:\"\\e664\";}.ti-world:before{content:\"\\e665\";}.ti-wheelchair:before{content:\"\\e666\";}.ti-view-list:before{content:\"\\e667\";}.ti-view-list-alt:before{content:\"\\e668\";}.ti-view-grid:before{content:\"\\e669\";}.ti-uppercase:before{content:\"\\e66a\";}.ti-upload:before{content:\"\\e66b\";}.ti-underline:before{content:\"\\e66c\";}.ti-truck:before{content:\"\\e66d\";}.ti-timer:before{content:\"\\e66e\";}.ti-ticket:before{content:\"\\e66f\";}.ti-thumb-up:before{content:\"\\e670\";}.ti-thumb-down:before{content:\"\\e671\";}.ti-text:before{content:\"\\e672\";}.ti-stats-up:before{content:\"\\e673\";}.ti-stats-down:before{content:\"\\e674\";}.ti-split-v:before{content:\"\\e675\";}.ti-split-h:before{content:\"\\e676\";}.ti-smallcap:before{content:\"\\e677\";}.ti-shine:before{content:\"\\e678\";}.ti-shift-right:before{content:\"\\e679\";}.ti-shift-left:before{content:\"\\e67a\";}.ti-shield:before{content:\"\\e67b\";}.ti-notepad:before{content:\"\\e67c\";}.ti-server:before{content:\"\\e67d\";}.ti-quote-right:before{content:\"\\e67e\";}.ti-quote-left:before{content:\"\\e67f\";}.ti-pulse:before{content:\"\\e680\";}.ti-printer:before{content:\"\\e681\";}.ti-power-off:before{content:\"\\e682\";}.ti-plug:before{content:\"\\e683\";}.ti-pie-chart:before{content:\"\\e684\";}.ti-paragraph:before{content:\"\\e685\";}.ti-panel:before{content:\"\\e686\";}.ti-package:before{content:\"\\e687\";}.ti-music:before{content:\"\\e688\";}.ti-music-alt:before{content:\"\\e689\";}.ti-mouse:before{content:\"\\e68a\";}.ti-mouse-alt:before{content:\"\\e68b\";}.ti-money:before{content:\"\\e68c\";}.ti-microphone:before{content:\"\\e68d\";}.ti-menu:before{content:\"\\e68e\";}.ti-menu-alt:before{content:\"\\e68f\";}.ti-map:before{content:\"\\e690\";}.ti-map-alt:before{content:\"\\e691\";}.ti-loop:before{content:\"\\e692\";}.ti-location-pin:before{content:\"\\e693\";}.ti-list:before{content:\"\\e694\";}.ti-light-bulb:before{content:\"\\e695\";}.ti-Italic:before{content:\"\\e696\";}.ti-info:before{content:\"\\e697\";}.ti-infinite:before{content:\"\\e698\";}.ti-id-badge:before{content:\"\\e699\";}.ti-hummer:before{content:\"\\e69a\";}.ti-home:before{content:\"\\e69b\";}.ti-help:before{content:\"\\e69c\";}.ti-headphone:before{content:\"\\e69d\";}.ti-harddrives:before{content:\"\\e69e\";}.ti-harddrive:before{content:\"\\e69f\";}.ti-gift:before{content:\"\\e6a0\";}.ti-game:before{content:\"\\e6a1\";}.ti-filter:before{content:\"\\e6a2\";}.ti-files:before{content:\"\\e6a3\";}.ti-file:before{content:\"\\e6a4\";}.ti-eraser:before{content:\"\\e6a5\";}.ti-envelope:before{content:\"\\e6a6\";}.ti-download:before{content:\"\\e6a7\";}.ti-direction:before{content:\"\\e6a8\";}.ti-direction-alt:before{content:\"\\e6a9\";}.ti-dashboard:before{content:\"\\e6aa\";}.ti-control-stop:before{content:\"\\e6ab\";}.ti-control-shuffle:before{content:\"\\e6ac\";}.ti-control-play:before{content:\"\\e6ad\";}.ti-control-pause:before{content:\"\\e6ae\";}.ti-control-forward:before{content:\"\\e6af\";}.ti-control-backward:before{content:\"\\e6b0\";}.ti-cloud:before{content:\"\\e6b1\";}.ti-cloud-up:before{content:\"\\e6b2\";}.ti-cloud-down:before{content:\"\\e6b3\";}.ti-clipboard:before{content:\"\\e6b4\";}.ti-car:before{content:\"\\e6b5\";}.ti-calendar:before{content:\"\\e6b6\";}.ti-book:before{content:\"\\e6b7\";}.ti-bell:before{content:\"\\e6b8\";}.ti-basketball:before{content:\"\\e6b9\";}.ti-bar-chart:before{content:\"\\e6ba\";}.ti-bar-chart-alt:before{content:\"\\e6bb\";}.ti-back-right:before{content:\"\\e6bc\";}.ti-back-left:before{content:\"\\e6bd\";}.ti-arrows-corner:before{content:\"\\e6be\";}.ti-archive:before{content:\"\\e6bf\";}.ti-anchor:before{content:\"\\e6c0\";}.ti-align-right:before{content:\"\\e6c1\";}.ti-align-left:before{content:\"\\e6c2\";}.ti-align-justify:before{content:\"\\e6c3\";}.ti-align-center:before{content:\"\\e6c4\";}.ti-alert:before{content:\"\\e6c5\";}.ti-alarm-clock:before{content:\"\\e6c6\";}.ti-agenda:before{content:\"\\e6c7\";}.ti-write:before{content:\"\\e6c8\";}.ti-window:before{content:\"\\e6c9\";}.ti-widgetized:before{content:\"\\e6ca\";}.ti-widget:before{content:\"\\e6cb\";}.ti-widget-alt:before{content:\"\\e6cc\";}.ti-wallet:before{content:\"\\e6cd\";}.ti-video-clapper:before{content:\"\\e6ce\";}.ti-video-camera:before{content:\"\\e6cf\";}.ti-vector:before{content:\"\\e6d0\";}.ti-themify-logo:before{content:\"\\e6d1\";}.ti-themify-favicon:before{content:\"\\e6d2\";}.ti-themify-favicon-alt:before{content:\"\\e6d3\";}.ti-support:before{content:\"\\e6d4\";}.ti-stamp:before{content:\"\\e6d5\";}.ti-split-v-alt:before{content:\"\\e6d6\";}.ti-slice:before{content:\"\\e6d7\";}.ti-shortcode:before{content:\"\\e6d8\";}.ti-shift-right-alt:before{content:\"\\e6d9\";}.ti-shift-left-alt:before{content:\"\\e6da\";}.ti-ruler-alt-2:before{content:\"\\e6db\";}.ti-receipt:before{content:\"\\e6dc\";}.ti-pin2:before{content:\"\\e6dd\";}.ti-pin-alt:before{content:\"\\e6de\";}.ti-pencil-alt2:before{content:\"\\e6df\";}.ti-palette:before{content:\"\\e6e0\";}.ti-more:before{content:\"\\e6e1\";}.ti-more-alt:before{content:\"\\e6e2\";}.ti-microphone-alt:before{content:\"\\e6e3\";}.ti-magnet:before{content:\"\\e6e4\";}.ti-line-double:before{content:\"\\e6e5\";}.ti-line-dotted:before{content:\"\\e6e6\";}.ti-line-dashed:before{content:\"\\e6e7\";}.ti-layout-width-full:before{content:\"\\e6e8\";}.ti-layout-width-default:before{content:\"\\e6e9\";}.ti-layout-width-default-alt:before{content:\"\\e6ea\";}.ti-layout-tab:before{content:\"\\e6eb\";}.ti-layout-tab-window:before{content:\"\\e6ec\";}.ti-layout-tab-v:before{content:\"\\e6ed\";}.ti-layout-tab-min:before{content:\"\\e6ee\";}.ti-layout-slider:before{content:\"\\e6ef\";}.ti-layout-slider-alt:before{content:\"\\e6f0\";}.ti-layout-sidebar-right:before{content:\"\\e6f1\";}.ti-layout-sidebar-none:before{content:\"\\e6f2\";}.ti-layout-sidebar-left:before{content:\"\\e6f3\";}.ti-layout-placeholder:before{content:\"\\e6f4\";}.ti-layout-menu:before{content:\"\\e6f5\";}.ti-layout-menu-v:before{content:\"\\e6f6\";}.ti-layout-menu-separated:before{content:\"\\e6f7\";}.ti-layout-menu-full:before{content:\"\\e6f8\";}.ti-layout-media-right-alt:before{content:\"\\e6f9\";}.ti-layout-media-right:before{content:\"\\e6fa\";}.ti-layout-media-overlay:before{content:\"\\e6fb\";}.ti-layout-media-overlay-alt:before{content:\"\\e6fc\";}.ti-layout-media-overlay-alt-2:before{content:\"\\e6fd\";}.ti-layout-media-left-alt:before{content:\"\\e6fe\";}.ti-layout-media-left:before{content:\"\\e6ff\";}.ti-layout-media-center-alt:before{content:\"\\e700\";}.ti-layout-media-center:before{content:\"\\e701\";}.ti-layout-list-thumb:before{content:\"\\e702\";}.ti-layout-list-thumb-alt:before{content:\"\\e703\";}.ti-layout-list-post:before{content:\"\\e704\";}.ti-layout-list-large-image:before{content:\"\\e705\";}.ti-layout-line-solid:before{content:\"\\e706\";}.ti-layout-grid4:before{content:\"\\e707\";}.ti-layout-grid3:before{content:\"\\e708\";}.ti-layout-grid2:before{content:\"\\e709\";}.ti-layout-grid2-thumb:before{content:\"\\e70a\";}.ti-layout-cta-right:before{content:\"\\e70b\";}.ti-layout-cta-left:before{content:\"\\e70c\";}.ti-layout-cta-center:before{content:\"\\e70d\";}.ti-layout-cta-btn-right:before{content:\"\\e70e\";}.ti-layout-cta-btn-left:before{content:\"\\e70f\";}.ti-layout-column4:before{content:\"\\e710\";}.ti-layout-column3:before{content:\"\\e711\";}.ti-layout-column2:before{content:\"\\e712\";}.ti-layout-accordion-separated:before{content:\"\\e713\";}.ti-layout-accordion-merged:before{content:\"\\e714\";}.ti-layout-accordion-list:before{content:\"\\e715\";}.ti-ink-pen:before{content:\"\\e716\";}.ti-info-alt:before{content:\"\\e717\";}.ti-help-alt:before{content:\"\\e718\";}.ti-headphone-alt:before{content:\"\\e719\";}.ti-hand-point-up:before{content:\"\\e71a\";}.ti-hand-point-right:before{content:\"\\e71b\";}.ti-hand-point-left:before{content:\"\\e71c\";}.ti-hand-point-down:before{content:\"\\e71d\";}.ti-gallery:before{content:\"\\e71e\";}.ti-face-smile:before{content:\"\\e71f\";}.ti-face-sad:before{content:\"\\e720\";}.ti-credit-card:before{content:\"\\e721\";}.ti-control-skip-forward:before{content:\"\\e722\";}.ti-control-skip-backward:before{content:\"\\e723\";}.ti-control-record:before{content:\"\\e724\";}.ti-control-eject:before{content:\"\\e725\";}.ti-comments-smiley:before{content:\"\\e726\";}.ti-brush-alt:before{content:\"\\e727\";}.ti-youtube:before{content:\"\\e728\";}.ti-vimeo:before{content:\"\\e729\";}.ti-twitter:before{content:\"\\e72a\";}.ti-time:before{content:\"\\e72b\";}.ti-tumblr:before{content:\"\\e72c\";}.ti-skype:before{content:\"\\e72d\";}.ti-share:before{content:\"\\e72e\";}.ti-share-alt:before{content:\"\\e72f\";}.ti-rocket:before{content:\"\\e730\";}.ti-pinterest:before{content:\"\\e731\";}.ti-new-window:before{content:\"\\e732\";}.ti-microsoft:before{content:\"\\e733\";}.ti-list-ol:before{content:\"\\e734\";}.ti-linkedin:before{content:\"\\e735\";}.ti-layout-sidebar-2:before{content:\"\\e736\";}.ti-layout-grid4-alt:before{content:\"\\e737\";}.ti-layout-grid3-alt:before{content:\"\\e738\";}.ti-layout-grid2-alt:before{content:\"\\e739\";}.ti-layout-column4-alt:before{content:\"\\e73a\";}.ti-layout-column3-alt:before{content:\"\\e73b\";}.ti-layout-column2-alt:before{content:\"\\e73c\";}.ti-instagram:before{content:\"\\e73d\";}.ti-google:before{content:\"\\e73e\";}.ti-github:before{content:\"\\e73f\";}.ti-flickr:before{content:\"\\e740\";}.ti-facebook:before{content:\"\\e741\";}.ti-dropbox:before{content:\"\\e742\";}.ti-dribbble:before{content:\"\\e743\";}.ti-apple:before{content:\"\\e744\";}.ti-android:before{content:\"\\e745\";}.ti-save:before{content:\"\\e746\";}.ti-save-alt:before{content:\"\\e747\";}.ti-yahoo:before{content:\"\\e748\";}.ti-wordpress:before{content:\"\\e749\";}.ti-vimeo-alt:before{content:\"\\e74a\";}.ti-twitter-alt:before{content:\"\\e74b\";}.ti-tumblr-alt:before{content:\"\\e74c\";}.ti-trello:before{content:\"\\e74d\";}.ti-stack-overflow:before{content:\"\\e74e\";}.ti-soundcloud:before{content:\"\\e74f\";}.ti-sharethis:before{content:\"\\e750\";}.ti-sharethis-alt:before{content:\"\\e751\";}.ti-reddit:before{content:\"\\e752\";}.ti-pinterest-alt:before{content:\"\\e753\";}.ti-microsoft-alt:before{content:\"\\e754\";}.ti-linux:before{content:\"\\e755\";}.ti-jsfiddle:before{content:\"\\e756\";}.ti-joomla:before{content:\"\\e757\";}.ti-html5:before{content:\"\\e758\";}.ti-flickr-alt:before{content:\"\\e759\";}.ti-email:before{content:\"\\e75a\";}.ti-drupal:before{content:\"\\e75b\";}.ti-dropbox-alt:before{content:\"\\e75c\";}.ti-css3:before{content:\"\\e75d\";}.ti-rss:before{content:\"\\e75e\";}.ti-rss-alt:before{content:\"\\e75f\";}"
  },
  {
    "path": "src/main/resources/static/backend/js/dashboard/coin-details.js",
    "content": "\n\n(function($) {\n    /* \"use strict\" */\n\t\n var dzChartlist = function(){\n\t\n\tvar screenWidth = $(window).width();\t\n\t\tvar chartBarRunning = function(){\n\t\t\t var options = {\n          series: [{\n          data: [300, 300, 100, 250, 350, 500, 400, 400, 200,600]\n        },],\n          chart: {\n          height: 350,\n          type: 'area',\n\t\t  toolbar:{\n\t\t\t  show:false\n\t\t  },\n        },\n        dataLabels: {\n          enabled: false\n        },\n        stroke: {\n          curve: 'smooth'\n        },\n        xaxis: {\n          type: 'Week',\n          categories: [\"Week 01\", \"Week 02\", \"Week 03\", \"Week 04\", \"Week 05\", \"Week 06\", \"Week 07\",\"Week 08\",\"Week 09\",\"Week 010\"],\n\t\t   labels:{\n\t\t\t    show: true,\n\t\t\t\tstyle:{\n\t\t\t\t\t colors:'#808080',\n\t\t\t\t},\n\t\t   },\n        },\n\t\t yaxis: {\n\t\t\tlabels: {\n\t\t\t\t formatter: function (value) {\n\t\t\t\t  return value + \"k\";\n\t\t\t\t},\n\t\t\t\tstyle: {\n\t\t\t\t\tcolors: '#787878',\n\t\t\t\t\tfontSize: '13px',\n\t\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\t\tfontWeight: 400\n\t\t\t\t},\n\t\t\t},\n        },\n        tooltip: {\n          x: {\n            format: 'dd/MM/yy HH:mm'\n          },\n        },\n\t\tcolors:['#ffab2d']\n        };\n\n        var chart = new ApexCharts(document.querySelector(\"#chartBarRunning\"), options);\n        chart.render();\n\t\t\n\t\t\n\t}\n\tvar chartBarRunning1 = function(){\n\t\t\t var options = {\n          series: [{\n          data: [300, 300, 100, 250, 350, 500, 400, 400, 200,600]\n        },],\n          chart: {\n          height: 350,\n          type: 'area',\n\t\t  toolbar:{\n\t\t\t  show:false\n\t\t  },\n        },\n        dataLabels: {\n          enabled: false\n        },\n        stroke: {\n          curve: 'smooth'\n        },\n        xaxis: {\n          type: 'Week',\n          categories: [\"Week 01\", \"Week 02\", \"Week 03\", \"Week 04\", \"Week 05\", \"Week 06\", \"Week 07\",\"Week 08\",\"Week 09\",\"Week 010\"],\n\t\t   labels:{\n\t\t\t    show: true,\n\t\t\t\tstyle:{\n\t\t\t\t\t colors:'#808080',\n\t\t\t\t},\n\t\t   },\n        },\n\t\t yaxis: {\n\t\t\tlabels: {\n\t\t\t\t formatter: function (value) {\n\t\t\t\t  return value + \"k\";\n\t\t\t\t},\n\t\t\t\tstyle: {\n\t\t\t\t\tcolors: '#787878',\n\t\t\t\t\tfontSize: '13px',\n\t\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\t\tfontWeight: 400\n\t\t\t\t},\n\t\t\t},\n        },\n        tooltip: {\n          x: {\n            format: 'dd/MM/yy HH:mm'\n          },\n        },\n\t\tcolors:['#2258BF']\n        };\n\n        var chart = new ApexCharts(document.querySelector(\"#chartBarRunning1\"), options);\n        chart.render();\n\t\t\n\t\t\n\t}\n\tvar chartBarRunning2 = function(){\n\t\t\t var options = {\n          series: [{\n          data: [300, 300, 100, 250, 350, 500, 400, 400, 200,600]\n        },],\n          chart: {\n          height: 350,\n          type: 'area',\n\t\t  toolbar:{\n\t\t\t  show:false\n\t\t  },\n        },\n        dataLabels: {\n          enabled: false\n        },\n        stroke: {\n          curve: 'smooth'\n        },\n        xaxis: {\n          type: 'Week',\n          categories: [\"Week 01\", \"Week 02\", \"Week 03\", \"Week 04\", \"Week 05\", \"Week 06\", \"Week 07\",\"Week 08\",\"Week 09\",\"Week 010\"],\n\t\t   labels:{\n\t\t\t    show: true,\n\t\t\t\tstyle:{\n\t\t\t\t\t colors:'#808080',\n\t\t\t\t},\n\t\t   },\n        },\n\t\t yaxis: {\n\t\t\tlabels: {\n\t\t\t\t formatter: function (value) {\n\t\t\t\t  return value + \"k\";\n\t\t\t\t},\n\t\t\t\tstyle: {\n\t\t\t\t\tcolors: '#787878',\n\t\t\t\t\tfontSize: '13px',\n\t\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\t\tfontWeight: 400\n\t\t\t\t},\n\t\t\t},\n        },\n        tooltip: {\n          x: {\n            format: 'dd/MM/yy HH:mm'\n          },\n        },\n\t\tcolors:['#ff782c']\n        };\n\n        var chart = new ApexCharts(document.querySelector(\"#chartBarRunning2\"), options);\n        chart.render();\n\t\t\n\t\t\n\t}\n\tvar chartBarRunning3 = function(){\n\t\t\t var options = {\n          series: [{\n          data: [300, 300, 100, 250, 350, 500, 400, 400, 200,600]\n        },],\n          chart: {\n          height: 350,\n          type: 'area',\n\t\t  toolbar:{\n\t\t\t  show:false\n\t\t  },\n        },\n        dataLabels: {\n          enabled: false\n        },\n        stroke: {\n          curve: 'smooth'\n        },\n        xaxis: {\n          type: 'Week',\n          categories: [\"Week 01\", \"Week 02\", \"Week 03\", \"Week 04\", \"Week 05\", \"Week 06\", \"Week 07\",\"Week 08\",\"Week 09\",\"Week 010\"],\n\t\t   labels:{\n\t\t\t    show: true,\n\t\t\t\tstyle:{\n\t\t\t\t\t colors:'#808080',\n\t\t\t\t},\n\t\t   },\n        },\n\t\t yaxis: {\n\t\t\tlabels: {\n\t\t\t\t formatter: function (value) {\n\t\t\t\t  return value + \"k\";\n\t\t\t\t},\n\t\t\t\tstyle: {\n\t\t\t\t\tcolors: '#787878',\n\t\t\t\t\tfontSize: '13px',\n\t\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\t\tfontWeight: 400\n\t\t\t\t},\n\t\t\t},\n        },\n        tooltip: {\n          x: {\n            format: 'dd/MM/yy HH:mm'\n          },\n        },\n\t\tcolors:['#374C98']\n        };\n\n        var chart = new ApexCharts(document.querySelector(\"#chartBarRunning3\"), options);\n        chart.render();\n\t\t\n\t\t\n\t}\n\t/* Function ============ */\n\t\treturn {\n\t\t\tinit:function(){\n\t\t\t},\n\t\t\t\n\t\t\t\n\t\t\tload:function(){\n\t\t\t\tchartBarRunning();\n\t\t\t\tchartBarRunning1();\n\t\t\t\tchartBarRunning2();\n\t\t\t\tchartBarRunning3();\n\t\t\t\t\n\t\t\t},\n\t\t\t\n\t\t\tresize:function(){\n\t\t\t}\n\t\t}\n\t\n\t}();\n\n\t\n\t\t\n\tjQuery(window).on('load',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzChartlist.load();\n\t\t}, 1000); \n\t\t\n\t});\n\n     \n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/dashboard/dashboard-1.js",
    "content": "\n\n(function($) {\n    /* \"use strict\" */\n\t\n var dzChartlist = function(){\n\t\n\tvar screenWidth = $(window).width();\t\n\tvar currentChart = function(){\n\t\t var options = {\n\t\t  series: [85, 60, 67, 50],\n\t\t  chart: {\n\t\t  height: 350,\n\t\t  type: 'radialBar',\n\t\t},\n\t\tplotOptions: {\n\t\t  radialBar: {\n\t\t\t\tstartAngle:-90,\n\t\t\t   endAngle: 90,\n\t\t\tdataLabels: {\n\t\t\t  name: {\n\t\t\t\tfontSize: '22px',\n\t\t\t  },\n\t\t\t  value: {\n\t\t\t\tfontSize: '16px',\n\t\t\t  },\n\t\t\t}\n\t\t  },\n\t\t},\n\t\tstroke:{\n\t\t\t lineCap: 'round',\n\t\t},\n\t\tlabels: ['Income', 'Income', 'Imcome', 'Income'],\n\t\t colors:['#FFAF65', '#4441DE','#60C695','#F34F80'],\n\t\t};\n\n\t\tvar chart = new ApexCharts(document.querySelector(\"#currentChart\"), options);\n\t\tchart.render();\n\t}\n\t\n\tvar marketChart = function(){\n\t\t var options = {\n          series: [{\n          name: 'series1',\n          data: [200, 200, 200, 450, 300, 400, 300,400, 500, 300]\n        }, {\n          name: 'series2',\n          data: [400, 300, 450, 350, 700, 200, 800, 800, 700, 750]\n        }],\n          chart: {\n          height: 350,\n          type: 'line',\n\t\t  toolbar:{\n\t\t\t  show:false\n\t\t  }\n        },\n\t\tcolors:[\"#2258BF\",\"#FF7213\"],\n        dataLabels: {\n          enabled: false\n        },\n        stroke: {\n          curve: 'smooth',\n\t\t   width: 10,\n        },\n\t\tlegend:{\n\t\t\tshow:false\n\t\t},\n\t\tgrid:{\n\t\t\tborderColor: '#AFAFAF',\n\t\t\tstrokeDashArray: 10,\n\t\t},\n\t\tyaxis: {\n\t\t  labels: {\n\t\t\tstyle: {\n\t\t\t\tcolors: '#787878',\n\t\t\t\tfontSize: '13px',\n\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\tfontWeight: 400\n\t\t\t\t\n\t\t\t},\n\t\t\tformatter: function (value) {\n\t\t\t  return value + \"k\";\n\t\t\t}\n\t\t  },\n\t\t},\n        xaxis: {\n          categories: [\"Week 01\",\"Week 02\",\"Week 03\",\"Week 04\",\"Week 05\",\"Week 06\",\"Week 07\",\"Week 08\",\"Week 09\",\"Week 10\"],\n\t\t  labels:{\n\t\t\t  style: {\n\t\t\t\tcolors: '#787878',\n\t\t\t\tfontSize: '13px',\n\t\t\t\tfontFamily: 'Poppins',\n\t\t\t\tfontWeight: 400\n\t\t\t\t\n\t\t\t},\n\t\t  },\n\t\t  axisBorder:{\n\t\t\tshow:false,  \n\t\t  },\n\t\t  axisTicks:{\n\t\t\t  show: false,\n\t\t},\n\t\t  \n        },\n        tooltip: {\n          x: {\n            format: 'dd/MM/yy HH:mm'\n          },\n        },\n        };\n\n        var chart = new ApexCharts(document.querySelector(\"#marketChart\"), options);\n        chart.render();\n\t}\n\tvar recentContact = function(){\n\t\tjQuery('.card-slide').owlCarousel({\n\t\t\tloop:false,\n\t\t\tmargin:30,\n\t\t\tnav:true,\n            rtl:(getUrlParams('dir') == 'rtl')?true:false,\n\t\t\tautoWidth:true,\n            //rtl:true,\n\t\t\tdots: false,\n\t\t\tnavText: ['', ''],\n\t\t});\t\n\t}\n\tvar carouselReview = function(){\n\t\tjQuery('.testimonial-two').owlCarousel({\n\t\t\tloop:true,\n\t\t\tautoplay:true,\n\t\t\tmargin:10,\n\t\t\tnav:false,\n\t\t\tstagePadding: 20,\n\t\t\trtl:false,\n\t\t\tdots: false,\n\t\t\tnavText: ['', ''],\n\t\t\tresponsive:{\n\t\t\t\t0:{\n\t\t\t\t\titems:2\n\t\t\t\t},\n\t\t\t\t450:{\n\t\t\t\t\titems:3\n\t\t\t\t},\n\t\t\t\t600:{\n\t\t\t\t\titems:3\n\t\t\t\t},\t\n\t\t\t\t991:{\n\t\t\t\t\titems:4\n\t\t\t\t},\t\t\t\n\t\t\t\t\n\t\t\t\t1200:{\n\t\t\t\t\titems:5\n\t\t\t\t},\n\t\t\t\t1600:{\n\t\t\t\t\titems:4\n\t\t\t\t},\n\t\t\t}\n\t\t})\n\t}\n\t\n\t/* Function ============ */\n\t\treturn {\n\t\t\tinit:function(){\n\t\t\t},\n\t\t\t\n\t\t\t\n\t\t\tload:function(){\n\t\t\t\tcurrentChart();\n\t\t\t\tmarketChart();\n\t\t\t\trecentContact();\n\t\t\t\tcarouselReview();\n\t\t\t\t\n\t\t\t},\n\t\t\t\n\t\t\tresize:function(){\n\t\t\t}\n\t\t}\n\t\n\t}();\n\n\t\n\t\t\n\tjQuery(window).on('load',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzChartlist.load();\n\t\t}, 1000); \n\t\t\n\t});\n\n     \n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/dashboard/market-capital.js",
    "content": "\n\n(function($) {\n    /* \"use strict\" */\n\t\n var dzChartlist = function(){\n\t\n\tvar screenWidth = $(window).width();\t\n\t\tvar peityLine = function(){\n\t\t$(\".peity-line\").peity(\"line\", {\n\t\t\tfill: [\"rgba(34, 88, 191, .0)\"], \n\t\t\tstroke: '#2258BF', \n\t\t\tstrokeWidth: '4', \n\t\t\twidth: \"280\",\n\t\t\theight: \"50\"\n\t\t});\n\t}\n\t\n \n\t/* Function ============ */\n\t\treturn {\n\t\t\tinit:function(){\n\t\t\t},\n\t\t\t\n\t\t\t\n\t\t\tload:function(){\n\t\t\t\tpeityLine();\t\t\t\n\t\t\t\t\n\t\t\t},\n\t\t\t\n\t\t\tresize:function(){\n\t\t\t}\n\t\t}\n\t\n\t}();\n\n\t\n\t\t\n\tjQuery(window).on('load',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzChartlist.load();\n\t\t}, 1000); \n\t\t\n\t});\n\n     \n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/dashboard/my-wallet.js",
    "content": "\n\n(function($) {\n    /* \"use strict\" */\n\t\n var dzChartlist = function(){\n\t\n\tvar screenWidth = $(window).width();\t\n\tvar swiperBox = function(){\n\t\tvar swiper = new Swiper('.card-swiper', {\n\t\tdirection: 'vertical',\n\t\tslidesPerView: 'auto',\n\t\tfreeMode: true,\n\t\tscrollbar: {\n\t\t\tel: '.swiper-scrollbar',\n\t\t},\n\t\tmousewheel: true,\n\t\tbreakpoints: {\n\t\t\t0: {\n\t\t\t\tdirection: 'horizontal',\n\t\t\t\tslidesPerView: 'auto',\n\t\t\t},\n\t\t\t650: {\n\t\t\t\tdirection: 'horizontal',\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tscrollbar: {\n\t\t\t\t\tel: '.swiper-scrollbar',\n\t\t\t\t\t\n\t\t\t\t},\n\t\t\t},\n\t\t\t1200: {\n\t\t\t\tdirection: 'vertical',\n\t\t\t\tslidesPerView: 'auto',\n\t\t\t\tscrollbar: {\n\t\t\t\t\tel: '.swiper-scrollbar',\n\t\t\t\t},\n\t\t\t},\n\t\t}\n\t\t \n\t\t});\n\t}\n\tvar donutChart1 = function(){\n\t\t$(\"span.donut1\").peity(\"donut\", {\n\t\t\twidth: \"110\",\n\t\t\theight: \"110\"\n\t\t});\n\t}\n\tvar chartTimeline = function(){\n\t\t\n\t\tvar optionsTimeline = {\n\t\t\tchart: {\n\t\t\t\ttype: \"bar\",\n\t\t\t\theight: 300,\n\t\t\t\tstacked: true,\n\t\t\t\ttoolbar: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\tsparkline: {\n\t\t\t\t\t//enabled: true\n\t\t\t\t},\n\t\t\t\toffsetX: -10,\n\t\t\t},\n\t\t\tseries: [\n\t\t\t\t {\n\t\t\t\t\tname: \"New Clients\",\n\t\t\t\t\tdata: [300, 450, 600, 600, 400, 450, 410, 470, 480, 700, 600, 800, 400, 600, 350, 250, 500, 550, 300, 400, 200]\n\t\t\t\t}\n\t\t\t],\n\t\t\t\n\t\t\tplotOptions: {\n\t\t\t\tbar: {\n\t\t\t\t\tcolumnWidth: \"28%\",\n\t\t\t\t\tendingShape: \"rounded\",\n\t\t\t\t\tstartingShape: \"rounded\",\n\t\t\t\t\tborderRadius: 7,\n\t\t\t\t\t\n\t\t\t\t\tcolors: {\n\t\t\t\t\t\tbackgroundBarColors: ['#E9E9E9', '#E9E9E9', '#E9E9E9', '#E9E9E9','#E9E9E9','#E9E9E9','#E9E9E9','#E9E9E9','#E9E9E9','#E9E9E9','#E9E9E9','#E9E9E9'],\n\t\t\t\t\t\tbackgroundBarOpacity: 1,\n\t\t\t\t\t\tbackgroundBarRadius: 5,\n\t\t\t\t\t},\n\n\t\t\t\t},\n\t\t\t\tdistributed: true\n\t\t\t},\n\t\t\t\n\t\t\tcolors:['#2258BF'],\n\t\t\tgrid: {\n\t\t\t\tshow: false,\n\t\t\t},\n\t\t\tlegend: {\n\t\t\t\tshow: false\n\t\t\t},\n\t\t\tfill: {\n\t\t\t  opacity: 1\n\t\t\t},\n\t\t\tdataLabels: {\n\t\t\t\tenabled: false,\n\t\t\t\tcolors: ['#000'],\n\t\t\t\tdropShadow: {\n\t\t\t\t  enabled: true,\n\t\t\t\t  top: 1,\n\t\t\t\t  left: 1,\n\t\t\t\t  blur: 1,\n\t\t\t\t  opacity: 1\n\t\t\t  }\n\t\t\t},\n\t\t\tstroke:{\n\t\t\t\t show: true,\t\n\t\t\t\t lineCap: 'rounded',\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t categories: ['06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18'],\n\t\t\t  labels: {\n\t\t\t   style: {\n\t\t\t\t  colors: '#808080',\n\t\t\t\t  fontSize: '13px',\n\t\t\t\t  fontFamily: 'poppins',\n\t\t\t\t  fontWeight: 100,\n\t\t\t\t  cssClass: 'apexcharts-xaxis-label',\n\t\t\t\t},\n\t\t\t  },\n\t\t\t  crosshairs: {\n\t\t\t\tshow: false,\n\t\t\t  },\n\t\t\t  axisBorder: {\n\t\t\t\t  show: false,\n\t\t\t\t},\n\t\t\taxisTicks:{\n\t\t\t\t  show: false,\n\t\t\t},\n\t\t\t\t\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\tlabels: {\n\t\t\t   style: {\n\t\t\t\t  colors: '#808080',\n\t\t\t\t  fontSize: '14px',\n\t\t\t\t   fontFamily: 'Poppins',\n\t\t\t\t  fontWeight: 100,\n\t\t\t\t  \n\t\t\t\t},\n\t\t\t\t formatter: function (y) {\n\t\t\t\t\t\t  return y.toFixed(0) + \"k\";\n\t\t\t\t\t\t}\n\t\t\t  },\n\t\t\t},\n\t\t\ttooltip: {\n\t\t\t\tx: {\n\t\t\t\t\tshow: true\n\t\t\t\t}\n\t\t\t},\n\t\t\t responsive: [{\n\t\t\t\tbreakpoint: 575,\n\t\t\t\toptions: {\n\t\t\t\t\tchart: {\n\t\t\t\t\t\theight: 250,\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t }]\n\t\t};\n\t\tvar chartTimelineRender =  new ApexCharts(document.querySelector(\"#chartTimeline\"), optionsTimeline);\n\t\t chartTimelineRender.render();\n\t}\n \n\t/* Function ============ */\n\t\treturn {\n\t\t\tinit:function(){\n\t\t\t},\n\t\t\t\n\t\t\t\n\t\t\tload:function(){\n\t\t\t\tswiperBox();\n\t\t\t\tdonutChart1();\t\n\t\t\t\tchartTimeline();\t\t\t\n\t\t\t\t\n\t\t\t},\n\t\t\t\n\t\t\tresize:function(){\n\t\t\t\tswiperBox();\n\t\t\t}\n\t\t}\n\t\n\t}();\n\n\t\n\t\t\n\tjQuery(window).on('load',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzChartlist.load();\n\t\t}, 1000); \n\t\t\n\t});\n\n     \n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/dashboard/portofolio.js",
    "content": "\n\n(function($) {\n    /* \"use strict\" */\n\t\n var dzChartlist = function(){\n\t\n\tvar screenWidth = $(window).width();\t\n\t\t var WeeklysummaryChart = function(){\n\t\t\t var options = {\n\t\t\t  series: [{\n\t\t\t  name: 'PRODUCT A',\n\t\t\t  data: [44, 55, 41, 67, 22, 43, 21]\n\t\t\t}, {\n\t\t\t  name: 'PRODUCT B',\n\t\t\t  data: [13, 23, 20, 8, 13, 27, 33]\n\t\t\t}, {\n\t\t\t  name: 'PRODUCT C',\n\t\t\t  data: [11, 17, 15, 15, 21, 14, 15]\n\t\t\t}],\n\t\t\t  chart: {\n\t\t\t  type: 'bar',\n\t\t\t  height: 150,\n\t\t\t  stacked: true,\n\t\t\t  stackType: '100%',\n\t\t\t  toolbar:{\n\t\t\t\t  show:false,\n\t\t\t  },\n\t\t\t},\n\t\t\tplotOptions:{\n\t\t\t\tbar:{\n\t\t\t\t\tcolumnWidth: '25%',\n\t\t\t\t\tendingShape: \"rounded\",\n\t\t\t\t\tstartingShape: \"rounded\",\n\t\t\t\t\tborderRadius: 4,\n\t\t\t\t\tcolors:{\n\t\t\t\t\t\t //backgroundBarColors:['#13b440','#ff9574','#c4c4c4'],\n\t\t\t\t\t\t backgroundBarOpacity: 1,\n\t\t\t\t\t\t  backgroundBarRadius: 5,\n\t\t\t\t\t},\n\t\t\t\t\t\n\t\t\t\t}, \n\t\t\t},\n\t\t\tgrid:{\n\t\t\t\t  show: false,\n\t\t\t},\n\t\t\tcolors:['#13b440','#ff9574','#c4c4c4'],\n\t\t\tdataLabels:{\n\t\t\t\t enabled: false,\n\t\t\t},\n\t\t\tresponsive: [{\n\t\t\t  breakpoint: 480,\n\t\t\t  options: {\n\t\t\t\tlegend: {\n\t\t\t\t  position: 'bottom',\n\t\t\t\t  offsetX: -10,\n\t\t\t\t  offsetY: 0\n\t\t\t\t}\n\t\t\t  }\n\t\t\t}],\n\t\t\txaxis: {\n\t\t\t  categories: ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI','SAT'],\n\t\t\t   axisBorder: {\n\t\t\t\t   show: false,\n\t\t\t   },\n\t\t\t    axisTicks:{\n\t\t\t\t\t  show: false,\n\t\t\t\t},\n\t\t\t},\n\t\t\tyaxis:{\n\t\t\t\t show: false,\n\t\t\t},\n\t\t\tfill: {\n\t\t\t  opacity: 1\n\t\t\t},\n\t\t\tlegend: {\n\t\t\t  position: 'right',\n\t\t\t  offsetX: 0,\n\t\t\t  offsetY: 50,\n\t\t\t  show:false\n\t\t\t},\n\t\t\t};\n\n        var chart = new ApexCharts(document.querySelector(\"#WeeklysummaryChart\"), options);\n        chart.render();\n\t }\t\n\t var CurrentGraph = function(){\n\t\t var options = {\n          series: [{\n          name: 'Buy',\n          data: [44, 55, 57, 56, 61]\n        }, {\n          name: 'Sell',\n          data: [76, 85, 101, 98, 87]\n        }],\n          chart: {\n          type: 'bar',\n          height: 350,\n\t\t  toolbar: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n        },\n\t\tgrid: {\t\n\t\t\tshow: false\n\t\t},\n        plotOptions: {\n          bar: {\n            horizontal: false,\n            columnWidth: '55%',\n            endingShape: 'rounded',\n\t\t\tstartingShape: \"rounded\",\n\t\t\tborderRadius: 7,\n          },\n        },\n        dataLabels: {\n          enabled: false\n        },\n        stroke: {\n          show: true,\n          width: 0,\n          colors: ['transparent'],\n\t\t  lineCap: 'smooth',\n        },\n        xaxis: {\n          categories: ['Feb', 'Mar', 'Apr', 'May', 'Jun'],\n\t\t   labels: {\n\t\t\tshow: false,\n\t\t   },\n\t\t\t axisBorder:{\n\t\t\t\t   show: false,\t\n\t\t\t },\n\t\t\t axisTicks: {\n\t\t\t\tshow: false,\n\t\t\t},\n        },\n        yaxis: {\n\t\t\tshow: false\t\n        },\n\t\tlegend:{\n\t\t\titemMargin: {\n\t\t\t  horizontal: 15,\n\t\t\t  vertical: 0\n\t\t\t},\n\t\t\t markers:{\n\t\t\t\t  radius: 12,\n\t\t\t },\n\t\t},\n        fill: {\n          opacity: 1\n        },\n\t\tcolors: ['#2258BF', '#FAC438'],\n        tooltip: {\n          y: {\n            formatter: function (val) {\n              return \"$ \" + val + \" thousands\"\n            }\n          }\n        }\n        };\n\n        var chart = new ApexCharts(document.querySelector(\"#CurrentGraph\"), options);\n        chart.render();\n\t}\n\tvar pieChart = function(){\n\t\t var options = {\n          series: [34, 12, 41, 22],\n          chart: {\n          type: 'donut',\n\t\t  height:250\n        },\n\t\tdataLabels: {\n          enabled: false\n        },\n\t\tstroke: {\n          width: 0,\n        },\n\t\tcolors:['#374C98', '#FFAB2D', '#FF782C', '#00ADA3'],\n\t\tlegend: {\n              position: 'bottom',\n\t\t\t  show:false\n            },\n        responsive: [{\n          breakpoint: 768,\n          options: {\n           chart: {\n\t\t\t  height:200\n\t\t\t},\n          }\n        }]\n        };\n\n        var chart = new ApexCharts(document.querySelector(\"#pieChart\"), options);\n        chart.render();\n    \n\t}\n\t\n\t/* Function ============ */\n\t\treturn {\n\t\t\tinit:function(){\n\t\t\t},\n\t\t\t\n\t\t\t\n\t\t\tload:function(){\n\t\t\t\tWeeklysummaryChart();\n\t\t\t\tCurrentGraph();\n\t\t\t\tpieChart();\n\t\t\t\t\n\t\t\t},\n\t\t\t\n\t\t\tresize:function(){\n\t\t\t}\n\t\t}\n\t\n\t}();\n\n\t\n\t\t\n\tjQuery(window).on('load',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzChartlist.load();\n\t\t}, 1000); \n\t\t\n\t});\n\n     \n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/demo.js",
    "content": "\"use strict\"\nvar themeOptionArr = {\n\t\t\ttypography: '',\n\t\t\tversion: '',\n\t\t\tlayout: '',\n\t\t\tprimary: '',\n\t\t\theaderBg: '',\n\t\t\tnavheaderBg: '',\n\t\t\tsidebarBg: '',\n\t\t\tsidebarStyle: '',\n\t\t\tsidebarPosition: '',\n\t\t\theaderPosition: '',\n\t\t\tcontainerLayout: '',\n\t\t\t//direction: '',\n\t\t};\n\t\t\n\t\t\n\n/* Cookies Function */\nfunction setCookie(cname, cvalue, exhours) \n\t{\n\t\tvar d = new Date();\n\t\td.setTime(d.getTime() + (30*60*1000)); /* 30 Minutes */\n\t\tvar expires = \"expires=\"+ d.toString();\n\t\tdocument.cookie = cname + \"=\" + cvalue + \";\" + expires + \";path=/\";\n\t}\n\nfunction getCookie(cname) \n\t{\n\t\tvar name = cname + \"=\";\n\t\tvar decodedCookie = decodeURIComponent(document.cookie);\n\t\tvar ca = decodedCookie.split(';');\n\t\tfor(var i = 0; i <ca.length; i++) {\n\t\t\tvar c = ca[i];\n\t\t\twhile (c.charAt(0) == ' ') {\n\t\t\t\tc = c.substring(1);\n\t\t\t}\n\t\t\tif (c.indexOf(name) == 0) {\n\t\t\t\treturn c.substring(name.length, c.length);\n\t\t\t}\n\t\t}\n\t\treturn \"\";\n\t}\n\nfunction deleteCookie(cname) \n\t{\n\t\tvar d = new Date();\n\t\td.setTime(d.getTime() + (1)); // 1/1000 second\n\t\tvar expires = \"expires=\"+ d.toString();\n\t\t//document.cookie = cname + \"=1;\" + expires + \";path=/\";\n\t\tdocument.cookie = cname + \"=;expires=Thu, 01 Jan 1970 00:00:00 GMT\"+\";path=/\";\n\t}\n\nfunction deleteAllCookie(reload = true)\n\t{\n\t\tjQuery.each(themeOptionArr, function(optionKey, optionValue) {\n\t\t\t\tdeleteCookie(optionKey);\n\t\t});\n\t\tif(reload){\n\t\t\tlocation.reload();\n\t\t}\n\t}\n \t\n/* Cookies Function END */\t\n \t\n\n(function($) {\n\t\n\t\"use strict\"\n\t\n\t//var direction =  getUrlParams('dir');\n\tvar theme =  getUrlParams('theme');\n\t\n\t/* Dz Theme Demo Settings  */\n\t\n\tvar dezThemeSet0 = { /* Default Theme */\n\t\ttypography: \"poppins\",\n\t\tversion: \"light\",\n\t\tlayout: \"vertical\",\n\t\theaderBg: \"color_1\",\n\t\tprimary: \"color_1\",\n\t\tnavheaderBg: \"color_1\",\n\t\tsidebarBg: \"color_1\",\n\t\tsidebarStyle: \"full\",\n\t\tsidebarPosition: \"fixed\",\n\t\theaderPosition: \"fixed\",\n\t\tcontainerLayout: \"full\",\n\t};\n\t\n\tvar dezThemeSet1 = {\n\t\ttypography: \"poppins\",\n\t\tversion: \"dark\",\n\t\tlayout: \"vertical\",\n\t\tprimary: \"color_1\",\n\t\theaderBg: \"color_1\",\n\t\tnavheaderBg: \"color_3\",\n\t\tsidebarBg: \"color_3\",\n\t\tsidebarStyle: \"full\",\n\t\tsidebarPosition: \"fixed\",\n\t\theaderPosition: \"fixed\",\n\t\tcontainerLayout: \"full\",\n\t};\n\t\n\tvar dezThemeSet2 = {\n\t\ttypography: \"poppins\",\n\t\tversion: \"light\",\n\t\tlayout: \"vertical\",\n\t\tprimary: \"color_9\",\n\t\theaderBg: \"color_1\",\n\t\tnavheaderBg: \"color_9\",\n\t\tsidebarBg: \"color_1\",\n\t\tsidebarStyle: \"full\",\n\t\tsidebarPosition: \"fixed\",\n\t\theaderPosition: \"fixed\",\n\t\tcontainerLayout: \"full\",\n\t};\n\t\n\t\n\tvar dezThemeSet3 = {\n\t\ttypography: \"poppins\",\n\t\tversion: \"light\",\n\t\tlayout: \"vertical\",\n\t\tprimary: \"color_4\",\n\t\theaderBg: \"color_1\",\n\t\tnavheaderBg: \"color_4\",\n\t\tsidebarBg: \"color_4\",\n\t\tsidebarStyle: \"full\",\n\t\tsidebarPosition: \"fixed\",\n\t\theaderPosition: \"fixed\",\n\t\tcontainerLayout: \"full\",\n\t};\n\t\n\tvar dezThemeSet4 = {\n\t\ttypography: \"poppins\",\n\t\tversion: \"light\",\n\t\tlayout: \"vertical\",\n\t\tprimary: \"color_5\",\n\t\theaderBg: \"color_1\",\n\t\tnavheaderBg: \"color_5\",\n\t\tsidebarBg: \"color_5\",\n\t\tsidebarStyle: \"compact\",\n\t\tsidebarPosition: \"fixed\",\n\t\theaderPosition: \"fixed\",\n\t\tcontainerLayout: \"full\",\n\t};\n\t\n\tvar dezThemeSet5 = {\n\t\ttypography: \"poppins\",\n\t\tversion: \"light\",\n\t\tlayout: \"horizontal\",\n\t\tprimary: \"color_1\",\n\t\theaderBg: \"color_1\",\n\t\tnavheaderBg: \"color_1\",\n\t\tsidebarBg: \"color_3\",\n\t\tsidebarStyle: \"full\",\n\t\tsidebarPosition: \"fixed\",\n\t\theaderPosition: \"fixed\",\n\t\tcontainerLayout: \"full\",\n\t};\n\t\n\t\t\n\tfunction themeChange(theme){\n\t\tvar themeSettings = {};\n\t\tthemeSettings = eval('dezThemeSet'+theme);\n\t\tdezSettingsOptions = themeSettings; /* For Screen Resize */\n\t\tnew dezSettings(themeSettings);\n\t\t\n\t\tsetThemeInCookie(themeSettings);\n\t}\n\t\n\tfunction setThemeInCookie(themeSettings)\n\t{\n\t\t//console.log(themeSettings);\n\t\tjQuery.each(themeSettings, function(optionKey, optionValue) {\n\t\t\tsetCookie(optionKey,optionValue);\n\t\t});\n\t}\n\t\n\tfunction setThemeLogo() {\n\t\tvar logo = getCookie('logo_src');\n\t\t\n\t\tvar logo2 = getCookie('logo_src2');\n\t\t\n\t\tif(logo != ''){\n\t\t\tjQuery('.nav-header .logo-abbr').attr(\"src\", logo);\n\t\t}\n\t\t\n\t\tif(logo2 != ''){\n\t\t\tjQuery('.nav-header .logo-compact, .nav-header .brand-title').attr(\"src\", logo2);\n\t\t}\n\t}\n\t\n\tfunction setThemeOptionOnPage()\n\t{\n\t\tif(getCookie('version') != '')\n\t\t{\n\t\t\tjQuery.each(themeOptionArr, function(optionKey, optionValue) {\n\t\t\t\tvar optionData = getCookie(optionKey);\n\t\t\t\tthemeOptionArr[optionKey] = (optionData != '')?optionData:dezSettingsOptions[optionKey];\n\t\t\t});\n\t\t\tconsole.log(themeOptionArr);\n\t\t\tdezSettingsOptions = themeOptionArr;\n\t\t\tnew dezSettings(dezSettingsOptions);\n\t\t\t\n\t\t\tsetThemeLogo();\n\t\t}\n\t}\n\t\n\tjQuery(document).on('click', '.dz_theme_demo', function(){\n\t\tvar demoTheme = jQuery(this).data('theme');\n\t\tthemeChange(demoTheme, 'ltr');\n\t});\n\n\n\tjQuery(document).on('click', '.dz_theme_demo_rtl', function(){\n\t\tvar demoTheme = jQuery(this).data('theme');\n\t\tthemeChange(demoTheme, 'rtl');\n\t});\n\t\n\t\n\tjQuery(window).on('load', function(){\n\t\t//direction = (direction != undefined)?direction:'ltr';\n\t\tif(theme != undefined){\n\t\t\tthemeChange(theme);\n\t\t}else if(getCookie('version') == ''){\t\n\t\t\t\tthemeChange(0);\n\t\t\t\n\t\t}\n\t\t\n\t\t/* Set Theme On Page From Cookie */\n\t\tsetThemeOptionOnPage();\n\t});\n\t\n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/deznav-init.js",
    "content": "\n\"use strict\"\n\nvar dezSettingsOptions = {};\n\nfunction getUrlParams(dParam) \n\t{\n\t\tvar dPageURL = window.location.search.substring(1),\n\t\t\tdURLVariables = dPageURL.split('&'),\n\t\t\tdParameterName,\n\t\t\ti;\n\n\t\tfor (i = 0; i < dURLVariables.length; i++) {\n\t\t\tdParameterName = dURLVariables[i].split('=');\n\n\t\t\tif (dParameterName[0] === dParam) {\n\t\t\t\treturn dParameterName[1] === undefined ? true : decodeURIComponent(dParameterName[1]);\n\t\t\t}\n\t\t}\n\t}\n\n(function($) {\n\t\n\t\"use strict\"\n\t\n\t/* var direction =  getUrlParams('dir');\n\t\n\tif(direction == 'rtl')\n\t{\n        direction = 'rtl'; \n    }else{\n        direction = 'ltr'; \n    } */\n\t\n\tdezSettingsOptions = {\n\t\t\ttypography: \"poppins\",\n\t\t\tversion: \"light\",\n\t\t\tlayout: \"vertical\",\n\t\t\tprimary: \"color_1\",\n\t\t\theaderBg: \"color_1\",\n\t\t\tnavheaderBg: \"color_1\",\n\t\t\tsidebarBg: \"color_1\",\n\t\t\tsidebarStyle: \"full\",\n\t\t\tsidebarPosition: \"fixed\",\n\t\t\theaderPosition: \"fixed\",\n\t\t\tcontainerLayout: \"full\",\n\t\t};\n\n\t\n\t\n\t\n\tnew dezSettings(dezSettingsOptions); \n\n\tjQuery(window).on('resize',function(){\n        /*Check container layout on resize */\n\t\t///alert(dezSettingsOptions.primary);\n        dezSettingsOptions.containerLayout = $('#container_layout').val();\n        /*Check container layout on resize END */\n        \n\t\tnew dezSettings(dezSettingsOptions); \n\t});\n\t\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/fullcalendar-init.js",
    "content": "\"use strict\"\n document.addEventListener('DOMContentLoaded', function() {\n\n\t\t/* initialize the external events\n\t\t-----------------------------------------------------------------*/\n\n\t\tvar containerEl = document.getElementById('external-events');\n\t\tnew FullCalendar.Draggable(containerEl, {\n\t\t  itemSelector: '.external-event',\n\t\t  eventData: function(eventEl) {\n\t\t\treturn {\n\t\t\t  title: eventEl.innerText.trim()\n\t\t\t}\n\t\t  }\n\t\t \n\t\t});\n\n\t\t//// the individual way to do it\n\t\t// var containerEl = document.getElementById('external-events-list');\n\t\t// var eventEls = Array.prototype.slice.call(\n\t\t//   containerEl.querySelectorAll('.fc-event')\n\t\t// );\n\t\t// eventEls.forEach(function(eventEl) {\n\t\t//   new FullCalendar.Draggable(eventEl, {\n\t\t//     eventData: {\n\t\t//       title: eventEl.innerText.trim(),\n\t\t//     }\n\t\t//   });\n\t\t// });\n\n\t\t/* initialize the calendar\n\t\t-----------------------------------------------------------------*/\n\n\t\tvar calendarEl = document.getElementById('calendar');\n\t\tvar calendar = new FullCalendar.Calendar(calendarEl, {\n\t\t  headerToolbar: {\n\t\t\tleft: 'prev,next today',\n\t\t\tcenter: 'title',\n\t\t\tright: 'dayGridMonth,timeGridWeek,timeGridDay'\n\t\t  },\n\t\t  \n\t\t  selectable: true,\n\t\t  selectMirror: true,\n\t\t  select: function(arg) {\n\t\t\tvar title = prompt('Event Title:');\n\t\t\tif (title) {\n\t\t\t  calendar.addEvent({\n\t\t\t\ttitle: title,\n\t\t\t\tstart: arg.start,\n\t\t\t\tend: arg.end,\n\t\t\t\tallDay: arg.allDay\n\t\t\t  })\n\t\t\t}\n\t\t\tcalendar.unselect()\n\t\t  },\n\t\t  \n\t\t  editable: true,\n\t\t  droppable: true, // this allows things to be dropped onto the calendar\n\t\t  drop: function(arg) {\n\t\t\t// is the \"remove after drop\" checkbox checked?\n\t\t\tif (document.getElementById('drop-remove').checked) {\n\t\t\t  // if so, remove the element from the \"Draggable Events\" list\n\t\t\t  arg.draggedEl.parentNode.removeChild(arg.draggedEl);\n\t\t\t}\n\t\t  },\n\t\t  initialDate: '2021-02-13',\n\t\t\t  weekNumbers: true,\n\t\t\t  navLinks: true, // can click day/week names to navigate views\n\t\t\t  editable: true,\n\t\t\t  selectable: true,\n\t\t\t  nowIndicator: true,\n\t\t   events: [\n\t\t\t\t{\n\t\t\t\t  title: 'All Day Event',\n\t\t\t\t  start: '2021-02-01'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Long Event',\n\t\t\t\t  start: '2021-02-07',\n\t\t\t\t  end: '2021-02-10',\n\t\t\t\t  className: \"bg-danger\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  groupId: 999,\n\t\t\t\t  title: 'Repeating Event',\n\t\t\t\t  start: '2021-02-09T16:00:00'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  groupId: 999,\n\t\t\t\t  title: 'Repeating Event',\n\t\t\t\t  start: '2021-02-16T16:00:00'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Conference',\n\t\t\t\t  start: '2021-02-11',\n\t\t\t\t  end: '2021-02-13',\n\t\t\t\t  className: \"bg-danger\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Meeting',\n\t\t\t\t  start: '2021-02-12T9:30:00',\n\t\t\t\t  end: '2021-02-12T11:30:00',\n\t\t\t\t  className:\"bg-info\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Lunch',\n\t\t\t\t  start: '2021-02-12T12:00:00'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Meeting',\n\t\t\t\t  start: '2021-04-12T14:30:00'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Happy Hour',\n\t\t\t\t  start: '2021-07-12T17:30:00'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Dinner',\n\t\t\t\t  start: '2021-02-12T20:00:00',\n\t\t\t\t  className: \"bg-warning\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Birthday Party',\n\t\t\t\t  start: '2021-02-13T07:00:00',\n\t\t\t\t  className: \"bg-secondary\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Click for Google',\n\t\t\t\t  url: 'http://google.com/',\n\t\t\t\t  start: '2021-02-28'\n\t\t\t\t}\n\t\t\t  ]\n\t\t});\n\t\tcalendar.render();\n\n\t  });"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/bs-daterange-picker-init.js",
    "content": "(function($) {\n    \"use strict\"\n\n    // Daterange picker\n    $('.input-daterange-datepicker').daterangepicker({\n        buttonClasses: ['btn', 'btn-sm'],\n        applyClass: 'btn-danger',\n        cancelClass: 'btn-inverse'\n    });\n    $('.input-daterange-timepicker').daterangepicker({\n        timePicker: true,\n        format: 'MM/DD/YYYY h:mm A',\n        timePickerIncrement: 30,\n        timePicker12Hour: true,\n        timePickerSeconds: false,\n        buttonClasses: ['btn', 'btn-sm'],\n        applyClass: 'btn-danger',\n        cancelClass: 'btn-inverse'\n    });\n    $('.input-limit-datepicker').daterangepicker({\n        format: 'MM/DD/YYYY',\n        minDate: '06/01/2015',\n        maxDate: '06/30/2015',\n        buttonClasses: ['btn', 'btn-sm'],\n        applyClass: 'btn-danger',\n        cancelClass: 'btn-inverse',\n        dateLimit: {\n            days: 6\n        }\n    });\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/chartist-init.js",
    "content": "(function($) {\n    \"use strict\" \n\n\n var dzChartlist = function(){\n\t\n\tvar screenWidth = $(window).width();\n\t\t\n\tvar setChartWidth = function(){\n\t\t\n\t\tif(screenWidth <= 768)\n\t\t{\n\t\t\tvar chartBlockWidth = 0;\n\t\t\tif(screenWidth >= 500)\n\t\t\t{\n\t\t\t\tchartBlockWidth = 250;\n\t\t\t}else{\n\t\t\t\tchartBlockWidth = 300;\n\t\t\t}\n\t\t\t\n\t\t\tjQuery('.chartlist-chart').css('min-width',chartBlockWidth - 31);\n\t\t}\n\t}\n\t\n\tvar lineAnimatedChart = function(){\n\t\t    \n\t\tvar chart = new Chartist.Line('#smil-animations', {\n\t\t\tlabels: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],\n\t\t\tseries: [\n\t\t\t  [12, 9, 7, 8, 5, 4, 6, 2, 3, 3, 4, 6],\n\t\t\t  [4,  5, 3, 7, 3, 5, 5, 3, 4, 4, 5, 5],\n\t\t\t  [5,  3, 4, 5, 6, 3, 3, 4, 5, 6, 3, 4],\n\t\t\t  [3,  4, 5, 6, 7, 6, 4, 5, 6, 7, 6, 3]\n\t\t\t]\n\t\t  }, {\n\t\t\tlow: 0,\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t  });\n\t\t  \n\t\t  // Let's put a sequence number aside so we can use it in the event callbacks\n\t\t  var seq = 0,\n\t\t\tdelays = 80,\n\t\t\tdurations = 500;\n\t\t  \n\t\t  // Once the chart is fully created we reset the sequence\n\t\t  chart.on('created', function() {\n\t\t\tseq = 0;\n\t\t  });\n\t\t  \n\t\t  // On each drawn element by Chartist we use the Chartist.Svg API to trigger SMIL animations\n\t\t  chart.on('draw', function(data) {\n\t\t\tseq++;\n\t\t  \n\t\t\tif(data.type === 'line') {\n\t\t\t  // If the drawn element is a line we do a simple opacity fade in. This could also be achieved using CSS3 animations.\n\t\t\t  data.element.animate({\n\t\t\t\topacity: {\n\t\t\t\t  // The delay when we like to start the animation\n\t\t\t\t  begin: seq * delays + 1000,\n\t\t\t\t  // Duration of the animation\n\t\t\t\t  dur: durations,\n\t\t\t\t  // The value where the animation should start\n\t\t\t\t  from: 0,\n\t\t\t\t  // The value where it should end\n\t\t\t\t  to: 1\n\t\t\t\t}\n\t\t\t  });\n\t\t\t} else if(data.type === 'label' && data.axis === 'x') {\n\t\t\t  data.element.animate({\n\t\t\t\ty: {\n\t\t\t\t  begin: seq * delays,\n\t\t\t\t  dur: durations,\n\t\t\t\t  from: data.y + 100,\n\t\t\t\t  to: data.y,\n\t\t\t\t  // We can specify an easing function from Chartist.Svg.Easing\n\t\t\t\t  easing: 'easeOutQuart'\n\t\t\t\t}\n\t\t\t  });\n\t\t\t} else if(data.type === 'label' && data.axis === 'y') {\n\t\t\t  data.element.animate({\n\t\t\t\tx: {\n\t\t\t\t  begin: seq * delays,\n\t\t\t\t  dur: durations,\n\t\t\t\t  from: data.x - 100,\n\t\t\t\t  to: data.x,\n\t\t\t\t  easing: 'easeOutQuart'\n\t\t\t\t}\n\t\t\t  });\n\t\t\t} else if(data.type === 'point') {\n\t\t\t  data.element.animate({\n\t\t\t\tx1: {\n\t\t\t\t  begin: seq * delays,\n\t\t\t\t  dur: durations,\n\t\t\t\t  from: data.x - 10,\n\t\t\t\t  to: data.x,\n\t\t\t\t  easing: 'easeOutQuart'\n\t\t\t\t},\n\t\t\t\tx2: {\n\t\t\t\t  begin: seq * delays,\n\t\t\t\t  dur: durations,\n\t\t\t\t  from: data.x - 10,\n\t\t\t\t  to: data.x,\n\t\t\t\t  easing: 'easeOutQuart'\n\t\t\t\t},\n\t\t\t\topacity: {\n\t\t\t\t  begin: seq * delays,\n\t\t\t\t  dur: durations,\n\t\t\t\t  from: 0,\n\t\t\t\t  to: 1,\n\t\t\t\t  easing: 'easeOutQuart'\n\t\t\t\t}\n\t\t\t  });\n\t\t\t} else if(data.type === 'grid') {\n\t\t\t  // Using data.axis we get x or y which we can use to construct our animation definition objects\n\t\t\t  var pos1Animation = {\n\t\t\t\tbegin: seq * delays,\n\t\t\t\tdur: durations,\n\t\t\t\tfrom: data[data.axis.units.pos + '1'] - 30,\n\t\t\t\tto: data[data.axis.units.pos + '1'],\n\t\t\t\teasing: 'easeOutQuart'\n\t\t\t  };\n\t\t  \n\t\t\t  var pos2Animation = {\n\t\t\t\tbegin: seq * delays,\n\t\t\t\tdur: durations,\n\t\t\t\tfrom: data[data.axis.units.pos + '2'] - 100,\n\t\t\t\tto: data[data.axis.units.pos + '2'],\n\t\t\t\teasing: 'easeOutQuart'\n\t\t\t  };\n\t\t  \n\t\t\t  var animations = {};\n\t\t\t  animations[data.axis.units.pos + '1'] = pos1Animation;\n\t\t\t  animations[data.axis.units.pos + '2'] = pos2Animation;\n\t\t\t  animations['opacity'] = {\n\t\t\t\tbegin: seq * delays,\n\t\t\t\tdur: durations,\n\t\t\t\tfrom: 0,\n\t\t\t\tto: 1,\n\t\t\t\teasing: 'easeOutQuart'\n\t\t\t  };\n\t\t  \n\t\t\t  data.element.animate(animations);\n\t\t\t}\n\t\t  });\n\t\t  \n\t\t  // For the sake of the example we update the chart every time it's created with a delay of 10 seconds\n\t\t  chart.on('created', function() {\n\t\t\tif(window.__exampleAnimateTimeout) {\n\t\t\t\tclearTimeout(window.__exampleAnimateTimeout);\n\t\t\t\twindow.__exampleAnimateTimeout = null;\n\t\t\t}\n\t\t\twindow.__exampleAnimateTimeout = setTimeout(chart.update.bind(chart), 12000);\n\t\t  });\n  \n  \n  \n\t}\n\t\n\t\n\tvar scatterChart = function(){\n\t\t\t  //Line Scatter Diagram\n\t\t\t  var times = function(n) {\n\t\t\t\treturn Array.apply(null, new Array(n));\n\t\t\t  };\n\t\t\t  \n\t\t\t  var data = times(52).map(Math.random).reduce(function(data, rnd, index) {\n\t\t\t\tdata.labels.push(index + 1);\n\t\t\t\tdata.series.forEach(function(series) {\n\t\t\t\t  series.push(Math.random() * 100)\n\t\t\t\t});\n\t\t\t  \n\t\t\t\treturn data;\n\t\t\t  }, {\n\t\t\t\tlabels: [],\n\t\t\t\tseries: times(4).map(function() { return new Array() })\n\t\t\t  });\n\t\t\t  \n\t\t\t  var options = {\n\t\t\t\tshowLine: false,\n\t\t\t\taxisX: {\n\t\t\t\t  labelInterpolationFnc: function(value, index) {\n\t\t\t\t\treturn index % 13 === 0 ? 'W' + value : null;\n\t\t\t\t  }\n\t\t\t\t}\n\t\t\t  };\n\t\t\t  \n\t\t\t  var responsiveOptions = [\n\t\t\t\t['screen and (min-width: 640px)', {\n\t\t\t\t  axisX: {\n\t\t\t\t\tlabelInterpolationFnc: function(value, index) {\n\t\t\t\t\t  return index % 4 === 0 ? 'W' + value : null;\n\t\t\t\t\t}\n\t\t\t\t  }\n\t\t\t\t}]\n\t\t\t  ];\n\t\t\t  \n\t\t\t  new Chartist.Line('#scatter-diagram', data, options, responsiveOptions);\n\t}\n\t\n\tvar simpleLineChart = function(){\n\t\t//Simple line chart\n\t\tnew Chartist.Line('#simple-line-chart', {\n\t\t\tlabels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'],\n\t\t\tseries: [\n\t\t\t  [12, 9, 7, 8, 5],\n\t\t\t  [2, 1, 3.5, 7, 3],\n\t\t\t  [1, 3, 4, 5, 6]\n\t\t\t]\n\t\t  }, {\n\t\t\tfullWidth: true,\n\t\t\tchartPadding: {\n\t\t\t  right: 40\n\t\t\t},\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t});\n\t\t\n\t}\n\tvar lineTooltipsChart = function(){\n\t\t//Line chart with tooltips\n  \n\t\t  new Chartist.Line('#line-chart-tooltips', {\n\t\t\tlabels: ['1', '2', '3', '4', '5', '6'],\n\t\t\tseries: [\n\t\t\t  {\n\t\t\t\tname: 'Fibonacci sequence',\n\t\t\t\tdata: [1, 2, 3, 5, 8, 13]\n\t\t\t  },\n\t\t\t  {\n\t\t\t\tname: 'Golden section',\n\t\t\t\tdata: [1, 1.618, 2.618, 4.236, 6.854, 11.09]\n\t\t\t  }\n\t\t\t]\n\t\t  },\n\t\t\t  {\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t  }\n\t\t  );\n\t\t  \n\t\t  var $chart = $('#line-chart-tooltips');\n\t\t  \n\t\t  var $toolTip = $chart\n\t\t\t.append('<div class=\"tooltip\"></div>')\n\t\t\t.find('.tooltip')\n\t\t\t.hide();\n\t\t  \n\t\t  $chart.on('mouseenter', '.ct-point', function() {\n\t\t\tvar $point = $(this),\n\t\t\t  value = $point.attr('ct:value'),\n\t\t\t  seriesName = $point.parent().attr('ct:series-name');\n\t\t\t$toolTip.html(seriesName + '<br>' + value).show();\n\t\t  });\n\t\t  \n\t\t  $chart.on('mouseleave', '.ct-point', function() {\n\t\t\t$toolTip.hide();\n\t\t  });\n\t\t  \n\t\t  $chart.on('mousemove', function(event) {\n\t\t\t$toolTip.css({\n\t\t\t  left: (event.offsetX || event.originalEvent.layerX) - $toolTip.width() / 2 - 10,\n\t\t\t  top: (event.offsetY || event.originalEvent.layerY) - $toolTip.height() - 40\n\t\t\t});\n\t\t  });\n\t\t  \n\t}\n\tvar withAreaChart = function(){\n\t //Line chart with area\n\t  \n\t  new Chartist.Line('#chart-with-area', {\n\t\tlabels: [1, 2, 3, 4, 5, 6, 7, 8],\n\t\tseries: [\n\t\t  [5, 9, 7, 8, 5, 3, 5, 4]\n\t\t]\n\t  }, {\n\t\tlow: 0,\n\t\tshowArea: true,\n\t\tplugins: [\n\t\t  Chartist.plugins.tooltip()\n\t\t]\n\t  });\n\t\t\n\t}\n\tvar biPolarLineChart = function(){\n\t\t//Bi-polar Line chart with area only\n\t\t  \n\t\tnew Chartist.Line('#bi-polar-line', {\n\t\t\tlabels: [1, 2, 3, 4, 5, 6, 7, 8],\n\t\t\tseries: [\n\t\t\t  [1, 2, 3, 1, -2, 0, 1, 0],\n\t\t\t  [-2, -1, -2, -1, -2.5, -1, -2, -1],\n\t\t\t  [0, 0, 0, 1, 2, 2.5, 2, 1],\n\t\t\t  [2.5, 2, 1, 0.5, 1, 0.5, -1, -2.5]\n\t\t\t]\n\t\t}, {\n\t\t\thigh: 3,\n\t\t\tlow: -3,\n\t\t\tshowArea: true,\n\t\t\tshowLine: false,\n\t\t\tshowPoint: false,\n\t\t\tfullWidth: true,\n\t\t\taxisX: {\n\t\t\t  showLabel: false,\n\t\t\t  showGrid: false\n\t\t\t},\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t});\n\t\t\n\t}\n\tvar svgAnimationChart = function(){\n\t\t //SVG Path animation\n  \n\t\tvar chart = new Chartist.Line('#svg-animation', {\n\t\t\tlabels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n\t\t\tseries: [\n\t\t\t  [1, 5, 2, 5, 4, 3],\n\t\t\t  [2, 3, 4, 8, 1, 2],\n\t\t\t  [5, 4, 3, 2, 1, 0.5]\n\t\t\t]\n\t\t  }, {\n\t\t\tlow: 0,\n\t\t\tshowArea: true,\n\t\t\tshowPoint: false,\n\t\t\tfullWidth: true\n\t\t});\n\t\t  \n\t\tchart.on('draw', function(data) {\n\t\t\tif(data.type === 'line' || data.type === 'area') {\n\t\t\t  data.element.animate({\n\t\t\t\td: {\n\t\t\t\t  begin: 2000 * data.index,\n\t\t\t\t  dur: 2000,\n\t\t\t\t  from: data.path.clone().scale(1, 0).translate(0, data.chartRect.height()).stringify(),\n\t\t\t\t  to: data.path.clone().stringify(),\n\t\t\t\t  easing: Chartist.Svg.Easing.easeOutQuint\n\t\t\t\t}\n\t\t\t  });\n\t\t\t}\n\t\t});\n\t}\n\tvar lineSmoothingChart = function(){\n\t\t //Line Interpolation / Smoothing\n  \n\t\tvar chart = new Chartist.Line('#line-smoothing', {\n\t\t\tlabels: [1, 2, 3, 4, 5],\n\t\t\tseries: [\n\t\t\t  [1, 5, 10, 0, 1],\n\t\t\t  [10, 15, 0, 1, 2]\n\t\t\t]\n\t\t}, {\n\t\t\t// Remove this configuration to see that chart rendered with cardinal spline interpolation\n\t\t\t// Sometimes, on large jumps in data values, it's better to use simple smoothing.\n\t\t\tlineSmooth: Chartist.Interpolation.simple({\n\t\t\t  divisor: 2\n\t\t\t}),\n\t\t\tfullWidth: true,\n\t\t\tchartPadding: {\n\t\t\t  right: 20\n\t\t\t},\n\t\t\tlow: 0\n\t\t}); \n\t}\n\tvar biPolarBarChart = function(){\n\t\t//Bi-polar bar chart\n\t\tvar data = {\n\t\t\tlabels: ['W1', 'W2', 'W3', 'W4', 'W5', 'W6', 'W7', 'W8', 'W9', 'W10'],\n\t\t\tseries: [\n\t\t\t  [1, 2, 4, 8, 6, -2, -1, -4, -6, -2]\n\t\t\t]\n\t\t};\n\t\t  \n\t\tvar options = {\n\t\t\thigh: 10,\n\t\t\tlow: -10,\n\t\t\taxisX: {\n\t\t\t  labelInterpolationFnc: function(value, index) {\n\t\t\t\treturn index % 2 === 0 ? value : null;\n\t\t\t  }\n\t\t\t},\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t};\n\t\t  \n\t\tnew Chartist.Bar('#bi-polar-bar', data, options);\n\t\t\n\t}\n\tvar overlappingBarsChart = function(){\n\t\t//Overlapping bars on mobile\n\t\tvar data = {\n\t\t\tlabels: ['Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n\t\t\tseries: [\n\t\t\t  [5, 4, 3, 7, 5, 10, 3, 4, 8, 10, 6, 8],\n\t\t\t  [3, 2, 9, 5, 4, 6, 4, 6, 7, 8, 7, 4]\n\t\t\t]\n\t\t  };\n\t\tvar options = {\n\t\t\tseriesBarDistance: 10\n\t\t};\n\t\tvar responsiveOptions = [\n\t\t\t['screen and (max-width: 640px)', {\n\t\t\t  seriesBarDistance: 5,\n\t\t\t  axisX: {\n\t\t\t\tlabelInterpolationFnc: function (value) {\n\t\t\t\t  return value[0];\n\t\t\t\t}\n\t\t\t  }\n\t\t\t}]\n\t\t];\n\t\tnew Chartist.Bar('#overlapping-bars', data, options, responsiveOptions);\n\t}\n\tvar multiLineChart = function(){\n\t\t//Multi-line labels\n\t\tnew Chartist.Bar('#multi-line-chart', {\n\t\t\tlabels: ['First quarter of the year', 'Second quarter of the year', 'Third quarter of the year', 'Fourth quarter of the year'],\n\t\t\tseries: [\n\t\t\t  [60000, 40000, 80000, 70000],\n\t\t\t  [40000, 30000, 70000, 65000],\n\t\t\t  [8000, 3000, 10000, 6000]\n\t\t\t]\n\t\t}, {\n\t\t\tseriesBarDistance: 10,\n\t\t\taxisX: {\n\t\t\t  offset: 60\n\t\t\t},\n\t\t\taxisY: {\n\t\t\t  offset: 80,\n\t\t\t  labelInterpolationFnc: function(value) {\n\t\t\t\treturn value + ' CHF'\n\t\t\t  },\n\t\t\t  scaleMinSpace: 15\n\t\t\t},\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t});\n\t}\n\tvar stackedBarChart = function(){\n\t\t //Stacked bar chart  \n\t\tnew Chartist.Bar('#stacked-bar-chart', {\n\t\t\tlabels: ['Q1', 'Q2', 'Q3', 'Q4'],\n\t\t\tseries: [\n\t\t\t  [800000, 1200000, 1400000, 1300000],\n\t\t\t  [200000, 400000, 500000, 300000],\n\t\t\t  [160000, 290000, 410000, 600000]\n\t\t\t]\n\t\t  }, {\n\t\t\tstackBars: true,\n\t\t\taxisY: {\n\t\t\t  labelInterpolationFnc: function(value) {\n\t\t\t\treturn (value / 1000) + 'k';\n\t\t\t  }\n\t\t\t},\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t}).on('draw', function(data) {\n\t\t\tif(data.type === 'bar') {\n\t\t\t  data.element.attr({\n\t\t\t\tstyle: 'stroke-width: 30px'\n\t\t\t  });\n\t\t\t}\n\t\t});\n\t}\n\tvar horizontalBarChart = function(){\n\t\t//Horizontal bar chart\n  \n\t\tnew Chartist.Bar('#horizontal-bar-chart', {\n\t\t\t\tlabels: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],\n\t\t\t\tseries: [\n\t\t\t\t  [5, 4, 3, 7, 5, 10, 3],\n\t\t\t\t  [3, 2, 9, 5, 4, 6, 4]\n\t\t\t\t]\n\t\t\t  }, {\n\t\t\t\tseriesBarDistance: 10,\n\t\t\t\treverseData: true,\n\t\t\t\thorizontalBars: true,\n\t\t\t\taxisY: {\n\t\t\t\t  offset: 70\n\t\t\t\t},\n\t\t\t\tplugins: [\n\t\t\t\t  Chartist.plugins.tooltip()\n\t\t\t\t]\n\t\t\t  });\n\t}\n\tvar extremeChart = function(){\n\t\t\t // Extreme responsive configuration\n\t  \n\t\tnew Chartist.Bar('#extreme-chart', {\n\t\t\tlabels: ['Quarter 1', 'Quarter 2', 'Quarter 3', 'Quarter 4'],\n\t\t\tseries: [\n\t\t\t  [5, 4, 3, 7],\n\t\t\t  [3, 2, 9, 5],\n\t\t\t  [1, 5, 8, 4],\n\t\t\t  [2, 3, 4, 6],\n\t\t\t  [4, 1, 2, 1]\n\t\t\t]\n\t\t}, {\n\t\t// Default mobile configuration\n\t\tstackBars: true,\n\t\taxisX: {\n\t\t  labelInterpolationFnc: function(value) {\n\t\t\treturn value.split(/\\s+/).map(function(word) {\n\t\t\t  return word[0];\n\t\t\t}).join('');\n\t\t  }\n\t\t},\n\t\taxisY: {\n\t\t\toffset: 20\n\t\t},\n\t\tplugins: [\n\t\t\tChartist.plugins.tooltip()\n\t\t]\n\t\t}, [\n\t\t\t// Options override for media > 400px\n\t\t\t['screen and (min-width: 400px)', {\n\t\t\t  reverseData: true,\n\t\t\t  horizontalBars: true,\n\t\t\t  axisX: {\n\t\t\t\tlabelInterpolationFnc: Chartist.noop\n\t\t\t  },\n\t\t\t  axisY: {\n\t\t\t\toffset: 60\n\t\t\t  }\n\t\t\t}],\n\t\t\t// Options override for media > 800px\n\t\t\t['screen and (min-width: 800px)', {\n\t\t\t  stackBars: false,\n\t\t\t  seriesBarDistance: 10\n\t\t\t}],\n\t\t\t// Options override for media > 1000px\n\t\t\t['screen and (min-width: 1000px)', {\n\t\t\t  reverseData: false,\n\t\t\t  horizontalBars: false,\n\t\t\t  seriesBarDistance: 15\n\t\t\t}]\n\t\t]);\n\t}\n\tvar labelPlacementChart = function(){\n\t\t//Label placement\n  \n\t\tnew Chartist.Bar('#label-placement-chart', {\n\t\t\tlabels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],\n\t\t\tseries: [\n\t\t\t  [5, 4, 3, 7, 5, 10, 3],\n\t\t\t  [3, 2, 9, 5, 4, 6, 4]\n\t\t\t]\n\t\t}, {\n\t\taxisX: {\n\t\t\t  // On the x-axis start means top and end means bottom\n\t\t\t  position: 'start'\n\t\t},\n\t\taxisY: {\n\t\t\t  // On the y-axis start means left and end means right\n\t\t\t  position: 'end'\n\t\t\t},\n\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t});\n\t}\n\tvar animatingDonutChart = function(){\n\t\t//Animating a Donut with Svg.animate\n  \n\t\tvar chart = new Chartist.Pie('#animating-donut', {\n\t\t\tseries: [10, 20, 50, 20, 5, 50, 15],\n\t\t\tlabels: [1, 2, 3, 4, 5, 6, 7]\n\t\t}, {\n\t\t\tdonut: true,\n\t\t\tshowLabel: false,\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t});\n\t\t  \n\t\tchart.on('draw', function(data) {\n\t\t\tif(data.type === 'slice') {\n\t\t\t  // Get the total path length in order to use for dash array animation\n\t\t\t  var pathLength = data.element._node.getTotalLength();\n\t\t  \n\t\t\t  // Set a dasharray that matches the path length as prerequisite to animate dashoffset\n\t\t\t  data.element.attr({\n\t\t\t\t'stroke-dasharray': pathLength + 'px ' + pathLength + 'px'\n\t\t\t  });\n\t\t  \n\t\t\t  // Create animation definition while also assigning an ID to the animation for later sync usage\n\t\t\t  var animationDefinition = {\n\t\t\t\t'stroke-dashoffset': {\n\t\t\t\t  id: 'anim' + data.index,\n\t\t\t\t  dur: 1000,\n\t\t\t\t  from: -pathLength + 'px',\n\t\t\t\t  to:  '0px',\n\t\t\t\t  easing: Chartist.Svg.Easing.easeOutQuint,\n\t\t\t\t  // We need to use `fill: 'freeze'` otherwise our animation will fall back to initial (not visible)\n\t\t\t\t  fill: 'freeze'\n\t\t\t\t}\n\t\t\t};\n\t\t  \n\t\t\t  // If this was not the first slice, we need to time the animation so that it uses the end sync event of the previous animation\n\t\t\t  if(data.index !== 0) {\n\t\t\t\tanimationDefinition['stroke-dashoffset'].begin = 'anim' + (data.index - 1) + '.end';\n\t\t\t  }\n\t\t  \n\t\t\t  // We need to set an initial value before the animation starts as we are not in guided mode which would do that for us\n\t\t\t  data.element.attr({\n\t\t\t\t'stroke-dashoffset': -pathLength + 'px'\n\t\t\t  });\n\t\t  \n\t\t\t  // We can't use guided mode as the animations need to rely on setting begin manually\n\t\t\t  // See http://gionkunz.github.io/chartist-js/api-documentation.html#chartistsvg-function-animate\n\t\t\t  data.element.animate(animationDefinition, false);\n\t\t\t}\n\t\t});\n\t\t  \n\t\t// For the sake of the example we update the chart every time it's created with a delay of 8 seconds\n\t\tchart.on('created', function() {\n\t\t\tif(window.__anim21278907124) {\n\t\t\t  clearTimeout(window.__anim21278907124);\n\t\t\t  window.__anim21278907124 = null;\n\t\t\t}\n\t\t\twindow.__anim21278907124 = setTimeout(chart.update.bind(chart), 10000);\n\t\t});\n\t\t\n\t}\n\tvar simplePieChart = function(){\n\t\t//Simple pie chart\n  \n\t  var data1 = {\n\t\tseries: [5, 3, 4]\n\t  };\n\t  \n\t  var sum = function(a, b) { return a + b };\n\t  \n\t  new Chartist.Pie('#simple-pie', data1, {\n\t\tlabelInterpolationFnc: function(value) {\n\t\t  return Math.round(value / data1.series.reduce(sum) * 100) + '%';\n\t\t}\n\t  });\n\t\t\n\t}\n\tvar pieChart = function(){\n\t\t//Pie chart with custom labels\n\t\t  \n\t\tvar data = {\n\t\t\tlabels: ['35%', '55%', '10%'],\n\t\t\tseries: [20, 15, 40]\n\t\t  };\n\t\t  \n\t\tvar options = {\n\t\t\tlabelInterpolationFnc: function(value) {\n\t\t\t  return value[0]\n\t\t\t}\n\t\t  };\n\t\t  \n\t\tvar responsiveOptions = [\n\t\t\t['screen and (min-width: 640px)', {\n\t\t\t  chartPadding: 30,\n\t\t\t  donut: true,\n\t\t\t  labelOffset: 100,\n\t\t\t  donutWidth: 60,\n\t\t\t  labelDirection: 'explode',\n\t\t\t  labelInterpolationFnc: function(value) {\n\t\t\t\treturn value;\n\t\t\t  }\n\t\t\t}],\n\t\t\t['screen and (min-width: 1024px)', {\n\t\t\t  labelOffset: 60,\n\t\t\t  chartPadding: 20\n\t\t\t}]\n\t\t];\n\t\t  \n\t\tnew Chartist.Pie('#pie-chart', data, options, responsiveOptions);\n\t\t\n\t}\n\tvar gaugeChart = function(){\n\t\t//Gauge chart\n\t\t\n\t\tnew Chartist.Pie('#gauge-chart', {\n\t\t\tseries: [20, 10, 30, 40]\n\t\t  }, {\n\t\t\tdonut: true,\n\t\t\tdonutWidth: 60,\n\t\t\tstartAngle: 270,\n\t\t\ttotal: 200,\n\t\t\tshowLabel: false,\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t});\n\t}\n\tvar differentSeriesChart = function(){\n\t\t// Different configuration for different series\n  \n\t\tvar chart = new Chartist.Line('#different-series', {\n\t\t\tlabels: ['1', '2', '3', '4', '5', '6', '7', '8'],\n\t\t\t// Naming the series with the series object array notation\n\t\t\tseries: [{\n\t\t\t  name: 'series-1',\n\t\t\t  data: [5, 2, -4, 2, 0, -2, 5, -3]\n\t\t\t}, {\n\t\t\t  name: 'series-2',\n\t\t\t  data: [4, 3, 5, 3, 1, 3, 6, 4]\n\t\t\t}, {\n\t\t\t  name: 'series-3',\n\t\t\t  data: [2, 4, 3, 1, 4, 5, 3, 2]\n\t\t\t}]\n\t\t}, {\n\t\tfullWidth: true,\n\t\t\t// Within the series options you can use the series names\n\t\t\t// to specify configuration that will only be used for the\n\t\t\t// specific series.\n\t\t\tseries: {\n\t\t\t  'series-1': {\n\t\t\t\tlineSmooth: Chartist.Interpolation.step()\n\t\t\t  },\n\t\t\t  'series-2': {\n\t\t\t\tlineSmooth: Chartist.Interpolation.simple(),\n\t\t\t\tshowArea: true\n\t\t\t  },\n\t\t\t  'series-3': {\n\t\t\t\tshowPoint: false\n\t\t\t  }\n\t\t\t},\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t}, [\n\t\t\t// You can even use responsive configuration overrides to\n\t\t\t// customize your series configuration even further!\n\t\t['screen and (max-width: 320px)', {\n\t\t\t  series: {\n\t\t\t\t'series-1': {\n\t\t\t\t  lineSmooth: Chartist.Interpolation.none()\n\t\t\t\t},\n\t\t\t\t'series-2': {\n\t\t\t\t  lineSmooth: Chartist.Interpolation.none(),\n\t\t\t\t  showArea: false\n\t\t\t\t},\n\t\t\t\t'series-3': {\n\t\t\t\t  lineSmooth: Chartist.Interpolation.none(),\n\t\t\t\t  showPoint: true\n\t\t\t\t}\n\t\t\t  }\n\t\t\t}]\n\t\t]);\n\t\t\n\t}\n\tvar svgDotAnimationChart = function(){\n\t\t //SVG Animations chart\n  \n\t\tvar chart = new Chartist.Line('#svg-dot-animation', {\n\t\t\tlabels: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],\n\t\t\tseries: [\n\t\t\t  [12, 4, 2, 8, 5, 4, 6, 2, 3, 3, 4, 6],\n\t\t\t  [4, 8, 9, 3, 7, 2, 10, 5, 8, 1, 7, 10]\n\t\t\t]\n\t\t}, {\n\t\t\tlow: 0,\n\t\t\tshowLine: false,\n\t\t\taxisX: {\n\t\t\t  showLabel: false,\n\t\t\t  offset: 0\n\t\t\t},\n\t\t\taxisY: {\n\t\t\t  showLabel: false,\n\t\t\t  offset: 0\n\t\t\t},\n\t\t\tplugins: [\n\t\t\t  Chartist.plugins.tooltip()\n\t\t\t]\n\t\t});\n\t\t  \n\t\t  // Let's put a sequence number aside so we can use it in the event callbacks\n\t\tvar seq = 0;\n\t\t  \n\t\t  // Once the chart is fully created we reset the sequence\n\t\tchart.on('created', function() {\n\t\t\tseq = 0;\n\t\t});\n\t\t  \n\t\t// On each drawn element by Chartist we use the Chartist.Svg API to trigger SMIL animations\n\t\tchart.on('draw', function(data) {\n\t\t\tif(data.type === 'point') {\n\t\t\t  // If the drawn element is a line we do a simple opacity fade in. This could also be achieved using CSS3 animations.\n\t\t\t  data.element.animate({\n\t\t\t\topacity: {\n\t\t\t\t  // The delay when we like to start the animation\n\t\t\t\t  begin: seq++ * 80,\n\t\t\t\t  // Duration of the animation\n\t\t\t\t  dur: 500,\n\t\t\t\t  // The value where the animation should start\n\t\t\t\t  from: 0,\n\t\t\t\t  // The value where it should end\n\t\t\t\t  to: 1\n\t\t\t\t},\n\t\t\t\tx1: {\n\t\t\t\t  begin: seq++ * 80,\n\t\t\t\t  dur: 500,\n\t\t\t\t  from: data.x - 100,\n\t\t\t\t  to: data.x,\n\t\t\t\t  // You can specify an easing function name or use easing functions from Chartist.Svg.Easing directly\n\t\t\t\t  easing: Chartist.Svg.Easing.easeOutQuart\n\t\t\t\t}\n\t\t\t  });\n\t\t\t}\n\t\t});\n\t\t  \n\t\t// For the sake of the example we update the chart every time it's created with a delay of 8 seconds\n\t\tchart.on('created', function() {\n\t\t\tif(window.__anim0987432598723) {\n\t\t\t  clearTimeout(window.__anim0987432598723);\n\t\t\t  window.__anim0987432598723 = null;\n\t\t\t}\n\t\t\twindow.__anim0987432598723 = setTimeout(chart.update.bind(chart), 8000);\n\t\t});\n\t}\n\t\n\t/* Function ============ */\n\treturn {\n\t\tinit:function(){\n\t\t},\n\t\t\n\t\t\n\t\tload:function(){\n\t\t\tsetChartWidth();\t\n\t\t\tlineAnimatedChart();\n\t\t\tscatterChart();\t\n\t\t\tsimpleLineChart();\t\n\t\t\tlineTooltipsChart();\t\t\n\t\t\twithAreaChart();\n\t\t\tbiPolarLineChart();\n\t\t\tsvgAnimationChart();\n\t\t\tlineSmoothingChart();\n\t\t\tbiPolarBarChart();\n\t\t\toverlappingBarsChart();\n\t\t\tmultiLineChart();\n\t\t\tstackedBarChart();\n\t\t\thorizontalBarChart();\n\t\t\textremeChart();\n\t\t\tlabelPlacementChart();\n\t\t\tanimatingDonutChart();\n\t\t\tsimplePieChart();\n\t\t\tpieChart();\n\t\t\tgaugeChart();\n\t\t\tdifferentSeriesChart();\n\t\t\tsvgDotAnimationChart(); \n\t\t},\n\t\t\n\t\tresize:function(){\n\t\t\tsetChartWidth();\t\n\t\t\tlineAnimatedChart();\n\t\t\tscatterChart();\t\n\t\t\tsimpleLineChart();\t\n\t\t\tlineTooltipsChart();\t\t\n\t\t\twithAreaChart();\n\t\t\tbiPolarLineChart();\n\t\t\tsvgAnimationChart();\n\t\t\tlineSmoothingChart();\n\t\t\tbiPolarBarChart();\n\t\t\toverlappingBarsChart();\n\t\t\tmultiLineChart();\n\t\t\tstackedBarChart();\n\t\t\thorizontalBarChart();\n\t\t\textremeChart();\n\t\t\tlabelPlacementChart();\n\t\t\tanimatingDonutChart();\n\t\t\tsimplePieChart();\n\t\t\tpieChart();\n\t\t\tgaugeChart();\n\t\t\tdifferentSeriesChart();\n\t\t\tsvgDotAnimationChart();\n\t\t}\n\t}\n\n}();\n\njQuery(document).ready(function(){\n});\n\t\njQuery(window).on('load',function(){\n\tsetTimeout(function(){\n\t\tdzChartlist.resize();\t\n\t}, 1000);\n});\n\njQuery(window).on('resize',function(){\n\tsetTimeout(function(){\n\t\tdzChartlist.resize();\t\n\t}, 1000);\n\t\n});     \n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/chartjs-init.js",
    "content": "(function($) {\n  \"use strict\" \n\n\t\n\t/* function draw() {\n\t\t\n\t} */\n\n var dzSparkLine = function(){\n\tlet draw = Chart.controllers.line.__super__.draw; //draw shadow\n\t\n\tvar screenWidth = $(window).width();\n\t\n\tvar barChart1 = function(){\n\t\tif(jQuery('#barChart_1').length > 0 ){\n\t\t\tconst barChart_1 = document.getElementById(\"barChart_1\").getContext('2d');\n    \n\t\t\tbarChart_1.height = 100;\n\n\t\t\tnew Chart(barChart_1, {\n\t\t\t\ttype: 'bar',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [65, 59, 80, 81, 56, 55, 40],\n\t\t\t\t\t\t\tborderColor: 'rgba(34, 88, 191, 1)',\n\t\t\t\t\t\t\tborderWidth: \"0\",\n\t\t\t\t\t\t\tbackgroundColor: 'rgba(34, 88, 191, 1)'\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false, \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{\n\t\t\t\t\t\t\t// Change here\n\t\t\t\t\t\t\tbarPercentage: 0.5\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tvar barChart2 = function(){\n\t\tif(jQuery('#barChart_2').length > 0 ){\n\n\t\t//gradient bar chart\n\t\t\tconst barChart_2 = document.getElementById(\"barChart_2\").getContext('2d');\n\t\t\t//generate gradient\n\t\t\tconst barChart_2gradientStroke = barChart_2.createLinearGradient(0, 0, 0, 250);\n\t\t\tbarChart_2gradientStroke.addColorStop(0, \"rgba(34, 88, 191, 1)\");\n\t\t\tbarChart_2gradientStroke.addColorStop(1, \"rgba(34, 88, 191, 0.5)\");\n\n\t\t\tbarChart_2.height = 100;\n\n\t\t\tnew Chart(barChart_2, {\n\t\t\t\ttype: 'bar',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [65, 59, 80, 81, 56, 55, 40],\n\t\t\t\t\t\t\tborderColor: barChart_2gradientStroke,\n\t\t\t\t\t\t\tborderWidth: \"0\",\n\t\t\t\t\t\t\tbackgroundColor: barChart_2gradientStroke, \n\t\t\t\t\t\t\thoverBackgroundColor: barChart_2gradientStroke\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false, \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{\n\t\t\t\t\t\t\t// Change here\n\t\t\t\t\t\t\tbarPercentage: 0.5\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tvar barChart3 = function(){\n\t\t//stalked bar chart\n\t\tif(jQuery('#barChart_3').length > 0 ){\n\t\t\tconst barChart_3 = document.getElementById(\"barChart_3\").getContext('2d');\n\t\t\t//generate gradient\n\t\t\tconst barChart_3gradientStroke = barChart_3.createLinearGradient(50, 100, 50, 50);\n\t\t\tbarChart_3gradientStroke.addColorStop(0, \"rgba(34, 88, 191, 1)\");\n\t\t\tbarChart_3gradientStroke.addColorStop(1, \"rgba(34, 88, 191, 0.5)\");\n\n\t\t\tconst barChart_3gradientStroke2 = barChart_3.createLinearGradient(50, 100, 50, 50);\n\t\t\tbarChart_3gradientStroke2.addColorStop(0, \"rgba(98, 126, 234, 1)\");\n\t\t\tbarChart_3gradientStroke2.addColorStop(1, \"rgba(98, 126, 234, 1)\");\n\n\t\t\tconst barChart_3gradientStroke3 = barChart_3.createLinearGradient(50, 100, 50, 50);\n\t\t\tbarChart_3gradientStroke3.addColorStop(0, \"rgba(238, 60, 60, 1)\");\n\t\t\tbarChart_3gradientStroke3.addColorStop(1, \"rgba(238, 60, 60, 1)\");\n\t\t\t\n\t\t\tbarChart_3.height = 100;\n\n\t\t\tlet barChartData = {\n\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\tlabels: ['Mon', 'Tue', 'Wed', 'Thur', 'Fri', 'Sat', 'Sun'],\n\t\t\t\tdatasets: [{\n\t\t\t\t\tlabel: 'Red',\n\t\t\t\t\tbackgroundColor: barChart_3gradientStroke,\n\t\t\t\t\thoverBackgroundColor: barChart_3gradientStroke, \n\t\t\t\t\tdata: [\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12'\n\t\t\t\t\t]\n\t\t\t\t}, {\n\t\t\t\t\tlabel: 'Green',\n\t\t\t\t\tbackgroundColor: barChart_3gradientStroke2,\n\t\t\t\t\thoverBackgroundColor: barChart_3gradientStroke2, \n\t\t\t\t\tdata: [\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12'\n\t\t\t\t\t]\n\t\t\t\t}, {\n\t\t\t\t\tlabel: 'Blue',\n\t\t\t\t\tbackgroundColor: barChart_3gradientStroke3,\n\t\t\t\t\thoverBackgroundColor: barChart_3gradientStroke3, \n\t\t\t\t\tdata: [\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12',\n\t\t\t\t\t\t'12'\n\t\t\t\t\t]\n\t\t\t\t}]\n\n\t\t\t};\n\n\t\t\tnew Chart(barChart_3, {\n\t\t\t\ttype: 'bar',\n\t\t\t\tdata: barChartData,\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: {\n\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t}, \n\t\t\t\t\ttitle: {\n\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t},\n\t\t\t\t\ttooltips: {\n\t\t\t\t\t\tmode: 'index',\n\t\t\t\t\t\tintersect: false\n\t\t\t\t\t},\n\t\t\t\t\tresponsive: true,\n\t\t\t\t\tscales: {\n\t\t\t\t\t\txAxes: [{\n\t\t\t\t\t\t\tstacked: true,\n\t\t\t\t\t\t}],\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tstacked: true\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tvar lineChart1 = function(){\n\t\t\n\t\t\n\t\tif(jQuery('#lineChart_1').length > 0 ){\n\n\n\t\t//basic line chart\n\t\t\tconst lineChart_1 = document.getElementById(\"lineChart_1\").getContext('2d');\n\n\t\t\tChart.controllers.line = Chart.controllers.line.extend({\n\t\t\t\tdraw: function () {\n\t\t\t\t\tdraw.apply(this, arguments);\n\t\t\t\t\tlet nk = this.chart.chart.ctx;\n\t\t\t\t\tlet _stroke = nk.stroke;\n\t\t\t\t\tnk.stroke = function () {\n\t\t\t\t\t\tnk.save();\n\t\t\t\t\t\tnk.shadowColor = 'rgba(255, 0, 0, .2)';\n\t\t\t\t\t\tnk.shadowBlur = 10;\n\t\t\t\t\t\tnk.shadowOffsetX = 0;\n\t\t\t\t\t\tnk.shadowOffsetY = 10;\n\t\t\t\t\t\t_stroke.apply(this, arguments)\n\t\t\t\t\t\tnk.restore();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\t\n\t\t\tlineChart_1.height = 100;\n\n\t\t\tnew Chart(lineChart_1, {\n\t\t\t\ttype: 'line',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Febr\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [25, 20, 60, 41, 66, 45, 80],\n\t\t\t\t\t\t\tborderColor: 'rgba(34, 88, 191, 1)',\n\t\t\t\t\t\t\tborderWidth: \"2\",\n\t\t\t\t\t\t\tbackgroundColor: 'transparent',  \n\t\t\t\t\t\t\tpointBackgroundColor: 'rgba(34, 88, 191, 1)'\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false, \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 20, \n\t\t\t\t\t\t\t\tpadding: 10\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tpadding: 5\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\t\n\t\t}\n\t}\n\t\n\tvar lineChart2 = function(){\n\t\t//gradient line chart\n\t\tif(jQuery('#lineChart_2').length > 0 ){\n\t\t\t\n\t\t\tconst lineChart_2 = document.getElementById(\"lineChart_2\").getContext('2d');\n\t\t\t//generate gradient\n\t\t\tconst lineChart_2gradientStroke = lineChart_2.createLinearGradient(500, 0, 100, 0);\n\t\t\tlineChart_2gradientStroke.addColorStop(0, \"rgba(34, 88, 191, 1)\");\n\t\t\tlineChart_2gradientStroke.addColorStop(1, \"rgba(34, 88, 191, 0.5)\");\n\n\t\t\tChart.controllers.line = Chart.controllers.line.extend({\n\t\t\t\tdraw: function () {\n\t\t\t\t\tdraw.apply(this, arguments);\n\t\t\t\t\tlet nk = this.chart.chart.ctx;\n\t\t\t\t\tlet _stroke = nk.stroke;\n\t\t\t\t\tnk.stroke = function () {\n\t\t\t\t\t\tnk.save();\n\t\t\t\t\t\tnk.shadowColor = 'rgba(0, 0, 128, .2)';\n\t\t\t\t\t\tnk.shadowBlur = 10;\n\t\t\t\t\t\tnk.shadowOffsetX = 0;\n\t\t\t\t\t\tnk.shadowOffsetY = 10;\n\t\t\t\t\t\t_stroke.apply(this, arguments)\n\t\t\t\t\t\tnk.restore();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\t\t\n\t\t\tlineChart_2.height = 100;\n\n\t\t\tnew Chart(lineChart_2, {\n\t\t\t\ttype: 'line',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [25, 20, 60, 41, 66, 45, 80],\n\t\t\t\t\t\t\tborderColor: lineChart_2gradientStroke,\n\t\t\t\t\t\t\tborderWidth: \"2\",\n\t\t\t\t\t\t\tbackgroundColor: 'transparent', \n\t\t\t\t\t\t\tpointBackgroundColor: 'rgba(34, 88, 191, 0.5)'\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false, \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 20, \n\t\t\t\t\t\t\t\tpadding: 10\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{ \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tpadding: 5\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tvar lineChart3 = function(){\n\t\t//dual line chart\n\t\tif(jQuery('#lineChart_3').length > 0 ){\n\t\t\tconst lineChart_3 = document.getElementById(\"lineChart_3\").getContext('2d');\n\t\t\t//generate gradient\n\t\t\tconst lineChart_3gradientStroke1 = lineChart_3.createLinearGradient(500, 0, 100, 0);\n\t\t\tlineChart_3gradientStroke1.addColorStop(0, \"rgba(34, 88, 191, 1)\");\n\t\t\tlineChart_3gradientStroke1.addColorStop(1, \"rgba(34, 88, 191, 0.5)\");\n\n\t\t\tconst lineChart_3gradientStroke2 = lineChart_3.createLinearGradient(500, 0, 100, 0);\n\t\t\tlineChart_3gradientStroke2.addColorStop(0, \"rgba(255, 92, 0, 1)\");\n\t\t\tlineChart_3gradientStroke2.addColorStop(1, \"rgba(255, 92, 0, 1)\");\n\n\t\t\tChart.controllers.line = Chart.controllers.line.extend({\n\t\t\t\tdraw: function () {\n\t\t\t\t\tdraw.apply(this, arguments);\n\t\t\t\t\tlet nk = this.chart.chart.ctx;\n\t\t\t\t\tlet _stroke = nk.stroke;\n\t\t\t\t\tnk.stroke = function () {\n\t\t\t\t\t\tnk.save();\n\t\t\t\t\t\tnk.shadowColor = 'rgba(0, 0, 0, 0)';\n\t\t\t\t\t\tnk.shadowBlur = 10;\n\t\t\t\t\t\tnk.shadowOffsetX = 0;\n\t\t\t\t\t\tnk.shadowOffsetY = 10;\n\t\t\t\t\t\t_stroke.apply(this, arguments)\n\t\t\t\t\t\tnk.restore();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\t\t\n\t\t\tlineChart_3.height = 100;\n\n\t\t\tnew Chart(lineChart_3, {\n\t\t\t\ttype: 'line',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [25, 20, 60, 41, 66, 45, 80],\n\t\t\t\t\t\t\tborderColor: lineChart_3gradientStroke1,\n\t\t\t\t\t\t\tborderWidth: \"2\",\n\t\t\t\t\t\t\tbackgroundColor: 'transparent', \n\t\t\t\t\t\t\tpointBackgroundColor: 'rgba(34, 88, 191, 0.5)'\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [5, 20, 15, 41, 35, 65, 80],\n\t\t\t\t\t\t\tborderColor: lineChart_3gradientStroke2,\n\t\t\t\t\t\t\tborderWidth: \"2\",\n\t\t\t\t\t\t\tbackgroundColor: 'transparent', \n\t\t\t\t\t\t\tpointBackgroundColor: 'rgba(254, 176, 25, 1)'\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false, \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 20, \n\t\t\t\t\t\t\t\tpadding: 10\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{ \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tpadding: 5\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tvar lineChart03 = function(){\n\t\t//dual line chart\n\t\tif(jQuery('#lineChart_3Kk').length > 0 ){\n\t\t\tconst lineChart_3Kk = document.getElementById(\"lineChart_3Kk\").getContext('2d');\n\t\t\t//generate gradient\n\t\t\t\n\t\t\tChart.controllers.line = Chart.controllers.line.extend({\n\t\t\t\tdraw: function () {\n\t\t\t\t\tdraw.apply(this, arguments);\n\t\t\t\t\tlet nk = this.chart.chart.ctx;\n\t\t\t\t\tlet _stroke = nk.stroke;\n\t\t\t\t\tnk.stroke = function () {\n\t\t\t\t\t\tnk.save();\n\t\t\t\t\t\tnk.shadowColor = 'rgba(0, 0, 0, 0)';\n\t\t\t\t\t\tnk.shadowBlur = 10;\n\t\t\t\t\t\tnk.shadowOffsetX = 0;\n\t\t\t\t\t\tnk.shadowOffsetY = 10;\n\t\t\t\t\t\t_stroke.apply(this, arguments)\n\t\t\t\t\t\tnk.restore();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\t\t\n\t\t\tlineChart_3Kk.height = 100;\n\n\t\t\tnew Chart(lineChart_3Kk, {\n\t\t\t\ttype: 'line',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [90, 60, 80, 50, 60, 55, 80],\n\t\t\t\t\t\t\tborderColor: 'rgba(58,122,254,1)',\n\t\t\t\t\t\t\tborderWidth: \"3\",\n\t\t\t\t\t\t\tbackgroundColor: 'rgba(0,0,0,0)', \n\t\t\t\t\t\t\tpointBackgroundColor: 'rgba(0, 0, 0, 0)'\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false, \n\t\t\t\t\telements: {\n\t\t\t\t\t\t\tpoint:{\n\t\t\t\t\t\t\t\tradius: 0\n\t\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 20, \n\t\t\t\t\t\t\t\tpadding: 10\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tborderWidth:3,\n\t\t\t\t\t\t\tdisplay:false,\n\t\t\t\t\t\t\tlineTension:0.4,\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{ \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tpadding: 5\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t}\t\n\tvar areaChart1 = function(){\t\n\t\t//basic area chart\n\t\tif(jQuery('#areaChart_1').length > 0 ){\n\t\t\tconst areaChart_1 = document.getElementById(\"areaChart_1\").getContext('2d');\n    \n\t\t\tareaChart_1.height = 100;\n\n\t\t\tnew Chart(areaChart_1, {\n\t\t\t\ttype: 'line',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [25, 20, 60, 41, 66, 45, 80],\n\t\t\t\t\t\t\tborderColor: 'rgba(0, 0, 1128, .3)',\n\t\t\t\t\t\t\tborderWidth: \"1\",\n\t\t\t\t\t\t\tbackgroundColor: 'rgba(34, 88, 191, .5)', \n\t\t\t\t\t\t\tpointBackgroundColor: 'rgba(0, 0, 1128, .3)'\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false, \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 20, \n\t\t\t\t\t\t\t\tpadding: 10\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{ \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tpadding: 5\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tvar areaChart2 = function(){\t\n\t\t//gradient area chart\n\t\tif(jQuery('#areaChart_2').length > 0 ){\n\t\t\tconst areaChart_2 = document.getElementById(\"areaChart_2\").getContext('2d');\n\t\t\t//generate gradient\n\t\t\tconst areaChart_2gradientStroke = areaChart_2.createLinearGradient(0, 1, 0, 500);\n\t\t\tareaChart_2gradientStroke.addColorStop(0, \"rgba(238, 60, 60, 0.2)\");\n\t\t\tareaChart_2gradientStroke.addColorStop(1, \"rgba(238, 60, 60, 0)\");\n\t\t\t\n\t\t\tareaChart_2.height = 100;\n\n\t\t\tnew Chart(areaChart_2, {\n\t\t\t\ttype: 'line',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [25, 20, 60, 41, 66, 45, 80],\n\t\t\t\t\t\t\tborderColor: \"#ff2625\",\n\t\t\t\t\t\t\tborderWidth: \"4\",\n\t\t\t\t\t\t\tbackgroundColor: areaChart_2gradientStroke\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false, \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 20, \n\t\t\t\t\t\t\t\tpadding: 5\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{ \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tpadding: 5\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}    \n\t}    \n\n\tvar areaChart3 = function(){\t\n\t\t//gradient area chart\n\t\tif(jQuery('#areaChart_3').length > 0 ){\n\t\t\tconst areaChart_3 = document.getElementById(\"areaChart_3\").getContext('2d');\n    \n\t\t\tareaChart_3.height = 100;\n\n\t\t\tnew Chart(areaChart_3, {\n\t\t\t\ttype: 'line',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [25, 20, 60, 41, 66, 45, 80],\n\t\t\t\t\t\t\tborderColor: 'rgb(34, 88, 191)',\n\t\t\t\t\t\t\tborderWidth: \"1\",\n\t\t\t\t\t\t\tbackgroundColor: 'rgba(34, 88, 191, .5)'\n\t\t\t\t\t\t}, \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [5, 25, 20, 41, 36, 75, 70],\n\t\t\t\t\t\t\tborderColor: 'rgb(255, 92, 0)',\n\t\t\t\t\t\t\tborderWidth: \"1\",\n\t\t\t\t\t\t\tbackgroundColor: 'rgba(255, 92, 0, .5)'\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false, \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 20, \n\t\t\t\t\t\t\t\tpadding: 10\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{ \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tpadding: 5\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tvar radarChart = function(){\t\n\t\tif(jQuery('#radar_chart').length > 0 ){\n\t\t\t//radar chart\n\t\t\tconst radar_chart = document.getElementById(\"radar_chart\").getContext('2d');\n\n\t\t\tconst radar_chartgradientStroke1 = radar_chart.createLinearGradient(500, 0, 100, 0);\n\t\t\tradar_chartgradientStroke1.addColorStop(0, \"rgba(54, 185, 216, .5)\");\n\t\t\tradar_chartgradientStroke1.addColorStop(1, \"rgba(75, 255, 162, .5)\");\n\n\t\t\tconst radar_chartgradientStroke2 = radar_chart.createLinearGradient(500, 0, 100, 0);\n\t\t\tradar_chartgradientStroke2.addColorStop(0, \"rgba(68, 0, 235, .5\");\n\t\t\tradar_chartgradientStroke2.addColorStop(1, \"rgba(68, 236, 245, .5\");\n\n\t\t\t// radar_chart.height = 100;\n\t\t\tnew Chart(radar_chart, {\n\t\t\t\ttype: 'radar',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [[\"Eating\", \"Dinner\"], [\"Drinking\", \"Water\"], \"Sleeping\", [\"Designing\", \"Graphics\"], \"Coding\", \"Cycling\", \"Running\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [65, 59, 66, 45, 56, 55, 40],\n\t\t\t\t\t\t\tborderColor: '#f21780',\n\t\t\t\t\t\t\tborderWidth: \"1\",\n\t\t\t\t\t\t\tbackgroundColor: radar_chartgradientStroke2\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My Second dataset\",\n\t\t\t\t\t\t\tdata: [28, 12, 40, 19, 63, 27, 87],\n\t\t\t\t\t\t\tborderColor: '#f21780',\n\t\t\t\t\t\t\tborderWidth: \"1\",\n\t\t\t\t\t\t\tbackgroundColor: radar_chartgradientStroke1\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false,\n\t\t\t\t\tmaintainAspectRatio: false, \n\t\t\t\t\tscale: {\n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tbeginAtZero: true\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tvar pieChart = function(){\n\t\t//pie chart\n\t\tif(jQuery('#pie_chart').length > 0 ){\n\t\t\t//pie chart\n\t\t\tconst pie_chart = document.getElementById(\"pie_chart\").getContext('2d');\n\t\t\t// pie_chart.height = 100;\n\t\t\tnew Chart(pie_chart, {\n\t\t\t\ttype: 'pie',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tdatasets: [{\n\t\t\t\t\t\tdata: [45, 25, 20, 10],\n\t\t\t\t\t\tborderWidth: 0, \n\t\t\t\t\t\tbackgroundColor: [\n\t\t\t\t\t\t\t\"rgba(34, 88, 191, .9)\",\n\t\t\t\t\t\t\t\"rgba(34, 88, 191, .7)\",\n\t\t\t\t\t\t\t\"rgba(34, 88, 191, .5)\",\n\t\t\t\t\t\t\t\"rgba(0,0,0,0.07)\"\n\t\t\t\t\t\t],\n\t\t\t\t\t\thoverBackgroundColor: [\n\t\t\t\t\t\t\t\"rgba(34, 88, 191, .9)\",\n\t\t\t\t\t\t\t\"rgba(34, 88, 191, .7)\",\n\t\t\t\t\t\t\t\"rgba(34, 88, 191, .5)\",\n\t\t\t\t\t\t\t\"rgba(0,0,0,0.07)\"\n\t\t\t\t\t\t]\n\n\t\t\t\t\t}],\n\t\t\t\t\tlabels: [\n\t\t\t\t\t\t\"one\",\n\t\t\t\t\t\t\"two\",\n\t\t\t\t\t\t\"three\", \n\t\t\t\t\t\t\"four\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tresponsive: true, \n\t\t\t\t\tlegend: false, \n\t\t\t\t\tmaintainAspectRatio: false\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n    var doughnutChart = function(){\n\t\tif(jQuery('#doughnut_chart').length > 0 ){\n\t\t\t//doughut chart\n\t\t\tconst doughnut_chart = document.getElementById(\"doughnut_chart\").getContext('2d');\n\t\t\t// doughnut_chart.height = 100;\n\t\t\tnew Chart(doughnut_chart, {\n\t\t\t\ttype: 'doughnut',\n\t\t\t\tdata: {\n\t\t\t\t\tweight: 5,\t\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tdatasets: [{\n\t\t\t\t\t\tdata: [45, 25, 20],\n\t\t\t\t\t\tborderWidth: 3, \n\t\t\t\t\t\tborderColor: \"rgba(255,255,255,1)\",\n\t\t\t\t\t\tbackgroundColor: [\n\t\t\t\t\t\t\t\"rgba(34, 88, 191, 1)\",\n\t\t\t\t\t\t\t\"rgba(98, 126, 234, 1)\",\n\t\t\t\t\t\t\t\"rgba(238, 60, 60, 1)\"\n\t\t\t\t\t\t],\n\t\t\t\t\t\thoverBackgroundColor: [\n\t\t\t\t\t\t\t\"rgba(34, 88, 191, 0.9)\",\n\t\t\t\t\t\t\t\"rgba(98, 126, 234, .9)\",\n\t\t\t\t\t\t\t\"rgba(238, 60, 60, .9)\"\n\t\t\t\t\t\t]\n\n\t\t\t\t\t}],\n\t\t\t\t\t// labels: [\n\t\t\t\t\t//     \"green\",\n\t\t\t\t\t//     \"green\",\n\t\t\t\t\t//     \"green\",\n\t\t\t\t\t//     \"green\"\n\t\t\t\t\t// ]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tweight: 1,\t\n\t\t\t\t\t cutoutPercentage: 70,\n\t\t\t\t\tresponsive: true,\n\t\t\t\t\tmaintainAspectRatio: false\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tvar polarChart = function(){\n\t\tif(jQuery('#polar_chart').length > 0 ){\n\t\t\t//polar chart\n\t\t\tconst polar_chart = document.getElementById(\"polar_chart\").getContext('2d');\n\t\t\t// polar_chart.height = 100;\n\t\t\tnew Chart(polar_chart, {\n\t\t\t\ttype: 'polarArea',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tdatasets: [{\n\t\t\t\t\t\tdata: [15, 18, 9, 6, 19],\n\t\t\t\t\t\tborderWidth: 0, \n\t\t\t\t\t\tbackgroundColor: [\n\t\t\t\t\t\t\t\"rgba(34, 88, 191, 1)\",\n\t\t\t\t\t\t\t\"rgba(98, 126, 234, 1)\",\n\t\t\t\t\t\t\t\"rgba(238, 60, 60, 1)\",\n\t\t\t\t\t\t\t\"rgba(54, 147, 255, 1)\",\n\t\t\t\t\t\t\t\"rgba(255, 92, 0, 1)\"\n\t\t\t\t\t\t]\n\n\t\t\t\t\t}]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tresponsive: true, \n\t\t\t\t\tmaintainAspectRatio: false\n\t\t\t\t}\n\t\t\t});\n\n\t\t}\n\t}\n\n\n\n\t/* Function ============ */\n\treturn {\n\t\tinit:function(){\n\t\t},\n\t\t\n\t\t\n\t\tload:function(){\n\t\t\tbarChart1();\t\n\t\t\tbarChart2();\n\t\t\tbarChart3();\t\n\t\t\tlineChart1();\t\n\t\t\tlineChart2();\t\t\n\t\t\tlineChart3();\n\t\t\tlineChart03();\n\t\t\tareaChart1();\n\t\t\tareaChart2();\n\t\t\tareaChart3();\n\t\t\tradarChart();\n\t\t\tpieChart();\n\t\t\tdoughnutChart(); \n\t\t\tpolarChart(); \n\t\t},\n\t\t\n\t\tresize:function(){\n\t\t\t// barChart1();\t\n\t\t\t// barChart2();\n\t\t\t// barChart3();\t\n\t\t\t// lineChart1();\t\n\t\t\t// lineChart2();\t\t\n\t\t\t// lineChart3();\n\t\t\t// lineChart03();\n\t\t\t// areaChart1();\n\t\t\t// areaChart2();\n\t\t\t// areaChart3();\n\t\t\t// radarChart();\n\t\t\t// pieChart();\n\t\t\t// doughnutChart(); \n\t\t\t// polarChart(); \n\t\t}\n\t}\n\n}();\n\njQuery(document).ready(function(){\n});\n\t\njQuery(window).on('load',function(){\n\tdzSparkLine.load();\n});\n\njQuery(window).on('resize',function(){\n\t//dzSparkLine.resize();\n\tsetTimeout(function(){ dzSparkLine.resize(); }, 1000);\n});\n\t\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/clock-picker-init.js",
    "content": "(function($) {\n    \"use strict\"\n\n    // Clock pickers\n    var input = $('#single-input').clockpicker({\n        placement: 'bottom',\n        align: 'left',\n        autoclose: true,\n        'default': 'now'\n    });\n\n    $('.clockpicker').clockpicker({\n        donetext: 'Done',\n    }).find('input').change(function () {\n        console.log(this.value);\n    });\n\n    $('#check-minutes').click(function (e) {\n        // Have to stop propagation here\n        e.stopPropagation();\n        input.clockpicker('show').clockpicker('toggleView', 'minutes');\n    });\n\n})(jQuery)"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/datatables.init.js",
    "content": "let dataSet = [\n    [ \"Tiger Nixon\", \"System Architect\", \"Edinburgh\", \"5421\", \"2011/04/25\", \"$320,800\" ],\n    [ \"Garrett Winters\", \"Accountant\", \"Tokyo\", \"8422\", \"2011/07/25\", \"$170,750\" ],\n    [ \"Ashton Cox\", \"Junior Technical Author\", \"San Francisco\", \"1562\", \"2009/01/12\", \"$86,000\" ],\n    [ \"Cedric Kelly\", \"Senior Javascript Developer\", \"Edinburgh\", \"6224\", \"2012/03/29\", \"$433,060\" ],\n    [ \"Airi Satou\", \"Accountant\", \"Tokyo\", \"5407\", \"2008/11/28\", \"$162,700\" ],\n    [ \"Brielle Williamson\", \"Integration Specialist\", \"New York\", \"4804\", \"2012/12/02\", \"$372,000\" ],\n    [ \"Herrod Chandler\", \"Sales Assistant\", \"San Francisco\", \"9608\", \"2012/08/06\", \"$137,500\" ],\n    [ \"Rhona Davidson\", \"Integration Specialist\", \"Tokyo\", \"6200\", \"2010/10/14\", \"$327,900\" ],\n    [ \"Colleen Hurst\", \"Javascript Developer\", \"San Francisco\", \"2360\", \"2009/09/15\", \"$205,500\" ],\n    [ \"Sonya Frost\", \"Software Engineer\", \"Edinburgh\", \"1667\", \"2008/12/13\", \"$103,600\" ],\n    [ \"Jena Gaines\", \"Office Manager\", \"London\", \"3814\", \"2008/12/19\", \"$90,560\" ],\n    [ \"Quinn Flynn\", \"Support Lead\", \"Edinburgh\", \"9497\", \"2013/03/03\", \"$342,000\" ],\n    [ \"Charde Marshall\", \"Regional Director\", \"San Francisco\", \"6741\", \"2008/10/16\", \"$470,600\" ],\n    [ \"Haley Kennedy\", \"Senior Marketing Designer\", \"London\", \"3597\", \"2012/12/18\", \"$313,500\" ],\n    [ \"Tatyana Fitzpatrick\", \"Regional Director\", \"London\", \"1965\", \"2010/03/17\", \"$385,750\" ],\n    [ \"Michael Silva\", \"Marketing Designer\", \"London\", \"1581\", \"2012/11/27\", \"$198,500\" ],\n    [ \"Paul Byrd\", \"Chief Financial Officer (CFO)\", \"New York\", \"3059\", \"2010/06/09\", \"$725,000\" ],\n    [ \"Gloria Little\", \"Systems Administrator\", \"New York\", \"1721\", \"2009/04/10\", \"$237,500\" ],\n    [ \"Bradley Greer\", \"Software Engineer\", \"London\", \"2558\", \"2012/10/13\", \"$132,000\" ],\n    [ \"Dai Rios\", \"Personnel Lead\", \"Edinburgh\", \"2290\", \"2012/09/26\", \"$217,500\" ],\n    [ \"Jenette Caldwell\", \"Development Lead\", \"New York\", \"1937\", \"2011/09/03\", \"$345,000\" ],\n    [ \"Yuri Berry\", \"Chief Marketing Officer (CMO)\", \"New York\", \"6154\", \"2009/06/25\", \"$675,000\" ],\n    [ \"Caesar Vance\", \"Pre-Sales Support\", \"New York\", \"8330\", \"2011/12/12\", \"$106,450\" ],\n    [ \"Doris Wilder\", \"Sales Assistant\", \"Sidney\", \"3023\", \"2010/09/20\", \"$85,600\" ],\n    [ \"Angelica Ramos\", \"Chief Executive Officer (CEO)\", \"London\", \"5797\", \"2009/10/09\", \"$1,200,000\" ],\n    [ \"Gavin Joyce\", \"Developer\", \"Edinburgh\", \"8822\", \"2010/12/22\", \"$92,575\" ],\n    [ \"Jennifer Chang\", \"Regional Director\", \"Singapore\", \"9239\", \"2010/11/14\", \"$357,650\" ],\n    [ \"Brenden Wagner\", \"Software Engineer\", \"San Francisco\", \"1314\", \"2011/06/07\", \"$206,850\" ],\n    [ \"Fiona Green\", \"Chief Operating Officer (COO)\", \"San Francisco\", \"2947\", \"2010/03/11\", \"$850,000\" ],\n    [ \"Shou Itou\", \"Regional Marketing\", \"Tokyo\", \"8899\", \"2011/08/14\", \"$163,000\" ],\n    [ \"Michelle House\", \"Integration Specialist\", \"Sidney\", \"2769\", \"2011/06/02\", \"$95,400\" ],\n    [ \"Suki Burks\", \"Developer\", \"London\", \"6832\", \"2009/10/22\", \"$114,500\" ],\n    [ \"Prescott Bartlett\", \"Technical Author\", \"London\", \"3606\", \"2011/05/07\", \"$145,000\" ],\n    [ \"Gavin Cortez\", \"Team Leader\", \"San Francisco\", \"2860\", \"2008/10/26\", \"$235,500\" ],\n    [ \"Martena Mccray\", \"Post-Sales support\", \"Edinburgh\", \"8240\", \"2011/03/09\", \"$324,050\" ],\n    [ \"Unity Butler\", \"Marketing Designer\", \"San Francisco\", \"5384\", \"2009/12/09\", \"$85,675\" ]\n];\n\n\n\n\n(function($) {\n     \"use strict\"\n    //example 1\n    var table = $('#example').DataTable({\n        createdRow: function ( row, data, index ) {\n           $(row).addClass('selected')\n        } ,\n\t\tlanguage: {\n\t\t\tpaginate: {\n\t\t\t  next: '<i class=\"fa fa-angle-double-right\" aria-hidden=\"true\"></i>',\n\t\t\t  previous: '<i class=\"fa fa-angle-double-left\" aria-hidden=\"true\"></i>' \n\t\t\t}\n\t\t  }\n    });\n      \n    table.on('click', 'tbody tr', function() {\n    var $row = table.row(this).nodes().to$();\n    var hasClass = $row.hasClass('selected');\n    if (hasClass) {\n        $row.removeClass('selected')\n    } else {\n        $row.addClass('selected')\n    }\n    })\n    \n    table.rows().every(function() {\n    this.nodes().to$().removeClass('selected')\n    });\n\n\n\n    //example 2\n    var table2 = $('#example2').DataTable( {\n        createdRow: function ( row, data, index ) {\n            $(row).addClass('selected')\n        },\n\n        \"scrollY\":        \"42vh\",\n        \"scrollCollapse\": true,\n        \"paging\":         false\n    });\n\n    table2.on('click', 'tbody tr', function() {\n        var $row = table2.row(this).nodes().to$();\n        var hasClass = $row.hasClass('selected');\n        if (hasClass) {\n            $row.removeClass('selected')\n        } else {\n            $row.addClass('selected')\n        }\n    })\n        \n    table2.rows().every(function() {\n        this.nodes().to$().removeClass('selected')\n    });\n\t\n\t// dataTable1\n\tvar table = $('#dataTable1').DataTable({\n\t\tsearching: false,\n\t\tpaging:true,\n\t\tselect: false,         \n\t\tlengthChange:false ,\n\t\t\n\t});\n\t// dataTable2\n\tvar table = $('#dataTable2').DataTable({\n\t\tsearching: false,\n\t\tpaging:true,\n\t\tselect: false,         \n\t\tlengthChange:false ,\n\t\t\n\t});\n\t// dataTable3\n\tvar table = $('#dataTable3').DataTable({\n\t\tsearching: false,\n\t\tpaging:true,\n\t\tselect: false,         \n\t\tlengthChange:false ,\n\t\t\n\t});\n\t// dataTable4\n\tvar table = $('#dataTable4').DataTable({\n\t\tsearching: false,\n\t\tpaging:true,\n\t\tselect: false,         \n\t\tlengthChange:false,\n\t\t\n\t});\n   \n\t// dataTable5\n\tvar table = $('#example5').DataTable({\n\t\tsearching: false,\n\t\tpaging:true,\n\t\tselect: false,\n\t\tinfo: false,         \n\t\tlengthChange:false ,\n\t\tlanguage: {\n\t\t\tpaginate: {\n\t\t\t  previous: \"Previous\",\n\t\t\t  next: \"Next\" \n\t\t\t}\n\t\t  }\n\t\t\n\t}); \n\t\n\t// dataTable6\n\t\tvar table = $('#example6').DataTable({\n\t\t\tsearching: false,\n\t\t\tpaging:true,\n\t\t\tselect: false,\n\t\t\tinfo: false,         \n\t\t\tlengthChange:false ,\n\t\t\tlanguage: {\n\t\t\tpaginate: {\n\t\t\t  previous: \"Previous\",\n\t\t\t  next: \"Next\" \n\t\t\t}\n\t\t  }\n\t\t\t\n\t\t});\n\t\t\n\t// table row\n\tvar table = $('#dataTable1, #dataTable2, #dataTable3, #dataTable4,  #example3, #example4 ').DataTable({\n\t\tlanguage: {\n\t\t\tpaginate: {\n\t\t\t  next: '<i class=\"fa fa-angle-double-right\" aria-hidden=\"true\"></i>',\n\t\t\t  previous: '<i class=\"fa fa-angle-double-left\" aria-hidden=\"true\"></i>' \n\t\t\t}\n\t\t  }\n\t});\n\t$('#example tbody').on('click', 'tr', function () {\n\t\tvar data = table.row( this ).data();\n\t});\n   \n\t\n\t\n})(jQuery);\n"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/flot-init.js",
    "content": "(function($) {\n   \"use strict\"\n\n\n var dzChartlist = function(){\n\t\n\tvar screenWidth = $(window).width();\n\n\tvar flotBar1 = function(){\n\t\t$.plot(\"#flotBar1\", [{\n\t\t\tdata: [[0, 3], [2, 8], [4, 5], [6, 13], [8, 5], [10, 7], [12, 4], [14, 6]]\n\t\t}], {\n\t\t\tseries: {\n\t\t\t\tbars: {\n\t\t\t\t\tshow: true,\n\t\t\t\t\tlineWidth: 0,\n\t\t\t\t\tfillColor: '#2258BF'\n\t\t\t\t}\n\t\t\t},\n\t\t\tgrid: {\n\t\t\t\tborderWidth: 1,\n\t\t\t\tborderColor: 'transparent'\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\ttickColor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tcolor: '#fff',\n\t\t\t\t\tsize: 10\n\t\t\t\t}\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\ttickColor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tcolor: '#fff',\n\t\t\t\t\tsize: 10\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\t\n\tvar flotBar2 = function(){\n\t\t$.plot(\"#flotBar2\", [{\n\t\t\tdata: [[0, 3], [2, 8], [4, 5], [6, 13], [8, 5], [10, 7], [12, 8], [14, 10]],\n\t\t\tbars: {\n\t\t\t\tshow: true,\n\t\t\t\tlineWidth: 0,\n\t\t\t\tfillColor: '#2258BF'\n\t\t\t}\n\t\t}, {\n\t\t\tdata: [[1, 5], [3, 7], [5, 10], [7, 7], [9, 9], [11, 5], [13, 4], [15, 6]],\n\t\t\tbars: {\n\t\t\t\tshow: true,\n\t\t\t\tlineWidth: 0,\n\t\t\t\tfillColor: '#709fba'\n\t\t\t}\n\t\t}], \n\t\t{\n\t\t\tgrid: {\n\t\t\t\tborderWidth: 1,\n\t\t\t\tborderColor: 'transparent'\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\ttickColor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tcolor: '#fff',\n\t\t\t\t\tsize: 10\n\t\t\t\t}\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\ttickColor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tcolor: '#fff',\n\t\t\t\t\tsize: 10\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\t\n\tvar flotLine1 = function(){\n\t\tvar newCust = [[0, 2], [1, 3], [2, 6], [3, 5], [4, 7], [5, 8], [6, 10]];\n\t\tvar retCust = [[0, 1], [1, 2], [2, 5], [3, 3], [4, 5], [5, 6], [6, 9]];\n\n\t\tvar plot = $.plot($('#flotLine1'), [\n\t\t\t{\n\t\t\t\tdata: newCust,\n\t\t\t\tlabel: 'New Customer',\n\t\t\t\tcolor: '#2258BF'\n\t\t\t},\n\t\t\t{\n\t\t\t\tdata: retCust,\n\t\t\t\tlabel: 'Returning Customer',\n\t\t\t\tcolor: '#709fba'\n\t\t\t}\n\t\t],\n\t\t{\n\t\t\tseries: {\n\t\t\t\tlines: {\n\t\t\t\t\tshow: true,\n\t\t\t\t\tlineWidth: 1\n\t\t\t\t},\n\t\t\t\tshadowSize: 0\n\t\t\t},\n\t\t\tpoints: {\n\t\t\t\tshow: false,\n\t\t\t},\n\t\t\tlegend: {\n\t\t\t\tnoColumns: 1,\n\t\t\t\tposition: 'nw'\n\t\t\t},\n\t\t\tgrid: {\n\t\t\t\thoverable: true,\n\t\t\t\tclickable: true,\n\t\t\t\tborderColor: '#ddd',\n\t\t\t\tborderWidth: 0,\n\t\t\t\tlabelMargin: 5,\n\t\t\t\tbackgroundColor: 'transparent'\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\tmin: 0,\n\t\t\t\tmax: 15,\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#999'\n\t\t\t\t}\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#999'\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\t\n\tvar flotLine2 = function(){\n\t\tvar newCust = [[0, 2], [1, 3], [2, 6], [3, 5], [4, 7], [5, 8], [6, 10]];\n\t\tvar retCust = [[0, 1], [1, 2], [2, 5], [3, 3], [4, 5], [5, 6], [6, 9]];\n\t\t\n\t\tvar plot = $.plot($('#flotLine2'), [\n\t\t\t{\n\t\t\t\tdata: newCust,\n\t\t\t\tlabel: 'New Customer',\n\t\t\t\tcolor: '#2258BF'\n\t\t\t},\n\t\t\t{\n\t\t\t\tdata: retCust,\n\t\t\t\tlabel: 'Returning Customer',\n\t\t\t\tcolor: '#709fba'\n\t\t\t}\n\t\t],\n\t\t{\n\t\t\tseries: {\n\t\t\t\tlines: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\tsplines: {\n\t\t\t\t\tshow: true,\n\t\t\t\t\ttension: 0.4,\n\t\t\t\t\tlineWidth: 1,\n\t\t\t\t\t//fill: 0.4\n\t\t\t\t},\n\t\t\t\tshadowSize: 0\n\t\t\t},\n\t\t\tpoints: {\n\t\t\t\tshow: false,\n\t\t\t},\n\t\t\tlegend: {\n\t\t\t\tnoColumns: 1,\n\t\t\t\tposition: 'nw'\n\t\t\t},\n\t\t\tgrid: {\n\t\t\t\thoverable: true,\n\t\t\t\tclickable: true,\n\t\t\t\tborderColor: '#ddd',\n\t\t\t\tborderWidth: 0,\n\t\t\t\tlabelMargin: 5,\n\t\t\t\tbackgroundColor: 'transparent'\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\tmin: 0,\n\t\t\t\tmax: 15,\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t}\n\t\t});\t\t\n\t}\n\t\n\tvar flotLine3 = function(){\n\t\tvar newCust2 = [[0, 10], [1, 7], [2, 8], [3, 9], [4, 6], [5, 5], [6, 7]];\n\t\tvar retCust2 = [[0, 8], [1, 5], [2, 6], [3, 8], [4, 4], [5, 3], [6, 6]];\n\t\t\n\t\tvar plot = $.plot($('#flotLine3'), [\n\t\t\t{\n\t\t\t\tdata: newCust2,\n\t\t\t\tlabel: 'New Customer',\n\t\t\t\tcolor: '#2258BF'\n\t\t\t},\n\t\t\t{\n\t\t\t\tdata: retCust2,\n\t\t\t\tlabel: 'Returning Customer',\n\t\t\t\tcolor: '#709fba'\n\t\t\t}\n\t\t],\n\t\t{\n\t\t\tseries: {\n\t\t\t\tlines: {\n\t\t\t\t\tshow: true,\n\t\t\t\t\tlineWidth: 1\n\t\t\t\t},\n\t\t\t\tshadowSize: 0\n\t\t\t},\n\t\t\tpoints: {\n\t\t\t\tshow: true,\n\t\t\t},\n\t\t\tlegend: {\n\t\t\t\tnoColumns: 1,\n\t\t\t\tposition: 'nw'\n\t\t\t},\n\t\t\tgrid: {\n\t\t\t\thoverable: true,\n\t\t\t\tclickable: true,\n\t\t\t\tborderColor: '#ddd',\n\t\t\t\tborderWidth: 0,\n\t\t\t\tlabelMargin: 5,\n\t\t\t\tbackgroundColor: 'transparent'\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\tmin: 0,\n\t\t\t\tmax: 15,\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\t\n\tvar flotArea1 = function(){\n\t\tvar newCust = [[0, 2], [1, 3], [2, 6], [3, 5], [4, 7], [5, 8], [6, 10]];\n\t\tvar retCust = [[0, 1], [1, 2], [2, 5], [3, 3], [4, 5], [5, 6], [6, 9]];\n\t\t\n\t\tvar plot = $.plot($('#flotArea1'), [\n\t\t\t{\n\t\t\t\tdata: newCust,\n\t\t\t\tlabel: 'New Customer',\n\t\t\t\tcolor: '#2258BF'\n\t\t\t},\n\t\t\t{\n\t\t\t\tdata: retCust,\n\t\t\t\tlabel: 'Returning Customer',\n\t\t\t\tcolor: '#709fba'\n\t\t\t}\n\t\t],\n\t\t{\n\t\t\tseries: {\n\t\t\t\tlines: {\n\t\t\t\t\tshow: true,\n\t\t\t\t\tlineWidth: 0,\n\t\t\t\t\tfill: 1\n\t\t\t\t},\n\t\t\t\tshadowSize: 0\n\t\t\t},\n\t\t\tpoints: {\n\t\t\t\tshow: false,\n\t\t\t},\n\t\t\tlegend: {\n\t\t\t\tnoColumns: 1,\n\t\t\t\tposition: 'nw'\n\t\t\t},\n\t\t\tgrid: {\n\t\t\t\thoverable: true,\n\t\t\t\tclickable: true,\n\t\t\t\tborderColor: '#ddd',\n\t\t\t\tborderWidth: 0,\n\t\t\t\tlabelMargin: 5,\n\t\t\t\tbackgroundColor: 'transparent'\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\tmin: 0,\n\t\t\t\tmax: 15,\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\t\n\tvar flotArea2 = function(){\n\t\tvar newCust = [[0, 2], [1, 3], [2, 6], [3, 5], [4, 7], [5, 8], [6, 10]];\n\t\tvar retCust = [[0, 1], [1, 2], [2, 5], [3, 3], [4, 5], [5, 6], [6, 9]];\n\t\t\n\t\tvar plot = $.plot($('#flotArea2'), [\n\t\t\t{\n\t\t\t\tdata: newCust,\n\t\t\t\tlabel: 'New Customer',\n\t\t\t\tcolor: '#2258BF'\n\t\t\t},\n\t\t\t{\n\t\t\t\tdata: retCust,\n\t\t\t\tlabel: 'Returning Customer',\n\t\t\t\tcolor: '#709fba'\n\t\t\t}\n\t\t],\n\t\t{\n\t\t\tseries: {\n\t\t\t\tlines: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\tsplines: {\n\t\t\t\t\tshow: true,\n\t\t\t\t\ttension: 0.4,\n\t\t\t\t\tlineWidth: 0,\n\t\t\t\t\tfill: 1\n\t\t\t\t},\n\t\t\t\tshadowSize: 0\n\t\t\t},\n\t\t\tpoints: {\n\t\t\t\tshow: false,\n\t\t\t},\n\t\t\tlegend: {\n\t\t\t\tnoColumns: 1,\n\t\t\t\tposition: 'nw'\n\t\t\t},\n\t\t\tgrid: {\n\t\t\t\thoverable: true,\n\t\t\t\tclickable: true,\n\t\t\t\tborderColor: '#ddd',\n\t\t\t\tborderWidth: 0,\n\t\t\t\tlabelMargin: 5,\n\t\t\t\tbackgroundColor: 'transparent'\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\tmin: 0,\n\t\t\t\tmax: 15,\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\t\n\tvar flotLine4 = function(){\n\t\tvar previousPoint = null;\n\n\t\t$('#flotLine4, #flotLine4').bind('plothover', function (event, pos, item) {\n\t\t\t$('#x').text(pos.x.toFixed(2));\n\t\t\t$('#y').text(pos.y.toFixed(2));\n\n\t\t\tif (item) {\n\t\t\t\tif (previousPoint != item.dataIndex) {\n\t\t\t\t\tpreviousPoint = item.dataIndex;\n\n\t\t\t\t\t$('#tooltip').remove();\n\t\t\t\t\tvar x = item.datapoint[0].toFixed(2),\n\t\t\t\t\t\ty = item.datapoint[1].toFixed(2);\n\n\t\t\t\t\tshowTooltip(item.pageX, item.pageY, item.series.label + ' of ' + x + ' = ' + y);\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t$('#tooltip').remove();\n\t\t\t\tpreviousPoint = null;\n\t\t\t}\n\t\t});\n\t\t$('#flotLine4, #flotLine4').bind('plotclick', function (event, pos, item) {\n\t\t\tif (item) {\n\t\t\t\tplot.highlight(item.series, item.datapoint);\n\t\t\t}\n\t\t});\n\t}\n\n\tfunction showTooltip(x, y, contents) {\n\t\t$('<div id=\"tooltip\" class=\"tooltipflot\">' + contents + '</div>').css({\n\t\t\tposition: 'absolute',\n\t\t\tdisplay: 'none',\n\t\t\ttop: y + 5,\n\t\t\tleft: x + 5\n\t\t}).appendTo('body').fadeIn(200);\n\t}\n\n\tvar flotRealtime1 = function(){\n\t\t/*********** REAL TIME UPDATES **************/\n\n\t\tvar data = [], totalPoints = 50;\n\n\t\tfunction getRandomData() {\n\t\t\tif (data.length > 0)\n\t\t\t\tdata = data.slice(1);\n\t\t\twhile (data.length < totalPoints) {\n\t\t\t\tvar prev = data.length > 0 ? data[data.length - 1] : 50,\n\t\t\t\t\ty = prev + Math.random() * 10 - 5;\n\t\t\t\tif (y < 0) {\n\t\t\t\t\ty = 0;\n\t\t\t\t} else if (y > 100) {\n\t\t\t\t\ty = 100;\n\t\t\t\t}\n\t\t\t\tdata.push(y);\n\t\t\t}\n\t\t\tvar res = [];\n\t\t\tfor (var i = 0; i < data.length; ++i) {\n\t\t\t\tres.push([i, data[i]])\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\n\n\t\t// Set up the control widget\n\t\tvar updateInterval = 1000;\n\n\t\tvar plot4 = $.plot('#flotRealtime1', [getRandomData()], {\n\t\t\tcolors: ['#2258BF'],\n\t\t\tseries: {\n\t\t\t\tlines: {\n\t\t\t\t\tshow: true,\n\t\t\t\t\tlineWidth: 1\n\t\t\t\t},\n\t\t\t\tshadowSize: 0\t// Drawing is faster without shadows\n\t\t\t},\n\t\t\tgrid: {\n\t\t\t\tborderColor: 'transparent',\n\t\t\t\tborderWidth: 1,\n\t\t\t\tlabelMargin: 5\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\tmin: 0,\n\t\t\t\tmax: 100,\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tupdate_plot4();\n\t\tfunction update_plot4() {\n\t\t\tplot4.setData([getRandomData()]);\n\t\t\tplot4.draw();\n\t\t\tsetTimeout(update_plot4, updateInterval);\n\t\t}\n\t}\n\t\n\tvar flotRealtime2 = function(){\n\t\tvar data = [], totalPoints = 50;\n\n\t\tfunction getRandomData() {\n\t\t\tif (data.length > 0)\n\t\t\t\tdata = data.slice(1);\n\t\t\twhile (data.length < totalPoints) {\n\t\t\t\tvar prev = data.length > 0 ? data[data.length - 1] : 50,\n\t\t\t\t\ty = prev + Math.random() * 10 - 5;\n\t\t\t\tif (y < 0) {\n\t\t\t\t\ty = 0;\n\t\t\t\t} else if (y > 100) {\n\t\t\t\t\ty = 100;\n\t\t\t\t}\n\t\t\t\tdata.push(y);\n\t\t\t}\n\t\t\tvar res = [];\n\t\t\tfor (var i = 0; i < data.length; ++i) {\n\t\t\t\tres.push([i, data[i]])\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t\t\n\t\t// Set up the control widget\n\t\tvar updateInterval = 1000;\n\t\t\n\t\tvar plot5 = $.plot('#flotRealtime2', [getRandomData()], {\n\t\t\tcolors: ['#2258BF'],\n\t\t\tseries: {\n\t\t\t\tlines: {\n\t\t\t\t\tshow: true,\n\t\t\t\t\tlineWidth: 0,\n\t\t\t\t\tfill: 0.9\n\t\t\t\t},\n\t\t\t\tshadowSize: 0\t// Drawing is faster without shadows\n\t\t\t},\n\t\t\tgrid: {\n\t\t\t\tborderColor: 'transparent',\n\t\t\t\tborderWidth: 1,\n\t\t\t\tlabelMargin: 5\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\tmin: 0,\n\t\t\t\tmax: 100,\n\t\t\t\tcolor: 'transparent',\n\t\t\t\tfont: {\n\t\t\t\t\tsize: 10,\n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t\n\n\t\t\n\t\tupdate_plot5();\n\t\tfunction update_plot5() {\n\t\t\tplot5.setData([getRandomData()]);\n\t\t\tplot5.draw();\n\t\t\tsetTimeout(update_plot5, updateInterval);\n\t\t}\n\t}\n\t\n\t/* Function ============ */\n\treturn {\n\t\tinit:function(){\n\t\t},\n\t\t\n\t\t\n\t\tload:function(){\n\t\t\tflotBar1();\t\n\t\t\tflotBar2();\n\t\t\tflotLine1();\t\n\t\t\tflotLine2();\t\n\t\t\tflotLine3();\t\t\n\t\t\tflotArea1();\n\t\t\tflotArea2();\n\t\t\tflotLine4();\n\t\t\tflotRealtime1();\n\t\t\tflotRealtime2();\n\t\t},\n\t\t\n\t\tresize:function(){\n\t\t}\n\t}\n\n}();\n\njQuery(document).ready(function(){\n});\n\t\njQuery(window).on('load',function(){\n\tdzChartlist.load();\n});\n\njQuery(window).on('resize',function(){\n\tdzChartlist.resize();\n});     \n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/fullcalendar-init.js",
    "content": "\"use strict\"\n document.addEventListener('DOMContentLoaded', function() {\n\n\t\t/* initialize the external events\n\t\t-----------------------------------------------------------------*/\n\n\t\tvar containerEl = document.getElementById('external-events');\n\t\tnew FullCalendar.Draggable(containerEl, {\n\t\t  itemSelector: '.external-event',\n\t\t  eventData: function(eventEl) {\n\t\t\treturn {\n\t\t\t  title: eventEl.innerText.trim()\n\t\t\t}\n\t\t  }\n\t\t \n\t\t});\n\n\t\t//// the individual way to do it\n\t\t// var containerEl = document.getElementById('external-events-list');\n\t\t// var eventEls = Array.prototype.slice.call(\n\t\t//   containerEl.querySelectorAll('.fc-event')\n\t\t// );\n\t\t// eventEls.forEach(function(eventEl) {\n\t\t//   new FullCalendar.Draggable(eventEl, {\n\t\t//     eventData: {\n\t\t//       title: eventEl.innerText.trim(),\n\t\t//     }\n\t\t//   });\n\t\t// });\n\n\t\t/* initialize the calendar\n\t\t-----------------------------------------------------------------*/\n\n\t\tvar calendarEl = document.getElementById('calendar');\n\t\tvar calendar = new FullCalendar.Calendar(calendarEl, {\n\t\t  headerToolbar: {\n\t\t\tleft: 'prev,next today',\n\t\t\tcenter: 'title',\n\t\t\tright: 'dayGridMonth,timeGridWeek,timeGridDay'\n\t\t  },\n\t\t  \n\t\t  selectable: true,\n\t\t  selectMirror: true,\n\t\t  select: function(arg) {\n\t\t\tvar title = prompt('Event Title:');\n\t\t\tif (title) {\n\t\t\t  calendar.addEvent({\n\t\t\t\ttitle: title,\n\t\t\t\tstart: arg.start,\n\t\t\t\tend: arg.end,\n\t\t\t\tallDay: arg.allDay\n\t\t\t  })\n\t\t\t}\n\t\t\tcalendar.unselect()\n\t\t  },\n\t\t  \n\t\t  editable: true,\n\t\t  droppable: true, // this allows things to be dropped onto the calendar\n\t\t  drop: function(arg) {\n\t\t\t// is the \"remove after drop\" checkbox checked?\n\t\t\tif (document.getElementById('drop-remove').checked) {\n\t\t\t  // if so, remove the element from the \"Draggable Events\" list\n\t\t\t  arg.draggedEl.parentNode.removeChild(arg.draggedEl);\n\t\t\t}\n\t\t  },\n\t\t  initialDate: '2021-02-13',\n\t\t\t  weekNumbers: true,\n\t\t\t  navLinks: true, // can click day/week names to navigate views\n\t\t\t  editable: true,\n\t\t\t  selectable: true,\n\t\t\t  nowIndicator: true,\n\t\t   events: [\n\t\t\t\t{\n\t\t\t\t  title: 'All Day Event',\n\t\t\t\t  start: '2021-02-01'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Long Event',\n\t\t\t\t  start: '2021-02-07',\n\t\t\t\t  end: '2021-02-10',\n\t\t\t\t  className: \"bg-danger\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  groupId: 999,\n\t\t\t\t  title: 'Repeating Event',\n\t\t\t\t  start: '2021-02-09T16:00:00'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  groupId: 999,\n\t\t\t\t  title: 'Repeating Event',\n\t\t\t\t  start: '2021-02-16T16:00:00'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Conference',\n\t\t\t\t  start: '2021-02-11',\n\t\t\t\t  end: '2021-02-13',\n\t\t\t\t  className: \"bg-danger\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Meeting',\n\t\t\t\t  start: '2021-02-12T9:30:00',\n\t\t\t\t  end: '2021-02-12T11:30:00',\n\t\t\t\t  className:\"bg-info\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Lunch',\n\t\t\t\t  start: '2021-02-12T12:00:00'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Meeting',\n\t\t\t\t  start: '2021-04-12T14:30:00'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Happy Hour',\n\t\t\t\t  start: '2021-07-12T17:30:00'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Dinner',\n\t\t\t\t  start: '2021-02-12T20:00:00',\n\t\t\t\t  className: \"bg-warning\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Birthday Party',\n\t\t\t\t  start: '2021-02-13T07:00:00',\n\t\t\t\t  className: \"bg-secondary\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t  title: 'Click for Google',\n\t\t\t\t  url: 'http://google.com/',\n\t\t\t\t  start: '2021-02-28'\n\t\t\t\t}\n\t\t\t  ]\n\t\t});\n\t\tcalendar.render();\n\n\t  });"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/jquery-asColorPicker.init.js",
    "content": "(function($) {\n    \"use strict\"\n    \n    // Colorpicker\n    $(\".as_colorpicker\").asColorPicker();\n    $(\".complex-colorpicker\").asColorPicker({\n        mode: 'complex'\n    });\n    $(\".gradient-colorpicker\").asColorPicker({\n        mode: 'gradient'\n    });\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/jquery.validate-init.js",
    "content": "(function () {\n  'use strict'\n\n  // Fetch all the forms we want to apply custom Bootstrap validation styles to\n  var forms = document.querySelectorAll('.needs-validation')\n\n  // Loop over them and prevent submission\n  Array.prototype.slice.call(forms)\n\t.forEach(function (form) {\n\t  form.addEventListener('submit', function (event) {\n\t\tif (!form.checkValidity()) {\n\t\t  event.preventDefault()\n\t\t  event.stopPropagation()\n\t\t}\n\n\t\tform.classList.add('was-validated')\n\t  }, false)\n\t})\n})()"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/jqvmap-init.js",
    "content": "(function($) {\n    \"use strict\" \n\n\n var dzVectorMap = function(){\n\t\n\tvar screenWidth = $(window).width();\n\t\n\tvar handleWorldMap = function(trigger = 'load'){\n\t\tvar vmapSelector = $('#world-map');\n\t\tif(trigger == 'resize')\n\t\t{\n\t\t\tvmapSelector.empty();\n\t\t\tvmapSelector.removeAttr('style');\n\t\t}\n\t\t\n\t\tvmapSelector.delay( 500 ).unbind().vectorMap({ \n\t\t\tmap: 'world_en',\n\t\t\tbackgroundColor: 'transparent',\n\t\t\tborderColor: 'rgb(239, 242, 244)',\n\t\t\tborderOpacity: 0.25,\n\t\t\tborderWidth: 1,\n\t\t\tcolor: 'rgb(239, 242, 244)',\n\t\t\tenableZoom: true,\n\t\t\thoverColor: 'rgba(239, 242, 244 0.9)',\n\t\t\thoverOpacity: null,\n\t\t\tnormalizeFunction: 'linear',\n\t\t\tscaleColors: ['#b6d6ff', '#005ace'],\n\t\t\tselectedColor: 'rgba(239, 242, 244 0.9)',\n\t\t\tselectedRegions: null,\n\t\t\tshowTooltip: true,\n\t\t\tonRegionClick: function(element, code, region)\n\t\t\t{\n\t\t\t\tvar message = 'You clicked \"'\n\t\t\t\t\t+ region\n\t\t\t\t\t+ '\" which has the code: '\n\t\t\t\t\t+ code.toUpperCase();\n\t\t \n\t\t\t\talert(message);\n\t\t\t}\n\t\t});\n\t}\n\t\n\tvar handleUsaMap = function(trigger = 'load'){\n\t\tvar vmapSelector = $('#usa');\n\t\tif(trigger == 'resize')\n\t\t{\n\t\t\tvmapSelector.empty();\n\t\t\tvmapSelector.removeAttr('style');\n\t\t}\n\t\t\n\t\tvmapSelector.delay(500).unbind().vectorMap({ \n\t\t\tmap: 'usa_en',\n\t\t\tbackgroundColor: 'transparent',\n\t\t\tborderColor: 'rgb(239, 242, 244)',\n\t\t\tborderOpacity: 0.25,\n\t\t\tborderWidth: 1,\n\t\t\tcolor: 'rgb(239, 242, 244)',\n\t\t\tenableZoom: true,\n\t\t\thoverColor: 'rgba(239, 242, 244 0.9)',\n\t\t\thoverOpacity: null,\n\t\t\tnormalizeFunction: 'linear',\n\t\t\tscaleColors: ['#b6d6ff', '#005ace'],\n\t\t\tselectedColor: 'rgba(239, 242, 244 0.9)',\n\t\t\tselectedRegions: null,\n\t\t\tshowTooltip: true,\n\t\t\tonRegionClick: function(element, code, region)\n\t\t\t{\n\t\t\t\tvar message = 'You clicked \"'\n\t\t\t\t\t+ region\n\t\t\t\t\t+ '\" which has the code: '\n\t\t\t\t\t+ code.toUpperCase();\n\t\t \n\t\t\t\talert(message);\n\t\t\t}\n\t\t});\n\t}\n\t\n\t\treturn {\n\t\t\tinit:function(){\n\t\t\t},\n\t\t\t\n\t\t\t\n\t\t\tload:function(){\n\t\t\t\thandleWorldMap();\n\t\t\t\thandleUsaMap();\n\t\t\t},\n\t\t\t\n\t\t\tresize:function(){\n\t\t\t\thandleWorldMap('resize');\n\t\t\t\thandleUsaMap('resize');\n\t\t\t}\n\t\t}\n\t\n\t}();\n\n\tjQuery(document).ready(function(){\n\t});\n\t\t\n\tjQuery(window).on('load',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzVectorMap.load();\n\t\t}, 1000); \n\t\t\n\t});\n\n\tjQuery(window).on('resize',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzVectorMap.resize();\n\t\t}, 1000); \n\t\t\n\t});     \n\n})(jQuery);\t"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/material-date-picker-init.js",
    "content": "(function($) {\n    \"use strict\"\n\n    // MAterial Date picker\n    $('#mdate').bootstrapMaterialDatePicker({\n        weekStart: 0,\n        time: false\n    });\n    $('#timepicker').bootstrapMaterialDatePicker({\n        format: 'HH:mm',\n        time: true,\n        date: false\n    });\n    $('#date-format').bootstrapMaterialDatePicker({\n        format: 'dddd DD MMMM YYYY - HH:mm'\n    });\n\n    $('#min-date').bootstrapMaterialDatePicker({\n        format: 'DD/MM/YYYY HH:mm',\n        minDate: new Date()\n    });\n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/morris-init.js",
    "content": "(function($) {\n    \"use strict\"\n\n\tvar dzMorris = function(){\n\t\t\n\t\tvar screenWidth = $(window).width();\n\t\t\n\t\tvar setChartWidth = function(){\n\t\t\tif(screenWidth <= 768)\n\t\t\t{\n\t\t\t\tvar chartBlockWidth = 0;\n\t\t\t\tchartBlockWidth = (screenWidth < 300 )?screenWidth:300;\n\t\t\t\tjQuery('.morris_chart_height').css('min-width',chartBlockWidth - 31);\n\t\t\t}\n\t\t}\n\t\t\n\t\tvar donutChart = function(){\n\t\t\tMorris.Donut({\n\t\t\t\telement: 'morris_donught',\n\t\t\t\tdata: [{\n\t\t\t\t\tlabel: \"\\xa0 \\xa0 Download Sales \\xa0 \\xa0\",\n\t\t\t\t\tvalue: 12,\n\n\t\t\t\t}, {\n\t\t\t\t\tlabel: \"\\xa0 \\xa0 In-Store Sales \\xa0 \\xa0\",\n\t\t\t\t\tvalue: 30\n\t\t\t\t}, {\n\t\t\t\t\tlabel: \"\\xa0 \\xa0 Mail-Order Sales \\xa0 \\xa0\",\n\t\t\t\t\tvalue: 20\n\t\t\t\t}],\n\t\t\t\tresize: true,\n\t\t\t\tredraw: true,\n\t\t\t\tcolors: ['#2258BF', 'rgb(255, 92, 0)', '#709fba'],\n\t\t\t\t//responsive:true,\n\t\t\t\t\n\t\t\t});\n\t\t}\n\t\t\n\t\tvar lineChart = function(){\n\t\t\t//line chart\n\t\t\tlet line = new Morris.Line({\n\t\t\t\telement: 'morris_line',\n\t\t\t\tresize: true,\n\t\t\t\tdata: [{\n\t\t\t\t\t\ty: '2011 Q1',\n\t\t\t\t\t\titem1: 2666\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ty: '2011 Q2',\n\t\t\t\t\t\titem1: 2778\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ty: '2011 Q3',\n\t\t\t\t\t\titem1: 4912\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ty: '2011 Q4',\n\t\t\t\t\t\titem1: 3767\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ty: '2012 Q1',\n\t\t\t\t\t\titem1: 6810\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ty: '2012 Q2',\n\t\t\t\t\t\titem1: 5670\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ty: '2012 Q3',\n\t\t\t\t\t\titem1: 4820\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ty: '2012 Q4',\n\t\t\t\t\t\titem1: 15073\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ty: '2013 Q1',\n\t\t\t\t\t\titem1: 10687\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ty: '2013 Q2',\n\t\t\t\t\t\titem1: 8432\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\txkey: 'y',\n\t\t\t\tykeys: ['item1'],\n\t\t\t\tlabels: ['Item 1'],\n\t\t\t\tgridLineColor: 'transparent',\n\t\t\t\tlineColors: ['rgb(238, 60, 60)'], //here\n\t\t\t\tlineWidth: 1,\n\t\t\t\thideHover: 'auto',\n\t\t\t\tpointSize: 0,\n\t\t\t\taxes: false\n\t\t\t});\t\n\t\t}\n\t\t\n\t\tvar lineChart2 = function(){\n\t\t\t//Area chart\n\t\t\tMorris.Area({\n\t\t\t\telement: 'line_chart_2',\n\t\t\t\tdata: [{\n\t\t\t\t\t\tperiod: '2001',\n\t\t\t\t\t\tsmartphone: 0,\n\t\t\t\t\t\twindows: 0,\n\t\t\t\t\t\tmac: 0\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2002',\n\t\t\t\t\t\tsmartphone: 90,\n\t\t\t\t\t\twindows: 60,\n\t\t\t\t\t\tmac: 25\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2003',\n\t\t\t\t\t\tsmartphone: 40,\n\t\t\t\t\t\twindows: 80,\n\t\t\t\t\t\tmac: 35\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2004',\n\t\t\t\t\t\tsmartphone: 30,\n\t\t\t\t\t\twindows: 47,\n\t\t\t\t\t\tmac: 17\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2005',\n\t\t\t\t\t\tsmartphone: 150,\n\t\t\t\t\t\twindows: 40,\n\t\t\t\t\t\tmac: 120\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2006',\n\t\t\t\t\t\tsmartphone: 25,\n\t\t\t\t\t\twindows: 80,\n\t\t\t\t\t\tmac: 40\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2007',\n\t\t\t\t\t\tsmartphone: 10,\n\t\t\t\t\t\twindows: 10,\n\t\t\t\t\t\tmac: 10\n\t\t\t\t\t}\n\n\n\t\t\t\t],\n\t\t\t\txkey: 'period',\n\t\t\t\tykeys: ['smartphone', 'windows', 'mac'],\n\t\t\t\tlabels: ['Phone', 'Windows', 'Mac'],\n\t\t\t\tpointSize: 3,\n\t\t\t\tfillOpacity: 0,\n\t\t\t\tpointStrokeColors: ['#EE3C3C', '#709fba', '#2258BF'],\n\t\t\t\tbehaveLikeLine: true,\n\t\t\t\tgridLineColor: 'transparent',\n\t\t\t\tlineWidth: 3,\n\t\t\t\thideHover: 'auto',\n\t\t\t\tlineColors: ['rgb(238, 60, 60)', 'rgb(0, 171, 197)', '#2258BF'],\n\t\t\t\tresize: true\n\n\t\t\t});\n\t\t}\n\t\t\n\t\tvar barChart = function(){\n\t\t\tif(jQuery('#morris_bar').length > 0)\n\t\t\t{\n\t\t\t//bar chart\n\t\t\t\tMorris.Bar({\n\t\t\t\t\telement: 'morris_bar',\n\t\t\t\t\tdata: [{\n\t\t\t\t\t\ty: '2006',\n\t\t\t\t\t\ta: 100,\n\t\t\t\t\t\tb: 90,\n\t\t\t\t\t\tc: 60\n\t\t\t\t\t}, {\n\t\t\t\t\t\ty: '2007',\n\t\t\t\t\t\ta: 75,\n\t\t\t\t\t\tb: 65,\n\t\t\t\t\t\tc: 40\n\t\t\t\t\t}, {\n\t\t\t\t\t\ty: '2008',\n\t\t\t\t\t\ta: 50,\n\t\t\t\t\t\tb: 40,\n\t\t\t\t\t\tc: 30\n\t\t\t\t\t}, {\n\t\t\t\t\t\ty: '2009',\n\t\t\t\t\t\ta: 75,\n\t\t\t\t\t\tb: 65,\n\t\t\t\t\t\tc: 40\n\t\t\t\t\t}, {\n\t\t\t\t\t\ty: '2010',\n\t\t\t\t\t\ta: 50,\n\t\t\t\t\t\tb: 40,\n\t\t\t\t\t\tc: 30\n\t\t\t\t\t}, {\n\t\t\t\t\t\ty: '2011',\n\t\t\t\t\t\ta: 75,\n\t\t\t\t\t\tb: 65,\n\t\t\t\t\t\tc: 40\n\t\t\t\t\t}, {\n\t\t\t\t\t\ty: '2012',\n\t\t\t\t\t\ta: 100,\n\t\t\t\t\t\tb: 90,\n\t\t\t\t\t\tc: 40\n\t\t\t\t\t}],\n\t\t\t\t\txkey: 'y',\n\t\t\t\t\tykeys: ['a', 'b', 'c'],\n\t\t\t\t\tlabels: ['A', 'B', 'C'],\n\t\t\t\t\tbarColors: ['#2258BF', '#709fba', '#ff9f00'],\n\t\t\t\t\thideHover: 'auto',\n\t\t\t\t\tgridLineColor: 'transparent',\n\t\t\t\t\tresize: true,\n\t\t\t\t\tbarSizeRatio: 0.25,\n\t\t\t\t});\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tvar barStalkChart = function(){\n\t\t\t//bar chart\n\t\t\tMorris.Bar({\n\t\t\t\telement: 'morris_bar_stalked',\n\t\t\t\tdata: [{\n\t\t\t\t\ty: 'S',\n\t\t\t\t\ta: 66, \n\t\t\t\t\tb: 34\n\t\t\t\t}, {\n\t\t\t\t\ty: 'M',\n\t\t\t\t\ta: 75, \n\t\t\t\t\tb: 25\n\t\t\t\t}, {\n\t\t\t\t\ty: 'T',\n\t\t\t\t\ta: 50, \n\t\t\t\t\tb: 50\n\t\t\t\t}, {\n\t\t\t\t\ty: 'W',\n\t\t\t\t\ta: 75, \n\t\t\t\t\tb: 25\n\t\t\t\t}, {\n\t\t\t\t\ty: 'T',\n\t\t\t\t\ta: 50, \n\t\t\t\t\tb: 50\n\t\t\t\t}, {\n\t\t\t\t\ty: 'F',\n\t\t\t\t\ta: 16, \n\t\t\t\t\tb: 84\n\t\t\t\t}, {\n\t\t\t\t\ty: 'S',\n\t\t\t\t\ta: 70, \n\t\t\t\t\tb: 30\n\t\t\t\t}, {\n\t\t\t\t\ty: 'S',\n\t\t\t\t\ta: 30, \n\t\t\t\t\tb: 70\n\t\t\t\t}, {\n\t\t\t\t\ty: 'M',\n\t\t\t\t\ta: 40, \n\t\t\t\t\tb: 60\n\t\t\t\t}, {\n\t\t\t\t\ty: 'T',\n\t\t\t\t\ta: 29, \n\t\t\t\t\tb: 71\n\t\t\t\t}, {\n\t\t\t\t\ty: 'W',\n\t\t\t\t\ta: 44, \n\t\t\t\t\tb: 56\n\t\t\t\t}, {\n\t\t\t\t\ty: 'T',\n\t\t\t\t\ta: 30, \n\t\t\t\t\tb: 70\n\t\t\t\t}, {\n\t\t\t\t\ty: 'F',\n\t\t\t\t\ta: 60, \n\t\t\t\t\tb: 40\n\t\t\t\t}, {\n\t\t\t\t\ty: 'G',\n\t\t\t\t\ta: 40, \n\t\t\t\t\tb: 60\n\t\t\t\t}, {\n\t\t\t\t\ty: 'S',\n\t\t\t\t\ta: 46, \n\t\t\t\t\tb: 54\n\t\t\t\t}],\n\t\t\t\txkey: 'y',\n\t\t\t\tykeys: ['a', 'b'],\n\t\t\t\tlabels: ['A', 'B'],\n\t\t\t\tbarColors: ['#2258BF', \"#F1F3F7\"],\n\t\t\t\thideHover: 'auto',\n\t\t\t\tgridLineColor: 'transparent',\n\t\t\t\tresize: true,\n\t\t\t\tbarSizeRatio: 0.25,\n\t\t\t\tstacked: true, \n\t\t\t\tbehaveLikeLine: true,\n\t\t\t\t//redraw: true\n\t\t\t\t\n\t\t\t\t// barRadius: [6, 6, 0, 0]\n\t\t\t});\n\t\t\n\t\t}\n\t\t\n\t\tvar areaChart = function(){\n\t\t\t//area chart\n\t\t\tMorris.Area({\n\t\t\t\telement: 'morris_area',\n\t\t\t\tdata: [{\n\t\t\t\t\t\tperiod: '2001',\n\t\t\t\t\t\tsmartphone: 0,\n\t\t\t\t\t\twindows: 0,\n\t\t\t\t\t\tmac: 0\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2002',\n\t\t\t\t\t\tsmartphone: 90,\n\t\t\t\t\t\twindows: 60,\n\t\t\t\t\t\tmac: 25\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2003',\n\t\t\t\t\t\tsmartphone: 40,\n\t\t\t\t\t\twindows: 80,\n\t\t\t\t\t\tmac: 35\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2004',\n\t\t\t\t\t\tsmartphone: 30,\n\t\t\t\t\t\twindows: 47,\n\t\t\t\t\t\tmac: 17\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2005',\n\t\t\t\t\t\tsmartphone: 150,\n\t\t\t\t\t\twindows: 40,\n\t\t\t\t\t\tmac: 120\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2006',\n\t\t\t\t\t\tsmartphone: 25,\n\t\t\t\t\t\twindows: 80,\n\t\t\t\t\t\tmac: 40\n\t\t\t\t\t}, {\n\t\t\t\t\t\tperiod: '2007',\n\t\t\t\t\t\tsmartphone: 10,\n\t\t\t\t\t\twindows: 10,\n\t\t\t\t\t\tmac: 10\n\t\t\t\t\t}\n\n\n\t\t\t\t],\n\t\t\t\tlineColors: ['#2258BF', 'rgb(16, 202, 147)', 'rgb(255, 92, 0)'],\n\t\t\t\txkey: 'period',\n\t\t\t\tykeys: ['smartphone', 'windows', 'mac'],\n\t\t\t\tlabels: ['Phone', 'Windows', 'Mac'],\n\t\t\t\tpointSize: 0,\n\t\t\t\tlineWidth: 0,\n\t\t\t\tresize: true,\n\t\t\t\tfillOpacity: 0.95,\n\t\t\t\tbehaveLikeLine: true,\n\t\t\t\tgridLineColor: 'transparent',\n\t\t\t\thideHover: 'auto'\n\n\t\t\t});\n\t\t}\n\t\t\n\t\tvar areaChart2 = function(){\n\t\t\tif(jQuery('#morris_area_2').length > 0)\n\t\t\t{\n\t\t\t//area chart\n\t\t\t\tMorris.Area({\n\t\t\t\t\telement: 'morris_area_2',\n\t\t\t\t\tdata: [{\n\t\t\t\t\t\t\tperiod: '2010',\n\t\t\t\t\t\t\tSiteA: 0,\n\t\t\t\t\t\t\tSiteB: 0,\n\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tperiod: '2011',\n\t\t\t\t\t\t\tSiteA: 130,\n\t\t\t\t\t\t\tSiteB: 100,\n\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tperiod: '2012',\n\t\t\t\t\t\t\tSiteA: 80,\n\t\t\t\t\t\t\tSiteB: 60,\n\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tperiod: '2013',\n\t\t\t\t\t\t\tSiteA: 70,\n\t\t\t\t\t\t\tSiteB: 200,\n\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tperiod: '2014',\n\t\t\t\t\t\t\tSiteA: 180,\n\t\t\t\t\t\t\tSiteB: 150,\n\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tperiod: '2015',\n\t\t\t\t\t\t\tSiteA: 105,\n\t\t\t\t\t\t\tSiteB: 90,\n\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tperiod: '2016',\n\t\t\t\t\t\t\tSiteA: 250,\n\t\t\t\t\t\t\tSiteB: 150,\n\n\t\t\t\t\t\t}\n\t\t\t\t\t],\n\t\t\t\t\txkey: 'period',\n\t\t\t\t\tykeys: ['SiteA', 'SiteB'],\n\t\t\t\t\tlabels: ['Site A', 'Site B'],\n\t\t\t\t\tpointSize: 0,\n\t\t\t\t\tfillOpacity: 0.6,\n\t\t\t\t\tpointStrokeColors: ['#b4becb', '#00A2FF'], //here\n\t\t\t\t\tbehaveLikeLine: true,\n\t\t\t\t\tgridLineColor: 'transparent',\n\t\t\t\t\tlineWidth: 0,\n\t\t\t\t\tsmooth: false,\n\t\t\t\t\thideHover: 'auto',\n\t\t\t\t\tlineColors: ['rgb(0, 171, 197)', 'rgb(0, 0, 128)'],\n\t\t\t\t\tresize: true\n\n\t\t\t\t});\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t/* Function ============ */\n\t\treturn {\n\t\t\tinit:function(){\n\t\t\t\tsetChartWidth();\n\t\t\t\tdonutChart();\n\t\t\t\tlineChart();\n\t\t\t\tlineChart2();\n\t\t\t\tbarChart();\n\t\t\t\tbarStalkChart();\n\t\t\t\tareaChart();\n\t\t\t\tareaChart2();\n\t\t\t},\n\t\t\t\n\t\t\t\n\t\t\tresize:function(){\n\t\t\t\tscreenWidth = $(window).width();\n\t\t\t\tsetChartWidth();\n\t\t\t\tdonutChart();\n\t\t\t\tlineChart();\n\t\t\t\tlineChart2();\n\t\t\t\tbarChart();\n\t\t\t\tbarStalkChart();\n\t\t\t\tareaChart();\n\t\t\t\tareaChart2();\n\t\t\t}\n\t\t}\n\t\t\n\t}();\n\n\tjQuery(document).ready(function(){\n\t\tdzMorris.init();\n\t\t//dzMorris.resize();\n\t\n\t});\n\t\t\n\tjQuery(window).on('load',function(){\n\t\t//dzMorris.init();\n\t});\n\t\t\n\tjQuery( window ).resize(function() {\n\t\t//dzMorris.resize();\n\t\t//dzMorris.init();\n\t});\n   \n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/nestable-init.js",
    "content": "(function ($) {\n    \"use strict\"\n\n\n/*******************\nNestable\n*******************/\n\n    var e = function (e) {\n        var t = e.length ? e : $(e.target),\n            a = t.data(\"output\");\n        window.JSON ? a.val(window.JSON.stringify(t.nestable(\"serialize\"))) : a.val(\"JSON browser support required for this demo.\")\n    };\n    $(\"#nestable\").nestable({\n            group: 1\n        }).on(\"change\", e),\n        $(\"#nestable2\").nestable({\n            group: 1\n        }).on(\"change\", e), e($(\"#nestable\").data(\"output\", $(\"#nestable-output\"))), e($(\"#nestable2\").data(\"output\", $(\"#nestable2-output\"))), $(\"#nestable-menu\").on(\"click\", function (e) {\n            var t = $(e.target).data(\"action\");\n            \"expand-all\" === t && $(\".dd\").nestable(\"expandAll\"), \"collapse-all\" === t && $(\".dd\").nestable(\"collapseAll\")\n        }), $(\"#nestable3\").nestable();\n\n\n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/nouislider-init.js",
    "content": "(function($) {\n    \"use strict\"\n\n    //basic slider\n    let basicSlide = document.getElementById('basic-slider');\n    noUiSlider.create(basicSlide, {\n        start: [20, 80],\n        connect: true,\n        range: {\n            'min': 0,\n            'max': 100\n        }\n    });\n    //basic slider ^\n\n\n    //keyboard slider \n    let keyboardslider = document.getElementById('keyboardslider');\n    noUiSlider.create(keyboardslider, {\n        start: 10,\n        step: 10,\n        range: {\n            'min': 0,\n            'max': 100\n        }\n    });\n\n    var handle = keyboardslider.querySelector('.noUi-handle');\n    handle.addEventListener('keydown', function (e) {\n\n        var value = Number(keyboardslider.noUiSlider.get());\n\n        if (e.which === 37) {\n            keyboardslider.noUiSlider.set(value - 10);\n        }\n\n        console.log(e)\n        console.log(e.which)\n\n        if (e.which === 39) {\n            keyboardslider.noUiSlider.set(value + 10);\n        }\n    });\n    //keyboard slider ^\n\n\n    //working with date\n    // Create a new date from a string, return as a timestamp.\n    function timestamp(str) {\n        return new Date(str).getTime();\n    }\n\n    var dateSlider = document.getElementById('slider-date');\n\n    noUiSlider.create(dateSlider, {\n    // Create two timestamps to define a range.\n        range: {\n            min: timestamp('2010'),\n            max: timestamp('2016')\n        },\n\n    // Steps of one week\n        step: 7 * 24 * 60 * 60 * 1000,\n\n    // Two more timestamps indicate the handle starting positions.\n        start: [timestamp('2011'), timestamp('2015')],\n\n    // No decimals\n        format: wNumb({\n            decimals: 0\n        })\n    });\n\n    var dateValues = [\n        document.getElementById('event-start'),\n        document.getElementById('event-end')\n    ];\n\n    // Create a list of day and month names.\n    var weekdays = [\n        \"Sunday\", \"Monday\", \"Tuesday\",\n        \"Wednesday\", \"Thursday\", \"Friday\",\n        \"Saturday\"\n    ];\n\n    var months = [\n        \"January\", \"February\", \"March\",\n        \"April\", \"May\", \"June\", \"July\",\n        \"August\", \"September\", \"October\",\n        \"November\", \"December\"\n    ];\n\n    \n    \n    dateSlider.noUiSlider.on('update', function (values, handle) {\n        dateValues[handle].innerHTML = formatDate(new Date(+values[handle]));\n    });\n\n    // Append a suffix to dates.\n    // Example: 23 => 23rd, 1 => 1st.\n    function nth(d) {\n        if (d > 3 && d < 21) return 'th';\n        switch (d % 10) {\n            case 1:\n                return \"st\";\n            case 2:\n                return \"nd\";\n            case 3:\n                return \"rd\";\n            default:\n                return \"th\";\n        }\n    }\n\n    // Create a string representation of the date.\n    function formatDate(date) {\n        return weekdays[date.getDay()] + \", \" +\n            date.getDate() + nth(date.getDate()) + \" \" +\n            months[date.getMonth()] + \" \" +\n            date.getFullYear();\n    }\n    //working with date ^\n\n\n    //html5 input element\n    var select = document.getElementById('input-select');\n    // Append the option elements\n    for (var i = -20; i <= 40; i++) {\n\n        var option = document.createElement(\"option\");\n        option.text = i;\n        option.value = i;\n\n        select.appendChild(option);\n    }\n\n    var html5Slider = document.getElementById('html5');\n    noUiSlider.create(html5Slider, {\n        start: [10, 30],\n        connect: true,\n        range: {\n            'min': -20,\n            'max': 40\n        }\n    });\n\n    var inputNumber = document.getElementById('input-number');\n    html5Slider.noUiSlider.on('update', function (values, handle) {\n\n        var value = values[handle];\n\n        if (handle) {\n            inputNumber.value = value;\n        } else {\n            select.value = Math.round(value);\n        }\n    });\n\n    select.addEventListener('change', function () {\n        html5Slider.noUiSlider.set([this.value, null]);\n    });\n\n    inputNumber.addEventListener('change', function () {\n        html5Slider.noUiSlider.set([null, this.value]);\n    });\n    //html5 input element ^\n\n\n    //non-linear slider\n    var nonLinearSlider = document.getElementById('nonlinear');\n    noUiSlider.create(nonLinearSlider, {\n        connect: true,\n        behaviour: 'tap',\n        start: [500, 4000],\n        range: {\n            // Starting at 500, step the value by 500,\n            // until 4000 is reached. From there, step by 1000.\n            'min': [0],\n            '10%': [500, 500],\n            '50%': [4000, 1000],\n            'max': [10000]\n        }\n    });\n\n    var nodes = [\n        document.getElementById('lower-value'), // 0\n        document.getElementById('upper-value')  // 1\n    ];\n    \n    // Display the slider value and how far the handle moved\n    // from the left edge of the slider.\n    nonLinearSlider.noUiSlider.on('update', function (values, handle, unencoded, isTap, positions) {\n        nodes[handle].innerHTML = values[handle] + ', ' + positions[handle].toFixed(2) + '%';\n    });\n    //non-linear slider ^\n\n\n    //locking sliders together\n    var lockedState = false;\n    var lockedSlider = false;\n    var lockedValues = [60, 80];\n\n    var slider1 = document.getElementById('slider1');\n    var slider2 = document.getElementById('slider2');\n\n    var lockButton = document.getElementById('lockbutton');\n    var slider1Value = document.getElementById('slider1-span');\n    var slider2Value = document.getElementById('slider2-span');\n\n    // When the button is clicked, the locked state is inverted.\n    lockButton.addEventListener('click', function () {\n        lockedState = !lockedState;\n        this.textContent = lockedState ? 'unlock' : 'lock';\n    });\n\n    function crossUpdate(value, slider) {\n\n        // If the sliders aren't interlocked, don't\n        // cross-update.\n        if (!lockedState) return;\n    \n        // Select whether to increase or decrease\n        // the other slider value.\n        var a = slider1 === slider ? 0 : 1;\n    \n        // Invert a\n        var b = a ? 0 : 1;\n    \n        // Offset the slider value.\n        value -= lockedValues[b] - lockedValues[a];\n    \n        // Set the value\n        slider.noUiSlider.set(value);\n    }\n\n    noUiSlider.create(slider1, {\n        start: 60,\n    \n        // Disable animation on value-setting,\n        // so the sliders respond immediately.\n        animate: false,\n        range: {\n            min: 50,\n            max: 100\n        }\n    });\n    \n    noUiSlider.create(slider2, {\n        start: 80,\n        animate: false,\n        range: {\n            min: 50,\n            max: 100\n        }\n    });\n    \n    slider1.noUiSlider.on('update', function (values, handle) {\n        slider1Value.innerHTML = values[handle];\n    });\n    \n    slider2.noUiSlider.on('update', function (values, handle) {\n        slider2Value.innerHTML = values[handle];\n    });\n\n    function setLockedValues() {\n        lockedValues = [\n            Number(slider1.noUiSlider.get()),\n            Number(slider2.noUiSlider.get())\n        ];\n    }\n    \n    slider1.noUiSlider.on('change', setLockedValues);\n    slider2.noUiSlider.on('change', setLockedValues);\n    \n    slider1.noUiSlider.on('slide', function (values, handle) {\n        crossUpdate(values[handle], slider2);\n    });\n    \n    slider2.noUiSlider.on('slide', function (values, handle) {\n        crossUpdate(values[handle], slider1);\n    });\n    //locking sliders together ^\n\n\n    //Moving the slider by clicking pips\n    var pipsSlider = document.getElementById('slider-pips');\n    noUiSlider.create(pipsSlider, {\n        range: {\n            min: 0,\n            max: 100\n        },\n        start: [50],\n        pips: {mode: 'count', values: 5}\n    });\n\n    var pips = pipsSlider.querySelectorAll('.noUi-value');\n    function clickOnPip() {\n        var value = Number(this.getAttribute('data-value'));\n        pipsSlider.noUiSlider.set(value);\n    }\n\n    for (var i = 0; i < pips.length; i++) {\n\n        // For this example. Do this in CSS!\n        pips[i].style.cursor = 'pointer';\n        pips[i].addEventListener('click', clickOnPip);\n    }\n    //Moving the slider by clicking pips ^\n\n\n    //Colored Connect Elements\n    var slider = document.getElementById('slider-color');\n    noUiSlider.create(slider, {\n        start: [4000, 8000, 12000, 16000],\n        connect: [false, true, true, true, true],\n        range: {\n            'min': [2000],\n            'max': [20000]\n        }\n    });\n\n    var connect = slider.querySelectorAll('.noUi-connect');\n    var classes = ['c-1-color', 'c-2-color', 'c-3-color', 'c-4-color', 'c-5-color'];\n\n    for (var i = 0; i < connect.length; i++) {\n        connect[i].classList.add(classes[i]);\n    }\n    //Colored Connect Elements ^\n\n\n    //keypress slider\n    var keypressSlider = document.getElementById('keypress');\n    var input0 = document.getElementById('input-with-keypress-0');\n    var input1 = document.getElementById('input-with-keypress-1');\n    var inputs = [input0, input1];\n\n    noUiSlider.create(keypressSlider, {\n        start: [20, 80],\n        connect: true,\n        tooltips: [true, wNumb({decimals: 1})],\n        range: {\n            'min': [0],\n            '10%': [10, 10],\n            '50%': [80, 50],\n            '80%': 150,\n            'max': 200\n        }\n    });\n\n    keypressSlider.noUiSlider.on('update', function (values, handle) {\n        inputs[handle].value = values[handle];\n    });\n\n    // Listen to keydown events on the input field.\n    inputs.forEach(function (input, handle) {\n\n        input.addEventListener('change', function () {\n            keypressSlider.noUiSlider.setHandle(handle, this.value);\n        });\n\n        input.addEventListener('keydown', function (e) {\n\n            var values = keypressSlider.noUiSlider.get();\n            var value = Number(values[handle]);\n\n            // [[handle0_down, handle0_up], [handle1_down, handle1_up]]\n            var steps = keypressSlider.noUiSlider.steps();\n\n            // [down, up]\n            var step = steps[handle];\n\n            var position;\n\n            // 13 is enter,\n            // 38 is key up,\n            // 40 is key down.\n            switch (e.which) {\n\n                case 13:\n                    keypressSlider.noUiSlider.setHandle(handle, this.value);\n                    break;\n\n                case 38:\n\n                    // Get step to go increase slider value (up)\n                    position = step[1];\n\n                    // false = no step is set\n                    if (position === false) {\n                        position = 1;\n                    }\n\n                    // null = edge of slider\n                    if (position !== null) {\n                        keypressSlider.noUiSlider.setHandle(handle, value + position);\n                    }\n\n                    break;\n\n                case 40:\n\n                    position = step[0];\n\n                    if (position === false) {\n                        position = 1;\n                    }\n\n                    if (position !== null) {\n                        keypressSlider.noUiSlider.setHandle(handle, value - position);\n                    }\n\n                    break;\n            }\n        });\n    });\n    //keypress slider ^\n\n\n    //skipstep slider\n    var skipSlider = document.getElementById('skipstep');\n    noUiSlider.create(skipSlider, {\n        range: {\n            'min': 0,\n            '10%': 10,\n            '20%': 20,\n            '30%': 30,\n            // Nope, 40 is no fun.\n            '50%': 50,\n            '60%': 60,\n            '70%': 70,\n            // I never liked 80.\n            '90%': 90,\n            'max': 100\n        },\n        snap: true,\n        start: [20, 90]\n    });\n\n    var skipValues = [\n        document.getElementById('skip-value-lower'),\n        document.getElementById('skip-value-upper')\n    ];\n    \n    skipSlider.noUiSlider.on('update', function (values, handle) {\n        skipValues[handle].innerHTML = values[handle];\n    });\n    //skipstep slider ^\n\n\n    //Using the slider with huge numbers\n    var bigValueSlider = document.getElementById('slider-huge');\n    var bigValueSpan = document.getElementById('huge-value');\n\n    noUiSlider.create(bigValueSlider, {\n        start: 0,\n        step: 1,\n        format: wNumb({\n            decimals: 0\n        }),\n        range: {\n            min: 0,\n            max: 13\n        }\n    });\n\n    // Note how these are 'string' values, not numbers.\n    var range = [\n        '0', '2097152', '4194304',\n        '8388608', '16777216', '33554432',\n        '67108864', '134217728', '268435456',\n        '536870912', '1073741824',\n        '2147483648', '4294967296',\n        '8589934592'\n    ];\n\n    bigValueSlider.noUiSlider.on('update', function (values, handle) {\n        bigValueSpan.innerHTML = range[values[handle]];\n    });\n    //Using the slider with huge numbers ^\n\n\n    //creating a toggle\n    var toggleSlider = document.getElementById('slider-toggle');\n    noUiSlider.create(toggleSlider, {\n        orientation: \"vertical\",\n        start: 0,\n        range: {\n            'min': [0, 1],\n            'max': 1\n        },\n        format: wNumb({\n            decimals: 0\n        })\n    });\n\n    toggleSlider.noUiSlider.on('update', function (values, handle) {\n        if (values[handle] === '1') {\n            toggleSlider.classList.add('off');\n        } else {\n            toggleSlider.classList.remove('off');\n        }\n    });\n    //creating a toggle ^\n\n\n    //soft limits\n    var softSlider = document.getElementById('soft');\n    noUiSlider.create(softSlider, {\n        start: 50,\n        range: {\n            min: 0,\n            max: 100\n        },\n        pips: {\n            mode: 'values',\n            values: [20, 80],\n            density: 4\n        }\n    });\n\n    softSlider.noUiSlider.on('change', function (values, handle) {\n        if (values[handle] < 20) {\n            softSlider.noUiSlider.set(20);\n        } else if (values[handle] > 80) {\n            softSlider.noUiSlider.set(80);\n        }\n    });\n    //soft limits ^\n\n\n    //color picker\n    var resultElement = document.getElementById('result');\n    var sliders = document.getElementsByClassName('sliders');\n    var colors = [0, 0, 0];\n\n    [].slice.call(sliders).forEach(function (slider, index) {\n\n        noUiSlider.create(slider, {\n            start: 127,\n            connect: [true, false],\n            orientation: \"vertical\",\n            range: {\n                'min': 0,\n                'max': 255\n            },\n            format: wNumb({\n                decimals: 0\n            })\n        });\n\n        // Bind the color changing function to the update event.\n        slider.noUiSlider.on('update', function () {\n\n            colors[index] = slider.noUiSlider.get();\n\n            var color = 'rgb(' + colors.join(',') + ')';\n\n            resultElement.style.background = color;\n            resultElement.style.color = color;\n        });\n    });\n    //color picker ^\n\n\n    //stepping and snapping the values\n    var stepSlider = document.getElementById('slider-step');\n    noUiSlider.create(stepSlider, {\n        start: [4000],\n        step: 1000,\n        range: {\n            'min': [2000],\n            'max': [10000]\n        }\n    });\n\n    var stepSliderValueElement = document.getElementById('slider-step-value');\n    stepSlider.noUiSlider.on('update', function (values, handle) {\n        stepSliderValueElement.innerHTML = values[handle];\n    });\n    //stepping and snapping the values ^\n\n\n    //Stepping in non-linear sliders\n    var nonLinearStepSlider = document.getElementById('slider-non-linear-step');\n    noUiSlider.create(nonLinearStepSlider, {\n        start: [500, 4000],\n        range: {\n            'min': [0],\n            '10%': [500, 500],\n            '50%': [4000, 1000],\n            'max': [10000]\n        }\n    });\n\n    var nonLinearStepSliderValueElement = document.getElementById('slider-non-linear-step-value');\n    nonLinearStepSlider.noUiSlider.on('update', function (values, handle) {\n        nonLinearStepSliderValueElement.innerHTML = values[handle];\n    });\n    //Stepping in non-linear sliders ^\n\n\n    //Snapping between steps\n    var snapSlider = document.getElementById('slider-snap');\n    noUiSlider.create(snapSlider, {\n        start: [0, 500],\n        snap: true,\n        connect: true,\n        range: {\n            'min': 0,\n            '10%': 50,\n            '20%': 100,\n            '30%': 150,\n            '40%': 500,\n            '50%': 800,\n            'max': 1000\n        }\n    });\n\n    var snapValues = [\n        document.getElementById('slider-snap-value-lower'),\n        document.getElementById('slider-snap-value-upper')\n    ];\n    \n    snapSlider.noUiSlider.on('update', function (values, handle) {\n        snapValues[handle].innerHTML = values[handle];\n    });\n    //Snapping between steps ^\n\n\n    //get and set slider values\n    var slider = document.getElementById('slider');\n    noUiSlider.create(slider, {\n        start: [80],\n        range: {\n            'min': [0],\n            'max': [100]\n        }\n    });\n\n    // Set the slider value to 20\n    document.getElementById('write-button').addEventListener('click', function () {\n        slider.noUiSlider.set(20);\n    });\n\n    // Read the slider value.\n    document.getElementById('read-button').addEventListener('click', function () {\n        alert(slider.noUiSlider.get());\n    });\n    //get and set slider values ^\n\n\n    //Number formatting\n    var sliderFormat = document.getElementById('slider-format');\n    noUiSlider.create(sliderFormat, {\n        start: [20000],\n        step: 1000,\n        range: {\n            'min': [20000],\n            'max': [80000]\n        },\n        ariaFormat: wNumb({\n            decimals: 3\n        }),\n        format: wNumb({\n            decimals: 3,\n            thousand: '.',\n            suffix: ' (US $)'\n        })\n    });\n\n    var inputFormat = document.getElementById('input-format');\n    sliderFormat.noUiSlider.on('update', function (values, handle) {\n        inputFormat.value = values[handle];\n    });\n\n    inputFormat.addEventListener('change', function () {\n        sliderFormat.noUiSlider.set(this.value);\n    });\n    //Number formatting ^\n\n\n    //slider margin\n    var marginSlider = document.getElementById('slider-margin');\n    noUiSlider.create(marginSlider, {\n        start: [20, 80],\n        margin: 30,\n        range: {\n            'min': 0,\n            'max': 100\n        }\n    });\n\n    var marginMin = document.getElementById('slider-margin-value-min'),\n    marginMax = document.getElementById('slider-margin-value-max');\n    marginSlider.noUiSlider.on('update', function (values, handle) {\n        if (handle) {\n            marginMax.innerHTML = values[handle];\n        } else {\n            marginMin.innerHTML = values[handle];\n        }\n    });\n    //slider margin ^\n\n\n    //slider limit\n    var limitSlider = document.getElementById('slider-limit');\n    noUiSlider.create(limitSlider, {\n        start: [10, 120],\n        limit: 40,\n        behaviour: 'drag',\n        connect: true,\n        range: {\n            'min': 0,\n            'max': 100\n        }\n    });\n\n    var limitFieldMin = document.getElementById('slider-limit-value-min');\n    var limitFieldMax = document.getElementById('slider-limit-value-max');\n\n    limitSlider.noUiSlider.on('update', function (values, handle) {\n        (handle ? limitFieldMax : limitFieldMin).innerHTML = values[handle];\n    });\n    //slider limit ^\n\n\n    //slider padding\n    var paddingSlider = document.getElementById('slider-padding');\n    noUiSlider.create(paddingSlider, {\n        start: [20, 80],\n        padding: [10, 15], // Or just 10\n        range: {\n            'min': 0,\n            'max': 100\n        }\n    });\n\n    var paddingMin = document.getElementById('slider-padding-value-min');\n    var paddingMax = document.getElementById('slider-padding-value-max');\n    paddingSlider.noUiSlider.on('update', function (values, handle) {\n        if (handle) {\n            paddingMax.innerHTML = values[handle];\n        } else {\n            paddingMin.innerHTML = values[handle];\n        }\n    });\n    //slider padding ^\n\n\n    //slider orientation\n    var verticalSlider = document.getElementById('slider-vertical');\n    noUiSlider.create(verticalSlider, {\n        start: 40,\n        orientation: 'vertical',\n        range: {\n            'min': 0,\n            'max': 100\n        }\n    });\n    //slider orientation ^\n\n\n    //slider direction\n    var directionSlider = document.getElementById('slider-direction');\n    noUiSlider.create(directionSlider, {\n        start: 20,\n        direction: 'rtl',\n        range: {\n            'min': 0,\n            'max': 100\n        }\n    });\n\n    var directionField = document.getElementById('field');\n    directionSlider.noUiSlider.on('update', function (values, handle) {\n        directionField.innerHTML = values[handle];\n    });\n    //slider direction ^\n\n\n    //slider tooltips\n    var tooltipSlider = document.getElementById('slider-tooltips');\n    noUiSlider.create(tooltipSlider, {\n        start: [20, 80, 120],\n        tooltips: [false, wNumb({decimals: 1}), true],\n        range: {\n            'min': 0,\n            'max': 200\n        }\n    });\n    //slider tooltips ^\n\n\n    //slider behaviour drag\n    var behaviourSlider = document.getElementById('behaviour');\n    noUiSlider.create(behaviourSlider, {\n        start: [20, 40],\n        step: 10,\n        behaviour: 'drag',\n        connect: true,\n        range: {\n            'min': 20,\n            'max': 80\n        }\n    });\n    //slider behaviour drag ^\n\n\n    //slider behaviour tap\n    var tapSlider = document.getElementById('tap');\n    noUiSlider.create(tapSlider, {\n        start: 40,\n        behaviour: 'tap',\n        connect: [false, true],\n        range: {\n            'min': 20,\n            'max': 80\n        }\n    });\n    //slider behaviour tap ^\n\n\n    //slider behaviour fixed dragging\n    var dragFixedSlider = document.getElementById('drag-fixed');\n\n    noUiSlider.create(dragFixedSlider, {\n        start: [40, 60],\n        behaviour: 'drag-fixed',\n        connect: true,\n        range: {\n            'min': 20,\n            'max': 80\n        }\n    });\n    //slider behaviour fixed dragging ^\n\n\n    //slider behaviour snap\n    var snapSlider2 = document.getElementById('snap');\n    noUiSlider.create(snapSlider2, {\n        start: 40,\n        behaviour: 'snap',\n        connect: [true, false],\n        range: {\n            'min': 20,\n            'max': 80\n        }\n    });\n    //slider behaviour snap ^\n\n\n    //slider behaviour hover\n    var hoverSlider = document.getElementById('hover');\n    var field = document.getElementById('hover-val');\n\n    noUiSlider.create(hoverSlider, {\n        start: 20,\n        behaviour: 'hover-snap',\n        direction: 'rtl',\n        range: {\n            'min': 0,\n            'max': 10\n        }\n    });\n\n    hoverSlider.noUiSlider.on('hover', function (value) {\n        field.innerHTML = value;\n    });\n    //slider behaviour hover ^\n\n\n    //slider behaviour unconstrained\n    var unconstrainedSlider = document.getElementById('unconstrained');\n    var unconstrainedValues = document.getElementById('unconstrained-values');\n\n    noUiSlider.create(unconstrainedSlider, {\n        start: [20, 50, 80],\n        behaviour: 'unconstrained-tap',\n        connect: true,\n        range: {\n            'min': 0,\n            'max': 100\n        }\n    });\n\n    unconstrainedSlider.noUiSlider.on('update', function (values) {\n        unconstrainedValues.innerHTML = values.join(' :: ');\n    });\n    //slider behaviour unconstrained ^\n\n\n    //slider behaviour combined \n    var dragTapSlider = document.getElementById('combined');\n    noUiSlider.create(dragTapSlider, {\n        start: [40, 60],\n        behaviour: 'drag-tap',\n        connect: true,\n        range: {\n            'min': 20,\n            'max': 80\n        }\n    });\n    //slider behaviour combined ^\n\n\n    //slider range left to right\n    var range_all_sliders = {\n        'min': [ 0 ],\n        '10%': [ 500, 500 ],\n        '50%': [ 4000, 1000 ],\n        'max': [ 10000 ]\n    };\n    var pipsRange = document.getElementById('pips-range');\n    noUiSlider.create(pipsRange, {\n        range: range_all_sliders,\n        start: 0,\n        pips: {\n            mode: 'range',\n            density: 3\n        }\n    });\n    //slider range left to right ^\n\n\n    //slider range right to left\n    var pipsRangeRtl = document.getElementById('pips-range-rtl');\n    noUiSlider.create(pipsRangeRtl, {\n        range: range_all_sliders,\n        start: 0,\n        direction: 'rtl',\n        pips: {\n            mode: 'range',\n            density: 3\n        }\n    });\n    //slider range right to left ^\n\n\n    //slider range vertical top to bottom\n    var pipsRangeVertical = document.getElementById('pips-range-vertical');\n    noUiSlider.create(pipsRangeVertical, {\n        range: range_all_sliders,\n        start: 0,\n        orientation: 'vertical',\n        pips: {\n            mode: 'range',\n            density: 3\n        }\n    });\n    //slider range vertical top to bottom ^\n\n\n    //slider range vertical bottom to top\n    var pipsRangeVerticalRtl = document.getElementById('pips-range-vertical-rtl');\n    noUiSlider.create(pipsRangeVerticalRtl, {\n        range: range_all_sliders,\n        start: 0,\n        orientation: 'vertical',\n        direction: 'rtl',\n        pips: {\n            mode: 'range',\n            density: 3\n        }\n    });\n    //slider range vertical bottom to top ^\n\n\n    \n\n\n    //pip position\n    var pipsPositions = document.getElementById('pips-positions');\n    noUiSlider.create(pipsPositions, {\n        range: range_all_sliders,\n        start: 0,\n        pips: {\n            mode: 'positions',\n            values: [0, 25, 50, 75, 100],\n            density: 4\n        }\n    });\n    //pip position ^\n\n\n    //pip position stepped\n    var positionsStepped = document.getElementById('pips-positions-stepped');\n    noUiSlider.create(positionsStepped, {\n        range: range_all_sliders,\n        start: 0,\n        pips: {\n            mode: 'positions',\n            values: [0, 25, 50, 75, 100],\n            density: 4,\n            stepped: true\n        }\n    });\n    //pip position stepped ^\n\n\n    //pips count\n    var pipsCount = document.getElementById('pips-count');\n    noUiSlider.create(pipsCount, {\n        range: range_all_sliders,\n        start: 0,\n        pips: {\n            mode: 'count',\n            values: 6,\n            density: 4\n        }\n    });\n    //pips count ^\n\n\n    //pips count stepped\n    var pipsCountStepped = document.getElementById('pips-count-stepped');\n    noUiSlider.create(pipsCountStepped, {\n        range: range_all_sliders,\n        start: 0,\n        pips: {\n            mode: 'count',\n            values: 6,\n            density: 4,\n            stepped: true\n        }\n    });\n    //pips count stepped ^\n\n\n    //pips values\n    var pipsValues = document.getElementById('pips-values');\n    noUiSlider.create(pipsValues, {\n        range: range_all_sliders,\n        start: 0,\n        pips: {\n            mode: 'values',\n            values: [50, 552, 2251, 3200, 5000, 7080, 9000],\n            density: 4\n        }\n    });\n    //pips values ^\n\n\n    //pips values stepped\n    var pipsValuesStepped = document.getElementById('pips-values-stepped');\n    noUiSlider.create(pipsValuesStepped, {\n        range: range_all_sliders,\n        start: 0,\n        pips: {\n            mode: 'values',\n            values: [50, 552, 4651, 4952, 5000, 7080, 9000],\n            density: 4,\n            stepped: true\n        }\n    });\n    //pips values stepped ^\n\n\n    //disable slider\n    var disSlider1 = document.getElementById('disable1');\n    var checkbox1 = document.getElementById('checkbox1');\n    function toggle(element) {\n\n        // If the checkbox is checked, disabled the slider.\n        // Otherwise, re-enable it.\n        if (this.checked) {\n            element.setAttribute('disabled', true);\n        } else {\n            element.removeAttribute('disabled');\n        }\n    }\n\n    noUiSlider.create(disSlider1, {\n        start: 80,\n        connect: [true, false],\n        range: {\n            min: 0,\n            max: 100\n        }\n    });\n\n    checkbox1.addEventListener('click', function () {\n        toggle.call(this, disSlider1);\n    });\n    //disable slider ^\n\n\n    //disable slider 2\n    var disSlider2 = document.getElementById('disable2');\n    var origins = disSlider2.getElementsByClassName('noUi-origin');\n    var checkbox2 = document.getElementById('checkbox2');\n    var checkbox3 = document.getElementById('checkbox3');\n\n    noUiSlider.create(disSlider2, {\n        start: [20, 80],\n        range: {\n            min: 0,\n            max: 100\n        }\n    });\n\n    checkbox2.addEventListener('click', function () {\n        toggle.call(this, origins[0]);\n    });\n    \n    checkbox3.addEventListener('click', function () {\n        toggle.call(this, origins[1]);\n    });\n    //disable slider 2 ^\n\n\n    //updating a slider\n    var updateSlider = document.getElementById('slider-update');\n    var updateSliderValue = document.getElementById('slider-update-value');\n\n    noUiSlider.create(updateSlider, {\n        range: {\n            'min': 0,\n            'max': 40\n        },\n        start: 20,\n        margin: 2,\n        step: 2\n    });\n\n    updateSlider.noUiSlider.on('update', function (values, handle) {\n        updateSliderValue.innerHTML = values[handle];\n    });\n\n    var button1 = document.getElementById('update-1');\n    var button2 = document.getElementById('update-2');\n\n    function updateSliderRange(min, max) {\n        updateSlider.noUiSlider.updateOptions({\n            range: {\n                'min': min,\n                'max': max\n            }\n        });\n    }\n\n    button1.addEventListener('click', function () {\n        updateSliderRange(20, 50);\n    });\n\n    button2.addEventListener('click', function () {\n        updateSliderRange(10, 40);\n    });\n    //updating a slider ^\n\n\n\n\n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/pickadate-init.js",
    "content": "(function($) {\n    \"use strict\"\n\n    //date picker classic default\n    $('.datepicker-default').pickadate();\n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/piety-init.js",
    "content": "\n(function($) {\n    \"use strict\"\n\n\n/****************\nPiety chart\n*****************/\nvar dzPiety = function(){\n\t\n\tvar getGraphBlockSize = function (selector) {\n\t\tvar screenWidth = $(window).width();\n\t\tvar graphBlockSize = '100%';\n\t\t\n\t\tif(screenWidth <= 768)\n\t\t\t{\n\t\t\t\tscreenWidth = (screenWidth < 300 )?screenWidth:300;\n\t\t\t\t\n\t\t\t\tvar blockWidth  = jQuery(selector).parent().innerWidth() - jQuery(selector).parent().width();\n\t\t\n\t\t\t\tblockWidth = Math.abs(blockWidth);\n\t\t\t\t\n\t\t\t\tvar graphBlockSize = screenWidth - blockWidth - 10;\t\n\t\t\t}\t\t\n\t\t\n\t\treturn graphBlockSize;\n\t\t\n\t}\n\t\n\tvar handlePietyBarLine = function(){\n\t\tif(jQuery('.bar-line').length > 0 ){\n\t\t\t$(\".bar-line\").peity(\"bar\", {\n\t\t\t\twidth: \"100\",\n\t\t\t\theight: \"100\"\n\t\t\t});\n\t\t}\n\t}\n\n    var handlePietyPie = function(){\n\t\tif(jQuery('span.pie').length > 0 ){\n\t\t\t$(\"span.pie\").peity(\"pie\", {\n\t\t\t\tfill: ['#2258BF', 'rgba(34, 88, 191, .3)'], \n\t\t\t\twidth: \"100\",\n\t\t\t\theight: \"100\"\n\t\t\t});\n\t\t}\n\t}\n    \n    var handlePietyDonut = function(){\n\t\tif(jQuery('span.donut').length > 0 ){\n\t\t\t$(\"span.donut\").peity(\"donut\", {\n\t\t\t\twidth: \"100\",\n\t\t\t\theight: \"100\"\n\t\t\t});\n\t\t}\n\t}\n    \n\tvar handlePietyLine = function(){\n\t\tif(jQuery('.peity-line').length > 0 ){\n\t\t\t$(\".peity-line\").peity(\"line\", {\n\t\t\t\tfill: [\"rgba(34, 88, 191, .5)\"], \n\t\t\t\tstroke: '#2258BF', \n\t\t\t\twidth: \"100%\",\n\t\t\t\theight: \"100\"\n\t\t\t});\n\t\t}\n\t}\n    \n\tvar handlePietyLine2 = function(){\n\t\tif(jQuery('.peity-line-2').length > 0 ){\n\t\t\t$(\".peity-line-2\").peity(\"line\", {\n\t\t\t\tfill: \"#fa707e\", \n\t\t\t\tstroke: \"#f77f8b\", \n\t\t\t\t//width: \"100%\",\n\t\t\t\twidth: getGraphBlockSize('.peity-line-2'),\n\t\t\t\tstrokeWidth: \"3\",\n\t\t\t\theight: \"150\"\n\t\t\t});\n\t\t}\n\t}\n\t\n\tvar handlePietyLine3 = function(){\n\t\tif(jQuery('.peity-line-3').length > 0 ){\n\t\t\t$(\".peity-line-3\").peity(\"line\", {\n\t\t\t\tfill: \"#673bb7\", \n\t\t\t\tstroke: \"#ab84f3\", \n\t\t\t\twidth: \"100%\",\n\t\t\t\tstrokeWidth: \"3\",\n\t\t\t\theight: \"150\"\n\t\t\t});\n\t\t}\n\t}\n\t\n\tvar handlePietyBar = function(){\n\t\tif(jQuery('.bar').length > 0 ){\n\t\t\t$(\".bar\").peity(\"bar\", {\n\t\t\t\tfill: [\"#2258BF\", \"#709fba\", \"#3693FF\"],  \n\t\t\t\twidth: \"100%\",\n\t\t\t\theight: \"100\",\n\t\t\t});\n\t\t}\n\t}\n\t\n\tvar handlePietyBar1 = function(){\n\t\tif(jQuery('.bar1').length > 0 ){\n\t\t\t$(\".bar1\").peity(\"bar\", {\n\t\t\t\tfill: [\"#2258BF\", \"#709fba\", \"#3693FF\"],    \n\t\t\t\t//width: \"100%\",\n\t\t\t\twidth: getGraphBlockSize('.bar1'),\n\t\t\t\theight: \"140\"\n\t\t\t});\n\t\t}\n\t}\n\t\n\tvar handlePietyBarColours1 = function(){\n\t\tif(jQuery('.bar-colours-1').length > 0 ){\n\t\t\t$(\".bar-colours-1\").peity(\"bar\", {\n\t\t\t\tfill: [\"#2258BF\", \"#709fba\", \"#3693FF\"],  \n\t\t\t\twidth: \"100\",\n\t\t\t\theight: \"100\"\n\t\t\t});\n\t\t}\n\t}\n\t\n\tvar handlePietyBarColours2 = function(){\n\t\tif(jQuery('.bar-colours-2').length > 0 ){\n\t\t\t$(\".bar-colours-2\").peity(\"bar\", {\n\t\t\t\tfill: function(t, e, i) {\n\t\t\t\t\treturn \"rgb(58, \" + parseInt(e / i.length * 122) + \", 254)\"\n\t\t\t\t},\n\t\t\t\twidth: \"100\",\n\t\t\t\theight: \"100\"\n\t\t\t});\n\t\t}\n\t}\n\t\n\tvar handlePietyBarColours3 = function(){\n\t\tif(jQuery('.bar-colours-3').length > 0 ){\n\t\t\t$(\".bar-colours-3\").peity(\"bar\", {\n\t\t\t\tfill: function(t, e, i) {\n\t\t\t\t\treturn \"rgb(16, \" + parseInt(e / i.length * 202) + \", 147)\"\n\t\t\t\t},\n\t\t\t\twidth: \"100\",\n\t\t\t\theight: \"100\"\n\t\t\t});\n\t\t}\n\t}\n    \n\tvar handlePietyColours1 = function(){\n\t\tif(jQuery('.pie-colours-1').length > 0 ){\n\t\t\t$(\".pie-colours-1\").peity(\"pie\", {\n\t\t\t\tfill: [\"cyan\", \"magenta\", \"yellow\", \"black\"],\n\t\t\t\twidth: \"100\",\n\t\t\t\theight: \"100\"\n\t\t\t});\n\t\t}\n\t}\n\t\n    var handlePietyColours2 = function(){\n\t\tif(jQuery('.pie-colours-2').length > 0 ){\n\t\t\t$(\".pie-colours-2\").peity(\"pie\", {\n\t\t\t\tfill: [\"#2258BF\", \"#709fba\", \"#3693FF\", \"#ff5c00\", \"#EE3C3C\"],\n\t\t\t\twidth: \"100\",\n\t\t\t\theight: \"100\"\n\t\t\t});\n\t\t}\n\t}\n    \n    var handlePietyDataAttr = function(){\n\t\tif(jQuery('.data-attr').length > 0 ){\n\t\t\t$(\".data-attr\").peity(\"donut\");\n\t\t}\n\t}\n    \n    var handlePietyUpdatingChart = function(){\n\t\tvar t = $(\".updating-chart\").peity(\"line\", {\n\t\t\tfill: ['rgba(34, 88, 191, .5)'],\n\t\t\tstroke: 'rgb(34, 88, 191)', \n\t\t\twidth: \"100%\",\n\t\t\theight: 100\n\t\t});\n\t\t\n\t\t setInterval(function() {\n\t\t\tvar e = Math.round(10 * Math.random()),\n\t\t\ti = t.text().split(\",\");\n\t\t\ti.shift(), i.push(e), t.text(i.join(\",\")).change()\n\t\t}, 1e3);\n\t}\n    \n\t/* Function ============ */\n\treturn {\n\t\tinit:function(){\n\t\t},\n\t\t\n\t\t\n\t\tload:function(){\n\t\t\thandlePietyBarLine();\n\t\t\thandlePietyPie();\n\t\t\thandlePietyDonut();\n\t\t\thandlePietyLine();\n\t\t\thandlePietyLine2();\n\t\t\thandlePietyLine3();\n\t\t\thandlePietyBar();\n\t\t\thandlePietyBar1();\n\t\t\thandlePietyBarColours1();\n\t\t\thandlePietyBarColours2();\n\t\t\thandlePietyBarColours3();\n\t\t\thandlePietyColours1();\n\t\t\thandlePietyColours2();\n\t\t\thandlePietyDataAttr();\n\t\t\thandlePietyUpdatingChart();\n\t\t},\n\t\t\n\t\tresize:function(){\n\t\t\thandlePietyBarLine();\n\t\t\thandlePietyPie();\n\t\t\thandlePietyDonut();\n\t\t\thandlePietyLine();\n\t\t\thandlePietyLine2();\n\t\t\thandlePietyLine3();\n\t\t\thandlePietyBar();\n\t\t\thandlePietyBar1();\n\t\t\thandlePietyBarColours1();\n\t\t\thandlePietyBarColours2();\n\t\t\thandlePietyBarColours3();\n\t\t\thandlePietyColours1();\n\t\t\thandlePietyColours2();\n\t\t\thandlePietyDataAttr();\n\t\t\t//handlePietyUpdatingChart();\n\t\t}\n\t}\n\t\n}();\n \n\tjQuery(document).ready(function(){\n\t\t\n\t\t\n\t\t\n\t});\n\t\t\n\tjQuery(window).on('load',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzPiety.load();\n\t\t}, 1000); \n\t\t\n\t});\n\n\tjQuery(window).on('resize',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzPiety.resize();\n\t\t}, 1000); \n\t\t\n\t});      \n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/select2-init.js",
    "content": "\n\n(function($) {\n  \"use strict\"\n  \n  // single select box\n  $(\"#single-select\").select2();\n\n  // multi select box\n  $('.multi-select').select2();\n\n  // dropdown option groups\n  $('.dropdown-groups').select2();\n\n  //disabling options\n  $('.disabling-options').select2();\n\n  //disabling a select2 control\n  $(\".js-example-disabled\").select2();\n  $(\".js-example-disabled-multi\").select2();\n  $(\"#js-programmatic-enable\").on(\"click\", function () {\n      $(\".js-example-disabled\").prop(\"disabled\", false);\n      $(\".js-example-disabled-multi\").prop(\"disabled\", false);\n  });\n  $(\"#js-programmatic-disable\").on(\"click\", function () {\n      $(\".js-example-disabled\").prop(\"disabled\", true);\n      $(\".js-example-disabled-multi\").prop(\"disabled\", true);\n  });\n\n\n  // select2 with labels\n  $(\".select2-with-label-single\").select2();\n  $(\".select2-with-label-multiple\").select2();\n\n\n  //select2 container width\n  $(\".select2-width-50\").select2();\n  $(\".select2-width-75\").select2();\n\n\n  //select2 themes\n  $(\".js-example-theme-single\").select2({\n      theme: \"classic\"\n  });\n  $(\".js-example-theme-multiple\").select2({\n      theme: \"classic\"\n  });\n\n\n  //ajax remote data\n  $(\".js-data-example-ajax\").select2({\n      width: \"100%\",\n      ajax: {\n        url: \"https://api.github.com/search/repositories\",\n        dataType: 'json',\n        delay: 250,\n        data: function (params) {\n          return {\n            q: params.term, // search term\n            page: params.page\n          };\n        },\n        processResults: function (data, params) {\n          // parse the results into the format expected by Select2\n          // since we are using custom formatting functions we do not need to\n          // alter the remote JSON data, except to indicate that infinite\n          // scrolling can be used\n          params.page = params.page || 1;\n    \n          return {\n            results: data.items,\n            pagination: {\n              more: (params.page * 30) < data.total_count\n            }\n          };\n        },\n        cache: true\n      },\n      placeholder: 'Search for a repository',\n      escapeMarkup: function (markup) { return markup; }, // let our custom formatter work\n      minimumInputLength: 1,\n      templateResult: formatRepo,\n      templateSelection: formatRepoSelection\n    });\n\n    function formatRepo (repo) {\n      if (repo.loading) {\n        return repo.text;\n      }\n    \n      var markup = \"<div class='select2-result-repository clearfix'>\" +\n        \"<div class='select2-result-repository__avatar'><img src='\" + repo.owner.avatar_url + \"' /></div>\" +\n        \"<div class='select2-result-repository__meta'>\" +\n          \"<div class='select2-result-repository__title'>\" + repo.full_name + \"</div>\";\n    \n      if (repo.description) {\n        markup += \"<div class='select2-result-repository__description'>\" + repo.description + \"</div>\";\n      }\n    \n      markup += \"<div class='select2-result-repository__statistics'>\" +\n        \"<div class='select2-result-repository__forks'><i class='fa fa-flash'></i> \" + repo.forks_count + \" Forks</div>\" +\n        \"<div class='select2-result-repository__stargazers'><i class='fa fa-star'></i> \" + repo.stargazers_count + \" Stars</div>\" +\n        \"<div class='select2-result-repository__watchers'><i class='fa fa-eye'></i> \" + repo.watchers_count + \" Watchers</div>\" +\n      \"</div>\" +\n      \"</div></div>\";\n    \n      return markup;\n    }\n    \n  function formatRepoSelection (repo) {\n      return repo.full_name || repo.text;\n  }\n\n\n\n\n  // loading array data\n  var data = [\n      {\n          id: 0,\n          text: 'enhancement'\n      },\n      {\n          id: 1,\n          text: 'bug'\n      },\n      {\n          id: 2,\n          text: 'duplicate'\n      },\n      {\n          id: 3,\n          text: 'invalid'\n      },\n      {\n          id: 4,\n          text: 'wontfix'\n      }\n  ];\n  $(\".js-example-data-array\").select2({\n    data: data\n  })\n\n\n  //automatic selection\n  $('#automatic-selection').select2({\n      selectOnClose: true\n  });\n    \n\n  //remain open after selection\n  $('#remain-open').select2({\n      closeOnSelect: false\n  });\n\n\n  //dropdown-placement\n  $('#dropdown-placement').select2({\n      dropdownParent: $('#select2-modal')\n  });\n\n\n  // limit the number of selection\n  $('#limit-selection').select2({\n      maximumSelectionLength: 2\n  });\n\n\n  // dynamic option\n  $('#dynamic-option-creation').select2({\n      tags: true\n  });\n\n\n  // tagging with multi value select box\n  $('#multi-value-select').select2({\n      tags: true\n  });\n\n\n  // single-select-placeholder\n  $(\".single-select-placeholder\").select2({\n      placeholder: \"Select a state\",\n      allowClear: true\n  });\n\n\n  // multi select placeholder\n  $(\".multi-select-placeholder\").select2({\n      placeholder: \"Select a state\"\n  });\n\n\n  //default selection placeholder\n  $(\".default-placeholder\").select2({\n      placeholder: {\n          id: '-1', // the value of the option\n          text: 'Select an option'\n        }\n  });\n\n\n  // customizing how results are matched\n  function matchCustom(params, data) {\n      // If there are no search terms, return all of the data\n      if ($.trim(params.term) === '') {\n        return data;\n      }\n  \n      // Do not display the item if there is no 'text' property\n      if (typeof data.text === 'undefined') {\n        return null;\n      }\n  \n      // `params.term` should be the term that is used for searching\n      // `data.text` is the text that is displayed for the data object\n      if (data.text.indexOf(params.term) > -1) {\n        var modifiedData = $.extend({}, data, true);\n        modifiedData.text += ' (matched)';\n  \n        // You can return modified objects from here\n        // This includes matching the `children` how you want in nested data sets\n        return modifiedData;\n      }\n  \n      // Return `null` if the term should not be displayed\n      return null;\n  }\n  $(\".customize-result\").select2({\n      matcher: matchCustom\n  });\n\n\n  // matching grouped options \n\n  function matchStart(params, data) {\n      // If there are no search terms, return all of the data\n      if ($.trim(params.term) === '') {\n        return data;\n      }\n    \n      // Skip if there is no 'children' property\n      if (typeof data.children === 'undefined') {\n        return null;\n      }\n    \n      // `data.children` contains the actual options that we are matching against\n      var filteredChildren = [];\n      $.each(data.children, function (idx, child) {\n        if (child.text.toUpperCase().indexOf(params.term.toUpperCase()) == 0) {\n          filteredChildren.push(child);\n        }\n      });\n    \n      // If we matched any of the timezone group's children, then set the matched children on the group\n      // and return the group object\n      if (filteredChildren.length) {\n        var modifiedData = $.extend({}, data, true);\n        modifiedData.children = filteredChildren;\n    \n        // You can return modified objects from here\n        // This includes matching the `children` how you want in nested data sets\n        return modifiedData;\n      }\n    \n      // Return `null` if the term should not be displayed\n      return null;\n  }\n  $(\".match-grouped-options\").select2({\n      matcher: matchStart\n  });\n\n\n  //minimum search term length\n  $(\".minimum-search-length\").select2({\n      minimumInputLength: 3 // only start searching when the user has input 3 or more characters\n  });\n\n  //maximum search term length\n  $(\".maximum-search-length\").select2({\n      maximumInputLength: 20 // only allow terms up to 20 characters long\n  });\n\n\n  // programmatically add new option\n  var data = {\n      id: 1,\n      text: 'New Item'\n  };\n  var newOption = new Option(data.text, data.id, false, false);\n  $(\".add-new-options\").append(newOption).trigger('change').select2();\n\n\n  // create if not exists\n\n  // Set the value, creating a new option if necessary\n  if ($('.create-if-not-exists').find(\"option[value='\" + data.id + \"']\").length) {\n      $('.create-if-not-exists').val(data.id).trigger('change');\n  } else { \n      // Create a DOM Option and pre-select by default\n      var newOption = new Option(data.text, data.id, true, true);\n      // Append it to the select\n      $('.create-if-not-exists').append(newOption).trigger('change').select2();\n  } \n\n  \n\n  // using jquery selector\n\n  $('.jquery-selector').select2();\n  $('.jquery-selector').on(\"change\", function(){\n      var selectData = $(this).find(':selected');\n      var value = selectData.val();\n      alert(\"you select \" + value);\n  });\n\n\n  // select2 rtl support\n  $(\".rtl-select2\").select2({\n      dir: \"rtl\"\n  });\n\n\n  // destroy selector\n  $(\".destroy-selector\").select2();\n\n  $(\"#destroy-selector-trigger\").click(function(){\n      $(\".destroy-selector\").select2(\"destroy\");\n  });\n\n\n  // opening options\n  $(\".opening-dropdown\").select2();\n  $(\"#dropdown-trigger-open\").click(function(){\n      $(\".opening-dropdown\").select2('open');\n  });\n\n\n  // open or close dropdown\n  $(\".open-close-dropdown\").select2();\n  $(\"#opening-dropdown-trigger\").click(function(){\n      $(\".open-close-dropdown\").select2('open');\n  });\n  $(\"#closing-dropdown-trigger\").click(function(){\n      $(\".open-close-dropdown\").select2('close');\n  });\n\n\n  // select2 methods\n  var $singleUnbind = $(\".single-event-unbind\").select2();\n\n  $(\".js-programmatic-set-val\").on(\"click\", function () {\n      $singleUnbind.val(\"CA\").trigger(\"change\");\n  });\n  \n  $(\".js-programmatic-open\").on(\"click\", function () {\n      $singleUnbind.select2(\"open\");\n  });\n  \n  $(\".js-programmatic-close\").on(\"click\", function () {\n      $singleUnbind.select2(\"close\");\n  });\n  \n  $(\".js-programmatic-init\").on(\"click\", function () {\n      $singleUnbind.select2({\n          width: \"400px\"\n      });\n  });\n  \n  $(\".js-programmatic-destroy\").on(\"click\", function () {\n      $singleUnbind.select2(\"destroy\");\n  });\n\n\n  var $unbindMulti = $(\".js-example-programmatic-multi\").select2();\n  $(\".js-programmatic-multi-set-val\").on(\"click\", function () {\n      $unbindMulti.val([\"CA\", \"HA\"]).trigger(\"change\");\n  });\n  \n  $(\".js-programmatic-multi-clear\").on(\"click\", function () {\n      $unbindMulti.val(null).trigger(\"change\");\n  });\n\n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/sparkline-init.js",
    "content": "(function($) {\n    \"use strict\" \n   \n var dzSparkLine = function(){\n    \n\tvar screenWidth = $(window).width();\n\t\n\tfunction getSparkLineGraphBlockSize(selector)\n\t{\n\t\tvar screenWidth = $(window).width();\n\t\tvar graphBlockSize = '100%';\n\t\t\n\t\tif(screenWidth <= 768)\n\t\t\t{\n\t\t\t\tscreenWidth = (screenWidth < 300 )?screenWidth:300;\n\t\t\t\t\n\t\t\t\tvar blockWidth  = jQuery(selector).parent().innerWidth() - jQuery(selector).parent().width();\n\t\t\n\t\t\t\tblockWidth = Math.abs(blockWidth);\n\t\t\t\t\n\t\t\t\tvar graphBlockSize = screenWidth - blockWidth - 10;\t\n\t\t\t}\n\t\n\t\t\n\t\t\n\t\treturn graphBlockSize;\n\t\t\n\t}\n\t\n\tvar sparkLineDash = function(){\n\t\t// Line Chart\n\t\tif(jQuery('#sparklinedash').length > 0 ){\t \n\t\t\t $(\"#sparklinedash\").sparkline([10, 15, 26, 27, 28, 31, 34, 40, 41, 44, 49, 64, 68, 69, 72], {\n\t\t\t\ttype: \"bar\",\n\t\t\t\theight: \"50\",\n\t\t\t\tbarWidth: \"4\",\n\t\t\t\tresize: !0,\n\t\t\t\tbarSpacing: \"5\",\n\t\t\t\tbarColor: \"#2258BF\"\n\t\t\t});\n\t\t}\n\t}\n\t\n\tvar sparkLine8 = function(){\n\t\tif(jQuery('#sparkline8').length > 0 ){\t\n\t\t\t$(\"#sparkline8\").sparkline([79, 72, 29, 6, 52, 32, 73, 40, 14, 75, 77, 39, 9, 15, 10], {\n\t\t\t\ttype: \"line\",\n\t\t\t\t//width: \"100%\",\n\t\t\t\twidth: getSparkLineGraphBlockSize('#sparkline8'),\n\t\t\t\theight: \"50\",\n\t\t\t\tlineColor: \"#2258BF\",\n\t\t\t\tfillColor: \"rgba(34, 88, 191, .5)\",\n\t\t\t\tminSpotColor: \"#2258BF\",\n\t\t\t\tmaxSpotColor: \"#2258BF\",\n\t\t\t\thighlightLineColor: \"#2258BF\",\n\t\t\t\thighlightSpotColor: \"#2258BF\",\n\t\t\t\t\n\t\t\t});\n\t\t}\n\t}\n\t\n\tvar sparkLine9 = function(){\n\t\tif(jQuery('#sparkline9').length > 0 ){\t\n\t\t\t$(\"#sparkline9\").sparkline([27, 31, 35, 28, 45, 52, 24, 4, 50, 11, 54, 49, 72, 59, 75], {\n\t\t\t\ttype: \"line\",\n\t\t\t\t//width: \"100%\",\n\t\t\t\twidth: getSparkLineGraphBlockSize('#sparkline9'),\n\t\t\t\theight: \"50\",\n\t\t\t\tlineColor: \"#ff5c00\",\n\t\t\t\tfillColor: \"rgba(255, 92, 0, .5)\",\n\t\t\t\tminSpotColor: \"#ff5c00\",\n\t\t\t\tmaxSpotColor: \"#ff5c00\",\n\t\t\t\thighlightLineColor: \"rgb(255, 159, 0)\",\n\t\t\t\thighlightSpotColor: \"#ff5c00\"\n\t\t\t});\n\t\t}\n\t}\n\n    // Bar Chart\n\tvar sparkBar = function(){\n\t\tif(jQuery('#spark-bar').length > 0 ){\t\n\t\t\t$(\"#spark-bar\").sparkline([33, 22, 68, 54, 8, 30, 74, 7, 36, 5, 41, 19, 43, 29, 38], {\n\t\t\t\ttype: \"bar\",\n\t\t\t\theight: \"200\",\n\t\t\t\tbarWidth: 6,\n\t\t\t\tbarSpacing: 7,\n\t\t\t\tbarColor: \"#709fba\"\n\t\t\t});\n\t\t}\t\n\t}\n\t\t\n\tvar sparkBar2 = function(){\n\t\tif(jQuery('#spark-bar-2').length > 0 ){\t\n\t\t\t$(\"#spark-bar-2\").sparkline([33, 22, 68, 54, 8, 30, 74, 7, 36, 5, 41, 19, 43, 29, 38], {\n\t\t\t\ttype: \"bar\",\n\t\t\t\theight: \"140\",\n\t\t\t\twidth: 100,\n\t\t\t\tbarWidth: 10,\n\t\t\t\tbarSpacing: 10,\n\t\t\t\tbarColor: \"rgb(255, 206, 120)\"\n\t\t\t});\n\t\t}\t\n\t}\n\t\t\n\tvar stackedBarChart = function(){\n\t\tif(jQuery('#StackedBarChart').length > 0 ){\t\n\t\t\t$('#StackedBarChart').sparkline([\n\t\t\t\t[1, 4, 2],\n\t\t\t\t[2, 3, 2],\n\t\t\t\t[3, 2, 2],\n\t\t\t\t[4, 1, 2]\n\t\t\t], {\n\t\t\t\t\ttype: \"bar\",\n\t\t\t\t\theight: \"200\",\n\t\t\t\t\tbarWidth: 10,\n\t\t\t\t\tbarSpacing: 7, \n\t\t\t\t\tstackedBarColor: ['#2258BF', '#709fba', '#ff5c00']\n\t\t\t\t});\n\t\t}\n\t}\n\t\t\n\tvar triState = function(){\n\t\tif(jQuery('#tristate').length > 0 ){\t\n\n\t\t\t$(\"#tristate\").sparkline([1, 1, 0, 1, -1, -1, 1, -1, 0, 0, 1, 1], {\n\t\t\t\ttype: 'tristate',\n\t\t\t\theight: \"200\",\n\t\t\t\tbarWidth: 10,\n\t\t\t\tbarSpacing: 7, \n\t\t\t\tcolorMap: ['#2258BF', '#709fba', '#ff5c00'], \n\t\t\t\tnegBarColor: '#ff5c00'\n\t\t\t});\n\t\t}\n\t}\n\t\t\n\tvar compositeBar = function(){\n\t\t// Composite\n\t\tif(jQuery('#composite-bar').length > 0 ){\n\t\t\t$(\"#composite-bar\").sparkline([73, 53, 50, 67, 3, 56, 19, 59, 37, 32, 40, 26, 71, 19, 4, 53, 55, 31, 37], {\n\t\t\t\ttype: \"bar\",\n\t\t\t\theight: \"200\",\n\t\t\t\tbarWidth: \"10\",\n\t\t\t\tresize: true,\n\t\t\t\t// barSpacing: \"7\",\n\t\t\t\tbarColor: \"#2258BF\", \n\t\t\t\twidth: '100%',\n\t\t\t\t\n\t\t\t});\n\t\t}\t\n\t}\t\n\t\n\tvar sparklineCompositeChart = function(){\n\t\tif(jQuery('#sparkline-composite-chart').length > 0 ){\n\t\t\t$(\"#sparkline-composite-chart\").sparkline([5, 6, 7, 2, 0, 3, 6, 8, 1, 2, 2, 0, 3, 6], {\n\t\t\t\ttype: 'line',\n\t\t\t\twidth: '100%',\n\t\t\t\theight: '200', \n\t\t\t\tbarColor: '#709fba', \n\t\t\t\tcolorMap: ['#709fba', '#ff5c00']\n\t\t\t});\n\t\t}\n\t\tif(jQuery('#sparkline-composite-chart').length > 0 ){\n\t\t\t$(\"#sparkline-composite-chart\").sparkline([5, 6, 7, 2, 0, 3, 6, 8, 1, 2, 2, 0, 3, 6], {\n\t\t\t\ttype: 'bar',\n\t\t\t\theight: '150px',\n\t\t\t\twidth: '100%',\n\t\t\t\tbarWidth: 10,\n\t\t\t\tbarSpacing: 5,\n\t\t\t\tbarColor: '#34C73B',\n\t\t\t\tnegBarColor: '#34C73B',\n\t\t\t\tcomposite: true,\n\t\t\t});\n\t\t}\n\t}\n\t\t\n\tvar sparkLine11 = function(){\n\t\tif(jQuery('#sparkline11').length > 0 ){\n\t\t\t//Pie\n\t\t\t$(\"#sparkline11\").sparkline([24, 61, 51], {\n\t\t\t\ttype: \"pie\",\n\t\t\t\theight: \"100px\",\n\t\t\t\tresize: !0,\n\t\t\t\tsliceColors: [\"rgba(192, 10, 39, .5)\", \"rgba(0, 0, 128, .5)\", \"rgba(34, 88, 191, .5)\"]\n\t\t\t});\n\t\t}\t\n\t}\t\n\t\n\tvar sparkLine12 = function(){\n\t\tif(jQuery('#sparkline12').length > 0 ){\n\t\t\t//Pie\n\t\t\t$(\"#sparkline12\").sparkline([24, 61, 51], {\n\t\t\t\ttype: \"pie\",\n\t\t\t\theight: \"100\",\n\t\t\t\tresize: !0,\n\t\t\t\tsliceColors: [\"rgba(179, 204, 255, 1)\", \"rgba(157, 189, 255, 1)\", \"rgba(112, 153, 237, 1)\"]\n\t\t\t});\n\t\t}\t\n\t}\t\n\t\n\tvar bulletChart = function(){\n\t\tif(jQuery('#bullet-chart').length > 0 ){\n\t\t\t// Bullet\n\t\t\t$(\"#bullet-chart\").sparkline([10, 12, 12, 9, 7], {\n\t\t\t\ttype: 'bullet',\n\t\t\t\theight: '100',\n\t\t\t\twidth: '100%',\n\t\t\t\ttargetOptions: { // Options related with look and position of targets \n\t\t\t\t\twidth: '100%',        // The width of the target \n\t\t\t\t\theight: 3,            // The height of the target \n\t\t\t\t\tborderWidth: 0,       // The border width of the target \n\t\t\t\t\tborderColor: 'black', // The border color of the target \n\t\t\t\t\tcolor: 'black'        // The color of the target \n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\t\t\n\tvar boxPlot = function(){\n\t\tif(jQuery('#boxplot').length > 0 ){\n\t\t\t//Boxplot\n\t\t\t$(\"#boxplot\").sparkline([4,27,34,52,54,59,61,68,78,82,85,87,91,93,100], {\n\t\t\t\ttype: 'box'\n\t\t\t});\n\t\t}\n\t}\n\t\n\t\n    /* Function ============ */\n\t\treturn {\n\t\t\tinit:function(){\n\t\t\t},\n\t\t\t\n\t\t\t\n\t\t\tload:function(){\n\t\t\t\tsparkLineDash();\t\n\t\t\t\tsparkLine8();\n\t\t\t\tsparkLine9();\t\n\t\t\t\tsparkBar();\t\n\t\t\t\tsparkBar2();\t\t\n\t\t\t\tstackedBarChart();\n\t\t\t\ttriState();\n\t\t\t\tcompositeBar();\n\t\t\t\tsparklineCompositeChart();\n\t\t\t\tbulletChart();\n\t\t\t\tsparkLine11();\n\t\t\t\tsparkLine12();\n\t\t\t\tboxPlot(); \n\t\t\t},\n\t\t\t\n\t\t\tresize:function(){\n\t\t\t\tsparkLineDash();\t\n\t\t\t\tsparkLine8();\n\t\t\t\tsparkLine9();\t\n\t\t\t\tsparkBar();\t\n\t\t\t\tsparkBar2();\t\t\n\t\t\t\tstackedBarChart();\n\t\t\t\ttriState();\n\t\t\t\tcompositeBar();\n\t\t\t\tsparklineCompositeChart();\n\t\t\t\tbulletChart();\n\t\t\t\tsparkLine11();\n\t\t\t\tsparkLine12();\n\t\t\t\tboxPlot();\n\t\t\t}\n\t\t}\n\t\n\t}();\n\n\tjQuery(document).ready(function(){\n\t});\n\t\t\n\tjQuery(window).on('load',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzSparkLine.resize();\t\n\t\t}, 1000);\n\t});\n\n\tjQuery(window).on('resize',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzSparkLine.resize();\t\n\t\t}, 1000);\n\t});     \n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/sweetalert.init.js",
    "content": "\"use strict\"\ndocument.querySelector(\".sweet-wrong\").onclick = function () { sweetAlert(\"Oops...\", \"Something went wrong !!\", \"error\") }, document.querySelector(\".sweet-message\").onclick = function () { swal(\"Hey, Here's a message !!\") }, document.querySelector(\".sweet-text\").onclick = function () { swal(\"Hey, Here's a message !!\", \"It's pretty, isn't it?\") }, document.querySelector(\".sweet-success\").onclick = function () { swal(\"Hey, Good job !!\", \"You clicked the button !!\", \"success\") }, document.querySelector(\".sweet-confirm\").onclick = function () { swal({ title: \"Are you sure to delete ?\", text: \"You will not be able to recover this imaginary file !!\", type: \"warning\", showCancelButton: !0, confirmButtonColor: \"#DD6B55\", confirmButtonText: \"Yes, delete it !!\", closeOnConfirm: !1 }, function () { swal(\"Deleted !!\", \"Hey, your imaginary file has been deleted !!\", \"success\") }) }, document.querySelector(\".sweet-success-cancel\").onclick = function () { swal({ title: \"Are you sure to delete ?\", text: \"You will not be able to recover this imaginary file !!\", type: \"warning\", showCancelButton: !0, confirmButtonColor: \"#DD6B55\", confirmButtonText: \"Yes, delete it !!\", cancelButtonText: \"No, cancel it !!\", closeOnConfirm: !1, closeOnCancel: !1 }, function (e) { e ? swal(\"Deleted !!\", \"Hey, your imaginary file has been deleted !!\", \"success\") : swal(\"Cancelled !!\", \"Hey, your imaginary file is safe !!\", \"error\") }) }, document.querySelector(\".sweet-image-message\").onclick = function () { swal({ title: \"Sweet !!\", text: \"Hey, Here's a custom image !!\", imageUrl: \"../assets/images/hand.jpg\" }) }, document.querySelector(\".sweet-html\").onclick = function () { swal({ title: \"Sweet !!\", text: \"<span style='color:#ff0000'>Hey, you are using HTML !!<span>\", html: !0 }) }, document.querySelector(\".sweet-auto\").onclick = function () { swal({ title: \"Sweet auto close alert !!\", text: \"Hey, i will close in 2 seconds !!\", timer: 2e3, showConfirmButton: !1 }) }, document.querySelector(\".sweet-prompt\").onclick = function () { swal({ title: \"Enter an input !!\", text: \"Write something interesting !!\", type: \"input\", showCancelButton: !0, closeOnConfirm: !1, animation: \"slide-from-top\", inputPlaceholder: \"Write something\" }, function (e) { return !1 !== e && (\"\" === e ? (swal.showInputError(\"You need to write something!\"), !1) : void swal(\"Hey !!\", \"You wrote: \" + e, \"success\")) }) }, document.querySelector(\".sweet-ajax\").onclick = function () { swal({ title: \"Sweet ajax request !!\", text: \"Submit to run ajax request !!\", type: \"info\", showCancelButton: !0, closeOnConfirm: !1, showLoaderOnConfirm: !0 }, function () { setTimeout(function () { swal(\"Hey, your ajax request finished !!\") }, 2e3) }) };"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/toastr-init.js",
    "content": "(function ($) {\n    \"use strict\"\n\n\n/*******************\nToastr\n*******************/\n\n    $(\"#toastr-success-top-right\").on(\"click\", function () {\n                toastr.success(\"This Is Success Message\", \"Top Right\", {\n                    timeOut: 500000000,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    positionClass: \"toast-top-right\",\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-success-bottom-right\").on(\"click\", function () {\n                toastr.success(\"This Is Success Message\", \"Bottom Right\", {\n                    positionClass: \"toast-bottom-right\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-success-bottom-left\").on(\"click\", function () {\n                toastr.success(\"This Is Success Message\", \"Bottom Left\", {\n                    positionClass: \"toast-bottom-left\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-success-top-left\").on(\"click\", function () {\n                toastr.success(\"This Is Success Message\", \"Top Left\", {\n                    positionClass: \"toast-top-left\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-success-top-full-width\").on(\"click\", function () {\n                toastr.success(\"This Is Success Message\", \"Top Full Width\", {\n                    positionClass: \"toast-top-full-width\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-success-bottom-full-width\").on(\"click\", function () {\n                toastr.success(\"This Is Success Message\", \"Bottom Full Width\", {\n                    positionClass: \"toast-bottom-full-width\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-success-top-center\").on(\"click\", function () {\n                toastr.success(\"This Is Success Message\", \"Top Center\", {\n                    positionClass: \"toast-top-center\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-success-bottom-center\").on(\"click\", function () {\n                toastr.success(\"This Is Success Message\", \"Bottom Center\", {\n                    positionClass: \"toast-bottom-center\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-info-top-right\").on(\"click\", function () {\n                toastr.info(\"This Is info Message\", \"Top Right\", {\n                    positionClass: \"toast-top-right\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-info-bottom-right\").on(\"click\", function () {\n                toastr.info(\"This Is info Message\", \"Bottom Right\", {\n                    positionClass: \"toast-bottom-right\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-info-bottom-left\").on(\"click\", function () {\n                toastr.info(\"This Is info Message\", \"Bottom Left\", {\n                    positionClass: \"toast-bottom-left\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-info-top-left\").on(\"click\", function () {\n                toastr.info(\"This Is info Message\", \"Top Left\", {\n                    positionClass: \"toast-top-left\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-info-top-full-width\").on(\"click\", function () {\n                toastr.info(\"This Is info Message\", \"Top Full Width\", {\n                    positionClass: \"toast-top-full-width\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-info-bottom-full-width\").on(\"click\", function () {\n                toastr.info(\"This Is info Message\", \"Bottom Full Width\", {\n                    positionClass: \"toast-bottom-full-width\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-info-top-center\").on(\"click\", function () {\n                toastr.info(\"This Is info Message\", \"Top Center\", {\n                    positionClass: \"toast-top-center\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-info-bottom-center\").on(\"click\", function () {\n                toastr.info(\"This Is info Message\", \"Bottom Center\", {\n                    positionClass: \"toast-bottom-center\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-warning-top-right\").on(\"click\", function () {\n                toastr.warning(\"This Is warning Message\", \"Top Right\", {\n                    positionClass: \"toast-top-right\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-warning-bottom-right\").on(\"click\", function () {\n                toastr.warning(\"This Is warning Message\", \"Bottom Right\", {\n                    positionClass: \"toast-bottom-right\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-warning-bottom-left\").on(\"click\", function () {\n                toastr.warning(\"This Is warning Message\", \"Bottom Left\", {\n                    positionClass: \"toast-bottom-left\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-warning-top-left\").on(\"click\", function () {\n                toastr.warning(\"This Is warning Message\", \"Top Left\", {\n                    positionClass: \"toast-top-left\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-warning-top-full-width\").on(\"click\", function () {\n                toastr.warning(\"This Is warning Message\", \"Top Full Width\", {\n                    positionClass: \"toast-top-full-width\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-warning-bottom-full-width\").on(\"click\", function () {\n                toastr.warning(\"This Is warning Message\", \"Bottom Full Width\", {\n                    positionClass: \"toast-bottom-full-width\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-warning-top-center\").on(\"click\", function () {\n                toastr.warning(\"This Is warning Message\", \"Top Center\", {\n                    positionClass: \"toast-top-center\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-warning-bottom-center\").on(\"click\", function () {\n                toastr.warning(\"This Is warning Message\", \"Bottom Center\", {\n                    positionClass: \"toast-bottom-center\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-danger-top-right\").on(\"click\", function () {\n                toastr.error(\"This Is error Message\", \"Top Right\", {\n                    positionClass: \"toast-top-right\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-danger-bottom-right\").on(\"click\", function () {\n                toastr.error(\"This Is error Message\", \"Bottom Right\", {\n                    positionClass: \"toast-bottom-right\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-danger-bottom-left\").on(\"click\", function () {\n                toastr.error(\"This Is error Message\", \"Bottom Left\", {\n                    positionClass: \"toast-bottom-left\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-danger-top-left\").on(\"click\", function () {\n                toastr.error(\"This Is error Message\", \"Top Left\", {\n                    positionClass: \"toast-top-left\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-danger-top-full-width\").on(\"click\", function () {\n                toastr.error(\"This Is error Message\", \"Top Full Width\", {\n                    positionClass: \"toast-top-full-width\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-danger-bottom-full-width\").on(\"click\", function () {\n                toastr.error(\"This Is error Message\", \"Bottom Full Width\", {\n                    positionClass: \"toast-bottom-full-width\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-danger-top-center\").on(\"click\", function () {\n                toastr.error(\"This Is error Message\", \"Top Center\", {\n                    positionClass: \"toast-top-center\",\n                    timeOut: 5e3,\n                    closeButton: !0,\n                    debug: !1,\n                    newestOnTop: !0,\n                    progressBar: !0,\n                    preventDuplicates: !0,\n                    onclick: null,\n                    showDuration: \"300\",\n                    hideDuration: \"1000\",\n                    extendedTimeOut: \"1000\",\n                    showEasing: \"swing\",\n                    hideEasing: \"linear\",\n                    showMethod: \"fadeIn\",\n                    hideMethod: \"fadeOut\",\n                    tapToDismiss: !1\n                })\n            }\n\n        ),\n        $(\"#toastr-danger-bottom-center\").on(\"click\", function () {\n            toastr.error(\"This Is error Message\", \"Bottom Center\", {\n                positionClass: \"toast-bottom-center\",\n                timeOut: 5e3,\n                closeButton: !0,\n                debug: !1,\n                newestOnTop: !0,\n                progressBar: !0,\n                preventDuplicates: !0,\n                onclick: null,\n                showDuration: \"300\",\n                hideDuration: \"1000\",\n                extendedTimeOut: \"1000\",\n                showEasing: \"swing\",\n                hideEasing: \"linear\",\n                showMethod: \"fadeIn\",\n                hideMethod: \"fadeOut\",\n                tapToDismiss: !1\n            })\n        });\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/plugins-init/widgets-script-init.js",
    "content": "(function($) {\n    \"use strict\" \n\n var dzChartlist = function(){\n\t\n\tvar screenWidth = $(window).width();\n\t\n\tvar activityChart = function(){\n\t\t/*======== 16. ANALYTICS - ACTIVITY CHART ========*/\n\t\tvar activity = document.getElementById(\"activity\");\n\t\tif (activity !== null) {\n\t\t\tvar activityData = [{\n\t\t\t\t\tfirst: [35, 48, 25, 35, 40, 24, 30, 25, 22, 20, 45, 35]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfirst: [50, 35, 35, 45, 40, 50, 60, 80, 25, 50, 34, 35]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfirst: [20, 35, 60, 45, 40, 70, 30, 80, 65, 70, 60, 35]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfirst: [25, 88, 25, 50, 70, 70, 60, 70, 50, 60, 50, 70]\n\t\t\t\t}\n\t\t\t];\n\t\t\tactivity.height = 300;\n\t\t\t\n\t\t\tvar config = {\n\t\t\t\ttype: \"bar\",\n\t\t\t\tdata: {\n\t\t\t\t\tlabels: [\n\t\t\t\t\t\t\"01\",\n\t\t\t\t\t\t\"02\",\n\t\t\t\t\t\t\"03\",\n\t\t\t\t\t\t\"04\",\n\t\t\t\t\t\t\"05\",\n\t\t\t\t\t\t\"06\",\n\t\t\t\t\t\t\"07\",\n\t\t\t\t\t\t\"08\",\n\t\t\t\t\t\t\"09\",\n\t\t\t\t\t\t\"10\",\n\t\t\t\t\t\t\"11\",\n\t\t\t\t\t\t\"12\"\n\t\t\t\t\t],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata:  [35, 18, 30, 35, 40, 20, 30, 25, 22, 20, 45, 35],\n\t\t\t\t\t\t\tborderColor: 'rgba(34, 88, 191, 1)',\n\t\t\t\t\t\t\tborderWidth: \"0\",\n\t\t\t\t\t\t\tbackgroundColor: 'rgba(34, 88, 191, 1)'\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tresponsive: true,\n\t\t\t\t\tmaintainAspectRatio: false,\n\t\t\t\t\t\n\t\t\t\t\tlegend: {\n\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t},\n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tcolor: \"rgba(89, 59, 219,0.1)\",\n\t\t\t\t\t\t\t\tdrawBorder: true\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tfontColor: \"#999\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{\n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdisplay: false,\n\t\t\t\t\t\t\t\tzeroLineColor: \"transparent\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tstepSize: 5,\n\t\t\t\t\t\t\t\tfontColor: \"#999\",\n\t\t\t\t\t\t\t\tfontFamily: \"Nunito, sans-serif\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t},\n\t\t\t\t\ttooltips: {\n\t\t\t\t\t\tmode: \"index\",\n\t\t\t\t\t\tintersect: false,\n\t\t\t\t\t\ttitleFontColor: \"#888\",\n\t\t\t\t\t\tbodyFontColor: \"#555\",\n\t\t\t\t\t\ttitleFontSize: 12,\n\t\t\t\t\t\tbodyFontSize: 15,\n\t\t\t\t\t\tbackgroundColor: \"rgba(256,256,256,0.95)\",\n\t\t\t\t\t\tdisplayColors: true,\n\t\t\t\t\t\txPadding: 10,\n\t\t\t\t\t\tyPadding: 7,\n\t\t\t\t\t\tborderColor: \"rgba(220, 220, 220, 0.9)\",\n\t\t\t\t\t\tborderWidth: 2,\n\t\t\t\t\t\tcaretSize: 6,\n\t\t\t\t\t\tcaretPadding: 10\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tvar ctx = document.getElementById(\"activity\").getContext(\"2d\");\n\t\t\tvar myLine = new Chart(ctx, config);\n\n\t\t\tvar items = document.querySelectorAll(\"#user-activity .nav-tabs .nav-item\");\n\t\t\titems.forEach(function(item, index) {\n\t\t\t\titem.addEventListener(\"click\", function() {\n\t\t\t\t\tconfig.data.datasets[0].data = activityData[index].first;\n\t\t\t\t\tmyLine.update();\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t}\n\tvar activeUser = function(){\n\t\tif(jQuery('#activeUser').length > 0 ){\n\t\t\tvar data = {\n\t\t\t\tlabels: [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\"],\n\t\t\t\tdatasets: [{\n\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\tbackgroundColor: \"rgba(58,223,174,1)\",\n\t\t\t\t\tstrokeColor: \"rgba(58,223,174,1)\",\n\t\t\t\t\tpointColor: \"rgba(0,0,0,0)\",\n\t\t\t\t\tpointStrokeColor: \"rgba(58,223,174,1)\",\n\t\t\t\t\tpointHighlightFill: \"rgba(58,223,174,1)\",\n\t\t\t\t\tpointHighlightStroke: \"rgba(58,223,174,1)\",\n\t\t\t\t\tdata: [65, 59, 80, 81, 56, 55, 40, 65, 59, 80, 81, 56, 55, 40]\n\t\t\t\t}]\n\t\t\t};\n\n\t\t\tvar ctx = document.getElementById(\"activeUser\").getContext(\"2d\");\n\t\t\tvar chart = new Chart(ctx, {\n\t\t\t\ttype: \"bar\",\n\t\t\t\tdata: data,\n\t\t\t\toptions: {\n\t\t\t\t\tresponsive: !0,\n\t\t\t\t\tmaintainAspectRatio: false,\n\t\t\t\t\tlegend: {\n\t\t\t\t\t\tdisplay: !1\n\t\t\t\t\t},\n\t\t\t\t\ttooltips: {\n\t\t\t\t\t\tenabled: false\n\t\t\t\t\t},\n\t\t\t\t\tscales: {\n\t\t\t\t\t\txAxes: [{\n\t\t\t\t\t\t\tdisplay: !1,\n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdisplay: !1\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tbarPercentage: 1,\n\t\t\t\t\t\t\tcategoryPercentage: 0.5\n\t\t\t\t\t\t}],\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tdisplay: !1,\n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tpadding: 10,\n\t\t\t\t\t\t\t\tstepSize: 20,\n\t\t\t\t\t\t\t\tmax: 100,\n\t\t\t\t\t\t\t\tmin: 0\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdisplay: !0,\n\t\t\t\t\t\t\t\tdrawBorder: !1,\n\t\t\t\t\t\t\t\tlineWidth: 1,\n\t\t\t\t\t\t\t\tzeroLineColor: \"#48f3c0\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\t\n\t\t\tsetInterval(function() {\n\t\t\t\tchart.config.data.datasets[0].data.push(\n\t\t\t\t\tMath.floor(10 + Math.random() * 80)\n\t\t\t\t);\n\t\t\t\tchart.config.data.datasets[0].data.shift();\n\t\t\t\tchart.update();\n\t\t\t}, 2000);\n\t\t\t\n\t\t}\n\t}\n\tvar chartWidget1 = function(){\n\t\tif(jQuery('#chart_widget_1').length > 0 ){\n\t\t\t\n\t\t\tconst chart_widget_1 = document.getElementById(\"chart_widget_1\").getContext('2d');\n\t\t\t//generate gradient\n\t\t\t// const gradientStroke = chart_widget_1.createLinearGradient(0, 0, 0, 250);\n\t\t\t// gradientStroke.addColorStop(0, \"#00abc5\");\n\t\t\t// gradientStroke.addColorStop(1, \"#000080\");\n\n\t\t\t// chart_widget_1.attr('height', '100');\n\n\t\t\tnew Chart(chart_widget_1, {\n\t\t\t\ttype: 'bar',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [65, 59, 80, 81, 56, 55, 40],\n\t\t\t\t\t\t\tborderColor: 'rgba(255, 255, 255, .8)',\n\t\t\t\t\t\t\tborderWidth: \"0\",\n\t\t\t\t\t\t\tbackgroundColor: 'rgba(255, 255, 255, .8)', \n\t\t\t\t\t\t\thoverBackgroundColor: 'rgba(255, 255, 255, .8)'\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false,\n\t\t\t\t\tresponsive: true, \n\t\t\t\t\tmaintainAspectRatio: false,  \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 10\n\t\t\t\t\t\t\t}, \n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tbarPercentage: 0.5, \n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t\t}, \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tvar chartWidget2 = function(){\n\t\t//#chart_widget_2\n\t\tif(jQuery('#chart_widget_2').length > 0 ){\n\t\t\t\n\t\t\tconst chart_widget_2 = document.getElementById(\"chart_widget_2\").getContext('2d');\n\t\t\t//generate gradient\n\t\t\tconst chart_widget_2gradientStroke = chart_widget_2.createLinearGradient(0, 0, 0, 250);\n\t\t\tchart_widget_2gradientStroke.addColorStop(0, \"#430b58\");\n\t\t\tchart_widget_2gradientStroke.addColorStop(1, \"#6c2586\");\n\n\t\t\t// chart_widget_2.attr('height', '100');\n\n\t\t\tnew Chart(chart_widget_2, {\n\t\t\t\ttype: 'bar',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [65, 59, 80, 81, 56, 55, 40, 88, 45, 95, 54, 76],\n\t\t\t\t\t\t\tborderColor: chart_widget_2gradientStroke,\n\t\t\t\t\t\t\tborderWidth: \"0\",\n\t\t\t\t\t\t\tbackgroundColor: chart_widget_2gradientStroke, \n\t\t\t\t\t\t\thoverBackgroundColor: chart_widget_2gradientStroke\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false,\n\t\t\t\t\tresponsive: true, \n\t\t\t\t\tmaintainAspectRatio: false,  \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 10\n\t\t\t\t\t\t\t}, \n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tbarPercentage: 0.1, \n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t\t}, \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t}\n\t}\n\t\n\tvar chartWidget3 = function(){\n\t\t//#chart_widget_3\n\t\tif(jQuery('#chart_widget_3').length > 0 ){\n\t\tconst chart_widget_3 = document.getElementById(\"chart_widget_3\").getContext('2d');\n\t\t\n\t\t// chart_widget_3.height = 100;\n\n\t\tlet barChartData = {\n\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\tlabels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n\t\t\tdatasets: [{\n\t\t\t\tlabel: 'Expense',\n\t\t\t\tbackgroundColor: '#ff2c53',\n\t\t\t\thoverBackgroundColor: '#ff5777', \n\t\t\t\tdata: [\n\t\t\t\t\t'20',\n\t\t\t\t\t'14',\n\t\t\t\t\t'18',\n\t\t\t\t\t'25',\n\t\t\t\t\t'27',\n\t\t\t\t\t'22',\n\t\t\t\t\t'12', \n\t\t\t\t\t'24', \n\t\t\t\t\t'20', \n\t\t\t\t\t'14', \n\t\t\t\t\t'18', \n\t\t\t\t\t'16'\n\t\t\t\t]\n\t\t\t}, {\n\t\t\t\tlabel: 'Earning',\n\t\t\t\tbackgroundColor: '#F1F3F7',\n\t\t\t\thoverBackgroundColor: '#F1F3F7', \n\t\t\t\tdata: [\n\t\t\t\t\t'12',\n\t\t\t\t\t'18',\n\t\t\t\t\t'14',\n\t\t\t\t\t'7',\n\t\t\t\t\t'5',\n\t\t\t\t\t'10',\n\t\t\t\t\t'20', \n\t\t\t\t\t'8', \n\t\t\t\t\t'12', \n\t\t\t\t\t'18', \n\t\t\t\t\t'14', \n\t\t\t\t\t'16'\n\t\t\t\t]\n\t\t\t}]\n\n\t\t};\n\n\t\tnew Chart(chart_widget_3, {\n\t\t\ttype: 'bar',\n\t\t\tdata: barChartData,\n\t\t\toptions: {\n\t\t\t\tlegend: {\n\t\t\t\t\tdisplay: false\n\t\t\t\t}, \n\t\t\t\ttitle: {\n\t\t\t\t\tdisplay: false\n\t\t\t\t},\n\t\t\t\ttooltips: {\n\t\t\t\t\tmode: 'index',\n\t\t\t\t\tintersect: false\n\t\t\t\t},\n\t\t\t\tresponsive: true,\n\t\t\t\tmaintainAspectRatio: false, \n\t\t\t\tscales: {\n\t\t\t\t\txAxes: [{\n\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\tstacked: true,\n\t\t\t\t\t\tbarPercentage: .2, \n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t}, \n\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t}\n\t\t\t\t\t}],\n\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\tstacked: true, \n\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t}, \n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t}\n\t\t\t\t\t}]\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t}\n\n\t}\n\t\n\tvar chartWidget4 = function(){\n\t\t//#chart_widget_4\n\t\tif(jQuery('#chart_widget_4').length > 0 ){\n\n\t\tconst chart_widget_4 = document.getElementById(\"chart_widget_4\").getContext('2d');\n\t\t\n\t\t// chart_widget_4.height = 100;\n\n\t\tlet barChartData2 = {\n\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\tlabels: ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'forteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty'],\n\t\t\tdatasets: [{\n\t\t\t\tlabel: 'Expense',\n\t\t\t\tbackgroundColor: '#430b58',\n\t\t\t\thoverBackgroundColor: '#6c2586', \n\t\t\t\tdata: [\n\t\t\t\t\t'20',\n\t\t\t\t\t'14',\n\t\t\t\t\t'18',\n\t\t\t\t\t'25',\n\t\t\t\t\t'27',\n\t\t\t\t\t'22',\n\t\t\t\t\t'12', \n\t\t\t\t\t'24', \n\t\t\t\t\t'20', \n\t\t\t\t\t'14', \n\t\t\t\t\t'18', \n\t\t\t\t\t'16', \n\t\t\t\t\t'34', \n\t\t\t\t\t'32', \n\t\t\t\t\t'43', \n\t\t\t\t\t'36', \n\t\t\t\t\t'56', \n\t\t\t\t\t'12', \n\t\t\t\t\t'23', \n\t\t\t\t\t'34'\n\t\t\t\t]\n\t\t\t}, {\n\t\t\t\tlabel: 'Earning',\n\t\t\t\tbackgroundColor: '#F1F3F7',\n\t\t\t\thoverBackgroundColor: '#F1F3F7', \n\t\t\t\tdata: [\n\t\t\t\t\t'32',\n\t\t\t\t\t'58',\n\t\t\t\t\t'34',\n\t\t\t\t\t'37',\n\t\t\t\t\t'15',\n\t\t\t\t\t'41',\n\t\t\t\t\t'24', \n\t\t\t\t\t'38', \n\t\t\t\t\t'52', \n\t\t\t\t\t'38', \n\t\t\t\t\t'24', \n\t\t\t\t\t'19', \n\t\t\t\t\t'54', \n\t\t\t\t\t'34', \n\t\t\t\t\t'23', \n\t\t\t\t\t'34', \n\t\t\t\t\t'35', \n\t\t\t\t\t'22', \n\t\t\t\t\t'43', \n\t\t\t\t\t'33'\n\t\t\t\t]\n\t\t\t}]\n\n\t\t};\n\n\t\tnew Chart(chart_widget_4, {\n\t\t\ttype: 'bar',\n\t\t\tdata: barChartData2,\n\t\t\toptions: {\n\t\t\t\tlegend: {\n\t\t\t\t\tdisplay: false\n\t\t\t\t}, \n\t\t\t\ttitle: {\n\t\t\t\t\tdisplay: false\n\t\t\t\t},\n\t\t\t\ttooltips: {\n\t\t\t\t\tmode: 'index',\n\t\t\t\t\tintersect: false\n\t\t\t\t},\n\t\t\t\tresponsive: true,\n\t\t\t\tmaintainAspectRatio: false, \n\t\t\t\tscales: {\n\t\t\t\t\txAxes: [{\n\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\tstacked: true,\n\t\t\t\t\t\tbarPercentage: 1, \n\t\t\t\t\t\tbarThickness: 5, \n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t}, \n\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t}\n\t\t\t\t\t}],\n\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\tstacked: true, \n\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t}, \n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\tmin: 0\n\t\t\t\t\t\t}\n\t\t\t\t\t}]\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t}\n\t}\n\tvar chartWidget5 = function(){\n\t\t\n\t\t\n\t\t\n\t\t//#chart_widget_5\n\t\tif(jQuery('#chart_widget_5').length > 0 ){\n\t\t\t\tchartReinitialize('#chart_widget_5');\n\t\t\t\t\n\t\t\tnew Chartist.Line(\"#chart_widget_5\", {\n\t\t\t\tlabels: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\"],\n\t\t\t\tseries: [\n\t\t\t\t\t[4, 5, 1.5, 6, 7, 5.5, 5.8, 4.6]\n\t\t\t\t]\n\t\t\t}, {\n\t\t\t\tlow: 0,\n\t\t\t\tshowArea: 1,\n\t\t\t\tshowPoint: !0,\n\t\t\t\tshowLine: !0,\n\t\t\t\tfullWidth: !0,\n\t\t\t\tlineSmooth: !1,\n\t\t\t\tchartPadding: {\n\t\t\t\t\ttop: 4,\n\t\t\t\t\tright: 0,\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\tleft: 0\n\t\t\t\t},\n\t\t\t\taxisX: {\n\t\t\t\t\tshowLabel: !1,\n\t\t\t\t\tshowGrid: !1,\n\t\t\t\t\toffset: 0\n\t\t\t\t},\n\t\t\t\taxisY: {\n\t\t\t\t\tshowLabel: !1,\n\t\t\t\t\tshowGrid: !1,\n\t\t\t\t\toffset: 0\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\t\n\tvar chartWidget6 = function(){\n\t\t//#chart_widget_6\n\t\tif(jQuery('#chart_widget_6').length > 0 ){\n\t\t\t\n\t\t\tnew Chartist.Line(\"#chart_widget_6\", {\n\t\t\t\tlabels: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\"],\n\t\t\t\tseries: [\n\t\t\t\t\t[4, 5, 3.5, 5, 4, 5.5, 3.8, 4.6]\n\t\t\t\t]\n\t\t\t}, {\n\t\t\t\tlow: 0,\n\t\t\t\tshowArea: 1,\n\t\t\t\tshowPoint: !0,\n\t\t\t\tshowLine: !0,\n\t\t\t\tfullWidth: !0,\n\t\t\t\tlineSmooth: !1,\n\t\t\t\tchartPadding: {\n\t\t\t\t\ttop: 4,\n\t\t\t\t\tright: 0,\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\tleft: 0\n\t\t\t\t},\n\t\t\t\taxisX: {\n\t\t\t\t\tshowLabel: !1,\n\t\t\t\t\tshowGrid: !1,\n\t\t\t\t\toffset: 0\n\t\t\t\t},\n\t\t\t\taxisY: {\n\t\t\t\t\tshowLabel: !1,\n\t\t\t\t\tshowGrid: !1,\n\t\t\t\t\toffset: 0\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tvar chartWidget7 = function(){\n\t\t\n\t\t\n\t\t\n\t\t//#chart_widget_7\n\t\tif(jQuery('#chart_widget_7').length > 0 ){\n\t\t\tchartReinitialize('#chart_widget_7');\n\t\tconst chart_widget_7 = document.getElementById(\"chart_widget_7\").getContext('2d');\n\t\t//generate gradient\n\t\tconst chart_widget_7gradientStroke = chart_widget_7.createLinearGradient(0, 0, 0, 250);\n\t\tchart_widget_7gradientStroke.addColorStop(0, \"#ff2c53\");\n\t\tchart_widget_7gradientStroke.addColorStop(1, \"#ff2c53\");\n\n\t\t\t// chart_widget_7.attr('height', '100');\n\n\t\t\tnew Chart(chart_widget_7, {\n\t\t\t\ttype: 'bar',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [65, 59, 80, 81, 56, 55, 40, 88, 45, 95, 54, 76],\n\t\t\t\t\t\t\tborderColor: chart_widget_7gradientStroke,\n\t\t\t\t\t\t\tborderWidth: \"0\",\n\t\t\t\t\t\t\tbackgroundColor: chart_widget_7gradientStroke, \n\t\t\t\t\t\t\thoverBackgroundColor: chart_widget_7gradientStroke\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false,\n\t\t\t\t\tresponsive: true, \n\t\t\t\t\tmaintainAspectRatio: false,  \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 10\n\t\t\t\t\t\t\t}, \n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tbarPercentage: 0.6, \n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t\t}, \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tvar chartWidget8 = function(){\n\t\t//#chart_widget_8\n\t\tif(jQuery('#chart_widget_8').length > 0 ){\n\t\t\t\n\t\t\tnew Chartist.Line(\"#chart_widget_8\", {\n\t\t\t\tlabels: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\"],\n\t\t\t\tseries: [\n\t\t\t\t\t[4, 5, 1.5, 6, 7, 5.5, 5.8, 4.6]\n\t\t\t\t]\n\t\t\t}, {\n\t\t\t\tlow: 0,\n\t\t\t\tshowArea: !1,\n\t\t\t\tshowPoint: !0,\n\t\t\t\tshowLine: !0,\n\t\t\t\tfullWidth: !0,\n\t\t\t\tlineSmooth: !1,\n\t\t\t\tchartPadding: {\n\t\t\t\t\ttop: 4,\n\t\t\t\t\tright: 0,\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\tleft: 0\n\t\t\t\t},\n\t\t\t\taxisX: {\n\t\t\t\t\tshowLabel: !1,\n\t\t\t\t\tshowGrid: !1,\n\t\t\t\t\toffset: 0\n\t\t\t\t},\n\t\t\t\taxisY: {\n\t\t\t\t\tshowLabel: !1,\n\t\t\t\t\tshowGrid: !1,\n\t\t\t\t\toffset: 0\n\t\t\t\t}\n\t\t\t});\n\n\t\t}\n\t}\n\n\tvar chartWidget9 = function(){\n\t\t//#chart_widget_9\n\t\tif(jQuery('#chart_widget_9').length > 0 ){\n\t\tconst chart_widget_9 = document.getElementById(\"chart_widget_9\").getContext('2d');\n\t\tnew Chart(chart_widget_9, {\n\t\t\ttype: \"line\",\n\t\t\tdata: {\n\t\t\t\tlabels: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"January\", \"February\", \"March\", \"April\"],\n\t\t\t\tdatasets: [{\n\t\t\t\t\tlabel: \"Sales Stats\",\n\t\t\t\t\tbackgroundColor: \"#2780d4\",\n\t\t\t\t\tborderColor: '#2780d4',\n\t\t\t\t\tpointBackgroundColor: '#2780d4',\n\t\t\t\t\tpointBorderColor: '#2780d4',\n\t\t\t\t\tpointHoverBackgroundColor: '#2780d4',\n\t\t\t\t\tpointHoverBorderColor: '#2780d4',\n\t\t\t\t\tdata: [20, 10, 18, 15, 32, 18, 15, 22, 8, 6, 12, 13, 10, 18, 14, 24, 16, 12, 19, 21, 16, 14, 24, 21, 13, 15, 27, 29, 21, 11, 14, 19, 21, 17]\n\t\t\t\t}]\n\t\t\t},\n\t\t\toptions: {\n\t\t\t\ttitle: {\n\t\t\t\t\tdisplay: !1\n\t\t\t\t},\n\t\t\t\ttooltips: {\n\t\t\t\t\tintersect: !1,\n\t\t\t\t\tmode: \"nearest\",\n\t\t\t\t\txPadding: 10,\n\t\t\t\t\tyPadding: 10,\n\t\t\t\t\tcaretPadding: 10\n\t\t\t\t},\n\t\t\t\tlegend: {\n\t\t\t\t\tdisplay: !1\n\t\t\t\t},\n\t\t\t\tresponsive: !0,\n\t\t\t\tmaintainAspectRatio: !1,\n\t\t\t\thover: {\n\t\t\t\t\tmode: \"index\"\n\t\t\t\t},\n\t\t\t\tscales: {\n\t\t\t\t\txAxes: [{\n\t\t\t\t\t\tdisplay: !1,\n\t\t\t\t\t\tgridLines: !1,\n\t\t\t\t\t\tscaleLabel: {\n\t\t\t\t\t\t\tdisplay: !0,\n\t\t\t\t\t\t\tlabelString: \"Month\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}],\n\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\tdisplay: !1,\n\t\t\t\t\t\tgridLines: !1,\n\t\t\t\t\t\tscaleLabel: {\n\t\t\t\t\t\t\tdisplay: !0,\n\t\t\t\t\t\t\tlabelString: \"Value\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tbeginAtZero: !0\n\t\t\t\t\t\t}\n\t\t\t\t\t}]\n\t\t\t\t},\n\t\t\t\telements: {\n\t\t\t\t\tline: {\n\t\t\t\t\t\ttension: .15\n\t\t\t\t\t},\n\t\t\t\t\tpoint: {\n\t\t\t\t\t\tradius: 2,\n\t\t\t\t\t\tborderWidth: 1\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tlayout: {\n\t\t\t\t\tpadding: {\n\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\tright: 0,\n\t\t\t\t\t\ttop: 5,\n\t\t\t\t\t\tbottom: 0\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t}\n\t}\n\n\tvar chartWidget10 = function(){\n\t\t//#chart_widget_10\n\t\tif(jQuery('#chart_widget_10').length > 0 ){\n\n\t\tconst chart_widget_10 = document.getElementById(\"chart_widget_10\").getContext('2d');\n\n\t\tnew Chart(chart_widget_10, {\n\t\t\ttype: \"line\",\n\t\t\tdata: {\n\t\t\t\tlabels: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"],\n\t\t\t\tdatasets: [{\n\t\t\t\t\tlabel: \"Sales Stats\",\n\t\t\t\t\tbackgroundColor: \"#2780d4\",\n\t\t\t\t\tborderColor: '#2780d4',\n\t\t\t\t\tpointBackgroundColor: '#2780d4',\n\t\t\t\t\tpointBorderColor: '#2780d4',\n\t\t\t\t\tpointHoverBackgroundColor: '#2780d4',\n\t\t\t\t\tpointHoverBorderColor: '#2780d4',\n\t\t\t\t\tborderWidth: 0, \n\t\t\t\t\tdata: [20, 10, 18, 10, 32, 15, 15, 22, 18, 6, 12, 13]\n\t\t\t\t}]\n\t\t\t},\n\t\t\toptions: {\n\t\t\t\ttitle: {\n\t\t\t\t\tdisplay: !1\n\t\t\t\t},\n\t\t\t\ttooltips: {\n\t\t\t\t\tintersect: !1,\n\t\t\t\t\tmode: \"nearest\",\n\t\t\t\t\txPadding: 10,\n\t\t\t\t\tyPadding: 10,\n\t\t\t\t\tcaretPadding: 10\n\t\t\t\t},\n\t\t\t\tlegend: {\n\t\t\t\t\tdisplay: !1\n\t\t\t\t},\n\t\t\t\tresponsive: !0,\n\t\t\t\tmaintainAspectRatio: !1,\n\t\t\t\thover: {\n\t\t\t\t\tmode: \"index\"\n\t\t\t\t},\n\t\t\t\tscales: {\n\t\t\t\t\txAxes: [{\n\t\t\t\t\t\tdisplay: !1,\n\t\t\t\t\t\tgridLines: !1,\n\t\t\t\t\t\tscaleLabel: {\n\t\t\t\t\t\t\tdisplay: !0,\n\t\t\t\t\t\t\tlabelString: \"Month\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}],\n\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\tdisplay: !1,\n\t\t\t\t\t\tgridLines: !1,\n\t\t\t\t\t\tscaleLabel: {\n\t\t\t\t\t\t\tdisplay: !0,\n\t\t\t\t\t\t\tlabelString: \"Value\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tbeginAtZero: !0\n\t\t\t\t\t\t}\n\t\t\t\t\t}]\n\t\t\t\t},\n\t\t\t\telements: {\n\t\t\t\t\tline: {\n\t\t\t\t\t\ttension: .7\n\t\t\t\t\t},\n\t\t\t\t\tpoint: {\n\t\t\t\t\t\tradius: 0,\n\t\t\t\t\t\tborderWidth: 0\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tlayout: {\n\t\t\t\t\tpadding: {\n\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\tright: 0,\n\t\t\t\t\t\ttop: 5,\n\t\t\t\t\t\tbottom: 0\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t}\n\t}\n\tvar chartWidget11 = function(){\n\n\t\t//#chart_widget_11\n\t\tif(jQuery('#chart_widget_11').length > 0 ){\n\t\tconst chart_widget_11 = document.getElementById(\"chart_widget_11\").getContext('2d');\n\t\tnew Chart(chart_widget_11, {\n\t\t\ttype: \"line\",\n\t\t\tdata: {\n\t\t\t\tlabels: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\"],\n\t\t\t\tdatasets: [{\n\t\t\t\t\tlabel: \"Sales Stats\",\n\t\t\t\t\tbackgroundColor: \"rgba(98, 126, 234, .5)\",\n\t\t\t\t\tborderColor: '#709fba',\n\t\t\t\t\tpointBackgroundColor: '#709fba',\n\t\t\t\t\tpointBorderColor: '#709fba',\n\t\t\t\t\tpointHoverBackgroundColor: '#709fba',\n\t\t\t\t\tpointHoverBorderColor: '#709fba',\n\t\t\t\t\tdata: [0, 18, 14, 24, 16, 30]\n\t\t\t\t}]\n\t\t\t},\n\t\t\toptions: {\n\t\t\t\ttitle: {\n\t\t\t\t\tdisplay: !1\n\t\t\t\t},\n\t\t\t\ttooltips: {\n\t\t\t\t\tintersect: !1,\n\t\t\t\t\tmode: \"nearest\",\n\t\t\t\t\txPadding: 5,\n\t\t\t\t\tyPadding: 5,\n\t\t\t\t\tcaretPadding: 5\n\t\t\t\t},\n\t\t\t\tlegend: {\n\t\t\t\t\tdisplay: !1\n\t\t\t\t},\n\t\t\t\tresponsive: !0,\n\t\t\t\tmaintainAspectRatio: !1,\n\t\t\t\thover: {\n\t\t\t\t\tmode: \"index\"\n\t\t\t\t},\n\t\t\t\tscales: {\n\t\t\t\t\txAxes: [{\n\t\t\t\t\t\tdisplay: !1,\n\t\t\t\t\t\tgridLines: !1,\n\t\t\t\t\t\tscaleLabel: {\n\t\t\t\t\t\t\tdisplay: !0,\n\t\t\t\t\t\t\tlabelString: \"Month\"\n\t\t\t\t\t\t}, \n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tmax: 30, \n\t\t\t\t\t\t\tmin: 0\n\t\t\t\t\t\t}\n\t\t\t\t\t}],\n\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\tdisplay: !1,\n\t\t\t\t\t\tgridLines: !1,\n\t\t\t\t\t\tscaleLabel: {\n\t\t\t\t\t\t\tdisplay: !0,\n\t\t\t\t\t\t\tlabelString: \"Value\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tbeginAtZero: !0\n\t\t\t\t\t\t}\n\t\t\t\t\t}]\n\t\t\t\t},\n\t\t\t\telements: {\n\t\t\t\t\tline: {\n\t\t\t\t\t\ttension: .15\n\t\t\t\t\t},\n\t\t\t\t\tpoint: {\n\t\t\t\t\t\tradius: 2,\n\t\t\t\t\t\tborderWidth: 1\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tlayout: {\n\t\t\t\t\tpadding: {\n\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\tright: 0,\n\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\tbottom: 0\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t}\n\t}\n\tvar chartWidget14 = function(){\n\t\n\t\t//#chart_widget_14\n\t\tif(jQuery('#chart_widget_14').length > 0 ){\n\t\tconst chart_widget_14 = document.getElementById(\"chart_widget_14\");\n\t\tchart_widget_14.height = 200;\n\t\tnew Chart(chart_widget_14, {\n\t\t\ttype: 'line',\n\t\t\tdata: {\n\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\tlabels: [\"Jan\", \"Febr\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\tdatasets: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\tdata: [55, 30, 90, 41, 86, 45, 80],\n\t\t\t\t\t\tborderColor: '#3693FF',\n\t\t\t\t\t\tborderWidth: \"2\",\n\t\t\t\t\t\tbackgroundColor: 'transparent',  \n\t\t\t\t\t\tpointBackgroundColor: '#3693FF', \n\t\t\t\t\t\tpointRadius: 0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\toptions: {\n\t\t\t\tlegend: false, \n\t\t\t\tresponsive: true, \n\t\t\t\tmaintainAspectRatio: false, \n\t\t\t\tscales: {\n\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\tstepSize: 20, \n\t\t\t\t\t\t\tpadding: 0, \n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t}, \n\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\tdrawBorder: false, \n\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t}\n\t\t\t\t\t}],\n\t\t\t\t\txAxes: [{\n\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tpadding: 0, \n\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t}, \n\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t}\n\t\t\t\t\t}]\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t}\n\t}\n\t\n\tvar chartWidget15 = function(){\n\t\n\t\t//#chart_widget_15\n\t\tif(jQuery('#chart_widget_15').length > 0 ){\n\t\tconst chart_widget_15 = document.getElementById(\"chart_widget_15\");\n\t\tchart_widget_15.height = 200;\n\t\tnew Chart(chart_widget_15, {\n\t\t\ttype: 'line',\n\t\t\tdata: {\n\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\tlabels: [\"Jan\", \"Febr\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\tdatasets: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\tdata: [25, 60, 30, 71, 26, 85, 50],\n\t\t\t\t\t\tborderColor: '#2780d4',\n\t\t\t\t\t\tborderWidth: \"2\",\n\t\t\t\t\t\tbackgroundColor: 'transparent',  \n\t\t\t\t\t\tpointBackgroundColor: '#2780d4', \n\t\t\t\t\t\tpointRadius: 0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\toptions: {\n\t\t\t\tlegend: false, \n\t\t\t\tresponsive: true, \n\t\t\t\tmaintainAspectRatio: false, \n\t\t\t\tscales: {\n\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\tstepSize: 20, \n\t\t\t\t\t\t\tpadding: 0, \n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t}, \n\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\tdrawBorder: false, \n\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t}\n\t\t\t\t\t}],\n\t\t\t\t\txAxes: [{\n\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\tpadding: 0, \n\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t}, \n\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t}\n\t\t\t\t\t}]\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t}\n\t}\n\t\n\tvar chartWidget16 = function(){\n\t\t//#chart_widget_16\n\t\tif(jQuery('#chart_widget_16').length > 0 ){\n\n\t\t\tconst chart_widget_16 = document.getElementById(\"chart_widget_16\");\n\t\t\t\n\t\t\tchart_widget_16.height = 345;\n\n\t\t\tnew Chart(chart_widget_16, {\n\t\t\t\ttype: 'line',\n\t\t\t\tdata: {\n\t\t\t\t\tdefaultFontFamily: 'Poppins',\n\t\t\t\t\tlabels: [\"Jan\", \"Febr\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\"],\n\t\t\t\t\tdatasets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: \"My First dataset\",\n\t\t\t\t\t\t\tdata: [25, 60, 30, 71, 26, 85, 50],\n\t\t\t\t\t\t\tborderColor: 'rgba(34, 88, 191, 1)',\n\t\t\t\t\t\t\tborderWidth: \"2\",\n\t\t\t\t\t\t\tbackgroundColor: 'rgba(34, 88, 191, 1)',  \n\t\t\t\t\t\t\tpointBackgroundColor: 'rgba(34, 88, 191, 1)', \n\t\t\t\t\t\t\tpointRadius: 0\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tlegend: false, \n\t\t\t\t\tresponsive: true, \n\t\t\t\t\tmaintainAspectRatio: false,\n\t\t\t\t\ttooltips: {\n\t\t\t\t\t\tintersect: !1,\n\t\t\t\t\t\tmode: \"nearest\",\n\t\t\t\t\t\txPadding: 10,\n\t\t\t\t\t\tyPadding: 10,\n\t\t\t\t\t\tcaretPadding: 10\n\t\t\t\t\t}, \n\t\t\t\t\tscales: {\n\t\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tbeginAtZero: true, \n\t\t\t\t\t\t\t\tmax: 100, \n\t\t\t\t\t\t\t\tmin: 0, \n\t\t\t\t\t\t\t\tstepSize: 20, \n\t\t\t\t\t\t\t\tpadding: 0, \n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t}, \n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdrawBorder: false, \n\t\t\t\t\t\t\t\tdisplay: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}],\n\t\t\t\t\t\txAxes: [{\n\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\tticks: {\n\t\t\t\t\t\t\t\tpadding: 0, \n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tbeginAtZero: true\n\t\t\t\t\t\t\t}, \n\t\t\t\t\t\t\tgridLines: {\n\t\t\t\t\t\t\t\tdisplay: false, \n\t\t\t\t\t\t\t\tdrawBorder: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\t\n\tvar chartWidget17 = function(){\n\t\t//#chart_widget_17\n\t\tif(jQuery('#chart_widget_17').length > 0 ){\n\n\t\t\tlet data = [];\n\t\t\tconst totalPoints = 50;\n\n\t\t\tfunction getRandomData() {\n\t\t\t\tif (data.length > 0)\n\t\t\t\t\tdata = data.slice(1);\n\t\t\t\twhile (data.length < totalPoints) {\n\t\t\t\t\tvar prev = data.length > 0 ? data[data.length - 1] : 50,\n\t\t\t\t\t\ty = prev + Math.random() * 10 - 5;\n\t\t\t\t\tif (y < 0) {\n\t\t\t\t\t\ty = 0;\n\t\t\t\t\t} else if (y > 100) {\n\t\t\t\t\t\ty = 100;\n\t\t\t\t\t}\n\t\t\t\t\tdata.push(y);\n\t\t\t\t}\n\t\t\t\tconst res = [];\n\t\t\t\tfor (let i = 0; i < data.length; ++i) {\n\t\t\t\t\tres.push([i, data[i]])\n\t\t\t\t}\n\t\t\t\treturn res; \n\t\t\t\t\n\t\t\t}\n\n\t\t\t// Set up the control widget\n\t\t\tconst updateInterval = 1000;\n\n\t\t\t\tif(jQuery('#chart_widget_17').length > 0 ){\n\t\t\t\n\t\t\t\t const chart = jQuery.plot('#chart_widget_17', [getRandomData()], {\n\t\t\t\t\tcolors: ['#430b58'],\n\t\t\t\t\tseries: {\n\t\t\t\t\t\tlines: {\n\t\t\t\t\t\t\tshow: true,\n\t\t\t\t\t\t\tlineWidth: 0,\n\t\t\t\t\t\t\tfill: 0.9\n\t\t\t\t\t\t},\n\t\t\t\t\t\tshadowSize: 0\t// Drawing is faster without shadows\n\t\t\t\t\t},\n\t\t\t\t\tgrid: {\n\t\t\t\t\t\tborderColor: 'transparent',\n\t\t\t\t\t\tborderWidth: 0,\n\t\t\t\t\t\tlabelMargin: 0\n\t\t\t\t\t},\n\t\t\t\t\txaxis: {\n\t\t\t\t\t\tcolor: 'transparent',\n\t\t\t\t\t\tfont: {\n\t\t\t\t\t\t\tsize: 10,\n\t\t\t\t\t\t\tcolor: '#fff'\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tyaxis: {\n\t\t\t\t\t\tmin: 0,\n\t\t\t\t\t\tmax: 100,\n\t\t\t\t\t\tcolor: 'transparent',\n\t\t\t\t\t\tfont: {\n\t\t\t\t\t\t\tsize: 10,\n\t\t\t\t\t\t\tcolor: '#fff'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}); \n\n\t\t\t\tfunction update_chart() {\n\t\t\t\t\tchart.setData([getRandomData()]);\n\t\t\t\t\tchart.draw();\n\t\t\t\t\tsetTimeout(update_chart, updateInterval);\n\t\t\t\t}\n\t\t\t\n\t\t\t\tupdate_chart();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}\n\t\n\tvar widgetSparkLinedash = function(){\n\t\t/* Widget */\n\t\tif(jQuery('#widget_sparklinedash').length > 0 ){\t \n\t\t\t $(\"#widget_sparklinedash\").sparkline([10, 15, 26, 27, 28, 31, 34, 40, 41, 44, 49, 64, 68, 69, 72], {\n\t\t\t\ttype: \"bar\",\n\t\t\t\theight: \"40\",\n\t\t\t\twidth: \"40\",\n\t\t\t\tbarWidth: \"3\",\n\t\t\t\tresize: !0,\n\t\t\t\tbarSpacing: \"3\",\n\t\t\t\tbarColor: \"rgb(0, 171, 197)\"\n\t\t\t});\n\t\t}\n\t}\n\tvar widgetSparkBar = function(){\n\t\tif(jQuery('#widget_spark-bar').length > 0 ){\t\n\t\t\t$(\"#widget_spark-bar\").sparkline([33, 22, 68, 54, 8, 30, 74, 7, 36, 5, 41, 19, 43, 29, 38], {\n\t\t\t\ttype: \"bar\",\n\t\t\t\theight: \"40\",\n\t\t\t\tbarWidth: 3,\n\t\t\t\tbarSpacing: 3,\n\t\t\t\tbarColor: \"rgb(7, 135, 234)\"\n\t\t\t});\n\t\t}\t\n\t}\t\n\tvar widgetStackedBarChart = function(){\n\t\tif(jQuery('#widget_StackedBarChart').length > 0 ){\t\n\t\t\t$('#widget_StackedBarChart').sparkline([\n\t\t\t\t[1, 4, 2],\n\t\t\t\t[2, 3, 2],\n\t\t\t\t[3, 2, 2],\n\t\t\t\t[4, 1, 2]\n\t\t\t], {\n\t\t\t\t\ttype: \"bar\",\n\t\t\t\t\theight: \"40\",\n\t\t\t\t\tbarWidth: 3,\n\t\t\t\t\tbarSpacing: 3, \n\t\t\t\t\tstackedBarColor: ['#36b9d8', '#4bffa2', 'rgba(68, 0, 235, .8)']\n\t\t\t\t});\n\t\t}\n\t}\n\tvar widgetTristate = function(){\n\t\tif(jQuery('#widget_tristate').length > 0 ){\t\n\n\t\t\t$(\"#widget_tristate\").sparkline([1, 1, 0, 1, -1, -1, 1, -1, 0, 0, 1, 1], {\n\t\t\t\ttype: 'tristate',\n\t\t\t\theight: \"40\",\n\t\t\t\tbarWidth: 3,\n\t\t\t\tbarSpacing: 3, \n\t\t\t\tcolorMap: ['#36b9d8', '#4bffa2', 'rgba(68, 0, 235, .8)'], \n\t\t\t\tnegBarColor: 'rgba(245, 60, 121, .8)'\n\t\t\t});\n\t\t}\n\t}\n\tvar widgetCompositeBar = function(){\n\t\t\t// Composite\n\t\tif(jQuery('#widget_composite-bar').length > 0 ){\n\t\t\t$(\"#widget_composite-bar\").sparkline([73, 53, 50, 67, 3, 56, 19, 59, 37, 32, 40, 26, 71, 19, 4, 53, 55, 31, 37, 67, 10, 21], {\n\t\t\t\ttype: \"bar\",\n\t\t\t\theight: \"40\",\n\t\t\t\tbarWidth: \"3\",\n\t\t\t\tresize: !0,\n\t\t\t\t// barSpacing: \"7\",\n\t\t\t\tbarColor: \"rgb(68, 11, 89)\", \n\t\t\t\twidth: '100%'\n\t\t\t});\n\t\t}\t\n\t}\n\n\tvar chartReinitialize = function(selector, notInList = []){\n\t\tjQuery(selector).empty();\n\t\tjQuery(selector).each(function() {\n\t\t  var attributes = $.map(this.attributes, function(item) {\n\t\t\treturn item.name;\n\t\t  });\n\n\t\t  var thisObj = $(this);\n\t\t  $.each(attributes, function(i, item) {\n\t\t\tif(item != 'id' && (notInList.length === 0 || jQuery.inArray(item, notInList) === -1 )){\n\t\t\t\tthisObj.removeAttr(item);\n\t\t\t}\n\t\t  });\n\t\t});\n\t\t\n\t}\t\n\t\n\t/* Function ============ */\n\t\treturn {\n\t\t\tinit:function(){\n\t\t\t},\n\t\t\t\n\t\t\t\n\t\t\tload:function(){\n\t\t\t\t activityChart();\t\n\t\t\t\tactiveUser();\n\t\t\t\tchartWidget1();\t\n\t\t\t\tchartWidget2();\t\n\t\t\t\tchartWidget3();\t\t\n\t\t\t\tchartWidget4();\n\t\t\t\tchartWidget5();\n\t\t\t\tchartWidget6();\n\t\t\t\tchartWidget7();\n\t\t\t\tchartWidget8(); \n\t\t\t\tchartWidget9();\n\t\t\t\tchartWidget10();\n\t\t\t\tchartWidget11();\n\t\t\t\tchartWidget14();\n\t\t\t\tchartWidget15();\n\t\t\t\tchartWidget16();\n\t\t\t\tchartWidget17();\n\t\t\t\twidgetSparkLinedash(); \n\t\t\t\twidgetSparkBar();\n\t\t\t\twidgetStackedBarChart();\n\t\t\t\twidgetTristate();\n\t\t\t\twidgetCompositeBar();\n\t\t\t},\n\t\t\t\n\t\t\tresize:function(){\n\t\t\t\tchartWidget5();\n\t\t\t\tchartWidget6();\n\t\t\t\tchartWidget7();\n\t\t\t\tchartWidget8();\n\t\t\t}\n\t\t}\n\t\n\t}();\n\n\tjQuery(document).ready(function(){\n\t});\n\t\t\n\tjQuery(window).on('load',function(){\n\t\tdzChartlist.load();\n\t});\n\n\tjQuery(window).on('resize',function(){\n\t\tsetTimeout(function(){\n\t\t\tdzChartlist.resize();\t\n\t\t}, 500);\n\t\t\n\t});     \n\n})(jQuery);"
  },
  {
    "path": "src/main/resources/static/backend/js/styleSwitcher.js",
    "content": "\n\"use strict\"\nfunction addSwitcher()\n{\n\tvar dzSwitcher = '<div class=\"sidebar-right\"><div class=\"bg-overlay\"></div><a class=\"sidebar-right-trigger wave-effect wave-effect-x\" data-bs-toggle=\"tooltip\" data-placement=\"right\" data-original-title=\"Change Layout\" href=\"javascript:void(0);\"><span><i class=\"fa fa-cog fa-spin\"></i></span></a> <a class=\"sidebar-close-trigger\" href=\"javascript:void(0);\"><span><i class=\"la-times las\"></i></span></a><div class=\"sidebar-right-inner\"><h4>Pick your style <a href=\"javascript:void(0);\" onclick=\"deleteAllCookie()\" class=\"btn btn-primary btn-sm pull-right\">Delete All Cookie</a></h4><div class=\"card-tabs\"><ul class=\"nav nav-tabs\" role=\"tablist\"><li class=\"nav-item\"><a class=\"nav-link active\" href=\"#tab1\" data-bs-toggle=\"tab\">Theme</a></li><li class=\"nav-item\"><a class=\"nav-link\" href=\"#tab2\" data-bs-toggle=\"tab\">Header</a></li><li class=\"nav-item\"><a class=\"nav-link\" href=\"#tab3\" data-bs-toggle=\"tab\">Content</a></li></ul></div><div class=\"tab-content tab-content-default tabcontent-border\"><div class=\"fade tab-pane active show\" id=\"tab1\"><div class=\"admin-settings\"><div class=\"row\"><div class=\"col-sm-12\"><p>Background</p> <select class=\"default-select wide form-control\" id=\"theme_version\" name=\"theme_version\"><option value=\"light\">Light</option><option value=\"dark\">Dark</option> </select></div><div class=\"col-sm-6\"><p>Primary Color</p><div> <span data-placement=\"top\" data-bs-toggle=\"tooltip\" title=\"Color 1\"> <input class=\"chk-col-primary filled-in\" id=\"primary_color_1\" name=\"primary_bg\" type=\"radio\" value=\"color_1\"> <label for=\"primary_color_1\" class=\"bg-label-pattern\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_2\" name=\"primary_bg\" type=\"radio\" value=\"color_2\"> <label for=\"primary_color_2\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_3\" name=\"primary_bg\" type=\"radio\" value=\"color_3\"> <label for=\"primary_color_3\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_4\" name=\"primary_bg\" type=\"radio\" value=\"color_4\"> <label for=\"primary_color_4\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_5\" name=\"primary_bg\" type=\"radio\" value=\"color_5\"> <label for=\"primary_color_5\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_6\" name=\"primary_bg\" type=\"radio\" value=\"color_6\"> <label for=\"primary_color_6\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_7\" name=\"primary_bg\" type=\"radio\" value=\"color_7\"> <label for=\"primary_color_7\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_9\" name=\"primary_bg\" type=\"radio\" value=\"color_9\"> <label for=\"primary_color_9\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_10\" name=\"primary_bg\" type=\"radio\" value=\"color_10\"> <label for=\"primary_color_10\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_11\" name=\"primary_bg\" type=\"radio\" value=\"color_11\"> <label for=\"primary_color_11\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_12\" name=\"primary_bg\" type=\"radio\" value=\"color_12\"> <label for=\"primary_color_12\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_13\" name=\"primary_bg\" type=\"radio\" value=\"color_13\"> <label for=\"primary_color_13\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_14\" name=\"primary_bg\" type=\"radio\" value=\"color_14\"> <label for=\"primary_color_14\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"primary_color_15\" name=\"primary_bg\" type=\"radio\" value=\"color_15\"> <label for=\"primary_color_15\"></label> </span></div></div><div class=\"col-sm-6\"><p>Navigation Header</p><div> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_1\" name=\"navigation_header\" type=\"radio\" value=\"color_1\"> <label for=\"nav_header_color_1\" class=\"bg-label-pattern\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_2\" name=\"navigation_header\" type=\"radio\" value=\"color_2\"> <label for=\"nav_header_color_2\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_3\" name=\"navigation_header\" type=\"radio\" value=\"color_3\"> <label for=\"nav_header_color_3\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_4\" name=\"navigation_header\" type=\"radio\" value=\"color_4\"> <label for=\"nav_header_color_4\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_5\" name=\"navigation_header\" type=\"radio\" value=\"color_5\"> <label for=\"nav_header_color_5\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_6\" name=\"navigation_header\" type=\"radio\" value=\"color_6\"> <label for=\"nav_header_color_6\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_7\" name=\"navigation_header\" type=\"radio\" value=\"color_7\"> <label for=\"nav_header_color_7\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_8\" name=\"navigation_header\" type=\"radio\" value=\"color_8\"> <label for=\"nav_header_color_8\" class=\"border\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_9\" name=\"navigation_header\" type=\"radio\" value=\"color_9\"> <label for=\"nav_header_color_9\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_10\" name=\"navigation_header\" type=\"radio\" value=\"color_10\"> <label for=\"nav_header_color_10\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_11\" name=\"navigation_header\" type=\"radio\" value=\"color_11\"> <label for=\"nav_header_color_11\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_12\" name=\"navigation_header\" type=\"radio\" value=\"color_12\"> <label for=\"nav_header_color_12\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_13\" name=\"navigation_header\" type=\"radio\" value=\"color_13\"> <label for=\"nav_header_color_13\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_14\" name=\"navigation_header\" type=\"radio\" value=\"color_14\"> <label for=\"nav_header_color_14\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"nav_header_color_15\" name=\"navigation_header\" type=\"radio\" value=\"color_15\"> <label for=\"nav_header_color_15\"></label> </span></div></div><div class=\"col-sm-6\"><p>Header</p><div> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_1\" name=\"header_bg\" type=\"radio\" value=\"color_1\"> <label for=\"header_color_1\" class=\"bg-label-pattern\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_2\" name=\"header_bg\" type=\"radio\" value=\"color_2\"> <label for=\"header_color_2\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_3\" name=\"header_bg\" type=\"radio\" value=\"color_3\"> <label for=\"header_color_3\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_4\" name=\"header_bg\" type=\"radio\" value=\"color_4\"> <label for=\"header_color_4\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_5\" name=\"header_bg\" type=\"radio\" value=\"color_5\"> <label for=\"header_color_5\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_6\" name=\"header_bg\" type=\"radio\" value=\"color_6\"> <label for=\"header_color_6\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_7\" name=\"header_bg\" type=\"radio\" value=\"color_7\"> <label for=\"header_color_7\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_8\" name=\"header_bg\" type=\"radio\" value=\"color_8\"> <label for=\"header_color_8\" class=\"border\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_9\" name=\"header_bg\" type=\"radio\" value=\"color_9\"> <label for=\"header_color_9\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_10\" name=\"header_bg\" type=\"radio\" value=\"color_10\"> <label for=\"header_color_10\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_11\" name=\"header_bg\" type=\"radio\" value=\"color_11\"> <label for=\"header_color_11\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_12\" name=\"header_bg\" type=\"radio\" value=\"color_12\"> <label for=\"header_color_12\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_13\" name=\"header_bg\" type=\"radio\" value=\"color_13\"> <label for=\"header_color_13\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_14\" name=\"header_bg\" type=\"radio\" value=\"color_14\"> <label for=\"header_color_14\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"header_color_15\" name=\"header_bg\" type=\"radio\" value=\"color_15\"> <label for=\"header_color_15\"></label> </span></div></div><div class=\"col-sm-6\"><p>Sidebar</p><div> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_1\" name=\"sidebar_bg\" type=\"radio\" value=\"color_1\"> <label for=\"sidebar_color_1\" class=\"bg-label-pattern\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_2\" name=\"sidebar_bg\" type=\"radio\" value=\"color_2\"> <label for=\"sidebar_color_2\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_3\" name=\"sidebar_bg\" type=\"radio\" value=\"color_3\"> <label for=\"sidebar_color_3\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_4\" name=\"sidebar_bg\" type=\"radio\" value=\"color_4\"> <label for=\"sidebar_color_4\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_5\" name=\"sidebar_bg\" type=\"radio\" value=\"color_5\"> <label for=\"sidebar_color_5\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_6\" name=\"sidebar_bg\" type=\"radio\" value=\"color_6\"> <label for=\"sidebar_color_6\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_7\" name=\"sidebar_bg\" type=\"radio\" value=\"color_7\"> <label for=\"sidebar_color_7\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_8\" name=\"sidebar_bg\" type=\"radio\" value=\"color_8\"> <label for=\"sidebar_color_8\" class=\"border\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_9\" name=\"sidebar_bg\" type=\"radio\" value=\"color_9\"> <label for=\"sidebar_color_9\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_10\" name=\"sidebar_bg\" type=\"radio\" value=\"color_10\"> <label for=\"sidebar_color_10\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_11\" name=\"sidebar_bg\" type=\"radio\" value=\"color_11\"> <label for=\"sidebar_color_11\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_12\" name=\"sidebar_bg\" type=\"radio\" value=\"color_12\"> <label for=\"sidebar_color_12\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_13\" name=\"sidebar_bg\" type=\"radio\" value=\"color_13\"> <label for=\"sidebar_color_13\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_14\" name=\"sidebar_bg\" type=\"radio\" value=\"color_14\"> <label for=\"sidebar_color_14\"></label> </span> <span> <input class=\"chk-col-primary filled-in\" id=\"sidebar_color_15\" name=\"sidebar_bg\" type=\"radio\" value=\"color_15\"> <label for=\"sidebar_color_15\"></label> </span></div></div></div></div></div><div class=\"fade tab-pane\" id=\"tab2\"><div class=\"admin-settings\"><div class=\"row\"><div class=\"col-sm-6\"><p>Layout</p> <select class=\"default-select wide form-control\" id=\"theme_layout\" name=\"theme_layout\"><option value=\"vertical\">Vertical</option><option value=\"horizontal\">Horizontal</option> </select></div><div class=\"col-sm-6\"><p>Header position</p> <select class=\"default-select wide form-control\" id=\"header_position\" name=\"header_position\"><option value=\"static\">Static</option><option value=\"fixed\">Fixed</option> </select></div><div class=\"col-sm-6\"><p>Sidebar</p> <select class=\"default-select wide form-control\" id=\"sidebar_style\" name=\"sidebar_style\"><option value=\"full\">Full</option><option value=\"mini\">Mini</option><option value=\"compact\">Compact</option><option value=\"modern\">Modern</option><option value=\"overlay\">Overlay</option><option value=\"icon-hover\">Icon-hover</option> </select></div><div class=\"col-sm-6\"><p>Sidebar position</p> <select class=\"default-select wide form-control\" id=\"sidebar_position\" name=\"sidebar_position\"><option value=\"static\">Static</option><option value=\"fixed\">Fixed</option> </select></div></div></div></div><div class=\"fade tab-pane\" id=\"tab3\"><div class=\"admin-settings\"><div class=\"row\"><div class=\"col-sm-6\"><p>Container</p> <select class=\"default-select wide form-control\" id=\"container_layout\" name=\"container_layout\"><option value=\"wide\">Wide</option><option value=\"boxed\">Boxed</option><option value=\"wide-boxed\">Wide Boxed</option> </select></div><div class=\"col-sm-6\"><p>Body Font</p> <select class=\"default-select wide form-control\" id=\"typography\" name=\"typography\"><option value=\"roboto\">Roboto</option><option value=\"poppins\">Poppins</option><option value=\"opensans\">Open Sans</option><option value=\"HelveticaNeue\">HelveticaNeue</option> </select></div></div></div></div></div></div></div>';\n\t\n\t\n\tvar demoPanel = '<div class=\"dz-demo-panel\"><div class=\"bg-close\"></div><a class=\"dz-demo-trigger\" data-toggle=\"tooltip\" data-placement=\"right\" data-original-title=\"Check out more demos\" href=\"javascript:void(0)\"><span><i class=\"las la-tint\"></i></span></a><div class=\"dz-demo-inner\"><a href=\"javascript:void(0);\" class=\"btn btn-primary btn-sm px-2 py-1 mb-3\" onclick=\"deleteAllCookie()\">Delete All Cookie</a><div class=\"dz-demo-header\"><h4>Select A Demo</h4><a class=\"dz-demo-close\" href=\"javascript:void(0)\"><span><i class=\"las la-times\"></i></span></a></div><div class=\"dz-demo-content\"><div class=\"dz-wrapper\"><div class=\"overlay-bx  dz-demo-bx demo-active\"><div class=\"overlay-wrapper \"><img src=\"/backend/images/demo/pic1.jpg\" alt=\"\" class=\"w-100\"></div><div class=\"overlay-layer\"><a href=\"javascript:void(0);\" data-theme=\"1\" class=\"btn dz_theme_demo btn-secondary btn-sm mr-2\">Demo-1</a></div></div><h5 class=\"text-black\">Demo 1</h5><hr><div class=\"overlay-bx  dz-demo-bx\"><div class=\"overlay-wrapper \"><img src=\"/backend/images/demo/pic2.jpg\" alt=\"\" class=\"w-100\"></div><div class=\"overlay-layer\"><a href=\"javascript:void(0);\" data-theme=\"2\" class=\"btn dz_theme_demo btn-secondary btn-sm mr-2\">Demo-2</a></div></div><h5 class=\"text-black\">Demo 2</h5><hr><div class=\"overlay-bx  dz-demo-bx\"><div class=\"overlay-wrapper \"><img src=\"/backend/images/demo/pic3.jpg\" alt=\"\" class=\"w-100\"></div><div class=\"overlay-layer\"><a href=\"javascript:void(0);\" data-theme=\"3\" class=\"btn dz_theme_demo btn-secondary btn-sm mr-2\">Demo-3</a></div></div><h5 class=\"text-black\">Demo 3</h5><hr><div class=\"overlay-bx  dz-demo-bx\"><div class=\"overlay-wrapper \"><img src=\"/backend/images/demo/pic4.jpg\" alt=\"\" class=\"w-100\"></div><div class=\"overlay-layer\"><a href=\"javascript:void(0);\" data-theme=\"4\" class=\"btn dz_theme_demo btn-secondary btn-sm mr-2\">Demo-4</a></div></div><h5 class=\"text-black\">Demo 4</h5><hr><div class=\"overlay-bx  dz-demo-bx\"><div class=\"overlay-wrapper \"><img src=\"/backend/images/demo/pic5.jpg\" alt=\"\" class=\"w-100\"></div><div class=\"overlay-layer\"><a href=\"javascript:void(0);\" data-theme=\"5\" class=\"btn dz_theme_demo btn-secondary btn-sm mr-2\">Demo-5</a></div></div><h5 class=\"text-black\">Demo 5</h5></div></div><div class=\"fs-12 pt-3\"><span class=\"text-danger\">*Note :</span> This theme switcher is not part of product. It is only for demo. you will get all guideline in documentation. please check <a href=\"javascript:void(0);\" class=\"text-primary\">documentation.</a></div></div></div>';\n\t\n\tif($(\"#dzSwitcher\").length == 0) {\n\t\tjQuery('body').append(dzSwitcher+demoPanel);\n\t\t\n\t\t\t\n\t\t //const ps = new PerfectScrollbar('.sidebar-right-inner');\n\t\t //console.log(ps.reach.x);\t\n\t\t\t//ps.isRtl = false;\n\t\t\t\t\n\t\t  $('.sidebar-right-trigger').on('click', function() {\n\t\t\t\t$('.sidebar-right').toggleClass('show');\n\t\t  });\n\t\t  $('.sidebar-close-trigger,.bg-overlay').on('click', function() {\n\t\t\t\t$('.sidebar-right').removeClass('show');\n\t\t  });\n\t}\n}\n\n(function($) {\n    \"use strict\"\n\taddSwitcher();\n\n\t\n    const body = $('body');\n    const html = $('html');\n\n    //get the DOM elements from right sidebar\n    const typographySelect = $('#typography');\n    const versionSelect = $('#theme_version');\n    const layoutSelect = $('#theme_layout');\n    const sidebarStyleSelect = $('#sidebar_style');\n    const sidebarPositionSelect = $('#sidebar_position');\n    const headerPositionSelect = $('#header_position');\n    const containerLayoutSelect = $('#container_layout');\n    const themeDirectionSelect = $('#theme_direction');\n\n    //change the theme typography controller\n    typographySelect.on('change', function() {\n        body.attr('data-typography', this.value);\n\t\t\n\t\tsetCookie('typography', this.value);\n    });\n\n    //change the theme version controller\n    versionSelect.on('change', function() {\n\t\tbody.attr('data-theme-version', this.value);\n\t\t\n\t\t/* if(this.value === 'dark'){\n\t\t\t//jQuery(\".nav-header .logo-abbr\").attr(\"src\", \"./images/logo-white.png\");\n\t\t\tjQuery(\".nav-header .logo-compact\").attr(\"src\", \"images/logo-text-white.png\");\n\t\t\tjQuery(\".nav-header .brand-title\").attr(\"src\", \"images/logo-text-white.png\");\n\t\t\t\n\t\t\tsetCookie('logo_src', './images/logo-white.png');\n\t\t\tsetCookie('logo_src2', 'images/logo-text-white.png');\n\t\t}else{\n\t\t\tjQuery(\".nav-header .logo-abbr\").attr(\"src\", \"./images/logo.png\");\n\t\t\tjQuery(\".nav-header .logo-compact\").attr(\"src\", \"images/logo-text.png\");\n\t\t\tjQuery(\".nav-header .brand-title\").attr(\"src\", \"images/logo-text.png\");\n\t\t\t\n\t\t\tsetCookie('logo_src', './images/logo.png');\n\t\t\tsetCookie('logo_src2', 'images/logo-text.png');\n\t\t} */\n\t\t\n\t\tsetCookie('version', this.value);\n    }); \n\t\n\t\n\n    //change the sidebar position controller\n    sidebarPositionSelect.on('change', function() {\n        this.value === \"fixed\" && body.attr('data-sidebar-style') === \"modern\" && body.attr('data-layout') === \"vertical\" ? \n        alert(\"Sorry, Modern sidebar layout dosen't support fixed position!\") :\n        body.attr('data-sidebar-position', this.value);\n\t\tsetCookie('sidebarPosition', this.value);\n    });\n\n    //change the header position controller\n    headerPositionSelect.on('change', function() {\n        body.attr('data-header-position', this.value);\n\t\tsetCookie('headerPosition', this.value);\n    });\n\n    //change the theme direction (rtl, ltr) controller\n    themeDirectionSelect.on('change', function() {\n        html.attr('dir', this.value);\n        html.attr('class', '');\n        html.addClass(this.value);\n        body.attr('direction', this.value);\n\t\tsetCookie('direction', this.value);\n    });\n\n    //change the theme layout controller\n    layoutSelect.on('change', function() {\n        if(body.attr('data-sidebar-style') === 'overlay') {\n            body.attr('data-sidebar-style', 'full');\n            body.attr('data-layout', this.value);\n            return;\n        }\n\n        body.attr('data-layout', this.value);\n\t\tsetCookie('layout', this.value);\n    });\n    \n    //change the container layout controller\n    containerLayoutSelect.on('change', function() {\n        if(this.value === \"boxed\") {\n\n            if(body.attr('data-layout') === \"vertical\" && body.attr('data-sidebar-style') === \"full\") {\n                body.attr('data-sidebar-style', 'overlay');\n                body.attr('data-container', this.value);\n                \n                setTimeout(function(){\n                    $(window).trigger('resize');\n                },200);\n                \n                return;\n            }\n            \n            \n        }\n\n        body.attr('data-container', this.value);\n\t\tsetCookie('containerLayout', this.value);\n    });\n\n    //change the sidebar style controller\n    sidebarStyleSelect.on('change', function() {\n        if(body.attr('data-layout') === \"horizontal\") {\n            if(this.value === \"overlay\") {\n                alert(\"Sorry! Overlay is not possible in Horizontal layout.\");\n                return;\n            }\n        }\n\n        if(body.attr('data-layout') === \"vertical\") {\n            if(body.attr('data-container') === \"boxed\" && this.value === \"full\") {\n                alert(\"Sorry! Full menu is not available in Vertical Boxed layout.\");\n                return;\n            }\n\n            if(this.value === \"modern\" && body.attr('data-sidebar-position') === \"fixed\") {\n                alert(\"Sorry! Modern sidebar layout is not available in the fixed position. Please change the sidebar position into Static.\");\n                return;\n            }\n        }\n\n        body.attr('data-sidebar-style', this.value);\n\n         if(body.attr('data-sidebar-style') === 'icon-hover') {\n            $('.deznav').on('hover',function() {\n\t\t\t$('#main-wrapper').addClass('iconhover-toggle'); \n            }, function() {\n\t\t\t$('#main-wrapper').removeClass('iconhover-toggle'); \n            });\n        } \n\t\t\n\t\tsetCookie('sidebarStyle', this.value);\n\t});\n\n    \n\t\n\t/* jQuery(\"#nav_header_color_1\").on('click',function(){\n\t\tjQuery(\".nav-header .logo-abbr\").attr(\"src\", \"./images/logo.png\");\n\t\tsetCookie('logo_src', './images/logo.png');\n\t\treturn false;\n    }); */\n    \n\t/* jQuery(\"#sidebar_color_2, #sidebar_color_3, #sidebar_color_4, #sidebar_color_5, #sidebar_color_6, #sidebar_color_7, #sidebar_color_8, #sidebar_color_9, #sidebar_color_10, #sidebar_color_11, #sidebar_color_12, #sidebar_color_13, #sidebar_color_14, #sidebar_color_15\").on('click',function(){\n\t\tjQuery(\".nav-header .logo-abbr\").attr(\"src\", \"./images/logo-white.png\");\n\t\tjQuery(\".nav-header .brand-title\").attr(\"src\", \"./images/logo-text-white.png\");\n\t\tsetCookie('logo_src', './images/logo-white.png');\n\t\treturn false;\n    }); */\n   \n    /* jQuery(\"#nav_header_color_3\").on('click',function(){\n\t\tjQuery(\".nav-header .logo-abbr\").attr(\"src\", \"./images/logo-white.png\");\n\t\tsetCookie('logo_src', './images/logo-white.png');\n\t\treturn false;\n    }); */\n\n\t\n\t//change the nav-header background controller\n    $('input[name=\"navigation_header\"]').on('click', function() {\n\t\tbody.attr('data-nav-headerbg', this.value);\n\t\tsetCookie('navheaderBg', this.value);\n    });\n\t\n    //change the header background controller\n    $('input[name=\"header_bg\"]').on('click', function() {\n        body.attr('data-headerbg', this.value);\n\t\tsetCookie('headerBg', this.value);\n    });\n\n    //change the sidebar background controller\n    $('input[name=\"sidebar_bg\"]').on('click', function() {\n        body.attr('data-sibebarbg', this.value);\n\t\tsetCookie('sidebarBg', this.value);\n    });\n\t\n\t//change the primary color controller\n    $('input[name=\"primary_bg\"]').on('click', function() {\n        body.attr('data-primary', this.value);\n\t\tsetCookie('primary', this.value);\n    });\n\t\n\t\n\n})(jQuery);\n\n\n"
  },
  {
    "path": "src/main/resources/static/backend/vendor/jquery-nice-select/css/nice-select.css",
    "content": ".nice-select {\n  -webkit-tap-highlight-color: transparent;\n  background-color: #fff;\n  border-radius: 5px;\n  border: solid 1px #e8e8e8;\n  box-sizing: border-box;\n  clear: both;\n  cursor: pointer;\n  display: block;\n  float: left;\n  font-family: inherit;\n  font-size: 14px;\n  font-weight: normal;\n  height: 42px;\n  line-height: 40px;\n  outline: none;\n  padding-left: 18px;\n  padding-right: 30px;\n  position: relative;\n  text-align: left !important;\n  -webkit-transition: all 0.2s ease-in-out;\n  transition: all 0.2s ease-in-out;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  white-space: nowrap;\n  width: auto; }\n  .nice-select:hover {\n    border-color: #dbdbdb; }\n  .nice-select:active, .nice-select.open, .nice-select:focus {\n    border-color: #999; }\n  .nice-select:after {\n    border-bottom: 3px solid #eee;\n    border-right: 3px solid #eee;\n    content: '';\n    display: block;\n    height: 10px;\n    margin-top: -6px;\n    pointer-events: none;\n    position: absolute;\n    right: 8px;\n    top: 50%;\n\tmargin-right:10px;\n    -webkit-transform-origin: 66% 66%;\n        -ms-transform-origin: 66% 66%;\n            transform-origin: 66% 66%;\n    -webkit-transform: rotate(45deg);\n        -ms-transform: rotate(45deg);\n            transform: rotate(45deg);\n    -webkit-transition: all 0.15s ease-in-out;\n    transition: all 0.15s ease-in-out;\n    width: 10px; }\n  .nice-select.open:after {\n    -webkit-transform: rotate(-135deg);\n        -ms-transform: rotate(-135deg);\n            transform: rotate(-135deg); }\n  .nice-select.open .list {\n    opacity: 1;\n    pointer-events: auto;\n    -webkit-transform: scale(1) translateY(0);\n        -ms-transform: scale(1) translateY(0);\n            transform: scale(1) translateY(0); }\n  .nice-select.disabled {\n    border-color: #ededed;\n    color: #999;\n    pointer-events: none; }\n    .nice-select.disabled:after {\n      border-color: #cccccc; }\n  .nice-select.wide {\n    width: 100%;\n\tline-height:44px;\n\t}\n    .nice-select.wide .list {\n      left: 0 !important;\n      right: 0 !important; }\n  .nice-select.right {\n    float: right; }\n    .nice-select.right .list {\n      left: auto;\n      right: 0; }\n  .nice-select.small {\n    font-size: 12px;\n    height: 36px;\n    line-height: 34px; }\n    .nice-select.small:after {\n      height: 4px;\n      width: 4px; }\n    .nice-select.small .option {\n      line-height: 34px;\n      min-height: 34px; }\n  .nice-select .list {\n    background-color: #fff;\n    border-radius: 5px;\n    box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);\n    box-sizing: border-box;\n    margin-top: 4px;\n    opacity: 0;\n    overflow: hidden;\n    padding: 0;\n    pointer-events: none;\n    position: absolute;\n    top: 100%;\n    left: 0;\n    -webkit-transform-origin: 50% 0;\n        -ms-transform-origin: 50% 0;\n            transform-origin: 50% 0;\n    -webkit-transform: scale(0.75) translateY(-21px);\n        -ms-transform: scale(0.75) translateY(-21px);\n            transform: scale(0.75) translateY(-21px);\n    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;\n    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;\n    z-index: 9; }\n    .nice-select .list:hover .option:not(:hover) {\n      background-color: transparent !important; }\n  .nice-select .option {\n    cursor: pointer;\n    font-weight: 400;\n    line-height: 40px;\n    list-style: none;\n    min-height: 40px;\n    outline: none;\n    padding-left: 18px;\n    padding-right: 29px;\n    text-align: left;\n    -webkit-transition: all 0.2s;\n    transition: all 0.2s; }\n    .nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {\n      background-color: #f6f6f6; }\n    .nice-select .option.selected {\n      font-weight: bold; }\n    .nice-select .option.disabled {\n      background-color: transparent;\n      color: #999;\n      cursor: default; }\n\n.no-csspointerevents .nice-select .list {\n  display: none; }\n\n.no-csspointerevents .nice-select.open .list {\n  display: block; }\n"
  },
  {
    "path": "src/main/resources/static/backend/vendor/owl-carousel/owl.carousel.css",
    "content": "/* Owl Carousel - Animate Plugin */\r\r\n.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{-webkit-transition:height .5s ease-in-out;-moz-transition:height .5s ease-in-out;-ms-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.owl-carousel .owl-stage:after{content:\".\";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-controls .owl-dot,.owl-carousel .owl-controls .owl-nav .owl-next,.owl-carousel .owl-controls .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loaded{display:block}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel .owl-refresh .owl-item{display:none}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel.owl-text-select-on .owl-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.owl-carousel .owl-grab{cursor:move;cursor:-webkit-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.no-js .owl-carousel{display:block}.owl-carousel .owl-item .owl-lazy{opacity:0;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;-webkit-transition:scale .1s ease;-moz-transition:scale .1s ease;-ms-transition:scale .1s ease;-o-transition:scale .1s ease;transition:scale .1s ease}.owl-carousel .owl-video-play-icon:hover{-webkit-transition:scale(1.3,1.3);-moz-transition:scale(1.3,1.3);-ms-transition:scale(1.3,1.3);-o-transition:scale(1.3,1.3);transition:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1}"
  },
  {
    "path": "src/main/resources/static/backend/vendor/owl-carousel/owl.carousel.js",
    "content": "/**\r * Owl Carousel v2.2.1\r * Copyright 2013-2017 David Deutsch\r * Licensed under  ()\r */\r!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:[\"busy\"],animating:[\"busy\"],dragging:[\"interacting\"]}},a.each([\"onResize\",\"onThrottledResize\"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:\"swing\",info:!1,nestedItemSelector:!1,itemElement:\"div\",stageElement:\"div\",refreshClass:\"owl-refresh\",loadedClass:\"owl-loaded\",loadingClass:\"owl-loading\",rtlClass:\"owl-rtl\",responsiveClass:\"owl-responsive\",dragClass:\"owl-drag\",itemClass:\"owl-item\",stageClass:\"owl-stage\",stageOuterClass:\"owl-stage-outer\",grabClass:\"owl-grab\"},e.Width={Default:\"default\",Inner:\"inner\",Outer:\"outer\"},e.Type={Event:\"event\",State:\"state\"},e.Plugins={},e.Workers=[{filter:[\"width\",\"settings\"],run:function(){this._width=this.$element.width()}},{filter:[\"width\",\"items\",\"settings\"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:[\"items\",\"settings\"],run:function(){this.$stage.children(\".cloned\").remove()}},{filter:[\"width\",\"items\",\"settings\"],run:function(a){var b=this.settings.margin||\"\",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:\"auto\",\"margin-left\":d?b:\"\",\"margin-right\":d?\"\":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:[\"width\",\"items\",\"settings\"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:[\"items\",\"settings\"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h=\"\",i=\"\";for(g/=2;g--;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i;this._clones=b,a(h).addClass(\"cloned\").appendTo(this.$stage),a(i).addClass(\"cloned\").prependTo(this.$stage)}},{filter:[\"width\",\"items\",\"settings\"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:[\"width\",\"items\",\"settings\"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,c={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,\"padding-left\":a||\"\",\"padding-right\":a||\"\"};this.$stage.css(c)}},{filter:[\"width\",\"items\",\"settings\"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:[\"items\"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr(\"style\")}},{filter:[\"width\",\"items\",\"settings\"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:[\"position\"],run:function(){this.animate(this.coordinates(this._current))}},{filter:[\"width\",\"position\",\"items\",\"settings\"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,\"<=\",g)&&this.op(a,\">\",h)||this.op(b,\"<\",g)&&this.op(b,\">\",h))&&i.push(c);this.$stage.children(\".active\").removeClass(\"active\"),this.$stage.children(\":eq(\"+i.join(\"), :eq(\")+\")\").addClass(\"active\"),this.settings.center&&(this.$stage.children(\".center\").removeClass(\"center\"),this.$stage.children().eq(this.current()).addClass(\"center\"))}}],e.prototype.initialize=function(){if(this.enter(\"initializing\"),this.trigger(\"initialize\"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is(\"pre-loading\")){var b,c,e;b=this.$element.find(\"img\"),c=this.settings.nestedItemSelector?\".\"+this.settings.nestedItemSelector:d,e=this.$element.children(c).width(),b.length&&e<=0&&this.preloadAutoWidthImages(b)}this.$element.addClass(this.options.loadingClass),this.$stage=a(\"<\"+this.settings.stageElement+' class=\"'+this.settings.stageClass+'\"/>').wrap('<div class=\"'+this.settings.stageOuterClass+'\"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(\":visible\")?this.refresh():this.invalidate(\"width\"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave(\"initializing\"),this.trigger(\"initialized\")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),\"function\"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr(\"class\",this.$element.attr(\"class\").replace(new RegExp(\"(\"+this.options.responsiveClass+\"-)\\\\S+\\\\s\",\"g\"),\"$1\"+d))):e=a.extend({},this.options),this.trigger(\"change\",{property:{name:\"settings\",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate(\"settings\"),this.trigger(\"changed\",{property:{name:\"settings\",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger(\"prepare\",{content:b});return c.data||(c.data=a(\"<\"+this.settings.itemElement+\"/>\").addClass(this.options.itemClass).append(b)),this.trigger(\"prepared\",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b<c;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is(\"valid\")&&this.enter(\"valid\")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter(\"refreshing\"),this.trigger(\"refresh\"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave(\"refreshing\"),this.trigger(\"refreshed\")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(\":visible\")&&(this.enter(\"resizing\"),this.trigger(\"resize\").isDefaultPrevented()?(this.leave(\"resizing\"),!1):(this.invalidate(\"width\"),this.refresh(),this.leave(\"resizing\"),void this.trigger(\"resized\")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+\".owl.core\",a.proxy(this.onTransitionEnd,this)),this.settings.responsive!==!1&&this.on(b,\"resize\",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on(\"mousedown.owl.core\",a.proxy(this.onDragStart,this)),this.$stage.on(\"dragstart.owl.core selectstart.owl.core\",function(){return!1})),this.settings.touchDrag&&(this.$stage.on(\"touchstart.owl.core\",a.proxy(this.onDragStart,this)),this.$stage.on(\"touchcancel.owl.core\",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css(\"transform\").replace(/.*\\(|\\)| /g,\"\").split(\",\"),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is(\"animating\")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate(\"position\")),this.$element.toggleClass(this.options.grabClass,\"mousedown\"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on(\"mouseup.owl.core touchend.owl.core\",a.proxy(this.onDragEnd,this)),a(c).one(\"mousemove.owl.core touchmove.owl.core\",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on(\"mousemove.owl.core touchmove.owl.core\",a.proxy(this.onDragMove,this)),Math.abs(d.x)<Math.abs(d.y)&&this.is(\"valid\")||(b.preventDefault(),this.enter(\"dragging\"),this.trigger(\"drag\"))},this)))},e.prototype.onDragMove=function(a){var b=null,c=null,d=null,e=this.difference(this._drag.pointer,this.pointer(a)),f=this.difference(this._drag.stage.start,e);this.is(\"dragging\")&&(a.preventDefault(),this.settings.loop?(b=this.coordinates(this.minimum()),c=this.coordinates(this.maximum()+1)-b,f.x=((f.x-b)%c+c)%c+b):(b=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),c=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),d=this.settings.pullDrag?-1*e.x/5:0,f.x=Math.max(Math.min(f.x,b+d),c+d)),this._drag.stage.current=f,this.animate(f.x))},e.prototype.onDragEnd=function(b){var d=this.difference(this._drag.pointer,this.pointer(b)),e=this._drag.stage.current,f=d.x>0^this.settings.rtl?\"left\":\"right\";a(c).off(\".owl.core\"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is(\"dragging\")||!this.is(\"valid\"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate(\"position\"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one(\"click.owl.core\",function(){return!1})),this.is(\"dragging\")&&(this.leave(\"dragging\"),this.trigger(\"dragged\"))},e.prototype.closest=function(b,c){var d=-1,e=30,f=this.width(),g=this.coordinates();return this.settings.freeDrag||a.each(g,a.proxy(function(a,h){return\"left\"===c&&b>h-e&&b<h+e?d=a:\"right\"===c&&b>h-f-e&&b<h-f+e?d=a+1:this.op(b,\"<\",h)&&this.op(b,\">\",g[a+1]||h-f)&&(d=\"left\"===c?a+1:a),d===-1},this)),this.settings.loop||(this.op(b,\">\",g[this.minimum()])?d=b=this.minimum():this.op(b,\"<\",g[this.maximum()])&&(d=b=this.maximum())),d},e.prototype.animate=function(b){var c=this.speed()>0;this.is(\"animating\")&&this.onTransitionEnd(),c&&(this.enter(\"animating\"),this.trigger(\"translate\")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:\"translate3d(\"+b+\"px,0px,0px)\",transition:this.speed()/1e3+\"s\"}):c?this.$stage.animate({left:b+\"px\"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+\"px\"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger(\"change\",{property:{name:\"position\",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate(\"position\"),this.trigger(\"changed\",{property:{name:\"position\",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return\"string\"===a.type(b)&&(this._invalidated[b]=!0,this.is(\"valid\")&&this.leave(\"valid\")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){a=this.normalize(a),a!==d&&(this._speed=0,this._current=a,this.suppress([\"translate\",\"translated\"]),this.animate(this.coordinates(a)),this.release([\"translate\",\"translated\"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){for(b=this._items.length,c=this._items[--b].width(),d=this.$element.width();b--&&(c+=this._items[b].width()+this.settings.margin,!(c>d)););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2===0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=f*-1*g),a=c+e,d=((a-h)%g+g)%g+h,d!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.$element.is(\":visible\")&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave(\"animating\"),this.trigger(\"translated\")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn(\"Can not detect viewport width.\"),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find(\".\"+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find(\"[data-merge]\").addBack(\"[data-merge]\").attr(\"data-merge\")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate(\"items\")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger(\"add\",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find(\"[data-merge]\").addBack(\"[data-merge]\").attr(\"data-merge\")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find(\"[data-merge]\").addBack(\"[data-merge]\").attr(\"data-merge\")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate(\"items\"),this.trigger(\"added\",{content:b,position:c})},e.prototype.remove=function(a){a=this.normalize(a,!0),a!==d&&(this.trigger(\"remove\",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate(\"items\"),this.trigger(\"removed\",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter(\"pre-loading\"),c=a(c),a(new Image).one(\"load\",a.proxy(function(a){c.attr(\"src\",a.target.src),c.css(\"opacity\",1),this.leave(\"pre-loading\"),!this.is(\"pre-loading\")&&!this.is(\"initializing\")&&this.refresh()},this)).attr(\"src\",c.attr(\"src\")||c.attr(\"data-src\")||c.attr(\"data-src-retina\"))},this))},e.prototype.destroy=function(){this.$element.off(\".owl.core\"),this.$stage.off(\".owl.core\"),a(c).off(\".owl.core\"),this.settings.responsive!==!1&&(b.clearTimeout(this.resizeTimer),this.off(b,\"resize\",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(\".cloned\").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr(\"class\",this.$element.attr(\"class\").replace(new RegExp(this.options.responsiveClass+\"-\\\\S+\\\\s\",\"g\"),\"\")).removeData(\"owl.carousel\")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case\"<\":return d?a>c:a<c;case\">\":return d?a<c:a>c;case\">=\":return d?a<=c:a>=c;case\"<=\":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent(\"on\"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent(\"on\"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep([\"on\",b,d],function(a){return a}).join(\"-\").toLowerCase()),j=a.Event([b,\"owl\",d||\"carousel\"].join(\".\").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&\"function\"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&a.namespace.indexOf(\"owl\")!==-1?a.namespace&&a.namespace.indexOf(\"owl\")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data(\"owl.carousel\");f||(f=new e(this,\"object\"==typeof b&&b),d.data(\"owl.carousel\",f),a.each([\"next\",\"prev\",\"to\",\"destroy\",\"refresh\",\"replace\",\"add\",\"remove\"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+\".owl.carousel.core\",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),\"string\"==typeof b&&\"_\"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={\"initialized.owl.carousel\":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(\":visible\"),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.$element.is(\":visible\")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass(\"owl-hidden\",!this._visible),this._visible&&this._core.invalidate(\"width\")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))\"function\"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={\"initialized.owl.carousel change.owl.carousel resized.owl.carousel\":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&\"position\"==b.property.name||\"initialized\"==b.type))for(var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&e*-1||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);f++<e;)this.load(h/2+this._core.relative(g)),h&&a.each(this._core.clones(this._core.relative(g)),i),g++},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1},e.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(\".owl-lazy\");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr(\"data-src-retina\")||f.attr(\"data-src\");this._core.trigger(\"load\",{element:f,url:g},\"lazy\"),f.is(\"img\")?f.one(\"load.owl.lazy\",a.proxy(function(){f.css(\"opacity\",1),this._core.trigger(\"loaded\",{element:f,url:g},\"lazy\")},this)).attr(\"src\",g):(e=new Image,e.onload=a.proxy(function(){f.css({\"background-image\":'url(\"'+g+'\")',opacity:\"1\"}),this._core.trigger(\"loaded\",{element:f,url:g},\"lazy\")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))\"function\"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._handlers={\"initialized.owl.carousel refreshed.owl.carousel\":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),\"changed.owl.carousel\":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&\"position\"==a.property.name&&this.update()},this),\"loaded.owl.lazy\":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest(\".\"+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoHeight:!1,autoHeightClass:\"owl-height\"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.$stage.children().toArray().slice(b,c),e=[],f=0;a.each(d,function(b,c){e.push(a(c).height())}),f=Math.max.apply(null,e),this._core.$stage.parent().height(f).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))\"function\"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={\"initialized.owl.carousel\":a.proxy(function(a){a.namespace&&this._core.register({type:\"state\",name:\"playing\",tags:[\"interacting\"]})},this),\"resize.owl.carousel\":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),\"refreshed.owl.carousel\":a.proxy(function(a){a.namespace&&this._core.is(\"resizing\")&&this._core.$stage.find(\".cloned .owl-video-frame\").remove()},this),\"changed.owl.carousel\":a.proxy(function(a){a.namespace&&\"position\"===a.property.name&&this._playing&&this.stop()},this),\"prepared.owl.carousel\":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(\".owl-video\");c.length&&(c.css(\"display\",\"none\"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on(\"click.owl.video\",\".owl-video-play-icon\",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr(\"data-vimeo-id\")?\"vimeo\":a.attr(\"data-vzaar-id\")?\"vzaar\":\"youtube\"}(),d=a.attr(\"data-vimeo-id\")||a.attr(\"data-youtube-id\")||a.attr(\"data-vzaar-id\"),e=a.attr(\"data-width\")||this._core.settings.videoWidth,f=a.attr(\"data-height\")||this._core.settings.videoHeight,g=a.attr(\"href\");if(!g)throw new Error(\"Missing video URL.\");if(d=g.match(/(http:|https:|)\\/\\/(player.|www.|app.)?(vimeo\\.com|youtu(be\\.com|\\.be|be\\.googleapis\\.com)|vzaar\\.com)\\/(video\\/|videos\\/|embed\\/|channels\\/.+\\/|groups\\/.+\\/|watch\\?v=|v\\/)?([A-Za-z0-9._%-]*)(\\&\\S+)?/),d[3].indexOf(\"youtu\")>-1)c=\"youtube\";else if(d[3].indexOf(\"vimeo\")>-1)c=\"vimeo\";else{if(!(d[3].indexOf(\"vzaar\")>-1))throw new Error(\"Video URL not supported.\");c=\"vzaar\"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr(\"data-video\",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?'style=\"width:'+c.width+\"px;height:\"+c.height+'px;\"':\"\",h=b.find(\"img\"),i=\"src\",j=\"\",k=this._core.settings,l=function(a){e='<div class=\"owl-video-play-icon\"></div>',d=k.lazyLoad?'<div class=\"owl-video-tn '+j+'\" '+i+'=\"'+a+'\"></div>':'<div class=\"owl-video-tn\" style=\"opacity:1;background-image:url('+a+')\"></div>',b.after(d),b.after(e)};if(b.wrap('<div class=\"owl-video-wrapper\"'+g+\"></div>\"),this._core.settings.lazyLoad&&(i=\"data-src\",j=\"owl-lazy\"),h.length)return l(h.attr(i)),h.remove(),!1;\"youtube\"===c.type?(f=\"//img.youtube.com/vi/\"+c.id+\"/hqdefault.jpg\",l(f)):\"vimeo\"===c.type?a.ajax({type:\"GET\",url:\"//vimeo.com/api/v2/video/\"+c.id+\".json\",jsonp:\"callback\",dataType:\"jsonp\",success:function(a){f=a[0].thumbnail_large,l(f)}}):\"vzaar\"===c.type&&a.ajax({type:\"GET\",url:\"//vzaar.com/api/videos/\"+c.id+\".json\",jsonp:\"callback\",dataType:\"jsonp\",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger(\"stop\",null,\"video\"),this._playing.find(\".owl-video-frame\").remove(),this._playing.removeClass(\"owl-video-playing\"),this._playing=null,this._core.leave(\"playing\"),this._core.trigger(\"stopped\",null,\"video\")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest(\".\"+this._core.settings.itemClass),f=this._videos[e.attr(\"data-video\")],g=f.width||\"100%\",h=f.height||this._core.$stage.height();this._playing||(this._core.enter(\"playing\"),this._core.trigger(\"play\",null,\"video\"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),\"youtube\"===f.type?c='<iframe width=\"'+g+'\" height=\"'+h+'\" src=\"//www.youtube.com/embed/'+f.id+\"?autoplay=1&rel=0&v=\"+f.id+'\" frameborder=\"0\" allowfullscreen></iframe>':\"vimeo\"===f.type?c='<iframe src=\"//player.vimeo.com/video/'+f.id+'?autoplay=1\" width=\"'+g+'\" height=\"'+h+'\" frameborder=\"0\" Winkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':\"vzaar\"===f.type&&(c='<iframe frameborder=\"0\"height=\"'+h+'\"width=\"'+g+'\" allowfullscreen mozallowfullscreen WinkitAllowFullScreen src=\"//view.vzaar.com/'+f.id+'/player?autoplay=true\"></iframe>'),a('<div class=\"owl-video-frame\">'+c+\"</div>\").insertAfter(e.find(\".owl-video\")),this._playing=e.addClass(\"owl-video-playing\"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.WinkitFullscreenElement;return b&&a(b).parent().hasClass(\"owl-video-frame\")},e.prototype.destroy=function(){var a,b;this._core.$element.off(\"click.owl.video\");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))\"function\"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={\"change.owl.carousel\":a.proxy(function(a){a.namespace&&\"position\"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),\"drag.owl.carousel dragged.owl.carousel translated.owl.carousel\":a.proxy(function(a){a.namespace&&(this.swapping=\"translated\"==a.type)},this),\"translate.owl.carousel\":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+\"px\"}).addClass(\"animated owl-animated-out\").addClass(g)),f&&e.one(a.support.animation.end,c).addClass(\"animated owl-animated-in\").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:\"\"}).removeClass(\"animated owl-animated-out owl-animated-in\").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))\"function\"!=typeof this[b]&&(this[b]=null)},\ra.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._timeout=null,this._paused=!1,this._handlers={\"changed.owl.carousel\":a.proxy(function(a){a.namespace&&\"settings\"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&\"position\"===a.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),\"initialized.owl.carousel\":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),\"play.owl.autoplay\":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),\"stop.owl.autoplay\":a.proxy(function(a){a.namespace&&this.stop()},this),\"mouseover.owl.autoplay\":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is(\"rotating\")&&this.pause()},this),\"mouseleave.owl.autoplay\":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is(\"rotating\")&&this.play()},this),\"touchstart.owl.core\":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is(\"rotating\")&&this.pause()},this),\"touchend.owl.core\":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(a,b){this._paused=!1,this._core.is(\"rotating\")||(this._core.enter(\"rotating\"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(d,e){return this._timeout&&b.clearTimeout(this._timeout),b.setTimeout(a.proxy(function(){this._paused||this._core.is(\"busy\")||this._core.is(\"interacting\")||c.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),d||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is(\"rotating\")&&(b.clearTimeout(this._timeout),this._core.leave(\"rotating\"))},e.prototype.pause=function(){this._core.is(\"rotating\")&&(this._paused=!0)},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))\"function\"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){\"use strict\";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={\"prepared.owl.carousel\":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class=\"'+this._core.settings.dotClass+'\">'+a(b.content).find(\"[data-dot]\").addBack(\"[data-dot]\").attr(\"data-dot\")+\"</div>\")},this),\"added.owl.carousel\":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),\"remove.owl.carousel\":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),\"changed.owl.carousel\":a.proxy(function(a){a.namespace&&\"position\"==a.property.name&&this.draw()},this),\"initialized.owl.carousel\":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger(\"initialize\",null,\"navigation\"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger(\"initialized\",null,\"navigation\"))},this),\"refreshed.owl.carousel\":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger(\"refresh\",null,\"navigation\"),this.update(),this.draw(),this._core.trigger(\"refreshed\",null,\"navigation\"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:[\"prev\",\"next\"],navSpeed:!1,navElement:\"div\",navContainer:!1,navContainerClass:\"owl-nav\",navClass:[\"owl-prev\",\"owl-next\"],slideBy:1,dotClass:\"owl-dot\",dotsClass:\"owl-dots\",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a(\"<div>\").addClass(c.navContainerClass).appendTo(this.$element)).addClass(\"disabled\"),this._controls.$previous=a(\"<\"+c.navElement+\">\").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on(\"click\",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a(\"<\"+c.navElement+\">\").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on(\"click\",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a(\"<div>\").addClass(c.dotClass).append(a(\"<span>\")).prop(\"outerHTML\")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a(\"<div>\").addClass(c.dotsClass).appendTo(this.$element)).addClass(\"disabled\"),this._controls.$absolute.on(\"click\",\"div\",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))\"function\"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if(\"page\"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||\"page\"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a<e;a++){if(b>=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass(\"disabled\",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass(\"disabled\",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass(\"disabled\",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass(\"disabled\",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join(\"\")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(\".active\").removeClass(\"active\"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass(\"active\"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return\"page\"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){\"use strict\";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={\"initialized.owl.carousel\":a.proxy(function(c){c.namespace&&\"URLHash\"===this._core.settings.startPosition&&a(b).trigger(\"hashchange.owl.navigation\")},this),\"prepared.owl.carousel\":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(\"[data-hash]\").addBack(\"[data-hash]\").attr(\"data-hash\");if(!c)return;this._hashes[c]=b.content}},this),\"changed.owl.carousel\":a.proxy(function(c){if(c.namespace&&\"position\"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on(\"hashchange.owl.navigation\",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off(\"hashchange.owl.navigation\");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))\"function\"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+\" \"+h.join(f+\" \")+f).split(\" \"),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a(\"<support>\").get(0).style,h=\"Winkit Moz O ms\".split(\" \"),i={transition:{end:{WinkitTransition:\"WinkitTransitionEnd\",MozTransition:\"transitionend\",OTransition:\"oTransitionEnd\",transition:\"transitionend\"}},animation:{end:{WinkitAnimation:\"WinkitAnimationEnd\",MozAnimation:\"animationend\",OAnimation:\"oAnimationEnd\",animation:\"animationend\"}}},j={csstransforms:function(){return!!e(\"transform\")},csstransforms3d:function(){return!!e(\"perspective\")},csstransitions:function(){return!!e(\"transition\")},cssanimations:function(){return!!e(\"animation\")}};j.csstransitions()&&(a.support.transition=new String(f(\"transition\")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f(\"animation\")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f(\"transform\")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);"
  },
  {
    "path": "src/main/resources/static/backend/vendor/perfect-scrollbar/css/perfect-scrollbar.css",
    "content": "/*\n * Container style\n */\n.ps {\n  overflow: hidden !important;\n  overflow-anchor: none;\n  -ms-overflow-style: none;\n  touch-action: auto;\n  -ms-touch-action: auto;\n}\n\n/*\n * Scrollbar rail styles\n */\n.ps__rail-x {\n  display: none;\n  opacity: 0;\n  transition: background-color .2s linear, opacity .2s linear;\n  -webkit-transition: background-color .2s linear, opacity .2s linear;\n  height: 15px;\n  /* there must be 'bottom' or 'top' for ps__rail-x */\n  bottom: 0px;\n  /* please don't change 'position' */\n  position: absolute;\n}\n\n.ps__rail-y {\n  display: none;\n  opacity: 0;\n  transition: background-color .2s linear, opacity .2s linear;\n  -webkit-transition: background-color .2s linear, opacity .2s linear;\n  width: 15px;\n  /* there must be 'right' or 'left' for ps__rail-y */\n  right: 0;\n  /* please don't change 'position' */\n  position: absolute;\n}\n\n.ps--active-x > .ps__rail-x,\n.ps--active-y > .ps__rail-y {\n  display: block;\n  background-color: transparent;\n}\n\n.ps:hover > .ps__rail-x,\n.ps:hover > .ps__rail-y,\n.ps--focus > .ps__rail-x,\n.ps--focus > .ps__rail-y,\n.ps--scrolling-x > .ps__rail-x,\n.ps--scrolling-y > .ps__rail-y {\n  opacity: 0.6;\n}\n\n.ps .ps__rail-x:hover,\n.ps .ps__rail-y:hover,\n.ps .ps__rail-x:focus,\n.ps .ps__rail-y:focus,\n.ps .ps__rail-x.ps--clicking,\n.ps .ps__rail-y.ps--clicking {\n  background-color: #eee;\n  opacity: 0.9;\n}\n\n/*\n * Scrollbar thumb styles\n */\n.ps__thumb-x {\n  background-color: #aaa;\n  border-radius: 6px;\n  transition: background-color .2s linear, height .2s ease-in-out;\n  -webkit-transition: background-color .2s linear, height .2s ease-in-out;\n  height: 6px;\n  /* there must be 'bottom' for ps__thumb-x */\n  bottom: 2px;\n  /* please don't change 'position' */\n  position: absolute;\n}\n\n.ps__thumb-y {\n  background-color: #aaa;\n  border-radius: 6px;\n  transition: background-color .2s linear, width .2s ease-in-out;\n  -webkit-transition: background-color .2s linear, width .2s ease-in-out;\n  width: 6px;\n  /* there must be 'right' for ps__thumb-y */\n  right: 2px;\n  /* please don't change 'position' */\n  position: absolute;\n}\n\n.ps__rail-x:hover > .ps__thumb-x,\n.ps__rail-x:focus > .ps__thumb-x,\n.ps__rail-x.ps--clicking .ps__thumb-x {\n  background-color: #999;\n  height: 11px;\n}\n\n.ps__rail-y:hover > .ps__thumb-y,\n.ps__rail-y:focus > .ps__thumb-y,\n.ps__rail-y.ps--clicking .ps__thumb-y {\n  background-color: #999;\n  width: 11px;\n}\n\n/* MS supports */\n@supports (-ms-overflow-style: none) {\n  .ps {\n    overflow: auto !important;\n  }\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .ps {\n    overflow: auto !important;\n  }\n}\n"
  },
  {
    "path": "src/main/resources/static/css/animate.css",
    "content": "@charset \"UTF-8\";\n\n/*!\n * animate.css -http://daneden.me/animate\n * Version - 3.5.2\n * Licensed under the MIT license - http://opensource.org/licenses/MIT\n *\n * Copyright (c) 2017 Daniel Eden\n */\n\n.animated {\n  animation-duration: 1s;\n  animation-fill-mode: both;\n}\n\n.animated.infinite {\n  animation-iteration-count: infinite;\n}\n\n.animated.hinge {\n  animation-duration: 2s;\n}\n\n.animated.flipOutX,\n.animated.flipOutY,\n.animated.bounceIn,\n.animated.bounceOut {\n  animation-duration: .75s;\n}\n\n@keyframes bounce {\n  from, 20%, 53%, 80%, to {\n    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\n    transform: translate3d(0,0,0);\n  }\n\n  40%, 43% {\n    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);\n    transform: translate3d(0, -30px, 0);\n  }\n\n  70% {\n    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);\n    transform: translate3d(0, -15px, 0);\n  }\n\n  90% {\n    transform: translate3d(0,-4px,0);\n  }\n}\n\n.bounce {\n  animation-name: bounce;\n  transform-origin: center bottom;\n}\n\n@keyframes flash {\n  from, 50%, to {\n    opacity: 1;\n  }\n\n  25%, 75% {\n    opacity: 0;\n  }\n}\n\n.flash {\n  animation-name: flash;\n}\n\n/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */\n\n@keyframes pulse {\n  from {\n    transform: scale3d(1, 1, 1);\n  }\n\n  50% {\n    transform: scale3d(1.05, 1.05, 1.05);\n  }\n\n  to {\n    transform: scale3d(1, 1, 1);\n  }\n}\n\n.pulse {\n  animation-name: pulse;\n}\n\n@keyframes rubberBand {\n  from {\n    transform: scale3d(1, 1, 1);\n  }\n\n  30% {\n    transform: scale3d(1.25, 0.75, 1);\n  }\n\n  40% {\n    transform: scale3d(0.75, 1.25, 1);\n  }\n\n  50% {\n    transform: scale3d(1.15, 0.85, 1);\n  }\n\n  65% {\n    transform: scale3d(.95, 1.05, 1);\n  }\n\n  75% {\n    transform: scale3d(1.05, .95, 1);\n  }\n\n  to {\n    transform: scale3d(1, 1, 1);\n  }\n}\n\n.rubberBand {\n  animation-name: rubberBand;\n}\n\n@keyframes shake {\n  from, to {\n    transform: translate3d(0, 0, 0);\n  }\n\n  10%, 30%, 50%, 70%, 90% {\n    transform: translate3d(-10px, 0, 0);\n  }\n\n  20%, 40%, 60%, 80% {\n    transform: translate3d(10px, 0, 0);\n  }\n}\n\n.shake {\n  animation-name: shake;\n}\n\n@keyframes headShake {\n  0% {\n    transform: translateX(0);\n  }\n\n  6.5% {\n    transform: translateX(-6px) rotateY(-9deg);\n  }\n\n  18.5% {\n    transform: translateX(5px) rotateY(7deg);\n  }\n\n  31.5% {\n    transform: translateX(-3px) rotateY(-5deg);\n  }\n\n  43.5% {\n    transform: translateX(2px) rotateY(3deg);\n  }\n\n  50% {\n    transform: translateX(0);\n  }\n}\n\n.headShake {\n  animation-timing-function: ease-in-out;\n  animation-name: headShake;\n}\n\n@keyframes swing {\n  20% {\n    transform: rotate3d(0, 0, 1, 15deg);\n  }\n\n  40% {\n    transform: rotate3d(0, 0, 1, -10deg);\n  }\n\n  60% {\n    transform: rotate3d(0, 0, 1, 5deg);\n  }\n\n  80% {\n    transform: rotate3d(0, 0, 1, -5deg);\n  }\n\n  to {\n    transform: rotate3d(0, 0, 1, 0deg);\n  }\n}\n\n.swing {\n  transform-origin: top center;\n  animation-name: swing;\n}\n\n@keyframes tada {\n  from {\n    transform: scale3d(1, 1, 1);\n  }\n\n  10%, 20% {\n    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);\n  }\n\n  30%, 50%, 70%, 90% {\n    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);\n  }\n\n  40%, 60%, 80% {\n    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);\n  }\n\n  to {\n    transform: scale3d(1, 1, 1);\n  }\n}\n\n.tada {\n  animation-name: tada;\n}\n\n/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */\n\n@keyframes wobble {\n  from {\n    transform: none;\n  }\n\n  15% {\n    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);\n  }\n\n  30% {\n    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);\n  }\n\n  45% {\n    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);\n  }\n\n  60% {\n    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);\n  }\n\n  75% {\n    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);\n  }\n\n  to {\n    transform: none;\n  }\n}\n\n.wobble {\n  animation-name: wobble;\n}\n\n@keyframes jello {\n  from, 11.1%, to {\n    transform: none;\n  }\n\n  22.2% {\n    transform: skewX(-12.5deg) skewY(-12.5deg);\n  }\n\n  33.3% {\n    transform: skewX(6.25deg) skewY(6.25deg);\n  }\n\n  44.4% {\n    transform: skewX(-3.125deg) skewY(-3.125deg);\n  }\n\n  55.5% {\n    transform: skewX(1.5625deg) skewY(1.5625deg);\n  }\n\n  66.6% {\n    transform: skewX(-0.78125deg) skewY(-0.78125deg);\n  }\n\n  77.7% {\n    transform: skewX(0.390625deg) skewY(0.390625deg);\n  }\n\n  88.8% {\n    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);\n  }\n}\n\n.jello {\n  animation-name: jello;\n  transform-origin: center;\n}\n\n@keyframes bounceIn {\n  from, 20%, 40%, 60%, 80%, to {\n    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\n  }\n\n  0% {\n    opacity: 0;\n    transform: scale3d(.3, .3, .3);\n  }\n\n  20% {\n    transform: scale3d(1.1, 1.1, 1.1);\n  }\n\n  40% {\n    transform: scale3d(.9, .9, .9);\n  }\n\n  60% {\n    opacity: 1;\n    transform: scale3d(1.03, 1.03, 1.03);\n  }\n\n  80% {\n    transform: scale3d(.97, .97, .97);\n  }\n\n  to {\n    opacity: 1;\n    transform: scale3d(1, 1, 1);\n  }\n}\n\n.bounceIn {\n  animation-name: bounceIn;\n}\n\n@keyframes bounceInDown {\n  from, 60%, 75%, 90%, to {\n    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\n  }\n\n  0% {\n    opacity: 0;\n    transform: translate3d(0, -3000px, 0);\n  }\n\n  60% {\n    opacity: 1;\n    transform: translate3d(0, 25px, 0);\n  }\n\n  75% {\n    transform: translate3d(0, -10px, 0);\n  }\n\n  90% {\n    transform: translate3d(0, 5px, 0);\n  }\n\n  to {\n    transform: none;\n  }\n}\n\n.bounceInDown {\n  animation-name: bounceInDown;\n}\n\n@keyframes bounceInLeft {\n  from, 60%, 75%, 90%, to {\n    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\n  }\n\n  0% {\n    opacity: 0;\n    transform: translate3d(-3000px, 0, 0);\n  }\n\n  60% {\n    opacity: 1;\n    transform: translate3d(25px, 0, 0);\n  }\n\n  75% {\n    transform: translate3d(-10px, 0, 0);\n  }\n\n  90% {\n    transform: translate3d(5px, 0, 0);\n  }\n\n  to {\n    transform: none;\n  }\n}\n\n.bounceInLeft {\n  animation-name: bounceInLeft;\n}\n\n@keyframes bounceInRight {\n  from, 60%, 75%, 90%, to {\n    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\n  }\n\n  from {\n    opacity: 0;\n    transform: translate3d(3000px, 0, 0);\n  }\n\n  60% {\n    opacity: 1;\n    transform: translate3d(-25px, 0, 0);\n  }\n\n  75% {\n    transform: translate3d(10px, 0, 0);\n  }\n\n  90% {\n    transform: translate3d(-5px, 0, 0);\n  }\n\n  to {\n    transform: none;\n  }\n}\n\n.bounceInRight {\n  animation-name: bounceInRight;\n}\n\n@keyframes bounceInUp {\n  from, 60%, 75%, 90%, to {\n    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\n  }\n\n  from {\n    opacity: 0;\n    transform: translate3d(0, 3000px, 0);\n  }\n\n  60% {\n    opacity: 1;\n    transform: translate3d(0, -20px, 0);\n  }\n\n  75% {\n    transform: translate3d(0, 10px, 0);\n  }\n\n  90% {\n    transform: translate3d(0, -5px, 0);\n  }\n\n  to {\n    transform: translate3d(0, 0, 0);\n  }\n}\n\n.bounceInUp {\n  animation-name: bounceInUp;\n}\n\n@keyframes bounceOut {\n  20% {\n    transform: scale3d(.9, .9, .9);\n  }\n\n  50%, 55% {\n    opacity: 1;\n    transform: scale3d(1.1, 1.1, 1.1);\n  }\n\n  to {\n    opacity: 0;\n    transform: scale3d(.3, .3, .3);\n  }\n}\n\n.bounceOut {\n  animation-name: bounceOut;\n}\n\n@keyframes bounceOutDown {\n  20% {\n    transform: translate3d(0, 10px, 0);\n  }\n\n  40%, 45% {\n    opacity: 1;\n    transform: translate3d(0, -20px, 0);\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(0, 2000px, 0);\n  }\n}\n\n.bounceOutDown {\n  animation-name: bounceOutDown;\n}\n\n@keyframes bounceOutLeft {\n  20% {\n    opacity: 1;\n    transform: translate3d(20px, 0, 0);\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(-2000px, 0, 0);\n  }\n}\n\n.bounceOutLeft {\n  animation-name: bounceOutLeft;\n}\n\n@keyframes bounceOutRight {\n  20% {\n    opacity: 1;\n    transform: translate3d(-20px, 0, 0);\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(2000px, 0, 0);\n  }\n}\n\n.bounceOutRight {\n  animation-name: bounceOutRight;\n}\n\n@keyframes bounceOutUp {\n  20% {\n    transform: translate3d(0, -10px, 0);\n  }\n\n  40%, 45% {\n    opacity: 1;\n    transform: translate3d(0, 20px, 0);\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(0, -2000px, 0);\n  }\n}\n\n.bounceOutUp {\n  animation-name: bounceOutUp;\n}\n\n@keyframes fadeIn {\n  from {\n    opacity: 0;\n  }\n\n  to {\n    opacity: 1;\n  }\n}\n\n.fadeIn {\n  animation-name: fadeIn;\n}\n\n@keyframes fadeInDown {\n  from {\n    opacity: 0;\n    transform: translate3d(0, -100%, 0);\n  }\n\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n.fadeInDown {\n  animation-name: fadeInDown;\n}\n\n@keyframes fadeInDownBig {\n  from {\n    opacity: 0;\n    transform: translate3d(0, -2000px, 0);\n  }\n\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n.fadeInDownBig {\n  animation-name: fadeInDownBig;\n}\n\n@keyframes fadeInLeft {\n  from {\n    opacity: 0;\n    transform: translate3d(-100%, 0, 0);\n  }\n\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n.fadeInLeft {\n  animation-name: fadeInLeft;\n}\n\n@keyframes fadeInLeftBig {\n  from {\n    opacity: 0;\n    transform: translate3d(-2000px, 0, 0);\n  }\n\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n.fadeInLeftBig {\n  animation-name: fadeInLeftBig;\n}\n\n@keyframes fadeInRight {\n  from {\n    opacity: 0;\n    transform: translate3d(100%, 0, 0);\n  }\n\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n.fadeInRight {\n  animation-name: fadeInRight;\n}\n\n@keyframes fadeInRightBig {\n  from {\n    opacity: 0;\n    transform: translate3d(2000px, 0, 0);\n  }\n\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n.fadeInRightBig {\n  animation-name: fadeInRightBig;\n}\n\n@keyframes fadeInUp {\n  from {\n    opacity: 0;\n    transform: translate3d(0, 100%, 0);\n  }\n\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n.fadeInUp {\n  animation-name: fadeInUp;\n}\n\n@keyframes fadeInUpBig {\n  from {\n    opacity: 0;\n    transform: translate3d(0, 2000px, 0);\n  }\n\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n.fadeInUpBig {\n  animation-name: fadeInUpBig;\n}\n\n@keyframes fadeOut {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n  }\n}\n\n.fadeOut {\n  animation-name: fadeOut;\n}\n\n@keyframes fadeOutDown {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(0, 100%, 0);\n  }\n}\n\n.fadeOutDown {\n  animation-name: fadeOutDown;\n}\n\n@keyframes fadeOutDownBig {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(0, 2000px, 0);\n  }\n}\n\n.fadeOutDownBig {\n  animation-name: fadeOutDownBig;\n}\n\n@keyframes fadeOutLeft {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(-100%, 0, 0);\n  }\n}\n\n.fadeOutLeft {\n  animation-name: fadeOutLeft;\n}\n\n@keyframes fadeOutLeftBig {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(-2000px, 0, 0);\n  }\n}\n\n.fadeOutLeftBig {\n  animation-name: fadeOutLeftBig;\n}\n\n@keyframes fadeOutRight {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(100%, 0, 0);\n  }\n}\n\n.fadeOutRight {\n  animation-name: fadeOutRight;\n}\n\n@keyframes fadeOutRightBig {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(2000px, 0, 0);\n  }\n}\n\n.fadeOutRightBig {\n  animation-name: fadeOutRightBig;\n}\n\n@keyframes fadeOutUp {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(0, -100%, 0);\n  }\n}\n\n.fadeOutUp {\n  animation-name: fadeOutUp;\n}\n\n@keyframes fadeOutUpBig {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(0, -2000px, 0);\n  }\n}\n\n.fadeOutUpBig {\n  animation-name: fadeOutUpBig;\n}\n\n@keyframes flip {\n  from {\n    transform: perspective(400px) rotate3d(0, 1, 0, -360deg);\n    animation-timing-function: ease-out;\n  }\n\n  40% {\n    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);\n    animation-timing-function: ease-out;\n  }\n\n  50% {\n    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);\n    animation-timing-function: ease-in;\n  }\n\n  80% {\n    transform: perspective(400px) scale3d(.95, .95, .95);\n    animation-timing-function: ease-in;\n  }\n\n  to {\n    transform: perspective(400px);\n    animation-timing-function: ease-in;\n  }\n}\n\n.animated.flip {\n  -webkit-backface-visibility: visible;\n  backface-visibility: visible;\n  animation-name: flip;\n}\n\n@keyframes flipInX {\n  from {\n    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n    animation-timing-function: ease-in;\n    opacity: 0;\n  }\n\n  40% {\n    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n    animation-timing-function: ease-in;\n  }\n\n  60% {\n    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);\n    opacity: 1;\n  }\n\n  80% {\n    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);\n  }\n\n  to {\n    transform: perspective(400px);\n  }\n}\n\n.flipInX {\n  -webkit-backface-visibility: visible !important;\n  backface-visibility: visible !important;\n  animation-name: flipInX;\n}\n\n@keyframes flipInY {\n  from {\n    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);\n    animation-timing-function: ease-in;\n    opacity: 0;\n  }\n\n  40% {\n    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);\n    animation-timing-function: ease-in;\n  }\n\n  60% {\n    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);\n    opacity: 1;\n  }\n\n  80% {\n    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);\n  }\n\n  to {\n    transform: perspective(400px);\n  }\n}\n\n.flipInY {\n  -webkit-backface-visibility: visible !important;\n  backface-visibility: visible !important;\n  animation-name: flipInY;\n}\n\n@keyframes flipOutX {\n  from {\n    transform: perspective(400px);\n  }\n\n  30% {\n    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n    opacity: 1;\n  }\n\n  to {\n    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n    opacity: 0;\n  }\n}\n\n.flipOutX {\n  animation-name: flipOutX;\n  -webkit-backface-visibility: visible !important;\n  backface-visibility: visible !important;\n}\n\n@keyframes flipOutY {\n  from {\n    transform: perspective(400px);\n  }\n\n  30% {\n    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);\n    opacity: 1;\n  }\n\n  to {\n    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);\n    opacity: 0;\n  }\n}\n\n.flipOutY {\n  -webkit-backface-visibility: visible !important;\n  backface-visibility: visible !important;\n  animation-name: flipOutY;\n}\n\n@keyframes lightSpeedIn {\n  from {\n    transform: translate3d(100%, 0, 0) skewX(-30deg);\n    opacity: 0;\n  }\n\n  60% {\n    transform: skewX(20deg);\n    opacity: 1;\n  }\n\n  80% {\n    transform: skewX(-5deg);\n    opacity: 1;\n  }\n\n  to {\n    transform: none;\n    opacity: 1;\n  }\n}\n\n.lightSpeedIn {\n  animation-name: lightSpeedIn;\n  animation-timing-function: ease-out;\n}\n\n@keyframes lightSpeedOut {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    transform: translate3d(100%, 0, 0) skewX(30deg);\n    opacity: 0;\n  }\n}\n\n.lightSpeedOut {\n  animation-name: lightSpeedOut;\n  animation-timing-function: ease-in;\n}\n\n@keyframes rotateIn {\n  from {\n    transform-origin: center;\n    transform: rotate3d(0, 0, 1, -200deg);\n    opacity: 0;\n  }\n\n  to {\n    transform-origin: center;\n    transform: none;\n    opacity: 1;\n  }\n}\n\n.rotateIn {\n  animation-name: rotateIn;\n}\n\n@keyframes rotateInDownLeft {\n  from {\n    transform-origin: left bottom;\n    transform: rotate3d(0, 0, 1, -45deg);\n    opacity: 0;\n  }\n\n  to {\n    transform-origin: left bottom;\n    transform: none;\n    opacity: 1;\n  }\n}\n\n.rotateInDownLeft {\n  animation-name: rotateInDownLeft;\n}\n\n@keyframes rotateInDownRight {\n  from {\n    transform-origin: right bottom;\n    transform: rotate3d(0, 0, 1, 45deg);\n    opacity: 0;\n  }\n\n  to {\n    transform-origin: right bottom;\n    transform: none;\n    opacity: 1;\n  }\n}\n\n.rotateInDownRight {\n  animation-name: rotateInDownRight;\n}\n\n@keyframes rotateInUpLeft {\n  from {\n    transform-origin: left bottom;\n    transform: rotate3d(0, 0, 1, 45deg);\n    opacity: 0;\n  }\n\n  to {\n    transform-origin: left bottom;\n    transform: none;\n    opacity: 1;\n  }\n}\n\n.rotateInUpLeft {\n  animation-name: rotateInUpLeft;\n}\n\n@keyframes rotateInUpRight {\n  from {\n    transform-origin: right bottom;\n    transform: rotate3d(0, 0, 1, -90deg);\n    opacity: 0;\n  }\n\n  to {\n    transform-origin: right bottom;\n    transform: none;\n    opacity: 1;\n  }\n}\n\n.rotateInUpRight {\n  animation-name: rotateInUpRight;\n}\n\n@keyframes rotateOut {\n  from {\n    transform-origin: center;\n    opacity: 1;\n  }\n\n  to {\n    transform-origin: center;\n    transform: rotate3d(0, 0, 1, 200deg);\n    opacity: 0;\n  }\n}\n\n.rotateOut {\n  animation-name: rotateOut;\n}\n\n@keyframes rotateOutDownLeft {\n  from {\n    transform-origin: left bottom;\n    opacity: 1;\n  }\n\n  to {\n    transform-origin: left bottom;\n    transform: rotate3d(0, 0, 1, 45deg);\n    opacity: 0;\n  }\n}\n\n.rotateOutDownLeft {\n  animation-name: rotateOutDownLeft;\n}\n\n@keyframes rotateOutDownRight {\n  from {\n    transform-origin: right bottom;\n    opacity: 1;\n  }\n\n  to {\n    transform-origin: right bottom;\n    transform: rotate3d(0, 0, 1, -45deg);\n    opacity: 0;\n  }\n}\n\n.rotateOutDownRight {\n  animation-name: rotateOutDownRight;\n}\n\n@keyframes rotateOutUpLeft {\n  from {\n    transform-origin: left bottom;\n    opacity: 1;\n  }\n\n  to {\n    transform-origin: left bottom;\n    transform: rotate3d(0, 0, 1, -45deg);\n    opacity: 0;\n  }\n}\n\n.rotateOutUpLeft {\n  animation-name: rotateOutUpLeft;\n}\n\n@keyframes rotateOutUpRight {\n  from {\n    transform-origin: right bottom;\n    opacity: 1;\n  }\n\n  to {\n    transform-origin: right bottom;\n    transform: rotate3d(0, 0, 1, 90deg);\n    opacity: 0;\n  }\n}\n\n.rotateOutUpRight {\n  animation-name: rotateOutUpRight;\n}\n\n@keyframes hinge {\n  0% {\n    transform-origin: top left;\n    animation-timing-function: ease-in-out;\n  }\n\n  20%, 60% {\n    transform: rotate3d(0, 0, 1, 80deg);\n    transform-origin: top left;\n    animation-timing-function: ease-in-out;\n  }\n\n  40%, 80% {\n    transform: rotate3d(0, 0, 1, 60deg);\n    transform-origin: top left;\n    animation-timing-function: ease-in-out;\n    opacity: 1;\n  }\n\n  to {\n    transform: translate3d(0, 700px, 0);\n    opacity: 0;\n  }\n}\n\n.hinge {\n  animation-name: hinge;\n}\n\n@keyframes jackInTheBox {\n  from {\n    opacity: 0;\n    transform: scale(0.1) rotate(30deg);\n    transform-origin: center bottom;\n  }\n\n  50% {\n    transform: rotate(-10deg);\n  }\n\n  70% {\n    transform: rotate(3deg);\n  }\n\n  to {\n    opacity: 1;\n    transform: scale(1);\n  }\n}\n\n.jackInTheBox {\n  animation-name: jackInTheBox;\n}\n\n/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */\n\n@keyframes rollIn {\n  from {\n    opacity: 0;\n    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);\n  }\n\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n.rollIn {\n  animation-name: rollIn;\n}\n\n/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */\n\n@keyframes rollOut {\n  from {\n    opacity: 1;\n  }\n\n  to {\n    opacity: 0;\n    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);\n  }\n}\n\n.rollOut {\n  animation-name: rollOut;\n}\n\n@keyframes zoomIn {\n  from {\n    opacity: 0;\n    transform: scale3d(.3, .3, .3);\n  }\n\n  50% {\n    opacity: 1;\n  }\n}\n\n.zoomIn {\n  animation-name: zoomIn;\n}\n\n@keyframes zoomInDown {\n  from {\n    opacity: 0;\n    transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);\n    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);\n  }\n\n  60% {\n    opacity: 1;\n    transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);\n    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);\n  }\n}\n\n.zoomInDown {\n  animation-name: zoomInDown;\n}\n\n@keyframes zoomInLeft {\n  from {\n    opacity: 0;\n    transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);\n    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);\n  }\n\n  60% {\n    opacity: 1;\n    transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);\n    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);\n  }\n}\n\n.zoomInLeft {\n  animation-name: zoomInLeft;\n}\n\n@keyframes zoomInRight {\n  from {\n    opacity: 0;\n    transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);\n    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);\n  }\n\n  60% {\n    opacity: 1;\n    transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);\n    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);\n  }\n}\n\n.zoomInRight {\n  animation-name: zoomInRight;\n}\n\n@keyframes zoomInUp {\n  from {\n    opacity: 0;\n    transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);\n    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);\n  }\n\n  60% {\n    opacity: 1;\n    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);\n    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);\n  }\n}\n\n.zoomInUp {\n  animation-name: zoomInUp;\n}\n\n@keyframes zoomOut {\n  from {\n    opacity: 1;\n  }\n\n  50% {\n    opacity: 0;\n    transform: scale3d(.3, .3, .3);\n  }\n\n  to {\n    opacity: 0;\n  }\n}\n\n.zoomOut {\n  animation-name: zoomOut;\n}\n\n@keyframes zoomOutDown {\n  40% {\n    opacity: 1;\n    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);\n    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);\n  }\n\n  to {\n    opacity: 0;\n    transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);\n    transform-origin: center bottom;\n    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);\n  }\n}\n\n.zoomOutDown {\n  animation-name: zoomOutDown;\n}\n\n@keyframes zoomOutLeft {\n  40% {\n    opacity: 1;\n    transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);\n  }\n\n  to {\n    opacity: 0;\n    transform: scale(.1) translate3d(-2000px, 0, 0);\n    transform-origin: left center;\n  }\n}\n\n.zoomOutLeft {\n  animation-name: zoomOutLeft;\n}\n\n@keyframes zoomOutRight {\n  40% {\n    opacity: 1;\n    transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);\n  }\n\n  to {\n    opacity: 0;\n    transform: scale(.1) translate3d(2000px, 0, 0);\n    transform-origin: right center;\n  }\n}\n\n.zoomOutRight {\n  animation-name: zoomOutRight;\n}\n\n@keyframes zoomOutUp {\n  40% {\n    opacity: 1;\n    transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);\n    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);\n  }\n\n  to {\n    opacity: 0;\n    transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);\n    transform-origin: center bottom;\n    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);\n  }\n}\n\n.zoomOutUp {\n  animation-name: zoomOutUp;\n}\n\n@keyframes slideInDown {\n  from {\n    transform: translate3d(0, -100%, 0);\n    visibility: visible;\n  }\n\n  to {\n    transform: translate3d(0, 0, 0);\n  }\n}\n\n.slideInDown {\n  animation-name: slideInDown;\n}\n\n@keyframes slideInLeft {\n  from {\n    transform: translate3d(-100%, 0, 0);\n    visibility: visible;\n  }\n\n  to {\n    transform: translate3d(0, 0, 0);\n  }\n}\n\n.slideInLeft {\n  animation-name: slideInLeft;\n}\n\n@keyframes slideInRight {\n  from {\n    transform: translate3d(100%, 0, 0);\n    visibility: visible;\n  }\n\n  to {\n    transform: translate3d(0, 0, 0);\n  }\n}\n\n.slideInRight {\n  animation-name: slideInRight;\n}\n\n@keyframes slideInUp {\n  from {\n    transform: translate3d(0, 100%, 0);\n    visibility: visible;\n  }\n\n  to {\n    transform: translate3d(0, 0, 0);\n  }\n}\n\n.slideInUp {\n  animation-name: slideInUp;\n}\n\n@keyframes slideOutDown {\n  from {\n    transform: translate3d(0, 0, 0);\n  }\n\n  to {\n    visibility: hidden;\n    transform: translate3d(0, 100%, 0);\n  }\n}\n\n.slideOutDown {\n  animation-name: slideOutDown;\n}\n\n@keyframes slideOutLeft {\n  from {\n    transform: translate3d(0, 0, 0);\n  }\n\n  to {\n    visibility: hidden;\n    transform: translate3d(-100%, 0, 0);\n  }\n}\n\n.slideOutLeft {\n  animation-name: slideOutLeft;\n}\n\n@keyframes slideOutRight {\n  from {\n    transform: translate3d(0, 0, 0);\n  }\n\n  to {\n    visibility: hidden;\n    transform: translate3d(100%, 0, 0);\n  }\n}\n\n.slideOutRight {\n  animation-name: slideOutRight;\n}\n\n@keyframes slideOutUp {\n  from {\n    transform: translate3d(0, 0, 0);\n  }\n\n  to {\n    visibility: hidden;\n    transform: translate3d(0, -100%, 0);\n  }\n}\n\n.slideOutUp {\n  animation-name: slideOutUp;\n}\n"
  },
  {
    "path": "src/main/resources/static/css/dark-mode.css",
    "content": "/**\n * 暗黑模式样式\n * Dark Mode Styles\n */\n\n/* 基础变量 */\n:root {\n    --bg-primary: #ffffff;\n    --bg-secondary: #f8f9fa;\n    --bg-card: #ffffff;\n    --text-primary: #333333;\n    --text-secondary: #666666;\n    --text-muted: #999999;\n    --border-color: #e0e0e0;\n    --link-color: #1890ff;\n    --link-hover: #40a9ff;\n    --shadow: rgba(0, 0, 0, 0.1);\n}\n\n/* 暗黑模式变量 */\nbody.dark-mode {\n    --bg-primary: #1a1a2e;\n    --bg-secondary: #16213e;\n    --bg-card: #0f3460;\n    --text-primary: #eaeaea;\n    --text-secondary: #b8b8b8;\n    --text-muted: #888888;\n    --border-color: #2d3748;\n    --link-color: #63b3ed;\n    --link-hover: #90cdf4;\n    --shadow: rgba(0, 0, 0, 0.3);\n}\n\n/* 应用变量 */\nbody {\n    background-color: var(--bg-primary);\n    color: var(--text-primary);\n    transition: background-color 0.3s ease, color 0.3s ease;\n}\n\n/* 导航栏 */\n.navbar {\n    background-color: var(--bg-card) !important;\n    border-bottom: 1px solid var(--border-color);\n}\n\n.navbar-brand,\n.nav-link {\n    color: var(--text-primary) !important;\n}\n\n.nav-link:hover {\n    color: var(--link-color) !important;\n}\n\n/* 卡片 */\n.card {\n    background-color: var(--bg-card);\n    border-color: var(--border-color);\n    box-shadow: 0 2px 8px var(--shadow);\n}\n\n.card-title,\n.card-text {\n    color: var(--text-primary);\n}\n\n/* 文章列表 */\n.blog-item {\n    background-color: var(--bg-card);\n    border-bottom: 1px solid var(--border-color);\n}\n\n.blog-title a {\n    color: var(--text-primary);\n}\n\n.blog-title a:hover {\n    color: var(--link-color);\n}\n\n.blog-meta {\n    color: var(--text-muted);\n}\n\n/* 按钮 */\n.btn-outline-primary {\n    color: var(--link-color);\n    border-color: var(--link-color);\n}\n\n.btn-outline-primary:hover {\n    background-color: var(--link-color);\n    color: var(--bg-primary);\n}\n\n/* 表单 */\n.form-control {\n    background-color: var(--bg-secondary);\n    border-color: var(--border-color);\n    color: var(--text-primary);\n}\n\n.form-control:focus {\n    background-color: var(--bg-secondary);\n    border-color: var(--link-color);\n    color: var(--text-primary);\n    box-shadow: 0 0 0 0.2rem rgba(99, 179, 237, 0.25);\n}\n\n/* 代码块 */\npre, code {\n    background-color: var(--bg-secondary);\n    color: var(--text-primary);\n}\n\n/* 分页 */\n.pagination .page-link {\n    background-color: var(--bg-card);\n    border-color: var(--border-color);\n    color: var(--text-primary);\n}\n\n.pagination .page-link:hover {\n    background-color: var(--bg-secondary);\n    border-color: var(--border-color);\n    color: var(--link-color);\n}\n\n.pagination .active .page-link {\n    background-color: var(--link-color);\n    border-color: var(--link-color);\n}\n\n/* 主题切换按钮 */\n.theme-toggle {\n    position: fixed;\n    bottom: 30px;\n    right: 30px;\n    width: 50px;\n    height: 50px;\n    border-radius: 50%;\n    background-color: var(--link-color);\n    color: white;\n    border: none;\n    cursor: pointer;\n    box-shadow: 0 4px 12px var(--shadow);\n    z-index: 1000;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    font-size: 20px;\n    transition: transform 0.3s ease, box-shadow 0.3s ease;\n}\n\n.theme-toggle:hover {\n    transform: scale(1.1);\n    box-shadow: 0 6px 16px var(--shadow);\n}\n\n/* 页脚 */\n.footer {\n    background-color: var(--bg-secondary);\n    border-top: 1px solid var(--border-color);\n    color: var(--text-secondary);\n}\n\n/* 标签云 */\n.tag-cloud a {\n    background-color: var(--bg-secondary);\n    color: var(--text-secondary);\n    border: 1px solid var(--border-color);\n}\n\n.tag-cloud a:hover {\n    background-color: var(--link-color);\n    color: white;\n    border-color: var(--link-color);\n}\n\n/* 侧边栏 */\n.sidebar {\n    background-color: var(--bg-card);\n}\n\n.widget {\n    background-color: var(--bg-secondary);\n    border: 1px solid var(--border-color);\n}\n\n.widget-title {\n    color: var(--text-primary);\n    border-bottom: 2px solid var(--link-color);\n}\n\n/* 评论区 */\n.comment-item {\n    border-bottom: 1px solid var(--border-color);\n}\n\n.comment-author {\n    color: var(--text-primary);\n}\n\n.comment-content {\n    color: var(--text-secondary);\n}\n\n/* 响应式优化 */\n@media (max-width: 768px) {\n    .theme-toggle {\n        bottom: 20px;\n        right: 20px;\n        width: 45px;\n        height: 45px;\n        font-size: 18px;\n    }\n}\n"
  },
  {
    "path": "src/main/resources/static/css/donate.css",
    "content": ".content{width:80%;margin:200px auto;}\n.hide_box{z-index:999;filter:alpha(opacity=50);background:#666;opacity: 0.5;-moz-opacity: 0.5;left:0;top:0;height:99%;width:100%;position:fixed;display:none;}\n.shang_box{width:540px;height:540px;padding:10px;background-color:#fff;border-radius:10px;position:fixed;z-index:1000;left:50%;top:50%;margin-left:-280px;margin-top:-280px;border:1px dotted #dedede;display:none;}\n.shang_box img{border:none;border-width:0;}\n.dashang{display:block;width:100px;margin:5px auto;height:25px;line-height:25px;padding:10px;background-color:#E74851;color:#fff;text-align:center;text-decoration:none;border-radius:10px;font-weight:bold;font-size:16px;transition: all 0.3s;}\n.dashang:hover{opacity:0.8;padding:15px;font-size:18px;}\n.shang_close{float:right;display:inline-block;}\n.shang_logo{display:block;text-align:center;margin:20px auto;}\n.shang_tit{width: 100%;height: 75px;text-align: center;line-height: 66px;color: #a3a3a3;font-size: 16px;background: url('/images/cy-reward-title-bg.jpg');font-family: 'Microsoft YaHei';margin-top: 7px;margin-right:2px;}\n.shang_tit p{color:#a3a3a3;text-align:center;font-size:16px;}\n.shang_payimg{width:150px;padding:10px;border:6px;margin:0 auto;border-radius:3px;height:140px;}\n.shang_payimg img{display:block;text-align:center;width:140px;height:140px; }\n.pay_explain{text-align:center;margin:10px auto;font-size:12px;color:#545454;}\n.radiobox{width: 16px;height: 16px;background: url('/images/radio2.jpg');display: block;float: left;margin-top: 5px;margin-right: 14px;}\n.checked .radiobox{background:url('/images/radio1.jpg');}\n.shang_payselect{text-align:center;margin:0 auto;margin-top:40px;cursor:pointer;height:60px;width:280px;}\n.shang_payselect .pay_item{display:inline-block;margin-right:10px;float:left;}\n.shang_info{clear:both;}\n.shang_info p,.shang_info a{color:#C3C3C3;text-align:center;font-size:12px;text-decoration:none;line-height:2em;}"
  },
  {
    "path": "src/main/resources/static/css/font.css",
    "content": "@font-face {\n  font-family: 'iconfont';\n  src: url('../fonts/iconfont.eot');\n  src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'),\n  url('../fonts/iconfont.woff') format('woff'),\n  url('../fonts/iconfont.ttf') format('truetype'),\n  url('../fonts/iconfont.svg#iconfont') format('svg');\n}\n.iconfont{\n  font-family:\"iconfont\" !important;\n  font-size:16px;font-style:normal;\n  -webkit-font-smoothing: antialiased;\n  -webkit-text-stroke-width: 0.2px;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n"
  },
  {
    "path": "src/main/resources/static/css/foreBlog.css",
    "content": "html {\n    height: 100%;\n}\nbody {\n    background-color: #f4f5f7;\n    min-height: 100%;\n    display: flex;\n    flex-direction: column;\n}\n#workingArea {\n    flex: 1;\n}\n\n/* 页面预加载遮罩 */\n#page-preloader{\n    position: fixed;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    background: #fff;\n    z-index: 99999;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    transition: opacity 0.4s ease, visibility 0.4s ease;\n}\n#page-preloader.loaded{\n    opacity: 0;\n    visibility: hidden;\n}\n#page-preloader .spinner{\n    width: 36px;\n    height: 36px;\n    border: 3px solid #e0e0e0;\n    border-top-color: #00B5AD;\n    border-radius: 50%;\n    animation: preloader-spin 0.7s linear infinite;\n}\n@keyframes preloader-spin{\n    to{ transform: rotate(360deg); }\n}\n\n/* 页面内容淡入 */\n.page-fade-in{\n    opacity: 0;\n    transform: translateY(8px);\n    animation: pageFadeIn 0.5s ease 0.15s forwards;\n}\n@keyframes pageFadeIn{\n    to{\n        opacity: 1;\n        transform: translateY(0);\n    }\n}\n\n\n/*  页面头部部分  */\n/* logo */\n.logo{\n    width: 4em;\n    height: 4em;\n    /* margin: 0.3em !important; */\n    margin-right: 1em !important;\n    padding: 0.1em !important;\n}\n\n\n\n.aplayer.aplayer-fixed .aplayer-lrc {\n    text-shadow: none;\n}\n\n.aplayer .aplayer-lrc p.aplayer-lrc-current {\n    color: #1abc9c;\n}\n\n\n#fillBackground{\n    /*width: 100%;*/\n    /*height:70px !important;*/\n    /*!*background: dimgrey;*!*/\n    /*background-color: lightgrey;*/\n}\n\n\n/* 因为semanticUI存在自己的css,而且我们优先级还没它高,那么使用!important提高优先级\n\t\t\t\t1em 默认等于浏览器字体大小16px\n */\n.navdiv{\n    position: absolute !important;\n    top: 0em !important;\n    margin-top: 0em !important;\n    padding:0em !important;\n    opacity: 0.88;\n    z-index: 100;\n    width: 100%;\n    display: block !important;\n}\n\n.navDiv-active{\n    /* position: fixed  是相对于窗体而言的，也即相对于整个窗体布局 */\n    position: fixed !important;\n    top: 0em !important;\n    margin-top: 0em !important;\n    padding:0em !important;\n    opacity: 0.95;\n    z-index: 100;\n    width: 100%;\n    display: block !important;\n}\n\n#navMenu .mobileButton{\n    position: absolute;\n    top: 1em;\n    right: 0em;\n}\n\n/* .menu 父容器的第一个子元素 */\n#navMenu .ui.menu:first-child {\n    margin-top: 0;\n    margin-bottom: 0 ;\n}\n\n.mobileShow{\n    display: none !important;\n}\n\n.mobileButton i{\n    margin: 0em !important;\n}\n\n/* 手机端显示的title */\n#navMenu .mobileTitle{\n    position: absolute;\n    top: 0.6em;\n    left: 43%;\n    font-size: 2em;\n    font-weight: bolder;\n    color: #00B5AD;\n}\n\n#indexNavMenu a{\n    display: inline-block;\n    opacity: 1;\n    width: 110px !important;\n    padding: 12px;\n    margin-right: 15px;\n}\n\n\n/* 移动端大小时隐藏部分导航项 */\n\n@media screen and (max-width: 991px){\n    .searchItemHidden{\n        display: none !important;\n    }\n}\n\n@media screen and (max-width:767px) {\n    .mobileHidden{\n        display: none !important;\n    }\n    .mobileShow{\n        display: block !important;\n    }\n    #indexNavMenu{\n        display: none !important;\n    }\n    #music-icon{\n        display: none !important;\n    }\n    #music-iframe{\n        display: none !important;\n    }\n    .pageHeadContainer,.articleHeadContainer{\n        height: 220px !important;\n    }\n    .pageHeadContainer .backgroundImg,.articleHeadContainer .backgroundImg{\n        height: 220px !important;\n    }\n    .pageHeadContainer .backgroundLayout .myInfoDiv .name{\n        display: none;\n    }\n    .pageHeadContainer .backgroundLayout .myInfoDiv .word{\n        padding: 0em 0.8em;\n    }\n}\n\n\n.pageHeadContainer{\n    position: relative;\n    width: 100%;\n    height: 300px;\n    overflow: hidden;\n    /*margin-top: 84px !important;*/\n\n}\n.pageHeadContainer .backgroundImg{\n    width: 100%;\n    height: 300px;\n    object-fit: cover;\n}\n.pageHeadContainer .backgroundLayout{\n    position: absolute;\n    top: 0;\n    width: 100%;\n}\n.pageHeadContainer .backgroundLayout .myInfoDiv{\n    color: #fff;\n    max-width: 630px;\n    margin: 8em auto 1em;\n}\n\n.pageHeadContainer .backgroundLayout .myInfoDiv .name{\n    font-weight: bolder;\n    font-size: 2.5em;\n}\n\n.pageHeadContainer .backgroundLayout .myInfoDiv .word{\n    margin-top: 1em;\n    font-size: 1.2em;\n}\n\n\n\n/*  首页*/\n.headContainer{\n    /* 主要用来绝对定位 */\n    position: relative;\n    /* left: 0em;\n    top: 0em; */\n    /* 固定首部容器大小  */\n    width: 100%;\n    height: 720px;\n    /* 内部元素超出固定大小则隐藏 */\n    overflow: hidden;\n}\n\n.headContainer .backgroundImg{\n    /* 固定图片长宽 一旦固定，屏幕大小发生变化时，背景图片不会成比例缩放  */\n    width: 100%;\n    height: 710px;\n    /* 对图片进行剪切，保留原始比例： 这样图片会成比例缩放,但是部分内容仍然肯被裁剪 */\n    object-fit: cover;\n}\n\n/* 相对布局只是在当前位置 进行移动，文档并不会删除该节点/对象 ，\n\t此时图片已经沾满了相对布局的位置，后来元素，就不会显示了\n\t因此使用绝对布局，定位到容器内部\n */\n.headContainer .backgroundLayout{\n    position: absolute;\n    top: 0em;\n    width: 100%;\n    height: 100%;\n}\n/* infoDiv 居中对齐 */\n.headContainer .backgroundLayout .myInfoDiv{\n    max-width: 630px;\n    margin: 12em auto 3em ;\n}\n\n.headContainer .nav a{\n    opacity: 0.6;\n}\n\n\n.myInfoDiv .word span{\n    display: block;\n    font-size: 1.5em;\n    font-style: italic;\n    color: #C9BA9B;\n    margin: 1.6em 0em;\n}\n\n.myInfoDiv .myLink{\n    margin-bottom: 2em;\n}\n\n.myInfoDiv .nav{\n    margin-top: 5em;\n}\n\n.myInfoDiv .nav a{\n    margin-top: 0.8em;\n}\n\n.myInfoDiv .guidance{\n    margin-top: 6em !important;\n}\n\n.guidance{\n    opacity: 0.9;\n}\n\n.guidance i{\n    margin: 0em !important;\n    color: white;\n}\n\n.guidance i:hover{\n    color: #0e8c8c;\n}\n\n.guidance i.icon:before{\n    background: 0 0!important;\n    font-size: 2em;\n}\n\n.aplayer-hide{\n    display: none;\n}\n\n/* 首页推荐 */\n.recommendation{\n    max-width: 1200px !important;\n    margin: 2em auto 1em;\n}\n\n.recommendation .recommendPic{\n    /* margin-left: 100px; */\n}\n\n.recommendation p{\n    font-style: italic;\n    font-size: 1.2em;\n}\n\n.recommendation .titleDiv{\n    margin-top: 1em !important;\n}\n\n.recommendation .title{\n    margin-left: 0.8em;\n}\n\n.recommendation .title .icon{\n    margin-right: 0.1em !important;\n}\n\n.recommendation .title:hover{\n    color: #E66A6A;\n}\n\n\n.recommendation .hotArticles .articleBrief{\n    color: whitesmoke;\n}\n\n\n.recommendation .hotArticles .hotArticle .content{\n    background: rgba(0,0,0,0) !important;\n}\n\n.recommendation .hotArticles .hotArticle .header{\n    font-size: 1.5em !important;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    overflow: hidden;\n}\n\n.recommendation .hotArticles .hotArticle .description{\n    /*text-overflow: ellipsis;*/\n    /*white-space: nowrap;*/\n    /*overflow: hidden;*/\n    /*font-size: 1.2em !important;*/\n    /*font-weight: 500;*/\n    padding-top: 5px;\n}\n\n.recommendation .hotArticles .hotArticle .content .meta{\n    padding-top: 5px;\n    font-size: 13px;\n}\n\n.recommendation .hotArticles .hotArticle .content .hot-article-author{\n    display: inline-block;\n    height: 28px;\n    line-height: 28px;\n}\n\n.recommendation .hotArticles .hotArticle .content .meta .noWrap {\n    white-space: nowrap;\n}\n\n\n.recommendation .articleBrief .hotArticleTitle{\n    font-size: 1.3em !important;\n    overflow: hidden !important;\n    max-height: 1.1em !important;\n    color: #5DCAC1 !important;\n}\n\n.recommendation .articleBrief .hotArticleContent{\n    margin-top: 0.5em !important;\n    max-height: 3.7em !important;\n    line-height: 1.3em !important;\n    overflow: hidden !important;\n}\n\n.recommendation .articleBrief .hotArticleAuthor{\n    display: inline-block !important;\n    float: right !important;\n    margin: 0.5em !important;\n    padding-right: 0.3em !important;\n}\n\n.recommendation .newVideos .video .card .content .meta{\n    margin-top: 0.2em;\n}\n.recommendation .newVideos .video .card .extra.content{\n    text-align: center;\n}\n\n.recommendation .comments .comment .card .content .description{\n    height: 4em;\n    overflow: hidden;\n}\n\n.recommendation .comments .comment .card .content .comment-user {\n    display: inline-block;\n    height: 28px;\n    line-height: 28px;\n}\n\n\n/* 作者推荐文章 */\n.recommendation .recommendTitleDiv {\n    text-align: center !important;\n    justify-content: center !important;\n}\n\n.recommendation .recommendTitleDiv .recommendArticlesTitle {\n    color: #00232C;\n    font-size: 1.2em;\n    font-weight: bold;\n}\n\n\n.recommendArticles .recommendArticle .card {\n    position: relative;\n    /* 弹性盒子 */\n    /* display: flex;      */\n    justify-content: center;\n    align-items: center;\n}\n\n.recommendArticle .articleInfo {\n    position: absolute;\n    bottom: -2em;\n    height: 60px;\n    width: 270px;\n    background-color: #fff;\n    /* x坐标，y坐标，模糊程度，什么颜色 */\n    box-shadow: 0px 2px 5px darkgrey;\n}\n\n.recommendArticle .articleInfo {\n    text-align: center;\n    color: #999999;\n}\n\n.recommendArticle .articleInfo .articleTitle {\n    margin-top: 5px;\n    padding: 0em 5px;\n    color: #000000;\n    /* 超出内容...代替 */\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    overflow: hidden;\n}\n\n.recommendArticle .articleInfo .description {\n    margin-top: 5px;\n\n    /* 超出内容...代替 */\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    overflow: hidden;\n}\n\n.recommendArticle .articleInfo .description .tipSpan {\n    display: inline-block !important;\n    margin-right: 3px !important;\n}\n\n\n/* 作者推荐视频  */\n\n.recommendTitleDiv .recommendVideosTitle {\n    margin-top: 1em;\n    color: #00232C;\n    font-size: 1.2em;\n    font-weight: bold;\n}\n\n.recommendVideos .video .playTag {\n    color: #fff;\n    display: inline-block;\n    border-radius: 50%;\n    border: 1px solid #fff;\n    width: 50px;\n    height: 50px;\n    vertical-align: middle;\n    line-height: 50px;\n    padding-left: 8px;\n    /* padding-bottom: 8px; */\n}\n\n.column.videos .two.column.row{\n\n}\n\n.recommendVideos .video .card {\n    position: relative;\n}\n\n.recommendVideos .video .card span {\n    position: absolute;\n    color: #fff;\n}\n\n.recommendVideos .video .card span.viewNumber {\n    top: 2px;\n    right: 7px;\n}\n\n.recommendVideos .video .card span.author {\n    bottom: 5px;\n    left: 8px;\n}\n\n.recommendVideos .video .card span.videoName {\n    bottom: 12px;\n    right: 8px;\n}\n\n\n\n\n\n/* 置顶图标   */\n#toTop{\n    position: fixed;\n    right: 2em;\n    bottom: 3em;\n    background-color: #fff;\n    z-index: 10000;\n    margin: 0em;\n    box-shadow: 0 2px 8px rgba(0,0,0,0.12);\n    border: 1px solid #eee;\n}\n\n.toTop-active{\n    display: inline-block !important;\n}\n\n.iframe-active{\n    display: inline-block !important;\n}\n\n#toTop i{\n    margin: 0em;\n    padding-top: 0.2em;\n    color: #00B5AD;\n    font-size: 1.5em;\n}\n\n\n#music-icon{\n    position: fixed;\n    right: 3.3em;\n    bottom: 4em;\n    z-index: 10000;\n    /* border-radius: 100px; */\n    margin: 0em;\n    font-size: 1.2em;\n}\n\n/* 音乐frame */\n#music-iframe{\n    position: fixed;\n    left: 0em;\n    bottom: 0em;\n    /*background-color: whitesmoke;*/\n    z-index: 9999;\n    /* border-radius: 100px; */\n    margin: 0em;\n}\n\n\n.newArticles{\n    max-width: 1200px !important;\n    margin: 2em auto 6em;\n    padding: 0em 1em !important;\n}\n\n.newArticles .titleName{\n    width: 200px;\n    height: 50px;\n}\n\n.newArticles  .article{\n    margin: 1em 0em !important;\n    border-radius: 8px !important;\n    overflow: hidden;\n    transition: box-shadow 0.25s ease, transform 0.25s ease;\n}\n\n.newArticles .article:hover{\n    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;\n    transform: translateY(-2px);\n}\n\n\n\n.newArticles .article .content{\n    padding: 0.4em 0.4em 0.4em 0.6em !important;\n    position: relative;\n}\n.newArticles .article .articleHeader{\n    position: absolute;\n    left: 0.3em;\n    top: 0.5em;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    overflow: hidden;\n    height: 22px;\n    font-size: 1.5em;\n}\n\n.newArticles .article .articleHeader a{\n    color: #000000;\n}\n\n.newArticles .article .articleHeader a:hover{\n    color: #00B5AD;\n}\n\n.newArticles .article .overView{\n    height: 5em !important;\n    color: #666;\n    text-overflow: ellipsis;\n    padding-top: 5px;\n    overflow: hidden;\n    line-height: 1.6;\n}\n\n.newArticles .article .overView a{\n    display: block !important;\n    width: 100%;\n    height: 100%;\n    color: #4c4f52 !important;\n    font-size: 15px;\n}\n\n.newArticles .article .overView a:hover{\n    /*color: #299999 !important;*/\n}\n\n.newArticles .article .description{\n    padding-top: 10px;\n}\n\n.newArticles .article .description span{\n    margin-right: 0.5em;\n    color: #999999;\n}\n\n.newArticles .article .description .tags a{\n    margin: 0em !important;\n    padding: 0.3em !important;\n}\n\n/* 内部元素垂直居中 */\n.newArticles .article .imageDiv{\n    /* display: inline-block !important;\n    vertical-align: middle !important; */\n    /* line-height 不能居中图片 */\n    /* line-height: 200px !important; */\n}\n\n.newArticles .article .imageDiv .categoryImg{\n    width: 180px;\n    height: 150px;\n    border-radius: 8px;\n}\n\n.newArticles .paginationDiv{\n    margin-top: 3em;\n}\n\n\n/* 文章分类页 */\n.categoryContent{\n    max-width: 1200px !important;\n    margin: 2em auto 6em;\n    padding: 0em 1em !important;\n}\n\n.categoryContent  .article{\n    /* border: solid #DEDEDF 2px !important; */\n    /* border-radius: 0.4em !important; */\n    /* padding: 0.6em 0.4em !important; */\n    margin: 1em 0em !important;\n}\n\n.categoryContent .categoryTags{\n    margin: 0em auto;\n}\n\n.categoryContent .categoryTags button{\n    margin-top: 0.6em !important;\n}\n\n.categoryContent .categoryTags button:hover{\n    color: #00827C !important;\n}\n\n.categoryContent .categoryTitle{\n    margin-top: 2em !important;\n    margin-bottom: 1em !important;\n}\n\n.categoryContent .article .content{\n    padding: 0em 0.4em 0.4em 0.6em !important;\n    position: relative;\n}\n\n.categoryContent .article .articleHeader{\n    position: absolute;\n    left: 0.3em;\n    top: 0.1em;\n    font-size: 1.5em;\n    font-weight: 500;\n}\n\n.categoryContent .article .articleHeader a{\n    color: #000000;\n}\n.categoryContent .article .articleHeader a:hover{\n    color: #00B5AD;\n}\n\n.categoryContent .article .overView{\n\n    height: 5.5em !important;\n    font-size: 1.1em !important;\n    color: #747474;\n    line-height: 1.5em;\n    overflow: hidden;\n    text-overflow:ellipsis;\n}\n\n.categoryContent .article .overView a{\n    display: block !important;\n    width: 100%;\n    height: 100%;\n    color: #4c4f52 !important;\n    font-size: 15px;\n}\n\n.categoryContent .article .description{\n    padding-top: 10px;\n}\n\n.categoryContent .article .description span{\n    margin-right: 0.5em;\n    color: #999999;\n}\n\n.categoryContent .article .description .tags a{\n    margin: 0em !important;\n    padding: 0.3em !important;\n}\n\n/* 内部元素垂直居中\n.article .imageDiv{\n\t/* display: inline-block !important;\n\tvertical-align: middle !important; */\n/* line-height 不能居中图片 */\n/* line-height: 200px !important; */\n/* } */\n\n/* .imageDiv .categoryImg{\n\twidth: 180px;\n\theight: 150px;\n\tborder-radius: 8px;\n} */\n\n.paginationDiv{\n    margin: 3em auto;\n    max-width: 400px;\n}\n\n\n/* 文章页 - 两栏布局 */\n.blog-layout {\n    max-width: 1260px;\n    margin: 1.5em auto 2em;\n    padding: 0 1.5em;\n    display: flex;\n    gap: 24px;\n    align-items: flex-start;\n}\n\n.blog-main {\n    flex: 1;\n    min-width: 0;\n}\n\n.blog-card {\n    background: #fff;\n    border-radius: 8px;\n    box-shadow: 0 1px 8px rgba(0,0,0,0.06);\n    padding: 2em 2.5em;\n    margin-bottom: 20px;\n}\n\n.blog-title {\n    font-size: 1.8em;\n    font-weight: 700;\n    color: #1a1a1a;\n    margin: 0 0 0.5em;\n    line-height: 1.35;\n}\n\n.blog-meta {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 1em;\n    color: #888;\n    font-size: 0.9em;\n    align-items: center;\n}\n\n.blog-meta i {\n    margin-right: 2px !important;\n}\n\n.blog-flag {\n    display: inline-block;\n    background: #00b5ad;\n    color: #fff;\n    font-size: 0.75em;\n    padding: 2px 10px;\n    border-radius: 3px;\n    text-decoration: none;\n    font-weight: 600;\n}\n\n.blog-body {\n    line-height: 1.85;\n    color: #333;\n    font-size: 15px;\n    word-break: break-word;\n}\n\n.blog-body img {\n    max-width: 100%;\n    border-radius: 4px;\n}\n\n.blog-body code {\n    white-space: pre-wrap !important;\n    word-wrap: break-word !important;\n}\n\n.blog-body a {\n    white-space: pre-wrap !important;\n    word-wrap: break-word !important;\n}\n\n.blog-tags {\n    margin-top: 1.5em;\n    padding-top: 1em;\n    border-top: 1px solid #f0f0f0;\n}\n\n.blog-tags .label {\n    margin: 2px 4px 2px 0 !important;\n}\n\n.blog-copyright {\n    background: #f9fafb;\n    font-size: 0.9em;\n    color: #666;\n    padding: 1.2em 2em !important;\n}\n\n.blog-copyright p {\n    margin: 0.3em 0;\n}\n\n/* 侧边栏 */\n.blog-sidebar {\n    width: 280px;\n    flex-shrink: 0;\n    position: sticky;\n    top: 80px;\n}\n\n.sidebar-card {\n    background: #fff;\n    border-radius: 8px;\n    box-shadow: 0 1px 8px rgba(0,0,0,0.06);\n    padding: 1.2em;\n    margin-bottom: 16px;\n}\n\n.sidebar-author {\n    text-align: center;\n    padding: 1.5em 1em;\n}\n\n.sidebar-avatar {\n    width: 64px;\n    height: 64px;\n    border-radius: 50%;\n    object-fit: cover;\n    margin-bottom: 8px;\n}\n\n.sidebar-author-name {\n    font-weight: 600;\n    font-size: 15px;\n    color: #333;\n}\n\n.sidebar-toc h4 {\n    margin: 0 0 0.8em;\n    font-size: 14px;\n    color: #555;\n    padding-bottom: 8px;\n    border-bottom: 1px solid #f0f0f0;\n}\n\n.toc-list {\n    max-height: 400px;\n    overflow-y: auto;\n}\n\n.toc-item {\n    display: block;\n    padding: 5px 8px;\n    font-size: 13px;\n    color: #666;\n    text-decoration: none;\n    border-radius: 4px;\n    line-height: 1.4;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    transition: background 0.15s, color 0.15s;\n}\n\n.toc-item:hover {\n    background: #f5f5f5;\n    color: #00b5ad;\n}\n\n@media (max-width: 991px) {\n    .blog-layout {\n        flex-direction: column;\n        padding: 0 1em;\n    }\n    .blog-sidebar {\n        width: 100%;\n        position: static;\n        display: flex;\n        gap: 16px;\n    }\n    .sidebar-card {\n        flex: 1;\n    }\n    .sidebar-toc {\n        display: none;\n    }\n    .blog-card {\n        padding: 1.5em 1.2em;\n    }\n}\n\n@media (max-width: 767px) {\n    .blog-title {\n        font-size: 1.4em;\n    }\n    .blog-card {\n        padding: 1em;\n    }\n    .blog-sidebar {\n        display: none;\n    }\n}\n\n/*  comment部分 */\n.commentContent{\n    max-width: 1200px !important;\n    margin: 1em auto 1em;\n    padding: 1em 2.5em !important;\n}\n\n.commentContent .segment{\n    background: rgba(0,0,0,0) !important;\n    padding: 1em 1em !important;\n}\n\n\n.commentContent .commentTitle{\n    margin: 1em auto  0em!important;\n    font-size: 2em !important;\n    font-style: italic;\n    font-weight: 400;\n}\n\n.commentContent .commentsDiv{\n    max-width: 900px !important;\n    margin: 1em 1em !important;\n}\n\n.commentContent .commentNumber{\n    display: block !important;\n    margin-top: 1em !important;\n}\n\n.commentContent .commentNumberRow{\n    padding-bottom: 0em !important;\n}\n\n.commentContent .divider{\n    margin: 0.8em 0em !important;\n}\n\n.commentContent .comment{\n    width: 100%;\n    /* min-height: 70px;\n    /* max-height: 200px; */\n    margin: 0.5em 0em;\n    /* overflow: hidden; */\n}\n\n.commentContent .comment img{\n    width: 60px;\n    height: 60px;\n    float: left;\n}\n\n.commentContent .comment .content{\n    overflow: hidden;\n    min-height: 70px;\n    max-height: 270px;\n    padding-left: 1.2em;\n}\n\n.commentContent .comment .content .userName{\n    font-size: 1.2em;\n    color: #00B5AD;\n}\n\n.commentContent .comment .content .commentTime{\n    float: right;\n    color: #999999;\n}\n\n.commentContent .comment .content .contentDetails{\n    max-height: 200px;\n    padding: 0.5em 0em;\n    overflow: hidden;\n}\n\n.commentContent .comment .content .actions a{\n    color: darkgray;\n    margin-right: 0.5em;\n}\n\n.commentContent .comment .content .actions a:hover{\n    color: red;\n}\n\n.commentContent .comment .content .replay{\n    /* color: #909090; */\n}\n\n\n.end{\n    margin: 1em auto !important;\n    color: #999999;\n}\n\n/* music页 */\n.musicContent{\n    max-width: 800px !important;\n    margin: 5em auto 1em;\n    padding: 1em 0em !important;\n    background: rgba(0,0,0,0) !important;\n}\n\n.musicContent .segment.musicBackground{\n    background: rgba(0,0,0,0) !important;\n}\n\n\n/* .musicContent{\n\tmargin: 5em auto !important;\n\tmax-width: 800px;\n} */\n.musicContent .musicBackground{\n    height: 40em !important;\n}\n.musicContent .musicTitle{\n    margin: 0.5em auto !important;\n    text-align: center;\n    color: #00B5AD;\n}\n\n.musicContent .aplayer{\n    overflow: visible !important;\n}\n\n\n.musicContent .aplayer-lrc{\n    position: absolute !important;\n    top: 9em !important;\n    left: 20% !important;\n    height: 22em !important;\n    text-align: center !important;\n}\n\n.musicContent .aplayer .aplayer-lrc p{\n    /* font-size: 12px !important;\t\t\t */\n    font-size: 0.9em !important;\n    margin: 0.5em 0em !important;\n    color: #000000;\n}\n\n.musicContent .aplayer-list{\n    position: relative !important;\n    z-index: 100 !important;\n    background-color: #F0F0F0;\n}\n\n.musicContent .aplayer .aplayer-lrc .aplayer-lrc-currents{\n    /* 过渡属性,过渡时间，过渡效果，过渡延迟 */\n    /* transition: all 0.6s ease-out !important; */\n}\n\n.musicContent .aplayer .aplayer-lrc .aplayer-lrc-current{\n    color: #00B5AD !important;\n    font-size: 17px !important;\n}\n\n/* video页 */\n\n\n.videoContent{\n    max-width: 1000px !important;\n    margin: 1em auto 1em;\n    padding: 1em 1em !important;\n    background: rgba(0,0,0,0);\n}\n\n.videoContent .raised.teal.segment{\n    background: rgba(0,0,0,0);\n}\n\n\n\n.videoContent .videoTitle{\n    margin: 1em auto  0em!important;\n    font-size: 2em !important;\n    font-style: italic;\n    font-weight: 400;\n}\n\n\n/* videoPlay页 */\n\n.videoPlayContent{\n    max-width: 1000px !important;\n    margin: 1em auto 1em;\n    padding: 1em 1em !important;\n    background: rgba(0,0,0,0);\n}\n\n.videoPlayContent .raised.teal.segment{\n    background: rgba(0,0,0,0);\n}\n\n\n\n.videoPlayContent .videoHeader{\n    margin: 1em auto  0em!important;\n    font-size: 2em !important;\n    font-style: italic;\n    font-weight: 400;\n}\n\n.videoPlayContent .videoRow{\n    margin: 1em 0em !important;\n}\n\n.videoContent .videoRow{\n    margin: 2em 0em !important;\n}\n\n.videoContent .video{\n    padding-bottom: 20px;\n}\n\n.video .videoHeader{\n    color: #373737;\n    margin: 0.2em 0em;\n}\n\n.video .videoAuthor{\n    color: #676767;\n    font-size: 0.9em;\n}\n\n\n/*  commentWall页 */\n\n.commentWallContent{\n    max-width: 1000px !important;\n    margin: 2em auto 1em;\n    padding: 1em 1em !important;\n}\n\n.commentWallContent .commentTitle{\n    margin: 1em auto  0em!important;\n    font-size: 2em !important;\n    font-style: italic;\n    font-weight: 400;\n}\n\n.commentWallContent .commentsDiv{\n    max-width: 900px !important;\n    margin: 1em 1em !important;\n}\n\n.commentWallContent .segment{\n    padding: 1em 1em !important;\n}\n\n.commentWallContent .commentNumber{\n    display: block !important;\n    margin-top: 1em !important;\n}\n\n.commentWallContent .commentNumberRow{\n    padding-bottom: 0em !important;\n}\n\n.commentWallContent .divider{\n    margin: 0.8em 0em !important;\n}\n\n.comment{\n    width: 100%;\n    /* min-height: 70px; */\n    /* max-height: 200px; */\n    margin: 1em 0em;\n    /* overflow: hidden; */\n}\n\n.comment img{\n    width: 60px;\n    height: 60px;\n    float: left;\n}\n\n.comment .content{\n    overflow: hidden;\n    min-height: 70px;\n    max-height: 270px;\n    padding-left: 1.2em;\n}\n\n.comment .content .userName{\n    font-size: 1.2em;\n    color: #00B5AD;\n}\n\n.comment .content .commentTime{\n    float: right;\n    color: #999999;\n}\n\n.comment .content .contentDetails{\n    max-height: 200px;\n    padding: 0.5em 0em;\n    overflow: hidden;\n}\n\n\n.comment .content .replay{\n    color: #909090;\n}\n\n\n/* 表单 */\n.row.formRow{\n    margin-top: 1em !important;\n}\n\n.row .ui.form .tips{\n    font-weight: bolder;\n    margin-bottom: 0.5em;\n}\n\n.row .ui.form .inline.fields{\n    /* text-align: center !important; */\n    /* margin: 0em auto 1em !important; */\n}\n.row .inline.fields .field{\n    display: block !important;\n}\n\n/*.row .inline.fields label{*/\n/*    margin-right: 4px !important;*/\n/*}*/\n\n.fields .necessary{\n    color: red !important;\n}\n\n\n.row .form{\n    width: 100% !important;\n}\n\n\n/* 关于我 */\n.aboutMeHeadContainer{\n    position: relative;\n    width: 100%;\n    height: 400px;\n    overflow: hidden;\n}\n.aboutMeHeadContainer .backgroundImg{\n    width: 100%;\n    height: 400px;\n    object-fit: cover;\n}\n\n.aboutMeContent{\n    max-width: 1000px !important;\n    margin: 1em auto 1em;\n    padding: 1em 1em !important;\n    background: rgba(0,0,0,0);\n}\n\n.aboutMeContent .raised.teal.segment{\n    background: rgba(0,0,0,0);\n    padding: 0em 0em !important;\n\n}\n\n.aboutMeContent .typo.ui{\n    width:100% !important;\n}\n\n.aboutMeContent .aboutMeTitle{\n    margin: 1em auto  0em!important;\n    font-size: 2em !important;\n}\n\n.aboutMeContent .aboutMeInfo{\n    margin: 0em auto;\n    color: #999999;\n    padding: 1em 0.5em;\n}\n\n.aboutMeContent .introduction .item{\n    margin: 0.8em 0em;\n}\n\n.aboutMeContent .introduction{\n    margin: 1em;\n}\n\n.aboutMeContent .introduction .aboutMe,.blog,.logUpdate,.futurePlan{\n    width: 100%;\n}\n\n.item .span.header{\n    font-size: 1.6em;\n    font-weight: 600;\n    color: #00B5AD;\n}\n\n.item .itemHeader{\n    font-size: 1.2em;\n    font-weight: 600;\n}\n\n.item .spanContent{\n    color: #555555;\n    line-height: 1.4em;\n    font-size: 1.1em;\n}\n\n.item .itemContent{\n    color: #555555;\n    /* font-size: em; */\n    padding-top: 0.5em;\n}\n\n.itemContent p{\n    font-size: 1.1em;\n    font-weight: 500 !important;\n}\n\n.blog,.futurePlan,.logUpdate{\n    margin-top: 2em !important;\n}\n\n\n/* 项目介绍 */\n.projectContent{\n    max-width: 1000px !important;\n    margin: 1em auto 1em;\n    padding: 1em 1em !important;\n    background: rgba(0,0,0,0);\n}\n\n.projectContent .raised.teal.segment{\n    background: rgba(0,0,0,0);\n    padding: 0em 0em !important;\n\n}\n\n.projectContent .projectTitle{\n    margin: 1em auto  0em!important;\n    font-size: 2em !important;\n}\n\n\n/* friendLink */\n.friendLinkContent{\n    max-width: 1000px !important;\n    margin: 1em auto 1em;\n    padding: 1em 1em !important;\n    background: rgba(0,0,0,0);\n}\n\n.friendLinkContent .raised.teal.segment{\n    background: rgba(0,0,0,0);\n}\n\n\n.friendLinkContent .linkTitle{\n    margin: 1em auto  0em!important;\n    font-size: 2em !important;\n    font-style: italic;\n    font-weight: 400;\n}\n\n.friendLinkContent .linkRow{\n    margin: 2em 0em !important;\n}\n\n.friendLinkContent .link{\n\n}\n\n.link .linkHeader{\n    color: #373737;\n    margin: 0.2em 0em;\n}\n\n.link .linkAuthor{\n    color: #676767;\n    font-size: 0.9em;\n}\n\n.linkFormContent{\n    max-width: 1000px !important;\n    margin: 1em auto 1em;\n    padding: 1em 1em !important;\n}\n\n.linkFormContent .segment{\n    background: rgba(0,0,0,0) !important;\n}\n\n.linkFormContent .linkHeader{\n    display: block !important;\n    color: #00B5AD;\n    font-weight: bolder;\n    font-size: 1.5em;\n    padding: 1em 0em;\n}\n\n.linkFormContent .linkDemoRow{\n    /* padding-bottom: 1em !important; */\n}\n\n.linkFormContent .linkDemo{\n    display: block; !important;\n}\n\n.linkDemo .demoTitle{\n    font-size: 1.1em;\n    font-weight: bold;\n}\n\n.linkDemo .demoContent div{\n    line-height: 1.5em;\n}\n\n.linkDemo .demoContent label{\n    font-weight: 600;\n    margin-right: 0.5em;\n}\n\n.linkDemo .demoContent span{\n    color: dimgrey;\n}\n\n\n/* 标签页*/\n.tagContent{\n    max-width: 800px !important;\n    margin: 6em auto 0em;\n    padding: 1em 0em 0em 0em !important;\n    background: rgba(0,0,0,0) !important;\n}\n\n.tagContent .segment.tagBackground{\n    background: rgba(0,0,0,0) !important;\n    padding: 0em !important;\n\n}\n\n.tagContent .tagTitle{\n    margin: 1em auto 0em !important;\n    font-size: 2em !important;\n    text-align: center !important;\n    color: #00B5AD;\n}\n\n#tagsList {\n    position: relative;\n    width: 600px;\n    height: 600px;\n    margin: 0px auto;\n    background: rgba(0,0,0,0);\n    height: 400px;\n    width:800px;\n    /*border:1px solid #ccc;*/\n    padding:10px;\n}\n\n#tagsList a {\n    position: absolute;\n    top: 0px;\n    left: 0px;\n    font-family: Microsoft YaHei;\n    /*color: #009C95;*/\n    font-weight: bold;\n    text-decoration: none;\n    padding: 3px 6px;\n}\n\n#tagsList a:hover {\n    color: #FF0000;\n    letter-spacing: 2px;\n}\n\n\n/* 标签颜色*/\n#tagsList .tag0{\n    color: #8d8687;\n}\n#tagsList .tag1{\n    color: #0e8c8c;\n}\n#tagsList .tag2{\n    color: #0ea432;\n}\n#tagsList .tag3{\n    color: #00a8c6;\n}\n#tagsList .tag4{\n    color: #8da6ce;\n}\n#tagsList .tag5{\n    color: #00c4ff;\n}\n#tagsList .tag6{\n    color: #9c3328;\n}\n#tagsList .tag7{\n    color: #1abc9c;\n}\n#tagsList .tag8{\n    color: #6C95F5;\n}\n#tagsList .tag9{\n    color: #6a9fb5;\n}\n#tagsList .tag10{\n    color: #7aa61a;\n}\n\n\n\n/* 搜索页 */\n.searchPageContent{\n    max-width: 1100px !important;\n    margin: 2em auto 6em;\n    padding: 0em 1em !important;\n}\n\n\n.searchPageContent  .article{\n    /* border: solid #DEDEDF 2px !important; */\n    /* border-radius: 0.4em !important; */\n    /* padding: 0.6em 0.4em !important; */\n    margin: 1em 0em !important;\n}\n\n.searchPageContent .categoryTags{\n    margin: 0em auto;\n}\n\n.searchPageContent .categoryTags button{\n    margin-top: 0.6em !important;\n}\n\n.searchPageContent .categoryTags button:hover{\n    color: #00827C !important;\n}\n\n.searchPageContent .searchTitle{\n    display: inline-block;\n    width: 100%;\n    height: 60px;\n    line-height: 60px;\n    color: withe !important;\n    color: aliceblue;\n    text-align: center;\n    font-size: 1.5em;\n    /* background-image: linear-gradient(to right, #00fff0, #0083fe); */\n    border-radius: 5px;\n    background: #74ebd5;\n    background: -webkit-linear-gradient(to top, #ACB6E5, #74ebd5);\n    background: linear-gradient(to top, #ACB6E5, #74ebd5);\n\n}\n\n.searchPageContent .article .content{\n    padding: 0em 0.4em 0.4em 0.6em !important;\n    position: relative;\n}\n\n.searchPageContent .article .articleHeader{\n    position: absolute;\n    left: 0.3em;\n    top: 0.1em;\n    font-size: 1.5em;\n    font-weight: 500;\n}\n\n.searchPageContent .article .articleHeader a{\n    color: #000000;\n}\n.searchPageContent .article .articleHeader a:hover{\n    color: #00B5AD;\n}\n\n.searchPageContent .article .overView{\n\n    height: 5.5em !important;\n    font-size: 1.1em !important;\n    color: #747474;\n    line-height: 1.5em;\n    overflow: hidden;\n    text-overflow:ellipsis;\n}\n\n.searchPageContent .article .overView a{\n    display: block !important;\n    width: 100%;\n    height: 100%;\n    color: #4c4f52 !important;\n    font-size: 15px;\n}\n\n.searchPageContent .article .description{\n    padding-top: 10px;\n}\n\n.searchPageContent .article .description span{\n    margin-right: 0.5em;\n    color: #999999;\n}\n\n.searchPageContent .article .description .tags a{\n    margin: 0em !important;\n    padding: 0.3em !important;\n}\n\n\n.hideRow{\n    display: none !important;\n}\n.showRow{\n    display: block !important;\n}\n\n\n/*error 页面*/\n\n.errorContent{\n    max-width: 800px !important;\n    margin: 7em auto 0em;\n    padding: 1em 0em 0em 0em !important;\n    background: rgba(0,0,0,0) !important;\n}\n\n.errorContent .segment.errorBackground{\n    background: rgba(0,0,0,0) !important;\n    padding: 0em !important;\n\n}\n\n.error\n    /* horizontal menu */\nimg {\n    max-width: 100%;\n}\n\n.error\n.wrap {\n    width: 1000px;\n    margin: 0 auto;\n}\n\n.error\n.main {\n    text-align: center;\n    color: #FFF;\n    font-weight: bold;\n    -webkit-border-radius: 5px;\n    -moz-border-radius: 5px;\n    border-radius: 5px;\n    margin-top: 3.5em;\n    margin-bottom: 1em;\n}\n\n.error\n.main h3 {\n    font-size: 16px;\n    text-align: left;\n    padding: 30px 30px;\n}\n\n.error\n.main h1 {\n    font-size: 60px;\n    margin-top: 15px;\n    color: #1CD3CB;\n    text-transform: uppercase;\n    font-family: 'Fenix', serif;\n}\n\n.error\n.main p {\n    font-size: 1em;\n    margin-top: 10px;\n    line-height: 1.6em;\n    color: black;\n}\n\n.error\n.main span.error {\n    color: #48C8D3;\n    font-size: 18px;\n}\n\n.error\n.main p span {\n    font-size: 14px;\n    color: #24817A;\n}\n\n.error\n.icons {\n    padding-bottom: 20px;\n    text-align: right;\n}\n\n.error\n.icons p {\n    padding-right: 140px;\n    color: dimgrey;\n    font-size: 1em;\n    cursor: pointer;\n}\n\n.error\n.icons p:hover {\n    text-decoration: underline;\n}\n\n.error\n.icons ul {\n    padding-right: 20px;\n}\n\n.error\n.icons li {\n    display: inline-block;\n    /*padding-top: 10px;*/\n}\n\n.error\n.icons li a {\n    margin: 2px;\n}\n\n\n/* footer */\n.footerDiv{\n    margin-top: 0 !important;\n    margin-bottom: 0em !important;\n    background: #1b1c1d !important;\n    position: relative;\n    z-index: 1;\n}\n\n.footerDiv .copyRight{\n    padding: 0.5em 0 1em;\n    font-size: 12px;\n    opacity: 0.6;\n}\n\n.footerDiv .ttl{\n    padding: 0.5em 0;\n    font-size: 13px;\n    opacity: 0.7;\n}\n.footerDivide{\n    margin-top: 3em !important;\n}\n.footerDiv #webDate,#webName,#accessNumber,#articleNumber,#viewNumber,#videoNumber,#tagCloud{\n    display: inline-block;\n    font-size: 1.2em;\n    color: #DD5246;\n}\n\n\n/*  pagination  */\n.pagination ul{\n    /* 将对象作为弹性伸缩盒显示  简称flex容器 */\n    display: flex;\n    /*background: #fff;*/\n    /* 去掉ul前面的小点 */\n    list-style-type: none;\n    /* padding-left: 0 !important; */\n    border-radius: 50px;\n    padding: 5px 8px;\n    /*border: 1px solid #20B2AA;*/\n    /*text-align: center !important;*/\n    /*margin: 0 auto !important;*/\n    /*水平居中  flex布局 */\n    justify-content: center;\n}\n\n.pagination ul li{\n    list-style: none;\n    line-height: 40px;\n    text-align: center;\n    font-size: 18px;\n    font-weight: 500;\n    cursor: pointer;\n    padding: 0 10px;\n    transition: all 0.3s ease;\n    color: darkgrey;\n}\n\n.pagination ul li.numb{\n    height: 40px;\n    width: 40px;\n    border-radius: 50%;\n    margin: 0 3px;\n    border: 1px solid #10A3A3;\n\n}\n\n.pagination ul li.dots{\n    font-size: 22px;\n    cursor: default;\n}\n\n.pagination ul li.btn{\n    /* background: #20b2aa; */\n    padding: 0 10px;\n}\n\n.pagination ul li.prev{\n    border-radius: 25px 5px 5px 25px;\n}\n\n.pagination ul li.next{\n    border-radius: 5px 25px 25px 5px;\n}\n\n.pagination ul li.active,\n.pagination ul li.numb:hover,\n.pagination ul li.btn:hover{\n    color: #fff;\n    background: #20B2AA;\n}\n\n/* ============================\n   AI 相关文章推荐区域\n   ============================ */\n.ai-related-section {\n    max-width: 1200px;\n    margin: 0 auto 2em;\n    padding: 0 2.5em;\n}\n\n.ai-related-header {\n    display: flex;\n    align-items: center;\n    padding: 0 0 12px;\n    margin-bottom: 12px;\n    border-bottom: 2px solid #f0f0f0;\n}\n\n.ai-related-icon {\n    font-size: 22px;\n    margin-right: 10px;\n}\n\n.ai-related-title {\n    font-size: 18px;\n    font-weight: 700;\n    background: linear-gradient(135deg, #00b5ad, #2185d0);\n    -webkit-background-clip: text;\n    -webkit-text-fill-color: transparent;\n    background-clip: text;\n}\n\n.ai-related-grid {\n    display: grid;\n    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));\n    gap: 16px;\n}\n\n.ai-related-card {\n    display: block;\n    background: #fff;\n    border-radius: 10px;\n    overflow: hidden;\n    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);\n    transition: transform 0.25s ease, box-shadow 0.25s ease;\n    text-decoration: none;\n    color: inherit;\n}\n\n.ai-related-card:hover {\n    transform: translateY(-4px);\n    box-shadow: 0 8px 24px rgba(0, 181, 173, 0.18);\n}\n\n.ai-related-cover {\n    height: 140px;\n    overflow: hidden;\n}\n\n.ai-related-cover img {\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n    transition: transform 0.35s ease;\n}\n\n.ai-related-card:hover .ai-related-cover img {\n    transform: scale(1.06);\n}\n\n.ai-related-info {\n    padding: 12px 14px;\n}\n\n.ai-related-card-title {\n    font-size: 14px;\n    font-weight: 600;\n    color: #333;\n    line-height: 1.4;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n}\n\n.ai-related-meta {\n    margin-top: 6px;\n    font-size: 12px;\n    color: #999;\n}\n\n.ai-related-meta i {\n    margin-right: 2px !important;\n}\n\n@media (max-width: 767px) {\n    .ai-related-grid {\n        grid-template-columns: repeat(2, 1fr);\n        gap: 10px;\n    }\n    .ai-related-cover {\n        height: 100px;\n    }\n}\n\n/* ============================\n   AI Chat Widget\n   ============================ */\n.ai-chat-widget {\n    position: fixed;\n    bottom: 24px;\n    left: 24px;\n    z-index: 10001;\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n}\n\n.ai-chat-bubble {\n    width: 50px;\n    height: 50px;\n    border-radius: 50%;\n    background: linear-gradient(135deg, #00b5ad 0%, #2185d0 100%);\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    cursor: pointer;\n    box-shadow: 0 3px 12px rgba(0, 181, 173, 0.35);\n    transition: transform 0.2s ease, box-shadow 0.2s ease;\n    flex-direction: column;\n    gap: 0;\n}\n\n.ai-chat-bubble:hover {\n    transform: scale(1.06);\n    box-shadow: 0 5px 20px rgba(0, 181, 173, 0.5);\n}\n\n.ai-chat-bubble svg {\n    width: 20px;\n    height: 20px;\n}\n\n.ai-chat-bubble-text {\n    font-size: 9px;\n    color: #fff;\n    font-weight: 700;\n    letter-spacing: 0.5px;\n    margin-top: -1px;\n}\n\n.ai-chat-panel {\n    width: 360px;\n    height: 480px;\n    background: #fff;\n    border-radius: 16px;\n    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);\n    display: flex;\n    flex-direction: column;\n    overflow: hidden;\n    animation: aiChatSlideUp 0.3s ease;\n}\n\n@keyframes aiChatSlideUp {\n    from { opacity: 0; transform: translateY(20px); }\n    to { opacity: 1; transform: translateY(0); }\n}\n\n.ai-chat-header {\n    background: linear-gradient(135deg, #00b5ad 0%, #2185d0 100%);\n    color: #fff;\n    padding: 14px 18px;\n    font-size: 15px;\n    font-weight: 600;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    flex-shrink: 0;\n}\n\n.ai-chat-close {\n    cursor: pointer;\n    font-size: 22px;\n    line-height: 1;\n    opacity: 0.8;\n    transition: opacity 0.15s;\n}\n\n.ai-chat-close:hover {\n    opacity: 1;\n}\n\n.ai-chat-messages {\n    flex: 1;\n    overflow-y: auto;\n    padding: 16px;\n    background: #f7f8fa;\n}\n\n.ai-chat-msg {\n    max-width: 85%;\n    padding: 10px 14px;\n    margin-bottom: 10px;\n    border-radius: 12px;\n    font-size: 13.5px;\n    line-height: 1.55;\n    word-break: break-word;\n}\n\n.ai-chat-msg.ai-msg {\n    background: #fff;\n    color: #333;\n    border: 1px solid #e8e8e8;\n    border-radius: 4px 12px 12px 12px;\n    margin-right: auto;\n}\n\n.ai-chat-msg.user-msg {\n    background: linear-gradient(135deg, #00b5ad, #2185d0);\n    color: #fff;\n    border-radius: 12px 4px 12px 12px;\n    margin-left: auto;\n}\n\n.ai-chat-msg.ai-loading {\n    color: #999;\n    font-style: italic;\n}\n\n.ai-dots span {\n    animation: aiDotBlink 1.4s infinite both;\n}\n.ai-dots span:nth-child(2) { animation-delay: 0.2s; }\n.ai-dots span:nth-child(3) { animation-delay: 0.4s; }\n\n@keyframes aiDotBlink {\n    0%, 80%, 100% { opacity: 0; }\n    40% { opacity: 1; }\n}\n\n.ai-chat-input-area {\n    display: flex;\n    padding: 12px;\n    border-top: 1px solid #eee;\n    background: #fff;\n    flex-shrink: 0;\n    gap: 8px;\n}\n\n.ai-chat-input-area input {\n    flex: 1;\n    border: 1px solid #ddd;\n    border-radius: 8px;\n    padding: 8px 12px;\n    font-size: 13px;\n    outline: none;\n    transition: border-color 0.2s;\n}\n\n.ai-chat-input-area input:focus {\n    border-color: #00b5ad;\n}\n\n.ai-chat-input-area button {\n    background: linear-gradient(135deg, #00b5ad, #2185d0);\n    color: #fff;\n    border: none;\n    border-radius: 8px;\n    padding: 8px 16px;\n    font-size: 13px;\n    cursor: pointer;\n    font-weight: 600;\n    transition: opacity 0.2s;\n}\n\n.ai-chat-input-area button:hover {\n    opacity: 0.9;\n}\n\n.ai-chat-input-area button:disabled {\n    opacity: 0.5;\n    cursor: not-allowed;\n}\n\n@media (max-width: 767px) {\n    .ai-chat-panel {\n        width: calc(100vw - 32px);\n        height: 400px;\n    }\n    .ai-chat-widget {\n        left: 16px;\n        bottom: 16px;\n    }\n}\n\n/* ============================\n   AI 智能体验 Banner (首页)\n   ============================ */\n.ai-experience-banner {\n    background: linear-gradient(135deg, #00b5ad 0%, #2185d0 50%, #6435c9 100%);\n    border-radius: 12px;\n    padding: 20px 28px;\n    color: #fff;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    box-shadow: 0 4px 20px rgba(0, 181, 173, 0.25);\n    margin: 0 0 1em;\n}\n\n.ai-experience-banner .ai-banner-text {\n    font-size: 15px;\n    line-height: 1.5;\n}\n\n.ai-experience-banner .ai-banner-text strong {\n    font-size: 17px;\n}\n\n.ai-experience-banner .ai-banner-btn {\n    display: inline-block;\n    background: rgba(255,255,255,0.2);\n    color: #fff;\n    border: 1px solid rgba(255,255,255,0.4);\n    padding: 8px 20px;\n    border-radius: 20px;\n    text-decoration: none;\n    font-weight: 600;\n    font-size: 13px;\n    transition: background 0.2s;\n    white-space: nowrap;\n    margin-left: 16px;\n}\n\n.ai-experience-banner .ai-banner-btn:hover {\n    background: rgba(255,255,255,0.35);\n    color: #fff;\n}\n\n@media (max-width: 767px) {\n    .ai-experience-banner {\n        flex-direction: column;\n        padding: 16px 20px;\n        text-align: center;\n    }\n    .ai-experience-banner .ai-banner-btn {\n        margin-left: 0;\n        margin-top: 12px;\n    }\n}\n\n/* AI 推荐标题区 */\n.ai-recommend-title {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    gap: 8px;\n}\n\n.ai-recommend-title .ai-badge {\n    display: inline-block;\n    background: linear-gradient(135deg, #00b5ad, #2185d0);\n    color: #fff;\n    font-size: 11px;\n    font-weight: 700;\n    padding: 2px 8px;\n    border-radius: 10px;\n    letter-spacing: 0.5px;\n}\n\n/* ============================\n   搜索结果页\n   ============================ */\n.search-results-wrap {\n    max-width: 1200px;\n    margin: 2em auto 3em;\n    padding: 0 1.5em;\n    min-height: 50vh;\n}\n\n.search-results-container {\n    background: #fff;\n    border-radius: 8px;\n    box-shadow: 0 1px 8px rgba(0,0,0,0.06);\n    padding: 2em;\n}\n\n.search-results-header {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    padding-bottom: 1em;\n    border-bottom: 1px solid #f0f0f0;\n    margin-bottom: 1.5em;\n}\n\n.search-results-title {\n    font-size: 1.3em;\n    font-weight: 700;\n    color: #333;\n    margin: 0;\n}\n\n.search-results-count {\n    color: #888;\n    font-size: 0.9em;\n}\n\n.search-results-count strong {\n    color: #00b5ad;\n    font-size: 1.3em;\n}\n\n.search-empty {\n    text-align: center;\n    padding: 4em 2em;\n    color: #999;\n}\n\n.search-empty p {\n    margin-top: 1em;\n    font-size: 1.1em;\n}\n\n.search-result-item {\n    display: flex;\n    gap: 20px;\n    padding: 1.2em 0;\n    border-bottom: 1px solid #f5f5f5;\n    transition: background 0.15s;\n}\n\n.search-result-item:last-child {\n    border-bottom: none;\n}\n\n.search-result-item:hover {\n    background: #fafbfc;\n    margin: 0 -1em;\n    padding-left: 1em;\n    padding-right: 1em;\n    border-radius: 6px;\n}\n\n.search-result-content {\n    flex: 1;\n    min-width: 0;\n}\n\n.search-result-content h3 {\n    margin: 0 0 0.5em;\n    font-size: 1.15em;\n}\n\n.search-result-content h3 a {\n    color: #1a1a1a;\n    text-decoration: none;\n    transition: color 0.15s;\n}\n\n.search-result-content h3 a:hover {\n    color: #00b5ad;\n}\n\n.search-result-desc {\n    color: #666;\n    font-size: 0.9em;\n    line-height: 1.6;\n    margin: 0 0 0.8em;\n    display: -webkit-box;\n    -webkit-line-clamp: 2;\n    -webkit-box-orient: vertical;\n    overflow: hidden;\n}\n\n.search-result-meta {\n    display: flex;\n    align-items: center;\n    flex-wrap: wrap;\n    gap: 6px;\n    font-size: 0.82em;\n    color: #999;\n}\n\n.search-result-meta .avatar {\n    width: 20px !important;\n    height: 20px !important;\n}\n\n.search-result-dot {\n    width: 3px;\n    height: 3px;\n    border-radius: 50%;\n    background: #ccc;\n    display: inline-block;\n}\n\n.search-result-tag {\n    margin-left: auto;\n}\n\n.search-result-tag .label {\n    font-size: 0.85em !important;\n}\n\n.search-result-img {\n    flex-shrink: 0;\n    width: 180px;\n    height: 120px;\n    border-radius: 6px;\n    overflow: hidden;\n}\n\n.search-result-img img {\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n    transition: transform 0.3s;\n}\n\n.search-result-item:hover .search-result-img img {\n    transform: scale(1.04);\n}\n\n.search-pagination {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    gap: 1.5em;\n    padding-top: 1.5em;\n    margin-top: 1em;\n    border-top: 1px solid #f0f0f0;\n}\n\n.search-page-btn {\n    display: inline-block;\n    padding: 6px 16px;\n    border: 1px solid #ddd;\n    border-radius: 4px;\n    color: #555;\n    text-decoration: none;\n    font-size: 0.9em;\n    transition: border-color 0.15s, color 0.15s;\n}\n\n.search-page-btn:hover {\n    border-color: #00b5ad;\n    color: #00b5ad;\n}\n\n.search-page-info {\n    color: #999;\n    font-size: 0.85em;\n}\n\n@media (max-width: 767px) {\n    .search-result-img {\n        width: 100px;\n        height: 70px;\n    }\n    .search-results-container {\n        padding: 1em;\n    }\n}\n\n\n\n"
  },
  {
    "path": "src/main/resources/static/css/friend.css",
    "content": "\n\n\n.m-bg{\n    width: 100%;\n    height: 650px;\n    object-fit: cover;\n}\n.m-padded-mini {\n    padding: 0.2em !important;\n}\n\n.m-padded-tiny {\n    padding: 0.3em !important;\n}\n.m-padded {\n    padding: 1em !important;\n}\n.m-padded-tb-mini {\n    padding-top: 0.1em !important;\n    padding-bottom: 0.1em !important;\n}\n.m-padded-tb-tiny {\n    padding-top: 0.3em !important;\n    padding-bottom: 0.3em !important;\n}\n.m-padded-tb-small {\n    padding-top: 0.5em !important;\n    padding-bottom: 0.5em !important;\n}\n.m-padded-tb {\n    padding-top: 1em !important;\n    padding-bottom: 1em !important;\n}\n.m-padded-tb-large {\n    padding-top: 2em !important;\n    padding-bottom: 2em !important;\n}\n.m-padded-tb-big {\n    padding-top: 3em !important;\n    padding-bottom: 3em !important;\n}\n.m-padded-tb-huge {\n    padding-top: 4em !important;\n    padding-bottom: 4em !important;\n}\n.m-padded-tb-hugex {\n    padding-top: 60px !important;\n    padding-bottom: 60px !important;\n}\n\n.m-padded-tb-massivex {\n    padding-top: 6em !important;\n    padding-bottom: 6em !important;\n}\n.m-padded-tb-massive {\n    padding-top: 2em !important;\n    padding-bottom: 0.5em !important;\n}\n\n.m-padded-lr-responsive {\n    padding-left: 4em !important;\n    padding-right: 4em !important;\n}\n\n/*-------text -----*/\n\n.m-text {\n    font-weight: 300 !important;\n    letter-spacing: 1px !important;\n    line-height: 1.8;\n    color: rgba(0,0,0,0.6);\n}\n.m-text-thin {\n    font-weight: 300 !important;\n}\n.m-text-spaced {\n    letter-spacing: 1px !important;\n}\n.m-text-lined {\n    line-height: 1.8;\n}\n\n.m-font-size-title-large{\n    font-size: 40px;\n    color: #ffffff;\n    font-family: STSong;\n}\n\n.m-font-size-title-mediul{\n    font-size: 30px;\n    color: #ffffff;\n    font-family: STSong;\n}\n\n.m-font-size-title{\n    font-size: 450%;\n    color: #ffffff;\n}\n\n.m-font-size-text{\n    font-size: 30px;\n    color: #ffffff;\n    /*font-family: STXihei;*/\n}\n\n.m-font-size-blog-text{\n    font-size: 18px;\n    color: #ffffff;\n    font-family: STSong;\n}\n\n.m-font-size-text-friends{\n    font-size: 16px;\n    color: #000000;\n    font-family: STSong;\n}\n\n.m-font-size-text-mini{\n    font-size: 16px;\n    color: #ffffff;\n}\n\n.m-font-size-text-init-title{\n    font-size: 24px;\n    color: #fffffc;\n    align-content: center;\n    font-family:'STXingkai';\n}\n\n/*-----margin------*/\n.m-margin-top-null {\n    margin-top:0em !important;\n}\n.m-margin-top-small {\n    margin-top:0.5em !important;\n}\n.m-margin-top {\n    margin-top: 1em !important;\n}\n.m-margin-top-large {\n    margin-top: 2em !important;\n}\n.m-margin-top-max {\n    margin-top: 35px !important;\n}\n\n.m-margin-top-maxx {\n    margin-top: 5em !important;\n}\n.m-margin-top-maxxx {\n    margin-top: 19em !important;\n}\n\n.m-margin-bottom {\n    margin-bottom: auto  !important;\n}\n\n.m-margin-tb-tiny {\n    margin-top: 0.3em !important;\n    margin-bottom: 0.3em !important;\n}\n\n.m-margin-{\n    margin-top:-4em !important;\n}\n\n.m-margin--{\n    margin-top:-89px !important;\n}\n\n.m-margin-bottom-small {\n    margin-bottom: 0.5em !important;\n}\n\n.m-margin-left-mini{\n    margin-left:4em !important;\n}\n.m-margin-left-big{\n    margin-left:8em !important;\n}\n\n/*.m-center {*/\n/*display: block!important;*/\n/*margin-right: auto!important;*/\n/*margin-left: auto!important;*/\n/*}*/\n\n/*-----opacity------*/\n.m-opacity {\n    opacity: 0.9 !important;\n}\n.m-opacity-mini {\n    opacity: 0.8 !important;\n}\n.m-opacity-tiny {\n    opacity: 0.6 !important;\n}\n.m-opacity-small {\n    opacity: 0.4 !important;\n}\n\n/*------position---*/\n\n.m-right-top {\n    position: absolute;\n    top:0;\n    right: 0;\n}\n.m-left-top {\n    position: absolute;\n    top:0;\n    left: 0;\n}\n\n/*------display------*/\n.m-inline-block {\n    display: inline-block !important;\n}\n\n\n/*-----container*/\n.m-container-mini{\n    max-width: 100em !important;\n    margin: auto !important;\n}\n.m-container-mini-m{\n    max-width: 85em !important;\n    margin: auto !important;\n}\n.m-container {\n    max-width: 72em !important;\n    margin: auto !important;\n}\n.m-container-tiny {\n    max-width: 65em !important;\n    margin: auto !important;\n}\n.m-container-small {\n    max-width: 60em !important;\n    margin: auto !important;\n}\n\n\n\n\n/*------shadow------*/\n.m-shadow-small {\n    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;\n    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;\n}\n\n/*------positon-----*/\n\n.m-fixed {\n    position: fixed !important;\n    z-index: 10 !important;\n}\n\n.m-right-bottom {\n    bottom: 0 !important;\n    right: 0 !important;\n}\n\n.m-title-font{\n    font-family: STSong;\n    font-weight: 900;\n    font-size: x-large;\n}\n\n/*-----color-----*/\n.m-black {\n    color: #333 !important;\n}\n.m-teal {\n    color: #00B5AD !important;\n}\n\n.m-mobile-show {\n    display: none !important;\n}\n\n@media screen and (max-width: 768px){\n    .m-mobile-hide {\n        display: none !important;\n    }\n    .m-mobile-show {\n        display: block !important;\n    }\n    .m-padded-lr-responsive {\n        padding-left: 0 !important;\n        padding-right: 0 !important;\n    }\n    .m-mobile-lr-clear {\n        padding-left: 0 !important;\n        padding-right: 0 !important;\n    }\n    .m-mobile-wide {\n        width: 100% !important;\n    }\n}\n\n.gird-header {\n    width: 100%;\n    min-height: 60px;\n    opacity: 0.5;\n    position: fixed;\n    background-color: rgba(0,0,0,1);\n    z-index: 11002;\n    top: 0;\n    left: 0;\n    /*border-bottom: 1px solid #e8e9e7;*/\n    font-size: 15px;\n}\n\n.m-index-btn{\n    width: 80px !important;\n    height: 36px !important;\n}\n\n.grid-header-no{\n    position: static;\n}\n\n\n.mdui-card-media-covered {\n    position: absolute;\n    right: 0;\n    bottom: 0;\n    left: 0;\n    color: #fff;\n    background: rgba(0,0,0,.2);\n    background-image: initial;\n    background-position-x: initial;\n    background-position-y: initial;\n    background-size: initial;\n    background-repeat-x: initial;\n    background-repeat-y: initial;\n    background-attachment: initial;\n    background-origin: initial;\n    background-clip: initial;\n    background-color: rgba(0, 0, 0, 0.2);\n}\n\n.mdui-card-primary {\n    position: relative;\n    padding: 24px 16px 16px 16px;\n    padding-top: 24px;\n    padding-right: 16px;\n    padding-bottom: 16px;\n    padding-left: 16px;\n}\n\n\n\n.class_outer {\n    display: block;\n    /*width: 550px;*/\n    /*height: 276px;*/\n    margin: 10px auto 0;\n    position: relative;\n    overflow: hidden;\n}\n.class_cover {\n    width: 100%;\n    height: 40px;\n    line-height: 50px;\n    padding-left: 6px;\n    background-color: rgba(0, 0, 0, .60);\n    /*color: #FFFFFF;*/\n    /*font-size: 26px;*/\n    position: absolute;\n    left: 0px;\n    bottom: 0px;\n}\n\n.m-bg-class_outer {\n    display: block;\n    /*width: 550px;*/\n    /*height: 276px;*/\n    /*margin: 10px auto 0 0;*/\n    position: relative;\n    overflow: hidden;\n}\n\n.m-bg-type_outer {\n    display: block;\n    /*margin: 10px auto 0 0;*/\n    background-size: cover;\n    position: relative;\n    overflow: hidden;\n}\n\n.m-bg-class_cover {\n    width: 100%;\n    height: 800px;\n    line-height: 50px;\n    padding-left: 6px;\n    background-color: rgba(0, 0, 0, .60);\n    /*color: #FFFFFF;*/\n    /*font-size: 26px;*/\n    position: absolute;\n    left: 0px;\n    bottom: 0px;\n}\n\n\n.friends-link{\n    width: 160px;\n    height: 220px;\n    border: 1px solid #999;\n    box-shadow: 5px 5px 5px #999;\n    border-radius:8px;\n}\n\n.friends-link-image{\n    width: 160px;\n    height: 170px;\n    border-radius: 8px 8px 0px 0px;\n\n}\n\n.box-shadow-max{\n    margin-bottom: 15px;\n    border-radius: 2px;\n    background-color: #fff;\n    box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, .05);\n    -webkit-box-shadow: #000000 0px 0px 10px;\n    -moz-box-shadow: #000000 0px 0px 10px;\n}\n\n\n@media screen and (max-width: 1680px) {\n    #picture-main .thumb {\n        -moz-transition-delay: 2.075s;\n        -webkit-transition-delay: 2.075s;\n        -ms-transition-delay: 2.075s;\n        transition-delay: 2.075s;\n        height: calc(40vh - 2em);\n        min-height: 20em;\n        width: 33.33333%;\n    }\n}\n\n@media screen and (max-width: 1280px) {\n    #picture-main .thumb {\n        -moz-transition-delay: 1.625s;\n        -webkit-transition-delay: 1.625s;\n        -ms-transition-delay: 1.625s;\n        transition-delay: 1.625s;\n        height: calc(40vh - 2em);\n        min-height: 20em;\n        width: 50%;\n    }\n}\n\n@media screen and (max-width: 980px) {\n    #picture-main .thumb {\n        -moz-transition-delay: 2.075s;\n        -webkit-transition-delay: 2.075s;\n        -ms-transition-delay: 2.075s;\n        transition-delay: 2.075s;\n        height: calc(28.57143vh - 1.33333em);\n        min-height: 18em;\n        width: 50%;\n    }\n}\n\n@media screen and (max-width: 480px) {\n    #main .thumb {\n        -moz-transition-delay: 1.175s;\n        -webkit-transition-delay: 1.175s;\n        -ms-transition-delay: 1.175s;\n        transition-delay: 1.175s;\n        height: calc(40vh - 2em);\n        min-height: 18em;\n        width: 100%;\n    }\n}\n\n\n.m-p1{\n    width: 200px;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    /*background: goldenrod;*/\n    white-space: nowrap;\n\n}\n\n\n"
  },
  {
    "path": "src/main/resources/static/css/timeline.css",
    "content": "*,\n*::before,\n*::after {\n  margin: 0;\n  padding: 0;\n  box-sizing: border-box;\n}\n\n.timeline ul li {\n  list-style-type: none;\n  position: relative;\n  width: 6px;\n  margin: 0 auto;\n  padding-top: 20px;\n  background: #fff;\n}\n.timeline ul li::after {\n  content: '';\n  position: absolute;\n  left: 50%;\n  bottom: 0;\n  transform: translateX(-50%) rotate(45deg);\n  width: 20px;\n  height: 20px;\n  z-index: 2;\n  background: #eee;\n}\n.timeline ul li div {\n  position: relative;\n  bottom: 0;\n  width:400px;\n  padding: 20px;\n  background: #fff;\n  box-shadow: 4px 13px 30px 1px rgba(1, 0, 56, 0.1);\n  border-radius: 5px;\n  display: flex;\n  align-items: center;\n}\n.timeline ul li div time {\n  position: absolute;\n  background: #f5af10;\n  width: 100px;\n  height: 20px;\n  top: -15px;\n  border-radius: 5px;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  letter-spacing: 2px;\n}\n.timeline ul li div div {\n  height: 80px;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n.timeline ul li div div p {\n  text-align: center;\n}\n.timeline ul li div .discovery {\n  margin-right: 10px;\n}\n.timeline ul li:nth-of-type(odd) > div {\n  left: 45px;\n}\n.timeline ul li:nth-of-type(even) > div {\n  left: -439px;\n}\n\n.timeline ul li div {\n  visibility: hidden;\n  opacity: 0;\n  transition: all 0.5s ease-in-out;\n}\n.timeline ul li:nth-of-type(odd) div {\n  transform: translate3d(100px, -10px, 0) rotate(10deg);\n}\n.timeline ul li:nth-of-type(even) div {\n  transform: translate3d(-100px, -10px, 0) rotate(10deg);\n}\n.timeline ul li.in-view div {\n  transform: none;\n  visibility: visible;\n  opacity: 1;\n}\n\n@media screen and (max-width: 900px) {\n  .timeline ul li div {\n    width: 250px;\n    flex-direction: column;\n  }\n  .timeline ul li div div {\n    width: 80%;\n    margin: 10px;\n  }\n  .timeline ul li:nth-of-type(even) > div {\n    left: -289px;\n  }\n}\n@media screen and (max-width: 600px) {\n  body {\n    /*background: #8bfff4;*/\n  }\n\n  .timeline ul li {\n    margin-left: 20px;\n  }\n  .timeline ul li div {\n    width: calc(100vw - 91px);\n  }\n  .timeline ul li:nth-of-type(even) > div {\n    left: 45px;\n  }\n}\n"
  },
  {
    "path": "src/main/resources/static/css/typo.css",
    "content": "@charset \"utf-8\";\n\n.typo p {\n  font-size: 16px;\n  font-weight: 300;\n  line-height: 1.8;\n  text-align: justify;\n}\n\n.typo li {\n  font-weight: 300;\n  padding: 4px 0;\n}\n\n/* 重设 HTML5 标签, IE 需要在 js 中 createElement(TAG) */\n.typo article, aside, details, figcaption, figure, footer, header, menu, nav, section {\n  display: block;\n}\n\n/* HTML5 媒体文件跟 img 保持一致 */\n.typo audio, canvas, video {\n  display: inline-block;\n}\n\n/* 要注意表单元素并不继承父级 font 的问题 */\n.typo button, input, select, textarea {\n  font: 300 1em/1.8 PingFang SC, Lantinghei SC, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;\n}\n\n.typo button::-moz-focus-inner,\n.typo input::-moz-focus-inner {\n  padding: 0;\n  border: 0;\n}\n\n/* 去掉各Table cell 的边距并让其边重合 */\n.typo table {\n  border-collapse: collapse;\n  border-spacing: 0;\n}\n\n/* 去除默认边框 */\n.typo fieldset, img {\n  border: 0;\n}\n\n/* 块/段落引用 */\n.typo blockquote {\n  position: relative;\n  color: #999;\n  font-weight: 400;\n  border-left: 1px solid #1abc9c;\n  padding-left: 1em;\n  margin: 1em 3em 1em 2em;\n}\n\n@media only screen and ( max-width: 640px ) {\n  .typo blockquote {\n    margin: 1em 0;\n  }\n}\n\n/* Firefox 以外，元素没有下划线，需添加 */\n.typo acronym, abbr {\n  border-bottom: 1px dotted;\n  font-variant: normal;\n}\n\n/* 添加鼠标问号，进一步确保应用的语义是正确的（要知道，交互他们也有洁癖，如果你不去掉，那得多花点口舌） */\n.typo abbr {\n  cursor: help;\n}\n\n/* 一致的 del 样式 */\n.typo del {\n  text-decoration: line-through;\n}\n\n.typo address, caption, cite, code, dfn, em, th, var {\n  font-style: normal;\n  font-weight: 400;\n}\n\n/* 去掉列表前的标识, li 会继承，大部分网站通常用列表来很多内容，所以应该当去 */\n.typo ul, ol {\n  list-style: none;\n}\n\n/* 对齐是排版最重要的因素, 别让什么都居中 */\n.typo caption, th {\n  text-align: left;\n}\n\n.typo q:before,.typo  q:after {\n  content: '';\n}\n\n/* 统一上标和下标 */\n.typo sub,.typo  sup {\n  font-size: 75%;\n  line-height: 0;\n  position: relative;\n}\n\n.typo :root sub,.typo  :root sup {\n  vertical-align: baseline; /* for ie9 and other modern browsers */\n}\n\n.typo sup {\n  top: -0.5em;\n}\n\n.typo sub {\n  bottom: -0.25em;\n}\n\n/* 让链接在 hover 状态下显示下划线 */\n.typo a {\n  color: #1abc9c;\n}\n\n.typo a:hover {\n  text-decoration: underline;\n}\n\n.typo a {\n  border-bottom: 1px solid #1abc9c;\n}\n\n.typo a:hover {\n  border-bottom-color: #555;\n  color: #555;\n  text-decoration: none;\n}\n\n/* 默认不显示下划线，保持页面简洁 */\n.typo ins,.typo  a {\n  text-decoration: none;\n}\n\n/* 专名号：虽然 u 已经重回 html5 Draft，但在所有浏览器中都是可以使用的，\n * 要做到更好，向后兼容的话，添加 class=\"typo-u\" 来显示专名号\n * 关于 <u> 标签：http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-u-element\n * 被放弃的是 4，之前一直搞错 http://www.w3.org/TR/html401/appendix/changes.html#idx-deprecated\n * 一篇关于 <u> 标签的很好文章：http://html5doctor.com/u-element/\n */\n.typo u,.typo  .typo-u {\n  text-decoration: underline;\n}\n\n/* 标记，类似于手写的荧光笔的作用 */\n.typo mark {\n  background: #fffdd1;\n  border-bottom: 1px solid #ffedce;\n  padding: 2px;\n  margin: 0 5px;\n}\n\n/* 代码片断 */\n.typo pre,.typo  code,.typo  pre tt {\n  font-family: Courier, 'Courier New', monospace;\n}\n\n.typo pre {\n  background: #f8f8f8;\n  border: 1px solid #ddd;\n  padding: 1em 1.5em;\n  display: block;\n  -webkit-overflow-scrolling: touch;\n}\n\n/* 一致化 horizontal rule */\n.typo hr {\n  border: none;\n  border-bottom: 1px solid #cfcfcf;\n  margin-bottom: 0.8em;\n  height: 10px;\n}\n\n/* 底部印刷体、版本等标记 */\n.typo small,.typo  .typo-small,\n  /* 图片说明 */\n.typo figcaption {\n  font-size: 0.9em;\n  color: #888;\n}\n\n.typo strong,.typo  b {\n  font-weight: bold;\n  color: #000;\n}\n\n/* 可拖动文件添加拖动手势 */\n.typo [draggable] {\n  cursor: move;\n}\n\n.typo .clearfix:before,.typo  .clearfix:after {\n  content: \"\";\n  display: table;\n}\n\n.typo .clearfix:after {\n  clear: both;\n}\n\n.typo .clearfix {\n  zoom: 1;\n}\n\n/* 强制文本换行 */\n.typo .textwrap,.typo .textwrap td,.typo  .textwrap th {\n  word-wrap: break-word;\n  word-break: break-all;\n}\n\n.typo .textwrap-table {\n  table-layout: fixed;\n}\n\n/* 提供 serif 版本的字体设置: iOS 下中文自动 fallback 到 sans-serif */\n.typo .serif {\n  font-family: Palatino, Optima, Georgia, serif;\n}\n\n/* 保证块/段落之间的空白隔行 */\n.typo p, .typo pre, .typo ul, .typo ol, .typo dl, .typo form, .typo hr, .typo table,\n.typo-p, .typo-pre, .typo-ul, .typo-ol, .typo-dl, .typo-form, .typo-hr, .typo-table, blockquote {\n  margin-bottom: 1.2em\n}\n\n.typo h1,.typo  h2,.typo  h3,.typo  h4,.typo  h5,.typo  h6 {\n  font-family: PingFang SC, Verdana, Helvetica Neue, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;\n  font-weight: 100;\n  color: #000;\n  line-height: 1.35;\n}\n\n/* 标题应该更贴紧内容，并与其他块区分，margin 值要相应做优化 */\n.typo h1, .typo h2, .typo h3, .typo h4, .typo h5, .typo h6,\n.typo-h1, .typo-h2, .typo-h3, .typo-h4, .typo-h5, .typo-h6 {\n  margin-top: 1.2em;\n  margin-bottom: 0.6em;\n  line-height: 1.35;\n}\n\n.typo h1, .typo-h1 {\n  font-size: 2em;\n}\n\n.typo h2, .typo-h2 {\n  font-size: 1.8em;\n}\n\n.typo h3, .typo-h3 {\n  font-size: 1.6em;\n}\n\n.typo h4, .typo-h4 {\n  font-size: 1.4em;\n}\n\n.typo h5, .typo h6, .typo-h5, .typo-h6 {\n  font-size: 1.2em;\n}\n\n/* 在文章中，应该还原 ul 和 ol 的样式 */\n.typo ul, .typo-ul {\n  margin-left: 1.3em;\n  list-style: disc;\n}\n\n.typo ol, .typo-ol {\n  list-style: decimal;\n  margin-left: 1.9em;\n}\n\n.typo li ul, .typo li ol, .typo-ul ul, .typo-ul ol, .typo-ol ul, .typo-ol ol {\n  margin-bottom: 0.8em;\n  margin-left: 2em;\n}\n\n.typo li ul, .typo-ul ul, .typo-ol ul {\n  list-style: circle;\n}\n\n/* 同 ul/ol，在文章中应用 table 基本格式 */\n.typo table th, .typo table td, .typo-table th, .typo-table td, .typo table caption {\n  border: 1px solid #ddd;\n  padding: 0.5em 1em;\n  color: #666;\n}\n\n.typo table th, .typo-table th {\n  background: #fbfbfb;\n}\n\n.typo table thead th, .typo-table thead th {\n  background: #f1f1f1;\n}\n\n.typo table caption {\n  border-bottom: none;\n}\n\n/* 去除 webkit 中 input 和 textarea 的默认样式  */\n.typo-input, .typo-textarea {\n  -webkit-appearance: none;\n  border-radius: 0;\n}\n\n.typo-em, .typo em, legend, caption {\n  color: #000;\n  font-weight: inherit;\n}\n\n/* 着重号，只能在少量（少于100个字符）且全是全角字符的情况下使用 */\n.typo-em {\n  position: relative;\n}\n\n.typo-em:after {\n  position: absolute;\n  top: 0.65em;\n  left: 0;\n  width: 100%;\n  overflow: hidden;\n  white-space: nowrap;\n  content: \"・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・\";\n}\n\n/* Responsive images */\n.typo img {\n  max-width: 100%;\n}\n"
  },
  {
    "path": "src/main/resources/static/js/article.js",
    "content": "let self;\n\n$(function () {\n\n    window.addEventListener('scroll', function() {\n        var t = $('body, html').scrollTop();\n        if (t > 310) {\n            $('#toTop').addClass('toTop-active');\n        } else {\n            $('#toTop').removeClass('toTop-active');\n        }\n    });\n\n\n    $(\"#toTop\").click(function(){\n        $('html,body').animate({scrollTop: 300}, 500);\n    });\n\n\n    $('.mobileButton').click(function(){\n        $(\".navItem\").toggleClass(\"mobileHidden\");\n        $(\"#searchItem\").toggleClass(\"searchItemHidden\");\n    });\n\n});"
  },
  {
    "path": "src/main/resources/static/js/canvas-ribbon.js",
    "content": "(function (name, factory) {\n    if (typeof window === \"object\") {\n        window[name] = factory();\n    }\n\n})(\"Ribbons\", function () {\n    var _w = window,\n        _b = document.body,\n        _d = document.documentElement;\n\n    // random helper\n    var random = function () {\n        if (arguments.length === 1) // only 1 argument\n        {\n            if (Array.isArray(arguments[0])) // extract index from array\n            {\n                var index = Math.round(random(0, arguments[0].length - 1));\n                return arguments[0][index];\n            }\n            return random(0, arguments[0]); // assume numeric\n        } else\n        if (arguments.length === 2) // two arguments range\n        {\n            return Math.random() * (arguments[1] - arguments[0]) + arguments[0];\n        }\n        return 0; // default\n    };\n\n    // screen helper\n    var screenInfo = function (e) {\n        var width = Math.max(0, _w.innerWidth || _d.clientWidth || _b.clientWidth || 0),\n            height = Math.max(0, _w.innerHeight || _d.clientHeight || _b.clientHeight || 0),\n            scrollx = Math.max(0, _w.pageXOffset || _d.scrollLeft || _b.scrollLeft || 0) - (_d.clientLeft || 0),\n            scrolly = Math.max(0, _w.pageYOffset || _d.scrollTop || _b.scrollTop || 0) - (_d.clientTop || 0);\n\n        return {\n            width: width,\n            height: height,\n            ratio: width / height,\n            centerx: width / 2,\n            centery: height / 2,\n            scrollx: scrollx,\n            scrolly: scrolly\n        };\n\n    };\n\n    // point object\n    var Point = function (x, y) {\n        this.x = 0;\n        this.y = 0;\n        this.set(x, y);\n    };\n    Point.prototype = {\n        constructor: Point,\n\n        set: function (x, y) {\n            this.x = x || 0;\n            this.y = y || 0;\n        },\n        copy: function (point) {\n            this.x = point.x || 0;\n            this.y = point.y || 0;\n            return this;\n        },\n        multiply: function (x, y) {\n            this.x *= x || 1;\n            this.y *= y || 1;\n            return this;\n        },\n        divide: function (x, y) {\n            this.x /= x || 1;\n            this.y /= y || 1;\n            return this;\n        },\n        add: function (x, y) {\n            this.x += x || 0;\n            this.y += y || 0;\n            return this;\n        },\n        subtract: function (x, y) {\n            this.x -= x || 0;\n            this.y -= y || 0;\n            return this;\n        },\n        clampX: function (min, max) {\n            this.x = Math.max(min, Math.min(this.x, max));\n            return this;\n        },\n        clampY: function (min, max) {\n            this.y = Math.max(min, Math.min(this.y, max));\n            return this;\n        },\n        flipX: function () {\n            this.x *= -1;\n            return this;\n        },\n        flipY: function () {\n            this.y *= -1;\n            return this;\n        }\n    };\n\n\n    // class constructor\n    var Factory = function (options) {\n        this._canvas = null;\n        this._context = null;\n        this._sto = null;\n        this._width = 0;\n        this._height = 0;\n        this._scroll = 0;\n        this._ribbons = [];\n        this._temp = [];\n        this._options = {\n            // ribbon color HSL saturation amount\n            colorSaturation: \"80%\",\n            // ribbon color HSL brightness amount\n            colorBrightness: \"50%\",\n            // ribbon color opacity amount\n            colorAlpha: 0.6,\n            // how fast to cycle through colors in the HSL color space\n            colorCycleSpeed: 12,\n            // where to start from on the Y axis on each side (top|min, middle|center, bottom|max, random)\n            verticalPosition: \"center\",\n            // how fast to get to the other side of the screen\n            horizontalSpeed: 1,\n            // how many ribbons to keep on screen at any given time\n            ribbonCount: 3,\n            // add stroke along with ribbon fill colors\n            strokeSize: 0,\n            // move ribbons vertically by a factor on page scroll\n            parallaxAmount: -0.5,\n            // add animation effect to each ribbon section over time\n            animateSections: true\n        };\n\n        this._onDraw = this._onDraw.bind(this);\n        this._onResize = this._onResize.bind(this);\n        this._onScroll = this._onScroll.bind(this);\n        this.setOptions(options);\n        this.init();\n    };\n\n    // class prototype\n    Factory.prototype = {\n        constructor: Factory,\n\n        // Set and merge local options\n        setOptions: function (options) {\n            if (typeof options === \"object\") {\n                for (var key in options) {\n                    if (options.hasOwnProperty(key)) {\n                        this._options[key] = options[key];\n                    }\n                }\n            }\n        },\n\n        // Initialize the ribbons effect\n        init: function () {\n            try {\n                this._canvas = document.createElement(\"canvas\");\n                this._canvas.style[\"display\"] = \"block\";\n                this._canvas.style[\"position\"] = \"fixed\";\n                this._canvas.style[\"margin\"] = \"0\";\n                this._canvas.style[\"padding\"] = \"0\";\n                this._canvas.style[\"border\"] = \"0\";\n                this._canvas.style[\"outline\"] = \"0\";\n                this._canvas.style[\"left\"] = \"0\";\n                this._canvas.style[\"top\"] = \"0\";\n                this._canvas.style[\"width\"] = \"100%\";\n                this._canvas.style[\"height\"] = \"100%\";\n                this._canvas.style[\"z-index\"] = \"-1\";\n                this._canvas.id = \"bgCanvas\";\n                this._onResize();\n\n                this._context = this._canvas.getContext(\"2d\");\n                this._context.clearRect(0, 0, this._width, this._height);\n                this._context.globalAlpha = this._options.colorAlpha;\n\n                window.addEventListener(\"resize\", this._onResize);\n                window.addEventListener(\"scroll\", this._onScroll);\n                document.body.appendChild(this._canvas);\n            }\n            catch (e) {\n                console.warn(\"Canvas Context Error: \" + e.toString());\n                return;\n            }\n            this._onDraw();\n        },\n\n        // Create a new random ribbon and to the list\n        addRibbon: function () {\n            // movement data\n            var dir = Math.round(random(1, 9)) > 5 ? \"right\" : \"left\",\n                stop = 1000,\n                hide = this._width * 0.1,\n                min = 0 - hide,\n                max = this._width + hide,\n                movex = 0,\n                movey = 0,\n                startx = dir === \"right\" ? min : max,\n                starty = Math.round(random(0, this._height));\n\n            // asjust starty based on options\n            if (/^(top|min)$/i.test(this._options.verticalPosition)) {\n                starty = 0 + hide;\n            } else\n            if (/^(middle|center)$/i.test(this._options.verticalPosition)) {\n                starty = this._height / 2;\n            } else\n            if (/^(bottom|max)$/i.test(this._options.verticalPosition)) {\n                starty = this._height - hide;\n            }\n\n            // ribbon sections data\n            var ribbon = [],\n                point1 = new Point(startx, starty),\n                point2 = new Point(startx, starty),\n                point3 = null,\n                color = Math.round(random(0, 360)),\n                delay = 0;\n\n            // buils ribbon sections\n            while (true) {\n                if (stop <= 0) break; stop--;\n\n                movex = Math.round((Math.random() * 1 - 0.2) * this._options.horizontalSpeed * this._width / 5);\n                movey = Math.round((Math.random() * 1 - 0.5) * (this._height * 0.25));\n\n                point3 = new Point();\n                point3.copy(point2);\n\n                if (dir === \"right\") {\n                    point3.add(movex, movey);\n                    if (point2.x >= max) break;\n                } else\n                if (dir === \"left\") {\n                    point3.subtract(movex, movey);\n                    if (point2.x <= min) break;\n                }\n                point3.clampY(0, this._height);\n\n                ribbon.push({ // single ribbon section\n                    point1: new Point(point1.x, point1.y),\n                    point2: new Point(point2.x, point2.y),\n                    point3: point3,\n                    color: color,\n                    delay: delay,\n                    dir: dir,\n                    alpha: 0,\n                    phase: 0,\n                });\n\n                point1.copy(point2);\n                point2.copy(point3);\n\n                delay += this._width / 200;\n                color += this._options.colorCycleSpeed;\n            }\n            this._ribbons.push(ribbon);\n        },\n\n        // Draw single section\n        _drawRibbonSection: function (section) {\n            if (section) {\n                if (section.phase >= 1 && section.alpha <= 0) {\n                    return true; // done\n                }\n\n                if (section.delay <= 0) {\n                    section.phase += 0.02;\n                    section.alpha = Math.sin(section.phase) * 1;\n                    section.alpha = section.alpha <= 0 ? 0 : section.alpha;\n                    section.alpha = section.alpha >= 1 ? 1 : section.alpha;\n\n                    if (this._options.animateSections) {\n                        var mod = Math.sin(1 + section.phase * Math.PI / 2) * 0.1;\n\n                        if (section.dir === \"right\") {\n                            section.point1.add(mod, 0);\n                            section.point2.add(mod, 0);\n                            section.point3.add(mod, 0);\n                        } else {\n                            section.point1.subtract(mod, 0);\n                            section.point2.subtract(mod, 0);\n                            section.point3.subtract(mod, 0);\n                        }\n                        section.point1.add(0, mod);\n                        section.point2.add(0, mod);\n                        section.point3.add(0, mod);\n                    }\n                } else { section.delay -= 0.5; }\n\n                var s = this._options.colorSaturation,\n                    l = this._options.colorBrightness,\n                    c = \"hsla(\" + section.color + \", \" + s + \", \" + l + \", \" + section.alpha + \" )\";\n\n                this._context.save();\n\n                if (this._options.parallaxAmount !== 0) {\n                    this._context.translate(0, this._scroll * this._options.parallaxAmount);\n                }\n                this._context.beginPath();\n                this._context.moveTo(section.point1.x, section.point1.y);\n                this._context.lineTo(section.point2.x, section.point2.y);\n                this._context.lineTo(section.point3.x, section.point3.y);\n                this._context.fillStyle = c;\n                this._context.fill();\n\n                if (this._options.strokeSize > 0) {\n                    this._context.lineWidth = this._options.strokeSize;\n                    this._context.strokeStyle = c;\n                    this._context.lineCap = \"round\";\n                    this._context.stroke();\n                }\n                this._context.restore();\n            }\n            return false; // not done yet\n        },\n\n        // Draw ribbons\n        _onDraw: function () {\n            // cleanup on ribbons list to remove finished ribbons\n            for (var i = 0, t = this._ribbons.length; i < t; ++i) {\n                if (!this._ribbons[i]) {\n                    this._ribbons.splice(i, 1);\n                }\n            }\n\n            // draw new ribbons\n            this._context.clearRect(0, 0, this._width, this._height);\n\n            for (var a = 0; a < this._ribbons.length; ++a) // single ribbon\n            {\n                if (!this._ribbons[a]) {\n                    break;\n                }\n                var ribbon = this._ribbons[a],\n                    numSections = ribbon.length,\n                    numDone = 0;\n\n                for (var b = 0; b < numSections; ++b) // ribbon section\n                {\n                    if (this._drawRibbonSection(ribbon[b])) {\n                        numDone++; // section done\n                    }\n                }\n                if (numDone >= numSections / 2) {\n                    if (this._temp.indexOf(ribbon) == -1) {\n                        this._temp.push(ribbon);\n                        this.addRibbon();\n                    }\n                }\n\n                if (numDone >= numSections) // ribbon done\n                {\n                    this._ribbons[a] = null;\n                    var index = this._temp.indexOf(ribbon);\n                    if (index != -1) {\n                        this._temp.splice(index, 1);\n                    }\n                }\n            }\n            // maintain optional number of ribbons on canvas\n            if (this._ribbons.length < this._options.ribbonCount) {\n                this.addRibbon();\n            }\n            requestAnimationFrame(this._onDraw);\n        },\n\n        // Update container size info\n        _onResize: function (e) {\n            var screen = screenInfo(e);\n            this._width = screen.width;\n            this._height = screen.height;\n\n            if (this._canvas) {\n                this._canvas.width = this._width;\n                this._canvas.height = this._height;\n\n                if (this._context) {\n                    this._context.globalAlpha = this._options.colorAlpha;\n                }\n            }\n        },\n\n        // Update container size info\n        _onScroll: function (e) {\n            var screen = screenInfo(e);\n            this._scroll = screen.scrolly;\n        }\n    };\n\n\n\n    // export\n    return Factory;\n});"
  },
  {
    "path": "src/main/resources/static/js/category.js",
    "content": "\nvar self;\n\nfunction jumpPage(pageNumber) {\n    if (pageNumber==self.data.currentPage){\n        return;\n    }\n    self.list(pageNumber,self.data.pageSize);\n}\n\n$(function () {\n\n\n\n    window.addEventListener('scroll', function() {\n        var t = $('body, html').scrollTop();\n        if (t > 310) {\n            $('#toTop').addClass('toTop-active');\n        } else {\n            $('#toTop').removeClass('toTop-active');\n        }\n    });\n\n\n    $(\"#toTop\").click(function(){\n        $('html,body').animate({scrollTop: 300}, 500);\n    });\n\n    $('.mobileButton').click(function(){\n        $(\".navItem\").toggleClass(\"mobileHidden\");\n        $(\"#searchItem\").toggleClass(\"searchItemHidden\");\n    });\n\n});"
  },
  {
    "path": "src/main/resources/static/js/error.js",
    "content": "$(function(){\n\n    $('.mobileButton').click(function(){\n        $(\".navItem\").toggleClass(\"mobileHidden\");\n    });\n\n    $('#wechat')\n        .popup({\n            popup: $('#wechatPic'),\n            on: 'hover',\n            position: 'bottom center'\n        });\n\n    $('#QQ')\n        .popup({\n            popup:$('#QQPic'),\n            on:\"hover\",\n            position:\"bottom center\"\n        });\n\n});"
  },
  {
    "path": "src/main/resources/static/js/foreBlog.js",
    "content": "/* 页面加载完成后隐藏预加载遮罩 */\n$(window).on('load', function(){\n    var preloader = document.getElementById('page-preloader');\n    if(preloader){\n        preloader.classList.add('loaded');\n        setTimeout(function(){ preloader.remove(); }, 500);\n    }\n});\n\nfunction formatDate(value,formatString){\n    if(value==null){\n        return \"\";\n    }\n    formatString = formatString || \"YYYY-MM-DD  hh:mm:ss\";\n    return moment(value).format(formatString);\n}\n\n\nfunction parseUrl(){\n    var data =[];\n    var params = location.search;\n    params = params.substring(params.indexOf('?')+1,params.length);\n    var keyValues = params.split(\"&\");\n    for (var i in keyValues){\n        var array = new Array();\n        var keyValue = keyValues[i].split(\"=\");\n        for (var j in keyValue){\n            array.push(keyValue[j]);\n        }\n        data.push(array);\n    }\n    return data;\n}\n\nfunction getParamValue(name,dataArray){\n    for( var i in dataArray){\n        var keyValue = dataArray[i];\n        if(keyValue[0]==name){\n            return keyValue[1];\n        }\n    }\n}\n\nfunction isEmpty(object,name){\n    if (object==null){\n        alert(name+\": 不能为空\");\n        return true\n    }\n    if(object.length==0){\n        alert(name+\": 不能为空\");\n        return true;\n    }\n    return false;\n}\n\nfunction isEmail(value) {\n    var reg = new RegExp(\"^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\\\.[a-zA-Z0-9_-]+)+$\");\n    //校验\n    if (value==null){\n        alert(\"邮箱地址不能为空\");\n        return false;\n    }\n    if(!reg.test(value)){\n        alert(\"请输入有效的邮箱地址\");\n        return false;\n    }\n    return  true;\n}\n\n\nfunction isNumber(value,text) {\n    if(value==null){\n        alert(text+\" 不能为空\");\n        return false;\n    }\n    if(value.length==0){\n        alert(text+\" 不能为空\");\n        return false;\n    }\n    if(isNaN(value)){\n        alert(text+\" 不是数字\");\n        return false;\n    }\n    return true;\n}\n\n\nfunction isInt(value,text) {\n    if(value==null){\n        alert(text+\" 不能为空\");\n        return false;\n    }\n    if(value.length==0){\n        alert(text+\" 不能为空\");\n        return false;\n    }\n    //parseInt(123a)==123\n    if(parseInt(value)!=value){\n        alert(text+\" 不是整数\");\n        return false;\n    }\n    return true;\n}\n\n\nfunction errorShowAndJump(message,address){\n    $(\".ui.tiny.modal.errorModal .content\").text(message);\n    $(\".ui.tiny.modal.errorModal\").modal(\"show\");\n    $(\"#closeButton\").click(function () {\n        $(\".ui.tiny.modal.errorModal\").modal(\"hide\");\n        location.href=address;\n    });\n}\n\nfunction errorShow(message){\n    $(\".ui.tiny.modal.errorModal .content\").text(message);\n    $(\".ui.tiny.modal.errorModal\").modal(\"show\");\n    $(\"#closeButton\").click(function () {\n        $(\".ui.tiny.modal.errorModal\").modal(\"hide\");\n    });\n}\n\n\nfunction tipShow(message){\n    $(\".ui.tiny.modal.tipModal .content\").text(message);\n    $(\".ui.tiny.modal.tipModal\").modal(\"show\");\n    $(\"#tipCloseButton\").click(function () {\n        $(\".ui.tiny.modal.tipModal\").modal(\"hide\");\n    });\n}\n\n\nfunction showModal(modalName) {\n    $(\".ui.tiny.modal.\"+modalName).modal(\"show\");\n}\n\nfunction closeModal(modalName) {\n    $(\".ui.tiny.modal.\"+modalName).modal(\"hide\");\n}\n\nfunction isMP4(value,name) {\n    if(value==null){\n        alert(name+\": 不能为空\");\n        return false;\n    }\n    if(value.length<=0){\n        alert(name+\": 不能为空\");\n        return false;\n    }\n    if(value.type==\"video/mp4\"){\n        return true;\n    }\n    alert(name+\": 不是mp4格式\");\n    return false;\n}\n\nfunction getTotalCommentNumber(vue){\n    for (var i  in vue.beans){\n        vue.totalCommentNumber++;\n        if(vue.beans[i].replies  == null){\n            continue;\n        }\n        if(vue.beans[i].replies.length>0){\n            vue.totalCommentNumber+=vue.beans[i].replies.length;\n        }\n    }\n}\n\nfunction elementEnableLazyLoadOfRequest(className, callback) {\n    $('.' + className)\n        .visibility({\n            once: true,\n            observeChanges: true,\n            onBottomVisible: function () {\n                callback();\n            }\n        })\n    ;\n}\n\n\n// 元素动画部分\nfunction multiScaleAnimation(fatherClassName, subClassName) {\n    $('.' + fatherClassName)\n        .transition({\n            animation: 'scale',\n            duration: '0s',\n            onComplete: function () {\n                $('.' + fatherClassName + ' .' + subClassName).transition({\n                    animation: 'scale',\n                    duration: '1s',\n                    reverse: 'auto', // default setting\n                    interval: 200\n                });\n            }\n        })\n    ;\n}\n\nfunction simpleScaleAnimation(className) {\n    $('.' + className)\n        .transition({\n            animation: 'scale',\n            duration: '0s',\n            onComplete: function () {\n                $('.' + className).transition({\n                    animation: 'scale',\n                    duration: '1s',\n                });\n            }\n        })\n    ;\n}\n\n\n\n\nfunction simpleAnimationOfId(fatherClass, id, animation, duration) {\n    $('.' + fatherClass + ' #' + id)\n        .transition({\n            animation: animation,\n            duration: '0s',\n            onComplete: function () {\n                $('#' + id).transition({\n                    animation: animation,\n                    duration: duration,\n                });\n            }\n        })\n    ;\n}\n\nfunction simpleAnimation(className, animation) {\n    $('.' + className)\n        .transition({\n            animation: animation,\n            duration: '0s',\n            onComplete: function () {\n                $('.' + className).transition({\n                    animation: animation,\n                    duration: '1s',\n                });\n            }\n        })\n    ;\n}\n\nfunction secondToDate(second) {\n    if (!second) {\n        return 0;\n    }\n    var time = new Array(0, 0, 0, 0, 0);\n    if (second >= 365 * 24 * 3600) {\n        time[0] = parseInt(second / (365 * 24 * 3600));\n        second %= 365 * 24 * 3600;\n    }\n    if (second >= 24 * 3600) {\n        time[1] = parseInt(second / (24 * 3600));\n        second %= 24 * 3600;\n    }\n    if (second >= 3600) {\n        time[2] = parseInt(second / 3600);\n        second %= 3600;\n    }\n    if (second >= 60) {\n        time[3] = parseInt(second / 60);\n        second %= 60;\n    }\n    if (second > 0) {\n        time[4] = second;\n    }\n    return time;\n}\nfunction setTime() {\n    var create_time = Math.round(new Date(Date.UTC(2022, 1, 1, 0, 0, 0)).getTime() / 1000);\n    var timestamp = Math.round((new Date().getTime() + 8 * 60 * 60 * 1000) / 1000);\n    currentTime = secondToDate((timestamp - create_time));\n    currentTimeHtml = currentTime[0] + '年' + currentTime[1] + '天'\n        + currentTime[2] + '时' + currentTime[3] + '分' + currentTime[4]\n        + '秒';\n    document.getElementById(\"webRuntime\").innerHTML = currentTimeHtml;\n}\n\n\nfunction isSatisfactoryForKeyword(keyword){\n    if(isEmpty(keyword)){\n        return false;\n    }\n    return true;\n}\n\n\n//分页js\nfunction setPagination(totalPage,currentPage){\n\n    var ulTag = $(\".pagination ul\");\n\n    var liTag = \"\";\n    var beforePage = currentPage-1; //前一页\n    var afterPage = currentPage+1;\t//后一页\n    var activeLi = \"\";\n    //显示头\n    if(currentPage>1){\n        liTag += '<li class=\"btn prev\" onclick=\"jumpPage('+beforePage+')\"><span><i class=\"left chevron icon\"></i></span></li>';\n    }\n    if(currentPage>2){\n        liTag+='<li class=\"numb\" onclick=\"jumpPage('+1+')\"><span>1</span></li>';\n        // if(currentPage>3){\n        // \tliTag+='<li class=\"dots\"><span>...</span></li>';\n        // }\n    }\n    for (var pageLength = beforePage ; pageLength <= afterPage; pageLength++) {\n        if(pageLength>totalPage){\n            continue;\n        }\n        //显示1\n        if(pageLength==0){\n            pageLength = pageLength+1;\n        }\n        //当前页显示\n        if(pageLength==currentPage){\n            activeLi = \"active\";\n        }else{\n            activeLi=\"\";\n        }\n        liTag+='<li class=\"numb '+activeLi+' \" onclick=\"jumpPage('+pageLength+')\"><span>'+pageLength+'</span></li>';\n\n    }\n    if(currentPage<totalPage-1){    //5<19\n        if(currentPage< totalPage-2){  //5<18\n            liTag+='<li class=\"dots\"><span>...</span></li>';\n        }\n        liTag+='<li class=\"numb\"  onclick=\"jumpPage('+totalPage+')\"><span>'+totalPage+'</span></li>';\n    }\n    //显示尾\n    if(currentPage<totalPage){\n        liTag += '<li class=\"btn next\" onclick=\"jumpPage('+afterPage+')\"><span><i class=\"right chevron icon\"></i></span></li>';\n    }\n    ulTag.html(liTag);\n}"
  },
  {
    "path": "src/main/resources/static/js/home.js",
    "content": "var self;\n\nfunction jumpPage(pageNumber) {\n    if (pageNumber==self.data.currentPage){\n        return;\n    }\n    self.listNewArticle(pageNumber,self.data.pageSize);\n}\n\n$(function(){\n\n\n    window.addEventListener('scroll', function() {\n        var t = $('body, html').scrollTop();\n        if (t > 715) {\n            $('#navMenu').addClass('navDiv-active');\n            $('#toTop').addClass('toTop-active');\n            $(\".aplayer\").removeClass('aplayer-hide');\n\n        } else {\n            $('#navMenu').removeClass('navDiv-active');\n            $('#toTop').removeClass('toTop-active');\n            $(\".aplayer\").addClass('aplayer-hide');\n        }\n    });\n\n\n\n    $(\".guidance i\").click(function(){\n        $('html,body').animate({scrollTop: 720}, 500);\n    });\n\n    $(\"#toTop\").click(function(){\n        $('html,body').animate({scrollTop: 715}, 500);\n    });\n\n    $('.mobileButton').click(function(){\n        $(\".navItem\").toggleClass(\"mobileHidden\");\n        $(\"#searchItem\").toggleClass(\"searchItemHidden\");\n    });\n\n    $('#wechat')\n        .popup({\n            popup: $('#wechatPic'),\n            on: 'hover',\n            position: 'bottom center'\n        });\n\n    $('#QQ')\n        .popup({\n            popup:$('#QQPic'),\n            on:\"hover\",\n            position:\"bottom center\"\n        });\n\n});"
  },
  {
    "path": "src/main/resources/static/js/jquery.js",
    "content": "/*! jQuery v2.0.0 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license\n//@ sourceMappingURL=jquery.min.map\n*/\n(function(e, undefined) {\n    var t, n, r = typeof undefined,\n        i = e.location,\n        o = e.document,\n        s = o.documentElement,\n        a = e.jQuery,\n        u = e.$,\n        l = {},\n        c = [],\n        f = \"2.0.0\",\n        p = c.concat,\n        h = c.push,\n        d = c.slice,\n        g = c.indexOf,\n        m = l.toString,\n        y = l.hasOwnProperty,\n        v = f.trim,\n        x = function(e, n) {\n            return new x.fn.init(e, n, t)\n        },\n        b = /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source,\n        w = /\\S+/g,\n        T = /^(?:(<[\\w\\W]+>)[^>]*|#([\\w-]*))$/,\n        C = /^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,\n        k = /^-ms-/,\n        N = /-([\\da-z])/gi,\n        E = function(e, t) {\n            return t.toUpperCase()\n        },\n        S = function() {\n            o.removeEventListener(\"DOMContentLoaded\", S, !1), e.removeEventListener(\"load\", S, !1), x.ready()\n        };\n    x.fn = x.prototype = {\n        jquery: f,\n        constructor: x,\n        init: function(e, t, n) {\n            var r, i;\n            if (!e) return this;\n            if (\"string\" == typeof e) {\n                if (r = \"<\" === e.charAt(0) && \">\" === e.charAt(e.length - 1) && e.length >= 3 ? [null, e, null] : T.exec(e), !r ||\n                !r[1] && t) return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e);\n                if (r[1]) {\n                    if (t = t instanceof x ? t[0] : t, x.merge(this, x.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : o,\n                        !0)), C.test(r[1]) && x.isPlainObject(t))\n                        for (r in t) x.isFunction(this[r]) ? this[r](t[r]) : this.attr(r, t[r]);\n                    return this\n                }\n                return i = o.getElementById(r[2]), i && i.parentNode && (this.length = 1, this[0] = i), this.context = o, this.selector =\n                    e, this\n            }\n            return e.nodeType ? (this.context = this[0] = e, this.length = 1, this) : x.isFunction(e) ? n.ready(e) : (e.selector !==\n            undefined && (this.selector = e.selector, this.context = e.context), x.makeArray(e, this))\n        },\n        selector: \"\",\n        length: 0,\n        toArray: function() {\n            return d.call(this)\n        },\n        get: function(e) {\n            return null == e ? this.toArray() : 0 > e ? this[this.length + e] : this[e]\n        },\n        pushStack: function(e) {\n            var t = x.merge(this.constructor(), e);\n            return t.prevObject = this, t.context = this.context, t\n        },\n        each: function(e, t) {\n            return x.each(this, e, t)\n        },\n        ready: function(e) {\n            return x.ready.promise().done(e), this\n        },\n        slice: function() {\n            return this.pushStack(d.apply(this, arguments))\n        },\n        first: function() {\n            return this.eq(0)\n        },\n        last: function() {\n            return this.eq(-1)\n        },\n        eq: function(e) {\n            var t = this.length,\n                n = +e + (0 > e ? t : 0);\n            return this.pushStack(n >= 0 && t > n ? [this[n]] : [])\n        },\n        map: function(e) {\n            return this.pushStack(x.map(this, function(t, n) {\n                return e.call(t, n, t)\n            }))\n        },\n        end: function() {\n            return this.prevObject || this.constructor(null)\n        },\n        push: h,\n        sort: [].sort,\n        splice: [].splice\n    }, x.fn.init.prototype = x.fn, x.extend = x.fn.extend = function() {\n        var e, t, n, r, i, o, s = arguments[0] || {},\n            a = 1,\n            u = arguments.length,\n            l = !1;\n        for (\"boolean\" == typeof s && (l = s, s = arguments[1] || {}, a = 2), \"object\" == typeof s || x.isFunction(s) || (s = {}),\n             u === a && (s = this, --a); u > a; a++)\n            if (null != (e = arguments[a]))\n                for (t in e) n = s[t], r = e[t], s !== r && (l && r && (x.isPlainObject(r) || (i = x.isArray(r))) ? (i ? (i = !1,\n                    o = n && x.isArray(n) ? n : []) : o = n && x.isPlainObject(n) ? n : {}, s[t] = x.extend(l, o, r)) : r !==\n                    undefined && (s[t] = r));\n        return s\n    }, x.extend({\n        expando: \"jQuery\" + (f + Math.random()).replace(/\\D/g, \"\"),\n        noConflict: function(t) {\n            return e.$ === x && (e.$ = u), t && e.jQuery === x && (e.jQuery = a), x\n        },\n        isReady: !1,\n        readyWait: 1,\n        holdReady: function(e) {\n            e ? x.readyWait++ : x.ready(!0)\n        },\n        ready: function(e) {\n            (e === !0 ? --x.readyWait : x.isReady) || (x.isReady = !0, e !== !0 && --x.readyWait > 0 || (n.resolveWith(o, [x]),\n            x.fn.trigger && x(o).trigger(\"ready\").off(\"ready\")))\n        },\n        isFunction: function(e) {\n            return \"function\" === x.type(e)\n        },\n        isArray: Array.isArray,\n        isWindow: function(e) {\n            return null != e && e === e.window\n        },\n        isNumeric: function(e) {\n            return !isNaN(parseFloat(e)) && isFinite(e)\n        },\n        type: function(e) {\n            return null == e ? e + \"\" : \"object\" == typeof e || \"function\" == typeof e ? l[m.call(e)] || \"object\" : typeof e\n        },\n        isPlainObject: function(e) {\n            if (\"object\" !== x.type(e) || e.nodeType || x.isWindow(e)) return !1;\n            try {\n                if (e.constructor && !y.call(e.constructor.prototype, \"isPrototypeOf\")) return !1\n            } catch (t) {\n                return !1\n            }\n            return !0\n        },\n        isEmptyObject: function(e) {\n            var t;\n            for (t in e) return !1;\n            return !0\n        },\n        error: function(e) {\n            throw Error(e)\n        },\n        parseHTML: function(e, t, n) {\n            if (!e || \"string\" != typeof e) return null;\n            \"boolean\" == typeof t && (n = t, t = !1), t = t || o;\n            var r = C.exec(e),\n                i = !n && [];\n            return r ? [t.createElement(r[1])] : (r = x.buildFragment([e], t, i), i && x(i).remove(), x.merge([], r.childNodes))\n        },\n        parseJSON: JSON.parse,\n        parseXML: function(e) {\n            var t, n;\n            if (!e || \"string\" != typeof e) return null;\n            try {\n                n = new DOMParser, t = n.parseFromString(e, \"text/xml\")\n            } catch (r) {\n                t = undefined\n            }\n            return (!t || t.getElementsByTagName(\"parsererror\").length) && x.error(\"Invalid XML: \" + e), t\n        },\n        noop: function() {},\n        globalEval: function(e) {\n            var t, n = eval;\n            e = x.trim(e), e && (1 === e.indexOf(\"use strict\") ? (t = o.createElement(\"script\"), t.text = e, o.head.appendChild(\n                t).parentNode.removeChild(t)) : n(e))\n        },\n        camelCase: function(e) {\n            return e.replace(k, \"ms-\").replace(N, E)\n        },\n        nodeName: function(e, t) {\n            return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase()\n        },\n        each: function(e, t, n) {\n            var r, i = 0,\n                o = e.length,\n                s = j(e);\n            if (n) {\n                if (s) {\n                    for (; o > i; i++)\n                        if (r = t.apply(e[i], n), r === !1) break\n                } else\n                    for (i in e)\n                        if (r = t.apply(e[i], n), r === !1) break\n            } else if (s) {\n                for (; o > i; i++)\n                    if (r = t.call(e[i], i, e[i]), r === !1) break\n            } else\n                for (i in e)\n                    if (r = t.call(e[i], i, e[i]), r === !1) break;\n            return e\n        },\n        trim: function(e) {\n            return null == e ? \"\" : v.call(e)\n        },\n        makeArray: function(e, t) {\n            var n = t || [];\n            return null != e && (j(Object(e)) ? x.merge(n, \"string\" == typeof e ? [e] : e) : h.call(n, e)), n\n        },\n        inArray: function(e, t, n) {\n            return null == t ? -1 : g.call(t, e, n)\n        },\n        merge: function(e, t) {\n            var n = t.length,\n                r = e.length,\n                i = 0;\n            if (\"number\" == typeof n)\n                for (; n > i; i++) e[r++] = t[i];\n            else\n                while (t[i] !== undefined) e[r++] = t[i++];\n            return e.length = r, e\n        },\n        grep: function(e, t, n) {\n            var r, i = [],\n                o = 0,\n                s = e.length;\n            for (n = !!n; s > o; o++) r = !!t(e[o], o), n !== r && i.push(e[o]);\n            return i\n        },\n        map: function(e, t, n) {\n            var r, i = 0,\n                o = e.length,\n                s = j(e),\n                a = [];\n            if (s)\n                for (; o > i; i++) r = t(e[i], i, n), null != r && (a[a.length] = r);\n            else\n                for (i in e) r = t(e[i], i, n), null != r && (a[a.length] = r);\n            return p.apply([], a)\n        },\n        guid: 1,\n        proxy: function(e, t) {\n            var n, r, i;\n            return \"string\" == typeof t && (n = e[t], t = e, e = n), x.isFunction(e) ? (r = d.call(arguments, 2), i =\n                function() {\n                    return e.apply(t || this, r.concat(d.call(arguments)))\n                }, i.guid = e.guid = e.guid || x.guid++, i) : undefined\n        },\n        access: function(e, t, n, r, i, o, s) {\n            var a = 0,\n                u = e.length,\n                l = null == n;\n            if (\"object\" === x.type(n)) {\n                i = !0;\n                for (a in n) x.access(e, t, a, n[a], !0, o, s)\n            } else if (r !== undefined && (i = !0, x.isFunction(r) || (s = !0), l && (s ? (t.call(e, r), t = null) : (l = t,\n                t = function(e, t, n) {\n                    return l.call(x(e), n)\n                })), t))\n                for (; u > a; a++) t(e[a], n, s ? r : r.call(e[a], a, t(e[a], n)));\n            return i ? e : l ? t.call(e) : u ? t(e[0], n) : o\n        },\n        now: Date.now,\n        swap: function(e, t, n, r) {\n            var i, o, s = {};\n            for (o in t) s[o] = e.style[o], e.style[o] = t[o];\n            i = n.apply(e, r || []);\n            for (o in t) e.style[o] = s[o];\n            return i\n        }\n    }), x.ready.promise = function(t) {\n        return n || (n = x.Deferred(), \"complete\" === o.readyState ? setTimeout(x.ready) : (o.addEventListener(\n            \"DOMContentLoaded\", S, !1), e.addEventListener(\"load\", S, !1))), n.promise(t)\n    }, x.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"), function(e, t) {\n        l[\"[object \" + t + \"]\"] = t.toLowerCase()\n    });\n\n    function j(e) {\n        var t = e.length,\n            n = x.type(e);\n        return x.isWindow(e) ? !1 : 1 === e.nodeType && t ? !0 : \"array\" === n || \"function\" !== n && (0 === t || \"number\" ==\n            typeof t && t > 0 && t - 1 in e)\n    }\n    t = x(o),\n        function(e, undefined) {\n            var t, n, r, i, o, s, a, u, l, c, f, p, h, d, g, m, y = \"sizzle\" + -new Date,\n                v = e.document,\n                b = {},\n                w = 0,\n                T = 0,\n                C = ot(),\n                k = ot(),\n                N = ot(),\n                E = !1,\n                S = function() {\n                    return 0\n                },\n                j = typeof undefined,\n                D = 1 << 31,\n                A = [],\n                L = A.pop,\n                q = A.push,\n                H = A.push,\n                O = A.slice,\n                F = A.indexOf || function(e) {\n                    var t = 0,\n                        n = this.length;\n                    for (; n > t; t++)\n                        if (this[t] === e) return t;\n                    return -1\n                },\n                P =\n                    \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",\n                R = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n                M = \"(?:\\\\\\\\.|[\\\\w-]|[^\\\\x00-\\\\xa0])+\",\n                W = M.replace(\"w\", \"w#\"),\n                $ = \"\\\\[\" + R + \"*(\" + M + \")\" + R + \"*(?:([*^$|!~]?=)\" + R + \"*(?:(['\\\"])((?:\\\\\\\\.|[^\\\\\\\\])*?)\\\\3|(\" + W +\n                    \")|)|)\" + R + \"*\\\\]\",\n                B = \":(\" + M + \")(?:\\\\(((['\\\"])((?:\\\\\\\\.|[^\\\\\\\\])*?)\\\\3|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + $.replace(3, 8) +\n                    \")*)|.*)\\\\)|)\",\n                I = RegExp(\"^\" + R + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + R + \"+$\", \"g\"),\n                z = RegExp(\"^\" + R + \"*,\" + R + \"*\"),\n                _ = RegExp(\"^\" + R + \"*([>+~]|\" + R + \")\" + R + \"*\"),\n                X = RegExp(R + \"*[+~]\"),\n                U = RegExp(\"=\" + R + \"*([^\\\\]'\\\"]*)\" + R + \"*\\\\]\", \"g\"),\n                Y = RegExp(B),\n                V = RegExp(\"^\" + W + \"$\"),\n                G = {\n                    ID: RegExp(\"^#(\" + M + \")\"),\n                    CLASS: RegExp(\"^\\\\.(\" + M + \")\"),\n                    TAG: RegExp(\"^(\" + M.replace(\"w\", \"w*\") + \")\"),\n                    ATTR: RegExp(\"^\" + $),\n                    PSEUDO: RegExp(\"^\" + B),\n                    CHILD: RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" + R + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + R +\n                        \"*(?:([+-]|)\" + R + \"*(\\\\d+)|))\" + R + \"*\\\\)|)\", \"i\"),\n                    \"boolean\": RegExp(\"^(?:\" + P + \")$\", \"i\"),\n                    needsContext: RegExp(\"^\" + R + \"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + R + \"*((?:-\\\\d)?\\\\d*)\" + R +\n                        \"*\\\\)|)(?=[^-]|$)\", \"i\")\n                },\n                J = /^[^{]+\\{\\s*\\[native \\w/,\n                Q = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n                K = /^(?:input|select|textarea|button)$/i,\n                Z = /^h\\d$/i,\n                et = /'|\\\\/g,\n                tt = /\\\\([\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|.)/g,\n                nt = function(e, t) {\n                    var n = \"0x\" + t - 65536;\n                    return n !== n ? t : 0 > n ? String.fromCharCode(n + 65536) : String.fromCharCode(55296 | n >> 10, 56320 | 1023 &\n                        n)\n                };\n            try {\n                H.apply(A = O.call(v.childNodes), v.childNodes), A[v.childNodes.length].nodeType\n            } catch (rt) {\n                H = {\n                    apply: A.length ? function(e, t) {\n                        q.apply(e, O.call(t))\n                    } : function(e, t) {\n                        var n = e.length,\n                            r = 0;\n                        while (e[n++] = t[r++]);\n                        e.length = n - 1\n                    }\n                }\n            }\n\n            function it(e) {\n                return J.test(e + \"\")\n            }\n\n            function ot() {\n                var e, t = [];\n                return e = function(n, i) {\n                    return t.push(n += \" \") > r.cacheLength && delete e[t.shift()], e[n] = i\n                }\n            }\n\n            function st(e) {\n                return e[y] = !0, e\n            }\n\n            function at(e) {\n                var t = c.createElement(\"div\");\n                try {\n                    return !!e(t)\n                } catch (n) {\n                    return !1\n                } finally {\n                    t.parentNode && t.parentNode.removeChild(t), t = null\n                }\n            }\n\n            function ut(e, t, n, r) {\n                var i, o, s, a, u, f, d, g, x, w;\n                if ((t ? t.ownerDocument || t : v) !== c && l(t), t = t || c, n = n || [], !e || \"string\" != typeof e) return n;\n                if (1 !== (a = t.nodeType) && 9 !== a) return [];\n                if (p && !r) {\n                    if (i = Q.exec(e))\n                        if (s = i[1]) {\n                            if (9 === a) {\n                                if (o = t.getElementById(s), !o || !o.parentNode) return n;\n                                if (o.id === s) return n.push(o), n\n                            } else if (t.ownerDocument && (o = t.ownerDocument.getElementById(s)) && m(t, o) && o.id === s) return n.push(o),\n                                n\n                        } else {\n                            if (i[2]) return H.apply(n, t.getElementsByTagName(e)), n;\n                            if ((s = i[3]) && b.getElementsByClassName && t.getElementsByClassName) return H.apply(n, t.getElementsByClassName(\n                                s)), n\n                        } if (b.qsa && (!h || !h.test(e))) {\n                        if (g = d = y, x = t, w = 9 === a && e, 1 === a && \"object\" !== t.nodeName.toLowerCase()) {\n                            f = gt(e), (d = t.getAttribute(\"id\")) ? g = d.replace(et, \"\\\\$&\") : t.setAttribute(\"id\", g), g = \"[id='\" + g +\n                                \"'] \", u = f.length;\n                            while (u--) f[u] = g + mt(f[u]);\n                            x = X.test(e) && t.parentNode || t, w = f.join(\",\")\n                        }\n                        if (w) try {\n                            return H.apply(n, x.querySelectorAll(w)), n\n                        } catch (T) {} finally {\n                            d || t.removeAttribute(\"id\")\n                        }\n                    }\n                }\n                return kt(e.replace(I, \"$1\"), t, n, r)\n            }\n            o = ut.isXML = function(e) {\n                var t = e && (e.ownerDocument || e).documentElement;\n                return t ? \"HTML\" !== t.nodeName : !1\n            }, l = ut.setDocument = function(e) {\n                var t = e ? e.ownerDocument || e : v;\n                return t !== c && 9 === t.nodeType && t.documentElement ? (c = t, f = t.documentElement, p = !o(t), b.getElementsByTagName =\n                    at(function(e) {\n                        return e.appendChild(t.createComment(\"\")), !e.getElementsByTagName(\"*\").length\n                    }), b.attributes = at(function(e) {\n                    return e.className = \"i\", !e.getAttribute(\"className\")\n                }), b.getElementsByClassName = at(function(e) {\n                    return e.innerHTML = \"<div class='a'></div><div class='a i'></div>\", e.firstChild.className = \"i\", 2 === e.getElementsByClassName(\n                        \"i\").length\n                }), b.sortDetached = at(function(e) {\n                    return 1 & e.compareDocumentPosition(c.createElement(\"div\"))\n                }), b.getById = at(function(e) {\n                    return f.appendChild(e).id = y, !t.getElementsByName || !t.getElementsByName(y).length\n                }), b.getById ? (r.find.ID = function(e, t) {\n                    if (typeof t.getElementById !== j && p) {\n                        var n = t.getElementById(e);\n                        return n && n.parentNode ? [n] : []\n                    }\n                }, r.filter.ID = function(e) {\n                    var t = e.replace(tt, nt);\n                    return function(e) {\n                        return e.getAttribute(\"id\") === t\n                    }\n                }) : (r.find.ID = function(e, t) {\n                    if (typeof t.getElementById !== j && p) {\n                        var n = t.getElementById(e);\n                        return n ? n.id === e || typeof n.getAttributeNode !== j && n.getAttributeNode(\"id\").value === e ? [n] :\n                            undefined : []\n                    }\n                }, r.filter.ID = function(e) {\n                    var t = e.replace(tt, nt);\n                    return function(e) {\n                        var n = typeof e.getAttributeNode !== j && e.getAttributeNode(\"id\");\n                        return n && n.value === t\n                    }\n                }), r.find.TAG = b.getElementsByTagName ? function(e, t) {\n                    return typeof t.getElementsByTagName !== j ? t.getElementsByTagName(e) : undefined\n                } : function(e, t) {\n                    var n, r = [],\n                        i = 0,\n                        o = t.getElementsByTagName(e);\n                    if (\"*\" === e) {\n                        while (n = o[i++]) 1 === n.nodeType && r.push(n);\n                        return r\n                    }\n                    return o\n                }, r.find.CLASS = b.getElementsByClassName && function(e, t) {\n                    return typeof t.getElementsByClassName !== j && p ? t.getElementsByClassName(e) : undefined\n                }, d = [], h = [], (b.qsa = it(t.querySelectorAll)) && (at(function(e) {\n                    e.innerHTML = \"<select><option selected=''></option></select>\", e.querySelectorAll(\"[selected]\").length || h\n                        .push(\"\\\\[\" + R + \"*(?:value|\" + P + \")\"), e.querySelectorAll(\":checked\").length || h.push(\":checked\")\n                }), at(function(e) {\n                    var t = c.createElement(\"input\");\n                    t.setAttribute(\"type\", \"hidden\"), e.appendChild(t).setAttribute(\"t\", \"\"), e.querySelectorAll(\"[t^='']\").length &&\n                    h.push(\"[*^$]=\" + R + \"*(?:''|\\\"\\\")\"), e.querySelectorAll(\":enabled\").length || h.push(\":enabled\",\n                        \":disabled\"), e.querySelectorAll(\"*,:x\"), h.push(\",.*:\")\n                })), (b.matchesSelector = it(g = f.webkitMatchesSelector || f.mozMatchesSelector || f.oMatchesSelector || f.msMatchesSelector)) &&\n                at(function(e) {\n                    b.disconnectedMatch = g.call(e, \"div\"), g.call(e, \"[s!='']:x\"), d.push(\"!=\", B)\n                }), h = h.length && RegExp(h.join(\"|\")), d = d.length && RegExp(d.join(\"|\")), m = it(f.contains) || f.compareDocumentPosition ?\n                    function(e, t) {\n                        var n = 9 === e.nodeType ? e.documentElement : e,\n                            r = t && t.parentNode;\n                        return e === r || !(!r || 1 !== r.nodeType || !(n.contains ? n.contains(r) : e.compareDocumentPosition && 16 &\n                            e.compareDocumentPosition(r)))\n                    } : function(e, t) {\n                        if (t)\n                            while (t = t.parentNode)\n                                if (t === e) return !0;\n                        return !1\n                    }, S = f.compareDocumentPosition ? function(e, n) {\n                    if (e === n) return E = !0, 0;\n                    var r = n.compareDocumentPosition && e.compareDocumentPosition && e.compareDocumentPosition(n);\n                    return r ? 1 & r || !b.sortDetached && n.compareDocumentPosition(e) === r ? e === t || m(v, e) ? -1 : n === t ||\n                    m(v, n) ? 1 : u ? F.call(u, e) - F.call(u, n) : 0 : 4 & r ? -1 : 1 : e.compareDocumentPosition ? -1 : 1\n                } : function(e, n) {\n                    var r, i = 0,\n                        o = e.parentNode,\n                        s = n.parentNode,\n                        a = [e],\n                        l = [n];\n                    if (e === n) return E = !0, 0;\n                    if (!o || !s) return e === t ? -1 : n === t ? 1 : o ? -1 : s ? 1 : u ? F.call(u, e) - F.call(u, n) : 0;\n                    if (o === s) return lt(e, n);\n                    r = e;\n                    while (r = r.parentNode) a.unshift(r);\n                    r = n;\n                    while (r = r.parentNode) l.unshift(r);\n                    while (a[i] === l[i]) i++;\n                    return i ? lt(a[i], l[i]) : a[i] === v ? -1 : l[i] === v ? 1 : 0\n                }, c) : c\n            }, ut.matches = function(e, t) {\n                return ut(e, null, null, t)\n            }, ut.matchesSelector = function(e, t) {\n                if ((e.ownerDocument || e) !== c && l(e), t = t.replace(U, \"='$1']\"), !(!b.matchesSelector || !p || d && d.test(t) ||\n                    h && h.test(t))) try {\n                    var n = g.call(e, t);\n                    if (n || b.disconnectedMatch || e.document && 11 !== e.document.nodeType) return n\n                } catch (r) {}\n                return ut(t, c, null, [e]).length > 0\n            }, ut.contains = function(e, t) {\n                return (e.ownerDocument || e) !== c && l(e), m(e, t)\n            }, ut.attr = function(e, t) {\n                (e.ownerDocument || e) !== c && l(e);\n                var n = r.attrHandle[t.toLowerCase()],\n                    i = n && n(e, t, !p);\n                return i === undefined ? b.attributes || !p ? e.getAttribute(t) : (i = e.getAttributeNode(t)) && i.specified ? i.value :\n                    null : i\n            }, ut.error = function(e) {\n                throw Error(\"Syntax error, unrecognized expression: \" + e)\n            }, ut.uniqueSort = function(e) {\n                var t, n = [],\n                    r = 0,\n                    i = 0;\n                if (E = !b.detectDuplicates, u = !b.sortStable && e.slice(0), e.sort(S), E) {\n                    while (t = e[i++]) t === e[i] && (r = n.push(i));\n                    while (r--) e.splice(n[r], 1)\n                }\n                return e\n            };\n\n            function lt(e, t) {\n                var n = t && e,\n                    r = n && (~t.sourceIndex || D) - (~e.sourceIndex || D);\n                if (r) return r;\n                if (n)\n                    while (n = n.nextSibling)\n                        if (n === t) return -1;\n                return e ? 1 : -1\n            }\n\n            function ct(e, t, n) {\n                var r;\n                return n ? undefined : (r = e.getAttributeNode(t)) && r.specified ? r.value : e[t] === !0 ? t.toLowerCase() : null\n            }\n\n            function ft(e, t, n) {\n                var r;\n                return n ? undefined : r = e.getAttribute(t, \"type\" === t.toLowerCase() ? 1 : 2)\n            }\n\n            function pt(e) {\n                return function(t) {\n                    var n = t.nodeName.toLowerCase();\n                    return \"input\" === n && t.type === e\n                }\n            }\n\n            function ht(e) {\n                return function(t) {\n                    var n = t.nodeName.toLowerCase();\n                    return (\"input\" === n || \"button\" === n) && t.type === e\n                }\n            }\n\n            function dt(e) {\n                return st(function(t) {\n                    return t = +t, st(function(n, r) {\n                        var i, o = e([], n.length, t),\n                            s = o.length;\n                        while (s--) n[i = o[s]] && (n[i] = !(r[i] = n[i]))\n                    })\n                })\n            }\n            i = ut.getText = function(e) {\n                var t, n = \"\",\n                    r = 0,\n                    o = e.nodeType;\n                if (o) {\n                    if (1 === o || 9 === o || 11 === o) {\n                        if (\"string\" == typeof e.textContent) return e.textContent;\n                        for (e = e.firstChild; e; e = e.nextSibling) n += i(e)\n                    } else if (3 === o || 4 === o) return e.nodeValue\n                } else\n                    for (; t = e[r]; r++) n += i(t);\n                return n\n            }, r = ut.selectors = {\n                cacheLength: 50,\n                createPseudo: st,\n                match: G,\n                attrHandle: {},\n                find: {},\n                relative: {\n                    \">\": {\n                        dir: \"parentNode\",\n                        first: !0\n                    },\n                    \" \": {\n                        dir: \"parentNode\"\n                    },\n                    \"+\": {\n                        dir: \"previousSibling\",\n                        first: !0\n                    },\n                    \"~\": {\n                        dir: \"previousSibling\"\n                    }\n                },\n                preFilter: {\n                    ATTR: function(e) {\n                        return e[1] = e[1].replace(tt, nt), e[3] = (e[4] || e[5] || \"\").replace(tt, nt), \"~=\" === e[2] && (e[3] = \" \" +\n                            e[3] + \" \"), e.slice(0, 4)\n                    },\n                    CHILD: function(e) {\n                        return e[1] = e[1].toLowerCase(), \"nth\" === e[1].slice(0, 3) ? (e[3] || ut.error(e[0]), e[4] = +(e[4] ? e[5] +\n                            (e[6] || 1) : 2 * (\"even\" === e[3] || \"odd\" === e[3])), e[5] = +(e[7] + e[8] || \"odd\" === e[3])) : e[3] &&\n                            ut.error(e[0]), e\n                    },\n                    PSEUDO: function(e) {\n                        var t, n = !e[5] && e[2];\n                        return G.CHILD.test(e[0]) ? null : (e[4] ? e[2] = e[4] : n && Y.test(n) && (t = gt(n, !0)) && (t = n.indexOf(\n                            \")\", n.length - t) - n.length) && (e[0] = e[0].slice(0, t), e[2] = n.slice(0, t)), e.slice(0, 3))\n                    }\n                },\n                filter: {\n                    TAG: function(e) {\n                        var t = e.replace(tt, nt).toLowerCase();\n                        return \"*\" === e ? function() {\n                            return !0\n                        } : function(e) {\n                            return e.nodeName && e.nodeName.toLowerCase() === t\n                        }\n                    },\n                    CLASS: function(e) {\n                        var t = C[e + \" \"];\n                        return t || (t = RegExp(\"(^|\" + R + \")\" + e + \"(\" + R + \"|$)\")) && C(e, function(e) {\n                            return t.test(\"string\" == typeof e.className && e.className || typeof e.getAttribute !== j && e.getAttribute(\n                                \"class\") || \"\")\n                        })\n                    },\n                    ATTR: function(e, t, n) {\n                        return function(r) {\n                            var i = ut.attr(r, e);\n                            return null == i ? \"!=\" === t : t ? (i += \"\", \"=\" === t ? i === n : \"!=\" === t ? i !== n : \"^=\" === t ? n &&\n                                0 === i.indexOf(n) : \"*=\" === t ? n && i.indexOf(n) > -1 : \"$=\" === t ? n && i.slice(-n.length) === n :\n                                \"~=\" === t ? (\" \" + i + \" \").indexOf(n) > -1 : \"|=\" === t ? i === n || i.slice(0, n.length + 1) === n +\n                                    \"-\" : !1) : !0\n                        }\n                    },\n                    CHILD: function(e, t, n, r, i) {\n                        var o = \"nth\" !== e.slice(0, 3),\n                            s = \"last\" !== e.slice(-4),\n                            a = \"of-type\" === t;\n                        return 1 === r && 0 === i ? function(e) {\n                            return !!e.parentNode\n                        } : function(t, n, u) {\n                            var l, c, f, p, h, d, g = o !== s ? \"nextSibling\" : \"previousSibling\",\n                                m = t.parentNode,\n                                v = a && t.nodeName.toLowerCase(),\n                                x = !u && !a;\n                            if (m) {\n                                if (o) {\n                                    while (g) {\n                                        f = t;\n                                        while (f = f[g])\n                                            if (a ? f.nodeName.toLowerCase() === v : 1 === f.nodeType) return !1;\n                                        d = g = \"only\" === e && !d && \"nextSibling\"\n                                    }\n                                    return !0\n                                }\n                                if (d = [s ? m.firstChild : m.lastChild], s && x) {\n                                    c = m[y] || (m[y] = {}), l = c[e] || [], h = l[0] === w && l[1], p = l[0] === w && l[2], f = h && m.childNodes[\n                                        h];\n                                    while (f = ++h && f && f[g] || (p = h = 0) || d.pop())\n                                        if (1 === f.nodeType && ++p && f === t) {\n                                            c[e] = [w, h, p];\n                                            break\n                                        }\n                                } else if (x && (l = (t[y] || (t[y] = {}))[e]) && l[0] === w) p = l[1];\n                                else\n                                    while (f = ++h && f && f[g] || (p = h = 0) || d.pop())\n                                        if ((a ? f.nodeName.toLowerCase() === v : 1 === f.nodeType) && ++p && (x && ((f[y] || (f[y] = {}))[e] = [\n                                            w, p\n                                        ]), f === t)) break;\n                                return p -= i, p === r || 0 === p % r && p / r >= 0\n                            }\n                        }\n                    },\n                    PSEUDO: function(e, t) {\n                        var n, i = r.pseudos[e] || r.setFilters[e.toLowerCase()] || ut.error(\"unsupported pseudo: \" + e);\n                        return i[y] ? i(t) : i.length > 1 ? (n = [e, e, \"\", t], r.setFilters.hasOwnProperty(e.toLowerCase()) ? st(\n                            function(e, n) {\n                                var r, o = i(e, t),\n                                    s = o.length;\n                                while (s--) r = F.call(e, o[s]), e[r] = !(n[r] = o[s])\n                            }) : function(e) {\n                            return i(e, 0, n)\n                        }) : i\n                    }\n                },\n                pseudos: {\n                    not: st(function(e) {\n                        var t = [],\n                            n = [],\n                            r = s(e.replace(I, \"$1\"));\n                        return r[y] ? st(function(e, t, n, i) {\n                            var o, s = r(e, null, i, []),\n                                a = e.length;\n                            while (a--)(o = s[a]) && (e[a] = !(t[a] = o))\n                        }) : function(e, i, o) {\n                            return t[0] = e, r(t, null, o, n), !n.pop()\n                        }\n                    }),\n                    has: st(function(e) {\n                        return function(t) {\n                            return ut(e, t).length > 0\n                        }\n                    }),\n                    contains: st(function(e) {\n                        return function(t) {\n                            return (t.textContent || t.innerText || i(t)).indexOf(e) > -1\n                        }\n                    }),\n                    lang: st(function(e) {\n                        return V.test(e || \"\") || ut.error(\"unsupported lang: \" + e), e = e.replace(tt, nt).toLowerCase(),\n                            function(t) {\n                                var n;\n                                do\n                                    if (n = p ? t.lang : t.getAttribute(\"xml:lang\") || t.getAttribute(\"lang\")) return n = n.toLowerCase(), n ===\n                                    e || 0 === n.indexOf(e + \"-\"); while ((t = t.parentNode) && 1 === t.nodeType);\n                                return !1\n                            }\n                    }),\n                    target: function(t) {\n                        var n = e.location && e.location.hash;\n                        return n && n.slice(1) === t.id\n                    },\n                    root: function(e) {\n                        return e === f\n                    },\n                    focus: function(e) {\n                        return e === c.activeElement && (!c.hasFocus || c.hasFocus()) && !!(e.type || e.href || ~e.tabIndex)\n                    },\n                    enabled: function(e) {\n                        return e.disabled === !1\n                    },\n                    disabled: function(e) {\n                        return e.disabled === !0\n                    },\n                    checked: function(e) {\n                        var t = e.nodeName.toLowerCase();\n                        return \"input\" === t && !!e.checked || \"option\" === t && !!e.selected\n                    },\n                    selected: function(e) {\n                        return e.parentNode && e.parentNode.selectedIndex, e.selected === !0\n                    },\n                    empty: function(e) {\n                        for (e = e.firstChild; e; e = e.nextSibling)\n                            if (e.nodeName > \"@\" || 3 === e.nodeType || 4 === e.nodeType) return !1;\n                        return !0\n                    },\n                    parent: function(e) {\n                        return !r.pseudos.empty(e)\n                    },\n                    header: function(e) {\n                        return Z.test(e.nodeName)\n                    },\n                    input: function(e) {\n                        return K.test(e.nodeName)\n                    },\n                    button: function(e) {\n                        var t = e.nodeName.toLowerCase();\n                        return \"input\" === t && \"button\" === e.type || \"button\" === t\n                    },\n                    text: function(e) {\n                        var t;\n                        return \"input\" === e.nodeName.toLowerCase() && \"text\" === e.type && (null == (t = e.getAttribute(\"type\")) || t\n                            .toLowerCase() === e.type)\n                    },\n                    first: dt(function() {\n                        return [0]\n                    }),\n                    last: dt(function(e, t) {\n                        return [t - 1]\n                    }),\n                    eq: dt(function(e, t, n) {\n                        return [0 > n ? n + t : n]\n                    }),\n                    even: dt(function(e, t) {\n                        var n = 0;\n                        for (; t > n; n += 2) e.push(n);\n                        return e\n                    }),\n                    odd: dt(function(e, t) {\n                        var n = 1;\n                        for (; t > n; n += 2) e.push(n);\n                        return e\n                    }),\n                    lt: dt(function(e, t, n) {\n                        var r = 0 > n ? n + t : n;\n                        for (; --r >= 0;) e.push(r);\n                        return e\n                    }),\n                    gt: dt(function(e, t, n) {\n                        var r = 0 > n ? n + t : n;\n                        for (; t > ++r;) e.push(r);\n                        return e\n                    })\n                }\n            };\n            for (t in {\n                radio: !0,\n                checkbox: !0,\n                file: !0,\n                password: !0,\n                image: !0\n            }) r.pseudos[t] = pt(t);\n            for (t in {\n                submit: !0,\n                reset: !0\n            }) r.pseudos[t] = ht(t);\n\n            function gt(e, t) {\n                var n, i, o, s, a, u, l, c = k[e + \" \"];\n                if (c) return t ? 0 : c.slice(0);\n                a = e, u = [], l = r.preFilter;\n                while (a) {\n                    (!n || (i = z.exec(a))) && (i && (a = a.slice(i[0].length) || a), u.push(o = [])), n = !1, (i = _.exec(a)) && (n =\n                        i.shift(), o.push({\n                        value: n,\n                        type: i[0].replace(I, \" \")\n                    }), a = a.slice(n.length));\n                    for (s in r.filter) !(i = G[s].exec(a)) || l[s] && !(i = l[s](i)) || (n = i.shift(), o.push({\n                        value: n,\n                        type: s,\n                        matches: i\n                    }), a = a.slice(n.length));\n                    if (!n) break\n                }\n                return t ? a.length : a ? ut.error(e) : k(e, u).slice(0)\n            }\n\n            function mt(e) {\n                var t = 0,\n                    n = e.length,\n                    r = \"\";\n                for (; n > t; t++) r += e[t].value;\n                return r\n            }\n\n            function yt(e, t, r) {\n                var i = t.dir,\n                    o = r && \"parentNode\" === i,\n                    s = T++;\n                return t.first ? function(t, n, r) {\n                    while (t = t[i])\n                        if (1 === t.nodeType || o) return e(t, n, r)\n                } : function(t, r, a) {\n                    var u, l, c, f = w + \" \" + s;\n                    if (a) {\n                        while (t = t[i])\n                            if ((1 === t.nodeType || o) && e(t, r, a)) return !0\n                    } else\n                        while (t = t[i])\n                            if (1 === t.nodeType || o)\n                                if (c = t[y] || (t[y] = {}), (l = c[i]) && l[0] === f) {\n                                    if ((u = l[1]) === !0 || u === n) return u === !0\n                                } else if (l = c[i] = [f], l[1] = e(t, r, a) || n, l[1] === !0) return !0\n                }\n            }\n\n            function vt(e) {\n                return e.length > 1 ? function(t, n, r) {\n                    var i = e.length;\n                    while (i--)\n                        if (!e[i](t, n, r)) return !1;\n                    return !0\n                } : e[0]\n            }\n\n            function xt(e, t, n, r, i) {\n                var o, s = [],\n                    a = 0,\n                    u = e.length,\n                    l = null != t;\n                for (; u > a; a++)(o = e[a]) && (!n || n(o, r, i)) && (s.push(o), l && t.push(a));\n                return s\n            }\n\n            function bt(e, t, n, r, i, o) {\n                return r && !r[y] && (r = bt(r)), i && !i[y] && (i = bt(i, o)), st(function(o, s, a, u) {\n                    var l, c, f, p = [],\n                        h = [],\n                        d = s.length,\n                        g = o || Ct(t || \"*\", a.nodeType ? [a] : a, []),\n                        m = !e || !o && t ? g : xt(g, p, e, a, u),\n                        y = n ? i || (o ? e : d || r) ? [] : s : m;\n                    if (n && n(m, y, a, u), r) {\n                        l = xt(y, h), r(l, [], a, u), c = l.length;\n                        while (c--)(f = l[c]) && (y[h[c]] = !(m[h[c]] = f))\n                    }\n                    if (o) {\n                        if (i || e) {\n                            if (i) {\n                                l = [], c = y.length;\n                                while (c--)(f = y[c]) && l.push(m[c] = f);\n                                i(null, y = [], l, u)\n                            }\n                            c = y.length;\n                            while (c--)(f = y[c]) && (l = i ? F.call(o, f) : p[c]) > -1 && (o[l] = !(s[l] = f))\n                        }\n                    } else y = xt(y === s ? y.splice(d, y.length) : y), i ? i(null, s, y, u) : H.apply(s, y)\n                })\n            }\n\n            function wt(e) {\n                var t, n, i, o = e.length,\n                    s = r.relative[e[0].type],\n                    u = s || r.relative[\" \"],\n                    l = s ? 1 : 0,\n                    c = yt(function(e) {\n                        return e === t\n                    }, u, !0),\n                    f = yt(function(e) {\n                        return F.call(t, e) > -1\n                    }, u, !0),\n                    p = [function(e, n, r) {\n                        return !s && (r || n !== a) || ((t = n).nodeType ? c(e, n, r) : f(e, n, r))\n                    }];\n                for (; o > l; l++)\n                    if (n = r.relative[e[l].type]) p = [yt(vt(p), n)];\n                    else {\n                        if (n = r.filter[e[l].type].apply(null, e[l].matches), n[y]) {\n                            for (i = ++l; o > i; i++)\n                                if (r.relative[e[i].type]) break;\n                            return bt(l > 1 && vt(p), l > 1 && mt(e.slice(0, l - 1)).replace(I, \"$1\"), n, i > l && wt(e.slice(l, i)), o > i &&\n                                wt(e = e.slice(i)), o > i && mt(e))\n                        }\n                        p.push(n)\n                    } return vt(p)\n            }\n\n            function Tt(e, t) {\n                var i = 0,\n                    o = t.length > 0,\n                    s = e.length > 0,\n                    u = function(u, l, f, p, h) {\n                        var d, g, m, y = [],\n                            v = 0,\n                            x = \"0\",\n                            b = u && [],\n                            T = null != h,\n                            C = a,\n                            k = u || s && r.find.TAG(\"*\", h && l.parentNode || l),\n                            N = w += null == C ? 1 : Math.random() || .1;\n                        for (T && (a = l !== c && l, n = i); null != (d = k[x]); x++) {\n                            if (s && d) {\n                                g = 0;\n                                while (m = e[g++])\n                                    if (m(d, l, f)) {\n                                        p.push(d);\n                                        break\n                                    } T && (w = N, n = ++i)\n                            }\n                            o && ((d = !m && d) && v--, u && b.push(d))\n                        }\n                        if (v += x, o && x !== v) {\n                            g = 0;\n                            while (m = t[g++]) m(b, y, l, f);\n                            if (u) {\n                                if (v > 0)\n                                    while (x--) b[x] || y[x] || (y[x] = L.call(p));\n                                y = xt(y)\n                            }\n                            H.apply(p, y), T && !u && y.length > 0 && v + t.length > 1 && ut.uniqueSort(p)\n                        }\n                        return T && (w = N, a = C), b\n                    };\n                return o ? st(u) : u\n            }\n            s = ut.compile = function(e, t) {\n                var n, r = [],\n                    i = [],\n                    o = N[e + \" \"];\n                if (!o) {\n                    t || (t = gt(e)), n = t.length;\n                    while (n--) o = wt(t[n]), o[y] ? r.push(o) : i.push(o);\n                    o = N(e, Tt(i, r))\n                }\n                return o\n            };\n\n            function Ct(e, t, n) {\n                var r = 0,\n                    i = t.length;\n                for (; i > r; r++) ut(e, t[r], n);\n                return n\n            }\n\n            function kt(e, t, n, i) {\n                var o, a, u, l, c, f = gt(e);\n                if (!i && 1 === f.length) {\n                    if (a = f[0] = f[0].slice(0), a.length > 2 && \"ID\" === (u = a[0]).type && 9 === t.nodeType && p && r.relative[a[1]\n                        .type]) {\n                        if (t = (r.find.ID(u.matches[0].replace(tt, nt), t) || [])[0], !t) return n;\n                        e = e.slice(a.shift().value.length)\n                    }\n                    o = G.needsContext.test(e) ? 0 : a.length;\n                    while (o--) {\n                        if (u = a[o], r.relative[l = u.type]) break;\n                        if ((c = r.find[l]) && (i = c(u.matches[0].replace(tt, nt), X.test(a[0].type) && t.parentNode || t))) {\n                            if (a.splice(o, 1), e = i.length && mt(a), !e) return H.apply(n, i), n;\n                            break\n                        }\n                    }\n                }\n                return s(e, f)(i, t, !p, n, X.test(e)), n\n            }\n            r.pseudos.nth = r.pseudos.eq;\n\n            function Nt() {}\n            Nt.prototype = r.filters = r.pseudos, r.setFilters = new Nt, b.sortStable = y.split(\"\").sort(S).join(\"\") === y, l(),\n                [0, 0].sort(S), b.detectDuplicates = E, at(function(e) {\n                if (e.innerHTML = \"<a href='#'></a>\", \"#\" !== e.firstChild.getAttribute(\"href\")) {\n                    var t = \"type|href|height|width\".split(\"|\"),\n                        n = t.length;\n                    while (n--) r.attrHandle[t[n]] = ft\n                }\n            }), at(function(e) {\n                if (null != e.getAttribute(\"disabled\")) {\n                    var t = P.split(\"|\"),\n                        n = t.length;\n                    while (n--) r.attrHandle[t[n]] = ct\n                }\n            }), x.find = ut, x.expr = ut.selectors, x.expr[\":\"] = x.expr.pseudos, x.unique = ut.uniqueSort, x.text = ut.getText,\n                x.isXMLDoc = ut.isXML, x.contains = ut.contains\n        }(e);\n    var D = {};\n\n    function A(e) {\n        var t = D[e] = {};\n        return x.each(e.match(w) || [], function(e, n) {\n            t[n] = !0\n        }), t\n    }\n    x.Callbacks = function(e) {\n        e = \"string\" == typeof e ? D[e] || A(e) : x.extend({}, e);\n        var t, n, r, i, o, s, a = [],\n            u = !e.once && [],\n            l = function(f) {\n                for (t = e.memory && f, n = !0, s = i || 0, i = 0, o = a.length, r = !0; a && o > s; s++)\n                    if (a[s].apply(f[0], f[1]) === !1 && e.stopOnFalse) {\n                        t = !1;\n                        break\n                    } r = !1, a && (u ? u.length && l(u.shift()) : t ? a = [] : c.disable())\n            },\n            c = {\n                add: function() {\n                    if (a) {\n                        var n = a.length;\n                        (function s(t) {\n                            x.each(t, function(t, n) {\n                                var r = x.type(n);\n                                \"function\" === r ? e.unique && c.has(n) || a.push(n) : n && n.length && \"string\" !== r && s(n)\n                            })\n                        })(arguments), r ? o = a.length : t && (i = n, l(t))\n                    }\n                    return this\n                },\n                remove: function() {\n                    return a && x.each(arguments, function(e, t) {\n                        var n;\n                        while ((n = x.inArray(t, a, n)) > -1) a.splice(n, 1), r && (o >= n && o--, s >= n && s--)\n                    }), this\n                },\n                has: function(e) {\n                    return e ? x.inArray(e, a) > -1 : !(!a || !a.length)\n                },\n                empty: function() {\n                    return a = [], o = 0, this\n                },\n                disable: function() {\n                    return a = u = t = undefined, this\n                },\n                disabled: function() {\n                    return !a\n                },\n                lock: function() {\n                    return u = undefined, t || c.disable(), this\n                },\n                locked: function() {\n                    return !u\n                },\n                fireWith: function(e, t) {\n                    return t = t || [], t = [e, t.slice ? t.slice() : t], !a || n && !u || (r ? u.push(t) : l(t)), this\n                },\n                fire: function() {\n                    return c.fireWith(this, arguments), this\n                },\n                fired: function() {\n                    return !!n\n                }\n            };\n        return c\n    }, x.extend({\n        Deferred: function(e) {\n            var t = [\n                    [\"resolve\", \"done\", x.Callbacks(\"once memory\"), \"resolved\"],\n                    [\"reject\", \"fail\", x.Callbacks(\"once memory\"), \"rejected\"],\n                    [\"notify\", \"progress\", x.Callbacks(\"memory\")]\n                ],\n                n = \"pending\",\n                r = {\n                    state: function() {\n                        return n\n                    },\n                    always: function() {\n                        return i.done(arguments).fail(arguments), this\n                    },\n                    then: function() {\n                        var e = arguments;\n                        return x.Deferred(function(n) {\n                            x.each(t, function(t, o) {\n                                var s = o[0],\n                                    a = x.isFunction(e[t]) && e[t];\n                                i[o[1]](function() {\n                                    var e = a && a.apply(this, arguments);\n                                    e && x.isFunction(e.promise) ? e.promise().done(n.resolve).fail(n.reject).progress(n.notify) : n[s +\n                                    \"With\"](this === r ? n.promise() : this, a ? [e] : arguments)\n                                })\n                            }), e = null\n                        }).promise()\n                    },\n                    promise: function(e) {\n                        return null != e ? x.extend(e, r) : r\n                    }\n                },\n                i = {};\n            return r.pipe = r.then, x.each(t, function(e, o) {\n                var s = o[2],\n                    a = o[3];\n                r[o[1]] = s.add, a && s.add(function() {\n                    n = a\n                }, t[1 ^ e][2].disable, t[2][2].lock), i[o[0]] = function() {\n                    return i[o[0] + \"With\"](this === i ? r : this, arguments), this\n                }, i[o[0] + \"With\"] = s.fireWith\n            }), r.promise(i), e && e.call(i, i), i\n        },\n        when: function(e) {\n            var t = 0,\n                n = d.call(arguments),\n                r = n.length,\n                i = 1 !== r || e && x.isFunction(e.promise) ? r : 0,\n                o = 1 === i ? e : x.Deferred(),\n                s = function(e, t, n) {\n                    return function(r) {\n                        t[e] = this, n[e] = arguments.length > 1 ? d.call(arguments) : r, n === a ? o.notifyWith(t, n) : --i || o.resolveWith(\n                            t, n)\n                    }\n                },\n                a, u, l;\n            if (r > 1)\n                for (a = Array(r), u = Array(r), l = Array(r); r > t; t++) n[t] && x.isFunction(n[t].promise) ? n[t].promise().done(\n                    s(t, l, n)).fail(o.reject).progress(s(t, u, a)) : --i;\n            return i || o.resolveWith(l, n), o.promise()\n        }\n    }), x.support = function(t) {\n        var n = o.createElement(\"input\"),\n            r = o.createDocumentFragment(),\n            i = o.createElement(\"div\"),\n            s = o.createElement(\"select\"),\n            a = s.appendChild(o.createElement(\"option\"));\n        return n.type ? (n.type = \"checkbox\", t.checkOn = \"\" !== n.value, t.optSelected = a.selected, t.reliableMarginRight = !\n            0, t.boxSizingReliable = !0, t.pixelPosition = !1, n.checked = !0, t.noCloneChecked = n.cloneNode(!0).checked, s.disabled = !\n            0, t.optDisabled = !a.disabled, n = o.createElement(\"input\"), n.value = \"t\", n.type = \"radio\", t.radioValue = \"t\" ===\n            n.value, n.setAttribute(\"checked\", \"t\"), n.setAttribute(\"name\", \"t\"), r.appendChild(n), t.checkClone = r.cloneNode(\n            !0).cloneNode(!0).lastChild.checked, t.focusinBubbles = \"onfocusin\" in e, i.style.backgroundClip = \"content-box\",\n            i.cloneNode(!0).style.backgroundClip = \"\", t.clearCloneStyle = \"content-box\" === i.style.backgroundClip, x(\n            function() {\n                var n, r, s =\n                        \"padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box\",\n                    a = o.getElementsByTagName(\"body\")[0];\n                a && (n = o.createElement(\"div\"), n.style.cssText =\n                    \"border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px\", a.appendChild(n).appendChild(\n                    i), i.innerHTML = \"\", i.style.cssText =\n                    \"-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%\",\n                    x.swap(a, null != a.style.zoom ? {\n                        zoom: 1\n                    } : {}, function() {\n                        t.boxSizing = 4 === i.offsetWidth\n                    }), e.getComputedStyle && (t.pixelPosition = \"1%\" !== (e.getComputedStyle(i, null) || {}).top, t.boxSizingReliable =\n                    \"4px\" === (e.getComputedStyle(i, null) || {\n                        width: \"4px\"\n                    }).width, r = i.appendChild(o.createElement(\"div\")), r.style.cssText = i.style.cssText = s, r.style.marginRight =\n                    r.style.width = \"0\", i.style.width = \"1px\", t.reliableMarginRight = !parseFloat((e.getComputedStyle(r, null) ||\n                    {}).marginRight)), a.removeChild(n))\n            }), t) : t\n    }({});\n    var L, q, H = /(?:\\{[\\s\\S]*\\}|\\[[\\s\\S]*\\])$/,\n        O = /([A-Z])/g;\n\n    function F() {\n        Object.defineProperty(this.cache = {}, 0, {\n            get: function() {\n                return {}\n            }\n        }), this.expando = x.expando + Math.random()\n    }\n    F.uid = 1, F.accepts = function(e) {\n        return e.nodeType ? 1 === e.nodeType || 9 === e.nodeType : !0\n    }, F.prototype = {\n        key: function(e) {\n            if (!F.accepts(e)) return 0;\n            var t = {},\n                n = e[this.expando];\n            if (!n) {\n                n = F.uid++;\n                try {\n                    t[this.expando] = {\n                        value: n\n                    }, Object.defineProperties(e, t)\n                } catch (r) {\n                    t[this.expando] = n, x.extend(e, t)\n                }\n            }\n            return this.cache[n] || (this.cache[n] = {}), n\n        },\n        set: function(e, t, n) {\n            var r, i = this.key(e),\n                o = this.cache[i];\n            if (\"string\" == typeof t) o[t] = n;\n            else if (x.isEmptyObject(o)) this.cache[i] = t;\n            else\n                for (r in t) o[r] = t[r]\n        },\n        get: function(e, t) {\n            var n = this.cache[this.key(e)];\n            return t === undefined ? n : n[t]\n        },\n        access: function(e, t, n) {\n            return t === undefined || t && \"string\" == typeof t && n === undefined ? this.get(e, t) : (this.set(e, t, n), n !==\n            undefined ? n : t)\n        },\n        remove: function(e, t) {\n            var n, r, i = this.key(e),\n                o = this.cache[i];\n            if (t === undefined) this.cache[i] = {};\n            else {\n                x.isArray(t) ? r = t.concat(t.map(x.camelCase)) : t in o ? r = [t] : (r = x.camelCase(t), r = r in o ? [r] : r.match(\n                    w) || []), n = r.length;\n                while (n--) delete o[r[n]]\n            }\n        },\n        hasData: function(e) {\n            return !x.isEmptyObject(this.cache[e[this.expando]] || {})\n        },\n        discard: function(e) {\n            delete this.cache[this.key(e)]\n        }\n    }, L = new F, q = new F, x.extend({\n        acceptData: F.accepts,\n        hasData: function(e) {\n            return L.hasData(e) || q.hasData(e)\n        },\n        data: function(e, t, n) {\n            return L.access(e, t, n)\n        },\n        removeData: function(e, t) {\n            L.remove(e, t)\n        },\n        _data: function(e, t, n) {\n            return q.access(e, t, n)\n        },\n        _removeData: function(e, t) {\n            q.remove(e, t)\n        }\n    }), x.fn.extend({\n        data: function(e, t) {\n            var n, r, i = this[0],\n                o = 0,\n                s = null;\n            if (e === undefined) {\n                if (this.length && (s = L.get(i), 1 === i.nodeType && !q.get(i, \"hasDataAttrs\"))) {\n                    for (n = i.attributes; n.length > o; o++) r = n[o].name, 0 === r.indexOf(\"data-\") && (r = x.camelCase(r.substring(\n                        5)), P(i, r, s[r]));\n                    q.set(i, \"hasDataAttrs\", !0)\n                }\n                return s\n            }\n            return \"object\" == typeof e ? this.each(function() {\n                L.set(this, e)\n            }) : x.access(this, function(t) {\n                var n, r = x.camelCase(e);\n                if (i && t === undefined) {\n                    if (n = L.get(i, e), n !== undefined) return n;\n                    if (n = L.get(i, r), n !== undefined) return n;\n                    if (n = P(i, r, undefined), n !== undefined) return n\n                } else this.each(function() {\n                    var n = L.get(this, r);\n                    L.set(this, r, t), -1 !== e.indexOf(\"-\") && n !== undefined && L.set(this, e, t)\n                })\n            }, null, t, arguments.length > 1, null, !0)\n        },\n        removeData: function(e) {\n            return this.each(function() {\n                L.remove(this, e)\n            })\n        }\n    });\n\n    function P(e, t, n) {\n        var r;\n        if (n === undefined && 1 === e.nodeType)\n            if (r = \"data-\" + t.replace(O, \"-$1\").toLowerCase(), n = e.getAttribute(r), \"string\" == typeof n) {\n                try {\n                    n = \"true\" === n ? !0 : \"false\" === n ? !1 : \"null\" === n ? null : +n + \"\" === n ? +n : H.test(n) ? JSON.parse(n) :\n                        n\n                } catch (i) {}\n                L.set(e, t, n)\n            } else n = undefined;\n        return n\n    }\n    x.extend({\n        queue: function(e, t, n) {\n            var r;\n            return e ? (t = (t || \"fx\") + \"queue\", r = q.get(e, t), n && (!r || x.isArray(n) ? r = q.access(e, t, x.makeArray(\n                n)) : r.push(n)), r || []) : undefined\n        },\n        dequeue: function(e, t) {\n            t = t || \"fx\";\n            var n = x.queue(e, t),\n                r = n.length,\n                i = n.shift(),\n                o = x._queueHooks(e, t),\n                s = function() {\n                    x.dequeue(e, t)\n                };\n            \"inprogress\" === i && (i = n.shift(), r--), o.cur = i, i && (\"fx\" === t && n.unshift(\"inprogress\"), delete o.stop,\n                i.call(e, s, o)), !r && o && o.empty.fire()\n        },\n        _queueHooks: function(e, t) {\n            var n = t + \"queueHooks\";\n            return q.get(e, n) || q.access(e, n, {\n                empty: x.Callbacks(\"once memory\").add(function() {\n                    q.remove(e, [t + \"queue\", n])\n                })\n            })\n        }\n    }), x.fn.extend({\n        queue: function(e, t) {\n            var n = 2;\n            return \"string\" != typeof e && (t = e, e = \"fx\", n--), n > arguments.length ? x.queue(this[0], e) : t ===\n            undefined ? this : this.each(function() {\n                var n = x.queue(this, e, t);\n                x._queueHooks(this, e), \"fx\" === e && \"inprogress\" !== n[0] && x.dequeue(this, e)\n            })\n        },\n        dequeue: function(e) {\n            return this.each(function() {\n                x.dequeue(this, e)\n            })\n        },\n        delay: function(e, t) {\n            return e = x.fx ? x.fx.speeds[e] || e : e, t = t || \"fx\", this.queue(t, function(t, n) {\n                var r = setTimeout(t, e);\n                n.stop = function() {\n                    clearTimeout(r)\n                }\n            })\n        },\n        clearQueue: function(e) {\n            return this.queue(e || \"fx\", [])\n        },\n        promise: function(e, t) {\n            var n, r = 1,\n                i = x.Deferred(),\n                o = this,\n                s = this.length,\n                a = function() {\n                    --r || i.resolveWith(o, [o])\n                };\n            \"string\" != typeof e && (t = e, e = undefined), e = e || \"fx\";\n            while (s--) n = q.get(o[s], e + \"queueHooks\"), n && n.empty && (r++, n.empty.add(a));\n            return a(), i.promise(t)\n        }\n    });\n    var R, M, W = /[\\t\\r\\n]/g,\n        $ = /\\r/g,\n        B = /^(?:input|select|textarea|button)$/i;\n    x.fn.extend({\n        attr: function(e, t) {\n            return x.access(this, x.attr, e, t, arguments.length > 1)\n        },\n        removeAttr: function(e) {\n            return this.each(function() {\n                x.removeAttr(this, e)\n            })\n        },\n        prop: function(e, t) {\n            return x.access(this, x.prop, e, t, arguments.length > 1)\n        },\n        removeProp: function(e) {\n            return this.each(function() {\n                delete this[x.propFix[e] || e]\n            })\n        },\n        addClass: function(e) {\n            var t, n, r, i, o, s = 0,\n                a = this.length,\n                u = \"string\" == typeof e && e;\n            if (x.isFunction(e)) return this.each(function(t) {\n                x(this).addClass(e.call(this, t, this.className))\n            });\n            if (u)\n                for (t = (e || \"\").match(w) || []; a > s; s++)\n                    if (n = this[s], r = 1 === n.nodeType && (n.className ? (\" \" + n.className + \" \").replace(W, \" \") : \" \")) {\n                        o = 0;\n                        while (i = t[o++]) 0 > r.indexOf(\" \" + i + \" \") && (r += i + \" \");\n                        n.className = x.trim(r)\n                    } return this\n        },\n        removeClass: function(e) {\n            var t, n, r, i, o, s = 0,\n                a = this.length,\n                u = 0 === arguments.length || \"string\" == typeof e && e;\n            if (x.isFunction(e)) return this.each(function(t) {\n                x(this).removeClass(e.call(this, t, this.className))\n            });\n            if (u)\n                for (t = (e || \"\").match(w) || []; a > s; s++)\n                    if (n = this[s], r = 1 === n.nodeType && (n.className ? (\" \" + n.className + \" \").replace(W, \" \") : \"\")) {\n                        o = 0;\n                        while (i = t[o++])\n                            while (r.indexOf(\" \" + i + \" \") >= 0) r = r.replace(\" \" + i + \" \", \" \");\n                        n.className = e ? x.trim(r) : \"\"\n                    } return this\n        },\n        toggleClass: function(e, t) {\n            var n = typeof e,\n                i = \"boolean\" == typeof t;\n            return x.isFunction(e) ? this.each(function(n) {\n                x(this).toggleClass(e.call(this, n, this.className, t), t)\n            }) : this.each(function() {\n                if (\"string\" === n) {\n                    var o, s = 0,\n                        a = x(this),\n                        u = t,\n                        l = e.match(w) || [];\n                    while (o = l[s++]) u = i ? u : !a.hasClass(o), a[u ? \"addClass\" : \"removeClass\"](o)\n                } else(n === r || \"boolean\" === n) && (this.className && q.set(this, \"__className__\", this.className), this.className =\n                    this.className || e === !1 ? \"\" : q.get(this, \"__className__\") || \"\")\n            })\n        },\n        hasClass: function(e) {\n            var t = \" \" + e + \" \",\n                n = 0,\n                r = this.length;\n            for (; r > n; n++)\n                if (1 === this[n].nodeType && (\" \" + this[n].className + \" \").replace(W, \" \").indexOf(t) >= 0) return !0;\n            return !1\n        },\n        val: function(e) {\n            var t, n, r, i = this[0]; {\n                if (arguments.length) return r = x.isFunction(e), this.each(function(n) {\n                    var i, o = x(this);\n                    1 === this.nodeType && (i = r ? e.call(this, n, o.val()) : e, null == i ? i = \"\" : \"number\" == typeof i ? i +=\n                        \"\" : x.isArray(i) && (i = x.map(i, function(e) {\n                        return null == e ? \"\" : e + \"\"\n                    })), t = x.valHooks[this.type] || x.valHooks[this.nodeName.toLowerCase()], t && \"set\" in t && t.set(this,\n                        i, \"value\") !== undefined || (this.value = i))\n                });\n                if (i) return t = x.valHooks[i.type] || x.valHooks[i.nodeName.toLowerCase()], t && \"get\" in t && (n = t.get(i,\n                    \"value\")) !== undefined ? n : (n = i.value, \"string\" == typeof n ? n.replace($, \"\") : null == n ? \"\" : n)\n            }\n        }\n    }), x.extend({\n        valHooks: {\n            option: {\n                get: function(e) {\n                    var t = e.attributes.value;\n                    return !t || t.specified ? e.value : e.text\n                }\n            },\n            select: {\n                get: function(e) {\n                    var t, n, r = e.options,\n                        i = e.selectedIndex,\n                        o = \"select-one\" === e.type || 0 > i,\n                        s = o ? null : [],\n                        a = o ? i + 1 : r.length,\n                        u = 0 > i ? a : o ? i : 0;\n                    for (; a > u; u++)\n                        if (n = r[u], !(!n.selected && u !== i || (x.support.optDisabled ? n.disabled : null !== n.getAttribute(\n                            \"disabled\")) || n.parentNode.disabled && x.nodeName(n.parentNode, \"optgroup\"))) {\n                            if (t = x(n).val(), o) return t;\n                            s.push(t)\n                        } return s\n                },\n                set: function(e, t) {\n                    var n, r, i = e.options,\n                        o = x.makeArray(t),\n                        s = i.length;\n                    while (s--) r = i[s], (r.selected = x.inArray(x(r).val(), o) >= 0) && (n = !0);\n                    return n || (e.selectedIndex = -1), o\n                }\n            }\n        },\n        attr: function(e, t, n) {\n            var i, o, s = e.nodeType;\n            if (e && 3 !== s && 8 !== s && 2 !== s) return typeof e.getAttribute === r ? x.prop(e, t, n) : (1 === s && x.isXMLDoc(\n                e) || (t = t.toLowerCase(), i = x.attrHooks[t] || (x.expr.match.boolean.test(t) ? M : R)), n === undefined ?\n                i && \"get\" in i && null !== (o = i.get(e, t)) ? o : (o = x.find.attr(e, t), null == o ? undefined : o) : null !==\n                n ? i && \"set\" in i && (o = i.set(e, n, t)) !== undefined ? o : (e.setAttribute(t, n + \"\"), n) : (x.removeAttr(\n                    e, t), undefined))\n        },\n        removeAttr: function(e, t) {\n            var n, r, i = 0,\n                o = t && t.match(w);\n            if (o && 1 === e.nodeType)\n                while (n = o[i++]) r = x.propFix[n] || n, x.expr.match.boolean.test(n) && (e[r] = !1), e.removeAttribute(n)\n        },\n        attrHooks: {\n            type: {\n                set: function(e, t) {\n                    if (!x.support.radioValue && \"radio\" === t && x.nodeName(e, \"input\")) {\n                        var n = e.value;\n                        return e.setAttribute(\"type\", t), n && (e.value = n), t\n                    }\n                }\n            }\n        },\n        propFix: {\n            \"for\": \"htmlFor\",\n            \"class\": \"className\"\n        },\n        prop: function(e, t, n) {\n            var r, i, o, s = e.nodeType;\n            if (e && 3 !== s && 8 !== s && 2 !== s) return o = 1 !== s || !x.isXMLDoc(e), o && (t = x.propFix[t] || t, i = x\n                .propHooks[t]), n !== undefined ? i && \"set\" in i && (r = i.set(e, n, t)) !== undefined ? r : e[t] = n : i &&\n            \"get\" in i && null !== (r = i.get(e, t)) ? r : e[t]\n        },\n        propHooks: {\n            tabIndex: {\n                get: function(e) {\n                    return e.hasAttribute(\"tabindex\") || B.test(e.nodeName) || e.href ? e.tabIndex : -1\n                }\n            }\n        }\n    }), M = {\n        set: function(e, t, n) {\n            return t === !1 ? x.removeAttr(e, n) : e.setAttribute(n, n), n\n        }\n    }, x.each(x.expr.match.boolean.source.match(/\\w+/g), function(e, t) {\n        var n = x.expr.attrHandle[t] || x.find.attr;\n        x.expr.attrHandle[t] = function(e, t, r) {\n            var i = x.expr.attrHandle[t],\n                o = r ? undefined : (x.expr.attrHandle[t] = undefined) != n(e, t, r) ? t.toLowerCase() : null;\n            return x.expr.attrHandle[t] = i, o\n        }\n    }), x.support.optSelected || (x.propHooks.selected = {\n        get: function(e) {\n            var t = e.parentNode;\n            return t && t.parentNode && t.parentNode.selectedIndex, null\n        }\n    }), x.each([\"tabIndex\", \"readOnly\", \"maxLength\", \"cellSpacing\", \"cellPadding\", \"rowSpan\", \"colSpan\", \"useMap\",\n        \"frameBorder\", \"contentEditable\"\n    ], function() {\n        x.propFix[this.toLowerCase()] = this\n    }), x.each([\"radio\", \"checkbox\"], function() {\n        x.valHooks[this] = {\n            set: function(e, t) {\n                return x.isArray(t) ? e.checked = x.inArray(x(e).val(), t) >= 0 : undefined\n            }\n        }, x.support.checkOn || (x.valHooks[this].get = function(e) {\n            return null === e.getAttribute(\"value\") ? \"on\" : e.value\n        })\n    });\n    var I = /^key/,\n        z = /^(?:mouse|contextmenu)|click/,\n        _ = /^(?:focusinfocus|focusoutblur)$/,\n        X = /^([^.]*)(?:\\.(.+)|)$/;\n\n    function U() {\n        return !0\n    }\n\n    function Y() {\n        return !1\n    }\n\n    function V() {\n        try {\n            return o.activeElement\n        } catch (e) {}\n    }\n    x.event = {\n        global: {},\n        add: function(e, t, n, i, o) {\n            var s, a, u, l, c, f, p, h, d, g, m, y = q.get(e);\n            if (y) {\n                n.handler && (s = n, n = s.handler, o = s.selector), n.guid || (n.guid = x.guid++), (l = y.events) || (l = y.events = {}),\n                (a = y.handle) || (a = y.handle = function(e) {\n                    return typeof x === r || e && x.event.triggered === e.type ? undefined : x.event.dispatch.apply(a.elem,\n                        arguments)\n                }, a.elem = e), t = (t || \"\").match(w) || [\"\"], c = t.length;\n                while (c--) u = X.exec(t[c]) || [], d = m = u[1], g = (u[2] || \"\").split(\".\").sort(), d && (p = x.event.special[\n                    d] || {}, d = (o ? p.delegateType : p.bindType) || d, p = x.event.special[d] || {}, f = x.extend({\n                    type: d,\n                    origType: m,\n                    data: i,\n                    handler: n,\n                    guid: n.guid,\n                    selector: o,\n                    needsContext: o && x.expr.match.needsContext.test(o),\n                    namespace: g.join(\".\")\n                }, s), (h = l[d]) || (h = l[d] = [], h.delegateCount = 0, p.setup && p.setup.call(e, i, g, a) !== !1 || e.addEventListener &&\n                e.addEventListener(d, a, !1)), p.add && (p.add.call(e, f), f.handler.guid || (f.handler.guid = n.guid)), o ?\n                    h.splice(h.delegateCount++, 0, f) : h.push(f), x.event.global[d] = !0);\n                e = null\n            }\n        },\n        remove: function(e, t, n, r, i) {\n            var o, s, a, u, l, c, f, p, h, d, g, m = q.hasData(e) && q.get(e);\n            if (m && (u = m.events)) {\n                t = (t || \"\").match(w) || [\"\"], l = t.length;\n                while (l--)\n                    if (a = X.exec(t[l]) || [], h = g = a[1], d = (a[2] || \"\").split(\".\").sort(), h) {\n                        f = x.event.special[h] || {}, h = (r ? f.delegateType : f.bindType) || h, p = u[h] || [], a = a[2] && RegExp(\n                            \"(^|\\\\.)\" + d.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\"), s = o = p.length;\n                        while (o--) c = p[o], !i && g !== c.origType || n && n.guid !== c.guid || a && !a.test(c.namespace) || r && r !==\n                        c.selector && (\"**\" !== r || !c.selector) || (p.splice(o, 1), c.selector && p.delegateCount--, f.remove && f.remove\n                            .call(e, c));\n                        s && !p.length && (f.teardown && f.teardown.call(e, d, m.handle) !== !1 || x.removeEvent(e, h, m.handle),\n                            delete u[h])\n                    } else\n                        for (h in u) x.event.remove(e, h + t[l], n, r, !0);\n                x.isEmptyObject(u) && (delete m.handle, q.remove(e, \"events\"))\n            }\n        },\n        trigger: function(t, n, r, i) {\n            var s, a, u, l, c, f, p, h = [r || o],\n                d = y.call(t, \"type\") ? t.type : t,\n                g = y.call(t, \"namespace\") ? t.namespace.split(\".\") : [];\n            if (a = u = r = r || o, 3 !== r.nodeType && 8 !== r.nodeType && !_.test(d + x.event.triggered) && (d.indexOf(\".\") >=\n            0 && (g = d.split(\".\"), d = g.shift(), g.sort()), c = 0 > d.indexOf(\":\") && \"on\" + d, t = t[x.expando] ? t :\n                new x.Event(d, \"object\" == typeof t && t), t.isTrigger = i ? 2 : 3, t.namespace = g.join(\".\"), t.namespace_re =\n                t.namespace ? RegExp(\"(^|\\\\.)\" + g.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\") : null, t.result = undefined, t.target ||\n            (t.target = r), n = null == n ? [t] : x.makeArray(n, [t]), p = x.event.special[d] || {}, i || !p.trigger || p.trigger\n                .apply(r, n) !== !1)) {\n                if (!i && !p.noBubble && !x.isWindow(r)) {\n                    for (l = p.delegateType || d, _.test(l + d) || (a = a.parentNode); a; a = a.parentNode) h.push(a), u = a;\n                    u === (r.ownerDocument || o) && h.push(u.defaultView || u.parentWindow || e)\n                }\n                s = 0;\n                while ((a = h[s++]) && !t.isPropagationStopped()) t.type = s > 1 ? l : p.bindType || d, f = (q.get(a, \"events\") ||\n                    {})[t.type] && q.get(a, \"handle\"), f && f.apply(a, n), f = c && a[c], f && x.acceptData(a) && f.apply && f.apply(\n                    a, n) === !1 && t.preventDefault();\n                return t.type = d, i || t.isDefaultPrevented() || p._default && p._default.apply(h.pop(), n) !== !1 || !x.acceptData(\n                    r) || c && x.isFunction(r[d]) && !x.isWindow(r) && (u = r[c], u && (r[c] = null), x.event.triggered = d, r[d](),\n                    x.event.triggered = undefined, u && (r[c] = u)), t.result\n            }\n        },\n        dispatch: function(e) {\n            e = x.event.fix(e);\n            var t, n, r, i, o, s = [],\n                a = d.call(arguments),\n                u = (q.get(this, \"events\") || {})[e.type] || [],\n                l = x.event.special[e.type] || {};\n            if (a[0] = e, e.delegateTarget = this, !l.preDispatch || l.preDispatch.call(this, e) !== !1) {\n                s = x.event.handlers.call(this, e, u), t = 0;\n                while ((i = s[t++]) && !e.isPropagationStopped()) {\n                    e.currentTarget = i.elem, n = 0;\n                    while ((o = i.handlers[n++]) && !e.isImmediatePropagationStopped())(!e.namespace_re || e.namespace_re.test(o.namespace)) &&\n                    (e.handleObj = o, e.data = o.data, r = ((x.event.special[o.origType] || {}).handle || o.handler).apply(i.elem,\n                        a), r !== undefined && (e.result = r) === !1 && (e.preventDefault(), e.stopPropagation()))\n                }\n                return l.postDispatch && l.postDispatch.call(this, e), e.result\n            }\n        },\n        handlers: function(e, t) {\n            var n, r, i, o, s = [],\n                a = t.delegateCount,\n                u = e.target;\n            if (a && u.nodeType && (!e.button || \"click\" !== e.type))\n                for (; u !== this; u = u.parentNode || this)\n                    if (u.disabled !== !0 || \"click\" !== e.type) {\n                        for (r = [], n = 0; a > n; n++) o = t[n], i = o.selector + \" \", r[i] === undefined && (r[i] = o.needsContext ?\n                            x(i, this).index(u) >= 0 : x.find(i, this, null, [u]).length), r[i] && r.push(o);\n                        r.length && s.push({\n                            elem: u,\n                            handlers: r\n                        })\n                    } return t.length > a && s.push({\n                elem: this,\n                handlers: t.slice(a)\n            }), s\n        },\n        props: \"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which\"\n            .split(\" \"),\n        fixHooks: {},\n        keyHooks: {\n            props: \"char charCode key keyCode\".split(\" \"),\n            filter: function(e, t) {\n                return null == e.which && (e.which = null != t.charCode ? t.charCode : t.keyCode), e\n            }\n        },\n        mouseHooks: {\n            props: \"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement\".split(\" \"),\n            filter: function(e, t) {\n                var n, r, i, s = t.button;\n                return null == e.pageX && null != t.clientX && (n = e.target.ownerDocument || o, r = n.documentElement, i = n.body,\n                    e.pageX = t.clientX + (r && r.scrollLeft || i && i.scrollLeft || 0) - (r && r.clientLeft || i && i.clientLeft ||\n                        0), e.pageY = t.clientY + (r && r.scrollTop || i && i.scrollTop || 0) - (r && r.clientTop || i && i.clientTop ||\n                    0)), e.which || s === undefined || (e.which = 1 & s ? 1 : 2 & s ? 3 : 4 & s ? 2 : 0), e\n            }\n        },\n        fix: function(e) {\n            if (e[x.expando]) return e;\n            var t, n, r, i = e.type,\n                o = e,\n                s = this.fixHooks[i];\n            s || (this.fixHooks[i] = s = z.test(i) ? this.mouseHooks : I.test(i) ? this.keyHooks : {}), r = s.props ? this.props\n                .concat(s.props) : this.props, e = new x.Event(o), t = r.length;\n            while (t--) n = r[t], e[n] = o[n];\n            return 3 === e.target.nodeType && (e.target = e.target.parentNode), s.filter ? s.filter(e, o) : e\n        },\n        special: {\n            load: {\n                noBubble: !0\n            },\n            focus: {\n                trigger: function() {\n                    return this !== V() && this.focus ? (this.focus(), !1) : undefined\n                },\n                delegateType: \"focusin\"\n            },\n            blur: {\n                trigger: function() {\n                    return this === V() && this.blur ? (this.blur(), !1) : undefined\n                },\n                delegateType: \"focusout\"\n            },\n            click: {\n                trigger: function() {\n                    return \"checkbox\" === this.type && this.click && x.nodeName(this, \"input\") ? (this.click(), !1) : undefined\n                },\n                _default: function(e) {\n                    return x.nodeName(e.target, \"a\")\n                }\n            },\n            beforeunload: {\n                postDispatch: function(e) {\n                    e.result !== undefined && (e.originalEvent.returnValue = e.result)\n                }\n            }\n        },\n        simulate: function(e, t, n, r) {\n            var i = x.extend(new x.Event, n, {\n                type: e,\n                isSimulated: !0,\n                originalEvent: {}\n            });\n            r ? x.event.trigger(i, null, t) : x.event.dispatch.call(t, i), i.isDefaultPrevented() && n.preventDefault()\n        }\n    }, x.removeEvent = function(e, t, n) {\n        e.removeEventListener && e.removeEventListener(t, n, !1)\n    }, x.Event = function(e, t) {\n        return this instanceof x.Event ? (e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented =\n            e.defaultPrevented || e.getPreventDefault && e.getPreventDefault() ? U : Y) : this.type = e, t && x.extend(this,\n            t), this.timeStamp = e && e.timeStamp || x.now(), this[x.expando] = !0, undefined) : new x.Event(e, t)\n    }, x.Event.prototype = {\n        isDefaultPrevented: Y,\n        isPropagationStopped: Y,\n        isImmediatePropagationStopped: Y,\n        preventDefault: function() {\n            var e = this.originalEvent;\n            this.isDefaultPrevented = U, e && e.preventDefault && e.preventDefault()\n        },\n        stopPropagation: function() {\n            var e = this.originalEvent;\n            this.isPropagationStopped = U, e && e.stopPropagation && e.stopPropagation()\n        },\n        stopImmediatePropagation: function() {\n            this.isImmediatePropagationStopped = U, this.stopPropagation()\n        }\n    }, x.each({\n        mouseenter: \"mouseover\",\n        mouseleave: \"mouseout\"\n    }, function(e, t) {\n        x.event.special[e] = {\n            delegateType: t,\n            bindType: t,\n            handle: function(e) {\n                var n, r = this,\n                    i = e.relatedTarget,\n                    o = e.handleObj;\n                return (!i || i !== r && !x.contains(r, i)) && (e.type = o.origType, n = o.handler.apply(this, arguments), e.type =\n                    t), n\n            }\n        }\n    }), x.support.focusinBubbles || x.each({\n        focus: \"focusin\",\n        blur: \"focusout\"\n    }, function(e, t) {\n        var n = 0,\n            r = function(e) {\n                x.event.simulate(t, e.target, x.event.fix(e), !0)\n            };\n        x.event.special[t] = {\n            setup: function() {\n                0 === n++ && o.addEventListener(e, r, !0)\n            },\n            teardown: function() {\n                0 === --n && o.removeEventListener(e, r, !0)\n            }\n        }\n    }), x.fn.extend({\n        on: function(e, t, n, r, i) {\n            var o, s;\n            if (\"object\" == typeof e) {\n                \"string\" != typeof t && (n = n || t, t = undefined);\n                for (s in e) this.on(s, t, n, e[s], i);\n                return this\n            }\n            if (null == n && null == r ? (r = t, n = t = undefined) : null == r && (\"string\" == typeof t ? (r = n, n =\n                undefined) : (r = n, n = t, t = undefined)), r === !1) r = Y;\n            else if (!r) return this;\n            return 1 === i && (o = r, r = function(e) {\n                return x().off(e), o.apply(this, arguments)\n            }, r.guid = o.guid || (o.guid = x.guid++)), this.each(function() {\n                x.event.add(this, e, r, n, t)\n            })\n        },\n        one: function(e, t, n, r) {\n            return this.on(e, t, n, r, 1)\n        },\n        off: function(e, t, n) {\n            var r, i;\n            if (e && e.preventDefault && e.handleObj) return r = e.handleObj, x(e.delegateTarget).off(r.namespace ? r.origType +\n                \".\" + r.namespace : r.origType, r.selector, r.handler), this;\n            if (\"object\" == typeof e) {\n                for (i in e) this.off(i, t, e[i]);\n                return this\n            }\n            return (t === !1 || \"function\" == typeof t) && (n = t, t = undefined), n === !1 && (n = Y), this.each(function() {\n                x.event.remove(this, e, n, t)\n            })\n        },\n        trigger: function(e, t) {\n            return this.each(function() {\n                x.event.trigger(e, t, this)\n            })\n        },\n        triggerHandler: function(e, t) {\n            var n = this[0];\n            return n ? x.event.trigger(e, t, n, !0) : undefined\n        }\n    });\n    var G = /^.[^:#\\[\\.,]*$/,\n        J = x.expr.match.needsContext,\n        Q = {\n            children: !0,\n            contents: !0,\n            next: !0,\n            prev: !0\n        };\n    x.fn.extend({\n        find: function(e) {\n            var t, n, r, i = this.length;\n            if (\"string\" != typeof e) return t = this, this.pushStack(x(e).filter(function() {\n                for (r = 0; i > r; r++)\n                    if (x.contains(t[r], this)) return !0\n            }));\n            for (n = [], r = 0; i > r; r++) x.find(e, this[r], n);\n            return n = this.pushStack(i > 1 ? x.unique(n) : n), n.selector = (this.selector ? this.selector + \" \" : \"\") + e,\n                n\n        },\n        has: function(e) {\n            var t = x(e, this),\n                n = t.length;\n            return this.filter(function() {\n                var e = 0;\n                for (; n > e; e++)\n                    if (x.contains(this, t[e])) return !0\n            })\n        },\n        not: function(e) {\n            return this.pushStack(Z(this, e || [], !0))\n        },\n        filter: function(e) {\n            return this.pushStack(Z(this, e || [], !1))\n        },\n        is: function(e) {\n            return !!e && (\"string\" == typeof e ? J.test(e) ? x(e, this.context).index(this[0]) >= 0 : x.filter(e, this).length >\n                0 : this.filter(e).length > 0)\n        },\n        closest: function(e, t) {\n            var n, r = 0,\n                i = this.length,\n                o = [],\n                s = J.test(e) || \"string\" != typeof e ? x(e, t || this.context) : 0;\n            for (; i > r; r++)\n                for (n = this[r]; n && n !== t; n = n.parentNode)\n                    if (11 > n.nodeType && (s ? s.index(n) > -1 : 1 === n.nodeType && x.find.matchesSelector(n, e))) {\n                        n = o.push(n);\n                        break\n                    } return this.pushStack(o.length > 1 ? x.unique(o) : o)\n        },\n        index: function(e) {\n            return e ? \"string\" == typeof e ? g.call(x(e), this[0]) : g.call(this, e.jquery ? e[0] : e) : this[0] && this[0]\n                .parentNode ? this.first().prevAll().length : -1\n        },\n        add: function(e, t) {\n            var n = \"string\" == typeof e ? x(e, t) : x.makeArray(e && e.nodeType ? [e] : e),\n                r = x.merge(this.get(), n);\n            return this.pushStack(x.unique(r))\n        },\n        addBack: function(e) {\n            return this.add(null == e ? this.prevObject : this.prevObject.filter(e))\n        }\n    });\n\n    function K(e, t) {\n        while ((e = e[t]) && 1 !== e.nodeType);\n        return e\n    }\n    x.each({\n        parent: function(e) {\n            var t = e.parentNode;\n            return t && 11 !== t.nodeType ? t : null\n        },\n        parents: function(e) {\n            return x.dir(e, \"parentNode\")\n        },\n        parentsUntil: function(e, t, n) {\n            return x.dir(e, \"parentNode\", n)\n        },\n        next: function(e) {\n            return K(e, \"nextSibling\")\n        },\n        prev: function(e) {\n            return K(e, \"previousSibling\")\n        },\n        nextAll: function(e) {\n            return x.dir(e, \"nextSibling\")\n        },\n        prevAll: function(e) {\n            return x.dir(e, \"previousSibling\")\n        },\n        nextUntil: function(e, t, n) {\n            return x.dir(e, \"nextSibling\", n)\n        },\n        prevUntil: function(e, t, n) {\n            return x.dir(e, \"previousSibling\", n)\n        },\n        siblings: function(e) {\n            return x.sibling((e.parentNode || {}).firstChild, e)\n        },\n        children: function(e) {\n            return x.sibling(e.firstChild)\n        },\n        contents: function(e) {\n            return x.nodeName(e, \"iframe\") ? e.contentDocument || e.contentWindow.document : x.merge([], e.childNodes)\n        }\n    }, function(e, t) {\n        x.fn[e] = function(n, r) {\n            var i = x.map(this, t, n);\n            return \"Until\" !== e.slice(-5) && (r = n), r && \"string\" == typeof r && (i = x.filter(r, i)), this.length > 1 &&\n            (Q[e] || x.unique(i), \"p\" === e[0] && i.reverse()), this.pushStack(i)\n        }\n    }), x.extend({\n        filter: function(e, t, n) {\n            var r = t[0];\n            return n && (e = \":not(\" + e + \")\"), 1 === t.length && 1 === r.nodeType ? x.find.matchesSelector(r, e) ? [r] : [] :\n                x.find.matches(e, x.grep(t, function(e) {\n                    return 1 === e.nodeType\n                }))\n        },\n        dir: function(e, t, n) {\n            var r = [],\n                i = n !== undefined;\n            while ((e = e[t]) && 9 !== e.nodeType)\n                if (1 === e.nodeType) {\n                    if (i && x(e).is(n)) break;\n                    r.push(e)\n                } return r\n        },\n        sibling: function(e, t) {\n            var n = [];\n            for (; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e);\n            return n\n        }\n    });\n\n    function Z(e, t, n) {\n        if (x.isFunction(t)) return x.grep(e, function(e, r) {\n            return !!t.call(e, r, e) !== n\n        });\n        if (t.nodeType) return x.grep(e, function(e) {\n            return e === t !== n\n        });\n        if (\"string\" == typeof t) {\n            if (G.test(t)) return x.filter(t, e, n);\n            t = x.filter(t, e)\n        }\n        return x.grep(e, function(e) {\n            return g.call(t, e) >= 0 !== n\n        })\n    }\n    var et = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi,\n        tt = /<([\\w:]+)/,\n        nt = /<|&#?\\w+;/,\n        rt = /<(?:script|style|link)/i,\n        it = /^(?:checkbox|radio)$/i,\n        ot = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n        st = /^$|\\/(?:java|ecma)script/i,\n        at = /^true\\/(.*)/,\n        ut = /^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g,\n        lt = {\n            option: [1, \"<select multiple='multiple'>\", \"</select>\"],\n            thead: [1, \"<table>\", \"</table>\"],\n            tr: [2, \"<table><tbody>\", \"</tbody></table>\"],\n            td: [3, \"<table><tbody><tr>\", \"</tr></tbody></table>\"],\n            _default: [0, \"\", \"\"]\n        };\n    lt.optgroup = lt.option, lt.tbody = lt.tfoot = lt.colgroup = lt.caption = lt.col = lt.thead, lt.th = lt.td, x.fn.extend({\n        text: function(e) {\n            return x.access(this, function(e) {\n                return e === undefined ? x.text(this) : this.empty().append((this[0] && this[0].ownerDocument || o).createTextNode(\n                    e))\n            }, null, e, arguments.length)\n        },\n        append: function() {\n            return this.domManip(arguments, function(e) {\n                if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {\n                    var t = ct(this, e);\n                    t.appendChild(e)\n                }\n            })\n        },\n        prepend: function() {\n            return this.domManip(arguments, function(e) {\n                if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {\n                    var t = ct(this, e);\n                    t.insertBefore(e, t.firstChild)\n                }\n            })\n        },\n        before: function() {\n            return this.domManip(arguments, function(e) {\n                this.parentNode && this.parentNode.insertBefore(e, this)\n            })\n        },\n        after: function() {\n            return this.domManip(arguments, function(e) {\n                this.parentNode && this.parentNode.insertBefore(e, this.nextSibling)\n            })\n        },\n        remove: function(e, t) {\n            var n, r = e ? x.filter(e, this) : this,\n                i = 0;\n            for (; null != (n = r[i]); i++) t || 1 !== n.nodeType || x.cleanData(gt(n)), n.parentNode && (t && x.contains(n.ownerDocument,\n                n) && ht(gt(n, \"script\")), n.parentNode.removeChild(n));\n            return this\n        },\n        empty: function() {\n            var e, t = 0;\n            for (; null != (e = this[t]); t++) 1 === e.nodeType && (x.cleanData(gt(e, !1)), e.textContent = \"\");\n            return this\n        },\n        clone: function(e, t) {\n            return e = null == e ? !1 : e, t = null == t ? e : t, this.map(function() {\n                return x.clone(this, e, t)\n            })\n        },\n        html: function(e) {\n            return x.access(this, function(e) {\n                var t = this[0] || {},\n                    n = 0,\n                    r = this.length;\n                if (e === undefined && 1 === t.nodeType) return t.innerHTML;\n                if (\"string\" == typeof e && !rt.test(e) && !lt[(tt.exec(e) || [\"\", \"\"])[1].toLowerCase()]) {\n                    e = e.replace(et, \"<$1></$2>\");\n                    try {\n                        for (; r > n; n++) t = this[n] || {}, 1 === t.nodeType && (x.cleanData(gt(t, !1)), t.innerHTML = e);\n                        t = 0\n                    } catch (i) {}\n                }\n                t && this.empty().append(e)\n            }, null, e, arguments.length)\n        },\n        replaceWith: function() {\n            var e = x.map(this, function(e) {\n                    return [e.nextSibling, e.parentNode]\n                }),\n                t = 0;\n            return this.domManip(arguments, function(n) {\n                var r = e[t++],\n                    i = e[t++];\n                i && (x(this).remove(), i.insertBefore(n, r))\n            }, !0), t ? this : this.remove()\n        },\n        detach: function(e) {\n            return this.remove(e, !0)\n        },\n        domManip: function(e, t, n) {\n            e = p.apply([], e);\n            var r, i, o, s, a, u, l = 0,\n                c = this.length,\n                f = this,\n                h = c - 1,\n                d = e[0],\n                g = x.isFunction(d);\n            if (g || !(1 >= c || \"string\" != typeof d || x.support.checkClone) && ot.test(d)) return this.each(function(r) {\n                var i = f.eq(r);\n                g && (e[0] = d.call(this, r, i.html())), i.domManip(e, t, n)\n            });\n            if (c && (r = x.buildFragment(e, this[0].ownerDocument, !1, !n && this), i = r.firstChild, 1 === r.childNodes.length &&\n            (r = i), i)) {\n                for (o = x.map(gt(r, \"script\"), ft), s = o.length; c > l; l++) a = r, l !== h && (a = x.clone(a, !0, !0), s &&\n                x.merge(o, gt(a, \"script\"))), t.call(this[l], a, l);\n                if (s)\n                    for (u = o[o.length - 1].ownerDocument, x.map(o, pt), l = 0; s > l; l++) a = o[l], st.test(a.type || \"\") && !q\n                        .access(a, \"globalEval\") && x.contains(u, a) && (a.src ? x._evalUrl(a.src) : x.globalEval(a.textContent.replace(\n                        ut, \"\")))\n            }\n            return this\n        }\n    }), x.each({\n        appendTo: \"append\",\n        prependTo: \"prepend\",\n        insertBefore: \"before\",\n        insertAfter: \"after\",\n        replaceAll: \"replaceWith\"\n    }, function(e, t) {\n        x.fn[e] = function(e) {\n            var n, r = [],\n                i = x(e),\n                o = i.length - 1,\n                s = 0;\n            for (; o >= s; s++) n = s === o ? this : this.clone(!0), x(i[s])[t](n), h.apply(r, n.get());\n            return this.pushStack(r)\n        }\n    }), x.extend({\n        clone: function(e, t, n) {\n            var r, i, o, s, a = e.cloneNode(!0),\n                u = x.contains(e.ownerDocument, e);\n            if (!(x.support.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || x.isXMLDoc(e)))\n                for (s = gt(a), o = gt(e), r = 0, i = o.length; i > r; r++) mt(o[r], s[r]);\n            if (t)\n                if (n)\n                    for (o = o || gt(e), s = s || gt(a), r = 0, i = o.length; i > r; r++) dt(o[r], s[r]);\n                else dt(e, a);\n            return s = gt(a, \"script\"), s.length > 0 && ht(s, !u && gt(e, \"script\")), a\n        },\n        buildFragment: function(e, t, n, r) {\n            var i, o, s, a, u, l, c = 0,\n                f = e.length,\n                p = t.createDocumentFragment(),\n                h = [];\n            for (; f > c; c++)\n                if (i = e[c], i || 0 === i)\n                    if (\"object\" === x.type(i)) x.merge(h, i.nodeType ? [i] : i);\n                    else if (nt.test(i)) {\n                        o = o || p.appendChild(t.createElement(\"div\")), s = (tt.exec(i) || [\"\", \"\"])[1].toLowerCase(), a = lt[s] || lt._default,\n                            o.innerHTML = a[1] + i.replace(et, \"<$1></$2>\") + a[2], l = a[0];\n                        while (l--) o = o.firstChild;\n                        x.merge(h, o.childNodes), o = p.firstChild, o.textContent = \"\"\n                    } else h.push(t.createTextNode(i));\n            p.textContent = \"\", c = 0;\n            while (i = h[c++])\n                if ((!r || -1 === x.inArray(i, r)) && (u = x.contains(i.ownerDocument, i), o = gt(p.appendChild(i), \"script\"),\n                u && ht(o), n)) {\n                    l = 0;\n                    while (i = o[l++]) st.test(i.type || \"\") && n.push(i)\n                } return p\n        },\n        cleanData: function(e) {\n            var t, n, r, i = e.length,\n                o = 0,\n                s = x.event.special;\n            for (; i > o; o++) {\n                if (n = e[o], x.acceptData(n) && (t = q.access(n)))\n                    for (r in t.events) s[r] ? x.event.remove(n, r) : x.removeEvent(n, r, t.handle);\n                L.discard(n), q.discard(n)\n            }\n        },\n        _evalUrl: function(e) {\n            return x.ajax({\n                url: e,\n                type: \"GET\",\n                dataType: \"text\",\n                async: !1,\n                global: !1,\n                success: x.globalEval\n            })\n        }\n    });\n\n    function ct(e, t) {\n        return x.nodeName(e, \"table\") && x.nodeName(1 === t.nodeType ? t : t.firstChild, \"tr\") ? e.getElementsByTagName(\n            \"tbody\")[0] || e.appendChild(e.ownerDocument.createElement(\"tbody\")) : e\n    }\n\n    function ft(e) {\n        return e.type = (null !== e.getAttribute(\"type\")) + \"/\" + e.type, e\n    }\n\n    function pt(e) {\n        var t = at.exec(e.type);\n        return t ? e.type = t[1] : e.removeAttribute(\"type\"), e\n    }\n\n    function ht(e, t) {\n        var n = e.length,\n            r = 0;\n        for (; n > r; r++) q.set(e[r], \"globalEval\", !t || q.get(t[r], \"globalEval\"))\n    }\n\n    function dt(e, t) {\n        var n, r, i, o, s, a, u, l;\n        if (1 === t.nodeType) {\n            if (q.hasData(e) && (o = q.access(e), s = x.extend({}, o), l = o.events, q.set(t, s), l)) {\n                delete s.handle, s.events = {};\n                for (i in l)\n                    for (n = 0, r = l[i].length; r > n; n++) x.event.add(t, i, l[i][n])\n            }\n            L.hasData(e) && (a = L.access(e), u = x.extend({}, a), L.set(t, u))\n        }\n    }\n\n    function gt(e, t) {\n        var n = e.getElementsByTagName ? e.getElementsByTagName(t || \"*\") : e.querySelectorAll ? e.querySelectorAll(t || \"*\") :\n            [];\n        return t === undefined || t && x.nodeName(e, t) ? x.merge([e], n) : n\n    }\n\n    function mt(e, t) {\n        var n = t.nodeName.toLowerCase();\n        \"input\" === n && it.test(e.type) ? t.checked = e.checked : (\"input\" === n || \"textarea\" === n) && (t.defaultValue =\n            e.defaultValue)\n    }\n    x.fn.extend({\n        wrapAll: function(e) {\n            var t;\n            return x.isFunction(e) ? this.each(function(t) {\n                x(this).wrapAll(e.call(this, t))\n            }) : (this[0] && (t = x(e, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && t.insertBefore(this[0]),\n                t.map(function() {\n                    var e = this;\n                    while (e.firstElementChild) e = e.firstElementChild;\n                    return e\n                }).append(this)), this)\n        },\n        wrapInner: function(e) {\n            return x.isFunction(e) ? this.each(function(t) {\n                x(this).wrapInner(e.call(this, t))\n            }) : this.each(function() {\n                var t = x(this),\n                    n = t.contents();\n                n.length ? n.wrapAll(e) : t.append(e)\n            })\n        },\n        wrap: function(e) {\n            var t = x.isFunction(e);\n            return this.each(function(n) {\n                x(this).wrapAll(t ? e.call(this, n) : e)\n            })\n        },\n        unwrap: function() {\n            return this.parent().each(function() {\n                x.nodeName(this, \"body\") || x(this).replaceWith(this.childNodes)\n            }).end()\n        }\n    });\n    var yt, vt, xt = /^(none|table(?!-c[ea]).+)/,\n        bt = /^margin/,\n        wt = RegExp(\"^(\" + b + \")(.*)$\", \"i\"),\n        Tt = RegExp(\"^(\" + b + \")(?!px)[a-z%]+$\", \"i\"),\n        Ct = RegExp(\"^([+-])=(\" + b + \")\", \"i\"),\n        kt = {\n            BODY: \"block\"\n        },\n        Nt = {\n            position: \"absolute\",\n            visibility: \"hidden\",\n            display: \"block\"\n        },\n        Et = {\n            letterSpacing: 0,\n            fontWeight: 400\n        },\n        St = [\"Top\", \"Right\", \"Bottom\", \"Left\"],\n        jt = [\"Webkit\", \"O\", \"Moz\", \"ms\"];\n\n    function Dt(e, t) {\n        if (t in e) return t;\n        var n = t.charAt(0).toUpperCase() + t.slice(1),\n            r = t,\n            i = jt.length;\n        while (i--)\n            if (t = jt[i] + n, t in e) return t;\n        return r\n    }\n\n    function At(e, t) {\n        return e = t || e, \"none\" === x.css(e, \"display\") || !x.contains(e.ownerDocument, e)\n    }\n\n    function Lt(t) {\n        return e.getComputedStyle(t, null)\n    }\n\n    function qt(e, t) {\n        var n, r, i, o = [],\n            s = 0,\n            a = e.length;\n        for (; a > s; s++) r = e[s], r.style && (o[s] = q.get(r, \"olddisplay\"), n = r.style.display, t ? (o[s] || \"none\" !==\n            n || (r.style.display = \"\"), \"\" === r.style.display && At(r) && (o[s] = q.access(r, \"olddisplay\", Pt(r.nodeName)))\n        ) : o[s] || (i = At(r), (n && \"none\" !== n || !i) && q.set(r, \"olddisplay\", i ? n : x.css(r, \"display\"))));\n        for (s = 0; a > s; s++) r = e[s], r.style && (t && \"none\" !== r.style.display && \"\" !== r.style.display || (r.style.display =\n            t ? o[s] || \"\" : \"none\"));\n        return e\n    }\n    x.fn.extend({\n        css: function(e, t) {\n            return x.access(this, function(e, t, n) {\n                var r, i, o = {},\n                    s = 0;\n                if (x.isArray(t)) {\n                    for (r = Lt(e), i = t.length; i > s; s++) o[t[s]] = x.css(e, t[s], !1, r);\n                    return o\n                }\n                return n !== undefined ? x.style(e, t, n) : x.css(e, t)\n            }, e, t, arguments.length > 1)\n        },\n        show: function() {\n            return qt(this, !0)\n        },\n        hide: function() {\n            return qt(this)\n        },\n        toggle: function(e) {\n            var t = \"boolean\" == typeof e;\n            return this.each(function() {\n                (t ? e : At(this)) ? x(this).show(): x(this).hide()\n            })\n        }\n    }), x.extend({\n        cssHooks: {\n            opacity: {\n                get: function(e, t) {\n                    if (t) {\n                        var n = yt(e, \"opacity\");\n                        return \"\" === n ? \"1\" : n\n                    }\n                }\n            }\n        },\n        cssNumber: {\n            columnCount: !0,\n            fillOpacity: !0,\n            fontWeight: !0,\n            lineHeight: !0,\n            opacity: !0,\n            orphans: !0,\n            widows: !0,\n            zIndex: !0,\n            zoom: !0\n        },\n        cssProps: {\n            \"float\": \"cssFloat\"\n        },\n        style: function(e, t, n, r) {\n            if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {\n                var i, o, s, a = x.camelCase(t),\n                    u = e.style;\n                return t = x.cssProps[a] || (x.cssProps[a] = Dt(u, a)), s = x.cssHooks[t] || x.cssHooks[a], n === undefined ? s &&\n                \"get\" in s && (i = s.get(e, !1, r)) !== undefined ? i : u[t] : (o = typeof n, \"string\" === o && (i = Ct.exec(n)) &&\n                (n = (i[1] + 1) * i[2] + parseFloat(x.css(e, t)), o = \"number\"), null == n || \"number\" === o && isNaN(n) || (\n                    \"number\" !== o || x.cssNumber[a] || (n += \"px\"), x.support.clearCloneStyle || \"\" !== n || 0 !== t.indexOf(\n                        \"background\") || (u[t] = \"inherit\"), s && \"set\" in s && (n = s.set(e, n, r)) === undefined || (u[t] = n)),\n                    undefined)\n            }\n        },\n        css: function(e, t, n, r) {\n            var i, o, s, a = x.camelCase(t);\n            return t = x.cssProps[a] || (x.cssProps[a] = Dt(e.style, a)), s = x.cssHooks[t] || x.cssHooks[a], s && \"get\" in\n            s && (i = s.get(e, !0, n)), i === undefined && (i = yt(e, t, r)), \"normal\" === i && t in Et && (i = Et[t]), \"\" ===\n            n || n ? (o = parseFloat(i), n === !0 || x.isNumeric(o) ? o || 0 : i) : i\n        }\n    }), yt = function(e, t, n) {\n        var r, i, o, s = n || Lt(e),\n            a = s ? s.getPropertyValue(t) || s[t] : undefined,\n            u = e.style;\n        return s && (\"\" !== a || x.contains(e.ownerDocument, e) || (a = x.style(e, t)), Tt.test(a) && bt.test(t) && (r = u.width,\n            i = u.minWidth, o = u.maxWidth, u.minWidth = u.maxWidth = u.width = a, a = s.width, u.width = r, u.minWidth = i,\n            u.maxWidth = o)), a\n    };\n\n    function Ht(e, t, n) {\n        var r = wt.exec(t);\n        return r ? Math.max(0, r[1] - (n || 0)) + (r[2] || \"px\") : t\n    }\n\n    function Ot(e, t, n, r, i) {\n        var o = n === (r ? \"border\" : \"content\") ? 4 : \"width\" === t ? 1 : 0,\n            s = 0;\n        for (; 4 > o; o += 2) \"margin\" === n && (s += x.css(e, n + St[o], !0, i)), r ? (\"content\" === n && (s -= x.css(e,\n            \"padding\" + St[o], !0, i)), \"margin\" !== n && (s -= x.css(e, \"border\" + St[o] + \"Width\", !0, i))) : (s += x.css(e,\n            \"padding\" + St[o], !0, i), \"padding\" !== n && (s += x.css(e, \"border\" + St[o] + \"Width\", !0, i)));\n        return s\n    }\n\n    function Ft(e, t, n) {\n        var r = !0,\n            i = \"width\" === t ? e.offsetWidth : e.offsetHeight,\n            o = Lt(e),\n            s = x.support.boxSizing && \"border-box\" === x.css(e, \"boxSizing\", !1, o);\n        if (0 >= i || null == i) {\n            if (i = yt(e, t, o), (0 > i || null == i) && (i = e.style[t]), Tt.test(i)) return i;\n            r = s && (x.support.boxSizingReliable || i === e.style[t]), i = parseFloat(i) || 0\n        }\n        return i + Ot(e, t, n || (s ? \"border\" : \"content\"), r, o) + \"px\"\n    }\n\n    function Pt(e) {\n        var t = o,\n            n = kt[e];\n        return n || (n = Rt(e, t), \"none\" !== n && n || (vt = (vt || x(\"<iframe frameborder='0' width='0' height='0'/>\").css(\n            \"cssText\", \"display:block !important\")).appendTo(t.documentElement), t = (vt[0].contentWindow || vt[0].contentDocument)\n            .document, t.write(\"<!doctype html><html><body>\"), t.close(), n = Rt(e, t), vt.detach()), kt[e] = n), n\n    }\n\n    function Rt(e, t) {\n        var n = x(t.createElement(e)).appendTo(t.body),\n            r = x.css(n[0], \"display\");\n        return n.remove(), r\n    }\n    x.each([\"height\", \"width\"], function(e, t) {\n        x.cssHooks[t] = {\n            get: function(e, n, r) {\n                return n ? 0 === e.offsetWidth && xt.test(x.css(e, \"display\")) ? x.swap(e, Nt, function() {\n                    return Ft(e, t, r)\n                }) : Ft(e, t, r) : undefined\n            },\n            set: function(e, n, r) {\n                var i = r && Lt(e);\n                return Ht(e, n, r ? Ot(e, t, r, x.support.boxSizing && \"border-box\" === x.css(e, \"boxSizing\", !1, i), i) : 0)\n            }\n        }\n    }), x(function() {\n        x.support.reliableMarginRight || (x.cssHooks.marginRight = {\n            get: function(e, t) {\n                return t ? x.swap(e, {\n                    display: \"inline-block\"\n                }, yt, [e, \"marginRight\"]) : undefined\n            }\n        }), !x.support.pixelPosition && x.fn.position && x.each([\"top\", \"left\"], function(e, t) {\n            x.cssHooks[t] = {\n                get: function(e, n) {\n                    return n ? (n = yt(e, t), Tt.test(n) ? x(e).position()[t] + \"px\" : n) : undefined\n                }\n            }\n        })\n    }), x.expr && x.expr.filters && (x.expr.filters.hidden = function(e) {\n        return 0 >= e.offsetWidth && 0 >= e.offsetHeight\n    }, x.expr.filters.visible = function(e) {\n        return !x.expr.filters.hidden(e)\n    }), x.each({\n        margin: \"\",\n        padding: \"\",\n        border: \"Width\"\n    }, function(e, t) {\n        x.cssHooks[e + t] = {\n            expand: function(n) {\n                var r = 0,\n                    i = {},\n                    o = \"string\" == typeof n ? n.split(\" \") : [n];\n                for (; 4 > r; r++) i[e + St[r] + t] = o[r] || o[r - 2] || o[0];\n                return i\n            }\n        }, bt.test(e) || (x.cssHooks[e + t].set = Ht)\n    });\n    var Mt = /%20/g,\n        Wt = /\\[\\]$/,\n        $t = /\\r?\\n/g,\n        Bt = /^(?:submit|button|image|reset|file)$/i,\n        It = /^(?:input|select|textarea|keygen)/i;\n    x.fn.extend({\n        serialize: function() {\n            return x.param(this.serializeArray())\n        },\n        serializeArray: function() {\n            return this.map(function() {\n                var e = x.prop(this, \"elements\");\n                return e ? x.makeArray(e) : this\n            }).filter(function() {\n                var e = this.type;\n                return this.name && !x(this).is(\":disabled\") && It.test(this.nodeName) && !Bt.test(e) && (this.checked || !it\n                    .test(e))\n            }).map(function(e, t) {\n                var n = x(this).val();\n                return null == n ? null : x.isArray(n) ? x.map(n, function(e) {\n                    return {\n                        name: t.name,\n                        value: e.replace($t, \"\\r\\n\")\n                    }\n                }) : {\n                    name: t.name,\n                    value: n.replace($t, \"\\r\\n\")\n                }\n            }).get()\n        }\n    }), x.param = function(e, t) {\n        var n, r = [],\n            i = function(e, t) {\n                t = x.isFunction(t) ? t() : null == t ? \"\" : t, r[r.length] = encodeURIComponent(e) + \"=\" + encodeURIComponent(t)\n            };\n        if (t === undefined && (t = x.ajaxSettings && x.ajaxSettings.traditional), x.isArray(e) || e.jquery && !x.isPlainObject(\n            e)) x.each(e, function() {\n            i(this.name, this.value)\n        });\n        else\n            for (n in e) zt(n, e[n], t, i);\n        return r.join(\"&\").replace(Mt, \"+\")\n    };\n\n    function zt(e, t, n, r) {\n        var i;\n        if (x.isArray(t)) x.each(t, function(t, i) {\n            n || Wt.test(e) ? r(e, i) : zt(e + \"[\" + (\"object\" == typeof i ? t : \"\") + \"]\", i, n, r)\n        });\n        else if (n || \"object\" !== x.type(t)) r(e, t);\n        else\n            for (i in t) zt(e + \"[\" + i + \"]\", t[i], n, r)\n    }\n    x.each(\n        \"blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu\"\n            .split(\" \"),\n        function(e, t) {\n            x.fn[t] = function(e, n) {\n                return arguments.length > 0 ? this.on(t, null, e, n) : this.trigger(t)\n            }\n        }), x.fn.extend({\n        hover: function(e, t) {\n            return this.mouseenter(e).mouseleave(t || e)\n        },\n        bind: function(e, t, n) {\n            return this.on(e, null, t, n)\n        },\n        unbind: function(e, t) {\n            return this.off(e, null, t)\n        },\n        delegate: function(e, t, n, r) {\n            return this.on(t, e, n, r)\n        },\n        undelegate: function(e, t, n) {\n            return 1 === arguments.length ? this.off(e, \"**\") : this.off(t, e || \"**\", n)\n        }\n    });\n    var _t, Xt, Ut = x.now(),\n        Yt = /\\?/,\n        Vt = /#.*$/,\n        Gt = /([?&])_=[^&]*/,\n        Jt = /^(.*?):[ \\t]*([^\\r\\n]*)$/gm,\n        Qt = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n        Kt = /^(?:GET|HEAD)$/,\n        Zt = /^\\/\\//,\n        en = /^([\\w.+-]+:)(?:\\/\\/([^\\/?#:]*)(?::(\\d+)|)|)/,\n        tn = x.fn.load,\n        nn = {},\n        rn = {},\n        on = \"*/\".concat(\"*\");\n    try {\n        Xt = i.href\n    } catch (sn) {\n        Xt = o.createElement(\"a\"), Xt.href = \"\", Xt = Xt.href\n    }\n    _t = en.exec(Xt.toLowerCase()) || [];\n\n    function an(e) {\n        return function(t, n) {\n            \"string\" != typeof t && (n = t, t = \"*\");\n            var r, i = 0,\n                o = t.toLowerCase().match(w) || [];\n            if (x.isFunction(n))\n                while (r = o[i++]) \"+\" === r[0] ? (r = r.slice(1) || \"*\", (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(\n                    n)\n        }\n    }\n\n    function un(e, t, n, r) {\n        var i = {},\n            o = e === rn;\n\n        function s(a) {\n            var u;\n            return i[a] = !0, x.each(e[a] || [], function(e, a) {\n                var l = a(t, n, r);\n                return \"string\" != typeof l || o || i[l] ? o ? !(u = l) : undefined : (t.dataTypes.unshift(l), s(l), !1)\n            }), u\n        }\n        return s(t.dataTypes[0]) || !i[\"*\"] && s(\"*\")\n    }\n\n    function ln(e, t) {\n        var n, r, i = x.ajaxSettings.flatOptions || {};\n        for (n in t) t[n] !== undefined && ((i[n] ? e : r || (r = {}))[n] = t[n]);\n        return r && x.extend(!0, e, r), e\n    }\n    x.fn.load = function(e, t, n) {\n        if (\"string\" != typeof e && tn) return tn.apply(this, arguments);\n        var r, i, o, s = this,\n            a = e.indexOf(\" \");\n        return a >= 0 && (r = e.slice(a), e = e.slice(0, a)), x.isFunction(t) ? (n = t, t = undefined) : t && \"object\" ==\n            typeof t && (i = \"POST\"), s.length > 0 && x.ajax({\n            url: e,\n            type: i,\n            dataType: \"html\",\n            data: t\n        }).done(function(e) {\n            o = arguments, s.html(r ? x(\"<div>\").append(x.parseHTML(e)).find(r) : e)\n        }).complete(n && function(e, t) {\n            s.each(n, o || [e.responseText, t, e])\n        }), this\n    }, x.each([\"ajaxStart\", \"ajaxStop\", \"ajaxComplete\", \"ajaxError\", \"ajaxSuccess\", \"ajaxSend\"], function(e, t) {\n        x.fn[t] = function(e) {\n            return this.on(t, e)\n        }\n    }), x.extend({\n        active: 0,\n        lastModified: {},\n        etag: {},\n        ajaxSettings: {\n            url: Xt,\n            type: \"GET\",\n            isLocal: Qt.test(_t[1]),\n            global: !0,\n            processData: !0,\n            async: !0,\n            contentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n            accepts: {\n                \"*\": on,\n                text: \"text/plain\",\n                html: \"text/html\",\n                xml: \"application/xml, text/xml\",\n                json: \"application/json, text/javascript\"\n            },\n            contents: {\n                xml: /xml/,\n                html: /html/,\n                json: /json/\n            },\n            responseFields: {\n                xml: \"responseXML\",\n                text: \"responseText\",\n                json: \"responseJSON\"\n            },\n            converters: {\n                \"* text\": String,\n                \"text html\": !0,\n                \"text json\": x.parseJSON,\n                \"text xml\": x.parseXML\n            },\n            flatOptions: {\n                url: !0,\n                context: !0\n            }\n        },\n        ajaxSetup: function(e, t) {\n            return t ? ln(ln(e, x.ajaxSettings), t) : ln(x.ajaxSettings, e)\n        },\n        ajaxPrefilter: an(nn),\n        ajaxTransport: an(rn),\n        ajax: function(e, t) {\n            \"object\" == typeof e && (t = e, e = undefined), t = t || {};\n            var n, r, i, o, s, a, u, l, c = x.ajaxSetup({}, t),\n                f = c.context || c,\n                p = c.context && (f.nodeType || f.jquery) ? x(f) : x.event,\n                h = x.Deferred(),\n                d = x.Callbacks(\"once memory\"),\n                g = c.statusCode || {},\n                m = {},\n                y = {},\n                v = 0,\n                b = \"canceled\",\n                T = {\n                    readyState: 0,\n                    getResponseHeader: function(e) {\n                        var t;\n                        if (2 === v) {\n                            if (!o) {\n                                o = {};\n                                while (t = Jt.exec(i)) o[t[1].toLowerCase()] = t[2]\n                            }\n                            t = o[e.toLowerCase()]\n                        }\n                        return null == t ? null : t\n                    },\n                    getAllResponseHeaders: function() {\n                        return 2 === v ? i : null\n                    },\n                    setRequestHeader: function(e, t) {\n                        var n = e.toLowerCase();\n                        return v || (e = y[n] = y[n] || e, m[e] = t), this\n                    },\n                    overrideMimeType: function(e) {\n                        return v || (c.mimeType = e), this\n                    },\n                    statusCode: function(e) {\n                        var t;\n                        if (e)\n                            if (2 > v)\n                                for (t in e) g[t] = [g[t], e[t]];\n                            else T.always(e[T.status]);\n                        return this\n                    },\n                    abort: function(e) {\n                        var t = e || b;\n                        return n && n.abort(t), k(0, t), this\n                    }\n                };\n            if (h.promise(T).complete = d.add, T.success = T.done, T.error = T.fail, c.url = ((e || c.url || Xt) + \"\").replace(\n                Vt, \"\").replace(Zt, _t[1] + \"//\"), c.type = t.method || t.type || c.method || c.type, c.dataTypes = x.trim(c.dataType ||\n                \"*\").toLowerCase().match(w) || [\"\"], null == c.crossDomain && (a = en.exec(c.url.toLowerCase()), c.crossDomain = !\n                (!a || a[1] === _t[1] && a[2] === _t[2] && (a[3] || (\"http:\" === a[1] ? \"80\" : \"443\")) === (_t[3] || (\"http:\" ===\n                _t[1] ? \"80\" : \"443\")))), c.data && c.processData && \"string\" != typeof c.data && (c.data = x.param(c.data, c\n                .traditional)), un(nn, c, t, T), 2 === v) return T;\n            u = c.global, u && 0 === x.active++ && x.event.trigger(\"ajaxStart\"), c.type = c.type.toUpperCase(), c.hasContent = !\n                Kt.test(c.type), r = c.url, c.hasContent || (c.data && (r = c.url += (Yt.test(r) ? \"&\" : \"?\") + c.data, delete c\n                .data), c.cache === !1 && (c.url = Gt.test(r) ? r.replace(Gt, \"$1_=\" + Ut++) : r + (Yt.test(r) ? \"&\" : \"?\") +\n                \"_=\" + Ut++)), c.ifModified && (x.lastModified[r] && T.setRequestHeader(\"If-Modified-Since\", x.lastModified[r]),\n            x.etag[r] && T.setRequestHeader(\"If-None-Match\", x.etag[r])), (c.data && c.hasContent && c.contentType !== !1 ||\n                t.contentType) && T.setRequestHeader(\"Content-Type\", c.contentType), T.setRequestHeader(\"Accept\", c.dataTypes[\n                0] && c.accepts[c.dataTypes[0]] ? c.accepts[c.dataTypes[0]] + (\"*\" !== c.dataTypes[0] ? \", \" + on +\n                \"; q=0.01\" : \"\") : c.accepts[\"*\"]);\n            for (l in c.headers) T.setRequestHeader(l, c.headers[l]);\n            if (c.beforeSend && (c.beforeSend.call(f, T, c) === !1 || 2 === v)) return T.abort();\n            b = \"abort\";\n            for (l in {\n                success: 1,\n                error: 1,\n                complete: 1\n            }) T[l](c[l]);\n            if (n = un(rn, c, t, T)) {\n                T.readyState = 1, u && p.trigger(\"ajaxSend\", [T, c]), c.async && c.timeout > 0 && (s = setTimeout(function() {\n                    T.abort(\"timeout\")\n                }, c.timeout));\n                try {\n                    v = 1, n.send(m, k)\n                } catch (C) {\n                    if (!(2 > v)) throw C;\n                    k(-1, C)\n                }\n            } else k(-1, \"No Transport\");\n\n            function k(e, t, o, a) {\n                var l, m, y, b, w, C = t;\n                2 !== v && (v = 2, s && clearTimeout(s), n = undefined, i = a || \"\", T.readyState = e > 0 ? 4 : 0, l = e >= 200 &&\n                    300 > e || 304 === e, o && (b = cn(c, T, o)), b = fn(c, b, T, l), l ? (c.ifModified && (w = T.getResponseHeader(\n                    \"Last-Modified\"), w && (x.lastModified[r] = w), w = T.getResponseHeader(\"etag\"), w && (x.etag[r] = w)), 204 ===\n                e ? C = \"nocontent\" : 304 === e ? C = \"notmodified\" : (C = b.state, m = b.data, y = b.error, l = !y)) : (y =\n                    C, (e || !C) && (C = \"error\", 0 > e && (e = 0))), T.status = e, T.statusText = (t || C) + \"\", l ? h.resolveWith(\n                    f, [m, C, T]) : h.rejectWith(f, [T, C, y]), T.statusCode(g), g = undefined, u && p.trigger(l ? \"ajaxSuccess\" :\n                    \"ajaxError\", [T, c, l ? m : y]), d.fireWith(f, [T, C]), u && (p.trigger(\"ajaxComplete\", [T, c]), --x.active ||\n                x.event.trigger(\"ajaxStop\")))\n            }\n            return T\n        },\n        getJSON: function(e, t, n) {\n            return x.get(e, t, n, \"json\")\n        },\n        getScript: function(e, t) {\n            return x.get(e, undefined, t, \"script\")\n        }\n    }), x.each([\"get\", \"post\"], function(e, t) {\n        x[t] = function(e, n, r, i) {\n            return x.isFunction(n) && (i = i || r, r = n, n = undefined), x.ajax({\n                url: e,\n                type: t,\n                dataType: i,\n                data: n,\n                success: r\n            })\n        }\n    });\n\n    function cn(e, t, n) {\n        var r, i, o, s, a = e.contents,\n            u = e.dataTypes;\n        while (\"*\" === u[0]) u.shift(), r === undefined && (r = e.mimeType || t.getResponseHeader(\"Content-Type\"));\n        if (r)\n            for (i in a)\n                if (a[i] && a[i].test(r)) {\n                    u.unshift(i);\n                    break\n                } if (u[0] in n) o = u[0];\n        else {\n            for (i in n) {\n                if (!u[0] || e.converters[i + \" \" + u[0]]) {\n                    o = i;\n                    break\n                }\n                s || (s = i)\n            }\n            o = o || s\n        }\n        return o ? (o !== u[0] && u.unshift(o), n[o]) : undefined\n    }\n\n    function fn(e, t, n, r) {\n        var i, o, s, a, u, l = {},\n            c = e.dataTypes.slice();\n        if (c[1])\n            for (s in e.converters) l[s.toLowerCase()] = e.converters[s];\n        o = c.shift();\n        while (o)\n            if (e.responseFields[o] && (n[e.responseFields[o]] = t), !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)),\n                u = o, o = c.shift())\n                if (\"*\" === o) o = u;\n                else if (\"*\" !== u && u !== o) {\n                    if (s = l[u + \" \" + o] || l[\"* \" + o], !s)\n                        for (i in l)\n                            if (a = i.split(\" \"), a[1] === o && (s = l[u + \" \" + a[0]] || l[\"* \" + a[0]])) {\n                                s === !0 ? s = l[i] : l[i] !== !0 && (o = a[0], c.unshift(a[1]));\n                                break\n                            } if (s !== !0)\n                        if (s && e[\"throws\"]) t = s(t);\n                        else try {\n                            t = s(t)\n                        } catch (f) {\n                            return {\n                                state: \"parsererror\",\n                                error: s ? f : \"No conversion from \" + u + \" to \" + o\n                            }\n                        }\n                }\n        return {\n            state: \"success\",\n            data: t\n        }\n    }\n    x.ajaxSetup({\n        accepts: {\n            script: \"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"\n        },\n        contents: {\n            script: /(?:java|ecma)script/\n        },\n        converters: {\n            \"text script\": function(e) {\n                return x.globalEval(e), e\n            }\n        }\n    }), x.ajaxPrefilter(\"script\", function(e) {\n        e.cache === undefined && (e.cache = !1), e.crossDomain && (e.type = \"GET\")\n    }), x.ajaxTransport(\"script\", function(e) {\n        if (e.crossDomain) {\n            var t, n;\n            return {\n                send: function(r, i) {\n                    t = x(\"<script>\").prop({\n                        async: !0,\n                        charset: e.scriptCharset,\n                        src: e.url\n                    }).on(\"load error\", n = function(e) {\n                        t.remove(), n = null, e && i(\"error\" === e.type ? 404 : 200, e.type)\n                    }), o.head.appendChild(t[0])\n                },\n                abort: function() {\n                    n && n()\n                }\n            }\n        }\n    });\n    var pn = [],\n        hn = /(=)\\?(?=&|$)|\\?\\?/;\n    x.ajaxSetup({\n        jsonp: \"callback\",\n        jsonpCallback: function() {\n            var e = pn.pop() || x.expando + \"_\" + Ut++;\n            return this[e] = !0, e\n        }\n    }), x.ajaxPrefilter(\"json jsonp\", function(t, n, r) {\n        var i, o, s, a = t.jsonp !== !1 && (hn.test(t.url) ? \"url\" : \"string\" == typeof t.data && !(t.contentType || \"\").indexOf(\n            \"application/x-www-form-urlencoded\") && hn.test(t.data) && \"data\");\n        return a || \"jsonp\" === t.dataTypes[0] ? (i = t.jsonpCallback = x.isFunction(t.jsonpCallback) ? t.jsonpCallback() :\n            t.jsonpCallback, a ? t[a] = t[a].replace(hn, \"$1\" + i) : t.jsonp !== !1 && (t.url += (Yt.test(t.url) ? \"&\" : \"?\") +\n            t.jsonp + \"=\" + i), t.converters[\"script json\"] = function() {\n            return s || x.error(i + \" was not called\"), s[0]\n        }, t.dataTypes[0] = \"json\", o = e[i], e[i] = function() {\n            s = arguments\n        }, r.always(function() {\n            e[i] = o, t[i] && (t.jsonpCallback = n.jsonpCallback, pn.push(i)), s && x.isFunction(o) && o(s[0]), s = o =\n                undefined\n        }), \"script\") : undefined\n    }), x.ajaxSettings.xhr = function() {\n        try {\n            return new XMLHttpRequest\n        } catch (e) {}\n    };\n    var dn = x.ajaxSettings.xhr(),\n        gn = {\n            0: 200,\n            1223: 204\n        },\n        mn = 0,\n        yn = {};\n    e.ActiveXObject && x(e).on(\"unload\", function() {\n        for (var e in yn) yn[e]();\n        yn = undefined\n    }), x.support.cors = !!dn && \"withCredentials\" in dn, x.support.ajax = dn = !!dn, x.ajaxTransport(function(e) {\n        var t;\n        return x.support.cors || dn && !e.crossDomain ? {\n            send: function(n, r) {\n                var i, o, s = e.xhr();\n                if (s.open(e.type, e.url, e.async, e.username, e.password), e.xhrFields)\n                    for (i in e.xhrFields) s[i] = e.xhrFields[i];\n                e.mimeType && s.overrideMimeType && s.overrideMimeType(e.mimeType), e.crossDomain || n[\"X-Requested-With\"] ||\n                (n[\"X-Requested-With\"] = \"XMLHttpRequest\");\n                for (i in n) s.setRequestHeader(i, n[i]);\n                t = function(e) {\n                    return function() {\n                        t && (delete yn[o], t = s.onload = s.onerror = null, \"abort\" === e ? s.abort() : \"error\" === e ? r(s.status ||\n                            404, s.statusText) : r(gn[s.status] || s.status, s.statusText, \"string\" == typeof s.responseText ? {\n                            text: s.responseText\n                        } : undefined, s.getAllResponseHeaders()))\n                    }\n                }, s.onload = t(), s.onerror = t(\"error\"), t = yn[o = mn++] = t(\"abort\"), s.send(e.hasContent && e.data ||\n                    null)\n            },\n            abort: function() {\n                t && t()\n            }\n        } : undefined\n    });\n    var vn, xn, bn = /^(?:toggle|show|hide)$/,\n        wn = RegExp(\"^(?:([+-])=|)(\" + b + \")([a-z%]*)$\", \"i\"),\n        Tn = /queueHooks$/,\n        Cn = [Dn],\n        kn = {\n            \"*\": [function(e, t) {\n                var n, r, i = this.createTween(e, t),\n                    o = wn.exec(t),\n                    s = i.cur(),\n                    a = +s || 0,\n                    u = 1,\n                    l = 20;\n                if (o) {\n                    if (n = +o[2], r = o[3] || (x.cssNumber[e] ? \"\" : \"px\"), \"px\" !== r && a) {\n                        a = x.css(i.elem, e, !0) || n || 1;\n                        do u = u || \".5\", a /= u, x.style(i.elem, e, a + r); while (u !== (u = i.cur() / s) && 1 !== u && --l)\n                    }\n                    i.unit = r, i.start = a, i.end = o[1] ? a + (o[1] + 1) * n : n\n                }\n                return i\n            }]\n        };\n\n    function Nn() {\n        return setTimeout(function() {\n            vn = undefined\n        }), vn = x.now()\n    }\n\n    function En(e, t) {\n        x.each(t, function(t, n) {\n            var r = (kn[t] || []).concat(kn[\"*\"]),\n                i = 0,\n                o = r.length;\n            for (; o > i; i++)\n                if (r[i].call(e, t, n)) return\n        })\n    }\n\n    function Sn(e, t, n) {\n        var r, i, o = 0,\n            s = Cn.length,\n            a = x.Deferred().always(function() {\n                delete u.elem\n            }),\n            u = function() {\n                if (i) return !1;\n                var t = vn || Nn(),\n                    n = Math.max(0, l.startTime + l.duration - t),\n                    r = n / l.duration || 0,\n                    o = 1 - r,\n                    s = 0,\n                    u = l.tweens.length;\n                for (; u > s; s++) l.tweens[s].run(o);\n                return a.notifyWith(e, [l, o, n]), 1 > o && u ? n : (a.resolveWith(e, [l]), !1)\n            },\n            l = a.promise({\n                elem: e,\n                props: x.extend({}, t),\n                opts: x.extend(!0, {\n                    specialEasing: {}\n                }, n),\n                originalProperties: t,\n                originalOptions: n,\n                startTime: vn || Nn(),\n                duration: n.duration,\n                tweens: [],\n                createTween: function(t, n) {\n                    var r = x.Tween(e, l.opts, t, n, l.opts.specialEasing[t] || l.opts.easing);\n                    return l.tweens.push(r), r\n                },\n                stop: function(t) {\n                    var n = 0,\n                        r = t ? l.tweens.length : 0;\n                    if (i) return this;\n                    for (i = !0; r > n; n++) l.tweens[n].run(1);\n                    return t ? a.resolveWith(e, [l, t]) : a.rejectWith(e, [l, t]), this\n                }\n            }),\n            c = l.props;\n        for (jn(c, l.opts.specialEasing); s > o; o++)\n            if (r = Cn[o].call(l, e, c, l.opts)) return r;\n        return En(l, c), x.isFunction(l.opts.start) && l.opts.start.call(e, l), x.fx.timer(x.extend(u, {\n            elem: e,\n            anim: l,\n            queue: l.opts.queue\n        })), l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always)\n    }\n\n    function jn(e, t) {\n        var n, r, i, o, s;\n        for (n in e)\n            if (r = x.camelCase(n), i = t[r], o = e[n], x.isArray(o) && (i = o[1], o = e[n] = o[0]), n !== r && (e[r] = o,\n                delete e[n]), s = x.cssHooks[r], s && \"expand\" in s) {\n                o = s.expand(o), delete e[r];\n                for (n in o) n in e || (e[n] = o[n], t[n] = i)\n            } else t[r] = i\n    }\n    x.Animation = x.extend(Sn, {\n        tweener: function(e, t) {\n            x.isFunction(e) ? (t = e, e = [\"*\"]) : e = e.split(\" \");\n            var n, r = 0,\n                i = e.length;\n            for (; i > r; r++) n = e[r], kn[n] = kn[n] || [], kn[n].unshift(t)\n        },\n        prefilter: function(e, t) {\n            t ? Cn.unshift(e) : Cn.push(e)\n        }\n    });\n\n    function Dn(e, t, n) {\n        var r, i, o, s, a, u, l, c, f, p = this,\n            h = e.style,\n            d = {},\n            g = [],\n            m = e.nodeType && At(e);\n        n.queue || (c = x._queueHooks(e, \"fx\"), null == c.unqueued && (c.unqueued = 0, f = c.empty.fire, c.empty.fire =\n            function() {\n                c.unqueued || f()\n            }), c.unqueued++, p.always(function() {\n            p.always(function() {\n                c.unqueued--, x.queue(e, \"fx\").length || c.empty.fire()\n            })\n        })), 1 === e.nodeType && (\"height\" in t || \"width\" in t) && (n.overflow = [h.overflow, h.overflowX, h.overflowY],\n        \"inline\" === x.css(e, \"display\") && \"none\" === x.css(e, \"float\") && (h.display = \"inline-block\")), n.overflow && (\n            h.overflow = \"hidden\", p.always(function() {\n                h.overflow = n.overflow[0], h.overflowX = n.overflow[1], h.overflowY = n.overflow[2]\n            })), a = q.get(e, \"fxshow\");\n        for (r in t)\n            if (o = t[r], bn.exec(o)) {\n                if (delete t[r], u = u || \"toggle\" === o, o === (m ? \"hide\" : \"show\")) {\n                    if (\"show\" !== o || a === undefined || a[r] === undefined) continue;\n                    m = !0\n                }\n                g.push(r)\n            } if (s = g.length) {\n            a = q.get(e, \"fxshow\") || q.access(e, \"fxshow\", {}), \"hidden\" in a && (m = a.hidden), u && (a.hidden = !m), m ? x(e)\n                .show() : p.done(function() {\n                x(e).hide()\n            }), p.done(function() {\n                var t;\n                q.remove(e, \"fxshow\");\n                for (t in d) x.style(e, t, d[t])\n            });\n            for (r = 0; s > r; r++) i = g[r], l = p.createTween(i, m ? a[i] : 0), d[i] = a[i] || x.style(e, i), i in a || (a[i] =\n                l.start, m && (l.end = l.start, l.start = \"width\" === i || \"height\" === i ? 1 : 0))\n        }\n    }\n\n    function An(e, t, n, r, i) {\n        return new An.prototype.init(e, t, n, r, i)\n    }\n    x.Tween = An, An.prototype = {\n        constructor: An,\n        init: function(e, t, n, r, i, o) {\n            this.elem = e, this.prop = n, this.easing = i || \"swing\", this.options = t, this.start = this.now = this.cur(),\n                this.end = r, this.unit = o || (x.cssNumber[n] ? \"\" : \"px\")\n        },\n        cur: function() {\n            var e = An.propHooks[this.prop];\n            return e && e.get ? e.get(this) : An.propHooks._default.get(this)\n        },\n        run: function(e) {\n            var t, n = An.propHooks[this.prop];\n            return this.pos = t = this.options.duration ? x.easing[this.easing](e, this.options.duration * e, 0, 1, this.options\n                .duration) : e, this.now = (this.end - this.start) * t + this.start, this.options.step && this.options.step.call(\n                this.elem, this.now, this), n && n.set ? n.set(this) : An.propHooks._default.set(this), this\n        }\n    }, An.prototype.init.prototype = An.prototype, An.propHooks = {\n        _default: {\n            get: function(e) {\n                var t;\n                return null == e.elem[e.prop] || e.elem.style && null != e.elem.style[e.prop] ? (t = x.css(e.elem, e.prop, \"\"),\n                    t && \"auto\" !== t ? t : 0) : e.elem[e.prop]\n            },\n            set: function(e) {\n                x.fx.step[e.prop] ? x.fx.step[e.prop](e) : e.elem.style && (null != e.elem.style[x.cssProps[e.prop]] || x.cssHooks[\n                    e.prop]) ? x.style(e.elem, e.prop, e.now + e.unit) : e.elem[e.prop] = e.now\n            }\n        }\n    }, An.propHooks.scrollTop = An.propHooks.scrollLeft = {\n        set: function(e) {\n            e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now)\n        }\n    }, x.each([\"toggle\", \"show\", \"hide\"], function(e, t) {\n        var n = x.fn[t];\n        x.fn[t] = function(e, r, i) {\n            return null == e || \"boolean\" == typeof e ? n.apply(this, arguments) : this.animate(Ln(t, !0), e, r, i)\n        }\n    }), x.fn.extend({\n        fadeTo: function(e, t, n, r) {\n            return this.filter(At).css(\"opacity\", 0).show().end().animate({\n                opacity: t\n            }, e, n, r)\n        },\n        animate: function(e, t, n, r) {\n            var i = x.isEmptyObject(e),\n                o = x.speed(t, n, r),\n                s = function() {\n                    var t = Sn(this, x.extend({}, e), o);\n                    s.finish = function() {\n                        t.stop(!0)\n                    }, (i || q.get(this, \"finish\")) && t.stop(!0)\n                };\n            return s.finish = s, i || o.queue === !1 ? this.each(s) : this.queue(o.queue, s)\n        },\n        stop: function(e, t, n) {\n            var r = function(e) {\n                var t = e.stop;\n                delete e.stop, t(n)\n            };\n            return \"string\" != typeof e && (n = t, t = e, e = undefined), t && e !== !1 && this.queue(e || \"fx\", []), this.each(\n                function() {\n                    var t = !0,\n                        i = null != e && e + \"queueHooks\",\n                        o = x.timers,\n                        s = q.get(this);\n                    if (i) s[i] && s[i].stop && r(s[i]);\n                    else\n                        for (i in s) s[i] && s[i].stop && Tn.test(i) && r(s[i]);\n                    for (i = o.length; i--;) o[i].elem !== this || null != e && o[i].queue !== e || (o[i].anim.stop(n), t = !1, o\n                        .splice(i, 1));\n                    (t || !n) && x.dequeue(this, e)\n                })\n        },\n        finish: function(e) {\n            return e !== !1 && (e = e || \"fx\"), this.each(function() {\n                var t, n = q.get(this),\n                    r = n[e + \"queue\"],\n                    i = n[e + \"queueHooks\"],\n                    o = x.timers,\n                    s = r ? r.length : 0;\n                for (n.finish = !0, x.queue(this, e, []), i && i.cur && i.cur.finish && i.cur.finish.call(this), t = o.length; t--;)\n                    o[t].elem === this && o[t].queue === e && (o[t].anim.stop(!0), o.splice(t, 1));\n                for (t = 0; s > t; t++) r[t] && r[t].finish && r[t].finish.call(this);\n                delete n.finish\n            })\n        }\n    });\n\n    function Ln(e, t) {\n        var n, r = {\n                height: e\n            },\n            i = 0;\n        for (t = t ? 1 : 0; 4 > i; i += 2 - t) n = St[i], r[\"margin\" + n] = r[\"padding\" + n] = e;\n        return t && (r.opacity = r.width = e), r\n    }\n    x.each({\n        slideDown: Ln(\"show\"),\n        slideUp: Ln(\"hide\"),\n        slideToggle: Ln(\"toggle\"),\n        fadeIn: {\n            opacity: \"show\"\n        },\n        fadeOut: {\n            opacity: \"hide\"\n        },\n        fadeToggle: {\n            opacity: \"toggle\"\n        }\n    }, function(e, t) {\n        x.fn[e] = function(e, n, r) {\n            return this.animate(t, e, n, r)\n        }\n    }), x.speed = function(e, t, n) {\n        var r = e && \"object\" == typeof e ? x.extend({}, e) : {\n            complete: n || !n && t || x.isFunction(e) && e,\n            duration: e,\n            easing: n && t || t && !x.isFunction(t) && t\n        };\n        return r.duration = x.fx.off ? 0 : \"number\" == typeof r.duration ? r.duration : r.duration in x.fx.speeds ? x.fx.speeds[\n            r.duration] : x.fx.speeds._default, (null == r.queue || r.queue === !0) && (r.queue = \"fx\"), r.old = r.complete,\n            r.complete = function() {\n                x.isFunction(r.old) && r.old.call(this), r.queue && x.dequeue(this, r.queue)\n            }, r\n    }, x.easing = {\n        linear: function(e) {\n            return e\n        },\n        swing: function(e) {\n            return .5 - Math.cos(e * Math.PI) / 2\n        }\n    }, x.timers = [], x.fx = An.prototype.init, x.fx.tick = function() {\n        var e, t = x.timers,\n            n = 0;\n        for (vn = x.now(); t.length > n; n++) e = t[n], e() || t[n] !== e || t.splice(n--, 1);\n        t.length || x.fx.stop(), vn = undefined\n    }, x.fx.timer = function(e) {\n        e() && x.timers.push(e) && x.fx.start()\n    }, x.fx.interval = 13, x.fx.start = function() {\n        xn || (xn = setInterval(x.fx.tick, x.fx.interval))\n    }, x.fx.stop = function() {\n        clearInterval(xn), xn = null\n    }, x.fx.speeds = {\n        slow: 600,\n        fast: 200,\n        _default: 400\n    }, x.fx.step = {}, x.expr && x.expr.filters && (x.expr.filters.animated = function(e) {\n        return x.grep(x.timers, function(t) {\n            return e === t.elem\n        }).length\n    }), x.fn.offset = function(e) {\n        if (arguments.length) return e === undefined ? this : this.each(function(t) {\n            x.offset.setOffset(this, e, t)\n        });\n        var t, n, i = this[0],\n            o = {\n                top: 0,\n                left: 0\n            },\n            s = i && i.ownerDocument;\n        if (s) return t = s.documentElement, x.contains(t, i) ? (typeof i.getBoundingClientRect !== r && (o = i.getBoundingClientRect()),\n            n = qn(s), {\n            top: o.top + n.pageYOffset - t.clientTop,\n            left: o.left + n.pageXOffset - t.clientLeft\n        }) : o\n    }, x.offset = {\n        setOffset: function(e, t, n) {\n            var r, i, o, s, a, u, l, c = x.css(e, \"position\"),\n                f = x(e),\n                p = {};\n            \"static\" === c && (e.style.position = \"relative\"), a = f.offset(), o = x.css(e, \"top\"), u = x.css(e, \"left\"), l =\n                (\"absolute\" === c || \"fixed\" === c) && (o + u).indexOf(\"auto\") > -1, l ? (r = f.position(), s = r.top, i = r.left) :\n                (s = parseFloat(o) || 0, i = parseFloat(u) || 0), x.isFunction(t) && (t = t.call(e, n, a)), null != t.top && (p.top =\n                t.top - a.top + s), null != t.left && (p.left = t.left - a.left + i), \"using\" in t ? t.using.call(e, p) : f.css(\n                p)\n        }\n    }, x.fn.extend({\n        position: function() {\n            if (this[0]) {\n                var e, t, n = this[0],\n                    r = {\n                        top: 0,\n                        left: 0\n                    };\n                return \"fixed\" === x.css(n, \"position\") ? t = n.getBoundingClientRect() : (e = this.offsetParent(), t = this.offset(),\n                x.nodeName(e[0], \"html\") || (r = e.offset()), r.top += x.css(e[0], \"borderTopWidth\", !0), r.left += x.css(e[0],\n                    \"borderLeftWidth\", !0)), {\n                    top: t.top - r.top - x.css(n, \"marginTop\", !0),\n                    left: t.left - r.left - x.css(n, \"marginLeft\", !0)\n                }\n            }\n        },\n        offsetParent: function() {\n            return this.map(function() {\n                var e = this.offsetParent || s;\n                while (e && !x.nodeName(e, \"html\") && \"static\" === x.css(e, \"position\")) e = e.offsetParent;\n                return e || s\n            })\n        }\n    }), x.each({\n        scrollLeft: \"pageXOffset\",\n        scrollTop: \"pageYOffset\"\n    }, function(t, n) {\n        var r = \"pageYOffset\" === n;\n        x.fn[t] = function(i) {\n            return x.access(this, function(t, i, o) {\n                var s = qn(t);\n                return o === undefined ? s ? s[n] : t[i] : (s ? s.scrollTo(r ? e.pageXOffset : o, r ? o : e.pageYOffset) : t[\n                    i] = o, undefined)\n            }, t, i, arguments.length, null)\n        }\n    });\n\n    function qn(e) {\n        return x.isWindow(e) ? e : 9 === e.nodeType && e.defaultView\n    }\n    x.each({\n        Height: \"height\",\n        Width: \"width\"\n    }, function(e, t) {\n        x.each({\n            padding: \"inner\" + e,\n            content: t,\n            \"\": \"outer\" + e\n        }, function(n, r) {\n            x.fn[r] = function(r, i) {\n                var o = arguments.length && (n || \"boolean\" != typeof r),\n                    s = n || (r === !0 || i === !0 ? \"margin\" : \"border\");\n                return x.access(this, function(t, n, r) {\n                    var i;\n                    return x.isWindow(t) ? t.document.documentElement[\"client\" + e] : 9 === t.nodeType ? (i = t.documentElement,\n                            Math.max(t.body[\"scroll\" + e], i[\"scroll\" + e], t.body[\"offset\" + e], i[\"offset\" + e], i[\"client\" + e])) :\n                        r === undefined ? x.css(t, n, s) : x.style(t, n, r, s)\n                }, t, o ? r : undefined, o, null)\n            }\n        })\n    }), x.fn.size = function() {\n        return this.length\n    }, x.fn.andSelf = x.fn.addBack, \"object\" == typeof module && \"object\" == typeof module.exports ? module.exports = x :\n        \"function\" == typeof define && define.amd && define(\"jquery\", [], function() {\n            return x\n        }), \"object\" == typeof e && \"object\" == typeof e.document && (e.jQuery = e.$ = x)\n})(window);"
  },
  {
    "path": "src/main/resources/static/js/tags.js",
    "content": "$(function(){\n\n    var radius = 150;\n    var dtr = Math.PI / 180;\n    var d = 300;\n    var mcList = [];\n    var active = false;\n    var lasta = 1;\n    var lastb = 1;\n    var distr = true;\n    var tspeed = 10;\n    var size = 250;\n\n    var mouseX = 0;\n    var mouseY = 0;\n\n    var howElliptical = 1;\n\n    var aA = null;\n    var oDiv = null;\n\n\n    var data4Vue={\n        listTagUri:\"/list/tag\",\n        beans:[],\n        websiteUri:\"/website\",\n        websiteInfo:{},\n        searchArticleUri:\"/searchArticle\",\n        keyword:\"\",\n    }\n\n\n\n    window.onload = function() {\n        var i = 0;\n        var oTag = null;\n\n        oDiv = document.getElementById('tagsList');\n\n        aA = oDiv.getElementsByTagName('a');\n\n        for (i = 0; i < aA.length; i++) {\n            oTag = {};\n\n            oTag.offsetWidth = aA[i].offsetWidth;\n            oTag.offsetHeight = aA[i].offsetHeight;\n\n            mcList.push(oTag);\n        }\n\n        sineCosine(0, 0, 0);\n\n        positionAll();\n\n        oDiv.onmouseover = function() {\n            active = true;\n        };\n\n        oDiv.onmouseout = function() {\n            active = false;\n        };\n\n        oDiv.onmousemove = function(ev) {\n            var oEvent = window.event || ev;\n\n            mouseX = oEvent.clientX - (oDiv.offsetLeft + oDiv.offsetWidth / 2);\n            mouseY = oEvent.clientY - (oDiv.offsetTop + oDiv.offsetHeight / 2);\n\n            mouseX /= 5;\n            mouseY /= 5;\n        };\n\n        setInterval(update, 30);\n    };\n\n    function update() {\n        var a;\n        var b;\n\n        if (active) {\n            a = (-Math.min(Math.max(-mouseY, -size), size) / radius) * tspeed;\n            b = (Math.min(Math.max(-mouseX, -size), size) / radius) * tspeed;\n        } else {\n            a = lasta * 0.98;\n            b = lastb * 0.98;\n        }\n\n        lasta = a;\n        lastb = b;\n\n        if (Math.abs(a) <= 0.01 && Math.abs(b) <= 0.01) {\n            return;\n        }\n\n        var c = 0;\n        sineCosine(a, b, c);\n        for (var j = 0; j < mcList.length; j++) {\n            var rx1 = mcList[j].cx;\n            var ry1 = mcList[j].cy * ca + mcList[j].cz * (-sa);\n            var rz1 = mcList[j].cy * sa + mcList[j].cz * ca;\n\n            var rx2 = rx1 * cb + rz1 * sb;\n            var ry2 = ry1;\n            var rz2 = rx1 * (-sb) + rz1 * cb;\n\n            var rx3 = rx2 * cc + ry2 * (-sc);\n            var ry3 = rx2 * sc + ry2 * cc;\n            var rz3 = rz2;\n\n            mcList[j].cx = rx3;\n            mcList[j].cy = ry3;\n            mcList[j].cz = rz3;\n\n            per = d / (d + rz3);\n\n            mcList[j].x = (howElliptical * rx3 * per) - (howElliptical * 2);\n            mcList[j].y = ry3 * per;\n            mcList[j].scale = per;\n            mcList[j].alpha = per;\n\n            mcList[j].alpha = (mcList[j].alpha - 0.6) * (10 / 6);\n        }\n\n        doPosition();\n        depthSort();\n    }\n\n    function depthSort() {\n        var i = 0;\n        var aTmp = [];\n\n        for (i = 0; i < aA.length; i++) {\n            aTmp.push(aA[i]);\n        }\n\n        aTmp.sort(\n            function(vItem1, vItem2) {\n                if (vItem1.cz > vItem2.cz) {\n                    return -1;\n                } else if (vItem1.cz < vItem2.cz) {\n                    return 1;\n                } else {\n                    return 0;\n                }\n            }\n        );\n\n        for (i = 0; i < aTmp.length; i++) {\n            aTmp[i].style.zIndex = i;\n        }\n    }\n\n    function positionAll() {\n        var phi = 0;\n        var theta = 0;\n        var max = mcList.length;\n        var i = 0;\n\n        var aTmp = [];\n        var oFragment = document.createDocumentFragment();\n\n        //随机排序\n        for (i = 0; i < aA.length; i++) {\n            aTmp.push(aA[i]);\n        }\n\n        aTmp.sort(\n            function() {\n                return Math.random() < 0.5 ? 1 : -1;\n            }\n        );\n\n        for (i = 0; i < aTmp.length; i++) {\n            oFragment.appendChild(aTmp[i]);\n        }\n\n        oDiv.appendChild(oFragment);\n\n        for (var i = 1; i < max + 1; i++) {\n            if (distr) {\n                phi = Math.acos(-1 + (2 * i - 1) / max);\n                theta = Math.sqrt(max * Math.PI) * phi;\n            } else {\n                phi = Math.random() * (Math.PI);\n                theta = Math.random() * (2 * Math.PI);\n            }\n            //坐标变换\n            mcList[i - 1].cx = radius * Math.cos(theta) * Math.sin(phi);\n            mcList[i - 1].cy = radius * Math.sin(theta) * Math.sin(phi);\n            mcList[i - 1].cz = radius * Math.cos(phi);\n\n            aA[i - 1].style.left = mcList[i - 1].cx + oDiv.offsetWidth / 2 - mcList[i - 1].offsetWidth / 2 + 'px';\n            aA[i - 1].style.top = mcList[i - 1].cy + oDiv.offsetHeight / 2 - mcList[i - 1].offsetHeight / 2 + 'px';\n        }\n    }\n\n    function doPosition() {\n        var l = oDiv.offsetWidth / 2;\n        var t = oDiv.offsetHeight / 2;\n        for (var i = 0; i < mcList.length; i++) {\n            aA[i].style.left = mcList[i].cx + l - mcList[i].offsetWidth / 2 + 'px';\n            aA[i].style.top = mcList[i].cy + t - mcList[i].offsetHeight / 2 + 'px';\n\n            aA[i].style.fontSize = Math.ceil(12 * mcList[i].scale / 2) + 8 + 'px';\n\n            aA[i].style.filter = \"alpha(opacity=\" + 100 * mcList[i].alpha + \")\";\n            aA[i].style.opacity = mcList[i].alpha;\n        }\n    }\n\n    function sineCosine(a, b, c) {\n        sa = Math.sin(a * dtr);\n        ca = Math.cos(a * dtr);\n        sb = Math.sin(b * dtr);\n        cb = Math.cos(b * dtr);\n        sc = Math.sin(c * dtr);\n        cc = Math.cos(c * dtr);\n    }\n\n\n    $('.mobileButton').click(function(){\n        $(\".navItem\").toggleClass(\"mobileHidden\");\n    });\n\n});"
  },
  {
    "path": "src/main/resources/static/js/theme.js",
    "content": "/**\n * 暗黑模式切换\n * Dark Mode Toggle\n */\n(function() {\n    'use strict';\n    \n    const STORAGE_KEY = 'blog-theme';\n    const DARK_CLASS = 'dark-mode';\n    \n    // 初始化主题\n    function initTheme() {\n        const savedTheme = localStorage.getItem(STORAGE_KEY);\n        const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;\n        \n        if (savedTheme === 'dark' || (!savedTheme && prefersDark)) {\n            document.body.classList.add(DARK_CLASS);\n        }\n    }\n    \n    // 切换主题\n    function toggleTheme() {\n        const isDark = document.body.classList.toggle(DARK_CLASS);\n        localStorage.setItem(STORAGE_KEY, isDark ? 'dark' : 'light');\n        \n        // 触发事件，让其他组件知道主题变化\n        window.dispatchEvent(new CustomEvent('themechange', { \n            detail: { theme: isDark ? 'dark' : 'light' } \n        }));\n    }\n    \n    // 获取当前主题\n    function getCurrentTheme() {\n        return document.body.classList.contains(DARK_CLASS) ? 'dark' : 'light';\n    }\n    \n    // 暴露到全局\n    window.ThemeManager = {\n        init: initTheme,\n        toggle: toggleTheme,\n        getTheme: getCurrentTheme\n    };\n    \n    // DOM 加载完成后初始化\n    if (document.readyState === 'loading') {\n        document.addEventListener('DOMContentLoaded', initTheme);\n    } else {\n        initTheme();\n    }\n})();\n"
  },
  {
    "path": "src/main/resources/static/js/whatwg-fetch@2.0.3_fetch.js",
    "content": "(function(self) {\n  'use strict';\n\n  if (self.fetch) {\n    return\n  }\n\n  var support = {\n    searchParams: 'URLSearchParams' in self,\n    iterable: 'Symbol' in self && 'iterator' in Symbol,\n    blob: 'FileReader' in self && 'Blob' in self && (function() {\n      try {\n        new Blob()\n        return true\n      } catch(e) {\n        return false\n      }\n    })(),\n    formData: 'FormData' in self,\n    arrayBuffer: 'ArrayBuffer' in self\n  }\n\n  if (support.arrayBuffer) {\n    var viewClasses = [\n      '[object Int8Array]',\n      '[object Uint8Array]',\n      '[object Uint8ClampedArray]',\n      '[object Int16Array]',\n      '[object Uint16Array]',\n      '[object Int32Array]',\n      '[object Uint32Array]',\n      '[object Float32Array]',\n      '[object Float64Array]'\n    ]\n\n    var isDataView = function(obj) {\n      return obj && DataView.prototype.isPrototypeOf(obj)\n    }\n\n    var isArrayBufferView = ArrayBuffer.isView || function(obj) {\n      return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n    }\n  }\n\n  function normalizeName(name) {\n    if (typeof name !== 'string') {\n      name = String(name)\n    }\n    if (/[^a-z0-9\\-#$%&'*+.\\^_`|~]/i.test(name)) {\n      throw new TypeError('Invalid character in header field name')\n    }\n    return name.toLowerCase()\n  }\n\n  function normalizeValue(value) {\n    if (typeof value !== 'string') {\n      value = String(value)\n    }\n    return value\n  }\n\n  // Build a destructive iterator for the value list\n  function iteratorFor(items) {\n    var iterator = {\n      next: function() {\n        var value = items.shift()\n        return {done: value === undefined, value: value}\n      }\n    }\n\n    if (support.iterable) {\n      iterator[Symbol.iterator] = function() {\n        return iterator\n      }\n    }\n\n    return iterator\n  }\n\n  function Headers(headers) {\n    this.map = {}\n\n    if (headers instanceof Headers) {\n      headers.forEach(function(value, name) {\n        this.append(name, value)\n      }, this)\n    } else if (Array.isArray(headers)) {\n      headers.forEach(function(header) {\n        this.append(header[0], header[1])\n      }, this)\n    } else if (headers) {\n      Object.getOwnPropertyNames(headers).forEach(function(name) {\n        this.append(name, headers[name])\n      }, this)\n    }\n  }\n\n  Headers.prototype.append = function(name, value) {\n    name = normalizeName(name)\n    value = normalizeValue(value)\n    var oldValue = this.map[name]\n    this.map[name] = oldValue ? oldValue+','+value : value\n  }\n\n  Headers.prototype['delete'] = function(name) {\n    delete this.map[normalizeName(name)]\n  }\n\n  Headers.prototype.get = function(name) {\n    name = normalizeName(name)\n    return this.has(name) ? this.map[name] : null\n  }\n\n  Headers.prototype.has = function(name) {\n    return this.map.hasOwnProperty(normalizeName(name))\n  }\n\n  Headers.prototype.set = function(name, value) {\n    this.map[normalizeName(name)] = normalizeValue(value)\n  }\n\n  Headers.prototype.forEach = function(callback, thisArg) {\n    for (var name in this.map) {\n      if (this.map.hasOwnProperty(name)) {\n        callback.call(thisArg, this.map[name], name, this)\n      }\n    }\n  }\n\n  Headers.prototype.keys = function() {\n    var items = []\n    this.forEach(function(value, name) { items.push(name) })\n    return iteratorFor(items)\n  }\n\n  Headers.prototype.values = function() {\n    var items = []\n    this.forEach(function(value) { items.push(value) })\n    return iteratorFor(items)\n  }\n\n  Headers.prototype.entries = function() {\n    var items = []\n    this.forEach(function(value, name) { items.push([name, value]) })\n    return iteratorFor(items)\n  }\n\n  if (support.iterable) {\n    Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n  }\n\n  function consumed(body) {\n    if (body.bodyUsed) {\n      return Promise.reject(new TypeError('Already read'))\n    }\n    body.bodyUsed = true\n  }\n\n  function fileReaderReady(reader) {\n    return new Promise(function(resolve, reject) {\n      reader.onload = function() {\n        resolve(reader.result)\n      }\n      reader.onerror = function() {\n        reject(reader.error)\n      }\n    })\n  }\n\n  function readBlobAsArrayBuffer(blob) {\n    var reader = new FileReader()\n    var promise = fileReaderReady(reader)\n    reader.readAsArrayBuffer(blob)\n    return promise\n  }\n\n  function readBlobAsText(blob) {\n    var reader = new FileReader()\n    var promise = fileReaderReady(reader)\n    reader.readAsText(blob)\n    return promise\n  }\n\n  function readArrayBufferAsText(buf) {\n    var view = new Uint8Array(buf)\n    var chars = new Array(view.length)\n\n    for (var i = 0; i < view.length; i++) {\n      chars[i] = String.fromCharCode(view[i])\n    }\n    return chars.join('')\n  }\n\n  function bufferClone(buf) {\n    if (buf.slice) {\n      return buf.slice(0)\n    } else {\n      var view = new Uint8Array(buf.byteLength)\n      view.set(new Uint8Array(buf))\n      return view.buffer\n    }\n  }\n\n  function Body() {\n    this.bodyUsed = false\n\n    this._initBody = function(body) {\n      this._bodyInit = body\n      if (!body) {\n        this._bodyText = ''\n      } else if (typeof body === 'string') {\n        this._bodyText = body\n      } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n        this._bodyBlob = body\n      } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n        this._bodyFormData = body\n      } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n        this._bodyText = body.toString()\n      } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n        this._bodyArrayBuffer = bufferClone(body.buffer)\n        // IE 10-11 can't handle a DataView body.\n        this._bodyInit = new Blob([this._bodyArrayBuffer])\n      } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n        this._bodyArrayBuffer = bufferClone(body)\n      } else {\n        throw new Error('unsupported BodyInit type')\n      }\n\n      if (!this.headers.get('content-type')) {\n        if (typeof body === 'string') {\n          this.headers.set('content-type', 'text/plain;charset=UTF-8')\n        } else if (this._bodyBlob && this._bodyBlob.type) {\n          this.headers.set('content-type', this._bodyBlob.type)\n        } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n          this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n        }\n      }\n    }\n\n    if (support.blob) {\n      this.blob = function() {\n        var rejected = consumed(this)\n        if (rejected) {\n          return rejected\n        }\n\n        if (this._bodyBlob) {\n          return Promise.resolve(this._bodyBlob)\n        } else if (this._bodyArrayBuffer) {\n          return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n        } else if (this._bodyFormData) {\n          throw new Error('could not read FormData body as blob')\n        } else {\n          return Promise.resolve(new Blob([this._bodyText]))\n        }\n      }\n\n      this.arrayBuffer = function() {\n        if (this._bodyArrayBuffer) {\n          return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n        } else {\n          return this.blob().then(readBlobAsArrayBuffer)\n        }\n      }\n    }\n\n    this.text = function() {\n      var rejected = consumed(this)\n      if (rejected) {\n        return rejected\n      }\n\n      if (this._bodyBlob) {\n        return readBlobAsText(this._bodyBlob)\n      } else if (this._bodyArrayBuffer) {\n        return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n      } else if (this._bodyFormData) {\n        throw new Error('could not read FormData body as text')\n      } else {\n        return Promise.resolve(this._bodyText)\n      }\n    }\n\n    if (support.formData) {\n      this.formData = function() {\n        return this.text().then(decode)\n      }\n    }\n\n    this.json = function() {\n      return this.text().then(JSON.parse)\n    }\n\n    return this\n  }\n\n  // HTTP methods whose capitalization should be normalized\n  var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\n  function normalizeMethod(method) {\n    var upcased = method.toUpperCase()\n    return (methods.indexOf(upcased) > -1) ? upcased : method\n  }\n\n  function Request(input, options) {\n    options = options || {}\n    var body = options.body\n\n    if (input instanceof Request) {\n      if (input.bodyUsed) {\n        throw new TypeError('Already read')\n      }\n      this.url = input.url\n      this.credentials = input.credentials\n      if (!options.headers) {\n        this.headers = new Headers(input.headers)\n      }\n      this.method = input.method\n      this.mode = input.mode\n      if (!body && input._bodyInit != null) {\n        body = input._bodyInit\n        input.bodyUsed = true\n      }\n    } else {\n      this.url = String(input)\n    }\n\n    this.credentials = options.credentials || this.credentials || 'omit'\n    if (options.headers || !this.headers) {\n      this.headers = new Headers(options.headers)\n    }\n    this.method = normalizeMethod(options.method || this.method || 'GET')\n    this.mode = options.mode || this.mode || null\n    this.referrer = null\n\n    if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n      throw new TypeError('Body not allowed for GET or HEAD requests')\n    }\n    this._initBody(body)\n  }\n\n  Request.prototype.clone = function() {\n    return new Request(this, { body: this._bodyInit })\n  }\n\n  function decode(body) {\n    var form = new FormData()\n    body.trim().split('&').forEach(function(bytes) {\n      if (bytes) {\n        var split = bytes.split('=')\n        var name = split.shift().replace(/\\+/g, ' ')\n        var value = split.join('=').replace(/\\+/g, ' ')\n        form.append(decodeURIComponent(name), decodeURIComponent(value))\n      }\n    })\n    return form\n  }\n\n  function parseHeaders(rawHeaders) {\n    var headers = new Headers()\n    rawHeaders.split(/\\r?\\n/).forEach(function(line) {\n      var parts = line.split(':')\n      var key = parts.shift().trim()\n      if (key) {\n        var value = parts.join(':').trim()\n        headers.append(key, value)\n      }\n    })\n    return headers\n  }\n\n  Body.call(Request.prototype)\n\n  function Response(bodyInit, options) {\n    if (!options) {\n      options = {}\n    }\n\n    this.type = 'default'\n    this.status = 'status' in options ? options.status : 200\n    this.ok = this.status >= 200 && this.status < 300\n    this.statusText = 'statusText' in options ? options.statusText : 'OK'\n    this.headers = new Headers(options.headers)\n    this.url = options.url || ''\n    this._initBody(bodyInit)\n  }\n\n  Body.call(Response.prototype)\n\n  Response.prototype.clone = function() {\n    return new Response(this._bodyInit, {\n      status: this.status,\n      statusText: this.statusText,\n      headers: new Headers(this.headers),\n      url: this.url\n    })\n  }\n\n  Response.error = function() {\n    var response = new Response(null, {status: 0, statusText: ''})\n    response.type = 'error'\n    return response\n  }\n\n  var redirectStatuses = [301, 302, 303, 307, 308]\n\n  Response.redirect = function(url, status) {\n    if (redirectStatuses.indexOf(status) === -1) {\n      throw new RangeError('Invalid status code')\n    }\n\n    return new Response(null, {status: status, headers: {location: url}})\n  }\n\n  self.Headers = Headers\n  self.Request = Request\n  self.Response = Response\n\n  self.fetch = function(input, init) {\n    return new Promise(function(resolve, reject) {\n      var request = new Request(input, init)\n      var xhr = new XMLHttpRequest()\n\n      xhr.onload = function() {\n        var options = {\n          status: xhr.status,\n          statusText: xhr.statusText,\n          headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n        }\n        options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n        var body = 'response' in xhr ? xhr.response : xhr.responseText\n        resolve(new Response(body, options))\n      }\n\n      xhr.onerror = function() {\n        reject(new TypeError('Network request failed'))\n      }\n\n      xhr.ontimeout = function() {\n        reject(new TypeError('Network request failed'))\n      }\n\n      xhr.open(request.method, request.url, true)\n\n      if (request.credentials === 'include') {\n        xhr.withCredentials = true\n      }\n\n      if ('responseType' in xhr && support.blob) {\n        xhr.responseType = 'blob'\n      }\n\n      request.headers.forEach(function(value, name) {\n        xhr.setRequestHeader(name, value)\n      })\n\n      xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n    })\n  }\n  self.fetch.polyfill = true\n})(typeof self !== 'undefined' ? self : this);\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/css/editormd.css",
    "content": "/*\n * Editor.md\n *\n * @file        editormd.css \n * @version     v1.5.0 \n * @description Open source online markdown editor.\n * @license     MIT License\n * @author      Pandao\n * {@link       https://github.com/pandao/editor.md}\n * @updateTime  2015-06-09\n */\n\n@charset \"UTF-8\";\n/*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 */\n.editormd {\n  width: 90%;\n  height: 640px;\n  margin: 0 auto;\n  text-align: left;\n  overflow: hidden;\n  position: relative;\n  margin-bottom: 15px;\n  border: 1px solid #ddd;\n  font-family: \"Meiryo UI\", \"Microsoft YaHei\", \"Malgun Gothic\", \"Segoe UI\", \"Trebuchet MS\", Helvetica, \"Monaco\", monospace, Tahoma, STXihei, \"华文细黑\", STHeiti, \"Helvetica Neue\", \"Droid Sans\", \"wenquanyi micro hei\", FreeSans, Arimo, Arial, SimSun, \"宋体\", Heiti, \"黑体\", sans-serif;\n}\n.editormd *, .editormd *:before, .editormd *:after {\n  -webkit-box-sizing: border-box;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n.editormd a {\n  text-decoration: none;\n}\n.editormd img {\n  border: none;\n  vertical-align: middle;\n}\n.editormd > textarea,\n.editormd .editormd-html-textarea,\n.editormd .editormd-markdown-textarea {\n  width: 0;\n  height: 0;\n  outline: 0;\n  resize: none;\n}\n.editormd .editormd-html-textarea,\n.editormd .editormd-markdown-textarea {\n  display: none;\n}\n.editormd input[type=\"text\"],\n.editormd input[type=\"button\"],\n.editormd input[type=\"submit\"],\n.editormd select, .editormd textarea, .editormd button {\n  -webkit-appearance: none;\n  -moz-appearance: none;\n  -ms-appearance: none;\n  appearance: none;\n}\n.editormd ::-webkit-scrollbar {\n  height: 10px;\n  width: 7px;\n  background: rgba(0, 0, 0, 0.1);\n}\n.editormd ::-webkit-scrollbar:hover {\n  background: rgba(0, 0, 0, 0.2);\n}\n.editormd ::-webkit-scrollbar-thumb {\n  background: rgba(0, 0, 0, 0.3);\n  -webkit-border-radius: 6px;\n  -moz-border-radius: 6px;\n  -ms-border-radius: 6px;\n  -o-border-radius: 6px;\n  border-radius: 6px;\n}\n.editormd ::-webkit-scrollbar-thumb:hover {\n  -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);\n  /* Webkit browsers */\n  -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);\n  /* Firefox */\n  -ms-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);\n  /* IE9 */\n  -o-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);\n  /* Opera(Old) */\n  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);\n  /* IE9+, News */\n  background-color: rgba(0, 0, 0, 0.4);\n}\n\n.editormd-user-unselect {\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  -o-user-select: none;\n  user-select: none;\n}\n\n.editormd-toolbar {\n  width: 100%;\n  min-height: 37px;\n  background: #fff;\n  display: none;\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 10;\n  border-bottom: 1px solid #ddd;\n}\n\n.editormd-toolbar-container {\n  padding: 0 8px;\n  min-height: 35px;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  -o-user-select: none;\n  user-select: none;\n}\n\n.editormd-menu {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.editormd-menu > li {\n  margin: 0;\n  padding: 5px 1px;\n  display: inline-block;\n  position: relative;\n}\n.editormd-menu > li.divider {\n  display: inline-block;\n  text-indent: -9999px;\n  margin: 0 5px;\n  height: 65%;\n  border-right: 1px solid #ddd;\n}\n.editormd-menu > li > a {\n  outline: 0;\n  color: #666;\n  display: inline-block;\n  min-width: 24px;\n  font-size: 16px;\n  text-decoration: none;\n  text-align: center;\n  -webkit-border-radius: 2px;\n  -moz-border-radius: 2px;\n  -ms-border-radius: 2px;\n  -o-border-radius: 2px;\n  border-radius: 2px;\n  border: 1px solid #fff;\n  -webkit-transition: all 300ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: all 300ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: all 300ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-menu > li > a:hover, .editormd-menu > li > a.active {\n  border: 1px solid #ddd;\n  background: #eee;\n}\n.editormd-menu > li > a > .fa {\n  text-align: center;\n  display: block;\n  padding: 5px;\n}\n.editormd-menu > li > a > .editormd-bold {\n  padding: 5px 2px;\n  display: inline-block;\n  font-weight: bold;\n}\n.editormd-menu > li:hover .editormd-dropdown-menu {\n  display: block;\n}\n.editormd-menu > li + li > a {\n  margin-left: 3px;\n}\n\n.editormd-dropdown-menu {\n  display: none;\n  background: #fff;\n  border: 1px solid #ddd;\n  width: 148px;\n  list-style: none;\n  position: absolute;\n  top: 33px;\n  left: 0;\n  z-index: 100;\n  -webkit-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15);\n  /* Webkit browsers */\n  -moz-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15);\n  /* Firefox */\n  -ms-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15);\n  /* IE9 */\n  -o-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15);\n  /* Opera(Old) */\n  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15);\n  /* IE9+, News */\n}\n.editormd-dropdown-menu:before, .editormd-dropdown-menu:after {\n  width: 0;\n  height: 0;\n  display: block;\n  content: \"\";\n  position: absolute;\n  top: -11px;\n  left: 8px;\n  border: 5px solid transparent;\n}\n.editormd-dropdown-menu:before {\n  border-bottom-color: #ccc;\n}\n.editormd-dropdown-menu:after {\n  border-bottom-color: #ffffff;\n  top: -10px;\n}\n.editormd-dropdown-menu > li > a {\n  color: #666;\n  display: block;\n  text-decoration: none;\n  padding: 8px 10px;\n}\n.editormd-dropdown-menu > li > a:hover {\n  background: #f6f6f6;\n  -webkit-transition: all 300ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: all 300ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: all 300ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-dropdown-menu > li + li {\n  border-top: 1px solid #ddd;\n}\n\n.editormd-container {\n  margin: 0;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n  padding: 35px 0 0;\n  position: relative;\n  background: #fff;\n  -webkit-box-sizing: border-box;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n\n.editormd-dialog {\n  color: #666;\n  position: fixed;\n  z-index: 99999;\n  display: none;\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  -ms-border-radius: 3px;\n  -o-border-radius: 3px;\n  border-radius: 3px;\n  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);\n  /* Webkit browsers */\n  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);\n  /* Firefox */\n  -ms-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);\n  /* IE9 */\n  -o-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);\n  /* Opera(Old) */\n  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);\n  /* IE9+, News */\n  background: #fff;\n  font-size: 14px;\n}\n\n.editormd-dialog-container {\n  position: relative;\n  padding: 20px;\n  line-height: 1.4;\n}\n.editormd-dialog-container h1 {\n  font-size: 24px;\n  margin-bottom: 10px;\n}\n.editormd-dialog-container h1 .fa {\n  color: #2C7EEA;\n  padding-right: 5px;\n}\n.editormd-dialog-container h1 small {\n  padding-left: 5px;\n  font-weight: normal;\n  font-size: 12px;\n  color: #999;\n}\n.editormd-dialog-container select {\n  color: #999;\n  padding: 3px 8px;\n  border: 1px solid #ddd;\n}\n\n.editormd-dialog-close {\n  position: absolute;\n  top: 12px;\n  right: 15px;\n  font-size: 18px;\n  color: #ccc;\n  -webkit-transition: color 300ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: color 300ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: color 300ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-dialog-close:hover {\n  color: #999;\n}\n\n.editormd-dialog-header {\n  padding: 11px 20px;\n  border-bottom: 1px solid #eee;\n  -webkit-transition: background 300ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: background 300ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: background 300ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-dialog-header:hover {\n  background: #f6f6f6;\n}\n\n.editormd-dialog-title {\n  font-size: 14px;\n}\n\n.editormd-dialog-footer {\n  padding: 10px 0 0 0;\n  text-align: right;\n}\n\n.editormd-dialog-info {\n  width: 420px;\n}\n.editormd-dialog-info h1 {\n  font-weight: normal;\n}\n.editormd-dialog-info .editormd-dialog-container {\n  padding: 20px 25px 25px;\n}\n.editormd-dialog-info .editormd-dialog-close {\n  top: 10px;\n  right: 10px;\n}\n.editormd-dialog-info p > a, .editormd-dialog-info .hover-link:hover {\n  color: #2196F3;\n}\n.editormd-dialog-info .hover-link {\n  color: #666;\n}\n.editormd-dialog-info a .fa-external-link {\n  display: none;\n}\n.editormd-dialog-info a:hover {\n  color: #2196F3;\n}\n.editormd-dialog-info a:hover .fa-external-link {\n  display: inline-block;\n}\n\n.editormd-mask,\n.editormd-container-mask,\n.editormd-dialog-mask {\n  display: none;\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  top: 0;\n  left: 0;\n}\n\n.editormd-mask,\n.editormd-dialog-mask-bg {\n  background: #fff;\n  opacity: 0.5;\n  filter: alpha(opacity=50);\n}\n\n.editormd-mask {\n  position: fixed;\n  background: #000;\n  opacity: 0.2;\n  /* W3C */\n  filter: alpha(opacity=20);\n  /* IE */\n  z-index: 99998;\n}\n\n.editormd-container-mask,\n.editormd-dialog-mask-con {\n  background: url(../images/loading.gif) no-repeat center center;\n  -webkit-background-size: 32px 32px;\n  /* Chrome, iOS, Safari */\n  -moz-background-size: 32px 32px;\n  /* Firefox 3.6~4.0 */\n  -o-background-size: 32px 32px;\n  /* Opera 9.5 */\n  background-size: 32px 32px;\n  /* IE9+, New */\n}\n\n.editormd-container-mask {\n  z-index: 20;\n  display: block;\n  background-color: #fff;\n}\n\n@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {\n  .editormd-container-mask,\n  .editormd-dialog-mask-con {\n    background-image: url(../images/loading@2x.gif);\n  }\n}\n@media only screen and (-webkit-min-device-pixel-ratio: 3), only screen and (min-device-pixel-ratio: 3) {\n  .editormd-container-mask,\n  .editormd-dialog-mask-con {\n    background-image: url(../images/loading@3x.gif);\n  }\n}\n.editormd-code-block-dialog textarea,\n.editormd-preformatted-text-dialog textarea {\n  width: 100%;\n  height: 400px;\n  margin-bottom: 6px;\n  overflow: auto;\n  border: 1px solid #eee;\n  background: #fff;\n  padding: 15px;\n  resize: none;\n}\n\n.editormd-code-toolbar {\n  color: #999;\n  font-size: 14px;\n  margin: -5px 0 10px;\n}\n\n.editormd-grid-table {\n  width: 99%;\n  display: table;\n  border: 1px solid #ddd;\n  border-collapse: collapse;\n}\n\n.editormd-grid-table-row {\n  width: 100%;\n  display: table-row;\n}\n.editormd-grid-table-row a {\n  font-size: 1.4em;\n  width: 5%;\n  height: 36px;\n  color: #999;\n  text-align: center;\n  display: table-cell;\n  vertical-align: middle;\n  border: 1px solid #ddd;\n  text-decoration: none;\n  -webkit-transition: background-color 300ms ease-out, color 100ms ease-in;\n  /* Safari, Chrome */\n  -moz-transition: background-color 300ms ease-out, color 100ms ease-in;\n  /* Firefox 4.0~16.0 */\n  transition: background-color 300ms ease-out, color 100ms ease-in;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-grid-table-row a.selected {\n  color: #666;\n  background-color: #eee;\n}\n.editormd-grid-table-row a:hover {\n  color: #777;\n  background-color: #f6f6f6;\n}\n\n.editormd-tab-head {\n  list-style: none;\n  border-bottom: 1px solid #ddd;\n}\n.editormd-tab-head li {\n  display: inline-block;\n}\n.editormd-tab-head li a {\n  color: #999;\n  display: block;\n  padding: 6px 12px 5px;\n  text-align: center;\n  text-decoration: none;\n  margin-bottom: -1px;\n  border: 1px solid #ddd;\n  -webkit-border-top-left-radius: 3px;\n  -moz-border-top-left-radius: 3px;\n  -ms-border-top-left-radius: 3px;\n  -o-border-top-left-radius: 3px;\n  border-top-left-radius: 3px;\n  -webkit-border-top-right-radius: 3px;\n  -moz-border-top-right-radius: 3px;\n  -ms-border-top-right-radius: 3px;\n  -o-border-top-right-radius: 3px;\n  border-top-right-radius: 3px;\n  background: #f6f6f6;\n  -webkit-transition: all 300ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: all 300ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: all 300ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-tab-head li a:hover {\n  color: #666;\n  background: #eee;\n}\n.editormd-tab-head li.active a {\n  color: #666;\n  background: #fff;\n  border-bottom-color: #fff;\n}\n.editormd-tab-head li + li {\n  margin-left: 3px;\n}\n\n.editormd-tab-box {\n  padding: 20px 0;\n}\n\n.editormd-form {\n  color: #666;\n}\n.editormd-form label {\n  float: left;\n  display: block;\n  width: 75px;\n  text-align: left;\n  padding: 7px 0 15px 5px;\n  margin: 0 0 2px;\n  font-weight: normal;\n}\n.editormd-form br {\n  clear: both;\n}\n.editormd-form iframe {\n  display: none;\n}\n.editormd-form input:focus {\n  outline: 0;\n}\n.editormd-form input[type=\"text\"], .editormd-form input[type=\"number\"] {\n  color: #999;\n  padding: 8px;\n  border: 1px solid #ddd;\n}\n.editormd-form input[type=\"number\"] {\n  width: 40px;\n  display: inline-block;\n  padding: 6px 8px;\n}\n.editormd-form input[type=\"text\"] {\n  display: inline-block;\n  width: 264px;\n}\n.editormd-form .fa-btns {\n  display: inline-block;\n}\n.editormd-form .fa-btns a {\n  color: #999;\n  padding: 7px 10px 0 0;\n  display: inline-block;\n  text-decoration: none;\n  text-align: center;\n}\n.editormd-form .fa-btns .fa {\n  font-size: 1.3em;\n}\n.editormd-form .fa-btns label {\n  float: none;\n  display: inline-block;\n  width: auto;\n  text-align: left;\n  padding: 0 0 0 5px;\n  cursor: pointer;\n}\n\n.editormd-form input[type=\"submit\"], .editormd-form .editormd-btn, .editormd-form button,\n.editormd-dialog-container input[type=\"submit\"],\n.editormd-dialog-container .editormd-btn,\n.editormd-dialog-container button,\n.editormd-dialog-footer input[type=\"submit\"],\n.editormd-dialog-footer .editormd-btn,\n.editormd-dialog-footer button {\n  color: #666;\n  min-width: 75px;\n  cursor: pointer;\n  background: #fff;\n  padding: 7px 10px;\n  border: 1px solid #ddd;\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  -ms-border-radius: 3px;\n  -o-border-radius: 3px;\n  border-radius: 3px;\n  -webkit-transition: background 300ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: background 300ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: background 300ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-form input[type=\"submit\"]:hover, .editormd-form .editormd-btn:hover, .editormd-form button:hover,\n.editormd-dialog-container input[type=\"submit\"]:hover,\n.editormd-dialog-container .editormd-btn:hover,\n.editormd-dialog-container button:hover,\n.editormd-dialog-footer input[type=\"submit\"]:hover,\n.editormd-dialog-footer .editormd-btn:hover,\n.editormd-dialog-footer button:hover {\n  background: #eee;\n}\n.editormd-form .editormd-btn,\n.editormd-dialog-container .editormd-btn,\n.editormd-dialog-footer .editormd-btn {\n  padding: 5px 8px 4px\\0;\n}\n.editormd-form .editormd-btn + .editormd-btn,\n.editormd-dialog-container .editormd-btn + .editormd-btn,\n.editormd-dialog-footer .editormd-btn + .editormd-btn {\n  margin-left: 8px;\n}\n\n.editormd-file-input {\n  width: 75px;\n  height: 32px;\n  margin-left: 8px;\n  position: relative;\n  display: inline-block;\n}\n.editormd-file-input input[type=\"file\"] {\n  width: 75px;\n  height: 32px;\n  opacity: 0;\n  cursor: pointer;\n  background: #000;\n  display: inline-block;\n  position: absolute;\n  top: 0;\n  right: 0;\n}\n.editormd-file-input input[type=\"file\"]::-webkit-file-upload-button {\n  visibility: hidden;\n}\n.editormd-file-input:hover input[type=\"submit\"] {\n  background: #eee;\n}\n\n.editormd .CodeMirror, .editormd-preview {\n  display: inline-block;\n  width: 50%;\n  height: 100%;\n  vertical-align: top;\n  -webkit-box-sizing: border-box;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n  margin: 0;\n}\n\n.editormd-preview {\n  position: absolute;\n  top: 35px;\n  right: 0;\n  right: -1px\\0;\n  overflow: auto;\n  line-height: 1.6;\n  display: none;\n  background: #fff;\n}\n\n.editormd .CodeMirror {\n  z-index: 10;\n  float: left;\n  border-right: 1px solid #ddd;\n  font-size: 14px;\n  font-family: \"YaHei Consolas Hybrid\", Consolas, \"微软雅黑\", \"Meiryo UI\", \"Malgun Gothic\", \"Segoe UI\", \"Trebuchet MS\", Helvetica, \"Monaco\", courier, monospace;\n  line-height: 1.6;\n  margin-top: 35px;\n}\n.editormd .CodeMirror pre {\n  font-size: 14px;\n  padding: 0 12px;\n}\n.editormd .CodeMirror-linenumbers {\n  padding: 0 5px;\n}\n.editormd .CodeMirror-selected {\n  background: #70B7FF;\n}\n.editormd .CodeMirror-focused .CodeMirror-selected {\n  background: #70B7FF;\n}\n.editormd .CodeMirror, .editormd .CodeMirror-scroll, .editormd .editormd-preview {\n  -webkit-overflow-scrolling: touch;\n}\n.editormd .styled-background {\n  background-color: #ff7;\n}\n.editormd .CodeMirror-focused .cm-matchhighlight {\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFklEQVQI12NgYGBgkKzc8x9CMDAwAAAmhwSbidEoSQAAAABJRU5ErkJggg==);\n  background-position: bottom;\n  background-repeat: repeat-x;\n}\n.editormd .CodeMirror-empty.CodeMirror-focused {\n  outline: none;\n}\n.editormd .CodeMirror pre.CodeMirror-placeholder {\n  color: #999;\n}\n.editormd .cm-trailingspace {\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QUXCToH00Y1UgAAACFJREFUCNdjPMDBUc/AwNDAAAFMTAwMDA0OP34wQgX/AQBYgwYEx4f9lQAAAABJRU5ErkJggg==);\n  background-position: bottom left;\n  background-repeat: repeat-x;\n}\n.editormd .cm-tab {\n  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);\n  background-position: right;\n  background-repeat: no-repeat;\n}\n\n/*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 */\n/*!\n *  Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome\n *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\n */\n/* FONT PATH\n * -------------------------- */\n@font-face {\n  font-family: 'FontAwesome';\n  src: url(\"../fonts/fontawesome-webfont.eot?v=4.3.0\");\n  src: url(\"../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0\") format(\"embedded-opentype\"), url(\"../fonts/fontawesome-webfont.woff2?v=4.3.0\") format(\"woff2\"), url(\"../fonts/fontawesome-webfont.woff?v=4.3.0\") format(\"woff\"), url(\"../fonts/fontawesome-webfont.ttf?v=4.3.0\") format(\"truetype\"), url(\"../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular\") format(\"svg\");\n  font-weight: normal;\n  font-style: normal;\n}\n.fa {\n  display: inline-block;\n  font: normal normal normal 14px/1 FontAwesome;\n  font-size: inherit;\n  text-rendering: auto;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  transform: translate(0, 0);\n}\n\n/* makes the font 33% larger relative to the icon container */\n.fa-lg {\n  font-size: 1.33333333em;\n  line-height: 0.75em;\n  vertical-align: -15%;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-fw {\n  width: 1.28571429em;\n  text-align: center;\n}\n\n.fa-ul {\n  padding-left: 0;\n  margin-left: 2.14285714em;\n  list-style-type: none;\n}\n\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  position: absolute;\n  left: -2.14285714em;\n  width: 2.14285714em;\n  top: 0.14285714em;\n  text-align: center;\n}\n\n.fa-li.fa-lg {\n  left: -1.85714286em;\n}\n\n.fa-border {\n  padding: .2em .25em .15em;\n  border: solid 0.08em #eeeeee;\n  border-radius: .1em;\n}\n\n.pull-right {\n  float: right;\n}\n\n.pull-left {\n  float: left;\n}\n\n.fa.pull-left {\n  margin-right: .3em;\n}\n\n.fa.pull-right {\n  margin-left: .3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n  animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n  animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n    transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(359deg);\n    transform: rotate(359deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n    transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(359deg);\n    transform: rotate(359deg);\n  }\n}\n.fa-rotate-90 {\n  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);\n  -webkit-transform: rotate(90deg);\n  -ms-transform: rotate(90deg);\n  transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);\n  -webkit-transform: rotate(180deg);\n  -ms-transform: rotate(180deg);\n  transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);\n  -webkit-transform: rotate(270deg);\n  -ms-transform: rotate(270deg);\n  transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);\n  -webkit-transform: scale(-1, 1);\n  -ms-transform: scale(-1, 1);\n  transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);\n  -webkit-transform: scale(1, -1);\n  -ms-transform: scale(1, -1);\n  transform: scale(1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical {\n  filter: none;\n}\n\n.fa-stack {\n  position: relative;\n  display: inline-block;\n  width: 2em;\n  height: 2em;\n  line-height: 2em;\n  vertical-align: middle;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  position: absolute;\n  left: 0;\n  width: 100%;\n  text-align: center;\n}\n\n.fa-stack-1x {\n  line-height: inherit;\n}\n\n.fa-stack-2x {\n  font-size: 2em;\n}\n\n.fa-inverse {\n  color: #ffffff;\n}\n\n/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen\n   readers do not read off random characters that represent icons */\n.fa-glass:before {\n  content: \"\\f000\";\n}\n\n.fa-music:before {\n  content: \"\\f001\";\n}\n\n.fa-search:before {\n  content: \"\\f002\";\n}\n\n.fa-envelope-o:before {\n  content: \"\\f003\";\n}\n\n.fa-heart:before {\n  content: \"\\f004\";\n}\n\n.fa-star:before {\n  content: \"\\f005\";\n}\n\n.fa-star-o:before {\n  content: \"\\f006\";\n}\n\n.fa-user:before {\n  content: \"\\f007\";\n}\n\n.fa-film:before {\n  content: \"\\f008\";\n}\n\n.fa-th-large:before {\n  content: \"\\f009\";\n}\n\n.fa-th:before {\n  content: \"\\f00a\";\n}\n\n.fa-th-list:before {\n  content: \"\\f00b\";\n}\n\n.fa-check:before {\n  content: \"\\f00c\";\n}\n\n.fa-remove:before,\n.fa-close:before,\n.fa-times:before {\n  content: \"\\f00d\";\n}\n\n.fa-search-plus:before {\n  content: \"\\f00e\";\n}\n\n.fa-search-minus:before {\n  content: \"\\f010\";\n}\n\n.fa-power-off:before {\n  content: \"\\f011\";\n}\n\n.fa-signal:before {\n  content: \"\\f012\";\n}\n\n.fa-gear:before,\n.fa-cog:before {\n  content: \"\\f013\";\n}\n\n.fa-trash-o:before {\n  content: \"\\f014\";\n}\n\n.fa-home:before {\n  content: \"\\f015\";\n}\n\n.fa-file-o:before {\n  content: \"\\f016\";\n}\n\n.fa-clock-o:before {\n  content: \"\\f017\";\n}\n\n.fa-road:before {\n  content: \"\\f018\";\n}\n\n.fa-download:before {\n  content: \"\\f019\";\n}\n\n.fa-arrow-circle-o-down:before {\n  content: \"\\f01a\";\n}\n\n.fa-arrow-circle-o-up:before {\n  content: \"\\f01b\";\n}\n\n.fa-inbox:before {\n  content: \"\\f01c\";\n}\n\n.fa-play-circle-o:before {\n  content: \"\\f01d\";\n}\n\n.fa-rotate-right:before,\n.fa-repeat:before {\n  content: \"\\f01e\";\n}\n\n.fa-refresh:before {\n  content: \"\\f021\";\n}\n\n.fa-list-alt:before {\n  content: \"\\f022\";\n}\n\n.fa-lock:before {\n  content: \"\\f023\";\n}\n\n.fa-flag:before {\n  content: \"\\f024\";\n}\n\n.fa-headphones:before {\n  content: \"\\f025\";\n}\n\n.fa-volume-off:before {\n  content: \"\\f026\";\n}\n\n.fa-volume-down:before {\n  content: \"\\f027\";\n}\n\n.fa-volume-up:before {\n  content: \"\\f028\";\n}\n\n.fa-qrcode:before {\n  content: \"\\f029\";\n}\n\n.fa-barcode:before {\n  content: \"\\f02a\";\n}\n\n.fa-tag:before {\n  content: \"\\f02b\";\n}\n\n.fa-tags:before {\n  content: \"\\f02c\";\n}\n\n.fa-book:before {\n  content: \"\\f02d\";\n}\n\n.fa-bookmark:before {\n  content: \"\\f02e\";\n}\n\n.fa-print:before {\n  content: \"\\f02f\";\n}\n\n.fa-camera:before {\n  content: \"\\f030\";\n}\n\n.fa-font:before {\n  content: \"\\f031\";\n}\n\n.fa-bold:before {\n  content: \"\\f032\";\n}\n\n.fa-italic:before {\n  content: \"\\f033\";\n}\n\n.fa-text-height:before {\n  content: \"\\f034\";\n}\n\n.fa-text-width:before {\n  content: \"\\f035\";\n}\n\n.fa-align-left:before {\n  content: \"\\f036\";\n}\n\n.fa-align-center:before {\n  content: \"\\f037\";\n}\n\n.fa-align-right:before {\n  content: \"\\f038\";\n}\n\n.fa-align-justify:before {\n  content: \"\\f039\";\n}\n\n.fa-list:before {\n  content: \"\\f03a\";\n}\n\n.fa-dedent:before,\n.fa-outdent:before {\n  content: \"\\f03b\";\n}\n\n.fa-indent:before {\n  content: \"\\f03c\";\n}\n\n.fa-video-camera:before {\n  content: \"\\f03d\";\n}\n\n.fa-photo:before,\n.fa-image:before,\n.fa-picture-o:before {\n  content: \"\\f03e\";\n}\n\n.fa-pencil:before {\n  content: \"\\f040\";\n}\n\n.fa-map-marker:before {\n  content: \"\\f041\";\n}\n\n.fa-adjust:before {\n  content: \"\\f042\";\n}\n\n.fa-tint:before {\n  content: \"\\f043\";\n}\n\n.fa-edit:before,\n.fa-pencil-square-o:before {\n  content: \"\\f044\";\n}\n\n.fa-share-square-o:before {\n  content: \"\\f045\";\n}\n\n.fa-check-square-o:before {\n  content: \"\\f046\";\n}\n\n.fa-arrows:before {\n  content: \"\\f047\";\n}\n\n.fa-step-backward:before {\n  content: \"\\f048\";\n}\n\n.fa-fast-backward:before {\n  content: \"\\f049\";\n}\n\n.fa-backward:before {\n  content: \"\\f04a\";\n}\n\n.fa-play:before {\n  content: \"\\f04b\";\n}\n\n.fa-pause:before {\n  content: \"\\f04c\";\n}\n\n.fa-stop:before {\n  content: \"\\f04d\";\n}\n\n.fa-forward:before {\n  content: \"\\f04e\";\n}\n\n.fa-fast-forward:before {\n  content: \"\\f050\";\n}\n\n.fa-step-forward:before {\n  content: \"\\f051\";\n}\n\n.fa-eject:before {\n  content: \"\\f052\";\n}\n\n.fa-chevron-left:before {\n  content: \"\\f053\";\n}\n\n.fa-chevron-right:before {\n  content: \"\\f054\";\n}\n\n.fa-plus-circle:before {\n  content: \"\\f055\";\n}\n\n.fa-minus-circle:before {\n  content: \"\\f056\";\n}\n\n.fa-times-circle:before {\n  content: \"\\f057\";\n}\n\n.fa-check-circle:before {\n  content: \"\\f058\";\n}\n\n.fa-question-circle:before {\n  content: \"\\f059\";\n}\n\n.fa-info-circle:before {\n  content: \"\\f05a\";\n}\n\n.fa-crosshairs:before {\n  content: \"\\f05b\";\n}\n\n.fa-times-circle-o:before {\n  content: \"\\f05c\";\n}\n\n.fa-check-circle-o:before {\n  content: \"\\f05d\";\n}\n\n.fa-ban:before {\n  content: \"\\f05e\";\n}\n\n.fa-arrow-left:before {\n  content: \"\\f060\";\n}\n\n.fa-arrow-right:before {\n  content: \"\\f061\";\n}\n\n.fa-arrow-up:before {\n  content: \"\\f062\";\n}\n\n.fa-arrow-down:before {\n  content: \"\\f063\";\n}\n\n.fa-mail-forward:before,\n.fa-share:before {\n  content: \"\\f064\";\n}\n\n.fa-expand:before {\n  content: \"\\f065\";\n}\n\n.fa-compress:before {\n  content: \"\\f066\";\n}\n\n.fa-plus:before {\n  content: \"\\f067\";\n}\n\n.fa-minus:before {\n  content: \"\\f068\";\n}\n\n.fa-asterisk:before {\n  content: \"\\f069\";\n}\n\n.fa-exclamation-circle:before {\n  content: \"\\f06a\";\n}\n\n.fa-gift:before {\n  content: \"\\f06b\";\n}\n\n.fa-leaf:before {\n  content: \"\\f06c\";\n}\n\n.fa-fire:before {\n  content: \"\\f06d\";\n}\n\n.fa-eye:before {\n  content: \"\\f06e\";\n}\n\n.fa-eye-slash:before {\n  content: \"\\f070\";\n}\n\n.fa-warning:before,\n.fa-exclamation-triangle:before {\n  content: \"\\f071\";\n}\n\n.fa-plane:before {\n  content: \"\\f072\";\n}\n\n.fa-calendar:before {\n  content: \"\\f073\";\n}\n\n.fa-random:before {\n  content: \"\\f074\";\n}\n\n.fa-comment:before {\n  content: \"\\f075\";\n}\n\n.fa-magnet:before {\n  content: \"\\f076\";\n}\n\n.fa-chevron-up:before {\n  content: \"\\f077\";\n}\n\n.fa-chevron-down:before {\n  content: \"\\f078\";\n}\n\n.fa-retweet:before {\n  content: \"\\f079\";\n}\n\n.fa-shopping-cart:before {\n  content: \"\\f07a\";\n}\n\n.fa-folder:before {\n  content: \"\\f07b\";\n}\n\n.fa-folder-open:before {\n  content: \"\\f07c\";\n}\n\n.fa-arrows-v:before {\n  content: \"\\f07d\";\n}\n\n.fa-arrows-h:before {\n  content: \"\\f07e\";\n}\n\n.fa-bar-chart-o:before,\n.fa-bar-chart:before {\n  content: \"\\f080\";\n}\n\n.fa-twitter-square:before {\n  content: \"\\f081\";\n}\n\n.fa-facebook-square:before {\n  content: \"\\f082\";\n}\n\n.fa-camera-retro:before {\n  content: \"\\f083\";\n}\n\n.fa-key:before {\n  content: \"\\f084\";\n}\n\n.fa-gears:before,\n.fa-cogs:before {\n  content: \"\\f085\";\n}\n\n.fa-comments:before {\n  content: \"\\f086\";\n}\n\n.fa-thumbs-o-up:before {\n  content: \"\\f087\";\n}\n\n.fa-thumbs-o-down:before {\n  content: \"\\f088\";\n}\n\n.fa-star-half:before {\n  content: \"\\f089\";\n}\n\n.fa-heart-o:before {\n  content: \"\\f08a\";\n}\n\n.fa-sign-out:before {\n  content: \"\\f08b\";\n}\n\n.fa-linkedin-square:before {\n  content: \"\\f08c\";\n}\n\n.fa-thumb-tack:before {\n  content: \"\\f08d\";\n}\n\n.fa-external-link:before {\n  content: \"\\f08e\";\n}\n\n.fa-sign-in:before {\n  content: \"\\f090\";\n}\n\n.fa-trophy:before {\n  content: \"\\f091\";\n}\n\n.fa-github-square:before {\n  content: \"\\f092\";\n}\n\n.fa-upload:before {\n  content: \"\\f093\";\n}\n\n.fa-lemon-o:before {\n  content: \"\\f094\";\n}\n\n.fa-phone:before {\n  content: \"\\f095\";\n}\n\n.fa-square-o:before {\n  content: \"\\f096\";\n}\n\n.fa-bookmark-o:before {\n  content: \"\\f097\";\n}\n\n.fa-phone-square:before {\n  content: \"\\f098\";\n}\n\n.fa-twitter:before {\n  content: \"\\f099\";\n}\n\n.fa-facebook-f:before,\n.fa-facebook:before {\n  content: \"\\f09a\";\n}\n\n.fa-github:before {\n  content: \"\\f09b\";\n}\n\n.fa-unlock:before {\n  content: \"\\f09c\";\n}\n\n.fa-credit-card:before {\n  content: \"\\f09d\";\n}\n\n.fa-rss:before {\n  content: \"\\f09e\";\n}\n\n.fa-hdd-o:before {\n  content: \"\\f0a0\";\n}\n\n.fa-bullhorn:before {\n  content: \"\\f0a1\";\n}\n\n.fa-bell:before {\n  content: \"\\f0f3\";\n}\n\n.fa-certificate:before {\n  content: \"\\f0a3\";\n}\n\n.fa-hand-o-right:before {\n  content: \"\\f0a4\";\n}\n\n.fa-hand-o-left:before {\n  content: \"\\f0a5\";\n}\n\n.fa-hand-o-up:before {\n  content: \"\\f0a6\";\n}\n\n.fa-hand-o-down:before {\n  content: \"\\f0a7\";\n}\n\n.fa-arrow-circle-left:before {\n  content: \"\\f0a8\";\n}\n\n.fa-arrow-circle-right:before {\n  content: \"\\f0a9\";\n}\n\n.fa-arrow-circle-up:before {\n  content: \"\\f0aa\";\n}\n\n.fa-arrow-circle-down:before {\n  content: \"\\f0ab\";\n}\n\n.fa-globe:before {\n  content: \"\\f0ac\";\n}\n\n.fa-wrench:before {\n  content: \"\\f0ad\";\n}\n\n.fa-tasks:before {\n  content: \"\\f0ae\";\n}\n\n.fa-filter:before {\n  content: \"\\f0b0\";\n}\n\n.fa-briefcase:before {\n  content: \"\\f0b1\";\n}\n\n.fa-arrows-alt:before {\n  content: \"\\f0b2\";\n}\n\n.fa-group:before,\n.fa-users:before {\n  content: \"\\f0c0\";\n}\n\n.fa-chain:before,\n.fa-link:before {\n  content: \"\\f0c1\";\n}\n\n.fa-cloud:before {\n  content: \"\\f0c2\";\n}\n\n.fa-flask:before {\n  content: \"\\f0c3\";\n}\n\n.fa-cut:before,\n.fa-scissors:before {\n  content: \"\\f0c4\";\n}\n\n.fa-copy:before,\n.fa-files-o:before {\n  content: \"\\f0c5\";\n}\n\n.fa-paperclip:before {\n  content: \"\\f0c6\";\n}\n\n.fa-save:before,\n.fa-floppy-o:before {\n  content: \"\\f0c7\";\n}\n\n.fa-square:before {\n  content: \"\\f0c8\";\n}\n\n.fa-navicon:before,\n.fa-reorder:before,\n.fa-bars:before {\n  content: \"\\f0c9\";\n}\n\n.fa-list-ul:before {\n  content: \"\\f0ca\";\n}\n\n.fa-list-ol:before {\n  content: \"\\f0cb\";\n}\n\n.fa-strikethrough:before {\n  content: \"\\f0cc\";\n}\n\n.fa-underline:before {\n  content: \"\\f0cd\";\n}\n\n.fa-table:before {\n  content: \"\\f0ce\";\n}\n\n.fa-magic:before {\n  content: \"\\f0d0\";\n}\n\n.fa-truck:before {\n  content: \"\\f0d1\";\n}\n\n.fa-pinterest:before {\n  content: \"\\f0d2\";\n}\n\n.fa-pinterest-square:before {\n  content: \"\\f0d3\";\n}\n\n.fa-google-plus-square:before {\n  content: \"\\f0d4\";\n}\n\n.fa-google-plus:before {\n  content: \"\\f0d5\";\n}\n\n.fa-money:before {\n  content: \"\\f0d6\";\n}\n\n.fa-caret-down:before {\n  content: \"\\f0d7\";\n}\n\n.fa-caret-up:before {\n  content: \"\\f0d8\";\n}\n\n.fa-caret-left:before {\n  content: \"\\f0d9\";\n}\n\n.fa-caret-right:before {\n  content: \"\\f0da\";\n}\n\n.fa-columns:before {\n  content: \"\\f0db\";\n}\n\n.fa-unsorted:before,\n.fa-sort:before {\n  content: \"\\f0dc\";\n}\n\n.fa-sort-down:before,\n.fa-sort-desc:before {\n  content: \"\\f0dd\";\n}\n\n.fa-sort-up:before,\n.fa-sort-asc:before {\n  content: \"\\f0de\";\n}\n\n.fa-envelope:before {\n  content: \"\\f0e0\";\n}\n\n.fa-linkedin:before {\n  content: \"\\f0e1\";\n}\n\n.fa-rotate-left:before,\n.fa-undo:before {\n  content: \"\\f0e2\";\n}\n\n.fa-legal:before,\n.fa-gavel:before {\n  content: \"\\f0e3\";\n}\n\n.fa-dashboard:before,\n.fa-tachometer:before {\n  content: \"\\f0e4\";\n}\n\n.fa-comment-o:before {\n  content: \"\\f0e5\";\n}\n\n.fa-comments-o:before {\n  content: \"\\f0e6\";\n}\n\n.fa-flash:before,\n.fa-bolt:before {\n  content: \"\\f0e7\";\n}\n\n.fa-sitemap:before {\n  content: \"\\f0e8\";\n}\n\n.fa-umbrella:before {\n  content: \"\\f0e9\";\n}\n\n.fa-paste:before,\n.fa-clipboard:before {\n  content: \"\\f0ea\";\n}\n\n.fa-lightbulb-o:before {\n  content: \"\\f0eb\";\n}\n\n.fa-exchange:before {\n  content: \"\\f0ec\";\n}\n\n.fa-cloud-download:before {\n  content: \"\\f0ed\";\n}\n\n.fa-cloud-upload:before {\n  content: \"\\f0ee\";\n}\n\n.fa-user-md:before {\n  content: \"\\f0f0\";\n}\n\n.fa-stethoscope:before {\n  content: \"\\f0f1\";\n}\n\n.fa-suitcase:before {\n  content: \"\\f0f2\";\n}\n\n.fa-bell-o:before {\n  content: \"\\f0a2\";\n}\n\n.fa-coffee:before {\n  content: \"\\f0f4\";\n}\n\n.fa-cutlery:before {\n  content: \"\\f0f5\";\n}\n\n.fa-file-text-o:before {\n  content: \"\\f0f6\";\n}\n\n.fa-building-o:before {\n  content: \"\\f0f7\";\n}\n\n.fa-hospital-o:before {\n  content: \"\\f0f8\";\n}\n\n.fa-ambulance:before {\n  content: \"\\f0f9\";\n}\n\n.fa-medkit:before {\n  content: \"\\f0fa\";\n}\n\n.fa-fighter-jet:before {\n  content: \"\\f0fb\";\n}\n\n.fa-beer:before {\n  content: \"\\f0fc\";\n}\n\n.fa-h-square:before {\n  content: \"\\f0fd\";\n}\n\n.fa-plus-square:before {\n  content: \"\\f0fe\";\n}\n\n.fa-angle-double-left:before {\n  content: \"\\f100\";\n}\n\n.fa-angle-double-right:before {\n  content: \"\\f101\";\n}\n\n.fa-angle-double-up:before {\n  content: \"\\f102\";\n}\n\n.fa-angle-double-down:before {\n  content: \"\\f103\";\n}\n\n.fa-angle-left:before {\n  content: \"\\f104\";\n}\n\n.fa-angle-right:before {\n  content: \"\\f105\";\n}\n\n.fa-angle-up:before {\n  content: \"\\f106\";\n}\n\n.fa-angle-down:before {\n  content: \"\\f107\";\n}\n\n.fa-desktop:before {\n  content: \"\\f108\";\n}\n\n.fa-laptop:before {\n  content: \"\\f109\";\n}\n\n.fa-tablet:before {\n  content: \"\\f10a\";\n}\n\n.fa-mobile-phone:before,\n.fa-mobile:before {\n  content: \"\\f10b\";\n}\n\n.fa-circle-o:before {\n  content: \"\\f10c\";\n}\n\n.fa-quote-left:before {\n  content: \"\\f10d\";\n}\n\n.fa-quote-right:before {\n  content: \"\\f10e\";\n}\n\n.fa-spinner:before {\n  content: \"\\f110\";\n}\n\n.fa-circle:before {\n  content: \"\\f111\";\n}\n\n.fa-mail-reply:before,\n.fa-reply:before {\n  content: \"\\f112\";\n}\n\n.fa-github-alt:before {\n  content: \"\\f113\";\n}\n\n.fa-folder-o:before {\n  content: \"\\f114\";\n}\n\n.fa-folder-open-o:before {\n  content: \"\\f115\";\n}\n\n.fa-smile-o:before {\n  content: \"\\f118\";\n}\n\n.fa-frown-o:before {\n  content: \"\\f119\";\n}\n\n.fa-meh-o:before {\n  content: \"\\f11a\";\n}\n\n.fa-gamepad:before {\n  content: \"\\f11b\";\n}\n\n.fa-keyboard-o:before {\n  content: \"\\f11c\";\n}\n\n.fa-flag-o:before {\n  content: \"\\f11d\";\n}\n\n.fa-flag-checkered:before {\n  content: \"\\f11e\";\n}\n\n.fa-terminal:before {\n  content: \"\\f120\";\n}\n\n.fa-code:before {\n  content: \"\\f121\";\n}\n\n.fa-mail-reply-all:before,\n.fa-reply-all:before {\n  content: \"\\f122\";\n}\n\n.fa-star-half-empty:before,\n.fa-star-half-full:before,\n.fa-star-half-o:before {\n  content: \"\\f123\";\n}\n\n.fa-location-arrow:before {\n  content: \"\\f124\";\n}\n\n.fa-crop:before {\n  content: \"\\f125\";\n}\n\n.fa-code-fork:before {\n  content: \"\\f126\";\n}\n\n.fa-unlink:before,\n.fa-chain-broken:before {\n  content: \"\\f127\";\n}\n\n.fa-question:before {\n  content: \"\\f128\";\n}\n\n.fa-info:before {\n  content: \"\\f129\";\n}\n\n.fa-exclamation:before {\n  content: \"\\f12a\";\n}\n\n.fa-superscript:before {\n  content: \"\\f12b\";\n}\n\n.fa-subscript:before {\n  content: \"\\f12c\";\n}\n\n.fa-eraser:before {\n  content: \"\\f12d\";\n}\n\n.fa-puzzle-piece:before {\n  content: \"\\f12e\";\n}\n\n.fa-microphone:before {\n  content: \"\\f130\";\n}\n\n.fa-microphone-slash:before {\n  content: \"\\f131\";\n}\n\n.fa-shield:before {\n  content: \"\\f132\";\n}\n\n.fa-calendar-o:before {\n  content: \"\\f133\";\n}\n\n.fa-fire-extinguisher:before {\n  content: \"\\f134\";\n}\n\n.fa-rocket:before {\n  content: \"\\f135\";\n}\n\n.fa-maxcdn:before {\n  content: \"\\f136\";\n}\n\n.fa-chevron-circle-left:before {\n  content: \"\\f137\";\n}\n\n.fa-chevron-circle-right:before {\n  content: \"\\f138\";\n}\n\n.fa-chevron-circle-up:before {\n  content: \"\\f139\";\n}\n\n.fa-chevron-circle-down:before {\n  content: \"\\f13a\";\n}\n\n.fa-html5:before {\n  content: \"\\f13b\";\n}\n\n.fa-css3:before {\n  content: \"\\f13c\";\n}\n\n.fa-anchor:before {\n  content: \"\\f13d\";\n}\n\n.fa-unlock-alt:before {\n  content: \"\\f13e\";\n}\n\n.fa-bullseye:before {\n  content: \"\\f140\";\n}\n\n.fa-ellipsis-h:before {\n  content: \"\\f141\";\n}\n\n.fa-ellipsis-v:before {\n  content: \"\\f142\";\n}\n\n.fa-rss-square:before {\n  content: \"\\f143\";\n}\n\n.fa-play-circle:before {\n  content: \"\\f144\";\n}\n\n.fa-ticket:before {\n  content: \"\\f145\";\n}\n\n.fa-minus-square:before {\n  content: \"\\f146\";\n}\n\n.fa-minus-square-o:before {\n  content: \"\\f147\";\n}\n\n.fa-level-up:before {\n  content: \"\\f148\";\n}\n\n.fa-level-down:before {\n  content: \"\\f149\";\n}\n\n.fa-check-square:before {\n  content: \"\\f14a\";\n}\n\n.fa-pencil-square:before {\n  content: \"\\f14b\";\n}\n\n.fa-external-link-square:before {\n  content: \"\\f14c\";\n}\n\n.fa-share-square:before {\n  content: \"\\f14d\";\n}\n\n.fa-compass:before {\n  content: \"\\f14e\";\n}\n\n.fa-toggle-down:before,\n.fa-caret-square-o-down:before {\n  content: \"\\f150\";\n}\n\n.fa-toggle-up:before,\n.fa-caret-square-o-up:before {\n  content: \"\\f151\";\n}\n\n.fa-toggle-right:before,\n.fa-caret-square-o-right:before {\n  content: \"\\f152\";\n}\n\n.fa-euro:before,\n.fa-eur:before {\n  content: \"\\f153\";\n}\n\n.fa-gbp:before {\n  content: \"\\f154\";\n}\n\n.fa-dollar:before,\n.fa-usd:before {\n  content: \"\\f155\";\n}\n\n.fa-rupee:before,\n.fa-inr:before {\n  content: \"\\f156\";\n}\n\n.fa-cny:before,\n.fa-rmb:before,\n.fa-yen:before,\n.fa-jpy:before {\n  content: \"\\f157\";\n}\n\n.fa-ruble:before,\n.fa-rouble:before,\n.fa-rub:before {\n  content: \"\\f158\";\n}\n\n.fa-won:before,\n.fa-krw:before {\n  content: \"\\f159\";\n}\n\n.fa-bitcoin:before,\n.fa-btc:before {\n  content: \"\\f15a\";\n}\n\n.fa-file:before {\n  content: \"\\f15b\";\n}\n\n.fa-file-text:before {\n  content: \"\\f15c\";\n}\n\n.fa-sort-alpha-asc:before {\n  content: \"\\f15d\";\n}\n\n.fa-sort-alpha-desc:before {\n  content: \"\\f15e\";\n}\n\n.fa-sort-amount-asc:before {\n  content: \"\\f160\";\n}\n\n.fa-sort-amount-desc:before {\n  content: \"\\f161\";\n}\n\n.fa-sort-numeric-asc:before {\n  content: \"\\f162\";\n}\n\n.fa-sort-numeric-desc:before {\n  content: \"\\f163\";\n}\n\n.fa-thumbs-up:before {\n  content: \"\\f164\";\n}\n\n.fa-thumbs-down:before {\n  content: \"\\f165\";\n}\n\n.fa-youtube-square:before {\n  content: \"\\f166\";\n}\n\n.fa-youtube:before {\n  content: \"\\f167\";\n}\n\n.fa-xing:before {\n  content: \"\\f168\";\n}\n\n.fa-xing-square:before {\n  content: \"\\f169\";\n}\n\n.fa-youtube-play:before {\n  content: \"\\f16a\";\n}\n\n.fa-dropbox:before {\n  content: \"\\f16b\";\n}\n\n.fa-stack-overflow:before {\n  content: \"\\f16c\";\n}\n\n.fa-instagram:before {\n  content: \"\\f16d\";\n}\n\n.fa-flickr:before {\n  content: \"\\f16e\";\n}\n\n.fa-adn:before {\n  content: \"\\f170\";\n}\n\n.fa-bitbucket:before {\n  content: \"\\f171\";\n}\n\n.fa-bitbucket-square:before {\n  content: \"\\f172\";\n}\n\n.fa-tumblr:before {\n  content: \"\\f173\";\n}\n\n.fa-tumblr-square:before {\n  content: \"\\f174\";\n}\n\n.fa-long-arrow-down:before {\n  content: \"\\f175\";\n}\n\n.fa-long-arrow-up:before {\n  content: \"\\f176\";\n}\n\n.fa-long-arrow-left:before {\n  content: \"\\f177\";\n}\n\n.fa-long-arrow-right:before {\n  content: \"\\f178\";\n}\n\n.fa-apple:before {\n  content: \"\\f179\";\n}\n\n.fa-windows:before {\n  content: \"\\f17a\";\n}\n\n.fa-android:before {\n  content: \"\\f17b\";\n}\n\n.fa-linux:before {\n  content: \"\\f17c\";\n}\n\n.fa-dribbble:before {\n  content: \"\\f17d\";\n}\n\n.fa-skype:before {\n  content: \"\\f17e\";\n}\n\n.fa-foursquare:before {\n  content: \"\\f180\";\n}\n\n.fa-trello:before {\n  content: \"\\f181\";\n}\n\n.fa-female:before {\n  content: \"\\f182\";\n}\n\n.fa-male:before {\n  content: \"\\f183\";\n}\n\n.fa-gittip:before,\n.fa-gratipay:before {\n  content: \"\\f184\";\n}\n\n.fa-sun-o:before {\n  content: \"\\f185\";\n}\n\n.fa-moon-o:before {\n  content: \"\\f186\";\n}\n\n.fa-archive:before {\n  content: \"\\f187\";\n}\n\n.fa-bug:before {\n  content: \"\\f188\";\n}\n\n.fa-vk:before {\n  content: \"\\f189\";\n}\n\n.fa-weibo:before {\n  content: \"\\f18a\";\n}\n\n.fa-renren:before {\n  content: \"\\f18b\";\n}\n\n.fa-pagelines:before {\n  content: \"\\f18c\";\n}\n\n.fa-stack-exchange:before {\n  content: \"\\f18d\";\n}\n\n.fa-arrow-circle-o-right:before {\n  content: \"\\f18e\";\n}\n\n.fa-arrow-circle-o-left:before {\n  content: \"\\f190\";\n}\n\n.fa-toggle-left:before,\n.fa-caret-square-o-left:before {\n  content: \"\\f191\";\n}\n\n.fa-dot-circle-o:before {\n  content: \"\\f192\";\n}\n\n.fa-wheelchair:before {\n  content: \"\\f193\";\n}\n\n.fa-vimeo-square:before {\n  content: \"\\f194\";\n}\n\n.fa-turkish-lira:before,\n.fa-try:before {\n  content: \"\\f195\";\n}\n\n.fa-plus-square-o:before {\n  content: \"\\f196\";\n}\n\n.fa-space-shuttle:before {\n  content: \"\\f197\";\n}\n\n.fa-slack:before {\n  content: \"\\f198\";\n}\n\n.fa-envelope-square:before {\n  content: \"\\f199\";\n}\n\n.fa-wordpress:before {\n  content: \"\\f19a\";\n}\n\n.fa-openid:before {\n  content: \"\\f19b\";\n}\n\n.fa-institution:before,\n.fa-bank:before,\n.fa-university:before {\n  content: \"\\f19c\";\n}\n\n.fa-mortar-board:before,\n.fa-graduation-cap:before {\n  content: \"\\f19d\";\n}\n\n.fa-yahoo:before {\n  content: \"\\f19e\";\n}\n\n.fa-google:before {\n  content: \"\\f1a0\";\n}\n\n.fa-reddit:before {\n  content: \"\\f1a1\";\n}\n\n.fa-reddit-square:before {\n  content: \"\\f1a2\";\n}\n\n.fa-stumbleupon-circle:before {\n  content: \"\\f1a3\";\n}\n\n.fa-stumbleupon:before {\n  content: \"\\f1a4\";\n}\n\n.fa-delicious:before {\n  content: \"\\f1a5\";\n}\n\n.fa-digg:before {\n  content: \"\\f1a6\";\n}\n\n.fa-pied-piper:before {\n  content: \"\\f1a7\";\n}\n\n.fa-pied-piper-alt:before {\n  content: \"\\f1a8\";\n}\n\n.fa-drupal:before {\n  content: \"\\f1a9\";\n}\n\n.fa-joomla:before {\n  content: \"\\f1aa\";\n}\n\n.fa-language:before {\n  content: \"\\f1ab\";\n}\n\n.fa-fax:before {\n  content: \"\\f1ac\";\n}\n\n.fa-building:before {\n  content: \"\\f1ad\";\n}\n\n.fa-child:before {\n  content: \"\\f1ae\";\n}\n\n.fa-paw:before {\n  content: \"\\f1b0\";\n}\n\n.fa-spoon:before {\n  content: \"\\f1b1\";\n}\n\n.fa-cube:before {\n  content: \"\\f1b2\";\n}\n\n.fa-cubes:before {\n  content: \"\\f1b3\";\n}\n\n.fa-behance:before {\n  content: \"\\f1b4\";\n}\n\n.fa-behance-square:before {\n  content: \"\\f1b5\";\n}\n\n.fa-steam:before {\n  content: \"\\f1b6\";\n}\n\n.fa-steam-square:before {\n  content: \"\\f1b7\";\n}\n\n.fa-recycle:before {\n  content: \"\\f1b8\";\n}\n\n.fa-automobile:before,\n.fa-car:before {\n  content: \"\\f1b9\";\n}\n\n.fa-cab:before,\n.fa-taxi:before {\n  content: \"\\f1ba\";\n}\n\n.fa-tree:before {\n  content: \"\\f1bb\";\n}\n\n.fa-spotify:before {\n  content: \"\\f1bc\";\n}\n\n.fa-deviantart:before {\n  content: \"\\f1bd\";\n}\n\n.fa-soundcloud:before {\n  content: \"\\f1be\";\n}\n\n.fa-database:before {\n  content: \"\\f1c0\";\n}\n\n.fa-file-pdf-o:before {\n  content: \"\\f1c1\";\n}\n\n.fa-file-word-o:before {\n  content: \"\\f1c2\";\n}\n\n.fa-file-excel-o:before {\n  content: \"\\f1c3\";\n}\n\n.fa-file-powerpoint-o:before {\n  content: \"\\f1c4\";\n}\n\n.fa-file-photo-o:before,\n.fa-file-picture-o:before,\n.fa-file-image-o:before {\n  content: \"\\f1c5\";\n}\n\n.fa-file-zip-o:before,\n.fa-file-archive-o:before {\n  content: \"\\f1c6\";\n}\n\n.fa-file-sound-o:before,\n.fa-file-audio-o:before {\n  content: \"\\f1c7\";\n}\n\n.fa-file-movie-o:before,\n.fa-file-video-o:before {\n  content: \"\\f1c8\";\n}\n\n.fa-file-code-o:before {\n  content: \"\\f1c9\";\n}\n\n.fa-vine:before {\n  content: \"\\f1ca\";\n}\n\n.fa-codepen:before {\n  content: \"\\f1cb\";\n}\n\n.fa-jsfiddle:before {\n  content: \"\\f1cc\";\n}\n\n.fa-life-bouy:before,\n.fa-life-buoy:before,\n.fa-life-saver:before,\n.fa-support:before,\n.fa-life-ring:before {\n  content: \"\\f1cd\";\n}\n\n.fa-circle-o-notch:before {\n  content: \"\\f1ce\";\n}\n\n.fa-ra:before,\n.fa-rebel:before {\n  content: \"\\f1d0\";\n}\n\n.fa-ge:before,\n.fa-empire:before {\n  content: \"\\f1d1\";\n}\n\n.fa-git-square:before {\n  content: \"\\f1d2\";\n}\n\n.fa-git:before {\n  content: \"\\f1d3\";\n}\n\n.fa-hacker-news:before {\n  content: \"\\f1d4\";\n}\n\n.fa-tencent-weibo:before {\n  content: \"\\f1d5\";\n}\n\n.fa-qq:before {\n  content: \"\\f1d6\";\n}\n\n.fa-wechat:before,\n.fa-weixin:before {\n  content: \"\\f1d7\";\n}\n\n.fa-send:before,\n.fa-paper-plane:before {\n  content: \"\\f1d8\";\n}\n\n.fa-send-o:before,\n.fa-paper-plane-o:before {\n  content: \"\\f1d9\";\n}\n\n.fa-history:before {\n  content: \"\\f1da\";\n}\n\n.fa-genderless:before,\n.fa-circle-thin:before {\n  content: \"\\f1db\";\n}\n\n.fa-header:before {\n  content: \"\\f1dc\";\n}\n\n.fa-paragraph:before {\n  content: \"\\f1dd\";\n}\n\n.fa-sliders:before {\n  content: \"\\f1de\";\n}\n\n.fa-share-alt:before {\n  content: \"\\f1e0\";\n}\n\n.fa-share-alt-square:before {\n  content: \"\\f1e1\";\n}\n\n.fa-bomb:before {\n  content: \"\\f1e2\";\n}\n\n.fa-soccer-ball-o:before,\n.fa-futbol-o:before {\n  content: \"\\f1e3\";\n}\n\n.fa-tty:before {\n  content: \"\\f1e4\";\n}\n\n.fa-binoculars:before {\n  content: \"\\f1e5\";\n}\n\n.fa-plug:before {\n  content: \"\\f1e6\";\n}\n\n.fa-slideshare:before {\n  content: \"\\f1e7\";\n}\n\n.fa-twitch:before {\n  content: \"\\f1e8\";\n}\n\n.fa-yelp:before {\n  content: \"\\f1e9\";\n}\n\n.fa-newspaper-o:before {\n  content: \"\\f1ea\";\n}\n\n.fa-wifi:before {\n  content: \"\\f1eb\";\n}\n\n.fa-calculator:before {\n  content: \"\\f1ec\";\n}\n\n.fa-paypal:before {\n  content: \"\\f1ed\";\n}\n\n.fa-google-wallet:before {\n  content: \"\\f1ee\";\n}\n\n.fa-cc-visa:before {\n  content: \"\\f1f0\";\n}\n\n.fa-cc-mastercard:before {\n  content: \"\\f1f1\";\n}\n\n.fa-cc-discover:before {\n  content: \"\\f1f2\";\n}\n\n.fa-cc-amex:before {\n  content: \"\\f1f3\";\n}\n\n.fa-cc-paypal:before {\n  content: \"\\f1f4\";\n}\n\n.fa-cc-stripe:before {\n  content: \"\\f1f5\";\n}\n\n.fa-bell-slash:before {\n  content: \"\\f1f6\";\n}\n\n.fa-bell-slash-o:before {\n  content: \"\\f1f7\";\n}\n\n.fa-trash:before {\n  content: \"\\f1f8\";\n}\n\n.fa-copyright:before {\n  content: \"\\f1f9\";\n}\n\n.fa-at:before {\n  content: \"\\f1fa\";\n}\n\n.fa-eyedropper:before {\n  content: \"\\f1fb\";\n}\n\n.fa-paint-brush:before {\n  content: \"\\f1fc\";\n}\n\n.fa-birthday-cake:before {\n  content: \"\\f1fd\";\n}\n\n.fa-area-chart:before {\n  content: \"\\f1fe\";\n}\n\n.fa-pie-chart:before {\n  content: \"\\f200\";\n}\n\n.fa-line-chart:before {\n  content: \"\\f201\";\n}\n\n.fa-lastfm:before {\n  content: \"\\f202\";\n}\n\n.fa-lastfm-square:before {\n  content: \"\\f203\";\n}\n\n.fa-toggle-off:before {\n  content: \"\\f204\";\n}\n\n.fa-toggle-on:before {\n  content: \"\\f205\";\n}\n\n.fa-bicycle:before {\n  content: \"\\f206\";\n}\n\n.fa-bus:before {\n  content: \"\\f207\";\n}\n\n.fa-ioxhost:before {\n  content: \"\\f208\";\n}\n\n.fa-angellist:before {\n  content: \"\\f209\";\n}\n\n.fa-cc:before {\n  content: \"\\f20a\";\n}\n\n.fa-shekel:before,\n.fa-sheqel:before,\n.fa-ils:before {\n  content: \"\\f20b\";\n}\n\n.fa-meanpath:before {\n  content: \"\\f20c\";\n}\n\n.fa-buysellads:before {\n  content: \"\\f20d\";\n}\n\n.fa-connectdevelop:before {\n  content: \"\\f20e\";\n}\n\n.fa-dashcube:before {\n  content: \"\\f210\";\n}\n\n.fa-forumbee:before {\n  content: \"\\f211\";\n}\n\n.fa-leanpub:before {\n  content: \"\\f212\";\n}\n\n.fa-sellsy:before {\n  content: \"\\f213\";\n}\n\n.fa-shirtsinbulk:before {\n  content: \"\\f214\";\n}\n\n.fa-simplybuilt:before {\n  content: \"\\f215\";\n}\n\n.fa-skyatlas:before {\n  content: \"\\f216\";\n}\n\n.fa-cart-plus:before {\n  content: \"\\f217\";\n}\n\n.fa-cart-arrow-down:before {\n  content: \"\\f218\";\n}\n\n.fa-diamond:before {\n  content: \"\\f219\";\n}\n\n.fa-ship:before {\n  content: \"\\f21a\";\n}\n\n.fa-user-secret:before {\n  content: \"\\f21b\";\n}\n\n.fa-motorcycle:before {\n  content: \"\\f21c\";\n}\n\n.fa-street-view:before {\n  content: \"\\f21d\";\n}\n\n.fa-heartbeat:before {\n  content: \"\\f21e\";\n}\n\n.fa-venus:before {\n  content: \"\\f221\";\n}\n\n.fa-mars:before {\n  content: \"\\f222\";\n}\n\n.fa-mercury:before {\n  content: \"\\f223\";\n}\n\n.fa-transgender:before {\n  content: \"\\f224\";\n}\n\n.fa-transgender-alt:before {\n  content: \"\\f225\";\n}\n\n.fa-venus-double:before {\n  content: \"\\f226\";\n}\n\n.fa-mars-double:before {\n  content: \"\\f227\";\n}\n\n.fa-venus-mars:before {\n  content: \"\\f228\";\n}\n\n.fa-mars-stroke:before {\n  content: \"\\f229\";\n}\n\n.fa-mars-stroke-v:before {\n  content: \"\\f22a\";\n}\n\n.fa-mars-stroke-h:before {\n  content: \"\\f22b\";\n}\n\n.fa-neuter:before {\n  content: \"\\f22c\";\n}\n\n.fa-facebook-official:before {\n  content: \"\\f230\";\n}\n\n.fa-pinterest-p:before {\n  content: \"\\f231\";\n}\n\n.fa-whatsapp:before {\n  content: \"\\f232\";\n}\n\n.fa-server:before {\n  content: \"\\f233\";\n}\n\n.fa-user-plus:before {\n  content: \"\\f234\";\n}\n\n.fa-user-times:before {\n  content: \"\\f235\";\n}\n\n.fa-hotel:before,\n.fa-bed:before {\n  content: \"\\f236\";\n}\n\n.fa-viacoin:before {\n  content: \"\\f237\";\n}\n\n.fa-train:before {\n  content: \"\\f238\";\n}\n\n.fa-subway:before {\n  content: \"\\f239\";\n}\n\n.fa-medium:before {\n  content: \"\\f23a\";\n}\n\n/*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 */\n@font-face {\n  font-family: 'editormd-logo';\n  src: url(\"../fonts/editormd-logo.eot?-5y8q6h\");\n  src: url(\".../fonts/editormd-logo.eot?#iefix-5y8q6h\") format(\"embedded-opentype\"), url(\"../fonts/editormd-logo.woff?-5y8q6h\") format(\"woff\"), url(\"../fonts/editormd-logo.ttf?-5y8q6h\") format(\"truetype\"), url(\"../fonts/editormd-logo.svg?-5y8q6h#icomoon\") format(\"svg\");\n  font-weight: normal;\n  font-style: normal;\n}\n.editormd-logo,\n.editormd-logo-1x,\n.editormd-logo-2x,\n.editormd-logo-3x,\n.editormd-logo-4x,\n.editormd-logo-5x,\n.editormd-logo-6x,\n.editormd-logo-7x,\n.editormd-logo-8x {\n  font-family: 'editormd-logo';\n  speak: none;\n  font-style: normal;\n  font-weight: normal;\n  font-variant: normal;\n  text-transform: none;\n  font-size: inherit;\n  line-height: 1;\n  display: inline-block;\n  text-rendering: auto;\n  vertical-align: inherit;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n.editormd-logo:before,\n.editormd-logo-1x:before,\n.editormd-logo-2x:before,\n.editormd-logo-3x:before,\n.editormd-logo-4x:before,\n.editormd-logo-5x:before,\n.editormd-logo-6x:before,\n.editormd-logo-7x:before,\n.editormd-logo-8x:before {\n  content: \"\\e1987\";\n  /* \n  HTML Entity &#xe1987; \n  example: <span class=\"editormd-logo\">&#xe1987;</span>\n  */\n}\n\n.editormd-logo-1x {\n  font-size: 1em;\n}\n\n.editormd-logo-lg {\n  font-size: 1.2em;\n}\n\n.editormd-logo-2x {\n  font-size: 2em;\n}\n\n.editormd-logo-3x {\n  font-size: 3em;\n}\n\n.editormd-logo-4x {\n  font-size: 4em;\n}\n\n.editormd-logo-5x {\n  font-size: 5em;\n}\n\n.editormd-logo-6x {\n  font-size: 6em;\n}\n\n.editormd-logo-7x {\n  font-size: 7em;\n}\n\n.editormd-logo-8x {\n  font-size: 8em;\n}\n\n.editormd-logo-color {\n  color: #2196F3;\n}\n\n/*! github-markdown-css | The MIT License (MIT) | Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) | https://github.com/sindresorhus/github-markdown-css */\n@font-face {\n  font-family: octicons-anchor;\n  src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0ChED+h5j//yEk/3KoSgZGNgYYk4GRCUgwMaACRoZhDwCs7QgGAAAAIgKIAAAAAf//AAJ4nHWMMQrCQBBF/0zWrCCIKUQsTDCL2EXMohYGSSmorScInsRGL2DOYJe0Ntp7BK+gJ1BxF1stZvjz/v8DRghQzEc4kIgKwiAppcA9LtzKLSkdNhKFY3HF4lK69ExKslx7Xa+vPRVS43G98vG1DnkDMIBUgFN0MDXflU8tbaZOUkXUH0+U27RoRpOIyCKjbMCVejwypzJJG4jIwb43rfl6wbwanocrJm9XFYfskuVC5K/TPyczNU7b84CXcbxks1Un6H6tLH9vf2LRnn8Ax7A5WQAAAHicY2BkYGAA4teL1+yI57f5ysDNwgAC529f0kOmWRiYVgEpDgYmEA8AUzEKsQAAAHicY2BkYGB2+O/AEMPCAAJAkpEBFbAAADgKAe0EAAAiAAAAAAQAAAAEAAAAAAAAKgAqACoAiAAAeJxjYGRgYGBhsGFgYgABEMkFhAwM/xn0QAIAD6YBhwB4nI1Ty07cMBS9QwKlQapQW3VXySvEqDCZGbGaHULiIQ1FKgjWMxknMfLEke2A+IJu+wntrt/QbVf9gG75jK577Lg8K1qQPCfnnnt8fX1NRC/pmjrk/zprC+8D7tBy9DHgBXoWfQ44Av8t4Bj4Z8CLtBL9CniJluPXASf0Lm4CXqFX8Q84dOLnMB17N4c7tBo1AS/Qi+hTwBH4rwHHwN8DXqQ30XXAS7QaLwSc0Gn8NuAVWou/gFmnjLrEaEh9GmDdDGgL3B4JsrRPDU2hTOiMSuJUIdKQQayiAth69r6akSSFqIJuA19TrzCIaY8sIoxyrNIrL//pw7A2iMygkX5vDj+G+kuoLdX4GlGK/8Lnlz6/h9MpmoO9rafrz7ILXEHHaAx95s9lsI7AHNMBWEZHULnfAXwG9/ZqdzLI08iuwRloXE8kfhXYAvE23+23DU3t626rbs8/8adv+9DWknsHp3E17oCf+Z48rvEQNZ78paYM38qfk3v/u3l3u3GXN2Dmvmvpf1Srwk3pB/VSsp512bA/GG5i2WJ7wu430yQ5K3nFGiOqgtmSB5pJVSizwaacmUZzZhXLlZTq8qGGFY2YcSkqbth6aW1tRmlaCFs2016m5qn36SbJrqosG4uMV4aP2PHBmB3tjtmgN2izkGQyLWprekbIntJFing32a5rKWCN/SdSoga45EJykyQ7asZvHQ8PTm6cslIpwyeyjbVltNikc2HTR7YKh9LBl9DADC0U/jLcBZDKrMhUBfQBvXRzLtFtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format(\"woff\");\n}\n.markdown-body {\n  -ms-text-size-adjust: 100%;\n  -webkit-text-size-adjust: 100%;\n  color: #333;\n  overflow: hidden;\n  font-family: \"Microsoft YaHei\", Helvetica, \"Meiryo UI\", \"Malgun Gothic\", \"Segoe UI\", \"Trebuchet MS\", \"Monaco\", monospace, Tahoma, STXihei, \"华文细黑\", STHeiti, \"Helvetica Neue\", \"Droid Sans\", \"wenquanyi micro hei\", FreeSans, Arimo, Arial, SimSun, \"宋体\", Heiti, \"黑体\", sans-serif;\n  font-size: 16px;\n  line-height: 1.6;\n  word-wrap: break-word;\n}\n\n.markdown-body a {\n  background: transparent;\n}\n\n.markdown-body a:active,\n.markdown-body a:hover {\n  outline: 0;\n}\n\n.markdown-body strong {\n  font-weight: bold;\n}\n\n.markdown-body h1 {\n  font-size: 2em;\n  margin: 0.67em 0;\n}\n\n.markdown-body img {\n  border: 0;\n}\n\n.markdown-body hr {\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n  height: 0;\n}\n\n.markdown-body pre {\n  overflow: auto;\n}\n\n.markdown-body code,\n.markdown-body kbd,\n.markdown-body pre {\n  font-family: \"Meiryo UI\", \"YaHei Consolas Hybrid\", Consolas, \"Malgun Gothic\", \"Segoe UI\", \"Trebuchet MS\", Helvetica, monospace, monospace;\n  font-size: 1em;\n}\n\n.markdown-body input {\n  color: inherit;\n  font: inherit;\n  margin: 0;\n}\n\n.markdown-body html input[disabled] {\n  cursor: default;\n}\n\n.markdown-body input {\n  line-height: normal;\n}\n\n.markdown-body input[type=\"checkbox\"] {\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n  padding: 0;\n}\n\n.markdown-body table {\n  border-collapse: collapse;\n  border-spacing: 0;\n}\n\n.markdown-body td,\n.markdown-body th {\n  padding: 0;\n}\n\n.markdown-body * {\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n\n.markdown-body input {\n  font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n\n.markdown-body a {\n  color: #4183c4;\n  text-decoration: none;\n}\n\n.markdown-body a:hover,\n.markdown-body a:active {\n  text-decoration: underline;\n}\n\n.markdown-body hr {\n  height: 0;\n  margin: 15px 0;\n  overflow: hidden;\n  background: transparent;\n  border: 0;\n  border-bottom: 1px solid #ddd;\n}\n\n.markdown-body hr:before {\n  display: table;\n  content: \"\";\n}\n\n.markdown-body hr:after {\n  display: table;\n  clear: both;\n  content: \"\";\n}\n\n.markdown-body h1,\n.markdown-body h2,\n.markdown-body h3,\n.markdown-body h4,\n.markdown-body h5,\n.markdown-body h6 {\n  margin-top: 15px;\n  margin-bottom: 15px;\n  line-height: 1.1;\n}\n\n.markdown-body h1 {\n  font-size: 30px;\n}\n\n.markdown-body h2 {\n  font-size: 21px;\n}\n\n.markdown-body h3 {\n  font-size: 16px;\n}\n\n.markdown-body h4 {\n  font-size: 14px;\n}\n\n.markdown-body h5 {\n  font-size: 12px;\n}\n\n.markdown-body h6 {\n  font-size: 11px;\n}\n\n.markdown-body blockquote {\n  margin: 0;\n}\n\n.markdown-body ul,\n.markdown-body ol {\n  padding: 0;\n  margin-top: 0;\n  margin-bottom: 0;\n}\n\n.markdown-body ol ol,\n.markdown-body ul ol {\n  list-style-type: lower-roman;\n}\n\n.markdown-body ul ul ol,\n.markdown-body ul ol ol,\n.markdown-body ol ul ol,\n.markdown-body ol ol ol {\n  list-style-type: lower-alpha;\n}\n\n.markdown-body dd {\n  margin-left: 0;\n}\n\n.markdown-body code {\n  font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n  font-size: 12px;\n}\n\n.markdown-body pre {\n  margin-top: 0;\n  margin-bottom: 0;\n  font: 12px Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n}\n\n.markdown-body .octicon {\n  font: normal normal 16px octicons-anchor;\n  line-height: 1;\n  display: inline-block;\n  text-decoration: none;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n\n.markdown-body .octicon-link:before {\n  content: '\\f05c';\n}\n\n.markdown-body > *:first-child {\n  margin-top: 0 !important;\n}\n\n.markdown-body > *:last-child {\n  margin-bottom: 0 !important;\n}\n\n.markdown-body .anchor {\n  position: absolute;\n  top: 0;\n  left: 0;\n  display: block;\n  padding-right: 6px;\n  padding-left: 30px;\n  margin-left: -30px;\n}\n\n.markdown-body .anchor:focus {\n  outline: none;\n}\n\n.markdown-body h1,\n.markdown-body h2,\n.markdown-body h3,\n.markdown-body h4,\n.markdown-body h5,\n.markdown-body h6 {\n  position: relative;\n  margin-top: 1em;\n  margin-bottom: 16px;\n  font-weight: bold;\n  line-height: 1.4;\n}\n\n.markdown-body h1 .octicon-link,\n.markdown-body h2 .octicon-link,\n.markdown-body h3 .octicon-link,\n.markdown-body h4 .octicon-link,\n.markdown-body h5 .octicon-link,\n.markdown-body h6 .octicon-link {\n  display: none;\n  color: #000;\n  vertical-align: middle;\n}\n\n.markdown-body h1:hover .anchor,\n.markdown-body h2:hover .anchor,\n.markdown-body h3:hover .anchor,\n.markdown-body h4:hover .anchor,\n.markdown-body h5:hover .anchor,\n.markdown-body h6:hover .anchor {\n  padding-left: 8px;\n  margin-left: -30px;\n  text-decoration: none;\n}\n\n.markdown-body h1:hover .anchor .octicon-link,\n.markdown-body h2:hover .anchor .octicon-link,\n.markdown-body h3:hover .anchor .octicon-link,\n.markdown-body h4:hover .anchor .octicon-link,\n.markdown-body h5:hover .anchor .octicon-link,\n.markdown-body h6:hover .anchor .octicon-link {\n  display: inline-block;\n}\n\n.markdown-body h1 {\n  padding-bottom: 0.3em;\n  font-size: 2.25em;\n  line-height: 1.2;\n  border-bottom: 1px solid #eee;\n}\n\n.markdown-body h1 .anchor {\n  line-height: 1;\n}\n\n.markdown-body h2 {\n  padding-bottom: 0.3em;\n  font-size: 1.75em;\n  line-height: 1.225;\n  border-bottom: 1px solid #eee;\n}\n\n.markdown-body h2 .anchor {\n  line-height: 1;\n}\n\n.markdown-body h3 {\n  font-size: 1.5em;\n  line-height: 1.43;\n}\n\n.markdown-body h3 .anchor {\n  line-height: 1.2;\n}\n\n.markdown-body h4 {\n  font-size: 1.25em;\n}\n\n.markdown-body h4 .anchor {\n  line-height: 1.2;\n}\n\n.markdown-body h5 {\n  font-size: 1em;\n}\n\n.markdown-body h5 .anchor {\n  line-height: 1.1;\n}\n\n.markdown-body h6 {\n  font-size: 1em;\n  color: #777;\n}\n\n.markdown-body h6 .anchor {\n  line-height: 1.1;\n}\n\n.markdown-body p,\n.markdown-body blockquote,\n.markdown-body ul,\n.markdown-body ol,\n.markdown-body dl,\n.markdown-body table,\n.markdown-body pre {\n  margin-top: 0;\n  margin-bottom: 16px;\n}\n\n/*\n.markdown-body hr {\n  height: 4px;\n  padding: 0;\n  margin: 16px 0;\n  background-color: #e7e7e7;\n  border: 0 none;\n}*/\n.markdown-body ul,\n.markdown-body ol {\n  padding-left: 2em;\n}\n\n.markdown-body ul ul,\n.markdown-body ul ol,\n.markdown-body ol ol,\n.markdown-body ol ul {\n  margin-top: 0;\n  margin-bottom: 0;\n}\n\n.markdown-body li > p {\n  margin-top: 16px;\n}\n\n.markdown-body dl {\n  padding: 0;\n}\n\n.markdown-body dl dt {\n  padding: 0;\n  margin-top: 16px;\n  font-size: 1em;\n  font-style: italic;\n  font-weight: bold;\n}\n\n.markdown-body dl dd {\n  padding: 0 16px;\n  margin-bottom: 16px;\n}\n\n.markdown-body blockquote {\n  padding: 0 15px;\n  color: #777;\n  border-left: 4px solid #ddd;\n}\n\n.markdown-body blockquote > :first-child {\n  margin-top: 0;\n}\n\n.markdown-body blockquote > :last-child {\n  margin-bottom: 0;\n}\n\n.markdown-body table {\n  display: block;\n  width: 100%;\n  overflow: auto;\n  word-break: normal;\n  word-break: keep-all;\n}\n\n.markdown-body table th {\n  font-weight: bold;\n}\n\n.markdown-body table th,\n.markdown-body table td {\n  padding: 6px 13px;\n  border: 1px solid #ddd;\n}\n\n.markdown-body table tr {\n  background-color: #fff;\n  border-top: 1px solid #ccc;\n}\n\n.markdown-body table tr:nth-child(2n) {\n  background-color: #f8f8f8;\n}\n\n.markdown-body img {\n  max-width: 100%;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n\n.markdown-body code {\n  padding: 0;\n  padding-top: 0.2em;\n  padding-bottom: 0.2em;\n  margin: 0;\n  font-size: 85%;\n  background-color: rgba(0, 0, 0, 0.04);\n  border-radius: 3px;\n}\n\n.markdown-body code:before,\n.markdown-body code:after {\n  letter-spacing: -0.2em;\n  content: \"\\00a0\";\n}\n\n.markdown-body pre > code {\n  padding: 0;\n  margin: 0;\n  font-size: 100%;\n  word-break: normal;\n  white-space: pre;\n  background: transparent;\n  border: 0;\n}\n\n.markdown-body .highlight {\n  margin-bottom: 16px;\n}\n\n.markdown-body .highlight pre,\n.markdown-body pre {\n  padding: 16px;\n  overflow: auto;\n  font-size: 85%;\n  line-height: 1.45;\n  background-color: #f7f7f7;\n  border-radius: 3px;\n}\n\n.markdown-body .highlight pre {\n  margin-bottom: 0;\n  word-break: normal;\n}\n\n.markdown-body pre {\n  word-wrap: normal;\n}\n\n.markdown-body pre code {\n  display: inline;\n  max-width: initial;\n  padding: 0;\n  margin: 0;\n  overflow: initial;\n  line-height: inherit;\n  word-wrap: normal;\n  background-color: transparent;\n  border: 0;\n}\n\n.markdown-body pre code:before,\n.markdown-body pre code:after {\n  content: normal;\n}\n\n.markdown-body kbd {\n  display: inline-block;\n  padding: 3px 5px;\n  font-size: 11px;\n  line-height: 10px;\n  color: #555;\n  vertical-align: middle;\n  background-color: #fcfcfc;\n  border: solid 1px #ccc;\n  border-bottom-color: #bbb;\n  border-radius: 3px;\n  box-shadow: inset 0 -1px 0 #bbb;\n}\n\n.markdown-body .pl-c {\n  color: #969896;\n}\n\n.markdown-body .pl-c1,\n.markdown-body .pl-mdh,\n.markdown-body .pl-mm,\n.markdown-body .pl-mp,\n.markdown-body .pl-mr,\n.markdown-body .pl-s1 .pl-v,\n.markdown-body .pl-s3,\n.markdown-body .pl-sc,\n.markdown-body .pl-sv {\n  color: #0086b3;\n}\n\n.markdown-body .pl-e,\n.markdown-body .pl-en {\n  color: #795da3;\n}\n\n.markdown-body .pl-s1 .pl-s2,\n.markdown-body .pl-smi,\n.markdown-body .pl-smp,\n.markdown-body .pl-stj,\n.markdown-body .pl-vo,\n.markdown-body .pl-vpf {\n  color: #333;\n}\n\n.markdown-body .pl-ent {\n  color: #63a35c;\n}\n\n.markdown-body .pl-k,\n.markdown-body .pl-s,\n.markdown-body .pl-st {\n  color: #a71d5d;\n}\n\n.markdown-body .pl-pds,\n.markdown-body .pl-s1,\n.markdown-body .pl-s1 .pl-pse .pl-s2,\n.markdown-body .pl-sr,\n.markdown-body .pl-sr .pl-cce,\n.markdown-body .pl-sr .pl-sra,\n.markdown-body .pl-sr .pl-sre,\n.markdown-body .pl-src {\n  color: #df5000;\n}\n\n.markdown-body .pl-mo,\n.markdown-body .pl-v {\n  color: #1d3e81;\n}\n\n.markdown-body .pl-id {\n  color: #b52a1d;\n}\n\n.markdown-body .pl-ii {\n  background-color: #b52a1d;\n  color: #f8f8f8;\n}\n\n.markdown-body .pl-sr .pl-cce {\n  color: #63a35c;\n  font-weight: bold;\n}\n\n.markdown-body .pl-ml {\n  color: #693a17;\n}\n\n.markdown-body .pl-mh,\n.markdown-body .pl-mh .pl-en,\n.markdown-body .pl-ms {\n  color: #1d3e81;\n  font-weight: bold;\n}\n\n.markdown-body .pl-mq {\n  color: #008080;\n}\n\n.markdown-body .pl-mi {\n  color: #333;\n  font-style: italic;\n}\n\n.markdown-body .pl-mb {\n  color: #333;\n  font-weight: bold;\n}\n\n.markdown-body .pl-md,\n.markdown-body .pl-mdhf {\n  background-color: #ffecec;\n  color: #bd2c00;\n}\n\n.markdown-body .pl-mdht,\n.markdown-body .pl-mi1 {\n  background-color: #eaffea;\n  color: #55a532;\n}\n\n.markdown-body .pl-mdr {\n  color: #795da3;\n  font-weight: bold;\n}\n\n.markdown-body kbd {\n  display: inline-block;\n  padding: 3px 5px;\n  font: 11px Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n  line-height: 10px;\n  color: #555;\n  vertical-align: middle;\n  background-color: #fcfcfc;\n  border: solid 1px #ccc;\n  border-bottom-color: #bbb;\n  border-radius: 3px;\n  box-shadow: inset 0 -1px 0 #bbb;\n}\n\n.markdown-body .task-list-item {\n  list-style-type: none;\n}\n\n.markdown-body .task-list-item + .task-list-item {\n  margin-top: 3px;\n}\n\n.markdown-body .task-list-item input {\n  float: left;\n  margin: 0.3em 0 0.25em -1.6em;\n  vertical-align: middle;\n}\n\n.markdown-body :checked + .radio-label {\n  z-index: 1;\n  position: relative;\n  border-color: #4183c4;\n}\n\n.editormd-preview-container, .editormd-html-preview {\n  text-align: left;\n  font-size: 14px;\n  line-height: 1.6;\n  padding: 20px;\n  overflow: auto;\n  width: 100%;\n  background-color: #fff;\n}\n.editormd-preview-container blockquote, .editormd-html-preview blockquote {\n  color: #666;\n  border-left: 4px solid #ddd;\n  padding-left: 20px;\n  margin-left: 0;\n  font-size: 14px;\n  font-style: italic;\n}\n.editormd-preview-container p code, .editormd-html-preview p code {\n  margin-left: 5px;\n  margin-right: 4px;\n}\n.editormd-preview-container abbr, .editormd-html-preview abbr {\n  background: #ffffdd;\n}\n.editormd-preview-container hr, .editormd-html-preview hr {\n  height: 1px;\n  border: none;\n  border-top: 1px solid #ddd;\n  background: none;\n}\n.editormd-preview-container code, .editormd-html-preview code {\n  border: 1px solid #ddd;\n  background: #f6f6f6;\n  padding: 3px;\n  border-radius: 3px;\n  font-size: 14px;\n}\n.editormd-preview-container pre, .editormd-html-preview pre {\n  border: 1px solid #ddd;\n  background: #f6f6f6;\n  padding: 10px;\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  -ms-border-radius: 3px;\n  -o-border-radius: 3px;\n  border-radius: 3px;\n}\n.editormd-preview-container pre code, .editormd-html-preview pre code {\n  padding: 0;\n}\n.editormd-preview-container pre, .editormd-preview-container code, .editormd-preview-container kbd, .editormd-html-preview pre, .editormd-html-preview code, .editormd-html-preview kbd {\n  font-family: \"YaHei Consolas Hybrid\", Consolas, \"Meiryo UI\", \"Malgun Gothic\", \"Segoe UI\", \"Trebuchet MS\", Helvetica, monospace, monospace;\n}\n.editormd-preview-container table thead tr, .editormd-html-preview table thead tr {\n  background-color: #F8F8F8;\n}\n.editormd-preview-container p.editormd-tex, .editormd-html-preview p.editormd-tex {\n  text-align: center;\n}\n.editormd-preview-container span.editormd-tex, .editormd-html-preview span.editormd-tex {\n  margin: 0 5px;\n}\n.editormd-preview-container .emoji, .editormd-html-preview .emoji {\n  width: 24px;\n  height: 24px;\n}\n.editormd-preview-container .katex, .editormd-html-preview .katex {\n  font-size: 1.4em;\n}\n.editormd-preview-container .sequence-diagram, .editormd-preview-container .flowchart, .editormd-html-preview .sequence-diagram, .editormd-html-preview .flowchart {\n  margin: 0 auto;\n  text-align: center;\n}\n.editormd-preview-container .sequence-diagram svg, .editormd-preview-container .flowchart svg, .editormd-html-preview .sequence-diagram svg, .editormd-html-preview .flowchart svg {\n  margin: 0 auto;\n}\n.editormd-preview-container .sequence-diagram text, .editormd-preview-container .flowchart text, .editormd-html-preview .sequence-diagram text, .editormd-html-preview .flowchart text {\n  font-size: 15px !important;\n  font-family: \"YaHei Consolas Hybrid\", Consolas, \"Microsoft YaHei\", \"Malgun Gothic\", \"Segoe UI\", Helvetica, Arial !important;\n}\n\n/*! Pretty printing styles. Used with prettify.js. */\n/* SPAN elements with the classes below are added by prettyprint. */\n.pln {\n  color: #000;\n}\n\n/* plain text */\n@media screen {\n  .str {\n    color: #080;\n  }\n\n  /* string content */\n  .kwd {\n    color: #008;\n  }\n\n  /* a keyword */\n  .com {\n    color: #800;\n  }\n\n  /* a comment */\n  .typ {\n    color: #606;\n  }\n\n  /* a type name */\n  .lit {\n    color: #066;\n  }\n\n  /* a literal value */\n  /* punctuation, lisp open bracket, lisp close bracket */\n  .pun, .opn, .clo {\n    color: #660;\n  }\n\n  .tag {\n    color: #008;\n  }\n\n  /* a markup tag name */\n  .atn {\n    color: #606;\n  }\n\n  /* a markup attribute name */\n  .atv {\n    color: #080;\n  }\n\n  /* a markup attribute value */\n  .dec, .var {\n    color: #606;\n  }\n\n  /* a declaration; a variable name */\n  .fun {\n    color: red;\n  }\n\n  /* a function name */\n}\n/* Use higher contrast and text-weight for printable form. */\n@media print, projection {\n  .str {\n    color: #060;\n  }\n\n  .kwd {\n    color: #006;\n    font-weight: bold;\n  }\n\n  .com {\n    color: #600;\n    font-style: italic;\n  }\n\n  .typ {\n    color: #404;\n    font-weight: bold;\n  }\n\n  .lit {\n    color: #044;\n  }\n\n  .pun, .opn, .clo {\n    color: #440;\n  }\n\n  .tag {\n    color: #006;\n    font-weight: bold;\n  }\n\n  .atn {\n    color: #404;\n  }\n\n  .atv {\n    color: #060;\n  }\n}\n/* Put a border around prettyprinted code snippets. */\npre.prettyprint {\n  padding: 2px;\n  border: 1px solid #888;\n}\n\n/* Specify class=linenums on a pre to get line numbering */\nol.linenums {\n  margin-top: 0;\n  margin-bottom: 0;\n}\n\n/* IE indents via margin-left */\nli.L0,\nli.L1,\nli.L2,\nli.L3,\nli.L5,\nli.L6,\nli.L7,\nli.L8 {\n  list-style-type: none;\n}\n\n/* Alternate shading for lines */\nli.L1,\nli.L3,\nli.L5,\nli.L7,\nli.L9 {\n  background: #eee;\n}\n\n.editormd-preview-container pre.prettyprint, .editormd-html-preview pre.prettyprint {\n  padding: 10px;\n  border: 1px solid #ddd;\n  white-space: pre-wrap;\n  word-wrap: break-word;\n}\n.editormd-preview-container ol.linenums, .editormd-html-preview ol.linenums {\n  color: #999;\n  padding-left: 2.5em;\n}\n.editormd-preview-container ol.linenums li, .editormd-html-preview ol.linenums li {\n  list-style-type: decimal;\n}\n.editormd-preview-container ol.linenums li code, .editormd-html-preview ol.linenums li code {\n  border: none;\n  background: none;\n  padding: 0;\n}\n\n.editormd-preview-container .editormd-toc-menu, .editormd-html-preview .editormd-toc-menu {\n  margin: 8px 0 12px 0;\n  display: inline-block;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc, .editormd-html-preview .editormd-toc-menu > .markdown-toc {\n  position: relative;\n  -webkit-border-radius: 4px;\n  -moz-border-radius: 4px;\n  -ms-border-radius: 4px;\n  -o-border-radius: 4px;\n  border-radius: 4px;\n  border: 1px solid #ddd;\n  display: inline-block;\n  font-size: 1em;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc > ul, .editormd-html-preview .editormd-toc-menu > .markdown-toc > ul {\n  width: 160%;\n  min-width: 180px;\n  position: absolute;\n  left: -1px;\n  top: -2px;\n  z-index: 100;\n  padding: 0 10px 10px;\n  display: none;\n  background: #fff;\n  border: 1px solid #ddd;\n  -webkit-border-radius: 4px;\n  -moz-border-radius: 4px;\n  -ms-border-radius: 4px;\n  -o-border-radius: 4px;\n  border-radius: 4px;\n  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Webkit browsers */\n  -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Firefox */\n  -ms-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* IE9 */\n  -o-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Opera(Old) */\n  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* IE9+, News */\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc > ul > li ul, .editormd-html-preview .editormd-toc-menu > .markdown-toc > ul > li ul {\n  width: 100%;\n  min-width: 180px;\n  border: 1px solid #ddd;\n  display: none;\n  background: #fff;\n  -webkit-border-radius: 4px;\n  -moz-border-radius: 4px;\n  -ms-border-radius: 4px;\n  -o-border-radius: 4px;\n  border-radius: 4px;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc > ul > li a, .editormd-html-preview .editormd-toc-menu > .markdown-toc > ul > li a {\n  color: #666;\n  padding: 6px 10px;\n  display: block;\n  -webkit-transition: background-color 500ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: background-color 500ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: background-color 500ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc > ul > li a:hover, .editormd-html-preview .editormd-toc-menu > .markdown-toc > ul > li a:hover {\n  background-color: #f6f6f6;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc li, .editormd-html-preview .editormd-toc-menu > .markdown-toc li {\n  position: relative;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul {\n  position: absolute;\n  top: 32px;\n  left: 10%;\n  display: none;\n  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Webkit browsers */\n  -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Firefox */\n  -ms-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* IE9 */\n  -o-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Opera(Old) */\n  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* IE9+, News */\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul:before, .editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul:after, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul:before, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul:after {\n  pointer-events: pointer-events;\n  position: absolute;\n  left: 15px;\n  top: -6px;\n  display: block;\n  content: \"\";\n  width: 0;\n  height: 0;\n  border: 6px solid transparent;\n  border-width: 0 6px 6px;\n  z-index: 10;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul:before, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul:before {\n  border-bottom-color: #ccc;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul:after, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul:after {\n  border-bottom-color: #ffffff;\n  top: -5px;\n}\n.editormd-preview-container .editormd-toc-menu ul, .editormd-html-preview .editormd-toc-menu ul {\n  list-style: none;\n}\n.editormd-preview-container .editormd-toc-menu a, .editormd-html-preview .editormd-toc-menu a {\n  text-decoration: none;\n}\n.editormd-preview-container .editormd-toc-menu h1, .editormd-html-preview .editormd-toc-menu h1 {\n  font-size: 16px;\n  padding: 5px 0 10px 10px;\n  line-height: 1;\n  border-bottom: 1px solid #eee;\n}\n.editormd-preview-container .editormd-toc-menu h1 .fa, .editormd-html-preview .editormd-toc-menu h1 .fa {\n  padding-left: 10px;\n}\n.editormd-preview-container .editormd-toc-menu .toc-menu-btn, .editormd-html-preview .editormd-toc-menu .toc-menu-btn {\n  color: #666;\n  min-width: 180px;\n  padding: 5px 10px;\n  border-radius: 4px;\n  display: inline-block;\n  -webkit-transition: background-color 500ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: background-color 500ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: background-color 500ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-preview-container .editormd-toc-menu .toc-menu-btn:hover, .editormd-html-preview .editormd-toc-menu .toc-menu-btn:hover {\n  background-color: #f6f6f6;\n}\n.editormd-preview-container .editormd-toc-menu .toc-menu-btn .fa, .editormd-html-preview .editormd-toc-menu .toc-menu-btn .fa {\n  float: right;\n  padding: 3px 0 0 10px;\n  font-size: 1.3em;\n}\n\n.markdown-body .editormd-toc-menu ul {\n  padding-left: 0;\n}\n.markdown-body .highlight pre, .markdown-body pre {\n  line-height: 1.6;\n}\n\nhr.editormd-page-break {\n  border: 1px dotted #ccc;\n  font-size: 0;\n  height: 2px;\n}\n\n@media only print {\n  hr.editormd-page-break {\n    background: none;\n    border: none;\n    height: 0;\n  }\n}\n.editormd-html-preview textarea {\n  display: none;\n}\n.editormd-html-preview hr.editormd-page-break {\n  background: none;\n  border: none;\n  height: 0;\n}\n\n.editormd-preview-close-btn {\n  color: #fff;\n  padding: 4px 6px;\n  font-size: 18px;\n  -webkit-border-radius: 500px;\n  -moz-border-radius: 500px;\n  -ms-border-radius: 500px;\n  -o-border-radius: 500px;\n  border-radius: 500px;\n  display: none;\n  background-color: #ccc;\n  position: absolute;\n  top: 25px;\n  right: 35px;\n  z-index: 19;\n  -webkit-transition: background-color 300ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: background-color 300ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: background-color 300ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-preview-close-btn:hover {\n  background-color: #999;\n}\n\n.editormd-preview-active {\n  width: 100%;\n  padding: 40px;\n}\n\n/* Preview dark theme */\n.editormd-preview-theme-dark {\n  color: #777;\n  background: #2C2827;\n}\n.editormd-preview-theme-dark .editormd-preview-container {\n  color: #888;\n  background-color: #2C2827;\n}\n.editormd-preview-theme-dark .editormd-preview-container pre.prettyprint {\n  border: none;\n}\n.editormd-preview-theme-dark .editormd-preview-container blockquote {\n  color: #555;\n  padding: 0.5em;\n  background: #222;\n  border-color: #333;\n}\n.editormd-preview-theme-dark .editormd-preview-container abbr {\n  color: #fff;\n  padding: 1px 3px;\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  -ms-border-radius: 3px;\n  -o-border-radius: 3px;\n  border-radius: 3px;\n  background: #ff9900;\n}\n.editormd-preview-theme-dark .editormd-preview-container code {\n  color: #fff;\n  border: none;\n  padding: 1px 3px;\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  -ms-border-radius: 3px;\n  -o-border-radius: 3px;\n  border-radius: 3px;\n  background: #5A9600;\n}\n.editormd-preview-theme-dark .editormd-preview-container table {\n  border: none;\n}\n.editormd-preview-theme-dark .editormd-preview-container .fa-emoji {\n  color: #B4BF42;\n}\n.editormd-preview-theme-dark .editormd-preview-container .katex {\n  color: #FEC93F;\n}\n.editormd-preview-theme-dark .editormd-toc-menu > .markdown-toc {\n  background: #fff;\n  border: none;\n}\n.editormd-preview-theme-dark .editormd-toc-menu > .markdown-toc h1 {\n  border-color: #ddd;\n}\n.editormd-preview-theme-dark .markdown-body h1, .editormd-preview-theme-dark .markdown-body h2, .editormd-preview-theme-dark .markdown-body hr {\n  border-color: #222;\n}\n.editormd-preview-theme-dark pre {\n  color: #999;\n  background-color: #111;\n  background-color: rgba(0, 0, 0, 0.4);\n  /* plain text */\n}\n.editormd-preview-theme-dark pre .pln {\n  color: #999;\n}\n.editormd-preview-theme-dark li.L1, .editormd-preview-theme-dark li.L3, .editormd-preview-theme-dark li.L5, .editormd-preview-theme-dark li.L7, .editormd-preview-theme-dark li.L9 {\n  background: none;\n}\n.editormd-preview-theme-dark [class*=editormd-logo] {\n  color: #2196F3;\n}\n.editormd-preview-theme-dark .sequence-diagram text {\n  fill: #fff;\n}\n.editormd-preview-theme-dark .sequence-diagram rect, .editormd-preview-theme-dark .sequence-diagram path {\n  color: #fff;\n  fill: #64D1CB;\n  stroke: #64D1CB;\n}\n.editormd-preview-theme-dark .flowchart rect, .editormd-preview-theme-dark .flowchart path {\n  stroke: #A6C6FF;\n}\n.editormd-preview-theme-dark .flowchart rect {\n  fill: #A6C6FF;\n}\n.editormd-preview-theme-dark .flowchart text {\n  fill: #5879B4;\n}\n\n@media screen {\n  .editormd-preview-theme-dark {\n    /* string content */\n    /* a keyword */\n    /* a comment */\n    /* a type name */\n    /* a literal value */\n    /* punctuation, lisp open bracket, lisp close bracket */\n    /* a markup tag name */\n    /* a markup attribute name */\n    /* a markup attribute value */\n    /* a declaration; a variable name */\n    /* a function name */\n  }\n  .editormd-preview-theme-dark .str {\n    color: #080;\n  }\n  .editormd-preview-theme-dark .kwd {\n    color: #ff9900;\n  }\n  .editormd-preview-theme-dark .com {\n    color: #444444;\n  }\n  .editormd-preview-theme-dark .typ {\n    color: #606;\n  }\n  .editormd-preview-theme-dark .lit {\n    color: #066;\n  }\n  .editormd-preview-theme-dark .pun, .editormd-preview-theme-dark .opn, .editormd-preview-theme-dark .clo {\n    color: #660;\n  }\n  .editormd-preview-theme-dark .tag {\n    color: #ff9900;\n  }\n  .editormd-preview-theme-dark .atn {\n    color: #6C95F5;\n  }\n  .editormd-preview-theme-dark .atv {\n    color: #080;\n  }\n  .editormd-preview-theme-dark .dec, .editormd-preview-theme-dark .var {\n    color: #008BA7;\n  }\n  .editormd-preview-theme-dark .fun {\n    color: red;\n  }\n}\n.editormd-onlyread .editormd-toolbar {\n  display: none;\n}\n.editormd-onlyread .CodeMirror {\n  margin-top: 0;\n}\n.editormd-onlyread .editormd-preview {\n  top: 0;\n}\n\n.editormd-fullscreen {\n  position: fixed;\n  top: 60px;\n  left: 0;\n  border: none;\n  margin: 0 auto;\n}\n\n/* Editor.md Dark theme */\n.editormd-theme-dark {\n  border-color: #1a1a17;\n}\n.editormd-theme-dark .editormd-toolbar {\n  background: #1A1A17;\n  border-color: #1a1a17;\n}\n.editormd-theme-dark .editormd-menu > li > a {\n  color: #777;\n  border-color: #1a1a17;\n}\n.editormd-theme-dark .editormd-menu > li > a:hover, .editormd-theme-dark .editormd-menu > li > a.active {\n  border-color: #333;\n  background: #333;\n}\n.editormd-theme-dark .editormd-menu > li.divider {\n  border-right: 1px solid #111;\n}\n.editormd-theme-dark .CodeMirror {\n  border-right: 1px solid rgba(0, 0, 0, 0.1);\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/css/editormd.logo.css",
    "content": "/*\n * Editor.md\n *\n * @file        editormd.logo.css \n * @version     v1.5.0 \n * @description Open source online markdown editor.\n * @license     MIT License\n * @author      Pandao\n * {@link       https://github.com/pandao/editor.md}\n * @updateTime  2015-06-09\n */\n\n/*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 */\n@font-face {\n  font-family: 'editormd-logo';\n  src: url(\"../fonts/editormd-logo.eot?-5y8q6h\");\n  src: url(\".../fonts/editormd-logo.eot?#iefix-5y8q6h\") format(\"embedded-opentype\"), url(\"../fonts/editormd-logo.woff?-5y8q6h\") format(\"woff\"), url(\"../fonts/editormd-logo.ttf?-5y8q6h\") format(\"truetype\"), url(\"../fonts/editormd-logo.svg?-5y8q6h#icomoon\") format(\"svg\");\n  font-weight: normal;\n  font-style: normal;\n}\n.editormd-logo,\n.editormd-logo-1x,\n.editormd-logo-2x,\n.editormd-logo-3x,\n.editormd-logo-4x,\n.editormd-logo-5x,\n.editormd-logo-6x,\n.editormd-logo-7x,\n.editormd-logo-8x {\n  font-family: 'editormd-logo';\n  speak: none;\n  font-style: normal;\n  font-weight: normal;\n  font-variant: normal;\n  text-transform: none;\n  font-size: inherit;\n  line-height: 1;\n  display: inline-block;\n  text-rendering: auto;\n  vertical-align: inherit;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n.editormd-logo:before,\n.editormd-logo-1x:before,\n.editormd-logo-2x:before,\n.editormd-logo-3x:before,\n.editormd-logo-4x:before,\n.editormd-logo-5x:before,\n.editormd-logo-6x:before,\n.editormd-logo-7x:before,\n.editormd-logo-8x:before {\n  content: \"\\e1987\";\n  /* \n  HTML Entity &#xe1987; \n  example: <span class=\"editormd-logo\">&#xe1987;</span>\n  */\n}\n\n.editormd-logo-1x {\n  font-size: 1em;\n}\n\n.editormd-logo-lg {\n  font-size: 1.2em;\n}\n\n.editormd-logo-2x {\n  font-size: 2em;\n}\n\n.editormd-logo-3x {\n  font-size: 3em;\n}\n\n.editormd-logo-4x {\n  font-size: 4em;\n}\n\n.editormd-logo-5x {\n  font-size: 5em;\n}\n\n.editormd-logo-6x {\n  font-size: 6em;\n}\n\n.editormd-logo-7x {\n  font-size: 7em;\n}\n\n.editormd-logo-8x {\n  font-size: 8em;\n}\n\n.editormd-logo-color {\n  color: #2196F3;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/css/editormd.preview.css",
    "content": "/*\n * Editor.md\n *\n * @file        editormd.preview.css \n * @version     v1.5.0 \n * @description Open source online markdown editor.\n * @license     MIT License\n * @author      Pandao\n * {@link       https://github.com/pandao/editor.md}\n * @updateTime  2015-06-09\n */\n\n@charset \"UTF-8\";\n/*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 */\n/*!\n *  Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome\n *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\n */\n/* FONT PATH\n * -------------------------- */\n@font-face {\n  font-family: 'FontAwesome';\n  src: url(\"../fonts/fontawesome-webfont.eot?v=4.3.0\");\n  src: url(\"../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0\") format(\"embedded-opentype\"), url(\"../fonts/fontawesome-webfont.woff2?v=4.3.0\") format(\"woff2\"), url(\"../fonts/fontawesome-webfont.woff?v=4.3.0\") format(\"woff\"), url(\"../fonts/fontawesome-webfont.ttf?v=4.3.0\") format(\"truetype\"), url(\"../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular\") format(\"svg\");\n  font-weight: normal;\n  font-style: normal;\n}\n.fa {\n  display: inline-block;\n  font: normal normal normal 14px/1 FontAwesome;\n  font-size: inherit;\n  text-rendering: auto;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  transform: translate(0, 0);\n}\n\n/* makes the font 33% larger relative to the icon container */\n.fa-lg {\n  font-size: 1.33333333em;\n  line-height: 0.75em;\n  vertical-align: -15%;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-fw {\n  width: 1.28571429em;\n  text-align: center;\n}\n\n.fa-ul {\n  padding-left: 0;\n  margin-left: 2.14285714em;\n  list-style-type: none;\n}\n\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  position: absolute;\n  left: -2.14285714em;\n  width: 2.14285714em;\n  top: 0.14285714em;\n  text-align: center;\n}\n\n.fa-li.fa-lg {\n  left: -1.85714286em;\n}\n\n.fa-border {\n  padding: .2em .25em .15em;\n  border: solid 0.08em #eeeeee;\n  border-radius: .1em;\n}\n\n.pull-right {\n  float: right;\n}\n\n.pull-left {\n  float: left;\n}\n\n.fa.pull-left {\n  margin-right: .3em;\n}\n\n.fa.pull-right {\n  margin-left: .3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n  animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n  animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n    transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(359deg);\n    transform: rotate(359deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n    transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(359deg);\n    transform: rotate(359deg);\n  }\n}\n.fa-rotate-90 {\n  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);\n  -webkit-transform: rotate(90deg);\n  -ms-transform: rotate(90deg);\n  transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);\n  -webkit-transform: rotate(180deg);\n  -ms-transform: rotate(180deg);\n  transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);\n  -webkit-transform: rotate(270deg);\n  -ms-transform: rotate(270deg);\n  transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);\n  -webkit-transform: scale(-1, 1);\n  -ms-transform: scale(-1, 1);\n  transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);\n  -webkit-transform: scale(1, -1);\n  -ms-transform: scale(1, -1);\n  transform: scale(1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical {\n  filter: none;\n}\n\n.fa-stack {\n  position: relative;\n  display: inline-block;\n  width: 2em;\n  height: 2em;\n  line-height: 2em;\n  vertical-align: middle;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  position: absolute;\n  left: 0;\n  width: 100%;\n  text-align: center;\n}\n\n.fa-stack-1x {\n  line-height: inherit;\n}\n\n.fa-stack-2x {\n  font-size: 2em;\n}\n\n.fa-inverse {\n  color: #ffffff;\n}\n\n/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen\n   readers do not read off random characters that represent icons */\n.fa-glass:before {\n  content: \"\\f000\";\n}\n\n.fa-music:before {\n  content: \"\\f001\";\n}\n\n.fa-search:before {\n  content: \"\\f002\";\n}\n\n.fa-envelope-o:before {\n  content: \"\\f003\";\n}\n\n.fa-heart:before {\n  content: \"\\f004\";\n}\n\n.fa-star:before {\n  content: \"\\f005\";\n}\n\n.fa-star-o:before {\n  content: \"\\f006\";\n}\n\n.fa-user:before {\n  content: \"\\f007\";\n}\n\n.fa-film:before {\n  content: \"\\f008\";\n}\n\n.fa-th-large:before {\n  content: \"\\f009\";\n}\n\n.fa-th:before {\n  content: \"\\f00a\";\n}\n\n.fa-th-list:before {\n  content: \"\\f00b\";\n}\n\n.fa-check:before {\n  content: \"\\f00c\";\n}\n\n.fa-remove:before,\n.fa-close:before,\n.fa-times:before {\n  content: \"\\f00d\";\n}\n\n.fa-search-plus:before {\n  content: \"\\f00e\";\n}\n\n.fa-search-minus:before {\n  content: \"\\f010\";\n}\n\n.fa-power-off:before {\n  content: \"\\f011\";\n}\n\n.fa-signal:before {\n  content: \"\\f012\";\n}\n\n.fa-gear:before,\n.fa-cog:before {\n  content: \"\\f013\";\n}\n\n.fa-trash-o:before {\n  content: \"\\f014\";\n}\n\n.fa-home:before {\n  content: \"\\f015\";\n}\n\n.fa-file-o:before {\n  content: \"\\f016\";\n}\n\n.fa-clock-o:before {\n  content: \"\\f017\";\n}\n\n.fa-road:before {\n  content: \"\\f018\";\n}\n\n.fa-download:before {\n  content: \"\\f019\";\n}\n\n.fa-arrow-circle-o-down:before {\n  content: \"\\f01a\";\n}\n\n.fa-arrow-circle-o-up:before {\n  content: \"\\f01b\";\n}\n\n.fa-inbox:before {\n  content: \"\\f01c\";\n}\n\n.fa-play-circle-o:before {\n  content: \"\\f01d\";\n}\n\n.fa-rotate-right:before,\n.fa-repeat:before {\n  content: \"\\f01e\";\n}\n\n.fa-refresh:before {\n  content: \"\\f021\";\n}\n\n.fa-list-alt:before {\n  content: \"\\f022\";\n}\n\n.fa-lock:before {\n  content: \"\\f023\";\n}\n\n.fa-flag:before {\n  content: \"\\f024\";\n}\n\n.fa-headphones:before {\n  content: \"\\f025\";\n}\n\n.fa-volume-off:before {\n  content: \"\\f026\";\n}\n\n.fa-volume-down:before {\n  content: \"\\f027\";\n}\n\n.fa-volume-up:before {\n  content: \"\\f028\";\n}\n\n.fa-qrcode:before {\n  content: \"\\f029\";\n}\n\n.fa-barcode:before {\n  content: \"\\f02a\";\n}\n\n.fa-tag:before {\n  content: \"\\f02b\";\n}\n\n.fa-tags:before {\n  content: \"\\f02c\";\n}\n\n.fa-book:before {\n  content: \"\\f02d\";\n}\n\n.fa-bookmark:before {\n  content: \"\\f02e\";\n}\n\n.fa-print:before {\n  content: \"\\f02f\";\n}\n\n.fa-camera:before {\n  content: \"\\f030\";\n}\n\n.fa-font:before {\n  content: \"\\f031\";\n}\n\n.fa-bold:before {\n  content: \"\\f032\";\n}\n\n.fa-italic:before {\n  content: \"\\f033\";\n}\n\n.fa-text-height:before {\n  content: \"\\f034\";\n}\n\n.fa-text-width:before {\n  content: \"\\f035\";\n}\n\n.fa-align-left:before {\n  content: \"\\f036\";\n}\n\n.fa-align-center:before {\n  content: \"\\f037\";\n}\n\n.fa-align-right:before {\n  content: \"\\f038\";\n}\n\n.fa-align-justify:before {\n  content: \"\\f039\";\n}\n\n.fa-list:before {\n  content: \"\\f03a\";\n}\n\n.fa-dedent:before,\n.fa-outdent:before {\n  content: \"\\f03b\";\n}\n\n.fa-indent:before {\n  content: \"\\f03c\";\n}\n\n.fa-video-camera:before {\n  content: \"\\f03d\";\n}\n\n.fa-photo:before,\n.fa-image:before,\n.fa-picture-o:before {\n  content: \"\\f03e\";\n}\n\n.fa-pencil:before {\n  content: \"\\f040\";\n}\n\n.fa-map-marker:before {\n  content: \"\\f041\";\n}\n\n.fa-adjust:before {\n  content: \"\\f042\";\n}\n\n.fa-tint:before {\n  content: \"\\f043\";\n}\n\n.fa-edit:before,\n.fa-pencil-square-o:before {\n  content: \"\\f044\";\n}\n\n.fa-share-square-o:before {\n  content: \"\\f045\";\n}\n\n.fa-check-square-o:before {\n  content: \"\\f046\";\n}\n\n.fa-arrows:before {\n  content: \"\\f047\";\n}\n\n.fa-step-backward:before {\n  content: \"\\f048\";\n}\n\n.fa-fast-backward:before {\n  content: \"\\f049\";\n}\n\n.fa-backward:before {\n  content: \"\\f04a\";\n}\n\n.fa-play:before {\n  content: \"\\f04b\";\n}\n\n.fa-pause:before {\n  content: \"\\f04c\";\n}\n\n.fa-stop:before {\n  content: \"\\f04d\";\n}\n\n.fa-forward:before {\n  content: \"\\f04e\";\n}\n\n.fa-fast-forward:before {\n  content: \"\\f050\";\n}\n\n.fa-step-forward:before {\n  content: \"\\f051\";\n}\n\n.fa-eject:before {\n  content: \"\\f052\";\n}\n\n.fa-chevron-left:before {\n  content: \"\\f053\";\n}\n\n.fa-chevron-right:before {\n  content: \"\\f054\";\n}\n\n.fa-plus-circle:before {\n  content: \"\\f055\";\n}\n\n.fa-minus-circle:before {\n  content: \"\\f056\";\n}\n\n.fa-times-circle:before {\n  content: \"\\f057\";\n}\n\n.fa-check-circle:before {\n  content: \"\\f058\";\n}\n\n.fa-question-circle:before {\n  content: \"\\f059\";\n}\n\n.fa-info-circle:before {\n  content: \"\\f05a\";\n}\n\n.fa-crosshairs:before {\n  content: \"\\f05b\";\n}\n\n.fa-times-circle-o:before {\n  content: \"\\f05c\";\n}\n\n.fa-check-circle-o:before {\n  content: \"\\f05d\";\n}\n\n.fa-ban:before {\n  content: \"\\f05e\";\n}\n\n.fa-arrow-left:before {\n  content: \"\\f060\";\n}\n\n.fa-arrow-right:before {\n  content: \"\\f061\";\n}\n\n.fa-arrow-up:before {\n  content: \"\\f062\";\n}\n\n.fa-arrow-down:before {\n  content: \"\\f063\";\n}\n\n.fa-mail-forward:before,\n.fa-share:before {\n  content: \"\\f064\";\n}\n\n.fa-expand:before {\n  content: \"\\f065\";\n}\n\n.fa-compress:before {\n  content: \"\\f066\";\n}\n\n.fa-plus:before {\n  content: \"\\f067\";\n}\n\n.fa-minus:before {\n  content: \"\\f068\";\n}\n\n.fa-asterisk:before {\n  content: \"\\f069\";\n}\n\n.fa-exclamation-circle:before {\n  content: \"\\f06a\";\n}\n\n.fa-gift:before {\n  content: \"\\f06b\";\n}\n\n.fa-leaf:before {\n  content: \"\\f06c\";\n}\n\n.fa-fire:before {\n  content: \"\\f06d\";\n}\n\n.fa-eye:before {\n  content: \"\\f06e\";\n}\n\n.fa-eye-slash:before {\n  content: \"\\f070\";\n}\n\n.fa-warning:before,\n.fa-exclamation-triangle:before {\n  content: \"\\f071\";\n}\n\n.fa-plane:before {\n  content: \"\\f072\";\n}\n\n.fa-calendar:before {\n  content: \"\\f073\";\n}\n\n.fa-random:before {\n  content: \"\\f074\";\n}\n\n.fa-comment:before {\n  content: \"\\f075\";\n}\n\n.fa-magnet:before {\n  content: \"\\f076\";\n}\n\n.fa-chevron-up:before {\n  content: \"\\f077\";\n}\n\n.fa-chevron-down:before {\n  content: \"\\f078\";\n}\n\n.fa-retweet:before {\n  content: \"\\f079\";\n}\n\n.fa-shopping-cart:before {\n  content: \"\\f07a\";\n}\n\n.fa-folder:before {\n  content: \"\\f07b\";\n}\n\n.fa-folder-open:before {\n  content: \"\\f07c\";\n}\n\n.fa-arrows-v:before {\n  content: \"\\f07d\";\n}\n\n.fa-arrows-h:before {\n  content: \"\\f07e\";\n}\n\n.fa-bar-chart-o:before,\n.fa-bar-chart:before {\n  content: \"\\f080\";\n}\n\n.fa-twitter-square:before {\n  content: \"\\f081\";\n}\n\n.fa-facebook-square:before {\n  content: \"\\f082\";\n}\n\n.fa-camera-retro:before {\n  content: \"\\f083\";\n}\n\n.fa-key:before {\n  content: \"\\f084\";\n}\n\n.fa-gears:before,\n.fa-cogs:before {\n  content: \"\\f085\";\n}\n\n.fa-comments:before {\n  content: \"\\f086\";\n}\n\n.fa-thumbs-o-up:before {\n  content: \"\\f087\";\n}\n\n.fa-thumbs-o-down:before {\n  content: \"\\f088\";\n}\n\n.fa-star-half:before {\n  content: \"\\f089\";\n}\n\n.fa-heart-o:before {\n  content: \"\\f08a\";\n}\n\n.fa-sign-out:before {\n  content: \"\\f08b\";\n}\n\n.fa-linkedin-square:before {\n  content: \"\\f08c\";\n}\n\n.fa-thumb-tack:before {\n  content: \"\\f08d\";\n}\n\n.fa-external-link:before {\n  content: \"\\f08e\";\n}\n\n.fa-sign-in:before {\n  content: \"\\f090\";\n}\n\n.fa-trophy:before {\n  content: \"\\f091\";\n}\n\n.fa-github-square:before {\n  content: \"\\f092\";\n}\n\n.fa-upload:before {\n  content: \"\\f093\";\n}\n\n.fa-lemon-o:before {\n  content: \"\\f094\";\n}\n\n.fa-phone:before {\n  content: \"\\f095\";\n}\n\n.fa-square-o:before {\n  content: \"\\f096\";\n}\n\n.fa-bookmark-o:before {\n  content: \"\\f097\";\n}\n\n.fa-phone-square:before {\n  content: \"\\f098\";\n}\n\n.fa-twitter:before {\n  content: \"\\f099\";\n}\n\n.fa-facebook-f:before,\n.fa-facebook:before {\n  content: \"\\f09a\";\n}\n\n.fa-github:before {\n  content: \"\\f09b\";\n}\n\n.fa-unlock:before {\n  content: \"\\f09c\";\n}\n\n.fa-credit-card:before {\n  content: \"\\f09d\";\n}\n\n.fa-rss:before {\n  content: \"\\f09e\";\n}\n\n.fa-hdd-o:before {\n  content: \"\\f0a0\";\n}\n\n.fa-bullhorn:before {\n  content: \"\\f0a1\";\n}\n\n.fa-bell:before {\n  content: \"\\f0f3\";\n}\n\n.fa-certificate:before {\n  content: \"\\f0a3\";\n}\n\n.fa-hand-o-right:before {\n  content: \"\\f0a4\";\n}\n\n.fa-hand-o-left:before {\n  content: \"\\f0a5\";\n}\n\n.fa-hand-o-up:before {\n  content: \"\\f0a6\";\n}\n\n.fa-hand-o-down:before {\n  content: \"\\f0a7\";\n}\n\n.fa-arrow-circle-left:before {\n  content: \"\\f0a8\";\n}\n\n.fa-arrow-circle-right:before {\n  content: \"\\f0a9\";\n}\n\n.fa-arrow-circle-up:before {\n  content: \"\\f0aa\";\n}\n\n.fa-arrow-circle-down:before {\n  content: \"\\f0ab\";\n}\n\n.fa-globe:before {\n  content: \"\\f0ac\";\n}\n\n.fa-wrench:before {\n  content: \"\\f0ad\";\n}\n\n.fa-tasks:before {\n  content: \"\\f0ae\";\n}\n\n.fa-filter:before {\n  content: \"\\f0b0\";\n}\n\n.fa-briefcase:before {\n  content: \"\\f0b1\";\n}\n\n.fa-arrows-alt:before {\n  content: \"\\f0b2\";\n}\n\n.fa-group:before,\n.fa-users:before {\n  content: \"\\f0c0\";\n}\n\n.fa-chain:before,\n.fa-link:before {\n  content: \"\\f0c1\";\n}\n\n.fa-cloud:before {\n  content: \"\\f0c2\";\n}\n\n.fa-flask:before {\n  content: \"\\f0c3\";\n}\n\n.fa-cut:before,\n.fa-scissors:before {\n  content: \"\\f0c4\";\n}\n\n.fa-copy:before,\n.fa-files-o:before {\n  content: \"\\f0c5\";\n}\n\n.fa-paperclip:before {\n  content: \"\\f0c6\";\n}\n\n.fa-save:before,\n.fa-floppy-o:before {\n  content: \"\\f0c7\";\n}\n\n.fa-square:before {\n  content: \"\\f0c8\";\n}\n\n.fa-navicon:before,\n.fa-reorder:before,\n.fa-bars:before {\n  content: \"\\f0c9\";\n}\n\n.fa-list-ul:before {\n  content: \"\\f0ca\";\n}\n\n.fa-list-ol:before {\n  content: \"\\f0cb\";\n}\n\n.fa-strikethrough:before {\n  content: \"\\f0cc\";\n}\n\n.fa-underline:before {\n  content: \"\\f0cd\";\n}\n\n.fa-table:before {\n  content: \"\\f0ce\";\n}\n\n.fa-magic:before {\n  content: \"\\f0d0\";\n}\n\n.fa-truck:before {\n  content: \"\\f0d1\";\n}\n\n.fa-pinterest:before {\n  content: \"\\f0d2\";\n}\n\n.fa-pinterest-square:before {\n  content: \"\\f0d3\";\n}\n\n.fa-google-plus-square:before {\n  content: \"\\f0d4\";\n}\n\n.fa-google-plus:before {\n  content: \"\\f0d5\";\n}\n\n.fa-money:before {\n  content: \"\\f0d6\";\n}\n\n.fa-caret-down:before {\n  content: \"\\f0d7\";\n}\n\n.fa-caret-up:before {\n  content: \"\\f0d8\";\n}\n\n.fa-caret-left:before {\n  content: \"\\f0d9\";\n}\n\n.fa-caret-right:before {\n  content: \"\\f0da\";\n}\n\n.fa-columns:before {\n  content: \"\\f0db\";\n}\n\n.fa-unsorted:before,\n.fa-sort:before {\n  content: \"\\f0dc\";\n}\n\n.fa-sort-down:before,\n.fa-sort-desc:before {\n  content: \"\\f0dd\";\n}\n\n.fa-sort-up:before,\n.fa-sort-asc:before {\n  content: \"\\f0de\";\n}\n\n.fa-envelope:before {\n  content: \"\\f0e0\";\n}\n\n.fa-linkedin:before {\n  content: \"\\f0e1\";\n}\n\n.fa-rotate-left:before,\n.fa-undo:before {\n  content: \"\\f0e2\";\n}\n\n.fa-legal:before,\n.fa-gavel:before {\n  content: \"\\f0e3\";\n}\n\n.fa-dashboard:before,\n.fa-tachometer:before {\n  content: \"\\f0e4\";\n}\n\n.fa-comment-o:before {\n  content: \"\\f0e5\";\n}\n\n.fa-comments-o:before {\n  content: \"\\f0e6\";\n}\n\n.fa-flash:before,\n.fa-bolt:before {\n  content: \"\\f0e7\";\n}\n\n.fa-sitemap:before {\n  content: \"\\f0e8\";\n}\n\n.fa-umbrella:before {\n  content: \"\\f0e9\";\n}\n\n.fa-paste:before,\n.fa-clipboard:before {\n  content: \"\\f0ea\";\n}\n\n.fa-lightbulb-o:before {\n  content: \"\\f0eb\";\n}\n\n.fa-exchange:before {\n  content: \"\\f0ec\";\n}\n\n.fa-cloud-download:before {\n  content: \"\\f0ed\";\n}\n\n.fa-cloud-upload:before {\n  content: \"\\f0ee\";\n}\n\n.fa-user-md:before {\n  content: \"\\f0f0\";\n}\n\n.fa-stethoscope:before {\n  content: \"\\f0f1\";\n}\n\n.fa-suitcase:before {\n  content: \"\\f0f2\";\n}\n\n.fa-bell-o:before {\n  content: \"\\f0a2\";\n}\n\n.fa-coffee:before {\n  content: \"\\f0f4\";\n}\n\n.fa-cutlery:before {\n  content: \"\\f0f5\";\n}\n\n.fa-file-text-o:before {\n  content: \"\\f0f6\";\n}\n\n.fa-building-o:before {\n  content: \"\\f0f7\";\n}\n\n.fa-hospital-o:before {\n  content: \"\\f0f8\";\n}\n\n.fa-ambulance:before {\n  content: \"\\f0f9\";\n}\n\n.fa-medkit:before {\n  content: \"\\f0fa\";\n}\n\n.fa-fighter-jet:before {\n  content: \"\\f0fb\";\n}\n\n.fa-beer:before {\n  content: \"\\f0fc\";\n}\n\n.fa-h-square:before {\n  content: \"\\f0fd\";\n}\n\n.fa-plus-square:before {\n  content: \"\\f0fe\";\n}\n\n.fa-angle-double-left:before {\n  content: \"\\f100\";\n}\n\n.fa-angle-double-right:before {\n  content: \"\\f101\";\n}\n\n.fa-angle-double-up:before {\n  content: \"\\f102\";\n}\n\n.fa-angle-double-down:before {\n  content: \"\\f103\";\n}\n\n.fa-angle-left:before {\n  content: \"\\f104\";\n}\n\n.fa-angle-right:before {\n  content: \"\\f105\";\n}\n\n.fa-angle-up:before {\n  content: \"\\f106\";\n}\n\n.fa-angle-down:before {\n  content: \"\\f107\";\n}\n\n.fa-desktop:before {\n  content: \"\\f108\";\n}\n\n.fa-laptop:before {\n  content: \"\\f109\";\n}\n\n.fa-tablet:before {\n  content: \"\\f10a\";\n}\n\n.fa-mobile-phone:before,\n.fa-mobile:before {\n  content: \"\\f10b\";\n}\n\n.fa-circle-o:before {\n  content: \"\\f10c\";\n}\n\n.fa-quote-left:before {\n  content: \"\\f10d\";\n}\n\n.fa-quote-right:before {\n  content: \"\\f10e\";\n}\n\n.fa-spinner:before {\n  content: \"\\f110\";\n}\n\n.fa-circle:before {\n  content: \"\\f111\";\n}\n\n.fa-mail-reply:before,\n.fa-reply:before {\n  content: \"\\f112\";\n}\n\n.fa-github-alt:before {\n  content: \"\\f113\";\n}\n\n.fa-folder-o:before {\n  content: \"\\f114\";\n}\n\n.fa-folder-open-o:before {\n  content: \"\\f115\";\n}\n\n.fa-smile-o:before {\n  content: \"\\f118\";\n}\n\n.fa-frown-o:before {\n  content: \"\\f119\";\n}\n\n.fa-meh-o:before {\n  content: \"\\f11a\";\n}\n\n.fa-gamepad:before {\n  content: \"\\f11b\";\n}\n\n.fa-keyboard-o:before {\n  content: \"\\f11c\";\n}\n\n.fa-flag-o:before {\n  content: \"\\f11d\";\n}\n\n.fa-flag-checkered:before {\n  content: \"\\f11e\";\n}\n\n.fa-terminal:before {\n  content: \"\\f120\";\n}\n\n.fa-code:before {\n  content: \"\\f121\";\n}\n\n.fa-mail-reply-all:before,\n.fa-reply-all:before {\n  content: \"\\f122\";\n}\n\n.fa-star-half-empty:before,\n.fa-star-half-full:before,\n.fa-star-half-o:before {\n  content: \"\\f123\";\n}\n\n.fa-location-arrow:before {\n  content: \"\\f124\";\n}\n\n.fa-crop:before {\n  content: \"\\f125\";\n}\n\n.fa-code-fork:before {\n  content: \"\\f126\";\n}\n\n.fa-unlink:before,\n.fa-chain-broken:before {\n  content: \"\\f127\";\n}\n\n.fa-question:before {\n  content: \"\\f128\";\n}\n\n.fa-info:before {\n  content: \"\\f129\";\n}\n\n.fa-exclamation:before {\n  content: \"\\f12a\";\n}\n\n.fa-superscript:before {\n  content: \"\\f12b\";\n}\n\n.fa-subscript:before {\n  content: \"\\f12c\";\n}\n\n.fa-eraser:before {\n  content: \"\\f12d\";\n}\n\n.fa-puzzle-piece:before {\n  content: \"\\f12e\";\n}\n\n.fa-microphone:before {\n  content: \"\\f130\";\n}\n\n.fa-microphone-slash:before {\n  content: \"\\f131\";\n}\n\n.fa-shield:before {\n  content: \"\\f132\";\n}\n\n.fa-calendar-o:before {\n  content: \"\\f133\";\n}\n\n.fa-fire-extinguisher:before {\n  content: \"\\f134\";\n}\n\n.fa-rocket:before {\n  content: \"\\f135\";\n}\n\n.fa-maxcdn:before {\n  content: \"\\f136\";\n}\n\n.fa-chevron-circle-left:before {\n  content: \"\\f137\";\n}\n\n.fa-chevron-circle-right:before {\n  content: \"\\f138\";\n}\n\n.fa-chevron-circle-up:before {\n  content: \"\\f139\";\n}\n\n.fa-chevron-circle-down:before {\n  content: \"\\f13a\";\n}\n\n.fa-html5:before {\n  content: \"\\f13b\";\n}\n\n.fa-css3:before {\n  content: \"\\f13c\";\n}\n\n.fa-anchor:before {\n  content: \"\\f13d\";\n}\n\n.fa-unlock-alt:before {\n  content: \"\\f13e\";\n}\n\n.fa-bullseye:before {\n  content: \"\\f140\";\n}\n\n.fa-ellipsis-h:before {\n  content: \"\\f141\";\n}\n\n.fa-ellipsis-v:before {\n  content: \"\\f142\";\n}\n\n.fa-rss-square:before {\n  content: \"\\f143\";\n}\n\n.fa-play-circle:before {\n  content: \"\\f144\";\n}\n\n.fa-ticket:before {\n  content: \"\\f145\";\n}\n\n.fa-minus-square:before {\n  content: \"\\f146\";\n}\n\n.fa-minus-square-o:before {\n  content: \"\\f147\";\n}\n\n.fa-level-up:before {\n  content: \"\\f148\";\n}\n\n.fa-level-down:before {\n  content: \"\\f149\";\n}\n\n.fa-check-square:before {\n  content: \"\\f14a\";\n}\n\n.fa-pencil-square:before {\n  content: \"\\f14b\";\n}\n\n.fa-external-link-square:before {\n  content: \"\\f14c\";\n}\n\n.fa-share-square:before {\n  content: \"\\f14d\";\n}\n\n.fa-compass:before {\n  content: \"\\f14e\";\n}\n\n.fa-toggle-down:before,\n.fa-caret-square-o-down:before {\n  content: \"\\f150\";\n}\n\n.fa-toggle-up:before,\n.fa-caret-square-o-up:before {\n  content: \"\\f151\";\n}\n\n.fa-toggle-right:before,\n.fa-caret-square-o-right:before {\n  content: \"\\f152\";\n}\n\n.fa-euro:before,\n.fa-eur:before {\n  content: \"\\f153\";\n}\n\n.fa-gbp:before {\n  content: \"\\f154\";\n}\n\n.fa-dollar:before,\n.fa-usd:before {\n  content: \"\\f155\";\n}\n\n.fa-rupee:before,\n.fa-inr:before {\n  content: \"\\f156\";\n}\n\n.fa-cny:before,\n.fa-rmb:before,\n.fa-yen:before,\n.fa-jpy:before {\n  content: \"\\f157\";\n}\n\n.fa-ruble:before,\n.fa-rouble:before,\n.fa-rub:before {\n  content: \"\\f158\";\n}\n\n.fa-won:before,\n.fa-krw:before {\n  content: \"\\f159\";\n}\n\n.fa-bitcoin:before,\n.fa-btc:before {\n  content: \"\\f15a\";\n}\n\n.fa-file:before {\n  content: \"\\f15b\";\n}\n\n.fa-file-text:before {\n  content: \"\\f15c\";\n}\n\n.fa-sort-alpha-asc:before {\n  content: \"\\f15d\";\n}\n\n.fa-sort-alpha-desc:before {\n  content: \"\\f15e\";\n}\n\n.fa-sort-amount-asc:before {\n  content: \"\\f160\";\n}\n\n.fa-sort-amount-desc:before {\n  content: \"\\f161\";\n}\n\n.fa-sort-numeric-asc:before {\n  content: \"\\f162\";\n}\n\n.fa-sort-numeric-desc:before {\n  content: \"\\f163\";\n}\n\n.fa-thumbs-up:before {\n  content: \"\\f164\";\n}\n\n.fa-thumbs-down:before {\n  content: \"\\f165\";\n}\n\n.fa-youtube-square:before {\n  content: \"\\f166\";\n}\n\n.fa-youtube:before {\n  content: \"\\f167\";\n}\n\n.fa-xing:before {\n  content: \"\\f168\";\n}\n\n.fa-xing-square:before {\n  content: \"\\f169\";\n}\n\n.fa-youtube-play:before {\n  content: \"\\f16a\";\n}\n\n.fa-dropbox:before {\n  content: \"\\f16b\";\n}\n\n.fa-stack-overflow:before {\n  content: \"\\f16c\";\n}\n\n.fa-instagram:before {\n  content: \"\\f16d\";\n}\n\n.fa-flickr:before {\n  content: \"\\f16e\";\n}\n\n.fa-adn:before {\n  content: \"\\f170\";\n}\n\n.fa-bitbucket:before {\n  content: \"\\f171\";\n}\n\n.fa-bitbucket-square:before {\n  content: \"\\f172\";\n}\n\n.fa-tumblr:before {\n  content: \"\\f173\";\n}\n\n.fa-tumblr-square:before {\n  content: \"\\f174\";\n}\n\n.fa-long-arrow-down:before {\n  content: \"\\f175\";\n}\n\n.fa-long-arrow-up:before {\n  content: \"\\f176\";\n}\n\n.fa-long-arrow-left:before {\n  content: \"\\f177\";\n}\n\n.fa-long-arrow-right:before {\n  content: \"\\f178\";\n}\n\n.fa-apple:before {\n  content: \"\\f179\";\n}\n\n.fa-windows:before {\n  content: \"\\f17a\";\n}\n\n.fa-android:before {\n  content: \"\\f17b\";\n}\n\n.fa-linux:before {\n  content: \"\\f17c\";\n}\n\n.fa-dribbble:before {\n  content: \"\\f17d\";\n}\n\n.fa-skype:before {\n  content: \"\\f17e\";\n}\n\n.fa-foursquare:before {\n  content: \"\\f180\";\n}\n\n.fa-trello:before {\n  content: \"\\f181\";\n}\n\n.fa-female:before {\n  content: \"\\f182\";\n}\n\n.fa-male:before {\n  content: \"\\f183\";\n}\n\n.fa-gittip:before,\n.fa-gratipay:before {\n  content: \"\\f184\";\n}\n\n.fa-sun-o:before {\n  content: \"\\f185\";\n}\n\n.fa-moon-o:before {\n  content: \"\\f186\";\n}\n\n.fa-archive:before {\n  content: \"\\f187\";\n}\n\n.fa-bug:before {\n  content: \"\\f188\";\n}\n\n.fa-vk:before {\n  content: \"\\f189\";\n}\n\n.fa-weibo:before {\n  content: \"\\f18a\";\n}\n\n.fa-renren:before {\n  content: \"\\f18b\";\n}\n\n.fa-pagelines:before {\n  content: \"\\f18c\";\n}\n\n.fa-stack-exchange:before {\n  content: \"\\f18d\";\n}\n\n.fa-arrow-circle-o-right:before {\n  content: \"\\f18e\";\n}\n\n.fa-arrow-circle-o-left:before {\n  content: \"\\f190\";\n}\n\n.fa-toggle-left:before,\n.fa-caret-square-o-left:before {\n  content: \"\\f191\";\n}\n\n.fa-dot-circle-o:before {\n  content: \"\\f192\";\n}\n\n.fa-wheelchair:before {\n  content: \"\\f193\";\n}\n\n.fa-vimeo-square:before {\n  content: \"\\f194\";\n}\n\n.fa-turkish-lira:before,\n.fa-try:before {\n  content: \"\\f195\";\n}\n\n.fa-plus-square-o:before {\n  content: \"\\f196\";\n}\n\n.fa-space-shuttle:before {\n  content: \"\\f197\";\n}\n\n.fa-slack:before {\n  content: \"\\f198\";\n}\n\n.fa-envelope-square:before {\n  content: \"\\f199\";\n}\n\n.fa-wordpress:before {\n  content: \"\\f19a\";\n}\n\n.fa-openid:before {\n  content: \"\\f19b\";\n}\n\n.fa-institution:before,\n.fa-bank:before,\n.fa-university:before {\n  content: \"\\f19c\";\n}\n\n.fa-mortar-board:before,\n.fa-graduation-cap:before {\n  content: \"\\f19d\";\n}\n\n.fa-yahoo:before {\n  content: \"\\f19e\";\n}\n\n.fa-google:before {\n  content: \"\\f1a0\";\n}\n\n.fa-reddit:before {\n  content: \"\\f1a1\";\n}\n\n.fa-reddit-square:before {\n  content: \"\\f1a2\";\n}\n\n.fa-stumbleupon-circle:before {\n  content: \"\\f1a3\";\n}\n\n.fa-stumbleupon:before {\n  content: \"\\f1a4\";\n}\n\n.fa-delicious:before {\n  content: \"\\f1a5\";\n}\n\n.fa-digg:before {\n  content: \"\\f1a6\";\n}\n\n.fa-pied-piper:before {\n  content: \"\\f1a7\";\n}\n\n.fa-pied-piper-alt:before {\n  content: \"\\f1a8\";\n}\n\n.fa-drupal:before {\n  content: \"\\f1a9\";\n}\n\n.fa-joomla:before {\n  content: \"\\f1aa\";\n}\n\n.fa-language:before {\n  content: \"\\f1ab\";\n}\n\n.fa-fax:before {\n  content: \"\\f1ac\";\n}\n\n.fa-building:before {\n  content: \"\\f1ad\";\n}\n\n.fa-child:before {\n  content: \"\\f1ae\";\n}\n\n.fa-paw:before {\n  content: \"\\f1b0\";\n}\n\n.fa-spoon:before {\n  content: \"\\f1b1\";\n}\n\n.fa-cube:before {\n  content: \"\\f1b2\";\n}\n\n.fa-cubes:before {\n  content: \"\\f1b3\";\n}\n\n.fa-behance:before {\n  content: \"\\f1b4\";\n}\n\n.fa-behance-square:before {\n  content: \"\\f1b5\";\n}\n\n.fa-steam:before {\n  content: \"\\f1b6\";\n}\n\n.fa-steam-square:before {\n  content: \"\\f1b7\";\n}\n\n.fa-recycle:before {\n  content: \"\\f1b8\";\n}\n\n.fa-automobile:before,\n.fa-car:before {\n  content: \"\\f1b9\";\n}\n\n.fa-cab:before,\n.fa-taxi:before {\n  content: \"\\f1ba\";\n}\n\n.fa-tree:before {\n  content: \"\\f1bb\";\n}\n\n.fa-spotify:before {\n  content: \"\\f1bc\";\n}\n\n.fa-deviantart:before {\n  content: \"\\f1bd\";\n}\n\n.fa-soundcloud:before {\n  content: \"\\f1be\";\n}\n\n.fa-database:before {\n  content: \"\\f1c0\";\n}\n\n.fa-file-pdf-o:before {\n  content: \"\\f1c1\";\n}\n\n.fa-file-word-o:before {\n  content: \"\\f1c2\";\n}\n\n.fa-file-excel-o:before {\n  content: \"\\f1c3\";\n}\n\n.fa-file-powerpoint-o:before {\n  content: \"\\f1c4\";\n}\n\n.fa-file-photo-o:before,\n.fa-file-picture-o:before,\n.fa-file-image-o:before {\n  content: \"\\f1c5\";\n}\n\n.fa-file-zip-o:before,\n.fa-file-archive-o:before {\n  content: \"\\f1c6\";\n}\n\n.fa-file-sound-o:before,\n.fa-file-audio-o:before {\n  content: \"\\f1c7\";\n}\n\n.fa-file-movie-o:before,\n.fa-file-video-o:before {\n  content: \"\\f1c8\";\n}\n\n.fa-file-code-o:before {\n  content: \"\\f1c9\";\n}\n\n.fa-vine:before {\n  content: \"\\f1ca\";\n}\n\n.fa-codepen:before {\n  content: \"\\f1cb\";\n}\n\n.fa-jsfiddle:before {\n  content: \"\\f1cc\";\n}\n\n.fa-life-bouy:before,\n.fa-life-buoy:before,\n.fa-life-saver:before,\n.fa-support:before,\n.fa-life-ring:before {\n  content: \"\\f1cd\";\n}\n\n.fa-circle-o-notch:before {\n  content: \"\\f1ce\";\n}\n\n.fa-ra:before,\n.fa-rebel:before {\n  content: \"\\f1d0\";\n}\n\n.fa-ge:before,\n.fa-empire:before {\n  content: \"\\f1d1\";\n}\n\n.fa-git-square:before {\n  content: \"\\f1d2\";\n}\n\n.fa-git:before {\n  content: \"\\f1d3\";\n}\n\n.fa-hacker-news:before {\n  content: \"\\f1d4\";\n}\n\n.fa-tencent-weibo:before {\n  content: \"\\f1d5\";\n}\n\n.fa-qq:before {\n  content: \"\\f1d6\";\n}\n\n.fa-wechat:before,\n.fa-weixin:before {\n  content: \"\\f1d7\";\n}\n\n.fa-send:before,\n.fa-paper-plane:before {\n  content: \"\\f1d8\";\n}\n\n.fa-send-o:before,\n.fa-paper-plane-o:before {\n  content: \"\\f1d9\";\n}\n\n.fa-history:before {\n  content: \"\\f1da\";\n}\n\n.fa-genderless:before,\n.fa-circle-thin:before {\n  content: \"\\f1db\";\n}\n\n.fa-header:before {\n  content: \"\\f1dc\";\n}\n\n.fa-paragraph:before {\n  content: \"\\f1dd\";\n}\n\n.fa-sliders:before {\n  content: \"\\f1de\";\n}\n\n.fa-share-alt:before {\n  content: \"\\f1e0\";\n}\n\n.fa-share-alt-square:before {\n  content: \"\\f1e1\";\n}\n\n.fa-bomb:before {\n  content: \"\\f1e2\";\n}\n\n.fa-soccer-ball-o:before,\n.fa-futbol-o:before {\n  content: \"\\f1e3\";\n}\n\n.fa-tty:before {\n  content: \"\\f1e4\";\n}\n\n.fa-binoculars:before {\n  content: \"\\f1e5\";\n}\n\n.fa-plug:before {\n  content: \"\\f1e6\";\n}\n\n.fa-slideshare:before {\n  content: \"\\f1e7\";\n}\n\n.fa-twitch:before {\n  content: \"\\f1e8\";\n}\n\n.fa-yelp:before {\n  content: \"\\f1e9\";\n}\n\n.fa-newspaper-o:before {\n  content: \"\\f1ea\";\n}\n\n.fa-wifi:before {\n  content: \"\\f1eb\";\n}\n\n.fa-calculator:before {\n  content: \"\\f1ec\";\n}\n\n.fa-paypal:before {\n  content: \"\\f1ed\";\n}\n\n.fa-google-wallet:before {\n  content: \"\\f1ee\";\n}\n\n.fa-cc-visa:before {\n  content: \"\\f1f0\";\n}\n\n.fa-cc-mastercard:before {\n  content: \"\\f1f1\";\n}\n\n.fa-cc-discover:before {\n  content: \"\\f1f2\";\n}\n\n.fa-cc-amex:before {\n  content: \"\\f1f3\";\n}\n\n.fa-cc-paypal:before {\n  content: \"\\f1f4\";\n}\n\n.fa-cc-stripe:before {\n  content: \"\\f1f5\";\n}\n\n.fa-bell-slash:before {\n  content: \"\\f1f6\";\n}\n\n.fa-bell-slash-o:before {\n  content: \"\\f1f7\";\n}\n\n.fa-trash:before {\n  content: \"\\f1f8\";\n}\n\n.fa-copyright:before {\n  content: \"\\f1f9\";\n}\n\n.fa-at:before {\n  content: \"\\f1fa\";\n}\n\n.fa-eyedropper:before {\n  content: \"\\f1fb\";\n}\n\n.fa-paint-brush:before {\n  content: \"\\f1fc\";\n}\n\n.fa-birthday-cake:before {\n  content: \"\\f1fd\";\n}\n\n.fa-area-chart:before {\n  content: \"\\f1fe\";\n}\n\n.fa-pie-chart:before {\n  content: \"\\f200\";\n}\n\n.fa-line-chart:before {\n  content: \"\\f201\";\n}\n\n.fa-lastfm:before {\n  content: \"\\f202\";\n}\n\n.fa-lastfm-square:before {\n  content: \"\\f203\";\n}\n\n.fa-toggle-off:before {\n  content: \"\\f204\";\n}\n\n.fa-toggle-on:before {\n  content: \"\\f205\";\n}\n\n.fa-bicycle:before {\n  content: \"\\f206\";\n}\n\n.fa-bus:before {\n  content: \"\\f207\";\n}\n\n.fa-ioxhost:before {\n  content: \"\\f208\";\n}\n\n.fa-angellist:before {\n  content: \"\\f209\";\n}\n\n.fa-cc:before {\n  content: \"\\f20a\";\n}\n\n.fa-shekel:before,\n.fa-sheqel:before,\n.fa-ils:before {\n  content: \"\\f20b\";\n}\n\n.fa-meanpath:before {\n  content: \"\\f20c\";\n}\n\n.fa-buysellads:before {\n  content: \"\\f20d\";\n}\n\n.fa-connectdevelop:before {\n  content: \"\\f20e\";\n}\n\n.fa-dashcube:before {\n  content: \"\\f210\";\n}\n\n.fa-forumbee:before {\n  content: \"\\f211\";\n}\n\n.fa-leanpub:before {\n  content: \"\\f212\";\n}\n\n.fa-sellsy:before {\n  content: \"\\f213\";\n}\n\n.fa-shirtsinbulk:before {\n  content: \"\\f214\";\n}\n\n.fa-simplybuilt:before {\n  content: \"\\f215\";\n}\n\n.fa-skyatlas:before {\n  content: \"\\f216\";\n}\n\n.fa-cart-plus:before {\n  content: \"\\f217\";\n}\n\n.fa-cart-arrow-down:before {\n  content: \"\\f218\";\n}\n\n.fa-diamond:before {\n  content: \"\\f219\";\n}\n\n.fa-ship:before {\n  content: \"\\f21a\";\n}\n\n.fa-user-secret:before {\n  content: \"\\f21b\";\n}\n\n.fa-motorcycle:before {\n  content: \"\\f21c\";\n}\n\n.fa-street-view:before {\n  content: \"\\f21d\";\n}\n\n.fa-heartbeat:before {\n  content: \"\\f21e\";\n}\n\n.fa-venus:before {\n  content: \"\\f221\";\n}\n\n.fa-mars:before {\n  content: \"\\f222\";\n}\n\n.fa-mercury:before {\n  content: \"\\f223\";\n}\n\n.fa-transgender:before {\n  content: \"\\f224\";\n}\n\n.fa-transgender-alt:before {\n  content: \"\\f225\";\n}\n\n.fa-venus-double:before {\n  content: \"\\f226\";\n}\n\n.fa-mars-double:before {\n  content: \"\\f227\";\n}\n\n.fa-venus-mars:before {\n  content: \"\\f228\";\n}\n\n.fa-mars-stroke:before {\n  content: \"\\f229\";\n}\n\n.fa-mars-stroke-v:before {\n  content: \"\\f22a\";\n}\n\n.fa-mars-stroke-h:before {\n  content: \"\\f22b\";\n}\n\n.fa-neuter:before {\n  content: \"\\f22c\";\n}\n\n.fa-facebook-official:before {\n  content: \"\\f230\";\n}\n\n.fa-pinterest-p:before {\n  content: \"\\f231\";\n}\n\n.fa-whatsapp:before {\n  content: \"\\f232\";\n}\n\n.fa-server:before {\n  content: \"\\f233\";\n}\n\n.fa-user-plus:before {\n  content: \"\\f234\";\n}\n\n.fa-user-times:before {\n  content: \"\\f235\";\n}\n\n.fa-hotel:before,\n.fa-bed:before {\n  content: \"\\f236\";\n}\n\n.fa-viacoin:before {\n  content: \"\\f237\";\n}\n\n.fa-train:before {\n  content: \"\\f238\";\n}\n\n.fa-subway:before {\n  content: \"\\f239\";\n}\n\n.fa-medium:before {\n  content: \"\\f23a\";\n}\n\n/*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 */\n@font-face {\n  font-family: 'editormd-logo';\n  src: url(\"../fonts/editormd-logo.eot?-5y8q6h\");\n  src: url(\".../fonts/editormd-logo.eot?#iefix-5y8q6h\") format(\"embedded-opentype\"), url(\"../fonts/editormd-logo.woff?-5y8q6h\") format(\"woff\"), url(\"../fonts/editormd-logo.ttf?-5y8q6h\") format(\"truetype\"), url(\"../fonts/editormd-logo.svg?-5y8q6h#icomoon\") format(\"svg\");\n  font-weight: normal;\n  font-style: normal;\n}\n.editormd-logo,\n.editormd-logo-1x,\n.editormd-logo-2x,\n.editormd-logo-3x,\n.editormd-logo-4x,\n.editormd-logo-5x,\n.editormd-logo-6x,\n.editormd-logo-7x,\n.editormd-logo-8x {\n  font-family: 'editormd-logo';\n  speak: none;\n  font-style: normal;\n  font-weight: normal;\n  font-variant: normal;\n  text-transform: none;\n  font-size: inherit;\n  line-height: 1;\n  display: inline-block;\n  text-rendering: auto;\n  vertical-align: inherit;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n.editormd-logo:before,\n.editormd-logo-1x:before,\n.editormd-logo-2x:before,\n.editormd-logo-3x:before,\n.editormd-logo-4x:before,\n.editormd-logo-5x:before,\n.editormd-logo-6x:before,\n.editormd-logo-7x:before,\n.editormd-logo-8x:before {\n  content: \"\\e1987\";\n  /* \n  HTML Entity &#xe1987; \n  example: <span class=\"editormd-logo\">&#xe1987;</span>\n  */\n}\n\n.editormd-logo-1x {\n  font-size: 1em;\n}\n\n.editormd-logo-lg {\n  font-size: 1.2em;\n}\n\n.editormd-logo-2x {\n  font-size: 2em;\n}\n\n.editormd-logo-3x {\n  font-size: 3em;\n}\n\n.editormd-logo-4x {\n  font-size: 4em;\n}\n\n.editormd-logo-5x {\n  font-size: 5em;\n}\n\n.editormd-logo-6x {\n  font-size: 6em;\n}\n\n.editormd-logo-7x {\n  font-size: 7em;\n}\n\n.editormd-logo-8x {\n  font-size: 8em;\n}\n\n.editormd-logo-color {\n  color: #2196F3;\n}\n\n/*! github-markdown-css | The MIT License (MIT) | Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) | https://github.com/sindresorhus/github-markdown-css */\n@font-face {\n  font-family: octicons-anchor;\n  src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0ChED+h5j//yEk/3KoSgZGNgYYk4GRCUgwMaACRoZhDwCs7QgGAAAAIgKIAAAAAf//AAJ4nHWMMQrCQBBF/0zWrCCIKUQsTDCL2EXMohYGSSmorScInsRGL2DOYJe0Ntp7BK+gJ1BxF1stZvjz/v8DRghQzEc4kIgKwiAppcA9LtzKLSkdNhKFY3HF4lK69ExKslx7Xa+vPRVS43G98vG1DnkDMIBUgFN0MDXflU8tbaZOUkXUH0+U27RoRpOIyCKjbMCVejwypzJJG4jIwb43rfl6wbwanocrJm9XFYfskuVC5K/TPyczNU7b84CXcbxks1Un6H6tLH9vf2LRnn8Ax7A5WQAAAHicY2BkYGAA4teL1+yI57f5ysDNwgAC529f0kOmWRiYVgEpDgYmEA8AUzEKsQAAAHicY2BkYGB2+O/AEMPCAAJAkpEBFbAAADgKAe0EAAAiAAAAAAQAAAAEAAAAAAAAKgAqACoAiAAAeJxjYGRgYGBhsGFgYgABEMkFhAwM/xn0QAIAD6YBhwB4nI1Ty07cMBS9QwKlQapQW3VXySvEqDCZGbGaHULiIQ1FKgjWMxknMfLEke2A+IJu+wntrt/QbVf9gG75jK577Lg8K1qQPCfnnnt8fX1NRC/pmjrk/zprC+8D7tBy9DHgBXoWfQ44Av8t4Bj4Z8CLtBL9CniJluPXASf0Lm4CXqFX8Q84dOLnMB17N4c7tBo1AS/Qi+hTwBH4rwHHwN8DXqQ30XXAS7QaLwSc0Gn8NuAVWou/gFmnjLrEaEh9GmDdDGgL3B4JsrRPDU2hTOiMSuJUIdKQQayiAth69r6akSSFqIJuA19TrzCIaY8sIoxyrNIrL//pw7A2iMygkX5vDj+G+kuoLdX4GlGK/8Lnlz6/h9MpmoO9rafrz7ILXEHHaAx95s9lsI7AHNMBWEZHULnfAXwG9/ZqdzLI08iuwRloXE8kfhXYAvE23+23DU3t626rbs8/8adv+9DWknsHp3E17oCf+Z48rvEQNZ78paYM38qfk3v/u3l3u3GXN2Dmvmvpf1Srwk3pB/VSsp512bA/GG5i2WJ7wu430yQ5K3nFGiOqgtmSB5pJVSizwaacmUZzZhXLlZTq8qGGFY2YcSkqbth6aW1tRmlaCFs2016m5qn36SbJrqosG4uMV4aP2PHBmB3tjtmgN2izkGQyLWprekbIntJFing32a5rKWCN/SdSoga45EJykyQ7asZvHQ8PTm6cslIpwyeyjbVltNikc2HTR7YKh9LBl9DADC0U/jLcBZDKrMhUBfQBvXRzLtFtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format(\"woff\");\n}\n.markdown-body {\n  -ms-text-size-adjust: 100%;\n  -webkit-text-size-adjust: 100%;\n  color: #333;\n  overflow: hidden;\n  font-family: \"Microsoft YaHei\", Helvetica, \"Meiryo UI\", \"Malgun Gothic\", \"Segoe UI\", \"Trebuchet MS\", \"Monaco\", monospace, Tahoma, STXihei, \"华文细黑\", STHeiti, \"Helvetica Neue\", \"Droid Sans\", \"wenquanyi micro hei\", FreeSans, Arimo, Arial, SimSun, \"宋体\", Heiti, \"黑体\", sans-serif;\n  font-size: 16px;\n  line-height: 1.6;\n  word-wrap: break-word;\n}\n\n.markdown-body a {\n  background: transparent;\n}\n\n.markdown-body a:active,\n.markdown-body a:hover {\n  outline: 0;\n}\n\n.markdown-body strong {\n  font-weight: bold;\n}\n\n.markdown-body h1 {\n  font-size: 2em;\n  margin: 0.67em 0;\n}\n\n.markdown-body img {\n  border: 0;\n}\n\n.markdown-body hr {\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n  height: 0;\n}\n\n.markdown-body pre {\n  overflow: auto;\n}\n\n.markdown-body code,\n.markdown-body kbd,\n.markdown-body pre {\n  font-family: \"Meiryo UI\", \"YaHei Consolas Hybrid\", Consolas, \"Malgun Gothic\", \"Segoe UI\", \"Trebuchet MS\", Helvetica, monospace, monospace;\n  font-size: 1em;\n}\n\n.markdown-body input {\n  color: inherit;\n  font: inherit;\n  margin: 0;\n}\n\n.markdown-body html input[disabled] {\n  cursor: default;\n}\n\n.markdown-body input {\n  line-height: normal;\n}\n\n.markdown-body input[type=\"checkbox\"] {\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n  padding: 0;\n}\n\n.markdown-body table {\n  border-collapse: collapse;\n  border-spacing: 0;\n}\n\n.markdown-body td,\n.markdown-body th {\n  padding: 0;\n}\n\n.markdown-body * {\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n\n.markdown-body input {\n  font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n\n.markdown-body a {\n  color: #4183c4;\n  text-decoration: none;\n}\n\n.markdown-body a:hover,\n.markdown-body a:active {\n  text-decoration: underline;\n}\n\n.markdown-body hr {\n  height: 0;\n  margin: 15px 0;\n  overflow: hidden;\n  background: transparent;\n  border: 0;\n  border-bottom: 1px solid #ddd;\n}\n\n.markdown-body hr:before {\n  display: table;\n  content: \"\";\n}\n\n.markdown-body hr:after {\n  display: table;\n  clear: both;\n  content: \"\";\n}\n\n.markdown-body h1,\n.markdown-body h2,\n.markdown-body h3,\n.markdown-body h4,\n.markdown-body h5,\n.markdown-body h6 {\n  margin-top: 15px;\n  margin-bottom: 15px;\n  line-height: 1.1;\n}\n\n.markdown-body h1 {\n  font-size: 30px;\n}\n\n.markdown-body h2 {\n  font-size: 21px;\n}\n\n.markdown-body h3 {\n  font-size: 16px;\n}\n\n.markdown-body h4 {\n  font-size: 14px;\n}\n\n.markdown-body h5 {\n  font-size: 12px;\n}\n\n.markdown-body h6 {\n  font-size: 11px;\n}\n\n.markdown-body blockquote {\n  margin: 0;\n}\n\n.markdown-body ul,\n.markdown-body ol {\n  padding: 0;\n  margin-top: 0;\n  margin-bottom: 0;\n}\n\n.markdown-body ol ol,\n.markdown-body ul ol {\n  list-style-type: lower-roman;\n}\n\n.markdown-body ul ul ol,\n.markdown-body ul ol ol,\n.markdown-body ol ul ol,\n.markdown-body ol ol ol {\n  list-style-type: lower-alpha;\n}\n\n.markdown-body dd {\n  margin-left: 0;\n}\n\n.markdown-body code {\n  font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n  font-size: 12px;\n}\n\n.markdown-body pre {\n  margin-top: 0;\n  margin-bottom: 0;\n  font: 12px Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n}\n\n.markdown-body .octicon {\n  font: normal normal 16px octicons-anchor;\n  line-height: 1;\n  display: inline-block;\n  text-decoration: none;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n\n.markdown-body .octicon-link:before {\n  content: '\\f05c';\n}\n\n.markdown-body > *:first-child {\n  margin-top: 0 !important;\n}\n\n.markdown-body > *:last-child {\n  margin-bottom: 0 !important;\n}\n\n.markdown-body .anchor {\n  position: absolute;\n  top: 0;\n  left: 0;\n  display: block;\n  padding-right: 6px;\n  padding-left: 30px;\n  margin-left: -30px;\n}\n\n.markdown-body .anchor:focus {\n  outline: none;\n}\n\n.markdown-body h1,\n.markdown-body h2,\n.markdown-body h3,\n.markdown-body h4,\n.markdown-body h5,\n.markdown-body h6 {\n  position: relative;\n  margin-top: 1em;\n  margin-bottom: 16px;\n  font-weight: bold;\n  line-height: 1.4;\n}\n\n.markdown-body h1 .octicon-link,\n.markdown-body h2 .octicon-link,\n.markdown-body h3 .octicon-link,\n.markdown-body h4 .octicon-link,\n.markdown-body h5 .octicon-link,\n.markdown-body h6 .octicon-link {\n  display: none;\n  color: #000;\n  vertical-align: middle;\n}\n\n.markdown-body h1:hover .anchor,\n.markdown-body h2:hover .anchor,\n.markdown-body h3:hover .anchor,\n.markdown-body h4:hover .anchor,\n.markdown-body h5:hover .anchor,\n.markdown-body h6:hover .anchor {\n  padding-left: 8px;\n  margin-left: -30px;\n  text-decoration: none;\n}\n\n.markdown-body h1:hover .anchor .octicon-link,\n.markdown-body h2:hover .anchor .octicon-link,\n.markdown-body h3:hover .anchor .octicon-link,\n.markdown-body h4:hover .anchor .octicon-link,\n.markdown-body h5:hover .anchor .octicon-link,\n.markdown-body h6:hover .anchor .octicon-link {\n  display: inline-block;\n}\n\n.markdown-body h1 {\n  padding-bottom: 0.3em;\n  font-size: 2.25em;\n  line-height: 1.2;\n  border-bottom: 1px solid #eee;\n}\n\n.markdown-body h1 .anchor {\n  line-height: 1;\n}\n\n.markdown-body h2 {\n  padding-bottom: 0.3em;\n  font-size: 1.75em;\n  line-height: 1.225;\n  border-bottom: 1px solid #eee;\n}\n\n.markdown-body h2 .anchor {\n  line-height: 1;\n}\n\n.markdown-body h3 {\n  font-size: 1.5em;\n  line-height: 1.43;\n}\n\n.markdown-body h3 .anchor {\n  line-height: 1.2;\n}\n\n.markdown-body h4 {\n  font-size: 1.25em;\n}\n\n.markdown-body h4 .anchor {\n  line-height: 1.2;\n}\n\n.markdown-body h5 {\n  font-size: 1em;\n}\n\n.markdown-body h5 .anchor {\n  line-height: 1.1;\n}\n\n.markdown-body h6 {\n  font-size: 1em;\n  color: #777;\n}\n\n.markdown-body h6 .anchor {\n  line-height: 1.1;\n}\n\n.markdown-body p,\n.markdown-body blockquote,\n.markdown-body ul,\n.markdown-body ol,\n.markdown-body dl,\n.markdown-body table,\n.markdown-body pre {\n  margin-top: 0;\n  margin-bottom: 16px;\n}\n\n/*\n.markdown-body hr {\n  height: 4px;\n  padding: 0;\n  margin: 16px 0;\n  background-color: #e7e7e7;\n  border: 0 none;\n}*/\n.markdown-body ul,\n.markdown-body ol {\n  padding-left: 2em;\n}\n\n.markdown-body ul ul,\n.markdown-body ul ol,\n.markdown-body ol ol,\n.markdown-body ol ul {\n  margin-top: 0;\n  margin-bottom: 0;\n}\n\n.markdown-body li > p {\n  margin-top: 16px;\n}\n\n.markdown-body dl {\n  padding: 0;\n}\n\n.markdown-body dl dt {\n  padding: 0;\n  margin-top: 16px;\n  font-size: 1em;\n  font-style: italic;\n  font-weight: bold;\n}\n\n.markdown-body dl dd {\n  padding: 0 16px;\n  margin-bottom: 16px;\n}\n\n.markdown-body blockquote {\n  padding: 0 15px;\n  color: #777;\n  border-left: 4px solid #ddd;\n}\n\n.markdown-body blockquote > :first-child {\n  margin-top: 0;\n}\n\n.markdown-body blockquote > :last-child {\n  margin-bottom: 0;\n}\n\n.markdown-body table {\n  display: block;\n  width: 100%;\n  overflow: auto;\n  word-break: normal;\n  word-break: keep-all;\n}\n\n.markdown-body table th {\n  font-weight: bold;\n}\n\n.markdown-body table th,\n.markdown-body table td {\n  padding: 6px 13px;\n  border: 1px solid #ddd;\n}\n\n.markdown-body table tr {\n  background-color: #fff;\n  border-top: 1px solid #ccc;\n}\n\n.markdown-body table tr:nth-child(2n) {\n  background-color: #f8f8f8;\n}\n\n.markdown-body img {\n  max-width: 100%;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n\n.markdown-body code {\n  padding: 0;\n  padding-top: 0.2em;\n  padding-bottom: 0.2em;\n  margin: 0;\n  font-size: 85%;\n  background-color: rgba(0, 0, 0, 0.04);\n  border-radius: 3px;\n}\n\n.markdown-body code:before,\n.markdown-body code:after {\n  letter-spacing: -0.2em;\n  content: \"\\00a0\";\n}\n\n.markdown-body pre > code {\n  padding: 0;\n  margin: 0;\n  font-size: 100%;\n  word-break: normal;\n  white-space: pre;\n  background: transparent;\n  border: 0;\n}\n\n.markdown-body .highlight {\n  margin-bottom: 16px;\n}\n\n.markdown-body .highlight pre,\n.markdown-body pre {\n  padding: 16px;\n  overflow: auto;\n  font-size: 85%;\n  line-height: 1.45;\n  background-color: #f7f7f7;\n  border-radius: 3px;\n}\n\n.markdown-body .highlight pre {\n  margin-bottom: 0;\n  word-break: normal;\n}\n\n.markdown-body pre {\n  word-wrap: normal;\n}\n\n.markdown-body pre code {\n  display: inline;\n  max-width: initial;\n  padding: 0;\n  margin: 0;\n  overflow: initial;\n  line-height: inherit;\n  word-wrap: normal;\n  background-color: transparent;\n  border: 0;\n}\n\n.markdown-body pre code:before,\n.markdown-body pre code:after {\n  content: normal;\n}\n\n.markdown-body kbd {\n  display: inline-block;\n  padding: 3px 5px;\n  font-size: 11px;\n  line-height: 10px;\n  color: #555;\n  vertical-align: middle;\n  background-color: #fcfcfc;\n  border: solid 1px #ccc;\n  border-bottom-color: #bbb;\n  border-radius: 3px;\n  box-shadow: inset 0 -1px 0 #bbb;\n}\n\n.markdown-body .pl-c {\n  color: #969896;\n}\n\n.markdown-body .pl-c1,\n.markdown-body .pl-mdh,\n.markdown-body .pl-mm,\n.markdown-body .pl-mp,\n.markdown-body .pl-mr,\n.markdown-body .pl-s1 .pl-v,\n.markdown-body .pl-s3,\n.markdown-body .pl-sc,\n.markdown-body .pl-sv {\n  color: #0086b3;\n}\n\n.markdown-body .pl-e,\n.markdown-body .pl-en {\n  color: #795da3;\n}\n\n.markdown-body .pl-s1 .pl-s2,\n.markdown-body .pl-smi,\n.markdown-body .pl-smp,\n.markdown-body .pl-stj,\n.markdown-body .pl-vo,\n.markdown-body .pl-vpf {\n  color: #333;\n}\n\n.markdown-body .pl-ent {\n  color: #63a35c;\n}\n\n.markdown-body .pl-k,\n.markdown-body .pl-s,\n.markdown-body .pl-st {\n  color: #a71d5d;\n}\n\n.markdown-body .pl-pds,\n.markdown-body .pl-s1,\n.markdown-body .pl-s1 .pl-pse .pl-s2,\n.markdown-body .pl-sr,\n.markdown-body .pl-sr .pl-cce,\n.markdown-body .pl-sr .pl-sra,\n.markdown-body .pl-sr .pl-sre,\n.markdown-body .pl-src {\n  color: #df5000;\n}\n\n.markdown-body .pl-mo,\n.markdown-body .pl-v {\n  color: #1d3e81;\n}\n\n.markdown-body .pl-id {\n  color: #b52a1d;\n}\n\n.markdown-body .pl-ii {\n  background-color: #b52a1d;\n  color: #f8f8f8;\n}\n\n.markdown-body .pl-sr .pl-cce {\n  color: #63a35c;\n  font-weight: bold;\n}\n\n.markdown-body .pl-ml {\n  color: #693a17;\n}\n\n.markdown-body .pl-mh,\n.markdown-body .pl-mh .pl-en,\n.markdown-body .pl-ms {\n  color: #1d3e81;\n  font-weight: bold;\n}\n\n.markdown-body .pl-mq {\n  color: #008080;\n}\n\n.markdown-body .pl-mi {\n  color: #333;\n  font-style: italic;\n}\n\n.markdown-body .pl-mb {\n  color: #333;\n  font-weight: bold;\n}\n\n.markdown-body .pl-md,\n.markdown-body .pl-mdhf {\n  background-color: #ffecec;\n  color: #bd2c00;\n}\n\n.markdown-body .pl-mdht,\n.markdown-body .pl-mi1 {\n  background-color: #eaffea;\n  color: #55a532;\n}\n\n.markdown-body .pl-mdr {\n  color: #795da3;\n  font-weight: bold;\n}\n\n.markdown-body kbd {\n  display: inline-block;\n  padding: 3px 5px;\n  font: 11px Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n  line-height: 10px;\n  color: #555;\n  vertical-align: middle;\n  background-color: #fcfcfc;\n  border: solid 1px #ccc;\n  border-bottom-color: #bbb;\n  border-radius: 3px;\n  box-shadow: inset 0 -1px 0 #bbb;\n}\n\n.markdown-body .task-list-item {\n  list-style-type: none;\n}\n\n.markdown-body .task-list-item + .task-list-item {\n  margin-top: 3px;\n}\n\n.markdown-body .task-list-item input {\n  float: left;\n  margin: 0.3em 0 0.25em -1.6em;\n  vertical-align: middle;\n}\n\n.markdown-body :checked + .radio-label {\n  z-index: 1;\n  position: relative;\n  border-color: #4183c4;\n}\n\n.editormd-preview-container, .editormd-html-preview {\n  text-align: left;\n  font-size: 14px;\n  line-height: 1.6;\n  padding: 20px;\n  overflow: auto;\n  width: 100%;\n  background-color: #fff;\n}\n.editormd-preview-container blockquote, .editormd-html-preview blockquote {\n  color: #666;\n  border-left: 4px solid #ddd;\n  padding-left: 20px;\n  margin-left: 0;\n  font-size: 14px;\n  font-style: italic;\n}\n.editormd-preview-container p code, .editormd-html-preview p code {\n  margin-left: 5px;\n  margin-right: 4px;\n}\n.editormd-preview-container abbr, .editormd-html-preview abbr {\n  background: #ffffdd;\n}\n.editormd-preview-container hr, .editormd-html-preview hr {\n  height: 1px;\n  border: none;\n  border-top: 1px solid #ddd;\n  background: none;\n}\n.editormd-preview-container code, .editormd-html-preview code {\n  border: 1px solid #ddd;\n  background: #f6f6f6;\n  padding: 3px;\n  border-radius: 3px;\n  font-size: 14px;\n}\n.editormd-preview-container pre, .editormd-html-preview pre {\n  border: 1px solid #ddd;\n  background: #f6f6f6;\n  padding: 10px;\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  -ms-border-radius: 3px;\n  -o-border-radius: 3px;\n  border-radius: 3px;\n}\n.editormd-preview-container pre code, .editormd-html-preview pre code {\n  padding: 0;\n}\n.editormd-preview-container pre, .editormd-preview-container code, .editormd-preview-container kbd, .editormd-html-preview pre, .editormd-html-preview code, .editormd-html-preview kbd {\n  font-family: \"YaHei Consolas Hybrid\", Consolas, \"Meiryo UI\", \"Malgun Gothic\", \"Segoe UI\", \"Trebuchet MS\", Helvetica, monospace, monospace;\n}\n.editormd-preview-container table thead tr, .editormd-html-preview table thead tr {\n  background-color: #F8F8F8;\n}\n.editormd-preview-container p.editormd-tex, .editormd-html-preview p.editormd-tex {\n  text-align: center;\n}\n.editormd-preview-container span.editormd-tex, .editormd-html-preview span.editormd-tex {\n  margin: 0 5px;\n}\n.editormd-preview-container .emoji, .editormd-html-preview .emoji {\n  width: 24px;\n  height: 24px;\n}\n.editormd-preview-container .katex, .editormd-html-preview .katex {\n  font-size: 1.4em;\n}\n.editormd-preview-container .sequence-diagram, .editormd-preview-container .flowchart, .editormd-html-preview .sequence-diagram, .editormd-html-preview .flowchart {\n  margin: 0 auto;\n  text-align: center;\n}\n.editormd-preview-container .sequence-diagram svg, .editormd-preview-container .flowchart svg, .editormd-html-preview .sequence-diagram svg, .editormd-html-preview .flowchart svg {\n  margin: 0 auto;\n}\n.editormd-preview-container .sequence-diagram text, .editormd-preview-container .flowchart text, .editormd-html-preview .sequence-diagram text, .editormd-html-preview .flowchart text {\n  font-size: 15px !important;\n  font-family: \"YaHei Consolas Hybrid\", Consolas, \"Microsoft YaHei\", \"Malgun Gothic\", \"Segoe UI\", Helvetica, Arial !important;\n}\n\n/*! Pretty printing styles. Used with prettify.js. */\n/* SPAN elements with the classes below are added by prettyprint. */\n.pln {\n  color: #000;\n}\n\n/* plain text */\n@media screen {\n  .str {\n    color: #080;\n  }\n\n  /* string content */\n  .kwd {\n    color: #008;\n  }\n\n  /* a keyword */\n  .com {\n    color: #800;\n  }\n\n  /* a comment */\n  .typ {\n    color: #606;\n  }\n\n  /* a type name */\n  .lit {\n    color: #066;\n  }\n\n  /* a literal value */\n  /* punctuation, lisp open bracket, lisp close bracket */\n  .pun, .opn, .clo {\n    color: #660;\n  }\n\n  .tag {\n    color: #008;\n  }\n\n  /* a markup tag name */\n  .atn {\n    color: #606;\n  }\n\n  /* a markup attribute name */\n  .atv {\n    color: #080;\n  }\n\n  /* a markup attribute value */\n  .dec, .var {\n    color: #606;\n  }\n\n  /* a declaration; a variable name */\n  .fun {\n    color: red;\n  }\n\n  /* a function name */\n}\n/* Use higher contrast and text-weight for printable form. */\n@media print, projection {\n  .str {\n    color: #060;\n  }\n\n  .kwd {\n    color: #006;\n    font-weight: bold;\n  }\n\n  .com {\n    color: #600;\n    font-style: italic;\n  }\n\n  .typ {\n    color: #404;\n    font-weight: bold;\n  }\n\n  .lit {\n    color: #044;\n  }\n\n  .pun, .opn, .clo {\n    color: #440;\n  }\n\n  .tag {\n    color: #006;\n    font-weight: bold;\n  }\n\n  .atn {\n    color: #404;\n  }\n\n  .atv {\n    color: #060;\n  }\n}\n/* Put a border around prettyprinted code snippets. */\npre.prettyprint {\n  padding: 2px;\n  border: 1px solid #888;\n}\n\n/* Specify class=linenums on a pre to get line numbering */\nol.linenums {\n  margin-top: 0;\n  margin-bottom: 0;\n}\n\n/* IE indents via margin-left */\nli.L0,\nli.L1,\nli.L2,\nli.L3,\nli.L5,\nli.L6,\nli.L7,\nli.L8 {\n  list-style-type: none;\n}\n\n/* Alternate shading for lines */\nli.L1,\nli.L3,\nli.L5,\nli.L7,\nli.L9 {\n  background: #eee;\n}\n\n.editormd-preview-container pre.prettyprint, .editormd-html-preview pre.prettyprint {\n  padding: 10px;\n  border: 1px solid #ddd;\n  white-space: pre-wrap;\n  word-wrap: break-word;\n}\n.editormd-preview-container ol.linenums, .editormd-html-preview ol.linenums {\n  color: #999;\n  padding-left: 2.5em;\n}\n.editormd-preview-container ol.linenums li, .editormd-html-preview ol.linenums li {\n  list-style-type: decimal;\n}\n.editormd-preview-container ol.linenums li code, .editormd-html-preview ol.linenums li code {\n  border: none;\n  background: none;\n  padding: 0;\n}\n\n.editormd-preview-container .editormd-toc-menu, .editormd-html-preview .editormd-toc-menu {\n  margin: 8px 0 12px 0;\n  display: inline-block;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc, .editormd-html-preview .editormd-toc-menu > .markdown-toc {\n  position: relative;\n  -webkit-border-radius: 4px;\n  -moz-border-radius: 4px;\n  -ms-border-radius: 4px;\n  -o-border-radius: 4px;\n  border-radius: 4px;\n  border: 1px solid #ddd;\n  display: inline-block;\n  font-size: 1em;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc > ul, .editormd-html-preview .editormd-toc-menu > .markdown-toc > ul {\n  width: 160%;\n  min-width: 180px;\n  position: absolute;\n  left: -1px;\n  top: -2px;\n  z-index: 100;\n  padding: 0 10px 10px;\n  display: none;\n  background: #fff;\n  border: 1px solid #ddd;\n  -webkit-border-radius: 4px;\n  -moz-border-radius: 4px;\n  -ms-border-radius: 4px;\n  -o-border-radius: 4px;\n  border-radius: 4px;\n  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Webkit browsers */\n  -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Firefox */\n  -ms-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* IE9 */\n  -o-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Opera(Old) */\n  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* IE9+, News */\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc > ul > li ul, .editormd-html-preview .editormd-toc-menu > .markdown-toc > ul > li ul {\n  width: 100%;\n  min-width: 180px;\n  border: 1px solid #ddd;\n  display: none;\n  background: #fff;\n  -webkit-border-radius: 4px;\n  -moz-border-radius: 4px;\n  -ms-border-radius: 4px;\n  -o-border-radius: 4px;\n  border-radius: 4px;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc > ul > li a, .editormd-html-preview .editormd-toc-menu > .markdown-toc > ul > li a {\n  color: #666;\n  padding: 6px 10px;\n  display: block;\n  -webkit-transition: background-color 500ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: background-color 500ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: background-color 500ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc > ul > li a:hover, .editormd-html-preview .editormd-toc-menu > .markdown-toc > ul > li a:hover {\n  background-color: #f6f6f6;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc li, .editormd-html-preview .editormd-toc-menu > .markdown-toc li {\n  position: relative;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul {\n  position: absolute;\n  top: 32px;\n  left: 10%;\n  display: none;\n  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Webkit browsers */\n  -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Firefox */\n  -ms-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* IE9 */\n  -o-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* Opera(Old) */\n  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);\n  /* IE9+, News */\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul:before, .editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul:after, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul:before, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul:after {\n  pointer-events: pointer-events;\n  position: absolute;\n  left: 15px;\n  top: -6px;\n  display: block;\n  content: \"\";\n  width: 0;\n  height: 0;\n  border: 6px solid transparent;\n  border-width: 0 6px 6px;\n  z-index: 10;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul:before, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul:before {\n  border-bottom-color: #ccc;\n}\n.editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul:after, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul:after {\n  border-bottom-color: #ffffff;\n  top: -5px;\n}\n.editormd-preview-container .editormd-toc-menu ul, .editormd-html-preview .editormd-toc-menu ul {\n  list-style: none;\n}\n.editormd-preview-container .editormd-toc-menu a, .editormd-html-preview .editormd-toc-menu a {\n  text-decoration: none;\n}\n.editormd-preview-container .editormd-toc-menu h1, .editormd-html-preview .editormd-toc-menu h1 {\n  font-size: 16px;\n  padding: 5px 0 10px 10px;\n  line-height: 1;\n  border-bottom: 1px solid #eee;\n}\n.editormd-preview-container .editormd-toc-menu h1 .fa, .editormd-html-preview .editormd-toc-menu h1 .fa {\n  padding-left: 10px;\n}\n.editormd-preview-container .editormd-toc-menu .toc-menu-btn, .editormd-html-preview .editormd-toc-menu .toc-menu-btn {\n  color: #666;\n  min-width: 180px;\n  padding: 5px 10px;\n  border-radius: 4px;\n  display: inline-block;\n  -webkit-transition: background-color 500ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: background-color 500ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: background-color 500ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-preview-container .editormd-toc-menu .toc-menu-btn:hover, .editormd-html-preview .editormd-toc-menu .toc-menu-btn:hover {\n  background-color: #f6f6f6;\n}\n.editormd-preview-container .editormd-toc-menu .toc-menu-btn .fa, .editormd-html-preview .editormd-toc-menu .toc-menu-btn .fa {\n  float: right;\n  padding: 3px 0 0 10px;\n  font-size: 1.3em;\n}\n\n.markdown-body .editormd-toc-menu ul {\n  padding-left: 0;\n}\n.markdown-body .highlight pre, .markdown-body pre {\n  line-height: 1.6;\n}\n\nhr.editormd-page-break {\n  border: 1px dotted #ccc;\n  font-size: 0;\n  height: 2px;\n}\n\n@media only print {\n  hr.editormd-page-break {\n    background: none;\n    border: none;\n    height: 0;\n  }\n}\n.editormd-html-preview textarea {\n  display: none;\n}\n.editormd-html-preview hr.editormd-page-break {\n  background: none;\n  border: none;\n  height: 0;\n}\n\n.editormd-preview-close-btn {\n  color: #fff;\n  padding: 4px 6px;\n  font-size: 18px;\n  -webkit-border-radius: 500px;\n  -moz-border-radius: 500px;\n  -ms-border-radius: 500px;\n  -o-border-radius: 500px;\n  border-radius: 500px;\n  display: none;\n  background-color: #ccc;\n  position: absolute;\n  top: 25px;\n  right: 35px;\n  z-index: 19;\n  -webkit-transition: background-color 300ms ease-out;\n  /* Safari, Chrome */\n  -moz-transition: background-color 300ms ease-out;\n  /* Firefox 4.0~16.0 */\n  transition: background-color 300ms ease-out;\n  /* IE >9, FF >15, Opera >12.0 */\n}\n.editormd-preview-close-btn:hover {\n  background-color: #999;\n}\n\n.editormd-preview-active {\n  width: 100%;\n  padding: 40px;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/editormd.js",
    "content": "/*\n * Editor.md\n *\n * @file        editormd.js \n * @version     v1.5.0 \n * @description Open source online markdown editor.\n * @license     MIT License\n * @author      Pandao\n * {@link       https://github.com/pandao/editor.md}\n * @updateTime  2015-06-09\n */\n\n;(function(factory) {\n    \"use strict\";\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n\t{\n        if (define.amd) // for Require.js\n        {\n            /* Require.js define replace */\n        } \n        else \n        {\n\t\t    define([\"jquery\"], factory);  // for Sea.js\n        }\n\t} \n\telse\n\t{ \n        window.editormd = factory();\n\t}\n    \n}(function() {    \n\n    /* Require.js assignment replace */\n    \n    \"use strict\";\n    \n    var $ = (typeof (jQuery) !== \"undefined\") ? jQuery : Zepto;\n\n\tif (typeof ($) === \"undefined\") {\n\t\treturn ;\n\t}\n    \n    /**\n     * editormd\n     * \n     * @param   {String} id           编辑器的ID\n     * @param   {Object} options      配置选项 Key/Value\n     * @returns {Object} editormd     返回editormd对象\n     */\n    \n    var editormd         = function (id, options) {\n        return new editormd.fn.init(id, options);\n    };\n    \n    editormd.title        = editormd.$name = \"Editor.md\";\n    editormd.version      = \"1.5.0\";\n    editormd.homePage     = \"https://pandao.github.io/editor.md/\";\n    editormd.classPrefix  = \"editormd-\";\n    \n    editormd.toolbarModes = {\n        full : [\n            \"undo\", \"redo\", \"|\", \n            \"bold\", \"del\", \"italic\", \"quote\", \"ucwords\", \"uppercase\", \"lowercase\", \"|\", \n            \"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\", \"|\", \n            \"list-ul\", \"list-ol\", \"hr\", \"|\",\n            \"link\", \"reference-link\", \"image\", \"code\", \"preformatted-text\", \"code-block\", \"table\", \"datetime\", \"emoji\", \"html-entities\", \"pagebreak\", \"|\",\n            \"goto-line\", \"watch\", \"preview\", \"fullscreen\", \"clear\", \"search\", \"|\",\n            \"help\", \"info\"\n        ],\n        simple : [\n            \"undo\", \"redo\", \"|\", \n            \"bold\", \"del\", \"italic\", \"quote\", \"uppercase\", \"lowercase\", \"|\", \n            \"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\", \"|\", \n            \"list-ul\", \"list-ol\", \"hr\", \"|\",\n            \"watch\", \"preview\", \"fullscreen\", \"|\",\n            \"help\", \"info\"\n        ],\n        mini : [\n            \"undo\", \"redo\", \"|\",\n            \"watch\", \"preview\", \"|\",\n            \"help\", \"info\"\n        ]\n    };\n    \n    editormd.defaults     = {\n        mode                 : \"gfm\",          //gfm or markdown\n        name                 : \"\",             // Form element name\n        value                : \"\",             // value for CodeMirror, if mode not gfm/markdown\n        theme                : \"\",             // Editor.md self themes, before v1.5.0 is CodeMirror theme, default empty\n        editorTheme          : \"default\",      // Editor area, this is CodeMirror theme at v1.5.0\n        previewTheme         : \"\",             // Preview area theme, default empty\n        markdown             : \"\",             // Markdown source code\n        appendMarkdown       : \"\",             // if in init textarea value not empty, append markdown to textarea\n        width                : \"100%\",\n        height               : \"100%\",\n        path                 : \"./lib/\",       // Dependents module file directory\n        pluginPath           : \"\",             // If this empty, default use settings.path + \"../plugins/\"\n        delay                : 300,            // Delay parse markdown to html, Uint : ms\n        autoLoadModules      : true,           // Automatic load dependent module files\n        watch                : true,\n        placeholder          : \"Enjoy Markdown! coding now...\",\n        gotoLine             : true,\n        codeFold             : false,\n        autoHeight           : false,\n\t\tautoFocus            : true,\n        autoCloseTags        : true,\n        searchReplace        : true,\n        syncScrolling        : true,           // true | false | \"single\", default true\n        readOnly             : false,\n        tabSize              : 4,\n\t\tindentUnit           : 4,\n        lineNumbers          : true,\n\t\tlineWrapping         : true,\n\t\tautoCloseBrackets    : true,\n\t\tshowTrailingSpace    : true,\n\t\tmatchBrackets        : true,\n\t\tindentWithTabs       : true,\n\t\tstyleSelectedText    : true,\n        matchWordHighlight   : true,           // options: true, false, \"onselected\"\n        styleActiveLine      : true,           // Highlight the current line\n        dialogLockScreen     : true,\n        dialogShowMask       : true,\n        dialogDraggable      : true,\n        dialogMaskBgColor    : \"#fff\",\n        dialogMaskOpacity    : 0.1,\n        fontSize             : \"13px\",\n        saveHTMLToTextarea   : false,\n        disabledKeyMaps      : [],\n        \n        onload               : function() {},\n        onresize             : function() {},\n        onchange             : function() {},\n        onwatch              : null,\n        onunwatch            : null,\n        onpreviewing         : function() {},\n        onpreviewed          : function() {},\n        onfullscreen         : function() {},\n        onfullscreenExit     : function() {},\n        onscroll             : function() {},\n        onpreviewscroll      : function() {},\n        \n        imageUpload          : false,\n        imageFormats         : [\"jpg\", \"jpeg\", \"gif\", \"png\", \"bmp\", \"webp\"],\n        imageUploadURL       : \"\",\n        crossDomainUpload    : false,\n        uploadCallbackURL    : \"\",\n        \n        toc                  : true,           // Table of contents\n        tocm                 : false,           // Using [TOCM], auto create ToC dropdown menu\n        tocTitle             : \"\",             // for ToC dropdown menu btn\n        tocDropdown          : false,\n        tocContainer         : \"\",\n        tocStartLevel        : 1,              // Said from H1 to create ToC\n        htmlDecode           : false,          // Open the HTML tag identification \n        pageBreak            : true,           // Enable parse page break [========]\n        atLink               : true,           // for @link\n        emailLink            : true,           // for email address auto link\n        taskList             : false,          // Enable Github Flavored Markdown task lists\n        emoji                : false,          // :emoji: , Support Github emoji, Twitter Emoji (Twemoji);\n                                               // Support FontAwesome icon emoji :fa-xxx: > Using fontAwesome icon web fonts;\n                                               // Support Editor.md logo icon emoji :editormd-logo: :editormd-logo-1x: > 1~8x;\n        tex                  : false,          // TeX(LaTeX), based on KaTeX\n        flowChart            : false,          // flowChart.js only support IE9+\n        sequenceDiagram      : false,          // sequenceDiagram.js only support IE9+\n        previewCodeHighlight : true,\n                \n        toolbar              : true,           // show/hide toolbar\n        toolbarAutoFixed     : true,           // on window scroll auto fixed position\n        toolbarIcons         : \"full\",\n        toolbarTitles        : {},\n        toolbarHandlers      : {\n            ucwords : function() {\n                return editormd.toolbarHandlers.ucwords;\n            },\n            lowercase : function() {\n                return editormd.toolbarHandlers.lowercase;\n            }\n        },\n        toolbarCustomIcons   : {               // using html tag create toolbar icon, unused default <a> tag.\n            lowercase        : \"<a href=\\\"javascript:;\\\" title=\\\"Lowercase\\\" unselectable=\\\"on\\\"><i class=\\\"fa\\\" name=\\\"lowercase\\\" style=\\\"font-size:24px;margin-top: -10px;\\\">a</i></a>\",\n            \"ucwords\"        : \"<a href=\\\"javascript:;\\\" title=\\\"ucwords\\\" unselectable=\\\"on\\\"><i class=\\\"fa\\\" name=\\\"ucwords\\\" style=\\\"font-size:20px;margin-top: -3px;\\\">Aa</i></a>\"\n        }, \n        toolbarIconsClass    : {\n            undo             : \"fa-undo\",\n            redo             : \"fa-repeat\",\n            bold             : \"fa-bold\",\n            del              : \"fa-strikethrough\",\n            italic           : \"fa-italic\",\n            quote            : \"fa-quote-left\",\n            uppercase        : \"fa-font\",\n            h1               : editormd.classPrefix + \"bold\",\n            h2               : editormd.classPrefix + \"bold\",\n            h3               : editormd.classPrefix + \"bold\",\n            h4               : editormd.classPrefix + \"bold\",\n            h5               : editormd.classPrefix + \"bold\",\n            h6               : editormd.classPrefix + \"bold\",\n            \"list-ul\"        : \"fa-list-ul\",\n            \"list-ol\"        : \"fa-list-ol\",\n            hr               : \"fa-minus\",\n            link             : \"fa-link\",\n            \"reference-link\" : \"fa-anchor\",\n            image            : \"fa-picture-o\",\n            code             : \"fa-code\",\n            \"preformatted-text\" : \"fa-file-code-o\",\n            \"code-block\"     : \"fa-file-code-o\",\n            table            : \"fa-table\",\n            datetime         : \"fa-clock-o\",\n            emoji            : \"fa-smile-o\",\n            \"html-entities\"  : \"fa-copyright\",\n            pagebreak        : \"fa-newspaper-o\",\n            \"goto-line\"      : \"fa-terminal\", // fa-crosshairs\n            watch            : \"fa-eye-slash\",\n            unwatch          : \"fa-eye\",\n            preview          : \"fa-desktop\",\n            search           : \"fa-search\",\n            fullscreen       : \"fa-arrows-alt\",\n            clear            : \"fa-eraser\",\n            help             : \"fa-question-circle\",\n            info             : \"fa-info-circle\"\n        },        \n        toolbarIconTexts     : {},\n        \n        lang : {\n            name        : \"zh-cn\",\n            description : \"开源在线Markdown编辑器<br/>Open source online Markdown editor.\",\n            tocTitle    : \"目录\",\n            toolbar     : {\n                undo             : \"撤销（Ctrl+Z）\",\n                redo             : \"重做（Ctrl+Y）\",\n                bold             : \"粗体\",\n                del              : \"删除线\",\n                italic           : \"斜体\",\n                quote            : \"引用\",\n                ucwords          : \"将每个单词首字母转成大写\",\n                uppercase        : \"将所选转换成大写\",\n                lowercase        : \"将所选转换成小写\",\n                h1               : \"标题1\",\n                h2               : \"标题2\",\n                h3               : \"标题3\",\n                h4               : \"标题4\",\n                h5               : \"标题5\",\n                h6               : \"标题6\",\n                \"list-ul\"        : \"无序列表\",\n                \"list-ol\"        : \"有序列表\",\n                hr               : \"横线\",\n                link             : \"链接\",\n                \"reference-link\" : \"引用链接\",\n                image            : \"添加图片\",\n                code             : \"行内代码\",\n                \"preformatted-text\" : \"预格式文本 / 代码块（缩进风格）\",\n                \"code-block\"     : \"代码块（多语言风格）\",\n                table            : \"添加表格\",\n                datetime         : \"日期时间\",\n                emoji            : \"Emoji表情\",\n                \"html-entities\"  : \"HTML实体字符\",\n                pagebreak        : \"插入分页符\",\n                \"goto-line\"      : \"跳转到行\",\n                watch            : \"关闭实时预览\",\n                unwatch          : \"开启实时预览\",\n                preview          : \"全窗口预览HTML（按 Shift + ESC还原）\",\n                fullscreen       : \"全屏（按ESC还原）\",\n                clear            : \"清空\",\n                search           : \"搜索\",\n                help             : \"使用帮助\",\n                info             : \"关于\" + editormd.title\n            },\n            buttons : {\n                enter  : \"确定\",\n                cancel : \"取消\",\n                close  : \"关闭\"\n            },\n            dialog : {\n                link : {\n                    title    : \"添加链接\",\n                    url      : \"链接地址\",\n                    urlTitle : \"链接标题\",\n                    urlEmpty : \"错误：请填写链接地址。\"\n                },\n                referenceLink : {\n                    title    : \"添加引用链接\",\n                    name     : \"引用名称\",\n                    url      : \"链接地址\",\n                    urlId    : \"链接ID\",\n                    urlTitle : \"链接标题\",\n                    nameEmpty: \"错误：引用链接的名称不能为空。\",\n                    idEmpty  : \"错误：请填写引用链接的ID。\",\n                    urlEmpty : \"错误：请填写引用链接的URL地址。\"\n                },\n                image : {\n                    title    : \"添加图片\",\n                    url      : \"图片地址\",\n                    link     : \"图片链接\",\n                    alt      : \"图片描述\",\n                    uploadButton     : \"本地上传\",\n                    imageURLEmpty    : \"错误：图片地址不能为空。\",\n                    uploadFileEmpty  : \"错误：上传的图片不能为空。\",\n                    formatNotAllowed : \"错误：只允许上传图片文件，允许上传的图片文件格式有：\"\n                },\n                preformattedText : {\n                    title             : \"添加预格式文本或代码块\", \n                    emptyAlert        : \"错误：请填写预格式文本或代码的内容。\"\n                },\n                codeBlock : {\n                    title             : \"添加代码块\",                    \n                    selectLabel       : \"代码语言：\",\n                    selectDefaultText : \"请选择代码语言\",\n                    otherLanguage     : \"其他语言\",\n                    unselectedLanguageAlert : \"错误：请选择代码所属的语言类型。\",\n                    codeEmptyAlert    : \"错误：请填写代码内容。\"\n                },\n                htmlEntities : {\n                    title : \"HTML 实体字符\"\n                },\n                help : {\n                    title : \"使用帮助\"\n                }\n            }\n        }\n    };\n    \n    editormd.classNames  = {\n        tex : editormd.classPrefix + \"tex\"\n    };\n\n    editormd.dialogZindex = 99999;\n    \n    editormd.$katex       = null;\n    editormd.$marked      = null;\n    editormd.$CodeMirror  = null;\n    editormd.$prettyPrint = null;\n    \n    var timer, flowchartTimer;\n\n    editormd.prototype    = editormd.fn = {\n        state : {\n            watching   : false,\n            loaded     : false,\n            preview    : false,\n            fullscreen : false\n        },\n        \n        /**\n         * 构造函数/实例初始化\n         * Constructor / instance initialization\n         * \n         * @param   {String}   id            编辑器的ID\n         * @param   {Object}   [options={}]  配置选项 Key/Value\n         * @returns {editormd}               返回editormd的实例对象\n         */\n        \n        init : function (id, options) {\n            \n            options              = options || {};\n            \n            if (typeof id === \"object\")\n            {\n                options = id;\n            }\n            \n            var _this            = this;\n            var classPrefix      = this.classPrefix  = editormd.classPrefix; \n            var settings         = this.settings     = $.extend(true, editormd.defaults, options);\n            \n            id                   = (typeof id === \"object\") ? settings.id : id;\n            \n            var editor           = this.editor       = $(\"#\" + id);\n            \n            this.id              = id;\n            this.lang            = settings.lang;\n            \n            var classNames       = this.classNames   = {\n                textarea : {\n                    html     : classPrefix + \"html-textarea\",\n                    markdown : classPrefix + \"markdown-textarea\"\n                }\n            };\n            \n            settings.pluginPath = (settings.pluginPath === \"\") ? settings.path + \"../plugins/\" : settings.pluginPath; \n            \n            this.state.watching = (settings.watch) ? true : false;\n            \n            if ( !editor.hasClass(\"editormd\") ) {\n                editor.addClass(\"editormd\");\n            }\n            \n            editor.css({\n                width  : (typeof settings.width  === \"number\") ? settings.width  + \"px\" : settings.width,\n                height : (typeof settings.height === \"number\") ? settings.height + \"px\" : settings.height\n            });\n            \n            if (settings.autoHeight)\n            {\n                editor.css(\"height\", \"auto\");\n            }\n                        \n            var markdownTextarea = this.markdownTextarea = editor.children(\"textarea\");\n            \n            if (markdownTextarea.length < 1)\n            {\n                editor.append(\"<textarea></textarea>\");\n                markdownTextarea = this.markdownTextarea = editor.children(\"textarea\");\n            }\n            \n            markdownTextarea.addClass(classNames.textarea.markdown).attr(\"placeholder\", settings.placeholder);\n            \n            if (typeof markdownTextarea.attr(\"name\") === \"undefined\" || markdownTextarea.attr(\"name\") === \"\")\n            {\n                markdownTextarea.attr(\"name\", (settings.name !== \"\") ? settings.name : id + \"-markdown-doc\");\n            }\n            \n            var appendElements = [\n                (!settings.readOnly) ? \"<a href=\\\"javascript:;\\\" class=\\\"fa fa-close \" + classPrefix + \"preview-close-btn\\\"></a>\" : \"\",\n                ( (settings.saveHTMLToTextarea) ? \"<textarea class=\\\"\" + classNames.textarea.html + \"\\\" name=\\\"\" + id + \"-html-code\\\"></textarea>\" : \"\" ),\n                \"<div class=\\\"\" + classPrefix + \"preview\\\"><div class=\\\"markdown-body \" + classPrefix + \"preview-container\\\"></div></div>\",\n                \"<div class=\\\"\" + classPrefix + \"container-mask\\\" style=\\\"display:block;\\\"></div>\",\n                \"<div class=\\\"\" + classPrefix + \"mask\\\"></div>\"\n            ].join(\"\\n\");\n            \n            editor.append(appendElements).addClass(classPrefix + \"vertical\");\n            \n            if (settings.theme !== \"\") \n            {\n                editor.addClass(classPrefix + \"theme-\" + settings.theme);\n            }\n            \n            this.mask          = editor.children(\".\" + classPrefix + \"mask\");    \n            this.containerMask = editor.children(\".\" + classPrefix  + \"container-mask\");\n            \n            if (settings.markdown !== \"\")\n            {\n                markdownTextarea.val(settings.markdown);\n            }\n            \n            if (settings.appendMarkdown !== \"\")\n            {\n                markdownTextarea.val(markdownTextarea.val() + settings.appendMarkdown);\n            }\n            \n            this.htmlTextarea     = editor.children(\".\" + classNames.textarea.html);            \n            this.preview          = editor.children(\".\" + classPrefix + \"preview\");\n            this.previewContainer = this.preview.children(\".\" + classPrefix + \"preview-container\");\n            \n            if (settings.previewTheme !== \"\") \n            {\n                this.preview.addClass(classPrefix + \"preview-theme-\" + settings.previewTheme);\n            }\n            \n            if (typeof define === \"function\" && define.amd)\n            {\n                if (typeof katex !== \"undefined\") \n                {\n                    editormd.$katex = katex;\n                }\n                \n                if (settings.searchReplace && !settings.readOnly) \n                {\n                    editormd.loadCSS(settings.path + \"codemirror/addon/dialog/dialog\");\n                    editormd.loadCSS(settings.path + \"codemirror/addon/search/matchesonscrollbar\");\n                }\n            }\n            \n            if ((typeof define === \"function\" && define.amd) || !settings.autoLoadModules)\n            {\n                if (typeof CodeMirror !== \"undefined\") {\n                    editormd.$CodeMirror = CodeMirror;\n                }\n                \n                if (typeof marked     !== \"undefined\") {\n                    editormd.$marked     = marked;\n                }\n                \n                this.setCodeMirror().setToolbar().loadedDisplay();\n            } \n            else \n            {\n                this.loadQueues();\n            }\n\n            return this;\n        },\n        \n        /**\n         * 所需组件加载队列\n         * Required components loading queue\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        loadQueues : function() {\n            var _this        = this;\n            var settings     = this.settings;\n            var loadPath     = settings.path;\n                                \n            var loadFlowChartOrSequenceDiagram = function() {\n                \n                if (editormd.isIE8) \n                {\n                    _this.loadedDisplay();\n                    \n                    return ;\n                }\n\n                if (settings.flowChart || settings.sequenceDiagram) \n                {\n                    editormd.loadScript(loadPath + \"raphael.min\", function() {\n\n                        editormd.loadScript(loadPath + \"underscore.min\", function() {  \n\n                            if (!settings.flowChart && settings.sequenceDiagram) \n                            {\n                                editormd.loadScript(loadPath + \"sequence-diagram.min\", function() {\n                                    _this.loadedDisplay();\n                                });\n                            }\n                            else if (settings.flowChart && !settings.sequenceDiagram) \n                            {      \n                                editormd.loadScript(loadPath + \"flowchart.min\", function() {  \n                                    editormd.loadScript(loadPath + \"jquery.flowchart.min\", function() {\n                                        _this.loadedDisplay();\n                                    });\n                                });\n                            }\n                            else if (settings.flowChart && settings.sequenceDiagram) \n                            {  \n                                editormd.loadScript(loadPath + \"flowchart.min\", function() {  \n                                    editormd.loadScript(loadPath + \"jquery.flowchart.min\", function() {\n                                        editormd.loadScript(loadPath + \"sequence-diagram.min\", function() {\n                                            _this.loadedDisplay();\n                                        });\n                                    });\n                                });\n                            }\n                        });\n\n                    });\n                } \n                else\n                {\n                    _this.loadedDisplay();\n                }\n            }; \n\n            editormd.loadCSS(loadPath + \"codemirror/codemirror.min\");\n            \n            if (settings.searchReplace && !settings.readOnly)\n            {\n                editormd.loadCSS(loadPath + \"codemirror/addon/dialog/dialog\");\n                editormd.loadCSS(loadPath + \"codemirror/addon/search/matchesonscrollbar\");\n            }\n            \n            if (settings.codeFold)\n            {\n                editormd.loadCSS(loadPath + \"codemirror/addon/fold/foldgutter\");            \n            }\n            \n            editormd.loadScript(loadPath + \"codemirror/codemirror.min\", function() {\n                editormd.$CodeMirror = CodeMirror;\n                \n                editormd.loadScript(loadPath + \"codemirror/modes.min\", function() {\n                    \n                    editormd.loadScript(loadPath + \"codemirror/addons.min\", function() {\n                        \n                        _this.setCodeMirror();\n                        \n                        if (settings.mode !== \"gfm\" && settings.mode !== \"markdown\") \n                        {\n                            _this.loadedDisplay();\n                            \n                            return false;\n                        }\n                        \n                        _this.setToolbar();\n\n                        editormd.loadScript(loadPath + \"marked.min\", function() {\n\n                            editormd.$marked = marked;\n                                \n                            if (settings.previewCodeHighlight) \n                            {\n                                editormd.loadScript(loadPath + \"prettify.min\", function() {\n                                    loadFlowChartOrSequenceDiagram();\n                                });\n                            } \n                            else\n                            {                  \n                                loadFlowChartOrSequenceDiagram();\n                            }\n                        });\n                        \n                    });\n                    \n                });\n                \n            });\n\n            return this;\n        },\n        \n        /**\n         * 设置 Editor.md 的整体主题，主要是工具栏\n         * Setting Editor.md theme\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        setTheme : function(theme) {\n            var editor      = this.editor;\n            var oldTheme    = this.settings.theme;\n            var themePrefix = this.classPrefix + \"theme-\";\n            \n            editor.removeClass(themePrefix + oldTheme).addClass(themePrefix + theme);\n            \n            this.settings.theme = theme;\n            \n            return this;\n        },\n        \n        /**\n         * 设置 CodeMirror（编辑区）的主题\n         * Setting CodeMirror (Editor area) theme\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        setEditorTheme : function(theme) {  \n            var settings   = this.settings;  \n            settings.editorTheme = theme;  \n            \n            if (theme !== \"default\")\n            {\n                editormd.loadCSS(settings.path + \"codemirror/theme/\" + settings.editorTheme);\n            }\n            \n            this.cm.setOption(\"theme\", theme);\n            \n            return this;\n        },\n        \n        /**\n         * setEditorTheme() 的别名\n         * setEditorTheme() alias\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        setCodeMirrorTheme : function (theme) {            \n            this.setEditorTheme(theme);\n            \n            return this;\n        },\n        \n        /**\n         * 设置 Editor.md 的主题\n         * Setting Editor.md theme\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        setPreviewTheme : function(theme) {  \n            var preview     = this.preview;\n            var oldTheme    = this.settings.previewTheme;\n            var themePrefix = this.classPrefix + \"preview-theme-\";\n            \n            preview.removeClass(themePrefix + oldTheme).addClass(themePrefix + theme);\n            \n            this.settings.previewTheme = theme;\n            \n            return this;\n        },\n        \n        /**\n         * 配置和初始化CodeMirror组件\n         * CodeMirror initialization\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        setCodeMirror : function() { \n            var settings         = this.settings;\n            var editor           = this.editor;\n            \n            if (settings.editorTheme !== \"default\")\n            {\n                editormd.loadCSS(settings.path + \"codemirror/theme/\" + settings.editorTheme);\n            }\n            \n            var codeMirrorConfig = {\n                mode                      : settings.mode,\n                theme                     : settings.editorTheme,\n                tabSize                   : settings.tabSize,\n                dragDrop                  : false,\n                autofocus                 : settings.autoFocus,\n                autoCloseTags             : settings.autoCloseTags,\n                readOnly                  : (settings.readOnly) ? \"nocursor\" : false,\n                indentUnit                : settings.indentUnit,\n                lineNumbers               : settings.lineNumbers,\n                lineWrapping              : settings.lineWrapping,\n                extraKeys                 : {\n                                                \"Ctrl-Q\": function(cm) { \n                                                    cm.foldCode(cm.getCursor()); \n                                                }\n                                            },\n                foldGutter                : settings.codeFold,\n                gutters                   : [\"CodeMirror-linenumbers\", \"CodeMirror-foldgutter\"],\n                matchBrackets             : settings.matchBrackets,\n                indentWithTabs            : settings.indentWithTabs,\n                styleActiveLine           : settings.styleActiveLine,\n                styleSelectedText         : settings.styleSelectedText,\n                autoCloseBrackets         : settings.autoCloseBrackets,\n                showTrailingSpace         : settings.showTrailingSpace,\n                highlightSelectionMatches : ( (!settings.matchWordHighlight) ? false : { showToken: (settings.matchWordHighlight === \"onselected\") ? false : /\\w/ } )\n            };\n            \n            this.codeEditor = this.cm        = editormd.$CodeMirror.fromTextArea(this.markdownTextarea[0], codeMirrorConfig);\n            this.codeMirror = this.cmElement = editor.children(\".CodeMirror\");\n            \n            if (settings.value !== \"\")\n            {\n                this.cm.setValue(settings.value);\n            }\n\n            this.codeMirror.css({\n                fontSize : settings.fontSize,\n                width    : (!settings.watch) ? \"100%\" : \"50%\"\n            });\n            \n            if (settings.autoHeight)\n            {\n                this.codeMirror.css(\"height\", \"auto\");\n                this.cm.setOption(\"viewportMargin\", Infinity);\n            }\n            \n            if (!settings.lineNumbers)\n            {\n                this.codeMirror.find(\".CodeMirror-gutters\").css(\"border-right\", \"none\");\n            }\n\n            return this;\n        },\n        \n        /**\n         * 获取CodeMirror的配置选项\n         * Get CodeMirror setting options\n         * \n         * @returns {Mixed}                  return CodeMirror setting option value\n         */\n        \n        getCodeMirrorOption : function(key) {            \n            return this.cm.getOption(key);\n        },\n        \n        /**\n         * 配置和重配置CodeMirror的选项\n         * CodeMirror setting options / resettings\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        setCodeMirrorOption : function(key, value) {\n            \n            this.cm.setOption(key, value);\n            \n            return this;\n        },\n        \n        /**\n         * 添加 CodeMirror 键盘快捷键\n         * Add CodeMirror keyboard shortcuts key map\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        addKeyMap : function(map, bottom) {\n            this.cm.addKeyMap(map, bottom);\n            \n            return this;\n        },\n        \n        /**\n         * 移除 CodeMirror 键盘快捷键\n         * Remove CodeMirror keyboard shortcuts key map\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        removeKeyMap : function(map) {\n            this.cm.removeKeyMap(map);\n            \n            return this;\n        },\n        \n        /**\n         * 跳转到指定的行\n         * Goto CodeMirror line\n         * \n         * @param   {String|Intiger}   line      line number or \"first\"|\"last\"\n         * @returns {editormd}                   返回editormd的实例对象\n         */\n        \n        gotoLine : function (line) {\n            \n            var settings = this.settings;\n            \n            if (!settings.gotoLine)\n            {\n                return this;\n            }\n            \n            var cm       = this.cm;\n            var editor   = this.editor;\n            var count    = cm.lineCount();\n            var preview  = this.preview;\n            \n            if (typeof line === \"string\")\n            {\n                if(line === \"last\")\n                {\n                    line = count;\n                }\n            \n                if (line === \"first\")\n                {\n                    line = 1;\n                }\n            }\n            \n            if (typeof line !== \"number\") \n            {  \n                alert(\"Error: The line number must be an integer.\");\n                return this;\n            }\n            \n            line  = parseInt(line) - 1;\n            \n            if (line > count)\n            {\n                alert(\"Error: The line number range 1-\" + count);\n                \n                return this;\n            }\n            \n            cm.setCursor( {line : line, ch : 0} );\n            \n            var scrollInfo   = cm.getScrollInfo();\n            var clientHeight = scrollInfo.clientHeight; \n            var coords       = cm.charCoords({line : line, ch : 0}, \"local\");\n            \n            cm.scrollTo(null, (coords.top + coords.bottom - clientHeight) / 2);\n            \n            if (settings.watch)\n            {            \n                var cmScroll  = this.codeMirror.find(\".CodeMirror-scroll\")[0];\n                var height    = $(cmScroll).height(); \n                var scrollTop = cmScroll.scrollTop;         \n                var percent   = (scrollTop / cmScroll.scrollHeight);\n\n                if (scrollTop === 0)\n                {\n                    preview.scrollTop(0);\n                } \n                else if (scrollTop + height >= cmScroll.scrollHeight - 16)\n                { \n                    preview.scrollTop(preview[0].scrollHeight);                    \n                } \n                else\n                {                    \n                    preview.scrollTop(preview[0].scrollHeight * percent);\n                }\n            }\n\n            cm.focus();\n            \n            return this;\n        },\n        \n        /**\n         * 扩展当前实例对象，可同时设置多个或者只设置一个\n         * Extend editormd instance object, can mutil setting.\n         * \n         * @returns {editormd}                  this(editormd instance object.)\n         */\n        \n        extend : function() {\n            if (typeof arguments[1] !== \"undefined\")\n            {\n                if (typeof arguments[1] === \"function\")\n                {\n                    arguments[1] = $.proxy(arguments[1], this);\n                }\n\n                this[arguments[0]] = arguments[1];\n            }\n            \n            if (typeof arguments[0] === \"object\" && typeof arguments[0].length === \"undefined\")\n            {\n                $.extend(true, this, arguments[0]);\n            }\n\n            return this;\n        },\n        \n        /**\n         * 设置或扩展当前实例对象，单个设置\n         * Extend editormd instance object, one by one\n         * \n         * @param   {String|Object}   key       option key\n         * @param   {String|Object}   value     option value\n         * @returns {editormd}                  this(editormd instance object.)\n         */\n        \n        set : function (key, value) {\n            \n            if (typeof value !== \"undefined\" && typeof value === \"function\")\n            {\n                value = $.proxy(value, this);\n            }\n            \n            this[key] = value;\n\n            return this;\n        },\n        \n        /**\n         * 重新配置\n         * Resetting editor options\n         * \n         * @param   {String|Object}   key       option key\n         * @param   {String|Object}   value     option value\n         * @returns {editormd}                  this(editormd instance object.)\n         */\n        \n        config : function(key, value) {\n            var settings = this.settings;\n            \n            if (typeof key === \"object\")\n            {\n                settings = $.extend(true, settings, key);\n            }\n            \n            if (typeof key === \"string\")\n            {\n                settings[key] = value;\n            }\n            \n            this.settings = settings;\n            this.recreate();\n            \n            return this;\n        },\n        \n        /**\n         * 注册事件处理方法\n         * Bind editor event handle\n         * \n         * @param   {String}     eventType      event type\n         * @param   {Function}   callback       回调函数\n         * @returns {editormd}                  this(editormd instance object.)\n         */\n        \n        on : function(eventType, callback) {\n            var settings = this.settings;\n            \n            if (typeof settings[\"on\" + eventType] !== \"undefined\") \n            {                \n                settings[\"on\" + eventType] = $.proxy(callback, this);      \n            }\n\n            return this;\n        },\n        \n        /**\n         * 解除事件处理方法\n         * Unbind editor event handle\n         * \n         * @param   {String}   eventType          event type\n         * @returns {editormd}                    this(editormd instance object.)\n         */\n        \n        off : function(eventType) {\n            var settings = this.settings;\n            \n            if (typeof settings[\"on\" + eventType] !== \"undefined\") \n            {\n                settings[\"on\" + eventType] = function(){};\n            }\n            \n            return this;\n        },\n        \n        /**\n         * 显示工具栏\n         * Display toolbar\n         * \n         * @param   {Function} [callback=function(){}] 回调函数\n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        showToolbar : function(callback) {\n            var settings = this.settings;\n            \n            if(settings.readOnly) {\n                return this;\n            }\n            \n            if (settings.toolbar && (this.toolbar.length < 1 || this.toolbar.find(\".\" + this.classPrefix + \"menu\").html() === \"\") )\n            {\n                this.setToolbar();\n            }\n            \n            settings.toolbar = true; \n            \n            this.toolbar.show();\n            this.resize();\n            \n            $.proxy(callback || function(){}, this)();\n\n            return this;\n        },\n        \n        /**\n         * 隐藏工具栏\n         * Hide toolbar\n         * \n         * @param   {Function} [callback=function(){}] 回调函数\n         * @returns {editormd}                         this(editormd instance object.)\n         */\n        \n        hideToolbar : function(callback) { \n            var settings = this.settings;\n            \n            settings.toolbar = false;  \n            this.toolbar.hide();\n            this.resize();\n            \n            $.proxy(callback || function(){}, this)();\n\n            return this;\n        },\n        \n        /**\n         * 页面滚动时工具栏的固定定位\n         * Set toolbar in window scroll auto fixed position\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        setToolbarAutoFixed : function(fixed) {\n            \n            var state    = this.state;\n            var editor   = this.editor;\n            var toolbar  = this.toolbar;\n            var settings = this.settings;\n            \n            if (typeof fixed !== \"undefined\")\n            {\n                settings.toolbarAutoFixed = fixed;\n            }\n            \n            var autoFixedHandle = function(){\n                var $window = $(window);\n                var top     = $window.scrollTop();\n                \n                if (!settings.toolbarAutoFixed)\n                {\n                    return false;\n                }\n\n                if (top - editor.offset().top > 10 && top < editor.height())\n                {\n                    toolbar.css({\n                        position : \"fixed\",\n                        width    : editor.width() + \"px\",\n                        left     : ($window.width() - editor.width()) / 2 + \"px\"\n                    });\n                }\n                else\n                {\n                    toolbar.css({\n                        position : \"absolute\",\n                        width    : \"100%\",\n                        left     : 0\n                    });\n                }\n            };\n            \n            if (!state.fullscreen && !state.preview && settings.toolbar && settings.toolbarAutoFixed)\n            {\n                $(window).bind(\"scroll\", autoFixedHandle);\n            }\n\n            return this;\n        },\n        \n        /**\n         * 配置和初始化工具栏\n         * Set toolbar and Initialization\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        setToolbar : function() {\n            var settings    = this.settings;  \n            \n            if(settings.readOnly) {\n                return this;\n            }\n            \n            var editor      = this.editor;\n            var preview     = this.preview;\n            var classPrefix = this.classPrefix;\n            \n            var toolbar     = this.toolbar = editor.children(\".\" + classPrefix + \"toolbar\");\n            \n            if (settings.toolbar && toolbar.length < 1)\n            {            \n                var toolbarHTML = \"<div class=\\\"\" + classPrefix + \"toolbar\\\"><div class=\\\"\" + classPrefix + \"toolbar-container\\\"><ul class=\\\"\" + classPrefix + \"menu\\\"></ul></div></div>\";\n                \n                editor.append(toolbarHTML);\n                toolbar = this.toolbar = editor.children(\".\" + classPrefix + \"toolbar\");\n            }\n            \n            if (!settings.toolbar) \n            {\n                toolbar.hide();\n                \n                return this;\n            }\n            \n            toolbar.show();\n            \n            var icons       = (typeof settings.toolbarIcons === \"function\") ? settings.toolbarIcons() \n                            : ((typeof settings.toolbarIcons === \"string\")  ? editormd.toolbarModes[settings.toolbarIcons] : settings.toolbarIcons);\n            \n            var toolbarMenu = toolbar.find(\".\" + this.classPrefix + \"menu\"), menu = \"\";\n            var pullRight   = false;\n            \n            for (var i = 0, len = icons.length; i < len; i++)\n            {\n                var name = icons[i];\n\n                if (name === \"||\") \n                { \n                    pullRight = true;\n                } \n                else if (name === \"|\")\n                {\n                    menu += \"<li class=\\\"divider\\\" unselectable=\\\"on\\\">|</li>\";\n                }\n                else\n                {\n                    var isHeader = (/h(\\d)/.test(name));\n                    var index    = name;\n                    \n                    if (name === \"watch\" && !settings.watch) {\n                        index = \"unwatch\";\n                    }\n                    \n                    var title     = settings.lang.toolbar[index];\n                    var iconTexts = settings.toolbarIconTexts[index];\n                    var iconClass = settings.toolbarIconsClass[index];\n                    \n                    title     = (typeof title     === \"undefined\") ? \"\" : title;\n                    iconTexts = (typeof iconTexts === \"undefined\") ? \"\" : iconTexts;\n                    iconClass = (typeof iconClass === \"undefined\") ? \"\" : iconClass;\n\n                    var menuItem = pullRight ? \"<li class=\\\"pull-right\\\">\" : \"<li>\";\n                    \n                    if (typeof settings.toolbarCustomIcons[name] !== \"undefined\" && typeof settings.toolbarCustomIcons[name] !== \"function\")\n                    {\n                        menuItem += settings.toolbarCustomIcons[name];\n                    }\n                    else \n                    {\n                        menuItem += \"<a href=\\\"javascript:;\\\" title=\\\"\" + title + \"\\\" unselectable=\\\"on\\\">\";\n                        menuItem += \"<i class=\\\"fa \" + iconClass + \"\\\" name=\\\"\"+name+\"\\\" unselectable=\\\"on\\\">\"+((isHeader) ? name.toUpperCase() : ( (iconClass === \"\") ? iconTexts : \"\") ) + \"</i>\";\n                        menuItem += \"</a>\";\n                    }\n\n                    menuItem += \"</li>\";\n\n                    menu = pullRight ? menuItem + menu : menu + menuItem;\n                }\n            }\n\n            toolbarMenu.html(menu);\n            \n            toolbarMenu.find(\"[title=\\\"Lowercase\\\"]\").attr(\"title\", settings.lang.toolbar.lowercase);\n            toolbarMenu.find(\"[title=\\\"ucwords\\\"]\").attr(\"title\", settings.lang.toolbar.ucwords);\n            \n            this.setToolbarHandler();\n            this.setToolbarAutoFixed();\n\n            return this;\n        },\n        \n        /**\n         * 工具栏图标事件处理对象序列\n         * Get toolbar icons event handlers\n         * \n         * @param   {Object}   cm    CodeMirror的实例对象\n         * @param   {String}   name  要获取的事件处理器名称\n         * @returns {Object}         返回处理对象序列\n         */\n            \n        dialogLockScreen : function() {\n            $.proxy(editormd.dialogLockScreen, this)();\n            \n            return this;\n        },\n\n        dialogShowMask : function(dialog) {\n            $.proxy(editormd.dialogShowMask, this)(dialog);\n            \n            return this;\n        },\n        \n        getToolbarHandles : function(name) {  \n            var toolbarHandlers = this.toolbarHandlers = editormd.toolbarHandlers;\n            \n            return (name && typeof toolbarIconHandlers[name] !== \"undefined\") ? toolbarHandlers[name] : toolbarHandlers;\n        },\n        \n        /**\n         * 工具栏图标事件处理器\n         * Bind toolbar icons event handle\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        setToolbarHandler : function() {\n            var _this               = this;\n            var settings            = this.settings;\n            \n            if (!settings.toolbar || settings.readOnly) {\n                return this;\n            }\n            \n            var toolbar             = this.toolbar;\n            var cm                  = this.cm;\n            var classPrefix         = this.classPrefix;           \n            var toolbarIcons        = this.toolbarIcons = toolbar.find(\".\" + classPrefix + \"menu > li > a\");  \n            var toolbarIconHandlers = this.getToolbarHandles();  \n                \n            toolbarIcons.bind(editormd.mouseOrTouch(\"click\", \"touchend\"), function(event) {\n\n                var icon                = $(this).children(\".fa\");\n                var name                = icon.attr(\"name\");\n                var cursor              = cm.getCursor();\n                var selection           = cm.getSelection();\n\n                if (name === \"\") {\n                    return ;\n                }\n                \n                _this.activeIcon = icon;\n\n                if (typeof toolbarIconHandlers[name] !== \"undefined\") \n                {\n                    $.proxy(toolbarIconHandlers[name], _this)(cm);\n                }\n                else \n                {\n                    if (typeof settings.toolbarHandlers[name] !== \"undefined\") \n                    {\n                        $.proxy(settings.toolbarHandlers[name], _this)(cm, icon, cursor, selection);\n                    }\n                }\n                \n                if (name !== \"link\" && name !== \"reference-link\" && name !== \"image\" && name !== \"code-block\" && \n                    name !== \"preformatted-text\" && name !== \"watch\" && name !== \"preview\" && name !== \"search\" && name !== \"fullscreen\" && name !== \"info\") \n                {\n                    cm.focus();\n                }\n\n                return false;\n\n            });\n\n            return this;\n        },\n        \n        /**\n         * 动态创建对话框\n         * Creating custom dialogs\n         * \n         * @param   {Object} options  配置项键值对 Key/Value\n         * @returns {dialog}          返回创建的dialog的jQuery实例对象\n         */\n        \n        createDialog : function(options) {            \n            return $.proxy(editormd.createDialog, this)(options);\n        },\n        \n        /**\n         * 创建关于Editor.md的对话框\n         * Create about Editor.md dialog\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        createInfoDialog : function() {\n            var _this        = this;\n\t\t\tvar editor       = this.editor;\n            var classPrefix  = this.classPrefix;  \n            \n            var infoDialogHTML = [\n                \"<div class=\\\"\" + classPrefix + \"dialog \" + classPrefix + \"dialog-info\\\" style=\\\"\\\">\",\n                \"<div class=\\\"\" + classPrefix + \"dialog-container\\\">\",\n                \"<h1><i class=\\\"editormd-logo editormd-logo-lg editormd-logo-color\\\"></i> \" + editormd.title + \"<small>v\" + editormd.version + \"</small></h1>\",\n                \"<p>\" + this.lang.description + \"</p>\",\n                \"<p style=\\\"margin: 10px 0 20px 0;\\\"><a href=\\\"\" + editormd.homePage + \"\\\" target=\\\"_blank\\\">\" + editormd.homePage + \" <i class=\\\"fa fa-external-link\\\"></i></a></p>\",\n                \"<p style=\\\"font-size: 0.85em;\\\">Copyright &copy; 2015 <a href=\\\"https://github.com/pandao\\\" target=\\\"_blank\\\" class=\\\"hover-link\\\">Pandao</a>, The <a href=\\\"https://github.com/pandao/editor.md/blob/master/LICENSE\\\" target=\\\"_blank\\\" class=\\\"hover-link\\\">MIT</a> License.</p>\",\n                \"</div>\",\n                \"<a href=\\\"javascript:;\\\" class=\\\"fa fa-close \" + classPrefix + \"dialog-close\\\"></a>\",\n                \"</div>\"\n            ].join(\"\\n\");\n\n            editor.append(infoDialogHTML);\n            \n            var infoDialog  = this.infoDialog = editor.children(\".\" + classPrefix + \"dialog-info\");\n\n            infoDialog.find(\".\" + classPrefix + \"dialog-close\").bind(editormd.mouseOrTouch(\"click\", \"touchend\"), function() {\n                _this.hideInfoDialog();\n            });\n            \n            infoDialog.css(\"border\", (editormd.isIE8) ? \"1px solid #ddd\" : \"\").css(\"z-index\", editormd.dialogZindex).show();\n            \n            this.infoDialogPosition();\n\n            return this;\n        },\n        \n        /**\n         * 关于Editor.md对话居中定位\n         * Editor.md dialog position handle\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        infoDialogPosition : function() {\n            var infoDialog = this.infoDialog;\n            \n\t\t\tvar _infoDialogPosition = function() {\n\t\t\t\tinfoDialog.css({\n\t\t\t\t\ttop  : ($(window).height() - infoDialog.height()) / 2 + \"px\",\n\t\t\t\t\tleft : ($(window).width()  - infoDialog.width()) / 2  + \"px\"\n\t\t\t\t});\n\t\t\t};\n\n\t\t\t_infoDialogPosition();\n\n\t\t\t$(window).resize(_infoDialogPosition);\n            \n            return this;\n        },\n        \n        /**\n         * 显示关于Editor.md\n         * Display about Editor.md dialog\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        showInfoDialog : function() {\n\n            $(\"html,body\").css(\"overflow-x\", \"hidden\");\n            \n            var _this       = this;\n\t\t\tvar editor      = this.editor;\n            var settings    = this.settings;         \n\t\t\tvar infoDialog  = this.infoDialog = editor.children(\".\" + this.classPrefix + \"dialog-info\");\n            \n            if (infoDialog.length < 1)\n            {\n                this.createInfoDialog();\n            }\n            \n            this.lockScreen(true);\n            \n            this.mask.css({\n\t\t\t\t\t\topacity         : settings.dialogMaskOpacity,\n\t\t\t\t\t\tbackgroundColor : settings.dialogMaskBgColor\n\t\t\t\t\t}).show();\n\n\t\t\tinfoDialog.css(\"z-index\", editormd.dialogZindex).show();\n\n\t\t\tthis.infoDialogPosition();\n\n            return this;\n        },\n        \n        /**\n         * 隐藏关于Editor.md\n         * Hide about Editor.md dialog\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        hideInfoDialog : function() {            \n            $(\"html,body\").css(\"overflow-x\", \"\");\n            this.infoDialog.hide();\n            this.mask.hide();\n            this.lockScreen(false);\n\n            return this;\n        },\n        \n        /**\n         * 锁屏\n         * lock screen\n         * \n         * @param   {Boolean}    lock    Boolean 布尔值，是否锁屏\n         * @returns {editormd}           返回editormd的实例对象\n         */\n        \n        lockScreen : function(lock) {\n            editormd.lockScreen(lock);\n            this.resize();\n\n            return this;\n        },\n        \n        /**\n         * 编辑器界面重建，用于动态语言包或模块加载等\n         * Recreate editor\n         * \n         * @returns {editormd}  返回editormd的实例对象\n         */\n        \n        recreate : function() {\n            var _this            = this;\n            var editor           = this.editor;\n            var settings         = this.settings;\n            \n            this.codeMirror.remove();\n            \n            this.setCodeMirror();\n\n            if (!settings.readOnly) \n            {\n                if (editor.find(\".editormd-dialog\").length > 0) {\n                    editor.find(\".editormd-dialog\").remove();\n                }\n                \n                if (settings.toolbar) \n                {  \n                    this.getToolbarHandles();                  \n                    this.setToolbar();\n                }\n            }\n            \n            this.loadedDisplay(true);\n\n            return this;\n        },\n        \n        /**\n         * 高亮预览HTML的pre代码部分\n         * highlight of preview codes\n         * \n         * @returns {editormd}             返回editormd的实例对象\n         */\n        \n        previewCodeHighlight : function() {    \n            var settings         = this.settings;\n            var previewContainer = this.previewContainer;\n            \n            if (settings.previewCodeHighlight) \n            {\n                previewContainer.find(\"pre\").addClass(\"prettyprint linenums\");\n                \n                if (typeof prettyPrint !== \"undefined\")\n                {                    \n                    prettyPrint();\n                }\n            }\n\n            return this;\n        },\n        \n        /**\n         * 解析TeX(KaTeX)科学公式\n         * TeX(KaTeX) Renderer\n         * \n         * @returns {editormd}             返回editormd的实例对象\n         */\n        \n        katexRender : function() {\n            \n            if (timer === null)\n            {\n                return this;\n            }\n            \n            this.previewContainer.find(\".\" + editormd.classNames.tex).each(function(){\n                var tex  = $(this);\n                editormd.$katex.render(tex.text(), tex[0]);\n                \n                tex.find(\".katex\").css(\"font-size\", \"1.6em\");\n            });   \n\n            return this;\n        },\n        \n        /**\n         * 解析和渲染流程图及时序图\n         * FlowChart and SequenceDiagram Renderer\n         * \n         * @returns {editormd}             返回editormd的实例对象\n         */\n        \n        flowChartAndSequenceDiagramRender : function() {\n            var $this            = this;\n            var settings         = this.settings;\n            var previewContainer = this.previewContainer;\n            \n            if (editormd.isIE8) {\n                return this;\n            }\n\n            if (settings.flowChart) {\n                if (flowchartTimer === null) {\n                    return this;\n                }\n                \n                previewContainer.find(\".flowchart\").flowChart(); \n            }\n\n            if (settings.sequenceDiagram) {\n                previewContainer.find(\".sequence-diagram\").sequenceDiagram({theme: \"simple\"});\n            }\n                    \n            var preview    = $this.preview;\n            var codeMirror = $this.codeMirror;\n            var codeView   = codeMirror.find(\".CodeMirror-scroll\");\n\n            var height    = codeView.height();\n            var scrollTop = codeView.scrollTop();                    \n            var percent   = (scrollTop / codeView[0].scrollHeight);\n            var tocHeight = 0;\n\n            preview.find(\".markdown-toc-list\").each(function(){\n                tocHeight += $(this).height();\n            });\n\n            var tocMenuHeight = preview.find(\".editormd-toc-menu\").height(); \n            tocMenuHeight = (!tocMenuHeight) ? 0 : tocMenuHeight;\n\n            if (scrollTop === 0) \n            {\n                preview.scrollTop(0);\n            } \n            else if (scrollTop + height >= codeView[0].scrollHeight - 16)\n            { \n                preview.scrollTop(preview[0].scrollHeight);                        \n            } \n            else\n            {                  \n                preview.scrollTop((preview[0].scrollHeight + tocHeight + tocMenuHeight) * percent);\n            }\n\n            return this;\n        },\n        \n        /**\n         * 注册键盘快捷键处理\n         * Register CodeMirror keyMaps (keyboard shortcuts).\n         * \n         * @param   {Object}    keyMap      KeyMap key/value {\"(Ctrl/Shift/Alt)-Key\" : function(){}}\n         * @returns {editormd}              return this\n         */\n        \n        registerKeyMaps : function(keyMap) {\n            \n            var _this           = this;\n            var cm              = this.cm;\n            var settings        = this.settings;\n            var toolbarHandlers = editormd.toolbarHandlers;\n            var disabledKeyMaps = settings.disabledKeyMaps;\n            \n            keyMap              = keyMap || null;\n            \n            if (keyMap)\n            {\n                for (var i in keyMap)\n                {\n                    if ($.inArray(i, disabledKeyMaps) < 0)\n                    {\n                        var map = {};\n                        map[i]  = keyMap[i];\n\n                        cm.addKeyMap(keyMap);\n                    }\n                }\n            }\n            else\n            {\n                for (var k in editormd.keyMaps)\n                {\n                    var _keyMap = editormd.keyMaps[k];\n                    var handle = (typeof _keyMap === \"string\") ? $.proxy(toolbarHandlers[_keyMap], _this) : $.proxy(_keyMap, _this);\n                    \n                    if ($.inArray(k, [\"F9\", \"F10\", \"F11\"]) < 0 && $.inArray(k, disabledKeyMaps) < 0)\n                    {\n                        var _map = {};\n                        _map[k] = handle;\n\n                        cm.addKeyMap(_map);\n                    }\n                }\n                \n                $(window).keydown(function(event) {\n                    \n                    var keymaps = {\n                        \"120\" : \"F9\",\n                        \"121\" : \"F10\",\n                        \"122\" : \"F11\"\n                    };\n                    \n                    if ( $.inArray(keymaps[event.keyCode], disabledKeyMaps) < 0 )\n                    {\n                        switch (event.keyCode)\n                        {\n                            case 120:\n                                    $.proxy(toolbarHandlers[\"watch\"], _this)();\n                                    return false;\n                                break;\n                                \n                            case 121:\n                                    $.proxy(toolbarHandlers[\"preview\"], _this)();\n                                    return false;\n                                break;\n                                \n                            case 122:\n                                    $.proxy(toolbarHandlers[\"fullscreen\"], _this)();                        \n                                    return false;\n                                break;\n                                \n                            default:\n                                break;\n                        }\n                    }\n                });\n            }\n\n            return this;\n        },\n        \n        /**\n         * 绑定同步滚动\n         * \n         * @returns {editormd} return this\n         */\n        \n        bindScrollEvent : function() {\n            \n            var _this            = this;\n            var preview          = this.preview;\n            var settings         = this.settings;\n            var codeMirror       = this.codeMirror;\n            var mouseOrTouch     = editormd.mouseOrTouch;\n            \n            if (!settings.syncScrolling) {\n                return this;\n            }\n                \n            var cmBindScroll = function() {    \n                codeMirror.find(\".CodeMirror-scroll\").bind(mouseOrTouch(\"scroll\", \"touchmove\"), function(event) {\n                    var height    = $(this).height();\n                    var scrollTop = $(this).scrollTop();                    \n                    var percent   = (scrollTop / $(this)[0].scrollHeight);\n                    \n                    var tocHeight = 0;\n                    \n                    preview.find(\".markdown-toc-list\").each(function(){\n                        tocHeight += $(this).height();\n                    });\n                    \n                    var tocMenuHeight = preview.find(\".editormd-toc-menu\").height();\n                    tocMenuHeight = (!tocMenuHeight) ? 0 : tocMenuHeight;\n\n                    if (scrollTop === 0) \n                    {\n                        preview.scrollTop(0);\n                    } \n                    else if (scrollTop + height >= $(this)[0].scrollHeight - 16)\n                    { \n                        preview.scrollTop(preview[0].scrollHeight);                        \n                    } \n                    else\n                    {\n                        preview.scrollTop((preview[0].scrollHeight  + tocHeight + tocMenuHeight) * percent);\n                    }\n                    \n                    $.proxy(settings.onscroll, _this)(event);\n                });\n            };\n\n            var cmUnbindScroll = function() {\n                codeMirror.find(\".CodeMirror-scroll\").unbind(mouseOrTouch(\"scroll\", \"touchmove\"));\n            };\n\n            var previewBindScroll = function() {\n                \n                preview.bind(mouseOrTouch(\"scroll\", \"touchmove\"), function(event) {\n                    var height    = $(this).height();\n                    var scrollTop = $(this).scrollTop();         \n                    var percent   = (scrollTop / $(this)[0].scrollHeight);\n                    var codeView  = codeMirror.find(\".CodeMirror-scroll\");\n\n                    if(scrollTop === 0) \n                    {\n                        codeView.scrollTop(0);\n                    }\n                    else if (scrollTop + height >= $(this)[0].scrollHeight)\n                    {\n                        codeView.scrollTop(codeView[0].scrollHeight);                        \n                    }\n                    else \n                    {\n                        codeView.scrollTop(codeView[0].scrollHeight * percent);\n                    }\n                    \n                    $.proxy(settings.onpreviewscroll, _this)(event);\n                });\n\n            };\n\n            var previewUnbindScroll = function() {\n                preview.unbind(mouseOrTouch(\"scroll\", \"touchmove\"));\n            }; \n\n\t\t\tcodeMirror.bind({\n\t\t\t\tmouseover  : cmBindScroll,\n\t\t\t\tmouseout   : cmUnbindScroll,\n\t\t\t\ttouchstart : cmBindScroll,\n\t\t\t\ttouchend   : cmUnbindScroll\n\t\t\t});\n            \n            if (settings.syncScrolling === \"single\") {\n                return this;\n            }\n            \n\t\t\tpreview.bind({\n\t\t\t\tmouseover  : previewBindScroll,\n\t\t\t\tmouseout   : previewUnbindScroll,\n\t\t\t\ttouchstart : previewBindScroll,\n\t\t\t\ttouchend   : previewUnbindScroll\n\t\t\t});\n\n            return this;\n        },\n        \n        bindChangeEvent : function() {\n            \n            var _this            = this;\n            var cm               = this.cm;\n            var settings         = this.settings;\n            \n            if (!settings.syncScrolling) {\n                return this;\n            }\n            \n            cm.on(\"change\", function(_cm, changeObj) {\n                \n                if (settings.watch)\n                {\n                    _this.previewContainer.css(\"padding\", settings.autoHeight ? \"20px 20px 50px 40px\" : \"20px\");\n                }\n                \n                timer = setTimeout(function() {\n                    clearTimeout(timer);\n                    _this.save();\n                    timer = null;\n                }, settings.delay);\n            });\n\n            return this;\n        },\n        \n        /**\n         * 加载队列完成之后的显示处理\n         * Display handle of the module queues loaded after.\n         * \n         * @param   {Boolean}   recreate   是否为重建编辑器\n         * @returns {editormd}             返回editormd的实例对象\n         */\n        \n        loadedDisplay : function(recreate) {\n            \n            recreate             = recreate || false;\n            \n            var _this            = this;\n            var editor           = this.editor;\n            var preview          = this.preview;\n            var settings         = this.settings;\n            \n            this.containerMask.hide();\n            \n            this.save();\n            \n            if (settings.watch) {\n                preview.show();\n            }\n            \n            editor.data(\"oldWidth\", editor.width()).data(\"oldHeight\", editor.height()); // 为了兼容Zepto\n            \n            this.resize();\n            this.registerKeyMaps();\n            \n            $(window).resize(function(){\n                _this.resize();\n            });\n            \n            this.bindScrollEvent().bindChangeEvent();\n            \n            if (!recreate)\n            {\n                $.proxy(settings.onload, this)();\n            }\n            \n            this.state.loaded = true;\n\n            return this;\n        },\n        \n        /**\n         * 设置编辑器的宽度\n         * Set editor width\n         * \n         * @param   {Number|String} width  编辑器宽度值\n         * @returns {editormd}             返回editormd的实例对象\n         */\n        \n        width : function(width) {\n                \n            this.editor.css(\"width\", (typeof width === \"number\") ? width  + \"px\" : width);            \n            this.resize();\n            \n            return this;\n        },\n        \n        /**\n         * 设置编辑器的高度\n         * Set editor height\n         * \n         * @param   {Number|String} height  编辑器高度值\n         * @returns {editormd}              返回editormd的实例对象\n         */\n        \n        height : function(height) {\n                \n            this.editor.css(\"height\", (typeof height === \"number\")  ? height  + \"px\" : height);            \n            this.resize();\n            \n            return this;\n        },\n        \n        /**\n         * 调整编辑器的尺寸和布局\n         * Resize editor layout\n         * \n         * @param   {Number|String} [width=null]  编辑器宽度值\n         * @param   {Number|String} [height=null] 编辑器高度值\n         * @returns {editormd}                    返回editormd的实例对象\n         */\n        \n        resize : function(width, height) {\n            \n            width  = width  || null;\n            height = height || null;\n            \n            var state      = this.state;\n            var editor     = this.editor;\n            var preview    = this.preview;\n            var toolbar    = this.toolbar;\n            var settings   = this.settings;\n            var codeMirror = this.codeMirror;\n            \n            if (width)\n            {\n                editor.css(\"width\", (typeof width  === \"number\") ? width  + \"px\" : width);\n            }\n            \n            if (settings.autoHeight && !state.fullscreen && !state.preview)\n            {\n                editor.css(\"height\", \"auto\");\n                codeMirror.css(\"height\", \"auto\");\n            } \n            else \n            {\n                if (height) \n                {\n                    editor.css(\"height\", (typeof height === \"number\") ? height + \"px\" : height);\n                }\n                \n                if (state.fullscreen)\n                {\n                    editor.height($(window).height());\n                }\n\n                if (settings.toolbar && !settings.readOnly) \n                {\n                    codeMirror.css(\"margin-top\", toolbar.height() + 1).height(editor.height() - toolbar.height());\n                } \n                else\n                {\n                    codeMirror.css(\"margin-top\", 0).height(editor.height());\n                }\n            }\n            \n            if(settings.watch) \n            {\n                codeMirror.width(editor.width() / 2);\n                preview.width((!state.preview) ? editor.width() / 2 : editor.width());\n                \n                this.previewContainer.css(\"padding\", settings.autoHeight ? \"20px 20px 50px 40px\" : \"20px\");\n                \n                if (settings.toolbar && !settings.readOnly) \n                {\n                    preview.css(\"top\", toolbar.height() + 1);\n                } \n                else \n                {\n                    preview.css(\"top\", 0);\n                }\n                \n                if (settings.autoHeight && !state.fullscreen && !state.preview)\n                {\n                    preview.height(\"\");\n                }\n                else\n                {                \n                    var previewHeight = (settings.toolbar && !settings.readOnly) ? editor.height() - toolbar.height() : editor.height();\n                    \n                    preview.height(previewHeight);\n                }\n            } \n            else \n            {\n                codeMirror.width(editor.width());\n                preview.hide();\n            }\n            \n            if (state.loaded) \n            {\n                $.proxy(settings.onresize, this)();\n            }\n\n            return this;\n        },\n        \n        /**\n         * 解析和保存Markdown代码\n         * Parse & Saving Markdown source code\n         * \n         * @returns {editormd}     返回editormd的实例对象\n         */\n        \n        save : function() {\n            \n            var _this            = this;\n            var state            = this.state;\n            var settings         = this.settings;\n\n            if (timer === null && !(!settings.watch && state.preview))\n            {\n                return this;\n            }\n            \n            var cm               = this.cm;            \n            var cmValue          = cm.getValue();\n            var previewContainer = this.previewContainer;\n\n            if (settings.mode !== \"gfm\" && settings.mode !== \"markdown\") \n            {\n                this.markdownTextarea.val(cmValue);\n                \n                return this;\n            }\n            \n            var marked          = editormd.$marked;\n            var markdownToC     = this.markdownToC = [];            \n            var rendererOptions = this.markedRendererOptions = {  \n                toc                  : settings.toc,\n                tocm                 : settings.tocm,\n                tocStartLevel        : settings.tocStartLevel,\n                pageBreak            : settings.pageBreak,\n                taskList             : settings.taskList,\n                emoji                : settings.emoji,\n                tex                  : settings.tex,\n                atLink               : settings.atLink,           // for @link\n                emailLink            : settings.emailLink,        // for mail address auto link\n                flowChart            : settings.flowChart,\n                sequenceDiagram      : settings.sequenceDiagram,\n                previewCodeHighlight : settings.previewCodeHighlight,\n            };\n            \n            var markedOptions = this.markedOptions = {\n                renderer    : editormd.markedRenderer(markdownToC, rendererOptions),\n                gfm         : true,\n                tables      : true,\n                breaks      : true,\n                pedantic    : false,\n                sanitize    : (settings.htmlDecode) ? false : true,  // 关闭忽略HTML标签，即开启识别HTML标签，默认为false\n                smartLists  : true,\n                smartypants : true\n            };\n            \n            marked.setOptions(markedOptions);\n                    \n            var newMarkdownDoc = editormd.$marked(cmValue, markedOptions);\n            \n            //console.info(\"cmValue\", cmValue, newMarkdownDoc);\n            \n            newMarkdownDoc = editormd.filterHTMLTags(newMarkdownDoc, settings.htmlDecode);\n            \n            //console.error(\"cmValue\", cmValue, newMarkdownDoc);\n            \n            this.markdownTextarea.text(cmValue);\n            \n            cm.save();\n            \n            if (settings.saveHTMLToTextarea) \n            {\n                this.htmlTextarea.text(newMarkdownDoc);\n            }\n            \n            if(settings.watch || (!settings.watch && state.preview))\n            {\n                previewContainer.html(newMarkdownDoc);\n\n                this.previewCodeHighlight();\n                \n                if (settings.toc) \n                {\n                    var tocContainer = (settings.tocContainer === \"\") ? previewContainer : $(settings.tocContainer);\n                    var tocMenu      = tocContainer.find(\".\" + this.classPrefix + \"toc-menu\");\n                    \n                    tocContainer.attr(\"previewContainer\", (settings.tocContainer === \"\") ? \"true\" : \"false\");\n                    \n                    if (settings.tocContainer !== \"\" && tocMenu.length > 0)\n                    {\n                        tocMenu.remove();\n                    }\n                    \n                    editormd.markdownToCRenderer(markdownToC, tocContainer, settings.tocDropdown, settings.tocStartLevel);\n            \n                    if (settings.tocDropdown || tocContainer.find(\".\" + this.classPrefix + \"toc-menu\").length > 0)\n                    {\n                        editormd.tocDropdownMenu(tocContainer, (settings.tocTitle !== \"\") ? settings.tocTitle : this.lang.tocTitle);\n                    }\n            \n                    if (settings.tocContainer !== \"\")\n                    {\n                        previewContainer.find(\".markdown-toc\").css(\"border\", \"none\");\n                    }\n                }\n                \n                if (settings.tex)\n                {\n                    if (!editormd.kaTeXLoaded && settings.autoLoadModules) \n                    {\n                        editormd.loadKaTeX(function() {\n                            editormd.$katex = katex;\n                            editormd.kaTeXLoaded = true;\n                            _this.katexRender();\n                        });\n                    } \n                    else \n                    {\n                        editormd.$katex = katex;\n                        this.katexRender();\n                    }\n                }                \n                \n                if (settings.flowChart || settings.sequenceDiagram)\n                {\n                    flowchartTimer = setTimeout(function(){\n                        clearTimeout(flowchartTimer);\n                        _this.flowChartAndSequenceDiagramRender();\n                        flowchartTimer = null;\n                    }, 10);\n                }\n\n                if (state.loaded) \n                {\n                    $.proxy(settings.onchange, this)();\n                }\n            }\n\n            return this;\n        },\n        \n        /**\n         * 聚焦光标位置\n         * Focusing the cursor position\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        focus : function() {\n            this.cm.focus();\n\n            return this;\n        },\n        \n        /**\n         * 设置光标的位置\n         * Set cursor position\n         * \n         * @param   {Object}    cursor 要设置的光标位置键值对象，例：{line:1, ch:0}\n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        setCursor : function(cursor) {\n            this.cm.setCursor(cursor);\n\n            return this;\n        },\n        \n        /**\n         * 获取当前光标的位置\n         * Get the current position of the cursor\n         * \n         * @returns {Cursor}         返回一个光标Cursor对象\n         */\n        \n        getCursor : function() {\n            return this.cm.getCursor();\n        },\n        \n        /**\n         * 设置光标选中的范围\n         * Set cursor selected ranges\n         * \n         * @param   {Object}    from   开始位置的光标键值对象，例：{line:1, ch:0}\n         * @param   {Object}    to     结束位置的光标键值对象，例：{line:1, ch:0}\n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        setSelection : function(from, to) {\n        \n            this.cm.setSelection(from, to);\n        \n            return this;\n        },\n        \n        /**\n         * 获取光标选中的文本\n         * Get the texts from cursor selected\n         * \n         * @returns {String}         返回选中文本的字符串形式\n         */\n        \n        getSelection : function() {\n            return this.cm.getSelection();\n        },\n        \n        /**\n         * 设置光标选中的文本范围\n         * Set the cursor selection ranges\n         * \n         * @param   {Array}    ranges  cursor selection ranges array\n         * @returns {Array}            return this\n         */\n        \n        setSelections : function(ranges) {\n            this.cm.setSelections(ranges);\n            \n            return this;\n        },\n        \n        /**\n         * 获取光标选中的文本范围\n         * Get the cursor selection ranges\n         * \n         * @returns {Array}         return selection ranges array\n         */\n        \n        getSelections : function() {\n            return this.cm.getSelections();\n        },\n        \n        /**\n         * 替换当前光标选中的文本或在当前光标处插入新字符\n         * Replace the text at the current cursor selected or insert a new character at the current cursor position\n         * \n         * @param   {String}    value  要插入的字符值\n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        replaceSelection : function(value) {\n            this.cm.replaceSelection(value);\n\n            return this;\n        },\n        \n        /**\n         * 在当前光标处插入新字符\n         * Insert a new character at the current cursor position\n         *\n         * 同replaceSelection()方法\n         * With the replaceSelection() method\n         * \n         * @param   {String}    value  要插入的字符值\n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        insertValue : function(value) {\n            this.replaceSelection(value);\n\n            return this;\n        },\n        \n        /**\n         * 追加markdown\n         * append Markdown to editor\n         * \n         * @param   {String}    md     要追加的markdown源文档\n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        appendMarkdown : function(md) {\n            var settings = this.settings;\n            var cm       = this.cm;\n            \n            cm.setValue(cm.getValue() + md);\n            \n            return this;\n        },\n        \n        /**\n         * 设置和传入编辑器的markdown源文档\n         * Set Markdown source document\n         * \n         * @param   {String}    md     要传入的markdown源文档\n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        setMarkdown : function(md) {\n            this.cm.setValue(md || this.settings.markdown);\n            \n            return this;\n        },\n        \n        /**\n         * 获取编辑器的markdown源文档\n         * Set Editor.md markdown/CodeMirror value\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        getMarkdown : function() {\n            return this.cm.getValue();\n        },\n        \n        /**\n         * 获取编辑器的源文档\n         * Get CodeMirror value\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        getValue : function() {\n            return this.cm.getValue();\n        },\n        \n        /**\n         * 设置编辑器的源文档\n         * Set CodeMirror value\n         * \n         * @param   {String}     value   set code/value/string/text\n         * @returns {editormd}           返回editormd的实例对象\n         */\n        \n        setValue : function(value) {\n            this.cm.setValue(value);\n            \n            return this;\n        },\n        \n        /**\n         * 清空编辑器\n         * Empty CodeMirror editor container\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        clear : function() {\n            this.cm.setValue(\"\");\n            \n            return this;\n        },\n        \n        /**\n         * 获取解析后存放在Textarea的HTML源码\n         * Get parsed html code from Textarea\n         * \n         * @returns {String}               返回HTML源码\n         */\n        \n        getHTML : function() {\n            if (!this.settings.saveHTMLToTextarea)\n            {\n                alert(\"Error: settings.saveHTMLToTextarea == false\");\n\n                return false;\n            }\n            \n            return this.htmlTextarea.val();\n        },\n        \n        /**\n         * getHTML()的别名\n         * getHTML (alias)\n         * \n         * @returns {String}           Return html code 返回HTML源码\n         */\n        \n        getTextareaSavedHTML : function() {\n            return this.getHTML();\n        },\n        \n        /**\n         * 获取预览窗口的HTML源码\n         * Get html from preview container\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        getPreviewedHTML : function() {\n            if (!this.settings.watch)\n            {\n                alert(\"Error: settings.watch == false\");\n\n                return false;\n            }\n            \n            return this.previewContainer.html();\n        },\n        \n        /**\n         * 开启实时预览\n         * Enable real-time watching\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        watch : function(callback) {     \n            var settings        = this.settings;\n            \n            if ($.inArray(settings.mode, [\"gfm\", \"markdown\"]) < 0)\n            {\n                return this;\n            }\n            \n            this.state.watching = settings.watch = true;\n            this.preview.show();\n            \n            if (this.toolbar)\n            {\n                var watchIcon   = settings.toolbarIconsClass.watch;\n                var unWatchIcon = settings.toolbarIconsClass.unwatch;\n                \n                var icon        = this.toolbar.find(\".fa[name=watch]\");\n                icon.parent().attr(\"title\", settings.lang.toolbar.watch);\n                icon.removeClass(unWatchIcon).addClass(watchIcon);\n            }\n            \n            this.codeMirror.css(\"border-right\", \"1px solid #ddd\").width(this.editor.width() / 2); \n            \n            timer = 0;\n            \n            this.save().resize();\n            \n            if (!settings.onwatch)\n            {\n                settings.onwatch = callback || function() {};\n            }\n            \n            $.proxy(settings.onwatch, this)();\n            \n            return this;\n        },\n        \n        /**\n         * 关闭实时预览\n         * Disable real-time watching\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        unwatch : function(callback) {\n            var settings        = this.settings;\n            this.state.watching = settings.watch = false;\n            this.preview.hide();\n            \n            if (this.toolbar) \n            {\n                var watchIcon   = settings.toolbarIconsClass.watch;\n                var unWatchIcon = settings.toolbarIconsClass.unwatch;\n                \n                var icon    = this.toolbar.find(\".fa[name=watch]\");\n                icon.parent().attr(\"title\", settings.lang.toolbar.unwatch);\n                icon.removeClass(watchIcon).addClass(unWatchIcon);\n            }\n            \n            this.codeMirror.css(\"border-right\", \"none\").width(this.editor.width());\n            \n            this.resize();\n            \n            if (!settings.onunwatch)\n            {\n                settings.onunwatch = callback || function() {};\n            }\n            \n            $.proxy(settings.onunwatch, this)();\n            \n            return this;\n        },\n        \n        /**\n         * 显示编辑器\n         * Show editor\n         * \n         * @param   {Function} [callback=function()] 回调函数\n         * @returns {editormd}                       返回editormd的实例对象\n         */\n        \n        show : function(callback) {\n            callback  = callback || function() {};\n            \n            var _this = this;\n            this.editor.show(0, function() {\n                $.proxy(callback, _this)();\n            });\n            \n            return this;\n        },\n        \n        /**\n         * 隐藏编辑器\n         * Hide editor\n         * \n         * @param   {Function} [callback=function()] 回调函数\n         * @returns {editormd}                       返回editormd的实例对象\n         */\n        \n        hide : function(callback) {\n            callback  = callback || function() {};\n            \n            var _this = this;\n            this.editor.hide(0, function() {\n                $.proxy(callback, _this)();\n            });\n            \n            return this;\n        },\n        \n        /**\n         * 隐藏编辑器部分，只预览HTML\n         * Enter preview html state\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        previewing : function() {\n            \n            var _this            = this;\n            var editor           = this.editor;\n            var preview          = this.preview;\n            var toolbar          = this.toolbar;\n            var settings         = this.settings;\n            var codeMirror       = this.codeMirror;\n            var previewContainer = this.previewContainer;\n            \n            if ($.inArray(settings.mode, [\"gfm\", \"markdown\"]) < 0) {\n                return this;\n            }\n            \n            if (settings.toolbar && toolbar) {\n                toolbar.toggle();\n                toolbar.find(\".fa[name=preview]\").toggleClass(\"active\");\n            }\n            \n            codeMirror.toggle();\n            \n            var escHandle = function(event) {\n                if (event.shiftKey && event.keyCode === 27) {\n                    _this.previewed();\n                }\n            };\n\n            if (codeMirror.css(\"display\") === \"none\") // 为了兼容Zepto，而不使用codeMirror.is(\":hidden\")\n            {\n                this.state.preview = true;\n\n                if (this.state.fullscreen) {\n                    preview.css(\"background\", \"#fff\");\n                }\n                \n                editor.find(\".\" + this.classPrefix + \"preview-close-btn\").show().bind(editormd.mouseOrTouch(\"click\", \"touchend\"), function(){\n                    _this.previewed();\n                });\n            \n                if (!settings.watch)\n                {\n                    this.save();\n                } \n                else \n                {\n                    previewContainer.css(\"padding\", \"\");\n                }\n                \n                previewContainer.addClass(this.classPrefix + \"preview-active\");\n\n                preview.show().css({\n                    position  : \"\",\n                    top       : 0,\n                    width     : editor.width(),\n                    height    : (settings.autoHeight && !this.state.fullscreen) ? \"auto\" : editor.height()\n                });\n                \n                if (this.state.loaded)\n                {\n                    $.proxy(settings.onpreviewing, this)();\n                }\n\n                $(window).bind(\"keyup\", escHandle);\n            } \n            else \n            {\n                $(window).unbind(\"keyup\", escHandle);\n                this.previewed();\n            }\n        },\n        \n        /**\n         * 显示编辑器部分，退出只预览HTML\n         * Exit preview html state\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        previewed : function() {\n            \n            var editor           = this.editor;\n            var preview          = this.preview;\n            var toolbar          = this.toolbar;\n            var settings         = this.settings;\n            var previewContainer = this.previewContainer;\n            var previewCloseBtn  = editor.find(\".\" + this.classPrefix + \"preview-close-btn\");\n\n            this.state.preview   = false;\n            \n            this.codeMirror.show();\n            \n            if (settings.toolbar) {\n                toolbar.show();\n            }\n            \n            preview[(settings.watch) ? \"show\" : \"hide\"]();\n            \n            previewCloseBtn.hide().unbind(editormd.mouseOrTouch(\"click\", \"touchend\"));\n                \n            previewContainer.removeClass(this.classPrefix + \"preview-active\");\n                \n            if (settings.watch)\n            {\n                previewContainer.css(\"padding\", \"20px\");\n            }\n            \n            preview.css({ \n                background : null,\n                position   : \"absolute\",\n                width      : editor.width() / 2,\n                height     : (settings.autoHeight && !this.state.fullscreen) ? \"auto\" : editor.height() - toolbar.height(),\n                top        : (settings.toolbar)    ? toolbar.height() : 0\n            });\n\n            if (this.state.loaded)\n            {\n                $.proxy(settings.onpreviewed, this)();\n            }\n            \n            return this;\n        },\n        \n        /**\n         * 编辑器全屏显示\n         * Fullscreen show\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        fullscreen : function() {\n            \n            var _this            = this;\n            var state            = this.state;\n            var editor           = this.editor;\n            var preview          = this.preview;\n            var toolbar          = this.toolbar;\n            var settings         = this.settings;\n            var fullscreenClass  = this.classPrefix + \"fullscreen\";\n            \n            if (toolbar) {\n                toolbar.find(\".fa[name=fullscreen]\").parent().toggleClass(\"active\"); \n            }\n            \n            var escHandle = function(event) {\n                if (!event.shiftKey && event.keyCode === 27) \n                {\n                    if (state.fullscreen)\n                    {\n                        _this.fullscreenExit();\n                    }\n                }\n            };\n\n            if (!editor.hasClass(fullscreenClass)) \n            {\n                state.fullscreen = true;\n\n                $(\"html,body\").css(\"overflow\", \"hidden\");\n                \n                editor.css({\n                    width    : $(window).width(),\n                    height   : $(window).height()\n                }).addClass(fullscreenClass);\n\n                this.resize();\n    \n                $.proxy(settings.onfullscreen, this)();\n\n                $(window).bind(\"keyup\", escHandle);\n            }\n            else\n            {           \n                $(window).unbind(\"keyup\", escHandle); \n                this.fullscreenExit();\n            }\n\n            return this;\n        },\n        \n        /**\n         * 编辑器退出全屏显示\n         * Exit fullscreen state\n         * \n         * @returns {editormd}         返回editormd的实例对象\n         */\n        \n        fullscreenExit : function() {\n            \n            var editor            = this.editor;\n            var settings          = this.settings;\n            var toolbar           = this.toolbar;\n            var fullscreenClass   = this.classPrefix + \"fullscreen\";  \n            \n            this.state.fullscreen = false;\n            \n            if (toolbar) {\n                toolbar.find(\".fa[name=fullscreen]\").parent().removeClass(\"active\"); \n            }\n\n            $(\"html,body\").css(\"overflow\", \"\");\n\n            editor.css({\n                width    : editor.data(\"oldWidth\"),\n                height   : editor.data(\"oldHeight\")\n            }).removeClass(fullscreenClass);\n\n            this.resize();\n            \n            $.proxy(settings.onfullscreenExit, this)();\n\n            return this;\n        },\n        \n        /**\n         * 加载并执行插件\n         * Load and execute the plugin\n         * \n         * @param   {String}     name    plugin name / function name\n         * @param   {String}     path    plugin load path\n         * @returns {editormd}           返回editormd的实例对象\n         */\n        \n        executePlugin : function(name, path) {\n            \n            var _this    = this;\n            var cm       = this.cm;\n            var settings = this.settings;\n            \n            path = settings.pluginPath + path;\n            \n            if (typeof define === \"function\") \n            {            \n                if (typeof this[name] === \"undefined\")\n                {\n                    alert(\"Error: \" + name + \" plugin is not found, you are not load this plugin.\");\n                    \n                    return this;\n                }\n                \n                this[name](cm);\n                \n                return this;\n            }\n            \n            if ($.inArray(path, editormd.loadFiles.plugin) < 0)\n            {\n                editormd.loadPlugin(path, function() {\n                    editormd.loadPlugins[name] = _this[name];\n                    _this[name](cm);\n                });\n            }\n            else\n            {\n                $.proxy(editormd.loadPlugins[name], this)(cm);\n            }\n            \n            return this;\n        },\n                \n        /**\n         * 搜索替换\n         * Search & replace\n         * \n         * @param   {String}     command    CodeMirror serach commands, \"find, fintNext, fintPrev, clearSearch, replace, replaceAll\"\n         * @returns {editormd}              return this\n         */\n        \n        search : function(command) {\n            var settings = this.settings;\n            \n            if (!settings.searchReplace)\n            {\n                alert(\"Error: settings.searchReplace == false\");\n                return this;\n            }\n            \n            if (!settings.readOnly)\n            {\n                this.cm.execCommand(command || \"find\");\n            }\n            \n            return this;\n        },\n        \n        searchReplace : function() {            \n            this.search(\"replace\");\n            \n            return this;\n        },\n        \n        searchReplaceAll : function() {          \n            this.search(\"replaceAll\");\n            \n            return this;\n        }\n    };\n    \n    editormd.fn.init.prototype = editormd.fn; \n   \n    /**\n     * 锁屏\n     * lock screen when dialog opening\n     * \n     * @returns {void}\n     */\n\n    editormd.dialogLockScreen = function() {\n        var settings = this.settings || {dialogLockScreen : true};\n        \n        if (settings.dialogLockScreen) \n        {            \n            $(\"html,body\").css(\"overflow\", \"hidden\");\n            this.resize();\n        }\n    };\n   \n    /**\n     * 显示透明背景层\n     * Display mask layer when dialog opening\n     * \n     * @param   {Object}     dialog    dialog jQuery object\n     * @returns {void}\n     */\n    \n    editormd.dialogShowMask = function(dialog) {\n        var editor   = this.editor;\n        var settings = this.settings || {dialogShowMask : true};\n        \n        dialog.css({\n            top  : ($(window).height() - dialog.height()) / 2 + \"px\",\n            left : ($(window).width()  - dialog.width())  / 2 + \"px\"\n        });\n\n        if (settings.dialogShowMask) {\n            editor.children(\".\" + this.classPrefix + \"mask\").css(\"z-index\", parseInt(dialog.css(\"z-index\")) - 1).show();\n        }\n    };\n\n    editormd.toolbarHandlers = {\n        undo : function() {\n            this.cm.undo();\n        },\n        \n        redo : function() {\n            this.cm.redo();\n        },\n        \n        bold : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            cm.replaceSelection(\"**\" + selection + \"**\");\n\n            if(selection === \"\") {\n                cm.setCursor(cursor.line, cursor.ch + 2);\n            }\n        },\n        \n        del : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            cm.replaceSelection(\"~~\" + selection + \"~~\");\n\n            if(selection === \"\") {\n                cm.setCursor(cursor.line, cursor.ch + 2);\n            }\n        },\n\n        italic : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            cm.replaceSelection(\"*\" + selection + \"*\");\n\n            if(selection === \"\") {\n                cm.setCursor(cursor.line, cursor.ch + 1);\n            }\n        },\n\n        quote : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            if (cursor.ch !== 0)\n            {\n                cm.setCursor(cursor.line, 0);\n                cm.replaceSelection(\"> \" + selection);\n                cm.setCursor(cursor.line, cursor.ch + 2);\n            }\n            else\n            {\n                cm.replaceSelection(\"> \" + selection);\n            }\n\n            //cm.replaceSelection(\"> \" + selection);\n            //cm.setCursor(cursor.line, (selection === \"\") ? cursor.ch + 2 : cursor.ch + selection.length + 2);\n        },\n        \n        ucfirst : function() {\n            var cm         = this.cm;\n            var selection  = cm.getSelection();\n            var selections = cm.listSelections();\n\n            cm.replaceSelection(editormd.firstUpperCase(selection));\n            cm.setSelections(selections);\n        },\n        \n        ucwords : function() {\n            var cm         = this.cm;\n            var selection  = cm.getSelection();\n            var selections = cm.listSelections();\n\n            cm.replaceSelection(editormd.wordsFirstUpperCase(selection));\n            cm.setSelections(selections);\n        },\n        \n        uppercase : function() {\n            var cm         = this.cm;\n            var selection  = cm.getSelection();\n            var selections = cm.listSelections();\n\n            cm.replaceSelection(selection.toUpperCase());\n            cm.setSelections(selections);\n        },\n        \n        lowercase : function() {\n            var cm         = this.cm;\n            var cursor     = cm.getCursor();\n            var selection  = cm.getSelection();\n            var selections = cm.listSelections();\n            \n            cm.replaceSelection(selection.toLowerCase());\n            cm.setSelections(selections);\n        },\n\n        h1 : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            if (cursor.ch !== 0)\n            {\n                cm.setCursor(cursor.line, 0);\n                cm.replaceSelection(\"# \" + selection);\n                cm.setCursor(cursor.line, cursor.ch + 2);\n            }\n            else\n            {\n                cm.replaceSelection(\"# \" + selection);\n            }\n        },\n\n        h2 : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            if (cursor.ch !== 0)\n            {\n                cm.setCursor(cursor.line, 0);\n                cm.replaceSelection(\"## \" + selection);\n                cm.setCursor(cursor.line, cursor.ch + 3);\n            }\n            else\n            {\n                cm.replaceSelection(\"## \" + selection);\n            }\n        },\n\n        h3 : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            if (cursor.ch !== 0)\n            {\n                cm.setCursor(cursor.line, 0);\n                cm.replaceSelection(\"### \" + selection);\n                cm.setCursor(cursor.line, cursor.ch + 4);\n            }\n            else\n            {\n                cm.replaceSelection(\"### \" + selection);\n            }\n        },\n\n        h4 : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            if (cursor.ch !== 0)\n            {\n                cm.setCursor(cursor.line, 0);\n                cm.replaceSelection(\"#### \" + selection);\n                cm.setCursor(cursor.line, cursor.ch + 5);\n            }\n            else\n            {\n                cm.replaceSelection(\"#### \" + selection);\n            }\n        },\n\n        h5 : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            if (cursor.ch !== 0)\n            {\n                cm.setCursor(cursor.line, 0);\n                cm.replaceSelection(\"##### \" + selection);\n                cm.setCursor(cursor.line, cursor.ch + 6);\n            }\n            else\n            {\n                cm.replaceSelection(\"##### \" + selection);\n            }\n        },\n\n        h6 : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            if (cursor.ch !== 0)\n            {\n                cm.setCursor(cursor.line, 0);\n                cm.replaceSelection(\"###### \" + selection);\n                cm.setCursor(cursor.line, cursor.ch + 7);\n            }\n            else\n            {\n                cm.replaceSelection(\"###### \" + selection);\n            }\n        },\n\n        \"list-ul\" : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            if (selection === \"\") \n            {\n                cm.replaceSelection(\"- \" + selection);\n            } \n            else \n            {\n                var selectionText = selection.split(\"\\n\");\n\n                for (var i = 0, len = selectionText.length; i < len; i++) \n                {\n                    selectionText[i] = (selectionText[i] === \"\") ? \"\" : \"- \" + selectionText[i];\n                }\n\n                cm.replaceSelection(selectionText.join(\"\\n\"));\n            }\n        },\n\n        \"list-ol\" : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            if(selection === \"\") \n            {\n                cm.replaceSelection(\"1. \" + selection);\n            }\n            else\n            {\n                var selectionText = selection.split(\"\\n\");\n\n                for (var i = 0, len = selectionText.length; i < len; i++) \n                {\n                    selectionText[i] = (selectionText[i] === \"\") ? \"\" : (i+1) + \". \" + selectionText[i];\n                }\n\n                cm.replaceSelection(selectionText.join(\"\\n\"));\n            }\n        },\n\n        hr : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            cm.replaceSelection(((cursor.ch !== 0) ? \"\\n\\n\" : \"\\n\") + \"------------\\n\\n\");\n        },\n\n        tex : function() {\n            if (!this.settings.tex)\n            {\n                alert(\"settings.tex === false\");\n                return this;\n            }\n            \n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            cm.replaceSelection(\"$$\" + selection + \"$$\");\n\n            if(selection === \"\") {\n                cm.setCursor(cursor.line, cursor.ch + 2);\n            }\n        },\n\n        link : function() {\n            this.executePlugin(\"linkDialog\", \"link-dialog/link-dialog\");\n        },\n\n        \"reference-link\" : function() {\n            this.executePlugin(\"referenceLinkDialog\", \"reference-link-dialog/reference-link-dialog\");\n        },\n\n        pagebreak : function() {\n            if (!this.settings.pageBreak)\n            {\n                alert(\"settings.pageBreak === false\");\n                return this;\n            }\n            \n            var cm        = this.cm;\n            var selection = cm.getSelection();\n\n            cm.replaceSelection(\"\\r\\n[========]\\r\\n\");\n        },\n\n        image : function() {\n            this.executePlugin(\"imageDialog\", \"image-dialog/image-dialog\");\n        },\n        \n        code : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n\n            cm.replaceSelection(\"`\" + selection + \"`\");\n\n            if (selection === \"\") {\n                cm.setCursor(cursor.line, cursor.ch + 1);\n            }\n        },\n\n        \"code-block\" : function() {\n            this.executePlugin(\"codeBlockDialog\", \"code-block-dialog/code-block-dialog\");            \n        },\n\n        \"preformatted-text\" : function() {\n            this.executePlugin(\"preformattedTextDialog\", \"preformatted-text-dialog/preformatted-text-dialog\");\n        },\n        \n        table : function() {\n            this.executePlugin(\"tableDialog\", \"table-dialog/table-dialog\");         \n        },\n        \n        datetime : function() {\n            var cm        = this.cm;\n            var selection = cm.getSelection();\n            var date      = new Date();\n            var langName  = this.settings.lang.name;\n            var datefmt   = editormd.dateFormat() + \" \" + editormd.dateFormat((langName === \"zh-cn\" || langName === \"zh-tw\") ? \"cn-week-day\" : \"week-day\");\n\n            cm.replaceSelection(datefmt);\n        },\n        \n        emoji : function() {\n            this.executePlugin(\"emojiDialog\", \"emoji-dialog/emoji-dialog\");\n        },\n                \n        \"html-entities\" : function() {\n            this.executePlugin(\"htmlEntitiesDialog\", \"html-entities-dialog/html-entities-dialog\");\n        },\n                \n        \"goto-line\" : function() {\n            this.executePlugin(\"gotoLineDialog\", \"goto-line-dialog/goto-line-dialog\");\n        },\n\n        watch : function() {    \n            this[this.settings.watch ? \"unwatch\" : \"watch\"]();\n        },\n\n        preview : function() {\n            this.previewing();\n        },\n\n        fullscreen : function() {\n            this.fullscreen();\n        },\n\n        clear : function() {\n            this.clear();\n        },\n        \n        search : function() {\n            this.search();\n        },\n\n        help : function() {\n            this.executePlugin(\"helpDialog\", \"help-dialog/help-dialog\");\n        },\n\n        info : function() {\n            this.showInfoDialog();\n        }\n    };\n    \n    editormd.keyMaps = {\n        \"Ctrl-1\"       : \"h1\",\n        \"Ctrl-2\"       : \"h2\",\n        \"Ctrl-3\"       : \"h3\",\n        \"Ctrl-4\"       : \"h4\",\n        \"Ctrl-5\"       : \"h5\",\n        \"Ctrl-6\"       : \"h6\",\n        \"Ctrl-B\"       : \"bold\",  // if this is string ==  editormd.toolbarHandlers.xxxx\n        \"Ctrl-D\"       : \"datetime\",\n        \n        \"Ctrl-E\"       : function() { // emoji\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n            \n            if (!this.settings.emoji)\n            {\n                alert(\"Error: settings.emoji == false\");\n                return ;\n            }\n\n            cm.replaceSelection(\":\" + selection + \":\");\n\n            if (selection === \"\") {\n                cm.setCursor(cursor.line, cursor.ch + 1);\n            }\n        },\n        \"Ctrl-Alt-G\"   : \"goto-line\",\n        \"Ctrl-H\"       : \"hr\",\n        \"Ctrl-I\"       : \"italic\",\n        \"Ctrl-K\"       : \"code\",\n        \n        \"Ctrl-L\"        : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n            \n            var title = (selection === \"\") ? \"\" : \" \\\"\"+selection+\"\\\"\";\n\n            cm.replaceSelection(\"[\" + selection + \"](\"+title+\")\");\n\n            if (selection === \"\") {\n                cm.setCursor(cursor.line, cursor.ch + 1);\n            }\n        },\n        \"Ctrl-U\"         : \"list-ul\",\n        \n        \"Shift-Ctrl-A\"   : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n            \n            if (!this.settings.atLink)\n            {\n                alert(\"Error: settings.atLink == false\");\n                return ;\n            }\n\n            cm.replaceSelection(\"@\" + selection);\n\n            if (selection === \"\") {\n                cm.setCursor(cursor.line, cursor.ch + 1);\n            }\n        },\n        \n        \"Shift-Ctrl-C\"     : \"code\",\n        \"Shift-Ctrl-Q\"     : \"quote\",\n        \"Shift-Ctrl-S\"     : \"del\",\n        \"Shift-Ctrl-K\"     : \"tex\",  // KaTeX\n        \n        \"Shift-Alt-C\"      : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n            \n            cm.replaceSelection([\"```\", selection, \"```\"].join(\"\\n\"));\n\n            if (selection === \"\") {\n                cm.setCursor(cursor.line, cursor.ch + 3);\n            } \n        },\n        \n        \"Shift-Ctrl-Alt-C\" : \"code-block\",\n        \"Shift-Ctrl-H\"     : \"html-entities\",\n        \"Shift-Alt-H\"      : \"help\",\n        \"Shift-Ctrl-E\"     : \"emoji\",\n        \"Shift-Ctrl-U\"     : \"uppercase\",\n        \"Shift-Alt-U\"      : \"ucwords\",\n        \"Shift-Ctrl-Alt-U\" : \"ucfirst\",\n        \"Shift-Alt-L\"      : \"lowercase\",\n        \n        \"Shift-Ctrl-I\"     : function() {\n            var cm        = this.cm;\n            var cursor    = cm.getCursor();\n            var selection = cm.getSelection();\n            \n            var title = (selection === \"\") ? \"\" : \" \\\"\"+selection+\"\\\"\";\n\n            cm.replaceSelection(\"![\" + selection + \"](\"+title+\")\");\n\n            if (selection === \"\") {\n                cm.setCursor(cursor.line, cursor.ch + 4);\n            }\n        },\n        \n        \"Shift-Ctrl-Alt-I\" : \"image\",\n        \"Shift-Ctrl-L\"     : \"link\",\n        \"Shift-Ctrl-O\"     : \"list-ol\",\n        \"Shift-Ctrl-P\"     : \"preformatted-text\",\n        \"Shift-Ctrl-T\"     : \"table\",\n        \"Shift-Alt-P\"      : \"pagebreak\",\n        \"F9\"               : \"watch\",\n        \"F10\"              : \"preview\",\n        \"F11\"              : \"fullscreen\",\n    };\n    \n    /**\n     * 清除字符串两边的空格\n     * Clear the space of strings both sides.\n     * \n     * @param   {String}    str            string\n     * @returns {String}                   trimed string    \n     */\n    \n    var trim = function(str) {\n        return (!String.prototype.trim) ? str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, \"\") : str.trim();\n    };\n    \n    editormd.trim = trim;\n    \n    /**\n     * 所有单词首字母大写\n     * Words first to uppercase\n     * \n     * @param   {String}    str            string\n     * @returns {String}                   string\n     */\n    \n    var ucwords = function (str) {\n        return str.toLowerCase().replace(/\\b(\\w)|\\s(\\w)/g, function($1) {  \n            return $1.toUpperCase();\n        });\n    };\n    \n    editormd.ucwords = editormd.wordsFirstUpperCase = ucwords;\n    \n    /**\n     * 字符串首字母大写\n     * Only string first char to uppercase\n     * \n     * @param   {String}    str            string\n     * @returns {String}                   string\n     */\n    \n    var firstUpperCase = function(str) {        \n        return str.toLowerCase().replace(/\\b(\\w)/, function($1){\n            return $1.toUpperCase();\n        });\n    };\n    \n    var ucfirst = firstUpperCase;\n    \n    editormd.firstUpperCase = editormd.ucfirst = firstUpperCase;\n    \n    editormd.urls = {\n        atLinkBase : \"https://github.com/\"\n    };\n    \n    editormd.regexs = {\n        atLink        : /@(\\w+)/g,\n        email         : /(\\w+)@(\\w+)\\.(\\w+)\\.?(\\w+)?/g,\n        emailLink     : /(mailto:)?([\\w\\.\\_]+)@(\\w+)\\.(\\w+)\\.?(\\w+)?/g,\n        emoji         : /:([\\w\\+-]+):/g,\n        emojiDatetime : /(\\d{2}:\\d{2}:\\d{2})/g,\n        twemoji       : /:(tw-([\\w]+)-?(\\w+)?):/g,\n        fontAwesome   : /:(fa-([\\w]+)(-(\\w+)){0,}):/g,\n        editormdLogo  : /:(editormd-logo-?(\\w+)?):/g,\n        pageBreak     : /^\\[[=]{8,}\\]$/\n    };\n\n    // Emoji graphics files url path\n    editormd.emoji     = {\n        path  : \"http://www.emoji-cheat-sheet.com/graphics/emojis/\",\n        ext   : \".png\"\n    };\n\n    // Twitter Emoji (Twemoji)  graphics files url path    \n    editormd.twemoji = {\n        path : \"http://twemoji.maxcdn.com/36x36/\",\n        ext  : \".png\"\n    };\n\n    /**\n     * 自定义marked的解析器\n     * Custom Marked renderer rules\n     * \n     * @param   {Array}    markdownToC     传入用于接收TOC的数组\n     * @returns {Renderer} markedRenderer  返回marked的Renderer自定义对象\n     */\n\n    editormd.markedRenderer = function(markdownToC, options) {\n        var defaults = {\n            toc                  : true,           // Table of contents\n            tocm                 : false,\n            tocStartLevel        : 1,              // Said from H1 to create ToC  \n            pageBreak            : true,\n            atLink               : true,           // for @link\n            emailLink            : true,           // for mail address auto link\n            taskList             : false,          // Enable Github Flavored Markdown task lists\n            emoji                : false,          // :emoji: , Support Twemoji, fontAwesome, Editor.md logo emojis.\n            tex                  : false,          // TeX(LaTeX), based on KaTeX\n            flowChart            : false,          // flowChart.js only support IE9+\n            sequenceDiagram      : false,          // sequenceDiagram.js only support IE9+\n        };\n        \n        var settings        = $.extend(defaults, options || {});    \n        var marked          = editormd.$marked;\n        var markedRenderer  = new marked.Renderer();\n        markdownToC         = markdownToC || [];        \n            \n        var regexs          = editormd.regexs;\n        var atLinkReg       = regexs.atLink;\n        var emojiReg        = regexs.emoji;\n        var emailReg        = regexs.email;\n        var emailLinkReg    = regexs.emailLink;\n        var twemojiReg      = regexs.twemoji;\n        var faIconReg       = regexs.fontAwesome;\n        var editormdLogoReg = regexs.editormdLogo;\n        var pageBreakReg    = regexs.pageBreak;\n\n        markedRenderer.emoji = function(text) {\n            \n            text = text.replace(editormd.regexs.emojiDatetime, function($1) {           \n                return $1.replace(/:/g, \"&#58;\");\n            });\n            \n            var matchs = text.match(emojiReg);\n\n            if (!matchs || !settings.emoji) {\n                return text;\n            }\n\n            for (var i = 0, len = matchs.length; i < len; i++)\n            {            \n                if (matchs[i] === \":+1:\") {\n                    matchs[i] = \":\\\\+1:\";\n                }\n\n                text = text.replace(new RegExp(matchs[i]), function($1, $2){\n                    var faMatchs = $1.match(faIconReg);\n                    var name     = $1.replace(/:/g, \"\");\n\n                    if (faMatchs)\n                    {                        \n                        for (var fa = 0, len1 = faMatchs.length; fa < len1; fa++)\n                        {\n                            var faName = faMatchs[fa].replace(/:/g, \"\");\n                            \n                            return \"<i class=\\\"fa \" + faName + \" fa-emoji\\\" title=\\\"\" + faName.replace(\"fa-\", \"\") + \"\\\"></i>\";\n                        }\n                    }\n                    else\n                    {\n                        var emdlogoMathcs = $1.match(editormdLogoReg);\n                        var twemojiMatchs = $1.match(twemojiReg);\n\n                        if (emdlogoMathcs)                                        \n                        {                            \n                            for (var x = 0, len2 = emdlogoMathcs.length; x < len2; x++)\n                            {\n                                var logoName = emdlogoMathcs[x].replace(/:/g, \"\");\n                                return \"<i class=\\\"\" + logoName + \"\\\" title=\\\"Editor.md logo (\" + logoName + \")\\\"></i>\";\n                            }\n                        }\n                        else if (twemojiMatchs) \n                        {\n                            for (var t = 0, len3 = twemojiMatchs.length; t < len3; t++)\n                            {\n                                var twe = twemojiMatchs[t].replace(/:/g, \"\").replace(\"tw-\", \"\");\n                                return \"<img src=\\\"\" + editormd.twemoji.path + twe + editormd.twemoji.ext + \"\\\" title=\\\"twemoji-\" + twe + \"\\\" alt=\\\"twemoji-\" + twe + \"\\\" class=\\\"emoji twemoji\\\" />\";\n                            }\n                        }\n                        else\n                        {\n                            var src = (name === \"+1\") ? \"plus1\" : name;\n                            src     = (src === \"black_large_square\") ? \"black_square\" : src;\n                            src     = (src === \"moon\") ? \"waxing_gibbous_moon\" : src;\n\n                            return \"<img src=\\\"\" + editormd.emoji.path + src + editormd.emoji.ext + \"\\\" class=\\\"emoji\\\" title=\\\"&#58;\" + name + \"&#58;\\\" alt=\\\"&#58;\" + name + \"&#58;\\\" />\";\n                        }\n                    }\n                });\n            }\n\n            return text;\n        };\n\n        markedRenderer.atLink = function(text) {\n\n            if (atLinkReg.test(text))\n            { \n                if (settings.atLink) \n                {\n                    text = text.replace(emailReg, function($1, $2, $3, $4) {\n                        return $1.replace(/@/g, \"_#_&#64;_#_\");\n                    });\n\n                    text = text.replace(atLinkReg, function($1, $2) {\n                        return \"<a href=\\\"\" + editormd.urls.atLinkBase + \"\" + $2 + \"\\\" title=\\\"&#64;\" + $2 + \"\\\" class=\\\"at-link\\\">\" + $1 + \"</a>\";\n                    }).replace(/_#_&#64;_#_/g, \"@\");\n                }\n                \n                if (settings.emailLink)\n                {\n                    text = text.replace(emailLinkReg, function($1, $2, $3, $4, $5) {\n                        return (!$2 && $.inArray($5, \"jpg|jpeg|png|gif|webp|ico|icon|pdf\".split(\"|\")) < 0) ? \"<a href=\\\"mailto:\" + $1 + \"\\\">\"+$1+\"</a>\" : $1;\n                    });\n                }\n\n                return text;\n            }\n\n            return text;\n        };\n                \n        markedRenderer.link = function (href, title, text) {\n\n            if (this.options.sanitize) {\n                try {\n                    var prot = decodeURIComponent(unescape(href)).replace(/[^\\w:]/g,\"\").toLowerCase();\n                } catch(e) {\n                    return \"\";\n                }\n\n                if (prot.indexOf(\"javascript:\") === 0) {\n                    return \"\";\n                }\n            }\n\n            var out = \"<a href=\\\"\" + href + \"\\\"\";\n            \n            if (atLinkReg.test(title) || atLinkReg.test(text))\n            {\n                if (title)\n                {\n                    out += \" title=\\\"\" + title.replace(/@/g, \"&#64;\");\n                }\n                \n                return out + \"\\\">\" + text.replace(/@/g, \"&#64;\") + \"</a>\";\n            }\n\n            if (title) {\n                out += \" title=\\\"\" + title + \"\\\"\";\n            }\n\n            out += \">\" + text + \"</a>\";\n\n            return out;\n        };\n        \n        markedRenderer.heading = function(text, level, raw) {\n                    \n            var linkText       = text;\n            var hasLinkReg     = /\\s*\\<a\\s*href\\=\\\"(.*)\\\"\\s*([^\\>]*)\\>(.*)\\<\\/a\\>\\s*/;\n            var getLinkTextReg = /\\s*\\<a\\s*([^\\>]+)\\>([^\\>]*)\\<\\/a\\>\\s*/g;\n\n            if (hasLinkReg.test(text)) \n            {\n                var tempText = [];\n                text         = text.split(/\\<a\\s*([^\\>]+)\\>([^\\>]*)\\<\\/a\\>/);\n\n                for (var i = 0, len = text.length; i < len; i++)\n                {\n                    tempText.push(text[i].replace(/\\s*href\\=\\\"(.*)\\\"\\s*/g, \"\"));\n                }\n\n                text = tempText.join(\" \");\n            }\n            \n            text = trim(text);\n            \n            var escapedText    = text.toLowerCase().replace(/[^\\w]+/g, \"-\");\n            var toc = {\n                text  : text,\n                level : level,\n                slug  : escapedText\n            };\n            \n            var isChinese = /^[\\u4e00-\\u9fa5]+$/.test(text);\n            var id        = (isChinese) ? escape(text).replace(/\\%/g, \"\") : text.toLowerCase().replace(/[^\\w]+/g, \"-\");\n\n            markdownToC.push(toc);\n            \n            var headingHTML = \"<h\" + level + \" id=\\\"h\"+ level + \"-\" + this.options.headerPrefix + id +\"\\\">\";\n            \n            headingHTML    += \"<a name=\\\"\" + text + \"\\\" class=\\\"reference-link\\\"></a>\";\n            headingHTML    += \"<span class=\\\"header-link octicon octicon-link\\\"></span>\";\n            headingHTML    += (hasLinkReg) ? this.atLink(this.emoji(linkText)) : this.atLink(this.emoji(text));\n            headingHTML    += \"</h\" + level + \">\";\n\n            return headingHTML;\n        };\n        \n        markedRenderer.pageBreak = function(text) {\n            if (pageBreakReg.test(text) && settings.pageBreak)\n            {\n                text = \"<hr style=\\\"page-break-after:always;\\\" class=\\\"page-break editormd-page-break\\\" />\";\n            }\n            \n            return text;\n        };\n\n        markedRenderer.paragraph = function(text) {\n            var isTeXInline     = /\\$\\$(.*)\\$\\$/g.test(text);\n            var isTeXLine       = /^\\$\\$(.*)\\$\\$$/.test(text);\n            var isTeXAddClass   = (isTeXLine)     ? \" class=\\\"\" + editormd.classNames.tex + \"\\\"\" : \"\";\n            var isToC           = (settings.tocm) ? /^(\\[TOC\\]|\\[TOCM\\])$/.test(text) : /^\\[TOC\\]$/.test(text);\n            var isToCMenu       = /^\\[TOCM\\]$/.test(text);\n            \n            if (!isTeXLine && isTeXInline) \n            {\n                text = text.replace(/(\\$\\$([^\\$]*)\\$\\$)+/g, function($1, $2) {\n                    return \"<span class=\\\"\" + editormd.classNames.tex + \"\\\">\" + $2.replace(/\\$/g, \"\") + \"</span>\";\n                });\n            } \n            else \n            {\n                text = (isTeXLine) ? text.replace(/\\$/g, \"\") : text;\n            }\n            \n            var tocHTML = \"<div class=\\\"markdown-toc editormd-markdown-toc\\\">\" + text + \"</div>\";\n            \n            return (isToC) ? ( (isToCMenu) ? \"<div class=\\\"editormd-toc-menu\\\">\" + tocHTML + \"</div><br/>\" : tocHTML )\n                           : ( (pageBreakReg.test(text)) ? this.pageBreak(text) : \"<p\" + isTeXAddClass + \">\" + this.atLink(this.emoji(text)) + \"</p>\\n\" );\n        };\n\n        markedRenderer.code = function (code, lang, escaped) { \n\n            if (lang === \"seq\" || lang === \"sequence\")\n            {\n                return \"<div class=\\\"sequence-diagram\\\">\" + code + \"</div>\";\n            } \n            else if ( lang === \"flow\")\n            {\n                return \"<div class=\\\"flowchart\\\">\" + code + \"</div>\";\n            } \n            else if ( lang === \"math\" || lang === \"latex\" || lang === \"katex\")\n            {\n                return \"<p class=\\\"\" + editormd.classNames.tex + \"\\\">\" + code + \"</p>\";\n            } \n            else \n            {\n\n                return marked.Renderer.prototype.code.apply(this, arguments);\n            }\n        };\n\n        markedRenderer.tablecell = function(content, flags) {\n            var type = (flags.header) ? \"th\" : \"td\";\n            var tag  = (flags.align)  ? \"<\" + type +\" style=\\\"text-align:\" + flags.align + \"\\\">\" : \"<\" + type + \">\";\n            \n            return tag + this.atLink(this.emoji(content)) + \"</\" + type + \">\\n\";\n        };\n\n        markedRenderer.listitem = function(text) {\n            if (settings.taskList && /^\\s*\\[[x\\s]\\]\\s*/.test(text)) \n            {\n                text = text.replace(/^\\s*\\[\\s\\]\\s*/, \"<input type=\\\"checkbox\\\" class=\\\"task-list-item-checkbox\\\" /> \")\n                           .replace(/^\\s*\\[x\\]\\s*/,  \"<input type=\\\"checkbox\\\" class=\\\"task-list-item-checkbox\\\" checked disabled /> \");\n\n                return \"<li style=\\\"list-style: none;\\\">\" + this.atLink(this.emoji(text)) + \"</li>\";\n            }\n            else \n            {\n                return \"<li>\" + this.atLink(this.emoji(text)) + \"</li>\";\n            }\n        };\n        \n        return markedRenderer;\n    };\n    \n    /**\n     *\n     * 生成TOC(Table of Contents)\n     * Creating ToC (Table of Contents)\n     * \n     * @param   {Array}    toc             从marked获取的TOC数组列表\n     * @param   {Element}  container       插入TOC的容器元素\n     * @param   {Integer}  startLevel      Hx 起始层级\n     * @returns {Object}   tocContainer    返回ToC列表容器层的jQuery对象元素\n     */\n    \n    editormd.markdownToCRenderer = function(toc, container, tocDropdown, startLevel) {\n        \n        var html        = \"\";    \n        var lastLevel   = 0;\n        var classPrefix = this.classPrefix;\n        \n        startLevel      = startLevel  || 1;\n        \n        for (var i = 0, len = toc.length; i < len; i++) \n        {\n            var text  = toc[i].text;\n            var level = toc[i].level;\n            \n            if (level < startLevel) {\n                continue;\n            }\n            \n            if (level > lastLevel) \n            {\n                html += \"\";\n            }\n            else if (level < lastLevel) \n            {\n                html += (new Array(lastLevel - level + 2)).join(\"</ul></li>\");\n            } \n            else \n            {\n                html += \"</ul></li>\";\n            }\n\n            html += \"<li><a class=\\\"toc-level-\" + level + \"\\\" href=\\\"#\" + text + \"\\\" level=\\\"\" + level + \"\\\">\" + text + \"</a><ul>\";\n            lastLevel = level;\n        }\n        \n        var tocContainer = container.find(\".markdown-toc\");\n        \n        if ((tocContainer.length < 1 && container.attr(\"previewContainer\") === \"false\"))\n        {\n            var tocHTML = \"<div class=\\\"markdown-toc \" + classPrefix + \"markdown-toc\\\"></div>\";\n            \n            tocHTML = (tocDropdown) ? \"<div class=\\\"\" + classPrefix + \"toc-menu\\\">\" + tocHTML + \"</div>\" : tocHTML;\n            \n            container.html(tocHTML);\n            \n            tocContainer = container.find(\".markdown-toc\");\n        }\n        \n        if (tocDropdown)\n        {\n            tocContainer.wrap(\"<div class=\\\"\" + classPrefix + \"toc-menu\\\"></div><br/>\");\n        }\n        \n        tocContainer.html(\"<ul class=\\\"markdown-toc-list\\\"></ul>\").children(\".markdown-toc-list\").html(html.replace(/\\r?\\n?\\<ul\\>\\<\\/ul\\>/g, \"\"));\n        \n        return tocContainer;\n    };\n    \n    /**\n     *\n     * 生成TOC下拉菜单\n     * Creating ToC dropdown menu\n     * \n     * @param   {Object}   container       插入TOC的容器jQuery对象元素\n     * @param   {String}   tocTitle        ToC title\n     * @returns {Object}                   return toc-menu object\n     */\n    \n    editormd.tocDropdownMenu = function(container, tocTitle) {\n        \n        tocTitle      = tocTitle || \"Table of Contents\";\n        \n        var zindex    = 400;\n        var tocMenus  = container.find(\".\" + this.classPrefix + \"toc-menu\");\n\n        tocMenus.each(function() {\n            var $this  = $(this);\n            var toc    = $this.children(\".markdown-toc\");\n            var icon   = \"<i class=\\\"fa fa-angle-down\\\"></i>\";\n            var btn    = \"<a href=\\\"javascript:;\\\" class=\\\"toc-menu-btn\\\">\" + icon + tocTitle + \"</a>\";\n            var menu   = toc.children(\"ul\");            \n            var list   = menu.find(\"li\");\n            \n            toc.append(btn);\n            \n            list.first().before(\"<li><h1>\" + tocTitle + \" \" + icon + \"</h1></li>\");\n            \n            $this.mouseover(function(){\n                menu.show();\n\n                list.each(function(){\n                    var li = $(this);\n                    var ul = li.children(\"ul\");\n\n                    if (ul.html() === \"\")\n                    {\n                        ul.remove();\n                    }\n\n                    if (ul.length > 0 && ul.html() !== \"\")\n                    {\n                        var firstA = li.children(\"a\").first();\n\n                        if (firstA.children(\".fa\").length < 1)\n                        {\n                            firstA.append( $(icon).css({ float:\"right\", paddingTop:\"4px\" }) );\n                        }\n                    }\n\n                    li.mouseover(function(){\n                        ul.css(\"z-index\", zindex).show();\n                        zindex += 1;\n                    }).mouseleave(function(){\n                        ul.hide();\n                    });\n                });\n            }).mouseleave(function(){\n                menu.hide();\n            }); \n        });       \n        \n        return tocMenus;\n    };\n    \n    /**\n     * 简单地过滤指定的HTML标签\n     * Filter custom html tags\n     * \n     * @param   {String}   html          要过滤HTML\n     * @param   {String}   filters       要过滤的标签\n     * @returns {String}   html          返回过滤的HTML\n     */\n    \n    editormd.filterHTMLTags = function(html, filters) {\n        \n        if (typeof html !== \"string\") {\n            html = new String(html);\n        }\n            \n        if (typeof filters !== \"string\") {\n            return html;\n        }\n\n        var expression = filters.split(\"|\");\n        var filterTags = expression[0].split(\",\");\n        var attrs      = expression[1];\n\n        for (var i = 0, len = filterTags.length; i < len; i++)\n        {\n            var tag = filterTags[i];\n\n            html = html.replace(new RegExp(\"\\<\\s*\" + tag + \"\\s*([^\\>]*)\\>([^\\>]*)\\<\\s*\\/\" + tag + \"\\s*\\>\", \"igm\"), \"\");\n        }\n        \n        //return html;\n\n        if (typeof attrs !== \"undefined\")\n        {\n            var htmlTagRegex = /\\<(\\w+)\\s*([^\\>]*)\\>([^\\>]*)\\<\\/(\\w+)\\>/ig;\n\n            if (attrs === \"*\")\n            {\n                html = html.replace(htmlTagRegex, function($1, $2, $3, $4, $5) {\n                    return \"<\" + $2 + \">\" + $4 + \"</\" + $5 + \">\";\n                });         \n            }\n            else if (attrs === \"on*\")\n            {\n                html = html.replace(htmlTagRegex, function($1, $2, $3, $4, $5) {\n                    var el = $(\"<\" + $2 + \">\" + $4 + \"</\" + $5 + \">\");\n                    var _attrs = $($1)[0].attributes;\n                    var $attrs = {};\n                    \n                    $.each(_attrs, function(i, e) {\n                        if (e.nodeName !== '\"') $attrs[e.nodeName] = e.nodeValue;\n                    });\n                    \n                    $.each($attrs, function(i) {                        \n                        if (i.indexOf(\"on\") === 0) {\n                            delete $attrs[i];\n                        }\n                    });\n                    \n                    el.attr($attrs);\n                    \n                    var text = (typeof el[1] !== \"undefined\") ? $(el[1]).text() : \"\";\n\n                    return el[0].outerHTML + text;\n                });\n            }\n            else\n            {\n                html = html.replace(htmlTagRegex, function($1, $2, $3, $4) {\n                    var filterAttrs = attrs.split(\",\");\n                    var el = $($1);\n                    el.html($4);\n\n                    $.each(filterAttrs, function(i) {\n                        el.attr(filterAttrs[i], null);\n                    });\n\n                    return el[0].outerHTML;\n                });\n            }\n        }\n        \n        return html;\n    };\n    \n    /**\n     * 将Markdown文档解析为HTML用于前台显示\n     * Parse Markdown to HTML for Font-end preview.\n     * \n     * @param   {String}   id            用于显示HTML的对象ID\n     * @param   {Object}   [options={}]  配置选项，可选\n     * @returns {Object}   div           返回jQuery对象元素\n     */\n    \n    editormd.markdownToHTML = function(id, options) {\n        var defaults = {\n            gfm                  : true,\n            toc                  : true,\n            tocm                 : false,\n            tocStartLevel        : 1,\n            tocTitle             : \"目录\",\n            tocDropdown          : false,\n            tocContainer         : \"\",\n            markdown             : \"\",\n            markdownSourceCode   : false,\n            htmlDecode           : false,\n            autoLoadKaTeX        : true,\n            pageBreak            : true,\n            atLink               : true,    // for @link\n            emailLink            : true,    // for mail address auto link\n            tex                  : false,\n            taskList             : false,   // Github Flavored Markdown task lists\n            emoji                : false,\n            flowChart            : false,\n            sequenceDiagram      : false,\n            previewCodeHighlight : true\n        };\n        \n        editormd.$marked  = marked;\n\n        var div           = $(\"#\" + id);\n        var settings      = div.settings = $.extend(true, defaults, options || {});\n        var saveTo        = div.find(\"textarea\");\n        \n        if (saveTo.length < 1)\n        {\n            div.append(\"<textarea></textarea>\");\n            saveTo        = div.find(\"textarea\");\n        }        \n        \n        var markdownDoc   = (settings.markdown === \"\") ? saveTo.val() : settings.markdown; \n        var markdownToC   = [];\n\n        var rendererOptions = {  \n            toc                  : settings.toc,\n            tocm                 : settings.tocm,\n            tocStartLevel        : settings.tocStartLevel,\n            taskList             : settings.taskList,\n            emoji                : settings.emoji,\n            tex                  : settings.tex,\n            pageBreak            : settings.pageBreak,\n            atLink               : settings.atLink,           // for @link\n            emailLink            : settings.emailLink,        // for mail address auto link\n            flowChart            : settings.flowChart,\n            sequenceDiagram      : settings.sequenceDiagram,\n            previewCodeHighlight : settings.previewCodeHighlight,\n        };\n\n        var markedOptions = {\n            renderer    : editormd.markedRenderer(markdownToC, rendererOptions),\n            gfm         : settings.gfm,\n            tables      : true,\n            breaks      : true,\n            pedantic    : false,\n            sanitize    : (settings.htmlDecode) ? false : true, // 是否忽略HTML标签，即是否开启HTML标签解析，为了安全性，默认不开启\n            smartLists  : true,\n            smartypants : true\n        };\n        \n\t\tmarkdownDoc = new String(markdownDoc);\n        \n        var markdownParsed = marked(markdownDoc, markedOptions);\n        \n        markdownParsed = editormd.filterHTMLTags(markdownParsed, settings.htmlDecode);\n        \n        if (settings.markdownSourceCode) {\n            saveTo.text(markdownDoc);\n        } else {\n            saveTo.remove();\n        }\n        \n        div.addClass(\"markdown-body \" + this.classPrefix + \"html-preview\").append(markdownParsed);\n        \n        var tocContainer = (settings.tocContainer !== \"\") ? $(settings.tocContainer) : div;\n        \n        if (settings.tocContainer !== \"\")\n        {\n            tocContainer.attr(\"previewContainer\", false);\n        }\n         \n        if (settings.toc) \n        {\n            div.tocContainer = this.markdownToCRenderer(markdownToC, tocContainer, settings.tocDropdown, settings.tocStartLevel);\n            \n            if (settings.tocDropdown || div.find(\".\" + this.classPrefix + \"toc-menu\").length > 0)\n            {\n                this.tocDropdownMenu(div, settings.tocTitle);\n            }\n            \n            if (settings.tocContainer !== \"\")\n            {\n                div.find(\".editormd-toc-menu, .editormd-markdown-toc\").remove();\n            }\n        }\n            \n        if (settings.previewCodeHighlight) \n        {\n            div.find(\"pre\").addClass(\"prettyprint linenums\");\n            prettyPrint();\n        }\n        \n        if (!editormd.isIE8) \n        {\n            if (settings.flowChart) {\n                div.find(\".flowchart\").flowChart(); \n            }\n\n            if (settings.sequenceDiagram) {\n                div.find(\".sequence-diagram\").sequenceDiagram({theme: \"simple\"});\n            }\n        }\n\n        if (settings.tex)\n        {\n            var katexHandle = function() {\n                div.find(\".\" + editormd.classNames.tex).each(function(){\n                    var tex  = $(this);                    \n                    katex.render(tex.html().replace(/&lt;/g, \"<\").replace(/&gt;/g, \">\"), tex[0]);                    \n                    tex.find(\".katex\").css(\"font-size\", \"1.6em\");\n                });\n            };\n            \n            if (settings.autoLoadKaTeX && !editormd.$katex && !editormd.kaTeXLoaded)\n            {\n                this.loadKaTeX(function() {\n                    editormd.$katex      = katex;\n                    editormd.kaTeXLoaded = true;\n                    katexHandle();\n                });\n            }\n            else\n            {\n                katexHandle();\n            }\n        }\n        \n        div.getMarkdown = function() {            \n            return saveTo.val();\n        };\n        \n        return div;\n    };\n    \n    // Editor.md themes, change toolbar themes etc.\n    // added @1.5.0\n    editormd.themes        = [\"default\", \"dark\"];\n    \n    // Preview area themes\n    // added @1.5.0\n    editormd.previewThemes = [\"default\", \"dark\"];\n    \n    // CodeMirror / editor area themes\n    // @1.5.0 rename -> editorThemes, old version -> themes\n    editormd.editorThemes = [\n        \"default\", \"3024-day\", \"3024-night\",\n        \"ambiance\", \"ambiance-mobile\",\n        \"base16-dark\", \"base16-light\", \"blackboard\",\n        \"cobalt\",\n        \"eclipse\", \"elegant\", \"erlang-dark\",\n        \"lesser-dark\",\n        \"mbo\", \"mdn-like\", \"midnight\", \"monokai\",\n        \"neat\", \"neo\", \"night\",\n        \"paraiso-dark\", \"paraiso-light\", \"pastel-on-dark\",\n        \"rubyblue\",\n        \"solarized\",\n        \"the-matrix\", \"tomorrow-night-eighties\", \"twilight\",\n        \"vibrant-ink\",\n        \"xq-dark\", \"xq-light\"\n    ];\n\n    editormd.loadPlugins = {};\n    \n    editormd.loadFiles = {\n        js     : [],\n        css    : [],\n        plugin : []\n    };\n    \n    /**\n     * 动态加载Editor.md插件，但不立即执行\n     * Load editor.md plugins\n     * \n     * @param {String}   fileName              插件文件路径\n     * @param {Function} [callback=function()] 加载成功后执行的回调函数\n     * @param {String}   [into=\"head\"]         嵌入页面的位置\n     */\n    \n    editormd.loadPlugin = function(fileName, callback, into) {\n        callback   = callback || function() {};\n        \n        this.loadScript(fileName, function() {\n            editormd.loadFiles.plugin.push(fileName);\n            callback();\n        }, into);\n    };\n    \n    /**\n     * 动态加载CSS文件的方法\n     * Load css file method\n     * \n     * @param {String}   fileName              CSS文件名\n     * @param {Function} [callback=function()] 加载成功后执行的回调函数\n     * @param {String}   [into=\"head\"]         嵌入页面的位置\n     */\n    \n    editormd.loadCSS   = function(fileName, callback, into) {\n        into       = into     || \"head\";        \n        callback   = callback || function() {};\n        \n        var css    = document.createElement(\"link\");\n        css.type   = \"text/css\";\n        css.rel    = \"stylesheet\";\n        css.onload = css.onreadystatechange = function() {\n            editormd.loadFiles.css.push(fileName);\n            callback();\n        };\n\n        css.href   = fileName + \".css\";\n\n        if(into === \"head\") {\n            document.getElementsByTagName(\"head\")[0].appendChild(css);\n        } else {\n            document.body.appendChild(css);\n        }\n    };\n    \n    editormd.isIE    = (navigator.appName == \"Microsoft Internet Explorer\");\n    editormd.isIE8   = (editormd.isIE && navigator.appVersion.match(/8./i) == \"8.\");\n\n    /**\n     * 动态加载JS文件的方法\n     * Load javascript file method\n     * \n     * @param {String}   fileName              JS文件名\n     * @param {Function} [callback=function()] 加载成功后执行的回调函数\n     * @param {String}   [into=\"head\"]         嵌入页面的位置\n     */\n\n    editormd.loadScript = function(fileName, callback, into) {\n        \n        into          = into     || \"head\";\n        callback      = callback || function() {};\n        \n        var script    = null; \n        script        = document.createElement(\"script\");\n        script.id     = fileName.replace(/[\\./]+/g, \"-\");\n        script.type   = \"text/javascript\";        \n        script.src    = fileName + \".js\";\n        \n        if (editormd.isIE8) \n        {            \n            script.onreadystatechange = function() {\n                if(script.readyState) \n                {\n                    if (script.readyState === \"loaded\" || script.readyState === \"complete\") \n                    {\n                        script.onreadystatechange = null; \n                        editormd.loadFiles.js.push(fileName);\n                        callback();\n                    }\n                } \n            };\n        }\n        else\n        {\n            script.onload = function() {\n                editormd.loadFiles.js.push(fileName);\n                callback();\n            };\n        }\n\n        if (into === \"head\") {\n            document.getElementsByTagName(\"head\")[0].appendChild(script);\n        } else {\n            document.body.appendChild(script);\n        }\n    };\n    \n    // 使用国外的CDN，加载速度有时会很慢，或者自定义URL\n    // You can custom KaTeX load url.\n    editormd.katexURL  = {\n        css : \"//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/katex.min\",\n        js  : \"//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/katex.min\"\n    };\n    \n    editormd.kaTeXLoaded = false;\n    \n    /**\n     * 加载KaTeX文件\n     * load KaTeX files\n     * \n     * @param {Function} [callback=function()]  加载成功后执行的回调函数\n     */\n    \n    editormd.loadKaTeX = function (callback) {\n        editormd.loadCSS(editormd.katexURL.css, function(){\n            editormd.loadScript(editormd.katexURL.js, callback || function(){});\n        });\n    };\n        \n    /**\n     * 锁屏\n     * lock screen\n     * \n     * @param   {Boolean}   lock   Boolean 布尔值，是否锁屏\n     * @returns {void}\n     */\n    \n    editormd.lockScreen = function(lock) {\n        $(\"html,body\").css(\"overflow\", (lock) ? \"hidden\" : \"\");\n    };\n        \n    /**\n     * 动态创建对话框\n     * Creating custom dialogs\n     * \n     * @param   {Object} options 配置项键值对 Key/Value\n     * @returns {dialog} 返回创建的dialog的jQuery实例对象\n     */\n\n    editormd.createDialog = function(options) {\n        var defaults = {\n            name : \"\",\n            width : 420,\n            height: 240,\n            title : \"\",\n            drag  : true,\n            closed : true,\n            content : \"\",\n            mask : true,\n            maskStyle : {\n                backgroundColor : \"#fff\",\n                opacity : 0.1\n            },\n            lockScreen : true,\n            footer : true,\n            buttons : false\n        };\n\n        options          = $.extend(true, defaults, options);\n        \n        var $this        = this;\n        var editor       = this.editor;\n        var classPrefix  = editormd.classPrefix;\n        var guid         = (new Date()).getTime();\n        var dialogName   = ( (options.name === \"\") ? classPrefix + \"dialog-\" + guid : options.name);\n        var mouseOrTouch = editormd.mouseOrTouch;\n\n        var html         = \"<div class=\\\"\" + classPrefix + \"dialog \" + dialogName + \"\\\">\";\n\n        if (options.title !== \"\")\n        {\n            html += \"<div class=\\\"\" + classPrefix + \"dialog-header\\\"\" + ( (options.drag) ? \" style=\\\"cursor: move;\\\"\" : \"\" ) + \">\";\n            html += \"<strong class=\\\"\" + classPrefix + \"dialog-title\\\">\" + options.title + \"</strong>\";\n            html += \"</div>\";\n        }\n\n        if (options.closed)\n        {\n            html += \"<a href=\\\"javascript:;\\\" class=\\\"fa fa-close \" + classPrefix + \"dialog-close\\\"></a>\";\n        }\n\n        html += \"<div class=\\\"\" + classPrefix + \"dialog-container\\\">\" + options.content;                    \n\n        if (options.footer || typeof options.footer === \"string\") \n        {\n            html += \"<div class=\\\"\" + classPrefix + \"dialog-footer\\\">\" + ( (typeof options.footer === \"boolean\") ? \"\" : options.footer) + \"</div>\";\n        }\n\n        html += \"</div>\";\n\n        html += \"<div class=\\\"\" + classPrefix + \"dialog-mask \" + classPrefix + \"dialog-mask-bg\\\"></div>\";\n        html += \"<div class=\\\"\" + classPrefix + \"dialog-mask \" + classPrefix + \"dialog-mask-con\\\"></div>\";\n        html += \"</div>\";\n\n        editor.append(html);\n\n        var dialog = editor.find(\".\" + dialogName);\n\n        dialog.lockScreen = function(lock) {\n            if (options.lockScreen)\n            {                \n                $(\"html,body\").css(\"overflow\", (lock) ? \"hidden\" : \"\");\n                $this.resize();\n            }\n\n            return dialog;\n        };\n\n        dialog.showMask = function() {\n            if (options.mask)\n            {\n                editor.find(\".\" + classPrefix + \"mask\").css(options.maskStyle).css(\"z-index\", editormd.dialogZindex - 1).show();\n            }\n            return dialog;\n        };\n\n        dialog.hideMask = function() {\n            if (options.mask)\n            {\n                editor.find(\".\" + classPrefix + \"mask\").hide();\n            }\n\n            return dialog;\n        };\n\n        dialog.loading = function(show) {                        \n            var loading = dialog.find(\".\" + classPrefix + \"dialog-mask\");\n            loading[(show) ? \"show\" : \"hide\"]();\n\n            return dialog;\n        };\n\n        dialog.lockScreen(true).showMask();\n\n        dialog.show().css({\n            zIndex : editormd.dialogZindex,\n            border : (editormd.isIE8) ? \"1px solid #ddd\" : \"\",\n            width  : (typeof options.width  === \"number\") ? options.width + \"px\"  : options.width,\n            height : (typeof options.height === \"number\") ? options.height + \"px\" : options.height\n        });\n\n        var dialogPosition = function(){\n            dialog.css({\n                top    : ($(window).height() - dialog.height()) / 2 + \"px\",\n                left   : ($(window).width() - dialog.width()) / 2 + \"px\"\n            });\n        };\n\n        dialogPosition();\n\n        $(window).resize(dialogPosition);\n\n        dialog.children(\".\" + classPrefix + \"dialog-close\").bind(mouseOrTouch(\"click\", \"touchend\"), function() {\n            dialog.hide().lockScreen(false).hideMask();\n        });\n\n        if (typeof options.buttons === \"object\")\n        {\n            var footer = dialog.footer = dialog.find(\".\" + classPrefix + \"dialog-footer\");\n\n            for (var key in options.buttons)\n            {\n                var btn = options.buttons[key];\n                var btnClassName = classPrefix + key + \"-btn\";\n\n                footer.append(\"<button class=\\\"\" + classPrefix + \"btn \" + btnClassName + \"\\\">\" + btn[0] + \"</button>\");\n                btn[1] = $.proxy(btn[1], dialog);\n                footer.children(\".\" + btnClassName).bind(mouseOrTouch(\"click\", \"touchend\"), btn[1]);\n            }\n        }\n\n        if (options.title !== \"\" && options.drag)\n        {                        \n            var posX, posY;\n            var dialogHeader = dialog.children(\".\" + classPrefix + \"dialog-header\");\n\n            if (!options.mask) {\n                dialogHeader.bind(mouseOrTouch(\"click\", \"touchend\"), function(){\n                    editormd.dialogZindex += 2;\n                    dialog.css(\"z-index\", editormd.dialogZindex);\n                });\n            }\n\n            dialogHeader.mousedown(function(e) {\n                e = e || window.event;  //IE\n                posX = e.clientX - parseInt(dialog[0].style.left);\n                posY = e.clientY - parseInt(dialog[0].style.top);\n\n                document.onmousemove = moveAction;                   \n            });\n\n            var userCanSelect = function (obj) {\n                obj.removeClass(classPrefix + \"user-unselect\").off(\"selectstart\");\n            };\n\n            var userUnselect = function (obj) {\n                obj.addClass(classPrefix + \"user-unselect\").on(\"selectstart\", function(event) { // selectstart for IE                        \n                    return false;\n                });\n            };\n\n            var moveAction = function (e) {\n                e = e || window.event;  //IE\n\n                var left, top, nowLeft = parseInt(dialog[0].style.left), nowTop = parseInt(dialog[0].style.top);\n\n                if( nowLeft >= 0 ) {\n                    if( nowLeft + dialog.width() <= $(window).width()) {\n                        left = e.clientX - posX;\n                    } else {\t\n                        left = $(window).width() - dialog.width();\n                        document.onmousemove = null;\n                    }\n                } else {\n                    left = 0;\n                    document.onmousemove = null;\n                }\n\n                if( nowTop >= 0 ) {\n                    top = e.clientY - posY;\n                } else {\n                    top = 0;\n                    document.onmousemove = null;\n                }\n\n\n                document.onselectstart = function() {\n                    return false;\n                };\n\n                userUnselect($(\"body\"));\n                userUnselect(dialog);\n                dialog[0].style.left = left + \"px\";\n                dialog[0].style.top  = top + \"px\";\n            };\n\n            document.onmouseup = function() {                            \n                userCanSelect($(\"body\"));\n                userCanSelect(dialog);\n\n                document.onselectstart = null;         \n                document.onmousemove = null;\n            };\n\n            dialogHeader.touchDraggable = function() {\n                var offset = null;\n                var start  = function(e) {\n                    var orig = e.originalEvent; \n                    var pos  = $(this).parent().position();\n\n                    offset = {\n                        x : orig.changedTouches[0].pageX - pos.left,\n                        y : orig.changedTouches[0].pageY - pos.top\n                    };\n                };\n\n                var move = function(e) {\n                    e.preventDefault();\n                    var orig = e.originalEvent;\n\n                    $(this).parent().css({\n                        top  : orig.changedTouches[0].pageY - offset.y,\n                        left : orig.changedTouches[0].pageX - offset.x\n                    });\n                };\n\n                this.bind(\"touchstart\", start).bind(\"touchmove\", move);\n            };\n\n            dialogHeader.touchDraggable();\n        }\n\n        editormd.dialogZindex += 2;\n\n        return dialog;\n    };\n    \n    /**\n     * 鼠标和触摸事件的判断/选择方法\n     * MouseEvent or TouchEvent type switch\n     * \n     * @param   {String} [mouseEventType=\"click\"]    供选择的鼠标事件\n     * @param   {String} [touchEventType=\"touchend\"] 供选择的触摸事件\n     * @returns {String} EventType                   返回事件类型名称\n     */\n    \n    editormd.mouseOrTouch = function(mouseEventType, touchEventType) {\n        mouseEventType = mouseEventType || \"click\";\n        touchEventType = touchEventType || \"touchend\";\n        \n        var eventType  = mouseEventType;\n\n        try {\n            document.createEvent(\"TouchEvent\");\n            eventType = touchEventType;\n        } catch(e) {}\n\n        return eventType;\n    };\n    \n    /**\n     * 日期时间的格式化方法\n     * Datetime format method\n     * \n     * @param   {String}   [format=\"\"]  日期时间的格式，类似PHP的格式\n     * @returns {String}   datefmt      返回格式化后的日期时间字符串\n     */\n    \n    editormd.dateFormat = function(format) {                \n        format      = format || \"\";\n\n        var addZero = function(d) {\n            return (d < 10) ? \"0\" + d : d;\n        };\n\n        var date    = new Date(); \n        var year    = date.getFullYear();\n        var year2   = year.toString().slice(2, 4);\n        var month   = addZero(date.getMonth() + 1);\n        var day     = addZero(date.getDate());\n        var weekDay = date.getDay();\n        var hour    = addZero(date.getHours());\n        var min     = addZero(date.getMinutes());\n        var second  = addZero(date.getSeconds());\n        var ms      = addZero(date.getMilliseconds()); \n        var datefmt = \"\";\n\n        var ymd     = year2 + \"-\" + month + \"-\" + day;\n        var fymd    = year  + \"-\" + month + \"-\" + day;\n        var hms     = hour  + \":\" + min   + \":\" + second;\n\n        switch (format) \n        {\n            case \"UNIX Time\" :\n                    datefmt = date.getTime();\n                break;\n\n            case \"UTC\" :\n                    datefmt = date.toUTCString();\n                break;\t\n\n            case \"yy\" :\n                    datefmt = year2;\n                break;\t\n\n            case \"year\" :\n            case \"yyyy\" :\n                    datefmt = year;\n                break;\n\n            case \"month\" :\n            case \"mm\" :\n                    datefmt = month;\n                break;                        \n\n            case \"cn-week-day\" :\n            case \"cn-wd\" :\n                    var cnWeekDays = [\"日\", \"一\", \"二\", \"三\", \"四\", \"五\", \"六\"];\n                    datefmt = \"星期\" + cnWeekDays[weekDay];\n                break;\n\n            case \"week-day\" :\n            case \"wd\" :\n                    var weekDays = [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"];\n                    datefmt = weekDays[weekDay];\n                break;\n\n            case \"day\" :\n            case \"dd\" :\n                    datefmt = day;\n                break;\n\n            case \"hour\" :\n            case \"hh\" :\n                    datefmt = hour;\n                break;\n\n            case \"min\" :\n            case \"ii\" :\n                    datefmt = min;\n                break;\n\n            case \"second\" :\n            case \"ss\" :\n                    datefmt = second;\n                break;\n\n            case \"ms\" :\n                    datefmt = ms;\n                break;\n\n            case \"yy-mm-dd\" :\n                    datefmt = ymd;\n                break;\n\n            case \"yyyy-mm-dd\" :\n                    datefmt = fymd;\n                break;\n\n            case \"yyyy-mm-dd h:i:s ms\" :\n            case \"full + ms\" : \n                    datefmt = fymd + \" \" + hms + \" \" + ms;\n                break;\n\n            case \"full\" :\n            case \"yyyy-mm-dd h:i:s\" :\n                default:\n                    datefmt = fymd + \" \" + hms;\n                break;\n        }\n\n        return datefmt;\n    };\n\n    return editormd;\n\n}));\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/languages/en.js",
    "content": "(function(){\n    var factory = function (exports) {\n        var lang = {\n            name : \"en\",\n            description : \"Open source online Markdown editor.\",\n            tocTitle    : \"Table of Contents\",\n            toolbar : {\n                undo             : \"Undo(Ctrl+Z)\",\n                redo             : \"Redo(Ctrl+Y)\",\n                bold             : \"Bold\",\n                del              : \"Strikethrough\",\n                italic           : \"Italic\",\n                quote            : \"Block quote\",\n                ucwords          : \"Words first letter convert to uppercase\",\n                uppercase        : \"Selection text convert to uppercase\",\n                lowercase        : \"Selection text convert to lowercase\",\n                h1               : \"Heading 1\",\n                h2               : \"Heading 2\",\n                h3               : \"Heading 3\",\n                h4               : \"Heading 4\",\n                h5               : \"Heading 5\",\n                h6               : \"Heading 6\",\n                \"list-ul\"        : \"Unordered list\",\n                \"list-ol\"        : \"Ordered list\",\n                hr               : \"Horizontal rule\",\n                link             : \"Link\",\n                \"reference-link\" : \"Reference link\",\n                image            : \"Image\",\n                code             : \"Code inline\",\n                \"preformatted-text\" : \"Preformatted text / Code block (Tab indent)\",\n                \"code-block\"     : \"Code block (Multi-languages)\",\n                table            : \"Tables\",\n                datetime         : \"Datetime\",\n                emoji            : \"Emoji\",\n                \"html-entities\"  : \"HTML Entities\",\n                pagebreak        : \"Page break\",\n                watch            : \"Unwatch\",\n                unwatch          : \"Watch\",\n                preview          : \"HTML Preview (Press Shift + ESC exit)\",\n                fullscreen       : \"Fullscreen (Press ESC exit)\",\n                clear            : \"Clear\",\n                search           : \"Search\",\n                help             : \"Help\",\n                info             : \"About \" + exports.title\n            },\n            buttons : {\n                enter  : \"Enter\",\n                cancel : \"Cancel\",\n                close  : \"Close\"\n            },\n            dialog : {\n                link : {\n                    title    : \"Link\",\n                    url      : \"Address\",\n                    urlTitle : \"Title\",\n                    urlEmpty : \"Error: Please fill in the link address.\"\n                },\n                referenceLink : {\n                    title    : \"Reference link\",\n                    name     : \"Name\",\n                    url      : \"Address\",\n                    urlId    : \"ID\",\n                    urlTitle : \"Title\",\n                    nameEmpty: \"Error: Reference name can't be empty.\",\n                    idEmpty  : \"Error: Please fill in reference link id.\",\n                    urlEmpty : \"Error: Please fill in reference link url address.\"\n                },\n                image : {\n                    title    : \"Image\",\n                    url      : \"Address\",\n                    link     : \"Link\",\n                    alt      : \"Title\",\n                    uploadButton     : \"Upload\",\n                    imageURLEmpty    : \"Error: picture url address can't be empty.\",\n                    uploadFileEmpty  : \"Error: upload pictures cannot be empty!\",\n                    formatNotAllowed : \"Error: only allows to upload pictures file, upload allowed image file format:\"\n                },\n                preformattedText : {\n                    title             : \"Preformatted text / Codes\", \n                    emptyAlert        : \"Error: Please fill in the Preformatted text or content of the codes.\"\n                },\n                codeBlock : {\n                    title             : \"Code block\",         \n                    selectLabel       : \"Languages: \",\n                    selectDefaultText : \"select a code language...\",\n                    otherLanguage     : \"Other languages\",\n                    unselectedLanguageAlert : \"Error: Please select the code language.\",\n                    codeEmptyAlert    : \"Error: Please fill in the code content.\"\n                },\n                htmlEntities : {\n                    title : \"HTML Entities\"\n                },\n                help : {\n                    title : \"Help\"\n                }\n            }\n        };\n        \n        exports.defaults.lang = lang;\n    };\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n    \n})();"
  },
  {
    "path": "src/main/resources/static/lib/editormd/languages/zh-tw.js",
    "content": "(function(){\n    var factory = function (exports) {\n        var lang = {\n            name : \"zh-tw\",\n            description : \"開源在線Markdown編輯器<br/>Open source online Markdown editor.\",\n            tocTitle    : \"目錄\",\n            toolbar     : {\n                undo             : \"撤銷（Ctrl+Z）\",\n                redo             : \"重做（Ctrl+Y）\",\n                bold             : \"粗體\",\n                del              : \"刪除線\",\n                italic           : \"斜體\",\n                quote            : \"引用\",\n                ucwords          : \"將所選的每個單詞首字母轉成大寫\",\n                uppercase        : \"將所選文本轉成大寫\",\n                lowercase        : \"將所選文本轉成小寫\",\n                h1               : \"標題1\",\n                h2               : \"標題2\",\n                h3               : \"標題3\",\n                h4               : \"標題4\",\n                h5               : \"標題5\",\n                h6               : \"標題6\",\n                \"list-ul\"        : \"無序列表\",\n                \"list-ol\"        : \"有序列表\",\n                hr               : \"横线\",\n                link             : \"链接\",\n                \"reference-link\" : \"引用鏈接\",\n                image            : \"圖片\",\n                code             : \"行內代碼\",\n                \"preformatted-text\" : \"預格式文本 / 代碼塊（縮進風格）\",\n                \"code-block\"     : \"代碼塊（多語言風格）\",\n                table            : \"添加表格\",\n                datetime         : \"日期時間\",\n                emoji            : \"Emoji 表情\",\n                \"html-entities\"  : \"HTML 實體字符\",\n                pagebreak        : \"插入分頁符\",\n                watch            : \"關閉實時預覽\",\n                unwatch          : \"開啟實時預覽\",\n                preview          : \"全窗口預覽HTML（按 Shift + ESC 退出）\",\n                fullscreen       : \"全屏（按 ESC 退出）\",\n                clear            : \"清空\",\n                search           : \"搜尋\",\n                help             : \"使用幫助\",\n                info             : \"關於\" + exports.title\n            },\n            buttons : {\n                enter  : \"確定\",\n                cancel : \"取消\",\n                close  : \"關閉\"\n            },\n            dialog : {\n                link   : {\n                    title    : \"添加鏈接\",\n                    url      : \"鏈接地址\",\n                    urlTitle : \"鏈接標題\",\n                    urlEmpty : \"錯誤：請填寫鏈接地址。\"\n                },\n                referenceLink : {\n                    title    : \"添加引用鏈接\",\n                    name     : \"引用名稱\",\n                    url      : \"鏈接地址\",\n                    urlId    : \"鏈接ID\",\n                    urlTitle : \"鏈接標題\",\n                    nameEmpty: \"錯誤：引用鏈接的名稱不能為空。\",\n                    idEmpty  : \"錯誤：請填寫引用鏈接的ID。\",\n                    urlEmpty : \"錯誤：請填寫引用鏈接的URL地址。\"\n                },\n                image  : {\n                    title    : \"添加圖片\",\n                    url      : \"圖片地址\",\n                    link     : \"圖片鏈接\",\n                    alt      : \"圖片描述\",\n                    uploadButton     : \"本地上傳\",\n                    imageURLEmpty    : \"錯誤：圖片地址不能為空。\",\n                    uploadFileEmpty  : \"錯誤：上傳的圖片不能為空！\",\n                    formatNotAllowed : \"錯誤：只允許上傳圖片文件，允許上傳的圖片文件格式有：\"\n                },\n                preformattedText : {\n                    title             : \"添加預格式文本或代碼塊\", \n                    emptyAlert        : \"錯誤：請填寫預格式文本或代碼的內容。\"\n                },\n                codeBlock : {\n                    title             : \"添加代碼塊\",                 \n                    selectLabel       : \"代碼語言：\",\n                    selectDefaultText : \"請語言代碼語言\",\n                    otherLanguage     : \"其他語言\",\n                    unselectedLanguageAlert : \"錯誤：請選擇代碼所屬的語言類型。\",\n                    codeEmptyAlert    : \"錯誤：請填寫代碼內容。\"\n                },\n                htmlEntities : {\n                    title : \"HTML實體字符\"\n                },\n                help : {\n                    title : \"使用幫助\"\n                }\n            }\n        };\n        \n        exports.defaults.lang = lang;\n    };\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n    \n})();"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/AUTHORS",
    "content": "List of CodeMirror contributors. Updated before every release.\n\n4r2r\nAaron Brooks\nAbdelouahab\nAbe Fettig\nAdam Ahmed\nAdam King\nadanlobato\nAdán Lobato\nAdrian Aichner\naeroson\nAhmad Amireh\nAhmad M. Zawawi\nahoward\nAkeksandr Motsjonov\nAlberto González Palomo\nAlberto Pose\nAlbert Xing\nAlexander Pavlov\nAlexander Schepanovski\nAlexander Shvets\nAlexander Solovyov\nAlexandre Bique\nalexey-k\nAlex Piggott\nAliaksei Chapyzhenka\nAmsul\namuntean\nAmy\nAnanya Sen\nanaran\nAndersMad\nAnders Nawroth\nAnderson Mesquita\nAndrea G\nAndreas Reischuck\nAndre von Houck\nAndrey Fedorov\nAndrey Klyuchnikov\nAndrey Lushnikov\nAndy Joslin\nAndy Kimball\nAndy Li\nangelozerr\nangelo.zerr@gmail.com\nAnkit\nAnkit Ahuja\nAnsel Santosa\nAnthony Grimes\nAnton Kovalyov\nareos\nas3boyan\nAtomicPages LLC\nAtul Bhouraskar\nAurelian Oancea\nBastian Müller\nBem Jones-Bey\nbenbro\nBeni Cherniavsky-Paskin\nBenjamin DeCoste\nBen Keen\nBernhard Sirlinger\nBert Chang\nBilly Moon\nbinny\nB Krishna Chaitanya\nBlaine G\nblukat29\nboomyjee\nborawjm\nBrandon Frohs\nBrandon Wamboldt\nBrett Zamir\nBrian Grinstead\nBrian Sletten\nBruce Mitchener\nChandra Sekhar Pydi\nCharles Skelton\nCheah Chu Yeow\nChris Coyier\nChris Granger\nChris Houseknecht\nChris Morgan\nChristian Oyarzun\nChristian Petrov\nChristopher Brown\nciaranj\nCodeAnimal\nComFreek\nCurtis Gagliardi\ndagsta\ndaines\nDale Jung\nDan Bentley\nDan Heberden\nDaniel, Dao Quang Minh\nDaniele Di Sarli\nDaniel Faust\nDaniel Huigens\nDaniel KJ\nDaniel Neel\nDaniel Parnell\nDanny Yoo\ndarealshinji\nDarius Roberts\nDave Myers\nDavid Mignot\nDavid Pathakjee\nDavid Vázquez\ndeebugger\nDeep Thought\nDevon Carew\ndignifiedquire\nDimage Sapelkin\nDmitry Kiselyov\ndomagoj412\nDominator008\nDomizio Demichelis\nDoug Wikle\nDrew Bratcher\nDrew Hintz\nDrew Khoury\nDror BG\nduralog\neborden\nedsharp\nekhaled\nEnam Mijbah Noor\nEric Allam\neustas\nFabien O'Carroll\nFabio Zendhi Nagao\nFaiza Alsaied\nFauntleroy\nfbuchinger\nfeizhang365\nFelipe Lalanne\nFelix Raab\nFilip Noetzel\nflack\nForbesLindesay\nForbes Lindesay\nFord_Lawnmower\nForrest Oliphant\nFrank Wiegand\nGabriel Gheorghian\nGabriel Horner\nGabriel Nahmias\ngalambalazs\nGautam Mehta\ngekkoe\nGerard Braad\nGergely Hegykozi\nGiovanni Calò\nGlenn Jorde\nGlenn Ruehle\nGolevka\nGordon Smith\nGrant Skinner\ngreengiant\nGregory Koberger\nGuillaume Massé\nGuillaume Massé\nGustavo Rodrigues\nHakan Tunc\nHans Engel\nHardest\nHasan Karahan\nHerculano Campos\nHiroyuki Makino\nhitsthings\nHocdoc\nIan Beck\nIan Dickinson\nIan Wehrman\nIan Wetherbee\nIce White\nICHIKAWA, Yuji\nilvalle\nIngo Richter\nIrakli Gozalishvili\nIvan Kurnosov\nJacob Lee\nJakob Miland\nJakub Vrana\nJakub Vrána\nJames Campos\nJames Thorne\nJamie Hill\nJan Jongboom\njankeromnes\nJan Keromnes\nJan Odvarko\nJan T. Sott\nJared Forsyth\nJason\nJason Barnabe\nJason Grout\nJason Johnston\nJason San Jose\nJason Siefken\nJaydeep Solanki\nJean Boussier\njeffkenton\nJeff Pickhardt\njem (graphite)\nJeremy Parmenter\nJochen Berger\nJohan Ask\nJohn Connor\nJohn Lees-Miller\nJohn Snelson\nJohn Van Der Loo\nJonathan Malmaud\njongalloway\nJon Malmaud\nJon Sangster\nJoost-Wim Boekesteijn\nJoseph Pecoraro\nJoshua Newman\nJosh Watzman\njots\njsoojeon\nJuan Benavides Romero\nJucovschi Constantin\nJuho Vuori\nJustin Hileman\njwallers@gmail.com\nkaniga\nKen Newman\nKen Rockot\nKevin Sawicki\nKevin Ushey\nKlaus Silveira\nKoh Zi Han, Cliff\nkomakino\nKonstantin Lopuhin\nkoops\nks-ifware\nkubelsmieci\nKwanEsq\nLanfei\nLanny\nLaszlo Vidacs\nleaf corcoran\nLeonid Khachaturov\nLeon Sorokin\nLeonya Khachaturov\nLiam Newman\nLM\nlochel\nLorenzo Stoakes\nLuciano Longo\nLuke Stagner\nlynschinzer\nMaksim Lin\nMaksym Taran\nMalay Majithia\nManuel Rego Casasnovas\nMarat Dreizin\nMarcel Gerber\nMarco Aurélio\nMarco Munizaga\nMarcus Bointon\nMarek Rudnicki\nMarijn Haverbeke\nMário Gonçalves\nMario Pietsch\nMark Lentczner\nMarko Bonaci\nMartin Balek\nMartín Gaitán\nMartin Hasoň\nMason Malone\nMateusz Paprocki\nMathias Bynens\nmats cronqvist\nMatthew Beale\nMatthias Bussonnier\nMatthias BUSSONNIER\nMatt McDonald\nMatt Pass\nMatt Sacks\nmauricio\nMaximilian Hils\nMaxim Kraev\nMax Kirsch\nMax Xiantu\nmbarkhau\nMetatheos\nMicah Dubinko\nMichael Lehenbauer\nMichael Zhou\nMighty Guava\nMiguel Castillo\nmihailik\nMike\nMike Brevoort\nMike Diaz\nMike Ivanov\nMike Kadin\nMinRK\nMiraculix87\nmisfo\nmloginov\nMoritz Schwörer\nmps\nmtaran-google\nNarciso Jaramillo\nNathan Williams\nndr\nnerbert\nnextrevision\nngn\nnguillaumin\nNg Zhi An\nNicholas Bollweg\nNicholas Bollweg (Nick)\nNick Small\nNiels van Groningen\nnightwing\nNikita Beloglazov\nNikita Vasilyev\nNikolay Kostov\nnilp0inter\nNisarg Jhaveri\nnlwillia\nNorman Rzepka\npablo\nPage\nPanupong Pasupat\nparis\nPatil Arpith\nPatrick Stoica\nPatrick Strawderman\nPaul Garvin\nPaul Ivanov\nPavel Feldman\nPavel Strashkin\nPaweł Bartkiewicz\npeteguhl\nPeter Flynn\npeterkroon\nPeter Kroon\nprasanthj\nPrasanth J\nRadek Piórkowski\nRahul\nRandall Mason\nRandy Burden\nRandy Edmunds\nRasmus Erik Voel Jensen\nRay Ratchup\nRichard van der Meer\nRichard Z.H. Wang\nRobert Crossfield\nRoberto Abdelkader Martínez Pérez\nrobertop23\nRobert Plummer\nRuslan Osmanov\nRyan Prior\nsabaca\nSamuel Ainsworth\nsandeepshetty\nSander AKA Redsandro\nsantec\nSascha Peilicke\nsatchmorun\nsathyamoorthi\nSCLINIC\\jdecker\nScott Aikin\nScott Goodhew\nSebastian Zaha\nshaund\nshaun gilchrist\nShawn A\nsheopory\nShiv Deepak\nShmuel Englard\nShubham Jain\nsilverwind\nsnasa\nsoliton4\nsonson\nspastorelli\nsrajanpaliwal\nStanislav Oaserele\nStas Kobzar\nStefan Borsje\nSteffen Beyer\nSteve O'Hara\nstoskov\nTaha Jahangir\nTakuji Shimokawa\nTarmil\ntel\ntfjgeorge\nThaddee Tyl\nTheHowl\nthink\nThomas Dvornik\nThomas Schmid\nTim Alby\nTim Baumann\nTimothy Farrell\nTimothy Hatcher\nTobiasBg\nTomas-A\nTomas Varaneckas\nTom Erik Støwer\nTom MacWright\nTony Jian\nTravis Heppe\nTriangle717\ntwifkak\nVestimir Markov\nvf\nVincent Woo\nVolker Mische\nwenli\nWesley Wiser\nWill Binns-Smith\nWilliam Jamieson\nWilliam Stein\nWilly\nWojtek Ptak\nXavier Mendez\nYassin N. Hassan\nYNH Webdev\nYunchi Luo\nYuvi Panda\nZachary Dremann\nZhang Hao\nzziuni\n魏鹏刚\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/LICENSE",
    "content": "Copyright (C) 2014 by Marijn Haverbeke <marijnh@gmail.com> and others\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/README.md",
    "content": "# CodeMirror\n[![Build Status](https://travis-ci.org/codemirror/CodeMirror.svg)](https://travis-ci.org/codemirror/CodeMirror)\n[![NPM version](https://img.shields.io/npm/v/codemirror.svg)](https://www.npmjs.org/package/codemirror)  \n[Funding status: ![maintainer happiness](https://marijnhaverbeke.nl/fund/status_s.png)](https://marijnhaverbeke.nl/fund/)\n\nCodeMirror is a JavaScript component that provides a code editor in\nthe browser. When a mode is available for the language you are coding\nin, it will color your code, and optionally help with indentation.\n\nThe project page is http://codemirror.net  \nThe manual is at http://codemirror.net/doc/manual.html  \nThe contributing guidelines are in [CONTRIBUTING.md](https://github.com/codemirror/CodeMirror/blob/master/CONTRIBUTING.md)\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/comment/comment.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var noOptions = {};\n  var nonWS = /[^\\s\\u00a0]/;\n  var Pos = CodeMirror.Pos;\n\n  function firstNonWS(str) {\n    var found = str.search(nonWS);\n    return found == -1 ? 0 : found;\n  }\n\n  CodeMirror.commands.toggleComment = function(cm) {\n    var minLine = Infinity, ranges = cm.listSelections(), mode = null;\n    for (var i = ranges.length - 1; i >= 0; i--) {\n      var from = ranges[i].from(), to = ranges[i].to();\n      if (from.line >= minLine) continue;\n      if (to.line >= minLine) to = Pos(minLine, 0);\n      minLine = from.line;\n      if (mode == null) {\n        if (cm.uncomment(from, to)) mode = \"un\";\n        else { cm.lineComment(from, to); mode = \"line\"; }\n      } else if (mode == \"un\") {\n        cm.uncomment(from, to);\n      } else {\n        cm.lineComment(from, to);\n      }\n    }\n  };\n\n  CodeMirror.defineExtension(\"lineComment\", function(from, to, options) {\n    if (!options) options = noOptions;\n    var self = this, mode = self.getModeAt(from);\n    var commentString = options.lineComment || mode.lineComment;\n    if (!commentString) {\n      if (options.blockCommentStart || mode.blockCommentStart) {\n        options.fullLines = true;\n        self.blockComment(from, to, options);\n      }\n      return;\n    }\n    var firstLine = self.getLine(from.line);\n    if (firstLine == null) return;\n    var end = Math.min(to.ch != 0 || to.line == from.line ? to.line + 1 : to.line, self.lastLine() + 1);\n    var pad = options.padding == null ? \" \" : options.padding;\n    var blankLines = options.commentBlankLines || from.line == to.line;\n\n    self.operation(function() {\n      if (options.indent) {\n        var baseString = firstLine.slice(0, firstNonWS(firstLine));\n        for (var i = from.line; i < end; ++i) {\n          var line = self.getLine(i), cut = baseString.length;\n          if (!blankLines && !nonWS.test(line)) continue;\n          if (line.slice(0, cut) != baseString) cut = firstNonWS(line);\n          self.replaceRange(baseString + commentString + pad, Pos(i, 0), Pos(i, cut));\n        }\n      } else {\n        for (var i = from.line; i < end; ++i) {\n          if (blankLines || nonWS.test(self.getLine(i)))\n            self.replaceRange(commentString + pad, Pos(i, 0));\n        }\n      }\n    });\n  });\n\n  CodeMirror.defineExtension(\"blockComment\", function(from, to, options) {\n    if (!options) options = noOptions;\n    var self = this, mode = self.getModeAt(from);\n    var startString = options.blockCommentStart || mode.blockCommentStart;\n    var endString = options.blockCommentEnd || mode.blockCommentEnd;\n    if (!startString || !endString) {\n      if ((options.lineComment || mode.lineComment) && options.fullLines != false)\n        self.lineComment(from, to, options);\n      return;\n    }\n\n    var end = Math.min(to.line, self.lastLine());\n    if (end != from.line && to.ch == 0 && nonWS.test(self.getLine(end))) --end;\n\n    var pad = options.padding == null ? \" \" : options.padding;\n    if (from.line > end) return;\n\n    self.operation(function() {\n      if (options.fullLines != false) {\n        var lastLineHasText = nonWS.test(self.getLine(end));\n        self.replaceRange(pad + endString, Pos(end));\n        self.replaceRange(startString + pad, Pos(from.line, 0));\n        var lead = options.blockCommentLead || mode.blockCommentLead;\n        if (lead != null) for (var i = from.line + 1; i <= end; ++i)\n          if (i != end || lastLineHasText)\n            self.replaceRange(lead + pad, Pos(i, 0));\n      } else {\n        self.replaceRange(endString, to);\n        self.replaceRange(startString, from);\n      }\n    });\n  });\n\n  CodeMirror.defineExtension(\"uncomment\", function(from, to, options) {\n    if (!options) options = noOptions;\n    var self = this, mode = self.getModeAt(from);\n    var end = Math.min(to.ch != 0 || to.line == from.line ? to.line : to.line - 1, self.lastLine()), start = Math.min(from.line, end);\n\n    // Try finding line comments\n    var lineString = options.lineComment || mode.lineComment, lines = [];\n    var pad = options.padding == null ? \" \" : options.padding, didSomething;\n    lineComment: {\n      if (!lineString) break lineComment;\n      for (var i = start; i <= end; ++i) {\n        var line = self.getLine(i);\n        var found = line.indexOf(lineString);\n        if (found > -1 && !/comment/.test(self.getTokenTypeAt(Pos(i, found + 1)))) found = -1;\n        if (found == -1 && (i != end || i == start) && nonWS.test(line)) break lineComment;\n        if (found > -1 && nonWS.test(line.slice(0, found))) break lineComment;\n        lines.push(line);\n      }\n      self.operation(function() {\n        for (var i = start; i <= end; ++i) {\n          var line = lines[i - start];\n          var pos = line.indexOf(lineString), endPos = pos + lineString.length;\n          if (pos < 0) continue;\n          if (line.slice(endPos, endPos + pad.length) == pad) endPos += pad.length;\n          didSomething = true;\n          self.replaceRange(\"\", Pos(i, pos), Pos(i, endPos));\n        }\n      });\n      if (didSomething) return true;\n    }\n\n    // Try block comments\n    var startString = options.blockCommentStart || mode.blockCommentStart;\n    var endString = options.blockCommentEnd || mode.blockCommentEnd;\n    if (!startString || !endString) return false;\n    var lead = options.blockCommentLead || mode.blockCommentLead;\n    var startLine = self.getLine(start), endLine = end == start ? startLine : self.getLine(end);\n    var open = startLine.indexOf(startString), close = endLine.lastIndexOf(endString);\n    if (close == -1 && start != end) {\n      endLine = self.getLine(--end);\n      close = endLine.lastIndexOf(endString);\n    }\n    if (open == -1 || close == -1 ||\n        !/comment/.test(self.getTokenTypeAt(Pos(start, open + 1))) ||\n        !/comment/.test(self.getTokenTypeAt(Pos(end, close + 1))))\n      return false;\n\n    // Avoid killing block comments completely outside the selection.\n    // Positions of the last startString before the start of the selection, and the first endString after it.\n    var lastStart = startLine.lastIndexOf(startString, from.ch);\n    var firstEnd = lastStart == -1 ? -1 : startLine.slice(0, from.ch).indexOf(endString, lastStart + startString.length);\n    if (lastStart != -1 && firstEnd != -1 && firstEnd + endString.length != from.ch) return false;\n    // Positions of the first endString after the end of the selection, and the last startString before it.\n    firstEnd = endLine.indexOf(endString, to.ch);\n    var almostLastStart = endLine.slice(to.ch).lastIndexOf(startString, firstEnd - to.ch);\n    lastStart = (firstEnd == -1 || almostLastStart == -1) ? -1 : to.ch + almostLastStart;\n    if (firstEnd != -1 && lastStart != -1 && lastStart != to.ch) return false;\n\n    self.operation(function() {\n      self.replaceRange(\"\", Pos(end, close - (pad && endLine.slice(close - pad.length, close) == pad ? pad.length : 0)),\n                        Pos(end, close + endString.length));\n      var openEnd = open + startString.length;\n      if (pad && startLine.slice(openEnd, openEnd + pad.length) == pad) openEnd += pad.length;\n      self.replaceRange(\"\", Pos(start, open), Pos(start, openEnd));\n      if (lead) for (var i = start + 1; i <= end; ++i) {\n        var line = self.getLine(i), found = line.indexOf(lead);\n        if (found == -1 || nonWS.test(line.slice(0, found))) continue;\n        var foundEnd = found + lead.length;\n        if (pad && line.slice(foundEnd, foundEnd + pad.length) == pad) foundEnd += pad.length;\n        self.replaceRange(\"\", Pos(i, found), Pos(i, foundEnd));\n      }\n    });\n    return true;\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/comment/continuecomment.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  var modes = [\"clike\", \"css\", \"javascript\"];\n\n  for (var i = 0; i < modes.length; ++i)\n    CodeMirror.extendMode(modes[i], {blockCommentContinue: \" * \"});\n\n  function continueComment(cm) {\n    if (cm.getOption(\"disableInput\")) return CodeMirror.Pass;\n    var ranges = cm.listSelections(), mode, inserts = [];\n    for (var i = 0; i < ranges.length; i++) {\n      var pos = ranges[i].head, token = cm.getTokenAt(pos);\n      if (token.type != \"comment\") return CodeMirror.Pass;\n      var modeHere = CodeMirror.innerMode(cm.getMode(), token.state).mode;\n      if (!mode) mode = modeHere;\n      else if (mode != modeHere) return CodeMirror.Pass;\n\n      var insert = null;\n      if (mode.blockCommentStart && mode.blockCommentContinue) {\n        var end = token.string.indexOf(mode.blockCommentEnd);\n        var full = cm.getRange(CodeMirror.Pos(pos.line, 0), CodeMirror.Pos(pos.line, token.end)), found;\n        if (end != -1 && end == token.string.length - mode.blockCommentEnd.length && pos.ch >= end) {\n          // Comment ended, don't continue it\n        } else if (token.string.indexOf(mode.blockCommentStart) == 0) {\n          insert = full.slice(0, token.start);\n          if (!/^\\s*$/.test(insert)) {\n            insert = \"\";\n            for (var j = 0; j < token.start; ++j) insert += \" \";\n          }\n        } else if ((found = full.indexOf(mode.blockCommentContinue)) != -1 &&\n                   found + mode.blockCommentContinue.length > token.start &&\n                   /^\\s*$/.test(full.slice(0, found))) {\n          insert = full.slice(0, found);\n        }\n        if (insert != null) insert += mode.blockCommentContinue;\n      }\n      if (insert == null && mode.lineComment && continueLineCommentEnabled(cm)) {\n        var line = cm.getLine(pos.line), found = line.indexOf(mode.lineComment);\n        if (found > -1) {\n          insert = line.slice(0, found);\n          if (/\\S/.test(insert)) insert = null;\n          else insert += mode.lineComment + line.slice(found + mode.lineComment.length).match(/^\\s*/)[0];\n        }\n      }\n      if (insert == null) return CodeMirror.Pass;\n      inserts[i] = \"\\n\" + insert;\n    }\n\n    cm.operation(function() {\n      for (var i = ranges.length - 1; i >= 0; i--)\n        cm.replaceRange(inserts[i], ranges[i].from(), ranges[i].to(), \"+insert\");\n    });\n  }\n\n  function continueLineCommentEnabled(cm) {\n    var opt = cm.getOption(\"continueComments\");\n    if (opt && typeof opt == \"object\")\n      return opt.continueLineComment !== false;\n    return true;\n  }\n\n  CodeMirror.defineOption(\"continueComments\", null, function(cm, val, prev) {\n    if (prev && prev != CodeMirror.Init)\n      cm.removeKeyMap(\"continueComment\");\n    if (val) {\n      var key = \"Enter\";\n      if (typeof val == \"string\")\n        key = val;\n      else if (typeof val == \"object\" && val.key)\n        key = val.key;\n      var map = {name: \"continueComment\"};\n      map[key] = continueComment;\n      cm.addKeyMap(map);\n    }\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/dialog/dialog.css",
    "content": ".CodeMirror-dialog {\n  position: absolute;\n  left: 0; right: 0;\n  background: white;\n  z-index: 15;\n  padding: .1em .8em;\n  overflow: hidden;\n  color: #333;\n}\n\n.CodeMirror-dialog-top {\n  border-bottom: 1px solid #eee;\n  top: 0;\n}\n\n.CodeMirror-dialog-bottom {\n  border-top: 1px solid #eee;\n  bottom: 0;\n}\n\n.CodeMirror-dialog input {\n  border: none;\n  outline: none;\n  background: transparent;\n  width: 20em;\n  color: inherit;\n  font-family: monospace;\n}\n\n.CodeMirror-dialog button {\n  font-size: 70%;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/dialog/dialog.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Open simple dialogs on top of an editor. Relies on dialog.css.\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  function dialogDiv(cm, template, bottom) {\n    var wrap = cm.getWrapperElement();\n    var dialog;\n    dialog = wrap.appendChild(document.createElement(\"div\"));\n    if (bottom)\n      dialog.className = \"CodeMirror-dialog CodeMirror-dialog-bottom\";\n    else\n      dialog.className = \"CodeMirror-dialog CodeMirror-dialog-top\";\n\n    if (typeof template == \"string\") {\n      dialog.innerHTML = template;\n    } else { // Assuming it's a detached DOM element.\n      dialog.appendChild(template);\n    }\n    return dialog;\n  }\n\n  function closeNotification(cm, newVal) {\n    if (cm.state.currentNotificationClose)\n      cm.state.currentNotificationClose();\n    cm.state.currentNotificationClose = newVal;\n  }\n\n  CodeMirror.defineExtension(\"openDialog\", function(template, callback, options) {\n    if (!options) options = {};\n\n    closeNotification(this, null);\n\n    var dialog = dialogDiv(this, template, options.bottom);\n    var closed = false, me = this;\n    function close(newVal) {\n      if (typeof newVal == 'string') {\n        inp.value = newVal;\n      } else {\n        if (closed) return;\n        closed = true;\n        dialog.parentNode.removeChild(dialog);\n        me.focus();\n\n        if (options.onClose) options.onClose(dialog);\n      }\n    }\n\n    var inp = dialog.getElementsByTagName(\"input\")[0], button;\n    if (inp) {\n      if (options.value) {\n        inp.value = options.value;\n        inp.select();\n      }\n\n      if (options.onInput)\n        CodeMirror.on(inp, \"input\", function(e) { options.onInput(e, inp.value, close);});\n      if (options.onKeyUp)\n        CodeMirror.on(inp, \"keyup\", function(e) {options.onKeyUp(e, inp.value, close);});\n\n      CodeMirror.on(inp, \"keydown\", function(e) {\n        if (options && options.onKeyDown && options.onKeyDown(e, inp.value, close)) { return; }\n        if (e.keyCode == 27 || (options.closeOnEnter !== false && e.keyCode == 13)) {\n          inp.blur();\n          CodeMirror.e_stop(e);\n          close();\n        }\n        if (e.keyCode == 13) callback(inp.value, e);\n      });\n\n      if (options.closeOnBlur !== false) CodeMirror.on(inp, \"blur\", close);\n\n      inp.focus();\n    } else if (button = dialog.getElementsByTagName(\"button\")[0]) {\n      CodeMirror.on(button, \"click\", function() {\n        close();\n        me.focus();\n      });\n\n      if (options.closeOnBlur !== false) CodeMirror.on(button, \"blur\", close);\n\n      button.focus();\n    }\n    return close;\n  });\n\n  CodeMirror.defineExtension(\"openConfirm\", function(template, callbacks, options) {\n    closeNotification(this, null);\n    var dialog = dialogDiv(this, template, options && options.bottom);\n    var buttons = dialog.getElementsByTagName(\"button\");\n    var closed = false, me = this, blurring = 1;\n    function close() {\n      if (closed) return;\n      closed = true;\n      dialog.parentNode.removeChild(dialog);\n      me.focus();\n    }\n    buttons[0].focus();\n    for (var i = 0; i < buttons.length; ++i) {\n      var b = buttons[i];\n      (function(callback) {\n        CodeMirror.on(b, \"click\", function(e) {\n          CodeMirror.e_preventDefault(e);\n          close();\n          if (callback) callback(me);\n        });\n      })(callbacks[i]);\n      CodeMirror.on(b, \"blur\", function() {\n        --blurring;\n        setTimeout(function() { if (blurring <= 0) close(); }, 200);\n      });\n      CodeMirror.on(b, \"focus\", function() { ++blurring; });\n    }\n  });\n\n  /*\n   * openNotification\n   * Opens a notification, that can be closed with an optional timer\n   * (default 5000ms timer) and always closes on click.\n   *\n   * If a notification is opened while another is opened, it will close the\n   * currently opened one and open the new one immediately.\n   */\n  CodeMirror.defineExtension(\"openNotification\", function(template, options) {\n    closeNotification(this, close);\n    var dialog = dialogDiv(this, template, options && options.bottom);\n    var closed = false, doneTimer;\n    var duration = options && typeof options.duration !== \"undefined\" ? options.duration : 5000;\n\n    function close() {\n      if (closed) return;\n      closed = true;\n      clearTimeout(doneTimer);\n      dialog.parentNode.removeChild(dialog);\n    }\n\n    CodeMirror.on(dialog, 'click', function(e) {\n      CodeMirror.e_preventDefault(e);\n      close();\n    });\n\n    if (duration)\n      doneTimer = setTimeout(close, duration);\n\n    return close;\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/display/fullscreen.css",
    "content": ".CodeMirror-fullscreen {\n  position: fixed;\n  top: 0; left: 0; right: 0; bottom: 0;\n  height: auto;\n  z-index: 9;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/display/fullscreen.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"fullScreen\", false, function(cm, val, old) {\n    if (old == CodeMirror.Init) old = false;\n    if (!old == !val) return;\n    if (val) setFullscreen(cm);\n    else setNormal(cm);\n  });\n\n  function setFullscreen(cm) {\n    var wrap = cm.getWrapperElement();\n    cm.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset,\n                                  width: wrap.style.width, height: wrap.style.height};\n    wrap.style.width = \"\";\n    wrap.style.height = \"auto\";\n    wrap.className += \" CodeMirror-fullscreen\";\n    document.documentElement.style.overflow = \"hidden\";\n    cm.refresh();\n  }\n\n  function setNormal(cm) {\n    var wrap = cm.getWrapperElement();\n    wrap.className = wrap.className.replace(/\\s*CodeMirror-fullscreen\\b/, \"\");\n    document.documentElement.style.overflow = \"\";\n    var info = cm.state.fullScreenRestore;\n    wrap.style.width = info.width; wrap.style.height = info.height;\n    window.scrollTo(info.scrollLeft, info.scrollTop);\n    cm.refresh();\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/display/panel.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  CodeMirror.defineExtension(\"addPanel\", function(node, options) {\n    if (!this.state.panels) initPanels(this);\n\n    var info = this.state.panels;\n    if (options && options.position == \"bottom\")\n      info.wrapper.appendChild(node);\n    else\n      info.wrapper.insertBefore(node, info.wrapper.firstChild);\n    var height = (options && options.height) || node.offsetHeight;\n    this._setSize(null, info.heightLeft -= height);\n    info.panels++;\n    return new Panel(this, node, options, height);\n  });\n\n  function Panel(cm, node, options, height) {\n    this.cm = cm;\n    this.node = node;\n    this.options = options;\n    this.height = height;\n    this.cleared = false;\n  }\n\n  Panel.prototype.clear = function() {\n    if (this.cleared) return;\n    this.cleared = true;\n    var info = this.cm.state.panels;\n    this.cm._setSize(null, info.heightLeft += this.height);\n    info.wrapper.removeChild(this.node);\n    if (--info.panels == 0) removePanels(this.cm);\n  };\n\n  Panel.prototype.changed = function(height) {\n    var newHeight = height == null ? this.node.offsetHeight : height;\n    var info = this.cm.state.panels;\n    this.cm._setSize(null, info.height += (newHeight - this.height));\n    this.height = newHeight;\n  };\n\n  function initPanels(cm) {\n    var wrap = cm.getWrapperElement();\n    var style = window.getComputedStyle ? window.getComputedStyle(wrap) : wrap.currentStyle;\n    var height = parseInt(style.height);\n    var info = cm.state.panels = {\n      setHeight: wrap.style.height,\n      heightLeft: height,\n      panels: 0,\n      wrapper: document.createElement(\"div\")\n    };\n    wrap.parentNode.insertBefore(info.wrapper, wrap);\n    var hasFocus = cm.hasFocus();\n    info.wrapper.appendChild(wrap);\n    if (hasFocus) cm.focus();\n\n    cm._setSize = cm.setSize;\n    if (height != null) cm.setSize = function(width, newHeight) {\n      if (newHeight == null) return this._setSize(width, newHeight);\n      info.setHeight = newHeight;\n      if (typeof newHeight != \"number\") {\n        var px = /^(\\d+\\.?\\d*)px$/.exec(newHeight);\n        if (px) {\n          newHeight = Number(px[1]);\n        } else {\n          info.wrapper.style.height = newHeight;\n          newHeight = info.wrapper.offsetHeight;\n          info.wrapper.style.height = \"\";\n        }\n      }\n      cm._setSize(width, info.heightLeft += (newHeight - height));\n      height = newHeight;\n    };\n  }\n\n  function removePanels(cm) {\n    var info = cm.state.panels;\n    cm.state.panels = null;\n\n    var wrap = cm.getWrapperElement();\n    info.wrapper.parentNode.replaceChild(wrap, info.wrapper);\n    wrap.style.height = info.setHeight;\n    cm.setSize = cm._setSize;\n    cm.setSize();\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/display/placeholder.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  CodeMirror.defineOption(\"placeholder\", \"\", function(cm, val, old) {\n    var prev = old && old != CodeMirror.Init;\n    if (val && !prev) {\n      cm.on(\"blur\", onBlur);\n      cm.on(\"change\", onChange);\n      onChange(cm);\n    } else if (!val && prev) {\n      cm.off(\"blur\", onBlur);\n      cm.off(\"change\", onChange);\n      clearPlaceholder(cm);\n      var wrapper = cm.getWrapperElement();\n      wrapper.className = wrapper.className.replace(\" CodeMirror-empty\", \"\");\n    }\n\n    if (val && !cm.hasFocus()) onBlur(cm);\n  });\n\n  function clearPlaceholder(cm) {\n    if (cm.state.placeholder) {\n      cm.state.placeholder.parentNode.removeChild(cm.state.placeholder);\n      cm.state.placeholder = null;\n    }\n  }\n  function setPlaceholder(cm) {\n    clearPlaceholder(cm);\n    var elt = cm.state.placeholder = document.createElement(\"pre\");\n    elt.style.cssText = \"height: 0; overflow: visible\";\n    elt.className = \"CodeMirror-placeholder\";\n    elt.appendChild(document.createTextNode(cm.getOption(\"placeholder\")));\n    cm.display.lineSpace.insertBefore(elt, cm.display.lineSpace.firstChild);\n  }\n\n  function onBlur(cm) {\n    if (isEmpty(cm)) setPlaceholder(cm);\n  }\n  function onChange(cm) {\n    var wrapper = cm.getWrapperElement(), empty = isEmpty(cm);\n    wrapper.className = wrapper.className.replace(\" CodeMirror-empty\", \"\") + (empty ? \" CodeMirror-empty\" : \"\");\n\n    if (empty) setPlaceholder(cm);\n    else clearPlaceholder(cm);\n  }\n\n  function isEmpty(cm) {\n    return (cm.lineCount() === 1) && (cm.getLine(0) === \"\");\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/display/rulers.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"rulers\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      clearRulers(cm);\n      cm.off(\"refresh\", refreshRulers);\n    }\n    if (val && val.length) {\n      setRulers(cm);\n      cm.on(\"refresh\", refreshRulers);\n    }\n  });\n\n  function clearRulers(cm) {\n    for (var i = cm.display.lineSpace.childNodes.length - 1; i >= 0; i--) {\n      var node = cm.display.lineSpace.childNodes[i];\n      if (/(^|\\s)CodeMirror-ruler($|\\s)/.test(node.className))\n        node.parentNode.removeChild(node);\n    }\n  }\n\n  function setRulers(cm) {\n    var val = cm.getOption(\"rulers\");\n    var cw = cm.defaultCharWidth();\n    var left = cm.charCoords(CodeMirror.Pos(cm.firstLine(), 0), \"div\").left;\n    var minH = cm.display.scroller.offsetHeight + 30;\n    for (var i = 0; i < val.length; i++) {\n      var elt = document.createElement(\"div\");\n      elt.className = \"CodeMirror-ruler\";\n      var col, cls = null, conf = val[i];\n      if (typeof conf == \"number\") {\n        col = conf;\n      } else {\n        col = conf.column;\n        if (conf.className) elt.className += \" \" + conf.className;\n        if (conf.color) elt.style.borderColor = conf.color;\n        if (conf.lineStyle) elt.style.borderLeftStyle = conf.lineStyle;\n        if (conf.width) elt.style.borderLeftWidth = conf.width;\n        cls = val[i].className;\n      }\n      elt.style.left = (left + col * cw) + \"px\";\n      elt.style.top = \"-50px\";\n      elt.style.bottom = \"-20px\";\n      elt.style.minHeight = minH + \"px\";\n      cm.display.lineSpace.insertBefore(elt, cm.display.cursorDiv);\n    }\n  }\n\n  function refreshRulers(cm) {\n    clearRulers(cm);\n    setRulers(cm);\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/edit/closebrackets.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  var DEFAULT_BRACKETS = \"()[]{}''\\\"\\\"\";\n  var DEFAULT_TRIPLES = \"'\\\"\";\n  var DEFAULT_EXPLODE_ON_ENTER = \"[]{}\";\n  var SPACE_CHAR_REGEX = /\\s/;\n\n  var Pos = CodeMirror.Pos;\n\n  CodeMirror.defineOption(\"autoCloseBrackets\", false, function(cm, val, old) {\n    if (old != CodeMirror.Init && old)\n      cm.removeKeyMap(\"autoCloseBrackets\");\n    if (!val) return;\n    var pairs = DEFAULT_BRACKETS, triples = DEFAULT_TRIPLES, explode = DEFAULT_EXPLODE_ON_ENTER;\n    if (typeof val == \"string\") pairs = val;\n    else if (typeof val == \"object\") {\n      if (val.pairs != null) pairs = val.pairs;\n      if (val.triples != null) triples = val.triples;\n      if (val.explode != null) explode = val.explode;\n    }\n    var map = buildKeymap(pairs, triples);\n    if (explode) map.Enter = buildExplodeHandler(explode);\n    cm.addKeyMap(map);\n  });\n\n  function charsAround(cm, pos) {\n    var str = cm.getRange(Pos(pos.line, pos.ch - 1),\n                          Pos(pos.line, pos.ch + 1));\n    return str.length == 2 ? str : null;\n  }\n\n  // Project the token type that will exists after the given char is\n  // typed, and use it to determine whether it would cause the start\n  // of a string token.\n  function enteringString(cm, pos, ch) {\n    var line = cm.getLine(pos.line);\n    var token = cm.getTokenAt(pos);\n    if (/\\bstring2?\\b/.test(token.type)) return false;\n    var stream = new CodeMirror.StringStream(line.slice(0, pos.ch) + ch + line.slice(pos.ch), 4);\n    stream.pos = stream.start = token.start;\n    for (;;) {\n      var type1 = cm.getMode().token(stream, token.state);\n      if (stream.pos >= pos.ch + 1) return /\\bstring2?\\b/.test(type1);\n      stream.start = stream.pos;\n    }\n  }\n\n  function buildKeymap(pairs, triples) {\n    var map = {\n      name : \"autoCloseBrackets\",\n      Backspace: function(cm) {\n        if (cm.getOption(\"disableInput\")) return CodeMirror.Pass;\n        var ranges = cm.listSelections();\n        for (var i = 0; i < ranges.length; i++) {\n          if (!ranges[i].empty()) return CodeMirror.Pass;\n          var around = charsAround(cm, ranges[i].head);\n          if (!around || pairs.indexOf(around) % 2 != 0) return CodeMirror.Pass;\n        }\n        for (var i = ranges.length - 1; i >= 0; i--) {\n          var cur = ranges[i].head;\n          cm.replaceRange(\"\", Pos(cur.line, cur.ch - 1), Pos(cur.line, cur.ch + 1));\n        }\n      }\n    };\n    var closingBrackets = \"\";\n    for (var i = 0; i < pairs.length; i += 2) (function(left, right) {\n      closingBrackets += right;\n      map[\"'\" + left + \"'\"] = function(cm) {\n        if (cm.getOption(\"disableInput\")) return CodeMirror.Pass;\n        var ranges = cm.listSelections(), type, next;\n        for (var i = 0; i < ranges.length; i++) {\n          var range = ranges[i], cur = range.head, curType;\n          var next = cm.getRange(cur, Pos(cur.line, cur.ch + 1));\n          if (!range.empty()) {\n            curType = \"surround\";\n          } else if (left == right && next == right) {\n            if (cm.getRange(cur, Pos(cur.line, cur.ch + 3)) == left + left + left)\n              curType = \"skipThree\";\n            else\n              curType = \"skip\";\n          } else if (left == right && cur.ch > 1 && triples.indexOf(left) >= 0 &&\n                     cm.getRange(Pos(cur.line, cur.ch - 2), cur) == left + left &&\n                     (cur.ch <= 2 || cm.getRange(Pos(cur.line, cur.ch - 3), Pos(cur.line, cur.ch - 2)) != left)) {\n            curType = \"addFour\";\n          } else if (left == '\"' || left == \"'\") {\n            if (!CodeMirror.isWordChar(next) && enteringString(cm, cur, left)) curType = \"both\";\n            else return CodeMirror.Pass;\n          } else if (cm.getLine(cur.line).length == cur.ch || closingBrackets.indexOf(next) >= 0 || SPACE_CHAR_REGEX.test(next)) {\n            curType = \"both\";\n          } else {\n            return CodeMirror.Pass;\n          }\n          if (!type) type = curType;\n          else if (type != curType) return CodeMirror.Pass;\n        }\n\n        cm.operation(function() {\n          if (type == \"skip\") {\n            cm.execCommand(\"goCharRight\");\n          } else if (type == \"skipThree\") {\n            for (var i = 0; i < 3; i++)\n              cm.execCommand(\"goCharRight\");\n          } else if (type == \"surround\") {\n            var sels = cm.getSelections();\n            for (var i = 0; i < sels.length; i++)\n              sels[i] = left + sels[i] + right;\n            cm.replaceSelections(sels, \"around\");\n          } else if (type == \"both\") {\n            cm.replaceSelection(left + right, null);\n            cm.execCommand(\"goCharLeft\");\n          } else if (type == \"addFour\") {\n            cm.replaceSelection(left + left + left + left, \"before\");\n            cm.execCommand(\"goCharRight\");\n          }\n        });\n      };\n      if (left != right) map[\"'\" + right + \"'\"] = function(cm) {\n        var ranges = cm.listSelections();\n        for (var i = 0; i < ranges.length; i++) {\n          var range = ranges[i];\n          if (!range.empty() ||\n              cm.getRange(range.head, Pos(range.head.line, range.head.ch + 1)) != right)\n            return CodeMirror.Pass;\n        }\n        cm.execCommand(\"goCharRight\");\n      };\n    })(pairs.charAt(i), pairs.charAt(i + 1));\n    return map;\n  }\n\n  function buildExplodeHandler(pairs) {\n    return function(cm) {\n      if (cm.getOption(\"disableInput\")) return CodeMirror.Pass;\n      var ranges = cm.listSelections();\n      for (var i = 0; i < ranges.length; i++) {\n        if (!ranges[i].empty()) return CodeMirror.Pass;\n        var around = charsAround(cm, ranges[i].head);\n        if (!around || pairs.indexOf(around) % 2 != 0) return CodeMirror.Pass;\n      }\n      cm.operation(function() {\n        cm.replaceSelection(\"\\n\\n\", null);\n        cm.execCommand(\"goCharLeft\");\n        ranges = cm.listSelections();\n        for (var i = 0; i < ranges.length; i++) {\n          var line = ranges[i].head.line;\n          cm.indentLine(line, null, true);\n          cm.indentLine(line + 1, null, true);\n        }\n      });\n    };\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/edit/closetag.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/**\n * Tag-closer extension for CodeMirror.\n *\n * This extension adds an \"autoCloseTags\" option that can be set to\n * either true to get the default behavior, or an object to further\n * configure its behavior.\n *\n * These are supported options:\n *\n * `whenClosing` (default true)\n *   Whether to autoclose when the '/' of a closing tag is typed.\n * `whenOpening` (default true)\n *   Whether to autoclose the tag when the final '>' of an opening\n *   tag is typed.\n * `dontCloseTags` (default is empty tags for HTML, none for XML)\n *   An array of tag names that should not be autoclosed.\n * `indentTags` (default is block tags for HTML, none for XML)\n *   An array of tag names that should, when opened, cause a\n *   blank line to be added inside the tag, and the blank line and\n *   closing line to be indented.\n *\n * See demos/closetag.html for a usage example.\n */\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../fold/xml-fold\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../fold/xml-fold\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  CodeMirror.defineOption(\"autoCloseTags\", false, function(cm, val, old) {\n    if (old != CodeMirror.Init && old)\n      cm.removeKeyMap(\"autoCloseTags\");\n    if (!val) return;\n    var map = {name: \"autoCloseTags\"};\n    if (typeof val != \"object\" || val.whenClosing)\n      map[\"'/'\"] = function(cm) { return autoCloseSlash(cm); };\n    if (typeof val != \"object\" || val.whenOpening)\n      map[\"'>'\"] = function(cm) { return autoCloseGT(cm); };\n    cm.addKeyMap(map);\n  });\n\n  var htmlDontClose = [\"area\", \"base\", \"br\", \"col\", \"command\", \"embed\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"meta\", \"param\",\n                       \"source\", \"track\", \"wbr\"];\n  var htmlIndent = [\"applet\", \"blockquote\", \"body\", \"button\", \"div\", \"dl\", \"fieldset\", \"form\", \"frameset\", \"h1\", \"h2\", \"h3\", \"h4\",\n                    \"h5\", \"h6\", \"head\", \"html\", \"iframe\", \"layer\", \"legend\", \"object\", \"ol\", \"p\", \"select\", \"table\", \"ul\"];\n\n  function autoCloseGT(cm) {\n    if (cm.getOption(\"disableInput\")) return CodeMirror.Pass;\n    var ranges = cm.listSelections(), replacements = [];\n    for (var i = 0; i < ranges.length; i++) {\n      if (!ranges[i].empty()) return CodeMirror.Pass;\n      var pos = ranges[i].head, tok = cm.getTokenAt(pos);\n      var inner = CodeMirror.innerMode(cm.getMode(), tok.state), state = inner.state;\n      if (inner.mode.name != \"xml\" || !state.tagName) return CodeMirror.Pass;\n\n      var opt = cm.getOption(\"autoCloseTags\"), html = inner.mode.configuration == \"html\";\n      var dontCloseTags = (typeof opt == \"object\" && opt.dontCloseTags) || (html && htmlDontClose);\n      var indentTags = (typeof opt == \"object\" && opt.indentTags) || (html && htmlIndent);\n\n      var tagName = state.tagName;\n      if (tok.end > pos.ch) tagName = tagName.slice(0, tagName.length - tok.end + pos.ch);\n      var lowerTagName = tagName.toLowerCase();\n      // Don't process the '>' at the end of an end-tag or self-closing tag\n      if (!tagName ||\n          tok.type == \"string\" && (tok.end != pos.ch || !/[\\\"\\']/.test(tok.string.charAt(tok.string.length - 1)) || tok.string.length == 1) ||\n          tok.type == \"tag\" && state.type == \"closeTag\" ||\n          tok.string.indexOf(\"/\") == (tok.string.length - 1) || // match something like <someTagName />\n          dontCloseTags && indexOf(dontCloseTags, lowerTagName) > -1 ||\n          closingTagExists(cm, tagName, pos, state, true))\n        return CodeMirror.Pass;\n\n      var indent = indentTags && indexOf(indentTags, lowerTagName) > -1;\n      replacements[i] = {indent: indent,\n                         text: \">\" + (indent ? \"\\n\\n\" : \"\") + \"</\" + tagName + \">\",\n                         newPos: indent ? CodeMirror.Pos(pos.line + 1, 0) : CodeMirror.Pos(pos.line, pos.ch + 1)};\n    }\n\n    for (var i = ranges.length - 1; i >= 0; i--) {\n      var info = replacements[i];\n      cm.replaceRange(info.text, ranges[i].head, ranges[i].anchor, \"+insert\");\n      var sel = cm.listSelections().slice(0);\n      sel[i] = {head: info.newPos, anchor: info.newPos};\n      cm.setSelections(sel);\n      if (info.indent) {\n        cm.indentLine(info.newPos.line, null, true);\n        cm.indentLine(info.newPos.line + 1, null, true);\n      }\n    }\n  }\n\n  function autoCloseCurrent(cm, typingSlash) {\n    var ranges = cm.listSelections(), replacements = [];\n    var head = typingSlash ? \"/\" : \"</\";\n    for (var i = 0; i < ranges.length; i++) {\n      if (!ranges[i].empty()) return CodeMirror.Pass;\n      var pos = ranges[i].head, tok = cm.getTokenAt(pos);\n      var inner = CodeMirror.innerMode(cm.getMode(), tok.state), state = inner.state;\n      if (typingSlash && (tok.type == \"string\" || tok.string.charAt(0) != \"<\" ||\n                          tok.start != pos.ch - 1))\n        return CodeMirror.Pass;\n      // Kludge to get around the fact that we are not in XML mode\n      // when completing in JS/CSS snippet in htmlmixed mode. Does not\n      // work for other XML embedded languages (there is no general\n      // way to go from a mixed mode to its current XML state).\n      if (inner.mode.name != \"xml\") {\n        if (cm.getMode().name == \"htmlmixed\" && inner.mode.name == \"javascript\")\n          replacements[i] = head + \"script>\";\n        else if (cm.getMode().name == \"htmlmixed\" && inner.mode.name == \"css\")\n          replacements[i] = head + \"style>\";\n        else\n          return CodeMirror.Pass;\n      } else {\n        if (!state.context || !state.context.tagName ||\n            closingTagExists(cm, state.context.tagName, pos, state))\n          return CodeMirror.Pass;\n        replacements[i] = head + state.context.tagName + \">\";\n      }\n    }\n    cm.replaceSelections(replacements);\n    ranges = cm.listSelections();\n    for (var i = 0; i < ranges.length; i++)\n      if (i == ranges.length - 1 || ranges[i].head.line < ranges[i + 1].head.line)\n        cm.indentLine(ranges[i].head.line);\n  }\n\n  function autoCloseSlash(cm) {\n    if (cm.getOption(\"disableInput\")) return CodeMirror.Pass;\n    return autoCloseCurrent(cm, true);\n  }\n\n  CodeMirror.commands.closeTag = function(cm) { return autoCloseCurrent(cm); };\n\n  function indexOf(collection, elt) {\n    if (collection.indexOf) return collection.indexOf(elt);\n    for (var i = 0, e = collection.length; i < e; ++i)\n      if (collection[i] == elt) return i;\n    return -1;\n  }\n\n  // If xml-fold is loaded, we use its functionality to try and verify\n  // whether a given tag is actually unclosed.\n  function closingTagExists(cm, tagName, pos, state, newTag) {\n    if (!CodeMirror.scanForClosingTag) return false;\n    var end = Math.min(cm.lastLine() + 1, pos.line + 500);\n    var nextClose = CodeMirror.scanForClosingTag(cm, pos, null, end);\n    if (!nextClose || nextClose.tag != tagName) return false;\n    var cx = state.context;\n    // If the immediate wrapping context contains onCx instances of\n    // the same tag, a closing tag only exists if there are at least\n    // that many closing tags of that type following.\n    for (var onCx = newTag ? 1 : 0; cx && cx.tagName == tagName; cx = cx.prev) ++onCx;\n    pos = nextClose.to;\n    for (var i = 1; i < onCx; i++) {\n      var next = CodeMirror.scanForClosingTag(cm, pos, null, end);\n      if (!next || next.tag != tagName) return false;\n      pos = next.to;\n    }\n    return true;\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/edit/continuelist.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var listRE = /^(\\s*)(>[> ]*|[*+-]\\s|(\\d+)\\.)(\\s*)/,\n      emptyListRE = /^(\\s*)(>[> ]*|[*+-]|(\\d+)\\.)(\\s*)$/,\n      unorderedListRE = /[*+-]\\s/;\n\n  CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) {\n    if (cm.getOption(\"disableInput\")) return CodeMirror.Pass;\n    var ranges = cm.listSelections(), replacements = [];\n    for (var i = 0; i < ranges.length; i++) {\n      var pos = ranges[i].head, match;\n      var eolState = cm.getStateAfter(pos.line);\n      var inList = eolState.list !== false;\n      var inQuote = eolState.quote !== false;\n\n      if (!ranges[i].empty() || (!inList && !inQuote) || !(match = cm.getLine(pos.line).match(listRE))) {\n        cm.execCommand(\"newlineAndIndent\");\n        return;\n      }\n      if (cm.getLine(pos.line).match(emptyListRE)) {\n        cm.replaceRange(\"\", {\n          line: pos.line, ch: 0\n        }, {\n          line: pos.line, ch: pos.ch + 1\n        });\n        replacements[i] = \"\\n\";\n\n      } else {\n        var indent = match[1], after = match[4];\n        var bullet = unorderedListRE.test(match[2]) || match[2].indexOf(\">\") >= 0\n          ? match[2]\n          : (parseInt(match[3], 10) + 1) + \".\";\n\n        replacements[i] = \"\\n\" + indent + bullet + after;\n      }\n    }\n\n    cm.replaceSelections(replacements);\n  };\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/edit/matchbrackets.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  var ie_lt8 = /MSIE \\d/.test(navigator.userAgent) &&\n    (document.documentMode == null || document.documentMode < 8);\n\n  var Pos = CodeMirror.Pos;\n\n  var matching = {\"(\": \")>\", \")\": \"(<\", \"[\": \"]>\", \"]\": \"[<\", \"{\": \"}>\", \"}\": \"{<\"};\n\n  function findMatchingBracket(cm, where, strict, config) {\n    var line = cm.getLineHandle(where.line), pos = where.ch - 1;\n    var match = (pos >= 0 && matching[line.text.charAt(pos)]) || matching[line.text.charAt(++pos)];\n    if (!match) return null;\n    var dir = match.charAt(1) == \">\" ? 1 : -1;\n    if (strict && (dir > 0) != (pos == where.ch)) return null;\n    var style = cm.getTokenTypeAt(Pos(where.line, pos + 1));\n\n    var found = scanForBracket(cm, Pos(where.line, pos + (dir > 0 ? 1 : 0)), dir, style || null, config);\n    if (found == null) return null;\n    return {from: Pos(where.line, pos), to: found && found.pos,\n            match: found && found.ch == match.charAt(0), forward: dir > 0};\n  }\n\n  // bracketRegex is used to specify which type of bracket to scan\n  // should be a regexp, e.g. /[[\\]]/\n  //\n  // Note: If \"where\" is on an open bracket, then this bracket is ignored.\n  //\n  // Returns false when no bracket was found, null when it reached\n  // maxScanLines and gave up\n  function scanForBracket(cm, where, dir, style, config) {\n    var maxScanLen = (config && config.maxScanLineLength) || 10000;\n    var maxScanLines = (config && config.maxScanLines) || 1000;\n\n    var stack = [];\n    var re = config && config.bracketRegex ? config.bracketRegex : /[(){}[\\]]/;\n    var lineEnd = dir > 0 ? Math.min(where.line + maxScanLines, cm.lastLine() + 1)\n                          : Math.max(cm.firstLine() - 1, where.line - maxScanLines);\n    for (var lineNo = where.line; lineNo != lineEnd; lineNo += dir) {\n      var line = cm.getLine(lineNo);\n      if (!line) continue;\n      var pos = dir > 0 ? 0 : line.length - 1, end = dir > 0 ? line.length : -1;\n      if (line.length > maxScanLen) continue;\n      if (lineNo == where.line) pos = where.ch - (dir < 0 ? 1 : 0);\n      for (; pos != end; pos += dir) {\n        var ch = line.charAt(pos);\n        if (re.test(ch) && (style === undefined || cm.getTokenTypeAt(Pos(lineNo, pos + 1)) == style)) {\n          var match = matching[ch];\n          if ((match.charAt(1) == \">\") == (dir > 0)) stack.push(ch);\n          else if (!stack.length) return {pos: Pos(lineNo, pos), ch: ch};\n          else stack.pop();\n        }\n      }\n    }\n    return lineNo - dir == (dir > 0 ? cm.lastLine() : cm.firstLine()) ? false : null;\n  }\n\n  function matchBrackets(cm, autoclear, config) {\n    // Disable brace matching in long lines, since it'll cause hugely slow updates\n    var maxHighlightLen = cm.state.matchBrackets.maxHighlightLineLength || 1000;\n    var marks = [], ranges = cm.listSelections();\n    for (var i = 0; i < ranges.length; i++) {\n      var match = ranges[i].empty() && findMatchingBracket(cm, ranges[i].head, false, config);\n      if (match && cm.getLine(match.from.line).length <= maxHighlightLen) {\n        var style = match.match ? \"CodeMirror-matchingbracket\" : \"CodeMirror-nonmatchingbracket\";\n        marks.push(cm.markText(match.from, Pos(match.from.line, match.from.ch + 1), {className: style}));\n        if (match.to && cm.getLine(match.to.line).length <= maxHighlightLen)\n          marks.push(cm.markText(match.to, Pos(match.to.line, match.to.ch + 1), {className: style}));\n      }\n    }\n\n    if (marks.length) {\n      // Kludge to work around the IE bug from issue #1193, where text\n      // input stops going to the textare whever this fires.\n      if (ie_lt8 && cm.state.focused) cm.focus();\n\n      var clear = function() {\n        cm.operation(function() {\n          for (var i = 0; i < marks.length; i++) marks[i].clear();\n        });\n      };\n      if (autoclear) setTimeout(clear, 800);\n      else return clear;\n    }\n  }\n\n  var currentlyHighlighted = null;\n  function doMatchBrackets(cm) {\n    cm.operation(function() {\n      if (currentlyHighlighted) {currentlyHighlighted(); currentlyHighlighted = null;}\n      currentlyHighlighted = matchBrackets(cm, false, cm.state.matchBrackets);\n    });\n  }\n\n  CodeMirror.defineOption(\"matchBrackets\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init)\n      cm.off(\"cursorActivity\", doMatchBrackets);\n    if (val) {\n      cm.state.matchBrackets = typeof val == \"object\" ? val : {};\n      cm.on(\"cursorActivity\", doMatchBrackets);\n    }\n  });\n\n  CodeMirror.defineExtension(\"matchBrackets\", function() {matchBrackets(this, true);});\n  CodeMirror.defineExtension(\"findMatchingBracket\", function(pos, strict, config){\n    return findMatchingBracket(this, pos, strict, config);\n  });\n  CodeMirror.defineExtension(\"scanForBracket\", function(pos, dir, style, config){\n    return scanForBracket(this, pos, dir, style, config);\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/edit/matchtags.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../fold/xml-fold\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../fold/xml-fold\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"matchTags\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      cm.off(\"cursorActivity\", doMatchTags);\n      cm.off(\"viewportChange\", maybeUpdateMatch);\n      clear(cm);\n    }\n    if (val) {\n      cm.state.matchBothTags = typeof val == \"object\" && val.bothTags;\n      cm.on(\"cursorActivity\", doMatchTags);\n      cm.on(\"viewportChange\", maybeUpdateMatch);\n      doMatchTags(cm);\n    }\n  });\n\n  function clear(cm) {\n    if (cm.state.tagHit) cm.state.tagHit.clear();\n    if (cm.state.tagOther) cm.state.tagOther.clear();\n    cm.state.tagHit = cm.state.tagOther = null;\n  }\n\n  function doMatchTags(cm) {\n    cm.state.failedTagMatch = false;\n    cm.operation(function() {\n      clear(cm);\n      if (cm.somethingSelected()) return;\n      var cur = cm.getCursor(), range = cm.getViewport();\n      range.from = Math.min(range.from, cur.line); range.to = Math.max(cur.line + 1, range.to);\n      var match = CodeMirror.findMatchingTag(cm, cur, range);\n      if (!match) return;\n      if (cm.state.matchBothTags) {\n        var hit = match.at == \"open\" ? match.open : match.close;\n        if (hit) cm.state.tagHit = cm.markText(hit.from, hit.to, {className: \"CodeMirror-matchingtag\"});\n      }\n      var other = match.at == \"close\" ? match.open : match.close;\n      if (other)\n        cm.state.tagOther = cm.markText(other.from, other.to, {className: \"CodeMirror-matchingtag\"});\n      else\n        cm.state.failedTagMatch = true;\n    });\n  }\n\n  function maybeUpdateMatch(cm) {\n    if (cm.state.failedTagMatch) doMatchTags(cm);\n  }\n\n  CodeMirror.commands.toMatchingTag = function(cm) {\n    var found = CodeMirror.findMatchingTag(cm, cm.getCursor());\n    if (found) {\n      var other = found.at == \"close\" ? found.open : found.close;\n      if (other) cm.extendSelection(other.to, other.from);\n    }\n  };\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/edit/trailingspace.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  CodeMirror.defineOption(\"showTrailingSpace\", false, function(cm, val, prev) {\n    if (prev == CodeMirror.Init) prev = false;\n    if (prev && !val)\n      cm.removeOverlay(\"trailingspace\");\n    else if (!prev && val)\n      cm.addOverlay({\n        token: function(stream) {\n          for (var l = stream.string.length, i = l; i && /\\s/.test(stream.string.charAt(i - 1)); --i) {}\n          if (i > stream.pos) { stream.pos = i; return null; }\n          stream.pos = l;\n          return \"trailingspace\";\n        },\n        name: \"trailingspace\"\n      });\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/fold/brace-fold.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.registerHelper(\"fold\", \"brace\", function(cm, start) {\n  var line = start.line, lineText = cm.getLine(line);\n  var startCh, tokenType;\n\n  function findOpening(openCh) {\n    for (var at = start.ch, pass = 0;;) {\n      var found = at <= 0 ? -1 : lineText.lastIndexOf(openCh, at - 1);\n      if (found == -1) {\n        if (pass == 1) break;\n        pass = 1;\n        at = lineText.length;\n        continue;\n      }\n      if (pass == 1 && found < start.ch) break;\n      tokenType = cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1));\n      if (!/^(comment|string)/.test(tokenType)) return found + 1;\n      at = found - 1;\n    }\n  }\n\n  var startToken = \"{\", endToken = \"}\", startCh = findOpening(\"{\");\n  if (startCh == null) {\n    startToken = \"[\", endToken = \"]\";\n    startCh = findOpening(\"[\");\n  }\n\n  if (startCh == null) return;\n  var count = 1, lastLine = cm.lastLine(), end, endCh;\n  outer: for (var i = line; i <= lastLine; ++i) {\n    var text = cm.getLine(i), pos = i == line ? startCh : 0;\n    for (;;) {\n      var nextOpen = text.indexOf(startToken, pos), nextClose = text.indexOf(endToken, pos);\n      if (nextOpen < 0) nextOpen = text.length;\n      if (nextClose < 0) nextClose = text.length;\n      pos = Math.min(nextOpen, nextClose);\n      if (pos == text.length) break;\n      if (cm.getTokenTypeAt(CodeMirror.Pos(i, pos + 1)) == tokenType) {\n        if (pos == nextOpen) ++count;\n        else if (!--count) { end = i; endCh = pos; break outer; }\n      }\n      ++pos;\n    }\n  }\n  if (end == null || line == end && endCh == startCh) return;\n  return {from: CodeMirror.Pos(line, startCh),\n          to: CodeMirror.Pos(end, endCh)};\n});\n\nCodeMirror.registerHelper(\"fold\", \"import\", function(cm, start) {\n  function hasImport(line) {\n    if (line < cm.firstLine() || line > cm.lastLine()) return null;\n    var start = cm.getTokenAt(CodeMirror.Pos(line, 1));\n    if (!/\\S/.test(start.string)) start = cm.getTokenAt(CodeMirror.Pos(line, start.end + 1));\n    if (start.type != \"keyword\" || start.string != \"import\") return null;\n    // Now find closing semicolon, return its position\n    for (var i = line, e = Math.min(cm.lastLine(), line + 10); i <= e; ++i) {\n      var text = cm.getLine(i), semi = text.indexOf(\";\");\n      if (semi != -1) return {startCh: start.end, end: CodeMirror.Pos(i, semi)};\n    }\n  }\n\n  var start = start.line, has = hasImport(start), prev;\n  if (!has || hasImport(start - 1) || ((prev = hasImport(start - 2)) && prev.end.line == start - 1))\n    return null;\n  for (var end = has.end;;) {\n    var next = hasImport(end.line + 1);\n    if (next == null) break;\n    end = next.end;\n  }\n  return {from: cm.clipPos(CodeMirror.Pos(start, has.startCh + 1)), to: end};\n});\n\nCodeMirror.registerHelper(\"fold\", \"include\", function(cm, start) {\n  function hasInclude(line) {\n    if (line < cm.firstLine() || line > cm.lastLine()) return null;\n    var start = cm.getTokenAt(CodeMirror.Pos(line, 1));\n    if (!/\\S/.test(start.string)) start = cm.getTokenAt(CodeMirror.Pos(line, start.end + 1));\n    if (start.type == \"meta\" && start.string.slice(0, 8) == \"#include\") return start.start + 8;\n  }\n\n  var start = start.line, has = hasInclude(start);\n  if (has == null || hasInclude(start - 1) != null) return null;\n  for (var end = start;;) {\n    var next = hasInclude(end + 1);\n    if (next == null) break;\n    ++end;\n  }\n  return {from: CodeMirror.Pos(start, has + 1),\n          to: cm.clipPos(CodeMirror.Pos(end))};\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/fold/comment-fold.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.registerGlobalHelper(\"fold\", \"comment\", function(mode) {\n  return mode.blockCommentStart && mode.blockCommentEnd;\n}, function(cm, start) {\n  var mode = cm.getModeAt(start), startToken = mode.blockCommentStart, endToken = mode.blockCommentEnd;\n  if (!startToken || !endToken) return;\n  var line = start.line, lineText = cm.getLine(line);\n\n  var startCh;\n  for (var at = start.ch, pass = 0;;) {\n    var found = at <= 0 ? -1 : lineText.lastIndexOf(startToken, at - 1);\n    if (found == -1) {\n      if (pass == 1) return;\n      pass = 1;\n      at = lineText.length;\n      continue;\n    }\n    if (pass == 1 && found < start.ch) return;\n    if (/comment/.test(cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1)))) {\n      startCh = found + startToken.length;\n      break;\n    }\n    at = found - 1;\n  }\n\n  var depth = 1, lastLine = cm.lastLine(), end, endCh;\n  outer: for (var i = line; i <= lastLine; ++i) {\n    var text = cm.getLine(i), pos = i == line ? startCh : 0;\n    for (;;) {\n      var nextOpen = text.indexOf(startToken, pos), nextClose = text.indexOf(endToken, pos);\n      if (nextOpen < 0) nextOpen = text.length;\n      if (nextClose < 0) nextClose = text.length;\n      pos = Math.min(nextOpen, nextClose);\n      if (pos == text.length) break;\n      if (pos == nextOpen) ++depth;\n      else if (!--depth) { end = i; endCh = pos; break outer; }\n      ++pos;\n    }\n  }\n  if (end == null || line == end && endCh == startCh) return;\n  return {from: CodeMirror.Pos(line, startCh),\n          to: CodeMirror.Pos(end, endCh)};\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/fold/foldcode.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  function doFold(cm, pos, options, force) {\n    if (options && options.call) {\n      var finder = options;\n      options = null;\n    } else {\n      var finder = getOption(cm, options, \"rangeFinder\");\n    }\n    if (typeof pos == \"number\") pos = CodeMirror.Pos(pos, 0);\n    var minSize = getOption(cm, options, \"minFoldSize\");\n\n    function getRange(allowFolded) {\n      var range = finder(cm, pos);\n      if (!range || range.to.line - range.from.line < minSize) return null;\n      var marks = cm.findMarksAt(range.from);\n      for (var i = 0; i < marks.length; ++i) {\n        if (marks[i].__isFold && force !== \"fold\") {\n          if (!allowFolded) return null;\n          range.cleared = true;\n          marks[i].clear();\n        }\n      }\n      return range;\n    }\n\n    var range = getRange(true);\n    if (getOption(cm, options, \"scanUp\")) while (!range && pos.line > cm.firstLine()) {\n      pos = CodeMirror.Pos(pos.line - 1, 0);\n      range = getRange(false);\n    }\n    if (!range || range.cleared || force === \"unfold\") return;\n\n    var myWidget = makeWidget(cm, options);\n    CodeMirror.on(myWidget, \"mousedown\", function(e) {\n      myRange.clear();\n      CodeMirror.e_preventDefault(e);\n    });\n    var myRange = cm.markText(range.from, range.to, {\n      replacedWith: myWidget,\n      clearOnEnter: true,\n      __isFold: true\n    });\n    myRange.on(\"clear\", function(from, to) {\n      CodeMirror.signal(cm, \"unfold\", cm, from, to);\n    });\n    CodeMirror.signal(cm, \"fold\", cm, range.from, range.to);\n  }\n\n  function makeWidget(cm, options) {\n    var widget = getOption(cm, options, \"widget\");\n    if (typeof widget == \"string\") {\n      var text = document.createTextNode(widget);\n      widget = document.createElement(\"span\");\n      widget.appendChild(text);\n      widget.className = \"CodeMirror-foldmarker\";\n    }\n    return widget;\n  }\n\n  // Clumsy backwards-compatible interface\n  CodeMirror.newFoldFunction = function(rangeFinder, widget) {\n    return function(cm, pos) { doFold(cm, pos, {rangeFinder: rangeFinder, widget: widget}); };\n  };\n\n  // New-style interface\n  CodeMirror.defineExtension(\"foldCode\", function(pos, options, force) {\n    doFold(this, pos, options, force);\n  });\n\n  CodeMirror.defineExtension(\"isFolded\", function(pos) {\n    var marks = this.findMarksAt(pos);\n    for (var i = 0; i < marks.length; ++i)\n      if (marks[i].__isFold) return true;\n  });\n\n  CodeMirror.commands.toggleFold = function(cm) {\n    cm.foldCode(cm.getCursor());\n  };\n  CodeMirror.commands.fold = function(cm) {\n    cm.foldCode(cm.getCursor(), null, \"fold\");\n  };\n  CodeMirror.commands.unfold = function(cm) {\n    cm.foldCode(cm.getCursor(), null, \"unfold\");\n  };\n  CodeMirror.commands.foldAll = function(cm) {\n    cm.operation(function() {\n      for (var i = cm.firstLine(), e = cm.lastLine(); i <= e; i++)\n        cm.foldCode(CodeMirror.Pos(i, 0), null, \"fold\");\n    });\n  };\n  CodeMirror.commands.unfoldAll = function(cm) {\n    cm.operation(function() {\n      for (var i = cm.firstLine(), e = cm.lastLine(); i <= e; i++)\n        cm.foldCode(CodeMirror.Pos(i, 0), null, \"unfold\");\n    });\n  };\n\n  CodeMirror.registerHelper(\"fold\", \"combine\", function() {\n    var funcs = Array.prototype.slice.call(arguments, 0);\n    return function(cm, start) {\n      for (var i = 0; i < funcs.length; ++i) {\n        var found = funcs[i](cm, start);\n        if (found) return found;\n      }\n    };\n  });\n\n  CodeMirror.registerHelper(\"fold\", \"auto\", function(cm, start) {\n    var helpers = cm.getHelpers(start, \"fold\");\n    for (var i = 0; i < helpers.length; i++) {\n      var cur = helpers[i](cm, start);\n      if (cur) return cur;\n    }\n  });\n\n  var defaultOptions = {\n    rangeFinder: CodeMirror.fold.auto,\n    widget: \"\\u2194\",\n    minFoldSize: 0,\n    scanUp: false\n  };\n\n  CodeMirror.defineOption(\"foldOptions\", null);\n\n  function getOption(cm, options, name) {\n    if (options && options[name] !== undefined)\n      return options[name];\n    var editorOptions = cm.options.foldOptions;\n    if (editorOptions && editorOptions[name] !== undefined)\n      return editorOptions[name];\n    return defaultOptions[name];\n  }\n\n  CodeMirror.defineExtension(\"foldOption\", function(options, name) {\n    return getOption(this, options, name);\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/fold/foldgutter.css",
    "content": ".CodeMirror-foldmarker {\n  color: blue;\n  text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;\n  font-family: arial;\n  line-height: .3;\n  cursor: pointer;\n}\n.CodeMirror-foldgutter {\n  width: .7em;\n}\n.CodeMirror-foldgutter-open,\n.CodeMirror-foldgutter-folded {\n  cursor: pointer;\n}\n.CodeMirror-foldgutter-open:after {\n  content: \"\\25BE\";\n}\n.CodeMirror-foldgutter-folded:after {\n  content: \"\\25B8\";\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/fold/foldgutter.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"./foldcode\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"./foldcode\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"foldGutter\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      cm.clearGutter(cm.state.foldGutter.options.gutter);\n      cm.state.foldGutter = null;\n      cm.off(\"gutterClick\", onGutterClick);\n      cm.off(\"change\", onChange);\n      cm.off(\"viewportChange\", onViewportChange);\n      cm.off(\"fold\", onFold);\n      cm.off(\"unfold\", onFold);\n      cm.off(\"swapDoc\", updateInViewport);\n    }\n    if (val) {\n      cm.state.foldGutter = new State(parseOptions(val));\n      updateInViewport(cm);\n      cm.on(\"gutterClick\", onGutterClick);\n      cm.on(\"change\", onChange);\n      cm.on(\"viewportChange\", onViewportChange);\n      cm.on(\"fold\", onFold);\n      cm.on(\"unfold\", onFold);\n      cm.on(\"swapDoc\", updateInViewport);\n    }\n  });\n\n  var Pos = CodeMirror.Pos;\n\n  function State(options) {\n    this.options = options;\n    this.from = this.to = 0;\n  }\n\n  function parseOptions(opts) {\n    if (opts === true) opts = {};\n    if (opts.gutter == null) opts.gutter = \"CodeMirror-foldgutter\";\n    if (opts.indicatorOpen == null) opts.indicatorOpen = \"CodeMirror-foldgutter-open\";\n    if (opts.indicatorFolded == null) opts.indicatorFolded = \"CodeMirror-foldgutter-folded\";\n    return opts;\n  }\n\n  function isFolded(cm, line) {\n    var marks = cm.findMarksAt(Pos(line));\n    for (var i = 0; i < marks.length; ++i)\n      if (marks[i].__isFold && marks[i].find().from.line == line) return true;\n  }\n\n  function marker(spec) {\n    if (typeof spec == \"string\") {\n      var elt = document.createElement(\"div\");\n      elt.className = spec + \" CodeMirror-guttermarker-subtle\";\n      return elt;\n    } else {\n      return spec.cloneNode(true);\n    }\n  }\n\n  function updateFoldInfo(cm, from, to) {\n    var opts = cm.state.foldGutter.options, cur = from;\n    var minSize = cm.foldOption(opts, \"minFoldSize\");\n    var func = cm.foldOption(opts, \"rangeFinder\");\n    cm.eachLine(from, to, function(line) {\n      var mark = null;\n      if (isFolded(cm, cur)) {\n        mark = marker(opts.indicatorFolded);\n      } else {\n        var pos = Pos(cur, 0);\n        var range = func && func(cm, pos);\n        if (range && range.to.line - range.from.line >= minSize)\n          mark = marker(opts.indicatorOpen);\n      }\n      cm.setGutterMarker(line, opts.gutter, mark);\n      ++cur;\n    });\n  }\n\n  function updateInViewport(cm) {\n    var vp = cm.getViewport(), state = cm.state.foldGutter;\n    if (!state) return;\n    cm.operation(function() {\n      updateFoldInfo(cm, vp.from, vp.to);\n    });\n    state.from = vp.from; state.to = vp.to;\n  }\n\n  function onGutterClick(cm, line, gutter) {\n    var state = cm.state.foldGutter;\n    if (!state) return;\n    var opts = state.options;\n    if (gutter != opts.gutter) return;\n    cm.foldCode(Pos(line, 0), opts.rangeFinder);\n  }\n\n  function onChange(cm) {\n    var state = cm.state.foldGutter;\n    if (!state) return;\n    var opts = state.options;\n    state.from = state.to = 0;\n    clearTimeout(state.changeUpdate);\n    state.changeUpdate = setTimeout(function() { updateInViewport(cm); }, opts.foldOnChangeTimeSpan || 600);\n  }\n\n  function onViewportChange(cm) {\n    var state = cm.state.foldGutter;\n    if (!state) return;\n    var opts = state.options;\n    clearTimeout(state.changeUpdate);\n    state.changeUpdate = setTimeout(function() {\n      var vp = cm.getViewport();\n      if (state.from == state.to || vp.from - state.to > 20 || state.from - vp.to > 20) {\n        updateInViewport(cm);\n      } else {\n        cm.operation(function() {\n          if (vp.from < state.from) {\n            updateFoldInfo(cm, vp.from, state.from);\n            state.from = vp.from;\n          }\n          if (vp.to > state.to) {\n            updateFoldInfo(cm, state.to, vp.to);\n            state.to = vp.to;\n          }\n        });\n      }\n    }, opts.updateViewportTimeSpan || 400);\n  }\n\n  function onFold(cm, from) {\n    var state = cm.state.foldGutter;\n    if (!state) return;\n    var line = from.line;\n    if (line >= state.from && line < state.to)\n      updateFoldInfo(cm, line, line + 1);\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/fold/indent-fold.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.registerHelper(\"fold\", \"indent\", function(cm, start) {\n  var tabSize = cm.getOption(\"tabSize\"), firstLine = cm.getLine(start.line);\n  if (!/\\S/.test(firstLine)) return;\n  var getIndent = function(line) {\n    return CodeMirror.countColumn(line, null, tabSize);\n  };\n  var myIndent = getIndent(firstLine);\n  var lastLineInFold = null;\n  // Go through lines until we find a line that definitely doesn't belong in\n  // the block we're folding, or to the end.\n  for (var i = start.line + 1, end = cm.lastLine(); i <= end; ++i) {\n    var curLine = cm.getLine(i);\n    var curIndent = getIndent(curLine);\n    if (curIndent > myIndent) {\n      // Lines with a greater indent are considered part of the block.\n      lastLineInFold = i;\n    } else if (!/\\S/.test(curLine)) {\n      // Empty lines might be breaks within the block we're trying to fold.\n    } else {\n      // A non-empty line at an indent equal to or less than ours marks the\n      // start of another block.\n      break;\n    }\n  }\n  if (lastLineInFold) return {\n    from: CodeMirror.Pos(start.line, firstLine.length),\n    to: CodeMirror.Pos(lastLineInFold, cm.getLine(lastLineInFold).length)\n  };\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/fold/markdown-fold.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.registerHelper(\"fold\", \"markdown\", function(cm, start) {\n  var maxDepth = 100;\n\n  function isHeader(lineNo) {\n    var tokentype = cm.getTokenTypeAt(CodeMirror.Pos(lineNo, 0));\n    return tokentype && /\\bheader\\b/.test(tokentype);\n  }\n\n  function headerLevel(lineNo, line, nextLine) {\n    var match = line && line.match(/^#+/);\n    if (match && isHeader(lineNo)) return match[0].length;\n    match = nextLine && nextLine.match(/^[=\\-]+\\s*$/);\n    if (match && isHeader(lineNo + 1)) return nextLine[0] == \"=\" ? 1 : 2;\n    return maxDepth;\n  }\n\n  var firstLine = cm.getLine(start.line), nextLine = cm.getLine(start.line + 1);\n  var level = headerLevel(start.line, firstLine, nextLine);\n  if (level === maxDepth) return undefined;\n\n  var lastLineNo = cm.lastLine();\n  var end = start.line, nextNextLine = cm.getLine(end + 2);\n  while (end < lastLineNo) {\n    if (headerLevel(end + 1, nextLine, nextNextLine) <= level) break;\n    ++end;\n    nextLine = nextNextLine;\n    nextNextLine = cm.getLine(end + 2);\n  }\n\n  return {\n    from: CodeMirror.Pos(start.line, firstLine.length),\n    to: CodeMirror.Pos(end, cm.getLine(end).length)\n  };\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/fold/xml-fold.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var Pos = CodeMirror.Pos;\n  function cmp(a, b) { return a.line - b.line || a.ch - b.ch; }\n\n  var nameStartChar = \"A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\";\n  var nameChar = nameStartChar + \"\\-\\:\\.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040\";\n  var xmlTagStart = new RegExp(\"<(/?)([\" + nameStartChar + \"][\" + nameChar + \"]*)\", \"g\");\n\n  function Iter(cm, line, ch, range) {\n    this.line = line; this.ch = ch;\n    this.cm = cm; this.text = cm.getLine(line);\n    this.min = range ? range.from : cm.firstLine();\n    this.max = range ? range.to - 1 : cm.lastLine();\n  }\n\n  function tagAt(iter, ch) {\n    var type = iter.cm.getTokenTypeAt(Pos(iter.line, ch));\n    return type && /\\btag\\b/.test(type);\n  }\n\n  function nextLine(iter) {\n    if (iter.line >= iter.max) return;\n    iter.ch = 0;\n    iter.text = iter.cm.getLine(++iter.line);\n    return true;\n  }\n  function prevLine(iter) {\n    if (iter.line <= iter.min) return;\n    iter.text = iter.cm.getLine(--iter.line);\n    iter.ch = iter.text.length;\n    return true;\n  }\n\n  function toTagEnd(iter) {\n    for (;;) {\n      var gt = iter.text.indexOf(\">\", iter.ch);\n      if (gt == -1) { if (nextLine(iter)) continue; else return; }\n      if (!tagAt(iter, gt + 1)) { iter.ch = gt + 1; continue; }\n      var lastSlash = iter.text.lastIndexOf(\"/\", gt);\n      var selfClose = lastSlash > -1 && !/\\S/.test(iter.text.slice(lastSlash + 1, gt));\n      iter.ch = gt + 1;\n      return selfClose ? \"selfClose\" : \"regular\";\n    }\n  }\n  function toTagStart(iter) {\n    for (;;) {\n      var lt = iter.ch ? iter.text.lastIndexOf(\"<\", iter.ch - 1) : -1;\n      if (lt == -1) { if (prevLine(iter)) continue; else return; }\n      if (!tagAt(iter, lt + 1)) { iter.ch = lt; continue; }\n      xmlTagStart.lastIndex = lt;\n      iter.ch = lt;\n      var match = xmlTagStart.exec(iter.text);\n      if (match && match.index == lt) return match;\n    }\n  }\n\n  function toNextTag(iter) {\n    for (;;) {\n      xmlTagStart.lastIndex = iter.ch;\n      var found = xmlTagStart.exec(iter.text);\n      if (!found) { if (nextLine(iter)) continue; else return; }\n      if (!tagAt(iter, found.index + 1)) { iter.ch = found.index + 1; continue; }\n      iter.ch = found.index + found[0].length;\n      return found;\n    }\n  }\n  function toPrevTag(iter) {\n    for (;;) {\n      var gt = iter.ch ? iter.text.lastIndexOf(\">\", iter.ch - 1) : -1;\n      if (gt == -1) { if (prevLine(iter)) continue; else return; }\n      if (!tagAt(iter, gt + 1)) { iter.ch = gt; continue; }\n      var lastSlash = iter.text.lastIndexOf(\"/\", gt);\n      var selfClose = lastSlash > -1 && !/\\S/.test(iter.text.slice(lastSlash + 1, gt));\n      iter.ch = gt + 1;\n      return selfClose ? \"selfClose\" : \"regular\";\n    }\n  }\n\n  function findMatchingClose(iter, tag) {\n    var stack = [];\n    for (;;) {\n      var next = toNextTag(iter), end, startLine = iter.line, startCh = iter.ch - (next ? next[0].length : 0);\n      if (!next || !(end = toTagEnd(iter))) return;\n      if (end == \"selfClose\") continue;\n      if (next[1]) { // closing tag\n        for (var i = stack.length - 1; i >= 0; --i) if (stack[i] == next[2]) {\n          stack.length = i;\n          break;\n        }\n        if (i < 0 && (!tag || tag == next[2])) return {\n          tag: next[2],\n          from: Pos(startLine, startCh),\n          to: Pos(iter.line, iter.ch)\n        };\n      } else { // opening tag\n        stack.push(next[2]);\n      }\n    }\n  }\n  function findMatchingOpen(iter, tag) {\n    var stack = [];\n    for (;;) {\n      var prev = toPrevTag(iter);\n      if (!prev) return;\n      if (prev == \"selfClose\") { toTagStart(iter); continue; }\n      var endLine = iter.line, endCh = iter.ch;\n      var start = toTagStart(iter);\n      if (!start) return;\n      if (start[1]) { // closing tag\n        stack.push(start[2]);\n      } else { // opening tag\n        for (var i = stack.length - 1; i >= 0; --i) if (stack[i] == start[2]) {\n          stack.length = i;\n          break;\n        }\n        if (i < 0 && (!tag || tag == start[2])) return {\n          tag: start[2],\n          from: Pos(iter.line, iter.ch),\n          to: Pos(endLine, endCh)\n        };\n      }\n    }\n  }\n\n  CodeMirror.registerHelper(\"fold\", \"xml\", function(cm, start) {\n    var iter = new Iter(cm, start.line, 0);\n    for (;;) {\n      var openTag = toNextTag(iter), end;\n      if (!openTag || iter.line != start.line || !(end = toTagEnd(iter))) return;\n      if (!openTag[1] && end != \"selfClose\") {\n        var start = Pos(iter.line, iter.ch);\n        var close = findMatchingClose(iter, openTag[2]);\n        return close && {from: start, to: close.from};\n      }\n    }\n  });\n  CodeMirror.findMatchingTag = function(cm, pos, range) {\n    var iter = new Iter(cm, pos.line, pos.ch, range);\n    if (iter.text.indexOf(\">\") == -1 && iter.text.indexOf(\"<\") == -1) return;\n    var end = toTagEnd(iter), to = end && Pos(iter.line, iter.ch);\n    var start = end && toTagStart(iter);\n    if (!end || !start || cmp(iter, pos) > 0) return;\n    var here = {from: Pos(iter.line, iter.ch), to: to, tag: start[2]};\n    if (end == \"selfClose\") return {open: here, close: null, at: \"open\"};\n\n    if (start[1]) { // closing tag\n      return {open: findMatchingOpen(iter, start[2]), close: here, at: \"close\"};\n    } else { // opening tag\n      iter = new Iter(cm, to.line, to.ch, range);\n      return {open: here, close: findMatchingClose(iter, start[2]), at: \"open\"};\n    }\n  };\n\n  CodeMirror.findEnclosingTag = function(cm, pos, range) {\n    var iter = new Iter(cm, pos.line, pos.ch, range);\n    for (;;) {\n      var open = findMatchingOpen(iter);\n      if (!open) break;\n      var forward = new Iter(cm, pos.line, pos.ch, range);\n      var close = findMatchingClose(forward, open.tag);\n      if (close) return {open: open, close: close};\n    }\n  };\n\n  // Used by addon/edit/closetag.js\n  CodeMirror.scanForClosingTag = function(cm, pos, name, end) {\n    var iter = new Iter(cm, pos.line, pos.ch, end ? {from: 0, to: end} : null);\n    return findMatchingClose(iter, name);\n  };\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/hint/anyword-hint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var WORD = /[\\w$]+/, RANGE = 500;\n\n  CodeMirror.registerHelper(\"hint\", \"anyword\", function(editor, options) {\n    var word = options && options.word || WORD;\n    var range = options && options.range || RANGE;\n    var cur = editor.getCursor(), curLine = editor.getLine(cur.line);\n    var end = cur.ch, start = end;\n    while (start && word.test(curLine.charAt(start - 1))) --start;\n    var curWord = start != end && curLine.slice(start, end);\n\n    var list = [], seen = {};\n    var re = new RegExp(word.source, \"g\");\n    for (var dir = -1; dir <= 1; dir += 2) {\n      var line = cur.line, endLine = Math.min(Math.max(line + dir * range, editor.firstLine()), editor.lastLine()) + dir;\n      for (; line != endLine; line += dir) {\n        var text = editor.getLine(line), m;\n        while (m = re.exec(text)) {\n          if (line == cur.line && m[0] === curWord) continue;\n          if ((!curWord || m[0].lastIndexOf(curWord, 0) == 0) && !Object.prototype.hasOwnProperty.call(seen, m[0])) {\n            seen[m[0]] = true;\n            list.push(m[0]);\n          }\n        }\n      }\n    }\n    return {list: list, from: CodeMirror.Pos(cur.line, start), to: CodeMirror.Pos(cur.line, end)};\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/hint/css-hint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../../mode/css/css\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../../mode/css/css\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var pseudoClasses = {link: 1, visited: 1, active: 1, hover: 1, focus: 1,\n                       \"first-letter\": 1, \"first-line\": 1, \"first-child\": 1,\n                       before: 1, after: 1, lang: 1};\n\n  CodeMirror.registerHelper(\"hint\", \"css\", function(cm) {\n    var cur = cm.getCursor(), token = cm.getTokenAt(cur);\n    var inner = CodeMirror.innerMode(cm.getMode(), token.state);\n    if (inner.mode.name != \"css\") return;\n\n    var start = token.start, end = cur.ch, word = token.string.slice(0, end - start);\n    if (/[^\\w$_-]/.test(word)) {\n      word = \"\"; start = end = cur.ch;\n    }\n\n    var spec = CodeMirror.resolveMode(\"text/css\");\n\n    var result = [];\n    function add(keywords) {\n      for (var name in keywords)\n        if (!word || name.lastIndexOf(word, 0) == 0)\n          result.push(name);\n    }\n\n    var st = inner.state.state;\n    if (st == \"pseudo\" || token.type == \"variable-3\") {\n      add(pseudoClasses);\n    } else if (st == \"block\" || st == \"maybeprop\") {\n      add(spec.propertyKeywords);\n    } else if (st == \"prop\" || st == \"parens\" || st == \"at\" || st == \"params\") {\n      add(spec.valueKeywords);\n      add(spec.colorKeywords);\n    } else if (st == \"media\" || st == \"media_parens\") {\n      add(spec.mediaTypes);\n      add(spec.mediaFeatures);\n    }\n\n    if (result.length) return {\n      list: result,\n      from: CodeMirror.Pos(cur.line, start),\n      to: CodeMirror.Pos(cur.line, end)\n    };\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/hint/html-hint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"./xml-hint\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"./xml-hint\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var langs = \"ab aa af ak sq am ar an hy as av ae ay az bm ba eu be bn bh bi bs br bg my ca ch ce ny zh cv kw co cr hr cs da dv nl dz en eo et ee fo fj fi fr ff gl ka de el gn gu ht ha he hz hi ho hu ia id ie ga ig ik io is it iu ja jv kl kn kr ks kk km ki rw ky kv kg ko ku kj la lb lg li ln lo lt lu lv gv mk mg ms ml mt mi mr mh mn na nv nb nd ne ng nn no ii nr oc oj cu om or os pa pi fa pl ps pt qu rm rn ro ru sa sc sd se sm sg sr gd sn si sk sl so st es su sw ss sv ta te tg th ti bo tk tl tn to tr ts tt tw ty ug uk ur uz ve vi vo wa cy wo fy xh yi yo za zu\".split(\" \");\n  var targets = [\"_blank\", \"_self\", \"_top\", \"_parent\"];\n  var charsets = [\"ascii\", \"utf-8\", \"utf-16\", \"latin1\", \"latin1\"];\n  var methods = [\"get\", \"post\", \"put\", \"delete\"];\n  var encs = [\"application/x-www-form-urlencoded\", \"multipart/form-data\", \"text/plain\"];\n  var media = [\"all\", \"screen\", \"print\", \"embossed\", \"braille\", \"handheld\", \"print\", \"projection\", \"screen\", \"tty\", \"tv\", \"speech\",\n               \"3d-glasses\", \"resolution [>][<][=] [X]\", \"device-aspect-ratio: X/Y\", \"orientation:portrait\",\n               \"orientation:landscape\", \"device-height: [X]\", \"device-width: [X]\"];\n  var s = { attrs: {} }; // Simple tag, reused for a whole lot of tags\n\n  var data = {\n    a: {\n      attrs: {\n        href: null, ping: null, type: null,\n        media: media,\n        target: targets,\n        hreflang: langs\n      }\n    },\n    abbr: s,\n    acronym: s,\n    address: s,\n    applet: s,\n    area: {\n      attrs: {\n        alt: null, coords: null, href: null, target: null, ping: null,\n        media: media, hreflang: langs, type: null,\n        shape: [\"default\", \"rect\", \"circle\", \"poly\"]\n      }\n    },\n    article: s,\n    aside: s,\n    audio: {\n      attrs: {\n        src: null, mediagroup: null,\n        crossorigin: [\"anonymous\", \"use-credentials\"],\n        preload: [\"none\", \"metadata\", \"auto\"],\n        autoplay: [\"\", \"autoplay\"],\n        loop: [\"\", \"loop\"],\n        controls: [\"\", \"controls\"]\n      }\n    },\n    b: s,\n    base: { attrs: { href: null, target: targets } },\n    basefont: s,\n    bdi: s,\n    bdo: s,\n    big: s,\n    blockquote: { attrs: { cite: null } },\n    body: s,\n    br: s,\n    button: {\n      attrs: {\n        form: null, formaction: null, name: null, value: null,\n        autofocus: [\"\", \"autofocus\"],\n        disabled: [\"\", \"autofocus\"],\n        formenctype: encs,\n        formmethod: methods,\n        formnovalidate: [\"\", \"novalidate\"],\n        formtarget: targets,\n        type: [\"submit\", \"reset\", \"button\"]\n      }\n    },\n    canvas: { attrs: { width: null, height: null } },\n    caption: s,\n    center: s,\n    cite: s,\n    code: s,\n    col: { attrs: { span: null } },\n    colgroup: { attrs: { span: null } },\n    command: {\n      attrs: {\n        type: [\"command\", \"checkbox\", \"radio\"],\n        label: null, icon: null, radiogroup: null, command: null, title: null,\n        disabled: [\"\", \"disabled\"],\n        checked: [\"\", \"checked\"]\n      }\n    },\n    data: { attrs: { value: null } },\n    datagrid: { attrs: { disabled: [\"\", \"disabled\"], multiple: [\"\", \"multiple\"] } },\n    datalist: { attrs: { data: null } },\n    dd: s,\n    del: { attrs: { cite: null, datetime: null } },\n    details: { attrs: { open: [\"\", \"open\"] } },\n    dfn: s,\n    dir: s,\n    div: s,\n    dl: s,\n    dt: s,\n    em: s,\n    embed: { attrs: { src: null, type: null, width: null, height: null } },\n    eventsource: { attrs: { src: null } },\n    fieldset: { attrs: { disabled: [\"\", \"disabled\"], form: null, name: null } },\n    figcaption: s,\n    figure: s,\n    font: s,\n    footer: s,\n    form: {\n      attrs: {\n        action: null, name: null,\n        \"accept-charset\": charsets,\n        autocomplete: [\"on\", \"off\"],\n        enctype: encs,\n        method: methods,\n        novalidate: [\"\", \"novalidate\"],\n        target: targets\n      }\n    },\n    frame: s,\n    frameset: s,\n    h1: s, h2: s, h3: s, h4: s, h5: s, h6: s,\n    head: {\n      attrs: {},\n      children: [\"title\", \"base\", \"link\", \"style\", \"meta\", \"script\", \"noscript\", \"command\"]\n    },\n    header: s,\n    hgroup: s,\n    hr: s,\n    html: {\n      attrs: { manifest: null },\n      children: [\"head\", \"body\"]\n    },\n    i: s,\n    iframe: {\n      attrs: {\n        src: null, srcdoc: null, name: null, width: null, height: null,\n        sandbox: [\"allow-top-navigation\", \"allow-same-origin\", \"allow-forms\", \"allow-scripts\"],\n        seamless: [\"\", \"seamless\"]\n      }\n    },\n    img: {\n      attrs: {\n        alt: null, src: null, ismap: null, usemap: null, width: null, height: null,\n        crossorigin: [\"anonymous\", \"use-credentials\"]\n      }\n    },\n    input: {\n      attrs: {\n        alt: null, dirname: null, form: null, formaction: null,\n        height: null, list: null, max: null, maxlength: null, min: null,\n        name: null, pattern: null, placeholder: null, size: null, src: null,\n        step: null, value: null, width: null,\n        accept: [\"audio/*\", \"video/*\", \"image/*\"],\n        autocomplete: [\"on\", \"off\"],\n        autofocus: [\"\", \"autofocus\"],\n        checked: [\"\", \"checked\"],\n        disabled: [\"\", \"disabled\"],\n        formenctype: encs,\n        formmethod: methods,\n        formnovalidate: [\"\", \"novalidate\"],\n        formtarget: targets,\n        multiple: [\"\", \"multiple\"],\n        readonly: [\"\", \"readonly\"],\n        required: [\"\", \"required\"],\n        type: [\"hidden\", \"text\", \"search\", \"tel\", \"url\", \"email\", \"password\", \"datetime\", \"date\", \"month\",\n               \"week\", \"time\", \"datetime-local\", \"number\", \"range\", \"color\", \"checkbox\", \"radio\",\n               \"file\", \"submit\", \"image\", \"reset\", \"button\"]\n      }\n    },\n    ins: { attrs: { cite: null, datetime: null } },\n    kbd: s,\n    keygen: {\n      attrs: {\n        challenge: null, form: null, name: null,\n        autofocus: [\"\", \"autofocus\"],\n        disabled: [\"\", \"disabled\"],\n        keytype: [\"RSA\"]\n      }\n    },\n    label: { attrs: { \"for\": null, form: null } },\n    legend: s,\n    li: { attrs: { value: null } },\n    link: {\n      attrs: {\n        href: null, type: null,\n        hreflang: langs,\n        media: media,\n        sizes: [\"all\", \"16x16\", \"16x16 32x32\", \"16x16 32x32 64x64\"]\n      }\n    },\n    map: { attrs: { name: null } },\n    mark: s,\n    menu: { attrs: { label: null, type: [\"list\", \"context\", \"toolbar\"] } },\n    meta: {\n      attrs: {\n        content: null,\n        charset: charsets,\n        name: [\"viewport\", \"application-name\", \"author\", \"description\", \"generator\", \"keywords\"],\n        \"http-equiv\": [\"content-language\", \"content-type\", \"default-style\", \"refresh\"]\n      }\n    },\n    meter: { attrs: { value: null, min: null, low: null, high: null, max: null, optimum: null } },\n    nav: s,\n    noframes: s,\n    noscript: s,\n    object: {\n      attrs: {\n        data: null, type: null, name: null, usemap: null, form: null, width: null, height: null,\n        typemustmatch: [\"\", \"typemustmatch\"]\n      }\n    },\n    ol: { attrs: { reversed: [\"\", \"reversed\"], start: null, type: [\"1\", \"a\", \"A\", \"i\", \"I\"] } },\n    optgroup: { attrs: { disabled: [\"\", \"disabled\"], label: null } },\n    option: { attrs: { disabled: [\"\", \"disabled\"], label: null, selected: [\"\", \"selected\"], value: null } },\n    output: { attrs: { \"for\": null, form: null, name: null } },\n    p: s,\n    param: { attrs: { name: null, value: null } },\n    pre: s,\n    progress: { attrs: { value: null, max: null } },\n    q: { attrs: { cite: null } },\n    rp: s,\n    rt: s,\n    ruby: s,\n    s: s,\n    samp: s,\n    script: {\n      attrs: {\n        type: [\"text/javascript\"],\n        src: null,\n        async: [\"\", \"async\"],\n        defer: [\"\", \"defer\"],\n        charset: charsets\n      }\n    },\n    section: s,\n    select: {\n      attrs: {\n        form: null, name: null, size: null,\n        autofocus: [\"\", \"autofocus\"],\n        disabled: [\"\", \"disabled\"],\n        multiple: [\"\", \"multiple\"]\n      }\n    },\n    small: s,\n    source: { attrs: { src: null, type: null, media: null } },\n    span: s,\n    strike: s,\n    strong: s,\n    style: {\n      attrs: {\n        type: [\"text/css\"],\n        media: media,\n        scoped: null\n      }\n    },\n    sub: s,\n    summary: s,\n    sup: s,\n    table: s,\n    tbody: s,\n    td: { attrs: { colspan: null, rowspan: null, headers: null } },\n    textarea: {\n      attrs: {\n        dirname: null, form: null, maxlength: null, name: null, placeholder: null,\n        rows: null, cols: null,\n        autofocus: [\"\", \"autofocus\"],\n        disabled: [\"\", \"disabled\"],\n        readonly: [\"\", \"readonly\"],\n        required: [\"\", \"required\"],\n        wrap: [\"soft\", \"hard\"]\n      }\n    },\n    tfoot: s,\n    th: { attrs: { colspan: null, rowspan: null, headers: null, scope: [\"row\", \"col\", \"rowgroup\", \"colgroup\"] } },\n    thead: s,\n    time: { attrs: { datetime: null } },\n    title: s,\n    tr: s,\n    track: {\n      attrs: {\n        src: null, label: null, \"default\": null,\n        kind: [\"subtitles\", \"captions\", \"descriptions\", \"chapters\", \"metadata\"],\n        srclang: langs\n      }\n    },\n    tt: s,\n    u: s,\n    ul: s,\n    \"var\": s,\n    video: {\n      attrs: {\n        src: null, poster: null, width: null, height: null,\n        crossorigin: [\"anonymous\", \"use-credentials\"],\n        preload: [\"auto\", \"metadata\", \"none\"],\n        autoplay: [\"\", \"autoplay\"],\n        mediagroup: [\"movie\"],\n        muted: [\"\", \"muted\"],\n        controls: [\"\", \"controls\"]\n      }\n    },\n    wbr: s\n  };\n\n  var globalAttrs = {\n    accesskey: [\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\", \"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\"],\n    \"class\": null,\n    contenteditable: [\"true\", \"false\"],\n    contextmenu: null,\n    dir: [\"ltr\", \"rtl\", \"auto\"],\n    draggable: [\"true\", \"false\", \"auto\"],\n    dropzone: [\"copy\", \"move\", \"link\", \"string:\", \"file:\"],\n    hidden: [\"hidden\"],\n    id: null,\n    inert: [\"inert\"],\n    itemid: null,\n    itemprop: null,\n    itemref: null,\n    itemscope: [\"itemscope\"],\n    itemtype: null,\n    lang: [\"en\", \"es\"],\n    spellcheck: [\"true\", \"false\"],\n    style: null,\n    tabindex: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\"],\n    title: null,\n    translate: [\"yes\", \"no\"],\n    onclick: null,\n    rel: [\"stylesheet\", \"alternate\", \"author\", \"bookmark\", \"help\", \"license\", \"next\", \"nofollow\", \"noreferrer\", \"prefetch\", \"prev\", \"search\", \"tag\"]\n  };\n  function populate(obj) {\n    for (var attr in globalAttrs) if (globalAttrs.hasOwnProperty(attr))\n      obj.attrs[attr] = globalAttrs[attr];\n  }\n\n  populate(s);\n  for (var tag in data) if (data.hasOwnProperty(tag) && data[tag] != s)\n    populate(data[tag]);\n\n  CodeMirror.htmlSchema = data;\n  function htmlHint(cm, options) {\n    var local = {schemaInfo: data};\n    if (options) for (var opt in options) local[opt] = options[opt];\n    return CodeMirror.hint.xml(cm, local);\n  }\n  CodeMirror.registerHelper(\"hint\", \"html\", htmlHint);\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/hint/javascript-hint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  var Pos = CodeMirror.Pos;\n\n  function forEach(arr, f) {\n    for (var i = 0, e = arr.length; i < e; ++i) f(arr[i]);\n  }\n\n  function arrayContains(arr, item) {\n    if (!Array.prototype.indexOf) {\n      var i = arr.length;\n      while (i--) {\n        if (arr[i] === item) {\n          return true;\n        }\n      }\n      return false;\n    }\n    return arr.indexOf(item) != -1;\n  }\n\n  function scriptHint(editor, keywords, getToken, options) {\n    // Find the token at the cursor\n    var cur = editor.getCursor(), token = getToken(editor, cur);\n    if (/\\b(?:string|comment)\\b/.test(token.type)) return;\n    token.state = CodeMirror.innerMode(editor.getMode(), token.state).state;\n\n    // If it's not a 'word-style' token, ignore the token.\n    if (!/^[\\w$_]*$/.test(token.string)) {\n      token = {start: cur.ch, end: cur.ch, string: \"\", state: token.state,\n               type: token.string == \".\" ? \"property\" : null};\n    } else if (token.end > cur.ch) {\n      token.end = cur.ch;\n      token.string = token.string.slice(0, cur.ch - token.start);\n    }\n\n    var tprop = token;\n    // If it is a property, find out what it is a property of.\n    while (tprop.type == \"property\") {\n      tprop = getToken(editor, Pos(cur.line, tprop.start));\n      if (tprop.string != \".\") return;\n      tprop = getToken(editor, Pos(cur.line, tprop.start));\n      if (!context) var context = [];\n      context.push(tprop);\n    }\n    return {list: getCompletions(token, context, keywords, options),\n            from: Pos(cur.line, token.start),\n            to: Pos(cur.line, token.end)};\n  }\n\n  function javascriptHint(editor, options) {\n    return scriptHint(editor, javascriptKeywords,\n                      function (e, cur) {return e.getTokenAt(cur);},\n                      options);\n  };\n  CodeMirror.registerHelper(\"hint\", \"javascript\", javascriptHint);\n\n  function getCoffeeScriptToken(editor, cur) {\n  // This getToken, it is for coffeescript, imitates the behavior of\n  // getTokenAt method in javascript.js, that is, returning \"property\"\n  // type and treat \".\" as indepenent token.\n    var token = editor.getTokenAt(cur);\n    if (cur.ch == token.start + 1 && token.string.charAt(0) == '.') {\n      token.end = token.start;\n      token.string = '.';\n      token.type = \"property\";\n    }\n    else if (/^\\.[\\w$_]*$/.test(token.string)) {\n      token.type = \"property\";\n      token.start++;\n      token.string = token.string.replace(/\\./, '');\n    }\n    return token;\n  }\n\n  function coffeescriptHint(editor, options) {\n    return scriptHint(editor, coffeescriptKeywords, getCoffeeScriptToken, options);\n  }\n  CodeMirror.registerHelper(\"hint\", \"coffeescript\", coffeescriptHint);\n\n  var stringProps = (\"charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight \" +\n                     \"toUpperCase toLowerCase split concat match replace search\").split(\" \");\n  var arrayProps = (\"length concat join splice push pop shift unshift slice reverse sort indexOf \" +\n                    \"lastIndexOf every some filter forEach map reduce reduceRight \").split(\" \");\n  var funcProps = \"prototype apply call bind\".split(\" \");\n  var javascriptKeywords = (\"break case catch continue debugger default delete do else false finally for function \" +\n                  \"if in instanceof new null return switch throw true try typeof var void while with\").split(\" \");\n  var coffeescriptKeywords = (\"and break catch class continue delete do else extends false finally for \" +\n                  \"if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes\").split(\" \");\n\n  function getCompletions(token, context, keywords, options) {\n    var found = [], start = token.string, global = options && options.globalScope || window;\n    function maybeAdd(str) {\n      if (str.lastIndexOf(start, 0) == 0 && !arrayContains(found, str)) found.push(str);\n    }\n    function gatherCompletions(obj) {\n      if (typeof obj == \"string\") forEach(stringProps, maybeAdd);\n      else if (obj instanceof Array) forEach(arrayProps, maybeAdd);\n      else if (obj instanceof Function) forEach(funcProps, maybeAdd);\n      for (var name in obj) maybeAdd(name);\n    }\n\n    if (context && context.length) {\n      // If this is a property, see if it belongs to some object we can\n      // find in the current environment.\n      var obj = context.pop(), base;\n      if (obj.type && obj.type.indexOf(\"variable\") === 0) {\n        if (options && options.additionalContext)\n          base = options.additionalContext[obj.string];\n        if (!options || options.useGlobalScope !== false)\n          base = base || global[obj.string];\n      } else if (obj.type == \"string\") {\n        base = \"\";\n      } else if (obj.type == \"atom\") {\n        base = 1;\n      } else if (obj.type == \"function\") {\n        if (global.jQuery != null && (obj.string == '$' || obj.string == 'jQuery') &&\n            (typeof global.jQuery == 'function'))\n          base = global.jQuery();\n        else if (global._ != null && (obj.string == '_') && (typeof global._ == 'function'))\n          base = global._();\n      }\n      while (base != null && context.length)\n        base = base[context.pop().string];\n      if (base != null) gatherCompletions(base);\n    } else {\n      // If not, just look in the global object and any local scope\n      // (reading into JS mode internals to get at the local and global variables)\n      for (var v = token.state.localVars; v; v = v.next) maybeAdd(v.name);\n      for (var v = token.state.globalVars; v; v = v.next) maybeAdd(v.name);\n      if (!options || options.useGlobalScope !== false)\n        gatherCompletions(global);\n      forEach(keywords, maybeAdd);\n    }\n    return found;\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/hint/show-hint.css",
    "content": ".CodeMirror-hints {\n  position: absolute;\n  z-index: 10;\n  overflow: hidden;\n  list-style: none;\n\n  margin: 0;\n  padding: 2px;\n\n  -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n  -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n  box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n  border-radius: 3px;\n  border: 1px solid silver;\n\n  background: white;\n  font-size: 90%;\n  font-family: monospace;\n\n  max-height: 20em;\n  overflow-y: auto;\n}\n\n.CodeMirror-hint {\n  margin: 0;\n  padding: 0 4px;\n  border-radius: 2px;\n  max-width: 19em;\n  overflow: hidden;\n  white-space: pre;\n  color: black;\n  cursor: pointer;\n}\n\nli.CodeMirror-hint-active {\n  background: #08f;\n  color: white;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/hint/show-hint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var HINT_ELEMENT_CLASS        = \"CodeMirror-hint\";\n  var ACTIVE_HINT_ELEMENT_CLASS = \"CodeMirror-hint-active\";\n\n  // This is the old interface, kept around for now to stay\n  // backwards-compatible.\n  CodeMirror.showHint = function(cm, getHints, options) {\n    if (!getHints) return cm.showHint(options);\n    if (options && options.async) getHints.async = true;\n    var newOpts = {hint: getHints};\n    if (options) for (var prop in options) newOpts[prop] = options[prop];\n    return cm.showHint(newOpts);\n  };\n\n  var asyncRunID = 0;\n  function retrieveHints(getter, cm, options, then) {\n    if (getter.async) {\n      var id = ++asyncRunID;\n      getter(cm, function(hints) {\n        if (asyncRunID == id) then(hints);\n      }, options);\n    } else {\n      then(getter(cm, options));\n    }\n  }\n\n  CodeMirror.defineExtension(\"showHint\", function(options) {\n    // We want a single cursor position.\n    if (this.listSelections().length > 1 || this.somethingSelected()) return;\n\n    if (this.state.completionActive) this.state.completionActive.close();\n    var completion = this.state.completionActive = new Completion(this, options);\n    var getHints = completion.options.hint;\n    if (!getHints) return;\n\n    CodeMirror.signal(this, \"startCompletion\", this);\n    return retrieveHints(getHints, this, completion.options, function(hints) { completion.showHints(hints); });\n  });\n\n  function Completion(cm, options) {\n    this.cm = cm;\n    this.options = this.buildOptions(options);\n    this.widget = this.onClose = null;\n  }\n\n  Completion.prototype = {\n    close: function() {\n      if (!this.active()) return;\n      this.cm.state.completionActive = null;\n\n      if (this.widget) this.widget.close();\n      if (this.onClose) this.onClose();\n      CodeMirror.signal(this.cm, \"endCompletion\", this.cm);\n    },\n\n    active: function() {\n      return this.cm.state.completionActive == this;\n    },\n\n    pick: function(data, i) {\n      var completion = data.list[i];\n      if (completion.hint) completion.hint(this.cm, data, completion);\n      else this.cm.replaceRange(getText(completion), completion.from || data.from,\n                                completion.to || data.to, \"complete\");\n      CodeMirror.signal(data, \"pick\", completion);\n      this.close();\n    },\n\n    showHints: function(data) {\n      if (!data || !data.list.length || !this.active()) return this.close();\n\n      if (this.options.completeSingle && data.list.length == 1)\n        this.pick(data, 0);\n      else\n        this.showWidget(data);\n    },\n\n    showWidget: function(data) {\n      this.widget = new Widget(this, data);\n      CodeMirror.signal(data, \"shown\");\n\n      var debounce = 0, completion = this, finished;\n      var closeOn = this.options.closeCharacters;\n      var startPos = this.cm.getCursor(), startLen = this.cm.getLine(startPos.line).length;\n\n      var requestAnimationFrame = window.requestAnimationFrame || function(fn) {\n        return setTimeout(fn, 1000/60);\n      };\n      var cancelAnimationFrame = window.cancelAnimationFrame || clearTimeout;\n\n      function done() {\n        if (finished) return;\n        finished = true;\n        completion.close();\n        completion.cm.off(\"cursorActivity\", activity);\n        if (data) CodeMirror.signal(data, \"close\");\n      }\n\n      function update() {\n        if (finished) return;\n        CodeMirror.signal(data, \"update\");\n        retrieveHints(completion.options.hint, completion.cm, completion.options, finishUpdate);\n      }\n      function finishUpdate(data_) {\n        data = data_;\n        if (finished) return;\n        if (!data || !data.list.length) return done();\n        if (completion.widget) completion.widget.close();\n        completion.widget = new Widget(completion, data);\n      }\n\n      function clearDebounce() {\n        if (debounce) {\n          cancelAnimationFrame(debounce);\n          debounce = 0;\n        }\n      }\n\n      function activity() {\n        clearDebounce();\n        var pos = completion.cm.getCursor(), line = completion.cm.getLine(pos.line);\n        if (pos.line != startPos.line || line.length - pos.ch != startLen - startPos.ch ||\n            pos.ch < startPos.ch || completion.cm.somethingSelected() ||\n            (pos.ch && closeOn.test(line.charAt(pos.ch - 1)))) {\n          completion.close();\n        } else {\n          debounce = requestAnimationFrame(update);\n          if (completion.widget) completion.widget.close();\n        }\n      }\n      this.cm.on(\"cursorActivity\", activity);\n      this.onClose = done;\n    },\n\n    buildOptions: function(options) {\n      var editor = this.cm.options.hintOptions;\n      var out = {};\n      for (var prop in defaultOptions) out[prop] = defaultOptions[prop];\n      if (editor) for (var prop in editor)\n        if (editor[prop] !== undefined) out[prop] = editor[prop];\n      if (options) for (var prop in options)\n        if (options[prop] !== undefined) out[prop] = options[prop];\n      return out;\n    }\n  };\n\n  function getText(completion) {\n    if (typeof completion == \"string\") return completion;\n    else return completion.text;\n  }\n\n  function buildKeyMap(completion, handle) {\n    var baseMap = {\n      Up: function() {handle.moveFocus(-1);},\n      Down: function() {handle.moveFocus(1);},\n      PageUp: function() {handle.moveFocus(-handle.menuSize() + 1, true);},\n      PageDown: function() {handle.moveFocus(handle.menuSize() - 1, true);},\n      Home: function() {handle.setFocus(0);},\n      End: function() {handle.setFocus(handle.length - 1);},\n      Enter: handle.pick,\n      Tab: handle.pick,\n      Esc: handle.close\n    };\n    var custom = completion.options.customKeys;\n    var ourMap = custom ? {} : baseMap;\n    function addBinding(key, val) {\n      var bound;\n      if (typeof val != \"string\")\n        bound = function(cm) { return val(cm, handle); };\n      // This mechanism is deprecated\n      else if (baseMap.hasOwnProperty(val))\n        bound = baseMap[val];\n      else\n        bound = val;\n      ourMap[key] = bound;\n    }\n    if (custom)\n      for (var key in custom) if (custom.hasOwnProperty(key))\n        addBinding(key, custom[key]);\n    var extra = completion.options.extraKeys;\n    if (extra)\n      for (var key in extra) if (extra.hasOwnProperty(key))\n        addBinding(key, extra[key]);\n    return ourMap;\n  }\n\n  function getHintElement(hintsElement, el) {\n    while (el && el != hintsElement) {\n      if (el.nodeName.toUpperCase() === \"LI\" && el.parentNode == hintsElement) return el;\n      el = el.parentNode;\n    }\n  }\n\n  function Widget(completion, data) {\n    this.completion = completion;\n    this.data = data;\n    var widget = this, cm = completion.cm;\n\n    var hints = this.hints = document.createElement(\"ul\");\n    hints.className = \"CodeMirror-hints\";\n    this.selectedHint = data.selectedHint || 0;\n\n    var completions = data.list;\n    for (var i = 0; i < completions.length; ++i) {\n      var elt = hints.appendChild(document.createElement(\"li\")), cur = completions[i];\n      var className = HINT_ELEMENT_CLASS + (i != this.selectedHint ? \"\" : \" \" + ACTIVE_HINT_ELEMENT_CLASS);\n      if (cur.className != null) className = cur.className + \" \" + className;\n      elt.className = className;\n      if (cur.render) cur.render(elt, data, cur);\n      else elt.appendChild(document.createTextNode(cur.displayText || getText(cur)));\n      elt.hintId = i;\n    }\n\n    var pos = cm.cursorCoords(completion.options.alignWithWord ? data.from : null);\n    var left = pos.left, top = pos.bottom, below = true;\n    hints.style.left = left + \"px\";\n    hints.style.top = top + \"px\";\n    // If we're at the edge of the screen, then we want the menu to appear on the left of the cursor.\n    var winW = window.innerWidth || Math.max(document.body.offsetWidth, document.documentElement.offsetWidth);\n    var winH = window.innerHeight || Math.max(document.body.offsetHeight, document.documentElement.offsetHeight);\n    (completion.options.container || document.body).appendChild(hints);\n    var box = hints.getBoundingClientRect(), overlapY = box.bottom - winH;\n    if (overlapY > 0) {\n      var height = box.bottom - box.top, curTop = pos.top - (pos.bottom - box.top);\n      if (curTop - height > 0) { // Fits above cursor\n        hints.style.top = (top = pos.top - height) + \"px\";\n        below = false;\n      } else if (height > winH) {\n        hints.style.height = (winH - 5) + \"px\";\n        hints.style.top = (top = pos.bottom - box.top) + \"px\";\n        var cursor = cm.getCursor();\n        if (data.from.ch != cursor.ch) {\n          pos = cm.cursorCoords(cursor);\n          hints.style.left = (left = pos.left) + \"px\";\n          box = hints.getBoundingClientRect();\n        }\n      }\n    }\n    var overlapX = box.right - winW;\n    if (overlapX > 0) {\n      if (box.right - box.left > winW) {\n        hints.style.width = (winW - 5) + \"px\";\n        overlapX -= (box.right - box.left) - winW;\n      }\n      hints.style.left = (left = pos.left - overlapX) + \"px\";\n    }\n\n    cm.addKeyMap(this.keyMap = buildKeyMap(completion, {\n      moveFocus: function(n, avoidWrap) { widget.changeActive(widget.selectedHint + n, avoidWrap); },\n      setFocus: function(n) { widget.changeActive(n); },\n      menuSize: function() { return widget.screenAmount(); },\n      length: completions.length,\n      close: function() { completion.close(); },\n      pick: function() { widget.pick(); },\n      data: data\n    }));\n\n    if (completion.options.closeOnUnfocus) {\n      var closingOnBlur;\n      cm.on(\"blur\", this.onBlur = function() { closingOnBlur = setTimeout(function() { completion.close(); }, 100); });\n      cm.on(\"focus\", this.onFocus = function() { clearTimeout(closingOnBlur); });\n    }\n\n    var startScroll = cm.getScrollInfo();\n    cm.on(\"scroll\", this.onScroll = function() {\n      var curScroll = cm.getScrollInfo(), editor = cm.getWrapperElement().getBoundingClientRect();\n      var newTop = top + startScroll.top - curScroll.top;\n      var point = newTop - (window.pageYOffset || (document.documentElement || document.body).scrollTop);\n      if (!below) point += hints.offsetHeight;\n      if (point <= editor.top || point >= editor.bottom) return completion.close();\n      hints.style.top = newTop + \"px\";\n      hints.style.left = (left + startScroll.left - curScroll.left) + \"px\";\n    });\n\n    CodeMirror.on(hints, \"dblclick\", function(e) {\n      var t = getHintElement(hints, e.target || e.srcElement);\n      if (t && t.hintId != null) {widget.changeActive(t.hintId); widget.pick();}\n    });\n\n    CodeMirror.on(hints, \"click\", function(e) {\n      var t = getHintElement(hints, e.target || e.srcElement);\n      if (t && t.hintId != null) {\n        widget.changeActive(t.hintId);\n        if (completion.options.completeOnSingleClick) widget.pick();\n      }\n    });\n\n    CodeMirror.on(hints, \"mousedown\", function() {\n      setTimeout(function(){cm.focus();}, 20);\n    });\n\n    CodeMirror.signal(data, \"select\", completions[0], hints.firstChild);\n    return true;\n  }\n\n  Widget.prototype = {\n    close: function() {\n      if (this.completion.widget != this) return;\n      this.completion.widget = null;\n      this.hints.parentNode.removeChild(this.hints);\n      this.completion.cm.removeKeyMap(this.keyMap);\n\n      var cm = this.completion.cm;\n      if (this.completion.options.closeOnUnfocus) {\n        cm.off(\"blur\", this.onBlur);\n        cm.off(\"focus\", this.onFocus);\n      }\n      cm.off(\"scroll\", this.onScroll);\n    },\n\n    pick: function() {\n      this.completion.pick(this.data, this.selectedHint);\n    },\n\n    changeActive: function(i, avoidWrap) {\n      if (i >= this.data.list.length)\n        i = avoidWrap ? this.data.list.length - 1 : 0;\n      else if (i < 0)\n        i = avoidWrap ? 0  : this.data.list.length - 1;\n      if (this.selectedHint == i) return;\n      var node = this.hints.childNodes[this.selectedHint];\n      node.className = node.className.replace(\" \" + ACTIVE_HINT_ELEMENT_CLASS, \"\");\n      node = this.hints.childNodes[this.selectedHint = i];\n      node.className += \" \" + ACTIVE_HINT_ELEMENT_CLASS;\n      if (node.offsetTop < this.hints.scrollTop)\n        this.hints.scrollTop = node.offsetTop - 3;\n      else if (node.offsetTop + node.offsetHeight > this.hints.scrollTop + this.hints.clientHeight)\n        this.hints.scrollTop = node.offsetTop + node.offsetHeight - this.hints.clientHeight + 3;\n      CodeMirror.signal(this.data, \"select\", this.data.list[this.selectedHint], node);\n    },\n\n    screenAmount: function() {\n      return Math.floor(this.hints.clientHeight / this.hints.firstChild.offsetHeight) || 1;\n    }\n  };\n\n  CodeMirror.registerHelper(\"hint\", \"auto\", function(cm, options) {\n    var helpers = cm.getHelpers(cm.getCursor(), \"hint\"), words;\n    if (helpers.length) {\n      for (var i = 0; i < helpers.length; i++) {\n        var cur = helpers[i](cm, options);\n        if (cur && cur.list.length) return cur;\n      }\n    } else if (words = cm.getHelper(cm.getCursor(), \"hintWords\")) {\n      if (words) return CodeMirror.hint.fromList(cm, {words: words});\n    } else if (CodeMirror.hint.anyword) {\n      return CodeMirror.hint.anyword(cm, options);\n    }\n  });\n\n  CodeMirror.registerHelper(\"hint\", \"fromList\", function(cm, options) {\n    var cur = cm.getCursor(), token = cm.getTokenAt(cur);\n    var found = [];\n    for (var i = 0; i < options.words.length; i++) {\n      var word = options.words[i];\n      if (word.slice(0, token.string.length) == token.string)\n        found.push(word);\n    }\n\n    if (found.length) return {\n      list: found,\n      from: CodeMirror.Pos(cur.line, token.start),\n            to: CodeMirror.Pos(cur.line, token.end)\n    };\n  });\n\n  CodeMirror.commands.autocomplete = CodeMirror.showHint;\n\n  var defaultOptions = {\n    hint: CodeMirror.hint.auto,\n    completeSingle: true,\n    alignWithWord: true,\n    closeCharacters: /[\\s()\\[\\]{};:>,]/,\n    closeOnUnfocus: true,\n    completeOnSingleClick: false,\n    container: null,\n    customKeys: null,\n    extraKeys: null\n  };\n\n  CodeMirror.defineOption(\"hintOptions\", null);\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/hint/sql-hint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../../mode/sql/sql\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../../mode/sql/sql\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var tables;\n  var defaultTable;\n  var keywords;\n  var CONS = {\n    QUERY_DIV: \";\",\n    ALIAS_KEYWORD: \"AS\"\n  };\n  var Pos = CodeMirror.Pos;\n\n  function getKeywords(editor) {\n    var mode = editor.doc.modeOption;\n    if (mode === \"sql\") mode = \"text/x-sql\";\n    return CodeMirror.resolveMode(mode).keywords;\n  }\n\n  function getText(item) {\n    return typeof item == \"string\" ? item : item.text;\n  }\n\n  function getItem(list, item) {\n    if (!list.slice) return list[item];\n    for (var i = list.length - 1; i >= 0; i--) if (getText(list[i]) == item)\n      return list[i];\n  }\n\n  function shallowClone(object) {\n    var result = {};\n    for (var key in object) if (object.hasOwnProperty(key))\n      result[key] = object[key];\n    return result;\n  }\n\n  function match(string, word) {\n    var len = string.length;\n    var sub = getText(word).substr(0, len);\n    return string.toUpperCase() === sub.toUpperCase();\n  }\n\n  function addMatches(result, search, wordlist, formatter) {\n    for (var word in wordlist) {\n      if (!wordlist.hasOwnProperty(word)) continue;\n      if (Array.isArray(wordlist)) {\n        word = wordlist[word];\n      }\n      if (match(search, word)) {\n        result.push(formatter(word));\n      }\n    }\n  }\n\n  function cleanName(name) {\n    // Get rid name from backticks(`) and preceding dot(.)\n    if (name.charAt(0) == \".\") {\n      name = name.substr(1);\n    }\n    return name.replace(/`/g, \"\");\n  }\n\n  function insertBackticks(name) {\n    var nameParts = getText(name).split(\".\");\n    for (var i = 0; i < nameParts.length; i++)\n      nameParts[i] = \"`\" + nameParts[i] + \"`\";\n    var escaped = nameParts.join(\".\");\n    if (typeof name == \"string\") return escaped;\n    name = shallowClone(name);\n    name.text = escaped;\n    return name;\n  }\n\n  function nameCompletion(cur, token, result, editor) {\n    // Try to complete table, colunm names and return start position of completion\n    var useBacktick = false;\n    var nameParts = [];\n    var start = token.start;\n    var cont = true;\n    while (cont) {\n      cont = (token.string.charAt(0) == \".\");\n      useBacktick = useBacktick || (token.string.charAt(0) == \"`\");\n\n      start = token.start;\n      nameParts.unshift(cleanName(token.string));\n\n      token = editor.getTokenAt(Pos(cur.line, token.start));\n      if (token.string == \".\") {\n        cont = true;\n        token = editor.getTokenAt(Pos(cur.line, token.start));\n      }\n    }\n\n    // Try to complete table names\n    var string = nameParts.join(\".\");\n    addMatches(result, string, tables, function(w) {\n      return useBacktick ? insertBackticks(w) : w;\n    });\n\n    // Try to complete columns from defaultTable\n    addMatches(result, string, defaultTable, function(w) {\n      return useBacktick ? insertBackticks(w) : w;\n    });\n\n    // Try to complete columns\n    string = nameParts.pop();\n    var table = nameParts.join(\".\");\n\n    // Check if table is available. If not, find table by Alias\n    if (!getItem(tables, table))\n      table = findTableByAlias(table, editor);\n\n    var columns = getItem(tables, table);\n    if (columns && Array.isArray(tables) && columns.columns)\n      columns = columns.columns;\n\n    if (columns) {\n      addMatches(result, string, columns, function(w) {\n        if (typeof w == \"string\") {\n          w = table + \".\" + w;\n        } else {\n          w = shallowClone(w);\n          w.text = table + \".\" + w.text;\n        }\n        return useBacktick ? insertBackticks(w) : w;\n      });\n    }\n\n    return start;\n  }\n\n  function eachWord(lineText, f) {\n    if (!lineText) return;\n    var excepted = /[,;]/g;\n    var words = lineText.split(\" \");\n    for (var i = 0; i < words.length; i++) {\n      f(words[i]?words[i].replace(excepted, '') : '');\n    }\n  }\n\n  function convertCurToNumber(cur) {\n    // max characters of a line is 999,999.\n    return cur.line + cur.ch / Math.pow(10, 6);\n  }\n\n  function convertNumberToCur(num) {\n    return Pos(Math.floor(num), +num.toString().split('.').pop());\n  }\n\n  function findTableByAlias(alias, editor) {\n    var doc = editor.doc;\n    var fullQuery = doc.getValue();\n    var aliasUpperCase = alias.toUpperCase();\n    var previousWord = \"\";\n    var table = \"\";\n    var separator = [];\n    var validRange = {\n      start: Pos(0, 0),\n      end: Pos(editor.lastLine(), editor.getLineHandle(editor.lastLine()).length)\n    };\n\n    //add separator\n    var indexOfSeparator = fullQuery.indexOf(CONS.QUERY_DIV);\n    while(indexOfSeparator != -1) {\n      separator.push(doc.posFromIndex(indexOfSeparator));\n      indexOfSeparator = fullQuery.indexOf(CONS.QUERY_DIV, indexOfSeparator+1);\n    }\n    separator.unshift(Pos(0, 0));\n    separator.push(Pos(editor.lastLine(), editor.getLineHandle(editor.lastLine()).text.length));\n\n    //find valid range\n    var prevItem = 0;\n    var current = convertCurToNumber(editor.getCursor());\n    for (var i=0; i< separator.length; i++) {\n      var _v = convertCurToNumber(separator[i]);\n      if (current > prevItem && current <= _v) {\n        validRange = { start: convertNumberToCur(prevItem), end: convertNumberToCur(_v) };\n        break;\n      }\n      prevItem = _v;\n    }\n\n    var query = doc.getRange(validRange.start, validRange.end, false);\n\n    for (var i = 0; i < query.length; i++) {\n      var lineText = query[i];\n      eachWord(lineText, function(word) {\n        var wordUpperCase = word.toUpperCase();\n        if (wordUpperCase === aliasUpperCase && getItem(tables, previousWord))\n          table = previousWord;\n        if (wordUpperCase !== CONS.ALIAS_KEYWORD)\n          previousWord = word;\n      });\n      if (table) break;\n    }\n    return table;\n  }\n\n  CodeMirror.registerHelper(\"hint\", \"sql\", function(editor, options) {\n    tables = (options && options.tables) || {};\n    var defaultTableName = options && options.defaultTable;\n    defaultTable = (defaultTableName && getItem(tables, defaultTableName)) || [];\n    keywords = keywords || getKeywords(editor);\n\n    var cur = editor.getCursor();\n    var result = [];\n    var token = editor.getTokenAt(cur), start, end, search;\n    if (token.end > cur.ch) {\n      token.end = cur.ch;\n      token.string = token.string.slice(0, cur.ch - token.start);\n    }\n\n    if (token.string.match(/^[.`\\w@]\\w*$/)) {\n      search = token.string;\n      start = token.start;\n      end = token.end;\n    } else {\n      start = end = cur.ch;\n      search = \"\";\n    }\n    if (search.charAt(0) == \".\" || search.charAt(0) == \"`\") {\n      start = nameCompletion(cur, token, result, editor);\n    } else {\n      addMatches(result, search, tables, function(w) {return w;});\n      addMatches(result, search, defaultTable, function(w) {return w;});\n      addMatches(result, search, keywords, function(w) {return w.toUpperCase();});\n    }\n\n    return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)};\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/hint/xml-hint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var Pos = CodeMirror.Pos;\n\n  function getHints(cm, options) {\n    var tags = options && options.schemaInfo;\n    var quote = (options && options.quoteChar) || '\"';\n    if (!tags) return;\n    var cur = cm.getCursor(), token = cm.getTokenAt(cur);\n    if (token.end > cur.ch) {\n      token.end = cur.ch;\n      token.string = token.string.slice(0, cur.ch - token.start);\n    }\n    var inner = CodeMirror.innerMode(cm.getMode(), token.state);\n    if (inner.mode.name != \"xml\") return;\n    var result = [], replaceToken = false, prefix;\n    var tag = /\\btag\\b/.test(token.type) && !/>$/.test(token.string);\n    var tagName = tag && /^\\w/.test(token.string), tagStart;\n\n    if (tagName) {\n      var before = cm.getLine(cur.line).slice(Math.max(0, token.start - 2), token.start);\n      var tagType = /<\\/$/.test(before) ? \"close\" : /<$/.test(before) ? \"open\" : null;\n      if (tagType) tagStart = token.start - (tagType == \"close\" ? 2 : 1);\n    } else if (tag && token.string == \"<\") {\n      tagType = \"open\";\n    } else if (tag && token.string == \"</\") {\n      tagType = \"close\";\n    }\n\n    if (!tag && !inner.state.tagName || tagType) {\n      if (tagName)\n        prefix = token.string;\n      replaceToken = tagType;\n      var cx = inner.state.context, curTag = cx && tags[cx.tagName];\n      var childList = cx ? curTag && curTag.children : tags[\"!top\"];\n      if (childList && tagType != \"close\") {\n        for (var i = 0; i < childList.length; ++i) if (!prefix || childList[i].lastIndexOf(prefix, 0) == 0)\n          result.push(\"<\" + childList[i]);\n      } else if (tagType != \"close\") {\n        for (var name in tags)\n          if (tags.hasOwnProperty(name) && name != \"!top\" && name != \"!attrs\" && (!prefix || name.lastIndexOf(prefix, 0) == 0))\n            result.push(\"<\" + name);\n      }\n      if (cx && (!prefix || tagType == \"close\" && cx.tagName.lastIndexOf(prefix, 0) == 0))\n        result.push(\"</\" + cx.tagName + \">\");\n    } else {\n      // Attribute completion\n      var curTag = tags[inner.state.tagName], attrs = curTag && curTag.attrs;\n      var globalAttrs = tags[\"!attrs\"];\n      if (!attrs && !globalAttrs) return;\n      if (!attrs) {\n        attrs = globalAttrs;\n      } else if (globalAttrs) { // Combine tag-local and global attributes\n        var set = {};\n        for (var nm in globalAttrs) if (globalAttrs.hasOwnProperty(nm)) set[nm] = globalAttrs[nm];\n        for (var nm in attrs) if (attrs.hasOwnProperty(nm)) set[nm] = attrs[nm];\n        attrs = set;\n      }\n      if (token.type == \"string\" || token.string == \"=\") { // A value\n        var before = cm.getRange(Pos(cur.line, Math.max(0, cur.ch - 60)),\n                                 Pos(cur.line, token.type == \"string\" ? token.start : token.end));\n        var atName = before.match(/([^\\s\\u00a0=<>\\\"\\']+)=$/), atValues;\n        if (!atName || !attrs.hasOwnProperty(atName[1]) || !(atValues = attrs[atName[1]])) return;\n        if (typeof atValues == 'function') atValues = atValues.call(this, cm); // Functions can be used to supply values for autocomplete widget\n        if (token.type == \"string\") {\n          prefix = token.string;\n          var n = 0;\n          if (/['\"]/.test(token.string.charAt(0))) {\n            quote = token.string.charAt(0);\n            prefix = token.string.slice(1);\n            n++;\n          }\n          var len = token.string.length;\n          if (/['\"]/.test(token.string.charAt(len - 1))) {\n            quote = token.string.charAt(len - 1);\n            prefix = token.string.substr(n, len - 2);\n          }\n          replaceToken = true;\n        }\n        for (var i = 0; i < atValues.length; ++i) if (!prefix || atValues[i].lastIndexOf(prefix, 0) == 0)\n          result.push(quote + atValues[i] + quote);\n      } else { // An attribute name\n        if (token.type == \"attribute\") {\n          prefix = token.string;\n          replaceToken = true;\n        }\n        for (var attr in attrs) if (attrs.hasOwnProperty(attr) && (!prefix || attr.lastIndexOf(prefix, 0) == 0))\n          result.push(attr);\n      }\n    }\n    return {\n      list: result,\n      from: replaceToken ? Pos(cur.line, tagStart == null ? token.start : tagStart) : cur,\n      to: replaceToken ? Pos(cur.line, token.end) : cur\n    };\n  }\n\n  CodeMirror.registerHelper(\"hint\", \"xml\", getHints);\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/lint/coffeescript-lint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Depends on coffeelint.js from http://www.coffeelint.org/js/coffeelint.js\n\n// declare global: coffeelint\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.registerHelper(\"lint\", \"coffeescript\", function(text) {\n  var found = [];\n  var parseError = function(err) {\n    var loc = err.lineNumber;\n    found.push({from: CodeMirror.Pos(loc-1, 0),\n                to: CodeMirror.Pos(loc, 0),\n                severity: err.level,\n                message: err.message});\n  };\n  try {\n    var res = coffeelint.lint(text);\n    for(var i = 0; i < res.length; i++) {\n      parseError(res[i]);\n    }\n  } catch(e) {\n    found.push({from: CodeMirror.Pos(e.location.first_line, 0),\n                to: CodeMirror.Pos(e.location.last_line, e.location.last_column),\n                severity: 'error',\n                message: e.message});\n  }\n  return found;\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/lint/css-lint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Depends on csslint.js from https://github.com/stubbornella/csslint\n\n// declare global: CSSLint\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.registerHelper(\"lint\", \"css\", function(text) {\n  var found = [];\n  if (!window.CSSLint) return found;\n  var results = CSSLint.verify(text), messages = results.messages, message = null;\n  for ( var i = 0; i < messages.length; i++) {\n    message = messages[i];\n    var startLine = message.line -1, endLine = message.line -1, startCol = message.col -1, endCol = message.col;\n    found.push({\n      from: CodeMirror.Pos(startLine, startCol),\n      to: CodeMirror.Pos(endLine, endCol),\n      message: message.message,\n      severity : message.type\n    });\n  }\n  return found;\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/lint/javascript-lint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n  // declare global: JSHINT\n\n  var bogus = [ \"Dangerous comment\" ];\n\n  var warnings = [ [ \"Expected '{'\",\n                     \"Statement body should be inside '{ }' braces.\" ] ];\n\n  var errors = [ \"Missing semicolon\", \"Extra comma\", \"Missing property name\",\n                 \"Unmatched \", \" and instead saw\", \" is not defined\",\n                 \"Unclosed string\", \"Stopping, unable to continue\" ];\n\n  function validator(text, options) {\n    if (!window.JSHINT) return [];\n    JSHINT(text, options);\n    var errors = JSHINT.data().errors, result = [];\n    if (errors) parseErrors(errors, result);\n    return result;\n  }\n\n  CodeMirror.registerHelper(\"lint\", \"javascript\", validator);\n\n  function cleanup(error) {\n    // All problems are warnings by default\n    fixWith(error, warnings, \"warning\", true);\n    fixWith(error, errors, \"error\");\n\n    return isBogus(error) ? null : error;\n  }\n\n  function fixWith(error, fixes, severity, force) {\n    var description, fix, find, replace, found;\n\n    description = error.description;\n\n    for ( var i = 0; i < fixes.length; i++) {\n      fix = fixes[i];\n      find = (typeof fix === \"string\" ? fix : fix[0]);\n      replace = (typeof fix === \"string\" ? null : fix[1]);\n      found = description.indexOf(find) !== -1;\n\n      if (force || found) {\n        error.severity = severity;\n      }\n      if (found && replace) {\n        error.description = replace;\n      }\n    }\n  }\n\n  function isBogus(error) {\n    var description = error.description;\n    for ( var i = 0; i < bogus.length; i++) {\n      if (description.indexOf(bogus[i]) !== -1) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  function parseErrors(errors, output) {\n    for ( var i = 0; i < errors.length; i++) {\n      var error = errors[i];\n      if (error) {\n        var linetabpositions, index;\n\n        linetabpositions = [];\n\n        // This next block is to fix a problem in jshint. Jshint\n        // replaces\n        // all tabs with spaces then performs some checks. The error\n        // positions (character/space) are then reported incorrectly,\n        // not taking the replacement step into account. Here we look\n        // at the evidence line and try to adjust the character position\n        // to the correct value.\n        if (error.evidence) {\n          // Tab positions are computed once per line and cached\n          var tabpositions = linetabpositions[error.line];\n          if (!tabpositions) {\n            var evidence = error.evidence;\n            tabpositions = [];\n            // ugggh phantomjs does not like this\n            // forEachChar(evidence, function(item, index) {\n            Array.prototype.forEach.call(evidence, function(item,\n                                                            index) {\n              if (item === '\\t') {\n                // First col is 1 (not 0) to match error\n                // positions\n                tabpositions.push(index + 1);\n              }\n            });\n            linetabpositions[error.line] = tabpositions;\n          }\n          if (tabpositions.length > 0) {\n            var pos = error.character;\n            tabpositions.forEach(function(tabposition) {\n              if (pos > tabposition) pos -= 1;\n            });\n            error.character = pos;\n          }\n        }\n\n        var start = error.character - 1, end = start + 1;\n        if (error.evidence) {\n          index = error.evidence.substring(start).search(/.\\b/);\n          if (index > -1) {\n            end += index;\n          }\n        }\n\n        // Convert to format expected by validation service\n        error.description = error.reason;// + \"(jshint)\";\n        error.start = error.character;\n        error.end = end;\n        error = cleanup(error);\n\n        if (error)\n          output.push({message: error.description,\n                       severity: error.severity,\n                       from: CodeMirror.Pos(error.line - 1, start),\n                       to: CodeMirror.Pos(error.line - 1, end)});\n      }\n    }\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/lint/json-lint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Depends on jsonlint.js from https://github.com/zaach/jsonlint\n\n// declare global: jsonlint\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.registerHelper(\"lint\", \"json\", function(text) {\n  var found = [];\n  jsonlint.parseError = function(str, hash) {\n    var loc = hash.loc;\n    found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column),\n                to: CodeMirror.Pos(loc.last_line - 1, loc.last_column),\n                message: str});\n  };\n  try { jsonlint.parse(text); }\n  catch(e) {}\n  return found;\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/lint/lint.css",
    "content": "/* The lint marker gutter */\n.CodeMirror-lint-markers {\n  width: 16px;\n}\n\n.CodeMirror-lint-tooltip {\n  background-color: infobackground;\n  border: 1px solid black;\n  border-radius: 4px 4px 4px 4px;\n  color: infotext;\n  font-family: monospace;\n  font-size: 10pt;\n  overflow: hidden;\n  padding: 2px 5px;\n  position: fixed;\n  white-space: pre;\n  white-space: pre-wrap;\n  z-index: 100;\n  max-width: 600px;\n  opacity: 0;\n  transition: opacity .4s;\n  -moz-transition: opacity .4s;\n  -webkit-transition: opacity .4s;\n  -o-transition: opacity .4s;\n  -ms-transition: opacity .4s;\n}\n\n.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {\n  background-position: left bottom;\n  background-repeat: repeat-x;\n}\n\n.CodeMirror-lint-mark-error {\n  background-image:\n  url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==\")\n  ;\n}\n\n.CodeMirror-lint-mark-warning {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\");\n}\n\n.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {\n  background-position: center center;\n  background-repeat: no-repeat;\n  cursor: pointer;\n  display: inline-block;\n  height: 16px;\n  width: 16px;\n  vertical-align: middle;\n  position: relative;\n}\n\n.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {\n  padding-left: 18px;\n  background-position: top left;\n  background-repeat: no-repeat;\n}\n\n.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=\");\n}\n\n.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\");\n}\n\n.CodeMirror-lint-marker-multiple {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\");\n  background-repeat: no-repeat;\n  background-position: right bottom;\n  width: 100%; height: 100%;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/lint/lint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n  var GUTTER_ID = \"CodeMirror-lint-markers\";\n\n  function showTooltip(e, content) {\n    var tt = document.createElement(\"div\");\n    tt.className = \"CodeMirror-lint-tooltip\";\n    tt.appendChild(content.cloneNode(true));\n    document.body.appendChild(tt);\n\n    function position(e) {\n      if (!tt.parentNode) return CodeMirror.off(document, \"mousemove\", position);\n      tt.style.top = Math.max(0, e.clientY - tt.offsetHeight - 5) + \"px\";\n      tt.style.left = (e.clientX + 5) + \"px\";\n    }\n    CodeMirror.on(document, \"mousemove\", position);\n    position(e);\n    if (tt.style.opacity != null) tt.style.opacity = 1;\n    return tt;\n  }\n  function rm(elt) {\n    if (elt.parentNode) elt.parentNode.removeChild(elt);\n  }\n  function hideTooltip(tt) {\n    if (!tt.parentNode) return;\n    if (tt.style.opacity == null) rm(tt);\n    tt.style.opacity = 0;\n    setTimeout(function() { rm(tt); }, 600);\n  }\n\n  function showTooltipFor(e, content, node) {\n    var tooltip = showTooltip(e, content);\n    function hide() {\n      CodeMirror.off(node, \"mouseout\", hide);\n      if (tooltip) { hideTooltip(tooltip); tooltip = null; }\n    }\n    var poll = setInterval(function() {\n      if (tooltip) for (var n = node;; n = n.parentNode) {\n        if (n && n.nodeType == 11) n = n.host;\n        if (n == document.body) return;\n        if (!n) { hide(); break; }\n      }\n      if (!tooltip) return clearInterval(poll);\n    }, 400);\n    CodeMirror.on(node, \"mouseout\", hide);\n  }\n\n  function LintState(cm, options, hasGutter) {\n    this.marked = [];\n    this.options = options;\n    this.timeout = null;\n    this.hasGutter = hasGutter;\n    this.onMouseOver = function(e) { onMouseOver(cm, e); };\n  }\n\n  function parseOptions(cm, options) {\n    if (options instanceof Function) return {getAnnotations: options};\n    if (!options || options === true) options = {};\n    if (!options.getAnnotations) options.getAnnotations = cm.getHelper(CodeMirror.Pos(0, 0), \"lint\");\n    if (!options.getAnnotations) throw new Error(\"Required option 'getAnnotations' missing (lint addon)\");\n    return options;\n  }\n\n  function clearMarks(cm) {\n    var state = cm.state.lint;\n    if (state.hasGutter) cm.clearGutter(GUTTER_ID);\n    for (var i = 0; i < state.marked.length; ++i)\n      state.marked[i].clear();\n    state.marked.length = 0;\n  }\n\n  function makeMarker(labels, severity, multiple, tooltips) {\n    var marker = document.createElement(\"div\"), inner = marker;\n    marker.className = \"CodeMirror-lint-marker-\" + severity;\n    if (multiple) {\n      inner = marker.appendChild(document.createElement(\"div\"));\n      inner.className = \"CodeMirror-lint-marker-multiple\";\n    }\n\n    if (tooltips != false) CodeMirror.on(inner, \"mouseover\", function(e) {\n      showTooltipFor(e, labels, inner);\n    });\n\n    return marker;\n  }\n\n  function getMaxSeverity(a, b) {\n    if (a == \"error\") return a;\n    else return b;\n  }\n\n  function groupByLine(annotations) {\n    var lines = [];\n    for (var i = 0; i < annotations.length; ++i) {\n      var ann = annotations[i], line = ann.from.line;\n      (lines[line] || (lines[line] = [])).push(ann);\n    }\n    return lines;\n  }\n\n  function annotationTooltip(ann) {\n    var severity = ann.severity;\n    if (!severity) severity = \"error\";\n    var tip = document.createElement(\"div\");\n    tip.className = \"CodeMirror-lint-message-\" + severity;\n    tip.appendChild(document.createTextNode(ann.message));\n    return tip;\n  }\n\n  function startLinting(cm) {\n    var state = cm.state.lint, options = state.options;\n    var passOptions = options.options || options; // Support deprecated passing of `options` property in options\n    if (options.async || options.getAnnotations.async)\n      options.getAnnotations(cm.getValue(), updateLinting, passOptions, cm);\n    else\n      updateLinting(cm, options.getAnnotations(cm.getValue(), passOptions, cm));\n  }\n\n  function updateLinting(cm, annotationsNotSorted) {\n    clearMarks(cm);\n    var state = cm.state.lint, options = state.options;\n\n    var annotations = groupByLine(annotationsNotSorted);\n\n    for (var line = 0; line < annotations.length; ++line) {\n      var anns = annotations[line];\n      if (!anns) continue;\n\n      var maxSeverity = null;\n      var tipLabel = state.hasGutter && document.createDocumentFragment();\n\n      for (var i = 0; i < anns.length; ++i) {\n        var ann = anns[i];\n        var severity = ann.severity;\n        if (!severity) severity = \"error\";\n        maxSeverity = getMaxSeverity(maxSeverity, severity);\n\n        if (options.formatAnnotation) ann = options.formatAnnotation(ann);\n        if (state.hasGutter) tipLabel.appendChild(annotationTooltip(ann));\n\n        if (ann.to) state.marked.push(cm.markText(ann.from, ann.to, {\n          className: \"CodeMirror-lint-mark-\" + severity,\n          __annotation: ann\n        }));\n      }\n\n      if (state.hasGutter)\n        cm.setGutterMarker(line, GUTTER_ID, makeMarker(tipLabel, maxSeverity, anns.length > 1,\n                                                       state.options.tooltips));\n    }\n    if (options.onUpdateLinting) options.onUpdateLinting(annotationsNotSorted, annotations, cm);\n  }\n\n  function onChange(cm) {\n    var state = cm.state.lint;\n    clearTimeout(state.timeout);\n    state.timeout = setTimeout(function(){startLinting(cm);}, state.options.delay || 500);\n  }\n\n  function popupSpanTooltip(ann, e) {\n    var target = e.target || e.srcElement;\n    showTooltipFor(e, annotationTooltip(ann), target);\n  }\n\n  function onMouseOver(cm, e) {\n    var target = e.target || e.srcElement;\n    if (!/\\bCodeMirror-lint-mark-/.test(target.className)) return;\n    var box = target.getBoundingClientRect(), x = (box.left + box.right) / 2, y = (box.top + box.bottom) / 2;\n    var spans = cm.findMarksAt(cm.coordsChar({left: x, top: y}, \"client\"));\n    for (var i = 0; i < spans.length; ++i) {\n      var ann = spans[i].__annotation;\n      if (ann) return popupSpanTooltip(ann, e);\n    }\n  }\n\n  CodeMirror.defineOption(\"lint\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      clearMarks(cm);\n      cm.off(\"change\", onChange);\n      CodeMirror.off(cm.getWrapperElement(), \"mouseover\", cm.state.lint.onMouseOver);\n      delete cm.state.lint;\n    }\n\n    if (val) {\n      var gutters = cm.getOption(\"gutters\"), hasLintGutter = false;\n      for (var i = 0; i < gutters.length; ++i) if (gutters[i] == GUTTER_ID) hasLintGutter = true;\n      var state = cm.state.lint = new LintState(cm, parseOptions(cm, val), hasLintGutter);\n      cm.on(\"change\", onChange);\n      if (state.options.tooltips != false)\n        CodeMirror.on(cm.getWrapperElement(), \"mouseover\", state.onMouseOver);\n\n      startLinting(cm);\n    }\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/lint/yaml-lint.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\n// Depends on js-yaml.js from https://github.com/nodeca/js-yaml\n\n// declare global: jsyaml\n\nCodeMirror.registerHelper(\"lint\", \"yaml\", function(text) {\n  var found = [];\n  try { jsyaml.load(text); }\n  catch(e) {\n      var loc = e.mark;\n      found.push({ from: CodeMirror.Pos(loc.line, loc.column), to: CodeMirror.Pos(loc.line, loc.column), message: e.message });\n  }\n  return found;\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/merge/merge.css",
    "content": ".CodeMirror-merge {\n  position: relative;\n  border: 1px solid #ddd;\n  white-space: pre;\n}\n\n.CodeMirror-merge, .CodeMirror-merge .CodeMirror {\n  height: 350px;\n}\n\n.CodeMirror-merge-2pane .CodeMirror-merge-pane { width: 47%; }\n.CodeMirror-merge-2pane .CodeMirror-merge-gap { width: 6%; }\n.CodeMirror-merge-3pane .CodeMirror-merge-pane { width: 31%; }\n.CodeMirror-merge-3pane .CodeMirror-merge-gap { width: 3.5%; }\n\n.CodeMirror-merge-pane {\n  display: inline-block;\n  white-space: normal;\n  vertical-align: top;\n}\n.CodeMirror-merge-pane-rightmost {\n  position: absolute;\n  right: 0px;\n  z-index: 1;\n}\n\n.CodeMirror-merge-gap {\n  z-index: 2;\n  display: inline-block;\n  height: 100%;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n  overflow: hidden;\n  border-left: 1px solid #ddd;\n  border-right: 1px solid #ddd;\n  position: relative;\n  background: #f8f8f8;\n}\n\n.CodeMirror-merge-scrolllock-wrap {\n  position: absolute;\n  bottom: 0; left: 50%;\n}\n.CodeMirror-merge-scrolllock {\n  position: relative;\n  left: -50%;\n  cursor: pointer;\n  color: #555;\n  line-height: 1;\n}\n\n.CodeMirror-merge-copybuttons-left, .CodeMirror-merge-copybuttons-right {\n  position: absolute;\n  left: 0; top: 0;\n  right: 0; bottom: 0;\n  line-height: 1;\n}\n\n.CodeMirror-merge-copy {\n  position: absolute;\n  cursor: pointer;\n  color: #44c;\n}\n\n.CodeMirror-merge-copy-reverse {\n  position: absolute;\n  cursor: pointer;\n  color: #44c;\n}\n\n.CodeMirror-merge-copybuttons-left .CodeMirror-merge-copy { left: 2px; }\n.CodeMirror-merge-copybuttons-right .CodeMirror-merge-copy { right: 2px; }\n\n.CodeMirror-merge-r-inserted, .CodeMirror-merge-l-inserted {\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAGUlEQVQI12MwuCXy3+CWyH8GBgYGJgYkAABZbAQ9ELXurwAAAABJRU5ErkJggg==);\n  background-position: bottom left;\n  background-repeat: repeat-x;\n}\n\n.CodeMirror-merge-r-deleted, .CodeMirror-merge-l-deleted {\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAGUlEQVQI12M4Kyb2/6yY2H8GBgYGJgYkAABURgPz6Ks7wQAAAABJRU5ErkJggg==);\n  background-position: bottom left;\n  background-repeat: repeat-x;\n}\n\n.CodeMirror-merge-r-chunk { background: #ffffe0; }\n.CodeMirror-merge-r-chunk-start { border-top: 1px solid #ee8; }\n.CodeMirror-merge-r-chunk-end { border-bottom: 1px solid #ee8; }\n.CodeMirror-merge-r-connect { fill: #ffffe0; stroke: #ee8; stroke-width: 1px; }\n\n.CodeMirror-merge-l-chunk { background: #eef; }\n.CodeMirror-merge-l-chunk-start { border-top: 1px solid #88e; }\n.CodeMirror-merge-l-chunk-end { border-bottom: 1px solid #88e; }\n.CodeMirror-merge-l-connect { fill: #eef; stroke: #88e; stroke-width: 1px; }\n\n.CodeMirror-merge-l-chunk.CodeMirror-merge-r-chunk { background: #dfd; }\n.CodeMirror-merge-l-chunk-start.CodeMirror-merge-r-chunk-start { border-top: 1px solid #4e4; }\n.CodeMirror-merge-l-chunk-end.CodeMirror-merge-r-chunk-end { border-bottom: 1px solid #4e4; }\n\n.CodeMirror-merge-collapsed-widget:before {\n  content: \"(...)\";\n}\n.CodeMirror-merge-collapsed-widget {\n  cursor: pointer;\n  color: #88b;\n  background: #eef;\n  border: 1px solid #ddf;\n  font-size: 90%;\n  padding: 0 3px;\n  border-radius: 4px;\n}\n.CodeMirror-merge-collapsed-line .CodeMirror-gutter-elt { display: none; }\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/merge/merge.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// declare global: diff_match_patch, DIFF_INSERT, DIFF_DELETE, DIFF_EQUAL\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"diff_match_patch\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"diff_match_patch\"], mod);\n  else // Plain browser env\n    mod(CodeMirror, diff_match_patch);\n})(function(CodeMirror, diff_match_patch) {\n  \"use strict\";\n  var Pos = CodeMirror.Pos;\n  var svgNS = \"http://www.w3.org/2000/svg\";\n\n  function DiffView(mv, type) {\n    this.mv = mv;\n    this.type = type;\n    this.classes = type == \"left\"\n      ? {chunk: \"CodeMirror-merge-l-chunk\",\n         start: \"CodeMirror-merge-l-chunk-start\",\n         end: \"CodeMirror-merge-l-chunk-end\",\n         insert: \"CodeMirror-merge-l-inserted\",\n         del: \"CodeMirror-merge-l-deleted\",\n         connect: \"CodeMirror-merge-l-connect\"}\n      : {chunk: \"CodeMirror-merge-r-chunk\",\n         start: \"CodeMirror-merge-r-chunk-start\",\n         end: \"CodeMirror-merge-r-chunk-end\",\n         insert: \"CodeMirror-merge-r-inserted\",\n         del: \"CodeMirror-merge-r-deleted\",\n         connect: \"CodeMirror-merge-r-connect\"};\n  }\n\n  DiffView.prototype = {\n    constructor: DiffView,\n    init: function(pane, orig, options) {\n      this.edit = this.mv.edit;\n      this.orig = CodeMirror(pane, copyObj({value: orig, readOnly: !this.mv.options.allowEditingOriginals}, copyObj(options)));\n\n      this.diff = getDiff(asString(orig), asString(options.value));\n      this.chunks = getChunks(this.diff);\n      this.diffOutOfDate = this.dealigned = false;\n\n      this.showDifferences = options.showDifferences !== false;\n      this.forceUpdate = registerUpdate(this);\n      setScrollLock(this, true, false);\n      registerScroll(this);\n    },\n    setShowDifferences: function(val) {\n      val = val !== false;\n      if (val != this.showDifferences) {\n        this.showDifferences = val;\n        this.forceUpdate(\"full\");\n      }\n    }\n  };\n\n  function ensureDiff(dv) {\n    if (dv.diffOutOfDate) {\n      dv.diff = getDiff(dv.orig.getValue(), dv.edit.getValue());\n      dv.chunks = getChunks(dv.diff);\n      dv.diffOutOfDate = false;\n      CodeMirror.signal(dv.edit, \"updateDiff\", dv.diff);\n    }\n  }\n\n  var updating = false;\n  function registerUpdate(dv) {\n    var edit = {from: 0, to: 0, marked: []};\n    var orig = {from: 0, to: 0, marked: []};\n    var debounceChange, updatingFast = false;\n    function update(mode) {\n      updating = true;\n      updatingFast = false;\n      if (mode == \"full\") {\n        if (dv.svg) clear(dv.svg);\n        if (dv.copyButtons) clear(dv.copyButtons);\n        clearMarks(dv.edit, edit.marked, dv.classes);\n        clearMarks(dv.orig, orig.marked, dv.classes);\n        edit.from = edit.to = orig.from = orig.to = 0;\n      }\n      ensureDiff(dv);\n      if (dv.showDifferences) {\n        updateMarks(dv.edit, dv.diff, edit, DIFF_INSERT, dv.classes);\n        updateMarks(dv.orig, dv.diff, orig, DIFF_DELETE, dv.classes);\n      }\n      makeConnections(dv);\n\n      if (dv.mv.options.connect == \"align\")\n        alignChunks(dv);\n      updating = false;\n    }\n    function setDealign(fast) {\n      if (updating) return;\n      dv.dealigned = true;\n      set(fast);\n    }\n    function set(fast) {\n      if (updating || updatingFast) return;\n      clearTimeout(debounceChange);\n      if (fast === true) updatingFast = true;\n      debounceChange = setTimeout(update, fast === true ? 20 : 250);\n    }\n    function change(_cm, change) {\n      if (!dv.diffOutOfDate) {\n        dv.diffOutOfDate = true;\n        edit.from = edit.to = orig.from = orig.to = 0;\n      }\n      // Update faster when a line was added/removed\n      setDealign(change.text.length - 1 != change.to.line - change.from.line);\n    }\n    dv.edit.on(\"change\", change);\n    dv.orig.on(\"change\", change);\n    dv.edit.on(\"markerAdded\", setDealign);\n    dv.edit.on(\"markerCleared\", setDealign);\n    dv.orig.on(\"markerAdded\", setDealign);\n    dv.orig.on(\"markerCleared\", setDealign);\n    dv.edit.on(\"viewportChange\", function() { set(false); });\n    dv.orig.on(\"viewportChange\", function() { set(false); });\n    update();\n    return update;\n  }\n\n  function registerScroll(dv) {\n    dv.edit.on(\"scroll\", function() {\n      syncScroll(dv, DIFF_INSERT) && makeConnections(dv);\n    });\n    dv.orig.on(\"scroll\", function() {\n      syncScroll(dv, DIFF_DELETE) && makeConnections(dv);\n    });\n  }\n\n  function syncScroll(dv, type) {\n    // Change handler will do a refresh after a timeout when diff is out of date\n    if (dv.diffOutOfDate) return false;\n    if (!dv.lockScroll) return true;\n    var editor, other, now = +new Date;\n    if (type == DIFF_INSERT) { editor = dv.edit; other = dv.orig; }\n    else { editor = dv.orig; other = dv.edit; }\n    // Don't take action if the position of this editor was recently set\n    // (to prevent feedback loops)\n    if (editor.state.scrollSetBy == dv && (editor.state.scrollSetAt || 0) + 50 > now) return false;\n\n    var sInfo = editor.getScrollInfo();\n    if (dv.mv.options.connect == \"align\") {\n      targetPos = sInfo.top;\n    } else {\n      var halfScreen = .5 * sInfo.clientHeight, midY = sInfo.top + halfScreen;\n      var mid = editor.lineAtHeight(midY, \"local\");\n      var around = chunkBoundariesAround(dv.chunks, mid, type == DIFF_INSERT);\n      var off = getOffsets(editor, type == DIFF_INSERT ? around.edit : around.orig);\n      var offOther = getOffsets(other, type == DIFF_INSERT ? around.orig : around.edit);\n      var ratio = (midY - off.top) / (off.bot - off.top);\n      var targetPos = (offOther.top - halfScreen) + ratio * (offOther.bot - offOther.top);\n\n      var botDist, mix;\n      // Some careful tweaking to make sure no space is left out of view\n      // when scrolling to top or bottom.\n      if (targetPos > sInfo.top && (mix = sInfo.top / halfScreen) < 1) {\n        targetPos = targetPos * mix + sInfo.top * (1 - mix);\n      } else if ((botDist = sInfo.height - sInfo.clientHeight - sInfo.top) < halfScreen) {\n        var otherInfo = other.getScrollInfo();\n        var botDistOther = otherInfo.height - otherInfo.clientHeight - targetPos;\n        if (botDistOther > botDist && (mix = botDist / halfScreen) < 1)\n          targetPos = targetPos * mix + (otherInfo.height - otherInfo.clientHeight - botDist) * (1 - mix);\n      }\n    }\n\n    other.scrollTo(sInfo.left, targetPos);\n    other.state.scrollSetAt = now;\n    other.state.scrollSetBy = dv;\n    return true;\n  }\n\n  function getOffsets(editor, around) {\n    var bot = around.after;\n    if (bot == null) bot = editor.lastLine() + 1;\n    return {top: editor.heightAtLine(around.before || 0, \"local\"),\n            bot: editor.heightAtLine(bot, \"local\")};\n  }\n\n  function setScrollLock(dv, val, action) {\n    dv.lockScroll = val;\n    if (val && action != false) syncScroll(dv, DIFF_INSERT) && makeConnections(dv);\n    dv.lockButton.innerHTML = val ? \"\\u21db\\u21da\" : \"\\u21db&nbsp;&nbsp;\\u21da\";\n  }\n\n  // Updating the marks for editor content\n\n  function clearMarks(editor, arr, classes) {\n    for (var i = 0; i < arr.length; ++i) {\n      var mark = arr[i];\n      if (mark instanceof CodeMirror.TextMarker) {\n        mark.clear();\n      } else if (mark.parent) {\n        editor.removeLineClass(mark, \"background\", classes.chunk);\n        editor.removeLineClass(mark, \"background\", classes.start);\n        editor.removeLineClass(mark, \"background\", classes.end);\n      }\n    }\n    arr.length = 0;\n  }\n\n  // FIXME maybe add a margin around viewport to prevent too many updates\n  function updateMarks(editor, diff, state, type, classes) {\n    var vp = editor.getViewport();\n    editor.operation(function() {\n      if (state.from == state.to || vp.from - state.to > 20 || state.from - vp.to > 20) {\n        clearMarks(editor, state.marked, classes);\n        markChanges(editor, diff, type, state.marked, vp.from, vp.to, classes);\n        state.from = vp.from; state.to = vp.to;\n      } else {\n        if (vp.from < state.from) {\n          markChanges(editor, diff, type, state.marked, vp.from, state.from, classes);\n          state.from = vp.from;\n        }\n        if (vp.to > state.to) {\n          markChanges(editor, diff, type, state.marked, state.to, vp.to, classes);\n          state.to = vp.to;\n        }\n      }\n    });\n  }\n\n  function markChanges(editor, diff, type, marks, from, to, classes) {\n    var pos = Pos(0, 0);\n    var top = Pos(from, 0), bot = editor.clipPos(Pos(to - 1));\n    var cls = type == DIFF_DELETE ? classes.del : classes.insert;\n    function markChunk(start, end) {\n      var bfrom = Math.max(from, start), bto = Math.min(to, end);\n      for (var i = bfrom; i < bto; ++i) {\n        var line = editor.addLineClass(i, \"background\", classes.chunk);\n        if (i == start) editor.addLineClass(line, \"background\", classes.start);\n        if (i == end - 1) editor.addLineClass(line, \"background\", classes.end);\n        marks.push(line);\n      }\n      // When the chunk is empty, make sure a horizontal line shows up\n      if (start == end && bfrom == end && bto == end) {\n        if (bfrom)\n          marks.push(editor.addLineClass(bfrom - 1, \"background\", classes.end));\n        else\n          marks.push(editor.addLineClass(bfrom, \"background\", classes.start));\n      }\n    }\n\n    var chunkStart = 0;\n    for (var i = 0; i < diff.length; ++i) {\n      var part = diff[i], tp = part[0], str = part[1];\n      if (tp == DIFF_EQUAL) {\n        var cleanFrom = pos.line + (startOfLineClean(diff, i) ? 0 : 1);\n        moveOver(pos, str);\n        var cleanTo = pos.line + (endOfLineClean(diff, i) ? 1 : 0);\n        if (cleanTo > cleanFrom) {\n          if (i) markChunk(chunkStart, cleanFrom);\n          chunkStart = cleanTo;\n        }\n      } else {\n        if (tp == type) {\n          var end = moveOver(pos, str, true);\n          var a = posMax(top, pos), b = posMin(bot, end);\n          if (!posEq(a, b))\n            marks.push(editor.markText(a, b, {className: cls}));\n          pos = end;\n        }\n      }\n    }\n    if (chunkStart <= pos.line) markChunk(chunkStart, pos.line + 1);\n  }\n\n  // Updating the gap between editor and original\n\n  function makeConnections(dv) {\n    if (!dv.showDifferences) return;\n\n    if (dv.svg) {\n      clear(dv.svg);\n      var w = dv.gap.offsetWidth;\n      attrs(dv.svg, \"width\", w, \"height\", dv.gap.offsetHeight);\n    }\n    if (dv.copyButtons) clear(dv.copyButtons);\n\n    var vpEdit = dv.edit.getViewport(), vpOrig = dv.orig.getViewport();\n    var sTopEdit = dv.edit.getScrollInfo().top, sTopOrig = dv.orig.getScrollInfo().top;\n    for (var i = 0; i < dv.chunks.length; i++) {\n      var ch = dv.chunks[i];\n      if (ch.editFrom <= vpEdit.to && ch.editTo >= vpEdit.from &&\n          ch.origFrom <= vpOrig.to && ch.origTo >= vpOrig.from)\n        drawConnectorsForChunk(dv, ch, sTopOrig, sTopEdit, w);\n    }\n  }\n\n  function getMatchingOrigLine(editLine, chunks) {\n    var editStart = 0, origStart = 0;\n    for (var i = 0; i < chunks.length; i++) {\n      var chunk = chunks[i];\n      if (chunk.editTo > editLine && chunk.editFrom <= editLine) return null;\n      if (chunk.editFrom > editLine) break;\n      editStart = chunk.editTo;\n      origStart = chunk.origTo;\n    }\n    return origStart + (editLine - editStart);\n  }\n\n  function findAlignedLines(dv, other) {\n    var linesToAlign = [];\n    for (var i = 0; i < dv.chunks.length; i++) {\n      var chunk = dv.chunks[i];\n      linesToAlign.push([chunk.origTo, chunk.editTo, other ? getMatchingOrigLine(chunk.editTo, other.chunks) : null]);\n    }\n    if (other) {\n      for (var i = 0; i < other.chunks.length; i++) {\n        var chunk = other.chunks[i];\n        for (var j = 0; j < linesToAlign.length; j++) {\n          var align = linesToAlign[j];\n          if (align[1] == chunk.editTo) {\n            j = -1;\n            break;\n          } else if (align[1] > chunk.editTo) {\n            break;\n          }\n        }\n        if (j > -1)\n          linesToAlign.splice(j - 1, 0, [getMatchingOrigLine(chunk.editTo, dv.chunks), chunk.editTo, chunk.origTo]);\n      }\n    }\n    return linesToAlign;\n  }\n\n  function alignChunks(dv, force) {\n    if (!dv.dealigned && !force) return;\n    if (!dv.orig.curOp) return dv.orig.operation(function() {\n      alignChunks(dv, force);\n    });\n\n    dv.dealigned = false;\n    var other = dv.mv.left == dv ? dv.mv.right : dv.mv.left;\n    if (other) {\n      ensureDiff(other);\n      other.dealigned = false;\n    }\n    var linesToAlign = findAlignedLines(dv, other);\n\n    // Clear old aligners\n    var aligners = dv.mv.aligners;\n    for (var i = 0; i < aligners.length; i++)\n      aligners[i].clear();\n    aligners.length = 0;\n\n    var cm = [dv.orig, dv.edit], scroll = [];\n    if (other) cm.push(other.orig);\n    for (var i = 0; i < cm.length; i++)\n      scroll.push(cm[i].getScrollInfo().top);\n\n    for (var ln = 0; ln < linesToAlign.length; ln++)\n      alignLines(cm, linesToAlign[ln], aligners);\n\n    for (var i = 0; i < cm.length; i++)\n      cm[i].scrollTo(null, scroll[i]);\n  }\n\n  function alignLines(cm, lines, aligners) {\n    var maxOffset = 0, offset = [];\n    for (var i = 0; i < cm.length; i++) if (lines[i] != null) {\n      var off = cm[i].heightAtLine(lines[i], \"local\");\n      offset[i] = off;\n      maxOffset = Math.max(maxOffset, off);\n    }\n    for (var i = 0; i < cm.length; i++) if (lines[i] != null) {\n      var diff = maxOffset - offset[i];\n      if (diff > 1)\n        aligners.push(padAbove(cm[i], lines[i], diff));\n    }\n  }\n\n  function padAbove(cm, line, size) {\n    var above = true;\n    if (line > cm.lastLine()) {\n      line--;\n      above = false;\n    }\n    var elt = document.createElement(\"div\");\n    elt.className = \"CodeMirror-merge-spacer\";\n    elt.style.height = size + \"px\"; elt.style.minWidth = \"1px\";\n    return cm.addLineWidget(line, elt, {height: size, above: above});\n  }\n\n  function drawConnectorsForChunk(dv, chunk, sTopOrig, sTopEdit, w) {\n    var flip = dv.type == \"left\";\n    var top = dv.orig.heightAtLine(chunk.origFrom, \"local\") - sTopOrig;\n    if (dv.svg) {\n      var topLpx = top;\n      var topRpx = dv.edit.heightAtLine(chunk.editFrom, \"local\") - sTopEdit;\n      if (flip) { var tmp = topLpx; topLpx = topRpx; topRpx = tmp; }\n      var botLpx = dv.orig.heightAtLine(chunk.origTo, \"local\") - sTopOrig;\n      var botRpx = dv.edit.heightAtLine(chunk.editTo, \"local\") - sTopEdit;\n      if (flip) { var tmp = botLpx; botLpx = botRpx; botRpx = tmp; }\n      var curveTop = \" C \" + w/2 + \" \" + topRpx + \" \" + w/2 + \" \" + topLpx + \" \" + (w + 2) + \" \" + topLpx;\n      var curveBot = \" C \" + w/2 + \" \" + botLpx + \" \" + w/2 + \" \" + botRpx + \" -1 \" + botRpx;\n      attrs(dv.svg.appendChild(document.createElementNS(svgNS, \"path\")),\n            \"d\", \"M -1 \" + topRpx + curveTop + \" L \" + (w + 2) + \" \" + botLpx + curveBot + \" z\",\n            \"class\", dv.classes.connect);\n    }\n    if (dv.copyButtons) {\n      var copy = dv.copyButtons.appendChild(elt(\"div\", dv.type == \"left\" ? \"\\u21dd\" : \"\\u21dc\",\n                                                \"CodeMirror-merge-copy\"));\n      var editOriginals = dv.mv.options.allowEditingOriginals;\n      copy.title = editOriginals ? \"Push to left\" : \"Revert chunk\";\n      copy.chunk = chunk;\n      copy.style.top = top + \"px\";\n\n      if (editOriginals) {\n        var topReverse = dv.orig.heightAtLine(chunk.editFrom, \"local\") - sTopEdit;\n        var copyReverse = dv.copyButtons.appendChild(elt(\"div\", dv.type == \"right\" ? \"\\u21dd\" : \"\\u21dc\",\n                                                         \"CodeMirror-merge-copy-reverse\"));\n        copyReverse.title = \"Push to right\";\n        copyReverse.chunk = {editFrom: chunk.origFrom, editTo: chunk.origTo,\n                             origFrom: chunk.editFrom, origTo: chunk.editTo};\n        copyReverse.style.top = topReverse + \"px\";\n        dv.type == \"right\" ? copyReverse.style.left = \"2px\" : copyReverse.style.right = \"2px\";\n      }\n    }\n  }\n\n  function copyChunk(dv, to, from, chunk) {\n    if (dv.diffOutOfDate) return;\n    to.replaceRange(from.getRange(Pos(chunk.origFrom, 0), Pos(chunk.origTo, 0)),\n                         Pos(chunk.editFrom, 0), Pos(chunk.editTo, 0));\n  }\n\n  // Merge view, containing 0, 1, or 2 diff views.\n\n  var MergeView = CodeMirror.MergeView = function(node, options) {\n    if (!(this instanceof MergeView)) return new MergeView(node, options);\n\n    this.options = options;\n    var origLeft = options.origLeft, origRight = options.origRight == null ? options.orig : options.origRight;\n\n    var hasLeft = origLeft != null, hasRight = origRight != null;\n    var panes = 1 + (hasLeft ? 1 : 0) + (hasRight ? 1 : 0);\n    var wrap = [], left = this.left = null, right = this.right = null;\n    var self = this;\n\n    if (hasLeft) {\n      left = this.left = new DiffView(this, \"left\");\n      var leftPane = elt(\"div\", null, \"CodeMirror-merge-pane\");\n      wrap.push(leftPane);\n      wrap.push(buildGap(left));\n    }\n\n    var editPane = elt(\"div\", null, \"CodeMirror-merge-pane\");\n    wrap.push(editPane);\n\n    if (hasRight) {\n      right = this.right = new DiffView(this, \"right\");\n      wrap.push(buildGap(right));\n      var rightPane = elt(\"div\", null, \"CodeMirror-merge-pane\");\n      wrap.push(rightPane);\n    }\n\n    (hasRight ? rightPane : editPane).className += \" CodeMirror-merge-pane-rightmost\";\n\n    wrap.push(elt(\"div\", null, null, \"height: 0; clear: both;\"));\n\n    var wrapElt = this.wrap = node.appendChild(elt(\"div\", wrap, \"CodeMirror-merge CodeMirror-merge-\" + panes + \"pane\"));\n    this.edit = CodeMirror(editPane, copyObj(options));\n\n    if (left) left.init(leftPane, origLeft, options);\n    if (right) right.init(rightPane, origRight, options);\n\n    if (options.collapseIdentical) {\n      updating = true;\n      this.editor().operation(function() {\n        collapseIdenticalStretches(self, options.collapseIdentical);\n      });\n      updating = false;\n    }\n    if (options.connect == \"align\") {\n      this.aligners = [];\n      alignChunks(this.left || this.right, true);\n    }\n\n    var onResize = function() {\n      if (left) makeConnections(left);\n      if (right) makeConnections(right);\n    };\n    CodeMirror.on(window, \"resize\", onResize);\n    var resizeInterval = setInterval(function() {\n      for (var p = wrapElt.parentNode; p && p != document.body; p = p.parentNode) {}\n      if (!p) { clearInterval(resizeInterval); CodeMirror.off(window, \"resize\", onResize); }\n    }, 5000);\n  };\n\n  function buildGap(dv) {\n    var lock = dv.lockButton = elt(\"div\", null, \"CodeMirror-merge-scrolllock\");\n    lock.title = \"Toggle locked scrolling\";\n    var lockWrap = elt(\"div\", [lock], \"CodeMirror-merge-scrolllock-wrap\");\n    CodeMirror.on(lock, \"click\", function() { setScrollLock(dv, !dv.lockScroll); });\n    var gapElts = [lockWrap];\n    if (dv.mv.options.revertButtons !== false) {\n      dv.copyButtons = elt(\"div\", null, \"CodeMirror-merge-copybuttons-\" + dv.type);\n      CodeMirror.on(dv.copyButtons, \"click\", function(e) {\n        var node = e.target || e.srcElement;\n        if (!node.chunk) return;\n        if (node.className == \"CodeMirror-merge-copy-reverse\") {\n          copyChunk(dv, dv.orig, dv.edit, node.chunk);\n          return;\n        }\n        copyChunk(dv, dv.edit, dv.orig, node.chunk);\n      });\n      gapElts.unshift(dv.copyButtons);\n    }\n    if (dv.mv.options.connect != \"align\") {\n      var svg = document.createElementNS && document.createElementNS(svgNS, \"svg\");\n      if (svg && !svg.createSVGRect) svg = null;\n      dv.svg = svg;\n      if (svg) gapElts.push(svg);\n    }\n\n    return dv.gap = elt(\"div\", gapElts, \"CodeMirror-merge-gap\");\n  }\n\n  MergeView.prototype = {\n    constuctor: MergeView,\n    editor: function() { return this.edit; },\n    rightOriginal: function() { return this.right && this.right.orig; },\n    leftOriginal: function() { return this.left && this.left.orig; },\n    setShowDifferences: function(val) {\n      if (this.right) this.right.setShowDifferences(val);\n      if (this.left) this.left.setShowDifferences(val);\n    },\n    rightChunks: function() {\n      if (this.right) { ensureDiff(this.right); return this.right.chunks; }\n    },\n    leftChunks: function() {\n      if (this.left) { ensureDiff(this.left); return this.left.chunks; }\n    }\n  };\n\n  function asString(obj) {\n    if (typeof obj == \"string\") return obj;\n    else return obj.getValue();\n  }\n\n  // Operations on diffs\n\n  var dmp = new diff_match_patch();\n  function getDiff(a, b) {\n    var diff = dmp.diff_main(a, b);\n    dmp.diff_cleanupSemantic(diff);\n    // The library sometimes leaves in empty parts, which confuse the algorithm\n    for (var i = 0; i < diff.length; ++i) {\n      var part = diff[i];\n      if (!part[1]) {\n        diff.splice(i--, 1);\n      } else if (i && diff[i - 1][0] == part[0]) {\n        diff.splice(i--, 1);\n        diff[i][1] += part[1];\n      }\n    }\n    return diff;\n  }\n\n  function getChunks(diff) {\n    var chunks = [];\n    var startEdit = 0, startOrig = 0;\n    var edit = Pos(0, 0), orig = Pos(0, 0);\n    for (var i = 0; i < diff.length; ++i) {\n      var part = diff[i], tp = part[0];\n      if (tp == DIFF_EQUAL) {\n        var startOff = startOfLineClean(diff, i) ? 0 : 1;\n        var cleanFromEdit = edit.line + startOff, cleanFromOrig = orig.line + startOff;\n        moveOver(edit, part[1], null, orig);\n        var endOff = endOfLineClean(diff, i) ? 1 : 0;\n        var cleanToEdit = edit.line + endOff, cleanToOrig = orig.line + endOff;\n        if (cleanToEdit > cleanFromEdit) {\n          if (i) chunks.push({origFrom: startOrig, origTo: cleanFromOrig,\n                              editFrom: startEdit, editTo: cleanFromEdit});\n          startEdit = cleanToEdit; startOrig = cleanToOrig;\n        }\n      } else {\n        moveOver(tp == DIFF_INSERT ? edit : orig, part[1]);\n      }\n    }\n    if (startEdit <= edit.line || startOrig <= orig.line)\n      chunks.push({origFrom: startOrig, origTo: orig.line + 1,\n                   editFrom: startEdit, editTo: edit.line + 1});\n    return chunks;\n  }\n\n  function endOfLineClean(diff, i) {\n    if (i == diff.length - 1) return true;\n    var next = diff[i + 1][1];\n    if (next.length == 1 || next.charCodeAt(0) != 10) return false;\n    if (i == diff.length - 2) return true;\n    next = diff[i + 2][1];\n    return next.length > 1 && next.charCodeAt(0) == 10;\n  }\n\n  function startOfLineClean(diff, i) {\n    if (i == 0) return true;\n    var last = diff[i - 1][1];\n    if (last.charCodeAt(last.length - 1) != 10) return false;\n    if (i == 1) return true;\n    last = diff[i - 2][1];\n    return last.charCodeAt(last.length - 1) == 10;\n  }\n\n  function chunkBoundariesAround(chunks, n, nInEdit) {\n    var beforeE, afterE, beforeO, afterO;\n    for (var i = 0; i < chunks.length; i++) {\n      var chunk = chunks[i];\n      var fromLocal = nInEdit ? chunk.editFrom : chunk.origFrom;\n      var toLocal = nInEdit ? chunk.editTo : chunk.origTo;\n      if (afterE == null) {\n        if (fromLocal > n) { afterE = chunk.editFrom; afterO = chunk.origFrom; }\n        else if (toLocal > n) { afterE = chunk.editTo; afterO = chunk.origTo; }\n      }\n      if (toLocal <= n) { beforeE = chunk.editTo; beforeO = chunk.origTo; }\n      else if (fromLocal <= n) { beforeE = chunk.editFrom; beforeO = chunk.origFrom; }\n    }\n    return {edit: {before: beforeE, after: afterE}, orig: {before: beforeO, after: afterO}};\n  }\n\n  function collapseSingle(cm, from, to) {\n    cm.addLineClass(from, \"wrap\", \"CodeMirror-merge-collapsed-line\");\n    var widget = document.createElement(\"span\");\n    widget.className = \"CodeMirror-merge-collapsed-widget\";\n    widget.title = \"Identical text collapsed. Click to expand.\";\n    var mark = cm.markText(Pos(from, 0), Pos(to - 1), {\n      inclusiveLeft: true,\n      inclusiveRight: true,\n      replacedWith: widget,\n      clearOnEnter: true\n    });\n    function clear() {\n      mark.clear();\n      cm.removeLineClass(from, \"wrap\", \"CodeMirror-merge-collapsed-line\");\n    }\n    widget.addEventListener(\"click\", clear);\n    return {mark: mark, clear: clear};\n  }\n\n  function collapseStretch(size, editors) {\n    var marks = [];\n    function clear() {\n      for (var i = 0; i < marks.length; i++) marks[i].clear();\n    }\n    for (var i = 0; i < editors.length; i++) {\n      var editor = editors[i];\n      var mark = collapseSingle(editor.cm, editor.line, editor.line + size);\n      marks.push(mark);\n      mark.mark.on(\"clear\", clear);\n    }\n    return marks[0].mark;\n  }\n\n  function unclearNearChunks(dv, margin, off, clear) {\n    for (var i = 0; i < dv.chunks.length; i++) {\n      var chunk = dv.chunks[i];\n      for (var l = chunk.editFrom - margin; l < chunk.editTo + margin; l++) {\n        var pos = l + off;\n        if (pos >= 0 && pos < clear.length) clear[pos] = false;\n      }\n    }\n  }\n\n  function collapseIdenticalStretches(mv, margin) {\n    if (typeof margin != \"number\") margin = 2;\n    var clear = [], edit = mv.editor(), off = edit.firstLine();\n    for (var l = off, e = edit.lastLine(); l <= e; l++) clear.push(true);\n    if (mv.left) unclearNearChunks(mv.left, margin, off, clear);\n    if (mv.right) unclearNearChunks(mv.right, margin, off, clear);\n\n    for (var i = 0; i < clear.length; i++) {\n      if (clear[i]) {\n        var line = i + off;\n        for (var size = 1; i < clear.length - 1 && clear[i + 1]; i++, size++) {}\n        if (size > margin) {\n          var editors = [{line: line, cm: edit}];\n          if (mv.left) editors.push({line: getMatchingOrigLine(line, mv.left.chunks), cm: mv.left.orig});\n          if (mv.right) editors.push({line: getMatchingOrigLine(line, mv.right.chunks), cm: mv.right.orig});\n          var mark = collapseStretch(size, editors);\n          if (mv.options.onCollapse) mv.options.onCollapse(mv, line, size, mark);\n        }\n      }\n    }\n  }\n\n  // General utilities\n\n  function elt(tag, content, className, style) {\n    var e = document.createElement(tag);\n    if (className) e.className = className;\n    if (style) e.style.cssText = style;\n    if (typeof content == \"string\") e.appendChild(document.createTextNode(content));\n    else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]);\n    return e;\n  }\n\n  function clear(node) {\n    for (var count = node.childNodes.length; count > 0; --count)\n      node.removeChild(node.firstChild);\n  }\n\n  function attrs(elt) {\n    for (var i = 1; i < arguments.length; i += 2)\n      elt.setAttribute(arguments[i], arguments[i+1]);\n  }\n\n  function copyObj(obj, target) {\n    if (!target) target = {};\n    for (var prop in obj) if (obj.hasOwnProperty(prop)) target[prop] = obj[prop];\n    return target;\n  }\n\n  function moveOver(pos, str, copy, other) {\n    var out = copy ? Pos(pos.line, pos.ch) : pos, at = 0;\n    for (;;) {\n      var nl = str.indexOf(\"\\n\", at);\n      if (nl == -1) break;\n      ++out.line;\n      if (other) ++other.line;\n      at = nl + 1;\n    }\n    out.ch = (at ? 0 : out.ch) + (str.length - at);\n    if (other) other.ch = (at ? 0 : other.ch) + (str.length - at);\n    return out;\n  }\n\n  function posMin(a, b) { return (a.line - b.line || a.ch - b.ch) < 0 ? a : b; }\n  function posMax(a, b) { return (a.line - b.line || a.ch - b.ch) > 0 ? a : b; }\n  function posEq(a, b) { return a.line == b.line && a.ch == b.ch; }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/mode/loadmode.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), \"cjs\");\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], function(CM) { mod(CM, \"amd\"); });\n  else // Plain browser env\n    mod(CodeMirror, \"plain\");\n})(function(CodeMirror, env) {\n  if (!CodeMirror.modeURL) CodeMirror.modeURL = \"../mode/%N/%N.js\";\n\n  var loading = {};\n  function splitCallback(cont, n) {\n    var countDown = n;\n    return function() { if (--countDown == 0) cont(); };\n  }\n  function ensureDeps(mode, cont) {\n    var deps = CodeMirror.modes[mode].dependencies;\n    if (!deps) return cont();\n    var missing = [];\n    for (var i = 0; i < deps.length; ++i) {\n      if (!CodeMirror.modes.hasOwnProperty(deps[i]))\n        missing.push(deps[i]);\n    }\n    if (!missing.length) return cont();\n    var split = splitCallback(cont, missing.length);\n    for (var i = 0; i < missing.length; ++i)\n      CodeMirror.requireMode(missing[i], split);\n  }\n\n  CodeMirror.requireMode = function(mode, cont) {\n    if (typeof mode != \"string\") mode = mode.name;\n    if (CodeMirror.modes.hasOwnProperty(mode)) return ensureDeps(mode, cont);\n    if (loading.hasOwnProperty(mode)) return loading[mode].push(cont);\n\n    var file = CodeMirror.modeURL.replace(/%N/g, mode);\n    if (env == \"plain\") {\n      var script = document.createElement(\"script\");\n      script.src = file;\n      var others = document.getElementsByTagName(\"script\")[0];\n      var list = loading[mode] = [cont];\n      CodeMirror.on(script, \"load\", function() {\n        ensureDeps(mode, function() {\n          for (var i = 0; i < list.length; ++i) list[i]();\n        });\n      });\n      others.parentNode.insertBefore(script, others);\n    } else if (env == \"cjs\") {\n      require(file);\n      cont();\n    } else if (env == \"amd\") {\n      requirejs([file], cont);\n    }\n  };\n\n  CodeMirror.autoLoadMode = function(instance, mode) {\n    if (!CodeMirror.modes.hasOwnProperty(mode))\n      CodeMirror.requireMode(mode, function() {\n        instance.setOption(\"mode\", instance.getOption(\"mode\"));\n      });\n  };\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/mode/multiplex.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.multiplexingMode = function(outer /*, others */) {\n  // Others should be {open, close, mode [, delimStyle] [, innerStyle]} objects\n  var others = Array.prototype.slice.call(arguments, 1);\n  var n_others = others.length;\n\n  function indexOf(string, pattern, from) {\n    if (typeof pattern == \"string\") return string.indexOf(pattern, from);\n    var m = pattern.exec(from ? string.slice(from) : string);\n    return m ? m.index + from : -1;\n  }\n\n  return {\n    startState: function() {\n      return {\n        outer: CodeMirror.startState(outer),\n        innerActive: null,\n        inner: null\n      };\n    },\n\n    copyState: function(state) {\n      return {\n        outer: CodeMirror.copyState(outer, state.outer),\n        innerActive: state.innerActive,\n        inner: state.innerActive && CodeMirror.copyState(state.innerActive.mode, state.inner)\n      };\n    },\n\n    token: function(stream, state) {\n      if (!state.innerActive) {\n        var cutOff = Infinity, oldContent = stream.string;\n        for (var i = 0; i < n_others; ++i) {\n          var other = others[i];\n          var found = indexOf(oldContent, other.open, stream.pos);\n          if (found == stream.pos) {\n            stream.match(other.open);\n            state.innerActive = other;\n            state.inner = CodeMirror.startState(other.mode, outer.indent ? outer.indent(state.outer, \"\") : 0);\n            return other.delimStyle;\n          } else if (found != -1 && found < cutOff) {\n            cutOff = found;\n          }\n        }\n        if (cutOff != Infinity) stream.string = oldContent.slice(0, cutOff);\n        var outerToken = outer.token(stream, state.outer);\n        if (cutOff != Infinity) stream.string = oldContent;\n        return outerToken;\n      } else {\n        var curInner = state.innerActive, oldContent = stream.string;\n        if (!curInner.close && stream.sol()) {\n          state.innerActive = state.inner = null;\n          return this.token(stream, state);\n        }\n        var found = curInner.close ? indexOf(oldContent, curInner.close, stream.pos) : -1;\n        if (found == stream.pos) {\n          stream.match(curInner.close);\n          state.innerActive = state.inner = null;\n          return curInner.delimStyle;\n        }\n        if (found > -1) stream.string = oldContent.slice(0, found);\n        var innerToken = curInner.mode.token(stream, state.inner);\n        if (found > -1) stream.string = oldContent;\n\n        if (curInner.innerStyle) {\n          if (innerToken) innerToken = innerToken + ' ' + curInner.innerStyle;\n          else innerToken = curInner.innerStyle;\n        }\n\n        return innerToken;\n      }\n    },\n\n    indent: function(state, textAfter) {\n      var mode = state.innerActive ? state.innerActive.mode : outer;\n      if (!mode.indent) return CodeMirror.Pass;\n      return mode.indent(state.innerActive ? state.inner : state.outer, textAfter);\n    },\n\n    blankLine: function(state) {\n      var mode = state.innerActive ? state.innerActive.mode : outer;\n      if (mode.blankLine) {\n        mode.blankLine(state.innerActive ? state.inner : state.outer);\n      }\n      if (!state.innerActive) {\n        for (var i = 0; i < n_others; ++i) {\n          var other = others[i];\n          if (other.open === \"\\n\") {\n            state.innerActive = other;\n            state.inner = CodeMirror.startState(other.mode, mode.indent ? mode.indent(state.outer, \"\") : 0);\n          }\n        }\n      } else if (state.innerActive.close === \"\\n\") {\n        state.innerActive = state.inner = null;\n      }\n    },\n\n    electricChars: outer.electricChars,\n\n    innerMode: function(state) {\n      return state.inner ? {state: state.inner, mode: state.innerActive.mode} : {state: state.outer, mode: outer};\n    }\n  };\n};\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/mode/multiplex_test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  CodeMirror.defineMode(\"markdown_with_stex\", function(){\n    var inner = CodeMirror.getMode({}, \"stex\");\n    var outer = CodeMirror.getMode({}, \"markdown\");\n\n    var innerOptions = {\n      open: '$',\n      close: '$',\n      mode: inner,\n      delimStyle: 'delim',\n      innerStyle: 'inner'\n    };\n\n    return CodeMirror.multiplexingMode(outer, innerOptions);\n  });\n\n  var mode = CodeMirror.getMode({}, \"markdown_with_stex\");\n\n  function MT(name) {\n    test.mode(\n      name,\n      mode,\n      Array.prototype.slice.call(arguments, 1),\n      'multiplexing');\n  }\n\n  MT(\n    \"stexInsideMarkdown\",\n    \"[strong **Equation:**] [delim $][inner&tag \\\\pi][delim $]\");\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/mode/overlay.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Utility function that allows modes to be combined. The mode given\n// as the base argument takes care of most of the normal mode\n// functionality, but a second (typically simple) mode is used, which\n// can override the style of text. Both modes get to parse all of the\n// text, but when both assign a non-null style to a piece of code, the\n// overlay wins, unless the combine argument was true and not overridden,\n// or state.overlay.combineTokens was true, in which case the styles are\n// combined.\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.overlayMode = function(base, overlay, combine) {\n  return {\n    startState: function() {\n      return {\n        base: CodeMirror.startState(base),\n        overlay: CodeMirror.startState(overlay),\n        basePos: 0, baseCur: null,\n        overlayPos: 0, overlayCur: null,\n        streamSeen: null\n      };\n    },\n    copyState: function(state) {\n      return {\n        base: CodeMirror.copyState(base, state.base),\n        overlay: CodeMirror.copyState(overlay, state.overlay),\n        basePos: state.basePos, baseCur: null,\n        overlayPos: state.overlayPos, overlayCur: null\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream != state.streamSeen ||\n          Math.min(state.basePos, state.overlayPos) < stream.start) {\n        state.streamSeen = stream;\n        state.basePos = state.overlayPos = stream.start;\n      }\n\n      if (stream.start == state.basePos) {\n        state.baseCur = base.token(stream, state.base);\n        state.basePos = stream.pos;\n      }\n      if (stream.start == state.overlayPos) {\n        stream.pos = stream.start;\n        state.overlayCur = overlay.token(stream, state.overlay);\n        state.overlayPos = stream.pos;\n      }\n      stream.pos = Math.min(state.basePos, state.overlayPos);\n\n      // state.overlay.combineTokens always takes precedence over combine,\n      // unless set to null\n      if (state.overlayCur == null) return state.baseCur;\n      else if (state.baseCur != null &&\n               state.overlay.combineTokens ||\n               combine && state.overlay.combineTokens == null)\n        return state.baseCur + \" \" + state.overlayCur;\n      else return state.overlayCur;\n    },\n\n    indent: base.indent && function(state, textAfter) {\n      return base.indent(state.base, textAfter);\n    },\n    electricChars: base.electricChars,\n\n    innerMode: function(state) { return {state: state.base, mode: base}; },\n\n    blankLine: function(state) {\n      if (base.blankLine) base.blankLine(state.base);\n      if (overlay.blankLine) overlay.blankLine(state.overlay);\n    }\n  };\n};\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/mode/simple.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineSimpleMode = function(name, states) {\n    CodeMirror.defineMode(name, function(config) {\n      return CodeMirror.simpleMode(config, states);\n    });\n  };\n\n  CodeMirror.simpleMode = function(config, states) {\n    ensureState(states, \"start\");\n    var states_ = {}, meta = states.meta || {}, hasIndentation = false;\n    for (var state in states) if (state != meta && states.hasOwnProperty(state)) {\n      var list = states_[state] = [], orig = states[state];\n      for (var i = 0; i < orig.length; i++) {\n        var data = orig[i];\n        list.push(new Rule(data, states));\n        if (data.indent || data.dedent) hasIndentation = true;\n      }\n    }\n    var mode = {\n      startState: function() {\n        return {state: \"start\", pending: null,\n                local: null, localState: null,\n                indent: hasIndentation ? [] : null};\n      },\n      copyState: function(state) {\n        var s = {state: state.state, pending: state.pending,\n                 local: state.local, localState: null,\n                 indent: state.indent && state.indent.slice(0)};\n        if (state.localState)\n          s.localState = CodeMirror.copyState(state.local.mode, state.localState);\n        if (state.stack)\n          s.stack = state.stack.slice(0);\n        for (var pers = state.persistentStates; pers; pers = pers.next)\n          s.persistentStates = {mode: pers.mode,\n                                spec: pers.spec,\n                                state: pers.state == state.localState ? s.localState : CodeMirror.copyState(pers.mode, pers.state),\n                                next: s.persistentStates};\n        return s;\n      },\n      token: tokenFunction(states_, config),\n      innerMode: function(state) { return state.local && {mode: state.local.mode, state: state.localState}; },\n      indent: indentFunction(states_, meta)\n    };\n    if (meta) for (var prop in meta) if (meta.hasOwnProperty(prop))\n      mode[prop] = meta[prop];\n    return mode;\n  };\n\n  function ensureState(states, name) {\n    if (!states.hasOwnProperty(name))\n      throw new Error(\"Undefined state \" + name + \"in simple mode\");\n  }\n\n  function toRegex(val, caret) {\n    if (!val) return /(?:)/;\n    var flags = \"\";\n    if (val instanceof RegExp) {\n      if (val.ignoreCase) flags = \"i\";\n      val = val.source;\n    } else {\n      val = String(val);\n    }\n    return new RegExp((caret === false ? \"\" : \"^\") + \"(?:\" + val + \")\", flags);\n  }\n\n  function asToken(val) {\n    if (!val) return null;\n    if (typeof val == \"string\") return val.replace(/\\./g, \" \");\n    var result = [];\n    for (var i = 0; i < val.length; i++)\n      result.push(val[i] && val[i].replace(/\\./g, \" \"));\n    return result;\n  }\n\n  function Rule(data, states) {\n    if (data.next || data.push) ensureState(states, data.next || data.push);\n    this.regex = toRegex(data.regex);\n    this.token = asToken(data.token);\n    this.data = data;\n  }\n\n  function tokenFunction(states, config) {\n    return function(stream, state) {\n      if (state.pending) {\n        var pend = state.pending.shift();\n        if (state.pending.length == 0) state.pending = null;\n        stream.pos += pend.text.length;\n        return pend.token;\n      }\n\n      if (state.local) {\n        if (state.local.end && stream.match(state.local.end)) {\n          var tok = state.local.endToken || null;\n          state.local = state.localState = null;\n          return tok;\n        } else {\n          var tok = state.local.mode.token(stream, state.localState), m;\n          if (state.local.endScan && (m = state.local.endScan.exec(stream.current())))\n            stream.pos = stream.start + m.index;\n          return tok;\n        }\n      }\n\n      var curState = states[state.state];\n      for (var i = 0; i < curState.length; i++) {\n        var rule = curState[i];\n        var matches = (!rule.data.sol || stream.sol()) && stream.match(rule.regex);\n        if (matches) {\n          if (rule.data.next) {\n            state.state = rule.data.next;\n          } else if (rule.data.push) {\n            (state.stack || (state.stack = [])).push(state.state);\n            state.state = rule.data.push;\n          } else if (rule.data.pop && state.stack && state.stack.length) {\n            state.state = state.stack.pop();\n          }\n\n          if (rule.data.mode)\n            enterLocalMode(config, state, rule.data.mode, rule.token);\n          if (rule.data.indent)\n            state.indent.push(stream.indentation() + config.indentUnit);\n          if (rule.data.dedent)\n            state.indent.pop();\n          if (matches.length > 2) {\n            state.pending = [];\n            for (var j = 2; j < matches.length; j++)\n              if (matches[j])\n                state.pending.push({text: matches[j], token: rule.token[j - 1]});\n            stream.backUp(matches[0].length - (matches[1] ? matches[1].length : 0));\n            return rule.token[0];\n          } else if (rule.token && rule.token.join) {\n            return rule.token[0];\n          } else {\n            return rule.token;\n          }\n        }\n      }\n      stream.next();\n      return null;\n    };\n  }\n\n  function cmp(a, b) {\n    if (a === b) return true;\n    if (!a || typeof a != \"object\" || !b || typeof b != \"object\") return false;\n    var props = 0;\n    for (var prop in a) if (a.hasOwnProperty(prop)) {\n      if (!b.hasOwnProperty(prop) || !cmp(a[prop], b[prop])) return false;\n      props++;\n    }\n    for (var prop in b) if (b.hasOwnProperty(prop)) props--;\n    return props == 0;\n  }\n\n  function enterLocalMode(config, state, spec, token) {\n    var pers;\n    if (spec.persistent) for (var p = state.persistentStates; p && !pers; p = p.next)\n      if (spec.spec ? cmp(spec.spec, p.spec) : spec.mode == p.mode) pers = p;\n    var mode = pers ? pers.mode : spec.mode || CodeMirror.getMode(config, spec.spec);\n    var lState = pers ? pers.state : CodeMirror.startState(mode);\n    if (spec.persistent && !pers)\n      state.persistentStates = {mode: mode, spec: spec.spec, state: lState, next: state.persistentStates};\n\n    state.localState = lState;\n    state.local = {mode: mode,\n                   end: spec.end && toRegex(spec.end),\n                   endScan: spec.end && spec.forceEnd !== false && toRegex(spec.end, false),\n                   endToken: token && token.join ? token[token.length - 1] : token};\n  }\n\n  function indexOf(val, arr) {\n    for (var i = 0; i < arr.length; i++) if (arr[i] === val) return true;\n  }\n\n  function indentFunction(states, meta) {\n    return function(state, textAfter, line) {\n      if (state.local && state.local.mode.indent)\n        return state.local.mode.indent(state.localState, textAfter, line);\n      if (state.indent == null || state.local || meta.dontIndentStates && indexOf(state.state, meta.dontIndentStates) > -1)\n        return CodeMirror.Pass;\n\n      var pos = state.indent.length - 1, rules = states[state.state];\n      scan: for (;;) {\n        for (var i = 0; i < rules.length; i++) {\n          var rule = rules[i];\n          if (rule.data.dedent && rule.data.dedentIfLineStart !== false) {\n            var m = rule.regex.exec(textAfter);\n            if (m && m[0]) {\n              pos--;\n              if (rule.next || rule.push) rules = states[rule.next || rule.push];\n              textAfter = textAfter.slice(m[0].length);\n              continue scan;\n            }\n          }\n        }\n        break;\n      }\n      return pos < 0 ? 0 : state.indent[pos];\n    };\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/runmode/colorize.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"./runmode\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"./runmode\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var isBlock = /^(p|li|div|h\\\\d|pre|blockquote|td)$/;\n\n  function textContent(node, out) {\n    if (node.nodeType == 3) return out.push(node.nodeValue);\n    for (var ch = node.firstChild; ch; ch = ch.nextSibling) {\n      textContent(ch, out);\n      if (isBlock.test(node.nodeType)) out.push(\"\\n\");\n    }\n  }\n\n  CodeMirror.colorize = function(collection, defaultMode) {\n    if (!collection) collection = document.body.getElementsByTagName(\"pre\");\n\n    for (var i = 0; i < collection.length; ++i) {\n      var node = collection[i];\n      var mode = node.getAttribute(\"data-lang\") || defaultMode;\n      if (!mode) continue;\n\n      var text = [];\n      textContent(node, text);\n      node.innerHTML = \"\";\n      CodeMirror.runMode(text.join(\"\"), mode, node);\n\n      node.className += \" cm-s-default\";\n    }\n  };\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/runmode/runmode-standalone.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\nwindow.CodeMirror = {};\n\n(function() {\n\"use strict\";\n\nfunction splitLines(string){ return string.split(/\\r?\\n|\\r/); };\n\nfunction StringStream(string) {\n  this.pos = this.start = 0;\n  this.string = string;\n  this.lineStart = 0;\n}\nStringStream.prototype = {\n  eol: function() {return this.pos >= this.string.length;},\n  sol: function() {return this.pos == 0;},\n  peek: function() {return this.string.charAt(this.pos) || null;},\n  next: function() {\n    if (this.pos < this.string.length)\n      return this.string.charAt(this.pos++);\n  },\n  eat: function(match) {\n    var ch = this.string.charAt(this.pos);\n    if (typeof match == \"string\") var ok = ch == match;\n    else var ok = ch && (match.test ? match.test(ch) : match(ch));\n    if (ok) {++this.pos; return ch;}\n  },\n  eatWhile: function(match) {\n    var start = this.pos;\n    while (this.eat(match)){}\n    return this.pos > start;\n  },\n  eatSpace: function() {\n    var start = this.pos;\n    while (/[\\s\\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;\n    return this.pos > start;\n  },\n  skipToEnd: function() {this.pos = this.string.length;},\n  skipTo: function(ch) {\n    var found = this.string.indexOf(ch, this.pos);\n    if (found > -1) {this.pos = found; return true;}\n  },\n  backUp: function(n) {this.pos -= n;},\n  column: function() {return this.start - this.lineStart;},\n  indentation: function() {return 0;},\n  match: function(pattern, consume, caseInsensitive) {\n    if (typeof pattern == \"string\") {\n      var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};\n      var substr = this.string.substr(this.pos, pattern.length);\n      if (cased(substr) == cased(pattern)) {\n        if (consume !== false) this.pos += pattern.length;\n        return true;\n      }\n    } else {\n      var match = this.string.slice(this.pos).match(pattern);\n      if (match && match.index > 0) return null;\n      if (match && consume !== false) this.pos += match[0].length;\n      return match;\n    }\n  },\n  current: function(){return this.string.slice(this.start, this.pos);},\n  hideFirstChars: function(n, inner) {\n    this.lineStart += n;\n    try { return inner(); }\n    finally { this.lineStart -= n; }\n  }\n};\nCodeMirror.StringStream = StringStream;\n\nCodeMirror.startState = function (mode, a1, a2) {\n  return mode.startState ? mode.startState(a1, a2) : true;\n};\n\nvar modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};\nCodeMirror.defineMode = function (name, mode) {\n  if (arguments.length > 2)\n    mode.dependencies = Array.prototype.slice.call(arguments, 2);\n  modes[name] = mode;\n};\nCodeMirror.defineMIME = function (mime, spec) { mimeModes[mime] = spec; };\nCodeMirror.resolveMode = function(spec) {\n  if (typeof spec == \"string\" && mimeModes.hasOwnProperty(spec)) {\n    spec = mimeModes[spec];\n  } else if (spec && typeof spec.name == \"string\" && mimeModes.hasOwnProperty(spec.name)) {\n    spec = mimeModes[spec.name];\n  }\n  if (typeof spec == \"string\") return {name: spec};\n  else return spec || {name: \"null\"};\n};\nCodeMirror.getMode = function (options, spec) {\n  spec = CodeMirror.resolveMode(spec);\n  var mfactory = modes[spec.name];\n  if (!mfactory) throw new Error(\"Unknown mode: \" + spec);\n  return mfactory(options, spec);\n};\nCodeMirror.registerHelper = CodeMirror.registerGlobalHelper = Math.min;\nCodeMirror.defineMode(\"null\", function() {\n  return {token: function(stream) {stream.skipToEnd();}};\n});\nCodeMirror.defineMIME(\"text/plain\", \"null\");\n\nCodeMirror.runMode = function (string, modespec, callback, options) {\n  var mode = CodeMirror.getMode({ indentUnit: 2 }, modespec);\n\n  if (callback.nodeType == 1) {\n    var tabSize = (options && options.tabSize) || 4;\n    var node = callback, col = 0;\n    node.innerHTML = \"\";\n    callback = function (text, style) {\n      if (text == \"\\n\") {\n        node.appendChild(document.createElement(\"br\"));\n        col = 0;\n        return;\n      }\n      var content = \"\";\n      // replace tabs\n      for (var pos = 0; ;) {\n        var idx = text.indexOf(\"\\t\", pos);\n        if (idx == -1) {\n          content += text.slice(pos);\n          col += text.length - pos;\n          break;\n        } else {\n          col += idx - pos;\n          content += text.slice(pos, idx);\n          var size = tabSize - col % tabSize;\n          col += size;\n          for (var i = 0; i < size; ++i) content += \" \";\n          pos = idx + 1;\n        }\n      }\n\n      if (style) {\n        var sp = node.appendChild(document.createElement(\"span\"));\n        sp.className = \"cm-\" + style.replace(/ +/g, \" cm-\");\n        sp.appendChild(document.createTextNode(content));\n      } else {\n        node.appendChild(document.createTextNode(content));\n      }\n    };\n  }\n\n  var lines = splitLines(string), state = (options && options.state) || CodeMirror.startState(mode);\n  for (var i = 0, e = lines.length; i < e; ++i) {\n    if (i) callback(\"\\n\");\n    var stream = new CodeMirror.StringStream(lines[i]);\n    if (!stream.string && mode.blankLine) mode.blankLine(state);\n    while (!stream.eol()) {\n      var style = mode.token(stream, state);\n      callback(stream.current(), style, i, stream.start, state);\n      stream.start = stream.pos;\n    }\n  }\n};\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/runmode/runmode.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.runMode = function(string, modespec, callback, options) {\n  var mode = CodeMirror.getMode(CodeMirror.defaults, modespec);\n  var ie = /MSIE \\d/.test(navigator.userAgent);\n  var ie_lt9 = ie && (document.documentMode == null || document.documentMode < 9);\n\n  if (callback.nodeType == 1) {\n    var tabSize = (options && options.tabSize) || CodeMirror.defaults.tabSize;\n    var node = callback, col = 0;\n    node.innerHTML = \"\";\n    callback = function(text, style) {\n      if (text == \"\\n\") {\n        // Emitting LF or CRLF on IE8 or earlier results in an incorrect display.\n        // Emitting a carriage return makes everything ok.\n        node.appendChild(document.createTextNode(ie_lt9 ? '\\r' : text));\n        col = 0;\n        return;\n      }\n      var content = \"\";\n      // replace tabs\n      for (var pos = 0;;) {\n        var idx = text.indexOf(\"\\t\", pos);\n        if (idx == -1) {\n          content += text.slice(pos);\n          col += text.length - pos;\n          break;\n        } else {\n          col += idx - pos;\n          content += text.slice(pos, idx);\n          var size = tabSize - col % tabSize;\n          col += size;\n          for (var i = 0; i < size; ++i) content += \" \";\n          pos = idx + 1;\n        }\n      }\n\n      if (style) {\n        var sp = node.appendChild(document.createElement(\"span\"));\n        sp.className = \"cm-\" + style.replace(/ +/g, \" cm-\");\n        sp.appendChild(document.createTextNode(content));\n      } else {\n        node.appendChild(document.createTextNode(content));\n      }\n    };\n  }\n\n  var lines = CodeMirror.splitLines(string), state = (options && options.state) || CodeMirror.startState(mode);\n  for (var i = 0, e = lines.length; i < e; ++i) {\n    if (i) callback(\"\\n\");\n    var stream = new CodeMirror.StringStream(lines[i]);\n    if (!stream.string && mode.blankLine) mode.blankLine(state);\n    while (!stream.eol()) {\n      var style = mode.token(stream, state);\n      callback(stream.current(), style, i, stream.start, state);\n      stream.start = stream.pos;\n    }\n  }\n};\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/runmode/runmode.node.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/* Just enough of CodeMirror to run runMode under node.js */\n\n// declare global: StringStream\n\nfunction splitLines(string){ return string.split(/\\r?\\n|\\r/); };\n\nfunction StringStream(string) {\n  this.pos = this.start = 0;\n  this.string = string;\n  this.lineStart = 0;\n}\nStringStream.prototype = {\n  eol: function() {return this.pos >= this.string.length;},\n  sol: function() {return this.pos == 0;},\n  peek: function() {return this.string.charAt(this.pos) || null;},\n  next: function() {\n    if (this.pos < this.string.length)\n      return this.string.charAt(this.pos++);\n  },\n  eat: function(match) {\n    var ch = this.string.charAt(this.pos);\n    if (typeof match == \"string\") var ok = ch == match;\n    else var ok = ch && (match.test ? match.test(ch) : match(ch));\n    if (ok) {++this.pos; return ch;}\n  },\n  eatWhile: function(match) {\n    var start = this.pos;\n    while (this.eat(match)){}\n    return this.pos > start;\n  },\n  eatSpace: function() {\n    var start = this.pos;\n    while (/[\\s\\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;\n    return this.pos > start;\n  },\n  skipToEnd: function() {this.pos = this.string.length;},\n  skipTo: function(ch) {\n    var found = this.string.indexOf(ch, this.pos);\n    if (found > -1) {this.pos = found; return true;}\n  },\n  backUp: function(n) {this.pos -= n;},\n  column: function() {return this.start - this.lineStart;},\n  indentation: function() {return 0;},\n  match: function(pattern, consume, caseInsensitive) {\n    if (typeof pattern == \"string\") {\n      var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};\n      var substr = this.string.substr(this.pos, pattern.length);\n      if (cased(substr) == cased(pattern)) {\n        if (consume !== false) this.pos += pattern.length;\n        return true;\n      }\n    } else {\n      var match = this.string.slice(this.pos).match(pattern);\n      if (match && match.index > 0) return null;\n      if (match && consume !== false) this.pos += match[0].length;\n      return match;\n    }\n  },\n  current: function(){return this.string.slice(this.start, this.pos);},\n  hideFirstChars: function(n, inner) {\n    this.lineStart += n;\n    try { return inner(); }\n    finally { this.lineStart -= n; }\n  }\n};\nexports.StringStream = StringStream;\n\nexports.startState = function(mode, a1, a2) {\n  return mode.startState ? mode.startState(a1, a2) : true;\n};\n\nvar modes = exports.modes = {}, mimeModes = exports.mimeModes = {};\nexports.defineMode = function(name, mode) {\n  if (arguments.length > 2)\n    mode.dependencies = Array.prototype.slice.call(arguments, 2);\n  modes[name] = mode;\n};\nexports.defineMIME = function(mime, spec) { mimeModes[mime] = spec; };\n\nexports.defineMode(\"null\", function() {\n  return {token: function(stream) {stream.skipToEnd();}};\n});\nexports.defineMIME(\"text/plain\", \"null\");\n\nexports.resolveMode = function(spec) {\n  if (typeof spec == \"string\" && mimeModes.hasOwnProperty(spec)) {\n    spec = mimeModes[spec];\n  } else if (spec && typeof spec.name == \"string\" && mimeModes.hasOwnProperty(spec.name)) {\n    spec = mimeModes[spec.name];\n  }\n  if (typeof spec == \"string\") return {name: spec};\n  else return spec || {name: \"null\"};\n};\nexports.getMode = function(options, spec) {\n  spec = exports.resolveMode(spec);\n  var mfactory = modes[spec.name];\n  if (!mfactory) throw new Error(\"Unknown mode: \" + spec);\n  return mfactory(options, spec);\n};\nexports.registerHelper = exports.registerGlobalHelper = Math.min;\n\nexports.runMode = function(string, modespec, callback, options) {\n  var mode = exports.getMode({indentUnit: 2}, modespec);\n  var lines = splitLines(string), state = (options && options.state) || exports.startState(mode);\n  for (var i = 0, e = lines.length; i < e; ++i) {\n    if (i) callback(\"\\n\");\n    var stream = new exports.StringStream(lines[i]);\n    if (!stream.string && mode.blankLine) mode.blankLine(state);\n    while (!stream.eol()) {\n      var style = mode.token(stream, state);\n      callback(stream.current(), style, i, stream.start, state);\n      stream.start = stream.pos;\n    }\n  }\n};\n\nrequire.cache[require.resolve(\"../../lib/codemirror\")] = require.cache[require.resolve(\"./runmode.node\")];\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/scroll/annotatescrollbar.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineExtension(\"annotateScrollbar\", function(options) {\n    if (typeof options == \"string\") options = {className: options};\n    return new Annotation(this, options);\n  });\n\n  CodeMirror.defineOption(\"scrollButtonHeight\", 0);\n\n  function Annotation(cm, options) {\n    this.cm = cm;\n    this.options = options;\n    this.buttonHeight = options.scrollButtonHeight || cm.getOption(\"scrollButtonHeight\");\n    this.annotations = [];\n    this.doRedraw = this.doUpdate = null;\n    this.div = cm.getWrapperElement().appendChild(document.createElement(\"div\"));\n    this.div.style.cssText = \"position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none\";\n    this.computeScale();\n\n    function scheduleRedraw(delay) {\n      clearTimeout(self.doRedraw);\n      self.doRedraw = setTimeout(function() { self.redraw(); }, delay);\n    }\n\n    var self = this;\n    cm.on(\"refresh\", this.resizeHandler = function() {\n      clearTimeout(self.doUpdate);\n      self.doUpdate = setTimeout(function() {\n        if (self.computeScale()) scheduleRedraw(20);\n      }, 100);\n    });\n    cm.on(\"markerAdded\", this.resizeHandler);\n    cm.on(\"markerCleared\", this.resizeHandler);\n    if (options.listenForChanges !== false)\n      cm.on(\"change\", this.changeHandler = function() {\n        scheduleRedraw(250);\n      });\n  }\n\n  Annotation.prototype.computeScale = function() {\n    var cm = this.cm;\n    var hScale = (cm.getWrapperElement().clientHeight - cm.display.barHeight - this.buttonHeight * 2) /\n      cm.heightAtLine(cm.lastLine() + 1, \"local\");\n    if (hScale != this.hScale) {\n      this.hScale = hScale;\n      return true;\n    }\n  };\n\n  Annotation.prototype.update = function(annotations) {\n    this.annotations = annotations;\n    this.redraw();\n  };\n\n  Annotation.prototype.redraw = function(compute) {\n    if (compute !== false) this.computeScale();\n    var cm = this.cm, hScale = this.hScale;\n\n    var frag = document.createDocumentFragment(), anns = this.annotations;\n    if (cm.display.barWidth) for (var i = 0, nextTop; i < anns.length; i++) {\n      var ann = anns[i];\n      var top = nextTop || cm.charCoords(ann.from, \"local\").top * hScale;\n      var bottom = cm.charCoords(ann.to, \"local\").bottom * hScale;\n      while (i < anns.length - 1) {\n        nextTop = cm.charCoords(anns[i + 1].from, \"local\").top * hScale;\n        if (nextTop > bottom + .9) break;\n        ann = anns[++i];\n        bottom = cm.charCoords(ann.to, \"local\").bottom * hScale;\n      }\n      if (bottom == top) continue;\n      var height = Math.max(bottom - top, 3);\n\n      var elt = frag.appendChild(document.createElement(\"div\"));\n      elt.style.cssText = \"position: absolute; right: 0px; width: \" + Math.max(cm.display.barWidth - 1, 2) + \"px; top: \"\n        + (top + this.buttonHeight) + \"px; height: \" + height + \"px\";\n      elt.className = this.options.className;\n    }\n    this.div.textContent = \"\";\n    this.div.appendChild(frag);\n  };\n\n  Annotation.prototype.clear = function() {\n    this.cm.off(\"refresh\", this.resizeHandler);\n    this.cm.off(\"markerAdded\", this.resizeHandler);\n    this.cm.off(\"markerCleared\", this.resizeHandler);\n    if (this.changeHandler) this.cm.off(\"change\", this.changeHandler);\n    this.div.parentNode.removeChild(this.div);\n  };\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/scroll/scrollpastend.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"scrollPastEnd\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      cm.off(\"change\", onChange);\n      cm.off(\"refresh\", updateBottomMargin);\n      cm.display.lineSpace.parentNode.style.paddingBottom = \"\";\n      cm.state.scrollPastEndPadding = null;\n    }\n    if (val) {\n      cm.on(\"change\", onChange);\n      cm.on(\"refresh\", updateBottomMargin);\n      updateBottomMargin(cm);\n    }\n  });\n\n  function onChange(cm, change) {\n    if (CodeMirror.changeEnd(change).line == cm.lastLine())\n      updateBottomMargin(cm);\n  }\n\n  function updateBottomMargin(cm) {\n    var padding = \"\";\n    if (cm.lineCount() > 1) {\n      var totalH = cm.display.scroller.clientHeight - 30,\n          lastLineH = cm.getLineHandle(cm.lastLine()).height;\n      padding = (totalH - lastLineH) + \"px\";\n    }\n    if (cm.state.scrollPastEndPadding != padding) {\n      cm.state.scrollPastEndPadding = padding;\n      cm.display.lineSpace.parentNode.style.paddingBottom = padding;\n      cm.setSize();\n    }\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/scroll/simplescrollbars.css",
    "content": ".CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div {\n  position: absolute;\n  background: #ccc;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n  border: 1px solid #bbb;\n  border-radius: 2px;\n}\n\n.CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical {\n  position: absolute;\n  z-index: 6;\n  background: #eee;\n}\n\n.CodeMirror-simplescroll-horizontal {\n  bottom: 0; left: 0;\n  height: 8px;\n}\n.CodeMirror-simplescroll-horizontal div {\n  bottom: 0;\n  height: 100%;\n}\n\n.CodeMirror-simplescroll-vertical {\n  right: 0; top: 0;\n  width: 8px;\n}\n.CodeMirror-simplescroll-vertical div {\n  right: 0;\n  width: 100%;\n}\n\n\n.CodeMirror-overlayscroll .CodeMirror-scrollbar-filler, .CodeMirror-overlayscroll .CodeMirror-gutter-filler {\n  display: none;\n}\n\n.CodeMirror-overlayscroll-horizontal div, .CodeMirror-overlayscroll-vertical div {\n  position: absolute;\n  background: #bcd;\n  border-radius: 3px;\n}\n\n.CodeMirror-overlayscroll-horizontal, .CodeMirror-overlayscroll-vertical {\n  position: absolute;\n  z-index: 6;\n}\n\n.CodeMirror-overlayscroll-horizontal {\n  bottom: 0; left: 0;\n  height: 6px;\n}\n.CodeMirror-overlayscroll-horizontal div {\n  bottom: 0;\n  height: 100%;\n}\n\n.CodeMirror-overlayscroll-vertical {\n  right: 0; top: 0;\n  width: 6px;\n}\n.CodeMirror-overlayscroll-vertical div {\n  right: 0;\n  width: 100%;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/scroll/simplescrollbars.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  function Bar(cls, orientation, scroll) {\n    this.orientation = orientation;\n    this.scroll = scroll;\n    this.screen = this.total = this.size = 1;\n    this.pos = 0;\n\n    this.node = document.createElement(\"div\");\n    this.node.className = cls + \"-\" + orientation;\n    this.inner = this.node.appendChild(document.createElement(\"div\"));\n\n    var self = this;\n    CodeMirror.on(this.inner, \"mousedown\", function(e) {\n      if (e.which != 1) return;\n      CodeMirror.e_preventDefault(e);\n      var axis = self.orientation == \"horizontal\" ? \"pageX\" : \"pageY\";\n      var start = e[axis], startpos = self.pos;\n      function done() {\n        CodeMirror.off(document, \"mousemove\", move);\n        CodeMirror.off(document, \"mouseup\", done);\n      }\n      function move(e) {\n        if (e.which != 1) return done();\n        self.moveTo(startpos + (e[axis] - start) * (self.total / self.size));\n      }\n      CodeMirror.on(document, \"mousemove\", move);\n      CodeMirror.on(document, \"mouseup\", done);\n    });\n\n    CodeMirror.on(this.node, \"click\", function(e) {\n      CodeMirror.e_preventDefault(e);\n      var innerBox = self.inner.getBoundingClientRect(), where;\n      if (self.orientation == \"horizontal\")\n        where = e.clientX < innerBox.left ? -1 : e.clientX > innerBox.right ? 1 : 0;\n      else\n        where = e.clientY < innerBox.top ? -1 : e.clientY > innerBox.bottom ? 1 : 0;\n      self.moveTo(self.pos + where * self.screen);\n    });\n\n    function onWheel(e) {\n      var moved = CodeMirror.wheelEventPixels(e)[self.orientation == \"horizontal\" ? \"x\" : \"y\"];\n      var oldPos = self.pos;\n      self.moveTo(self.pos + moved);\n      if (self.pos != oldPos) CodeMirror.e_preventDefault(e);\n    }\n    CodeMirror.on(this.node, \"mousewheel\", onWheel);\n    CodeMirror.on(this.node, \"DOMMouseScroll\", onWheel);\n  }\n\n  Bar.prototype.moveTo = function(pos, update) {\n    if (pos < 0) pos = 0;\n    if (pos > this.total - this.screen) pos = this.total - this.screen;\n    if (pos == this.pos) return;\n    this.pos = pos;\n    this.inner.style[this.orientation == \"horizontal\" ? \"left\" : \"top\"] =\n      (pos * (this.size / this.total)) + \"px\";\n    if (update !== false) this.scroll(pos, this.orientation);\n  };\n\n  Bar.prototype.update = function(scrollSize, clientSize, barSize) {\n    this.screen = clientSize;\n    this.total = scrollSize;\n    this.size = barSize;\n\n    // FIXME clip to min size?\n    this.inner.style[this.orientation == \"horizontal\" ? \"width\" : \"height\"] =\n      this.screen * (this.size / this.total) + \"px\";\n    this.inner.style[this.orientation == \"horizontal\" ? \"left\" : \"top\"] =\n      this.pos * (this.size / this.total) + \"px\";\n  };\n\n  function SimpleScrollbars(cls, place, scroll) {\n    this.addClass = cls;\n    this.horiz = new Bar(cls, \"horizontal\", scroll);\n    place(this.horiz.node);\n    this.vert = new Bar(cls, \"vertical\", scroll);\n    place(this.vert.node);\n    this.width = null;\n  }\n\n  SimpleScrollbars.prototype.update = function(measure) {\n    if (this.width == null) {\n      var style = window.getComputedStyle ? window.getComputedStyle(this.horiz.node) : this.horiz.node.currentStyle;\n      if (style) this.width = parseInt(style.height);\n    }\n    var width = this.width || 0;\n\n    var needsH = measure.scrollWidth > measure.clientWidth + 1;\n    var needsV = measure.scrollHeight > measure.clientHeight + 1;\n    this.vert.node.style.display = needsV ? \"block\" : \"none\";\n    this.horiz.node.style.display = needsH ? \"block\" : \"none\";\n\n    if (needsV) {\n      this.vert.update(measure.scrollHeight, measure.clientHeight,\n                       measure.viewHeight - (needsH ? width : 0));\n      this.vert.node.style.display = \"block\";\n      this.vert.node.style.bottom = needsH ? width + \"px\" : \"0\";\n    }\n    if (needsH) {\n      this.horiz.update(measure.scrollWidth, measure.clientWidth,\n                        measure.viewWidth - (needsV ? width : 0) - measure.barLeft);\n      this.horiz.node.style.right = needsV ? width + \"px\" : \"0\";\n      this.horiz.node.style.left = measure.barLeft + \"px\";\n    }\n\n    return {right: needsV ? width : 0, bottom: needsH ? width : 0};\n  };\n\n  SimpleScrollbars.prototype.setScrollTop = function(pos) {\n    this.vert.moveTo(pos, false);\n  };\n\n  SimpleScrollbars.prototype.setScrollLeft = function(pos) {\n    this.horiz.moveTo(pos, false);\n  };\n\n  SimpleScrollbars.prototype.clear = function() {\n    var parent = this.horiz.node.parentNode;\n    parent.removeChild(this.horiz.node);\n    parent.removeChild(this.vert.node);\n  };\n\n  CodeMirror.scrollbarModel.simple = function(place, scroll) {\n    return new SimpleScrollbars(\"CodeMirror-simplescroll\", place, scroll);\n  };\n  CodeMirror.scrollbarModel.overlay = function(place, scroll) {\n    return new SimpleScrollbars(\"CodeMirror-overlayscroll\", place, scroll);\n  };\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/search/match-highlighter.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Highlighting text that matches the selection\n//\n// Defines an option highlightSelectionMatches, which, when enabled,\n// will style strings that match the selection throughout the\n// document.\n//\n// The option can be set to true to simply enable it, or to a\n// {minChars, style, wordsOnly, showToken, delay} object to explicitly\n// configure it. minChars is the minimum amount of characters that should be\n// selected for the behavior to occur, and style is the token style to\n// apply to the matches. This will be prefixed by \"cm-\" to create an\n// actual CSS class name. If wordsOnly is enabled, the matches will be\n// highlighted only if the selected text is a word. showToken, when enabled,\n// will cause the current token to be highlighted when nothing is selected.\n// delay is used to specify how much time to wait, in milliseconds, before\n// highlighting the matches.\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var DEFAULT_MIN_CHARS = 2;\n  var DEFAULT_TOKEN_STYLE = \"matchhighlight\";\n  var DEFAULT_DELAY = 100;\n  var DEFAULT_WORDS_ONLY = false;\n\n  function State(options) {\n    if (typeof options == \"object\") {\n      this.minChars = options.minChars;\n      this.style = options.style;\n      this.showToken = options.showToken;\n      this.delay = options.delay;\n      this.wordsOnly = options.wordsOnly;\n    }\n    if (this.style == null) this.style = DEFAULT_TOKEN_STYLE;\n    if (this.minChars == null) this.minChars = DEFAULT_MIN_CHARS;\n    if (this.delay == null) this.delay = DEFAULT_DELAY;\n    if (this.wordsOnly == null) this.wordsOnly = DEFAULT_WORDS_ONLY;\n    this.overlay = this.timeout = null;\n  }\n\n  CodeMirror.defineOption(\"highlightSelectionMatches\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      var over = cm.state.matchHighlighter.overlay;\n      if (over) cm.removeOverlay(over);\n      clearTimeout(cm.state.matchHighlighter.timeout);\n      cm.state.matchHighlighter = null;\n      cm.off(\"cursorActivity\", cursorActivity);\n    }\n    if (val) {\n      cm.state.matchHighlighter = new State(val);\n      highlightMatches(cm);\n      cm.on(\"cursorActivity\", cursorActivity);\n    }\n  });\n\n  function cursorActivity(cm) {\n    var state = cm.state.matchHighlighter;\n    clearTimeout(state.timeout);\n    state.timeout = setTimeout(function() {highlightMatches(cm);}, state.delay);\n  }\n\n  function highlightMatches(cm) {\n    cm.operation(function() {\n      var state = cm.state.matchHighlighter;\n      if (state.overlay) {\n        cm.removeOverlay(state.overlay);\n        state.overlay = null;\n      }\n      if (!cm.somethingSelected() && state.showToken) {\n        var re = state.showToken === true ? /[\\w$]/ : state.showToken;\n        var cur = cm.getCursor(), line = cm.getLine(cur.line), start = cur.ch, end = start;\n        while (start && re.test(line.charAt(start - 1))) --start;\n        while (end < line.length && re.test(line.charAt(end))) ++end;\n        if (start < end)\n          cm.addOverlay(state.overlay = makeOverlay(line.slice(start, end), re, state.style));\n        return;\n      }\n      var from = cm.getCursor(\"from\"), to = cm.getCursor(\"to\");\n      if (from.line != to.line) return;\n      if (state.wordsOnly && !isWord(cm, from, to)) return;\n      var selection = cm.getRange(from, to).replace(/^\\s+|\\s+$/g, \"\");\n      if (selection.length >= state.minChars)\n        cm.addOverlay(state.overlay = makeOverlay(selection, false, state.style));\n    });\n  }\n\n  function isWord(cm, from, to) {\n    var str = cm.getRange(from, to);\n    if (str.match(/^\\w+$/) !== null) {\n        if (from.ch > 0) {\n            var pos = {line: from.line, ch: from.ch - 1};\n            var chr = cm.getRange(pos, from);\n            if (chr.match(/\\W/) === null) return false;\n        }\n        if (to.ch < cm.getLine(from.line).length) {\n            var pos = {line: to.line, ch: to.ch + 1};\n            var chr = cm.getRange(to, pos);\n            if (chr.match(/\\W/) === null) return false;\n        }\n        return true;\n    } else return false;\n  }\n\n  function boundariesAround(stream, re) {\n    return (!stream.start || !re.test(stream.string.charAt(stream.start - 1))) &&\n      (stream.pos == stream.string.length || !re.test(stream.string.charAt(stream.pos)));\n  }\n\n  function makeOverlay(query, hasBoundary, style) {\n    return {token: function(stream) {\n      if (stream.match(query) &&\n          (!hasBoundary || boundariesAround(stream, hasBoundary)))\n        return style;\n      stream.next();\n      stream.skipTo(query.charAt(0)) || stream.skipToEnd();\n    }};\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/search/matchesonscrollbar.css",
    "content": ".CodeMirror-search-match {\n  background: gold;\n  border-top: 1px solid orange;\n  border-bottom: 1px solid orange;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n  opacity: .5;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/search/matchesonscrollbar.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"./searchcursor\"), require(\"../scroll/annotatescrollbar\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"./searchcursor\", \"../scroll/annotatescrollbar\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineExtension(\"showMatchesOnScrollbar\", function(query, caseFold, options) {\n    if (typeof options == \"string\") options = {className: options};\n    if (!options) options = {};\n    return new SearchAnnotation(this, query, caseFold, options);\n  });\n\n  function SearchAnnotation(cm, query, caseFold, options) {\n    this.cm = cm;\n    var annotateOptions = {listenForChanges: false};\n    for (var prop in options) annotateOptions[prop] = options[prop];\n    if (!annotateOptions.className) annotateOptions.className = \"CodeMirror-search-match\";\n    this.annotation = cm.annotateScrollbar(annotateOptions);\n    this.query = query;\n    this.caseFold = caseFold;\n    this.gap = {from: cm.firstLine(), to: cm.lastLine() + 1};\n    this.matches = [];\n    this.update = null;\n\n    this.findMatches();\n    this.annotation.update(this.matches);\n\n    var self = this;\n    cm.on(\"change\", this.changeHandler = function(_cm, change) { self.onChange(change); });\n  }\n\n  var MAX_MATCHES = 1000;\n\n  SearchAnnotation.prototype.findMatches = function() {\n    if (!this.gap) return;\n    for (var i = 0; i < this.matches.length; i++) {\n      var match = this.matches[i];\n      if (match.from.line >= this.gap.to) break;\n      if (match.to.line >= this.gap.from) this.matches.splice(i--, 1);\n    }\n    var cursor = this.cm.getSearchCursor(this.query, CodeMirror.Pos(this.gap.from, 0), this.caseFold);\n    while (cursor.findNext()) {\n      var match = {from: cursor.from(), to: cursor.to()};\n      if (match.from.line >= this.gap.to) break;\n      this.matches.splice(i++, 0, match);\n      if (this.matches.length > MAX_MATCHES) break;\n    }\n    this.gap = null;\n  };\n\n  function offsetLine(line, changeStart, sizeChange) {\n    if (line <= changeStart) return line;\n    return Math.max(changeStart, line + sizeChange);\n  }\n\n  SearchAnnotation.prototype.onChange = function(change) {\n    var startLine = change.from.line;\n    var endLine = CodeMirror.changeEnd(change).line;\n    var sizeChange = endLine - change.to.line;\n    if (this.gap) {\n      this.gap.from = Math.min(offsetLine(this.gap.from, startLine, sizeChange), change.from.line);\n      this.gap.to = Math.max(offsetLine(this.gap.to, startLine, sizeChange), change.from.line);\n    } else {\n      this.gap = {from: change.from.line, to: endLine + 1};\n    }\n\n    if (sizeChange) for (var i = 0; i < this.matches.length; i++) {\n      var match = this.matches[i];\n      var newFrom = offsetLine(match.from.line, startLine, sizeChange);\n      if (newFrom != match.from.line) match.from = CodeMirror.Pos(newFrom, match.from.ch);\n      var newTo = offsetLine(match.to.line, startLine, sizeChange);\n      if (newTo != match.to.line) match.to = CodeMirror.Pos(newTo, match.to.ch);\n    }\n    clearTimeout(this.update);\n    var self = this;\n    this.update = setTimeout(function() { self.updateAfterChange(); }, 250);\n  };\n\n  SearchAnnotation.prototype.updateAfterChange = function() {\n    this.findMatches();\n    this.annotation.update(this.matches);\n  };\n\n  SearchAnnotation.prototype.clear = function() {\n    this.cm.off(\"change\", this.changeHandler);\n    this.annotation.clear();\n  };\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/search/search.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Define search commands. Depends on dialog.js or another\n// implementation of the openDialog method.\n\n// Replace works a little oddly -- it will do the replace on the next\n// Ctrl-G (or whatever is bound to findNext) press. You prevent a\n// replace by making sure the match is no longer selected when hitting\n// Ctrl-G.\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"./searchcursor\"), require(\"../dialog/dialog\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"./searchcursor\", \"../dialog/dialog\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n  function searchOverlay(query, caseInsensitive) {\n    if (typeof query == \"string\")\n      query = new RegExp(query.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, \"\\\\$&\"), caseInsensitive ? \"gi\" : \"g\");\n    else if (!query.global)\n      query = new RegExp(query.source, query.ignoreCase ? \"gi\" : \"g\");\n\n    return {token: function(stream) {\n      query.lastIndex = stream.pos;\n      var match = query.exec(stream.string);\n      if (match && match.index == stream.pos) {\n        stream.pos += match[0].length;\n        return \"searching\";\n      } else if (match) {\n        stream.pos = match.index;\n      } else {\n        stream.skipToEnd();\n      }\n    }};\n  }\n\n  function SearchState() {\n    this.posFrom = this.posTo = this.query = null;\n    this.overlay = null;\n  }\n  function getSearchState(cm) {\n    return cm.state.search || (cm.state.search = new SearchState());\n  }\n  function queryCaseInsensitive(query) {\n    return typeof query == \"string\" && query == query.toLowerCase();\n  }\n  function getSearchCursor(cm, query, pos) {\n    // Heuristic: if the query string is all lowercase, do a case insensitive search.\n    return cm.getSearchCursor(query, pos, queryCaseInsensitive(query));\n  }\n  function dialog(cm, text, shortText, deflt, f) {\n    if (cm.openDialog) cm.openDialog(text, f, {value: deflt});\n    else f(prompt(shortText, deflt));\n  }\n  function confirmDialog(cm, text, shortText, fs) {\n    if (cm.openConfirm) cm.openConfirm(text, fs);\n    else if (confirm(shortText)) fs[0]();\n  }\n  function parseQuery(query) {\n    var isRE = query.match(/^\\/(.*)\\/([a-z]*)$/);\n    if (isRE) {\n      try { query = new RegExp(isRE[1], isRE[2].indexOf(\"i\") == -1 ? \"\" : \"i\"); }\n      catch(e) {} // Not a regular expression after all, do a string search\n    }\n    if (typeof query == \"string\" ? query == \"\" : query.test(\"\"))\n      query = /x^/;\n    return query;\n  }\n  var queryDialog =\n    'Search: <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">(Use /re/ syntax for regexp search)</span>';\n  function doSearch(cm, rev) {\n    var state = getSearchState(cm);\n    if (state.query) return findNext(cm, rev);\n    dialog(cm, queryDialog, \"Search for:\", cm.getSelection(), function(query) {\n      cm.operation(function() {\n        if (!query || state.query) return;\n        state.query = parseQuery(query);\n        cm.removeOverlay(state.overlay, queryCaseInsensitive(state.query));\n        state.overlay = searchOverlay(state.query, queryCaseInsensitive(state.query));\n        cm.addOverlay(state.overlay);\n        if (cm.showMatchesOnScrollbar) {\n          if (state.annotate) { state.annotate.clear(); state.annotate = null; }\n          state.annotate = cm.showMatchesOnScrollbar(state.query, queryCaseInsensitive(state.query));\n        }\n        state.posFrom = state.posTo = cm.getCursor();\n        findNext(cm, rev);\n      });\n    });\n  }\n  function findNext(cm, rev) {cm.operation(function() {\n    var state = getSearchState(cm);\n    var cursor = getSearchCursor(cm, state.query, rev ? state.posFrom : state.posTo);\n    if (!cursor.find(rev)) {\n      cursor = getSearchCursor(cm, state.query, rev ? CodeMirror.Pos(cm.lastLine()) : CodeMirror.Pos(cm.firstLine(), 0));\n      if (!cursor.find(rev)) return;\n    }\n    cm.setSelection(cursor.from(), cursor.to());\n    cm.scrollIntoView({from: cursor.from(), to: cursor.to()});\n    state.posFrom = cursor.from(); state.posTo = cursor.to();\n  });}\n  function clearSearch(cm) {cm.operation(function() {\n    var state = getSearchState(cm);\n    if (!state.query) return;\n    state.query = null;\n    cm.removeOverlay(state.overlay);\n    if (state.annotate) { state.annotate.clear(); state.annotate = null; }\n  });}\n\n  var replaceQueryDialog =\n    'Replace: <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">(Use /re/ syntax for regexp search)</span>';\n  var replacementQueryDialog = 'With: <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/>';\n  var doReplaceConfirm = \"Replace? <button>Yes</button> <button>No</button> <button>Stop</button>\";\n  function replace(cm, all) {\n    if (cm.getOption(\"readOnly\")) return;\n    dialog(cm, replaceQueryDialog, \"Replace:\", cm.getSelection(), function(query) {\n      if (!query) return;\n      query = parseQuery(query);\n      dialog(cm, replacementQueryDialog, \"Replace with:\", \"\", function(text) {\n        if (all) {\n          cm.operation(function() {\n            for (var cursor = getSearchCursor(cm, query); cursor.findNext();) {\n              if (typeof query != \"string\") {\n                var match = cm.getRange(cursor.from(), cursor.to()).match(query);\n                cursor.replace(text.replace(/\\$(\\d)/g, function(_, i) {return match[i];}));\n              } else cursor.replace(text);\n            }\n          });\n        } else {\n          clearSearch(cm);\n          var cursor = getSearchCursor(cm, query, cm.getCursor());\n          var advance = function() {\n            var start = cursor.from(), match;\n            if (!(match = cursor.findNext())) {\n              cursor = getSearchCursor(cm, query);\n              if (!(match = cursor.findNext()) ||\n                  (start && cursor.from().line == start.line && cursor.from().ch == start.ch)) return;\n            }\n            cm.setSelection(cursor.from(), cursor.to());\n            cm.scrollIntoView({from: cursor.from(), to: cursor.to()});\n            confirmDialog(cm, doReplaceConfirm, \"Replace?\",\n                          [function() {doReplace(match);}, advance]);\n          };\n          var doReplace = function(match) {\n            cursor.replace(typeof query == \"string\" ? text :\n                           text.replace(/\\$(\\d)/g, function(_, i) {return match[i];}));\n            advance();\n          };\n          advance();\n        }\n      });\n    });\n  }\n\n  CodeMirror.commands.find = function(cm) {clearSearch(cm); doSearch(cm);};\n  CodeMirror.commands.findNext = doSearch;\n  CodeMirror.commands.findPrev = function(cm) {doSearch(cm, true);};\n  CodeMirror.commands.clearSearch = clearSearch;\n  CodeMirror.commands.replace = replace;\n  CodeMirror.commands.replaceAll = function(cm) {replace(cm, true);};\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/search/searchcursor.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n  var Pos = CodeMirror.Pos;\n\n  function SearchCursor(doc, query, pos, caseFold) {\n    this.atOccurrence = false; this.doc = doc;\n    if (caseFold == null && typeof query == \"string\") caseFold = false;\n\n    pos = pos ? doc.clipPos(pos) : Pos(0, 0);\n    this.pos = {from: pos, to: pos};\n\n    // The matches method is filled in based on the type of query.\n    // It takes a position and a direction, and returns an object\n    // describing the next occurrence of the query, or null if no\n    // more matches were found.\n    if (typeof query != \"string\") { // Regexp match\n      if (!query.global) query = new RegExp(query.source, query.ignoreCase ? \"ig\" : \"g\");\n      this.matches = function(reverse, pos) {\n        if (reverse) {\n          query.lastIndex = 0;\n          var line = doc.getLine(pos.line).slice(0, pos.ch), cutOff = 0, match, start;\n          for (;;) {\n            query.lastIndex = cutOff;\n            var newMatch = query.exec(line);\n            if (!newMatch) break;\n            match = newMatch;\n            start = match.index;\n            cutOff = match.index + (match[0].length || 1);\n            if (cutOff == line.length) break;\n          }\n          var matchLen = (match && match[0].length) || 0;\n          if (!matchLen) {\n            if (start == 0 && line.length == 0) {match = undefined;}\n            else if (start != doc.getLine(pos.line).length) {\n              matchLen++;\n            }\n          }\n        } else {\n          query.lastIndex = pos.ch;\n          var line = doc.getLine(pos.line), match = query.exec(line);\n          var matchLen = (match && match[0].length) || 0;\n          var start = match && match.index;\n          if (start + matchLen != line.length && !matchLen) matchLen = 1;\n        }\n        if (match && matchLen)\n          return {from: Pos(pos.line, start),\n                  to: Pos(pos.line, start + matchLen),\n                  match: match};\n      };\n    } else { // String query\n      var origQuery = query;\n      if (caseFold) query = query.toLowerCase();\n      var fold = caseFold ? function(str){return str.toLowerCase();} : function(str){return str;};\n      var target = query.split(\"\\n\");\n      // Different methods for single-line and multi-line queries\n      if (target.length == 1) {\n        if (!query.length) {\n          // Empty string would match anything and never progress, so\n          // we define it to match nothing instead.\n          this.matches = function() {};\n        } else {\n          this.matches = function(reverse, pos) {\n            if (reverse) {\n              var orig = doc.getLine(pos.line).slice(0, pos.ch), line = fold(orig);\n              var match = line.lastIndexOf(query);\n              if (match > -1) {\n                match = adjustPos(orig, line, match);\n                return {from: Pos(pos.line, match), to: Pos(pos.line, match + origQuery.length)};\n              }\n             } else {\n               var orig = doc.getLine(pos.line).slice(pos.ch), line = fold(orig);\n               var match = line.indexOf(query);\n               if (match > -1) {\n                 match = adjustPos(orig, line, match) + pos.ch;\n                 return {from: Pos(pos.line, match), to: Pos(pos.line, match + origQuery.length)};\n               }\n            }\n          };\n        }\n      } else {\n        var origTarget = origQuery.split(\"\\n\");\n        this.matches = function(reverse, pos) {\n          var last = target.length - 1;\n          if (reverse) {\n            if (pos.line - (target.length - 1) < doc.firstLine()) return;\n            if (fold(doc.getLine(pos.line).slice(0, origTarget[last].length)) != target[target.length - 1]) return;\n            var to = Pos(pos.line, origTarget[last].length);\n            for (var ln = pos.line - 1, i = last - 1; i >= 1; --i, --ln)\n              if (target[i] != fold(doc.getLine(ln))) return;\n            var line = doc.getLine(ln), cut = line.length - origTarget[0].length;\n            if (fold(line.slice(cut)) != target[0]) return;\n            return {from: Pos(ln, cut), to: to};\n          } else {\n            if (pos.line + (target.length - 1) > doc.lastLine()) return;\n            var line = doc.getLine(pos.line), cut = line.length - origTarget[0].length;\n            if (fold(line.slice(cut)) != target[0]) return;\n            var from = Pos(pos.line, cut);\n            for (var ln = pos.line + 1, i = 1; i < last; ++i, ++ln)\n              if (target[i] != fold(doc.getLine(ln))) return;\n            if (fold(doc.getLine(ln).slice(0, origTarget[last].length)) != target[last]) return;\n            return {from: from, to: Pos(ln, origTarget[last].length)};\n          }\n        };\n      }\n    }\n  }\n\n  SearchCursor.prototype = {\n    findNext: function() {return this.find(false);},\n    findPrevious: function() {return this.find(true);},\n\n    find: function(reverse) {\n      var self = this, pos = this.doc.clipPos(reverse ? this.pos.from : this.pos.to);\n      function savePosAndFail(line) {\n        var pos = Pos(line, 0);\n        self.pos = {from: pos, to: pos};\n        self.atOccurrence = false;\n        return false;\n      }\n\n      for (;;) {\n        if (this.pos = this.matches(reverse, pos)) {\n          this.atOccurrence = true;\n          return this.pos.match || true;\n        }\n        if (reverse) {\n          if (!pos.line) return savePosAndFail(0);\n          pos = Pos(pos.line-1, this.doc.getLine(pos.line-1).length);\n        }\n        else {\n          var maxLine = this.doc.lineCount();\n          if (pos.line == maxLine - 1) return savePosAndFail(maxLine);\n          pos = Pos(pos.line + 1, 0);\n        }\n      }\n    },\n\n    from: function() {if (this.atOccurrence) return this.pos.from;},\n    to: function() {if (this.atOccurrence) return this.pos.to;},\n\n    replace: function(newText) {\n      if (!this.atOccurrence) return;\n      var lines = CodeMirror.splitLines(newText);\n      this.doc.replaceRange(lines, this.pos.from, this.pos.to);\n      this.pos.to = Pos(this.pos.from.line + lines.length - 1,\n                        lines[lines.length - 1].length + (lines.length == 1 ? this.pos.from.ch : 0));\n    }\n  };\n\n  // Maps a position in a case-folded line back to a position in the original line\n  // (compensating for codepoints increasing in number during folding)\n  function adjustPos(orig, folded, pos) {\n    if (orig.length == folded.length) return pos;\n    for (var pos1 = Math.min(pos, orig.length);;) {\n      var len1 = orig.slice(0, pos1).toLowerCase().length;\n      if (len1 < pos) ++pos1;\n      else if (len1 > pos) --pos1;\n      else return pos1;\n    }\n  }\n\n  CodeMirror.defineExtension(\"getSearchCursor\", function(query, pos, caseFold) {\n    return new SearchCursor(this.doc, query, pos, caseFold);\n  });\n  CodeMirror.defineDocExtension(\"getSearchCursor\", function(query, pos, caseFold) {\n    return new SearchCursor(this, query, pos, caseFold);\n  });\n\n  CodeMirror.defineExtension(\"selectMatches\", function(query, caseFold) {\n    var ranges = [], next;\n    var cur = this.getSearchCursor(query, this.getCursor(\"from\"), caseFold);\n    while (next = cur.findNext()) {\n      if (CodeMirror.cmpPos(cur.to(), this.getCursor(\"to\")) > 0) break;\n      ranges.push({anchor: cur.from(), head: cur.to()});\n    }\n    if (ranges.length)\n      this.setSelections(ranges, 0);\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/selection/active-line.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Because sometimes you need to style the cursor's line.\n//\n// Adds an option 'styleActiveLine' which, when enabled, gives the\n// active line's wrapping <div> the CSS class \"CodeMirror-activeline\",\n// and gives its background <div> the class \"CodeMirror-activeline-background\".\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n  var WRAP_CLASS = \"CodeMirror-activeline\";\n  var BACK_CLASS = \"CodeMirror-activeline-background\";\n\n  CodeMirror.defineOption(\"styleActiveLine\", false, function(cm, val, old) {\n    var prev = old && old != CodeMirror.Init;\n    if (val && !prev) {\n      cm.state.activeLines = [];\n      updateActiveLines(cm, cm.listSelections());\n      cm.on(\"beforeSelectionChange\", selectionChange);\n    } else if (!val && prev) {\n      cm.off(\"beforeSelectionChange\", selectionChange);\n      clearActiveLines(cm);\n      delete cm.state.activeLines;\n    }\n  });\n\n  function clearActiveLines(cm) {\n    for (var i = 0; i < cm.state.activeLines.length; i++) {\n      cm.removeLineClass(cm.state.activeLines[i], \"wrap\", WRAP_CLASS);\n      cm.removeLineClass(cm.state.activeLines[i], \"background\", BACK_CLASS);\n    }\n  }\n\n  function sameArray(a, b) {\n    if (a.length != b.length) return false;\n    for (var i = 0; i < a.length; i++)\n      if (a[i] != b[i]) return false;\n    return true;\n  }\n\n  function updateActiveLines(cm, ranges) {\n    var active = [];\n    for (var i = 0; i < ranges.length; i++) {\n      var range = ranges[i];\n      if (!range.empty()) continue;\n      var line = cm.getLineHandleVisualStart(range.head.line);\n      if (active[active.length - 1] != line) active.push(line);\n    }\n    if (sameArray(cm.state.activeLines, active)) return;\n    cm.operation(function() {\n      clearActiveLines(cm);\n      for (var i = 0; i < active.length; i++) {\n        cm.addLineClass(active[i], \"wrap\", WRAP_CLASS);\n        cm.addLineClass(active[i], \"background\", BACK_CLASS);\n      }\n      cm.state.activeLines = active;\n    });\n  }\n\n  function selectionChange(cm, sel) {\n    updateActiveLines(cm, sel.ranges);\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/selection/mark-selection.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Because sometimes you need to mark the selected *text*.\n//\n// Adds an option 'styleSelectedText' which, when enabled, gives\n// selected text the CSS class given as option value, or\n// \"CodeMirror-selectedtext\" when the value is not a string.\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"styleSelectedText\", false, function(cm, val, old) {\n    var prev = old && old != CodeMirror.Init;\n    if (val && !prev) {\n      cm.state.markedSelection = [];\n      cm.state.markedSelectionStyle = typeof val == \"string\" ? val : \"CodeMirror-selectedtext\";\n      reset(cm);\n      cm.on(\"cursorActivity\", onCursorActivity);\n      cm.on(\"change\", onChange);\n    } else if (!val && prev) {\n      cm.off(\"cursorActivity\", onCursorActivity);\n      cm.off(\"change\", onChange);\n      clear(cm);\n      cm.state.markedSelection = cm.state.markedSelectionStyle = null;\n    }\n  });\n\n  function onCursorActivity(cm) {\n    cm.operation(function() { update(cm); });\n  }\n\n  function onChange(cm) {\n    if (cm.state.markedSelection.length)\n      cm.operation(function() { clear(cm); });\n  }\n\n  var CHUNK_SIZE = 8;\n  var Pos = CodeMirror.Pos;\n  var cmp = CodeMirror.cmpPos;\n\n  function coverRange(cm, from, to, addAt) {\n    if (cmp(from, to) == 0) return;\n    var array = cm.state.markedSelection;\n    var cls = cm.state.markedSelectionStyle;\n    for (var line = from.line;;) {\n      var start = line == from.line ? from : Pos(line, 0);\n      var endLine = line + CHUNK_SIZE, atEnd = endLine >= to.line;\n      var end = atEnd ? to : Pos(endLine, 0);\n      var mark = cm.markText(start, end, {className: cls});\n      if (addAt == null) array.push(mark);\n      else array.splice(addAt++, 0, mark);\n      if (atEnd) break;\n      line = endLine;\n    }\n  }\n\n  function clear(cm) {\n    var array = cm.state.markedSelection;\n    for (var i = 0; i < array.length; ++i) array[i].clear();\n    array.length = 0;\n  }\n\n  function reset(cm) {\n    clear(cm);\n    var ranges = cm.listSelections();\n    for (var i = 0; i < ranges.length; i++)\n      coverRange(cm, ranges[i].from(), ranges[i].to());\n  }\n\n  function update(cm) {\n    if (!cm.somethingSelected()) return clear(cm);\n    if (cm.listSelections().length > 1) return reset(cm);\n\n    var from = cm.getCursor(\"start\"), to = cm.getCursor(\"end\");\n\n    var array = cm.state.markedSelection;\n    if (!array.length) return coverRange(cm, from, to);\n\n    var coverStart = array[0].find(), coverEnd = array[array.length - 1].find();\n    if (!coverStart || !coverEnd || to.line - from.line < CHUNK_SIZE ||\n        cmp(from, coverEnd.to) >= 0 || cmp(to, coverStart.from) <= 0)\n      return reset(cm);\n\n    while (cmp(from, coverStart.from) > 0) {\n      array.shift().clear();\n      coverStart = array[0].find();\n    }\n    if (cmp(from, coverStart.from) < 0) {\n      if (coverStart.to.line - from.line < CHUNK_SIZE) {\n        array.shift().clear();\n        coverRange(cm, from, coverStart.to, 0);\n      } else {\n        coverRange(cm, from, coverStart.from, 0);\n      }\n    }\n\n    while (cmp(to, coverEnd.to) < 0) {\n      array.pop().clear();\n      coverEnd = array[array.length - 1].find();\n    }\n    if (cmp(to, coverEnd.to) > 0) {\n      if (to.line - coverEnd.from.line < CHUNK_SIZE) {\n        array.pop().clear();\n        coverRange(cm, coverEnd.from, to);\n      } else {\n        coverRange(cm, coverEnd.to, to);\n      }\n    }\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/selection/selection-pointer.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"selectionPointer\", false, function(cm, val) {\n    var data = cm.state.selectionPointer;\n    if (data) {\n      CodeMirror.off(cm.getWrapperElement(), \"mousemove\", data.mousemove);\n      CodeMirror.off(cm.getWrapperElement(), \"mouseout\", data.mouseout);\n      CodeMirror.off(window, \"scroll\", data.windowScroll);\n      cm.off(\"cursorActivity\", reset);\n      cm.off(\"scroll\", reset);\n      cm.state.selectionPointer = null;\n      cm.display.lineDiv.style.cursor = \"\";\n    }\n    if (val) {\n      data = cm.state.selectionPointer = {\n        value: typeof val == \"string\" ? val : \"default\",\n        mousemove: function(event) { mousemove(cm, event); },\n        mouseout: function(event) { mouseout(cm, event); },\n        windowScroll: function() { reset(cm); },\n        rects: null,\n        mouseX: null, mouseY: null,\n        willUpdate: false\n      };\n      CodeMirror.on(cm.getWrapperElement(), \"mousemove\", data.mousemove);\n      CodeMirror.on(cm.getWrapperElement(), \"mouseout\", data.mouseout);\n      CodeMirror.on(window, \"scroll\", data.windowScroll);\n      cm.on(\"cursorActivity\", reset);\n      cm.on(\"scroll\", reset);\n    }\n  });\n\n  function mousemove(cm, event) {\n    var data = cm.state.selectionPointer;\n    if (event.buttons == null ? event.which : event.buttons) {\n      data.mouseX = data.mouseY = null;\n    } else {\n      data.mouseX = event.clientX;\n      data.mouseY = event.clientY;\n    }\n    scheduleUpdate(cm);\n  }\n\n  function mouseout(cm, event) {\n    if (!cm.getWrapperElement().contains(event.relatedTarget)) {\n      var data = cm.state.selectionPointer;\n      data.mouseX = data.mouseY = null;\n      scheduleUpdate(cm);\n    }\n  }\n\n  function reset(cm) {\n    cm.state.selectionPointer.rects = null;\n    scheduleUpdate(cm);\n  }\n\n  function scheduleUpdate(cm) {\n    if (!cm.state.selectionPointer.willUpdate) {\n      cm.state.selectionPointer.willUpdate = true;\n      setTimeout(function() {\n        update(cm);\n        cm.state.selectionPointer.willUpdate = false;\n      }, 50);\n    }\n  }\n\n  function update(cm) {\n    var data = cm.state.selectionPointer;\n    if (!data) return;\n    if (data.rects == null && data.mouseX != null) {\n      data.rects = [];\n      if (cm.somethingSelected()) {\n        for (var sel = cm.display.selectionDiv.firstChild; sel; sel = sel.nextSibling)\n          data.rects.push(sel.getBoundingClientRect());\n      }\n    }\n    var inside = false;\n    if (data.mouseX != null) for (var i = 0; i < data.rects.length; i++) {\n      var rect = data.rects[i];\n      if (rect.left <= data.mouseX && rect.right >= data.mouseX &&\n          rect.top <= data.mouseY && rect.bottom >= data.mouseY)\n        inside = true;\n    }\n    var cursor = inside ? data.value : \"\";\n    if (cm.display.lineDiv.style.cursor != cursor)\n      cm.display.lineDiv.style.cursor = cursor;\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/tern/tern.css",
    "content": ".CodeMirror-Tern-completion {\n  padding-left: 22px;\n  position: relative;\n}\n.CodeMirror-Tern-completion:before {\n  position: absolute;\n  left: 2px;\n  bottom: 2px;\n  border-radius: 50%;\n  font-size: 12px;\n  font-weight: bold;\n  height: 15px;\n  width: 15px;\n  line-height: 16px;\n  text-align: center;\n  color: white;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n.CodeMirror-Tern-completion-unknown:before {\n  content: \"?\";\n  background: #4bb;\n}\n.CodeMirror-Tern-completion-object:before {\n  content: \"O\";\n  background: #77c;\n}\n.CodeMirror-Tern-completion-fn:before {\n  content: \"F\";\n  background: #7c7;\n}\n.CodeMirror-Tern-completion-array:before {\n  content: \"A\";\n  background: #c66;\n}\n.CodeMirror-Tern-completion-number:before {\n  content: \"1\";\n  background: #999;\n}\n.CodeMirror-Tern-completion-string:before {\n  content: \"S\";\n  background: #999;\n}\n.CodeMirror-Tern-completion-bool:before {\n  content: \"B\";\n  background: #999;\n}\n\n.CodeMirror-Tern-completion-guess {\n  color: #999;\n}\n\n.CodeMirror-Tern-tooltip {\n  border: 1px solid silver;\n  border-radius: 3px;\n  color: #444;\n  padding: 2px 5px;\n  font-size: 90%;\n  font-family: monospace;\n  background-color: white;\n  white-space: pre-wrap;\n\n  max-width: 40em;\n  position: absolute;\n  z-index: 10;\n  -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n  -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n  box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n\n  transition: opacity 1s;\n  -moz-transition: opacity 1s;\n  -webkit-transition: opacity 1s;\n  -o-transition: opacity 1s;\n  -ms-transition: opacity 1s;\n}\n\n.CodeMirror-Tern-hint-doc {\n  max-width: 25em;\n  margin-top: -3px;\n}\n\n.CodeMirror-Tern-fname { color: black; }\n.CodeMirror-Tern-farg { color: #70a; }\n.CodeMirror-Tern-farg-current { text-decoration: underline; }\n.CodeMirror-Tern-type { color: #07c; }\n.CodeMirror-Tern-fhint-guess { opacity: .7; }\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/tern/tern.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Glue code between CodeMirror and Tern.\n//\n// Create a CodeMirror.TernServer to wrap an actual Tern server,\n// register open documents (CodeMirror.Doc instances) with it, and\n// call its methods to activate the assisting functions that Tern\n// provides.\n//\n// Options supported (all optional):\n// * defs: An array of JSON definition data structures.\n// * plugins: An object mapping plugin names to configuration\n//   options.\n// * getFile: A function(name, c) that can be used to access files in\n//   the project that haven't been loaded yet. Simply do c(null) to\n//   indicate that a file is not available.\n// * fileFilter: A function(value, docName, doc) that will be applied\n//   to documents before passing them on to Tern.\n// * switchToDoc: A function(name, doc) that should, when providing a\n//   multi-file view, switch the view or focus to the named file.\n// * showError: A function(editor, message) that can be used to\n//   override the way errors are displayed.\n// * completionTip: Customize the content in tooltips for completions.\n//   Is passed a single argument—the completion's data as returned by\n//   Tern—and may return a string, DOM node, or null to indicate that\n//   no tip should be shown. By default the docstring is shown.\n// * typeTip: Like completionTip, but for the tooltips shown for type\n//   queries.\n// * responseFilter: A function(doc, query, request, error, data) that\n//   will be applied to the Tern responses before treating them\n//\n//\n// It is possible to run the Tern server in a web worker by specifying\n// these additional options:\n// * useWorker: Set to true to enable web worker mode. You'll probably\n//   want to feature detect the actual value you use here, for example\n//   !!window.Worker.\n// * workerScript: The main script of the worker. Point this to\n//   wherever you are hosting worker.js from this directory.\n// * workerDeps: An array of paths pointing (relative to workerScript)\n//   to the Acorn and Tern libraries and any Tern plugins you want to\n//   load. Or, if you minified those into a single script and included\n//   them in the workerScript, simply leave this undefined.\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n  // declare global: tern\n\n  CodeMirror.TernServer = function(options) {\n    var self = this;\n    this.options = options || {};\n    var plugins = this.options.plugins || (this.options.plugins = {});\n    if (!plugins.doc_comment) plugins.doc_comment = true;\n    if (this.options.useWorker) {\n      this.server = new WorkerServer(this);\n    } else {\n      this.server = new tern.Server({\n        getFile: function(name, c) { return getFile(self, name, c); },\n        async: true,\n        defs: this.options.defs || [],\n        plugins: plugins\n      });\n    }\n    this.docs = Object.create(null);\n    this.trackChange = function(doc, change) { trackChange(self, doc, change); };\n\n    this.cachedArgHints = null;\n    this.activeArgHints = null;\n    this.jumpStack = [];\n\n    this.getHint = function(cm, c) { return hint(self, cm, c); };\n    this.getHint.async = true;\n  };\n\n  CodeMirror.TernServer.prototype = {\n    addDoc: function(name, doc) {\n      var data = {doc: doc, name: name, changed: null};\n      this.server.addFile(name, docValue(this, data));\n      CodeMirror.on(doc, \"change\", this.trackChange);\n      return this.docs[name] = data;\n    },\n\n    delDoc: function(id) {\n      var found = resolveDoc(this, id);\n      if (!found) return;\n      CodeMirror.off(found.doc, \"change\", this.trackChange);\n      delete this.docs[found.name];\n      this.server.delFile(found.name);\n    },\n\n    hideDoc: function(id) {\n      closeArgHints(this);\n      var found = resolveDoc(this, id);\n      if (found && found.changed) sendDoc(this, found);\n    },\n\n    complete: function(cm) {\n      cm.showHint({hint: this.getHint});\n    },\n\n    showType: function(cm, pos, c) { showContextInfo(this, cm, pos, \"type\", c); },\n\n    showDocs: function(cm, pos, c) { showContextInfo(this, cm, pos, \"documentation\", c); },\n\n    updateArgHints: function(cm) { updateArgHints(this, cm); },\n\n    jumpToDef: function(cm) { jumpToDef(this, cm); },\n\n    jumpBack: function(cm) { jumpBack(this, cm); },\n\n    rename: function(cm) { rename(this, cm); },\n\n    selectName: function(cm) { selectName(this, cm); },\n\n    request: function (cm, query, c, pos) {\n      var self = this;\n      var doc = findDoc(this, cm.getDoc());\n      var request = buildRequest(this, doc, query, pos);\n\n      this.server.request(request, function (error, data) {\n        if (!error && self.options.responseFilter)\n          data = self.options.responseFilter(doc, query, request, error, data);\n        c(error, data);\n      });\n    },\n\n    destroy: function () {\n      if (this.worker) {\n        this.worker.terminate();\n        this.worker = null;\n      }\n    }\n  };\n\n  var Pos = CodeMirror.Pos;\n  var cls = \"CodeMirror-Tern-\";\n  var bigDoc = 250;\n\n  function getFile(ts, name, c) {\n    var buf = ts.docs[name];\n    if (buf)\n      c(docValue(ts, buf));\n    else if (ts.options.getFile)\n      ts.options.getFile(name, c);\n    else\n      c(null);\n  }\n\n  function findDoc(ts, doc, name) {\n    for (var n in ts.docs) {\n      var cur = ts.docs[n];\n      if (cur.doc == doc) return cur;\n    }\n    if (!name) for (var i = 0;; ++i) {\n      n = \"[doc\" + (i || \"\") + \"]\";\n      if (!ts.docs[n]) { name = n; break; }\n    }\n    return ts.addDoc(name, doc);\n  }\n\n  function resolveDoc(ts, id) {\n    if (typeof id == \"string\") return ts.docs[id];\n    if (id instanceof CodeMirror) id = id.getDoc();\n    if (id instanceof CodeMirror.Doc) return findDoc(ts, id);\n  }\n\n  function trackChange(ts, doc, change) {\n    var data = findDoc(ts, doc);\n\n    var argHints = ts.cachedArgHints;\n    if (argHints && argHints.doc == doc && cmpPos(argHints.start, change.to) <= 0)\n      ts.cachedArgHints = null;\n\n    var changed = data.changed;\n    if (changed == null)\n      data.changed = changed = {from: change.from.line, to: change.from.line};\n    var end = change.from.line + (change.text.length - 1);\n    if (change.from.line < changed.to) changed.to = changed.to - (change.to.line - end);\n    if (end >= changed.to) changed.to = end + 1;\n    if (changed.from > change.from.line) changed.from = change.from.line;\n\n    if (doc.lineCount() > bigDoc && change.to - changed.from > 100) setTimeout(function() {\n      if (data.changed && data.changed.to - data.changed.from > 100) sendDoc(ts, data);\n    }, 200);\n  }\n\n  function sendDoc(ts, doc) {\n    ts.server.request({files: [{type: \"full\", name: doc.name, text: docValue(ts, doc)}]}, function(error) {\n      if (error) window.console.error(error);\n      else doc.changed = null;\n    });\n  }\n\n  // Completion\n\n  function hint(ts, cm, c) {\n    ts.request(cm, {type: \"completions\", types: true, docs: true, urls: true}, function(error, data) {\n      if (error) return showError(ts, cm, error);\n      var completions = [], after = \"\";\n      var from = data.start, to = data.end;\n      if (cm.getRange(Pos(from.line, from.ch - 2), from) == \"[\\\"\" &&\n          cm.getRange(to, Pos(to.line, to.ch + 2)) != \"\\\"]\")\n        after = \"\\\"]\";\n\n      for (var i = 0; i < data.completions.length; ++i) {\n        var completion = data.completions[i], className = typeToIcon(completion.type);\n        if (data.guess) className += \" \" + cls + \"guess\";\n        completions.push({text: completion.name + after,\n                          displayText: completion.name,\n                          className: className,\n                          data: completion});\n      }\n\n      var obj = {from: from, to: to, list: completions};\n      var tooltip = null;\n      CodeMirror.on(obj, \"close\", function() { remove(tooltip); });\n      CodeMirror.on(obj, \"update\", function() { remove(tooltip); });\n      CodeMirror.on(obj, \"select\", function(cur, node) {\n        remove(tooltip);\n        var content = ts.options.completionTip ? ts.options.completionTip(cur.data) : cur.data.doc;\n        if (content) {\n          tooltip = makeTooltip(node.parentNode.getBoundingClientRect().right + window.pageXOffset,\n                                node.getBoundingClientRect().top + window.pageYOffset, content);\n          tooltip.className += \" \" + cls + \"hint-doc\";\n        }\n      });\n      c(obj);\n    });\n  }\n\n  function typeToIcon(type) {\n    var suffix;\n    if (type == \"?\") suffix = \"unknown\";\n    else if (type == \"number\" || type == \"string\" || type == \"bool\") suffix = type;\n    else if (/^fn\\(/.test(type)) suffix = \"fn\";\n    else if (/^\\[/.test(type)) suffix = \"array\";\n    else suffix = \"object\";\n    return cls + \"completion \" + cls + \"completion-\" + suffix;\n  }\n\n  // Type queries\n\n  function showContextInfo(ts, cm, pos, queryName, c) {\n    ts.request(cm, queryName, function(error, data) {\n      if (error) return showError(ts, cm, error);\n      if (ts.options.typeTip) {\n        var tip = ts.options.typeTip(data);\n      } else {\n        var tip = elt(\"span\", null, elt(\"strong\", null, data.type || \"not found\"));\n        if (data.doc)\n          tip.appendChild(document.createTextNode(\" — \" + data.doc));\n        if (data.url) {\n          tip.appendChild(document.createTextNode(\" \"));\n          var child = tip.appendChild(elt(\"a\", null, \"[docs]\"));\n          child.href = data.url;\n          child.target = \"_blank\";\n        }\n      }\n      tempTooltip(cm, tip);\n      if (c) c();\n    }, pos);\n  }\n\n  // Maintaining argument hints\n\n  function updateArgHints(ts, cm) {\n    closeArgHints(ts);\n\n    if (cm.somethingSelected()) return;\n    var state = cm.getTokenAt(cm.getCursor()).state;\n    var inner = CodeMirror.innerMode(cm.getMode(), state);\n    if (inner.mode.name != \"javascript\") return;\n    var lex = inner.state.lexical;\n    if (lex.info != \"call\") return;\n\n    var ch, argPos = lex.pos || 0, tabSize = cm.getOption(\"tabSize\");\n    for (var line = cm.getCursor().line, e = Math.max(0, line - 9), found = false; line >= e; --line) {\n      var str = cm.getLine(line), extra = 0;\n      for (var pos = 0;;) {\n        var tab = str.indexOf(\"\\t\", pos);\n        if (tab == -1) break;\n        extra += tabSize - (tab + extra) % tabSize - 1;\n        pos = tab + 1;\n      }\n      ch = lex.column - extra;\n      if (str.charAt(ch) == \"(\") {found = true; break;}\n    }\n    if (!found) return;\n\n    var start = Pos(line, ch);\n    var cache = ts.cachedArgHints;\n    if (cache && cache.doc == cm.getDoc() && cmpPos(start, cache.start) == 0)\n      return showArgHints(ts, cm, argPos);\n\n    ts.request(cm, {type: \"type\", preferFunction: true, end: start}, function(error, data) {\n      if (error || !data.type || !(/^fn\\(/).test(data.type)) return;\n      ts.cachedArgHints = {\n        start: pos,\n        type: parseFnType(data.type),\n        name: data.exprName || data.name || \"fn\",\n        guess: data.guess,\n        doc: cm.getDoc()\n      };\n      showArgHints(ts, cm, argPos);\n    });\n  }\n\n  function showArgHints(ts, cm, pos) {\n    closeArgHints(ts);\n\n    var cache = ts.cachedArgHints, tp = cache.type;\n    var tip = elt(\"span\", cache.guess ? cls + \"fhint-guess\" : null,\n                  elt(\"span\", cls + \"fname\", cache.name), \"(\");\n    for (var i = 0; i < tp.args.length; ++i) {\n      if (i) tip.appendChild(document.createTextNode(\", \"));\n      var arg = tp.args[i];\n      tip.appendChild(elt(\"span\", cls + \"farg\" + (i == pos ? \" \" + cls + \"farg-current\" : \"\"), arg.name || \"?\"));\n      if (arg.type != \"?\") {\n        tip.appendChild(document.createTextNode(\":\\u00a0\"));\n        tip.appendChild(elt(\"span\", cls + \"type\", arg.type));\n      }\n    }\n    tip.appendChild(document.createTextNode(tp.rettype ? \") ->\\u00a0\" : \")\"));\n    if (tp.rettype) tip.appendChild(elt(\"span\", cls + \"type\", tp.rettype));\n    var place = cm.cursorCoords(null, \"page\");\n    ts.activeArgHints = makeTooltip(place.right + 1, place.bottom, tip);\n  }\n\n  function parseFnType(text) {\n    var args = [], pos = 3;\n\n    function skipMatching(upto) {\n      var depth = 0, start = pos;\n      for (;;) {\n        var next = text.charAt(pos);\n        if (upto.test(next) && !depth) return text.slice(start, pos);\n        if (/[{\\[\\(]/.test(next)) ++depth;\n        else if (/[}\\]\\)]/.test(next)) --depth;\n        ++pos;\n      }\n    }\n\n    // Parse arguments\n    if (text.charAt(pos) != \")\") for (;;) {\n      var name = text.slice(pos).match(/^([^, \\(\\[\\{]+): /);\n      if (name) {\n        pos += name[0].length;\n        name = name[1];\n      }\n      args.push({name: name, type: skipMatching(/[\\),]/)});\n      if (text.charAt(pos) == \")\") break;\n      pos += 2;\n    }\n\n    var rettype = text.slice(pos).match(/^\\) -> (.*)$/);\n\n    return {args: args, rettype: rettype && rettype[1]};\n  }\n\n  // Moving to the definition of something\n\n  function jumpToDef(ts, cm) {\n    function inner(varName) {\n      var req = {type: \"definition\", variable: varName || null};\n      var doc = findDoc(ts, cm.getDoc());\n      ts.server.request(buildRequest(ts, doc, req), function(error, data) {\n        if (error) return showError(ts, cm, error);\n        if (!data.file && data.url) { window.open(data.url); return; }\n\n        if (data.file) {\n          var localDoc = ts.docs[data.file], found;\n          if (localDoc && (found = findContext(localDoc.doc, data))) {\n            ts.jumpStack.push({file: doc.name,\n                               start: cm.getCursor(\"from\"),\n                               end: cm.getCursor(\"to\")});\n            moveTo(ts, doc, localDoc, found.start, found.end);\n            return;\n          }\n        }\n        showError(ts, cm, \"Could not find a definition.\");\n      });\n    }\n\n    if (!atInterestingExpression(cm))\n      dialog(cm, \"Jump to variable\", function(name) { if (name) inner(name); });\n    else\n      inner();\n  }\n\n  function jumpBack(ts, cm) {\n    var pos = ts.jumpStack.pop(), doc = pos && ts.docs[pos.file];\n    if (!doc) return;\n    moveTo(ts, findDoc(ts, cm.getDoc()), doc, pos.start, pos.end);\n  }\n\n  function moveTo(ts, curDoc, doc, start, end) {\n    doc.doc.setSelection(start, end);\n    if (curDoc != doc && ts.options.switchToDoc) {\n      closeArgHints(ts);\n      ts.options.switchToDoc(doc.name, doc.doc);\n    }\n  }\n\n  // The {line,ch} representation of positions makes this rather awkward.\n  function findContext(doc, data) {\n    var before = data.context.slice(0, data.contextOffset).split(\"\\n\");\n    var startLine = data.start.line - (before.length - 1);\n    var start = Pos(startLine, (before.length == 1 ? data.start.ch : doc.getLine(startLine).length) - before[0].length);\n\n    var text = doc.getLine(startLine).slice(start.ch);\n    for (var cur = startLine + 1; cur < doc.lineCount() && text.length < data.context.length; ++cur)\n      text += \"\\n\" + doc.getLine(cur);\n    if (text.slice(0, data.context.length) == data.context) return data;\n\n    var cursor = doc.getSearchCursor(data.context, 0, false);\n    var nearest, nearestDist = Infinity;\n    while (cursor.findNext()) {\n      var from = cursor.from(), dist = Math.abs(from.line - start.line) * 10000;\n      if (!dist) dist = Math.abs(from.ch - start.ch);\n      if (dist < nearestDist) { nearest = from; nearestDist = dist; }\n    }\n    if (!nearest) return null;\n\n    if (before.length == 1)\n      nearest.ch += before[0].length;\n    else\n      nearest = Pos(nearest.line + (before.length - 1), before[before.length - 1].length);\n    if (data.start.line == data.end.line)\n      var end = Pos(nearest.line, nearest.ch + (data.end.ch - data.start.ch));\n    else\n      var end = Pos(nearest.line + (data.end.line - data.start.line), data.end.ch);\n    return {start: nearest, end: end};\n  }\n\n  function atInterestingExpression(cm) {\n    var pos = cm.getCursor(\"end\"), tok = cm.getTokenAt(pos);\n    if (tok.start < pos.ch && (tok.type == \"comment\" || tok.type == \"string\")) return false;\n    return /\\w/.test(cm.getLine(pos.line).slice(Math.max(pos.ch - 1, 0), pos.ch + 1));\n  }\n\n  // Variable renaming\n\n  function rename(ts, cm) {\n    var token = cm.getTokenAt(cm.getCursor());\n    if (!/\\w/.test(token.string)) return showError(ts, cm, \"Not at a variable\");\n    dialog(cm, \"New name for \" + token.string, function(newName) {\n      ts.request(cm, {type: \"rename\", newName: newName, fullDocs: true}, function(error, data) {\n        if (error) return showError(ts, cm, error);\n        applyChanges(ts, data.changes);\n      });\n    });\n  }\n\n  function selectName(ts, cm) {\n    var name = findDoc(ts, cm.doc).name;\n    ts.request(cm, {type: \"refs\"}, function(error, data) {\n      if (error) return showError(ts, cm, error);\n      var ranges = [], cur = 0;\n      for (var i = 0; i < data.refs.length; i++) {\n        var ref = data.refs[i];\n        if (ref.file == name) {\n          ranges.push({anchor: ref.start, head: ref.end});\n          if (cmpPos(cur, ref.start) >= 0 && cmpPos(cur, ref.end) <= 0)\n            cur = ranges.length - 1;\n        }\n      }\n      cm.setSelections(ranges, cur);\n    });\n  }\n\n  var nextChangeOrig = 0;\n  function applyChanges(ts, changes) {\n    var perFile = Object.create(null);\n    for (var i = 0; i < changes.length; ++i) {\n      var ch = changes[i];\n      (perFile[ch.file] || (perFile[ch.file] = [])).push(ch);\n    }\n    for (var file in perFile) {\n      var known = ts.docs[file], chs = perFile[file];;\n      if (!known) continue;\n      chs.sort(function(a, b) { return cmpPos(b.start, a.start); });\n      var origin = \"*rename\" + (++nextChangeOrig);\n      for (var i = 0; i < chs.length; ++i) {\n        var ch = chs[i];\n        known.doc.replaceRange(ch.text, ch.start, ch.end, origin);\n      }\n    }\n  }\n\n  // Generic request-building helper\n\n  function buildRequest(ts, doc, query, pos) {\n    var files = [], offsetLines = 0, allowFragments = !query.fullDocs;\n    if (!allowFragments) delete query.fullDocs;\n    if (typeof query == \"string\") query = {type: query};\n    query.lineCharPositions = true;\n    if (query.end == null) {\n      query.end = pos || doc.doc.getCursor(\"end\");\n      if (doc.doc.somethingSelected())\n        query.start = doc.doc.getCursor(\"start\");\n    }\n    var startPos = query.start || query.end;\n\n    if (doc.changed) {\n      if (doc.doc.lineCount() > bigDoc && allowFragments !== false &&\n          doc.changed.to - doc.changed.from < 100 &&\n          doc.changed.from <= startPos.line && doc.changed.to > query.end.line) {\n        files.push(getFragmentAround(doc, startPos, query.end));\n        query.file = \"#0\";\n        var offsetLines = files[0].offsetLines;\n        if (query.start != null) query.start = Pos(query.start.line - -offsetLines, query.start.ch);\n        query.end = Pos(query.end.line - offsetLines, query.end.ch);\n      } else {\n        files.push({type: \"full\",\n                    name: doc.name,\n                    text: docValue(ts, doc)});\n        query.file = doc.name;\n        doc.changed = null;\n      }\n    } else {\n      query.file = doc.name;\n    }\n    for (var name in ts.docs) {\n      var cur = ts.docs[name];\n      if (cur.changed && cur != doc) {\n        files.push({type: \"full\", name: cur.name, text: docValue(ts, cur)});\n        cur.changed = null;\n      }\n    }\n\n    return {query: query, files: files};\n  }\n\n  function getFragmentAround(data, start, end) {\n    var doc = data.doc;\n    var minIndent = null, minLine = null, endLine, tabSize = 4;\n    for (var p = start.line - 1, min = Math.max(0, p - 50); p >= min; --p) {\n      var line = doc.getLine(p), fn = line.search(/\\bfunction\\b/);\n      if (fn < 0) continue;\n      var indent = CodeMirror.countColumn(line, null, tabSize);\n      if (minIndent != null && minIndent <= indent) continue;\n      minIndent = indent;\n      minLine = p;\n    }\n    if (minLine == null) minLine = min;\n    var max = Math.min(doc.lastLine(), end.line + 20);\n    if (minIndent == null || minIndent == CodeMirror.countColumn(doc.getLine(start.line), null, tabSize))\n      endLine = max;\n    else for (endLine = end.line + 1; endLine < max; ++endLine) {\n      var indent = CodeMirror.countColumn(doc.getLine(endLine), null, tabSize);\n      if (indent <= minIndent) break;\n    }\n    var from = Pos(minLine, 0);\n\n    return {type: \"part\",\n            name: data.name,\n            offsetLines: from.line,\n            text: doc.getRange(from, Pos(endLine, 0))};\n  }\n\n  // Generic utilities\n\n  var cmpPos = CodeMirror.cmpPos;\n\n  function elt(tagname, cls /*, ... elts*/) {\n    var e = document.createElement(tagname);\n    if (cls) e.className = cls;\n    for (var i = 2; i < arguments.length; ++i) {\n      var elt = arguments[i];\n      if (typeof elt == \"string\") elt = document.createTextNode(elt);\n      e.appendChild(elt);\n    }\n    return e;\n  }\n\n  function dialog(cm, text, f) {\n    if (cm.openDialog)\n      cm.openDialog(text + \": <input type=text>\", f);\n    else\n      f(prompt(text, \"\"));\n  }\n\n  // Tooltips\n\n  function tempTooltip(cm, content) {\n    if (cm.state.ternTooltip) remove(cm.state.ternTooltip);\n    var where = cm.cursorCoords();\n    var tip = cm.state.ternTooltip = makeTooltip(where.right + 1, where.bottom, content);\n    function maybeClear() {\n      old = true;\n      if (!mouseOnTip) clear();\n    }\n    function clear() {\n      cm.state.ternTooltip = null;\n      if (!tip.parentNode) return;\n      cm.off(\"cursorActivity\", clear);\n      cm.off('blur', clear);\n      cm.off('scroll', clear);\n      fadeOut(tip);\n    }\n    var mouseOnTip = false, old = false;\n    CodeMirror.on(tip, \"mousemove\", function() { mouseOnTip = true; });\n    CodeMirror.on(tip, \"mouseout\", function(e) {\n      if (!CodeMirror.contains(tip, e.relatedTarget || e.toElement)) {\n        if (old) clear();\n        else mouseOnTip = false;\n      }\n    });\n    setTimeout(maybeClear, 1700);\n    cm.on(\"cursorActivity\", clear);\n    cm.on('blur', clear);\n    cm.on('scroll', clear);\n  }\n\n  function makeTooltip(x, y, content) {\n    var node = elt(\"div\", cls + \"tooltip\", content);\n    node.style.left = x + \"px\";\n    node.style.top = y + \"px\";\n    document.body.appendChild(node);\n    return node;\n  }\n\n  function remove(node) {\n    var p = node && node.parentNode;\n    if (p) p.removeChild(node);\n  }\n\n  function fadeOut(tooltip) {\n    tooltip.style.opacity = \"0\";\n    setTimeout(function() { remove(tooltip); }, 1100);\n  }\n\n  function showError(ts, cm, msg) {\n    if (ts.options.showError)\n      ts.options.showError(cm, msg);\n    else\n      tempTooltip(cm, String(msg));\n  }\n\n  function closeArgHints(ts) {\n    if (ts.activeArgHints) { remove(ts.activeArgHints); ts.activeArgHints = null; }\n  }\n\n  function docValue(ts, doc) {\n    var val = doc.doc.getValue();\n    if (ts.options.fileFilter) val = ts.options.fileFilter(val, doc.name, doc.doc);\n    return val;\n  }\n\n  // Worker wrapper\n\n  function WorkerServer(ts) {\n    var worker = ts.worker = new Worker(ts.options.workerScript);\n    worker.postMessage({type: \"init\",\n                        defs: ts.options.defs,\n                        plugins: ts.options.plugins,\n                        scripts: ts.options.workerDeps});\n    var msgId = 0, pending = {};\n\n    function send(data, c) {\n      if (c) {\n        data.id = ++msgId;\n        pending[msgId] = c;\n      }\n      worker.postMessage(data);\n    }\n    worker.onmessage = function(e) {\n      var data = e.data;\n      if (data.type == \"getFile\") {\n        getFile(ts, data.name, function(err, text) {\n          send({type: \"getFile\", err: String(err), text: text, id: data.id});\n        });\n      } else if (data.type == \"debug\") {\n        window.console.log(data.message);\n      } else if (data.id && pending[data.id]) {\n        pending[data.id](data.err, data.body);\n        delete pending[data.id];\n      }\n    };\n    worker.onerror = function(e) {\n      for (var id in pending) pending[id](e);\n      pending = {};\n    };\n\n    this.addFile = function(name, text) { send({type: \"add\", name: name, text: text}); };\n    this.delFile = function(name) { send({type: \"del\", name: name}); };\n    this.request = function(body, c) { send({type: \"req\", body: body}, c); };\n  }\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/tern/worker.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// declare global: tern, server\n\nvar server;\n\nthis.onmessage = function(e) {\n  var data = e.data;\n  switch (data.type) {\n  case \"init\": return startServer(data.defs, data.plugins, data.scripts);\n  case \"add\": return server.addFile(data.name, data.text);\n  case \"del\": return server.delFile(data.name);\n  case \"req\": return server.request(data.body, function(err, reqData) {\n    postMessage({id: data.id, body: reqData, err: err && String(err)});\n  });\n  case \"getFile\":\n    var c = pending[data.id];\n    delete pending[data.id];\n    return c(data.err, data.text);\n  default: throw new Error(\"Unknown message type: \" + data.type);\n  }\n};\n\nvar nextId = 0, pending = {};\nfunction getFile(file, c) {\n  postMessage({type: \"getFile\", name: file, id: ++nextId});\n  pending[nextId] = c;\n}\n\nfunction startServer(defs, plugins, scripts) {\n  if (scripts) importScripts.apply(null, scripts);\n\n  server = new tern.Server({\n    getFile: getFile,\n    async: true,\n    defs: defs,\n    plugins: plugins\n  });\n}\n\nvar console = {\n  log: function(v) { postMessage({type: \"debug\", message: v}); }\n};\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/addon/wrap/hardwrap.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var Pos = CodeMirror.Pos;\n\n  function findParagraph(cm, pos, options) {\n    var startRE = options.paragraphStart || cm.getHelper(pos, \"paragraphStart\");\n    for (var start = pos.line, first = cm.firstLine(); start > first; --start) {\n      var line = cm.getLine(start);\n      if (startRE && startRE.test(line)) break;\n      if (!/\\S/.test(line)) { ++start; break; }\n    }\n    var endRE = options.paragraphEnd || cm.getHelper(pos, \"paragraphEnd\");\n    for (var end = pos.line + 1, last = cm.lastLine(); end <= last; ++end) {\n      var line = cm.getLine(end);\n      if (endRE && endRE.test(line)) { ++end; break; }\n      if (!/\\S/.test(line)) break;\n    }\n    return {from: start, to: end};\n  }\n\n  function findBreakPoint(text, column, wrapOn, killTrailingSpace) {\n    for (var at = column; at > 0; --at)\n      if (wrapOn.test(text.slice(at - 1, at + 1))) break;\n    if (at == 0) at = column;\n    var endOfText = at;\n    if (killTrailingSpace)\n      while (text.charAt(endOfText - 1) == \" \") --endOfText;\n    return {from: endOfText, to: at};\n  }\n\n  function wrapRange(cm, from, to, options) {\n    from = cm.clipPos(from); to = cm.clipPos(to);\n    var column = options.column || 80;\n    var wrapOn = options.wrapOn || /\\s\\S|-[^\\.\\d]/;\n    var killTrailing = options.killTrailingSpace !== false;\n    var changes = [], curLine = \"\", curNo = from.line;\n    var lines = cm.getRange(from, to, false);\n    if (!lines.length) return null;\n    var leadingSpace = lines[0].match(/^[ \\t]*/)[0];\n\n    for (var i = 0; i < lines.length; ++i) {\n      var text = lines[i], oldLen = curLine.length, spaceInserted = 0;\n      if (curLine && text && !wrapOn.test(curLine.charAt(curLine.length - 1) + text.charAt(0))) {\n        curLine += \" \";\n        spaceInserted = 1;\n      }\n      var spaceTrimmed = \"\";\n      if (i) {\n        spaceTrimmed = text.match(/^\\s*/)[0];\n        text = text.slice(spaceTrimmed.length);\n      }\n      curLine += text;\n      if (i) {\n        var firstBreak = curLine.length > column && leadingSpace == spaceTrimmed &&\n          findBreakPoint(curLine, column, wrapOn, killTrailing);\n        // If this isn't broken, or is broken at a different point, remove old break\n        if (!firstBreak || firstBreak.from != oldLen || firstBreak.to != oldLen + spaceInserted) {\n          changes.push({text: [spaceInserted ? \" \" : \"\"],\n                        from: Pos(curNo, oldLen),\n                        to: Pos(curNo + 1, spaceTrimmed.length)});\n        } else {\n          curLine = leadingSpace + text;\n          ++curNo;\n        }\n      }\n      while (curLine.length > column) {\n        var bp = findBreakPoint(curLine, column, wrapOn, killTrailing);\n        changes.push({text: [\"\", leadingSpace],\n                      from: Pos(curNo, bp.from),\n                      to: Pos(curNo, bp.to)});\n        curLine = leadingSpace + curLine.slice(bp.to);\n        ++curNo;\n      }\n    }\n    if (changes.length) cm.operation(function() {\n      for (var i = 0; i < changes.length; ++i) {\n        var change = changes[i];\n        cm.replaceRange(change.text, change.from, change.to);\n      }\n    });\n    return changes.length ? {from: changes[0].from, to: CodeMirror.changeEnd(changes[changes.length - 1])} : null;\n  }\n\n  CodeMirror.defineExtension(\"wrapParagraph\", function(pos, options) {\n    options = options || {};\n    if (!pos) pos = this.getCursor();\n    var para = findParagraph(this, pos, options);\n    return wrapRange(this, Pos(para.from, 0), Pos(para.to - 1), options);\n  });\n\n  CodeMirror.commands.wrapLines = function(cm) {\n    cm.operation(function() {\n      var ranges = cm.listSelections(), at = cm.lastLine() + 1;\n      for (var i = ranges.length - 1; i >= 0; i--) {\n        var range = ranges[i], span;\n        if (range.empty()) {\n          var para = findParagraph(cm, range.head, {});\n          span = {from: Pos(para.from, 0), to: Pos(para.to - 1)};\n        } else {\n          span = {from: range.from(), to: range.to()};\n        }\n        if (span.to.line >= at) continue;\n        at = span.from.line;\n        wrapRange(cm, span.from, span.to, {});\n      }\n    });\n  };\n\n  CodeMirror.defineExtension(\"wrapRange\", function(from, to, options) {\n    return wrapRange(this, from, to, options || {});\n  });\n\n  CodeMirror.defineExtension(\"wrapParagraphsInRange\", function(from, to, options) {\n    options = options || {};\n    var cm = this, paras = [];\n    for (var line = from.line; line <= to.line;) {\n      var para = findParagraph(cm, Pos(line, 0), options);\n      paras.push(para);\n      line = para.to;\n    }\n    var madeChange = false;\n    if (paras.length) cm.operation(function() {\n      for (var i = paras.length - 1; i >= 0; --i)\n        madeChange = madeChange || wrapRange(cm, Pos(paras[i].from, 0), Pos(paras[i].to - 1), options);\n    });\n    return madeChange;\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/bower.json",
    "content": "{\n  \"name\": \"codemirror\",\n  \"version\":\"5.0.0\",\n  \"main\": [\"lib/codemirror.js\", \"lib/codemirror.css\"],\n  \"ignore\": [\n    \"**/.*\",\n    \"node_modules\",\n    \"components\",\n    \"bin\",\n    \"demo\",\n    \"doc\",\n    \"test\",\n    \"index.html\",\n    \"package.json\"\n  ]\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/lib/codemirror.css",
    "content": "/*!\n// CodeMirror v5.0, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// This is CodeMirror (http://codemirror.net), a code editor\n// implemented in JavaScript on top of the browser's DOM.\n//\n// You can find some technical background for some of the code below\n// at http://marijnhaverbeke.nl/blog/#cm-internals .\n*/\n\n/* BASICS */\n\n.CodeMirror {\n  /* Set height, width, borders, and global font properties here */\n  font-family: monospace;\n  height: 300px;\n  color: black;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n  padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre {\n  padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n  border-right: 1px solid #ddd;\n  background-color: #f7f7f7;\n  white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n  padding: 0 3px 0 5px;\n  min-width: 20px;\n  text-align: right;\n  color: #999;\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror div.CodeMirror-cursor {\n  border-left: 1px solid black;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n  border-left: 1px solid silver;\n}\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {\n  width: auto;\n  border: 0;\n  background: #7e7;\n}\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {\n  z-index: 1;\n}\n\n.cm-animate-fat-cursor {\n  width: auto;\n  border: 0;\n  -webkit-animation: blink 1.06s steps(1) infinite;\n  -moz-animation: blink 1.06s steps(1) infinite;\n  animation: blink 1.06s steps(1) infinite;\n}\n@-moz-keyframes blink {\n  0% { background: #7e7; }\n  50% { background: none; }\n  100% { background: #7e7; }\n}\n@-webkit-keyframes blink {\n  0% { background: #7e7; }\n  50% { background: none; }\n  100% { background: #7e7; }\n}\n@keyframes blink {\n  0% { background: #7e7; }\n  50% { background: none; }\n  100% { background: #7e7; }\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\ndiv.CodeMirror-overwrite div.CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-ruler {\n  border-left: 1px solid #ccc;\n  position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3 {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n   the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n  position: relative;\n  overflow: hidden;\n  background: white;\n}\n\n.CodeMirror-scroll {\n  overflow: scroll !important; /* Things will break if this is overridden */\n  /* 30px is the magic margin used to hide the element's real scrollbars */\n  /* See overflow: hidden in .CodeMirror */\n  margin-bottom: -30px; margin-right: -30px;\n  padding-bottom: 30px;\n  height: 100%;\n  outline: none; /* Prevent dragging from highlighting the element */\n  position: relative;\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n}\n.CodeMirror-sizer {\n  position: relative;\n  border-right: 30px solid transparent;\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n   before actuall scrolling happens, thus preventing shaking and\n   flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  position: absolute;\n  z-index: 6;\n  display: none;\n}\n.CodeMirror-vscrollbar {\n  right: 0; top: 0;\n  overflow-x: hidden;\n  overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n  bottom: 0; left: 0;\n  overflow-y: hidden;\n  overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n  right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n  left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n  position: absolute; left: 0; top: 0;\n  z-index: 3;\n}\n.CodeMirror-gutter {\n  white-space: normal;\n  height: 100%;\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n  display: inline-block;\n  margin-bottom: -30px;\n  /* Hack to make IE7 behave */\n  *zoom:1;\n  *display:inline;\n}\n.CodeMirror-gutter-wrapper {\n  position: absolute;\n  z-index: 4;\n  height: 100%;\n}\n.CodeMirror-gutter-elt {\n  position: absolute;\n  cursor: default;\n  z-index: 4;\n}\n.CodeMirror-gutter-wrapper {\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  user-select: none;\n}\n\n.CodeMirror-lines {\n  cursor: text;\n  min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre {\n  /* Reset some styles that the rest of the page might have set */\n  -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n  border-width: 0;\n  background: transparent;\n  font-family: inherit;\n  font-size: inherit;\n  margin: 0;\n  white-space: pre;\n  word-wrap: normal;\n  line-height: inherit;\n  color: inherit;\n  z-index: 2;\n  position: relative;\n  overflow: visible;\n  -webkit-tap-highlight-color: transparent;\n}\n.CodeMirror-wrap pre {\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  word-break: normal;\n}\n\n.CodeMirror-linebackground {\n  position: absolute;\n  left: 0; right: 0; top: 0; bottom: 0;\n  z-index: 0;\n}\n\n.CodeMirror-linewidget {\n  position: relative;\n  z-index: 2;\n  overflow: auto;\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-code {\n  outline: none;\n}\n\n.CodeMirror-measure {\n  position: absolute;\n  width: 100%;\n  height: 0;\n  overflow: hidden;\n  visibility: hidden;\n}\n.CodeMirror-measure pre { position: static; }\n\n.CodeMirror div.CodeMirror-cursor {\n  position: absolute;\n  border-right: none;\n  width: 0;\n}\n\ndiv.CodeMirror-cursors {\n  visibility: hidden;\n  position: relative;\n  z-index: 3;\n}\n.CodeMirror-focused div.CodeMirror-cursors {\n  visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror ::selection { background: #d7d4f0; }\n.CodeMirror ::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n  background: #ffa;\n  background: rgba(255, 255, 0, .4);\n}\n\n/* IE7 hack to prevent it from returning funny offsetTops on the spans */\n.CodeMirror span { *vertical-align: text-bottom; }\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n  /* Hide the cursor when printing */\n  .CodeMirror div.CodeMirror-cursors {\n    visibility: hidden;\n  }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/lib/codemirror.js",
    "content": "// CodeMirror v5.0, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// This is CodeMirror (http://codemirror.net), a code editor\n// implemented in JavaScript on top of the browser's DOM.\n//\n// You can find some technical background for some of the code below\n// at http://marijnhaverbeke.nl/blog/#cm-internals .\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    module.exports = mod();\n  else if (typeof define == \"function\" && define.amd) // AMD\n    return define([], mod);\n  else // Plain browser env\n    this.CodeMirror = mod();\n})(function() {\n  \"use strict\";\n\n  // BROWSER SNIFFING\n\n  // Kludges for bugs and behavior differences that can't be feature\n  // detected are enabled based on userAgent etc sniffing.\n\n  var gecko = /gecko\\/\\d/i.test(navigator.userAgent);\n  var ie_upto10 = /MSIE \\d/.test(navigator.userAgent);\n  var ie_11up = /Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(navigator.userAgent);\n  var ie = ie_upto10 || ie_11up;\n  var ie_version = ie && (ie_upto10 ? document.documentMode || 6 : ie_11up[1]);\n  var webkit = /WebKit\\//.test(navigator.userAgent);\n  var qtwebkit = webkit && /Qt\\/\\d+\\.\\d+/.test(navigator.userAgent);\n  var chrome = /Chrome\\//.test(navigator.userAgent);\n  var presto = /Opera\\//.test(navigator.userAgent);\n  var safari = /Apple Computer/.test(navigator.vendor);\n  var mac_geMountainLion = /Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(navigator.userAgent);\n  var phantom = /PhantomJS/.test(navigator.userAgent);\n\n  var ios = /AppleWebKit/.test(navigator.userAgent) && /Mobile\\/\\w+/.test(navigator.userAgent);\n  // This is woefully incomplete. Suggestions for alternative methods welcome.\n  var mobile = ios || /Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent);\n  var mac = ios || /Mac/.test(navigator.platform);\n  var windows = /win/i.test(navigator.platform);\n\n  var presto_version = presto && navigator.userAgent.match(/Version\\/(\\d*\\.\\d*)/);\n  if (presto_version) presto_version = Number(presto_version[1]);\n  if (presto_version && presto_version >= 15) { presto = false; webkit = true; }\n  // Some browsers use the wrong event properties to signal cmd/ctrl on OS X\n  var flipCtrlCmd = mac && (qtwebkit || presto && (presto_version == null || presto_version < 12.11));\n  var captureRightClick = gecko || (ie && ie_version >= 9);\n\n  // Optimize some code when these features are not used.\n  var sawReadOnlySpans = false, sawCollapsedSpans = false;\n\n  // EDITOR CONSTRUCTOR\n\n  // A CodeMirror instance represents an editor. This is the object\n  // that user code is usually dealing with.\n\n  function CodeMirror(place, options) {\n    if (!(this instanceof CodeMirror)) return new CodeMirror(place, options);\n\n    this.options = options = options ? copyObj(options) : {};\n    // Determine effective options based on given values and defaults.\n    copyObj(defaults, options, false);\n    setGuttersForLineNumbers(options);\n\n    var doc = options.value;\n    if (typeof doc == \"string\") doc = new Doc(doc, options.mode);\n    this.doc = doc;\n\n    var input = new CodeMirror.inputStyles[options.inputStyle](this);\n    var display = this.display = new Display(place, doc, input);\n    display.wrapper.CodeMirror = this;\n    updateGutters(this);\n    themeChanged(this);\n    if (options.lineWrapping)\n      this.display.wrapper.className += \" CodeMirror-wrap\";\n    if (options.autofocus && !mobile) display.input.focus();\n    initScrollbars(this);\n\n    this.state = {\n      keyMaps: [],  // stores maps added by addKeyMap\n      overlays: [], // highlighting overlays, as added by addOverlay\n      modeGen: 0,   // bumped when mode/overlay changes, used to invalidate highlighting info\n      overwrite: false, focused: false,\n      suppressEdits: false, // used to disable editing during key handlers when in readOnly mode\n      pasteIncoming: false, cutIncoming: false, // help recognize paste/cut edits in input.poll\n      draggingText: false,\n      highlight: new Delayed(), // stores highlight worker timeout\n      keySeq: null  // Unfinished key sequence\n    };\n\n    var cm = this;\n\n    // Override magic textarea content restore that IE sometimes does\n    // on our hidden textarea on reload\n    if (ie && ie_version < 11) setTimeout(function() { cm.display.input.reset(true); }, 20);\n\n    registerEventHandlers(this);\n    ensureGlobalHandlers();\n\n    startOperation(this);\n    this.curOp.forceUpdate = true;\n    attachDoc(this, doc);\n\n    if ((options.autofocus && !mobile) || cm.hasFocus())\n      setTimeout(bind(onFocus, this), 20);\n    else\n      onBlur(this);\n\n    for (var opt in optionHandlers) if (optionHandlers.hasOwnProperty(opt))\n      optionHandlers[opt](this, options[opt], Init);\n    maybeUpdateLineNumberWidth(this);\n    if (options.finishInit) options.finishInit(this);\n    for (var i = 0; i < initHooks.length; ++i) initHooks[i](this);\n    endOperation(this);\n    // Suppress optimizelegibility in Webkit, since it breaks text\n    // measuring on line wrapping boundaries.\n    if (webkit && options.lineWrapping &&\n        getComputedStyle(display.lineDiv).textRendering == \"optimizelegibility\")\n      display.lineDiv.style.textRendering = \"auto\";\n  }\n\n  // DISPLAY CONSTRUCTOR\n\n  // The display handles the DOM integration, both for input reading\n  // and content drawing. It holds references to DOM nodes and\n  // display-related state.\n\n  function Display(place, doc, input) {\n    var d = this;\n    this.input = input;\n\n    // Covers bottom-right square when both scrollbars are present.\n    d.scrollbarFiller = elt(\"div\", null, \"CodeMirror-scrollbar-filler\");\n    d.scrollbarFiller.setAttribute(\"cm-not-content\", \"true\");\n    // Covers bottom of gutter when coverGutterNextToScrollbar is on\n    // and h scrollbar is present.\n    d.gutterFiller = elt(\"div\", null, \"CodeMirror-gutter-filler\");\n    d.gutterFiller.setAttribute(\"cm-not-content\", \"true\");\n    // Will contain the actual code, positioned to cover the viewport.\n    d.lineDiv = elt(\"div\", null, \"CodeMirror-code\");\n    // Elements are added to these to represent selection and cursors.\n    d.selectionDiv = elt(\"div\", null, null, \"position: relative; z-index: 1\");\n    d.cursorDiv = elt(\"div\", null, \"CodeMirror-cursors\");\n    // A visibility: hidden element used to find the size of things.\n    d.measure = elt(\"div\", null, \"CodeMirror-measure\");\n    // When lines outside of the viewport are measured, they are drawn in this.\n    d.lineMeasure = elt(\"div\", null, \"CodeMirror-measure\");\n    // Wraps everything that needs to exist inside the vertically-padded coordinate system\n    d.lineSpace = elt(\"div\", [d.measure, d.lineMeasure, d.selectionDiv, d.cursorDiv, d.lineDiv],\n                      null, \"position: relative; outline: none\");\n    // Moved around its parent to cover visible view.\n    d.mover = elt(\"div\", [elt(\"div\", [d.lineSpace], \"CodeMirror-lines\")], null, \"position: relative\");\n    // Set to the height of the document, allowing scrolling.\n    d.sizer = elt(\"div\", [d.mover], \"CodeMirror-sizer\");\n    d.sizerWidth = null;\n    // Behavior of elts with overflow: auto and padding is\n    // inconsistent across browsers. This is used to ensure the\n    // scrollable area is big enough.\n    d.heightForcer = elt(\"div\", null, null, \"position: absolute; height: \" + scrollerGap + \"px; width: 1px;\");\n    // Will contain the gutters, if any.\n    d.gutters = elt(\"div\", null, \"CodeMirror-gutters\");\n    d.lineGutter = null;\n    // Actual scrollable element.\n    d.scroller = elt(\"div\", [d.sizer, d.heightForcer, d.gutters], \"CodeMirror-scroll\");\n    d.scroller.setAttribute(\"tabIndex\", \"-1\");\n    // The element in which the editor lives.\n    d.wrapper = elt(\"div\", [d.scrollbarFiller, d.gutterFiller, d.scroller], \"CodeMirror\");\n\n    // Work around IE7 z-index bug (not perfect, hence IE7 not really being supported)\n    if (ie && ie_version < 8) { d.gutters.style.zIndex = -1; d.scroller.style.paddingRight = 0; }\n    if (!webkit && !(gecko && mobile)) d.scroller.draggable = true;\n\n    if (place) {\n      if (place.appendChild) place.appendChild(d.wrapper);\n      else place(d.wrapper);\n    }\n\n    // Current rendered range (may be bigger than the view window).\n    d.viewFrom = d.viewTo = doc.first;\n    d.reportedViewFrom = d.reportedViewTo = doc.first;\n    // Information about the rendered lines.\n    d.view = [];\n    d.renderedView = null;\n    // Holds info about a single rendered line when it was rendered\n    // for measurement, while not in view.\n    d.externalMeasured = null;\n    // Empty space (in pixels) above the view\n    d.viewOffset = 0;\n    d.lastWrapHeight = d.lastWrapWidth = 0;\n    d.updateLineNumbers = null;\n\n    d.nativeBarWidth = d.barHeight = d.barWidth = 0;\n    d.scrollbarsClipped = false;\n\n    // Used to only resize the line number gutter when necessary (when\n    // the amount of lines crosses a boundary that makes its width change)\n    d.lineNumWidth = d.lineNumInnerWidth = d.lineNumChars = null;\n    // Set to true when a non-horizontal-scrolling line widget is\n    // added. As an optimization, line widget aligning is skipped when\n    // this is false.\n    d.alignWidgets = false;\n\n    d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;\n\n    // Tracks the maximum line length so that the horizontal scrollbar\n    // can be kept static when scrolling.\n    d.maxLine = null;\n    d.maxLineLength = 0;\n    d.maxLineChanged = false;\n\n    // Used for measuring wheel scrolling granularity\n    d.wheelDX = d.wheelDY = d.wheelStartX = d.wheelStartY = null;\n\n    // True when shift is held down.\n    d.shift = false;\n\n    // Used to track whether anything happened since the context menu\n    // was opened.\n    d.selForContextMenu = null;\n\n    d.activeTouch = null;\n\n    input.init(d);\n  }\n\n  // STATE UPDATES\n\n  // Used to get the editor into a consistent state again when options change.\n\n  function loadMode(cm) {\n    cm.doc.mode = CodeMirror.getMode(cm.options, cm.doc.modeOption);\n    resetModeState(cm);\n  }\n\n  function resetModeState(cm) {\n    cm.doc.iter(function(line) {\n      if (line.stateAfter) line.stateAfter = null;\n      if (line.styles) line.styles = null;\n    });\n    cm.doc.frontier = cm.doc.first;\n    startWorker(cm, 100);\n    cm.state.modeGen++;\n    if (cm.curOp) regChange(cm);\n  }\n\n  function wrappingChanged(cm) {\n    if (cm.options.lineWrapping) {\n      addClass(cm.display.wrapper, \"CodeMirror-wrap\");\n      cm.display.sizer.style.minWidth = \"\";\n      cm.display.sizerWidth = null;\n    } else {\n      rmClass(cm.display.wrapper, \"CodeMirror-wrap\");\n      findMaxLine(cm);\n    }\n    estimateLineHeights(cm);\n    regChange(cm);\n    clearCaches(cm);\n    setTimeout(function(){updateScrollbars(cm);}, 100);\n  }\n\n  // Returns a function that estimates the height of a line, to use as\n  // first approximation until the line becomes visible (and is thus\n  // properly measurable).\n  function estimateHeight(cm) {\n    var th = textHeight(cm.display), wrapping = cm.options.lineWrapping;\n    var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);\n    return function(line) {\n      if (lineIsHidden(cm.doc, line)) return 0;\n\n      var widgetsHeight = 0;\n      if (line.widgets) for (var i = 0; i < line.widgets.length; i++) {\n        if (line.widgets[i].height) widgetsHeight += line.widgets[i].height;\n      }\n\n      if (wrapping)\n        return widgetsHeight + (Math.ceil(line.text.length / perLine) || 1) * th;\n      else\n        return widgetsHeight + th;\n    };\n  }\n\n  function estimateLineHeights(cm) {\n    var doc = cm.doc, est = estimateHeight(cm);\n    doc.iter(function(line) {\n      var estHeight = est(line);\n      if (estHeight != line.height) updateLineHeight(line, estHeight);\n    });\n  }\n\n  function themeChanged(cm) {\n    cm.display.wrapper.className = cm.display.wrapper.className.replace(/\\s*cm-s-\\S+/g, \"\") +\n      cm.options.theme.replace(/(^|\\s)\\s*/g, \" cm-s-\");\n    clearCaches(cm);\n  }\n\n  function guttersChanged(cm) {\n    updateGutters(cm);\n    regChange(cm);\n    setTimeout(function(){alignHorizontally(cm);}, 20);\n  }\n\n  // Rebuild the gutter elements, ensure the margin to the left of the\n  // code matches their width.\n  function updateGutters(cm) {\n    var gutters = cm.display.gutters, specs = cm.options.gutters;\n    removeChildren(gutters);\n    for (var i = 0; i < specs.length; ++i) {\n      var gutterClass = specs[i];\n      var gElt = gutters.appendChild(elt(\"div\", null, \"CodeMirror-gutter \" + gutterClass));\n      if (gutterClass == \"CodeMirror-linenumbers\") {\n        cm.display.lineGutter = gElt;\n        gElt.style.width = (cm.display.lineNumWidth || 1) + \"px\";\n      }\n    }\n    gutters.style.display = i ? \"\" : \"none\";\n    updateGutterSpace(cm);\n  }\n\n  function updateGutterSpace(cm) {\n    var width = cm.display.gutters.offsetWidth;\n    cm.display.sizer.style.marginLeft = width + \"px\";\n  }\n\n  // Compute the character length of a line, taking into account\n  // collapsed ranges (see markText) that might hide parts, and join\n  // other lines onto it.\n  function lineLength(line) {\n    if (line.height == 0) return 0;\n    var len = line.text.length, merged, cur = line;\n    while (merged = collapsedSpanAtStart(cur)) {\n      var found = merged.find(0, true);\n      cur = found.from.line;\n      len += found.from.ch - found.to.ch;\n    }\n    cur = line;\n    while (merged = collapsedSpanAtEnd(cur)) {\n      var found = merged.find(0, true);\n      len -= cur.text.length - found.from.ch;\n      cur = found.to.line;\n      len += cur.text.length - found.to.ch;\n    }\n    return len;\n  }\n\n  // Find the longest line in the document.\n  function findMaxLine(cm) {\n    var d = cm.display, doc = cm.doc;\n    d.maxLine = getLine(doc, doc.first);\n    d.maxLineLength = lineLength(d.maxLine);\n    d.maxLineChanged = true;\n    doc.iter(function(line) {\n      var len = lineLength(line);\n      if (len > d.maxLineLength) {\n        d.maxLineLength = len;\n        d.maxLine = line;\n      }\n    });\n  }\n\n  // Make sure the gutters options contains the element\n  // \"CodeMirror-linenumbers\" when the lineNumbers option is true.\n  function setGuttersForLineNumbers(options) {\n    var found = indexOf(options.gutters, \"CodeMirror-linenumbers\");\n    if (found == -1 && options.lineNumbers) {\n      options.gutters = options.gutters.concat([\"CodeMirror-linenumbers\"]);\n    } else if (found > -1 && !options.lineNumbers) {\n      options.gutters = options.gutters.slice(0);\n      options.gutters.splice(found, 1);\n    }\n  }\n\n  // SCROLLBARS\n\n  // Prepare DOM reads needed to update the scrollbars. Done in one\n  // shot to minimize update/measure roundtrips.\n  function measureForScrollbars(cm) {\n    var d = cm.display, gutterW = d.gutters.offsetWidth;\n    var docH = Math.round(cm.doc.height + paddingVert(cm.display));\n    return {\n      clientHeight: d.scroller.clientHeight,\n      viewHeight: d.wrapper.clientHeight,\n      scrollWidth: d.scroller.scrollWidth, clientWidth: d.scroller.clientWidth,\n      viewWidth: d.wrapper.clientWidth,\n      barLeft: cm.options.fixedGutter ? gutterW : 0,\n      docHeight: docH,\n      scrollHeight: docH + scrollGap(cm) + d.barHeight,\n      nativeBarWidth: d.nativeBarWidth,\n      gutterWidth: gutterW\n    };\n  }\n\n  function NativeScrollbars(place, scroll, cm) {\n    this.cm = cm;\n    var vert = this.vert = elt(\"div\", [elt(\"div\", null, null, \"min-width: 1px\")], \"CodeMirror-vscrollbar\");\n    var horiz = this.horiz = elt(\"div\", [elt(\"div\", null, null, \"height: 100%; min-height: 1px\")], \"CodeMirror-hscrollbar\");\n    place(vert); place(horiz);\n\n    on(vert, \"scroll\", function() {\n      if (vert.clientHeight) scroll(vert.scrollTop, \"vertical\");\n    });\n    on(horiz, \"scroll\", function() {\n      if (horiz.clientWidth) scroll(horiz.scrollLeft, \"horizontal\");\n    });\n\n    this.checkedOverlay = false;\n    // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8).\n    if (ie && ie_version < 8) this.horiz.style.minHeight = this.vert.style.minWidth = \"18px\";\n  }\n\n  NativeScrollbars.prototype = copyObj({\n    update: function(measure) {\n      var needsH = measure.scrollWidth > measure.clientWidth + 1;\n      var needsV = measure.scrollHeight > measure.clientHeight + 1;\n      var sWidth = measure.nativeBarWidth;\n\n      if (needsV) {\n        this.vert.style.display = \"block\";\n        this.vert.style.bottom = needsH ? sWidth + \"px\" : \"0\";\n        var totalHeight = measure.viewHeight - (needsH ? sWidth : 0);\n        // A bug in IE8 can cause this value to be negative, so guard it.\n        this.vert.firstChild.style.height =\n          Math.max(0, measure.scrollHeight - measure.clientHeight + totalHeight) + \"px\";\n      } else {\n        this.vert.style.display = \"\";\n        this.vert.firstChild.style.height = \"0\";\n      }\n\n      if (needsH) {\n        this.horiz.style.display = \"block\";\n        this.horiz.style.right = needsV ? sWidth + \"px\" : \"0\";\n        this.horiz.style.left = measure.barLeft + \"px\";\n        var totalWidth = measure.viewWidth - measure.barLeft - (needsV ? sWidth : 0);\n        this.horiz.firstChild.style.width =\n          (measure.scrollWidth - measure.clientWidth + totalWidth) + \"px\";\n      } else {\n        this.horiz.style.display = \"\";\n        this.horiz.firstChild.style.width = \"0\";\n      }\n\n      if (!this.checkedOverlay && measure.clientHeight > 0) {\n        if (sWidth == 0) this.overlayHack();\n        this.checkedOverlay = true;\n      }\n\n      return {right: needsV ? sWidth : 0, bottom: needsH ? sWidth : 0};\n    },\n    setScrollLeft: function(pos) {\n      if (this.horiz.scrollLeft != pos) this.horiz.scrollLeft = pos;\n    },\n    setScrollTop: function(pos) {\n      if (this.vert.scrollTop != pos) this.vert.scrollTop = pos;\n    },\n    overlayHack: function() {\n      var w = mac && !mac_geMountainLion ? \"12px\" : \"18px\";\n      this.horiz.style.minHeight = this.vert.style.minWidth = w;\n      var self = this;\n      var barMouseDown = function(e) {\n        if (e_target(e) != self.vert && e_target(e) != self.horiz)\n          operation(self.cm, onMouseDown)(e);\n      };\n      on(this.vert, \"mousedown\", barMouseDown);\n      on(this.horiz, \"mousedown\", barMouseDown);\n    },\n    clear: function() {\n      var parent = this.horiz.parentNode;\n      parent.removeChild(this.horiz);\n      parent.removeChild(this.vert);\n    }\n  }, NativeScrollbars.prototype);\n\n  function NullScrollbars() {}\n\n  NullScrollbars.prototype = copyObj({\n    update: function() { return {bottom: 0, right: 0}; },\n    setScrollLeft: function() {},\n    setScrollTop: function() {},\n    clear: function() {}\n  }, NullScrollbars.prototype);\n\n  CodeMirror.scrollbarModel = {\"native\": NativeScrollbars, \"null\": NullScrollbars};\n\n  function initScrollbars(cm) {\n    if (cm.display.scrollbars) {\n      cm.display.scrollbars.clear();\n      if (cm.display.scrollbars.addClass)\n        rmClass(cm.display.wrapper, cm.display.scrollbars.addClass);\n    }\n\n    cm.display.scrollbars = new CodeMirror.scrollbarModel[cm.options.scrollbarStyle](function(node) {\n      cm.display.wrapper.insertBefore(node, cm.display.scrollbarFiller);\n      // Prevent clicks in the scrollbars from killing focus\n      on(node, \"mousedown\", function() {\n        if (cm.state.focused) setTimeout(function() { cm.display.input.focus(); }, 0);\n      });\n      node.setAttribute(\"cm-not-content\", \"true\");\n    }, function(pos, axis) {\n      if (axis == \"horizontal\") setScrollLeft(cm, pos);\n      else setScrollTop(cm, pos);\n    }, cm);\n    if (cm.display.scrollbars.addClass)\n      addClass(cm.display.wrapper, cm.display.scrollbars.addClass);\n  }\n\n  function updateScrollbars(cm, measure) {\n    if (!measure) measure = measureForScrollbars(cm);\n    var startWidth = cm.display.barWidth, startHeight = cm.display.barHeight;\n    updateScrollbarsInner(cm, measure);\n    for (var i = 0; i < 4 && startWidth != cm.display.barWidth || startHeight != cm.display.barHeight; i++) {\n      if (startWidth != cm.display.barWidth && cm.options.lineWrapping)\n        updateHeightsInViewport(cm);\n      updateScrollbarsInner(cm, measureForScrollbars(cm));\n      startWidth = cm.display.barWidth; startHeight = cm.display.barHeight;\n    }\n  }\n\n  // Re-synchronize the fake scrollbars with the actual size of the\n  // content.\n  function updateScrollbarsInner(cm, measure) {\n    var d = cm.display;\n    var sizes = d.scrollbars.update(measure);\n\n    d.sizer.style.paddingRight = (d.barWidth = sizes.right) + \"px\";\n    d.sizer.style.paddingBottom = (d.barHeight = sizes.bottom) + \"px\";\n\n    if (sizes.right && sizes.bottom) {\n      d.scrollbarFiller.style.display = \"block\";\n      d.scrollbarFiller.style.height = sizes.bottom + \"px\";\n      d.scrollbarFiller.style.width = sizes.right + \"px\";\n    } else d.scrollbarFiller.style.display = \"\";\n    if (sizes.bottom && cm.options.coverGutterNextToScrollbar && cm.options.fixedGutter) {\n      d.gutterFiller.style.display = \"block\";\n      d.gutterFiller.style.height = sizes.bottom + \"px\";\n      d.gutterFiller.style.width = measure.gutterWidth + \"px\";\n    } else d.gutterFiller.style.display = \"\";\n  }\n\n  // Compute the lines that are visible in a given viewport (defaults\n  // the the current scroll position). viewport may contain top,\n  // height, and ensure (see op.scrollToPos) properties.\n  function visibleLines(display, doc, viewport) {\n    var top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop;\n    top = Math.floor(top - paddingTop(display));\n    var bottom = viewport && viewport.bottom != null ? viewport.bottom : top + display.wrapper.clientHeight;\n\n    var from = lineAtHeight(doc, top), to = lineAtHeight(doc, bottom);\n    // Ensure is a {from: {line, ch}, to: {line, ch}} object, and\n    // forces those lines into the viewport (if possible).\n    if (viewport && viewport.ensure) {\n      var ensureFrom = viewport.ensure.from.line, ensureTo = viewport.ensure.to.line;\n      if (ensureFrom < from) {\n        from = ensureFrom;\n        to = lineAtHeight(doc, heightAtLine(getLine(doc, ensureFrom)) + display.wrapper.clientHeight);\n      } else if (Math.min(ensureTo, doc.lastLine()) >= to) {\n        from = lineAtHeight(doc, heightAtLine(getLine(doc, ensureTo)) - display.wrapper.clientHeight);\n        to = ensureTo;\n      }\n    }\n    return {from: from, to: Math.max(to, from + 1)};\n  }\n\n  // LINE NUMBERS\n\n  // Re-align line numbers and gutter marks to compensate for\n  // horizontal scrolling.\n  function alignHorizontally(cm) {\n    var display = cm.display, view = display.view;\n    if (!display.alignWidgets && (!display.gutters.firstChild || !cm.options.fixedGutter)) return;\n    var comp = compensateForHScroll(display) - display.scroller.scrollLeft + cm.doc.scrollLeft;\n    var gutterW = display.gutters.offsetWidth, left = comp + \"px\";\n    for (var i = 0; i < view.length; i++) if (!view[i].hidden) {\n      if (cm.options.fixedGutter && view[i].gutter)\n        view[i].gutter.style.left = left;\n      var align = view[i].alignable;\n      if (align) for (var j = 0; j < align.length; j++)\n        align[j].style.left = left;\n    }\n    if (cm.options.fixedGutter)\n      display.gutters.style.left = (comp + gutterW) + \"px\";\n  }\n\n  // Used to ensure that the line number gutter is still the right\n  // size for the current document size. Returns true when an update\n  // is needed.\n  function maybeUpdateLineNumberWidth(cm) {\n    if (!cm.options.lineNumbers) return false;\n    var doc = cm.doc, last = lineNumberFor(cm.options, doc.first + doc.size - 1), display = cm.display;\n    if (last.length != display.lineNumChars) {\n      var test = display.measure.appendChild(elt(\"div\", [elt(\"div\", last)],\n                                                 \"CodeMirror-linenumber CodeMirror-gutter-elt\"));\n      var innerW = test.firstChild.offsetWidth, padding = test.offsetWidth - innerW;\n      display.lineGutter.style.width = \"\";\n      display.lineNumInnerWidth = Math.max(innerW, display.lineGutter.offsetWidth - padding);\n      display.lineNumWidth = display.lineNumInnerWidth + padding;\n      display.lineNumChars = display.lineNumInnerWidth ? last.length : -1;\n      display.lineGutter.style.width = display.lineNumWidth + \"px\";\n      updateGutterSpace(cm);\n      return true;\n    }\n    return false;\n  }\n\n  function lineNumberFor(options, i) {\n    return String(options.lineNumberFormatter(i + options.firstLineNumber));\n  }\n\n  // Computes display.scroller.scrollLeft + display.gutters.offsetWidth,\n  // but using getBoundingClientRect to get a sub-pixel-accurate\n  // result.\n  function compensateForHScroll(display) {\n    return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left;\n  }\n\n  // DISPLAY DRAWING\n\n  function DisplayUpdate(cm, viewport, force) {\n    var display = cm.display;\n\n    this.viewport = viewport;\n    // Store some values that we'll need later (but don't want to force a relayout for)\n    this.visible = visibleLines(display, cm.doc, viewport);\n    this.editorIsHidden = !display.wrapper.offsetWidth;\n    this.wrapperHeight = display.wrapper.clientHeight;\n    this.wrapperWidth = display.wrapper.clientWidth;\n    this.oldDisplayWidth = displayWidth(cm);\n    this.force = force;\n    this.dims = getDimensions(cm);\n    this.events = [];\n  }\n\n  DisplayUpdate.prototype.signal = function(emitter, type) {\n    if (hasHandler(emitter, type))\n      this.events.push(arguments);\n  };\n  DisplayUpdate.prototype.finish = function() {\n    for (var i = 0; i < this.events.length; i++)\n      signal.apply(null, this.events[i]);\n  };\n\n  function maybeClipScrollbars(cm) {\n    var display = cm.display;\n    if (!display.scrollbarsClipped && display.scroller.offsetWidth) {\n      display.nativeBarWidth = display.scroller.offsetWidth - display.scroller.clientWidth;\n      display.heightForcer.style.height = scrollGap(cm) + \"px\";\n      display.sizer.style.marginBottom = -display.nativeBarWidth + \"px\";\n      display.sizer.style.borderRightWidth = scrollGap(cm) + \"px\";\n      display.scrollbarsClipped = true;\n    }\n  }\n\n  // Does the actual updating of the line display. Bails out\n  // (returning false) when there is nothing to be done and forced is\n  // false.\n  function updateDisplayIfNeeded(cm, update) {\n    var display = cm.display, doc = cm.doc;\n\n    if (update.editorIsHidden) {\n      resetView(cm);\n      return false;\n    }\n\n    // Bail out if the visible area is already rendered and nothing changed.\n    if (!update.force &&\n        update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo &&\n        (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) &&\n        display.renderedView == display.view && countDirtyView(cm) == 0)\n      return false;\n\n    if (maybeUpdateLineNumberWidth(cm)) {\n      resetView(cm);\n      update.dims = getDimensions(cm);\n    }\n\n    // Compute a suitable new viewport (from & to)\n    var end = doc.first + doc.size;\n    var from = Math.max(update.visible.from - cm.options.viewportMargin, doc.first);\n    var to = Math.min(end, update.visible.to + cm.options.viewportMargin);\n    if (display.viewFrom < from && from - display.viewFrom < 20) from = Math.max(doc.first, display.viewFrom);\n    if (display.viewTo > to && display.viewTo - to < 20) to = Math.min(end, display.viewTo);\n    if (sawCollapsedSpans) {\n      from = visualLineNo(cm.doc, from);\n      to = visualLineEndNo(cm.doc, to);\n    }\n\n    var different = from != display.viewFrom || to != display.viewTo ||\n      display.lastWrapHeight != update.wrapperHeight || display.lastWrapWidth != update.wrapperWidth;\n    adjustView(cm, from, to);\n\n    display.viewOffset = heightAtLine(getLine(cm.doc, display.viewFrom));\n    // Position the mover div to align with the current scroll position\n    cm.display.mover.style.top = display.viewOffset + \"px\";\n\n    var toUpdate = countDirtyView(cm);\n    if (!different && toUpdate == 0 && !update.force && display.renderedView == display.view &&\n        (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo))\n      return false;\n\n    // For big changes, we hide the enclosing element during the\n    // update, since that speeds up the operations on most browsers.\n    var focused = activeElt();\n    if (toUpdate > 4) display.lineDiv.style.display = \"none\";\n    patchDisplay(cm, display.updateLineNumbers, update.dims);\n    if (toUpdate > 4) display.lineDiv.style.display = \"\";\n    display.renderedView = display.view;\n    // There might have been a widget with a focused element that got\n    // hidden or updated, if so re-focus it.\n    if (focused && activeElt() != focused && focused.offsetHeight) focused.focus();\n\n    // Prevent selection and cursors from interfering with the scroll\n    // width and height.\n    removeChildren(display.cursorDiv);\n    removeChildren(display.selectionDiv);\n    display.gutters.style.height = 0;\n\n    if (different) {\n      display.lastWrapHeight = update.wrapperHeight;\n      display.lastWrapWidth = update.wrapperWidth;\n      startWorker(cm, 400);\n    }\n\n    display.updateLineNumbers = null;\n\n    return true;\n  }\n\n  function postUpdateDisplay(cm, update) {\n    var force = update.force, viewport = update.viewport;\n    for (var first = true;; first = false) {\n      if (first && cm.options.lineWrapping && update.oldDisplayWidth != displayWidth(cm)) {\n        force = true;\n      } else {\n        force = false;\n        // Clip forced viewport to actual scrollable area.\n        if (viewport && viewport.top != null)\n          viewport = {top: Math.min(cm.doc.height + paddingVert(cm.display) - displayHeight(cm), viewport.top)};\n        // Updated line heights might result in the drawn area not\n        // actually covering the viewport. Keep looping until it does.\n        update.visible = visibleLines(cm.display, cm.doc, viewport);\n        if (update.visible.from >= cm.display.viewFrom && update.visible.to <= cm.display.viewTo)\n          break;\n      }\n      if (!updateDisplayIfNeeded(cm, update)) break;\n      updateHeightsInViewport(cm);\n      var barMeasure = measureForScrollbars(cm);\n      updateSelection(cm);\n      setDocumentHeight(cm, barMeasure);\n      updateScrollbars(cm, barMeasure);\n    }\n\n    update.signal(cm, \"update\", cm);\n    if (cm.display.viewFrom != cm.display.reportedViewFrom || cm.display.viewTo != cm.display.reportedViewTo) {\n      update.signal(cm, \"viewportChange\", cm, cm.display.viewFrom, cm.display.viewTo);\n      cm.display.reportedViewFrom = cm.display.viewFrom; cm.display.reportedViewTo = cm.display.viewTo;\n    }\n  }\n\n  function updateDisplaySimple(cm, viewport) {\n    var update = new DisplayUpdate(cm, viewport);\n    if (updateDisplayIfNeeded(cm, update)) {\n      updateHeightsInViewport(cm);\n      postUpdateDisplay(cm, update);\n      var barMeasure = measureForScrollbars(cm);\n      updateSelection(cm);\n      setDocumentHeight(cm, barMeasure);\n      updateScrollbars(cm, barMeasure);\n      update.finish();\n    }\n  }\n\n  function setDocumentHeight(cm, measure) {\n    cm.display.sizer.style.minHeight = measure.docHeight + \"px\";\n    var total = measure.docHeight + cm.display.barHeight;\n    cm.display.heightForcer.style.top = total + \"px\";\n    cm.display.gutters.style.height = Math.max(total + scrollGap(cm), measure.clientHeight) + \"px\";\n  }\n\n  // Read the actual heights of the rendered lines, and update their\n  // stored heights to match.\n  function updateHeightsInViewport(cm) {\n    var display = cm.display;\n    var prevBottom = display.lineDiv.offsetTop;\n    for (var i = 0; i < display.view.length; i++) {\n      var cur = display.view[i], height;\n      if (cur.hidden) continue;\n      if (ie && ie_version < 8) {\n        var bot = cur.node.offsetTop + cur.node.offsetHeight;\n        height = bot - prevBottom;\n        prevBottom = bot;\n      } else {\n        var box = cur.node.getBoundingClientRect();\n        height = box.bottom - box.top;\n      }\n      var diff = cur.line.height - height;\n      if (height < 2) height = textHeight(display);\n      if (diff > .001 || diff < -.001) {\n        updateLineHeight(cur.line, height);\n        updateWidgetHeight(cur.line);\n        if (cur.rest) for (var j = 0; j < cur.rest.length; j++)\n          updateWidgetHeight(cur.rest[j]);\n      }\n    }\n  }\n\n  // Read and store the height of line widgets associated with the\n  // given line.\n  function updateWidgetHeight(line) {\n    if (line.widgets) for (var i = 0; i < line.widgets.length; ++i)\n      line.widgets[i].height = line.widgets[i].node.offsetHeight;\n  }\n\n  // Do a bulk-read of the DOM positions and sizes needed to draw the\n  // view, so that we don't interleave reading and writing to the DOM.\n  function getDimensions(cm) {\n    var d = cm.display, left = {}, width = {};\n    var gutterLeft = d.gutters.clientLeft;\n    for (var n = d.gutters.firstChild, i = 0; n; n = n.nextSibling, ++i) {\n      left[cm.options.gutters[i]] = n.offsetLeft + n.clientLeft + gutterLeft;\n      width[cm.options.gutters[i]] = n.clientWidth;\n    }\n    return {fixedPos: compensateForHScroll(d),\n            gutterTotalWidth: d.gutters.offsetWidth,\n            gutterLeft: left,\n            gutterWidth: width,\n            wrapperWidth: d.wrapper.clientWidth};\n  }\n\n  // Sync the actual display DOM structure with display.view, removing\n  // nodes for lines that are no longer in view, and creating the ones\n  // that are not there yet, and updating the ones that are out of\n  // date.\n  function patchDisplay(cm, updateNumbersFrom, dims) {\n    var display = cm.display, lineNumbers = cm.options.lineNumbers;\n    var container = display.lineDiv, cur = container.firstChild;\n\n    function rm(node) {\n      var next = node.nextSibling;\n      // Works around a throw-scroll bug in OS X Webkit\n      if (webkit && mac && cm.display.currentWheelTarget == node)\n        node.style.display = \"none\";\n      else\n        node.parentNode.removeChild(node);\n      return next;\n    }\n\n    var view = display.view, lineN = display.viewFrom;\n    // Loop over the elements in the view, syncing cur (the DOM nodes\n    // in display.lineDiv) with the view as we go.\n    for (var i = 0; i < view.length; i++) {\n      var lineView = view[i];\n      if (lineView.hidden) {\n      } else if (!lineView.node || lineView.node.parentNode != container) { // Not drawn yet\n        var node = buildLineElement(cm, lineView, lineN, dims);\n        container.insertBefore(node, cur);\n      } else { // Already drawn\n        while (cur != lineView.node) cur = rm(cur);\n        var updateNumber = lineNumbers && updateNumbersFrom != null &&\n          updateNumbersFrom <= lineN && lineView.lineNumber;\n        if (lineView.changes) {\n          if (indexOf(lineView.changes, \"gutter\") > -1) updateNumber = false;\n          updateLineForChanges(cm, lineView, lineN, dims);\n        }\n        if (updateNumber) {\n          removeChildren(lineView.lineNumber);\n          lineView.lineNumber.appendChild(document.createTextNode(lineNumberFor(cm.options, lineN)));\n        }\n        cur = lineView.node.nextSibling;\n      }\n      lineN += lineView.size;\n    }\n    while (cur) cur = rm(cur);\n  }\n\n  // When an aspect of a line changes, a string is added to\n  // lineView.changes. This updates the relevant part of the line's\n  // DOM structure.\n  function updateLineForChanges(cm, lineView, lineN, dims) {\n    for (var j = 0; j < lineView.changes.length; j++) {\n      var type = lineView.changes[j];\n      if (type == \"text\") updateLineText(cm, lineView);\n      else if (type == \"gutter\") updateLineGutter(cm, lineView, lineN, dims);\n      else if (type == \"class\") updateLineClasses(lineView);\n      else if (type == \"widget\") updateLineWidgets(cm, lineView, dims);\n    }\n    lineView.changes = null;\n  }\n\n  // Lines with gutter elements, widgets or a background class need to\n  // be wrapped, and have the extra elements added to the wrapper div\n  function ensureLineWrapped(lineView) {\n    if (lineView.node == lineView.text) {\n      lineView.node = elt(\"div\", null, null, \"position: relative\");\n      if (lineView.text.parentNode)\n        lineView.text.parentNode.replaceChild(lineView.node, lineView.text);\n      lineView.node.appendChild(lineView.text);\n      if (ie && ie_version < 8) lineView.node.style.zIndex = 2;\n    }\n    return lineView.node;\n  }\n\n  function updateLineBackground(lineView) {\n    var cls = lineView.bgClass ? lineView.bgClass + \" \" + (lineView.line.bgClass || \"\") : lineView.line.bgClass;\n    if (cls) cls += \" CodeMirror-linebackground\";\n    if (lineView.background) {\n      if (cls) lineView.background.className = cls;\n      else { lineView.background.parentNode.removeChild(lineView.background); lineView.background = null; }\n    } else if (cls) {\n      var wrap = ensureLineWrapped(lineView);\n      lineView.background = wrap.insertBefore(elt(\"div\", null, cls), wrap.firstChild);\n    }\n  }\n\n  // Wrapper around buildLineContent which will reuse the structure\n  // in display.externalMeasured when possible.\n  function getLineContent(cm, lineView) {\n    var ext = cm.display.externalMeasured;\n    if (ext && ext.line == lineView.line) {\n      cm.display.externalMeasured = null;\n      lineView.measure = ext.measure;\n      return ext.built;\n    }\n    return buildLineContent(cm, lineView);\n  }\n\n  // Redraw the line's text. Interacts with the background and text\n  // classes because the mode may output tokens that influence these\n  // classes.\n  function updateLineText(cm, lineView) {\n    var cls = lineView.text.className;\n    var built = getLineContent(cm, lineView);\n    if (lineView.text == lineView.node) lineView.node = built.pre;\n    lineView.text.parentNode.replaceChild(built.pre, lineView.text);\n    lineView.text = built.pre;\n    if (built.bgClass != lineView.bgClass || built.textClass != lineView.textClass) {\n      lineView.bgClass = built.bgClass;\n      lineView.textClass = built.textClass;\n      updateLineClasses(lineView);\n    } else if (cls) {\n      lineView.text.className = cls;\n    }\n  }\n\n  function updateLineClasses(lineView) {\n    updateLineBackground(lineView);\n    if (lineView.line.wrapClass)\n      ensureLineWrapped(lineView).className = lineView.line.wrapClass;\n    else if (lineView.node != lineView.text)\n      lineView.node.className = \"\";\n    var textClass = lineView.textClass ? lineView.textClass + \" \" + (lineView.line.textClass || \"\") : lineView.line.textClass;\n    lineView.text.className = textClass || \"\";\n  }\n\n  function updateLineGutter(cm, lineView, lineN, dims) {\n    if (lineView.gutter) {\n      lineView.node.removeChild(lineView.gutter);\n      lineView.gutter = null;\n    }\n    var markers = lineView.line.gutterMarkers;\n    if (cm.options.lineNumbers || markers) {\n      var wrap = ensureLineWrapped(lineView);\n      var gutterWrap = lineView.gutter = elt(\"div\", null, \"CodeMirror-gutter-wrapper\", \"left: \" +\n                                             (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) +\n                                             \"px; width: \" + dims.gutterTotalWidth + \"px\");\n      cm.display.input.setUneditable(gutterWrap);\n      wrap.insertBefore(gutterWrap, lineView.text);\n      if (lineView.line.gutterClass)\n        gutterWrap.className += \" \" + lineView.line.gutterClass;\n      if (cm.options.lineNumbers && (!markers || !markers[\"CodeMirror-linenumbers\"]))\n        lineView.lineNumber = gutterWrap.appendChild(\n          elt(\"div\", lineNumberFor(cm.options, lineN),\n              \"CodeMirror-linenumber CodeMirror-gutter-elt\",\n              \"left: \" + dims.gutterLeft[\"CodeMirror-linenumbers\"] + \"px; width: \"\n              + cm.display.lineNumInnerWidth + \"px\"));\n      if (markers) for (var k = 0; k < cm.options.gutters.length; ++k) {\n        var id = cm.options.gutters[k], found = markers.hasOwnProperty(id) && markers[id];\n        if (found)\n          gutterWrap.appendChild(elt(\"div\", [found], \"CodeMirror-gutter-elt\", \"left: \" +\n                                     dims.gutterLeft[id] + \"px; width: \" + dims.gutterWidth[id] + \"px\"));\n      }\n    }\n  }\n\n  function updateLineWidgets(cm, lineView, dims) {\n    if (lineView.alignable) lineView.alignable = null;\n    for (var node = lineView.node.firstChild, next; node; node = next) {\n      var next = node.nextSibling;\n      if (node.className == \"CodeMirror-linewidget\")\n        lineView.node.removeChild(node);\n    }\n    insertLineWidgets(cm, lineView, dims);\n  }\n\n  // Build a line's DOM representation from scratch\n  function buildLineElement(cm, lineView, lineN, dims) {\n    var built = getLineContent(cm, lineView);\n    lineView.text = lineView.node = built.pre;\n    if (built.bgClass) lineView.bgClass = built.bgClass;\n    if (built.textClass) lineView.textClass = built.textClass;\n\n    updateLineClasses(lineView);\n    updateLineGutter(cm, lineView, lineN, dims);\n    insertLineWidgets(cm, lineView, dims);\n    return lineView.node;\n  }\n\n  // A lineView may contain multiple logical lines (when merged by\n  // collapsed spans). The widgets for all of them need to be drawn.\n  function insertLineWidgets(cm, lineView, dims) {\n    insertLineWidgetsFor(cm, lineView.line, lineView, dims, true);\n    if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)\n      insertLineWidgetsFor(cm, lineView.rest[i], lineView, dims, false);\n  }\n\n  function insertLineWidgetsFor(cm, line, lineView, dims, allowAbove) {\n    if (!line.widgets) return;\n    var wrap = ensureLineWrapped(lineView);\n    for (var i = 0, ws = line.widgets; i < ws.length; ++i) {\n      var widget = ws[i], node = elt(\"div\", [widget.node], \"CodeMirror-linewidget\");\n      if (!widget.handleMouseEvents) node.setAttribute(\"cm-ignore-events\", \"true\");\n      positionLineWidget(widget, node, lineView, dims);\n      cm.display.input.setUneditable(node);\n      if (allowAbove && widget.above)\n        wrap.insertBefore(node, lineView.gutter || lineView.text);\n      else\n        wrap.appendChild(node);\n      signalLater(widget, \"redraw\");\n    }\n  }\n\n  function positionLineWidget(widget, node, lineView, dims) {\n    if (widget.noHScroll) {\n      (lineView.alignable || (lineView.alignable = [])).push(node);\n      var width = dims.wrapperWidth;\n      node.style.left = dims.fixedPos + \"px\";\n      if (!widget.coverGutter) {\n        width -= dims.gutterTotalWidth;\n        node.style.paddingLeft = dims.gutterTotalWidth + \"px\";\n      }\n      node.style.width = width + \"px\";\n    }\n    if (widget.coverGutter) {\n      node.style.zIndex = 5;\n      node.style.position = \"relative\";\n      if (!widget.noHScroll) node.style.marginLeft = -dims.gutterTotalWidth + \"px\";\n    }\n  }\n\n  // POSITION OBJECT\n\n  // A Pos instance represents a position within the text.\n  var Pos = CodeMirror.Pos = function(line, ch) {\n    if (!(this instanceof Pos)) return new Pos(line, ch);\n    this.line = line; this.ch = ch;\n  };\n\n  // Compare two positions, return 0 if they are the same, a negative\n  // number when a is less, and a positive number otherwise.\n  var cmp = CodeMirror.cmpPos = function(a, b) { return a.line - b.line || a.ch - b.ch; };\n\n  function copyPos(x) {return Pos(x.line, x.ch);}\n  function maxPos(a, b) { return cmp(a, b) < 0 ? b : a; }\n  function minPos(a, b) { return cmp(a, b) < 0 ? a : b; }\n\n  // INPUT HANDLING\n\n  function ensureFocus(cm) {\n    if (!cm.state.focused) { cm.display.input.focus(); onFocus(cm); }\n  }\n\n  function isReadOnly(cm) {\n    return cm.options.readOnly || cm.doc.cantEdit;\n  }\n\n  // This will be set to an array of strings when copying, so that,\n  // when pasting, we know what kind of selections the copied text\n  // was made out of.\n  var lastCopied = null;\n\n  function applyTextInput(cm, inserted, deleted, sel) {\n    var doc = cm.doc;\n    cm.display.shift = false;\n    if (!sel) sel = doc.sel;\n\n    var textLines = splitLines(inserted), multiPaste = null;\n    // When pasing N lines into N selections, insert one line per selection\n    if (cm.state.pasteIncoming && sel.ranges.length > 1) {\n      if (lastCopied && lastCopied.join(\"\\n\") == inserted)\n        multiPaste = sel.ranges.length % lastCopied.length == 0 && map(lastCopied, splitLines);\n      else if (textLines.length == sel.ranges.length)\n        multiPaste = map(textLines, function(l) { return [l]; });\n    }\n\n    // Normal behavior is to insert the new text into every selection\n    for (var i = sel.ranges.length - 1; i >= 0; i--) {\n      var range = sel.ranges[i];\n      var from = range.from(), to = range.to();\n      if (range.empty()) {\n        if (deleted && deleted > 0) // Handle deletion\n          from = Pos(from.line, from.ch - deleted);\n        else if (cm.state.overwrite && !cm.state.pasteIncoming) // Handle overwrite\n          to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length));\n      }\n      var updateInput = cm.curOp.updateInput;\n      var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i % multiPaste.length] : textLines,\n                         origin: cm.state.pasteIncoming ? \"paste\" : cm.state.cutIncoming ? \"cut\" : \"+input\"};\n      makeChange(cm.doc, changeEvent);\n      signalLater(cm, \"inputRead\", cm, changeEvent);\n      // When an 'electric' character is inserted, immediately trigger a reindent\n      if (inserted && !cm.state.pasteIncoming && cm.options.electricChars &&\n          cm.options.smartIndent && range.head.ch < 100 &&\n          (!i || sel.ranges[i - 1].head.line != range.head.line)) {\n        var mode = cm.getModeAt(range.head);\n        var end = changeEnd(changeEvent);\n        if (mode.electricChars) {\n          for (var j = 0; j < mode.electricChars.length; j++)\n            if (inserted.indexOf(mode.electricChars.charAt(j)) > -1) {\n              indentLine(cm, end.line, \"smart\");\n              break;\n            }\n        } else if (mode.electricInput) {\n          if (mode.electricInput.test(getLine(doc, end.line).text.slice(0, end.ch)))\n            indentLine(cm, end.line, \"smart\");\n        }\n      }\n    }\n    ensureCursorVisible(cm);\n    cm.curOp.updateInput = updateInput;\n    cm.curOp.typing = true;\n    cm.state.pasteIncoming = cm.state.cutIncoming = false;\n  }\n\n  function copyableRanges(cm) {\n    var text = [], ranges = [];\n    for (var i = 0; i < cm.doc.sel.ranges.length; i++) {\n      var line = cm.doc.sel.ranges[i].head.line;\n      var lineRange = {anchor: Pos(line, 0), head: Pos(line + 1, 0)};\n      ranges.push(lineRange);\n      text.push(cm.getRange(lineRange.anchor, lineRange.head));\n    }\n    return {text: text, ranges: ranges};\n  }\n\n  function disableBrowserMagic(field) {\n    field.setAttribute(\"autocorrect\", \"off\");\n    field.setAttribute(\"autocapitalize\", \"off\");\n    field.setAttribute(\"spellcheck\", \"false\");\n  }\n\n  // TEXTAREA INPUT STYLE\n\n  function TextareaInput(cm) {\n    this.cm = cm;\n    // See input.poll and input.reset\n    this.prevInput = \"\";\n\n    // Flag that indicates whether we expect input to appear real soon\n    // now (after some event like 'keypress' or 'input') and are\n    // polling intensively.\n    this.pollingFast = false;\n    // Self-resetting timeout for the poller\n    this.polling = new Delayed();\n    // Tracks when input.reset has punted to just putting a short\n    // string into the textarea instead of the full selection.\n    this.inaccurateSelection = false;\n    // Used to work around IE issue with selection being forgotten when focus moves away from textarea\n    this.hasSelection = false;\n  };\n\n  function hiddenTextarea() {\n    var te = elt(\"textarea\", null, null, \"position: absolute; padding: 0; width: 1px; height: 1em; outline: none\");\n    var div = elt(\"div\", [te], null, \"overflow: hidden; position: relative; width: 3px; height: 0px;\");\n    // The textarea is kept positioned near the cursor to prevent the\n    // fact that it'll be scrolled into view on input from scrolling\n    // our fake cursor out of view. On webkit, when wrap=off, paste is\n    // very slow. So make the area wide instead.\n    if (webkit) te.style.width = \"1000px\";\n    else te.setAttribute(\"wrap\", \"off\");\n    // If border: 0; -- iOS fails to open keyboard (issue #1287)\n    if (ios) te.style.border = \"1px solid black\";\n    disableBrowserMagic(te);\n    return div;\n  }\n\n  TextareaInput.prototype = copyObj({\n    init: function(display) {\n      var input = this, cm = this.cm;\n\n      // Wraps and hides input textarea\n      var div = this.wrapper = hiddenTextarea();\n      // The semihidden textarea that is focused when the editor is\n      // focused, and receives input.\n      var te = this.textarea = div.firstChild;\n      display.wrapper.insertBefore(div, display.wrapper.firstChild);\n\n      // Needed to hide big blue blinking cursor on Mobile Safari (doesn't seem to work in iOS 8 anymore)\n      if (ios) te.style.width = \"0px\";\n\n      on(te, \"input\", function() {\n        if (ie && ie_version >= 9 && input.hasSelection) input.hasSelection = null;\n        input.poll();\n      });\n\n      on(te, \"paste\", function() {\n        // Workaround for webkit bug https://bugs.webkit.org/show_bug.cgi?id=90206\n        // Add a char to the end of textarea before paste occur so that\n        // selection doesn't span to the end of textarea.\n        if (webkit && !cm.state.fakedLastChar && !(new Date - cm.state.lastMiddleDown < 200)) {\n          var start = te.selectionStart, end = te.selectionEnd;\n          te.value += \"$\";\n          // The selection end needs to be set before the start, otherwise there\n          // can be an intermediate non-empty selection between the two, which\n          // can override the middle-click paste buffer on linux and cause the\n          // wrong thing to get pasted.\n          te.selectionEnd = end;\n          te.selectionStart = start;\n          cm.state.fakedLastChar = true;\n        }\n        cm.state.pasteIncoming = true;\n        input.fastPoll();\n      });\n\n      function prepareCopyCut(e) {\n        if (cm.somethingSelected()) {\n          lastCopied = cm.getSelections();\n          if (input.inaccurateSelection) {\n            input.prevInput = \"\";\n            input.inaccurateSelection = false;\n            te.value = lastCopied.join(\"\\n\");\n            selectInput(te);\n          }\n        } else {\n          var ranges = copyableRanges(cm);\n          lastCopied = ranges.text;\n          if (e.type == \"cut\") {\n            cm.setSelections(ranges.ranges, null, sel_dontScroll);\n          } else {\n            input.prevInput = \"\";\n            te.value = ranges.text.join(\"\\n\");\n            selectInput(te);\n          }\n        }\n        if (e.type == \"cut\") cm.state.cutIncoming = true;\n      }\n      on(te, \"cut\", prepareCopyCut);\n      on(te, \"copy\", prepareCopyCut);\n\n      on(display.scroller, \"paste\", function(e) {\n        if (eventInWidget(display, e)) return;\n        cm.state.pasteIncoming = true;\n        input.focus();\n      });\n\n      // Prevent normal selection in the editor (we handle our own)\n      on(display.lineSpace, \"selectstart\", function(e) {\n        if (!eventInWidget(display, e)) e_preventDefault(e);\n      });\n    },\n\n    prepareSelection: function() {\n      // Redraw the selection and/or cursor\n      var cm = this.cm, display = cm.display, doc = cm.doc;\n      var result = prepareSelection(cm);\n\n      // Move the hidden textarea near the cursor to prevent scrolling artifacts\n      if (cm.options.moveInputWithCursor) {\n        var headPos = cursorCoords(cm, doc.sel.primary().head, \"div\");\n        var wrapOff = display.wrapper.getBoundingClientRect(), lineOff = display.lineDiv.getBoundingClientRect();\n        result.teTop = Math.max(0, Math.min(display.wrapper.clientHeight - 10,\n                                            headPos.top + lineOff.top - wrapOff.top));\n        result.teLeft = Math.max(0, Math.min(display.wrapper.clientWidth - 10,\n                                             headPos.left + lineOff.left - wrapOff.left));\n      }\n\n      return result;\n    },\n\n    showSelection: function(drawn) {\n      var cm = this.cm, display = cm.display;\n      removeChildrenAndAdd(display.cursorDiv, drawn.cursors);\n      removeChildrenAndAdd(display.selectionDiv, drawn.selection);\n      if (drawn.teTop != null) {\n        this.wrapper.style.top = drawn.teTop + \"px\";\n        this.wrapper.style.left = drawn.teLeft + \"px\";\n      }\n    },\n\n    // Reset the input to correspond to the selection (or to be empty,\n    // when not typing and nothing is selected)\n    reset: function(typing) {\n      if (this.contextMenuPending) return;\n      var minimal, selected, cm = this.cm, doc = cm.doc;\n      if (cm.somethingSelected()) {\n        this.prevInput = \"\";\n        var range = doc.sel.primary();\n        minimal = hasCopyEvent &&\n          (range.to().line - range.from().line > 100 || (selected = cm.getSelection()).length > 1000);\n        var content = minimal ? \"-\" : selected || cm.getSelection();\n        this.textarea.value = content;\n        if (cm.state.focused) selectInput(this.textarea);\n        if (ie && ie_version >= 9) this.hasSelection = content;\n      } else if (!typing) {\n        this.prevInput = this.textarea.value = \"\";\n        if (ie && ie_version >= 9) this.hasSelection = null;\n      }\n      this.inaccurateSelection = minimal;\n    },\n\n    getField: function() { return this.textarea; },\n\n    supportsTouch: function() { return false; },\n\n    focus: function() {\n      if (this.cm.options.readOnly != \"nocursor\" && (!mobile || activeElt() != this.textarea)) {\n        try { this.textarea.focus(); }\n        catch (e) {} // IE8 will throw if the textarea is display: none or not in DOM\n      }\n    },\n\n    blur: function() { this.textarea.blur(); },\n\n    resetPosition: function() {\n      this.wrapper.style.top = this.wrapper.style.left = 0;\n    },\n\n    receivedFocus: function() { this.slowPoll(); },\n\n    // Poll for input changes, using the normal rate of polling. This\n    // runs as long as the editor is focused.\n    slowPoll: function() {\n      var input = this;\n      if (input.pollingFast) return;\n      input.polling.set(this.cm.options.pollInterval, function() {\n        input.poll();\n        if (input.cm.state.focused) input.slowPoll();\n      });\n    },\n\n    // When an event has just come in that is likely to add or change\n    // something in the input textarea, we poll faster, to ensure that\n    // the change appears on the screen quickly.\n    fastPoll: function() {\n      var missed = false, input = this;\n      input.pollingFast = true;\n      function p() {\n        var changed = input.poll();\n        if (!changed && !missed) {missed = true; input.polling.set(60, p);}\n        else {input.pollingFast = false; input.slowPoll();}\n      }\n      input.polling.set(20, p);\n    },\n\n    // Read input from the textarea, and update the document to match.\n    // When something is selected, it is present in the textarea, and\n    // selected (unless it is huge, in which case a placeholder is\n    // used). When nothing is selected, the cursor sits after previously\n    // seen text (can be empty), which is stored in prevInput (we must\n    // not reset the textarea when typing, because that breaks IME).\n    poll: function() {\n      var cm = this.cm, input = this.textarea, prevInput = this.prevInput;\n      // Since this is called a *lot*, try to bail out as cheaply as\n      // possible when it is clear that nothing happened. hasSelection\n      // will be the case when there is a lot of text in the textarea,\n      // in which case reading its value would be expensive.\n      if (!cm.state.focused || (hasSelection(input) && !prevInput) ||\n          isReadOnly(cm) || cm.options.disableInput || cm.state.keySeq)\n        return false;\n      // See paste handler for more on the fakedLastChar kludge\n      if (cm.state.pasteIncoming && cm.state.fakedLastChar) {\n        input.value = input.value.substring(0, input.value.length - 1);\n        cm.state.fakedLastChar = false;\n      }\n      var text = input.value;\n      // If nothing changed, bail.\n      if (text == prevInput && !cm.somethingSelected()) return false;\n      // Work around nonsensical selection resetting in IE9/10, and\n      // inexplicable appearance of private area unicode characters on\n      // some key combos in Mac (#2689).\n      if (ie && ie_version >= 9 && this.hasSelection === text ||\n          mac && /[\\uf700-\\uf7ff]/.test(text)) {\n        cm.display.input.reset();\n        return false;\n      }\n\n      if (text.charCodeAt(0) == 0x200b && cm.doc.sel == cm.display.selForContextMenu && !prevInput)\n        prevInput = \"\\u200b\";\n      // Find the part of the input that is actually new\n      var same = 0, l = Math.min(prevInput.length, text.length);\n      while (same < l && prevInput.charCodeAt(same) == text.charCodeAt(same)) ++same;\n\n      var self = this;\n      runInOp(cm, function() {\n        applyTextInput(cm, text.slice(same), prevInput.length - same);\n\n        // Don't leave long text in the textarea, since it makes further polling slow\n        if (text.length > 1000 || text.indexOf(\"\\n\") > -1) input.value = self.prevInput = \"\";\n        else self.prevInput = text;\n      });\n      return true;\n    },\n\n    ensurePolled: function() {\n      if (this.pollingFast && this.poll()) this.pollingFast = false;\n    },\n\n    onKeyPress: function() {\n      if (ie && ie_version >= 9) this.hasSelection = null;\n      this.fastPoll();\n    },\n\n    onContextMenu: function(e) {\n      var input = this, cm = input.cm, display = cm.display, te = input.textarea;\n      var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop;\n      if (!pos || presto) return; // Opera is difficult.\n\n      // Reset the current text selection only if the click is done outside of the selection\n      // and 'resetSelectionOnContextMenu' option is true.\n      var reset = cm.options.resetSelectionOnContextMenu;\n      if (reset && cm.doc.sel.contains(pos) == -1)\n        operation(cm, setSelection)(cm.doc, simpleSelection(pos), sel_dontScroll);\n\n      var oldCSS = te.style.cssText;\n      input.wrapper.style.position = \"absolute\";\n      te.style.cssText = \"position: fixed; width: 30px; height: 30px; top: \" + (e.clientY - 5) +\n        \"px; left: \" + (e.clientX - 5) + \"px; z-index: 1000; background: \" +\n        (ie ? \"rgba(255, 255, 255, .05)\" : \"transparent\") +\n        \"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\";\n      if (webkit) var oldScrollY = window.scrollY; // Work around Chrome issue (#2712)\n      display.input.focus();\n      if (webkit) window.scrollTo(null, oldScrollY);\n      display.input.reset();\n      // Adds \"Select all\" to context menu in FF\n      if (!cm.somethingSelected()) te.value = input.prevInput = \" \";\n      input.contextMenuPending = true;\n      display.selForContextMenu = cm.doc.sel;\n      clearTimeout(display.detectingSelectAll);\n\n      // Select-all will be greyed out if there's nothing to select, so\n      // this adds a zero-width space so that we can later check whether\n      // it got selected.\n      function prepareSelectAllHack() {\n        if (te.selectionStart != null) {\n          var selected = cm.somethingSelected();\n          var extval = te.value = \"\\u200b\" + (selected ? te.value : \"\");\n          input.prevInput = selected ? \"\" : \"\\u200b\";\n          te.selectionStart = 1; te.selectionEnd = extval.length;\n          // Re-set this, in case some other handler touched the\n          // selection in the meantime.\n          display.selForContextMenu = cm.doc.sel;\n        }\n      }\n      function rehide() {\n        input.contextMenuPending = false;\n        input.wrapper.style.position = \"relative\";\n        te.style.cssText = oldCSS;\n        if (ie && ie_version < 9) display.scrollbars.setScrollTop(display.scroller.scrollTop = scrollPos);\n\n        // Try to detect the user choosing select-all\n        if (te.selectionStart != null) {\n          if (!ie || (ie && ie_version < 9)) prepareSelectAllHack();\n          var i = 0, poll = function() {\n            if (display.selForContextMenu == cm.doc.sel && te.selectionStart == 0)\n              operation(cm, commands.selectAll)(cm);\n            else if (i++ < 10) display.detectingSelectAll = setTimeout(poll, 500);\n            else display.input.reset();\n          };\n          display.detectingSelectAll = setTimeout(poll, 200);\n        }\n      }\n\n      if (ie && ie_version >= 9) prepareSelectAllHack();\n      if (captureRightClick) {\n        e_stop(e);\n        var mouseup = function() {\n          off(window, \"mouseup\", mouseup);\n          setTimeout(rehide, 20);\n        };\n        on(window, \"mouseup\", mouseup);\n      } else {\n        setTimeout(rehide, 50);\n      }\n    },\n\n    setUneditable: nothing,\n\n    needsContentAttribute: false\n  }, TextareaInput.prototype);\n\n  // CONTENTEDITABLE INPUT STYLE\n\n  function ContentEditableInput(cm) {\n    this.cm = cm;\n    this.lastAnchorNode = this.lastAnchorOffset = this.lastFocusNode = this.lastFocusOffset = null;\n    this.polling = new Delayed();\n  }\n\n  ContentEditableInput.prototype = copyObj({\n    init: function(display) {\n      var input = this, cm = input.cm;\n      var div = input.div = display.lineDiv;\n      div.contentEditable = \"true\";\n      disableBrowserMagic(div);\n\n      on(div, \"paste\", function(e) {\n        var pasted = e.clipboardData && e.clipboardData.getData(\"text/plain\");\n        if (pasted) {\n          e.preventDefault();\n          cm.replaceSelection(pasted, null, \"paste\");\n        }\n      });\n\n      on(div, \"compositionstart\", function(e) {\n        var data = e.data;\n        input.composing = {sel: cm.doc.sel, data: data, startData: data};\n        if (!data) return;\n        var prim = cm.doc.sel.primary();\n        var line = cm.getLine(prim.head.line);\n        var found = line.indexOf(data, Math.max(0, prim.head.ch - data.length));\n        if (found > -1 && found <= prim.head.ch)\n          input.composing.sel = simpleSelection(Pos(prim.head.line, found),\n                                                Pos(prim.head.line, found + data.length));\n      });\n      on(div, \"compositionupdate\", function(e) {\n        input.composing.data = e.data;\n      });\n      on(div, \"compositionend\", function(e) {\n        var ours = input.composing;\n        if (!ours) return;\n        if (e.data != ours.startData && !/\\u200b/.test(e.data))\n          ours.data = e.data;\n        // Need a small delay to prevent other code (input event,\n        // selection polling) from doing damage when fired right after\n        // compositionend.\n        setTimeout(function() {\n          if (!ours.handled)\n            input.applyComposition(ours);\n          if (input.composing == ours)\n            input.composing = null;\n        }, 50);\n      });\n\n      on(div, \"touchstart\", function() {\n        input.forceCompositionEnd();\n      });\n\n      on(div, \"input\", function() {\n        if (input.composing) return;\n        if (!input.pollContent())\n          runInOp(input.cm, function() {regChange(cm);});\n      });\n\n      function onCopyCut(e) {\n        if (cm.somethingSelected()) {\n          lastCopied = cm.getSelections();\n          if (e.type == \"cut\") cm.replaceSelection(\"\", null, \"cut\");\n        } else {\n          var ranges = copyableRanges(cm);\n          lastCopied = ranges.text;\n          if (e.type == \"cut\") {\n            cm.operation(function() {\n              cm.setSelections(ranges.ranges, 0, sel_dontScroll);\n              cm.replaceSelection(\"\", null, \"cut\");\n            });\n          }\n        }\n        // iOS exposes the clipboard API, but seems to discard content inserted into it\n        if (e.clipboardData && !ios) {\n          e.preventDefault();\n          e.clipboardData.clearData();\n          e.clipboardData.setData(\"text/plain\", lastCopied.join(\"\\n\"));\n        } else {\n          // Old-fashioned briefly-focus-a-textarea hack\n          var kludge = hiddenTextarea(), te = kludge.firstChild;\n          cm.display.lineSpace.insertBefore(kludge, cm.display.lineSpace.firstChild);\n          te.value = lastCopied.join(\"\\n\");\n          var hadFocus = document.activeElement;\n          selectInput(te);\n          setTimeout(function() {\n            cm.display.lineSpace.removeChild(kludge);\n            hadFocus.focus();\n          }, 50);\n        }\n      }\n      on(div, \"copy\", onCopyCut);\n      on(div, \"cut\", onCopyCut);\n    },\n\n    prepareSelection: function() {\n      var result = prepareSelection(this.cm, false);\n      result.focus = this.cm.state.focused;\n      return result;\n    },\n\n    showSelection: function(info) {\n      if (!info || !this.cm.display.view.length) return;\n      if (info.focus) this.showPrimarySelection();\n      this.showMultipleSelections(info);\n    },\n\n    showPrimarySelection: function() {\n      var sel = window.getSelection(), prim = this.cm.doc.sel.primary();\n      var curAnchor = domToPos(this.cm, sel.anchorNode, sel.anchorOffset);\n      var curFocus = domToPos(this.cm, sel.focusNode, sel.focusOffset);\n      if (curAnchor && !curAnchor.bad && curFocus && !curFocus.bad &&\n          cmp(minPos(curAnchor, curFocus), prim.from()) == 0 &&\n          cmp(maxPos(curAnchor, curFocus), prim.to()) == 0)\n        return;\n\n      var start = posToDOM(this.cm, prim.from());\n      var end = posToDOM(this.cm, prim.to());\n      if (!start && !end) return;\n\n      var view = this.cm.display.view;\n      var old = sel.rangeCount && sel.getRangeAt(0);\n      if (!start) {\n        start = {node: view[0].measure.map[2], offset: 0};\n      } else if (!end) { // FIXME dangerously hacky\n        var measure = view[view.length - 1].measure;\n        var map = measure.maps ? measure.maps[measure.maps.length - 1] : measure.map;\n        end = {node: map[map.length - 1], offset: map[map.length - 2] - map[map.length - 3]};\n      }\n\n      try { var rng = range(start.node, start.offset, end.offset, end.node); }\n      catch(e) {} // Our model of the DOM might be outdated, in which case the range we try to set can be impossible\n      if (rng) {\n        sel.removeAllRanges();\n        sel.addRange(rng);\n        if (old && sel.anchorNode == null) sel.addRange(old);\n      }\n      this.rememberSelection();\n    },\n\n    showMultipleSelections: function(info) {\n      removeChildrenAndAdd(this.cm.display.cursorDiv, info.cursors);\n      removeChildrenAndAdd(this.cm.display.selectionDiv, info.selection);\n    },\n\n    rememberSelection: function() {\n      var sel = window.getSelection();\n      this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset;\n      this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset;\n    },\n\n    selectionInEditor: function() {\n      var sel = window.getSelection();\n      if (!sel.rangeCount) return false;\n      var node = sel.getRangeAt(0).commonAncestorContainer;\n      return contains(this.div, node);\n    },\n\n    focus: function() {\n      if (this.cm.options.readOnly != \"nocursor\") this.div.focus();\n    },\n    blur: function() { this.div.blur(); },\n    getField: function() { return this.div; },\n\n    supportsTouch: function() { return true; },\n\n    receivedFocus: function() {\n      var input = this;\n      if (this.selectionInEditor())\n        this.pollSelection();\n      else\n        runInOp(this.cm, function() { input.cm.curOp.selectionChanged = true; });\n\n      function poll() {\n        if (input.cm.state.focused) {\n          input.pollSelection();\n          input.polling.set(input.cm.options.pollInterval, poll);\n        }\n      }\n      this.polling.set(this.cm.options.pollInterval, poll);\n    },\n\n    pollSelection: function() {\n      if (this.composing) return;\n\n      var sel = window.getSelection(), cm = this.cm;\n      if (sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset ||\n          sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset) {\n        this.rememberSelection();\n        var anchor = domToPos(cm, sel.anchorNode, sel.anchorOffset);\n        var head = domToPos(cm, sel.focusNode, sel.focusOffset);\n        if (anchor && head) runInOp(cm, function() {\n          setSelection(cm.doc, simpleSelection(anchor, head), sel_dontScroll);\n          if (anchor.bad || head.bad) cm.curOp.selectionChanged = true;\n        });\n      }\n    },\n\n    pollContent: function() {\n      var cm = this.cm, display = cm.display, sel = cm.doc.sel.primary();\n      var from = sel.from(), to = sel.to();\n      if (from.line < display.viewFrom || to.line > display.viewTo - 1) return false;\n\n      var fromIndex;\n      if (from.line == display.viewFrom || (fromIndex = findViewIndex(cm, from.line)) == 0) {\n        var fromLine = lineNo(display.view[0].line);\n        var fromNode = display.view[0].node;\n      } else {\n        var fromLine = lineNo(display.view[fromIndex].line);\n        var fromNode = display.view[fromIndex - 1].node.nextSibling;\n      }\n      var toIndex = findViewIndex(cm, to.line);\n      if (toIndex == display.view.length - 1) {\n        var toLine = display.viewTo - 1;\n        var toNode = display.view[toIndex].node;\n      } else {\n        var toLine = lineNo(display.view[toIndex + 1].line) - 1;\n        var toNode = display.view[toIndex + 1].node.previousSibling;\n      }\n\n      var newText = splitLines(domTextBetween(cm, fromNode, toNode, fromLine, toLine));\n      var oldText = getBetween(cm.doc, Pos(fromLine, 0), Pos(toLine, getLine(cm.doc, toLine).text.length));\n      while (newText.length > 1 && oldText.length > 1) {\n        if (lst(newText) == lst(oldText)) { newText.pop(); oldText.pop(); toLine--; }\n        else if (newText[0] == oldText[0]) { newText.shift(); oldText.shift(); fromLine++; }\n        else break;\n      }\n\n      var cutFront = 0, cutEnd = 0;\n      var newTop = newText[0], oldTop = oldText[0], maxCutFront = Math.min(newTop.length, oldTop.length);\n      while (cutFront < maxCutFront && newTop.charCodeAt(cutFront) == oldTop.charCodeAt(cutFront))\n        ++cutFront;\n      var newBot = lst(newText), oldBot = lst(oldText);\n      var maxCutEnd = Math.min(newBot.length - (newText.length == 1 ? cutFront : 0),\n                               oldBot.length - (oldText.length == 1 ? cutFront : 0));\n      while (cutEnd < maxCutEnd &&\n             newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1))\n        ++cutEnd;\n\n      newText[newText.length - 1] = newBot.slice(0, newBot.length - cutEnd);\n      newText[0] = newText[0].slice(cutFront);\n\n      var chFrom = Pos(fromLine, cutFront);\n      var chTo = Pos(toLine, oldText.length ? lst(oldText).length - cutEnd : 0);\n      if (newText.length > 1 || newText[0] || cmp(chFrom, chTo)) {\n        replaceRange(cm.doc, newText, chFrom, chTo, \"+input\");\n        return true;\n      }\n    },\n\n    ensurePolled: function() {\n      this.forceCompositionEnd();\n    },\n    reset: function() {\n      this.forceCompositionEnd();\n    },\n    forceCompositionEnd: function() {\n      if (!this.composing || this.composing.handled) return;\n      this.applyComposition(this.composing);\n      this.composing.handled = true;\n      this.div.blur();\n      this.div.focus();\n    },\n    applyComposition: function(composing) {\n      if (composing.data && composing.data != composing.startData)\n        operation(this.cm, applyTextInput)(this.cm, composing.data, 0, composing.sel);\n    },\n\n    setUneditable: function(node) {\n      node.setAttribute(\"contenteditable\", \"false\");\n    },\n\n    onKeyPress: function(e) {\n      e.preventDefault();\n      operation(this.cm, applyTextInput)(this.cm, String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode), 0);\n    },\n\n    onContextMenu: nothing,\n    resetPosition: nothing,\n\n    needsContentAttribute: true\n  }, ContentEditableInput.prototype);\n\n  function posToDOM(cm, pos) {\n    var view = findViewForLine(cm, pos.line);\n    if (!view || view.hidden) return null;\n    var line = getLine(cm.doc, pos.line);\n    var info = mapFromLineView(view, line, pos.line);\n\n    var order = getOrder(line), side = \"left\";\n    if (order) {\n      var partPos = getBidiPartAt(order, pos.ch);\n      side = partPos % 2 ? \"right\" : \"left\";\n    }\n    var result = nodeAndOffsetInLineMap(info.map, pos.ch, \"left\");\n    result.offset = result.collapse == \"right\" ? result.end : result.start;\n    return result;\n  }\n\n  function badPos(pos, bad) { if (bad) pos.bad = true; return pos; }\n\n  function domToPos(cm, node, offset) {\n    var lineNode;\n    if (node == cm.display.lineDiv) {\n      lineNode = cm.display.lineDiv.childNodes[offset];\n      if (!lineNode) return badPos(cm.clipPos(Pos(cm.display.viewTo - 1)), true);\n      node = null; offset = 0;\n    } else {\n      for (lineNode = node;; lineNode = lineNode.parentNode) {\n        if (!lineNode || lineNode == cm.display.lineDiv) return null;\n        if (lineNode.parentNode && lineNode.parentNode == cm.display.lineDiv) break;\n      }\n    }\n    for (var i = 0; i < cm.display.view.length; i++) {\n      var lineView = cm.display.view[i];\n      if (lineView.node == lineNode)\n        return locateNodeInLineView(lineView, node, offset);\n    }\n  }\n\n  function locateNodeInLineView(lineView, node, offset) {\n    var wrapper = lineView.text.firstChild, bad = false;\n    if (!node || !contains(wrapper, node)) return badPos(Pos(lineNo(lineView.line), 0), true);\n    if (node == wrapper) {\n      bad = true;\n      node = wrapper.childNodes[offset];\n      offset = 0;\n      if (!node) {\n        var line = lineView.rest ? lst(lineView.rest) : lineView.line;\n        return badPos(Pos(lineNo(line), line.text.length), bad);\n      }\n    }\n\n    var textNode = node.nodeType == 3 ? node : null, topNode = node;\n    if (!textNode && node.childNodes.length == 1 && node.firstChild.nodeType == 3) {\n      textNode = node.firstChild;\n      if (offset) offset = textNode.nodeValue.length;\n    }\n    while (topNode.parentNode != wrapper) topNode = topNode.parentNode;\n    var measure = lineView.measure, maps = measure.maps;\n\n    function find(textNode, topNode, offset) {\n      for (var i = -1; i < (maps ? maps.length : 0); i++) {\n        var map = i < 0 ? measure.map : maps[i];\n        for (var j = 0; j < map.length; j += 3) {\n          var curNode = map[j + 2];\n          if (curNode == textNode || curNode == topNode) {\n            var line = lineNo(i < 0 ? lineView.line : lineView.rest[i]);\n            var ch = map[j] + offset;\n            if (offset < 0 || curNode != textNode) ch = map[j + (offset ? 1 : 0)];\n            return Pos(line, ch);\n          }\n        }\n      }\n    }\n    var found = find(textNode, topNode, offset);\n    if (found) return badPos(found, bad);\n\n    // FIXME this is all really shaky. might handle the few cases it needs to handle, but likely to cause problems\n    for (var after = topNode.nextSibling, dist = textNode ? textNode.nodeValue.length - offset : 0; after; after = after.nextSibling) {\n      found = find(after, after.firstChild, 0);\n      if (found)\n        return badPos(Pos(found.line, found.ch - dist), bad);\n      else\n        dist += after.textContent.length;\n    }\n    for (var before = topNode.previousSibling, dist = offset; before; before = before.previousSibling) {\n      found = find(before, before.firstChild, -1);\n      if (found)\n        return badPos(Pos(found.line, found.ch + dist), bad);\n      else\n        dist += after.textContent.length;\n    }\n  }\n\n  function domTextBetween(cm, from, to, fromLine, toLine) {\n    var text = \"\", closing = false;\n    function recognizeMarker(id) { return function(marker) { return marker.id == id; }; }\n    function walk(node) {\n      if (node.nodeType == 1) {\n        var cmText = node.getAttribute(\"cm-text\");\n        if (cmText != null) {\n          if (cmText == \"\") cmText = node.textContent.replace(/\\u200b/g, \"\");\n          text += cmText;\n          return;\n        }\n        var markerID = node.getAttribute(\"cm-marker\"), range;\n        if (markerID) {\n          var found = cm.findMarks(Pos(fromLine, 0), Pos(toLine + 1, 0), recognizeMarker(+markerID));\n          if (found.length && (range = found[0].find()))\n            text += getBetween(cm.doc, range.from, range.to).join(\"\\n\");\n          return;\n        }\n        if (node.getAttribute(\"contenteditable\") == \"false\") return;\n        for (var i = 0; i < node.childNodes.length; i++)\n          walk(node.childNodes[i]);\n        if (/^(pre|div|p)$/i.test(node.nodeName))\n          closing = true;\n      } else if (node.nodeType == 3) {\n        var val = node.nodeValue;\n        if (!val) return;\n        if (closing) {\n          text += \"\\n\";\n          closing = false;\n        }\n        text += val;\n      }\n    }\n    for (;;) {\n      walk(from);\n      if (from == to) break;\n      from = from.nextSibling;\n    }\n    return text;\n  }\n\n  CodeMirror.inputStyles = {\"textarea\": TextareaInput, \"contenteditable\": ContentEditableInput};\n\n  // SELECTION / CURSOR\n\n  // Selection objects are immutable. A new one is created every time\n  // the selection changes. A selection is one or more non-overlapping\n  // (and non-touching) ranges, sorted, and an integer that indicates\n  // which one is the primary selection (the one that's scrolled into\n  // view, that getCursor returns, etc).\n  function Selection(ranges, primIndex) {\n    this.ranges = ranges;\n    this.primIndex = primIndex;\n  }\n\n  Selection.prototype = {\n    primary: function() { return this.ranges[this.primIndex]; },\n    equals: function(other) {\n      if (other == this) return true;\n      if (other.primIndex != this.primIndex || other.ranges.length != this.ranges.length) return false;\n      for (var i = 0; i < this.ranges.length; i++) {\n        var here = this.ranges[i], there = other.ranges[i];\n        if (cmp(here.anchor, there.anchor) != 0 || cmp(here.head, there.head) != 0) return false;\n      }\n      return true;\n    },\n    deepCopy: function() {\n      for (var out = [], i = 0; i < this.ranges.length; i++)\n        out[i] = new Range(copyPos(this.ranges[i].anchor), copyPos(this.ranges[i].head));\n      return new Selection(out, this.primIndex);\n    },\n    somethingSelected: function() {\n      for (var i = 0; i < this.ranges.length; i++)\n        if (!this.ranges[i].empty()) return true;\n      return false;\n    },\n    contains: function(pos, end) {\n      if (!end) end = pos;\n      for (var i = 0; i < this.ranges.length; i++) {\n        var range = this.ranges[i];\n        if (cmp(end, range.from()) >= 0 && cmp(pos, range.to()) <= 0)\n          return i;\n      }\n      return -1;\n    }\n  };\n\n  function Range(anchor, head) {\n    this.anchor = anchor; this.head = head;\n  }\n\n  Range.prototype = {\n    from: function() { return minPos(this.anchor, this.head); },\n    to: function() { return maxPos(this.anchor, this.head); },\n    empty: function() {\n      return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch;\n    }\n  };\n\n  // Take an unsorted, potentially overlapping set of ranges, and\n  // build a selection out of it. 'Consumes' ranges array (modifying\n  // it).\n  function normalizeSelection(ranges, primIndex) {\n    var prim = ranges[primIndex];\n    ranges.sort(function(a, b) { return cmp(a.from(), b.from()); });\n    primIndex = indexOf(ranges, prim);\n    for (var i = 1; i < ranges.length; i++) {\n      var cur = ranges[i], prev = ranges[i - 1];\n      if (cmp(prev.to(), cur.from()) >= 0) {\n        var from = minPos(prev.from(), cur.from()), to = maxPos(prev.to(), cur.to());\n        var inv = prev.empty() ? cur.from() == cur.head : prev.from() == prev.head;\n        if (i <= primIndex) --primIndex;\n        ranges.splice(--i, 2, new Range(inv ? to : from, inv ? from : to));\n      }\n    }\n    return new Selection(ranges, primIndex);\n  }\n\n  function simpleSelection(anchor, head) {\n    return new Selection([new Range(anchor, head || anchor)], 0);\n  }\n\n  // Most of the external API clips given positions to make sure they\n  // actually exist within the document.\n  function clipLine(doc, n) {return Math.max(doc.first, Math.min(n, doc.first + doc.size - 1));}\n  function clipPos(doc, pos) {\n    if (pos.line < doc.first) return Pos(doc.first, 0);\n    var last = doc.first + doc.size - 1;\n    if (pos.line > last) return Pos(last, getLine(doc, last).text.length);\n    return clipToLen(pos, getLine(doc, pos.line).text.length);\n  }\n  function clipToLen(pos, linelen) {\n    var ch = pos.ch;\n    if (ch == null || ch > linelen) return Pos(pos.line, linelen);\n    else if (ch < 0) return Pos(pos.line, 0);\n    else return pos;\n  }\n  function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}\n  function clipPosArray(doc, array) {\n    for (var out = [], i = 0; i < array.length; i++) out[i] = clipPos(doc, array[i]);\n    return out;\n  }\n\n  // SELECTION UPDATES\n\n  // The 'scroll' parameter given to many of these indicated whether\n  // the new cursor position should be scrolled into view after\n  // modifying the selection.\n\n  // If shift is held or the extend flag is set, extends a range to\n  // include a given position (and optionally a second position).\n  // Otherwise, simply returns the range between the given positions.\n  // Used for cursor motion and such.\n  function extendRange(doc, range, head, other) {\n    if (doc.cm && doc.cm.display.shift || doc.extend) {\n      var anchor = range.anchor;\n      if (other) {\n        var posBefore = cmp(head, anchor) < 0;\n        if (posBefore != (cmp(other, anchor) < 0)) {\n          anchor = head;\n          head = other;\n        } else if (posBefore != (cmp(head, other) < 0)) {\n          head = other;\n        }\n      }\n      return new Range(anchor, head);\n    } else {\n      return new Range(other || head, head);\n    }\n  }\n\n  // Extend the primary selection range, discard the rest.\n  function extendSelection(doc, head, other, options) {\n    setSelection(doc, new Selection([extendRange(doc, doc.sel.primary(), head, other)], 0), options);\n  }\n\n  // Extend all selections (pos is an array of selections with length\n  // equal the number of selections)\n  function extendSelections(doc, heads, options) {\n    for (var out = [], i = 0; i < doc.sel.ranges.length; i++)\n      out[i] = extendRange(doc, doc.sel.ranges[i], heads[i], null);\n    var newSel = normalizeSelection(out, doc.sel.primIndex);\n    setSelection(doc, newSel, options);\n  }\n\n  // Updates a single range in the selection.\n  function replaceOneSelection(doc, i, range, options) {\n    var ranges = doc.sel.ranges.slice(0);\n    ranges[i] = range;\n    setSelection(doc, normalizeSelection(ranges, doc.sel.primIndex), options);\n  }\n\n  // Reset the selection to a single range.\n  function setSimpleSelection(doc, anchor, head, options) {\n    setSelection(doc, simpleSelection(anchor, head), options);\n  }\n\n  // Give beforeSelectionChange handlers a change to influence a\n  // selection update.\n  function filterSelectionChange(doc, sel) {\n    var obj = {\n      ranges: sel.ranges,\n      update: function(ranges) {\n        this.ranges = [];\n        for (var i = 0; i < ranges.length; i++)\n          this.ranges[i] = new Range(clipPos(doc, ranges[i].anchor),\n                                     clipPos(doc, ranges[i].head));\n      }\n    };\n    signal(doc, \"beforeSelectionChange\", doc, obj);\n    if (doc.cm) signal(doc.cm, \"beforeSelectionChange\", doc.cm, obj);\n    if (obj.ranges != sel.ranges) return normalizeSelection(obj.ranges, obj.ranges.length - 1);\n    else return sel;\n  }\n\n  function setSelectionReplaceHistory(doc, sel, options) {\n    var done = doc.history.done, last = lst(done);\n    if (last && last.ranges) {\n      done[done.length - 1] = sel;\n      setSelectionNoUndo(doc, sel, options);\n    } else {\n      setSelection(doc, sel, options);\n    }\n  }\n\n  // Set a new selection.\n  function setSelection(doc, sel, options) {\n    setSelectionNoUndo(doc, sel, options);\n    addSelectionToHistory(doc, doc.sel, doc.cm ? doc.cm.curOp.id : NaN, options);\n  }\n\n  function setSelectionNoUndo(doc, sel, options) {\n    if (hasHandler(doc, \"beforeSelectionChange\") || doc.cm && hasHandler(doc.cm, \"beforeSelectionChange\"))\n      sel = filterSelectionChange(doc, sel);\n\n    var bias = options && options.bias ||\n      (cmp(sel.primary().head, doc.sel.primary().head) < 0 ? -1 : 1);\n    setSelectionInner(doc, skipAtomicInSelection(doc, sel, bias, true));\n\n    if (!(options && options.scroll === false) && doc.cm)\n      ensureCursorVisible(doc.cm);\n  }\n\n  function setSelectionInner(doc, sel) {\n    if (sel.equals(doc.sel)) return;\n\n    doc.sel = sel;\n\n    if (doc.cm) {\n      doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged = true;\n      signalCursorActivity(doc.cm);\n    }\n    signalLater(doc, \"cursorActivity\", doc);\n  }\n\n  // Verify that the selection does not partially select any atomic\n  // marked ranges.\n  function reCheckSelection(doc) {\n    setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false), sel_dontScroll);\n  }\n\n  // Return a selection that does not partially select any atomic\n  // ranges.\n  function skipAtomicInSelection(doc, sel, bias, mayClear) {\n    var out;\n    for (var i = 0; i < sel.ranges.length; i++) {\n      var range = sel.ranges[i];\n      var newAnchor = skipAtomic(doc, range.anchor, bias, mayClear);\n      var newHead = skipAtomic(doc, range.head, bias, mayClear);\n      if (out || newAnchor != range.anchor || newHead != range.head) {\n        if (!out) out = sel.ranges.slice(0, i);\n        out[i] = new Range(newAnchor, newHead);\n      }\n    }\n    return out ? normalizeSelection(out, sel.primIndex) : sel;\n  }\n\n  // Ensure a given position is not inside an atomic range.\n  function skipAtomic(doc, pos, bias, mayClear) {\n    var flipped = false, curPos = pos;\n    var dir = bias || 1;\n    doc.cantEdit = false;\n    search: for (;;) {\n      var line = getLine(doc, curPos.line);\n      if (line.markedSpans) {\n        for (var i = 0; i < line.markedSpans.length; ++i) {\n          var sp = line.markedSpans[i], m = sp.marker;\n          if ((sp.from == null || (m.inclusiveLeft ? sp.from <= curPos.ch : sp.from < curPos.ch)) &&\n              (sp.to == null || (m.inclusiveRight ? sp.to >= curPos.ch : sp.to > curPos.ch))) {\n            if (mayClear) {\n              signal(m, \"beforeCursorEnter\");\n              if (m.explicitlyCleared) {\n                if (!line.markedSpans) break;\n                else {--i; continue;}\n              }\n            }\n            if (!m.atomic) continue;\n            var newPos = m.find(dir < 0 ? -1 : 1);\n            if (cmp(newPos, curPos) == 0) {\n              newPos.ch += dir;\n              if (newPos.ch < 0) {\n                if (newPos.line > doc.first) newPos = clipPos(doc, Pos(newPos.line - 1));\n                else newPos = null;\n              } else if (newPos.ch > line.text.length) {\n                if (newPos.line < doc.first + doc.size - 1) newPos = Pos(newPos.line + 1, 0);\n                else newPos = null;\n              }\n              if (!newPos) {\n                if (flipped) {\n                  // Driven in a corner -- no valid cursor position found at all\n                  // -- try again *with* clearing, if we didn't already\n                  if (!mayClear) return skipAtomic(doc, pos, bias, true);\n                  // Otherwise, turn off editing until further notice, and return the start of the doc\n                  doc.cantEdit = true;\n                  return Pos(doc.first, 0);\n                }\n                flipped = true; newPos = pos; dir = -dir;\n              }\n            }\n            curPos = newPos;\n            continue search;\n          }\n        }\n      }\n      return curPos;\n    }\n  }\n\n  // SELECTION DRAWING\n\n  function updateSelection(cm) {\n    cm.display.input.showSelection(cm.display.input.prepareSelection());\n  }\n\n  function prepareSelection(cm, primary) {\n    var doc = cm.doc, result = {};\n    var curFragment = result.cursors = document.createDocumentFragment();\n    var selFragment = result.selection = document.createDocumentFragment();\n\n    for (var i = 0; i < doc.sel.ranges.length; i++) {\n      if (primary === false && i == doc.sel.primIndex) continue;\n      var range = doc.sel.ranges[i];\n      var collapsed = range.empty();\n      if (collapsed || cm.options.showCursorWhenSelecting)\n        drawSelectionCursor(cm, range, curFragment);\n      if (!collapsed)\n        drawSelectionRange(cm, range, selFragment);\n    }\n    return result;\n  }\n\n  // Draws a cursor for the given range\n  function drawSelectionCursor(cm, range, output) {\n    var pos = cursorCoords(cm, range.head, \"div\", null, null, !cm.options.singleCursorHeightPerLine);\n\n    var cursor = output.appendChild(elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor\"));\n    cursor.style.left = pos.left + \"px\";\n    cursor.style.top = pos.top + \"px\";\n    cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + \"px\";\n\n    if (pos.other) {\n      // Secondary cursor, shown when on a 'jump' in bi-directional text\n      var otherCursor = output.appendChild(elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor CodeMirror-secondarycursor\"));\n      otherCursor.style.display = \"\";\n      otherCursor.style.left = pos.other.left + \"px\";\n      otherCursor.style.top = pos.other.top + \"px\";\n      otherCursor.style.height = (pos.other.bottom - pos.other.top) * .85 + \"px\";\n    }\n  }\n\n  // Draws the given range as a highlighted selection\n  function drawSelectionRange(cm, range, output) {\n    var display = cm.display, doc = cm.doc;\n    var fragment = document.createDocumentFragment();\n    var padding = paddingH(cm.display), leftSide = padding.left;\n    var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right;\n\n    function add(left, top, width, bottom) {\n      if (top < 0) top = 0;\n      top = Math.round(top);\n      bottom = Math.round(bottom);\n      fragment.appendChild(elt(\"div\", null, \"CodeMirror-selected\", \"position: absolute; left: \" + left +\n                               \"px; top: \" + top + \"px; width: \" + (width == null ? rightSide - left : width) +\n                               \"px; height: \" + (bottom - top) + \"px\"));\n    }\n\n    function drawForLine(line, fromArg, toArg) {\n      var lineObj = getLine(doc, line);\n      var lineLen = lineObj.text.length;\n      var start, end;\n      function coords(ch, bias) {\n        return charCoords(cm, Pos(line, ch), \"div\", lineObj, bias);\n      }\n\n      iterateBidiSections(getOrder(lineObj), fromArg || 0, toArg == null ? lineLen : toArg, function(from, to, dir) {\n        var leftPos = coords(from, \"left\"), rightPos, left, right;\n        if (from == to) {\n          rightPos = leftPos;\n          left = right = leftPos.left;\n        } else {\n          rightPos = coords(to - 1, \"right\");\n          if (dir == \"rtl\") { var tmp = leftPos; leftPos = rightPos; rightPos = tmp; }\n          left = leftPos.left;\n          right = rightPos.right;\n        }\n        if (fromArg == null && from == 0) left = leftSide;\n        if (rightPos.top - leftPos.top > 3) { // Different lines, draw top part\n          add(left, leftPos.top, null, leftPos.bottom);\n          left = leftSide;\n          if (leftPos.bottom < rightPos.top) add(left, leftPos.bottom, null, rightPos.top);\n        }\n        if (toArg == null && to == lineLen) right = rightSide;\n        if (!start || leftPos.top < start.top || leftPos.top == start.top && leftPos.left < start.left)\n          start = leftPos;\n        if (!end || rightPos.bottom > end.bottom || rightPos.bottom == end.bottom && rightPos.right > end.right)\n          end = rightPos;\n        if (left < leftSide + 1) left = leftSide;\n        add(left, rightPos.top, right - left, rightPos.bottom);\n      });\n      return {start: start, end: end};\n    }\n\n    var sFrom = range.from(), sTo = range.to();\n    if (sFrom.line == sTo.line) {\n      drawForLine(sFrom.line, sFrom.ch, sTo.ch);\n    } else {\n      var fromLine = getLine(doc, sFrom.line), toLine = getLine(doc, sTo.line);\n      var singleVLine = visualLine(fromLine) == visualLine(toLine);\n      var leftEnd = drawForLine(sFrom.line, sFrom.ch, singleVLine ? fromLine.text.length + 1 : null).end;\n      var rightStart = drawForLine(sTo.line, singleVLine ? 0 : null, sTo.ch).start;\n      if (singleVLine) {\n        if (leftEnd.top < rightStart.top - 2) {\n          add(leftEnd.right, leftEnd.top, null, leftEnd.bottom);\n          add(leftSide, rightStart.top, rightStart.left, rightStart.bottom);\n        } else {\n          add(leftEnd.right, leftEnd.top, rightStart.left - leftEnd.right, leftEnd.bottom);\n        }\n      }\n      if (leftEnd.bottom < rightStart.top)\n        add(leftSide, leftEnd.bottom, null, rightStart.top);\n    }\n\n    output.appendChild(fragment);\n  }\n\n  // Cursor-blinking\n  function restartBlink(cm) {\n    if (!cm.state.focused) return;\n    var display = cm.display;\n    clearInterval(display.blinker);\n    var on = true;\n    display.cursorDiv.style.visibility = \"\";\n    if (cm.options.cursorBlinkRate > 0)\n      display.blinker = setInterval(function() {\n        display.cursorDiv.style.visibility = (on = !on) ? \"\" : \"hidden\";\n      }, cm.options.cursorBlinkRate);\n    else if (cm.options.cursorBlinkRate < 0)\n      display.cursorDiv.style.visibility = \"hidden\";\n  }\n\n  // HIGHLIGHT WORKER\n\n  function startWorker(cm, time) {\n    if (cm.doc.mode.startState && cm.doc.frontier < cm.display.viewTo)\n      cm.state.highlight.set(time, bind(highlightWorker, cm));\n  }\n\n  function highlightWorker(cm) {\n    var doc = cm.doc;\n    if (doc.frontier < doc.first) doc.frontier = doc.first;\n    if (doc.frontier >= cm.display.viewTo) return;\n    var end = +new Date + cm.options.workTime;\n    var state = copyState(doc.mode, getStateBefore(cm, doc.frontier));\n    var changedLines = [];\n\n    doc.iter(doc.frontier, Math.min(doc.first + doc.size, cm.display.viewTo + 500), function(line) {\n      if (doc.frontier >= cm.display.viewFrom) { // Visible\n        var oldStyles = line.styles;\n        var highlighted = highlightLine(cm, line, state, true);\n        line.styles = highlighted.styles;\n        var oldCls = line.styleClasses, newCls = highlighted.classes;\n        if (newCls) line.styleClasses = newCls;\n        else if (oldCls) line.styleClasses = null;\n        var ischange = !oldStyles || oldStyles.length != line.styles.length ||\n          oldCls != newCls && (!oldCls || !newCls || oldCls.bgClass != newCls.bgClass || oldCls.textClass != newCls.textClass);\n        for (var i = 0; !ischange && i < oldStyles.length; ++i) ischange = oldStyles[i] != line.styles[i];\n        if (ischange) changedLines.push(doc.frontier);\n        line.stateAfter = copyState(doc.mode, state);\n      } else {\n        processLine(cm, line.text, state);\n        line.stateAfter = doc.frontier % 5 == 0 ? copyState(doc.mode, state) : null;\n      }\n      ++doc.frontier;\n      if (+new Date > end) {\n        startWorker(cm, cm.options.workDelay);\n        return true;\n      }\n    });\n    if (changedLines.length) runInOp(cm, function() {\n      for (var i = 0; i < changedLines.length; i++)\n        regLineChange(cm, changedLines[i], \"text\");\n    });\n  }\n\n  // Finds the line to start with when starting a parse. Tries to\n  // find a line with a stateAfter, so that it can start with a\n  // valid state. If that fails, it returns the line with the\n  // smallest indentation, which tends to need the least context to\n  // parse correctly.\n  function findStartLine(cm, n, precise) {\n    var minindent, minline, doc = cm.doc;\n    var lim = precise ? -1 : n - (cm.doc.mode.innerMode ? 1000 : 100);\n    for (var search = n; search > lim; --search) {\n      if (search <= doc.first) return doc.first;\n      var line = getLine(doc, search - 1);\n      if (line.stateAfter && (!precise || search <= doc.frontier)) return search;\n      var indented = countColumn(line.text, null, cm.options.tabSize);\n      if (minline == null || minindent > indented) {\n        minline = search - 1;\n        minindent = indented;\n      }\n    }\n    return minline;\n  }\n\n  function getStateBefore(cm, n, precise) {\n    var doc = cm.doc, display = cm.display;\n    if (!doc.mode.startState) return true;\n    var pos = findStartLine(cm, n, precise), state = pos > doc.first && getLine(doc, pos-1).stateAfter;\n    if (!state) state = startState(doc.mode);\n    else state = copyState(doc.mode, state);\n    doc.iter(pos, n, function(line) {\n      processLine(cm, line.text, state);\n      var save = pos == n - 1 || pos % 5 == 0 || pos >= display.viewFrom && pos < display.viewTo;\n      line.stateAfter = save ? copyState(doc.mode, state) : null;\n      ++pos;\n    });\n    if (precise) doc.frontier = pos;\n    return state;\n  }\n\n  // POSITION MEASUREMENT\n\n  function paddingTop(display) {return display.lineSpace.offsetTop;}\n  function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;}\n  function paddingH(display) {\n    if (display.cachedPaddingH) return display.cachedPaddingH;\n    var e = removeChildrenAndAdd(display.measure, elt(\"pre\", \"x\"));\n    var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle;\n    var data = {left: parseInt(style.paddingLeft), right: parseInt(style.paddingRight)};\n    if (!isNaN(data.left) && !isNaN(data.right)) display.cachedPaddingH = data;\n    return data;\n  }\n\n  function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth; }\n  function displayWidth(cm) {\n    return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth;\n  }\n  function displayHeight(cm) {\n    return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight;\n  }\n\n  // Ensure the lineView.wrapping.heights array is populated. This is\n  // an array of bottom offsets for the lines that make up a drawn\n  // line. When lineWrapping is on, there might be more than one\n  // height.\n  function ensureLineHeights(cm, lineView, rect) {\n    var wrapping = cm.options.lineWrapping;\n    var curWidth = wrapping && displayWidth(cm);\n    if (!lineView.measure.heights || wrapping && lineView.measure.width != curWidth) {\n      var heights = lineView.measure.heights = [];\n      if (wrapping) {\n        lineView.measure.width = curWidth;\n        var rects = lineView.text.firstChild.getClientRects();\n        for (var i = 0; i < rects.length - 1; i++) {\n          var cur = rects[i], next = rects[i + 1];\n          if (Math.abs(cur.bottom - next.bottom) > 2)\n            heights.push((cur.bottom + next.top) / 2 - rect.top);\n        }\n      }\n      heights.push(rect.bottom - rect.top);\n    }\n  }\n\n  // Find a line map (mapping character offsets to text nodes) and a\n  // measurement cache for the given line number. (A line view might\n  // contain multiple lines when collapsed ranges are present.)\n  function mapFromLineView(lineView, line, lineN) {\n    if (lineView.line == line)\n      return {map: lineView.measure.map, cache: lineView.measure.cache};\n    for (var i = 0; i < lineView.rest.length; i++)\n      if (lineView.rest[i] == line)\n        return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i]};\n    for (var i = 0; i < lineView.rest.length; i++)\n      if (lineNo(lineView.rest[i]) > lineN)\n        return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i], before: true};\n  }\n\n  // Render a line into the hidden node display.externalMeasured. Used\n  // when measurement is needed for a line that's not in the viewport.\n  function updateExternalMeasurement(cm, line) {\n    line = visualLine(line);\n    var lineN = lineNo(line);\n    var view = cm.display.externalMeasured = new LineView(cm.doc, line, lineN);\n    view.lineN = lineN;\n    var built = view.built = buildLineContent(cm, view);\n    view.text = built.pre;\n    removeChildrenAndAdd(cm.display.lineMeasure, built.pre);\n    return view;\n  }\n\n  // Get a {top, bottom, left, right} box (in line-local coordinates)\n  // for a given character.\n  function measureChar(cm, line, ch, bias) {\n    return measureCharPrepared(cm, prepareMeasureForLine(cm, line), ch, bias);\n  }\n\n  // Find a line view that corresponds to the given line number.\n  function findViewForLine(cm, lineN) {\n    if (lineN >= cm.display.viewFrom && lineN < cm.display.viewTo)\n      return cm.display.view[findViewIndex(cm, lineN)];\n    var ext = cm.display.externalMeasured;\n    if (ext && lineN >= ext.lineN && lineN < ext.lineN + ext.size)\n      return ext;\n  }\n\n  // Measurement can be split in two steps, the set-up work that\n  // applies to the whole line, and the measurement of the actual\n  // character. Functions like coordsChar, that need to do a lot of\n  // measurements in a row, can thus ensure that the set-up work is\n  // only done once.\n  function prepareMeasureForLine(cm, line) {\n    var lineN = lineNo(line);\n    var view = findViewForLine(cm, lineN);\n    if (view && !view.text)\n      view = null;\n    else if (view && view.changes)\n      updateLineForChanges(cm, view, lineN, getDimensions(cm));\n    if (!view)\n      view = updateExternalMeasurement(cm, line);\n\n    var info = mapFromLineView(view, line, lineN);\n    return {\n      line: line, view: view, rect: null,\n      map: info.map, cache: info.cache, before: info.before,\n      hasHeights: false\n    };\n  }\n\n  // Given a prepared measurement object, measures the position of an\n  // actual character (or fetches it from the cache).\n  function measureCharPrepared(cm, prepared, ch, bias, varHeight) {\n    if (prepared.before) ch = -1;\n    var key = ch + (bias || \"\"), found;\n    if (prepared.cache.hasOwnProperty(key)) {\n      found = prepared.cache[key];\n    } else {\n      if (!prepared.rect)\n        prepared.rect = prepared.view.text.getBoundingClientRect();\n      if (!prepared.hasHeights) {\n        ensureLineHeights(cm, prepared.view, prepared.rect);\n        prepared.hasHeights = true;\n      }\n      found = measureCharInner(cm, prepared, ch, bias);\n      if (!found.bogus) prepared.cache[key] = found;\n    }\n    return {left: found.left, right: found.right,\n            top: varHeight ? found.rtop : found.top,\n            bottom: varHeight ? found.rbottom : found.bottom};\n  }\n\n  var nullRect = {left: 0, right: 0, top: 0, bottom: 0};\n\n  function nodeAndOffsetInLineMap(map, ch, bias) {\n    var node, start, end, collapse;\n    // First, search the line map for the text node corresponding to,\n    // or closest to, the target character.\n    for (var i = 0; i < map.length; i += 3) {\n      var mStart = map[i], mEnd = map[i + 1];\n      if (ch < mStart) {\n        start = 0; end = 1;\n        collapse = \"left\";\n      } else if (ch < mEnd) {\n        start = ch - mStart;\n        end = start + 1;\n      } else if (i == map.length - 3 || ch == mEnd && map[i + 3] > ch) {\n        end = mEnd - mStart;\n        start = end - 1;\n        if (ch >= mEnd) collapse = \"right\";\n      }\n      if (start != null) {\n        node = map[i + 2];\n        if (mStart == mEnd && bias == (node.insertLeft ? \"left\" : \"right\"))\n          collapse = bias;\n        if (bias == \"left\" && start == 0)\n          while (i && map[i - 2] == map[i - 3] && map[i - 1].insertLeft) {\n            node = map[(i -= 3) + 2];\n            collapse = \"left\";\n          }\n        if (bias == \"right\" && start == mEnd - mStart)\n          while (i < map.length - 3 && map[i + 3] == map[i + 4] && !map[i + 5].insertLeft) {\n            node = map[(i += 3) + 2];\n            collapse = \"right\";\n          }\n        break;\n      }\n    }\n    return {node: node, start: start, end: end, collapse: collapse, coverStart: mStart, coverEnd: mEnd};\n  }\n\n  function measureCharInner(cm, prepared, ch, bias) {\n    var place = nodeAndOffsetInLineMap(prepared.map, ch, bias);\n    var node = place.node, start = place.start, end = place.end, collapse = place.collapse;\n\n    var rect;\n    if (node.nodeType == 3) { // If it is a text node, use a range to retrieve the coordinates.\n      for (var i = 0; i < 4; i++) { // Retry a maximum of 4 times when nonsense rectangles are returned\n        while (start && isExtendingChar(prepared.line.text.charAt(place.coverStart + start))) --start;\n        while (place.coverStart + end < place.coverEnd && isExtendingChar(prepared.line.text.charAt(place.coverStart + end))) ++end;\n        if (ie && ie_version < 9 && start == 0 && end == place.coverEnd - place.coverStart) {\n          rect = node.parentNode.getBoundingClientRect();\n        } else if (ie && cm.options.lineWrapping) {\n          var rects = range(node, start, end).getClientRects();\n          if (rects.length)\n            rect = rects[bias == \"right\" ? rects.length - 1 : 0];\n          else\n            rect = nullRect;\n        } else {\n          rect = range(node, start, end).getBoundingClientRect() || nullRect;\n        }\n        if (rect.left || rect.right || start == 0) break;\n        end = start;\n        start = start - 1;\n        collapse = \"right\";\n      }\n      if (ie && ie_version < 11) rect = maybeUpdateRectForZooming(cm.display.measure, rect);\n    } else { // If it is a widget, simply get the box for the whole widget.\n      if (start > 0) collapse = bias = \"right\";\n      var rects;\n      if (cm.options.lineWrapping && (rects = node.getClientRects()).length > 1)\n        rect = rects[bias == \"right\" ? rects.length - 1 : 0];\n      else\n        rect = node.getBoundingClientRect();\n    }\n    if (ie && ie_version < 9 && !start && (!rect || !rect.left && !rect.right)) {\n      var rSpan = node.parentNode.getClientRects()[0];\n      if (rSpan)\n        rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan.bottom};\n      else\n        rect = nullRect;\n    }\n\n    var rtop = rect.top - prepared.rect.top, rbot = rect.bottom - prepared.rect.top;\n    var mid = (rtop + rbot) / 2;\n    var heights = prepared.view.measure.heights;\n    for (var i = 0; i < heights.length - 1; i++)\n      if (mid < heights[i]) break;\n    var top = i ? heights[i - 1] : 0, bot = heights[i];\n    var result = {left: (collapse == \"right\" ? rect.right : rect.left) - prepared.rect.left,\n                  right: (collapse == \"left\" ? rect.left : rect.right) - prepared.rect.left,\n                  top: top, bottom: bot};\n    if (!rect.left && !rect.right) result.bogus = true;\n    if (!cm.options.singleCursorHeightPerLine) { result.rtop = rtop; result.rbottom = rbot; }\n\n    return result;\n  }\n\n  // Work around problem with bounding client rects on ranges being\n  // returned incorrectly when zoomed on IE10 and below.\n  function maybeUpdateRectForZooming(measure, rect) {\n    if (!window.screen || screen.logicalXDPI == null ||\n        screen.logicalXDPI == screen.deviceXDPI || !hasBadZoomedRects(measure))\n      return rect;\n    var scaleX = screen.logicalXDPI / screen.deviceXDPI;\n    var scaleY = screen.logicalYDPI / screen.deviceYDPI;\n    return {left: rect.left * scaleX, right: rect.right * scaleX,\n            top: rect.top * scaleY, bottom: rect.bottom * scaleY};\n  }\n\n  function clearLineMeasurementCacheFor(lineView) {\n    if (lineView.measure) {\n      lineView.measure.cache = {};\n      lineView.measure.heights = null;\n      if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)\n        lineView.measure.caches[i] = {};\n    }\n  }\n\n  function clearLineMeasurementCache(cm) {\n    cm.display.externalMeasure = null;\n    removeChildren(cm.display.lineMeasure);\n    for (var i = 0; i < cm.display.view.length; i++)\n      clearLineMeasurementCacheFor(cm.display.view[i]);\n  }\n\n  function clearCaches(cm) {\n    clearLineMeasurementCache(cm);\n    cm.display.cachedCharWidth = cm.display.cachedTextHeight = cm.display.cachedPaddingH = null;\n    if (!cm.options.lineWrapping) cm.display.maxLineChanged = true;\n    cm.display.lineNumChars = null;\n  }\n\n  function pageScrollX() { return window.pageXOffset || (document.documentElement || document.body).scrollLeft; }\n  function pageScrollY() { return window.pageYOffset || (document.documentElement || document.body).scrollTop; }\n\n  // Converts a {top, bottom, left, right} box from line-local\n  // coordinates into another coordinate system. Context may be one of\n  // \"line\", \"div\" (display.lineDiv), \"local\"/null (editor), \"window\",\n  // or \"page\".\n  function intoCoordSystem(cm, lineObj, rect, context) {\n    if (lineObj.widgets) for (var i = 0; i < lineObj.widgets.length; ++i) if (lineObj.widgets[i].above) {\n      var size = widgetHeight(lineObj.widgets[i]);\n      rect.top += size; rect.bottom += size;\n    }\n    if (context == \"line\") return rect;\n    if (!context) context = \"local\";\n    var yOff = heightAtLine(lineObj);\n    if (context == \"local\") yOff += paddingTop(cm.display);\n    else yOff -= cm.display.viewOffset;\n    if (context == \"page\" || context == \"window\") {\n      var lOff = cm.display.lineSpace.getBoundingClientRect();\n      yOff += lOff.top + (context == \"window\" ? 0 : pageScrollY());\n      var xOff = lOff.left + (context == \"window\" ? 0 : pageScrollX());\n      rect.left += xOff; rect.right += xOff;\n    }\n    rect.top += yOff; rect.bottom += yOff;\n    return rect;\n  }\n\n  // Coverts a box from \"div\" coords to another coordinate system.\n  // Context may be \"window\", \"page\", \"div\", or \"local\"/null.\n  function fromCoordSystem(cm, coords, context) {\n    if (context == \"div\") return coords;\n    var left = coords.left, top = coords.top;\n    // First move into \"page\" coordinate system\n    if (context == \"page\") {\n      left -= pageScrollX();\n      top -= pageScrollY();\n    } else if (context == \"local\" || !context) {\n      var localBox = cm.display.sizer.getBoundingClientRect();\n      left += localBox.left;\n      top += localBox.top;\n    }\n\n    var lineSpaceBox = cm.display.lineSpace.getBoundingClientRect();\n    return {left: left - lineSpaceBox.left, top: top - lineSpaceBox.top};\n  }\n\n  function charCoords(cm, pos, context, lineObj, bias) {\n    if (!lineObj) lineObj = getLine(cm.doc, pos.line);\n    return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context);\n  }\n\n  // Returns a box for a given cursor position, which may have an\n  // 'other' property containing the position of the secondary cursor\n  // on a bidi boundary.\n  function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {\n    lineObj = lineObj || getLine(cm.doc, pos.line);\n    if (!preparedMeasure) preparedMeasure = prepareMeasureForLine(cm, lineObj);\n    function get(ch, right) {\n      var m = measureCharPrepared(cm, preparedMeasure, ch, right ? \"right\" : \"left\", varHeight);\n      if (right) m.left = m.right; else m.right = m.left;\n      return intoCoordSystem(cm, lineObj, m, context);\n    }\n    function getBidi(ch, partPos) {\n      var part = order[partPos], right = part.level % 2;\n      if (ch == bidiLeft(part) && partPos && part.level < order[partPos - 1].level) {\n        part = order[--partPos];\n        ch = bidiRight(part) - (part.level % 2 ? 0 : 1);\n        right = true;\n      } else if (ch == bidiRight(part) && partPos < order.length - 1 && part.level < order[partPos + 1].level) {\n        part = order[++partPos];\n        ch = bidiLeft(part) - part.level % 2;\n        right = false;\n      }\n      if (right && ch == part.to && ch > part.from) return get(ch - 1);\n      return get(ch, right);\n    }\n    var order = getOrder(lineObj), ch = pos.ch;\n    if (!order) return get(ch);\n    var partPos = getBidiPartAt(order, ch);\n    var val = getBidi(ch, partPos);\n    if (bidiOther != null) val.other = getBidi(ch, bidiOther);\n    return val;\n  }\n\n  // Used to cheaply estimate the coordinates for a position. Used for\n  // intermediate scroll updates.\n  function estimateCoords(cm, pos) {\n    var left = 0, pos = clipPos(cm.doc, pos);\n    if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;\n    var lineObj = getLine(cm.doc, pos.line);\n    var top = heightAtLine(lineObj) + paddingTop(cm.display);\n    return {left: left, right: left, top: top, bottom: top + lineObj.height};\n  }\n\n  // Positions returned by coordsChar contain some extra information.\n  // xRel is the relative x position of the input coordinates compared\n  // to the found position (so xRel > 0 means the coordinates are to\n  // the right of the character position, for example). When outside\n  // is true, that means the coordinates lie outside the line's\n  // vertical range.\n  function PosWithInfo(line, ch, outside, xRel) {\n    var pos = Pos(line, ch);\n    pos.xRel = xRel;\n    if (outside) pos.outside = true;\n    return pos;\n  }\n\n  // Compute the character position closest to the given coordinates.\n  // Input must be lineSpace-local (\"div\" coordinate system).\n  function coordsChar(cm, x, y) {\n    var doc = cm.doc;\n    y += cm.display.viewOffset;\n    if (y < 0) return PosWithInfo(doc.first, 0, true, -1);\n    var lineN = lineAtHeight(doc, y), last = doc.first + doc.size - 1;\n    if (lineN > last)\n      return PosWithInfo(doc.first + doc.size - 1, getLine(doc, last).text.length, true, 1);\n    if (x < 0) x = 0;\n\n    var lineObj = getLine(doc, lineN);\n    for (;;) {\n      var found = coordsCharInner(cm, lineObj, lineN, x, y);\n      var merged = collapsedSpanAtEnd(lineObj);\n      var mergedPos = merged && merged.find(0, true);\n      if (merged && (found.ch > mergedPos.from.ch || found.ch == mergedPos.from.ch && found.xRel > 0))\n        lineN = lineNo(lineObj = mergedPos.to.line);\n      else\n        return found;\n    }\n  }\n\n  function coordsCharInner(cm, lineObj, lineNo, x, y) {\n    var innerOff = y - heightAtLine(lineObj);\n    var wrongLine = false, adjust = 2 * cm.display.wrapper.clientWidth;\n    var preparedMeasure = prepareMeasureForLine(cm, lineObj);\n\n    function getX(ch) {\n      var sp = cursorCoords(cm, Pos(lineNo, ch), \"line\", lineObj, preparedMeasure);\n      wrongLine = true;\n      if (innerOff > sp.bottom) return sp.left - adjust;\n      else if (innerOff < sp.top) return sp.left + adjust;\n      else wrongLine = false;\n      return sp.left;\n    }\n\n    var bidi = getOrder(lineObj), dist = lineObj.text.length;\n    var from = lineLeft(lineObj), to = lineRight(lineObj);\n    var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;\n\n    if (x > toX) return PosWithInfo(lineNo, to, toOutside, 1);\n    // Do a binary search between these bounds.\n    for (;;) {\n      if (bidi ? to == from || to == moveVisually(lineObj, from, 1) : to - from <= 1) {\n        var ch = x < fromX || x - fromX <= toX - x ? from : to;\n        var xDiff = x - (ch == from ? fromX : toX);\n        while (isExtendingChar(lineObj.text.charAt(ch))) ++ch;\n        var pos = PosWithInfo(lineNo, ch, ch == from ? fromOutside : toOutside,\n                              xDiff < -1 ? -1 : xDiff > 1 ? 1 : 0);\n        return pos;\n      }\n      var step = Math.ceil(dist / 2), middle = from + step;\n      if (bidi) {\n        middle = from;\n        for (var i = 0; i < step; ++i) middle = moveVisually(lineObj, middle, 1);\n      }\n      var middleX = getX(middle);\n      if (middleX > x) {to = middle; toX = middleX; if (toOutside = wrongLine) toX += 1000; dist = step;}\n      else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}\n    }\n  }\n\n  var measureText;\n  // Compute the default text height.\n  function textHeight(display) {\n    if (display.cachedTextHeight != null) return display.cachedTextHeight;\n    if (measureText == null) {\n      measureText = elt(\"pre\");\n      // Measure a bunch of lines, for browsers that compute\n      // fractional heights.\n      for (var i = 0; i < 49; ++i) {\n        measureText.appendChild(document.createTextNode(\"x\"));\n        measureText.appendChild(elt(\"br\"));\n      }\n      measureText.appendChild(document.createTextNode(\"x\"));\n    }\n    removeChildrenAndAdd(display.measure, measureText);\n    var height = measureText.offsetHeight / 50;\n    if (height > 3) display.cachedTextHeight = height;\n    removeChildren(display.measure);\n    return height || 1;\n  }\n\n  // Compute the default character width.\n  function charWidth(display) {\n    if (display.cachedCharWidth != null) return display.cachedCharWidth;\n    var anchor = elt(\"span\", \"xxxxxxxxxx\");\n    var pre = elt(\"pre\", [anchor]);\n    removeChildrenAndAdd(display.measure, pre);\n    var rect = anchor.getBoundingClientRect(), width = (rect.right - rect.left) / 10;\n    if (width > 2) display.cachedCharWidth = width;\n    return width || 10;\n  }\n\n  // OPERATIONS\n\n  // Operations are used to wrap a series of changes to the editor\n  // state in such a way that each change won't have to update the\n  // cursor and display (which would be awkward, slow, and\n  // error-prone). Instead, display updates are batched and then all\n  // combined and executed at once.\n\n  var operationGroup = null;\n\n  var nextOpId = 0;\n  // Start a new operation.\n  function startOperation(cm) {\n    cm.curOp = {\n      cm: cm,\n      viewChanged: false,      // Flag that indicates that lines might need to be redrawn\n      startHeight: cm.doc.height, // Used to detect need to update scrollbar\n      forceUpdate: false,      // Used to force a redraw\n      updateInput: null,       // Whether to reset the input textarea\n      typing: false,           // Whether this reset should be careful to leave existing text (for compositing)\n      changeObjs: null,        // Accumulated changes, for firing change events\n      cursorActivityHandlers: null, // Set of handlers to fire cursorActivity on\n      cursorActivityCalled: 0, // Tracks which cursorActivity handlers have been called already\n      selectionChanged: false, // Whether the selection needs to be redrawn\n      updateMaxLine: false,    // Set when the widest line needs to be determined anew\n      scrollLeft: null, scrollTop: null, // Intermediate scroll position, not pushed to DOM yet\n      scrollToPos: null,       // Used to scroll to a specific position\n      id: ++nextOpId           // Unique ID\n    };\n    if (operationGroup) {\n      operationGroup.ops.push(cm.curOp);\n    } else {\n      cm.curOp.ownsGroup = operationGroup = {\n        ops: [cm.curOp],\n        delayedCallbacks: []\n      };\n    }\n  }\n\n  function fireCallbacksForOps(group) {\n    // Calls delayed callbacks and cursorActivity handlers until no\n    // new ones appear\n    var callbacks = group.delayedCallbacks, i = 0;\n    do {\n      for (; i < callbacks.length; i++)\n        callbacks[i]();\n      for (var j = 0; j < group.ops.length; j++) {\n        var op = group.ops[j];\n        if (op.cursorActivityHandlers)\n          while (op.cursorActivityCalled < op.cursorActivityHandlers.length)\n            op.cursorActivityHandlers[op.cursorActivityCalled++](op.cm);\n      }\n    } while (i < callbacks.length);\n  }\n\n  // Finish an operation, updating the display and signalling delayed events\n  function endOperation(cm) {\n    var op = cm.curOp, group = op.ownsGroup;\n    if (!group) return;\n\n    try { fireCallbacksForOps(group); }\n    finally {\n      operationGroup = null;\n      for (var i = 0; i < group.ops.length; i++)\n        group.ops[i].cm.curOp = null;\n      endOperations(group);\n    }\n  }\n\n  // The DOM updates done when an operation finishes are batched so\n  // that the minimum number of relayouts are required.\n  function endOperations(group) {\n    var ops = group.ops;\n    for (var i = 0; i < ops.length; i++) // Read DOM\n      endOperation_R1(ops[i]);\n    for (var i = 0; i < ops.length; i++) // Write DOM (maybe)\n      endOperation_W1(ops[i]);\n    for (var i = 0; i < ops.length; i++) // Read DOM\n      endOperation_R2(ops[i]);\n    for (var i = 0; i < ops.length; i++) // Write DOM (maybe)\n      endOperation_W2(ops[i]);\n    for (var i = 0; i < ops.length; i++) // Read DOM\n      endOperation_finish(ops[i]);\n  }\n\n  function endOperation_R1(op) {\n    var cm = op.cm, display = cm.display;\n    maybeClipScrollbars(cm);\n    if (op.updateMaxLine) findMaxLine(cm);\n\n    op.mustUpdate = op.viewChanged || op.forceUpdate || op.scrollTop != null ||\n      op.scrollToPos && (op.scrollToPos.from.line < display.viewFrom ||\n                         op.scrollToPos.to.line >= display.viewTo) ||\n      display.maxLineChanged && cm.options.lineWrapping;\n    op.update = op.mustUpdate &&\n      new DisplayUpdate(cm, op.mustUpdate && {top: op.scrollTop, ensure: op.scrollToPos}, op.forceUpdate);\n  }\n\n  function endOperation_W1(op) {\n    op.updatedDisplay = op.mustUpdate && updateDisplayIfNeeded(op.cm, op.update);\n  }\n\n  function endOperation_R2(op) {\n    var cm = op.cm, display = cm.display;\n    if (op.updatedDisplay) updateHeightsInViewport(cm);\n\n    op.barMeasure = measureForScrollbars(cm);\n\n    // If the max line changed since it was last measured, measure it,\n    // and ensure the document's width matches it.\n    // updateDisplay_W2 will use these properties to do the actual resizing\n    if (display.maxLineChanged && !cm.options.lineWrapping) {\n      op.adjustWidthTo = measureChar(cm, display.maxLine, display.maxLine.text.length).left + 3;\n      cm.display.sizerWidth = op.adjustWidthTo;\n      op.barMeasure.scrollWidth =\n        Math.max(display.scroller.clientWidth, display.sizer.offsetLeft + op.adjustWidthTo + scrollGap(cm) + cm.display.barWidth);\n      op.maxScrollLeft = Math.max(0, display.sizer.offsetLeft + op.adjustWidthTo - displayWidth(cm));\n    }\n\n    if (op.updatedDisplay || op.selectionChanged)\n      op.preparedSelection = display.input.prepareSelection();\n  }\n\n  function endOperation_W2(op) {\n    var cm = op.cm;\n\n    if (op.adjustWidthTo != null) {\n      cm.display.sizer.style.minWidth = op.adjustWidthTo + \"px\";\n      if (op.maxScrollLeft < cm.doc.scrollLeft)\n        setScrollLeft(cm, Math.min(cm.display.scroller.scrollLeft, op.maxScrollLeft), true);\n      cm.display.maxLineChanged = false;\n    }\n\n    if (op.preparedSelection)\n      cm.display.input.showSelection(op.preparedSelection);\n    if (op.updatedDisplay)\n      setDocumentHeight(cm, op.barMeasure);\n    if (op.updatedDisplay || op.startHeight != cm.doc.height)\n      updateScrollbars(cm, op.barMeasure);\n\n    if (op.selectionChanged) restartBlink(cm);\n\n    if (cm.state.focused && op.updateInput)\n      cm.display.input.reset(op.typing);\n  }\n\n  function endOperation_finish(op) {\n    var cm = op.cm, display = cm.display, doc = cm.doc;\n\n    if (op.updatedDisplay) postUpdateDisplay(cm, op.update);\n\n    // Abort mouse wheel delta measurement, when scrolling explicitly\n    if (display.wheelStartX != null && (op.scrollTop != null || op.scrollLeft != null || op.scrollToPos))\n      display.wheelStartX = display.wheelStartY = null;\n\n    // Propagate the scroll position to the actual DOM scroller\n    if (op.scrollTop != null && (display.scroller.scrollTop != op.scrollTop || op.forceScroll)) {\n      doc.scrollTop = Math.max(0, Math.min(display.scroller.scrollHeight - display.scroller.clientHeight, op.scrollTop));\n      display.scrollbars.setScrollTop(doc.scrollTop);\n      display.scroller.scrollTop = doc.scrollTop;\n    }\n    if (op.scrollLeft != null && (display.scroller.scrollLeft != op.scrollLeft || op.forceScroll)) {\n      doc.scrollLeft = Math.max(0, Math.min(display.scroller.scrollWidth - displayWidth(cm), op.scrollLeft));\n      display.scrollbars.setScrollLeft(doc.scrollLeft);\n      display.scroller.scrollLeft = doc.scrollLeft;\n      alignHorizontally(cm);\n    }\n    // If we need to scroll a specific position into view, do so.\n    if (op.scrollToPos) {\n      var coords = scrollPosIntoView(cm, clipPos(doc, op.scrollToPos.from),\n                                     clipPos(doc, op.scrollToPos.to), op.scrollToPos.margin);\n      if (op.scrollToPos.isCursor && cm.state.focused) maybeScrollWindow(cm, coords);\n    }\n\n    // Fire events for markers that are hidden/unidden by editing or\n    // undoing\n    var hidden = op.maybeHiddenMarkers, unhidden = op.maybeUnhiddenMarkers;\n    if (hidden) for (var i = 0; i < hidden.length; ++i)\n      if (!hidden[i].lines.length) signal(hidden[i], \"hide\");\n    if (unhidden) for (var i = 0; i < unhidden.length; ++i)\n      if (unhidden[i].lines.length) signal(unhidden[i], \"unhide\");\n\n    if (display.wrapper.offsetHeight)\n      doc.scrollTop = cm.display.scroller.scrollTop;\n\n    // Fire change events, and delayed event handlers\n    if (op.changeObjs)\n      signal(cm, \"changes\", cm, op.changeObjs);\n    if (op.update)\n      op.update.finish();\n  }\n\n  // Run the given function in an operation\n  function runInOp(cm, f) {\n    if (cm.curOp) return f();\n    startOperation(cm);\n    try { return f(); }\n    finally { endOperation(cm); }\n  }\n  // Wraps a function in an operation. Returns the wrapped function.\n  function operation(cm, f) {\n    return function() {\n      if (cm.curOp) return f.apply(cm, arguments);\n      startOperation(cm);\n      try { return f.apply(cm, arguments); }\n      finally { endOperation(cm); }\n    };\n  }\n  // Used to add methods to editor and doc instances, wrapping them in\n  // operations.\n  function methodOp(f) {\n    return function() {\n      if (this.curOp) return f.apply(this, arguments);\n      startOperation(this);\n      try { return f.apply(this, arguments); }\n      finally { endOperation(this); }\n    };\n  }\n  function docMethodOp(f) {\n    return function() {\n      var cm = this.cm;\n      if (!cm || cm.curOp) return f.apply(this, arguments);\n      startOperation(cm);\n      try { return f.apply(this, arguments); }\n      finally { endOperation(cm); }\n    };\n  }\n\n  // VIEW TRACKING\n\n  // These objects are used to represent the visible (currently drawn)\n  // part of the document. A LineView may correspond to multiple\n  // logical lines, if those are connected by collapsed ranges.\n  function LineView(doc, line, lineN) {\n    // The starting line\n    this.line = line;\n    // Continuing lines, if any\n    this.rest = visualLineContinued(line);\n    // Number of logical lines in this visual line\n    this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1;\n    this.node = this.text = null;\n    this.hidden = lineIsHidden(doc, line);\n  }\n\n  // Create a range of LineView objects for the given lines.\n  function buildViewArray(cm, from, to) {\n    var array = [], nextPos;\n    for (var pos = from; pos < to; pos = nextPos) {\n      var view = new LineView(cm.doc, getLine(cm.doc, pos), pos);\n      nextPos = pos + view.size;\n      array.push(view);\n    }\n    return array;\n  }\n\n  // Updates the display.view data structure for a given change to the\n  // document. From and to are in pre-change coordinates. Lendiff is\n  // the amount of lines added or subtracted by the change. This is\n  // used for changes that span multiple lines, or change the way\n  // lines are divided into visual lines. regLineChange (below)\n  // registers single-line changes.\n  function regChange(cm, from, to, lendiff) {\n    if (from == null) from = cm.doc.first;\n    if (to == null) to = cm.doc.first + cm.doc.size;\n    if (!lendiff) lendiff = 0;\n\n    var display = cm.display;\n    if (lendiff && to < display.viewTo &&\n        (display.updateLineNumbers == null || display.updateLineNumbers > from))\n      display.updateLineNumbers = from;\n\n    cm.curOp.viewChanged = true;\n\n    if (from >= display.viewTo) { // Change after\n      if (sawCollapsedSpans && visualLineNo(cm.doc, from) < display.viewTo)\n        resetView(cm);\n    } else if (to <= display.viewFrom) { // Change before\n      if (sawCollapsedSpans && visualLineEndNo(cm.doc, to + lendiff) > display.viewFrom) {\n        resetView(cm);\n      } else {\n        display.viewFrom += lendiff;\n        display.viewTo += lendiff;\n      }\n    } else if (from <= display.viewFrom && to >= display.viewTo) { // Full overlap\n      resetView(cm);\n    } else if (from <= display.viewFrom) { // Top overlap\n      var cut = viewCuttingPoint(cm, to, to + lendiff, 1);\n      if (cut) {\n        display.view = display.view.slice(cut.index);\n        display.viewFrom = cut.lineN;\n        display.viewTo += lendiff;\n      } else {\n        resetView(cm);\n      }\n    } else if (to >= display.viewTo) { // Bottom overlap\n      var cut = viewCuttingPoint(cm, from, from, -1);\n      if (cut) {\n        display.view = display.view.slice(0, cut.index);\n        display.viewTo = cut.lineN;\n      } else {\n        resetView(cm);\n      }\n    } else { // Gap in the middle\n      var cutTop = viewCuttingPoint(cm, from, from, -1);\n      var cutBot = viewCuttingPoint(cm, to, to + lendiff, 1);\n      if (cutTop && cutBot) {\n        display.view = display.view.slice(0, cutTop.index)\n          .concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN))\n          .concat(display.view.slice(cutBot.index));\n        display.viewTo += lendiff;\n      } else {\n        resetView(cm);\n      }\n    }\n\n    var ext = display.externalMeasured;\n    if (ext) {\n      if (to < ext.lineN)\n        ext.lineN += lendiff;\n      else if (from < ext.lineN + ext.size)\n        display.externalMeasured = null;\n    }\n  }\n\n  // Register a change to a single line. Type must be one of \"text\",\n  // \"gutter\", \"class\", \"widget\"\n  function regLineChange(cm, line, type) {\n    cm.curOp.viewChanged = true;\n    var display = cm.display, ext = cm.display.externalMeasured;\n    if (ext && line >= ext.lineN && line < ext.lineN + ext.size)\n      display.externalMeasured = null;\n\n    if (line < display.viewFrom || line >= display.viewTo) return;\n    var lineView = display.view[findViewIndex(cm, line)];\n    if (lineView.node == null) return;\n    var arr = lineView.changes || (lineView.changes = []);\n    if (indexOf(arr, type) == -1) arr.push(type);\n  }\n\n  // Clear the view.\n  function resetView(cm) {\n    cm.display.viewFrom = cm.display.viewTo = cm.doc.first;\n    cm.display.view = [];\n    cm.display.viewOffset = 0;\n  }\n\n  // Find the view element corresponding to a given line. Return null\n  // when the line isn't visible.\n  function findViewIndex(cm, n) {\n    if (n >= cm.display.viewTo) return null;\n    n -= cm.display.viewFrom;\n    if (n < 0) return null;\n    var view = cm.display.view;\n    for (var i = 0; i < view.length; i++) {\n      n -= view[i].size;\n      if (n < 0) return i;\n    }\n  }\n\n  function viewCuttingPoint(cm, oldN, newN, dir) {\n    var index = findViewIndex(cm, oldN), diff, view = cm.display.view;\n    if (!sawCollapsedSpans || newN == cm.doc.first + cm.doc.size)\n      return {index: index, lineN: newN};\n    for (var i = 0, n = cm.display.viewFrom; i < index; i++)\n      n += view[i].size;\n    if (n != oldN) {\n      if (dir > 0) {\n        if (index == view.length - 1) return null;\n        diff = (n + view[index].size) - oldN;\n        index++;\n      } else {\n        diff = n - oldN;\n      }\n      oldN += diff; newN += diff;\n    }\n    while (visualLineNo(cm.doc, newN) != newN) {\n      if (index == (dir < 0 ? 0 : view.length - 1)) return null;\n      newN += dir * view[index - (dir < 0 ? 1 : 0)].size;\n      index += dir;\n    }\n    return {index: index, lineN: newN};\n  }\n\n  // Force the view to cover a given range, adding empty view element\n  // or clipping off existing ones as needed.\n  function adjustView(cm, from, to) {\n    var display = cm.display, view = display.view;\n    if (view.length == 0 || from >= display.viewTo || to <= display.viewFrom) {\n      display.view = buildViewArray(cm, from, to);\n      display.viewFrom = from;\n    } else {\n      if (display.viewFrom > from)\n        display.view = buildViewArray(cm, from, display.viewFrom).concat(display.view);\n      else if (display.viewFrom < from)\n        display.view = display.view.slice(findViewIndex(cm, from));\n      display.viewFrom = from;\n      if (display.viewTo < to)\n        display.view = display.view.concat(buildViewArray(cm, display.viewTo, to));\n      else if (display.viewTo > to)\n        display.view = display.view.slice(0, findViewIndex(cm, to));\n    }\n    display.viewTo = to;\n  }\n\n  // Count the number of lines in the view whose DOM representation is\n  // out of date (or nonexistent).\n  function countDirtyView(cm) {\n    var view = cm.display.view, dirty = 0;\n    for (var i = 0; i < view.length; i++) {\n      var lineView = view[i];\n      if (!lineView.hidden && (!lineView.node || lineView.changes)) ++dirty;\n    }\n    return dirty;\n  }\n\n  // EVENT HANDLERS\n\n  // Attach the necessary event handlers when initializing the editor\n  function registerEventHandlers(cm) {\n    var d = cm.display;\n    on(d.scroller, \"mousedown\", operation(cm, onMouseDown));\n    // Older IE's will not fire a second mousedown for a double click\n    if (ie && ie_version < 11)\n      on(d.scroller, \"dblclick\", operation(cm, function(e) {\n        if (signalDOMEvent(cm, e)) return;\n        var pos = posFromMouse(cm, e);\n        if (!pos || clickInGutter(cm, e) || eventInWidget(cm.display, e)) return;\n        e_preventDefault(e);\n        var word = cm.findWordAt(pos);\n        extendSelection(cm.doc, word.anchor, word.head);\n      }));\n    else\n      on(d.scroller, \"dblclick\", function(e) { signalDOMEvent(cm, e) || e_preventDefault(e); });\n    // Some browsers fire contextmenu *after* opening the menu, at\n    // which point we can't mess with it anymore. Context menu is\n    // handled in onMouseDown for these browsers.\n    if (!captureRightClick) on(d.scroller, \"contextmenu\", function(e) {onContextMenu(cm, e);});\n\n    // Used to suppress mouse event handling when a touch happens\n    var touchFinished, prevTouch = {end: 0};\n    function finishTouch() {\n      if (d.activeTouch) {\n        touchFinished = setTimeout(function() {d.activeTouch = null;}, 1000);\n        prevTouch = d.activeTouch;\n        prevTouch.end = +new Date;\n      }\n    };\n    function isMouseLikeTouchEvent(e) {\n      if (e.touches.length != 1) return false;\n      var touch = e.touches[0];\n      return touch.radiusX <= 1 && touch.radiusY <= 1;\n    }\n    function farAway(touch, other) {\n      if (other.left == null) return true;\n      var dx = other.left - touch.left, dy = other.top - touch.top;\n      return dx * dx + dy * dy > 20 * 20;\n    }\n    on(d.scroller, \"touchstart\", function(e) {\n      if (!isMouseLikeTouchEvent(e)) {\n        clearTimeout(touchFinished);\n        var now = +new Date;\n        d.activeTouch = {start: now, moved: false,\n                         prev: now - prevTouch.end <= 300 ? prevTouch : null};\n        if (e.touches.length == 1) {\n          d.activeTouch.left = e.touches[0].pageX;\n          d.activeTouch.top = e.touches[0].pageY;\n        }\n      }\n    });\n    on(d.scroller, \"touchmove\", function() {\n      if (d.activeTouch) d.activeTouch.moved = true;\n    });\n    on(d.scroller, \"touchend\", function(e) {\n      var touch = d.activeTouch;\n      if (touch && !eventInWidget(d, e) && touch.left != null &&\n          !touch.moved && new Date - touch.start < 300) {\n        var pos = cm.coordsChar(d.activeTouch, \"page\"), range;\n        if (!touch.prev || farAway(touch, touch.prev)) // Single tap\n          range = new Range(pos, pos);\n        else if (!touch.prev.prev || farAway(touch, touch.prev.prev)) // Double tap\n          range = cm.findWordAt(pos);\n        else // Triple tap\n          range = new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0)));\n        cm.setSelection(range.anchor, range.head);\n        cm.focus();\n        e_preventDefault(e);\n      }\n      finishTouch();\n    });\n    on(d.scroller, \"touchcancel\", finishTouch);\n\n    // Sync scrolling between fake scrollbars and real scrollable\n    // area, ensure viewport is updated when scrolling.\n    on(d.scroller, \"scroll\", function() {\n      if (d.scroller.clientHeight) {\n        setScrollTop(cm, d.scroller.scrollTop);\n        setScrollLeft(cm, d.scroller.scrollLeft, true);\n        signal(cm, \"scroll\", cm);\n      }\n    });\n\n    // Listen to wheel events in order to try and update the viewport on time.\n    on(d.scroller, \"mousewheel\", function(e){onScrollWheel(cm, e);});\n    on(d.scroller, \"DOMMouseScroll\", function(e){onScrollWheel(cm, e);});\n\n    // Prevent wrapper from ever scrolling\n    on(d.wrapper, \"scroll\", function() { d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; });\n\n    function drag_(e) {\n      if (!signalDOMEvent(cm, e)) e_stop(e);\n    }\n    if (cm.options.dragDrop) {\n      on(d.scroller, \"dragstart\", function(e){onDragStart(cm, e);});\n      on(d.scroller, \"dragenter\", drag_);\n      on(d.scroller, \"dragover\", drag_);\n      on(d.scroller, \"drop\", operation(cm, onDrop));\n    }\n\n    var inp = d.input.getField();\n    on(inp, \"keyup\", function(e) { onKeyUp.call(cm, e); });\n    on(inp, \"keydown\", operation(cm, onKeyDown));\n    on(inp, \"keypress\", operation(cm, onKeyPress));\n    on(inp, \"focus\", bind(onFocus, cm));\n    on(inp, \"blur\", bind(onBlur, cm));\n  }\n\n  // Called when the window resizes\n  function onResize(cm) {\n    var d = cm.display;\n    if (d.lastWrapHeight == d.wrapper.clientHeight && d.lastWrapWidth == d.wrapper.clientWidth)\n      return;\n    // Might be a text scaling operation, clear size caches.\n    d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;\n    d.scrollbarsClipped = false;\n    cm.setSize();\n  }\n\n  // MOUSE EVENTS\n\n  // Return true when the given mouse event happened in a widget\n  function eventInWidget(display, e) {\n    for (var n = e_target(e); n != display.wrapper; n = n.parentNode) {\n      if (!n || (n.nodeType == 1 && n.getAttribute(\"cm-ignore-events\") == \"true\") ||\n          (n.parentNode == display.sizer && n != display.mover))\n        return true;\n    }\n  }\n\n  // Given a mouse event, find the corresponding position. If liberal\n  // is false, it checks whether a gutter or scrollbar was clicked,\n  // and returns null if it was. forRect is used by rectangular\n  // selections, and tries to estimate a character position even for\n  // coordinates beyond the right of the text.\n  function posFromMouse(cm, e, liberal, forRect) {\n    var display = cm.display;\n    if (!liberal && e_target(e).getAttribute(\"cm-not-content\") == \"true\") return null;\n\n    var x, y, space = display.lineSpace.getBoundingClientRect();\n    // Fails unpredictably on IE[67] when mouse is dragged around quickly.\n    try { x = e.clientX - space.left; y = e.clientY - space.top; }\n    catch (e) { return null; }\n    var coords = coordsChar(cm, x, y), line;\n    if (forRect && coords.xRel == 1 && (line = getLine(cm.doc, coords.line).text).length == coords.ch) {\n      var colDiff = countColumn(line, line.length, cm.options.tabSize) - line.length;\n      coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff));\n    }\n    return coords;\n  }\n\n  // A mouse down can be a single click, double click, triple click,\n  // start of selection drag, start of text drag, new cursor\n  // (ctrl-click), rectangle drag (alt-drag), or xwin\n  // middle-click-paste. Or it might be a click on something we should\n  // not interfere with, such as a scrollbar or widget.\n  function onMouseDown(e) {\n    var cm = this, display = cm.display;\n    if (display.activeTouch && display.input.supportsTouch() || signalDOMEvent(cm, e)) return;\n    display.shift = e.shiftKey;\n\n    if (eventInWidget(display, e)) {\n      if (!webkit) {\n        // Briefly turn off draggability, to allow widgets to do\n        // normal dragging things.\n        display.scroller.draggable = false;\n        setTimeout(function(){display.scroller.draggable = true;}, 100);\n      }\n      return;\n    }\n    if (clickInGutter(cm, e)) return;\n    var start = posFromMouse(cm, e);\n    window.focus();\n\n    switch (e_button(e)) {\n    case 1:\n      if (start)\n        leftButtonDown(cm, e, start);\n      else if (e_target(e) == display.scroller)\n        e_preventDefault(e);\n      break;\n    case 2:\n      if (webkit) cm.state.lastMiddleDown = +new Date;\n      if (start) extendSelection(cm.doc, start);\n      setTimeout(function() {display.input.focus();}, 20);\n      e_preventDefault(e);\n      break;\n    case 3:\n      if (captureRightClick) onContextMenu(cm, e);\n      break;\n    }\n  }\n\n  var lastClick, lastDoubleClick;\n  function leftButtonDown(cm, e, start) {\n    if (ie) setTimeout(bind(ensureFocus, cm), 0);\n    else ensureFocus(cm);\n\n    var now = +new Date, type;\n    if (lastDoubleClick && lastDoubleClick.time > now - 400 && cmp(lastDoubleClick.pos, start) == 0) {\n      type = \"triple\";\n    } else if (lastClick && lastClick.time > now - 400 && cmp(lastClick.pos, start) == 0) {\n      type = \"double\";\n      lastDoubleClick = {time: now, pos: start};\n    } else {\n      type = \"single\";\n      lastClick = {time: now, pos: start};\n    }\n\n    var sel = cm.doc.sel, modifier = mac ? e.metaKey : e.ctrlKey, contained;\n    if (cm.options.dragDrop && dragAndDrop && !isReadOnly(cm) &&\n        type == \"single\" && (contained = sel.contains(start)) > -1 &&\n        !sel.ranges[contained].empty())\n      leftButtonStartDrag(cm, e, start, modifier);\n    else\n      leftButtonSelect(cm, e, start, type, modifier);\n  }\n\n  // Start a text drag. When it ends, see if any dragging actually\n  // happen, and treat as a click if it didn't.\n  function leftButtonStartDrag(cm, e, start, modifier) {\n    var display = cm.display;\n    var dragEnd = operation(cm, function(e2) {\n      if (webkit) display.scroller.draggable = false;\n      cm.state.draggingText = false;\n      off(document, \"mouseup\", dragEnd);\n      off(display.scroller, \"drop\", dragEnd);\n      if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) {\n        e_preventDefault(e2);\n        if (!modifier)\n          extendSelection(cm.doc, start);\n        display.input.focus();\n        // Work around unexplainable focus problem in IE9 (#2127)\n        if (ie && ie_version == 9)\n          setTimeout(function() {document.body.focus(); display.input.focus();}, 20);\n      }\n    });\n    // Let the drag handler handle this.\n    if (webkit) display.scroller.draggable = true;\n    cm.state.draggingText = dragEnd;\n    // IE's approach to draggable\n    if (display.scroller.dragDrop) display.scroller.dragDrop();\n    on(document, \"mouseup\", dragEnd);\n    on(display.scroller, \"drop\", dragEnd);\n  }\n\n  // Normal selection, as opposed to text dragging.\n  function leftButtonSelect(cm, e, start, type, addNew) {\n    var display = cm.display, doc = cm.doc;\n    e_preventDefault(e);\n\n    var ourRange, ourIndex, startSel = doc.sel, ranges = startSel.ranges;\n    if (addNew && !e.shiftKey) {\n      ourIndex = doc.sel.contains(start);\n      if (ourIndex > -1)\n        ourRange = ranges[ourIndex];\n      else\n        ourRange = new Range(start, start);\n    } else {\n      ourRange = doc.sel.primary();\n    }\n\n    if (e.altKey) {\n      type = \"rect\";\n      if (!addNew) ourRange = new Range(start, start);\n      start = posFromMouse(cm, e, true, true);\n      ourIndex = -1;\n    } else if (type == \"double\") {\n      var word = cm.findWordAt(start);\n      if (cm.display.shift || doc.extend)\n        ourRange = extendRange(doc, ourRange, word.anchor, word.head);\n      else\n        ourRange = word;\n    } else if (type == \"triple\") {\n      var line = new Range(Pos(start.line, 0), clipPos(doc, Pos(start.line + 1, 0)));\n      if (cm.display.shift || doc.extend)\n        ourRange = extendRange(doc, ourRange, line.anchor, line.head);\n      else\n        ourRange = line;\n    } else {\n      ourRange = extendRange(doc, ourRange, start);\n    }\n\n    if (!addNew) {\n      ourIndex = 0;\n      setSelection(doc, new Selection([ourRange], 0), sel_mouse);\n      startSel = doc.sel;\n    } else if (ourIndex == -1) {\n      ourIndex = ranges.length;\n      setSelection(doc, normalizeSelection(ranges.concat([ourRange]), ourIndex),\n                   {scroll: false, origin: \"*mouse\"});\n    } else if (ranges.length > 1 && ranges[ourIndex].empty() && type == \"single\") {\n      setSelection(doc, normalizeSelection(ranges.slice(0, ourIndex).concat(ranges.slice(ourIndex + 1)), 0));\n      startSel = doc.sel;\n    } else {\n      replaceOneSelection(doc, ourIndex, ourRange, sel_mouse);\n    }\n\n    var lastPos = start;\n    function extendTo(pos) {\n      if (cmp(lastPos, pos) == 0) return;\n      lastPos = pos;\n\n      if (type == \"rect\") {\n        var ranges = [], tabSize = cm.options.tabSize;\n        var startCol = countColumn(getLine(doc, start.line).text, start.ch, tabSize);\n        var posCol = countColumn(getLine(doc, pos.line).text, pos.ch, tabSize);\n        var left = Math.min(startCol, posCol), right = Math.max(startCol, posCol);\n        for (var line = Math.min(start.line, pos.line), end = Math.min(cm.lastLine(), Math.max(start.line, pos.line));\n             line <= end; line++) {\n          var text = getLine(doc, line).text, leftPos = findColumn(text, left, tabSize);\n          if (left == right)\n            ranges.push(new Range(Pos(line, leftPos), Pos(line, leftPos)));\n          else if (text.length > leftPos)\n            ranges.push(new Range(Pos(line, leftPos), Pos(line, findColumn(text, right, tabSize))));\n        }\n        if (!ranges.length) ranges.push(new Range(start, start));\n        setSelection(doc, normalizeSelection(startSel.ranges.slice(0, ourIndex).concat(ranges), ourIndex),\n                     {origin: \"*mouse\", scroll: false});\n        cm.scrollIntoView(pos);\n      } else {\n        var oldRange = ourRange;\n        var anchor = oldRange.anchor, head = pos;\n        if (type != \"single\") {\n          if (type == \"double\")\n            var range = cm.findWordAt(pos);\n          else\n            var range = new Range(Pos(pos.line, 0), clipPos(doc, Pos(pos.line + 1, 0)));\n          if (cmp(range.anchor, anchor) > 0) {\n            head = range.head;\n            anchor = minPos(oldRange.from(), range.anchor);\n          } else {\n            head = range.anchor;\n            anchor = maxPos(oldRange.to(), range.head);\n          }\n        }\n        var ranges = startSel.ranges.slice(0);\n        ranges[ourIndex] = new Range(clipPos(doc, anchor), head);\n        setSelection(doc, normalizeSelection(ranges, ourIndex), sel_mouse);\n      }\n    }\n\n    var editorSize = display.wrapper.getBoundingClientRect();\n    // Used to ensure timeout re-tries don't fire when another extend\n    // happened in the meantime (clearTimeout isn't reliable -- at\n    // least on Chrome, the timeouts still happen even when cleared,\n    // if the clear happens after their scheduled firing time).\n    var counter = 0;\n\n    function extend(e) {\n      var curCount = ++counter;\n      var cur = posFromMouse(cm, e, true, type == \"rect\");\n      if (!cur) return;\n      if (cmp(cur, lastPos) != 0) {\n        ensureFocus(cm);\n        extendTo(cur);\n        var visible = visibleLines(display, doc);\n        if (cur.line >= visible.to || cur.line < visible.from)\n          setTimeout(operation(cm, function(){if (counter == curCount) extend(e);}), 150);\n      } else {\n        var outside = e.clientY < editorSize.top ? -20 : e.clientY > editorSize.bottom ? 20 : 0;\n        if (outside) setTimeout(operation(cm, function() {\n          if (counter != curCount) return;\n          display.scroller.scrollTop += outside;\n          extend(e);\n        }), 50);\n      }\n    }\n\n    function done(e) {\n      counter = Infinity;\n      e_preventDefault(e);\n      display.input.focus();\n      off(document, \"mousemove\", move);\n      off(document, \"mouseup\", up);\n      doc.history.lastSelOrigin = null;\n    }\n\n    var move = operation(cm, function(e) {\n      if (!e_button(e)) done(e);\n      else extend(e);\n    });\n    var up = operation(cm, done);\n    on(document, \"mousemove\", move);\n    on(document, \"mouseup\", up);\n  }\n\n  // Determines whether an event happened in the gutter, and fires the\n  // handlers for the corresponding event.\n  function gutterEvent(cm, e, type, prevent, signalfn) {\n    try { var mX = e.clientX, mY = e.clientY; }\n    catch(e) { return false; }\n    if (mX >= Math.floor(cm.display.gutters.getBoundingClientRect().right)) return false;\n    if (prevent) e_preventDefault(e);\n\n    var display = cm.display;\n    var lineBox = display.lineDiv.getBoundingClientRect();\n\n    if (mY > lineBox.bottom || !hasHandler(cm, type)) return e_defaultPrevented(e);\n    mY -= lineBox.top - display.viewOffset;\n\n    for (var i = 0; i < cm.options.gutters.length; ++i) {\n      var g = display.gutters.childNodes[i];\n      if (g && g.getBoundingClientRect().right >= mX) {\n        var line = lineAtHeight(cm.doc, mY);\n        var gutter = cm.options.gutters[i];\n        signalfn(cm, type, cm, line, gutter, e);\n        return e_defaultPrevented(e);\n      }\n    }\n  }\n\n  function clickInGutter(cm, e) {\n    return gutterEvent(cm, e, \"gutterClick\", true, signalLater);\n  }\n\n  // Kludge to work around strange IE behavior where it'll sometimes\n  // re-fire a series of drag-related events right after the drop (#1551)\n  var lastDrop = 0;\n\n  function onDrop(e) {\n    var cm = this;\n    if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e))\n      return;\n    e_preventDefault(e);\n    if (ie) lastDrop = +new Date;\n    var pos = posFromMouse(cm, e, true), files = e.dataTransfer.files;\n    if (!pos || isReadOnly(cm)) return;\n    // Might be a file drop, in which case we simply extract the text\n    // and insert it.\n    if (files && files.length && window.FileReader && window.File) {\n      var n = files.length, text = Array(n), read = 0;\n      var loadFile = function(file, i) {\n        var reader = new FileReader;\n        reader.onload = operation(cm, function() {\n          text[i] = reader.result;\n          if (++read == n) {\n            pos = clipPos(cm.doc, pos);\n            var change = {from: pos, to: pos, text: splitLines(text.join(\"\\n\")), origin: \"paste\"};\n            makeChange(cm.doc, change);\n            setSelectionReplaceHistory(cm.doc, simpleSelection(pos, changeEnd(change)));\n          }\n        });\n        reader.readAsText(file);\n      };\n      for (var i = 0; i < n; ++i) loadFile(files[i], i);\n    } else { // Normal drop\n      // Don't do a replace if the drop happened inside of the selected text.\n      if (cm.state.draggingText && cm.doc.sel.contains(pos) > -1) {\n        cm.state.draggingText(e);\n        // Ensure the editor is re-focused\n        setTimeout(function() {cm.display.input.focus();}, 20);\n        return;\n      }\n      try {\n        var text = e.dataTransfer.getData(\"Text\");\n        if (text) {\n          if (cm.state.draggingText && !(mac ? e.metaKey : e.ctrlKey))\n            var selected = cm.listSelections();\n          setSelectionNoUndo(cm.doc, simpleSelection(pos, pos));\n          if (selected) for (var i = 0; i < selected.length; ++i)\n            replaceRange(cm.doc, \"\", selected[i].anchor, selected[i].head, \"drag\");\n          cm.replaceSelection(text, \"around\", \"paste\");\n          cm.display.input.focus();\n        }\n      }\n      catch(e){}\n    }\n  }\n\n  function onDragStart(cm, e) {\n    if (ie && (!cm.state.draggingText || +new Date - lastDrop < 100)) { e_stop(e); return; }\n    if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) return;\n\n    e.dataTransfer.setData(\"Text\", cm.getSelection());\n\n    // Use dummy image instead of default browsers image.\n    // Recent Safari (~6.0.2) have a tendency to segfault when this happens, so we don't do it there.\n    if (e.dataTransfer.setDragImage && !safari) {\n      var img = elt(\"img\", null, null, \"position: fixed; left: 0; top: 0;\");\n      img.src = \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\";\n      if (presto) {\n        img.width = img.height = 1;\n        cm.display.wrapper.appendChild(img);\n        // Force a relayout, or Opera won't use our image for some obscure reason\n        img._top = img.offsetTop;\n      }\n      e.dataTransfer.setDragImage(img, 0, 0);\n      if (presto) img.parentNode.removeChild(img);\n    }\n  }\n\n  // SCROLL EVENTS\n\n  // Sync the scrollable area and scrollbars, ensure the viewport\n  // covers the visible area.\n  function setScrollTop(cm, val) {\n    if (Math.abs(cm.doc.scrollTop - val) < 2) return;\n    cm.doc.scrollTop = val;\n    if (!gecko) updateDisplaySimple(cm, {top: val});\n    if (cm.display.scroller.scrollTop != val) cm.display.scroller.scrollTop = val;\n    cm.display.scrollbars.setScrollTop(val);\n    if (gecko) updateDisplaySimple(cm);\n    startWorker(cm, 100);\n  }\n  // Sync scroller and scrollbar, ensure the gutter elements are\n  // aligned.\n  function setScrollLeft(cm, val, isScroller) {\n    if (isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) return;\n    val = Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth);\n    cm.doc.scrollLeft = val;\n    alignHorizontally(cm);\n    if (cm.display.scroller.scrollLeft != val) cm.display.scroller.scrollLeft = val;\n    cm.display.scrollbars.setScrollLeft(val);\n  }\n\n  // Since the delta values reported on mouse wheel events are\n  // unstandardized between browsers and even browser versions, and\n  // generally horribly unpredictable, this code starts by measuring\n  // the scroll effect that the first few mouse wheel events have,\n  // and, from that, detects the way it can convert deltas to pixel\n  // offsets afterwards.\n  //\n  // The reason we want to know the amount a wheel event will scroll\n  // is that it gives us a chance to update the display before the\n  // actual scrolling happens, reducing flickering.\n\n  var wheelSamples = 0, wheelPixelsPerUnit = null;\n  // Fill in a browser-detected starting value on browsers where we\n  // know one. These don't have to be accurate -- the result of them\n  // being wrong would just be a slight flicker on the first wheel\n  // scroll (if it is large enough).\n  if (ie) wheelPixelsPerUnit = -.53;\n  else if (gecko) wheelPixelsPerUnit = 15;\n  else if (chrome) wheelPixelsPerUnit = -.7;\n  else if (safari) wheelPixelsPerUnit = -1/3;\n\n  var wheelEventDelta = function(e) {\n    var dx = e.wheelDeltaX, dy = e.wheelDeltaY;\n    if (dx == null && e.detail && e.axis == e.HORIZONTAL_AXIS) dx = e.detail;\n    if (dy == null && e.detail && e.axis == e.VERTICAL_AXIS) dy = e.detail;\n    else if (dy == null) dy = e.wheelDelta;\n    return {x: dx, y: dy};\n  };\n  CodeMirror.wheelEventPixels = function(e) {\n    var delta = wheelEventDelta(e);\n    delta.x *= wheelPixelsPerUnit;\n    delta.y *= wheelPixelsPerUnit;\n    return delta;\n  };\n\n  function onScrollWheel(cm, e) {\n    var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y;\n\n    var display = cm.display, scroll = display.scroller;\n    // Quit if there's nothing to scroll here\n    if (!(dx && scroll.scrollWidth > scroll.clientWidth ||\n          dy && scroll.scrollHeight > scroll.clientHeight)) return;\n\n    // Webkit browsers on OS X abort momentum scrolls when the target\n    // of the scroll event is removed from the scrollable element.\n    // This hack (see related code in patchDisplay) makes sure the\n    // element is kept around.\n    if (dy && mac && webkit) {\n      outer: for (var cur = e.target, view = display.view; cur != scroll; cur = cur.parentNode) {\n        for (var i = 0; i < view.length; i++) {\n          if (view[i].node == cur) {\n            cm.display.currentWheelTarget = cur;\n            break outer;\n          }\n        }\n      }\n    }\n\n    // On some browsers, horizontal scrolling will cause redraws to\n    // happen before the gutter has been realigned, causing it to\n    // wriggle around in a most unseemly way. When we have an\n    // estimated pixels/delta value, we just handle horizontal\n    // scrolling entirely here. It'll be slightly off from native, but\n    // better than glitching out.\n    if (dx && !gecko && !presto && wheelPixelsPerUnit != null) {\n      if (dy)\n        setScrollTop(cm, Math.max(0, Math.min(scroll.scrollTop + dy * wheelPixelsPerUnit, scroll.scrollHeight - scroll.clientHeight)));\n      setScrollLeft(cm, Math.max(0, Math.min(scroll.scrollLeft + dx * wheelPixelsPerUnit, scroll.scrollWidth - scroll.clientWidth)));\n      e_preventDefault(e);\n      display.wheelStartX = null; // Abort measurement, if in progress\n      return;\n    }\n\n    // 'Project' the visible viewport to cover the area that is being\n    // scrolled into view (if we know enough to estimate it).\n    if (dy && wheelPixelsPerUnit != null) {\n      var pixels = dy * wheelPixelsPerUnit;\n      var top = cm.doc.scrollTop, bot = top + display.wrapper.clientHeight;\n      if (pixels < 0) top = Math.max(0, top + pixels - 50);\n      else bot = Math.min(cm.doc.height, bot + pixels + 50);\n      updateDisplaySimple(cm, {top: top, bottom: bot});\n    }\n\n    if (wheelSamples < 20) {\n      if (display.wheelStartX == null) {\n        display.wheelStartX = scroll.scrollLeft; display.wheelStartY = scroll.scrollTop;\n        display.wheelDX = dx; display.wheelDY = dy;\n        setTimeout(function() {\n          if (display.wheelStartX == null) return;\n          var movedX = scroll.scrollLeft - display.wheelStartX;\n          var movedY = scroll.scrollTop - display.wheelStartY;\n          var sample = (movedY && display.wheelDY && movedY / display.wheelDY) ||\n            (movedX && display.wheelDX && movedX / display.wheelDX);\n          display.wheelStartX = display.wheelStartY = null;\n          if (!sample) return;\n          wheelPixelsPerUnit = (wheelPixelsPerUnit * wheelSamples + sample) / (wheelSamples + 1);\n          ++wheelSamples;\n        }, 200);\n      } else {\n        display.wheelDX += dx; display.wheelDY += dy;\n      }\n    }\n  }\n\n  // KEY EVENTS\n\n  // Run a handler that was bound to a key.\n  function doHandleBinding(cm, bound, dropShift) {\n    if (typeof bound == \"string\") {\n      bound = commands[bound];\n      if (!bound) return false;\n    }\n    // Ensure previous input has been read, so that the handler sees a\n    // consistent view of the document\n    cm.display.input.ensurePolled();\n    var prevShift = cm.display.shift, done = false;\n    try {\n      if (isReadOnly(cm)) cm.state.suppressEdits = true;\n      if (dropShift) cm.display.shift = false;\n      done = bound(cm) != Pass;\n    } finally {\n      cm.display.shift = prevShift;\n      cm.state.suppressEdits = false;\n    }\n    return done;\n  }\n\n  function lookupKeyForEditor(cm, name, handle) {\n    for (var i = 0; i < cm.state.keyMaps.length; i++) {\n      var result = lookupKey(name, cm.state.keyMaps[i], handle, cm);\n      if (result) return result;\n    }\n    return (cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm))\n      || lookupKey(name, cm.options.keyMap, handle, cm);\n  }\n\n  var stopSeq = new Delayed;\n  function dispatchKey(cm, name, e, handle) {\n    var seq = cm.state.keySeq;\n    if (seq) {\n      if (isModifierKey(name)) return \"handled\";\n      stopSeq.set(50, function() {\n        if (cm.state.keySeq == seq) {\n          cm.state.keySeq = null;\n          cm.display.input.reset();\n        }\n      });\n      name = seq + \" \" + name;\n    }\n    var result = lookupKeyForEditor(cm, name, handle);\n\n    if (result == \"multi\")\n      cm.state.keySeq = name;\n    if (result == \"handled\")\n      signalLater(cm, \"keyHandled\", cm, name, e);\n\n    if (result == \"handled\" || result == \"multi\") {\n      e_preventDefault(e);\n      restartBlink(cm);\n    }\n\n    if (seq && !result && /\\'$/.test(name)) {\n      e_preventDefault(e);\n      return true;\n    }\n    return !!result;\n  }\n\n  // Handle a key from the keydown event.\n  function handleKeyBinding(cm, e) {\n    var name = keyName(e, true);\n    if (!name) return false;\n\n    if (e.shiftKey && !cm.state.keySeq) {\n      // First try to resolve full name (including 'Shift-'). Failing\n      // that, see if there is a cursor-motion command (starting with\n      // 'go') bound to the keyname without 'Shift-'.\n      return dispatchKey(cm, \"Shift-\" + name, e, function(b) {return doHandleBinding(cm, b, true);})\n          || dispatchKey(cm, name, e, function(b) {\n               if (typeof b == \"string\" ? /^go[A-Z]/.test(b) : b.motion)\n                 return doHandleBinding(cm, b);\n             });\n    } else {\n      return dispatchKey(cm, name, e, function(b) { return doHandleBinding(cm, b); });\n    }\n  }\n\n  // Handle a key from the keypress event\n  function handleCharBinding(cm, e, ch) {\n    return dispatchKey(cm, \"'\" + ch + \"'\", e,\n                       function(b) { return doHandleBinding(cm, b, true); });\n  }\n\n  var lastStoppedKey = null;\n  function onKeyDown(e) {\n    var cm = this;\n    ensureFocus(cm);\n    if (signalDOMEvent(cm, e)) return;\n    // IE does strange things with escape.\n    if (ie && ie_version < 11 && e.keyCode == 27) e.returnValue = false;\n    var code = e.keyCode;\n    cm.display.shift = code == 16 || e.shiftKey;\n    var handled = handleKeyBinding(cm, e);\n    if (presto) {\n      lastStoppedKey = handled ? code : null;\n      // Opera has no cut event... we try to at least catch the key combo\n      if (!handled && code == 88 && !hasCopyEvent && (mac ? e.metaKey : e.ctrlKey))\n        cm.replaceSelection(\"\", null, \"cut\");\n    }\n\n    // Turn mouse into crosshair when Alt is held on Mac.\n    if (code == 18 && !/\\bCodeMirror-crosshair\\b/.test(cm.display.lineDiv.className))\n      showCrossHair(cm);\n  }\n\n  function showCrossHair(cm) {\n    var lineDiv = cm.display.lineDiv;\n    addClass(lineDiv, \"CodeMirror-crosshair\");\n\n    function up(e) {\n      if (e.keyCode == 18 || !e.altKey) {\n        rmClass(lineDiv, \"CodeMirror-crosshair\");\n        off(document, \"keyup\", up);\n        off(document, \"mouseover\", up);\n      }\n    }\n    on(document, \"keyup\", up);\n    on(document, \"mouseover\", up);\n  }\n\n  function onKeyUp(e) {\n    if (e.keyCode == 16) this.doc.sel.shift = false;\n    signalDOMEvent(this, e);\n  }\n\n  function onKeyPress(e) {\n    var cm = this;\n    if (eventInWidget(cm.display, e) || signalDOMEvent(cm, e) || e.ctrlKey && !e.altKey || mac && e.metaKey) return;\n    var keyCode = e.keyCode, charCode = e.charCode;\n    if (presto && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return;}\n    if ((presto && (!e.which || e.which < 10)) && handleKeyBinding(cm, e)) return;\n    var ch = String.fromCharCode(charCode == null ? keyCode : charCode);\n    if (handleCharBinding(cm, e, ch)) return;\n    cm.display.input.onKeyPress(e);\n  }\n\n  // FOCUS/BLUR EVENTS\n\n  function onFocus(cm) {\n    if (cm.options.readOnly == \"nocursor\") return;\n    if (!cm.state.focused) {\n      signal(cm, \"focus\", cm);\n      cm.state.focused = true;\n      addClass(cm.display.wrapper, \"CodeMirror-focused\");\n      // This test prevents this from firing when a context\n      // menu is closed (since the input reset would kill the\n      // select-all detection hack)\n      if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) {\n        cm.display.input.reset();\n        if (webkit) setTimeout(function() { cm.display.input.reset(true); }, 20); // Issue #1730\n      }\n      cm.display.input.receivedFocus();\n    }\n    restartBlink(cm);\n  }\n  function onBlur(cm) {\n    if (cm.state.focused) {\n      signal(cm, \"blur\", cm);\n      cm.state.focused = false;\n      rmClass(cm.display.wrapper, \"CodeMirror-focused\");\n    }\n    clearInterval(cm.display.blinker);\n    setTimeout(function() {if (!cm.state.focused) cm.display.shift = false;}, 150);\n  }\n\n  // CONTEXT MENU HANDLING\n\n  // To make the context menu work, we need to briefly unhide the\n  // textarea (making it as unobtrusive as possible) to let the\n  // right-click take effect on it.\n  function onContextMenu(cm, e) {\n    if (eventInWidget(cm.display, e) || contextMenuInGutter(cm, e)) return;\n    cm.display.input.onContextMenu(e);\n  }\n\n  function contextMenuInGutter(cm, e) {\n    if (!hasHandler(cm, \"gutterContextMenu\")) return false;\n    return gutterEvent(cm, e, \"gutterContextMenu\", false, signal);\n  }\n\n  // UPDATING\n\n  // Compute the position of the end of a change (its 'to' property\n  // refers to the pre-change end).\n  var changeEnd = CodeMirror.changeEnd = function(change) {\n    if (!change.text) return change.to;\n    return Pos(change.from.line + change.text.length - 1,\n               lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0));\n  };\n\n  // Adjust a position to refer to the post-change position of the\n  // same text, or the end of the change if the change covers it.\n  function adjustForChange(pos, change) {\n    if (cmp(pos, change.from) < 0) return pos;\n    if (cmp(pos, change.to) <= 0) return changeEnd(change);\n\n    var line = pos.line + change.text.length - (change.to.line - change.from.line) - 1, ch = pos.ch;\n    if (pos.line == change.to.line) ch += changeEnd(change).ch - change.to.ch;\n    return Pos(line, ch);\n  }\n\n  function computeSelAfterChange(doc, change) {\n    var out = [];\n    for (var i = 0; i < doc.sel.ranges.length; i++) {\n      var range = doc.sel.ranges[i];\n      out.push(new Range(adjustForChange(range.anchor, change),\n                         adjustForChange(range.head, change)));\n    }\n    return normalizeSelection(out, doc.sel.primIndex);\n  }\n\n  function offsetPos(pos, old, nw) {\n    if (pos.line == old.line)\n      return Pos(nw.line, pos.ch - old.ch + nw.ch);\n    else\n      return Pos(nw.line + (pos.line - old.line), pos.ch);\n  }\n\n  // Used by replaceSelections to allow moving the selection to the\n  // start or around the replaced test. Hint may be \"start\" or \"around\".\n  function computeReplacedSel(doc, changes, hint) {\n    var out = [];\n    var oldPrev = Pos(doc.first, 0), newPrev = oldPrev;\n    for (var i = 0; i < changes.length; i++) {\n      var change = changes[i];\n      var from = offsetPos(change.from, oldPrev, newPrev);\n      var to = offsetPos(changeEnd(change), oldPrev, newPrev);\n      oldPrev = change.to;\n      newPrev = to;\n      if (hint == \"around\") {\n        var range = doc.sel.ranges[i], inv = cmp(range.head, range.anchor) < 0;\n        out[i] = new Range(inv ? to : from, inv ? from : to);\n      } else {\n        out[i] = new Range(from, from);\n      }\n    }\n    return new Selection(out, doc.sel.primIndex);\n  }\n\n  // Allow \"beforeChange\" event handlers to influence a change\n  function filterChange(doc, change, update) {\n    var obj = {\n      canceled: false,\n      from: change.from,\n      to: change.to,\n      text: change.text,\n      origin: change.origin,\n      cancel: function() { this.canceled = true; }\n    };\n    if (update) obj.update = function(from, to, text, origin) {\n      if (from) this.from = clipPos(doc, from);\n      if (to) this.to = clipPos(doc, to);\n      if (text) this.text = text;\n      if (origin !== undefined) this.origin = origin;\n    };\n    signal(doc, \"beforeChange\", doc, obj);\n    if (doc.cm) signal(doc.cm, \"beforeChange\", doc.cm, obj);\n\n    if (obj.canceled) return null;\n    return {from: obj.from, to: obj.to, text: obj.text, origin: obj.origin};\n  }\n\n  // Apply a change to a document, and add it to the document's\n  // history, and propagating it to all linked documents.\n  function makeChange(doc, change, ignoreReadOnly) {\n    if (doc.cm) {\n      if (!doc.cm.curOp) return operation(doc.cm, makeChange)(doc, change, ignoreReadOnly);\n      if (doc.cm.state.suppressEdits) return;\n    }\n\n    if (hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\")) {\n      change = filterChange(doc, change, true);\n      if (!change) return;\n    }\n\n    // Possibly split or suppress the update based on the presence\n    // of read-only spans in its range.\n    var split = sawReadOnlySpans && !ignoreReadOnly && removeReadOnlyRanges(doc, change.from, change.to);\n    if (split) {\n      for (var i = split.length - 1; i >= 0; --i)\n        makeChangeInner(doc, {from: split[i].from, to: split[i].to, text: i ? [\"\"] : change.text});\n    } else {\n      makeChangeInner(doc, change);\n    }\n  }\n\n  function makeChangeInner(doc, change) {\n    if (change.text.length == 1 && change.text[0] == \"\" && cmp(change.from, change.to) == 0) return;\n    var selAfter = computeSelAfterChange(doc, change);\n    addChangeToHistory(doc, change, selAfter, doc.cm ? doc.cm.curOp.id : NaN);\n\n    makeChangeSingleDoc(doc, change, selAfter, stretchSpansOverChange(doc, change));\n    var rebased = [];\n\n    linkedDocs(doc, function(doc, sharedHist) {\n      if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n        rebaseHist(doc.history, change);\n        rebased.push(doc.history);\n      }\n      makeChangeSingleDoc(doc, change, null, stretchSpansOverChange(doc, change));\n    });\n  }\n\n  // Revert a change stored in a document's history.\n  function makeChangeFromHistory(doc, type, allowSelectionOnly) {\n    if (doc.cm && doc.cm.state.suppressEdits) return;\n\n    var hist = doc.history, event, selAfter = doc.sel;\n    var source = type == \"undo\" ? hist.done : hist.undone, dest = type == \"undo\" ? hist.undone : hist.done;\n\n    // Verify that there is a useable event (so that ctrl-z won't\n    // needlessly clear selection events)\n    for (var i = 0; i < source.length; i++) {\n      event = source[i];\n      if (allowSelectionOnly ? event.ranges && !event.equals(doc.sel) : !event.ranges)\n        break;\n    }\n    if (i == source.length) return;\n    hist.lastOrigin = hist.lastSelOrigin = null;\n\n    for (;;) {\n      event = source.pop();\n      if (event.ranges) {\n        pushSelectionToHistory(event, dest);\n        if (allowSelectionOnly && !event.equals(doc.sel)) {\n          setSelection(doc, event, {clearRedo: false});\n          return;\n        }\n        selAfter = event;\n      }\n      else break;\n    }\n\n    // Build up a reverse change object to add to the opposite history\n    // stack (redo when undoing, and vice versa).\n    var antiChanges = [];\n    pushSelectionToHistory(selAfter, dest);\n    dest.push({changes: antiChanges, generation: hist.generation});\n    hist.generation = event.generation || ++hist.maxGeneration;\n\n    var filter = hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\");\n\n    for (var i = event.changes.length - 1; i >= 0; --i) {\n      var change = event.changes[i];\n      change.origin = type;\n      if (filter && !filterChange(doc, change, false)) {\n        source.length = 0;\n        return;\n      }\n\n      antiChanges.push(historyChangeFromChange(doc, change));\n\n      var after = i ? computeSelAfterChange(doc, change) : lst(source);\n      makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change));\n      if (!i && doc.cm) doc.cm.scrollIntoView({from: change.from, to: changeEnd(change)});\n      var rebased = [];\n\n      // Propagate to the linked documents\n      linkedDocs(doc, function(doc, sharedHist) {\n        if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n          rebaseHist(doc.history, change);\n          rebased.push(doc.history);\n        }\n        makeChangeSingleDoc(doc, change, null, mergeOldSpans(doc, change));\n      });\n    }\n  }\n\n  // Sub-views need their line numbers shifted when text is added\n  // above or below them in the parent document.\n  function shiftDoc(doc, distance) {\n    if (distance == 0) return;\n    doc.first += distance;\n    doc.sel = new Selection(map(doc.sel.ranges, function(range) {\n      return new Range(Pos(range.anchor.line + distance, range.anchor.ch),\n                       Pos(range.head.line + distance, range.head.ch));\n    }), doc.sel.primIndex);\n    if (doc.cm) {\n      regChange(doc.cm, doc.first, doc.first - distance, distance);\n      for (var d = doc.cm.display, l = d.viewFrom; l < d.viewTo; l++)\n        regLineChange(doc.cm, l, \"gutter\");\n    }\n  }\n\n  // More lower-level change function, handling only a single document\n  // (not linked ones).\n  function makeChangeSingleDoc(doc, change, selAfter, spans) {\n    if (doc.cm && !doc.cm.curOp)\n      return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans);\n\n    if (change.to.line < doc.first) {\n      shiftDoc(doc, change.text.length - 1 - (change.to.line - change.from.line));\n      return;\n    }\n    if (change.from.line > doc.lastLine()) return;\n\n    // Clip the change to the size of this doc\n    if (change.from.line < doc.first) {\n      var shift = change.text.length - 1 - (doc.first - change.from.line);\n      shiftDoc(doc, shift);\n      change = {from: Pos(doc.first, 0), to: Pos(change.to.line + shift, change.to.ch),\n                text: [lst(change.text)], origin: change.origin};\n    }\n    var last = doc.lastLine();\n    if (change.to.line > last) {\n      change = {from: change.from, to: Pos(last, getLine(doc, last).text.length),\n                text: [change.text[0]], origin: change.origin};\n    }\n\n    change.removed = getBetween(doc, change.from, change.to);\n\n    if (!selAfter) selAfter = computeSelAfterChange(doc, change);\n    if (doc.cm) makeChangeSingleDocInEditor(doc.cm, change, spans);\n    else updateDoc(doc, change, spans);\n    setSelectionNoUndo(doc, selAfter, sel_dontScroll);\n  }\n\n  // Handle the interaction of a change to a document with the editor\n  // that this document is part of.\n  function makeChangeSingleDocInEditor(cm, change, spans) {\n    var doc = cm.doc, display = cm.display, from = change.from, to = change.to;\n\n    var recomputeMaxLength = false, checkWidthStart = from.line;\n    if (!cm.options.lineWrapping) {\n      checkWidthStart = lineNo(visualLine(getLine(doc, from.line)));\n      doc.iter(checkWidthStart, to.line + 1, function(line) {\n        if (line == display.maxLine) {\n          recomputeMaxLength = true;\n          return true;\n        }\n      });\n    }\n\n    if (doc.sel.contains(change.from, change.to) > -1)\n      signalCursorActivity(cm);\n\n    updateDoc(doc, change, spans, estimateHeight(cm));\n\n    if (!cm.options.lineWrapping) {\n      doc.iter(checkWidthStart, from.line + change.text.length, function(line) {\n        var len = lineLength(line);\n        if (len > display.maxLineLength) {\n          display.maxLine = line;\n          display.maxLineLength = len;\n          display.maxLineChanged = true;\n          recomputeMaxLength = false;\n        }\n      });\n      if (recomputeMaxLength) cm.curOp.updateMaxLine = true;\n    }\n\n    // Adjust frontier, schedule worker\n    doc.frontier = Math.min(doc.frontier, from.line);\n    startWorker(cm, 400);\n\n    var lendiff = change.text.length - (to.line - from.line) - 1;\n    // Remember that these lines changed, for updating the display\n    if (change.full)\n      regChange(cm);\n    else if (from.line == to.line && change.text.length == 1 && !isWholeLineUpdate(cm.doc, change))\n      regLineChange(cm, from.line, \"text\");\n    else\n      regChange(cm, from.line, to.line + 1, lendiff);\n\n    var changesHandler = hasHandler(cm, \"changes\"), changeHandler = hasHandler(cm, \"change\");\n    if (changeHandler || changesHandler) {\n      var obj = {\n        from: from, to: to,\n        text: change.text,\n        removed: change.removed,\n        origin: change.origin\n      };\n      if (changeHandler) signalLater(cm, \"change\", cm, obj);\n      if (changesHandler) (cm.curOp.changeObjs || (cm.curOp.changeObjs = [])).push(obj);\n    }\n    cm.display.selForContextMenu = null;\n  }\n\n  function replaceRange(doc, code, from, to, origin) {\n    if (!to) to = from;\n    if (cmp(to, from) < 0) { var tmp = to; to = from; from = tmp; }\n    if (typeof code == \"string\") code = splitLines(code);\n    makeChange(doc, {from: from, to: to, text: code, origin: origin});\n  }\n\n  // SCROLLING THINGS INTO VIEW\n\n  // If an editor sits on the top or bottom of the window, partially\n  // scrolled out of view, this ensures that the cursor is visible.\n  function maybeScrollWindow(cm, coords) {\n    if (signalDOMEvent(cm, \"scrollCursorIntoView\")) return;\n\n    var display = cm.display, box = display.sizer.getBoundingClientRect(), doScroll = null;\n    if (coords.top + box.top < 0) doScroll = true;\n    else if (coords.bottom + box.top > (window.innerHeight || document.documentElement.clientHeight)) doScroll = false;\n    if (doScroll != null && !phantom) {\n      var scrollNode = elt(\"div\", \"\\u200b\", null, \"position: absolute; top: \" +\n                           (coords.top - display.viewOffset - paddingTop(cm.display)) + \"px; height: \" +\n                           (coords.bottom - coords.top + scrollGap(cm) + display.barHeight) + \"px; left: \" +\n                           coords.left + \"px; width: 2px;\");\n      cm.display.lineSpace.appendChild(scrollNode);\n      scrollNode.scrollIntoView(doScroll);\n      cm.display.lineSpace.removeChild(scrollNode);\n    }\n  }\n\n  // Scroll a given position into view (immediately), verifying that\n  // it actually became visible (as line heights are accurately\n  // measured, the position of something may 'drift' during drawing).\n  function scrollPosIntoView(cm, pos, end, margin) {\n    if (margin == null) margin = 0;\n    for (var limit = 0; limit < 5; limit++) {\n      var changed = false, coords = cursorCoords(cm, pos);\n      var endCoords = !end || end == pos ? coords : cursorCoords(cm, end);\n      var scrollPos = calculateScrollPos(cm, Math.min(coords.left, endCoords.left),\n                                         Math.min(coords.top, endCoords.top) - margin,\n                                         Math.max(coords.left, endCoords.left),\n                                         Math.max(coords.bottom, endCoords.bottom) + margin);\n      var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft;\n      if (scrollPos.scrollTop != null) {\n        setScrollTop(cm, scrollPos.scrollTop);\n        if (Math.abs(cm.doc.scrollTop - startTop) > 1) changed = true;\n      }\n      if (scrollPos.scrollLeft != null) {\n        setScrollLeft(cm, scrollPos.scrollLeft);\n        if (Math.abs(cm.doc.scrollLeft - startLeft) > 1) changed = true;\n      }\n      if (!changed) break;\n    }\n    return coords;\n  }\n\n  // Scroll a given set of coordinates into view (immediately).\n  function scrollIntoView(cm, x1, y1, x2, y2) {\n    var scrollPos = calculateScrollPos(cm, x1, y1, x2, y2);\n    if (scrollPos.scrollTop != null) setScrollTop(cm, scrollPos.scrollTop);\n    if (scrollPos.scrollLeft != null) setScrollLeft(cm, scrollPos.scrollLeft);\n  }\n\n  // Calculate a new scroll position needed to scroll the given\n  // rectangle into view. Returns an object with scrollTop and\n  // scrollLeft properties. When these are undefined, the\n  // vertical/horizontal position does not need to be adjusted.\n  function calculateScrollPos(cm, x1, y1, x2, y2) {\n    var display = cm.display, snapMargin = textHeight(cm.display);\n    if (y1 < 0) y1 = 0;\n    var screentop = cm.curOp && cm.curOp.scrollTop != null ? cm.curOp.scrollTop : display.scroller.scrollTop;\n    var screen = displayHeight(cm), result = {};\n    if (y2 - y1 > screen) y2 = y1 + screen;\n    var docBottom = cm.doc.height + paddingVert(display);\n    var atTop = y1 < snapMargin, atBottom = y2 > docBottom - snapMargin;\n    if (y1 < screentop) {\n      result.scrollTop = atTop ? 0 : y1;\n    } else if (y2 > screentop + screen) {\n      var newTop = Math.min(y1, (atBottom ? docBottom : y2) - screen);\n      if (newTop != screentop) result.scrollTop = newTop;\n    }\n\n    var screenleft = cm.curOp && cm.curOp.scrollLeft != null ? cm.curOp.scrollLeft : display.scroller.scrollLeft;\n    var screenw = displayWidth(cm) - (cm.options.fixedGutter ? display.gutters.offsetWidth : 0);\n    var tooWide = x2 - x1 > screenw;\n    if (tooWide) x2 = x1 + screenw;\n    if (x1 < 10)\n      result.scrollLeft = 0;\n    else if (x1 < screenleft)\n      result.scrollLeft = Math.max(0, x1 - (tooWide ? 0 : 10));\n    else if (x2 > screenw + screenleft - 3)\n      result.scrollLeft = x2 + (tooWide ? 0 : 10) - screenw;\n    return result;\n  }\n\n  // Store a relative adjustment to the scroll position in the current\n  // operation (to be applied when the operation finishes).\n  function addToScrollPos(cm, left, top) {\n    if (left != null || top != null) resolveScrollToPos(cm);\n    if (left != null)\n      cm.curOp.scrollLeft = (cm.curOp.scrollLeft == null ? cm.doc.scrollLeft : cm.curOp.scrollLeft) + left;\n    if (top != null)\n      cm.curOp.scrollTop = (cm.curOp.scrollTop == null ? cm.doc.scrollTop : cm.curOp.scrollTop) + top;\n  }\n\n  // Make sure that at the end of the operation the current cursor is\n  // shown.\n  function ensureCursorVisible(cm) {\n    resolveScrollToPos(cm);\n    var cur = cm.getCursor(), from = cur, to = cur;\n    if (!cm.options.lineWrapping) {\n      from = cur.ch ? Pos(cur.line, cur.ch - 1) : cur;\n      to = Pos(cur.line, cur.ch + 1);\n    }\n    cm.curOp.scrollToPos = {from: from, to: to, margin: cm.options.cursorScrollMargin, isCursor: true};\n  }\n\n  // When an operation has its scrollToPos property set, and another\n  // scroll action is applied before the end of the operation, this\n  // 'simulates' scrolling that position into view in a cheap way, so\n  // that the effect of intermediate scroll commands is not ignored.\n  function resolveScrollToPos(cm) {\n    var range = cm.curOp.scrollToPos;\n    if (range) {\n      cm.curOp.scrollToPos = null;\n      var from = estimateCoords(cm, range.from), to = estimateCoords(cm, range.to);\n      var sPos = calculateScrollPos(cm, Math.min(from.left, to.left),\n                                    Math.min(from.top, to.top) - range.margin,\n                                    Math.max(from.right, to.right),\n                                    Math.max(from.bottom, to.bottom) + range.margin);\n      cm.scrollTo(sPos.scrollLeft, sPos.scrollTop);\n    }\n  }\n\n  // API UTILITIES\n\n  // Indent the given line. The how parameter can be \"smart\",\n  // \"add\"/null, \"subtract\", or \"prev\". When aggressive is false\n  // (typically set to true for forced single-line indents), empty\n  // lines are not indented, and places where the mode returns Pass\n  // are left alone.\n  function indentLine(cm, n, how, aggressive) {\n    var doc = cm.doc, state;\n    if (how == null) how = \"add\";\n    if (how == \"smart\") {\n      // Fall back to \"prev\" when the mode doesn't have an indentation\n      // method.\n      if (!doc.mode.indent) how = \"prev\";\n      else state = getStateBefore(cm, n);\n    }\n\n    var tabSize = cm.options.tabSize;\n    var line = getLine(doc, n), curSpace = countColumn(line.text, null, tabSize);\n    if (line.stateAfter) line.stateAfter = null;\n    var curSpaceString = line.text.match(/^\\s*/)[0], indentation;\n    if (!aggressive && !/\\S/.test(line.text)) {\n      indentation = 0;\n      how = \"not\";\n    } else if (how == \"smart\") {\n      indentation = doc.mode.indent(state, line.text.slice(curSpaceString.length), line.text);\n      if (indentation == Pass || indentation > 150) {\n        if (!aggressive) return;\n        how = \"prev\";\n      }\n    }\n    if (how == \"prev\") {\n      if (n > doc.first) indentation = countColumn(getLine(doc, n-1).text, null, tabSize);\n      else indentation = 0;\n    } else if (how == \"add\") {\n      indentation = curSpace + cm.options.indentUnit;\n    } else if (how == \"subtract\") {\n      indentation = curSpace - cm.options.indentUnit;\n    } else if (typeof how == \"number\") {\n      indentation = curSpace + how;\n    }\n    indentation = Math.max(0, indentation);\n\n    var indentString = \"\", pos = 0;\n    if (cm.options.indentWithTabs)\n      for (var i = Math.floor(indentation / tabSize); i; --i) {pos += tabSize; indentString += \"\\t\";}\n    if (pos < indentation) indentString += spaceStr(indentation - pos);\n\n    if (indentString != curSpaceString) {\n      replaceRange(doc, indentString, Pos(n, 0), Pos(n, curSpaceString.length), \"+input\");\n    } else {\n      // Ensure that, if the cursor was in the whitespace at the start\n      // of the line, it is moved to the end of that space.\n      for (var i = 0; i < doc.sel.ranges.length; i++) {\n        var range = doc.sel.ranges[i];\n        if (range.head.line == n && range.head.ch < curSpaceString.length) {\n          var pos = Pos(n, curSpaceString.length);\n          replaceOneSelection(doc, i, new Range(pos, pos));\n          break;\n        }\n      }\n    }\n    line.stateAfter = null;\n  }\n\n  // Utility for applying a change to a line by handle or number,\n  // returning the number and optionally registering the line as\n  // changed.\n  function changeLine(doc, handle, changeType, op) {\n    var no = handle, line = handle;\n    if (typeof handle == \"number\") line = getLine(doc, clipLine(doc, handle));\n    else no = lineNo(handle);\n    if (no == null) return null;\n    if (op(line, no) && doc.cm) regLineChange(doc.cm, no, changeType);\n    return line;\n  }\n\n  // Helper for deleting text near the selection(s), used to implement\n  // backspace, delete, and similar functionality.\n  function deleteNearSelection(cm, compute) {\n    var ranges = cm.doc.sel.ranges, kill = [];\n    // Build up a set of ranges to kill first, merging overlapping\n    // ranges.\n    for (var i = 0; i < ranges.length; i++) {\n      var toKill = compute(ranges[i]);\n      while (kill.length && cmp(toKill.from, lst(kill).to) <= 0) {\n        var replaced = kill.pop();\n        if (cmp(replaced.from, toKill.from) < 0) {\n          toKill.from = replaced.from;\n          break;\n        }\n      }\n      kill.push(toKill);\n    }\n    // Next, remove those actual ranges.\n    runInOp(cm, function() {\n      for (var i = kill.length - 1; i >= 0; i--)\n        replaceRange(cm.doc, \"\", kill[i].from, kill[i].to, \"+delete\");\n      ensureCursorVisible(cm);\n    });\n  }\n\n  // Used for horizontal relative motion. Dir is -1 or 1 (left or\n  // right), unit can be \"char\", \"column\" (like char, but doesn't\n  // cross line boundaries), \"word\" (across next word), or \"group\" (to\n  // the start of next group of word or non-word-non-whitespace\n  // chars). The visually param controls whether, in right-to-left\n  // text, direction 1 means to move towards the next index in the\n  // string, or towards the character to the right of the current\n  // position. The resulting position will have a hitSide=true\n  // property if it reached the end of the document.\n  function findPosH(doc, pos, dir, unit, visually) {\n    var line = pos.line, ch = pos.ch, origDir = dir;\n    var lineObj = getLine(doc, line);\n    var possible = true;\n    function findNextLine() {\n      var l = line + dir;\n      if (l < doc.first || l >= doc.first + doc.size) return (possible = false);\n      line = l;\n      return lineObj = getLine(doc, l);\n    }\n    function moveOnce(boundToLine) {\n      var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true);\n      if (next == null) {\n        if (!boundToLine && findNextLine()) {\n          if (visually) ch = (dir < 0 ? lineRight : lineLeft)(lineObj);\n          else ch = dir < 0 ? lineObj.text.length : 0;\n        } else return (possible = false);\n      } else ch = next;\n      return true;\n    }\n\n    if (unit == \"char\") moveOnce();\n    else if (unit == \"column\") moveOnce(true);\n    else if (unit == \"word\" || unit == \"group\") {\n      var sawType = null, group = unit == \"group\";\n      var helper = doc.cm && doc.cm.getHelper(pos, \"wordChars\");\n      for (var first = true;; first = false) {\n        if (dir < 0 && !moveOnce(!first)) break;\n        var cur = lineObj.text.charAt(ch) || \"\\n\";\n        var type = isWordChar(cur, helper) ? \"w\"\n          : group && cur == \"\\n\" ? \"n\"\n          : !group || /\\s/.test(cur) ? null\n          : \"p\";\n        if (group && !first && !type) type = \"s\";\n        if (sawType && sawType != type) {\n          if (dir < 0) {dir = 1; moveOnce();}\n          break;\n        }\n\n        if (type) sawType = type;\n        if (dir > 0 && !moveOnce(!first)) break;\n      }\n    }\n    var result = skipAtomic(doc, Pos(line, ch), origDir, true);\n    if (!possible) result.hitSide = true;\n    return result;\n  }\n\n  // For relative vertical movement. Dir may be -1 or 1. Unit can be\n  // \"page\" or \"line\". The resulting position will have a hitSide=true\n  // property if it reached the end of the document.\n  function findPosV(cm, pos, dir, unit) {\n    var doc = cm.doc, x = pos.left, y;\n    if (unit == \"page\") {\n      var pageSize = Math.min(cm.display.wrapper.clientHeight, window.innerHeight || document.documentElement.clientHeight);\n      y = pos.top + dir * (pageSize - (dir < 0 ? 1.5 : .5) * textHeight(cm.display));\n    } else if (unit == \"line\") {\n      y = dir > 0 ? pos.bottom + 3 : pos.top - 3;\n    }\n    for (;;) {\n      var target = coordsChar(cm, x, y);\n      if (!target.outside) break;\n      if (dir < 0 ? y <= 0 : y >= doc.height) { target.hitSide = true; break; }\n      y += dir * 5;\n    }\n    return target;\n  }\n\n  // EDITOR METHODS\n\n  // The publicly visible API. Note that methodOp(f) means\n  // 'wrap f in an operation, performed on its `this` parameter'.\n\n  // This is not the complete set of editor methods. Most of the\n  // methods defined on the Doc type are also injected into\n  // CodeMirror.prototype, for backwards compatibility and\n  // convenience.\n\n  CodeMirror.prototype = {\n    constructor: CodeMirror,\n    focus: function(){window.focus(); this.display.input.focus();},\n\n    setOption: function(option, value) {\n      var options = this.options, old = options[option];\n      if (options[option] == value && option != \"mode\") return;\n      options[option] = value;\n      if (optionHandlers.hasOwnProperty(option))\n        operation(this, optionHandlers[option])(this, value, old);\n    },\n\n    getOption: function(option) {return this.options[option];},\n    getDoc: function() {return this.doc;},\n\n    addKeyMap: function(map, bottom) {\n      this.state.keyMaps[bottom ? \"push\" : \"unshift\"](getKeyMap(map));\n    },\n    removeKeyMap: function(map) {\n      var maps = this.state.keyMaps;\n      for (var i = 0; i < maps.length; ++i)\n        if (maps[i] == map || maps[i].name == map) {\n          maps.splice(i, 1);\n          return true;\n        }\n    },\n\n    addOverlay: methodOp(function(spec, options) {\n      var mode = spec.token ? spec : CodeMirror.getMode(this.options, spec);\n      if (mode.startState) throw new Error(\"Overlays may not be stateful.\");\n      this.state.overlays.push({mode: mode, modeSpec: spec, opaque: options && options.opaque});\n      this.state.modeGen++;\n      regChange(this);\n    }),\n    removeOverlay: methodOp(function(spec) {\n      var overlays = this.state.overlays;\n      for (var i = 0; i < overlays.length; ++i) {\n        var cur = overlays[i].modeSpec;\n        if (cur == spec || typeof spec == \"string\" && cur.name == spec) {\n          overlays.splice(i, 1);\n          this.state.modeGen++;\n          regChange(this);\n          return;\n        }\n      }\n    }),\n\n    indentLine: methodOp(function(n, dir, aggressive) {\n      if (typeof dir != \"string\" && typeof dir != \"number\") {\n        if (dir == null) dir = this.options.smartIndent ? \"smart\" : \"prev\";\n        else dir = dir ? \"add\" : \"subtract\";\n      }\n      if (isLine(this.doc, n)) indentLine(this, n, dir, aggressive);\n    }),\n    indentSelection: methodOp(function(how) {\n      var ranges = this.doc.sel.ranges, end = -1;\n      for (var i = 0; i < ranges.length; i++) {\n        var range = ranges[i];\n        if (!range.empty()) {\n          var from = range.from(), to = range.to();\n          var start = Math.max(end, from.line);\n          end = Math.min(this.lastLine(), to.line - (to.ch ? 0 : 1)) + 1;\n          for (var j = start; j < end; ++j)\n            indentLine(this, j, how);\n          var newRanges = this.doc.sel.ranges;\n          if (from.ch == 0 && ranges.length == newRanges.length && newRanges[i].from().ch > 0)\n            replaceOneSelection(this.doc, i, new Range(from, newRanges[i].to()), sel_dontScroll);\n        } else if (range.head.line > end) {\n          indentLine(this, range.head.line, how, true);\n          end = range.head.line;\n          if (i == this.doc.sel.primIndex) ensureCursorVisible(this);\n        }\n      }\n    }),\n\n    // Fetch the parser token for a given character. Useful for hacks\n    // that want to inspect the mode state (say, for completion).\n    getTokenAt: function(pos, precise) {\n      return takeToken(this, pos, precise);\n    },\n\n    getLineTokens: function(line, precise) {\n      return takeToken(this, Pos(line), precise, true);\n    },\n\n    getTokenTypeAt: function(pos) {\n      pos = clipPos(this.doc, pos);\n      var styles = getLineStyles(this, getLine(this.doc, pos.line));\n      var before = 0, after = (styles.length - 1) / 2, ch = pos.ch;\n      var type;\n      if (ch == 0) type = styles[2];\n      else for (;;) {\n        var mid = (before + after) >> 1;\n        if ((mid ? styles[mid * 2 - 1] : 0) >= ch) after = mid;\n        else if (styles[mid * 2 + 1] < ch) before = mid + 1;\n        else { type = styles[mid * 2 + 2]; break; }\n      }\n      var cut = type ? type.indexOf(\"cm-overlay \") : -1;\n      return cut < 0 ? type : cut == 0 ? null : type.slice(0, cut - 1);\n    },\n\n    getModeAt: function(pos) {\n      var mode = this.doc.mode;\n      if (!mode.innerMode) return mode;\n      return CodeMirror.innerMode(mode, this.getTokenAt(pos).state).mode;\n    },\n\n    getHelper: function(pos, type) {\n      return this.getHelpers(pos, type)[0];\n    },\n\n    getHelpers: function(pos, type) {\n      var found = [];\n      if (!helpers.hasOwnProperty(type)) return helpers;\n      var help = helpers[type], mode = this.getModeAt(pos);\n      if (typeof mode[type] == \"string\") {\n        if (help[mode[type]]) found.push(help[mode[type]]);\n      } else if (mode[type]) {\n        for (var i = 0; i < mode[type].length; i++) {\n          var val = help[mode[type][i]];\n          if (val) found.push(val);\n        }\n      } else if (mode.helperType && help[mode.helperType]) {\n        found.push(help[mode.helperType]);\n      } else if (help[mode.name]) {\n        found.push(help[mode.name]);\n      }\n      for (var i = 0; i < help._global.length; i++) {\n        var cur = help._global[i];\n        if (cur.pred(mode, this) && indexOf(found, cur.val) == -1)\n          found.push(cur.val);\n      }\n      return found;\n    },\n\n    getStateAfter: function(line, precise) {\n      var doc = this.doc;\n      line = clipLine(doc, line == null ? doc.first + doc.size - 1: line);\n      return getStateBefore(this, line + 1, precise);\n    },\n\n    cursorCoords: function(start, mode) {\n      var pos, range = this.doc.sel.primary();\n      if (start == null) pos = range.head;\n      else if (typeof start == \"object\") pos = clipPos(this.doc, start);\n      else pos = start ? range.from() : range.to();\n      return cursorCoords(this, pos, mode || \"page\");\n    },\n\n    charCoords: function(pos, mode) {\n      return charCoords(this, clipPos(this.doc, pos), mode || \"page\");\n    },\n\n    coordsChar: function(coords, mode) {\n      coords = fromCoordSystem(this, coords, mode || \"page\");\n      return coordsChar(this, coords.left, coords.top);\n    },\n\n    lineAtHeight: function(height, mode) {\n      height = fromCoordSystem(this, {top: height, left: 0}, mode || \"page\").top;\n      return lineAtHeight(this.doc, height + this.display.viewOffset);\n    },\n    heightAtLine: function(line, mode) {\n      var end = false, last = this.doc.first + this.doc.size - 1;\n      if (line < this.doc.first) line = this.doc.first;\n      else if (line > last) { line = last; end = true; }\n      var lineObj = getLine(this.doc, line);\n      return intoCoordSystem(this, lineObj, {top: 0, left: 0}, mode || \"page\").top +\n        (end ? this.doc.height - heightAtLine(lineObj) : 0);\n    },\n\n    defaultTextHeight: function() { return textHeight(this.display); },\n    defaultCharWidth: function() { return charWidth(this.display); },\n\n    setGutterMarker: methodOp(function(line, gutterID, value) {\n      return changeLine(this.doc, line, \"gutter\", function(line) {\n        var markers = line.gutterMarkers || (line.gutterMarkers = {});\n        markers[gutterID] = value;\n        if (!value && isEmpty(markers)) line.gutterMarkers = null;\n        return true;\n      });\n    }),\n\n    clearGutter: methodOp(function(gutterID) {\n      var cm = this, doc = cm.doc, i = doc.first;\n      doc.iter(function(line) {\n        if (line.gutterMarkers && line.gutterMarkers[gutterID]) {\n          line.gutterMarkers[gutterID] = null;\n          regLineChange(cm, i, \"gutter\");\n          if (isEmpty(line.gutterMarkers)) line.gutterMarkers = null;\n        }\n        ++i;\n      });\n    }),\n\n    addLineWidget: methodOp(function(handle, node, options) {\n      return addLineWidget(this, handle, node, options);\n    }),\n\n    removeLineWidget: function(widget) { widget.clear(); },\n\n    lineInfo: function(line) {\n      if (typeof line == \"number\") {\n        if (!isLine(this.doc, line)) return null;\n        var n = line;\n        line = getLine(this.doc, line);\n        if (!line) return null;\n      } else {\n        var n = lineNo(line);\n        if (n == null) return null;\n      }\n      return {line: n, handle: line, text: line.text, gutterMarkers: line.gutterMarkers,\n              textClass: line.textClass, bgClass: line.bgClass, wrapClass: line.wrapClass,\n              widgets: line.widgets};\n    },\n\n    getViewport: function() { return {from: this.display.viewFrom, to: this.display.viewTo};},\n\n    addWidget: function(pos, node, scroll, vert, horiz) {\n      var display = this.display;\n      pos = cursorCoords(this, clipPos(this.doc, pos));\n      var top = pos.bottom, left = pos.left;\n      node.style.position = \"absolute\";\n      node.setAttribute(\"cm-ignore-events\", \"true\");\n      this.display.input.setUneditable(node);\n      display.sizer.appendChild(node);\n      if (vert == \"over\") {\n        top = pos.top;\n      } else if (vert == \"above\" || vert == \"near\") {\n        var vspace = Math.max(display.wrapper.clientHeight, this.doc.height),\n        hspace = Math.max(display.sizer.clientWidth, display.lineSpace.clientWidth);\n        // Default to positioning above (if specified and possible); otherwise default to positioning below\n        if ((vert == 'above' || pos.bottom + node.offsetHeight > vspace) && pos.top > node.offsetHeight)\n          top = pos.top - node.offsetHeight;\n        else if (pos.bottom + node.offsetHeight <= vspace)\n          top = pos.bottom;\n        if (left + node.offsetWidth > hspace)\n          left = hspace - node.offsetWidth;\n      }\n      node.style.top = top + \"px\";\n      node.style.left = node.style.right = \"\";\n      if (horiz == \"right\") {\n        left = display.sizer.clientWidth - node.offsetWidth;\n        node.style.right = \"0px\";\n      } else {\n        if (horiz == \"left\") left = 0;\n        else if (horiz == \"middle\") left = (display.sizer.clientWidth - node.offsetWidth) / 2;\n        node.style.left = left + \"px\";\n      }\n      if (scroll)\n        scrollIntoView(this, left, top, left + node.offsetWidth, top + node.offsetHeight);\n    },\n\n    triggerOnKeyDown: methodOp(onKeyDown),\n    triggerOnKeyPress: methodOp(onKeyPress),\n    triggerOnKeyUp: onKeyUp,\n\n    execCommand: function(cmd) {\n      if (commands.hasOwnProperty(cmd))\n        return commands[cmd](this);\n    },\n\n    findPosH: function(from, amount, unit, visually) {\n      var dir = 1;\n      if (amount < 0) { dir = -1; amount = -amount; }\n      for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {\n        cur = findPosH(this.doc, cur, dir, unit, visually);\n        if (cur.hitSide) break;\n      }\n      return cur;\n    },\n\n    moveH: methodOp(function(dir, unit) {\n      var cm = this;\n      cm.extendSelectionsBy(function(range) {\n        if (cm.display.shift || cm.doc.extend || range.empty())\n          return findPosH(cm.doc, range.head, dir, unit, cm.options.rtlMoveVisually);\n        else\n          return dir < 0 ? range.from() : range.to();\n      }, sel_move);\n    }),\n\n    deleteH: methodOp(function(dir, unit) {\n      var sel = this.doc.sel, doc = this.doc;\n      if (sel.somethingSelected())\n        doc.replaceSelection(\"\", null, \"+delete\");\n      else\n        deleteNearSelection(this, function(range) {\n          var other = findPosH(doc, range.head, dir, unit, false);\n          return dir < 0 ? {from: other, to: range.head} : {from: range.head, to: other};\n        });\n    }),\n\n    findPosV: function(from, amount, unit, goalColumn) {\n      var dir = 1, x = goalColumn;\n      if (amount < 0) { dir = -1; amount = -amount; }\n      for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {\n        var coords = cursorCoords(this, cur, \"div\");\n        if (x == null) x = coords.left;\n        else coords.left = x;\n        cur = findPosV(this, coords, dir, unit);\n        if (cur.hitSide) break;\n      }\n      return cur;\n    },\n\n    moveV: methodOp(function(dir, unit) {\n      var cm = this, doc = this.doc, goals = [];\n      var collapse = !cm.display.shift && !doc.extend && doc.sel.somethingSelected();\n      doc.extendSelectionsBy(function(range) {\n        if (collapse)\n          return dir < 0 ? range.from() : range.to();\n        var headPos = cursorCoords(cm, range.head, \"div\");\n        if (range.goalColumn != null) headPos.left = range.goalColumn;\n        goals.push(headPos.left);\n        var pos = findPosV(cm, headPos, dir, unit);\n        if (unit == \"page\" && range == doc.sel.primary())\n          addToScrollPos(cm, null, charCoords(cm, pos, \"div\").top - headPos.top);\n        return pos;\n      }, sel_move);\n      if (goals.length) for (var i = 0; i < doc.sel.ranges.length; i++)\n        doc.sel.ranges[i].goalColumn = goals[i];\n    }),\n\n    // Find the word at the given position (as returned by coordsChar).\n    findWordAt: function(pos) {\n      var doc = this.doc, line = getLine(doc, pos.line).text;\n      var start = pos.ch, end = pos.ch;\n      if (line) {\n        var helper = this.getHelper(pos, \"wordChars\");\n        if ((pos.xRel < 0 || end == line.length) && start) --start; else ++end;\n        var startChar = line.charAt(start);\n        var check = isWordChar(startChar, helper)\n          ? function(ch) { return isWordChar(ch, helper); }\n          : /\\s/.test(startChar) ? function(ch) {return /\\s/.test(ch);}\n          : function(ch) {return !/\\s/.test(ch) && !isWordChar(ch);};\n        while (start > 0 && check(line.charAt(start - 1))) --start;\n        while (end < line.length && check(line.charAt(end))) ++end;\n      }\n      return new Range(Pos(pos.line, start), Pos(pos.line, end));\n    },\n\n    toggleOverwrite: function(value) {\n      if (value != null && value == this.state.overwrite) return;\n      if (this.state.overwrite = !this.state.overwrite)\n        addClass(this.display.cursorDiv, \"CodeMirror-overwrite\");\n      else\n        rmClass(this.display.cursorDiv, \"CodeMirror-overwrite\");\n\n      signal(this, \"overwriteToggle\", this, this.state.overwrite);\n    },\n    hasFocus: function() { return this.display.input.getField() == activeElt(); },\n\n    scrollTo: methodOp(function(x, y) {\n      if (x != null || y != null) resolveScrollToPos(this);\n      if (x != null) this.curOp.scrollLeft = x;\n      if (y != null) this.curOp.scrollTop = y;\n    }),\n    getScrollInfo: function() {\n      var scroller = this.display.scroller;\n      return {left: scroller.scrollLeft, top: scroller.scrollTop,\n              height: scroller.scrollHeight - scrollGap(this) - this.display.barHeight,\n              width: scroller.scrollWidth - scrollGap(this) - this.display.barWidth,\n              clientHeight: displayHeight(this), clientWidth: displayWidth(this)};\n    },\n\n    scrollIntoView: methodOp(function(range, margin) {\n      if (range == null) {\n        range = {from: this.doc.sel.primary().head, to: null};\n        if (margin == null) margin = this.options.cursorScrollMargin;\n      } else if (typeof range == \"number\") {\n        range = {from: Pos(range, 0), to: null};\n      } else if (range.from == null) {\n        range = {from: range, to: null};\n      }\n      if (!range.to) range.to = range.from;\n      range.margin = margin || 0;\n\n      if (range.from.line != null) {\n        resolveScrollToPos(this);\n        this.curOp.scrollToPos = range;\n      } else {\n        var sPos = calculateScrollPos(this, Math.min(range.from.left, range.to.left),\n                                      Math.min(range.from.top, range.to.top) - range.margin,\n                                      Math.max(range.from.right, range.to.right),\n                                      Math.max(range.from.bottom, range.to.bottom) + range.margin);\n        this.scrollTo(sPos.scrollLeft, sPos.scrollTop);\n      }\n    }),\n\n    setSize: methodOp(function(width, height) {\n      var cm = this;\n      function interpret(val) {\n        return typeof val == \"number\" || /^\\d+$/.test(String(val)) ? val + \"px\" : val;\n      }\n      if (width != null) cm.display.wrapper.style.width = interpret(width);\n      if (height != null) cm.display.wrapper.style.height = interpret(height);\n      if (cm.options.lineWrapping) clearLineMeasurementCache(this);\n      var lineNo = cm.display.viewFrom;\n      cm.doc.iter(lineNo, cm.display.viewTo, function(line) {\n        if (line.widgets) for (var i = 0; i < line.widgets.length; i++)\n          if (line.widgets[i].noHScroll) { regLineChange(cm, lineNo, \"widget\"); break; }\n        ++lineNo;\n      });\n      cm.curOp.forceUpdate = true;\n      signal(cm, \"refresh\", this);\n    }),\n\n    operation: function(f){return runInOp(this, f);},\n\n    refresh: methodOp(function() {\n      var oldHeight = this.display.cachedTextHeight;\n      regChange(this);\n      this.curOp.forceUpdate = true;\n      clearCaches(this);\n      this.scrollTo(this.doc.scrollLeft, this.doc.scrollTop);\n      updateGutterSpace(this);\n      if (oldHeight == null || Math.abs(oldHeight - textHeight(this.display)) > .5)\n        estimateLineHeights(this);\n      signal(this, \"refresh\", this);\n    }),\n\n    swapDoc: methodOp(function(doc) {\n      var old = this.doc;\n      old.cm = null;\n      attachDoc(this, doc);\n      clearCaches(this);\n      this.display.input.reset();\n      this.scrollTo(doc.scrollLeft, doc.scrollTop);\n      this.curOp.forceScroll = true;\n      signalLater(this, \"swapDoc\", this, old);\n      return old;\n    }),\n\n    getInputField: function(){return this.display.input.getField();},\n    getWrapperElement: function(){return this.display.wrapper;},\n    getScrollerElement: function(){return this.display.scroller;},\n    getGutterElement: function(){return this.display.gutters;}\n  };\n  eventMixin(CodeMirror);\n\n  // OPTION DEFAULTS\n\n  // The default configuration options.\n  var defaults = CodeMirror.defaults = {};\n  // Functions to run when options are changed.\n  var optionHandlers = CodeMirror.optionHandlers = {};\n\n  function option(name, deflt, handle, notOnInit) {\n    CodeMirror.defaults[name] = deflt;\n    if (handle) optionHandlers[name] =\n      notOnInit ? function(cm, val, old) {if (old != Init) handle(cm, val, old);} : handle;\n  }\n\n  // Passed to option handlers when there is no old value.\n  var Init = CodeMirror.Init = {toString: function(){return \"CodeMirror.Init\";}};\n\n  // These two are, on init, called from the constructor because they\n  // have to be initialized before the editor can start at all.\n  option(\"value\", \"\", function(cm, val) {\n    cm.setValue(val);\n  }, true);\n  option(\"mode\", null, function(cm, val) {\n    cm.doc.modeOption = val;\n    loadMode(cm);\n  }, true);\n\n  option(\"indentUnit\", 2, loadMode, true);\n  option(\"indentWithTabs\", false);\n  option(\"smartIndent\", true);\n  option(\"tabSize\", 4, function(cm) {\n    resetModeState(cm);\n    clearCaches(cm);\n    regChange(cm);\n  }, true);\n  option(\"specialChars\", /[\\t\\u0000-\\u0019\\u00ad\\u200b-\\u200f\\u2028\\u2029\\ufeff]/g, function(cm, val) {\n    cm.options.specialChars = new RegExp(val.source + (val.test(\"\\t\") ? \"\" : \"|\\t\"), \"g\");\n    cm.refresh();\n  }, true);\n  option(\"specialCharPlaceholder\", defaultSpecialCharPlaceholder, function(cm) {cm.refresh();}, true);\n  option(\"electricChars\", true);\n  option(\"inputStyle\", mobile ? \"contenteditable\" : \"textarea\", function() {\n    throw new Error(\"inputStyle can not (yet) be changed in a running editor\"); // FIXME\n  }, true);\n  option(\"rtlMoveVisually\", !windows);\n  option(\"wholeLineUpdateBefore\", true);\n\n  option(\"theme\", \"default\", function(cm) {\n    themeChanged(cm);\n    guttersChanged(cm);\n  }, true);\n  option(\"keyMap\", \"default\", function(cm, val, old) {\n    var next = getKeyMap(val);\n    var prev = old != CodeMirror.Init && getKeyMap(old);\n    if (prev && prev.detach) prev.detach(cm, next);\n    if (next.attach) next.attach(cm, prev || null);\n  });\n  option(\"extraKeys\", null);\n\n  option(\"lineWrapping\", false, wrappingChanged, true);\n  option(\"gutters\", [], function(cm) {\n    setGuttersForLineNumbers(cm.options);\n    guttersChanged(cm);\n  }, true);\n  option(\"fixedGutter\", true, function(cm, val) {\n    cm.display.gutters.style.left = val ? compensateForHScroll(cm.display) + \"px\" : \"0\";\n    cm.refresh();\n  }, true);\n  option(\"coverGutterNextToScrollbar\", false, function(cm) {updateScrollbars(cm);}, true);\n  option(\"scrollbarStyle\", \"native\", function(cm) {\n    initScrollbars(cm);\n    updateScrollbars(cm);\n    cm.display.scrollbars.setScrollTop(cm.doc.scrollTop);\n    cm.display.scrollbars.setScrollLeft(cm.doc.scrollLeft);\n  }, true);\n  option(\"lineNumbers\", false, function(cm) {\n    setGuttersForLineNumbers(cm.options);\n    guttersChanged(cm);\n  }, true);\n  option(\"firstLineNumber\", 1, guttersChanged, true);\n  option(\"lineNumberFormatter\", function(integer) {return integer;}, guttersChanged, true);\n  option(\"showCursorWhenSelecting\", false, updateSelection, true);\n\n  option(\"resetSelectionOnContextMenu\", true);\n\n  option(\"readOnly\", false, function(cm, val) {\n    if (val == \"nocursor\") {\n      onBlur(cm);\n      cm.display.input.blur();\n      cm.display.disabled = true;\n    } else {\n      cm.display.disabled = false;\n      if (!val) cm.display.input.reset();\n    }\n  });\n  option(\"disableInput\", false, function(cm, val) {if (!val) cm.display.input.reset();}, true);\n  option(\"dragDrop\", true);\n\n  option(\"cursorBlinkRate\", 530);\n  option(\"cursorScrollMargin\", 0);\n  option(\"cursorHeight\", 1, updateSelection, true);\n  option(\"singleCursorHeightPerLine\", true, updateSelection, true);\n  option(\"workTime\", 100);\n  option(\"workDelay\", 100);\n  option(\"flattenSpans\", true, resetModeState, true);\n  option(\"addModeClass\", false, resetModeState, true);\n  option(\"pollInterval\", 100);\n  option(\"undoDepth\", 200, function(cm, val){cm.doc.history.undoDepth = val;});\n  option(\"historyEventDelay\", 1250);\n  option(\"viewportMargin\", 10, function(cm){cm.refresh();}, true);\n  option(\"maxHighlightLength\", 10000, resetModeState, true);\n  option(\"moveInputWithCursor\", true, function(cm, val) {\n    if (!val) cm.display.input.resetPosition();\n  });\n\n  option(\"tabindex\", null, function(cm, val) {\n    cm.display.input.getField().tabIndex = val || \"\";\n  });\n  option(\"autofocus\", null);\n\n  // MODE DEFINITION AND QUERYING\n\n  // Known modes, by name and by MIME\n  var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};\n\n  // Extra arguments are stored as the mode's dependencies, which is\n  // used by (legacy) mechanisms like loadmode.js to automatically\n  // load a mode. (Preferred mechanism is the require/define calls.)\n  CodeMirror.defineMode = function(name, mode) {\n    if (!CodeMirror.defaults.mode && name != \"null\") CodeMirror.defaults.mode = name;\n    if (arguments.length > 2)\n      mode.dependencies = Array.prototype.slice.call(arguments, 2);\n    modes[name] = mode;\n  };\n\n  CodeMirror.defineMIME = function(mime, spec) {\n    mimeModes[mime] = spec;\n  };\n\n  // Given a MIME type, a {name, ...options} config object, or a name\n  // string, return a mode config object.\n  CodeMirror.resolveMode = function(spec) {\n    if (typeof spec == \"string\" && mimeModes.hasOwnProperty(spec)) {\n      spec = mimeModes[spec];\n    } else if (spec && typeof spec.name == \"string\" && mimeModes.hasOwnProperty(spec.name)) {\n      var found = mimeModes[spec.name];\n      if (typeof found == \"string\") found = {name: found};\n      spec = createObj(found, spec);\n      spec.name = found.name;\n    } else if (typeof spec == \"string\" && /^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(spec)) {\n      return CodeMirror.resolveMode(\"application/xml\");\n    }\n    if (typeof spec == \"string\") return {name: spec};\n    else return spec || {name: \"null\"};\n  };\n\n  // Given a mode spec (anything that resolveMode accepts), find and\n  // initialize an actual mode object.\n  CodeMirror.getMode = function(options, spec) {\n    var spec = CodeMirror.resolveMode(spec);\n    var mfactory = modes[spec.name];\n    if (!mfactory) return CodeMirror.getMode(options, \"text/plain\");\n    var modeObj = mfactory(options, spec);\n    if (modeExtensions.hasOwnProperty(spec.name)) {\n      var exts = modeExtensions[spec.name];\n      for (var prop in exts) {\n        if (!exts.hasOwnProperty(prop)) continue;\n        if (modeObj.hasOwnProperty(prop)) modeObj[\"_\" + prop] = modeObj[prop];\n        modeObj[prop] = exts[prop];\n      }\n    }\n    modeObj.name = spec.name;\n    if (spec.helperType) modeObj.helperType = spec.helperType;\n    if (spec.modeProps) for (var prop in spec.modeProps)\n      modeObj[prop] = spec.modeProps[prop];\n\n    return modeObj;\n  };\n\n  // Minimal default mode.\n  CodeMirror.defineMode(\"null\", function() {\n    return {token: function(stream) {stream.skipToEnd();}};\n  });\n  CodeMirror.defineMIME(\"text/plain\", \"null\");\n\n  // This can be used to attach properties to mode objects from\n  // outside the actual mode definition.\n  var modeExtensions = CodeMirror.modeExtensions = {};\n  CodeMirror.extendMode = function(mode, properties) {\n    var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});\n    copyObj(properties, exts);\n  };\n\n  // EXTENSIONS\n\n  CodeMirror.defineExtension = function(name, func) {\n    CodeMirror.prototype[name] = func;\n  };\n  CodeMirror.defineDocExtension = function(name, func) {\n    Doc.prototype[name] = func;\n  };\n  CodeMirror.defineOption = option;\n\n  var initHooks = [];\n  CodeMirror.defineInitHook = function(f) {initHooks.push(f);};\n\n  var helpers = CodeMirror.helpers = {};\n  CodeMirror.registerHelper = function(type, name, value) {\n    if (!helpers.hasOwnProperty(type)) helpers[type] = CodeMirror[type] = {_global: []};\n    helpers[type][name] = value;\n  };\n  CodeMirror.registerGlobalHelper = function(type, name, predicate, value) {\n    CodeMirror.registerHelper(type, name, value);\n    helpers[type]._global.push({pred: predicate, val: value});\n  };\n\n  // MODE STATE HANDLING\n\n  // Utility functions for working with state. Exported because nested\n  // modes need to do this for their inner modes.\n\n  var copyState = CodeMirror.copyState = function(mode, state) {\n    if (state === true) return state;\n    if (mode.copyState) return mode.copyState(state);\n    var nstate = {};\n    for (var n in state) {\n      var val = state[n];\n      if (val instanceof Array) val = val.concat([]);\n      nstate[n] = val;\n    }\n    return nstate;\n  };\n\n  var startState = CodeMirror.startState = function(mode, a1, a2) {\n    return mode.startState ? mode.startState(a1, a2) : true;\n  };\n\n  // Given a mode and a state (for that mode), find the inner mode and\n  // state at the position that the state refers to.\n  CodeMirror.innerMode = function(mode, state) {\n    while (mode.innerMode) {\n      var info = mode.innerMode(state);\n      if (!info || info.mode == mode) break;\n      state = info.state;\n      mode = info.mode;\n    }\n    return info || {mode: mode, state: state};\n  };\n\n  // STANDARD COMMANDS\n\n  // Commands are parameter-less actions that can be performed on an\n  // editor, mostly used for keybindings.\n  var commands = CodeMirror.commands = {\n    selectAll: function(cm) {cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()), sel_dontScroll);},\n    singleSelection: function(cm) {\n      cm.setSelection(cm.getCursor(\"anchor\"), cm.getCursor(\"head\"), sel_dontScroll);\n    },\n    killLine: function(cm) {\n      deleteNearSelection(cm, function(range) {\n        if (range.empty()) {\n          var len = getLine(cm.doc, range.head.line).text.length;\n          if (range.head.ch == len && range.head.line < cm.lastLine())\n            return {from: range.head, to: Pos(range.head.line + 1, 0)};\n          else\n            return {from: range.head, to: Pos(range.head.line, len)};\n        } else {\n          return {from: range.from(), to: range.to()};\n        }\n      });\n    },\n    deleteLine: function(cm) {\n      deleteNearSelection(cm, function(range) {\n        return {from: Pos(range.from().line, 0),\n                to: clipPos(cm.doc, Pos(range.to().line + 1, 0))};\n      });\n    },\n    delLineLeft: function(cm) {\n      deleteNearSelection(cm, function(range) {\n        return {from: Pos(range.from().line, 0), to: range.from()};\n      });\n    },\n    delWrappedLineLeft: function(cm) {\n      deleteNearSelection(cm, function(range) {\n        var top = cm.charCoords(range.head, \"div\").top + 5;\n        var leftPos = cm.coordsChar({left: 0, top: top}, \"div\");\n        return {from: leftPos, to: range.from()};\n      });\n    },\n    delWrappedLineRight: function(cm) {\n      deleteNearSelection(cm, function(range) {\n        var top = cm.charCoords(range.head, \"div\").top + 5;\n        var rightPos = cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\");\n        return {from: range.from(), to: rightPos };\n      });\n    },\n    undo: function(cm) {cm.undo();},\n    redo: function(cm) {cm.redo();},\n    undoSelection: function(cm) {cm.undoSelection();},\n    redoSelection: function(cm) {cm.redoSelection();},\n    goDocStart: function(cm) {cm.extendSelection(Pos(cm.firstLine(), 0));},\n    goDocEnd: function(cm) {cm.extendSelection(Pos(cm.lastLine()));},\n    goLineStart: function(cm) {\n      cm.extendSelectionsBy(function(range) { return lineStart(cm, range.head.line); },\n                            {origin: \"+move\", bias: 1});\n    },\n    goLineStartSmart: function(cm) {\n      cm.extendSelectionsBy(function(range) {\n        return lineStartSmart(cm, range.head);\n      }, {origin: \"+move\", bias: 1});\n    },\n    goLineEnd: function(cm) {\n      cm.extendSelectionsBy(function(range) { return lineEnd(cm, range.head.line); },\n                            {origin: \"+move\", bias: -1});\n    },\n    goLineRight: function(cm) {\n      cm.extendSelectionsBy(function(range) {\n        var top = cm.charCoords(range.head, \"div\").top + 5;\n        return cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\");\n      }, sel_move);\n    },\n    goLineLeft: function(cm) {\n      cm.extendSelectionsBy(function(range) {\n        var top = cm.charCoords(range.head, \"div\").top + 5;\n        return cm.coordsChar({left: 0, top: top}, \"div\");\n      }, sel_move);\n    },\n    goLineLeftSmart: function(cm) {\n      cm.extendSelectionsBy(function(range) {\n        var top = cm.charCoords(range.head, \"div\").top + 5;\n        var pos = cm.coordsChar({left: 0, top: top}, \"div\");\n        if (pos.ch < cm.getLine(pos.line).search(/\\S/)) return lineStartSmart(cm, range.head);\n        return pos;\n      }, sel_move);\n    },\n    goLineUp: function(cm) {cm.moveV(-1, \"line\");},\n    goLineDown: function(cm) {cm.moveV(1, \"line\");},\n    goPageUp: function(cm) {cm.moveV(-1, \"page\");},\n    goPageDown: function(cm) {cm.moveV(1, \"page\");},\n    goCharLeft: function(cm) {cm.moveH(-1, \"char\");},\n    goCharRight: function(cm) {cm.moveH(1, \"char\");},\n    goColumnLeft: function(cm) {cm.moveH(-1, \"column\");},\n    goColumnRight: function(cm) {cm.moveH(1, \"column\");},\n    goWordLeft: function(cm) {cm.moveH(-1, \"word\");},\n    goGroupRight: function(cm) {cm.moveH(1, \"group\");},\n    goGroupLeft: function(cm) {cm.moveH(-1, \"group\");},\n    goWordRight: function(cm) {cm.moveH(1, \"word\");},\n    delCharBefore: function(cm) {cm.deleteH(-1, \"char\");},\n    delCharAfter: function(cm) {cm.deleteH(1, \"char\");},\n    delWordBefore: function(cm) {cm.deleteH(-1, \"word\");},\n    delWordAfter: function(cm) {cm.deleteH(1, \"word\");},\n    delGroupBefore: function(cm) {cm.deleteH(-1, \"group\");},\n    delGroupAfter: function(cm) {cm.deleteH(1, \"group\");},\n    indentAuto: function(cm) {cm.indentSelection(\"smart\");},\n    indentMore: function(cm) {cm.indentSelection(\"add\");},\n    indentLess: function(cm) {cm.indentSelection(\"subtract\");},\n    insertTab: function(cm) {cm.replaceSelection(\"\\t\");},\n    insertSoftTab: function(cm) {\n      var spaces = [], ranges = cm.listSelections(), tabSize = cm.options.tabSize;\n      for (var i = 0; i < ranges.length; i++) {\n        var pos = ranges[i].from();\n        var col = countColumn(cm.getLine(pos.line), pos.ch, tabSize);\n        spaces.push(new Array(tabSize - col % tabSize + 1).join(\" \"));\n      }\n      cm.replaceSelections(spaces);\n    },\n    defaultTab: function(cm) {\n      if (cm.somethingSelected()) cm.indentSelection(\"add\");\n      else cm.execCommand(\"insertTab\");\n    },\n    transposeChars: function(cm) {\n      runInOp(cm, function() {\n        var ranges = cm.listSelections(), newSel = [];\n        for (var i = 0; i < ranges.length; i++) {\n          var cur = ranges[i].head, line = getLine(cm.doc, cur.line).text;\n          if (line) {\n            if (cur.ch == line.length) cur = new Pos(cur.line, cur.ch - 1);\n            if (cur.ch > 0) {\n              cur = new Pos(cur.line, cur.ch + 1);\n              cm.replaceRange(line.charAt(cur.ch - 1) + line.charAt(cur.ch - 2),\n                              Pos(cur.line, cur.ch - 2), cur, \"+transpose\");\n            } else if (cur.line > cm.doc.first) {\n              var prev = getLine(cm.doc, cur.line - 1).text;\n              if (prev)\n                cm.replaceRange(line.charAt(0) + \"\\n\" + prev.charAt(prev.length - 1),\n                                Pos(cur.line - 1, prev.length - 1), Pos(cur.line, 1), \"+transpose\");\n            }\n          }\n          newSel.push(new Range(cur, cur));\n        }\n        cm.setSelections(newSel);\n      });\n    },\n    newlineAndIndent: function(cm) {\n      runInOp(cm, function() {\n        var len = cm.listSelections().length;\n        for (var i = 0; i < len; i++) {\n          var range = cm.listSelections()[i];\n          cm.replaceRange(\"\\n\", range.anchor, range.head, \"+input\");\n          cm.indentLine(range.from().line + 1, null, true);\n          ensureCursorVisible(cm);\n        }\n      });\n    },\n    toggleOverwrite: function(cm) {cm.toggleOverwrite();}\n  };\n\n\n  // STANDARD KEYMAPS\n\n  var keyMap = CodeMirror.keyMap = {};\n\n  keyMap.basic = {\n    \"Left\": \"goCharLeft\", \"Right\": \"goCharRight\", \"Up\": \"goLineUp\", \"Down\": \"goLineDown\",\n    \"End\": \"goLineEnd\", \"Home\": \"goLineStartSmart\", \"PageUp\": \"goPageUp\", \"PageDown\": \"goPageDown\",\n    \"Delete\": \"delCharAfter\", \"Backspace\": \"delCharBefore\", \"Shift-Backspace\": \"delCharBefore\",\n    \"Tab\": \"defaultTab\", \"Shift-Tab\": \"indentAuto\",\n    \"Enter\": \"newlineAndIndent\", \"Insert\": \"toggleOverwrite\",\n    \"Esc\": \"singleSelection\"\n  };\n  // Note that the save and find-related commands aren't defined by\n  // default. User code or addons can define them. Unknown commands\n  // are simply ignored.\n  keyMap.pcDefault = {\n    \"Ctrl-A\": \"selectAll\", \"Ctrl-D\": \"deleteLine\", \"Ctrl-Z\": \"undo\", \"Shift-Ctrl-Z\": \"redo\", \"Ctrl-Y\": \"redo\",\n    \"Ctrl-Home\": \"goDocStart\", \"Ctrl-End\": \"goDocEnd\", \"Ctrl-Up\": \"goLineUp\", \"Ctrl-Down\": \"goLineDown\",\n    \"Ctrl-Left\": \"goGroupLeft\", \"Ctrl-Right\": \"goGroupRight\", \"Alt-Left\": \"goLineStart\", \"Alt-Right\": \"goLineEnd\",\n    \"Ctrl-Backspace\": \"delGroupBefore\", \"Ctrl-Delete\": \"delGroupAfter\", \"Ctrl-S\": \"save\", \"Ctrl-F\": \"find\",\n    \"Ctrl-G\": \"findNext\", \"Shift-Ctrl-G\": \"findPrev\", \"Shift-Ctrl-F\": \"replace\", \"Shift-Ctrl-R\": \"replaceAll\",\n    \"Ctrl-[\": \"indentLess\", \"Ctrl-]\": \"indentMore\",\n    \"Ctrl-U\": \"undoSelection\", \"Shift-Ctrl-U\": \"redoSelection\", \"Alt-U\": \"redoSelection\",\n    fallthrough: \"basic\"\n  };\n  // Very basic readline/emacs-style bindings, which are standard on Mac.\n  keyMap.emacsy = {\n    \"Ctrl-F\": \"goCharRight\", \"Ctrl-B\": \"goCharLeft\", \"Ctrl-P\": \"goLineUp\", \"Ctrl-N\": \"goLineDown\",\n    \"Alt-F\": \"goWordRight\", \"Alt-B\": \"goWordLeft\", \"Ctrl-A\": \"goLineStart\", \"Ctrl-E\": \"goLineEnd\",\n    \"Ctrl-V\": \"goPageDown\", \"Shift-Ctrl-V\": \"goPageUp\", \"Ctrl-D\": \"delCharAfter\", \"Ctrl-H\": \"delCharBefore\",\n    \"Alt-D\": \"delWordAfter\", \"Alt-Backspace\": \"delWordBefore\", \"Ctrl-K\": \"killLine\", \"Ctrl-T\": \"transposeChars\"\n  };\n  keyMap.macDefault = {\n    \"Cmd-A\": \"selectAll\", \"Cmd-D\": \"deleteLine\", \"Cmd-Z\": \"undo\", \"Shift-Cmd-Z\": \"redo\", \"Cmd-Y\": \"redo\",\n    \"Cmd-Home\": \"goDocStart\", \"Cmd-Up\": \"goDocStart\", \"Cmd-End\": \"goDocEnd\", \"Cmd-Down\": \"goDocEnd\", \"Alt-Left\": \"goGroupLeft\",\n    \"Alt-Right\": \"goGroupRight\", \"Cmd-Left\": \"goLineLeft\", \"Cmd-Right\": \"goLineRight\", \"Alt-Backspace\": \"delGroupBefore\",\n    \"Ctrl-Alt-Backspace\": \"delGroupAfter\", \"Alt-Delete\": \"delGroupAfter\", \"Cmd-S\": \"save\", \"Cmd-F\": \"find\",\n    \"Cmd-G\": \"findNext\", \"Shift-Cmd-G\": \"findPrev\", \"Cmd-Alt-F\": \"replace\", \"Shift-Cmd-Alt-F\": \"replaceAll\",\n    \"Cmd-[\": \"indentLess\", \"Cmd-]\": \"indentMore\", \"Cmd-Backspace\": \"delWrappedLineLeft\", \"Cmd-Delete\": \"delWrappedLineRight\",\n    \"Cmd-U\": \"undoSelection\", \"Shift-Cmd-U\": \"redoSelection\", \"Ctrl-Up\": \"goDocStart\", \"Ctrl-Down\": \"goDocEnd\",\n    fallthrough: [\"basic\", \"emacsy\"]\n  };\n  keyMap[\"default\"] = mac ? keyMap.macDefault : keyMap.pcDefault;\n\n  // KEYMAP DISPATCH\n\n  function normalizeKeyName(name) {\n    var parts = name.split(/-(?!$)/), name = parts[parts.length - 1];\n    var alt, ctrl, shift, cmd;\n    for (var i = 0; i < parts.length - 1; i++) {\n      var mod = parts[i];\n      if (/^(cmd|meta|m)$/i.test(mod)) cmd = true;\n      else if (/^a(lt)?$/i.test(mod)) alt = true;\n      else if (/^(c|ctrl|control)$/i.test(mod)) ctrl = true;\n      else if (/^s(hift)$/i.test(mod)) shift = true;\n      else throw new Error(\"Unrecognized modifier name: \" + mod);\n    }\n    if (alt) name = \"Alt-\" + name;\n    if (ctrl) name = \"Ctrl-\" + name;\n    if (cmd) name = \"Cmd-\" + name;\n    if (shift) name = \"Shift-\" + name;\n    return name;\n  }\n\n  // This is a kludge to keep keymaps mostly working as raw objects\n  // (backwards compatibility) while at the same time support features\n  // like normalization and multi-stroke key bindings. It compiles a\n  // new normalized keymap, and then updates the old object to reflect\n  // this.\n  CodeMirror.normalizeKeyMap = function(keymap) {\n    var copy = {};\n    for (var keyname in keymap) if (keymap.hasOwnProperty(keyname)) {\n      var value = keymap[keyname];\n      if (/^(name|fallthrough|(de|at)tach)$/.test(keyname)) continue;\n      if (value == \"...\") { delete keymap[keyname]; continue; }\n\n      var keys = map(keyname.split(\" \"), normalizeKeyName);\n      for (var i = 0; i < keys.length; i++) {\n        var val, name;\n        if (i == keys.length - 1) {\n          name = keyname;\n          val = value;\n        } else {\n          name = keys.slice(0, i + 1).join(\" \");\n          val = \"...\";\n        }\n        var prev = copy[name];\n        if (!prev) copy[name] = val;\n        else if (prev != val) throw new Error(\"Inconsistent bindings for \" + name);\n      }\n      delete keymap[keyname];\n    }\n    for (var prop in copy) keymap[prop] = copy[prop];\n    return keymap;\n  };\n\n  var lookupKey = CodeMirror.lookupKey = function(key, map, handle, context) {\n    map = getKeyMap(map);\n    var found = map.call ? map.call(key, context) : map[key];\n    if (found === false) return \"nothing\";\n    if (found === \"...\") return \"multi\";\n    if (found != null && handle(found)) return \"handled\";\n\n    if (map.fallthrough) {\n      if (Object.prototype.toString.call(map.fallthrough) != \"[object Array]\")\n        return lookupKey(key, map.fallthrough, handle, context);\n      for (var i = 0; i < map.fallthrough.length; i++) {\n        var result = lookupKey(key, map.fallthrough[i], handle, context);\n        if (result) return result;\n      }\n    }\n  };\n\n  // Modifier key presses don't count as 'real' key presses for the\n  // purpose of keymap fallthrough.\n  var isModifierKey = CodeMirror.isModifierKey = function(value) {\n    var name = typeof value == \"string\" ? value : keyNames[value.keyCode];\n    return name == \"Ctrl\" || name == \"Alt\" || name == \"Shift\" || name == \"Mod\";\n  };\n\n  // Look up the name of a key as indicated by an event object.\n  var keyName = CodeMirror.keyName = function(event, noShift) {\n    if (presto && event.keyCode == 34 && event[\"char\"]) return false;\n    var base = keyNames[event.keyCode], name = base;\n    if (name == null || event.altGraphKey) return false;\n    if (event.altKey && base != \"Alt\") name = \"Alt-\" + name;\n    if ((flipCtrlCmd ? event.metaKey : event.ctrlKey) && base != \"Ctrl\") name = \"Ctrl-\" + name;\n    if ((flipCtrlCmd ? event.ctrlKey : event.metaKey) && base != \"Cmd\") name = \"Cmd-\" + name;\n    if (!noShift && event.shiftKey && base != \"Shift\") name = \"Shift-\" + name;\n    return name;\n  };\n\n  function getKeyMap(val) {\n    return typeof val == \"string\" ? keyMap[val] : val;\n  }\n\n  // FROMTEXTAREA\n\n  CodeMirror.fromTextArea = function(textarea, options) {\n    options = options ? copyObj(options) : {};\n    options.value = textarea.value;\n    if (!options.tabindex && textarea.tabIndex)\n      options.tabindex = textarea.tabIndex;\n    if (!options.placeholder && textarea.placeholder)\n      options.placeholder = textarea.placeholder;\n    // Set autofocus to true if this textarea is focused, or if it has\n    // autofocus and no other element is focused.\n    if (options.autofocus == null) {\n      var hasFocus = activeElt();\n      options.autofocus = hasFocus == textarea ||\n        textarea.getAttribute(\"autofocus\") != null && hasFocus == document.body;\n    }\n\n    function save() {textarea.value = cm.getValue();}\n    if (textarea.form) {\n      on(textarea.form, \"submit\", save);\n      // Deplorable hack to make the submit method do the right thing.\n      if (!options.leaveSubmitMethodAlone) {\n        var form = textarea.form, realSubmit = form.submit;\n        try {\n          var wrappedSubmit = form.submit = function() {\n            save();\n            form.submit = realSubmit;\n            form.submit();\n            form.submit = wrappedSubmit;\n          };\n        } catch(e) {}\n      }\n    }\n\n    options.finishInit = function(cm) {\n      cm.save = save;\n      cm.getTextArea = function() { return textarea; };\n      cm.toTextArea = function() {\n        cm.toTextArea = isNaN; // Prevent this from being ran twice\n        save();\n        textarea.parentNode.removeChild(cm.getWrapperElement());\n        textarea.style.display = \"\";\n        if (textarea.form) {\n          off(textarea.form, \"submit\", save);\n          if (typeof textarea.form.submit == \"function\")\n            textarea.form.submit = realSubmit;\n        }\n      };\n    };\n\n    textarea.style.display = \"none\";\n    var cm = CodeMirror(function(node) {\n      textarea.parentNode.insertBefore(node, textarea.nextSibling);\n    }, options);\n    return cm;\n  };\n\n  // STRING STREAM\n\n  // Fed to the mode parsers, provides helper functions to make\n  // parsers more succinct.\n\n  var StringStream = CodeMirror.StringStream = function(string, tabSize) {\n    this.pos = this.start = 0;\n    this.string = string;\n    this.tabSize = tabSize || 8;\n    this.lastColumnPos = this.lastColumnValue = 0;\n    this.lineStart = 0;\n  };\n\n  StringStream.prototype = {\n    eol: function() {return this.pos >= this.string.length;},\n    sol: function() {return this.pos == this.lineStart;},\n    peek: function() {return this.string.charAt(this.pos) || undefined;},\n    next: function() {\n      if (this.pos < this.string.length)\n        return this.string.charAt(this.pos++);\n    },\n    eat: function(match) {\n      var ch = this.string.charAt(this.pos);\n      if (typeof match == \"string\") var ok = ch == match;\n      else var ok = ch && (match.test ? match.test(ch) : match(ch));\n      if (ok) {++this.pos; return ch;}\n    },\n    eatWhile: function(match) {\n      var start = this.pos;\n      while (this.eat(match)){}\n      return this.pos > start;\n    },\n    eatSpace: function() {\n      var start = this.pos;\n      while (/[\\s\\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;\n      return this.pos > start;\n    },\n    skipToEnd: function() {this.pos = this.string.length;},\n    skipTo: function(ch) {\n      var found = this.string.indexOf(ch, this.pos);\n      if (found > -1) {this.pos = found; return true;}\n    },\n    backUp: function(n) {this.pos -= n;},\n    column: function() {\n      if (this.lastColumnPos < this.start) {\n        this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue);\n        this.lastColumnPos = this.start;\n      }\n      return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);\n    },\n    indentation: function() {\n      return countColumn(this.string, null, this.tabSize) -\n        (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);\n    },\n    match: function(pattern, consume, caseInsensitive) {\n      if (typeof pattern == \"string\") {\n        var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};\n        var substr = this.string.substr(this.pos, pattern.length);\n        if (cased(substr) == cased(pattern)) {\n          if (consume !== false) this.pos += pattern.length;\n          return true;\n        }\n      } else {\n        var match = this.string.slice(this.pos).match(pattern);\n        if (match && match.index > 0) return null;\n        if (match && consume !== false) this.pos += match[0].length;\n        return match;\n      }\n    },\n    current: function(){return this.string.slice(this.start, this.pos);},\n    hideFirstChars: function(n, inner) {\n      this.lineStart += n;\n      try { return inner(); }\n      finally { this.lineStart -= n; }\n    }\n  };\n\n  // TEXTMARKERS\n\n  // Created with markText and setBookmark methods. A TextMarker is a\n  // handle that can be used to clear or find a marked position in the\n  // document. Line objects hold arrays (markedSpans) containing\n  // {from, to, marker} object pointing to such marker objects, and\n  // indicating that such a marker is present on that line. Multiple\n  // lines may point to the same marker when it spans across lines.\n  // The spans will have null for their from/to properties when the\n  // marker continues beyond the start/end of the line. Markers have\n  // links back to the lines they currently touch.\n\n  var nextMarkerId = 0;\n\n  var TextMarker = CodeMirror.TextMarker = function(doc, type) {\n    this.lines = [];\n    this.type = type;\n    this.doc = doc;\n    this.id = ++nextMarkerId;\n  };\n  eventMixin(TextMarker);\n\n  // Clear the marker.\n  TextMarker.prototype.clear = function() {\n    if (this.explicitlyCleared) return;\n    var cm = this.doc.cm, withOp = cm && !cm.curOp;\n    if (withOp) startOperation(cm);\n    if (hasHandler(this, \"clear\")) {\n      var found = this.find();\n      if (found) signalLater(this, \"clear\", found.from, found.to);\n    }\n    var min = null, max = null;\n    for (var i = 0; i < this.lines.length; ++i) {\n      var line = this.lines[i];\n      var span = getMarkedSpanFor(line.markedSpans, this);\n      if (cm && !this.collapsed) regLineChange(cm, lineNo(line), \"text\");\n      else if (cm) {\n        if (span.to != null) max = lineNo(line);\n        if (span.from != null) min = lineNo(line);\n      }\n      line.markedSpans = removeMarkedSpan(line.markedSpans, span);\n      if (span.from == null && this.collapsed && !lineIsHidden(this.doc, line) && cm)\n        updateLineHeight(line, textHeight(cm.display));\n    }\n    if (cm && this.collapsed && !cm.options.lineWrapping) for (var i = 0; i < this.lines.length; ++i) {\n      var visual = visualLine(this.lines[i]), len = lineLength(visual);\n      if (len > cm.display.maxLineLength) {\n        cm.display.maxLine = visual;\n        cm.display.maxLineLength = len;\n        cm.display.maxLineChanged = true;\n      }\n    }\n\n    if (min != null && cm && this.collapsed) regChange(cm, min, max + 1);\n    this.lines.length = 0;\n    this.explicitlyCleared = true;\n    if (this.atomic && this.doc.cantEdit) {\n      this.doc.cantEdit = false;\n      if (cm) reCheckSelection(cm.doc);\n    }\n    if (cm) signalLater(cm, \"markerCleared\", cm, this);\n    if (withOp) endOperation(cm);\n    if (this.parent) this.parent.clear();\n  };\n\n  // Find the position of the marker in the document. Returns a {from,\n  // to} object by default. Side can be passed to get a specific side\n  // -- 0 (both), -1 (left), or 1 (right). When lineObj is true, the\n  // Pos objects returned contain a line object, rather than a line\n  // number (used to prevent looking up the same line twice).\n  TextMarker.prototype.find = function(side, lineObj) {\n    if (side == null && this.type == \"bookmark\") side = 1;\n    var from, to;\n    for (var i = 0; i < this.lines.length; ++i) {\n      var line = this.lines[i];\n      var span = getMarkedSpanFor(line.markedSpans, this);\n      if (span.from != null) {\n        from = Pos(lineObj ? line : lineNo(line), span.from);\n        if (side == -1) return from;\n      }\n      if (span.to != null) {\n        to = Pos(lineObj ? line : lineNo(line), span.to);\n        if (side == 1) return to;\n      }\n    }\n    return from && {from: from, to: to};\n  };\n\n  // Signals that the marker's widget changed, and surrounding layout\n  // should be recomputed.\n  TextMarker.prototype.changed = function() {\n    var pos = this.find(-1, true), widget = this, cm = this.doc.cm;\n    if (!pos || !cm) return;\n    runInOp(cm, function() {\n      var line = pos.line, lineN = lineNo(pos.line);\n      var view = findViewForLine(cm, lineN);\n      if (view) {\n        clearLineMeasurementCacheFor(view);\n        cm.curOp.selectionChanged = cm.curOp.forceUpdate = true;\n      }\n      cm.curOp.updateMaxLine = true;\n      if (!lineIsHidden(widget.doc, line) && widget.height != null) {\n        var oldHeight = widget.height;\n        widget.height = null;\n        var dHeight = widgetHeight(widget) - oldHeight;\n        if (dHeight)\n          updateLineHeight(line, line.height + dHeight);\n      }\n    });\n  };\n\n  TextMarker.prototype.attachLine = function(line) {\n    if (!this.lines.length && this.doc.cm) {\n      var op = this.doc.cm.curOp;\n      if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1)\n        (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this);\n    }\n    this.lines.push(line);\n  };\n  TextMarker.prototype.detachLine = function(line) {\n    this.lines.splice(indexOf(this.lines, line), 1);\n    if (!this.lines.length && this.doc.cm) {\n      var op = this.doc.cm.curOp;\n      (op.maybeHiddenMarkers || (op.maybeHiddenMarkers = [])).push(this);\n    }\n  };\n\n  // Collapsed markers have unique ids, in order to be able to order\n  // them, which is needed for uniquely determining an outer marker\n  // when they overlap (they may nest, but not partially overlap).\n  var nextMarkerId = 0;\n\n  // Create a marker, wire it up to the right lines, and\n  function markText(doc, from, to, options, type) {\n    // Shared markers (across linked documents) are handled separately\n    // (markTextShared will call out to this again, once per\n    // document).\n    if (options && options.shared) return markTextShared(doc, from, to, options, type);\n    // Ensure we are in an operation.\n    if (doc.cm && !doc.cm.curOp) return operation(doc.cm, markText)(doc, from, to, options, type);\n\n    var marker = new TextMarker(doc, type), diff = cmp(from, to);\n    if (options) copyObj(options, marker, false);\n    // Don't connect empty markers unless clearWhenEmpty is false\n    if (diff > 0 || diff == 0 && marker.clearWhenEmpty !== false)\n      return marker;\n    if (marker.replacedWith) {\n      // Showing up as a widget implies collapsed (widget replaces text)\n      marker.collapsed = true;\n      marker.widgetNode = elt(\"span\", [marker.replacedWith], \"CodeMirror-widget\");\n      if (!options.handleMouseEvents) marker.widgetNode.setAttribute(\"cm-ignore-events\", \"true\");\n      if (options.insertLeft) marker.widgetNode.insertLeft = true;\n    }\n    if (marker.collapsed) {\n      if (conflictingCollapsedRange(doc, from.line, from, to, marker) ||\n          from.line != to.line && conflictingCollapsedRange(doc, to.line, from, to, marker))\n        throw new Error(\"Inserting collapsed marker partially overlapping an existing one\");\n      sawCollapsedSpans = true;\n    }\n\n    if (marker.addToHistory)\n      addChangeToHistory(doc, {from: from, to: to, origin: \"markText\"}, doc.sel, NaN);\n\n    var curLine = from.line, cm = doc.cm, updateMaxLine;\n    doc.iter(curLine, to.line + 1, function(line) {\n      if (cm && marker.collapsed && !cm.options.lineWrapping && visualLine(line) == cm.display.maxLine)\n        updateMaxLine = true;\n      if (marker.collapsed && curLine != from.line) updateLineHeight(line, 0);\n      addMarkedSpan(line, new MarkedSpan(marker,\n                                         curLine == from.line ? from.ch : null,\n                                         curLine == to.line ? to.ch : null));\n      ++curLine;\n    });\n    // lineIsHidden depends on the presence of the spans, so needs a second pass\n    if (marker.collapsed) doc.iter(from.line, to.line + 1, function(line) {\n      if (lineIsHidden(doc, line)) updateLineHeight(line, 0);\n    });\n\n    if (marker.clearOnEnter) on(marker, \"beforeCursorEnter\", function() { marker.clear(); });\n\n    if (marker.readOnly) {\n      sawReadOnlySpans = true;\n      if (doc.history.done.length || doc.history.undone.length)\n        doc.clearHistory();\n    }\n    if (marker.collapsed) {\n      marker.id = ++nextMarkerId;\n      marker.atomic = true;\n    }\n    if (cm) {\n      // Sync editor state\n      if (updateMaxLine) cm.curOp.updateMaxLine = true;\n      if (marker.collapsed)\n        regChange(cm, from.line, to.line + 1);\n      else if (marker.className || marker.title || marker.startStyle || marker.endStyle || marker.css)\n        for (var i = from.line; i <= to.line; i++) regLineChange(cm, i, \"text\");\n      if (marker.atomic) reCheckSelection(cm.doc);\n      signalLater(cm, \"markerAdded\", cm, marker);\n    }\n    return marker;\n  }\n\n  // SHARED TEXTMARKERS\n\n  // A shared marker spans multiple linked documents. It is\n  // implemented as a meta-marker-object controlling multiple normal\n  // markers.\n  var SharedTextMarker = CodeMirror.SharedTextMarker = function(markers, primary) {\n    this.markers = markers;\n    this.primary = primary;\n    for (var i = 0; i < markers.length; ++i)\n      markers[i].parent = this;\n  };\n  eventMixin(SharedTextMarker);\n\n  SharedTextMarker.prototype.clear = function() {\n    if (this.explicitlyCleared) return;\n    this.explicitlyCleared = true;\n    for (var i = 0; i < this.markers.length; ++i)\n      this.markers[i].clear();\n    signalLater(this, \"clear\");\n  };\n  SharedTextMarker.prototype.find = function(side, lineObj) {\n    return this.primary.find(side, lineObj);\n  };\n\n  function markTextShared(doc, from, to, options, type) {\n    options = copyObj(options);\n    options.shared = false;\n    var markers = [markText(doc, from, to, options, type)], primary = markers[0];\n    var widget = options.widgetNode;\n    linkedDocs(doc, function(doc) {\n      if (widget) options.widgetNode = widget.cloneNode(true);\n      markers.push(markText(doc, clipPos(doc, from), clipPos(doc, to), options, type));\n      for (var i = 0; i < doc.linked.length; ++i)\n        if (doc.linked[i].isParent) return;\n      primary = lst(markers);\n    });\n    return new SharedTextMarker(markers, primary);\n  }\n\n  function findSharedMarkers(doc) {\n    return doc.findMarks(Pos(doc.first, 0), doc.clipPos(Pos(doc.lastLine())),\n                         function(m) { return m.parent; });\n  }\n\n  function copySharedMarkers(doc, markers) {\n    for (var i = 0; i < markers.length; i++) {\n      var marker = markers[i], pos = marker.find();\n      var mFrom = doc.clipPos(pos.from), mTo = doc.clipPos(pos.to);\n      if (cmp(mFrom, mTo)) {\n        var subMark = markText(doc, mFrom, mTo, marker.primary, marker.primary.type);\n        marker.markers.push(subMark);\n        subMark.parent = marker;\n      }\n    }\n  }\n\n  function detachSharedMarkers(markers) {\n    for (var i = 0; i < markers.length; i++) {\n      var marker = markers[i], linked = [marker.primary.doc];;\n      linkedDocs(marker.primary.doc, function(d) { linked.push(d); });\n      for (var j = 0; j < marker.markers.length; j++) {\n        var subMarker = marker.markers[j];\n        if (indexOf(linked, subMarker.doc) == -1) {\n          subMarker.parent = null;\n          marker.markers.splice(j--, 1);\n        }\n      }\n    }\n  }\n\n  // TEXTMARKER SPANS\n\n  function MarkedSpan(marker, from, to) {\n    this.marker = marker;\n    this.from = from; this.to = to;\n  }\n\n  // Search an array of spans for a span matching the given marker.\n  function getMarkedSpanFor(spans, marker) {\n    if (spans) for (var i = 0; i < spans.length; ++i) {\n      var span = spans[i];\n      if (span.marker == marker) return span;\n    }\n  }\n  // Remove a span from an array, returning undefined if no spans are\n  // left (we don't store arrays for lines without spans).\n  function removeMarkedSpan(spans, span) {\n    for (var r, i = 0; i < spans.length; ++i)\n      if (spans[i] != span) (r || (r = [])).push(spans[i]);\n    return r;\n  }\n  // Add a span to a line.\n  function addMarkedSpan(line, span) {\n    line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];\n    span.marker.attachLine(line);\n  }\n\n  // Used for the algorithm that adjusts markers for a change in the\n  // document. These functions cut an array of spans at a given\n  // character position, returning an array of remaining chunks (or\n  // undefined if nothing remains).\n  function markedSpansBefore(old, startCh, isInsert) {\n    if (old) for (var i = 0, nw; i < old.length; ++i) {\n      var span = old[i], marker = span.marker;\n      var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh);\n      if (startsBefore || span.from == startCh && marker.type == \"bookmark\" && (!isInsert || !span.marker.insertLeft)) {\n        var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh);\n        (nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to));\n      }\n    }\n    return nw;\n  }\n  function markedSpansAfter(old, endCh, isInsert) {\n    if (old) for (var i = 0, nw; i < old.length; ++i) {\n      var span = old[i], marker = span.marker;\n      var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh);\n      if (endsAfter || span.from == endCh && marker.type == \"bookmark\" && (!isInsert || span.marker.insertLeft)) {\n        var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh);\n        (nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh,\n                                              span.to == null ? null : span.to - endCh));\n      }\n    }\n    return nw;\n  }\n\n  // Given a change object, compute the new set of marker spans that\n  // cover the line in which the change took place. Removes spans\n  // entirely within the change, reconnects spans belonging to the\n  // same marker that appear on both sides of the change, and cuts off\n  // spans partially within the change. Returns an array of span\n  // arrays with one element for each line in (after) the change.\n  function stretchSpansOverChange(doc, change) {\n    if (change.full) return null;\n    var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans;\n    var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans;\n    if (!oldFirst && !oldLast) return null;\n\n    var startCh = change.from.ch, endCh = change.to.ch, isInsert = cmp(change.from, change.to) == 0;\n    // Get the spans that 'stick out' on both sides\n    var first = markedSpansBefore(oldFirst, startCh, isInsert);\n    var last = markedSpansAfter(oldLast, endCh, isInsert);\n\n    // Next, merge those two ends\n    var sameLine = change.text.length == 1, offset = lst(change.text).length + (sameLine ? startCh : 0);\n    if (first) {\n      // Fix up .to properties of first\n      for (var i = 0; i < first.length; ++i) {\n        var span = first[i];\n        if (span.to == null) {\n          var found = getMarkedSpanFor(last, span.marker);\n          if (!found) span.to = startCh;\n          else if (sameLine) span.to = found.to == null ? null : found.to + offset;\n        }\n      }\n    }\n    if (last) {\n      // Fix up .from in last (or move them into first in case of sameLine)\n      for (var i = 0; i < last.length; ++i) {\n        var span = last[i];\n        if (span.to != null) span.to += offset;\n        if (span.from == null) {\n          var found = getMarkedSpanFor(first, span.marker);\n          if (!found) {\n            span.from = offset;\n            if (sameLine) (first || (first = [])).push(span);\n          }\n        } else {\n          span.from += offset;\n          if (sameLine) (first || (first = [])).push(span);\n        }\n      }\n    }\n    // Make sure we didn't create any zero-length spans\n    if (first) first = clearEmptySpans(first);\n    if (last && last != first) last = clearEmptySpans(last);\n\n    var newMarkers = [first];\n    if (!sameLine) {\n      // Fill gap with whole-line-spans\n      var gap = change.text.length - 2, gapMarkers;\n      if (gap > 0 && first)\n        for (var i = 0; i < first.length; ++i)\n          if (first[i].to == null)\n            (gapMarkers || (gapMarkers = [])).push(new MarkedSpan(first[i].marker, null, null));\n      for (var i = 0; i < gap; ++i)\n        newMarkers.push(gapMarkers);\n      newMarkers.push(last);\n    }\n    return newMarkers;\n  }\n\n  // Remove spans that are empty and don't have a clearWhenEmpty\n  // option of false.\n  function clearEmptySpans(spans) {\n    for (var i = 0; i < spans.length; ++i) {\n      var span = spans[i];\n      if (span.from != null && span.from == span.to && span.marker.clearWhenEmpty !== false)\n        spans.splice(i--, 1);\n    }\n    if (!spans.length) return null;\n    return spans;\n  }\n\n  // Used for un/re-doing changes from the history. Combines the\n  // result of computing the existing spans with the set of spans that\n  // existed in the history (so that deleting around a span and then\n  // undoing brings back the span).\n  function mergeOldSpans(doc, change) {\n    var old = getOldSpans(doc, change);\n    var stretched = stretchSpansOverChange(doc, change);\n    if (!old) return stretched;\n    if (!stretched) return old;\n\n    for (var i = 0; i < old.length; ++i) {\n      var oldCur = old[i], stretchCur = stretched[i];\n      if (oldCur && stretchCur) {\n        spans: for (var j = 0; j < stretchCur.length; ++j) {\n          var span = stretchCur[j];\n          for (var k = 0; k < oldCur.length; ++k)\n            if (oldCur[k].marker == span.marker) continue spans;\n          oldCur.push(span);\n        }\n      } else if (stretchCur) {\n        old[i] = stretchCur;\n      }\n    }\n    return old;\n  }\n\n  // Used to 'clip' out readOnly ranges when making a change.\n  function removeReadOnlyRanges(doc, from, to) {\n    var markers = null;\n    doc.iter(from.line, to.line + 1, function(line) {\n      if (line.markedSpans) for (var i = 0; i < line.markedSpans.length; ++i) {\n        var mark = line.markedSpans[i].marker;\n        if (mark.readOnly && (!markers || indexOf(markers, mark) == -1))\n          (markers || (markers = [])).push(mark);\n      }\n    });\n    if (!markers) return null;\n    var parts = [{from: from, to: to}];\n    for (var i = 0; i < markers.length; ++i) {\n      var mk = markers[i], m = mk.find(0);\n      for (var j = 0; j < parts.length; ++j) {\n        var p = parts[j];\n        if (cmp(p.to, m.from) < 0 || cmp(p.from, m.to) > 0) continue;\n        var newParts = [j, 1], dfrom = cmp(p.from, m.from), dto = cmp(p.to, m.to);\n        if (dfrom < 0 || !mk.inclusiveLeft && !dfrom)\n          newParts.push({from: p.from, to: m.from});\n        if (dto > 0 || !mk.inclusiveRight && !dto)\n          newParts.push({from: m.to, to: p.to});\n        parts.splice.apply(parts, newParts);\n        j += newParts.length - 1;\n      }\n    }\n    return parts;\n  }\n\n  // Connect or disconnect spans from a line.\n  function detachMarkedSpans(line) {\n    var spans = line.markedSpans;\n    if (!spans) return;\n    for (var i = 0; i < spans.length; ++i)\n      spans[i].marker.detachLine(line);\n    line.markedSpans = null;\n  }\n  function attachMarkedSpans(line, spans) {\n    if (!spans) return;\n    for (var i = 0; i < spans.length; ++i)\n      spans[i].marker.attachLine(line);\n    line.markedSpans = spans;\n  }\n\n  // Helpers used when computing which overlapping collapsed span\n  // counts as the larger one.\n  function extraLeft(marker) { return marker.inclusiveLeft ? -1 : 0; }\n  function extraRight(marker) { return marker.inclusiveRight ? 1 : 0; }\n\n  // Returns a number indicating which of two overlapping collapsed\n  // spans is larger (and thus includes the other). Falls back to\n  // comparing ids when the spans cover exactly the same range.\n  function compareCollapsedMarkers(a, b) {\n    var lenDiff = a.lines.length - b.lines.length;\n    if (lenDiff != 0) return lenDiff;\n    var aPos = a.find(), bPos = b.find();\n    var fromCmp = cmp(aPos.from, bPos.from) || extraLeft(a) - extraLeft(b);\n    if (fromCmp) return -fromCmp;\n    var toCmp = cmp(aPos.to, bPos.to) || extraRight(a) - extraRight(b);\n    if (toCmp) return toCmp;\n    return b.id - a.id;\n  }\n\n  // Find out whether a line ends or starts in a collapsed span. If\n  // so, return the marker for that span.\n  function collapsedSpanAtSide(line, start) {\n    var sps = sawCollapsedSpans && line.markedSpans, found;\n    if (sps) for (var sp, i = 0; i < sps.length; ++i) {\n      sp = sps[i];\n      if (sp.marker.collapsed && (start ? sp.from : sp.to) == null &&\n          (!found || compareCollapsedMarkers(found, sp.marker) < 0))\n        found = sp.marker;\n    }\n    return found;\n  }\n  function collapsedSpanAtStart(line) { return collapsedSpanAtSide(line, true); }\n  function collapsedSpanAtEnd(line) { return collapsedSpanAtSide(line, false); }\n\n  // Test whether there exists a collapsed span that partially\n  // overlaps (covers the start or end, but not both) of a new span.\n  // Such overlap is not allowed.\n  function conflictingCollapsedRange(doc, lineNo, from, to, marker) {\n    var line = getLine(doc, lineNo);\n    var sps = sawCollapsedSpans && line.markedSpans;\n    if (sps) for (var i = 0; i < sps.length; ++i) {\n      var sp = sps[i];\n      if (!sp.marker.collapsed) continue;\n      var found = sp.marker.find(0);\n      var fromCmp = cmp(found.from, from) || extraLeft(sp.marker) - extraLeft(marker);\n      var toCmp = cmp(found.to, to) || extraRight(sp.marker) - extraRight(marker);\n      if (fromCmp >= 0 && toCmp <= 0 || fromCmp <= 0 && toCmp >= 0) continue;\n      if (fromCmp <= 0 && (cmp(found.to, from) > 0 || (sp.marker.inclusiveRight && marker.inclusiveLeft)) ||\n          fromCmp >= 0 && (cmp(found.from, to) < 0 || (sp.marker.inclusiveLeft && marker.inclusiveRight)))\n        return true;\n    }\n  }\n\n  // A visual line is a line as drawn on the screen. Folding, for\n  // example, can cause multiple logical lines to appear on the same\n  // visual line. This finds the start of the visual line that the\n  // given line is part of (usually that is the line itself).\n  function visualLine(line) {\n    var merged;\n    while (merged = collapsedSpanAtStart(line))\n      line = merged.find(-1, true).line;\n    return line;\n  }\n\n  // Returns an array of logical lines that continue the visual line\n  // started by the argument, or undefined if there are no such lines.\n  function visualLineContinued(line) {\n    var merged, lines;\n    while (merged = collapsedSpanAtEnd(line)) {\n      line = merged.find(1, true).line;\n      (lines || (lines = [])).push(line);\n    }\n    return lines;\n  }\n\n  // Get the line number of the start of the visual line that the\n  // given line number is part of.\n  function visualLineNo(doc, lineN) {\n    var line = getLine(doc, lineN), vis = visualLine(line);\n    if (line == vis) return lineN;\n    return lineNo(vis);\n  }\n  // Get the line number of the start of the next visual line after\n  // the given line.\n  function visualLineEndNo(doc, lineN) {\n    if (lineN > doc.lastLine()) return lineN;\n    var line = getLine(doc, lineN), merged;\n    if (!lineIsHidden(doc, line)) return lineN;\n    while (merged = collapsedSpanAtEnd(line))\n      line = merged.find(1, true).line;\n    return lineNo(line) + 1;\n  }\n\n  // Compute whether a line is hidden. Lines count as hidden when they\n  // are part of a visual line that starts with another line, or when\n  // they are entirely covered by collapsed, non-widget span.\n  function lineIsHidden(doc, line) {\n    var sps = sawCollapsedSpans && line.markedSpans;\n    if (sps) for (var sp, i = 0; i < sps.length; ++i) {\n      sp = sps[i];\n      if (!sp.marker.collapsed) continue;\n      if (sp.from == null) return true;\n      if (sp.marker.widgetNode) continue;\n      if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp))\n        return true;\n    }\n  }\n  function lineIsHiddenInner(doc, line, span) {\n    if (span.to == null) {\n      var end = span.marker.find(1, true);\n      return lineIsHiddenInner(doc, end.line, getMarkedSpanFor(end.line.markedSpans, span.marker));\n    }\n    if (span.marker.inclusiveRight && span.to == line.text.length)\n      return true;\n    for (var sp, i = 0; i < line.markedSpans.length; ++i) {\n      sp = line.markedSpans[i];\n      if (sp.marker.collapsed && !sp.marker.widgetNode && sp.from == span.to &&\n          (sp.to == null || sp.to != span.from) &&\n          (sp.marker.inclusiveLeft || span.marker.inclusiveRight) &&\n          lineIsHiddenInner(doc, line, sp)) return true;\n    }\n  }\n\n  // LINE WIDGETS\n\n  // Line widgets are block elements displayed above or below a line.\n\n  var LineWidget = CodeMirror.LineWidget = function(cm, node, options) {\n    if (options) for (var opt in options) if (options.hasOwnProperty(opt))\n      this[opt] = options[opt];\n    this.cm = cm;\n    this.node = node;\n  };\n  eventMixin(LineWidget);\n\n  function adjustScrollWhenAboveVisible(cm, line, diff) {\n    if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop))\n      addToScrollPos(cm, null, diff);\n  }\n\n  LineWidget.prototype.clear = function() {\n    var cm = this.cm, ws = this.line.widgets, line = this.line, no = lineNo(line);\n    if (no == null || !ws) return;\n    for (var i = 0; i < ws.length; ++i) if (ws[i] == this) ws.splice(i--, 1);\n    if (!ws.length) line.widgets = null;\n    var height = widgetHeight(this);\n    runInOp(cm, function() {\n      adjustScrollWhenAboveVisible(cm, line, -height);\n      regLineChange(cm, no, \"widget\");\n      updateLineHeight(line, Math.max(0, line.height - height));\n    });\n  };\n  LineWidget.prototype.changed = function() {\n    var oldH = this.height, cm = this.cm, line = this.line;\n    this.height = null;\n    var diff = widgetHeight(this) - oldH;\n    if (!diff) return;\n    runInOp(cm, function() {\n      cm.curOp.forceUpdate = true;\n      adjustScrollWhenAboveVisible(cm, line, diff);\n      updateLineHeight(line, line.height + diff);\n    });\n  };\n\n  function widgetHeight(widget) {\n    if (widget.height != null) return widget.height;\n    if (!contains(document.body, widget.node)) {\n      var parentStyle = \"position: relative;\";\n      if (widget.coverGutter)\n        parentStyle += \"margin-left: -\" + widget.cm.display.gutters.offsetWidth + \"px;\";\n      if (widget.noHScroll)\n        parentStyle += \"width: \" + widget.cm.display.wrapper.clientWidth + \"px;\";\n      removeChildrenAndAdd(widget.cm.display.measure, elt(\"div\", [widget.node], null, parentStyle));\n    }\n    return widget.height = widget.node.offsetHeight;\n  }\n\n  function addLineWidget(cm, handle, node, options) {\n    var widget = new LineWidget(cm, node, options);\n    if (widget.noHScroll) cm.display.alignWidgets = true;\n    changeLine(cm.doc, handle, \"widget\", function(line) {\n      var widgets = line.widgets || (line.widgets = []);\n      if (widget.insertAt == null) widgets.push(widget);\n      else widgets.splice(Math.min(widgets.length - 1, Math.max(0, widget.insertAt)), 0, widget);\n      widget.line = line;\n      if (!lineIsHidden(cm.doc, line)) {\n        var aboveVisible = heightAtLine(line) < cm.doc.scrollTop;\n        updateLineHeight(line, line.height + widgetHeight(widget));\n        if (aboveVisible) addToScrollPos(cm, null, widget.height);\n        cm.curOp.forceUpdate = true;\n      }\n      return true;\n    });\n    return widget;\n  }\n\n  // LINE DATA STRUCTURE\n\n  // Line objects. These hold state related to a line, including\n  // highlighting info (the styles array).\n  var Line = CodeMirror.Line = function(text, markedSpans, estimateHeight) {\n    this.text = text;\n    attachMarkedSpans(this, markedSpans);\n    this.height = estimateHeight ? estimateHeight(this) : 1;\n  };\n  eventMixin(Line);\n  Line.prototype.lineNo = function() { return lineNo(this); };\n\n  // Change the content (text, markers) of a line. Automatically\n  // invalidates cached information and tries to re-estimate the\n  // line's height.\n  function updateLine(line, text, markedSpans, estimateHeight) {\n    line.text = text;\n    if (line.stateAfter) line.stateAfter = null;\n    if (line.styles) line.styles = null;\n    if (line.order != null) line.order = null;\n    detachMarkedSpans(line);\n    attachMarkedSpans(line, markedSpans);\n    var estHeight = estimateHeight ? estimateHeight(line) : 1;\n    if (estHeight != line.height) updateLineHeight(line, estHeight);\n  }\n\n  // Detach a line from the document tree and its markers.\n  function cleanUpLine(line) {\n    line.parent = null;\n    detachMarkedSpans(line);\n  }\n\n  function extractLineClasses(type, output) {\n    if (type) for (;;) {\n      var lineClass = type.match(/(?:^|\\s+)line-(background-)?(\\S+)/);\n      if (!lineClass) break;\n      type = type.slice(0, lineClass.index) + type.slice(lineClass.index + lineClass[0].length);\n      var prop = lineClass[1] ? \"bgClass\" : \"textClass\";\n      if (output[prop] == null)\n        output[prop] = lineClass[2];\n      else if (!(new RegExp(\"(?:^|\\s)\" + lineClass[2] + \"(?:$|\\s)\")).test(output[prop]))\n        output[prop] += \" \" + lineClass[2];\n    }\n    return type;\n  }\n\n  function callBlankLine(mode, state) {\n    if (mode.blankLine) return mode.blankLine(state);\n    if (!mode.innerMode) return;\n    var inner = CodeMirror.innerMode(mode, state);\n    if (inner.mode.blankLine) return inner.mode.blankLine(inner.state);\n  }\n\n  function readToken(mode, stream, state, inner) {\n    for (var i = 0; i < 10; i++) {\n      if (inner) inner[0] = CodeMirror.innerMode(mode, state).mode;\n      var style = mode.token(stream, state);\n      if (stream.pos > stream.start) return style;\n    }\n    throw new Error(\"Mode \" + mode.name + \" failed to advance stream.\");\n  }\n\n  // Utility for getTokenAt and getLineTokens\n  function takeToken(cm, pos, precise, asArray) {\n    function getObj(copy) {\n      return {start: stream.start, end: stream.pos,\n              string: stream.current(),\n              type: style || null,\n              state: copy ? copyState(doc.mode, state) : state};\n    }\n\n    var doc = cm.doc, mode = doc.mode, style;\n    pos = clipPos(doc, pos);\n    var line = getLine(doc, pos.line), state = getStateBefore(cm, pos.line, precise);\n    var stream = new StringStream(line.text, cm.options.tabSize), tokens;\n    if (asArray) tokens = [];\n    while ((asArray || stream.pos < pos.ch) && !stream.eol()) {\n      stream.start = stream.pos;\n      style = readToken(mode, stream, state);\n      if (asArray) tokens.push(getObj(true));\n    }\n    return asArray ? tokens : getObj();\n  }\n\n  // Run the given mode's parser over a line, calling f for each token.\n  function runMode(cm, text, mode, state, f, lineClasses, forceToEnd) {\n    var flattenSpans = mode.flattenSpans;\n    if (flattenSpans == null) flattenSpans = cm.options.flattenSpans;\n    var curStart = 0, curStyle = null;\n    var stream = new StringStream(text, cm.options.tabSize), style;\n    var inner = cm.options.addModeClass && [null];\n    if (text == \"\") extractLineClasses(callBlankLine(mode, state), lineClasses);\n    while (!stream.eol()) {\n      if (stream.pos > cm.options.maxHighlightLength) {\n        flattenSpans = false;\n        if (forceToEnd) processLine(cm, text, state, stream.pos);\n        stream.pos = text.length;\n        style = null;\n      } else {\n        style = extractLineClasses(readToken(mode, stream, state, inner), lineClasses);\n      }\n      if (inner) {\n        var mName = inner[0].name;\n        if (mName) style = \"m-\" + (style ? mName + \" \" + style : mName);\n      }\n      if (!flattenSpans || curStyle != style) {\n        while (curStart < stream.start) {\n          curStart = Math.min(stream.start, curStart + 50000);\n          f(curStart, curStyle);\n        }\n        curStyle = style;\n      }\n      stream.start = stream.pos;\n    }\n    while (curStart < stream.pos) {\n      // Webkit seems to refuse to render text nodes longer than 57444 characters\n      var pos = Math.min(stream.pos, curStart + 50000);\n      f(pos, curStyle);\n      curStart = pos;\n    }\n  }\n\n  // Compute a style array (an array starting with a mode generation\n  // -- for invalidation -- followed by pairs of end positions and\n  // style strings), which is used to highlight the tokens on the\n  // line.\n  function highlightLine(cm, line, state, forceToEnd) {\n    // A styles array always starts with a number identifying the\n    // mode/overlays that it is based on (for easy invalidation).\n    var st = [cm.state.modeGen], lineClasses = {};\n    // Compute the base array of styles\n    runMode(cm, line.text, cm.doc.mode, state, function(end, style) {\n      st.push(end, style);\n    }, lineClasses, forceToEnd);\n\n    // Run overlays, adjust style array.\n    for (var o = 0; o < cm.state.overlays.length; ++o) {\n      var overlay = cm.state.overlays[o], i = 1, at = 0;\n      runMode(cm, line.text, overlay.mode, true, function(end, style) {\n        var start = i;\n        // Ensure there's a token end at the current position, and that i points at it\n        while (at < end) {\n          var i_end = st[i];\n          if (i_end > end)\n            st.splice(i, 1, end, st[i+1], i_end);\n          i += 2;\n          at = Math.min(end, i_end);\n        }\n        if (!style) return;\n        if (overlay.opaque) {\n          st.splice(start, i - start, end, \"cm-overlay \" + style);\n          i = start + 2;\n        } else {\n          for (; start < i; start += 2) {\n            var cur = st[start+1];\n            st[start+1] = (cur ? cur + \" \" : \"\") + \"cm-overlay \" + style;\n          }\n        }\n      }, lineClasses);\n    }\n\n    return {styles: st, classes: lineClasses.bgClass || lineClasses.textClass ? lineClasses : null};\n  }\n\n  function getLineStyles(cm, line, updateFrontier) {\n    if (!line.styles || line.styles[0] != cm.state.modeGen) {\n      var result = highlightLine(cm, line, line.stateAfter = getStateBefore(cm, lineNo(line)));\n      line.styles = result.styles;\n      if (result.classes) line.styleClasses = result.classes;\n      else if (line.styleClasses) line.styleClasses = null;\n      if (updateFrontier === cm.doc.frontier) cm.doc.frontier++;\n    }\n    return line.styles;\n  }\n\n  // Lightweight form of highlight -- proceed over this line and\n  // update state, but don't save a style array. Used for lines that\n  // aren't currently visible.\n  function processLine(cm, text, state, startAt) {\n    var mode = cm.doc.mode;\n    var stream = new StringStream(text, cm.options.tabSize);\n    stream.start = stream.pos = startAt || 0;\n    if (text == \"\") callBlankLine(mode, state);\n    while (!stream.eol() && stream.pos <= cm.options.maxHighlightLength) {\n      readToken(mode, stream, state);\n      stream.start = stream.pos;\n    }\n  }\n\n  // Convert a style as returned by a mode (either null, or a string\n  // containing one or more styles) to a CSS style. This is cached,\n  // and also looks for line-wide styles.\n  var styleToClassCache = {}, styleToClassCacheWithMode = {};\n  function interpretTokenStyle(style, options) {\n    if (!style || /^\\s*$/.test(style)) return null;\n    var cache = options.addModeClass ? styleToClassCacheWithMode : styleToClassCache;\n    return cache[style] ||\n      (cache[style] = style.replace(/\\S+/g, \"cm-$&\"));\n  }\n\n  // Render the DOM representation of the text of a line. Also builds\n  // up a 'line map', which points at the DOM nodes that represent\n  // specific stretches of text, and is used by the measuring code.\n  // The returned object contains the DOM node, this map, and\n  // information about line-wide styles that were set by the mode.\n  function buildLineContent(cm, lineView) {\n    // The padding-right forces the element to have a 'border', which\n    // is needed on Webkit to be able to get line-level bounding\n    // rectangles for it (in measureChar).\n    var content = elt(\"span\", null, null, webkit ? \"padding-right: .1px\" : null);\n    var builder = {pre: elt(\"pre\", [content]), content: content, col: 0, pos: 0, cm: cm};\n    lineView.measure = {};\n\n    // Iterate over the logical lines that make up this visual line.\n    for (var i = 0; i <= (lineView.rest ? lineView.rest.length : 0); i++) {\n      var line = i ? lineView.rest[i - 1] : lineView.line, order;\n      builder.pos = 0;\n      builder.addToken = buildToken;\n      // Optionally wire in some hacks into the token-rendering\n      // algorithm, to deal with browser quirks.\n      if ((ie || webkit) && cm.getOption(\"lineWrapping\"))\n        builder.addToken = buildTokenSplitSpaces(builder.addToken);\n      if (hasBadBidiRects(cm.display.measure) && (order = getOrder(line)))\n        builder.addToken = buildTokenBadBidi(builder.addToken, order);\n      builder.map = [];\n      var allowFrontierUpdate = lineView != cm.display.externalMeasured && lineNo(line);\n      insertLineContent(line, builder, getLineStyles(cm, line, allowFrontierUpdate));\n      if (line.styleClasses) {\n        if (line.styleClasses.bgClass)\n          builder.bgClass = joinClasses(line.styleClasses.bgClass, builder.bgClass || \"\");\n        if (line.styleClasses.textClass)\n          builder.textClass = joinClasses(line.styleClasses.textClass, builder.textClass || \"\");\n      }\n\n      // Ensure at least a single node is present, for measuring.\n      if (builder.map.length == 0)\n        builder.map.push(0, 0, builder.content.appendChild(zeroWidthElement(cm.display.measure)));\n\n      // Store the map and a cache object for the current logical line\n      if (i == 0) {\n        lineView.measure.map = builder.map;\n        lineView.measure.cache = {};\n      } else {\n        (lineView.measure.maps || (lineView.measure.maps = [])).push(builder.map);\n        (lineView.measure.caches || (lineView.measure.caches = [])).push({});\n      }\n    }\n\n    // See issue #2901\n    if (webkit && /\\bcm-tab\\b/.test(builder.content.lastChild.className))\n      builder.content.className = \"cm-tab-wrap-hack\";\n\n    signal(cm, \"renderLine\", cm, lineView.line, builder.pre);\n    if (builder.pre.className)\n      builder.textClass = joinClasses(builder.pre.className, builder.textClass || \"\");\n\n    return builder;\n  }\n\n  function defaultSpecialCharPlaceholder(ch) {\n    var token = elt(\"span\", \"\\u2022\", \"cm-invalidchar\");\n    token.title = \"\\\\u\" + ch.charCodeAt(0).toString(16);\n    token.setAttribute(\"aria-label\", token.title);\n    return token;\n  }\n\n  // Build up the DOM representation for a single token, and add it to\n  // the line map. Takes care to render special characters separately.\n  function buildToken(builder, text, style, startStyle, endStyle, title, css) {\n    if (!text) return;\n    var special = builder.cm.options.specialChars, mustWrap = false;\n    if (!special.test(text)) {\n      builder.col += text.length;\n      var content = document.createTextNode(text);\n      builder.map.push(builder.pos, builder.pos + text.length, content);\n      if (ie && ie_version < 9) mustWrap = true;\n      builder.pos += text.length;\n    } else {\n      var content = document.createDocumentFragment(), pos = 0;\n      while (true) {\n        special.lastIndex = pos;\n        var m = special.exec(text);\n        var skipped = m ? m.index - pos : text.length - pos;\n        if (skipped) {\n          var txt = document.createTextNode(text.slice(pos, pos + skipped));\n          if (ie && ie_version < 9) content.appendChild(elt(\"span\", [txt]));\n          else content.appendChild(txt);\n          builder.map.push(builder.pos, builder.pos + skipped, txt);\n          builder.col += skipped;\n          builder.pos += skipped;\n        }\n        if (!m) break;\n        pos += skipped + 1;\n        if (m[0] == \"\\t\") {\n          var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;\n          var txt = content.appendChild(elt(\"span\", spaceStr(tabWidth), \"cm-tab\"));\n          txt.setAttribute(\"role\", \"presentation\");\n          txt.setAttribute(\"cm-text\", \"\\t\");\n          builder.col += tabWidth;\n        } else {\n          var txt = builder.cm.options.specialCharPlaceholder(m[0]);\n          txt.setAttribute(\"cm-text\", m[0]);\n          if (ie && ie_version < 9) content.appendChild(elt(\"span\", [txt]));\n          else content.appendChild(txt);\n          builder.col += 1;\n        }\n        builder.map.push(builder.pos, builder.pos + 1, txt);\n        builder.pos++;\n      }\n    }\n    if (style || startStyle || endStyle || mustWrap || css) {\n      var fullStyle = style || \"\";\n      if (startStyle) fullStyle += startStyle;\n      if (endStyle) fullStyle += endStyle;\n      var token = elt(\"span\", [content], fullStyle, css);\n      if (title) token.title = title;\n      return builder.content.appendChild(token);\n    }\n    builder.content.appendChild(content);\n  }\n\n  function buildTokenSplitSpaces(inner) {\n    function split(old) {\n      var out = \" \";\n      for (var i = 0; i < old.length - 2; ++i) out += i % 2 ? \" \" : \"\\u00a0\";\n      out += \" \";\n      return out;\n    }\n    return function(builder, text, style, startStyle, endStyle, title) {\n      inner(builder, text.replace(/ {3,}/g, split), style, startStyle, endStyle, title);\n    };\n  }\n\n  // Work around nonsense dimensions being reported for stretches of\n  // right-to-left text.\n  function buildTokenBadBidi(inner, order) {\n    return function(builder, text, style, startStyle, endStyle, title) {\n      style = style ? style + \" cm-force-border\" : \"cm-force-border\";\n      var start = builder.pos, end = start + text.length;\n      for (;;) {\n        // Find the part that overlaps with the start of this text\n        for (var i = 0; i < order.length; i++) {\n          var part = order[i];\n          if (part.to > start && part.from <= start) break;\n        }\n        if (part.to >= end) return inner(builder, text, style, startStyle, endStyle, title);\n        inner(builder, text.slice(0, part.to - start), style, startStyle, null, title);\n        startStyle = null;\n        text = text.slice(part.to - start);\n        start = part.to;\n      }\n    };\n  }\n\n  function buildCollapsedSpan(builder, size, marker, ignoreWidget) {\n    var widget = !ignoreWidget && marker.widgetNode;\n    if (widget) builder.map.push(builder.pos, builder.pos + size, widget);\n    if (!ignoreWidget && builder.cm.display.input.needsContentAttribute) {\n      if (!widget)\n        widget = builder.content.appendChild(document.createElement(\"span\"));\n      widget.setAttribute(\"cm-marker\", marker.id);\n    }\n    if (widget) {\n      builder.cm.display.input.setUneditable(widget);\n      builder.content.appendChild(widget);\n    }\n    builder.pos += size;\n  }\n\n  // Outputs a number of spans to make up a line, taking highlighting\n  // and marked text into account.\n  function insertLineContent(line, builder, styles) {\n    var spans = line.markedSpans, allText = line.text, at = 0;\n    if (!spans) {\n      for (var i = 1; i < styles.length; i+=2)\n        builder.addToken(builder, allText.slice(at, at = styles[i]), interpretTokenStyle(styles[i+1], builder.cm.options));\n      return;\n    }\n\n    var len = allText.length, pos = 0, i = 1, text = \"\", style, css;\n    var nextChange = 0, spanStyle, spanEndStyle, spanStartStyle, title, collapsed;\n    for (;;) {\n      if (nextChange == pos) { // Update current marker set\n        spanStyle = spanEndStyle = spanStartStyle = title = css = \"\";\n        collapsed = null; nextChange = Infinity;\n        var foundBookmarks = [];\n        for (var j = 0; j < spans.length; ++j) {\n          var sp = spans[j], m = sp.marker;\n          if (sp.from <= pos && (sp.to == null || sp.to > pos)) {\n            if (sp.to != null && nextChange > sp.to) { nextChange = sp.to; spanEndStyle = \"\"; }\n            if (m.className) spanStyle += \" \" + m.className;\n            if (m.css) css = m.css;\n            if (m.startStyle && sp.from == pos) spanStartStyle += \" \" + m.startStyle;\n            if (m.endStyle && sp.to == nextChange) spanEndStyle += \" \" + m.endStyle;\n            if (m.title && !title) title = m.title;\n            if (m.collapsed && (!collapsed || compareCollapsedMarkers(collapsed.marker, m) < 0))\n              collapsed = sp;\n          } else if (sp.from > pos && nextChange > sp.from) {\n            nextChange = sp.from;\n          }\n          if (m.type == \"bookmark\" && sp.from == pos && m.widgetNode) foundBookmarks.push(m);\n        }\n        if (collapsed && (collapsed.from || 0) == pos) {\n          buildCollapsedSpan(builder, (collapsed.to == null ? len + 1 : collapsed.to) - pos,\n                             collapsed.marker, collapsed.from == null);\n          if (collapsed.to == null) return;\n        }\n        if (!collapsed && foundBookmarks.length) for (var j = 0; j < foundBookmarks.length; ++j)\n          buildCollapsedSpan(builder, 0, foundBookmarks[j]);\n      }\n      if (pos >= len) break;\n\n      var upto = Math.min(len, nextChange);\n      while (true) {\n        if (text) {\n          var end = pos + text.length;\n          if (!collapsed) {\n            var tokenText = end > upto ? text.slice(0, upto - pos) : text;\n            builder.addToken(builder, tokenText, style ? style + spanStyle : spanStyle,\n                             spanStartStyle, pos + tokenText.length == nextChange ? spanEndStyle : \"\", title, css);\n          }\n          if (end >= upto) {text = text.slice(upto - pos); pos = upto; break;}\n          pos = end;\n          spanStartStyle = \"\";\n        }\n        text = allText.slice(at, at = styles[i++]);\n        style = interpretTokenStyle(styles[i++], builder.cm.options);\n      }\n    }\n  }\n\n  // DOCUMENT DATA STRUCTURE\n\n  // By default, updates that start and end at the beginning of a line\n  // are treated specially, in order to make the association of line\n  // widgets and marker elements with the text behave more intuitive.\n  function isWholeLineUpdate(doc, change) {\n    return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == \"\" &&\n      (!doc.cm || doc.cm.options.wholeLineUpdateBefore);\n  }\n\n  // Perform a change on the document data structure.\n  function updateDoc(doc, change, markedSpans, estimateHeight) {\n    function spansFor(n) {return markedSpans ? markedSpans[n] : null;}\n    function update(line, text, spans) {\n      updateLine(line, text, spans, estimateHeight);\n      signalLater(line, \"change\", line, change);\n    }\n    function linesFor(start, end) {\n      for (var i = start, result = []; i < end; ++i)\n        result.push(new Line(text[i], spansFor(i), estimateHeight));\n      return result;\n    }\n\n    var from = change.from, to = change.to, text = change.text;\n    var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);\n    var lastText = lst(text), lastSpans = spansFor(text.length - 1), nlines = to.line - from.line;\n\n    // Adjust the line structure\n    if (change.full) {\n      doc.insert(0, linesFor(0, text.length));\n      doc.remove(text.length, doc.size - text.length);\n    } else if (isWholeLineUpdate(doc, change)) {\n      // This is a whole-line replace. Treated specially to make\n      // sure line objects move the way they are supposed to.\n      var added = linesFor(0, text.length - 1);\n      update(lastLine, lastLine.text, lastSpans);\n      if (nlines) doc.remove(from.line, nlines);\n      if (added.length) doc.insert(from.line, added);\n    } else if (firstLine == lastLine) {\n      if (text.length == 1) {\n        update(firstLine, firstLine.text.slice(0, from.ch) + lastText + firstLine.text.slice(to.ch), lastSpans);\n      } else {\n        var added = linesFor(1, text.length - 1);\n        added.push(new Line(lastText + firstLine.text.slice(to.ch), lastSpans, estimateHeight));\n        update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n        doc.insert(from.line + 1, added);\n      }\n    } else if (text.length == 1) {\n      update(firstLine, firstLine.text.slice(0, from.ch) + text[0] + lastLine.text.slice(to.ch), spansFor(0));\n      doc.remove(from.line + 1, nlines);\n    } else {\n      update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n      update(lastLine, lastText + lastLine.text.slice(to.ch), lastSpans);\n      var added = linesFor(1, text.length - 1);\n      if (nlines > 1) doc.remove(from.line + 1, nlines - 1);\n      doc.insert(from.line + 1, added);\n    }\n\n    signalLater(doc, \"change\", doc, change);\n  }\n\n  // The document is represented as a BTree consisting of leaves, with\n  // chunk of lines in them, and branches, with up to ten leaves or\n  // other branch nodes below them. The top node is always a branch\n  // node, and is the document object itself (meaning it has\n  // additional methods and properties).\n  //\n  // All nodes have parent links. The tree is used both to go from\n  // line numbers to line objects, and to go from objects to numbers.\n  // It also indexes by height, and is used to convert between height\n  // and line object, and to find the total height of the document.\n  //\n  // See also http://marijnhaverbeke.nl/blog/codemirror-line-tree.html\n\n  function LeafChunk(lines) {\n    this.lines = lines;\n    this.parent = null;\n    for (var i = 0, height = 0; i < lines.length; ++i) {\n      lines[i].parent = this;\n      height += lines[i].height;\n    }\n    this.height = height;\n  }\n\n  LeafChunk.prototype = {\n    chunkSize: function() { return this.lines.length; },\n    // Remove the n lines at offset 'at'.\n    removeInner: function(at, n) {\n      for (var i = at, e = at + n; i < e; ++i) {\n        var line = this.lines[i];\n        this.height -= line.height;\n        cleanUpLine(line);\n        signalLater(line, \"delete\");\n      }\n      this.lines.splice(at, n);\n    },\n    // Helper used to collapse a small branch into a single leaf.\n    collapse: function(lines) {\n      lines.push.apply(lines, this.lines);\n    },\n    // Insert the given array of lines at offset 'at', count them as\n    // having the given height.\n    insertInner: function(at, lines, height) {\n      this.height += height;\n      this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at));\n      for (var i = 0; i < lines.length; ++i) lines[i].parent = this;\n    },\n    // Used to iterate over a part of the tree.\n    iterN: function(at, n, op) {\n      for (var e = at + n; at < e; ++at)\n        if (op(this.lines[at])) return true;\n    }\n  };\n\n  function BranchChunk(children) {\n    this.children = children;\n    var size = 0, height = 0;\n    for (var i = 0; i < children.length; ++i) {\n      var ch = children[i];\n      size += ch.chunkSize(); height += ch.height;\n      ch.parent = this;\n    }\n    this.size = size;\n    this.height = height;\n    this.parent = null;\n  }\n\n  BranchChunk.prototype = {\n    chunkSize: function() { return this.size; },\n    removeInner: function(at, n) {\n      this.size -= n;\n      for (var i = 0; i < this.children.length; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at < sz) {\n          var rm = Math.min(n, sz - at), oldHeight = child.height;\n          child.removeInner(at, rm);\n          this.height -= oldHeight - child.height;\n          if (sz == rm) { this.children.splice(i--, 1); child.parent = null; }\n          if ((n -= rm) == 0) break;\n          at = 0;\n        } else at -= sz;\n      }\n      // If the result is smaller than 25 lines, ensure that it is a\n      // single leaf node.\n      if (this.size - n < 25 &&\n          (this.children.length > 1 || !(this.children[0] instanceof LeafChunk))) {\n        var lines = [];\n        this.collapse(lines);\n        this.children = [new LeafChunk(lines)];\n        this.children[0].parent = this;\n      }\n    },\n    collapse: function(lines) {\n      for (var i = 0; i < this.children.length; ++i) this.children[i].collapse(lines);\n    },\n    insertInner: function(at, lines, height) {\n      this.size += lines.length;\n      this.height += height;\n      for (var i = 0; i < this.children.length; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at <= sz) {\n          child.insertInner(at, lines, height);\n          if (child.lines && child.lines.length > 50) {\n            while (child.lines.length > 50) {\n              var spilled = child.lines.splice(child.lines.length - 25, 25);\n              var newleaf = new LeafChunk(spilled);\n              child.height -= newleaf.height;\n              this.children.splice(i + 1, 0, newleaf);\n              newleaf.parent = this;\n            }\n            this.maybeSpill();\n          }\n          break;\n        }\n        at -= sz;\n      }\n    },\n    // When a node has grown, check whether it should be split.\n    maybeSpill: function() {\n      if (this.children.length <= 10) return;\n      var me = this;\n      do {\n        var spilled = me.children.splice(me.children.length - 5, 5);\n        var sibling = new BranchChunk(spilled);\n        if (!me.parent) { // Become the parent node\n          var copy = new BranchChunk(me.children);\n          copy.parent = me;\n          me.children = [copy, sibling];\n          me = copy;\n        } else {\n          me.size -= sibling.size;\n          me.height -= sibling.height;\n          var myIndex = indexOf(me.parent.children, me);\n          me.parent.children.splice(myIndex + 1, 0, sibling);\n        }\n        sibling.parent = me.parent;\n      } while (me.children.length > 10);\n      me.parent.maybeSpill();\n    },\n    iterN: function(at, n, op) {\n      for (var i = 0; i < this.children.length; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at < sz) {\n          var used = Math.min(n, sz - at);\n          if (child.iterN(at, used, op)) return true;\n          if ((n -= used) == 0) break;\n          at = 0;\n        } else at -= sz;\n      }\n    }\n  };\n\n  var nextDocId = 0;\n  var Doc = CodeMirror.Doc = function(text, mode, firstLine) {\n    if (!(this instanceof Doc)) return new Doc(text, mode, firstLine);\n    if (firstLine == null) firstLine = 0;\n\n    BranchChunk.call(this, [new LeafChunk([new Line(\"\", null)])]);\n    this.first = firstLine;\n    this.scrollTop = this.scrollLeft = 0;\n    this.cantEdit = false;\n    this.cleanGeneration = 1;\n    this.frontier = firstLine;\n    var start = Pos(firstLine, 0);\n    this.sel = simpleSelection(start);\n    this.history = new History(null);\n    this.id = ++nextDocId;\n    this.modeOption = mode;\n\n    if (typeof text == \"string\") text = splitLines(text);\n    updateDoc(this, {from: start, to: start, text: text});\n    setSelection(this, simpleSelection(start), sel_dontScroll);\n  };\n\n  Doc.prototype = createObj(BranchChunk.prototype, {\n    constructor: Doc,\n    // Iterate over the document. Supports two forms -- with only one\n    // argument, it calls that for each line in the document. With\n    // three, it iterates over the range given by the first two (with\n    // the second being non-inclusive).\n    iter: function(from, to, op) {\n      if (op) this.iterN(from - this.first, to - from, op);\n      else this.iterN(this.first, this.first + this.size, from);\n    },\n\n    // Non-public interface for adding and removing lines.\n    insert: function(at, lines) {\n      var height = 0;\n      for (var i = 0; i < lines.length; ++i) height += lines[i].height;\n      this.insertInner(at - this.first, lines, height);\n    },\n    remove: function(at, n) { this.removeInner(at - this.first, n); },\n\n    // From here, the methods are part of the public interface. Most\n    // are also available from CodeMirror (editor) instances.\n\n    getValue: function(lineSep) {\n      var lines = getLines(this, this.first, this.first + this.size);\n      if (lineSep === false) return lines;\n      return lines.join(lineSep || \"\\n\");\n    },\n    setValue: docMethodOp(function(code) {\n      var top = Pos(this.first, 0), last = this.first + this.size - 1;\n      makeChange(this, {from: top, to: Pos(last, getLine(this, last).text.length),\n                        text: splitLines(code), origin: \"setValue\", full: true}, true);\n      setSelection(this, simpleSelection(top));\n    }),\n    replaceRange: function(code, from, to, origin) {\n      from = clipPos(this, from);\n      to = to ? clipPos(this, to) : from;\n      replaceRange(this, code, from, to, origin);\n    },\n    getRange: function(from, to, lineSep) {\n      var lines = getBetween(this, clipPos(this, from), clipPos(this, to));\n      if (lineSep === false) return lines;\n      return lines.join(lineSep || \"\\n\");\n    },\n\n    getLine: function(line) {var l = this.getLineHandle(line); return l && l.text;},\n\n    getLineHandle: function(line) {if (isLine(this, line)) return getLine(this, line);},\n    getLineNumber: function(line) {return lineNo(line);},\n\n    getLineHandleVisualStart: function(line) {\n      if (typeof line == \"number\") line = getLine(this, line);\n      return visualLine(line);\n    },\n\n    lineCount: function() {return this.size;},\n    firstLine: function() {return this.first;},\n    lastLine: function() {return this.first + this.size - 1;},\n\n    clipPos: function(pos) {return clipPos(this, pos);},\n\n    getCursor: function(start) {\n      var range = this.sel.primary(), pos;\n      if (start == null || start == \"head\") pos = range.head;\n      else if (start == \"anchor\") pos = range.anchor;\n      else if (start == \"end\" || start == \"to\" || start === false) pos = range.to();\n      else pos = range.from();\n      return pos;\n    },\n    listSelections: function() { return this.sel.ranges; },\n    somethingSelected: function() {return this.sel.somethingSelected();},\n\n    setCursor: docMethodOp(function(line, ch, options) {\n      setSimpleSelection(this, clipPos(this, typeof line == \"number\" ? Pos(line, ch || 0) : line), null, options);\n    }),\n    setSelection: docMethodOp(function(anchor, head, options) {\n      setSimpleSelection(this, clipPos(this, anchor), clipPos(this, head || anchor), options);\n    }),\n    extendSelection: docMethodOp(function(head, other, options) {\n      extendSelection(this, clipPos(this, head), other && clipPos(this, other), options);\n    }),\n    extendSelections: docMethodOp(function(heads, options) {\n      extendSelections(this, clipPosArray(this, heads, options));\n    }),\n    extendSelectionsBy: docMethodOp(function(f, options) {\n      extendSelections(this, map(this.sel.ranges, f), options);\n    }),\n    setSelections: docMethodOp(function(ranges, primary, options) {\n      if (!ranges.length) return;\n      for (var i = 0, out = []; i < ranges.length; i++)\n        out[i] = new Range(clipPos(this, ranges[i].anchor),\n                           clipPos(this, ranges[i].head));\n      if (primary == null) primary = Math.min(ranges.length - 1, this.sel.primIndex);\n      setSelection(this, normalizeSelection(out, primary), options);\n    }),\n    addSelection: docMethodOp(function(anchor, head, options) {\n      var ranges = this.sel.ranges.slice(0);\n      ranges.push(new Range(clipPos(this, anchor), clipPos(this, head || anchor)));\n      setSelection(this, normalizeSelection(ranges, ranges.length - 1), options);\n    }),\n\n    getSelection: function(lineSep) {\n      var ranges = this.sel.ranges, lines;\n      for (var i = 0; i < ranges.length; i++) {\n        var sel = getBetween(this, ranges[i].from(), ranges[i].to());\n        lines = lines ? lines.concat(sel) : sel;\n      }\n      if (lineSep === false) return lines;\n      else return lines.join(lineSep || \"\\n\");\n    },\n    getSelections: function(lineSep) {\n      var parts = [], ranges = this.sel.ranges;\n      for (var i = 0; i < ranges.length; i++) {\n        var sel = getBetween(this, ranges[i].from(), ranges[i].to());\n        if (lineSep !== false) sel = sel.join(lineSep || \"\\n\");\n        parts[i] = sel;\n      }\n      return parts;\n    },\n    replaceSelection: function(code, collapse, origin) {\n      var dup = [];\n      for (var i = 0; i < this.sel.ranges.length; i++)\n        dup[i] = code;\n      this.replaceSelections(dup, collapse, origin || \"+input\");\n    },\n    replaceSelections: docMethodOp(function(code, collapse, origin) {\n      var changes = [], sel = this.sel;\n      for (var i = 0; i < sel.ranges.length; i++) {\n        var range = sel.ranges[i];\n        changes[i] = {from: range.from(), to: range.to(), text: splitLines(code[i]), origin: origin};\n      }\n      var newSel = collapse && collapse != \"end\" && computeReplacedSel(this, changes, collapse);\n      for (var i = changes.length - 1; i >= 0; i--)\n        makeChange(this, changes[i]);\n      if (newSel) setSelectionReplaceHistory(this, newSel);\n      else if (this.cm) ensureCursorVisible(this.cm);\n    }),\n    undo: docMethodOp(function() {makeChangeFromHistory(this, \"undo\");}),\n    redo: docMethodOp(function() {makeChangeFromHistory(this, \"redo\");}),\n    undoSelection: docMethodOp(function() {makeChangeFromHistory(this, \"undo\", true);}),\n    redoSelection: docMethodOp(function() {makeChangeFromHistory(this, \"redo\", true);}),\n\n    setExtending: function(val) {this.extend = val;},\n    getExtending: function() {return this.extend;},\n\n    historySize: function() {\n      var hist = this.history, done = 0, undone = 0;\n      for (var i = 0; i < hist.done.length; i++) if (!hist.done[i].ranges) ++done;\n      for (var i = 0; i < hist.undone.length; i++) if (!hist.undone[i].ranges) ++undone;\n      return {undo: done, redo: undone};\n    },\n    clearHistory: function() {this.history = new History(this.history.maxGeneration);},\n\n    markClean: function() {\n      this.cleanGeneration = this.changeGeneration(true);\n    },\n    changeGeneration: function(forceSplit) {\n      if (forceSplit)\n        this.history.lastOp = this.history.lastSelOp = this.history.lastOrigin = null;\n      return this.history.generation;\n    },\n    isClean: function (gen) {\n      return this.history.generation == (gen || this.cleanGeneration);\n    },\n\n    getHistory: function() {\n      return {done: copyHistoryArray(this.history.done),\n              undone: copyHistoryArray(this.history.undone)};\n    },\n    setHistory: function(histData) {\n      var hist = this.history = new History(this.history.maxGeneration);\n      hist.done = copyHistoryArray(histData.done.slice(0), null, true);\n      hist.undone = copyHistoryArray(histData.undone.slice(0), null, true);\n    },\n\n    addLineClass: docMethodOp(function(handle, where, cls) {\n      return changeLine(this, handle, where == \"gutter\" ? \"gutter\" : \"class\", function(line) {\n        var prop = where == \"text\" ? \"textClass\"\n                 : where == \"background\" ? \"bgClass\"\n                 : where == \"gutter\" ? \"gutterClass\" : \"wrapClass\";\n        if (!line[prop]) line[prop] = cls;\n        else if (classTest(cls).test(line[prop])) return false;\n        else line[prop] += \" \" + cls;\n        return true;\n      });\n    }),\n    removeLineClass: docMethodOp(function(handle, where, cls) {\n      return changeLine(this, handle, where == \"gutter\" ? \"gutter\" : \"class\", function(line) {\n        var prop = where == \"text\" ? \"textClass\"\n                 : where == \"background\" ? \"bgClass\"\n                 : where == \"gutter\" ? \"gutterClass\" : \"wrapClass\";\n        var cur = line[prop];\n        if (!cur) return false;\n        else if (cls == null) line[prop] = null;\n        else {\n          var found = cur.match(classTest(cls));\n          if (!found) return false;\n          var end = found.index + found[0].length;\n          line[prop] = cur.slice(0, found.index) + (!found.index || end == cur.length ? \"\" : \" \") + cur.slice(end) || null;\n        }\n        return true;\n      });\n    }),\n\n    markText: function(from, to, options) {\n      return markText(this, clipPos(this, from), clipPos(this, to), options, \"range\");\n    },\n    setBookmark: function(pos, options) {\n      var realOpts = {replacedWith: options && (options.nodeType == null ? options.widget : options),\n                      insertLeft: options && options.insertLeft,\n                      clearWhenEmpty: false, shared: options && options.shared};\n      pos = clipPos(this, pos);\n      return markText(this, pos, pos, realOpts, \"bookmark\");\n    },\n    findMarksAt: function(pos) {\n      pos = clipPos(this, pos);\n      var markers = [], spans = getLine(this, pos.line).markedSpans;\n      if (spans) for (var i = 0; i < spans.length; ++i) {\n        var span = spans[i];\n        if ((span.from == null || span.from <= pos.ch) &&\n            (span.to == null || span.to >= pos.ch))\n          markers.push(span.marker.parent || span.marker);\n      }\n      return markers;\n    },\n    findMarks: function(from, to, filter) {\n      from = clipPos(this, from); to = clipPos(this, to);\n      var found = [], lineNo = from.line;\n      this.iter(from.line, to.line + 1, function(line) {\n        var spans = line.markedSpans;\n        if (spans) for (var i = 0; i < spans.length; i++) {\n          var span = spans[i];\n          if (!(lineNo == from.line && from.ch > span.to ||\n                span.from == null && lineNo != from.line||\n                lineNo == to.line && span.from > to.ch) &&\n              (!filter || filter(span.marker)))\n            found.push(span.marker.parent || span.marker);\n        }\n        ++lineNo;\n      });\n      return found;\n    },\n    getAllMarks: function() {\n      var markers = [];\n      this.iter(function(line) {\n        var sps = line.markedSpans;\n        if (sps) for (var i = 0; i < sps.length; ++i)\n          if (sps[i].from != null) markers.push(sps[i].marker);\n      });\n      return markers;\n    },\n\n    posFromIndex: function(off) {\n      var ch, lineNo = this.first;\n      this.iter(function(line) {\n        var sz = line.text.length + 1;\n        if (sz > off) { ch = off; return true; }\n        off -= sz;\n        ++lineNo;\n      });\n      return clipPos(this, Pos(lineNo, ch));\n    },\n    indexFromPos: function (coords) {\n      coords = clipPos(this, coords);\n      var index = coords.ch;\n      if (coords.line < this.first || coords.ch < 0) return 0;\n      this.iter(this.first, coords.line, function (line) {\n        index += line.text.length + 1;\n      });\n      return index;\n    },\n\n    copy: function(copyHistory) {\n      var doc = new Doc(getLines(this, this.first, this.first + this.size), this.modeOption, this.first);\n      doc.scrollTop = this.scrollTop; doc.scrollLeft = this.scrollLeft;\n      doc.sel = this.sel;\n      doc.extend = false;\n      if (copyHistory) {\n        doc.history.undoDepth = this.history.undoDepth;\n        doc.setHistory(this.getHistory());\n      }\n      return doc;\n    },\n\n    linkedDoc: function(options) {\n      if (!options) options = {};\n      var from = this.first, to = this.first + this.size;\n      if (options.from != null && options.from > from) from = options.from;\n      if (options.to != null && options.to < to) to = options.to;\n      var copy = new Doc(getLines(this, from, to), options.mode || this.modeOption, from);\n      if (options.sharedHist) copy.history = this.history;\n      (this.linked || (this.linked = [])).push({doc: copy, sharedHist: options.sharedHist});\n      copy.linked = [{doc: this, isParent: true, sharedHist: options.sharedHist}];\n      copySharedMarkers(copy, findSharedMarkers(this));\n      return copy;\n    },\n    unlinkDoc: function(other) {\n      if (other instanceof CodeMirror) other = other.doc;\n      if (this.linked) for (var i = 0; i < this.linked.length; ++i) {\n        var link = this.linked[i];\n        if (link.doc != other) continue;\n        this.linked.splice(i, 1);\n        other.unlinkDoc(this);\n        detachSharedMarkers(findSharedMarkers(this));\n        break;\n      }\n      // If the histories were shared, split them again\n      if (other.history == this.history) {\n        var splitIds = [other.id];\n        linkedDocs(other, function(doc) {splitIds.push(doc.id);}, true);\n        other.history = new History(null);\n        other.history.done = copyHistoryArray(this.history.done, splitIds);\n        other.history.undone = copyHistoryArray(this.history.undone, splitIds);\n      }\n    },\n    iterLinkedDocs: function(f) {linkedDocs(this, f);},\n\n    getMode: function() {return this.mode;},\n    getEditor: function() {return this.cm;}\n  });\n\n  // Public alias.\n  Doc.prototype.eachLine = Doc.prototype.iter;\n\n  // Set up methods on CodeMirror's prototype to redirect to the editor's document.\n  var dontDelegate = \"iter insert remove copy getEditor\".split(\" \");\n  for (var prop in Doc.prototype) if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0)\n    CodeMirror.prototype[prop] = (function(method) {\n      return function() {return method.apply(this.doc, arguments);};\n    })(Doc.prototype[prop]);\n\n  eventMixin(Doc);\n\n  // Call f for all linked documents.\n  function linkedDocs(doc, f, sharedHistOnly) {\n    function propagate(doc, skip, sharedHist) {\n      if (doc.linked) for (var i = 0; i < doc.linked.length; ++i) {\n        var rel = doc.linked[i];\n        if (rel.doc == skip) continue;\n        var shared = sharedHist && rel.sharedHist;\n        if (sharedHistOnly && !shared) continue;\n        f(rel.doc, shared);\n        propagate(rel.doc, doc, shared);\n      }\n    }\n    propagate(doc, null, true);\n  }\n\n  // Attach a document to an editor.\n  function attachDoc(cm, doc) {\n    if (doc.cm) throw new Error(\"This document is already in use.\");\n    cm.doc = doc;\n    doc.cm = cm;\n    estimateLineHeights(cm);\n    loadMode(cm);\n    if (!cm.options.lineWrapping) findMaxLine(cm);\n    cm.options.mode = doc.modeOption;\n    regChange(cm);\n  }\n\n  // LINE UTILITIES\n\n  // Find the line object corresponding to the given line number.\n  function getLine(doc, n) {\n    n -= doc.first;\n    if (n < 0 || n >= doc.size) throw new Error(\"There is no line \" + (n + doc.first) + \" in the document.\");\n    for (var chunk = doc; !chunk.lines;) {\n      for (var i = 0;; ++i) {\n        var child = chunk.children[i], sz = child.chunkSize();\n        if (n < sz) { chunk = child; break; }\n        n -= sz;\n      }\n    }\n    return chunk.lines[n];\n  }\n\n  // Get the part of a document between two positions, as an array of\n  // strings.\n  function getBetween(doc, start, end) {\n    var out = [], n = start.line;\n    doc.iter(start.line, end.line + 1, function(line) {\n      var text = line.text;\n      if (n == end.line) text = text.slice(0, end.ch);\n      if (n == start.line) text = text.slice(start.ch);\n      out.push(text);\n      ++n;\n    });\n    return out;\n  }\n  // Get the lines between from and to, as array of strings.\n  function getLines(doc, from, to) {\n    var out = [];\n    doc.iter(from, to, function(line) { out.push(line.text); });\n    return out;\n  }\n\n  // Update the height of a line, propagating the height change\n  // upwards to parent nodes.\n  function updateLineHeight(line, height) {\n    var diff = height - line.height;\n    if (diff) for (var n = line; n; n = n.parent) n.height += diff;\n  }\n\n  // Given a line object, find its line number by walking up through\n  // its parent links.\n  function lineNo(line) {\n    if (line.parent == null) return null;\n    var cur = line.parent, no = indexOf(cur.lines, line);\n    for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) {\n      for (var i = 0;; ++i) {\n        if (chunk.children[i] == cur) break;\n        no += chunk.children[i].chunkSize();\n      }\n    }\n    return no + cur.first;\n  }\n\n  // Find the line at the given vertical position, using the height\n  // information in the document tree.\n  function lineAtHeight(chunk, h) {\n    var n = chunk.first;\n    outer: do {\n      for (var i = 0; i < chunk.children.length; ++i) {\n        var child = chunk.children[i], ch = child.height;\n        if (h < ch) { chunk = child; continue outer; }\n        h -= ch;\n        n += child.chunkSize();\n      }\n      return n;\n    } while (!chunk.lines);\n    for (var i = 0; i < chunk.lines.length; ++i) {\n      var line = chunk.lines[i], lh = line.height;\n      if (h < lh) break;\n      h -= lh;\n    }\n    return n + i;\n  }\n\n\n  // Find the height above the given line.\n  function heightAtLine(lineObj) {\n    lineObj = visualLine(lineObj);\n\n    var h = 0, chunk = lineObj.parent;\n    for (var i = 0; i < chunk.lines.length; ++i) {\n      var line = chunk.lines[i];\n      if (line == lineObj) break;\n      else h += line.height;\n    }\n    for (var p = chunk.parent; p; chunk = p, p = chunk.parent) {\n      for (var i = 0; i < p.children.length; ++i) {\n        var cur = p.children[i];\n        if (cur == chunk) break;\n        else h += cur.height;\n      }\n    }\n    return h;\n  }\n\n  // Get the bidi ordering for the given line (and cache it). Returns\n  // false for lines that are fully left-to-right, and an array of\n  // BidiSpan objects otherwise.\n  function getOrder(line) {\n    var order = line.order;\n    if (order == null) order = line.order = bidiOrdering(line.text);\n    return order;\n  }\n\n  // HISTORY\n\n  function History(startGen) {\n    // Arrays of change events and selections. Doing something adds an\n    // event to done and clears undo. Undoing moves events from done\n    // to undone, redoing moves them in the other direction.\n    this.done = []; this.undone = [];\n    this.undoDepth = Infinity;\n    // Used to track when changes can be merged into a single undo\n    // event\n    this.lastModTime = this.lastSelTime = 0;\n    this.lastOp = this.lastSelOp = null;\n    this.lastOrigin = this.lastSelOrigin = null;\n    // Used by the isClean() method\n    this.generation = this.maxGeneration = startGen || 1;\n  }\n\n  // Create a history change event from an updateDoc-style change\n  // object.\n  function historyChangeFromChange(doc, change) {\n    var histChange = {from: copyPos(change.from), to: changeEnd(change), text: getBetween(doc, change.from, change.to)};\n    attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);\n    linkedDocs(doc, function(doc) {attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);}, true);\n    return histChange;\n  }\n\n  // Pop all selection events off the end of a history array. Stop at\n  // a change event.\n  function clearSelectionEvents(array) {\n    while (array.length) {\n      var last = lst(array);\n      if (last.ranges) array.pop();\n      else break;\n    }\n  }\n\n  // Find the top change event in the history. Pop off selection\n  // events that are in the way.\n  function lastChangeEvent(hist, force) {\n    if (force) {\n      clearSelectionEvents(hist.done);\n      return lst(hist.done);\n    } else if (hist.done.length && !lst(hist.done).ranges) {\n      return lst(hist.done);\n    } else if (hist.done.length > 1 && !hist.done[hist.done.length - 2].ranges) {\n      hist.done.pop();\n      return lst(hist.done);\n    }\n  }\n\n  // Register a change in the history. Merges changes that are within\n  // a single operation, ore are close together with an origin that\n  // allows merging (starting with \"+\") into a single event.\n  function addChangeToHistory(doc, change, selAfter, opId) {\n    var hist = doc.history;\n    hist.undone.length = 0;\n    var time = +new Date, cur;\n\n    if ((hist.lastOp == opId ||\n         hist.lastOrigin == change.origin && change.origin &&\n         ((change.origin.charAt(0) == \"+\" && doc.cm && hist.lastModTime > time - doc.cm.options.historyEventDelay) ||\n          change.origin.charAt(0) == \"*\")) &&\n        (cur = lastChangeEvent(hist, hist.lastOp == opId))) {\n      // Merge this change into the last event\n      var last = lst(cur.changes);\n      if (cmp(change.from, change.to) == 0 && cmp(change.from, last.to) == 0) {\n        // Optimized case for simple insertion -- don't want to add\n        // new changesets for every character typed\n        last.to = changeEnd(change);\n      } else {\n        // Add new sub-event\n        cur.changes.push(historyChangeFromChange(doc, change));\n      }\n    } else {\n      // Can not be merged, start a new event.\n      var before = lst(hist.done);\n      if (!before || !before.ranges)\n        pushSelectionToHistory(doc.sel, hist.done);\n      cur = {changes: [historyChangeFromChange(doc, change)],\n             generation: hist.generation};\n      hist.done.push(cur);\n      while (hist.done.length > hist.undoDepth) {\n        hist.done.shift();\n        if (!hist.done[0].ranges) hist.done.shift();\n      }\n    }\n    hist.done.push(selAfter);\n    hist.generation = ++hist.maxGeneration;\n    hist.lastModTime = hist.lastSelTime = time;\n    hist.lastOp = hist.lastSelOp = opId;\n    hist.lastOrigin = hist.lastSelOrigin = change.origin;\n\n    if (!last) signal(doc, \"historyAdded\");\n  }\n\n  function selectionEventCanBeMerged(doc, origin, prev, sel) {\n    var ch = origin.charAt(0);\n    return ch == \"*\" ||\n      ch == \"+\" &&\n      prev.ranges.length == sel.ranges.length &&\n      prev.somethingSelected() == sel.somethingSelected() &&\n      new Date - doc.history.lastSelTime <= (doc.cm ? doc.cm.options.historyEventDelay : 500);\n  }\n\n  // Called whenever the selection changes, sets the new selection as\n  // the pending selection in the history, and pushes the old pending\n  // selection into the 'done' array when it was significantly\n  // different (in number of selected ranges, emptiness, or time).\n  function addSelectionToHistory(doc, sel, opId, options) {\n    var hist = doc.history, origin = options && options.origin;\n\n    // A new event is started when the previous origin does not match\n    // the current, or the origins don't allow matching. Origins\n    // starting with * are always merged, those starting with + are\n    // merged when similar and close together in time.\n    if (opId == hist.lastSelOp ||\n        (origin && hist.lastSelOrigin == origin &&\n         (hist.lastModTime == hist.lastSelTime && hist.lastOrigin == origin ||\n          selectionEventCanBeMerged(doc, origin, lst(hist.done), sel))))\n      hist.done[hist.done.length - 1] = sel;\n    else\n      pushSelectionToHistory(sel, hist.done);\n\n    hist.lastSelTime = +new Date;\n    hist.lastSelOrigin = origin;\n    hist.lastSelOp = opId;\n    if (options && options.clearRedo !== false)\n      clearSelectionEvents(hist.undone);\n  }\n\n  function pushSelectionToHistory(sel, dest) {\n    var top = lst(dest);\n    if (!(top && top.ranges && top.equals(sel)))\n      dest.push(sel);\n  }\n\n  // Used to store marked span information in the history.\n  function attachLocalSpans(doc, change, from, to) {\n    var existing = change[\"spans_\" + doc.id], n = 0;\n    doc.iter(Math.max(doc.first, from), Math.min(doc.first + doc.size, to), function(line) {\n      if (line.markedSpans)\n        (existing || (existing = change[\"spans_\" + doc.id] = {}))[n] = line.markedSpans;\n      ++n;\n    });\n  }\n\n  // When un/re-doing restores text containing marked spans, those\n  // that have been explicitly cleared should not be restored.\n  function removeClearedSpans(spans) {\n    if (!spans) return null;\n    for (var i = 0, out; i < spans.length; ++i) {\n      if (spans[i].marker.explicitlyCleared) { if (!out) out = spans.slice(0, i); }\n      else if (out) out.push(spans[i]);\n    }\n    return !out ? spans : out.length ? out : null;\n  }\n\n  // Retrieve and filter the old marked spans stored in a change event.\n  function getOldSpans(doc, change) {\n    var found = change[\"spans_\" + doc.id];\n    if (!found) return null;\n    for (var i = 0, nw = []; i < change.text.length; ++i)\n      nw.push(removeClearedSpans(found[i]));\n    return nw;\n  }\n\n  // Used both to provide a JSON-safe object in .getHistory, and, when\n  // detaching a document, to split the history in two\n  function copyHistoryArray(events, newGroup, instantiateSel) {\n    for (var i = 0, copy = []; i < events.length; ++i) {\n      var event = events[i];\n      if (event.ranges) {\n        copy.push(instantiateSel ? Selection.prototype.deepCopy.call(event) : event);\n        continue;\n      }\n      var changes = event.changes, newChanges = [];\n      copy.push({changes: newChanges});\n      for (var j = 0; j < changes.length; ++j) {\n        var change = changes[j], m;\n        newChanges.push({from: change.from, to: change.to, text: change.text});\n        if (newGroup) for (var prop in change) if (m = prop.match(/^spans_(\\d+)$/)) {\n          if (indexOf(newGroup, Number(m[1])) > -1) {\n            lst(newChanges)[prop] = change[prop];\n            delete change[prop];\n          }\n        }\n      }\n    }\n    return copy;\n  }\n\n  // Rebasing/resetting history to deal with externally-sourced changes\n\n  function rebaseHistSelSingle(pos, from, to, diff) {\n    if (to < pos.line) {\n      pos.line += diff;\n    } else if (from < pos.line) {\n      pos.line = from;\n      pos.ch = 0;\n    }\n  }\n\n  // Tries to rebase an array of history events given a change in the\n  // document. If the change touches the same lines as the event, the\n  // event, and everything 'behind' it, is discarded. If the change is\n  // before the event, the event's positions are updated. Uses a\n  // copy-on-write scheme for the positions, to avoid having to\n  // reallocate them all on every rebase, but also avoid problems with\n  // shared position objects being unsafely updated.\n  function rebaseHistArray(array, from, to, diff) {\n    for (var i = 0; i < array.length; ++i) {\n      var sub = array[i], ok = true;\n      if (sub.ranges) {\n        if (!sub.copied) { sub = array[i] = sub.deepCopy(); sub.copied = true; }\n        for (var j = 0; j < sub.ranges.length; j++) {\n          rebaseHistSelSingle(sub.ranges[j].anchor, from, to, diff);\n          rebaseHistSelSingle(sub.ranges[j].head, from, to, diff);\n        }\n        continue;\n      }\n      for (var j = 0; j < sub.changes.length; ++j) {\n        var cur = sub.changes[j];\n        if (to < cur.from.line) {\n          cur.from = Pos(cur.from.line + diff, cur.from.ch);\n          cur.to = Pos(cur.to.line + diff, cur.to.ch);\n        } else if (from <= cur.to.line) {\n          ok = false;\n          break;\n        }\n      }\n      if (!ok) {\n        array.splice(0, i + 1);\n        i = 0;\n      }\n    }\n  }\n\n  function rebaseHist(hist, change) {\n    var from = change.from.line, to = change.to.line, diff = change.text.length - (to - from) - 1;\n    rebaseHistArray(hist.done, from, to, diff);\n    rebaseHistArray(hist.undone, from, to, diff);\n  }\n\n  // EVENT UTILITIES\n\n  // Due to the fact that we still support jurassic IE versions, some\n  // compatibility wrappers are needed.\n\n  var e_preventDefault = CodeMirror.e_preventDefault = function(e) {\n    if (e.preventDefault) e.preventDefault();\n    else e.returnValue = false;\n  };\n  var e_stopPropagation = CodeMirror.e_stopPropagation = function(e) {\n    if (e.stopPropagation) e.stopPropagation();\n    else e.cancelBubble = true;\n  };\n  function e_defaultPrevented(e) {\n    return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false;\n  }\n  var e_stop = CodeMirror.e_stop = function(e) {e_preventDefault(e); e_stopPropagation(e);};\n\n  function e_target(e) {return e.target || e.srcElement;}\n  function e_button(e) {\n    var b = e.which;\n    if (b == null) {\n      if (e.button & 1) b = 1;\n      else if (e.button & 2) b = 3;\n      else if (e.button & 4) b = 2;\n    }\n    if (mac && e.ctrlKey && b == 1) b = 3;\n    return b;\n  }\n\n  // EVENT HANDLING\n\n  // Lightweight event framework. on/off also work on DOM nodes,\n  // registering native DOM handlers.\n\n  var on = CodeMirror.on = function(emitter, type, f) {\n    if (emitter.addEventListener)\n      emitter.addEventListener(type, f, false);\n    else if (emitter.attachEvent)\n      emitter.attachEvent(\"on\" + type, f);\n    else {\n      var map = emitter._handlers || (emitter._handlers = {});\n      var arr = map[type] || (map[type] = []);\n      arr.push(f);\n    }\n  };\n\n  var off = CodeMirror.off = function(emitter, type, f) {\n    if (emitter.removeEventListener)\n      emitter.removeEventListener(type, f, false);\n    else if (emitter.detachEvent)\n      emitter.detachEvent(\"on\" + type, f);\n    else {\n      var arr = emitter._handlers && emitter._handlers[type];\n      if (!arr) return;\n      for (var i = 0; i < arr.length; ++i)\n        if (arr[i] == f) { arr.splice(i, 1); break; }\n    }\n  };\n\n  var signal = CodeMirror.signal = function(emitter, type /*, values...*/) {\n    var arr = emitter._handlers && emitter._handlers[type];\n    if (!arr) return;\n    var args = Array.prototype.slice.call(arguments, 2);\n    for (var i = 0; i < arr.length; ++i) arr[i].apply(null, args);\n  };\n\n  var orphanDelayedCallbacks = null;\n\n  // Often, we want to signal events at a point where we are in the\n  // middle of some work, but don't want the handler to start calling\n  // other methods on the editor, which might be in an inconsistent\n  // state or simply not expect any other events to happen.\n  // signalLater looks whether there are any handlers, and schedules\n  // them to be executed when the last operation ends, or, if no\n  // operation is active, when a timeout fires.\n  function signalLater(emitter, type /*, values...*/) {\n    var arr = emitter._handlers && emitter._handlers[type];\n    if (!arr) return;\n    var args = Array.prototype.slice.call(arguments, 2), list;\n    if (operationGroup) {\n      list = operationGroup.delayedCallbacks;\n    } else if (orphanDelayedCallbacks) {\n      list = orphanDelayedCallbacks;\n    } else {\n      list = orphanDelayedCallbacks = [];\n      setTimeout(fireOrphanDelayed, 0);\n    }\n    function bnd(f) {return function(){f.apply(null, args);};};\n    for (var i = 0; i < arr.length; ++i)\n      list.push(bnd(arr[i]));\n  }\n\n  function fireOrphanDelayed() {\n    var delayed = orphanDelayedCallbacks;\n    orphanDelayedCallbacks = null;\n    for (var i = 0; i < delayed.length; ++i) delayed[i]();\n  }\n\n  // The DOM events that CodeMirror handles can be overridden by\n  // registering a (non-DOM) handler on the editor for the event name,\n  // and preventDefault-ing the event in that handler.\n  function signalDOMEvent(cm, e, override) {\n    if (typeof e == \"string\")\n      e = {type: e, preventDefault: function() { this.defaultPrevented = true; }};\n    signal(cm, override || e.type, cm, e);\n    return e_defaultPrevented(e) || e.codemirrorIgnore;\n  }\n\n  function signalCursorActivity(cm) {\n    var arr = cm._handlers && cm._handlers.cursorActivity;\n    if (!arr) return;\n    var set = cm.curOp.cursorActivityHandlers || (cm.curOp.cursorActivityHandlers = []);\n    for (var i = 0; i < arr.length; ++i) if (indexOf(set, arr[i]) == -1)\n      set.push(arr[i]);\n  }\n\n  function hasHandler(emitter, type) {\n    var arr = emitter._handlers && emitter._handlers[type];\n    return arr && arr.length > 0;\n  }\n\n  // Add on and off methods to a constructor's prototype, to make\n  // registering events on such objects more convenient.\n  function eventMixin(ctor) {\n    ctor.prototype.on = function(type, f) {on(this, type, f);};\n    ctor.prototype.off = function(type, f) {off(this, type, f);};\n  }\n\n  // MISC UTILITIES\n\n  // Number of pixels added to scroller and sizer to hide scrollbar\n  var scrollerGap = 30;\n\n  // Returned or thrown by various protocols to signal 'I'm not\n  // handling this'.\n  var Pass = CodeMirror.Pass = {toString: function(){return \"CodeMirror.Pass\";}};\n\n  // Reused option objects for setSelection & friends\n  var sel_dontScroll = {scroll: false}, sel_mouse = {origin: \"*mouse\"}, sel_move = {origin: \"+move\"};\n\n  function Delayed() {this.id = null;}\n  Delayed.prototype.set = function(ms, f) {\n    clearTimeout(this.id);\n    this.id = setTimeout(f, ms);\n  };\n\n  // Counts the column offset in a string, taking tabs into account.\n  // Used mostly to find indentation.\n  var countColumn = CodeMirror.countColumn = function(string, end, tabSize, startIndex, startValue) {\n    if (end == null) {\n      end = string.search(/[^\\s\\u00a0]/);\n      if (end == -1) end = string.length;\n    }\n    for (var i = startIndex || 0, n = startValue || 0;;) {\n      var nextTab = string.indexOf(\"\\t\", i);\n      if (nextTab < 0 || nextTab >= end)\n        return n + (end - i);\n      n += nextTab - i;\n      n += tabSize - (n % tabSize);\n      i = nextTab + 1;\n    }\n  };\n\n  // The inverse of countColumn -- find the offset that corresponds to\n  // a particular column.\n  function findColumn(string, goal, tabSize) {\n    for (var pos = 0, col = 0;;) {\n      var nextTab = string.indexOf(\"\\t\", pos);\n      if (nextTab == -1) nextTab = string.length;\n      var skipped = nextTab - pos;\n      if (nextTab == string.length || col + skipped >= goal)\n        return pos + Math.min(skipped, goal - col);\n      col += nextTab - pos;\n      col += tabSize - (col % tabSize);\n      pos = nextTab + 1;\n      if (col >= goal) return pos;\n    }\n  }\n\n  var spaceStrs = [\"\"];\n  function spaceStr(n) {\n    while (spaceStrs.length <= n)\n      spaceStrs.push(lst(spaceStrs) + \" \");\n    return spaceStrs[n];\n  }\n\n  function lst(arr) { return arr[arr.length-1]; }\n\n  var selectInput = function(node) { node.select(); };\n  if (ios) // Mobile Safari apparently has a bug where select() is broken.\n    selectInput = function(node) { node.selectionStart = 0; node.selectionEnd = node.value.length; };\n  else if (ie) // Suppress mysterious IE10 errors\n    selectInput = function(node) { try { node.select(); } catch(_e) {} };\n\n  function indexOf(array, elt) {\n    for (var i = 0; i < array.length; ++i)\n      if (array[i] == elt) return i;\n    return -1;\n  }\n  function map(array, f) {\n    var out = [];\n    for (var i = 0; i < array.length; i++) out[i] = f(array[i], i);\n    return out;\n  }\n\n  function nothing() {}\n\n  function createObj(base, props) {\n    var inst;\n    if (Object.create) {\n      inst = Object.create(base);\n    } else {\n      nothing.prototype = base;\n      inst = new nothing();\n    }\n    if (props) copyObj(props, inst);\n    return inst;\n  };\n\n  function copyObj(obj, target, overwrite) {\n    if (!target) target = {};\n    for (var prop in obj)\n      if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)))\n        target[prop] = obj[prop];\n    return target;\n  }\n\n  function bind(f) {\n    var args = Array.prototype.slice.call(arguments, 1);\n    return function(){return f.apply(null, args);};\n  }\n\n  var nonASCIISingleCaseWordChar = /[\\u00df\\u0590-\\u05f4\\u0600-\\u06ff\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;\n  var isWordCharBasic = CodeMirror.isWordChar = function(ch) {\n    return /\\w/.test(ch) || ch > \"\\x80\" &&\n      (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch));\n  };\n  function isWordChar(ch, helper) {\n    if (!helper) return isWordCharBasic(ch);\n    if (helper.source.indexOf(\"\\\\w\") > -1 && isWordCharBasic(ch)) return true;\n    return helper.test(ch);\n  }\n\n  function isEmpty(obj) {\n    for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false;\n    return true;\n  }\n\n  // Extending unicode characters. A series of a non-extending char +\n  // any number of extending chars is treated as a single unit as far\n  // as editing and measuring is concerned. This is not fully correct,\n  // since some scripts/fonts/browsers also treat other configurations\n  // of code points as a group.\n  var extendingChars = /[\\u0300-\\u036f\\u0483-\\u0489\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u065e\\u0670\\u06d6-\\u06dc\\u06de-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0900-\\u0902\\u093c\\u0941-\\u0948\\u094d\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09bc\\u09be\\u09c1-\\u09c4\\u09cd\\u09d7\\u09e2\\u09e3\\u0a01\\u0a02\\u0a3c\\u0a41\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a70\\u0a71\\u0a75\\u0a81\\u0a82\\u0abc\\u0ac1-\\u0ac5\\u0ac7\\u0ac8\\u0acd\\u0ae2\\u0ae3\\u0b01\\u0b3c\\u0b3e\\u0b3f\\u0b41-\\u0b44\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b82\\u0bbe\\u0bc0\\u0bcd\\u0bd7\\u0c3e-\\u0c40\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0cbc\\u0cbf\\u0cc2\\u0cc6\\u0ccc\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0d3e\\u0d41-\\u0d44\\u0d4d\\u0d57\\u0d62\\u0d63\\u0dca\\u0dcf\\u0dd2-\\u0dd4\\u0dd6\\u0ddf\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0f18\\u0f19\\u0f35\\u0f37\\u0f39\\u0f71-\\u0f7e\\u0f80-\\u0f84\\u0f86\\u0f87\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102d-\\u1030\\u1032-\\u1037\\u1039\\u103a\\u103d\\u103e\\u1058\\u1059\\u105e-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108d\\u109d\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b7-\\u17bd\\u17c6\\u17c9-\\u17d3\\u17dd\\u180b-\\u180d\\u18a9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193b\\u1a17\\u1a18\\u1a56\\u1a58-\\u1a5e\\u1a60\\u1a62\\u1a65-\\u1a6c\\u1a73-\\u1a7c\\u1a7f\\u1b00-\\u1b03\\u1b34\\u1b36-\\u1b3a\\u1b3c\\u1b42\\u1b6b-\\u1b73\\u1b80\\u1b81\\u1ba2-\\u1ba5\\u1ba8\\u1ba9\\u1c2c-\\u1c33\\u1c36\\u1c37\\u1cd0-\\u1cd2\\u1cd4-\\u1ce0\\u1ce2-\\u1ce8\\u1ced\\u1dc0-\\u1de6\\u1dfd-\\u1dff\\u200c\\u200d\\u20d0-\\u20f0\\u2cef-\\u2cf1\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua66f-\\ua672\\ua67c\\ua67d\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua825\\ua826\\ua8c4\\ua8e0-\\ua8f1\\ua926-\\ua92d\\ua947-\\ua951\\ua980-\\ua982\\ua9b3\\ua9b6-\\ua9b9\\ua9bc\\uaa29-\\uaa2e\\uaa31\\uaa32\\uaa35\\uaa36\\uaa43\\uaa4c\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uabe5\\uabe8\\uabed\\udc00-\\udfff\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\uff9e\\uff9f]/;\n  function isExtendingChar(ch) { return ch.charCodeAt(0) >= 768 && extendingChars.test(ch); }\n\n  // DOM UTILITIES\n\n  function elt(tag, content, className, style) {\n    var e = document.createElement(tag);\n    if (className) e.className = className;\n    if (style) e.style.cssText = style;\n    if (typeof content == \"string\") e.appendChild(document.createTextNode(content));\n    else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]);\n    return e;\n  }\n\n  var range;\n  if (document.createRange) range = function(node, start, end, endNode) {\n    var r = document.createRange();\n    r.setEnd(endNode || node, end);\n    r.setStart(node, start);\n    return r;\n  };\n  else range = function(node, start, end) {\n    var r = document.body.createTextRange();\n    try { r.moveToElementText(node.parentNode); }\n    catch(e) { return r; }\n    r.collapse(true);\n    r.moveEnd(\"character\", end);\n    r.moveStart(\"character\", start);\n    return r;\n  };\n\n  function removeChildren(e) {\n    for (var count = e.childNodes.length; count > 0; --count)\n      e.removeChild(e.firstChild);\n    return e;\n  }\n\n  function removeChildrenAndAdd(parent, e) {\n    return removeChildren(parent).appendChild(e);\n  }\n\n  var contains = CodeMirror.contains = function(parent, child) {\n    if (child.nodeType == 3) // Android browser always returns false when child is a textnode\n      child = child.parentNode;\n    if (parent.contains)\n      return parent.contains(child);\n    do {\n      if (child.nodeType == 11) child = child.host;\n      if (child == parent) return true;\n    } while (child = child.parentNode);\n  };\n\n  function activeElt() { return document.activeElement; }\n  // Older versions of IE throws unspecified error when touching\n  // document.activeElement in some cases (during loading, in iframe)\n  if (ie && ie_version < 11) activeElt = function() {\n    try { return document.activeElement; }\n    catch(e) { return document.body; }\n  };\n\n  function classTest(cls) { return new RegExp(\"(^|\\\\s)\" + cls + \"(?:$|\\\\s)\\\\s*\"); }\n  var rmClass = CodeMirror.rmClass = function(node, cls) {\n    var current = node.className;\n    var match = classTest(cls).exec(current);\n    if (match) {\n      var after = current.slice(match.index + match[0].length);\n      node.className = current.slice(0, match.index) + (after ? match[1] + after : \"\");\n    }\n  };\n  var addClass = CodeMirror.addClass = function(node, cls) {\n    var current = node.className;\n    if (!classTest(cls).test(current)) node.className += (current ? \" \" : \"\") + cls;\n  };\n  function joinClasses(a, b) {\n    var as = a.split(\" \");\n    for (var i = 0; i < as.length; i++)\n      if (as[i] && !classTest(as[i]).test(b)) b += \" \" + as[i];\n    return b;\n  }\n\n  // WINDOW-WIDE EVENTS\n\n  // These must be handled carefully, because naively registering a\n  // handler for each editor will cause the editors to never be\n  // garbage collected.\n\n  function forEachCodeMirror(f) {\n    if (!document.body.getElementsByClassName) return;\n    var byClass = document.body.getElementsByClassName(\"CodeMirror\");\n    for (var i = 0; i < byClass.length; i++) {\n      var cm = byClass[i].CodeMirror;\n      if (cm) f(cm);\n    }\n  }\n\n  var globalsRegistered = false;\n  function ensureGlobalHandlers() {\n    if (globalsRegistered) return;\n    registerGlobalHandlers();\n    globalsRegistered = true;\n  }\n  function registerGlobalHandlers() {\n    // When the window resizes, we need to refresh active editors.\n    var resizeTimer;\n    on(window, \"resize\", function() {\n      if (resizeTimer == null) resizeTimer = setTimeout(function() {\n        resizeTimer = null;\n        forEachCodeMirror(onResize);\n      }, 100);\n    });\n    // When the window loses focus, we want to show the editor as blurred\n    on(window, \"blur\", function() {\n      forEachCodeMirror(onBlur);\n    });\n  }\n\n  // FEATURE DETECTION\n\n  // Detect drag-and-drop\n  var dragAndDrop = function() {\n    // There is *some* kind of drag-and-drop support in IE6-8, but I\n    // couldn't get it to work yet.\n    if (ie && ie_version < 9) return false;\n    var div = elt('div');\n    return \"draggable\" in div || \"dragDrop\" in div;\n  }();\n\n  var zwspSupported;\n  function zeroWidthElement(measure) {\n    if (zwspSupported == null) {\n      var test = elt(\"span\", \"\\u200b\");\n      removeChildrenAndAdd(measure, elt(\"span\", [test, document.createTextNode(\"x\")]));\n      if (measure.firstChild.offsetHeight != 0)\n        zwspSupported = test.offsetWidth <= 1 && test.offsetHeight > 2 && !(ie && ie_version < 8);\n    }\n    var node = zwspSupported ? elt(\"span\", \"\\u200b\") :\n      elt(\"span\", \"\\u00a0\", null, \"display: inline-block; width: 1px; margin-right: -1px\");\n    node.setAttribute(\"cm-text\", \"\");\n    return node;\n  }\n\n  // Feature-detect IE's crummy client rect reporting for bidi text\n  var badBidiRects;\n  function hasBadBidiRects(measure) {\n    if (badBidiRects != null) return badBidiRects;\n    var txt = removeChildrenAndAdd(measure, document.createTextNode(\"A\\u062eA\"));\n    var r0 = range(txt, 0, 1).getBoundingClientRect();\n    if (!r0 || r0.left == r0.right) return false; // Safari returns null in some cases (#2780)\n    var r1 = range(txt, 1, 2).getBoundingClientRect();\n    return badBidiRects = (r1.right - r0.right < 3);\n  }\n\n  // See if \"\".split is the broken IE version, if so, provide an\n  // alternative way to split lines.\n  var splitLines = CodeMirror.splitLines = \"\\n\\nb\".split(/\\n/).length != 3 ? function(string) {\n    var pos = 0, result = [], l = string.length;\n    while (pos <= l) {\n      var nl = string.indexOf(\"\\n\", pos);\n      if (nl == -1) nl = string.length;\n      var line = string.slice(pos, string.charAt(nl - 1) == \"\\r\" ? nl - 1 : nl);\n      var rt = line.indexOf(\"\\r\");\n      if (rt != -1) {\n        result.push(line.slice(0, rt));\n        pos += rt + 1;\n      } else {\n        result.push(line);\n        pos = nl + 1;\n      }\n    }\n    return result;\n  } : function(string){return string.split(/\\r\\n?|\\n/);};\n\n  var hasSelection = window.getSelection ? function(te) {\n    try { return te.selectionStart != te.selectionEnd; }\n    catch(e) { return false; }\n  } : function(te) {\n    try {var range = te.ownerDocument.selection.createRange();}\n    catch(e) {}\n    if (!range || range.parentElement() != te) return false;\n    return range.compareEndPoints(\"StartToEnd\", range) != 0;\n  };\n\n  var hasCopyEvent = (function() {\n    var e = elt(\"div\");\n    if (\"oncopy\" in e) return true;\n    e.setAttribute(\"oncopy\", \"return;\");\n    return typeof e.oncopy == \"function\";\n  })();\n\n  var badZoomedRects = null;\n  function hasBadZoomedRects(measure) {\n    if (badZoomedRects != null) return badZoomedRects;\n    var node = removeChildrenAndAdd(measure, elt(\"span\", \"x\"));\n    var normal = node.getBoundingClientRect();\n    var fromRange = range(node, 0, 1).getBoundingClientRect();\n    return badZoomedRects = Math.abs(normal.left - fromRange.left) > 1;\n  }\n\n  // KEY NAMES\n\n  var keyNames = {3: \"Enter\", 8: \"Backspace\", 9: \"Tab\", 13: \"Enter\", 16: \"Shift\", 17: \"Ctrl\", 18: \"Alt\",\n                  19: \"Pause\", 20: \"CapsLock\", 27: \"Esc\", 32: \"Space\", 33: \"PageUp\", 34: \"PageDown\", 35: \"End\",\n                  36: \"Home\", 37: \"Left\", 38: \"Up\", 39: \"Right\", 40: \"Down\", 44: \"PrintScrn\", 45: \"Insert\",\n                  46: \"Delete\", 59: \";\", 61: \"=\", 91: \"Mod\", 92: \"Mod\", 93: \"Mod\", 107: \"=\", 109: \"-\", 127: \"Delete\",\n                  173: \"-\", 186: \";\", 187: \"=\", 188: \",\", 189: \"-\", 190: \".\", 191: \"/\", 192: \"`\", 219: \"[\", 220: \"\\\\\",\n                  221: \"]\", 222: \"'\", 63232: \"Up\", 63233: \"Down\", 63234: \"Left\", 63235: \"Right\", 63272: \"Delete\",\n                  63273: \"Home\", 63275: \"End\", 63276: \"PageUp\", 63277: \"PageDown\", 63302: \"Insert\"};\n  CodeMirror.keyNames = keyNames;\n  (function() {\n    // Number keys\n    for (var i = 0; i < 10; i++) keyNames[i + 48] = keyNames[i + 96] = String(i);\n    // Alphabetic keys\n    for (var i = 65; i <= 90; i++) keyNames[i] = String.fromCharCode(i);\n    // Function keys\n    for (var i = 1; i <= 12; i++) keyNames[i + 111] = keyNames[i + 63235] = \"F\" + i;\n  })();\n\n  // BIDI HELPERS\n\n  function iterateBidiSections(order, from, to, f) {\n    if (!order) return f(from, to, \"ltr\");\n    var found = false;\n    for (var i = 0; i < order.length; ++i) {\n      var part = order[i];\n      if (part.from < to && part.to > from || from == to && part.to == from) {\n        f(Math.max(part.from, from), Math.min(part.to, to), part.level == 1 ? \"rtl\" : \"ltr\");\n        found = true;\n      }\n    }\n    if (!found) f(from, to, \"ltr\");\n  }\n\n  function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }\n  function bidiRight(part) { return part.level % 2 ? part.from : part.to; }\n\n  function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }\n  function lineRight(line) {\n    var order = getOrder(line);\n    if (!order) return line.text.length;\n    return bidiRight(lst(order));\n  }\n\n  function lineStart(cm, lineN) {\n    var line = getLine(cm.doc, lineN);\n    var visual = visualLine(line);\n    if (visual != line) lineN = lineNo(visual);\n    var order = getOrder(visual);\n    var ch = !order ? 0 : order[0].level % 2 ? lineRight(visual) : lineLeft(visual);\n    return Pos(lineN, ch);\n  }\n  function lineEnd(cm, lineN) {\n    var merged, line = getLine(cm.doc, lineN);\n    while (merged = collapsedSpanAtEnd(line)) {\n      line = merged.find(1, true).line;\n      lineN = null;\n    }\n    var order = getOrder(line);\n    var ch = !order ? line.text.length : order[0].level % 2 ? lineLeft(line) : lineRight(line);\n    return Pos(lineN == null ? lineNo(line) : lineN, ch);\n  }\n  function lineStartSmart(cm, pos) {\n    var start = lineStart(cm, pos.line);\n    var line = getLine(cm.doc, start.line);\n    var order = getOrder(line);\n    if (!order || order[0].level == 0) {\n      var firstNonWS = Math.max(0, line.text.search(/\\S/));\n      var inWS = pos.line == start.line && pos.ch <= firstNonWS && pos.ch;\n      return Pos(start.line, inWS ? 0 : firstNonWS);\n    }\n    return start;\n  }\n\n  function compareBidiLevel(order, a, b) {\n    var linedir = order[0].level;\n    if (a == linedir) return true;\n    if (b == linedir) return false;\n    return a < b;\n  }\n  var bidiOther;\n  function getBidiPartAt(order, pos) {\n    bidiOther = null;\n    for (var i = 0, found; i < order.length; ++i) {\n      var cur = order[i];\n      if (cur.from < pos && cur.to > pos) return i;\n      if ((cur.from == pos || cur.to == pos)) {\n        if (found == null) {\n          found = i;\n        } else if (compareBidiLevel(order, cur.level, order[found].level)) {\n          if (cur.from != cur.to) bidiOther = found;\n          return i;\n        } else {\n          if (cur.from != cur.to) bidiOther = i;\n          return found;\n        }\n      }\n    }\n    return found;\n  }\n\n  function moveInLine(line, pos, dir, byUnit) {\n    if (!byUnit) return pos + dir;\n    do pos += dir;\n    while (pos > 0 && isExtendingChar(line.text.charAt(pos)));\n    return pos;\n  }\n\n  // This is needed in order to move 'visually' through bi-directional\n  // text -- i.e., pressing left should make the cursor go left, even\n  // when in RTL text. The tricky part is the 'jumps', where RTL and\n  // LTR text touch each other. This often requires the cursor offset\n  // to move more than one unit, in order to visually move one unit.\n  function moveVisually(line, start, dir, byUnit) {\n    var bidi = getOrder(line);\n    if (!bidi) return moveLogically(line, start, dir, byUnit);\n    var pos = getBidiPartAt(bidi, start), part = bidi[pos];\n    var target = moveInLine(line, start, part.level % 2 ? -dir : dir, byUnit);\n\n    for (;;) {\n      if (target > part.from && target < part.to) return target;\n      if (target == part.from || target == part.to) {\n        if (getBidiPartAt(bidi, target) == pos) return target;\n        part = bidi[pos += dir];\n        return (dir > 0) == part.level % 2 ? part.to : part.from;\n      } else {\n        part = bidi[pos += dir];\n        if (!part) return null;\n        if ((dir > 0) == part.level % 2)\n          target = moveInLine(line, part.to, -1, byUnit);\n        else\n          target = moveInLine(line, part.from, 1, byUnit);\n      }\n    }\n  }\n\n  function moveLogically(line, start, dir, byUnit) {\n    var target = start + dir;\n    if (byUnit) while (target > 0 && isExtendingChar(line.text.charAt(target))) target += dir;\n    return target < 0 || target > line.text.length ? null : target;\n  }\n\n  // Bidirectional ordering algorithm\n  // See http://unicode.org/reports/tr9/tr9-13.html for the algorithm\n  // that this (partially) implements.\n\n  // One-char codes used for character types:\n  // L (L):   Left-to-Right\n  // R (R):   Right-to-Left\n  // r (AL):  Right-to-Left Arabic\n  // 1 (EN):  European Number\n  // + (ES):  European Number Separator\n  // % (ET):  European Number Terminator\n  // n (AN):  Arabic Number\n  // , (CS):  Common Number Separator\n  // m (NSM): Non-Spacing Mark\n  // b (BN):  Boundary Neutral\n  // s (B):   Paragraph Separator\n  // t (S):   Segment Separator\n  // w (WS):  Whitespace\n  // N (ON):  Other Neutrals\n\n  // Returns null if characters are ordered as they appear\n  // (left-to-right), or an array of sections ({from, to, level}\n  // objects) in the order in which they occur visually.\n  var bidiOrdering = (function() {\n    // Character types for codepoints 0 to 0xff\n    var lowTypes = \"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN\";\n    // Character types for codepoints 0x600 to 0x6ff\n    var arabicTypes = \"rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm\";\n    function charType(code) {\n      if (code <= 0xf7) return lowTypes.charAt(code);\n      else if (0x590 <= code && code <= 0x5f4) return \"R\";\n      else if (0x600 <= code && code <= 0x6ed) return arabicTypes.charAt(code - 0x600);\n      else if (0x6ee <= code && code <= 0x8ac) return \"r\";\n      else if (0x2000 <= code && code <= 0x200b) return \"w\";\n      else if (code == 0x200c) return \"b\";\n      else return \"L\";\n    }\n\n    var bidiRE = /[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/;\n    var isNeutral = /[stwN]/, isStrong = /[LRr]/, countsAsLeft = /[Lb1n]/, countsAsNum = /[1n]/;\n    // Browsers seem to always treat the boundaries of block elements as being L.\n    var outerType = \"L\";\n\n    function BidiSpan(level, from, to) {\n      this.level = level;\n      this.from = from; this.to = to;\n    }\n\n    return function(str) {\n      if (!bidiRE.test(str)) return false;\n      var len = str.length, types = [];\n      for (var i = 0, type; i < len; ++i)\n        types.push(type = charType(str.charCodeAt(i)));\n\n      // W1. Examine each non-spacing mark (NSM) in the level run, and\n      // change the type of the NSM to the type of the previous\n      // character. If the NSM is at the start of the level run, it will\n      // get the type of sor.\n      for (var i = 0, prev = outerType; i < len; ++i) {\n        var type = types[i];\n        if (type == \"m\") types[i] = prev;\n        else prev = type;\n      }\n\n      // W2. Search backwards from each instance of a European number\n      // until the first strong type (R, L, AL, or sor) is found. If an\n      // AL is found, change the type of the European number to Arabic\n      // number.\n      // W3. Change all ALs to R.\n      for (var i = 0, cur = outerType; i < len; ++i) {\n        var type = types[i];\n        if (type == \"1\" && cur == \"r\") types[i] = \"n\";\n        else if (isStrong.test(type)) { cur = type; if (type == \"r\") types[i] = \"R\"; }\n      }\n\n      // W4. A single European separator between two European numbers\n      // changes to a European number. A single common separator between\n      // two numbers of the same type changes to that type.\n      for (var i = 1, prev = types[0]; i < len - 1; ++i) {\n        var type = types[i];\n        if (type == \"+\" && prev == \"1\" && types[i+1] == \"1\") types[i] = \"1\";\n        else if (type == \",\" && prev == types[i+1] &&\n                 (prev == \"1\" || prev == \"n\")) types[i] = prev;\n        prev = type;\n      }\n\n      // W5. A sequence of European terminators adjacent to European\n      // numbers changes to all European numbers.\n      // W6. Otherwise, separators and terminators change to Other\n      // Neutral.\n      for (var i = 0; i < len; ++i) {\n        var type = types[i];\n        if (type == \",\") types[i] = \"N\";\n        else if (type == \"%\") {\n          for (var end = i + 1; end < len && types[end] == \"%\"; ++end) {}\n          var replace = (i && types[i-1] == \"!\") || (end < len && types[end] == \"1\") ? \"1\" : \"N\";\n          for (var j = i; j < end; ++j) types[j] = replace;\n          i = end - 1;\n        }\n      }\n\n      // W7. Search backwards from each instance of a European number\n      // until the first strong type (R, L, or sor) is found. If an L is\n      // found, then change the type of the European number to L.\n      for (var i = 0, cur = outerType; i < len; ++i) {\n        var type = types[i];\n        if (cur == \"L\" && type == \"1\") types[i] = \"L\";\n        else if (isStrong.test(type)) cur = type;\n      }\n\n      // N1. A sequence of neutrals takes the direction of the\n      // surrounding strong text if the text on both sides has the same\n      // direction. European and Arabic numbers act as if they were R in\n      // terms of their influence on neutrals. Start-of-level-run (sor)\n      // and end-of-level-run (eor) are used at level run boundaries.\n      // N2. Any remaining neutrals take the embedding direction.\n      for (var i = 0; i < len; ++i) {\n        if (isNeutral.test(types[i])) {\n          for (var end = i + 1; end < len && isNeutral.test(types[end]); ++end) {}\n          var before = (i ? types[i-1] : outerType) == \"L\";\n          var after = (end < len ? types[end] : outerType) == \"L\";\n          var replace = before || after ? \"L\" : \"R\";\n          for (var j = i; j < end; ++j) types[j] = replace;\n          i = end - 1;\n        }\n      }\n\n      // Here we depart from the documented algorithm, in order to avoid\n      // building up an actual levels array. Since there are only three\n      // levels (0, 1, 2) in an implementation that doesn't take\n      // explicit embedding into account, we can build up the order on\n      // the fly, without following the level-based algorithm.\n      var order = [], m;\n      for (var i = 0; i < len;) {\n        if (countsAsLeft.test(types[i])) {\n          var start = i;\n          for (++i; i < len && countsAsLeft.test(types[i]); ++i) {}\n          order.push(new BidiSpan(0, start, i));\n        } else {\n          var pos = i, at = order.length;\n          for (++i; i < len && types[i] != \"L\"; ++i) {}\n          for (var j = pos; j < i;) {\n            if (countsAsNum.test(types[j])) {\n              if (pos < j) order.splice(at, 0, new BidiSpan(1, pos, j));\n              var nstart = j;\n              for (++j; j < i && countsAsNum.test(types[j]); ++j) {}\n              order.splice(at, 0, new BidiSpan(2, nstart, j));\n              pos = j;\n            } else ++j;\n          }\n          if (pos < i) order.splice(at, 0, new BidiSpan(1, pos, i));\n        }\n      }\n      if (order[0].level == 1 && (m = str.match(/^\\s+/))) {\n        order[0].from = m[0].length;\n        order.unshift(new BidiSpan(0, 0, m[0].length));\n      }\n      if (lst(order).level == 1 && (m = str.match(/\\s+$/))) {\n        lst(order).to -= m[0].length;\n        order.push(new BidiSpan(0, len - m[0].length, len));\n      }\n      if (order[0].level != lst(order).level)\n        order.push(new BidiSpan(order[0].level, len, len));\n\n      return order;\n    };\n  })();\n\n  // THE END\n\n  CodeMirror.version = \"5.0.0\";\n\n  return CodeMirror;\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/apl/apl.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"apl\", function() {\n  var builtInOps = {\n    \".\": \"innerProduct\",\n    \"\\\\\": \"scan\",\n    \"/\": \"reduce\",\n    \"⌿\": \"reduce1Axis\",\n    \"⍀\": \"scan1Axis\",\n    \"¨\": \"each\",\n    \"⍣\": \"power\"\n  };\n  var builtInFuncs = {\n    \"+\": [\"conjugate\", \"add\"],\n    \"−\": [\"negate\", \"subtract\"],\n    \"×\": [\"signOf\", \"multiply\"],\n    \"÷\": [\"reciprocal\", \"divide\"],\n    \"⌈\": [\"ceiling\", \"greaterOf\"],\n    \"⌊\": [\"floor\", \"lesserOf\"],\n    \"∣\": [\"absolute\", \"residue\"],\n    \"⍳\": [\"indexGenerate\", \"indexOf\"],\n    \"?\": [\"roll\", \"deal\"],\n    \"⋆\": [\"exponentiate\", \"toThePowerOf\"],\n    \"⍟\": [\"naturalLog\", \"logToTheBase\"],\n    \"○\": [\"piTimes\", \"circularFuncs\"],\n    \"!\": [\"factorial\", \"binomial\"],\n    \"⌹\": [\"matrixInverse\", \"matrixDivide\"],\n    \"<\": [null, \"lessThan\"],\n    \"≤\": [null, \"lessThanOrEqual\"],\n    \"=\": [null, \"equals\"],\n    \">\": [null, \"greaterThan\"],\n    \"≥\": [null, \"greaterThanOrEqual\"],\n    \"≠\": [null, \"notEqual\"],\n    \"≡\": [\"depth\", \"match\"],\n    \"≢\": [null, \"notMatch\"],\n    \"∈\": [\"enlist\", \"membership\"],\n    \"⍷\": [null, \"find\"],\n    \"∪\": [\"unique\", \"union\"],\n    \"∩\": [null, \"intersection\"],\n    \"∼\": [\"not\", \"without\"],\n    \"∨\": [null, \"or\"],\n    \"∧\": [null, \"and\"],\n    \"⍱\": [null, \"nor\"],\n    \"⍲\": [null, \"nand\"],\n    \"⍴\": [\"shapeOf\", \"reshape\"],\n    \",\": [\"ravel\", \"catenate\"],\n    \"⍪\": [null, \"firstAxisCatenate\"],\n    \"⌽\": [\"reverse\", \"rotate\"],\n    \"⊖\": [\"axis1Reverse\", \"axis1Rotate\"],\n    \"⍉\": [\"transpose\", null],\n    \"↑\": [\"first\", \"take\"],\n    \"↓\": [null, \"drop\"],\n    \"⊂\": [\"enclose\", \"partitionWithAxis\"],\n    \"⊃\": [\"diclose\", \"pick\"],\n    \"⌷\": [null, \"index\"],\n    \"⍋\": [\"gradeUp\", null],\n    \"⍒\": [\"gradeDown\", null],\n    \"⊤\": [\"encode\", null],\n    \"⊥\": [\"decode\", null],\n    \"⍕\": [\"format\", \"formatByExample\"],\n    \"⍎\": [\"execute\", null],\n    \"⊣\": [\"stop\", \"left\"],\n    \"⊢\": [\"pass\", \"right\"]\n  };\n\n  var isOperator = /[\\.\\/⌿⍀¨⍣]/;\n  var isNiladic = /⍬/;\n  var isFunction = /[\\+−×÷⌈⌊∣⍳\\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/;\n  var isArrow = /←/;\n  var isComment = /[⍝#].*$/;\n\n  var stringEater = function(type) {\n    var prev;\n    prev = false;\n    return function(c) {\n      prev = c;\n      if (c === type) {\n        return prev === \"\\\\\";\n      }\n      return true;\n    };\n  };\n  return {\n    startState: function() {\n      return {\n        prev: false,\n        func: false,\n        op: false,\n        string: false,\n        escape: false\n      };\n    },\n    token: function(stream, state) {\n      var ch, funcName, word;\n      if (stream.eatSpace()) {\n        return null;\n      }\n      ch = stream.next();\n      if (ch === '\"' || ch === \"'\") {\n        stream.eatWhile(stringEater(ch));\n        stream.next();\n        state.prev = true;\n        return \"string\";\n      }\n      if (/[\\[{\\(]/.test(ch)) {\n        state.prev = false;\n        return null;\n      }\n      if (/[\\]}\\)]/.test(ch)) {\n        state.prev = true;\n        return null;\n      }\n      if (isNiladic.test(ch)) {\n        state.prev = false;\n        return \"niladic\";\n      }\n      if (/[¯\\d]/.test(ch)) {\n        if (state.func) {\n          state.func = false;\n          state.prev = false;\n        } else {\n          state.prev = true;\n        }\n        stream.eatWhile(/[\\w\\.]/);\n        return \"number\";\n      }\n      if (isOperator.test(ch)) {\n        return \"operator apl-\" + builtInOps[ch];\n      }\n      if (isArrow.test(ch)) {\n        return \"apl-arrow\";\n      }\n      if (isFunction.test(ch)) {\n        funcName = \"apl-\";\n        if (builtInFuncs[ch] != null) {\n          if (state.prev) {\n            funcName += builtInFuncs[ch][1];\n          } else {\n            funcName += builtInFuncs[ch][0];\n          }\n        }\n        state.func = true;\n        state.prev = false;\n        return \"function \" + funcName;\n      }\n      if (isComment.test(ch)) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      if (ch === \"∘\" && stream.peek() === \".\") {\n        stream.next();\n        return \"function jot-dot\";\n      }\n      stream.eatWhile(/[\\w\\$_]/);\n      word = stream.current();\n      state.prev = true;\n      return \"keyword\";\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/apl\", \"apl\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/apl/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: APL mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"./apl.js\"></script>\n<style>\n\t.CodeMirror { border: 2px inset #dee; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">APL</a>\n  </ul>\n</div>\n\n<article>\n<h2>APL mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n⍝ Conway's game of life\n\n⍝ This example was inspired by the impressive demo at\n⍝ http://www.youtube.com/watch?v=a9xAKttWgP4\n\n⍝ Create a matrix:\n⍝     0 1 1\n⍝     1 1 0\n⍝     0 1 0\ncreature ← (3 3 ⍴ ⍳ 9) ∈ 1 2 3 4 7   ⍝ Original creature from demo\ncreature ← (3 3 ⍴ ⍳ 9) ∈ 1 3 6 7 8   ⍝ Glider\n\n⍝ Place the creature on a larger board, near the centre\nboard ← ¯1 ⊖ ¯2 ⌽ 5 7 ↑ creature\n\n⍝ A function to move from one generation to the next\nlife ← {∨/ 1 ⍵ ∧ 3 4 = ⊂+/ +⌿ 1 0 ¯1 ∘.⊖ 1 0 ¯1 ⌽¨ ⊂⍵}\n\n⍝ Compute n-th generation and format it as a\n⍝ character matrix\ngen ← {' #'[(life ⍣ ⍵) board]}\n\n⍝ Show first three generations\n(gen 1) (gen 2) (gen 3)\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/apl\"\n      });\n    </script>\n\n    <p>Simple mode that tries to handle APL as well as it can.</p>\n    <p>It attempts to label functions/operators based upon\n    monadic/dyadic usage (but this is far from fully fleshed out).\n    This means there are meaningful classnames so hover states can\n    have popups etc.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/apl</code> (APL code)</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/asterisk/asterisk.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/*\n * =====================================================================================\n *\n *       Filename:  mode/asterisk/asterisk.js\n *\n *    Description:  CodeMirror mode for Asterisk dialplan\n *\n *        Created:  05/17/2012 09:20:25 PM\n *       Revision:  none\n *\n *         Author:  Stas Kobzar (stas@modulis.ca),\n *        Company:  Modulis.ca Inc.\n *\n * =====================================================================================\n */\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"asterisk\", function() {\n  var atoms    = [\"exten\", \"same\", \"include\",\"ignorepat\",\"switch\"],\n      dpcmd    = [\"#include\",\"#exec\"],\n      apps     = [\n                  \"addqueuemember\",\"adsiprog\",\"aelsub\",\"agentlogin\",\"agentmonitoroutgoing\",\"agi\",\n                  \"alarmreceiver\",\"amd\",\"answer\",\"authenticate\",\"background\",\"backgrounddetect\",\n                  \"bridge\",\"busy\",\"callcompletioncancel\",\"callcompletionrequest\",\"celgenuserevent\",\n                  \"changemonitor\",\"chanisavail\",\"channelredirect\",\"chanspy\",\"clearhash\",\"confbridge\",\n                  \"congestion\",\"continuewhile\",\"controlplayback\",\"dahdiacceptr2call\",\"dahdibarge\",\n                  \"dahdiras\",\"dahdiscan\",\"dahdisendcallreroutingfacility\",\"dahdisendkeypadfacility\",\n                  \"datetime\",\"dbdel\",\"dbdeltree\",\"deadagi\",\"dial\",\"dictate\",\"directory\",\"disa\",\n                  \"dumpchan\",\"eagi\",\"echo\",\"endwhile\",\"exec\",\"execif\",\"execiftime\",\"exitwhile\",\"extenspy\",\n                  \"externalivr\",\"festival\",\"flash\",\"followme\",\"forkcdr\",\"getcpeid\",\"gosub\",\"gosubif\",\n                  \"goto\",\"gotoif\",\"gotoiftime\",\"hangup\",\"iax2provision\",\"ices\",\"importvar\",\"incomplete\",\n                  \"ivrdemo\",\"jabberjoin\",\"jabberleave\",\"jabbersend\",\"jabbersendgroup\",\"jabberstatus\",\n                  \"jack\",\"log\",\"macro\",\"macroexclusive\",\"macroexit\",\"macroif\",\"mailboxexists\",\"meetme\",\n                  \"meetmeadmin\",\"meetmechanneladmin\",\"meetmecount\",\"milliwatt\",\"minivmaccmess\",\"minivmdelete\",\n                  \"minivmgreet\",\"minivmmwi\",\"minivmnotify\",\"minivmrecord\",\"mixmonitor\",\"monitor\",\"morsecode\",\n                  \"mp3player\",\"mset\",\"musiconhold\",\"nbscat\",\"nocdr\",\"noop\",\"odbc\",\"odbc\",\"odbcfinish\",\n                  \"originate\",\"ospauth\",\"ospfinish\",\"osplookup\",\"ospnext\",\"page\",\"park\",\"parkandannounce\",\n                  \"parkedcall\",\"pausemonitor\",\"pausequeuemember\",\"pickup\",\"pickupchan\",\"playback\",\"playtones\",\n                  \"privacymanager\",\"proceeding\",\"progress\",\"queue\",\"queuelog\",\"raiseexception\",\"read\",\"readexten\",\n                  \"readfile\",\"receivefax\",\"receivefax\",\"receivefax\",\"record\",\"removequeuemember\",\n                  \"resetcdr\",\"retrydial\",\"return\",\"ringing\",\"sayalpha\",\"saycountedadj\",\"saycountednoun\",\n                  \"saycountpl\",\"saydigits\",\"saynumber\",\"sayphonetic\",\"sayunixtime\",\"senddtmf\",\"sendfax\",\n                  \"sendfax\",\"sendfax\",\"sendimage\",\"sendtext\",\"sendurl\",\"set\",\"setamaflags\",\n                  \"setcallerpres\",\"setmusiconhold\",\"sipaddheader\",\"sipdtmfmode\",\"sipremoveheader\",\"skel\",\n                  \"slastation\",\"slatrunk\",\"sms\",\"softhangup\",\"speechactivategrammar\",\"speechbackground\",\n                  \"speechcreate\",\"speechdeactivategrammar\",\"speechdestroy\",\"speechloadgrammar\",\"speechprocessingsound\",\n                  \"speechstart\",\"speechunloadgrammar\",\"stackpop\",\"startmusiconhold\",\"stopmixmonitor\",\"stopmonitor\",\n                  \"stopmusiconhold\",\"stopplaytones\",\"system\",\"testclient\",\"testserver\",\"transfer\",\"tryexec\",\n                  \"trysystem\",\"unpausemonitor\",\"unpausequeuemember\",\"userevent\",\"verbose\",\"vmauthenticate\",\n                  \"vmsayname\",\"voicemail\",\"voicemailmain\",\"wait\",\"waitexten\",\"waitfornoise\",\"waitforring\",\n                  \"waitforsilence\",\"waitmusiconhold\",\"waituntil\",\"while\",\"zapateller\"\n                 ];\n\n  function basicToken(stream,state){\n    var cur = '';\n    var ch  = '';\n    ch = stream.next();\n    // comment\n    if(ch == \";\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    // context\n    if(ch == '[') {\n      stream.skipTo(']');\n      stream.eat(']');\n      return \"header\";\n    }\n    // string\n    if(ch == '\"') {\n      stream.skipTo('\"');\n      return \"string\";\n    }\n    if(ch == \"'\") {\n      stream.skipTo(\"'\");\n      return \"string-2\";\n    }\n    // dialplan commands\n    if(ch == '#') {\n      stream.eatWhile(/\\w/);\n      cur = stream.current();\n      if(dpcmd.indexOf(cur) !== -1) {\n        stream.skipToEnd();\n        return \"strong\";\n      }\n    }\n    // application args\n    if(ch == '$'){\n      var ch1 = stream.peek();\n      if(ch1 == '{'){\n        stream.skipTo('}');\n        stream.eat('}');\n        return \"variable-3\";\n      }\n    }\n    // extension\n    stream.eatWhile(/\\w/);\n    cur = stream.current();\n    if(atoms.indexOf(cur) !== -1) {\n      state.extenStart = true;\n      switch(cur) {\n        case 'same': state.extenSame = true; break;\n        case 'include':\n        case 'switch':\n        case 'ignorepat':\n          state.extenInclude = true;break;\n        default:break;\n      }\n      return \"atom\";\n    }\n  }\n\n  return {\n    startState: function() {\n      return {\n        extenStart: false,\n        extenSame:  false,\n        extenInclude: false,\n        extenExten: false,\n        extenPriority: false,\n        extenApplication: false\n      };\n    },\n    token: function(stream, state) {\n\n      var cur = '';\n      var ch  = '';\n      if(stream.eatSpace()) return null;\n      // extension started\n      if(state.extenStart){\n        stream.eatWhile(/[^\\s]/);\n        cur = stream.current();\n        if(/^=>?$/.test(cur)){\n          state.extenExten = true;\n          state.extenStart = false;\n          return \"strong\";\n        } else {\n          state.extenStart = false;\n          stream.skipToEnd();\n          return \"error\";\n        }\n      } else if(state.extenExten) {\n        // set exten and priority\n        state.extenExten = false;\n        state.extenPriority = true;\n        stream.eatWhile(/[^,]/);\n        if(state.extenInclude) {\n          stream.skipToEnd();\n          state.extenPriority = false;\n          state.extenInclude = false;\n        }\n        if(state.extenSame) {\n          state.extenPriority = false;\n          state.extenSame = false;\n          state.extenApplication = true;\n        }\n        return \"tag\";\n      } else if(state.extenPriority) {\n        state.extenPriority = false;\n        state.extenApplication = true;\n        ch = stream.next(); // get comma\n        if(state.extenSame) return null;\n        stream.eatWhile(/[^,]/);\n        return \"number\";\n      } else if(state.extenApplication) {\n        stream.eatWhile(/,/);\n        cur = stream.current();\n        if(cur === ',') return null;\n        stream.eatWhile(/\\w/);\n        cur = stream.current().toLowerCase();\n        state.extenApplication = false;\n        if(apps.indexOf(cur) !== -1){\n          return \"def strong\";\n        }\n      } else{\n        return basicToken(stream,state);\n      }\n\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-asterisk\", \"asterisk\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/asterisk/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Asterisk dialplan mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"asterisk.js\"></script>\n<style>\n      .CodeMirror {border: 1px solid #999;}\n      .cm-s-default span.cm-arrow { color: red; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Asterisk dialplan</a>\n  </ul>\n</div>\n\n<article>\n<h2>Asterisk dialplan mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n; extensions.conf - the Asterisk dial plan\n;\n\n[general]\n;\n; If static is set to no, or omitted, then the pbx_config will rewrite\n; this file when extensions are modified.  Remember that all comments\n; made in the file will be lost when that happens.\nstatic=yes\n\n#include \"/etc/asterisk/additional_general.conf\n\n[iaxprovider]\nswitch => IAX2/user:[key]@myserver/mycontext\n\n[dynamic]\n#exec /usr/bin/dynamic-peers.pl\n\n[trunkint]\n;\n; International long distance through trunk\n;\nexten => _9011.,1,Macro(dundi-e164,${EXTEN:4})\nexten => _9011.,n,Dial(${GLOBAL(TRUNK)}/${FILTER(0-9,${EXTEN:${GLOBAL(TRUNKMSD)}})})\n\n[local]\n;\n; Master context for local, toll-free, and iaxtel calls only\n;\nignorepat => 9\ninclude => default\n\n[demo]\ninclude => stdexten\n;\n; We start with what to do when a call first comes in.\n;\nexten => s,1,Wait(1)\t\t\t; Wait a second, just for fun\nsame  => n,Answer\t\t\t; Answer the line\nsame  => n,Set(TIMEOUT(digit)=5)\t; Set Digit Timeout to 5 seconds\nsame  => n,Set(TIMEOUT(response)=10)\t; Set Response Timeout to 10 seconds\nsame  => n(restart),BackGround(demo-congrats)\t; Play a congratulatory message\nsame  => n(instruct),BackGround(demo-instruct)\t; Play some instructions\nsame  => n,WaitExten\t\t\t; Wait for an extension to be dialed.\n\nexten => 2,1,BackGround(demo-moreinfo)\t; Give some more information.\nexten => 2,n,Goto(s,instruct)\n\nexten => 3,1,Set(LANGUAGE()=fr)\t\t; Set language to french\nexten => 3,n,Goto(s,restart)\t\t; Start with the congratulations\n\nexten => 1000,1,Goto(default,s,1)\n;\n; We also create an example user, 1234, who is on the console and has\n; voicemail, etc.\n;\nexten => 1234,1,Playback(transfer,skip)\t\t; \"Please hold while...\"\n\t\t\t\t\t; (but skip if channel is not up)\nexten => 1234,n,Gosub(${EXTEN},stdexten(${GLOBAL(CONSOLE)}))\nexten => 1234,n,Goto(default,s,1)\t\t; exited Voicemail\n\nexten => 1235,1,Voicemail(1234,u)\t\t; Right to voicemail\n\nexten => 1236,1,Dial(Console/dsp)\t\t; Ring forever\nexten => 1236,n,Voicemail(1234,b)\t\t; Unless busy\n\n;\n; # for when they're done with the demo\n;\nexten => #,1,Playback(demo-thanks)\t; \"Thanks for trying the demo\"\nexten => #,n,Hangup\t\t\t; Hang them up.\n\n;\n; A timeout and \"invalid extension rule\"\n;\nexten => t,1,Goto(#,1)\t\t\t; If they take too long, give up\nexten => i,1,Playback(invalid)\t\t; \"That's not valid, try again\"\n\n;\n; Create an extension, 500, for dialing the\n; Asterisk demo.\n;\nexten => 500,1,Playback(demo-abouttotry); Let them know what's going on\nexten => 500,n,Dial(IAX2/guest@pbx.digium.com/s@default)\t; Call the Asterisk demo\nexten => 500,n,Playback(demo-nogo)\t; Couldn't connect to the demo site\nexten => 500,n,Goto(s,6)\t\t; Return to the start over message.\n\n;\n; Create an extension, 600, for evaluating echo latency.\n;\nexten => 600,1,Playback(demo-echotest)\t; Let them know what's going on\nexten => 600,n,Echo\t\t\t; Do the echo test\nexten => 600,n,Playback(demo-echodone)\t; Let them know it's over\nexten => 600,n,Goto(s,6)\t\t; Start over\n\n;\n;\tYou can use the Macro Page to intercom a individual user\nexten => 76245,1,Macro(page,SIP/Grandstream1)\n; or if your peernames are the same as extensions\nexten => _7XXX,1,Macro(page,SIP/${EXTEN})\n;\n;\n; System Wide Page at extension 7999\n;\nexten => 7999,1,Set(TIMEOUT(absolute)=60)\nexten => 7999,2,Page(Local/Grandstream1@page&Local/Xlite1@page&Local/1234@page/n,d)\n\n; Give voicemail at extension 8500\n;\nexten => 8500,1,VoicemailMain\nexten => 8500,n,Goto(s,6)\n\n    </textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/x-asterisk\",\n        matchBrackets: true,\n        lineNumber: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-asterisk</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/clike/clike.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"clike\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit,\n      statementIndentUnit = parserConfig.statementIndentUnit || indentUnit,\n      dontAlignCalls = parserConfig.dontAlignCalls,\n      keywords = parserConfig.keywords || {},\n      builtin = parserConfig.builtin || {},\n      blockKeywords = parserConfig.blockKeywords || {},\n      atoms = parserConfig.atoms || {},\n      hooks = parserConfig.hooks || {},\n      multiLineStrings = parserConfig.multiLineStrings,\n      indentStatements = parserConfig.indentStatements !== false;\n  var isOperatorChar = /[+\\-*&%=<>!?|\\/]/;\n\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (hooks[ch]) {\n      var result = hooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_\\xa1-\\uffff]/);\n    var cur = stream.current();\n    if (keywords.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"keyword\";\n    }\n    if (builtin.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"builtin\";\n    }\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || multiLineStrings))\n        state.tokenize = null;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    var indent = state.indented;\n    if (state.context && state.context.type == \"statement\")\n      indent = state.context.indented;\n    return state.context = new Context(indent, col, type, null, state.context);\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: null,\n        context: new Context((basecolumn || 0) - indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if ((curPunc == \";\" || curPunc == \":\" || curPunc == \",\") && ctx.type == \"statement\") popContext(state);\n      else if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"}\") {\n        while (ctx.type == \"statement\") ctx = popContext(state);\n        if (ctx.type == \"}\") ctx = popContext(state);\n        while (ctx.type == \"statement\") ctx = popContext(state);\n      }\n      else if (curPunc == ctx.type) popContext(state);\n      else if (indentStatements &&\n               (((ctx.type == \"}\" || ctx.type == \"top\") && curPunc != ';') ||\n                (ctx.type == \"statement\" && curPunc == \"newstatement\")))\n        pushContext(state, stream.column(), \"statement\");\n      state.startOfLine = false;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;\n      var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);\n      if (ctx.type == \"statement\" && firstChar == \"}\") ctx = ctx.prev;\n      var closing = firstChar == ctx.type;\n      if (ctx.type == \"statement\") return ctx.indented + (firstChar == \"{\" ? 0 : statementIndentUnit);\n      else if (ctx.align && (!dontAlignCalls || ctx.type != \")\")) return ctx.column + (closing ? 0 : 1);\n      else if (ctx.type == \")\" && !closing) return ctx.indented + statementIndentUnit;\n      else return ctx.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: \"//\",\n    fold: \"brace\"\n  };\n});\n\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var cKeywords = \"auto if break int case long char register continue return default short do sizeof \" +\n    \"double static else struct entry switch extern typedef float union for unsigned \" +\n    \"goto while enum void const signed volatile\";\n\n  function cppHook(stream, state) {\n    if (!state.startOfLine) return false;\n    for (;;) {\n      if (stream.skipTo(\"\\\\\")) {\n        stream.next();\n        if (stream.eol()) {\n          state.tokenize = cppHook;\n          break;\n        }\n      } else {\n        stream.skipToEnd();\n        state.tokenize = null;\n        break;\n      }\n    }\n    return \"meta\";\n  }\n\n  function cpp11StringHook(stream, state) {\n    stream.backUp(1);\n    // Raw strings.\n    if (stream.match(/(R|u8R|uR|UR|LR)/)) {\n      var match = stream.match(/\"([^\\s\\\\()]{0,16})\\(/);\n      if (!match) {\n        return false;\n      }\n      state.cpp11RawStringDelim = match[1];\n      state.tokenize = tokenRawString;\n      return tokenRawString(stream, state);\n    }\n    // Unicode strings/chars.\n    if (stream.match(/(u8|u|U|L)/)) {\n      if (stream.match(/[\"']/, /* eat */ false)) {\n        return \"string\";\n      }\n      return false;\n    }\n    // Ignore this hook.\n    stream.next();\n    return false;\n  }\n\n  // C#-style strings where \"\" escapes a quote.\n  function tokenAtString(stream, state) {\n    var next;\n    while ((next = stream.next()) != null) {\n      if (next == '\"' && !stream.eat('\"')) {\n        state.tokenize = null;\n        break;\n      }\n    }\n    return \"string\";\n  }\n\n  // C++11 raw string literal is <prefix>\"<delim>( anything )<delim>\", where\n  // <delim> can be a string up to 16 characters long.\n  function tokenRawString(stream, state) {\n    // Escape characters that have special regex meanings.\n    var delim = state.cpp11RawStringDelim.replace(/[^\\w\\s]/g, '\\\\$&');\n    var match = stream.match(new RegExp(\".*?\\\\)\" + delim + '\"'));\n    if (match)\n      state.tokenize = null;\n    else\n      stream.skipToEnd();\n    return \"string\";\n  }\n\n  function def(mimes, mode) {\n    if (typeof mimes == \"string\") mimes = [mimes];\n    var words = [];\n    function add(obj) {\n      if (obj) for (var prop in obj) if (obj.hasOwnProperty(prop))\n        words.push(prop);\n    }\n    add(mode.keywords);\n    add(mode.builtin);\n    add(mode.atoms);\n    if (words.length) {\n      mode.helperType = mimes[0];\n      CodeMirror.registerHelper(\"hintWords\", mimes[0], words);\n    }\n\n    for (var i = 0; i < mimes.length; ++i)\n      CodeMirror.defineMIME(mimes[i], mode);\n  }\n\n  def([\"text/x-csrc\", \"text/x-c\", \"text/x-chdr\"], {\n    name: \"clike\",\n    keywords: words(cKeywords),\n    blockKeywords: words(\"case do else for if switch while struct\"),\n    atoms: words(\"null\"),\n    hooks: {\"#\": cppHook},\n    modeProps: {fold: [\"brace\", \"include\"]}\n  });\n\n  def([\"text/x-c++src\", \"text/x-c++hdr\"], {\n    name: \"clike\",\n    keywords: words(cKeywords + \" asm dynamic_cast namespace reinterpret_cast try bool explicit new \" +\n                    \"static_cast typeid catch operator template typename class friend private \" +\n                    \"this using const_cast inline public throw virtual delete mutable protected \" +\n                    \"wchar_t alignas alignof constexpr decltype nullptr noexcept thread_local final \" +\n                    \"static_assert override\"),\n    blockKeywords: words(\"catch class do else finally for if struct switch try while\"),\n    atoms: words(\"true false null\"),\n    hooks: {\n      \"#\": cppHook,\n      \"u\": cpp11StringHook,\n      \"U\": cpp11StringHook,\n      \"L\": cpp11StringHook,\n      \"R\": cpp11StringHook\n    },\n    modeProps: {fold: [\"brace\", \"include\"]}\n  });\n\n  def(\"text/x-java\", {\n    name: \"clike\",\n    keywords: words(\"abstract assert boolean break byte case catch char class const continue default \" +\n                    \"do double else enum extends final finally float for goto if implements import \" +\n                    \"instanceof int interface long native new package private protected public \" +\n                    \"return short static strictfp super switch synchronized this throw throws transient \" +\n                    \"try void volatile while\"),\n    blockKeywords: words(\"catch class do else finally for if switch try while\"),\n    atoms: words(\"true false null\"),\n    hooks: {\n      \"@\": function(stream) {\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"meta\";\n      }\n    },\n    modeProps: {fold: [\"brace\", \"import\"]}\n  });\n\n  def(\"text/x-csharp\", {\n    name: \"clike\",\n    keywords: words(\"abstract as base break case catch checked class const continue\" +\n                    \" default delegate do else enum event explicit extern finally fixed for\" +\n                    \" foreach goto if implicit in interface internal is lock namespace new\" +\n                    \" operator out override params private protected public readonly ref return sealed\" +\n                    \" sizeof stackalloc static struct switch this throw try typeof unchecked\" +\n                    \" unsafe using virtual void volatile while add alias ascending descending dynamic from get\" +\n                    \" global group into join let orderby partial remove select set value var yield\"),\n    blockKeywords: words(\"catch class do else finally for foreach if struct switch try while\"),\n    builtin: words(\"Boolean Byte Char DateTime DateTimeOffset Decimal Double\" +\n                    \" Guid Int16 Int32 Int64 Object SByte Single String TimeSpan UInt16 UInt32\" +\n                    \" UInt64 bool byte char decimal double short int long object\"  +\n                    \" sbyte float string ushort uint ulong\"),\n    atoms: words(\"true false null\"),\n    hooks: {\n      \"@\": function(stream, state) {\n        if (stream.eat('\"')) {\n          state.tokenize = tokenAtString;\n          return tokenAtString(stream, state);\n        }\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"meta\";\n      }\n    }\n  });\n\n  function tokenTripleString(stream, state) {\n    var escaped = false;\n    while (!stream.eol()) {\n      if (!escaped && stream.match('\"\"\"')) {\n        state.tokenize = null;\n        break;\n      }\n      escaped = stream.next() == \"\\\\\" && !escaped;\n    }\n    return \"string\";\n  }\n\n  def(\"text/x-scala\", {\n    name: \"clike\",\n    keywords: words(\n\n      /* scala */\n      \"abstract case catch class def do else extends false final finally for forSome if \" +\n      \"implicit import lazy match new null object override package private protected return \" +\n      \"sealed super this throw trait try trye type val var while with yield _ : = => <- <: \" +\n      \"<% >: # @ \" +\n\n      /* package scala */\n      \"assert assume require print println printf readLine readBoolean readByte readShort \" +\n      \"readChar readInt readLong readFloat readDouble \" +\n\n      \"AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either \" +\n      \"Enumeration Equiv Error Exception Fractional Function IndexedSeq Integral Iterable \" +\n      \"Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering \" +\n      \"Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder \" +\n      \"StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector :: #:: \" +\n\n      /* package java.lang */\n      \"Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable \" +\n      \"Compiler Double Exception Float Integer Long Math Number Object Package Pair Process \" +\n      \"Runtime Runnable SecurityManager Short StackTraceElement StrictMath String \" +\n      \"StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void\"\n    ),\n    multiLineStrings: true,\n    blockKeywords: words(\"catch class do else finally for forSome if match switch try while\"),\n    atoms: words(\"true false null\"),\n    indentStatements: false,\n    hooks: {\n      \"@\": function(stream) {\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"meta\";\n      },\n      '\"': function(stream, state) {\n        if (!stream.match('\"\"')) return false;\n        state.tokenize = tokenTripleString;\n        return state.tokenize(stream, state);\n      },\n      \"'\": function(stream) {\n        stream.eatWhile(/[\\w\\$_\\xa1-\\uffff]/);\n        return \"atom\";\n      }\n    }\n  });\n\n  def([\"x-shader/x-vertex\", \"x-shader/x-fragment\"], {\n    name: \"clike\",\n    keywords: words(\"float int bool void \" +\n                    \"vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 \" +\n                    \"mat2 mat3 mat4 \" +\n                    \"sampler1D sampler2D sampler3D samplerCube \" +\n                    \"sampler1DShadow sampler2DShadow \" +\n                    \"const attribute uniform varying \" +\n                    \"break continue discard return \" +\n                    \"for while do if else struct \" +\n                    \"in out inout\"),\n    blockKeywords: words(\"for while do if else struct\"),\n    builtin: words(\"radians degrees sin cos tan asin acos atan \" +\n                    \"pow exp log exp2 sqrt inversesqrt \" +\n                    \"abs sign floor ceil fract mod min max clamp mix step smoothstep \" +\n                    \"length distance dot cross normalize ftransform faceforward \" +\n                    \"reflect refract matrixCompMult \" +\n                    \"lessThan lessThanEqual greaterThan greaterThanEqual \" +\n                    \"equal notEqual any all not \" +\n                    \"texture1D texture1DProj texture1DLod texture1DProjLod \" +\n                    \"texture2D texture2DProj texture2DLod texture2DProjLod \" +\n                    \"texture3D texture3DProj texture3DLod texture3DProjLod \" +\n                    \"textureCube textureCubeLod \" +\n                    \"shadow1D shadow2D shadow1DProj shadow2DProj \" +\n                    \"shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod \" +\n                    \"dFdx dFdy fwidth \" +\n                    \"noise1 noise2 noise3 noise4\"),\n    atoms: words(\"true false \" +\n                \"gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex \" +\n                \"gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 \" +\n                \"gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 \" +\n                \"gl_FogCoord gl_PointCoord \" +\n                \"gl_Position gl_PointSize gl_ClipVertex \" +\n                \"gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor \" +\n                \"gl_TexCoord gl_FogFragCoord \" +\n                \"gl_FragCoord gl_FrontFacing \" +\n                \"gl_FragData gl_FragDepth \" +\n                \"gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix \" +\n                \"gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse \" +\n                \"gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse \" +\n                \"gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose \" +\n                \"gl_ProjectionMatrixInverseTranspose \" +\n                \"gl_ModelViewProjectionMatrixInverseTranspose \" +\n                \"gl_TextureMatrixInverseTranspose \" +\n                \"gl_NormalScale gl_DepthRange gl_ClipPlane \" +\n                \"gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel \" +\n                \"gl_FrontLightModelProduct gl_BackLightModelProduct \" +\n                \"gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ \" +\n                \"gl_FogParameters \" +\n                \"gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords \" +\n                \"gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats \" +\n                \"gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits \" +\n                \"gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits \" +\n                \"gl_MaxDrawBuffers\"),\n    hooks: {\"#\": cppHook},\n    modeProps: {fold: [\"brace\", \"include\"]}\n  });\n\n  def(\"text/x-nesc\", {\n    name: \"clike\",\n    keywords: words(cKeywords + \"as atomic async call command component components configuration event generic \" +\n                    \"implementation includes interface module new norace nx_struct nx_union post provides \" +\n                    \"signal task uses abstract extends\"),\n    blockKeywords: words(\"case do else for if switch while struct\"),\n    atoms: words(\"null\"),\n    hooks: {\"#\": cppHook},\n    modeProps: {fold: [\"brace\", \"include\"]}\n  });\n\n  def(\"text/x-objectivec\", {\n    name: \"clike\",\n    keywords: words(cKeywords + \"inline restrict _Bool _Complex _Imaginery BOOL Class bycopy byref id IMP in \" +\n                    \"inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly\"),\n    atoms: words(\"YES NO NULL NILL ON OFF\"),\n    hooks: {\n      \"@\": function(stream) {\n        stream.eatWhile(/[\\w\\$]/);\n        return \"keyword\";\n      },\n      \"#\": cppHook\n    },\n    modeProps: {fold: \"brace\"}\n  });\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/clike/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: C-like mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<link rel=\"stylesheet\" href=\"../../addon/hint/show-hint.css\">\n<script src=\"../../addon/hint/show-hint.js\"></script>\n<script src=\"clike.js\"></script>\n<style>.CodeMirror {border: 2px inset #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">C-like</a>\n  </ul>\n</div>\n\n<article>\n<h2>C-like mode</h2>\n\n<div><textarea id=\"c-code\">\n/* C demo code */\n\n#include <zmq.h>\n#include <pthread.h>\n#include <semaphore.h>\n#include <time.h>\n#include <stdio.h>\n#include <fcntl.h>\n#include <malloc.h>\n\ntypedef struct {\n  void* arg_socket;\n  zmq_msg_t* arg_msg;\n  char* arg_string;\n  unsigned long arg_len;\n  int arg_int, arg_command;\n\n  int signal_fd;\n  int pad;\n  void* context;\n  sem_t sem;\n} acl_zmq_context;\n\n#define p(X) (context->arg_##X)\n\nvoid* zmq_thread(void* context_pointer) {\n  acl_zmq_context* context = (acl_zmq_context*)context_pointer;\n  char ok = 'K', err = 'X';\n  int res;\n\n  while (1) {\n    while ((res = sem_wait(&amp;context->sem)) == EINTR);\n    if (res) {write(context->signal_fd, &amp;err, 1); goto cleanup;}\n    switch(p(command)) {\n    case 0: goto cleanup;\n    case 1: p(socket) = zmq_socket(context->context, p(int)); break;\n    case 2: p(int) = zmq_close(p(socket)); break;\n    case 3: p(int) = zmq_bind(p(socket), p(string)); break;\n    case 4: p(int) = zmq_connect(p(socket), p(string)); break;\n    case 5: p(int) = zmq_getsockopt(p(socket), p(int), (void*)p(string), &amp;p(len)); break;\n    case 6: p(int) = zmq_setsockopt(p(socket), p(int), (void*)p(string), p(len)); break;\n    case 7: p(int) = zmq_send(p(socket), p(msg), p(int)); break;\n    case 8: p(int) = zmq_recv(p(socket), p(msg), p(int)); break;\n    case 9: p(int) = zmq_poll(p(socket), p(int), p(len)); break;\n    }\n    p(command) = errno;\n    write(context->signal_fd, &amp;ok, 1);\n  }\n cleanup:\n  close(context->signal_fd);\n  free(context_pointer);\n  return 0;\n}\n\nvoid* zmq_thread_init(void* zmq_context, int signal_fd) {\n  acl_zmq_context* context = malloc(sizeof(acl_zmq_context));\n  pthread_t thread;\n\n  context->context = zmq_context;\n  context->signal_fd = signal_fd;\n  sem_init(&amp;context->sem, 1, 0);\n  pthread_create(&amp;thread, 0, &amp;zmq_thread, context);\n  pthread_detach(thread);\n  return context;\n}\n</textarea></div>\n\n<h2>C++ example</h2>\n\n<div><textarea id=\"cpp-code\">\n#include <iostream>\n#include \"mystuff/util.h\"\n\nnamespace {\nenum Enum {\n  VAL1, VAL2, VAL3\n};\n\nchar32_t unicode_string = U\"\\U0010FFFF\";\nstring raw_string = R\"delim(anything\nyou\nwant)delim\";\n\nint Helper(const MyType& param) {\n  return 0;\n}\n} // namespace\n\nclass ForwardDec;\n\ntemplate <class T, class V>\nclass Class : public BaseClass {\n  const MyType<T, V> member_;\n\n public:\n  const MyType<T, V>& Method() const {\n    return member_;\n  }\n\n  void Method2(MyType<T, V>* value);\n}\n\ntemplate <class T, class V>\nvoid Class::Method2(MyType<T, V>* value) {\n  std::out << 1 >> method();\n  value->Method3(member_);\n  member_ = value;\n}\n</textarea></div>\n\n<h2>Objective-C example</h2>\n\n<div><textarea id=\"objectivec-code\">\n/*\nThis is a longer comment\nThat spans two lines\n*/\n\n#import <Test/Test.h>\n@implementation YourAppDelegate\n\n// This is a one-line comment\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{\n  char myString[] = \"This is a C character array\";\n  int test = 5;\n  return YES;\n}\n</textarea></div>\n\n<h2>Java example</h2>\n\n<div><textarea id=\"java-code\">\nimport com.demo.util.MyType;\nimport com.demo.util.MyInterface;\n\npublic enum Enum {\n  VAL1, VAL2, VAL3\n}\n\npublic class Class<T, V> implements MyInterface {\n  public static final MyType<T, V> member;\n  \n  private class InnerClass {\n    public int zero() {\n      return 0;\n    }\n  }\n\n  @Override\n  public MyType method() {\n    return member;\n  }\n\n  public void method2(MyType<T, V> value) {\n    method();\n    value.method3();\n    member = value;\n  }\n}\n</textarea></div>\n\n<h2>Scala example</h2>\n\n<div><textarea id=\"scala-code\">\nobject FilterTest extends App {\n  def filter(xs: List[Int], threshold: Int) = {\n    def process(ys: List[Int]): List[Int] =\n      if (ys.isEmpty) ys\n      else if (ys.head < threshold) ys.head :: process(ys.tail)\n      else process(ys.tail)\n    process(xs)\n  }\n  println(filter(List(1, 9, 2, 8, 3, 7, 4), 5))\n}\n</textarea></div>\n\n    <script>\n      var cEditor = CodeMirror.fromTextArea(document.getElementById(\"c-code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-csrc\"\n      });\n      var cppEditor = CodeMirror.fromTextArea(document.getElementById(\"cpp-code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-c++src\"\n      });\n      var javaEditor = CodeMirror.fromTextArea(document.getElementById(\"java-code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-java\"\n      });\n      var objectivecEditor = CodeMirror.fromTextArea(document.getElementById(\"objectivec-code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-objectivec\"\n      });\n      var scalaEditor = CodeMirror.fromTextArea(document.getElementById(\"scala-code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-scala\"\n      });\n      var mac = CodeMirror.keyMap.default == CodeMirror.keyMap.macDefault;\n      CodeMirror.keyMap.default[(mac ? \"Cmd\" : \"Ctrl\") + \"-Space\"] = \"autocomplete\";\n    </script>\n\n    <p>Simple mode that tries to handle C-like languages as well as it\n    can. Takes two configuration parameters: <code>keywords</code>, an\n    object whose property names are the keywords in the language,\n    and <code>useCPP</code>, which determines whether C preprocessor\n    directives are recognized.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-csrc</code>\n    (C), <code>text/x-c++src</code> (C++), <code>text/x-java</code>\n    (Java), <code>text/x-csharp</code> (C#),\n    <code>text/x-objectivec</code> (Objective-C),\n    <code>text/x-scala</code> (Scala), <code>text/x-vertex</code>\n    and <code>x-shader/x-fragment</code> (shader programs).</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/clike/scala.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Scala mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/ambiance.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"clike.js\"></script>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Scala</a>\n  </ul>\n</div>\n\n<article>\n<h2>Scala mode</h2>\n<form>\n<textarea id=\"code\" name=\"code\">\n\n  /*                     __                                               *\\\n  **     ________ ___   / /  ___     Scala API                            **\n  **    / __/ __// _ | / /  / _ |    (c) 2003-2011, LAMP/EPFL             **\n  **  __\\ \\/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **\n  ** /____/\\___/_/ |_/____/_/ | |                                         **\n  **                          |/                                          **\n  \\*                                                                      */\n\n  package scala.collection\n\n  import generic._\n  import mutable.{ Builder, ListBuffer }\n  import annotation.{tailrec, migration, bridge}\n  import annotation.unchecked.{ uncheckedVariance => uV }\n  import parallel.ParIterable\n\n  /** A template trait for traversable collections of type `Traversable[A]`.\n   *  \n   *  $traversableInfo\n   *  @define mutability\n   *  @define traversableInfo\n   *  This is a base trait of all kinds of $mutability Scala collections. It\n   *  implements the behavior common to all collections, in terms of a method\n   *  `foreach` with signature:\n   * {{{\n   *     def foreach[U](f: Elem => U): Unit\n   * }}}\n   *  Collection classes mixing in this trait provide a concrete \n   *  `foreach` method which traverses all the\n   *  elements contained in the collection, applying a given function to each.\n   *  They also need to provide a method `newBuilder`\n   *  which creates a builder for collections of the same kind.\n   *  \n   *  A traversable class might or might not have two properties: strictness\n   *  and orderedness. Neither is represented as a type.\n   *  \n   *  The instances of a strict collection class have all their elements\n   *  computed before they can be used as values. By contrast, instances of\n   *  a non-strict collection class may defer computation of some of their\n   *  elements until after the instance is available as a value.\n   *  A typical example of a non-strict collection class is a\n   *  <a href=\"../immutable/Stream.html\" target=\"ContentFrame\">\n   *  `scala.collection.immutable.Stream`</a>.\n   *  A more general class of examples are `TraversableViews`.\n   *  \n   *  If a collection is an instance of an ordered collection class, traversing\n   *  its elements with `foreach` will always visit elements in the\n   *  same order, even for different runs of the program. If the class is not\n   *  ordered, `foreach` can visit elements in different orders for\n   *  different runs (but it will keep the same order in the same run).'\n   * \n   *  A typical example of a collection class which is not ordered is a\n   *  `HashMap` of objects. The traversal order for hash maps will\n   *  depend on the hash codes of its elements, and these hash codes might\n   *  differ from one run to the next. By contrast, a `LinkedHashMap`\n   *  is ordered because it's `foreach` method visits elements in the\n   *  order they were inserted into the `HashMap`.\n   *\n   *  @author Martin Odersky\n   *  @version 2.8\n   *  @since   2.8\n   *  @tparam A    the element type of the collection\n   *  @tparam Repr the type of the actual collection containing the elements.\n   *\n   *  @define Coll Traversable\n   *  @define coll traversable collection\n   */\n  trait TraversableLike[+A, +Repr] extends HasNewBuilder[A, Repr] \n                                      with FilterMonadic[A, Repr]\n                                      with TraversableOnce[A]\n                                      with GenTraversableLike[A, Repr]\n                                      with Parallelizable[A, ParIterable[A]]\n  {\n    self =>\n\n    import Traversable.breaks._\n\n    /** The type implementing this traversable */\n    protected type Self = Repr\n\n    /** The collection of type $coll underlying this `TraversableLike` object.\n     *  By default this is implemented as the `TraversableLike` object itself,\n     *  but this can be overridden.\n     */\n    def repr: Repr = this.asInstanceOf[Repr]\n\n    /** The underlying collection seen as an instance of `$Coll`.\n     *  By default this is implemented as the current collection object itself,\n     *  but this can be overridden.\n     */\n    protected[this] def thisCollection: Traversable[A] = this.asInstanceOf[Traversable[A]]\n\n    /** A conversion from collections of type `Repr` to `$Coll` objects.\n     *  By default this is implemented as just a cast, but this can be overridden.\n     */\n    protected[this] def toCollection(repr: Repr): Traversable[A] = repr.asInstanceOf[Traversable[A]]\n\n    /** Creates a new builder for this collection type.\n     */\n    protected[this] def newBuilder: Builder[A, Repr]\n\n    protected[this] def parCombiner = ParIterable.newCombiner[A]\n\n    /** Applies a function `f` to all elements of this $coll.\n     *  \n     *    Note: this method underlies the implementation of most other bulk operations.\n     *    It's important to implement this method in an efficient way.\n     *  \n     *\n     *  @param  f   the function that is applied for its side-effect to every element.\n     *              The result of function `f` is discarded.\n     *              \n     *  @tparam  U  the type parameter describing the result of function `f`. \n     *              This result will always be ignored. Typically `U` is `Unit`,\n     *              but this is not necessary.\n     *\n     *  @usecase def foreach(f: A => Unit): Unit\n     */\n    def foreach[U](f: A => U): Unit\n\n    /** Tests whether this $coll is empty.\n     *\n     *  @return    `true` if the $coll contain no elements, `false` otherwise.\n     */\n    def isEmpty: Boolean = {\n      var result = true\n      breakable {\n        for (x <- this) {\n          result = false\n          break\n        }\n      }\n      result\n    }\n\n    /** Tests whether this $coll is known to have a finite size.\n     *  All strict collections are known to have finite size. For a non-strict collection\n     *  such as `Stream`, the predicate returns `true` if all elements have been computed.\n     *  It returns `false` if the stream is not yet evaluated to the end.\n     *\n     *  Note: many collection methods will not work on collections of infinite sizes. \n     *\n     *  @return  `true` if this collection is known to have finite size, `false` otherwise.\n     */\n    def hasDefiniteSize = true\n\n    def ++[B >: A, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      if (that.isInstanceOf[IndexedSeqLike[_, _]]) b.sizeHint(this, that.seq.size)\n      b ++= thisCollection\n      b ++= that.seq\n      b.result\n    }\n\n    @bridge\n    def ++[B >: A, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That =\n      ++(that: GenTraversableOnce[B])(bf)\n\n    /** Concatenates this $coll with the elements of a traversable collection.\n     *  It differs from ++ in that the right operand determines the type of the\n     *  resulting collection rather than the left one.\n     * \n     *  @param that   the traversable to append.\n     *  @tparam B     the element type of the returned collection. \n     *  @tparam That  $thatinfo\n     *  @param bf     $bfinfo\n     *  @return       a new collection of type `That` which contains all elements\n     *                of this $coll followed by all elements of `that`.\n     * \n     *  @usecase def ++:[B](that: TraversableOnce[B]): $Coll[B]\n     *  \n     *  @return       a new $coll which contains all elements of this $coll\n     *                followed by all elements of `that`.\n     */\n    def ++:[B >: A, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      if (that.isInstanceOf[IndexedSeqLike[_, _]]) b.sizeHint(this, that.size)\n      b ++= that\n      b ++= thisCollection\n      b.result\n    }\n\n    /** This overload exists because: for the implementation of ++: we should reuse\n     *  that of ++ because many collections override it with more efficient versions.\n     *  Since TraversableOnce has no '++' method, we have to implement that directly,\n     *  but Traversable and down can use the overload.\n     */\n    def ++:[B >: A, That](that: Traversable[B])(implicit bf: CanBuildFrom[Repr, B, That]): That =\n      (that ++ seq)(breakOut)\n\n    def map[B, That](f: A => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      b.sizeHint(this) \n      for (x <- this) b += f(x)\n      b.result\n    }\n\n    def flatMap[B, That](f: A => GenTraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      for (x <- this) b ++= f(x).seq\n      b.result\n    }\n\n    /** Selects all elements of this $coll which satisfy a predicate.\n     *\n     *  @param p     the predicate used to test elements.\n     *  @return      a new $coll consisting of all elements of this $coll that satisfy the given\n     *               predicate `p`. The order of the elements is preserved.\n     */\n    def filter(p: A => Boolean): Repr = {\n      val b = newBuilder\n      for (x <- this) \n        if (p(x)) b += x\n      b.result\n    }\n\n    /** Selects all elements of this $coll which do not satisfy a predicate.\n     *\n     *  @param p     the predicate used to test elements.\n     *  @return      a new $coll consisting of all elements of this $coll that do not satisfy the given\n     *               predicate `p`. The order of the elements is preserved.\n     */\n    def filterNot(p: A => Boolean): Repr = filter(!p(_))\n\n    def collect[B, That](pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      for (x <- this) if (pf.isDefinedAt(x)) b += pf(x)\n      b.result\n    }\n\n    /** Builds a new collection by applying an option-valued function to all\n     *  elements of this $coll on which the function is defined.\n     *\n     *  @param f      the option-valued function which filters and maps the $coll.\n     *  @tparam B     the element type of the returned collection.\n     *  @tparam That  $thatinfo\n     *  @param bf     $bfinfo\n     *  @return       a new collection of type `That` resulting from applying the option-valued function\n     *                `f` to each element and collecting all defined results.\n     *                The order of the elements is preserved.\n     *\n     *  @usecase def filterMap[B](f: A => Option[B]): $Coll[B]\n     *  \n     *  @param pf     the partial function which filters and maps the $coll.\n     *  @return       a new $coll resulting from applying the given option-valued function\n     *                `f` to each element and collecting all defined results.\n     *                The order of the elements is preserved.\n    def filterMap[B, That](f: A => Option[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      for (x <- this) \n        f(x) match {\n          case Some(y) => b += y\n          case _ =>\n        }\n      b.result\n    }\n     */\n\n    /** Partitions this $coll in two ${coll}s according to a predicate.\n     *\n     *  @param p the predicate on which to partition.\n     *  @return  a pair of ${coll}s: the first $coll consists of all elements that \n     *           satisfy the predicate `p` and the second $coll consists of all elements\n     *           that don't. The relative order of the elements in the resulting ${coll}s\n     *           is the same as in the original $coll.\n     */\n    def partition(p: A => Boolean): (Repr, Repr) = {\n      val l, r = newBuilder\n      for (x <- this) (if (p(x)) l else r) += x\n      (l.result, r.result)\n    }\n\n    def groupBy[K](f: A => K): immutable.Map[K, Repr] = {\n      val m = mutable.Map.empty[K, Builder[A, Repr]]\n      for (elem <- this) {\n        val key = f(elem)\n        val bldr = m.getOrElseUpdate(key, newBuilder)\n        bldr += elem\n      }\n      val b = immutable.Map.newBuilder[K, Repr]\n      for ((k, v) <- m)\n        b += ((k, v.result))\n\n      b.result\n    }\n\n    /** Tests whether a predicate holds for all elements of this $coll.\n     *\n     *  $mayNotTerminateInf\n     *\n     *  @param   p     the predicate used to test elements.\n     *  @return        `true` if the given predicate `p` holds for all elements\n     *                 of this $coll, otherwise `false`.\n     */\n    def forall(p: A => Boolean): Boolean = {\n      var result = true\n      breakable {\n        for (x <- this)\n          if (!p(x)) { result = false; break }\n      }\n      result\n    }\n\n    /** Tests whether a predicate holds for some of the elements of this $coll.\n     *\n     *  $mayNotTerminateInf\n     *\n     *  @param   p     the predicate used to test elements.\n     *  @return        `true` if the given predicate `p` holds for some of the\n     *                 elements of this $coll, otherwise `false`.\n     */\n    def exists(p: A => Boolean): Boolean = {\n      var result = false\n      breakable {\n        for (x <- this)\n          if (p(x)) { result = true; break }\n      }\n      result\n    }\n\n    /** Finds the first element of the $coll satisfying a predicate, if any.\n     * \n     *  $mayNotTerminateInf\n     *  $orderDependent\n     *\n     *  @param p    the predicate used to test elements.\n     *  @return     an option value containing the first element in the $coll\n     *              that satisfies `p`, or `None` if none exists.\n     */\n    def find(p: A => Boolean): Option[A] = {\n      var result: Option[A] = None\n      breakable {\n        for (x <- this)\n          if (p(x)) { result = Some(x); break }\n      }\n      result\n    }\n\n    def scan[B >: A, That](z: B)(op: (B, B) => B)(implicit cbf: CanBuildFrom[Repr, B, That]): That = scanLeft(z)(op)\n\n    def scanLeft[B, That](z: B)(op: (B, A) => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      b.sizeHint(this, 1)\n      var acc = z\n      b += acc\n      for (x <- this) { acc = op(acc, x); b += acc }\n      b.result\n    }\n\n    @migration(2, 9,\n      \"This scanRight definition has changed in 2.9.\\n\" +\n      \"The previous behavior can be reproduced with scanRight.reverse.\"\n    )\n    def scanRight[B, That](z: B)(op: (A, B) => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      var scanned = List(z)\n      var acc = z\n      for (x <- reversed) {\n        acc = op(x, acc)\n        scanned ::= acc\n      }\n      val b = bf(repr)\n      for (elem <- scanned) b += elem\n      b.result\n    }\n\n    /** Selects the first element of this $coll.\n     *  $orderDependent\n     *  @return  the first element of this $coll.\n     *  @throws `NoSuchElementException` if the $coll is empty.\n     */\n    def head: A = {\n      var result: () => A = () => throw new NoSuchElementException\n      breakable {\n        for (x <- this) {\n          result = () => x\n          break\n        }\n      }\n      result()\n    }\n\n    /** Optionally selects the first element.\n     *  $orderDependent\n     *  @return  the first element of this $coll if it is nonempty, `None` if it is empty.\n     */\n    def headOption: Option[A] = if (isEmpty) None else Some(head)\n\n    /** Selects all elements except the first.\n     *  $orderDependent\n     *  @return  a $coll consisting of all elements of this $coll\n     *           except the first one.\n     *  @throws `UnsupportedOperationException` if the $coll is empty.\n     */ \n    override def tail: Repr = {\n      if (isEmpty) throw new UnsupportedOperationException(\"empty.tail\")\n      drop(1)\n    }\n\n    /** Selects the last element.\n      * $orderDependent\n      * @return The last element of this $coll.\n      * @throws NoSuchElementException If the $coll is empty.\n      */\n    def last: A = {\n      var lst = head\n      for (x <- this)\n        lst = x\n      lst\n    }\n\n    /** Optionally selects the last element.\n     *  $orderDependent\n     *  @return  the last element of this $coll$ if it is nonempty, `None` if it is empty.\n     */\n    def lastOption: Option[A] = if (isEmpty) None else Some(last)\n\n    /** Selects all elements except the last.\n     *  $orderDependent\n     *  @return  a $coll consisting of all elements of this $coll\n     *           except the last one.\n     *  @throws `UnsupportedOperationException` if the $coll is empty.\n     */\n    def init: Repr = {\n      if (isEmpty) throw new UnsupportedOperationException(\"empty.init\")\n      var lst = head\n      var follow = false\n      val b = newBuilder\n      b.sizeHint(this, -1)\n      for (x <- this.seq) {\n        if (follow) b += lst\n        else follow = true\n        lst = x\n      }\n      b.result\n    }\n\n    def take(n: Int): Repr = slice(0, n)\n\n    def drop(n: Int): Repr = \n      if (n <= 0) {\n        val b = newBuilder\n        b.sizeHint(this)\n        b ++= thisCollection result\n      }\n      else sliceWithKnownDelta(n, Int.MaxValue, -n)\n\n    def slice(from: Int, until: Int): Repr = sliceWithKnownBound(math.max(from, 0), until)\n\n    // Precondition: from >= 0, until > 0, builder already configured for building.\n    private[this] def sliceInternal(from: Int, until: Int, b: Builder[A, Repr]): Repr = {\n      var i = 0\n      breakable {\n        for (x <- this.seq) {\n          if (i >= from) b += x\n          i += 1\n          if (i >= until) break\n        }\n      }\n      b.result\n    }\n    // Precondition: from >= 0\n    private[scala] def sliceWithKnownDelta(from: Int, until: Int, delta: Int): Repr = {\n      val b = newBuilder\n      if (until <= from) b.result\n      else {\n        b.sizeHint(this, delta)\n        sliceInternal(from, until, b)\n      }\n    }\n    // Precondition: from >= 0\n    private[scala] def sliceWithKnownBound(from: Int, until: Int): Repr = {\n      val b = newBuilder\n      if (until <= from) b.result\n      else {\n        b.sizeHintBounded(until - from, this)      \n        sliceInternal(from, until, b)\n      }\n    }\n\n    def takeWhile(p: A => Boolean): Repr = {\n      val b = newBuilder\n      breakable {\n        for (x <- this) {\n          if (!p(x)) break\n          b += x\n        }\n      }\n      b.result\n    }\n\n    def dropWhile(p: A => Boolean): Repr = {\n      val b = newBuilder\n      var go = false\n      for (x <- this) {\n        if (!p(x)) go = true\n        if (go) b += x\n      }\n      b.result\n    }\n\n    def span(p: A => Boolean): (Repr, Repr) = {\n      val l, r = newBuilder\n      var toLeft = true\n      for (x <- this) {\n        toLeft = toLeft && p(x)\n        (if (toLeft) l else r) += x\n      }\n      (l.result, r.result)\n    }\n\n    def splitAt(n: Int): (Repr, Repr) = {\n      val l, r = newBuilder\n      l.sizeHintBounded(n, this)\n      if (n >= 0) r.sizeHint(this, -n)\n      var i = 0\n      for (x <- this) {\n        (if (i < n) l else r) += x\n        i += 1\n      }\n      (l.result, r.result)\n    }\n\n    /** Iterates over the tails of this $coll. The first value will be this\n     *  $coll and the final one will be an empty $coll, with the intervening\n     *  values the results of successive applications of `tail`.\n     *\n     *  @return   an iterator over all the tails of this $coll\n     *  @example  `List(1,2,3).tails = Iterator(List(1,2,3), List(2,3), List(3), Nil)`\n     */  \n    def tails: Iterator[Repr] = iterateUntilEmpty(_.tail)\n\n    /** Iterates over the inits of this $coll. The first value will be this\n     *  $coll and the final one will be an empty $coll, with the intervening\n     *  values the results of successive applications of `init`.\n     *\n     *  @return  an iterator over all the inits of this $coll\n     *  @example  `List(1,2,3).inits = Iterator(List(1,2,3), List(1,2), List(1), Nil)`\n     */\n    def inits: Iterator[Repr] = iterateUntilEmpty(_.init)\n\n    /** Copies elements of this $coll to an array.\n     *  Fills the given array `xs` with at most `len` elements of\n     *  this $coll, starting at position `start`.\n     *  Copying will stop once either the end of the current $coll is reached,\n     *  or the end of the array is reached, or `len` elements have been copied.\n     *\n     *  $willNotTerminateInf\n     * \n     *  @param  xs     the array to fill.\n     *  @param  start  the starting index.\n     *  @param  len    the maximal number of elements to copy.\n     *  @tparam B      the type of the elements of the array. \n     * \n     *\n     *  @usecase def copyToArray(xs: Array[A], start: Int, len: Int): Unit\n     */\n    def copyToArray[B >: A](xs: Array[B], start: Int, len: Int) {\n      var i = start\n      val end = (start + len) min xs.length\n      breakable {\n        for (x <- this) {\n          if (i >= end) break\n          xs(i) = x\n          i += 1\n        }\n      }\n    }\n\n    def toTraversable: Traversable[A] = thisCollection\n    def toIterator: Iterator[A] = toStream.iterator\n    def toStream: Stream[A] = toBuffer.toStream\n\n    /** Converts this $coll to a string.\n     *\n     *  @return   a string representation of this collection. By default this\n     *            string consists of the `stringPrefix` of this $coll,\n     *            followed by all elements separated by commas and enclosed in parentheses.\n     */\n    override def toString = mkString(stringPrefix + \"(\", \", \", \")\")\n\n    /** Defines the prefix of this object's `toString` representation.\n     *\n     *  @return  a string representation which starts the result of `toString`\n     *           applied to this $coll. By default the string prefix is the\n     *           simple name of the collection class $coll.\n     */\n    def stringPrefix : String = {\n      var string = repr.asInstanceOf[AnyRef].getClass.getName\n      val idx1 = string.lastIndexOf('.' : Int)\n      if (idx1 != -1) string = string.substring(idx1 + 1)\n      val idx2 = string.indexOf('$')\n      if (idx2 != -1) string = string.substring(0, idx2)\n      string\n    }\n\n    /** Creates a non-strict view of this $coll.\n     * \n     *  @return a non-strict view of this $coll.\n     */\n    def view = new TraversableView[A, Repr] {\n      protected lazy val underlying = self.repr\n      override def foreach[U](f: A => U) = self foreach f\n    }\n\n    /** Creates a non-strict view of a slice of this $coll.\n     *\n     *  Note: the difference between `view` and `slice` is that `view` produces\n     *        a view of the current $coll, whereas `slice` produces a new $coll.\n     * \n     *  Note: `view(from, to)` is equivalent to `view.slice(from, to)`\n     *  $orderDependent\n     * \n     *  @param from   the index of the first element of the view\n     *  @param until  the index of the element following the view\n     *  @return a non-strict view of a slice of this $coll, starting at index `from`\n     *  and extending up to (but not including) index `until`.\n     */\n    def view(from: Int, until: Int): TraversableView[A, Repr] = view.slice(from, until)\n\n    /** Creates a non-strict filter of this $coll.\n     *\n     *  Note: the difference between `c filter p` and `c withFilter p` is that\n     *        the former creates a new collection, whereas the latter only\n     *        restricts the domain of subsequent `map`, `flatMap`, `foreach`,\n     *        and `withFilter` operations.\n     *  $orderDependent\n     * \n     *  @param p   the predicate used to test elements.\n     *  @return    an object of class `WithFilter`, which supports\n     *             `map`, `flatMap`, `foreach`, and `withFilter` operations.\n     *             All these operations apply to those elements of this $coll which\n     *             satisfy the predicate `p`.\n     */\n    def withFilter(p: A => Boolean): FilterMonadic[A, Repr] = new WithFilter(p)\n\n    /** A class supporting filtered operations. Instances of this class are\n     *  returned by method `withFilter`.\n     */\n    class WithFilter(p: A => Boolean) extends FilterMonadic[A, Repr] {\n\n      /** Builds a new collection by applying a function to all elements of the\n       *  outer $coll containing this `WithFilter` instance that satisfy predicate `p`.\n       *\n       *  @param f      the function to apply to each element.\n       *  @tparam B     the element type of the returned collection.\n       *  @tparam That  $thatinfo\n       *  @param bf     $bfinfo\n       *  @return       a new collection of type `That` resulting from applying\n       *                the given function `f` to each element of the outer $coll\n       *                that satisfies predicate `p` and collecting the results.\n       *\n       *  @usecase def map[B](f: A => B): $Coll[B] \n       *  \n       *  @return       a new $coll resulting from applying the given function\n       *                `f` to each element of the outer $coll that satisfies\n       *                predicate `p` and collecting the results.\n       */\n      def map[B, That](f: A => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n        val b = bf(repr)\n        for (x <- self) \n          if (p(x)) b += f(x)\n        b.result\n      }\n\n      /** Builds a new collection by applying a function to all elements of the\n       *  outer $coll containing this `WithFilter` instance that satisfy\n       *  predicate `p` and concatenating the results. \n       *\n       *  @param f      the function to apply to each element.\n       *  @tparam B     the element type of the returned collection.\n       *  @tparam That  $thatinfo\n       *  @param bf     $bfinfo\n       *  @return       a new collection of type `That` resulting from applying\n       *                the given collection-valued function `f` to each element\n       *                of the outer $coll that satisfies predicate `p` and\n       *                concatenating the results.\n       *\n       *  @usecase def flatMap[B](f: A => TraversableOnce[B]): $Coll[B]\n       * \n       *  @return       a new $coll resulting from applying the given collection-valued function\n       *                `f` to each element of the outer $coll that satisfies predicate `p` and concatenating the results.\n       */\n      def flatMap[B, That](f: A => GenTraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n        val b = bf(repr)\n        for (x <- self) \n          if (p(x)) b ++= f(x).seq\n        b.result\n      }\n\n      /** Applies a function `f` to all elements of the outer $coll containing\n       *  this `WithFilter` instance that satisfy predicate `p`.\n       *\n       *  @param  f   the function that is applied for its side-effect to every element.\n       *              The result of function `f` is discarded.\n       *              \n       *  @tparam  U  the type parameter describing the result of function `f`. \n       *              This result will always be ignored. Typically `U` is `Unit`,\n       *              but this is not necessary.\n       *\n       *  @usecase def foreach(f: A => Unit): Unit\n       */   \n      def foreach[U](f: A => U): Unit = \n        for (x <- self) \n          if (p(x)) f(x)\n\n      /** Further refines the filter for this $coll.\n       *\n       *  @param q   the predicate used to test elements.\n       *  @return    an object of class `WithFilter`, which supports\n       *             `map`, `flatMap`, `foreach`, and `withFilter` operations.\n       *             All these operations apply to those elements of this $coll which\n       *             satisfy the predicate `q` in addition to the predicate `p`.\n       */\n      def withFilter(q: A => Boolean): WithFilter = \n        new WithFilter(x => p(x) && q(x))\n    }\n\n    // A helper for tails and inits.\n    private def iterateUntilEmpty(f: Traversable[A @uV] => Traversable[A @uV]): Iterator[Repr] = {\n      val it = Iterator.iterate(thisCollection)(f) takeWhile (x => !x.isEmpty)\n      it ++ Iterator(Nil) map (newBuilder ++= _ result)\n    }\n  }\n\n\n</textarea>\n</form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        theme: \"ambiance\",\n        mode: \"text/x-scala\"\n      });\n    </script>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/clojure/clojure.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/**\n * Author: Hans Engel\n * Branched from CodeMirror's Scheme mode (by Koh Zi Han, based on implementation by Koh Zi Chun)\n */\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"clojure\", function (options) {\n    var BUILTIN = \"builtin\", COMMENT = \"comment\", STRING = \"string\", CHARACTER = \"string-2\",\n        ATOM = \"atom\", NUMBER = \"number\", BRACKET = \"bracket\", KEYWORD = \"keyword\", VAR = \"variable\";\n    var INDENT_WORD_SKIP = options.indentUnit || 2;\n    var NORMAL_INDENT_UNIT = options.indentUnit || 2;\n\n    function makeKeywords(str) {\n        var obj = {}, words = str.split(\" \");\n        for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n        return obj;\n    }\n\n    var atoms = makeKeywords(\"true false nil\");\n\n    var keywords = makeKeywords(\n      \"defn defn- def def- defonce defmulti defmethod defmacro defstruct deftype defprotocol defrecord defproject deftest slice defalias defhinted defmacro- defn-memo defnk defnk defonce- defunbound defunbound- defvar defvar- let letfn do case cond condp for loop recur when when-not when-let when-first if if-let if-not . .. -> ->> doto and or dosync doseq dotimes dorun doall load import unimport ns in-ns refer try catch finally throw with-open with-local-vars binding gen-class gen-and-load-class gen-and-save-class handler-case handle\");\n\n    var builtins = makeKeywords(\n        \"* *' *1 *2 *3 *agent* *allow-unresolved-vars* *assert* *clojure-version* *command-line-args* *compile-files* *compile-path* *compiler-options* *data-readers* *e *err* *file* *flush-on-newline* *fn-loader* *in* *math-context* *ns* *out* *print-dup* *print-length* *print-level* *print-meta* *print-readably* *read-eval* *source-path* *unchecked-math* *use-context-classloader* *verbose-defrecords* *warn-on-reflection* + +' - -' -> ->> ->ArrayChunk ->Vec ->VecNode ->VecSeq -cache-protocol-fn -reset-methods .. / < <= = == > >= EMPTY-NODE accessor aclone add-classpath add-watch agent agent-error agent-errors aget alength alias all-ns alter alter-meta! alter-var-root amap ancestors and apply areduce array-map aset aset-boolean aset-byte aset-char aset-double aset-float aset-int aset-long aset-short assert assoc assoc! assoc-in associative? atom await await-for await1 bases bean bigdec bigint biginteger binding bit-and bit-and-not bit-clear bit-flip bit-not bit-or bit-set bit-shift-left bit-shift-right bit-test bit-xor boolean boolean-array booleans bound-fn bound-fn* bound? butlast byte byte-array bytes case cast char char-array char-escape-string char-name-string char? chars chunk chunk-append chunk-buffer chunk-cons chunk-first chunk-next chunk-rest chunked-seq? class class? clear-agent-errors clojure-version coll? comment commute comp comparator compare compare-and-set! compile complement concat cond condp conj conj! cons constantly construct-proxy contains? count counted? create-ns create-struct cycle dec dec' decimal? declare default-data-readers definline definterface defmacro defmethod defmulti defn defn- defonce defprotocol defrecord defstruct deftype delay delay? deliver denominator deref derive descendants destructure disj disj! dissoc dissoc! distinct distinct? doall dorun doseq dosync dotimes doto double double-array doubles drop drop-last drop-while empty empty? ensure enumeration-seq error-handler error-mode eval even? every-pred every? ex-data ex-info extend extend-protocol extend-type extenders extends? false? ffirst file-seq filter filterv find find-keyword find-ns find-protocol-impl find-protocol-method find-var first flatten float float-array float? floats flush fn fn? fnext fnil for force format frequencies future future-call future-cancel future-cancelled? future-done? future? gen-class gen-interface gensym get get-in get-method get-proxy-class get-thread-bindings get-validator group-by hash hash-combine hash-map hash-set identical? identity if-let if-not ifn? import in-ns inc inc' init-proxy instance? int int-array integer? interleave intern interpose into into-array ints io! isa? iterate iterator-seq juxt keep keep-indexed key keys keyword keyword? last lazy-cat lazy-seq let letfn line-seq list list* list? load load-file load-reader load-string loaded-libs locking long long-array longs loop macroexpand macroexpand-1 make-array make-hierarchy map map-indexed map? mapcat mapv max max-key memfn memoize merge merge-with meta method-sig methods min min-key mod munge name namespace namespace-munge neg? newline next nfirst nil? nnext not not-any? not-empty not-every? not= ns ns-aliases ns-imports ns-interns ns-map ns-name ns-publics ns-refers ns-resolve ns-unalias ns-unmap nth nthnext nthrest num number? numerator object-array odd? or parents partial partition partition-all partition-by pcalls peek persistent! pmap pop pop! pop-thread-bindings pos? pr pr-str prefer-method prefers primitives-classnames print print-ctor print-dup print-method print-simple print-str printf println println-str prn prn-str promise proxy proxy-call-with-super proxy-mappings proxy-name proxy-super push-thread-bindings pvalues quot rand rand-int rand-nth range ratio? rational? rationalize re-find re-groups re-matcher re-matches re-pattern re-seq read read-line read-string realized? reduce reduce-kv reductions ref ref-history-count ref-max-history ref-min-history ref-set refer refer-clojure reify release-pending-sends rem remove remove-all-methods remove-method remove-ns remove-watch repeat repeatedly replace replicate require reset! reset-meta! resolve rest restart-agent resultset-seq reverse reversible? rseq rsubseq satisfies? second select-keys send send-off seq seq? seque sequence sequential? set set-error-handler! set-error-mode! set-validator! set? short short-array shorts shuffle shutdown-agents slurp some some-fn sort sort-by sorted-map sorted-map-by sorted-set sorted-set-by sorted? special-symbol? spit split-at split-with str string? struct struct-map subs subseq subvec supers swap! symbol symbol? sync take take-last take-nth take-while test the-ns thread-bound? time to-array to-array-2d trampoline transient tree-seq true? type unchecked-add unchecked-add-int unchecked-byte unchecked-char unchecked-dec unchecked-dec-int unchecked-divide-int unchecked-double unchecked-float unchecked-inc unchecked-inc-int unchecked-int unchecked-long unchecked-multiply unchecked-multiply-int unchecked-negate unchecked-negate-int unchecked-remainder-int unchecked-short unchecked-subtract unchecked-subtract-int underive unquote unquote-splicing update-in update-proxy use val vals var-get var-set var? vary-meta vec vector vector-of vector? when when-first when-let when-not while with-bindings with-bindings* with-in-str with-loading-context with-local-vars with-meta with-open with-out-str with-precision with-redefs with-redefs-fn xml-seq zero? zipmap *default-data-reader-fn* as-> cond-> cond->> reduced reduced? send-via set-agent-send-executor! set-agent-send-off-executor! some-> some->>\");\n\n    var indentKeys = makeKeywords(\n        // Built-ins\n        \"ns fn def defn defmethod bound-fn if if-not case condp when while when-not when-first do future comment doto locking proxy with-open with-precision reify deftype defrecord defprotocol extend extend-protocol extend-type try catch \" +\n\n        // Binding forms\n        \"let letfn binding loop for doseq dotimes when-let if-let \" +\n\n        // Data structures\n        \"defstruct struct-map assoc \" +\n\n        // clojure.test\n        \"testing deftest \" +\n\n        // contrib\n        \"handler-case handle dotrace deftrace\");\n\n    var tests = {\n        digit: /\\d/,\n        digit_or_colon: /[\\d:]/,\n        hex: /[0-9a-f]/i,\n        sign: /[+-]/,\n        exponent: /e/i,\n        keyword_char: /[^\\s\\(\\[\\;\\)\\]]/,\n        symbol: /[\\w*+!\\-\\._?:<>\\/\\xa1-\\uffff]/\n    };\n\n    function stateStack(indent, type, prev) { // represents a state stack object\n        this.indent = indent;\n        this.type = type;\n        this.prev = prev;\n    }\n\n    function pushStack(state, indent, type) {\n        state.indentStack = new stateStack(indent, type, state.indentStack);\n    }\n\n    function popStack(state) {\n        state.indentStack = state.indentStack.prev;\n    }\n\n    function isNumber(ch, stream){\n        // hex\n        if ( ch === '0' && stream.eat(/x/i) ) {\n            stream.eatWhile(tests.hex);\n            return true;\n        }\n\n        // leading sign\n        if ( ( ch == '+' || ch == '-' ) && ( tests.digit.test(stream.peek()) ) ) {\n          stream.eat(tests.sign);\n          ch = stream.next();\n        }\n\n        if ( tests.digit.test(ch) ) {\n            stream.eat(ch);\n            stream.eatWhile(tests.digit);\n\n            if ( '.' == stream.peek() ) {\n                stream.eat('.');\n                stream.eatWhile(tests.digit);\n            }\n\n            if ( stream.eat(tests.exponent) ) {\n                stream.eat(tests.sign);\n                stream.eatWhile(tests.digit);\n            }\n\n            return true;\n        }\n\n        return false;\n    }\n\n    // Eat character that starts after backslash \\\n    function eatCharacter(stream) {\n        var first = stream.next();\n        // Read special literals: backspace, newline, space, return.\n        // Just read all lowercase letters.\n        if (first && first.match(/[a-z]/) && stream.match(/[a-z]+/, true)) {\n            return;\n        }\n        // Read unicode character: \\u1000 \\uA0a1\n        if (first === \"u\") {\n            stream.match(/[0-9a-z]{4}/i, true);\n        }\n    }\n\n    return {\n        startState: function () {\n            return {\n                indentStack: null,\n                indentation: 0,\n                mode: false\n            };\n        },\n\n        token: function (stream, state) {\n            if (state.indentStack == null && stream.sol()) {\n                // update indentation, but only if indentStack is empty\n                state.indentation = stream.indentation();\n            }\n\n            // skip spaces\n            if (stream.eatSpace()) {\n                return null;\n            }\n            var returnType = null;\n\n            switch(state.mode){\n                case \"string\": // multi-line string parsing mode\n                    var next, escaped = false;\n                    while ((next = stream.next()) != null) {\n                        if (next == \"\\\"\" && !escaped) {\n\n                            state.mode = false;\n                            break;\n                        }\n                        escaped = !escaped && next == \"\\\\\";\n                    }\n                    returnType = STRING; // continue on in string mode\n                    break;\n                default: // default parsing mode\n                    var ch = stream.next();\n\n                    if (ch == \"\\\"\") {\n                        state.mode = \"string\";\n                        returnType = STRING;\n                    } else if (ch == \"\\\\\") {\n                        eatCharacter(stream);\n                        returnType = CHARACTER;\n                    } else if (ch == \"'\" && !( tests.digit_or_colon.test(stream.peek()) )) {\n                        returnType = ATOM;\n                    } else if (ch == \";\") { // comment\n                        stream.skipToEnd(); // rest of the line is a comment\n                        returnType = COMMENT;\n                    } else if (isNumber(ch,stream)){\n                        returnType = NUMBER;\n                    } else if (ch == \"(\" || ch == \"[\" || ch == \"{\" ) {\n                        var keyWord = '', indentTemp = stream.column(), letter;\n                        /**\n                        Either\n                        (indent-word ..\n                        (non-indent-word ..\n                        (;something else, bracket, etc.\n                        */\n\n                        if (ch == \"(\") while ((letter = stream.eat(tests.keyword_char)) != null) {\n                            keyWord += letter;\n                        }\n\n                        if (keyWord.length > 0 && (indentKeys.propertyIsEnumerable(keyWord) ||\n                                                   /^(?:def|with)/.test(keyWord))) { // indent-word\n                            pushStack(state, indentTemp + INDENT_WORD_SKIP, ch);\n                        } else { // non-indent word\n                            // we continue eating the spaces\n                            stream.eatSpace();\n                            if (stream.eol() || stream.peek() == \";\") {\n                                // nothing significant after\n                                // we restart indentation the user defined spaces after\n                                pushStack(state, indentTemp + NORMAL_INDENT_UNIT, ch);\n                            } else {\n                                pushStack(state, indentTemp + stream.current().length, ch); // else we match\n                            }\n                        }\n                        stream.backUp(stream.current().length - 1); // undo all the eating\n\n                        returnType = BRACKET;\n                    } else if (ch == \")\" || ch == \"]\" || ch == \"}\") {\n                        returnType = BRACKET;\n                        if (state.indentStack != null && state.indentStack.type == (ch == \")\" ? \"(\" : (ch == \"]\" ? \"[\" :\"{\"))) {\n                            popStack(state);\n                        }\n                    } else if ( ch == \":\" ) {\n                        stream.eatWhile(tests.symbol);\n                        return ATOM;\n                    } else {\n                        stream.eatWhile(tests.symbol);\n\n                        if (keywords && keywords.propertyIsEnumerable(stream.current())) {\n                            returnType = KEYWORD;\n                        } else if (builtins && builtins.propertyIsEnumerable(stream.current())) {\n                            returnType = BUILTIN;\n                        } else if (atoms && atoms.propertyIsEnumerable(stream.current())) {\n                            returnType = ATOM;\n                        } else {\n                          returnType = VAR;\n                        }\n                    }\n            }\n\n            return returnType;\n        },\n\n        indent: function (state) {\n            if (state.indentStack == null) return state.indentation;\n            return state.indentStack.indent;\n        },\n\n        lineComment: \";;\"\n    };\n});\n\nCodeMirror.defineMIME(\"text/x-clojure\", \"clojure\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/clojure/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Clojure mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"clojure.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Clojure</a>\n  </ul>\n</div>\n\n<article>\n<h2>Clojure mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n; Conway's Game of Life, based on the work of:\n;; Laurent Petit https://gist.github.com/1200343\n;; Christophe Grand http://clj-me.cgrand.net/2011/08/19/conways-game-of-life\n\n(ns ^{:doc \"Conway's Game of Life.\"}\n game-of-life)\n\n;; Core game of life's algorithm functions\n\n(defn neighbours\n  \"Given a cell's coordinates, returns the coordinates of its neighbours.\"\n  [[x y]]\n  (for [dx [-1 0 1] dy (if (zero? dx) [-1 1] [-1 0 1])]\n    [(+ dx x) (+ dy y)]))\n\n(defn step\n  \"Given a set of living cells, computes the new set of living cells.\"\n  [cells]\n  (set (for [[cell n] (frequencies (mapcat neighbours cells))\n             :when (or (= n 3) (and (= n 2) (cells cell)))]\n         cell)))\n\n;; Utility methods for displaying game on a text terminal\n\n(defn print-board\n  \"Prints a board on *out*, representing a step in the game.\"\n  [board w h]\n  (doseq [x (range (inc w)) y (range (inc h))]\n    (if (= y 0) (print \"\\n\"))\n    (print (if (board [x y]) \"[X]\" \" . \"))))\n\n(defn display-grids\n  \"Prints a squence of boards on *out*, representing several steps.\"\n  [grids w h]\n  (doseq [board grids]\n    (print-board board w h)\n    (print \"\\n\")))\n\n;; Launches an example board\n\n(def\n  ^{:doc \"board represents the initial set of living cells\"}\n   board #{[2 1] [2 2] [2 3]})\n\n(display-grids (take 3 (iterate step board)) 5 5)\n\n;; Let's play with characters\n(println \\1 \\a \\# \\\\\n         \\\" \\( \\newline\n         \\} \\\" \\space\n         \\tab \\return \\backspace\n         \\u1000 \\uAaAa \\u9F9F)\n\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-clojure</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/cobol/cobol.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/**\n * Author: Gautam Mehta\n * Branched from CodeMirror's Scheme mode\n */\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"cobol\", function () {\n  var BUILTIN = \"builtin\", COMMENT = \"comment\", STRING = \"string\",\n      ATOM = \"atom\", NUMBER = \"number\", KEYWORD = \"keyword\", MODTAG = \"header\",\n      COBOLLINENUM = \"def\", PERIOD = \"link\";\n  function makeKeywords(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var atoms = makeKeywords(\"TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES \");\n  var keywords = makeKeywords(\n      \"ACCEPT ACCESS ACQUIRE ADD ADDRESS \" +\n      \"ADVANCING AFTER ALIAS ALL ALPHABET \" +\n      \"ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED \" +\n      \"ALSO ALTER ALTERNATE AND ANY \" +\n      \"ARE AREA AREAS ARITHMETIC ASCENDING \" +\n      \"ASSIGN AT ATTRIBUTE AUTHOR AUTO \" +\n      \"AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS \" +\n      \"B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP \" +\n      \"BEFORE BELL BINARY BIT BITS \" +\n      \"BLANK BLINK BLOCK BOOLEAN BOTTOM \" +\n      \"BY CALL CANCEL CD CF \" +\n      \"CH CHARACTER CHARACTERS CLASS CLOCK-UNITS \" +\n      \"CLOSE COBOL CODE CODE-SET COL \" +\n      \"COLLATING COLUMN COMMA COMMIT COMMITMENT \" +\n      \"COMMON COMMUNICATION COMP COMP-0 COMP-1 \" +\n      \"COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 \" +\n      \"COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 \" +\n      \"COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 \" +\n      \"COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE \" +\n      \"CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS \" +\n      \"CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS \" +\n      \"CONVERTING COPY CORR CORRESPONDING COUNT \" +\n      \"CRT CRT-UNDER CURRENCY CURRENT CURSOR \" +\n      \"DATA DATE DATE-COMPILED DATE-WRITTEN DAY \" +\n      \"DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION \" +\n      \"DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS \" +\n      \"DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE \" +\n      \"DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING \" +\n      \"DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED \" +\n      \"DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION \" +\n      \"DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 \" +\n      \"DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 \" +\n      \"DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION \" +\n      \"DOWN DROP DUPLICATE DUPLICATES DYNAMIC \" +\n      \"EBCDIC EGI EJECT ELSE EMI \" +\n      \"EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. \" +\n      \"END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY \" +\n      \"END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY \" +\n      \"END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN \" +\n      \"END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT \" +\n      \"END-UNSTRING END-WRITE END-XML ENTER ENTRY \" +\n      \"ENVIRONMENT EOP EQUAL EQUALS ERASE \" +\n      \"ERROR ESI EVALUATE EVERY EXCEEDS \" +\n      \"EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL \" +\n      \"EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL \" +\n      \"FILE-STREAM FILES FILLER FINAL FIND \" +\n      \"FINISH FIRST FOOTING FOR FOREGROUND-COLOR \" +\n      \"FOREGROUND-COLOUR FORMAT FREE FROM FULL \" +\n      \"FUNCTION GENERATE GET GIVING GLOBAL \" +\n      \"GO GOBACK GREATER GROUP HEADING \" +\n      \"HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL \" +\n      \"ID IDENTIFICATION IF IN INDEX \" +\n      \"INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 \" +\n      \"INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED \" +\n      \"INDIC INDICATE INDICATOR INDICATORS INITIAL \" +\n      \"INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT \" +\n      \"INSTALLATION INTO INVALID INVOKE IS \" +\n      \"JUST JUSTIFIED KANJI KEEP KEY \" +\n      \"LABEL LAST LD LEADING LEFT \" +\n      \"LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY \" +\n      \"LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER \" +\n      \"LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE \" +\n      \"LOCALE LOCALLY LOCK \" +\n      \"MEMBER MEMORY MERGE MESSAGE METACLASS \" +\n      \"MODE MODIFIED MODIFY MODULES MOVE \" +\n      \"MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE \" +\n      \"NEXT NO NO-ECHO NONE NOT \" +\n      \"NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER \" +\n      \"NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS \" +\n      \"OF OFF OMITTED ON ONLY \" +\n      \"OPEN OPTIONAL OR ORDER ORGANIZATION \" +\n      \"OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL \" +\n      \"PADDING PAGE PAGE-COUNTER PARSE PERFORM \" +\n      \"PF PH PIC PICTURE PLUS \" +\n      \"POINTER POSITION POSITIVE PREFIX PRESENT \" +\n      \"PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES \" +\n      \"PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID \" +\n      \"PROMPT PROTECTED PURGE QUEUE QUOTE \" +\n      \"QUOTES RANDOM RD READ READY \" +\n      \"REALM RECEIVE RECONNECT RECORD RECORD-NAME \" +\n      \"RECORDS RECURSIVE REDEFINES REEL REFERENCE \" +\n      \"REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE \" +\n      \"REMAINDER REMOVAL RENAMES REPEATED REPLACE \" +\n      \"REPLACING REPORT REPORTING REPORTS REPOSITORY \" +\n      \"REQUIRED RERUN RESERVE RESET RETAINING \" +\n      \"RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO \" +\n      \"REVERSED REWIND REWRITE RF RH \" +\n      \"RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED \" +\n      \"RUN SAME SCREEN SD SEARCH \" +\n      \"SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT \" +\n      \"SELECT SEND SENTENCE SEPARATE SEQUENCE \" +\n      \"SEQUENTIAL SET SHARED SIGN SIZE \" +\n      \"SKIP1 SKIP2 SKIP3 SORT SORT-MERGE \" +\n      \"SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL \" +\n      \"SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 \" +\n      \"START STARTING STATUS STOP STORE \" +\n      \"STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA \" +\n      \"SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS \" +\n      \"SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT \" +\n      \"TABLE TALLYING TAPE TENANT TERMINAL \" +\n      \"TERMINATE TEST TEXT THAN THEN \" +\n      \"THROUGH THRU TIME TIMES TITLE \" +\n      \"TO TOP TRAILING TRAILING-SIGN TRANSACTION \" +\n      \"TYPE TYPEDEF UNDERLINE UNEQUAL UNIT \" +\n      \"UNSTRING UNTIL UP UPDATE UPON \" +\n      \"USAGE USAGE-MODE USE USING VALID \" +\n      \"VALIDATE VALUE VALUES VARYING VLR \" +\n      \"WAIT WHEN WHEN-COMPILED WITH WITHIN \" +\n      \"WORDS WORKING-STORAGE WRITE XML XML-CODE \" +\n      \"XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL \" );\n\n  var builtins = makeKeywords(\"- * ** / + < <= = > >= \");\n  var tests = {\n    digit: /\\d/,\n    digit_or_colon: /[\\d:]/,\n    hex: /[0-9a-f]/i,\n    sign: /[+-]/,\n    exponent: /e/i,\n    keyword_char: /[^\\s\\(\\[\\;\\)\\]]/,\n    symbol: /[\\w*+\\-]/\n  };\n  function isNumber(ch, stream){\n    // hex\n    if ( ch === '0' && stream.eat(/x/i) ) {\n      stream.eatWhile(tests.hex);\n      return true;\n    }\n    // leading sign\n    if ( ( ch == '+' || ch == '-' ) && ( tests.digit.test(stream.peek()) ) ) {\n      stream.eat(tests.sign);\n      ch = stream.next();\n    }\n    if ( tests.digit.test(ch) ) {\n      stream.eat(ch);\n      stream.eatWhile(tests.digit);\n      if ( '.' == stream.peek()) {\n        stream.eat('.');\n        stream.eatWhile(tests.digit);\n      }\n      if ( stream.eat(tests.exponent) ) {\n        stream.eat(tests.sign);\n        stream.eatWhile(tests.digit);\n      }\n      return true;\n    }\n    return false;\n  }\n  return {\n    startState: function () {\n      return {\n        indentStack: null,\n        indentation: 0,\n        mode: false\n      };\n    },\n    token: function (stream, state) {\n      if (state.indentStack == null && stream.sol()) {\n        // update indentation, but only if indentStack is empty\n        state.indentation = 6 ; //stream.indentation();\n      }\n      // skip spaces\n      if (stream.eatSpace()) {\n        return null;\n      }\n      var returnType = null;\n      switch(state.mode){\n      case \"string\": // multi-line string parsing mode\n        var next = false;\n        while ((next = stream.next()) != null) {\n          if (next == \"\\\"\" || next == \"\\'\") {\n            state.mode = false;\n            break;\n          }\n        }\n        returnType = STRING; // continue on in string mode\n        break;\n      default: // default parsing mode\n        var ch = stream.next();\n        var col = stream.column();\n        if (col >= 0 && col <= 5) {\n          returnType = COBOLLINENUM;\n        } else if (col >= 72 && col <= 79) {\n          stream.skipToEnd();\n          returnType = MODTAG;\n        } else if (ch == \"*\" && col == 6) { // comment\n          stream.skipToEnd(); // rest of the line is a comment\n          returnType = COMMENT;\n        } else if (ch == \"\\\"\" || ch == \"\\'\") {\n          state.mode = \"string\";\n          returnType = STRING;\n        } else if (ch == \"'\" && !( tests.digit_or_colon.test(stream.peek()) )) {\n          returnType = ATOM;\n        } else if (ch == \".\") {\n          returnType = PERIOD;\n        } else if (isNumber(ch,stream)){\n          returnType = NUMBER;\n        } else {\n          if (stream.current().match(tests.symbol)) {\n            while (col < 71) {\n              if (stream.eat(tests.symbol) === undefined) {\n                break;\n              } else {\n                col++;\n              }\n            }\n          }\n          if (keywords && keywords.propertyIsEnumerable(stream.current().toUpperCase())) {\n            returnType = KEYWORD;\n          } else if (builtins && builtins.propertyIsEnumerable(stream.current().toUpperCase())) {\n            returnType = BUILTIN;\n          } else if (atoms && atoms.propertyIsEnumerable(stream.current().toUpperCase())) {\n            returnType = ATOM;\n          } else returnType = null;\n        }\n      }\n      return returnType;\n    },\n    indent: function (state) {\n      if (state.indentStack == null) return state.indentation;\n      return state.indentStack.indent;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-cobol\", \"cobol\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/cobol/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: COBOL mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/neat.css\">\n<link rel=\"stylesheet\" href=\"../../theme/elegant.css\">\n<link rel=\"stylesheet\" href=\"../../theme/erlang-dark.css\">\n<link rel=\"stylesheet\" href=\"../../theme/night.css\">\n<link rel=\"stylesheet\" href=\"../../theme/monokai.css\">\n<link rel=\"stylesheet\" href=\"../../theme/cobalt.css\">\n<link rel=\"stylesheet\" href=\"../../theme/eclipse.css\">\n<link rel=\"stylesheet\" href=\"../../theme/rubyblue.css\">\n<link rel=\"stylesheet\" href=\"../../theme/lesser-dark.css\">\n<link rel=\"stylesheet\" href=\"../../theme/xq-dark.css\">\n<link rel=\"stylesheet\" href=\"../../theme/xq-light.css\">\n<link rel=\"stylesheet\" href=\"../../theme/ambiance.css\">\n<link rel=\"stylesheet\" href=\"../../theme/blackboard.css\">\n<link rel=\"stylesheet\" href=\"../../theme/vibrant-ink.css\">\n<link rel=\"stylesheet\" href=\"../../theme/solarized.css\">\n<link rel=\"stylesheet\" href=\"../../theme/twilight.css\">\n<link rel=\"stylesheet\" href=\"../../theme/midnight.css\">\n<link rel=\"stylesheet\" href=\"../../addon/dialog/dialog.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"cobol.js\"></script>\n<script src=\"../../addon/selection/active-line.js\"></script>\n<script src=\"../../addon/search/search.js\"></script>\n<script src=\"../../addon/dialog/dialog.js\"></script>\n<script src=\"../../addon/search/searchcursor.js\"></script>\n<style>\n        .CodeMirror {\n          border: 1px solid #eee;\n          font-size : 20px;\n          height : auto !important;\n        }\n        .CodeMirror-activeline-background {background: #555555 !important;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">COBOL</a>\n  </ul>\n</div>\n\n<article>\n<h2>COBOL mode</h2>\n\n    <p> Select Theme <select onchange=\"selectTheme()\" id=\"selectTheme\">\n        <option>default</option>\n        <option>ambiance</option>\n        <option>blackboard</option>\n        <option>cobalt</option>\n        <option>eclipse</option>\n        <option>elegant</option>\n        <option>erlang-dark</option>\n        <option>lesser-dark</option>\n        <option>midnight</option>\n        <option>monokai</option>\n        <option>neat</option>\n        <option>night</option>\n        <option>rubyblue</option>\n        <option>solarized dark</option>\n        <option>solarized light</option>\n        <option selected>twilight</option>\n        <option>vibrant-ink</option>\n        <option>xq-dark</option>\n        <option>xq-light</option>\n    </select>    Select Font Size <select onchange=\"selectFontsize()\" id=\"selectFontSize\">\n          <option value=\"13px\">13px</option>\n          <option value=\"14px\">14px</option>\n          <option value=\"16px\">16px</option>\n          <option value=\"18px\">18px</option>\n          <option value=\"20px\" selected=\"selected\">20px</option>\n          <option value=\"24px\">24px</option>\n          <option value=\"26px\">26px</option>\n          <option value=\"28px\">28px</option>\n          <option value=\"30px\">30px</option>\n          <option value=\"32px\">32px</option>\n          <option value=\"34px\">34px</option>\n          <option value=\"36px\">36px</option>\n        </select>\n<label for=\"checkBoxReadOnly\">Read-only</label>\n<input type=\"checkbox\" id=\"checkBoxReadOnly\" onchange=\"selectReadOnly()\">\n<label for=\"id_tabToIndentSpace\">Insert Spaces on Tab</label>\n<input type=\"checkbox\" id=\"id_tabToIndentSpace\" onchange=\"tabToIndentSpace()\">\n</p>\n<textarea id=\"code\" name=\"code\">\n---------1---------2---------3---------4---------5---------6---------7---------8\n12345678911234567892123456789312345678941234567895123456789612345678971234567898\n000010 IDENTIFICATION DIVISION.                                        MODTGHERE\n000020 PROGRAM-ID.       SAMPLE.\n000030 AUTHOR.           TEST SAM. \n000040 DATE-WRITTEN.     5 February 2013\n000041\n000042* A sample program just to show the form.\n000043* The program copies its input to the output,\n000044* and counts the number of records.\n000045* At the end this number is printed.\n000046\n000050 ENVIRONMENT DIVISION.\n000060 INPUT-OUTPUT SECTION.\n000070 FILE-CONTROL.\n000080     SELECT STUDENT-FILE     ASSIGN TO SYSIN\n000090         ORGANIZATION IS LINE SEQUENTIAL.\n000100     SELECT PRINT-FILE       ASSIGN TO SYSOUT\n000110         ORGANIZATION IS LINE SEQUENTIAL.\n000120\n000130 DATA DIVISION.\n000140 FILE SECTION.\n000150 FD  STUDENT-FILE\n000160     RECORD CONTAINS 43 CHARACTERS\n000170     DATA RECORD IS STUDENT-IN.\n000180 01  STUDENT-IN              PIC X(43).\n000190\n000200 FD  PRINT-FILE\n000210     RECORD CONTAINS 80 CHARACTERS\n000220     DATA RECORD IS PRINT-LINE.\n000230 01  PRINT-LINE              PIC X(80).\n000240\n000250 WORKING-STORAGE SECTION.\n000260 01  DATA-REMAINS-SWITCH     PIC X(2)      VALUE SPACES.\n000261 01  RECORDS-WRITTEN         PIC 99.\n000270\n000280 01  DETAIL-LINE.\n000290     05  FILLER              PIC X(7)      VALUE SPACES.\n000300     05  RECORD-IMAGE        PIC X(43).\n000310     05  FILLER              PIC X(30)     VALUE SPACES.\n000311 \n000312 01  SUMMARY-LINE.\n000313     05  FILLER              PIC X(7)      VALUE SPACES.\n000314     05  TOTAL-READ          PIC 99.\n000315     05  FILLER              PIC X         VALUE SPACE.\n000316     05  FILLER              PIC X(17)     \n000317                 VALUE  'Records were read'.\n000318     05  FILLER              PIC X(53)     VALUE SPACES.\n000319\n000320 PROCEDURE DIVISION.\n000321\n000330 PREPARE-SENIOR-REPORT.\n000340     OPEN INPUT  STUDENT-FILE\n000350          OUTPUT PRINT-FILE.\n000351     MOVE ZERO TO RECORDS-WRITTEN.\n000360     READ STUDENT-FILE\n000370         AT END MOVE 'NO' TO DATA-REMAINS-SWITCH\n000380     END-READ.\n000390     PERFORM PROCESS-RECORDS\n000410         UNTIL DATA-REMAINS-SWITCH = 'NO'.\n000411     PERFORM PRINT-SUMMARY.\n000420     CLOSE STUDENT-FILE\n000430           PRINT-FILE.\n000440     STOP RUN.\n000450\n000460 PROCESS-RECORDS.\n000470     MOVE STUDENT-IN TO RECORD-IMAGE.\n000480     MOVE DETAIL-LINE TO PRINT-LINE.\n000490     WRITE PRINT-LINE.\n000500     ADD 1 TO RECORDS-WRITTEN.\n000510     READ STUDENT-FILE\n000520         AT END MOVE 'NO' TO DATA-REMAINS-SWITCH\n000530     END-READ. \n000540\n000550 PRINT-SUMMARY.\n000560     MOVE RECORDS-WRITTEN TO TOTAL-READ.\n000570     MOVE SUMMARY-LINE TO PRINT-LINE.\n000571     WRITE PRINT-LINE. \n000572\n000580\n</textarea>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-cobol\",\n        theme : \"twilight\",\n        styleActiveLine: true,\n        showCursorWhenSelecting : true,  \n      });\n      function selectTheme() {\n        var themeInput = document.getElementById(\"selectTheme\");\n        var theme = themeInput.options[themeInput.selectedIndex].innerHTML;\n        editor.setOption(\"theme\", theme);\n      }\n      function selectFontsize() {\n        var fontSizeInput = document.getElementById(\"selectFontSize\");\n        var fontSize = fontSizeInput.options[fontSizeInput.selectedIndex].innerHTML;\n        editor.getWrapperElement().style.fontSize = fontSize;\n        editor.refresh();\n      }\n      function selectReadOnly() {\n        editor.setOption(\"readOnly\", document.getElementById(\"checkBoxReadOnly\").checked);\n      }\n      function tabToIndentSpace() {\n        if (document.getElementById(\"id_tabToIndentSpace\").checked) {\n            editor.setOption(\"extraKeys\", {Tab: function(cm) { cm.replaceSelection(\"    \", \"end\"); }});\n        } else {\n            editor.setOption(\"extraKeys\", {Tab: function(cm) { cm.replaceSelection(\"    \", \"end\"); }});\n        }\n      }\n    </script>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/coffeescript/coffeescript.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/**\n * Link to the project's GitHub page:\n * https://github.com/pickhardt/coffeescript-codemirror-mode\n */\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"coffeescript\", function(conf, parserConf) {\n  var ERRORCLASS = \"error\";\n\n  function wordRegexp(words) {\n    return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\");\n  }\n\n  var operators = /^(?:->|=>|\\+[+=]?|-[\\-=]?|\\*[\\*=]?|\\/[\\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\\|=?|\\^=?|\\~|!|\\?|(or|and|\\|\\||&&|\\?)=)/;\n  var delimiters = /^(?:[()\\[\\]{},:`=;]|\\.\\.?\\.?)/;\n  var identifiers = /^[_A-Za-z$][_A-Za-z$0-9]*/;\n  var properties = /^(@|this\\.)[_A-Za-z$][_A-Za-z$0-9]*/;\n\n  var wordOperators = wordRegexp([\"and\", \"or\", \"not\",\n                                  \"is\", \"isnt\", \"in\",\n                                  \"instanceof\", \"typeof\"]);\n  var indentKeywords = [\"for\", \"while\", \"loop\", \"if\", \"unless\", \"else\",\n                        \"switch\", \"try\", \"catch\", \"finally\", \"class\"];\n  var commonKeywords = [\"break\", \"by\", \"continue\", \"debugger\", \"delete\",\n                        \"do\", \"in\", \"of\", \"new\", \"return\", \"then\",\n                        \"this\", \"@\", \"throw\", \"when\", \"until\", \"extends\"];\n\n  var keywords = wordRegexp(indentKeywords.concat(commonKeywords));\n\n  indentKeywords = wordRegexp(indentKeywords);\n\n\n  var stringPrefixes = /^('{3}|\\\"{3}|['\\\"])/;\n  var regexPrefixes = /^(\\/{3}|\\/)/;\n  var commonConstants = [\"Infinity\", \"NaN\", \"undefined\", \"null\", \"true\", \"false\", \"on\", \"off\", \"yes\", \"no\"];\n  var constants = wordRegexp(commonConstants);\n\n  // Tokenizers\n  function tokenBase(stream, state) {\n    // Handle scope changes\n    if (stream.sol()) {\n      if (state.scope.align === null) state.scope.align = false;\n      var scopeOffset = state.scope.offset;\n      if (stream.eatSpace()) {\n        var lineOffset = stream.indentation();\n        if (lineOffset > scopeOffset && state.scope.type == \"coffee\") {\n          return \"indent\";\n        } else if (lineOffset < scopeOffset) {\n          return \"dedent\";\n        }\n        return null;\n      } else {\n        if (scopeOffset > 0) {\n          dedent(stream, state);\n        }\n      }\n    }\n    if (stream.eatSpace()) {\n      return null;\n    }\n\n    var ch = stream.peek();\n\n    // Handle docco title comment (single line)\n    if (stream.match(\"####\")) {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n\n    // Handle multi line comments\n    if (stream.match(\"###\")) {\n      state.tokenize = longComment;\n      return state.tokenize(stream, state);\n    }\n\n    // Single line comment\n    if (ch === \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n\n    // Handle number literals\n    if (stream.match(/^-?[0-9\\.]/, false)) {\n      var floatLiteral = false;\n      // Floats\n      if (stream.match(/^-?\\d*\\.\\d+(e[\\+\\-]?\\d+)?/i)) {\n        floatLiteral = true;\n      }\n      if (stream.match(/^-?\\d+\\.\\d*/)) {\n        floatLiteral = true;\n      }\n      if (stream.match(/^-?\\.\\d+/)) {\n        floatLiteral = true;\n      }\n\n      if (floatLiteral) {\n        // prevent from getting extra . on 1..\n        if (stream.peek() == \".\"){\n          stream.backUp(1);\n        }\n        return \"number\";\n      }\n      // Integers\n      var intLiteral = false;\n      // Hex\n      if (stream.match(/^-?0x[0-9a-f]+/i)) {\n        intLiteral = true;\n      }\n      // Decimal\n      if (stream.match(/^-?[1-9]\\d*(e[\\+\\-]?\\d+)?/)) {\n        intLiteral = true;\n      }\n      // Zero by itself with no other piece of number.\n      if (stream.match(/^-?0(?![\\dx])/i)) {\n        intLiteral = true;\n      }\n      if (intLiteral) {\n        return \"number\";\n      }\n    }\n\n    // Handle strings\n    if (stream.match(stringPrefixes)) {\n      state.tokenize = tokenFactory(stream.current(), false, \"string\");\n      return state.tokenize(stream, state);\n    }\n    // Handle regex literals\n    if (stream.match(regexPrefixes)) {\n      if (stream.current() != \"/\" || stream.match(/^.*\\//, false)) { // prevent highlight of division\n        state.tokenize = tokenFactory(stream.current(), true, \"string-2\");\n        return state.tokenize(stream, state);\n      } else {\n        stream.backUp(1);\n      }\n    }\n\n    // Handle operators and delimiters\n    if (stream.match(operators) || stream.match(wordOperators)) {\n      return \"operator\";\n    }\n    if (stream.match(delimiters)) {\n      return \"punctuation\";\n    }\n\n    if (stream.match(constants)) {\n      return \"atom\";\n    }\n\n    if (stream.match(keywords)) {\n      return \"keyword\";\n    }\n\n    if (stream.match(identifiers)) {\n      return \"variable\";\n    }\n\n    if (stream.match(properties)) {\n      return \"property\";\n    }\n\n    // Handle non-detected items\n    stream.next();\n    return ERRORCLASS;\n  }\n\n  function tokenFactory(delimiter, singleline, outclass) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        stream.eatWhile(/[^'\"\\/\\\\]/);\n        if (stream.eat(\"\\\\\")) {\n          stream.next();\n          if (singleline && stream.eol()) {\n            return outclass;\n          }\n        } else if (stream.match(delimiter)) {\n          state.tokenize = tokenBase;\n          return outclass;\n        } else {\n          stream.eat(/['\"\\/]/);\n        }\n      }\n      if (singleline) {\n        if (parserConf.singleLineStringErrors) {\n          outclass = ERRORCLASS;\n        } else {\n          state.tokenize = tokenBase;\n        }\n      }\n      return outclass;\n    };\n  }\n\n  function longComment(stream, state) {\n    while (!stream.eol()) {\n      stream.eatWhile(/[^#]/);\n      if (stream.match(\"###\")) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      stream.eatWhile(\"#\");\n    }\n    return \"comment\";\n  }\n\n  function indent(stream, state, type) {\n    type = type || \"coffee\";\n    var offset = 0, align = false, alignOffset = null;\n    for (var scope = state.scope; scope; scope = scope.prev) {\n      if (scope.type === \"coffee\" || scope.type == \"}\") {\n        offset = scope.offset + conf.indentUnit;\n        break;\n      }\n    }\n    if (type !== \"coffee\") {\n      align = null;\n      alignOffset = stream.column() + stream.current().length;\n    } else if (state.scope.align) {\n      state.scope.align = false;\n    }\n    state.scope = {\n      offset: offset,\n      type: type,\n      prev: state.scope,\n      align: align,\n      alignOffset: alignOffset\n    };\n  }\n\n  function dedent(stream, state) {\n    if (!state.scope.prev) return;\n    if (state.scope.type === \"coffee\") {\n      var _indent = stream.indentation();\n      var matched = false;\n      for (var scope = state.scope; scope; scope = scope.prev) {\n        if (_indent === scope.offset) {\n          matched = true;\n          break;\n        }\n      }\n      if (!matched) {\n        return true;\n      }\n      while (state.scope.prev && state.scope.offset !== _indent) {\n        state.scope = state.scope.prev;\n      }\n      return false;\n    } else {\n      state.scope = state.scope.prev;\n      return false;\n    }\n  }\n\n  function tokenLexer(stream, state) {\n    var style = state.tokenize(stream, state);\n    var current = stream.current();\n\n    // Handle \".\" connected identifiers\n    if (current === \".\") {\n      style = state.tokenize(stream, state);\n      current = stream.current();\n      if (/^\\.[\\w$]+$/.test(current)) {\n        return \"variable\";\n      } else {\n        return ERRORCLASS;\n      }\n    }\n\n    // Handle scope changes.\n    if (current === \"return\") {\n      state.dedent = true;\n    }\n    if (((current === \"->\" || current === \"=>\") &&\n         !state.lambda &&\n         !stream.peek())\n        || style === \"indent\") {\n      indent(stream, state);\n    }\n    var delimiter_index = \"[({\".indexOf(current);\n    if (delimiter_index !== -1) {\n      indent(stream, state, \"])}\".slice(delimiter_index, delimiter_index+1));\n    }\n    if (indentKeywords.exec(current)){\n      indent(stream, state);\n    }\n    if (current == \"then\"){\n      dedent(stream, state);\n    }\n\n\n    if (style === \"dedent\") {\n      if (dedent(stream, state)) {\n        return ERRORCLASS;\n      }\n    }\n    delimiter_index = \"])}\".indexOf(current);\n    if (delimiter_index !== -1) {\n      while (state.scope.type == \"coffee\" && state.scope.prev)\n        state.scope = state.scope.prev;\n      if (state.scope.type == current)\n        state.scope = state.scope.prev;\n    }\n    if (state.dedent && stream.eol()) {\n      if (state.scope.type == \"coffee\" && state.scope.prev)\n        state.scope = state.scope.prev;\n      state.dedent = false;\n    }\n\n    return style;\n  }\n\n  var external = {\n    startState: function(basecolumn) {\n      return {\n        tokenize: tokenBase,\n        scope: {offset:basecolumn || 0, type:\"coffee\", prev: null, align: false},\n        lastToken: null,\n        lambda: false,\n        dedent: 0\n      };\n    },\n\n    token: function(stream, state) {\n      var fillAlign = state.scope.align === null && state.scope;\n      if (fillAlign && stream.sol()) fillAlign.align = false;\n\n      var style = tokenLexer(stream, state);\n      if (fillAlign && style && style != \"comment\") fillAlign.align = true;\n\n      state.lastToken = {style:style, content: stream.current()};\n\n      if (stream.eol() && stream.lambda) {\n        state.lambda = false;\n      }\n\n      return style;\n    },\n\n    indent: function(state, text) {\n      if (state.tokenize != tokenBase) return 0;\n      var scope = state.scope;\n      var closer = text && \"])}\".indexOf(text.charAt(0)) > -1;\n      if (closer) while (scope.type == \"coffee\" && scope.prev) scope = scope.prev;\n      var closes = closer && scope.type === text.charAt(0);\n      if (scope.align)\n        return scope.alignOffset - (closes ? 1 : 0);\n      else\n        return (closes ? scope.prev : scope).offset;\n    },\n\n    lineComment: \"#\",\n    fold: \"indent\"\n  };\n  return external;\n});\n\nCodeMirror.defineMIME(\"text/x-coffeescript\", \"coffeescript\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/coffeescript/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: CoffeeScript mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"coffeescript.js\"></script>\n<style>.CodeMirror {border-top: 1px solid silver; border-bottom: 1px solid silver;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">CoffeeScript</a>\n  </ul>\n</div>\n\n<article>\n<h2>CoffeeScript mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# CoffeeScript mode for CodeMirror\n# Copyright (c) 2011 Jeff Pickhardt, released under\n# the MIT License.\n#\n# Modified from the Python CodeMirror mode, which also is \n# under the MIT License Copyright (c) 2010 Timothy Farrell.\n#\n# The following script, Underscore.coffee, is used to \n# demonstrate CoffeeScript mode for CodeMirror.\n#\n# To download CoffeeScript mode for CodeMirror, go to:\n# https://github.com/pickhardt/coffeescript-codemirror-mode\n\n# **Underscore.coffee\n# (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.**\n# Underscore is freely distributable under the terms of the\n# [MIT license](http://en.wikipedia.org/wiki/MIT_License).\n# Portions of Underscore are inspired by or borrowed from\n# [Prototype.js](http://prototypejs.org/api), Oliver Steele's\n# [Functional](http://osteele.com), and John Resig's\n# [Micro-Templating](http://ejohn.org).\n# For all details and documentation:\n# http://documentcloud.github.com/underscore/\n\n\n# Baseline setup\n# --------------\n\n# Establish the root object, `window` in the browser, or `global` on the server.\nroot = this\n\n\n# Save the previous value of the `_` variable.\npreviousUnderscore = root._\n\n### Multiline\n    comment\n###\n\n# Establish the object that gets thrown to break out of a loop iteration.\n# `StopIteration` is SOP on Mozilla.\nbreaker = if typeof(StopIteration) is 'undefined' then '__break__' else StopIteration\n\n\n#### Docco style single line comment (title)\n\n\n# Helper function to escape **RegExp** contents, because JS doesn't have one.\nescapeRegExp = (string) -> string.replace(/([.*+?^${}()|[\\]\\/\\\\])/g, '\\\\$1')\n\n\n# Save bytes in the minified (but not gzipped) version:\nArrayProto = Array.prototype\nObjProto = Object.prototype\n\n\n# Create quick reference variables for speed access to core prototypes.\nslice = ArrayProto.slice\nunshift = ArrayProto.unshift\ntoString = ObjProto.toString\nhasOwnProperty = ObjProto.hasOwnProperty\npropertyIsEnumerable = ObjProto.propertyIsEnumerable\n\n\n# All **ECMA5** native implementations we hope to use are declared here.\nnativeForEach = ArrayProto.forEach\nnativeMap = ArrayProto.map\nnativeReduce = ArrayProto.reduce\nnativeReduceRight = ArrayProto.reduceRight\nnativeFilter = ArrayProto.filter\nnativeEvery = ArrayProto.every\nnativeSome = ArrayProto.some\nnativeIndexOf = ArrayProto.indexOf\nnativeLastIndexOf = ArrayProto.lastIndexOf\nnativeIsArray = Array.isArray\nnativeKeys = Object.keys\n\n\n# Create a safe reference to the Underscore object for use below.\n_ = (obj) -> new wrapper(obj)\n\n\n# Export the Underscore object for **CommonJS**.\nif typeof(exports) != 'undefined' then exports._ = _\n\n\n# Export Underscore to global scope.\nroot._ = _\n\n\n# Current version.\n_.VERSION = '1.1.0'\n\n\n# Collection Functions\n# --------------------\n\n# The cornerstone, an **each** implementation.\n# Handles objects implementing **forEach**, arrays, and raw objects.\n_.each = (obj, iterator, context) ->\n  try\n    if nativeForEach and obj.forEach is nativeForEach\n      obj.forEach iterator, context\n    else if _.isNumber obj.length\n      iterator.call context, obj[i], i, obj for i in [0...obj.length]\n    else\n      iterator.call context, val, key, obj for own key, val of obj\n  catch e\n    throw e if e isnt breaker\n  obj\n\n\n# Return the results of applying the iterator to each element. Use JavaScript\n# 1.6's version of **map**, if possible.\n_.map = (obj, iterator, context) ->\n  return obj.map(iterator, context) if nativeMap and obj.map is nativeMap\n  results = []\n  _.each obj, (value, index, list) ->\n    results.push iterator.call context, value, index, list\n  results\n\n\n# **Reduce** builds up a single result from a list of values. Also known as\n# **inject**, or **foldl**. Uses JavaScript 1.8's version of **reduce**, if possible.\n_.reduce = (obj, iterator, memo, context) ->\n  if nativeReduce and obj.reduce is nativeReduce\n    iterator = _.bind iterator, context if context\n    return obj.reduce iterator, memo\n  _.each obj, (value, index, list) ->\n    memo = iterator.call context, memo, value, index, list\n  memo\n\n\n# The right-associative version of **reduce**, also known as **foldr**. Uses\n# JavaScript 1.8's version of **reduceRight**, if available.\n_.reduceRight = (obj, iterator, memo, context) ->\n  if nativeReduceRight and obj.reduceRight is nativeReduceRight\n    iterator = _.bind iterator, context if context\n    return obj.reduceRight iterator, memo\n  reversed = _.clone(_.toArray(obj)).reverse()\n  _.reduce reversed, iterator, memo, context\n\n\n# Return the first value which passes a truth test.\n_.detect = (obj, iterator, context) ->\n  result = null\n  _.each obj, (value, index, list) ->\n    if iterator.call context, value, index, list\n      result = value\n      _.breakLoop()\n  result\n\n\n# Return all the elements that pass a truth test. Use JavaScript 1.6's\n# **filter**, if it exists.\n_.filter = (obj, iterator, context) ->\n  return obj.filter iterator, context if nativeFilter and obj.filter is nativeFilter\n  results = []\n  _.each obj, (value, index, list) ->\n    results.push value if iterator.call context, value, index, list\n  results\n\n\n# Return all the elements for which a truth test fails.\n_.reject = (obj, iterator, context) ->\n  results = []\n  _.each obj, (value, index, list) ->\n    results.push value if not iterator.call context, value, index, list\n  results\n\n\n# Determine whether all of the elements match a truth test. Delegate to\n# JavaScript 1.6's **every**, if it is present.\n_.every = (obj, iterator, context) ->\n  iterator ||= _.identity\n  return obj.every iterator, context if nativeEvery and obj.every is nativeEvery\n  result = true\n  _.each obj, (value, index, list) ->\n    _.breakLoop() unless (result = result and iterator.call(context, value, index, list))\n  result\n\n\n# Determine if at least one element in the object matches a truth test. Use\n# JavaScript 1.6's **some**, if it exists.\n_.some = (obj, iterator, context) ->\n  iterator ||= _.identity\n  return obj.some iterator, context if nativeSome and obj.some is nativeSome\n  result = false\n  _.each obj, (value, index, list) ->\n    _.breakLoop() if (result = iterator.call(context, value, index, list))\n  result\n\n\n# Determine if a given value is included in the array or object,\n# based on `===`.\n_.include = (obj, target) ->\n  return _.indexOf(obj, target) isnt -1 if nativeIndexOf and obj.indexOf is nativeIndexOf\n  return true for own key, val of obj when val is target\n  false\n\n\n# Invoke a method with arguments on every item in a collection.\n_.invoke = (obj, method) ->\n  args = _.rest arguments, 2\n  (if method then val[method] else val).apply(val, args) for val in obj\n\n\n# Convenience version of a common use case of **map**: fetching a property.\n_.pluck = (obj, key) ->\n  _.map(obj, (val) -> val[key])\n\n\n# Return the maximum item or (item-based computation).\n_.max = (obj, iterator, context) ->\n  return Math.max.apply(Math, obj) if not iterator and _.isArray(obj)\n  result = computed: -Infinity\n  _.each obj, (value, index, list) ->\n    computed = if iterator then iterator.call(context, value, index, list) else value\n    computed >= result.computed and (result = {value: value, computed: computed})\n  result.value\n\n\n# Return the minimum element (or element-based computation).\n_.min = (obj, iterator, context) ->\n  return Math.min.apply(Math, obj) if not iterator and _.isArray(obj)\n  result = computed: Infinity\n  _.each obj, (value, index, list) ->\n    computed = if iterator then iterator.call(context, value, index, list) else value\n    computed < result.computed and (result = {value: value, computed: computed})\n  result.value\n\n\n# Sort the object's values by a criterion produced by an iterator.\n_.sortBy = (obj, iterator, context) ->\n  _.pluck(((_.map obj, (value, index, list) ->\n    {value: value, criteria: iterator.call(context, value, index, list)}\n  ).sort((left, right) ->\n    a = left.criteria; b = right.criteria\n    if a < b then -1 else if a > b then 1 else 0\n  )), 'value')\n\n\n# Use a comparator function to figure out at what index an object should\n# be inserted so as to maintain order. Uses binary search.\n_.sortedIndex = (array, obj, iterator) ->\n  iterator ||= _.identity\n  low = 0\n  high = array.length\n  while low < high\n    mid = (low + high) >> 1\n    if iterator(array[mid]) < iterator(obj) then low = mid + 1 else high = mid\n  low\n\n\n# Convert anything iterable into a real, live array.\n_.toArray = (iterable) ->\n  return [] if (!iterable)\n  return iterable.toArray() if (iterable.toArray)\n  return iterable if (_.isArray(iterable))\n  return slice.call(iterable) if (_.isArguments(iterable))\n  _.values(iterable)\n\n\n# Return the number of elements in an object.\n_.size = (obj) -> _.toArray(obj).length\n\n\n# Array Functions\n# ---------------\n\n# Get the first element of an array. Passing `n` will return the first N\n# values in the array. Aliased as **head**. The `guard` check allows it to work\n# with **map**.\n_.first = (array, n, guard) ->\n  if n and not guard then slice.call(array, 0, n) else array[0]\n\n\n# Returns everything but the first entry of the array. Aliased as **tail**.\n# Especially useful on the arguments object. Passing an `index` will return\n# the rest of the values in the array from that index onward. The `guard`\n# check allows it to work with **map**.\n_.rest = (array, index, guard) ->\n  slice.call(array, if _.isUndefined(index) or guard then 1 else index)\n\n\n# Get the last element of an array.\n_.last = (array) -> array[array.length - 1]\n\n\n# Trim out all falsy values from an array.\n_.compact = (array) -> item for item in array when item\n\n\n# Return a completely flattened version of an array.\n_.flatten = (array) ->\n  _.reduce array, (memo, value) ->\n    return memo.concat(_.flatten(value)) if _.isArray value\n    memo.push value\n    memo\n  , []\n\n\n# Return a version of the array that does not contain the specified value(s).\n_.without = (array) ->\n  values = _.rest arguments\n  val for val in _.toArray(array) when not _.include values, val\n\n\n# Produce a duplicate-free version of the array. If the array has already\n# been sorted, you have the option of using a faster algorithm.\n_.uniq = (array, isSorted) ->\n  memo = []\n  for el, i in _.toArray array\n    memo.push el if i is 0 || (if isSorted is true then _.last(memo) isnt el else not _.include(memo, el))\n  memo\n\n\n# Produce an array that contains every item shared between all the\n# passed-in arrays.\n_.intersect = (array) ->\n  rest = _.rest arguments\n  _.select _.uniq(array), (item) ->\n    _.all rest, (other) ->\n      _.indexOf(other, item) >= 0\n\n\n# Zip together multiple lists into a single array -- elements that share\n# an index go together.\n_.zip = ->\n  length = _.max _.pluck arguments, 'length'\n  results = new Array length\n  for i in [0...length]\n    results[i] = _.pluck arguments, String i\n  results\n\n\n# If the browser doesn't supply us with **indexOf** (I'm looking at you, MSIE),\n# we need this function. Return the position of the first occurrence of an\n# item in an array, or -1 if the item is not included in the array.\n_.indexOf = (array, item) ->\n  return array.indexOf item if nativeIndexOf and array.indexOf is nativeIndexOf\n  i = 0; l = array.length\n  while l - i\n    if array[i] is item then return i else i++\n  -1\n\n\n# Provide JavaScript 1.6's **lastIndexOf**, delegating to the native function,\n# if possible.\n_.lastIndexOf = (array, item) ->\n  return array.lastIndexOf(item) if nativeLastIndexOf and array.lastIndexOf is nativeLastIndexOf\n  i = array.length\n  while i\n    if array[i] is item then return i else i--\n  -1\n\n\n# Generate an integer Array containing an arithmetic progression. A port of\n# [the native Python **range** function](http://docs.python.org/library/functions.html#range).\n_.range = (start, stop, step) ->\n  a = arguments\n  solo = a.length <= 1\n  i = start = if solo then 0 else a[0]\n  stop = if solo then a[0] else a[1]\n  step = a[2] or 1\n  len = Math.ceil((stop - start) / step)\n  return [] if len <= 0\n  range = new Array len\n  idx = 0\n  loop\n    return range if (if step > 0 then i - stop else stop - i) >= 0\n    range[idx] = i\n    idx++\n    i+= step\n\n\n# Function Functions\n# ------------------\n\n# Create a function bound to a given object (assigning `this`, and arguments,\n# optionally). Binding with arguments is also known as **curry**.\n_.bind = (func, obj) ->\n  args = _.rest arguments, 2\n  -> func.apply obj or root, args.concat arguments\n\n\n# Bind all of an object's methods to that object. Useful for ensuring that\n# all callbacks defined on an object belong to it.\n_.bindAll = (obj) ->\n  funcs = if arguments.length > 1 then _.rest(arguments) else _.functions(obj)\n  _.each funcs, (f) -> obj[f] = _.bind obj[f], obj\n  obj\n\n\n# Delays a function for the given number of milliseconds, and then calls\n# it with the arguments supplied.\n_.delay = (func, wait) ->\n  args = _.rest arguments, 2\n  setTimeout((-> func.apply(func, args)), wait)\n\n\n# Memoize an expensive function by storing its results.\n_.memoize = (func, hasher) ->\n  memo = {}\n  hasher or= _.identity\n  ->\n    key = hasher.apply this, arguments\n    return memo[key] if key of memo\n    memo[key] = func.apply this, arguments\n\n\n# Defers a function, scheduling it to run after the current call stack has\n# cleared.\n_.defer = (func) ->\n  _.delay.apply _, [func, 1].concat _.rest arguments\n\n\n# Returns the first function passed as an argument to the second,\n# allowing you to adjust arguments, run code before and after, and\n# conditionally execute the original function.\n_.wrap = (func, wrapper) ->\n  -> wrapper.apply wrapper, [func].concat arguments\n\n\n# Returns a function that is the composition of a list of functions, each\n# consuming the return value of the function that follows.\n_.compose = ->\n  funcs = arguments\n  ->\n    args = arguments\n    for i in [funcs.length - 1..0] by -1\n      args = [funcs[i].apply(this, args)]\n    args[0]\n\n\n# Object Functions\n# ----------------\n\n# Retrieve the names of an object's properties.\n_.keys = nativeKeys or (obj) ->\n  return _.range 0, obj.length if _.isArray(obj)\n  key for key, val of obj\n\n\n# Retrieve the values of an object's properties.\n_.values = (obj) ->\n  _.map obj, _.identity\n\n\n# Return a sorted list of the function names available in Underscore.\n_.functions = (obj) ->\n  _.filter(_.keys(obj), (key) -> _.isFunction(obj[key])).sort()\n\n\n# Extend a given object with all of the properties in a source object.\n_.extend = (obj) ->\n  for source in _.rest(arguments)\n    obj[key] = val for key, val of source\n  obj\n\n\n# Create a (shallow-cloned) duplicate of an object.\n_.clone = (obj) ->\n  return obj.slice 0 if _.isArray obj\n  _.extend {}, obj\n\n\n# Invokes interceptor with the obj, and then returns obj.\n# The primary purpose of this method is to \"tap into\" a method chain,\n# in order to perform operations on intermediate results within\n the chain.\n_.tap = (obj, interceptor) ->\n  interceptor obj\n  obj\n\n\n# Perform a deep comparison to check if two objects are equal.\n_.isEqual = (a, b) ->\n  # Check object identity.\n  return true if a is b\n  # Different types?\n  atype = typeof(a); btype = typeof(b)\n  return false if atype isnt btype\n  # Basic equality test (watch out for coercions).\n  return true if `a == b`\n  # One is falsy and the other truthy.\n  return false if (!a and b) or (a and !b)\n  # One of them implements an `isEqual()`?\n  return a.isEqual(b) if a.isEqual\n  # Check dates' integer values.\n  return a.getTime() is b.getTime() if _.isDate(a) and _.isDate(b)\n  # Both are NaN?\n  return false if _.isNaN(a) and _.isNaN(b)\n  # Compare regular expressions.\n  if _.isRegExp(a) and _.isRegExp(b)\n    return a.source is b.source and\n           a.global is b.global and\n           a.ignoreCase is b.ignoreCase and\n           a.multiline is b.multiline\n  # If a is not an object by this point, we can't handle it.\n  return false if atype isnt 'object'\n  # Check for different array lengths before comparing contents.\n  return false if a.length and (a.length isnt b.length)\n  # Nothing else worked, deep compare the contents.\n  aKeys = _.keys(a); bKeys = _.keys(b)\n  # Different object sizes?\n  return false if aKeys.length isnt bKeys.length\n  # Recursive comparison of contents.\n  return false for key, val of a when !(key of b) or !_.isEqual(val, b[key])\n  true\n\n\n# Is a given array or object empty?\n_.isEmpty = (obj) ->\n  return obj.length is 0 if _.isArray(obj) or _.isString(obj)\n  return false for own key of obj\n  true\n\n\n# Is a given value a DOM element?\n_.isElement = (obj) -> obj and obj.nodeType is 1\n\n\n# Is a given value an array?\n_.isArray = nativeIsArray or (obj) -> !!(obj and obj.concat and obj.unshift and not obj.callee)\n\n\n# Is a given variable an arguments object?\n_.isArguments = (obj) -> obj and obj.callee\n\n\n# Is the given value a function?\n_.isFunction = (obj) -> !!(obj and obj.constructor and obj.call and obj.apply)\n\n\n# Is the given value a string?\n_.isString = (obj) -> !!(obj is '' or (obj and obj.charCodeAt and obj.substr))\n\n\n# Is a given value a number?\n_.isNumber = (obj) -> (obj is +obj) or toString.call(obj) is '[object Number]'\n\n\n# Is a given value a boolean?\n_.isBoolean = (obj) -> obj is true or obj is false\n\n\n# Is a given value a Date?\n_.isDate = (obj) -> !!(obj and obj.getTimezoneOffset and obj.setUTCFullYear)\n\n\n# Is the given value a regular expression?\n_.isRegExp = (obj) -> !!(obj and obj.exec and (obj.ignoreCase or obj.ignoreCase is false))\n\n\n# Is the given value NaN -- this one is interesting. `NaN != NaN`, and\n# `isNaN(undefined) == true`, so we make sure it's a number first.\n_.isNaN = (obj) -> _.isNumber(obj) and window.isNaN(obj)\n\n\n# Is a given value equal to null?\n_.isNull = (obj) -> obj is null\n\n\n# Is a given variable undefined?\n_.isUndefined = (obj) -> typeof obj is 'undefined'\n\n\n# Utility Functions\n# -----------------\n\n# Run Underscore.js in noConflict mode, returning the `_` variable to its\n# previous owner. Returns a reference to the Underscore object.\n_.noConflict = ->\n  root._ = previousUnderscore\n  this\n\n\n# Keep the identity function around for default iterators.\n_.identity = (value) -> value\n\n\n# Run a function `n` times.\n_.times = (n, iterator, context) ->\n  iterator.call context, i for i in [0...n]\n\n\n# Break out of the middle of an iteration.\n_.breakLoop = -> throw breaker\n\n\n# Add your own custom functions to the Underscore object, ensuring that\n# they're correctly added to the OOP wrapper as well.\n_.mixin = (obj) ->\n  for name in _.functions(obj)\n    addToWrapper name, _[name] = obj[name]\n\n\n# Generate a unique integer id (unique within the entire client session).\n# Useful for temporary DOM ids.\nidCounter = 0\n_.uniqueId = (prefix) ->\n  (prefix or '') + idCounter++\n\n\n# By default, Underscore uses **ERB**-style template delimiters, change the\n# following template settings to use alternative delimiters.\n_.templateSettings = {\n  start: '<%'\n  end: '%>'\n  interpolate: /<%=(.+?)%>/g\n}\n\n\n# JavaScript templating a-la **ERB**, pilfered from John Resig's\n# *Secrets of the JavaScript Ninja*, page 83.\n# Single-quote fix from Rick Strahl.\n# With alterations for arbitrary delimiters, and to preserve whitespace.\n_.template = (str, data) ->\n  c = _.templateSettings\n  endMatch = new RegExp(\"'(?=[^\"+c.end.substr(0, 1)+\"]*\"+escapeRegExp(c.end)+\")\",\"g\")\n  fn = new Function 'obj',\n    'var p=[],print=function(){p.push.apply(p,arguments);};' +\n    'with(obj||{}){p.push(\\'' +\n    str.replace(/\\r/g, '\\\\r')\n       .replace(/\\n/g, '\\\\n')\n       .replace(/\\t/g, '\\\\t')\n       .replace(endMatch,\"���\")\n       .split(\"'\").join(\"\\\\'\")\n       .split(\"���\").join(\"'\")\n       .replace(c.interpolate, \"',$1,'\")\n       .split(c.start).join(\"');\")\n       .split(c.end).join(\"p.push('\") +\n       \"');}return p.join('');\"\n  if data then fn(data) else fn\n\n\n# Aliases\n# -------\n\n_.forEach = _.each\n_.foldl = _.inject = _.reduce\n_.foldr = _.reduceRight\n_.select = _.filter\n_.all = _.every\n_.any = _.some\n_.contains = _.include\n_.head = _.first\n_.tail = _.rest\n_.methods = _.functions\n\n\n# Setup the OOP Wrapper\n# ---------------------\n\n# If Underscore is called as a function, it returns a wrapped object that\n# can be used OO-style. This wrapper holds altered versions of all the\n# underscore functions. Wrapped objects may be chained.\nwrapper = (obj) ->\n  this._wrapped = obj\n  this\n\n\n# Helper function to continue chaining intermediate results.\nresult = (obj, chain) ->\n  if chain then _(obj).chain() else obj\n\n\n# A method to easily add functions to the OOP wrapper.\naddToWrapper = (name, func) ->\n  wrapper.prototype[name] = ->\n    args = _.toArray arguments\n    unshift.call args, this._wrapped\n    result func.apply(_, args), this._chain\n\n\n# Add all ofthe Underscore functions to the wrapper object.\n_.mixin _\n\n\n# Add all mutator Array functions to the wrapper.\n_.each ['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], (name) ->\n  method = Array.prototype[name]\n  wrapper.prototype[name] = ->\n    method.apply(this._wrapped, arguments)\n    result(this._wrapped, this._chain)\n\n\n# Add all accessor Array functions to the wrapper.\n_.each ['concat', 'join', 'slice'], (name) ->\n  method = Array.prototype[name]\n  wrapper.prototype[name] = ->\n    result(method.apply(this._wrapped, arguments), this._chain)\n\n\n# Start chaining a wrapped Underscore object.\nwrapper::chain = ->\n  this._chain = true\n  this\n\n\n# Extracts the result from a wrapped and chained object.\nwrapper::value = -> this._wrapped\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-coffeescript</code>.</p>\n\n    <p>The CoffeeScript mode was written by Jeff Pickhardt.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/commonlisp/commonlisp.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"commonlisp\", function (config) {\n  var specialForm = /^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/;\n  var assumeBody = /^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/;\n  var numLiteral = /^(?:[+\\-]?(?:\\d+|\\d*\\.\\d+)(?:[efd][+\\-]?\\d+)?|[+\\-]?\\d+(?:\\/[+\\-]?\\d+)?|#b[+\\-]?[01]+|#o[+\\-]?[0-7]+|#x[+\\-]?[\\da-f]+)/;\n  var symbol = /[^\\s'`,@()\\[\\]\";]/;\n  var type;\n\n  function readSym(stream) {\n    var ch;\n    while (ch = stream.next()) {\n      if (ch == \"\\\\\") stream.next();\n      else if (!symbol.test(ch)) { stream.backUp(1); break; }\n    }\n    return stream.current();\n  }\n\n  function base(stream, state) {\n    if (stream.eatSpace()) {type = \"ws\"; return null;}\n    if (stream.match(numLiteral)) return \"number\";\n    var ch = stream.next();\n    if (ch == \"\\\\\") ch = stream.next();\n\n    if (ch == '\"') return (state.tokenize = inString)(stream, state);\n    else if (ch == \"(\") { type = \"open\"; return \"bracket\"; }\n    else if (ch == \")\" || ch == \"]\") { type = \"close\"; return \"bracket\"; }\n    else if (ch == \";\") { stream.skipToEnd(); type = \"ws\"; return \"comment\"; }\n    else if (/['`,@]/.test(ch)) return null;\n    else if (ch == \"|\") {\n      if (stream.skipTo(\"|\")) { stream.next(); return \"symbol\"; }\n      else { stream.skipToEnd(); return \"error\"; }\n    } else if (ch == \"#\") {\n      var ch = stream.next();\n      if (ch == \"[\") { type = \"open\"; return \"bracket\"; }\n      else if (/[+\\-=\\.']/.test(ch)) return null;\n      else if (/\\d/.test(ch) && stream.match(/^\\d*#/)) return null;\n      else if (ch == \"|\") return (state.tokenize = inComment)(stream, state);\n      else if (ch == \":\") { readSym(stream); return \"meta\"; }\n      else return \"error\";\n    } else {\n      var name = readSym(stream);\n      if (name == \".\") return null;\n      type = \"symbol\";\n      if (name == \"nil\" || name == \"t\" || name.charAt(0) == \":\") return \"atom\";\n      if (state.lastType == \"open\" && (specialForm.test(name) || assumeBody.test(name))) return \"keyword\";\n      if (name.charAt(0) == \"&\") return \"variable-2\";\n      return \"variable\";\n    }\n  }\n\n  function inString(stream, state) {\n    var escaped = false, next;\n    while (next = stream.next()) {\n      if (next == '\"' && !escaped) { state.tokenize = base; break; }\n      escaped = !escaped && next == \"\\\\\";\n    }\n    return \"string\";\n  }\n\n  function inComment(stream, state) {\n    var next, last;\n    while (next = stream.next()) {\n      if (next == \"#\" && last == \"|\") { state.tokenize = base; break; }\n      last = next;\n    }\n    type = \"ws\";\n    return \"comment\";\n  }\n\n  return {\n    startState: function () {\n      return {ctx: {prev: null, start: 0, indentTo: 0}, lastType: null, tokenize: base};\n    },\n\n    token: function (stream, state) {\n      if (stream.sol() && typeof state.ctx.indentTo != \"number\")\n        state.ctx.indentTo = state.ctx.start + 1;\n\n      type = null;\n      var style = state.tokenize(stream, state);\n      if (type != \"ws\") {\n        if (state.ctx.indentTo == null) {\n          if (type == \"symbol\" && assumeBody.test(stream.current()))\n            state.ctx.indentTo = state.ctx.start + config.indentUnit;\n          else\n            state.ctx.indentTo = \"next\";\n        } else if (state.ctx.indentTo == \"next\") {\n          state.ctx.indentTo = stream.column();\n        }\n        state.lastType = type;\n      }\n      if (type == \"open\") state.ctx = {prev: state.ctx, start: stream.column(), indentTo: null};\n      else if (type == \"close\") state.ctx = state.ctx.prev || state.ctx;\n      return style;\n    },\n\n    indent: function (state, _textAfter) {\n      var i = state.ctx.indentTo;\n      return typeof i == \"number\" ? i : state.ctx.start + 1;\n    },\n\n    lineComment: \";;\",\n    blockCommentStart: \"#|\",\n    blockCommentEnd: \"|#\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-common-lisp\", \"commonlisp\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/commonlisp/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Common Lisp mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"commonlisp.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Common Lisp</a>\n  </ul>\n</div>\n\n<article>\n<h2>Common Lisp mode</h2>\n<form><textarea id=\"code\" name=\"code\">(in-package :cl-postgres)\n\n;; These are used to synthesize reader and writer names for integer\n;; reading/writing functions when the amount of bytes and the\n;; signedness is known. Both the macro that creates the functions and\n;; some macros that use them create names this way.\n(eval-when (:compile-toplevel :load-toplevel :execute)\n  (defun integer-reader-name (bytes signed)\n    (intern (with-standard-io-syntax\n              (format nil \"~a~a~a~a\" '#:read- (if signed \"\" '#:u) '#:int bytes))))\n  (defun integer-writer-name (bytes signed)\n    (intern (with-standard-io-syntax\n              (format nil \"~a~a~a~a\" '#:write- (if signed \"\" '#:u) '#:int bytes)))))\n\n(defmacro integer-reader (bytes)\n  \"Create a function to read integers from a binary stream.\"\n  (let ((bits (* bytes 8)))\n    (labels ((return-form (signed)\n               (if signed\n                   `(if (logbitp ,(1- bits) result)\n                        (dpb result (byte ,(1- bits) 0) -1)\n                        result)\n                   `result))\n             (generate-reader (signed)\n               `(defun ,(integer-reader-name bytes signed) (socket)\n                  (declare (type stream socket)\n                           #.*optimize*)\n                  ,(if (= bytes 1)\n                       `(let ((result (the (unsigned-byte 8) (read-byte socket))))\n                          (declare (type (unsigned-byte 8) result))\n                          ,(return-form signed))\n                       `(let ((result 0))\n                          (declare (type (unsigned-byte ,bits) result))\n                          ,@(loop :for byte :from (1- bytes) :downto 0\n                                   :collect `(setf (ldb (byte 8 ,(* 8 byte)) result)\n                                                   (the (unsigned-byte 8) (read-byte socket))))\n                          ,(return-form signed))))))\n      `(progn\n;; This causes weird errors on SBCL in some circumstances. Disabled for now.\n;;         (declaim (inline ,(integer-reader-name bytes t)\n;;                          ,(integer-reader-name bytes nil)))\n         (declaim (ftype (function (t) (signed-byte ,bits))\n                         ,(integer-reader-name bytes t)))\n         ,(generate-reader t)\n         (declaim (ftype (function (t) (unsigned-byte ,bits))\n                         ,(integer-reader-name bytes nil)))\n         ,(generate-reader nil)))))\n\n(defmacro integer-writer (bytes)\n  \"Create a function to write integers to a binary stream.\"\n  (let ((bits (* 8 bytes)))\n    `(progn\n      (declaim (inline ,(integer-writer-name bytes t)\n                       ,(integer-writer-name bytes nil)))\n      (defun ,(integer-writer-name bytes nil) (socket value)\n        (declare (type stream socket)\n                 (type (unsigned-byte ,bits) value)\n                 #.*optimize*)\n        ,@(if (= bytes 1)\n              `((write-byte value socket))\n              (loop :for byte :from (1- bytes) :downto 0\n                    :collect `(write-byte (ldb (byte 8 ,(* byte 8)) value)\n                               socket)))\n        (values))\n      (defun ,(integer-writer-name bytes t) (socket value)\n        (declare (type stream socket)\n                 (type (signed-byte ,bits) value)\n                 #.*optimize*)\n        ,@(if (= bytes 1)\n              `((write-byte (ldb (byte 8 0) value) socket))\n              (loop :for byte :from (1- bytes) :downto 0\n                    :collect `(write-byte (ldb (byte 8 ,(* byte 8)) value)\n                               socket)))\n        (values)))))\n\n;; All the instances of the above that we need.\n\n(integer-reader 1)\n(integer-reader 2)\n(integer-reader 4)\n(integer-reader 8)\n\n(integer-writer 1)\n(integer-writer 2)\n(integer-writer 4)\n\n(defun write-bytes (socket bytes)\n  \"Write a byte-array to a stream.\"\n  (declare (type stream socket)\n           (type (simple-array (unsigned-byte 8)) bytes)\n           #.*optimize*)\n  (write-sequence bytes socket))\n\n(defun write-str (socket string)\n  \"Write a null-terminated string to a stream \\(encoding it when UTF-8\nsupport is enabled.).\"\n  (declare (type stream socket)\n           (type string string)\n           #.*optimize*)\n  (enc-write-string string socket)\n  (write-uint1 socket 0))\n\n(declaim (ftype (function (t unsigned-byte)\n                          (simple-array (unsigned-byte 8) (*)))\n                read-bytes))\n(defun read-bytes (socket length)\n  \"Read a byte array of the given length from a stream.\"\n  (declare (type stream socket)\n           (type fixnum length)\n           #.*optimize*)\n  (let ((result (make-array length :element-type '(unsigned-byte 8))))\n    (read-sequence result socket)\n    result))\n\n(declaim (ftype (function (t) string) read-str))\n(defun read-str (socket)\n  \"Read a null-terminated string from a stream. Takes care of encoding\nwhen UTF-8 support is enabled.\"\n  (declare (type stream socket)\n           #.*optimize*)\n  (enc-read-string socket :null-terminated t))\n\n(defun skip-bytes (socket length)\n  \"Skip a given number of bytes in a binary stream.\"\n  (declare (type stream socket)\n           (type (unsigned-byte 32) length)\n           #.*optimize*)\n  (dotimes (i length)\n    (read-byte socket)))\n\n(defun skip-str (socket)\n  \"Skip a null-terminated string.\"\n  (declare (type stream socket)\n           #.*optimize*)\n  (loop :for char :of-type fixnum = (read-byte socket)\n        :until (zerop char)))\n\n(defun ensure-socket-is-closed (socket &amp;key abort)\n  (when (open-stream-p socket)\n    (handler-case\n        (close socket :abort abort)\n      (error (error)\n        (warn \"Ignoring the error which happened while trying to close PostgreSQL socket: ~A\" error)))))\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {lineNumbers: true});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-common-lisp</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/css/css.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"css\", function(config, parserConfig) {\n  if (!parserConfig.propertyKeywords) parserConfig = CodeMirror.resolveMode(\"text/css\");\n\n  var indentUnit = config.indentUnit,\n      tokenHooks = parserConfig.tokenHooks,\n      documentTypes = parserConfig.documentTypes || {},\n      mediaTypes = parserConfig.mediaTypes || {},\n      mediaFeatures = parserConfig.mediaFeatures || {},\n      propertyKeywords = parserConfig.propertyKeywords || {},\n      nonStandardPropertyKeywords = parserConfig.nonStandardPropertyKeywords || {},\n      fontProperties = parserConfig.fontProperties || {},\n      counterDescriptors = parserConfig.counterDescriptors || {},\n      colorKeywords = parserConfig.colorKeywords || {},\n      valueKeywords = parserConfig.valueKeywords || {},\n      allowNested = parserConfig.allowNested;\n\n  var type, override;\n  function ret(style, tp) { type = tp; return style; }\n\n  // Tokenizers\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (tokenHooks[ch]) {\n      var result = tokenHooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n    if (ch == \"@\") {\n      stream.eatWhile(/[\\w\\\\\\-]/);\n      return ret(\"def\", stream.current());\n    } else if (ch == \"=\" || (ch == \"~\" || ch == \"|\") && stream.eat(\"=\")) {\n      return ret(null, \"compare\");\n    } else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    } else if (ch == \"#\") {\n      stream.eatWhile(/[\\w\\\\\\-]/);\n      return ret(\"atom\", \"hash\");\n    } else if (ch == \"!\") {\n      stream.match(/^\\s*\\w*/);\n      return ret(\"keyword\", \"important\");\n    } else if (/\\d/.test(ch) || ch == \".\" && stream.eat(/\\d/)) {\n      stream.eatWhile(/[\\w.%]/);\n      return ret(\"number\", \"unit\");\n    } else if (ch === \"-\") {\n      if (/[\\d.]/.test(stream.peek())) {\n        stream.eatWhile(/[\\w.%]/);\n        return ret(\"number\", \"unit\");\n      } else if (stream.match(/^-[\\w\\\\\\-]+/)) {\n        stream.eatWhile(/[\\w\\\\\\-]/);\n        if (stream.match(/^\\s*:/, false))\n          return ret(\"variable-2\", \"variable-definition\");\n        return ret(\"variable-2\", \"variable\");\n      } else if (stream.match(/^\\w+-/)) {\n        return ret(\"meta\", \"meta\");\n      }\n    } else if (/[,+>*\\/]/.test(ch)) {\n      return ret(null, \"select-op\");\n    } else if (ch == \".\" && stream.match(/^-?[_a-z][_a-z0-9-]*/i)) {\n      return ret(\"qualifier\", \"qualifier\");\n    } else if (/[:;{}\\[\\]\\(\\)]/.test(ch)) {\n      return ret(null, ch);\n    } else if ((ch == \"u\" && stream.match(/rl(-prefix)?\\(/)) ||\n               (ch == \"d\" && stream.match(\"omain(\")) ||\n               (ch == \"r\" && stream.match(\"egexp(\"))) {\n      stream.backUp(1);\n      state.tokenize = tokenParenthesized;\n      return ret(\"property\", \"word\");\n    } else if (/[\\w\\\\\\-]/.test(ch)) {\n      stream.eatWhile(/[\\w\\\\\\-]/);\n      return ret(\"property\", \"word\");\n    } else {\n      return ret(null, null);\n    }\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) {\n          if (quote == \")\") stream.backUp(1);\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (ch == quote || !escaped && quote != \")\") state.tokenize = null;\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  function tokenParenthesized(stream, state) {\n    stream.next(); // Must be '('\n    if (!stream.match(/\\s*[\\\"\\')]/, false))\n      state.tokenize = tokenString(\")\");\n    else\n      state.tokenize = null;\n    return ret(null, \"(\");\n  }\n\n  // Context management\n\n  function Context(type, indent, prev) {\n    this.type = type;\n    this.indent = indent;\n    this.prev = prev;\n  }\n\n  function pushContext(state, stream, type) {\n    state.context = new Context(type, stream.indentation() + indentUnit, state.context);\n    return type;\n  }\n\n  function popContext(state) {\n    state.context = state.context.prev;\n    return state.context.type;\n  }\n\n  function pass(type, stream, state) {\n    return states[state.context.type](type, stream, state);\n  }\n  function popAndPass(type, stream, state, n) {\n    for (var i = n || 1; i > 0; i--)\n      state.context = state.context.prev;\n    return pass(type, stream, state);\n  }\n\n  // Parser\n\n  function wordAsValue(stream) {\n    var word = stream.current().toLowerCase();\n    if (valueKeywords.hasOwnProperty(word))\n      override = \"atom\";\n    else if (colorKeywords.hasOwnProperty(word))\n      override = \"keyword\";\n    else\n      override = \"variable\";\n  }\n\n  var states = {};\n\n  states.top = function(type, stream, state) {\n    if (type == \"{\") {\n      return pushContext(state, stream, \"block\");\n    } else if (type == \"}\" && state.context.prev) {\n      return popContext(state);\n    } else if (/@(media|supports|(-moz-)?document)/.test(type)) {\n      return pushContext(state, stream, \"atBlock\");\n    } else if (/@(font-face|counter-style)/.test(type)) {\n      state.stateArg = type;\n      return \"restricted_atBlock_before\";\n    } else if (/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(type)) {\n      return \"keyframes\";\n    } else if (type && type.charAt(0) == \"@\") {\n      return pushContext(state, stream, \"at\");\n    } else if (type == \"hash\") {\n      override = \"builtin\";\n    } else if (type == \"word\") {\n      override = \"tag\";\n    } else if (type == \"variable-definition\") {\n      return \"maybeprop\";\n    } else if (type == \"interpolation\") {\n      return pushContext(state, stream, \"interpolation\");\n    } else if (type == \":\") {\n      return \"pseudo\";\n    } else if (allowNested && type == \"(\") {\n      return pushContext(state, stream, \"parens\");\n    }\n    return state.context.type;\n  };\n\n  states.block = function(type, stream, state) {\n    if (type == \"word\") {\n      var word = stream.current().toLowerCase();\n      if (propertyKeywords.hasOwnProperty(word)) {\n        override = \"property\";\n        return \"maybeprop\";\n      } else if (nonStandardPropertyKeywords.hasOwnProperty(word)) {\n        override = \"string-2\";\n        return \"maybeprop\";\n      } else if (allowNested) {\n        override = stream.match(/^\\s*:(?:\\s|$)/, false) ? \"property\" : \"tag\";\n        return \"block\";\n      } else {\n        override += \" error\";\n        return \"maybeprop\";\n      }\n    } else if (type == \"meta\") {\n      return \"block\";\n    } else if (!allowNested && (type == \"hash\" || type == \"qualifier\")) {\n      override = \"error\";\n      return \"block\";\n    } else {\n      return states.top(type, stream, state);\n    }\n  };\n\n  states.maybeprop = function(type, stream, state) {\n    if (type == \":\") return pushContext(state, stream, \"prop\");\n    return pass(type, stream, state);\n  };\n\n  states.prop = function(type, stream, state) {\n    if (type == \";\") return popContext(state);\n    if (type == \"{\" && allowNested) return pushContext(state, stream, \"propBlock\");\n    if (type == \"}\" || type == \"{\") return popAndPass(type, stream, state);\n    if (type == \"(\") return pushContext(state, stream, \"parens\");\n\n    if (type == \"hash\" && !/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(stream.current())) {\n      override += \" error\";\n    } else if (type == \"word\") {\n      wordAsValue(stream);\n    } else if (type == \"interpolation\") {\n      return pushContext(state, stream, \"interpolation\");\n    }\n    return \"prop\";\n  };\n\n  states.propBlock = function(type, _stream, state) {\n    if (type == \"}\") return popContext(state);\n    if (type == \"word\") { override = \"property\"; return \"maybeprop\"; }\n    return state.context.type;\n  };\n\n  states.parens = function(type, stream, state) {\n    if (type == \"{\" || type == \"}\") return popAndPass(type, stream, state);\n    if (type == \")\") return popContext(state);\n    if (type == \"(\") return pushContext(state, stream, \"parens\");\n    if (type == \"word\") wordAsValue(stream);\n    return \"parens\";\n  };\n\n  states.pseudo = function(type, stream, state) {\n    if (type == \"word\") {\n      override = \"variable-3\";\n      return state.context.type;\n    }\n    return pass(type, stream, state);\n  };\n\n  states.atBlock = function(type, stream, state) {\n    if (type == \"(\") return pushContext(state, stream, \"atBlock_parens\");\n    if (type == \"}\") return popAndPass(type, stream, state);\n    if (type == \"{\") return popContext(state) && pushContext(state, stream, allowNested ? \"block\" : \"top\");\n\n    if (type == \"word\") {\n      var word = stream.current().toLowerCase();\n      if (word == \"only\" || word == \"not\" || word == \"and\" || word == \"or\")\n        override = \"keyword\";\n      else if (documentTypes.hasOwnProperty(word))\n        override = \"tag\";\n      else if (mediaTypes.hasOwnProperty(word))\n        override = \"attribute\";\n      else if (mediaFeatures.hasOwnProperty(word))\n        override = \"property\";\n      else if (propertyKeywords.hasOwnProperty(word))\n        override = \"property\";\n      else if (nonStandardPropertyKeywords.hasOwnProperty(word))\n        override = \"string-2\";\n      else if (valueKeywords.hasOwnProperty(word))\n        override = \"atom\";\n      else\n        override = \"error\";\n    }\n    return state.context.type;\n  };\n\n  states.atBlock_parens = function(type, stream, state) {\n    if (type == \")\") return popContext(state);\n    if (type == \"{\" || type == \"}\") return popAndPass(type, stream, state, 2);\n    return states.atBlock(type, stream, state);\n  };\n\n  states.restricted_atBlock_before = function(type, stream, state) {\n    if (type == \"{\")\n      return pushContext(state, stream, \"restricted_atBlock\");\n    if (type == \"word\" && state.stateArg == \"@counter-style\") {\n      override = \"variable\";\n      return \"restricted_atBlock_before\";\n    }\n    return pass(type, stream, state);\n  };\n\n  states.restricted_atBlock = function(type, stream, state) {\n    if (type == \"}\") {\n      state.stateArg = null;\n      return popContext(state);\n    }\n    if (type == \"word\") {\n      if ((state.stateArg == \"@font-face\" && !fontProperties.hasOwnProperty(stream.current().toLowerCase())) ||\n          (state.stateArg == \"@counter-style\" && !counterDescriptors.hasOwnProperty(stream.current().toLowerCase())))\n        override = \"error\";\n      else\n        override = \"property\";\n      return \"maybeprop\";\n    }\n    return \"restricted_atBlock\";\n  };\n\n  states.keyframes = function(type, stream, state) {\n    if (type == \"word\") { override = \"variable\"; return \"keyframes\"; }\n    if (type == \"{\") return pushContext(state, stream, \"top\");\n    return pass(type, stream, state);\n  };\n\n  states.at = function(type, stream, state) {\n    if (type == \";\") return popContext(state);\n    if (type == \"{\" || type == \"}\") return popAndPass(type, stream, state);\n    if (type == \"word\") override = \"tag\";\n    else if (type == \"hash\") override = \"builtin\";\n    return \"at\";\n  };\n\n  states.interpolation = function(type, stream, state) {\n    if (type == \"}\") return popContext(state);\n    if (type == \"{\" || type == \";\") return popAndPass(type, stream, state);\n    if (type != \"variable\") override = \"error\";\n    return \"interpolation\";\n  };\n\n  return {\n    startState: function(base) {\n      return {tokenize: null,\n              state: \"top\",\n              stateArg: null,\n              context: new Context(\"top\", base || 0, null)};\n    },\n\n    token: function(stream, state) {\n      if (!state.tokenize && stream.eatSpace()) return null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style && typeof style == \"object\") {\n        type = style[1];\n        style = style[0];\n      }\n      override = style;\n      state.state = states[state.state](type, stream, state);\n      return override;\n    },\n\n    indent: function(state, textAfter) {\n      var cx = state.context, ch = textAfter && textAfter.charAt(0);\n      var indent = cx.indent;\n      if (cx.type == \"prop\" && (ch == \"}\" || ch == \")\")) cx = cx.prev;\n      if (cx.prev &&\n          (ch == \"}\" && (cx.type == \"block\" || cx.type == \"top\" || cx.type == \"interpolation\" || cx.type == \"restricted_atBlock\") ||\n           ch == \")\" && (cx.type == \"parens\" || cx.type == \"atBlock_parens\") ||\n           ch == \"{\" && (cx.type == \"at\" || cx.type == \"atBlock\"))) {\n        indent = cx.indent - indentUnit;\n        cx = cx.prev;\n      }\n      return indent;\n    },\n\n    electricChars: \"}\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    fold: \"brace\"\n  };\n});\n\n  function keySet(array) {\n    var keys = {};\n    for (var i = 0; i < array.length; ++i) {\n      keys[array[i]] = true;\n    }\n    return keys;\n  }\n\n  var documentTypes_ = [\n    \"domain\", \"regexp\", \"url\", \"url-prefix\"\n  ], documentTypes = keySet(documentTypes_);\n\n  var mediaTypes_ = [\n    \"all\", \"aural\", \"braille\", \"handheld\", \"print\", \"projection\", \"screen\",\n    \"tty\", \"tv\", \"embossed\"\n  ], mediaTypes = keySet(mediaTypes_);\n\n  var mediaFeatures_ = [\n    \"width\", \"min-width\", \"max-width\", \"height\", \"min-height\", \"max-height\",\n    \"device-width\", \"min-device-width\", \"max-device-width\", \"device-height\",\n    \"min-device-height\", \"max-device-height\", \"aspect-ratio\",\n    \"min-aspect-ratio\", \"max-aspect-ratio\", \"device-aspect-ratio\",\n    \"min-device-aspect-ratio\", \"max-device-aspect-ratio\", \"color\", \"min-color\",\n    \"max-color\", \"color-index\", \"min-color-index\", \"max-color-index\",\n    \"monochrome\", \"min-monochrome\", \"max-monochrome\", \"resolution\",\n    \"min-resolution\", \"max-resolution\", \"scan\", \"grid\"\n  ], mediaFeatures = keySet(mediaFeatures_);\n\n  var propertyKeywords_ = [\n    \"align-content\", \"align-items\", \"align-self\", \"alignment-adjust\",\n    \"alignment-baseline\", \"anchor-point\", \"animation\", \"animation-delay\",\n    \"animation-direction\", \"animation-duration\", \"animation-fill-mode\",\n    \"animation-iteration-count\", \"animation-name\", \"animation-play-state\",\n    \"animation-timing-function\", \"appearance\", \"azimuth\", \"backface-visibility\",\n    \"background\", \"background-attachment\", \"background-clip\", \"background-color\",\n    \"background-image\", \"background-origin\", \"background-position\",\n    \"background-repeat\", \"background-size\", \"baseline-shift\", \"binding\",\n    \"bleed\", \"bookmark-label\", \"bookmark-level\", \"bookmark-state\",\n    \"bookmark-target\", \"border\", \"border-bottom\", \"border-bottom-color\",\n    \"border-bottom-left-radius\", \"border-bottom-right-radius\",\n    \"border-bottom-style\", \"border-bottom-width\", \"border-collapse\",\n    \"border-color\", \"border-image\", \"border-image-outset\",\n    \"border-image-repeat\", \"border-image-slice\", \"border-image-source\",\n    \"border-image-width\", \"border-left\", \"border-left-color\",\n    \"border-left-style\", \"border-left-width\", \"border-radius\", \"border-right\",\n    \"border-right-color\", \"border-right-style\", \"border-right-width\",\n    \"border-spacing\", \"border-style\", \"border-top\", \"border-top-color\",\n    \"border-top-left-radius\", \"border-top-right-radius\", \"border-top-style\",\n    \"border-top-width\", \"border-width\", \"bottom\", \"box-decoration-break\",\n    \"box-shadow\", \"box-sizing\", \"break-after\", \"break-before\", \"break-inside\",\n    \"caption-side\", \"clear\", \"clip\", \"color\", \"color-profile\", \"column-count\",\n    \"column-fill\", \"column-gap\", \"column-rule\", \"column-rule-color\",\n    \"column-rule-style\", \"column-rule-width\", \"column-span\", \"column-width\",\n    \"columns\", \"content\", \"counter-increment\", \"counter-reset\", \"crop\", \"cue\",\n    \"cue-after\", \"cue-before\", \"cursor\", \"direction\", \"display\",\n    \"dominant-baseline\", \"drop-initial-after-adjust\",\n    \"drop-initial-after-align\", \"drop-initial-before-adjust\",\n    \"drop-initial-before-align\", \"drop-initial-size\", \"drop-initial-value\",\n    \"elevation\", \"empty-cells\", \"fit\", \"fit-position\", \"flex\", \"flex-basis\",\n    \"flex-direction\", \"flex-flow\", \"flex-grow\", \"flex-shrink\", \"flex-wrap\",\n    \"float\", \"float-offset\", \"flow-from\", \"flow-into\", \"font\", \"font-feature-settings\",\n    \"font-family\", \"font-kerning\", \"font-language-override\", \"font-size\", \"font-size-adjust\",\n    \"font-stretch\", \"font-style\", \"font-synthesis\", \"font-variant\",\n    \"font-variant-alternates\", \"font-variant-caps\", \"font-variant-east-asian\",\n    \"font-variant-ligatures\", \"font-variant-numeric\", \"font-variant-position\",\n    \"font-weight\", \"grid\", \"grid-area\", \"grid-auto-columns\", \"grid-auto-flow\",\n    \"grid-auto-position\", \"grid-auto-rows\", \"grid-column\", \"grid-column-end\",\n    \"grid-column-start\", \"grid-row\", \"grid-row-end\", \"grid-row-start\",\n    \"grid-template\", \"grid-template-areas\", \"grid-template-columns\",\n    \"grid-template-rows\", \"hanging-punctuation\", \"height\", \"hyphens\",\n    \"icon\", \"image-orientation\", \"image-rendering\", \"image-resolution\",\n    \"inline-box-align\", \"justify-content\", \"left\", \"letter-spacing\",\n    \"line-break\", \"line-height\", \"line-stacking\", \"line-stacking-ruby\",\n    \"line-stacking-shift\", \"line-stacking-strategy\", \"list-style\",\n    \"list-style-image\", \"list-style-position\", \"list-style-type\", \"margin\",\n    \"margin-bottom\", \"margin-left\", \"margin-right\", \"margin-top\",\n    \"marker-offset\", \"marks\", \"marquee-direction\", \"marquee-loop\",\n    \"marquee-play-count\", \"marquee-speed\", \"marquee-style\", \"max-height\",\n    \"max-width\", \"min-height\", \"min-width\", \"move-to\", \"nav-down\", \"nav-index\",\n    \"nav-left\", \"nav-right\", \"nav-up\", \"object-fit\", \"object-position\",\n    \"opacity\", \"order\", \"orphans\", \"outline\",\n    \"outline-color\", \"outline-offset\", \"outline-style\", \"outline-width\",\n    \"overflow\", \"overflow-style\", \"overflow-wrap\", \"overflow-x\", \"overflow-y\",\n    \"padding\", \"padding-bottom\", \"padding-left\", \"padding-right\", \"padding-top\",\n    \"page\", \"page-break-after\", \"page-break-before\", \"page-break-inside\",\n    \"page-policy\", \"pause\", \"pause-after\", \"pause-before\", \"perspective\",\n    \"perspective-origin\", \"pitch\", \"pitch-range\", \"play-during\", \"position\",\n    \"presentation-level\", \"punctuation-trim\", \"quotes\", \"region-break-after\",\n    \"region-break-before\", \"region-break-inside\", \"region-fragment\",\n    \"rendering-intent\", \"resize\", \"rest\", \"rest-after\", \"rest-before\", \"richness\",\n    \"right\", \"rotation\", \"rotation-point\", \"ruby-align\", \"ruby-overhang\",\n    \"ruby-position\", \"ruby-span\", \"shape-image-threshold\", \"shape-inside\", \"shape-margin\",\n    \"shape-outside\", \"size\", \"speak\", \"speak-as\", \"speak-header\",\n    \"speak-numeral\", \"speak-punctuation\", \"speech-rate\", \"stress\", \"string-set\",\n    \"tab-size\", \"table-layout\", \"target\", \"target-name\", \"target-new\",\n    \"target-position\", \"text-align\", \"text-align-last\", \"text-decoration\",\n    \"text-decoration-color\", \"text-decoration-line\", \"text-decoration-skip\",\n    \"text-decoration-style\", \"text-emphasis\", \"text-emphasis-color\",\n    \"text-emphasis-position\", \"text-emphasis-style\", \"text-height\",\n    \"text-indent\", \"text-justify\", \"text-outline\", \"text-overflow\", \"text-shadow\",\n    \"text-size-adjust\", \"text-space-collapse\", \"text-transform\", \"text-underline-position\",\n    \"text-wrap\", \"top\", \"transform\", \"transform-origin\", \"transform-style\",\n    \"transition\", \"transition-delay\", \"transition-duration\",\n    \"transition-property\", \"transition-timing-function\", \"unicode-bidi\",\n    \"vertical-align\", \"visibility\", \"voice-balance\", \"voice-duration\",\n    \"voice-family\", \"voice-pitch\", \"voice-range\", \"voice-rate\", \"voice-stress\",\n    \"voice-volume\", \"volume\", \"white-space\", \"widows\", \"width\", \"word-break\",\n    \"word-spacing\", \"word-wrap\", \"z-index\",\n    // SVG-specific\n    \"clip-path\", \"clip-rule\", \"mask\", \"enable-background\", \"filter\", \"flood-color\",\n    \"flood-opacity\", \"lighting-color\", \"stop-color\", \"stop-opacity\", \"pointer-events\",\n    \"color-interpolation\", \"color-interpolation-filters\",\n    \"color-rendering\", \"fill\", \"fill-opacity\", \"fill-rule\", \"image-rendering\",\n    \"marker\", \"marker-end\", \"marker-mid\", \"marker-start\", \"shape-rendering\", \"stroke\",\n    \"stroke-dasharray\", \"stroke-dashoffset\", \"stroke-linecap\", \"stroke-linejoin\",\n    \"stroke-miterlimit\", \"stroke-opacity\", \"stroke-width\", \"text-rendering\",\n    \"baseline-shift\", \"dominant-baseline\", \"glyph-orientation-horizontal\",\n    \"glyph-orientation-vertical\", \"text-anchor\", \"writing-mode\"\n  ], propertyKeywords = keySet(propertyKeywords_);\n\n  var nonStandardPropertyKeywords_ = [\n    \"scrollbar-arrow-color\", \"scrollbar-base-color\", \"scrollbar-dark-shadow-color\",\n    \"scrollbar-face-color\", \"scrollbar-highlight-color\", \"scrollbar-shadow-color\",\n    \"scrollbar-3d-light-color\", \"scrollbar-track-color\", \"shape-inside\",\n    \"searchfield-cancel-button\", \"searchfield-decoration\", \"searchfield-results-button\",\n    \"searchfield-results-decoration\", \"zoom\"\n  ], nonStandardPropertyKeywords = keySet(nonStandardPropertyKeywords_);\n\n  var fontProperties_ = [\n    \"font-family\", \"src\", \"unicode-range\", \"font-variant\", \"font-feature-settings\",\n    \"font-stretch\", \"font-weight\", \"font-style\"\n  ], fontProperties = keySet(fontProperties_);\n\n  var counterDescriptors_ = [\n    \"additive-symbols\", \"fallback\", \"negative\", \"pad\", \"prefix\", \"range\",\n    \"speak-as\", \"suffix\", \"symbols\", \"system\"\n  ], counterDescriptors = keySet(counterDescriptors_);\n\n  var colorKeywords_ = [\n    \"aliceblue\", \"antiquewhite\", \"aqua\", \"aquamarine\", \"azure\", \"beige\",\n    \"bisque\", \"black\", \"blanchedalmond\", \"blue\", \"blueviolet\", \"brown\",\n    \"burlywood\", \"cadetblue\", \"chartreuse\", \"chocolate\", \"coral\", \"cornflowerblue\",\n    \"cornsilk\", \"crimson\", \"cyan\", \"darkblue\", \"darkcyan\", \"darkgoldenrod\",\n    \"darkgray\", \"darkgreen\", \"darkkhaki\", \"darkmagenta\", \"darkolivegreen\",\n    \"darkorange\", \"darkorchid\", \"darkred\", \"darksalmon\", \"darkseagreen\",\n    \"darkslateblue\", \"darkslategray\", \"darkturquoise\", \"darkviolet\",\n    \"deeppink\", \"deepskyblue\", \"dimgray\", \"dodgerblue\", \"firebrick\",\n    \"floralwhite\", \"forestgreen\", \"fuchsia\", \"gainsboro\", \"ghostwhite\",\n    \"gold\", \"goldenrod\", \"gray\", \"grey\", \"green\", \"greenyellow\", \"honeydew\",\n    \"hotpink\", \"indianred\", \"indigo\", \"ivory\", \"khaki\", \"lavender\",\n    \"lavenderblush\", \"lawngreen\", \"lemonchiffon\", \"lightblue\", \"lightcoral\",\n    \"lightcyan\", \"lightgoldenrodyellow\", \"lightgray\", \"lightgreen\", \"lightpink\",\n    \"lightsalmon\", \"lightseagreen\", \"lightskyblue\", \"lightslategray\",\n    \"lightsteelblue\", \"lightyellow\", \"lime\", \"limegreen\", \"linen\", \"magenta\",\n    \"maroon\", \"mediumaquamarine\", \"mediumblue\", \"mediumorchid\", \"mediumpurple\",\n    \"mediumseagreen\", \"mediumslateblue\", \"mediumspringgreen\", \"mediumturquoise\",\n    \"mediumvioletred\", \"midnightblue\", \"mintcream\", \"mistyrose\", \"moccasin\",\n    \"navajowhite\", \"navy\", \"oldlace\", \"olive\", \"olivedrab\", \"orange\", \"orangered\",\n    \"orchid\", \"palegoldenrod\", \"palegreen\", \"paleturquoise\", \"palevioletred\",\n    \"papayawhip\", \"peachpuff\", \"peru\", \"pink\", \"plum\", \"powderblue\",\n    \"purple\", \"rebeccapurple\", \"red\", \"rosybrown\", \"royalblue\", \"saddlebrown\",\n    \"salmon\", \"sandybrown\", \"seagreen\", \"seashell\", \"sienna\", \"silver\", \"skyblue\",\n    \"slateblue\", \"slategray\", \"snow\", \"springgreen\", \"steelblue\", \"tan\",\n    \"teal\", \"thistle\", \"tomato\", \"turquoise\", \"violet\", \"wheat\", \"white\",\n    \"whitesmoke\", \"yellow\", \"yellowgreen\"\n  ], colorKeywords = keySet(colorKeywords_);\n\n  var valueKeywords_ = [\n    \"above\", \"absolute\", \"activeborder\", \"additive\", \"activecaption\", \"afar\",\n    \"after-white-space\", \"ahead\", \"alias\", \"all\", \"all-scroll\", \"alphabetic\", \"alternate\",\n    \"always\", \"amharic\", \"amharic-abegede\", \"antialiased\", \"appworkspace\",\n    \"arabic-indic\", \"armenian\", \"asterisks\", \"attr\", \"auto\", \"avoid\", \"avoid-column\", \"avoid-page\",\n    \"avoid-region\", \"background\", \"backwards\", \"baseline\", \"below\", \"bidi-override\", \"binary\",\n    \"bengali\", \"blink\", \"block\", \"block-axis\", \"bold\", \"bolder\", \"border\", \"border-box\",\n    \"both\", \"bottom\", \"break\", \"break-all\", \"break-word\", \"bullets\", \"button\", \"button-bevel\",\n    \"buttonface\", \"buttonhighlight\", \"buttonshadow\", \"buttontext\", \"calc\", \"cambodian\",\n    \"capitalize\", \"caps-lock-indicator\", \"caption\", \"captiontext\", \"caret\",\n    \"cell\", \"center\", \"checkbox\", \"circle\", \"cjk-decimal\", \"cjk-earthly-branch\",\n    \"cjk-heavenly-stem\", \"cjk-ideographic\", \"clear\", \"clip\", \"close-quote\",\n    \"col-resize\", \"collapse\", \"column\", \"compact\", \"condensed\", \"contain\", \"content\",\n    \"content-box\", \"context-menu\", \"continuous\", \"copy\", \"counter\", \"counters\", \"cover\", \"crop\",\n    \"cross\", \"crosshair\", \"currentcolor\", \"cursive\", \"cyclic\", \"dashed\", \"decimal\",\n    \"decimal-leading-zero\", \"default\", \"default-button\", \"destination-atop\",\n    \"destination-in\", \"destination-out\", \"destination-over\", \"devanagari\",\n    \"disc\", \"discard\", \"disclosure-closed\", \"disclosure-open\", \"document\",\n    \"dot-dash\", \"dot-dot-dash\",\n    \"dotted\", \"double\", \"down\", \"e-resize\", \"ease\", \"ease-in\", \"ease-in-out\", \"ease-out\",\n    \"element\", \"ellipse\", \"ellipsis\", \"embed\", \"end\", \"ethiopic\", \"ethiopic-abegede\",\n    \"ethiopic-abegede-am-et\", \"ethiopic-abegede-gez\", \"ethiopic-abegede-ti-er\",\n    \"ethiopic-abegede-ti-et\", \"ethiopic-halehame-aa-er\",\n    \"ethiopic-halehame-aa-et\", \"ethiopic-halehame-am-et\",\n    \"ethiopic-halehame-gez\", \"ethiopic-halehame-om-et\",\n    \"ethiopic-halehame-sid-et\", \"ethiopic-halehame-so-et\",\n    \"ethiopic-halehame-ti-er\", \"ethiopic-halehame-ti-et\", \"ethiopic-halehame-tig\",\n    \"ethiopic-numeric\", \"ew-resize\", \"expanded\", \"extends\", \"extra-condensed\",\n    \"extra-expanded\", \"fantasy\", \"fast\", \"fill\", \"fixed\", \"flat\", \"flex\", \"footnotes\",\n    \"forwards\", \"from\", \"geometricPrecision\", \"georgian\", \"graytext\", \"groove\",\n    \"gujarati\", \"gurmukhi\", \"hand\", \"hangul\", \"hangul-consonant\", \"hebrew\",\n    \"help\", \"hidden\", \"hide\", \"higher\", \"highlight\", \"highlighttext\",\n    \"hiragana\", \"hiragana-iroha\", \"horizontal\", \"hsl\", \"hsla\", \"icon\", \"ignore\",\n    \"inactiveborder\", \"inactivecaption\", \"inactivecaptiontext\", \"infinite\",\n    \"infobackground\", \"infotext\", \"inherit\", \"initial\", \"inline\", \"inline-axis\",\n    \"inline-block\", \"inline-flex\", \"inline-table\", \"inset\", \"inside\", \"intrinsic\", \"invert\",\n    \"italic\", \"japanese-formal\", \"japanese-informal\", \"justify\", \"kannada\",\n    \"katakana\", \"katakana-iroha\", \"keep-all\", \"khmer\",\n    \"korean-hangul-formal\", \"korean-hanja-formal\", \"korean-hanja-informal\",\n    \"landscape\", \"lao\", \"large\", \"larger\", \"left\", \"level\", \"lighter\",\n    \"line-through\", \"linear\", \"linear-gradient\", \"lines\", \"list-item\", \"listbox\", \"listitem\",\n    \"local\", \"logical\", \"loud\", \"lower\", \"lower-alpha\", \"lower-armenian\",\n    \"lower-greek\", \"lower-hexadecimal\", \"lower-latin\", \"lower-norwegian\",\n    \"lower-roman\", \"lowercase\", \"ltr\", \"malayalam\", \"match\", \"matrix\", \"matrix3d\",\n    \"media-controls-background\", \"media-current-time-display\",\n    \"media-fullscreen-button\", \"media-mute-button\", \"media-play-button\",\n    \"media-return-to-realtime-button\", \"media-rewind-button\",\n    \"media-seek-back-button\", \"media-seek-forward-button\", \"media-slider\",\n    \"media-sliderthumb\", \"media-time-remaining-display\", \"media-volume-slider\",\n    \"media-volume-slider-container\", \"media-volume-sliderthumb\", \"medium\",\n    \"menu\", \"menulist\", \"menulist-button\", \"menulist-text\",\n    \"menulist-textfield\", \"menutext\", \"message-box\", \"middle\", \"min-intrinsic\",\n    \"mix\", \"mongolian\", \"monospace\", \"move\", \"multiple\", \"myanmar\", \"n-resize\",\n    \"narrower\", \"ne-resize\", \"nesw-resize\", \"no-close-quote\", \"no-drop\",\n    \"no-open-quote\", \"no-repeat\", \"none\", \"normal\", \"not-allowed\", \"nowrap\",\n    \"ns-resize\", \"numbers\", \"numeric\", \"nw-resize\", \"nwse-resize\", \"oblique\", \"octal\", \"open-quote\",\n    \"optimizeLegibility\", \"optimizeSpeed\", \"oriya\", \"oromo\", \"outset\",\n    \"outside\", \"outside-shape\", \"overlay\", \"overline\", \"padding\", \"padding-box\",\n    \"painted\", \"page\", \"paused\", \"persian\", \"perspective\", \"plus-darker\", \"plus-lighter\",\n    \"pointer\", \"polygon\", \"portrait\", \"pre\", \"pre-line\", \"pre-wrap\", \"preserve-3d\",\n    \"progress\", \"push-button\", \"radial-gradient\", \"radio\", \"read-only\",\n    \"read-write\", \"read-write-plaintext-only\", \"rectangle\", \"region\",\n    \"relative\", \"repeat\", \"repeating-linear-gradient\",\n    \"repeating-radial-gradient\", \"repeat-x\", \"repeat-y\", \"reset\", \"reverse\",\n    \"rgb\", \"rgba\", \"ridge\", \"right\", \"rotate\", \"rotate3d\", \"rotateX\", \"rotateY\",\n    \"rotateZ\", \"round\", \"row-resize\", \"rtl\", \"run-in\", \"running\",\n    \"s-resize\", \"sans-serif\", \"scale\", \"scale3d\", \"scaleX\", \"scaleY\", \"scaleZ\",\n    \"scroll\", \"scrollbar\", \"se-resize\", \"searchfield\",\n    \"searchfield-cancel-button\", \"searchfield-decoration\",\n    \"searchfield-results-button\", \"searchfield-results-decoration\",\n    \"semi-condensed\", \"semi-expanded\", \"separate\", \"serif\", \"show\", \"sidama\",\n    \"simp-chinese-formal\", \"simp-chinese-informal\", \"single\",\n    \"skew\", \"skewX\", \"skewY\", \"skip-white-space\", \"slide\", \"slider-horizontal\",\n    \"slider-vertical\", \"sliderthumb-horizontal\", \"sliderthumb-vertical\", \"slow\",\n    \"small\", \"small-caps\", \"small-caption\", \"smaller\", \"solid\", \"somali\",\n    \"source-atop\", \"source-in\", \"source-out\", \"source-over\", \"space\", \"spell-out\", \"square\",\n    \"square-button\", \"start\", \"static\", \"status-bar\", \"stretch\", \"stroke\", \"sub\",\n    \"subpixel-antialiased\", \"super\", \"sw-resize\", \"symbolic\", \"symbols\", \"table\",\n    \"table-caption\", \"table-cell\", \"table-column\", \"table-column-group\",\n    \"table-footer-group\", \"table-header-group\", \"table-row\", \"table-row-group\",\n    \"tamil\",\n    \"telugu\", \"text\", \"text-bottom\", \"text-top\", \"textarea\", \"textfield\", \"thai\",\n    \"thick\", \"thin\", \"threeddarkshadow\", \"threedface\", \"threedhighlight\",\n    \"threedlightshadow\", \"threedshadow\", \"tibetan\", \"tigre\", \"tigrinya-er\",\n    \"tigrinya-er-abegede\", \"tigrinya-et\", \"tigrinya-et-abegede\", \"to\", \"top\",\n    \"trad-chinese-formal\", \"trad-chinese-informal\",\n    \"translate\", \"translate3d\", \"translateX\", \"translateY\", \"translateZ\",\n    \"transparent\", \"ultra-condensed\", \"ultra-expanded\", \"underline\", \"up\",\n    \"upper-alpha\", \"upper-armenian\", \"upper-greek\", \"upper-hexadecimal\",\n    \"upper-latin\", \"upper-norwegian\", \"upper-roman\", \"uppercase\", \"urdu\", \"url\",\n    \"var\", \"vertical\", \"vertical-text\", \"visible\", \"visibleFill\", \"visiblePainted\",\n    \"visibleStroke\", \"visual\", \"w-resize\", \"wait\", \"wave\", \"wider\",\n    \"window\", \"windowframe\", \"windowtext\", \"words\", \"x-large\", \"x-small\", \"xor\",\n    \"xx-large\", \"xx-small\"\n  ], valueKeywords = keySet(valueKeywords_);\n\n  var allWords = documentTypes_.concat(mediaTypes_).concat(mediaFeatures_).concat(propertyKeywords_)\n    .concat(nonStandardPropertyKeywords_).concat(colorKeywords_).concat(valueKeywords_);\n  CodeMirror.registerHelper(\"hintWords\", \"css\", allWords);\n\n  function tokenCComment(stream, state) {\n    var maybeEnd = false, ch;\n    while ((ch = stream.next()) != null) {\n      if (maybeEnd && ch == \"/\") {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return [\"comment\", \"comment\"];\n  }\n\n  function tokenSGMLComment(stream, state) {\n    if (stream.skipTo(\"-->\")) {\n      stream.match(\"-->\");\n      state.tokenize = null;\n    } else {\n      stream.skipToEnd();\n    }\n    return [\"comment\", \"comment\"];\n  }\n\n  CodeMirror.defineMIME(\"text/css\", {\n    documentTypes: documentTypes,\n    mediaTypes: mediaTypes,\n    mediaFeatures: mediaFeatures,\n    propertyKeywords: propertyKeywords,\n    nonStandardPropertyKeywords: nonStandardPropertyKeywords,\n    fontProperties: fontProperties,\n    counterDescriptors: counterDescriptors,\n    colorKeywords: colorKeywords,\n    valueKeywords: valueKeywords,\n    tokenHooks: {\n      \"<\": function(stream, state) {\n        if (!stream.match(\"!--\")) return false;\n        state.tokenize = tokenSGMLComment;\n        return tokenSGMLComment(stream, state);\n      },\n      \"/\": function(stream, state) {\n        if (!stream.eat(\"*\")) return false;\n        state.tokenize = tokenCComment;\n        return tokenCComment(stream, state);\n      }\n    },\n    name: \"css\"\n  });\n\n  CodeMirror.defineMIME(\"text/x-scss\", {\n    mediaTypes: mediaTypes,\n    mediaFeatures: mediaFeatures,\n    propertyKeywords: propertyKeywords,\n    nonStandardPropertyKeywords: nonStandardPropertyKeywords,\n    colorKeywords: colorKeywords,\n    valueKeywords: valueKeywords,\n    fontProperties: fontProperties,\n    allowNested: true,\n    tokenHooks: {\n      \"/\": function(stream, state) {\n        if (stream.eat(\"/\")) {\n          stream.skipToEnd();\n          return [\"comment\", \"comment\"];\n        } else if (stream.eat(\"*\")) {\n          state.tokenize = tokenCComment;\n          return tokenCComment(stream, state);\n        } else {\n          return [\"operator\", \"operator\"];\n        }\n      },\n      \":\": function(stream) {\n        if (stream.match(/\\s*\\{/))\n          return [null, \"{\"];\n        return false;\n      },\n      \"$\": function(stream) {\n        stream.match(/^[\\w-]+/);\n        if (stream.match(/^\\s*:/, false))\n          return [\"variable-2\", \"variable-definition\"];\n        return [\"variable-2\", \"variable\"];\n      },\n      \"#\": function(stream) {\n        if (!stream.eat(\"{\")) return false;\n        return [null, \"interpolation\"];\n      }\n    },\n    name: \"css\",\n    helperType: \"scss\"\n  });\n\n  CodeMirror.defineMIME(\"text/x-less\", {\n    mediaTypes: mediaTypes,\n    mediaFeatures: mediaFeatures,\n    propertyKeywords: propertyKeywords,\n    nonStandardPropertyKeywords: nonStandardPropertyKeywords,\n    colorKeywords: colorKeywords,\n    valueKeywords: valueKeywords,\n    fontProperties: fontProperties,\n    allowNested: true,\n    tokenHooks: {\n      \"/\": function(stream, state) {\n        if (stream.eat(\"/\")) {\n          stream.skipToEnd();\n          return [\"comment\", \"comment\"];\n        } else if (stream.eat(\"*\")) {\n          state.tokenize = tokenCComment;\n          return tokenCComment(stream, state);\n        } else {\n          return [\"operator\", \"operator\"];\n        }\n      },\n      \"@\": function(stream) {\n        if (stream.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\\b/, false)) return false;\n        stream.eatWhile(/[\\w\\\\\\-]/);\n        if (stream.match(/^\\s*:/, false))\n          return [\"variable-2\", \"variable-definition\"];\n        return [\"variable-2\", \"variable\"];\n      },\n      \"&\": function() {\n        return [\"atom\", \"atom\"];\n      }\n    },\n    name: \"css\",\n    helperType: \"less\"\n  });\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/css/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: CSS mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../addon/hint/show-hint.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"css.js\"></script>\n<script src=\"../../addon/hint/show-hint.js\"></script>\n<script src=\"../../addon/hint/css-hint.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">CSS</a>\n  </ul>\n</div>\n\n<article>\n<h2>CSS mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n/* Some example CSS */\n\n@import url(\"something.css\");\n\nbody {\n  margin: 0;\n  padding: 3em 6em;\n  font-family: tahoma, arial, sans-serif;\n  color: #000;\n}\n\n#navigation a {\n  font-weight: bold;\n  text-decoration: none !important;\n}\n\nh1 {\n  font-size: 2.5em;\n}\n\nh2 {\n  font-size: 1.7em;\n}\n\nh1:before, h2:before {\n  content: \"::\";\n}\n\ncode {\n  font-family: courier, monospace;\n  font-size: 80%;\n  color: #418A8A;\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        extraKeys: {\"Ctrl-Space\": \"autocomplete\"},\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/css</code>, <code>text/x-scss</code> (<a href=\"scss.html\">demo</a>), <code>text/x-less</code> (<a href=\"less.html\">demo</a>).</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#css_*\">normal</a>,  <a href=\"../../test/index.html#verbose,css_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/css/less.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: LESS mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"css.js\"></script>\n<style>.CodeMirror {border: 1px solid #ddd; line-height: 1.2;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">LESS</a>\n  </ul>\n</div>\n\n<article>\n<h2>LESS mode</h2>\n<form><textarea id=\"code\" name=\"code\">@media screen and (device-aspect-ratio: 16/9) { … }\n@media screen and (device-aspect-ratio: 1280/720) { … }\n@media screen and (device-aspect-ratio: 2560/1440) { … }\n\nhtml:lang(fr-be)\n\ntr:nth-child(2n+1) /* represents every odd row of an HTML table */\n\nimg:nth-of-type(2n+1) { float: right; }\nimg:nth-of-type(2n) { float: left; }\n\nbody > h2:not(:first-of-type):not(:last-of-type)\n\nhtml|*:not(:link):not(:visited)\n*|*:not(:hover)\np::first-line { text-transform: uppercase }\n\n@namespace foo url(http://www.example.com);\nfoo|h1 { color: blue }  /* first rule */\n\nspan[hello=\"Ocean\"][goodbye=\"Land\"]\n\nE[foo]{\n  padding:65px;\n}\n\ninput[type=\"search\"]::-webkit-search-decoration,\ninput[type=\"search\"]::-webkit-search-cancel-button {\n  -webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner { // Inner padding and border oddities in FF3/4\n  padding: 0;\n  border: 0;\n}\n.btn {\n  // reset here as of 2.0.3 due to Recess property order\n  border-color: #ccc;\n  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);\n}\nfieldset span button, fieldset span input[type=\"file\"] {\n  font-size:12px;\n\tfont-family:Arial, Helvetica, sans-serif;\n}\n\n.rounded-corners (@radius: 5px) {\n  border-radius: @radius;\n  -webkit-border-radius: @radius;\n  -moz-border-radius: @radius;\n}\n\n@import url(\"something.css\");\n\n@light-blue:   hsl(190, 50%, 65%);\n\n#menu {\n  position: absolute;\n  width: 100%;\n  z-index: 3;\n  clear: both;\n  display: block;\n  background-color: @blue;\n  height: 42px;\n  border-top: 2px solid lighten(@alpha-blue, 20%);\n  border-bottom: 2px solid darken(@alpha-blue, 25%);\n  .box-shadow(0, 1px, 8px, 0.6);\n  -moz-box-shadow: 0 0 0 #000; // Because firefox sucks.\n\n  &.docked {\n    background-color: hsla(210, 60%, 40%, 0.4);\n  }\n  &:hover {\n    background-color: @blue;\n  }\n\n  #dropdown {\n    margin: 0 0 0 117px;\n    padding: 0;\n    padding-top: 5px;\n    display: none;\n    width: 190px;\n    border-top: 2px solid @medium;\n    color: @highlight;\n    border: 2px solid darken(@medium, 25%);\n    border-left-color: darken(@medium, 15%);\n    border-right-color: darken(@medium, 15%);\n    border-top-width: 0;\n    background-color: darken(@medium, 10%);\n    ul {\n      padding: 0px;  \n    }\n    li {\n      font-size: 14px;\n      display: block;\n      text-align: left;\n      padding: 0;\n      border: 0;\n      a {\n        display: block;\n        padding: 0px 15px;  \n        text-decoration: none;\n        color: white;  \n        &:hover {\n          background-color: darken(@medium, 15%);\n          text-decoration: none;\n        }\n      }\n    }\n    .border-radius(5px, bottom);\n    .box-shadow(0, 6px, 8px, 0.5);\n  }\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers : true,\n        matchBrackets : true,\n        mode: \"text/x-less\"\n      });\n    </script>\n\n    <p>The LESS mode is a sub-mode of the <a href=\"index.html\">CSS mode</a> (defined in <code>css.js</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#less_*\">normal</a>,  <a href=\"../../test/index.html#verbose,less_*\">verbose</a>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/css/less_test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  \"use strict\";\n\n  var mode = CodeMirror.getMode({indentUnit: 2}, \"text/x-less\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), \"less\"); }\n\n  MT(\"variable\",\n     \"[variable-2 @base]: [atom #f04615];\",\n     \"[qualifier .class] {\",\n     \"  [property width]: [variable percentage]([number 0.5]); [comment // returns `50%`]\",\n     \"  [property color]: [variable saturate]([variable-2 @base], [number 5%]);\",\n     \"}\");\n\n  MT(\"amp\",\n     \"[qualifier .child], [qualifier .sibling] {\",\n     \"  [qualifier .parent] [atom &] {\",\n     \"    [property color]: [keyword black];\",\n     \"  }\",\n     \"  [atom &] + [atom &] {\",\n     \"    [property color]: [keyword red];\",\n     \"  }\",\n     \"}\");\n\n  MT(\"mixin\",\n     \"[qualifier .mixin] ([variable dark]; [variable-2 @color]) {\",\n     \"  [property color]: [variable darken]([variable-2 @color], [number 10%]);\",\n     \"}\",\n     \"[qualifier .mixin] ([variable light]; [variable-2 @color]) {\",\n     \"  [property color]: [variable lighten]([variable-2 @color], [number 10%]);\",\n     \"}\",\n     \"[qualifier .mixin] ([variable-2 @_]; [variable-2 @color]) {\",\n     \"  [property display]: [atom block];\",\n     \"}\",\n     \"[variable-2 @switch]: [variable light];\",\n     \"[qualifier .class] {\",\n     \"  [qualifier .mixin]([variable-2 @switch]; [atom #888]);\",\n     \"}\");\n\n  MT(\"nest\",\n     \"[qualifier .one] {\",\n     \"  [def @media] ([property width]: [number 400px]) {\",\n     \"    [property font-size]: [number 1.2em];\",\n     \"    [def @media] [attribute print] [keyword and] [property color] {\",\n     \"      [property color]: [keyword blue];\",\n     \"    }\",\n     \"  }\",\n     \"}\");\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/css/scss.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: SCSS mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"css.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">SCSS</a>\n  </ul>\n</div>\n\n<article>\n<h2>SCSS mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n/* Some example SCSS */\n\n@import \"compass/css3\";\n$variable: #333;\n\n$blue: #3bbfce;\n$margin: 16px;\n\n.content-navigation {\n  #nested {\n    background-color: black;\n  }\n  border-color: $blue;\n  color:\n    darken($blue, 9%);\n}\n\n.border {\n  padding: $margin / 2;\n  margin: $margin / 2;\n  border-color: $blue;\n}\n\n@mixin table-base {\n  th {\n    text-align: center;\n    font-weight: bold;\n  }\n  td, th {padding: 2px}\n}\n\ntable.hl {\n  margin: 2em 0;\n  td.ln {\n    text-align: right;\n  }\n}\n\nli {\n  font: {\n    family: serif;\n    weight: bold;\n    size: 1.2em;\n  }\n}\n\n@mixin left($dist) {\n  float: left;\n  margin-left: $dist;\n}\n\n#data {\n  @include left(10px);\n  @include table-base;\n}\n\n.source {\n  @include flow-into(target);\n  border: 10px solid green;\n  margin: 20px;\n  width: 200px; }\n\n.new-container {\n  @include flow-from(target);\n  border: 10px solid red;\n  margin: 20px;\n  width: 200px; }\n\nbody {\n  margin: 0;\n  padding: 3em 6em;\n  font-family: tahoma, arial, sans-serif;\n  color: #000;\n}\n\n@mixin yellow() {\n  background: yellow;\n}\n\n.big {\n  font-size: 14px;\n}\n\n.nested {\n  @include border-radius(3px);\n  @extend .big;\n  p {\n    background: whitesmoke;\n    a {\n      color: red;\n    }\n  }\n}\n\n#navigation a {\n  font-weight: bold;\n  text-decoration: none !important;\n}\n\nh1 {\n  font-size: 2.5em;\n}\n\nh2 {\n  font-size: 1.7em;\n}\n\nh1:before, h2:before {\n  content: \"::\";\n}\n\ncode {\n  font-family: courier, monospace;\n  font-size: 80%;\n  color: #418A8A;\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-scss\"\n      });\n    </script>\n\n    <p>The SCSS mode is a sub-mode of the <a href=\"index.html\">CSS mode</a> (defined in <code>css.js</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#scss_*\">normal</a>,  <a href=\"../../test/index.html#verbose,scss_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/css/scss_test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({indentUnit: 2}, \"text/x-scss\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), \"scss\"); }\n\n  MT('url_with_quotation',\n    \"[tag foo] { [property background]:[atom url]([string test.jpg]) }\");\n\n  MT('url_with_double_quotes',\n    \"[tag foo] { [property background]:[atom url]([string \\\"test.jpg\\\"]) }\");\n\n  MT('url_with_single_quotes',\n    \"[tag foo] { [property background]:[atom url]([string \\'test.jpg\\']) }\");\n\n  MT('string',\n    \"[def @import] [string \\\"compass/css3\\\"]\");\n\n  MT('important_keyword',\n    \"[tag foo] { [property background]:[atom url]([string \\'test.jpg\\']) [keyword !important] }\");\n\n  MT('variable',\n    \"[variable-2 $blue]:[atom #333]\");\n\n  MT('variable_as_attribute',\n    \"[tag foo] { [property color]:[variable-2 $blue] }\");\n\n  MT('numbers',\n    \"[tag foo] { [property padding]:[number 10px] [number 10] [number 10em] [number 8in] }\");\n\n  MT('number_percentage',\n    \"[tag foo] { [property width]:[number 80%] }\");\n\n  MT('selector',\n    \"[builtin #hello][qualifier .world]{}\");\n\n  MT('singleline_comment',\n    \"[comment // this is a comment]\");\n\n  MT('multiline_comment',\n    \"[comment /*foobar*/]\");\n\n  MT('attribute_with_hyphen',\n    \"[tag foo] { [property font-size]:[number 10px] }\");\n\n  MT('string_after_attribute',\n    \"[tag foo] { [property content]:[string \\\"::\\\"] }\");\n\n  MT('directives',\n    \"[def @include] [qualifier .mixin]\");\n\n  MT('basic_structure',\n    \"[tag p] { [property background]:[keyword red]; }\");\n\n  MT('nested_structure',\n    \"[tag p] { [tag a] { [property color]:[keyword red]; } }\");\n\n  MT('mixin',\n    \"[def @mixin] [tag table-base] {}\");\n\n  MT('number_without_semicolon',\n    \"[tag p] {[property width]:[number 12]}\",\n    \"[tag a] {[property color]:[keyword red];}\");\n\n  MT('atom_in_nested_block',\n    \"[tag p] { [tag a] { [property color]:[atom #000]; } }\");\n\n  MT('interpolation_in_property',\n    \"[tag foo] { #{[variable-2 $hello]}:[number 2]; }\");\n\n  MT('interpolation_in_selector',\n    \"[tag foo]#{[variable-2 $hello]} { [property color]:[atom #000]; }\");\n\n  MT('interpolation_error',\n    \"[tag foo]#{[error foo]} { [property color]:[atom #000]; }\");\n\n  MT(\"divide_operator\",\n    \"[tag foo] { [property width]:[number 4] [operator /] [number 2] }\");\n\n  MT('nested_structure_with_id_selector',\n    \"[tag p] { [builtin #hello] { [property color]:[keyword red]; } }\");\n\n  MT('indent_mixin',\n     \"[def @mixin] [tag container] (\",\n     \"  [variable-2 $a]: [number 10],\",\n     \"  [variable-2 $b]: [number 10])\",\n     \"{}\");\n\n  MT('indent_nested',\n     \"[tag foo] {\",\n     \"  [tag bar] {\",\n     \"  }\",\n     \"}\");\n\n  MT('indent_parentheses',\n     \"[tag foo] {\",\n     \"  [property color]: [variable darken]([variable-2 $blue],\",\n     \"    [number 9%]);\",\n     \"}\");\n\n  MT('indent_vardef',\n     \"[variable-2 $name]:\",\n     \"  [string 'val'];\",\n     \"[tag tag] {\",\n     \"  [tag inner] {\",\n     \"    [property margin]: [number 3px];\",\n     \"  }\",\n     \"}\");\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/css/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({indentUnit: 2}, \"css\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  // Error, because \"foobarhello\" is neither a known type or property, but\n  // property was expected (after \"and\"), and it should be in parenthese.\n  MT(\"atMediaUnknownType\",\n     \"[def @media] [attribute screen] [keyword and] [error foobarhello] { }\");\n\n  // Soft error, because \"foobarhello\" is not a known property or type.\n  MT(\"atMediaUnknownProperty\",\n     \"[def @media] [attribute screen] [keyword and] ([error foobarhello]) { }\");\n\n  // Make sure nesting works with media queries\n  MT(\"atMediaMaxWidthNested\",\n     \"[def @media] [attribute screen] [keyword and] ([property max-width]: [number 25px]) { [tag foo] { } }\");\n\n  MT(\"tagSelector\",\n     \"[tag foo] { }\");\n\n  MT(\"classSelector\",\n     \"[qualifier .foo-bar_hello] { }\");\n\n  MT(\"idSelector\",\n     \"[builtin #foo] { [error #foo] }\");\n\n  MT(\"tagSelectorUnclosed\",\n     \"[tag foo] { [property margin]: [number 0] } [tag bar] { }\");\n\n  MT(\"tagStringNoQuotes\",\n     \"[tag foo] { [property font-family]: [variable hello] [variable world]; }\");\n\n  MT(\"tagStringDouble\",\n     \"[tag foo] { [property font-family]: [string \\\"hello world\\\"]; }\");\n\n  MT(\"tagStringSingle\",\n     \"[tag foo] { [property font-family]: [string 'hello world']; }\");\n\n  MT(\"tagColorKeyword\",\n     \"[tag foo] {\",\n     \"  [property color]: [keyword black];\",\n     \"  [property color]: [keyword navy];\",\n     \"  [property color]: [keyword yellow];\",\n     \"}\");\n\n  MT(\"tagColorHex3\",\n     \"[tag foo] { [property background]: [atom #fff]; }\");\n\n  MT(\"tagColorHex6\",\n     \"[tag foo] { [property background]: [atom #ffffff]; }\");\n\n  MT(\"tagColorHex4\",\n     \"[tag foo] { [property background]: [atom&error #ffff]; }\");\n\n  MT(\"tagColorHexInvalid\",\n     \"[tag foo] { [property background]: [atom&error #ffg]; }\");\n\n  MT(\"tagNegativeNumber\",\n     \"[tag foo] { [property margin]: [number -5px]; }\");\n\n  MT(\"tagPositiveNumber\",\n     \"[tag foo] { [property padding]: [number 5px]; }\");\n\n  MT(\"tagVendor\",\n     \"[tag foo] { [meta -foo-][property box-sizing]: [meta -foo-][atom border-box]; }\");\n\n  MT(\"tagBogusProperty\",\n     \"[tag foo] { [property&error barhelloworld]: [number 0]; }\");\n\n  MT(\"tagTwoProperties\",\n     \"[tag foo] { [property margin]: [number 0]; [property padding]: [number 0]; }\");\n\n  MT(\"tagTwoPropertiesURL\",\n     \"[tag foo] { [property background]: [atom url]([string //example.com/foo.png]); [property padding]: [number 0]; }\");\n\n  MT(\"commentSGML\",\n     \"[comment <!--comment-->]\");\n\n  MT(\"commentSGML2\",\n     \"[comment <!--comment]\",\n     \"[comment -->] [tag div] {}\");\n\n  MT(\"indent_tagSelector\",\n     \"[tag strong], [tag em] {\",\n     \"  [property background]: [atom rgba](\",\n     \"    [number 255], [number 255], [number 0], [number .2]\",\n     \"  );\",\n     \"}\");\n\n  MT(\"indent_atMedia\",\n     \"[def @media] {\",\n     \"  [tag foo] {\",\n     \"    [property color]:\",\n     \"      [keyword yellow];\",\n     \"  }\",\n     \"}\");\n\n  MT(\"indent_comma\",\n     \"[tag foo] {\",\n     \"  [property font-family]: [variable verdana],\",\n     \"    [atom sans-serif];\",\n     \"}\");\n\n  MT(\"indent_parentheses\",\n     \"[tag foo]:[variable-3 before] {\",\n     \"  [property background]: [atom url](\",\n     \"[string     blahblah]\",\n     \"[string     etc]\",\n     \"[string   ]) [keyword !important];\",\n     \"}\");\n\n  MT(\"font_face\",\n     \"[def @font-face] {\",\n     \"  [property font-family]: [string 'myfont'];\",\n     \"  [error nonsense]: [string 'abc'];\",\n     \"  [property src]: [atom url]([string http://blah]),\",\n     \"    [atom url]([string http://foo]);\",\n     \"}\");\n\n  MT(\"empty_url\",\n     \"[def @import] [tag url]() [tag screen];\");\n\n  MT(\"parens\",\n     \"[qualifier .foo] {\",\n     \"  [property background-image]: [variable fade]([atom #000], [number 20%]);\",\n     \"  [property border-image]: [atom linear-gradient](\",\n     \"    [atom to] [atom bottom],\",\n     \"    [variable fade]([atom #000], [number 20%]) [number 0%],\",\n     \"    [variable fade]([atom #000], [number 20%]) [number 100%]\",\n     \"  );\",\n     \"}\");\n\n  MT(\"css_variable\",\n     \":[variable-3 root] {\",\n     \"  [variable-2 --main-color]: [atom #06c];\",\n     \"}\",\n     \"[tag h1][builtin #foo] {\",\n     \"  [property color]: [atom var]([variable-2 --main-color]);\",\n     \"}\");\n\n  MT(\"supports\",\n     \"[def @supports] ([keyword not] (([property text-align-last]: [atom justify]) [keyword or] ([meta -moz-][property text-align-last]: [atom justify])) {\",\n     \"  [property text-align-last]: [atom justify];\",\n     \"}\");\n\n   MT(\"document\",\n      \"[def @document] [tag url]([string http://blah]),\",\n      \"  [tag url-prefix]([string https://]),\",\n      \"  [tag domain]([string blah.com]),\",\n      \"  [tag regexp]([string \\\".*blah.+\\\"]) {\",\n      \"    [builtin #id] {\",\n      \"      [property background-color]: [keyword white];\",\n      \"    }\",\n      \"    [tag foo] {\",\n      \"      [property font-family]: [variable Verdana], [atom sans-serif];\",\n      \"    }\",\n      \"  }\");\n\n   MT(\"document_url\",\n      \"[def @document] [tag url]([string http://blah]) { [qualifier .class] { } }\");\n\n   MT(\"document_urlPrefix\",\n      \"[def @document] [tag url-prefix]([string https://]) { [builtin #id] { } }\");\n\n   MT(\"document_domain\",\n      \"[def @document] [tag domain]([string blah.com]) { [tag foo] { } }\");\n\n   MT(\"document_regexp\",\n      \"[def @document] [tag regexp]([string \\\".*blah.+\\\"]) { [builtin #id] { } }\");\n\n   MT(\"counter-style\",\n      \"[def @counter-style] [variable binary] {\",\n      \"  [property system]: [atom numeric];\",\n      \"  [property symbols]: [number 0] [number 1];\",\n      \"  [property suffix]: [string \\\".\\\"];\",\n      \"  [property range]: [atom infinite];\",\n      \"  [property speak-as]: [atom numeric];\",\n      \"}\");\n\n   MT(\"counter-style-additive-symbols\",\n      \"[def @counter-style] [variable simple-roman] {\",\n      \"  [property system]: [atom additive];\",\n      \"  [property additive-symbols]: [number 10] [variable X], [number 5] [variable V], [number 1] [variable I];\",\n      \"  [property range]: [number 1] [number 49];\",\n      \"}\");\n\n   MT(\"counter-style-use\",\n      \"[tag ol][qualifier .roman] { [property list-style]: [variable simple-roman]; }\");\n\n   MT(\"counter-style-symbols\",\n      \"[tag ol] { [property list-style]: [atom symbols]([atom cyclic] [string \\\"*\\\"] [string \\\"\\\\2020\\\"] [string \\\"\\\\2021\\\"] [string \\\"\\\\A7\\\"]); }\");\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/cypher/cypher.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// By the Neo4j Team and contributors.\n// https://github.com/neo4j-contrib/CodeMirror\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n  var wordRegexp = function(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")$\", \"i\");\n  };\n\n  CodeMirror.defineMode(\"cypher\", function(config) {\n    var tokenBase = function(stream/*, state*/) {\n      var ch = stream.next(), curPunc = null;\n      if (ch === \"\\\"\" || ch === \"'\") {\n        stream.match(/.+?[\"']/);\n        return \"string\";\n      }\n      if (/[{}\\(\\),\\.;\\[\\]]/.test(ch)) {\n        curPunc = ch;\n        return \"node\";\n      } else if (ch === \"/\" && stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      } else if (operatorChars.test(ch)) {\n        stream.eatWhile(operatorChars);\n        return null;\n      } else {\n        stream.eatWhile(/[_\\w\\d]/);\n        if (stream.eat(\":\")) {\n          stream.eatWhile(/[\\w\\d_\\-]/);\n          return \"atom\";\n        }\n        var word = stream.current();\n        if (funcs.test(word)) return \"builtin\";\n        if (preds.test(word)) return \"def\";\n        if (keywords.test(word)) return \"keyword\";\n        return \"variable\";\n      }\n    };\n    var pushContext = function(state, type, col) {\n      return state.context = {\n        prev: state.context,\n        indent: state.indent,\n        col: col,\n        type: type\n      };\n    };\n    var popContext = function(state) {\n      state.indent = state.context.indent;\n      return state.context = state.context.prev;\n    };\n    var indentUnit = config.indentUnit;\n    var curPunc;\n    var funcs = wordRegexp([\"abs\", \"acos\", \"allShortestPaths\", \"asin\", \"atan\", \"atan2\", \"avg\", \"ceil\", \"coalesce\", \"collect\", \"cos\", \"cot\", \"count\", \"degrees\", \"e\", \"endnode\", \"exp\", \"extract\", \"filter\", \"floor\", \"haversin\", \"head\", \"id\", \"keys\", \"labels\", \"last\", \"left\", \"length\", \"log\", \"log10\", \"lower\", \"ltrim\", \"max\", \"min\", \"node\", \"nodes\", \"percentileCont\", \"percentileDisc\", \"pi\", \"radians\", \"rand\", \"range\", \"reduce\", \"rel\", \"relationship\", \"relationships\", \"replace\", \"right\", \"round\", \"rtrim\", \"shortestPath\", \"sign\", \"sin\", \"split\", \"sqrt\", \"startnode\", \"stdev\", \"stdevp\", \"str\", \"substring\", \"sum\", \"tail\", \"tan\", \"timestamp\", \"toFloat\", \"toInt\", \"trim\", \"type\", \"upper\"]);\n    var preds = wordRegexp([\"all\", \"and\", \"any\", \"has\", \"in\", \"none\", \"not\", \"or\", \"single\", \"xor\"]);\n    var keywords = wordRegexp([\"as\", \"asc\", \"ascending\", \"assert\", \"by\", \"case\", \"commit\", \"constraint\", \"create\", \"csv\", \"cypher\", \"delete\", \"desc\", \"descending\", \"distinct\", \"drop\", \"else\", \"end\", \"explain\", \"false\", \"fieldterminator\", \"foreach\", \"from\", \"headers\", \"in\", \"index\", \"is\", \"limit\", \"load\", \"match\", \"merge\", \"null\", \"on\", \"optional\", \"order\", \"periodic\", \"profile\", \"remove\", \"return\", \"scan\", \"set\", \"skip\", \"start\", \"then\", \"true\", \"union\", \"unique\", \"unwind\", \"using\", \"when\", \"where\", \"with\"]);\n    var operatorChars = /[*+\\-<>=&|~%^]/;\n\n    return {\n      startState: function(/*base*/) {\n        return {\n          tokenize: tokenBase,\n          context: null,\n          indent: 0,\n          col: 0\n        };\n      },\n      token: function(stream, state) {\n        if (stream.sol()) {\n          if (state.context && (state.context.align == null)) {\n            state.context.align = false;\n          }\n          state.indent = stream.indentation();\n        }\n        if (stream.eatSpace()) {\n          return null;\n        }\n        var style = state.tokenize(stream, state);\n        if (style !== \"comment\" && state.context && (state.context.align == null) && state.context.type !== \"pattern\") {\n          state.context.align = true;\n        }\n        if (curPunc === \"(\") {\n          pushContext(state, \")\", stream.column());\n        } else if (curPunc === \"[\") {\n          pushContext(state, \"]\", stream.column());\n        } else if (curPunc === \"{\") {\n          pushContext(state, \"}\", stream.column());\n        } else if (/[\\]\\}\\)]/.test(curPunc)) {\n          while (state.context && state.context.type === \"pattern\") {\n            popContext(state);\n          }\n          if (state.context && curPunc === state.context.type) {\n            popContext(state);\n          }\n        } else if (curPunc === \".\" && state.context && state.context.type === \"pattern\") {\n          popContext(state);\n        } else if (/atom|string|variable/.test(style) && state.context) {\n          if (/[\\}\\]]/.test(state.context.type)) {\n            pushContext(state, \"pattern\", stream.column());\n          } else if (state.context.type === \"pattern\" && !state.context.align) {\n            state.context.align = true;\n            state.context.col = stream.column();\n          }\n        }\n        return style;\n      },\n      indent: function(state, textAfter) {\n        var firstChar = textAfter && textAfter.charAt(0);\n        var context = state.context;\n        if (/[\\]\\}]/.test(firstChar)) {\n          while (context && context.type === \"pattern\") {\n            context = context.prev;\n          }\n        }\n        var closing = context && firstChar === context.type;\n        if (!context) return 0;\n        if (context.type === \"keywords\") return CodeMirror.commands.newlineAndIndent;\n        if (context.align) return context.col + (closing ? 0 : 1);\n        return context.indent + (closing ? 0 : indentUnit);\n      }\n    };\n  });\n\n  CodeMirror.modeExtensions[\"cypher\"] = {\n    autoFormatLineBreaks: function(text) {\n      var i, lines, reProcessedPortion;\n      var lines = text.split(\"\\n\");\n      var reProcessedPortion = /\\s+\\b(return|where|order by|match|with|skip|limit|create|delete|set)\\b\\s/g;\n      for (var i = 0; i < lines.length; i++)\n        lines[i] = lines[i].replace(reProcessedPortion, \" \\n$1 \").trim();\n      return lines.join(\"\\n\");\n    }\n  };\n\n  CodeMirror.defineMIME(\"application/x-cypher-query\", \"cypher\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/cypher/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Cypher Mode for CodeMirror</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\" />\n<link rel=\"stylesheet\" href=\"../../theme/neo.css\" />\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"cypher.js\"></script>\n<style>\n.CodeMirror {\n    border-top: 1px solid black;\n    border-bottom: 1px solid black;\n}\n        </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Cypher Mode for CodeMirror</a>\n  </ul>\n</div>\n\n<article>\n<h2>Cypher Mode for CodeMirror</h2>\n<form>\n            <textarea id=\"code\" name=\"code\">// Cypher Mode for CodeMirror, using the neo theme\nMATCH (joe { name: 'Joe' })-[:knows*2..2]-(friend_of_friend)\nWHERE NOT (joe)-[:knows]-(friend_of_friend)\nRETURN friend_of_friend.name, COUNT(*)\nORDER BY COUNT(*) DESC , friend_of_friend.name\n</textarea>\n            </form>\n            <p><strong>MIME types defined:</strong> \n            <code><a href=\"?mime=application/x-cypher-query\">application/x-cypher-query</a></code>\n        </p>\n<script>\nwindow.onload = function() {\n  var mime = 'application/x-cypher-query';\n  // get mime type\n  if (window.location.href.indexOf('mime=') > -1) {\n    mime = window.location.href.substr(window.location.href.indexOf('mime=') + 5);\n  }\n  window.editor = CodeMirror.fromTextArea(document.getElementById('code'), {\n    mode: mime,\n    indentWithTabs: true,\n    smartIndent: true,\n    lineNumbers: true,\n    matchBrackets : true,\n    autofocus: true,\n    theme: 'neo'\n  });\n};\n</script>\n\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/d/d.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"d\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit,\n      statementIndentUnit = parserConfig.statementIndentUnit || indentUnit,\n      keywords = parserConfig.keywords || {},\n      builtin = parserConfig.builtin || {},\n      blockKeywords = parserConfig.blockKeywords || {},\n      atoms = parserConfig.atoms || {},\n      hooks = parserConfig.hooks || {},\n      multiLineStrings = parserConfig.multiLineStrings;\n  var isOperatorChar = /[+\\-*&%=<>!?|\\/]/;\n\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (hooks[ch]) {\n      var result = hooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n    if (ch == '\"' || ch == \"'\" || ch == \"`\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"+\")) {\n        state.tokenize = tokenComment;\n        return tokenNestedComment(stream, state);\n      }\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_\\xa1-\\uffff]/);\n    var cur = stream.current();\n    if (keywords.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"keyword\";\n    }\n    if (builtin.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"builtin\";\n    }\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || multiLineStrings))\n        state.tokenize = null;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function tokenNestedComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"+\");\n    }\n    return \"comment\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    var indent = state.indented;\n    if (state.context && state.context.type == \"statement\")\n      indent = state.context.indented;\n    return state.context = new Context(indent, col, type, null, state.context);\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: null,\n        context: new Context((basecolumn || 0) - indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if ((curPunc == \";\" || curPunc == \":\" || curPunc == \",\") && ctx.type == \"statement\") popContext(state);\n      else if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"}\") {\n        while (ctx.type == \"statement\") ctx = popContext(state);\n        if (ctx.type == \"}\") ctx = popContext(state);\n        while (ctx.type == \"statement\") ctx = popContext(state);\n      }\n      else if (curPunc == ctx.type) popContext(state);\n      else if (((ctx.type == \"}\" || ctx.type == \"top\") && curPunc != ';') || (ctx.type == \"statement\" && curPunc == \"newstatement\"))\n        pushContext(state, stream.column(), \"statement\");\n      state.startOfLine = false;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;\n      var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);\n      if (ctx.type == \"statement\" && firstChar == \"}\") ctx = ctx.prev;\n      var closing = firstChar == ctx.type;\n      if (ctx.type == \"statement\") return ctx.indented + (firstChar == \"{\" ? 0 : statementIndentUnit);\n      else if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}\"\n  };\n});\n\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  var blockKeywords = \"body catch class do else enum for foreach foreach_reverse if in interface mixin \" +\n                      \"out scope struct switch try union unittest version while with\";\n\n  CodeMirror.defineMIME(\"text/x-d\", {\n    name: \"d\",\n    keywords: words(\"abstract alias align asm assert auto break case cast cdouble cent cfloat const continue \" +\n                    \"debug default delegate delete deprecated export extern final finally function goto immutable \" +\n                    \"import inout invariant is lazy macro module new nothrow override package pragma private \" +\n                    \"protected public pure ref return shared short static super synchronized template this \" +\n                    \"throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters \" +\n                    blockKeywords),\n    blockKeywords: words(blockKeywords),\n    builtin: words(\"bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte \" +\n                   \"ucent uint ulong ushort wchar wstring void size_t sizediff_t\"),\n    atoms: words(\"exit failure success true false null\"),\n    hooks: {\n      \"@\": function(stream, _state) {\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"meta\";\n      }\n    }\n  });\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/d/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: D mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"d.js\"></script>\n<style>.CodeMirror {border: 2px inset #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">D</a>\n  </ul>\n</div>\n\n<article>\n<h2>D mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n/* D demo code // copied from phobos/sd/metastrings.d */\n// Written in the D programming language.\n\n/**\nTemplates with which to do compile-time manipulation of strings.\n\nMacros:\n WIKI = Phobos/StdMetastrings\n\nCopyright: Copyright Digital Mars 2007 - 2009.\nLicense:   <a href=\"http://www.boost.org/LICENSE_1_0.txt\">Boost License 1.0</a>.\nAuthors:   $(WEB digitalmars.com, Walter Bright),\n           Don Clugston\nSource:    $(PHOBOSSRC std/_metastrings.d)\n*/\n/*\n         Copyright Digital Mars 2007 - 2009.\nDistributed under the Boost Software License, Version 1.0.\n   (See accompanying file LICENSE_1_0.txt or copy at\n         http://www.boost.org/LICENSE_1_0.txt)\n */\nmodule std.metastrings;\n\n/**\nFormats constants into a string at compile time.  Analogous to $(XREF\nstring,format).\n\nParameters:\n\nA = tuple of constants, which can be strings, characters, or integral\n    values.\n\nFormats:\n *    The formats supported are %s for strings, and %%\n *    for the % character.\nExample:\n---\nimport std.metastrings;\nimport std.stdio;\n\nvoid main()\n{\n  string s = Format!(\"Arg %s = %s\", \"foo\", 27);\n  writefln(s); // \"Arg foo = 27\"\n}\n * ---\n */\n\ntemplate Format(A...)\n{\n    static if (A.length == 0)\n        enum Format = \"\";\n    else static if (is(typeof(A[0]) : const(char)[]))\n        enum Format = FormatString!(A[0], A[1..$]);\n    else\n        enum Format = toStringNow!(A[0]) ~ Format!(A[1..$]);\n}\n\ntemplate FormatString(const(char)[] F, A...)\n{\n    static if (F.length == 0)\n        enum FormatString = Format!(A);\n    else static if (F.length == 1)\n        enum FormatString = F[0] ~ Format!(A);\n    else static if (F[0..2] == \"%s\")\n        enum FormatString\n            = toStringNow!(A[0]) ~ FormatString!(F[2..$],A[1..$]);\n    else static if (F[0..2] == \"%%\")\n        enum FormatString = \"%\" ~ FormatString!(F[2..$],A);\n    else\n    {\n        static assert(F[0] != '%', \"unrecognized format %\" ~ F[1]);\n        enum FormatString = F[0] ~ FormatString!(F[1..$],A);\n    }\n}\n\nunittest\n{\n    auto s = Format!(\"hel%slo\", \"world\", -138, 'c', true);\n    assert(s == \"helworldlo-138ctrue\", \"[\" ~ s ~ \"]\");\n}\n\n/**\n * Convert constant argument to a string.\n */\n\ntemplate toStringNow(ulong v)\n{\n    static if (v < 10)\n        enum toStringNow = \"\" ~ cast(char)(v + '0');\n    else\n        enum toStringNow = toStringNow!(v / 10) ~ toStringNow!(v % 10);\n}\n\nunittest\n{\n    static assert(toStringNow!(1uL << 62) == \"4611686018427387904\");\n}\n\n/// ditto\ntemplate toStringNow(long v)\n{\n    static if (v < 0)\n        enum toStringNow = \"-\" ~ toStringNow!(cast(ulong) -v);\n    else\n        enum toStringNow = toStringNow!(cast(ulong) v);\n}\n\nunittest\n{\n    static assert(toStringNow!(0x100000000) == \"4294967296\");\n    static assert(toStringNow!(-138L) == \"-138\");\n}\n\n/// ditto\ntemplate toStringNow(uint U)\n{\n    enum toStringNow = toStringNow!(cast(ulong)U);\n}\n\n/// ditto\ntemplate toStringNow(int I)\n{\n    enum toStringNow = toStringNow!(cast(long)I);\n}\n\n/// ditto\ntemplate toStringNow(bool B)\n{\n    enum toStringNow = B ? \"true\" : \"false\";\n}\n\n/// ditto\ntemplate toStringNow(string S)\n{\n    enum toStringNow = S;\n}\n\n/// ditto\ntemplate toStringNow(char C)\n{\n    enum toStringNow = \"\" ~ C;\n}\n\n\n/********\n * Parse unsigned integer literal from the start of string s.\n * returns:\n *    .value = the integer literal as a string,\n *    .rest = the string following the integer literal\n * Otherwise:\n *    .value = null,\n *    .rest = s\n */\n\ntemplate parseUinteger(const(char)[] s)\n{\n    static if (s.length == 0)\n    {\n        enum value = \"\";\n        enum rest = \"\";\n    }\n    else static if (s[0] >= '0' && s[0] <= '9')\n    {\n        enum value = s[0] ~ parseUinteger!(s[1..$]).value;\n        enum rest = parseUinteger!(s[1..$]).rest;\n    }\n    else\n    {\n        enum value = \"\";\n        enum rest = s;\n    }\n}\n\n/********\nParse integer literal optionally preceded by $(D '-') from the start\nof string $(D s).\n\nReturns:\n   .value = the integer literal as a string,\n   .rest = the string following the integer literal\n\nOtherwise:\n   .value = null,\n   .rest = s\n*/\n\ntemplate parseInteger(const(char)[] s)\n{\n    static if (s.length == 0)\n    {\n        enum value = \"\";\n        enum rest = \"\";\n    }\n    else static if (s[0] >= '0' && s[0] <= '9')\n    {\n        enum value = s[0] ~ parseUinteger!(s[1..$]).value;\n        enum rest = parseUinteger!(s[1..$]).rest;\n    }\n    else static if (s.length >= 2 &&\n            s[0] == '-' && s[1] >= '0' && s[1] <= '9')\n    {\n        enum value = s[0..2] ~ parseUinteger!(s[2..$]).value;\n        enum rest = parseUinteger!(s[2..$]).rest;\n    }\n    else\n    {\n        enum value = \"\";\n        enum rest = s;\n    }\n}\n\nunittest\n{\n    assert(parseUinteger!(\"1234abc\").value == \"1234\");\n    assert(parseUinteger!(\"1234abc\").rest == \"abc\");\n    assert(parseInteger!(\"-1234abc\").value == \"-1234\");\n    assert(parseInteger!(\"-1234abc\").rest == \"abc\");\n}\n\n/**\nDeprecated aliases held for backward compatibility.\n*/\ndeprecated alias toStringNow ToString;\n/// Ditto\ndeprecated alias parseUinteger ParseUinteger;\n/// Ditto\ndeprecated alias parseUinteger ParseInteger;\n\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        indentUnit: 4,\n        mode: \"text/x-d\"\n      });\n    </script>\n\n    <p>Simple mode that handle D-Syntax (<a href=\"http://www.dlang.org\">DLang Homepage</a>).</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-d</code>\n    .</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/dart/dart.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../clike/clike\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../clike/clike\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var keywords = (\"this super static final const abstract class extends external factory \" +\n    \"implements get native operator set typedef with enum throw rethrow \" +\n    \"assert break case continue default in return new deferred async await \" +\n    \"try catch finally do else for if switch while import library export \" +\n    \"part of show hide is\").split(\" \");\n  var blockKeywords = \"try catch finally do else for if switch while\".split(\" \");\n  var atoms = \"true false null\".split(\" \");\n  var builtins = \"void bool num int double dynamic var String\".split(\" \");\n\n  function set(words) {\n    var obj = {};\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  CodeMirror.defineMIME(\"application/dart\", {\n    name: \"clike\",\n    keywords: set(keywords),\n    multiLineStrings: true,\n    blockKeywords: set(blockKeywords),\n    builtin: set(builtins),\n    atoms: set(atoms),\n    hooks: {\n      \"@\": function(stream) {\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"meta\";\n      }\n    }\n  });\n\n  CodeMirror.registerHelper(\"hintWords\", \"application/dart\", keywords.concat(atoms).concat(builtins));\n\n  // This is needed to make loading through meta.js work.\n  CodeMirror.defineMode(\"dart\", function(conf) {\n    return CodeMirror.getMode(conf, \"application/dart\");\n  }, \"clike\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/dart/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Dart mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../clike/clike.js\"></script>\n<script src=\"dart.js\"></script>\n<style>.CodeMirror {border: 1px solid #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Dart</a>\n  </ul>\n</div>\n\n<article>\n<h2>Dart mode</h2>\n<form>\n<textarea id=\"code\" name=\"code\">\nimport 'dart:math' show Random;\n\nvoid main() {\n  print(new Die(n: 12).roll());\n}\n\n// Define a class.\nclass Die {\n  // Define a class variable.\n  static Random shaker = new Random();\n\n  // Define instance variables.\n  int sides, value;\n\n  // Define a method using shorthand syntax.\n  String toString() => '$value';\n\n  // Define a constructor.\n  Die({int n: 6}) {\n    if (4 <= n && n <= 20) {\n      sides = n;\n    } else {\n      // Support for errors and exceptions.\n      throw new ArgumentError(/* */);\n    }\n  }\n\n  // Define an instance method.\n  int roll() {\n    return value = shaker.nextInt(sides) + 1;\n  }\n}\n</textarea>\n</form>\n\n<script>\n  var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n    lineNumbers: true,\n    mode: \"application/dart\"\n  });\n</script>\n\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/diff/diff.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"diff\", function() {\n\n  var TOKEN_NAMES = {\n    '+': 'positive',\n    '-': 'negative',\n    '@': 'meta'\n  };\n\n  return {\n    token: function(stream) {\n      var tw_pos = stream.string.search(/[\\t ]+?$/);\n\n      if (!stream.sol() || tw_pos === 0) {\n        stream.skipToEnd();\n        return (\"error \" + (\n          TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, '');\n      }\n\n      var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd();\n\n      if (tw_pos === -1) {\n        stream.skipToEnd();\n      } else {\n        stream.pos = tw_pos;\n      }\n\n      return token_name;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-diff\", \"diff\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/diff/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Diff mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"diff.js\"></script>\n<style>\n      .CodeMirror {border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;}\n      span.cm-meta {color: #a0b !important;}\n      span.cm-error { background-color: black; opacity: 0.4;}\n      span.cm-error.cm-string { background-color: red; }\n      span.cm-error.cm-tag { background-color: #2b2; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Diff</a>\n  </ul>\n</div>\n\n<article>\n<h2>Diff mode</h2>\n<form><textarea id=\"code\" name=\"code\">\ndiff --git a/index.html b/index.html\nindex c1d9156..7764744 100644\n--- a/index.html\n+++ b/index.html\n@@ -95,7 +95,8 @@ StringStream.prototype = {\n     <script>\n       var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n         lineNumbers: true,\n-        autoMatchBrackets: true\n+        autoMatchBrackets: true,\n+      onGutterClick: function(x){console.log(x);}\n       });\n     </script>\n   </body>\ndiff --git a/lib/codemirror.js b/lib/codemirror.js\nindex 04646a9..9a39cc7 100644\n--- a/lib/codemirror.js\n+++ b/lib/codemirror.js\n@@ -399,10 +399,16 @@ var CodeMirror = (function() {\n     }\n \n     function onMouseDown(e) {\n-      var start = posFromMouse(e), last = start;    \n+      var start = posFromMouse(e), last = start, target = e.target();\n       if (!start) return;\n       setCursor(start.line, start.ch, false);\n       if (e.button() != 1) return;\n+      if (target.parentNode == gutter) {    \n+        if (options.onGutterClick)\n+          options.onGutterClick(indexOf(gutter.childNodes, target) + showingFrom);\n+        return;\n+      }\n+\n       if (!focused) onFocus();\n \n       e.stop();\n@@ -808,7 +814,7 @@ var CodeMirror = (function() {\n       for (var i = showingFrom; i < showingTo; ++i) {\n         var marker = lines[i].gutterMarker;\n         if (marker) html.push('<div class=\"' + marker.style + '\">' + htmlEscape(marker.text) + '</div>');\n-        else html.push(\"<div>\" + (options.lineNumbers ? i + 1 : \"\\u00a0\") + \"</div>\");\n+        else html.push(\"<div>\" + (options.lineNumbers ? i + options.firstLineNumber : \"\\u00a0\") + \"</div>\");\n       }\n       gutter.style.display = \"none\"; // TODO test whether this actually helps\n       gutter.innerHTML = html.join(\"\");\n@@ -1371,10 +1377,8 @@ var CodeMirror = (function() {\n         if (option == \"parser\") setParser(value);\n         else if (option === \"lineNumbers\") setLineNumbers(value);\n         else if (option === \"gutter\") setGutter(value);\n-        else if (option === \"readOnly\") options.readOnly = value;\n-        else if (option === \"indentUnit\") {options.indentUnit = indentUnit = value; setParser(options.parser);}\n-        else if (/^(?:enterMode|tabMode|indentWithTabs|readOnly|autoMatchBrackets|undoDepth)$/.test(option)) options[option] = value;\n-        else throw new Error(\"Can't set option \" + option);\n+        else if (option === \"indentUnit\") {options.indentUnit = value; setParser(options.parser);}\n+        else options[option] = value;\n       },\n       cursorCoords: cursorCoords,\n       undo: operation(undo),\n@@ -1402,7 +1406,8 @@ var CodeMirror = (function() {\n       replaceRange: operation(replaceRange),\n \n       operation: function(f){return operation(f)();},\n-      refresh: function(){updateDisplay([{from: 0, to: lines.length}]);}\n+      refresh: function(){updateDisplay([{from: 0, to: lines.length}]);},\n+      getInputField: function(){return input;}\n     };\n     return instance;\n   }\n@@ -1420,6 +1425,7 @@ var CodeMirror = (function() {\n     readOnly: false,\n     onChange: null,\n     onCursorActivity: null,\n+    onGutterClick: null,\n     autoMatchBrackets: false,\n     workTime: 200,\n     workDelay: 300,\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-diff</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/django/django.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../htmlmixed/htmlmixed\"),\n        require(\"../../addon/mode/overlay\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../htmlmixed/htmlmixed\",\n            \"../../addon/mode/overlay\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineMode(\"django:inner\", function() {\n    var keywords = [\"block\", \"endblock\", \"for\", \"endfor\", \"in\", \"true\", \"false\",\n                    \"loop\", \"none\", \"self\", \"super\", \"if\", \"endif\", \"as\", \"not\", \"and\",\n                    \"else\", \"import\", \"with\", \"endwith\", \"without\", \"context\", \"ifequal\", \"endifequal\",\n                    \"ifnotequal\", \"endifnotequal\", \"extends\", \"include\", \"load\", \"length\", \"comment\",\n                    \"endcomment\", \"empty\"];\n    keywords = new RegExp(\"^((\" + keywords.join(\")|(\") + \"))\\\\b\");\n\n    function tokenBase (stream, state) {\n      stream.eatWhile(/[^\\{]/);\n      var ch = stream.next();\n      if (ch == \"{\") {\n        if (ch = stream.eat(/\\{|%|#/)) {\n          state.tokenize = inTag(ch);\n          return \"tag\";\n        }\n      }\n    }\n    function inTag (close) {\n      if (close == \"{\") {\n        close = \"}\";\n      }\n      return function (stream, state) {\n        var ch = stream.next();\n        if ((ch == close) && stream.eat(\"}\")) {\n          state.tokenize = tokenBase;\n          return \"tag\";\n        }\n        if (stream.match(keywords)) {\n          return \"keyword\";\n        }\n        return close == \"#\" ? \"comment\" : \"string\";\n      };\n    }\n    return {\n      startState: function () {\n        return {tokenize: tokenBase};\n      },\n      token: function (stream, state) {\n        return state.tokenize(stream, state);\n      }\n    };\n  });\n\n  CodeMirror.defineMode(\"django\", function(config) {\n    var htmlBase = CodeMirror.getMode(config, \"text/html\");\n    var djangoInner = CodeMirror.getMode(config, \"django:inner\");\n    return CodeMirror.overlayMode(htmlBase, djangoInner);\n  });\n\n  CodeMirror.defineMIME(\"text/x-django\", \"django\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/django/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Django template mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/mode/overlay.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"django.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Django</a>\n  </ul>\n</div>\n\n<article>\n<h2>Django template mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n<!doctype html>\n<html>\n    <head>\n        <title>My Django web application</title>\n    </head>\n    <body>\n        <h1>\n            {{ page.title }}\n        </h1>\n        <ul class=\"my-list\">\n            {% for item in items %}\n                <li>{% item.name %}</li>\n            {% empty %}\n                <li>You have no items in your list.</li>\n            {% endfor %}\n        </ul>\n    </body>\n</html>\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"django\",\n        indentUnit: 4,\n        indentWithTabs: true\n      });\n    </script>\n\n    <p>Mode for HTML with embedded Django template markup.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-django</code></p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/dockerfile/dockerfile.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../../addon/mode/simple\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../../addon/mode/simple\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  // Collect all Dockerfile directives\n  var instructions = [\"from\", \"maintainer\", \"run\", \"cmd\", \"expose\", \"env\",\n                      \"add\", \"copy\", \"entrypoint\", \"volume\", \"user\",\n                      \"workdir\", \"onbuild\"],\n      instructionRegex = \"(\" + instructions.join('|') + \")\",\n      instructionOnlyLine = new RegExp(instructionRegex + \"\\\\s*$\", \"i\"),\n      instructionWithArguments = new RegExp(instructionRegex + \"(\\\\s+)\", \"i\");\n\n  CodeMirror.defineSimpleMode(\"dockerfile\", {\n    start: [\n      // Block comment: This is a line starting with a comment\n      {\n        regex: /#.*$/,\n        token: \"comment\"\n      },\n      // Highlight an instruction without any arguments (for convenience)\n      {\n        regex: instructionOnlyLine,\n        token: \"variable-2\"\n      },\n      // Highlight an instruction followed by arguments\n      {\n        regex: instructionWithArguments,\n        token: [\"variable-2\", null],\n        next: \"arguments\"\n      },\n      {\n        regex: /./,\n        token: null\n      }\n    ],\n    arguments: [\n      {\n        // Line comment without instruction arguments is an error\n        regex: /#.*$/,\n        token: \"error\",\n        next: \"start\"\n      },\n      {\n        regex: /[^#]+\\\\$/,\n        token: null\n      },\n      {\n        // Match everything except for the inline comment\n        regex: /[^#]+/,\n        token: null,\n        next: \"start\"\n      },\n      {\n        regex: /$/,\n        token: null,\n        next: \"start\"\n      },\n      // Fail safe return to start\n      {\n        token: null,\n        next: \"start\"\n      }\n    ]\n  });\n\n  CodeMirror.defineMIME(\"text/x-dockerfile\", \"dockerfile\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/dockerfile/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Dockerfile mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/mode/simple.js\"></script>\n<script src=\"dockerfile.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Dockerfile</a>\n  </ul>\n</div>\n\n<article>\n<h2>Dockerfile mode</h2>\n<form><textarea id=\"code\" name=\"code\"># Install Ghost blogging platform and run development environment\n#\n# VERSION 1.0.0\n\nFROM ubuntu:12.10\nMAINTAINER Amer Grgic \"amer@livebyt.es\"\nWORKDIR /data/ghost\n\n# Install dependencies for nginx installation\nRUN apt-get update\nRUN apt-get install -y python g++ make software-properties-common --force-yes\nRUN add-apt-repository ppa:chris-lea/node.js\nRUN apt-get update\n# Install unzip\nRUN apt-get install -y unzip\n# Install curl\nRUN apt-get install -y curl\n# Install nodejs & npm\nRUN apt-get install -y rlwrap\nRUN apt-get install -y nodejs \n# Download Ghost v0.4.1\nRUN curl -L https://ghost.org/zip/ghost-latest.zip -o /tmp/ghost.zip\n# Unzip Ghost zip to /data/ghost\nRUN unzip -uo /tmp/ghost.zip -d /data/ghost\n# Add custom config js to /data/ghost\nADD ./config.example.js /data/ghost/config.js\n# Install Ghost with NPM\nRUN cd /data/ghost/ && npm install --production\n# Expose port 2368\nEXPOSE 2368\n# Run Ghost\nCMD [\"npm\",\"start\"]\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"dockerfile\"\n      });\n    </script>\n\n    <p>Dockerfile syntax highlighting for CodeMirror. Depends on\n    the <a href=\"../../demo/simplemode.html\">simplemode</a> addon.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-dockerfile</code></p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/dtd/dtd.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/*\n  DTD mode\n  Ported to CodeMirror by Peter Kroon <plakroon@gmail.com>\n  Report bugs/issues here: https://github.com/codemirror/CodeMirror/issues\n  GitHub: @peterkroon\n*/\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"dtd\", function(config) {\n  var indentUnit = config.indentUnit, type;\n  function ret(style, tp) {type = tp; return style;}\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n\n    if (ch == \"<\" && stream.eat(\"!\") ) {\n      if (stream.eatWhile(/[\\-]/)) {\n        state.tokenize = tokenSGMLComment;\n        return tokenSGMLComment(stream, state);\n      } else if (stream.eatWhile(/[\\w]/)) return ret(\"keyword\", \"doindent\");\n    } else if (ch == \"<\" && stream.eat(\"?\")) { //xml declaration\n      state.tokenize = inBlock(\"meta\", \"?>\");\n      return ret(\"meta\", ch);\n    } else if (ch == \"#\" && stream.eatWhile(/[\\w]/)) return ret(\"atom\", \"tag\");\n    else if (ch == \"|\") return ret(\"keyword\", \"seperator\");\n    else if (ch.match(/[\\(\\)\\[\\]\\-\\.,\\+\\?>]/)) return ret(null, ch);//if(ch === \">\") return ret(null, \"endtag\"); else\n    else if (ch.match(/[\\[\\]]/)) return ret(\"rule\", ch);\n    else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    } else if (stream.eatWhile(/[a-zA-Z\\?\\+\\d]/)) {\n      var sc = stream.current();\n      if( sc.substr(sc.length-1,sc.length).match(/\\?|\\+/) !== null )stream.backUp(1);\n      return ret(\"tag\", \"tag\");\n    } else if (ch == \"%\" || ch == \"*\" ) return ret(\"number\", \"number\");\n    else {\n      stream.eatWhile(/[\\w\\\\\\-_%.{,]/);\n      return ret(null, null);\n    }\n  }\n\n  function tokenSGMLComment(stream, state) {\n    var dashes = 0, ch;\n    while ((ch = stream.next()) != null) {\n      if (dashes >= 2 && ch == \">\") {\n        state.tokenize = tokenBase;\n        break;\n      }\n      dashes = (ch == \"-\") ? dashes + 1 : 0;\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      return ret(\"string\", \"tag\");\n    };\n  }\n\n  function inBlock(style, terminator) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.match(terminator)) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        stream.next();\n      }\n      return style;\n    };\n  }\n\n  return {\n    startState: function(base) {\n      return {tokenize: tokenBase,\n              baseIndent: base || 0,\n              stack: []};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n\n      var context = state.stack[state.stack.length-1];\n      if (stream.current() == \"[\" || type === \"doindent\" || type == \"[\") state.stack.push(\"rule\");\n      else if (type === \"endtag\") state.stack[state.stack.length-1] = \"endtag\";\n      else if (stream.current() == \"]\" || type == \"]\" || (type == \">\" && context == \"rule\")) state.stack.pop();\n      else if (type == \"[\") state.stack.push(\"[\");\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var n = state.stack.length;\n\n      if( textAfter.match(/\\]\\s+|\\]/) )n=n-1;\n      else if(textAfter.substr(textAfter.length-1, textAfter.length) === \">\"){\n        if(textAfter.substr(0,1) === \"<\")n;\n        else if( type == \"doindent\" && textAfter.length > 1 )n;\n        else if( type == \"doindent\")n--;\n        else if( type == \">\" && textAfter.length > 1)n;\n        else if( type == \"tag\" && textAfter !== \">\")n;\n        else if( type == \"tag\" && state.stack[state.stack.length-1] == \"rule\")n--;\n        else if( type == \"tag\")n++;\n        else if( textAfter === \">\" && state.stack[state.stack.length-1] == \"rule\" && type === \">\")n--;\n        else if( textAfter === \">\" && state.stack[state.stack.length-1] == \"rule\")n;\n        else if( textAfter.substr(0,1) !== \"<\" && textAfter.substr(0,1) === \">\" )n=n-1;\n        else if( textAfter === \">\")n;\n        else n=n-1;\n        //over rule them all\n        if(type == null || type == \"]\")n--;\n      }\n\n      return state.baseIndent + n * indentUnit;\n    },\n\n    electricChars: \"]>\"\n  };\n});\n\nCodeMirror.defineMIME(\"application/xml-dtd\", \"dtd\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/dtd/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: DTD mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"dtd.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">DTD</a>\n  </ul>\n</div>\n\n<article>\n<h2>DTD mode</h2>\n<form><textarea id=\"code\" name=\"code\"><?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<!ATTLIST title\n  xmlns\tCDATA\t#FIXED\t\"http://docbook.org/ns/docbook\"\n  role\tCDATA\t#IMPLIED\n  %db.common.attributes;\n  %db.common.linking.attributes;\n>\n\n<!--\n  Try: http://docbook.org/xml/5.0/dtd/docbook.dtd\n-->\n\n<!DOCTYPE xsl:stylesheet\n  [\n    <!ENTITY nbsp   \"&amp;#160;\">\n    <!ENTITY copy   \"&amp;#169;\">\n    <!ENTITY reg    \"&amp;#174;\">\n    <!ENTITY trade  \"&amp;#8482;\">\n    <!ENTITY mdash  \"&amp;#8212;\">\n    <!ENTITY ldquo  \"&amp;#8220;\">\n    <!ENTITY rdquo  \"&amp;#8221;\">\n    <!ENTITY pound  \"&amp;#163;\">\n    <!ENTITY yen    \"&amp;#165;\">\n    <!ENTITY euro   \"&amp;#8364;\">\n    <!ENTITY mathml \"http://www.w3.org/1998/Math/MathML\">\n  ]\n>\n\n<!ELEMENT title (#PCDATA|inlinemediaobject|remark|superscript|subscript|xref|link|olink|anchor|biblioref|alt|annotation|indexterm|abbrev|acronym|date|emphasis|footnote|footnoteref|foreignphrase|phrase|quote|wordasword|firstterm|glossterm|coref|trademark|productnumber|productname|database|application|hardware|citation|citerefentry|citetitle|citebiblioid|author|person|personname|org|orgname|editor|jobtitle|replaceable|package|parameter|termdef|nonterminal|systemitem|option|optional|property|inlineequation|tag|markup|token|symbol|literal|code|constant|email|uri|guiicon|guibutton|guimenuitem|guimenu|guisubmenu|guilabel|menuchoice|mousebutton|keycombo|keycap|keycode|keysym|shortcut|accel|prompt|envar|filename|command|computeroutput|userinput|function|varname|returnvalue|type|classname|exceptionname|interfacename|methodname|modifier|initializer|ooclass|ooexception|oointerface|errorcode|errortext|errorname|errortype)*>\n\n<!ENTITY % db.common.attributes \"\n  xml:id\tID\t#IMPLIED\n  version\tCDATA\t#IMPLIED\n  xml:lang\tCDATA\t#IMPLIED\n  xml:base\tCDATA\t#IMPLIED\n  remap\tCDATA\t#IMPLIED\n  xreflabel\tCDATA\t#IMPLIED\n  revisionflag\t(changed|added|deleted|off)\t#IMPLIED\n  dir\t(ltr|rtl|lro|rlo)\t#IMPLIED\n  arch\tCDATA\t#IMPLIED\n  audience\tCDATA\t#IMPLIED\n  condition\tCDATA\t#IMPLIED\n  conformance\tCDATA\t#IMPLIED\n  os\tCDATA\t#IMPLIED\n  revision\tCDATA\t#IMPLIED\n  security\tCDATA\t#IMPLIED\n  userlevel\tCDATA\t#IMPLIED\n  vendor\tCDATA\t#IMPLIED\n  wordsize\tCDATA\t#IMPLIED\n  annotations\tCDATA\t#IMPLIED\n\n\"></textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"dtd\", alignCDATA: true},\n        lineNumbers: true,\n        lineWrapping: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>application/xml-dtd</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/dylan/dylan.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"dylan\", function(_config) {\n  // Words\n  var words = {\n    // Words that introduce unnamed definitions like \"define interface\"\n    unnamedDefinition: [\"interface\"],\n\n    // Words that introduce simple named definitions like \"define library\"\n    namedDefinition: [\"module\", \"library\", \"macro\",\n                      \"C-struct\", \"C-union\",\n                      \"C-function\", \"C-callable-wrapper\"\n                     ],\n\n    // Words that introduce type definitions like \"define class\".\n    // These are also parameterized like \"define method\" and are\n    // appended to otherParameterizedDefinitionWords\n    typeParameterizedDefinition: [\"class\", \"C-subtype\", \"C-mapped-subtype\"],\n\n    // Words that introduce trickier definitions like \"define method\".\n    // These require special definitions to be added to startExpressions\n    otherParameterizedDefinition: [\"method\", \"function\",\n                                   \"C-variable\", \"C-address\"\n                                  ],\n\n    // Words that introduce module constant definitions.\n    // These must also be simple definitions and are\n    // appended to otherSimpleDefinitionWords\n    constantSimpleDefinition: [\"constant\"],\n\n    // Words that introduce module variable definitions.\n    // These must also be simple definitions and are\n    // appended to otherSimpleDefinitionWords\n    variableSimpleDefinition: [\"variable\"],\n\n    // Other words that introduce simple definitions\n    // (without implicit bodies).\n    otherSimpleDefinition: [\"generic\", \"domain\",\n                            \"C-pointer-type\",\n                            \"table\"\n                           ],\n\n    // Words that begin statements with implicit bodies.\n    statement: [\"if\", \"block\", \"begin\", \"method\", \"case\",\n                \"for\", \"select\", \"when\", \"unless\", \"until\",\n                \"while\", \"iterate\", \"profiling\", \"dynamic-bind\"\n               ],\n\n    // Patterns that act as separators in compound statements.\n    // This may include any general pattern that must be indented\n    // specially.\n    separator: [\"finally\", \"exception\", \"cleanup\", \"else\",\n                \"elseif\", \"afterwards\"\n               ],\n\n    // Keywords that do not require special indentation handling,\n    // but which should be highlighted\n    other: [\"above\", \"below\", \"by\", \"from\", \"handler\", \"in\",\n            \"instance\", \"let\", \"local\", \"otherwise\", \"slot\",\n            \"subclass\", \"then\", \"to\", \"keyed-by\", \"virtual\"\n           ],\n\n    // Condition signaling function calls\n    signalingCalls: [\"signal\", \"error\", \"cerror\",\n                     \"break\", \"check-type\", \"abort\"\n                    ]\n  };\n\n  words[\"otherDefinition\"] =\n    words[\"unnamedDefinition\"]\n    .concat(words[\"namedDefinition\"])\n    .concat(words[\"otherParameterizedDefinition\"]);\n\n  words[\"definition\"] =\n    words[\"typeParameterizedDefinition\"]\n    .concat(words[\"otherDefinition\"]);\n\n  words[\"parameterizedDefinition\"] =\n    words[\"typeParameterizedDefinition\"]\n    .concat(words[\"otherParameterizedDefinition\"]);\n\n  words[\"simpleDefinition\"] =\n    words[\"constantSimpleDefinition\"]\n    .concat(words[\"variableSimpleDefinition\"])\n    .concat(words[\"otherSimpleDefinition\"]);\n\n  words[\"keyword\"] =\n    words[\"statement\"]\n    .concat(words[\"separator\"])\n    .concat(words[\"other\"]);\n\n  // Patterns\n  var symbolPattern = \"[-_a-zA-Z?!*@<>$%]+\";\n  var symbol = new RegExp(\"^\" + symbolPattern);\n  var patterns = {\n    // Symbols with special syntax\n    symbolKeyword: symbolPattern + \":\",\n    symbolClass: \"<\" + symbolPattern + \">\",\n    symbolGlobal: \"\\\\*\" + symbolPattern + \"\\\\*\",\n    symbolConstant: \"\\\\$\" + symbolPattern\n  };\n  var patternStyles = {\n    symbolKeyword: \"atom\",\n    symbolClass: \"tag\",\n    symbolGlobal: \"variable-2\",\n    symbolConstant: \"variable-3\"\n  };\n\n  // Compile all patterns to regular expressions\n  for (var patternName in patterns)\n    if (patterns.hasOwnProperty(patternName))\n      patterns[patternName] = new RegExp(\"^\" + patterns[patternName]);\n\n  // Names beginning \"with-\" and \"without-\" are commonly\n  // used as statement macro\n  patterns[\"keyword\"] = [/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];\n\n  var styles = {};\n  styles[\"keyword\"] = \"keyword\";\n  styles[\"definition\"] = \"def\";\n  styles[\"simpleDefinition\"] = \"def\";\n  styles[\"signalingCalls\"] = \"builtin\";\n\n  // protected words lookup table\n  var wordLookup = {};\n  var styleLookup = {};\n\n  [\n    \"keyword\",\n    \"definition\",\n    \"simpleDefinition\",\n    \"signalingCalls\"\n  ].forEach(function(type) {\n    words[type].forEach(function(word) {\n      wordLookup[word] = type;\n      styleLookup[word] = styles[type];\n    });\n  });\n\n\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n\n  var type, content;\n\n  function ret(_type, style, _content) {\n    type = _type;\n    content = _content;\n    return style;\n  }\n\n  function tokenBase(stream, state) {\n    // String\n    var ch = stream.peek();\n    if (ch == \"'\" || ch == '\"') {\n      stream.next();\n      return chain(stream, state, tokenString(ch, \"string\", \"string\"));\n    }\n    // Comment\n    else if (ch == \"/\") {\n      stream.next();\n      if (stream.eat(\"*\")) {\n        return chain(stream, state, tokenComment);\n      } else if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return ret(\"comment\", \"comment\");\n      } else {\n        stream.skipTo(\" \");\n        return ret(\"operator\", \"operator\");\n      }\n    }\n    // Decimal\n    else if (/\\d/.test(ch)) {\n      stream.match(/^\\d*(?:\\.\\d*)?(?:e[+\\-]?\\d+)?/);\n      return ret(\"number\", \"number\");\n    }\n    // Hash\n    else if (ch == \"#\") {\n      stream.next();\n      // Symbol with string syntax\n      ch = stream.peek();\n      if (ch == '\"') {\n        stream.next();\n        return chain(stream, state, tokenString('\"', \"symbol\", \"string-2\"));\n      }\n      // Binary number\n      else if (ch == \"b\") {\n        stream.next();\n        stream.eatWhile(/[01]/);\n        return ret(\"number\", \"number\");\n      }\n      // Hex number\n      else if (ch == \"x\") {\n        stream.next();\n        stream.eatWhile(/[\\da-f]/i);\n        return ret(\"number\", \"number\");\n      }\n      // Octal number\n      else if (ch == \"o\") {\n        stream.next();\n        stream.eatWhile(/[0-7]/);\n        return ret(\"number\", \"number\");\n      }\n      // Hash symbol\n      else {\n        stream.eatWhile(/[-a-zA-Z]/);\n        return ret(\"hash\", \"keyword\");\n      }\n    } else if (stream.match(\"end\")) {\n      return ret(\"end\", \"keyword\");\n    }\n    for (var name in patterns) {\n      if (patterns.hasOwnProperty(name)) {\n        var pattern = patterns[name];\n        if ((pattern instanceof Array && pattern.some(function(p) {\n          return stream.match(p);\n        })) || stream.match(pattern))\n          return ret(name, patternStyles[name], stream.current());\n      }\n    }\n    if (stream.match(\"define\")) {\n      return ret(\"definition\", \"def\");\n    } else {\n      stream.eatWhile(/[\\w\\-]/);\n      // Keyword\n      if (wordLookup[stream.current()]) {\n        return ret(wordLookup[stream.current()], styleLookup[stream.current()], stream.current());\n      } else if (stream.current().match(symbol)) {\n        return ret(\"variable\", \"variable\");\n      } else {\n        stream.next();\n        return ret(\"other\", \"variable-2\");\n      }\n    }\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false,\n    ch;\n    while ((ch = stream.next())) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenString(quote, type, style) {\n    return function(stream, state) {\n      var next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote) {\n          end = true;\n          break;\n        }\n      }\n      if (end)\n        state.tokenize = tokenBase;\n      return ret(type, style);\n    };\n  }\n\n  // Interface\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        currentIndent: 0\n      };\n    },\n    token: function(stream, state) {\n      if (stream.eatSpace())\n        return null;\n      var style = state.tokenize(stream, state);\n      return style;\n    },\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-dylan\", \"dylan\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/dylan/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Dylan mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"../../addon/comment/continuecomment.js\"></script>\n<script src=\"../../addon/comment/comment.js\"></script>\n<script src=\"dylan.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Dylan</a>\n  </ul>\n</div>\n\n<article>\n<h2>Dylan mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\nModule:       locators-internals\nSynopsis:     Abstract modeling of locations\nAuthor:       Andy Armstrong\nCopyright:    Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.\n              All rights reserved.\nLicense:      See License.txt in this distribution for details.\nWarranty:     Distributed WITHOUT WARRANTY OF ANY KIND\n\ndefine open generic locator-server\n    (locator :: <locator>) => (server :: false-or(<server-locator>));\ndefine open generic locator-host\n    (locator :: <locator>) => (host :: false-or(<string>));\ndefine open generic locator-volume\n    (locator :: <locator>) => (volume :: false-or(<string>));\ndefine open generic locator-directory\n    (locator :: <locator>) => (directory :: false-or(<directory-locator>));\ndefine open generic locator-relative?\n    (locator :: <locator>) => (relative? :: <boolean>);\ndefine open generic locator-path\n    (locator :: <locator>) => (path :: <sequence>);\ndefine open generic locator-base\n    (locator :: <locator>) => (base :: false-or(<string>));\ndefine open generic locator-extension\n    (locator :: <locator>) => (extension :: false-or(<string>));\n\n/// Locator classes\n\ndefine open abstract class <directory-locator> (<physical-locator>)\nend class <directory-locator>;\n\ndefine open abstract class <file-locator> (<physical-locator>)\nend class <file-locator>;\n\ndefine method as\n    (class == <directory-locator>, string :: <string>)\n => (locator :: <directory-locator>)\n  as(<native-directory-locator>, string)\nend method as;\n\ndefine method make\n    (class == <directory-locator>,\n     #key server :: false-or(<server-locator>) = #f,\n          path :: <sequence> = #[],\n          relative? :: <boolean> = #f,\n          name :: false-or(<string>) = #f)\n => (locator :: <directory-locator>)\n  make(<native-directory-locator>,\n       server:    server,\n       path:      path,\n       relative?: relative?,\n       name:      name)\nend method make;\n\ndefine method as\n    (class == <file-locator>, string :: <string>)\n => (locator :: <file-locator>)\n  as(<native-file-locator>, string)\nend method as;\n\ndefine method make\n    (class == <file-locator>,\n     #key directory :: false-or(<directory-locator>) = #f,\n          base :: false-or(<string>) = #f,\n          extension :: false-or(<string>) = #f,\n          name :: false-or(<string>) = #f)\n => (locator :: <file-locator>)\n  make(<native-file-locator>,\n       directory: directory,\n       base:      base,\n       extension: extension,\n       name:      name)\nend method make;\n\n/// Locator coercion\n\n//---*** andrewa: This caching scheme doesn't work yet, so disable it.\ndefine constant $cache-locators?        = #f;\ndefine constant $cache-locator-strings? = #f;\n\ndefine constant $locator-to-string-cache = make(<object-table>, weak: #\"key\");\ndefine constant $string-to-locator-cache = make(<string-table>, weak: #\"value\");\n\ndefine open generic locator-as-string\n    (class :: subclass(<string>), locator :: <locator>)\n => (string :: <string>);\n\ndefine open generic string-as-locator\n    (class :: subclass(<locator>), string :: <string>)\n => (locator :: <locator>);\n\ndefine sealed sideways method as\n    (class :: subclass(<string>), locator :: <locator>)\n => (string :: <string>)\n  let string = element($locator-to-string-cache, locator, default: #f);\n  if (string)\n    as(class, string)\n  else\n    let string = locator-as-string(class, locator);\n    if ($cache-locator-strings?)\n      element($locator-to-string-cache, locator) := string;\n    else\n      string\n    end\n  end\nend method as;\n\ndefine sealed sideways method as\n    (class :: subclass(<locator>), string :: <string>)\n => (locator :: <locator>)\n  let locator = element($string-to-locator-cache, string, default: #f);\n  if (instance?(locator, class))\n    locator\n  else\n    let locator = string-as-locator(class, string);\n    if ($cache-locators?)\n      element($string-to-locator-cache, string) := locator;\n    else\n      locator\n    end\n  end\nend method as;\n\n/// Locator conditions\n\ndefine class <locator-error> (<format-string-condition>, <error>)\nend class <locator-error>;\n\ndefine function locator-error\n    (format-string :: <string>, #rest format-arguments)\n  error(make(<locator-error>, \n             format-string:    format-string,\n             format-arguments: format-arguments))\nend function locator-error;\n\n/// Useful locator protocols\n\ndefine open generic locator-test\n    (locator :: <directory-locator>) => (test :: <function>);\n\ndefine method locator-test\n    (locator :: <directory-locator>) => (test :: <function>)\n  \\=\nend method locator-test;\n\ndefine open generic locator-might-have-links?\n    (locator :: <directory-locator>) => (links? :: <boolean>);\n\ndefine method locator-might-have-links?\n    (locator :: <directory-locator>) => (links? :: singleton(#f))\n  #f\nend method locator-might-have-links?;\n\ndefine method locator-relative?\n    (locator :: <file-locator>) => (relative? :: <boolean>)\n  let directory = locator.locator-directory;\n  ~directory | directory.locator-relative?\nend method locator-relative?;\n\ndefine method current-directory-locator?\n    (locator :: <directory-locator>) => (current-directory? :: <boolean>)\n  locator.locator-relative?\n    & locator.locator-path = #[#\"self\"]\nend method current-directory-locator?;\n\ndefine method locator-directory\n    (locator :: <directory-locator>) => (parent :: false-or(<directory-locator>))\n  let path = locator.locator-path;\n  unless (empty?(path))\n    make(object-class(locator),\n         server:    locator.locator-server,\n         path:      copy-sequence(path, end: path.size - 1),\n         relative?: locator.locator-relative?)\n  end\nend method locator-directory;\n\n/// Simplify locator\n\ndefine open generic simplify-locator\n    (locator :: <physical-locator>)\n => (simplified-locator :: <physical-locator>);\n\ndefine method simplify-locator\n    (locator :: <directory-locator>)\n => (simplified-locator :: <directory-locator>)\n  let path = locator.locator-path;\n  let relative? = locator.locator-relative?;\n  let resolve-parent? = ~locator.locator-might-have-links?;\n  let simplified-path\n    = simplify-path(path, \n                    resolve-parent?: resolve-parent?,\n                    relative?: relative?);\n  if (path ~= simplified-path)\n    make(object-class(locator),\n         server:    locator.locator-server,\n         path:      simplified-path,\n         relative?: locator.locator-relative?)\n  else\n    locator\n  end\nend method simplify-locator;\n\ndefine method simplify-locator\n    (locator :: <file-locator>) => (simplified-locator :: <file-locator>)\n  let directory = locator.locator-directory;\n  let simplified-directory = directory & simplify-locator(directory);\n  if (directory ~= simplified-directory)\n    make(object-class(locator),\n         directory: simplified-directory,\n         base:      locator.locator-base,\n         extension: locator.locator-extension)\n  else\n    locator\n  end\nend method simplify-locator;\n\n/// Subdirectory locator\n\ndefine open generic subdirectory-locator\n    (locator :: <directory-locator>, #rest sub-path)\n => (subdirectory :: <directory-locator>);\n\ndefine method subdirectory-locator\n    (locator :: <directory-locator>, #rest sub-path)\n => (subdirectory :: <directory-locator>)\n  let old-path = locator.locator-path;\n  let new-path = concatenate-as(<simple-object-vector>, old-path, sub-path);\n  make(object-class(locator),\n       server:    locator.locator-server,\n       path:      new-path,\n       relative?: locator.locator-relative?)\nend method subdirectory-locator;\n\n/// Relative locator\n\ndefine open generic relative-locator\n    (locator :: <physical-locator>, from-locator :: <physical-locator>)\n => (relative-locator :: <physical-locator>);\n\ndefine method relative-locator\n    (locator :: <directory-locator>, from-locator :: <directory-locator>)\n => (relative-locator :: <directory-locator>)\n  let path = locator.locator-path;\n  let from-path = from-locator.locator-path;\n  case\n    ~locator.locator-relative? & from-locator.locator-relative? =>\n      locator-error\n        (\"Cannot find relative path of absolute locator %= from relative locator %=\",\n         locator, from-locator);\n    locator.locator-server ~= from-locator.locator-server =>\n      locator;\n    path = from-path =>\n      make(object-class(locator),\n           path: vector(#\"self\"),\n           relative?: #t);\n    otherwise =>\n      make(object-class(locator),\n           path: relative-path(path, from-path, test: locator.locator-test),\n           relative?: #t);\n  end\nend method relative-locator;\n\ndefine method relative-locator\n    (locator :: <file-locator>, from-directory :: <directory-locator>)\n => (relative-locator :: <file-locator>)\n  let directory = locator.locator-directory;\n  let relative-directory = directory & relative-locator(directory, from-directory);\n  if (relative-directory ~= directory)\n    simplify-locator\n      (make(object-class(locator),\n            directory: relative-directory,\n            base:      locator.locator-base,\n            extension: locator.locator-extension))\n  else\n    locator\n  end\nend method relative-locator;\n\ndefine method relative-locator\n    (locator :: <physical-locator>, from-locator :: <file-locator>)\n => (relative-locator :: <physical-locator>)\n  let from-directory = from-locator.locator-directory;\n  case\n    from-directory =>\n      relative-locator(locator, from-directory);\n    ~locator.locator-relative? =>\n      locator-error\n        (\"Cannot find relative path of absolute locator %= from relative locator %=\",\n         locator, from-locator);\n    otherwise =>\n      locator;\n  end\nend method relative-locator;\n\n/// Merge locators\n\ndefine open generic merge-locators\n    (locator :: <physical-locator>, from-locator :: <physical-locator>)\n => (merged-locator :: <physical-locator>);\n\n/// Merge locators\n\ndefine method merge-locators\n    (locator :: <directory-locator>, from-locator :: <directory-locator>)\n => (merged-locator :: <directory-locator>)\n  if (locator.locator-relative?)\n    let path = concatenate(from-locator.locator-path, locator.locator-path);\n    simplify-locator\n      (make(object-class(locator),\n            server:    from-locator.locator-server,\n            path:      path,\n            relative?: from-locator.locator-relative?))\n  else\n    locator\n  end\nend method merge-locators;\n\ndefine method merge-locators\n    (locator :: <file-locator>, from-locator :: <directory-locator>)\n => (merged-locator :: <file-locator>)\n  let directory = locator.locator-directory;\n  let merged-directory \n    = if (directory)\n        merge-locators(directory, from-locator)\n      else\n        simplify-locator(from-locator)\n      end;\n  if (merged-directory ~= directory)\n    make(object-class(locator),\n         directory: merged-directory,\n         base:      locator.locator-base,\n         extension: locator.locator-extension)\n  else\n    locator\n  end\nend method merge-locators;\n\ndefine method merge-locators\n    (locator :: <physical-locator>, from-locator :: <file-locator>)\n => (merged-locator :: <physical-locator>)\n  let from-directory = from-locator.locator-directory;\n  if (from-directory)\n    merge-locators(locator, from-directory)\n  else\n    locator\n  end\nend method merge-locators;\n\n/// Locator protocols\n\ndefine sideways method supports-open-locator?\n    (locator :: <file-locator>) => (openable? :: <boolean>)\n  ~locator.locator-relative?\nend method supports-open-locator?;\n\ndefine sideways method open-locator\n    (locator :: <file-locator>, #rest keywords, #key, #all-keys)\n => (stream :: <stream>)\n  apply(open-file-stream, locator, keywords)\nend method open-locator;\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/x-dylan\",\n        lineNumbers: true,\n        matchBrackets: true,\n        continueComments: \"Enter\",\n        extraKeys: {\"Ctrl-Q\": \"toggleComment\"},\n        tabMode: \"indent\",\n        indentUnit: 2\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-dylan</code>.</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/ebnf/ebnf.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineMode(\"ebnf\", function (config) {\n    var commentType = {slash: 0, parenthesis: 1};\n    var stateType = {comment: 0, _string: 1, characterClass: 2};\n    var bracesMode = null;\n\n    if (config.bracesMode)\n      bracesMode = CodeMirror.getMode(config, config.bracesMode);\n\n    return {\n      startState: function () {\n        return {\n          stringType: null,\n          commentType: null,\n          braced: 0,\n          lhs: true,\n          localState: null,\n          stack: [],\n          inDefinition: false\n        };\n      },\n      token: function (stream, state) {\n        if (!stream) return;\n\n        //check for state changes\n        if (state.stack.length === 0) {\n          //strings\n          if ((stream.peek() == '\"') || (stream.peek() == \"'\")) {\n            state.stringType = stream.peek();\n            stream.next(); // Skip quote\n            state.stack.unshift(stateType._string);\n          } else if (stream.match(/^\\/\\*/)) { //comments starting with /*\n            state.stack.unshift(stateType.comment);\n            state.commentType = commentType.slash;\n          } else if (stream.match(/^\\(\\*/)) { //comments starting with (*\n            state.stack.unshift(stateType.comment);\n            state.commentType = commentType.parenthesis;\n          }\n        }\n\n        //return state\n        //stack has\n        switch (state.stack[0]) {\n        case stateType._string:\n          while (state.stack[0] === stateType._string && !stream.eol()) {\n            if (stream.peek() === state.stringType) {\n              stream.next(); // Skip quote\n              state.stack.shift(); // Clear flag\n            } else if (stream.peek() === \"\\\\\") {\n              stream.next();\n              stream.next();\n            } else {\n              stream.match(/^.[^\\\\\\\"\\']*/);\n            }\n          }\n          return state.lhs ? \"property string\" : \"string\"; // Token style\n\n        case stateType.comment:\n          while (state.stack[0] === stateType.comment && !stream.eol()) {\n            if (state.commentType === commentType.slash && stream.match(/\\*\\//)) {\n              state.stack.shift(); // Clear flag\n              state.commentType = null;\n            } else if (state.commentType === commentType.parenthesis && stream.match(/\\*\\)/)) {\n              state.stack.shift(); // Clear flag\n              state.commentType = null;\n            } else {\n              stream.match(/^.[^\\*]*/);\n            }\n          }\n          return \"comment\";\n\n        case stateType.characterClass:\n          while (state.stack[0] === stateType.characterClass && !stream.eol()) {\n            if (!(stream.match(/^[^\\]\\\\]+/) || stream.match(/^\\\\./))) {\n              state.stack.shift();\n            }\n          }\n          return \"operator\";\n        }\n\n        var peek = stream.peek();\n\n        if (bracesMode !== null && (state.braced || peek === \"{\")) {\n          if (state.localState === null)\n            state.localState = bracesMode.startState();\n\n          var token = bracesMode.token(stream, state.localState),\n          text = stream.current();\n\n          if (!token) {\n            for (var i = 0; i < text.length; i++) {\n              if (text[i] === \"{\") {\n                if (state.braced === 0) {\n                  token = \"matchingbracket\";\n                }\n                state.braced++;\n              } else if (text[i] === \"}\") {\n                state.braced--;\n                if (state.braced === 0) {\n                  token = \"matchingbracket\";\n                }\n              }\n            }\n          }\n          return token;\n        }\n\n        //no stack\n        switch (peek) {\n        case \"[\":\n          stream.next();\n          state.stack.unshift(stateType.characterClass);\n          return \"bracket\";\n        case \":\":\n        case \"|\":\n        case \";\":\n          stream.next();\n          return \"operator\";\n        case \"%\":\n          if (stream.match(\"%%\")) {\n            return \"header\";\n          } else if (stream.match(/[%][A-Za-z]+/)) {\n            return \"keyword\";\n          } else if (stream.match(/[%][}]/)) {\n            return \"matchingbracket\";\n          }\n          break;\n        case \"/\":\n          if (stream.match(/[\\/][A-Za-z]+/)) {\n          return \"keyword\";\n        }\n        case \"\\\\\":\n          if (stream.match(/[\\][a-z]+/)) {\n            return \"string-2\";\n          }\n        case \".\":\n          if (stream.match(\".\")) {\n            return \"atom\";\n          }\n        case \"*\":\n        case \"-\":\n        case \"+\":\n        case \"^\":\n          if (stream.match(peek)) {\n            return \"atom\";\n          }\n        case \"$\":\n          if (stream.match(\"$$\")) {\n            return \"builtin\";\n          } else if (stream.match(/[$][0-9]+/)) {\n            return \"variable-3\";\n          }\n        case \"<\":\n          if (stream.match(/<<[a-zA-Z_]+>>/)) {\n            return \"builtin\";\n          }\n        }\n\n        if (stream.match(/^\\/\\//)) {\n          stream.skipToEnd();\n          return \"comment\";\n        } else if (stream.match(/return/)) {\n          return \"operator\";\n        } else if (stream.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)) {\n          if (stream.match(/(?=[\\(.])/)) {\n            return \"variable\";\n          } else if (stream.match(/(?=[\\s\\n]*[:=])/)) {\n            return \"def\";\n          }\n          return \"variable-2\";\n        } else if ([\"[\", \"]\", \"(\", \")\"].indexOf(stream.peek()) != -1) {\n          stream.next();\n          return \"bracket\";\n        } else if (!stream.eatSpace()) {\n          stream.next();\n        }\n        return null;\n      }\n    };\n  });\n\n  CodeMirror.defineMIME(\"text/x-ebnf\", \"ebnf\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/ebnf/index.html",
    "content": "<!doctype html>\n<html>\n  <head>\n    <title>CodeMirror: EBNF Mode</title>\n    <meta charset=\"utf-8\"/>\n    <link rel=stylesheet href=\"../../doc/docs.css\">\n\n    <link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n    <script src=\"../../lib/codemirror.js\"></script>\n    <script src=\"../javascript/javascript.js\"></script>\n    <script src=\"ebnf.js\"></script>\n    <style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n  </head>\n  <body>\n    <div id=nav>\n      <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n      <ul>\n        <li><a href=\"../../index.html\">Home</a>\n        <li><a href=\"../../doc/manual.html\">Manual</a>\n        <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n      </ul>\n      <ul>\n        <li><a href=\"../index.html\">Language modes</a>\n        <li><a class=active href=\"#\">EBNF Mode</a>\n      </ul>\n    </div>\n\n    <article>\n      <h2>EBNF Mode (bracesMode setting = \"javascript\")</h2>\n      <form><textarea id=\"code\" name=\"code\">\n/* description: Parses end executes mathematical expressions. */\n\n/* lexical grammar */\n%lex\n\n%%\n\\s+                   /* skip whitespace */\n[0-9]+(\".\"[0-9]+)?\\b  return 'NUMBER';\n\"*\"                   return '*';\n\"/\"                   return '/';\n\"-\"                   return '-';\n\"+\"                   return '+';\n\"^\"                   return '^';\n\"(\"                   return '(';\n\")\"                   return ')';\n\"PI\"                  return 'PI';\n\"E\"                   return 'E';\n&lt;&lt;EOF&gt;&gt;               return 'EOF';\n\n/lex\n\n/* operator associations and precedence */\n\n%left '+' '-'\n%left '*' '/'\n%left '^'\n%left UMINUS\n\n%start expressions\n\n%% /* language grammar */\n\nexpressions\n: e EOF\n{print($1); return $1;}\n;\n\ne\n: e '+' e\n{$$ = $1+$3;}\n| e '-' e\n{$$ = $1-$3;}\n| e '*' e\n{$$ = $1*$3;}\n| e '/' e\n{$$ = $1/$3;}\n| e '^' e\n{$$ = Math.pow($1, $3);}\n| '-' e %prec UMINUS\n{$$ = -$2;}\n| '(' e ')'\n{$$ = $2;}\n| NUMBER\n{$$ = Number(yytext);}\n| E\n{$$ = Math.E;}\n| PI\n{$$ = Math.PI;}\n;</textarea></form>\n      <script>\n        var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n          mode: {name: \"ebnf\"},\n          lineNumbers: true,\n          bracesMode: 'javascript'\n        });\n      </script>\n      <h3>The EBNF Mode</h3>\n      <p> Created by <a href=\"https://github.com/robertleeplummerjr\">Robert Plummer</a></p>\n    </article>\n  </body>\n</html>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/ecl/ecl.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"ecl\", function(config) {\n\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  function metaHook(stream, state) {\n    if (!state.startOfLine) return false;\n    stream.skipToEnd();\n    return \"meta\";\n  }\n\n  var indentUnit = config.indentUnit;\n  var keyword = words(\"abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode\");\n  var variable = words(\"apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait\");\n  var variable_2 = words(\"__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath\");\n  var variable_3 = words(\"ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode\");\n  var builtin = words(\"checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when\");\n  var blockKeywords = words(\"catch class do else finally for if switch try while\");\n  var atoms = words(\"true false null\");\n  var hooks = {\"#\": metaHook};\n  var multiLineStrings;\n  var isOperatorChar = /[+\\-*&%=<>!?|\\/]/;\n\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (hooks[ch]) {\n      var result = hooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    var cur = stream.current().toLowerCase();\n    if (keyword.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"keyword\";\n    } else if (variable.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"variable\";\n    } else if (variable_2.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"variable-2\";\n    } else if (variable_3.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"variable-3\";\n    } else if (builtin.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"builtin\";\n    } else { //Data types are of from KEYWORD##\n                var i = cur.length - 1;\n                while(i >= 0 && (!isNaN(cur[i]) || cur[i] == '_'))\n                        --i;\n\n                if (i > 0) {\n                        var cur2 = cur.substr(0, i + 1);\n                if (variable_3.propertyIsEnumerable(cur2)) {\n                        if (blockKeywords.propertyIsEnumerable(cur2)) curPunc = \"newstatement\";\n                        return \"variable-3\";\n                }\n            }\n    }\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return null;\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || multiLineStrings))\n        state.tokenize = tokenBase;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    return state.context = new Context(state.indented, col, type, null, state.context);\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: null,\n        context: new Context((basecolumn || 0) - indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if ((curPunc == \";\" || curPunc == \":\") && ctx.type == \"statement\") popContext(state);\n      else if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"}\") {\n        while (ctx.type == \"statement\") ctx = popContext(state);\n        if (ctx.type == \"}\") ctx = popContext(state);\n        while (ctx.type == \"statement\") ctx = popContext(state);\n      }\n      else if (curPunc == ctx.type) popContext(state);\n      else if (ctx.type == \"}\" || ctx.type == \"top\" || (ctx.type == \"statement\" && curPunc == \"newstatement\"))\n        pushContext(state, stream.column(), \"statement\");\n      state.startOfLine = false;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase && state.tokenize != null) return 0;\n      var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);\n      if (ctx.type == \"statement\" && firstChar == \"}\") ctx = ctx.prev;\n      var closing = firstChar == ctx.type;\n      if (ctx.type == \"statement\") return ctx.indented + (firstChar == \"{\" ? 0 : indentUnit);\n      else if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-ecl\", \"ecl\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/ecl/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: ECL mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"ecl.js\"></script>\n<style>.CodeMirror {border: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">ECL</a>\n  </ul>\n</div>\n\n<article>\n<h2>ECL mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n/*\nsample useless code to demonstrate ecl syntax highlighting\nthis is a multiline comment!\n*/\n\n//  this is a singleline comment!\n\nimport ut;\nr := \n  record\n   string22 s1 := '123';\n   integer4 i1 := 123;\n  end;\n#option('tmp', true);\nd := dataset('tmp::qb', r, thor);\noutput(d);\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p>Based on CodeMirror's clike mode.  For more information see <a href=\"http://hpccsystems.com\">HPCC Systems</a> web site.</p>\n    <p><strong>MIME types defined:</strong> <code>text/x-ecl</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/eiffel/eiffel.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"eiffel\", function() {\n  function wordObj(words) {\n    var o = {};\n    for (var i = 0, e = words.length; i < e; ++i) o[words[i]] = true;\n    return o;\n  }\n  var keywords = wordObj([\n    'note',\n    'across',\n    'when',\n    'variant',\n    'until',\n    'unique',\n    'undefine',\n    'then',\n    'strip',\n    'select',\n    'retry',\n    'rescue',\n    'require',\n    'rename',\n    'reference',\n    'redefine',\n    'prefix',\n    'once',\n    'old',\n    'obsolete',\n    'loop',\n    'local',\n    'like',\n    'is',\n    'inspect',\n    'infix',\n    'include',\n    'if',\n    'frozen',\n    'from',\n    'external',\n    'export',\n    'ensure',\n    'end',\n    'elseif',\n    'else',\n    'do',\n    'creation',\n    'create',\n    'check',\n    'alias',\n    'agent',\n    'separate',\n    'invariant',\n    'inherit',\n    'indexing',\n    'feature',\n    'expanded',\n    'deferred',\n    'class',\n    'Void',\n    'True',\n    'Result',\n    'Precursor',\n    'False',\n    'Current',\n    'create',\n    'attached',\n    'detachable',\n    'as',\n    'and',\n    'implies',\n    'not',\n    'or'\n  ]);\n  var operators = wordObj([\":=\", \"and then\",\"and\", \"or\",\"<<\",\">>\"]);\n  var curPunc;\n\n  function chain(newtok, stream, state) {\n    state.tokenize.push(newtok);\n    return newtok(stream, state);\n  }\n\n  function tokenBase(stream, state) {\n    curPunc = null;\n    if (stream.eatSpace()) return null;\n    var ch = stream.next();\n    if (ch == '\"'||ch == \"'\") {\n      return chain(readQuoted(ch, \"string\"), stream, state);\n    } else if (ch == \"-\"&&stream.eat(\"-\")) {\n      stream.skipToEnd();\n      return \"comment\";\n    } else if (ch == \":\"&&stream.eat(\"=\")) {\n      return \"operator\";\n    } else if (/[0-9]/.test(ch)) {\n      stream.eatWhile(/[xXbBCc0-9\\.]/);\n      stream.eat(/[\\?\\!]/);\n      return \"ident\";\n    } else if (/[a-zA-Z_0-9]/.test(ch)) {\n      stream.eatWhile(/[a-zA-Z_0-9]/);\n      stream.eat(/[\\?\\!]/);\n      return \"ident\";\n    } else if (/[=+\\-\\/*^%<>~]/.test(ch)) {\n      stream.eatWhile(/[=+\\-\\/*^%<>~]/);\n      return \"operator\";\n    } else {\n      return null;\n    }\n  }\n\n  function readQuoted(quote, style,  unescaped) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && (unescaped || !escaped)) {\n          state.tokenize.pop();\n          break;\n        }\n        escaped = !escaped && ch == \"%\";\n      }\n      return style;\n    };\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: [tokenBase]};\n    },\n\n    token: function(stream, state) {\n      var style = state.tokenize[state.tokenize.length-1](stream, state);\n      if (style == \"ident\") {\n        var word = stream.current();\n        style = keywords.propertyIsEnumerable(stream.current()) ? \"keyword\"\n          : operators.propertyIsEnumerable(stream.current()) ? \"operator\"\n          : /^[A-Z][A-Z_0-9]*$/g.test(word) ? \"tag\"\n          : /^0[bB][0-1]+$/g.test(word) ? \"number\"\n          : /^0[cC][0-7]+$/g.test(word) ? \"number\"\n          : /^0[xX][a-fA-F0-9]+$/g.test(word) ? \"number\"\n          : /^([0-9]+\\.[0-9]*)|([0-9]*\\.[0-9]+)$/g.test(word) ? \"number\"\n          : /^[0-9]+$/g.test(word) ? \"number\"\n          : \"variable\";\n      }\n      return style;\n    },\n    lineComment: \"--\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-eiffel\", \"eiffel\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/eiffel/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Eiffel mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/neat.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"eiffel.js\"></script>\n<style>\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .cm-s-default span.cm-arrow { color: red; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Eiffel</a>\n  </ul>\n</div>\n\n<article>\n<h2>Eiffel mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nnote\n    description: \"[\n        Project-wide universal properties.\n        This class is an ancestor to all developer-written classes.\n        ANY may be customized for individual projects or teams.\n        ]\"\n\n    library: \"Free implementation of ELKS library\"\n    status: \"See notice at end of class.\"\n    legal: \"See notice at end of class.\"\n    date: \"$Date: 2013-01-25 11:49:00 -0800 (Fri, 25 Jan 2013) $\"\n    revision: \"$Revision: 712 $\"\n\nclass\n    ANY\n\nfeature -- Customization\n\nfeature -- Access\n\n    generator: STRING\n            -- Name of current object's generating class\n            -- (base class of the type of which it is a direct instance)\n        external\n            \"built_in\"\n        ensure\n            generator_not_void: Result /= Void\n            generator_not_empty: not Result.is_empty\n        end\n\n    generating_type: TYPE [detachable like Current]\n            -- Type of current object\n            -- (type of which it is a direct instance)\n        do\n            Result := {detachable like Current}\n        ensure\n            generating_type_not_void: Result /= Void\n        end\n\nfeature -- Status report\n\n    conforms_to (other: ANY): BOOLEAN\n            -- Does type of current object conform to type\n            -- of `other' (as per Eiffel: The Language, chapter 13)?\n        require\n            other_not_void: other /= Void\n        external\n            \"built_in\"\n        end\n\n    same_type (other: ANY): BOOLEAN\n            -- Is type of current object identical to type of `other'?\n        require\n            other_not_void: other /= Void\n        external\n            \"built_in\"\n        ensure\n            definition: Result = (conforms_to (other) and\n                                        other.conforms_to (Current))\n        end\n\nfeature -- Comparison\n\n    is_equal (other: like Current): BOOLEAN\n            -- Is `other' attached to an object considered\n            -- equal to current object?\n        require\n            other_not_void: other /= Void\n        external\n            \"built_in\"\n        ensure\n            symmetric: Result implies other ~ Current\n            consistent: standard_is_equal (other) implies Result\n        end\n\n    frozen standard_is_equal (other: like Current): BOOLEAN\n            -- Is `other' attached to an object of the same type\n            -- as current object, and field-by-field identical to it?\n        require\n            other_not_void: other /= Void\n        external\n            \"built_in\"\n        ensure\n            same_type: Result implies same_type (other)\n            symmetric: Result implies other.standard_is_equal (Current)\n        end\n\n    frozen equal (a: detachable ANY; b: like a): BOOLEAN\n            -- Are `a' and `b' either both void or attached\n            -- to objects considered equal?\n        do\n            if a = Void then\n                Result := b = Void\n            else\n                Result := b /= Void and then\n                            a.is_equal (b)\n            end\n        ensure\n            definition: Result = (a = Void and b = Void) or else\n                        ((a /= Void and b /= Void) and then\n                        a.is_equal (b))\n        end\n\n    frozen standard_equal (a: detachable ANY; b: like a): BOOLEAN\n            -- Are `a' and `b' either both void or attached to\n            -- field-by-field identical objects of the same type?\n            -- Always uses default object comparison criterion.\n        do\n            if a = Void then\n                Result := b = Void\n            else\n                Result := b /= Void and then\n                            a.standard_is_equal (b)\n            end\n        ensure\n            definition: Result = (a = Void and b = Void) or else\n                        ((a /= Void and b /= Void) and then\n                        a.standard_is_equal (b))\n        end\n\n    frozen is_deep_equal (other: like Current): BOOLEAN\n            -- Are `Current' and `other' attached to isomorphic object structures?\n        require\n            other_not_void: other /= Void\n        external\n            \"built_in\"\n        ensure\n            shallow_implies_deep: standard_is_equal (other) implies Result\n            same_type: Result implies same_type (other)\n            symmetric: Result implies other.is_deep_equal (Current)\n        end\n\n    frozen deep_equal (a: detachable ANY; b: like a): BOOLEAN\n            -- Are `a' and `b' either both void\n            -- or attached to isomorphic object structures?\n        do\n            if a = Void then\n                Result := b = Void\n            else\n                Result := b /= Void and then a.is_deep_equal (b)\n            end\n        ensure\n            shallow_implies_deep: standard_equal (a, b) implies Result\n            both_or_none_void: (a = Void) implies (Result = (b = Void))\n            same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b))\n            symmetric: Result implies deep_equal (b, a)\n        end\n\nfeature -- Duplication\n\n    frozen twin: like Current\n            -- New object equal to `Current'\n            -- `twin' calls `copy'; to change copying/twinning semantics, redefine `copy'.\n        external\n            \"built_in\"\n        ensure\n            twin_not_void: Result /= Void\n            is_equal: Result ~ Current\n        end\n\n    copy (other: like Current)\n            -- Update current object using fields of object attached\n            -- to `other', so as to yield equal objects.\n        require\n            other_not_void: other /= Void\n            type_identity: same_type (other)\n        external\n            \"built_in\"\n        ensure\n            is_equal: Current ~ other\n        end\n\n    frozen standard_copy (other: like Current)\n            -- Copy every field of `other' onto corresponding field\n            -- of current object.\n        require\n            other_not_void: other /= Void\n            type_identity: same_type (other)\n        external\n            \"built_in\"\n        ensure\n            is_standard_equal: standard_is_equal (other)\n        end\n\n    frozen clone (other: detachable ANY): like other\n            -- Void if `other' is void; otherwise new object\n            -- equal to `other'\n            --\n            -- For non-void `other', `clone' calls `copy';\n            -- to change copying/cloning semantics, redefine `copy'.\n        obsolete\n            \"Use `twin' instead.\"\n        do\n            if other /= Void then\n                Result := other.twin\n            end\n        ensure\n            equal: Result ~ other\n        end\n\n    frozen standard_clone (other: detachable ANY): like other\n            -- Void if `other' is void; otherwise new object\n            -- field-by-field identical to `other'.\n            -- Always uses default copying semantics.\n        obsolete\n            \"Use `standard_twin' instead.\"\n        do\n            if other /= Void then\n                Result := other.standard_twin\n            end\n        ensure\n            equal: standard_equal (Result, other)\n        end\n\n    frozen standard_twin: like Current\n            -- New object field-by-field identical to `other'.\n            -- Always uses default copying semantics.\n        external\n            \"built_in\"\n        ensure\n            standard_twin_not_void: Result /= Void\n            equal: standard_equal (Result, Current)\n        end\n\n    frozen deep_twin: like Current\n            -- New object structure recursively duplicated from Current.\n        external\n            \"built_in\"\n        ensure\n            deep_twin_not_void: Result /= Void\n            deep_equal: deep_equal (Current, Result)\n        end\n\n    frozen deep_clone (other: detachable ANY): like other\n            -- Void if `other' is void: otherwise, new object structure\n            -- recursively duplicated from the one attached to `other'\n        obsolete\n            \"Use `deep_twin' instead.\"\n        do\n            if other /= Void then\n                Result := other.deep_twin\n            end\n        ensure\n            deep_equal: deep_equal (other, Result)\n        end\n\n    frozen deep_copy (other: like Current)\n            -- Effect equivalent to that of:\n            --      `copy' (`other' . `deep_twin')\n        require\n            other_not_void: other /= Void\n        do\n            copy (other.deep_twin)\n        ensure\n            deep_equal: deep_equal (Current, other)\n        end\n\nfeature {NONE} -- Retrieval\n\n    frozen internal_correct_mismatch\n            -- Called from runtime to perform a proper dynamic dispatch on `correct_mismatch'\n            -- from MISMATCH_CORRECTOR.\n        local\n            l_msg: STRING\n            l_exc: EXCEPTIONS\n        do\n            if attached {MISMATCH_CORRECTOR} Current as l_corrector then\n                l_corrector.correct_mismatch\n            else\n                create l_msg.make_from_string (\"Mismatch: \")\n                create l_exc\n                l_msg.append (generating_type.name)\n                l_exc.raise_retrieval_exception (l_msg)\n            end\n        end\n\nfeature -- Output\n\n    io: STD_FILES\n            -- Handle to standard file setup\n        once\n            create Result\n            Result.set_output_default\n        ensure\n            io_not_void: Result /= Void\n        end\n\n    out: STRING\n            -- New string containing terse printable representation\n            -- of current object\n        do\n            Result := tagged_out\n        ensure\n            out_not_void: Result /= Void\n        end\n\n    frozen tagged_out: STRING\n            -- New string containing terse printable representation\n            -- of current object\n        external\n            \"built_in\"\n        ensure\n            tagged_out_not_void: Result /= Void\n        end\n\n    print (o: detachable ANY)\n            -- Write terse external representation of `o'\n            -- on standard output.\n        do\n            if o /= Void then\n                io.put_string (o.out)\n            end\n        end\n\nfeature -- Platform\n\n    Operating_environment: OPERATING_ENVIRONMENT\n            -- Objects available from the operating system\n        once\n            create Result\n        ensure\n            operating_environment_not_void: Result /= Void\n        end\n\nfeature {NONE} -- Initialization\n\n    default_create\n            -- Process instances of classes with no creation clause.\n            -- (Default: do nothing.)\n        do\n        end\n\nfeature -- Basic operations\n\n    default_rescue\n            -- Process exception for routines with no Rescue clause.\n            -- (Default: do nothing.)\n        do\n        end\n\n    frozen do_nothing\n            -- Execute a null action.\n        do\n        end\n\n    frozen default: detachable like Current\n            -- Default value of object's type\n        do\n        end\n\n    frozen default_pointer: POINTER\n            -- Default value of type `POINTER'\n            -- (Avoid the need to write `p'.`default' for\n            -- some `p' of type `POINTER'.)\n        do\n        ensure\n            -- Result = Result.default\n        end\n\n    frozen as_attached: attached like Current\n            -- Attached version of Current\n            -- (Can be used during transitional period to convert\n            -- non-void-safe classes to void-safe ones.)\n        do\n            Result := Current\n        end\n\ninvariant\n    reflexive_equality: standard_is_equal (Current)\n    reflexive_conformance: conforms_to (Current)\n\nnote\n    copyright: \"Copyright (c) 1984-2012, Eiffel Software and others\"\n    license:   \"Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)\"\n    source: \"[\n            Eiffel Software\n            5949 Hollister Ave., Goleta, CA 93117 USA\n            Telephone 805-685-1006, Fax 805-685-6869\n            Website http://www.eiffel.com\n            Customer support http://support.eiffel.com\n        ]\"\n\nend\n\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/x-eiffel\",\n        indentUnit: 4,\n        lineNumbers: true,\n        theme: \"neat\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-eiffel</code>.</p>\n \n <p> Created by <a href=\"https://github.com/ynh\">YNH</a>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/erlang/erlang.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/*jshint unused:true, eqnull:true, curly:true, bitwise:true */\n/*jshint undef:true, latedef:true, trailing:true */\n/*global CodeMirror:true */\n\n// erlang mode.\n// tokenizer -> token types -> CodeMirror styles\n// tokenizer maintains a parse stack\n// indenter uses the parse stack\n\n// TODO indenter:\n//   bit syntax\n//   old guard/bif/conversion clashes (e.g. \"float/1\")\n//   type/spec/opaque\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMIME(\"text/x-erlang\", \"erlang\");\n\nCodeMirror.defineMode(\"erlang\", function(cmCfg) {\n  \"use strict\";\n\n/////////////////////////////////////////////////////////////////////////////\n// constants\n\n  var typeWords = [\n    \"-type\", \"-spec\", \"-export_type\", \"-opaque\"];\n\n  var keywordWords = [\n    \"after\",\"begin\",\"catch\",\"case\",\"cond\",\"end\",\"fun\",\"if\",\n    \"let\",\"of\",\"query\",\"receive\",\"try\",\"when\"];\n\n  var separatorRE    = /[\\->,;]/;\n  var separatorWords = [\n    \"->\",\";\",\",\"];\n\n  var operatorAtomWords = [\n    \"and\",\"andalso\",\"band\",\"bnot\",\"bor\",\"bsl\",\"bsr\",\"bxor\",\n    \"div\",\"not\",\"or\",\"orelse\",\"rem\",\"xor\"];\n\n  var operatorSymbolRE    = /[\\+\\-\\*\\/<>=\\|:!]/;\n  var operatorSymbolWords = [\n    \"=\",\"+\",\"-\",\"*\",\"/\",\">\",\">=\",\"<\",\"=<\",\"=:=\",\"==\",\"=/=\",\"/=\",\"||\",\"<-\",\"!\"];\n\n  var openParenRE    = /[<\\(\\[\\{]/;\n  var openParenWords = [\n    \"<<\",\"(\",\"[\",\"{\"];\n\n  var closeParenRE    = /[>\\)\\]\\}]/;\n  var closeParenWords = [\n    \"}\",\"]\",\")\",\">>\"];\n\n  var guardWords = [\n    \"is_atom\",\"is_binary\",\"is_bitstring\",\"is_boolean\",\"is_float\",\n    \"is_function\",\"is_integer\",\"is_list\",\"is_number\",\"is_pid\",\n    \"is_port\",\"is_record\",\"is_reference\",\"is_tuple\",\n    \"atom\",\"binary\",\"bitstring\",\"boolean\",\"function\",\"integer\",\"list\",\n    \"number\",\"pid\",\"port\",\"record\",\"reference\",\"tuple\"];\n\n  var bifWords = [\n    \"abs\",\"adler32\",\"adler32_combine\",\"alive\",\"apply\",\"atom_to_binary\",\n    \"atom_to_list\",\"binary_to_atom\",\"binary_to_existing_atom\",\n    \"binary_to_list\",\"binary_to_term\",\"bit_size\",\"bitstring_to_list\",\n    \"byte_size\",\"check_process_code\",\"contact_binary\",\"crc32\",\n    \"crc32_combine\",\"date\",\"decode_packet\",\"delete_module\",\n    \"disconnect_node\",\"element\",\"erase\",\"exit\",\"float\",\"float_to_list\",\n    \"garbage_collect\",\"get\",\"get_keys\",\"group_leader\",\"halt\",\"hd\",\n    \"integer_to_list\",\"internal_bif\",\"iolist_size\",\"iolist_to_binary\",\n    \"is_alive\",\"is_atom\",\"is_binary\",\"is_bitstring\",\"is_boolean\",\n    \"is_float\",\"is_function\",\"is_integer\",\"is_list\",\"is_number\",\"is_pid\",\n    \"is_port\",\"is_process_alive\",\"is_record\",\"is_reference\",\"is_tuple\",\n    \"length\",\"link\",\"list_to_atom\",\"list_to_binary\",\"list_to_bitstring\",\n    \"list_to_existing_atom\",\"list_to_float\",\"list_to_integer\",\n    \"list_to_pid\",\"list_to_tuple\",\"load_module\",\"make_ref\",\"module_loaded\",\n    \"monitor_node\",\"node\",\"node_link\",\"node_unlink\",\"nodes\",\"notalive\",\n    \"now\",\"open_port\",\"pid_to_list\",\"port_close\",\"port_command\",\n    \"port_connect\",\"port_control\",\"pre_loaded\",\"process_flag\",\n    \"process_info\",\"processes\",\"purge_module\",\"put\",\"register\",\n    \"registered\",\"round\",\"self\",\"setelement\",\"size\",\"spawn\",\"spawn_link\",\n    \"spawn_monitor\",\"spawn_opt\",\"split_binary\",\"statistics\",\n    \"term_to_binary\",\"time\",\"throw\",\"tl\",\"trunc\",\"tuple_size\",\n    \"tuple_to_list\",\"unlink\",\"unregister\",\"whereis\"];\n\n// upper case: [A-Z] [Ø-Þ] [À-Ö]\n// lower case: [a-z] [ß-ö] [ø-ÿ]\n  var anumRE       = /[\\w@Ø-ÞÀ-Öß-öø-ÿ]/;\n  var escapesRE    =\n    /[0-7]{1,3}|[bdefnrstv\\\\\"']|\\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;\n\n/////////////////////////////////////////////////////////////////////////////\n// tokenizer\n\n  function tokenizer(stream,state) {\n    // in multi-line string\n    if (state.in_string) {\n      state.in_string = (!doubleQuote(stream));\n      return rval(state,stream,\"string\");\n    }\n\n    // in multi-line atom\n    if (state.in_atom) {\n      state.in_atom = (!singleQuote(stream));\n      return rval(state,stream,\"atom\");\n    }\n\n    // whitespace\n    if (stream.eatSpace()) {\n      return rval(state,stream,\"whitespace\");\n    }\n\n    // attributes and type specs\n    if (!peekToken(state) &&\n        stream.match(/-\\s*[a-zß-öø-ÿ][\\wØ-ÞÀ-Öß-öø-ÿ]*/)) {\n      if (is_member(stream.current(),typeWords)) {\n        return rval(state,stream,\"type\");\n      }else{\n        return rval(state,stream,\"attribute\");\n      }\n    }\n\n    var ch = stream.next();\n\n    // comment\n    if (ch == '%') {\n      stream.skipToEnd();\n      return rval(state,stream,\"comment\");\n    }\n\n    // colon\n    if (ch == \":\") {\n      return rval(state,stream,\"colon\");\n    }\n\n    // macro\n    if (ch == '?') {\n      stream.eatSpace();\n      stream.eatWhile(anumRE);\n      return rval(state,stream,\"macro\");\n    }\n\n    // record\n    if (ch == \"#\") {\n      stream.eatSpace();\n      stream.eatWhile(anumRE);\n      return rval(state,stream,\"record\");\n    }\n\n    // dollar escape\n    if (ch == \"$\") {\n      if (stream.next() == \"\\\\\" && !stream.match(escapesRE)) {\n        return rval(state,stream,\"error\");\n      }\n      return rval(state,stream,\"number\");\n    }\n\n    // dot\n    if (ch == \".\") {\n      return rval(state,stream,\"dot\");\n    }\n\n    // quoted atom\n    if (ch == '\\'') {\n      if (!(state.in_atom = (!singleQuote(stream)))) {\n        if (stream.match(/\\s*\\/\\s*[0-9]/,false)) {\n          stream.match(/\\s*\\/\\s*[0-9]/,true);\n          return rval(state,stream,\"fun\");      // 'f'/0 style fun\n        }\n        if (stream.match(/\\s*\\(/,false) || stream.match(/\\s*:/,false)) {\n          return rval(state,stream,\"function\");\n        }\n      }\n      return rval(state,stream,\"atom\");\n    }\n\n    // string\n    if (ch == '\"') {\n      state.in_string = (!doubleQuote(stream));\n      return rval(state,stream,\"string\");\n    }\n\n    // variable\n    if (/[A-Z_Ø-ÞÀ-Ö]/.test(ch)) {\n      stream.eatWhile(anumRE);\n      return rval(state,stream,\"variable\");\n    }\n\n    // atom/keyword/BIF/function\n    if (/[a-z_ß-öø-ÿ]/.test(ch)) {\n      stream.eatWhile(anumRE);\n\n      if (stream.match(/\\s*\\/\\s*[0-9]/,false)) {\n        stream.match(/\\s*\\/\\s*[0-9]/,true);\n        return rval(state,stream,\"fun\");      // f/0 style fun\n      }\n\n      var w = stream.current();\n\n      if (is_member(w,keywordWords)) {\n        return rval(state,stream,\"keyword\");\n      }else if (is_member(w,operatorAtomWords)) {\n        return rval(state,stream,\"operator\");\n      }else if (stream.match(/\\s*\\(/,false)) {\n        // 'put' and 'erlang:put' are bifs, 'foo:put' is not\n        if (is_member(w,bifWords) &&\n            ((peekToken(state).token != \":\") ||\n             (peekToken(state,2).token == \"erlang\"))) {\n          return rval(state,stream,\"builtin\");\n        }else if (is_member(w,guardWords)) {\n          return rval(state,stream,\"guard\");\n        }else{\n          return rval(state,stream,\"function\");\n        }\n      }else if (is_member(w,operatorAtomWords)) {\n        return rval(state,stream,\"operator\");\n      }else if (lookahead(stream) == \":\") {\n        if (w == \"erlang\") {\n          return rval(state,stream,\"builtin\");\n        } else {\n          return rval(state,stream,\"function\");\n        }\n      }else if (is_member(w,[\"true\",\"false\"])) {\n        return rval(state,stream,\"boolean\");\n      }else if (is_member(w,[\"true\",\"false\"])) {\n        return rval(state,stream,\"boolean\");\n      }else{\n        return rval(state,stream,\"atom\");\n      }\n    }\n\n    // number\n    var digitRE      = /[0-9]/;\n    var radixRE      = /[0-9a-zA-Z]/;         // 36#zZ style int\n    if (digitRE.test(ch)) {\n      stream.eatWhile(digitRE);\n      if (stream.eat('#')) {                // 36#aZ  style integer\n        if (!stream.eatWhile(radixRE)) {\n          stream.backUp(1);                 //\"36#\" - syntax error\n        }\n      } else if (stream.eat('.')) {       // float\n        if (!stream.eatWhile(digitRE)) {\n          stream.backUp(1);        // \"3.\" - probably end of function\n        } else {\n          if (stream.eat(/[eE]/)) {        // float with exponent\n            if (stream.eat(/[-+]/)) {\n              if (!stream.eatWhile(digitRE)) {\n                stream.backUp(2);            // \"2e-\" - syntax error\n              }\n            } else {\n              if (!stream.eatWhile(digitRE)) {\n                stream.backUp(1);            // \"2e\" - syntax error\n              }\n            }\n          }\n        }\n      }\n      return rval(state,stream,\"number\");   // normal integer\n    }\n\n    // open parens\n    if (nongreedy(stream,openParenRE,openParenWords)) {\n      return rval(state,stream,\"open_paren\");\n    }\n\n    // close parens\n    if (nongreedy(stream,closeParenRE,closeParenWords)) {\n      return rval(state,stream,\"close_paren\");\n    }\n\n    // separators\n    if (greedy(stream,separatorRE,separatorWords)) {\n      return rval(state,stream,\"separator\");\n    }\n\n    // operators\n    if (greedy(stream,operatorSymbolRE,operatorSymbolWords)) {\n      return rval(state,stream,\"operator\");\n    }\n\n    return rval(state,stream,null);\n  }\n\n/////////////////////////////////////////////////////////////////////////////\n// utilities\n  function nongreedy(stream,re,words) {\n    if (stream.current().length == 1 && re.test(stream.current())) {\n      stream.backUp(1);\n      while (re.test(stream.peek())) {\n        stream.next();\n        if (is_member(stream.current(),words)) {\n          return true;\n        }\n      }\n      stream.backUp(stream.current().length-1);\n    }\n    return false;\n  }\n\n  function greedy(stream,re,words) {\n    if (stream.current().length == 1 && re.test(stream.current())) {\n      while (re.test(stream.peek())) {\n        stream.next();\n      }\n      while (0 < stream.current().length) {\n        if (is_member(stream.current(),words)) {\n          return true;\n        }else{\n          stream.backUp(1);\n        }\n      }\n      stream.next();\n    }\n    return false;\n  }\n\n  function doubleQuote(stream) {\n    return quote(stream, '\"', '\\\\');\n  }\n\n  function singleQuote(stream) {\n    return quote(stream,'\\'','\\\\');\n  }\n\n  function quote(stream,quoteChar,escapeChar) {\n    while (!stream.eol()) {\n      var ch = stream.next();\n      if (ch == quoteChar) {\n        return true;\n      }else if (ch == escapeChar) {\n        stream.next();\n      }\n    }\n    return false;\n  }\n\n  function lookahead(stream) {\n    var m = stream.match(/([\\n\\s]+|%[^\\n]*\\n)*(.)/,false);\n    return m ? m.pop() : \"\";\n  }\n\n  function is_member(element,list) {\n    return (-1 < list.indexOf(element));\n  }\n\n  function rval(state,stream,type) {\n\n    // parse stack\n    pushToken(state,realToken(type,stream));\n\n    // map erlang token type to CodeMirror style class\n    //     erlang             -> CodeMirror tag\n    switch (type) {\n      case \"atom\":        return \"atom\";\n      case \"attribute\":   return \"attribute\";\n      case \"boolean\":     return \"atom\";\n      case \"builtin\":     return \"builtin\";\n      case \"close_paren\": return null;\n      case \"colon\":       return null;\n      case \"comment\":     return \"comment\";\n      case \"dot\":         return null;\n      case \"error\":       return \"error\";\n      case \"fun\":         return \"meta\";\n      case \"function\":    return \"tag\";\n      case \"guard\":       return \"property\";\n      case \"keyword\":     return \"keyword\";\n      case \"macro\":       return \"variable-2\";\n      case \"number\":      return \"number\";\n      case \"open_paren\":  return null;\n      case \"operator\":    return \"operator\";\n      case \"record\":      return \"bracket\";\n      case \"separator\":   return null;\n      case \"string\":      return \"string\";\n      case \"type\":        return \"def\";\n      case \"variable\":    return \"variable\";\n      default:            return null;\n    }\n  }\n\n  function aToken(tok,col,ind,typ) {\n    return {token:  tok,\n            column: col,\n            indent: ind,\n            type:   typ};\n  }\n\n  function realToken(type,stream) {\n    return aToken(stream.current(),\n                 stream.column(),\n                 stream.indentation(),\n                 type);\n  }\n\n  function fakeToken(type) {\n    return aToken(type,0,0,type);\n  }\n\n  function peekToken(state,depth) {\n    var len = state.tokenStack.length;\n    var dep = (depth ? depth : 1);\n\n    if (len < dep) {\n      return false;\n    }else{\n      return state.tokenStack[len-dep];\n    }\n  }\n\n  function pushToken(state,token) {\n\n    if (!(token.type == \"comment\" || token.type == \"whitespace\")) {\n      state.tokenStack = maybe_drop_pre(state.tokenStack,token);\n      state.tokenStack = maybe_drop_post(state.tokenStack);\n    }\n  }\n\n  function maybe_drop_pre(s,token) {\n    var last = s.length-1;\n\n    if (0 < last && s[last].type === \"record\" && token.type === \"dot\") {\n      s.pop();\n    }else if (0 < last && s[last].type === \"group\") {\n      s.pop();\n      s.push(token);\n    }else{\n      s.push(token);\n    }\n    return s;\n  }\n\n  function maybe_drop_post(s) {\n    var last = s.length-1;\n\n    if (s[last].type === \"dot\") {\n      return [];\n    }\n    if (s[last].type === \"fun\" && s[last-1].token === \"fun\") {\n      return s.slice(0,last-1);\n    }\n    switch (s[s.length-1].token) {\n      case \"}\":    return d(s,{g:[\"{\"]});\n      case \"]\":    return d(s,{i:[\"[\"]});\n      case \")\":    return d(s,{i:[\"(\"]});\n      case \">>\":   return d(s,{i:[\"<<\"]});\n      case \"end\":  return d(s,{i:[\"begin\",\"case\",\"fun\",\"if\",\"receive\",\"try\"]});\n      case \",\":    return d(s,{e:[\"begin\",\"try\",\"when\",\"->\",\n                                  \",\",\"(\",\"[\",\"{\",\"<<\"]});\n      case \"->\":   return d(s,{r:[\"when\"],\n                               m:[\"try\",\"if\",\"case\",\"receive\"]});\n      case \";\":    return d(s,{E:[\"case\",\"fun\",\"if\",\"receive\",\"try\",\"when\"]});\n      case \"catch\":return d(s,{e:[\"try\"]});\n      case \"of\":   return d(s,{e:[\"case\"]});\n      case \"after\":return d(s,{e:[\"receive\",\"try\"]});\n      default:     return s;\n    }\n  }\n\n  function d(stack,tt) {\n    // stack is a stack of Token objects.\n    // tt is an object; {type:tokens}\n    // type is a char, tokens is a list of token strings.\n    // The function returns (possibly truncated) stack.\n    // It will descend the stack, looking for a Token such that Token.token\n    //  is a member of tokens. If it does not find that, it will normally (but\n    //  see \"E\" below) return stack. If it does find a match, it will remove\n    //  all the Tokens between the top and the matched Token.\n    // If type is \"m\", that is all it does.\n    // If type is \"i\", it will also remove the matched Token and the top Token.\n    // If type is \"g\", like \"i\", but add a fake \"group\" token at the top.\n    // If type is \"r\", it will remove the matched Token, but not the top Token.\n    // If type is \"e\", it will keep the matched Token but not the top Token.\n    // If type is \"E\", it behaves as for type \"e\", except if there is no match,\n    //  in which case it will return an empty stack.\n\n    for (var type in tt) {\n      var len = stack.length-1;\n      var tokens = tt[type];\n      for (var i = len-1; -1 < i ; i--) {\n        if (is_member(stack[i].token,tokens)) {\n          var ss = stack.slice(0,i);\n          switch (type) {\n              case \"m\": return ss.concat(stack[i]).concat(stack[len]);\n              case \"r\": return ss.concat(stack[len]);\n              case \"i\": return ss;\n              case \"g\": return ss.concat(fakeToken(\"group\"));\n              case \"E\": return ss.concat(stack[i]);\n              case \"e\": return ss.concat(stack[i]);\n          }\n        }\n      }\n    }\n    return (type == \"E\" ? [] : stack);\n  }\n\n/////////////////////////////////////////////////////////////////////////////\n// indenter\n\n  function indenter(state,textAfter) {\n    var t;\n    var unit = cmCfg.indentUnit;\n    var wordAfter = wordafter(textAfter);\n    var currT = peekToken(state,1);\n    var prevT = peekToken(state,2);\n\n    if (state.in_string || state.in_atom) {\n      return CodeMirror.Pass;\n    }else if (!prevT) {\n      return 0;\n    }else if (currT.token == \"when\") {\n      return currT.column+unit;\n    }else if (wordAfter === \"when\" && prevT.type === \"function\") {\n      return prevT.indent+unit;\n    }else if (wordAfter === \"(\" && currT.token === \"fun\") {\n      return  currT.column+3;\n    }else if (wordAfter === \"catch\" && (t = getToken(state,[\"try\"]))) {\n      return t.column;\n    }else if (is_member(wordAfter,[\"end\",\"after\",\"of\"])) {\n      t = getToken(state,[\"begin\",\"case\",\"fun\",\"if\",\"receive\",\"try\"]);\n      return t ? t.column : CodeMirror.Pass;\n    }else if (is_member(wordAfter,closeParenWords)) {\n      t = getToken(state,openParenWords);\n      return t ? t.column : CodeMirror.Pass;\n    }else if (is_member(currT.token,[\",\",\"|\",\"||\"]) ||\n              is_member(wordAfter,[\",\",\"|\",\"||\"])) {\n      t = postcommaToken(state);\n      return t ? t.column+t.token.length : unit;\n    }else if (currT.token == \"->\") {\n      if (is_member(prevT.token, [\"receive\",\"case\",\"if\",\"try\"])) {\n        return prevT.column+unit+unit;\n      }else{\n        return prevT.column+unit;\n      }\n    }else if (is_member(currT.token,openParenWords)) {\n      return currT.column+currT.token.length;\n    }else{\n      t = defaultToken(state);\n      return truthy(t) ? t.column+unit : 0;\n    }\n  }\n\n  function wordafter(str) {\n    var m = str.match(/,|[a-z]+|\\}|\\]|\\)|>>|\\|+|\\(/);\n\n    return truthy(m) && (m.index === 0) ? m[0] : \"\";\n  }\n\n  function postcommaToken(state) {\n    var objs = state.tokenStack.slice(0,-1);\n    var i = getTokenIndex(objs,\"type\",[\"open_paren\"]);\n\n    return truthy(objs[i]) ? objs[i] : false;\n  }\n\n  function defaultToken(state) {\n    var objs = state.tokenStack;\n    var stop = getTokenIndex(objs,\"type\",[\"open_paren\",\"separator\",\"keyword\"]);\n    var oper = getTokenIndex(objs,\"type\",[\"operator\"]);\n\n    if (truthy(stop) && truthy(oper) && stop < oper) {\n      return objs[stop+1];\n    } else if (truthy(stop)) {\n      return objs[stop];\n    } else {\n      return false;\n    }\n  }\n\n  function getToken(state,tokens) {\n    var objs = state.tokenStack;\n    var i = getTokenIndex(objs,\"token\",tokens);\n\n    return truthy(objs[i]) ? objs[i] : false;\n  }\n\n  function getTokenIndex(objs,propname,propvals) {\n\n    for (var i = objs.length-1; -1 < i ; i--) {\n      if (is_member(objs[i][propname],propvals)) {\n        return i;\n      }\n    }\n    return false;\n  }\n\n  function truthy(x) {\n    return (x !== false) && (x != null);\n  }\n\n/////////////////////////////////////////////////////////////////////////////\n// this object defines the mode\n\n  return {\n    startState:\n      function() {\n        return {tokenStack: [],\n                in_string:  false,\n                in_atom:    false};\n      },\n\n    token:\n      function(stream, state) {\n        return tokenizer(stream, state);\n      },\n\n    indent:\n      function(state, textAfter) {\n        return indenter(state,textAfter);\n      },\n\n    lineComment: \"%\"\n  };\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/erlang/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Erlang mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/erlang-dark.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"erlang.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Erlang</a>\n  </ul>\n</div>\n\n<article>\n<h2>Erlang mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n%% -*- mode: erlang; erlang-indent-level: 2 -*-\n%%% Created :  7 May 2012 by mats cronqvist <masse@klarna.com>\n\n%% @doc\n%% Demonstrates how to print a record.\n%% @end\n\n-module('ex').\n-author('mats cronqvist').\n-export([demo/0,\n         rec_info/1]).\n\n-record(demo,{a=\"One\",b=\"Two\",c=\"Three\",d=\"Four\"}).\n\nrec_info(demo) -> record_info(fields,demo).\n\ndemo() -> expand_recs(?MODULE,#demo{a=\"A\",b=\"BB\"}).\n\nexpand_recs(M,List) when is_list(List) ->\n  [expand_recs(M,L)||L<-List];\nexpand_recs(M,Tup) when is_tuple(Tup) ->\n  case tuple_size(Tup) of\n    L when L < 1 -> Tup;\n    L ->\n      try\n        Fields = M:rec_info(element(1,Tup)),\n        L = length(Fields)+1,\n        lists:zip(Fields,expand_recs(M,tl(tuple_to_list(Tup))))\n      catch\n        _:_ -> list_to_tuple(expand_recs(M,tuple_to_list(Tup)))\n      end\n  end;\nexpand_recs(_,Term) ->\n  Term.\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        extraKeys: {\"Tab\":  \"indentAuto\"},\n        theme: \"erlang-dark\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-erlang</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/forth/forth.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Author: Aliaksei Chapyzhenka\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  function toWordList(words) {\n    var ret = [];\n    words.split(' ').forEach(function(e){\n      ret.push({name: e});\n    });\n    return ret;\n  }\n\n  var coreWordList = toWordList(\n'INVERT AND OR XOR\\\n 2* 2/ LSHIFT RSHIFT\\\n 0= = 0< < > U< MIN MAX\\\n 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP\\\n >R R> R@\\\n + - 1+ 1- ABS NEGATE\\\n S>D * M* UM*\\\n FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD\\\n HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2!\\\n ALIGN ALIGNED +! ALLOT\\\n CHAR [CHAR] [ ] BL\\\n FIND EXECUTE IMMEDIATE COUNT LITERAL STATE\\\n ; DOES> >BODY\\\n EVALUATE\\\n SOURCE >IN\\\n <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL\\\n FILL MOVE\\\n . CR EMIT SPACE SPACES TYPE U. .R U.R\\\n ACCEPT\\\n TRUE FALSE\\\n <> U> 0<> 0>\\\n NIP TUCK ROLL PICK\\\n 2>R 2R@ 2R>\\\n WITHIN UNUSED MARKER\\\n I J\\\n TO\\\n COMPILE, [COMPILE]\\\n SAVE-INPUT RESTORE-INPUT\\\n PAD ERASE\\\n 2LITERAL DNEGATE\\\n D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS\\\n M+ M*/ D. D.R 2ROT DU<\\\n CATCH THROW\\\n FREE RESIZE ALLOCATE\\\n CS-PICK CS-ROLL\\\n GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER\\\n PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER\\\n -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL');\n\n  var immediateWordList = toWordList('IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE');\n\n  CodeMirror.defineMode('forth', function() {\n    function searchWordList (wordList, word) {\n      var i;\n      for (i = wordList.length - 1; i >= 0; i--) {\n        if (wordList[i].name === word.toUpperCase()) {\n          return wordList[i];\n        }\n      }\n      return undefined;\n    }\n  return {\n    startState: function() {\n      return {\n        state: '',\n        base: 10,\n        coreWordList: coreWordList,\n        immediateWordList: immediateWordList,\n        wordList: []\n      };\n    },\n    token: function (stream, stt) {\n      var mat;\n      if (stream.eatSpace()) {\n        return null;\n      }\n      if (stt.state === '') { // interpretation\n        if (stream.match(/^(\\]|:NONAME)(\\s|$)/i)) {\n          stt.state = ' compilation';\n          return 'builtin compilation';\n        }\n        mat = stream.match(/^(\\:)\\s+(\\S+)(\\s|$)+/);\n        if (mat) {\n          stt.wordList.push({name: mat[2].toUpperCase()});\n          stt.state = ' compilation';\n          return 'def' + stt.state;\n        }\n        mat = stream.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\\s+(\\S+)(\\s|$)+/i);\n        if (mat) {\n          stt.wordList.push({name: mat[2].toUpperCase()});\n          return 'def' + stt.state;\n        }\n        mat = stream.match(/^(\\'|\\[\\'\\])\\s+(\\S+)(\\s|$)+/);\n        if (mat) {\n          return 'builtin' + stt.state;\n        }\n        } else { // compilation\n        // ; [\n        if (stream.match(/^(\\;|\\[)(\\s)/)) {\n          stt.state = '';\n          stream.backUp(1);\n          return 'builtin compilation';\n        }\n        if (stream.match(/^(\\;|\\[)($)/)) {\n          stt.state = '';\n          return 'builtin compilation';\n        }\n        if (stream.match(/^(POSTPONE)\\s+\\S+(\\s|$)+/)) {\n          return 'builtin';\n        }\n      }\n\n      // dynamic wordlist\n      mat = stream.match(/^(\\S+)(\\s+|$)/);\n      if (mat) {\n        if (searchWordList(stt.wordList, mat[1]) !== undefined) {\n          return 'variable' + stt.state;\n        }\n\n        // comments\n        if (mat[1] === '\\\\') {\n          stream.skipToEnd();\n            return 'comment' + stt.state;\n          }\n\n          // core words\n          if (searchWordList(stt.coreWordList, mat[1]) !== undefined) {\n            return 'builtin' + stt.state;\n          }\n          if (searchWordList(stt.immediateWordList, mat[1]) !== undefined) {\n            return 'keyword' + stt.state;\n          }\n\n          if (mat[1] === '(') {\n            stream.eatWhile(function (s) { return s !== ')'; });\n            stream.eat(')');\n            return 'comment' + stt.state;\n          }\n\n          // // strings\n          if (mat[1] === '.(') {\n            stream.eatWhile(function (s) { return s !== ')'; });\n            stream.eat(')');\n            return 'string' + stt.state;\n          }\n          if (mat[1] === 'S\"' || mat[1] === '.\"' || mat[1] === 'C\"') {\n            stream.eatWhile(function (s) { return s !== '\"'; });\n            stream.eat('\"');\n            return 'string' + stt.state;\n          }\n\n          // numbers\n          if (mat[1] - 0xfffffffff) {\n            return 'number' + stt.state;\n          }\n          // if (mat[1].match(/^[-+]?[0-9]+\\.[0-9]*/)) {\n          //     return 'number' + stt.state;\n          // }\n\n          return 'atom' + stt.state;\n        }\n      }\n    };\n  });\n  CodeMirror.defineMIME(\"text/x-forth\", \"forth\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/forth/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Forth mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=stylesheet href=\"../../theme/colorforth.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"forth.js\"></script>\n<style>\n.CodeMirror {\n    font-family: 'Droid Sans Mono', monospace;\n    font-size: 14px;\n}\n</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Forth</a>\n  </ul>\n</div>\n\n<article>\n\n<h2>Forth mode</h2>\n\n<form><textarea id=\"code\" name=\"code\">\n\\ Insertion sort\n\n: cell-  1 cells - ;\n\n: insert ( start end -- start )\n  dup @ >r ( r: v )\n  begin\n    2dup <\n  while\n    r@ over cell- @ <\n  while\n    cell-\n    dup @ over cell+ !\n  repeat then\n  r> swap ! ;\n\n: sort ( array len -- )\n  1 ?do\n    dup i cells + insert\n  loop drop ;</textarea>\n  </form>\n\n<script>\n  var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n    lineNumbers: true,\n    lineWrapping: true,\n    indentUnit: 2,\n    tabSize: 2,\n    autofocus: true,\n    theme: \"colorforth\",\n    mode: \"text/x-forth\"\n  });\n</script>\n\n<p>Simple mode that handle Forth-Syntax (<a href=\"http://en.wikipedia.org/wiki/Forth_%28programming_language%29\">Forth on WikiPedia</a>).</p>\n\n<p><strong>MIME types defined:</strong> <code>text/x-forth</code>.</p>\n\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/fortran/fortran.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"fortran\", function() {\n  function words(array) {\n    var keys = {};\n    for (var i = 0; i < array.length; ++i) {\n      keys[array[i]] = true;\n    }\n    return keys;\n  }\n\n  var keywords = words([\n                  \"abstract\", \"accept\", \"allocatable\", \"allocate\",\n                  \"array\", \"assign\", \"asynchronous\", \"backspace\",\n                  \"bind\", \"block\", \"byte\", \"call\", \"case\",\n                  \"class\", \"close\", \"common\", \"contains\",\n                  \"continue\", \"cycle\", \"data\", \"deallocate\",\n                  \"decode\", \"deferred\", \"dimension\", \"do\",\n                  \"elemental\", \"else\", \"encode\", \"end\",\n                  \"endif\", \"entry\", \"enumerator\", \"equivalence\",\n                  \"exit\", \"external\", \"extrinsic\", \"final\",\n                  \"forall\", \"format\", \"function\", \"generic\",\n                  \"go\", \"goto\", \"if\", \"implicit\", \"import\", \"include\",\n                  \"inquire\", \"intent\", \"interface\", \"intrinsic\",\n                  \"module\", \"namelist\", \"non_intrinsic\",\n                  \"non_overridable\", \"none\", \"nopass\",\n                  \"nullify\", \"open\", \"optional\", \"options\",\n                  \"parameter\", \"pass\", \"pause\", \"pointer\",\n                  \"print\", \"private\", \"program\", \"protected\",\n                  \"public\", \"pure\", \"read\", \"recursive\", \"result\",\n                  \"return\", \"rewind\", \"save\", \"select\", \"sequence\",\n                  \"stop\", \"subroutine\", \"target\", \"then\", \"to\", \"type\",\n                  \"use\", \"value\", \"volatile\", \"where\", \"while\",\n                  \"write\"]);\n  var builtins = words([\"abort\", \"abs\", \"access\", \"achar\", \"acos\",\n                          \"adjustl\", \"adjustr\", \"aimag\", \"aint\", \"alarm\",\n                          \"all\", \"allocated\", \"alog\", \"amax\", \"amin\",\n                          \"amod\", \"and\", \"anint\", \"any\", \"asin\",\n                          \"associated\", \"atan\", \"besj\", \"besjn\", \"besy\",\n                          \"besyn\", \"bit_size\", \"btest\", \"cabs\", \"ccos\",\n                          \"ceiling\", \"cexp\", \"char\", \"chdir\", \"chmod\",\n                          \"clog\", \"cmplx\", \"command_argument_count\",\n                          \"complex\", \"conjg\", \"cos\", \"cosh\", \"count\",\n                          \"cpu_time\", \"cshift\", \"csin\", \"csqrt\", \"ctime\",\n                          \"c_funloc\", \"c_loc\", \"c_associated\", \"c_null_ptr\",\n                          \"c_null_funptr\", \"c_f_pointer\", \"c_null_char\",\n                          \"c_alert\", \"c_backspace\", \"c_form_feed\",\n                          \"c_new_line\", \"c_carriage_return\",\n                          \"c_horizontal_tab\", \"c_vertical_tab\", \"dabs\",\n                          \"dacos\", \"dasin\", \"datan\", \"date_and_time\",\n                          \"dbesj\", \"dbesj\", \"dbesjn\", \"dbesy\", \"dbesy\",\n                          \"dbesyn\", \"dble\", \"dcos\", \"dcosh\", \"ddim\", \"derf\",\n                          \"derfc\", \"dexp\", \"digits\", \"dim\", \"dint\", \"dlog\",\n                          \"dlog\", \"dmax\", \"dmin\", \"dmod\", \"dnint\",\n                          \"dot_product\", \"dprod\", \"dsign\", \"dsinh\",\n                          \"dsin\", \"dsqrt\", \"dtanh\", \"dtan\", \"dtime\",\n                          \"eoshift\", \"epsilon\", \"erf\", \"erfc\", \"etime\",\n                          \"exit\", \"exp\", \"exponent\", \"extends_type_of\",\n                          \"fdate\", \"fget\", \"fgetc\", \"float\", \"floor\",\n                          \"flush\", \"fnum\", \"fputc\", \"fput\", \"fraction\",\n                          \"fseek\", \"fstat\", \"ftell\", \"gerror\", \"getarg\",\n                          \"get_command\", \"get_command_argument\",\n                          \"get_environment_variable\", \"getcwd\",\n                          \"getenv\", \"getgid\", \"getlog\", \"getpid\",\n                          \"getuid\", \"gmtime\", \"hostnm\", \"huge\", \"iabs\",\n                          \"iachar\", \"iand\", \"iargc\", \"ibclr\", \"ibits\",\n                          \"ibset\", \"ichar\", \"idate\", \"idim\", \"idint\",\n                          \"idnint\", \"ieor\", \"ierrno\", \"ifix\", \"imag\",\n                          \"imagpart\", \"index\", \"int\", \"ior\", \"irand\",\n                          \"isatty\", \"ishft\", \"ishftc\", \"isign\",\n                          \"iso_c_binding\", \"is_iostat_end\", \"is_iostat_eor\",\n                          \"itime\", \"kill\", \"kind\", \"lbound\", \"len\", \"len_trim\",\n                          \"lge\", \"lgt\", \"link\", \"lle\", \"llt\", \"lnblnk\", \"loc\",\n                          \"log\", \"logical\", \"long\", \"lshift\", \"lstat\", \"ltime\",\n                          \"matmul\", \"max\", \"maxexponent\", \"maxloc\", \"maxval\",\n                          \"mclock\", \"merge\", \"move_alloc\", \"min\", \"minexponent\",\n                          \"minloc\", \"minval\", \"mod\", \"modulo\", \"mvbits\",\n                          \"nearest\", \"new_line\", \"nint\", \"not\", \"or\", \"pack\",\n                          \"perror\", \"precision\", \"present\", \"product\", \"radix\",\n                          \"rand\", \"random_number\", \"random_seed\", \"range\",\n                          \"real\", \"realpart\", \"rename\", \"repeat\", \"reshape\",\n                          \"rrspacing\", \"rshift\", \"same_type_as\", \"scale\",\n                          \"scan\", \"second\", \"selected_int_kind\",\n                          \"selected_real_kind\", \"set_exponent\", \"shape\",\n                          \"short\", \"sign\", \"signal\", \"sinh\", \"sin\", \"sleep\",\n                          \"sngl\", \"spacing\", \"spread\", \"sqrt\", \"srand\", \"stat\",\n                          \"sum\", \"symlnk\", \"system\", \"system_clock\", \"tan\",\n                          \"tanh\", \"time\", \"tiny\", \"transfer\", \"transpose\",\n                          \"trim\", \"ttynam\", \"ubound\", \"umask\", \"unlink\",\n                          \"unpack\", \"verify\", \"xor\", \"zabs\", \"zcos\", \"zexp\",\n                          \"zlog\", \"zsin\", \"zsqrt\"]);\n\n    var dataTypes =  words([\"c_bool\", \"c_char\", \"c_double\", \"c_double_complex\",\n                     \"c_float\", \"c_float_complex\", \"c_funptr\", \"c_int\",\n                     \"c_int16_t\", \"c_int32_t\", \"c_int64_t\", \"c_int8_t\",\n                     \"c_int_fast16_t\", \"c_int_fast32_t\", \"c_int_fast64_t\",\n                     \"c_int_fast8_t\", \"c_int_least16_t\", \"c_int_least32_t\",\n                     \"c_int_least64_t\", \"c_int_least8_t\", \"c_intmax_t\",\n                     \"c_intptr_t\", \"c_long\", \"c_long_double\",\n                     \"c_long_double_complex\", \"c_long_long\", \"c_ptr\",\n                     \"c_short\", \"c_signed_char\", \"c_size_t\", \"character\",\n                     \"complex\", \"double\", \"integer\", \"logical\", \"real\"]);\n  var isOperatorChar = /[+\\-*&=<>\\/\\:]/;\n  var litOperator = new RegExp(\"(\\.and\\.|\\.or\\.|\\.eq\\.|\\.lt\\.|\\.le\\.|\\.gt\\.|\\.ge\\.|\\.ne\\.|\\.not\\.|\\.eqv\\.|\\.neqv\\.)\", \"i\");\n\n  function tokenBase(stream, state) {\n\n    if (stream.match(litOperator)){\n        return 'operator';\n    }\n\n    var ch = stream.next();\n    if (ch == \"!\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\[\\]\\(\\),]/.test(ch)) {\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    var word = stream.current().toLowerCase();\n\n    if (keywords.hasOwnProperty(word)){\n            return 'keyword';\n    }\n    if (builtins.hasOwnProperty(word) || dataTypes.hasOwnProperty(word)) {\n            return 'builtin';\n    }\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {\n            end = true;\n            break;\n        }\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !escaped) state.tokenize = null;\n      return \"string\";\n    };\n  }\n\n  // Interface\n\n  return {\n    startState: function() {\n      return {tokenize: null};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      return style;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-fortran\", \"fortran\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/fortran/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Fortran mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"fortran.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Fortran</a>\n  </ul>\n</div>\n\n<article>\n<h2>Fortran mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n! Example Fortran code\n  program average\n\n  ! Read in some numbers and take the average\n  ! As written, if there are no data points, an average of zero is returned\n  ! While this may not be desired behavior, it keeps this example simple\n\n  implicit none\n\n  real, dimension(:), allocatable :: points\n  integer                         :: number_of_points\n  real                            :: average_points=0., positive_average=0., negative_average=0.\n\n  write (*,*) \"Input number of points to average:\"\n  read  (*,*) number_of_points\n\n  allocate (points(number_of_points))\n\n  write (*,*) \"Enter the points to average:\"\n  read  (*,*) points\n\n  ! Take the average by summing points and dividing by number_of_points\n  if (number_of_points > 0) average_points = sum(points) / number_of_points\n\n  ! Now form average over positive and negative points only\n  if (count(points > 0.) > 0) then\n     positive_average = sum(points, points > 0.) / count(points > 0.)\n  end if\n\n  if (count(points < 0.) > 0) then\n     negative_average = sum(points, points < 0.) / count(points < 0.)\n  end if\n\n  deallocate (points)\n\n  ! Print result to terminal\n  write (*,'(a,g12.4)') 'Average = ', average_points\n  write (*,'(a,g12.4)') 'Average of positive points = ', positive_average\n  write (*,'(a,g12.4)') 'Average of negative points = ', negative_average\n\n  end program average\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"text/x-fortran\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-Fortran</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/gas/gas.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"gas\", function(_config, parserConfig) {\n  'use strict';\n\n  // If an architecture is specified, its initialization function may\n  // populate this array with custom parsing functions which will be\n  // tried in the event that the standard functions do not find a match.\n  var custom = [];\n\n  // The symbol used to start a line comment changes based on the target\n  // architecture.\n  // If no architecture is pased in \"parserConfig\" then only multiline\n  // comments will have syntax support.\n  var lineCommentStartSymbol = \"\";\n\n  // These directives are architecture independent.\n  // Machine specific directives should go in their respective\n  // architecture initialization function.\n  // Reference:\n  // http://sourceware.org/binutils/docs/as/Pseudo-Ops.html#Pseudo-Ops\n  var directives = {\n    \".abort\" : \"builtin\",\n    \".align\" : \"builtin\",\n    \".altmacro\" : \"builtin\",\n    \".ascii\" : \"builtin\",\n    \".asciz\" : \"builtin\",\n    \".balign\" : \"builtin\",\n    \".balignw\" : \"builtin\",\n    \".balignl\" : \"builtin\",\n    \".bundle_align_mode\" : \"builtin\",\n    \".bundle_lock\" : \"builtin\",\n    \".bundle_unlock\" : \"builtin\",\n    \".byte\" : \"builtin\",\n    \".cfi_startproc\" : \"builtin\",\n    \".comm\" : \"builtin\",\n    \".data\" : \"builtin\",\n    \".def\" : \"builtin\",\n    \".desc\" : \"builtin\",\n    \".dim\" : \"builtin\",\n    \".double\" : \"builtin\",\n    \".eject\" : \"builtin\",\n    \".else\" : \"builtin\",\n    \".elseif\" : \"builtin\",\n    \".end\" : \"builtin\",\n    \".endef\" : \"builtin\",\n    \".endfunc\" : \"builtin\",\n    \".endif\" : \"builtin\",\n    \".equ\" : \"builtin\",\n    \".equiv\" : \"builtin\",\n    \".eqv\" : \"builtin\",\n    \".err\" : \"builtin\",\n    \".error\" : \"builtin\",\n    \".exitm\" : \"builtin\",\n    \".extern\" : \"builtin\",\n    \".fail\" : \"builtin\",\n    \".file\" : \"builtin\",\n    \".fill\" : \"builtin\",\n    \".float\" : \"builtin\",\n    \".func\" : \"builtin\",\n    \".global\" : \"builtin\",\n    \".gnu_attribute\" : \"builtin\",\n    \".hidden\" : \"builtin\",\n    \".hword\" : \"builtin\",\n    \".ident\" : \"builtin\",\n    \".if\" : \"builtin\",\n    \".incbin\" : \"builtin\",\n    \".include\" : \"builtin\",\n    \".int\" : \"builtin\",\n    \".internal\" : \"builtin\",\n    \".irp\" : \"builtin\",\n    \".irpc\" : \"builtin\",\n    \".lcomm\" : \"builtin\",\n    \".lflags\" : \"builtin\",\n    \".line\" : \"builtin\",\n    \".linkonce\" : \"builtin\",\n    \".list\" : \"builtin\",\n    \".ln\" : \"builtin\",\n    \".loc\" : \"builtin\",\n    \".loc_mark_labels\" : \"builtin\",\n    \".local\" : \"builtin\",\n    \".long\" : \"builtin\",\n    \".macro\" : \"builtin\",\n    \".mri\" : \"builtin\",\n    \".noaltmacro\" : \"builtin\",\n    \".nolist\" : \"builtin\",\n    \".octa\" : \"builtin\",\n    \".offset\" : \"builtin\",\n    \".org\" : \"builtin\",\n    \".p2align\" : \"builtin\",\n    \".popsection\" : \"builtin\",\n    \".previous\" : \"builtin\",\n    \".print\" : \"builtin\",\n    \".protected\" : \"builtin\",\n    \".psize\" : \"builtin\",\n    \".purgem\" : \"builtin\",\n    \".pushsection\" : \"builtin\",\n    \".quad\" : \"builtin\",\n    \".reloc\" : \"builtin\",\n    \".rept\" : \"builtin\",\n    \".sbttl\" : \"builtin\",\n    \".scl\" : \"builtin\",\n    \".section\" : \"builtin\",\n    \".set\" : \"builtin\",\n    \".short\" : \"builtin\",\n    \".single\" : \"builtin\",\n    \".size\" : \"builtin\",\n    \".skip\" : \"builtin\",\n    \".sleb128\" : \"builtin\",\n    \".space\" : \"builtin\",\n    \".stab\" : \"builtin\",\n    \".string\" : \"builtin\",\n    \".struct\" : \"builtin\",\n    \".subsection\" : \"builtin\",\n    \".symver\" : \"builtin\",\n    \".tag\" : \"builtin\",\n    \".text\" : \"builtin\",\n    \".title\" : \"builtin\",\n    \".type\" : \"builtin\",\n    \".uleb128\" : \"builtin\",\n    \".val\" : \"builtin\",\n    \".version\" : \"builtin\",\n    \".vtable_entry\" : \"builtin\",\n    \".vtable_inherit\" : \"builtin\",\n    \".warning\" : \"builtin\",\n    \".weak\" : \"builtin\",\n    \".weakref\" : \"builtin\",\n    \".word\" : \"builtin\"\n  };\n\n  var registers = {};\n\n  function x86(_parserConfig) {\n    lineCommentStartSymbol = \"#\";\n\n    registers.ax  = \"variable\";\n    registers.eax = \"variable-2\";\n    registers.rax = \"variable-3\";\n\n    registers.bx  = \"variable\";\n    registers.ebx = \"variable-2\";\n    registers.rbx = \"variable-3\";\n\n    registers.cx  = \"variable\";\n    registers.ecx = \"variable-2\";\n    registers.rcx = \"variable-3\";\n\n    registers.dx  = \"variable\";\n    registers.edx = \"variable-2\";\n    registers.rdx = \"variable-3\";\n\n    registers.si  = \"variable\";\n    registers.esi = \"variable-2\";\n    registers.rsi = \"variable-3\";\n\n    registers.di  = \"variable\";\n    registers.edi = \"variable-2\";\n    registers.rdi = \"variable-3\";\n\n    registers.sp  = \"variable\";\n    registers.esp = \"variable-2\";\n    registers.rsp = \"variable-3\";\n\n    registers.bp  = \"variable\";\n    registers.ebp = \"variable-2\";\n    registers.rbp = \"variable-3\";\n\n    registers.ip  = \"variable\";\n    registers.eip = \"variable-2\";\n    registers.rip = \"variable-3\";\n\n    registers.cs  = \"keyword\";\n    registers.ds  = \"keyword\";\n    registers.ss  = \"keyword\";\n    registers.es  = \"keyword\";\n    registers.fs  = \"keyword\";\n    registers.gs  = \"keyword\";\n  }\n\n  function armv6(_parserConfig) {\n    // Reference:\n    // http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf\n    // http://infocenter.arm.com/help/topic/com.arm.doc.ddi0301h/DDI0301H_arm1176jzfs_r0p7_trm.pdf\n    lineCommentStartSymbol = \"@\";\n    directives.syntax = \"builtin\";\n\n    registers.r0  = \"variable\";\n    registers.r1  = \"variable\";\n    registers.r2  = \"variable\";\n    registers.r3  = \"variable\";\n    registers.r4  = \"variable\";\n    registers.r5  = \"variable\";\n    registers.r6  = \"variable\";\n    registers.r7  = \"variable\";\n    registers.r8  = \"variable\";\n    registers.r9  = \"variable\";\n    registers.r10 = \"variable\";\n    registers.r11 = \"variable\";\n    registers.r12 = \"variable\";\n\n    registers.sp  = \"variable-2\";\n    registers.lr  = \"variable-2\";\n    registers.pc  = \"variable-2\";\n    registers.r13 = registers.sp;\n    registers.r14 = registers.lr;\n    registers.r15 = registers.pc;\n\n    custom.push(function(ch, stream) {\n      if (ch === '#') {\n        stream.eatWhile(/\\w/);\n        return \"number\";\n      }\n    });\n  }\n\n  var arch = (parserConfig.architecture || \"x86\").toLowerCase();\n  if (arch === \"x86\") {\n    x86(parserConfig);\n  } else if (arch === \"arm\" || arch === \"armv6\") {\n    armv6(parserConfig);\n  }\n\n  function nextUntilUnescaped(stream, end) {\n    var escaped = false, next;\n    while ((next = stream.next()) != null) {\n      if (next === end && !escaped) {\n        return false;\n      }\n      escaped = !escaped && next === \"\\\\\";\n    }\n    return escaped;\n  }\n\n  function clikeComment(stream, state) {\n    var maybeEnd = false, ch;\n    while ((ch = stream.next()) != null) {\n      if (ch === \"/\" && maybeEnd) {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch === \"*\");\n    }\n    return \"comment\";\n  }\n\n  return {\n    startState: function() {\n      return {\n        tokenize: null\n      };\n    },\n\n    token: function(stream, state) {\n      if (state.tokenize) {\n        return state.tokenize(stream, state);\n      }\n\n      if (stream.eatSpace()) {\n        return null;\n      }\n\n      var style, cur, ch = stream.next();\n\n      if (ch === \"/\") {\n        if (stream.eat(\"*\")) {\n          state.tokenize = clikeComment;\n          return clikeComment(stream, state);\n        }\n      }\n\n      if (ch === lineCommentStartSymbol) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n\n      if (ch === '\"') {\n        nextUntilUnescaped(stream, '\"');\n        return \"string\";\n      }\n\n      if (ch === '.') {\n        stream.eatWhile(/\\w/);\n        cur = stream.current().toLowerCase();\n        style = directives[cur];\n        return style || null;\n      }\n\n      if (ch === '=') {\n        stream.eatWhile(/\\w/);\n        return \"tag\";\n      }\n\n      if (ch === '{') {\n        return \"braket\";\n      }\n\n      if (ch === '}') {\n        return \"braket\";\n      }\n\n      if (/\\d/.test(ch)) {\n        if (ch === \"0\" && stream.eat(\"x\")) {\n          stream.eatWhile(/[0-9a-fA-F]/);\n          return \"number\";\n        }\n        stream.eatWhile(/\\d/);\n        return \"number\";\n      }\n\n      if (/\\w/.test(ch)) {\n        stream.eatWhile(/\\w/);\n        if (stream.eat(\":\")) {\n          return 'tag';\n        }\n        cur = stream.current().toLowerCase();\n        style = registers[cur];\n        return style || null;\n      }\n\n      for (var i = 0; i < custom.length; i++) {\n        style = custom[i](ch, stream, state);\n        if (style) {\n          return style;\n        }\n      }\n    },\n\n    lineComment: lineCommentStartSymbol,\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\"\n  };\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/gas/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Gas mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"gas.js\"></script>\n<style>.CodeMirror {border: 2px inset #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Gas</a>\n  </ul>\n</div>\n\n<article>\n<h2>Gas mode</h2>\n<form>\n<textarea id=\"code\" name=\"code\">\n.syntax unified\n.global main\n\n/* \n *  A\n *  multi-line\n *  comment.\n */\n\n@ A single line comment.\n\nmain:\n        push    {sp, lr}\n        ldr     r0, =message\n        bl      puts\n        mov     r0, #0\n        pop     {sp, pc}\n\nmessage:\n        .asciz \"Hello world!<br />\"\n</textarea>\n        </form>\n\n        <script>\n            var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n                lineNumbers: true,\n                mode: {name: \"gas\", architecture: \"ARMv6\"},\n            });\n        </script>\n\n        <p>Handles AT&amp;T assembler syntax (more specifically this handles\n        the GNU Assembler (gas) syntax.)\n        It takes a single optional configuration parameter:\n        <code>architecture</code>, which can be one of <code>\"ARM\"</code>,\n        <code>\"ARMv6\"</code> or <code>\"x86\"</code>.\n        Including the parameter adds syntax for the registers and special\n        directives for the supplied architecture.\n\n        <p><strong>MIME types defined:</strong> <code>text/x-gas</code></p>\n    </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/gfm/gfm.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../markdown/markdown\"), require(\"../../addon/mode/overlay\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../markdown/markdown\", \"../../addon/mode/overlay\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"gfm\", function(config, modeConfig) {\n  var codeDepth = 0;\n  function blankLine(state) {\n    state.code = false;\n    return null;\n  }\n  var gfmOverlay = {\n    startState: function() {\n      return {\n        code: false,\n        codeBlock: false,\n        ateSpace: false\n      };\n    },\n    copyState: function(s) {\n      return {\n        code: s.code,\n        codeBlock: s.codeBlock,\n        ateSpace: s.ateSpace\n      };\n    },\n    token: function(stream, state) {\n      state.combineTokens = null;\n\n      // Hack to prevent formatting override inside code blocks (block and inline)\n      if (state.codeBlock) {\n        if (stream.match(/^```/)) {\n          state.codeBlock = false;\n          return null;\n        }\n        stream.skipToEnd();\n        return null;\n      }\n      if (stream.sol()) {\n        state.code = false;\n      }\n      if (stream.sol() && stream.match(/^```/)) {\n        stream.skipToEnd();\n        state.codeBlock = true;\n        return null;\n      }\n      // If this block is changed, it may need to be updated in Markdown mode\n      if (stream.peek() === '`') {\n        stream.next();\n        var before = stream.pos;\n        stream.eatWhile('`');\n        var difference = 1 + stream.pos - before;\n        if (!state.code) {\n          codeDepth = difference;\n          state.code = true;\n        } else {\n          if (difference === codeDepth) { // Must be exact\n            state.code = false;\n          }\n        }\n        return null;\n      } else if (state.code) {\n        stream.next();\n        return null;\n      }\n      // Check if space. If so, links can be formatted later on\n      if (stream.eatSpace()) {\n        state.ateSpace = true;\n        return null;\n      }\n      if (stream.sol() || state.ateSpace) {\n        state.ateSpace = false;\n        if(stream.match(/^(?:[a-zA-Z0-9\\-_]+\\/)?(?:[a-zA-Z0-9\\-_]+@)?(?:[a-f0-9]{7,40}\\b)/)) {\n          // User/Project@SHA\n          // User@SHA\n          // SHA\n          state.combineTokens = true;\n          return \"link\";\n        } else if (stream.match(/^(?:[a-zA-Z0-9\\-_]+\\/)?(?:[a-zA-Z0-9\\-_]+)?#[0-9]+\\b/)) {\n          // User/Project#Num\n          // User#Num\n          // #Num\n          state.combineTokens = true;\n          return \"link\";\n        }\n      }\n      if (stream.match(/^((?:[a-z][\\w-]+:(?:\\/{1,3}|[a-z0-9%])|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}\\/)(?:[^\\s()<>]|\\([^\\s()<>]*\\))+(?:\\([^\\s()<>]*\\)|[^\\s`*!()\\[\\]{};:'\".,<>?«»“”‘’]))/i) &&\n         stream.string.slice(stream.start - 2, stream.start) != \"](\") {\n        // URLs\n        // Taken from http://daringfireball.net/2010/07/improved_regex_for_matching_urls\n        // And then (issue #1160) simplified to make it not crash the Chrome Regexp engine\n        state.combineTokens = true;\n        return \"link\";\n      }\n      stream.next();\n      return null;\n    },\n    blankLine: blankLine\n  };\n\n  var markdownConfig = {\n    underscoresBreakWords: false,\n    taskLists: true,\n    fencedCodeBlocks: true,\n    strikethrough: true\n  };\n  for (var attr in modeConfig) {\n    markdownConfig[attr] = modeConfig[attr];\n  }\n  markdownConfig.name = \"markdown\";\n  CodeMirror.defineMIME(\"gfmBase\", markdownConfig);\n  return CodeMirror.overlayMode(CodeMirror.getMode(config, \"gfmBase\"), gfmOverlay);\n}, \"markdown\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/gfm/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: GFM mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/mode/overlay.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../markdown/markdown.js\"></script>\n<script src=\"gfm.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../css/css.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"../clike/clike.js\"></script>\n<script src=\"../meta.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">GFM</a>\n  </ul>\n</div>\n\n<article>\n<h2>GFM mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nGitHub Flavored Markdown\n========================\n\nEverything from markdown plus GFM features:\n\n## URL autolinking\n\nUnderscores_are_allowed_between_words.\n\n## Strikethrough text\n\nGFM adds syntax to strikethrough text, which is missing from standard Markdown.\n\n~~Mistaken text.~~\n~~**works with other fomatting**~~\n\n~~spans across\nlines~~\n\n## Fenced code blocks (and syntax highlighting)\n\n```javascript\nfor (var i = 0; i &lt; items.length; i++) {\n    console.log(items[i], i); // log them\n}\n```\n\n## Task Lists\n\n- [ ] Incomplete task list item\n- [x] **Completed** task list item\n\n## A bit of GitHub spice\n\n* SHA: be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2\n* User@SHA ref: mojombo@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2\n* User/Project@SHA: mojombo/god@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2\n* \\#Num: #1\n* User/#Num: mojombo#1\n* User/Project#Num: mojombo/god#1\n\nSee http://github.github.com/github-flavored-markdown/.\n\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: 'gfm',\n        lineNumbers: true,\n        theme: \"default\"\n      });\n    </script>\n\n    <p>Optionally depends on other modes for properly highlighted code blocks.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#gfm_*\">normal</a>,  <a href=\"../../test/index.html#verbose,gfm_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/gfm/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({tabSize: 4}, \"gfm\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n  var modeHighlightFormatting = CodeMirror.getMode({tabSize: 4}, {name: \"gfm\", highlightFormatting: true});\n  function FT(name) { test.mode(name, modeHighlightFormatting, Array.prototype.slice.call(arguments, 1)); }\n\n  FT(\"codeBackticks\",\n     \"[comment&formatting&formatting-code `][comment foo][comment&formatting&formatting-code `]\");\n\n  FT(\"doubleBackticks\",\n     \"[comment&formatting&formatting-code ``][comment foo ` bar][comment&formatting&formatting-code ``]\");\n\n  FT(\"codeBlock\",\n     \"[comment&formatting&formatting-code-block ```css]\",\n     \"[tag foo]\",\n     \"[comment&formatting&formatting-code-block ```]\");\n\n  FT(\"taskList\",\n     \"[variable-2&formatting&formatting-list&formatting-list-ul - ][meta&formatting&formatting-task [ ]]][variable-2  foo]\",\n     \"[variable-2&formatting&formatting-list&formatting-list-ul - ][property&formatting&formatting-task [x]]][variable-2  foo]\");\n\n  FT(\"formatting_strikethrough\",\n     \"[strikethrough&formatting&formatting-strikethrough ~~][strikethrough foo][strikethrough&formatting&formatting-strikethrough ~~]\");\n\n  FT(\"formatting_strikethrough\",\n     \"foo [strikethrough&formatting&formatting-strikethrough ~~][strikethrough bar][strikethrough&formatting&formatting-strikethrough ~~]\");\n\n  MT(\"emInWordAsterisk\",\n     \"foo[em *bar*]hello\");\n\n  MT(\"emInWordUnderscore\",\n     \"foo_bar_hello\");\n\n  MT(\"emStrongUnderscore\",\n     \"[strong __][em&strong _foo__][em _] bar\");\n\n  MT(\"fencedCodeBlocks\",\n     \"[comment ```]\",\n     \"[comment foo]\",\n     \"\",\n     \"[comment ```]\",\n     \"bar\");\n\n  MT(\"fencedCodeBlockModeSwitching\",\n     \"[comment ```javascript]\",\n     \"[variable foo]\",\n     \"\",\n     \"[comment ```]\",\n     \"bar\");\n\n  MT(\"taskListAsterisk\",\n     \"[variable-2 * []] foo]\", // Invalid; must have space or x between []\n     \"[variable-2 * [ ]]bar]\", // Invalid; must have space after ]\n     \"[variable-2 * [x]]hello]\", // Invalid; must have space after ]\n     \"[variable-2 * ][meta [ ]]][variable-2  [world]]]\", // Valid; tests reference style links\n     \"    [variable-3 * ][property [x]]][variable-3  foo]\"); // Valid; can be nested\n\n  MT(\"taskListPlus\",\n     \"[variable-2 + []] foo]\", // Invalid; must have space or x between []\n     \"[variable-2 + [ ]]bar]\", // Invalid; must have space after ]\n     \"[variable-2 + [x]]hello]\", // Invalid; must have space after ]\n     \"[variable-2 + ][meta [ ]]][variable-2  [world]]]\", // Valid; tests reference style links\n     \"    [variable-3 + ][property [x]]][variable-3  foo]\"); // Valid; can be nested\n\n  MT(\"taskListDash\",\n     \"[variable-2 - []] foo]\", // Invalid; must have space or x between []\n     \"[variable-2 - [ ]]bar]\", // Invalid; must have space after ]\n     \"[variable-2 - [x]]hello]\", // Invalid; must have space after ]\n     \"[variable-2 - ][meta [ ]]][variable-2  [world]]]\", // Valid; tests reference style links\n     \"    [variable-3 - ][property [x]]][variable-3  foo]\"); // Valid; can be nested\n\n  MT(\"taskListNumber\",\n     \"[variable-2 1. []] foo]\", // Invalid; must have space or x between []\n     \"[variable-2 2. [ ]]bar]\", // Invalid; must have space after ]\n     \"[variable-2 3. [x]]hello]\", // Invalid; must have space after ]\n     \"[variable-2 4. ][meta [ ]]][variable-2  [world]]]\", // Valid; tests reference style links\n     \"    [variable-3 1. ][property [x]]][variable-3  foo]\"); // Valid; can be nested\n\n  MT(\"SHA\",\n     \"foo [link be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2] bar\");\n\n  MT(\"SHAEmphasis\",\n     \"[em *foo ][em&link be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2][em *]\");\n\n  MT(\"shortSHA\",\n     \"foo [link be6a8cc] bar\");\n\n  MT(\"tooShortSHA\",\n     \"foo be6a8c bar\");\n\n  MT(\"longSHA\",\n     \"foo be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd22 bar\");\n\n  MT(\"badSHA\",\n     \"foo be6a8cc1c1ecfe9489fb51e4869af15a13fc2cg2 bar\");\n\n  MT(\"userSHA\",\n     \"foo [link bar@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2] hello\");\n\n  MT(\"userSHAEmphasis\",\n     \"[em *foo ][em&link bar@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2][em *]\");\n\n  MT(\"userProjectSHA\",\n     \"foo [link bar/hello@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2] world\");\n\n  MT(\"userProjectSHAEmphasis\",\n     \"[em *foo ][em&link bar/hello@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2][em *]\");\n\n  MT(\"num\",\n     \"foo [link #1] bar\");\n\n  MT(\"numEmphasis\",\n     \"[em *foo ][em&link #1][em *]\");\n\n  MT(\"badNum\",\n     \"foo #1bar hello\");\n\n  MT(\"userNum\",\n     \"foo [link bar#1] hello\");\n\n  MT(\"userNumEmphasis\",\n     \"[em *foo ][em&link bar#1][em *]\");\n\n  MT(\"userProjectNum\",\n     \"foo [link bar/hello#1] world\");\n\n  MT(\"userProjectNumEmphasis\",\n     \"[em *foo ][em&link bar/hello#1][em *]\");\n\n  MT(\"vanillaLink\",\n     \"foo [link http://www.example.com/] bar\");\n\n  MT(\"vanillaLinkPunctuation\",\n     \"foo [link http://www.example.com/]. bar\");\n\n  MT(\"vanillaLinkExtension\",\n     \"foo [link http://www.example.com/index.html] bar\");\n\n  MT(\"vanillaLinkEmphasis\",\n     \"foo [em *][em&link http://www.example.com/index.html][em *] bar\");\n\n  MT(\"notALink\",\n     \"[comment ```css]\",\n     \"[tag foo] {[property color]:[keyword black];}\",\n     \"[comment ```][link http://www.example.com/]\");\n\n  MT(\"notALink\",\n     \"[comment ``foo `bar` http://www.example.com/``] hello\");\n\n  MT(\"notALink\",\n     \"[comment `foo]\",\n     \"[link http://www.example.com/]\",\n     \"[comment `foo]\",\n     \"\",\n     \"[link http://www.example.com/]\");\n\n  MT(\"headerCodeBlockGithub\",\n     \"[header&header-1 # heading]\",\n     \"\",\n     \"[comment ```]\",\n     \"[comment code]\",\n     \"[comment ```]\",\n     \"\",\n     \"Commit: [link be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2]\",\n     \"Issue: [link #1]\",\n     \"Link: [link http://www.example.com/]\");\n\n  MT(\"strikethrough\",\n     \"[strikethrough ~~foo~~]\");\n\n  MT(\"strikethroughWithStartingSpace\",\n     \"~~ foo~~\");\n\n  MT(\"strikethroughUnclosedStrayTildes\",\n    \"[strikethrough ~~foo~~~]\");\n\n  MT(\"strikethroughUnclosedStrayTildes\",\n     \"[strikethrough ~~foo ~~]\");\n\n  MT(\"strikethroughUnclosedStrayTildes\",\n    \"[strikethrough ~~foo ~~ bar]\");\n\n  MT(\"strikethroughUnclosedStrayTildes\",\n    \"[strikethrough ~~foo ~~ bar~~]hello\");\n\n  MT(\"strikethroughOneLetter\",\n     \"[strikethrough ~~a~~]\");\n\n  MT(\"strikethroughWrapped\",\n     \"[strikethrough ~~foo]\",\n     \"[strikethrough foo~~]\");\n\n  MT(\"strikethroughParagraph\",\n     \"[strikethrough ~~foo]\",\n     \"\",\n     \"foo[strikethrough ~~bar]\");\n\n  MT(\"strikethroughEm\",\n     \"[strikethrough ~~foo][em&strikethrough *bar*][strikethrough ~~]\");\n\n  MT(\"strikethroughEm\",\n     \"[em *][em&strikethrough ~~foo~~][em *]\");\n\n  MT(\"strikethroughStrong\",\n     \"[strikethrough ~~][strong&strikethrough **foo**][strikethrough ~~]\");\n\n  MT(\"strikethroughStrong\",\n     \"[strong **][strong&strikethrough ~~foo~~][strong **]\");\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/gherkin/gherkin.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/*\nGherkin mode - http://www.cukes.info/\nReport bugs/issues here: https://github.com/codemirror/CodeMirror/issues\n*/\n\n// Following Objs from Brackets implementation: https://github.com/tregusti/brackets-gherkin/blob/master/main.js\n//var Quotes = {\n//  SINGLE: 1,\n//  DOUBLE: 2\n//};\n\n//var regex = {\n//  keywords: /(Feature| {2}(Scenario|In order to|As|I)| {4}(Given|When|Then|And))/\n//};\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"gherkin\", function () {\n  return {\n    startState: function () {\n      return {\n        lineNumber: 0,\n        tableHeaderLine: false,\n        allowFeature: true,\n        allowBackground: false,\n        allowScenario: false,\n        allowSteps: false,\n        allowPlaceholders: false,\n        allowMultilineArgument: false,\n        inMultilineString: false,\n        inMultilineTable: false,\n        inKeywordLine: false\n      };\n    },\n    token: function (stream, state) {\n      if (stream.sol()) {\n        state.lineNumber++;\n        state.inKeywordLine = false;\n        if (state.inMultilineTable) {\n            state.tableHeaderLine = false;\n            if (!stream.match(/\\s*\\|/, false)) {\n              state.allowMultilineArgument = false;\n              state.inMultilineTable = false;\n            }\n        }\n      }\n\n      stream.eatSpace();\n\n      if (state.allowMultilineArgument) {\n\n        // STRING\n        if (state.inMultilineString) {\n          if (stream.match('\"\"\"')) {\n            state.inMultilineString = false;\n            state.allowMultilineArgument = false;\n          } else {\n            stream.match(/.*/);\n          }\n          return \"string\";\n        }\n\n        // TABLE\n        if (state.inMultilineTable) {\n          if (stream.match(/\\|\\s*/)) {\n            return \"bracket\";\n          } else {\n            stream.match(/[^\\|]*/);\n            return state.tableHeaderLine ? \"header\" : \"string\";\n          }\n        }\n\n        // DETECT START\n        if (stream.match('\"\"\"')) {\n          // String\n          state.inMultilineString = true;\n          return \"string\";\n        } else if (stream.match(\"|\")) {\n          // Table\n          state.inMultilineTable = true;\n          state.tableHeaderLine = true;\n          return \"bracket\";\n        }\n\n      }\n\n      // LINE COMMENT\n      if (stream.match(/#.*/)) {\n        return \"comment\";\n\n      // TAG\n      } else if (!state.inKeywordLine && stream.match(/@\\S+/)) {\n        return \"tag\";\n\n      // FEATURE\n      } else if (!state.inKeywordLine && state.allowFeature && stream.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)) {\n        state.allowScenario = true;\n        state.allowBackground = true;\n        state.allowPlaceholders = false;\n        state.allowSteps = false;\n        state.allowMultilineArgument = false;\n        state.inKeywordLine = true;\n        return \"keyword\";\n\n      // BACKGROUND\n      } else if (!state.inKeywordLine && state.allowBackground && stream.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\\-ho\\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)) {\n        state.allowPlaceholders = false;\n        state.allowSteps = true;\n        state.allowBackground = false;\n        state.allowMultilineArgument = false;\n        state.inKeywordLine = true;\n        return \"keyword\";\n\n      // SCENARIO OUTLINE\n      } else if (!state.inKeywordLine && state.allowScenario && stream.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)) {\n        state.allowPlaceholders = true;\n        state.allowSteps = true;\n        state.allowMultilineArgument = false;\n        state.inKeywordLine = true;\n        return \"keyword\";\n\n      // EXAMPLES\n      } else if (state.allowScenario && stream.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)) {\n        state.allowPlaceholders = false;\n        state.allowSteps = true;\n        state.allowBackground = false;\n        state.allowMultilineArgument = true;\n        return \"keyword\";\n\n      // SCENARIO\n      } else if (!state.inKeywordLine && state.allowScenario && stream.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)) {\n        state.allowPlaceholders = false;\n        state.allowSteps = true;\n        state.allowBackground = false;\n        state.allowMultilineArgument = false;\n        state.inKeywordLine = true;\n        return \"keyword\";\n\n      // STEPS\n      } else if (!state.inKeywordLine && state.allowSteps && stream.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\\* )/)) {\n        state.inStep = true;\n        state.allowPlaceholders = true;\n        state.allowMultilineArgument = true;\n        state.inKeywordLine = true;\n        return \"keyword\";\n\n      // INLINE STRING\n      } else if (stream.match(/\"[^\"]*\"?/)) {\n        return \"string\";\n\n      // PLACEHOLDER\n      } else if (state.allowPlaceholders && stream.match(/<[^>]*>?/)) {\n        return \"variable\";\n\n      // Fall through\n      } else {\n        stream.next();\n        stream.eatWhile(/[^@\"<#]/);\n        return null;\n      }\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-feature\", \"gherkin\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/gherkin/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Gherkin mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"gherkin.js\"></script>\n<style>.CodeMirror { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Gherkin</a>\n  </ul>\n</div>\n\n<article>\n<h2>Gherkin mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nFeature: Using Google\n  Background: \n    Something something\n    Something else\n  Scenario: Has a homepage\n    When I navigate to the google home page\n    Then the home page should contain the menu and the search form\n  Scenario: Searching for a term \n    When I navigate to the google home page\n    When I search for Tofu\n    Then the search results page is displayed\n    Then the search results page contains 10 individual search results\n    Then the search results contain a link to the wikipedia tofu page\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-feature</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/go/go.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"go\", function(config) {\n  var indentUnit = config.indentUnit;\n\n  var keywords = {\n    \"break\":true, \"case\":true, \"chan\":true, \"const\":true, \"continue\":true,\n    \"default\":true, \"defer\":true, \"else\":true, \"fallthrough\":true, \"for\":true,\n    \"func\":true, \"go\":true, \"goto\":true, \"if\":true, \"import\":true,\n    \"interface\":true, \"map\":true, \"package\":true, \"range\":true, \"return\":true,\n    \"select\":true, \"struct\":true, \"switch\":true, \"type\":true, \"var\":true,\n    \"bool\":true, \"byte\":true, \"complex64\":true, \"complex128\":true,\n    \"float32\":true, \"float64\":true, \"int8\":true, \"int16\":true, \"int32\":true,\n    \"int64\":true, \"string\":true, \"uint8\":true, \"uint16\":true, \"uint32\":true,\n    \"uint64\":true, \"int\":true, \"uint\":true, \"uintptr\":true\n  };\n\n  var atoms = {\n    \"true\":true, \"false\":true, \"iota\":true, \"nil\":true, \"append\":true,\n    \"cap\":true, \"close\":true, \"complex\":true, \"copy\":true, \"imag\":true,\n    \"len\":true, \"make\":true, \"new\":true, \"panic\":true, \"print\":true,\n    \"println\":true, \"real\":true, \"recover\":true\n  };\n\n  var isOperatorChar = /[+\\-*&^%:=<>!|\\/]/;\n\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"' || ch == \"'\" || ch == \"`\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\d\\.]/.test(ch)) {\n      if (ch == \".\") {\n        stream.match(/^[0-9]+([eE][\\-+]?[0-9]+)?/);\n      } else if (ch == \"0\") {\n        stream.match(/^[xX][0-9a-fA-F]+/) || stream.match(/^0[0-7]+/);\n      } else {\n        stream.match(/^[0-9]*\\.?[0-9]*([eE][\\-+]?[0-9]+)?/);\n      }\n      return \"number\";\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_\\xa1-\\uffff]/);\n    var cur = stream.current();\n    if (keywords.propertyIsEnumerable(cur)) {\n      if (cur == \"case\" || cur == \"default\") curPunc = \"case\";\n      return \"keyword\";\n    }\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || quote == \"`\"))\n        state.tokenize = tokenBase;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    return state.context = new Context(state.indented, col, type, null, state.context);\n  }\n  function popContext(state) {\n    if (!state.context.prev) return;\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: null,\n        context: new Context((basecolumn || 0) - indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n        if (ctx.type == \"case\") ctx.type = \"}\";\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"case\") ctx.type = \"case\";\n      else if (curPunc == \"}\" && ctx.type == \"}\") ctx = popContext(state);\n      else if (curPunc == ctx.type) popContext(state);\n      state.startOfLine = false;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase && state.tokenize != null) return 0;\n      var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);\n      if (ctx.type == \"case\" && /^(?:case|default)\\b/.test(textAfter)) {\n        state.context.type = \"}\";\n        return ctx.indented;\n      }\n      var closing = firstChar == ctx.type;\n      if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}):\",\n    fold: \"brace\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: \"//\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-go\", \"go\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/go/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Go mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/elegant.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"go.js\"></script>\n<style>.CodeMirror {border:1px solid #999; background:#ffc}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Go</a>\n  </ul>\n</div>\n\n<article>\n<h2>Go mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n// Prime Sieve in Go.\n// Taken from the Go specification.\n// Copyright © The Go Authors.\n\npackage main\n\nimport \"fmt\"\n\n// Send the sequence 2, 3, 4, ... to channel 'ch'.\nfunc generate(ch chan&lt;- int) {\n\tfor i := 2; ; i++ {\n\t\tch &lt;- i  // Send 'i' to channel 'ch'\n\t}\n}\n\n// Copy the values from channel 'src' to channel 'dst',\n// removing those divisible by 'prime'.\nfunc filter(src &lt;-chan int, dst chan&lt;- int, prime int) {\n\tfor i := range src {    // Loop over values received from 'src'.\n\t\tif i%prime != 0 {\n\t\t\tdst &lt;- i  // Send 'i' to channel 'dst'.\n\t\t}\n\t}\n}\n\n// The prime sieve: Daisy-chain filter processes together.\nfunc sieve() {\n\tch := make(chan int)  // Create a new channel.\n\tgo generate(ch)       // Start generate() as a subprocess.\n\tfor {\n\t\tprime := &lt;-ch\n\t\tfmt.Print(prime, \"\\n\")\n\t\tch1 := make(chan int)\n\t\tgo filter(ch, ch1, prime)\n\t\tch = ch1\n\t}\n}\n\nfunc main() {\n\tsieve()\n}\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        theme: \"elegant\",\n        matchBrackets: true,\n        indentUnit: 8,\n        tabSize: 8,\n        indentWithTabs: true,\n        mode: \"text/x-go\"\n      });\n    </script>\n\n    <p><strong>MIME type:</strong> <code>text/x-go</code></p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/groovy/groovy.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"groovy\", function(config) {\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var keywords = words(\n    \"abstract as assert boolean break byte case catch char class const continue def default \" +\n    \"do double else enum extends final finally float for goto if implements import in \" +\n    \"instanceof int interface long native new package private protected public return \" +\n    \"short static strictfp super switch synchronized threadsafe throw throws transient \" +\n    \"try void volatile while\");\n  var blockKeywords = words(\"catch class do else finally for if switch try while enum interface def\");\n  var atoms = words(\"null true false this\");\n\n  var curPunc;\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"' || ch == \"'\") {\n      return startString(ch, stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      if (stream.eat(/eE/)) { stream.eat(/\\+\\-/); stream.eatWhile(/\\d/); }\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize.push(tokenComment);\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      if (expectExpression(state.lastToken)) {\n        return startString(ch, stream, state);\n      }\n    }\n    if (ch == \"-\" && stream.eat(\">\")) {\n      curPunc = \"->\";\n      return null;\n    }\n    if (/[+\\-*&%=<>!?|\\/~]/.test(ch)) {\n      stream.eatWhile(/[+\\-*&%=<>|~]/);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    if (ch == \"@\") { stream.eatWhile(/[\\w\\$_\\.]/); return \"meta\"; }\n    if (state.lastToken == \".\") return \"property\";\n    if (stream.eat(\":\")) { curPunc = \"proplabel\"; return \"property\"; }\n    var cur = stream.current();\n    if (atoms.propertyIsEnumerable(cur)) { return \"atom\"; }\n    if (keywords.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"keyword\";\n    }\n    return \"variable\";\n  }\n  tokenBase.isBase = true;\n\n  function startString(quote, stream, state) {\n    var tripleQuoted = false;\n    if (quote != \"/\" && stream.eat(quote)) {\n      if (stream.eat(quote)) tripleQuoted = true;\n      else return \"string\";\n    }\n    function t(stream, state) {\n      var escaped = false, next, end = !tripleQuoted;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {\n          if (!tripleQuoted) { break; }\n          if (stream.match(quote + quote)) { end = true; break; }\n        }\n        if (quote == '\"' && next == \"$\" && !escaped && stream.eat(\"{\")) {\n          state.tokenize.push(tokenBaseUntilBrace());\n          return \"string\";\n        }\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end) state.tokenize.pop();\n      return \"string\";\n    }\n    state.tokenize.push(t);\n    return t(stream, state);\n  }\n\n  function tokenBaseUntilBrace() {\n    var depth = 1;\n    function t(stream, state) {\n      if (stream.peek() == \"}\") {\n        depth--;\n        if (depth == 0) {\n          state.tokenize.pop();\n          return state.tokenize[state.tokenize.length-1](stream, state);\n        }\n      } else if (stream.peek() == \"{\") {\n        depth++;\n      }\n      return tokenBase(stream, state);\n    }\n    t.isBase = true;\n    return t;\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize.pop();\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function expectExpression(last) {\n    return !last || last == \"operator\" || last == \"->\" || /[\\.\\[\\{\\(,;:]/.test(last) ||\n      last == \"newstatement\" || last == \"keyword\" || last == \"proplabel\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    return state.context = new Context(state.indented, col, type, null, state.context);\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: [tokenBase],\n        context: new Context((basecolumn || 0) - config.indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true,\n        lastToken: null\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n        // Automatic semicolon insertion\n        if (ctx.type == \"statement\" && !expectExpression(state.lastToken)) {\n          popContext(state); ctx = state.context;\n        }\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = state.tokenize[state.tokenize.length-1](stream, state);\n      if (style == \"comment\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if ((curPunc == \";\" || curPunc == \":\") && ctx.type == \"statement\") popContext(state);\n      // Handle indentation for {x -> \\n ... }\n      else if (curPunc == \"->\" && ctx.type == \"statement\" && ctx.prev.type == \"}\") {\n        popContext(state);\n        state.context.align = false;\n      }\n      else if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"}\") {\n        while (ctx.type == \"statement\") ctx = popContext(state);\n        if (ctx.type == \"}\") ctx = popContext(state);\n        while (ctx.type == \"statement\") ctx = popContext(state);\n      }\n      else if (curPunc == ctx.type) popContext(state);\n      else if (ctx.type == \"}\" || ctx.type == \"top\" || (ctx.type == \"statement\" && curPunc == \"newstatement\"))\n        pushContext(state, stream.column(), \"statement\");\n      state.startOfLine = false;\n      state.lastToken = curPunc || style;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (!state.tokenize[state.tokenize.length-1].isBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), ctx = state.context;\n      if (ctx.type == \"statement\" && !expectExpression(state.lastToken)) ctx = ctx.prev;\n      var closing = firstChar == ctx.type;\n      if (ctx.type == \"statement\") return ctx.indented + (firstChar == \"{\" ? 0 : config.indentUnit);\n      else if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indented + (closing ? 0 : config.indentUnit);\n    },\n\n    electricChars: \"{}\",\n    fold: \"brace\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-groovy\", \"groovy\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/groovy/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Groovy mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"groovy.js\"></script>\n<style>.CodeMirror {border-top: 1px solid #500; border-bottom: 1px solid #500;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Groovy</a>\n  </ul>\n</div>\n\n<article>\n<h2>Groovy mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n//Pattern for groovy script\ndef p = ~/.*\\.groovy/\nnew File( 'd:\\\\scripts' ).eachFileMatch(p) {f ->\n  // imports list\n  def imports = []\n  f.eachLine {\n    // condition to detect an import instruction\n    ln -> if ( ln =~ '^import .*' ) {\n      imports << \"${ln - 'import '}\"\n    }\n  }\n  // print thmen\n  if ( ! imports.empty ) {\n    println f\n    imports.each{ println \"   $it\" }\n  }\n}\n\n/* Coin changer demo code from http://groovy.codehaus.org */\n\nenum UsCoin {\n  quarter(25), dime(10), nickel(5), penny(1)\n  UsCoin(v) { value = v }\n  final value\n}\n\nenum OzzieCoin {\n  fifty(50), twenty(20), ten(10), five(5)\n  OzzieCoin(v) { value = v }\n  final value\n}\n\ndef plural(word, count) {\n  if (count == 1) return word\n  word[-1] == 'y' ? word[0..-2] + \"ies\" : word + \"s\"\n}\n\ndef change(currency, amount) {\n  currency.values().inject([]){ list, coin ->\n     int count = amount / coin.value\n     amount = amount % coin.value\n     list += \"$count ${plural(coin.toString(), count)}\"\n  }\n}\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-groovy\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-groovy</code></p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/haml/haml.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../htmlmixed/htmlmixed\"), require(\"../ruby/ruby\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../htmlmixed/htmlmixed\", \"../ruby/ruby\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\n  // full haml mode. This handled embeded ruby and html fragments too\n  CodeMirror.defineMode(\"haml\", function(config) {\n    var htmlMode = CodeMirror.getMode(config, {name: \"htmlmixed\"});\n    var rubyMode = CodeMirror.getMode(config, \"ruby\");\n\n    function rubyInQuote(endQuote) {\n      return function(stream, state) {\n        var ch = stream.peek();\n        if (ch == endQuote && state.rubyState.tokenize.length == 1) {\n          // step out of ruby context as it seems to complete processing all the braces\n          stream.next();\n          state.tokenize = html;\n          return \"closeAttributeTag\";\n        } else {\n          return ruby(stream, state);\n        }\n      };\n    }\n\n    function ruby(stream, state) {\n      if (stream.match(\"-#\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      return rubyMode.token(stream, state.rubyState);\n    }\n\n    function html(stream, state) {\n      var ch = stream.peek();\n\n      // handle haml declarations. All declarations that cant be handled here\n      // will be passed to html mode\n      if (state.previousToken.style == \"comment\" ) {\n        if (state.indented > state.previousToken.indented) {\n          stream.skipToEnd();\n          return \"commentLine\";\n        }\n      }\n\n      if (state.startOfLine) {\n        if (ch == \"!\" && stream.match(\"!!\")) {\n          stream.skipToEnd();\n          return \"tag\";\n        } else if (stream.match(/^%[\\w:#\\.]+=/)) {\n          state.tokenize = ruby;\n          return \"hamlTag\";\n        } else if (stream.match(/^%[\\w:]+/)) {\n          return \"hamlTag\";\n        } else if (ch == \"/\" ) {\n          stream.skipToEnd();\n          return \"comment\";\n        }\n      }\n\n      if (state.startOfLine || state.previousToken.style == \"hamlTag\") {\n        if ( ch == \"#\" || ch == \".\") {\n          stream.match(/[\\w-#\\.]*/);\n          return \"hamlAttribute\";\n        }\n      }\n\n      // donot handle --> as valid ruby, make it HTML close comment instead\n      if (state.startOfLine && !stream.match(\"-->\", false) && (ch == \"=\" || ch == \"-\" )) {\n        state.tokenize = ruby;\n        return state.tokenize(stream, state);\n      }\n\n      if (state.previousToken.style == \"hamlTag\" ||\n          state.previousToken.style == \"closeAttributeTag\" ||\n          state.previousToken.style == \"hamlAttribute\") {\n        if (ch == \"(\") {\n          state.tokenize = rubyInQuote(\")\");\n          return state.tokenize(stream, state);\n        } else if (ch == \"{\") {\n          state.tokenize = rubyInQuote(\"}\");\n          return state.tokenize(stream, state);\n        }\n      }\n\n      return htmlMode.token(stream, state.htmlState);\n    }\n\n    return {\n      // default to html mode\n      startState: function() {\n        var htmlState = htmlMode.startState();\n        var rubyState = rubyMode.startState();\n        return {\n          htmlState: htmlState,\n          rubyState: rubyState,\n          indented: 0,\n          previousToken: { style: null, indented: 0},\n          tokenize: html\n        };\n      },\n\n      copyState: function(state) {\n        return {\n          htmlState : CodeMirror.copyState(htmlMode, state.htmlState),\n          rubyState: CodeMirror.copyState(rubyMode, state.rubyState),\n          indented: state.indented,\n          previousToken: state.previousToken,\n          tokenize: state.tokenize\n        };\n      },\n\n      token: function(stream, state) {\n        if (stream.sol()) {\n          state.indented = stream.indentation();\n          state.startOfLine = true;\n        }\n        if (stream.eatSpace()) return null;\n        var style = state.tokenize(stream, state);\n        state.startOfLine = false;\n        // dont record comment line as we only want to measure comment line with\n        // the opening comment block\n        if (style && style != \"commentLine\") {\n          state.previousToken = { style: style, indented: state.indented };\n        }\n        // if current state is ruby and the previous token is not `,` reset the\n        // tokenize to html\n        if (stream.eol() && state.tokenize == ruby) {\n          stream.backUp(1);\n          var ch = stream.peek();\n          stream.next();\n          if (ch && ch != \",\") {\n            state.tokenize = html;\n          }\n        }\n        // reprocess some of the specific style tag when finish setting previousToken\n        if (style == \"hamlTag\") {\n          style = \"tag\";\n        } else if (style == \"commentLine\") {\n          style = \"comment\";\n        } else if (style == \"hamlAttribute\") {\n          style = \"attribute\";\n        } else if (style == \"closeAttributeTag\") {\n          style = null;\n        }\n        return style;\n      }\n    };\n  }, \"htmlmixed\", \"ruby\");\n\n  CodeMirror.defineMIME(\"text/x-haml\", \"haml\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/haml/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: HAML mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../ruby/ruby.js\"></script>\n<script src=\"haml.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">HAML</a>\n  </ul>\n</div>\n\n<article>\n<h2>HAML mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n!!!\n#content\n.left.column(title=\"title\"){:href => \"/hello\", :test => \"#{hello}_#{world}\"}\n    <!-- This is a comment -->\n    %h2 Welcome to our site!\n    %p= puts \"HAML MODE\"\n  .right.column\n    = render :partial => \"sidebar\"\n\n.container\n  .row\n    .span8\n      %h1.title= @page_title\n%p.title= @page_title\n%p\n  /\n    The same as HTML comment\n    Hello multiline comment\n\n  -# haml comment\n      This wont be displayed\n      nor will this\n  Date/Time:\n  - now = DateTime.now\n  %strong= now\n  - if now > DateTime.parse(\"December 31, 2006\")\n    = \"Happy new \" + \"year!\"\n\n%title\n  = @title\n  \\= @title\n  <h1>Title</h1>\n  <h1 title=\"HELLO\">\n    Title\n  </h1>\n    </textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"text/x-haml\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-haml</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#haml_*\">normal</a>,  <a href=\"../../test/index.html#verbose,haml_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/haml/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({tabSize: 4, indentUnit: 2}, \"haml\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  // Requires at least one media query\n  MT(\"elementName\",\n     \"[tag %h1] Hey There\");\n\n  MT(\"oneElementPerLine\",\n     \"[tag %h1] Hey There %h2\");\n\n  MT(\"idSelector\",\n     \"[tag %h1][attribute #test] Hey There\");\n\n  MT(\"classSelector\",\n     \"[tag %h1][attribute .hello] Hey There\");\n\n  MT(\"docType\",\n     \"[tag !!! XML]\");\n\n  MT(\"comment\",\n     \"[comment / Hello WORLD]\");\n\n  MT(\"notComment\",\n     \"[tag %h1] This is not a / comment \");\n\n  MT(\"attributes\",\n     \"[tag %a]([variable title][operator =][string \\\"test\\\"]){[atom :title] [operator =>] [string \\\"test\\\"]}\");\n\n  MT(\"htmlCode\",\n     \"[tag&bracket <][tag h1][tag&bracket >]Title[tag&bracket </][tag h1][tag&bracket >]\");\n\n  MT(\"rubyBlock\",\n     \"[operator =][variable-2 @item]\");\n\n  MT(\"selectorRubyBlock\",\n     \"[tag %a.selector=] [variable-2 @item]\");\n\n  MT(\"nestedRubyBlock\",\n      \"[tag %a]\",\n      \"   [operator =][variable puts] [string \\\"test\\\"]\");\n\n  MT(\"multilinePlaintext\",\n      \"[tag %p]\",\n      \"  Hello,\",\n      \"  World\");\n\n  MT(\"multilineRuby\",\n      \"[tag %p]\",\n      \"  [comment -# this is a comment]\",\n      \"     [comment and this is a comment too]\",\n      \"  Date/Time\",\n      \"  [operator -] [variable now] [operator =] [tag DateTime][operator .][property now]\",\n      \"  [tag %strong=] [variable now]\",\n      \"  [operator -] [keyword if] [variable now] [operator >] [tag DateTime][operator .][property parse]([string \\\"December 31, 2006\\\"])\",\n      \"     [operator =][string \\\"Happy\\\"]\",\n      \"     [operator =][string \\\"Belated\\\"]\",\n      \"     [operator =][string \\\"Birthday\\\"]\");\n\n  MT(\"multilineComment\",\n      \"[comment /]\",\n      \"  [comment Multiline]\",\n      \"  [comment Comment]\");\n\n  MT(\"hamlComment\",\n     \"[comment -# this is a comment]\");\n\n  MT(\"multilineHamlComment\",\n     \"[comment -# this is a comment]\",\n     \"   [comment and this is a comment too]\");\n\n  MT(\"multilineHTMLComment\",\n    \"[comment <!--]\",\n    \"  [comment what a comment]\",\n    \"  [comment -->]\");\n\n  MT(\"hamlAfterRubyTag\",\n    \"[attribute .block]\",\n    \"  [tag %strong=] [variable now]\",\n    \"  [attribute .test]\",\n    \"     [operator =][variable now]\",\n    \"  [attribute .right]\");\n\n  MT(\"stretchedRuby\",\n     \"[operator =] [variable puts] [string \\\"Hello\\\"],\",\n     \"   [string \\\"World\\\"]\");\n\n  MT(\"interpolationInHashAttribute\",\n     //\"[tag %div]{[atom :id] [operator =>] [string \\\"#{][variable test][string }_#{][variable ting][string }\\\"]} test\");\n     \"[tag %div]{[atom :id] [operator =>] [string \\\"#{][variable test][string }_#{][variable ting][string }\\\"]} test\");\n\n  MT(\"interpolationInHTMLAttribute\",\n     \"[tag %div]([variable title][operator =][string \\\"#{][variable test][string }_#{][variable ting]()[string }\\\"]) Test\");\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/haskell/haskell.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"haskell\", function(_config, modeConfig) {\n\n  function switchState(source, setState, f) {\n    setState(f);\n    return f(source, setState);\n  }\n\n  // These should all be Unicode extended, as per the Haskell 2010 report\n  var smallRE = /[a-z_]/;\n  var largeRE = /[A-Z]/;\n  var digitRE = /\\d/;\n  var hexitRE = /[0-9A-Fa-f]/;\n  var octitRE = /[0-7]/;\n  var idRE = /[a-z_A-Z0-9'\\xa1-\\uffff]/;\n  var symbolRE = /[-!#$%&*+.\\/<=>?@\\\\^|~:]/;\n  var specialRE = /[(),;[\\]`{}]/;\n  var whiteCharRE = /[ \\t\\v\\f]/; // newlines are handled in tokenizer\n\n  function normal(source, setState) {\n    if (source.eatWhile(whiteCharRE)) {\n      return null;\n    }\n\n    var ch = source.next();\n    if (specialRE.test(ch)) {\n      if (ch == '{' && source.eat('-')) {\n        var t = \"comment\";\n        if (source.eat('#')) {\n          t = \"meta\";\n        }\n        return switchState(source, setState, ncomment(t, 1));\n      }\n      return null;\n    }\n\n    if (ch == '\\'') {\n      if (source.eat('\\\\')) {\n        source.next();  // should handle other escapes here\n      }\n      else {\n        source.next();\n      }\n      if (source.eat('\\'')) {\n        return \"string\";\n      }\n      return \"error\";\n    }\n\n    if (ch == '\"') {\n      return switchState(source, setState, stringLiteral);\n    }\n\n    if (largeRE.test(ch)) {\n      source.eatWhile(idRE);\n      if (source.eat('.')) {\n        return \"qualifier\";\n      }\n      return \"variable-2\";\n    }\n\n    if (smallRE.test(ch)) {\n      source.eatWhile(idRE);\n      return \"variable\";\n    }\n\n    if (digitRE.test(ch)) {\n      if (ch == '0') {\n        if (source.eat(/[xX]/)) {\n          source.eatWhile(hexitRE); // should require at least 1\n          return \"integer\";\n        }\n        if (source.eat(/[oO]/)) {\n          source.eatWhile(octitRE); // should require at least 1\n          return \"number\";\n        }\n      }\n      source.eatWhile(digitRE);\n      var t = \"number\";\n      if (source.match(/^\\.\\d+/)) {\n        t = \"number\";\n      }\n      if (source.eat(/[eE]/)) {\n        t = \"number\";\n        source.eat(/[-+]/);\n        source.eatWhile(digitRE); // should require at least 1\n      }\n      return t;\n    }\n\n    if (ch == \".\" && source.eat(\".\"))\n      return \"keyword\";\n\n    if (symbolRE.test(ch)) {\n      if (ch == '-' && source.eat(/-/)) {\n        source.eatWhile(/-/);\n        if (!source.eat(symbolRE)) {\n          source.skipToEnd();\n          return \"comment\";\n        }\n      }\n      var t = \"variable\";\n      if (ch == ':') {\n        t = \"variable-2\";\n      }\n      source.eatWhile(symbolRE);\n      return t;\n    }\n\n    return \"error\";\n  }\n\n  function ncomment(type, nest) {\n    if (nest == 0) {\n      return normal;\n    }\n    return function(source, setState) {\n      var currNest = nest;\n      while (!source.eol()) {\n        var ch = source.next();\n        if (ch == '{' && source.eat('-')) {\n          ++currNest;\n        }\n        else if (ch == '-' && source.eat('}')) {\n          --currNest;\n          if (currNest == 0) {\n            setState(normal);\n            return type;\n          }\n        }\n      }\n      setState(ncomment(type, currNest));\n      return type;\n    };\n  }\n\n  function stringLiteral(source, setState) {\n    while (!source.eol()) {\n      var ch = source.next();\n      if (ch == '\"') {\n        setState(normal);\n        return \"string\";\n      }\n      if (ch == '\\\\') {\n        if (source.eol() || source.eat(whiteCharRE)) {\n          setState(stringGap);\n          return \"string\";\n        }\n        if (source.eat('&')) {\n        }\n        else {\n          source.next(); // should handle other escapes here\n        }\n      }\n    }\n    setState(normal);\n    return \"error\";\n  }\n\n  function stringGap(source, setState) {\n    if (source.eat('\\\\')) {\n      return switchState(source, setState, stringLiteral);\n    }\n    source.next();\n    setState(normal);\n    return \"error\";\n  }\n\n\n  var wellKnownWords = (function() {\n    var wkw = {};\n    function setType(t) {\n      return function () {\n        for (var i = 0; i < arguments.length; i++)\n          wkw[arguments[i]] = t;\n      };\n    }\n\n    setType(\"keyword\")(\n      \"case\", \"class\", \"data\", \"default\", \"deriving\", \"do\", \"else\", \"foreign\",\n      \"if\", \"import\", \"in\", \"infix\", \"infixl\", \"infixr\", \"instance\", \"let\",\n      \"module\", \"newtype\", \"of\", \"then\", \"type\", \"where\", \"_\");\n\n    setType(\"keyword\")(\n      \"\\.\\.\", \":\", \"::\", \"=\", \"\\\\\", \"\\\"\", \"<-\", \"->\", \"@\", \"~\", \"=>\");\n\n    setType(\"builtin\")(\n      \"!!\", \"$!\", \"$\", \"&&\", \"+\", \"++\", \"-\", \".\", \"/\", \"/=\", \"<\", \"<=\", \"=<<\",\n      \"==\", \">\", \">=\", \">>\", \">>=\", \"^\", \"^^\", \"||\", \"*\", \"**\");\n\n    setType(\"builtin\")(\n      \"Bool\", \"Bounded\", \"Char\", \"Double\", \"EQ\", \"Either\", \"Enum\", \"Eq\",\n      \"False\", \"FilePath\", \"Float\", \"Floating\", \"Fractional\", \"Functor\", \"GT\",\n      \"IO\", \"IOError\", \"Int\", \"Integer\", \"Integral\", \"Just\", \"LT\", \"Left\",\n      \"Maybe\", \"Monad\", \"Nothing\", \"Num\", \"Ord\", \"Ordering\", \"Rational\", \"Read\",\n      \"ReadS\", \"Real\", \"RealFloat\", \"RealFrac\", \"Right\", \"Show\", \"ShowS\",\n      \"String\", \"True\");\n\n    setType(\"builtin\")(\n      \"abs\", \"acos\", \"acosh\", \"all\", \"and\", \"any\", \"appendFile\", \"asTypeOf\",\n      \"asin\", \"asinh\", \"atan\", \"atan2\", \"atanh\", \"break\", \"catch\", \"ceiling\",\n      \"compare\", \"concat\", \"concatMap\", \"const\", \"cos\", \"cosh\", \"curry\",\n      \"cycle\", \"decodeFloat\", \"div\", \"divMod\", \"drop\", \"dropWhile\", \"either\",\n      \"elem\", \"encodeFloat\", \"enumFrom\", \"enumFromThen\", \"enumFromThenTo\",\n      \"enumFromTo\", \"error\", \"even\", \"exp\", \"exponent\", \"fail\", \"filter\",\n      \"flip\", \"floatDigits\", \"floatRadix\", \"floatRange\", \"floor\", \"fmap\",\n      \"foldl\", \"foldl1\", \"foldr\", \"foldr1\", \"fromEnum\", \"fromInteger\",\n      \"fromIntegral\", \"fromRational\", \"fst\", \"gcd\", \"getChar\", \"getContents\",\n      \"getLine\", \"head\", \"id\", \"init\", \"interact\", \"ioError\", \"isDenormalized\",\n      \"isIEEE\", \"isInfinite\", \"isNaN\", \"isNegativeZero\", \"iterate\", \"last\",\n      \"lcm\", \"length\", \"lex\", \"lines\", \"log\", \"logBase\", \"lookup\", \"map\",\n      \"mapM\", \"mapM_\", \"max\", \"maxBound\", \"maximum\", \"maybe\", \"min\", \"minBound\",\n      \"minimum\", \"mod\", \"negate\", \"not\", \"notElem\", \"null\", \"odd\", \"or\",\n      \"otherwise\", \"pi\", \"pred\", \"print\", \"product\", \"properFraction\",\n      \"putChar\", \"putStr\", \"putStrLn\", \"quot\", \"quotRem\", \"read\", \"readFile\",\n      \"readIO\", \"readList\", \"readLn\", \"readParen\", \"reads\", \"readsPrec\",\n      \"realToFrac\", \"recip\", \"rem\", \"repeat\", \"replicate\", \"return\", \"reverse\",\n      \"round\", \"scaleFloat\", \"scanl\", \"scanl1\", \"scanr\", \"scanr1\", \"seq\",\n      \"sequence\", \"sequence_\", \"show\", \"showChar\", \"showList\", \"showParen\",\n      \"showString\", \"shows\", \"showsPrec\", \"significand\", \"signum\", \"sin\",\n      \"sinh\", \"snd\", \"span\", \"splitAt\", \"sqrt\", \"subtract\", \"succ\", \"sum\",\n      \"tail\", \"take\", \"takeWhile\", \"tan\", \"tanh\", \"toEnum\", \"toInteger\",\n      \"toRational\", \"truncate\", \"uncurry\", \"undefined\", \"unlines\", \"until\",\n      \"unwords\", \"unzip\", \"unzip3\", \"userError\", \"words\", \"writeFile\", \"zip\",\n      \"zip3\", \"zipWith\", \"zipWith3\");\n\n    var override = modeConfig.overrideKeywords;\n    if (override) for (var word in override) if (override.hasOwnProperty(word))\n      wkw[word] = override[word];\n\n    return wkw;\n  })();\n\n\n\n  return {\n    startState: function ()  { return { f: normal }; },\n    copyState:  function (s) { return { f: s.f }; },\n\n    token: function(stream, state) {\n      var t = state.f(stream, function(s) { state.f = s; });\n      var w = stream.current();\n      return wellKnownWords.hasOwnProperty(w) ? wellKnownWords[w] : t;\n    },\n\n    blockCommentStart: \"{-\",\n    blockCommentEnd: \"-}\",\n    lineComment: \"--\"\n  };\n\n});\n\nCodeMirror.defineMIME(\"text/x-haskell\", \"haskell\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/haskell/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Haskell mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/elegant.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"haskell.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Haskell</a>\n  </ul>\n</div>\n\n<article>\n<h2>Haskell mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nmodule UniquePerms (\n    uniquePerms\n    )\nwhere\n\n-- | Find all unique permutations of a list where there might be duplicates.\nuniquePerms :: (Eq a) => [a] -> [[a]]\nuniquePerms = permBag . makeBag\n\n-- | An unordered collection where duplicate values are allowed,\n-- but represented with a single value and a count.\ntype Bag a = [(a, Int)]\n\nmakeBag :: (Eq a) => [a] -> Bag a\nmakeBag [] = []\nmakeBag (a:as) = mix a $ makeBag as\n  where\n    mix a []                        = [(a,1)]\n    mix a (bn@(b,n):bs) | a == b    = (b,n+1):bs\n                        | otherwise = bn : mix a bs\n\npermBag :: Bag a -> [[a]]\npermBag [] = [[]]\npermBag bs = concatMap (\\(f,cs) -> map (f:) $ permBag cs) . oneOfEach $ bs\n  where\n    oneOfEach [] = []\n    oneOfEach (an@(a,n):bs) =\n        let bs' = if n == 1 then bs else (a,n-1):bs\n        in (a,bs') : mapSnd (an:) (oneOfEach bs)\n    \n    apSnd f (a,b) = (a, f b)\n    mapSnd = map . apSnd\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        theme: \"elegant\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-haskell</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/haxe/haxe.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"haxe\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit;\n\n  // Tokenizer\n\n  var keywords = function(){\n    function kw(type) {return {type: type, style: \"keyword\"};}\n    var A = kw(\"keyword a\"), B = kw(\"keyword b\"), C = kw(\"keyword c\");\n    var operator = kw(\"operator\"), atom = {type: \"atom\", style: \"atom\"}, attribute = {type:\"attribute\", style: \"attribute\"};\n  var type = kw(\"typedef\");\n    return {\n      \"if\": A, \"while\": A, \"else\": B, \"do\": B, \"try\": B,\n      \"return\": C, \"break\": C, \"continue\": C, \"new\": C, \"throw\": C,\n      \"var\": kw(\"var\"), \"inline\":attribute, \"static\": attribute, \"using\":kw(\"import\"),\n    \"public\": attribute, \"private\": attribute, \"cast\": kw(\"cast\"), \"import\": kw(\"import\"), \"macro\": kw(\"macro\"),\n      \"function\": kw(\"function\"), \"catch\": kw(\"catch\"), \"untyped\": kw(\"untyped\"), \"callback\": kw(\"cb\"),\n      \"for\": kw(\"for\"), \"switch\": kw(\"switch\"), \"case\": kw(\"case\"), \"default\": kw(\"default\"),\n      \"in\": operator, \"never\": kw(\"property_access\"), \"trace\":kw(\"trace\"),\n    \"class\": type, \"abstract\":type, \"enum\":type, \"interface\":type, \"typedef\":type, \"extends\":type, \"implements\":type, \"dynamic\":type,\n      \"true\": atom, \"false\": atom, \"null\": atom\n    };\n  }();\n\n  var isOperatorChar = /[+\\-*&%=<>!?|]/;\n\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n\n  function nextUntilUnescaped(stream, end) {\n    var escaped = false, next;\n    while ((next = stream.next()) != null) {\n      if (next == end && !escaped)\n        return false;\n      escaped = !escaped && next == \"\\\\\";\n    }\n    return escaped;\n  }\n\n  // Used as scratch variables to communicate multiple values without\n  // consing up tons of objects.\n  var type, content;\n  function ret(tp, style, cont) {\n    type = tp; content = cont;\n    return style;\n  }\n\n  function haxeTokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"' || ch == \"'\")\n      return chain(stream, state, haxeTokenString(ch));\n    else if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch))\n      return ret(ch);\n    else if (ch == \"0\" && stream.eat(/x/i)) {\n      stream.eatWhile(/[\\da-f]/i);\n      return ret(\"number\", \"number\");\n    }\n    else if (/\\d/.test(ch) || ch == \"-\" && stream.eat(/\\d/)) {\n      stream.match(/^\\d*(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/);\n      return ret(\"number\", \"number\");\n    }\n    else if (state.reAllowed && (ch == \"~\" && stream.eat(/\\//))) {\n      nextUntilUnescaped(stream, \"/\");\n      stream.eatWhile(/[gimsu]/);\n      return ret(\"regexp\", \"string-2\");\n    }\n    else if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        return chain(stream, state, haxeTokenComment);\n      }\n      else if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return ret(\"comment\", \"comment\");\n      }\n      else {\n        stream.eatWhile(isOperatorChar);\n        return ret(\"operator\", null, stream.current());\n      }\n    }\n    else if (ch == \"#\") {\n        stream.skipToEnd();\n        return ret(\"conditional\", \"meta\");\n    }\n    else if (ch == \"@\") {\n      stream.eat(/:/);\n      stream.eatWhile(/[\\w_]/);\n      return ret (\"metadata\", \"meta\");\n    }\n    else if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return ret(\"operator\", null, stream.current());\n    }\n    else {\n    var word;\n    if(/[A-Z]/.test(ch))\n    {\n      stream.eatWhile(/[\\w_<>]/);\n      word = stream.current();\n      return ret(\"type\", \"variable-3\", word);\n    }\n    else\n    {\n        stream.eatWhile(/[\\w_]/);\n        var word = stream.current(), known = keywords.propertyIsEnumerable(word) && keywords[word];\n        return (known && state.kwAllowed) ? ret(known.type, known.style, word) :\n                       ret(\"variable\", \"variable\", word);\n    }\n    }\n  }\n\n  function haxeTokenString(quote) {\n    return function(stream, state) {\n      if (!nextUntilUnescaped(stream, quote))\n        state.tokenize = haxeTokenBase;\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  function haxeTokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = haxeTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  // Parser\n\n  var atomicTypes = {\"atom\": true, \"number\": true, \"variable\": true, \"string\": true, \"regexp\": true};\n\n  function HaxeLexical(indented, column, type, align, prev, info) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.prev = prev;\n    this.info = info;\n    if (align != null) this.align = align;\n  }\n\n  function inScope(state, varname) {\n    for (var v = state.localVars; v; v = v.next)\n      if (v.name == varname) return true;\n  }\n\n  function parseHaxe(state, style, type, content, stream) {\n    var cc = state.cc;\n    // Communicate our context to the combinators.\n    // (Less wasteful than consing up a hundred closures on every call.)\n    cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc;\n\n    if (!state.lexical.hasOwnProperty(\"align\"))\n      state.lexical.align = true;\n\n    while(true) {\n      var combinator = cc.length ? cc.pop() : statement;\n      if (combinator(type, content)) {\n        while(cc.length && cc[cc.length - 1].lex)\n          cc.pop()();\n        if (cx.marked) return cx.marked;\n        if (type == \"variable\" && inScope(state, content)) return \"variable-2\";\n    if (type == \"variable\" && imported(state, content)) return \"variable-3\";\n        return style;\n      }\n    }\n  }\n\n  function imported(state, typename)\n  {\n  if (/[a-z]/.test(typename.charAt(0)))\n    return false;\n  var len = state.importedtypes.length;\n  for (var i = 0; i<len; i++)\n    if(state.importedtypes[i]==typename) return true;\n  }\n\n\n  function registerimport(importname) {\n  var state = cx.state;\n  for (var t = state.importedtypes; t; t = t.next)\n    if(t.name == importname) return;\n  state.importedtypes = { name: importname, next: state.importedtypes };\n  }\n  // Combinator utils\n\n  var cx = {state: null, column: null, marked: null, cc: null};\n  function pass() {\n    for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]);\n  }\n  function cont() {\n    pass.apply(null, arguments);\n    return true;\n  }\n  function register(varname) {\n    var state = cx.state;\n    if (state.context) {\n      cx.marked = \"def\";\n      for (var v = state.localVars; v; v = v.next)\n        if (v.name == varname) return;\n      state.localVars = {name: varname, next: state.localVars};\n    }\n  }\n\n  // Combinators\n\n  var defaultVars = {name: \"this\", next: null};\n  function pushcontext() {\n    if (!cx.state.context) cx.state.localVars = defaultVars;\n    cx.state.context = {prev: cx.state.context, vars: cx.state.localVars};\n  }\n  function popcontext() {\n    cx.state.localVars = cx.state.context.vars;\n    cx.state.context = cx.state.context.prev;\n  }\n  function pushlex(type, info) {\n    var result = function() {\n      var state = cx.state;\n      state.lexical = new HaxeLexical(state.indented, cx.stream.column(), type, null, state.lexical, info);\n    };\n    result.lex = true;\n    return result;\n  }\n  function poplex() {\n    var state = cx.state;\n    if (state.lexical.prev) {\n      if (state.lexical.type == \")\")\n        state.indented = state.lexical.indented;\n      state.lexical = state.lexical.prev;\n    }\n  }\n  poplex.lex = true;\n\n  function expect(wanted) {\n    function f(type) {\n      if (type == wanted) return cont();\n      else if (wanted == \";\") return pass();\n      else return cont(f);\n    };\n    return f;\n  }\n\n  function statement(type) {\n    if (type == \"@\") return cont(metadef);\n    if (type == \"var\") return cont(pushlex(\"vardef\"), vardef1, expect(\";\"), poplex);\n    if (type == \"keyword a\") return cont(pushlex(\"form\"), expression, statement, poplex);\n    if (type == \"keyword b\") return cont(pushlex(\"form\"), statement, poplex);\n    if (type == \"{\") return cont(pushlex(\"}\"), pushcontext, block, poplex, popcontext);\n    if (type == \";\") return cont();\n    if (type == \"attribute\") return cont(maybeattribute);\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"for\") return cont(pushlex(\"form\"), expect(\"(\"), pushlex(\")\"), forspec1, expect(\")\"),\n                                      poplex, statement, poplex);\n    if (type == \"variable\") return cont(pushlex(\"stat\"), maybelabel);\n    if (type == \"switch\") return cont(pushlex(\"form\"), expression, pushlex(\"}\", \"switch\"), expect(\"{\"),\n                                         block, poplex, poplex);\n    if (type == \"case\") return cont(expression, expect(\":\"));\n    if (type == \"default\") return cont(expect(\":\"));\n    if (type == \"catch\") return cont(pushlex(\"form\"), pushcontext, expect(\"(\"), funarg, expect(\")\"),\n                                        statement, poplex, popcontext);\n    if (type == \"import\") return cont(importdef, expect(\";\"));\n    if (type == \"typedef\") return cont(typedef);\n    return pass(pushlex(\"stat\"), expression, expect(\";\"), poplex);\n  }\n  function expression(type) {\n    if (atomicTypes.hasOwnProperty(type)) return cont(maybeoperator);\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"keyword c\") return cont(maybeexpression);\n    if (type == \"(\") return cont(pushlex(\")\"), maybeexpression, expect(\")\"), poplex, maybeoperator);\n    if (type == \"operator\") return cont(expression);\n    if (type == \"[\") return cont(pushlex(\"]\"), commasep(expression, \"]\"), poplex, maybeoperator);\n    if (type == \"{\") return cont(pushlex(\"}\"), commasep(objprop, \"}\"), poplex, maybeoperator);\n    return cont();\n  }\n  function maybeexpression(type) {\n    if (type.match(/[;\\}\\)\\],]/)) return pass();\n    return pass(expression);\n  }\n\n  function maybeoperator(type, value) {\n    if (type == \"operator\" && /\\+\\+|--/.test(value)) return cont(maybeoperator);\n    if (type == \"operator\" || type == \":\") return cont(expression);\n    if (type == \";\") return;\n    if (type == \"(\") return cont(pushlex(\")\"), commasep(expression, \")\"), poplex, maybeoperator);\n    if (type == \".\") return cont(property, maybeoperator);\n    if (type == \"[\") return cont(pushlex(\"]\"), expression, expect(\"]\"), poplex, maybeoperator);\n  }\n\n  function maybeattribute(type) {\n    if (type == \"attribute\") return cont(maybeattribute);\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"var\") return cont(vardef1);\n  }\n\n  function metadef(type) {\n    if(type == \":\") return cont(metadef);\n    if(type == \"variable\") return cont(metadef);\n    if(type == \"(\") return cont(pushlex(\")\"), commasep(metaargs, \")\"), poplex, statement);\n  }\n  function metaargs(type) {\n    if(type == \"variable\") return cont();\n  }\n\n  function importdef (type, value) {\n  if(type == \"variable\" && /[A-Z]/.test(value.charAt(0))) { registerimport(value); return cont(); }\n  else if(type == \"variable\" || type == \"property\" || type == \".\" || value == \"*\") return cont(importdef);\n  }\n\n  function typedef (type, value)\n  {\n  if(type == \"variable\" && /[A-Z]/.test(value.charAt(0))) { registerimport(value); return cont(); }\n  else if (type == \"type\" && /[A-Z]/.test(value.charAt(0))) { return cont(); }\n  }\n\n  function maybelabel(type) {\n    if (type == \":\") return cont(poplex, statement);\n    return pass(maybeoperator, expect(\";\"), poplex);\n  }\n  function property(type) {\n    if (type == \"variable\") {cx.marked = \"property\"; return cont();}\n  }\n  function objprop(type) {\n    if (type == \"variable\") cx.marked = \"property\";\n    if (atomicTypes.hasOwnProperty(type)) return cont(expect(\":\"), expression);\n  }\n  function commasep(what, end) {\n    function proceed(type) {\n      if (type == \",\") return cont(what, proceed);\n      if (type == end) return cont();\n      return cont(expect(end));\n    }\n    return function(type) {\n      if (type == end) return cont();\n      else return pass(what, proceed);\n    };\n  }\n  function block(type) {\n    if (type == \"}\") return cont();\n    return pass(statement, block);\n  }\n  function vardef1(type, value) {\n    if (type == \"variable\"){register(value); return cont(typeuse, vardef2);}\n    return cont();\n  }\n  function vardef2(type, value) {\n    if (value == \"=\") return cont(expression, vardef2);\n    if (type == \",\") return cont(vardef1);\n  }\n  function forspec1(type, value) {\n  if (type == \"variable\") {\n    register(value);\n  }\n  return cont(pushlex(\")\"), pushcontext, forin, expression, poplex, statement, popcontext);\n  }\n  function forin(_type, value) {\n    if (value == \"in\") return cont();\n  }\n  function functiondef(type, value) {\n    if (type == \"variable\") {register(value); return cont(functiondef);}\n    if (value == \"new\") return cont(functiondef);\n    if (type == \"(\") return cont(pushlex(\")\"), pushcontext, commasep(funarg, \")\"), poplex, typeuse, statement, popcontext);\n  }\n  function typeuse(type) {\n    if(type == \":\") return cont(typestring);\n  }\n  function typestring(type) {\n    if(type == \"type\") return cont();\n    if(type == \"variable\") return cont();\n    if(type == \"{\") return cont(pushlex(\"}\"), commasep(typeprop, \"}\"), poplex);\n  }\n  function typeprop(type) {\n    if(type == \"variable\") return cont(typeuse);\n  }\n  function funarg(type, value) {\n    if (type == \"variable\") {register(value); return cont(typeuse);}\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n    var defaulttypes = [\"Int\", \"Float\", \"String\", \"Void\", \"Std\", \"Bool\", \"Dynamic\", \"Array\"];\n      return {\n        tokenize: haxeTokenBase,\n        reAllowed: true,\n        kwAllowed: true,\n        cc: [],\n        lexical: new HaxeLexical((basecolumn || 0) - indentUnit, 0, \"block\", false),\n        localVars: parserConfig.localVars,\n    importedtypes: defaulttypes,\n        context: parserConfig.localVars && {vars: parserConfig.localVars},\n        indented: 0\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (!state.lexical.hasOwnProperty(\"align\"))\n          state.lexical.align = false;\n        state.indented = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      if (type == \"comment\") return style;\n      state.reAllowed = !!(type == \"operator\" || type == \"keyword c\" || type.match(/^[\\[{}\\(,;:]$/));\n      state.kwAllowed = type != '.';\n      return parseHaxe(state, style, type, content, stream);\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != haxeTokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical;\n      if (lexical.type == \"stat\" && firstChar == \"}\") lexical = lexical.prev;\n      var type = lexical.type, closing = firstChar == type;\n      if (type == \"vardef\") return lexical.indented + 4;\n      else if (type == \"form\" && firstChar == \"{\") return lexical.indented;\n      else if (type == \"stat\" || type == \"form\") return lexical.indented + indentUnit;\n      else if (lexical.info == \"switch\" && !closing)\n        return lexical.indented + (/^(?:case|default)\\b/.test(textAfter) ? indentUnit : 2 * indentUnit);\n      else if (lexical.align) return lexical.column + (closing ? 0 : 1);\n      else return lexical.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: \"//\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-haxe\", \"haxe\");\n\nCodeMirror.defineMode(\"hxml\", function () {\n\n  return {\n    startState: function () {\n      return {\n        define: false,\n        inString: false\n      };\n    },\n    token: function (stream, state) {\n      var ch = stream.peek();\n      var sol = stream.sol();\n\n      ///* comments */\n      if (ch == \"#\") {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      if (sol && ch == \"-\") {\n        var style = \"variable-2\";\n\n        stream.eat(/-/);\n\n        if (stream.peek() == \"-\") {\n          stream.eat(/-/);\n          style = \"keyword a\";\n        }\n\n        if (stream.peek() == \"D\") {\n          stream.eat(/[D]/);\n          style = \"keyword c\";\n          state.define = true;\n        }\n\n        stream.eatWhile(/[A-Z]/i);\n        return style;\n      }\n\n      var ch = stream.peek();\n\n      if (state.inString == false && ch == \"'\") {\n        state.inString = true;\n        ch = stream.next();\n      }\n\n      if (state.inString == true) {\n        if (stream.skipTo(\"'\")) {\n\n        } else {\n          stream.skipToEnd();\n        }\n\n        if (stream.peek() == \"'\") {\n          stream.next();\n          state.inString = false;\n        }\n\n        return \"string\";\n      }\n\n      stream.next();\n      return null;\n    },\n    lineComment: \"#\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-hxml\", \"hxml\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/haxe/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Haxe mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"haxe.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Haxe</a>\n  </ul>\n</div>\n\n<article>\n<h2>Haxe mode</h2>\n\n\n<div><p><textarea id=\"code-haxe\" name=\"code\">\nimport one.two.Three;\n\n@attr(\"test\")\nclass Foo&lt;T&gt; extends Three\n{\n\tpublic function new()\n\t{\n\t\tnoFoo = 12;\n\t}\n\t\n\tpublic static inline function doFoo(obj:{k:Int, l:Float}):Int\n\t{\n\t\tfor(i in 0...10)\n\t\t{\n\t\t\tobj.k++;\n\t\t\ttrace(i);\n\t\t\tvar var1 = new Array();\n\t\t\tif(var1.length > 1)\n\t\t\t\tthrow \"Error\";\n\t\t}\n\t\t// The following line should not be colored, the variable is scoped out\n\t\tvar1;\n\t\t/* Multi line\n\t\t * Comment test\n\t\t */\n\t\treturn obj.k;\n\t}\n\tprivate function bar():Void\n\t{\n\t\t#if flash\n\t\tvar t1:String = \"1.21\";\n\t\t#end\n\t\ttry {\n\t\t\tdoFoo({k:3, l:1.2});\n\t\t}\n\t\tcatch (e : String) {\n\t\t\ttrace(e);\n\t\t}\n\t\tvar t2:Float = cast(3.2);\n\t\tvar t3:haxe.Timer = new haxe.Timer();\n\t\tvar t4 = {k:Std.int(t2), l:Std.parseFloat(t1)};\n\t\tvar t5 = ~/123+.*$/i;\n\t\tdoFoo(t4);\n\t\tuntyped t1 = 4;\n\t\tbob = new Foo&lt;Int&gt;\n\t}\n\tpublic var okFoo(default, never):Float;\n\tvar noFoo(getFoo, null):Int;\n\tfunction getFoo():Int {\n\t\treturn noFoo;\n\t}\n\t\n\tpublic var three:Int;\n}\nenum Color\n{\n\tred;\n\tgreen;\n\tblue;\n\tgrey( v : Int );\n\trgb (r:Int,g:Int,b:Int);\n}\n</textarea></p>\n\n<p>Hxml mode:</p>\n\n<p><textarea id=\"code-hxml\">\n-cp test\n-js path/to/file.js\n#-remap nme:flash\n--next\n-D source-map-content\n-cmd 'test'\n-lib lime\n</textarea></p>\n</div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code-haxe\"), {\n      \tmode: \"haxe\",\n        lineNumbers: true,\n        indentUnit: 4,\n        indentWithTabs: true\n      });\n      \n      editor = CodeMirror.fromTextArea(document.getElementById(\"code-hxml\"), {\n      \tmode: \"hxml\",\n        lineNumbers: true,\n        indentUnit: 4,\n        indentWithTabs: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-haxe, text/x-hxml</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/htmlembedded/htmlembedded.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../htmlmixed/htmlmixed\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../htmlmixed/htmlmixed\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"htmlembedded\", function(config, parserConfig) {\n\n  //config settings\n  var scriptStartRegex = parserConfig.scriptStartRegex || /^<%/i,\n      scriptEndRegex = parserConfig.scriptEndRegex || /^%>/i;\n\n  //inner modes\n  var scriptingMode, htmlMixedMode;\n\n  //tokenizer when in html mode\n  function htmlDispatch(stream, state) {\n      if (stream.match(scriptStartRegex, false)) {\n          state.token=scriptingDispatch;\n          return scriptingMode.token(stream, state.scriptState);\n          }\n      else\n          return htmlMixedMode.token(stream, state.htmlState);\n    }\n\n  //tokenizer when in scripting mode\n  function scriptingDispatch(stream, state) {\n      if (stream.match(scriptEndRegex, false))  {\n          state.token=htmlDispatch;\n          return htmlMixedMode.token(stream, state.htmlState);\n         }\n      else\n          return scriptingMode.token(stream, state.scriptState);\n         }\n\n\n  return {\n    startState: function() {\n      scriptingMode = scriptingMode || CodeMirror.getMode(config, parserConfig.scriptingModeSpec);\n      htmlMixedMode = htmlMixedMode || CodeMirror.getMode(config, \"htmlmixed\");\n      return {\n          token :  parserConfig.startOpen ? scriptingDispatch : htmlDispatch,\n          htmlState : CodeMirror.startState(htmlMixedMode),\n          scriptState : CodeMirror.startState(scriptingMode)\n      };\n    },\n\n    token: function(stream, state) {\n      return state.token(stream, state);\n    },\n\n    indent: function(state, textAfter) {\n      if (state.token == htmlDispatch)\n        return htmlMixedMode.indent(state.htmlState, textAfter);\n      else if (scriptingMode.indent)\n        return scriptingMode.indent(state.scriptState, textAfter);\n    },\n\n    copyState: function(state) {\n      return {\n       token : state.token,\n       htmlState : CodeMirror.copyState(htmlMixedMode, state.htmlState),\n       scriptState : CodeMirror.copyState(scriptingMode, state.scriptState)\n      };\n    },\n\n    innerMode: function(state) {\n      if (state.token == scriptingDispatch) return {state: state.scriptState, mode: scriptingMode};\n      else return {state: state.htmlState, mode: htmlMixedMode};\n    }\n  };\n}, \"htmlmixed\");\n\nCodeMirror.defineMIME(\"application/x-ejs\", { name: \"htmlembedded\", scriptingModeSpec:\"javascript\"});\nCodeMirror.defineMIME(\"application/x-aspx\", { name: \"htmlembedded\", scriptingModeSpec:\"text/x-csharp\"});\nCodeMirror.defineMIME(\"application/x-jsp\", { name: \"htmlembedded\", scriptingModeSpec:\"text/x-java\"});\nCodeMirror.defineMIME(\"application/x-erb\", { name: \"htmlembedded\", scriptingModeSpec:\"ruby\"});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/htmlembedded/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Html Embedded Scripts mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../css/css.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"htmlembedded.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Html Embedded Scripts</a>\n  </ul>\n</div>\n\n<article>\n<h2>Html Embedded Scripts mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n<%\nfunction hello(who) {\n\treturn \"Hello \" + who;\n}\n%>\nThis is an example of EJS (embedded javascript)\n<p>The program says <%= hello(\"world\") %>.</p>\n<script>\n\talert(\"And here is some normal JS code\"); // also colored\n</script>\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"application/x-ejs\",\n        indentUnit: 4,\n        indentWithTabs: true\n      });\n    </script>\n\n    <p>Mode for html embedded scripts like JSP and ASP.NET. Depends on HtmlMixed which in turn depends on\n    JavaScript, CSS and XML.<br />Other dependancies include those of the scriping language chosen.</p>\n\n    <p><strong>MIME types defined:</strong> <code>application/x-aspx</code> (ASP.NET), \n    <code>application/x-ejs</code> (Embedded Javascript), <code>application/x-jsp</code> (JavaServer Pages)</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/htmlmixed/htmlmixed.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../xml/xml\"), require(\"../javascript/javascript\"), require(\"../css/css\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../xml/xml\", \"../javascript/javascript\", \"../css/css\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"htmlmixed\", function(config, parserConfig) {\n  var htmlMode = CodeMirror.getMode(config, {name: \"xml\",\n                                             htmlMode: true,\n                                             multilineTagIndentFactor: parserConfig.multilineTagIndentFactor,\n                                             multilineTagIndentPastTag: parserConfig.multilineTagIndentPastTag});\n  var cssMode = CodeMirror.getMode(config, \"css\");\n\n  var scriptTypes = [], scriptTypesConf = parserConfig && parserConfig.scriptTypes;\n  scriptTypes.push({matches: /^(?:text|application)\\/(?:x-)?(?:java|ecma)script$|^$/i,\n                    mode: CodeMirror.getMode(config, \"javascript\")});\n  if (scriptTypesConf) for (var i = 0; i < scriptTypesConf.length; ++i) {\n    var conf = scriptTypesConf[i];\n    scriptTypes.push({matches: conf.matches, mode: conf.mode && CodeMirror.getMode(config, conf.mode)});\n  }\n  scriptTypes.push({matches: /./,\n                    mode: CodeMirror.getMode(config, \"text/plain\")});\n\n  function html(stream, state) {\n    var tagName = state.htmlState.tagName;\n    if (tagName) tagName = tagName.toLowerCase();\n    var style = htmlMode.token(stream, state.htmlState);\n    if (tagName == \"script\" && /\\btag\\b/.test(style) && stream.current() == \">\") {\n      // Script block: mode to change to depends on type attribute\n      var scriptType = stream.string.slice(Math.max(0, stream.pos - 100), stream.pos).match(/\\btype\\s*=\\s*(\"[^\"]+\"|'[^']+'|\\S+)[^<]*$/i);\n      scriptType = scriptType ? scriptType[1] : \"\";\n      if (scriptType && /[\\\"\\']/.test(scriptType.charAt(0))) scriptType = scriptType.slice(1, scriptType.length - 1);\n      for (var i = 0; i < scriptTypes.length; ++i) {\n        var tp = scriptTypes[i];\n        if (typeof tp.matches == \"string\" ? scriptType == tp.matches : tp.matches.test(scriptType)) {\n          if (tp.mode) {\n            state.token = script;\n            state.localMode = tp.mode;\n            state.localState = tp.mode.startState && tp.mode.startState(htmlMode.indent(state.htmlState, \"\"));\n          }\n          break;\n        }\n      }\n    } else if (tagName == \"style\" && /\\btag\\b/.test(style) && stream.current() == \">\") {\n      state.token = css;\n      state.localMode = cssMode;\n      state.localState = cssMode.startState(htmlMode.indent(state.htmlState, \"\"));\n    }\n    return style;\n  }\n  function maybeBackup(stream, pat, style) {\n    var cur = stream.current();\n    var close = cur.search(pat), m;\n    if (close > -1) stream.backUp(cur.length - close);\n    else if (m = cur.match(/<\\/?$/)) {\n      stream.backUp(cur.length);\n      if (!stream.match(pat, false)) stream.match(cur);\n    }\n    return style;\n  }\n  function script(stream, state) {\n    if (stream.match(/^<\\/\\s*script\\s*>/i, false)) {\n      state.token = html;\n      state.localState = state.localMode = null;\n      return null;\n    }\n    return maybeBackup(stream, /<\\/\\s*script\\s*>/,\n                       state.localMode.token(stream, state.localState));\n  }\n  function css(stream, state) {\n    if (stream.match(/^<\\/\\s*style\\s*>/i, false)) {\n      state.token = html;\n      state.localState = state.localMode = null;\n      return null;\n    }\n    return maybeBackup(stream, /<\\/\\s*style\\s*>/,\n                       cssMode.token(stream, state.localState));\n  }\n\n  return {\n    startState: function() {\n      var state = htmlMode.startState();\n      return {token: html, localMode: null, localState: null, htmlState: state};\n    },\n\n    copyState: function(state) {\n      if (state.localState)\n        var local = CodeMirror.copyState(state.localMode, state.localState);\n      return {token: state.token, localMode: state.localMode, localState: local,\n              htmlState: CodeMirror.copyState(htmlMode, state.htmlState)};\n    },\n\n    token: function(stream, state) {\n      return state.token(stream, state);\n    },\n\n    indent: function(state, textAfter) {\n      if (!state.localMode || /^\\s*<\\//.test(textAfter))\n        return htmlMode.indent(state.htmlState, textAfter);\n      else if (state.localMode.indent)\n        return state.localMode.indent(state.localState, textAfter);\n      else\n        return CodeMirror.Pass;\n    },\n\n    innerMode: function(state) {\n      return {state: state.localState || state.htmlState, mode: state.localMode || htmlMode};\n    }\n  };\n}, \"xml\", \"javascript\", \"css\");\n\nCodeMirror.defineMIME(\"text/html\", \"htmlmixed\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/htmlmixed/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: HTML mixed mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/selection/selection-pointer.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../css/css.js\"></script>\n<script src=\"../vbscript/vbscript.js\"></script>\n<script src=\"htmlmixed.js\"></script>\n<style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">HTML mixed</a>\n  </ul>\n</div>\n\n<article>\n<h2>HTML mixed mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n<html style=\"color: green\">\n  <!-- this is a comment -->\n  <head>\n    <title>Mixed HTML Example</title>\n    <style type=\"text/css\">\n      h1 {font-family: comic sans; color: #f0f;}\n      div {background: yellow !important;}\n      body {\n        max-width: 50em;\n        margin: 1em 2em 1em 5em;\n      }\n    </style>\n  </head>\n  <body>\n    <h1>Mixed HTML Example</h1>\n    <script>\n      function jsFunc(arg1, arg2) {\n        if (arg1 && arg2) document.body.innerHTML = \"achoo\";\n      }\n    </script>\n  </body>\n</html>\n</textarea></form>\n    <script>\n      // Define an extended mixed-mode that understands vbscript and\n      // leaves mustache/handlebars embedded templates in html mode\n      var mixedMode = {\n        name: \"htmlmixed\",\n        scriptTypes: [{matches: /\\/x-handlebars-template|\\/x-mustache/i,\n                       mode: null},\n                      {matches: /(text|application)\\/(x-)?vb(a|script)/i,\n                       mode: \"vbscript\"}]\n      };\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: mixedMode,\n        selectionPointer: true\n      });\n    </script>\n\n    <p>The HTML mixed mode depends on the XML, JavaScript, and CSS modes.</p>\n\n    <p>It takes an optional mode configuration\n    option, <code>scriptTypes</code>, which can be used to add custom\n    behavior for specific <code>&lt;script type=\"...\"></code> tags. If\n    given, it should hold an array of <code>{matches, mode}</code>\n    objects, where <code>matches</code> is a string or regexp that\n    matches the script type, and <code>mode</code> is\n    either <code>null</code>, for script types that should stay in\n    HTML mode, or a <a href=\"../../doc/manual.html#option_mode\">mode\n    spec</a> corresponding to the mode that should be used for the\n    script.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/html</code>\n    (redefined, only takes effect if you load this parser after the\n    XML parser).</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/http/http.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"http\", function() {\n  function failFirstLine(stream, state) {\n    stream.skipToEnd();\n    state.cur = header;\n    return \"error\";\n  }\n\n  function start(stream, state) {\n    if (stream.match(/^HTTP\\/\\d\\.\\d/)) {\n      state.cur = responseStatusCode;\n      return \"keyword\";\n    } else if (stream.match(/^[A-Z]+/) && /[ \\t]/.test(stream.peek())) {\n      state.cur = requestPath;\n      return \"keyword\";\n    } else {\n      return failFirstLine(stream, state);\n    }\n  }\n\n  function responseStatusCode(stream, state) {\n    var code = stream.match(/^\\d+/);\n    if (!code) return failFirstLine(stream, state);\n\n    state.cur = responseStatusText;\n    var status = Number(code[0]);\n    if (status >= 100 && status < 200) {\n      return \"positive informational\";\n    } else if (status >= 200 && status < 300) {\n      return \"positive success\";\n    } else if (status >= 300 && status < 400) {\n      return \"positive redirect\";\n    } else if (status >= 400 && status < 500) {\n      return \"negative client-error\";\n    } else if (status >= 500 && status < 600) {\n      return \"negative server-error\";\n    } else {\n      return \"error\";\n    }\n  }\n\n  function responseStatusText(stream, state) {\n    stream.skipToEnd();\n    state.cur = header;\n    return null;\n  }\n\n  function requestPath(stream, state) {\n    stream.eatWhile(/\\S/);\n    state.cur = requestProtocol;\n    return \"string-2\";\n  }\n\n  function requestProtocol(stream, state) {\n    if (stream.match(/^HTTP\\/\\d\\.\\d$/)) {\n      state.cur = header;\n      return \"keyword\";\n    } else {\n      return failFirstLine(stream, state);\n    }\n  }\n\n  function header(stream) {\n    if (stream.sol() && !stream.eat(/[ \\t]/)) {\n      if (stream.match(/^.*?:/)) {\n        return \"atom\";\n      } else {\n        stream.skipToEnd();\n        return \"error\";\n      }\n    } else {\n      stream.skipToEnd();\n      return \"string\";\n    }\n  }\n\n  function body(stream) {\n    stream.skipToEnd();\n    return null;\n  }\n\n  return {\n    token: function(stream, state) {\n      var cur = state.cur;\n      if (cur != header && cur != body && stream.eatSpace()) return null;\n      return cur(stream, state);\n    },\n\n    blankLine: function(state) {\n      state.cur = body;\n    },\n\n    startState: function() {\n      return {cur: start};\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"message/http\", \"http\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/http/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: HTTP mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"http.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">HTTP</a>\n  </ul>\n</div>\n\n<article>\n<h2>HTTP mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\nPOST /somewhere HTTP/1.1\nHost: example.com\nIf-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT\nContent-Type: application/x-www-form-urlencoded;\n\tcharset=utf-8\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Ubuntu/12.04 Chromium/20.0.1132.47 Chrome/20.0.1132.47 Safari/536.11\n\nThis is the request body!\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>message/http</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/idl/idl.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  function wordRegexp(words) {\n    return new RegExp('^((' + words.join(')|(') + '))\\\\b', 'i');\n  };\n\n  var builtinArray = [\n    'a_correlate', 'abs', 'acos', 'adapt_hist_equal', 'alog',\n    'alog2', 'alog10', 'amoeba', 'annotate', 'app_user_dir',\n    'app_user_dir_query', 'arg_present', 'array_equal', 'array_indices',\n    'arrow', 'ascii_template', 'asin', 'assoc', 'atan',\n    'axis', 'axis', 'bandpass_filter', 'bandreject_filter', 'barplot',\n    'bar_plot', 'beseli', 'beselj', 'beselk', 'besely',\n    'beta', 'biginteger', 'bilinear', 'bin_date', 'binary_template',\n    'bindgen', 'binomial', 'bit_ffs', 'bit_population', 'blas_axpy',\n    'blk_con', 'boolarr', 'boolean', 'boxplot', 'box_cursor',\n    'breakpoint', 'broyden', 'bubbleplot', 'butterworth', 'bytarr',\n    'byte', 'byteorder', 'bytscl', 'c_correlate', 'calendar',\n    'caldat', 'call_external', 'call_function', 'call_method',\n    'call_procedure', 'canny', 'catch', 'cd', 'cdf', 'ceil',\n    'chebyshev', 'check_math', 'chisqr_cvf', 'chisqr_pdf', 'choldc',\n    'cholsol', 'cindgen', 'cir_3pnt', 'clipboard', 'close',\n    'clust_wts', 'cluster', 'cluster_tree', 'cmyk_convert', 'code_coverage',\n    'color_convert', 'color_exchange', 'color_quan', 'color_range_map',\n    'colorbar', 'colorize_sample', 'colormap_applicable',\n    'colormap_gradient', 'colormap_rotation', 'colortable',\n    'comfit', 'command_line_args', 'common', 'compile_opt', 'complex',\n    'complexarr', 'complexround', 'compute_mesh_normals', 'cond', 'congrid',\n    'conj', 'constrained_min', 'contour', 'contour', 'convert_coord',\n    'convol', 'convol_fft', 'coord2to3', 'copy_lun', 'correlate',\n    'cos', 'cosh', 'cpu', 'cramer', 'createboxplotdata',\n    'create_cursor', 'create_struct', 'create_view', 'crossp', 'crvlength',\n    'ct_luminance', 'cti_test', 'cursor', 'curvefit', 'cv_coord',\n    'cvttobm', 'cw_animate', 'cw_animate_getp', 'cw_animate_load',\n    'cw_animate_run', 'cw_arcball', 'cw_bgroup', 'cw_clr_index',\n    'cw_colorsel', 'cw_defroi', 'cw_field', 'cw_filesel', 'cw_form',\n    'cw_fslider', 'cw_light_editor', 'cw_light_editor_get',\n    'cw_light_editor_set', 'cw_orient', 'cw_palette_editor',\n    'cw_palette_editor_get', 'cw_palette_editor_set', 'cw_pdmenu',\n    'cw_rgbslider', 'cw_tmpl', 'cw_zoom', 'db_exists',\n    'dblarr', 'dcindgen', 'dcomplex', 'dcomplexarr', 'define_key',\n    'define_msgblk', 'define_msgblk_from_file', 'defroi', 'defsysv',\n    'delvar', 'dendro_plot', 'dendrogram', 'deriv', 'derivsig',\n    'determ', 'device', 'dfpmin', 'diag_matrix', 'dialog_dbconnect',\n    'dialog_message', 'dialog_pickfile', 'dialog_printersetup',\n    'dialog_printjob', 'dialog_read_image',\n    'dialog_write_image', 'dictionary', 'digital_filter', 'dilate', 'dindgen',\n    'dissolve', 'dist', 'distance_measure', 'dlm_load', 'dlm_register',\n    'doc_library', 'double', 'draw_roi', 'edge_dog', 'efont',\n    'eigenql', 'eigenvec', 'ellipse', 'elmhes', 'emboss',\n    'empty', 'enable_sysrtn', 'eof', 'eos', 'erase',\n    'erf', 'erfc', 'erfcx', 'erode', 'errorplot',\n    'errplot', 'estimator_filter', 'execute', 'exit', 'exp',\n    'expand', 'expand_path', 'expint', 'extrac', 'extract_slice',\n    'f_cvf', 'f_pdf', 'factorial', 'fft', 'file_basename',\n    'file_chmod', 'file_copy', 'file_delete', 'file_dirname',\n    'file_expand_path', 'file_gunzip', 'file_gzip', 'file_info',\n    'file_lines', 'file_link', 'file_mkdir', 'file_move',\n    'file_poll_input', 'file_readlink', 'file_same',\n    'file_search', 'file_tar', 'file_test', 'file_untar', 'file_unzip',\n    'file_which', 'file_zip', 'filepath', 'findgen', 'finite',\n    'fix', 'flick', 'float', 'floor', 'flow3',\n    'fltarr', 'flush', 'format_axis_values', 'forward_function', 'free_lun',\n    'fstat', 'fulstr', 'funct', 'function', 'fv_test',\n    'fx_root', 'fz_roots', 'gamma', 'gamma_ct', 'gauss_cvf',\n    'gauss_pdf', 'gauss_smooth', 'gauss2dfit', 'gaussfit',\n    'gaussian_function', 'gaussint', 'get_drive_list', 'get_dxf_objects',\n    'get_kbrd', 'get_login_info',\n    'get_lun', 'get_screen_size', 'getenv', 'getwindows', 'greg2jul',\n    'grib', 'grid_input', 'grid_tps', 'grid3', 'griddata',\n    'gs_iter', 'h_eq_ct', 'h_eq_int', 'hanning', 'hash',\n    'hdf', 'hdf5', 'heap_free', 'heap_gc', 'heap_nosave',\n    'heap_refcount', 'heap_save', 'help', 'hilbert', 'hist_2d',\n    'hist_equal', 'histogram', 'hls', 'hough', 'hqr',\n    'hsv', 'i18n_multibytetoutf8',\n    'i18n_multibytetowidechar', 'i18n_utf8tomultibyte',\n    'i18n_widechartomultibyte',\n    'ibeta', 'icontour', 'iconvertcoord', 'idelete', 'identity',\n    'idl_base64', 'idl_container', 'idl_validname',\n    'idlexbr_assistant', 'idlitsys_createtool',\n    'idlunit', 'iellipse', 'igamma', 'igetcurrent', 'igetdata',\n    'igetid', 'igetproperty', 'iimage', 'image', 'image_cont',\n    'image_statistics', 'image_threshold', 'imaginary', 'imap', 'indgen',\n    'int_2d', 'int_3d', 'int_tabulated', 'intarr', 'interpol',\n    'interpolate', 'interval_volume', 'invert', 'ioctl', 'iopen',\n    'ir_filter', 'iplot', 'ipolygon', 'ipolyline', 'iputdata',\n    'iregister', 'ireset', 'iresolve', 'irotate', 'isa',\n    'isave', 'iscale', 'isetcurrent', 'isetproperty', 'ishft',\n    'isocontour', 'isosurface', 'isurface', 'itext', 'itranslate',\n    'ivector', 'ivolume', 'izoom', 'journal', 'json_parse',\n    'json_serialize', 'jul2greg', 'julday', 'keyword_set', 'krig2d',\n    'kurtosis', 'kw_test', 'l64indgen', 'la_choldc', 'la_cholmprove',\n    'la_cholsol', 'la_determ', 'la_eigenproblem', 'la_eigenql', 'la_eigenvec',\n    'la_elmhes', 'la_gm_linear_model', 'la_hqr', 'la_invert',\n    'la_least_square_equality', 'la_least_squares', 'la_linear_equation',\n    'la_ludc', 'la_lumprove', 'la_lusol',\n    'la_svd', 'la_tridc', 'la_trimprove', 'la_triql', 'la_trired',\n    'la_trisol', 'label_date', 'label_region', 'ladfit', 'laguerre',\n    'lambda', 'lambdap', 'lambertw', 'laplacian', 'least_squares_filter',\n    'leefilt', 'legend', 'legendre', 'linbcg', 'lindgen',\n    'linfit', 'linkimage', 'list', 'll_arc_distance', 'lmfit',\n    'lmgr', 'lngamma', 'lnp_test', 'loadct', 'locale_get',\n    'logical_and', 'logical_or', 'logical_true', 'lon64arr', 'lonarr',\n    'long', 'long64', 'lsode', 'lu_complex', 'ludc',\n    'lumprove', 'lusol', 'm_correlate', 'machar', 'make_array',\n    'make_dll', 'make_rt', 'map', 'mapcontinents', 'mapgrid',\n    'map_2points', 'map_continents', 'map_grid', 'map_image', 'map_patch',\n    'map_proj_forward', 'map_proj_image', 'map_proj_info',\n    'map_proj_init', 'map_proj_inverse',\n    'map_set', 'matrix_multiply', 'matrix_power', 'max', 'md_test',\n    'mean', 'meanabsdev', 'mean_filter', 'median', 'memory',\n    'mesh_clip', 'mesh_decimate', 'mesh_issolid',\n    'mesh_merge', 'mesh_numtriangles',\n    'mesh_obj', 'mesh_smooth', 'mesh_surfacearea',\n    'mesh_validate', 'mesh_volume',\n    'message', 'min', 'min_curve_surf', 'mk_html_help', 'modifyct',\n    'moment', 'morph_close', 'morph_distance',\n    'morph_gradient', 'morph_hitormiss',\n    'morph_open', 'morph_thin', 'morph_tophat', 'multi', 'n_elements',\n    'n_params', 'n_tags', 'ncdf', 'newton', 'noise_hurl',\n    'noise_pick', 'noise_scatter', 'noise_slur', 'norm', 'obj_class',\n    'obj_destroy', 'obj_hasmethod', 'obj_isa', 'obj_new', 'obj_valid',\n    'objarr', 'on_error', 'on_ioerror', 'online_help', 'openr',\n    'openu', 'openw', 'oplot', 'oploterr', 'orderedhash',\n    'p_correlate', 'parse_url', 'particle_trace', 'path_cache', 'path_sep',\n    'pcomp', 'plot', 'plot3d', 'plot', 'plot_3dbox',\n    'plot_field', 'ploterr', 'plots', 'polar_contour', 'polar_surface',\n    'polyfill', 'polyshade', 'pnt_line', 'point_lun', 'polarplot',\n    'poly', 'poly_2d', 'poly_area', 'poly_fit', 'polyfillv',\n    'polygon', 'polyline', 'polywarp', 'popd', 'powell',\n    'pref_commit', 'pref_get', 'pref_set', 'prewitt', 'primes',\n    'print', 'printf', 'printd', 'pro', 'product',\n    'profile', 'profiler', 'profiles', 'project_vol', 'ps_show_fonts',\n    'psafm', 'pseudo', 'ptr_free', 'ptr_new', 'ptr_valid',\n    'ptrarr', 'pushd', 'qgrid3', 'qhull', 'qromb',\n    'qromo', 'qsimp', 'query_*', 'query_ascii', 'query_bmp',\n    'query_csv', 'query_dicom', 'query_gif', 'query_image', 'query_jpeg',\n    'query_jpeg2000', 'query_mrsid', 'query_pict', 'query_png', 'query_ppm',\n    'query_srf', 'query_tiff', 'query_video', 'query_wav', 'r_correlate',\n    'r_test', 'radon', 'randomn', 'randomu', 'ranks',\n    'rdpix', 'read', 'readf', 'read_ascii', 'read_binary',\n    'read_bmp', 'read_csv', 'read_dicom', 'read_gif', 'read_image',\n    'read_interfile', 'read_jpeg', 'read_jpeg2000', 'read_mrsid', 'read_pict',\n    'read_png', 'read_ppm', 'read_spr', 'read_srf', 'read_sylk',\n    'read_tiff', 'read_video', 'read_wav', 'read_wave', 'read_x11_bitmap',\n    'read_xwd', 'reads', 'readu', 'real_part', 'rebin',\n    'recall_commands', 'recon3', 'reduce_colors', 'reform', 'region_grow',\n    'register_cursor', 'regress', 'replicate',\n    'replicate_inplace', 'resolve_all',\n    'resolve_routine', 'restore', 'retall', 'return', 'reverse',\n    'rk4', 'roberts', 'rot', 'rotate', 'round',\n    'routine_filepath', 'routine_info', 'rs_test', 's_test', 'save',\n    'savgol', 'scale3', 'scale3d', 'scatterplot', 'scatterplot3d',\n    'scope_level', 'scope_traceback', 'scope_varfetch',\n    'scope_varname', 'search2d',\n    'search3d', 'sem_create', 'sem_delete', 'sem_lock', 'sem_release',\n    'set_plot', 'set_shading', 'setenv', 'sfit', 'shade_surf',\n    'shade_surf_irr', 'shade_volume', 'shift', 'shift_diff', 'shmdebug',\n    'shmmap', 'shmunmap', 'shmvar', 'show3', 'showfont',\n    'signum', 'simplex', 'sin', 'sindgen', 'sinh',\n    'size', 'skewness', 'skip_lun', 'slicer3', 'slide_image',\n    'smooth', 'sobel', 'socket', 'sort', 'spawn',\n    'sph_4pnt', 'sph_scat', 'spher_harm', 'spl_init', 'spl_interp',\n    'spline', 'spline_p', 'sprsab', 'sprsax', 'sprsin',\n    'sprstp', 'sqrt', 'standardize', 'stddev', 'stop',\n    'strarr', 'strcmp', 'strcompress', 'streamline', 'streamline',\n    'stregex', 'stretch', 'string', 'strjoin', 'strlen',\n    'strlowcase', 'strmatch', 'strmessage', 'strmid', 'strpos',\n    'strput', 'strsplit', 'strtrim', 'struct_assign', 'struct_hide',\n    'strupcase', 'surface', 'surface', 'surfr', 'svdc',\n    'svdfit', 'svsol', 'swap_endian', 'swap_endian_inplace', 'symbol',\n    'systime', 't_cvf', 't_pdf', 't3d', 'tag_names',\n    'tan', 'tanh', 'tek_color', 'temporary', 'terminal_size',\n    'tetra_clip', 'tetra_surface', 'tetra_volume', 'text', 'thin',\n    'thread', 'threed', 'tic', 'time_test2', 'timegen',\n    'timer', 'timestamp', 'timestamptovalues', 'tm_test', 'toc',\n    'total', 'trace', 'transpose', 'tri_surf', 'triangulate',\n    'trigrid', 'triql', 'trired', 'trisol', 'truncate_lun',\n    'ts_coef', 'ts_diff', 'ts_fcast', 'ts_smooth', 'tv',\n    'tvcrs', 'tvlct', 'tvrd', 'tvscl', 'typename',\n    'uindgen', 'uint', 'uintarr', 'ul64indgen', 'ulindgen',\n    'ulon64arr', 'ulonarr', 'ulong', 'ulong64', 'uniq',\n    'unsharp_mask', 'usersym', 'value_locate', 'variance', 'vector',\n    'vector_field', 'vel', 'velovect', 'vert_t3d', 'voigt',\n    'volume', 'voronoi', 'voxel_proj', 'wait', 'warp_tri',\n    'watershed', 'wdelete', 'wf_draw', 'where', 'widget_base',\n    'widget_button', 'widget_combobox', 'widget_control',\n    'widget_displaycontextmenu', 'widget_draw',\n    'widget_droplist', 'widget_event', 'widget_info',\n    'widget_label', 'widget_list',\n    'widget_propertysheet', 'widget_slider', 'widget_tab',\n    'widget_table', 'widget_text',\n    'widget_tree', 'widget_tree_move', 'widget_window',\n    'wiener_filter', 'window',\n    'window', 'write_bmp', 'write_csv', 'write_gif', 'write_image',\n    'write_jpeg', 'write_jpeg2000', 'write_nrif', 'write_pict', 'write_png',\n    'write_ppm', 'write_spr', 'write_srf', 'write_sylk', 'write_tiff',\n    'write_video', 'write_wav', 'write_wave', 'writeu', 'wset',\n    'wshow', 'wtn', 'wv_applet', 'wv_cwt', 'wv_cw_wavelet',\n    'wv_denoise', 'wv_dwt', 'wv_fn_coiflet',\n    'wv_fn_daubechies', 'wv_fn_gaussian',\n    'wv_fn_haar', 'wv_fn_morlet', 'wv_fn_paul',\n    'wv_fn_symlet', 'wv_import_data',\n    'wv_import_wavelet', 'wv_plot3d_wps', 'wv_plot_multires',\n    'wv_pwt', 'wv_tool_denoise',\n    'xbm_edit', 'xdisplayfile', 'xdxf', 'xfont', 'xinteranimate',\n    'xloadct', 'xmanager', 'xmng_tmpl', 'xmtool', 'xobjview',\n    'xobjview_rotate', 'xobjview_write_image',\n    'xpalette', 'xpcolor', 'xplot3d',\n    'xregistered', 'xroi', 'xsq_test', 'xsurface', 'xvaredit',\n    'xvolume', 'xvolume_rotate', 'xvolume_write_image',\n    'xyouts', 'zlib_compress', 'zlib_uncompress', 'zoom', 'zoom_24'\n  ];\n  var builtins = wordRegexp(builtinArray);\n\n  var keywordArray = [\n    'begin', 'end', 'endcase', 'endfor',\n    'endwhile', 'endif', 'endrep', 'endforeach',\n    'break', 'case', 'continue', 'for',\n    'foreach', 'goto', 'if', 'then', 'else',\n    'repeat', 'until', 'switch', 'while',\n    'do', 'pro', 'function'\n  ];\n  var keywords = wordRegexp(keywordArray);\n\n  CodeMirror.registerHelper(\"hintWords\", \"idl\", builtinArray.concat(keywordArray));\n\n  var identifiers = new RegExp('^[_a-z\\xa1-\\uffff][_a-z0-9\\xa1-\\uffff]*', 'i');\n\n  var singleOperators = /[+\\-*&=<>\\/@#~$]/;\n  var boolOperators = new RegExp('(and|or|eq|lt|le|gt|ge|ne|not)', 'i');\n\n  function tokenBase(stream) {\n    // whitespaces\n    if (stream.eatSpace()) return null;\n\n    // Handle one line Comments\n    if (stream.match(';')) {\n      stream.skipToEnd();\n      return 'comment';\n    }\n\n    // Handle Number Literals\n    if (stream.match(/^[0-9\\.+-]/, false)) {\n      if (stream.match(/^[+-]?0x[0-9a-fA-F]+/))\n        return 'number';\n      if (stream.match(/^[+-]?\\d*\\.\\d+([EeDd][+-]?\\d+)?/))\n        return 'number';\n      if (stream.match(/^[+-]?\\d+([EeDd][+-]?\\d+)?/))\n        return 'number';\n    }\n\n    // Handle Strings\n    if (stream.match(/^\"([^\"]|(\"\"))*\"/)) { return 'string'; }\n    if (stream.match(/^'([^']|(''))*'/)) { return 'string'; }\n\n    // Handle words\n    if (stream.match(keywords)) { return 'keyword'; }\n    if (stream.match(builtins)) { return 'builtin'; }\n    if (stream.match(identifiers)) { return 'variable'; }\n\n    if (stream.match(singleOperators) || stream.match(boolOperators)) {\n      return 'operator'; }\n\n    // Handle non-detected items\n    stream.next();\n    return null;\n  };\n\n  CodeMirror.defineMode('idl', function() {\n    return {\n      token: function(stream) {\n        return tokenBase(stream);\n      }\n    };\n  });\n\n  CodeMirror.defineMIME('text/x-idl', 'idl');\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/idl/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: IDL mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"idl.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">IDL</a>\n  </ul>\n</div>\n\n<article>\n<h2>IDL mode</h2>\n\n    <div><textarea id=\"code\" name=\"code\">\n;; Example IDL code\nFUNCTION mean_and_stddev,array\n  ;; This program reads in an array of numbers\n  ;; and returns a structure containing the\n  ;; average and standard deviation\n\n  ave = 0.0\n  count = 0.0\n\n  for i=0,N_ELEMENTS(array)-1 do begin\n      ave = ave + array[i]\n      count = count + 1\n  endfor\n  \n  ave = ave/count\n\n  std = stddev(array)  \n\n  return, {average:ave,std:std}\n\nEND\n\n    </textarea></div>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"idl\",\n               version: 1,\n               singleLineStringErrors: false},\n        lineNumbers: true,\n        indentUnit: 4,\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-idl</code>.</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Language Modes</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Language modes</a>\n  </ul>\n</div>\n\n<article>\n\n  <h2>Language modes</h2>\n\n  <p>This is a list of every mode in the distribution. Each mode lives\nin a subdirectory of the <code>mode/</code> directory, and typically\ndefines a single JavaScript file that implements the mode. Loading\nsuch file will make the language available to CodeMirror, through\nthe <a href=\"../doc/manual.html#option_mode\"><code>mode</code></a>\noption.</p>\n\n  <div style=\"-webkit-columns: 100px 2; -moz-columns: 100px 2; columns: 100px 2;\">\n    <ul style=\"margin-top: 0\">\n      <li><a href=\"apl/index.html\">APL</a></li>\n      <li><a href=\"asterisk/index.html\">Asterisk dialplan</a></li>\n      <li><a href=\"clike/index.html\">C, C++, C#</a></li>\n      <li><a href=\"clojure/index.html\">Clojure</a></li>\n      <li><a href=\"cobol/index.html\">COBOL</a></li>\n      <li><a href=\"coffeescript/index.html\">CoffeeScript</a></li>\n      <li><a href=\"commonlisp/index.html\">Common Lisp</a></li>\n      <li><a href=\"css/index.html\">CSS</a></li>\n      <li><a href=\"cypher/index.html\">Cypher</a></li>\n      <li><a href=\"python/index.html\">Cython</a></li>\n      <li><a href=\"d/index.html\">D</a></li>\n      <li><a href=\"dart/index.html\">Dart</a></li>\n      <li><a href=\"django/index.html\">Django</a> (templating language)</li>\n      <li><a href=\"dockerfile/index.html\">Dockerfile</a></li>\n      <li><a href=\"diff/index.html\">diff</a></li>\n      <li><a href=\"dtd/index.html\">DTD</a></li>\n      <li><a href=\"dylan/index.html\">Dylan</a></li>\n      <li><a href=\"ebnf/index.html\">EBNF</a></li>\n      <li><a href=\"ecl/index.html\">ECL</a></li>\n      <li><a href=\"eiffel/index.html\">Eiffel</a></li>\n      <li><a href=\"erlang/index.html\">Erlang</a></li>\n      <li><a href=\"forth/index.html\">Forth</a></li>\n      <li><a href=\"fortran/index.html\">Fortran</a></li>\n      <li><a href=\"mllike/index.html\">F#</a></li>\n      <li><a href=\"gas/index.html\">Gas</a> (AT&amp;T-style assembly)</li>\n      <li><a href=\"gherkin/index.html\">Gherkin</a></li>\n      <li><a href=\"go/index.html\">Go</a></li>\n      <li><a href=\"groovy/index.html\">Groovy</a></li>\n      <li><a href=\"haml/index.html\">HAML</a></li>\n      <li><a href=\"haskell/index.html\">Haskell</a></li>\n      <li><a href=\"haxe/index.html\">Haxe</a></li>\n      <li><a href=\"htmlembedded/index.html\">HTML embedded scripts</a></li>\n      <li><a href=\"htmlmixed/index.html\">HTML mixed-mode</a></li>\n      <li><a href=\"http/index.html\">HTTP</a></li>\n      <li><a href=\"idl/index.html\">IDL</a></li>\n      <li><a href=\"clike/index.html\">Java</a></li>\n      <li><a href=\"jade/index.html\">Jade</a></li>\n      <li><a href=\"javascript/index.html\">JavaScript</a></li>\n      <li><a href=\"jinja2/index.html\">Jinja2</a></li>\n      <li><a href=\"julia/index.html\">Julia</a></li>\n      <li><a href=\"kotlin/index.html\">Kotlin</a></li>\n      <li><a href=\"css/less.html\">LESS</a></li>\n      <li><a href=\"livescript/index.html\">LiveScript</a></li>\n      <li><a href=\"lua/index.html\">Lua</a></li>\n      <li><a href=\"markdown/index.html\">Markdown</a> (<a href=\"gfm/index.html\">GitHub-flavour</a>)</li>\n      <li><a href=\"mirc/index.html\">mIRC</a></li>\n      <li><a href=\"modelica/index.html\">Modelica</a></li>\n      <li><a href=\"nginx/index.html\">Nginx</a></li>\n      <li><a href=\"ntriples/index.html\">NTriples</a></li>\n      <li><a href=\"clike/index.html\">Objective C</a></li>\n      <li><a href=\"mllike/index.html\">OCaml</a></li>\n      <li><a href=\"octave/index.html\">Octave</a> (MATLAB)</li>\n      <li><a href=\"pascal/index.html\">Pascal</a></li>\n      <li><a href=\"pegjs/index.html\">PEG.js</a></li>\n      <li><a href=\"perl/index.html\">Perl</a></li>\n      <li><a href=\"php/index.html\">PHP</a></li>\n      <li><a href=\"pig/index.html\">Pig Latin</a></li>\n      <li><a href=\"properties/index.html\">Properties files</a></li>\n      <li><a href=\"puppet/index.html\">Puppet</a></li>\n      <li><a href=\"python/index.html\">Python</a></li>\n      <li><a href=\"q/index.html\">Q</a></li>\n      <li><a href=\"r/index.html\">R</a></li>\n      <li><a href=\"rpm/index.html\">RPM</a></li>\n      <li><a href=\"rst/index.html\">reStructuredText</a></li>\n      <li><a href=\"ruby/index.html\">Ruby</a></li>\n      <li><a href=\"rust/index.html\">Rust</a></li>\n      <li><a href=\"sass/index.html\">Sass</a></li>\n      <li><a href=\"spreadsheet/index.html\">Spreadsheet</a></li>\n      <li><a href=\"clike/scala.html\">Scala</a></li>\n      <li><a href=\"scheme/index.html\">Scheme</a></li>\n      <li><a href=\"css/scss.html\">SCSS</a></li>\n      <li><a href=\"shell/index.html\">Shell</a></li>\n      <li><a href=\"sieve/index.html\">Sieve</a></li>\n      <li><a href=\"slim/index.html\">Slim</a></li>\n      <li><a href=\"smalltalk/index.html\">Smalltalk</a></li>\n      <li><a href=\"smarty/index.html\">Smarty</a></li>\n      <li><a href=\"smartymixed/index.html\">Smarty/HTML mixed</a></li>\n      <li><a href=\"solr/index.html\">Solr</a></li>\n      <li><a href=\"soy/index.html\">Soy</a></li>\n      <li><a href=\"stylus/index.html\">Stylus</a></li>\n      <li><a href=\"sql/index.html\">SQL</a> (several dialects)</li>\n      <li><a href=\"sparql/index.html\">SPARQL</a></li>\n      <li><a href=\"stex/index.html\">sTeX, LaTeX</a></li>\n      <li><a href=\"tcl/index.html\">Tcl</a></li>\n      <li><a href=\"textile/index.html\">Textile</a></li>\n      <li><a href=\"tiddlywiki/index.html\">Tiddlywiki</a></li>\n      <li><a href=\"tiki/index.html\">Tiki wiki</a></li>\n      <li><a href=\"toml/index.html\">TOML</a></li>\n      <li><a href=\"tornado/index.html\">Tornado</a> (templating language)</li>\n      <li><a href=\"turtle/index.html\">Turtle</a></li>\n      <li><a href=\"vb/index.html\">VB.NET</a></li>\n      <li><a href=\"vbscript/index.html\">VBScript</a></li>\n      <li><a href=\"velocity/index.html\">Velocity</a></li>\n      <li><a href=\"verilog/index.html\">Verilog/SystemVerilog</a></li>\n      <li><a href=\"xml/index.html\">XML/HTML</a></li>\n      <li><a href=\"xquery/index.html\">XQuery</a></li>\n      <li><a href=\"yaml/index.html\">YAML</a></li>\n      <li><a href=\"z80/index.html\">Z80</a></li>\n    </ul>\n  </div>\n\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/jade/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Jade Templating Mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../css/css.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"jade.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Jade Templating Mode</a>\n  </ul>\n</div>\n\n<article>\n<h2>Jade Templating Mode</h2>\n<form><textarea id=\"code\" name=\"code\">\ndoctype html\n  html\n    head\n      title= \"Jade Templating CodeMirror Mode Example\"\n      link(rel='stylesheet', href='/css/bootstrap.min.css')\n      link(rel='stylesheet', href='/css/index.css')\n      script(type='text/javascript', src='/js/jquery-1.9.1.min.js')\n      script(type='text/javascript', src='/js/bootstrap.min.js')\n    body\n      div.header\n        h1 Welcome to this Example\n      div.spots\n        if locals.spots\n          each spot in spots\n            div.spot.well\n         div\n           if spot.logo\n             img.img-rounded.logo(src=spot.logo)\n           else\n             img.img-rounded.logo(src=\"img/placeholder.png\")\n         h3\n           a(href=spot.hash) ##{spot.hash}\n           if spot.title\n             span.title #{spot.title}\n           if spot.desc\n             div #{spot.desc}\n        else\n          h3 There are no spots currently available.\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"jade\", alignCDATA: true},\n        lineNumbers: true\n      });\n    </script>\n    <h3>The Jade Templating Mode</h3>\n      <p> Created by Forbes Lindesay. Managed as part of a Brackets extension at <a href=\"https://github.com/ForbesLindesay/jade-brackets\">https://github.com/ForbesLindesay/jade-brackets</a>.</p>\n    <p><strong>MIME type defined:</strong> <code>text/x-jade</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/jade/jade.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../javascript/javascript\"), require(\"../css/css\"), require(\"../htmlmixed/htmlmixed\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../javascript/javascript\", \"../css/css\", \"../htmlmixed/htmlmixed\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode('jade', function (config) {\n  // token types\n  var KEYWORD = 'keyword';\n  var DOCTYPE = 'meta';\n  var ID = 'builtin';\n  var CLASS = 'qualifier';\n\n  var ATTRS_NEST = {\n    '{': '}',\n    '(': ')',\n    '[': ']'\n  };\n\n  var jsMode = CodeMirror.getMode(config, 'javascript');\n\n  function State() {\n    this.javaScriptLine = false;\n    this.javaScriptLineExcludesColon = false;\n\n    this.javaScriptArguments = false;\n    this.javaScriptArgumentsDepth = 0;\n\n    this.isInterpolating = false;\n    this.interpolationNesting = 0;\n\n    this.jsState = jsMode.startState();\n\n    this.restOfLine = '';\n\n    this.isIncludeFiltered = false;\n    this.isEach = false;\n\n    this.lastTag = '';\n    this.scriptType = '';\n\n    // Attributes Mode\n    this.isAttrs = false;\n    this.attrsNest = [];\n    this.inAttributeName = true;\n    this.attributeIsType = false;\n    this.attrValue = '';\n\n    // Indented Mode\n    this.indentOf = Infinity;\n    this.indentToken = '';\n\n    this.innerMode = null;\n    this.innerState = null;\n\n    this.innerModeForLine = false;\n  }\n  /**\n   * Safely copy a state\n   *\n   * @return {State}\n   */\n  State.prototype.copy = function () {\n    var res = new State();\n    res.javaScriptLine = this.javaScriptLine;\n    res.javaScriptLineExcludesColon = this.javaScriptLineExcludesColon;\n    res.javaScriptArguments = this.javaScriptArguments;\n    res.javaScriptArgumentsDepth = this.javaScriptArgumentsDepth;\n    res.isInterpolating = this.isInterpolating;\n    res.interpolationNesting = this.intpolationNesting;\n\n    res.jsState = CodeMirror.copyState(jsMode, this.jsState);\n\n    res.innerMode = this.innerMode;\n    if (this.innerMode && this.innerState) {\n      res.innerState = CodeMirror.copyState(this.innerMode, this.innerState);\n    }\n\n    res.restOfLine = this.restOfLine;\n\n    res.isIncludeFiltered = this.isIncludeFiltered;\n    res.isEach = this.isEach;\n    res.lastTag = this.lastTag;\n    res.scriptType = this.scriptType;\n    res.isAttrs = this.isAttrs;\n    res.attrsNest = this.attrsNest.slice();\n    res.inAttributeName = this.inAttributeName;\n    res.attributeIsType = this.attributeIsType;\n    res.attrValue = this.attrValue;\n    res.indentOf = this.indentOf;\n    res.indentToken = this.indentToken;\n\n    res.innerModeForLine = this.innerModeForLine;\n\n    return res;\n  };\n\n  function javaScript(stream, state) {\n    if (stream.sol()) {\n      // if javaScriptLine was set at end of line, ignore it\n      state.javaScriptLine = false;\n      state.javaScriptLineExcludesColon = false;\n    }\n    if (state.javaScriptLine) {\n      if (state.javaScriptLineExcludesColon && stream.peek() === ':') {\n        state.javaScriptLine = false;\n        state.javaScriptLineExcludesColon = false;\n        return;\n      }\n      var tok = jsMode.token(stream, state.jsState);\n      if (stream.eol()) state.javaScriptLine = false;\n      return tok || true;\n    }\n  }\n  function javaScriptArguments(stream, state) {\n    if (state.javaScriptArguments) {\n      if (state.javaScriptArgumentsDepth === 0 && stream.peek() !== '(') {\n        state.javaScriptArguments = false;\n        return;\n      }\n      if (stream.peek() === '(') {\n        state.javaScriptArgumentsDepth++;\n      } else if (stream.peek() === ')') {\n        state.javaScriptArgumentsDepth--;\n      }\n      if (state.javaScriptArgumentsDepth === 0) {\n        state.javaScriptArguments = false;\n        return;\n      }\n\n      var tok = jsMode.token(stream, state.jsState);\n      return tok || true;\n    }\n  }\n\n  function yieldStatement(stream) {\n    if (stream.match(/^yield\\b/)) {\n        return 'keyword';\n    }\n  }\n\n  function doctype(stream) {\n    if (stream.match(/^(?:doctype) *([^\\n]+)?/)) {\n        return DOCTYPE;\n    }\n  }\n\n  function interpolation(stream, state) {\n    if (stream.match('#{')) {\n      state.isInterpolating = true;\n      state.interpolationNesting = 0;\n      return 'punctuation';\n    }\n  }\n\n  function interpolationContinued(stream, state) {\n    if (state.isInterpolating) {\n      if (stream.peek() === '}') {\n        state.interpolationNesting--;\n        if (state.interpolationNesting < 0) {\n          stream.next();\n          state.isInterpolating = false;\n          return 'puncutation';\n        }\n      } else if (stream.peek() === '{') {\n        state.interpolationNesting++;\n      }\n      return jsMode.token(stream, state.jsState) || true;\n    }\n  }\n\n  function caseStatement(stream, state) {\n    if (stream.match(/^case\\b/)) {\n      state.javaScriptLine = true;\n      return KEYWORD;\n    }\n  }\n\n  function when(stream, state) {\n    if (stream.match(/^when\\b/)) {\n      state.javaScriptLine = true;\n      state.javaScriptLineExcludesColon = true;\n      return KEYWORD;\n    }\n  }\n\n  function defaultStatement(stream) {\n    if (stream.match(/^default\\b/)) {\n      return KEYWORD;\n    }\n  }\n\n  function extendsStatement(stream, state) {\n    if (stream.match(/^extends?\\b/)) {\n      state.restOfLine = 'string';\n      return KEYWORD;\n    }\n  }\n\n  function append(stream, state) {\n    if (stream.match(/^append\\b/)) {\n      state.restOfLine = 'variable';\n      return KEYWORD;\n    }\n  }\n  function prepend(stream, state) {\n    if (stream.match(/^prepend\\b/)) {\n      state.restOfLine = 'variable';\n      return KEYWORD;\n    }\n  }\n  function block(stream, state) {\n    if (stream.match(/^block\\b *(?:(prepend|append)\\b)?/)) {\n      state.restOfLine = 'variable';\n      return KEYWORD;\n    }\n  }\n\n  function include(stream, state) {\n    if (stream.match(/^include\\b/)) {\n      state.restOfLine = 'string';\n      return KEYWORD;\n    }\n  }\n\n  function includeFiltered(stream, state) {\n    if (stream.match(/^include:([a-zA-Z0-9\\-]+)/, false) && stream.match('include')) {\n      state.isIncludeFiltered = true;\n      return KEYWORD;\n    }\n  }\n\n  function includeFilteredContinued(stream, state) {\n    if (state.isIncludeFiltered) {\n      var tok = filter(stream, state);\n      state.isIncludeFiltered = false;\n      state.restOfLine = 'string';\n      return tok;\n    }\n  }\n\n  function mixin(stream, state) {\n    if (stream.match(/^mixin\\b/)) {\n      state.javaScriptLine = true;\n      return KEYWORD;\n    }\n  }\n\n  function call(stream, state) {\n    if (stream.match(/^\\+([-\\w]+)/)) {\n      if (!stream.match(/^\\( *[-\\w]+ *=/, false)) {\n        state.javaScriptArguments = true;\n        state.javaScriptArgumentsDepth = 0;\n      }\n      return 'variable';\n    }\n    if (stream.match(/^\\+#{/, false)) {\n      stream.next();\n      state.mixinCallAfter = true;\n      return interpolation(stream, state);\n    }\n  }\n  function callArguments(stream, state) {\n    if (state.mixinCallAfter) {\n      state.mixinCallAfter = false;\n      if (!stream.match(/^\\( *[-\\w]+ *=/, false)) {\n        state.javaScriptArguments = true;\n        state.javaScriptArgumentsDepth = 0;\n      }\n      return true;\n    }\n  }\n\n  function conditional(stream, state) {\n    if (stream.match(/^(if|unless|else if|else)\\b/)) {\n      state.javaScriptLine = true;\n      return KEYWORD;\n    }\n  }\n\n  function each(stream, state) {\n    if (stream.match(/^(- *)?(each|for)\\b/)) {\n      state.isEach = true;\n      return KEYWORD;\n    }\n  }\n  function eachContinued(stream, state) {\n    if (state.isEach) {\n      if (stream.match(/^ in\\b/)) {\n        state.javaScriptLine = true;\n        state.isEach = false;\n        return KEYWORD;\n      } else if (stream.sol() || stream.eol()) {\n        state.isEach = false;\n      } else if (stream.next()) {\n        while (!stream.match(/^ in\\b/, false) && stream.next());\n        return 'variable';\n      }\n    }\n  }\n\n  function whileStatement(stream, state) {\n    if (stream.match(/^while\\b/)) {\n      state.javaScriptLine = true;\n      return KEYWORD;\n    }\n  }\n\n  function tag(stream, state) {\n    var captures;\n    if (captures = stream.match(/^(\\w(?:[-:\\w]*\\w)?)\\/?/)) {\n      state.lastTag = captures[1].toLowerCase();\n      if (state.lastTag === 'script') {\n        state.scriptType = 'application/javascript';\n      }\n      return 'tag';\n    }\n  }\n\n  function filter(stream, state) {\n    if (stream.match(/^:([\\w\\-]+)/)) {\n      var innerMode;\n      if (config && config.innerModes) {\n        innerMode = config.innerModes(stream.current().substring(1));\n      }\n      if (!innerMode) {\n        innerMode = stream.current().substring(1);\n      }\n      if (typeof innerMode === 'string') {\n        innerMode = CodeMirror.getMode(config, innerMode);\n      }\n      setInnerMode(stream, state, innerMode);\n      return 'atom';\n    }\n  }\n\n  function code(stream, state) {\n    if (stream.match(/^(!?=|-)/)) {\n      state.javaScriptLine = true;\n      return 'punctuation';\n    }\n  }\n\n  function id(stream) {\n    if (stream.match(/^#([\\w-]+)/)) {\n      return ID;\n    }\n  }\n\n  function className(stream) {\n    if (stream.match(/^\\.([\\w-]+)/)) {\n      return CLASS;\n    }\n  }\n\n  function attrs(stream, state) {\n    if (stream.peek() == '(') {\n      stream.next();\n      state.isAttrs = true;\n      state.attrsNest = [];\n      state.inAttributeName = true;\n      state.attrValue = '';\n      state.attributeIsType = false;\n      return 'punctuation';\n    }\n  }\n\n  function attrsContinued(stream, state) {\n    if (state.isAttrs) {\n      if (ATTRS_NEST[stream.peek()]) {\n        state.attrsNest.push(ATTRS_NEST[stream.peek()]);\n      }\n      if (state.attrsNest[state.attrsNest.length - 1] === stream.peek()) {\n        state.attrsNest.pop();\n      } else  if (stream.eat(')')) {\n        state.isAttrs = false;\n        return 'punctuation';\n      }\n      if (state.inAttributeName && stream.match(/^[^=,\\)!]+/)) {\n        if (stream.peek() === '=' || stream.peek() === '!') {\n          state.inAttributeName = false;\n          state.jsState = jsMode.startState();\n          if (state.lastTag === 'script' && stream.current().trim().toLowerCase() === 'type') {\n            state.attributeIsType = true;\n          } else {\n            state.attributeIsType = false;\n          }\n        }\n        return 'attribute';\n      }\n\n      var tok = jsMode.token(stream, state.jsState);\n      if (state.attributeIsType && tok === 'string') {\n        state.scriptType = stream.current().toString();\n      }\n      if (state.attrsNest.length === 0 && (tok === 'string' || tok === 'variable' || tok === 'keyword')) {\n        try {\n          Function('', 'var x ' + state.attrValue.replace(/,\\s*$/, '').replace(/^!/, ''));\n          state.inAttributeName = true;\n          state.attrValue = '';\n          stream.backUp(stream.current().length);\n          return attrsContinued(stream, state);\n        } catch (ex) {\n          //not the end of an attribute\n        }\n      }\n      state.attrValue += stream.current();\n      return tok || true;\n    }\n  }\n\n  function attributesBlock(stream, state) {\n    if (stream.match(/^&attributes\\b/)) {\n      state.javaScriptArguments = true;\n      state.javaScriptArgumentsDepth = 0;\n      return 'keyword';\n    }\n  }\n\n  function indent(stream) {\n    if (stream.sol() && stream.eatSpace()) {\n      return 'indent';\n    }\n  }\n\n  function comment(stream, state) {\n    if (stream.match(/^ *\\/\\/(-)?([^\\n]*)/)) {\n      state.indentOf = stream.indentation();\n      state.indentToken = 'comment';\n      return 'comment';\n    }\n  }\n\n  function colon(stream) {\n    if (stream.match(/^: */)) {\n      return 'colon';\n    }\n  }\n\n  function text(stream, state) {\n    if (stream.match(/^(?:\\| ?| )([^\\n]+)/)) {\n      return 'string';\n    }\n    if (stream.match(/^(<[^\\n]*)/, false)) {\n      // html string\n      setInnerMode(stream, state, 'htmlmixed');\n      state.innerModeForLine = true;\n      return innerMode(stream, state, true);\n    }\n  }\n\n  function dot(stream, state) {\n    if (stream.eat('.')) {\n      var innerMode = null;\n      if (state.lastTag === 'script' && state.scriptType.toLowerCase().indexOf('javascript') != -1) {\n        innerMode = state.scriptType.toLowerCase().replace(/\"|'/g, '');\n      } else if (state.lastTag === 'style') {\n        innerMode = 'css';\n      }\n      setInnerMode(stream, state, innerMode);\n      return 'dot';\n    }\n  }\n\n  function fail(stream) {\n    stream.next();\n    return null;\n  }\n\n\n  function setInnerMode(stream, state, mode) {\n    mode = CodeMirror.mimeModes[mode] || mode;\n    mode = config.innerModes ? config.innerModes(mode) || mode : mode;\n    mode = CodeMirror.mimeModes[mode] || mode;\n    mode = CodeMirror.getMode(config, mode);\n    state.indentOf = stream.indentation();\n\n    if (mode && mode.name !== 'null') {\n      state.innerMode = mode;\n    } else {\n      state.indentToken = 'string';\n    }\n  }\n  function innerMode(stream, state, force) {\n    if (stream.indentation() > state.indentOf || (state.innerModeForLine && !stream.sol()) || force) {\n      if (state.innerMode) {\n        if (!state.innerState) {\n          state.innerState = state.innerMode.startState ? state.innerMode.startState(stream.indentation()) : {};\n        }\n        return stream.hideFirstChars(state.indentOf + 2, function () {\n          return state.innerMode.token(stream, state.innerState) || true;\n        });\n      } else {\n        stream.skipToEnd();\n        return state.indentToken;\n      }\n    } else if (stream.sol()) {\n      state.indentOf = Infinity;\n      state.indentToken = null;\n      state.innerMode = null;\n      state.innerState = null;\n    }\n  }\n  function restOfLine(stream, state) {\n    if (stream.sol()) {\n      // if restOfLine was set at end of line, ignore it\n      state.restOfLine = '';\n    }\n    if (state.restOfLine) {\n      stream.skipToEnd();\n      var tok = state.restOfLine;\n      state.restOfLine = '';\n      return tok;\n    }\n  }\n\n\n  function startState() {\n    return new State();\n  }\n  function copyState(state) {\n    return state.copy();\n  }\n  /**\n   * Get the next token in the stream\n   *\n   * @param {Stream} stream\n   * @param {State} state\n   */\n  function nextToken(stream, state) {\n    var tok = innerMode(stream, state)\n      || restOfLine(stream, state)\n      || interpolationContinued(stream, state)\n      || includeFilteredContinued(stream, state)\n      || eachContinued(stream, state)\n      || attrsContinued(stream, state)\n      || javaScript(stream, state)\n      || javaScriptArguments(stream, state)\n      || callArguments(stream, state)\n\n      || yieldStatement(stream, state)\n      || doctype(stream, state)\n      || interpolation(stream, state)\n      || caseStatement(stream, state)\n      || when(stream, state)\n      || defaultStatement(stream, state)\n      || extendsStatement(stream, state)\n      || append(stream, state)\n      || prepend(stream, state)\n      || block(stream, state)\n      || include(stream, state)\n      || includeFiltered(stream, state)\n      || mixin(stream, state)\n      || call(stream, state)\n      || conditional(stream, state)\n      || each(stream, state)\n      || whileStatement(stream, state)\n      || tag(stream, state)\n      || filter(stream, state)\n      || code(stream, state)\n      || id(stream, state)\n      || className(stream, state)\n      || attrs(stream, state)\n      || attributesBlock(stream, state)\n      || indent(stream, state)\n      || text(stream, state)\n      || comment(stream, state)\n      || colon(stream, state)\n      || dot(stream, state)\n      || fail(stream, state);\n\n    return tok === true ? null : tok;\n  }\n  return {\n    startState: startState,\n    copyState: copyState,\n    token: nextToken\n  };\n});\n\nCodeMirror.defineMIME('text/x-jade', 'jade');\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/javascript/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: JavaScript mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"../../addon/comment/continuecomment.js\"></script>\n<script src=\"../../addon/comment/comment.js\"></script>\n<script src=\"javascript.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">JavaScript</a>\n  </ul>\n</div>\n\n<article>\n<h2>JavaScript mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n// Demo code (the actual new parser character stream implementation)\n\nfunction StringStream(string) {\n  this.pos = 0;\n  this.string = string;\n}\n\nStringStream.prototype = {\n  done: function() {return this.pos >= this.string.length;},\n  peek: function() {return this.string.charAt(this.pos);},\n  next: function() {\n    if (this.pos &lt; this.string.length)\n      return this.string.charAt(this.pos++);\n  },\n  eat: function(match) {\n    var ch = this.string.charAt(this.pos);\n    if (typeof match == \"string\") var ok = ch == match;\n    else var ok = ch &amp;&amp; match.test ? match.test(ch) : match(ch);\n    if (ok) {this.pos++; return ch;}\n  },\n  eatWhile: function(match) {\n    var start = this.pos;\n    while (this.eat(match));\n    if (this.pos > start) return this.string.slice(start, this.pos);\n  },\n  backUp: function(n) {this.pos -= n;},\n  column: function() {return this.pos;},\n  eatSpace: function() {\n    var start = this.pos;\n    while (/\\s/.test(this.string.charAt(this.pos))) this.pos++;\n    return this.pos - start;\n  },\n  match: function(pattern, consume, caseInsensitive) {\n    if (typeof pattern == \"string\") {\n      function cased(str) {return caseInsensitive ? str.toLowerCase() : str;}\n      if (cased(this.string).indexOf(cased(pattern), this.pos) == this.pos) {\n        if (consume !== false) this.pos += str.length;\n        return true;\n      }\n    }\n    else {\n      var match = this.string.slice(this.pos).match(pattern);\n      if (match &amp;&amp; consume !== false) this.pos += match[0].length;\n      return match;\n    }\n  }\n};\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        continueComments: \"Enter\",\n        extraKeys: {\"Ctrl-Q\": \"toggleComment\"}\n      });\n    </script>\n\n    <p>\n      JavaScript mode supports several configuration options:\n      <ul>\n        <li><code>json</code> which will set the mode to expect JSON\n        data rather than a JavaScript program.</li>\n        <li><code>jsonld</code> which will set the mode to expect\n        <a href=\"http://json-ld.org\">JSON-LD</a> linked data rather\n        than a JavaScript program (<a href=\"json-ld.html\">demo</a>).</li>\n        <li><code>typescript</code> which will activate additional\n        syntax highlighting and some other things for TypeScript code\n        (<a href=\"typescript.html\">demo</a>).</li>\n        <li><code>statementIndent</code> which (given a number) will\n        determine the amount of indentation to use for statements\n        continued on a new line.</li>\n        <li><code>wordCharacters</code>, a regexp that indicates which\n        characters should be considered part of an identifier.\n        Defaults to <code>/[\\w$]/</code>, which does not handle\n        non-ASCII identifiers. Can be set to something more elaborate\n        to improve Unicode support.</li>\n      </ul>\n    </p>\n\n    <p><strong>MIME types defined:</strong> <code>text/javascript</code>, <code>application/json</code>, <code>application/ld+json</code>, <code>text/typescript</code>, <code>application/typescript</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/javascript/javascript.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// TODO actually recognize syntax of TypeScript constructs\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"javascript\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit;\n  var statementIndent = parserConfig.statementIndent;\n  var jsonldMode = parserConfig.jsonld;\n  var jsonMode = parserConfig.json || jsonldMode;\n  var isTS = parserConfig.typescript;\n  var wordRE = parserConfig.wordCharacters || /[\\w$\\xa1-\\uffff]/;\n\n  // Tokenizer\n\n  var keywords = function(){\n    function kw(type) {return {type: type, style: \"keyword\"};}\n    var A = kw(\"keyword a\"), B = kw(\"keyword b\"), C = kw(\"keyword c\");\n    var operator = kw(\"operator\"), atom = {type: \"atom\", style: \"atom\"};\n\n    var jsKeywords = {\n      \"if\": kw(\"if\"), \"while\": A, \"with\": A, \"else\": B, \"do\": B, \"try\": B, \"finally\": B,\n      \"return\": C, \"break\": C, \"continue\": C, \"new\": C, \"delete\": C, \"throw\": C, \"debugger\": C,\n      \"var\": kw(\"var\"), \"const\": kw(\"var\"), \"let\": kw(\"var\"),\n      \"function\": kw(\"function\"), \"catch\": kw(\"catch\"),\n      \"for\": kw(\"for\"), \"switch\": kw(\"switch\"), \"case\": kw(\"case\"), \"default\": kw(\"default\"),\n      \"in\": operator, \"typeof\": operator, \"instanceof\": operator,\n      \"true\": atom, \"false\": atom, \"null\": atom, \"undefined\": atom, \"NaN\": atom, \"Infinity\": atom,\n      \"this\": kw(\"this\"), \"module\": kw(\"module\"), \"class\": kw(\"class\"), \"super\": kw(\"atom\"),\n      \"yield\": C, \"export\": kw(\"export\"), \"import\": kw(\"import\"), \"extends\": C\n    };\n\n    // Extend the 'normal' keywords with the TypeScript language extensions\n    if (isTS) {\n      var type = {type: \"variable\", style: \"variable-3\"};\n      var tsKeywords = {\n        // object-like things\n        \"interface\": kw(\"interface\"),\n        \"extends\": kw(\"extends\"),\n        \"constructor\": kw(\"constructor\"),\n\n        // scope modifiers\n        \"public\": kw(\"public\"),\n        \"private\": kw(\"private\"),\n        \"protected\": kw(\"protected\"),\n        \"static\": kw(\"static\"),\n\n        // types\n        \"string\": type, \"number\": type, \"bool\": type, \"any\": type\n      };\n\n      for (var attr in tsKeywords) {\n        jsKeywords[attr] = tsKeywords[attr];\n      }\n    }\n\n    return jsKeywords;\n  }();\n\n  var isOperatorChar = /[+\\-*&%=<>!?|~^]/;\n  var isJsonldKeyword = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)\"/;\n\n  function readRegexp(stream) {\n    var escaped = false, next, inSet = false;\n    while ((next = stream.next()) != null) {\n      if (!escaped) {\n        if (next == \"/\" && !inSet) return;\n        if (next == \"[\") inSet = true;\n        else if (inSet && next == \"]\") inSet = false;\n      }\n      escaped = !escaped && next == \"\\\\\";\n    }\n  }\n\n  // Used as scratch variables to communicate multiple values without\n  // consing up tons of objects.\n  var type, content;\n  function ret(tp, style, cont) {\n    type = tp; content = cont;\n    return style;\n  }\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    } else if (ch == \".\" && stream.match(/^\\d+(?:[eE][+\\-]?\\d+)?/)) {\n      return ret(\"number\", \"number\");\n    } else if (ch == \".\" && stream.match(\"..\")) {\n      return ret(\"spread\", \"meta\");\n    } else if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      return ret(ch);\n    } else if (ch == \"=\" && stream.eat(\">\")) {\n      return ret(\"=>\", \"operator\");\n    } else if (ch == \"0\" && stream.eat(/x/i)) {\n      stream.eatWhile(/[\\da-f]/i);\n      return ret(\"number\", \"number\");\n    } else if (/\\d/.test(ch)) {\n      stream.match(/^\\d*(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/);\n      return ret(\"number\", \"number\");\n    } else if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      } else if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return ret(\"comment\", \"comment\");\n      } else if (state.lastType == \"operator\" || state.lastType == \"keyword c\" ||\n               state.lastType == \"sof\" || /^[\\[{}\\(,;:]$/.test(state.lastType)) {\n        readRegexp(stream);\n        stream.match(/^\\b(([gimyu])(?![gimyu]*\\2))+\\b/);\n        return ret(\"regexp\", \"string-2\");\n      } else {\n        stream.eatWhile(isOperatorChar);\n        return ret(\"operator\", \"operator\", stream.current());\n      }\n    } else if (ch == \"`\") {\n      state.tokenize = tokenQuasi;\n      return tokenQuasi(stream, state);\n    } else if (ch == \"#\") {\n      stream.skipToEnd();\n      return ret(\"error\", \"error\");\n    } else if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return ret(\"operator\", \"operator\", stream.current());\n    } else if (wordRE.test(ch)) {\n      stream.eatWhile(wordRE);\n      var word = stream.current(), known = keywords.propertyIsEnumerable(word) && keywords[word];\n      return (known && state.lastType != \".\") ? ret(known.type, known.style, word) :\n                     ret(\"variable\", \"variable\", word);\n    }\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next;\n      if (jsonldMode && stream.peek() == \"@\" && stream.match(isJsonldKeyword)){\n        state.tokenize = tokenBase;\n        return ret(\"jsonld-keyword\", \"meta\");\n      }\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) break;\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (!escaped) state.tokenize = tokenBase;\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenQuasi(stream, state) {\n    var escaped = false, next;\n    while ((next = stream.next()) != null) {\n      if (!escaped && (next == \"`\" || next == \"$\" && stream.eat(\"{\"))) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      escaped = !escaped && next == \"\\\\\";\n    }\n    return ret(\"quasi\", \"string-2\", stream.current());\n  }\n\n  var brackets = \"([{}])\";\n  // This is a crude lookahead trick to try and notice that we're\n  // parsing the argument patterns for a fat-arrow function before we\n  // actually hit the arrow token. It only works if the arrow is on\n  // the same line as the arguments and there's no strange noise\n  // (comments) in between. Fallback is to only notice when we hit the\n  // arrow, and not declare the arguments as locals for the arrow\n  // body.\n  function findFatArrow(stream, state) {\n    if (state.fatArrowAt) state.fatArrowAt = null;\n    var arrow = stream.string.indexOf(\"=>\", stream.start);\n    if (arrow < 0) return;\n\n    var depth = 0, sawSomething = false;\n    for (var pos = arrow - 1; pos >= 0; --pos) {\n      var ch = stream.string.charAt(pos);\n      var bracket = brackets.indexOf(ch);\n      if (bracket >= 0 && bracket < 3) {\n        if (!depth) { ++pos; break; }\n        if (--depth == 0) break;\n      } else if (bracket >= 3 && bracket < 6) {\n        ++depth;\n      } else if (wordRE.test(ch)) {\n        sawSomething = true;\n      } else if (/[\"'\\/]/.test(ch)) {\n        return;\n      } else if (sawSomething && !depth) {\n        ++pos;\n        break;\n      }\n    }\n    if (sawSomething && !depth) state.fatArrowAt = pos;\n  }\n\n  // Parser\n\n  var atomicTypes = {\"atom\": true, \"number\": true, \"variable\": true, \"string\": true, \"regexp\": true, \"this\": true, \"jsonld-keyword\": true};\n\n  function JSLexical(indented, column, type, align, prev, info) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.prev = prev;\n    this.info = info;\n    if (align != null) this.align = align;\n  }\n\n  function inScope(state, varname) {\n    for (var v = state.localVars; v; v = v.next)\n      if (v.name == varname) return true;\n    for (var cx = state.context; cx; cx = cx.prev) {\n      for (var v = cx.vars; v; v = v.next)\n        if (v.name == varname) return true;\n    }\n  }\n\n  function parseJS(state, style, type, content, stream) {\n    var cc = state.cc;\n    // Communicate our context to the combinators.\n    // (Less wasteful than consing up a hundred closures on every call.)\n    cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc; cx.style = style;\n\n    if (!state.lexical.hasOwnProperty(\"align\"))\n      state.lexical.align = true;\n\n    while(true) {\n      var combinator = cc.length ? cc.pop() : jsonMode ? expression : statement;\n      if (combinator(type, content)) {\n        while(cc.length && cc[cc.length - 1].lex)\n          cc.pop()();\n        if (cx.marked) return cx.marked;\n        if (type == \"variable\" && inScope(state, content)) return \"variable-2\";\n        return style;\n      }\n    }\n  }\n\n  // Combinator utils\n\n  var cx = {state: null, column: null, marked: null, cc: null};\n  function pass() {\n    for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]);\n  }\n  function cont() {\n    pass.apply(null, arguments);\n    return true;\n  }\n  function register(varname) {\n    function inList(list) {\n      for (var v = list; v; v = v.next)\n        if (v.name == varname) return true;\n      return false;\n    }\n    var state = cx.state;\n    if (state.context) {\n      cx.marked = \"def\";\n      if (inList(state.localVars)) return;\n      state.localVars = {name: varname, next: state.localVars};\n    } else {\n      if (inList(state.globalVars)) return;\n      if (parserConfig.globalVars)\n        state.globalVars = {name: varname, next: state.globalVars};\n    }\n  }\n\n  // Combinators\n\n  var defaultVars = {name: \"this\", next: {name: \"arguments\"}};\n  function pushcontext() {\n    cx.state.context = {prev: cx.state.context, vars: cx.state.localVars};\n    cx.state.localVars = defaultVars;\n  }\n  function popcontext() {\n    cx.state.localVars = cx.state.context.vars;\n    cx.state.context = cx.state.context.prev;\n  }\n  function pushlex(type, info) {\n    var result = function() {\n      var state = cx.state, indent = state.indented;\n      if (state.lexical.type == \"stat\") indent = state.lexical.indented;\n      else for (var outer = state.lexical; outer && outer.type == \")\" && outer.align; outer = outer.prev)\n        indent = outer.indented;\n      state.lexical = new JSLexical(indent, cx.stream.column(), type, null, state.lexical, info);\n    };\n    result.lex = true;\n    return result;\n  }\n  function poplex() {\n    var state = cx.state;\n    if (state.lexical.prev) {\n      if (state.lexical.type == \")\")\n        state.indented = state.lexical.indented;\n      state.lexical = state.lexical.prev;\n    }\n  }\n  poplex.lex = true;\n\n  function expect(wanted) {\n    function exp(type) {\n      if (type == wanted) return cont();\n      else if (wanted == \";\") return pass();\n      else return cont(exp);\n    };\n    return exp;\n  }\n\n  function statement(type, value) {\n    if (type == \"var\") return cont(pushlex(\"vardef\", value.length), vardef, expect(\";\"), poplex);\n    if (type == \"keyword a\") return cont(pushlex(\"form\"), expression, statement, poplex);\n    if (type == \"keyword b\") return cont(pushlex(\"form\"), statement, poplex);\n    if (type == \"{\") return cont(pushlex(\"}\"), block, poplex);\n    if (type == \";\") return cont();\n    if (type == \"if\") {\n      if (cx.state.lexical.info == \"else\" && cx.state.cc[cx.state.cc.length - 1] == poplex)\n        cx.state.cc.pop()();\n      return cont(pushlex(\"form\"), expression, statement, poplex, maybeelse);\n    }\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"for\") return cont(pushlex(\"form\"), forspec, statement, poplex);\n    if (type == \"variable\") return cont(pushlex(\"stat\"), maybelabel);\n    if (type == \"switch\") return cont(pushlex(\"form\"), expression, pushlex(\"}\", \"switch\"), expect(\"{\"),\n                                      block, poplex, poplex);\n    if (type == \"case\") return cont(expression, expect(\":\"));\n    if (type == \"default\") return cont(expect(\":\"));\n    if (type == \"catch\") return cont(pushlex(\"form\"), pushcontext, expect(\"(\"), funarg, expect(\")\"),\n                                     statement, poplex, popcontext);\n    if (type == \"module\") return cont(pushlex(\"form\"), pushcontext, afterModule, popcontext, poplex);\n    if (type == \"class\") return cont(pushlex(\"form\"), className, poplex);\n    if (type == \"export\") return cont(pushlex(\"form\"), afterExport, poplex);\n    if (type == \"import\") return cont(pushlex(\"form\"), afterImport, poplex);\n    return pass(pushlex(\"stat\"), expression, expect(\";\"), poplex);\n  }\n  function expression(type) {\n    return expressionInner(type, false);\n  }\n  function expressionNoComma(type) {\n    return expressionInner(type, true);\n  }\n  function expressionInner(type, noComma) {\n    if (cx.state.fatArrowAt == cx.stream.start) {\n      var body = noComma ? arrowBodyNoComma : arrowBody;\n      if (type == \"(\") return cont(pushcontext, pushlex(\")\"), commasep(pattern, \")\"), poplex, expect(\"=>\"), body, popcontext);\n      else if (type == \"variable\") return pass(pushcontext, pattern, expect(\"=>\"), body, popcontext);\n    }\n\n    var maybeop = noComma ? maybeoperatorNoComma : maybeoperatorComma;\n    if (atomicTypes.hasOwnProperty(type)) return cont(maybeop);\n    if (type == \"function\") return cont(functiondef, maybeop);\n    if (type == \"keyword c\") return cont(noComma ? maybeexpressionNoComma : maybeexpression);\n    if (type == \"(\") return cont(pushlex(\")\"), maybeexpression, comprehension, expect(\")\"), poplex, maybeop);\n    if (type == \"operator\" || type == \"spread\") return cont(noComma ? expressionNoComma : expression);\n    if (type == \"[\") return cont(pushlex(\"]\"), arrayLiteral, poplex, maybeop);\n    if (type == \"{\") return contCommasep(objprop, \"}\", null, maybeop);\n    if (type == \"quasi\") { return pass(quasi, maybeop); }\n    return cont();\n  }\n  function maybeexpression(type) {\n    if (type.match(/[;\\}\\)\\],]/)) return pass();\n    return pass(expression);\n  }\n  function maybeexpressionNoComma(type) {\n    if (type.match(/[;\\}\\)\\],]/)) return pass();\n    return pass(expressionNoComma);\n  }\n\n  function maybeoperatorComma(type, value) {\n    if (type == \",\") return cont(expression);\n    return maybeoperatorNoComma(type, value, false);\n  }\n  function maybeoperatorNoComma(type, value, noComma) {\n    var me = noComma == false ? maybeoperatorComma : maybeoperatorNoComma;\n    var expr = noComma == false ? expression : expressionNoComma;\n    if (type == \"=>\") return cont(pushcontext, noComma ? arrowBodyNoComma : arrowBody, popcontext);\n    if (type == \"operator\") {\n      if (/\\+\\+|--/.test(value)) return cont(me);\n      if (value == \"?\") return cont(expression, expect(\":\"), expr);\n      return cont(expr);\n    }\n    if (type == \"quasi\") { return pass(quasi, me); }\n    if (type == \";\") return;\n    if (type == \"(\") return contCommasep(expressionNoComma, \")\", \"call\", me);\n    if (type == \".\") return cont(property, me);\n    if (type == \"[\") return cont(pushlex(\"]\"), maybeexpression, expect(\"]\"), poplex, me);\n  }\n  function quasi(type, value) {\n    if (type != \"quasi\") return pass();\n    if (value.slice(value.length - 2) != \"${\") return cont(quasi);\n    return cont(expression, continueQuasi);\n  }\n  function continueQuasi(type) {\n    if (type == \"}\") {\n      cx.marked = \"string-2\";\n      cx.state.tokenize = tokenQuasi;\n      return cont(quasi);\n    }\n  }\n  function arrowBody(type) {\n    findFatArrow(cx.stream, cx.state);\n    return pass(type == \"{\" ? statement : expression);\n  }\n  function arrowBodyNoComma(type) {\n    findFatArrow(cx.stream, cx.state);\n    return pass(type == \"{\" ? statement : expressionNoComma);\n  }\n  function maybelabel(type) {\n    if (type == \":\") return cont(poplex, statement);\n    return pass(maybeoperatorComma, expect(\";\"), poplex);\n  }\n  function property(type) {\n    if (type == \"variable\") {cx.marked = \"property\"; return cont();}\n  }\n  function objprop(type, value) {\n    if (type == \"variable\" || cx.style == \"keyword\") {\n      cx.marked = \"property\";\n      if (value == \"get\" || value == \"set\") return cont(getterSetter);\n      return cont(afterprop);\n    } else if (type == \"number\" || type == \"string\") {\n      cx.marked = jsonldMode ? \"property\" : (cx.style + \" property\");\n      return cont(afterprop);\n    } else if (type == \"jsonld-keyword\") {\n      return cont(afterprop);\n    } else if (type == \"[\") {\n      return cont(expression, expect(\"]\"), afterprop);\n    }\n  }\n  function getterSetter(type) {\n    if (type != \"variable\") return pass(afterprop);\n    cx.marked = \"property\";\n    return cont(functiondef);\n  }\n  function afterprop(type) {\n    if (type == \":\") return cont(expressionNoComma);\n    if (type == \"(\") return pass(functiondef);\n  }\n  function commasep(what, end) {\n    function proceed(type) {\n      if (type == \",\") {\n        var lex = cx.state.lexical;\n        if (lex.info == \"call\") lex.pos = (lex.pos || 0) + 1;\n        return cont(what, proceed);\n      }\n      if (type == end) return cont();\n      return cont(expect(end));\n    }\n    return function(type) {\n      if (type == end) return cont();\n      return pass(what, proceed);\n    };\n  }\n  function contCommasep(what, end, info) {\n    for (var i = 3; i < arguments.length; i++)\n      cx.cc.push(arguments[i]);\n    return cont(pushlex(end, info), commasep(what, end), poplex);\n  }\n  function block(type) {\n    if (type == \"}\") return cont();\n    return pass(statement, block);\n  }\n  function maybetype(type) {\n    if (isTS && type == \":\") return cont(typedef);\n  }\n  function typedef(type) {\n    if (type == \"variable\"){cx.marked = \"variable-3\"; return cont();}\n  }\n  function vardef() {\n    return pass(pattern, maybetype, maybeAssign, vardefCont);\n  }\n  function pattern(type, value) {\n    if (type == \"variable\") { register(value); return cont(); }\n    if (type == \"[\") return contCommasep(pattern, \"]\");\n    if (type == \"{\") return contCommasep(proppattern, \"}\");\n  }\n  function proppattern(type, value) {\n    if (type == \"variable\" && !cx.stream.match(/^\\s*:/, false)) {\n      register(value);\n      return cont(maybeAssign);\n    }\n    if (type == \"variable\") cx.marked = \"property\";\n    return cont(expect(\":\"), pattern, maybeAssign);\n  }\n  function maybeAssign(_type, value) {\n    if (value == \"=\") return cont(expressionNoComma);\n  }\n  function vardefCont(type) {\n    if (type == \",\") return cont(vardef);\n  }\n  function maybeelse(type, value) {\n    if (type == \"keyword b\" && value == \"else\") return cont(pushlex(\"form\", \"else\"), statement, poplex);\n  }\n  function forspec(type) {\n    if (type == \"(\") return cont(pushlex(\")\"), forspec1, expect(\")\"), poplex);\n  }\n  function forspec1(type) {\n    if (type == \"var\") return cont(vardef, expect(\";\"), forspec2);\n    if (type == \";\") return cont(forspec2);\n    if (type == \"variable\") return cont(formaybeinof);\n    return pass(expression, expect(\";\"), forspec2);\n  }\n  function formaybeinof(_type, value) {\n    if (value == \"in\" || value == \"of\") { cx.marked = \"keyword\"; return cont(expression); }\n    return cont(maybeoperatorComma, forspec2);\n  }\n  function forspec2(type, value) {\n    if (type == \";\") return cont(forspec3);\n    if (value == \"in\" || value == \"of\") { cx.marked = \"keyword\"; return cont(expression); }\n    return pass(expression, expect(\";\"), forspec3);\n  }\n  function forspec3(type) {\n    if (type != \")\") cont(expression);\n  }\n  function functiondef(type, value) {\n    if (value == \"*\") {cx.marked = \"keyword\"; return cont(functiondef);}\n    if (type == \"variable\") {register(value); return cont(functiondef);}\n    if (type == \"(\") return cont(pushcontext, pushlex(\")\"), commasep(funarg, \")\"), poplex, statement, popcontext);\n  }\n  function funarg(type) {\n    if (type == \"spread\") return cont(funarg);\n    return pass(pattern, maybetype);\n  }\n  function className(type, value) {\n    if (type == \"variable\") {register(value); return cont(classNameAfter);}\n  }\n  function classNameAfter(type, value) {\n    if (value == \"extends\") return cont(expression, classNameAfter);\n    if (type == \"{\") return cont(pushlex(\"}\"), classBody, poplex);\n  }\n  function classBody(type, value) {\n    if (type == \"variable\" || cx.style == \"keyword\") {\n      cx.marked = \"property\";\n      if (value == \"get\" || value == \"set\") return cont(classGetterSetter, functiondef, classBody);\n      return cont(functiondef, classBody);\n    }\n    if (value == \"*\") {\n      cx.marked = \"keyword\";\n      return cont(classBody);\n    }\n    if (type == \";\") return cont(classBody);\n    if (type == \"}\") return cont();\n  }\n  function classGetterSetter(type) {\n    if (type != \"variable\") return pass();\n    cx.marked = \"property\";\n    return cont();\n  }\n  function afterModule(type, value) {\n    if (type == \"string\") return cont(statement);\n    if (type == \"variable\") { register(value); return cont(maybeFrom); }\n  }\n  function afterExport(_type, value) {\n    if (value == \"*\") { cx.marked = \"keyword\"; return cont(maybeFrom, expect(\";\")); }\n    if (value == \"default\") { cx.marked = \"keyword\"; return cont(expression, expect(\";\")); }\n    return pass(statement);\n  }\n  function afterImport(type) {\n    if (type == \"string\") return cont();\n    return pass(importSpec, maybeFrom);\n  }\n  function importSpec(type, value) {\n    if (type == \"{\") return contCommasep(importSpec, \"}\");\n    if (type == \"variable\") register(value);\n    return cont();\n  }\n  function maybeFrom(_type, value) {\n    if (value == \"from\") { cx.marked = \"keyword\"; return cont(expression); }\n  }\n  function arrayLiteral(type) {\n    if (type == \"]\") return cont();\n    return pass(expressionNoComma, maybeArrayComprehension);\n  }\n  function maybeArrayComprehension(type) {\n    if (type == \"for\") return pass(comprehension, expect(\"]\"));\n    if (type == \",\") return cont(commasep(maybeexpressionNoComma, \"]\"));\n    return pass(commasep(expressionNoComma, \"]\"));\n  }\n  function comprehension(type) {\n    if (type == \"for\") return cont(forspec, comprehension);\n    if (type == \"if\") return cont(expression, comprehension);\n  }\n\n  function isContinuedStatement(state, textAfter) {\n    return state.lastType == \"operator\" || state.lastType == \",\" ||\n      isOperatorChar.test(textAfter.charAt(0)) ||\n      /[,.]/.test(textAfter.charAt(0));\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      var state = {\n        tokenize: tokenBase,\n        lastType: \"sof\",\n        cc: [],\n        lexical: new JSLexical((basecolumn || 0) - indentUnit, 0, \"block\", false),\n        localVars: parserConfig.localVars,\n        context: parserConfig.localVars && {vars: parserConfig.localVars},\n        indented: 0\n      };\n      if (parserConfig.globalVars && typeof parserConfig.globalVars == \"object\")\n        state.globalVars = parserConfig.globalVars;\n      return state;\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (!state.lexical.hasOwnProperty(\"align\"))\n          state.lexical.align = false;\n        state.indented = stream.indentation();\n        findFatArrow(stream, state);\n      }\n      if (state.tokenize != tokenComment && stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      if (type == \"comment\") return style;\n      state.lastType = type == \"operator\" && (content == \"++\" || content == \"--\") ? \"incdec\" : type;\n      return parseJS(state, style, type, content, stream);\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize == tokenComment) return CodeMirror.Pass;\n      if (state.tokenize != tokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical;\n      // Kludge to prevent 'maybelse' from blocking lexical scope pops\n      if (!/^\\s*else\\b/.test(textAfter)) for (var i = state.cc.length - 1; i >= 0; --i) {\n        var c = state.cc[i];\n        if (c == poplex) lexical = lexical.prev;\n        else if (c != maybeelse) break;\n      }\n      if (lexical.type == \"stat\" && firstChar == \"}\") lexical = lexical.prev;\n      if (statementIndent && lexical.type == \")\" && lexical.prev.type == \"stat\")\n        lexical = lexical.prev;\n      var type = lexical.type, closing = firstChar == type;\n\n      if (type == \"vardef\") return lexical.indented + (state.lastType == \"operator\" || state.lastType == \",\" ? lexical.info + 1 : 0);\n      else if (type == \"form\" && firstChar == \"{\") return lexical.indented;\n      else if (type == \"form\") return lexical.indented + indentUnit;\n      else if (type == \"stat\")\n        return lexical.indented + (isContinuedStatement(state, textAfter) ? statementIndent || indentUnit : 0);\n      else if (lexical.info == \"switch\" && !closing && parserConfig.doubleIndentSwitch != false)\n        return lexical.indented + (/^(?:case|default)\\b/.test(textAfter) ? indentUnit : 2 * indentUnit);\n      else if (lexical.align) return lexical.column + (closing ? 0 : 1);\n      else return lexical.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricInput: /^\\s*(?:case .*?:|default:|\\{|\\})$/,\n    blockCommentStart: jsonMode ? null : \"/*\",\n    blockCommentEnd: jsonMode ? null : \"*/\",\n    lineComment: jsonMode ? null : \"//\",\n    fold: \"brace\",\n\n    helperType: jsonMode ? \"json\" : \"javascript\",\n    jsonldMode: jsonldMode,\n    jsonMode: jsonMode\n  };\n});\n\nCodeMirror.registerHelper(\"wordChars\", \"javascript\", /[\\w$]/);\n\nCodeMirror.defineMIME(\"text/javascript\", \"javascript\");\nCodeMirror.defineMIME(\"text/ecmascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/javascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/x-javascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/ecmascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/json\", {name: \"javascript\", json: true});\nCodeMirror.defineMIME(\"application/x-json\", {name: \"javascript\", json: true});\nCodeMirror.defineMIME(\"application/ld+json\", {name: \"javascript\", jsonld: true});\nCodeMirror.defineMIME(\"text/typescript\", { name: \"javascript\", typescript: true });\nCodeMirror.defineMIME(\"application/typescript\", { name: \"javascript\", typescript: true });\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/javascript/json-ld.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: JSON-LD mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"../../addon/comment/continuecomment.js\"></script>\n<script src=\"../../addon/comment/comment.js\"></script>\n<script src=\"javascript.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=\"nav\">\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"/></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">JSON-LD</a>\n  </ul>\n</div>\n\n<article>\n<h2>JSON-LD mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n{\n  \"@context\": {\n    \"name\": \"http://schema.org/name\",\n    \"description\": \"http://schema.org/description\",\n    \"image\": {\n      \"@id\": \"http://schema.org/image\",\n      \"@type\": \"@id\"\n    },\n    \"geo\": \"http://schema.org/geo\",\n    \"latitude\": {\n      \"@id\": \"http://schema.org/latitude\",\n      \"@type\": \"xsd:float\"\n    },\n    \"longitude\": {\n      \"@id\": \"http://schema.org/longitude\",\n      \"@type\": \"xsd:float\"\n    },\n    \"xsd\": \"http://www.w3.org/2001/XMLSchema#\"\n  },\n  \"name\": \"The Empire State Building\",\n  \"description\": \"The Empire State Building is a 102-story landmark in New York City.\",\n  \"image\": \"http://www.civil.usherbrooke.ca/cours/gci215a/empire-state-building.jpg\",\n  \"geo\": {\n    \"latitude\": \"40.75\",\n    \"longitude\": \"73.98\"\n  }\n}\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        matchBrackets: true,\n        autoCloseBrackets: true,\n        mode: \"application/ld+json\",\n        lineWrapping: true\n      });\n    </script>\n    \n    <p>This is a specialization of the <a href=\"index.html\">JavaScript mode</a>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/javascript/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({indentUnit: 2}, \"javascript\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"locals\",\n     \"[keyword function] [variable foo]([def a], [def b]) { [keyword var] [def c] [operator =] [number 10]; [keyword return] [variable-2 a] [operator +] [variable-2 c] [operator +] [variable d]; }\");\n\n  MT(\"comma-and-binop\",\n     \"[keyword function](){ [keyword var] [def x] [operator =] [number 1] [operator +] [number 2], [def y]; }\");\n\n  MT(\"destructuring\",\n     \"([keyword function]([def a], [[[def b], [def c] ]]) {\",\n     \"  [keyword let] {[def d], [property foo]: [def c][operator =][number 10], [def x]} [operator =] [variable foo]([variable-2 a]);\",\n     \"  [[[variable-2 c], [variable y] ]] [operator =] [variable-2 c];\",\n     \"})();\");\n\n  MT(\"class_body\",\n     \"[keyword class] [variable Foo] {\",\n     \"  [property constructor]() {}\",\n     \"  [property sayName]() {\",\n     \"    [keyword return] [string-2 `foo${][variable foo][string-2 }oo`];\",\n     \"  }\",\n     \"}\");\n\n  MT(\"class\",\n     \"[keyword class] [variable Point] [keyword extends] [variable SuperThing] {\",\n     \"  [property get] [property prop]() { [keyword return] [number 24]; }\",\n     \"  [property constructor]([def x], [def y]) {\",\n     \"    [keyword super]([string 'something']);\",\n     \"    [keyword this].[property x] [operator =] [variable-2 x];\",\n     \"  }\",\n     \"}\");\n\n  MT(\"module\",\n     \"[keyword module] [string 'foo'] {\",\n     \"  [keyword export] [keyword let] [def x] [operator =] [number 42];\",\n     \"  [keyword export] [keyword *] [keyword from] [string 'somewhere'];\",\n     \"}\");\n\n  MT(\"import\",\n     \"[keyword function] [variable foo]() {\",\n     \"  [keyword import] [def $] [keyword from] [string 'jquery'];\",\n     \"  [keyword module] [def crypto] [keyword from] [string 'crypto'];\",\n     \"  [keyword import] { [def encrypt], [def decrypt] } [keyword from] [string 'crypto'];\",\n     \"}\");\n\n  MT(\"const\",\n     \"[keyword function] [variable f]() {\",\n     \"  [keyword const] [[ [def a], [def b] ]] [operator =] [[ [number 1], [number 2] ]];\",\n     \"}\");\n\n  MT(\"for/of\",\n     \"[keyword for]([keyword let] [variable of] [keyword of] [variable something]) {}\");\n\n  MT(\"generator\",\n     \"[keyword function*] [variable repeat]([def n]) {\",\n     \"  [keyword for]([keyword var] [def i] [operator =] [number 0]; [variable-2 i] [operator <] [variable-2 n]; [operator ++][variable-2 i])\",\n     \"    [keyword yield] [variable-2 i];\",\n     \"}\");\n\n  MT(\"quotedStringAddition\",\n     \"[keyword let] [variable f] [operator =] [variable a] [operator +] [string 'fatarrow'] [operator +] [variable c];\");\n\n  MT(\"quotedFatArrow\",\n     \"[keyword let] [variable f] [operator =] [variable a] [operator +] [string '=>'] [operator +] [variable c];\");\n\n  MT(\"fatArrow\",\n     \"[variable array].[property filter]([def a] [operator =>] [variable-2 a] [operator +] [number 1]);\",\n     \"[variable a];\", // No longer in scope\n     \"[keyword let] [variable f] [operator =] ([[ [def a], [def b] ]], [def c]) [operator =>] [variable-2 a] [operator +] [variable-2 c];\",\n     \"[variable c];\");\n\n  MT(\"spread\",\n     \"[keyword function] [variable f]([def a], [meta ...][def b]) {\",\n     \"  [variable something]([variable-2 a], [meta ...][variable-2 b]);\",\n     \"}\");\n\n  MT(\"comprehension\",\n     \"[keyword function] [variable f]() {\",\n     \"  [[([variable x] [operator +] [number 1]) [keyword for] ([keyword var] [def x] [keyword in] [variable y]) [keyword if] [variable pred]([variable-2 x]) ]];\",\n     \"  ([variable u] [keyword for] ([keyword var] [def u] [keyword of] [variable generateValues]()) [keyword if] ([variable-2 u].[property color] [operator ===] [string 'blue']));\",\n     \"}\");\n\n  MT(\"quasi\",\n     \"[variable re][string-2 `fofdlakj${][variable x] [operator +] ([variable re][string-2 `foo`]) [operator +] [number 1][string-2 }fdsa`] [operator +] [number 2]\");\n\n  MT(\"quasi_no_function\",\n     \"[variable x] [operator =] [string-2 `fofdlakj${][variable x] [operator +] [string-2 `foo`] [operator +] [number 1][string-2 }fdsa`] [operator +] [number 2]\");\n\n  MT(\"indent_statement\",\n     \"[keyword var] [variable x] [operator =] [number 10]\",\n     \"[variable x] [operator +=] [variable y] [operator +]\",\n     \"  [atom Infinity]\",\n     \"[keyword debugger];\");\n\n  MT(\"indent_if\",\n     \"[keyword if] ([number 1])\",\n     \"  [keyword break];\",\n     \"[keyword else] [keyword if] ([number 2])\",\n     \"  [keyword continue];\",\n     \"[keyword else]\",\n     \"  [number 10];\",\n     \"[keyword if] ([number 1]) {\",\n     \"  [keyword break];\",\n     \"} [keyword else] [keyword if] ([number 2]) {\",\n     \"  [keyword continue];\",\n     \"} [keyword else] {\",\n     \"  [number 10];\",\n     \"}\");\n\n  MT(\"indent_for\",\n     \"[keyword for] ([keyword var] [variable i] [operator =] [number 0];\",\n     \"     [variable i] [operator <] [number 100];\",\n     \"     [variable i][operator ++])\",\n     \"  [variable doSomething]([variable i]);\",\n     \"[keyword debugger];\");\n\n  MT(\"indent_c_style\",\n     \"[keyword function] [variable foo]()\",\n     \"{\",\n     \"  [keyword debugger];\",\n     \"}\");\n\n  MT(\"indent_else\",\n     \"[keyword for] (;;)\",\n     \"  [keyword if] ([variable foo])\",\n     \"    [keyword if] ([variable bar])\",\n     \"      [number 1];\",\n     \"    [keyword else]\",\n     \"      [number 2];\",\n     \"  [keyword else]\",\n     \"    [number 3];\");\n\n  MT(\"indent_funarg\",\n     \"[variable foo]([number 10000],\",\n     \"    [keyword function]([def a]) {\",\n     \"  [keyword debugger];\",\n     \"};\");\n\n  MT(\"indent_below_if\",\n     \"[keyword for] (;;)\",\n     \"  [keyword if] ([variable foo])\",\n     \"    [number 1];\",\n     \"[number 2];\");\n\n  MT(\"multilinestring\",\n     \"[keyword var] [variable x] [operator =] [string 'foo\\\\]\",\n     \"[string bar'];\");\n\n  MT(\"scary_regexp\",\n     \"[string-2 /foo[[/]]bar/];\");\n\n  MT(\"indent_strange_array\",\n     \"[keyword var] [variable x] [operator =] [[\",\n     \"  [number 1],,\",\n     \"  [number 2],\",\n     \"]];\",\n     \"[number 10];\");\n\n  var jsonld_mode = CodeMirror.getMode(\n    {indentUnit: 2},\n    {name: \"javascript\", jsonld: true}\n  );\n  function LD(name) {\n    test.mode(name, jsonld_mode, Array.prototype.slice.call(arguments, 1));\n  }\n\n  LD(\"json_ld_keywords\",\n    '{',\n    '  [meta \"@context\"]: {',\n    '    [meta \"@base\"]: [string \"http://example.com\"],',\n    '    [meta \"@vocab\"]: [string \"http://xmlns.com/foaf/0.1/\"],',\n    '    [property \"likesFlavor\"]: {',\n    '      [meta \"@container\"]: [meta \"@list\"]',\n    '      [meta \"@reverse\"]: [string \"@beFavoriteOf\"]',\n    '    },',\n    '    [property \"nick\"]: { [meta \"@container\"]: [meta \"@set\"] },',\n    '    [property \"nick\"]: { [meta \"@container\"]: [meta \"@index\"] }',\n    '  },',\n    '  [meta \"@graph\"]: [[ {',\n    '    [meta \"@id\"]: [string \"http://dbpedia.org/resource/John_Lennon\"],',\n    '    [property \"name\"]: [string \"John Lennon\"],',\n    '    [property \"modified\"]: {',\n    '      [meta \"@value\"]: [string \"2010-05-29T14:17:39+02:00\"],',\n    '      [meta \"@type\"]: [string \"http://www.w3.org/2001/XMLSchema#dateTime\"]',\n    '    }',\n    '  } ]]',\n    '}');\n\n  LD(\"json_ld_fake\",\n    '{',\n    '  [property \"@fake\"]: [string \"@fake\"],',\n    '  [property \"@contextual\"]: [string \"@identifier\"],',\n    '  [property \"user@domain.com\"]: [string \"@graphical\"],',\n    '  [property \"@ID\"]: [string \"@@ID\"]',\n    '}');\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/javascript/typescript.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: TypeScript mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"javascript.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">TypeScript</a>\n  </ul>\n</div>\n\n<article>\n<h2>TypeScript mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\nclass Greeter {\n\tgreeting: string;\n\tconstructor (message: string) {\n\t\tthis.greeting = message;\n\t}\n\tgreet() {\n\t\treturn \"Hello, \" + this.greeting;\n\t}\n}   \n\nvar greeter = new Greeter(\"world\");\n\nvar button = document.createElement('button')\nbutton.innerText = \"Say Hello\"\nbutton.onclick = function() {\n\talert(greeter.greet())\n}\n\ndocument.body.appendChild(button)\n\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/typescript\"\n      });\n    </script>\n\n    <p>This is a specialization of the <a href=\"index.html\">JavaScript mode</a>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/jinja2/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Jinja2 mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"jinja2.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Jinja2</a>\n  </ul>\n</div>\n\n<article>\n<h2>Jinja2 mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n{# this is a comment #}\n{%- for item in li -%}\n  &lt;li&gt;{{ item.label }}&lt;/li&gt;\n{% endfor -%}\n{{ item.sand == true and item.keyword == false ? 1 : 0 }}\n{{ app.get(55, 1.2, true) }}\n{% if app.get(&#39;_route&#39;) == (&#39;_home&#39;) %}home{% endif %}\n{% if app.session.flashbag.has(&#39;message&#39;) %}\n  {% for message in app.session.flashbag.get(&#39;message&#39;) %}\n    {{ message.content }}\n  {% endfor %}\n{% endif %}\n{{ path(&#39;_home&#39;, {&#39;section&#39;: app.request.get(&#39;section&#39;)}) }}\n{{ path(&#39;_home&#39;, {\n    &#39;section&#39;: app.request.get(&#39;section&#39;),\n    &#39;boolean&#39;: true,\n    &#39;number&#39;: 55.33\n  })\n}}\n{% include (&#39;test.incl.html.twig&#39;) %}\n</textarea></form>\n    <script>\n      var editor =\n      CodeMirror.fromTextArea(document.getElementById(\"code\"), {mode:\n        {name: \"jinja2\", htmlMode: true}});\n    </script>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/jinja2/jinja2.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineMode(\"jinja2\", function() {\n    var keywords = [\"and\", \"as\", \"block\", \"endblock\", \"by\", \"cycle\", \"debug\", \"else\", \"elif\",\n      \"extends\", \"filter\", \"endfilter\", \"firstof\", \"for\",\n      \"endfor\", \"if\", \"endif\", \"ifchanged\", \"endifchanged\",\n      \"ifequal\", \"endifequal\", \"ifnotequal\",\n      \"endifnotequal\", \"in\", \"include\", \"load\", \"not\", \"now\", \"or\",\n      \"parsed\", \"regroup\", \"reversed\", \"spaceless\",\n      \"endspaceless\", \"ssi\", \"templatetag\", \"openblock\",\n      \"closeblock\", \"openvariable\", \"closevariable\",\n      \"openbrace\", \"closebrace\", \"opencomment\",\n      \"closecomment\", \"widthratio\", \"url\", \"with\", \"endwith\",\n      \"get_current_language\", \"trans\", \"endtrans\", \"noop\", \"blocktrans\",\n      \"endblocktrans\", \"get_available_languages\",\n      \"get_current_language_bidi\", \"plural\"],\n    operator = /^[+\\-*&%=<>!?|~^]/,\n    sign = /^[:\\[\\(\\{]/,\n    atom = [\"true\", \"false\"],\n    number = /^(\\d[+\\-\\*\\/])?\\d+(\\.\\d+)?/;\n\n    keywords = new RegExp(\"((\" + keywords.join(\")|(\") + \"))\\\\b\");\n    atom = new RegExp(\"((\" + atom.join(\")|(\") + \"))\\\\b\");\n\n    function tokenBase (stream, state) {\n      var ch = stream.peek();\n\n      //Comment\n      if (state.incomment) {\n        if(!stream.skipTo(\"#}\")) {\n          stream.skipToEnd();\n        } else {\n          stream.eatWhile(/\\#|}/);\n          state.incomment = false;\n        }\n        return \"comment\";\n      //Tag\n      } else if (state.intag) {\n        //After operator\n        if(state.operator) {\n          state.operator = false;\n          if(stream.match(atom)) {\n            return \"atom\";\n          }\n          if(stream.match(number)) {\n            return \"number\";\n          }\n        }\n        //After sign\n        if(state.sign) {\n          state.sign = false;\n          if(stream.match(atom)) {\n            return \"atom\";\n          }\n          if(stream.match(number)) {\n            return \"number\";\n          }\n        }\n\n        if(state.instring) {\n          if(ch == state.instring) {\n            state.instring = false;\n          }\n          stream.next();\n          return \"string\";\n        } else if(ch == \"'\" || ch == '\"') {\n          state.instring = ch;\n          stream.next();\n          return \"string\";\n        } else if(stream.match(state.intag + \"}\") || stream.eat(\"-\") && stream.match(state.intag + \"}\")) {\n          state.intag = false;\n          return \"tag\";\n        } else if(stream.match(operator)) {\n          state.operator = true;\n          return \"operator\";\n        } else if(stream.match(sign)) {\n          state.sign = true;\n        } else {\n          if(stream.eat(\" \") || stream.sol()) {\n            if(stream.match(keywords)) {\n              return \"keyword\";\n            }\n            if(stream.match(atom)) {\n              return \"atom\";\n            }\n            if(stream.match(number)) {\n              return \"number\";\n            }\n            if(stream.sol()) {\n              stream.next();\n            }\n          } else {\n            stream.next();\n          }\n\n        }\n        return \"variable\";\n      } else if (stream.eat(\"{\")) {\n        if (ch = stream.eat(\"#\")) {\n          state.incomment = true;\n          if(!stream.skipTo(\"#}\")) {\n            stream.skipToEnd();\n          } else {\n            stream.eatWhile(/\\#|}/);\n            state.incomment = false;\n          }\n          return \"comment\";\n        //Open tag\n        } else if (ch = stream.eat(/\\{|%/)) {\n          //Cache close tag\n          state.intag = ch;\n          if(ch == \"{\") {\n            state.intag = \"}\";\n          }\n          stream.eat(\"-\");\n          return \"tag\";\n        }\n      }\n      stream.next();\n    };\n\n    return {\n      startState: function () {\n        return {tokenize: tokenBase};\n      },\n      token: function (stream, state) {\n        return state.tokenize(stream, state);\n      }\n    };\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/julia/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Julia mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"julia.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Julia</a>\n  </ul>\n</div>\n\n<article>\n<h2>Julia mode</h2>\n\n    <div><textarea id=\"code\" name=\"code\">\n#numbers\n1234\n1234im\n.234\n.234im\n2.23im\n2.3f3\n23e2\n0x234\n\n#strings\n'a'\n\"asdf\"\nr\"regex\"\nb\"bytestring\"\n\n\"\"\"\nmultiline string\n\"\"\"\n\n#identifiers\na\nas123\nfunction_name!\n\n#unicode identifiers\n# a = x\\ddot\na⃗ = ẍ\n# a = v\\dot\na⃗ = v̇\n#F\\vec = m \\cdotp a\\vec\nF⃗ = m·a⃗\n\n#literal identifier multiples\n3x\n4[1, 2, 3]\n\n#dicts and indexing\nx=[1, 2, 3]\nx[end-1]\nx={\"julia\"=>\"language of technical computing\"}\n\n\n#exception handling\ntry\n  f()\ncatch\n  @printf \"Error\"\nfinally\n  g()\nend\n\n#types\nimmutable Color{T<:Number}\n  r::T\n  g::T\n  b::T\nend\n\n#functions\nfunction change!(x::Vector{Float64})\n  for i = 1:length(x)\n    x[i] *= 2\n  end\nend\n\n#function invocation\nf('b', (2, 3)...)\n\n#operators\n|=\n&=\n^=\n\\-\n%=\n*=\n+=\n-=\n<=\n>=\n!=\n==\n%\n*\n+\n-\n<\n>\n!\n=\n|\n&\n^\n\\\n?\n~\n:\n$\n<:\n.<\n.>\n<<\n<<=\n>>\n>>>>\n>>=\n>>>=\n<<=\n<<<=\n.<=\n.>=\n.==\n->\n//\nin\n...\n//\n:=\n.//=\n.*=\n./=\n.^=\n.%=\n.+=\n.-=\n\\=\n\\\\=\n||\n===\n&&\n|=\n.|=\n<:\n>:\n|>\n<|\n::\nx ? y : z\n\n#macros\n@spawnat 2 1+1\n@eval(:x)\n\n#keywords and operators\nif else elseif while for\n begin let end do\ntry catch finally return break continue\nglobal local const \nexport import importall using\nfunction macro module baremodule \ntype immutable quote\ntrue false enumerate\n\n\n    </textarea></div>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"julia\",\n               },\n        lineNumbers: true,\n        indentUnit: 4,\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-julia</code>.</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/julia/julia.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"julia\", function(_conf, parserConf) {\n  var ERRORCLASS = 'error';\n\n  function wordRegexp(words) {\n    return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\");\n  }\n\n  var operators = parserConf.operators || /^\\.?[|&^\\\\%*+\\-<>!=\\/]=?|\\?|~|:|\\$|\\.[<>]|<<=?|>>>?=?|\\.[<>=]=|->?|\\/\\/|\\bin\\b/;\n  var delimiters = parserConf.delimiters || /^[;,()[\\]{}]/;\n  var identifiers = parserConf.identifiers|| /^[_A-Za-z\\u00A1-\\uFFFF][_A-Za-z0-9\\u00A1-\\uFFFF]*!*/;\n  var blockOpeners = [\"begin\", \"function\", \"type\", \"immutable\", \"let\", \"macro\", \"for\", \"while\", \"quote\", \"if\", \"else\", \"elseif\", \"try\", \"finally\", \"catch\", \"do\"];\n  var blockClosers = [\"end\", \"else\", \"elseif\", \"catch\", \"finally\"];\n  var keywordList = ['if', 'else', 'elseif', 'while', 'for', 'begin', 'let', 'end', 'do', 'try', 'catch', 'finally', 'return', 'break', 'continue', 'global', 'local', 'const', 'export', 'import', 'importall', 'using', 'function', 'macro', 'module', 'baremodule', 'type', 'immutable', 'quote', 'typealias', 'abstract', 'bitstype', 'ccall'];\n  var builtinList = ['true', 'false', 'enumerate', 'open', 'close', 'nothing', 'NaN', 'Inf', 'print', 'println', 'Int', 'Int8', 'Uint8', 'Int16', 'Uint16', 'Int32', 'Uint32', 'Int64', 'Uint64', 'Int128', 'Uint128', 'Bool', 'Char', 'Float16', 'Float32', 'Float64', 'Array', 'Vector', 'Matrix', 'String', 'UTF8String', 'ASCIIString', 'error', 'warn', 'info', '@printf'];\n\n  //var stringPrefixes = new RegExp(\"^[br]?('|\\\")\")\n  var stringPrefixes = /^(`|'|\"{3}|([br]?\"))/;\n  var keywords = wordRegexp(keywordList);\n  var builtins = wordRegexp(builtinList);\n  var openers = wordRegexp(blockOpeners);\n  var closers = wordRegexp(blockClosers);\n  var macro = /^@[_A-Za-z][_A-Za-z0-9]*/;\n  var symbol = /^:[_A-Za-z][_A-Za-z0-9]*/;\n  var indentInfo = null;\n\n  function in_array(state) {\n    var ch = cur_scope(state);\n    if(ch==\"[\" || ch==\"{\") {\n      return true;\n    }\n    else {\n      return false;\n    }\n  }\n\n  function cur_scope(state) {\n    if(state.scopes.length==0) {\n      return null;\n    }\n    return state.scopes[state.scopes.length - 1];\n  }\n\n  // tokenizers\n  function tokenBase(stream, state) {\n    // Handle scope changes\n    var leaving_expr = state.leaving_expr;\n    if(stream.sol()) {\n      leaving_expr = false;\n    }\n    state.leaving_expr = false;\n    if(leaving_expr) {\n      if(stream.match(/^'+/)) {\n        return 'operator';\n      }\n\n    }\n\n    if(stream.match(/^\\.{2,3}/)) {\n      return 'operator';\n    }\n\n    if (stream.eatSpace()) {\n      return null;\n    }\n\n    var ch = stream.peek();\n    // Handle Comments\n    if (ch === '#') {\n        stream.skipToEnd();\n        return 'comment';\n    }\n    if(ch==='[') {\n      state.scopes.push(\"[\");\n    }\n\n    if(ch==='{') {\n      state.scopes.push(\"{\");\n    }\n\n    var scope=cur_scope(state);\n\n    if(scope==='[' && ch===']') {\n      state.scopes.pop();\n      state.leaving_expr=true;\n    }\n\n    if(scope==='{' && ch==='}') {\n      state.scopes.pop();\n      state.leaving_expr=true;\n    }\n\n    if(ch===')') {\n      state.leaving_expr = true;\n    }\n\n    var match;\n    if(!in_array(state) && (match=stream.match(openers, false))) {\n      state.scopes.push(match);\n    }\n\n    if(!in_array(state) && stream.match(closers, false)) {\n      state.scopes.pop();\n    }\n\n    if(in_array(state)) {\n      if(stream.match(/^end/)) {\n        return 'number';\n      }\n\n    }\n\n    if(stream.match(/^=>/)) {\n      return 'operator';\n    }\n\n\n    // Handle Number Literals\n    if (stream.match(/^[0-9\\.]/, false)) {\n      var imMatcher = RegExp(/^im\\b/);\n      var floatLiteral = false;\n      // Floats\n      if (stream.match(/^\\d*\\.(?!\\.)\\d+([ef][\\+\\-]?\\d+)?/i)) { floatLiteral = true; }\n      if (stream.match(/^\\d+\\.(?!\\.)\\d*/)) { floatLiteral = true; }\n      if (stream.match(/^\\.\\d+/)) { floatLiteral = true; }\n      if (floatLiteral) {\n          // Float literals may be \"imaginary\"\n          stream.match(imMatcher);\n          state.leaving_expr = true;\n          return 'number';\n      }\n      // Integers\n      var intLiteral = false;\n      // Hex\n      if (stream.match(/^0x[0-9a-f]+/i)) { intLiteral = true; }\n      // Binary\n      if (stream.match(/^0b[01]+/i)) { intLiteral = true; }\n      // Octal\n      if (stream.match(/^0o[0-7]+/i)) { intLiteral = true; }\n      // Decimal\n      if (stream.match(/^[1-9]\\d*(e[\\+\\-]?\\d+)?/)) {\n          intLiteral = true;\n      }\n      // Zero by itself with no other piece of number.\n      if (stream.match(/^0(?![\\dx])/i)) { intLiteral = true; }\n      if (intLiteral) {\n          // Integer literals may be \"long\"\n          stream.match(imMatcher);\n          state.leaving_expr = true;\n          return 'number';\n      }\n    }\n\n    if(stream.match(/^(::)|(<:)/)) {\n      return 'operator';\n    }\n\n    // Handle symbols\n    if(!leaving_expr && stream.match(symbol)) {\n      return 'string';\n    }\n\n    // Handle operators and Delimiters\n    if (stream.match(operators)) {\n      return 'operator';\n    }\n\n\n    // Handle Strings\n    if (stream.match(stringPrefixes)) {\n      state.tokenize = tokenStringFactory(stream.current());\n      return state.tokenize(stream, state);\n    }\n\n    if (stream.match(macro)) {\n      return 'meta';\n    }\n\n\n    if (stream.match(delimiters)) {\n      return null;\n    }\n\n    if (stream.match(keywords)) {\n      return 'keyword';\n    }\n\n    if (stream.match(builtins)) {\n      return 'builtin';\n    }\n\n\n    if (stream.match(identifiers)) {\n      state.leaving_expr=true;\n      return 'variable';\n    }\n    // Handle non-detected items\n    stream.next();\n    return ERRORCLASS;\n  }\n\n  function tokenStringFactory(delimiter) {\n    while ('rub'.indexOf(delimiter.charAt(0).toLowerCase()) >= 0) {\n      delimiter = delimiter.substr(1);\n    }\n    var singleline = delimiter.length == 1;\n    var OUTCLASS = 'string';\n\n    function tokenString(stream, state) {\n      while (!stream.eol()) {\n        stream.eatWhile(/[^'\"\\\\]/);\n        if (stream.eat('\\\\')) {\n            stream.next();\n            if (singleline && stream.eol()) {\n              return OUTCLASS;\n            }\n        } else if (stream.match(delimiter)) {\n            state.tokenize = tokenBase;\n            return OUTCLASS;\n        } else {\n            stream.eat(/['\"]/);\n        }\n      }\n      if (singleline) {\n        if (parserConf.singleLineStringErrors) {\n            return ERRORCLASS;\n        } else {\n            state.tokenize = tokenBase;\n        }\n      }\n      return OUTCLASS;\n    }\n    tokenString.isString = true;\n    return tokenString;\n  }\n\n  function tokenLexer(stream, state) {\n    indentInfo = null;\n    var style = state.tokenize(stream, state);\n    var current = stream.current();\n\n    // Handle '.' connected identifiers\n    if (current === '.') {\n      style = stream.match(identifiers, false) ? null : ERRORCLASS;\n      if (style === null && state.lastStyle === 'meta') {\n          // Apply 'meta' style to '.' connected identifiers when\n          // appropriate.\n        style = 'meta';\n      }\n      return style;\n    }\n\n    return style;\n  }\n\n  var external = {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        scopes: [],\n        leaving_expr: false\n      };\n    },\n\n    token: function(stream, state) {\n      var style = tokenLexer(stream, state);\n      state.lastStyle = style;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var delta = 0;\n      if(textAfter==\"end\" || textAfter==\"]\" || textAfter==\"}\" || textAfter==\"else\" || textAfter==\"elseif\" || textAfter==\"catch\" || textAfter==\"finally\") {\n        delta = -1;\n      }\n      return (state.scopes.length + delta) * 4;\n    },\n\n    lineComment: \"#\",\n    fold: \"indent\",\n    electricChars: \"edlsifyh]}\"\n  };\n  return external;\n});\n\n\nCodeMirror.defineMIME(\"text/x-julia\", \"julia\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/kotlin/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Kotlin mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"kotlin.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Kotlin</a>\n  </ul>\n</div>\n\n<article>\n<h2>Kotlin mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\npackage org.wasabi.http\n\nimport java.util.concurrent.Executors\nimport java.net.InetSocketAddress\nimport org.wasabi.app.AppConfiguration\nimport io.netty.bootstrap.ServerBootstrap\nimport io.netty.channel.nio.NioEventLoopGroup\nimport io.netty.channel.socket.nio.NioServerSocketChannel\nimport org.wasabi.app.AppServer\n\npublic class HttpServer(private val appServer: AppServer) {\n\n    val bootstrap: ServerBootstrap\n    val primaryGroup: NioEventLoopGroup\n    val workerGroup:  NioEventLoopGroup\n\n    {\n        // Define worker groups\n        primaryGroup = NioEventLoopGroup()\n        workerGroup = NioEventLoopGroup()\n\n        // Initialize bootstrap of server\n        bootstrap = ServerBootstrap()\n\n        bootstrap.group(primaryGroup, workerGroup)\n        bootstrap.channel(javaClass<NioServerSocketChannel>())\n        bootstrap.childHandler(NettyPipelineInitializer(appServer))\n    }\n\n    public fun start(wait: Boolean = true) {\n        val channel = bootstrap.bind(appServer.configuration.port)?.sync()?.channel()\n\n        if (wait) {\n            channel?.closeFuture()?.sync()\n        }\n    }\n\n    public fun stop() {\n        // Shutdown all event loops\n        primaryGroup.shutdownGracefully()\n        workerGroup.shutdownGracefully()\n\n        // Wait till all threads are terminated\n        primaryGroup.terminationFuture().sync()\n        workerGroup.terminationFuture().sync()\n    }\n}\n</textarea></div>\n\n    <script>\n        var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n            mode: {name: \"kotlin\"},\n            lineNumbers: true,\n            indentUnit: 4\n        });\n    </script>\n    <h3>Mode for Kotlin (http://kotlin.jetbrains.org/)</h3>\n    <p>Developed by Hadi Hariri (https://github.com/hhariri).</p>\n    <p><strong>MIME type defined:</strong> <code>text/x-kotlin</code>.</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/kotlin/kotlin.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"kotlin\", function (config, parserConfig) {\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  var multiLineStrings = parserConfig.multiLineStrings;\n\n  var keywords = words(\n          \"package continue return object while break class data trait throw super\" +\n          \" when type this else This try val var fun for is in if do as true false null get set\");\n  var softKeywords = words(\"import\" +\n      \" where by get set abstract enum open annotation override private public internal\" +\n      \" protected catch out vararg inline finally final ref\");\n  var blockKeywords = words(\"catch class do else finally for if where try while enum\");\n  var atoms = words(\"null true false this\");\n\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"' || ch == \"'\") {\n      return startString(ch, stream, state);\n    }\n    // Wildcard import w/o trailing semicolon (import smth.*)\n    if (ch == \".\" && stream.eat(\"*\")) {\n      return \"word\";\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      if (stream.eat(/eE/)) {\n        stream.eat(/\\+\\-/);\n        stream.eatWhile(/\\d/);\n      }\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize.push(tokenComment);\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      if (expectExpression(state.lastToken)) {\n        return startString(ch, stream, state);\n      }\n    }\n    // Commented\n    if (ch == \"-\" && stream.eat(\">\")) {\n      curPunc = \"->\";\n      return null;\n    }\n    if (/[\\-+*&%=<>!?|\\/~]/.test(ch)) {\n      stream.eatWhile(/[\\-+*&%=<>|~]/);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n\n    var cur = stream.current();\n    if (atoms.propertyIsEnumerable(cur)) {\n      return \"atom\";\n    }\n    if (softKeywords.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"softKeyword\";\n    }\n\n    if (keywords.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"keyword\";\n    }\n    return \"word\";\n  }\n\n  tokenBase.isBase = true;\n\n  function startString(quote, stream, state) {\n    var tripleQuoted = false;\n    if (quote != \"/\" && stream.eat(quote)) {\n      if (stream.eat(quote)) tripleQuoted = true;\n      else return \"string\";\n    }\n    function t(stream, state) {\n      var escaped = false, next, end = !tripleQuoted;\n\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {\n          if (!tripleQuoted) {\n            break;\n          }\n          if (stream.match(quote + quote)) {\n            end = true;\n            break;\n          }\n        }\n\n        if (quote == '\"' && next == \"$\" && !escaped && stream.eat(\"{\")) {\n          state.tokenize.push(tokenBaseUntilBrace());\n          return \"string\";\n        }\n\n        if (next == \"$\" && !escaped && !stream.eat(\" \")) {\n          state.tokenize.push(tokenBaseUntilSpace());\n          return \"string\";\n        }\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (multiLineStrings)\n        state.tokenize.push(t);\n      if (end) state.tokenize.pop();\n      return \"string\";\n    }\n\n    state.tokenize.push(t);\n    return t(stream, state);\n  }\n\n  function tokenBaseUntilBrace() {\n    var depth = 1;\n\n    function t(stream, state) {\n      if (stream.peek() == \"}\") {\n        depth--;\n        if (depth == 0) {\n          state.tokenize.pop();\n          return state.tokenize[state.tokenize.length - 1](stream, state);\n        }\n      } else if (stream.peek() == \"{\") {\n        depth++;\n      }\n      return tokenBase(stream, state);\n    }\n\n    t.isBase = true;\n    return t;\n  }\n\n  function tokenBaseUntilSpace() {\n    function t(stream, state) {\n      if (stream.eat(/[\\w]/)) {\n        var isWord = stream.eatWhile(/[\\w]/);\n        if (isWord) {\n          state.tokenize.pop();\n          return \"word\";\n        }\n      }\n      state.tokenize.pop();\n      return \"string\";\n    }\n\n    t.isBase = true;\n    return t;\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize.pop();\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function expectExpression(last) {\n    return !last || last == \"operator\" || last == \"->\" || /[\\.\\[\\{\\(,;:]/.test(last) ||\n        last == \"newstatement\" || last == \"keyword\" || last == \"proplabel\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n\n  function pushContext(state, col, type) {\n    return state.context = new Context(state.indented, col, type, null, state.context);\n  }\n\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function (basecolumn) {\n      return {\n        tokenize: [tokenBase],\n        context: new Context((basecolumn || 0) - config.indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true,\n        lastToken: null\n      };\n    },\n\n    token: function (stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n        // Automatic semicolon insertion\n        if (ctx.type == \"statement\" && !expectExpression(state.lastToken)) {\n          popContext(state);\n          ctx = state.context;\n        }\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = state.tokenize[state.tokenize.length - 1](stream, state);\n      if (style == \"comment\") return style;\n      if (ctx.align == null) ctx.align = true;\n      if ((curPunc == \";\" || curPunc == \":\") && ctx.type == \"statement\") popContext(state);\n      // Handle indentation for {x -> \\n ... }\n      else if (curPunc == \"->\" && ctx.type == \"statement\" && ctx.prev.type == \"}\") {\n        popContext(state);\n        state.context.align = false;\n      }\n      else if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"}\") {\n        while (ctx.type == \"statement\") ctx = popContext(state);\n        if (ctx.type == \"}\") ctx = popContext(state);\n        while (ctx.type == \"statement\") ctx = popContext(state);\n      }\n      else if (curPunc == ctx.type) popContext(state);\n      else if (ctx.type == \"}\" || ctx.type == \"top\" || (ctx.type == \"statement\" && curPunc == \"newstatement\"))\n        pushContext(state, stream.column(), \"statement\");\n      state.startOfLine = false;\n      state.lastToken = curPunc || style;\n      return style;\n    },\n\n    indent: function (state, textAfter) {\n      if (!state.tokenize[state.tokenize.length - 1].isBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), ctx = state.context;\n      if (ctx.type == \"statement\" && !expectExpression(state.lastToken)) ctx = ctx.prev;\n      var closing = firstChar == ctx.type;\n      if (ctx.type == \"statement\") {\n        return ctx.indented + (firstChar == \"{\" ? 0 : config.indentUnit);\n      }\n      else if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indented + (closing ? 0 : config.indentUnit);\n    },\n\n    electricChars: \"{}\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-kotlin\", \"kotlin\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/livescript/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: LiveScript mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/solarized.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"livescript.js\"></script>\n<style>.CodeMirror {font-size: 80%;border-top: 1px solid silver; border-bottom: 1px solid silver;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">LiveScript</a>\n  </ul>\n</div>\n\n<article>\n<h2>LiveScript mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# LiveScript mode for CodeMirror\n# The following script, prelude.ls, is used to\n# demonstrate LiveScript mode for CodeMirror.\n#   https://github.com/gkz/prelude-ls\n\nexport objToFunc = objToFunc = (obj) ->\n  (key) -> obj[key]\n\nexport each = (f, xs) -->\n  if typeof! xs is \\Object\n    for , x of xs then f x\n  else\n    for x in xs then f x\n  xs\n\nexport map = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  type = typeof! xs\n  if type is \\Object\n    {[key, f x] for key, x of xs}\n  else\n    result = [f x for x in xs]\n    if type is \\String then result * '' else result\n\nexport filter = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  type = typeof! xs\n  if type is \\Object\n    {[key, x] for key, x of xs when f x}\n  else\n    result = [x for x in xs when f x]\n    if type is \\String then result * '' else result\n\nexport reject = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  type = typeof! xs\n  if type is \\Object\n    {[key, x] for key, x of xs when not f x}\n  else\n    result = [x for x in xs when not f x]\n    if type is \\String then result * '' else result\n\nexport partition = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  type = typeof! xs\n  if type is \\Object\n    passed = {}\n    failed = {}\n    for key, x of xs\n      (if f x then passed else failed)[key] = x\n  else\n    passed = []\n    failed = []\n    for x in xs\n      (if f x then passed else failed)push x\n    if type is \\String\n      passed *= ''\n      failed *= ''\n  [passed, failed]\n\nexport find = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  if typeof! xs is \\Object\n    for , x of xs when f x then return x\n  else\n    for x in xs when f x then return x\n  void\n\nexport head = export first = (xs) ->\n  return void if not xs.length\n  xs.0\n\nexport tail = (xs) ->\n  return void if not xs.length\n  xs.slice 1\n\nexport last = (xs) ->\n  return void if not xs.length\n  xs[*-1]\n\nexport initial = (xs) ->\n  return void if not xs.length\n  xs.slice 0 xs.length - 1\n\nexport empty = (xs) ->\n  if typeof! xs is \\Object\n    for x of xs then return false\n    return yes\n  not xs.length\n\nexport values = (obj) ->\n  [x for , x of obj]\n\nexport keys = (obj) ->\n  [x for x of obj]\n\nexport len = (xs) ->\n  xs = values xs if typeof! xs is \\Object\n  xs.length\n\nexport cons = (x, xs) -->\n  if typeof! xs is \\String then x + xs else [x] ++ xs\n\nexport append = (xs, ys) -->\n  if typeof! ys is \\String then xs + ys else xs ++ ys\n\nexport join = (sep, xs) -->\n  xs = values xs if typeof! xs is \\Object\n  xs.join sep\n\nexport reverse = (xs) ->\n  if typeof! xs is \\String\n  then (xs / '')reverse! * ''\n  else xs.slice!reverse!\n\nexport fold = export foldl = (f, memo, xs) -->\n  if typeof! xs is \\Object\n    for , x of xs then memo = f memo, x\n  else\n    for x in xs then memo = f memo, x\n  memo\n\nexport fold1 = export foldl1 = (f, xs) --> fold f, xs.0, xs.slice 1\n\nexport foldr = (f, memo, xs) --> fold f, memo, xs.slice!reverse!\n\nexport foldr1 = (f, xs) -->\n  xs.=slice!reverse!\n  fold f, xs.0, xs.slice 1\n\nexport unfoldr = export unfold = (f, b) -->\n  if (f b)?\n    [that.0] ++ unfoldr f, that.1\n  else\n    []\n\nexport andList = (xs) ->\n  for x in xs when not x\n    return false\n  true\n\nexport orList = (xs) ->\n  for x in xs when x\n    return true\n  false\n\nexport any = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  for x in xs when f x\n    return yes\n  no\n\nexport all = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  for x in xs when not f x\n    return no\n  yes\n\nexport unique = (xs) ->\n  result = []\n  if typeof! xs is \\Object\n    for , x of xs when x not in result then result.push x\n  else\n    for x   in xs when x not in result then result.push x\n  if typeof! xs is \\String then result * '' else result\n\nexport sort = (xs) ->\n  xs.concat!sort (x, y) ->\n    | x > y =>  1\n    | x < y => -1\n    | _     =>  0\n\nexport sortBy = (f, xs) -->\n  return [] unless xs.length\n  xs.concat!sort f\n\nexport compare = (f, x, y) -->\n  | (f x) > (f y) =>  1\n  | (f x) < (f y) => -1\n  | otherwise     =>  0\n\nexport sum = (xs) ->\n  result = 0\n  if typeof! xs is \\Object\n    for , x of xs then result += x\n  else\n    for x   in xs then result += x\n  result\n\nexport product = (xs) ->\n  result = 1\n  if typeof! xs is \\Object\n    for , x of xs then result *= x\n  else\n    for x   in xs then result *= x\n  result\n\nexport mean = export average = (xs) -> (sum xs) / len xs\n\nexport concat = (xss) -> fold append, [], xss\n\nexport concatMap = (f, xs) --> fold ((memo, x) -> append memo, f x), [], xs\n\nexport listToObj = (xs) ->\n  {[x.0, x.1] for x in xs}\n\nexport maximum = (xs) -> fold1 (>?), xs\n\nexport minimum = (xs) -> fold1 (<?), xs\n\nexport scan = export scanl = (f, memo, xs) -->\n  last = memo\n  if typeof! xs is \\Object\n  then [memo] ++ [last = f last, x for , x of xs]\n  else [memo] ++ [last = f last, x for x in xs]\n\nexport scan1 = export scanl1 = (f, xs) --> scan f, xs.0, xs.slice 1\n\nexport scanr = (f, memo, xs) -->\n  xs.=slice!reverse!\n  scan f, memo, xs .reverse!\n\nexport scanr1 = (f, xs) -->\n  xs.=slice!reverse!\n  scan f, xs.0, xs.slice 1 .reverse!\n\nexport replicate = (n, x) -->\n  result = []\n  i = 0\n  while i < n, ++i then result.push x\n  result\n\nexport take = (n, xs) -->\n  | n <= 0\n    if typeof! xs is \\String then '' else []\n  | not xs.length => xs\n  | otherwise     => xs.slice 0, n\n\nexport drop = (n, xs) -->\n  | n <= 0        => xs\n  | not xs.length => xs\n  | otherwise     => xs.slice n\n\nexport splitAt = (n, xs) --> [(take n, xs), (drop n, xs)]\n\nexport takeWhile = (p, xs) -->\n  return xs if not xs.length\n  p = objToFunc p if typeof! p isnt \\Function\n  result = []\n  for x in xs\n    break if not p x\n    result.push x\n  if typeof! xs is \\String then result * '' else result\n\nexport dropWhile = (p, xs) -->\n  return xs if not xs.length\n  p = objToFunc p if typeof! p isnt \\Function\n  i = 0\n  for x in xs\n    break if not p x\n    ++i\n  drop i, xs\n\nexport span = (p, xs) --> [(takeWhile p, xs), (dropWhile p, xs)]\n\nexport breakIt = (p, xs) --> span (not) << p, xs\n\nexport zip = (xs, ys) -->\n  result = []\n  for zs, i in [xs, ys]\n    for z, j in zs\n      result.push [] if i is 0\n      result[j]?push z\n  result\n\nexport zipWith = (f,xs, ys) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  if not xs.length or not ys.length\n    []\n  else\n    [f.apply this, zs for zs in zip.call this, xs, ys]\n\nexport zipAll = (...xss) ->\n  result = []\n  for xs, i in xss\n    for x, j in xs\n      result.push [] if i is 0\n      result[j]?push x\n  result\n\nexport zipAllWith = (f, ...xss) ->\n  f = objToFunc f if typeof! f isnt \\Function\n  if not xss.0.length or not xss.1.length\n    []\n  else\n    [f.apply this, xs for xs in zipAll.apply this, xss]\n\nexport compose = (...funcs) ->\n  ->\n    args = arguments\n    for f in funcs\n      args = [f.apply this, args]\n    args.0\n\nexport curry = (f) ->\n  curry$ f # using util method curry$ from livescript\n\nexport id = (x) -> x\n\nexport flip = (f, x, y) --> f y, x\n\nexport fix = (f) ->\n  ( (g, x) -> -> f(g g) ...arguments ) do\n    (g, x) -> -> f(g g) ...arguments\n\nexport lines = (str) ->\n  return [] if not str.length\n  str / \\\\n\n\nexport unlines = (strs) -> strs * \\\\n\n\nexport words = (str) ->\n  return [] if not str.length\n  str / /[ ]+/\n\nexport unwords = (strs) -> strs * ' '\n\nexport max = (>?)\n\nexport min = (<?)\n\nexport negate = (x) -> -x\n\nexport abs = Math.abs\n\nexport signum = (x) ->\n  | x < 0     => -1\n  | x > 0     =>  1\n  | otherwise =>  0\n\nexport quot = (x, y) --> ~~(x / y)\n\nexport rem = (%)\n\nexport div = (x, y) --> Math.floor x / y\n\nexport mod = (%%)\n\nexport recip = (1 /)\n\nexport pi = Math.PI\n\nexport tau = pi * 2\n\nexport exp = Math.exp\n\nexport sqrt = Math.sqrt\n\n# changed from log as log is a\n# common function for logging things\nexport ln = Math.log\n\nexport pow = (^)\n\nexport sin = Math.sin\n\nexport tan = Math.tan\n\nexport cos = Math.cos\n\nexport asin = Math.asin\n\nexport acos = Math.acos\n\nexport atan = Math.atan\n\nexport atan2 = (x, y) --> Math.atan2 x, y\n\n# sinh\n# tanh\n# cosh\n# asinh\n# atanh\n# acosh\n\nexport truncate = (x) -> ~~x\n\nexport round = Math.round\n\nexport ceiling = Math.ceil\n\nexport floor = Math.floor\n\nexport isItNaN = (x) -> x isnt x\n\nexport even = (x) -> x % 2 == 0\n\nexport odd = (x) -> x % 2 != 0\n\nexport gcd = (x, y) -->\n  x = Math.abs x\n  y = Math.abs y\n  until y is 0\n    z = x % y\n    x = y\n    y = z\n  x\n\nexport lcm = (x, y) -->\n  Math.abs Math.floor (x / (gcd x, y) * y)\n\n# meta\nexport installPrelude = !(target) ->\n  unless target.prelude?isInstalled\n    target <<< out$ # using out$ generated by livescript\n    target <<< target.prelude.isInstalled = true\n\nexport prelude = out$\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        theme: \"solarized light\",\n        lineNumbers: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-livescript</code>.</p>\n\n    <p>The LiveScript mode was written by Kenneth Bentley.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/livescript/livescript.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/**\n * Link to the project's GitHub page:\n * https://github.com/duralog/CodeMirror\n */\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineMode('livescript', function(){\n    var tokenBase = function(stream, state) {\n      var next_rule = state.next || \"start\";\n      if (next_rule) {\n        state.next = state.next;\n        var nr = Rules[next_rule];\n        if (nr.splice) {\n          for (var i$ = 0; i$ < nr.length; ++i$) {\n            var r = nr[i$], m;\n            if (r.regex && (m = stream.match(r.regex))) {\n              state.next = r.next || state.next;\n              return r.token;\n            }\n          }\n          stream.next();\n          return 'error';\n        }\n        if (stream.match(r = Rules[next_rule])) {\n          if (r.regex && stream.match(r.regex)) {\n            state.next = r.next;\n            return r.token;\n          } else {\n            stream.next();\n            return 'error';\n          }\n        }\n      }\n      stream.next();\n      return 'error';\n    };\n    var external = {\n      startState: function(){\n        return {\n          next: 'start',\n          lastToken: null\n        };\n      },\n      token: function(stream, state){\n        while (stream.pos == stream.start)\n          var style = tokenBase(stream, state);\n        state.lastToken = {\n          style: style,\n          indent: stream.indentation(),\n          content: stream.current()\n        };\n        return style.replace(/\\./g, ' ');\n      },\n      indent: function(state){\n        var indentation = state.lastToken.indent;\n        if (state.lastToken.content.match(indenter)) {\n          indentation += 2;\n        }\n        return indentation;\n      }\n    };\n    return external;\n  });\n\n  var identifier = '(?![\\\\d\\\\s])[$\\\\w\\\\xAA-\\\\uFFDC](?:(?!\\\\s)[$\\\\w\\\\xAA-\\\\uFFDC]|-[A-Za-z])*';\n  var indenter = RegExp('(?:[({[=:]|[-~]>|\\\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\\\s*all)?|const|var|let|new|catch(?:\\\\s*' + identifier + ')?))\\\\s*$');\n  var keywordend = '(?![$\\\\w]|-[A-Za-z]|\\\\s*:(?![:=]))';\n  var stringfill = {\n    token: 'string',\n    regex: '.+'\n  };\n  var Rules = {\n    start: [\n      {\n        token: 'comment.doc',\n        regex: '/\\\\*',\n        next: 'comment'\n      }, {\n        token: 'comment',\n        regex: '#.*'\n      }, {\n        token: 'keyword',\n        regex: '(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)' + keywordend\n      }, {\n        token: 'constant.language',\n        regex: '(?:true|false|yes|no|on|off|null|void|undefined)' + keywordend\n      }, {\n        token: 'invalid.illegal',\n        regex: '(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)' + keywordend\n      }, {\n        token: 'language.support.class',\n        regex: '(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)' + keywordend\n      }, {\n        token: 'language.support.function',\n        regex: '(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)' + keywordend\n      }, {\n        token: 'variable.language',\n        regex: '(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)' + keywordend\n      }, {\n        token: 'identifier',\n        regex: identifier + '\\\\s*:(?![:=])'\n      }, {\n        token: 'variable',\n        regex: identifier\n      }, {\n        token: 'keyword.operator',\n        regex: '(?:\\\\.{3}|\\\\s+\\\\?)'\n      }, {\n        token: 'keyword.variable',\n        regex: '(?:@+|::|\\\\.\\\\.)',\n        next: 'key'\n      }, {\n        token: 'keyword.operator',\n        regex: '\\\\.\\\\s*',\n        next: 'key'\n      }, {\n        token: 'string',\n        regex: '\\\\\\\\\\\\S[^\\\\s,;)}\\\\]]*'\n      }, {\n        token: 'string.doc',\n        regex: '\\'\\'\\'',\n        next: 'qdoc'\n      }, {\n        token: 'string.doc',\n        regex: '\"\"\"',\n        next: 'qqdoc'\n      }, {\n        token: 'string',\n        regex: '\\'',\n        next: 'qstring'\n      }, {\n        token: 'string',\n        regex: '\"',\n        next: 'qqstring'\n      }, {\n        token: 'string',\n        regex: '`',\n        next: 'js'\n      }, {\n        token: 'string',\n        regex: '<\\\\[',\n        next: 'words'\n      }, {\n        token: 'string.regex',\n        regex: '//',\n        next: 'heregex'\n      }, {\n        token: 'string.regex',\n        regex: '\\\\/(?:[^[\\\\/\\\\n\\\\\\\\]*(?:(?:\\\\\\\\.|\\\\[[^\\\\]\\\\n\\\\\\\\]*(?:\\\\\\\\.[^\\\\]\\\\n\\\\\\\\]*)*\\\\])[^[\\\\/\\\\n\\\\\\\\]*)*)\\\\/[gimy$]{0,4}',\n        next: 'key'\n      }, {\n        token: 'constant.numeric',\n        regex: '(?:0x[\\\\da-fA-F][\\\\da-fA-F_]*|(?:[2-9]|[12]\\\\d|3[0-6])r[\\\\da-zA-Z][\\\\da-zA-Z_]*|(?:\\\\d[\\\\d_]*(?:\\\\.\\\\d[\\\\d_]*)?|\\\\.\\\\d[\\\\d_]*)(?:e[+-]?\\\\d[\\\\d_]*)?[\\\\w$]*)'\n      }, {\n        token: 'lparen',\n        regex: '[({[]'\n      }, {\n        token: 'rparen',\n        regex: '[)}\\\\]]',\n        next: 'key'\n      }, {\n        token: 'keyword.operator',\n        regex: '\\\\S+'\n      }, {\n        token: 'text',\n        regex: '\\\\s+'\n      }\n    ],\n    heregex: [\n      {\n        token: 'string.regex',\n        regex: '.*?//[gimy$?]{0,4}',\n        next: 'start'\n      }, {\n        token: 'string.regex',\n        regex: '\\\\s*#{'\n      }, {\n        token: 'comment.regex',\n        regex: '\\\\s+(?:#.*)?'\n      }, {\n        token: 'string.regex',\n        regex: '\\\\S+'\n      }\n    ],\n    key: [\n      {\n        token: 'keyword.operator',\n        regex: '[.?@!]+'\n      }, {\n        token: 'identifier',\n        regex: identifier,\n        next: 'start'\n      }, {\n        token: 'text',\n        regex: '',\n        next: 'start'\n      }\n    ],\n    comment: [\n      {\n        token: 'comment.doc',\n        regex: '.*?\\\\*/',\n        next: 'start'\n      }, {\n        token: 'comment.doc',\n        regex: '.+'\n      }\n    ],\n    qdoc: [\n      {\n        token: 'string',\n        regex: \".*?'''\",\n        next: 'key'\n      }, stringfill\n    ],\n    qqdoc: [\n      {\n        token: 'string',\n        regex: '.*?\"\"\"',\n        next: 'key'\n      }, stringfill\n    ],\n    qstring: [\n      {\n        token: 'string',\n        regex: '[^\\\\\\\\\\']*(?:\\\\\\\\.[^\\\\\\\\\\']*)*\\'',\n        next: 'key'\n      }, stringfill\n    ],\n    qqstring: [\n      {\n        token: 'string',\n        regex: '[^\\\\\\\\\"]*(?:\\\\\\\\.[^\\\\\\\\\"]*)*\"',\n        next: 'key'\n      }, stringfill\n    ],\n    js: [\n      {\n        token: 'string',\n        regex: '[^\\\\\\\\`]*(?:\\\\\\\\.[^\\\\\\\\`]*)*`',\n        next: 'key'\n      }, stringfill\n    ],\n    words: [\n      {\n        token: 'string',\n        regex: '.*?\\\\]>',\n        next: 'key'\n      }, stringfill\n    ]\n  };\n  for (var idx in Rules) {\n    var r = Rules[idx];\n    if (r.splice) {\n      for (var i = 0, len = r.length; i < len; ++i) {\n        var rr = r[i];\n        if (typeof rr.regex === 'string') {\n          Rules[idx][i].regex = new RegExp('^' + rr.regex);\n        }\n      }\n    } else if (typeof rr.regex === 'string') {\n      Rules[idx].regex = new RegExp('^' + r.regex);\n    }\n  }\n\n  CodeMirror.defineMIME('text/x-livescript', 'livescript');\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/lua/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Lua mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/neat.css\">\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"lua.js\"></script>\n<style>.CodeMirror {border: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Lua</a>\n  </ul>\n</div>\n\n<article>\n<h2>Lua mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n--[[\nexample useless code to show lua syntax highlighting\nthis is multiline comment\n]]\n\nfunction blahblahblah(x)\n\n  local table = {\n    \"asd\" = 123,\n    \"x\" = 0.34,  \n  }\n  if x ~= 3 then\n    print( x )\n  elseif x == \"string\"\n    my_custom_function( 0x34 )\n  else\n    unknown_function( \"some string\" )\n  end\n\n  --single line comment\n  \nend\n\nfunction blablabla3()\n\n  for k,v in ipairs( table ) do\n    --abcde..\n    y=[=[\n  x=[[\n      x is a multi line string\n   ]]\n  but its definition is iside a highest level string!\n  ]=]\n    print(\" \\\"\\\" \")\n\n    s = math.sin( x )\n  end\n\nend\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        matchBrackets: true,\n        theme: \"neat\"\n      });\n    </script>\n\n    <p>Loosely based on Franciszek\n    Wawrzak's <a href=\"http://codemirror.net/1/contrib/lua\">CodeMirror\n    1 mode</a>. One configuration parameter is\n    supported, <code>specials</code>, to which you can provide an\n    array of strings to have those identifiers highlighted with\n    the <code>lua-special</code> style.</p>\n    <p><strong>MIME types defined:</strong> <code>text/x-lua</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/lua/lua.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// LUA mode. Ported to CodeMirror 2 from Franciszek Wawrzak's\n// CodeMirror 1 mode.\n// highlights keywords, strings, comments (no leveling supported! (\"[==[\")), tokens, basic indenting\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"lua\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit;\n\n  function prefixRE(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")\", \"i\");\n  }\n  function wordRE(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")$\", \"i\");\n  }\n  var specials = wordRE(parserConfig.specials || []);\n\n  // long list of standard functions from lua manual\n  var builtins = wordRE([\n    \"_G\",\"_VERSION\",\"assert\",\"collectgarbage\",\"dofile\",\"error\",\"getfenv\",\"getmetatable\",\"ipairs\",\"load\",\n    \"loadfile\",\"loadstring\",\"module\",\"next\",\"pairs\",\"pcall\",\"print\",\"rawequal\",\"rawget\",\"rawset\",\"require\",\n    \"select\",\"setfenv\",\"setmetatable\",\"tonumber\",\"tostring\",\"type\",\"unpack\",\"xpcall\",\n\n    \"coroutine.create\",\"coroutine.resume\",\"coroutine.running\",\"coroutine.status\",\"coroutine.wrap\",\"coroutine.yield\",\n\n    \"debug.debug\",\"debug.getfenv\",\"debug.gethook\",\"debug.getinfo\",\"debug.getlocal\",\"debug.getmetatable\",\n    \"debug.getregistry\",\"debug.getupvalue\",\"debug.setfenv\",\"debug.sethook\",\"debug.setlocal\",\"debug.setmetatable\",\n    \"debug.setupvalue\",\"debug.traceback\",\n\n    \"close\",\"flush\",\"lines\",\"read\",\"seek\",\"setvbuf\",\"write\",\n\n    \"io.close\",\"io.flush\",\"io.input\",\"io.lines\",\"io.open\",\"io.output\",\"io.popen\",\"io.read\",\"io.stderr\",\"io.stdin\",\n    \"io.stdout\",\"io.tmpfile\",\"io.type\",\"io.write\",\n\n    \"math.abs\",\"math.acos\",\"math.asin\",\"math.atan\",\"math.atan2\",\"math.ceil\",\"math.cos\",\"math.cosh\",\"math.deg\",\n    \"math.exp\",\"math.floor\",\"math.fmod\",\"math.frexp\",\"math.huge\",\"math.ldexp\",\"math.log\",\"math.log10\",\"math.max\",\n    \"math.min\",\"math.modf\",\"math.pi\",\"math.pow\",\"math.rad\",\"math.random\",\"math.randomseed\",\"math.sin\",\"math.sinh\",\n    \"math.sqrt\",\"math.tan\",\"math.tanh\",\n\n    \"os.clock\",\"os.date\",\"os.difftime\",\"os.execute\",\"os.exit\",\"os.getenv\",\"os.remove\",\"os.rename\",\"os.setlocale\",\n    \"os.time\",\"os.tmpname\",\n\n    \"package.cpath\",\"package.loaded\",\"package.loaders\",\"package.loadlib\",\"package.path\",\"package.preload\",\n    \"package.seeall\",\n\n    \"string.byte\",\"string.char\",\"string.dump\",\"string.find\",\"string.format\",\"string.gmatch\",\"string.gsub\",\n    \"string.len\",\"string.lower\",\"string.match\",\"string.rep\",\"string.reverse\",\"string.sub\",\"string.upper\",\n\n    \"table.concat\",\"table.insert\",\"table.maxn\",\"table.remove\",\"table.sort\"\n  ]);\n  var keywords = wordRE([\"and\",\"break\",\"elseif\",\"false\",\"nil\",\"not\",\"or\",\"return\",\n                         \"true\",\"function\", \"end\", \"if\", \"then\", \"else\", \"do\",\n                         \"while\", \"repeat\", \"until\", \"for\", \"in\", \"local\" ]);\n\n  var indentTokens = wordRE([\"function\", \"if\",\"repeat\",\"do\", \"\\\\(\", \"{\"]);\n  var dedentTokens = wordRE([\"end\", \"until\", \"\\\\)\", \"}\"]);\n  var dedentPartial = prefixRE([\"end\", \"until\", \"\\\\)\", \"}\", \"else\", \"elseif\"]);\n\n  function readBracket(stream) {\n    var level = 0;\n    while (stream.eat(\"=\")) ++level;\n    stream.eat(\"[\");\n    return level;\n  }\n\n  function normal(stream, state) {\n    var ch = stream.next();\n    if (ch == \"-\" && stream.eat(\"-\")) {\n      if (stream.eat(\"[\") && stream.eat(\"[\"))\n        return (state.cur = bracketed(readBracket(stream), \"comment\"))(stream, state);\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    if (ch == \"\\\"\" || ch == \"'\")\n      return (state.cur = string(ch))(stream, state);\n    if (ch == \"[\" && /[\\[=]/.test(stream.peek()))\n      return (state.cur = bracketed(readBracket(stream), \"string\"))(stream, state);\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w.%]/);\n      return \"number\";\n    }\n    if (/[\\w_]/.test(ch)) {\n      stream.eatWhile(/[\\w\\\\\\-_.]/);\n      return \"variable\";\n    }\n    return null;\n  }\n\n  function bracketed(level, style) {\n    return function(stream, state) {\n      var curlev = null, ch;\n      while ((ch = stream.next()) != null) {\n        if (curlev == null) {if (ch == \"]\") curlev = 0;}\n        else if (ch == \"=\") ++curlev;\n        else if (ch == \"]\" && curlev == level) { state.cur = normal; break; }\n        else curlev = null;\n      }\n      return style;\n    };\n  }\n\n  function string(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) break;\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (!escaped) state.cur = normal;\n      return \"string\";\n    };\n  }\n\n  return {\n    startState: function(basecol) {\n      return {basecol: basecol || 0, indentDepth: 0, cur: normal};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = state.cur(stream, state);\n      var word = stream.current();\n      if (style == \"variable\") {\n        if (keywords.test(word)) style = \"keyword\";\n        else if (builtins.test(word)) style = \"builtin\";\n        else if (specials.test(word)) style = \"variable-2\";\n      }\n      if ((style != \"comment\") && (style != \"string\")){\n        if (indentTokens.test(word)) ++state.indentDepth;\n        else if (dedentTokens.test(word)) --state.indentDepth;\n      }\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var closing = dedentPartial.test(textAfter);\n      return state.basecol + indentUnit * (state.indentDepth - (closing ? 1 : 0));\n    },\n\n    lineComment: \"--\",\n    blockCommentStart: \"--[[\",\n    blockCommentEnd: \"]]\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-lua\", \"lua\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/markdown/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Markdown mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/continuelist.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"markdown.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .cm-s-default .cm-trailing-space-a:before,\n      .cm-s-default .cm-trailing-space-b:before {position: absolute; content: \"\\00B7\"; color: #777;}\n      .cm-s-default .cm-trailing-space-new-line:before {position: absolute; content: \"\\21B5\"; color: #777;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Markdown</a>\n  </ul>\n</div>\n\n<article>\n<h2>Markdown mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nMarkdown: Basics\n================\n\n&lt;ul id=\"ProjectSubmenu\"&gt;\n    &lt;li&gt;&lt;a href=\"/projects/markdown/\" title=\"Markdown Project Page\"&gt;Main&lt;/a&gt;&lt;/li&gt;\n    &lt;li&gt;&lt;a class=\"selected\" title=\"Markdown Basics\"&gt;Basics&lt;/a&gt;&lt;/li&gt;\n    &lt;li&gt;&lt;a href=\"/projects/markdown/syntax\" title=\"Markdown Syntax Documentation\"&gt;Syntax&lt;/a&gt;&lt;/li&gt;\n    &lt;li&gt;&lt;a href=\"/projects/markdown/license\" title=\"Pricing and License Information\"&gt;License&lt;/a&gt;&lt;/li&gt;\n    &lt;li&gt;&lt;a href=\"/projects/markdown/dingus\" title=\"Online Markdown Web Form\"&gt;Dingus&lt;/a&gt;&lt;/li&gt;\n&lt;/ul&gt;\n\n\nGetting the Gist of Markdown's Formatting Syntax\n------------------------------------------------\n\nThis page offers a brief overview of what it's like to use Markdown.\nThe [syntax page] [s] provides complete, detailed documentation for\nevery feature, but Markdown should be very easy to pick up simply by\nlooking at a few examples of it in action. The examples on this page\nare written in a before/after style, showing example syntax and the\nHTML output produced by Markdown.\n\nIt's also helpful to simply try Markdown out; the [Dingus] [d] is a\nweb application that allows you type your own Markdown-formatted text\nand translate it to XHTML.\n\n**Note:** This document is itself written using Markdown; you\ncan [see the source for it by adding '.text' to the URL] [src].\n\n  [s]: /projects/markdown/syntax  \"Markdown Syntax\"\n  [d]: /projects/markdown/dingus  \"Markdown Dingus\"\n  [src]: /projects/markdown/basics.text\n\n\n## Paragraphs, Headers, Blockquotes ##\n\nA paragraph is simply one or more consecutive lines of text, separated\nby one or more blank lines. (A blank line is any line that looks like\na blank line -- a line containing nothing but spaces or tabs is\nconsidered blank.) Normal paragraphs should not be indented with\nspaces or tabs.\n\nMarkdown offers two styles of headers: *Setext* and *atx*.\nSetext-style headers for `&lt;h1&gt;` and `&lt;h2&gt;` are created by\n\"underlining\" with equal signs (`=`) and hyphens (`-`), respectively.\nTo create an atx-style header, you put 1-6 hash marks (`#`) at the\nbeginning of the line -- the number of hashes equals the resulting\nHTML header level.\n\nBlockquotes are indicated using email-style '`&gt;`' angle brackets.\n\nMarkdown:\n\n    A First Level Header\n    ====================\n    \n    A Second Level Header\n    ---------------------\n\n    Now is the time for all good men to come to\n    the aid of their country. This is just a\n    regular paragraph.\n\n    The quick brown fox jumped over the lazy\n    dog's back.\n    \n    ### Header 3\n\n    &gt; This is a blockquote.\n    &gt; \n    &gt; This is the second paragraph in the blockquote.\n    &gt;\n    &gt; ## This is an H2 in a blockquote\n\n\nOutput:\n\n    &lt;h1&gt;A First Level Header&lt;/h1&gt;\n    \n    &lt;h2&gt;A Second Level Header&lt;/h2&gt;\n    \n    &lt;p&gt;Now is the time for all good men to come to\n    the aid of their country. This is just a\n    regular paragraph.&lt;/p&gt;\n    \n    &lt;p&gt;The quick brown fox jumped over the lazy\n    dog's back.&lt;/p&gt;\n    \n    &lt;h3&gt;Header 3&lt;/h3&gt;\n    \n    &lt;blockquote&gt;\n        &lt;p&gt;This is a blockquote.&lt;/p&gt;\n        \n        &lt;p&gt;This is the second paragraph in the blockquote.&lt;/p&gt;\n        \n        &lt;h2&gt;This is an H2 in a blockquote&lt;/h2&gt;\n    &lt;/blockquote&gt;\n\n\n\n### Phrase Emphasis ###\n\nMarkdown uses asterisks and underscores to indicate spans of emphasis.\n\nMarkdown:\n\n    Some of these words *are emphasized*.\n    Some of these words _are emphasized also_.\n    \n    Use two asterisks for **strong emphasis**.\n    Or, if you prefer, __use two underscores instead__.\n\nOutput:\n\n    &lt;p&gt;Some of these words &lt;em&gt;are emphasized&lt;/em&gt;.\n    Some of these words &lt;em&gt;are emphasized also&lt;/em&gt;.&lt;/p&gt;\n    \n    &lt;p&gt;Use two asterisks for &lt;strong&gt;strong emphasis&lt;/strong&gt;.\n    Or, if you prefer, &lt;strong&gt;use two underscores instead&lt;/strong&gt;.&lt;/p&gt;\n   \n\n\n## Lists ##\n\nUnordered (bulleted) lists use asterisks, pluses, and hyphens (`*`,\n`+`, and `-`) as list markers. These three markers are\ninterchangable; this:\n\n    *   Candy.\n    *   Gum.\n    *   Booze.\n\nthis:\n\n    +   Candy.\n    +   Gum.\n    +   Booze.\n\nand this:\n\n    -   Candy.\n    -   Gum.\n    -   Booze.\n\nall produce the same output:\n\n    &lt;ul&gt;\n    &lt;li&gt;Candy.&lt;/li&gt;\n    &lt;li&gt;Gum.&lt;/li&gt;\n    &lt;li&gt;Booze.&lt;/li&gt;\n    &lt;/ul&gt;\n\nOrdered (numbered) lists use regular numbers, followed by periods, as\nlist markers:\n\n    1.  Red\n    2.  Green\n    3.  Blue\n\nOutput:\n\n    &lt;ol&gt;\n    &lt;li&gt;Red&lt;/li&gt;\n    &lt;li&gt;Green&lt;/li&gt;\n    &lt;li&gt;Blue&lt;/li&gt;\n    &lt;/ol&gt;\n\nIf you put blank lines between items, you'll get `&lt;p&gt;` tags for the\nlist item text. You can create multi-paragraph list items by indenting\nthe paragraphs by 4 spaces or 1 tab:\n\n    *   A list item.\n    \n        With multiple paragraphs.\n\n    *   Another item in the list.\n\nOutput:\n\n    &lt;ul&gt;\n    &lt;li&gt;&lt;p&gt;A list item.&lt;/p&gt;\n    &lt;p&gt;With multiple paragraphs.&lt;/p&gt;&lt;/li&gt;\n    &lt;li&gt;&lt;p&gt;Another item in the list.&lt;/p&gt;&lt;/li&gt;\n    &lt;/ul&gt;\n    \n\n\n### Links ###\n\nMarkdown supports two styles for creating links: *inline* and\n*reference*. With both styles, you use square brackets to delimit the\ntext you want to turn into a link.\n\nInline-style links use parentheses immediately after the link text.\nFor example:\n\n    This is an [example link](http://example.com/).\n\nOutput:\n\n    &lt;p&gt;This is an &lt;a href=\"http://example.com/\"&gt;\n    example link&lt;/a&gt;.&lt;/p&gt;\n\nOptionally, you may include a title attribute in the parentheses:\n\n    This is an [example link](http://example.com/ \"With a Title\").\n\nOutput:\n\n    &lt;p&gt;This is an &lt;a href=\"http://example.com/\" title=\"With a Title\"&gt;\n    example link&lt;/a&gt;.&lt;/p&gt;\n\nReference-style links allow you to refer to your links by names, which\nyou define elsewhere in your document:\n\n    I get 10 times more traffic from [Google][1] than from\n    [Yahoo][2] or [MSN][3].\n\n    [1]: http://google.com/        \"Google\"\n    [2]: http://search.yahoo.com/  \"Yahoo Search\"\n    [3]: http://search.msn.com/    \"MSN Search\"\n\nOutput:\n\n    &lt;p&gt;I get 10 times more traffic from &lt;a href=\"http://google.com/\"\n    title=\"Google\"&gt;Google&lt;/a&gt; than from &lt;a href=\"http://search.yahoo.com/\"\n    title=\"Yahoo Search\"&gt;Yahoo&lt;/a&gt; or &lt;a href=\"http://search.msn.com/\"\n    title=\"MSN Search\"&gt;MSN&lt;/a&gt;.&lt;/p&gt;\n\nThe title attribute is optional. Link names may contain letters,\nnumbers and spaces, but are *not* case sensitive:\n\n    I start my morning with a cup of coffee and\n    [The New York Times][NY Times].\n\n    [ny times]: http://www.nytimes.com/\n\nOutput:\n\n    &lt;p&gt;I start my morning with a cup of coffee and\n    &lt;a href=\"http://www.nytimes.com/\"&gt;The New York Times&lt;/a&gt;.&lt;/p&gt;\n\n\n### Images ###\n\nImage syntax is very much like link syntax.\n\nInline (titles are optional):\n\n    ![alt text](/path/to/img.jpg \"Title\")\n\nReference-style:\n\n    ![alt text][id]\n\n    [id]: /path/to/img.jpg \"Title\"\n\nBoth of the above examples produce the same output:\n\n    &lt;img src=\"/path/to/img.jpg\" alt=\"alt text\" title=\"Title\" /&gt;\n\n\n\n### Code ###\n\nIn a regular paragraph, you can create code span by wrapping text in\nbacktick quotes. Any ampersands (`&amp;`) and angle brackets (`&lt;` or\n`&gt;`) will automatically be translated into HTML entities. This makes\nit easy to use Markdown to write about HTML example code:\n\n    I strongly recommend against using any `&lt;blink&gt;` tags.\n\n    I wish SmartyPants used named entities like `&amp;mdash;`\n    instead of decimal-encoded entites like `&amp;#8212;`.\n\nOutput:\n\n    &lt;p&gt;I strongly recommend against using any\n    &lt;code&gt;&amp;lt;blink&amp;gt;&lt;/code&gt; tags.&lt;/p&gt;\n    \n    &lt;p&gt;I wish SmartyPants used named entities like\n    &lt;code&gt;&amp;amp;mdash;&lt;/code&gt; instead of decimal-encoded\n    entites like &lt;code&gt;&amp;amp;#8212;&lt;/code&gt;.&lt;/p&gt;\n\n\nTo specify an entire block of pre-formatted code, indent every line of\nthe block by 4 spaces or 1 tab. Just like with code spans, `&amp;`, `&lt;`,\nand `&gt;` characters will be escaped automatically.\n\nMarkdown:\n\n    If you want your page to validate under XHTML 1.0 Strict,\n    you've got to put paragraph tags in your blockquotes:\n\n        &lt;blockquote&gt;\n            &lt;p&gt;For example.&lt;/p&gt;\n        &lt;/blockquote&gt;\n\nOutput:\n\n    &lt;p&gt;If you want your page to validate under XHTML 1.0 Strict,\n    you've got to put paragraph tags in your blockquotes:&lt;/p&gt;\n    \n    &lt;pre&gt;&lt;code&gt;&amp;lt;blockquote&amp;gt;\n        &amp;lt;p&amp;gt;For example.&amp;lt;/p&amp;gt;\n    &amp;lt;/blockquote&amp;gt;\n    &lt;/code&gt;&lt;/pre&gt;\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: 'markdown',\n        lineNumbers: true,\n        theme: \"default\",\n        extraKeys: {\"Enter\": \"newlineAndIndentContinueMarkdownList\"}\n      });\n    </script>\n\n    <p>Optionally depends on the XML mode for properly highlighted inline XML blocks.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-markdown</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#markdown_*\">normal</a>,  <a href=\"../../test/index.html#verbose,markdown_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/markdown/markdown.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../xml/xml\"), require(\"../meta\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../xml/xml\", \"../meta\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"markdown\", function(cmCfg, modeCfg) {\n\n  var htmlFound = CodeMirror.modes.hasOwnProperty(\"xml\");\n  var htmlMode = CodeMirror.getMode(cmCfg, htmlFound ? {name: \"xml\", htmlMode: true} : \"text/plain\");\n\n  function getMode(name) {\n    if (CodeMirror.findModeByName) {\n      var found = CodeMirror.findModeByName(name);\n      if (found) name = found.mime || found.mimes[0];\n    }\n    var mode = CodeMirror.getMode(cmCfg, name);\n    return mode.name == \"null\" ? null : mode;\n  }\n\n  // Should characters that affect highlighting be highlighted separate?\n  // Does not include characters that will be output (such as `1.` and `-` for lists)\n  if (modeCfg.highlightFormatting === undefined)\n    modeCfg.highlightFormatting = false;\n\n  // Maximum number of nested blockquotes. Set to 0 for infinite nesting.\n  // Excess `>` will emit `error` token.\n  if (modeCfg.maxBlockquoteDepth === undefined)\n    modeCfg.maxBlockquoteDepth = 0;\n\n  // Should underscores in words open/close em/strong?\n  if (modeCfg.underscoresBreakWords === undefined)\n    modeCfg.underscoresBreakWords = true;\n\n  // Turn on fenced code blocks? (\"```\" to start/end)\n  if (modeCfg.fencedCodeBlocks === undefined) modeCfg.fencedCodeBlocks = false;\n\n  // Turn on task lists? (\"- [ ] \" and \"- [x] \")\n  if (modeCfg.taskLists === undefined) modeCfg.taskLists = false;\n\n  // Turn on strikethrough syntax\n  if (modeCfg.strikethrough === undefined)\n    modeCfg.strikethrough = false;\n\n  var codeDepth = 0;\n\n  var header   = 'header'\n  ,   code     = 'comment'\n  ,   quote    = 'quote'\n  ,   list1    = 'variable-2'\n  ,   list2    = 'variable-3'\n  ,   list3    = 'keyword'\n  ,   hr       = 'hr'\n  ,   image    = 'tag'\n  ,   formatting = 'formatting'\n  ,   linkinline = 'link'\n  ,   linkemail = 'link'\n  ,   linktext = 'link'\n  ,   linkhref = 'string'\n  ,   em       = 'em'\n  ,   strong   = 'strong'\n  ,   strikethrough = 'strikethrough';\n\n  var hrRE = /^([*\\-=_])(?:\\s*\\1){2,}\\s*$/\n  ,   ulRE = /^[*\\-+]\\s+/\n  ,   olRE = /^[0-9]+\\.\\s+/\n  ,   taskListRE = /^\\[(x| )\\](?=\\s)/ // Must follow ulRE or olRE\n  ,   atxHeaderRE = /^#+/\n  ,   setextHeaderRE = /^(?:\\={1,}|-{1,})$/\n  ,   textRE = /^[^#!\\[\\]*_\\\\<>` \"'(~]+/;\n\n  function switchInline(stream, state, f) {\n    state.f = state.inline = f;\n    return f(stream, state);\n  }\n\n  function switchBlock(stream, state, f) {\n    state.f = state.block = f;\n    return f(stream, state);\n  }\n\n\n  // Blocks\n\n  function blankLine(state) {\n    // Reset linkTitle state\n    state.linkTitle = false;\n    // Reset EM state\n    state.em = false;\n    // Reset STRONG state\n    state.strong = false;\n    // Reset strikethrough state\n    state.strikethrough = false;\n    // Reset state.quote\n    state.quote = 0;\n    if (!htmlFound && state.f == htmlBlock) {\n      state.f = inlineNormal;\n      state.block = blockNormal;\n    }\n    // Reset state.trailingSpace\n    state.trailingSpace = 0;\n    state.trailingSpaceNewLine = false;\n    // Mark this line as blank\n    state.thisLineHasContent = false;\n    return null;\n  }\n\n  function blockNormal(stream, state) {\n\n    var sol = stream.sol();\n\n    var prevLineIsList = (state.list !== false);\n    if (state.list !== false && state.indentationDiff >= 0) { // Continued list\n      if (state.indentationDiff < 4) { // Only adjust indentation if *not* a code block\n        state.indentation -= state.indentationDiff;\n      }\n      state.list = null;\n    } else if (state.list !== false && state.indentation > 0) {\n      state.list = null;\n      state.listDepth = Math.floor(state.indentation / 4);\n    } else if (state.list !== false) { // No longer a list\n      state.list = false;\n      state.listDepth = 0;\n    }\n\n    var match = null;\n    if (state.indentationDiff >= 4) {\n      state.indentation -= 4;\n      stream.skipToEnd();\n      return code;\n    } else if (stream.eatSpace()) {\n      return null;\n    } else if (match = stream.match(atxHeaderRE)) {\n      state.header = match[0].length <= 6 ? match[0].length : 6;\n      if (modeCfg.highlightFormatting) state.formatting = \"header\";\n      state.f = state.inline;\n      return getType(state);\n    } else if (state.prevLineHasContent && (match = stream.match(setextHeaderRE))) {\n      state.header = match[0].charAt(0) == '=' ? 1 : 2;\n      if (modeCfg.highlightFormatting) state.formatting = \"header\";\n      state.f = state.inline;\n      return getType(state);\n    } else if (stream.eat('>')) {\n      state.indentation++;\n      state.quote = sol ? 1 : state.quote + 1;\n      if (modeCfg.highlightFormatting) state.formatting = \"quote\";\n      stream.eatSpace();\n      return getType(state);\n    } else if (stream.peek() === '[') {\n      return switchInline(stream, state, footnoteLink);\n    } else if (stream.match(hrRE, true)) {\n      return hr;\n    } else if ((!state.prevLineHasContent || prevLineIsList) && (stream.match(ulRE, false) || stream.match(olRE, false))) {\n      var listType = null;\n      if (stream.match(ulRE, true)) {\n        listType = 'ul';\n      } else {\n        stream.match(olRE, true);\n        listType = 'ol';\n      }\n      state.indentation += 4;\n      state.list = true;\n      state.listDepth++;\n      if (modeCfg.taskLists && stream.match(taskListRE, false)) {\n        state.taskList = true;\n      }\n      state.f = state.inline;\n      if (modeCfg.highlightFormatting) state.formatting = [\"list\", \"list-\" + listType];\n      return getType(state);\n    } else if (modeCfg.fencedCodeBlocks && stream.match(/^```[ \\t]*([\\w+#]*)/, true)) {\n      // try switching mode\n      state.localMode = getMode(RegExp.$1);\n      if (state.localMode) state.localState = state.localMode.startState();\n      state.f = state.block = local;\n      if (modeCfg.highlightFormatting) state.formatting = \"code-block\";\n      state.code = true;\n      return getType(state);\n    }\n\n    return switchInline(stream, state, state.inline);\n  }\n\n  function htmlBlock(stream, state) {\n    var style = htmlMode.token(stream, state.htmlState);\n    if ((htmlFound && state.htmlState.tagStart === null && !state.htmlState.context) ||\n        (state.md_inside && stream.current().indexOf(\">\") > -1)) {\n      state.f = inlineNormal;\n      state.block = blockNormal;\n      state.htmlState = null;\n    }\n    return style;\n  }\n\n  function local(stream, state) {\n    if (stream.sol() && stream.match(\"```\", false)) {\n      state.localMode = state.localState = null;\n      state.f = state.block = leavingLocal;\n      return null;\n    } else if (state.localMode) {\n      return state.localMode.token(stream, state.localState);\n    } else {\n      stream.skipToEnd();\n      return code;\n    }\n  }\n\n  function leavingLocal(stream, state) {\n    stream.match(\"```\");\n    state.block = blockNormal;\n    state.f = inlineNormal;\n    if (modeCfg.highlightFormatting) state.formatting = \"code-block\";\n    state.code = true;\n    var returnType = getType(state);\n    state.code = false;\n    return returnType;\n  }\n\n  // Inline\n  function getType(state) {\n    var styles = [];\n\n    if (state.formatting) {\n      styles.push(formatting);\n\n      if (typeof state.formatting === \"string\") state.formatting = [state.formatting];\n\n      for (var i = 0; i < state.formatting.length; i++) {\n        styles.push(formatting + \"-\" + state.formatting[i]);\n\n        if (state.formatting[i] === \"header\") {\n          styles.push(formatting + \"-\" + state.formatting[i] + \"-\" + state.header);\n        }\n\n        // Add `formatting-quote` and `formatting-quote-#` for blockquotes\n        // Add `error` instead if the maximum blockquote nesting depth is passed\n        if (state.formatting[i] === \"quote\") {\n          if (!modeCfg.maxBlockquoteDepth || modeCfg.maxBlockquoteDepth >= state.quote) {\n            styles.push(formatting + \"-\" + state.formatting[i] + \"-\" + state.quote);\n          } else {\n            styles.push(\"error\");\n          }\n        }\n      }\n    }\n\n    if (state.taskOpen) {\n      styles.push(\"meta\");\n      return styles.length ? styles.join(' ') : null;\n    }\n    if (state.taskClosed) {\n      styles.push(\"property\");\n      return styles.length ? styles.join(' ') : null;\n    }\n\n    if (state.linkHref) {\n      styles.push(linkhref);\n      return styles.length ? styles.join(' ') : null;\n    }\n\n    if (state.strong) { styles.push(strong); }\n    if (state.em) { styles.push(em); }\n    if (state.strikethrough) { styles.push(strikethrough); }\n\n    if (state.linkText) { styles.push(linktext); }\n\n    if (state.code) { styles.push(code); }\n\n    if (state.header) { styles.push(header); styles.push(header + \"-\" + state.header); }\n\n    if (state.quote) {\n      styles.push(quote);\n\n      // Add `quote-#` where the maximum for `#` is modeCfg.maxBlockquoteDepth\n      if (!modeCfg.maxBlockquoteDepth || modeCfg.maxBlockquoteDepth >= state.quote) {\n        styles.push(quote + \"-\" + state.quote);\n      } else {\n        styles.push(quote + \"-\" + modeCfg.maxBlockquoteDepth);\n      }\n    }\n\n    if (state.list !== false) {\n      var listMod = (state.listDepth - 1) % 3;\n      if (!listMod) {\n        styles.push(list1);\n      } else if (listMod === 1) {\n        styles.push(list2);\n      } else {\n        styles.push(list3);\n      }\n    }\n\n    if (state.trailingSpaceNewLine) {\n      styles.push(\"trailing-space-new-line\");\n    } else if (state.trailingSpace) {\n      styles.push(\"trailing-space-\" + (state.trailingSpace % 2 ? \"a\" : \"b\"));\n    }\n\n    return styles.length ? styles.join(' ') : null;\n  }\n\n  function handleText(stream, state) {\n    if (stream.match(textRE, true)) {\n      return getType(state);\n    }\n    return undefined;\n  }\n\n  function inlineNormal(stream, state) {\n    var style = state.text(stream, state);\n    if (typeof style !== 'undefined')\n      return style;\n\n    if (state.list) { // List marker (*, +, -, 1., etc)\n      state.list = null;\n      return getType(state);\n    }\n\n    if (state.taskList) {\n      var taskOpen = stream.match(taskListRE, true)[1] !== \"x\";\n      if (taskOpen) state.taskOpen = true;\n      else state.taskClosed = true;\n      if (modeCfg.highlightFormatting) state.formatting = \"task\";\n      state.taskList = false;\n      return getType(state);\n    }\n\n    state.taskOpen = false;\n    state.taskClosed = false;\n\n    if (state.header && stream.match(/^#+$/, true)) {\n      if (modeCfg.highlightFormatting) state.formatting = \"header\";\n      return getType(state);\n    }\n\n    // Get sol() value now, before character is consumed\n    var sol = stream.sol();\n\n    var ch = stream.next();\n\n    if (ch === '\\\\') {\n      stream.next();\n      if (modeCfg.highlightFormatting) {\n        var type = getType(state);\n        return type ? type + \" formatting-escape\" : \"formatting-escape\";\n      }\n    }\n\n    // Matches link titles present on next line\n    if (state.linkTitle) {\n      state.linkTitle = false;\n      var matchCh = ch;\n      if (ch === '(') {\n        matchCh = ')';\n      }\n      matchCh = (matchCh+'').replace(/([.?*+^$[\\]\\\\(){}|-])/g, \"\\\\$1\");\n      var regex = '^\\\\s*(?:[^' + matchCh + '\\\\\\\\]+|\\\\\\\\\\\\\\\\|\\\\\\\\.)' + matchCh;\n      if (stream.match(new RegExp(regex), true)) {\n        return linkhref;\n      }\n    }\n\n    // If this block is changed, it may need to be updated in GFM mode\n    if (ch === '`') {\n      var previousFormatting = state.formatting;\n      if (modeCfg.highlightFormatting) state.formatting = \"code\";\n      var t = getType(state);\n      var before = stream.pos;\n      stream.eatWhile('`');\n      var difference = 1 + stream.pos - before;\n      if (!state.code) {\n        codeDepth = difference;\n        state.code = true;\n        return getType(state);\n      } else {\n        if (difference === codeDepth) { // Must be exact\n          state.code = false;\n          return t;\n        }\n        state.formatting = previousFormatting;\n        return getType(state);\n      }\n    } else if (state.code) {\n      return getType(state);\n    }\n\n    if (ch === '!' && stream.match(/\\[[^\\]]*\\] ?(?:\\(|\\[)/, false)) {\n      stream.match(/\\[[^\\]]*\\]/);\n      state.inline = state.f = linkHref;\n      return image;\n    }\n\n    if (ch === '[' && stream.match(/.*\\](\\(.*\\)| ?\\[.*\\])/, false)) {\n      state.linkText = true;\n      if (modeCfg.highlightFormatting) state.formatting = \"link\";\n      return getType(state);\n    }\n\n    if (ch === ']' && state.linkText && stream.match(/\\(.*\\)| ?\\[.*\\]/, false)) {\n      if (modeCfg.highlightFormatting) state.formatting = \"link\";\n      var type = getType(state);\n      state.linkText = false;\n      state.inline = state.f = linkHref;\n      return type;\n    }\n\n    if (ch === '<' && stream.match(/^(https?|ftps?):\\/\\/(?:[^\\\\>]|\\\\.)+>/, false)) {\n      state.f = state.inline = linkInline;\n      if (modeCfg.highlightFormatting) state.formatting = \"link\";\n      var type = getType(state);\n      if (type){\n        type += \" \";\n      } else {\n        type = \"\";\n      }\n      return type + linkinline;\n    }\n\n    if (ch === '<' && stream.match(/^[^> \\\\]+@(?:[^\\\\>]|\\\\.)+>/, false)) {\n      state.f = state.inline = linkInline;\n      if (modeCfg.highlightFormatting) state.formatting = \"link\";\n      var type = getType(state);\n      if (type){\n        type += \" \";\n      } else {\n        type = \"\";\n      }\n      return type + linkemail;\n    }\n\n    if (ch === '<' && stream.match(/^\\w/, false)) {\n      if (stream.string.indexOf(\">\") != -1) {\n        var atts = stream.string.substring(1,stream.string.indexOf(\">\"));\n        if (/markdown\\s*=\\s*('|\"){0,1}1('|\"){0,1}/.test(atts)) {\n          state.md_inside = true;\n        }\n      }\n      stream.backUp(1);\n      state.htmlState = CodeMirror.startState(htmlMode);\n      return switchBlock(stream, state, htmlBlock);\n    }\n\n    if (ch === '<' && stream.match(/^\\/\\w*?>/)) {\n      state.md_inside = false;\n      return \"tag\";\n    }\n\n    var ignoreUnderscore = false;\n    if (!modeCfg.underscoresBreakWords) {\n      if (ch === '_' && stream.peek() !== '_' && stream.match(/(\\w)/, false)) {\n        var prevPos = stream.pos - 2;\n        if (prevPos >= 0) {\n          var prevCh = stream.string.charAt(prevPos);\n          if (prevCh !== '_' && prevCh.match(/(\\w)/, false)) {\n            ignoreUnderscore = true;\n          }\n        }\n      }\n    }\n    if (ch === '*' || (ch === '_' && !ignoreUnderscore)) {\n      if (sol && stream.peek() === ' ') {\n        // Do nothing, surrounded by newline and space\n      } else if (state.strong === ch && stream.eat(ch)) { // Remove STRONG\n        if (modeCfg.highlightFormatting) state.formatting = \"strong\";\n        var t = getType(state);\n        state.strong = false;\n        return t;\n      } else if (!state.strong && stream.eat(ch)) { // Add STRONG\n        state.strong = ch;\n        if (modeCfg.highlightFormatting) state.formatting = \"strong\";\n        return getType(state);\n      } else if (state.em === ch) { // Remove EM\n        if (modeCfg.highlightFormatting) state.formatting = \"em\";\n        var t = getType(state);\n        state.em = false;\n        return t;\n      } else if (!state.em) { // Add EM\n        state.em = ch;\n        if (modeCfg.highlightFormatting) state.formatting = \"em\";\n        return getType(state);\n      }\n    } else if (ch === ' ') {\n      if (stream.eat('*') || stream.eat('_')) { // Probably surrounded by spaces\n        if (stream.peek() === ' ') { // Surrounded by spaces, ignore\n          return getType(state);\n        } else { // Not surrounded by spaces, back up pointer\n          stream.backUp(1);\n        }\n      }\n    }\n\n    if (modeCfg.strikethrough) {\n      if (ch === '~' && stream.eatWhile(ch)) {\n        if (state.strikethrough) {// Remove strikethrough\n          if (modeCfg.highlightFormatting) state.formatting = \"strikethrough\";\n          var t = getType(state);\n          state.strikethrough = false;\n          return t;\n        } else if (stream.match(/^[^\\s]/, false)) {// Add strikethrough\n          state.strikethrough = true;\n          if (modeCfg.highlightFormatting) state.formatting = \"strikethrough\";\n          return getType(state);\n        }\n      } else if (ch === ' ') {\n        if (stream.match(/^~~/, true)) { // Probably surrounded by space\n          if (stream.peek() === ' ') { // Surrounded by spaces, ignore\n            return getType(state);\n          } else { // Not surrounded by spaces, back up pointer\n            stream.backUp(2);\n          }\n        }\n      }\n    }\n\n    if (ch === ' ') {\n      if (stream.match(/ +$/, false)) {\n        state.trailingSpace++;\n      } else if (state.trailingSpace) {\n        state.trailingSpaceNewLine = true;\n      }\n    }\n\n    return getType(state);\n  }\n\n  function linkInline(stream, state) {\n    var ch = stream.next();\n\n    if (ch === \">\") {\n      state.f = state.inline = inlineNormal;\n      if (modeCfg.highlightFormatting) state.formatting = \"link\";\n      var type = getType(state);\n      if (type){\n        type += \" \";\n      } else {\n        type = \"\";\n      }\n      return type + linkinline;\n    }\n\n    stream.match(/^[^>]+/, true);\n\n    return linkinline;\n  }\n\n  function linkHref(stream, state) {\n    // Check if space, and return NULL if so (to avoid marking the space)\n    if(stream.eatSpace()){\n      return null;\n    }\n    var ch = stream.next();\n    if (ch === '(' || ch === '[') {\n      state.f = state.inline = getLinkHrefInside(ch === \"(\" ? \")\" : \"]\");\n      if (modeCfg.highlightFormatting) state.formatting = \"link-string\";\n      state.linkHref = true;\n      return getType(state);\n    }\n    return 'error';\n  }\n\n  function getLinkHrefInside(endChar) {\n    return function(stream, state) {\n      var ch = stream.next();\n\n      if (ch === endChar) {\n        state.f = state.inline = inlineNormal;\n        if (modeCfg.highlightFormatting) state.formatting = \"link-string\";\n        var returnState = getType(state);\n        state.linkHref = false;\n        return returnState;\n      }\n\n      if (stream.match(inlineRE(endChar), true)) {\n        stream.backUp(1);\n      }\n\n      state.linkHref = true;\n      return getType(state);\n    };\n  }\n\n  function footnoteLink(stream, state) {\n    if (stream.match(/^[^\\]]*\\]:/, false)) {\n      state.f = footnoteLinkInside;\n      stream.next(); // Consume [\n      if (modeCfg.highlightFormatting) state.formatting = \"link\";\n      state.linkText = true;\n      return getType(state);\n    }\n    return switchInline(stream, state, inlineNormal);\n  }\n\n  function footnoteLinkInside(stream, state) {\n    if (stream.match(/^\\]:/, true)) {\n      state.f = state.inline = footnoteUrl;\n      if (modeCfg.highlightFormatting) state.formatting = \"link\";\n      var returnType = getType(state);\n      state.linkText = false;\n      return returnType;\n    }\n\n    stream.match(/^[^\\]]+/, true);\n\n    return linktext;\n  }\n\n  function footnoteUrl(stream, state) {\n    // Check if space, and return NULL if so (to avoid marking the space)\n    if(stream.eatSpace()){\n      return null;\n    }\n    // Match URL\n    stream.match(/^[^\\s]+/, true);\n    // Check for link title\n    if (stream.peek() === undefined) { // End of line, set flag to check next line\n      state.linkTitle = true;\n    } else { // More content on line, check if link title\n      stream.match(/^(?:\\s+(?:\"(?:[^\"\\\\]|\\\\\\\\|\\\\.)+\"|'(?:[^'\\\\]|\\\\\\\\|\\\\.)+'|\\((?:[^)\\\\]|\\\\\\\\|\\\\.)+\\)))?/, true);\n    }\n    state.f = state.inline = inlineNormal;\n    return linkhref;\n  }\n\n  var savedInlineRE = [];\n  function inlineRE(endChar) {\n    if (!savedInlineRE[endChar]) {\n      // Escape endChar for RegExp (taken from http://stackoverflow.com/a/494122/526741)\n      endChar = (endChar+'').replace(/([.?*+^$[\\]\\\\(){}|-])/g, \"\\\\$1\");\n      // Match any non-endChar, escaped character, as well as the closing\n      // endChar.\n      savedInlineRE[endChar] = new RegExp('^(?:[^\\\\\\\\]|\\\\\\\\.)*?(' + endChar + ')');\n    }\n    return savedInlineRE[endChar];\n  }\n\n  var mode = {\n    startState: function() {\n      return {\n        f: blockNormal,\n\n        prevLineHasContent: false,\n        thisLineHasContent: false,\n\n        block: blockNormal,\n        htmlState: null,\n        indentation: 0,\n\n        inline: inlineNormal,\n        text: handleText,\n\n        formatting: false,\n        linkText: false,\n        linkHref: false,\n        linkTitle: false,\n        em: false,\n        strong: false,\n        header: 0,\n        taskList: false,\n        list: false,\n        listDepth: 0,\n        quote: 0,\n        trailingSpace: 0,\n        trailingSpaceNewLine: false,\n        strikethrough: false\n      };\n    },\n\n    copyState: function(s) {\n      return {\n        f: s.f,\n\n        prevLineHasContent: s.prevLineHasContent,\n        thisLineHasContent: s.thisLineHasContent,\n\n        block: s.block,\n        htmlState: s.htmlState && CodeMirror.copyState(htmlMode, s.htmlState),\n        indentation: s.indentation,\n\n        localMode: s.localMode,\n        localState: s.localMode ? CodeMirror.copyState(s.localMode, s.localState) : null,\n\n        inline: s.inline,\n        text: s.text,\n        formatting: false,\n        linkTitle: s.linkTitle,\n        em: s.em,\n        strong: s.strong,\n        strikethrough: s.strikethrough,\n        header: s.header,\n        taskList: s.taskList,\n        list: s.list,\n        listDepth: s.listDepth,\n        quote: s.quote,\n        trailingSpace: s.trailingSpace,\n        trailingSpaceNewLine: s.trailingSpaceNewLine,\n        md_inside: s.md_inside\n      };\n    },\n\n    token: function(stream, state) {\n\n      // Reset state.formatting\n      state.formatting = false;\n\n      if (stream.sol()) {\n        var forceBlankLine = !!state.header;\n\n        // Reset state.header\n        state.header = 0;\n\n        if (stream.match(/^\\s*$/, true) || forceBlankLine) {\n          state.prevLineHasContent = false;\n          blankLine(state);\n          return forceBlankLine ? this.token(stream, state) : null;\n        } else {\n          state.prevLineHasContent = state.thisLineHasContent;\n          state.thisLineHasContent = true;\n        }\n\n        // Reset state.taskList\n        state.taskList = false;\n\n        // Reset state.code\n        state.code = false;\n\n        // Reset state.trailingSpace\n        state.trailingSpace = 0;\n        state.trailingSpaceNewLine = false;\n\n        state.f = state.block;\n        var indentation = stream.match(/^\\s*/, true)[0].replace(/\\t/g, '    ').length;\n        var difference = Math.floor((indentation - state.indentation) / 4) * 4;\n        if (difference > 4) difference = 4;\n        var adjustedIndentation = state.indentation + difference;\n        state.indentationDiff = adjustedIndentation - state.indentation;\n        state.indentation = adjustedIndentation;\n        if (indentation > 0) return null;\n      }\n      return state.f(stream, state);\n    },\n\n    innerMode: function(state) {\n      if (state.block == htmlBlock) return {state: state.htmlState, mode: htmlMode};\n      if (state.localState) return {state: state.localState, mode: state.localMode};\n      return {state: state, mode: mode};\n    },\n\n    blankLine: blankLine,\n\n    getType: getType,\n\n    fold: \"markdown\"\n  };\n  return mode;\n}, \"xml\");\n\nCodeMirror.defineMIME(\"text/x-markdown\", \"markdown\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/markdown/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({tabSize: 4}, \"markdown\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n  var modeHighlightFormatting = CodeMirror.getMode({tabSize: 4}, {name: \"markdown\", highlightFormatting: true});\n  function FT(name) { test.mode(name, modeHighlightFormatting, Array.prototype.slice.call(arguments, 1)); }\n\n  FT(\"formatting_emAsterisk\",\n     \"[em&formatting&formatting-em *][em foo][em&formatting&formatting-em *]\");\n\n  FT(\"formatting_emUnderscore\",\n     \"[em&formatting&formatting-em _][em foo][em&formatting&formatting-em _]\");\n\n  FT(\"formatting_strongAsterisk\",\n     \"[strong&formatting&formatting-strong **][strong foo][strong&formatting&formatting-strong **]\");\n\n  FT(\"formatting_strongUnderscore\",\n     \"[strong&formatting&formatting-strong __][strong foo][strong&formatting&formatting-strong __]\");\n\n  FT(\"formatting_codeBackticks\",\n     \"[comment&formatting&formatting-code `][comment foo][comment&formatting&formatting-code `]\");\n\n  FT(\"formatting_doubleBackticks\",\n     \"[comment&formatting&formatting-code ``][comment foo ` bar][comment&formatting&formatting-code ``]\");\n\n  FT(\"formatting_atxHeader\",\n     \"[header&header-1&formatting&formatting-header&formatting-header-1 #][header&header-1  foo # bar ][header&header-1&formatting&formatting-header&formatting-header-1 #]\");\n\n  FT(\"formatting_setextHeader\",\n     \"foo\",\n     \"[header&header-1&formatting&formatting-header&formatting-header-1 =]\");\n\n  FT(\"formatting_blockquote\",\n     \"[quote&quote-1&formatting&formatting-quote&formatting-quote-1 > ][quote&quote-1 foo]\");\n\n  FT(\"formatting_list\",\n     \"[variable-2&formatting&formatting-list&formatting-list-ul - ][variable-2 foo]\");\n  FT(\"formatting_list\",\n     \"[variable-2&formatting&formatting-list&formatting-list-ol 1. ][variable-2 foo]\");\n\n  FT(\"formatting_link\",\n     \"[link&formatting&formatting-link [][link foo][link&formatting&formatting-link ]]][string&formatting&formatting-link-string (][string http://example.com/][string&formatting&formatting-link-string )]\");\n\n  FT(\"formatting_linkReference\",\n     \"[link&formatting&formatting-link [][link foo][link&formatting&formatting-link ]]][string&formatting&formatting-link-string [][string bar][string&formatting&formatting-link-string ]]]\",\n     \"[link&formatting&formatting-link [][link bar][link&formatting&formatting-link ]]:] [string http://example.com/]\");\n\n  FT(\"formatting_linkWeb\",\n     \"[link&formatting&formatting-link <][link http://example.com/][link&formatting&formatting-link >]\");\n\n  FT(\"formatting_linkEmail\",\n     \"[link&formatting&formatting-link <][link user@example.com][link&formatting&formatting-link >]\");\n\n  FT(\"formatting_escape\",\n     \"[formatting-escape \\\\*]\");\n\n  MT(\"plainText\",\n     \"foo\");\n\n  // Don't style single trailing space\n  MT(\"trailingSpace1\",\n     \"foo \");\n\n  // Two or more trailing spaces should be styled with line break character\n  MT(\"trailingSpace2\",\n     \"foo[trailing-space-a  ][trailing-space-new-line  ]\");\n\n  MT(\"trailingSpace3\",\n     \"foo[trailing-space-a  ][trailing-space-b  ][trailing-space-new-line  ]\");\n\n  MT(\"trailingSpace4\",\n     \"foo[trailing-space-a  ][trailing-space-b  ][trailing-space-a  ][trailing-space-new-line  ]\");\n\n  // Code blocks using 4 spaces (regardless of CodeMirror.tabSize value)\n  MT(\"codeBlocksUsing4Spaces\",\n     \"    [comment foo]\");\n\n  // Code blocks using 4 spaces with internal indentation\n  MT(\"codeBlocksUsing4SpacesIndentation\",\n     \"    [comment bar]\",\n     \"        [comment hello]\",\n     \"            [comment world]\",\n     \"    [comment foo]\",\n     \"bar\");\n\n  // Code blocks using 4 spaces with internal indentation\n  MT(\"codeBlocksUsing4SpacesIndentation\",\n     \" foo\",\n     \"    [comment bar]\",\n     \"        [comment hello]\",\n     \"    [comment world]\");\n\n  // Code blocks should end even after extra indented lines\n  MT(\"codeBlocksWithTrailingIndentedLine\",\n     \"    [comment foo]\",\n     \"        [comment bar]\",\n     \"    [comment baz]\",\n     \"    \",\n     \"hello\");\n\n  // Code blocks using 1 tab (regardless of CodeMirror.indentWithTabs value)\n  MT(\"codeBlocksUsing1Tab\",\n     \"\\t[comment foo]\");\n\n  // Inline code using backticks\n  MT(\"inlineCodeUsingBackticks\",\n     \"foo [comment `bar`]\");\n\n  // Block code using single backtick (shouldn't work)\n  MT(\"blockCodeSingleBacktick\",\n     \"[comment `]\",\n     \"foo\",\n     \"[comment `]\");\n\n  // Unclosed backticks\n  // Instead of simply marking as CODE, it would be nice to have an\n  // incomplete flag for CODE, that is styled slightly different.\n  MT(\"unclosedBackticks\",\n     \"foo [comment `bar]\");\n\n  // Per documentation: \"To include a literal backtick character within a\n  // code span, you can use multiple backticks as the opening and closing\n  // delimiters\"\n  MT(\"doubleBackticks\",\n     \"[comment ``foo ` bar``]\");\n\n  // Tests based on Dingus\n  // http://daringfireball.net/projects/markdown/dingus\n  //\n  // Multiple backticks within an inline code block\n  MT(\"consecutiveBackticks\",\n     \"[comment `foo```bar`]\");\n\n  // Multiple backticks within an inline code block with a second code block\n  MT(\"consecutiveBackticks\",\n     \"[comment `foo```bar`] hello [comment `world`]\");\n\n  // Unclosed with several different groups of backticks\n  MT(\"unclosedBackticks\",\n     \"[comment ``foo ``` bar` hello]\");\n\n  // Closed with several different groups of backticks\n  MT(\"closedBackticks\",\n     \"[comment ``foo ``` bar` hello``] world\");\n\n  // atx headers\n  // http://daringfireball.net/projects/markdown/syntax#header\n\n  MT(\"atxH1\",\n     \"[header&header-1 # foo]\");\n\n  MT(\"atxH2\",\n     \"[header&header-2 ## foo]\");\n\n  MT(\"atxH3\",\n     \"[header&header-3 ### foo]\");\n\n  MT(\"atxH4\",\n     \"[header&header-4 #### foo]\");\n\n  MT(\"atxH5\",\n     \"[header&header-5 ##### foo]\");\n\n  MT(\"atxH6\",\n     \"[header&header-6 ###### foo]\");\n\n  // H6 - 7x '#' should still be H6, per Dingus\n  // http://daringfireball.net/projects/markdown/dingus\n  MT(\"atxH6NotH7\",\n     \"[header&header-6 ####### foo]\");\n\n  // Inline styles should be parsed inside headers\n  MT(\"atxH1inline\",\n     \"[header&header-1 # foo ][header&header-1&em *bar*]\");\n\n  // Setext headers - H1, H2\n  // Per documentation, \"Any number of underlining =’s or -’s will work.\"\n  // http://daringfireball.net/projects/markdown/syntax#header\n  // Ideally, the text would be marked as `header` as well, but this is\n  // not really feasible at the moment. So, instead, we're testing against\n  // what works today, to avoid any regressions.\n  //\n  // Check if single underlining = works\n  MT(\"setextH1\",\n     \"foo\",\n     \"[header&header-1 =]\");\n\n  // Check if 3+ ='s work\n  MT(\"setextH1\",\n     \"foo\",\n     \"[header&header-1 ===]\");\n\n  // Check if single underlining - works\n  MT(\"setextH2\",\n     \"foo\",\n     \"[header&header-2 -]\");\n\n  // Check if 3+ -'s work\n  MT(\"setextH2\",\n     \"foo\",\n     \"[header&header-2 ---]\");\n\n  // Single-line blockquote with trailing space\n  MT(\"blockquoteSpace\",\n     \"[quote&quote-1 > foo]\");\n\n  // Single-line blockquote\n  MT(\"blockquoteNoSpace\",\n     \"[quote&quote-1 >foo]\");\n\n  // No blank line before blockquote\n  MT(\"blockquoteNoBlankLine\",\n     \"foo\",\n     \"[quote&quote-1 > bar]\");\n\n  // Nested blockquote\n  MT(\"blockquoteSpace\",\n     \"[quote&quote-1 > foo]\",\n     \"[quote&quote-1 >][quote&quote-2 > foo]\",\n     \"[quote&quote-1 >][quote&quote-2 >][quote&quote-3 > foo]\");\n\n  // Single-line blockquote followed by normal paragraph\n  MT(\"blockquoteThenParagraph\",\n     \"[quote&quote-1 >foo]\",\n     \"\",\n     \"bar\");\n\n  // Multi-line blockquote (lazy mode)\n  MT(\"multiBlockquoteLazy\",\n     \"[quote&quote-1 >foo]\",\n     \"[quote&quote-1 bar]\");\n\n  // Multi-line blockquote followed by normal paragraph (lazy mode)\n  MT(\"multiBlockquoteLazyThenParagraph\",\n     \"[quote&quote-1 >foo]\",\n     \"[quote&quote-1 bar]\",\n     \"\",\n     \"hello\");\n\n  // Multi-line blockquote (non-lazy mode)\n  MT(\"multiBlockquote\",\n     \"[quote&quote-1 >foo]\",\n     \"[quote&quote-1 >bar]\");\n\n  // Multi-line blockquote followed by normal paragraph (non-lazy mode)\n  MT(\"multiBlockquoteThenParagraph\",\n     \"[quote&quote-1 >foo]\",\n     \"[quote&quote-1 >bar]\",\n     \"\",\n     \"hello\");\n\n  // Check list types\n\n  MT(\"listAsterisk\",\n     \"foo\",\n     \"bar\",\n     \"\",\n     \"[variable-2 * foo]\",\n     \"[variable-2 * bar]\");\n\n  MT(\"listPlus\",\n     \"foo\",\n     \"bar\",\n     \"\",\n     \"[variable-2 + foo]\",\n     \"[variable-2 + bar]\");\n\n  MT(\"listDash\",\n     \"foo\",\n     \"bar\",\n     \"\",\n     \"[variable-2 - foo]\",\n     \"[variable-2 - bar]\");\n\n  MT(\"listNumber\",\n     \"foo\",\n     \"bar\",\n     \"\",\n     \"[variable-2 1. foo]\",\n     \"[variable-2 2. bar]\");\n\n  // Lists require a preceding blank line (per Dingus)\n  MT(\"listBogus\",\n     \"foo\",\n     \"1. bar\",\n     \"2. hello\");\n\n  // List after header\n  MT(\"listAfterHeader\",\n     \"[header&header-1 # foo]\",\n     \"[variable-2 - bar]\");\n\n  // Formatting in lists (*)\n  MT(\"listAsteriskFormatting\",\n     \"[variable-2 * ][variable-2&em *foo*][variable-2  bar]\",\n     \"[variable-2 * ][variable-2&strong **foo**][variable-2  bar]\",\n     \"[variable-2 * ][variable-2&strong **][variable-2&em&strong *foo**][variable-2&em *][variable-2  bar]\",\n     \"[variable-2 * ][variable-2&comment `foo`][variable-2  bar]\");\n\n  // Formatting in lists (+)\n  MT(\"listPlusFormatting\",\n     \"[variable-2 + ][variable-2&em *foo*][variable-2  bar]\",\n     \"[variable-2 + ][variable-2&strong **foo**][variable-2  bar]\",\n     \"[variable-2 + ][variable-2&strong **][variable-2&em&strong *foo**][variable-2&em *][variable-2  bar]\",\n     \"[variable-2 + ][variable-2&comment `foo`][variable-2  bar]\");\n\n  // Formatting in lists (-)\n  MT(\"listDashFormatting\",\n     \"[variable-2 - ][variable-2&em *foo*][variable-2  bar]\",\n     \"[variable-2 - ][variable-2&strong **foo**][variable-2  bar]\",\n     \"[variable-2 - ][variable-2&strong **][variable-2&em&strong *foo**][variable-2&em *][variable-2  bar]\",\n     \"[variable-2 - ][variable-2&comment `foo`][variable-2  bar]\");\n\n  // Formatting in lists (1.)\n  MT(\"listNumberFormatting\",\n     \"[variable-2 1. ][variable-2&em *foo*][variable-2  bar]\",\n     \"[variable-2 2. ][variable-2&strong **foo**][variable-2  bar]\",\n     \"[variable-2 3. ][variable-2&strong **][variable-2&em&strong *foo**][variable-2&em *][variable-2  bar]\",\n     \"[variable-2 4. ][variable-2&comment `foo`][variable-2  bar]\");\n\n  // Paragraph lists\n  MT(\"listParagraph\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\");\n\n  // Multi-paragraph lists\n  //\n  // 4 spaces\n  MT(\"listMultiParagraph\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"    [variable-2 hello]\");\n\n  // 4 spaces, extra blank lines (should still be list, per Dingus)\n  MT(\"listMultiParagraphExtra\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"\",\n     \"    [variable-2 hello]\");\n\n  // 4 spaces, plus 1 space (should still be list, per Dingus)\n  MT(\"listMultiParagraphExtraSpace\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"     [variable-2 hello]\",\n     \"\",\n     \"    [variable-2 world]\");\n\n  // 1 tab\n  MT(\"listTab\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"\\t[variable-2 hello]\");\n\n  // No indent\n  MT(\"listNoIndent\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"hello\");\n\n  // Blockquote\n  MT(\"blockquote\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"    [variable-2&quote&quote-1 > hello]\");\n\n  // Code block\n  MT(\"blockquoteCode\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"        [comment > hello]\",\n     \"\",\n     \"    [variable-2 world]\");\n\n  // Code block followed by text\n  MT(\"blockquoteCodeText\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"    [variable-2 bar]\",\n     \"\",\n     \"        [comment hello]\",\n     \"\",\n     \"    [variable-2 world]\");\n\n  // Nested list\n\n  MT(\"listAsteriskNested\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"    [variable-3 * bar]\");\n\n  MT(\"listPlusNested\",\n     \"[variable-2 + foo]\",\n     \"\",\n     \"    [variable-3 + bar]\");\n\n  MT(\"listDashNested\",\n     \"[variable-2 - foo]\",\n     \"\",\n     \"    [variable-3 - bar]\");\n\n  MT(\"listNumberNested\",\n     \"[variable-2 1. foo]\",\n     \"\",\n     \"    [variable-3 2. bar]\");\n\n  MT(\"listMixed\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"    [variable-3 + bar]\",\n     \"\",\n     \"        [keyword - hello]\",\n     \"\",\n     \"            [variable-2 1. world]\");\n\n  MT(\"listBlockquote\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"    [variable-3 + bar]\",\n     \"\",\n     \"        [quote&quote-1&variable-3 > hello]\");\n\n  MT(\"listCode\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"    [variable-3 + bar]\",\n     \"\",\n     \"            [comment hello]\");\n\n  // Code with internal indentation\n  MT(\"listCodeIndentation\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"        [comment bar]\",\n     \"            [comment hello]\",\n     \"                [comment world]\",\n     \"        [comment foo]\",\n     \"    [variable-2 bar]\");\n\n  // List nesting edge cases\n  MT(\"listNested\",\n    \"[variable-2 * foo]\",\n    \"\",\n    \"    [variable-3 * bar]\",\n    \"\",\n    \"       [variable-2 hello]\"\n  );\n  MT(\"listNested\",\n    \"[variable-2 * foo]\",\n    \"\",\n    \"    [variable-3 * bar]\",\n    \"\",\n    \"      [variable-3 * foo]\"\n  );\n\n  // Code followed by text\n  MT(\"listCodeText\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"        [comment bar]\",\n     \"\",\n     \"hello\");\n\n  // Following tests directly from official Markdown documentation\n  // http://daringfireball.net/projects/markdown/syntax#hr\n\n  MT(\"hrSpace\",\n     \"[hr * * *]\");\n\n  MT(\"hr\",\n     \"[hr ***]\");\n\n  MT(\"hrLong\",\n     \"[hr *****]\");\n\n  MT(\"hrSpaceDash\",\n     \"[hr - - -]\");\n\n  MT(\"hrDashLong\",\n     \"[hr ---------------------------------------]\");\n\n  // Inline link with title\n  MT(\"linkTitle\",\n     \"[link [[foo]]][string (http://example.com/ \\\"bar\\\")] hello\");\n\n  // Inline link without title\n  MT(\"linkNoTitle\",\n     \"[link [[foo]]][string (http://example.com/)] bar\");\n\n  // Inline link with image\n  MT(\"linkImage\",\n     \"[link [[][tag ![[foo]]][string (http://example.com/)][link ]]][string (http://example.com/)] bar\");\n\n  // Inline link with Em\n  MT(\"linkEm\",\n     \"[link [[][link&em *foo*][link ]]][string (http://example.com/)] bar\");\n\n  // Inline link with Strong\n  MT(\"linkStrong\",\n     \"[link [[][link&strong **foo**][link ]]][string (http://example.com/)] bar\");\n\n  // Inline link with EmStrong\n  MT(\"linkEmStrong\",\n     \"[link [[][link&strong **][link&em&strong *foo**][link&em *][link ]]][string (http://example.com/)] bar\");\n\n  // Image with title\n  MT(\"imageTitle\",\n     \"[tag ![[foo]]][string (http://example.com/ \\\"bar\\\")] hello\");\n\n  // Image without title\n  MT(\"imageNoTitle\",\n     \"[tag ![[foo]]][string (http://example.com/)] bar\");\n\n  // Image with asterisks\n  MT(\"imageAsterisks\",\n     \"[tag ![[*foo*]]][string (http://example.com/)] bar\");\n\n  // Not a link. Should be normal text due to square brackets being used\n  // regularly in text, especially in quoted material, and no space is allowed\n  // between square brackets and parentheses (per Dingus).\n  MT(\"notALink\",\n     \"[[foo]] (bar)\");\n\n  // Reference-style links\n  MT(\"linkReference\",\n     \"[link [[foo]]][string [[bar]]] hello\");\n\n  // Reference-style links with Em\n  MT(\"linkReferenceEm\",\n     \"[link [[][link&em *foo*][link ]]][string [[bar]]] hello\");\n\n  // Reference-style links with Strong\n  MT(\"linkReferenceStrong\",\n     \"[link [[][link&strong **foo**][link ]]][string [[bar]]] hello\");\n\n  // Reference-style links with EmStrong\n  MT(\"linkReferenceEmStrong\",\n     \"[link [[][link&strong **][link&em&strong *foo**][link&em *][link ]]][string [[bar]]] hello\");\n\n  // Reference-style links with optional space separator (per docuentation)\n  // \"You can optionally use a space to separate the sets of brackets\"\n  MT(\"linkReferenceSpace\",\n     \"[link [[foo]]] [string [[bar]]] hello\");\n\n  // Should only allow a single space (\"...use *a* space...\")\n  MT(\"linkReferenceDoubleSpace\",\n     \"[[foo]]  [[bar]] hello\");\n\n  // Reference-style links with implicit link name\n  MT(\"linkImplicit\",\n     \"[link [[foo]]][string [[]]] hello\");\n\n  // @todo It would be nice if, at some point, the document was actually\n  // checked to see if the referenced link exists\n\n  // Link label, for reference-style links (taken from documentation)\n\n  MT(\"labelNoTitle\",\n     \"[link [[foo]]:] [string http://example.com/]\");\n\n  MT(\"labelIndented\",\n     \"   [link [[foo]]:] [string http://example.com/]\");\n\n  MT(\"labelSpaceTitle\",\n     \"[link [[foo bar]]:] [string http://example.com/ \\\"hello\\\"]\");\n\n  MT(\"labelDoubleTitle\",\n     \"[link [[foo bar]]:] [string http://example.com/ \\\"hello\\\"] \\\"world\\\"\");\n\n  MT(\"labelTitleDoubleQuotes\",\n     \"[link [[foo]]:] [string http://example.com/  \\\"bar\\\"]\");\n\n  MT(\"labelTitleSingleQuotes\",\n     \"[link [[foo]]:] [string http://example.com/  'bar']\");\n\n  MT(\"labelTitleParenthese\",\n     \"[link [[foo]]:] [string http://example.com/  (bar)]\");\n\n  MT(\"labelTitleInvalid\",\n     \"[link [[foo]]:] [string http://example.com/] bar\");\n\n  MT(\"labelLinkAngleBrackets\",\n     \"[link [[foo]]:] [string <http://example.com/>  \\\"bar\\\"]\");\n\n  MT(\"labelTitleNextDoubleQuotes\",\n     \"[link [[foo]]:] [string http://example.com/]\",\n     \"[string \\\"bar\\\"] hello\");\n\n  MT(\"labelTitleNextSingleQuotes\",\n     \"[link [[foo]]:] [string http://example.com/]\",\n     \"[string 'bar'] hello\");\n\n  MT(\"labelTitleNextParenthese\",\n     \"[link [[foo]]:] [string http://example.com/]\",\n     \"[string (bar)] hello\");\n\n  MT(\"labelTitleNextMixed\",\n     \"[link [[foo]]:] [string http://example.com/]\",\n     \"(bar\\\" hello\");\n\n  MT(\"linkWeb\",\n     \"[link <http://example.com/>] foo\");\n\n  MT(\"linkWebDouble\",\n     \"[link <http://example.com/>] foo [link <http://example.com/>]\");\n\n  MT(\"linkEmail\",\n     \"[link <user@example.com>] foo\");\n\n  MT(\"linkEmailDouble\",\n     \"[link <user@example.com>] foo [link <user@example.com>]\");\n\n  MT(\"emAsterisk\",\n     \"[em *foo*] bar\");\n\n  MT(\"emUnderscore\",\n     \"[em _foo_] bar\");\n\n  MT(\"emInWordAsterisk\",\n     \"foo[em *bar*]hello\");\n\n  MT(\"emInWordUnderscore\",\n     \"foo[em _bar_]hello\");\n\n  // Per documentation: \"...surround an * or _ with spaces, it’ll be\n  // treated as a literal asterisk or underscore.\"\n\n  MT(\"emEscapedBySpaceIn\",\n     \"foo [em _bar _ hello_] world\");\n\n  MT(\"emEscapedBySpaceOut\",\n     \"foo _ bar[em _hello_]world\");\n\n  MT(\"emEscapedByNewline\",\n     \"foo\",\n     \"_ bar[em _hello_]world\");\n\n  // Unclosed emphasis characters\n  // Instead of simply marking as EM / STRONG, it would be nice to have an\n  // incomplete flag for EM and STRONG, that is styled slightly different.\n  MT(\"emIncompleteAsterisk\",\n     \"foo [em *bar]\");\n\n  MT(\"emIncompleteUnderscore\",\n     \"foo [em _bar]\");\n\n  MT(\"strongAsterisk\",\n     \"[strong **foo**] bar\");\n\n  MT(\"strongUnderscore\",\n     \"[strong __foo__] bar\");\n\n  MT(\"emStrongAsterisk\",\n     \"[em *foo][em&strong **bar*][strong hello**] world\");\n\n  MT(\"emStrongUnderscore\",\n     \"[em _foo][em&strong __bar_][strong hello__] world\");\n\n  // \"...same character must be used to open and close an emphasis span.\"\"\n  MT(\"emStrongMixed\",\n     \"[em _foo][em&strong **bar*hello__ world]\");\n\n  MT(\"emStrongMixed\",\n     \"[em *foo][em&strong __bar_hello** world]\");\n\n  // These characters should be escaped:\n  // \\   backslash\n  // `   backtick\n  // *   asterisk\n  // _   underscore\n  // {}  curly braces\n  // []  square brackets\n  // ()  parentheses\n  // #   hash mark\n  // +   plus sign\n  // -   minus sign (hyphen)\n  // .   dot\n  // !   exclamation mark\n\n  MT(\"escapeBacktick\",\n     \"foo \\\\`bar\\\\`\");\n\n  MT(\"doubleEscapeBacktick\",\n     \"foo \\\\\\\\[comment `bar\\\\\\\\`]\");\n\n  MT(\"escapeAsterisk\",\n     \"foo \\\\*bar\\\\*\");\n\n  MT(\"doubleEscapeAsterisk\",\n     \"foo \\\\\\\\[em *bar\\\\\\\\*]\");\n\n  MT(\"escapeUnderscore\",\n     \"foo \\\\_bar\\\\_\");\n\n  MT(\"doubleEscapeUnderscore\",\n     \"foo \\\\\\\\[em _bar\\\\\\\\_]\");\n\n  MT(\"escapeHash\",\n     \"\\\\# foo\");\n\n  MT(\"doubleEscapeHash\",\n     \"\\\\\\\\# foo\");\n\n  MT(\"escapeNewline\",\n     \"\\\\\",\n     \"[em *foo*]\");\n\n\n  // Tests to make sure GFM-specific things aren't getting through\n\n  MT(\"taskList\",\n     \"[variable-2 * [ ]] bar]\");\n\n  MT(\"fencedCodeBlocks\",\n     \"[comment ```]\",\n     \"foo\",\n     \"[comment ```]\");\n\n  // Tests that require XML mode\n\n  MT(\"xmlMode\",\n     \"[tag&bracket <][tag div][tag&bracket >]\",\n     \"*foo*\",\n     \"[tag&bracket <][tag http://github.com][tag&bracket />]\",\n     \"[tag&bracket </][tag div][tag&bracket >]\",\n     \"[link <http://github.com/>]\");\n\n  MT(\"xmlModeWithMarkdownInside\",\n     \"[tag&bracket <][tag div] [attribute markdown]=[string 1][tag&bracket >]\",\n     \"[em *foo*]\",\n     \"[link <http://github.com/>]\",\n     \"[tag </div>]\",\n     \"[link <http://github.com/>]\",\n     \"[tag&bracket <][tag div][tag&bracket >]\",\n     \"[tag&bracket </][tag div][tag&bracket >]\");\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/meta.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.modeInfo = [\n    {name: \"APL\", mime: \"text/apl\", mode: \"apl\", ext: [\"dyalog\", \"apl\"]},\n    {name: \"Asterisk\", mime: \"text/x-asterisk\", mode: \"asterisk\", file: /^extensions\\.conf$/i},\n    {name: \"C\", mime: \"text/x-csrc\", mode: \"clike\", ext: [\"c\", \"h\"]},\n    {name: \"C++\", mime: \"text/x-c++src\", mode: \"clike\", ext: [\"cpp\", \"c++\", \"cc\", \"cxx\", \"hpp\", \"h++\", \"hh\", \"hxx\"], alias: [\"cpp\"]},\n    {name: \"Cobol\", mime: \"text/x-cobol\", mode: \"cobol\", ext: [\"cob\", \"cpy\"]},\n    {name: \"C#\", mime: \"text/x-csharp\", mode: \"clike\", ext: [\"cs\"], alias: [\"csharp\"]},\n    {name: \"Clojure\", mime: \"text/x-clojure\", mode: \"clojure\", ext: [\"clj\"]},\n    {name: \"CoffeeScript\", mime: \"text/x-coffeescript\", mode: \"coffeescript\", ext: [\"coffee\"], alias: [\"coffee\", \"coffee-script\"]},\n    {name: \"Common Lisp\", mime: \"text/x-common-lisp\", mode: \"commonlisp\", ext: [\"cl\", \"lisp\", \"el\"], alias: [\"lisp\"]},\n    {name: \"Cypher\", mime: \"application/x-cypher-query\", mode: \"cypher\", ext: [\"cyp\", \"cypher\"]},\n    {name: \"Cython\", mime: \"text/x-cython\", mode: \"python\", ext: [\"pyx\", \"pxd\", \"pxi\"]},\n    {name: \"CSS\", mime: \"text/css\", mode: \"css\", ext: [\"css\"]},\n    {name: \"CQL\", mime: \"text/x-cassandra\", mode: \"sql\", ext: [\"cql\"]},\n    {name: \"D\", mime: \"text/x-d\", mode: \"d\", ext: [\"d\"]},\n    {name: \"Dart\", mimes: [\"application/dart\", \"text/x-dart\"], mode: \"dart\", ext: [\"dart\"]},\n    {name: \"diff\", mime: \"text/x-diff\", mode: \"diff\", ext: [\"diff\", \"patch\"]},\n    {name: \"Django\", mime: \"text/x-django\", mode: \"django\"},\n    {name: \"Dockerfile\", mime: \"text/x-dockerfile\", mode: \"dockerfile\", file: /^Dockerfile$/},\n    {name: \"DTD\", mime: \"application/xml-dtd\", mode: \"dtd\", ext: [\"dtd\"]},\n    {name: \"Dylan\", mime: \"text/x-dylan\", mode: \"dylan\", ext: [\"dylan\", \"dyl\", \"intr\"]},\n    {name: \"EBNF\", mime: \"text/x-ebnf\", mode: \"ebnf\"},\n    {name: \"ECL\", mime: \"text/x-ecl\", mode: \"ecl\", ext: [\"ecl\"]},\n    {name: \"Eiffel\", mime: \"text/x-eiffel\", mode: \"eiffel\", ext: [\"e\"]},\n    {name: \"Embedded Javascript\", mime: \"application/x-ejs\", mode: \"htmlembedded\", ext: [\"ejs\"]},\n    {name: \"Embedded Ruby\", mime: \"application/x-erb\", mode: \"htmlembedded\", ext: [\"erb\"]},\n    {name: \"Erlang\", mime: \"text/x-erlang\", mode: \"erlang\", ext: [\"erl\"]},\n    {name: \"Forth\", mime: \"text/x-forth\", mode: \"forth\", ext: [\"forth\", \"fth\", \"4th\"]},\n    {name: \"Fortran\", mime: \"text/x-fortran\", mode: \"fortran\", ext: [\"f\", \"for\", \"f77\", \"f90\"]},\n    {name: \"F#\", mime: \"text/x-fsharp\", mode: \"mllike\", ext: [\"fs\"], alias: [\"fsharp\"]},\n    {name: \"Gas\", mime: \"text/x-gas\", mode: \"gas\", ext: [\"s\"]},\n    {name: \"Gherkin\", mime: \"text/x-feature\", mode: \"gherkin\", ext: [\"feature\"]},\n    {name: \"GitHub Flavored Markdown\", mime: \"text/x-gfm\", mode: \"gfm\", file: /^(readme|contributing|history).md$/i},\n    {name: \"Go\", mime: \"text/x-go\", mode: \"go\", ext: [\"go\"]},\n    {name: \"Groovy\", mime: \"text/x-groovy\", mode: \"groovy\", ext: [\"groovy\"]},\n    {name: \"HAML\", mime: \"text/x-haml\", mode: \"haml\", ext: [\"haml\"]},\n    {name: \"Haskell\", mime: \"text/x-haskell\", mode: \"haskell\", ext: [\"hs\"]},\n    {name: \"Haxe\", mime: \"text/x-haxe\", mode: \"haxe\", ext: [\"hx\"]},\n    {name: \"HXML\", mime: \"text/x-hxml\", mode: \"haxe\", ext: [\"hxml\"]},\n    {name: \"ASP.NET\", mime: \"application/x-aspx\", mode: \"htmlembedded\", ext: [\"aspx\"], alias: [\"asp\", \"aspx\"]},\n    {name: \"HTML\", mime: \"text/html\", mode: \"htmlmixed\", ext: [\"html\", \"htm\"], alias: [\"xhtml\"]},\n    {name: \"HTTP\", mime: \"message/http\", mode: \"http\"},\n    {name: \"IDL\", mime: \"text/x-idl\", mode: \"idl\", ext: [\"pro\"]},\n    {name: \"Jade\", mime: \"text/x-jade\", mode: \"jade\", ext: [\"jade\"]},\n    {name: \"Java\", mime: \"text/x-java\", mode: \"clike\", ext: [\"java\"]},\n    {name: \"Java Server Pages\", mime: \"application/x-jsp\", mode: \"htmlembedded\", ext: [\"jsp\"], alias: [\"jsp\"]},\n    {name: \"JavaScript\", mimes: [\"text/javascript\", \"text/ecmascript\", \"application/javascript\", \"application/x-javascript\", \"application/ecmascript\"],\n     mode: \"javascript\", ext: [\"js\"], alias: [\"ecmascript\", \"js\", \"node\"]},\n    {name: \"JSON\", mimes: [\"application/json\", \"application/x-json\"], mode: \"javascript\", ext: [\"json\", \"map\"], alias: [\"json5\"]},\n    {name: \"JSON-LD\", mime: \"application/ld+json\", mode: \"javascript\", ext: [\"jsonld\"], alias: [\"jsonld\"]},\n    {name: \"Jinja2\", mime: \"null\", mode: \"jinja2\"},\n    {name: \"Julia\", mime: \"text/x-julia\", mode: \"julia\", ext: [\"jl\"]},\n    {name: \"Kotlin\", mime: \"text/x-kotlin\", mode: \"kotlin\", ext: [\"kt\"]},\n    {name: \"LESS\", mime: \"text/x-less\", mode: \"css\", ext: [\"less\"]},\n    {name: \"LiveScript\", mime: \"text/x-livescript\", mode: \"livescript\", ext: [\"ls\"], alias: [\"ls\"]},\n    {name: \"Lua\", mime: \"text/x-lua\", mode: \"lua\", ext: [\"lua\"]},\n    {name: \"Markdown\", mime: \"text/x-markdown\", mode: \"markdown\", ext: [\"markdown\", \"md\", \"mkd\"]},\n    {name: \"mIRC\", mime: \"text/mirc\", mode: \"mirc\"},\n    {name: \"MariaDB SQL\", mime: \"text/x-mariadb\", mode: \"sql\"},\n    {name: \"Modelica\", mime: \"text/x-modelica\", mode: \"modelica\", ext: [\"mo\"]},\n    {name: \"MS SQL\", mime: \"text/x-mssql\", mode: \"sql\"},\n    {name: \"MySQL\", mime: \"text/x-mysql\", mode: \"sql\"},\n    {name: \"Nginx\", mime: \"text/x-nginx-conf\", mode: \"nginx\", file: /nginx.*\\.conf$/i},\n    {name: \"NTriples\", mime: \"text/n-triples\", mode: \"ntriples\", ext: [\"nt\"]},\n    {name: \"Objective C\", mime: \"text/x-objectivec\", mode: \"clike\", ext: [\"m\", \"mm\"]},\n    {name: \"OCaml\", mime: \"text/x-ocaml\", mode: \"mllike\", ext: [\"ml\", \"mli\", \"mll\", \"mly\"]},\n    {name: \"Octave\", mime: \"text/x-octave\", mode: \"octave\", ext: [\"m\"]},\n    {name: \"Pascal\", mime: \"text/x-pascal\", mode: \"pascal\", ext: [\"p\", \"pas\"]},\n    {name: \"PEG.js\", mime: \"null\", mode: \"pegjs\", ext: [\"jsonld\"]},\n    {name: \"Perl\", mime: \"text/x-perl\", mode: \"perl\", ext: [\"pl\", \"pm\"]},\n    {name: \"PHP\", mime: \"application/x-httpd-php\", mode: \"php\", ext: [\"php\", \"php3\", \"php4\", \"php5\", \"phtml\"]},\n    {name: \"Pig\", mime: \"text/x-pig\", mode: \"pig\", ext: [\"pig\"]},\n    {name: \"Plain Text\", mime: \"text/plain\", mode: \"null\", ext: [\"txt\", \"text\", \"conf\", \"def\", \"list\", \"log\"]},\n    {name: \"PLSQL\", mime: \"text/x-plsql\", mode: \"sql\", ext: [\"pls\"]},\n    {name: \"Properties files\", mime: \"text/x-properties\", mode: \"properties\", ext: [\"properties\", \"ini\", \"in\"], alias: [\"ini\", \"properties\"]},\n    {name: \"Python\", mime: \"text/x-python\", mode: \"python\", ext: [\"py\", \"pyw\"]},\n    {name: \"Puppet\", mime: \"text/x-puppet\", mode: \"puppet\", ext: [\"pp\"]},\n    {name: \"Q\", mime: \"text/x-q\", mode: \"q\", ext: [\"q\"]},\n    {name: \"R\", mime: \"text/x-rsrc\", mode: \"r\", ext: [\"r\"], alias: [\"rscript\"]},\n    {name: \"reStructuredText\", mime: \"text/x-rst\", mode: \"rst\", ext: [\"rst\"], alias: [\"rst\"]},\n    {name: \"RPM Changes\", mime: \"text/x-rpm-changes\", mode: \"rpm\"},\n    {name: \"RPM Spec\", mime: \"text/x-rpm-spec\", mode: \"rpm\", ext: [\"spec\"]},\n    {name: \"Ruby\", mime: \"text/x-ruby\", mode: \"ruby\", ext: [\"rb\"], alias: [\"jruby\", \"macruby\", \"rake\", \"rb\", \"rbx\"]},\n    {name: \"Rust\", mime: \"text/x-rustsrc\", mode: \"rust\", ext: [\"rs\"]},\n    {name: \"Sass\", mime: \"text/x-sass\", mode: \"sass\", ext: [\"sass\"]},\n    {name: \"Scala\", mime: \"text/x-scala\", mode: \"clike\", ext: [\"scala\"]},\n    {name: \"Scheme\", mime: \"text/x-scheme\", mode: \"scheme\", ext: [\"scm\", \"ss\"]},\n    {name: \"SCSS\", mime: \"text/x-scss\", mode: \"css\", ext: [\"scss\"]},\n    {name: \"Shell\", mime: \"text/x-sh\", mode: \"shell\", ext: [\"sh\", \"ksh\", \"bash\"], alias: [\"bash\", \"sh\", \"zsh\"]},\n    {name: \"Sieve\", mime: \"application/sieve\", mode: \"sieve\", ext: [\"siv\", \"sieve\"]},\n    {name: \"Slim\", mimes: [\"text/x-slim\", \"application/x-slim\"], mode: \"slim\", ext: [\"slim\"]},\n    {name: \"Smalltalk\", mime: \"text/x-stsrc\", mode: \"smalltalk\", ext: [\"st\"]},\n    {name: \"Smarty\", mime: \"text/x-smarty\", mode: \"smarty\", ext: [\"tpl\"]},\n    {name: \"SmartyMixed\", mime: \"text/x-smarty\", mode: \"smartymixed\"},\n    {name: \"Solr\", mime: \"text/x-solr\", mode: \"solr\"},\n    {name: \"Soy\", mime: \"text/x-soy\", mode: \"soy\", ext: [\"soy\"], alias: [\"closure template\"]},\n    {name: \"SPARQL\", mime: \"application/sparql-query\", mode: \"sparql\", ext: [\"rq\", \"sparql\"], alias: [\"sparul\"]},\n    {name: \"Spreadsheet\", mime: \"text/x-spreadsheet\", mode: \"spreadsheet\", alias: [\"excel\", \"formula\"]},\n    {name: \"SQL\", mime: \"text/x-sql\", mode: \"sql\", ext: [\"sql\"]},\n    {name: \"MariaDB\", mime: \"text/x-mariadb\", mode: \"sql\"},\n    {name: \"sTeX\", mime: \"text/x-stex\", mode: \"stex\"},\n    {name: \"LaTeX\", mime: \"text/x-latex\", mode: \"stex\", ext: [\"text\", \"ltx\"], alias: [\"tex\"]},\n    {name: \"SystemVerilog\", mime: \"text/x-systemverilog\", mode: \"verilog\", ext: [\"v\"]},\n    {name: \"Tcl\", mime: \"text/x-tcl\", mode: \"tcl\", ext: [\"tcl\"]},\n    {name: \"Textile\", mime: \"text/x-textile\", mode: \"textile\", ext: [\"textile\"]},\n    {name: \"TiddlyWiki \", mime: \"text/x-tiddlywiki\", mode: \"tiddlywiki\"},\n    {name: \"Tiki wiki\", mime: \"text/tiki\", mode: \"tiki\"},\n    {name: \"TOML\", mime: \"text/x-toml\", mode: \"toml\", ext: [\"toml\"]},\n    {name: \"Tornado\", mime: \"text/x-tornado\", mode: \"tornado\"},\n    {name: \"Turtle\", mime: \"text/turtle\", mode: \"turtle\", ext: [\"ttl\"]},\n    {name: \"TypeScript\", mime: \"application/typescript\", mode: \"javascript\", ext: [\"ts\"], alias: [\"ts\"]},\n    {name: \"VB.NET\", mime: \"text/x-vb\", mode: \"vb\", ext: [\"vb\"]},\n    {name: \"VBScript\", mime: \"text/vbscript\", mode: \"vbscript\", ext: [\"vbs\"]},\n    {name: \"Velocity\", mime: \"text/velocity\", mode: \"velocity\", ext: [\"vtl\"]},\n    {name: \"Verilog\", mime: \"text/x-verilog\", mode: \"verilog\", ext: [\"v\"]},\n    {name: \"XML\", mimes: [\"application/xml\", \"text/xml\"], mode: \"xml\", ext: [\"xml\", \"xsl\", \"xsd\"], alias: [\"rss\", \"wsdl\", \"xsd\"]},\n    {name: \"XQuery\", mime: \"application/xquery\", mode: \"xquery\", ext: [\"xy\", \"xquery\"]},\n    {name: \"YAML\", mime: \"text/x-yaml\", mode: \"yaml\", ext: [\"yaml\"], alias: [\"yml\"]},\n    {name: \"Z80\", mime: \"text/x-z80\", mode: \"z80\", ext: [\"z80\"]}\n  ];\n  // Ensure all modes have a mime property for backwards compatibility\n  for (var i = 0; i < CodeMirror.modeInfo.length; i++) {\n    var info = CodeMirror.modeInfo[i];\n    if (info.mimes) info.mime = info.mimes[0];\n  }\n\n  CodeMirror.findModeByMIME = function(mime) {\n    mime = mime.toLowerCase();\n    for (var i = 0; i < CodeMirror.modeInfo.length; i++) {\n      var info = CodeMirror.modeInfo[i];\n      if (info.mime == mime) return info;\n      if (info.mimes) for (var j = 0; j < info.mimes.length; j++)\n        if (info.mimes[j] == mime) return info;\n    }\n  };\n\n  CodeMirror.findModeByExtension = function(ext) {\n    for (var i = 0; i < CodeMirror.modeInfo.length; i++) {\n      var info = CodeMirror.modeInfo[i];\n      if (info.ext) for (var j = 0; j < info.ext.length; j++)\n        if (info.ext[j] == ext) return info;\n    }\n  };\n\n  CodeMirror.findModeByFileName = function(filename) {\n    for (var i = 0; i < CodeMirror.modeInfo.length; i++) {\n      var info = CodeMirror.modeInfo[i];\n      if (info.file && info.file.test(filename)) return info;\n    }\n    var dot = filename.lastIndexOf(\".\");\n    var ext = dot > -1 && filename.substring(dot + 1, filename.length);\n    if (ext) return CodeMirror.findModeByExtension(ext);\n  };\n\n  CodeMirror.findModeByName = function(name) {\n    name = name.toLowerCase();\n    for (var i = 0; i < CodeMirror.modeInfo.length; i++) {\n      var info = CodeMirror.modeInfo[i];\n      if (info.name.toLowerCase() == name) return info;\n      if (info.alias) for (var j = 0; j < info.alias.length; j++)\n        if (info.alias[j].toLowerCase() == name) return info;\n    }\n  };\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/mirc/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: mIRC mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/twilight.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"mirc.js\"></script>\n<style>.CodeMirror {border: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">mIRC</a>\n  </ul>\n</div>\n\n<article>\n<h2>mIRC mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n;AKA Nick Tracker by Ford_Lawnmower irc.GeekShed.net #Script-Help\n;*****************************************************************************;\n;**Start Setup\n;Change JoinDisplay, below, for On Join AKA Display. On = 1 - Off = 0\nalias -l JoinDisplay { return 1 }\n;Change MaxNicks, below, to the number of nicknames you want to store for each hostmask. I wouldn't go over 400 with this ;/\nalias -l MaxNicks { return 20 }\n;Change AKALogo, below, To the text you want displayed before each AKA result.\nalias -l AKALogo { return \u000306\u0007 \u000305A\u000306K\u000307A \u000306\u0007 }\n;**End Setup\n;*****************************************************************************;\nOn *:Join:#: {\n  if ($nick == $me) { .timer 1 1 ialupdateCheck $chan }\n  NickNamesAdd $nick $+($network,$wildsite)\n  if ($JoinDisplay) { .timerNickNames $+ $nick 1 2 NickNames.display $nick $chan $network $wildsite }\n}\non *:Nick: { NickNamesAdd $newnick $+($network,$wildsite) $nick }\nalias -l NickNames.display {\n  if ($gettok($hget(NickNames,$+($3,$4)),0,126) > 1) {\n    echo -g $2 $AKALogo $+(\u000309,$1) $AKALogo \u000307 $mid($replace($hget(NickNames,$+($3,$4)),$chr(126),$chr(44)),2,-1)\n  }\n}\nalias -l NickNamesAdd {\n  if ($hget(NickNames,$2)) {\n    if (!$regex($hget(NickNames,$2),/~\\Q $+ $replacecs($1,\\E,\\E\\\\E\\Q) $+ \\E~/i)) {\n      if ($gettok($hget(NickNames,$2),0,126) <= $MaxNicks) {\n        hadd NickNames $2 $+($hget(NickNames,$2),$1,~)\n      }\n      else {\n        hadd NickNames $2 $+($mid($hget(NickNames,$2),$pos($hget(NickNames,$2),~,2)),$1,~)\n      }\n    }\n  }\n  else {\n    hadd -m NickNames $2 $+(~,$1,~,$iif($3,$+($3,~)))\n  }\n}\nalias -l Fix.All.MindUser {\n  var %Fix.Count = $hfind(NickNames,/[^~]+[0-9]{4}~/,0,r).data\n  while (%Fix.Count) {\n    if ($Fix.MindUser($hget(NickNames,$hfind(NickNames,/[^~]+[0-9]{4}~/,%Fix.Count,r).data))) {\n      echo -ag Record %Fix.Count - $v1 - Was Cleaned\n      hadd NickNames $hfind(NickNames,/[^~]+[0-9]{4}~/,%Fix.Count,r).data $v1\n    }\n    dec %Fix.Count\n  }\n}\nalias -l Fix.MindUser { return $regsubex($1,/[^~]+[0-9]{4}~/g,$null) }\nmenu nicklist,query {\n  -\n  .AKA\n  ..Check $$1: {\n    if ($gettok($hget(NickNames,$+($network,$address($1,2))),0,126) > 1) {\n      NickNames.display $1 $active $network $address($1,2)\n    }\n    else { echo -ag $AKALogo $+(\u000309,$1) \u000307has not been known by any other nicknames while I have been watching. }\n  }\n  ..Cleanup $$1:hadd NickNames $+($network,$address($1,2)) $fix.minduser($hget(NickNames,$+($network,$address($1,2))))\n  ..Clear $$1:hadd NickNames $+($network,$address($1,2)) $+(~,$1,~)\n  ..AKA Search Dialog:dialog $iif($dialog(AKA_Search),-v,-m) AKA_Search AKA_Search\n  -\n}\nmenu status,channel {\n  -\n  .AKA\n  ..AKA Search Dialog:dialog $iif($dialog(AKA_Search),-v,-m) AKA_Search AKA_Search\n  ..Clean All Records:Fix.All.Minduser\n  -\n}\ndialog AKA_Search {\n  title \"AKA Search Engine\"\n  size -1 -1 206 221\n  option dbu\n  edit \"\", 1, 8 5 149 10, autohs\n  button \"Search\", 2, 163 4 32 12\n  radio \"Search HostMask\", 4, 61 22 55 10\n  radio \"Search Nicknames\", 5, 123 22 56 10\n  list 6, 8 38 190 169, sort extsel vsbar\n  button \"Check Selected\", 7, 67 206 40 12\n  button \"Close\", 8, 160 206 38 12, cancel\n  box \"Search Type\", 3, 11 17 183 18\n  button \"Copy to Clipboard\", 9, 111 206 46 12\n}\nOn *:Dialog:Aka_Search:init:*: { did -c $dname 5 }\nOn *:Dialog:Aka_Search:Sclick:2,7,9: {\n  if ($did == 2) && ($did($dname,1)) {\n    did -r $dname 6\n    var %search $+(*,$v1,*), %type $iif($did($dname,5).state,data,item), %matches = $hfind(NickNames,%search,0,w). [ $+ [ %type ] ]\n    while (%matches) {\n      did -a $dname 6 $hfind(NickNames,%search,%matches,w). [ $+ [ %type ] ]\n      dec %matches\n    }\n    did -c $dname 6 1\n  }\n  elseif ($did == 7) && ($did($dname,6).seltext) { echo -ga $AKALogo \u000307 $mid($replace($hget(NickNames,$v1),$chr(126),$chr(44)),2,-1) }\n  elseif ($did == 9) && ($did($dname,6).seltext) { clipboard $mid($v1,$pos($v1,*,1)) }\n}\nOn *:Start:{\n  if (!$hget(NickNames)) { hmake NickNames 10 }\n  if ($isfile(NickNames.hsh)) { hload  NickNames NickNames.hsh }\n}\nOn *:Exit: { if ($hget(NickNames)) { hsave NickNames NickNames.hsh } }\nOn *:Disconnect: { if ($hget(NickNames)) { hsave NickNames NickNames.hsh } }\nOn *:Unload: { hfree NickNames }\nalias -l ialupdateCheck {\n  inc -z $+(%,ialupdateCheck,$network) $calc($nick($1,0) / 4)\n  ;If your ial is already being updated on join .who $1 out.\n  ;If you are using /names to update ial you will still need this line.\n  .who $1\n}\nRaw 352:*: {\n  if ($($+(%,ialupdateCheck,$network),2)) haltdef\n  NickNamesAdd $6 $+($network,$address($6,2))\n}\nRaw 315:*: {\n  if ($($+(%,ialupdateCheck,$network),2)) haltdef\n}\n\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        theme: \"twilight\",\n        lineNumbers: true,\n        matchBrackets: true,\n        indentUnit: 4,\n        mode: \"text/mirc\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/mirc</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/mirc/mirc.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n//mIRC mode by Ford_Lawnmower :: Based on Velocity mode by Steve O'Hara\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMIME(\"text/mirc\", \"mirc\");\nCodeMirror.defineMode(\"mirc\", function() {\n  function parseWords(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var specials = parseWords(\"$! $$ $& $? $+ $abook $abs $active $activecid \" +\n                            \"$activewid $address $addtok $agent $agentname $agentstat $agentver \" +\n                            \"$alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime \" +\n                            \"$asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind \" +\n                            \"$binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes \" +\n                            \"$chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color \" +\n                            \"$com $comcall $comchan $comerr $compact $compress $comval $cos $count \" +\n                            \"$cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight \" +\n                            \"$dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress \" +\n                            \"$deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll \" +\n                            \"$dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error \" +\n                            \"$eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir \" +\n                            \"$finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve \" +\n                            \"$fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt \" +\n                            \"$group $halted $hash $height $hfind $hget $highlight $hnick $hotline \" +\n                            \"$hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil \" +\n                            \"$inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect \" +\n                            \"$insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile \" +\n                            \"$isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive \" +\n                            \"$lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock \" +\n                            \"$lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer \" +\n                            \"$maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext \" +\n                            \"$menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode \" +\n                            \"$modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile \" +\n                            \"$nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly \" +\n                            \"$opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree \" +\n                            \"$pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo \" +\n                            \"$readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex \" +\n                            \"$reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline \" +\n                            \"$sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin \" +\n                            \"$site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname \" +\n                            \"$sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped \" +\n                            \"$syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp \" +\n                            \"$timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel \" +\n                            \"$ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver \" +\n                            \"$version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor\");\n  var keywords = parseWords(\"abook ajinvite alias aline ame amsg anick aop auser autojoin avoice \" +\n                            \"away background ban bcopy beep bread break breplace bset btrunc bunset bwrite \" +\n                            \"channel clear clearall cline clipboard close cnick color comclose comopen \" +\n                            \"comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver \" +\n                            \"debug dec describe dialog did didtok disable disconnect dlevel dline dll \" +\n                            \"dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace \" +\n                            \"drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable \" +\n                            \"events exit fclose filter findtext finger firewall flash flist flood flush \" +\n                            \"flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove \" +\n                            \"gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd \" +\n                            \"halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear \" +\n                            \"ialmark identd if ignore iline inc invite iuser join kick linesep links list \" +\n                            \"load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice \" +\n                            \"notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice \" +\n                            \"qme qmsg query queryn quit raw reload remini remote remove rename renwin \" +\n                            \"reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini \" +\n                            \"say scid scon server set showmirc signam sline sockaccept sockclose socklist \" +\n                            \"socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite \" +\n                            \"sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize \" +\n                            \"toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho \" +\n                            \"var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum \" +\n                            \"isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower \" +\n                            \"isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs \" +\n                            \"elseif else goto menu nicklist status title icon size option text edit \" +\n                            \"button check radio box scroll list combo link tab item\");\n  var functions = parseWords(\"if elseif else and not or eq ne in ni for foreach while switch\");\n  var isOperatorChar = /[+\\-*&%=<>!?^\\/\\|]/;\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n  function tokenBase(stream, state) {\n    var beforeParams = state.beforeParams;\n    state.beforeParams = false;\n    var ch = stream.next();\n    if (/[\\[\\]{}\\(\\),\\.]/.test(ch)) {\n      if (ch == \"(\" && beforeParams) state.inParams = true;\n      else if (ch == \")\") state.inParams = false;\n      return null;\n    }\n    else if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    else if (ch == \"\\\\\") {\n      stream.eat(\"\\\\\");\n      stream.eat(/./);\n      return \"number\";\n    }\n    else if (ch == \"/\" && stream.eat(\"*\")) {\n      return chain(stream, state, tokenComment);\n    }\n    else if (ch == \";\" && stream.match(/ *\\( *\\(/)) {\n      return chain(stream, state, tokenUnparsed);\n    }\n    else if (ch == \";\" && !state.inParams) {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    else if (ch == '\"') {\n      stream.eat(/\"/);\n      return \"keyword\";\n    }\n    else if (ch == \"$\") {\n      stream.eatWhile(/[$_a-z0-9A-Z\\.:]/);\n      if (specials && specials.propertyIsEnumerable(stream.current().toLowerCase())) {\n        return \"keyword\";\n      }\n      else {\n        state.beforeParams = true;\n        return \"builtin\";\n      }\n    }\n    else if (ch == \"%\") {\n      stream.eatWhile(/[^,^\\s^\\(^\\)]/);\n      state.beforeParams = true;\n      return \"string\";\n    }\n    else if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    else {\n      stream.eatWhile(/[\\w\\$_{}]/);\n      var word = stream.current().toLowerCase();\n      if (keywords && keywords.propertyIsEnumerable(word))\n        return \"keyword\";\n      if (functions && functions.propertyIsEnumerable(word)) {\n        state.beforeParams = true;\n        return \"keyword\";\n      }\n      return null;\n    }\n  }\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n  function tokenUnparsed(stream, state) {\n    var maybeEnd = 0, ch;\n    while (ch = stream.next()) {\n      if (ch == \";\" && maybeEnd == 2) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      if (ch == \")\")\n        maybeEnd++;\n      else if (ch != \" \")\n        maybeEnd = 0;\n    }\n    return \"meta\";\n  }\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        beforeParams: false,\n        inParams: false\n      };\n    },\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      return state.tokenize(stream, state);\n    }\n  };\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/mllike/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: ML-like mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=stylesheet href=../../lib/codemirror.css>\n<script src=../../lib/codemirror.js></script>\n<script src=../../addon/edit/matchbrackets.js></script>\n<script src=mllike.js></script>\n<style type=text/css>\n  .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">ML-like</a>\n  </ul>\n</div>\n\n<article>\n<h2>OCaml mode</h2>\n\n\n<textarea id=\"ocamlCode\">\n(* Summing a list of integers *)\nlet rec sum xs =\n  match xs with\n    | []       -&gt; 0\n    | x :: xs' -&gt; x + sum xs'\n\n(* Quicksort *)\nlet rec qsort = function\n   | [] -&gt; []\n   | pivot :: rest -&gt;\n       let is_less x = x &lt; pivot in\n       let left, right = List.partition is_less rest in\n       qsort left @ [pivot] @ qsort right\n\n(* Fibonacci Sequence *)\nlet rec fib_aux n a b =\n  match n with\n  | 0 -&gt; a\n  | _ -&gt; fib_aux (n - 1) (a + b) a\nlet fib n = fib_aux n 0 1\n\n(* Birthday paradox *)\nlet year_size = 365.\n\nlet rec birthday_paradox prob people =\n    let prob' = (year_size -. float people) /. year_size *. prob  in\n    if prob' &lt; 0.5 then\n        Printf.printf \"answer = %d\\n\" (people+1)\n    else\n        birthday_paradox prob' (people+1) ;;\n\nbirthday_paradox 1.0 1\n\n(* Church numerals *)\nlet zero f x = x\nlet succ n f x = f (n f x)\nlet one = succ zero\nlet two = succ (succ zero)\nlet add n1 n2 f x = n1 f (n2 f x)\nlet to_string n = n (fun k -&gt; \"S\" ^ k) \"0\"\nlet _ = to_string (add (succ two) two)\n\n(* Elementary functions *)\nlet square x = x * x;;\nlet rec fact x =\n  if x &lt;= 1 then 1 else x * fact (x - 1);;\n\n(* Automatic memory management *)\nlet l = 1 :: 2 :: 3 :: [];;\n[1; 2; 3];;\n5 :: l;;\n\n(* Polymorphism: sorting lists *)\nlet rec sort = function\n  | [] -&gt; []\n  | x :: l -&gt; insert x (sort l)\n\nand insert elem = function\n  | [] -&gt; [elem]\n  | x :: l -&gt;\n      if elem &lt; x then elem :: x :: l else x :: insert elem l;;\n\n(* Imperative features *)\nlet add_polynom p1 p2 =\n  let n1 = Array.length p1\n  and n2 = Array.length p2 in\n  let result = Array.create (max n1 n2) 0 in\n  for i = 0 to n1 - 1 do result.(i) &lt;- p1.(i) done;\n  for i = 0 to n2 - 1 do result.(i) &lt;- result.(i) + p2.(i) done;\n  result;;\nadd_polynom [| 1; 2 |] [| 1; 2; 3 |];;\n\n(* We may redefine fact using a reference cell and a for loop *)\nlet fact n =\n  let result = ref 1 in\n  for i = 2 to n do\n    result := i * !result\n   done;\n   !result;;\nfact 5;;\n\n(* Triangle (graphics) *)\nlet () =\n  ignore( Glut.init Sys.argv );\n  Glut.initDisplayMode ~double_buffer:true ();\n  ignore (Glut.createWindow ~title:\"OpenGL Demo\");\n  let angle t = 10. *. t *. t in\n  let render () =\n    GlClear.clear [ `color ];\n    GlMat.load_identity ();\n    GlMat.rotate ~angle: (angle (Sys.time ())) ~z:1. ();\n    GlDraw.begins `triangles;\n    List.iter GlDraw.vertex2 [-1., -1.; 0., 1.; 1., -1.];\n    GlDraw.ends ();\n    Glut.swapBuffers () in\n  GlMat.mode `modelview;\n  Glut.displayFunc ~cb:render;\n  Glut.idleFunc ~cb:(Some Glut.postRedisplay);\n  Glut.mainLoop ()\n\n(* A Hundred Lines of Caml - http://caml.inria.fr/about/taste.en.html *)\n(* OCaml page on Wikipedia - http://en.wikipedia.org/wiki/OCaml *)\n</textarea>\n\n<h2>F# mode</h2>\n<textarea id=\"fsharpCode\">\nmodule CodeMirror.FSharp\n\nlet rec fib = function\n    | 0 -> 0\n    | 1 -> 1\n    | n -> fib (n - 1) + fib (n - 2)\n\ntype Point =\n    {\n        x : int\n        y : int\n    }\n\ntype Color =\n    | Red\n    | Green\n    | Blue\n\n[0 .. 10]\n|> List.map ((+) 2)\n|> List.fold (fun x y -> x + y) 0\n|> printf \"%i\"\n</textarea>\n\n\n<script>\n  var ocamlEditor = CodeMirror.fromTextArea(document.getElementById('ocamlCode'), {\n    mode: 'text/x-ocaml',\n    lineNumbers: true,\n    matchBrackets: true\n  });\n\n  var fsharpEditor = CodeMirror.fromTextArea(document.getElementById('fsharpCode'), {\n    mode: 'text/x-fsharp',\n    lineNumbers: true,\n    matchBrackets: true\n  });\n</script>\n\n<p><strong>MIME types defined:</strong> <code>text/x-ocaml</code> (OCaml) and <code>text/x-fsharp</code> (F#).</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/mllike/mllike.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode('mllike', function(_config, parserConfig) {\n  var words = {\n    'let': 'keyword',\n    'rec': 'keyword',\n    'in': 'keyword',\n    'of': 'keyword',\n    'and': 'keyword',\n    'if': 'keyword',\n    'then': 'keyword',\n    'else': 'keyword',\n    'for': 'keyword',\n    'to': 'keyword',\n    'while': 'keyword',\n    'do': 'keyword',\n    'done': 'keyword',\n    'fun': 'keyword',\n    'function': 'keyword',\n    'val': 'keyword',\n    'type': 'keyword',\n    'mutable': 'keyword',\n    'match': 'keyword',\n    'with': 'keyword',\n    'try': 'keyword',\n    'open': 'builtin',\n    'ignore': 'builtin',\n    'begin': 'keyword',\n    'end': 'keyword'\n  };\n\n  var extraWords = parserConfig.extraWords || {};\n  for (var prop in extraWords) {\n    if (extraWords.hasOwnProperty(prop)) {\n      words[prop] = parserConfig.extraWords[prop];\n    }\n  }\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n\n    if (ch === '\"') {\n      state.tokenize = tokenString;\n      return state.tokenize(stream, state);\n    }\n    if (ch === '(') {\n      if (stream.eat('*')) {\n        state.commentLevel++;\n        state.tokenize = tokenComment;\n        return state.tokenize(stream, state);\n      }\n    }\n    if (ch === '~') {\n      stream.eatWhile(/\\w/);\n      return 'variable-2';\n    }\n    if (ch === '`') {\n      stream.eatWhile(/\\w/);\n      return 'quote';\n    }\n    if (ch === '/' && parserConfig.slashComments && stream.eat('/')) {\n      stream.skipToEnd();\n      return 'comment';\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\d]/);\n      if (stream.eat('.')) {\n        stream.eatWhile(/[\\d]/);\n      }\n      return 'number';\n    }\n    if ( /[+\\-*&%=<>!?|]/.test(ch)) {\n      return 'operator';\n    }\n    stream.eatWhile(/\\w/);\n    var cur = stream.current();\n    return words[cur] || 'variable';\n  }\n\n  function tokenString(stream, state) {\n    var next, end = false, escaped = false;\n    while ((next = stream.next()) != null) {\n      if (next === '\"' && !escaped) {\n        end = true;\n        break;\n      }\n      escaped = !escaped && next === '\\\\';\n    }\n    if (end && !escaped) {\n      state.tokenize = tokenBase;\n    }\n    return 'string';\n  };\n\n  function tokenComment(stream, state) {\n    var prev, next;\n    while(state.commentLevel > 0 && (next = stream.next()) != null) {\n      if (prev === '(' && next === '*') state.commentLevel++;\n      if (prev === '*' && next === ')') state.commentLevel--;\n      prev = next;\n    }\n    if (state.commentLevel <= 0) {\n      state.tokenize = tokenBase;\n    }\n    return 'comment';\n  }\n\n  return {\n    startState: function() {return {tokenize: tokenBase, commentLevel: 0};},\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      return state.tokenize(stream, state);\n    },\n\n    blockCommentStart: \"(*\",\n    blockCommentEnd: \"*)\",\n    lineComment: parserConfig.slashComments ? \"//\" : null\n  };\n});\n\nCodeMirror.defineMIME('text/x-ocaml', {\n  name: 'mllike',\n  extraWords: {\n    'succ': 'keyword',\n    'trace': 'builtin',\n    'exit': 'builtin',\n    'print_string': 'builtin',\n    'print_endline': 'builtin',\n    'true': 'atom',\n    'false': 'atom',\n    'raise': 'keyword'\n  }\n});\n\nCodeMirror.defineMIME('text/x-fsharp', {\n  name: 'mllike',\n  extraWords: {\n    'abstract': 'keyword',\n    'as': 'keyword',\n    'assert': 'keyword',\n    'base': 'keyword',\n    'class': 'keyword',\n    'default': 'keyword',\n    'delegate': 'keyword',\n    'downcast': 'keyword',\n    'downto': 'keyword',\n    'elif': 'keyword',\n    'exception': 'keyword',\n    'extern': 'keyword',\n    'finally': 'keyword',\n    'global': 'keyword',\n    'inherit': 'keyword',\n    'inline': 'keyword',\n    'interface': 'keyword',\n    'internal': 'keyword',\n    'lazy': 'keyword',\n    'let!': 'keyword',\n    'member' : 'keyword',\n    'module': 'keyword',\n    'namespace': 'keyword',\n    'new': 'keyword',\n    'null': 'keyword',\n    'override': 'keyword',\n    'private': 'keyword',\n    'public': 'keyword',\n    'return': 'keyword',\n    'return!': 'keyword',\n    'select': 'keyword',\n    'static': 'keyword',\n    'struct': 'keyword',\n    'upcast': 'keyword',\n    'use': 'keyword',\n    'use!': 'keyword',\n    'val': 'keyword',\n    'when': 'keyword',\n    'yield': 'keyword',\n    'yield!': 'keyword',\n\n    'List': 'builtin',\n    'Seq': 'builtin',\n    'Map': 'builtin',\n    'Set': 'builtin',\n    'int': 'builtin',\n    'string': 'builtin',\n    'raise': 'builtin',\n    'failwith': 'builtin',\n    'not': 'builtin',\n    'true': 'builtin',\n    'false': 'builtin'\n  },\n  slashComments: true\n});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/modelica/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Modelica mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<link rel=\"stylesheet\" href=\"../../addon/hint/show-hint.css\">\n<script src=\"../../addon/hint/show-hint.js\"></script>\n<script src=\"modelica.js\"></script>\n<style>.CodeMirror {border: 2px inset #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Modelica</a>\n  </ul>\n</div>\n\n<article>\n<h2>Modelica mode</h2>\n\n<div><textarea id=\"modelica\">\nmodel BouncingBall\n  parameter Real e = 0.7;\n  parameter Real g = 9.81;\n  Real h(start=1);\n  Real v;\n  Boolean flying(start=true);\n  Boolean impact;\n  Real v_new;\nequation\n  impact = h <= 0.0;\n  der(v) = if flying then -g else 0;\n  der(h) = v;\n  when {h <= 0.0 and v <= 0.0, impact} then\n    v_new = if edge(impact) then -e*pre(v) else 0;\n    flying = v_new > 0;\n    reinit(v, v_new);\n  end when;\n  annotation (uses(Modelica(version=\"3.2\")));\nend BouncingBall;\n</textarea></div>\n\n    <script>\n      var modelicaEditor = CodeMirror.fromTextArea(document.getElementById(\"modelica\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-modelica\"\n      });\n      var mac = CodeMirror.keyMap.default == CodeMirror.keyMap.macDefault;\n      CodeMirror.keyMap.default[(mac ? \"Cmd\" : \"Ctrl\") + \"-Space\"] = \"autocomplete\";\n    </script>\n\n    <p>Simple mode that tries to handle Modelica as well as it can.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-modelica</code>\n    (Modlica code).</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/modelica/modelica.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Modelica support for CodeMirror, copyright (c) by Lennart Ochel\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})\n\n(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineMode(\"modelica\", function(config, parserConfig) {\n\n    var indentUnit = config.indentUnit;\n    var keywords = parserConfig.keywords || {};\n    var builtin = parserConfig.builtin || {};\n    var atoms = parserConfig.atoms || {};\n\n    var isSingleOperatorChar = /[;=\\(:\\),{}.*<>+\\-\\/^\\[\\]]/;\n    var isDoubleOperatorChar = /(:=|<=|>=|==|<>|\\.\\+|\\.\\-|\\.\\*|\\.\\/|\\.\\^)/;\n    var isDigit = /[0-9]/;\n    var isNonDigit = /[_a-zA-Z]/;\n\n    function tokenLineComment(stream, state) {\n      stream.skipToEnd();\n      state.tokenize = null;\n      return \"comment\";\n    }\n\n    function tokenBlockComment(stream, state) {\n      var maybeEnd = false, ch;\n      while (ch = stream.next()) {\n        if (maybeEnd && ch == \"/\") {\n          state.tokenize = null;\n          break;\n        }\n        maybeEnd = (ch == \"*\");\n      }\n      return \"comment\";\n    }\n\n    function tokenString(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == '\"' && !escaped) {\n          state.tokenize = null;\n          state.sol = false;\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n\n      return \"string\";\n    }\n\n    function tokenIdent(stream, state) {\n      stream.eatWhile(isDigit);\n      while (stream.eat(isDigit) || stream.eat(isNonDigit)) { }\n\n\n      var cur = stream.current();\n\n      if(state.sol && (cur == \"package\" || cur == \"model\" || cur == \"when\" || cur == \"connector\")) state.level++;\n      else if(state.sol && cur == \"end\" && state.level > 0) state.level--;\n\n      state.tokenize = null;\n      state.sol = false;\n\n      if (keywords.propertyIsEnumerable(cur)) return \"keyword\";\n      else if (builtin.propertyIsEnumerable(cur)) return \"builtin\";\n      else if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n      else return \"variable\";\n    }\n\n    function tokenQIdent(stream, state) {\n      while (stream.eat(/[^']/)) { }\n\n      state.tokenize = null;\n      state.sol = false;\n\n      if(stream.eat(\"'\"))\n        return \"variable\";\n      else\n        return \"error\";\n    }\n\n    function tokenUnsignedNuber(stream, state) {\n      stream.eatWhile(isDigit);\n      if (stream.eat('.')) {\n        stream.eatWhile(isDigit);\n      }\n      if (stream.eat('e') || stream.eat('E')) {\n        if (!stream.eat('-'))\n          stream.eat('+');\n        stream.eatWhile(isDigit);\n      }\n\n      state.tokenize = null;\n      state.sol = false;\n      return \"number\";\n    }\n\n    // Interface\n    return {\n      startState: function() {\n        return {\n          tokenize: null,\n          level: 0,\n          sol: true\n        };\n      },\n\n      token: function(stream, state) {\n        if(state.tokenize != null) {\n          return state.tokenize(stream, state);\n        }\n\n        if(stream.sol()) {\n          state.sol = true;\n        }\n\n        // WHITESPACE\n        if(stream.eatSpace()) {\n          state.tokenize = null;\n          return null;\n        }\n\n        var ch = stream.next();\n\n        // LINECOMMENT\n        if(ch == '/' && stream.eat('/')) {\n          state.tokenize = tokenLineComment;\n        }\n        // BLOCKCOMMENT\n        else if(ch == '/' && stream.eat('*')) {\n          state.tokenize = tokenBlockComment;\n        }\n        // TWO SYMBOL TOKENS\n        else if(isDoubleOperatorChar.test(ch+stream.peek())) {\n          stream.next();\n          state.tokenize = null;\n          return \"operator\";\n        }\n        // SINGLE SYMBOL TOKENS\n        else if(isSingleOperatorChar.test(ch)) {\n          state.tokenize = null;\n          return \"operator\";\n        }\n        // IDENT\n        else if(isNonDigit.test(ch)) {\n          state.tokenize = tokenIdent;\n        }\n        // Q-IDENT\n        else if(ch == \"'\" && stream.peek() && stream.peek() != \"'\") {\n          state.tokenize = tokenQIdent;\n        }\n        // STRING\n        else if(ch == '\"') {\n          state.tokenize = tokenString;\n        }\n        // UNSIGNED_NUBER\n        else if(isDigit.test(ch)) {\n          state.tokenize = tokenUnsignedNuber;\n        }\n        // ERROR\n        else {\n          state.tokenize = null;\n          return \"error\";\n        }\n\n        return state.tokenize(stream, state);\n      },\n\n      indent: function(state, textAfter) {\n        if (state.tokenize != null) return CodeMirror.Pass;\n\n        var level = state.level;\n        if(/(algorithm)/.test(textAfter)) level--;\n        if(/(equation)/.test(textAfter)) level--;\n        if(/(initial algorithm)/.test(textAfter)) level--;\n        if(/(initial equation)/.test(textAfter)) level--;\n        if(/(end)/.test(textAfter)) level--;\n\n        if(level > 0)\n          return indentUnit*level;\n        else\n          return 0;\n      },\n\n      blockCommentStart: \"/*\",\n      blockCommentEnd: \"*/\",\n      lineComment: \"//\"\n    };\n  });\n\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i=0; i<words.length; ++i)\n      obj[words[i]] = true;\n    return obj;\n  }\n\n  var modelicaKeywords = \"algorithm and annotation assert block break class connect connector constant constrainedby der discrete each else elseif elsewhen encapsulated end enumeration equation expandable extends external false final flow for function if import impure in initial inner input loop model not operator or outer output package parameter partial protected public pure record redeclare replaceable return stream then true type when while within\";\n  var modelicaBuiltin = \"abs acos actualStream asin atan atan2 cardinality ceil cos cosh delay div edge exp floor getInstanceName homotopy inStream integer log log10 mod pre reinit rem semiLinear sign sin sinh spatialDistribution sqrt tan tanh\";\n  var modelicaAtoms = \"Real Boolean Integer String\";\n\n  function def(mimes, mode) {\n    if (typeof mimes == \"string\")\n      mimes = [mimes];\n\n    var words = [];\n\n    function add(obj) {\n      if (obj)\n        for (var prop in obj)\n          if (obj.hasOwnProperty(prop))\n            words.push(prop);\n    }\n\n    add(mode.keywords);\n    add(mode.builtin);\n    add(mode.atoms);\n\n    if (words.length) {\n      mode.helperType = mimes[0];\n      CodeMirror.registerHelper(\"hintWords\", mimes[0], words);\n    }\n\n    for (var i=0; i<mimes.length; ++i)\n      CodeMirror.defineMIME(mimes[i], mode);\n  }\n\n  def([\"text/x-modelica\"], {\n    name: \"modelica\",\n    keywords: words(modelicaKeywords),\n    builtin: words(modelicaBuiltin),\n    atoms: words(modelicaAtoms)\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/nginx/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: NGINX mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"nginx.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n    <link rel=\"stylesheet\" href=\"../../doc/docs.css\">\n  </head>\n\n  <style>\n    body {\n      margin: 0em auto;\n    }\n\n    .CodeMirror, .CodeMirror-scroll {\n      height: 600px;\n    }\n  </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">NGINX</a>\n  </ul>\n</div>\n\n<article>\n<h2>NGINX mode</h2>\n<form><textarea id=\"code\" name=\"code\" style=\"height: 800px;\">\nserver {\n  listen 173.255.219.235:80;\n  server_name website.com.au;\n  rewrite / $scheme://www.$host$request_uri permanent; ## Forcibly prepend a www\n}\n\nserver {\n  listen 173.255.219.235:443;\n  server_name website.com.au;\n  rewrite / $scheme://www.$host$request_uri permanent; ## Forcibly prepend a www\n}\n\nserver {\n\n  listen      173.255.219.235:80;\n  server_name www.website.com.au;\n\n\n\n  root        /data/www;\n  index       index.html index.php;\n\n  location / {\n    index index.html index.php;     ## Allow a static html file to be shown first\n    try_files $uri $uri/ @handler;  ## If missing pass the URI to Magento's front handler\n    expires 30d;                    ## Assume all files are cachable\n  }\n\n  ## These locations would be hidden by .htaccess normally\n  location /app/                { deny all; }\n  location /includes/           { deny all; }\n  location /lib/                { deny all; }\n  location /media/downloadable/ { deny all; }\n  location /pkginfo/            { deny all; }\n  location /report/config.xml   { deny all; }\n  location /var/                { deny all; }\n\n  location /var/export/ { ## Allow admins only to view export folder\n    auth_basic           \"Restricted\"; ## Message shown in login window\n    auth_basic_user_file /rs/passwords/testfile; ## See /etc/nginx/htpassword\n    autoindex            on;\n  }\n\n  location  /. { ## Disable .htaccess and other hidden files\n    return 404;\n  }\n\n  location @handler { ## Magento uses a common front handler\n    rewrite / /index.php;\n  }\n\n  location ~ .php/ { ## Forward paths like /js/index.php/x.js to relevant handler\n    rewrite ^/(.*.php)/ /$1 last;\n  }\n\n  location ~ \\.php$ {\n    if (!-e $request_filename) { rewrite / /index.php last; } ## Catch 404s that try_files miss\n\n    fastcgi_pass   127.0.0.1:9000;\n    fastcgi_index  index.php;\n    fastcgi_param PATH_INFO $fastcgi_script_name;\n    fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;\n    include        /rs/confs/nginx/fastcgi_params;\n  }\n\n}\n\n\nserver {\n\n  listen              173.255.219.235:443;\n  server_name         website.com.au www.website.com.au;\n\n  root   /data/www;\n  index index.html index.php;\n\n  ssl                 on;\n  ssl_certificate     /rs/ssl/ssl.crt;\n  ssl_certificate_key /rs/ssl/ssl.key;\n\n  ssl_session_timeout  5m;\n\n  ssl_protocols  SSLv2 SSLv3 TLSv1;\n  ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;\n  ssl_prefer_server_ciphers   on;\n\n\n\n  location / {\n    index index.html index.php; ## Allow a static html file to be shown first\n    try_files $uri $uri/ @handler; ## If missing pass the URI to Magento's front handler\n    expires 30d; ## Assume all files are cachable\n  }\n\n  ## These locations would be hidden by .htaccess normally\n  location /app/                { deny all; }\n  location /includes/           { deny all; }\n  location /lib/                { deny all; }\n  location /media/downloadable/ { deny all; }\n  location /pkginfo/            { deny all; }\n  location /report/config.xml   { deny all; }\n  location /var/                { deny all; }\n\n  location /var/export/ { ## Allow admins only to view export folder\n    auth_basic           \"Restricted\"; ## Message shown in login window\n    auth_basic_user_file htpasswd; ## See /etc/nginx/htpassword\n    autoindex            on;\n  }\n\n  location  /. { ## Disable .htaccess and other hidden files\n    return 404;\n  }\n\n  location @handler { ## Magento uses a common front handler\n    rewrite / /index.php;\n  }\n\n  location ~ .php/ { ## Forward paths like /js/index.php/x.js to relevant handler\n    rewrite ^/(.*.php)/ /$1 last;\n  }\n\n  location ~ .php$ { ## Execute PHP scripts\n    if (!-e $request_filename) { rewrite  /index.php last; } ## Catch 404s that try_files miss\n\n    fastcgi_pass 127.0.0.1:9000;\n    fastcgi_index  index.php;\n    fastcgi_param PATH_INFO $fastcgi_script_name;\n    fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;\n    include        /rs/confs/nginx/fastcgi_params;\n\n    fastcgi_param HTTPS on;\n  }\n\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/nginx</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/nginx/nginx.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"nginx\", function(config) {\n\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  var keywords = words(\n    /* ngxDirectiveControl */ \"break return rewrite set\" +\n    /* ngxDirective */ \" accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23\"\n    );\n\n  var keywords_block = words(\n    /* ngxDirectiveBlock */ \"http mail events server types location upstream charset_map limit_except if geo map\"\n    );\n\n  var keywords_important = words(\n    /* ngxDirectiveImportant */ \"include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files\"\n    );\n\n  var indentUnit = config.indentUnit, type;\n  function ret(style, tp) {type = tp; return style;}\n\n  function tokenBase(stream, state) {\n\n\n    stream.eatWhile(/[\\w\\$_]/);\n\n    var cur = stream.current();\n\n\n    if (keywords.propertyIsEnumerable(cur)) {\n      return \"keyword\";\n    }\n    else if (keywords_block.propertyIsEnumerable(cur)) {\n      return \"variable-2\";\n    }\n    else if (keywords_important.propertyIsEnumerable(cur)) {\n      return \"string-2\";\n    }\n    /**/\n\n    var ch = stream.next();\n    if (ch == \"@\") {stream.eatWhile(/[\\w\\\\\\-]/); return ret(\"meta\", stream.current());}\n    else if (ch == \"/\" && stream.eat(\"*\")) {\n      state.tokenize = tokenCComment;\n      return tokenCComment(stream, state);\n    }\n    else if (ch == \"<\" && stream.eat(\"!\")) {\n      state.tokenize = tokenSGMLComment;\n      return tokenSGMLComment(stream, state);\n    }\n    else if (ch == \"=\") ret(null, \"compare\");\n    else if ((ch == \"~\" || ch == \"|\") && stream.eat(\"=\")) return ret(null, \"compare\");\n    else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    else if (ch == \"#\") {\n      stream.skipToEnd();\n      return ret(\"comment\", \"comment\");\n    }\n    else if (ch == \"!\") {\n      stream.match(/^\\s*\\w*/);\n      return ret(\"keyword\", \"important\");\n    }\n    else if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w.%]/);\n      return ret(\"number\", \"unit\");\n    }\n    else if (/[,.+>*\\/]/.test(ch)) {\n      return ret(null, \"select-op\");\n    }\n    else if (/[;{}:\\[\\]]/.test(ch)) {\n      return ret(null, ch);\n    }\n    else {\n      stream.eatWhile(/[\\w\\\\\\-]/);\n      return ret(\"variable\", \"variable\");\n    }\n  }\n\n  function tokenCComment(stream, state) {\n    var maybeEnd = false, ch;\n    while ((ch = stream.next()) != null) {\n      if (maybeEnd && ch == \"/\") {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenSGMLComment(stream, state) {\n    var dashes = 0, ch;\n    while ((ch = stream.next()) != null) {\n      if (dashes >= 2 && ch == \">\") {\n        state.tokenize = tokenBase;\n        break;\n      }\n      dashes = (ch == \"-\") ? dashes + 1 : 0;\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped)\n          break;\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (!escaped) state.tokenize = tokenBase;\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  return {\n    startState: function(base) {\n      return {tokenize: tokenBase,\n              baseIndent: base || 0,\n              stack: []};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      type = null;\n      var style = state.tokenize(stream, state);\n\n      var context = state.stack[state.stack.length-1];\n      if (type == \"hash\" && context == \"rule\") style = \"atom\";\n      else if (style == \"variable\") {\n        if (context == \"rule\") style = \"number\";\n        else if (!context || context == \"@media{\") style = \"tag\";\n      }\n\n      if (context == \"rule\" && /^[\\{\\};]$/.test(type))\n        state.stack.pop();\n      if (type == \"{\") {\n        if (context == \"@media\") state.stack[state.stack.length-1] = \"@media{\";\n        else state.stack.push(\"{\");\n      }\n      else if (type == \"}\") state.stack.pop();\n      else if (type == \"@media\") state.stack.push(\"@media\");\n      else if (context == \"{\" && type != \"comment\") state.stack.push(\"rule\");\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var n = state.stack.length;\n      if (/^\\}/.test(textAfter))\n        n -= state.stack[state.stack.length-1] == \"rule\" ? 2 : 1;\n      return state.baseIndent + n * indentUnit;\n    },\n\n    electricChars: \"}\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/nginx\", \"text/x-nginx-conf\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/ntriples/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: NTriples mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"ntriples.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {\n        border: 1px solid #eee;\n      }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">NTriples</a>\n  </ul>\n</div>\n\n<article>\n<h2>NTriples mode</h2>\n<form>\n<textarea id=\"ntriples\" name=\"ntriples\">    \n<http://Sub1>     <http://pred1>     <http://obj> .\n<http://Sub2>     <http://pred2#an2> \"literal 1\" .\n<http://Sub3#an3> <http://pred3>     _:bnode3 .\n_:bnode4          <http://pred4>     \"literal 2\"@lang .\n_:bnode5          <http://pred5>     \"literal 3\"^^<http://type> .\n</textarea>\n</form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"ntriples\"), {});\n    </script>\n    <p><strong>MIME types defined:</strong> <code>text/n-triples</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/ntriples/ntriples.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/**********************************************************\n* This script provides syntax highlighting support for\n* the Ntriples format.\n* Ntriples format specification:\n*     http://www.w3.org/TR/rdf-testcases/#ntriples\n***********************************************************/\n\n/*\n    The following expression defines the defined ASF grammar transitions.\n\n    pre_subject ->\n        {\n        ( writing_subject_uri | writing_bnode_uri )\n            -> pre_predicate\n                -> writing_predicate_uri\n                    -> pre_object\n                        -> writing_object_uri | writing_object_bnode |\n                          (\n                            writing_object_literal\n                                -> writing_literal_lang | writing_literal_type\n                          )\n                            -> post_object\n                                -> BEGIN\n         } otherwise {\n             -> ERROR\n         }\n*/\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"ntriples\", function() {\n\n  var Location = {\n    PRE_SUBJECT         : 0,\n    WRITING_SUB_URI     : 1,\n    WRITING_BNODE_URI   : 2,\n    PRE_PRED            : 3,\n    WRITING_PRED_URI    : 4,\n    PRE_OBJ             : 5,\n    WRITING_OBJ_URI     : 6,\n    WRITING_OBJ_BNODE   : 7,\n    WRITING_OBJ_LITERAL : 8,\n    WRITING_LIT_LANG    : 9,\n    WRITING_LIT_TYPE    : 10,\n    POST_OBJ            : 11,\n    ERROR               : 12\n  };\n  function transitState(currState, c) {\n    var currLocation = currState.location;\n    var ret;\n\n    // Opening.\n    if     (currLocation == Location.PRE_SUBJECT && c == '<') ret = Location.WRITING_SUB_URI;\n    else if(currLocation == Location.PRE_SUBJECT && c == '_') ret = Location.WRITING_BNODE_URI;\n    else if(currLocation == Location.PRE_PRED    && c == '<') ret = Location.WRITING_PRED_URI;\n    else if(currLocation == Location.PRE_OBJ     && c == '<') ret = Location.WRITING_OBJ_URI;\n    else if(currLocation == Location.PRE_OBJ     && c == '_') ret = Location.WRITING_OBJ_BNODE;\n    else if(currLocation == Location.PRE_OBJ     && c == '\"') ret = Location.WRITING_OBJ_LITERAL;\n\n    // Closing.\n    else if(currLocation == Location.WRITING_SUB_URI     && c == '>') ret = Location.PRE_PRED;\n    else if(currLocation == Location.WRITING_BNODE_URI   && c == ' ') ret = Location.PRE_PRED;\n    else if(currLocation == Location.WRITING_PRED_URI    && c == '>') ret = Location.PRE_OBJ;\n    else if(currLocation == Location.WRITING_OBJ_URI     && c == '>') ret = Location.POST_OBJ;\n    else if(currLocation == Location.WRITING_OBJ_BNODE   && c == ' ') ret = Location.POST_OBJ;\n    else if(currLocation == Location.WRITING_OBJ_LITERAL && c == '\"') ret = Location.POST_OBJ;\n    else if(currLocation == Location.WRITING_LIT_LANG && c == ' ') ret = Location.POST_OBJ;\n    else if(currLocation == Location.WRITING_LIT_TYPE && c == '>') ret = Location.POST_OBJ;\n\n    // Closing typed and language literal.\n    else if(currLocation == Location.WRITING_OBJ_LITERAL && c == '@') ret = Location.WRITING_LIT_LANG;\n    else if(currLocation == Location.WRITING_OBJ_LITERAL && c == '^') ret = Location.WRITING_LIT_TYPE;\n\n    // Spaces.\n    else if( c == ' ' &&\n             (\n               currLocation == Location.PRE_SUBJECT ||\n               currLocation == Location.PRE_PRED    ||\n               currLocation == Location.PRE_OBJ     ||\n               currLocation == Location.POST_OBJ\n             )\n           ) ret = currLocation;\n\n    // Reset.\n    else if(currLocation == Location.POST_OBJ && c == '.') ret = Location.PRE_SUBJECT;\n\n    // Error\n    else ret = Location.ERROR;\n\n    currState.location=ret;\n  }\n\n  return {\n    startState: function() {\n       return {\n           location : Location.PRE_SUBJECT,\n           uris     : [],\n           anchors  : [],\n           bnodes   : [],\n           langs    : [],\n           types    : []\n       };\n    },\n    token: function(stream, state) {\n      var ch = stream.next();\n      if(ch == '<') {\n         transitState(state, ch);\n         var parsedURI = '';\n         stream.eatWhile( function(c) { if( c != '#' && c != '>' ) { parsedURI += c; return true; } return false;} );\n         state.uris.push(parsedURI);\n         if( stream.match('#', false) ) return 'variable';\n         stream.next();\n         transitState(state, '>');\n         return 'variable';\n      }\n      if(ch == '#') {\n        var parsedAnchor = '';\n        stream.eatWhile(function(c) { if(c != '>' && c != ' ') { parsedAnchor+= c; return true; } return false;});\n        state.anchors.push(parsedAnchor);\n        return 'variable-2';\n      }\n      if(ch == '>') {\n          transitState(state, '>');\n          return 'variable';\n      }\n      if(ch == '_') {\n          transitState(state, ch);\n          var parsedBNode = '';\n          stream.eatWhile(function(c) { if( c != ' ' ) { parsedBNode += c; return true; } return false;});\n          state.bnodes.push(parsedBNode);\n          stream.next();\n          transitState(state, ' ');\n          return 'builtin';\n      }\n      if(ch == '\"') {\n          transitState(state, ch);\n          stream.eatWhile( function(c) { return c != '\"'; } );\n          stream.next();\n          if( stream.peek() != '@' && stream.peek() != '^' ) {\n              transitState(state, '\"');\n          }\n          return 'string';\n      }\n      if( ch == '@' ) {\n          transitState(state, '@');\n          var parsedLang = '';\n          stream.eatWhile(function(c) { if( c != ' ' ) { parsedLang += c; return true; } return false;});\n          state.langs.push(parsedLang);\n          stream.next();\n          transitState(state, ' ');\n          return 'string-2';\n      }\n      if( ch == '^' ) {\n          stream.next();\n          transitState(state, '^');\n          var parsedType = '';\n          stream.eatWhile(function(c) { if( c != '>' ) { parsedType += c; return true; } return false;} );\n          state.types.push(parsedType);\n          stream.next();\n          transitState(state, '>');\n          return 'variable';\n      }\n      if( ch == ' ' ) {\n          transitState(state, ch);\n      }\n      if( ch == '.' ) {\n          transitState(state, ch);\n      }\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/n-triples\", \"ntriples\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/octave/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Octave mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"octave.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Octave</a>\n  </ul>\n</div>\n\n<article>\n<h2>Octave mode</h2>\n\n    <div><textarea id=\"code\" name=\"code\">\n%numbers\n[1234 1234i 1234j]\n[.234 .234j 2.23i]\n[23e2 12E1j 123D-4 0x234]\n\n%strings\n'asda''a'\n\"asda\"\"a\"\n\n%identifiers\na + as123 - __asd__\n\n%operators\n-\n+\n=\n==\n>\n<\n>=\n<=\n&\n~\n...\nbreak zeros default margin round ones rand\nceil floor size clear zeros eye mean std cov\nerror eval function\nabs acos atan asin cos cosh exp log prod sum\nlog10 max min sign sin sinh sqrt tan reshape\nreturn\ncase switch\nelse elseif end if otherwise\ndo for while\ntry catch\nclassdef properties events methods\nglobal persistent\n\n%one line comment\n%{ multi \nline commment %}\n\n    </textarea></div>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"octave\",\n               version: 2,\n               singleLineStringErrors: false},\n        lineNumbers: true,\n        indentUnit: 4,\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-octave</code>.</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/octave/octave.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"octave\", function() {\n  function wordRegexp(words) {\n    return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\");\n  }\n\n  var singleOperators = new RegExp(\"^[\\\\+\\\\-\\\\*/&|\\\\^~<>!@'\\\\\\\\]\");\n  var singleDelimiters = new RegExp('^[\\\\(\\\\[\\\\{\\\\},:=;]');\n  var doubleOperators = new RegExp(\"^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\\\.[\\\\+\\\\-\\\\*/\\\\^\\\\\\\\]))\");\n  var doubleDelimiters = new RegExp(\"^((!=)|(\\\\+=)|(\\\\-=)|(\\\\*=)|(/=)|(&=)|(\\\\|=)|(\\\\^=))\");\n  var tripleDelimiters = new RegExp(\"^((>>=)|(<<=))\");\n  var expressionEnd = new RegExp(\"^[\\\\]\\\\)]\");\n  var identifiers = new RegExp(\"^[_A-Za-z\\xa1-\\uffff][_A-Za-z0-9\\xa1-\\uffff]*\");\n\n  var builtins = wordRegexp([\n    'error', 'eval', 'function', 'abs', 'acos', 'atan', 'asin', 'cos',\n    'cosh', 'exp', 'log', 'prod', 'sum', 'log10', 'max', 'min', 'sign', 'sin', 'sinh',\n    'sqrt', 'tan', 'reshape', 'break', 'zeros', 'default', 'margin', 'round', 'ones',\n    'rand', 'syn', 'ceil', 'floor', 'size', 'clear', 'zeros', 'eye', 'mean', 'std', 'cov',\n    'det', 'eig', 'inv', 'norm', 'rank', 'trace', 'expm', 'logm', 'sqrtm', 'linspace', 'plot',\n    'title', 'xlabel', 'ylabel', 'legend', 'text', 'grid', 'meshgrid', 'mesh', 'num2str',\n    'fft', 'ifft', 'arrayfun', 'cellfun', 'input', 'fliplr', 'flipud', 'ismember'\n  ]);\n\n  var keywords = wordRegexp([\n    'return', 'case', 'switch', 'else', 'elseif', 'end', 'endif', 'endfunction',\n    'if', 'otherwise', 'do', 'for', 'while', 'try', 'catch', 'classdef', 'properties', 'events',\n    'methods', 'global', 'persistent', 'endfor', 'endwhile', 'printf', 'sprintf', 'disp', 'until',\n    'continue', 'pkg'\n  ]);\n\n\n  // tokenizers\n  function tokenTranspose(stream, state) {\n    if (!stream.sol() && stream.peek() === '\\'') {\n      stream.next();\n      state.tokenize = tokenBase;\n      return 'operator';\n    }\n    state.tokenize = tokenBase;\n    return tokenBase(stream, state);\n  }\n\n\n  function tokenComment(stream, state) {\n    if (stream.match(/^.*%}/)) {\n      state.tokenize = tokenBase;\n      return 'comment';\n    };\n    stream.skipToEnd();\n    return 'comment';\n  }\n\n  function tokenBase(stream, state) {\n    // whitespaces\n    if (stream.eatSpace()) return null;\n\n    // Handle one line Comments\n    if (stream.match('%{')){\n      state.tokenize = tokenComment;\n      stream.skipToEnd();\n      return 'comment';\n    }\n\n    if (stream.match(/^[%#]/)){\n      stream.skipToEnd();\n      return 'comment';\n    }\n\n    // Handle Number Literals\n    if (stream.match(/^[0-9\\.+-]/, false)) {\n      if (stream.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/)) {\n        stream.tokenize = tokenBase;\n        return 'number'; };\n      if (stream.match(/^[+-]?\\d*\\.\\d+([EeDd][+-]?\\d+)?[ij]?/)) { return 'number'; };\n      if (stream.match(/^[+-]?\\d+([EeDd][+-]?\\d+)?[ij]?/)) { return 'number'; };\n    }\n    if (stream.match(wordRegexp(['nan','NaN','inf','Inf']))) { return 'number'; };\n\n    // Handle Strings\n    if (stream.match(/^\"([^\"]|(\"\"))*\"/)) { return 'string'; } ;\n    if (stream.match(/^'([^']|(''))*'/)) { return 'string'; } ;\n\n    // Handle words\n    if (stream.match(keywords)) { return 'keyword'; } ;\n    if (stream.match(builtins)) { return 'builtin'; } ;\n    if (stream.match(identifiers)) { return 'variable'; } ;\n\n    if (stream.match(singleOperators) || stream.match(doubleOperators)) { return 'operator'; };\n    if (stream.match(singleDelimiters) || stream.match(doubleDelimiters) || stream.match(tripleDelimiters)) { return null; };\n\n    if (stream.match(expressionEnd)) {\n      state.tokenize = tokenTranspose;\n      return null;\n    };\n\n\n    // Handle non-detected items\n    stream.next();\n    return 'error';\n  };\n\n\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase\n      };\n    },\n\n    token: function(stream, state) {\n      var style = state.tokenize(stream, state);\n      if (style === 'number' || style === 'variable'){\n        state.tokenize = tokenTranspose;\n      }\n      return style;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-octave\", \"octave\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/pascal/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Pascal mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"pascal.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Pascal</a>\n  </ul>\n</div>\n\n<article>\n<h2>Pascal mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n(* Example Pascal code *)\n\nwhile a <> b do writeln('Waiting');\n \nif a > b then \n  writeln('Condition met')\nelse \n  writeln('Condition not met');\n \nfor i := 1 to 10 do \n  writeln('Iteration: ', i:1);\n \nrepeat\n  a := a + 1\nuntil a = 10;\n \ncase i of\n  0: write('zero');\n  1: write('one');\n  2: write('two')\nend;\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"text/x-pascal\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-pascal</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/pascal/pascal.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"pascal\", function() {\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var keywords = words(\"and array begin case const div do downto else end file for forward integer \" +\n                       \"boolean char function goto if in label mod nil not of or packed procedure \" +\n                       \"program record repeat set string then to type until var while with\");\n  var atoms = {\"null\": true};\n\n  var isOperatorChar = /[+\\-*&%=<>!?|\\/]/;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == \"#\" && state.startOfLine) {\n      stream.skipToEnd();\n      return \"meta\";\n    }\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (ch == \"(\" && stream.eat(\"*\")) {\n      state.tokenize = tokenComment;\n      return tokenComment(stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    var cur = stream.current();\n    if (keywords.propertyIsEnumerable(cur)) return \"keyword\";\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !escaped) state.tokenize = null;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \")\" && maybeEnd) {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  // Interface\n\n  return {\n    startState: function() {\n      return {tokenize: null};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      return style;\n    },\n\n    electricChars: \"{}\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-pascal\", \"pascal\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/pegjs/index.html",
    "content": "<!doctype html>\n<html>\n  <head>\n    <title>CodeMirror: PEG.js Mode</title>\n    <meta charset=\"utf-8\"/>\n    <link rel=stylesheet href=\"../../doc/docs.css\">\n\n    <link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n    <script src=\"../../lib/codemirror.js\"></script>\n    <script src=\"../javascript/javascript.js\"></script>\n    <script src=\"pegjs.js\"></script>\n    <style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n  </head>\n  <body>\n    <div id=nav>\n      <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n      <ul>\n        <li><a href=\"../../index.html\">Home</a>\n        <li><a href=\"../../doc/manual.html\">Manual</a>\n        <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n      </ul>\n      <ul>\n        <li><a href=\"../index.html\">Language modes</a>\n        <li><a class=active href=\"#\">PEG.js Mode</a>\n      </ul>\n    </div>\n\n    <article>\n      <h2>PEG.js Mode</h2>\n      <form><textarea id=\"code\" name=\"code\">\n/*\n * Classic example grammar, which recognizes simple arithmetic expressions like\n * \"2*(3+4)\". The parser generated from this grammar then computes their value.\n */\n\nstart\n  = additive\n\nadditive\n  = left:multiplicative \"+\" right:additive { return left + right; }\n  / multiplicative\n\nmultiplicative\n  = left:primary \"*\" right:multiplicative { return left * right; }\n  / primary\n\nprimary\n  = integer\n  / \"(\" additive:additive \")\" { return additive; }\n\ninteger \"integer\"\n  = digits:[0-9]+ { return parseInt(digits.join(\"\"), 10); }\n\nletter = [a-z]+</textarea></form>\n      <script>\n        var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n          mode: {name: \"pegjs\"},\n          lineNumbers: true\n        });\n      </script>\n      <h3>The PEG.js Mode</h3>\n      <p> Created by Forbes Lindesay.</p>\n    </article>\n  </body>\n</html>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/pegjs/pegjs.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../javascript/javascript\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../javascript/javascript\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"pegjs\", function (config) {\n  var jsMode = CodeMirror.getMode(config, \"javascript\");\n\n  function identifier(stream) {\n    return stream.match(/^[a-zA-Z_][a-zA-Z0-9_]*/);\n  }\n\n  return {\n    startState: function () {\n      return {\n        inString: false,\n        stringType: null,\n        inComment: false,\n        inChracterClass: false,\n        braced: 0,\n        lhs: true,\n        localState: null\n      };\n    },\n    token: function (stream, state) {\n      if (stream)\n\n      //check for state changes\n      if (!state.inString && !state.inComment && ((stream.peek() == '\"') || (stream.peek() == \"'\"))) {\n        state.stringType = stream.peek();\n        stream.next(); // Skip quote\n        state.inString = true; // Update state\n      }\n      if (!state.inString && !state.inComment && stream.match(/^\\/\\*/)) {\n        state.inComment = true;\n      }\n\n      //return state\n      if (state.inString) {\n        while (state.inString && !stream.eol()) {\n          if (stream.peek() === state.stringType) {\n            stream.next(); // Skip quote\n            state.inString = false; // Clear flag\n          } else if (stream.peek() === '\\\\') {\n            stream.next();\n            stream.next();\n          } else {\n            stream.match(/^.[^\\\\\\\"\\']*/);\n          }\n        }\n        return state.lhs ? \"property string\" : \"string\"; // Token style\n      } else if (state.inComment) {\n        while (state.inComment && !stream.eol()) {\n          if (stream.match(/\\*\\//)) {\n            state.inComment = false; // Clear flag\n          } else {\n            stream.match(/^.[^\\*]*/);\n          }\n        }\n        return \"comment\";\n      } else if (state.inChracterClass) {\n          while (state.inChracterClass && !stream.eol()) {\n            if (!(stream.match(/^[^\\]\\\\]+/) || stream.match(/^\\\\./))) {\n              state.inChracterClass = false;\n            }\n          }\n      } else if (stream.peek() === '[') {\n        stream.next();\n        state.inChracterClass = true;\n        return 'bracket';\n      } else if (stream.match(/^\\/\\//)) {\n        stream.skipToEnd();\n        return \"comment\";\n      } else if (state.braced || stream.peek() === '{') {\n        if (state.localState === null) {\n          state.localState = jsMode.startState();\n        }\n        var token = jsMode.token(stream, state.localState);\n        var text = stream.current();\n        if (!token) {\n          for (var i = 0; i < text.length; i++) {\n            if (text[i] === '{') {\n              state.braced++;\n            } else if (text[i] === '}') {\n              state.braced--;\n            }\n          };\n        }\n        return token;\n      } else if (identifier(stream)) {\n        if (stream.peek() === ':') {\n          return 'variable';\n        }\n        return 'variable-2';\n      } else if (['[', ']', '(', ')'].indexOf(stream.peek()) != -1) {\n        stream.next();\n        return 'bracket';\n      } else if (!stream.eatSpace()) {\n        stream.next();\n      }\n      return null;\n    }\n  };\n}, \"javascript\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/perl/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Perl mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"perl.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Perl</a>\n  </ul>\n</div>\n\n<article>\n<h2>Perl mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n#!/usr/bin/perl\n\nuse Something qw(func1 func2);\n\n# strings\nmy $s1 = qq'single line';\nour $s2 = q(multi-\n              line);\n\n=item Something\n\tExample.\n=cut\n\nmy $html=<<'HTML'\n<html>\n<title>hi!</title>\n</html>\nHTML\n\nprint \"first,\".join(',', 'second', qq~third~);\n\nif($s1 =~ m[(?<!\\s)(l.ne)\\z]o) {\n\t$h->{$1}=$$.' predefined variables';\n\t$s2 =~ s/\\-line//ox;\n\t$s1 =~ s[\n\t\t  line ]\n\t\t[\n\t\t  block\n\t\t]ox;\n}\n\n1; # numbers and comments\n\n__END__\nsomething...\n\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-perl</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/perl/perl.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// CodeMirror2 mode/perl/perl.js (text/x-perl) beta 0.10 (2011-11-08)\n// This is a part of CodeMirror from https://github.com/sabaca/CodeMirror_mode_perl (mail@sabaca.com)\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"perl\",function(){\n        // http://perldoc.perl.org\n        var PERL={                                      //   null - magic touch\n                                                        //   1 - keyword\n                                                        //   2 - def\n                                                        //   3 - atom\n                                                        //   4 - operator\n                                                        //   5 - variable-2 (predefined)\n                                                        //   [x,y] - x=1,2,3; y=must be defined if x{...}\n                                                //      PERL operators\n                '->'                            :   4,\n                '++'                            :   4,\n                '--'                            :   4,\n                '**'                            :   4,\n                                                        //   ! ~ \\ and unary + and -\n                '=~'                            :   4,\n                '!~'                            :   4,\n                '*'                             :   4,\n                '/'                             :   4,\n                '%'                             :   4,\n                'x'                             :   4,\n                '+'                             :   4,\n                '-'                             :   4,\n                '.'                             :   4,\n                '<<'                            :   4,\n                '>>'                            :   4,\n                                                        //   named unary operators\n                '<'                             :   4,\n                '>'                             :   4,\n                '<='                            :   4,\n                '>='                            :   4,\n                'lt'                            :   4,\n                'gt'                            :   4,\n                'le'                            :   4,\n                'ge'                            :   4,\n                '=='                            :   4,\n                '!='                            :   4,\n                '<=>'                           :   4,\n                'eq'                            :   4,\n                'ne'                            :   4,\n                'cmp'                           :   4,\n                '~~'                            :   4,\n                '&'                             :   4,\n                '|'                             :   4,\n                '^'                             :   4,\n                '&&'                            :   4,\n                '||'                            :   4,\n                '//'                            :   4,\n                '..'                            :   4,\n                '...'                           :   4,\n                '?'                             :   4,\n                ':'                             :   4,\n                '='                             :   4,\n                '+='                            :   4,\n                '-='                            :   4,\n                '*='                            :   4,  //   etc. ???\n                ','                             :   4,\n                '=>'                            :   4,\n                '::'                            :   4,\n                                                        //   list operators (rightward)\n                'not'                           :   4,\n                'and'                           :   4,\n                'or'                            :   4,\n                'xor'                           :   4,\n                                                //      PERL predefined variables (I know, what this is a paranoid idea, but may be needed for people, who learn PERL, and for me as well, ...and may be for you?;)\n                'BEGIN'                         :   [5,1],\n                'END'                           :   [5,1],\n                'PRINT'                         :   [5,1],\n                'PRINTF'                        :   [5,1],\n                'GETC'                          :   [5,1],\n                'READ'                          :   [5,1],\n                'READLINE'                      :   [5,1],\n                'DESTROY'                       :   [5,1],\n                'TIE'                           :   [5,1],\n                'TIEHANDLE'                     :   [5,1],\n                'UNTIE'                         :   [5,1],\n                'STDIN'                         :    5,\n                'STDIN_TOP'                     :    5,\n                'STDOUT'                        :    5,\n                'STDOUT_TOP'                    :    5,\n                'STDERR'                        :    5,\n                'STDERR_TOP'                    :    5,\n                '$ARG'                          :    5,\n                '$_'                            :    5,\n                '@ARG'                          :    5,\n                '@_'                            :    5,\n                '$LIST_SEPARATOR'               :    5,\n                '$\"'                            :    5,\n                '$PROCESS_ID'                   :    5,\n                '$PID'                          :    5,\n                '$$'                            :    5,\n                '$REAL_GROUP_ID'                :    5,\n                '$GID'                          :    5,\n                '$('                            :    5,\n                '$EFFECTIVE_GROUP_ID'           :    5,\n                '$EGID'                         :    5,\n                '$)'                            :    5,\n                '$PROGRAM_NAME'                 :    5,\n                '$0'                            :    5,\n                '$SUBSCRIPT_SEPARATOR'          :    5,\n                '$SUBSEP'                       :    5,\n                '$;'                            :    5,\n                '$REAL_USER_ID'                 :    5,\n                '$UID'                          :    5,\n                '$<'                            :    5,\n                '$EFFECTIVE_USER_ID'            :    5,\n                '$EUID'                         :    5,\n                '$>'                            :    5,\n                '$a'                            :    5,\n                '$b'                            :    5,\n                '$COMPILING'                    :    5,\n                '$^C'                           :    5,\n                '$DEBUGGING'                    :    5,\n                '$^D'                           :    5,\n                '${^ENCODING}'                  :    5,\n                '$ENV'                          :    5,\n                '%ENV'                          :    5,\n                '$SYSTEM_FD_MAX'                :    5,\n                '$^F'                           :    5,\n                '@F'                            :    5,\n                '${^GLOBAL_PHASE}'              :    5,\n                '$^H'                           :    5,\n                '%^H'                           :    5,\n                '@INC'                          :    5,\n                '%INC'                          :    5,\n                '$INPLACE_EDIT'                 :    5,\n                '$^I'                           :    5,\n                '$^M'                           :    5,\n                '$OSNAME'                       :    5,\n                '$^O'                           :    5,\n                '${^OPEN}'                      :    5,\n                '$PERLDB'                       :    5,\n                '$^P'                           :    5,\n                '$SIG'                          :    5,\n                '%SIG'                          :    5,\n                '$BASETIME'                     :    5,\n                '$^T'                           :    5,\n                '${^TAINT}'                     :    5,\n                '${^UNICODE}'                   :    5,\n                '${^UTF8CACHE}'                 :    5,\n                '${^UTF8LOCALE}'                :    5,\n                '$PERL_VERSION'                 :    5,\n                '$^V'                           :    5,\n                '${^WIN32_SLOPPY_STAT}'         :    5,\n                '$EXECUTABLE_NAME'              :    5,\n                '$^X'                           :    5,\n                '$1'                            :    5, // - regexp $1, $2...\n                '$MATCH'                        :    5,\n                '$&'                            :    5,\n                '${^MATCH}'                     :    5,\n                '$PREMATCH'                     :    5,\n                '$`'                            :    5,\n                '${^PREMATCH}'                  :    5,\n                '$POSTMATCH'                    :    5,\n                \"$'\"                            :    5,\n                '${^POSTMATCH}'                 :    5,\n                '$LAST_PAREN_MATCH'             :    5,\n                '$+'                            :    5,\n                '$LAST_SUBMATCH_RESULT'         :    5,\n                '$^N'                           :    5,\n                '@LAST_MATCH_END'               :    5,\n                '@+'                            :    5,\n                '%LAST_PAREN_MATCH'             :    5,\n                '%+'                            :    5,\n                '@LAST_MATCH_START'             :    5,\n                '@-'                            :    5,\n                '%LAST_MATCH_START'             :    5,\n                '%-'                            :    5,\n                '$LAST_REGEXP_CODE_RESULT'      :    5,\n                '$^R'                           :    5,\n                '${^RE_DEBUG_FLAGS}'            :    5,\n                '${^RE_TRIE_MAXBUF}'            :    5,\n                '$ARGV'                         :    5,\n                '@ARGV'                         :    5,\n                'ARGV'                          :    5,\n                'ARGVOUT'                       :    5,\n                '$OUTPUT_FIELD_SEPARATOR'       :    5,\n                '$OFS'                          :    5,\n                '$,'                            :    5,\n                '$INPUT_LINE_NUMBER'            :    5,\n                '$NR'                           :    5,\n                '$.'                            :    5,\n                '$INPUT_RECORD_SEPARATOR'       :    5,\n                '$RS'                           :    5,\n                '$/'                            :    5,\n                '$OUTPUT_RECORD_SEPARATOR'      :    5,\n                '$ORS'                          :    5,\n                '$\\\\'                           :    5,\n                '$OUTPUT_AUTOFLUSH'             :    5,\n                '$|'                            :    5,\n                '$ACCUMULATOR'                  :    5,\n                '$^A'                           :    5,\n                '$FORMAT_FORMFEED'              :    5,\n                '$^L'                           :    5,\n                '$FORMAT_PAGE_NUMBER'           :    5,\n                '$%'                            :    5,\n                '$FORMAT_LINES_LEFT'            :    5,\n                '$-'                            :    5,\n                '$FORMAT_LINE_BREAK_CHARACTERS' :    5,\n                '$:'                            :    5,\n                '$FORMAT_LINES_PER_PAGE'        :    5,\n                '$='                            :    5,\n                '$FORMAT_TOP_NAME'              :    5,\n                '$^'                            :    5,\n                '$FORMAT_NAME'                  :    5,\n                '$~'                            :    5,\n                '${^CHILD_ERROR_NATIVE}'        :    5,\n                '$EXTENDED_OS_ERROR'            :    5,\n                '$^E'                           :    5,\n                '$EXCEPTIONS_BEING_CAUGHT'      :    5,\n                '$^S'                           :    5,\n                '$WARNING'                      :    5,\n                '$^W'                           :    5,\n                '${^WARNING_BITS}'              :    5,\n                '$OS_ERROR'                     :    5,\n                '$ERRNO'                        :    5,\n                '$!'                            :    5,\n                '%OS_ERROR'                     :    5,\n                '%ERRNO'                        :    5,\n                '%!'                            :    5,\n                '$CHILD_ERROR'                  :    5,\n                '$?'                            :    5,\n                '$EVAL_ERROR'                   :    5,\n                '$@'                            :    5,\n                '$OFMT'                         :    5,\n                '$#'                            :    5,\n                '$*'                            :    5,\n                '$ARRAY_BASE'                   :    5,\n                '$['                            :    5,\n                '$OLD_PERL_VERSION'             :    5,\n                '$]'                            :    5,\n                                                //      PERL blocks\n                'if'                            :[1,1],\n                elsif                           :[1,1],\n                'else'                          :[1,1],\n                'while'                         :[1,1],\n                unless                          :[1,1],\n                'for'                           :[1,1],\n                foreach                         :[1,1],\n                                                //      PERL functions\n                'abs'                           :1,     // - absolute value function\n                accept                          :1,     // - accept an incoming socket connect\n                alarm                           :1,     // - schedule a SIGALRM\n                'atan2'                         :1,     // - arctangent of Y/X in the range -PI to PI\n                bind                            :1,     // - binds an address to a socket\n                binmode                         :1,     // - prepare binary files for I/O\n                bless                           :1,     // - create an object\n                bootstrap                       :1,     //\n                'break'                         :1,     // - break out of a \"given\" block\n                caller                          :1,     // - get context of the current subroutine call\n                chdir                           :1,     // - change your current working directory\n                chmod                           :1,     // - changes the permissions on a list of files\n                chomp                           :1,     // - remove a trailing record separator from a string\n                chop                            :1,     // - remove the last character from a string\n                chown                           :1,     // - change the owership on a list of files\n                chr                             :1,     // - get character this number represents\n                chroot                          :1,     // - make directory new root for path lookups\n                close                           :1,     // - close file (or pipe or socket) handle\n                closedir                        :1,     // - close directory handle\n                connect                         :1,     // - connect to a remote socket\n                'continue'                      :[1,1], // - optional trailing block in a while or foreach\n                'cos'                           :1,     // - cosine function\n                crypt                           :1,     // - one-way passwd-style encryption\n                dbmclose                        :1,     // - breaks binding on a tied dbm file\n                dbmopen                         :1,     // - create binding on a tied dbm file\n                'default'                       :1,     //\n                defined                         :1,     // - test whether a value, variable, or function is defined\n                'delete'                        :1,     // - deletes a value from a hash\n                die                             :1,     // - raise an exception or bail out\n                'do'                            :1,     // - turn a BLOCK into a TERM\n                dump                            :1,     // - create an immediate core dump\n                each                            :1,     // - retrieve the next key/value pair from a hash\n                endgrent                        :1,     // - be done using group file\n                endhostent                      :1,     // - be done using hosts file\n                endnetent                       :1,     // - be done using networks file\n                endprotoent                     :1,     // - be done using protocols file\n                endpwent                        :1,     // - be done using passwd file\n                endservent                      :1,     // - be done using services file\n                eof                             :1,     // - test a filehandle for its end\n                'eval'                          :1,     // - catch exceptions or compile and run code\n                'exec'                          :1,     // - abandon this program to run another\n                exists                          :1,     // - test whether a hash key is present\n                exit                            :1,     // - terminate this program\n                'exp'                           :1,     // - raise I to a power\n                fcntl                           :1,     // - file control system call\n                fileno                          :1,     // - return file descriptor from filehandle\n                flock                           :1,     // - lock an entire file with an advisory lock\n                fork                            :1,     // - create a new process just like this one\n                format                          :1,     // - declare a picture format with use by the write() function\n                formline                        :1,     // - internal function used for formats\n                getc                            :1,     // - get the next character from the filehandle\n                getgrent                        :1,     // - get next group record\n                getgrgid                        :1,     // - get group record given group user ID\n                getgrnam                        :1,     // - get group record given group name\n                gethostbyaddr                   :1,     // - get host record given its address\n                gethostbyname                   :1,     // - get host record given name\n                gethostent                      :1,     // - get next hosts record\n                getlogin                        :1,     // - return who logged in at this tty\n                getnetbyaddr                    :1,     // - get network record given its address\n                getnetbyname                    :1,     // - get networks record given name\n                getnetent                       :1,     // - get next networks record\n                getpeername                     :1,     // - find the other end of a socket connection\n                getpgrp                         :1,     // - get process group\n                getppid                         :1,     // - get parent process ID\n                getpriority                     :1,     // - get current nice value\n                getprotobyname                  :1,     // - get protocol record given name\n                getprotobynumber                :1,     // - get protocol record numeric protocol\n                getprotoent                     :1,     // - get next protocols record\n                getpwent                        :1,     // - get next passwd record\n                getpwnam                        :1,     // - get passwd record given user login name\n                getpwuid                        :1,     // - get passwd record given user ID\n                getservbyname                   :1,     // - get services record given its name\n                getservbyport                   :1,     // - get services record given numeric port\n                getservent                      :1,     // - get next services record\n                getsockname                     :1,     // - retrieve the sockaddr for a given socket\n                getsockopt                      :1,     // - get socket options on a given socket\n                given                           :1,     //\n                glob                            :1,     // - expand filenames using wildcards\n                gmtime                          :1,     // - convert UNIX time into record or string using Greenwich time\n                'goto'                          :1,     // - create spaghetti code\n                grep                            :1,     // - locate elements in a list test true against a given criterion\n                hex                             :1,     // - convert a string to a hexadecimal number\n                'import'                        :1,     // - patch a module's namespace into your own\n                index                           :1,     // - find a substring within a string\n                'int'                           :1,     // - get the integer portion of a number\n                ioctl                           :1,     // - system-dependent device control system call\n                'join'                          :1,     // - join a list into a string using a separator\n                keys                            :1,     // - retrieve list of indices from a hash\n                kill                            :1,     // - send a signal to a process or process group\n                last                            :1,     // - exit a block prematurely\n                lc                              :1,     // - return lower-case version of a string\n                lcfirst                         :1,     // - return a string with just the next letter in lower case\n                length                          :1,     // - return the number of bytes in a string\n                'link'                          :1,     // - create a hard link in the filesytem\n                listen                          :1,     // - register your socket as a server\n                local                           : 2,    // - create a temporary value for a global variable (dynamic scoping)\n                localtime                       :1,     // - convert UNIX time into record or string using local time\n                lock                            :1,     // - get a thread lock on a variable, subroutine, or method\n                'log'                           :1,     // - retrieve the natural logarithm for a number\n                lstat                           :1,     // - stat a symbolic link\n                m                               :null,  // - match a string with a regular expression pattern\n                map                             :1,     // - apply a change to a list to get back a new list with the changes\n                mkdir                           :1,     // - create a directory\n                msgctl                          :1,     // - SysV IPC message control operations\n                msgget                          :1,     // - get SysV IPC message queue\n                msgrcv                          :1,     // - receive a SysV IPC message from a message queue\n                msgsnd                          :1,     // - send a SysV IPC message to a message queue\n                my                              : 2,    // - declare and assign a local variable (lexical scoping)\n                'new'                           :1,     //\n                next                            :1,     // - iterate a block prematurely\n                no                              :1,     // - unimport some module symbols or semantics at compile time\n                oct                             :1,     // - convert a string to an octal number\n                open                            :1,     // - open a file, pipe, or descriptor\n                opendir                         :1,     // - open a directory\n                ord                             :1,     // - find a character's numeric representation\n                our                             : 2,    // - declare and assign a package variable (lexical scoping)\n                pack                            :1,     // - convert a list into a binary representation\n                'package'                       :1,     // - declare a separate global namespace\n                pipe                            :1,     // - open a pair of connected filehandles\n                pop                             :1,     // - remove the last element from an array and return it\n                pos                             :1,     // - find or set the offset for the last/next m//g search\n                print                           :1,     // - output a list to a filehandle\n                printf                          :1,     // - output a formatted list to a filehandle\n                prototype                       :1,     // - get the prototype (if any) of a subroutine\n                push                            :1,     // - append one or more elements to an array\n                q                               :null,  // - singly quote a string\n                qq                              :null,  // - doubly quote a string\n                qr                              :null,  // - Compile pattern\n                quotemeta                       :null,  // - quote regular expression magic characters\n                qw                              :null,  // - quote a list of words\n                qx                              :null,  // - backquote quote a string\n                rand                            :1,     // - retrieve the next pseudorandom number\n                read                            :1,     // - fixed-length buffered input from a filehandle\n                readdir                         :1,     // - get a directory from a directory handle\n                readline                        :1,     // - fetch a record from a file\n                readlink                        :1,     // - determine where a symbolic link is pointing\n                readpipe                        :1,     // - execute a system command and collect standard output\n                recv                            :1,     // - receive a message over a Socket\n                redo                            :1,     // - start this loop iteration over again\n                ref                             :1,     // - find out the type of thing being referenced\n                rename                          :1,     // - change a filename\n                require                         :1,     // - load in external functions from a library at runtime\n                reset                           :1,     // - clear all variables of a given name\n                'return'                        :1,     // - get out of a function early\n                reverse                         :1,     // - flip a string or a list\n                rewinddir                       :1,     // - reset directory handle\n                rindex                          :1,     // - right-to-left substring search\n                rmdir                           :1,     // - remove a directory\n                s                               :null,  // - replace a pattern with a string\n                say                             :1,     // - print with newline\n                scalar                          :1,     // - force a scalar context\n                seek                            :1,     // - reposition file pointer for random-access I/O\n                seekdir                         :1,     // - reposition directory pointer\n                select                          :1,     // - reset default output or do I/O multiplexing\n                semctl                          :1,     // - SysV semaphore control operations\n                semget                          :1,     // - get set of SysV semaphores\n                semop                           :1,     // - SysV semaphore operations\n                send                            :1,     // - send a message over a socket\n                setgrent                        :1,     // - prepare group file for use\n                sethostent                      :1,     // - prepare hosts file for use\n                setnetent                       :1,     // - prepare networks file for use\n                setpgrp                         :1,     // - set the process group of a process\n                setpriority                     :1,     // - set a process's nice value\n                setprotoent                     :1,     // - prepare protocols file for use\n                setpwent                        :1,     // - prepare passwd file for use\n                setservent                      :1,     // - prepare services file for use\n                setsockopt                      :1,     // - set some socket options\n                shift                           :1,     // - remove the first element of an array, and return it\n                shmctl                          :1,     // - SysV shared memory operations\n                shmget                          :1,     // - get SysV shared memory segment identifier\n                shmread                         :1,     // - read SysV shared memory\n                shmwrite                        :1,     // - write SysV shared memory\n                shutdown                        :1,     // - close down just half of a socket connection\n                'sin'                           :1,     // - return the sine of a number\n                sleep                           :1,     // - block for some number of seconds\n                socket                          :1,     // - create a socket\n                socketpair                      :1,     // - create a pair of sockets\n                'sort'                          :1,     // - sort a list of values\n                splice                          :1,     // - add or remove elements anywhere in an array\n                'split'                         :1,     // - split up a string using a regexp delimiter\n                sprintf                         :1,     // - formatted print into a string\n                'sqrt'                          :1,     // - square root function\n                srand                           :1,     // - seed the random number generator\n                stat                            :1,     // - get a file's status information\n                state                           :1,     // - declare and assign a state variable (persistent lexical scoping)\n                study                           :1,     // - optimize input data for repeated searches\n                'sub'                           :1,     // - declare a subroutine, possibly anonymously\n                'substr'                        :1,     // - get or alter a portion of a stirng\n                symlink                         :1,     // - create a symbolic link to a file\n                syscall                         :1,     // - execute an arbitrary system call\n                sysopen                         :1,     // - open a file, pipe, or descriptor\n                sysread                         :1,     // - fixed-length unbuffered input from a filehandle\n                sysseek                         :1,     // - position I/O pointer on handle used with sysread and syswrite\n                system                          :1,     // - run a separate program\n                syswrite                        :1,     // - fixed-length unbuffered output to a filehandle\n                tell                            :1,     // - get current seekpointer on a filehandle\n                telldir                         :1,     // - get current seekpointer on a directory handle\n                tie                             :1,     // - bind a variable to an object class\n                tied                            :1,     // - get a reference to the object underlying a tied variable\n                time                            :1,     // - return number of seconds since 1970\n                times                           :1,     // - return elapsed time for self and child processes\n                tr                              :null,  // - transliterate a string\n                truncate                        :1,     // - shorten a file\n                uc                              :1,     // - return upper-case version of a string\n                ucfirst                         :1,     // - return a string with just the next letter in upper case\n                umask                           :1,     // - set file creation mode mask\n                undef                           :1,     // - remove a variable or function definition\n                unlink                          :1,     // - remove one link to a file\n                unpack                          :1,     // - convert binary structure into normal perl variables\n                unshift                         :1,     // - prepend more elements to the beginning of a list\n                untie                           :1,     // - break a tie binding to a variable\n                use                             :1,     // - load in a module at compile time\n                utime                           :1,     // - set a file's last access and modify times\n                values                          :1,     // - return a list of the values in a hash\n                vec                             :1,     // - test or set particular bits in a string\n                wait                            :1,     // - wait for any child process to die\n                waitpid                         :1,     // - wait for a particular child process to die\n                wantarray                       :1,     // - get void vs scalar vs list context of current subroutine call\n                warn                            :1,     // - print debugging info\n                when                            :1,     //\n                write                           :1,     // - print a picture record\n                y                               :null}; // - transliterate a string\n\n        var RXstyle=\"string-2\";\n        var RXmodifiers=/[goseximacplud]/;              // NOTE: \"m\", \"s\", \"y\" and \"tr\" need to correct real modifiers for each regexp type\n\n        function tokenChain(stream,state,chain,style,tail){     // NOTE: chain.length > 2 is not working now (it's for s[...][...]geos;)\n                state.chain=null;                               //                                                          12   3tail\n                state.style=null;\n                state.tail=null;\n                state.tokenize=function(stream,state){\n                        var e=false,c,i=0;\n                        while(c=stream.next()){\n                                if(c===chain[i]&&!e){\n                                        if(chain[++i]!==undefined){\n                                                state.chain=chain[i];\n                                                state.style=style;\n                                                state.tail=tail;}\n                                        else if(tail)\n                                                stream.eatWhile(tail);\n                                        state.tokenize=tokenPerl;\n                                        return style;}\n                                e=!e&&c==\"\\\\\";}\n                        return style;};\n                return state.tokenize(stream,state);}\n\n        function tokenSOMETHING(stream,state,string){\n                state.tokenize=function(stream,state){\n                        if(stream.string==string)\n                                state.tokenize=tokenPerl;\n                        stream.skipToEnd();\n                        return \"string\";};\n                return state.tokenize(stream,state);}\n\n        function tokenPerl(stream,state){\n                if(stream.eatSpace())\n                        return null;\n                if(state.chain)\n                        return tokenChain(stream,state,state.chain,state.style,state.tail);\n                if(stream.match(/^\\-?[\\d\\.]/,false))\n                        if(stream.match(/^(\\-?(\\d*\\.\\d+(e[+-]?\\d+)?|\\d+\\.\\d*)|0x[\\da-fA-F]+|0b[01]+|\\d+(e[+-]?\\d+)?)/))\n                                return 'number';\n                if(stream.match(/^<<(?=\\w)/)){                  // NOTE: <<SOMETHING\\n...\\nSOMETHING\\n\n                        stream.eatWhile(/\\w/);\n                        return tokenSOMETHING(stream,state,stream.current().substr(2));}\n                if(stream.sol()&&stream.match(/^\\=item(?!\\w)/)){// NOTE: \\n=item...\\n=cut\\n\n                        return tokenSOMETHING(stream,state,'=cut');}\n                var ch=stream.next();\n                if(ch=='\"'||ch==\"'\"){                           // NOTE: ' or \" or <<'SOMETHING'\\n...\\nSOMETHING\\n or <<\"SOMETHING\"\\n...\\nSOMETHING\\n\n                        if(prefix(stream, 3)==\"<<\"+ch){\n                                var p=stream.pos;\n                                stream.eatWhile(/\\w/);\n                                var n=stream.current().substr(1);\n                                if(n&&stream.eat(ch))\n                                        return tokenSOMETHING(stream,state,n);\n                                stream.pos=p;}\n                        return tokenChain(stream,state,[ch],\"string\");}\n                if(ch==\"q\"){\n                        var c=look(stream, -2);\n                        if(!(c&&/\\w/.test(c))){\n                                c=look(stream, 0);\n                                if(c==\"x\"){\n                                        c=look(stream, 1);\n                                        if(c==\"(\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\")\"],RXstyle,RXmodifiers);}\n                                        if(c==\"[\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\"]\"],RXstyle,RXmodifiers);}\n                                        if(c==\"{\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\"}\"],RXstyle,RXmodifiers);}\n                                        if(c==\"<\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\">\"],RXstyle,RXmodifiers);}\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                eatSuffix(stream, 1);\n                                                return tokenChain(stream,state,[stream.eat(c)],RXstyle,RXmodifiers);}}\n                                else if(c==\"q\"){\n                                        c=look(stream, 1);\n                                        if(c==\"(\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\")\"],\"string\");}\n                                        if(c==\"[\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\"]\"],\"string\");}\n                                        if(c==\"{\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\"}\"],\"string\");}\n                                        if(c==\"<\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\">\"],\"string\");}\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                eatSuffix(stream, 1);\n                                                return tokenChain(stream,state,[stream.eat(c)],\"string\");}}\n                                else if(c==\"w\"){\n                                        c=look(stream, 1);\n                                        if(c==\"(\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\")\"],\"bracket\");}\n                                        if(c==\"[\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\"]\"],\"bracket\");}\n                                        if(c==\"{\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\"}\"],\"bracket\");}\n                                        if(c==\"<\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\">\"],\"bracket\");}\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                eatSuffix(stream, 1);\n                                                return tokenChain(stream,state,[stream.eat(c)],\"bracket\");}}\n                                else if(c==\"r\"){\n                                        c=look(stream, 1);\n                                        if(c==\"(\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\")\"],RXstyle,RXmodifiers);}\n                                        if(c==\"[\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\"]\"],RXstyle,RXmodifiers);}\n                                        if(c==\"{\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\"}\"],RXstyle,RXmodifiers);}\n                                        if(c==\"<\"){\n                                                eatSuffix(stream, 2);\n                                                return tokenChain(stream,state,[\">\"],RXstyle,RXmodifiers);}\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                eatSuffix(stream, 1);\n                                                return tokenChain(stream,state,[stream.eat(c)],RXstyle,RXmodifiers);}}\n                                else if(/[\\^'\"!~\\/(\\[{<]/.test(c)){\n                                        if(c==\"(\"){\n                                                eatSuffix(stream, 1);\n                                                return tokenChain(stream,state,[\")\"],\"string\");}\n                                        if(c==\"[\"){\n                                                eatSuffix(stream, 1);\n                                                return tokenChain(stream,state,[\"]\"],\"string\");}\n                                        if(c==\"{\"){\n                                                eatSuffix(stream, 1);\n                                                return tokenChain(stream,state,[\"}\"],\"string\");}\n                                        if(c==\"<\"){\n                                                eatSuffix(stream, 1);\n                                                return tokenChain(stream,state,[\">\"],\"string\");}\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                return tokenChain(stream,state,[stream.eat(c)],\"string\");}}}}\n                if(ch==\"m\"){\n                        var c=look(stream, -2);\n                        if(!(c&&/\\w/.test(c))){\n                                c=stream.eat(/[(\\[{<\\^'\"!~\\/]/);\n                                if(c){\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                return tokenChain(stream,state,[c],RXstyle,RXmodifiers);}\n                                        if(c==\"(\"){\n                                                return tokenChain(stream,state,[\")\"],RXstyle,RXmodifiers);}\n                                        if(c==\"[\"){\n                                                return tokenChain(stream,state,[\"]\"],RXstyle,RXmodifiers);}\n                                        if(c==\"{\"){\n                                                return tokenChain(stream,state,[\"}\"],RXstyle,RXmodifiers);}\n                                        if(c==\"<\"){\n                                                return tokenChain(stream,state,[\">\"],RXstyle,RXmodifiers);}}}}\n                if(ch==\"s\"){\n                        var c=/[\\/>\\]})\\w]/.test(look(stream, -2));\n                        if(!c){\n                                c=stream.eat(/[(\\[{<\\^'\"!~\\/]/);\n                                if(c){\n                                        if(c==\"[\")\n                                                return tokenChain(stream,state,[\"]\",\"]\"],RXstyle,RXmodifiers);\n                                        if(c==\"{\")\n                                                return tokenChain(stream,state,[\"}\",\"}\"],RXstyle,RXmodifiers);\n                                        if(c==\"<\")\n                                                return tokenChain(stream,state,[\">\",\">\"],RXstyle,RXmodifiers);\n                                        if(c==\"(\")\n                                                return tokenChain(stream,state,[\")\",\")\"],RXstyle,RXmodifiers);\n                                        return tokenChain(stream,state,[c,c],RXstyle,RXmodifiers);}}}\n                if(ch==\"y\"){\n                        var c=/[\\/>\\]})\\w]/.test(look(stream, -2));\n                        if(!c){\n                                c=stream.eat(/[(\\[{<\\^'\"!~\\/]/);\n                                if(c){\n                                        if(c==\"[\")\n                                                return tokenChain(stream,state,[\"]\",\"]\"],RXstyle,RXmodifiers);\n                                        if(c==\"{\")\n                                                return tokenChain(stream,state,[\"}\",\"}\"],RXstyle,RXmodifiers);\n                                        if(c==\"<\")\n                                                return tokenChain(stream,state,[\">\",\">\"],RXstyle,RXmodifiers);\n                                        if(c==\"(\")\n                                                return tokenChain(stream,state,[\")\",\")\"],RXstyle,RXmodifiers);\n                                        return tokenChain(stream,state,[c,c],RXstyle,RXmodifiers);}}}\n                if(ch==\"t\"){\n                        var c=/[\\/>\\]})\\w]/.test(look(stream, -2));\n                        if(!c){\n                                c=stream.eat(\"r\");if(c){\n                                c=stream.eat(/[(\\[{<\\^'\"!~\\/]/);\n                                if(c){\n                                        if(c==\"[\")\n                                                return tokenChain(stream,state,[\"]\",\"]\"],RXstyle,RXmodifiers);\n                                        if(c==\"{\")\n                                                return tokenChain(stream,state,[\"}\",\"}\"],RXstyle,RXmodifiers);\n                                        if(c==\"<\")\n                                                return tokenChain(stream,state,[\">\",\">\"],RXstyle,RXmodifiers);\n                                        if(c==\"(\")\n                                                return tokenChain(stream,state,[\")\",\")\"],RXstyle,RXmodifiers);\n                                        return tokenChain(stream,state,[c,c],RXstyle,RXmodifiers);}}}}\n                if(ch==\"`\"){\n                        return tokenChain(stream,state,[ch],\"variable-2\");}\n                if(ch==\"/\"){\n                        if(!/~\\s*$/.test(prefix(stream)))\n                                return \"operator\";\n                        else\n                                return tokenChain(stream,state,[ch],RXstyle,RXmodifiers);}\n                if(ch==\"$\"){\n                        var p=stream.pos;\n                        if(stream.eatWhile(/\\d/)||stream.eat(\"{\")&&stream.eatWhile(/\\d/)&&stream.eat(\"}\"))\n                                return \"variable-2\";\n                        else\n                                stream.pos=p;}\n                if(/[$@%]/.test(ch)){\n                        var p=stream.pos;\n                        if(stream.eat(\"^\")&&stream.eat(/[A-Z]/)||!/[@$%&]/.test(look(stream, -2))&&stream.eat(/[=|\\\\\\-#?@;:&`~\\^!\\[\\]*'\"$+.,\\/<>()]/)){\n                                var c=stream.current();\n                                if(PERL[c])\n                                        return \"variable-2\";}\n                        stream.pos=p;}\n                if(/[$@%&]/.test(ch)){\n                        if(stream.eatWhile(/[\\w$\\[\\]]/)||stream.eat(\"{\")&&stream.eatWhile(/[\\w$\\[\\]]/)&&stream.eat(\"}\")){\n                                var c=stream.current();\n                                if(PERL[c])\n                                        return \"variable-2\";\n                                else\n                                        return \"variable\";}}\n                if(ch==\"#\"){\n                        if(look(stream, -2)!=\"$\"){\n                                stream.skipToEnd();\n                                return \"comment\";}}\n                if(/[:+\\-\\^*$&%@=<>!?|\\/~\\.]/.test(ch)){\n                        var p=stream.pos;\n                        stream.eatWhile(/[:+\\-\\^*$&%@=<>!?|\\/~\\.]/);\n                        if(PERL[stream.current()])\n                                return \"operator\";\n                        else\n                                stream.pos=p;}\n                if(ch==\"_\"){\n                        if(stream.pos==1){\n                                if(suffix(stream, 6)==\"_END__\"){\n                                        return tokenChain(stream,state,['\\0'],\"comment\");}\n                                else if(suffix(stream, 7)==\"_DATA__\"){\n                                        return tokenChain(stream,state,['\\0'],\"variable-2\");}\n                                else if(suffix(stream, 7)==\"_C__\"){\n                                        return tokenChain(stream,state,['\\0'],\"string\");}}}\n                if(/\\w/.test(ch)){\n                        var p=stream.pos;\n                        if(look(stream, -2)==\"{\"&&(look(stream, 0)==\"}\"||stream.eatWhile(/\\w/)&&look(stream, 0)==\"}\"))\n                                return \"string\";\n                        else\n                                stream.pos=p;}\n                if(/[A-Z]/.test(ch)){\n                        var l=look(stream, -2);\n                        var p=stream.pos;\n                        stream.eatWhile(/[A-Z_]/);\n                        if(/[\\da-z]/.test(look(stream, 0))){\n                                stream.pos=p;}\n                        else{\n                                var c=PERL[stream.current()];\n                                if(!c)\n                                        return \"meta\";\n                                if(c[1])\n                                        c=c[0];\n                                if(l!=\":\"){\n                                        if(c==1)\n                                                return \"keyword\";\n                                        else if(c==2)\n                                                return \"def\";\n                                        else if(c==3)\n                                                return \"atom\";\n                                        else if(c==4)\n                                                return \"operator\";\n                                        else if(c==5)\n                                                return \"variable-2\";\n                                        else\n                                                return \"meta\";}\n                                else\n                                        return \"meta\";}}\n                if(/[a-zA-Z_]/.test(ch)){\n                        var l=look(stream, -2);\n                        stream.eatWhile(/\\w/);\n                        var c=PERL[stream.current()];\n                        if(!c)\n                                return \"meta\";\n                        if(c[1])\n                                c=c[0];\n                        if(l!=\":\"){\n                                if(c==1)\n                                        return \"keyword\";\n                                else if(c==2)\n                                        return \"def\";\n                                else if(c==3)\n                                        return \"atom\";\n                                else if(c==4)\n                                        return \"operator\";\n                                else if(c==5)\n                                        return \"variable-2\";\n                                else\n                                        return \"meta\";}\n                        else\n                                return \"meta\";}\n                return null;}\n\n        return {\n            startState: function() {\n                return {\n                    tokenize: tokenPerl,\n                    chain: null,\n                    style: null,\n                    tail: null\n                };\n            },\n            token: function(stream, state) {\n                return (state.tokenize || tokenPerl)(stream, state);\n            },\n            lineComment: '#'\n        };\n});\n\nCodeMirror.registerHelper(\"wordChars\", \"perl\", /[\\w$]/);\n\nCodeMirror.defineMIME(\"text/x-perl\", \"perl\");\n\n// it's like \"peek\", but need for look-ahead or look-behind if index < 0\nfunction look(stream, c){\n  return stream.string.charAt(stream.pos+(c||0));\n}\n\n// return a part of prefix of current stream from current position\nfunction prefix(stream, c){\n  if(c){\n    var x=stream.pos-c;\n    return stream.string.substr((x>=0?x:0),c);}\n  else{\n    return stream.string.substr(0,stream.pos-1);\n  }\n}\n\n// return a part of suffix of current stream from current position\nfunction suffix(stream, c){\n  var y=stream.string.length;\n  var x=y-stream.pos+1;\n  return stream.string.substr(stream.pos,(c&&c<y?c:x));\n}\n\n// eating and vomiting a part of stream from current position\nfunction eatSuffix(stream, c){\n  var x=stream.pos+c;\n  var y;\n  if(x<=0)\n    stream.pos=0;\n  else if(x>=(y=stream.string.length-1))\n    stream.pos=y;\n  else\n    stream.pos=x;\n}\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/php/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: PHP mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../css/css.js\"></script>\n<script src=\"../clike/clike.js\"></script>\n<script src=\"php.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">PHP</a>\n  </ul>\n</div>\n\n<article>\n<h2>PHP mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n<?php\n$a = array('a' => 1, 'b' => 2, 3 => 'c');\n\necho \"$a[a] ${a[3] /* } comment */} {$a[b]} \\$a[a]\";\n\nfunction hello($who) {\n\treturn \"Hello $who!\";\n}\n?>\n<p>The program says <?= hello(\"World\") ?>.</p>\n<script>\n\talert(\"And here is some JS code\"); // also colored\n</script>\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"application/x-httpd-php\",\n        indentUnit: 4,\n        indentWithTabs: true\n      });\n    </script>\n\n    <p>Simple HTML/PHP mode based on\n    the <a href=\"../clike/\">C-like</a> mode. Depends on XML,\n    JavaScript, CSS, HTMLMixed, and C-like modes.</p>\n\n    <p><strong>MIME types defined:</strong> <code>application/x-httpd-php</code> (HTML with PHP code), <code>text/x-php</code> (plain, non-wrapped PHP code).</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/php/php.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../htmlmixed/htmlmixed\"), require(\"../clike/clike\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../htmlmixed/htmlmixed\", \"../clike/clike\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  function keywords(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  // Helper for stringWithEscapes\n  function matchSequence(list, end) {\n    if (list.length == 0) return stringWithEscapes(end);\n    return function (stream, state) {\n      var patterns = list[0];\n      for (var i = 0; i < patterns.length; i++) if (stream.match(patterns[i][0])) {\n        state.tokenize = matchSequence(list.slice(1), end);\n        return patterns[i][1];\n      }\n      state.tokenize = stringWithEscapes(end);\n      return \"string\";\n    };\n  }\n  function stringWithEscapes(closing) {\n    return function(stream, state) { return stringWithEscapes_(stream, state, closing); };\n  }\n  function stringWithEscapes_(stream, state, closing) {\n    // \"Complex\" syntax\n    if (stream.match(\"${\", false) || stream.match(\"{$\", false)) {\n      state.tokenize = null;\n      return \"string\";\n    }\n\n    // Simple syntax\n    if (stream.match(/^\\$[a-zA-Z_][a-zA-Z0-9_]*/)) {\n      // After the variable name there may appear array or object operator.\n      if (stream.match(\"[\", false)) {\n        // Match array operator\n        state.tokenize = matchSequence([\n          [[\"[\", null]],\n          [[/\\d[\\w\\.]*/, \"number\"],\n           [/\\$[a-zA-Z_][a-zA-Z0-9_]*/, \"variable-2\"],\n           [/[\\w\\$]+/, \"variable\"]],\n          [[\"]\", null]]\n        ], closing);\n      }\n      if (stream.match(/\\-\\>\\w/, false)) {\n        // Match object operator\n        state.tokenize = matchSequence([\n          [[\"->\", null]],\n          [[/[\\w]+/, \"variable\"]]\n        ], closing);\n      }\n      return \"variable-2\";\n    }\n\n    var escaped = false;\n    // Normal string\n    while (!stream.eol() &&\n           (escaped || (!stream.match(\"{$\", false) &&\n                        !stream.match(/^(\\$[a-zA-Z_][a-zA-Z0-9_]*|\\$\\{)/, false)))) {\n      if (!escaped && stream.match(closing)) {\n        state.tokenize = null;\n        state.tokStack.pop(); state.tokStack.pop();\n        break;\n      }\n      escaped = stream.next() == \"\\\\\" && !escaped;\n    }\n    return \"string\";\n  }\n\n  var phpKeywords = \"abstract and array as break case catch class clone const continue declare default \" +\n    \"do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final \" +\n    \"for foreach function global goto if implements interface instanceof namespace \" +\n    \"new or private protected public static switch throw trait try use var while xor \" +\n    \"die echo empty exit eval include include_once isset list require require_once return \" +\n    \"print unset __halt_compiler self static parent yield insteadof finally\";\n  var phpAtoms = \"true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__\";\n  var phpBuiltin = \"func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count\";\n  CodeMirror.registerHelper(\"hintWords\", \"php\", [phpKeywords, phpAtoms, phpBuiltin].join(\" \").split(\" \"));\n  CodeMirror.registerHelper(\"wordChars\", \"php\", /[\\w$]/);\n\n  var phpConfig = {\n    name: \"clike\",\n    helperType: \"php\",\n    keywords: keywords(phpKeywords),\n    blockKeywords: keywords(\"catch do else elseif for foreach if switch try while finally\"),\n    atoms: keywords(phpAtoms),\n    builtin: keywords(phpBuiltin),\n    multiLineStrings: true,\n    hooks: {\n      \"$\": function(stream) {\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"variable-2\";\n      },\n      \"<\": function(stream, state) {\n        if (stream.match(/<</)) {\n          stream.eatWhile(/[\\w\\.]/);\n          var delim = stream.current().slice(3);\n          if (delim) {\n            (state.tokStack || (state.tokStack = [])).push(delim, 0);\n            state.tokenize = stringWithEscapes(delim);\n            return \"string\";\n          }\n        }\n        return false;\n      },\n      \"#\": function(stream) {\n        while (!stream.eol() && !stream.match(\"?>\", false)) stream.next();\n        return \"comment\";\n      },\n      \"/\": function(stream) {\n        if (stream.eat(\"/\")) {\n          while (!stream.eol() && !stream.match(\"?>\", false)) stream.next();\n          return \"comment\";\n        }\n        return false;\n      },\n      '\"': function(_stream, state) {\n        (state.tokStack || (state.tokStack = [])).push('\"', 0);\n        state.tokenize = stringWithEscapes('\"');\n        return \"string\";\n      },\n      \"{\": function(_stream, state) {\n        if (state.tokStack && state.tokStack.length)\n          state.tokStack[state.tokStack.length - 1]++;\n        return false;\n      },\n      \"}\": function(_stream, state) {\n        if (state.tokStack && state.tokStack.length > 0 &&\n            !--state.tokStack[state.tokStack.length - 1]) {\n          state.tokenize = stringWithEscapes(state.tokStack[state.tokStack.length - 2]);\n        }\n        return false;\n      }\n    }\n  };\n\n  CodeMirror.defineMode(\"php\", function(config, parserConfig) {\n    var htmlMode = CodeMirror.getMode(config, \"text/html\");\n    var phpMode = CodeMirror.getMode(config, phpConfig);\n\n    function dispatch(stream, state) {\n      var isPHP = state.curMode == phpMode;\n      if (stream.sol() && state.pending && state.pending != '\"' && state.pending != \"'\") state.pending = null;\n      if (!isPHP) {\n        if (stream.match(/^<\\?\\w*/)) {\n          state.curMode = phpMode;\n          state.curState = state.php;\n          return \"meta\";\n        }\n        if (state.pending == '\"' || state.pending == \"'\") {\n          while (!stream.eol() && stream.next() != state.pending) {}\n          var style = \"string\";\n        } else if (state.pending && stream.pos < state.pending.end) {\n          stream.pos = state.pending.end;\n          var style = state.pending.style;\n        } else {\n          var style = htmlMode.token(stream, state.curState);\n        }\n        if (state.pending) state.pending = null;\n        var cur = stream.current(), openPHP = cur.search(/<\\?/), m;\n        if (openPHP != -1) {\n          if (style == \"string\" && (m = cur.match(/[\\'\\\"]$/)) && !/\\?>/.test(cur)) state.pending = m[0];\n          else state.pending = {end: stream.pos, style: style};\n          stream.backUp(cur.length - openPHP);\n        }\n        return style;\n      } else if (isPHP && state.php.tokenize == null && stream.match(\"?>\")) {\n        state.curMode = htmlMode;\n        state.curState = state.html;\n        return \"meta\";\n      } else {\n        return phpMode.token(stream, state.curState);\n      }\n    }\n\n    return {\n      startState: function() {\n        var html = CodeMirror.startState(htmlMode), php = CodeMirror.startState(phpMode);\n        return {html: html,\n                php: php,\n                curMode: parserConfig.startOpen ? phpMode : htmlMode,\n                curState: parserConfig.startOpen ? php : html,\n                pending: null};\n      },\n\n      copyState: function(state) {\n        var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),\n            php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;\n        if (state.curMode == htmlMode) cur = htmlNew;\n        else cur = phpNew;\n        return {html: htmlNew, php: phpNew, curMode: state.curMode, curState: cur,\n                pending: state.pending};\n      },\n\n      token: dispatch,\n\n      indent: function(state, textAfter) {\n        if ((state.curMode != phpMode && /^\\s*<\\//.test(textAfter)) ||\n            (state.curMode == phpMode && /^\\?>/.test(textAfter)))\n          return htmlMode.indent(state.html, textAfter);\n        return state.curMode.indent(state.curState, textAfter);\n      },\n\n      blockCommentStart: \"/*\",\n      blockCommentEnd: \"*/\",\n      lineComment: \"//\",\n\n      innerMode: function(state) { return {state: state.curState, mode: state.curMode}; }\n    };\n  }, \"htmlmixed\", \"clike\");\n\n  CodeMirror.defineMIME(\"application/x-httpd-php\", \"php\");\n  CodeMirror.defineMIME(\"application/x-httpd-php-open\", {name: \"php\", startOpen: true});\n  CodeMirror.defineMIME(\"text/x-php\", phpConfig);\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/php/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({indentUnit: 2}, \"php\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT('simple_test',\n     '[meta <?php] ' +\n     '[keyword echo] [string \"aaa\"]; ' +\n     '[meta ?>]');\n\n  MT('variable_interpolation_non_alphanumeric',\n     '[meta <?php]',\n     '[keyword echo] [string \"aaa$~$!$@$#$$$%$^$&$*$($)$.$<$>$/$\\\\$}$\\\\\\\"$:$;$?$|$[[$]]$+$=aaa\"]',\n     '[meta ?>]');\n\n  MT('variable_interpolation_digits',\n     '[meta <?php]',\n     '[keyword echo] [string \"aaa$1$2$3$4$5$6$7$8$9$0aaa\"]',\n     '[meta ?>]');\n\n  MT('variable_interpolation_simple_syntax_1',\n     '[meta <?php]',\n     '[keyword echo] [string \"aaa][variable-2 $aaa][string .aaa\"];',\n     '[meta ?>]');\n\n  MT('variable_interpolation_simple_syntax_2',\n     '[meta <?php]',\n     '[keyword echo] [string \"][variable-2 $aaaa][[','[number 2]',         ']][string aa\"];',\n     '[keyword echo] [string \"][variable-2 $aaaa][[','[number 2345]',      ']][string aa\"];',\n     '[keyword echo] [string \"][variable-2 $aaaa][[','[number 2.3]',       ']][string aa\"];',\n     '[keyword echo] [string \"][variable-2 $aaaa][[','[variable aaaaa]',   ']][string aa\"];',\n     '[keyword echo] [string \"][variable-2 $aaaa][[','[variable-2 $aaaaa]',']][string aa\"];',\n\n     '[keyword echo] [string \"1aaa][variable-2 $aaaa][[','[number 2]',         ']][string aa\"];',\n     '[keyword echo] [string \"aaa][variable-2 $aaaa][[','[number 2345]',      ']][string aa\"];',\n     '[keyword echo] [string \"aaa][variable-2 $aaaa][[','[number 2.3]',       ']][string aa\"];',\n     '[keyword echo] [string \"aaa][variable-2 $aaaa][[','[variable aaaaa]',   ']][string aa\"];',\n     '[keyword echo] [string \"aaa][variable-2 $aaaa][[','[variable-2 $aaaaa]',']][string aa\"];',\n     '[meta ?>]');\n\n  MT('variable_interpolation_simple_syntax_3',\n     '[meta <?php]',\n     '[keyword echo] [string \"aaa][variable-2 $aaaa]->[variable aaaaa][string .aaaaaa\"];',\n     '[keyword echo] [string \"aaa][variable-2 $aaaa][string ->][variable-2 $aaaaa][string .aaaaaa\"];',\n     '[keyword echo] [string \"aaa][variable-2 $aaaa]->[variable aaaaa][string [[2]].aaaaaa\"];',\n     '[keyword echo] [string \"aaa][variable-2 $aaaa]->[variable aaaaa][string ->aaaa2.aaaaaa\"];',\n     '[meta ?>]');\n\n  MT('variable_interpolation_escaping',\n     '[meta <?php] [comment /* Escaping */]',\n     '[keyword echo] [string \"aaa\\\\$aaaa->aaa.aaa\"];',\n     '[keyword echo] [string \"aaa\\\\$aaaa[[2]]aaa.aaa\"];',\n     '[keyword echo] [string \"aaa\\\\$aaaa[[asd]]aaa.aaa\"];',\n     '[keyword echo] [string \"aaa{\\\\$aaaa->aaa.aaa\"];',\n     '[keyword echo] [string \"aaa{\\\\$aaaa[[2]]aaa.aaa\"];',\n     '[keyword echo] [string \"aaa{\\\\aaaaa[[asd]]aaa.aaa\"];',\n     '[keyword echo] [string \"aaa\\\\${aaaa->aaa.aaa\"];',\n     '[keyword echo] [string \"aaa\\\\${aaaa[[2]]aaa.aaa\"];',\n     '[keyword echo] [string \"aaa\\\\${aaaa[[asd]]aaa.aaa\"];',\n     '[meta ?>]');\n\n  MT('variable_interpolation_complex_syntax_1',\n     '[meta <?php]',\n     '[keyword echo] [string \"aaa][variable-2 $]{[variable aaaa]}[string ->aaa.aaa\"];',\n     '[keyword echo] [string \"aaa][variable-2 $]{[variable-2 $aaaa]}[string ->aaa.aaa\"];',\n     '[keyword echo] [string \"aaa][variable-2 $]{[variable-2 $aaaa][[','  [number 42]',']]}[string ->aaa.aaa\"];',\n     '[keyword echo] [string \"aaa][variable-2 $]{[variable aaaa][meta ?>]aaaaaa');\n\n  MT('variable_interpolation_complex_syntax_2',\n     '[meta <?php] [comment /* Monsters */]',\n     '[keyword echo] [string \"][variable-2 $]{[variable aaa][comment /*}?>} $aaa<?php } */]}[string ->aaa.aaa\"];',\n     '[keyword echo] [string \"][variable-2 $]{[variable aaa][comment /*}?>*/][[','  [string \"aaa][variable-2 $aaa][string {}][variable-2 $]{[variable aaa]}[string \"]',']]}[string ->aaa.aaa\"];',\n     '[keyword echo] [string \"][variable-2 $]{[variable aaa][comment /*} } $aaa } */]}[string ->aaa.aaa\"];');\n\n\n  function build_recursive_monsters(nt, t, n){\n    var monsters = [t];\n    for (var i = 1; i <= n; ++i)\n      monsters[i] = nt.join(monsters[i - 1]);\n    return monsters;\n  }\n\n  var m1 = build_recursive_monsters(\n    ['[string \"][variable-2 $]{[variable aaa] [operator +] ', '}[string \"]'],\n    '[comment /* }?>} */] [string \"aaa][variable-2 $aaa][string .aaa\"]',\n    10\n  );\n\n  MT('variable_interpolation_complex_syntax_3_1',\n     '[meta <?php] [comment /* Recursive monsters */]',\n     '[keyword echo] ' + m1[4] + ';',\n     '[keyword echo] ' + m1[7] + ';',\n     '[keyword echo] ' + m1[8] + ';',\n     '[keyword echo] ' + m1[5] + ';',\n     '[keyword echo] ' + m1[1] + ';',\n     '[keyword echo] ' + m1[6] + ';',\n     '[keyword echo] ' + m1[9] + ';',\n     '[keyword echo] ' + m1[0] + ';',\n     '[keyword echo] ' + m1[10] + ';',\n     '[keyword echo] ' + m1[2] + ';',\n     '[keyword echo] ' + m1[3] + ';',\n     '[keyword echo] [string \"end\"];',\n     '[meta ?>]');\n\n  var m2 = build_recursive_monsters(\n    ['[string \"a][variable-2 $]{[variable aaa] [operator +] ', ' [operator +] ', '}[string .a\"]'],\n    '[comment /* }?>{{ */] [string \"a?>}{{aa][variable-2 $aaa][string .a}a?>a\"]',\n    5\n  );\n\n  MT('variable_interpolation_complex_syntax_3_2',\n     '[meta <?php] [comment /* Recursive monsters 2 */]',\n     '[keyword echo] ' + m2[0] + ';',\n     '[keyword echo] ' + m2[1] + ';',\n     '[keyword echo] ' + m2[5] + ';',\n     '[keyword echo] ' + m2[4] + ';',\n     '[keyword echo] ' + m2[2] + ';',\n     '[keyword echo] ' + m2[3] + ';',\n     '[keyword echo] [string \"end\"];',\n     '[meta ?>]');\n\n  function build_recursive_monsters_2(mf1, mf2, nt, t, n){\n    var monsters = [t];\n    for (var i = 1; i <= n; ++i)\n      monsters[i] = nt[0] + mf1[i - 1] + nt[1] + mf2[i - 1] + nt[2] + monsters[i - 1] + nt[3];\n    return monsters;\n  }\n\n  var m3 = build_recursive_monsters_2(\n    m1,\n    m2,\n    ['[string \"a][variable-2 $]{[variable aaa] [operator +] ', ' [operator +] ', ' [operator +] ', '}[string .a\"]'],\n    '[comment /* }?>{{ */] [string \"a?>}{{aa][variable-2 $aaa][string .a}a?>a\"]',\n    4\n  );\n\n  MT('variable_interpolation_complex_syntax_3_3',\n     '[meta <?php] [comment /* Recursive monsters 2 */]',\n     '[keyword echo] ' + m3[4] + ';',\n     '[keyword echo] ' + m3[0] + ';',\n     '[keyword echo] ' + m3[3] + ';',\n     '[keyword echo] ' + m3[1] + ';',\n     '[keyword echo] ' + m3[2] + ';',\n     '[keyword echo] [string \"end\"];',\n     '[meta ?>]');\n\n  MT(\"variable_interpolation_heredoc\",\n     \"[meta <?php]\",\n     \"[string <<<here]\",\n     \"[string doc ][variable-2 $]{[variable yay]}[string more]\",\n     \"[string here]; [comment // normal]\");\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/pig/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Pig Latin mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"pig.js\"></script>\n<style>.CodeMirror {border: 2px inset #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Pig Latin</a>\n  </ul>\n</div>\n\n<article>\n<h2>Pig Latin mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n-- Apache Pig (Pig Latin Language) Demo\n/* \nThis is a multiline comment.\n*/\na = LOAD \"\\path\\to\\input\" USING PigStorage('\\t') AS (x:long, y:chararray, z:bytearray);\nb = GROUP a BY (x,y,3+4);\nc = FOREACH b GENERATE flatten(group) as (x,y), SUM(group.$2) as z;\nSTORE c INTO \"\\path\\to\\output\";\n\n--\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        indentUnit: 4,\n        mode: \"text/x-pig\"\n      });\n    </script>\n\n    <p>\n        Simple mode that handles Pig Latin language.\n    </p>\n\n    <p><strong>MIME type defined:</strong> <code>text/x-pig</code>\n    (PIG code)\n</html>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/pig/pig.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/*\n *      Pig Latin Mode for CodeMirror 2\n *      @author Prasanth Jayachandran\n *      @link   https://github.com/prasanthj/pig-codemirror-2\n *  This implementation is adapted from PL/SQL mode in CodeMirror 2.\n */\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"pig\", function(_config, parserConfig) {\n  var keywords = parserConfig.keywords,\n  builtins = parserConfig.builtins,\n  types = parserConfig.types,\n  multiLineStrings = parserConfig.multiLineStrings;\n\n  var isOperatorChar = /[*+\\-%<>=&?:\\/!|]/;\n\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n\n  var type;\n  function ret(tp, style) {\n    type = tp;\n    return style;\n  }\n\n  function tokenComment(stream, state) {\n    var isEnd = false;\n    var ch;\n    while(ch = stream.next()) {\n      if(ch == \"/\" && isEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      isEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while((next = stream.next()) != null) {\n        if (next == quote && !escaped) {\n          end = true; break;\n        }\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || multiLineStrings))\n        state.tokenize = tokenBase;\n      return ret(\"string\", \"error\");\n    };\n  }\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n\n    // is a start of string?\n    if (ch == '\"' || ch == \"'\")\n      return chain(stream, state, tokenString(ch));\n    // is it one of the special chars\n    else if(/[\\[\\]{}\\(\\),;\\.]/.test(ch))\n      return ret(ch);\n    // is it a number?\n    else if(/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return ret(\"number\", \"number\");\n    }\n    // multi line comment or operator\n    else if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        return chain(stream, state, tokenComment);\n      }\n      else {\n        stream.eatWhile(isOperatorChar);\n        return ret(\"operator\", \"operator\");\n      }\n    }\n    // single line comment or operator\n    else if (ch==\"-\") {\n      if(stream.eat(\"-\")){\n        stream.skipToEnd();\n        return ret(\"comment\", \"comment\");\n      }\n      else {\n        stream.eatWhile(isOperatorChar);\n        return ret(\"operator\", \"operator\");\n      }\n    }\n    // is it an operator\n    else if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return ret(\"operator\", \"operator\");\n    }\n    else {\n      // get the while word\n      stream.eatWhile(/[\\w\\$_]/);\n      // is it one of the listed keywords?\n      if (keywords && keywords.propertyIsEnumerable(stream.current().toUpperCase())) {\n        if (stream.eat(\")\") || stream.eat(\".\")) {\n          //keywords can be used as variables like flatten(group), group.$0 etc..\n        }\n        else {\n          return (\"keyword\", \"keyword\");\n        }\n      }\n      // is it one of the builtin functions?\n      if (builtins && builtins.propertyIsEnumerable(stream.current().toUpperCase()))\n      {\n        return (\"keyword\", \"variable-2\");\n      }\n      // is it one of the listed types?\n      if (types && types.propertyIsEnumerable(stream.current().toUpperCase()))\n        return (\"keyword\", \"variable-3\");\n      // default is a 'variable'\n      return ret(\"variable\", \"pig-word\");\n    }\n  }\n\n  // Interface\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      if(stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      return style;\n    }\n  };\n});\n\n(function() {\n  function keywords(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  // builtin funcs taken from trunk revision 1303237\n  var pBuiltins = \"ABS ACOS ARITY ASIN ATAN AVG BAGSIZE BINSTORAGE BLOOM BUILDBLOOM CBRT CEIL \"\n    + \"CONCAT COR COS COSH COUNT COUNT_STAR COV CONSTANTSIZE CUBEDIMENSIONS DIFF DISTINCT DOUBLEABS \"\n    + \"DOUBLEAVG DOUBLEBASE DOUBLEMAX DOUBLEMIN DOUBLEROUND DOUBLESUM EXP FLOOR FLOATABS FLOATAVG \"\n    + \"FLOATMAX FLOATMIN FLOATROUND FLOATSUM GENERICINVOKER INDEXOF INTABS INTAVG INTMAX INTMIN \"\n    + \"INTSUM INVOKEFORDOUBLE INVOKEFORFLOAT INVOKEFORINT INVOKEFORLONG INVOKEFORSTRING INVOKER \"\n    + \"ISEMPTY JSONLOADER JSONMETADATA JSONSTORAGE LAST_INDEX_OF LCFIRST LOG LOG10 LOWER LONGABS \"\n    + \"LONGAVG LONGMAX LONGMIN LONGSUM MAX MIN MAPSIZE MONITOREDUDF NONDETERMINISTIC OUTPUTSCHEMA  \"\n    + \"PIGSTORAGE PIGSTREAMING RANDOM REGEX_EXTRACT REGEX_EXTRACT_ALL REPLACE ROUND SIN SINH SIZE \"\n    + \"SQRT STRSPLIT SUBSTRING SUM STRINGCONCAT STRINGMAX STRINGMIN STRINGSIZE TAN TANH TOBAG \"\n    + \"TOKENIZE TOMAP TOP TOTUPLE TRIM TEXTLOADER TUPLESIZE UCFIRST UPPER UTF8STORAGECONVERTER \";\n\n  // taken from QueryLexer.g\n  var pKeywords = \"VOID IMPORT RETURNS DEFINE LOAD FILTER FOREACH ORDER CUBE DISTINCT COGROUP \"\n    + \"JOIN CROSS UNION SPLIT INTO IF OTHERWISE ALL AS BY USING INNER OUTER ONSCHEMA PARALLEL \"\n    + \"PARTITION GROUP AND OR NOT GENERATE FLATTEN ASC DESC IS STREAM THROUGH STORE MAPREDUCE \"\n    + \"SHIP CACHE INPUT OUTPUT STDERROR STDIN STDOUT LIMIT SAMPLE LEFT RIGHT FULL EQ GT LT GTE LTE \"\n    + \"NEQ MATCHES TRUE FALSE DUMP\";\n\n  // data types\n  var pTypes = \"BOOLEAN INT LONG FLOAT DOUBLE CHARARRAY BYTEARRAY BAG TUPLE MAP \";\n\n  CodeMirror.defineMIME(\"text/x-pig\", {\n    name: \"pig\",\n    builtins: keywords(pBuiltins),\n    keywords: keywords(pKeywords),\n    types: keywords(pTypes)\n  });\n\n  CodeMirror.registerHelper(\"hintWords\", \"pig\", (pBuiltins + pTypes + pKeywords).split(\" \"));\n}());\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/properties/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Properties files mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"properties.js\"></script>\n<style>.CodeMirror {border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Properties files</a>\n  </ul>\n</div>\n\n<article>\n<h2>Properties files mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# This is a properties file\na.key = A value\nanother.key = http://example.com\n! Exclamation mark as comment\nbut.not=Within ! A value # indeed\n   # Spaces at the beginning of a line\n   spaces.before.key=value\nbackslash=Used for multi\\\n          line entries,\\\n          that's convenient.\n# Unicode sequences\nunicode.key=This is \\u0020 Unicode\nno.multiline=here\n# Colons\ncolons : can be used too\n# Spaces\nspaces\\ in\\ keys=Not very common...\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-properties</code>,\n    <code>text/x-ini</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/properties/properties.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"properties\", function() {\n  return {\n    token: function(stream, state) {\n      var sol = stream.sol() || state.afterSection;\n      var eol = stream.eol();\n\n      state.afterSection = false;\n\n      if (sol) {\n        if (state.nextMultiline) {\n          state.inMultiline = true;\n          state.nextMultiline = false;\n        } else {\n          state.position = \"def\";\n        }\n      }\n\n      if (eol && ! state.nextMultiline) {\n        state.inMultiline = false;\n        state.position = \"def\";\n      }\n\n      if (sol) {\n        while(stream.eatSpace());\n      }\n\n      var ch = stream.next();\n\n      if (sol && (ch === \"#\" || ch === \"!\" || ch === \";\")) {\n        state.position = \"comment\";\n        stream.skipToEnd();\n        return \"comment\";\n      } else if (sol && ch === \"[\") {\n        state.afterSection = true;\n        stream.skipTo(\"]\"); stream.eat(\"]\");\n        return \"header\";\n      } else if (ch === \"=\" || ch === \":\") {\n        state.position = \"quote\";\n        return null;\n      } else if (ch === \"\\\\\" && state.position === \"quote\") {\n        if (stream.next() !== \"u\") {    // u = Unicode sequence \\u1234\n          // Multiline value\n          state.nextMultiline = true;\n        }\n      }\n\n      return state.position;\n    },\n\n    startState: function() {\n      return {\n        position : \"def\",       // Current position, \"def\", \"quote\" or \"comment\"\n        nextMultiline : false,  // Is the next line multiline value\n        inMultiline : false,    // Is the current line a multiline value\n        afterSection : false    // Did we just open a section\n      };\n    }\n\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-properties\", \"properties\");\nCodeMirror.defineMIME(\"text/x-ini\", \"properties\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/puppet/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Puppet mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"puppet.js\"></script>\n<style>\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .cm-s-default span.cm-arrow { color: red; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Puppet</a>\n  </ul>\n</div>\n\n<article>\n<h2>Puppet mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# == Class: automysqlbackup\n#\n# Puppet module to install AutoMySQLBackup for periodic MySQL backups.\n#\n# class { 'automysqlbackup':\n#   backup_dir => '/mnt/backups',\n# }\n#\n\nclass automysqlbackup (\n  $bin_dir = $automysqlbackup::params::bin_dir,\n  $etc_dir = $automysqlbackup::params::etc_dir,\n  $backup_dir = $automysqlbackup::params::backup_dir,\n  $install_multicore = undef,\n  $config = {},\n  $config_defaults = {},\n) inherits automysqlbackup::params {\n\n# Ensure valid paths are assigned\n  validate_absolute_path($bin_dir)\n  validate_absolute_path($etc_dir)\n  validate_absolute_path($backup_dir)\n\n# Create a subdirectory in /etc for config files\n  file { $etc_dir:\n    ensure => directory,\n    owner => 'root',\n    group => 'root',\n    mode => '0750',\n  }\n\n# Create an example backup file, useful for reference\n  file { \"${etc_dir}/automysqlbackup.conf.example\":\n    ensure => file,\n    owner => 'root',\n    group => 'root',\n    mode => '0660',\n    source => 'puppet:///modules/automysqlbackup/automysqlbackup.conf',\n  }\n\n# Add files from the developer\n  file { \"${etc_dir}/AMB_README\":\n    ensure => file,\n    source => 'puppet:///modules/automysqlbackup/AMB_README',\n  }\n  file { \"${etc_dir}/AMB_LICENSE\":\n    ensure => file,\n    source => 'puppet:///modules/automysqlbackup/AMB_LICENSE',\n  }\n\n# Install the actual binary file\n  file { \"${bin_dir}/automysqlbackup\":\n    ensure => file,\n    owner => 'root',\n    group => 'root',\n    mode => '0755',\n    source => 'puppet:///modules/automysqlbackup/automysqlbackup',\n  }\n\n# Create the base backup directory\n  file { $backup_dir:\n    ensure => directory,\n    owner => 'root',\n    group => 'root',\n    mode => '0755',\n  }\n\n# If you'd like to keep your config in hiera and pass it to this class\n  if !empty($config) {\n    create_resources('automysqlbackup::backup', $config, $config_defaults)\n  }\n\n# If using RedHat family, must have the RPMforge repo's enabled\n  if $install_multicore {\n    package { ['pigz', 'pbzip2']: ensure => installed }\n  }\n\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/x-puppet\",\n        matchBrackets: true,\n        indentUnit: 4\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-puppet</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/puppet/puppet.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"puppet\", function () {\n  // Stores the words from the define method\n  var words = {};\n  // Taken, mostly, from the Puppet official variable standards regex\n  var variable_regex = /({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;\n\n  // Takes a string of words separated by spaces and adds them as\n  // keys with the value of the first argument 'style'\n  function define(style, string) {\n    var split = string.split(' ');\n    for (var i = 0; i < split.length; i++) {\n      words[split[i]] = style;\n    }\n  }\n\n  // Takes commonly known puppet types/words and classifies them to a style\n  define('keyword', 'class define site node include import inherits');\n  define('keyword', 'case if else in and elsif default or');\n  define('atom', 'false true running present absent file directory undef');\n  define('builtin', 'action augeas burst chain computer cron destination dport exec ' +\n    'file filebucket group host icmp iniface interface jump k5login limit log_level ' +\n    'log_prefix macauthorization mailalias maillist mcx mount nagios_command ' +\n    'nagios_contact nagios_contactgroup nagios_host nagios_hostdependency ' +\n    'nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service ' +\n    'nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo ' +\n    'nagios_servicegroup nagios_timeperiod name notify outiface package proto reject ' +\n    'resources router schedule scheduled_task selboolean selmodule service source ' +\n    'sport ssh_authorized_key sshkey stage state table tidy todest toports tosource ' +\n    'user vlan yumrepo zfs zone zpool');\n\n  // After finding a start of a string ('|\") this function attempts to find the end;\n  // If a variable is encountered along the way, we display it differently when it\n  // is encapsulated in a double-quoted string.\n  function tokenString(stream, state) {\n    var current, prev, found_var = false;\n    while (!stream.eol() && (current = stream.next()) != state.pending) {\n      if (current === '$' && prev != '\\\\' && state.pending == '\"') {\n        found_var = true;\n        break;\n      }\n      prev = current;\n    }\n    if (found_var) {\n      stream.backUp(1);\n    }\n    if (current == state.pending) {\n      state.continueString = false;\n    } else {\n      state.continueString = true;\n    }\n    return \"string\";\n  }\n\n  // Main function\n  function tokenize(stream, state) {\n    // Matches one whole word\n    var word = stream.match(/[\\w]+/, false);\n    // Matches attributes (i.e. ensure => present ; 'ensure' would be matched)\n    var attribute = stream.match(/(\\s+)?\\w+\\s+=>.*/, false);\n    // Matches non-builtin resource declarations\n    // (i.e. \"apache::vhost {\" or \"mycustomclasss {\" would be matched)\n    var resource = stream.match(/(\\s+)?[\\w:_]+(\\s+)?{/, false);\n    // Matches virtual and exported resources (i.e. @@user { ; and the like)\n    var special_resource = stream.match(/(\\s+)?[@]{1,2}[\\w:_]+(\\s+)?{/, false);\n\n    // Finally advance the stream\n    var ch = stream.next();\n\n    // Have we found a variable?\n    if (ch === '$') {\n      if (stream.match(variable_regex)) {\n        // If so, and its in a string, assign it a different color\n        return state.continueString ? 'variable-2' : 'variable';\n      }\n      // Otherwise return an invalid variable\n      return \"error\";\n    }\n    // Should we still be looking for the end of a string?\n    if (state.continueString) {\n      // If so, go through the loop again\n      stream.backUp(1);\n      return tokenString(stream, state);\n    }\n    // Are we in a definition (class, node, define)?\n    if (state.inDefinition) {\n      // If so, return def (i.e. for 'class myclass {' ; 'myclass' would be matched)\n      if (stream.match(/(\\s+)?[\\w:_]+(\\s+)?/)) {\n        return 'def';\n      }\n      // Match the rest it the next time around\n      stream.match(/\\s+{/);\n      state.inDefinition = false;\n    }\n    // Are we in an 'include' statement?\n    if (state.inInclude) {\n      // Match and return the included class\n      stream.match(/(\\s+)?\\S+(\\s+)?/);\n      state.inInclude = false;\n      return 'def';\n    }\n    // Do we just have a function on our hands?\n    // In 'ensure_resource(\"myclass\")', 'ensure_resource' is matched\n    if (stream.match(/(\\s+)?\\w+\\(/)) {\n      stream.backUp(1);\n      return 'def';\n    }\n    // Have we matched the prior attribute regex?\n    if (attribute) {\n      stream.match(/(\\s+)?\\w+/);\n      return 'tag';\n    }\n    // Do we have Puppet specific words?\n    if (word && words.hasOwnProperty(word)) {\n      // Negates the initial next()\n      stream.backUp(1);\n      // Acutally move the stream\n      stream.match(/[\\w]+/);\n      // We want to process these words differently\n      // do to the importance they have in Puppet\n      if (stream.match(/\\s+\\S+\\s+{/, false)) {\n        state.inDefinition = true;\n      }\n      if (word == 'include') {\n        state.inInclude = true;\n      }\n      // Returns their value as state in the prior define methods\n      return words[word];\n    }\n    // Is there a match on a reference?\n    if (/(^|\\s+)[A-Z][\\w:_]+/.test(word)) {\n      // Negate the next()\n      stream.backUp(1);\n      // Match the full reference\n      stream.match(/(^|\\s+)[A-Z][\\w:_]+/);\n      return 'def';\n    }\n    // Have we matched the prior resource regex?\n    if (resource) {\n      stream.match(/(\\s+)?[\\w:_]+/);\n      return 'def';\n    }\n    // Have we matched the prior special_resource regex?\n    if (special_resource) {\n      stream.match(/(\\s+)?[@]{1,2}/);\n      return 'special';\n    }\n    // Match all the comments. All of them.\n    if (ch == \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    // Have we found a string?\n    if (ch == \"'\" || ch == '\"') {\n      // Store the type (single or double)\n      state.pending = ch;\n      // Perform the looping function to find the end\n      return tokenString(stream, state);\n    }\n    // Match all the brackets\n    if (ch == '{' || ch == '}') {\n      return 'bracket';\n    }\n    // Match characters that we are going to assume\n    // are trying to be regex\n    if (ch == '/') {\n      stream.match(/.*?\\//);\n      return 'variable-3';\n    }\n    // Match all the numbers\n    if (ch.match(/[0-9]/)) {\n      stream.eatWhile(/[0-9]+/);\n      return 'number';\n    }\n    // Match the '=' and '=>' operators\n    if (ch == '=') {\n      if (stream.peek() == '>') {\n          stream.next();\n      }\n      return \"operator\";\n    }\n    // Keep advancing through all the rest\n    stream.eatWhile(/[\\w-]/);\n    // Return a blank line for everything else\n    return null;\n  }\n  // Start it all\n  return {\n    startState: function () {\n      var state = {};\n      state.inDefinition = false;\n      state.inInclude = false;\n      state.continueString = false;\n      state.pending = false;\n      return state;\n    },\n    token: function (stream, state) {\n      // Strip the spaces, but regex will account for them eitherway\n      if (stream.eatSpace()) return null;\n      // Go through the main process\n      return tokenize(stream, state);\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-puppet\", \"puppet\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/python/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Python mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"python.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Python</a>\n  </ul>\n</div>\n\n<article>\n<h2>Python mode</h2>\n\n    <div><textarea id=\"code\" name=\"code\">\n# Literals\n1234\n0.0e101\n.123\n0b01010011100\n0o01234567\n0x0987654321abcdef\n7\n2147483647\n3L\n79228162514264337593543950336L\n0x100000000L\n79228162514264337593543950336\n0xdeadbeef\n3.14j\n10.j\n10j\n.001j\n1e100j\n3.14e-10j\n\n\n# String Literals\n'For\\''\n\"God\\\"\"\n\"\"\"so loved\nthe world\"\"\"\n'''that he gave\nhis only begotten\\' '''\n'that whosoever believeth \\\nin him'\n''\n\n# Identifiers\n__a__\na.b\na.b.c\n\n#Unicode identifiers on Python3\n# a = x\\ddot\na⃗ = ẍ\n# a = v\\dot\na⃗ = v̇\n\n#F\\vec = m \\cdot a\\vec\nF⃗ = m•a⃗ \n\n# Operators\n+ - * / % & | ^ ~ < >\n== != <= >= <> << >> // **\nand or not in is\n\n#infix matrix multiplication operator (PEP 465)\nA @ B\n\n# Delimiters\n() [] {} , : ` = ; @ .  # Note that @ and . require the proper context on Python 2.\n+= -= *= /= %= &= |= ^=\n//= >>= <<= **=\n\n# Keywords\nas assert break class continue def del elif else except\nfinally for from global if import lambda pass raise\nreturn try while with yield\n\n# Python 2 Keywords (otherwise Identifiers)\nexec print\n\n# Python 3 Keywords (otherwise Identifiers)\nnonlocal\n\n# Types\nbool classmethod complex dict enumerate float frozenset int list object\nproperty reversed set slice staticmethod str super tuple type\n\n# Python 2 Types (otherwise Identifiers)\nbasestring buffer file long unicode xrange\n\n# Python 3 Types (otherwise Identifiers)\nbytearray bytes filter map memoryview open range zip\n\n# Some Example code\nimport os\nfrom package import ParentClass\n\n@nonsenseDecorator\ndef doesNothing():\n    pass\n\nclass ExampleClass(ParentClass):\n    @staticmethod\n    def example(inputStr):\n        a = list(inputStr)\n        a.reverse()\n        return ''.join(a)\n\n    def __init__(self, mixin = 'Hello'):\n        self.mixin = mixin\n\n</textarea></div>\n\n\n<h2>Cython mode</h2>\n\n<div><textarea id=\"code-cython\" name=\"code-cython\">\n\nimport numpy as np\ncimport cython\nfrom libc.math cimport sqrt\n\n@cython.boundscheck(False)\n@cython.wraparound(False)\ndef pairwise_cython(double[:, ::1] X):\n    cdef int M = X.shape[0]\n    cdef int N = X.shape[1]\n    cdef double tmp, d\n    cdef double[:, ::1] D = np.empty((M, M), dtype=np.float64)\n    for i in range(M):\n        for j in range(M):\n            d = 0.0\n            for k in range(N):\n                tmp = X[i, k] - X[j, k]\n                d += tmp * tmp\n            D[i, j] = sqrt(d)\n    return np.asarray(D)\n\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"python\",\n               version: 3,\n               singleLineStringErrors: false},\n        lineNumbers: true,\n        indentUnit: 4,\n        matchBrackets: true\n    });\n\n    CodeMirror.fromTextArea(document.getElementById(\"code-cython\"), {\n        mode: {name: \"text/x-cython\",\n               version: 2,\n               singleLineStringErrors: false},\n        lineNumbers: true,\n        indentUnit: 4,\n        matchBrackets: true\n      });\n    </script>\n    <h2>Configuration Options for Python mode:</h2>\n    <ul>\n      <li>version - 2/3 - The version of Python to recognize.  Default is 2.</li>\n      <li>singleLineStringErrors - true/false - If you have a single-line string that is not terminated at the end of the line, this will show subsequent lines as errors if true, otherwise it will consider the newline as the end of the string. Default is false.</li>\n      <li>hangingIndent - int - If you want to write long arguments to a function starting on a new line, how much that line should be indented. Defaults to one normal indentation unit.</li>\n    </ul>\n    <h2>Advanced Configuration Options:</h2>\n    <p>Usefull for superset of python syntax like Enthought enaml, IPython magics and  questionmark help</p>\n    <ul>\n      <li>singleOperators - RegEx - Regular Expression for single operator matching,  default : <pre>^[\\\\+\\\\-\\\\*/%&amp;|\\\\^~&lt;&gt;!]</pre> including <pre>@</pre> on Python 3</li>\n      <li>singleDelimiters - RegEx - Regular Expression for single delimiter matching, default :  <pre>^[\\\\(\\\\)\\\\[\\\\]\\\\{\\\\}@,:`=;\\\\.]</pre></li>\n      <li>doubleOperators - RegEx - Regular Expression for double operators matching, default : <pre>^((==)|(!=)|(&lt;=)|(&gt;=)|(&lt;&gt;)|(&lt;&lt;)|(&gt;&gt;)|(//)|(\\\\*\\\\*))</pre></li>\n      <li>doubleDelimiters - RegEx - Regular Expressoin for double delimiters matching, default : <pre>^((\\\\+=)|(\\\\-=)|(\\\\*=)|(%=)|(/=)|(&amp;=)|(\\\\|=)|(\\\\^=))</pre></li>\n      <li>tripleDelimiters - RegEx - Regular Expression for triple delimiters matching, default : <pre>^((//=)|(&gt;&gt;=)|(&lt;&lt;=)|(\\\\*\\\\*=))</pre></li>\n      <li>identifiers - RegEx - Regular Expression for identifier, default : <pre>^[_A-Za-z][_A-Za-z0-9]*</pre> on Python 2 and <pre>^[_A-Za-z\\u00A1-\\uFFFF][_A-Za-z0-9\\u00A1-\\uFFFF]*</pre> on Python 3.</li>\n      <li>extra_keywords - list of string - List of extra words ton consider as keywords</li>\n      <li>extra_builtins - list of string - List of extra words ton consider as builtins</li>\n    </ul>\n\n\n    <p><strong>MIME types defined:</strong> <code>text/x-python</code> and <code>text/x-cython</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/python/python.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  function wordRegexp(words) {\n    return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\");\n  }\n\n  var wordOperators = wordRegexp([\"and\", \"or\", \"not\", \"is\"]);\n  var commonKeywords = [\"as\", \"assert\", \"break\", \"class\", \"continue\",\n                        \"def\", \"del\", \"elif\", \"else\", \"except\", \"finally\",\n                        \"for\", \"from\", \"global\", \"if\", \"import\",\n                        \"lambda\", \"pass\", \"raise\", \"return\",\n                        \"try\", \"while\", \"with\", \"yield\", \"in\"];\n  var commonBuiltins = [\"abs\", \"all\", \"any\", \"bin\", \"bool\", \"bytearray\", \"callable\", \"chr\",\n                        \"classmethod\", \"compile\", \"complex\", \"delattr\", \"dict\", \"dir\", \"divmod\",\n                        \"enumerate\", \"eval\", \"filter\", \"float\", \"format\", \"frozenset\",\n                        \"getattr\", \"globals\", \"hasattr\", \"hash\", \"help\", \"hex\", \"id\",\n                        \"input\", \"int\", \"isinstance\", \"issubclass\", \"iter\", \"len\",\n                        \"list\", \"locals\", \"map\", \"max\", \"memoryview\", \"min\", \"next\",\n                        \"object\", \"oct\", \"open\", \"ord\", \"pow\", \"property\", \"range\",\n                        \"repr\", \"reversed\", \"round\", \"set\", \"setattr\", \"slice\",\n                        \"sorted\", \"staticmethod\", \"str\", \"sum\", \"super\", \"tuple\",\n                        \"type\", \"vars\", \"zip\", \"__import__\", \"NotImplemented\",\n                        \"Ellipsis\", \"__debug__\"];\n  var py2 = {builtins: [\"apply\", \"basestring\", \"buffer\", \"cmp\", \"coerce\", \"execfile\",\n                        \"file\", \"intern\", \"long\", \"raw_input\", \"reduce\", \"reload\",\n                        \"unichr\", \"unicode\", \"xrange\", \"False\", \"True\", \"None\"],\n             keywords: [\"exec\", \"print\"]};\n  var py3 = {builtins: [\"ascii\", \"bytes\", \"exec\", \"print\"],\n             keywords: [\"nonlocal\", \"False\", \"True\", \"None\"]};\n\n  CodeMirror.registerHelper(\"hintWords\", \"python\", commonKeywords.concat(commonBuiltins));\n\n  function top(state) {\n    return state.scopes[state.scopes.length - 1];\n  }\n\n  CodeMirror.defineMode(\"python\", function(conf, parserConf) {\n    var ERRORCLASS = \"error\";\n\n    var singleDelimiters = parserConf.singleDelimiters || new RegExp(\"^[\\\\(\\\\)\\\\[\\\\]\\\\{\\\\}@,:`=;\\\\.]\");\n    var doubleOperators = parserConf.doubleOperators || new RegExp(\"^((==)|(!=)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\\\*\\\\*))\");\n    var doubleDelimiters = parserConf.doubleDelimiters || new RegExp(\"^((\\\\+=)|(\\\\-=)|(\\\\*=)|(%=)|(/=)|(&=)|(\\\\|=)|(\\\\^=))\");\n    var tripleDelimiters = parserConf.tripleDelimiters || new RegExp(\"^((//=)|(>>=)|(<<=)|(\\\\*\\\\*=))\");\n\n    if (parserConf.version && parseInt(parserConf.version, 10) == 3){\n        // since http://legacy.python.org/dev/peps/pep-0465/ @ is also an operator\n        var singleOperators = parserConf.singleOperators || new RegExp(\"^[\\\\+\\\\-\\\\*/%&|\\\\^~<>!@]\");\n        var identifiers = parserConf.identifiers|| new RegExp(\"^[_A-Za-z\\u00A1-\\uFFFF][_A-Za-z0-9\\u00A1-\\uFFFF]*\");\n    } else {\n        var singleOperators = parserConf.singleOperators || new RegExp(\"^[\\\\+\\\\-\\\\*/%&|\\\\^~<>!]\");\n        var identifiers = parserConf.identifiers|| new RegExp(\"^[_A-Za-z][_A-Za-z0-9]*\");\n    }\n\n    var hangingIndent = parserConf.hangingIndent || conf.indentUnit;\n\n    var myKeywords = commonKeywords, myBuiltins = commonBuiltins;\n    if(parserConf.extra_keywords != undefined){\n      myKeywords = myKeywords.concat(parserConf.extra_keywords);\n    }\n    if(parserConf.extra_builtins != undefined){\n      myBuiltins = myBuiltins.concat(parserConf.extra_builtins);\n    }\n    if (parserConf.version && parseInt(parserConf.version, 10) == 3) {\n      myKeywords = myKeywords.concat(py3.keywords);\n      myBuiltins = myBuiltins.concat(py3.builtins);\n      var stringPrefixes = new RegExp(\"^(([rb]|(br))?('{3}|\\\"{3}|['\\\"]))\", \"i\");\n    } else {\n      myKeywords = myKeywords.concat(py2.keywords);\n      myBuiltins = myBuiltins.concat(py2.builtins);\n      var stringPrefixes = new RegExp(\"^(([rub]|(ur)|(br))?('{3}|\\\"{3}|['\\\"]))\", \"i\");\n    }\n    var keywords = wordRegexp(myKeywords);\n    var builtins = wordRegexp(myBuiltins);\n\n    // tokenizers\n    function tokenBase(stream, state) {\n      // Handle scope changes\n      if (stream.sol() && top(state).type == \"py\") {\n        var scopeOffset = top(state).offset;\n        if (stream.eatSpace()) {\n          var lineOffset = stream.indentation();\n          if (lineOffset > scopeOffset)\n            pushScope(stream, state, \"py\");\n          else if (lineOffset < scopeOffset && dedent(stream, state))\n            state.errorToken = true;\n          return null;\n        } else {\n          var style = tokenBaseInner(stream, state);\n          if (scopeOffset > 0 && dedent(stream, state))\n            style += \" \" + ERRORCLASS;\n          return style;\n        }\n      }\n      return tokenBaseInner(stream, state);\n    }\n\n    function tokenBaseInner(stream, state) {\n      if (stream.eatSpace()) return null;\n\n      var ch = stream.peek();\n\n      // Handle Comments\n      if (ch == \"#\") {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n\n      // Handle Number Literals\n      if (stream.match(/^[0-9\\.]/, false)) {\n        var floatLiteral = false;\n        // Floats\n        if (stream.match(/^\\d*\\.\\d+(e[\\+\\-]?\\d+)?/i)) { floatLiteral = true; }\n        if (stream.match(/^\\d+\\.\\d*/)) { floatLiteral = true; }\n        if (stream.match(/^\\.\\d+/)) { floatLiteral = true; }\n        if (floatLiteral) {\n          // Float literals may be \"imaginary\"\n          stream.eat(/J/i);\n          return \"number\";\n        }\n        // Integers\n        var intLiteral = false;\n        // Hex\n        if (stream.match(/^0x[0-9a-f]+/i)) intLiteral = true;\n        // Binary\n        if (stream.match(/^0b[01]+/i)) intLiteral = true;\n        // Octal\n        if (stream.match(/^0o[0-7]+/i)) intLiteral = true;\n        // Decimal\n        if (stream.match(/^[1-9]\\d*(e[\\+\\-]?\\d+)?/)) {\n          // Decimal literals may be \"imaginary\"\n          stream.eat(/J/i);\n          // TODO - Can you have imaginary longs?\n          intLiteral = true;\n        }\n        // Zero by itself with no other piece of number.\n        if (stream.match(/^0(?![\\dx])/i)) intLiteral = true;\n        if (intLiteral) {\n          // Integer literals may be \"long\"\n          stream.eat(/L/i);\n          return \"number\";\n        }\n      }\n\n      // Handle Strings\n      if (stream.match(stringPrefixes)) {\n        state.tokenize = tokenStringFactory(stream.current());\n        return state.tokenize(stream, state);\n      }\n\n      // Handle operators and Delimiters\n      if (stream.match(tripleDelimiters) || stream.match(doubleDelimiters))\n        return null;\n\n      if (stream.match(doubleOperators)\n          || stream.match(singleOperators)\n          || stream.match(wordOperators))\n        return \"operator\";\n\n      if (stream.match(singleDelimiters))\n        return null;\n\n      if (stream.match(keywords))\n        return \"keyword\";\n\n      if (stream.match(builtins))\n        return \"builtin\";\n\n      if (stream.match(/^(self|cls)\\b/))\n        return \"variable-2\";\n\n      if (stream.match(identifiers)) {\n        if (state.lastToken == \"def\" || state.lastToken == \"class\")\n          return \"def\";\n        return \"variable\";\n      }\n\n      // Handle non-detected items\n      stream.next();\n      return ERRORCLASS;\n    }\n\n    function tokenStringFactory(delimiter) {\n      while (\"rub\".indexOf(delimiter.charAt(0).toLowerCase()) >= 0)\n        delimiter = delimiter.substr(1);\n\n      var singleline = delimiter.length == 1;\n      var OUTCLASS = \"string\";\n\n      function tokenString(stream, state) {\n        while (!stream.eol()) {\n          stream.eatWhile(/[^'\"\\\\]/);\n          if (stream.eat(\"\\\\\")) {\n            stream.next();\n            if (singleline && stream.eol())\n              return OUTCLASS;\n          } else if (stream.match(delimiter)) {\n            state.tokenize = tokenBase;\n            return OUTCLASS;\n          } else {\n            stream.eat(/['\"]/);\n          }\n        }\n        if (singleline) {\n          if (parserConf.singleLineStringErrors)\n            return ERRORCLASS;\n          else\n            state.tokenize = tokenBase;\n        }\n        return OUTCLASS;\n      }\n      tokenString.isString = true;\n      return tokenString;\n    }\n\n    function pushScope(stream, state, type) {\n      var offset = 0, align = null;\n      if (type == \"py\") {\n        while (top(state).type != \"py\")\n          state.scopes.pop();\n      }\n      offset = top(state).offset + (type == \"py\" ? conf.indentUnit : hangingIndent);\n      if (type != \"py\" && !stream.match(/^(\\s|#.*)*$/, false))\n        align = stream.column() + 1;\n      state.scopes.push({offset: offset, type: type, align: align});\n    }\n\n    function dedent(stream, state) {\n      var indented = stream.indentation();\n      while (top(state).offset > indented) {\n        if (top(state).type != \"py\") return true;\n        state.scopes.pop();\n      }\n      return top(state).offset != indented;\n    }\n\n    function tokenLexer(stream, state) {\n      var style = state.tokenize(stream, state);\n      var current = stream.current();\n\n      // Handle '.' connected identifiers\n      if (current == \".\") {\n        style = stream.match(identifiers, false) ? null : ERRORCLASS;\n        if (style == null && state.lastStyle == \"meta\") {\n          // Apply 'meta' style to '.' connected identifiers when\n          // appropriate.\n          style = \"meta\";\n        }\n        return style;\n      }\n\n      // Handle decorators\n      if (current == \"@\"){\n        if(parserConf.version && parseInt(parserConf.version, 10) == 3){\n            return stream.match(identifiers, false) ? \"meta\" : \"operator\";\n        } else {\n            return stream.match(identifiers, false) ? \"meta\" : ERRORCLASS;\n        }\n      }\n\n      if ((style == \"variable\" || style == \"builtin\")\n          && state.lastStyle == \"meta\")\n        style = \"meta\";\n\n      // Handle scope changes.\n      if (current == \"pass\" || current == \"return\")\n        state.dedent += 1;\n\n      if (current == \"lambda\") state.lambda = true;\n      if (current == \":\" && !state.lambda && top(state).type == \"py\")\n        pushScope(stream, state, \"py\");\n\n      var delimiter_index = current.length == 1 ? \"[({\".indexOf(current) : -1;\n      if (delimiter_index != -1)\n        pushScope(stream, state, \"])}\".slice(delimiter_index, delimiter_index+1));\n\n      delimiter_index = \"])}\".indexOf(current);\n      if (delimiter_index != -1) {\n        if (top(state).type == current) state.scopes.pop();\n        else return ERRORCLASS;\n      }\n      if (state.dedent > 0 && stream.eol() && top(state).type == \"py\") {\n        if (state.scopes.length > 1) state.scopes.pop();\n        state.dedent -= 1;\n      }\n\n      return style;\n    }\n\n    var external = {\n      startState: function(basecolumn) {\n        return {\n          tokenize: tokenBase,\n          scopes: [{offset: basecolumn || 0, type: \"py\", align: null}],\n          lastStyle: null,\n          lastToken: null,\n          lambda: false,\n          dedent: 0\n        };\n      },\n\n      token: function(stream, state) {\n        var addErr = state.errorToken;\n        if (addErr) state.errorToken = false;\n        var style = tokenLexer(stream, state);\n\n        state.lastStyle = style;\n\n        var current = stream.current();\n        if (current && style)\n          state.lastToken = current;\n\n        if (stream.eol() && state.lambda)\n          state.lambda = false;\n        return addErr ? style + \" \" + ERRORCLASS : style;\n      },\n\n      indent: function(state, textAfter) {\n        if (state.tokenize != tokenBase)\n          return state.tokenize.isString ? CodeMirror.Pass : 0;\n\n        var scope = top(state);\n        var closing = textAfter && textAfter.charAt(0) == scope.type;\n        if (scope.align != null)\n          return scope.align - (closing ? 1 : 0);\n        else if (closing && state.scopes.length > 1)\n          return state.scopes[state.scopes.length - 2].offset;\n        else\n          return scope.offset;\n      },\n\n      lineComment: \"#\",\n      fold: \"indent\"\n    };\n    return external;\n  });\n\n  CodeMirror.defineMIME(\"text/x-python\", \"python\");\n\n  var words = function(str) { return str.split(\" \"); };\n\n  CodeMirror.defineMIME(\"text/x-cython\", {\n    name: \"python\",\n    extra_keywords: words(\"by cdef cimport cpdef ctypedef enum except\"+\n                          \"extern gil include nogil property public\"+\n                          \"readonly struct union DEF IF ELIF ELSE\")\n  });\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/q/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Q mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"q.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Q</a>\n  </ul>\n</div>\n\n<article>\n<h2>Q mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n/ utilities to quickly load a csv file - for more exhaustive analysis of the csv contents see csvguess.q\n/ 2009.09.20 - updated to match latest csvguess.q \n\n/ .csv.colhdrs[file] - return a list of colhdrs from file\n/ info:.csv.info[file] - return a table of information about the file\n/ columns are: \n/\tc - column name; ci - column index; t - load type; mw - max width; \n/\tdchar - distinct characters in values; rule - rule that caught the type\n/\tmaybe - needs checking, _could_ be say a date, but perhaps just a float?\n/ .csv.info0[file;onlycols] - like .csv.info except that it only analyses <onlycols>\n/ example:\n/\tinfo:.csv.info0[file;(.csv.colhdrs file)like\"*price\"]\n/\tinfo:.csv.infolike[file;\"*price\"]\n/\tshow delete from info where t=\" \"\n/ .csv.data[file;info] - use the info from .csv.info to read the data\n/ .csv.data10[file;info] - like .csv.data but only returns the first 10 rows\n/ bulkload[file;info] - bulk loads file into table DATA (which must be already defined :: DATA:() )\n/ .csv.read[file]/read10[file] - for when you don't care about checking/tweaking the <info> before reading \n\n\\d .csv\nDELIM:\",\"\nZAPHDRS:0b / lowercase and remove _ from colhdrs (junk characters are always removed)\nWIDTHHDR:25000 / number of characters read to get the header\nREADLINES:222 / number of lines read and used to guess the types\nSYMMAXWIDTH:11 / character columns narrower than this are stored as symbols\nSYMMAXGR:10 / max symbol granularity% before we give up and keep as a * string\nFORCECHARWIDTH:30 / every field (of any type) with values this wide or more is forced to character \"*\"\nDISCARDEMPTY:0b / completely ignore empty columns if true else set them to \"C\"\nCHUNKSIZE:50000000 / used in fs2 (modified .Q.fs)\n\nk)nameltrim:{$[~@x;.z.s'x;~(*x)in aA:.Q.a,.Q.A;(+/&\\~x in aA)_x;x]}\nk)fs2:{[f;s]((-7!s)>){[f;s;x]i:1+last@&0xa=r:1:(s;x;CHUNKSIZE);f@`\\:i#r;x+i}[f;s]/0j}\ncleanhdrs:{{$[ZAPHDRS;lower x except\"_\";x]}x where x in DELIM,.Q.an}\ncancast:{nw:x$\"\";if[not x in\"BXCS\";nw:(min 0#;max 0#;::)@\\:nw];$[not any nw in x$(11&count y)#y;$[11<count y;not any nw in x$y;1b];0b]}\n\nread:{[file]data[file;info[file]]}  \nread10:{[file]data10[file;info[file]]}  \n\ncolhdrs:{[file]\n\t`$nameltrim DELIM vs cleanhdrs first read0(file;0;1+first where 0xa=read1(file;0;WIDTHHDR))}\ndata:{[file;info]\n\t(exec c from info where not t=\" \")xcol(exec t from info;enlist DELIM)0:file}\ndata10:{[file;info]\n\tdata[;info](file;0;1+last 11#where 0xa=read1(file;0;15*WIDTHHDR))}\ninfo0:{[file;onlycols]\n\tcolhdrs:`$nameltrim DELIM vs cleanhdrs first head:read0(file;0;1+last where 0xa=read1(file;0;WIDTHHDR));\n\tloadfmts:(count colhdrs)#\"S\";if[count onlycols;loadfmts[where not colhdrs in onlycols]:\"C\"];\n\tbreaks:where 0xa=read1(file;0;floor(10+READLINES)*WIDTHHDR%count head);\n\tnas:count as:colhdrs xcol(loadfmts;enlist DELIM)0:(file;0;1+last((1+READLINES)&count breaks)#breaks);\n\tinfo:([]c:key flip as;v:value flip as);as:();\n\treserved:key`.q;reserved,:.Q.res;reserved,:`i;\n\tinfo:update res:c in reserved from info;\n\tinfo:update ci:i,t:\"?\",ipa:0b,mdot:0,mw:0,rule:0,gr:0,ndv:0,maybe:0b,empty:0b,j10:0b,j12:0b from info;\n\tinfo:update ci:`s#ci from info;\n\tif[count onlycols;info:update t:\" \",rule:10 from info where not c in onlycols];\n\tinfo:update sdv:{string(distinct x)except`}peach v from info; \n\tinfo:update ndv:count each sdv from info;\n\tinfo:update gr:floor 0.5+100*ndv%nas,mw:{max count each x}peach sdv from info where 0<ndv;\n\tinfo:update t:\"*\",rule:20 from info where mw>.csv.FORCECHARWIDTH; / long values\n\tinfo:update t:\"C \"[.csv.DISCARDEMPTY],rule:30,empty:1b from info where t=\"?\",mw=0; / empty columns\n\tinfo:update dchar:{asc distinct raze x}peach sdv from info where t=\"?\";\n\tinfo:update mdot:{max sum each\".\"=x}peach sdv from info where t=\"?\",{\".\"in x}each dchar;\n\tinfo:update t:\"n\",rule:40 from info where t=\"?\",{any x in\"0123456789\"}each dchar; / vaguely numeric..\n\tinfo:update t:\"I\",rule:50,ipa:1b from info where t=\"n\",mw within 7 15,mdot=3,{all x in\".0123456789\"}each dchar,.csv.cancast[\"I\"]peach sdv; / ip-address\n\tinfo:update t:\"J\",rule:60 from info where t=\"n\",mdot=0,{all x in\"+-0123456789\"}each dchar,.csv.cancast[\"J\"]peach sdv;\n\tinfo:update t:\"I\",rule:70 from info where t=\"J\",mw<12,.csv.cancast[\"I\"]peach sdv;\n\tinfo:update t:\"H\",rule:80 from info where t=\"I\",mw<7,.csv.cancast[\"H\"]peach sdv;\n\tinfo:update t:\"F\",rule:90 from info where t=\"n\",mdot<2,mw>1,.csv.cancast[\"F\"]peach sdv;\n\tinfo:update t:\"E\",rule:100,maybe:1b from info where t=\"F\",mw<9;\n\tinfo:update t:\"M\",rule:110,maybe:1b from info where t in\"nIHEF\",mdot<2,mw within 4 7,.csv.cancast[\"M\"]peach sdv; \n\tinfo:update t:\"D\",rule:120,maybe:1b from info where t in\"nI\",mdot in 0 2,mw within 6 11,.csv.cancast[\"D\"]peach sdv; \n\tinfo:update t:\"V\",rule:130,maybe:1b from info where t=\"I\",mw in 5 6,7<count each dchar,{all x like\"*[0-9][0-5][0-9][0-5][0-9]\"}peach sdv,.csv.cancast[\"V\"]peach sdv; / 235959 12345        \n\tinfo:update t:\"U\",rule:140,maybe:1b from info where t=\"H\",mw in 3 4,7<count each dchar,{all x like\"*[0-9][0-5][0-9]\"}peach sdv,.csv.cancast[\"U\"]peach sdv; /2359\n\tinfo:update t:\"U\",rule:150,maybe:0b from info where t=\"n\",mw in 4 5,mdot=0,{all x like\"*[0-9]:[0-5][0-9]\"}peach sdv,.csv.cancast[\"U\"]peach sdv;\n\tinfo:update t:\"T\",rule:160,maybe:0b from info where t=\"n\",mw within 7 12,mdot<2,{all x like\"*[0-9]:[0-5][0-9]:[0-5][0-9]*\"}peach sdv,.csv.cancast[\"T\"]peach sdv;\n\tinfo:update t:\"V\",rule:170,maybe:0b from info where t=\"T\",mw in 7 8,mdot=0,.csv.cancast[\"V\"]peach sdv;\n\tinfo:update t:\"T\",rule:180,maybe:1b from info where t in\"EF\",mw within 7 10,mdot=1,{all x like\"*[0-9][0-5][0-9][0-5][0-9].*\"}peach sdv,.csv.cancast[\"T\"]peach sdv;\n\tinfo:update t:\"Z\",rule:190,maybe:0b from info where t=\"n\",mw within 11 24,mdot<4,.csv.cancast[\"Z\"]peach sdv;\n\tinfo:update t:\"P\",rule:200,maybe:1b from info where t=\"n\",mw within 12 29,mdot<4,{all x like\"[12]*\"}peach sdv,.csv.cancast[\"P\"]peach sdv;\n\tinfo:update t:\"N\",rule:210,maybe:1b from info where t=\"n\",mw within 3 28,mdot=1,.csv.cancast[\"N\"]peach sdv;\n\tinfo:update t:\"?\",rule:220,maybe:0b from info where t=\"n\"; / reset remaining maybe numeric\n\tinfo:update t:\"C\",rule:230,maybe:0b from info where t=\"?\",mw=1; / char\n\tinfo:update t:\"B\",rule:240,maybe:0b from info where t in\"HC\",mw=1,mdot=0,{$[all x in\"01tTfFyYnN\";(any\"0fFnN\"in x)and any\"1tTyY\"in x;0b]}each dchar; / boolean\n\tinfo:update t:\"B\",rule:250,maybe:1b from info where t in\"HC\",mw=1,mdot=0,{all x in\"01tTfFyYnN\"}each dchar; / boolean\n\tinfo:update t:\"X\",rule:260,maybe:0b from info where t=\"?\",mw=2,{$[all x in\"0123456789abcdefABCDEF\";(any .Q.n in x)and any\"abcdefABCDEF\"in x;0b]}each dchar; /hex\n\tinfo:update t:\"S\",rule:270,maybe:1b from info where t=\"?\",mw<.csv.SYMMAXWIDTH,mw>1,gr<.csv.SYMMAXGR; / symbols (max width permitting)\n\tinfo:update t:\"*\",rule:280,maybe:0b from info where t=\"?\"; / the rest as strings\n\t/ flag those S/* columns which could be encoded to integers (.Q.j10/x10/j12/x12) to avoid symbols\n\tinfo:update j12:1b from info where t in\"S*\",mw<13,{all x in .Q.nA}each dchar;\n\tinfo:update j10:1b from info where t in\"S*\",mw<11,{all x in .Q.b6}each dchar; \n\tselect c,ci,t,maybe,empty,res,j10,j12,ipa,mw,mdot,rule,gr,ndv,dchar from info}\ninfo:info0[;()] / by default don't restrict columns\ninfolike:{[file;pattern] info0[file;{x where x like y}[lower colhdrs[file];pattern]]} / .csv.infolike[file;\"*time\"]\n\n\\d .\n/ DATA:()\nbulkload:{[file;info]\n\tif[not`DATA in system\"v\";'`DATA.not.defined];\n\tif[count DATA;'`DATA.not.empty];\n\tloadhdrs:exec c from info where not t=\" \";loadfmts:exec t from info;\n\t.csv.fs2[{[file;loadhdrs;loadfmts] `DATA insert $[count DATA;flip loadhdrs!(loadfmts;.csv.DELIM)0:file;loadhdrs xcol(loadfmts;enlist .csv.DELIM)0:file]}[file;loadhdrs;loadfmts]];\n\tcount DATA}\n@[.:;\"\\\\l csvutil.custom.q\";::]; / save your custom settings in csvutil.custom.q to override those set at the beginning of the file \n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME type defined:</strong> <code>text/x-q</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/q/q.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"q\",function(config){\n  var indentUnit=config.indentUnit,\n      curPunc,\n      keywords=buildRE([\"abs\",\"acos\",\"aj\",\"aj0\",\"all\",\"and\",\"any\",\"asc\",\"asin\",\"asof\",\"atan\",\"attr\",\"avg\",\"avgs\",\"bin\",\"by\",\"ceiling\",\"cols\",\"cor\",\"cos\",\"count\",\"cov\",\"cross\",\"csv\",\"cut\",\"delete\",\"deltas\",\"desc\",\"dev\",\"differ\",\"distinct\",\"div\",\"do\",\"each\",\"ej\",\"enlist\",\"eval\",\"except\",\"exec\",\"exit\",\"exp\",\"fby\",\"fills\",\"first\",\"fkeys\",\"flip\",\"floor\",\"from\",\"get\",\"getenv\",\"group\",\"gtime\",\"hclose\",\"hcount\",\"hdel\",\"hopen\",\"hsym\",\"iasc\",\"idesc\",\"if\",\"ij\",\"in\",\"insert\",\"inter\",\"inv\",\"key\",\"keys\",\"last\",\"like\",\"list\",\"lj\",\"load\",\"log\",\"lower\",\"lsq\",\"ltime\",\"ltrim\",\"mavg\",\"max\",\"maxs\",\"mcount\",\"md5\",\"mdev\",\"med\",\"meta\",\"min\",\"mins\",\"mmax\",\"mmin\",\"mmu\",\"mod\",\"msum\",\"neg\",\"next\",\"not\",\"null\",\"or\",\"over\",\"parse\",\"peach\",\"pj\",\"plist\",\"prd\",\"prds\",\"prev\",\"prior\",\"rand\",\"rank\",\"ratios\",\"raze\",\"read0\",\"read1\",\"reciprocal\",\"reverse\",\"rload\",\"rotate\",\"rsave\",\"rtrim\",\"save\",\"scan\",\"select\",\"set\",\"setenv\",\"show\",\"signum\",\"sin\",\"sqrt\",\"ss\",\"ssr\",\"string\",\"sublist\",\"sum\",\"sums\",\"sv\",\"system\",\"tables\",\"tan\",\"til\",\"trim\",\"txf\",\"type\",\"uj\",\"ungroup\",\"union\",\"update\",\"upper\",\"upsert\",\"value\",\"var\",\"view\",\"views\",\"vs\",\"wavg\",\"where\",\"where\",\"while\",\"within\",\"wj\",\"wj1\",\"wsum\",\"xasc\",\"xbar\",\"xcol\",\"xcols\",\"xdesc\",\"xexp\",\"xgroup\",\"xkey\",\"xlog\",\"xprev\",\"xrank\"]),\n      E=/[|/&^!+:\\\\\\-*%$=~#;@><,?_\\'\\\"\\[\\(\\]\\)\\s{}]/;\n  function buildRE(w){return new RegExp(\"^(\"+w.join(\"|\")+\")$\");}\n  function tokenBase(stream,state){\n    var sol=stream.sol(),c=stream.next();\n    curPunc=null;\n    if(sol)\n      if(c==\"/\")\n        return(state.tokenize=tokenLineComment)(stream,state);\n      else if(c==\"\\\\\"){\n        if(stream.eol()||/\\s/.test(stream.peek()))\n          return stream.skipToEnd(),/^\\\\\\s*$/.test(stream.current())?(state.tokenize=tokenCommentToEOF)(stream, state):state.tokenize=tokenBase,\"comment\";\n        else\n          return state.tokenize=tokenBase,\"builtin\";\n      }\n    if(/\\s/.test(c))\n      return stream.peek()==\"/\"?(stream.skipToEnd(),\"comment\"):\"whitespace\";\n    if(c=='\"')\n      return(state.tokenize=tokenString)(stream,state);\n    if(c=='`')\n      return stream.eatWhile(/[A-Z|a-z|\\d|_|:|\\/|\\.]/),\"symbol\";\n    if((\".\"==c&&/\\d/.test(stream.peek()))||/\\d/.test(c)){\n      var t=null;\n      stream.backUp(1);\n      if(stream.match(/^\\d{4}\\.\\d{2}(m|\\.\\d{2}([D|T](\\d{2}(:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?)?)?)?)/)\n      || stream.match(/^\\d+D(\\d{2}(:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?)?)/)\n      || stream.match(/^\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?/)\n      || stream.match(/^\\d+[ptuv]{1}/))\n        t=\"temporal\";\n      else if(stream.match(/^0[NwW]{1}/)\n      || stream.match(/^0x[\\d|a-f|A-F]*/)\n      || stream.match(/^[0|1]+[b]{1}/)\n      || stream.match(/^\\d+[chijn]{1}/)\n      || stream.match(/-?\\d*(\\.\\d*)?(e[+\\-]?\\d+)?(e|f)?/))\n        t=\"number\";\n      return(t&&(!(c=stream.peek())||E.test(c)))?t:(stream.next(),\"error\");\n    }\n    if(/[A-Z|a-z]|\\./.test(c))\n      return stream.eatWhile(/[A-Z|a-z|\\.|_|\\d]/),keywords.test(stream.current())?\"keyword\":\"variable\";\n    if(/[|/&^!+:\\\\\\-*%$=~#;@><\\.,?_\\']/.test(c))\n      return null;\n    if(/[{}\\(\\[\\]\\)]/.test(c))\n      return null;\n    return\"error\";\n  }\n  function tokenLineComment(stream,state){\n    return stream.skipToEnd(),/\\/\\s*$/.test(stream.current())?(state.tokenize=tokenBlockComment)(stream,state):(state.tokenize=tokenBase),\"comment\";\n  }\n  function tokenBlockComment(stream,state){\n    var f=stream.sol()&&stream.peek()==\"\\\\\";\n    stream.skipToEnd();\n    if(f&&/^\\\\\\s*$/.test(stream.current()))\n      state.tokenize=tokenBase;\n    return\"comment\";\n  }\n  function tokenCommentToEOF(stream){return stream.skipToEnd(),\"comment\";}\n  function tokenString(stream,state){\n    var escaped=false,next,end=false;\n    while((next=stream.next())){\n      if(next==\"\\\"\"&&!escaped){end=true;break;}\n      escaped=!escaped&&next==\"\\\\\";\n    }\n    if(end)state.tokenize=tokenBase;\n    return\"string\";\n  }\n  function pushContext(state,type,col){state.context={prev:state.context,indent:state.indent,col:col,type:type};}\n  function popContext(state){state.indent=state.context.indent;state.context=state.context.prev;}\n  return{\n    startState:function(){\n      return{tokenize:tokenBase,\n             context:null,\n             indent:0,\n             col:0};\n    },\n    token:function(stream,state){\n      if(stream.sol()){\n        if(state.context&&state.context.align==null)\n          state.context.align=false;\n        state.indent=stream.indentation();\n      }\n      //if (stream.eatSpace()) return null;\n      var style=state.tokenize(stream,state);\n      if(style!=\"comment\"&&state.context&&state.context.align==null&&state.context.type!=\"pattern\"){\n        state.context.align=true;\n      }\n      if(curPunc==\"(\")pushContext(state,\")\",stream.column());\n      else if(curPunc==\"[\")pushContext(state,\"]\",stream.column());\n      else if(curPunc==\"{\")pushContext(state,\"}\",stream.column());\n      else if(/[\\]\\}\\)]/.test(curPunc)){\n        while(state.context&&state.context.type==\"pattern\")popContext(state);\n        if(state.context&&curPunc==state.context.type)popContext(state);\n      }\n      else if(curPunc==\".\"&&state.context&&state.context.type==\"pattern\")popContext(state);\n      else if(/atom|string|variable/.test(style)&&state.context){\n        if(/[\\}\\]]/.test(state.context.type))\n          pushContext(state,\"pattern\",stream.column());\n        else if(state.context.type==\"pattern\"&&!state.context.align){\n          state.context.align=true;\n          state.context.col=stream.column();\n        }\n      }\n      return style;\n    },\n    indent:function(state,textAfter){\n      var firstChar=textAfter&&textAfter.charAt(0);\n      var context=state.context;\n      if(/[\\]\\}]/.test(firstChar))\n        while (context&&context.type==\"pattern\")context=context.prev;\n      var closing=context&&firstChar==context.type;\n      if(!context)\n        return 0;\n      else if(context.type==\"pattern\")\n        return context.col;\n      else if(context.align)\n        return context.col+(closing?0:1);\n      else\n        return context.indent+(closing?0:indentUnit);\n    }\n  };\n});\nCodeMirror.defineMIME(\"text/x-q\",\"q\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/r/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: R mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"r.js\"></script>\n<style>\n      .CodeMirror { border-top: 1px solid silver; border-bottom: 1px solid silver; }\n      .cm-s-default span.cm-semi { color: blue; font-weight: bold; }\n      .cm-s-default span.cm-dollar { color: orange; font-weight: bold; }\n      .cm-s-default span.cm-arrow { color: brown; }\n      .cm-s-default span.cm-arg-is { color: brown; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">R</a>\n  </ul>\n</div>\n\n<article>\n<h2>R mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# Code from http://www.mayin.org/ajayshah/KB/R/\n\n# FIRST LEARN ABOUT LISTS --\nX = list(height=5.4, weight=54)\nprint(\"Use default printing --\")\nprint(X)\nprint(\"Accessing individual elements --\")\ncat(\"Your height is \", X$height, \" and your weight is \", X$weight, \"\\n\")\n\n# FUNCTIONS --\nsquare <- function(x) {\n  return(x*x)\n}\ncat(\"The square of 3 is \", square(3), \"\\n\")\n\n                 # default value of the arg is set to 5.\ncube <- function(x=5) {\n  return(x*x*x);\n}\ncat(\"Calling cube with 2 : \", cube(2), \"\\n\")    # will give 2^3\ncat(\"Calling cube        : \", cube(), \"\\n\")     # will default to 5^3.\n\n# LEARN ABOUT FUNCTIONS THAT RETURN MULTIPLE OBJECTS --\npowers <- function(x) {\n  parcel = list(x2=x*x, x3=x*x*x, x4=x*x*x*x);\n  return(parcel);\n}\n\nX = powers(3);\nprint(\"Showing powers of 3 --\"); print(X);\n\n# WRITING THIS COMPACTLY (4 lines instead of 7)\n\npowerful <- function(x) {\n  return(list(x2=x*x, x3=x*x*x, x4=x*x*x*x));\n}\nprint(\"Showing powers of 3 --\"); print(powerful(3));\n\n# In R, the last expression in a function is, by default, what is\n# returned. So you could equally just say:\npowerful <- function(x) {list(x2=x*x, x3=x*x*x, x4=x*x*x*x)}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-rsrc</code>.</p>\n\n    <p>Development of the CodeMirror R mode was kindly sponsored\n    by <a href=\"https://twitter.com/ubalo\">Ubalo</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/r/r.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"r\", function(config) {\n  function wordObj(str) {\n    var words = str.split(\" \"), res = {};\n    for (var i = 0; i < words.length; ++i) res[words[i]] = true;\n    return res;\n  }\n  var atoms = wordObj(\"NULL NA Inf NaN NA_integer_ NA_real_ NA_complex_ NA_character_\");\n  var builtins = wordObj(\"list quote bquote eval return call parse deparse\");\n  var keywords = wordObj(\"if else repeat while function for in next break\");\n  var blockkeywords = wordObj(\"if else repeat while function for\");\n  var opChars = /[+\\-*\\/^<>=!&|~$:]/;\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    curPunc = null;\n    var ch = stream.next();\n    if (ch == \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    } else if (ch == \"0\" && stream.eat(\"x\")) {\n      stream.eatWhile(/[\\da-f]/i);\n      return \"number\";\n    } else if (ch == \".\" && stream.eat(/\\d/)) {\n      stream.match(/\\d*(?:e[+\\-]?\\d+)?/);\n      return \"number\";\n    } else if (/\\d/.test(ch)) {\n      stream.match(/\\d*(?:\\.\\d+)?(?:e[+\\-]\\d+)?L?/);\n      return \"number\";\n    } else if (ch == \"'\" || ch == '\"') {\n      state.tokenize = tokenString(ch);\n      return \"string\";\n    } else if (ch == \".\" && stream.match(/.[.\\d]+/)) {\n      return \"keyword\";\n    } else if (/[\\w\\.]/.test(ch) && ch != \"_\") {\n      stream.eatWhile(/[\\w\\.]/);\n      var word = stream.current();\n      if (atoms.propertyIsEnumerable(word)) return \"atom\";\n      if (keywords.propertyIsEnumerable(word)) {\n        // Block keywords start new blocks, except 'else if', which only starts\n        // one new block for the 'if', no block for the 'else'.\n        if (blockkeywords.propertyIsEnumerable(word) &&\n            !stream.match(/\\s*if(\\s+|$)/, false))\n          curPunc = \"block\";\n        return \"keyword\";\n      }\n      if (builtins.propertyIsEnumerable(word)) return \"builtin\";\n      return \"variable\";\n    } else if (ch == \"%\") {\n      if (stream.skipTo(\"%\")) stream.next();\n      return \"variable-2\";\n    } else if (ch == \"<\" && stream.eat(\"-\")) {\n      return \"arrow\";\n    } else if (ch == \"=\" && state.ctx.argList) {\n      return \"arg-is\";\n    } else if (opChars.test(ch)) {\n      if (ch == \"$\") return \"dollar\";\n      stream.eatWhile(opChars);\n      return \"operator\";\n    } else if (/[\\(\\){}\\[\\];]/.test(ch)) {\n      curPunc = ch;\n      if (ch == \";\") return \"semi\";\n      return null;\n    } else {\n      return null;\n    }\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      if (stream.eat(\"\\\\\")) {\n        var ch = stream.next();\n        if (ch == \"x\") stream.match(/^[a-f0-9]{2}/i);\n        else if ((ch == \"u\" || ch == \"U\") && stream.eat(\"{\") && stream.skipTo(\"}\")) stream.next();\n        else if (ch == \"u\") stream.match(/^[a-f0-9]{4}/i);\n        else if (ch == \"U\") stream.match(/^[a-f0-9]{8}/i);\n        else if (/[0-7]/.test(ch)) stream.match(/^[0-7]{1,2}/);\n        return \"string-2\";\n      } else {\n        var next;\n        while ((next = stream.next()) != null) {\n          if (next == quote) { state.tokenize = tokenBase; break; }\n          if (next == \"\\\\\") { stream.backUp(1); break; }\n        }\n        return \"string\";\n      }\n    };\n  }\n\n  function push(state, type, stream) {\n    state.ctx = {type: type,\n                 indent: state.indent,\n                 align: null,\n                 column: stream.column(),\n                 prev: state.ctx};\n  }\n  function pop(state) {\n    state.indent = state.ctx.indent;\n    state.ctx = state.ctx.prev;\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: tokenBase,\n              ctx: {type: \"top\",\n                    indent: -config.indentUnit,\n                    align: false},\n              indent: 0,\n              afterIdent: false};\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (state.ctx.align == null) state.ctx.align = false;\n        state.indent = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      if (style != \"comment\" && state.ctx.align == null) state.ctx.align = true;\n\n      var ctype = state.ctx.type;\n      if ((curPunc == \";\" || curPunc == \"{\" || curPunc == \"}\") && ctype == \"block\") pop(state);\n      if (curPunc == \"{\") push(state, \"}\", stream);\n      else if (curPunc == \"(\") {\n        push(state, \")\", stream);\n        if (state.afterIdent) state.ctx.argList = true;\n      }\n      else if (curPunc == \"[\") push(state, \"]\", stream);\n      else if (curPunc == \"block\") push(state, \"block\", stream);\n      else if (curPunc == ctype) pop(state);\n      state.afterIdent = style == \"variable\" || style == \"keyword\";\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), ctx = state.ctx,\n          closing = firstChar == ctx.type;\n      if (ctx.type == \"block\") return ctx.indent + (firstChar == \"{\" ? 0 : config.indentUnit);\n      else if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indent + (closing ? 0 : config.indentUnit);\n    },\n\n    lineComment: \"#\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-rsrc\", \"r\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/rpm/changes/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: RPM changes mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n    <link rel=\"stylesheet\" href=\"../../../lib/codemirror.css\">\n    <script src=\"../../../lib/codemirror.js\"></script>\n    <script src=\"changes.js\"></script>\n    <link rel=\"stylesheet\" href=\"../../../doc/docs.css\">\n    <style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../../index.html\">Home</a>\n    <li><a href=\"../../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">RPM changes</a>\n  </ul>\n</div>\n\n<article>\n<h2>RPM changes mode</h2>\n\n    <div><textarea id=\"code\" name=\"code\">\n-------------------------------------------------------------------\nTue Oct 18 13:58:40 UTC 2011 - misterx@example.com\n\n- Update to r60.3\n- Fixes bug in the reflect package\n  * disallow Interface method on Value obtained via unexported name\n\n-------------------------------------------------------------------\nThu Oct  6 08:14:24 UTC 2011 - misterx@example.com\n\n- Update to r60.2\n- Fixes memory leak in certain map types\n\n-------------------------------------------------------------------\nWed Oct  5 14:34:10 UTC 2011 - misterx@example.com\n\n- Tweaks for gdb debugging\n- go.spec changes:\n  - move %go_arch definition to %prep section\n  - pass correct location of go specific gdb pretty printer and\n    functions to cpp as HOST_EXTRA_CFLAGS macro\n  - install go gdb functions & printer\n- gdb-printer.patch\n  - patch linker (src/cmd/ld/dwarf.c) to emit correct location of go\n    gdb functions and pretty printer\n</textarea></div>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"changes\"},\n        lineNumbers: true,\n        indentUnit: 4\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-rpm-changes</code>.</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/rpm/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: RPM changes mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n    <link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n    <script src=\"../../lib/codemirror.js\"></script>\n    <script src=\"rpm.js\"></script>\n    <link rel=\"stylesheet\" href=\"../../doc/docs.css\">\n    <style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">RPM</a>\n  </ul>\n</div>\n\n<article>\n<h2>RPM changes mode</h2>\n\n    <div><textarea id=\"code\" name=\"code\">\n-------------------------------------------------------------------\nTue Oct 18 13:58:40 UTC 2011 - misterx@example.com\n\n- Update to r60.3\n- Fixes bug in the reflect package\n  * disallow Interface method on Value obtained via unexported name\n\n-------------------------------------------------------------------\nThu Oct  6 08:14:24 UTC 2011 - misterx@example.com\n\n- Update to r60.2\n- Fixes memory leak in certain map types\n\n-------------------------------------------------------------------\nWed Oct  5 14:34:10 UTC 2011 - misterx@example.com\n\n- Tweaks for gdb debugging\n- go.spec changes:\n  - move %go_arch definition to %prep section\n  - pass correct location of go specific gdb pretty printer and\n    functions to cpp as HOST_EXTRA_CFLAGS macro\n  - install go gdb functions & printer\n- gdb-printer.patch\n  - patch linker (src/cmd/ld/dwarf.c) to emit correct location of go\n    gdb functions and pretty printer\n</textarea></div>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"rpm-changes\"},\n        lineNumbers: true,\n        indentUnit: 4\n      });\n    </script>\n\n<h2>RPM spec mode</h2>\n    \n    <div><textarea id=\"code2\" name=\"code2\">\n#\n# spec file for package minidlna\n#\n# Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>\n#\n# All modifications and additions to the file contributed by third parties\n# remain the property of their copyright owners, unless otherwise agreed\n# upon. The license for this file, and modifications and additions to the\n# file, is the same license as for the pristine package itself (unless the\n# license for the pristine package is not an Open Source License, in which\n# case the license is the MIT License). An \"Open Source License\" is a\n# license that conforms to the Open Source Definition (Version 1.9)\n# published by the Open Source Initiative.\n\n\nName:           libupnp6\nVersion:        1.6.13\nRelease:        0\nSummary:        Portable Universal Plug and Play (UPnP) SDK\nGroup:          System/Libraries\nLicense:        BSD-3-Clause\nUrl:            http://sourceforge.net/projects/pupnp/\nSource0:        http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2\nBuildRoot:      %{_tmppath}/%{name}-%{version}-build\n\n%description\nThe portable Universal Plug and Play (UPnP) SDK provides support for building\nUPnP-compliant control points, devices, and bridges on several operating\nsystems.\n\n%package -n libupnp-devel\nSummary:        Portable Universal Plug and Play (UPnP) SDK\nGroup:          Development/Libraries/C and C++\nProvides:       pkgconfig(libupnp)\nRequires:       %{name} = %{version}\n\n%description -n libupnp-devel\nThe portable Universal Plug and Play (UPnP) SDK provides support for building\nUPnP-compliant control points, devices, and bridges on several operating\nsystems.\n\n%prep\n%setup -n libupnp-%{version}\n\n%build\n%configure --disable-static\nmake %{?_smp_mflags}\n\n%install\n%makeinstall\nfind %{buildroot} -type f -name '*.la' -exec rm -f {} ';'\n\n%post -p /sbin/ldconfig\n\n%postun -p /sbin/ldconfig\n\n%files\n%defattr(-,root,root,-)\n%doc ChangeLog NEWS README TODO\n%{_libdir}/libixml.so.*\n%{_libdir}/libthreadutil.so.*\n%{_libdir}/libupnp.so.*\n\n%files -n libupnp-devel\n%defattr(-,root,root,-)\n%{_libdir}/pkgconfig/libupnp.pc\n%{_libdir}/libixml.so\n%{_libdir}/libthreadutil.so\n%{_libdir}/libupnp.so\n%{_includedir}/upnp/\n\n%changelog</textarea></div>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code2\"), {\n        mode: {name: \"rpm-spec\"},\n        lineNumbers: true,\n        indentUnit: 4\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-rpm-spec</code>, <code>text/x-rpm-changes</code>.</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/rpm/rpm.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"rpm-changes\", function() {\n  var headerSeperator = /^-+$/;\n  var headerLine = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)  ?\\d{1,2} \\d{2}:\\d{2}(:\\d{2})? [A-Z]{3,4} \\d{4} - /;\n  var simpleEmail = /^[\\w+.-]+@[\\w.-]+/;\n\n  return {\n    token: function(stream) {\n      if (stream.sol()) {\n        if (stream.match(headerSeperator)) { return 'tag'; }\n        if (stream.match(headerLine)) { return 'tag'; }\n      }\n      if (stream.match(simpleEmail)) { return 'string'; }\n      stream.next();\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-rpm-changes\", \"rpm-changes\");\n\n// Quick and dirty spec file highlighting\n\nCodeMirror.defineMode(\"rpm-spec\", function() {\n  var arch = /^(i386|i586|i686|x86_64|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/;\n\n  var preamble = /^(Name|Version|Release|License|Summary|Url|Group|Source|BuildArch|BuildRequires|BuildRoot|AutoReqProv|Provides|Requires(\\(\\w+\\))?|Obsoletes|Conflicts|Recommends|Source\\d*|Patch\\d*|ExclusiveArch|NoSource|Supplements):/;\n  var section = /^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pre|post|triggerin|triggerun|pretrans|posttrans|verifyscript|check|triggerpostun|triggerprein|trigger)/;\n  var control_flow_complex = /^%(ifnarch|ifarch|if)/; // rpm control flow macros\n  var control_flow_simple = /^%(else|endif)/; // rpm control flow macros\n  var operators = /^(\\!|\\?|\\<\\=|\\<|\\>\\=|\\>|\\=\\=|\\&\\&|\\|\\|)/; // operators in control flow macros\n\n  return {\n    startState: function () {\n        return {\n          controlFlow: false,\n          macroParameters: false,\n          section: false\n        };\n    },\n    token: function (stream, state) {\n      var ch = stream.peek();\n      if (ch == \"#\") { stream.skipToEnd(); return \"comment\"; }\n\n      if (stream.sol()) {\n        if (stream.match(preamble)) { return \"preamble\"; }\n        if (stream.match(section)) { return \"section\"; }\n      }\n\n      if (stream.match(/^\\$\\w+/)) { return \"def\"; } // Variables like '$RPM_BUILD_ROOT'\n      if (stream.match(/^\\$\\{\\w+\\}/)) { return \"def\"; } // Variables like '${RPM_BUILD_ROOT}'\n\n      if (stream.match(control_flow_simple)) { return \"keyword\"; }\n      if (stream.match(control_flow_complex)) {\n        state.controlFlow = true;\n        return \"keyword\";\n      }\n      if (state.controlFlow) {\n        if (stream.match(operators)) { return \"operator\"; }\n        if (stream.match(/^(\\d+)/)) { return \"number\"; }\n        if (stream.eol()) { state.controlFlow = false; }\n      }\n\n      if (stream.match(arch)) { return \"number\"; }\n\n      // Macros like '%make_install' or '%attr(0775,root,root)'\n      if (stream.match(/^%[\\w]+/)) {\n        if (stream.match(/^\\(/)) { state.macroParameters = true; }\n        return \"macro\";\n      }\n      if (state.macroParameters) {\n        if (stream.match(/^\\d+/)) { return \"number\";}\n        if (stream.match(/^\\)/)) {\n          state.macroParameters = false;\n          return \"macro\";\n        }\n      }\n      if (stream.match(/^%\\{\\??[\\w \\-]+\\}/)) { return \"macro\"; } // Macros like '%{defined fedora}'\n\n      //TODO: Include bash script sub-parser (CodeMirror supports that)\n      stream.next();\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-rpm-spec\", \"rpm-spec\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/rst/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: reStructuredText mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/mode/overlay.js\"></script>\n<script src=\"rst.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">reStructuredText</a>\n  </ul>\n</div>\n\n<article>\n<h2>reStructuredText mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n.. This is an excerpt from Sphinx documentation: http://sphinx.pocoo.org/_sources/rest.txt\n\n.. highlightlang:: rest\n\n.. _rst-primer:\n\nreStructuredText Primer\n=======================\n\nThis section is a brief introduction to reStructuredText (reST) concepts and\nsyntax, intended to provide authors with enough information to author documents\nproductively.  Since reST was designed to be a simple, unobtrusive markup\nlanguage, this will not take too long.\n\n.. seealso::\n\n   The authoritative `reStructuredText User Documentation\n   &lt;http://docutils.sourceforge.net/rst.html&gt;`_.  The \"ref\" links in this\n   document link to the description of the individual constructs in the reST\n   reference.\n\n\nParagraphs\n----------\n\nThe paragraph (:duref:`ref &lt;paragraphs&gt;`) is the most basic block in a reST\ndocument.  Paragraphs are simply chunks of text separated by one or more blank\nlines.  As in Python, indentation is significant in reST, so all lines of the\nsame paragraph must be left-aligned to the same level of indentation.\n\n\n.. _inlinemarkup:\n\nInline markup\n-------------\n\nThe standard reST inline markup is quite simple: use\n\n* one asterisk: ``*text*`` for emphasis (italics),\n* two asterisks: ``**text**`` for strong emphasis (boldface), and\n* backquotes: ````text```` for code samples.\n\nIf asterisks or backquotes appear in running text and could be confused with\ninline markup delimiters, they have to be escaped with a backslash.\n\nBe aware of some restrictions of this markup:\n\n* it may not be nested,\n* content may not start or end with whitespace: ``* text*`` is wrong,\n* it must be separated from surrounding text by non-word characters.  Use a\n  backslash escaped space to work around that: ``thisis\\ *one*\\ word``.\n\nThese restrictions may be lifted in future versions of the docutils.\n\nreST also allows for custom \"interpreted text roles\"', which signify that the\nenclosed text should be interpreted in a specific way.  Sphinx uses this to\nprovide semantic markup and cross-referencing of identifiers, as described in\nthe appropriate section.  The general syntax is ``:rolename:`content```.\n\nStandard reST provides the following roles:\n\n* :durole:`emphasis` -- alternate spelling for ``*emphasis*``\n* :durole:`strong` -- alternate spelling for ``**strong**``\n* :durole:`literal` -- alternate spelling for ````literal````\n* :durole:`subscript` -- subscript text\n* :durole:`superscript` -- superscript text\n* :durole:`title-reference` -- for titles of books, periodicals, and other\n  materials\n\nSee :ref:`inline-markup` for roles added by Sphinx.\n\n\nLists and Quote-like blocks\n---------------------------\n\nList markup (:duref:`ref &lt;bullet-lists&gt;`) is natural: just place an asterisk at\nthe start of a paragraph and indent properly.  The same goes for numbered lists;\nthey can also be autonumbered using a ``#`` sign::\n\n   * This is a bulleted list.\n   * It has two items, the second\n     item uses two lines.\n\n   1. This is a numbered list.\n   2. It has two items too.\n\n   #. This is a numbered list.\n   #. It has two items too.\n\n\nNested lists are possible, but be aware that they must be separated from the\nparent list items by blank lines::\n\n   * this is\n   * a list\n\n     * with a nested list\n     * and some subitems\n\n   * and here the parent list continues\n\nDefinition lists (:duref:`ref &lt;definition-lists&gt;`) are created as follows::\n\n   term (up to a line of text)\n      Definition of the term, which must be indented\n\n      and can even consist of multiple paragraphs\n\n   next term\n      Description.\n\nNote that the term cannot have more than one line of text.\n\nQuoted paragraphs (:duref:`ref &lt;block-quotes&gt;`) are created by just indenting\nthem more than the surrounding paragraphs.\n\nLine blocks (:duref:`ref &lt;line-blocks&gt;`) are a way of preserving line breaks::\n\n   | These lines are\n   | broken exactly like in\n   | the source file.\n\nThere are also several more special blocks available:\n\n* field lists (:duref:`ref &lt;field-lists&gt;`)\n* option lists (:duref:`ref &lt;option-lists&gt;`)\n* quoted literal blocks (:duref:`ref &lt;quoted-literal-blocks&gt;`)\n* doctest blocks (:duref:`ref &lt;doctest-blocks&gt;`)\n\n\nSource Code\n-----------\n\nLiteral code blocks (:duref:`ref &lt;literal-blocks&gt;`) are introduced by ending a\nparagraph with the special marker ``::``.  The literal block must be indented\n(and, like all paragraphs, separated from the surrounding ones by blank lines)::\n\n   This is a normal text paragraph. The next paragraph is a code sample::\n\n      It is not processed in any way, except\n      that the indentation is removed.\n\n      It can span multiple lines.\n\n   This is a normal text paragraph again.\n\nThe handling of the ``::`` marker is smart:\n\n* If it occurs as a paragraph of its own, that paragraph is completely left\n  out of the document.\n* If it is preceded by whitespace, the marker is removed.\n* If it is preceded by non-whitespace, the marker is replaced by a single\n  colon.\n\nThat way, the second sentence in the above example's first paragraph would be\nrendered as \"The next paragraph is a code sample:\".\n\n\n.. _rst-tables:\n\nTables\n------\n\nTwo forms of tables are supported.  For *grid tables* (:duref:`ref\n&lt;grid-tables&gt;`), you have to \"paint\" the cell grid yourself.  They look like\nthis::\n\n   +------------------------+------------+----------+----------+\n   | Header row, column 1   | Header 2   | Header 3 | Header 4 |\n   | (header rows optional) |            |          |          |\n   +========================+============+==========+==========+\n   | body row 1, column 1   | column 2   | column 3 | column 4 |\n   +------------------------+------------+----------+----------+\n   | body row 2             | ...        | ...      |          |\n   +------------------------+------------+----------+----------+\n\n*Simple tables* (:duref:`ref &lt;simple-tables&gt;`) are easier to write, but\nlimited: they must contain more than one row, and the first column cannot\ncontain multiple lines.  They look like this::\n\n   =====  =====  =======\n   A      B      A and B\n   =====  =====  =======\n   False  False  False\n   True   False  False\n   False  True   False\n   True   True   True\n   =====  =====  =======\n\n\nHyperlinks\n----------\n\nExternal links\n^^^^^^^^^^^^^^\n\nUse ```Link text &lt;http://example.com/&gt;`_`` for inline web links.  If the link\ntext should be the web address, you don't need special markup at all, the parser\nfinds links and mail addresses in ordinary text.\n\nYou can also separate the link and the target definition (:duref:`ref\n&lt;hyperlink-targets&gt;`), like this::\n\n   This is a paragraph that contains `a link`_.\n\n   .. _a link: http://example.com/\n\n\nInternal links\n^^^^^^^^^^^^^^\n\nInternal linking is done via a special reST role provided by Sphinx, see the\nsection on specific markup, :ref:`ref-role`.\n\n\nSections\n--------\n\nSection headers (:duref:`ref &lt;sections&gt;`) are created by underlining (and\noptionally overlining) the section title with a punctuation character, at least\nas long as the text::\n\n   =================\n   This is a heading\n   =================\n\nNormally, there are no heading levels assigned to certain characters as the\nstructure is determined from the succession of headings.  However, for the\nPython documentation, this convention is used which you may follow:\n\n* ``#`` with overline, for parts\n* ``*`` with overline, for chapters\n* ``=``, for sections\n* ``-``, for subsections\n* ``^``, for subsubsections\n* ``\"``, for paragraphs\n\nOf course, you are free to use your own marker characters (see the reST\ndocumentation), and use a deeper nesting level, but keep in mind that most\ntarget formats (HTML, LaTeX) have a limited supported nesting depth.\n\n\nExplicit Markup\n---------------\n\n\"Explicit markup\" (:duref:`ref &lt;explicit-markup-blocks&gt;`) is used in reST for\nmost constructs that need special handling, such as footnotes,\nspecially-highlighted paragraphs, comments, and generic directives.\n\nAn explicit markup block begins with a line starting with ``..`` followed by\nwhitespace and is terminated by the next paragraph at the same level of\nindentation.  (There needs to be a blank line between explicit markup and normal\nparagraphs.  This may all sound a bit complicated, but it is intuitive enough\nwhen you write it.)\n\n\n.. _directives:\n\nDirectives\n----------\n\nA directive (:duref:`ref &lt;directives&gt;`) is a generic block of explicit markup.\nBesides roles, it is one of the extension mechanisms of reST, and Sphinx makes\nheavy use of it.\n\nDocutils supports the following directives:\n\n* Admonitions: :dudir:`attention`, :dudir:`caution`, :dudir:`danger`,\n  :dudir:`error`, :dudir:`hint`, :dudir:`important`, :dudir:`note`,\n  :dudir:`tip`, :dudir:`warning` and the generic :dudir:`admonition`.\n  (Most themes style only \"note\" and \"warning\" specially.)\n\n* Images:\n\n  - :dudir:`image` (see also Images_ below)\n  - :dudir:`figure` (an image with caption and optional legend)\n\n* Additional body elements:\n\n  - :dudir:`contents` (a local, i.e. for the current file only, table of\n    contents)\n  - :dudir:`container` (a container with a custom class, useful to generate an\n    outer ``&lt;div&gt;`` in HTML)\n  - :dudir:`rubric` (a heading without relation to the document sectioning)\n  - :dudir:`topic`, :dudir:`sidebar` (special highlighted body elements)\n  - :dudir:`parsed-literal` (literal block that supports inline markup)\n  - :dudir:`epigraph` (a block quote with optional attribution line)\n  - :dudir:`highlights`, :dudir:`pull-quote` (block quotes with their own\n    class attribute)\n  - :dudir:`compound` (a compound paragraph)\n\n* Special tables:\n\n  - :dudir:`table` (a table with title)\n  - :dudir:`csv-table` (a table generated from comma-separated values)\n  - :dudir:`list-table` (a table generated from a list of lists)\n\n* Special directives:\n\n  - :dudir:`raw` (include raw target-format markup)\n  - :dudir:`include` (include reStructuredText from another file)\n    -- in Sphinx, when given an absolute include file path, this directive takes\n    it as relative to the source directory\n  - :dudir:`class` (assign a class attribute to the next element) [1]_\n\n* HTML specifics:\n\n  - :dudir:`meta` (generation of HTML ``&lt;meta&gt;`` tags)\n  - :dudir:`title` (override document title)\n\n* Influencing markup:\n\n  - :dudir:`default-role` (set a new default role)\n  - :dudir:`role` (create a new role)\n\n  Since these are only per-file, better use Sphinx' facilities for setting the\n  :confval:`default_role`.\n\nDo *not* use the directives :dudir:`sectnum`, :dudir:`header` and\n:dudir:`footer`.\n\nDirectives added by Sphinx are described in :ref:`sphinxmarkup`.\n\nBasically, a directive consists of a name, arguments, options and content. (Keep\nthis terminology in mind, it is used in the next chapter describing custom\ndirectives.)  Looking at this example, ::\n\n   .. function:: foo(x)\n                 foo(y, z)\n      :module: some.module.name\n\n      Return a line of text input from the user.\n\n``function`` is the directive name.  It is given two arguments here, the\nremainder of the first line and the second line, as well as one option\n``module`` (as you can see, options are given in the lines immediately following\nthe arguments and indicated by the colons).  Options must be indented to the\nsame level as the directive content.\n\nThe directive content follows after a blank line and is indented relative to the\ndirective start.\n\n\nImages\n------\n\nreST supports an image directive (:dudir:`ref &lt;image&gt;`), used like so::\n\n   .. image:: gnu.png\n      (options)\n\nWhen used within Sphinx, the file name given (here ``gnu.png``) must either be\nrelative to the source file, or absolute which means that they are relative to\nthe top source directory.  For example, the file ``sketch/spam.rst`` could refer\nto the image ``images/spam.png`` as ``../images/spam.png`` or\n``/images/spam.png``.\n\nSphinx will automatically copy image files over to a subdirectory of the output\ndirectory on building (e.g. the ``_static`` directory for HTML output.)\n\nInterpretation of image size options (``width`` and ``height``) is as follows:\nif the size has no unit or the unit is pixels, the given size will only be\nrespected for output channels that support pixels (i.e. not in LaTeX output).\nOther units (like ``pt`` for points) will be used for HTML and LaTeX output.\n\nSphinx extends the standard docutils behavior by allowing an asterisk for the\nextension::\n\n   .. image:: gnu.*\n\nSphinx then searches for all images matching the provided pattern and determines\ntheir type.  Each builder then chooses the best image out of these candidates.\nFor instance, if the file name ``gnu.*`` was given and two files :file:`gnu.pdf`\nand :file:`gnu.png` existed in the source tree, the LaTeX builder would choose\nthe former, while the HTML builder would prefer the latter.\n\n.. versionchanged:: 0.4\n   Added the support for file names ending in an asterisk.\n\n.. versionchanged:: 0.6\n   Image paths can now be absolute.\n\n\nFootnotes\n---------\n\nFor footnotes (:duref:`ref &lt;footnotes&gt;`), use ``[#name]_`` to mark the footnote\nlocation, and add the footnote body at the bottom of the document after a\n\"Footnotes\" rubric heading, like so::\n\n   Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_\n\n   .. rubric:: Footnotes\n\n   .. [#f1] Text of the first footnote.\n   .. [#f2] Text of the second footnote.\n\nYou can also explicitly number the footnotes (``[1]_``) or use auto-numbered\nfootnotes without names (``[#]_``).\n\n\nCitations\n---------\n\nStandard reST citations (:duref:`ref &lt;citations&gt;`) are supported, with the\nadditional feature that they are \"global\", i.e. all citations can be referenced\nfrom all files.  Use them like so::\n\n   Lorem ipsum [Ref]_ dolor sit amet.\n\n   .. [Ref] Book or article reference, URL or whatever.\n\nCitation usage is similar to footnote usage, but with a label that is not\nnumeric or begins with ``#``.\n\n\nSubstitutions\n-------------\n\nreST supports \"substitutions\" (:duref:`ref &lt;substitution-definitions&gt;`), which\nare pieces of text and/or markup referred to in the text by ``|name|``.  They\nare defined like footnotes with explicit markup blocks, like this::\n\n   .. |name| replace:: replacement *text*\n\nor this::\n\n   .. |caution| image:: warning.png\n                :alt: Warning!\n\nSee the :duref:`reST reference for substitutions &lt;substitution-definitions&gt;`\nfor details.\n\nIf you want to use some substitutions for all documents, put them into\n:confval:`rst_prolog` or put them into a separate file and include it into all\ndocuments you want to use them in, using the :rst:dir:`include` directive.  (Be\nsure to give the include file a file name extension differing from that of other\nsource files, to avoid Sphinx finding it as a standalone document.)\n\nSphinx defines some default substitutions, see :ref:`default-substitutions`.\n\n\nComments\n--------\n\nEvery explicit markup block which isn't a valid markup construct (like the\nfootnotes above) is regarded as a comment (:duref:`ref &lt;comments&gt;`).  For\nexample::\n\n   .. This is a comment.\n\nYou can indent text after a comment start to form multiline comments::\n\n   ..\n      This whole indented block\n      is a comment.\n\n      Still in the comment.\n\n\nSource encoding\n---------------\n\nSince the easiest way to include special characters like em dashes or copyright\nsigns in reST is to directly write them as Unicode characters, one has to\nspecify an encoding.  Sphinx assumes source files to be encoded in UTF-8 by\ndefault; you can change this with the :confval:`source_encoding` config value.\n\n\nGotchas\n-------\n\nThere are some problems one commonly runs into while authoring reST documents:\n\n* **Separation of inline markup:** As said above, inline markup spans must be\n  separated from the surrounding text by non-word characters, you have to use a\n  backslash-escaped space to get around that.  See `the reference\n  &lt;http://docutils.sf.net/docs/ref/rst/restructuredtext.html#inline-markup&gt;`_\n  for the details.\n\n* **No nested inline markup:** Something like ``*see :func:`foo`*`` is not\n  possible.\n\n\n.. rubric:: Footnotes\n\n.. [1] When the default domain contains a :rst:dir:`class` directive, this directive\n       will be shadowed.  Therefore, Sphinx re-exports it as :rst:dir:`rst-class`.\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n      });\n    </script>\n    <p>\n        The <code>python</code> mode will be used for highlighting blocks\n        containing Python/IPython terminal sessions: blocks starting with\n        <code>&gt;&gt;&gt;</code> (for Python) or <code>In [num]:</code> (for\n        IPython).\n\n        Further, the <code>stex</code> mode will be used for highlighting\n        blocks containing LaTex code.\n    </p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-rst</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/rst/rst.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../python/python\"), require(\"../stex/stex\"), require(\"../../addon/mode/overlay\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../python/python\", \"../stex/stex\", \"../../addon/mode/overlay\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode('rst', function (config, options) {\n\n  var rx_strong = /^\\*\\*[^\\*\\s](?:[^\\*]*[^\\*\\s])?\\*\\*/;\n  var rx_emphasis = /^\\*[^\\*\\s](?:[^\\*]*[^\\*\\s])?\\*/;\n  var rx_literal = /^``[^`\\s](?:[^`]*[^`\\s])``/;\n\n  var rx_number = /^(?:[\\d]+(?:[\\.,]\\d+)*)/;\n  var rx_positive = /^(?:\\s\\+[\\d]+(?:[\\.,]\\d+)*)/;\n  var rx_negative = /^(?:\\s\\-[\\d]+(?:[\\.,]\\d+)*)/;\n\n  var rx_uri_protocol = \"[Hh][Tt][Tt][Pp][Ss]?://\";\n  var rx_uri_domain = \"(?:[\\\\d\\\\w.-]+)\\\\.(?:\\\\w{2,6})\";\n  var rx_uri_path = \"(?:/[\\\\d\\\\w\\\\#\\\\%\\\\&\\\\-\\\\.\\\\,\\\\/\\\\:\\\\=\\\\?\\\\~]+)*\";\n  var rx_uri = new RegExp(\"^\" + rx_uri_protocol + rx_uri_domain + rx_uri_path);\n\n  var overlay = {\n    token: function (stream) {\n\n      if (stream.match(rx_strong) && stream.match (/\\W+|$/, false))\n        return 'strong';\n      if (stream.match(rx_emphasis) && stream.match (/\\W+|$/, false))\n        return 'em';\n      if (stream.match(rx_literal) && stream.match (/\\W+|$/, false))\n        return 'string-2';\n      if (stream.match(rx_number))\n        return 'number';\n      if (stream.match(rx_positive))\n        return 'positive';\n      if (stream.match(rx_negative))\n        return 'negative';\n      if (stream.match(rx_uri))\n        return 'link';\n\n      while (stream.next() != null) {\n        if (stream.match(rx_strong, false)) break;\n        if (stream.match(rx_emphasis, false)) break;\n        if (stream.match(rx_literal, false)) break;\n        if (stream.match(rx_number, false)) break;\n        if (stream.match(rx_positive, false)) break;\n        if (stream.match(rx_negative, false)) break;\n        if (stream.match(rx_uri, false)) break;\n      }\n\n      return null;\n    }\n  };\n\n  var mode = CodeMirror.getMode(\n    config, options.backdrop || 'rst-base'\n  );\n\n  return CodeMirror.overlayMode(mode, overlay, true); // combine\n}, 'python', 'stex');\n\n///////////////////////////////////////////////////////////////////////////////\n///////////////////////////////////////////////////////////////////////////////\n\nCodeMirror.defineMode('rst-base', function (config) {\n\n  ///////////////////////////////////////////////////////////////////////////\n  ///////////////////////////////////////////////////////////////////////////\n\n  function format(string) {\n    var args = Array.prototype.slice.call(arguments, 1);\n    return string.replace(/{(\\d+)}/g, function (match, n) {\n      return typeof args[n] != 'undefined' ? args[n] : match;\n    });\n  }\n\n  ///////////////////////////////////////////////////////////////////////////\n  ///////////////////////////////////////////////////////////////////////////\n\n  var mode_python = CodeMirror.getMode(config, 'python');\n  var mode_stex = CodeMirror.getMode(config, 'stex');\n\n  ///////////////////////////////////////////////////////////////////////////\n  ///////////////////////////////////////////////////////////////////////////\n\n  var SEPA = \"\\\\s+\";\n  var TAIL = \"(?:\\\\s*|\\\\W|$)\",\n  rx_TAIL = new RegExp(format('^{0}', TAIL));\n\n  var NAME =\n    \"(?:[^\\\\W\\\\d_](?:[\\\\w!\\\"#$%&'()\\\\*\\\\+,\\\\-\\\\.\\/:;<=>\\\\?]*[^\\\\W_])?)\",\n  rx_NAME = new RegExp(format('^{0}', NAME));\n  var NAME_WWS =\n    \"(?:[^\\\\W\\\\d_](?:[\\\\w\\\\s!\\\"#$%&'()\\\\*\\\\+,\\\\-\\\\.\\/:;<=>\\\\?]*[^\\\\W_])?)\";\n  var REF_NAME = format('(?:{0}|`{1}`)', NAME, NAME_WWS);\n\n  var TEXT1 = \"(?:[^\\\\s\\\\|](?:[^\\\\|]*[^\\\\s\\\\|])?)\";\n  var TEXT2 = \"(?:[^\\\\`]+)\",\n  rx_TEXT2 = new RegExp(format('^{0}', TEXT2));\n\n  var rx_section = new RegExp(\n    \"^([!'#$%&\\\"()*+,-./:;<=>?@\\\\[\\\\\\\\\\\\]^_`{|}~])\\\\1{3,}\\\\s*$\");\n  var rx_explicit = new RegExp(\n    format('^\\\\.\\\\.{0}', SEPA));\n  var rx_link = new RegExp(\n    format('^_{0}:{1}|^__:{1}', REF_NAME, TAIL));\n  var rx_directive = new RegExp(\n    format('^{0}::{1}', REF_NAME, TAIL));\n  var rx_substitution = new RegExp(\n    format('^\\\\|{0}\\\\|{1}{2}::{3}', TEXT1, SEPA, REF_NAME, TAIL));\n  var rx_footnote = new RegExp(\n    format('^\\\\[(?:\\\\d+|#{0}?|\\\\*)]{1}', REF_NAME, TAIL));\n  var rx_citation = new RegExp(\n    format('^\\\\[{0}\\\\]{1}', REF_NAME, TAIL));\n\n  var rx_substitution_ref = new RegExp(\n    format('^\\\\|{0}\\\\|', TEXT1));\n  var rx_footnote_ref = new RegExp(\n    format('^\\\\[(?:\\\\d+|#{0}?|\\\\*)]_', REF_NAME));\n  var rx_citation_ref = new RegExp(\n    format('^\\\\[{0}\\\\]_', REF_NAME));\n  var rx_link_ref1 = new RegExp(\n    format('^{0}__?', REF_NAME));\n  var rx_link_ref2 = new RegExp(\n    format('^`{0}`_', TEXT2));\n\n  var rx_role_pre = new RegExp(\n    format('^:{0}:`{1}`{2}', NAME, TEXT2, TAIL));\n  var rx_role_suf = new RegExp(\n    format('^`{1}`:{0}:{2}', NAME, TEXT2, TAIL));\n  var rx_role = new RegExp(\n    format('^:{0}:{1}', NAME, TAIL));\n\n  var rx_directive_name = new RegExp(format('^{0}', REF_NAME));\n  var rx_directive_tail = new RegExp(format('^::{0}', TAIL));\n  var rx_substitution_text = new RegExp(format('^\\\\|{0}\\\\|', TEXT1));\n  var rx_substitution_sepa = new RegExp(format('^{0}', SEPA));\n  var rx_substitution_name = new RegExp(format('^{0}', REF_NAME));\n  var rx_substitution_tail = new RegExp(format('^::{0}', TAIL));\n  var rx_link_head = new RegExp(\"^_\");\n  var rx_link_name = new RegExp(format('^{0}|_', REF_NAME));\n  var rx_link_tail = new RegExp(format('^:{0}', TAIL));\n\n  var rx_verbatim = new RegExp('^::\\\\s*$');\n  var rx_examples = new RegExp('^\\\\s+(?:>>>|In \\\\[\\\\d+\\\\]:)\\\\s');\n\n  ///////////////////////////////////////////////////////////////////////////\n  ///////////////////////////////////////////////////////////////////////////\n\n  function to_normal(stream, state) {\n    var token = null;\n\n    if (stream.sol() && stream.match(rx_examples, false)) {\n      change(state, to_mode, {\n        mode: mode_python, local: CodeMirror.startState(mode_python)\n      });\n    } else if (stream.sol() && stream.match(rx_explicit)) {\n      change(state, to_explicit);\n      token = 'meta';\n    } else if (stream.sol() && stream.match(rx_section)) {\n      change(state, to_normal);\n      token = 'header';\n    } else if (phase(state) == rx_role_pre ||\n               stream.match(rx_role_pre, false)) {\n\n      switch (stage(state)) {\n      case 0:\n        change(state, to_normal, context(rx_role_pre, 1));\n        stream.match(/^:/);\n        token = 'meta';\n        break;\n      case 1:\n        change(state, to_normal, context(rx_role_pre, 2));\n        stream.match(rx_NAME);\n        token = 'keyword';\n\n        if (stream.current().match(/^(?:math|latex)/)) {\n          state.tmp_stex = true;\n        }\n        break;\n      case 2:\n        change(state, to_normal, context(rx_role_pre, 3));\n        stream.match(/^:`/);\n        token = 'meta';\n        break;\n      case 3:\n        if (state.tmp_stex) {\n          state.tmp_stex = undefined; state.tmp = {\n            mode: mode_stex, local: CodeMirror.startState(mode_stex)\n          };\n        }\n\n        if (state.tmp) {\n          if (stream.peek() == '`') {\n            change(state, to_normal, context(rx_role_pre, 4));\n            state.tmp = undefined;\n            break;\n          }\n\n          token = state.tmp.mode.token(stream, state.tmp.local);\n          break;\n        }\n\n        change(state, to_normal, context(rx_role_pre, 4));\n        stream.match(rx_TEXT2);\n        token = 'string';\n        break;\n      case 4:\n        change(state, to_normal, context(rx_role_pre, 5));\n        stream.match(/^`/);\n        token = 'meta';\n        break;\n      case 5:\n        change(state, to_normal, context(rx_role_pre, 6));\n        stream.match(rx_TAIL);\n        break;\n      default:\n        change(state, to_normal);\n      }\n    } else if (phase(state) == rx_role_suf ||\n               stream.match(rx_role_suf, false)) {\n\n      switch (stage(state)) {\n      case 0:\n        change(state, to_normal, context(rx_role_suf, 1));\n        stream.match(/^`/);\n        token = 'meta';\n        break;\n      case 1:\n        change(state, to_normal, context(rx_role_suf, 2));\n        stream.match(rx_TEXT2);\n        token = 'string';\n        break;\n      case 2:\n        change(state, to_normal, context(rx_role_suf, 3));\n        stream.match(/^`:/);\n        token = 'meta';\n        break;\n      case 3:\n        change(state, to_normal, context(rx_role_suf, 4));\n        stream.match(rx_NAME);\n        token = 'keyword';\n        break;\n      case 4:\n        change(state, to_normal, context(rx_role_suf, 5));\n        stream.match(/^:/);\n        token = 'meta';\n        break;\n      case 5:\n        change(state, to_normal, context(rx_role_suf, 6));\n        stream.match(rx_TAIL);\n        break;\n      default:\n        change(state, to_normal);\n      }\n    } else if (phase(state) == rx_role || stream.match(rx_role, false)) {\n\n      switch (stage(state)) {\n      case 0:\n        change(state, to_normal, context(rx_role, 1));\n        stream.match(/^:/);\n        token = 'meta';\n        break;\n      case 1:\n        change(state, to_normal, context(rx_role, 2));\n        stream.match(rx_NAME);\n        token = 'keyword';\n        break;\n      case 2:\n        change(state, to_normal, context(rx_role, 3));\n        stream.match(/^:/);\n        token = 'meta';\n        break;\n      case 3:\n        change(state, to_normal, context(rx_role, 4));\n        stream.match(rx_TAIL);\n        break;\n      default:\n        change(state, to_normal);\n      }\n    } else if (phase(state) == rx_substitution_ref ||\n               stream.match(rx_substitution_ref, false)) {\n\n      switch (stage(state)) {\n      case 0:\n        change(state, to_normal, context(rx_substitution_ref, 1));\n        stream.match(rx_substitution_text);\n        token = 'variable-2';\n        break;\n      case 1:\n        change(state, to_normal, context(rx_substitution_ref, 2));\n        if (stream.match(/^_?_?/)) token = 'link';\n        break;\n      default:\n        change(state, to_normal);\n      }\n    } else if (stream.match(rx_footnote_ref)) {\n      change(state, to_normal);\n      token = 'quote';\n    } else if (stream.match(rx_citation_ref)) {\n      change(state, to_normal);\n      token = 'quote';\n    } else if (stream.match(rx_link_ref1)) {\n      change(state, to_normal);\n      if (!stream.peek() || stream.peek().match(/^\\W$/)) {\n        token = 'link';\n      }\n    } else if (phase(state) == rx_link_ref2 ||\n               stream.match(rx_link_ref2, false)) {\n\n      switch (stage(state)) {\n      case 0:\n        if (!stream.peek() || stream.peek().match(/^\\W$/)) {\n          change(state, to_normal, context(rx_link_ref2, 1));\n        } else {\n          stream.match(rx_link_ref2);\n        }\n        break;\n      case 1:\n        change(state, to_normal, context(rx_link_ref2, 2));\n        stream.match(/^`/);\n        token = 'link';\n        break;\n      case 2:\n        change(state, to_normal, context(rx_link_ref2, 3));\n        stream.match(rx_TEXT2);\n        break;\n      case 3:\n        change(state, to_normal, context(rx_link_ref2, 4));\n        stream.match(/^`_/);\n        token = 'link';\n        break;\n      default:\n        change(state, to_normal);\n      }\n    } else if (stream.match(rx_verbatim)) {\n      change(state, to_verbatim);\n    }\n\n    else {\n      if (stream.next()) change(state, to_normal);\n    }\n\n    return token;\n  }\n\n  ///////////////////////////////////////////////////////////////////////////\n  ///////////////////////////////////////////////////////////////////////////\n\n  function to_explicit(stream, state) {\n    var token = null;\n\n    if (phase(state) == rx_substitution ||\n        stream.match(rx_substitution, false)) {\n\n      switch (stage(state)) {\n      case 0:\n        change(state, to_explicit, context(rx_substitution, 1));\n        stream.match(rx_substitution_text);\n        token = 'variable-2';\n        break;\n      case 1:\n        change(state, to_explicit, context(rx_substitution, 2));\n        stream.match(rx_substitution_sepa);\n        break;\n      case 2:\n        change(state, to_explicit, context(rx_substitution, 3));\n        stream.match(rx_substitution_name);\n        token = 'keyword';\n        break;\n      case 3:\n        change(state, to_explicit, context(rx_substitution, 4));\n        stream.match(rx_substitution_tail);\n        token = 'meta';\n        break;\n      default:\n        change(state, to_normal);\n      }\n    } else if (phase(state) == rx_directive ||\n               stream.match(rx_directive, false)) {\n\n      switch (stage(state)) {\n      case 0:\n        change(state, to_explicit, context(rx_directive, 1));\n        stream.match(rx_directive_name);\n        token = 'keyword';\n\n        if (stream.current().match(/^(?:math|latex)/))\n          state.tmp_stex = true;\n        else if (stream.current().match(/^python/))\n          state.tmp_py = true;\n        break;\n      case 1:\n        change(state, to_explicit, context(rx_directive, 2));\n        stream.match(rx_directive_tail);\n        token = 'meta';\n\n        if (stream.match(/^latex\\s*$/) || state.tmp_stex) {\n          state.tmp_stex = undefined; change(state, to_mode, {\n            mode: mode_stex, local: CodeMirror.startState(mode_stex)\n          });\n        }\n        break;\n      case 2:\n        change(state, to_explicit, context(rx_directive, 3));\n        if (stream.match(/^python\\s*$/) || state.tmp_py) {\n          state.tmp_py = undefined; change(state, to_mode, {\n            mode: mode_python, local: CodeMirror.startState(mode_python)\n          });\n        }\n        break;\n      default:\n        change(state, to_normal);\n      }\n    } else if (phase(state) == rx_link || stream.match(rx_link, false)) {\n\n      switch (stage(state)) {\n      case 0:\n        change(state, to_explicit, context(rx_link, 1));\n        stream.match(rx_link_head);\n        stream.match(rx_link_name);\n        token = 'link';\n        break;\n      case 1:\n        change(state, to_explicit, context(rx_link, 2));\n        stream.match(rx_link_tail);\n        token = 'meta';\n        break;\n      default:\n        change(state, to_normal);\n      }\n    } else if (stream.match(rx_footnote)) {\n      change(state, to_normal);\n      token = 'quote';\n    } else if (stream.match(rx_citation)) {\n      change(state, to_normal);\n      token = 'quote';\n    }\n\n    else {\n      stream.eatSpace();\n      if (stream.eol()) {\n        change(state, to_normal);\n      } else {\n        stream.skipToEnd();\n        change(state, to_comment);\n        token = 'comment';\n      }\n    }\n\n    return token;\n  }\n\n  ///////////////////////////////////////////////////////////////////////////\n  ///////////////////////////////////////////////////////////////////////////\n\n  function to_comment(stream, state) {\n    return as_block(stream, state, 'comment');\n  }\n\n  function to_verbatim(stream, state) {\n    return as_block(stream, state, 'meta');\n  }\n\n  function as_block(stream, state, token) {\n    if (stream.eol() || stream.eatSpace()) {\n      stream.skipToEnd();\n      return token;\n    } else {\n      change(state, to_normal);\n      return null;\n    }\n  }\n\n  ///////////////////////////////////////////////////////////////////////////\n  ///////////////////////////////////////////////////////////////////////////\n\n  function to_mode(stream, state) {\n\n    if (state.ctx.mode && state.ctx.local) {\n\n      if (stream.sol()) {\n        if (!stream.eatSpace()) change(state, to_normal);\n        return null;\n      }\n\n      return state.ctx.mode.token(stream, state.ctx.local);\n    }\n\n    change(state, to_normal);\n    return null;\n  }\n\n  ///////////////////////////////////////////////////////////////////////////\n  ///////////////////////////////////////////////////////////////////////////\n\n  function context(phase, stage, mode, local) {\n    return {phase: phase, stage: stage, mode: mode, local: local};\n  }\n\n  function change(state, tok, ctx) {\n    state.tok = tok;\n    state.ctx = ctx || {};\n  }\n\n  function stage(state) {\n    return state.ctx.stage || 0;\n  }\n\n  function phase(state) {\n    return state.ctx.phase;\n  }\n\n  ///////////////////////////////////////////////////////////////////////////\n  ///////////////////////////////////////////////////////////////////////////\n\n  return {\n    startState: function () {\n      return {tok: to_normal, ctx: context(undefined, 0)};\n    },\n\n    copyState: function (state) {\n      var ctx = state.ctx, tmp = state.tmp;\n      if (ctx.local)\n        ctx = {mode: ctx.mode, local: CodeMirror.copyState(ctx.mode, ctx.local)};\n      if (tmp)\n        tmp = {mode: tmp.mode, local: CodeMirror.copyState(tmp.mode, tmp.local)};\n      return {tok: state.tok, ctx: ctx, tmp: tmp};\n    },\n\n    innerMode: function (state) {\n      return state.tmp      ? {state: state.tmp.local, mode: state.tmp.mode}\n      : state.ctx.mode ? {state: state.ctx.local, mode: state.ctx.mode}\n      : null;\n    },\n\n    token: function (stream, state) {\n      return state.tok(stream, state);\n    }\n  };\n}, 'python', 'stex');\n\n///////////////////////////////////////////////////////////////////////////////\n///////////////////////////////////////////////////////////////////////////////\n\nCodeMirror.defineMIME('text/x-rst', 'rst');\n\n///////////////////////////////////////////////////////////////////////////////\n///////////////////////////////////////////////////////////////////////////////\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/ruby/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Ruby mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"ruby.js\"></script>\n<style>\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .cm-s-default span.cm-arrow { color: red; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Ruby</a>\n  </ul>\n</div>\n\n<article>\n<h2>Ruby mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# Code from http://sandbox.mc.edu/~bennet/ruby/code/poly_rb.html\n#\n# This program evaluates polynomials.  It first asks for the coefficients\n# of a polynomial, which must be entered on one line, highest-order first.\n# It then requests values of x and will compute the value of the poly for\n# each x.  It will repeatly ask for x values, unless you the user enters\n# a blank line.  It that case, it will ask for another polynomial.  If the\n# user types quit for either input, the program immediately exits.\n#\n\n#\n# Function to evaluate a polynomial at x.  The polynomial is given\n# as a list of coefficients, from the greatest to the least.\ndef polyval(x, coef)\n    sum = 0\n    coef = coef.clone           # Don't want to destroy the original\n    while true\n        sum += coef.shift       # Add and remove the next coef\n        break if coef.empty?    # If no more, done entirely.\n        sum *= x                # This happens the right number of times.\n    end\n    return sum\nend\n\n#\n# Function to read a line containing a list of integers and return\n# them as an array of integers.  If the string conversion fails, it\n# throws TypeError.  If the input line is the word 'quit', then it\n# converts it to an end-of-file exception\ndef readints(prompt)\n    # Read a line\n    print prompt\n    line = readline.chomp\n    raise EOFError.new if line == 'quit' # You can also use a real EOF.\n            \n    # Go through each item on the line, converting each one and adding it\n    # to retval.\n    retval = [ ]\n    for str in line.split(/\\s+/)\n        if str =~ /^\\-?\\d+$/\n            retval.push(str.to_i)\n        else\n            raise TypeError.new\n        end\n    end\n\n    return retval\nend\n\n#\n# Take a coeff and an exponent and return the string representation, ignoring\n# the sign of the coefficient.\ndef term_to_str(coef, exp)\n    ret = \"\"\n\n    # Show coeff, unless it's 1 or at the right\n    coef = coef.abs\n    ret = coef.to_s     unless coef == 1 && exp > 0\n    ret += \"x\" if exp > 0                               # x if exponent not 0\n    ret += \"^\" + exp.to_s if exp > 1                    # ^exponent, if > 1.\n\n    return ret\nend\n\n#\n# Create a string of the polynomial in sort-of-readable form.\ndef polystr(p)\n    # Get the exponent of first coefficient, plus 1.\n    exp = p.length\n\n    # Assign exponents to each term, making pairs of coeff and exponent,\n    # Then get rid of the zero terms.\n    p = (p.map { |c| exp -= 1; [ c, exp ] }).select { |p| p[0] != 0 }\n\n    # If there's nothing left, it's a zero\n    return \"0\" if p.empty?\n\n    # *** Now p is a non-empty list of [ coef, exponent ] pairs. ***\n\n    # Convert the first term, preceded by a \"-\" if it's negative.\n    result = (if p[0][0] < 0 then \"-\" else \"\" end) + term_to_str(*p[0])\n\n    # Convert the rest of the terms, in each case adding the appropriate\n    # + or - separating them.  \n    for term in p[1...p.length]\n        # Add the separator then the rep. of the term.\n        result += (if term[0] < 0 then \" - \" else \" + \" end) + \n                term_to_str(*term)\n    end\n\n    return result\nend\n        \n#\n# Run until some kind of endfile.\nbegin\n    # Repeat until an exception or quit gets us out.\n    while true\n        # Read a poly until it works.  An EOF will except out of the\n        # program.\n        print \"\\n\"\n        begin\n            poly = readints(\"Enter a polynomial coefficients: \")\n        rescue TypeError\n            print \"Try again.\\n\"\n            retry\n        end\n        break if poly.empty?\n\n        # Read and evaluate x values until the user types a blank line.\n        # Again, an EOF will except out of the pgm.\n        while true\n            # Request an integer.\n            print \"Enter x value or blank line: \"\n            x = readline.chomp\n            break if x == ''\n            raise EOFError.new if x == 'quit'\n\n            # If it looks bad, let's try again.\n            if x !~ /^\\-?\\d+$/\n                print \"That doesn't look like an integer.  Please try again.\\n\"\n                next\n            end\n\n            # Convert to an integer and print the result.\n            x = x.to_i\n            print \"p(x) = \", polystr(poly), \"\\n\"\n            print \"p(\", x, \") = \", polyval(x, poly), \"\\n\"\n        end\n    end\nrescue EOFError\n    print \"\\n=== EOF ===\\n\"\nrescue Interrupt, SignalException\n    print \"\\n=== Interrupted ===\\n\"\nelse\n    print \"--- Bye ---\\n\"\nend\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/x-ruby\",\n        matchBrackets: true,\n        indentUnit: 4\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-ruby</code>.</p>\n\n    <p>Development of the CodeMirror Ruby mode was kindly sponsored\n    by <a href=\"http://ubalo.com/\">Ubalo</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/ruby/ruby.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"ruby\", function(config) {\n  function wordObj(words) {\n    var o = {};\n    for (var i = 0, e = words.length; i < e; ++i) o[words[i]] = true;\n    return o;\n  }\n  var keywords = wordObj([\n    \"alias\", \"and\", \"BEGIN\", \"begin\", \"break\", \"case\", \"class\", \"def\", \"defined?\", \"do\", \"else\",\n    \"elsif\", \"END\", \"end\", \"ensure\", \"false\", \"for\", \"if\", \"in\", \"module\", \"next\", \"not\", \"or\",\n    \"redo\", \"rescue\", \"retry\", \"return\", \"self\", \"super\", \"then\", \"true\", \"undef\", \"unless\",\n    \"until\", \"when\", \"while\", \"yield\", \"nil\", \"raise\", \"throw\", \"catch\", \"fail\", \"loop\", \"callcc\",\n    \"caller\", \"lambda\", \"proc\", \"public\", \"protected\", \"private\", \"require\", \"load\",\n    \"require_relative\", \"extend\", \"autoload\", \"__END__\", \"__FILE__\", \"__LINE__\", \"__dir__\"\n  ]);\n  var indentWords = wordObj([\"def\", \"class\", \"case\", \"for\", \"while\", \"module\", \"then\",\n                             \"catch\", \"loop\", \"proc\", \"begin\"]);\n  var dedentWords = wordObj([\"end\", \"until\"]);\n  var matching = {\"[\": \"]\", \"{\": \"}\", \"(\": \")\"};\n  var curPunc;\n\n  function chain(newtok, stream, state) {\n    state.tokenize.push(newtok);\n    return newtok(stream, state);\n  }\n\n  function tokenBase(stream, state) {\n    curPunc = null;\n    if (stream.sol() && stream.match(\"=begin\") && stream.eol()) {\n      state.tokenize.push(readBlockComment);\n      return \"comment\";\n    }\n    if (stream.eatSpace()) return null;\n    var ch = stream.next(), m;\n    if (ch == \"`\" || ch == \"'\" || ch == '\"') {\n      return chain(readQuoted(ch, \"string\", ch == '\"' || ch == \"`\"), stream, state);\n    } else if (ch == \"/\") {\n      var currentIndex = stream.current().length;\n      if (stream.skipTo(\"/\")) {\n        var search_till = stream.current().length;\n        stream.backUp(stream.current().length - currentIndex);\n        var balance = 0;  // balance brackets\n        while (stream.current().length < search_till) {\n          var chchr = stream.next();\n          if (chchr == \"(\") balance += 1;\n          else if (chchr == \")\") balance -= 1;\n          if (balance < 0) break;\n        }\n        stream.backUp(stream.current().length - currentIndex);\n        if (balance == 0)\n          return chain(readQuoted(ch, \"string-2\", true), stream, state);\n      }\n      return \"operator\";\n    } else if (ch == \"%\") {\n      var style = \"string\", embed = true;\n      if (stream.eat(\"s\")) style = \"atom\";\n      else if (stream.eat(/[WQ]/)) style = \"string\";\n      else if (stream.eat(/[r]/)) style = \"string-2\";\n      else if (stream.eat(/[wxq]/)) { style = \"string\"; embed = false; }\n      var delim = stream.eat(/[^\\w\\s=]/);\n      if (!delim) return \"operator\";\n      if (matching.propertyIsEnumerable(delim)) delim = matching[delim];\n      return chain(readQuoted(delim, style, embed, true), stream, state);\n    } else if (ch == \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    } else if (ch == \"<\" && (m = stream.match(/^<-?[\\`\\\"\\']?([a-zA-Z_?]\\w*)[\\`\\\"\\']?(?:;|$)/))) {\n      return chain(readHereDoc(m[1]), stream, state);\n    } else if (ch == \"0\") {\n      if (stream.eat(\"x\")) stream.eatWhile(/[\\da-fA-F]/);\n      else if (stream.eat(\"b\")) stream.eatWhile(/[01]/);\n      else stream.eatWhile(/[0-7]/);\n      return \"number\";\n    } else if (/\\d/.test(ch)) {\n      stream.match(/^[\\d_]*(?:\\.[\\d_]+)?(?:[eE][+\\-]?[\\d_]+)?/);\n      return \"number\";\n    } else if (ch == \"?\") {\n      while (stream.match(/^\\\\[CM]-/)) {}\n      if (stream.eat(\"\\\\\")) stream.eatWhile(/\\w/);\n      else stream.next();\n      return \"string\";\n    } else if (ch == \":\") {\n      if (stream.eat(\"'\")) return chain(readQuoted(\"'\", \"atom\", false), stream, state);\n      if (stream.eat('\"')) return chain(readQuoted('\"', \"atom\", true), stream, state);\n\n      // :> :>> :< :<< are valid symbols\n      if (stream.eat(/[\\<\\>]/)) {\n        stream.eat(/[\\<\\>]/);\n        return \"atom\";\n      }\n\n      // :+ :- :/ :* :| :& :! are valid symbols\n      if (stream.eat(/[\\+\\-\\*\\/\\&\\|\\:\\!]/)) {\n        return \"atom\";\n      }\n\n      // Symbols can't start by a digit\n      if (stream.eat(/[a-zA-Z$@_\\xa1-\\uffff]/)) {\n        stream.eatWhile(/[\\w$\\xa1-\\uffff]/);\n        // Only one ? ! = is allowed and only as the last character\n        stream.eat(/[\\?\\!\\=]/);\n        return \"atom\";\n      }\n      return \"operator\";\n    } else if (ch == \"@\" && stream.match(/^@?[a-zA-Z_\\xa1-\\uffff]/)) {\n      stream.eat(\"@\");\n      stream.eatWhile(/[\\w\\xa1-\\uffff]/);\n      return \"variable-2\";\n    } else if (ch == \"$\") {\n      if (stream.eat(/[a-zA-Z_]/)) {\n        stream.eatWhile(/[\\w]/);\n      } else if (stream.eat(/\\d/)) {\n        stream.eat(/\\d/);\n      } else {\n        stream.next(); // Must be a special global like $: or $!\n      }\n      return \"variable-3\";\n    } else if (/[a-zA-Z_\\xa1-\\uffff]/.test(ch)) {\n      stream.eatWhile(/[\\w\\xa1-\\uffff]/);\n      stream.eat(/[\\?\\!]/);\n      if (stream.eat(\":\")) return \"atom\";\n      return \"ident\";\n    } else if (ch == \"|\" && (state.varList || state.lastTok == \"{\" || state.lastTok == \"do\")) {\n      curPunc = \"|\";\n      return null;\n    } else if (/[\\(\\)\\[\\]{}\\\\;]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    } else if (ch == \"-\" && stream.eat(\">\")) {\n      return \"arrow\";\n    } else if (/[=+\\-\\/*:\\.^%<>~|]/.test(ch)) {\n      var more = stream.eatWhile(/[=+\\-\\/*:\\.^%<>~|]/);\n      if (ch == \".\" && !more) curPunc = \".\";\n      return \"operator\";\n    } else {\n      return null;\n    }\n  }\n\n  function tokenBaseUntilBrace(depth) {\n    if (!depth) depth = 1;\n    return function(stream, state) {\n      if (stream.peek() == \"}\") {\n        if (depth == 1) {\n          state.tokenize.pop();\n          return state.tokenize[state.tokenize.length-1](stream, state);\n        } else {\n          state.tokenize[state.tokenize.length - 1] = tokenBaseUntilBrace(depth - 1);\n        }\n      } else if (stream.peek() == \"{\") {\n        state.tokenize[state.tokenize.length - 1] = tokenBaseUntilBrace(depth + 1);\n      }\n      return tokenBase(stream, state);\n    };\n  }\n  function tokenBaseOnce() {\n    var alreadyCalled = false;\n    return function(stream, state) {\n      if (alreadyCalled) {\n        state.tokenize.pop();\n        return state.tokenize[state.tokenize.length-1](stream, state);\n      }\n      alreadyCalled = true;\n      return tokenBase(stream, state);\n    };\n  }\n  function readQuoted(quote, style, embed, unescaped) {\n    return function(stream, state) {\n      var escaped = false, ch;\n\n      if (state.context.type === 'read-quoted-paused') {\n        state.context = state.context.prev;\n        stream.eat(\"}\");\n      }\n\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && (unescaped || !escaped)) {\n          state.tokenize.pop();\n          break;\n        }\n        if (embed && ch == \"#\" && !escaped) {\n          if (stream.eat(\"{\")) {\n            if (quote == \"}\") {\n              state.context = {prev: state.context, type: 'read-quoted-paused'};\n            }\n            state.tokenize.push(tokenBaseUntilBrace());\n            break;\n          } else if (/[@\\$]/.test(stream.peek())) {\n            state.tokenize.push(tokenBaseOnce());\n            break;\n          }\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      return style;\n    };\n  }\n  function readHereDoc(phrase) {\n    return function(stream, state) {\n      if (stream.match(phrase)) state.tokenize.pop();\n      else stream.skipToEnd();\n      return \"string\";\n    };\n  }\n  function readBlockComment(stream, state) {\n    if (stream.sol() && stream.match(\"=end\") && stream.eol())\n      state.tokenize.pop();\n    stream.skipToEnd();\n    return \"comment\";\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: [tokenBase],\n              indented: 0,\n              context: {type: \"top\", indented: -config.indentUnit},\n              continuedLine: false,\n              lastTok: null,\n              varList: false};\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) state.indented = stream.indentation();\n      var style = state.tokenize[state.tokenize.length-1](stream, state), kwtype;\n      var thisTok = curPunc;\n      if (style == \"ident\") {\n        var word = stream.current();\n        style = state.lastTok == \".\" ? \"property\"\n          : keywords.propertyIsEnumerable(stream.current()) ? \"keyword\"\n          : /^[A-Z]/.test(word) ? \"tag\"\n          : (state.lastTok == \"def\" || state.lastTok == \"class\" || state.varList) ? \"def\"\n          : \"variable\";\n        if (style == \"keyword\") {\n          thisTok = word;\n          if (indentWords.propertyIsEnumerable(word)) kwtype = \"indent\";\n          else if (dedentWords.propertyIsEnumerable(word)) kwtype = \"dedent\";\n          else if ((word == \"if\" || word == \"unless\") && stream.column() == stream.indentation())\n            kwtype = \"indent\";\n          else if (word == \"do\" && state.context.indented < state.indented)\n            kwtype = \"indent\";\n        }\n      }\n      if (curPunc || (style && style != \"comment\")) state.lastTok = thisTok;\n      if (curPunc == \"|\") state.varList = !state.varList;\n\n      if (kwtype == \"indent\" || /[\\(\\[\\{]/.test(curPunc))\n        state.context = {prev: state.context, type: curPunc || style, indented: state.indented};\n      else if ((kwtype == \"dedent\" || /[\\)\\]\\}]/.test(curPunc)) && state.context.prev)\n        state.context = state.context.prev;\n\n      if (stream.eol())\n        state.continuedLine = (curPunc == \"\\\\\" || style == \"operator\");\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize[state.tokenize.length-1] != tokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0);\n      var ct = state.context;\n      var closing = ct.type == matching[firstChar] ||\n        ct.type == \"keyword\" && /^(?:end|until|else|elsif|when|rescue)\\b/.test(textAfter);\n      return ct.indented + (closing ? 0 : config.indentUnit) +\n        (state.continuedLine ? config.indentUnit : 0);\n    },\n\n    electricChars: \"}de\", // enD and rescuE\n    lineComment: \"#\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-ruby\", \"ruby\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/ruby/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({indentUnit: 2}, \"ruby\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"divide_equal_operator\",\n     \"[variable bar] [operator /=] [variable foo]\");\n\n  MT(\"divide_equal_operator_no_spacing\",\n     \"[variable foo][operator /=][number 42]\");\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/rust/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Rust mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"rust.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Rust</a>\n  </ul>\n</div>\n\n<article>\n<h2>Rust mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n// Demo code.\n\ntype foo<T> = int;\nenum bar {\n    some(int, foo<float>),\n    none\n}\n\nfn check_crate(x: int) {\n    let v = 10;\n    alt foo {\n      1 to 3 {\n        print_foo();\n        if x {\n            blah() + 10;\n        }\n      }\n      (x, y) { \"bye\" }\n      _ { \"hi\" }\n    }\n}\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-rustsrc</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/rust/rust.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"rust\", function() {\n  var indentUnit = 4, altIndentUnit = 2;\n  var valKeywords = {\n    \"if\": \"if-style\", \"while\": \"if-style\", \"loop\": \"else-style\", \"else\": \"else-style\",\n    \"do\": \"else-style\", \"ret\": \"else-style\", \"fail\": \"else-style\",\n    \"break\": \"atom\", \"cont\": \"atom\", \"const\": \"let\", \"resource\": \"fn\",\n    \"let\": \"let\", \"fn\": \"fn\", \"for\": \"for\", \"alt\": \"alt\", \"iface\": \"iface\",\n    \"impl\": \"impl\", \"type\": \"type\", \"enum\": \"enum\", \"mod\": \"mod\",\n    \"as\": \"op\", \"true\": \"atom\", \"false\": \"atom\", \"assert\": \"op\", \"check\": \"op\",\n    \"claim\": \"op\", \"native\": \"ignore\", \"unsafe\": \"ignore\", \"import\": \"else-style\",\n    \"export\": \"else-style\", \"copy\": \"op\", \"log\": \"op\", \"log_err\": \"op\",\n    \"use\": \"op\", \"bind\": \"op\", \"self\": \"atom\", \"struct\": \"enum\"\n  };\n  var typeKeywords = function() {\n    var keywords = {\"fn\": \"fn\", \"block\": \"fn\", \"obj\": \"obj\"};\n    var atoms = \"bool uint int i8 i16 i32 i64 u8 u16 u32 u64 float f32 f64 str char\".split(\" \");\n    for (var i = 0, e = atoms.length; i < e; ++i) keywords[atoms[i]] = \"atom\";\n    return keywords;\n  }();\n  var operatorChar = /[+\\-*&%=<>!?|\\.@]/;\n\n  // Tokenizer\n\n  // Used as scratch variable to communicate multiple values without\n  // consing up tons of objects.\n  var tcat, content;\n  function r(tc, style) {\n    tcat = tc;\n    return style;\n  }\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"') {\n      state.tokenize = tokenString;\n      return state.tokenize(stream, state);\n    }\n    if (ch == \"'\") {\n      tcat = \"atom\";\n      if (stream.eat(\"\\\\\")) {\n        if (stream.skipTo(\"'\")) { stream.next(); return \"string\"; }\n        else { return \"error\"; }\n      } else {\n        stream.next();\n        return stream.eat(\"'\") ? \"string\" : \"error\";\n      }\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"/\")) { stream.skipToEnd(); return \"comment\"; }\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment(1);\n        return state.tokenize(stream, state);\n      }\n    }\n    if (ch == \"#\") {\n      if (stream.eat(\"[\")) { tcat = \"open-attr\"; return null; }\n      stream.eatWhile(/\\w/);\n      return r(\"macro\", \"meta\");\n    }\n    if (ch == \":\" && stream.match(\":<\")) {\n      return r(\"op\", null);\n    }\n    if (ch.match(/\\d/) || (ch == \".\" && stream.eat(/\\d/))) {\n      var flp = false;\n      if (!stream.match(/^x[\\da-f]+/i) && !stream.match(/^b[01]+/)) {\n        stream.eatWhile(/\\d/);\n        if (stream.eat(\".\")) { flp = true; stream.eatWhile(/\\d/); }\n        if (stream.match(/^e[+\\-]?\\d+/i)) { flp = true; }\n      }\n      if (flp) stream.match(/^f(?:32|64)/);\n      else stream.match(/^[ui](?:8|16|32|64)/);\n      return r(\"atom\", \"number\");\n    }\n    if (ch.match(/[()\\[\\]{}:;,]/)) return r(ch, null);\n    if (ch == \"-\" && stream.eat(\">\")) return r(\"->\", null);\n    if (ch.match(operatorChar)) {\n      stream.eatWhile(operatorChar);\n      return r(\"op\", null);\n    }\n    stream.eatWhile(/\\w/);\n    content = stream.current();\n    if (stream.match(/^::\\w/)) {\n      stream.backUp(1);\n      return r(\"prefix\", \"variable-2\");\n    }\n    if (state.keywords.propertyIsEnumerable(content))\n      return r(state.keywords[content], content.match(/true|false/) ? \"atom\" : \"keyword\");\n    return r(\"name\", \"variable\");\n  }\n\n  function tokenString(stream, state) {\n    var ch, escaped = false;\n    while (ch = stream.next()) {\n      if (ch == '\"' && !escaped) {\n        state.tokenize = tokenBase;\n        return r(\"atom\", \"string\");\n      }\n      escaped = !escaped && ch == \"\\\\\";\n    }\n    // Hack to not confuse the parser when a string is split in\n    // pieces.\n    return r(\"op\", \"string\");\n  }\n\n  function tokenComment(depth) {\n    return function(stream, state) {\n      var lastCh = null, ch;\n      while (ch = stream.next()) {\n        if (ch == \"/\" && lastCh == \"*\") {\n          if (depth == 1) {\n            state.tokenize = tokenBase;\n            break;\n          } else {\n            state.tokenize = tokenComment(depth - 1);\n            return state.tokenize(stream, state);\n          }\n        }\n        if (ch == \"*\" && lastCh == \"/\") {\n          state.tokenize = tokenComment(depth + 1);\n          return state.tokenize(stream, state);\n        }\n        lastCh = ch;\n      }\n      return \"comment\";\n    };\n  }\n\n  // Parser\n\n  var cx = {state: null, stream: null, marked: null, cc: null};\n  function pass() {\n    for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]);\n  }\n  function cont() {\n    pass.apply(null, arguments);\n    return true;\n  }\n\n  function pushlex(type, info) {\n    var result = function() {\n      var state = cx.state;\n      state.lexical = {indented: state.indented, column: cx.stream.column(),\n                       type: type, prev: state.lexical, info: info};\n    };\n    result.lex = true;\n    return result;\n  }\n  function poplex() {\n    var state = cx.state;\n    if (state.lexical.prev) {\n      if (state.lexical.type == \")\")\n        state.indented = state.lexical.indented;\n      state.lexical = state.lexical.prev;\n    }\n  }\n  function typecx() { cx.state.keywords = typeKeywords; }\n  function valcx() { cx.state.keywords = valKeywords; }\n  poplex.lex = typecx.lex = valcx.lex = true;\n\n  function commasep(comb, end) {\n    function more(type) {\n      if (type == \",\") return cont(comb, more);\n      if (type == end) return cont();\n      return cont(more);\n    }\n    return function(type) {\n      if (type == end) return cont();\n      return pass(comb, more);\n    };\n  }\n\n  function stat_of(comb, tag) {\n    return cont(pushlex(\"stat\", tag), comb, poplex, block);\n  }\n  function block(type) {\n    if (type == \"}\") return cont();\n    if (type == \"let\") return stat_of(letdef1, \"let\");\n    if (type == \"fn\") return stat_of(fndef);\n    if (type == \"type\") return cont(pushlex(\"stat\"), tydef, endstatement, poplex, block);\n    if (type == \"enum\") return stat_of(enumdef);\n    if (type == \"mod\") return stat_of(mod);\n    if (type == \"iface\") return stat_of(iface);\n    if (type == \"impl\") return stat_of(impl);\n    if (type == \"open-attr\") return cont(pushlex(\"]\"), commasep(expression, \"]\"), poplex);\n    if (type == \"ignore\" || type.match(/[\\]\\);,]/)) return cont(block);\n    return pass(pushlex(\"stat\"), expression, poplex, endstatement, block);\n  }\n  function endstatement(type) {\n    if (type == \";\") return cont();\n    return pass();\n  }\n  function expression(type) {\n    if (type == \"atom\" || type == \"name\") return cont(maybeop);\n    if (type == \"{\") return cont(pushlex(\"}\"), exprbrace, poplex);\n    if (type.match(/[\\[\\(]/)) return matchBrackets(type, expression);\n    if (type.match(/[\\]\\)\\};,]/)) return pass();\n    if (type == \"if-style\") return cont(expression, expression);\n    if (type == \"else-style\" || type == \"op\") return cont(expression);\n    if (type == \"for\") return cont(pattern, maybetype, inop, expression, expression);\n    if (type == \"alt\") return cont(expression, altbody);\n    if (type == \"fn\") return cont(fndef);\n    if (type == \"macro\") return cont(macro);\n    return cont();\n  }\n  function maybeop(type) {\n    if (content == \".\") return cont(maybeprop);\n    if (content == \"::<\"){return cont(typarams, maybeop);}\n    if (type == \"op\" || content == \":\") return cont(expression);\n    if (type == \"(\" || type == \"[\") return matchBrackets(type, expression);\n    return pass();\n  }\n  function maybeprop() {\n    if (content.match(/^\\w+$/)) {cx.marked = \"variable\"; return cont(maybeop);}\n    return pass(expression);\n  }\n  function exprbrace(type) {\n    if (type == \"op\") {\n      if (content == \"|\") return cont(blockvars, poplex, pushlex(\"}\", \"block\"), block);\n      if (content == \"||\") return cont(poplex, pushlex(\"}\", \"block\"), block);\n    }\n    if (content == \"mutable\" || (content.match(/^\\w+$/) && cx.stream.peek() == \":\"\n                                 && !cx.stream.match(\"::\", false)))\n      return pass(record_of(expression));\n    return pass(block);\n  }\n  function record_of(comb) {\n    function ro(type) {\n      if (content == \"mutable\" || content == \"with\") {cx.marked = \"keyword\"; return cont(ro);}\n      if (content.match(/^\\w*$/)) {cx.marked = \"variable\"; return cont(ro);}\n      if (type == \":\") return cont(comb, ro);\n      if (type == \"}\") return cont();\n      return cont(ro);\n    }\n    return ro;\n  }\n  function blockvars(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(blockvars);}\n    if (type == \"op\" && content == \"|\") return cont();\n    return cont(blockvars);\n  }\n\n  function letdef1(type) {\n    if (type.match(/[\\]\\)\\};]/)) return cont();\n    if (content == \"=\") return cont(expression, letdef2);\n    if (type == \",\") return cont(letdef1);\n    return pass(pattern, maybetype, letdef1);\n  }\n  function letdef2(type) {\n    if (type.match(/[\\]\\)\\};,]/)) return pass(letdef1);\n    else return pass(expression, letdef2);\n  }\n  function maybetype(type) {\n    if (type == \":\") return cont(typecx, rtype, valcx);\n    return pass();\n  }\n  function inop(type) {\n    if (type == \"name\" && content == \"in\") {cx.marked = \"keyword\"; return cont();}\n    return pass();\n  }\n  function fndef(type) {\n    if (content == \"@\" || content == \"~\") {cx.marked = \"keyword\"; return cont(fndef);}\n    if (type == \"name\") {cx.marked = \"def\"; return cont(fndef);}\n    if (content == \"<\") return cont(typarams, fndef);\n    if (type == \"{\") return pass(expression);\n    if (type == \"(\") return cont(pushlex(\")\"), commasep(argdef, \")\"), poplex, fndef);\n    if (type == \"->\") return cont(typecx, rtype, valcx, fndef);\n    if (type == \";\") return cont();\n    return cont(fndef);\n  }\n  function tydef(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(tydef);}\n    if (content == \"<\") return cont(typarams, tydef);\n    if (content == \"=\") return cont(typecx, rtype, valcx);\n    return cont(tydef);\n  }\n  function enumdef(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(enumdef);}\n    if (content == \"<\") return cont(typarams, enumdef);\n    if (content == \"=\") return cont(typecx, rtype, valcx, endstatement);\n    if (type == \"{\") return cont(pushlex(\"}\"), typecx, enumblock, valcx, poplex);\n    return cont(enumdef);\n  }\n  function enumblock(type) {\n    if (type == \"}\") return cont();\n    if (type == \"(\") return cont(pushlex(\")\"), commasep(rtype, \")\"), poplex, enumblock);\n    if (content.match(/^\\w+$/)) cx.marked = \"def\";\n    return cont(enumblock);\n  }\n  function mod(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(mod);}\n    if (type == \"{\") return cont(pushlex(\"}\"), block, poplex);\n    return pass();\n  }\n  function iface(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(iface);}\n    if (content == \"<\") return cont(typarams, iface);\n    if (type == \"{\") return cont(pushlex(\"}\"), block, poplex);\n    return pass();\n  }\n  function impl(type) {\n    if (content == \"<\") return cont(typarams, impl);\n    if (content == \"of\" || content == \"for\") {cx.marked = \"keyword\"; return cont(rtype, impl);}\n    if (type == \"name\") {cx.marked = \"def\"; return cont(impl);}\n    if (type == \"{\") return cont(pushlex(\"}\"), block, poplex);\n    return pass();\n  }\n  function typarams() {\n    if (content == \">\") return cont();\n    if (content == \",\") return cont(typarams);\n    if (content == \":\") return cont(rtype, typarams);\n    return pass(rtype, typarams);\n  }\n  function argdef(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(argdef);}\n    if (type == \":\") return cont(typecx, rtype, valcx);\n    return pass();\n  }\n  function rtype(type) {\n    if (type == \"name\") {cx.marked = \"variable-3\"; return cont(rtypemaybeparam); }\n    if (content == \"mutable\") {cx.marked = \"keyword\"; return cont(rtype);}\n    if (type == \"atom\") return cont(rtypemaybeparam);\n    if (type == \"op\" || type == \"obj\") return cont(rtype);\n    if (type == \"fn\") return cont(fntype);\n    if (type == \"{\") return cont(pushlex(\"{\"), record_of(rtype), poplex);\n    return matchBrackets(type, rtype);\n  }\n  function rtypemaybeparam() {\n    if (content == \"<\") return cont(typarams);\n    return pass();\n  }\n  function fntype(type) {\n    if (type == \"(\") return cont(pushlex(\"(\"), commasep(rtype, \")\"), poplex, fntype);\n    if (type == \"->\") return cont(rtype);\n    return pass();\n  }\n  function pattern(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(patternmaybeop);}\n    if (type == \"atom\") return cont(patternmaybeop);\n    if (type == \"op\") return cont(pattern);\n    if (type.match(/[\\]\\)\\};,]/)) return pass();\n    return matchBrackets(type, pattern);\n  }\n  function patternmaybeop(type) {\n    if (type == \"op\" && content == \".\") return cont();\n    if (content == \"to\") {cx.marked = \"keyword\"; return cont(pattern);}\n    else return pass();\n  }\n  function altbody(type) {\n    if (type == \"{\") return cont(pushlex(\"}\", \"alt\"), altblock1, poplex);\n    return pass();\n  }\n  function altblock1(type) {\n    if (type == \"}\") return cont();\n    if (type == \"|\") return cont(altblock1);\n    if (content == \"when\") {cx.marked = \"keyword\"; return cont(expression, altblock2);}\n    if (type.match(/[\\]\\);,]/)) return cont(altblock1);\n    return pass(pattern, altblock2);\n  }\n  function altblock2(type) {\n    if (type == \"{\") return cont(pushlex(\"}\", \"alt\"), block, poplex, altblock1);\n    else return pass(altblock1);\n  }\n\n  function macro(type) {\n    if (type.match(/[\\[\\(\\{]/)) return matchBrackets(type, expression);\n    return pass();\n  }\n  function matchBrackets(type, comb) {\n    if (type == \"[\") return cont(pushlex(\"]\"), commasep(comb, \"]\"), poplex);\n    if (type == \"(\") return cont(pushlex(\")\"), commasep(comb, \")\"), poplex);\n    if (type == \"{\") return cont(pushlex(\"}\"), commasep(comb, \"}\"), poplex);\n    return cont();\n  }\n\n  function parse(state, stream, style) {\n    var cc = state.cc;\n    // Communicate our context to the combinators.\n    // (Less wasteful than consing up a hundred closures on every call.)\n    cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc;\n\n    while (true) {\n      var combinator = cc.length ? cc.pop() : block;\n      if (combinator(tcat)) {\n        while(cc.length && cc[cc.length - 1].lex)\n          cc.pop()();\n        return cx.marked || style;\n      }\n    }\n  }\n\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        cc: [],\n        lexical: {indented: -indentUnit, column: 0, type: \"top\", align: false},\n        keywords: valKeywords,\n        indented: 0\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (!state.lexical.hasOwnProperty(\"align\"))\n          state.lexical.align = false;\n        state.indented = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n      tcat = content = null;\n      var style = state.tokenize(stream, state);\n      if (style == \"comment\") return style;\n      if (!state.lexical.hasOwnProperty(\"align\"))\n        state.lexical.align = true;\n      if (tcat == \"prefix\") return style;\n      if (!content) content = stream.current();\n      return parse(state, stream, style);\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical,\n          type = lexical.type, closing = firstChar == type;\n      if (type == \"stat\") return lexical.indented + indentUnit;\n      if (lexical.align) return lexical.column + (closing ? 0 : 1);\n      return lexical.indented + (closing ? 0 : (lexical.info == \"alt\" ? altIndentUnit : indentUnit));\n    },\n\n    electricChars: \"{}\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: \"//\",\n    fold: \"brace\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-rustsrc\", \"rust\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/sass/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Sass mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"sass.js\"></script>\n<style>.CodeMirror {border: 1px solid #ddd; font-size:12px; height: 400px}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Sass</a>\n  </ul>\n</div>\n\n<article>\n<h2>Sass mode</h2>\n<form><textarea id=\"code\" name=\"code\">// Variable Definitions\n\n$page-width:    800px\n$sidebar-width: 200px\n$primary-color: #eeeeee\n\n// Global Attributes\n\nbody\n  font:\n    family: sans-serif\n    size: 30em\n    weight: bold\n\n// Scoped Styles\n\n#contents\n  width: $page-width\n  #sidebar\n    float: right\n    width: $sidebar-width\n  #main\n    width: $page-width - $sidebar-width\n    background: $primary-color\n    h2\n      color: blue\n\n#footer\n  height: 200px\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers : true,\n        matchBrackets : true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-sass</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/sass/sass.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"sass\", function(config) {\n  function tokenRegexp(words) {\n    return new RegExp(\"^\" + words.join(\"|\"));\n  }\n\n  var keywords = [\"true\", \"false\", \"null\", \"auto\"];\n  var keywordsRegexp = new RegExp(\"^\" + keywords.join(\"|\"));\n\n  var operators = [\"\\\\(\", \"\\\\)\", \"=\", \">\", \"<\", \"==\", \">=\", \"<=\", \"\\\\+\", \"-\",\n                   \"\\\\!=\", \"/\", \"\\\\*\", \"%\", \"and\", \"or\", \"not\", \";\",\"\\\\{\",\"\\\\}\",\":\"];\n  var opRegexp = tokenRegexp(operators);\n\n  var pseudoElementsRegexp = /^::?[a-zA-Z_][\\w\\-]*/;\n\n  function urlTokens(stream, state) {\n    var ch = stream.peek();\n\n    if (ch === \")\") {\n      stream.next();\n      state.tokenizer = tokenBase;\n      return \"operator\";\n    } else if (ch === \"(\") {\n      stream.next();\n      stream.eatSpace();\n\n      return \"operator\";\n    } else if (ch === \"'\" || ch === '\"') {\n      state.tokenizer = buildStringTokenizer(stream.next());\n      return \"string\";\n    } else {\n      state.tokenizer = buildStringTokenizer(\")\", false);\n      return \"string\";\n    }\n  }\n  function comment(indentation, multiLine) {\n    return function(stream, state) {\n      if (stream.sol() && stream.indentation() <= indentation) {\n        state.tokenizer = tokenBase;\n        return tokenBase(stream, state);\n      }\n\n      if (multiLine && stream.skipTo(\"*/\")) {\n        stream.next();\n        stream.next();\n        state.tokenizer = tokenBase;\n      } else {\n        stream.skipToEnd();\n      }\n\n      return \"comment\";\n    };\n  }\n\n  function buildStringTokenizer(quote, greedy) {\n    if (greedy == null) { greedy = true; }\n\n    function stringTokenizer(stream, state) {\n      var nextChar = stream.next();\n      var peekChar = stream.peek();\n      var previousChar = stream.string.charAt(stream.pos-2);\n\n      var endingString = ((nextChar !== \"\\\\\" && peekChar === quote) || (nextChar === quote && previousChar !== \"\\\\\"));\n\n      if (endingString) {\n        if (nextChar !== quote && greedy) { stream.next(); }\n        state.tokenizer = tokenBase;\n        return \"string\";\n      } else if (nextChar === \"#\" && peekChar === \"{\") {\n        state.tokenizer = buildInterpolationTokenizer(stringTokenizer);\n        stream.next();\n        return \"operator\";\n      } else {\n        return \"string\";\n      }\n    }\n\n    return stringTokenizer;\n  }\n\n  function buildInterpolationTokenizer(currentTokenizer) {\n    return function(stream, state) {\n      if (stream.peek() === \"}\") {\n        stream.next();\n        state.tokenizer = currentTokenizer;\n        return \"operator\";\n      } else {\n        return tokenBase(stream, state);\n      }\n    };\n  }\n\n  function indent(state) {\n    if (state.indentCount == 0) {\n      state.indentCount++;\n      var lastScopeOffset = state.scopes[0].offset;\n      var currentOffset = lastScopeOffset + config.indentUnit;\n      state.scopes.unshift({ offset:currentOffset });\n    }\n  }\n\n  function dedent(state) {\n    if (state.scopes.length == 1) return;\n\n    state.scopes.shift();\n  }\n\n  function tokenBase(stream, state) {\n    var ch = stream.peek();\n\n    // Comment\n    if (stream.match(\"/*\")) {\n      state.tokenizer = comment(stream.indentation(), true);\n      return state.tokenizer(stream, state);\n    }\n    if (stream.match(\"//\")) {\n      state.tokenizer = comment(stream.indentation(), false);\n      return state.tokenizer(stream, state);\n    }\n\n    // Interpolation\n    if (stream.match(\"#{\")) {\n      state.tokenizer = buildInterpolationTokenizer(tokenBase);\n      return \"operator\";\n    }\n\n    // Strings\n    if (ch === '\"' || ch === \"'\") {\n      stream.next();\n      state.tokenizer = buildStringTokenizer(ch);\n      return \"string\";\n    }\n\n    if(!state.cursorHalf){// state.cursorHalf === 0\n    // first half i.e. before : for key-value pairs\n    // including selectors\n\n      if (ch === \".\") {\n        stream.next();\n        if (stream.match(/^[\\w-]+/)) {\n          indent(state);\n          return \"atom\";\n        } else if (stream.peek() === \"#\") {\n          indent(state);\n          return \"atom\";\n        }\n      }\n\n      if (ch === \"#\") {\n        stream.next();\n        // ID selectors\n        if (stream.match(/^[\\w-]+/)) {\n          indent(state);\n          return \"atom\";\n        }\n        if (stream.peek() === \"#\") {\n          indent(state);\n          return \"atom\";\n        }\n      }\n\n      // Variables\n      if (ch === \"$\") {\n        stream.next();\n        stream.eatWhile(/[\\w-]/);\n        return \"variable-2\";\n      }\n\n      // Numbers\n      if (stream.match(/^-?[0-9\\.]+/))\n        return \"number\";\n\n      // Units\n      if (stream.match(/^(px|em|in)\\b/))\n        return \"unit\";\n\n      if (stream.match(keywordsRegexp))\n        return \"keyword\";\n\n      if (stream.match(/^url/) && stream.peek() === \"(\") {\n        state.tokenizer = urlTokens;\n        return \"atom\";\n      }\n\n      if (ch === \"=\") {\n        // Match shortcut mixin definition\n        if (stream.match(/^=[\\w-]+/)) {\n          indent(state);\n          return \"meta\";\n        }\n      }\n\n      if (ch === \"+\") {\n        // Match shortcut mixin definition\n        if (stream.match(/^\\+[\\w-]+/)){\n          return \"variable-3\";\n        }\n      }\n\n      if(ch === \"@\"){\n        if(stream.match(/@extend/)){\n          if(!stream.match(/\\s*[\\w]/))\n            dedent(state);\n        }\n      }\n\n\n      // Indent Directives\n      if (stream.match(/^@(else if|if|media|else|for|each|while|mixin|function)/)) {\n        indent(state);\n        return \"meta\";\n      }\n\n      // Other Directives\n      if (ch === \"@\") {\n        stream.next();\n        stream.eatWhile(/[\\w-]/);\n        return \"meta\";\n      }\n\n      if (stream.eatWhile(/[\\w-]/)){\n        if(stream.match(/ *: *[\\w-\\+\\$#!\\(\"']/,false)){\n          return \"propery\";\n        }\n        else if(stream.match(/ *:/,false)){\n          indent(state);\n          state.cursorHalf = 1;\n          return \"atom\";\n        }\n        else if(stream.match(/ *,/,false)){\n          return \"atom\";\n        }\n        else{\n          indent(state);\n          return \"atom\";\n        }\n      }\n\n      if(ch === \":\"){\n        if (stream.match(pseudoElementsRegexp)){ // could be a pseudo-element\n          return \"keyword\";\n        }\n        stream.next();\n        state.cursorHalf=1;\n        return \"operator\";\n      }\n\n    } // cursorHalf===0 ends here\n    else{\n\n      if (ch === \"#\") {\n        stream.next();\n        // Hex numbers\n        if (stream.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)){\n          if(!stream.peek()){\n            state.cursorHalf = 0;\n          }\n          return \"number\";\n        }\n      }\n\n      // Numbers\n      if (stream.match(/^-?[0-9\\.]+/)){\n        if(!stream.peek()){\n          state.cursorHalf = 0;\n        }\n        return \"number\";\n      }\n\n      // Units\n      if (stream.match(/^(px|em|in)\\b/)){\n        if(!stream.peek()){\n          state.cursorHalf = 0;\n        }\n        return \"unit\";\n      }\n\n      if (stream.match(keywordsRegexp)){\n        if(!stream.peek()){\n          state.cursorHalf = 0;\n        }\n        return \"keyword\";\n      }\n\n      if (stream.match(/^url/) && stream.peek() === \"(\") {\n        state.tokenizer = urlTokens;\n        if(!stream.peek()){\n          state.cursorHalf = 0;\n        }\n        return \"atom\";\n      }\n\n      // Variables\n      if (ch === \"$\") {\n        stream.next();\n        stream.eatWhile(/[\\w-]/);\n        if(!stream.peek()){\n          state.cursorHalf = 0;\n        }\n        return \"variable-3\";\n      }\n\n      // bang character for !important, !default, etc.\n      if (ch === \"!\") {\n        stream.next();\n        if(!stream.peek()){\n          state.cursorHalf = 0;\n        }\n        return stream.match(/^[\\w]+/) ? \"keyword\": \"operator\";\n      }\n\n      if (stream.match(opRegexp)){\n        if(!stream.peek()){\n          state.cursorHalf = 0;\n        }\n        return \"operator\";\n      }\n\n      // attributes\n      if (stream.eatWhile(/[\\w-]/)) {\n        if(!stream.peek()){\n          state.cursorHalf = 0;\n        }\n        return \"attribute\";\n      }\n\n      //stream.eatSpace();\n      if(!stream.peek()){\n        state.cursorHalf = 0;\n        return null;\n      }\n\n    } // else ends here\n\n    if (stream.match(opRegexp))\n      return \"operator\";\n\n    // If we haven't returned by now, we move 1 character\n    // and return an error\n    stream.next();\n    return null;\n  }\n\n  function tokenLexer(stream, state) {\n    if (stream.sol()) state.indentCount = 0;\n    var style = state.tokenizer(stream, state);\n    var current = stream.current();\n\n    if (current === \"@return\" || current === \"}\"){\n      dedent(state);\n    }\n\n    if (style !== null) {\n      var startOfToken = stream.pos - current.length;\n\n      var withCurrentIndent = startOfToken + (config.indentUnit * state.indentCount);\n\n      var newScopes = [];\n\n      for (var i = 0; i < state.scopes.length; i++) {\n        var scope = state.scopes[i];\n\n        if (scope.offset <= withCurrentIndent)\n          newScopes.push(scope);\n      }\n\n      state.scopes = newScopes;\n    }\n\n\n    return style;\n  }\n\n  return {\n    startState: function() {\n      return {\n        tokenizer: tokenBase,\n        scopes: [{offset: 0, type: \"sass\"}],\n        indentCount: 0,\n        cursorHalf: 0,  // cursor half tells us if cursor lies after (1)\n                        // or before (0) colon (well... more or less)\n        definedVars: [],\n        definedMixins: []\n      };\n    },\n    token: function(stream, state) {\n      var style = tokenLexer(stream, state);\n\n      state.lastToken = { style: style, content: stream.current() };\n\n      return style;\n    },\n\n    indent: function(state) {\n      return state.scopes[0].offset;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-sass\", \"sass\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/scheme/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Scheme mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"scheme.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Scheme</a>\n  </ul>\n</div>\n\n<article>\n<h2>Scheme mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n; See if the input starts with a given symbol.\n(define (match-symbol input pattern)\n  (cond ((null? (remain input)) #f)\n\t((eqv? (car (remain input)) pattern) (r-cdr input))\n\t(else #f)))\n\n; Allow the input to start with one of a list of patterns.\n(define (match-or input pattern)\n  (cond ((null? pattern) #f)\n\t((match-pattern input (car pattern)))\n\t(else (match-or input (cdr pattern)))))\n\n; Allow a sequence of patterns.\n(define (match-seq input pattern)\n  (if (null? pattern)\n      input\n      (let ((match (match-pattern input (car pattern))))\n\t(if match (match-seq match (cdr pattern)) #f))))\n\n; Match with the pattern but no problem if it does not match.\n(define (match-opt input pattern)\n  (let ((match (match-pattern input (car pattern))))\n    (if match match input)))\n\n; Match anything (other than '()), until pattern is found. The rather\n; clumsy form of requiring an ending pattern is needed to decide where\n; the end of the match is. If none is given, this will match the rest\n; of the sentence.\n(define (match-any input pattern)\n  (cond ((null? (remain input)) #f)\n\t((null? pattern) (f-cons (remain input) (clear-remain input)))\n\t(else\n\t (let ((accum-any (collector)))\n\t   (define (match-pattern-any input pattern)\n\t     (cond ((null? (remain input)) #f)\n\t\t   (else (accum-any (car (remain input)))\n\t\t\t (cond ((match-pattern (r-cdr input) pattern))\n\t\t\t       (else (match-pattern-any (r-cdr input) pattern))))))\n\t   (let ((retval (match-pattern-any input (car pattern))))\n\t     (if retval\n\t\t (f-cons (accum-any) retval)\n\t\t #f))))))\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-scheme</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/scheme/scheme.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/**\n * Author: Koh Zi Han, based on implementation by Koh Zi Chun\n */\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"scheme\", function () {\n    var BUILTIN = \"builtin\", COMMENT = \"comment\", STRING = \"string\",\n        ATOM = \"atom\", NUMBER = \"number\", BRACKET = \"bracket\";\n    var INDENT_WORD_SKIP = 2;\n\n    function makeKeywords(str) {\n        var obj = {}, words = str.split(\" \");\n        for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n        return obj;\n    }\n\n    var keywords = makeKeywords(\"λ case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?\");\n    var indentKeys = makeKeywords(\"define let letrec let* lambda\");\n\n    function stateStack(indent, type, prev) { // represents a state stack object\n        this.indent = indent;\n        this.type = type;\n        this.prev = prev;\n    }\n\n    function pushStack(state, indent, type) {\n        state.indentStack = new stateStack(indent, type, state.indentStack);\n    }\n\n    function popStack(state) {\n        state.indentStack = state.indentStack.prev;\n    }\n\n    var binaryMatcher = new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\\/[01]+#*)?i|[-+]?[01]+#*(?:\\/[01]+#*)?@[-+]?[01]+#*(?:\\/[01]+#*)?|[-+]?[01]+#*(?:\\/[01]+#*)?[-+](?:[01]+#*(?:\\/[01]+#*)?)?i|[-+]?[01]+#*(?:\\/[01]+#*)?)(?=[()\\s;\"]|$)/i);\n    var octalMatcher = new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\\/[0-7]+#*)?)(?=[()\\s;\"]|$)/i);\n    var hexMatcher = new RegExp(/^(?:[-+]i|[-+][\\da-f]+#*(?:\\/[\\da-f]+#*)?i|[-+]?[\\da-f]+#*(?:\\/[\\da-f]+#*)?@[-+]?[\\da-f]+#*(?:\\/[\\da-f]+#*)?|[-+]?[\\da-f]+#*(?:\\/[\\da-f]+#*)?[-+](?:[\\da-f]+#*(?:\\/[\\da-f]+#*)?)?i|[-+]?[\\da-f]+#*(?:\\/[\\da-f]+#*)?)(?=[()\\s;\"]|$)/i);\n    var decimalMatcher = new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*)i|[-+]?(?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*)@[-+]?(?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*)|[-+]?(?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*)[-+](?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*)?i|(?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*))(?=[()\\s;\"]|$)/i);\n\n    function isBinaryNumber (stream) {\n        return stream.match(binaryMatcher);\n    }\n\n    function isOctalNumber (stream) {\n        return stream.match(octalMatcher);\n    }\n\n    function isDecimalNumber (stream, backup) {\n        if (backup === true) {\n            stream.backUp(1);\n        }\n        return stream.match(decimalMatcher);\n    }\n\n    function isHexNumber (stream) {\n        return stream.match(hexMatcher);\n    }\n\n    return {\n        startState: function () {\n            return {\n                indentStack: null,\n                indentation: 0,\n                mode: false,\n                sExprComment: false\n            };\n        },\n\n        token: function (stream, state) {\n            if (state.indentStack == null && stream.sol()) {\n                // update indentation, but only if indentStack is empty\n                state.indentation = stream.indentation();\n            }\n\n            // skip spaces\n            if (stream.eatSpace()) {\n                return null;\n            }\n            var returnType = null;\n\n            switch(state.mode){\n                case \"string\": // multi-line string parsing mode\n                    var next, escaped = false;\n                    while ((next = stream.next()) != null) {\n                        if (next == \"\\\"\" && !escaped) {\n\n                            state.mode = false;\n                            break;\n                        }\n                        escaped = !escaped && next == \"\\\\\";\n                    }\n                    returnType = STRING; // continue on in scheme-string mode\n                    break;\n                case \"comment\": // comment parsing mode\n                    var next, maybeEnd = false;\n                    while ((next = stream.next()) != null) {\n                        if (next == \"#\" && maybeEnd) {\n\n                            state.mode = false;\n                            break;\n                        }\n                        maybeEnd = (next == \"|\");\n                    }\n                    returnType = COMMENT;\n                    break;\n                case \"s-expr-comment\": // s-expr commenting mode\n                    state.mode = false;\n                    if(stream.peek() == \"(\" || stream.peek() == \"[\"){\n                        // actually start scheme s-expr commenting mode\n                        state.sExprComment = 0;\n                    }else{\n                        // if not we just comment the entire of the next token\n                        stream.eatWhile(/[^/s]/); // eat non spaces\n                        returnType = COMMENT;\n                        break;\n                    }\n                default: // default parsing mode\n                    var ch = stream.next();\n\n                    if (ch == \"\\\"\") {\n                        state.mode = \"string\";\n                        returnType = STRING;\n\n                    } else if (ch == \"'\") {\n                        returnType = ATOM;\n                    } else if (ch == '#') {\n                        if (stream.eat(\"|\")) {                    // Multi-line comment\n                            state.mode = \"comment\"; // toggle to comment mode\n                            returnType = COMMENT;\n                        } else if (stream.eat(/[tf]/i)) {            // #t/#f (atom)\n                            returnType = ATOM;\n                        } else if (stream.eat(';')) {                // S-Expr comment\n                            state.mode = \"s-expr-comment\";\n                            returnType = COMMENT;\n                        } else {\n                            var numTest = null, hasExactness = false, hasRadix = true;\n                            if (stream.eat(/[ei]/i)) {\n                                hasExactness = true;\n                            } else {\n                                stream.backUp(1);       // must be radix specifier\n                            }\n                            if (stream.match(/^#b/i)) {\n                                numTest = isBinaryNumber;\n                            } else if (stream.match(/^#o/i)) {\n                                numTest = isOctalNumber;\n                            } else if (stream.match(/^#x/i)) {\n                                numTest = isHexNumber;\n                            } else if (stream.match(/^#d/i)) {\n                                numTest = isDecimalNumber;\n                            } else if (stream.match(/^[-+0-9.]/, false)) {\n                                hasRadix = false;\n                                numTest = isDecimalNumber;\n                            // re-consume the intial # if all matches failed\n                            } else if (!hasExactness) {\n                                stream.eat('#');\n                            }\n                            if (numTest != null) {\n                                if (hasRadix && !hasExactness) {\n                                    // consume optional exactness after radix\n                                    stream.match(/^#[ei]/i);\n                                }\n                                if (numTest(stream))\n                                    returnType = NUMBER;\n                            }\n                        }\n                    } else if (/^[-+0-9.]/.test(ch) && isDecimalNumber(stream, true)) { // match non-prefixed number, must be decimal\n                        returnType = NUMBER;\n                    } else if (ch == \";\") { // comment\n                        stream.skipToEnd(); // rest of the line is a comment\n                        returnType = COMMENT;\n                    } else if (ch == \"(\" || ch == \"[\") {\n                      var keyWord = ''; var indentTemp = stream.column(), letter;\n                        /**\n                        Either\n                        (indent-word ..\n                        (non-indent-word ..\n                        (;something else, bracket, etc.\n                        */\n\n                        while ((letter = stream.eat(/[^\\s\\(\\[\\;\\)\\]]/)) != null) {\n                            keyWord += letter;\n                        }\n\n                        if (keyWord.length > 0 && indentKeys.propertyIsEnumerable(keyWord)) { // indent-word\n\n                            pushStack(state, indentTemp + INDENT_WORD_SKIP, ch);\n                        } else { // non-indent word\n                            // we continue eating the spaces\n                            stream.eatSpace();\n                            if (stream.eol() || stream.peek() == \";\") {\n                                // nothing significant after\n                                // we restart indentation 1 space after\n                                pushStack(state, indentTemp + 1, ch);\n                            } else {\n                                pushStack(state, indentTemp + stream.current().length, ch); // else we match\n                            }\n                        }\n                        stream.backUp(stream.current().length - 1); // undo all the eating\n\n                        if(typeof state.sExprComment == \"number\") state.sExprComment++;\n\n                        returnType = BRACKET;\n                    } else if (ch == \")\" || ch == \"]\") {\n                        returnType = BRACKET;\n                        if (state.indentStack != null && state.indentStack.type == (ch == \")\" ? \"(\" : \"[\")) {\n                            popStack(state);\n\n                            if(typeof state.sExprComment == \"number\"){\n                                if(--state.sExprComment == 0){\n                                    returnType = COMMENT; // final closing bracket\n                                    state.sExprComment = false; // turn off s-expr commenting mode\n                                }\n                            }\n                        }\n                    } else {\n                        stream.eatWhile(/[\\w\\$_\\-!$%&*+\\.\\/:<=>?@\\^~]/);\n\n                        if (keywords && keywords.propertyIsEnumerable(stream.current())) {\n                            returnType = BUILTIN;\n                        } else returnType = \"variable\";\n                    }\n            }\n            return (typeof state.sExprComment == \"number\") ? COMMENT : returnType;\n        },\n\n        indent: function (state) {\n            if (state.indentStack == null) return state.indentation;\n            return state.indentStack.indent;\n        },\n\n        lineComment: \";;\"\n    };\n});\n\nCodeMirror.defineMIME(\"text/x-scheme\", \"scheme\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/shell/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Shell mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=stylesheet href=../../lib/codemirror.css>\n<script src=../../lib/codemirror.js></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=shell.js></script>\n<style type=text/css>\n  .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Shell</a>\n  </ul>\n</div>\n\n<article>\n<h2>Shell mode</h2>\n\n\n<textarea id=code>\n#!/bin/bash\n\n# clone the repository\ngit clone http://github.com/garden/tree\n\n# generate HTTPS credentials\ncd tree\nopenssl genrsa -aes256 -out https.key 1024\nopenssl req -new -nodes -key https.key -out https.csr\nopenssl x509 -req -days 365 -in https.csr -signkey https.key -out https.crt\ncp https.key{,.orig}\nopenssl rsa -in https.key.orig -out https.key\n\n# start the server in HTTPS mode\ncd web\nsudo node ../server.js 443 'yes' &gt;&gt; ../node.log &amp;\n\n# here is how to stop the server\nfor pid in `ps aux | grep 'node ../server.js' | awk '{print $2}'` ; do\n  sudo kill -9 $pid 2&gt; /dev/null\ndone\n\nexit 0</textarea>\n\n<script>\n  var editor = CodeMirror.fromTextArea(document.getElementById('code'), {\n    mode: 'shell',\n    lineNumbers: true,\n    matchBrackets: true\n  });\n</script>\n\n<p><strong>MIME types defined:</strong> <code>text/x-sh</code>.</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/shell/shell.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode('shell', function() {\n\n  var words = {};\n  function define(style, string) {\n    var split = string.split(' ');\n    for(var i = 0; i < split.length; i++) {\n      words[split[i]] = style;\n    }\n  };\n\n  // Atoms\n  define('atom', 'true false');\n\n  // Keywords\n  define('keyword', 'if then do else elif while until for in esac fi fin ' +\n    'fil done exit set unset export function');\n\n  // Commands\n  define('builtin', 'ab awk bash beep cat cc cd chown chmod chroot clear cp ' +\n    'curl cut diff echo find gawk gcc get git grep kill killall ln ls make ' +\n    'mkdir openssl mv nc node npm ping ps restart rm rmdir sed service sh ' +\n    'shopt shred source sort sleep ssh start stop su sudo tee telnet top ' +\n    'touch vi vim wall wc wget who write yes zsh');\n\n  function tokenBase(stream, state) {\n    if (stream.eatSpace()) return null;\n\n    var sol = stream.sol();\n    var ch = stream.next();\n\n    if (ch === '\\\\') {\n      stream.next();\n      return null;\n    }\n    if (ch === '\\'' || ch === '\"' || ch === '`') {\n      state.tokens.unshift(tokenString(ch));\n      return tokenize(stream, state);\n    }\n    if (ch === '#') {\n      if (sol && stream.eat('!')) {\n        stream.skipToEnd();\n        return 'meta'; // 'comment'?\n      }\n      stream.skipToEnd();\n      return 'comment';\n    }\n    if (ch === '$') {\n      state.tokens.unshift(tokenDollar);\n      return tokenize(stream, state);\n    }\n    if (ch === '+' || ch === '=') {\n      return 'operator';\n    }\n    if (ch === '-') {\n      stream.eat('-');\n      stream.eatWhile(/\\w/);\n      return 'attribute';\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/\\d/);\n      if(stream.eol() || !/\\w/.test(stream.peek())) {\n        return 'number';\n      }\n    }\n    stream.eatWhile(/[\\w-]/);\n    var cur = stream.current();\n    if (stream.peek() === '=' && /\\w+/.test(cur)) return 'def';\n    return words.hasOwnProperty(cur) ? words[cur] : null;\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var next, end = false, escaped = false;\n      while ((next = stream.next()) != null) {\n        if (next === quote && !escaped) {\n          end = true;\n          break;\n        }\n        if (next === '$' && !escaped && quote !== '\\'') {\n          escaped = true;\n          stream.backUp(1);\n          state.tokens.unshift(tokenDollar);\n          break;\n        }\n        escaped = !escaped && next === '\\\\';\n      }\n      if (end || !escaped) {\n        state.tokens.shift();\n      }\n      return (quote === '`' || quote === ')' ? 'quote' : 'string');\n    };\n  };\n\n  var tokenDollar = function(stream, state) {\n    if (state.tokens.length > 1) stream.eat('$');\n    var ch = stream.next(), hungry = /\\w/;\n    if (ch === '{') hungry = /[^}]/;\n    if (ch === '(') {\n      state.tokens[0] = tokenString(')');\n      return tokenize(stream, state);\n    }\n    if (!/\\d/.test(ch)) {\n      stream.eatWhile(hungry);\n      stream.eat('}');\n    }\n    state.tokens.shift();\n    return 'def';\n  };\n\n  function tokenize(stream, state) {\n    return (state.tokens[0] || tokenBase) (stream, state);\n  };\n\n  return {\n    startState: function() {return {tokens:[]};},\n    token: function(stream, state) {\n      return tokenize(stream, state);\n    },\n    lineComment: '#',\n    fold: \"brace\"\n  };\n});\n\nCodeMirror.defineMIME('text/x-sh', 'shell');\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/shell/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({}, \"shell\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"var\",\n     \"text [def $var] text\");\n  MT(\"varBraces\",\n     \"text[def ${var}]text\");\n  MT(\"varVar\",\n     \"text [def $a$b] text\");\n  MT(\"varBracesVarBraces\",\n     \"text[def ${a}${b}]text\");\n\n  MT(\"singleQuotedVar\",\n     \"[string 'text $var text']\");\n  MT(\"singleQuotedVarBraces\",\n     \"[string 'text ${var} text']\");\n\n  MT(\"doubleQuotedVar\",\n     '[string \"text ][def $var][string  text\"]');\n  MT(\"doubleQuotedVarBraces\",\n     '[string \"text][def ${var}][string text\"]');\n  MT(\"doubleQuotedVarPunct\",\n     '[string \"text ][def $@][string  text\"]');\n  MT(\"doubleQuotedVarVar\",\n     '[string \"][def $a$b][string \"]');\n  MT(\"doubleQuotedVarBracesVarBraces\",\n     '[string \"][def ${a}${b}][string \"]');\n\n  MT(\"notAString\",\n     \"text\\\\'text\");\n  MT(\"escapes\",\n     \"outside\\\\'\\\\\\\"\\\\`\\\\\\\\[string \\\"inside\\\\`\\\\'\\\\\\\"\\\\\\\\`\\\\$notAVar\\\"]outside\\\\$\\\\(notASubShell\\\\)\");\n\n  MT(\"subshell\",\n     \"[builtin echo] [quote $(whoami)] s log, stardate [quote `date`].\");\n  MT(\"doubleQuotedSubshell\",\n     \"[builtin echo] [string \\\"][quote $(whoami)][string 's log, stardate `date`.\\\"]\");\n\n  MT(\"hashbang\",\n     \"[meta #!/bin/bash]\");\n  MT(\"comment\",\n     \"text [comment # Blurb]\");\n\n  MT(\"numbers\",\n     \"[number 0] [number 1] [number 2]\");\n  MT(\"keywords\",\n     \"[keyword while] [atom true]; [keyword do]\",\n     \"  [builtin sleep] [number 3]\",\n     \"[keyword done]\");\n  MT(\"options\",\n     \"[builtin ls] [attribute -l] [attribute --human-readable]\");\n  MT(\"operator\",\n     \"[def var][operator =]value\");\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/sieve/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Sieve (RFC5228) mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"sieve.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Sieve (RFC5228)</a>\n  </ul>\n</div>\n\n<article>\n<h2>Sieve (RFC5228) mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n#\n# Example Sieve Filter\n# Declare any optional features or extension used by the script\n#\n\nrequire [\"fileinto\", \"reject\"];\n\n#\n# Reject any large messages (note that the four leading dots get\n# \"stuffed\" to three)\n#\nif size :over 1M\n{\n  reject text:\nPlease do not send me large attachments.\nPut your file on a server and send me the URL.\nThank you.\n.... Fred\n.\n;\n  stop;\n}\n\n#\n# Handle messages from known mailing lists\n# Move messages from IETF filter discussion list to filter folder\n#\nif header :is \"Sender\" \"owner-ietf-mta-filters@imc.org\"\n{\n  fileinto \"filter\";  # move to \"filter\" folder\n}\n#\n# Keep all messages to or from people in my company\n#\nelsif address :domain :is [\"From\", \"To\"] \"example.com\"\n{\n  keep;               # keep in \"In\" folder\n}\n\n#\n# Try and catch unsolicited email.  If a message is not to me,\n# or it contains a subject known to be spam, file it away.\n#\nelsif anyof (not address :all :contains\n               [\"To\", \"Cc\", \"Bcc\"] \"me@example.com\",\n             header :matches \"subject\"\n               [\"*make*money*fast*\", \"*university*dipl*mas*\"])\n{\n  # If message header does not contain my address,\n  # it's from a list.\n  fileinto \"spam\";   # move to \"spam\" folder\n}\nelse\n{\n  # Move all other (non-company) mail to \"personal\"\n  # folder.\n  fileinto \"personal\";\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>application/sieve</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/sieve/sieve.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"sieve\", function(config) {\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  var keywords = words(\"if elsif else stop require\");\n  var atoms = words(\"true false not\");\n  var indentUnit = config.indentUnit;\n\n  function tokenBase(stream, state) {\n\n    var ch = stream.next();\n    if (ch == \"/\" && stream.eat(\"*\")) {\n      state.tokenize = tokenCComment;\n      return tokenCComment(stream, state);\n    }\n\n    if (ch === '#') {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n\n    if (ch == \"\\\"\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n\n    if (ch == \"(\") {\n      state._indent.push(\"(\");\n      // add virtual angel wings so that editor behaves...\n      // ...more sane incase of broken brackets\n      state._indent.push(\"{\");\n      return null;\n    }\n\n    if (ch === \"{\") {\n      state._indent.push(\"{\");\n      return null;\n    }\n\n    if (ch == \")\")  {\n      state._indent.pop();\n      state._indent.pop();\n    }\n\n    if (ch === \"}\") {\n      state._indent.pop();\n      return null;\n    }\n\n    if (ch == \",\")\n      return null;\n\n    if (ch == \";\")\n      return null;\n\n\n    if (/[{}\\(\\),;]/.test(ch))\n      return null;\n\n    // 1*DIGIT \"K\" / \"M\" / \"G\"\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\d]/);\n      stream.eat(/[KkMmGg]/);\n      return \"number\";\n    }\n\n    // \":\" (ALPHA / \"_\") *(ALPHA / DIGIT / \"_\")\n    if (ch == \":\") {\n      stream.eatWhile(/[a-zA-Z_]/);\n      stream.eatWhile(/[a-zA-Z0-9_]/);\n\n      return \"operator\";\n    }\n\n    stream.eatWhile(/\\w/);\n    var cur = stream.current();\n\n    // \"text:\" *(SP / HTAB) (hash-comment / CRLF)\n    // *(multiline-literal / multiline-dotstart)\n    // \".\" CRLF\n    if ((cur == \"text\") && stream.eat(\":\"))\n    {\n      state.tokenize = tokenMultiLineString;\n      return \"string\";\n    }\n\n    if (keywords.propertyIsEnumerable(cur))\n      return \"keyword\";\n\n    if (atoms.propertyIsEnumerable(cur))\n      return \"atom\";\n\n    return null;\n  }\n\n  function tokenMultiLineString(stream, state)\n  {\n    state._multiLineString = true;\n    // the first line is special it may contain a comment\n    if (!stream.sol()) {\n      stream.eatSpace();\n\n      if (stream.peek() == \"#\") {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n\n      stream.skipToEnd();\n      return \"string\";\n    }\n\n    if ((stream.next() == \".\")  && (stream.eol()))\n    {\n      state._multiLineString = false;\n      state.tokenize = tokenBase;\n    }\n\n    return \"string\";\n  }\n\n  function tokenCComment(stream, state) {\n    var maybeEnd = false, ch;\n    while ((ch = stream.next()) != null) {\n      if (maybeEnd && ch == \"/\") {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped)\n          break;\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (!escaped) state.tokenize = tokenBase;\n      return \"string\";\n    };\n  }\n\n  return {\n    startState: function(base) {\n      return {tokenize: tokenBase,\n              baseIndent: base || 0,\n              _indent: []};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace())\n        return null;\n\n      return (state.tokenize || tokenBase)(stream, state);;\n    },\n\n    indent: function(state, _textAfter) {\n      var length = state._indent.length;\n      if (_textAfter && (_textAfter[0] == \"}\"))\n        length--;\n\n      if (length <0)\n        length = 0;\n\n      return length * indentUnit;\n    },\n\n    electricChars: \"}\"\n  };\n});\n\nCodeMirror.defineMIME(\"application/sieve\", \"sieve\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/slim/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: SLIM mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/ambiance.css\">\n<script src=\"https://code.jquery.com/jquery-1.11.1.min.js\"></script>\n<script src=\"https://code.jquery.com/ui/1.11.0/jquery-ui.min.js\"></script>\n<link rel=\"stylesheet\" href=\"https://code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../htmlembedded/htmlembedded.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"../coffeescript/coffeescript.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../ruby/ruby.js\"></script>\n<script src=\"../markdown/markdown.js\"></script>\n<script src=\"slim.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">SLIM</a>\n  </ul>\n</div>\n\n<article>\n  <h2>SLIM mode</h2>\n  <form><textarea id=\"code\" name=\"code\">\nbody\n  table\n    - for user in users\n      td id=\"user_#{user.id}\" class=user.role\n        a href=user_action(user, :edit) Edit #{user.name}\n        a href=(path_to_user user) = user.name\nbody\n  h1(id=\"logo\") = page_logo\n  h2[id=\"tagline\" class=\"small tagline\"] = page_tagline\n\nh2[id=\"tagline\"\n   class=\"small tagline\"] = page_tagline\n\nh1 id = \"logo\" = page_logo\nh2 [ id = \"tagline\" ] = page_tagline\n\n/ comment\n  second line\n/! html comment\n   second line\n<!-- html comment -->\n<a href=\"#{'hello' if set}\">link</a>\na.slim href=\"work\" disabled=false running==:atom Text <b>bold</b>\n.clazz data-id=\"test\" == 'hello' unless quark\n | Text mode #{12}\n   Second line\n= x ||= :ruby_atom\n#menu.left\n  - @env.each do |x|\n    li: a = x\n*@dyntag attr=\"val\"\n.first *{:class => [:second, :third]} Text\n.second class=[\"text\",\"more\"]\n.third class=:text,:symbol\n\n  </textarea></form>\n  <script>\n    var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n      lineNumbers: true,\n      theme: \"ambiance\",\n      mode: \"application/x-slim\"\n    });\n    $('.CodeMirror').resizable({\n      resize: function() {\n        editor.setSize($(this).width(), $(this).height());\n        //editor.refresh();\n      }\n    });\n  </script>\n\n  <p><strong>MIME types defined:</strong> <code>application/x-slim</code>.</p>\n\n  <p>\n    <strong>Parsing/Highlighting Tests:</strong>\n    <a href=\"../../test/index.html#slim_*\">normal</a>,\n    <a href=\"../../test/index.html#verbose,slim_*\">verbose</a>.\n  </p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/slim/slim.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Slim Highlighting for CodeMirror copyright (c) HicknHack Software Gmbh\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../htmlmixed/htmlmixed\"), require(\"../ruby/ruby\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../htmlmixed/htmlmixed\", \"../ruby/ruby\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\n  CodeMirror.defineMode(\"slim\", function(config) {\n    var htmlMode = CodeMirror.getMode(config, {name: \"htmlmixed\"});\n    var rubyMode = CodeMirror.getMode(config, \"ruby\");\n    var modes = { html: htmlMode, ruby: rubyMode };\n    var embedded = {\n      ruby: \"ruby\",\n      javascript: \"javascript\",\n      css: \"text/css\",\n      sass: \"text/x-sass\",\n      scss: \"text/x-scss\",\n      less: \"text/x-less\",\n      styl: \"text/x-styl\", // no highlighting so far\n      coffee: \"coffeescript\",\n      asciidoc: \"text/x-asciidoc\",\n      markdown: \"text/x-markdown\",\n      textile: \"text/x-textile\", // no highlighting so far\n      creole: \"text/x-creole\", // no highlighting so far\n      wiki: \"text/x-wiki\", // no highlighting so far\n      mediawiki: \"text/x-mediawiki\", // no highlighting so far\n      rdoc: \"text/x-rdoc\", // no highlighting so far\n      builder: \"text/x-builder\", // no highlighting so far\n      nokogiri: \"text/x-nokogiri\", // no highlighting so far\n      erb: \"application/x-erb\"\n    };\n    var embeddedRegexp = function(map){\n      var arr = [];\n      for(var key in map) arr.push(key);\n      return new RegExp(\"^(\"+arr.join('|')+\"):\");\n    }(embedded);\n\n    var styleMap = {\n      \"commentLine\": \"comment\",\n      \"slimSwitch\": \"operator special\",\n      \"slimTag\": \"tag\",\n      \"slimId\": \"attribute def\",\n      \"slimClass\": \"attribute qualifier\",\n      \"slimAttribute\": \"attribute\",\n      \"slimSubmode\": \"keyword special\",\n      \"closeAttributeTag\": null,\n      \"slimDoctype\": null,\n      \"lineContinuation\": null\n    };\n    var closing = {\n      \"{\": \"}\",\n      \"[\": \"]\",\n      \"(\": \")\"\n    };\n\n    var nameStartChar = \"_a-zA-Z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\";\n    var nameChar = nameStartChar + \"\\\\-0-9\\xB7\\u0300-\\u036F\\u203F-\\u2040\";\n    var nameRegexp = new RegExp(\"^[:\"+nameStartChar+\"](?::[\"+nameChar+\"]|[\"+nameChar+\"]*)\");\n    var attributeNameRegexp = new RegExp(\"^[:\"+nameStartChar+\"][:\\\\.\"+nameChar+\"]*(?=\\\\s*=)\");\n    var wrappedAttributeNameRegexp = new RegExp(\"^[:\"+nameStartChar+\"][:\\\\.\"+nameChar+\"]*\");\n    var classNameRegexp = /^\\.-?[_a-zA-Z]+[\\w\\-]*/;\n    var classIdRegexp = /^#[_a-zA-Z]+[\\w\\-]*/;\n\n    function backup(pos, tokenize, style) {\n      var restore = function(stream, state) {\n        state.tokenize = tokenize;\n        if (stream.pos < pos) {\n          stream.pos = pos;\n          return style;\n        }\n        return state.tokenize(stream, state);\n      };\n      return function(stream, state) {\n        state.tokenize = restore;\n        return tokenize(stream, state);\n      };\n    }\n\n    function maybeBackup(stream, state, pat, offset, style) {\n      var cur = stream.current();\n      var idx = cur.search(pat);\n      if (idx > -1) {\n        state.tokenize = backup(stream.pos, state.tokenize, style);\n        stream.backUp(cur.length - idx - offset);\n      }\n      return style;\n    }\n\n    function continueLine(state, column) {\n      state.stack = {\n        parent: state.stack,\n        style: \"continuation\",\n        indented: column,\n        tokenize: state.line\n      };\n      state.line = state.tokenize;\n    }\n    function finishContinue(state) {\n      if (state.line == state.tokenize) {\n        state.line = state.stack.tokenize;\n        state.stack = state.stack.parent;\n      }\n    }\n\n    function lineContinuable(column, tokenize) {\n      return function(stream, state) {\n        finishContinue(state);\n        if (stream.match(/^\\\\$/)) {\n          continueLine(state, column);\n          return \"lineContinuation\";\n        }\n        var style = tokenize(stream, state);\n        if (stream.eol() && stream.current().match(/(?:^|[^\\\\])(?:\\\\\\\\)*\\\\$/)) {\n          stream.backUp(1);\n        }\n        return style;\n      };\n    }\n    function commaContinuable(column, tokenize) {\n      return function(stream, state) {\n        finishContinue(state);\n        var style = tokenize(stream, state);\n        if (stream.eol() && stream.current().match(/,$/)) {\n          continueLine(state, column);\n        }\n        return style;\n      };\n    }\n\n    function rubyInQuote(endQuote, tokenize) {\n      // TODO: add multi line support\n      return function(stream, state) {\n        var ch = stream.peek();\n        if (ch == endQuote && state.rubyState.tokenize.length == 1) {\n          // step out of ruby context as it seems to complete processing all the braces\n          stream.next();\n          state.tokenize = tokenize;\n          return \"closeAttributeTag\";\n        } else {\n          return ruby(stream, state);\n        }\n      };\n    }\n    function startRubySplat(tokenize) {\n      var rubyState;\n      var runSplat = function(stream, state) {\n        if (state.rubyState.tokenize.length == 1 && !state.rubyState.context.prev) {\n          stream.backUp(1);\n          if (stream.eatSpace()) {\n            state.rubyState = rubyState;\n            state.tokenize = tokenize;\n            return tokenize(stream, state);\n          }\n          stream.next();\n        }\n        return ruby(stream, state);\n      };\n      return function(stream, state) {\n        rubyState = state.rubyState;\n        state.rubyState = rubyMode.startState();\n        state.tokenize = runSplat;\n        return ruby(stream, state);\n      };\n    }\n\n    function ruby(stream, state) {\n      return rubyMode.token(stream, state.rubyState);\n    }\n\n    function htmlLine(stream, state) {\n      if (stream.match(/^\\\\$/)) {\n        return \"lineContinuation\";\n      }\n      return html(stream, state);\n    }\n    function html(stream, state) {\n      if (stream.match(/^#\\{/)) {\n        state.tokenize = rubyInQuote(\"}\", state.tokenize);\n        return null;\n      }\n      return maybeBackup(stream, state, /[^\\\\]#\\{/, 1, htmlMode.token(stream, state.htmlState));\n    }\n\n    function startHtmlLine(lastTokenize) {\n      return function(stream, state) {\n        var style = htmlLine(stream, state);\n        if (stream.eol()) state.tokenize = lastTokenize;\n        return style;\n      };\n    }\n\n    function startHtmlMode(stream, state, offset) {\n      state.stack = {\n        parent: state.stack,\n        style: \"html\",\n        indented: stream.column() + offset, // pipe + space\n        tokenize: state.line\n      };\n      state.line = state.tokenize = html;\n      return null;\n    }\n\n    function comment(stream, state) {\n      stream.skipToEnd();\n      return state.stack.style;\n    }\n\n    function commentMode(stream, state) {\n      state.stack = {\n        parent: state.stack,\n        style: \"comment\",\n        indented: state.indented + 1,\n        tokenize: state.line\n      };\n      state.line = comment;\n      return comment(stream, state);\n    }\n\n    function attributeWrapper(stream, state) {\n      if (stream.eat(state.stack.endQuote)) {\n        state.line = state.stack.line;\n        state.tokenize = state.stack.tokenize;\n        state.stack = state.stack.parent;\n        return null;\n      }\n      if (stream.match(wrappedAttributeNameRegexp)) {\n        state.tokenize = attributeWrapperAssign;\n        return \"slimAttribute\";\n      }\n      stream.next();\n      return null;\n    }\n    function attributeWrapperAssign(stream, state) {\n      if (stream.match(/^==?/)) {\n        state.tokenize = attributeWrapperValue;\n        return null;\n      }\n      return attributeWrapper(stream, state);\n    }\n    function attributeWrapperValue(stream, state) {\n      var ch = stream.peek();\n      if (ch == '\"' || ch == \"\\'\") {\n        state.tokenize = readQuoted(ch, \"string\", true, false, attributeWrapper);\n        stream.next();\n        return state.tokenize(stream, state);\n      }\n      if (ch == '[') {\n        return startRubySplat(attributeWrapper)(stream, state);\n      }\n      if (stream.match(/^(true|false|nil)\\b/)) {\n        state.tokenize = attributeWrapper;\n        return \"keyword\";\n      }\n      return startRubySplat(attributeWrapper)(stream, state);\n    }\n\n    function startAttributeWrapperMode(state, endQuote, tokenize) {\n      state.stack = {\n        parent: state.stack,\n        style: \"wrapper\",\n        indented: state.indented + 1,\n        tokenize: tokenize,\n        line: state.line,\n        endQuote: endQuote\n      };\n      state.line = state.tokenize = attributeWrapper;\n      return null;\n    }\n\n    function sub(stream, state) {\n      if (stream.match(/^#\\{/)) {\n        state.tokenize = rubyInQuote(\"}\", state.tokenize);\n        return null;\n      }\n      var subStream = new CodeMirror.StringStream(stream.string.slice(state.stack.indented), stream.tabSize);\n      subStream.pos = stream.pos - state.stack.indented;\n      subStream.start = stream.start - state.stack.indented;\n      subStream.lastColumnPos = stream.lastColumnPos - state.stack.indented;\n      subStream.lastColumnValue = stream.lastColumnValue - state.stack.indented;\n      var style = state.subMode.token(subStream, state.subState);\n      stream.pos = subStream.pos + state.stack.indented;\n      return style;\n    }\n    function firstSub(stream, state) {\n      state.stack.indented = stream.column();\n      state.line = state.tokenize = sub;\n      return state.tokenize(stream, state);\n    }\n\n    function createMode(mode) {\n      var query = embedded[mode];\n      var spec = CodeMirror.mimeModes[query];\n      if (spec) {\n        return CodeMirror.getMode(config, spec);\n      }\n      var factory = CodeMirror.modes[query];\n      if (factory) {\n        return factory(config, {name: query});\n      }\n      return CodeMirror.getMode(config, \"null\");\n    }\n\n    function getMode(mode) {\n      if (!modes.hasOwnProperty(mode)) {\n        return modes[mode] = createMode(mode);\n      }\n      return modes[mode];\n    }\n\n    function startSubMode(mode, state) {\n      var subMode = getMode(mode);\n      var subState = subMode.startState && subMode.startState();\n\n      state.subMode = subMode;\n      state.subState = subState;\n\n      state.stack = {\n        parent: state.stack,\n        style: \"sub\",\n        indented: state.indented + 1,\n        tokenize: state.line\n      };\n      state.line = state.tokenize = firstSub;\n      return \"slimSubmode\";\n    }\n\n    function doctypeLine(stream, _state) {\n      stream.skipToEnd();\n      return \"slimDoctype\";\n    }\n\n    function startLine(stream, state) {\n      var ch = stream.peek();\n      if (ch == '<') {\n        return (state.tokenize = startHtmlLine(state.tokenize))(stream, state);\n      }\n      if (stream.match(/^[|']/)) {\n        return startHtmlMode(stream, state, 1);\n      }\n      if (stream.match(/^\\/(!|\\[\\w+])?/)) {\n        return commentMode(stream, state);\n      }\n      if (stream.match(/^(-|==?[<>]?)/)) {\n        state.tokenize = lineContinuable(stream.column(), commaContinuable(stream.column(), ruby));\n        return \"slimSwitch\";\n      }\n      if (stream.match(/^doctype\\b/)) {\n        state.tokenize = doctypeLine;\n        return \"keyword\";\n      }\n\n      var m = stream.match(embeddedRegexp);\n      if (m) {\n        return startSubMode(m[1], state);\n      }\n\n      return slimTag(stream, state);\n    }\n\n    function slim(stream, state) {\n      if (state.startOfLine) {\n        return startLine(stream, state);\n      }\n      return slimTag(stream, state);\n    }\n\n    function slimTag(stream, state) {\n      if (stream.eat('*')) {\n        state.tokenize = startRubySplat(slimTagExtras);\n        return null;\n      }\n      if (stream.match(nameRegexp)) {\n        state.tokenize = slimTagExtras;\n        return \"slimTag\";\n      }\n      return slimClass(stream, state);\n    }\n    function slimTagExtras(stream, state) {\n      if (stream.match(/^(<>?|><?)/)) {\n        state.tokenize = slimClass;\n        return null;\n      }\n      return slimClass(stream, state);\n    }\n    function slimClass(stream, state) {\n      if (stream.match(classIdRegexp)) {\n        state.tokenize = slimClass;\n        return \"slimId\";\n      }\n      if (stream.match(classNameRegexp)) {\n        state.tokenize = slimClass;\n        return \"slimClass\";\n      }\n      return slimAttribute(stream, state);\n    }\n    function slimAttribute(stream, state) {\n      if (stream.match(/^([\\[\\{\\(])/)) {\n        return startAttributeWrapperMode(state, closing[RegExp.$1], slimAttribute);\n      }\n      if (stream.match(attributeNameRegexp)) {\n        state.tokenize = slimAttributeAssign;\n        return \"slimAttribute\";\n      }\n      if (stream.peek() == '*') {\n        stream.next();\n        state.tokenize = startRubySplat(slimContent);\n        return null;\n      }\n      return slimContent(stream, state);\n    }\n    function slimAttributeAssign(stream, state) {\n      if (stream.match(/^==?/)) {\n        state.tokenize = slimAttributeValue;\n        return null;\n      }\n      // should never happen, because of forward lookup\n      return slimAttribute(stream, state);\n    }\n\n    function slimAttributeValue(stream, state) {\n      var ch = stream.peek();\n      if (ch == '\"' || ch == \"\\'\") {\n        state.tokenize = readQuoted(ch, \"string\", true, false, slimAttribute);\n        stream.next();\n        return state.tokenize(stream, state);\n      }\n      if (ch == '[') {\n        return startRubySplat(slimAttribute)(stream, state);\n      }\n      if (ch == ':') {\n        return startRubySplat(slimAttributeSymbols)(stream, state);\n      }\n      if (stream.match(/^(true|false|nil)\\b/)) {\n        state.tokenize = slimAttribute;\n        return \"keyword\";\n      }\n      return startRubySplat(slimAttribute)(stream, state);\n    }\n    function slimAttributeSymbols(stream, state) {\n      stream.backUp(1);\n      if (stream.match(/^[^\\s],(?=:)/)) {\n        state.tokenize = startRubySplat(slimAttributeSymbols);\n        return null;\n      }\n      stream.next();\n      return slimAttribute(stream, state);\n    }\n    function readQuoted(quote, style, embed, unescaped, nextTokenize) {\n      return function(stream, state) {\n        finishContinue(state);\n        var fresh = stream.current().length == 0;\n        if (stream.match(/^\\\\$/, fresh)) {\n          if (!fresh) return style;\n          continueLine(state, state.indented);\n          return \"lineContinuation\";\n        }\n        if (stream.match(/^#\\{/, fresh)) {\n          if (!fresh) return style;\n          state.tokenize = rubyInQuote(\"}\", state.tokenize);\n          return null;\n        }\n        var escaped = false, ch;\n        while ((ch = stream.next()) != null) {\n          if (ch == quote && (unescaped || !escaped)) {\n            state.tokenize = nextTokenize;\n            break;\n          }\n          if (embed && ch == \"#\" && !escaped) {\n            if (stream.eat(\"{\")) {\n              stream.backUp(2);\n              break;\n            }\n          }\n          escaped = !escaped && ch == \"\\\\\";\n        }\n        if (stream.eol() && escaped) {\n          stream.backUp(1);\n        }\n        return style;\n      };\n    }\n    function slimContent(stream, state) {\n      if (stream.match(/^==?/)) {\n        state.tokenize = ruby;\n        return \"slimSwitch\";\n      }\n      if (stream.match(/^\\/$/)) { // tag close hint\n        state.tokenize = slim;\n        return null;\n      }\n      if (stream.match(/^:/)) { // inline tag\n        state.tokenize = slimTag;\n        return \"slimSwitch\";\n      }\n      startHtmlMode(stream, state, 0);\n      return state.tokenize(stream, state);\n    }\n\n    var mode = {\n      // default to html mode\n      startState: function() {\n        var htmlState = htmlMode.startState();\n        var rubyState = rubyMode.startState();\n        return {\n          htmlState: htmlState,\n          rubyState: rubyState,\n          stack: null,\n          last: null,\n          tokenize: slim,\n          line: slim,\n          indented: 0\n        };\n      },\n\n      copyState: function(state) {\n        return {\n          htmlState : CodeMirror.copyState(htmlMode, state.htmlState),\n          rubyState: CodeMirror.copyState(rubyMode, state.rubyState),\n          subMode: state.subMode,\n          subState: state.subMode && CodeMirror.copyState(state.subMode, state.subState),\n          stack: state.stack,\n          last: state.last,\n          tokenize: state.tokenize,\n          line: state.line\n        };\n      },\n\n      token: function(stream, state) {\n        if (stream.sol()) {\n          state.indented = stream.indentation();\n          state.startOfLine = true;\n          state.tokenize = state.line;\n          while (state.stack && state.stack.indented > state.indented && state.last != \"slimSubmode\") {\n            state.line = state.tokenize = state.stack.tokenize;\n            state.stack = state.stack.parent;\n            state.subMode = null;\n            state.subState = null;\n          }\n        }\n        if (stream.eatSpace()) return null;\n        var style = state.tokenize(stream, state);\n        state.startOfLine = false;\n        if (style) state.last = style;\n        return styleMap.hasOwnProperty(style) ? styleMap[style] : style;\n      },\n\n      blankLine: function(state) {\n        if (state.subMode && state.subMode.blankLine) {\n          return state.subMode.blankLine(state.subState);\n        }\n      },\n\n      innerMode: function(state) {\n        if (state.subMode) return {state: state.subState, mode: state.subMode};\n        return {state: state, mode: mode};\n      }\n\n      //indent: function(state) {\n      //  return state.indented;\n      //}\n    };\n    return mode;\n  }, \"htmlmixed\", \"ruby\");\n\n  CodeMirror.defineMIME(\"text/x-slim\", \"slim\");\n  CodeMirror.defineMIME(\"application/x-slim\", \"slim\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/slim/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Slim Highlighting for CodeMirror copyright (c) HicknHack Software Gmbh\n\n(function() {\n  var mode = CodeMirror.getMode({tabSize: 4, indentUnit: 2}, \"slim\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  // Requires at least one media query\n  MT(\"elementName\",\n     \"[tag h1] Hey There\");\n\n  MT(\"oneElementPerLine\",\n     \"[tag h1] Hey There .h2\");\n\n  MT(\"idShortcut\",\n     \"[attribute&def #test] Hey There\");\n\n  MT(\"tagWithIdShortcuts\",\n     \"[tag h1][attribute&def #test] Hey There\");\n\n  MT(\"classShortcut\",\n     \"[attribute&qualifier .hello] Hey There\");\n\n  MT(\"tagWithIdAndClassShortcuts\",\n     \"[tag h1][attribute&def #test][attribute&qualifier .hello] Hey There\");\n\n  MT(\"docType\",\n     \"[keyword doctype] xml\");\n\n  MT(\"comment\",\n     \"[comment / Hello WORLD]\");\n\n  MT(\"notComment\",\n     \"[tag h1] This is not a / comment \");\n\n  MT(\"attributes\",\n     \"[tag a]([attribute title]=[string \\\"test\\\"]) [attribute href]=[string \\\"link\\\"]}\");\n\n  MT(\"multiLineAttributes\",\n     \"[tag a]([attribute title]=[string \\\"test\\\"]\",\n     \"  ) [attribute href]=[string \\\"link\\\"]}\");\n\n  MT(\"htmlCode\",\n     \"[tag&bracket <][tag h1][tag&bracket >]Title[tag&bracket </][tag h1][tag&bracket >]\");\n\n  MT(\"rubyBlock\",\n     \"[operator&special =][variable-2 @item]\");\n\n  MT(\"selectorRubyBlock\",\n     \"[tag a][attribute&qualifier .test][operator&special =] [variable-2 @item]\");\n\n  MT(\"nestedRubyBlock\",\n      \"[tag a]\",\n      \"  [operator&special =][variable puts] [string \\\"test\\\"]\");\n\n  MT(\"multilinePlaintext\",\n      \"[tag p]\",\n      \"  | Hello,\",\n      \"    World\");\n\n  MT(\"multilineRuby\",\n      \"[tag p]\",\n      \"  [comment /# this is a comment]\",\n      \"     [comment and this is a comment too]\",\n      \"  | Date/Time\",\n      \"  [operator&special -] [variable now] [operator =] [tag DateTime][operator .][property now]\",\n      \"  [tag strong][operator&special =] [variable now]\",\n      \"  [operator&special -] [keyword if] [variable now] [operator >] [tag DateTime][operator .][property parse]([string \\\"December 31, 2006\\\"])\",\n      \"     [operator&special =][string \\\"Happy\\\"]\",\n      \"     [operator&special =][string \\\"Belated\\\"]\",\n      \"     [operator&special =][string \\\"Birthday\\\"]\");\n\n  MT(\"multilineComment\",\n      \"[comment /]\",\n      \"  [comment Multiline]\",\n      \"  [comment Comment]\");\n\n  MT(\"hamlAfterRubyTag\",\n    \"[attribute&qualifier .block]\",\n    \"  [tag strong][operator&special =] [variable now]\",\n    \"  [attribute&qualifier .test]\",\n    \"     [operator&special =][variable now]\",\n    \"  [attribute&qualifier .right]\");\n\n  MT(\"stretchedRuby\",\n     \"[operator&special =] [variable puts] [string \\\"Hello\\\"],\",\n     \"   [string \\\"World\\\"]\");\n\n  MT(\"interpolationInHashAttribute\",\n     \"[tag div]{[attribute id] = [string \\\"]#{[variable test]}[string _]#{[variable ting]}[string \\\"]} test\");\n\n  MT(\"interpolationInHTMLAttribute\",\n     \"[tag div]([attribute title]=[string \\\"]#{[variable test]}[string _]#{[variable ting]()}[string \\\"]) Test\");\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/smalltalk/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Smalltalk mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"smalltalk.js\"></script>\n<style>\n      .CodeMirror {border: 2px solid #dee; border-right-width: 10px;}\n      .CodeMirror-gutter {border: none; background: #dee;}\n      .CodeMirror-gutter pre {color: white; font-weight: bold;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Smalltalk</a>\n  </ul>\n</div>\n\n<article>\n<h2>Smalltalk mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n\" \n    This is a test of the Smalltalk code\n\"\nSeaside.WAComponent subclass: #MyCounter [\n    | count |\n    MyCounter class &gt;&gt; canBeRoot [ ^true ]\n\n    initialize [\n        super initialize.\n        count := 0.\n    ]\n    states [ ^{ self } ]\n    renderContentOn: html [\n        html heading: count.\n        html anchor callback: [ count := count + 1 ]; with: '++'.\n        html space.\n        html anchor callback: [ count := count - 1 ]; with: '--'.\n    ]\n]\n\nMyCounter registerAsApplication: 'mycounter'\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-stsrc\",\n        indentUnit: 4\n      });\n    </script>\n\n    <p>Simple Smalltalk mode.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-stsrc</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/smalltalk/smalltalk.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode('smalltalk', function(config) {\n\n  var specialChars = /[+\\-\\/\\\\*~<>=@%|&?!.,:;^]/;\n  var keywords = /true|false|nil|self|super|thisContext/;\n\n  var Context = function(tokenizer, parent) {\n    this.next = tokenizer;\n    this.parent = parent;\n  };\n\n  var Token = function(name, context, eos) {\n    this.name = name;\n    this.context = context;\n    this.eos = eos;\n  };\n\n  var State = function() {\n    this.context = new Context(next, null);\n    this.expectVariable = true;\n    this.indentation = 0;\n    this.userIndentationDelta = 0;\n  };\n\n  State.prototype.userIndent = function(indentation) {\n    this.userIndentationDelta = indentation > 0 ? (indentation / config.indentUnit - this.indentation) : 0;\n  };\n\n  var next = function(stream, context, state) {\n    var token = new Token(null, context, false);\n    var aChar = stream.next();\n\n    if (aChar === '\"') {\n      token = nextComment(stream, new Context(nextComment, context));\n\n    } else if (aChar === '\\'') {\n      token = nextString(stream, new Context(nextString, context));\n\n    } else if (aChar === '#') {\n      if (stream.peek() === '\\'') {\n        stream.next();\n        token = nextSymbol(stream, new Context(nextSymbol, context));\n      } else {\n        if (stream.eatWhile(/[^\\s.{}\\[\\]()]/))\n          token.name = 'string-2';\n        else\n          token.name = 'meta';\n      }\n\n    } else if (aChar === '$') {\n      if (stream.next() === '<') {\n        stream.eatWhile(/[^\\s>]/);\n        stream.next();\n      }\n      token.name = 'string-2';\n\n    } else if (aChar === '|' && state.expectVariable) {\n      token.context = new Context(nextTemporaries, context);\n\n    } else if (/[\\[\\]{}()]/.test(aChar)) {\n      token.name = 'bracket';\n      token.eos = /[\\[{(]/.test(aChar);\n\n      if (aChar === '[') {\n        state.indentation++;\n      } else if (aChar === ']') {\n        state.indentation = Math.max(0, state.indentation - 1);\n      }\n\n    } else if (specialChars.test(aChar)) {\n      stream.eatWhile(specialChars);\n      token.name = 'operator';\n      token.eos = aChar !== ';'; // ; cascaded message expression\n\n    } else if (/\\d/.test(aChar)) {\n      stream.eatWhile(/[\\w\\d]/);\n      token.name = 'number';\n\n    } else if (/[\\w_]/.test(aChar)) {\n      stream.eatWhile(/[\\w\\d_]/);\n      token.name = state.expectVariable ? (keywords.test(stream.current()) ? 'keyword' : 'variable') : null;\n\n    } else {\n      token.eos = state.expectVariable;\n    }\n\n    return token;\n  };\n\n  var nextComment = function(stream, context) {\n    stream.eatWhile(/[^\"]/);\n    return new Token('comment', stream.eat('\"') ? context.parent : context, true);\n  };\n\n  var nextString = function(stream, context) {\n    stream.eatWhile(/[^']/);\n    return new Token('string', stream.eat('\\'') ? context.parent : context, false);\n  };\n\n  var nextSymbol = function(stream, context) {\n    stream.eatWhile(/[^']/);\n    return new Token('string-2', stream.eat('\\'') ? context.parent : context, false);\n  };\n\n  var nextTemporaries = function(stream, context) {\n    var token = new Token(null, context, false);\n    var aChar = stream.next();\n\n    if (aChar === '|') {\n      token.context = context.parent;\n      token.eos = true;\n\n    } else {\n      stream.eatWhile(/[^|]/);\n      token.name = 'variable';\n    }\n\n    return token;\n  };\n\n  return {\n    startState: function() {\n      return new State;\n    },\n\n    token: function(stream, state) {\n      state.userIndent(stream.indentation());\n\n      if (stream.eatSpace()) {\n        return null;\n      }\n\n      var token = state.context.next(stream, state.context, state);\n      state.context = token.context;\n      state.expectVariable = token.eos;\n\n      return token.name;\n    },\n\n    blankLine: function(state) {\n      state.userIndent(0);\n    },\n\n    indent: function(state, textAfter) {\n      var i = state.context.next === next && textAfter && textAfter.charAt(0) === ']' ? -1 : state.userIndentationDelta;\n      return (state.indentation + i) * config.indentUnit;\n    },\n\n    electricChars: ']'\n  };\n\n});\n\nCodeMirror.defineMIME('text/x-stsrc', {name: 'smalltalk'});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/smarty/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Smarty mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"smarty.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Smarty</a>\n  </ul>\n</div>\n\n<article>\n<h2>Smarty mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n{extends file=\"parent.tpl\"}\n{include file=\"template.tpl\"}\n\n{* some example Smarty content *}\n{if isset($name) && $name == 'Blog'}\n  This is a {$var}.\n  {$integer = 451}, {$array[] = \"a\"}, {$stringvar = \"string\"}\n  {assign var='bob' value=$var.prop}\n{elseif $name == $foo}\n  {function name=menu level=0}\n    {foreach $data as $entry}\n      {if is_array($entry)}\n        - {$entry@key}\n        {menu data=$entry level=$level+1}\n      {else}\n        {$entry}\n      {/if}\n    {/foreach}\n  {/function}\n{/if}</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"smarty\"\n      });\n    </script>\n\n    <br />\n\n\t<h3>Smarty 2, custom delimiters</h3>\n    <form><textarea id=\"code2\" name=\"code2\">\n{--extends file=\"parent.tpl\"--}\n{--include file=\"template.tpl\"--}\n\n{--* some example Smarty content *--}\n{--if isset($name) && $name == 'Blog'--}\n  This is a {--$var--}.\n  {--$integer = 451--}, {--$array[] = \"a\"--}, {--$stringvar = \"string\"--}\n  {--assign var='bob' value=$var.prop--}\n{--elseif $name == $foo--}\n  {--function name=menu level=0--}\n    {--foreach $data as $entry--}\n      {--if is_array($entry)--}\n        - {--$entry@key--}\n        {--menu data=$entry level=$level+1--}\n      {--else--}\n        {--$entry--}\n      {--/if--}\n    {--/foreach--}\n  {--/function--}\n{--/if--}</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code2\"), {\n        lineNumbers: true,\n        mode: {\n          name: \"smarty\",\n          leftDelimiter: \"{--\",\n          rightDelimiter: \"--}\"\n        }\n      });\n    </script>\n\n\t<br />\n\n\t<h3>Smarty 3</h3>\n\n\t<textarea id=\"code3\" name=\"code3\">\nNested tags {$foo={counter one=1 two={inception}}+3} are now valid in Smarty 3.\n\n<script>\nfunction test() {\n\tconsole.log(\"Smarty 3 permits single curly braces followed by whitespace to NOT slip into Smarty mode.\");\n}\n</script>\n\n{assign var=foo value=[1,2,3]}\n{assign var=foo value=['y'=>'yellow','b'=>'blue']}\n{assign var=foo value=[1,[9,8],3]}\n\n{$foo=$bar+2} {* a comment *}\n{$foo.bar=1}  {* another comment *}\n{$foo = myfunct(($x+$y)*3)}\n{$foo = strlen($bar)}\n{$foo.bar.baz=1}, {$foo[]=1}\n\nSmarty \"dot\" syntax (note: embedded {} are used to address ambiguities):\n\n{$foo.a.b.c}      => $foo['a']['b']['c']\n{$foo.a.$b.c}     => $foo['a'][$b]['c']\n{$foo.a.{$b+4}.c} => $foo['a'][$b+4]['c']\n{$foo.a.{$b.c}}   => $foo['a'][$b['c']]\n\n{$object->method1($x)->method2($y)}</textarea>\n\n\t<script>\n\t\tvar editor = CodeMirror.fromTextArea(document.getElementById(\"code3\"), {\n\t\t\tlineNumbers: true,\n\t\t\tmode: \"smarty\",\n\t\t\tsmartyVersion: 3\n\t\t});\n\t</script>\n\n\n    <p>A plain text/Smarty version 2 or 3 mode, which allows for custom delimiter tags.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-smarty</code></p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/smarty/smarty.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/**\n * Smarty 2 and 3 mode.\n */\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"smarty\", function(config) {\n  \"use strict\";\n\n  // our default settings; check to see if they're overridden\n  var settings = {\n    rightDelimiter: '}',\n    leftDelimiter: '{',\n    smartyVersion: 2 // for backward compatibility\n  };\n  if (config.hasOwnProperty(\"leftDelimiter\")) {\n    settings.leftDelimiter = config.leftDelimiter;\n  }\n  if (config.hasOwnProperty(\"rightDelimiter\")) {\n    settings.rightDelimiter = config.rightDelimiter;\n  }\n  if (config.hasOwnProperty(\"smartyVersion\") && config.smartyVersion === 3) {\n    settings.smartyVersion = 3;\n  }\n\n  var keyFunctions = [\"debug\", \"extends\", \"function\", \"include\", \"literal\"];\n  var last;\n  var regs = {\n    operatorChars: /[+\\-*&%=<>!?]/,\n    validIdentifier: /[a-zA-Z0-9_]/,\n    stringChar: /['\"]/\n  };\n\n  var helpers = {\n    cont: function(style, lastType) {\n      last = lastType;\n      return style;\n    },\n    chain: function(stream, state, parser) {\n      state.tokenize = parser;\n      return parser(stream, state);\n    }\n  };\n\n\n  // our various parsers\n  var parsers = {\n\n    // the main tokenizer\n    tokenizer: function(stream, state) {\n      if (stream.match(settings.leftDelimiter, true)) {\n        if (stream.eat(\"*\")) {\n          return helpers.chain(stream, state, parsers.inBlock(\"comment\", \"*\" + settings.rightDelimiter));\n        } else {\n          // Smarty 3 allows { and } surrounded by whitespace to NOT slip into Smarty mode\n          state.depth++;\n          var isEol = stream.eol();\n          var isFollowedByWhitespace = /\\s/.test(stream.peek());\n          if (settings.smartyVersion === 3 && settings.leftDelimiter === \"{\" && (isEol || isFollowedByWhitespace)) {\n            state.depth--;\n            return null;\n          } else {\n            state.tokenize = parsers.smarty;\n            last = \"startTag\";\n            return \"tag\";\n          }\n        }\n      } else {\n        stream.next();\n        return null;\n      }\n    },\n\n    // parsing Smarty content\n    smarty: function(stream, state) {\n      if (stream.match(settings.rightDelimiter, true)) {\n        if (settings.smartyVersion === 3) {\n          state.depth--;\n          if (state.depth <= 0) {\n            state.tokenize = parsers.tokenizer;\n          }\n        } else {\n          state.tokenize = parsers.tokenizer;\n        }\n        return helpers.cont(\"tag\", null);\n      }\n\n      if (stream.match(settings.leftDelimiter, true)) {\n        state.depth++;\n        return helpers.cont(\"tag\", \"startTag\");\n      }\n\n      var ch = stream.next();\n      if (ch == \"$\") {\n        stream.eatWhile(regs.validIdentifier);\n        return helpers.cont(\"variable-2\", \"variable\");\n      } else if (ch == \"|\") {\n        return helpers.cont(\"operator\", \"pipe\");\n      } else if (ch == \".\") {\n        return helpers.cont(\"operator\", \"property\");\n      } else if (regs.stringChar.test(ch)) {\n        state.tokenize = parsers.inAttribute(ch);\n        return helpers.cont(\"string\", \"string\");\n      } else if (regs.operatorChars.test(ch)) {\n        stream.eatWhile(regs.operatorChars);\n        return helpers.cont(\"operator\", \"operator\");\n      } else if (ch == \"[\" || ch == \"]\") {\n        return helpers.cont(\"bracket\", \"bracket\");\n      } else if (ch == \"(\" || ch == \")\") {\n        return helpers.cont(\"bracket\", \"operator\");\n      } else if (/\\d/.test(ch)) {\n        stream.eatWhile(/\\d/);\n        return helpers.cont(\"number\", \"number\");\n      } else {\n\n        if (state.last == \"variable\") {\n          if (ch == \"@\") {\n            stream.eatWhile(regs.validIdentifier);\n            return helpers.cont(\"property\", \"property\");\n          } else if (ch == \"|\") {\n            stream.eatWhile(regs.validIdentifier);\n            return helpers.cont(\"qualifier\", \"modifier\");\n          }\n        } else if (state.last == \"pipe\") {\n          stream.eatWhile(regs.validIdentifier);\n          return helpers.cont(\"qualifier\", \"modifier\");\n        } else if (state.last == \"whitespace\") {\n          stream.eatWhile(regs.validIdentifier);\n          return helpers.cont(\"attribute\", \"modifier\");\n        } if (state.last == \"property\") {\n          stream.eatWhile(regs.validIdentifier);\n          return helpers.cont(\"property\", null);\n        } else if (/\\s/.test(ch)) {\n          last = \"whitespace\";\n          return null;\n        }\n\n        var str = \"\";\n        if (ch != \"/\") {\n          str += ch;\n        }\n        var c = null;\n        while (c = stream.eat(regs.validIdentifier)) {\n          str += c;\n        }\n        for (var i=0, j=keyFunctions.length; i<j; i++) {\n          if (keyFunctions[i] == str) {\n            return helpers.cont(\"keyword\", \"keyword\");\n          }\n        }\n        if (/\\s/.test(ch)) {\n          return null;\n        }\n        return helpers.cont(\"tag\", \"tag\");\n      }\n    },\n\n    inAttribute: function(quote) {\n      return function(stream, state) {\n        var prevChar = null;\n        var currChar = null;\n        while (!stream.eol()) {\n          currChar = stream.peek();\n          if (stream.next() == quote && prevChar !== '\\\\') {\n            state.tokenize = parsers.smarty;\n            break;\n          }\n          prevChar = currChar;\n        }\n        return \"string\";\n      };\n    },\n\n    inBlock: function(style, terminator) {\n      return function(stream, state) {\n        while (!stream.eol()) {\n          if (stream.match(terminator)) {\n            state.tokenize = parsers.tokenizer;\n            break;\n          }\n          stream.next();\n        }\n        return style;\n      };\n    }\n  };\n\n\n  // the public API for CodeMirror\n  return {\n    startState: function() {\n      return {\n        tokenize: parsers.tokenizer,\n        mode: \"smarty\",\n        last: null,\n        depth: 0\n      };\n    },\n    token: function(stream, state) {\n      var style = state.tokenize(stream, state);\n      state.last = last;\n      return style;\n    },\n    electricChars: \"\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-smarty\", \"smarty\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/smartymixed/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Smarty mixed mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../mode/xml/xml.js\"></script>\n<script src=\"../../mode/javascript/javascript.js\"></script>\n<script src=\"../../mode/css/css.js\"></script>\n<script src=\"../../mode/htmlmixed/htmlmixed.js\"></script>\n<script src=\"../../mode/smarty/smarty.js\"></script>\n<script src=\"../../mode/smartymixed/smartymixed.js\"></script>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Smarty mixed</a>\n  </ul>\n</div>\n\n<article>\n<h2>Smarty mixed mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n{**\n* @brief Smarty mixed mode\n* @author Ruslan Osmanov\n* @date 29.06.2013\n*}\n<html>\n<head>\n  <title>{$title|htmlspecialchars|truncate:30}</title>\n</head>\n<body class=\"{$bodyclass}\">\n  {* Multiline smarty\n  * comment, no {$variables} here\n  *}\n  {literal}\n  {literal} is just an HTML text.\n  <script type=\"text/javascript\">//<![CDATA[\n    var a = {$just_a_normal_js_object : \"value\"};\n    var myCodeMirror = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n      mode           : \"smartymixed\",\n      tabSize        : 2,\n      indentUnit     : 2,\n      indentWithTabs : false,\n      lineNumbers    : true,\n      smartyVersion  : 3\n    });\n    // ]]>\n  </script>\n  <style>\n    /* CSS content \n    {$no_smarty} */\n    .some-class { font-weight: bolder; color: \"orange\"; }\n  </style>\n  {/literal}\n\n  {extends file=\"parent.tpl\"}\n  {include file=\"template.tpl\"}\n\n  {* some example Smarty content *}\n  {if isset($name) && $name == 'Blog'}\n    This is a {$var}.\n    {$integer = 4511}, {$array[] = \"a\"}, {$stringvar = \"string\"}\n    {$integer = 4512} {$array[] = \"a\"} {$stringvar = \"string\"}\n    {assign var='bob' value=$var.prop}\n  {elseif $name == $foo}\n    {function name=menu level=0}\n    {foreach $data as $entry}\n      {if is_array($entry)}\n      - {$entry@key}\n      {menu data=$entry level=$level+1}\n      {else}\n      {$entry}\n      {* One\n      * Two\n      * Three\n      *}\n      {/if}\n    {/foreach}\n    {/function}\n  {/if}\n  </body>\n  <!-- R.O. -->\n</html>\n</textarea></form>\n\n    <script type=\"text/javascript\">\n      var myCodeMirror = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode           : \"smartymixed\",\n        tabSize        : 2,\n        indentUnit     : 2,\n        indentWithTabs : false,\n        lineNumbers    : true,\n        smartyVersion  : 3,\n        matchBrackets  : true,\n      });\n    </script>\n\n    <p>The Smarty mixed mode depends on the Smarty and HTML mixed modes. HTML\n    mixed mode itself depends on XML, JavaScript, and CSS modes.</p>\n\n    <p>It takes the same options, as Smarty and HTML mixed modes.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-smarty</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/smartymixed/smartymixed.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/**\n* @file smartymixed.js\n* @brief Smarty Mixed Codemirror mode (Smarty + Mixed HTML)\n* @author Ruslan Osmanov <rrosmanov at gmail dot com>\n* @version 3.0\n* @date 05.07.2013\n*/\n\n// Warning: Don't base other modes on this one. This here is a\n// terrible way to write a mixed mode.\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../htmlmixed/htmlmixed\"), require(\"../smarty/smarty\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../htmlmixed/htmlmixed\", \"../smarty/smarty\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"smartymixed\", function(config) {\n  var htmlMixedMode = CodeMirror.getMode(config, \"htmlmixed\");\n  var smartyMode = CodeMirror.getMode(config, \"smarty\");\n\n  var settings = {\n    rightDelimiter: '}',\n    leftDelimiter: '{'\n  };\n\n  if (config.hasOwnProperty(\"leftDelimiter\")) {\n    settings.leftDelimiter = config.leftDelimiter;\n  }\n  if (config.hasOwnProperty(\"rightDelimiter\")) {\n    settings.rightDelimiter = config.rightDelimiter;\n  }\n\n  function reEsc(str) { return str.replace(/[^\\s\\w]/g, \"\\\\$&\"); }\n\n  var reLeft = reEsc(settings.leftDelimiter), reRight = reEsc(settings.rightDelimiter);\n  var regs = {\n    smartyComment: new RegExp(\"^\" + reRight + \"\\\\*\"),\n    literalOpen: new RegExp(reLeft + \"literal\" + reRight),\n    literalClose: new RegExp(reLeft + \"\\/literal\" + reRight),\n    hasLeftDelimeter: new RegExp(\".*\" + reLeft),\n    htmlHasLeftDelimeter: new RegExp(\"[^<>]*\" + reLeft)\n  };\n\n  var helpers = {\n    chain: function(stream, state, parser) {\n      state.tokenize = parser;\n      return parser(stream, state);\n    },\n\n    cleanChain: function(stream, state, parser) {\n      state.tokenize = null;\n      state.localState = null;\n      state.localMode = null;\n      return (typeof parser == \"string\") ? (parser ? parser : null) : parser(stream, state);\n    },\n\n    maybeBackup: function(stream, pat, style) {\n      var cur = stream.current();\n      var close = cur.search(pat),\n      m;\n      if (close > - 1) stream.backUp(cur.length - close);\n      else if (m = cur.match(/<\\/?$/)) {\n        stream.backUp(cur.length);\n        if (!stream.match(pat, false)) stream.match(cur[0]);\n      }\n      return style;\n    }\n  };\n\n  var parsers = {\n    html: function(stream, state) {\n      var htmlTagName = state.htmlMixedState.htmlState.context && state.htmlMixedState.htmlState.context.tagName\n        ? state.htmlMixedState.htmlState.context.tagName\n        : null;\n\n      if (!state.inLiteral && stream.match(regs.htmlHasLeftDelimeter, false) && htmlTagName === null) {\n        state.tokenize = parsers.smarty;\n        state.localMode = smartyMode;\n        state.localState = smartyMode.startState(htmlMixedMode.indent(state.htmlMixedState, \"\"));\n        return helpers.maybeBackup(stream, settings.leftDelimiter, smartyMode.token(stream, state.localState));\n      } else if (!state.inLiteral && stream.match(settings.leftDelimiter, false)) {\n        state.tokenize = parsers.smarty;\n        state.localMode = smartyMode;\n        state.localState = smartyMode.startState(htmlMixedMode.indent(state.htmlMixedState, \"\"));\n        return helpers.maybeBackup(stream, settings.leftDelimiter, smartyMode.token(stream, state.localState));\n      }\n      return htmlMixedMode.token(stream, state.htmlMixedState);\n    },\n\n    smarty: function(stream, state) {\n      if (stream.match(settings.leftDelimiter, false)) {\n        if (stream.match(regs.smartyComment, false)) {\n          return helpers.chain(stream, state, parsers.inBlock(\"comment\", \"*\" + settings.rightDelimiter));\n        }\n      } else if (stream.match(settings.rightDelimiter, false)) {\n        stream.eat(settings.rightDelimiter);\n        state.tokenize = parsers.html;\n        state.localMode = htmlMixedMode;\n        state.localState = state.htmlMixedState;\n        return \"tag\";\n      }\n\n      return helpers.maybeBackup(stream, settings.rightDelimiter, smartyMode.token(stream, state.localState));\n    },\n\n    inBlock: function(style, terminator) {\n      return function(stream, state) {\n        while (!stream.eol()) {\n          if (stream.match(terminator)) {\n            helpers.cleanChain(stream, state, \"\");\n            break;\n          }\n          stream.next();\n        }\n        return style;\n      };\n    }\n  };\n\n  return {\n    startState: function() {\n      var state = htmlMixedMode.startState();\n      return {\n        token: parsers.html,\n        localMode: null,\n        localState: null,\n        htmlMixedState: state,\n        tokenize: null,\n        inLiteral: false\n      };\n    },\n\n    copyState: function(state) {\n      var local = null, tok = (state.tokenize || state.token);\n      if (state.localState) {\n        local = CodeMirror.copyState((tok != parsers.html ? smartyMode : htmlMixedMode), state.localState);\n      }\n      return {\n        token: state.token,\n        tokenize: state.tokenize,\n        localMode: state.localMode,\n        localState: local,\n        htmlMixedState: CodeMirror.copyState(htmlMixedMode, state.htmlMixedState),\n        inLiteral: state.inLiteral\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.match(settings.leftDelimiter, false)) {\n        if (!state.inLiteral && stream.match(regs.literalOpen, true)) {\n          state.inLiteral = true;\n          return \"keyword\";\n        } else if (state.inLiteral && stream.match(regs.literalClose, true)) {\n          state.inLiteral = false;\n          return \"keyword\";\n        }\n      }\n      if (state.inLiteral && state.localState != state.htmlMixedState) {\n        state.tokenize = parsers.html;\n        state.localMode = htmlMixedMode;\n        state.localState = state.htmlMixedState;\n      }\n\n      var style = (state.tokenize || state.token)(stream, state);\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.localMode == smartyMode\n          || (state.inLiteral && !state.localMode)\n         || regs.hasLeftDelimeter.test(textAfter)) {\n        return CodeMirror.Pass;\n      }\n      return htmlMixedMode.indent(state.htmlMixedState, textAfter);\n    },\n\n    innerMode: function(state) {\n      return {\n        state: state.localState || state.htmlMixedState,\n        mode: state.localMode || htmlMixedMode\n      };\n    }\n  };\n}, \"htmlmixed\", \"smarty\");\n\nCodeMirror.defineMIME(\"text/x-smarty\", \"smartymixed\");\n// vim: et ts=2 sts=2 sw=2\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/solr/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Solr mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"solr.js\"></script>\n<style type=\"text/css\">\n  .CodeMirror {\n    border-top: 1px solid black;\n    border-bottom: 1px solid black;\n  }\n\n  .CodeMirror .cm-operator {\n    color: orange;\n  }\n</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Solr</a>\n  </ul>\n</div>\n\n<article>\n  <h2>Solr mode</h2>\n\n  <div>\n    <textarea id=\"code\" name=\"code\">author:Camus\n\ntitle:\"The Rebel\" and author:Camus\n\nphilosophy:Existentialism -author:Kierkegaard\n\nhardToSpell:Dostoevsky~\n\npublished:[194* TO 1960] and author:(Sartre or \"Simone de Beauvoir\")</textarea>\n  </div>\n\n  <script>\n    var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n      mode: 'solr',\n      lineNumbers: true\n    });\n  </script>\n\n  <p><strong>MIME types defined:</strong> <code>text/x-solr</code>.</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/solr/solr.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"solr\", function() {\n  \"use strict\";\n\n  var isStringChar = /[^\\s\\|\\!\\+\\-\\*\\?\\~\\^\\&\\:\\(\\)\\[\\]\\{\\}\\^\\\"\\\\]/;\n  var isOperatorChar = /[\\|\\!\\+\\-\\*\\?\\~\\^\\&]/;\n  var isOperatorString = /^(OR|AND|NOT|TO)$/i;\n\n  function isNumber(word) {\n    return parseFloat(word, 10).toString() === word;\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) break;\n        escaped = !escaped && next == \"\\\\\";\n      }\n\n      if (!escaped) state.tokenize = tokenBase;\n      return \"string\";\n    };\n  }\n\n  function tokenOperator(operator) {\n    return function(stream, state) {\n      var style = \"operator\";\n      if (operator == \"+\")\n        style += \" positive\";\n      else if (operator == \"-\")\n        style += \" negative\";\n      else if (operator == \"|\")\n        stream.eat(/\\|/);\n      else if (operator == \"&\")\n        stream.eat(/\\&/);\n      else if (operator == \"^\")\n        style += \" boost\";\n\n      state.tokenize = tokenBase;\n      return style;\n    };\n  }\n\n  function tokenWord(ch) {\n    return function(stream, state) {\n      var word = ch;\n      while ((ch = stream.peek()) && ch.match(isStringChar) != null) {\n        word += stream.next();\n      }\n\n      state.tokenize = tokenBase;\n      if (isOperatorString.test(word))\n        return \"operator\";\n      else if (isNumber(word))\n        return \"number\";\n      else if (stream.peek() == \":\")\n        return \"field\";\n      else\n        return \"string\";\n    };\n  }\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"')\n      state.tokenize = tokenString(ch);\n    else if (isOperatorChar.test(ch))\n      state.tokenize = tokenOperator(ch);\n    else if (isStringChar.test(ch))\n      state.tokenize = tokenWord(ch);\n\n    return (state.tokenize != tokenBase) ? state.tokenize(stream, state) : null;\n  }\n\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      return state.tokenize(stream, state);\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-solr\", \"solr\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/soy/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Soy (Closure Template) mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../css/css.js\"></script>\n<script src=\"soy.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Soy (Closure Template)</a>\n  </ul>\n</div>\n\n<article>\n<h2>Soy (Closure Template) mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n{namespace example}\n\n/**\n * Says hello to the world.\n */\n{template .helloWorld}\n  {@param name: string}\n  {@param? score: number}\n  Hello <b>{$name}</b>!\n  <div>\n    {if $score}\n      <em>{$score} points</em>\n    {else}\n      no score\n    {/if}\n  </div>\n{/template}\n\n{template .alertHelloWorld kind=\"js\"}\n  alert('Hello World');\n{/template}\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-soy\",\n        indentUnit: 2,\n        indentWithTabs: false\n      });\n    </script>\n\n    <p>A mode for <a href=\"https://developers.google.com/closure/templates/\">Closure Templates</a> (Soy).</p>\n    <p><strong>MIME type defined:</strong> <code>text/x-soy</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/soy/soy.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../htmlmixed/htmlmixed\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../htmlmixed/htmlmixed\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var indentingTags = [\"template\", \"literal\", \"msg\", \"fallbackmsg\", \"let\", \"if\", \"elseif\",\n                       \"else\", \"switch\", \"case\", \"default\", \"foreach\", \"ifempty\", \"for\",\n                       \"call\", \"param\", \"deltemplate\", \"delcall\", \"log\"];\n\n  CodeMirror.defineMode(\"soy\", function(config) {\n    var textMode = CodeMirror.getMode(config, \"text/plain\");\n    var modes = {\n      html: CodeMirror.getMode(config, {name: \"text/html\", multilineTagIndentFactor: 2, multilineTagIndentPastTag: false}),\n      attributes: textMode,\n      text: textMode,\n      uri: textMode,\n      css: CodeMirror.getMode(config, \"text/css\"),\n      js: CodeMirror.getMode(config, {name: \"text/javascript\", statementIndent: 2 * config.indentUnit})\n    };\n\n    function last(array) {\n      return array[array.length - 1];\n    }\n\n    function tokenUntil(stream, state, untilRegExp) {\n      var oldString = stream.string;\n      var match = untilRegExp.exec(oldString.substr(stream.pos));\n      if (match) {\n        // We don't use backUp because it backs up just the position, not the state.\n        // This uses an undocumented API.\n        stream.string = oldString.substr(0, stream.pos + match.index);\n      }\n      var result = stream.hideFirstChars(state.indent, function() {\n        return state.localMode.token(stream, state.localState);\n      });\n      stream.string = oldString;\n      return result;\n    }\n\n    return {\n      startState: function() {\n        return {\n          kind: [],\n          kindTag: [],\n          soyState: [],\n          indent: 0,\n          localMode: modes.html,\n          localState: CodeMirror.startState(modes.html)\n        };\n      },\n\n      copyState: function(state) {\n        return {\n          tag: state.tag, // Last seen Soy tag.\n          kind: state.kind.concat([]), // Values of kind=\"\" attributes.\n          kindTag: state.kindTag.concat([]), // Opened tags with kind=\"\" attributes.\n          soyState: state.soyState.concat([]),\n          indent: state.indent, // Indentation of the following line.\n          localMode: state.localMode,\n          localState: CodeMirror.copyState(state.localMode, state.localState)\n        };\n      },\n\n      token: function(stream, state) {\n        var match;\n\n        switch (last(state.soyState)) {\n          case \"comment\":\n            if (stream.match(/^.*?\\*\\//)) {\n              state.soyState.pop();\n            } else {\n              stream.skipToEnd();\n            }\n            return \"comment\";\n\n          case \"variable\":\n            if (stream.match(/^}/)) {\n              state.indent -= 2 * config.indentUnit;\n              state.soyState.pop();\n              return \"variable-2\";\n            }\n            stream.next();\n            return null;\n\n          case \"tag\":\n            if (stream.match(/^\\/?}/)) {\n              if (state.tag == \"/template\" || state.tag == \"/deltemplate\") state.indent = 0;\n              else state.indent -= (stream.current() == \"/}\" || indentingTags.indexOf(state.tag) == -1 ? 2 : 1) * config.indentUnit;\n              state.soyState.pop();\n              return \"keyword\";\n            } else if (stream.match(/^(\\w+)(?==)/)) {\n              if (stream.current() == \"kind\" && (match = stream.match(/^=\"([^\"]+)/, false))) {\n                var kind = match[1];\n                state.kind.push(kind);\n                state.kindTag.push(state.tag);\n                state.localMode = modes[kind] || modes.html;\n                state.localState = CodeMirror.startState(state.localMode);\n              }\n              return \"attribute\";\n            } else if (stream.match(/^\"/)) {\n              state.soyState.push(\"string\");\n              return \"string\";\n            }\n            stream.next();\n            return null;\n\n          case \"literal\":\n            if (stream.match(/^(?=\\{\\/literal})/)) {\n              state.indent -= config.indentUnit;\n              state.soyState.pop();\n              return this.token(stream, state);\n            }\n            return tokenUntil(stream, state, /\\{\\/literal}/);\n\n          case \"string\":\n            if (stream.match(/^.*?\"/)) {\n              state.soyState.pop();\n            } else {\n              stream.skipToEnd();\n            }\n            return \"string\";\n        }\n\n        if (stream.match(/^\\/\\*/)) {\n          state.soyState.push(\"comment\");\n          return \"comment\";\n        } else if (stream.match(stream.sol() ? /^\\s*\\/\\/.*/ : /^\\s+\\/\\/.*/)) {\n          return \"comment\";\n        } else if (stream.match(/^\\{\\$\\w*/)) {\n          state.indent += 2 * config.indentUnit;\n          state.soyState.push(\"variable\");\n          return \"variable-2\";\n        } else if (stream.match(/^\\{literal}/)) {\n          state.indent += config.indentUnit;\n          state.soyState.push(\"literal\");\n          return \"keyword\";\n        } else if (match = stream.match(/^\\{([\\/@\\\\]?\\w*)/)) {\n          if (match[1] != \"/switch\")\n            state.indent += (/^(\\/|(else|elseif|case|default)$)/.test(match[1]) && state.tag != \"switch\" ? 1 : 2) * config.indentUnit;\n          state.tag = match[1];\n          if (state.tag == \"/\" + last(state.kindTag)) {\n            // We found the tag that opened the current kind=\"\".\n            state.kind.pop();\n            state.kindTag.pop();\n            state.localMode = modes[last(state.kind)] || modes.html;\n            state.localState = CodeMirror.startState(state.localMode);\n          }\n          state.soyState.push(\"tag\");\n          return \"keyword\";\n        }\n\n        return tokenUntil(stream, state, /\\{|\\s+\\/\\/|\\/\\*/);\n      },\n\n      indent: function(state, textAfter) {\n        var indent = state.indent, top = last(state.soyState);\n        if (top == \"comment\") return CodeMirror.Pass;\n\n        if (top == \"literal\") {\n          if (/^\\{\\/literal}/.test(textAfter)) indent -= config.indentUnit;\n        } else {\n          if (/^\\s*\\{\\/(template|deltemplate)\\b/.test(textAfter)) return 0;\n          if (/^\\{(\\/|(fallbackmsg|elseif|else|ifempty)\\b)/.test(textAfter)) indent -= config.indentUnit;\n          if (state.tag != \"switch\" && /^\\{(case|default)\\b/.test(textAfter)) indent -= config.indentUnit;\n          if (/^\\{\\/switch\\b/.test(textAfter)) indent -= config.indentUnit;\n        }\n        if (indent && state.localMode.indent)\n          indent += state.localMode.indent(state.localState, textAfter);\n        return indent;\n      },\n\n      innerMode: function(state) {\n        if (state.soyState.length && last(state.soyState) != \"literal\") return null;\n        else return {state: state.localState, mode: state.localMode};\n      },\n\n      electricInput: /^\\s*\\{(\\/|\\/template|\\/deltemplate|\\/switch|fallbackmsg|elseif|else|case|default|ifempty|\\/literal\\})$/,\n      lineComment: \"//\",\n      blockCommentStart: \"/*\",\n      blockCommentEnd: \"*/\",\n      blockCommentContinue: \" * \",\n      fold: \"indent\"\n    };\n  }, \"htmlmixed\");\n\n  CodeMirror.registerHelper(\"hintWords\", \"soy\", indentingTags.concat(\n      [\"delpackage\", \"namespace\", \"alias\", \"print\", \"css\", \"debugger\"]));\n\n  CodeMirror.defineMIME(\"text/x-soy\", \"soy\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/sparql/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: SPARQL mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"sparql.js\"></script>\n<style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">SPARQL</a>\n  </ul>\n</div>\n\n<article>\n<h2>SPARQL mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nPREFIX a: &lt;http://www.w3.org/2000/10/annotation-ns#>\nPREFIX dc: &lt;http://purl.org/dc/elements/1.1/>\nPREFIX foaf: &lt;http://xmlns.com/foaf/0.1/>\nPREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#>\n\n# Comment!\n\nSELECT ?given ?family\nWHERE {\n  {\n    ?annot a:annotates &lt;http://www.w3.org/TR/rdf-sparql-query/> .\n    ?annot dc:creator ?c .\n    OPTIONAL {?c foaf:givenName ?given ;\n                 foaf:familyName ?family }\n  } UNION {\n    ?c !foaf:knows/foaf:knows? ?thing.\n    ?thing rdfs\n  } MINUS {\n    ?thing rdfs:label \"剛柔流\"@jp\n  }\n  FILTER isBlank(?c)\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"application/sparql-query\",\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>application/sparql-query</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/sparql/sparql.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"sparql\", function(config) {\n  var indentUnit = config.indentUnit;\n  var curPunc;\n\n  function wordRegexp(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")$\", \"i\");\n  }\n  var ops = wordRegexp([\"str\", \"lang\", \"langmatches\", \"datatype\", \"bound\", \"sameterm\", \"isiri\", \"isuri\",\n                        \"iri\", \"uri\", \"bnode\", \"count\", \"sum\", \"min\", \"max\", \"avg\", \"sample\",\n                        \"group_concat\", \"rand\", \"abs\", \"ceil\", \"floor\", \"round\", \"concat\", \"substr\", \"strlen\",\n                        \"replace\", \"ucase\", \"lcase\", \"encode_for_uri\", \"contains\", \"strstarts\", \"strends\",\n                        \"strbefore\", \"strafter\", \"year\", \"month\", \"day\", \"hours\", \"minutes\", \"seconds\",\n                        \"timezone\", \"tz\", \"now\", \"uuid\", \"struuid\", \"md5\", \"sha1\", \"sha256\", \"sha384\",\n                        \"sha512\", \"coalesce\", \"if\", \"strlang\", \"strdt\", \"isnumeric\", \"regex\", \"exists\",\n                        \"isblank\", \"isliteral\", \"a\"]);\n  var keywords = wordRegexp([\"base\", \"prefix\", \"select\", \"distinct\", \"reduced\", \"construct\", \"describe\",\n                             \"ask\", \"from\", \"named\", \"where\", \"order\", \"limit\", \"offset\", \"filter\", \"optional\",\n                             \"graph\", \"by\", \"asc\", \"desc\", \"as\", \"having\", \"undef\", \"values\", \"group\",\n                             \"minus\", \"in\", \"not\", \"service\", \"silent\", \"using\", \"insert\", \"delete\", \"union\",\n                             \"true\", \"false\", \"with\",\n                             \"data\", \"copy\", \"to\", \"move\", \"add\", \"create\", \"drop\", \"clear\", \"load\"]);\n  var operatorChars = /[*+\\-<>=&|\\^\\/!\\?]/;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    curPunc = null;\n    if (ch == \"$\" || ch == \"?\") {\n      if(ch == \"?\" && stream.match(/\\s/, false)){\n        return \"operator\";\n      }\n      stream.match(/^[\\w\\d]*/);\n      return \"variable-2\";\n    }\n    else if (ch == \"<\" && !stream.match(/^[\\s\\u00a0=]/, false)) {\n      stream.match(/^[^\\s\\u00a0>]*>?/);\n      return \"atom\";\n    }\n    else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenLiteral(ch);\n      return state.tokenize(stream, state);\n    }\n    else if (/[{}\\(\\),\\.;\\[\\]]/.test(ch)) {\n      curPunc = ch;\n      return \"bracket\";\n    }\n    else if (ch == \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    else if (operatorChars.test(ch)) {\n      stream.eatWhile(operatorChars);\n      return \"operator\";\n    }\n    else if (ch == \":\") {\n      stream.eatWhile(/[\\w\\d\\._\\-]/);\n      return \"atom\";\n    }\n    else if (ch == \"@\") {\n      stream.eatWhile(/[a-z\\d\\-]/i);\n      return \"meta\";\n    }\n    else {\n      stream.eatWhile(/[_\\w\\d]/);\n      if (stream.eat(\":\")) {\n        stream.eatWhile(/[\\w\\d_\\-]/);\n        return \"atom\";\n      }\n      var word = stream.current();\n      if (ops.test(word))\n        return \"builtin\";\n      else if (keywords.test(word))\n        return \"keyword\";\n      else\n        return \"variable\";\n    }\n  }\n\n  function tokenLiteral(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      return \"string\";\n    };\n  }\n\n  function pushContext(state, type, col) {\n    state.context = {prev: state.context, indent: state.indent, col: col, type: type};\n  }\n  function popContext(state) {\n    state.indent = state.context.indent;\n    state.context = state.context.prev;\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: tokenBase,\n              context: null,\n              indent: 0,\n              col: 0};\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (state.context && state.context.align == null) state.context.align = false;\n        state.indent = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n\n      if (style != \"comment\" && state.context && state.context.align == null && state.context.type != \"pattern\") {\n        state.context.align = true;\n      }\n\n      if (curPunc == \"(\") pushContext(state, \")\", stream.column());\n      else if (curPunc == \"[\") pushContext(state, \"]\", stream.column());\n      else if (curPunc == \"{\") pushContext(state, \"}\", stream.column());\n      else if (/[\\]\\}\\)]/.test(curPunc)) {\n        while (state.context && state.context.type == \"pattern\") popContext(state);\n        if (state.context && curPunc == state.context.type) popContext(state);\n      }\n      else if (curPunc == \".\" && state.context && state.context.type == \"pattern\") popContext(state);\n      else if (/atom|string|variable/.test(style) && state.context) {\n        if (/[\\}\\]]/.test(state.context.type))\n          pushContext(state, \"pattern\", stream.column());\n        else if (state.context.type == \"pattern\" && !state.context.align) {\n          state.context.align = true;\n          state.context.col = stream.column();\n        }\n      }\n\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var firstChar = textAfter && textAfter.charAt(0);\n      var context = state.context;\n      if (/[\\]\\}]/.test(firstChar))\n        while (context && context.type == \"pattern\") context = context.prev;\n\n      var closing = context && firstChar == context.type;\n      if (!context)\n        return 0;\n      else if (context.type == \"pattern\")\n        return context.col;\n      else if (context.align)\n        return context.col + (closing ? 0 : 1);\n      else\n        return context.indent + (closing ? 0 : indentUnit);\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"application/sparql-query\", \"sparql\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/spreadsheet/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Spreadsheet mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"spreadsheet.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Spreadsheet</a>\n  </ul>\n</div>\n\n<article>\n  <h2>Spreadsheet mode</h2>\n  <form><textarea id=\"code\" name=\"code\">=IF(A1:B2, TRUE, FALSE) / 100</textarea></form>\n\n  <script>\n    var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n      lineNumbers: true,\n      matchBrackets: true,\n      extraKeys: {\"Tab\":  \"indentAuto\"}\n    });\n  </script>\n\n  <p><strong>MIME types defined:</strong> <code>text/x-spreadsheet</code>.</p>\n  \n  <h3>The Spreadsheet Mode</h3>\n  <p> Created by <a href=\"https://github.com/robertleeplummerjr\">Robert Plummer</a></p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/spreadsheet/spreadsheet.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineMode(\"spreadsheet\", function () {\n    return {\n      startState: function () {\n        return {\n          stringType: null,\n          stack: []\n        };\n      },\n      token: function (stream, state) {\n        if (!stream) return;\n\n        //check for state changes\n        if (state.stack.length === 0) {\n          //strings\n          if ((stream.peek() == '\"') || (stream.peek() == \"'\")) {\n            state.stringType = stream.peek();\n            stream.next(); // Skip quote\n            state.stack.unshift(\"string\");\n          }\n        }\n\n        //return state\n        //stack has\n        switch (state.stack[0]) {\n        case \"string\":\n          while (state.stack[0] === \"string\" && !stream.eol()) {\n            if (stream.peek() === state.stringType) {\n              stream.next(); // Skip quote\n              state.stack.shift(); // Clear flag\n            } else if (stream.peek() === \"\\\\\") {\n              stream.next();\n              stream.next();\n            } else {\n              stream.match(/^.[^\\\\\\\"\\']*/);\n            }\n          }\n          return \"string\";\n\n        case \"characterClass\":\n          while (state.stack[0] === \"characterClass\" && !stream.eol()) {\n            if (!(stream.match(/^[^\\]\\\\]+/) || stream.match(/^\\\\./)))\n              state.stack.shift();\n          }\n          return \"operator\";\n        }\n\n        var peek = stream.peek();\n\n        //no stack\n        switch (peek) {\n        case \"[\":\n          stream.next();\n          state.stack.unshift(\"characterClass\");\n          return \"bracket\";\n        case \":\":\n          stream.next();\n          return \"operator\";\n        case \"\\\\\":\n          if (stream.match(/\\\\[a-z]+/)) return \"string-2\";\n          else return null;\n        case \".\":\n        case \",\":\n        case \";\":\n        case \"*\":\n        case \"-\":\n        case \"+\":\n        case \"^\":\n        case \"<\":\n        case \"/\":\n        case \"=\":\n          stream.next();\n          return \"atom\";\n        case \"$\":\n          stream.next();\n          return \"builtin\";\n        }\n\n        if (stream.match(/\\d+/)) {\n          if (stream.match(/^\\w+/)) return \"error\";\n          return \"number\";\n        } else if (stream.match(/^[a-zA-Z_]\\w*/)) {\n          if (stream.match(/(?=[\\(.])/, false)) return \"keyword\";\n          return \"variable-2\";\n        } else if ([\"[\", \"]\", \"(\", \")\", \"{\", \"}\"].indexOf(peek) != -1) {\n          stream.next();\n          return \"bracket\";\n        } else if (!stream.eatSpace()) {\n          stream.next();\n        }\n        return null;\n      }\n    };\n  });\n\n  CodeMirror.defineMIME(\"text/x-spreadsheet\", \"spreadsheet\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/sql/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: SQL Mode for CodeMirror</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\" />\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"sql.js\"></script>\n<link rel=\"stylesheet\" href=\"../../addon/hint/show-hint.css\" />\n<script src=\"../../addon/hint/show-hint.js\"></script>\n<script src=\"../../addon/hint/sql-hint.js\"></script>\n<style>\n.CodeMirror {\n    border-top: 1px solid black;\n    border-bottom: 1px solid black;\n}\n        </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">SQL Mode for CodeMirror</a>\n  </ul>\n</div>\n\n<article>\n<h2>SQL Mode for CodeMirror</h2>\n<form>\n            <textarea id=\"code\" name=\"code\">-- SQL Mode for CodeMirror\nSELECT SQL_NO_CACHE DISTINCT\n\t\t@var1 AS `val1`, @'val2', @global.'sql_mode',\n\t\t1.1 AS `float_val`, .14 AS `another_float`, 0.09e3 AS `int_with_esp`,\n\t\t0xFA5 AS `hex`, x'fa5' AS `hex2`, 0b101 AS `bin`, b'101' AS `bin2`,\n\t\tDATE '1994-01-01' AS `sql_date`, { T \"1994-01-01\" } AS `odbc_date`,\n\t\t'my string', _utf8'your string', N'her string',\n        TRUE, FALSE, UNKNOWN\n\tFROM DUAL\n\t-- space needed after '--'\n\t# 1 line comment\n\t/* multiline\n\tcomment! */\n\tLIMIT 1 OFFSET 0;\n</textarea>\n            </form>\n            <p><strong>MIME types defined:</strong> \n            <code><a href=\"?mime=text/x-sql\">text/x-sql</a></code>,\n            <code><a href=\"?mime=text/x-mysql\">text/x-mysql</a></code>,\n            <code><a href=\"?mime=text/x-mariadb\">text/x-mariadb</a></code>,\n            <code><a href=\"?mime=text/x-cassandra\">text/x-cassandra</a></code>,\n            <code><a href=\"?mime=text/x-plsql\">text/x-plsql</a></code>,\n            <code><a href=\"?mime=text/x-mssql\">text/x-mssql</a></code>,\n            <code><a href=\"?mime=text/x-hive\">text/x-hive</a></code>.\n        </p>\n<script>\nwindow.onload = function() {\n  var mime = 'text/x-mariadb';\n  // get mime type\n  if (window.location.href.indexOf('mime=') > -1) {\n    mime = window.location.href.substr(window.location.href.indexOf('mime=') + 5);\n  }\n  window.editor = CodeMirror.fromTextArea(document.getElementById('code'), {\n    mode: mime,\n    indentWithTabs: true,\n    smartIndent: true,\n    lineNumbers: true,\n    matchBrackets : true,\n    autofocus: true,\n    extraKeys: {\"Ctrl-Space\": \"autocomplete\"},\n    hintOptions: {tables: {\n      users: {name: null, score: null, birthDate: null},\n      countries: {name: null, population: null, size: null}\n    }}\n  });\n};\n</script>\n\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/sql/sql.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"sql\", function(config, parserConfig) {\n  \"use strict\";\n\n  var client         = parserConfig.client || {},\n      atoms          = parserConfig.atoms || {\"false\": true, \"true\": true, \"null\": true},\n      builtin        = parserConfig.builtin || {},\n      keywords       = parserConfig.keywords || {},\n      operatorChars  = parserConfig.operatorChars || /^[*+\\-%<>!=&|~^]/,\n      support        = parserConfig.support || {},\n      hooks          = parserConfig.hooks || {},\n      dateSQL        = parserConfig.dateSQL || {\"date\" : true, \"time\" : true, \"timestamp\" : true};\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n\n    // call hooks from the mime type\n    if (hooks[ch]) {\n      var result = hooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n\n    if (support.hexNumber == true &&\n      ((ch == \"0\" && stream.match(/^[xX][0-9a-fA-F]+/))\n      || (ch == \"x\" || ch == \"X\") && stream.match(/^'[0-9a-fA-F]+'/))) {\n      // hex\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/hexadecimal-literals.html\n      return \"number\";\n    } else if (support.binaryNumber == true &&\n      (((ch == \"b\" || ch == \"B\") && stream.match(/^'[01]+'/))\n      || (ch == \"0\" && stream.match(/^b[01]+/)))) {\n      // bitstring\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/bit-field-literals.html\n      return \"number\";\n    } else if (ch.charCodeAt(0) > 47 && ch.charCodeAt(0) < 58) {\n      // numbers\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/number-literals.html\n          stream.match(/^[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?/);\n      support.decimallessFloat == true && stream.eat('.');\n      return \"number\";\n    } else if (ch == \"?\" && (stream.eatSpace() || stream.eol() || stream.eat(\";\"))) {\n      // placeholders\n      return \"variable-3\";\n    } else if (ch == \"'\" || (ch == '\"' && support.doubleQuote)) {\n      // strings\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/string-literals.html\n      state.tokenize = tokenLiteral(ch);\n      return state.tokenize(stream, state);\n    } else if ((((support.nCharCast == true && (ch == \"n\" || ch == \"N\"))\n        || (support.charsetCast == true && ch == \"_\" && stream.match(/[a-z][a-z0-9]*/i)))\n        && (stream.peek() == \"'\" || stream.peek() == '\"'))) {\n      // charset casting: _utf8'str', N'str', n'str'\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/string-literals.html\n      return \"keyword\";\n    } else if (/^[\\(\\),\\;\\[\\]]/.test(ch)) {\n      // no highlightning\n      return null;\n    } else if (support.commentSlashSlash && ch == \"/\" && stream.eat(\"/\")) {\n      // 1-line comment\n      stream.skipToEnd();\n      return \"comment\";\n    } else if ((support.commentHash && ch == \"#\")\n        || (ch == \"-\" && stream.eat(\"-\") && (!support.commentSpaceRequired || stream.eat(\" \")))) {\n      // 1-line comments\n      // ref: https://kb.askmonty.org/en/comment-syntax/\n      stream.skipToEnd();\n      return \"comment\";\n    } else if (ch == \"/\" && stream.eat(\"*\")) {\n      // multi-line comments\n      // ref: https://kb.askmonty.org/en/comment-syntax/\n      state.tokenize = tokenComment;\n      return state.tokenize(stream, state);\n    } else if (ch == \".\") {\n      // .1 for 0.1\n      if (support.zerolessFloat == true && stream.match(/^(?:\\d+(?:e[+-]?\\d+)?)/i)) {\n        return \"number\";\n      }\n      // .table_name (ODBC)\n      // // ref: http://dev.mysql.com/doc/refman/5.6/en/identifier-qualifiers.html\n      if (support.ODBCdotTable == true && stream.match(/^[a-zA-Z_]+/)) {\n        return \"variable-2\";\n      }\n    } else if (operatorChars.test(ch)) {\n      // operators\n      stream.eatWhile(operatorChars);\n      return null;\n    } else if (ch == '{' &&\n        (stream.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/) || stream.match(/^( )*(d|D|t|T|ts|TS)( )*\"[^\"]*\"( )*}/))) {\n      // dates (weird ODBC syntax)\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/date-and-time-literals.html\n      return \"number\";\n    } else {\n      stream.eatWhile(/^[_\\w\\d]/);\n      var word = stream.current().toLowerCase();\n      // dates (standard SQL syntax)\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/date-and-time-literals.html\n      if (dateSQL.hasOwnProperty(word) && (stream.match(/^( )+'[^']*'/) || stream.match(/^( )+\"[^\"]*\"/)))\n        return \"number\";\n      if (atoms.hasOwnProperty(word)) return \"atom\";\n      if (builtin.hasOwnProperty(word)) return \"builtin\";\n      if (keywords.hasOwnProperty(word)) return \"keyword\";\n      if (client.hasOwnProperty(word)) return \"string-2\";\n      return null;\n    }\n  }\n\n  // 'string', with char specified in quote escaped by '\\'\n  function tokenLiteral(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      return \"string\";\n    };\n  }\n  function tokenComment(stream, state) {\n    while (true) {\n      if (stream.skipTo(\"*\")) {\n        stream.next();\n        if (stream.eat(\"/\")) {\n          state.tokenize = tokenBase;\n          break;\n        }\n      } else {\n        stream.skipToEnd();\n        break;\n      }\n    }\n    return \"comment\";\n  }\n\n  function pushContext(stream, state, type) {\n    state.context = {\n      prev: state.context,\n      indent: stream.indentation(),\n      col: stream.column(),\n      type: type\n    };\n  }\n\n  function popContext(state) {\n    state.indent = state.context.indent;\n    state.context = state.context.prev;\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: tokenBase, context: null};\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (state.context && state.context.align == null)\n          state.context.align = false;\n      }\n      if (stream.eatSpace()) return null;\n\n      var style = state.tokenize(stream, state);\n      if (style == \"comment\") return style;\n\n      if (state.context && state.context.align == null)\n        state.context.align = true;\n\n      var tok = stream.current();\n      if (tok == \"(\")\n        pushContext(stream, state, \")\");\n      else if (tok == \"[\")\n        pushContext(stream, state, \"]\");\n      else if (state.context && state.context.type == tok)\n        popContext(state);\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var cx = state.context;\n      if (!cx) return CodeMirror.Pass;\n      var closing = textAfter.charAt(0) == cx.type;\n      if (cx.align) return cx.col + (closing ? 0 : 1);\n      else return cx.indent + (closing ? 0 : config.indentUnit);\n    },\n\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: support.commentSlashSlash ? \"//\" : support.commentHash ? \"#\" : null\n  };\n});\n\n(function() {\n  \"use strict\";\n\n  // `identifier`\n  function hookIdentifier(stream) {\n    // MySQL/MariaDB identifiers\n    // ref: http://dev.mysql.com/doc/refman/5.6/en/identifier-qualifiers.html\n    var ch;\n    while ((ch = stream.next()) != null) {\n      if (ch == \"`\" && !stream.eat(\"`\")) return \"variable-2\";\n    }\n    stream.backUp(stream.current().length - 1);\n    return stream.eatWhile(/\\w/) ? \"variable-2\" : null;\n  }\n\n  // variable token\n  function hookVar(stream) {\n    // variables\n    // @@prefix.varName @varName\n    // varName can be quoted with ` or ' or \"\n    // ref: http://dev.mysql.com/doc/refman/5.5/en/user-variables.html\n    if (stream.eat(\"@\")) {\n      stream.match(/^session\\./);\n      stream.match(/^local\\./);\n      stream.match(/^global\\./);\n    }\n\n    if (stream.eat(\"'\")) {\n      stream.match(/^.*'/);\n      return \"variable-2\";\n    } else if (stream.eat('\"')) {\n      stream.match(/^.*\"/);\n      return \"variable-2\";\n    } else if (stream.eat(\"`\")) {\n      stream.match(/^.*`/);\n      return \"variable-2\";\n    } else if (stream.match(/^[0-9a-zA-Z$\\.\\_]+/)) {\n      return \"variable-2\";\n    }\n    return null;\n  };\n\n  // short client keyword token\n  function hookClient(stream) {\n    // \\N means NULL\n    // ref: http://dev.mysql.com/doc/refman/5.5/en/null-values.html\n    if (stream.eat(\"N\")) {\n        return \"atom\";\n    }\n    // \\g, etc\n    // ref: http://dev.mysql.com/doc/refman/5.5/en/mysql-commands.html\n    return stream.match(/^[a-zA-Z.#!?]/) ? \"variable-2\" : null;\n  }\n\n  // these keywords are used by all SQL dialects (however, a mode can still overwrite it)\n  var sqlKeywords = \"alter and as asc between by count create delete desc distinct drop from having in insert into is join like not on or order select set table union update values where \";\n\n  // turn a space-separated list into an array\n  function set(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  // A generic SQL Mode. It's not a standard, it just try to support what is generally supported\n  CodeMirror.defineMIME(\"text/x-sql\", {\n    name: \"sql\",\n    keywords: set(sqlKeywords + \"begin\"),\n    builtin: set(\"bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric\"),\n    atoms: set(\"false true null unknown\"),\n    operatorChars: /^[*+\\-%<>!=]/,\n    dateSQL: set(\"date time timestamp\"),\n    support: set(\"ODBCdotTable doubleQuote binaryNumber hexNumber\")\n  });\n\n  CodeMirror.defineMIME(\"text/x-mssql\", {\n    name: \"sql\",\n    client: set(\"charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee\"),\n    keywords: set(sqlKeywords + \"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered\"),\n    builtin: set(\"bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table \"),\n    atoms: set(\"false true null unknown\"),\n    operatorChars: /^[*+\\-%<>!=]/,\n    dateSQL: set(\"date datetimeoffset datetime2 smalldatetime datetime time\"),\n    hooks: {\n      \"@\":   hookVar\n    }\n  });\n\n  CodeMirror.defineMIME(\"text/x-mysql\", {\n    name: \"sql\",\n    client: set(\"charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee\"),\n    keywords: set(sqlKeywords + \"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group groupby_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat\"),\n    builtin: set(\"bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric\"),\n    atoms: set(\"false true null unknown\"),\n    operatorChars: /^[*+\\-%<>!=&|^]/,\n    dateSQL: set(\"date time timestamp\"),\n    support: set(\"ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired\"),\n    hooks: {\n      \"@\":   hookVar,\n      \"`\":   hookIdentifier,\n      \"\\\\\":  hookClient\n    }\n  });\n\n  CodeMirror.defineMIME(\"text/x-mariadb\", {\n    name: \"sql\",\n    client: set(\"charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee\"),\n    keywords: set(sqlKeywords + \"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat\"),\n    builtin: set(\"bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric\"),\n    atoms: set(\"false true null unknown\"),\n    operatorChars: /^[*+\\-%<>!=&|^]/,\n    dateSQL: set(\"date time timestamp\"),\n    support: set(\"ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired\"),\n    hooks: {\n      \"@\":   hookVar,\n      \"`\":   hookIdentifier,\n      \"\\\\\":  hookClient\n    }\n  });\n\n  // the query language used by Apache Cassandra is called CQL, but this mime type\n  // is called Cassandra to avoid confusion with Contextual Query Language\n  CodeMirror.defineMIME(\"text/x-cassandra\", {\n    name: \"sql\",\n    client: { },\n    keywords: set(\"use select from using consistency where limit first reversed first and in insert into values using consistency ttl update set delete truncate begin batch apply create keyspace with columnfamily primary key index on drop alter type add any one quorum all local_quorum each_quorum\"),\n    builtin: set(\"ascii bigint blob boolean counter decimal double float int text timestamp uuid varchar varint\"),\n    atoms: set(\"false true\"),\n    operatorChars: /^[<>=]/,\n    dateSQL: { },\n    support: set(\"commentSlashSlash decimallessFloat\"),\n    hooks: { }\n  });\n\n  // this is based on Peter Raganitsch's 'plsql' mode\n  CodeMirror.defineMIME(\"text/x-plsql\", {\n    name:       \"sql\",\n    client:     set(\"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap\"),\n    keywords:   set(\"abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work\"),\n    builtin:    set(\"abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least lenght lenghtb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml\"),\n    operatorChars: /^[*+\\-%<>!=~]/,\n    dateSQL:    set(\"date time timestamp\"),\n    support:    set(\"doubleQuote nCharCast zerolessFloat binaryNumber hexNumber\")\n  });\n\n  // Created to support specific hive keywords\n  CodeMirror.defineMIME(\"text/x-hive\", {\n    name: \"sql\",\n    keywords: set(\"select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external false fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger true unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with\"),\n    builtin: set(\"bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype\"),\n    atoms: set(\"false true null unknown\"),\n    operatorChars: /^[*+\\-%<>!=]/,\n    dateSQL: set(\"date timestamp\"),\n    support: set(\"ODBCdotTable doubleQuote binaryNumber hexNumber\")\n  });\n}());\n\n});\n\n/*\n  How Properties of Mime Types are used by SQL Mode\n  =================================================\n\n  keywords:\n    A list of keywords you want to be highlighted.\n  builtin:\n    A list of builtin types you want to be highlighted (if you want types to be of class \"builtin\" instead of \"keyword\").\n  operatorChars:\n    All characters that must be handled as operators.\n  client:\n    Commands parsed and executed by the client (not the server).\n  support:\n    A list of supported syntaxes which are not common, but are supported by more than 1 DBMS.\n    * ODBCdotTable: .tableName\n    * zerolessFloat: .1\n    * doubleQuote\n    * nCharCast: N'string'\n    * charsetCast: _utf8'string'\n    * commentHash: use # char for comments\n    * commentSlashSlash: use // for comments\n    * commentSpaceRequired: require a space after -- for comments\n  atoms:\n    Keywords that must be highlighted as atoms,. Some DBMS's support more atoms than others:\n    UNKNOWN, INFINITY, UNDERFLOW, NaN...\n  dateSQL:\n    Used for date/time SQL standard syntax, because not all DBMS's support same temporal types.\n*/\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/stex/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: sTeX mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"stex.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">sTeX</a>\n  </ul>\n</div>\n\n<article>\n<h2>sTeX mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n\\begin{module}[id=bbt-size]\n\\importmodule[balanced-binary-trees]{balanced-binary-trees}\n\\importmodule[\\KWARCslides{dmath/en/cardinality}]{cardinality}\n\n\\begin{frame}\n  \\frametitle{Size Lemma for Balanced Trees}\n  \\begin{itemize}\n  \\item\n    \\begin{assertion}[id=size-lemma,type=lemma] \n    Let $G=\\tup{V,E}$ be a \\termref[cd=binary-trees]{balanced binary tree} \n    of \\termref[cd=graph-depth,name=vertex-depth]{depth}$n>i$, then the set\n     $\\defeq{\\livar{V}i}{\\setst{\\inset{v}{V}}{\\gdepth{v} = i}}$ of\n    \\termref[cd=graphs-intro,name=node]{nodes} at \n    \\termref[cd=graph-depth,name=vertex-depth]{depth} $i$ has\n    \\termref[cd=cardinality,name=cardinality]{cardinality} $\\power2i$.\n   \\end{assertion}\n  \\item\n    \\begin{sproof}[id=size-lemma-pf,proofend=,for=size-lemma]{via induction over the depth $i$.}\n      \\begin{spfcases}{We have to consider two cases}\n        \\begin{spfcase}{$i=0$}\n          \\begin{spfstep}[display=flow]\n            then $\\livar{V}i=\\set{\\livar{v}r}$, where $\\livar{v}r$ is the root, so\n            $\\eq{\\card{\\livar{V}0},\\card{\\set{\\livar{v}r}},1,\\power20}$.\n          \\end{spfstep}\n        \\end{spfcase}\n        \\begin{spfcase}{$i>0$}\n          \\begin{spfstep}[display=flow]\n           then $\\livar{V}{i-1}$ contains $\\power2{i-1}$ vertexes \n           \\begin{justification}[method=byIH](IH)\\end{justification}\n          \\end{spfstep}\n          \\begin{spfstep}\n           By the \\begin{justification}[method=byDef]definition of a binary\n              tree\\end{justification}, each $\\inset{v}{\\livar{V}{i-1}}$ is a leaf or has\n            two children that are at depth $i$.\n          \\end{spfstep}\n          \\begin{spfstep}\n           As $G$ is \\termref[cd=balanced-binary-trees,name=balanced-binary-tree]{balanced} and $\\gdepth{G}=n>i$, $\\livar{V}{i-1}$ cannot contain\n            leaves.\n          \\end{spfstep}\n          \\begin{spfstep}[type=conclusion]\n           Thus $\\eq{\\card{\\livar{V}i},{\\atimes[cdot]{2,\\card{\\livar{V}{i-1}}}},{\\atimes[cdot]{2,\\power2{i-1}}},\\power2i}$.\n          \\end{spfstep}\n        \\end{spfcase}\n      \\end{spfcases}\n    \\end{sproof}\n  \\item \n    \\begin{assertion}[id=fbbt,type=corollary]\t\n      A fully balanced tree of depth $d$ has $\\power2{d+1}-1$ nodes.\n    \\end{assertion}\n  \\item\n      \\begin{sproof}[for=fbbt,id=fbbt-pf]{}\n        \\begin{spfstep}\n          Let $\\defeq{G}{\\tup{V,E}}$ be a fully balanced tree\n        \\end{spfstep}\n        \\begin{spfstep}\n          Then $\\card{V}=\\Sumfromto{i}1d{\\power2i}= \\power2{d+1}-1$.\n        \\end{spfstep}\n      \\end{sproof}\n    \\end{itemize}\n  \\end{frame}\n\\begin{note}\n  \\begin{omtext}[type=conclusion,for=binary-tree]\n    This shows that balanced binary trees grow in breadth very quickly, a consequence of\n    this is that they are very shallow (and this compute very fast), which is the essence of\n    the next result.\n  \\end{omtext}\n\\end{note}\n\\end{module}\n\n%%% Local Variables: \n%%% mode: LaTeX\n%%% TeX-master: \"all\"\n%%% End: \\end{document}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-stex</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#stex_*\">normal</a>,  <a href=\"../../test/index.html#verbose,stex_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/stex/stex.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/*\n * Author: Constantin Jucovschi (c.jucovschi@jacobs-university.de)\n * Licence: MIT\n */\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineMode(\"stex\", function() {\n    \"use strict\";\n\n    function pushCommand(state, command) {\n      state.cmdState.push(command);\n    }\n\n    function peekCommand(state) {\n      if (state.cmdState.length > 0) {\n        return state.cmdState[state.cmdState.length - 1];\n      } else {\n        return null;\n      }\n    }\n\n    function popCommand(state) {\n      var plug = state.cmdState.pop();\n      if (plug) {\n        plug.closeBracket();\n      }\n    }\n\n    // returns the non-default plugin closest to the end of the list\n    function getMostPowerful(state) {\n      var context = state.cmdState;\n      for (var i = context.length - 1; i >= 0; i--) {\n        var plug = context[i];\n        if (plug.name == \"DEFAULT\") {\n          continue;\n        }\n        return plug;\n      }\n      return { styleIdentifier: function() { return null; } };\n    }\n\n    function addPluginPattern(pluginName, cmdStyle, styles) {\n      return function () {\n        this.name = pluginName;\n        this.bracketNo = 0;\n        this.style = cmdStyle;\n        this.styles = styles;\n        this.argument = null;   // \\begin and \\end have arguments that follow. These are stored in the plugin\n\n        this.styleIdentifier = function() {\n          return this.styles[this.bracketNo - 1] || null;\n        };\n        this.openBracket = function() {\n          this.bracketNo++;\n          return \"bracket\";\n        };\n        this.closeBracket = function() {};\n      };\n    }\n\n    var plugins = {};\n\n    plugins[\"importmodule\"] = addPluginPattern(\"importmodule\", \"tag\", [\"string\", \"builtin\"]);\n    plugins[\"documentclass\"] = addPluginPattern(\"documentclass\", \"tag\", [\"\", \"atom\"]);\n    plugins[\"usepackage\"] = addPluginPattern(\"usepackage\", \"tag\", [\"atom\"]);\n    plugins[\"begin\"] = addPluginPattern(\"begin\", \"tag\", [\"atom\"]);\n    plugins[\"end\"] = addPluginPattern(\"end\", \"tag\", [\"atom\"]);\n\n    plugins[\"DEFAULT\"] = function () {\n      this.name = \"DEFAULT\";\n      this.style = \"tag\";\n\n      this.styleIdentifier = this.openBracket = this.closeBracket = function() {};\n    };\n\n    function setState(state, f) {\n      state.f = f;\n    }\n\n    // called when in a normal (no environment) context\n    function normal(source, state) {\n      var plug;\n      // Do we look like '\\command' ?  If so, attempt to apply the plugin 'command'\n      if (source.match(/^\\\\[a-zA-Z@]+/)) {\n        var cmdName = source.current().slice(1);\n        plug = plugins[cmdName] || plugins[\"DEFAULT\"];\n        plug = new plug();\n        pushCommand(state, plug);\n        setState(state, beginParams);\n        return plug.style;\n      }\n\n      // escape characters\n      if (source.match(/^\\\\[$&%#{}_]/)) {\n        return \"tag\";\n      }\n\n      // white space control characters\n      if (source.match(/^\\\\[,;!\\/\\\\]/)) {\n        return \"tag\";\n      }\n\n      // find if we're starting various math modes\n      if (source.match(\"\\\\[\")) {\n        setState(state, function(source, state){ return inMathMode(source, state, \"\\\\]\"); });\n        return \"keyword\";\n      }\n      if (source.match(\"$$\")) {\n        setState(state, function(source, state){ return inMathMode(source, state, \"$$\"); });\n        return \"keyword\";\n      }\n      if (source.match(\"$\")) {\n        setState(state, function(source, state){ return inMathMode(source, state, \"$\"); });\n        return \"keyword\";\n      }\n\n      var ch = source.next();\n      if (ch == \"%\") {\n        source.skipToEnd();\n        return \"comment\";\n      } else if (ch == '}' || ch == ']') {\n        plug = peekCommand(state);\n        if (plug) {\n          plug.closeBracket(ch);\n          setState(state, beginParams);\n        } else {\n          return \"error\";\n        }\n        return \"bracket\";\n      } else if (ch == '{' || ch == '[') {\n        plug = plugins[\"DEFAULT\"];\n        plug = new plug();\n        pushCommand(state, plug);\n        return \"bracket\";\n      } else if (/\\d/.test(ch)) {\n        source.eatWhile(/[\\w.%]/);\n        return \"atom\";\n      } else {\n        source.eatWhile(/[\\w\\-_]/);\n        plug = getMostPowerful(state);\n        if (plug.name == 'begin') {\n          plug.argument = source.current();\n        }\n        return plug.styleIdentifier();\n      }\n    }\n\n    function inMathMode(source, state, endModeSeq) {\n      if (source.eatSpace()) {\n        return null;\n      }\n      if (source.match(endModeSeq)) {\n        setState(state, normal);\n        return \"keyword\";\n      }\n      if (source.match(/^\\\\[a-zA-Z@]+/)) {\n        return \"tag\";\n      }\n      if (source.match(/^[a-zA-Z]+/)) {\n        return \"variable-2\";\n      }\n      // escape characters\n      if (source.match(/^\\\\[$&%#{}_]/)) {\n        return \"tag\";\n      }\n      // white space control characters\n      if (source.match(/^\\\\[,;!\\/]/)) {\n        return \"tag\";\n      }\n      // special math-mode characters\n      if (source.match(/^[\\^_&]/)) {\n        return \"tag\";\n      }\n      // non-special characters\n      if (source.match(/^[+\\-<>|=,\\/@!*:;'\"`~#?]/)) {\n        return null;\n      }\n      if (source.match(/^(\\d+\\.\\d*|\\d*\\.\\d+|\\d+)/)) {\n        return \"number\";\n      }\n      var ch = source.next();\n      if (ch == \"{\" || ch == \"}\" || ch == \"[\" || ch == \"]\" || ch == \"(\" || ch == \")\") {\n        return \"bracket\";\n      }\n\n      if (ch == \"%\") {\n        source.skipToEnd();\n        return \"comment\";\n      }\n      return \"error\";\n    }\n\n    function beginParams(source, state) {\n      var ch = source.peek(), lastPlug;\n      if (ch == '{' || ch == '[') {\n        lastPlug = peekCommand(state);\n        lastPlug.openBracket(ch);\n        source.eat(ch);\n        setState(state, normal);\n        return \"bracket\";\n      }\n      if (/[ \\t\\r]/.test(ch)) {\n        source.eat(ch);\n        return null;\n      }\n      setState(state, normal);\n      popCommand(state);\n\n      return normal(source, state);\n    }\n\n    return {\n      startState: function() {\n        return {\n          cmdState: [],\n          f: normal\n        };\n      },\n      copyState: function(s) {\n        return {\n          cmdState: s.cmdState.slice(),\n          f: s.f\n        };\n      },\n      token: function(stream, state) {\n        return state.f(stream, state);\n      },\n      blankLine: function(state) {\n        state.f = normal;\n        state.cmdState.length = 0;\n      },\n      lineComment: \"%\"\n    };\n  });\n\n  CodeMirror.defineMIME(\"text/x-stex\", \"stex\");\n  CodeMirror.defineMIME(\"text/x-latex\", \"stex\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/stex/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({tabSize: 4}, \"stex\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"word\",\n     \"foo\");\n\n  MT(\"twoWords\",\n     \"foo bar\");\n\n  MT(\"beginEndDocument\",\n     \"[tag \\\\begin][bracket {][atom document][bracket }]\",\n     \"[tag \\\\end][bracket {][atom document][bracket }]\");\n\n  MT(\"beginEndEquation\",\n     \"[tag \\\\begin][bracket {][atom equation][bracket }]\",\n     \"  E=mc^2\",\n     \"[tag \\\\end][bracket {][atom equation][bracket }]\");\n\n  MT(\"beginModule\",\n     \"[tag \\\\begin][bracket {][atom module][bracket }[[]]]\");\n\n  MT(\"beginModuleId\",\n     \"[tag \\\\begin][bracket {][atom module][bracket }[[]id=bbt-size[bracket ]]]\");\n\n  MT(\"importModule\",\n     \"[tag \\\\importmodule][bracket [[][string b-b-t][bracket ]]{][builtin b-b-t][bracket }]\");\n\n  MT(\"importModulePath\",\n     \"[tag \\\\importmodule][bracket [[][tag \\\\KWARCslides][bracket {][string dmath/en/cardinality][bracket }]]{][builtin card][bracket }]\");\n\n  MT(\"psForPDF\",\n     \"[tag \\\\PSforPDF][bracket [[][atom 1][bracket ]]{]#1[bracket }]\");\n\n  MT(\"comment\",\n     \"[comment % foo]\");\n\n  MT(\"tagComment\",\n     \"[tag \\\\item][comment % bar]\");\n\n  MT(\"commentTag\",\n     \" [comment % \\\\item]\");\n\n  MT(\"commentLineBreak\",\n     \"[comment %]\",\n     \"foo\");\n\n  MT(\"tagErrorCurly\",\n     \"[tag \\\\begin][error }][bracket {]\");\n\n  MT(\"tagErrorSquare\",\n     \"[tag \\\\item][error ]]][bracket {]\");\n\n  MT(\"commentCurly\",\n     \"[comment % }]\");\n\n  MT(\"tagHash\",\n     \"the [tag \\\\#] key\");\n\n  MT(\"tagNumber\",\n     \"a [tag \\\\$][atom 5] stetson\");\n\n  MT(\"tagPercent\",\n     \"[atom 100][tag \\\\%] beef\");\n\n  MT(\"tagAmpersand\",\n     \"L [tag \\\\&] N\");\n\n  MT(\"tagUnderscore\",\n     \"foo[tag \\\\_]bar\");\n\n  MT(\"tagBracketOpen\",\n     \"[tag \\\\emph][bracket {][tag \\\\{][bracket }]\");\n\n  MT(\"tagBracketClose\",\n     \"[tag \\\\emph][bracket {][tag \\\\}][bracket }]\");\n\n  MT(\"tagLetterNumber\",\n     \"section [tag \\\\S][atom 1]\");\n\n  MT(\"textTagNumber\",\n     \"para [tag \\\\P][atom 2]\");\n\n  MT(\"thinspace\",\n     \"x[tag \\\\,]y\");\n\n  MT(\"thickspace\",\n     \"x[tag \\\\;]y\");\n\n  MT(\"negativeThinspace\",\n     \"x[tag \\\\!]y\");\n\n  MT(\"periodNotSentence\",\n     \"J.\\\\ L.\\\\ is\");\n\n  MT(\"periodSentence\",\n     \"X[tag \\\\@]. The\");\n\n  MT(\"italicCorrection\",\n     \"[bracket {][tag \\\\em] If[tag \\\\/][bracket }] I\");\n\n  MT(\"tagBracket\",\n     \"[tag \\\\newcommand][bracket {][tag \\\\pop][bracket }]\");\n\n  MT(\"inlineMathTagFollowedByNumber\",\n     \"[keyword $][tag \\\\pi][number 2][keyword $]\");\n\n  MT(\"inlineMath\",\n     \"[keyword $][number 3][variable-2 x][tag ^][number 2.45]-[tag \\\\sqrt][bracket {][tag \\\\$\\\\alpha][bracket }] = [number 2][keyword $] other text\");\n\n  MT(\"displayMath\",\n     \"More [keyword $$]\\t[variable-2 S][tag ^][variable-2 n][tag \\\\sum] [variable-2 i][keyword $$] other text\");\n\n  MT(\"mathWithComment\",\n     \"[keyword $][variable-2 x] [comment % $]\",\n     \"[variable-2 y][keyword $] other text\");\n\n  MT(\"lineBreakArgument\",\n    \"[tag \\\\\\\\][bracket [[][atom 1cm][bracket ]]]\");\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/stylus/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Stylus mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../addon/hint/show-hint.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"stylus.js\"></script>\n<script src=\"../../addon/hint/show-hint.js\"></script>\n<script src=\"../../addon/hint/css-hint.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;} form{margin-bottom: .7em;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Stylus</a>\n  </ul>\n</div>\n\n<article>\n<h2>Stylus mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n/* Stylus mode */\n#id\n.class\narticle\n  font-family Arial, sans-serif\n\n#id,\n.class,\narticle {\n  font-family: Arial, sans-serif;\n}\n\n// Variables\nfont-size-base = 16px\nline-height-base = 1.5\nfont-family-base = \"Helvetica Neue\", Helvetica, Arial, sans-serif\ntext-color = lighten(#000, 20%)\n\nbody\n  font font-size-base/line-height-base font-family-base\n  color text-color\n\nbody {\n  font: 400 16px/1.5 \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n  color: #333;\n}\n\n// Variables\nlink-color = darken(#428bca, 6.5%)\nlink-hover-color = darken(link-color, 15%)\nlink-decoration = none\nlink-hover-decoration = false\n\n// Mixin\ntab-focus()\n  outline thin dotted\n  outline 5px auto -webkit-focus-ring-color\n  outline-offset -2px\n\na\n  color link-color\n  if link-decoration\n    text-decoration link-decoration\n  &:hover\n  &:focus\n    color link-hover-color\n    if link-hover-decoration\n      text-decoration link-hover-decoration\n  &:focus\n    tab-focus()\n\na {\n  color: #3782c4;\n  text-decoration: none;\n}\na:hover,\na:focus {\n  color: #2f6ea7;\n}\na:focus {\n  outline: thin dotted;\n  outline: 5px auto -webkit-focus-ring-color;\n  outline-offset: -2px;\n}\n</textarea>\n</form>\n<script>\n  var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n    extraKeys: {\"Ctrl-Space\": \"autocomplete\"},\n  });\n</script>\n\n<p><strong>MIME types defined:</strong> <code>text/x-styl</code>.</p>\n\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/stylus/stylus.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineMode(\"stylus\", function(config) {\n\n    var operatorsRegexp = /^(\\?:?|\\+[+=]?|-[\\-=]?|\\*[\\*=]?|\\/=?|[=!:\\?]?=|<=?|>=?|%=?|&&|\\|=?|\\~|!|\\^|\\\\)/,\n        delimitersRegexp = /^(?:[()\\[\\]{},:`=;]|\\.\\.?\\.?)/,\n        wordOperatorsRegexp = wordRegexp(wordOperators),\n        commonKeywordsRegexp = wordRegexp(commonKeywords),\n        commonAtomsRegexp = wordRegexp(commonAtoms),\n        commonDefRegexp = wordRegexp(commonDef),\n        vendorPrefixesRegexp = new RegExp(/^\\-(moz|ms|o|webkit)-/),\n        cssValuesWithBracketsRegexp = new RegExp(\"^(\" + cssValuesWithBrackets_.join(\"|\") + \")\\\\([\\\\w\\-\\\\#\\\\,\\\\.\\\\%\\\\s\\\\(\\\\)]*\\\\)\");\n\n    var tokenBase = function(stream, state) {\n\n      if (stream.eatSpace()) return null;\n\n      var ch = stream.peek();\n\n      // Single line Comment\n      if (stream.match('//')) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n\n      // Multiline Comment\n      if (stream.match('/*')) {\n        state.tokenizer = multilineComment;\n        return state.tokenizer(stream, state);\n      }\n\n      // Strings\n      if (ch === '\"' || ch === \"'\") {\n        stream.next();\n        state.tokenizer = buildStringTokenizer(ch);\n        return \"string\";\n      }\n\n      // Def\n      if (ch === \"@\") {\n        stream.next();\n        if (stream.match(/extend/)) {\n          dedent(state); // remove indentation after selectors\n        } else if (stream.match(/media[\\w-\\s]*[\\w-]/)) {\n          indent(state);\n        } else if(stream.eatWhile(/[\\w-]/)) {\n          if(stream.current().match(commonDefRegexp)) {\n            indent(state);\n          }\n        }\n        return \"def\";\n      }\n\n      // Number\n      if (stream.match(/^-?[0-9\\.]/, false)) {\n\n        // Floats\n        if (stream.match(/^-?\\d*\\.\\d+(e[\\+\\-]?\\d+)?/i) || stream.match(/^-?\\d+\\.\\d*/)) {\n\n          // Prevent from getting extra . on 1..\n          if (stream.peek() == \".\") {\n            stream.backUp(1);\n          }\n          // Units\n          stream.eatWhile(/[a-z%]/i);\n          return \"number\";\n        }\n        // Integers\n        if (stream.match(/^-?[1-9]\\d*(e[\\+\\-]?\\d+)?/) || stream.match(/^-?0(?![\\dx])/i)) {\n          // Units\n          stream.eatWhile(/[a-z%]/i);\n          return \"number\";\n        }\n      }\n\n      // Hex color and id selector\n      if (ch === \"#\") {\n        stream.next();\n\n        // Hex color\n        if (stream.match(/^[0-9a-f]{6}|[0-9a-f]{3}/i)) {\n          return \"atom\";\n        }\n\n        // ID selector\n        if (stream.match(/^[\\w-]+/i)) {\n          indent(state);\n          return \"builtin\";\n        }\n      }\n\n      // Vendor prefixes\n      if (stream.match(vendorPrefixesRegexp)) {\n        return \"meta\";\n      }\n\n      // Gradients and animation as CSS value\n      if (stream.match(cssValuesWithBracketsRegexp)) {\n        return \"atom\";\n      }\n\n      // Mixins / Functions with indentation\n      if (stream.sol() && stream.match(/^\\.?[a-z][\\w-]*\\(/i)) {\n        stream.backUp(1);\n        indent(state);\n        return \"keyword\";\n      }\n\n      // Mixins / Functions\n      if (stream.match(/^\\.?[a-z][\\w-]*\\(/i)) {\n        stream.backUp(1);\n        return \"keyword\";\n      }\n\n      // +Block mixins\n      if (stream.match(/^(\\+|\\-)[a-z][\\w-]+\\(/i)) {\n        stream.backUp(1);\n        indent(state);\n        return \"keyword\";\n      }\n\n      // url tokens\n      if (stream.match(/^url/) && stream.peek() === \"(\") {\n        state.tokenizer = urlTokens;\n        if(!stream.peek()) {\n          state.cursorHalf = 0;\n        }\n        return \"atom\";\n      }\n\n      // Class\n      if (stream.match(/^\\.[a-z][\\w-]*/i)) {\n        indent(state);\n        return \"qualifier\";\n      }\n\n      // & Parent Reference with BEM naming\n      if (stream.match(/^(_|__|-|--)[a-z0-9-]+/)) {\n        return \"qualifier\";\n      }\n\n      // Pseudo elements/classes\n      if (ch == ':' && stream.match(/^::?[\\w-]+/)) {\n        indent(state);\n        return \"variable-3\";\n      }\n\n      // Conditionals\n      if (stream.match(wordRegexp([\"for\", \"if\", \"else\", \"unless\"]))) {\n        indent(state);\n        return \"keyword\";\n      }\n\n      // Keywords\n      if (stream.match(commonKeywordsRegexp)) {\n        return \"keyword\";\n      }\n\n      // Atoms\n      if (stream.match(commonAtomsRegexp)) {\n        return \"atom\";\n      }\n\n      // Variables\n      if (stream.match(/^\\$?[a-z][\\w-]+\\s?=(\\s|[\\w-'\"\\$])/i)) {\n        stream.backUp(2);\n        var cssPropertie = stream.current().toLowerCase().match(/[\\w-]+/)[0];\n        return cssProperties[cssPropertie] === undefined ? \"variable-2\" : \"property\";\n      } else if (stream.match(/\\$[\\w-\\.]+/i)) {\n        return \"variable-2\";\n      } else if (stream.match(/\\$?[\\w-]+\\.[\\w-]+/i)) {\n        var cssTypeSelector = stream.current().toLowerCase().match(/[\\w]+/)[0];\n        if(cssTypeSelectors[cssTypeSelector] === undefined) {\n          return \"variable-2\";\n        } else stream.backUp(stream.current().length);\n      }\n\n      // !important\n      if (ch === \"!\") {\n        stream.next();\n        return stream.match(/^[\\w]+/) ? \"keyword\": \"operator\";\n      }\n\n      // / Root Reference\n      if (stream.match(/^\\/(:|\\.|#|[a-z])/)) {\n        stream.backUp(1);\n        return \"variable-3\";\n      }\n\n      // Operators and delimiters\n      if (stream.match(operatorsRegexp) || stream.match(wordOperatorsRegexp)) {\n        return \"operator\";\n      }\n      if (stream.match(delimitersRegexp)) {\n        return null;\n      }\n\n      // & Parent Reference\n      if (ch === \"&\") {\n        stream.next();\n        return \"variable-3\";\n      }\n\n      // Font family\n      if (stream.match(/^[A-Z][a-z0-9-]+/)) {\n        return \"string\";\n      }\n\n      // CSS rule\n      // NOTE: Some css selectors and property values have the same name\n      // (embed, menu, pre, progress, sub, table),\n      // so they will have the same color (.cm-atom).\n      if (stream.match(/[\\w-]*/i)) {\n\n        var word = stream.current().toLowerCase();\n\n        if(cssProperties[word] !== undefined) {\n          // CSS property\n          if(!stream.eol())\n            return \"property\";\n          else\n            return \"variable-2\";\n\n        } else if(cssValues[word] !== undefined) {\n          // CSS value\n          return \"atom\";\n\n        } else if(cssTypeSelectors[word] !== undefined) {\n          // CSS type selectors\n          indent(state);\n          return \"tag\";\n\n        } else if(word) {\n          // By default variable-2\n          return \"variable-2\";\n        }\n      }\n\n      // Handle non-detected items\n      stream.next();\n      return null;\n\n    };\n\n    var tokenLexer = function(stream, state) {\n\n      if (stream.sol()) {\n        state.indentCount = 0;\n      }\n\n      var style = state.tokenizer(stream, state);\n      var current = stream.current();\n\n      if (stream.eol() && (current === \"}\" || current === \",\")) {\n        dedent(state);\n      }\n\n      if (style !== null) {\n        var startOfToken = stream.pos - current.length;\n        var withCurrentIndent = startOfToken + (config.indentUnit * state.indentCount);\n\n        var newScopes = [];\n\n        for (var i = 0; i < state.scopes.length; i++) {\n          var scope = state.scopes[i];\n\n          if (scope.offset <= withCurrentIndent) {\n            newScopes.push(scope);\n          }\n        }\n\n        state.scopes = newScopes;\n      }\n\n      return style;\n    };\n\n    return {\n      startState: function() {\n        return {\n          tokenizer: tokenBase,\n          scopes: [{offset: 0, type: 'styl'}]\n        };\n      },\n\n      token: function(stream, state) {\n        var style = tokenLexer(stream, state);\n        state.lastToken = { style: style, content: stream.current() };\n        return style;\n      },\n\n      indent: function(state) {\n        return state.scopes[0].offset;\n      },\n\n      lineComment: \"//\",\n      fold: \"indent\"\n\n    };\n\n    function urlTokens(stream, state) {\n      var ch = stream.peek();\n\n      if (ch === \")\") {\n        stream.next();\n        state.tokenizer = tokenBase;\n        return \"operator\";\n      } else if (ch === \"(\") {\n        stream.next();\n        stream.eatSpace();\n\n        return \"operator\";\n      } else if (ch === \"'\" || ch === '\"') {\n        state.tokenizer = buildStringTokenizer(stream.next());\n        return \"string\";\n      } else {\n        state.tokenizer = buildStringTokenizer(\")\", false);\n        return \"string\";\n      }\n    }\n\n    function multilineComment(stream, state) {\n      if (stream.skipTo(\"*/\")) {\n        stream.next();\n        stream.next();\n        state.tokenizer = tokenBase;\n      } else {\n        stream.next();\n      }\n      return \"comment\";\n    }\n\n    function buildStringTokenizer(quote, greedy) {\n\n      if(greedy == null) {\n        greedy = true;\n      }\n\n      function stringTokenizer(stream, state) {\n        var nextChar = stream.next();\n        var peekChar = stream.peek();\n        var previousChar = stream.string.charAt(stream.pos-2);\n\n        var endingString = ((nextChar !== \"\\\\\" && peekChar === quote) ||\n                            (nextChar === quote && previousChar !== \"\\\\\"));\n\n        if (endingString) {\n          if (nextChar !== quote && greedy) {\n            stream.next();\n          }\n          state.tokenizer = tokenBase;\n          return \"string\";\n        } else if (nextChar === \"#\" && peekChar === \"{\") {\n          state.tokenizer = buildInterpolationTokenizer(stringTokenizer);\n          stream.next();\n          return \"operator\";\n        } else {\n          return \"string\";\n        }\n      }\n\n      return stringTokenizer;\n    }\n\n    function buildInterpolationTokenizer(currentTokenizer) {\n      return function(stream, state) {\n        if (stream.peek() === \"}\") {\n          stream.next();\n          state.tokenizer = currentTokenizer;\n          return \"operator\";\n        } else {\n          return tokenBase(stream, state);\n        }\n      };\n    }\n\n    function indent(state) {\n      if (state.indentCount == 0) {\n        state.indentCount++;\n        var lastScopeOffset = state.scopes[0].offset;\n        var currentOffset = lastScopeOffset + config.indentUnit;\n        state.scopes.unshift({ offset:currentOffset });\n      }\n    }\n\n    function dedent(state) {\n      if (state.scopes.length == 1) { return true; }\n      state.scopes.shift();\n    }\n\n  });\n\n  // https://developer.mozilla.org/en-US/docs/Web/HTML/Element\n  var cssTypeSelectors_ = [\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\", \"b\", \"base\",\"bdi\",\"bdo\",\"bgsound\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"marquee\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"nobr\",\"noframes\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"title\",\"tr\",\"track\",\"u\",\"ul\",\"var\",\"video\",\"wbr\"];\n  // https://github.com/csscomb/csscomb.js/blob/master/config/zen.json\n  var cssProperties_ = [\"position\",\"top\",\"right\",\"bottom\",\"left\",\"z-index\",\"display\",\"visibility\",\"flex-direction\",\"flex-order\",\"flex-pack\",\"float\",\"clear\",\"flex-align\",\"overflow\",\"overflow-x\",\"overflow-y\",\"overflow-scrolling\",\"clip\",\"box-sizing\",\"margin\",\"margin-top\",\"margin-right\",\"margin-bottom\",\"margin-left\",\"padding\",\"padding-top\",\"padding-right\",\"padding-bottom\",\"padding-left\",\"min-width\",\"min-height\",\"max-width\",\"max-height\",\"width\",\"height\",\"outline\",\"outline-width\",\"outline-style\",\"outline-color\",\"outline-offset\",\"border\",\"border-spacing\",\"border-collapse\",\"border-width\",\"border-style\",\"border-color\",\"border-top\",\"border-top-width\",\"border-top-style\",\"border-top-color\",\"border-right\",\"border-right-width\",\"border-right-style\",\"border-right-color\",\"border-bottom\",\"border-bottom-width\",\"border-bottom-style\",\"border-bottom-color\",\"border-left\",\"border-left-width\",\"border-left-style\",\"border-left-color\",\"border-radius\",\"border-top-left-radius\",\"border-top-right-radius\",\"border-bottom-right-radius\",\"border-bottom-left-radius\",\"border-image\",\"border-image-source\",\"border-image-slice\",\"border-image-width\",\"border-image-outset\",\"border-image-repeat\",\"border-top-image\",\"border-right-image\",\"border-bottom-image\",\"border-left-image\",\"border-corner-image\",\"border-top-left-image\",\"border-top-right-image\",\"border-bottom-right-image\",\"border-bottom-left-image\",\"background\",\"filter:progid:DXImageTransform\\\\.Microsoft\\\\.AlphaImageLoader\",\"background-color\",\"background-image\",\"background-attachment\",\"background-position\",\"background-position-x\",\"background-position-y\",\"background-clip\",\"background-origin\",\"background-size\",\"background-repeat\",\"box-decoration-break\",\"box-shadow\",\"color\",\"table-layout\",\"caption-side\",\"empty-cells\",\"list-style\",\"list-style-position\",\"list-style-type\",\"list-style-image\",\"quotes\",\"content\",\"counter-increment\",\"counter-reset\",\"writing-mode\",\"vertical-align\",\"text-align\",\"text-align-last\",\"text-decoration\",\"text-emphasis\",\"text-emphasis-position\",\"text-emphasis-style\",\"text-emphasis-color\",\"text-indent\",\"-ms-text-justify\",\"text-justify\",\"text-outline\",\"text-transform\",\"text-wrap\",\"text-overflow\",\"text-overflow-ellipsis\",\"text-overflow-mode\",\"text-size-adjust\",\"text-shadow\",\"white-space\",\"word-spacing\",\"word-wrap\",\"word-break\",\"tab-size\",\"hyphens\",\"letter-spacing\",\"font\",\"font-weight\",\"font-style\",\"font-variant\",\"font-size-adjust\",\"font-stretch\",\"font-size\",\"font-family\",\"src\",\"line-height\",\"opacity\",\"filter:\\\\\\\\\\\\\\\\'progid:DXImageTransform.Microsoft.Alpha\",\"filter:progid:DXImageTransform.Microsoft.Alpha\\\\(Opacity\",\"interpolation-mode\",\"filter\",\"resize\",\"cursor\",\"nav-index\",\"nav-up\",\"nav-right\",\"nav-down\",\"nav-left\",\"transition\",\"transition-delay\",\"transition-timing-function\",\"transition-duration\",\"transition-property\",\"transform\",\"transform-origin\",\"animation\",\"animation-name\",\"animation-duration\",\"animation-play-state\",\"animation-timing-function\",\"animation-delay\",\"animation-iteration-count\",\"animation-direction\",\"pointer-events\",\"unicode-bidi\",\"direction\",\"columns\",\"column-span\",\"column-width\",\"column-count\",\"column-fill\",\"column-gap\",\"column-rule\",\"column-rule-width\",\"column-rule-style\",\"column-rule-color\",\"break-before\",\"break-inside\",\"break-after\",\"page-break-before\",\"page-break-inside\",\"page-break-after\",\"orphans\",\"widows\",\"zoom\",\"max-zoom\",\"min-zoom\",\"user-zoom\",\"orientation\",\"text-rendering\",\"speak\",\"animation-fill-mode\",\"backface-visibility\",\"user-drag\",\"user-select\",\"appearance\"];\n  // https://github.com/codemirror/CodeMirror/blob/master/mode/css/css.js#L501\n  var cssValues_ = [\"above\",\"absolute\",\"activeborder\",\"activecaption\",\"afar\",\"after-white-space\",\"ahead\",\"alias\",\"all\",\"all-scroll\",\"alternate\",\"always\",\"amharic\",\"amharic-abegede\",\"antialiased\",\"appworkspace\",\"arabic-indic\",\"armenian\",\"asterisks\",\"auto\",\"avoid\",\"avoid-column\",\"avoid-page\",\"avoid-region\",\"background\",\"backwards\",\"baseline\",\"below\",\"bidi-override\",\"binary\",\"bengali\",\"block\",\"block-axis\",\"bold\",\"bolder\",\"border\",\"border-box\",\"both\",\"bottom\",\"break\",\"break-all\",\"break-word\",\"button-bevel\",\"buttonface\",\"buttonhighlight\",\"buttonshadow\",\"buttontext\",\"cambodian\",\"capitalize\",\"caps-lock-indicator\",\"captiontext\",\"caret\",\"cell\",\"center\",\"checkbox\",\"circle\",\"cjk-earthly-branch\",\"cjk-heavenly-stem\",\"cjk-ideographic\",\"clear\",\"clip\",\"close-quote\",\"col-resize\",\"collapse\",\"column\",\"compact\",\"condensed\",\"contain\",\"content\",\"content-box\",\"context-menu\",\"continuous\",\"copy\",\"cover\",\"crop\",\"cross\",\"crosshair\",\"currentcolor\",\"cursive\",\"dashed\",\"decimal\",\"decimal-leading-zero\",\"default\",\"default-button\",\"destination-atop\",\"destination-in\",\"destination-out\",\"destination-over\",\"devanagari\",\"disc\",\"discard\",\"document\",\"dot-dash\",\"dot-dot-dash\",\"dotted\",\"double\",\"down\",\"e-resize\",\"ease\",\"ease-in\",\"ease-in-out\",\"ease-out\",\"element\",\"ellipse\",\"ellipsis\",\"embed\",\"end\",\"ethiopic\",\"ethiopic-abegede\",\"ethiopic-abegede-am-et\",\"ethiopic-abegede-gez\",\"ethiopic-abegede-ti-er\",\"ethiopic-abegede-ti-et\",\"ethiopic-halehame-aa-er\",\"ethiopic-halehame-aa-et\",\"ethiopic-halehame-am-et\",\"ethiopic-halehame-gez\",\"ethiopic-halehame-om-et\",\"ethiopic-halehame-sid-et\",\"ethiopic-halehame-so-et\",\"ethiopic-halehame-ti-er\",\"ethiopic-halehame-ti-et\",\"ethiopic-halehame-tig\",\"ew-resize\",\"expanded\",\"extra-condensed\",\"extra-expanded\",\"fantasy\",\"fast\",\"fill\",\"fixed\",\"flat\",\"footnotes\",\"forwards\",\"from\",\"geometricPrecision\",\"georgian\",\"graytext\",\"groove\",\"gujarati\",\"gurmukhi\",\"hand\",\"hangul\",\"hangul-consonant\",\"hebrew\",\"help\",\"hidden\",\"hide\",\"higher\",\"highlight\",\"highlighttext\",\"hiragana\",\"hiragana-iroha\",\"horizontal\",\"hsl\",\"hsla\",\"icon\",\"ignore\",\"inactiveborder\",\"inactivecaption\",\"inactivecaptiontext\",\"infinite\",\"infobackground\",\"infotext\",\"inherit\",\"initial\",\"inline\",\"inline-axis\",\"inline-block\",\"inline-table\",\"inset\",\"inside\",\"intrinsic\",\"invert\",\"italic\",\"justify\",\"kannada\",\"katakana\",\"katakana-iroha\",\"keep-all\",\"khmer\",\"landscape\",\"lao\",\"large\",\"larger\",\"left\",\"level\",\"lighter\",\"line-through\",\"linear\",\"lines\",\"list-item\",\"listbox\",\"listitem\",\"local\",\"logical\",\"loud\",\"lower\",\"lower-alpha\",\"lower-armenian\",\"lower-greek\",\"lower-hexadecimal\",\"lower-latin\",\"lower-norwegian\",\"lower-roman\",\"lowercase\",\"ltr\",\"malayalam\",\"match\",\"media-controls-background\",\"media-current-time-display\",\"media-fullscreen-button\",\"media-mute-button\",\"media-play-button\",\"media-return-to-realtime-button\",\"media-rewind-button\",\"media-seek-back-button\",\"media-seek-forward-button\",\"media-slider\",\"media-sliderthumb\",\"media-time-remaining-display\",\"media-volume-slider\",\"media-volume-slider-container\",\"media-volume-sliderthumb\",\"medium\",\"menu\",\"menulist\",\"menulist-button\",\"menulist-text\",\"menulist-textfield\",\"menutext\",\"message-box\",\"middle\",\"min-intrinsic\",\"mix\",\"mongolian\",\"monospace\",\"move\",\"multiple\",\"myanmar\",\"n-resize\",\"narrower\",\"ne-resize\",\"nesw-resize\",\"no-close-quote\",\"no-drop\",\"no-open-quote\",\"no-repeat\",\"none\",\"normal\",\"not-allowed\",\"nowrap\",\"ns-resize\",\"nw-resize\",\"nwse-resize\",\"oblique\",\"octal\",\"open-quote\",\"optimizeLegibility\",\"optimizeSpeed\",\"oriya\",\"oromo\",\"outset\",\"outside\",\"outside-shape\",\"overlay\",\"overline\",\"padding\",\"padding-box\",\"painted\",\"page\",\"paused\",\"persian\",\"plus-darker\",\"plus-lighter\",\"pointer\",\"polygon\",\"portrait\",\"pre\",\"pre-line\",\"pre-wrap\",\"preserve-3d\",\"progress\",\"push-button\",\"radio\",\"read-only\",\"read-write\",\"read-write-plaintext-only\",\"rectangle\",\"region\",\"relative\",\"repeat\",\"repeat-x\",\"repeat-y\",\"reset\",\"reverse\",\"rgb\",\"rgba\",\"ridge\",\"right\",\"round\",\"row-resize\",\"rtl\",\"run-in\",\"running\",\"s-resize\",\"sans-serif\",\"scroll\",\"scrollbar\",\"se-resize\",\"searchfield\",\"searchfield-cancel-button\",\"searchfield-decoration\",\"searchfield-results-button\",\"searchfield-results-decoration\",\"semi-condensed\",\"semi-expanded\",\"separate\",\"serif\",\"show\",\"sidama\",\"single\",\"skip-white-space\",\"slide\",\"slider-horizontal\",\"slider-vertical\",\"sliderthumb-horizontal\",\"sliderthumb-vertical\",\"slow\",\"small-caps\",\"small-caption\",\"smaller\",\"solid\",\"somali\",\"source-atop\",\"source-in\",\"source-out\",\"source-over\",\"space\",\"square\",\"square-button\",\"start\",\"static\",\"status-bar\",\"stretch\",\"stroke\",\"sub\",\"subpixel-antialiased\",\"super\",\"sw-resize\",\"table\",\"table-caption\",\"table-cell\",\"table-column\",\"table-column-group\",\"table-footer-group\",\"table-header-group\",\"table-row\",\"table-row-group\",\"telugu\",\"text\",\"text-bottom\",\"text-top\",\"textfield\",\"thai\",\"thick\",\"thin\",\"threeddarkshadow\",\"threedface\",\"threedhighlight\",\"threedlightshadow\",\"threedshadow\",\"tibetan\",\"tigre\",\"tigrinya-er\",\"tigrinya-er-abegede\",\"tigrinya-et\",\"tigrinya-et-abegede\",\"to\",\"top\",\"transparent\",\"ultra-condensed\",\"ultra-expanded\",\"underline\",\"up\",\"upper-alpha\",\"upper-armenian\",\"upper-greek\",\"upper-hexadecimal\",\"upper-latin\",\"upper-norwegian\",\"upper-roman\",\"uppercase\",\"urdu\",\"url\",\"vertical\",\"vertical-text\",\"visible\",\"visibleFill\",\"visiblePainted\",\"visibleStroke\",\"visual\",\"w-resize\",\"wait\",\"wave\",\"wider\",\"window\",\"windowframe\",\"windowtext\",\"x-large\",\"x-small\",\"xor\",\"xx-large\",\"xx-small\",\"bicubic\",\"optimizespeed\",\"grayscale\"];\n  var cssColorValues_ = [\"aliceblue\",\"antiquewhite\",\"aqua\",\"aquamarine\",\"azure\",\"beige\",\"bisque\",\"black\",\"blanchedalmond\",\"blue\",\"blueviolet\",\"brown\",\"burlywood\",\"cadetblue\",\"chartreuse\",\"chocolate\",\"coral\",\"cornflowerblue\",\"cornsilk\",\"crimson\",\"cyan\",\"darkblue\",\"darkcyan\",\"darkgoldenrod\",\"darkgray\",\"darkgreen\",\"darkkhaki\",\"darkmagenta\",\"darkolivegreen\",\"darkorange\",\"darkorchid\",\"darkred\",\"darksalmon\",\"darkseagreen\",\"darkslateblue\",\"darkslategray\",\"darkturquoise\",\"darkviolet\",\"deeppink\",\"deepskyblue\",\"dimgray\",\"dodgerblue\",\"firebrick\",\"floralwhite\",\"forestgreen\",\"fuchsia\",\"gainsboro\",\"ghostwhite\",\"gold\",\"goldenrod\",\"gray\",\"grey\",\"green\",\"greenyellow\",\"honeydew\",\"hotpink\",\"indianred\",\"indigo\",\"ivory\",\"khaki\",\"lavender\",\"lavenderblush\",\"lawngreen\",\"lemonchiffon\",\"lightblue\",\"lightcoral\",\"lightcyan\",\"lightgoldenrodyellow\",\"lightgray\",\"lightgreen\",\"lightpink\",\"lightsalmon\",\"lightseagreen\",\"lightskyblue\",\"lightslategray\",\"lightsteelblue\",\"lightyellow\",\"lime\",\"limegreen\",\"linen\",\"magenta\",\"maroon\",\"mediumaquamarine\",\"mediumblue\",\"mediumorchid\",\"mediumpurple\",\"mediumseagreen\",\"mediumslateblue\",\"mediumspringgreen\",\"mediumturquoise\",\"mediumvioletred\",\"midnightblue\",\"mintcream\",\"mistyrose\",\"moccasin\",\"navajowhite\",\"navy\",\"oldlace\",\"olive\",\"olivedrab\",\"orange\",\"orangered\",\"orchid\",\"palegoldenrod\",\"palegreen\",\"paleturquoise\",\"palevioletred\",\"papayawhip\",\"peachpuff\",\"peru\",\"pink\",\"plum\",\"powderblue\",\"purple\",\"red\",\"rosybrown\",\"royalblue\",\"saddlebrown\",\"salmon\",\"sandybrown\",\"seagreen\",\"seashell\",\"sienna\",\"silver\",\"skyblue\",\"slateblue\",\"slategray\",\"snow\",\"springgreen\",\"steelblue\",\"tan\",\"teal\",\"thistle\",\"tomato\",\"turquoise\",\"violet\",\"wheat\",\"white\",\"whitesmoke\",\"yellow\",\"yellowgreen\"];\n  var cssValuesWithBrackets_ = [\"gradient\",\"linear-gradient\",\"radial-gradient\",\"repeating-linear-gradient\",\"repeating-radial-gradient\",\"cubic-bezier\",\"translateX\",\"translateY\",\"translate3d\",\"rotate3d\",\"scale\",\"scale3d\",\"perspective\",\"skewX\"];\n\n  var wordOperators = [\"in\", \"and\", \"or\", \"not\", \"is a\", \"is\", \"isnt\", \"defined\", \"if unless\"],\n      commonKeywords = [\"for\", \"if\", \"else\", \"unless\", \"return\"],\n      commonAtoms = [\"null\", \"true\", \"false\", \"href\", \"title\", \"type\", \"not-allowed\", \"readonly\", \"disabled\"],\n      commonDef = [\"@font-face\", \"@keyframes\", \"@media\", \"@viewport\", \"@page\", \"@host\", \"@supports\", \"@block\", \"@css\"],\n      cssTypeSelectors = keySet(cssTypeSelectors_),\n      cssProperties = keySet(cssProperties_),\n      cssValues = keySet(cssValues_.concat(cssColorValues_)),\n      hintWords = wordOperators.concat(commonKeywords,\n                                       commonAtoms,\n                                       commonDef,\n                                       cssTypeSelectors_,\n                                       cssProperties_,\n                                       cssValues_,\n                                       cssValuesWithBrackets_,\n                                       cssColorValues_);\n\n  function wordRegexp(words) {\n    return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\");\n  };\n\n  function keySet(array) {\n    var keys = {};\n    for (var i = 0; i < array.length; ++i) {\n      keys[array[i]] = true;\n    }\n    return keys;\n  };\n\n  CodeMirror.registerHelper(\"hintWords\", \"stylus\", hintWords);\n  CodeMirror.defineMIME(\"text/x-styl\", \"stylus\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/tcl/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Tcl mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/night.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"tcl.js\"></script>\n<script src=\"../../addon/scroll/scrollpastend.js\"></script>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Tcl</a>\n  </ul>\n</div>\n\n<article>\n<h2>Tcl mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n##############################################################################################\n##  ##     whois.tcl for eggdrop by Ford_Lawnmower irc.geekshed.net #Script-Help        ##  ##\n##############################################################################################\n## To use this script you must set channel flag +whois (ie .chanset #chan +whois)           ##\n##############################################################################################\n##      ____                __                 ###########################################  ##\n##     / __/___ _ ___ _ ___/ /____ ___   ___   ###########################################  ##\n##    / _/ / _ `// _ `// _  // __// _ \\ / _ \\  ###########################################  ##\n##   /___/ \\_, / \\_, / \\_,_//_/   \\___// .__/  ###########################################  ##\n##        /___/ /___/                 /_/      ###########################################  ##\n##                                             ###########################################  ##\n##############################################################################################\n##  ##                             Start Setup.                                         ##  ##\n##############################################################################################\nnamespace eval whois {\n## change cmdchar to the trigger you want to use                                        ##  ##\n  variable cmdchar \"!\"\n## change command to the word trigger you would like to use.                            ##  ##\n## Keep in mind, This will also change the .chanset +/-command                          ##  ##\n  variable command \"whois\"\n## change textf to the colors you want for the text.                                    ##  ##\n  variable textf \"\\017\\00304\"\n## change tagf to the colors you want for tags:                                         ##  ##\n  variable tagf \"\\017\\002\"\n## Change logo to the logo you want at the start of the line.                           ##  ##\n  variable logo \"\\017\\00304\\002\\[\\00306W\\003hois\\00304\\]\\017\"\n## Change lineout to the results you want. Valid results are channel users modes topic  ##  ##\n  variable lineout \"channel users modes topic\"\n##############################################################################################\n##  ##                           End Setup.                                              ## ##\n##############################################################################################\n  variable channel \"\"\n  setudef flag $whois::command\n  bind pub -|- [string trimleft $whois::cmdchar]${whois::command} whois::list\n  bind raw -|- \"311\" whois::311\n  bind raw -|- \"312\" whois::312\n  bind raw -|- \"319\" whois::319\n  bind raw -|- \"317\" whois::317\n  bind raw -|- \"313\" whois::multi\n  bind raw -|- \"310\" whois::multi\n  bind raw -|- \"335\" whois::multi\n  bind raw -|- \"301\" whois::301\n  bind raw -|- \"671\" whois::multi\n  bind raw -|- \"320\" whois::multi\n  bind raw -|- \"401\" whois::multi\n  bind raw -|- \"318\" whois::318\n  bind raw -|- \"307\" whois::307\n}\nproc whois::311 {from key text} {\n  if {[regexp -- {^[^\\s]+\\s(.+?)\\s(.+?)\\s(.+?)\\s\\*\\s\\:(.+)$} $text wholematch nick ident host realname]} {\n    putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Host:${whois::textf} \\\n        $nick \\(${ident}@${host}\\) ${whois::tagf}Realname:${whois::textf} $realname\"\n  }\n}\nproc whois::multi {from key text} {\n  if {[regexp {\\:(.*)$} $text match $key]} {\n    putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Note:${whois::textf} [subst $$key]\"\n        return 1\n  }\n}\nproc whois::312 {from key text} {\n  regexp {([^\\s]+)\\s\\:} $text match server\n  putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Server:${whois::textf} $server\"\n}\nproc whois::319 {from key text} {\n  if {[regexp {.+\\:(.+)$} $text match channels]} {\n    putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Channels:${whois::textf} $channels\"\n  }\n}\nproc whois::317 {from key text} {\n  if {[regexp -- {.*\\s(\\d+)\\s(\\d+)\\s\\:} $text wholematch idle signon]} {\n    putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Connected:${whois::textf} \\\n        [ctime $signon] ${whois::tagf}Idle:${whois::textf} [duration $idle]\"\n  }\n}\nproc whois::301 {from key text} {\n  if {[regexp {^.+\\s[^\\s]+\\s\\:(.*)$} $text match awaymsg]} {\n    putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Away:${whois::textf} $awaymsg\"\n  }\n}\nproc whois::318 {from key text} {\n  namespace eval whois {\n        variable channel \"\"\n  }\n  variable whois::channel \"\"\n}\nproc whois::307 {from key text} {\n  putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Services:${whois::textf} Registered Nick\"\n}\nproc whois::list {nick host hand chan text} {\n  if {[lsearch -exact [channel info $chan] \"+${whois::command}\"] != -1} {\n    namespace eval whois {\n          variable channel \"\"\n        }\n    variable whois::channel $chan\n    putserv \"WHOIS $text\"\n  }\n}\nputlog \"\\002*Loaded* \\017\\00304\\002\\[\\00306W\\003hois\\00304\\]\\017 \\002by \\\nFord_Lawnmower irc.GeekShed.net #Script-Help\"\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        theme: \"night\",\n        lineNumbers: true,\n        indentUnit: 2,\n        scrollPastEnd: true,\n        mode: \"text/x-tcl\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-tcl</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/tcl/tcl.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n//tcl mode by Ford_Lawnmower :: Based on Velocity mode by Steve O'Hara\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"tcl\", function() {\n  function parseWords(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var keywords = parseWords(\"Tcl safe after append array auto_execok auto_import auto_load \" +\n        \"auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror \" +\n        \"binary break catch cd close concat continue dde eof encoding error \" +\n        \"eval exec exit expr fblocked fconfigure fcopy file fileevent filename \" +\n        \"filename flush for foreach format gets glob global history http if \" +\n        \"incr info interp join lappend lindex linsert list llength load lrange \" +\n        \"lreplace lsearch lset lsort memory msgcat namespace open package parray \" +\n        \"pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp \" +\n        \"registry regsub rename resource return scan seek set socket source split \" +\n        \"string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord \" +\n        \"tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest \" +\n        \"tclvars tell time trace unknown unset update uplevel upvar variable \" +\n    \"vwait\");\n    var functions = parseWords(\"if elseif else and not or eq ne in ni for foreach while switch\");\n    var isOperatorChar = /[+\\-*&%=<>!?^\\/\\|]/;\n    function chain(stream, state, f) {\n      state.tokenize = f;\n      return f(stream, state);\n    }\n    function tokenBase(stream, state) {\n      var beforeParams = state.beforeParams;\n      state.beforeParams = false;\n      var ch = stream.next();\n      if ((ch == '\"' || ch == \"'\") && state.inParams)\n        return chain(stream, state, tokenString(ch));\n      else if (/[\\[\\]{}\\(\\),;\\.]/.test(ch)) {\n        if (ch == \"(\" && beforeParams) state.inParams = true;\n        else if (ch == \")\") state.inParams = false;\n          return null;\n      }\n      else if (/\\d/.test(ch)) {\n        stream.eatWhile(/[\\w\\.]/);\n        return \"number\";\n      }\n      else if (ch == \"#\" && stream.eat(\"*\")) {\n        return chain(stream, state, tokenComment);\n      }\n      else if (ch == \"#\" && stream.match(/ *\\[ *\\[/)) {\n        return chain(stream, state, tokenUnparsed);\n      }\n      else if (ch == \"#\" && stream.eat(\"#\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      else if (ch == '\"') {\n        stream.skipTo(/\"/);\n        return \"comment\";\n      }\n      else if (ch == \"$\") {\n        stream.eatWhile(/[$_a-z0-9A-Z\\.{:]/);\n        stream.eatWhile(/}/);\n        state.beforeParams = true;\n        return \"builtin\";\n      }\n      else if (isOperatorChar.test(ch)) {\n        stream.eatWhile(isOperatorChar);\n        return \"comment\";\n      }\n      else {\n        stream.eatWhile(/[\\w\\$_{}\\xa1-\\uffff]/);\n        var word = stream.current().toLowerCase();\n        if (keywords && keywords.propertyIsEnumerable(word))\n          return \"keyword\";\n        if (functions && functions.propertyIsEnumerable(word)) {\n          state.beforeParams = true;\n          return \"keyword\";\n        }\n        return null;\n      }\n    }\n    function tokenString(quote) {\n      return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {\n          end = true;\n          break;\n        }\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end) state.tokenize = tokenBase;\n        return \"string\";\n      };\n    }\n    function tokenComment(stream, state) {\n      var maybeEnd = false, ch;\n      while (ch = stream.next()) {\n        if (ch == \"#\" && maybeEnd) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        maybeEnd = (ch == \"*\");\n      }\n      return \"comment\";\n    }\n    function tokenUnparsed(stream, state) {\n      var maybeEnd = 0, ch;\n      while (ch = stream.next()) {\n        if (ch == \"#\" && maybeEnd == 2) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        if (ch == \"]\")\n          maybeEnd++;\n        else if (ch != \" \")\n          maybeEnd = 0;\n      }\n      return \"meta\";\n    }\n    return {\n      startState: function() {\n        return {\n          tokenize: tokenBase,\n          beforeParams: false,\n          inParams: false\n        };\n      },\n      token: function(stream, state) {\n        if (stream.eatSpace()) return null;\n        return state.tokenize(stream, state);\n      }\n    };\n});\nCodeMirror.defineMIME(\"text/x-tcl\", \"tcl\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/textile/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Textile mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"textile.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=\"active\" href=\"#\">Textile</a>\n  </ul>\n</div>\n\n<article>\n    <h2>Textile mode</h2>\n    <form><textarea id=\"code\" name=\"code\">\nh1. Textile Mode\n\nA paragraph without formatting.\n\np. A simple Paragraph.\n\n\nh2. Phrase Modifiers\n\nHere are some simple phrase modifiers: *strong*, _emphasis_, **bold**, and __italic__.\n\nA ??citation??, -deleted text-, +inserted text+, some ^superscript^, and some ~subscript~.\n\nA %span element% and @code element@\n\nA \"link\":http://example.com, a \"link with (alt text)\":urlAlias\n\n[urlAlias]http://example.com/\n\nAn image: !http://example.com/image.png! and an image with a link: !http://example.com/image.png!:http://example.com\n\nA sentence with a footnote.[123]\n\nfn123. The footnote is defined here.\n\nRegistered(r), Trademark(tm), and Copyright(c)\n\n\nh2. Headers\n\nh1. Top level\nh2. Second level\nh3. Third level\nh4. Fourth level\nh5. Fifth level\nh6. Lowest level\n\n\nh2.  Lists\n\n* An unordered list\n** foo bar\n*** foo bar\n**** foo bar\n** foo bar\n\n# An ordered list\n## foo bar\n### foo bar\n#### foo bar\n## foo bar\n\n- definition list := description\n- another item    := foo bar\n- spanning ines   :=\n                     foo bar\n\n                     foo bar =:\n\n\nh2. Attributes\n\nLayouts and phrase modifiers can be modified with various kinds of attributes: alignment, CSS ID, CSS class names, language, padding, and CSS styles.\n\nh3. Alignment\n\ndiv<. left align\ndiv>. right align\n\nh3. CSS ID and class name\n\nYou are a %(my-id#my-classname) rad% person.\n\nh3. Language\n\np[en_CA]. Strange weather, eh?\n\nh3. Horizontal Padding\n\np(())). 2em left padding, 3em right padding\n\nh3. CSS styling\n\np{background: red}. Fire!\n\n\nh2. Table\n\n|_.              Header 1               |_.      Header 2        |\n|{background:#ddd}. Cell with background|         Normal         |\n|\\2.         Cell spanning 2 columns                             |\n|/2.         Cell spanning 2 rows       |(cell-class). one       |\n|                                                two             |\n|>.                  Right aligned cell |<. Left aligned cell    |\n\n\nh3. A table with attributes:\n\ntable(#prices).\n|Adults|$5|\n|Children|$2|\n\n\nh2. Code blocks\n\nbc.\nfunction factorial(n) {\n    if (n === 0) {\n        return 1;\n    }\n    return n * factorial(n - 1);\n}\n\npre..\n                ,,,,,,\n            o#'9MMHb':'-,o,\n         .oH\":HH$' \"' ' -*R&o,\n        dMMM*\"\"'`'      .oM\"HM?.\n       ,MMM'          \"HLbd< ?&H\\\n      .:MH .\"\\          ` MM  MM&b\n     . \"*H    -        &MMMMMMMMMH:\n     .    dboo        MMMMMMMMMMMM.\n     .   dMMMMMMb      *MMMMMMMMMP.\n     .    MMMMMMMP        *MMMMMP .\n          `#MMMMM           MM6P ,\n       '    `MMMP\"           HM*`,\n        '    :MM             .- ,\n         '.   `#?..  .       ..'\n            -.   .         .-\n              ''-.oo,oo.-''\n\n\\. _(9>\n \\==_)\n  -'=\n\nh2. Temporarily disabling textile markup\n\nnotextile. Don't __touch this!__\n\nSurround text with double-equals to disable textile inline. Example: Use ==*asterisks*== for *strong* text.\n\n\nh2. HTML\n\nSome block layouts are simply textile versions of HTML tags with the same name, like @div@, @pre@, and @p@. HTML tags can also exist on their own line:\n\n<section>\n  <h1>Title</h1>\n  <p>Hello!</p>\n</section>\n\n</textarea></form>\n    <script>\n        var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n            lineNumbers: true,\n            mode: \"text/x-textile\"\n        });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-textile</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#textile_*\">normal</a>,  <a href=\"../../test/index.html#verbose,textile_*\">verbose</a>.</p>\n\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/textile/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({tabSize: 4}, 'textile');\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT('simpleParagraphs',\n      'Some text.',\n      '',\n      'Some more text.');\n\n  /*\n   * Phrase Modifiers\n   */\n\n  MT('em',\n      'foo [em _bar_]');\n\n  MT('emBoogus',\n      'code_mirror');\n\n  MT('strong',\n      'foo [strong *bar*]');\n\n  MT('strongBogus',\n      '3 * 3 = 9');\n\n  MT('italic',\n      'foo [em __bar__]');\n\n  MT('italicBogus',\n      'code__mirror');\n\n  MT('bold',\n      'foo [strong **bar**]');\n\n  MT('boldBogus',\n      '3 ** 3 = 27');\n\n  MT('simpleLink',\n      '[link \"CodeMirror\":http://codemirror.net]');\n\n  MT('referenceLink',\n      '[link \"CodeMirror\":code_mirror]',\n      'Normal Text.',\n      '[link [[code_mirror]]http://codemirror.net]');\n\n  MT('footCite',\n      'foo bar[qualifier [[1]]]');\n\n  MT('footCiteBogus',\n      'foo bar[[1a2]]');\n\n  MT('special-characters',\n          'Registered [tag (r)], ' +\n          'Trademark [tag (tm)], and ' +\n          'Copyright [tag (c)] 2008');\n\n  MT('cite',\n      \"A book is [keyword ??The Count of Monte Cristo??] by Dumas.\");\n\n  MT('additionAndDeletion',\n      'The news networks declared [negative -Al Gore-] ' +\n        '[positive +George W. Bush+] the winner in Florida.');\n\n  MT('subAndSup',\n      'f(x, n) = log [builtin ~4~] x [builtin ^n^]');\n\n  MT('spanAndCode',\n      'A [quote %span element%] and [atom @code element@]');\n\n  MT('spanBogus',\n      'Percentage 25% is not a span.');\n\n  MT('citeBogus',\n      'Question? is not a citation.');\n\n  MT('codeBogus',\n      'user@example.com');\n\n  MT('subBogus',\n      '~username');\n\n  MT('supBogus',\n      'foo ^ bar');\n\n  MT('deletionBogus',\n      '3 - 3 = 0');\n\n  MT('additionBogus',\n      '3 + 3 = 6');\n\n  MT('image',\n      'An image: [string !http://www.example.com/image.png!]');\n\n  MT('imageWithAltText',\n      'An image: [string !http://www.example.com/image.png (Alt Text)!]');\n\n  MT('imageWithUrl',\n      'An image: [string !http://www.example.com/image.png!:http://www.example.com/]');\n\n  /*\n   * Headers\n   */\n\n  MT('h1',\n      '[header&header-1 h1. foo]');\n\n  MT('h2',\n      '[header&header-2 h2. foo]');\n\n  MT('h3',\n      '[header&header-3 h3. foo]');\n\n  MT('h4',\n      '[header&header-4 h4. foo]');\n\n  MT('h5',\n      '[header&header-5 h5. foo]');\n\n  MT('h6',\n      '[header&header-6 h6. foo]');\n\n  MT('h7Bogus',\n      'h7. foo');\n\n  MT('multipleHeaders',\n      '[header&header-1 h1. Heading 1]',\n      '',\n      'Some text.',\n      '',\n      '[header&header-2 h2. Heading 2]',\n      '',\n      'More text.');\n\n  MT('h1inline',\n      '[header&header-1 h1. foo ][header&header-1&em _bar_][header&header-1  baz]');\n\n  /*\n   * Lists\n   */\n\n  MT('ul',\n      'foo',\n      'bar',\n      '',\n      '[variable-2 * foo]',\n      '[variable-2 * bar]');\n\n  MT('ulNoBlank',\n      'foo',\n      'bar',\n      '[variable-2 * foo]',\n      '[variable-2 * bar]');\n\n  MT('ol',\n      'foo',\n      'bar',\n      '',\n      '[variable-2 # foo]',\n      '[variable-2 # bar]');\n\n  MT('olNoBlank',\n      'foo',\n      'bar',\n      '[variable-2 # foo]',\n      '[variable-2 # bar]');\n\n  MT('ulFormatting',\n      '[variable-2 * ][variable-2&em _foo_][variable-2  bar]',\n      '[variable-2 * ][variable-2&strong *][variable-2&em&strong _foo_]' +\n        '[variable-2&strong *][variable-2  bar]',\n      '[variable-2 * ][variable-2&strong *foo*][variable-2  bar]');\n\n  MT('olFormatting',\n      '[variable-2 # ][variable-2&em _foo_][variable-2  bar]',\n      '[variable-2 # ][variable-2&strong *][variable-2&em&strong _foo_]' +\n        '[variable-2&strong *][variable-2  bar]',\n      '[variable-2 # ][variable-2&strong *foo*][variable-2  bar]');\n\n  MT('ulNested',\n      '[variable-2 * foo]',\n      '[variable-3 ** bar]',\n      '[keyword *** bar]',\n      '[variable-2 **** bar]',\n      '[variable-3 ** bar]');\n\n  MT('olNested',\n      '[variable-2 # foo]',\n      '[variable-3 ## bar]',\n      '[keyword ### bar]',\n      '[variable-2 #### bar]',\n      '[variable-3 ## bar]');\n\n  MT('ulNestedWithOl',\n      '[variable-2 * foo]',\n      '[variable-3 ## bar]',\n      '[keyword *** bar]',\n      '[variable-2 #### bar]',\n      '[variable-3 ** bar]');\n\n  MT('olNestedWithUl',\n      '[variable-2 # foo]',\n      '[variable-3 ** bar]',\n      '[keyword ### bar]',\n      '[variable-2 **** bar]',\n      '[variable-3 ## bar]');\n\n  MT('definitionList',\n      '[number - coffee := Hot ][number&em _and_][number  black]',\n      '',\n      'Normal text.');\n\n  MT('definitionListSpan',\n      '[number - coffee :=]',\n      '',\n      '[number Hot ][number&em _and_][number  black =:]',\n      '',\n      'Normal text.');\n\n  MT('boo',\n      '[number - dog := woof woof]',\n      '[number - cat := meow meow]',\n      '[number - whale :=]',\n      '[number Whale noises.]',\n      '',\n      '[number Also, ][number&em _splashing_][number . =:]');\n\n  /*\n   * Attributes\n   */\n\n  MT('divWithAttribute',\n      '[punctuation div][punctuation&attribute (#my-id)][punctuation . foo bar]');\n\n  MT('divWithAttributeAnd2emRightPadding',\n      '[punctuation div][punctuation&attribute (#my-id)((][punctuation . foo bar]');\n\n  MT('divWithClassAndId',\n      '[punctuation div][punctuation&attribute (my-class#my-id)][punctuation . foo bar]');\n\n  MT('paragraphWithCss',\n      'p[attribute {color:red;}]. foo bar');\n\n  MT('paragraphNestedStyles',\n      'p. [strong *foo ][strong&em _bar_][strong *]');\n\n  MT('paragraphWithLanguage',\n      'p[attribute [[fr]]]. Parlez-vous français?');\n\n  MT('paragraphLeftAlign',\n      'p[attribute <]. Left');\n\n  MT('paragraphRightAlign',\n      'p[attribute >]. Right');\n\n  MT('paragraphRightAlign',\n      'p[attribute =]. Center');\n\n  MT('paragraphJustified',\n      'p[attribute <>]. Justified');\n\n  MT('paragraphWithLeftIndent1em',\n      'p[attribute (]. Left');\n\n  MT('paragraphWithRightIndent1em',\n      'p[attribute )]. Right');\n\n  MT('paragraphWithLeftIndent2em',\n      'p[attribute ((]. Left');\n\n  MT('paragraphWithRightIndent2em',\n      'p[attribute ))]. Right');\n\n  MT('paragraphWithLeftIndent3emRightIndent2em',\n      'p[attribute ((())]. Right');\n\n  MT('divFormatting',\n      '[punctuation div. ][punctuation&strong *foo ]' +\n        '[punctuation&strong&em _bar_][punctuation&strong *]');\n\n  MT('phraseModifierAttributes',\n      'p[attribute (my-class)]. This is a paragraph that has a class and' +\n      ' this [em _][em&attribute (#special-phrase)][em emphasized phrase_]' +\n      ' has an id.');\n\n  MT('linkWithClass',\n      '[link \"(my-class). This is a link with class\":http://redcloth.org]');\n\n  /*\n   * Layouts\n   */\n\n  MT('paragraphLayouts',\n      'p. This is one paragraph.',\n      '',\n      'p. This is another.');\n\n  MT('div',\n      '[punctuation div. foo bar]');\n\n  MT('pre',\n      '[operator pre. Text]');\n\n  MT('bq.',\n      '[bracket bq. foo bar]',\n      '',\n      'Normal text.');\n\n  MT('footnote',\n      '[variable fn123. foo ][variable&strong *bar*]');\n\n  /*\n   * Spanning Layouts\n   */\n\n  MT('bq..ThenParagraph',\n      '[bracket bq.. foo bar]',\n      '',\n      '[bracket More quote.]',\n      'p. Normal Text');\n\n  MT('bq..ThenH1',\n      '[bracket bq.. foo bar]',\n      '',\n      '[bracket More quote.]',\n      '[header&header-1 h1. Header Text]');\n\n  MT('bc..ThenParagraph',\n      '[atom bc.. # Some ruby code]',\n      '[atom obj = {foo: :bar}]',\n      '[atom puts obj]',\n      '',\n      '[atom obj[[:love]] = \"*love*\"]',\n      '[atom puts obj.love.upcase]',\n      '',\n      'p. Normal text.');\n\n  MT('fn1..ThenParagraph',\n      '[variable fn1.. foo bar]',\n      '',\n      '[variable More.]',\n      'p. Normal Text');\n\n  MT('pre..ThenParagraph',\n      '[operator pre.. foo bar]',\n      '',\n      '[operator More.]',\n      'p. Normal Text');\n\n  /*\n   * Tables\n   */\n\n  MT('table',\n      '[variable-3&operator |_. name |_. age|]',\n      '[variable-3 |][variable-3&strong *Walter*][variable-3 |   5  |]',\n      '[variable-3 |Florence|   6  |]',\n      '',\n      'p. Normal text.');\n\n  MT('tableWithAttributes',\n      '[variable-3&operator |_. name |_. age|]',\n      '[variable-3 |][variable-3&attribute /2.][variable-3  Jim |]',\n      '[variable-3 |][variable-3&attribute \\\\2{color: red}.][variable-3  Sam |]');\n\n  /*\n   * HTML\n   */\n\n  MT('html',\n      '[comment <div id=\"wrapper\">]',\n      '[comment <section id=\"introduction\">]',\n      '',\n      '[header&header-1 h1. Welcome]',\n      '',\n      '[variable-2 * Item one]',\n      '[variable-2 * Item two]',\n      '',\n      '[comment <a href=\"http://example.com\">Example</a>]',\n      '',\n      '[comment </section>]',\n      '[comment </div>]');\n\n  MT('inlineHtml',\n      'I can use HTML directly in my [comment <span class=\"youbetcha\">Textile</span>].');\n\n  /*\n   * No-Textile\n   */\n\n  MT('notextile',\n    '[string-2 notextile. *No* formatting]');\n\n  MT('notextileInline',\n      'Use [string-2 ==*asterisks*==] for [strong *strong*] text.');\n\n  MT('notextileWithPre',\n      '[operator pre. *No* formatting]');\n\n  MT('notextileWithSpanningPre',\n      '[operator pre.. *No* formatting]',\n      '',\n      '[operator *No* formatting]');\n\n  /* Only toggling phrases between non-word chars. */\n\n  MT('phrase-in-word',\n     'foo_bar_baz');\n\n  MT('phrase-non-word',\n     '[negative -x-] aaa-bbb ccc-ddd [negative -eee-] fff [negative -ggg-]');\n\n  MT('phrase-lone-dash',\n     'foo - bar - baz');\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/textile/textile.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") { // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  } else if (typeof define == \"function\" && define.amd) { // AMD\n    define([\"../../lib/codemirror\"], mod);\n  } else { // Plain browser env\n    mod(CodeMirror);\n  }\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var TOKEN_STYLES = {\n    addition: \"positive\",\n    attributes: \"attribute\",\n    bold: \"strong\",\n    cite: \"keyword\",\n    code: \"atom\",\n    definitionList: \"number\",\n    deletion: \"negative\",\n    div: \"punctuation\",\n    em: \"em\",\n    footnote: \"variable\",\n    footCite: \"qualifier\",\n    header: \"header\",\n    html: \"comment\",\n    image: \"string\",\n    italic: \"em\",\n    link: \"link\",\n    linkDefinition: \"link\",\n    list1: \"variable-2\",\n    list2: \"variable-3\",\n    list3: \"keyword\",\n    notextile: \"string-2\",\n    pre: \"operator\",\n    p: \"property\",\n    quote: \"bracket\",\n    span: \"quote\",\n    specialChar: \"tag\",\n    strong: \"strong\",\n    sub: \"builtin\",\n    sup: \"builtin\",\n    table: \"variable-3\",\n    tableHeading: \"operator\"\n  };\n\n  function startNewLine(stream, state) {\n    state.mode = Modes.newLayout;\n    state.tableHeading = false;\n\n    if (state.layoutType === \"definitionList\" && state.spanningLayout &&\n        stream.match(RE(\"definitionListEnd\"), false))\n      state.spanningLayout = false;\n  }\n\n  function handlePhraseModifier(stream, state, ch) {\n    if (ch === \"_\") {\n      if (stream.eat(\"_\"))\n        return togglePhraseModifier(stream, state, \"italic\", /__/, 2);\n      else\n        return togglePhraseModifier(stream, state, \"em\", /_/, 1);\n    }\n\n    if (ch === \"*\") {\n      if (stream.eat(\"*\")) {\n        return togglePhraseModifier(stream, state, \"bold\", /\\*\\*/, 2);\n      }\n      return togglePhraseModifier(stream, state, \"strong\", /\\*/, 1);\n    }\n\n    if (ch === \"[\") {\n      if (stream.match(/\\d+\\]/)) state.footCite = true;\n      return tokenStyles(state);\n    }\n\n    if (ch === \"(\") {\n      var spec = stream.match(/^(r|tm|c)\\)/);\n      if (spec)\n        return tokenStylesWith(state, TOKEN_STYLES.specialChar);\n    }\n\n    if (ch === \"<\" && stream.match(/(\\w+)[^>]+>[^<]+<\\/\\1>/))\n      return tokenStylesWith(state, TOKEN_STYLES.html);\n\n    if (ch === \"?\" && stream.eat(\"?\"))\n      return togglePhraseModifier(stream, state, \"cite\", /\\?\\?/, 2);\n\n    if (ch === \"=\" && stream.eat(\"=\"))\n      return togglePhraseModifier(stream, state, \"notextile\", /==/, 2);\n\n    if (ch === \"-\" && !stream.eat(\"-\"))\n      return togglePhraseModifier(stream, state, \"deletion\", /-/, 1);\n\n    if (ch === \"+\")\n      return togglePhraseModifier(stream, state, \"addition\", /\\+/, 1);\n\n    if (ch === \"~\")\n      return togglePhraseModifier(stream, state, \"sub\", /~/, 1);\n\n    if (ch === \"^\")\n      return togglePhraseModifier(stream, state, \"sup\", /\\^/, 1);\n\n    if (ch === \"%\")\n      return togglePhraseModifier(stream, state, \"span\", /%/, 1);\n\n    if (ch === \"@\")\n      return togglePhraseModifier(stream, state, \"code\", /@/, 1);\n\n    if (ch === \"!\") {\n      var type = togglePhraseModifier(stream, state, \"image\", /(?:\\([^\\)]+\\))?!/, 1);\n      stream.match(/^:\\S+/); // optional Url portion\n      return type;\n    }\n    return tokenStyles(state);\n  }\n\n  function togglePhraseModifier(stream, state, phraseModifier, closeRE, openSize) {\n    var charBefore = stream.pos > openSize ? stream.string.charAt(stream.pos - openSize - 1) : null;\n    var charAfter = stream.peek();\n    if (state[phraseModifier]) {\n      if ((!charAfter || /\\W/.test(charAfter)) && charBefore && /\\S/.test(charBefore)) {\n        var type = tokenStyles(state);\n        state[phraseModifier] = false;\n        return type;\n      }\n    } else if ((!charBefore || /\\W/.test(charBefore)) && charAfter && /\\S/.test(charAfter) &&\n               stream.match(new RegExp(\"^.*\\\\S\" + closeRE.source + \"(?:\\\\W|$)\"), false)) {\n      state[phraseModifier] = true;\n      state.mode = Modes.attributes;\n    }\n    return tokenStyles(state);\n  };\n\n  function tokenStyles(state) {\n    var disabled = textileDisabled(state);\n    if (disabled) return disabled;\n\n    var styles = [];\n    if (state.layoutType) styles.push(TOKEN_STYLES[state.layoutType]);\n\n    styles = styles.concat(activeStyles(\n      state, \"addition\", \"bold\", \"cite\", \"code\", \"deletion\", \"em\", \"footCite\",\n      \"image\", \"italic\", \"link\", \"span\", \"strong\", \"sub\", \"sup\", \"table\", \"tableHeading\"));\n\n    if (state.layoutType === \"header\")\n      styles.push(TOKEN_STYLES.header + \"-\" + state.header);\n\n    return styles.length ? styles.join(\" \") : null;\n  }\n\n  function textileDisabled(state) {\n    var type = state.layoutType;\n\n    switch(type) {\n    case \"notextile\":\n    case \"code\":\n    case \"pre\":\n      return TOKEN_STYLES[type];\n    default:\n      if (state.notextile)\n        return TOKEN_STYLES.notextile + (type ? (\" \" + TOKEN_STYLES[type]) : \"\");\n      return null;\n    }\n  }\n\n  function tokenStylesWith(state, extraStyles) {\n    var disabled = textileDisabled(state);\n    if (disabled) return disabled;\n\n    var type = tokenStyles(state);\n    if (extraStyles)\n      return type ? (type + \" \" + extraStyles) : extraStyles;\n    else\n      return type;\n  }\n\n  function activeStyles(state) {\n    var styles = [];\n    for (var i = 1; i < arguments.length; ++i) {\n      if (state[arguments[i]])\n        styles.push(TOKEN_STYLES[arguments[i]]);\n    }\n    return styles;\n  }\n\n  function blankLine(state) {\n    var spanningLayout = state.spanningLayout, type = state.layoutType;\n\n    for (var key in state) if (state.hasOwnProperty(key))\n      delete state[key];\n\n    state.mode = Modes.newLayout;\n    if (spanningLayout) {\n      state.layoutType = type;\n      state.spanningLayout = true;\n    }\n  }\n\n  var REs = {\n    cache: {},\n    single: {\n      bc: \"bc\",\n      bq: \"bq\",\n      definitionList: /- [^(?::=)]+:=+/,\n      definitionListEnd: /.*=:\\s*$/,\n      div: \"div\",\n      drawTable: /\\|.*\\|/,\n      foot: /fn\\d+/,\n      header: /h[1-6]/,\n      html: /\\s*<(?:\\/)?(\\w+)(?:[^>]+)?>(?:[^<]+<\\/\\1>)?/,\n      link: /[^\"]+\":\\S/,\n      linkDefinition: /\\[[^\\s\\]]+\\]\\S+/,\n      list: /(?:#+|\\*+)/,\n      notextile: \"notextile\",\n      para: \"p\",\n      pre: \"pre\",\n      table: \"table\",\n      tableCellAttributes: /[\\/\\\\]\\d+/,\n      tableHeading: /\\|_\\./,\n      tableText: /[^\"_\\*\\[\\(\\?\\+~\\^%@|-]+/,\n      text: /[^!\"_=\\*\\[\\(<\\?\\+~\\^%@-]+/\n    },\n    attributes: {\n      align: /(?:<>|<|>|=)/,\n      selector: /\\([^\\(][^\\)]+\\)/,\n      lang: /\\[[^\\[\\]]+\\]/,\n      pad: /(?:\\(+|\\)+){1,2}/,\n      css: /\\{[^\\}]+\\}/\n    },\n    createRe: function(name) {\n      switch (name) {\n      case \"drawTable\":\n        return REs.makeRe(\"^\", REs.single.drawTable, \"$\");\n      case \"html\":\n        return REs.makeRe(\"^\", REs.single.html, \"(?:\", REs.single.html, \")*\", \"$\");\n      case \"linkDefinition\":\n        return REs.makeRe(\"^\", REs.single.linkDefinition, \"$\");\n      case \"listLayout\":\n        return REs.makeRe(\"^\", REs.single.list, RE(\"allAttributes\"), \"*\\\\s+\");\n      case \"tableCellAttributes\":\n        return REs.makeRe(\"^\", REs.choiceRe(REs.single.tableCellAttributes,\n                                            RE(\"allAttributes\")), \"+\\\\.\");\n      case \"type\":\n        return REs.makeRe(\"^\", RE(\"allTypes\"));\n      case \"typeLayout\":\n        return REs.makeRe(\"^\", RE(\"allTypes\"), RE(\"allAttributes\"),\n                          \"*\\\\.\\\\.?\", \"(\\\\s+|$)\");\n      case \"attributes\":\n        return REs.makeRe(\"^\", RE(\"allAttributes\"), \"+\");\n\n      case \"allTypes\":\n        return REs.choiceRe(REs.single.div, REs.single.foot,\n                            REs.single.header, REs.single.bc, REs.single.bq,\n                            REs.single.notextile, REs.single.pre, REs.single.table,\n                            REs.single.para);\n\n      case \"allAttributes\":\n        return REs.choiceRe(REs.attributes.selector, REs.attributes.css,\n                            REs.attributes.lang, REs.attributes.align, REs.attributes.pad);\n\n      default:\n        return REs.makeRe(\"^\", REs.single[name]);\n      }\n    },\n    makeRe: function() {\n      var pattern = \"\";\n      for (var i = 0; i < arguments.length; ++i) {\n        var arg = arguments[i];\n        pattern += (typeof arg === \"string\") ? arg : arg.source;\n      }\n      return new RegExp(pattern);\n    },\n    choiceRe: function() {\n      var parts = [arguments[0]];\n      for (var i = 1; i < arguments.length; ++i) {\n        parts[i * 2 - 1] = \"|\";\n        parts[i * 2] = arguments[i];\n      }\n\n      parts.unshift(\"(?:\");\n      parts.push(\")\");\n      return REs.makeRe.apply(null, parts);\n    }\n  };\n\n  function RE(name) {\n    return (REs.cache[name] || (REs.cache[name] = REs.createRe(name)));\n  }\n\n  var Modes = {\n    newLayout: function(stream, state) {\n      if (stream.match(RE(\"typeLayout\"), false)) {\n        state.spanningLayout = false;\n        return (state.mode = Modes.blockType)(stream, state);\n      }\n      var newMode;\n      if (!textileDisabled(state)) {\n        if (stream.match(RE(\"listLayout\"), false))\n          newMode = Modes.list;\n        else if (stream.match(RE(\"drawTable\"), false))\n          newMode = Modes.table;\n        else if (stream.match(RE(\"linkDefinition\"), false))\n          newMode = Modes.linkDefinition;\n        else if (stream.match(RE(\"definitionList\")))\n          newMode = Modes.definitionList;\n        else if (stream.match(RE(\"html\"), false))\n          newMode = Modes.html;\n      }\n      return (state.mode = (newMode || Modes.text))(stream, state);\n    },\n\n    blockType: function(stream, state) {\n      var match, type;\n      state.layoutType = null;\n\n      if (match = stream.match(RE(\"type\")))\n        type = match[0];\n      else\n        return (state.mode = Modes.text)(stream, state);\n\n      if (match = type.match(RE(\"header\"))) {\n        state.layoutType = \"header\";\n        state.header = parseInt(match[0][1]);\n      } else if (type.match(RE(\"bq\"))) {\n        state.layoutType = \"quote\";\n      } else if (type.match(RE(\"bc\"))) {\n        state.layoutType = \"code\";\n      } else if (type.match(RE(\"foot\"))) {\n        state.layoutType = \"footnote\";\n      } else if (type.match(RE(\"notextile\"))) {\n        state.layoutType = \"notextile\";\n      } else if (type.match(RE(\"pre\"))) {\n        state.layoutType = \"pre\";\n      } else if (type.match(RE(\"div\"))) {\n        state.layoutType = \"div\";\n      } else if (type.match(RE(\"table\"))) {\n        state.layoutType = \"table\";\n      }\n\n      state.mode = Modes.attributes;\n      return tokenStyles(state);\n    },\n\n    text: function(stream, state) {\n      if (stream.match(RE(\"text\"))) return tokenStyles(state);\n\n      var ch = stream.next();\n      if (ch === '\"')\n        return (state.mode = Modes.link)(stream, state);\n      return handlePhraseModifier(stream, state, ch);\n    },\n\n    attributes: function(stream, state) {\n      state.mode = Modes.layoutLength;\n\n      if (stream.match(RE(\"attributes\")))\n        return tokenStylesWith(state, TOKEN_STYLES.attributes);\n      else\n        return tokenStyles(state);\n    },\n\n    layoutLength: function(stream, state) {\n      if (stream.eat(\".\") && stream.eat(\".\"))\n        state.spanningLayout = true;\n\n      state.mode = Modes.text;\n      return tokenStyles(state);\n    },\n\n    list: function(stream, state) {\n      var match = stream.match(RE(\"list\"));\n      state.listDepth = match[0].length;\n      var listMod = (state.listDepth - 1) % 3;\n      if (!listMod)\n        state.layoutType = \"list1\";\n      else if (listMod === 1)\n        state.layoutType = \"list2\";\n      else\n        state.layoutType = \"list3\";\n\n      state.mode = Modes.attributes;\n      return tokenStyles(state);\n    },\n\n    link: function(stream, state) {\n      state.mode = Modes.text;\n      if (stream.match(RE(\"link\"))) {\n        stream.match(/\\S+/);\n        return tokenStylesWith(state, TOKEN_STYLES.link);\n      }\n      return tokenStyles(state);\n    },\n\n    linkDefinition: function(stream, state) {\n      stream.skipToEnd();\n      return tokenStylesWith(state, TOKEN_STYLES.linkDefinition);\n    },\n\n    definitionList: function(stream, state) {\n      stream.match(RE(\"definitionList\"));\n\n      state.layoutType = \"definitionList\";\n\n      if (stream.match(/\\s*$/))\n        state.spanningLayout = true;\n      else\n        state.mode = Modes.attributes;\n\n      return tokenStyles(state);\n    },\n\n    html: function(stream, state) {\n      stream.skipToEnd();\n      return tokenStylesWith(state, TOKEN_STYLES.html);\n    },\n\n    table: function(stream, state) {\n      state.layoutType = \"table\";\n      return (state.mode = Modes.tableCell)(stream, state);\n    },\n\n    tableCell: function(stream, state) {\n      if (stream.match(RE(\"tableHeading\")))\n        state.tableHeading = true;\n      else\n        stream.eat(\"|\");\n\n      state.mode = Modes.tableCellAttributes;\n      return tokenStyles(state);\n    },\n\n    tableCellAttributes: function(stream, state) {\n      state.mode = Modes.tableText;\n\n      if (stream.match(RE(\"tableCellAttributes\")))\n        return tokenStylesWith(state, TOKEN_STYLES.attributes);\n      else\n        return tokenStyles(state);\n    },\n\n    tableText: function(stream, state) {\n      if (stream.match(RE(\"tableText\")))\n        return tokenStyles(state);\n\n      if (stream.peek() === \"|\") { // end of cell\n        state.mode = Modes.tableCell;\n        return tokenStyles(state);\n      }\n      return handlePhraseModifier(stream, state, stream.next());\n    }\n  };\n\n  CodeMirror.defineMode(\"textile\", function() {\n    return {\n      startState: function() {\n        return { mode: Modes.newLayout };\n      },\n      token: function(stream, state) {\n        if (stream.sol()) startNewLine(stream, state);\n        return state.mode(stream, state);\n      },\n      blankLine: blankLine\n    };\n  });\n\n  CodeMirror.defineMIME(\"text/x-textile\", \"textile\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/tiddlywiki/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: TiddlyWiki mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"tiddlywiki.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"tiddlywiki.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">TiddlyWiki</a>\n  </ul>\n</div>\n\n<article>\n<h2>TiddlyWiki mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n!TiddlyWiki Formatting\n* Rendered versions can be found at: http://www.tiddlywiki.com/#Reference\n\n|!Option            | !Syntax            |\n|bold font          | ''bold''           |\n|italic type        | //italic//         |\n|underlined text    | __underlined__     |\n|strikethrough text | --strikethrough--  |\n|superscript text   | super^^script^^    |\n|subscript text     | sub~~script~~      |\n|highlighted text   | @@highlighted@@    |\n|preformatted text  | {{{preformatted}}} |\n\n!Block Elements\n<<<\n!Heading 1\n\n!!Heading 2\n\n!!!Heading 3\n\n!!!!Heading 4\n\n!!!!!Heading 5\n<<<\n\n!!Lists\n<<<\n* unordered list, level 1\n** unordered list, level 2\n*** unordered list, level 3\n\n# ordered list, level 1\n## ordered list, level 2\n### unordered list, level 3\n\n; definition list, term\n: definition list, description\n<<<\n\n!!Blockquotes\n<<<\n> blockquote, level 1\n>> blockquote, level 2\n>>> blockquote, level 3\n\n> blockquote\n<<<\n\n!!Preformatted Text\n<<<\n{{{\npreformatted (e.g. code)\n}}}\n<<<\n\n!!Code Sections\n<<<\n{{{\nText style code\n}}}\n\n//{{{\nJS styled code. TiddlyWiki mixed mode should support highlighter switching in the future.\n//}}}\n\n<!--{{{-->\nXML styled code. TiddlyWiki mixed mode should support highlighter switching in the future.\n<!--}}}-->\n<<<\n\n!!Tables\n<<<\n|CssClass|k\n|!heading column 1|!heading column 2|\n|row 1, column 1|row 1, column 2|\n|row 2, column 1|row 2, column 2|\n|>|COLSPAN|\n|ROWSPAN| ... |\n|~| ... |\n|CssProperty:value;...| ... |\n|caption|c\n\n''Annotation:''\n* The {{{>}}} marker creates a \"colspan\", causing the current cell to merge with the one to the right.\n* The {{{~}}} marker creates a \"rowspan\", causing the current cell to merge with the one above.\n<<<\n!!Images /% TODO %/\ncf. [[TiddlyWiki.com|http://www.tiddlywiki.com/#EmbeddedImages]]\n\n!Hyperlinks\n* [[WikiWords|WikiWord]] are automatically transformed to hyperlinks to the respective tiddler\n** the automatic transformation can be suppressed by preceding the respective WikiWord with a tilde ({{{~}}}): {{{~WikiWord}}}\n* [[PrettyLinks]] are enclosed in square brackets and contain the desired tiddler name: {{{[[tiddler name]]}}}\n** optionally, a custom title or description can be added, separated by a pipe character ({{{|}}}): {{{[[title|target]]}}}<br>'''N.B.:''' In this case, the target can also be any website (i.e. URL).\n\n!Custom Styling\n* {{{@@CssProperty:value;CssProperty:value;...@@}}}<br>''N.B.:'' CSS color definitions should use lowercase letters to prevent the inadvertent creation of WikiWords.\n* <html><code>{{customCssClass{...}}}</code></html>\n* raw HTML can be inserted by enclosing the respective code in HTML tags: {{{<html> ... </html>}}}\n\n!Special Markers\n* {{{<br>}}} forces a manual line break\n* {{{----}}} creates a horizontal ruler\n* [[HTML entities|http://www.tiddlywiki.com/#HtmlEntities]]\n* [[HTML entities local|HtmlEntities]]\n* {{{<<macroName>>}}} calls the respective [[macro|Macros]]\n* To hide text within a tiddler so that it is not displayed, it can be wrapped in {{{/%}}} and {{{%/}}}.<br/>This can be a useful trick for hiding drafts or annotating complex markup.\n* To prevent wiki markup from taking effect for a particular section, that section can be enclosed in three double quotes: e.g. {{{\"\"\"WikiWord\"\"\"}}}.\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: 'tiddlywiki',      \n        lineNumbers: true,\n        matchBrackets: true\n      });\n    </script>\n\n    <p>TiddlyWiki mode supports a single configuration.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-tiddlywiki</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/tiddlywiki/tiddlywiki.css",
    "content": "span.cm-underlined {\n  text-decoration: underline;\n}\nspan.cm-strikethrough {\n  text-decoration: line-through;\n}\nspan.cm-brace {\n  color: #170;\n  font-weight: bold;\n}\nspan.cm-table {\n  color: blue;\n  font-weight: bold;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/tiddlywiki/tiddlywiki.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/***\n    |''Name''|tiddlywiki.js|\n    |''Description''|Enables TiddlyWikiy syntax highlighting using CodeMirror|\n    |''Author''|PMario|\n    |''Version''|0.1.7|\n    |''Status''|''stable''|\n    |''Source''|[[GitHub|https://github.com/pmario/CodeMirror2/blob/tw-syntax/mode/tiddlywiki]]|\n    |''Documentation''|http://codemirror.tiddlyspace.com/|\n    |''License''|[[MIT License|http://www.opensource.org/licenses/mit-license.php]]|\n    |''CoreVersion''|2.5.0|\n    |''Requires''|codemirror.js|\n    |''Keywords''|syntax highlighting color code mirror codemirror|\n    ! Info\n    CoreVersion parameter is needed for TiddlyWiki only!\n***/\n//{{{\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"tiddlywiki\", function () {\n  // Tokenizer\n  var textwords = {};\n\n  var keywords = function () {\n    function kw(type) {\n      return { type: type, style: \"macro\"};\n    }\n    return {\n      \"allTags\": kw('allTags'), \"closeAll\": kw('closeAll'), \"list\": kw('list'),\n      \"newJournal\": kw('newJournal'), \"newTiddler\": kw('newTiddler'),\n      \"permaview\": kw('permaview'), \"saveChanges\": kw('saveChanges'),\n      \"search\": kw('search'), \"slider\": kw('slider'),   \"tabs\": kw('tabs'),\n      \"tag\": kw('tag'), \"tagging\": kw('tagging'),       \"tags\": kw('tags'),\n      \"tiddler\": kw('tiddler'), \"timeline\": kw('timeline'),\n      \"today\": kw('today'), \"version\": kw('version'),   \"option\": kw('option'),\n\n      \"with\": kw('with'),\n      \"filter\": kw('filter')\n    };\n  }();\n\n  var isSpaceName = /[\\w_\\-]/i,\n  reHR = /^\\-\\-\\-\\-+$/,                                 // <hr>\n  reWikiCommentStart = /^\\/\\*\\*\\*$/,            // /***\n  reWikiCommentStop = /^\\*\\*\\*\\/$/,             // ***/\n  reBlockQuote = /^<<<$/,\n\n  reJsCodeStart = /^\\/\\/\\{\\{\\{$/,                       // //{{{ js block start\n  reJsCodeStop = /^\\/\\/\\}\\}\\}$/,                        // //}}} js stop\n  reXmlCodeStart = /^<!--\\{\\{\\{-->$/,           // xml block start\n  reXmlCodeStop = /^<!--\\}\\}\\}-->$/,            // xml stop\n\n  reCodeBlockStart = /^\\{\\{\\{$/,                        // {{{ TW text div block start\n  reCodeBlockStop = /^\\}\\}\\}$/,                 // }}} TW text stop\n\n  reUntilCodeStop = /.*?\\}\\}\\}/;\n\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n\n  // Used as scratch variables to communicate multiple values without\n  // consing up tons of objects.\n  var type, content;\n\n  function ret(tp, style, cont) {\n    type = tp;\n    content = cont;\n    return style;\n  }\n\n  function jsTokenBase(stream, state) {\n    var sol = stream.sol(), ch;\n\n    state.block = false;        // indicates the start of a code block.\n\n    ch = stream.peek();         // don't eat, to make matching simpler\n\n    // check start of  blocks\n    if (sol && /[<\\/\\*{}\\-]/.test(ch)) {\n      if (stream.match(reCodeBlockStart)) {\n        state.block = true;\n        return chain(stream, state, twTokenCode);\n      }\n      if (stream.match(reBlockQuote)) {\n        return ret('quote', 'quote');\n      }\n      if (stream.match(reWikiCommentStart) || stream.match(reWikiCommentStop)) {\n        return ret('code', 'comment');\n      }\n      if (stream.match(reJsCodeStart) || stream.match(reJsCodeStop) || stream.match(reXmlCodeStart) || stream.match(reXmlCodeStop)) {\n        return ret('code', 'comment');\n      }\n      if (stream.match(reHR)) {\n        return ret('hr', 'hr');\n      }\n    } // sol\n    ch = stream.next();\n\n    if (sol && /[\\/\\*!#;:>|]/.test(ch)) {\n      if (ch == \"!\") { // tw header\n        stream.skipToEnd();\n        return ret(\"header\", \"header\");\n      }\n      if (ch == \"*\") { // tw list\n        stream.eatWhile('*');\n        return ret(\"list\", \"comment\");\n      }\n      if (ch == \"#\") { // tw numbered list\n        stream.eatWhile('#');\n        return ret(\"list\", \"comment\");\n      }\n      if (ch == \";\") { // definition list, term\n        stream.eatWhile(';');\n        return ret(\"list\", \"comment\");\n      }\n      if (ch == \":\") { // definition list, description\n        stream.eatWhile(':');\n        return ret(\"list\", \"comment\");\n      }\n      if (ch == \">\") { // single line quote\n        stream.eatWhile(\">\");\n        return ret(\"quote\", \"quote\");\n      }\n      if (ch == '|') {\n        return ret('table', 'header');\n      }\n    }\n\n    if (ch == '{' && stream.match(/\\{\\{/)) {\n      return chain(stream, state, twTokenCode);\n    }\n\n    // rudimentary html:// file:// link matching. TW knows much more ...\n    if (/[hf]/i.test(ch)) {\n      if (/[ti]/i.test(stream.peek()) && stream.match(/\\b(ttps?|tp|ile):\\/\\/[\\-A-Z0-9+&@#\\/%?=~_|$!:,.;]*[A-Z0-9+&@#\\/%=~_|$]/i)) {\n        return ret(\"link\", \"link\");\n      }\n    }\n    // just a little string indicator, don't want to have the whole string covered\n    if (ch == '\"') {\n      return ret('string', 'string');\n    }\n    if (ch == '~') {    // _no_ CamelCase indicator should be bold\n      return ret('text', 'brace');\n    }\n    if (/[\\[\\]]/.test(ch)) { // check for [[..]]\n      if (stream.peek() == ch) {\n        stream.next();\n        return ret('brace', 'brace');\n      }\n    }\n    if (ch == \"@\") {    // check for space link. TODO fix @@...@@ highlighting\n      stream.eatWhile(isSpaceName);\n      return ret(\"link\", \"link\");\n    }\n    if (/\\d/.test(ch)) {        // numbers\n      stream.eatWhile(/\\d/);\n      return ret(\"number\", \"number\");\n    }\n    if (ch == \"/\") { // tw invisible comment\n      if (stream.eat(\"%\")) {\n        return chain(stream, state, twTokenComment);\n      }\n      else if (stream.eat(\"/\")) { //\n        return chain(stream, state, twTokenEm);\n      }\n    }\n    if (ch == \"_\") { // tw underline\n      if (stream.eat(\"_\")) {\n        return chain(stream, state, twTokenUnderline);\n      }\n    }\n    // strikethrough and mdash handling\n    if (ch == \"-\") {\n      if (stream.eat(\"-\")) {\n        // if strikethrough looks ugly, change CSS.\n        if (stream.peek() != ' ')\n          return chain(stream, state, twTokenStrike);\n        // mdash\n        if (stream.peek() == ' ')\n          return ret('text', 'brace');\n      }\n    }\n    if (ch == \"'\") { // tw bold\n      if (stream.eat(\"'\")) {\n        return chain(stream, state, twTokenStrong);\n      }\n    }\n    if (ch == \"<\") { // tw macro\n      if (stream.eat(\"<\")) {\n        return chain(stream, state, twTokenMacro);\n      }\n    }\n    else {\n      return ret(ch);\n    }\n\n    // core macro handling\n    stream.eatWhile(/[\\w\\$_]/);\n    var word = stream.current(),\n    known = textwords.propertyIsEnumerable(word) && textwords[word];\n\n    return known ? ret(known.type, known.style, word) : ret(\"text\", null, word);\n\n  } // jsTokenBase()\n\n  // tw invisible comment\n  function twTokenComment(stream, state) {\n    var maybeEnd = false,\n    ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = jsTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"%\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  // tw strong / bold\n  function twTokenStrong(stream, state) {\n    var maybeEnd = false,\n    ch;\n    while (ch = stream.next()) {\n      if (ch == \"'\" && maybeEnd) {\n        state.tokenize = jsTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"'\");\n    }\n    return ret(\"text\", \"strong\");\n  }\n\n  // tw code\n  function twTokenCode(stream, state) {\n    var ch, sb = state.block;\n\n    if (sb && stream.current()) {\n      return ret(\"code\", \"comment\");\n    }\n\n    if (!sb && stream.match(reUntilCodeStop)) {\n      state.tokenize = jsTokenBase;\n      return ret(\"code\", \"comment\");\n    }\n\n    if (sb && stream.sol() && stream.match(reCodeBlockStop)) {\n      state.tokenize = jsTokenBase;\n      return ret(\"code\", \"comment\");\n    }\n\n    ch = stream.next();\n    return (sb) ? ret(\"code\", \"comment\") : ret(\"code\", \"comment\");\n  }\n\n  // tw em / italic\n  function twTokenEm(stream, state) {\n    var maybeEnd = false,\n    ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = jsTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"/\");\n    }\n    return ret(\"text\", \"em\");\n  }\n\n  // tw underlined text\n  function twTokenUnderline(stream, state) {\n    var maybeEnd = false,\n    ch;\n    while (ch = stream.next()) {\n      if (ch == \"_\" && maybeEnd) {\n        state.tokenize = jsTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"_\");\n    }\n    return ret(\"text\", \"underlined\");\n  }\n\n  // tw strike through text looks ugly\n  // change CSS if needed\n  function twTokenStrike(stream, state) {\n    var maybeEnd = false, ch;\n\n    while (ch = stream.next()) {\n      if (ch == \"-\" && maybeEnd) {\n        state.tokenize = jsTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"-\");\n    }\n    return ret(\"text\", \"strikethrough\");\n  }\n\n  // macro\n  function twTokenMacro(stream, state) {\n    var ch, word, known;\n\n    if (stream.current() == '<<') {\n      return ret('brace', 'macro');\n    }\n\n    ch = stream.next();\n    if (!ch) {\n      state.tokenize = jsTokenBase;\n      return ret(ch);\n    }\n    if (ch == \">\") {\n      if (stream.peek() == '>') {\n        stream.next();\n        state.tokenize = jsTokenBase;\n        return ret(\"brace\", \"macro\");\n      }\n    }\n\n    stream.eatWhile(/[\\w\\$_]/);\n    word = stream.current();\n    known = keywords.propertyIsEnumerable(word) && keywords[word];\n\n    if (known) {\n      return ret(known.type, known.style, word);\n    }\n    else {\n      return ret(\"macro\", null, word);\n    }\n  }\n\n  // Interface\n  return {\n    startState: function () {\n      return {\n        tokenize: jsTokenBase,\n        indented: 0,\n        level: 0\n      };\n    },\n\n    token: function (stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      return style;\n    },\n\n    electricChars: \"\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-tiddlywiki\", \"tiddlywiki\");\n});\n\n//}}}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/tiki/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Tiki wiki mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"tiki.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"tiki.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Tiki wiki</a>\n  </ul>\n</div>\n\n<article>\n<h2>Tiki wiki mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\nHeadings\n!Header 1\n!!Header 2\n!!!Header 3\n!!!!Header 4\n!!!!!Header 5\n!!!!!!Header 6\n\nStyling\n-=titlebar=-\n^^ Box on multi\nlines\nof content^^\n__bold__\n''italic''\n===underline===\n::center::\n--Line Through--\n\nOperators\n~np~No parse~/np~\n\nLink\n[link|desc|nocache]\n\nWiki\n((Wiki))\n((Wiki|desc))\n((Wiki|desc|timeout))\n\nTable\n||row1 col1|row1 col2|row1 col3\nrow2 col1|row2 col2|row2 col3\nrow3 col1|row3 col2|row3 col3||\n\nLists:\n*bla\n**bla-1\n++continue-bla-1\n***bla-2\n++continue-bla-1\n*bla\n+continue-bla\n#bla\n** tra-la-la\n+continue-bla\n#bla\n\nPlugin (standard):\n{PLUGIN(attr=\"my attr\")}\nPlugin Body\n{PLUGIN}\n\nPlugin (inline):\n{plugin attr=\"my attr\"}\n</textarea></div>\n\n<script type=\"text/javascript\">\n\tvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: 'tiki',      \n        lineNumbers: true\n    });\n</script>\n\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/tiki/tiki.css",
    "content": ".cm-tw-syntaxerror {\n\tcolor: #FFF;\n\tbackground-color: #900;\n}\n\n.cm-tw-deleted {\n\ttext-decoration: line-through;\n}\n\n.cm-tw-header5 {\n\tfont-weight: bold;\n}\n.cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/\n\tpadding-left: 10px;\n}\n\n.cm-tw-box {\n\tborder-top-width: 0px ! important;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tborder-color: inherit;\n}\n\n.cm-tw-underline {\n\ttext-decoration: underline;\n}"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/tiki/tiki.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode('tiki', function(config) {\n  function inBlock(style, terminator, returnTokenizer) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.match(terminator)) {\n          state.tokenize = inText;\n          break;\n        }\n        stream.next();\n      }\n\n      if (returnTokenizer) state.tokenize = returnTokenizer;\n\n      return style;\n    };\n  }\n\n  function inLine(style) {\n    return function(stream, state) {\n      while(!stream.eol()) {\n        stream.next();\n      }\n      state.tokenize = inText;\n      return style;\n    };\n  }\n\n  function inText(stream, state) {\n    function chain(parser) {\n      state.tokenize = parser;\n      return parser(stream, state);\n    }\n\n    var sol = stream.sol();\n    var ch = stream.next();\n\n    //non start of line\n    switch (ch) { //switch is generally much faster than if, so it is used here\n    case \"{\": //plugin\n      stream.eat(\"/\");\n      stream.eatSpace();\n      var tagName = \"\";\n      var c;\n      while ((c = stream.eat(/[^\\s\\u00a0=\\\"\\'\\/?(}]/))) tagName += c;\n      state.tokenize = inPlugin;\n      return \"tag\";\n      break;\n    case \"_\": //bold\n      if (stream.eat(\"_\")) {\n        return chain(inBlock(\"strong\", \"__\", inText));\n      }\n      break;\n    case \"'\": //italics\n      if (stream.eat(\"'\")) {\n        // Italic text\n        return chain(inBlock(\"em\", \"''\", inText));\n      }\n      break;\n    case \"(\":// Wiki Link\n      if (stream.eat(\"(\")) {\n        return chain(inBlock(\"variable-2\", \"))\", inText));\n      }\n      break;\n    case \"[\":// Weblink\n      return chain(inBlock(\"variable-3\", \"]\", inText));\n      break;\n    case \"|\": //table\n      if (stream.eat(\"|\")) {\n        return chain(inBlock(\"comment\", \"||\"));\n      }\n      break;\n    case \"-\":\n      if (stream.eat(\"=\")) {//titleBar\n        return chain(inBlock(\"header string\", \"=-\", inText));\n      } else if (stream.eat(\"-\")) {//deleted\n        return chain(inBlock(\"error tw-deleted\", \"--\", inText));\n      }\n      break;\n    case \"=\": //underline\n      if (stream.match(\"==\")) {\n        return chain(inBlock(\"tw-underline\", \"===\", inText));\n      }\n      break;\n    case \":\":\n      if (stream.eat(\":\")) {\n        return chain(inBlock(\"comment\", \"::\"));\n      }\n      break;\n    case \"^\": //box\n      return chain(inBlock(\"tw-box\", \"^\"));\n      break;\n    case \"~\": //np\n      if (stream.match(\"np~\")) {\n        return chain(inBlock(\"meta\", \"~/np~\"));\n      }\n      break;\n    }\n\n    //start of line types\n    if (sol) {\n      switch (ch) {\n      case \"!\": //header at start of line\n        if (stream.match('!!!!!')) {\n          return chain(inLine(\"header string\"));\n        } else if (stream.match('!!!!')) {\n          return chain(inLine(\"header string\"));\n        } else if (stream.match('!!!')) {\n          return chain(inLine(\"header string\"));\n        } else if (stream.match('!!')) {\n          return chain(inLine(\"header string\"));\n        } else {\n          return chain(inLine(\"header string\"));\n        }\n        break;\n      case \"*\": //unordered list line item, or <li /> at start of line\n      case \"#\": //ordered list line item, or <li /> at start of line\n      case \"+\": //ordered list line item, or <li /> at start of line\n        return chain(inLine(\"tw-listitem bracket\"));\n        break;\n      }\n    }\n\n    //stream.eatWhile(/[&{]/); was eating up plugins, turned off to act less like html and more like tiki\n    return null;\n  }\n\n  var indentUnit = config.indentUnit;\n\n  // Return variables for tokenizers\n  var pluginName, type;\n  function inPlugin(stream, state) {\n    var ch = stream.next();\n    var peek = stream.peek();\n\n    if (ch == \"}\") {\n      state.tokenize = inText;\n      //type = ch == \")\" ? \"endPlugin\" : \"selfclosePlugin\"; inPlugin\n      return \"tag\";\n    } else if (ch == \"(\" || ch == \")\") {\n      return \"bracket\";\n    } else if (ch == \"=\") {\n      type = \"equals\";\n\n      if (peek == \">\") {\n        ch = stream.next();\n        peek = stream.peek();\n      }\n\n      //here we detect values directly after equal character with no quotes\n      if (!/[\\'\\\"]/.test(peek)) {\n        state.tokenize = inAttributeNoQuote();\n      }\n      //end detect values\n\n      return \"operator\";\n    } else if (/[\\'\\\"]/.test(ch)) {\n      state.tokenize = inAttribute(ch);\n      return state.tokenize(stream, state);\n    } else {\n      stream.eatWhile(/[^\\s\\u00a0=\\\"\\'\\/?]/);\n      return \"keyword\";\n    }\n  }\n\n  function inAttribute(quote) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.next() == quote) {\n          state.tokenize = inPlugin;\n          break;\n        }\n      }\n      return \"string\";\n    };\n  }\n\n  function inAttributeNoQuote() {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        var ch = stream.next();\n        var peek = stream.peek();\n        if (ch == \" \" || ch == \",\" || /[ )}]/.test(peek)) {\n      state.tokenize = inPlugin;\n      break;\n    }\n  }\n  return \"string\";\n};\n                     }\n\nvar curState, setStyle;\nfunction pass() {\n  for (var i = arguments.length - 1; i >= 0; i--) curState.cc.push(arguments[i]);\n}\n\nfunction cont() {\n  pass.apply(null, arguments);\n  return true;\n}\n\nfunction pushContext(pluginName, startOfLine) {\n  var noIndent = curState.context && curState.context.noIndent;\n  curState.context = {\n    prev: curState.context,\n    pluginName: pluginName,\n    indent: curState.indented,\n    startOfLine: startOfLine,\n    noIndent: noIndent\n  };\n}\n\nfunction popContext() {\n  if (curState.context) curState.context = curState.context.prev;\n}\n\nfunction element(type) {\n  if (type == \"openPlugin\") {curState.pluginName = pluginName; return cont(attributes, endplugin(curState.startOfLine));}\n  else if (type == \"closePlugin\") {\n    var err = false;\n    if (curState.context) {\n      err = curState.context.pluginName != pluginName;\n      popContext();\n    } else {\n      err = true;\n    }\n    if (err) setStyle = \"error\";\n    return cont(endcloseplugin(err));\n  }\n  else if (type == \"string\") {\n    if (!curState.context || curState.context.name != \"!cdata\") pushContext(\"!cdata\");\n    if (curState.tokenize == inText) popContext();\n    return cont();\n  }\n  else return cont();\n}\n\nfunction endplugin(startOfLine) {\n  return function(type) {\n    if (\n      type == \"selfclosePlugin\" ||\n        type == \"endPlugin\"\n    )\n      return cont();\n    if (type == \"endPlugin\") {pushContext(curState.pluginName, startOfLine); return cont();}\n    return cont();\n  };\n}\n\nfunction endcloseplugin(err) {\n  return function(type) {\n    if (err) setStyle = \"error\";\n    if (type == \"endPlugin\") return cont();\n    return pass();\n  };\n}\n\nfunction attributes(type) {\n  if (type == \"keyword\") {setStyle = \"attribute\"; return cont(attributes);}\n  if (type == \"equals\") return cont(attvalue, attributes);\n  return pass();\n}\nfunction attvalue(type) {\n  if (type == \"keyword\") {setStyle = \"string\"; return cont();}\n  if (type == \"string\") return cont(attvaluemaybe);\n  return pass();\n}\nfunction attvaluemaybe(type) {\n  if (type == \"string\") return cont(attvaluemaybe);\n  else return pass();\n}\nreturn {\n  startState: function() {\n    return {tokenize: inText, cc: [], indented: 0, startOfLine: true, pluginName: null, context: null};\n  },\n  token: function(stream, state) {\n    if (stream.sol()) {\n      state.startOfLine = true;\n      state.indented = stream.indentation();\n    }\n    if (stream.eatSpace()) return null;\n\n    setStyle = type = pluginName = null;\n    var style = state.tokenize(stream, state);\n    if ((style || type) && style != \"comment\") {\n      curState = state;\n      while (true) {\n        var comb = state.cc.pop() || element;\n        if (comb(type || style)) break;\n      }\n    }\n    state.startOfLine = false;\n    return setStyle || style;\n  },\n  indent: function(state, textAfter) {\n    var context = state.context;\n    if (context && context.noIndent) return 0;\n    if (context && /^{\\//.test(textAfter))\n        context = context.prev;\n        while (context && !context.startOfLine)\n          context = context.prev;\n        if (context) return context.indent + indentUnit;\n        else return 0;\n       },\n    electricChars: \"/\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/tiki\", \"tiki\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/toml/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: TOML Mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"toml.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">TOML Mode</a>\n  </ul>\n</div>\n\n<article>\n<h2>TOML Mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# This is a TOML document. Boom.\n\ntitle = \"TOML Example\"\n\n[owner]\nname = \"Tom Preston-Werner\"\norganization = \"GitHub\"\nbio = \"GitHub Cofounder &amp; CEO\\nLikes tater tots and beer.\"\ndob = 1979-05-27T07:32:00Z # First class dates? Why not?\n\n[database]\nserver = \"192.168.1.1\"\nports = [ 8001, 8001, 8002 ]\nconnection_max = 5000\nenabled = true\n\n[servers]\n\n  # You can indent as you please. Tabs or spaces. TOML don't care.\n  [servers.alpha]\n  ip = \"10.0.0.1\"\n  dc = \"eqdc10\"\n  \n  [servers.beta]\n  ip = \"10.0.0.2\"\n  dc = \"eqdc10\"\n  \n[clients]\ndata = [ [\"gamma\", \"delta\"], [1, 2] ]\n\n# Line breaks are OK when inside arrays\nhosts = [\n  \"alpha\",\n  \"omega\"\n]\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"toml\"},\n        lineNumbers: true\n      });\n    </script>\n    <h3>The TOML Mode</h3>\n      <p> Created by Forbes Lindesay.</p>\n    <p><strong>MIME type defined:</strong> <code>text/x-toml</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/toml/toml.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"toml\", function () {\n  return {\n    startState: function () {\n      return {\n        inString: false,\n        stringType: \"\",\n        lhs: true,\n        inArray: 0\n      };\n    },\n    token: function (stream, state) {\n      //check for state changes\n      if (!state.inString && ((stream.peek() == '\"') || (stream.peek() == \"'\"))) {\n        state.stringType = stream.peek();\n        stream.next(); // Skip quote\n        state.inString = true; // Update state\n      }\n      if (stream.sol() && state.inArray === 0) {\n        state.lhs = true;\n      }\n      //return state\n      if (state.inString) {\n        while (state.inString && !stream.eol()) {\n          if (stream.peek() === state.stringType) {\n            stream.next(); // Skip quote\n            state.inString = false; // Clear flag\n          } else if (stream.peek() === '\\\\') {\n            stream.next();\n            stream.next();\n          } else {\n            stream.match(/^.[^\\\\\\\"\\']*/);\n          }\n        }\n        return state.lhs ? \"property string\" : \"string\"; // Token style\n      } else if (state.inArray && stream.peek() === ']') {\n        stream.next();\n        state.inArray--;\n        return 'bracket';\n      } else if (state.lhs && stream.peek() === '[' && stream.skipTo(']')) {\n        stream.next();//skip closing ]\n        // array of objects has an extra open & close []\n        if (stream.peek() === ']') stream.next();\n        return \"atom\";\n      } else if (stream.peek() === \"#\") {\n        stream.skipToEnd();\n        return \"comment\";\n      } else if (stream.eatSpace()) {\n        return null;\n      } else if (state.lhs && stream.eatWhile(function (c) { return c != '=' && c != ' '; })) {\n        return \"property\";\n      } else if (state.lhs && stream.peek() === \"=\") {\n        stream.next();\n        state.lhs = false;\n        return null;\n      } else if (!state.lhs && stream.match(/^\\d\\d\\d\\d[\\d\\-\\:\\.T]*Z/)) {\n        return 'atom'; //date\n      } else if (!state.lhs && (stream.match('true') || stream.match('false'))) {\n        return 'atom';\n      } else if (!state.lhs && stream.peek() === '[') {\n        state.inArray++;\n        stream.next();\n        return 'bracket';\n      } else if (!state.lhs && stream.match(/^\\-?\\d+(?:\\.\\d+)?/)) {\n        return 'number';\n      } else if (!stream.eatSpace()) {\n        stream.next();\n      }\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME('text/x-toml', 'toml');\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/tornado/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Tornado template mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/mode/overlay.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"tornado.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Tornado</a>\n  </ul>\n</div>\n\n<article>\n<h2>Tornado template mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n<!doctype html>\n<html>\n    <head>\n        <title>My Tornado web application</title>\n    </head>\n    <body>\n        <h1>\n            {{ title }}\n        </h1>\n        <ul class=\"my-list\">\n            {% for item in items %}\n                <li>{% item.name %}</li>\n            {% empty %}\n                <li>You have no items in your list.</li>\n            {% end %}\n        </ul>\n    </body>\n</html>\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"tornado\",\n        indentUnit: 4,\n        indentWithTabs: true\n      });\n    </script>\n\n    <p>Mode for HTML with embedded Tornado template markup.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-tornado</code></p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/tornado/tornado.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../htmlmixed/htmlmixed\"),\n        require(\"../../addon/mode/overlay\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../htmlmixed/htmlmixed\",\n            \"../../addon/mode/overlay\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineMode(\"tornado:inner\", function() {\n    var keywords = [\"and\",\"as\",\"assert\",\"autoescape\",\"block\",\"break\",\"class\",\"comment\",\"context\",\n                    \"continue\",\"datetime\",\"def\",\"del\",\"elif\",\"else\",\"end\",\"escape\",\"except\",\n                    \"exec\",\"extends\",\"false\",\"finally\",\"for\",\"from\",\"global\",\"if\",\"import\",\"in\",\n                    \"include\",\"is\",\"json_encode\",\"lambda\",\"length\",\"linkify\",\"load\",\"module\",\n                    \"none\",\"not\",\"or\",\"pass\",\"print\",\"put\",\"raise\",\"raw\",\"return\",\"self\",\"set\",\n                    \"squeeze\",\"super\",\"true\",\"try\",\"url_escape\",\"while\",\"with\",\"without\",\"xhtml_escape\",\"yield\"];\n    keywords = new RegExp(\"^((\" + keywords.join(\")|(\") + \"))\\\\b\");\n\n    function tokenBase (stream, state) {\n      stream.eatWhile(/[^\\{]/);\n      var ch = stream.next();\n      if (ch == \"{\") {\n        if (ch = stream.eat(/\\{|%|#/)) {\n          state.tokenize = inTag(ch);\n          return \"tag\";\n        }\n      }\n    }\n    function inTag (close) {\n      if (close == \"{\") {\n        close = \"}\";\n      }\n      return function (stream, state) {\n        var ch = stream.next();\n        if ((ch == close) && stream.eat(\"}\")) {\n          state.tokenize = tokenBase;\n          return \"tag\";\n        }\n        if (stream.match(keywords)) {\n          return \"keyword\";\n        }\n        return close == \"#\" ? \"comment\" : \"string\";\n      };\n    }\n    return {\n      startState: function () {\n        return {tokenize: tokenBase};\n      },\n      token: function (stream, state) {\n        return state.tokenize(stream, state);\n      }\n    };\n  });\n\n  CodeMirror.defineMode(\"tornado\", function(config) {\n    var htmlBase = CodeMirror.getMode(config, \"text/html\");\n    var tornadoInner = CodeMirror.getMode(config, \"tornado:inner\");\n    return CodeMirror.overlayMode(htmlBase, tornadoInner);\n  });\n\n  CodeMirror.defineMIME(\"text/x-tornado\", \"tornado\");\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/turtle/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Turtle mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"turtle.js\"></script>\n<style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Turtle</a>\n  </ul>\n</div>\n\n<article>\n<h2>Turtle mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n\n<http://purl.org/net/bsletten> \n    a foaf:Person;\n    foaf:interest <http://www.w3.org/2000/01/sw/>;\n    foaf:based_near [\n        geo:lat \"34.0736111\" ;\n        geo:lon \"-118.3994444\"\n   ]\n\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/turtle\",\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/turtle</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/turtle/turtle.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"turtle\", function(config) {\n  var indentUnit = config.indentUnit;\n  var curPunc;\n\n  function wordRegexp(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")$\", \"i\");\n  }\n  var ops = wordRegexp([]);\n  var keywords = wordRegexp([\"@prefix\", \"@base\", \"a\"]);\n  var operatorChars = /[*+\\-<>=&|]/;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    curPunc = null;\n    if (ch == \"<\" && !stream.match(/^[\\s\\u00a0=]/, false)) {\n      stream.match(/^[^\\s\\u00a0>]*>?/);\n      return \"atom\";\n    }\n    else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenLiteral(ch);\n      return state.tokenize(stream, state);\n    }\n    else if (/[{}\\(\\),\\.;\\[\\]]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    else if (ch == \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    else if (operatorChars.test(ch)) {\n      stream.eatWhile(operatorChars);\n      return null;\n    }\n    else if (ch == \":\") {\n          return \"operator\";\n        } else {\n      stream.eatWhile(/[_\\w\\d]/);\n      if(stream.peek() == \":\") {\n        return \"variable-3\";\n      } else {\n             var word = stream.current();\n\n             if(keywords.test(word)) {\n                        return \"meta\";\n             }\n\n             if(ch >= \"A\" && ch <= \"Z\") {\n                    return \"comment\";\n                 } else {\n                        return \"keyword\";\n                 }\n      }\n      var word = stream.current();\n      if (ops.test(word))\n        return null;\n      else if (keywords.test(word))\n        return \"meta\";\n      else\n        return \"variable\";\n    }\n  }\n\n  function tokenLiteral(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      return \"string\";\n    };\n  }\n\n  function pushContext(state, type, col) {\n    state.context = {prev: state.context, indent: state.indent, col: col, type: type};\n  }\n  function popContext(state) {\n    state.indent = state.context.indent;\n    state.context = state.context.prev;\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: tokenBase,\n              context: null,\n              indent: 0,\n              col: 0};\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (state.context && state.context.align == null) state.context.align = false;\n        state.indent = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n\n      if (style != \"comment\" && state.context && state.context.align == null && state.context.type != \"pattern\") {\n        state.context.align = true;\n      }\n\n      if (curPunc == \"(\") pushContext(state, \")\", stream.column());\n      else if (curPunc == \"[\") pushContext(state, \"]\", stream.column());\n      else if (curPunc == \"{\") pushContext(state, \"}\", stream.column());\n      else if (/[\\]\\}\\)]/.test(curPunc)) {\n        while (state.context && state.context.type == \"pattern\") popContext(state);\n        if (state.context && curPunc == state.context.type) popContext(state);\n      }\n      else if (curPunc == \".\" && state.context && state.context.type == \"pattern\") popContext(state);\n      else if (/atom|string|variable/.test(style) && state.context) {\n        if (/[\\}\\]]/.test(state.context.type))\n          pushContext(state, \"pattern\", stream.column());\n        else if (state.context.type == \"pattern\" && !state.context.align) {\n          state.context.align = true;\n          state.context.col = stream.column();\n        }\n      }\n\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var firstChar = textAfter && textAfter.charAt(0);\n      var context = state.context;\n      if (/[\\]\\}]/.test(firstChar))\n        while (context && context.type == \"pattern\") context = context.prev;\n\n      var closing = context && firstChar == context.type;\n      if (!context)\n        return 0;\n      else if (context.type == \"pattern\")\n        return context.col;\n      else if (context.align)\n        return context.col + (closing ? 0 : 1);\n      else\n        return context.indent + (closing ? 0 : indentUnit);\n    },\n\n    lineComment: \"#\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/turtle\", \"turtle\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/vb/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: VB.NET mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link href=\"http://fonts.googleapis.com/css?family=Inconsolata\" rel=\"stylesheet\" type=\"text/css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"vb.js\"></script>\n<script type=\"text/javascript\" src=\"../../addon/runmode/runmode.js\"></script>\n<style>\n      .CodeMirror {border: 1px solid #aaa; height:210px; height: auto;}\n      .CodeMirror-scroll { overflow-x: auto; overflow-y: hidden;}\n      .CodeMirror pre { font-family: Inconsolata; font-size: 14px}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">VB.NET</a>\n  </ul>\n</div>\n\n<article>\n<h2>VB.NET mode</h2>\n\n<script type=\"text/javascript\">\nfunction test(golden, text) {\n  var ok = true;\n  var i = 0;\n  function callback(token, style, lineNo, pos){\n\t\t//console.log(String(token) + \" \" + String(style) + \" \" + String(lineNo) + \" \" + String(pos));\n    var result = [String(token), String(style)];\n    if (golden[i][0] != result[0] || golden[i][1] != result[1]){\n      return \"Error, expected: \" + String(golden[i]) + \", got: \" + String(result);\n      ok = false;\n    }\n    i++;\n  }\n  CodeMirror.runMode(text, \"text/x-vb\",callback); \n\n  if (ok) return \"Tests OK\";\n}\nfunction testTypes() {\n  var golden = [['Integer','keyword'],[' ','null'],['Float','keyword']]\n  var text =  \"Integer Float\";\n  return test(golden,text);\n}\nfunction testIf(){\n  var golden = [['If','keyword'],[' ','null'],['True','keyword'],[' ','null'],['End','keyword'],[' ','null'],['If','keyword']];\n  var text = 'If True End If';\n  return test(golden, text);\n}\nfunction testDecl(){\n   var golden = [['Dim','keyword'],[' ','null'],['x','variable'],[' ','null'],['as','keyword'],[' ','null'],['Integer','keyword']];\n   var text = 'Dim x as Integer';\n   return test(golden, text);\n}\nfunction testAll(){\n  var result = \"\";\n\n  result += testTypes() + \"\\n\";\n  result += testIf() + \"\\n\";\n  result += testDecl() + \"\\n\";\n  return result;\n\n}\nfunction initText(editor) {\n  var content = 'Class rocket\\nPrivate quality as Double\\nPublic Sub launch() as String\\nif quality > 0.8\\nlaunch = \"Successful\"\\nElse\\nlaunch = \"Failed\"\\nEnd If\\nEnd sub\\nEnd class\\n';\n  editor.setValue(content);\n  for (var i =0; i< editor.lineCount(); i++) editor.indentLine(i);\n}\nfunction init() {\n    editor = CodeMirror.fromTextArea(document.getElementById(\"solution\"), {\n        lineNumbers: true,\n        mode: \"text/x-vb\",\n        readOnly: false\n    });\n    runTest();\n}\nfunction runTest() {\n\tdocument.getElementById('testresult').innerHTML = testAll();\n  initText(editor);\n\t\n}\ndocument.body.onload = init;\n</script>\n\n  <div id=\"edit\">\n  <textarea style=\"width:95%;height:200px;padding:5px;\" name=\"solution\" id=\"solution\" ></textarea>\n  </div>\n  <pre id=\"testresult\"></pre>\n  <p>MIME type defined: <code>text/x-vb</code>.</p>\n\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/vb/vb.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"vb\", function(conf, parserConf) {\n    var ERRORCLASS = 'error';\n\n    function wordRegexp(words) {\n        return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\", \"i\");\n    }\n\n    var singleOperators = new RegExp(\"^[\\\\+\\\\-\\\\*/%&\\\\\\\\|\\\\^~<>!]\");\n    var singleDelimiters = new RegExp('^[\\\\(\\\\)\\\\[\\\\]\\\\{\\\\}@,:`=;\\\\.]');\n    var doubleOperators = new RegExp(\"^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\\\*\\\\*))\");\n    var doubleDelimiters = new RegExp(\"^((\\\\+=)|(\\\\-=)|(\\\\*=)|(%=)|(/=)|(&=)|(\\\\|=)|(\\\\^=))\");\n    var tripleDelimiters = new RegExp(\"^((//=)|(>>=)|(<<=)|(\\\\*\\\\*=))\");\n    var identifiers = new RegExp(\"^[_A-Za-z][_A-Za-z0-9]*\");\n\n    var openingKeywords = ['class','module', 'sub','enum','select','while','if','function',  'get','set','property', 'try'];\n    var middleKeywords = ['else','elseif','case', 'catch'];\n    var endKeywords = ['next','loop'];\n\n    var wordOperators = wordRegexp(['and', 'or', 'not', 'xor', 'in']);\n    var commonkeywords = ['as', 'dim', 'break',  'continue','optional', 'then',  'until',\n                          'goto', 'byval','byref','new','handles','property', 'return',\n                          'const','private', 'protected', 'friend', 'public', 'shared', 'static', 'true','false'];\n    var commontypes = ['integer','string','double','decimal','boolean','short','char', 'float','single'];\n\n    var keywords = wordRegexp(commonkeywords);\n    var types = wordRegexp(commontypes);\n    var stringPrefixes = '\"';\n\n    var opening = wordRegexp(openingKeywords);\n    var middle = wordRegexp(middleKeywords);\n    var closing = wordRegexp(endKeywords);\n    var doubleClosing = wordRegexp(['end']);\n    var doOpening = wordRegexp(['do']);\n\n    var indentInfo = null;\n\n\n\n\n    function indent(_stream, state) {\n      state.currentIndent++;\n    }\n\n    function dedent(_stream, state) {\n      state.currentIndent--;\n    }\n    // tokenizers\n    function tokenBase(stream, state) {\n        if (stream.eatSpace()) {\n            return null;\n        }\n\n        var ch = stream.peek();\n\n        // Handle Comments\n        if (ch === \"'\") {\n            stream.skipToEnd();\n            return 'comment';\n        }\n\n\n        // Handle Number Literals\n        if (stream.match(/^((&H)|(&O))?[0-9\\.a-f]/i, false)) {\n            var floatLiteral = false;\n            // Floats\n            if (stream.match(/^\\d*\\.\\d+F?/i)) { floatLiteral = true; }\n            else if (stream.match(/^\\d+\\.\\d*F?/)) { floatLiteral = true; }\n            else if (stream.match(/^\\.\\d+F?/)) { floatLiteral = true; }\n\n            if (floatLiteral) {\n                // Float literals may be \"imaginary\"\n                stream.eat(/J/i);\n                return 'number';\n            }\n            // Integers\n            var intLiteral = false;\n            // Hex\n            if (stream.match(/^&H[0-9a-f]+/i)) { intLiteral = true; }\n            // Octal\n            else if (stream.match(/^&O[0-7]+/i)) { intLiteral = true; }\n            // Decimal\n            else if (stream.match(/^[1-9]\\d*F?/)) {\n                // Decimal literals may be \"imaginary\"\n                stream.eat(/J/i);\n                // TODO - Can you have imaginary longs?\n                intLiteral = true;\n            }\n            // Zero by itself with no other piece of number.\n            else if (stream.match(/^0(?![\\dx])/i)) { intLiteral = true; }\n            if (intLiteral) {\n                // Integer literals may be \"long\"\n                stream.eat(/L/i);\n                return 'number';\n            }\n        }\n\n        // Handle Strings\n        if (stream.match(stringPrefixes)) {\n            state.tokenize = tokenStringFactory(stream.current());\n            return state.tokenize(stream, state);\n        }\n\n        // Handle operators and Delimiters\n        if (stream.match(tripleDelimiters) || stream.match(doubleDelimiters)) {\n            return null;\n        }\n        if (stream.match(doubleOperators)\n            || stream.match(singleOperators)\n            || stream.match(wordOperators)) {\n            return 'operator';\n        }\n        if (stream.match(singleDelimiters)) {\n            return null;\n        }\n        if (stream.match(doOpening)) {\n            indent(stream,state);\n            state.doInCurrentLine = true;\n            return 'keyword';\n        }\n        if (stream.match(opening)) {\n            if (! state.doInCurrentLine)\n              indent(stream,state);\n            else\n              state.doInCurrentLine = false;\n            return 'keyword';\n        }\n        if (stream.match(middle)) {\n            return 'keyword';\n        }\n\n        if (stream.match(doubleClosing)) {\n            dedent(stream,state);\n            dedent(stream,state);\n            return 'keyword';\n        }\n        if (stream.match(closing)) {\n            dedent(stream,state);\n            return 'keyword';\n        }\n\n        if (stream.match(types)) {\n            return 'keyword';\n        }\n\n        if (stream.match(keywords)) {\n            return 'keyword';\n        }\n\n        if (stream.match(identifiers)) {\n            return 'variable';\n        }\n\n        // Handle non-detected items\n        stream.next();\n        return ERRORCLASS;\n    }\n\n    function tokenStringFactory(delimiter) {\n        var singleline = delimiter.length == 1;\n        var OUTCLASS = 'string';\n\n        return function(stream, state) {\n            while (!stream.eol()) {\n                stream.eatWhile(/[^'\"]/);\n                if (stream.match(delimiter)) {\n                    state.tokenize = tokenBase;\n                    return OUTCLASS;\n                } else {\n                    stream.eat(/['\"]/);\n                }\n            }\n            if (singleline) {\n                if (parserConf.singleLineStringErrors) {\n                    return ERRORCLASS;\n                } else {\n                    state.tokenize = tokenBase;\n                }\n            }\n            return OUTCLASS;\n        };\n    }\n\n\n    function tokenLexer(stream, state) {\n        var style = state.tokenize(stream, state);\n        var current = stream.current();\n\n        // Handle '.' connected identifiers\n        if (current === '.') {\n            style = state.tokenize(stream, state);\n            current = stream.current();\n            if (style === 'variable') {\n                return 'variable';\n            } else {\n                return ERRORCLASS;\n            }\n        }\n\n\n        var delimiter_index = '[({'.indexOf(current);\n        if (delimiter_index !== -1) {\n            indent(stream, state );\n        }\n        if (indentInfo === 'dedent') {\n            if (dedent(stream, state)) {\n                return ERRORCLASS;\n            }\n        }\n        delimiter_index = '])}'.indexOf(current);\n        if (delimiter_index !== -1) {\n            if (dedent(stream, state)) {\n                return ERRORCLASS;\n            }\n        }\n\n        return style;\n    }\n\n    var external = {\n        electricChars:\"dDpPtTfFeE \",\n        startState: function() {\n            return {\n              tokenize: tokenBase,\n              lastToken: null,\n              currentIndent: 0,\n              nextLineIndent: 0,\n              doInCurrentLine: false\n\n\n          };\n        },\n\n        token: function(stream, state) {\n            if (stream.sol()) {\n              state.currentIndent += state.nextLineIndent;\n              state.nextLineIndent = 0;\n              state.doInCurrentLine = 0;\n            }\n            var style = tokenLexer(stream, state);\n\n            state.lastToken = {style:style, content: stream.current()};\n\n\n\n            return style;\n        },\n\n        indent: function(state, textAfter) {\n            var trueText = textAfter.replace(/^\\s+|\\s+$/g, '') ;\n            if (trueText.match(closing) || trueText.match(doubleClosing) || trueText.match(middle)) return conf.indentUnit*(state.currentIndent-1);\n            if(state.currentIndent < 0) return 0;\n            return state.currentIndent * conf.indentUnit;\n        }\n\n    };\n    return external;\n});\n\nCodeMirror.defineMIME(\"text/x-vb\", \"vb\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/vbscript/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: VBScript mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"vbscript.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">VBScript</a>\n  </ul>\n</div>\n\n<article>\n<h2>VBScript mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n' Pete Guhl\n' 03-04-2012\n'\n' Basic VBScript support for codemirror2\n\nConst ForReading = 1, ForWriting = 2, ForAppending = 8\n\nCall Sub020_PostBroadcastToUrbanAirship(strUserName, strPassword, intTransmitID, strResponse)\n\nIf Not IsNull(strResponse) AND Len(strResponse) = 0 Then\n\tboolTransmitOkYN = False\nElse\n\t' WScript.Echo \"Oh Happy Day! Oh Happy DAY!\"\n\tboolTransmitOkYN = True\nEnd If\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        indentUnit: 4\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/vbscript</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/vbscript/vbscript.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/*\nFor extra ASP classic objects, initialize CodeMirror instance with this option:\n    isASP: true\n\nE.G.:\n    var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        isASP: true\n      });\n*/\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"vbscript\", function(conf, parserConf) {\n    var ERRORCLASS = 'error';\n\n    function wordRegexp(words) {\n        return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\", \"i\");\n    }\n\n    var singleOperators = new RegExp(\"^[\\\\+\\\\-\\\\*/&\\\\\\\\\\\\^<>=]\");\n    var doubleOperators = new RegExp(\"^((<>)|(<=)|(>=))\");\n    var singleDelimiters = new RegExp('^[\\\\.,]');\n    var brakets = new RegExp('^[\\\\(\\\\)]');\n    var identifiers = new RegExp(\"^[A-Za-z][_A-Za-z0-9]*\");\n\n    var openingKeywords = ['class','sub','select','while','if','function', 'property', 'with', 'for'];\n    var middleKeywords = ['else','elseif','case'];\n    var endKeywords = ['next','loop','wend'];\n\n    var wordOperators = wordRegexp(['and', 'or', 'not', 'xor', 'is', 'mod', 'eqv', 'imp']);\n    var commonkeywords = ['dim', 'redim', 'then',  'until', 'randomize',\n                          'byval','byref','new','property', 'exit', 'in',\n                          'const','private', 'public',\n                          'get','set','let', 'stop', 'on error resume next', 'on error goto 0', 'option explicit', 'call', 'me'];\n\n    //This list was from: http://msdn.microsoft.com/en-us/library/f8tbc79x(v=vs.84).aspx\n    var atomWords = ['true', 'false', 'nothing', 'empty', 'null'];\n    //This list was from: http://msdn.microsoft.com/en-us/library/3ca8tfek(v=vs.84).aspx\n    var builtinFuncsWords = ['abs', 'array', 'asc', 'atn', 'cbool', 'cbyte', 'ccur', 'cdate', 'cdbl', 'chr', 'cint', 'clng', 'cos', 'csng', 'cstr', 'date', 'dateadd', 'datediff', 'datepart',\n                        'dateserial', 'datevalue', 'day', 'escape', 'eval', 'execute', 'exp', 'filter', 'formatcurrency', 'formatdatetime', 'formatnumber', 'formatpercent', 'getlocale', 'getobject',\n                        'getref', 'hex', 'hour', 'inputbox', 'instr', 'instrrev', 'int', 'fix', 'isarray', 'isdate', 'isempty', 'isnull', 'isnumeric', 'isobject', 'join', 'lbound', 'lcase', 'left',\n                        'len', 'loadpicture', 'log', 'ltrim', 'rtrim', 'trim', 'maths', 'mid', 'minute', 'month', 'monthname', 'msgbox', 'now', 'oct', 'replace', 'rgb', 'right', 'rnd', 'round',\n                        'scriptengine', 'scriptenginebuildversion', 'scriptenginemajorversion', 'scriptengineminorversion', 'second', 'setlocale', 'sgn', 'sin', 'space', 'split', 'sqr', 'strcomp',\n                        'string', 'strreverse', 'tan', 'time', 'timer', 'timeserial', 'timevalue', 'typename', 'ubound', 'ucase', 'unescape', 'vartype', 'weekday', 'weekdayname', 'year'];\n\n    //This list was from: http://msdn.microsoft.com/en-us/library/ydz4cfk3(v=vs.84).aspx\n    var builtinConsts = ['vbBlack', 'vbRed', 'vbGreen', 'vbYellow', 'vbBlue', 'vbMagenta', 'vbCyan', 'vbWhite', 'vbBinaryCompare', 'vbTextCompare',\n                         'vbSunday', 'vbMonday', 'vbTuesday', 'vbWednesday', 'vbThursday', 'vbFriday', 'vbSaturday', 'vbUseSystemDayOfWeek', 'vbFirstJan1', 'vbFirstFourDays', 'vbFirstFullWeek',\n                         'vbGeneralDate', 'vbLongDate', 'vbShortDate', 'vbLongTime', 'vbShortTime', 'vbObjectError',\n                         'vbOKOnly', 'vbOKCancel', 'vbAbortRetryIgnore', 'vbYesNoCancel', 'vbYesNo', 'vbRetryCancel', 'vbCritical', 'vbQuestion', 'vbExclamation', 'vbInformation', 'vbDefaultButton1', 'vbDefaultButton2',\n                         'vbDefaultButton3', 'vbDefaultButton4', 'vbApplicationModal', 'vbSystemModal', 'vbOK', 'vbCancel', 'vbAbort', 'vbRetry', 'vbIgnore', 'vbYes', 'vbNo',\n                         'vbCr', 'VbCrLf', 'vbFormFeed', 'vbLf', 'vbNewLine', 'vbNullChar', 'vbNullString', 'vbTab', 'vbVerticalTab', 'vbUseDefault', 'vbTrue', 'vbFalse',\n                         'vbEmpty', 'vbNull', 'vbInteger', 'vbLong', 'vbSingle', 'vbDouble', 'vbCurrency', 'vbDate', 'vbString', 'vbObject', 'vbError', 'vbBoolean', 'vbVariant', 'vbDataObject', 'vbDecimal', 'vbByte', 'vbArray'];\n    //This list was from: http://msdn.microsoft.com/en-us/library/hkc375ea(v=vs.84).aspx\n    var builtinObjsWords = ['WScript', 'err', 'debug', 'RegExp'];\n    var knownProperties = ['description', 'firstindex', 'global', 'helpcontext', 'helpfile', 'ignorecase', 'length', 'number', 'pattern', 'source', 'value', 'count'];\n    var knownMethods = ['clear', 'execute', 'raise', 'replace', 'test', 'write', 'writeline', 'close', 'open', 'state', 'eof', 'update', 'addnew', 'end', 'createobject', 'quit'];\n\n    var aspBuiltinObjsWords = ['server', 'response', 'request', 'session', 'application'];\n    var aspKnownProperties = ['buffer', 'cachecontrol', 'charset', 'contenttype', 'expires', 'expiresabsolute', 'isclientconnected', 'pics', 'status', //response\n                              'clientcertificate', 'cookies', 'form', 'querystring', 'servervariables', 'totalbytes', //request\n                              'contents', 'staticobjects', //application\n                              'codepage', 'lcid', 'sessionid', 'timeout', //session\n                              'scripttimeout']; //server\n    var aspKnownMethods = ['addheader', 'appendtolog', 'binarywrite', 'end', 'flush', 'redirect', //response\n                           'binaryread', //request\n                           'remove', 'removeall', 'lock', 'unlock', //application\n                           'abandon', //session\n                           'getlasterror', 'htmlencode', 'mappath', 'transfer', 'urlencode']; //server\n\n    var knownWords = knownMethods.concat(knownProperties);\n\n    builtinObjsWords = builtinObjsWords.concat(builtinConsts);\n\n    if (conf.isASP){\n        builtinObjsWords = builtinObjsWords.concat(aspBuiltinObjsWords);\n        knownWords = knownWords.concat(aspKnownMethods, aspKnownProperties);\n    };\n\n    var keywords = wordRegexp(commonkeywords);\n    var atoms = wordRegexp(atomWords);\n    var builtinFuncs = wordRegexp(builtinFuncsWords);\n    var builtinObjs = wordRegexp(builtinObjsWords);\n    var known = wordRegexp(knownWords);\n    var stringPrefixes = '\"';\n\n    var opening = wordRegexp(openingKeywords);\n    var middle = wordRegexp(middleKeywords);\n    var closing = wordRegexp(endKeywords);\n    var doubleClosing = wordRegexp(['end']);\n    var doOpening = wordRegexp(['do']);\n    var noIndentWords = wordRegexp(['on error resume next', 'exit']);\n    var comment = wordRegexp(['rem']);\n\n\n    function indent(_stream, state) {\n      state.currentIndent++;\n    }\n\n    function dedent(_stream, state) {\n      state.currentIndent--;\n    }\n    // tokenizers\n    function tokenBase(stream, state) {\n        if (stream.eatSpace()) {\n            return 'space';\n            //return null;\n        }\n\n        var ch = stream.peek();\n\n        // Handle Comments\n        if (ch === \"'\") {\n            stream.skipToEnd();\n            return 'comment';\n        }\n        if (stream.match(comment)){\n            stream.skipToEnd();\n            return 'comment';\n        }\n\n\n        // Handle Number Literals\n        if (stream.match(/^((&H)|(&O))?[0-9\\.]/i, false) && !stream.match(/^((&H)|(&O))?[0-9\\.]+[a-z_]/i, false)) {\n            var floatLiteral = false;\n            // Floats\n            if (stream.match(/^\\d*\\.\\d+/i)) { floatLiteral = true; }\n            else if (stream.match(/^\\d+\\.\\d*/)) { floatLiteral = true; }\n            else if (stream.match(/^\\.\\d+/)) { floatLiteral = true; }\n\n            if (floatLiteral) {\n                // Float literals may be \"imaginary\"\n                stream.eat(/J/i);\n                return 'number';\n            }\n            // Integers\n            var intLiteral = false;\n            // Hex\n            if (stream.match(/^&H[0-9a-f]+/i)) { intLiteral = true; }\n            // Octal\n            else if (stream.match(/^&O[0-7]+/i)) { intLiteral = true; }\n            // Decimal\n            else if (stream.match(/^[1-9]\\d*F?/)) {\n                // Decimal literals may be \"imaginary\"\n                stream.eat(/J/i);\n                // TODO - Can you have imaginary longs?\n                intLiteral = true;\n            }\n            // Zero by itself with no other piece of number.\n            else if (stream.match(/^0(?![\\dx])/i)) { intLiteral = true; }\n            if (intLiteral) {\n                // Integer literals may be \"long\"\n                stream.eat(/L/i);\n                return 'number';\n            }\n        }\n\n        // Handle Strings\n        if (stream.match(stringPrefixes)) {\n            state.tokenize = tokenStringFactory(stream.current());\n            return state.tokenize(stream, state);\n        }\n\n        // Handle operators and Delimiters\n        if (stream.match(doubleOperators)\n            || stream.match(singleOperators)\n            || stream.match(wordOperators)) {\n            return 'operator';\n        }\n        if (stream.match(singleDelimiters)) {\n            return null;\n        }\n\n        if (stream.match(brakets)) {\n            return \"bracket\";\n        }\n\n        if (stream.match(noIndentWords)) {\n            state.doInCurrentLine = true;\n\n            return 'keyword';\n        }\n\n        if (stream.match(doOpening)) {\n            indent(stream,state);\n            state.doInCurrentLine = true;\n\n            return 'keyword';\n        }\n        if (stream.match(opening)) {\n            if (! state.doInCurrentLine)\n              indent(stream,state);\n            else\n              state.doInCurrentLine = false;\n\n            return 'keyword';\n        }\n        if (stream.match(middle)) {\n            return 'keyword';\n        }\n\n\n        if (stream.match(doubleClosing)) {\n            dedent(stream,state);\n            dedent(stream,state);\n\n            return 'keyword';\n        }\n        if (stream.match(closing)) {\n            if (! state.doInCurrentLine)\n              dedent(stream,state);\n            else\n              state.doInCurrentLine = false;\n\n            return 'keyword';\n        }\n\n        if (stream.match(keywords)) {\n            return 'keyword';\n        }\n\n        if (stream.match(atoms)) {\n            return 'atom';\n        }\n\n        if (stream.match(known)) {\n            return 'variable-2';\n        }\n\n        if (stream.match(builtinFuncs)) {\n            return 'builtin';\n        }\n\n        if (stream.match(builtinObjs)){\n            return 'variable-2';\n        }\n\n        if (stream.match(identifiers)) {\n            return 'variable';\n        }\n\n        // Handle non-detected items\n        stream.next();\n        return ERRORCLASS;\n    }\n\n    function tokenStringFactory(delimiter) {\n        var singleline = delimiter.length == 1;\n        var OUTCLASS = 'string';\n\n        return function(stream, state) {\n            while (!stream.eol()) {\n                stream.eatWhile(/[^'\"]/);\n                if (stream.match(delimiter)) {\n                    state.tokenize = tokenBase;\n                    return OUTCLASS;\n                } else {\n                    stream.eat(/['\"]/);\n                }\n            }\n            if (singleline) {\n                if (parserConf.singleLineStringErrors) {\n                    return ERRORCLASS;\n                } else {\n                    state.tokenize = tokenBase;\n                }\n            }\n            return OUTCLASS;\n        };\n    }\n\n\n    function tokenLexer(stream, state) {\n        var style = state.tokenize(stream, state);\n        var current = stream.current();\n\n        // Handle '.' connected identifiers\n        if (current === '.') {\n            style = state.tokenize(stream, state);\n\n            current = stream.current();\n            if (style && (style.substr(0, 8) === 'variable' || style==='builtin' || style==='keyword')){//|| knownWords.indexOf(current.substring(1)) > -1) {\n                if (style === 'builtin' || style === 'keyword') style='variable';\n                if (knownWords.indexOf(current.substr(1)) > -1) style='variable-2';\n\n                return style;\n            } else {\n                return ERRORCLASS;\n            }\n        }\n\n        return style;\n    }\n\n    var external = {\n        electricChars:\"dDpPtTfFeE \",\n        startState: function() {\n            return {\n              tokenize: tokenBase,\n              lastToken: null,\n              currentIndent: 0,\n              nextLineIndent: 0,\n              doInCurrentLine: false,\n              ignoreKeyword: false\n\n\n          };\n        },\n\n        token: function(stream, state) {\n            if (stream.sol()) {\n              state.currentIndent += state.nextLineIndent;\n              state.nextLineIndent = 0;\n              state.doInCurrentLine = 0;\n            }\n            var style = tokenLexer(stream, state);\n\n            state.lastToken = {style:style, content: stream.current()};\n\n            if (style==='space') style=null;\n\n            return style;\n        },\n\n        indent: function(state, textAfter) {\n            var trueText = textAfter.replace(/^\\s+|\\s+$/g, '') ;\n            if (trueText.match(closing) || trueText.match(doubleClosing) || trueText.match(middle)) return conf.indentUnit*(state.currentIndent-1);\n            if(state.currentIndent < 0) return 0;\n            return state.currentIndent * conf.indentUnit;\n        }\n\n    };\n    return external;\n});\n\nCodeMirror.defineMIME(\"text/vbscript\", \"vbscript\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/velocity/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Velocity mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/night.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"velocity.js\"></script>\n<style>.CodeMirror {border: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Velocity</a>\n  </ul>\n</div>\n\n<article>\n<h2>Velocity mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n## Velocity Code Demo\n#*\n   based on PL/SQL mode by Peter Raganitsch, adapted to Velocity by Steve O'Hara ( http://www.pivotal-solutions.co.uk )\n   August 2011\n*#\n\n#*\n   This is a multiline comment.\n   This is the second line\n*#\n\n#[[ hello steve\n   This has invalid syntax that would normally need \"poor man's escaping\" like:\n\n   #define()\n\n   ${blah\n]]#\n\n#include( \"disclaimer.txt\" \"opinion.txt\" )\n#include( $foo $bar )\n\n#parse( \"lecorbusier.vm\" )\n#parse( $foo )\n\n#evaluate( 'string with VTL #if(true)will be displayed#end' )\n\n#define( $hello ) Hello $who #end #set( $who = \"World!\") $hello ## displays Hello World!\n\n#foreach( $customer in $customerList )\n\n    $foreach.count $customer.Name\n\n    #if( $foo == ${bar})\n        it's true!\n        #break\n    #{else}\n        it's not!\n        #stop\n    #end\n\n    #if ($foreach.parent.hasNext)\n        $velocityCount\n    #end\n#end\n\n$someObject.getValues(\"this is a string split\n        across lines\")\n\n$someObject(\"This plus $something in the middle\").method(7567).property\n\n#macro( tablerows $color $somelist )\n    #foreach( $something in $somelist )\n        <tr><td bgcolor=$color>$something</td></tr>\n        <tr><td bgcolor=$color>$bodyContent</td></tr>\n    #end\n#end\n\n#tablerows(\"red\" [\"dadsdf\",\"dsa\"])\n#@tablerows(\"red\" [\"dadsdf\",\"dsa\"]) some body content #end\n\n   Variable reference: #set( $monkey = $bill )\n   String literal: #set( $monkey.Friend = 'monica' )\n   Property reference: #set( $monkey.Blame = $whitehouse.Leak )\n   Method reference: #set( $monkey.Plan = $spindoctor.weave($web) )\n   Number literal: #set( $monkey.Number = 123 )\n   Range operator: #set( $monkey.Numbers = [1..3] )\n   Object list: #set( $monkey.Say = [\"Not\", $my, \"fault\"] )\n   Object map: #set( $monkey.Map = {\"banana\" : \"good\", \"roast beef\" : \"bad\"})\n\nThe RHS can also be a simple arithmetic expression, such as:\nAddition: #set( $value = $foo + 1 )\n   Subtraction: #set( $value = $bar - 1 )\n   Multiplication: #set( $value = $foo * $bar )\n   Division: #set( $value = $foo / $bar )\n   Remainder: #set( $value = $foo % $bar )\n\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        theme: \"night\",\n        lineNumbers: true,\n        indentUnit: 4,\n        mode: \"text/velocity\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/velocity</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/velocity/velocity.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"velocity\", function() {\n    function parseWords(str) {\n        var obj = {}, words = str.split(\" \");\n        for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n        return obj;\n    }\n\n    var keywords = parseWords(\"#end #else #break #stop #[[ #]] \" +\n                              \"#{end} #{else} #{break} #{stop}\");\n    var functions = parseWords(\"#if #elseif #foreach #set #include #parse #macro #define #evaluate \" +\n                               \"#{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}\");\n    var specials = parseWords(\"$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent\");\n    var isOperatorChar = /[+\\-*&%=<>!?:\\/|]/;\n\n    function chain(stream, state, f) {\n        state.tokenize = f;\n        return f(stream, state);\n    }\n    function tokenBase(stream, state) {\n        var beforeParams = state.beforeParams;\n        state.beforeParams = false;\n        var ch = stream.next();\n        // start of unparsed string?\n        if ((ch == \"'\") && state.inParams) {\n            state.lastTokenWasBuiltin = false;\n            return chain(stream, state, tokenString(ch));\n        }\n        // start of parsed string?\n        else if ((ch == '\"')) {\n            state.lastTokenWasBuiltin = false;\n            if (state.inString) {\n                state.inString = false;\n                return \"string\";\n            }\n            else if (state.inParams)\n                return chain(stream, state, tokenString(ch));\n        }\n        // is it one of the special signs []{}().,;? Seperator?\n        else if (/[\\[\\]{}\\(\\),;\\.]/.test(ch)) {\n            if (ch == \"(\" && beforeParams)\n                state.inParams = true;\n            else if (ch == \")\") {\n                state.inParams = false;\n                state.lastTokenWasBuiltin = true;\n            }\n            return null;\n        }\n        // start of a number value?\n        else if (/\\d/.test(ch)) {\n            state.lastTokenWasBuiltin = false;\n            stream.eatWhile(/[\\w\\.]/);\n            return \"number\";\n        }\n        // multi line comment?\n        else if (ch == \"#\" && stream.eat(\"*\")) {\n            state.lastTokenWasBuiltin = false;\n            return chain(stream, state, tokenComment);\n        }\n        // unparsed content?\n        else if (ch == \"#\" && stream.match(/ *\\[ *\\[/)) {\n            state.lastTokenWasBuiltin = false;\n            return chain(stream, state, tokenUnparsed);\n        }\n        // single line comment?\n        else if (ch == \"#\" && stream.eat(\"#\")) {\n            state.lastTokenWasBuiltin = false;\n            stream.skipToEnd();\n            return \"comment\";\n        }\n        // variable?\n        else if (ch == \"$\") {\n            stream.eatWhile(/[\\w\\d\\$_\\.{}]/);\n            // is it one of the specials?\n            if (specials && specials.propertyIsEnumerable(stream.current())) {\n                return \"keyword\";\n            }\n            else {\n                state.lastTokenWasBuiltin = true;\n                state.beforeParams = true;\n                return \"builtin\";\n            }\n        }\n        // is it a operator?\n        else if (isOperatorChar.test(ch)) {\n            state.lastTokenWasBuiltin = false;\n            stream.eatWhile(isOperatorChar);\n            return \"operator\";\n        }\n        else {\n            // get the whole word\n            stream.eatWhile(/[\\w\\$_{}@]/);\n            var word = stream.current();\n            // is it one of the listed keywords?\n            if (keywords && keywords.propertyIsEnumerable(word))\n                return \"keyword\";\n            // is it one of the listed functions?\n            if (functions && functions.propertyIsEnumerable(word) ||\n                    (stream.current().match(/^#@?[a-z0-9_]+ *$/i) && stream.peek()==\"(\") &&\n                     !(functions && functions.propertyIsEnumerable(word.toLowerCase()))) {\n                state.beforeParams = true;\n                state.lastTokenWasBuiltin = false;\n                return \"keyword\";\n            }\n            if (state.inString) {\n                state.lastTokenWasBuiltin = false;\n                return \"string\";\n            }\n            if (stream.pos > word.length && stream.string.charAt(stream.pos-word.length-1)==\".\" && state.lastTokenWasBuiltin)\n                return \"builtin\";\n            // default: just a \"word\"\n            state.lastTokenWasBuiltin = false;\n            return null;\n        }\n    }\n\n    function tokenString(quote) {\n        return function(stream, state) {\n            var escaped = false, next, end = false;\n            while ((next = stream.next()) != null) {\n                if ((next == quote) && !escaped) {\n                    end = true;\n                    break;\n                }\n                if (quote=='\"' && stream.peek() == '$' && !escaped) {\n                    state.inString = true;\n                    end = true;\n                    break;\n                }\n                escaped = !escaped && next == \"\\\\\";\n            }\n            if (end) state.tokenize = tokenBase;\n            return \"string\";\n        };\n    }\n\n    function tokenComment(stream, state) {\n        var maybeEnd = false, ch;\n        while (ch = stream.next()) {\n            if (ch == \"#\" && maybeEnd) {\n                state.tokenize = tokenBase;\n                break;\n            }\n            maybeEnd = (ch == \"*\");\n        }\n        return \"comment\";\n    }\n\n    function tokenUnparsed(stream, state) {\n        var maybeEnd = 0, ch;\n        while (ch = stream.next()) {\n            if (ch == \"#\" && maybeEnd == 2) {\n                state.tokenize = tokenBase;\n                break;\n            }\n            if (ch == \"]\")\n                maybeEnd++;\n            else if (ch != \" \")\n                maybeEnd = 0;\n        }\n        return \"meta\";\n    }\n    // Interface\n\n    return {\n        startState: function() {\n            return {\n                tokenize: tokenBase,\n                beforeParams: false,\n                inParams: false,\n                inString: false,\n                lastTokenWasBuiltin: false\n            };\n        },\n\n        token: function(stream, state) {\n            if (stream.eatSpace()) return null;\n            return state.tokenize(stream, state);\n        },\n        blockCommentStart: \"#*\",\n        blockCommentEnd: \"*#\",\n        lineComment: \"##\",\n        fold: \"velocity\"\n    };\n});\n\nCodeMirror.defineMIME(\"text/velocity\", \"velocity\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/verilog/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Verilog/SystemVerilog mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"verilog.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Verilog/SystemVerilog</a>\n  </ul>\n</div>\n\n<article>\n<h2>SystemVerilog mode</h2>\n\n<div><textarea id=\"code\" name=\"code\">\n// Literals\n1'b0\n1'bx\n1'bz\n16'hDC78\n'hdeadbeef\n'b0011xxzz\n1234\n32'd5678\n3.4e6\n-128.7\n\n// Macro definition\n`define BUS_WIDTH = 8;\n\n// Module definition\nmodule block(\n  input                   clk,\n  input                   rst_n,\n  input  [`BUS_WIDTH-1:0] data_in,\n  output [`BUS_WIDTH-1:0] data_out\n);\n  \n  always @(posedge clk or negedge rst_n) begin\n\n    if (~rst_n) begin\n      data_out <= 8'b0;\n    end else begin\n      data_out <= data_in;\n    end\n    \n    if (~rst_n)\n      data_out <= 8'b0;\n    else\n      data_out <= data_in;\n    \n    if (~rst_n)\n      begin\n        data_out <= 8'b0;\n      end\n    else\n      begin\n        data_out <= data_in;\n      end\n\n  end\n  \nendmodule\n\n// Class definition\nclass test;\n\n  /**\n   * Sum two integers\n   */\n  function int sum(int a, int b);\n    int result = a + b;\n    string msg = $sformatf(\"%d + %d = %d\", a, b, result);\n    $display(msg);\n    return result;\n  endfunction\n  \n  task delay(int num_cycles);\n    repeat(num_cycles) #1;\n  endtask\n  \nendclass\n\n</textarea></div>\n\n<script>\n  var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n    lineNumbers: true,\n    matchBrackets: true,\n    mode: {\n      name: \"verilog\",\n      noIndentKeywords: [\"package\"]\n    }\n  });\n</script>\n\n<p>\nSyntax highlighting and indentation for the Verilog and SystemVerilog languages (IEEE 1800).\n<h2>Configuration options:</h2>\n  <ul>\n    <li><strong>noIndentKeywords</strong> - List of keywords which should not cause identation to increase. E.g. [\"package\", \"module\"]. Default: None</li>\n  </ul>\n</p>\n\n<p><strong>MIME types defined:</strong> <code>text/x-verilog</code> and <code>text/x-systemverilog</code>.</p>\n</article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/verilog/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({indentUnit: 4}, \"verilog\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"binary_literals\",\n     \"[number 1'b0]\",\n     \"[number 1'b1]\",\n     \"[number 1'bx]\",\n     \"[number 1'bz]\",\n     \"[number 1'bX]\",\n     \"[number 1'bZ]\",\n     \"[number 1'B0]\",\n     \"[number 1'B1]\",\n     \"[number 1'Bx]\",\n     \"[number 1'Bz]\",\n     \"[number 1'BX]\",\n     \"[number 1'BZ]\",\n     \"[number 1'b0]\",\n     \"[number 1'b1]\",\n     \"[number 2'b01]\",\n     \"[number 2'bxz]\",\n     \"[number 2'b11]\",\n     \"[number 2'b10]\",\n     \"[number 2'b1Z]\",\n     \"[number 12'b0101_0101_0101]\",\n     \"[number 1'b 0]\",\n     \"[number 'b0101]\"\n  );\n\n  MT(\"octal_literals\",\n     \"[number 3'o7]\",\n     \"[number 3'O7]\",\n     \"[number 3'so7]\",\n     \"[number 3'SO7]\"\n  );\n\n  MT(\"decimal_literals\",\n     \"[number 0]\",\n     \"[number 1]\",\n     \"[number 7]\",\n     \"[number 123_456]\",\n     \"[number 'd33]\",\n     \"[number 8'd255]\",\n     \"[number 8'D255]\",\n     \"[number 8'sd255]\",\n     \"[number 8'SD255]\",\n     \"[number 32'd123]\",\n     \"[number 32 'd123]\",\n     \"[number 32 'd 123]\"\n  );\n\n  MT(\"hex_literals\",\n     \"[number 4'h0]\",\n     \"[number 4'ha]\",\n     \"[number 4'hF]\",\n     \"[number 4'hx]\",\n     \"[number 4'hz]\",\n     \"[number 4'hX]\",\n     \"[number 4'hZ]\",\n     \"[number 32'hdc78]\",\n     \"[number 32'hDC78]\",\n     \"[number 32 'hDC78]\",\n     \"[number 32'h DC78]\",\n     \"[number 32 'h DC78]\",\n     \"[number 32'h44x7]\",\n     \"[number 32'hFFF?]\"\n  );\n\n  MT(\"real_number_literals\",\n     \"[number 1.2]\",\n     \"[number 0.1]\",\n     \"[number 2394.26331]\",\n     \"[number 1.2E12]\",\n     \"[number 1.2e12]\",\n     \"[number 1.30e-2]\",\n     \"[number 0.1e-0]\",\n     \"[number 23E10]\",\n     \"[number 29E-2]\",\n     \"[number 236.123_763_e-12]\"\n  );\n\n  MT(\"operators\",\n     \"[meta ^]\"\n  );\n\n  MT(\"keywords\",\n     \"[keyword logic]\",\n     \"[keyword logic] [variable foo]\",\n     \"[keyword reg] [variable abc]\"\n  );\n\n  MT(\"variables\",\n     \"[variable _leading_underscore]\",\n     \"[variable _if]\",\n     \"[number 12] [variable foo]\",\n     \"[variable foo] [number 14]\"\n  );\n\n  MT(\"tick_defines\",\n     \"[def `FOO]\",\n     \"[def `foo]\",\n     \"[def `FOO_bar]\"\n  );\n\n  MT(\"system_calls\",\n     \"[meta $display]\",\n     \"[meta $vpi_printf]\"\n  );\n\n  MT(\"line_comment\", \"[comment // Hello world]\");\n\n  // Alignment tests\n  MT(\"align_port_map_style1\",\n     /**\n      * mod mod(.a(a),\n      *         .b(b)\n      *        );\n      */\n     \"[variable mod] [variable mod][bracket (].[variable a][bracket (][variable a][bracket )],\",\n     \"        .[variable b][bracket (][variable b][bracket )]\",\n     \"       [bracket )];\",\n     \"\"\n  );\n\n  MT(\"align_port_map_style2\",\n     /**\n      * mod mod(\n      *     .a(a),\n      *     .b(b)\n      * );\n      */\n     \"[variable mod] [variable mod][bracket (]\",\n     \"    .[variable a][bracket (][variable a][bracket )],\",\n     \"    .[variable b][bracket (][variable b][bracket )]\",\n     \"[bracket )];\",\n     \"\"\n  );\n\n  // Indentation tests\n  MT(\"indent_single_statement_if\",\n      \"[keyword if] [bracket (][variable foo][bracket )]\",\n      \"    [keyword break];\",\n      \"\"\n  );\n\n  MT(\"no_indent_after_single_line_if\",\n      \"[keyword if] [bracket (][variable foo][bracket )] [keyword break];\",\n      \"\"\n  );\n\n  MT(\"indent_after_if_begin_same_line\",\n      \"[keyword if] [bracket (][variable foo][bracket )] [keyword begin]\",\n      \"    [keyword break];\",\n      \"    [keyword break];\",\n      \"[keyword end]\",\n      \"\"\n  );\n\n  MT(\"indent_after_if_begin_next_line\",\n      \"[keyword if] [bracket (][variable foo][bracket )]\",\n      \"    [keyword begin]\",\n      \"        [keyword break];\",\n      \"        [keyword break];\",\n      \"    [keyword end]\",\n      \"\"\n  );\n\n  MT(\"indent_single_statement_if_else\",\n      \"[keyword if] [bracket (][variable foo][bracket )]\",\n      \"    [keyword break];\",\n      \"[keyword else]\",\n      \"    [keyword break];\",\n      \"\"\n  );\n\n  MT(\"indent_if_else_begin_same_line\",\n      \"[keyword if] [bracket (][variable foo][bracket )] [keyword begin]\",\n      \"    [keyword break];\",\n      \"    [keyword break];\",\n      \"[keyword end] [keyword else] [keyword begin]\",\n      \"    [keyword break];\",\n      \"    [keyword break];\",\n      \"[keyword end]\",\n      \"\"\n  );\n\n  MT(\"indent_if_else_begin_next_line\",\n      \"[keyword if] [bracket (][variable foo][bracket )]\",\n      \"    [keyword begin]\",\n      \"        [keyword break];\",\n      \"        [keyword break];\",\n      \"    [keyword end]\",\n      \"[keyword else]\",\n      \"    [keyword begin]\",\n      \"        [keyword break];\",\n      \"        [keyword break];\",\n      \"    [keyword end]\",\n      \"\"\n  );\n\n  MT(\"indent_if_nested_without_begin\",\n      \"[keyword if] [bracket (][variable foo][bracket )]\",\n      \"    [keyword if] [bracket (][variable foo][bracket )]\",\n      \"        [keyword if] [bracket (][variable foo][bracket )]\",\n      \"            [keyword break];\",\n      \"\"\n  );\n\n  MT(\"indent_case\",\n      \"[keyword case] [bracket (][variable state][bracket )]\",\n      \"    [variable FOO]:\",\n      \"        [keyword break];\",\n      \"    [variable BAR]:\",\n      \"        [keyword break];\",\n      \"[keyword endcase]\",\n      \"\"\n  );\n\n  MT(\"unindent_after_end_with_preceding_text\",\n      \"[keyword begin]\",\n      \"    [keyword break]; [keyword end]\",\n      \"\"\n  );\n\n  MT(\"export_function_one_line_does_not_indent\",\n     \"[keyword export] [string \\\"DPI-C\\\"] [keyword function] [variable helloFromSV];\",\n     \"\"\n  );\n\n  MT(\"export_task_one_line_does_not_indent\",\n     \"[keyword export] [string \\\"DPI-C\\\"] [keyword task] [variable helloFromSV];\",\n     \"\"\n  );\n\n  MT(\"export_function_two_lines_indents_properly\",\n    \"[keyword export]\",\n    \"    [string \\\"DPI-C\\\"] [keyword function] [variable helloFromSV];\",\n    \"\"\n  );\n\n  MT(\"export_task_two_lines_indents_properly\",\n    \"[keyword export]\",\n    \"    [string \\\"DPI-C\\\"] [keyword task] [variable helloFromSV];\",\n    \"\"\n  );\n\n  MT(\"import_function_one_line_does_not_indent\",\n    \"[keyword import] [string \\\"DPI-C\\\"] [keyword function] [variable helloFromC];\",\n    \"\"\n  );\n\n  MT(\"import_task_one_line_does_not_indent\",\n    \"[keyword import] [string \\\"DPI-C\\\"] [keyword task] [variable helloFromC];\",\n    \"\"\n  );\n\n  MT(\"import_package_single_line_does_not_indent\",\n    \"[keyword import] [variable p]::[variable x];\",\n    \"[keyword import] [variable p]::[variable y];\",\n    \"\"\n  );\n\n  MT(\"covergoup_with_function_indents_properly\",\n    \"[keyword covergroup] [variable cg] [keyword with] [keyword function] [variable sample][bracket (][keyword bit] [variable b][bracket )];\",\n    \"    [variable c] : [keyword coverpoint] [variable c];\",\n    \"[keyword endgroup]: [variable cg]\",\n    \"\"\n  );\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/verilog/verilog.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"verilog\", function(config, parserConfig) {\n\n  var indentUnit = config.indentUnit,\n      statementIndentUnit = parserConfig.statementIndentUnit || indentUnit,\n      dontAlignCalls = parserConfig.dontAlignCalls,\n      noIndentKeywords = parserConfig.noIndentKeywords || [],\n      multiLineStrings = parserConfig.multiLineStrings,\n      hooks = parserConfig.hooks || {};\n\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  /**\n   * Keywords from IEEE 1800-2012\n   */\n  var keywords = words(\n    \"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind \" +\n    \"bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config \" +\n    \"const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable \" +\n    \"dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup \" +\n    \"endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask \" +\n    \"enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin \" +\n    \"function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import \" +\n    \"incdir include initial inout input inside instance int integer interconnect interface intersect join join_any \" +\n    \"join_none large let liblist library local localparam logic longint macromodule matches medium modport module \" +\n    \"nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 null or output package packed \" +\n    \"parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup \" +\n    \"pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg \" +\n    \"reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime \" +\n    \"s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify \" +\n    \"specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on \" +\n    \"table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior \" +\n    \"trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void \" +\n    \"wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor\");\n\n  /** Operators from IEEE 1800-2012\n     unary_operator ::=\n       + | - | ! | ~ | & | ~& | | | ~| | ^ | ~^ | ^~\n     binary_operator ::=\n       + | - | * | / | % | == | != | === | !== | ==? | !=? | && | || | **\n       | < | <= | > | >= | & | | | ^ | ^~ | ~^ | >> | << | >>> | <<<\n       | -> | <->\n     inc_or_dec_operator ::= ++ | --\n     unary_module_path_operator ::=\n       ! | ~ | & | ~& | | | ~| | ^ | ~^ | ^~\n     binary_module_path_operator ::=\n       == | != | && | || | & | | | ^ | ^~ | ~^\n  */\n  var isOperatorChar = /[\\+\\-\\*\\/!~&|^%=?:]/;\n  var isBracketChar = /[\\[\\]{}()]/;\n\n  var unsignedNumber = /\\d[0-9_]*/;\n  var decimalLiteral = /\\d*\\s*'s?d\\s*\\d[0-9_]*/i;\n  var binaryLiteral = /\\d*\\s*'s?b\\s*[xz01][xz01_]*/i;\n  var octLiteral = /\\d*\\s*'s?o\\s*[xz0-7][xz0-7_]*/i;\n  var hexLiteral = /\\d*\\s*'s?h\\s*[0-9a-fxz?][0-9a-fxz?_]*/i;\n  var realLiteral = /(\\d[\\d_]*(\\.\\d[\\d_]*)?E-?[\\d_]+)|(\\d[\\d_]*\\.\\d[\\d_]*)/i;\n\n  var closingBracketOrWord = /^((\\w+)|[)}\\]])/;\n  var closingBracket = /[)}\\]]/;\n\n  var curPunc;\n  var curKeyword;\n\n  // Block openings which are closed by a matching keyword in the form of (\"end\" + keyword)\n  // E.g. \"task\" => \"endtask\"\n  var blockKeywords = words(\n    \"case checker class clocking config function generate interface module package\" +\n    \"primitive program property specify sequence table task\"\n  );\n\n  // Opening/closing pairs\n  var openClose = {};\n  for (var keyword in blockKeywords) {\n    openClose[keyword] = \"end\" + keyword;\n  }\n  openClose[\"begin\"] = \"end\";\n  openClose[\"casex\"] = \"endcase\";\n  openClose[\"casez\"] = \"endcase\";\n  openClose[\"do\"   ] = \"while\";\n  openClose[\"fork\" ] = \"join;join_any;join_none\";\n  openClose[\"covergroup\"] = \"endgroup\";\n\n  for (var i in noIndentKeywords) {\n    var keyword = noIndentKeywords[i];\n    if (openClose[keyword]) {\n      openClose[keyword] = undefined;\n    }\n  }\n\n  // Keywords which open statements that are ended with a semi-colon\n  var statementKeywords = words(\"always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while\");\n\n  function tokenBase(stream, state) {\n    var ch = stream.peek(), style;\n    if (hooks[ch] && (style = hooks[ch](stream, state)) != false) return style;\n    if (hooks.tokenBase && (style = hooks.tokenBase(stream, state)) != false)\n      return style;\n\n    if (/[,;:\\.]/.test(ch)) {\n      curPunc = stream.next();\n      return null;\n    }\n    if (isBracketChar.test(ch)) {\n      curPunc = stream.next();\n      return \"bracket\";\n    }\n    // Macros (tick-defines)\n    if (ch == '`') {\n      stream.next();\n      if (stream.eatWhile(/[\\w\\$_]/)) {\n        return \"def\";\n      } else {\n        return null;\n      }\n    }\n    // System calls\n    if (ch == '$') {\n      stream.next();\n      if (stream.eatWhile(/[\\w\\$_]/)) {\n        return \"meta\";\n      } else {\n        return null;\n      }\n    }\n    // Time literals\n    if (ch == '#') {\n      stream.next();\n      stream.eatWhile(/[\\d_.]/);\n      return \"def\";\n    }\n    // Strings\n    if (ch == '\"') {\n      stream.next();\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    // Comments\n    if (ch == \"/\") {\n      stream.next();\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      stream.backUp(1);\n    }\n\n    // Numeric literals\n    if (stream.match(realLiteral) ||\n        stream.match(decimalLiteral) ||\n        stream.match(binaryLiteral) ||\n        stream.match(octLiteral) ||\n        stream.match(hexLiteral) ||\n        stream.match(unsignedNumber) ||\n        stream.match(realLiteral)) {\n      return \"number\";\n    }\n\n    // Operators\n    if (stream.eatWhile(isOperatorChar)) {\n      return \"meta\";\n    }\n\n    // Keywords / plain variables\n    if (stream.eatWhile(/[\\w\\$_]/)) {\n      var cur = stream.current();\n      if (keywords[cur]) {\n        if (openClose[cur]) {\n          curPunc = \"newblock\";\n        }\n        if (statementKeywords[cur]) {\n          curPunc = \"newstatement\";\n        }\n        curKeyword = cur;\n        return \"keyword\";\n      }\n      return \"variable\";\n    }\n\n    stream.next();\n    return null;\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || multiLineStrings))\n        state.tokenize = tokenBase;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    var indent = state.indented;\n    var c = new Context(indent, col, type, null, state.context);\n    return state.context = c;\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\") {\n      state.indented = state.context.indented;\n    }\n    return state.context = state.context.prev;\n  }\n\n  function isClosing(text, contextClosing) {\n    if (text == contextClosing) {\n      return true;\n    } else {\n      // contextClosing may be mulitple keywords separated by ;\n      var closingKeywords = contextClosing.split(\";\");\n      for (var i in closingKeywords) {\n        if (text == closingKeywords[i]) {\n          return true;\n        }\n      }\n      return false;\n    }\n  }\n\n  function buildElectricInputRegEx() {\n    // Reindentation should occur on any bracket char: {}()[]\n    // or on a match of any of the block closing keywords, at\n    // the end of a line\n    var allClosings = [];\n    for (var i in openClose) {\n      if (openClose[i]) {\n        var closings = openClose[i].split(\";\");\n        for (var j in closings) {\n          allClosings.push(closings[j]);\n        }\n      }\n    }\n    var re = new RegExp(\"[{}()\\\\[\\\\]]|(\" + allClosings.join(\"|\") + \")$\");\n    return re;\n  }\n\n  // Interface\n  return {\n\n    // Regex to force current line to reindent\n    electricInput: buildElectricInputRegEx(),\n\n    startState: function(basecolumn) {\n      var state = {\n        tokenize: null,\n        context: new Context((basecolumn || 0) - indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true\n      };\n      if (hooks.startState) hooks.startState(state);\n      return state;\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n      }\n      if (hooks.token) hooks.token(stream, state);\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      curKeyword = null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\" || style == \"variable\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if (curPunc == ctx.type) {\n        popContext(state);\n      } else if ((curPunc == \";\" && ctx.type == \"statement\") ||\n               (ctx.type && isClosing(curKeyword, ctx.type))) {\n        ctx = popContext(state);\n        while (ctx && ctx.type == \"statement\") ctx = popContext(state);\n      } else if (curPunc == \"{\") {\n        pushContext(state, stream.column(), \"}\");\n      } else if (curPunc == \"[\") {\n        pushContext(state, stream.column(), \"]\");\n      } else if (curPunc == \"(\") {\n        pushContext(state, stream.column(), \")\");\n      } else if (ctx && ctx.type == \"endcase\" && curPunc == \":\") {\n        pushContext(state, stream.column(), \"statement\");\n      } else if (curPunc == \"newstatement\") {\n        pushContext(state, stream.column(), \"statement\");\n      } else if (curPunc == \"newblock\") {\n        if (curKeyword == \"function\" && ctx && (ctx.type == \"statement\" || ctx.type == \"endgroup\")) {\n          // The 'function' keyword can appear in some other contexts where it actually does not\n          // indicate a function (import/export DPI and covergroup definitions).\n          // Do nothing in this case\n        } else if (curKeyword == \"task\" && ctx && ctx.type == \"statement\") {\n          // Same thing for task\n        } else {\n          var close = openClose[curKeyword];\n          pushContext(state, stream.column(), close);\n        }\n      }\n\n      state.startOfLine = false;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;\n      if (hooks.indent) {\n        var fromHook = hooks.indent(state);\n        if (fromHook >= 0) return fromHook;\n      }\n      var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);\n      if (ctx.type == \"statement\" && firstChar == \"}\") ctx = ctx.prev;\n      var closing = false;\n      var possibleClosing = textAfter.match(closingBracketOrWord);\n      if (possibleClosing)\n        closing = isClosing(possibleClosing[0], ctx.type);\n      if (ctx.type == \"statement\") return ctx.indented + (firstChar == \"{\" ? 0 : statementIndentUnit);\n      else if (closingBracket.test(ctx.type) && ctx.align && !dontAlignCalls) return ctx.column + (closing ? 0 : 1);\n      else if (ctx.type == \")\" && !closing) return ctx.indented + statementIndentUnit;\n      else return ctx.indented + (closing ? 0 : indentUnit);\n    },\n\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: \"//\"\n  };\n});\n\n  CodeMirror.defineMIME(\"text/x-verilog\", {\n    name: \"verilog\"\n  });\n\n  CodeMirror.defineMIME(\"text/x-systemverilog\", {\n    name: \"verilog\"\n  });\n\n  // SVXVerilog mode\n\n  var svxchScopePrefixes = {\n    \">\": \"property\", \"->\": \"property\", \"-\": \"hr\", \"|\": \"link\", \"?$\": \"qualifier\", \"?*\": \"qualifier\",\n    \"@-\": \"variable-3\", \"@\": \"variable-3\", \"?\": \"qualifier\"\n  };\n\n  function svxGenIndent(stream, state) {\n    var svxindentUnit = 2;\n    var rtnIndent = -1, indentUnitRq = 0, curIndent = stream.indentation();\n    switch (state.svxCurCtlFlowChar) {\n    case \"\\\\\":\n      curIndent = 0;\n      break;\n    case \"|\":\n      if (state.svxPrevPrevCtlFlowChar == \"@\") {\n        indentUnitRq = -2; //-2 new pipe rq after cur pipe\n        break;\n      }\n      if (svxchScopePrefixes[state.svxPrevCtlFlowChar])\n        indentUnitRq = 1; // +1 new scope\n      break;\n    case \"M\":  // m4\n      if (state.svxPrevPrevCtlFlowChar == \"@\") {\n        indentUnitRq = -2; //-2 new inst rq after  pipe\n        break;\n      }\n      if (svxchScopePrefixes[state.svxPrevCtlFlowChar])\n        indentUnitRq = 1; // +1 new scope\n      break;\n    case \"@\":\n      if (state.svxPrevCtlFlowChar == \"S\")\n        indentUnitRq = -1; // new pipe stage after stmts\n      if (state.svxPrevCtlFlowChar == \"|\")\n        indentUnitRq = 1; // 1st pipe stage\n      break;\n    case \"S\":\n      if (state.svxPrevCtlFlowChar == \"@\")\n        indentUnitRq = 1; // flow in pipe stage\n      if (svxchScopePrefixes[state.svxPrevCtlFlowChar])\n        indentUnitRq = 1; // +1 new scope\n      break;\n    }\n    var statementIndentUnit = svxindentUnit;\n    rtnIndent = curIndent + (indentUnitRq*statementIndentUnit);\n    return rtnIndent >= 0 ? rtnIndent : curIndent;\n  }\n\n  CodeMirror.defineMIME(\"text/x-svx\", {\n    name: \"verilog\",\n    hooks: {\n      \"\\\\\": function(stream, state) {\n        var vxIndent = 0, style = false;\n        var curPunc  = stream.string;\n        if ((stream.sol()) && (/\\\\SV/.test(stream.string))) {\n          curPunc = (/\\\\SVX_version/.test(stream.string))\n            ? \"\\\\SVX_version\" : stream.string;\n          stream.skipToEnd();\n          if (curPunc == \"\\\\SV\" && state.vxCodeActive) {state.vxCodeActive = false;};\n          if ((/\\\\SVX/.test(curPunc) && !state.vxCodeActive)\n            || (curPunc==\"\\\\SVX_version\" && state.vxCodeActive)) {state.vxCodeActive = true;};\n          style = \"keyword\";\n          state.svxCurCtlFlowChar  = state.svxPrevPrevCtlFlowChar\n            = state.svxPrevCtlFlowChar = \"\";\n          if (state.vxCodeActive == true) {\n            state.svxCurCtlFlowChar  = \"\\\\\";\n            vxIndent = svxGenIndent(stream, state);\n          }\n          state.vxIndentRq = vxIndent;\n        }\n        return style;\n      },\n      tokenBase: function(stream, state) {\n        var vxIndent = 0, style = false;\n        var svxisOperatorChar = /[\\[\\]=:]/;\n        var svxkpScopePrefixs = {\n          \"**\":\"variable-2\", \"*\":\"variable-2\", \"$$\":\"variable\", \"$\":\"variable\",\n          \"^^\":\"attribute\", \"^\":\"attribute\"};\n        var ch = stream.peek();\n        var vxCurCtlFlowCharValueAtStart = state.svxCurCtlFlowChar;\n        if (state.vxCodeActive == true) {\n          if (/[\\[\\]{}\\(\\);\\:]/.test(ch)) {\n            // bypass nesting and 1 char punc\n            style = \"meta\";\n            stream.next();\n          } else if (ch == \"/\") {\n            stream.next();\n            if (stream.eat(\"/\")) {\n              stream.skipToEnd();\n              style = \"comment\";\n              state.svxCurCtlFlowChar = \"S\";\n            } else {\n              stream.backUp(1);\n            }\n          } else if (ch == \"@\") {\n            // pipeline stage\n            style = svxchScopePrefixes[ch];\n            state.svxCurCtlFlowChar = \"@\";\n            stream.next();\n            stream.eatWhile(/[\\w\\$_]/);\n          } else if (stream.match(/\\b[mM]4+/, true)) { // match: function(pattern, consume, caseInsensitive)\n            // m4 pre proc\n            stream.skipTo(\"(\");\n            style = \"def\";\n            state.svxCurCtlFlowChar = \"M\";\n          } else if (ch == \"!\" && stream.sol()) {\n            // v stmt in svx region\n            // state.svxCurCtlFlowChar  = \"S\";\n            style = \"comment\";\n            stream.next();\n          } else if (svxisOperatorChar.test(ch)) {\n            // operators\n            stream.eatWhile(svxisOperatorChar);\n            style = \"operator\";\n          } else if (ch == \"#\") {\n            // phy hier\n            state.svxCurCtlFlowChar  = (state.svxCurCtlFlowChar == \"\")\n              ? ch : state.svxCurCtlFlowChar;\n            stream.next();\n            stream.eatWhile(/[+-]\\d/);\n            style = \"tag\";\n          } else if (svxkpScopePrefixs.propertyIsEnumerable(ch)) {\n            // special SVX operators\n            style = svxkpScopePrefixs[ch];\n            state.svxCurCtlFlowChar = state.svxCurCtlFlowChar == \"\" ? \"S\" : state.svxCurCtlFlowChar;  // stmt\n            stream.next();\n            stream.match(/[a-zA-Z_0-9]+/);\n          } else if (style = svxchScopePrefixes[ch] || false) {\n            // special SVX operators\n            state.svxCurCtlFlowChar = state.svxCurCtlFlowChar == \"\" ? ch : state.svxCurCtlFlowChar;\n            stream.next();\n            stream.match(/[a-zA-Z_0-9]+/);\n          }\n          if (state.svxCurCtlFlowChar != vxCurCtlFlowCharValueAtStart) { // flow change\n            vxIndent = svxGenIndent(stream, state);\n            state.vxIndentRq = vxIndent;\n          }\n        }\n        return style;\n      },\n      token: function(stream, state) {\n        if (state.vxCodeActive == true && stream.sol() && state.svxCurCtlFlowChar != \"\") {\n          state.svxPrevPrevCtlFlowChar = state.svxPrevCtlFlowChar;\n          state.svxPrevCtlFlowChar = state.svxCurCtlFlowChar;\n          state.svxCurCtlFlowChar = \"\";\n        }\n      },\n      indent: function(state) {\n        return (state.vxCodeActive == true) ? state.vxIndentRq : -1;\n      },\n      startState: function(state) {\n        state.svxCurCtlFlowChar = \"\";\n        state.svxPrevCtlFlowChar = \"\";\n        state.svxPrevPrevCtlFlowChar = \"\";\n        state.vxCodeActive = true;\n        state.vxIndentRq = 0;\n      }\n    }\n  });\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/xml/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: XML mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"xml.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">XML</a>\n  </ul>\n</div>\n\n<article>\n<h2>XML mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n&lt;html style=\"color: green\"&gt;\n  &lt;!-- this is a comment --&gt;\n  &lt;head&gt;\n    &lt;title&gt;HTML Example&lt;/title&gt;\n  &lt;/head&gt;\n  &lt;body&gt;\n    The indentation tries to be &lt;em&gt;somewhat &amp;quot;do what\n    I mean&amp;quot;&lt;/em&gt;... but might not match your style.\n  &lt;/body&gt;\n&lt;/html&gt;\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/html\",\n        lineNumbers: true\n      });\n    </script>\n    <p>The XML mode supports two configuration parameters:</p>\n    <dl>\n      <dt><code>htmlMode (boolean)</code></dt>\n      <dd>This switches the mode to parse HTML instead of XML. This\n      means attributes do not have to be quoted, and some elements\n      (such as <code>br</code>) do not require a closing tag.</dd>\n      <dt><code>alignCDATA (boolean)</code></dt>\n      <dd>Setting this to true will force the opening tag of CDATA\n      blocks to not be indented.</dd>\n    </dl>\n\n    <p><strong>MIME types defined:</strong> <code>application/xml</code>, <code>text/html</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/xml/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function() {\n  var mode = CodeMirror.getMode({indentUnit: 2}, \"xml\"), mname = \"xml\";\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), mname); }\n\n  MT(\"matching\",\n     \"[tag&bracket <][tag top][tag&bracket >]\",\n     \"  text\",\n     \"  [tag&bracket <][tag inner][tag&bracket />]\",\n     \"[tag&bracket </][tag top][tag&bracket >]\");\n\n  MT(\"nonmatching\",\n     \"[tag&bracket <][tag top][tag&bracket >]\",\n     \"  [tag&bracket <][tag inner][tag&bracket />]\",\n     \"  [tag&bracket </][tag&error tip][tag&bracket&error >]\");\n\n  MT(\"doctype\",\n     \"[meta <!doctype foobar>]\",\n     \"[tag&bracket <][tag top][tag&bracket />]\");\n\n  MT(\"cdata\",\n     \"[tag&bracket <][tag top][tag&bracket >]\",\n     \"  [atom <![CDATA[foo]\",\n     \"[atom barbazguh]]]]>]\",\n     \"[tag&bracket </][tag top][tag&bracket >]\");\n\n  // HTML tests\n  mode = CodeMirror.getMode({indentUnit: 2}, \"text/html\");\n\n  MT(\"selfclose\",\n     \"[tag&bracket <][tag html][tag&bracket >]\",\n     \"  [tag&bracket <][tag link] [attribute rel]=[string stylesheet] [attribute href]=[string \\\"/foobar\\\"][tag&bracket >]\",\n     \"[tag&bracket </][tag html][tag&bracket >]\");\n\n  MT(\"list\",\n     \"[tag&bracket <][tag ol][tag&bracket >]\",\n     \"  [tag&bracket <][tag li][tag&bracket >]one\",\n     \"  [tag&bracket <][tag li][tag&bracket >]two\",\n     \"[tag&bracket </][tag ol][tag&bracket >]\");\n\n  MT(\"valueless\",\n     \"[tag&bracket <][tag input] [attribute type]=[string checkbox] [attribute checked][tag&bracket />]\");\n\n  MT(\"pThenArticle\",\n     \"[tag&bracket <][tag p][tag&bracket >]\",\n     \"  foo\",\n     \"[tag&bracket <][tag article][tag&bracket >]bar\");\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/xml/xml.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"xml\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit;\n  var multilineTagIndentFactor = parserConfig.multilineTagIndentFactor || 1;\n  var multilineTagIndentPastTag = parserConfig.multilineTagIndentPastTag;\n  if (multilineTagIndentPastTag == null) multilineTagIndentPastTag = true;\n\n  var Kludges = parserConfig.htmlMode ? {\n    autoSelfClosers: {'area': true, 'base': true, 'br': true, 'col': true, 'command': true,\n                      'embed': true, 'frame': true, 'hr': true, 'img': true, 'input': true,\n                      'keygen': true, 'link': true, 'meta': true, 'param': true, 'source': true,\n                      'track': true, 'wbr': true, 'menuitem': true},\n    implicitlyClosed: {'dd': true, 'li': true, 'optgroup': true, 'option': true, 'p': true,\n                       'rp': true, 'rt': true, 'tbody': true, 'td': true, 'tfoot': true,\n                       'th': true, 'tr': true},\n    contextGrabbers: {\n      'dd': {'dd': true, 'dt': true},\n      'dt': {'dd': true, 'dt': true},\n      'li': {'li': true},\n      'option': {'option': true, 'optgroup': true},\n      'optgroup': {'optgroup': true},\n      'p': {'address': true, 'article': true, 'aside': true, 'blockquote': true, 'dir': true,\n            'div': true, 'dl': true, 'fieldset': true, 'footer': true, 'form': true,\n            'h1': true, 'h2': true, 'h3': true, 'h4': true, 'h5': true, 'h6': true,\n            'header': true, 'hgroup': true, 'hr': true, 'menu': true, 'nav': true, 'ol': true,\n            'p': true, 'pre': true, 'section': true, 'table': true, 'ul': true},\n      'rp': {'rp': true, 'rt': true},\n      'rt': {'rp': true, 'rt': true},\n      'tbody': {'tbody': true, 'tfoot': true},\n      'td': {'td': true, 'th': true},\n      'tfoot': {'tbody': true},\n      'th': {'td': true, 'th': true},\n      'thead': {'tbody': true, 'tfoot': true},\n      'tr': {'tr': true}\n    },\n    doNotIndent: {\"pre\": true},\n    allowUnquoted: true,\n    allowMissing: true,\n    caseFold: true\n  } : {\n    autoSelfClosers: {},\n    implicitlyClosed: {},\n    contextGrabbers: {},\n    doNotIndent: {},\n    allowUnquoted: false,\n    allowMissing: false,\n    caseFold: false\n  };\n  var alignCDATA = parserConfig.alignCDATA;\n\n  // Return variables for tokenizers\n  var type, setStyle;\n\n  function inText(stream, state) {\n    function chain(parser) {\n      state.tokenize = parser;\n      return parser(stream, state);\n    }\n\n    var ch = stream.next();\n    if (ch == \"<\") {\n      if (stream.eat(\"!\")) {\n        if (stream.eat(\"[\")) {\n          if (stream.match(\"CDATA[\")) return chain(inBlock(\"atom\", \"]]>\"));\n          else return null;\n        } else if (stream.match(\"--\")) {\n          return chain(inBlock(\"comment\", \"-->\"));\n        } else if (stream.match(\"DOCTYPE\", true, true)) {\n          stream.eatWhile(/[\\w\\._\\-]/);\n          return chain(doctype(1));\n        } else {\n          return null;\n        }\n      } else if (stream.eat(\"?\")) {\n        stream.eatWhile(/[\\w\\._\\-]/);\n        state.tokenize = inBlock(\"meta\", \"?>\");\n        return \"meta\";\n      } else {\n        type = stream.eat(\"/\") ? \"closeTag\" : \"openTag\";\n        state.tokenize = inTag;\n        return \"tag bracket\";\n      }\n    } else if (ch == \"&\") {\n      var ok;\n      if (stream.eat(\"#\")) {\n        if (stream.eat(\"x\")) {\n          ok = stream.eatWhile(/[a-fA-F\\d]/) && stream.eat(\";\");\n        } else {\n          ok = stream.eatWhile(/[\\d]/) && stream.eat(\";\");\n        }\n      } else {\n        ok = stream.eatWhile(/[\\w\\.\\-:]/) && stream.eat(\";\");\n      }\n      return ok ? \"atom\" : \"error\";\n    } else {\n      stream.eatWhile(/[^&<]/);\n      return null;\n    }\n  }\n\n  function inTag(stream, state) {\n    var ch = stream.next();\n    if (ch == \">\" || (ch == \"/\" && stream.eat(\">\"))) {\n      state.tokenize = inText;\n      type = ch == \">\" ? \"endTag\" : \"selfcloseTag\";\n      return \"tag bracket\";\n    } else if (ch == \"=\") {\n      type = \"equals\";\n      return null;\n    } else if (ch == \"<\") {\n      state.tokenize = inText;\n      state.state = baseState;\n      state.tagName = state.tagStart = null;\n      var next = state.tokenize(stream, state);\n      return next ? next + \" tag error\" : \"tag error\";\n    } else if (/[\\'\\\"]/.test(ch)) {\n      state.tokenize = inAttribute(ch);\n      state.stringStartCol = stream.column();\n      return state.tokenize(stream, state);\n    } else {\n      stream.match(/^[^\\s\\u00a0=<>\\\"\\']*[^\\s\\u00a0=<>\\\"\\'\\/]/);\n      return \"word\";\n    }\n  }\n\n  function inAttribute(quote) {\n    var closure = function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.next() == quote) {\n          state.tokenize = inTag;\n          break;\n        }\n      }\n      return \"string\";\n    };\n    closure.isInAttribute = true;\n    return closure;\n  }\n\n  function inBlock(style, terminator) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.match(terminator)) {\n          state.tokenize = inText;\n          break;\n        }\n        stream.next();\n      }\n      return style;\n    };\n  }\n  function doctype(depth) {\n    return function(stream, state) {\n      var ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == \"<\") {\n          state.tokenize = doctype(depth + 1);\n          return state.tokenize(stream, state);\n        } else if (ch == \">\") {\n          if (depth == 1) {\n            state.tokenize = inText;\n            break;\n          } else {\n            state.tokenize = doctype(depth - 1);\n            return state.tokenize(stream, state);\n          }\n        }\n      }\n      return \"meta\";\n    };\n  }\n\n  function Context(state, tagName, startOfLine) {\n    this.prev = state.context;\n    this.tagName = tagName;\n    this.indent = state.indented;\n    this.startOfLine = startOfLine;\n    if (Kludges.doNotIndent.hasOwnProperty(tagName) || (state.context && state.context.noIndent))\n      this.noIndent = true;\n  }\n  function popContext(state) {\n    if (state.context) state.context = state.context.prev;\n  }\n  function maybePopContext(state, nextTagName) {\n    var parentTagName;\n    while (true) {\n      if (!state.context) {\n        return;\n      }\n      parentTagName = state.context.tagName;\n      if (!Kludges.contextGrabbers.hasOwnProperty(parentTagName) ||\n          !Kludges.contextGrabbers[parentTagName].hasOwnProperty(nextTagName)) {\n        return;\n      }\n      popContext(state);\n    }\n  }\n\n  function baseState(type, stream, state) {\n    if (type == \"openTag\") {\n      state.tagStart = stream.column();\n      return tagNameState;\n    } else if (type == \"closeTag\") {\n      return closeTagNameState;\n    } else {\n      return baseState;\n    }\n  }\n  function tagNameState(type, stream, state) {\n    if (type == \"word\") {\n      state.tagName = stream.current();\n      setStyle = \"tag\";\n      return attrState;\n    } else {\n      setStyle = \"error\";\n      return tagNameState;\n    }\n  }\n  function closeTagNameState(type, stream, state) {\n    if (type == \"word\") {\n      var tagName = stream.current();\n      if (state.context && state.context.tagName != tagName &&\n          Kludges.implicitlyClosed.hasOwnProperty(state.context.tagName))\n        popContext(state);\n      if (state.context && state.context.tagName == tagName) {\n        setStyle = \"tag\";\n        return closeState;\n      } else {\n        setStyle = \"tag error\";\n        return closeStateErr;\n      }\n    } else {\n      setStyle = \"error\";\n      return closeStateErr;\n    }\n  }\n\n  function closeState(type, _stream, state) {\n    if (type != \"endTag\") {\n      setStyle = \"error\";\n      return closeState;\n    }\n    popContext(state);\n    return baseState;\n  }\n  function closeStateErr(type, stream, state) {\n    setStyle = \"error\";\n    return closeState(type, stream, state);\n  }\n\n  function attrState(type, _stream, state) {\n    if (type == \"word\") {\n      setStyle = \"attribute\";\n      return attrEqState;\n    } else if (type == \"endTag\" || type == \"selfcloseTag\") {\n      var tagName = state.tagName, tagStart = state.tagStart;\n      state.tagName = state.tagStart = null;\n      if (type == \"selfcloseTag\" ||\n          Kludges.autoSelfClosers.hasOwnProperty(tagName)) {\n        maybePopContext(state, tagName);\n      } else {\n        maybePopContext(state, tagName);\n        state.context = new Context(state, tagName, tagStart == state.indented);\n      }\n      return baseState;\n    }\n    setStyle = \"error\";\n    return attrState;\n  }\n  function attrEqState(type, stream, state) {\n    if (type == \"equals\") return attrValueState;\n    if (!Kludges.allowMissing) setStyle = \"error\";\n    return attrState(type, stream, state);\n  }\n  function attrValueState(type, stream, state) {\n    if (type == \"string\") return attrContinuedState;\n    if (type == \"word\" && Kludges.allowUnquoted) {setStyle = \"string\"; return attrState;}\n    setStyle = \"error\";\n    return attrState(type, stream, state);\n  }\n  function attrContinuedState(type, stream, state) {\n    if (type == \"string\") return attrContinuedState;\n    return attrState(type, stream, state);\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: inText,\n              state: baseState,\n              indented: 0,\n              tagName: null, tagStart: null,\n              context: null};\n    },\n\n    token: function(stream, state) {\n      if (!state.tagName && stream.sol())\n        state.indented = stream.indentation();\n\n      if (stream.eatSpace()) return null;\n      type = null;\n      var style = state.tokenize(stream, state);\n      if ((style || type) && style != \"comment\") {\n        setStyle = null;\n        state.state = state.state(type || style, stream, state);\n        if (setStyle)\n          style = setStyle == \"error\" ? style + \" error\" : setStyle;\n      }\n      return style;\n    },\n\n    indent: function(state, textAfter, fullLine) {\n      var context = state.context;\n      // Indent multi-line strings (e.g. css).\n      if (state.tokenize.isInAttribute) {\n        if (state.tagStart == state.indented)\n          return state.stringStartCol + 1;\n        else\n          return state.indented + indentUnit;\n      }\n      if (context && context.noIndent) return CodeMirror.Pass;\n      if (state.tokenize != inTag && state.tokenize != inText)\n        return fullLine ? fullLine.match(/^(\\s*)/)[0].length : 0;\n      // Indent the starts of attribute names.\n      if (state.tagName) {\n        if (multilineTagIndentPastTag)\n          return state.tagStart + state.tagName.length + 2;\n        else\n          return state.tagStart + indentUnit * multilineTagIndentFactor;\n      }\n      if (alignCDATA && /<!\\[CDATA\\[/.test(textAfter)) return 0;\n      var tagAfter = textAfter && /^<(\\/)?([\\w_:\\.-]*)/.exec(textAfter);\n      if (tagAfter && tagAfter[1]) { // Closing tag spotted\n        while (context) {\n          if (context.tagName == tagAfter[2]) {\n            context = context.prev;\n            break;\n          } else if (Kludges.implicitlyClosed.hasOwnProperty(context.tagName)) {\n            context = context.prev;\n          } else {\n            break;\n          }\n        }\n      } else if (tagAfter) { // Opening tag spotted\n        while (context) {\n          var grabbers = Kludges.contextGrabbers[context.tagName];\n          if (grabbers && grabbers.hasOwnProperty(tagAfter[2]))\n            context = context.prev;\n          else\n            break;\n        }\n      }\n      while (context && !context.startOfLine)\n        context = context.prev;\n      if (context) return context.indent + indentUnit;\n      else return 0;\n    },\n\n    electricInput: /<\\/[\\s\\w:]+>$/,\n    blockCommentStart: \"<!--\",\n    blockCommentEnd: \"-->\",\n\n    configuration: parserConfig.htmlMode ? \"html\" : \"xml\",\n    helperType: parserConfig.htmlMode ? \"html\" : \"xml\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/xml\", \"xml\");\nCodeMirror.defineMIME(\"application/xml\", \"xml\");\nif (!CodeMirror.mimeModes.hasOwnProperty(\"text/html\"))\n  CodeMirror.defineMIME(\"text/html\", {name: \"xml\", htmlMode: true});\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/xquery/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: XQuery mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/xq-dark.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"xquery.js\"></script>\n<style type=\"text/css\">\n\t.CodeMirror {\n\t  border-top: 1px solid black; border-bottom: 1px solid black;\n\t  height:400px;\n\t}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">XQuery</a>\n  </ul>\n</div>\n\n<article>\n<h2>XQuery mode</h2>\n \n \n<div class=\"cm-s-default\"> \n\t<textarea id=\"code\" name=\"code\"> \nxquery version &quot;1.0-ml&quot;;\n(: this is\n : a \n   \"comment\" :)\nlet $let := &lt;x attr=&quot;value&quot;&gt;&quot;test&quot;&lt;func&gt;function() $var {function()} {$var}&lt;/func&gt;&lt;/x&gt;\nlet $joe:=1\nreturn element element {\n\tattribute attribute { 1 },\n\telement test { &#39;a&#39; }, \n\tattribute foo { &quot;bar&quot; },\n\tfn:doc()[ foo/@bar eq $let ],\n\t//x }    \n \n(: a more 'evil' test :)\n(: Modified Blakeley example (: with nested comment :) ... :)\ndeclare private function local:declare() {()};\ndeclare private function local:private() {()};\ndeclare private function local:function() {()};\ndeclare private function local:local() {()};\nlet $let := &lt;let&gt;let $let := &quot;let&quot;&lt;/let&gt;\nreturn element element {\n\tattribute attribute { try { xdmp:version() } catch($e) { xdmp:log($e) } },\n\tattribute fn:doc { &quot;bar&quot; castable as xs:string },\n\telement text { text { &quot;text&quot; } },\n\tfn:doc()[ child::eq/(@bar | attribute::attribute) eq $let ],\n\t//fn:doc\n}\n\n\n\nxquery version &quot;1.0-ml&quot;;\n\n(: Copyright 2006-2010 Mark Logic Corporation. :)\n\n(:\n : Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);\n : you may not use this file except in compliance with the License.\n : You may obtain a copy of the License at\n :\n :     http://www.apache.org/licenses/LICENSE-2.0\n :\n : Unless required by applicable law or agreed to in writing, software\n : distributed under the License is distributed on an &quot;AS IS&quot; BASIS,\n : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n : See the License for the specific language governing permissions and\n : limitations under the License.\n :)\n\nmodule namespace json = &quot;http://marklogic.com/json&quot;;\ndeclare default function namespace &quot;http://www.w3.org/2005/xpath-functions&quot;;\n\n(: Need to backslash escape any double quotes, backslashes, and newlines :)\ndeclare function json:escape($s as xs:string) as xs:string {\n  let $s := replace($s, &quot;\\\\&quot;, &quot;\\\\\\\\&quot;)\n  let $s := replace($s, &quot;&quot;&quot;&quot;, &quot;\\\\&quot;&quot;&quot;)\n  let $s := replace($s, codepoints-to-string((13, 10)), &quot;\\\\n&quot;)\n  let $s := replace($s, codepoints-to-string(13), &quot;\\\\n&quot;)\n  let $s := replace($s, codepoints-to-string(10), &quot;\\\\n&quot;)\n  return $s\n};\n\ndeclare function json:atomize($x as element()) as xs:string {\n  if (count($x/node()) = 0) then 'null'\n  else if ($x/@type = &quot;number&quot;) then\n    let $castable := $x castable as xs:float or\n                     $x castable as xs:double or\n                     $x castable as xs:decimal\n    return\n    if ($castable) then xs:string($x)\n    else error(concat(&quot;Not a number: &quot;, xdmp:describe($x)))\n  else if ($x/@type = &quot;boolean&quot;) then\n    let $castable := $x castable as xs:boolean\n    return\n    if ($castable) then xs:string(xs:boolean($x))\n    else error(concat(&quot;Not a boolean: &quot;, xdmp:describe($x)))\n  else concat('&quot;', json:escape($x), '&quot;')\n};\n\n(: Print the thing that comes after the colon :)\ndeclare function json:print-value($x as element()) as xs:string {\n  if (count($x/*) = 0) then\n    json:atomize($x)\n  else if ($x/@quote = &quot;true&quot;) then\n    concat('&quot;', json:escape(xdmp:quote($x/node())), '&quot;')\n  else\n    string-join(('{',\n      string-join(for $i in $x/* return json:print-name-value($i), &quot;,&quot;),\n    '}'), &quot;&quot;)\n};\n\n(: Print the name and value both :)\ndeclare function json:print-name-value($x as element()) as xs:string? {\n  let $name := name($x)\n  let $first-in-array :=\n    count($x/preceding-sibling::*[name(.) = $name]) = 0 and\n    (count($x/following-sibling::*[name(.) = $name]) &gt; 0 or $x/@array = &quot;true&quot;)\n  let $later-in-array := count($x/preceding-sibling::*[name(.) = $name]) &gt; 0\n  return\n\n  if ($later-in-array) then\n    ()  (: I was handled previously :)\n  else if ($first-in-array) then\n    string-join(('&quot;', json:escape($name), '&quot;:[',\n      string-join((for $i in ($x, $x/following-sibling::*[name(.) = $name]) return json:print-value($i)), &quot;,&quot;),\n    ']'), &quot;&quot;)\n   else\n     string-join(('&quot;', json:escape($name), '&quot;:', json:print-value($x)), &quot;&quot;)\n};\n\n(:~\n  Transforms an XML element into a JSON string representation.  See http://json.org.\n  &lt;p/&gt;\n  Sample usage:\n  &lt;pre&gt;\n    xquery version &quot;1.0-ml&quot;;\n    import module namespace json=&quot;http://marklogic.com/json&quot; at &quot;json.xqy&quot;;\n    json:serialize(&amp;lt;foo&amp;gt;&amp;lt;bar&amp;gt;kid&amp;lt;/bar&amp;gt;&amp;lt;/foo&amp;gt;)\n  &lt;/pre&gt;\n  Sample transformations:\n  &lt;pre&gt;\n  &amp;lt;e/&amp;gt; becomes {&quot;e&quot;:null}\n  &amp;lt;e&amp;gt;text&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:&quot;text&quot;}\n  &amp;lt;e&amp;gt;quote &quot; escaping&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:&quot;quote \\&quot; escaping&quot;}\n  &amp;lt;e&amp;gt;backslash \\ escaping&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:&quot;backslash \\\\ escaping&quot;}\n  &amp;lt;e&amp;gt;&amp;lt;a&amp;gt;text1&amp;lt;/a&amp;gt;&amp;lt;b&amp;gt;text2&amp;lt;/b&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:{&quot;a&quot;:&quot;text1&quot;,&quot;b&quot;:&quot;text2&quot;}}\n  &amp;lt;e&amp;gt;&amp;lt;a&amp;gt;text1&amp;lt;/a&amp;gt;&amp;lt;a&amp;gt;text2&amp;lt;/a&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:{&quot;a&quot;:[&quot;text1&quot;,&quot;text2&quot;]}}\n  &amp;lt;e&amp;gt;&amp;lt;a array=&quot;true&quot;&amp;gt;text1&amp;lt;/a&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:{&quot;a&quot;:[&quot;text1&quot;]}}\n  &amp;lt;e&amp;gt;&amp;lt;a type=&quot;boolean&quot;&amp;gt;false&amp;lt;/a&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:{&quot;a&quot;:false}}\n  &amp;lt;e&amp;gt;&amp;lt;a type=&quot;number&quot;&amp;gt;123.5&amp;lt;/a&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:{&quot;a&quot;:123.5}}\n  &amp;lt;e quote=&quot;true&quot;&amp;gt;&amp;lt;div attrib=&quot;value&quot;/&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:&quot;&amp;lt;div attrib=\\&quot;value\\&quot;/&amp;gt;&quot;}\n  &lt;/pre&gt;\n  &lt;p/&gt;\n  Namespace URIs are ignored.  Namespace prefixes are included in the JSON name.\n  &lt;p/&gt;\n  Attributes are ignored, except for the special attribute @array=&quot;true&quot; that\n  indicates the JSON serialization should write the node, even if single, as an\n  array, and the attribute @type that can be set to &quot;boolean&quot; or &quot;number&quot; to\n  dictate the value should be written as that type (unquoted).  There's also\n  an @quote attribute that when set to true writes the inner content as text\n  rather than as structured JSON, useful for sending some XHTML over the\n  wire.\n  &lt;p/&gt;\n  Text nodes within mixed content are ignored.\n\n  @param $x Element node to convert\n  @return String holding JSON serialized representation of $x\n\n  @author Jason Hunter\n  @version 1.0.1\n  \n  Ported to xquery 1.0-ml; double escaped backslashes in json:escape\n:)\ndeclare function json:serialize($x as element())  as xs:string {\n  string-join(('{', json:print-name-value($x), '}'), &quot;&quot;)\n};\n  </textarea> \n</div> \n \n    <script> \n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        theme: \"xq-dark\"\n      });\n    </script> \n \n    <p><strong>MIME types defined:</strong> <code>application/xquery</code>.</p> \n \n    <p>Development of the CodeMirror XQuery mode was sponsored by \n      <a href=\"http://marklogic.com\">MarkLogic</a> and developed by \n      <a href=\"https://twitter.com/mbrevoort\">Mike Brevoort</a>.\n    </p>\n \n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/xquery/test.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// Don't take these too seriously -- the expected results appear to be\n// based on the results of actual runs without any serious manual\n// verification. If a change you made causes them to fail, the test is\n// as likely to wrong as the code.\n\n(function() {\n  var mode = CodeMirror.getMode({tabSize: 4}, \"xquery\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"eviltest\",\n     \"[keyword xquery] [keyword version] [variable &quot;1][keyword .][atom 0][keyword -][variable ml&quot;][def&variable ;]      [comment (: this is       : a          \\\"comment\\\" :)]\",\n     \"      [keyword let] [variable $let] [keyword :=] [variable &lt;x] [variable attr][keyword =][variable &quot;value&quot;&gt;&quot;test&quot;&lt;func&gt][def&variable ;function]() [variable $var] {[keyword function]()} {[variable $var]}[variable &lt;][keyword /][variable func&gt;&lt;][keyword /][variable x&gt;]\",\n     \"      [keyword let] [variable $joe][keyword :=][atom 1]\",\n     \"      [keyword return] [keyword element] [variable element] {\",\n     \"          [keyword attribute] [variable attribute] { [atom 1] },\",\n     \"          [keyword element] [variable test] { [variable &#39;a&#39;] },           [keyword attribute] [variable foo] { [variable &quot;bar&quot;] },\",\n     \"          [def&variable fn:doc]()[[ [variable foo][keyword /][variable @bar] [keyword eq] [variable $let] ]],\",\n     \"          [keyword //][variable x] }                 [comment (: a more 'evil' test :)]\",\n     \"      [comment (: Modified Blakeley example (: with nested comment :) ... :)]\",\n     \"      [keyword declare] [keyword private] [keyword function] [def&variable local:declare]() {()}[variable ;]\",\n     \"      [keyword declare] [keyword private] [keyword function] [def&variable local:private]() {()}[variable ;]\",\n     \"      [keyword declare] [keyword private] [keyword function] [def&variable local:function]() {()}[variable ;]\",\n     \"      [keyword declare] [keyword private] [keyword function] [def&variable local:local]() {()}[variable ;]\",\n     \"      [keyword let] [variable $let] [keyword :=] [variable &lt;let&gt;let] [variable $let] [keyword :=] [variable &quot;let&quot;&lt;][keyword /let][variable &gt;]\",\n     \"      [keyword return] [keyword element] [variable element] {\",\n     \"          [keyword attribute] [variable attribute] { [keyword try] { [def&variable xdmp:version]() } [keyword catch]([variable $e]) { [def&variable xdmp:log]([variable $e]) } },\",\n     \"          [keyword attribute] [variable fn:doc] { [variable &quot;bar&quot;] [variable castable] [keyword as] [atom xs:string] },\",\n     \"          [keyword element] [variable text] { [keyword text] { [variable &quot;text&quot;] } },\",\n     \"          [def&variable fn:doc]()[[ [qualifier child::][variable eq][keyword /]([variable @bar] [keyword |] [qualifier attribute::][variable attribute]) [keyword eq] [variable $let] ]],\",\n     \"          [keyword //][variable fn:doc]\",\n     \"      }\");\n\n  MT(\"testEmptySequenceKeyword\",\n     \"[string \\\"foo\\\"] [keyword instance] [keyword of] [keyword empty-sequence]()\");\n\n  MT(\"testMultiAttr\",\n     \"[tag <p ][attribute a1]=[string \\\"foo\\\"] [attribute a2]=[string \\\"bar\\\"][tag >][variable hello] [variable world][tag </p>]\");\n\n  MT(\"test namespaced variable\",\n     \"[keyword declare] [keyword namespace] [variable e] [keyword =] [string \\\"http://example.com/ANamespace\\\"][variable ;declare] [keyword variable] [variable $e:exampleComThisVarIsNotRecognized] [keyword as] [keyword element]([keyword *]) [variable external;]\");\n\n  MT(\"test EQName variable\",\n     \"[keyword declare] [keyword variable] [variable $\\\"http://www.example.com/ns/my\\\":var] [keyword :=] [atom 12][variable ;]\",\n     \"[tag <out>]{[variable $\\\"http://www.example.com/ns/my\\\":var]}[tag </out>]\");\n\n  MT(\"test EQName function\",\n     \"[keyword declare] [keyword function] [def&variable \\\"http://www.example.com/ns/my\\\":fn] ([variable $a] [keyword as] [atom xs:integer]) [keyword as] [atom xs:integer] {\",\n     \"   [variable $a] [keyword +] [atom 2]\",\n     \"}[variable ;]\",\n     \"[tag <out>]{[def&variable \\\"http://www.example.com/ns/my\\\":fn]([atom 12])}[tag </out>]\");\n\n  MT(\"test EQName function with single quotes\",\n     \"[keyword declare] [keyword function] [def&variable 'http://www.example.com/ns/my':fn] ([variable $a] [keyword as] [atom xs:integer]) [keyword as] [atom xs:integer] {\",\n     \"   [variable $a] [keyword +] [atom 2]\",\n     \"}[variable ;]\",\n     \"[tag <out>]{[def&variable 'http://www.example.com/ns/my':fn]([atom 12])}[tag </out>]\");\n\n  MT(\"testProcessingInstructions\",\n     \"[def&variable data]([comment&meta <?target content?>]) [keyword instance] [keyword of] [atom xs:string]\");\n\n  MT(\"testQuoteEscapeDouble\",\n     \"[keyword let] [variable $rootfolder] [keyword :=] [string \\\"c:\\\\builds\\\\winnt\\\\HEAD\\\\qa\\\\scripts\\\\\\\"]\",\n     \"[keyword let] [variable $keysfolder] [keyword :=] [def&variable concat]([variable $rootfolder], [string \\\"keys\\\\\\\"])\");\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/xquery/xquery.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"xquery\", function() {\n\n  // The keywords object is set to the result of this self executing\n  // function. Each keyword is a property of the keywords object whose\n  // value is {type: atype, style: astyle}\n  var keywords = function(){\n    // conveinence functions used to build keywords object\n    function kw(type) {return {type: type, style: \"keyword\"};}\n    var A = kw(\"keyword a\")\n      , B = kw(\"keyword b\")\n      , C = kw(\"keyword c\")\n      , operator = kw(\"operator\")\n      , atom = {type: \"atom\", style: \"atom\"}\n      , punctuation = {type: \"punctuation\", style: null}\n      , qualifier = {type: \"axis_specifier\", style: \"qualifier\"};\n\n    // kwObj is what is return from this function at the end\n    var kwObj = {\n      'if': A, 'switch': A, 'while': A, 'for': A,\n      'else': B, 'then': B, 'try': B, 'finally': B, 'catch': B,\n      'element': C, 'attribute': C, 'let': C, 'implements': C, 'import': C, 'module': C, 'namespace': C,\n      'return': C, 'super': C, 'this': C, 'throws': C, 'where': C, 'private': C,\n      ',': punctuation,\n      'null': atom, 'fn:false()': atom, 'fn:true()': atom\n    };\n\n    // a list of 'basic' keywords. For each add a property to kwObj with the value of\n    // {type: basic[i], style: \"keyword\"} e.g. 'after' --> {type: \"after\", style: \"keyword\"}\n    var basic = ['after','ancestor','ancestor-or-self','and','as','ascending','assert','attribute','before',\n    'by','case','cast','child','comment','declare','default','define','descendant','descendant-or-self',\n    'descending','document','document-node','element','else','eq','every','except','external','following',\n    'following-sibling','follows','for','function','if','import','in','instance','intersect','item',\n    'let','module','namespace','node','node','of','only','or','order','parent','precedes','preceding',\n    'preceding-sibling','processing-instruction','ref','return','returns','satisfies','schema','schema-element',\n    'self','some','sortby','stable','text','then','to','treat','typeswitch','union','variable','version','where',\n    'xquery', 'empty-sequence'];\n    for(var i=0, l=basic.length; i < l; i++) { kwObj[basic[i]] = kw(basic[i]);};\n\n    // a list of types. For each add a property to kwObj with the value of\n    // {type: \"atom\", style: \"atom\"}\n    var types = ['xs:string', 'xs:float', 'xs:decimal', 'xs:double', 'xs:integer', 'xs:boolean', 'xs:date', 'xs:dateTime',\n    'xs:time', 'xs:duration', 'xs:dayTimeDuration', 'xs:time', 'xs:yearMonthDuration', 'numeric', 'xs:hexBinary',\n    'xs:base64Binary', 'xs:anyURI', 'xs:QName', 'xs:byte','xs:boolean','xs:anyURI','xf:yearMonthDuration'];\n    for(var i=0, l=types.length; i < l; i++) { kwObj[types[i]] = atom;};\n\n    // each operator will add a property to kwObj with value of {type: \"operator\", style: \"keyword\"}\n    var operators = ['eq', 'ne', 'lt', 'le', 'gt', 'ge', ':=', '=', '>', '>=', '<', '<=', '.', '|', '?', 'and', 'or', 'div', 'idiv', 'mod', '*', '/', '+', '-'];\n    for(var i=0, l=operators.length; i < l; i++) { kwObj[operators[i]] = operator;};\n\n    // each axis_specifiers will add a property to kwObj with value of {type: \"axis_specifier\", style: \"qualifier\"}\n    var axis_specifiers = [\"self::\", \"attribute::\", \"child::\", \"descendant::\", \"descendant-or-self::\", \"parent::\",\n    \"ancestor::\", \"ancestor-or-self::\", \"following::\", \"preceding::\", \"following-sibling::\", \"preceding-sibling::\"];\n    for(var i=0, l=axis_specifiers.length; i < l; i++) { kwObj[axis_specifiers[i]] = qualifier; };\n\n    return kwObj;\n  }();\n\n  // Used as scratch variables to communicate multiple values without\n  // consing up tons of objects.\n  var type, content;\n\n  function ret(tp, style, cont) {\n    type = tp; content = cont;\n    return style;\n  }\n\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n\n  // the primary mode tokenizer\n  function tokenBase(stream, state) {\n    var ch = stream.next(),\n        mightBeFunction = false,\n        isEQName = isEQNameAhead(stream);\n\n    // an XML tag (if not in some sub, chained tokenizer)\n    if (ch == \"<\") {\n      if(stream.match(\"!--\", true))\n        return chain(stream, state, tokenXMLComment);\n\n      if(stream.match(\"![CDATA\", false)) {\n        state.tokenize = tokenCDATA;\n        return ret(\"tag\", \"tag\");\n      }\n\n      if(stream.match(\"?\", false)) {\n        return chain(stream, state, tokenPreProcessing);\n      }\n\n      var isclose = stream.eat(\"/\");\n      stream.eatSpace();\n      var tagName = \"\", c;\n      while ((c = stream.eat(/[^\\s\\u00a0=<>\\\"\\'\\/?]/))) tagName += c;\n\n      return chain(stream, state, tokenTag(tagName, isclose));\n    }\n    // start code block\n    else if(ch == \"{\") {\n      pushStateStack(state,{ type: \"codeblock\"});\n      return ret(\"\", null);\n    }\n    // end code block\n    else if(ch == \"}\") {\n      popStateStack(state);\n      return ret(\"\", null);\n    }\n    // if we're in an XML block\n    else if(isInXmlBlock(state)) {\n      if(ch == \">\")\n        return ret(\"tag\", \"tag\");\n      else if(ch == \"/\" && stream.eat(\">\")) {\n        popStateStack(state);\n        return ret(\"tag\", \"tag\");\n      }\n      else\n        return ret(\"word\", \"variable\");\n    }\n    // if a number\n    else if (/\\d/.test(ch)) {\n      stream.match(/^\\d*(?:\\.\\d*)?(?:E[+\\-]?\\d+)?/);\n      return ret(\"number\", \"atom\");\n    }\n    // comment start\n    else if (ch === \"(\" && stream.eat(\":\")) {\n      pushStateStack(state, { type: \"comment\"});\n      return chain(stream, state, tokenComment);\n    }\n    // quoted string\n    else if (  !isEQName && (ch === '\"' || ch === \"'\"))\n      return chain(stream, state, tokenString(ch));\n    // variable\n    else if(ch === \"$\") {\n      return chain(stream, state, tokenVariable);\n    }\n    // assignment\n    else if(ch ===\":\" && stream.eat(\"=\")) {\n      return ret(\"operator\", \"keyword\");\n    }\n    // open paren\n    else if(ch === \"(\") {\n      pushStateStack(state, { type: \"paren\"});\n      return ret(\"\", null);\n    }\n    // close paren\n    else if(ch === \")\") {\n      popStateStack(state);\n      return ret(\"\", null);\n    }\n    // open paren\n    else if(ch === \"[\") {\n      pushStateStack(state, { type: \"bracket\"});\n      return ret(\"\", null);\n    }\n    // close paren\n    else if(ch === \"]\") {\n      popStateStack(state);\n      return ret(\"\", null);\n    }\n    else {\n      var known = keywords.propertyIsEnumerable(ch) && keywords[ch];\n\n      // if there's a EQName ahead, consume the rest of the string portion, it's likely a function\n      if(isEQName && ch === '\\\"') while(stream.next() !== '\"'){}\n      if(isEQName && ch === '\\'') while(stream.next() !== '\\''){}\n\n      // gobble up a word if the character is not known\n      if(!known) stream.eatWhile(/[\\w\\$_-]/);\n\n      // gobble a colon in the case that is a lib func type call fn:doc\n      var foundColon = stream.eat(\":\");\n\n      // if there's not a second colon, gobble another word. Otherwise, it's probably an axis specifier\n      // which should get matched as a keyword\n      if(!stream.eat(\":\") && foundColon) {\n        stream.eatWhile(/[\\w\\$_-]/);\n      }\n      // if the next non whitespace character is an open paren, this is probably a function (if not a keyword of other sort)\n      if(stream.match(/^[ \\t]*\\(/, false)) {\n        mightBeFunction = true;\n      }\n      // is the word a keyword?\n      var word = stream.current();\n      known = keywords.propertyIsEnumerable(word) && keywords[word];\n\n      // if we think it's a function call but not yet known,\n      // set style to variable for now for lack of something better\n      if(mightBeFunction && !known) known = {type: \"function_call\", style: \"variable def\"};\n\n      // if the previous word was element, attribute, axis specifier, this word should be the name of that\n      if(isInXmlConstructor(state)) {\n        popStateStack(state);\n        return ret(\"word\", \"variable\", word);\n      }\n      // as previously checked, if the word is element,attribute, axis specifier, call it an \"xmlconstructor\" and\n      // push the stack so we know to look for it on the next word\n      if(word == \"element\" || word == \"attribute\" || known.type == \"axis_specifier\") pushStateStack(state, {type: \"xmlconstructor\"});\n\n      // if the word is known, return the details of that else just call this a generic 'word'\n      return known ? ret(known.type, known.style, word) :\n                     ret(\"word\", \"variable\", word);\n    }\n  }\n\n  // handle comments, including nested\n  function tokenComment(stream, state) {\n    var maybeEnd = false, maybeNested = false, nestedCount = 0, ch;\n    while (ch = stream.next()) {\n      if (ch == \")\" && maybeEnd) {\n        if(nestedCount > 0)\n          nestedCount--;\n        else {\n          popStateStack(state);\n          break;\n        }\n      }\n      else if(ch == \":\" && maybeNested) {\n        nestedCount++;\n      }\n      maybeEnd = (ch == \":\");\n      maybeNested = (ch == \"(\");\n    }\n\n    return ret(\"comment\", \"comment\");\n  }\n\n  // tokenizer for string literals\n  // optionally pass a tokenizer function to set state.tokenize back to when finished\n  function tokenString(quote, f) {\n    return function(stream, state) {\n      var ch;\n\n      if(isInString(state) && stream.current() == quote) {\n        popStateStack(state);\n        if(f) state.tokenize = f;\n        return ret(\"string\", \"string\");\n      }\n\n      pushStateStack(state, { type: \"string\", name: quote, tokenize: tokenString(quote, f) });\n\n      // if we're in a string and in an XML block, allow an embedded code block\n      if(stream.match(\"{\", false) && isInXmlAttributeBlock(state)) {\n        state.tokenize = tokenBase;\n        return ret(\"string\", \"string\");\n      }\n\n\n      while (ch = stream.next()) {\n        if (ch ==  quote) {\n          popStateStack(state);\n          if(f) state.tokenize = f;\n          break;\n        }\n        else {\n          // if we're in a string and in an XML block, allow an embedded code block in an attribute\n          if(stream.match(\"{\", false) && isInXmlAttributeBlock(state)) {\n            state.tokenize = tokenBase;\n            return ret(\"string\", \"string\");\n          }\n\n        }\n      }\n\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  // tokenizer for variables\n  function tokenVariable(stream, state) {\n    var isVariableChar = /[\\w\\$_-]/;\n\n    // a variable may start with a quoted EQName so if the next character is quote, consume to the next quote\n    if(stream.eat(\"\\\"\")) {\n      while(stream.next() !== '\\\"'){};\n      stream.eat(\":\");\n    } else {\n      stream.eatWhile(isVariableChar);\n      if(!stream.match(\":=\", false)) stream.eat(\":\");\n    }\n    stream.eatWhile(isVariableChar);\n    state.tokenize = tokenBase;\n    return ret(\"variable\", \"variable\");\n  }\n\n  // tokenizer for XML tags\n  function tokenTag(name, isclose) {\n    return function(stream, state) {\n      stream.eatSpace();\n      if(isclose && stream.eat(\">\")) {\n        popStateStack(state);\n        state.tokenize = tokenBase;\n        return ret(\"tag\", \"tag\");\n      }\n      // self closing tag without attributes?\n      if(!stream.eat(\"/\"))\n        pushStateStack(state, { type: \"tag\", name: name, tokenize: tokenBase});\n      if(!stream.eat(\">\")) {\n        state.tokenize = tokenAttribute;\n        return ret(\"tag\", \"tag\");\n      }\n      else {\n        state.tokenize = tokenBase;\n      }\n      return ret(\"tag\", \"tag\");\n    };\n  }\n\n  // tokenizer for XML attributes\n  function tokenAttribute(stream, state) {\n    var ch = stream.next();\n\n    if(ch == \"/\" && stream.eat(\">\")) {\n      if(isInXmlAttributeBlock(state)) popStateStack(state);\n      if(isInXmlBlock(state)) popStateStack(state);\n      return ret(\"tag\", \"tag\");\n    }\n    if(ch == \">\") {\n      if(isInXmlAttributeBlock(state)) popStateStack(state);\n      return ret(\"tag\", \"tag\");\n    }\n    if(ch == \"=\")\n      return ret(\"\", null);\n    // quoted string\n    if (ch == '\"' || ch == \"'\")\n      return chain(stream, state, tokenString(ch, tokenAttribute));\n\n    if(!isInXmlAttributeBlock(state))\n      pushStateStack(state, { type: \"attribute\", tokenize: tokenAttribute});\n\n    stream.eat(/[a-zA-Z_:]/);\n    stream.eatWhile(/[-a-zA-Z0-9_:.]/);\n    stream.eatSpace();\n\n    // the case where the attribute has not value and the tag was closed\n    if(stream.match(\">\", false) || stream.match(\"/\", false)) {\n      popStateStack(state);\n      state.tokenize = tokenBase;\n    }\n\n    return ret(\"attribute\", \"attribute\");\n  }\n\n  // handle comments, including nested\n  function tokenXMLComment(stream, state) {\n    var ch;\n    while (ch = stream.next()) {\n      if (ch == \"-\" && stream.match(\"->\", true)) {\n        state.tokenize = tokenBase;\n        return ret(\"comment\", \"comment\");\n      }\n    }\n  }\n\n\n  // handle CDATA\n  function tokenCDATA(stream, state) {\n    var ch;\n    while (ch = stream.next()) {\n      if (ch == \"]\" && stream.match(\"]\", true)) {\n        state.tokenize = tokenBase;\n        return ret(\"comment\", \"comment\");\n      }\n    }\n  }\n\n  // handle preprocessing instructions\n  function tokenPreProcessing(stream, state) {\n    var ch;\n    while (ch = stream.next()) {\n      if (ch == \"?\" && stream.match(\">\", true)) {\n        state.tokenize = tokenBase;\n        return ret(\"comment\", \"comment meta\");\n      }\n    }\n  }\n\n\n  // functions to test the current context of the state\n  function isInXmlBlock(state) { return isIn(state, \"tag\"); }\n  function isInXmlAttributeBlock(state) { return isIn(state, \"attribute\"); }\n  function isInXmlConstructor(state) { return isIn(state, \"xmlconstructor\"); }\n  function isInString(state) { return isIn(state, \"string\"); }\n\n  function isEQNameAhead(stream) {\n    // assume we've already eaten a quote (\")\n    if(stream.current() === '\"')\n      return stream.match(/^[^\\\"]+\\\"\\:/, false);\n    else if(stream.current() === '\\'')\n      return stream.match(/^[^\\\"]+\\'\\:/, false);\n    else\n      return false;\n  }\n\n  function isIn(state, type) {\n    return (state.stack.length && state.stack[state.stack.length - 1].type == type);\n  }\n\n  function pushStateStack(state, newState) {\n    state.stack.push(newState);\n  }\n\n  function popStateStack(state) {\n    state.stack.pop();\n    var reinstateTokenize = state.stack.length && state.stack[state.stack.length-1].tokenize;\n    state.tokenize = reinstateTokenize || tokenBase;\n  }\n\n  // the interface for the mode API\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        cc: [],\n        stack: []\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      return style;\n    },\n\n    blockCommentStart: \"(:\",\n    blockCommentEnd: \":)\"\n\n  };\n\n});\n\nCodeMirror.defineMIME(\"application/xquery\", \"xquery\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/yaml/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: YAML mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"yaml.js\"></script>\n<style>.CodeMirror { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">YAML</a>\n  </ul>\n</div>\n\n<article>\n<h2>YAML mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n--- # Favorite movies\n- Casablanca\n- North by Northwest\n- The Man Who Wasn't There\n--- # Shopping list\n[milk, pumpkin pie, eggs, juice]\n--- # Indented Blocks, common in YAML data files, use indentation and new lines to separate the key: value pairs\n  name: John Smith\n  age: 33\n--- # Inline Blocks, common in YAML data streams, use commas to separate the key: value pairs between braces\n{name: John Smith, age: 33}\n---\nreceipt:     Oz-Ware Purchase Invoice\ndate:        2007-08-06\ncustomer:\n    given:   Dorothy\n    family:  Gale\n\nitems:\n    - part_no:   A4786\n      descrip:   Water Bucket (Filled)\n      price:     1.47\n      quantity:  4\n\n    - part_no:   E1628\n      descrip:   High Heeled \"Ruby\" Slippers\n      size:       8\n      price:     100.27\n      quantity:  1\n\nbill-to:  &id001\n    street: |\n            123 Tornado Alley\n            Suite 16\n    city:   East Centerville\n    state:  KS\n\nship-to:  *id001\n\nspecialDelivery:  >\n    Follow the Yellow Brick\n    Road to the Emerald City.\n    Pay no attention to the\n    man behind the curtain.\n...\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-yaml</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/yaml/yaml.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"yaml\", function() {\n\n  var cons = ['true', 'false', 'on', 'off', 'yes', 'no'];\n  var keywordRegex = new RegExp(\"\\\\b((\"+cons.join(\")|(\")+\"))$\", 'i');\n\n  return {\n    token: function(stream, state) {\n      var ch = stream.peek();\n      var esc = state.escaped;\n      state.escaped = false;\n      /* comments */\n      if (ch == \"#\" && (stream.pos == 0 || /\\s/.test(stream.string.charAt(stream.pos - 1)))) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n\n      if (stream.match(/^('([^']|\\\\.)*'?|\"([^\"]|\\\\.)*\"?)/))\n        return \"string\";\n\n      if (state.literal && stream.indentation() > state.keyCol) {\n        stream.skipToEnd(); return \"string\";\n      } else if (state.literal) { state.literal = false; }\n      if (stream.sol()) {\n        state.keyCol = 0;\n        state.pair = false;\n        state.pairStart = false;\n        /* document start */\n        if(stream.match(/---/)) { return \"def\"; }\n        /* document end */\n        if (stream.match(/\\.\\.\\./)) { return \"def\"; }\n        /* array list item */\n        if (stream.match(/\\s*-\\s+/)) { return 'meta'; }\n      }\n      /* inline pairs/lists */\n      if (stream.match(/^(\\{|\\}|\\[|\\])/)) {\n        if (ch == '{')\n          state.inlinePairs++;\n        else if (ch == '}')\n          state.inlinePairs--;\n        else if (ch == '[')\n          state.inlineList++;\n        else\n          state.inlineList--;\n        return 'meta';\n      }\n\n      /* list seperator */\n      if (state.inlineList > 0 && !esc && ch == ',') {\n        stream.next();\n        return 'meta';\n      }\n      /* pairs seperator */\n      if (state.inlinePairs > 0 && !esc && ch == ',') {\n        state.keyCol = 0;\n        state.pair = false;\n        state.pairStart = false;\n        stream.next();\n        return 'meta';\n      }\n\n      /* start of value of a pair */\n      if (state.pairStart) {\n        /* block literals */\n        if (stream.match(/^\\s*(\\||\\>)\\s*/)) { state.literal = true; return 'meta'; };\n        /* references */\n        if (stream.match(/^\\s*(\\&|\\*)[a-z0-9\\._-]+\\b/i)) { return 'variable-2'; }\n        /* numbers */\n        if (state.inlinePairs == 0 && stream.match(/^\\s*-?[0-9\\.\\,]+\\s?$/)) { return 'number'; }\n        if (state.inlinePairs > 0 && stream.match(/^\\s*-?[0-9\\.\\,]+\\s?(?=(,|}))/)) { return 'number'; }\n        /* keywords */\n        if (stream.match(keywordRegex)) { return 'keyword'; }\n      }\n\n      /* pairs (associative arrays) -> key */\n      if (!state.pair && stream.match(/^\\s*(?:[,\\[\\]{}&*!|>'\"%@`][^\\s'\":]|[^,\\[\\]{}#&*!|>'\"%@`])[^#]*?(?=\\s*:($|\\s))/)) {\n        state.pair = true;\n        state.keyCol = stream.indentation();\n        return \"atom\";\n      }\n      if (state.pair && stream.match(/^:\\s*/)) { state.pairStart = true; return 'meta'; }\n\n      /* nothing found, continue */\n      state.pairStart = false;\n      state.escaped = (ch == '\\\\');\n      stream.next();\n      return null;\n    },\n    startState: function() {\n      return {\n        pair: false,\n        pairStart: false,\n        keyCol: 0,\n        inlinePairs: 0,\n        inlineList: 0,\n        literal: false,\n        escaped: false\n      };\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-yaml\", \"yaml\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/z80/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Z80 assembly mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"z80.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><h1>CodeMirror</h1><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/codemirror/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Z80 assembly</a>\n  </ul>\n</div>\n\n<article>\n<h2>Z80 assembly mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n#include    \"ti83plus.inc\"\n#define     progStart   $9D95\n.org        progStart-2\n.db         $BB,$6D\n    bcall(_ClrLCDFull)\n    ld  HL, 0\n    ld  (PenCol),   HL\n    ld  HL, Message\n    bcall(_PutS) ; Displays the string\n    bcall(_NewLine)\n    ret\nMessage:\n.db         \"Hello world!\",0\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true\n      });\n    </script>\n\n    <p><strong>MIME type defined:</strong> <code>text/x-z80</code>.</p>\n  </article>\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/mode/z80/z80.js",
    "content": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode('z80', function() {\n  var keywords1 = /^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\\b/i;\n  var keywords2 = /^(call|j[pr]|ret[in]?)\\b/i;\n  var keywords3 = /^b_?(call|jump)\\b/i;\n  var variables1 = /^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\\b/i;\n  var variables2 = /^(n?[zc]|p[oe]?|m)\\b/i;\n  var errors = /^([hl][xy]|i[xy][hl]|slia|sll)\\b/i;\n  var numbers = /^([\\da-f]+h|[0-7]+o|[01]+b|\\d+)\\b/i;\n\n  return {\n    startState: function() {\n      return {context: 0};\n    },\n    token: function(stream, state) {\n      if (!stream.column())\n        state.context = 0;\n\n      if (stream.eatSpace())\n        return null;\n\n      var w;\n\n      if (stream.eatWhile(/\\w/)) {\n        w = stream.current();\n\n        if (stream.indentation()) {\n          if (state.context == 1 && variables1.test(w))\n            return 'variable-2';\n\n          if (state.context == 2 && variables2.test(w))\n            return 'variable-3';\n\n          if (keywords1.test(w)) {\n            state.context = 1;\n            return 'keyword';\n          } else if (keywords2.test(w)) {\n            state.context = 2;\n            return 'keyword';\n          } else if (keywords3.test(w)) {\n            state.context = 3;\n            return 'keyword';\n          }\n\n          if (errors.test(w))\n            return 'error';\n        } else if (numbers.test(w)) {\n          return 'number';\n        } else {\n          return null;\n        }\n      } else if (stream.eat(';')) {\n        stream.skipToEnd();\n        return 'comment';\n      } else if (stream.eat('\"')) {\n        while (w = stream.next()) {\n          if (w == '\"')\n            break;\n\n          if (w == '\\\\')\n            stream.next();\n        }\n        return 'string';\n      } else if (stream.eat('\\'')) {\n        if (stream.match(/\\\\?.'/))\n          return 'number';\n      } else if (stream.eat('.') || stream.sol() && stream.eat('#')) {\n        state.context = 4;\n\n        if (stream.eatWhile(/\\w/))\n          return 'def';\n      } else if (stream.eat('$')) {\n        if (stream.eatWhile(/[\\da-f]/i))\n          return 'number';\n      } else if (stream.eat('%')) {\n        if (stream.eatWhile(/[01]/))\n          return 'number';\n      } else {\n        stream.next();\n      }\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-z80\", \"z80\");\n\n});\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/3024-day.css",
    "content": "/*\n\n    Name:       3024 day\n    Author:     Jan T. Sott (http://github.com/idleberg)\n\n    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-3024-day.CodeMirror {background: #f7f7f7; color: #3a3432;}\n.cm-s-3024-day div.CodeMirror-selected {background: #d6d5d4 !important;}\n.cm-s-3024-day.CodeMirror ::selection { background: #d6d5d4; }\n.cm-s-3024-day.CodeMirror ::-moz-selection { background: #d9d9d9; }\n\n.cm-s-3024-day .CodeMirror-gutters {background: #f7f7f7; border-right: 0px;}\n.cm-s-3024-day .CodeMirror-guttermarker { color: #db2d20; }\n.cm-s-3024-day .CodeMirror-guttermarker-subtle { color: #807d7c; }\n.cm-s-3024-day .CodeMirror-linenumber {color: #807d7c;}\n\n.cm-s-3024-day .CodeMirror-cursor {border-left: 1px solid #5c5855 !important;}\n\n.cm-s-3024-day span.cm-comment {color: #cdab53;}\n.cm-s-3024-day span.cm-atom {color: #a16a94;}\n.cm-s-3024-day span.cm-number {color: #a16a94;}\n\n.cm-s-3024-day span.cm-property, .cm-s-3024-day span.cm-attribute {color: #01a252;}\n.cm-s-3024-day span.cm-keyword {color: #db2d20;}\n.cm-s-3024-day span.cm-string {color: #fded02;}\n\n.cm-s-3024-day span.cm-variable {color: #01a252;}\n.cm-s-3024-day span.cm-variable-2 {color: #01a0e4;}\n.cm-s-3024-day span.cm-def {color: #e8bbd0;}\n.cm-s-3024-day span.cm-bracket {color: #3a3432;}\n.cm-s-3024-day span.cm-tag {color: #db2d20;}\n.cm-s-3024-day span.cm-link {color: #a16a94;}\n.cm-s-3024-day span.cm-error {background: #db2d20; color: #5c5855;}\n\n.cm-s-3024-day .CodeMirror-activeline-background {background: #e8f2ff !important;}\n.cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: #a16a94 !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/3024-night.css",
    "content": "/*\n\n    Name:       3024 night\n    Author:     Jan T. Sott (http://github.com/idleberg)\n\n    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-3024-night.CodeMirror {background: #090300; color: #d6d5d4;}\n.cm-s-3024-night div.CodeMirror-selected {background: #3a3432 !important;}\n.cm-s-3024-night.CodeMirror ::selection { background: rgba(58, 52, 50, .99); }\n.cm-s-3024-night.CodeMirror ::-moz-selection { background: rgba(58, 52, 50, .99); }\n.cm-s-3024-night .CodeMirror-gutters {background: #090300; border-right: 0px;}\n.cm-s-3024-night .CodeMirror-guttermarker { color: #db2d20; }\n.cm-s-3024-night .CodeMirror-guttermarker-subtle { color: #5c5855; }\n.cm-s-3024-night .CodeMirror-linenumber {color: #5c5855;}\n\n.cm-s-3024-night .CodeMirror-cursor {border-left: 1px solid #807d7c !important;}\n\n.cm-s-3024-night span.cm-comment {color: #cdab53;}\n.cm-s-3024-night span.cm-atom {color: #a16a94;}\n.cm-s-3024-night span.cm-number {color: #a16a94;}\n\n.cm-s-3024-night span.cm-property, .cm-s-3024-night span.cm-attribute {color: #01a252;}\n.cm-s-3024-night span.cm-keyword {color: #db2d20;}\n.cm-s-3024-night span.cm-string {color: #fded02;}\n\n.cm-s-3024-night span.cm-variable {color: #01a252;}\n.cm-s-3024-night span.cm-variable-2 {color: #01a0e4;}\n.cm-s-3024-night span.cm-def {color: #e8bbd0;}\n.cm-s-3024-night span.cm-bracket {color: #d6d5d4;}\n.cm-s-3024-night span.cm-tag {color: #db2d20;}\n.cm-s-3024-night span.cm-link {color: #a16a94;}\n.cm-s-3024-night span.cm-error {background: #db2d20; color: #807d7c;}\n\n.cm-s-3024-night .CodeMirror-activeline-background {background: #2F2F2F !important;}\n.cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/ambiance-mobile.css",
    "content": ".cm-s-ambiance.CodeMirror {\n  -webkit-box-shadow: none;\n  -moz-box-shadow: none;\n  box-shadow: none;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/ambiance.css",
    "content": "/* ambiance theme for codemirror */\n\n/* Color scheme */\n\n.cm-s-ambiance .cm-keyword { color: #cda869; }\n.cm-s-ambiance .cm-atom { color: #CF7EA9; }\n.cm-s-ambiance .cm-number { color: #78CF8A; }\n.cm-s-ambiance .cm-def { color: #aac6e3; }\n.cm-s-ambiance .cm-variable { color: #ffb795; }\n.cm-s-ambiance .cm-variable-2 { color: #eed1b3; }\n.cm-s-ambiance .cm-variable-3 { color: #faded3; }\n.cm-s-ambiance .cm-property { color: #eed1b3; }\n.cm-s-ambiance .cm-operator {color: #fa8d6a;}\n.cm-s-ambiance .cm-comment { color: #555; font-style:italic; }\n.cm-s-ambiance .cm-string { color: #8f9d6a; }\n.cm-s-ambiance .cm-string-2 { color: #9d937c; }\n.cm-s-ambiance .cm-meta { color: #D2A8A1; }\n.cm-s-ambiance .cm-qualifier { color: yellow; }\n.cm-s-ambiance .cm-builtin { color: #9999cc; }\n.cm-s-ambiance .cm-bracket { color: #24C2C7; }\n.cm-s-ambiance .cm-tag { color: #fee4ff }\n.cm-s-ambiance .cm-attribute {  color: #9B859D; }\n.cm-s-ambiance .cm-header {color: blue;}\n.cm-s-ambiance .cm-quote { color: #24C2C7; }\n.cm-s-ambiance .cm-hr { color: pink; }\n.cm-s-ambiance .cm-link { color: #F4C20B; }\n.cm-s-ambiance .cm-special { color: #FF9D00; }\n.cm-s-ambiance .cm-error { color: #AF2018; }\n\n.cm-s-ambiance .CodeMirror-matchingbracket { color: #0f0; }\n.cm-s-ambiance .CodeMirror-nonmatchingbracket { color: #f22; }\n\n.cm-s-ambiance .CodeMirror-selected { background: rgba(255, 255, 255, 0.15); }\n.cm-s-ambiance.CodeMirror-focused .CodeMirror-selected { background: rgba(255, 255, 255, 0.10); }\n.cm-s-ambiance.CodeMirror ::selection { background: rgba(255, 255, 255, 0.10); }\n.cm-s-ambiance.CodeMirror ::-moz-selection { background: rgba(255, 255, 255, 0.10); }\n\n/* Editor styling */\n\n.cm-s-ambiance.CodeMirror {\n  line-height: 1.40em;\n  color: #E6E1DC;\n  background-color: #202020;\n  -webkit-box-shadow: inset 0 0 10px black;\n  -moz-box-shadow: inset 0 0 10px black;\n  box-shadow: inset 0 0 10px black;\n}\n\n.cm-s-ambiance .CodeMirror-gutters {\n  background: #3D3D3D;\n  border-right: 1px solid #4D4D4D;\n  box-shadow: 0 10px 20px black;\n}\n\n.cm-s-ambiance .CodeMirror-linenumber {\n  text-shadow: 0px 1px 1px #4d4d4d;\n  color: #111;\n  padding: 0 5px;\n}\n\n.cm-s-ambiance .CodeMirror-guttermarker { color: #aaa; }\n.cm-s-ambiance .CodeMirror-guttermarker-subtle { color: #111; }\n\n.cm-s-ambiance .CodeMirror-lines .CodeMirror-cursor {\n  border-left: 1px solid #7991E8;\n}\n\n.cm-s-ambiance .CodeMirror-activeline-background {\n  background: none repeat scroll 0% 0% rgba(255, 255, 255, 0.031);\n}\n\n.cm-s-ambiance.CodeMirror,\n.cm-s-ambiance .CodeMirror-gutters {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWGCjMc3GdJHjSU2kORLK/JGSrkfGEIjncU/CYUnOipoYemwj8tST9NsJmB7TUVXtbUtXATJVZXBMvYeTXJfobgJUPmGMP/yFaWonaa6BcFO3nqcIqCozSZoZoSr1g4zJOzuyGnxTEX3lUEJ7WcZgme8ddaWvWJo2AJR9DZU3CUIbhCSG6ybSwN6qtJVnCU2svDTP2ZInOw2cBTrqtQahtNZn9NcJ4l2NaSmSkkP1noZWnVwkLmdUPOwLZEwy2Z3S3R+4rIG9hcbpPXHFVWcQdZkn2FOta3cKWQnNRC5g1LsJah4GCzSVsKnCOY5OAFRTBekyyryeyilhFKva75r4Mc0aWanGEaThcy31s439KKxTzJYY5WTHPU1FtIHjQU3Oip4xlNzj/lBw23dYZVliQa7WAXf4shetcQfatI+jWRDBPmyNeW6A1P5kdDgyYJlba0BIM8BZu1JfrFwItyjcAMR3K0BWOIrtMEXyhyrlVEx3ui5dUBjmB/Q3CXW85R4mBD0s7B+4q5tKUjOlb9qqmhi5AZ6GFIC5HXtOobdYGlVdMVbNJ8toNTFcHxnoL+muBagcctjWnbNMuR00uI7nQESwg5q2qqrKWIfrNUmeQocY6HuyxJV02wj36w00yhpmUFenv4p6fUkZYqLyuinx2RGOjhCXYyJF84oiU00YMOOhhquNdfbOB7gU88pY4xJO8LVdp6/q2voeB4R04vIdhSE40xZObx1HGGJ/ja0LBthFInKaLPPFzuCaYaoj8JjPME8yoyxo6zlBqkiUZYgq00OYMswbWO5NGmq+xhipxHLRW29ARjNKXO0wRnear8XSg4XFPLKEPUS1GqvyLwiuBUoa7zpZ0l5xxFwWmWZC1H5h5FwU8eQ7K+g8UcVY6TMQreVQT/8uQ8Z+ALIXnSEa2pYZQneE9RZbSBNYXfWYJzW/h/4j4Dp1tYVcFIC5019Vyi4ThPqSFCzjGWaHQTBU8q6vrVwgxP9Lkm840imWKpcLCjYTtrKuwvsKSnrvHCXGkSMk9p6lhckfRpIeis+N2PiszT+mFLspyGleUhDwcLrZqmyeylxwjBcKHEapqkmyangyLZRVOijwOtCY5SsG5zL0OwlCJ4y5KznF3EUNDDrinwiyLZRzOXtlBbK5ITHFGLp8Q0R6ab6mS7enI2cFrxOyHvOCFaT1HThS1krjCwqWeurCkk+willhCC+RSZnRXBiZaC5RXRIZYKp2lyfrHwiKPKR0JDzrdU2EFgpidawlFDR6FgXUMNa+g1FY3bUQh2cLCwosRdnuQTS/S+JVrGLeWIvtQUvONJxlqSQYYKpwoN2kaocLjdVsis4Mk80ESF2YpSkzwldjHkjFCUutI/r+EHDU8oCs6yzL3PhWiEooZdFMkymlas4AcI3KmoMMNSQ3tHzjGWCrcJJdYyZC7QFGwjRL9p+MrRkAGWzIaWCn9W0F3TsK01c2ZvQw0byvxuQU0r1lM0qJO7wW0kRIMdDTtXEdzi4VIh+EoIHm0mWtAtpCixlabgn83fKTI7anJe9ST7WIK1DMGpQmYeA58ImV6ezOGOzK2Kgq01pd60cKWiUi9Lievb/0vIDPHQ05Kzt4ddPckQBQtoaurjyHnek/nKzpQLrVgKPjIkh2v4uyezpv+Xoo7fPFXaGFp1vaLKxQ4uUpQQS5VuQs7BCq4xRJv7fwpVvvFEB3j+620haOuocqMhWd6TTPAEx+mdFNGHdranFe95WrWmIvlY4F1Dle2ECgc6cto7SryuqGGGha0tFQ5V53migUKmg6XKAo4qS3mik+0OZpAhOLeZKicacgaYcyx5hypYQE02ZA4xi/pNhOQxR4klNKyqacj+mpxnLTnnGSo85++3ZCZq6lrZkXlGEX3o+C9FieccJbZWVFjC0Yo1FZnJhoYMFoI1hEZ9r6hwg75HwzBNhbZCdJEfJwTPGzJvaKImw1yYX1HDAmpXR+ZJQ/SmgqMNVQb5vgamGwLtt7VwvP7Qk1xpiM5x5Cyv93E06MZmgs0Nya2azIKOYKCGBQQW97RmhKNKF02JZqHEJ4o58qp7X5EcZmc56trXEqzjCBZ1MFGR87Ql2tSTs6CGxS05PTzRQorkbw7aKoKXFDXsYW42VJih/q+FP2BdTzDTwVqOYB13liM50vG7wy28qagyuIXMeQI/Oqq8bcn5wJI50xH00CRntyfpL1T4hydYpoXgNiFzoIUTDZnLNRzh4TBHwbYGDvZkxmlyJloyr6tRihpeUG94GnKtIznREF0tzJG/OOr73JBcrSh1k6WuTprgLU+mnSGnv6Zge0NNz+kTDdH8nuAuTdJDCNb21LCiIuqlYbqGzT3RAoZofQfjFazkqeNWdYaGvYTM001EW2oKPvVk1ldUGSgUtHFwjKM1h9jnFcmy5lChoLNaQMGGDsYbKixlaMBmmsx1QjCfflwTfO/gckW0ruZ3jugKR3R5W9hGUWqCgxuFgsuaCHorotGKzGaeZB9DMsaTnKCpMtwTvOzhYk0rdrArKCqcaWmVk1+F372ur1YkKxgatI8Qfe1gIX9wE9FgS8ESmuABIXnRUbCapcKe+nO7slClSZFzpV/LkLncEb1qiO42fS3R855Su2mCLh62t1SYZZYVmKwIHjREF2uihTzB20JOkz7dkxzYQnK0UOU494wh+VWRc6Un2kpTaVgLDFEkJ/uhzRcI0YKGgpGWOlocBU/a4fKoJ/pEaNV6jip3+Es9VXY078rGnmAdf7t9ylPXS34RBSuYPs1UecZTU78WanhBCHpZ5sAoTz0LGZKjPf9TRypqWEiTvOFglL1fCEY3wY/++rbk7C8bWebA6p6om6PgOL2kp44TFJlVNBXae2rqqdZztOJpT87GQsE9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZw9FqZsVnKJhsjAHvtHMsTM9fCI06Dx/u3vfUXCqfsKRc4oFY2jMsoo/7DJDwZ1CsIKnJu+J9ldkpmiCxQx1rWjI+T9FwcWWzOuaYH0Hj7klNRVWEQpmaqosakiGNTFHdjS/qnUdmf0NJW5xsL0HhimCCZZSRzmSPTXJQ4aaztAwtZnoabebJ+htCaZ7Cm535ByoqXKbX1WRc4Eh2MkRXWzImVc96Cj4VdOKVxR84VdQsIUM8Psoou2byVHyZFuq7O8otbSQ2UAoeEWTudATLGSpZzVLlXVkPU2Jc+27lsw2jmg5T5VhbeE3BT083K9WsTTkFU/Osi0rC5lRlpwRHUiesNS0sOvmqGML1aRbPAxTJD9ZKtxuob+hhl8cwYGWpJ8nub7t5p6coYbMovZ1BTdaKn1jYD6h4GFDNFyT/Kqe1XCXphXHOKLZmuRSRdBPEfVUXQzJm5YGPGGJdvAEr7hHNdGZnuBvrpciGmopOLf5N0uVMy0FfYToJk90uUCbJupaVpO53UJXR2bVpoU00V2KOo4zMFrBd0Jtz2pa0clT5Q5L8IpQ177mWQejPMEJhuQjS10ref6HHjdEhy1P1EYR7GtO0uSsKJQYLiTnG1rVScj5lyazpqWGl5uBbRWl7m6ixGOOnEsMJR7z8J0n6KMnCdxhiNYQCoZ6CmYLnO8omC3MkW3bktlPmEt/VQQHejL3+dOE5FlPdK/Mq8hZxxJtLyRrepLThYKbLZxkSb5W52vYxNOaOxUF0yxMUPwBTYqCzy01XayYK0sJyWBLqX0MwU5CzoymRzV0EjjeUeLgDpTo6ij42ZAzvD01dHUUTPLU96MdLbBME8nFBn7zJCMtJcZokn8YoqU0FS5WFKyniHobguMcmW8N0XkWZjkyN3hqOMtS08r+/xTBwpZSZ3qiVRX8SzMHHjfUNFjgHEPmY9PL3ykEzxkSre/1ZD6z/NuznuB0RcE1TWTm9zRgfUWVJiG6yrzgmWPXC8EAR4Wxhlad0ZbgQyEz3pG5RVEwwDJH2mgKpjcTiCOzn1lfUWANFbZ2BA8balnEweJC9J0iuaeZoI+ippFCztEKVvckR2iice1JvhVytrQwUAZpgsubCPaU7xUe9vWnaOpaSBEspalykhC9bUlOMpT42ZHca6hyrqKmw/wMR8H5ZmdFoBVJb03O4UL0tSNnvIeRmkrLWqrs78gcrEn2tpcboh0UPOW3UUR9PMk4T4nnNKWmCjlrefhCwxRNztfmIQVdDElvS4m1/WuOujoZCs5XVOjtKPGokJzsYCtFYoWonSPT21DheU/wWhM19FcElwqNGOsp9Q8N/cwXaiND1MmeL1Q5XROtYYgGeFq1aTMsoMmcrKjQrOFQTQ1fmBYhmW6o8Jkjc7iDJRTBIo5kgJD5yMEYA3srCg7VFKwiVJkmRCc5ohGOKhsYMn/XBLdo5taZjlb9YAlGWRimqbCsoY7HFAXLa5I1HPRxMMsQDHFkWtRNniqT9UEeNjcE7RUlrCJ4R2CSJuqlKHWvJXjAUNcITYkenuBRB84TbeepcqTj3zZyFJzgYQdHnqfgI0ddUwS6GqWpsKWhjq9cV0vBAEMN2znq+EBfIWT+pClYw5xsTlJU6GeIBsjGmmANTzJZiIYpgrM0Oa8ZMjd7NP87jxhqGOhJlnQtjuQpB+8aEE00wZFznSJPyHxgH3HkPOsJFvYk8zqCHzTs1BYOa4J3PFU+UVRZxlHDM4YavlNUuMoRveiZA2d7grMNc2g+RbSCEKzmgYsUmWmazFJyoiOZ4KnyhKOGRzWJa0+moyV4TVHDzn51Awtqaphfk/lRQ08FX1iiqxTB/kLwd0VynKfEvI6cd4XMV5bMhZ7gZUWVzYQ6Nm2BYzxJbw3bGthEUUMfgbGeorae6DxHtJoZ6alhZ0+ytiVoK1R4z5PTrOECT/SugseEOlb1MMNR4VRNcJy+V1Hg9ONClSZFZjdHlc6W6FBLdJja2MC5hhpu0DBYEY1TFGwiFAxRRCsYkiM9JRb0JNMVkW6CZYT/2EiTGWmo8k+h4FhDNE7BvppoTSFnmCV5xZKzvcCdDo7VVPnIU+I+Rc68juApC90MwcFCsJ5hDqxgScYKreruyQwTqrzoqDCmhWi4IbhB0Yrt3RGa6GfDv52rKXWhh28dyZaWUvcZeMTBaZoSGyiCtRU5J8iviioHaErs7Jkj61syVzTTgOcUOQ8buFBTYWdL5g3T4qlpe0+wvD63heAXRfCCIed9RbCsp2CiI7raUOYOTU13N8PNHvpaGvayo4a3LLT1lDrVEPT2zLUlheB1R+ZTRfKWJ+dcocLJfi11vyJ51lLqJ0WD7tRwryezjiV5W28uJO9qykzX8JDe2lHl/9oyBwa2UMfOngpXCixvKdXTk3wrsKmiVYdZIqsoWEERjbcUNDuiaQomGoIbFdEHmsyWnuR+IeriKDVLnlawlyNHKwKlSU631PKep8J4Q+ayjkSLKYLhalNHlYvttb6fHm0p6OApsZ4l2VfdqZkjuysy6ysKLlckf1KUutCTs39bmCgEyyoasIWlVaMF7mgmWtBT8Kol5xpH9IGllo8cJdopcvZ2sImlDmMIbtDk3KIpeNiS08lQw11NFPTwVFlPP6pJ2gvRfI7gQUfmNAtf6Gs0wQxDsKGlVBdF8rCa3jzdwMaGHOsItrZk7hAyOzpK9VS06j5F49b0VNGOOfKs3lDToMsMBe9ZWtHFEgxTJLs7qrygKZjUnmCYoeAqeU6jqWuLJup4WghOdvCYJnrSkSzoyRkm5M2StQwVltPkfCAk58tET/CSg+8MUecmotMEnhBKfWBIZsg2ihruMJQaoIm+tkTLKEqspMh00w95gvFCQRtDwTT1gVDDSEVdlwqZfxoQRbK0g+tbiBZxzKlpnpypejdDwTaeOvorMk/IJE10h9CqRe28hhLbe0pMsdSwv4ZbhKivo2BjDWfL8UKJgeavwlwb5KlwhyE4u4XkGE2ytZCznKLCDZZq42VzT8HLCrpruFbIfOIINmh/qCdZ1ZBc65kLHR1Bkyf5zn6pN3SvGKIlFNGplhrO9QSXanLOMQTLCa0YJCRrCZm/CZmrLTm7WzCK4GJDiWUdFeYx1LCFg3NMd0XmCuF3Y5rITLDUsYS9zoHVzwnJoYpSTQoObyEzr4cFBNqYTopoaU/wkyLZ2lPhX/5Y95ulxGTV7KjhWrOZgl8MyUUafjYraNjNU1N3IWcjT5WzWqjwtoarHSUObGYO3GCJZpsBlnJGPd6ZYLyl1GdCA2625IwwJDP8GUKymbzuyPlZlvTUsaUh5zFDhRWFzPKKZLAlWdcQbObgF9tOqOsmB1dqcqYJmWstFbZRRI9poolmqiLnU0POvxScpah2iSL5UJNzgScY5+AuIbpO0YD3NCW+dLMszFSdFCWGqG6eVq2uYVNDdICGD6W7EPRWZEY5gpsE9rUkS3mijzzJnm6UpUFXG1hCUeVoS5WfNcFpblELL2qqrCvMvRfd45oalvKU2tiQ6ePJOVMRXase9iTtLJztPxJKLWpo2CRDcJwn2sWSLKIO1WQWNTCvpVUvOZhgSC40JD0dOctaSqzkCRbXsKlb11Oip6PCJ0IwSJM31j3akRxlP7Rwn6aGaUL0qiLnJkvB3xWZ2+Q1TfCwpQH3G0o92UzmX4o/oJNQMMSQc547wVHhdk+VCw01DFYEnTxzZKAm74QmeNNR1w6WzEhNK15VJzuCdxQ53dRUDws5KvwgBMOEgpcVNe0hZI6RXT1Jd0cyj5nsaEAHgVmGaJIlWdsc5Ui2ElrRR6jrRAttNMEAIWrTDFubkZaok7/AkzfIwfuWVq0jHzuCK4QabtLUMVPB3kJ0oyHTSVFlqMALilJf2Rf8k5aaHtMfayocLBS8L89oKoxpJvnAkDPa0qp5DAUTHKWmCcnthlou8iCKaFFLHWcINd1nyIwXqrSxMNmSs6KmoL2QrKuWtlQ5V0120xQ5vRyZS1rgFkWwhiOwiuQbR0OOVhQM9iS3tiXp4RawRPMp5tDletOOBL95MpM01dZTBM9pkn5qF010rIeHFcFZhmSGpYpTsI6nwhqe5C9ynhlpp5ophuRb6WcJFldkVnVEwwxVfrVkvnWUuNLCg5bgboFHPDlDPDmnK7hUrWiIbjadDclujlZcaokOFup4Ri1kacV6jmrrK1hN9bGwpKEBQ4Q6DvIUXOmo6U5LqQM6EPyiKNjVkPnJkDPNEaxhiFay5ExW1NXVUGqcpYYdPcGiCq7z/TSlbhL4pplWXKd7NZO5QQFrefhRQW/NHOsqcIglc4UhWklR8K0QzbAw08CBDnpbgqXdeD/QUsM4RZXDFBW6WJKe/mFPdH0LtBgiq57wFLzlyQzz82qYx5D5WJP5yVJDW01BfyHnS6HKO/reZqId1WGa4Hkh2kWodJ8i6KoIPlAj2hPt76CzXsVR6koPRzWTfKqIentatYpQw2me4AA3y1Kind3SwoOKZDcFXTwl9tWU6mfgRk9d71sKtlNwrjnYw5tC5n5LdKiGry3JKNlHEd3oaMCFHrazBPMp/uNJ+V7IudcSbeOIdjUEdwl0VHCOZo5t6YluEuaC9mQeMgSfOyKnYGFHcIeQ84yQWbuJYJpZw5CzglDH7gKnWqqM9ZTaXcN0TeYhR84eQtJT76JJ1lREe7WnnvsMmRc9FQ7SBBM9mV3lCUdmHk/S2RAMt0QjFNFqQpWjDPQ01DXWUdDBkXziKPjGEP3VP+zIWU2t7im41FOloyWzn/L6dkUy3VLDaZ6appgDLHPjJEsyvJngWEPUyVBiAaHCTEXwrLvSEbV1e1gKJniicWorC1MUrVjB3uDhJE/wgSOzk1DXpk0k73qCM8xw2UvD5kJmDUfOomqMpWCkJRlvKXGmoeBm18USjVIk04SClxTB6YrgLAPLWYK9HLUt5cmc0vYES8GnTeRc6skZbQkWdxRsIcyBRzx1DbTk9FbU0caTPOgJHhJKnOGIVhQqvKmo0llRw9sabrZkDtdg3PqaKi9oatjY8B+G371paMg6+mZFNNtQ04mWBq3rYLOmtWWQp8KJnpy9DdFensyjdqZ+yY40VJlH8wcdLzC8PZnvHMFUTZUrDTkLyQaGus5X5LzpYAf3i+e/ZlhqGqWhh6Ou6xTR9Z6oi5AZZtp7Mj2EEm8oSpxiYZCHU/1fbGdNNNRRoZMhmilEb2gqHOEJDtXkHK/JnG6IrvbPCwV3NhONVdS1thBMs1T4QOBcTWa2IzhMk2nW5Kyn9tXUtpv9RsG2msxk+ZsQzRQacJncpgke0+T8y5Fzj8BiGo7XlJjaTIlpQs7KFjpqGnKuoyEPeIKnFMkZHvopgh81ySxNFWvJWcKRs70j2FOT012IllEEO1n4pD1513Yg2ssQPOThOkvyrqHUdEXOSEsihmBbTbKX1kLBPWqWkLOqJbjB3GBIZmoa8qWl4CG/iZ7oiA72ZL7TJNeZUY7kFQftDcHHluBzRbCegzMtrRjVQpX2lgoPKKLJAkcbMl01XK2p7yhL8pCBbQ3BN2avJgKvttcrWDK3CiUOVxQ8ZP+pqXKyIxnmBymCg5vJjNfkPK4+c8cIfK8ocVt7kmfd/I5SR1hKvCzUtb+lhgc00ZaO6CyhIQP1Uv4yIZjload72PXX0OIJvnFU+0Zf6MhsJwTfW0r0UwQfW4LNLZl5HK261JCZ4qnBaAreVAS3WrjV0LBnNDUNNDToCEeFfwgcb4gOEqLRhirWkexrCEYKVV711DLYEE1XBEsp5tpTGjorkomKYF9FDXv7fR3BGwbettSxnyL53MBPjsxDZjMh+VUW9NRxq1DhVk+FSxQcaGjV9Pawv6eGByw5qzoy7xk4RsOShqjJwWKe/1pEEfzkobeD/dQJmpqedcyBTy2sr4nGNRH0c0SPWTLrqAc0OQcb/gemKgqucQT7ySWKCn2EUotoCvpZct7RO2sy/QW0IWcXd7pQRQyZVwT2USRO87uhjioTLKV2brpMUcMQRbKH/N2T+UlTpaMls6cmc6CCNy3JdYYSUzzJQ4oSD3oKLncULOiJvjBEC2oqnCJkJluCYy2ZQ5so9YYlZ1VLlQU1mXEW1jZERwj/MUSRc24TdexlqLKfQBtDTScJUV8FszXBEY5ktpD5Ur9hYB4Nb1iikw3JoYpkKX+RodRKFt53MMuRnKSpY31PwYaGaILh3wxJGz9TkTPEETxoCWZrgvOlmyMzxFEwVJE5xZKzvyJ4WxEc16Gd4Xe3Weq4XH2jKRikqOkGQ87hQnC7wBmGYLAnesX3M+S87eFATauuN+Qcrh7xIxXJbUIdMw3JGE3ylCWzrieaqCn4zhGM19TQ3z1oH1AX+pWEqIc7wNGAkULBo/ZxRaV9NNyh4Br3rCHZzbzmSfawBL0dNRwpW1kK9mxPXR9povcdrGSZK9c2k0xwFGzjuniCtRSZCZ6ccZ7gaktmgAOtKbG/JnOkJrjcQTdFMsxRQ2cLY3WTIrlCw1eWKn8R6pvt4GFDso3QoL4a3nLk3G6JrtME3dSenpx7PNFTmga0EaJTLQ061sEeQoWXhSo9LTXsaSjoJQRXeZLtDclbCrYzfzHHeaKjHCVOUkQHO3JeEepr56mhiyaYYKjjNU+Fed1wS5VlhWSqI/hYUdDOkaxiKehoyOnrCV5yBHtbWFqTHCCwtpDcYolesVR5yUzTZBb3RNMd0d6WP+SvhuBmRcGxnuQzT95IC285cr41cLGQ6aJJhmi4TMGempxeimBRQw1tFKV+8jd6KuzoSTqqDxzRtpZkurvKEHxlqXKRIjjfUNNXQsNOsRScoWFLT+YeRZVD3GRN0MdQcKqQjHDMrdGGVu3iYJpQx3WGUvfbmxwFfR20WBq0oYY7LMFhhgYtr8jpaEnaOzjawWWaTP8mMr0t/EPDPoqcnxTBI5o58L7uoWnMrpoqPwgVrlAUWE+V+TQl9rawoyP6QGAlQw2TPRX+YSkxyBC8Z6jhHkXBgQL7WII3DVFnRfCrBfxewv9D6xsyjys4VkhWb9pUU627JllV0YDNHMku/ldNMMXDEo4aFnAkk4U6frNEU4XgZUPmEKHUl44KrzmYamjAbh0JFvGnaTLPu1s9jPCwjFpYiN7z1DTOk/nc07CfDFzmCf7i+bfNHXhDtLeBXzTBT5rkMvWOIxpl4EMh2LGJBu2syDnAEx2naEhHDWMMzPZEhygyS1mS5RTJr5ZkoKbEUoYqr2kqdDUE8ztK7OaIntJkFrIECwv8LJTaVx5XJE86go8dFeZ3FN3rjabCAYpoYEeC9zzJVULBbmZhDyd7ko09ydpNZ3nm2Kee4FPPXHnYEF1nqOFEC08LUVcDvYXkJHW8gTaKCk9YGOeIJhqiE4ToPEepdp7IWFjdwnWaufGMwJJCMtUTTBBK9BGCOy2tGGrJTHIwyEOzp6aPzNMOtlZkDvcEWpP5SVNhfkvDxhmSazTJXYrM9U1E0xwFVwqZQwzJxw6+kGGGUj2FglGGmnb1/G51udRSMNlTw6GGnCcUwVcOpmsqTHa06o72sw1RL02p9z0VbnMLOaIX3QKaYKSCFQzBKEUNHTSc48k53RH9wxGMtpQa5KjjW0W0n6XCCCG4yxNNdhQ4R4l1Ff+2sSd6UFHiIEOyqqFgT01mEUMD+joy75jPhOA+oVVLm309FR4yVOlp4RhLiScNmSmaYF5Pw0STrOIoWMSR2UkRXOMp+M4SHW8o8Zoi6OZgjKOaFar8zZDzkWzvKOjkKBjmCXby8JahhjXULY4KlzgKLvAwxVGhvyd4zxB1d9T0piazmKLCVZY5sKiD0y2ZSYrkUEPUbIk+dlQ4SJHTR50k1DPaUWIdTZW9NJwnJMOECgd7ou/MnppMJ02O1VT4Wsh85MnZzcFTngpXGKo84qmwgKbCL/orR/SzJ2crA+t6Mp94KvxJUeIbT3CQu1uIdlQEOzlKfS3UMcrTiFmOuroocrZrT2AcmamOKg8YomeEKm/rlT2sociMaybaUlFhuqHCM2qIJ+rg4EcDFymiDSxzaHdPcpE62pD5kyM5SBMoA1PaUtfIthS85ig1VPiPPYXgYEMNk4Qq7TXBgo7oT57gPUdwgCHzhIVFPFU6OYJzHAX9m5oNrVjeE61miDrqQ4VSa1oiURTsKHC0IfjNwU2WzK6eqK8jWln4g15TVBnqmDteCJ501PGAocJhhqjZdtBEB6lnhLreFJKxmlKbeGrqLiSThVIbCdGzloasa6lpMQXHCME2boLpJgT7yWaemu6wBONbqGNVRS0PKIL7LckbjmQtR7K8I5qtqel+T/ChJTNIKLjdUMNIRyvOEko9YYl2cwQveBikCNawJKcLBbc7+JM92mysNvd/Fqp8a0k6CNEe7cnZrxlW0wQXaXjaktnRwNOGZKYiONwS7a1JVheq3WgJHlQUGKHKmp4KAxXR/ULURcNgoa4zhKSLpZR3kxRRb0NmD0OFn+UCS7CzI1nbP6+o4x47QZE5xRCt3ZagnYcvmpYQktXdk5YKXTzBC57kKEe0VVuiSYqapssMS3C9p2CKkHOg8B8Pa8p5atrIw3qezIWanMGa5HRDNF6RM9wcacl0N+Q8Z8hsIkSnaIIdHRUOEebAPy1zbCkhM062FCJtif7PU+UtoVXzWKqM1PxXO8cfdruhFQ/a6x3JKYagvVDhQEtNiyiiSQ7OsuRsZUku0CRNDs4Sog6KKjsZgk2bYJqijgsEenoKeniinRXBn/U3lgpPdyDZynQx8IiioMnCep5Ky8mjGs6Wty0l1hUQTcNWswS3WRp2kCNZwJG8omG8JphPUaFbC8lEfabwP7VtM9yoaNCAjpR41VNhrD9LkbN722v0CoZMByFzhaW+MyzRYEWFDQwN2M4/JiT76PuljT3VU/A36eaIThb+R9oZGOAJ9tewkgGvqOMNRWYjT/Cwu99Q8LqDE4TgbLWxJ1jaDDAERsFOFrobgjUsBScaguXU8kKm2RL19tRypSHnHNlHiIZqgufs4opgQdVdwxBNNFBR6kVFqb8ogimOzB6a6HTzrlDHEpYaxjiiA4TMQobkDg2vejjfwJGWmnbVFAw3H3hq2NyQfG7hz4aC+w3BbwbesG0swYayvpAs6++Ri1Vfzx93mFChvyN5xVHTS+0p9aqCAxyZ6ZacZyw5+7uuQkFPR9DDk9NOiE7X1PCYJVjVUqq7JlrHwWALF5nfHNGjApdpqgzx5OwilDhCiDYTgnc9waGW4BdLNNUQvOtpzDOWHDH8D7TR/A/85KljEQu3NREc4Pl/6B1Hhc8Umb5CsKMmGC9EPcxoT2amwHNCmeOEnOPbklnMkbOgIvO5UMOpQrS9UGVdt6iH/fURjhI/WOpaW9OKLYRod6HCUEdOX000wpDZQ6hwg6LgZfOqo1RfT/CrJzjekXOGhpc1VW71ZLbXyyp+93ILbC1kPtIEYx0FIx1VDrLoVzXRKRYWk809yYlC9ImcrinxtabKnzRJk3lAU1OLEN1j2zrYzr2myHRXJFf4h4QKT1qSTzTB5+ZNTzTRkAxX8FcLV2uS8eoQQ2aAkFzvCM72sJIcJET3WPjRk5wi32uSS9rfZajpWEvj9hW42F4o5NytSXYy8IKHay10VYdrcl4SkqscrXpMwyGOgtkajheSxdQqmpxP1L3t4R5PqasFnrQEjytq6qgp9Y09Qx9o4S1FzhUCn1kyHSzBWLemoSGvOqLNhZyBjmCaAUYpMgt4Ck7wBBMMwWKWgjsUwTaGVsxWC1mYoKiyqqeGKYqonSIRQ3KIkHO0pmAxTdBHkbOvfllfr+AA+7gnc50huVKYK393FOyg7rbPO/izI7hE4CnHHHnJ0ogNPRUGeUpsrZZTBJcrovUcJe51BPsr6GkJdhCCsZ6aTtMEb2pqWkqeVtDXE/QVggsU/Nl86d9RMF3DxvZTA58agu810RWawCiSzzXBeU3MMW9oyJUedvNEvQyNu1f10BSMddR1vaLCYpYa/mGocLSiYDcLbQz8aMn5iyF4xBNMs1P0QEOV7o5gaWGuzSeLue4tt3ro7y4Tgm4G/mopdZgl6q0o6KzJWE3mMksNr3r+a6CbT8g5wZNzT9O7fi/zpaOmnz3BRoqos+tv9zMbdpxsqDBOEewtJLt7cg5wtKKbvldpSzRRCD43VFheCI7yZLppggMVBS/KMAdHODJvOwq2NQSbKKKPLdFWQs7Fqo+mpl01JXYRgq8dnGLhTiFzqmWsUMdpllZdbKlyvSdYxhI9YghOtxR8LgSLWHK62mGGVoxzBE8LNWzqH9CUesQzFy5RQzTc56mhi6fgXEWwpKfE5Z7M05ZgZUPmo6auiv8YKzDYwWBLMErIbKHJvOwIrvEdhOBcQ9JdU1NHQ7CXn2XIDFBKU2WAgcX9UAUzDXWd5alwuyJ41Z9rjKLCL4aCp4WarhPm2rH+SaHUYE001JDZ2ZAzXPjdMpZWvC9wmqIB2lLhQ01D5jO06hghWMndbM7yRJMsoCj1vYbnFQVrW9jak3OlEJ3s/96+p33dEPRV5GxiqaGjIthUU6FFEZyqCa5qJrpBdzSw95IUnOPIrCUUjRZQFrbw5PR0R1qiYx3cb6nrWUMrBmmiBQxVHtTew5ICP/ip6g4hed/Akob/32wvBHsIOX83cI8hGeNeNPCIkPmXe8fPKx84OMSRM1MTdXSwjCZ4S30jVGhvqTRak/OVhgGazHuOCud5onEO1lJr6ecVyaOK6H7zqlBlIaHE0oroCgfvGJIdPcmfLNGLjpz7hZwZQpUbFME0A1cIJa7VNORkgfsMBatbKgwwJM9bSvQXeNOvbIjelg6WWvo5kvbKaJJNHexkKNHL9xRyFlH8Ti2riB5wVPhUk7nGkJnoCe428LR/wRGdYIlmWebCyxou1rCk4g/ShugBDX0V0ZQWkh0dOVsagkM0yV6OoLd5ye+pRlsCr0n+KiQrGuq5yJDzrTAXHtLUMduTDBVKrSm3eHL+6ijxhFDX9Z5gVU/wliHYTMiMFpKLNMEywu80wd3meoFmt6VbRMPenhrOc6DVe4pgXU8DnnHakLOIIrlF4FZPIw6R+zxBP0dyq6OOZ4Q5sLKCcz084ok+VsMMyQhNZmmBgX5xIXOEJTmi7VsGTvMTNdHHhpzdbE8Du2oKxgvBqQKdDDnTFOylCFaxR1syz2iqrOI/FEpNc3C6f11/7+ASS6l2inq2ciTrCCzgyemrCL5SVPjQkdPZUmGy2c9Sw9FtR1sS30RmsKPCS4rkIC/2U0MduwucYolGaPjKEyhzmiPYXagyWbYz8LWBDdzRimAXzxx4z8K9hpzlhLq+NiQ97HuKorMUfK/OVvC2JfiHUPCQI/q7J2gjK+tTDNxkCc4TMssqCs4TGtLVwQihyoAWgj9bosU80XGW6Ac9TJGziaUh5+hnFcHOnlaM1iRn29NaqGENTTTSUHCH2tWTeV0osUhH6psuVLjRUmGWhm6OZEshGeNowABHcJ2Bpy2ZszRcKkRXd2QuKVEeXnbfaEq825FguqfgfE2whlChSRMdron+LATTPQ2Z369t4B9C5gs/ylzv+CMmepIDPclFQl13W0rspPd1JOcbghGOEutqCv5qacURQl3dDKyvyJlqKXGPgcM9FfawJAMVmdcspcYKOZc4GjDYkFlK05olNMHyHn4zFNykyOxt99RkHlfwmiHo60l2EKI+mhreEKp080Tbug08BVPcgoqC5zWt+NLDTZ7oNSF51N1qie7Va3uCCwyZbkINf/NED6jzOsBdZjFN8oqG3wxVunqCSYYKf3EdhJyf9YWGf7tRU2oH3VHgPr1fe5J9hOgHd7xQ0y7qBwXr23aGErP0cm64JVjZwsOGqL+mhNgZmhJLW2oY4UhedsyBgzrCKrq7BmcpNVhR6jBPq64Vgi+kn6XE68pp8J5/+0wRHGOpsKenQn9DZntPzjRLZpDAdD2fnSgkG9tmIXnUwQ6WVighs7Yi2MxQ0N3CqYaCXkJ0oyOztMDJjmSSpcpvlrk0RMMOjmArQ04PRV1DO1FwhCVaUVPpKUM03JK5SxPsIWRu8/CGHi8UHChiqGFDTbSRJWeYUDDcH6vJWUxR4k1FXbMUwV6e4AJFXS8oMqsZKqzvYQ9DDQdZckY4aGsIhtlubbd2r3j4QBMoTamdPZk7O/Bf62lacZwneNjQoGcdVU7zJOd7ghsUHOkosagic6cnWc8+4gg285R6zZP5s1/LUbCKIznTwK36PkdwlOrl4U1LwfdCCa+IrvFkmgw1PCAUXKWo0sURXWcI2muKJlgyFzhynCY4RBOsqCjoI1R5zREco0n2Vt09BQtYSizgKNHfUmUrQ5UOCh51BFcLmY7umhYqXKQomOop8bUnWNNQcIiBcYaC6xzMNOS8JQQfeqKBmmglB+97ok/lfk3ygaHSyZaCRTzRxQo6GzLfa2jWBPepw+UmT7SQEJyiyRkhBLMVOfcoMjcK0eZChfUNzFAUzCsEN5vP/X1uP/n/aoMX+K+nw/Hjr/9xOo7j7Pju61tLcgvJpTWXNbfN5jLpi6VfCOviTktKlFusQixdEKWmEBUKNaIpjZRSSOXSgzaaKLdabrm1/9nZ+/f+vd/vz/v9+Xy+zZ7PRorYoZqyLrCwQdEAixxVOEXNNnjX2nUSRlkqGmWowk8lxR50JPy9Bo6qJXaXwNvREBvnThPEPrewryLhcAnj5WE15Fqi8W7R1sAuEu86S4ENikItFN4xkv9Af4nXSnUVcLiA9xzesFpivRRVeFKtsMRaKBhuSbjOELnAUtlSQUpXgdfB4Z1oSbnFEetbQ0IrAe+Y+pqnDcEJFj6S8LDZzZHwY4e3XONNlARraomNEt2bkvGsosA3ioyHm+6jCMbI59wqt4eeara28IzEmyPgoRaUOEDhTVdEJhmCoTWfC0p8aNkCp0oYqih2iqGi4yXeMkOsn4LdLLnmKfh/YogjNsPebeFGR4m9BJHLzB61XQ3BtpISfS2FugsK9FAtLWX1dCRcrCnUp44CNzuCowUZmxSRgYaE6Za0W2u/E7CVXCiI/UOR8aAm1+OSyE3mOUcwyc1zBBeoX1kiKy0Zfxck1Gsyulti11i83QTBF5Kg3pDQThFMVHiPSlK+0cSedng/VaS8bOZbtsBcTcZAR8JP5KeqQ1OYKAi20njdNNRpgnsU//K+JnaXJaGTomr7aYIphoRn9aeShJWKEq9LcozSF7QleEfDI5LYm5bgVkFkRwVDBCVu0DDIkGupo8TZBq+/pMQURYErJQmPKGKjNDkWOLx7Jd5QizdUweIaKrlP7SwJDhZvONjLkOsBBX9UpGxnydhXkfBLQ8IxgojQbLFnJf81JytSljclYYyEFyx0kVBvKWOFJmONpshGAcsduQY5giVNCV51eOdJYo/pLhbvM0uDHSevNKRcrKZIqnCtJeEsO95RoqcgGK4ocZcho1tTYtcZvH41pNQ7vA0WrhIfOSraIIntIAi+NXWCErdbkvrWwjRLrt0NKUdL6KSOscTOdMSOUtBHwL6OLA0vNSdynaWQEnCpIvKaIrJJEbvHkmuNhn6OjM8VkSGSqn1uYJCGHnq9I3aLhNME3t6GjIkO7xrNFumpyTNX/NrwX7CrIRiqqWijI9JO4d1iieykyfiposQIQ8YjjsjlBh6oHWbwRjgYJQn2NgSnNycmJAk3NiXhx44Sxykihxm8ybUwT1OVKySc7vi3OXVkdBJ4AyXBeksDXG0IhgtYY0lY5ahCD0ehborIk5aUWRJviMA7Xt5kyRjonrXENkm8yYqgs8VzgrJmClK20uMM3jRJ0FiQICQF9hdETlLQWRIb5ki6WDfWRPobvO6a4GP5mcOrNzDFELtTkONLh9dXE8xypEg7z8A9jkhrQ6Fhjlg/QVktJXxt4WXzT/03Q8IaQWSqIuEvloQ2mqC9Jfi7wRul4RX3pSPlzpoVlmCtI2jvKHCFhjcM3sN6lqF6HxnKelLjXWbwrpR4xzuCrTUZx2qq9oAh8p6ixCUGr78g8oyjRAtB5CZFwi80VerVpI0h+IeBxa6Zg6kWvpDHaioYYuEsRbDC3eOmC2JvGYLeioxGknL2UATNJN6hmtj1DlpLvDVmocYbrGCVJKOrg4X6DgddLA203BKMFngdJJFtFd7vJLm6KEpc5yjQrkk7M80SGe34X24nSex1Ra5Omgb71JKyg8SrU3i/kARKwWpH0kOGhKkObyfd0ZGjvyXlAkVZ4xRbYJ2irFMkFY1SwyWxr2oo4zlNiV+7zmaweFpT4kR3kaDAFW6xpSqzJay05FtYR4HmZhc9UxKbbfF2V8RG1MBmSaE+kmC6JnaRXK9gsiXhJHl/U0qM0WTcbyhwkYIvFGwjSbjfwhiJt8ZSQU+Bd5+marPMOkVkD0muxYLIfEuhh60x/J92itguihJSEMySVPQnTewnEm+620rTQEMsOfo4/kP/0ARvWjitlpSX7GxBgcMEsd3EEeYWvdytd+Saawi6aCIj1CkGb6Aj9rwhx16Cf3vAwFy5pyLhVonXzy51FDpdEblbkdJbUcEPDEFzQ8qNmhzzLTmmKWKbFCXeEuRabp6rxbvAtLF442QjQ+wEA9eL1xSR7Q0JXzlSHjJ4exq89yR0laScJ/FW6z4a73pFMEfDiRZvuvijIt86RaSFOl01riV2mD1UEvxGk/Geg5aWwGki1zgKPG9J2U8PEg8qYvMsZeytiTRXBMslCU8JSlxi8EabjwUldlDNLfzTUmCgxWsjqWCOHavYAqsknKFIO0yQ61VL5AVFxk6WhEaCAkdJgt9aSkzXlKNX2jEa79waYuc7gq0N3GDJGCBhoiTXUEPsdknCUE1CK0fwsiaylSF2uiDyO4XX3pFhNd7R4itFGc0k/ElBZwWvq+GC6szVeEoS/MZ+qylwpKNKv9Z469UOjqCjwlusicyTxG6VpNxcQ8IncoR4RhLbR+NdpGGmJWOcIzJGUuKPGpQg8rrG21dOMqQssJQ4RxH5jaUqnZuQ0F4Q+cjxLwPtpZbIAk3QTJHQWBE5S1BokoVtDd6lhqr9UpHSUxMcIYl9pojsb8h4SBOsMQcqvOWC2E8EVehqiJ1hrrAEbQxeK0NGZ0Gkq+guSRgniM23bIHVkqwx4hiHd7smaOyglyIyQuM978j4VS08J/A2G1KeMBRo4fBaSNhKUEZfQewVQ/C1I+MgfbEleEzCUw7mKXI0M3hd1EESVji8x5uQ41nxs1q4RMJCCXs7Iq9acpxn22oSDnQ/sJTxsCbHIYZiLyhY05TY0ZLIOQrGaSJDDN4t8pVaIrsqqFdEegtizc1iTew5Q4ayBDMUsQMkXocaYkc0hZua412siZ1rSXlR460zRJ5SlHGe5j801RLMlJTxtaOM3Q1pvxJ45zUlWFD7rsAbpfEm1JHxG0eh8w2R7QQVzBUw28FhFp5QZzq8t2rx2joqulYTWSuJdTYfWwqMFMcovFmSyJPNyLhE4E10pHzYjOC3huArRa571ZsGajQpQx38SBP5pyZB6lMU3khDnp0MBV51BE9o2E+TY5Ml2E8S7C0o6w1xvCZjf0HkVEHCzFoyNmqC+9wdcqN+Tp7jSDheE9ws8Y5V0NJCn2bk2tqSY4okdrEhx1iDN8cSudwepWmAGXKcJXK65H9to8jYQRH7SBF01ESUJdd0TayVInaWhLkOjlXE5irKGOnI6GSWGCJa482zBI9rCr0jyTVcEuzriC1vcr6mwFGSiqy5zMwxBH/TJHwjSPhL8+01kaaSUuMFKTcLEvaUePcrSmwn8DZrgikWb7CGPxkSjhQwrRk57tctmxLsb9sZvL9LSlyuSLlWkqOjwduo8b6Uv1DkmudIeFF2dHCgxVtk8dpIvHpBxhEOdhKk7OLIUSdJ+cSRY57B+0DgGUUlNfpthTfGkauzxrvTsUUaCVhlKeteTXCoJDCa2NOKhOmC4G1H8JBd4OBZReSRGkqcb/CO1PyLJTLB4j1q8JYaIutEjSLX8YKM+a6phdMsdLFUoV5RTm9JSkuDN8WcIon0NZMNZWh1q8C7SJEwV5HxrmnnTrf3KoJBlmCYI2ilSLlfEvlE4011NNgjgthzEua0oKK7JLE7HZHlEl60BLMVFewg4EWNt0ThrVNEVkkiTwpKXSWJzdRENgvKGq4IhjsiezgSFtsfCUq8qki5S1LRQeYQQ4nemmCkImWMw3tFUoUBZk4NOeZYEp4XRKTGa6wJjrWNHBVJR4m3FCnbuD6aak2WsMTh3SZImGCIPKNgsDpVwnsa70K31lCFJZYcwwSMFcQulGTsZuEaSdBXkPGZhu0FsdUO73RHjq8MPGGIfaGIbVTk6iuI3GFgucHrIQkmWSJdBd7BBu+uOryWAhY7+Lki9rK5wtEQzWwvtbqGhIMFwWRJsElsY4m9IIg9L6lCX0VklaPAYkfkZEGDnOWowlBJjtMUkcGK4Lg6EtoZInMUBVYLgn0UsdmCyCz7gIGHFfk+k1QwTh5We7A9x+IdJ6CvIkEagms0hR50eH9UnTQJ+2oiKyVlLFUE+8gBGu8MQ3CppUHesnjTHN4QB/UGPhCTHLFPHMFrCqa73gqObUJGa03wgbhHkrCfpEpzNLE7JDS25FMKhlhKKWKfCgqstLCPu1zBXy0J2ztwjtixBu8UTRn9LVtkmCN2iyFhtME70JHRQ1KVZXqKI/KNIKYMCYs1GUMEKbM1bKOI9LDXC7zbHS+bt+1MTWS9odA9DtrYtpbImQJ2VHh/lisEwaHqUk1kjKTAKknkBEXkbkdMGwq0dnhzLJF3NJH3JVwrqOB4Sca2hti75nmJN0WzxS6UxDYoEpxpa4htVlRjkYE7DZGzJVU72uC9IyhQL4i8YfGWSYLLNcHXloyz7QhNifmKSE9JgfGmuyLhc403Xm9vqcp6gXe3xuuv8F6VJNxkyTHEkHG2g0aKXL0MsXc1bGfgas2//dCONXiNLCX+5mB7eZIl1kHh7ajwpikyzlUUWOVOsjSQlsS+M0R+pPje/dzBXRZGO0rMtgQrLLG9VSu9n6CMXS3BhwYmSoIBhsjNBmZbgusE9BCPCP5triU4VhNbJfE+swSP27aayE8tuTpYYjtrYjMVGZdp2NpS1s6aBnKSHDsbKuplKbHM4a0wMFd/5/DmGyKrJSUaW4IBrqUhx0vyfzTBBLPIUcnZdrAkNsKR0sWRspumSns6Ch0v/qqIbBYUWKvPU/CFoyrDJGwSNFhbA/MlzKqjrO80hRbpKx0Jewsi/STftwGSlKc1JZyAzx05dhLEdnfQvhZOqiHWWEAHC7+30FuRcZUgaO5gpaIK+xsiHRUsqaPElTV40xQZQ107Q9BZE1nryDVGU9ZSQ47bmhBpLcYpUt7S+xuK/FiT8qKjwXYw5ypS2iuCv7q1gtgjhuBuB8LCFY5cUuCNtsQOFcT+4Ih9JX+k8Ea6v0iCIRZOtCT0Et00JW5UeC85Cg0ScK0k411HcG1zKtre3SeITBRk7WfwDhEvaYLTHP9le0m8By0JDwn4TlLW/aJOvGHxdjYUes+ScZigCkYQdNdEOhkiezgShqkx8ueKjI8lDfK2oNiOFvrZH1hS+tk7NV7nOmLHicGWEgubkXKdwdtZknCLJXaCpkrjZBtLZFsDP9CdxWsSr05Sxl6CMmoFbCOgryX40uDtamB7SVmXW4Ihlgpmq+00tBKUUa83WbjLUNkzDmY7cow1JDygyPGlhgGKYKz4vcV7QBNbJIgM11TUqZaMdwTeSguH6rOaw1JRKzaaGyxVm2EJ/uCIrVWUcZUkcp2grMsEjK+DMwS59jQk3Kd6SEq1d0S6uVmO4Bc1lDXTUcHjluCXEq+1OlBDj1pi9zgiXxnKuE0SqTXwhqbETW6RggMEnGl/q49UT2iCzgJvRwVXS2K/d6+ZkyUl7jawSVLit46EwxVljDZwoSQ20sDBihztHfk2yA8NVZghiXwrYHQdfKAOtzsayjhY9bY0yE2CWEeJ9xfzO423xhL5syS2TFJofO2pboHob0nY4GiAgRrvGQEDa/FWSsoaaYl0syRsEt3kWoH3B01shCXhTUWe9w3Bt44SC9QCh3eShQctwbaK2ApLroGCMlZrYqvlY3qYhM0aXpFkPOuoqJ3Dm6fxXrGwVF9gCWZagjPqznfkuMKQ8DPTQRO8ZqG1hPGKEm9IgpGW4DZDgTNriTxvFiq+Lz+0cKfp4wj6OCK9JSnzNSn9LFU7UhKZZMnYwcJ8s8yRsECScK4j5UOB95HFO0CzhY4xJxuCix0lDlEUeMdS6EZBkTsUkZ4K74dugyTXS7aNgL8aqjDfkCE0ZbwkCXpaWCKhl8P7VD5jxykivSyxyZrYERbe168LYu9ZYh86IkscgVLE7tWPKmJv11CgoyJltMEbrohtVAQfO4ImltiHEroYEs7RxAarVpY8AwXMcMReFOTYWe5iiLRQxJ5Q8DtJ8LQhWOhIeFESPGsILhbNDRljNbHzNRlTFbk2S3L0NOS6V1KFJYKUbSTcIIhM0wQ/s2TM0SRMNcQmSap3jCH4yhJZKSkwyRHpYYgsFeQ4U7xoCB7VVOExhXepo9ABBsYbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9hwzwlKij6ZAW9ne4L0s8C6XeBMEkd/LQy1VucBRot6QMlbivaBhoBgjqGiCJNhsqVp/S2SsG6DIONCR0dXhvWbJ+MRRZJkkuEjgDXJjFQW6SSL7GXK8Z2CZg7cVsbWGoKmEpzQ5elpiy8Ryg7dMkLLUEauzeO86CuwlSOlgYLojZWeJ9xM3S1PWfEfKl5ISLQ0MEKR8YOB2QfCxJBjrKPCN4f9MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC\");\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/base16-dark.css",
    "content": "/*\n\n    Name:       Base16 Default Dark\n    Author:     Chris Kempson (http://chriskempson.com)\n\n    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools)\n    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-base16-dark.CodeMirror {background: #151515; color: #e0e0e0;}\n.cm-s-base16-dark div.CodeMirror-selected {background: #303030 !important;}\n.cm-s-base16-dark.CodeMirror ::selection { background: rgba(48, 48, 48, .99); }\n.cm-s-base16-dark.CodeMirror ::-moz-selection { background: rgba(48, 48, 48, .99); }\n.cm-s-base16-dark .CodeMirror-gutters {background: #151515; border-right: 0px;}\n.cm-s-base16-dark .CodeMirror-guttermarker { color: #ac4142; }\n.cm-s-base16-dark .CodeMirror-guttermarker-subtle { color: #505050; }\n.cm-s-base16-dark .CodeMirror-linenumber {color: #505050;}\n.cm-s-base16-dark .CodeMirror-cursor {border-left: 1px solid #b0b0b0 !important;}\n\n.cm-s-base16-dark span.cm-comment {color: #8f5536;}\n.cm-s-base16-dark span.cm-atom {color: #aa759f;}\n.cm-s-base16-dark span.cm-number {color: #aa759f;}\n\n.cm-s-base16-dark span.cm-property, .cm-s-base16-dark span.cm-attribute {color: #90a959;}\n.cm-s-base16-dark span.cm-keyword {color: #ac4142;}\n.cm-s-base16-dark span.cm-string {color: #f4bf75;}\n\n.cm-s-base16-dark span.cm-variable {color: #90a959;}\n.cm-s-base16-dark span.cm-variable-2 {color: #6a9fb5;}\n.cm-s-base16-dark span.cm-def {color: #d28445;}\n.cm-s-base16-dark span.cm-bracket {color: #e0e0e0;}\n.cm-s-base16-dark span.cm-tag {color: #ac4142;}\n.cm-s-base16-dark span.cm-link {color: #aa759f;}\n.cm-s-base16-dark span.cm-error {background: #ac4142; color: #b0b0b0;}\n\n.cm-s-base16-dark .CodeMirror-activeline-background {background: #202020 !important;}\n.cm-s-base16-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/base16-light.css",
    "content": "/*\n\n    Name:       Base16 Default Light\n    Author:     Chris Kempson (http://chriskempson.com)\n\n    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools)\n    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-base16-light.CodeMirror {background: #f5f5f5; color: #202020;}\n.cm-s-base16-light div.CodeMirror-selected {background: #e0e0e0 !important;}\n.cm-s-base16-light.CodeMirror ::selection { background: #e0e0e0; }\n.cm-s-base16-light.CodeMirror ::-moz-selection { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-gutters {background: #f5f5f5; border-right: 0px;}\n.cm-s-base16-light .CodeMirror-guttermarker { color: #ac4142; }\n.cm-s-base16-light .CodeMirror-guttermarker-subtle { color: #b0b0b0; }\n.cm-s-base16-light .CodeMirror-linenumber {color: #b0b0b0;}\n.cm-s-base16-light .CodeMirror-cursor {border-left: 1px solid #505050 !important;}\n\n.cm-s-base16-light span.cm-comment {color: #8f5536;}\n.cm-s-base16-light span.cm-atom {color: #aa759f;}\n.cm-s-base16-light span.cm-number {color: #aa759f;}\n\n.cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute {color: #90a959;}\n.cm-s-base16-light span.cm-keyword {color: #ac4142;}\n.cm-s-base16-light span.cm-string {color: #f4bf75;}\n\n.cm-s-base16-light span.cm-variable {color: #90a959;}\n.cm-s-base16-light span.cm-variable-2 {color: #6a9fb5;}\n.cm-s-base16-light span.cm-def {color: #d28445;}\n.cm-s-base16-light span.cm-bracket {color: #202020;}\n.cm-s-base16-light span.cm-tag {color: #ac4142;}\n.cm-s-base16-light span.cm-link {color: #aa759f;}\n.cm-s-base16-light span.cm-error {background: #ac4142; color: #505050;}\n\n.cm-s-base16-light .CodeMirror-activeline-background {background: #DDDCDC !important;}\n.cm-s-base16-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/blackboard.css",
    "content": "/* Port of TextMate's Blackboard theme */\n\n.cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; }\n.cm-s-blackboard .CodeMirror-selected { background: #253B76 !important; }\n.cm-s-blackboard.CodeMirror ::selection { background: rgba(37, 59, 118, .99); }\n.cm-s-blackboard.CodeMirror ::-moz-selection { background: rgba(37, 59, 118, .99); }\n.cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; }\n.cm-s-blackboard .CodeMirror-guttermarker { color: #FBDE2D; }\n.cm-s-blackboard .CodeMirror-guttermarker-subtle { color: #888; }\n.cm-s-blackboard .CodeMirror-linenumber { color: #888; }\n.cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; }\n\n.cm-s-blackboard .cm-keyword { color: #FBDE2D; }\n.cm-s-blackboard .cm-atom { color: #D8FA3C; }\n.cm-s-blackboard .cm-number { color: #D8FA3C; }\n.cm-s-blackboard .cm-def { color: #8DA6CE; }\n.cm-s-blackboard .cm-variable { color: #FF6400; }\n.cm-s-blackboard .cm-operator { color: #FBDE2D;}\n.cm-s-blackboard .cm-comment { color: #AEAEAE; }\n.cm-s-blackboard .cm-string { color: #61CE3C; }\n.cm-s-blackboard .cm-string-2 { color: #61CE3C; }\n.cm-s-blackboard .cm-meta { color: #D8FA3C; }\n.cm-s-blackboard .cm-builtin { color: #8DA6CE; }\n.cm-s-blackboard .cm-tag { color: #8DA6CE; }\n.cm-s-blackboard .cm-attribute { color: #8DA6CE; }\n.cm-s-blackboard .cm-header { color: #FF6400; }\n.cm-s-blackboard .cm-hr { color: #AEAEAE; }\n.cm-s-blackboard .cm-link { color: #8DA6CE; }\n.cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; }\n\n.cm-s-blackboard .CodeMirror-activeline-background {background: #3C3636 !important;}\n.cm-s-blackboard .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important}"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/cobalt.css",
    "content": ".cm-s-cobalt.CodeMirror { background: #002240; color: white; }\n.cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; }\n.cm-s-cobalt.CodeMirror ::selection { background: rgba(179, 101, 57, .99); }\n.cm-s-cobalt.CodeMirror ::-moz-selection { background: rgba(179, 101, 57, .99); }\n.cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }\n.cm-s-cobalt .CodeMirror-guttermarker { color: #ffee80; }\n.cm-s-cobalt .CodeMirror-guttermarker-subtle { color: #d0d0d0; }\n.cm-s-cobalt .CodeMirror-linenumber { color: #d0d0d0; }\n.cm-s-cobalt .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-cobalt span.cm-comment { color: #08f; }\n.cm-s-cobalt span.cm-atom { color: #845dc4; }\n.cm-s-cobalt span.cm-number, .cm-s-cobalt span.cm-attribute { color: #ff80e1; }\n.cm-s-cobalt span.cm-keyword { color: #ffee80; }\n.cm-s-cobalt span.cm-string { color: #3ad900; }\n.cm-s-cobalt span.cm-meta { color: #ff9d00; }\n.cm-s-cobalt span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #9effff; }\n.cm-s-cobalt span.cm-variable-3, .cm-s-cobalt span.cm-def { color: white; }\n.cm-s-cobalt span.cm-bracket { color: #d8d8d8; }\n.cm-s-cobalt span.cm-builtin, .cm-s-cobalt span.cm-special { color: #ff9e59; }\n.cm-s-cobalt span.cm-link { color: #845dc4; }\n.cm-s-cobalt span.cm-error { color: #9d1e15; }\n\n.cm-s-cobalt .CodeMirror-activeline-background {background: #002D57 !important;}\n.cm-s-cobalt .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/colorforth.css",
    "content": ".cm-s-colorforth.CodeMirror { background: #000000; color: #f8f8f8; }\n.cm-s-colorforth .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }\n.cm-s-colorforth .CodeMirror-guttermarker { color: #FFBD40; }\n.cm-s-colorforth .CodeMirror-guttermarker-subtle { color: #78846f; }\n.cm-s-colorforth .CodeMirror-linenumber { color: #bababa; }\n.cm-s-colorforth .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-colorforth span.cm-comment     { color: #ededed; }\n.cm-s-colorforth span.cm-def         { color: #ff1c1c; font-weight:bold; }\n.cm-s-colorforth span.cm-keyword     { color: #ffd900; }\n.cm-s-colorforth span.cm-builtin     { color: #00d95a; }\n.cm-s-colorforth span.cm-variable    { color: #73ff00; }\n.cm-s-colorforth span.cm-string      { color: #007bff; }\n.cm-s-colorforth span.cm-number      { color: #00c4ff; }\n.cm-s-colorforth span.cm-atom        { color: #606060; }\n\n.cm-s-colorforth span.cm-variable-2  { color: #EEE; }\n.cm-s-colorforth span.cm-variable-3  { color: #DDD; }\n.cm-s-colorforth span.cm-property    {}\n.cm-s-colorforth span.cm-operator    {}\n\n.cm-s-colorforth span.cm-meta        { color: yellow; }\n.cm-s-colorforth span.cm-qualifier   { color: #FFF700; }\n.cm-s-colorforth span.cm-bracket     { color: #cc7; }\n.cm-s-colorforth span.cm-tag         { color: #FFBD40; }\n.cm-s-colorforth span.cm-attribute   { color: #FFF700; }\n.cm-s-colorforth span.cm-error       { color: #f00; }\n\n.cm-s-colorforth .CodeMirror-selected { background: #333d53 !important; }\n\n.cm-s-colorforth span.cm-compilation { background: rgba(255, 255, 255, 0.12); }\n\n.cm-s-colorforth .CodeMirror-activeline-background {background: #253540 !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/eclipse.css",
    "content": ".cm-s-eclipse span.cm-meta {color: #FF1717;}\n.cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; }\n.cm-s-eclipse span.cm-atom {color: #219;}\n.cm-s-eclipse span.cm-number {color: #164;}\n.cm-s-eclipse span.cm-def {color: #00f;}\n.cm-s-eclipse span.cm-variable {color: black;}\n.cm-s-eclipse span.cm-variable-2 {color: #0000C0;}\n.cm-s-eclipse span.cm-variable-3 {color: #0000C0;}\n.cm-s-eclipse span.cm-property {color: black;}\n.cm-s-eclipse span.cm-operator {color: black;}\n.cm-s-eclipse span.cm-comment {color: #3F7F5F;}\n.cm-s-eclipse span.cm-string {color: #2A00FF;}\n.cm-s-eclipse span.cm-string-2 {color: #f50;}\n.cm-s-eclipse span.cm-qualifier {color: #555;}\n.cm-s-eclipse span.cm-builtin {color: #30a;}\n.cm-s-eclipse span.cm-bracket {color: #cc7;}\n.cm-s-eclipse span.cm-tag {color: #170;}\n.cm-s-eclipse span.cm-attribute {color: #00c;}\n.cm-s-eclipse span.cm-link {color: #219;}\n.cm-s-eclipse span.cm-error {color: #f00;}\n\n.cm-s-eclipse .CodeMirror-activeline-background {background: #e8f2ff !important;}\n.cm-s-eclipse .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/elegant.css",
    "content": ".cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;}\n.cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;}\n.cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;}\n.cm-s-elegant span.cm-variable {color: black;}\n.cm-s-elegant span.cm-variable-2 {color: #b11;}\n.cm-s-elegant span.cm-qualifier {color: #555;}\n.cm-s-elegant span.cm-keyword {color: #730;}\n.cm-s-elegant span.cm-builtin {color: #30a;}\n.cm-s-elegant span.cm-link {color: #762;}\n.cm-s-elegant span.cm-error {background-color: #fdd;}\n\n.cm-s-elegant .CodeMirror-activeline-background {background: #e8f2ff !important;}\n.cm-s-elegant .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/erlang-dark.css",
    "content": ".cm-s-erlang-dark.CodeMirror { background: #002240; color: white; }\n.cm-s-erlang-dark div.CodeMirror-selected { background: #b36539 !important; }\n.cm-s-erlang-dark.CodeMirror ::selection { background: rgba(179, 101, 57, .99); }\n.cm-s-erlang-dark.CodeMirror ::-moz-selection { background: rgba(179, 101, 57, .99); }\n.cm-s-erlang-dark .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }\n.cm-s-erlang-dark .CodeMirror-guttermarker { color: white; }\n.cm-s-erlang-dark .CodeMirror-guttermarker-subtle { color: #d0d0d0; }\n.cm-s-erlang-dark .CodeMirror-linenumber { color: #d0d0d0; }\n.cm-s-erlang-dark .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-erlang-dark span.cm-atom       { color: #f133f1; }\n.cm-s-erlang-dark span.cm-attribute  { color: #ff80e1; }\n.cm-s-erlang-dark span.cm-bracket    { color: #ff9d00; }\n.cm-s-erlang-dark span.cm-builtin    { color: #eaa; }\n.cm-s-erlang-dark span.cm-comment    { color: #77f; }\n.cm-s-erlang-dark span.cm-def        { color: #e7a; }\n.cm-s-erlang-dark span.cm-keyword    { color: #ffee80; }\n.cm-s-erlang-dark span.cm-meta       { color: #50fefe; }\n.cm-s-erlang-dark span.cm-number     { color: #ffd0d0; }\n.cm-s-erlang-dark span.cm-operator   { color: #d55; }\n.cm-s-erlang-dark span.cm-property   { color: #ccc; }\n.cm-s-erlang-dark span.cm-qualifier  { color: #ccc; }\n.cm-s-erlang-dark span.cm-quote      { color: #ccc; }\n.cm-s-erlang-dark span.cm-special    { color: #ffbbbb; }\n.cm-s-erlang-dark span.cm-string     { color: #3ad900; }\n.cm-s-erlang-dark span.cm-string-2   { color: #ccc; }\n.cm-s-erlang-dark span.cm-tag        { color: #9effff; }\n.cm-s-erlang-dark span.cm-variable   { color: #50fe50; }\n.cm-s-erlang-dark span.cm-variable-2 { color: #e0e; }\n.cm-s-erlang-dark span.cm-variable-3 { color: #ccc; }\n.cm-s-erlang-dark span.cm-error      { color: #9d1e15; }\n\n.cm-s-erlang-dark .CodeMirror-activeline-background {background: #013461 !important;}\n.cm-s-erlang-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/lesser-dark.css",
    "content": "/*\nhttp://lesscss.org/ dark theme\nPorted to CodeMirror by Peter Kroon\n*/\n.cm-s-lesser-dark {\n  line-height: 1.3em;\n}\n.cm-s-lesser-dark.CodeMirror { background: #262626; color: #EBEFE7; text-shadow: 0 -1px 1px #262626; }\n.cm-s-lesser-dark div.CodeMirror-selected {background: #45443B !important;} /* 33322B*/\n.cm-s-lesser-dark.CodeMirror ::selection { background: rgba(69, 68, 59, .99); }\n.cm-s-lesser-dark.CodeMirror ::-moz-selection { background: rgba(69, 68, 59, .99); }\n.cm-s-lesser-dark .CodeMirror-cursor { border-left: 1px solid white !important; }\n.cm-s-lesser-dark pre { padding: 0 8px; }/*editable code holder*/\n\n.cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket { color: #7EFC7E; }/*65FC65*/\n\n.cm-s-lesser-dark .CodeMirror-gutters { background: #262626; border-right:1px solid #aaa; }\n.cm-s-lesser-dark .CodeMirror-guttermarker { color: #599eff; }\n.cm-s-lesser-dark .CodeMirror-guttermarker-subtle { color: #777; }\n.cm-s-lesser-dark .CodeMirror-linenumber { color: #777; }\n\n.cm-s-lesser-dark span.cm-keyword { color: #599eff; }\n.cm-s-lesser-dark span.cm-atom { color: #C2B470; }\n.cm-s-lesser-dark span.cm-number { color: #B35E4D; }\n.cm-s-lesser-dark span.cm-def {color: white;}\n.cm-s-lesser-dark span.cm-variable { color:#D9BF8C; }\n.cm-s-lesser-dark span.cm-variable-2 { color: #669199; }\n.cm-s-lesser-dark span.cm-variable-3 { color: white; }\n.cm-s-lesser-dark span.cm-property {color: #92A75C;}\n.cm-s-lesser-dark span.cm-operator {color: #92A75C;}\n.cm-s-lesser-dark span.cm-comment { color: #666; }\n.cm-s-lesser-dark span.cm-string { color: #BCD279; }\n.cm-s-lesser-dark span.cm-string-2 {color: #f50;}\n.cm-s-lesser-dark span.cm-meta { color: #738C73; }\n.cm-s-lesser-dark span.cm-qualifier {color: #555;}\n.cm-s-lesser-dark span.cm-builtin { color: #ff9e59; }\n.cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; }\n.cm-s-lesser-dark span.cm-tag { color: #669199; }\n.cm-s-lesser-dark span.cm-attribute {color: #00c;}\n.cm-s-lesser-dark span.cm-header {color: #a0a;}\n.cm-s-lesser-dark span.cm-quote {color: #090;}\n.cm-s-lesser-dark span.cm-hr {color: #999;}\n.cm-s-lesser-dark span.cm-link {color: #00c;}\n.cm-s-lesser-dark span.cm-error { color: #9d1e15; }\n\n.cm-s-lesser-dark .CodeMirror-activeline-background {background: #3C3A3A !important;}\n.cm-s-lesser-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/mbo.css",
    "content": "/****************************************************************/\n/*   Based on mbonaci's Brackets mbo theme                      */\n/*   https://github.com/mbonaci/global/blob/master/Mbo.tmTheme  */\n/*   Create your own: http://tmtheme-editor.herokuapp.com       */\n/****************************************************************/\n\n.cm-s-mbo.CodeMirror {background: #2c2c2c; color: #ffffec;}\n.cm-s-mbo div.CodeMirror-selected {background: #716C62 !important;}\n.cm-s-mbo.CodeMirror ::selection { background: rgba(113, 108, 98, .99); }\n.cm-s-mbo.CodeMirror ::-moz-selection { background: rgba(113, 108, 98, .99); }\n.cm-s-mbo .CodeMirror-gutters {background: #4e4e4e; border-right: 0px;}\n.cm-s-mbo .CodeMirror-guttermarker { color: white; }\n.cm-s-mbo .CodeMirror-guttermarker-subtle { color: grey; }\n.cm-s-mbo .CodeMirror-linenumber {color: #dadada;}\n.cm-s-mbo .CodeMirror-cursor {border-left: 1px solid #ffffec !important;}\n\n.cm-s-mbo span.cm-comment {color: #95958a;}\n.cm-s-mbo span.cm-atom {color: #00a8c6;}\n.cm-s-mbo span.cm-number {color: #00a8c6;}\n\n.cm-s-mbo span.cm-property, .cm-s-mbo span.cm-attribute {color: #9ddfe9;}\n.cm-s-mbo span.cm-keyword {color: #ffb928;}\n.cm-s-mbo span.cm-string {color: #ffcf6c;}\n.cm-s-mbo span.cm-string.cm-property {color: #ffffec;}\n\n.cm-s-mbo span.cm-variable {color: #ffffec;}\n.cm-s-mbo span.cm-variable-2 {color: #00a8c6;}\n.cm-s-mbo span.cm-def {color: #ffffec;}\n.cm-s-mbo span.cm-bracket {color: #fffffc; font-weight: bold;}\n.cm-s-mbo span.cm-tag {color: #9ddfe9;}\n.cm-s-mbo span.cm-link {color: #f54b07;}\n.cm-s-mbo span.cm-error {border-bottom: #636363; color: #ffffec;}\n.cm-s-mbo span.cm-qualifier {color: #ffffec;}\n\n.cm-s-mbo .CodeMirror-activeline-background {background: #494b41 !important;}\n.cm-s-mbo .CodeMirror-matchingbracket {color: #222 !important;}\n.cm-s-mbo .CodeMirror-matchingtag {background: rgba(255, 255, 255, .37);}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/mdn-like.css",
    "content": "/*\n  MDN-LIKE Theme - Mozilla\n  Ported to CodeMirror by Peter Kroon <plakroon@gmail.com>\n  Report bugs/issues here: https://github.com/codemirror/CodeMirror/issues\n  GitHub: @peterkroon\n\n  The mdn-like theme is inspired on the displayed code examples at: https://developer.mozilla.org/en-US/docs/Web/CSS/animation\n\n*/\n.cm-s-mdn-like.CodeMirror { color: #999; background-color: #fff; }\n.cm-s-mdn-like .CodeMirror-selected { background: #cfc !important; }\n.cm-s-mdn-like.CodeMirror ::selection { background: #cfc; }\n.cm-s-mdn-like.CodeMirror ::-moz-selection { background: #cfc; }\n\n.cm-s-mdn-like .CodeMirror-gutters { background: #f8f8f8; border-left: 6px solid rgba(0,83,159,0.65); color: #333; }\n.cm-s-mdn-like .CodeMirror-linenumber { color: #aaa; margin-left: 3px; }\ndiv.cm-s-mdn-like .CodeMirror-cursor { border-left: 2px solid #222; }\n\n.cm-s-mdn-like .cm-keyword {  color: #6262FF; }\n.cm-s-mdn-like .cm-atom { color: #F90; }\n.cm-s-mdn-like .cm-number { color:  #ca7841; }\n.cm-s-mdn-like .cm-def { color: #8DA6CE; }\n.cm-s-mdn-like span.cm-variable-2, .cm-s-mdn-like span.cm-tag { color: #690; }\n.cm-s-mdn-like span.cm-variable-3, .cm-s-mdn-like span.cm-def { color: #07a; }\n\n.cm-s-mdn-like .cm-variable { color: #07a; }\n.cm-s-mdn-like .cm-property { color: #905; }\n.cm-s-mdn-like .cm-qualifier { color: #690; }\n\n.cm-s-mdn-like .cm-operator { color: #cda869; }\n.cm-s-mdn-like .cm-comment { color:#777; font-weight:normal; }\n.cm-s-mdn-like .cm-string { color:#07a; font-style:italic; }\n.cm-s-mdn-like .cm-string-2 { color:#bd6b18; } /*?*/\n.cm-s-mdn-like .cm-meta { color: #000; } /*?*/\n.cm-s-mdn-like .cm-builtin { color: #9B7536; } /*?*/\n.cm-s-mdn-like .cm-tag { color: #997643; }\n.cm-s-mdn-like .cm-attribute { color: #d6bb6d; } /*?*/\n.cm-s-mdn-like .cm-header { color: #FF6400; }\n.cm-s-mdn-like .cm-hr { color: #AEAEAE; }\n.cm-s-mdn-like .cm-link {   color:#ad9361; font-style:italic; text-decoration:none; }\n.cm-s-mdn-like .cm-error { border-bottom: 1px solid red; }\n\ndiv.cm-s-mdn-like .CodeMirror-activeline-background {background: #efefff;}\ndiv.cm-s-mdn-like span.CodeMirror-matchingbracket {outline:1px solid grey; color: inherit;}\n\n.cm-s-mdn-like.CodeMirror { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAyCAYAAAAp8UeFAAAHvklEQVR42s2b63bcNgyEQZCSHCdt2vd/0tWF7I+Q6XgMXiTtuvU5Pl57ZQKkKHzEAOtF5KeIJBGJ8uvL599FRFREZhFx8DeXv8trn68RuGaC8TRfo3SNp9dlDDHedyLyTUTeRWStXKPZrjtpZxaRw5hPqozRs1N8/enzIiQRWcCgy4MUA0f+XWliDhyL8Lfyvx7ei/Ae3iQFHyw7U/59pQVIMEEPEz0G7XiwdRjzSfC3UTtz9vchIntxvry5iMgfIhJoEflOz2CQr3F5h/HfeFe+GTdLaKcu9L8LTeQb/R/7GgbsfKedyNdoHsN31uRPWrfZ5wsj/NzzRQHuToIdU3ahwnsKPxXCjJITuOsi7XLc7SG/v5GdALs7wf8JjTFiB5+QvTEfRyGOfX3Lrx8wxyQi3sNq46O7QahQiCsRFgqddjBouVEHOKDgXAQHD9gJCr5sMKkEdjwsarG/ww3BMHBU7OBjXnzdyY7SfCxf5/z6ATccrwlKuwC/jhznnPF4CgVzhhVf4xp2EixcBActO75iZ8/fM9zAs2OMzKdslgXWJ9XG8PQoOAMA5fGcsvORgv0doBXyHrCwfLJAOwo71QLNkb8n2Pl6EWiR7OCibtkPaz4Kc/0NNAze2gju3zOwekALDaCFPI5vjPFmgGY5AZqyGEvH1x7QfIb8YtxMnA/b+QQ0aQDAwc6JMFg8CbQZ4qoYEEHbRwNojuK3EHwd7VALSgq+MNDKzfT58T8qdpADrgW0GmgcAS1lhzztJmkAzcPNOQbsWEALBDSlMKUG0Eq4CLAQWvEVQ9WU57gZJwZtgPO3r9oBTQ9WO8TjqXINx8R0EYpiZEUWOF3FxkbJkgU9B2f41YBrIj5ZfsQa0M5kTgiAAqM3ShXLgu8XMqcrQBvJ0CL5pnTsfMB13oB8athpAq2XOQmcGmoACCLydx7nToa23ATaSIY2ichfOdPTGxlasXMLaL0MLZAOwAKIM+y8CmicobGdCcbbK9DzN+yYGVoNNI5iUKTMyYOjPse4A8SM1MmcXgU0toOq1yO/v8FOxlASyc7TgeYaAMBJHcY1CcCwGI/TK4AmDbDyKYBBtFUkRwto8gygiQEaByFgJ00BH2M8JWwQS1nafDXQCidWyOI8AcjDCSjCLk8ngObuAm3JAHAdubAmOaK06V8MNEsKPJOhobSprwQa6gD7DclRQdqcwL4zxqgBrQcabUiBLclRDKAlWp+etPkBaNMA0AKlrHwTdEByZAA4GM+SNluSY6wAzcMNewxmgig5Ks0nkrSpBvSaQHMdKTBAnLojOdYyGpQ254602ZILPdTD1hdlggdIm74jbTp8vDwF5ZYUeLWGJpWsh6XNyXgcYwVoJQTEhhTYkxzZjiU5npU2TaB979TQehlaAVq4kaGpiPwwwLkYUuBbQwocyQTv1tA0+1UFWoJF3iv1oq+qoSk8EQdJmwHkziIF7oOZk14EGitibAdjLYYK78H5vZOhtWpoI0ATGHs0Q8OMb4Ey+2bU2UYztCtA0wFAs7TplGLRVQCcqaFdGSPCeTI1QNIC52iWNzof6Uib7xjEp07mNNoUYmVosVItHrHzRlLgBn9LFyRHaQCtVUMbtTNhoXWiTOO9k/V8BdAc1Oq0ArSQs6/5SU0hckNy9NnXqQY0PGYo5dWJ7nINaN6o958FWin27aBaWRka1r5myvLOAm0j30eBJqCxHLReVclxhxOEN2JfDWjxBtAC7MIH1fVaGdoOp4qJYDgKtKPSFNID2gSnGldrCqkFZ+5UeQXQBIRrSwocbdZYQT/2LwRahBPBXoHrB8nxaGROST62DKUbQOMMzZIC9abkuELfQzQALWTnDNAm8KHWFOJgJ5+SHIvTPcmx1xQyZRhNL5Qci689aXMEaN/uNIWkEwDAvFpOZmgsBaaGnbs1NPa1Jm32gBZAIh1pCtG7TSH4aE0y1uVY4uqoFPisGlpP2rSA5qTecWn5agK6BzSpgAyD+wFaqhnYoSZ1Vwr8CmlTQbrcO3ZaX0NAEyMbYaAlyquFoLKK3SPby9CeVUPThrSJmkCAE0CrKUQadi4DrdSlWhmah0YL9z9vClH59YGbHx1J8VZTyAjQepJjmXwAKTDQI3omc3p1U4gDUf6RfcdYfrUp5ClAi2J3Ba6UOXGo+K+bQrjjssitG2SJzshaLwMtXgRagUNpYYoVkMSBLM+9GGiJZMvduG6DRZ4qc04DMPtQQxOjEtACmhO7K1AbNbQDEggZyJwscFpAGwENhoBeUwh3bWolhe8BTYVKxQEWrSUn/uhcM5KhvUu/+eQu0Lzhi+VrK0PrZZNDQKs9cpYUuFYgMVpD4/NxenJTiMCNqdUEUf1qZWjppLT5qSkkUZbCwkbZMSuVnu80hfSkzRbQeqCZSAh6huR4VtoM2gHAlLf72smuWgE+VV7XpE25Ab2WFDgyhnSuKbs4GuGzCjR+tIoUuMFg3kgcWKLTwRqanJQ2W00hAsenfaApRC42hbCvK1SlE0HtE9BGgneJO+ELamitD1YjjOYnNYVcraGhtKkW0EqVVeDx733I2NH581k1NNxNLG0i0IJ8/NjVaOZ0tYZ2Vtr0Xv7tPV3hkWp9EFkgS/J0vosngTaSoaG06WHi+xObQkaAdlbanP8B2+2l0f90LmUAAAAASUVORK5CYII=); }\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/midnight.css",
    "content": "/* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */\n\n/*<!--match-->*/\n.cm-s-midnight span.CodeMirror-matchhighlight { background: #494949; }\n.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67 !important; }\n\n/*<!--activeline-->*/\n.cm-s-midnight .CodeMirror-activeline-background {background: #253540 !important;}\n\n.cm-s-midnight.CodeMirror {\n    background: #0F192A;\n    color: #D1EDFF;\n}\n\n.cm-s-midnight.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n\n.cm-s-midnight div.CodeMirror-selected {background: #314D67 !important;}\n.cm-s-midnight.CodeMirror ::selection { background: rgba(49, 77, 103, .99); }\n.cm-s-midnight.CodeMirror ::-moz-selection { background: rgba(49, 77, 103, .99); }\n.cm-s-midnight .CodeMirror-gutters {background: #0F192A; border-right: 1px solid;}\n.cm-s-midnight .CodeMirror-guttermarker { color: white; }\n.cm-s-midnight .CodeMirror-guttermarker-subtle { color: #d0d0d0; }\n.cm-s-midnight .CodeMirror-linenumber {color: #D0D0D0;}\n.cm-s-midnight .CodeMirror-cursor {\n    border-left: 1px solid #F8F8F0 !important;\n}\n\n.cm-s-midnight span.cm-comment {color: #428BDD;}\n.cm-s-midnight span.cm-atom {color: #AE81FF;}\n.cm-s-midnight span.cm-number {color: #D1EDFF;}\n\n.cm-s-midnight span.cm-property, .cm-s-midnight span.cm-attribute {color: #A6E22E;}\n.cm-s-midnight span.cm-keyword {color: #E83737;}\n.cm-s-midnight span.cm-string {color: #1DC116;}\n\n.cm-s-midnight span.cm-variable {color: #FFAA3E;}\n.cm-s-midnight span.cm-variable-2 {color: #FFAA3E;}\n.cm-s-midnight span.cm-def {color: #4DD;}\n.cm-s-midnight span.cm-bracket {color: #D1EDFF;}\n.cm-s-midnight span.cm-tag {color: #449;}\n.cm-s-midnight span.cm-link {color: #AE81FF;}\n.cm-s-midnight span.cm-error {background: #F92672; color: #F8F8F0;}\n\n.cm-s-midnight .CodeMirror-matchingbracket {\n  text-decoration: underline;\n  color: white !important;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/monokai.css",
    "content": "/* Based on Sublime Text's Monokai theme */\n\n.cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;}\n.cm-s-monokai div.CodeMirror-selected {background: #49483E !important;}\n.cm-s-monokai.CodeMirror ::selection { background: rgba(73, 72, 62, .99); }\n.cm-s-monokai.CodeMirror ::-moz-selection { background: rgba(73, 72, 62, .99); }\n.cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;}\n.cm-s-monokai .CodeMirror-guttermarker { color: white; }\n.cm-s-monokai .CodeMirror-guttermarker-subtle { color: #d0d0d0; }\n.cm-s-monokai .CodeMirror-linenumber {color: #d0d0d0;}\n.cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;}\n\n.cm-s-monokai span.cm-comment {color: #75715e;}\n.cm-s-monokai span.cm-atom {color: #ae81ff;}\n.cm-s-monokai span.cm-number {color: #ae81ff;}\n\n.cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;}\n.cm-s-monokai span.cm-keyword {color: #f92672;}\n.cm-s-monokai span.cm-string {color: #e6db74;}\n\n.cm-s-monokai span.cm-variable {color: #a6e22e;}\n.cm-s-monokai span.cm-variable-2 {color: #9effff;}\n.cm-s-monokai span.cm-def {color: #fd971f;}\n.cm-s-monokai span.cm-bracket {color: #f8f8f2;}\n.cm-s-monokai span.cm-tag {color: #f92672;}\n.cm-s-monokai span.cm-link {color: #ae81ff;}\n.cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;}\n\n.cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;}\n.cm-s-monokai .CodeMirror-matchingbracket {\n  text-decoration: underline;\n  color: white !important;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/neat.css",
    "content": ".cm-s-neat span.cm-comment { color: #a86; }\n.cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; }\n.cm-s-neat span.cm-string { color: #a22; }\n.cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; }\n.cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; }\n.cm-s-neat span.cm-variable { color: black; }\n.cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; }\n.cm-s-neat span.cm-meta {color: #555;}\n.cm-s-neat span.cm-link { color: #3a3; }\n\n.cm-s-neat .CodeMirror-activeline-background {background: #e8f2ff !important;}\n.cm-s-neat .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/neo.css",
    "content": "/* neo theme for codemirror */\n\n/* Color scheme */\n\n.cm-s-neo.CodeMirror {\n  background-color:#ffffff;\n  color:#2e383c;\n  line-height:1.4375;\n}\n.cm-s-neo .cm-comment {color:#75787b}\n.cm-s-neo .cm-keyword, .cm-s-neo .cm-property {color:#1d75b3}\n.cm-s-neo .cm-atom,.cm-s-neo .cm-number {color:#75438a}\n.cm-s-neo .cm-node,.cm-s-neo .cm-tag {color:#9c3328}\n.cm-s-neo .cm-string {color:#b35e14}\n.cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier {color:#047d65}\n\n\n/* Editor styling */\n\n.cm-s-neo pre {\n  padding:0;\n}\n\n.cm-s-neo .CodeMirror-gutters {\n  border:none;\n  border-right:10px solid transparent;\n  background-color:transparent;\n}\n\n.cm-s-neo .CodeMirror-linenumber {\n  padding:0;\n  color:#e0e2e5;\n}\n\n.cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; }\n.cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; }\n\n.cm-s-neo div.CodeMirror-cursor {\n  width: auto;\n  border: 0;\n  background: rgba(155,157,162,0.37);\n  z-index: 1;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/night.css",
    "content": "/* Loosely based on the Midnight Textmate theme */\n\n.cm-s-night.CodeMirror { background: #0a001f; color: #f8f8f8; }\n.cm-s-night div.CodeMirror-selected { background: #447 !important; }\n.cm-s-night.CodeMirror ::selection { background: rgba(68, 68, 119, .99); }\n.cm-s-night.CodeMirror ::-moz-selection { background: rgba(68, 68, 119, .99); }\n.cm-s-night .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }\n.cm-s-night .CodeMirror-guttermarker { color: white; }\n.cm-s-night .CodeMirror-guttermarker-subtle { color: #bbb; }\n.cm-s-night .CodeMirror-linenumber { color: #f8f8f8; }\n.cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-night span.cm-comment { color: #6900a1; }\n.cm-s-night span.cm-atom { color: #845dc4; }\n.cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; }\n.cm-s-night span.cm-keyword { color: #599eff; }\n.cm-s-night span.cm-string { color: #37f14a; }\n.cm-s-night span.cm-meta { color: #7678e2; }\n.cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; }\n.cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; }\n.cm-s-night span.cm-bracket { color: #8da6ce; }\n.cm-s-night span.cm-comment { color: #6900a1; }\n.cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; }\n.cm-s-night span.cm-link { color: #845dc4; }\n.cm-s-night span.cm-error { color: #9d1e15; }\n\n.cm-s-night .CodeMirror-activeline-background {background: #1C005A !important;}\n.cm-s-night .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/paraiso-dark.css",
    "content": "/*\n\n    Name:       Paraíso (Dark)\n    Author:     Jan T. Sott\n\n    Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror)\n    Inspired by the art of Rubens LP (http://www.rubenslp.com.br)\n\n*/\n\n.cm-s-paraiso-dark.CodeMirror {background: #2f1e2e; color: #b9b6b0;}\n.cm-s-paraiso-dark div.CodeMirror-selected {background: #41323f !important;}\n.cm-s-paraiso-dark.CodeMirror ::selection { background: rgba(65, 50, 63, .99); }\n.cm-s-paraiso-dark.CodeMirror ::-moz-selection { background: rgba(65, 50, 63, .99); }\n.cm-s-paraiso-dark .CodeMirror-gutters {background: #2f1e2e; border-right: 0px;}\n.cm-s-paraiso-dark .CodeMirror-guttermarker { color: #ef6155; }\n.cm-s-paraiso-dark .CodeMirror-guttermarker-subtle { color: #776e71; }\n.cm-s-paraiso-dark .CodeMirror-linenumber {color: #776e71;}\n.cm-s-paraiso-dark .CodeMirror-cursor {border-left: 1px solid #8d8687 !important;}\n\n.cm-s-paraiso-dark span.cm-comment {color: #e96ba8;}\n.cm-s-paraiso-dark span.cm-atom {color: #815ba4;}\n.cm-s-paraiso-dark span.cm-number {color: #815ba4;}\n\n.cm-s-paraiso-dark span.cm-property, .cm-s-paraiso-dark span.cm-attribute {color: #48b685;}\n.cm-s-paraiso-dark span.cm-keyword {color: #ef6155;}\n.cm-s-paraiso-dark span.cm-string {color: #fec418;}\n\n.cm-s-paraiso-dark span.cm-variable {color: #48b685;}\n.cm-s-paraiso-dark span.cm-variable-2 {color: #06b6ef;}\n.cm-s-paraiso-dark span.cm-def {color: #f99b15;}\n.cm-s-paraiso-dark span.cm-bracket {color: #b9b6b0;}\n.cm-s-paraiso-dark span.cm-tag {color: #ef6155;}\n.cm-s-paraiso-dark span.cm-link {color: #815ba4;}\n.cm-s-paraiso-dark span.cm-error {background: #ef6155; color: #8d8687;}\n\n.cm-s-paraiso-dark .CodeMirror-activeline-background {background: #4D344A !important;}\n.cm-s-paraiso-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/paraiso-light.css",
    "content": "/*\n\n    Name:       Paraíso (Light)\n    Author:     Jan T. Sott\n\n    Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror)\n    Inspired by the art of Rubens LP (http://www.rubenslp.com.br)\n\n*/\n\n.cm-s-paraiso-light.CodeMirror {background: #e7e9db; color: #41323f;}\n.cm-s-paraiso-light div.CodeMirror-selected {background: #b9b6b0 !important;}\n.cm-s-paraiso-light.CodeMirror ::selection { background: #b9b6b0; }\n.cm-s-paraiso-light.CodeMirror ::-moz-selection { background: #b9b6b0; }\n.cm-s-paraiso-light .CodeMirror-gutters {background: #e7e9db; border-right: 0px;}\n.cm-s-paraiso-light .CodeMirror-guttermarker { color: black; }\n.cm-s-paraiso-light .CodeMirror-guttermarker-subtle { color: #8d8687; }\n.cm-s-paraiso-light .CodeMirror-linenumber {color: #8d8687;}\n.cm-s-paraiso-light .CodeMirror-cursor {border-left: 1px solid #776e71 !important;}\n\n.cm-s-paraiso-light span.cm-comment {color: #e96ba8;}\n.cm-s-paraiso-light span.cm-atom {color: #815ba4;}\n.cm-s-paraiso-light span.cm-number {color: #815ba4;}\n\n.cm-s-paraiso-light span.cm-property, .cm-s-paraiso-light span.cm-attribute {color: #48b685;}\n.cm-s-paraiso-light span.cm-keyword {color: #ef6155;}\n.cm-s-paraiso-light span.cm-string {color: #fec418;}\n\n.cm-s-paraiso-light span.cm-variable {color: #48b685;}\n.cm-s-paraiso-light span.cm-variable-2 {color: #06b6ef;}\n.cm-s-paraiso-light span.cm-def {color: #f99b15;}\n.cm-s-paraiso-light span.cm-bracket {color: #41323f;}\n.cm-s-paraiso-light span.cm-tag {color: #ef6155;}\n.cm-s-paraiso-light span.cm-link {color: #815ba4;}\n.cm-s-paraiso-light span.cm-error {background: #ef6155; color: #776e71;}\n\n.cm-s-paraiso-light .CodeMirror-activeline-background {background: #CFD1C4 !important;}\n.cm-s-paraiso-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/pastel-on-dark.css",
    "content": "/**\n * Pastel On Dark theme ported from ACE editor\n * @license MIT\n * @copyright AtomicPages LLC 2014\n * @author Dennis Thompson, AtomicPages LLC\n * @version 1.1\n * @source https://github.com/atomicpages/codemirror-pastel-on-dark-theme\n */\n\n.cm-s-pastel-on-dark.CodeMirror {\n\tbackground: #2c2827;\n\tcolor: #8F938F;\n\tline-height: 1.5;\n\tfont-size: 14px;\n}\n.cm-s-pastel-on-dark div.CodeMirror-selected { background: rgba(221,240,255,0.2) !important; }\n.cm-s-pastel-on-dark.CodeMirror ::selection { background: rgba(221,240,255,0.2); }\n.cm-s-pastel-on-dark.CodeMirror ::-moz-selection { background: rgba(221,240,255,0.2); }\n\n.cm-s-pastel-on-dark .CodeMirror-gutters {\n\tbackground: #34302f;\n\tborder-right: 0px;\n\tpadding: 0 3px;\n}\n.cm-s-pastel-on-dark .CodeMirror-guttermarker { color: white; }\n.cm-s-pastel-on-dark .CodeMirror-guttermarker-subtle { color: #8F938F; }\n.cm-s-pastel-on-dark .CodeMirror-linenumber { color: #8F938F; }\n.cm-s-pastel-on-dark .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; }\n.cm-s-pastel-on-dark span.cm-comment { color: #A6C6FF; }\n.cm-s-pastel-on-dark span.cm-atom { color: #DE8E30; }\n.cm-s-pastel-on-dark span.cm-number { color: #CCCCCC; }\n.cm-s-pastel-on-dark span.cm-property { color: #8F938F; }\n.cm-s-pastel-on-dark span.cm-attribute { color: #a6e22e; }\n.cm-s-pastel-on-dark span.cm-keyword { color: #AEB2F8; }\n.cm-s-pastel-on-dark span.cm-string { color: #66A968; }\n.cm-s-pastel-on-dark span.cm-variable { color: #AEB2F8; }\n.cm-s-pastel-on-dark span.cm-variable-2 { color: #BEBF55; }\n.cm-s-pastel-on-dark span.cm-variable-3 { color: #DE8E30; }\n.cm-s-pastel-on-dark span.cm-def { color: #757aD8; }\n.cm-s-pastel-on-dark span.cm-bracket { color: #f8f8f2; }\n.cm-s-pastel-on-dark span.cm-tag { color: #C1C144; }\n.cm-s-pastel-on-dark span.cm-link { color: #ae81ff; }\n.cm-s-pastel-on-dark span.cm-qualifier,.cm-s-pastel-on-dark span.cm-builtin { color: #C1C144; }\n.cm-s-pastel-on-dark span.cm-error {\n\tbackground: #757aD8;\n\tcolor: #f8f8f0;\n}\n.cm-s-pastel-on-dark .CodeMirror-activeline-background { background: rgba(255, 255, 255, 0.031) !important; }\n.cm-s-pastel-on-dark .CodeMirror-matchingbracket {\n\tborder: 1px solid rgba(255,255,255,0.25);\n\tcolor: #8F938F !important;\n\tmargin: -1px -1px 0 -1px;\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/rubyblue.css",
    "content": ".cm-s-rubyblue.CodeMirror { background: #112435; color: white; }\n.cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; }\n.cm-s-rubyblue.CodeMirror ::selection { background: rgba(56, 86, 111, 0.99); }\n.cm-s-rubyblue.CodeMirror ::-moz-selection { background: rgba(56, 86, 111, 0.99); }\n.cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; }\n.cm-s-rubyblue .CodeMirror-guttermarker { color: white; }\n.cm-s-rubyblue .CodeMirror-guttermarker-subtle { color: #3E7087; }\n.cm-s-rubyblue .CodeMirror-linenumber { color: white; }\n.cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; line-height: 1em; }\n.cm-s-rubyblue span.cm-atom { color: #F4C20B; }\n.cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; }\n.cm-s-rubyblue span.cm-keyword { color: #F0F; }\n.cm-s-rubyblue span.cm-string { color: #F08047; }\n.cm-s-rubyblue span.cm-meta { color: #F0F; }\n.cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; }\n.cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; }\n.cm-s-rubyblue span.cm-bracket { color: #F0F; }\n.cm-s-rubyblue span.cm-link { color: #F4C20B; }\n.cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; }\n.cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; }\n.cm-s-rubyblue span.cm-error { color: #AF2018; }\n\n.cm-s-rubyblue .CodeMirror-activeline-background {background: #173047 !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/solarized.css",
    "content": "/*\nSolarized theme for code-mirror\nhttp://ethanschoonover.com/solarized\n*/\n\n/*\nSolarized color pallet\nhttp://ethanschoonover.com/solarized/img/solarized-palette.png\n*/\n\n.solarized.base03 { color: #002b36; }\n.solarized.base02 { color: #073642; }\n.solarized.base01 { color: #586e75; }\n.solarized.base00 { color: #657b83; }\n.solarized.base0 { color: #839496; }\n.solarized.base1 { color: #93a1a1; }\n.solarized.base2 { color: #eee8d5; }\n.solarized.base3  { color: #fdf6e3; }\n.solarized.solar-yellow  { color: #b58900; }\n.solarized.solar-orange  { color: #cb4b16; }\n.solarized.solar-red { color: #dc322f; }\n.solarized.solar-magenta { color: #d33682; }\n.solarized.solar-violet  { color: #6c71c4; }\n.solarized.solar-blue { color: #268bd2; }\n.solarized.solar-cyan { color: #2aa198; }\n.solarized.solar-green { color: #859900; }\n\n/* Color scheme for code-mirror */\n\n.cm-s-solarized {\n  line-height: 1.45em;\n  color-profile: sRGB;\n  rendering-intent: auto;\n}\n.cm-s-solarized.cm-s-dark {\n  color: #839496;\n  background-color:  #002b36;\n  text-shadow: #002b36 0 1px;\n}\n.cm-s-solarized.cm-s-light {\n  background-color: #fdf6e3;\n  color: #657b83;\n  text-shadow: #eee8d5 0 1px;\n}\n\n.cm-s-solarized .CodeMirror-widget {\n  text-shadow: none;\n}\n\n\n.cm-s-solarized .cm-keyword { color: #cb4b16 }\n.cm-s-solarized .cm-atom { color: #d33682; }\n.cm-s-solarized .cm-number { color: #d33682; }\n.cm-s-solarized .cm-def { color: #2aa198; }\n\n.cm-s-solarized .cm-variable { color: #268bd2; }\n.cm-s-solarized .cm-variable-2 { color: #b58900; }\n.cm-s-solarized .cm-variable-3 { color: #6c71c4; }\n\n.cm-s-solarized .cm-property { color: #2aa198; }\n.cm-s-solarized .cm-operator {color: #6c71c4;}\n\n.cm-s-solarized .cm-comment { color: #586e75; font-style:italic; }\n\n.cm-s-solarized .cm-string { color: #859900; }\n.cm-s-solarized .cm-string-2 { color: #b58900; }\n\n.cm-s-solarized .cm-meta { color: #859900; }\n.cm-s-solarized .cm-qualifier { color: #b58900; }\n.cm-s-solarized .cm-builtin { color: #d33682; }\n.cm-s-solarized .cm-bracket { color: #cb4b16; }\n.cm-s-solarized .CodeMirror-matchingbracket { color: #859900; }\n.cm-s-solarized .CodeMirror-nonmatchingbracket { color: #dc322f; }\n.cm-s-solarized .cm-tag { color: #93a1a1 }\n.cm-s-solarized .cm-attribute {  color: #2aa198; }\n.cm-s-solarized .cm-header { color: #586e75; }\n.cm-s-solarized .cm-quote { color: #93a1a1; }\n.cm-s-solarized .cm-hr {\n  color: transparent;\n  border-top: 1px solid #586e75;\n  display: block;\n}\n.cm-s-solarized .cm-link { color: #93a1a1; cursor: pointer; }\n.cm-s-solarized .cm-special { color: #6c71c4; }\n.cm-s-solarized .cm-em {\n  color: #999;\n  text-decoration: underline;\n  text-decoration-style: dotted;\n}\n.cm-s-solarized .cm-strong { color: #eee; }\n.cm-s-solarized .cm-error,\n.cm-s-solarized .cm-invalidchar {\n  color: #586e75;\n  border-bottom: 1px dotted #dc322f;\n}\n\n.cm-s-solarized.cm-s-dark .CodeMirror-selected { background: #073642; }\n.cm-s-solarized.cm-s-dark.CodeMirror ::selection { background: rgba(7, 54, 66, 0.99); }\n.cm-s-solarized.cm-s-dark.CodeMirror ::-moz-selection { background: rgba(7, 54, 66, 0.99); }\n\n.cm-s-solarized.cm-s-light .CodeMirror-selected { background: #eee8d5; }\n.cm-s-solarized.cm-s-light.CodeMirror ::selection { background: #eee8d5; }\n.cm-s-solarized.cm-s-lightCodeMirror ::-moz-selection { background: #eee8d5; }\n\n/* Editor styling */\n\n\n\n/* Little shadow on the view-port of the buffer view */\n.cm-s-solarized.CodeMirror {\n  -moz-box-shadow: inset 7px 0 12px -6px #000;\n  -webkit-box-shadow: inset 7px 0 12px -6px #000;\n  box-shadow: inset 7px 0 12px -6px #000;\n}\n\n/* Gutter border and some shadow from it  */\n.cm-s-solarized .CodeMirror-gutters {\n  border-right: 1px solid;\n}\n\n/* Gutter colors and line number styling based of color scheme (dark / light) */\n\n/* Dark */\n.cm-s-solarized.cm-s-dark .CodeMirror-gutters {\n  background-color:  #002b36;\n  border-color: #00232c;\n}\n\n.cm-s-solarized.cm-s-dark .CodeMirror-linenumber {\n  text-shadow: #021014 0 -1px;\n}\n\n/* Light */\n.cm-s-solarized.cm-s-light .CodeMirror-gutters {\n  background-color: #fdf6e3;\n  border-color: #eee8d5;\n}\n\n/* Common */\n.cm-s-solarized .CodeMirror-linenumber {\n  color: #586e75;\n  padding: 0 5px;\n}\n.cm-s-solarized .CodeMirror-guttermarker-subtle { color: #586e75; }\n.cm-s-solarized.cm-s-dark .CodeMirror-guttermarker { color: #ddd; }\n.cm-s-solarized.cm-s-light .CodeMirror-guttermarker { color: #cb4b16; }\n\n.cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text {\n  color: #586e75;\n}\n\n.cm-s-solarized .CodeMirror-lines .CodeMirror-cursor {\n  border-left: 1px solid #819090;\n}\n\n/*\nActive line. Negative margin compensates left padding of the text in the\nview-port\n*/\n.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background {\n  background: rgba(255, 255, 255, 0.10);\n}\n.cm-s-solarized.cm-s-light .CodeMirror-activeline-background {\n  background: rgba(0, 0, 0, 0.10);\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/the-matrix.css",
    "content": ".cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; }\n.cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; }\n.cm-s-the-matrix.CodeMirror ::selection { background: rgba(45, 45, 45, 0.99); }\n.cm-s-the-matrix.CodeMirror ::-moz-selection { background: rgba(45, 45, 45, 0.99); }\n.cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; }\n.cm-s-the-matrix .CodeMirror-guttermarker { color: #0f0; }\n.cm-s-the-matrix .CodeMirror-guttermarker-subtle { color: white; }\n.cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; }\n.cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; }\n\n.cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;}\n.cm-s-the-matrix span.cm-atom {color: #3FF;}\n.cm-s-the-matrix span.cm-number {color: #FFB94F;}\n.cm-s-the-matrix span.cm-def {color: #99C;}\n.cm-s-the-matrix span.cm-variable {color: #F6C;}\n.cm-s-the-matrix span.cm-variable-2 {color: #C6F;}\n.cm-s-the-matrix span.cm-variable-3 {color: #96F;}\n.cm-s-the-matrix span.cm-property {color: #62FFA0;}\n.cm-s-the-matrix span.cm-operator {color: #999}\n.cm-s-the-matrix span.cm-comment {color: #CCCCCC;}\n.cm-s-the-matrix span.cm-string {color: #39C;}\n.cm-s-the-matrix span.cm-meta {color: #C9F;}\n.cm-s-the-matrix span.cm-qualifier {color: #FFF700;}\n.cm-s-the-matrix span.cm-builtin {color: #30a;}\n.cm-s-the-matrix span.cm-bracket {color: #cc7;}\n.cm-s-the-matrix span.cm-tag {color: #FFBD40;}\n.cm-s-the-matrix span.cm-attribute {color: #FFF700;}\n.cm-s-the-matrix span.cm-error {color: #FF0000;}\n\n.cm-s-the-matrix .CodeMirror-activeline-background {background: #040;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/tomorrow-night-bright.css",
    "content": "/*\n\n    Name:       Tomorrow Night - Bright\n    Author:     Chris Kempson\n\n    Port done by Gerard Braad <me@gbraad.nl>\n\n*/\n\n.cm-s-tomorrow-night-bright.CodeMirror {background: #000000; color: #eaeaea;}\n.cm-s-tomorrow-night-bright div.CodeMirror-selected {background: #424242 !important;}\n.cm-s-tomorrow-night-bright .CodeMirror-gutters {background: #000000; border-right: 0px;}\n.cm-s-tomorrow-night-bright .CodeMirror-guttermarker { color: #e78c45; }\n.cm-s-tomorrow-night-bright .CodeMirror-guttermarker-subtle { color: #777; }\n.cm-s-tomorrow-night-bright .CodeMirror-linenumber {color: #424242;}\n.cm-s-tomorrow-night-bright .CodeMirror-cursor {border-left: 1px solid #6A6A6A !important;}\n\n.cm-s-tomorrow-night-bright span.cm-comment {color: #d27b53;}\n.cm-s-tomorrow-night-bright span.cm-atom {color: #a16a94;}\n.cm-s-tomorrow-night-bright span.cm-number {color: #a16a94;}\n\n.cm-s-tomorrow-night-bright span.cm-property, .cm-s-tomorrow-night-bright span.cm-attribute {color: #99cc99;}\n.cm-s-tomorrow-night-bright span.cm-keyword {color: #d54e53;}\n.cm-s-tomorrow-night-bright span.cm-string {color: #e7c547;}\n\n.cm-s-tomorrow-night-bright span.cm-variable {color: #b9ca4a;}\n.cm-s-tomorrow-night-bright span.cm-variable-2 {color: #7aa6da;}\n.cm-s-tomorrow-night-bright span.cm-def {color: #e78c45;}\n.cm-s-tomorrow-night-bright span.cm-bracket {color: #eaeaea;}\n.cm-s-tomorrow-night-bright span.cm-tag {color: #d54e53;}\n.cm-s-tomorrow-night-bright span.cm-link {color: #a16a94;}\n.cm-s-tomorrow-night-bright span.cm-error {background: #d54e53; color: #6A6A6A;}\n\n.cm-s-tomorrow-night-bright .CodeMirror-activeline-background {background: #2a2a2a !important;}\n.cm-s-tomorrow-night-bright .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/tomorrow-night-eighties.css",
    "content": "/*\n\n    Name:       Tomorrow Night - Eighties\n    Author:     Chris Kempson\n\n    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-tomorrow-night-eighties.CodeMirror {background: #000000; color: #CCCCCC;}\n.cm-s-tomorrow-night-eighties div.CodeMirror-selected {background: #2D2D2D !important;}\n.cm-s-tomorrow-night-eighties.CodeMirror ::selection { background: rgba(45, 45, 45, 0.99); }\n.cm-s-tomorrow-night-eighties.CodeMirror ::-moz-selection { background: rgba(45, 45, 45, 0.99); }\n.cm-s-tomorrow-night-eighties .CodeMirror-gutters {background: #000000; border-right: 0px;}\n.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker { color: #f2777a; }\n.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker-subtle { color: #777; }\n.cm-s-tomorrow-night-eighties .CodeMirror-linenumber {color: #515151;}\n.cm-s-tomorrow-night-eighties .CodeMirror-cursor {border-left: 1px solid #6A6A6A !important;}\n\n.cm-s-tomorrow-night-eighties span.cm-comment {color: #d27b53;}\n.cm-s-tomorrow-night-eighties span.cm-atom {color: #a16a94;}\n.cm-s-tomorrow-night-eighties span.cm-number {color: #a16a94;}\n\n.cm-s-tomorrow-night-eighties span.cm-property, .cm-s-tomorrow-night-eighties span.cm-attribute {color: #99cc99;}\n.cm-s-tomorrow-night-eighties span.cm-keyword {color: #f2777a;}\n.cm-s-tomorrow-night-eighties span.cm-string {color: #ffcc66;}\n\n.cm-s-tomorrow-night-eighties span.cm-variable {color: #99cc99;}\n.cm-s-tomorrow-night-eighties span.cm-variable-2 {color: #6699cc;}\n.cm-s-tomorrow-night-eighties span.cm-def {color: #f99157;}\n.cm-s-tomorrow-night-eighties span.cm-bracket {color: #CCCCCC;}\n.cm-s-tomorrow-night-eighties span.cm-tag {color: #f2777a;}\n.cm-s-tomorrow-night-eighties span.cm-link {color: #a16a94;}\n.cm-s-tomorrow-night-eighties span.cm-error {background: #f2777a; color: #6A6A6A;}\n\n.cm-s-tomorrow-night-eighties .CodeMirror-activeline-background {background: #343600 !important;}\n.cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/twilight.css",
    "content": ".cm-s-twilight.CodeMirror { background: #141414; color: #f7f7f7; } /**/\n.cm-s-twilight .CodeMirror-selected { background: #323232 !important; } /**/\n.cm-s-twilight.CodeMirror ::selection { background: rgba(50, 50, 50, 0.99); }\n.cm-s-twilight.CodeMirror ::-moz-selection { background: rgba(50, 50, 50, 0.99); }\n\n.cm-s-twilight .CodeMirror-gutters { background: #222; border-right: 1px solid #aaa; }\n.cm-s-twilight .CodeMirror-guttermarker { color: white; }\n.cm-s-twilight .CodeMirror-guttermarker-subtle { color: #aaa; }\n.cm-s-twilight .CodeMirror-linenumber { color: #aaa; }\n.cm-s-twilight .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-twilight .cm-keyword {  color: #f9ee98; } /**/\n.cm-s-twilight .cm-atom { color: #FC0; }\n.cm-s-twilight .cm-number { color:  #ca7841; } /**/\n.cm-s-twilight .cm-def { color: #8DA6CE; }\n.cm-s-twilight span.cm-variable-2, .cm-s-twilight span.cm-tag { color: #607392; } /**/\n.cm-s-twilight span.cm-variable-3, .cm-s-twilight span.cm-def { color: #607392; } /**/\n.cm-s-twilight .cm-operator { color: #cda869; } /**/\n.cm-s-twilight .cm-comment { color:#777; font-style:italic; font-weight:normal; } /**/\n.cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/\n.cm-s-twilight .cm-string-2 { color:#bd6b18 } /*?*/\n.cm-s-twilight .cm-meta { background-color:#141414; color:#f7f7f7; } /*?*/\n.cm-s-twilight .cm-builtin { color: #cda869; } /*?*/\n.cm-s-twilight .cm-tag { color: #997643; } /**/\n.cm-s-twilight .cm-attribute { color: #d6bb6d; } /*?*/\n.cm-s-twilight .cm-header { color: #FF6400; }\n.cm-s-twilight .cm-hr { color: #AEAEAE; }\n.cm-s-twilight .cm-link {   color:#ad9361; font-style:italic; text-decoration:none; } /**/\n.cm-s-twilight .cm-error { border-bottom: 1px solid red; }\n\n.cm-s-twilight .CodeMirror-activeline-background {background: #27282E !important;}\n.cm-s-twilight .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/vibrant-ink.css",
    "content": "/* Taken from the popular Visual Studio Vibrant Ink Schema */\n\n.cm-s-vibrant-ink.CodeMirror { background: black; color: white; }\n.cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; }\n.cm-s-vibrant-ink.CodeMirror ::selection { background: rgba(53, 73, 60, 0.99); }\n.cm-s-vibrant-ink.CodeMirror ::-moz-selection { background: rgba(53, 73, 60, 0.99); }\n\n.cm-s-vibrant-ink .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }\n.cm-s-vibrant-ink .CodeMirror-guttermarker { color: white; }\n.cm-s-vibrant-ink .CodeMirror-guttermarker-subtle { color: #d0d0d0; }\n.cm-s-vibrant-ink .CodeMirror-linenumber { color: #d0d0d0; }\n.cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-vibrant-ink .cm-keyword {  color: #CC7832; }\n.cm-s-vibrant-ink .cm-atom { color: #FC0; }\n.cm-s-vibrant-ink .cm-number { color:  #FFEE98; }\n.cm-s-vibrant-ink .cm-def { color: #8DA6CE; }\n.cm-s-vibrant-ink span.cm-variable-2, .cm-s-vibrant span.cm-tag { color: #FFC66D }\n.cm-s-vibrant-ink span.cm-variable-3, .cm-s-vibrant span.cm-def { color: #FFC66D }\n.cm-s-vibrant-ink .cm-operator { color: #888; }\n.cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; }\n.cm-s-vibrant-ink .cm-string { color:  #A5C25C }\n.cm-s-vibrant-ink .cm-string-2 { color: red }\n.cm-s-vibrant-ink .cm-meta { color: #D8FA3C; }\n.cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; }\n.cm-s-vibrant-ink .cm-tag { color: #8DA6CE; }\n.cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; }\n.cm-s-vibrant-ink .cm-header { color: #FF6400; }\n.cm-s-vibrant-ink .cm-hr { color: #AEAEAE; }\n.cm-s-vibrant-ink .cm-link { color: blue; }\n.cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; }\n\n.cm-s-vibrant-ink .CodeMirror-activeline-background {background: #27282E !important;}\n.cm-s-vibrant-ink .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/xq-dark.css",
    "content": "/*\nCopyright (C) 2011 by MarkLogic Corporation\nAuthor: Mike Brevoort <mike@brevoort.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*/\n.cm-s-xq-dark.CodeMirror { background: #0a001f; color: #f8f8f8; }\n.cm-s-xq-dark .CodeMirror-selected { background: #27007A !important; }\n.cm-s-xq-dark.CodeMirror ::selection { background: rgba(39, 0, 122, 0.99); }\n.cm-s-xq-dark.CodeMirror ::-moz-selection { background: rgba(39, 0, 122, 0.99); }\n.cm-s-xq-dark .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }\n.cm-s-xq-dark .CodeMirror-guttermarker { color: #FFBD40; }\n.cm-s-xq-dark .CodeMirror-guttermarker-subtle { color: #f8f8f8; }\n.cm-s-xq-dark .CodeMirror-linenumber { color: #f8f8f8; }\n.cm-s-xq-dark .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-xq-dark span.cm-keyword {color: #FFBD40;}\n.cm-s-xq-dark span.cm-atom {color: #6C8CD5;}\n.cm-s-xq-dark span.cm-number {color: #164;}\n.cm-s-xq-dark span.cm-def {color: #FFF; text-decoration:underline;}\n.cm-s-xq-dark span.cm-variable {color: #FFF;}\n.cm-s-xq-dark span.cm-variable-2 {color: #EEE;}\n.cm-s-xq-dark span.cm-variable-3 {color: #DDD;}\n.cm-s-xq-dark span.cm-property {}\n.cm-s-xq-dark span.cm-operator {}\n.cm-s-xq-dark span.cm-comment {color: gray;}\n.cm-s-xq-dark span.cm-string {color: #9FEE00;}\n.cm-s-xq-dark span.cm-meta {color: yellow;}\n.cm-s-xq-dark span.cm-qualifier {color: #FFF700;}\n.cm-s-xq-dark span.cm-builtin {color: #30a;}\n.cm-s-xq-dark span.cm-bracket {color: #cc7;}\n.cm-s-xq-dark span.cm-tag {color: #FFBD40;}\n.cm-s-xq-dark span.cm-attribute {color: #FFF700;}\n.cm-s-xq-dark span.cm-error {color: #f00;}\n\n.cm-s-xq-dark .CodeMirror-activeline-background {background: #27282E !important;}\n.cm-s-xq-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/xq-light.css",
    "content": "/*\nCopyright (C) 2011 by MarkLogic Corporation\nAuthor: Mike Brevoort <mike@brevoort.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*/\n.cm-s-xq-light span.cm-keyword {line-height: 1em; font-weight: bold; color: #5A5CAD; }\n.cm-s-xq-light span.cm-atom {color: #6C8CD5;}\n.cm-s-xq-light span.cm-number {color: #164;}\n.cm-s-xq-light span.cm-def {text-decoration:underline;}\n.cm-s-xq-light span.cm-variable {color: black; }\n.cm-s-xq-light span.cm-variable-2 {color:black;}\n.cm-s-xq-light span.cm-variable-3 {color: black; }\n.cm-s-xq-light span.cm-property {}\n.cm-s-xq-light span.cm-operator {}\n.cm-s-xq-light span.cm-comment {color: #0080FF; font-style: italic;}\n.cm-s-xq-light span.cm-string {color: red;}\n.cm-s-xq-light span.cm-meta {color: yellow;}\n.cm-s-xq-light span.cm-qualifier {color: grey}\n.cm-s-xq-light span.cm-builtin {color: #7EA656;}\n.cm-s-xq-light span.cm-bracket {color: #cc7;}\n.cm-s-xq-light span.cm-tag {color: #3F7F7F;}\n.cm-s-xq-light span.cm-attribute {color: #7F007F;}\n.cm-s-xq-light span.cm-error {color: #f00;}\n\n.cm-s-xq-light .CodeMirror-activeline-background {background: #e8f2ff !important;}\n.cm-s-xq-light .CodeMirror-matchingbracket {outline:1px solid grey;color:black !important;background:yellow;}"
  },
  {
    "path": "src/main/resources/static/lib/editormd/lib/codemirror/theme/zenburn.css",
    "content": "/**\n * \"\n *  Using Zenburn color palette from the Emacs Zenburn Theme\n *  https://github.com/bbatsov/zenburn-emacs/blob/master/zenburn-theme.el\n *\n *  Also using parts of https://github.com/xavi/coderay-lighttable-theme\n * \"\n * From: https://github.com/wisenomad/zenburn-lighttable-theme/blob/master/zenburn.css\n */\n\n.cm-s-zenburn .CodeMirror-gutters { background: #3f3f3f !important; }\n.cm-s-zenburn .CodeMirror-foldgutter-open, .CodeMirror-foldgutter-folded { color: #999; }\n.cm-s-zenburn .CodeMirror-cursor { border-left: 1px solid white !important; }\n.cm-s-zenburn { background-color: #3f3f3f; color: #dcdccc; }\n.cm-s-zenburn span.cm-builtin { color: #dcdccc; font-weight: bold; }\n.cm-s-zenburn span.cm-comment { color: #7f9f7f; }\n.cm-s-zenburn span.cm-keyword { color: #f0dfaf; font-weight: bold; }\n.cm-s-zenburn span.cm-atom { color: #bfebbf; }\n.cm-s-zenburn span.cm-def { color: #dcdccc; }\n.cm-s-zenburn span.cm-variable { color: #dfaf8f; }\n.cm-s-zenburn span.cm-variable-2 { color: #dcdccc; }\n.cm-s-zenburn span.cm-string { color: #cc9393; }\n.cm-s-zenburn span.cm-string-2 { color: #cc9393; }\n.cm-s-zenburn span.cm-number { color: #dcdccc; }\n.cm-s-zenburn span.cm-tag { color: #93e0e3; }\n.cm-s-zenburn span.cm-property { color: #dfaf8f; }\n.cm-s-zenburn span.cm-attribute { color: #dfaf8f; }\n.cm-s-zenburn span.cm-qualifier { color: #7cb8bb; }\n.cm-s-zenburn span.cm-meta { color: #f0dfaf; }\n.cm-s-zenburn span.cm-header { color: #f0efd0; }\n.cm-s-zenburn span.cm-operator { color: #f0efd0; }\n.cm-s-zenburn span.CodeMirror-matchingbracket { box-sizing: border-box; background: transparent; border-bottom: 1px solid; }\n.cm-s-zenburn span.CodeMirror-nonmatchingbracket { border-bottom: 1px solid; background: none; }\n.cm-s-zenburn .CodeMirror-activeline { background: #000000; }\n.cm-s-zenburn .CodeMirror-activeline-background { background: #000000; }\n.cm-s-zenburn .CodeMirror-selected { background: #545454; }\n.cm-s-zenburn .CodeMirror-focused .CodeMirror-selected { background: #4f4f4f; }\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/code-block-dialog/code-block-dialog.js",
    "content": "/*!\n * Code block dialog plugin for Editor.md\n *\n * @file        code-block-dialog.js\n * @author      pandao\n * @version     1.2.0\n * @updateTime  2015-03-07\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n    var factory = function (exports) {\n\t\tvar cmEditor;\n\t\tvar pluginName    = \"code-block-dialog\";\n    \n\t\t// for CodeBlock dialog select\n\t\tvar codeLanguages = exports.codeLanguages = {\n\t\t\tasp           : [\"ASP\", \"vbscript\"],\n\t\t\tactionscript  : [\"ActionScript(3.0)/Flash/Flex\", \"clike\"],\n\t\t\tbash          : [\"Bash/Bat\", \"shell\"],\n\t\t\tcss           : [\"CSS\", \"css\"],\n\t\t\tc             : [\"C\", \"clike\"],\n\t\t\tcpp           : [\"C++\", \"clike\"],\n\t\t\tcsharp        : [\"C#\", \"clike\"],\n\t\t\tcoffeescript  : [\"CoffeeScript\", \"coffeescript\"],\n\t\t\td             : [\"D\", \"d\"],\n\t\t\tdart          : [\"Dart\", \"dart\"],\n\t\t\tdelphi        : [\"Delphi/Pascal\", \"pascal\"],\n\t\t\terlang        : [\"Erlang\", \"erlang\"],\n\t\t\tgo            : [\"Golang\", \"go\"],\n\t\t\tgroovy        : [\"Groovy\", \"groovy\"],\n\t\t\thtml          : [\"HTML\", \"text/html\"],\n\t\t\tjava          : [\"Java\", \"clike\"],\n\t\t\tjson          : [\"JSON\", \"text/json\"],\n\t\t\tjavascript    : [\"Javascript\", \"javascript\"],\n\t\t\tlua           : [\"Lua\", \"lua\"],\n\t\t\tless          : [\"LESS\", \"css\"],\n\t\t\tmarkdown      : [\"Markdown\", \"gfm\"],\n\t\t\t\"objective-c\" : [\"Objective-C\", \"clike\"],\n\t\t\tphp           : [\"PHP\", \"php\"],\n\t\t\tperl          : [\"Perl\", \"perl\"],\n\t\t\tpython        : [\"Python\", \"python\"],\n\t\t\tr             : [\"R\", \"r\"],\n\t\t\trst           : [\"reStructedText\", \"rst\"],\n\t\t\truby          : [\"Ruby\", \"ruby\"],\n\t\t\tsql           : [\"SQL\", \"sql\"],\n\t\t\tsass          : [\"SASS/SCSS\", \"sass\"],\n\t\t\tshell         : [\"Shell\", \"shell\"],\n\t\t\tscala         : [\"Scala\", \"clike\"],\n\t\t\tswift         : [\"Swift\", \"clike\"],\n\t\t\tvb            : [\"VB/VBScript\", \"vb\"],\n\t\t\txml           : [\"XML\", \"text/xml\"],\n\t\t\tyaml          : [\"YAML\", \"yaml\"]\n\t\t};\n\n\t\texports.fn.codeBlockDialog = function() {\n\n\t\t\tvar _this       = this;\n            var cm          = this.cm;\n            var lang        = this.lang;\n            var editor      = this.editor;\n            var settings    = this.settings;\n            var cursor      = cm.getCursor();\n            var selection   = cm.getSelection();\n            var classPrefix = this.classPrefix;\n\t\t\tvar dialogName  = classPrefix + pluginName, dialog;\n\t\t\tvar dialogLang  = lang.dialog.codeBlock;\n\n\t\t\tcm.focus();\n\n            if (editor.find(\".\" + dialogName).length > 0)\n            {\n                dialog = editor.find(\".\" + dialogName);\n                dialog.find(\"option:first\").attr(\"selected\", \"selected\");\n                dialog.find(\"textarea\").val(selection);\n\n                this.dialogShowMask(dialog);\n                this.dialogLockScreen();\n                dialog.show();\n            }\n            else \n            {      \n                var dialogHTML = \"<div class=\\\"\" + classPrefix + \"code-toolbar\\\">\" +\n                                        dialogLang.selectLabel + \"<select><option selected=\\\"selected\\\" value=\\\"\\\">\" + dialogLang.selectDefaultText + \"</option></select>\" +\n                                    \"</div>\" +\n                                    \"<textarea placeholder=\\\"coding now....\\\" style=\\\"display:none;\\\">\" + selection + \"</textarea>\";\n\n                dialog = this.createDialog({\n                    name   : dialogName,\n                    title  : dialogLang.title,\n                    width  : 780,\n                    height : 565,\n                    mask   : settings.dialogShowMask,\n                    drag   : settings.dialogDraggable,\n                    content    : dialogHTML,\n                    lockScreen : settings.dialogLockScreen,\n                    maskStyle  : {\n                        opacity         : settings.dialogMaskOpacity,\n                        backgroundColor : settings.dialogMaskBgColor\n                    },\n                    buttons : {\n                        enter  : [lang.buttons.enter, function() {\n                            var codeTexts  = this.find(\"textarea\").val();\n                            var langName   = this.find(\"select\").val();\n\n                            if (langName === \"\")\n                            {\n                                alert(lang.dialog.codeBlock.unselectedLanguageAlert);\n                                return false;\n                            }\n\n                            if (codeTexts === \"\")\n                            {\n                                alert(lang.dialog.codeBlock.codeEmptyAlert);\n                                return false;\n                            }\n\n                            langName = (langName === \"other\") ? \"\" : langName;\n\n                            cm.replaceSelection([\"```\" + langName, codeTexts, \"```\"].join(\"\\n\"));\n\n                            if (langName === \"\") {\n                                cm.setCursor(cursor.line, cursor.ch + 3);\n                            }\n\n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }],\n                        cancel : [lang.buttons.cancel, function() {                                   \n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }]\n                    }\n                });\n            }\n\n\t\t\tvar langSelect = dialog.find(\"select\");\n\n\t\t\tif (langSelect.find(\"option\").length === 1) \n\t\t\t{\n\t\t\t\tfor (var key in codeLanguages)\n\t\t\t\t{\n\t\t\t\t\tvar codeLang = codeLanguages[key];\n\t\t\t\t\tlangSelect.append(\"<option value=\\\"\" + key + \"\\\" mode=\\\"\" + codeLang[1] + \"\\\">\" + codeLang[0] + \"</option>\");\n\t\t\t\t}\n\n\t\t\t\tlangSelect.append(\"<option value=\\\"other\\\">\" + dialogLang.otherLanguage + \"</option>\");\n\t\t\t}\n\t\t\t\n\t\t\tvar mode   = langSelect.find(\"option:selected\").attr(\"mode\");\n\t\t\n\t\t\tvar cmConfig = {\n\t\t\t\tmode                      : (mode) ? mode : \"text/html\",\n\t\t\t\ttheme                     : settings.theme,\n\t\t\t\ttabSize                   : 4,\n\t\t\t\tautofocus                 : true,\n\t\t\t\tautoCloseTags             : true,\n\t\t\t\tindentUnit                : 4,\n\t\t\t\tlineNumbers               : true,\n\t\t\t\tlineWrapping              : true,\n\t\t\t\textraKeys                 : {\"Ctrl-Q\": function(cm){ cm.foldCode(cm.getCursor()); }},\n\t\t\t\tfoldGutter                : true,\n\t\t\t\tgutters                   : [\"CodeMirror-linenumbers\", \"CodeMirror-foldgutter\"],\n\t\t\t\tmatchBrackets             : true,\n\t\t\t\tindentWithTabs            : true,\n\t\t\t\tstyleActiveLine           : true,\n\t\t\t\tstyleSelectedText         : true,\n\t\t\t\tautoCloseBrackets         : true,\n\t\t\t\tshowTrailingSpace         : true,\n\t\t\t\thighlightSelectionMatches : true\n\t\t\t};\n\t\t\t\n\t\t\tvar textarea = dialog.find(\"textarea\");\n\t\t\tvar cmObj    = dialog.find(\".CodeMirror\");\n\n\t\t\tif (dialog.find(\".CodeMirror\").length < 1) \n\t\t\t{\n\t\t\t\tcmEditor = exports.$CodeMirror.fromTextArea(textarea[0], cmConfig);\n\t\t\t\tcmObj    = dialog.find(\".CodeMirror\");\n\n\t\t\t\tcmObj.css({\n\t\t\t\t\t\"float\"   : \"none\", \n\t\t\t\t\tmargin    : \"8px 0\",\n\t\t\t\t\tborder    : \"1px solid #ddd\",\n\t\t\t\t\tfontSize  : settings.fontSize,\n\t\t\t\t\twidth     : \"100%\",\n\t\t\t\t\theight    : \"390px\"\n\t\t\t\t});\n\n\t\t\t\tcmEditor.on(\"change\", function(cm) {\n\t\t\t\t\ttextarea.val(cm.getValue());\n\t\t\t\t});\n\t\t\t} \n\t\t\telse \n\t\t\t{\n\n\t\t\t\tcmEditor.setValue(cm.getSelection());\n\t\t\t}\n\n\t\t\tlangSelect.change(function(){\n\t\t\t\tvar _mode = $(this).find(\"option:selected\").attr(\"mode\");\n\t\t\t\tcmEditor.setOption(\"mode\", _mode);\n\t\t\t});\n\t\t};\n\n\t};\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/emoji-dialog/emoji-dialog.js",
    "content": "/*!\n * Emoji dialog plugin for Editor.md\n *\n * @file        emoji-dialog.js\n * @author      pandao\n * @version     1.2.0\n * @updateTime  2015-03-08\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n\tvar factory = function (exports) {\n\n\t\tvar $             = jQuery;\n\t\tvar pluginName    = \"emoji-dialog\";\n\t\tvar emojiTabIndex = 0;\n\t\tvar emojiData     = [];\n        var selecteds     = [];\n\n\t\tvar logoPrefix    = \"editormd-logo\";\n\t\tvar logos         = [\n\t\t\tlogoPrefix,\n\t\t\tlogoPrefix + \"-1x\",\n\t\t\tlogoPrefix + \"-2x\",\n\t\t\tlogoPrefix + \"-3x\",\n\t\t\tlogoPrefix + \"-4x\",\n\t\t\tlogoPrefix + \"-5x\",\n\t\t\tlogoPrefix + \"-6x\",\n\t\t\tlogoPrefix + \"-7x\",\n\t\t\tlogoPrefix + \"-8x\"\n\t\t];\n\n\t\tvar langs = {\n\t\t\t\"zh-cn\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\temoji : \"Emoji 表情\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\temoji : {\n\t\t\t\t\t\ttitle : \"Emoji 表情\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"zh-tw\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\temoji : \"Emoji 表情\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\temoji : {\n\t\t\t\t\t\ttitle : \"Emoji 表情\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"en\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\temoji : \"Emoji\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\temoji : {\n\t\t\t\t\t\ttitle : \"Emoji\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\texports.fn.emojiDialog = function() {\n\t\t\tvar _this       = this;\n\t\t\tvar cm          = this.cm;\n\t\t\tvar settings    = _this.settings;\n            \n            if (!settings.emoji)\n            {\n                alert(\"settings.emoji == false\");\n                return ;\n            }\n            \n\t\t\tvar path        = settings.pluginPath + pluginName + \"/\";\n\t\t\tvar editor      = this.editor;\n\t\t\tvar cursor      = cm.getCursor();\n\t\t\tvar selection   = cm.getSelection();\n\t\t\tvar classPrefix = this.classPrefix;\n\n\t\t\t$.extend(true, this.lang, langs[this.lang.name]);\n\t\t\tthis.setToolbar();\n\n\t\t\tvar lang        = this.lang;\n\t\t\tvar dialogName  = classPrefix + pluginName, dialog;\n\t\t\tvar dialogLang  = lang.dialog.emoji;\n\t\t\t\n\t\t\tvar dialogContent = [\n\t\t\t\t\"<div class=\\\"\" + classPrefix + \"emoji-dialog-box\\\" style=\\\"width: 760px;height: 334px;margin-bottom: 8px;overflow: hidden;\\\">\",\n\t\t\t\t\"<div class=\\\"\" + classPrefix + \"tab\\\"></div>\",\n\t\t\t\t\"</div>\",\n\t\t\t].join(\"\\n\");\n\n\t\t\tcm.focus();\n\n\t\t\tif (editor.find(\".\" + dialogName).length > 0) \n\t\t\t{\n                dialog = editor.find(\".\" + dialogName);\n\n\t\t\t\tselecteds = [];\n\t\t\t\tdialog.find(\"a\").removeClass(\"selected\");\n\n\t\t\t\tthis.dialogShowMask(dialog);\n\t\t\t\tthis.dialogLockScreen();\n\t\t\t\tdialog.show();\n\t\t\t} \n\t\t\telse\n\t\t\t{\n\t\t\t\tdialog = this.createDialog({\n\t\t\t\t\tname       : dialogName,\n\t\t\t\t\ttitle      : dialogLang.title,\n\t\t\t\t\twidth      : 800,\n\t\t\t\t\theight     : 475,\n\t\t\t\t\tmask       : settings.dialogShowMask,\n\t\t\t\t\tdrag       : settings.dialogDraggable,\n\t\t\t\t\tcontent    : dialogContent,\n\t\t\t\t\tlockScreen : settings.dialogLockScreen,\n\t\t\t\t\tmaskStyle  : {\n\t\t\t\t\t\topacity         : settings.dialogMaskOpacity,\n\t\t\t\t\t\tbackgroundColor : settings.dialogMaskBgColor\n\t\t\t\t\t},\n\t\t\t\t\tbuttons    : {\n\t\t\t\t\t\tenter  : [lang.buttons.enter, function() {\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tcm.replaceSelection(selecteds.join(\" \"));\n\t\t\t\t\t\t\tthis.hide().lockScreen(false).hideMask();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}],\n\t\t\t\t\t\tcancel : [lang.buttons.cancel, function() {                           \n\t\t\t\t\t\t\tthis.hide().lockScreen(false).hideMask();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\t\n\t\t\tvar category = [\"Github emoji\", \"Twemoji\", \"Font awesome\", \"Editor.md logo\"];\n\t\t\tvar tab      = dialog.find(\".\" + classPrefix + \"tab\");\n\n\t\t\tif (tab.html() === \"\") \n\t\t\t{\n\t\t\t\tvar head = \"<ul class=\\\"\" + classPrefix + \"tab-head\\\">\";\n\n\t\t\t\tfor (var i = 0; i<4; i++) {\n\t\t\t\t\tvar active = (i === 0) ? \" class=\\\"active\\\"\" : \"\";\n\t\t\t\t\thead += \"<li\" + active + \"><a href=\\\"javascript:;\\\">\" + category[i] + \"</a></li>\";\n\t\t\t\t}\n\n\t\t\t\thead += \"</ul>\";\n\n\t\t\t\ttab.append(head);\n\n\t\t\t\tvar container = \"<div class=\\\"\" + classPrefix + \"tab-container\\\">\";\n\n\t\t\t\tfor (var x = 0; x < 4; x++) \n                {\n\t\t\t\t\tvar display = (x === 0) ? \"\" : \"display:none;\";\n\t\t\t\t\tcontainer += \"<div class=\\\"\" + classPrefix + \"tab-box\\\" style=\\\"height: 260px;overflow: hidden;overflow-y: auto;\" + display + \"\\\"></div>\";\n\t\t\t\t}\n\n\t\t\t\tcontainer += \"</div>\";\n\n\t\t\t\ttab.append(container);  \n\t\t\t}\n            \n\t\t\tvar tabBoxs = tab.find(\".\" + classPrefix + \"tab-box\");\n            var emojiCategories = [\"github-emoji\", \"twemoji\", \"font-awesome\", logoPrefix];\n\n\t\t\tvar drawTable = function() {\n                var cname = emojiCategories[emojiTabIndex];\n\t\t\t\tvar $data = emojiData[cname];\n                var $tab  = tabBoxs.eq(emojiTabIndex);\n\n\t\t\t\tif ($tab.html() !== \"\") {\n                    //console.log(\"break =>\", cname);\n                    return ;\n                }\n                \n                var pagination = function(data, type) {\n                    var rowNumber = (type === \"editormd-logo\") ? \"5\" : 20;\n                    var pageTotal = Math.ceil(data.length / rowNumber);\n                    var table     = \"<div class=\\\"\" + classPrefix + \"grid-table\\\">\";\n\n                    for (var i = 0; i < pageTotal; i++)\n                    {\n                        var row = \"<div class=\\\"\" + classPrefix + \"grid-table-row\\\">\";\n\n                        for (var x = 0; x < rowNumber; x++)\n                        {\n                            var emoji = $.trim(data[(i * rowNumber) + x]);\n                            \n                            if (typeof emoji !== \"undefined\" && emoji !== \"\")\n                            {\n                                var img = \"\", icon = \"\";\n                                \n                                if (type === \"github-emoji\")\n                                {\n                                    var src = (emoji === \"+1\") ? \"plus1\" : emoji;\n                                    src     = (src === \"black_large_square\") ? \"black_square\" : src;\n                                    src     = (src === \"moon\") ? \"waxing_gibbous_moon\" : src;\n                                    \n                                    src     = exports.emoji.path + src + exports.emoji.ext;\n                                    img     = \"<img src=\\\"\" + src + \"\\\" width=\\\"24\\\" class=\\\"emoji\\\" title=\\\"&#58;\" + emoji + \"&#58;\\\" alt=\\\"&#58;\" + emoji + \"&#58;\\\" />\";\n                                    row += \"<a href=\\\"javascript:;\\\" value=\\\":\" + emoji + \":\\\" title=\\\":\" + emoji + \":\\\" class=\\\"\" + classPrefix + \"emoji-btn\\\">\" + img + \"</a>\";\n                                }\n                                else if (type === \"twemoji\")\n                                {\n                                    var twemojiSrc = exports.twemoji.path + emoji + exports.twemoji.ext;\n                                    img = \"<img src=\\\"\" + twemojiSrc + \"\\\" width=\\\"24\\\" title=\\\"twemoji-\" + emoji + \"\\\" alt=\\\"twemoji-\" + emoji + \"\\\" class=\\\"emoji twemoji\\\" />\";\n                                    row += \"<a href=\\\"javascript:;\\\" value=\\\":tw-\" + emoji + \":\\\" title=\\\":tw-\" + emoji + \":\\\" class=\\\"\" + classPrefix + \"emoji-btn\\\">\" + img + \"</a>\";\n                                }\n                                else if (type === \"font-awesome\")\n                                {\n                                    icon = \"<i class=\\\"fa fa-\" + emoji + \" fa-emoji\\\" title=\\\"\" + emoji + \"\\\"></i>\";\n                                    row += \"<a href=\\\"javascript:;\\\" value=\\\":fa-\" + emoji + \":\\\" title=\\\":fa-\" + emoji + \":\\\" class=\\\"\" + classPrefix + \"emoji-btn\\\">\" + icon + \"</a>\";\n                                }\n                                else if (type === \"editormd-logo\")\n                                {\n                                    icon = \"<i class=\\\"\" + emoji + \"\\\" title=\\\"Editor.md logo (\" + emoji + \")\\\"></i>\";\n                                    row += \"<a href=\\\"javascript:;\\\" value=\\\":\" + emoji + \":\\\" title=\\\":\" + emoji + \":\\\" style=\\\"width:20%;\\\" class=\\\"\" + classPrefix + \"emoji-btn\\\">\" + icon + \"</a>\";\n                                }\n                            }\n                            else\n                            {\n                                row += \"<a href=\\\"javascript:;\\\" value=\\\"\\\"></a>\";                        \n                            }\n                        }\n\n                        row += \"</div>\";\n\n                        table += row;\n                    }\n\n                    table += \"</div>\";\n                    \n                    return table;\n                };\n                \n                if (emojiTabIndex === 0)\n                {\n                    for (var i = 0, len = $data.length; i < len; i++)\n                    {\n                        var h4Style = (i === 0) ? \" style=\\\"margin: 0 0 10px;\\\"\" : \" style=\\\"margin: 10px 0;\\\"\";\n                        $tab.append(\"<h4\" + h4Style + \">\" + $data[i].category + \"</h4>\");\n                        $tab.append(pagination($data[i].list, cname));\n                    }\n                }\n                else\n                {\n                    $tab.append(pagination($data, cname));\n                }\n\n\t\t\t\t$tab.find(\".\" + classPrefix + \"emoji-btn\").bind(exports.mouseOrTouch(\"click\", \"touchend\"), function() {\n\t\t\t\t\t$(this).toggleClass(\"selected\");\n\n\t\t\t\t\tif ($(this).hasClass(\"selected\")) \n\t\t\t\t\t{\n\t\t\t\t\t\tselecteds.push($(this).attr(\"value\"));\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t};\n\t\t\t\n\t\t\tif (emojiData.length < 1) \n\t\t\t{            \n\t\t\t\tif (typeof dialog.loading === \"function\") {\n                    dialog.loading(true);\n                }\n\n\t\t\t\t$.getJSON(path + \"emoji.json?temp=\" + Math.random(), function(json) {\n\n\t\t\t\t\tif (typeof dialog.loading === \"function\") {\n                        dialog.loading(false);\n                    }\n\n\t\t\t\t\temojiData = json;\n                    emojiData[logoPrefix] = logos;\n\t\t\t\t\tdrawTable();\n\t\t\t\t});\n\t\t\t} \n\t\t\telse \n\t\t\t{\n\t\t\t\tdrawTable();\n\t\t\t}\n\n\t\t\ttab.find(\"li\").bind(exports.mouseOrTouch(\"click\", \"touchend\"), function() {\n\t\t\t\tvar $this     = $(this);\n\t\t\t\temojiTabIndex = $this.index();\n\n\t\t\t\t$this.addClass(\"active\").siblings().removeClass(\"active\");\n\t\t\t\ttabBoxs.eq(emojiTabIndex).show().siblings().hide();\n\t\t\t\tdrawTable();\n\t\t\t});\n\t\t};\n\n\t};\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/emoji-dialog/emoji.json",
    "content": "{\n\t\"github-emoji\" : [\n\t\t{\n\t\t\t\"category\" :\"People\",\n\t\t\t\"list\" : [\"bowtie\",\"smile\",\"laughing\",\"blush\",\"smiley\",\"relaxed\",\"smirk\",\"heart_eyes\",\"kissing_heart\",\"kissing_closed_eyes\",\"flushed\",\"relieved\",\"satisfied\",\"grin\",\"wink\",\"stuck_out_tongue_winking_eye\",\"stuck_out_tongue_closed_eyes\",\"grinning\",\"kissing\",\"kissing_smiling_eyes\",\"stuck_out_tongue\",\"sleeping\",\"worried\",\"frowning\",\"anguished\",\"open_mouth\",\"grimacing\",\"confused\",\"hushed\",\"expressionless\",\"unamused\",\"sweat_smile\",\"sweat\",\"disappointed_relieved\",\"weary\",\"pensive\",\"disappointed\",\"confounded\",\"fearful\",\"cold_sweat\",\"persevere\",\"cry\",\"sob\",\"joy\",\"astonished\",\"scream\",\"neckbeard\",\"tired_face\",\"angry\",\"rage\",\"triumph\",\"sleepy\",\"yum\",\"mask\",\"sunglasses\",\"dizzy_face\",\"imp\",\"smiling_imp\",\"neutral_face\",\"no_mouth\",\"innocent\",\"alien\",\"yellow_heart\",\"blue_heart\",\"purple_heart\",\"heart\",\"green_heart\",\"broken_heart\",\"heartbeat\",\"heartpulse\",\"two_hearts\",\"revolving_hearts\",\"cupid\",\"sparkling_heart\",\"sparkles\",\"star\",\"star2\",\"dizzy\",\"boom\",\"collision\",\"anger\",\"exclamation\",\"question\",\"grey_exclamation\",\"grey_question\",\"zzz\",\"dash\",\"sweat_drops\",\"notes\",\"musical_note\",\"fire\",\"hankey\",\"poop\",\"shit\",\"+1\",\"thumbsup\",\"-1\",\"thumbsdown\",\"ok_hand\",\"punch\",\"facepunch\",\"fist\",\"v\",\"wave\",\"hand\",\"raised_hand\",\"open_hands\",\"point_up\",\"point_down\",\"point_left\",\"point_right\",\"raised_hands\",\"pray\",\"point_up_2\",\"clap\",\"muscle\",\"metal\",\"fu\",\"walking\",\"runner\",\"running\",\"couple\",\"family\",\"two_men_holding_hands\",\"two_women_holding_hands\",\"dancer\",\"dancers\",\"ok_woman\",\"no_good\",\"information_desk_person\",\"raising_hand\",\"bride_with_veil\",\"person_with_pouting_face\",\"person_frowning\",\"bow\",\"couplekiss\",\"couple_with_heart\",\"massage\",\"haircut\",\"nail_care\",\"boy\",\"girl\",\"woman\",\"man\",\"baby\",\"older_woman\",\"older_man\",\"person_with_blond_hair\",\"man_with_gua_pi_mao\",\"man_with_turban\",\"construction_worker\",\"cop\",\"angel\",\"princess\",\"smiley_cat\",\"smile_cat\",\"heart_eyes_cat\",\"kissing_cat\",\"smirk_cat\",\"scream_cat\",\"crying_cat_face\",\"joy_cat\",\"pouting_cat\",\"japanese_ogre\",\"japanese_goblin\",\"see_no_evil\",\"hear_no_evil\",\"speak_no_evil\",\"guardsman\",\"skull\",\"feet\",\"lips\",\"kiss\",\"droplet\",\"ear\",\"eyes\",\"nose\",\"tongue\",\"love_letter\",\"bust_in_silhouette\",\"busts_in_silhouette\",\"speech_balloon\",\"thought_balloon\",\"feelsgood\",\"finnadie\",\"goberserk\",\"godmode\",\"hurtrealbad\",\"rage1\",\"rage2\",\"rage3\",\"rage4\",\"suspect\",\"trollface\"]\n\t\t},\n\t\t{\n\t\t\t\"category\" :\"Nature\",\n\t\t\t\"list\" : [\"sunny\",\"umbrella\",\"cloud\",\"snowflake\",\"snowman\",\"zap\",\"cyclone\",\"foggy\",\"ocean\",\"cat\",\"dog\",\"mouse\",\"hamster\",\"rabbit\",\"wolf\",\"frog\",\"tiger\",\"koala\",\"bear\",\"pig\",\"pig_nose\",\"cow\",\"boar\",\"monkey_face\",\"monkey\",\"horse\",\"racehorse\",\"camel\",\"sheep\",\"elephant\",\"panda_face\",\"snake\",\"bird\",\"baby_chick\",\"hatched_chick\",\"hatching_chick\",\"chicken\",\"penguin\",\"turtle\",\"bug\",\"honeybee\",\"ant\",\"beetle\",\"snail\",\"octopus\",\"tropical_fish\",\"fish\",\"whale\",\"whale2\",\"dolphin\",\"cow2\",\"ram\",\"rat\",\"water_buffalo\",\"tiger2\",\"rabbit2\",\"dragon\",\"goat\",\"rooster\",\"dog2\",\"pig2\",\"mouse2\",\"ox\",\"dragon_face\",\"blowfish\",\"crocodile\",\"dromedary_camel\",\"leopard\",\"cat2\",\"poodle\",\"paw_prints\",\"bouquet\",\"cherry_blossom\",\"tulip\",\"four_leaf_clover\",\"rose\",\"sunflower\",\"hibiscus\",\"maple_leaf\",\"leaves\",\"fallen_leaf\",\"herb\",\"mushroom\",\"cactus\",\"palm_tree\",\"evergreen_tree\",\"deciduous_tree\",\"chestnut\",\"seedling\",\"blossom\",\"ear_of_rice\",\"shell\",\"globe_with_meridians\",\"sun_with_face\",\"full_moon_with_face\",\"new_moon_with_face\",\"new_moon\",\"waxing_crescent_moon\",\"first_quarter_moon\",\"waxing_gibbous_moon\",\"full_moon\",\"waning_gibbous_moon\",\"last_quarter_moon\",\"waning_crescent_moon\",\"last_quarter_moon_with_face\",\"first_quarter_moon_with_face\",\"moon\",\"earth_africa\",\"earth_americas\",\"earth_asia\",\"volcano\",\"milky_way\",\"partly_sunny\",\"octocat\",\"squirrel\"]\n\t\t},\n\t\t{\n\t\t\t\"category\" :\"Objects\",\n\t\t\t\"list\" : [\"bamboo\",\"gift_heart\",\"dolls\",\"school_satchel\",\"mortar_board\",\"flags\",\"fireworks\",\"sparkler\",\"wind_chime\",\"rice_scene\",\"jack_o_lantern\",\"ghost\",\"santa\",\"christmas_tree\",\"gift\",\"bell\",\"no_bell\",\"tanabata_tree\",\"tada\",\"confetti_ball\",\"balloon\",\"crystal_ball\",\"cd\",\"dvd\",\"floppy_disk\",\"camera\",\"video_camera\",\"movie_camera\",\"computer\",\"tv\",\"iphone\",\"phone\",\"telephone\",\"telephone_receiver\",\"pager\",\"fax\",\"minidisc\",\"vhs\",\"sound\",\"speaker\",\"mute\",\"loudspeaker\",\"mega\",\"hourglass\",\"hourglass_flowing_sand\",\"alarm_clock\",\"watch\",\"radio\",\"satellite\",\"loop\",\"mag\",\"mag_right\",\"unlock\",\"lock\",\"lock_with_ink_pen\",\"closed_lock_with_key\",\"key\",\"bulb\",\"flashlight\",\"high_brightness\",\"low_brightness\",\"electric_plug\",\"battery\",\"calling\",\"email\",\"mailbox\",\"postbox\",\"bath\",\"bathtub\",\"shower\",\"toilet\",\"wrench\",\"nut_and_bolt\",\"hammer\",\"seat\",\"moneybag\",\"yen\",\"dollar\",\"pound\",\"euro\",\"credit_card\",\"money_with_wings\",\"e-mail\",\"inbox_tray\",\"outbox_tray\",\"envelope\",\"incoming_envelope\",\"postal_horn\",\"mailbox_closed\",\"mailbox_with_mail\",\"mailbox_with_no_mail\",\"package\",\"door\",\"smoking\",\"bomb\",\"gun\",\"hocho\",\"pill\",\"syringe\",\"page_facing_up\",\"page_with_curl\",\"bookmark_tabs\",\"bar_chart\",\"chart_with_upwards_trend\",\"chart_with_downwards_trend\",\"scroll\",\"clipboard\",\"calendar\",\"date\",\"card_index\",\"file_folder\",\"open_file_folder\",\"scissors\",\"pushpin\",\"paperclip\",\"black_nib\",\"pencil2\",\"straight_ruler\",\"triangular_ruler\",\"closed_book\",\"green_book\",\"blue_book\",\"orange_book\",\"notebook\",\"notebook_with_decorative_cover\",\"ledger\",\"books\",\"bookmark\",\"name_badge\",\"microscope\",\"telescope\",\"newspaper\",\"football\",\"basketball\",\"soccer\",\"baseball\",\"tennis\",\"8ball\",\"rugby_football\",\"bowling\",\"golf\",\"mountain_bicyclist\",\"bicyclist\",\"horse_racing\",\"snowboarder\",\"swimmer\",\"surfer\",\"ski\",\"spades\",\"hearts\",\"clubs\",\"diamonds\",\"gem\",\"ring\",\"trophy\",\"musical_score\",\"musical_keyboard\",\"violin\",\"space_invader\",\"video_game\",\"black_joker\",\"flower_playing_cards\",\"game_die\",\"dart\",\"mahjong\",\"clapper\",\"memo\",\"pencil\",\"book\",\"art\",\"microphone\",\"headphones\",\"trumpet\",\"saxophone\",\"guitar\",\"shoe\",\"sandal\",\"high_heel\",\"lipstick\",\"boot\",\"shirt\",\"tshirt\",\"necktie\",\"womans_clothes\",\"dress\",\"running_shirt_with_sash\",\"jeans\",\"kimono\",\"bikini\",\"ribbon\",\"tophat\",\"crown\",\"womans_hat\",\"mans_shoe\",\"closed_umbrella\",\"briefcase\",\"handbag\",\"pouch\",\"purse\",\"eyeglasses\",\"fishing_pole_and_fish\",\"coffee\",\"tea\",\"sake\",\"baby_bottle\",\"beer\",\"beers\",\"cocktail\",\"tropical_drink\",\"wine_glass\",\"fork_and_knife\",\"pizza\",\"hamburger\",\"fries\",\"poultry_leg\",\"meat_on_bone\",\"spaghetti\",\"curry\",\"fried_shrimp\",\"bento\",\"sushi\",\"fish_cake\",\"rice_ball\",\"rice_cracker\",\"rice\",\"ramen\",\"stew\",\"oden\",\"dango\",\"egg\",\"bread\",\"doughnut\",\"custard\",\"icecream\",\"ice_cream\",\"shaved_ice\",\"birthday\",\"cake\",\"cookie\",\"chocolate_bar\",\"candy\",\"lollipop\",\"honey_pot\",\"apple\",\"green_apple\",\"tangerine\",\"lemon\",\"cherries\",\"grapes\",\"watermelon\",\"strawberry\",\"peach\",\"melon\",\"banana\",\"pear\",\"pineapple\",\"sweet_potato\",\"eggplant\",\"tomato\",\"corn\"]\n\t\t},\n\t\t{\n\t\t\t\"category\" :\"Places\",\n\t\t\t\"list\" : [\"house\",\"house_with_garden\",\"school\",\"office\",\"post_office\",\"hospital\",\"bank\",\"convenience_store\",\"love_hotel\",\"hotel\",\"wedding\",\"church\",\"department_store\",\"european_post_office\",\"city_sunrise\",\"city_sunset\",\"japanese_castle\",\"european_castle\",\"tent\",\"factory\",\"tokyo_tower\",\"japan\",\"mount_fuji\",\"sunrise_over_mountains\",\"sunrise\",\"stars\",\"statue_of_liberty\",\"bridge_at_night\",\"carousel_horse\",\"rainbow\",\"ferris_wheel\",\"fountain\",\"roller_coaster\",\"ship\",\"speedboat\",\"boat\",\"sailboat\",\"rowboat\",\"anchor\",\"rocket\",\"airplane\",\"helicopter\",\"steam_locomotive\",\"tram\",\"mountain_railway\",\"bike\",\"aerial_tramway\",\"suspension_railway\",\"mountain_cableway\",\"tractor\",\"blue_car\",\"oncoming_automobile\",\"car\",\"red_car\",\"taxi\",\"oncoming_taxi\",\"articulated_lorry\",\"bus\",\"oncoming_bus\",\"rotating_light\",\"police_car\",\"oncoming_police_car\",\"fire_engine\",\"ambulance\",\"minibus\",\"truck\",\"train\",\"station\",\"train2\",\"bullettrain_front\",\"bullettrain_side\",\"light_rail\",\"monorail\",\"railway_car\",\"trolleybus\",\"ticket\",\"fuelpump\",\"vertical_traffic_light\",\"traffic_light\",\"warning\",\"construction\",\"beginner\",\"atm\",\"slot_machine\",\"busstop\",\"barber\",\"hotsprings\",\"checkered_flag\",\"crossed_flags\",\"izakaya_lantern\",\"moyai\",\"circus_tent\",\"performing_arts\",\"round_pushpin\",\"triangular_flag_on_post\",\"jp\",\"kr\",\"cn\",\"us\",\"fr\",\"es\",\"it\",\"ru\",\"gb\",\"uk\",\"de\"]\n\t\t},\n\t\t{\n\t\t\t\"category\" :\"Symbols\",\n\t\t\t\"list\" : [\"one\",\"two\",\"three\",\"four\",\"five\",\"six\",\"seven\",\"eight\",\"nine\",\"keycap_ten\",\"1234\",\"zero\",\"hash\",\"symbols\",\"arrow_backward\",\"arrow_down\",\"arrow_forward\",\"arrow_left\",\"capital_abcd\",\"abcd\",\"abc\",\"arrow_lower_left\",\"arrow_lower_right\",\"arrow_right\",\"arrow_up\",\"arrow_upper_left\",\"arrow_upper_right\",\"arrow_double_down\",\"arrow_double_up\",\"arrow_down_small\",\"arrow_heading_down\",\"arrow_heading_up\",\"leftwards_arrow_with_hook\",\"arrow_right_hook\",\"left_right_arrow\",\"arrow_up_down\",\"arrow_up_small\",\"arrows_clockwise\",\"arrows_counterclockwise\",\"rewind\",\"fast_forward\",\"information_source\",\"ok\",\"twisted_rightwards_arrows\",\"repeat\",\"repeat_one\",\"new\",\"top\",\"up\",\"cool\",\"free\",\"ng\",\"cinema\",\"koko\",\"signal_strength\",\"u5272\",\"u5408\",\"u55b6\",\"u6307\",\"u6708\",\"u6709\",\"u6e80\",\"u7121\",\"u7533\",\"u7a7a\",\"u7981\",\"sa\",\"restroom\",\"mens\",\"womens\",\"baby_symbol\",\"no_smoking\",\"parking\",\"wheelchair\",\"metro\",\"baggage_claim\",\"accept\",\"wc\",\"potable_water\",\"put_litter_in_its_place\",\"secret\",\"congratulations\",\"m\",\"passport_control\",\"left_luggage\",\"customs\",\"ideograph_advantage\",\"cl\",\"sos\",\"id\",\"no_entry_sign\",\"underage\",\"no_mobile_phones\",\"do_not_litter\",\"non-potable_water\",\"no_bicycles\",\"no_pedestrians\",\"children_crossing\",\"no_entry\",\"eight_spoked_asterisk\",\"sparkle\",\"eight_pointed_black_star\",\"heart_decoration\",\"vs\",\"vibration_mode\",\"mobile_phone_off\",\"chart\",\"currency_exchange\",\"aries\",\"taurus\",\"gemini\",\"cancer\",\"leo\",\"virgo\",\"libra\",\"scorpius\",\"sagittarius\",\"capricorn\",\"aquarius\",\"pisces\",\"ophiuchus\",\"six_pointed_star\",\"negative_squared_cross_mark\",\"a\",\"b\",\"ab\",\"o2\",\"diamond_shape_with_a_dot_inside\",\"recycle\",\"end\",\"back\",\"on\",\"soon\",\"clock1\",\"clock130\",\"clock10\",\"clock1030\",\"clock11\",\"clock1130\",\"clock12\",\"clock1230\",\"clock2\",\"clock230\",\"clock3\",\"clock330\",\"clock4\",\"clock430\",\"clock5\",\"clock530\",\"clock6\",\"clock630\",\"clock7\",\"clock730\",\"clock8\",\"clock830\",\"clock9\",\"clock930\",\"heavy_dollar_sign\",\"copyright\",\"registered\",\"tm\",\"x\",\"heavy_exclamation_mark\",\"bangbang\",\"interrobang\",\"o\",\"heavy_multiplication_x\",\"heavy_plus_sign\",\"heavy_minus_sign\",\"heavy_division_sign\",\"white_flower\",\"100\",\"heavy_check_mark\",\"ballot_box_with_check\",\"radio_button\",\"link\",\"curly_loop\",\"wavy_dash\",\"part_alternation_mark\",\"trident\",\"black_small_square\",\"white_small_square\",\"black_medium_small_square\",\"white_medium_small_square\",\"black_medium_square\",\"white_medium_square\",\"black_large_square\",\"white_large_square\",\"white_check_mark\",\"black_square_button\",\"white_square_button\",\"black_circle\",\"white_circle\",\"red_circle\",\"large_blue_circle\",\"large_blue_diamond\",\"large_orange_diamond\",\"small_blue_diamond\",\"small_orange_diamond\",\"small_red_triangle\",\"small_red_triangle_down\",\"shipit\"]\n\t\t}\n\t],\n\n\t\"twemoji\" : [\"1f004\",\"1f0cf\",\"1f170\",\"1f171\",\"1f17e\",\"1f17f\",\"1f18e\",\"1f191\",\"1f192\",\"1f193\",\"1f194\",\"1f195\",\"1f196\",\"1f197\",\"1f198\",\"1f199\",\"1f19a\",\"1f1e6\",\"1f1e7\",\"1f1e8-1f1f3\",\"1f1e8\",\"1f1e9-1f1ea\",\"1f1e9\",\"1f1ea-1f1f8\",\"1f1ea\",\"1f1eb-1f1f7\",\"1f1eb\",\"1f1ec-1f1e7\",\"1f1ec\",\"1f1ed\",\"1f1ee-1f1f9\",\"1f1ee\",\"1f1ef-1f1f5\",\"1f1ef\",\"1f1f0-1f1f7\",\"1f1f0\",\"1f1f1\",\"1f1f2\",\"1f1f3\",\"1f1f4\",\"1f1f5\",\"1f1f6\",\"1f1f7-1f1fa\",\"1f1f7\",\"1f1f8\",\"1f1f9\",\"1f1fa-1f1f8\",\"1f1fa\",\"1f1fb\",\"1f1fc\",\"1f1fd\",\"1f1fe\",\"1f1ff\",\"1f201\",\"1f202\",\"1f21a\",\"1f22f\",\"1f232\",\"1f233\",\"1f234\",\"1f235\",\"1f236\",\"1f237\",\"1f238\",\"1f239\",\"1f23a\",\"1f250\",\"1f251\",\"1f300\",\"1f301\",\"1f302\",\"1f303\",\"1f304\",\"1f305\",\"1f306\",\"1f307\",\"1f308\",\"1f309\",\"1f30a\",\"1f30b\",\"1f30c\",\"1f30d\",\"1f30e\",\"1f30f\",\"1f310\",\"1f311\",\"1f312\",\"1f313\",\"1f314\",\"1f315\",\"1f316\",\"1f317\",\"1f318\",\"1f319\",\"1f31a\",\"1f31b\",\"1f31c\",\"1f31d\",\"1f31e\",\"1f31f\",\"1f320\",\"1f330\",\"1f331\",\"1f332\",\"1f333\",\"1f334\",\"1f335\",\"1f337\",\"1f338\",\"1f339\",\"1f33a\",\"1f33b\",\"1f33c\",\"1f33d\",\"1f33e\",\"1f33f\",\"1f340\",\"1f341\",\"1f342\",\"1f343\",\"1f344\",\"1f345\",\"1f346\",\"1f347\",\"1f348\",\"1f349\",\"1f34a\",\"1f34b\",\"1f34c\",\"1f34d\",\"1f34e\",\"1f34f\",\"1f350\",\"1f351\",\"1f352\",\"1f353\",\"1f354\",\"1f355\",\"1f356\",\"1f357\",\"1f358\",\"1f359\",\"1f35a\",\"1f35b\",\"1f35c\",\"1f35d\",\"1f35e\",\"1f35f\",\"1f360\",\"1f361\",\"1f362\",\"1f363\",\"1f364\",\"1f365\",\"1f366\",\"1f367\",\"1f368\",\"1f369\",\"1f36a\",\"1f36b\",\"1f36c\",\"1f36d\",\"1f36e\",\"1f36f\",\"1f370\",\"1f371\",\"1f372\",\"1f373\",\"1f374\",\"1f375\",\"1f376\",\"1f377\",\"1f378\",\"1f379\",\"1f37a\",\"1f37b\",\"1f37c\",\"1f380\",\"1f381\",\"1f382\",\"1f383\",\"1f384\",\"1f385\",\"1f386\",\"1f387\",\"1f388\",\"1f389\",\"1f38a\",\"1f38b\",\"1f38c\",\"1f38d\",\"1f38e\",\"1f38f\",\"1f390\",\"1f391\",\"1f392\",\"1f393\",\"1f3a0\",\"1f3a1\",\"1f3a2\",\"1f3a3\",\"1f3a4\",\"1f3a5\",\"1f3a6\",\"1f3a7\",\"1f3a8\",\"1f3a9\",\"1f3aa\",\"1f3ab\",\"1f3ac\",\"1f3ad\",\"1f3ae\",\"1f3af\",\"1f3b0\",\"1f3b1\",\"1f3b2\",\"1f3b3\",\"1f3b4\",\"1f3b5\",\"1f3b6\",\"1f3b7\",\"1f3b8\",\"1f3b9\",\"1f3ba\",\"1f3bb\",\"1f3bc\",\"1f3bd\",\"1f3be\",\"1f3bf\",\"1f3c0\",\"1f3c1\",\"1f3c2\",\"1f3c3\",\"1f3c4\",\"1f3c6\",\"1f3c7\",\"1f3c8\",\"1f3c9\",\"1f3ca\",\"1f3e0\",\"1f3e1\",\"1f3e2\",\"1f3e3\",\"1f3e4\",\"1f3e5\",\"1f3e6\",\"1f3e7\",\"1f3e8\",\"1f3e9\",\"1f3ea\",\"1f3eb\",\"1f3ec\",\"1f3ed\",\"1f3ee\",\"1f3ef\",\"1f3f0\",\"1f400\",\"1f401\",\"1f402\",\"1f403\",\"1f404\",\"1f405\",\"1f406\",\"1f407\",\"1f408\",\"1f409\",\"1f40a\",\"1f40b\",\"1f40c\",\"1f40d\",\"1f40e\",\"1f40f\",\"1f410\",\"1f411\",\"1f412\",\"1f413\",\"1f414\",\"1f415\",\"1f416\",\"1f417\",\"1f418\",\"1f419\",\"1f41a\",\"1f41b\",\"1f41c\",\"1f41d\",\"1f41e\",\"1f41f\",\"1f420\",\"1f421\",\"1f422\",\"1f423\",\"1f424\",\"1f425\",\"1f426\",\"1f427\",\"1f428\",\"1f429\",\"1f42a\",\"1f42b\",\"1f42c\",\"1f42d\",\"1f42e\",\"1f42f\",\"1f430\",\"1f431\",\"1f432\",\"1f433\",\"1f434\",\"1f435\",\"1f436\",\"1f437\",\"1f438\",\"1f439\",\"1f43a\",\"1f43b\",\"1f43c\",\"1f43d\",\"1f43e\",\"1f440\",\"1f442\",\"1f443\",\"1f444\",\"1f445\",\"1f446\",\"1f447\",\"1f448\",\"1f449\",\"1f44a\",\"1f44b\",\"1f44c\",\"1f44d\",\"1f44e\",\"1f44f\",\"1f450\",\"1f451\",\"1f452\",\"1f453\",\"1f454\",\"1f455\",\"1f456\",\"1f457\",\"1f458\",\"1f459\",\"1f45a\",\"1f45b\",\"1f45c\",\"1f45d\",\"1f45e\",\"1f45f\",\"1f460\",\"1f461\",\"1f462\",\"1f463\",\"1f464\",\"1f465\",\"1f466\",\"1f467\",\"1f468\",\"1f469\",\"1f46a\",\"1f46b\",\"1f46c\",\"1f46d\",\"1f46e\",\"1f46f\",\"1f470\",\"1f471\",\"1f472\",\"1f473\",\"1f474\",\"1f475\",\"1f476\",\"1f477\",\"1f478\",\"1f479\",\"1f47a\",\"1f47b\",\"1f47c\",\"1f47d\",\"1f47e\",\"1f47f\",\"1f480\",\"1f481\",\"1f482\",\"1f483\",\"1f484\",\"1f485\",\"1f486\",\"1f487\",\"1f488\",\"1f489\",\"1f48a\",\"1f48b\",\"1f48c\",\"1f48d\",\"1f48e\",\"1f48f\",\"1f490\",\"1f491\",\"1f492\",\"1f493\",\"1f494\",\"1f495\",\"1f496\",\"1f497\",\"1f498\",\"1f499\",\"1f49a\",\"1f49b\",\"1f49c\",\"1f49d\",\"1f49e\",\"1f49f\",\"1f4a0\",\"1f4a1\",\"1f4a2\",\"1f4a3\",\"1f4a4\",\"1f4a5\",\"1f4a6\",\"1f4a7\",\"1f4a8\",\"1f4a9\",\"1f4aa\",\"1f4ab\",\"1f4ac\",\"1f4ad\",\"1f4ae\",\"1f4af\",\"1f4b0\",\"1f4b1\",\"1f4b2\",\"1f4b3\",\"1f4b4\",\"1f4b5\",\"1f4b6\",\"1f4b7\",\"1f4b8\",\"1f4b9\",\"1f4ba\",\"1f4bb\",\"1f4bc\",\"1f4bd\",\"1f4be\",\"1f4bf\",\"1f4c0\",\"1f4c1\",\"1f4c2\",\"1f4c3\",\"1f4c4\",\"1f4c5\",\"1f4c6\",\"1f4c7\",\"1f4c8\",\"1f4c9\",\"1f4ca\",\"1f4cb\",\"1f4cc\",\"1f4cd\",\"1f4ce\",\"1f4cf\",\"1f4d0\",\"1f4d1\",\"1f4d2\",\"1f4d3\",\"1f4d4\",\"1f4d5\",\"1f4d6\",\"1f4d7\",\"1f4d8\",\"1f4d9\",\"1f4da\",\"1f4db\",\"1f4dc\",\"1f4dd\",\"1f4de\",\"1f4df\",\"1f4e0\",\"1f4e1\",\"1f4e2\",\"1f4e3\",\"1f4e4\",\"1f4e5\",\"1f4e6\",\"1f4e7\",\"1f4e8\",\"1f4e9\",\"1f4ea\",\"1f4eb\",\"1f4ec\",\"1f4ed\",\"1f4ee\",\"1f4ef\",\"1f4f0\",\"1f4f1\",\"1f4f2\",\"1f4f3\",\"1f4f4\",\"1f4f5\",\"1f4f6\",\"1f4f7\",\"1f4f9\",\"1f4fa\",\"1f4fb\",\"1f4fc\",\"1f500\",\"1f501\",\"1f502\",\"1f503\",\"1f504\",\"1f505\",\"1f506\",\"1f507\",\"1f508\",\"1f509\",\"1f50a\",\"1f50b\",\"1f50c\",\"1f50d\",\"1f50e\",\"1f50f\",\"1f510\",\"1f511\",\"1f512\",\"1f513\",\"1f514\",\"1f515\",\"1f516\",\"1f517\",\"1f518\",\"1f519\",\"1f51a\",\"1f51b\",\"1f51c\",\"1f51d\",\"1f51e\",\"1f51f\",\"1f520\",\"1f521\",\"1f522\",\"1f523\",\"1f524\",\"1f525\",\"1f526\",\"1f527\",\"1f528\",\"1f529\",\"1f52a\",\"1f52b\",\"1f52c\",\"1f52d\",\"1f52e\",\"1f52f\",\"1f530\",\"1f531\",\"1f532\",\"1f533\",\"1f534\",\"1f535\",\"1f536\",\"1f537\",\"1f538\",\"1f539\",\"1f53a\",\"1f53b\",\"1f53c\",\"1f53d\",\"1f550\",\"1f551\",\"1f552\",\"1f553\",\"1f554\",\"1f555\",\"1f556\",\"1f557\",\"1f558\",\"1f559\",\"1f55a\",\"1f55b\",\"1f55c\",\"1f55d\",\"1f55e\",\"1f55f\",\"1f560\",\"1f561\",\"1f562\",\"1f563\",\"1f564\",\"1f565\",\"1f566\",\"1f567\",\"1f5fb\",\"1f5fc\",\"1f5fd\",\"1f5fe\",\"1f5ff\",\"1f600\",\"1f601\",\"1f602\",\"1f603\",\"1f604\",\"1f605\",\"1f606\",\"1f607\",\"1f608\",\"1f609\",\"1f60a\",\"1f60b\",\"1f60c\",\"1f60d\",\"1f60e\",\"1f60f\",\"1f610\",\"1f611\",\"1f612\",\"1f613\",\"1f614\",\"1f615\",\"1f616\",\"1f617\",\"1f618\",\"1f619\",\"1f61a\",\"1f61b\",\"1f61c\",\"1f61d\",\"1f61e\",\"1f61f\",\"1f620\",\"1f621\",\"1f622\",\"1f623\",\"1f624\",\"1f625\",\"1f626\",\"1f627\",\"1f628\",\"1f629\",\"1f62a\",\"1f62b\",\"1f62c\",\"1f62d\",\"1f62e\",\"1f62f\",\"1f630\",\"1f631\",\"1f632\",\"1f633\",\"1f634\",\"1f635\",\"1f636\",\"1f637\",\"1f638\",\"1f639\",\"1f63a\",\"1f63b\",\"1f63c\",\"1f63d\",\"1f63e\",\"1f63f\",\"1f640\",\"1f645\",\"1f646\",\"1f647\",\"1f648\",\"1f649\",\"1f64a\",\"1f64b\",\"1f64c\",\"1f64d\",\"1f64e\",\"1f64f\",\"1f680\",\"1f681\",\"1f682\",\"1f683\",\"1f684\",\"1f685\",\"1f686\",\"1f687\",\"1f688\",\"1f689\",\"1f68a\",\"1f68b\",\"1f68c\",\"1f68d\",\"1f68e\",\"1f68f\",\"1f690\",\"1f691\",\"1f692\",\"1f693\",\"1f694\",\"1f695\",\"1f696\",\"1f697\",\"1f698\",\"1f699\",\"1f69a\",\"1f69b\",\"1f69c\",\"1f69d\",\"1f69e\",\"1f69f\",\"1f6a0\",\"1f6a1\",\"1f6a2\",\"1f6a3\",\"1f6a4\",\"1f6a5\",\"1f6a6\",\"1f6a7\",\"1f6a8\",\"1f6a9\",\"1f6aa\",\"1f6ab\",\"1f6ac\",\"1f6ad\",\"1f6ae\",\"1f6af\",\"1f6b0\",\"1f6b1\",\"1f6b2\",\"1f6b3\",\"1f6b4\",\"1f6b5\",\"1f6b6\",\"1f6b7\",\"1f6b8\",\"1f6b9\",\"1f6ba\",\"1f6bb\",\"1f6bc\",\"1f6bd\",\"1f6be\",\"1f6bf\",\"1f6c0\",\"1f6c1\",\"1f6c2\",\"1f6c3\",\"1f6c4\",\"1f6c5\",\"203c\",\"2049\",\"2122\",\"2139\",\"2194\",\"2195\",\"2196\",\"2197\",\"2198\",\"2199\",\"21a9\",\"21aa\",\"23-20e3\",\"231a\",\"231b\",\"23e9\",\"23ea\",\"23eb\",\"23ec\",\"23f0\",\"23f3\",\"24c2\",\"25aa\",\"25ab\",\"25b6\",\"25c0\",\"25fb\",\"25fc\",\"25fd\",\"25fe\",\"2600\",\"2601\",\"260e\",\"2611\",\"2614\",\"2615\",\"261d\",\"263a\",\"2648\",\"2649\",\"264a\",\"264b\",\"264c\",\"264d\",\"264e\",\"264f\",\"2650\",\"2651\",\"2652\",\"2653\",\"2660\",\"2663\",\"2665\",\"2666\",\"2668\",\"267b\",\"267f\",\"2693\",\"26a0\",\"26a1\",\"26aa\",\"26ab\",\"26bd\",\"26be\",\"26c4\",\"26c5\",\"26ce\",\"26d4\",\"26ea\",\"26f2\",\"26f3\",\"26f5\",\"26fa\",\"26fd\",\"2702\",\"2705\",\"2708\",\"2709\",\"270a\",\"270b\",\"270c\",\"270f\",\"2712\",\"2714\",\"2716\",\"2728\",\"2733\",\"2734\",\"2744\",\"2747\",\"274c\",\"274e\",\"2753\",\"2754\",\"2755\",\"2757\",\"2764\",\"2795\",\"2796\",\"2797\",\"27a1\",\"27b0\",\"27bf\",\"2934\",\"2935\",\"2b05\",\"2b06\",\"2b07\",\"2b1b\",\"2b1c\",\"2b50\",\"2b55\",\"30-20e3\",\"3030\",\"303d\",\"31-20e3\",\"32-20e3\",\"3297\",\"3299\",\"33-20e3\",\"34-20e3\",\"35-20e3\",\"36-20e3\",\"37-20e3\",\"38-20e3\",\"39-20e3\",\"a9\",\"ae\",\"e50a\"],\n\n\t\"font-awesome\" : [\"glass\",\"music\",\"search\",\"envelope-o\",\"heart\",\"star\",\"star-o\",\"user\",\"film\",\"th-large\",\"th\",\"th-list\",\"check\",\"times\",\"search-plus\",\"search-minus\",\"power-off\",\"signal\",\"cog\",\"trash-o\",\"home\",\"file-o\",\"clock-o\",\"road\",\"download\",\"arrow-circle-o-down\",\"arrow-circle-o-up\",\"inbox\",\"play-circle-o\",\"repeat\",\"refresh\",\"list-alt\",\"lock\",\"flag\",\"headphones\",\"volume-off\",\"volume-down\",\"volume-up\",\"qrcode\",\"barcode\",\"tag\",\"tags\",\"book\",\"bookmark\",\"print\",\"camera\",\"font\",\"bold\",\"italic\",\"text-height\",\"text-width\",\"align-left\",\"align-center\",\"align-right\",\"align-justify\",\"list\",\"outdent\",\"indent\",\"video-camera\",\"picture-o\",\"pencil\",\"map-marker\",\"adjust\",\"tint\",\"pencil-square-o\",\"share-square-o\",\"check-square-o\",\"arrows\",\"step-backward\",\"fast-backward\",\"backward\",\"play\",\"pause\",\"stop\",\"forward\",\"fast-forward\",\"step-forward\",\"eject\",\"chevron-left\",\"chevron-right\",\"plus-circle\",\"minus-circle\",\"times-circle\",\"check-circle\",\"question-circle\",\"info-circle\",\"crosshairs\",\"times-circle-o\",\"check-circle-o\",\"ban\",\"arrow-left\",\"arrow-right\",\"arrow-up\",\"arrow-down\",\"share\",\"expand\",\"compress\",\"plus\",\"minus\",\"asterisk\",\"exclamation-circle\",\"gift\",\"leaf\",\"fire\",\"eye\",\"eye-slash\",\"exclamation-triangle\",\"plane\",\"calendar\",\"random\",\"comment\",\"magnet\",\"chevron-up\",\"chevron-down\",\"retweet\",\"shopping-cart\",\"folder\",\"folder-open\",\"arrows-v\",\"arrows-h\",\"bar-chart\",\"twitter-square\",\"facebook-square\",\"camera-retro\",\"key\",\"cogs\",\"comments\",\"thumbs-o-up\",\"thumbs-o-down\",\"star-half\",\"heart-o\",\"sign-out\",\"linkedin-square\",\"thumb-tack\",\"external-link\",\"sign-in\",\"trophy\",\"github-square\",\"upload\",\"lemon-o\",\"phone\",\"square-o\",\"bookmark-o\",\"phone-square\",\"twitter\",\"facebook\",\"github\",\"unlock\",\"credit-card\",\"rss\",\"hdd-o\",\"bullhorn\",\"bell\",\"certificate\",\"hand-o-right\",\"hand-o-left\",\"hand-o-up\",\"hand-o-down\",\"arrow-circle-left\",\"arrow-circle-right\",\"arrow-circle-up\",\"arrow-circle-down\",\"globe\",\"wrench\",\"tasks\",\"filter\",\"briefcase\",\"arrows-alt\",\"users\",\"link\",\"cloud\",\"flask\",\"scissors\",\"files-o\",\"paperclip\",\"floppy-o\",\"square\",\"bars\",\"list-ul\",\"list-ol\",\"strikethrough\",\"underline\",\"table\",\"magic\",\"truck\",\"pinterest\",\"pinterest-square\",\"google-plus-square\",\"google-plus\",\"money\",\"caret-down\",\"caret-up\",\"caret-left\",\"caret-right\",\"columns\",\"sort\",\"sort-desc\",\"sort-asc\",\"envelope\",\"linkedin\",\"undo\",\"gavel\",\"tachometer\",\"comment-o\",\"comments-o\",\"bolt\",\"sitemap\",\"umbrella\",\"clipboard\",\"lightbulb-o\",\"exchange\",\"cloud-download\",\"cloud-upload\",\"user-md\",\"stethoscope\",\"suitcase\",\"bell-o\",\"coffee\",\"cutlery\",\"file-text-o\",\"building-o\",\"hospital-o\",\"ambulance\",\"medkit\",\"fighter-jet\",\"beer\",\"h-square\",\"plus-square\",\"angle-double-left\",\"angle-double-right\",\"angle-double-up\",\"angle-double-down\",\"angle-left\",\"angle-right\",\"angle-up\",\"angle-down\",\"desktop\",\"laptop\",\"tablet\",\"mobile\",\"circle-o\",\"quote-left\",\"quote-right\",\"spinner\",\"circle\",\"reply\",\"github-alt\",\"folder-o\",\"folder-open-o\",\"smile-o\",\"frown-o\",\"meh-o\",\"gamepad\",\"keyboard-o\",\"flag-o\",\"flag-checkered\",\"terminal\",\"code\",\"reply-all\",\"star-half-o\",\"location-arrow\",\"crop\",\"code-fork\",\"chain-broken\",\"question\",\"info\",\"exclamation\",\"superscript\",\"subscript\",\"eraser\",\"puzzle-piece\",\"microphone\",\"microphone-slash\",\"shield\",\"calendar-o\",\"fire-extinguisher\",\"rocket\",\"maxcdn\",\"chevron-circle-left\",\"chevron-circle-right\",\"chevron-circle-up\",\"chevron-circle-down\",\"html5\",\"css3\",\"anchor\",\"unlock-alt\",\"bullseye\",\"ellipsis-h\",\"ellipsis-v\",\"rss-square\",\"play-circle\",\"ticket\",\"minus-square\",\"minus-square-o\",\"level-up\",\"level-down\",\"check-square\",\"pencil-square\",\"share-square\",\"compass\",\"caret-square-o-down\",\"caret-square-o-up\",\"caret-square-o-right\",\"eur\",\"gbp\",\"usd\",\"inr\",\"jpy\",\"rub\",\"krw\",\"btc\",\"file\",\"file-text\",\"sort-alpha-asc\",\"sort-alpha-desc\",\"sort-amount-asc\",\"sort-amount-desc\",\"sort-numeric-asc\",\"sort-numeric-desc\",\"thumbs-up\",\"thumbs-down\",\"youtube-square\",\"youtube\",\"xing\",\"xing-square\",\"youtube-play\",\"dropbox\",\"stack-overflow\",\"instagram\",\"flickr\",\"adn\",\"bitbucket\",\"bitbucket-square\",\"tumblr\",\"tumblr-square\",\"long-arrow-down\",\"long-arrow-up\",\"long-arrow-left\",\"long-arrow-right\",\"apple\",\"windows\",\"android\",\"linux\",\"dribbble\",\"skype\",\"foursquare\",\"trello\",\"female\",\"male\",\"gratipay\",\"sun-o\",\"moon-o\",\"archive\",\"bug\",\"vk\",\"weibo\",\"renren\",\"pagelines\",\"stack-exchange\",\"arrow-circle-o-right\",\"arrow-circle-o-left\",\"caret-square-o-left\",\"dot-circle-o\",\"wheelchair\",\"vimeo-square\",\"try\",\"plus-square-o\",\"space-shuttle\",\"slack\",\"envelope-square\",\"wordpress\",\"openid\",\"university\",\"graduation-cap\",\"yahoo\",\"google\",\"reddit\",\"reddit-square\",\"stumbleupon-circle\",\"stumbleupon\",\"delicious\",\"digg\",\"pied-piper\",\"pied-piper-alt\",\"drupal\",\"joomla\",\"language\",\"fax\",\"building\",\"child\",\"paw\",\"spoon\",\"cube\",\"cubes\",\"behance\",\"behance-square\",\"steam\",\"steam-square\",\"recycle\",\"car\",\"taxi\",\"tree\",\"spotify\",\"deviantart\",\"soundcloud\",\"database\",\"file-pdf-o\",\"file-word-o\",\"file-excel-o\",\"file-powerpoint-o\",\"file-image-o\",\"file-archive-o\",\"file-audio-o\",\"file-video-o\",\"file-code-o\",\"vine\",\"codepen\",\"jsfiddle\",\"life-ring\",\"circle-o-notch\",\"rebel\",\"empire\",\"git-square\",\"git\",\"hacker-news\",\"tencent-weibo\",\"qq\",\"weixin\",\"paper-plane\",\"paper-plane-o\",\"history\",\"circle-thin\",\"header\",\"paragraph\",\"sliders\",\"share-alt\",\"share-alt-square\",\"bomb\",\"futbol-o\",\"tty\",\"binoculars\",\"plug\",\"slideshare\",\"twitch\",\"yelp\",\"newspaper-o\",\"wifi\",\"calculator\",\"paypal\",\"google-wallet\",\"cc-visa\",\"cc-mastercard\",\"cc-discover\",\"cc-amex\",\"cc-paypal\",\"cc-stripe\",\"bell-slash\",\"bell-slash-o\",\"trash\",\"copyright\",\"at\",\"eyedropper\",\"paint-brush\",\"birthday-cake\",\"area-chart\",\"pie-chart\",\"line-chart\",\"lastfm\",\"lastfm-square\",\"toggle-off\",\"toggle-on\",\"bicycle\",\"bus\",\"ioxhost\",\"angellist\",\"cc\",\"ils\",\"meanpath\",\"buysellads\",\"connectdevelop\",\"dashcube\",\"forumbee\",\"leanpub\",\"sellsy\",\"shirtsinbulk\",\"simplybuilt\",\"skyatlas\",\"cart-plus\",\"cart-arrow-down\",\"diamond\",\"ship\",\"user-secret\",\"motorcycle\",\"street-view\",\"heartbeat\",\"venus\",\"mars\",\"mercury\",\"transgender\",\"transgender-alt\",\"venus-double\",\"mars-double\",\"venus-mars\",\"mars-stroke\",\"mars-stroke-v\",\"mars-stroke-h\",\"neuter\",\"facebook-official\",\"pinterest-p\",\"whatsapp\",\"server\",\"user-plus\",\"user-times\",\"bed\",\"viacoin\",\"train\",\"subway\",\"medium\",\"GitHub\",\"bed\",\"buysellads\",\"cart-arrow-down\",\"cart-plus\",\"connectdevelop\",\"dashcube\",\"diamond\",\"facebook-official\",\"forumbee\",\"heartbeat\",\"hotel\",\"leanpub\",\"mars\",\"mars-double\",\"mars-stroke\",\"mars-stroke-h\",\"mars-stroke-v\",\"medium\",\"mercury\",\"motorcycle\",\"neuter\",\"pinterest-p\",\"sellsy\",\"server\",\"ship\",\"shirtsinbulk\",\"simplybuilt\",\"skyatlas\",\"street-view\",\"subway\",\"train\",\"transgender\",\"transgender-alt\",\"user-plus\",\"user-secret\",\"user-times\",\"venus\",\"venus-double\",\"venus-mars\",\"viacoin\",\"whatsapp\",\"adjust\",\"anchor\",\"archive\",\"area-chart\",\"arrows\",\"arrows-h\",\"arrows-v\",\"asterisk\",\"at\",\"automobile\",\"ban\",\"bank\",\"bar-chart\",\"bar-chart-o\",\"barcode\",\"bars\",\"bed\",\"beer\",\"bell\",\"bell-o\",\"bell-slash\",\"bell-slash-o\",\"bicycle\",\"binoculars\",\"birthday-cake\",\"bolt\",\"bomb\",\"book\",\"bookmark\",\"bookmark-o\",\"briefcase\",\"bug\",\"building\",\"building-o\",\"bullhorn\",\"bullseye\",\"bus\",\"cab\",\"calculator\",\"calendar\",\"calendar-o\",\"camera\",\"camera-retro\",\"car\",\"caret-square-o-down\",\"caret-square-o-left\",\"caret-square-o-right\",\"caret-square-o-up\",\"cart-arrow-down\",\"cart-plus\",\"cc\",\"certificate\",\"check\",\"check-circle\",\"check-circle-o\",\"check-square\",\"check-square-o\",\"child\",\"circle\",\"circle-o\",\"circle-o-notch\",\"circle-thin\",\"clock-o\",\"close\",\"cloud\",\"cloud-download\",\"cloud-upload\",\"code\",\"code-fork\",\"coffee\",\"cog\",\"cogs\",\"comment\",\"comment-o\",\"comments\",\"comments-o\",\"compass\",\"copyright\",\"credit-card\",\"crop\",\"crosshairs\",\"cube\",\"cubes\",\"cutlery\",\"dashboard\",\"database\",\"desktop\",\"diamond\",\"dot-circle-o\",\"download\",\"edit\",\"ellipsis-h\",\"ellipsis-v\",\"envelope\",\"envelope-o\",\"envelope-square\",\"eraser\",\"exchange\",\"exclamation\",\"exclamation-circle\",\"exclamation-triangle\",\"external-link\",\"external-link-square\",\"eye\",\"eye-slash\",\"eyedropper\",\"fax\",\"female\",\"fighter-jet\",\"file-archive-o\",\"file-audio-o\",\"file-code-o\",\"file-excel-o\",\"file-image-o\",\"file-movie-o\",\"file-pdf-o\",\"file-photo-o\",\"file-picture-o\",\"file-powerpoint-o\",\"file-sound-o\",\"file-video-o\",\"file-word-o\",\"file-zip-o\",\"film\",\"filter\",\"fire\",\"fire-extinguisher\",\"flag\",\"flag-checkered\",\"flag-o\",\"flash\",\"flask\",\"folder\",\"folder-o\",\"folder-open\",\"folder-open-o\",\"frown-o\",\"futbol-o\",\"gamepad\",\"gavel\",\"gear\",\"gears\",\"genderless\",\"gift\",\"glass\",\"globe\",\"graduation-cap\",\"group\",\"hdd-o\",\"headphones\",\"heart\",\"heart-o\",\"heartbeat\",\"history\",\"home\",\"hotel\",\"image\",\"inbox\",\"info\",\"info-circle\",\"institution\",\"key\",\"keyboard-o\",\"language\",\"laptop\",\"leaf\",\"legal\",\"lemon-o\",\"level-down\",\"level-up\",\"life-bouy\",\"life-buoy\",\"life-ring\",\"life-saver\",\"lightbulb-o\",\"line-chart\",\"location-arrow\",\"lock\",\"magic\",\"magnet\",\"mail-forward\",\"mail-reply\",\"mail-reply-all\",\"male\",\"map-marker\",\"meh-o\",\"microphone\",\"microphone-slash\",\"minus\",\"minus-circle\",\"minus-square\",\"minus-square-o\",\"mobile\",\"mobile-phone\",\"money\",\"moon-o\",\"mortar-board\",\"motorcycle\",\"music\",\"navicon\",\"newspaper-o\",\"paint-brush\",\"paper-plane\",\"paper-plane-o\",\"paw\",\"pencil\",\"pencil-square\",\"pencil-square-o\",\"phone\",\"phone-square\",\"photo\",\"picture-o\",\"pie-chart\",\"plane\",\"plug\",\"plus\",\"plus-circle\",\"plus-square\",\"plus-square-o\",\"power-off\",\"print\",\"puzzle-piece\",\"qrcode\",\"question\",\"question-circle\",\"quote-left\",\"quote-right\",\"random\",\"recycle\",\"refresh\",\"remove\",\"reorder\",\"reply\",\"reply-all\",\"retweet\",\"road\",\"rocket\",\"rss\",\"rss-square\",\"search\",\"search-minus\",\"search-plus\",\"send\",\"send-o\",\"server\",\"share\",\"share-alt\",\"share-alt-square\",\"share-square\",\"share-square-o\",\"shield\",\"ship\",\"shopping-cart\",\"sign-in\",\"sign-out\",\"signal\",\"sitemap\",\"sliders\",\"smile-o\",\"soccer-ball-o\",\"sort\",\"sort-alpha-asc\",\"sort-alpha-desc\",\"sort-amount-asc\",\"sort-amount-desc\",\"sort-asc\",\"sort-desc\",\"sort-down\",\"sort-numeric-asc\",\"sort-numeric-desc\",\"sort-up\",\"space-shuttle\",\"spinner\",\"spoon\",\"square\",\"square-o\",\"star\",\"star-half\",\"star-half-empty\",\"star-half-full\",\"star-half-o\",\"star-o\",\"street-view\",\"suitcase\",\"sun-o\",\"support\",\"tablet\",\"tachometer\",\"tag\",\"tags\",\"tasks\",\"taxi\",\"terminal\",\"thumb-tack\",\"thumbs-down\",\"thumbs-o-down\",\"thumbs-o-up\",\"thumbs-up\",\"ticket\",\"times\",\"times-circle\",\"times-circle-o\",\"tint\",\"toggle-down\",\"toggle-left\",\"toggle-off\",\"toggle-on\",\"toggle-right\",\"toggle-up\",\"trash\",\"trash-o\",\"tree\",\"trophy\",\"truck\",\"tty\",\"umbrella\",\"university\",\"unlock\",\"unlock-alt\",\"unsorted\",\"upload\",\"user\",\"user-plus\",\"user-secret\",\"user-times\",\"users\",\"video-camera\",\"volume-down\",\"volume-off\",\"volume-up\",\"warning\",\"wheelchair\",\"wifi\",\"wrench\",\"ambulance\",\"automobile\",\"bicycle\",\"bus\",\"cab\",\"car\",\"fighter-jet\",\"motorcycle\",\"plane\",\"rocket\",\"ship\",\"space-shuttle\",\"subway\",\"taxi\",\"train\",\"truck\",\"wheelchair\",\"circle-thin\",\"genderless\",\"mars\",\"mars-double\",\"mars-stroke\",\"mars-stroke-h\",\"mars-stroke-v\",\"mercury\",\"neuter\",\"transgender\",\"transgender-alt\",\"venus\",\"venus-double\",\"venus-mars\",\"file\",\"file-archive-o\",\"file-audio-o\",\"file-code-o\",\"file-excel-o\",\"file-image-o\",\"file-movie-o\",\"file-o\",\"file-pdf-o\",\"file-photo-o\",\"file-picture-o\",\"file-powerpoint-o\",\"file-sound-o\",\"file-text\",\"file-text-o\",\"file-video-o\",\"file-word-o\",\"file-zip-o\",\"circle-o-notch\",\"cog\",\"gear\",\"refresh\",\"spinner\",\"check-square\",\"check-square-o\",\"circle\",\"circle-o\",\"dot-circle-o\",\"minus-square\",\"minus-square-o\",\"plus-square\",\"plus-square-o\",\"square\",\"square-o\",\"cc-amex\",\"cc-discover\",\"cc-mastercard\",\"cc-paypal\",\"cc-stripe\",\"cc-visa\",\"credit-card\",\"google-wallet\",\"paypal\",\"area-chart\",\"bar-chart\",\"bar-chart-o\",\"line-chart\",\"pie-chart\",\"bitcoin\",\"btc\",\"cny\",\"dollar\",\"eur\",\"euro\",\"gbp\",\"ils\",\"inr\",\"jpy\",\"krw\",\"money\",\"rmb\",\"rouble\",\"rub\",\"ruble\",\"rupee\",\"shekel\",\"sheqel\",\"try\",\"turkish-lira\",\"usd\",\"won\",\"yen\",\"align-center\",\"align-justify\",\"align-left\",\"align-right\",\"bold\",\"chain\",\"chain-broken\",\"clipboard\",\"columns\",\"copy\",\"cut\",\"dedent\",\"eraser\",\"file\",\"file-o\",\"file-text\",\"file-text-o\",\"files-o\",\"floppy-o\",\"font\",\"header\",\"indent\",\"italic\",\"link\",\"list\",\"list-alt\",\"list-ol\",\"list-ul\",\"outdent\",\"paperclip\",\"paragraph\",\"paste\",\"repeat\",\"rotate-left\",\"rotate-right\",\"save\",\"scissors\",\"strikethrough\",\"subscript\",\"superscript\",\"table\",\"text-height\",\"text-width\",\"th\",\"th-large\",\"th-list\",\"underline\",\"undo\",\"unlink\",\"angle-double-down\",\"angle-double-left\",\"angle-double-right\",\"angle-double-up\",\"angle-down\",\"angle-left\",\"angle-right\",\"angle-up\",\"arrow-circle-down\",\"arrow-circle-left\",\"arrow-circle-o-down\",\"arrow-circle-o-left\",\"arrow-circle-o-right\",\"arrow-circle-o-up\",\"arrow-circle-right\",\"arrow-circle-up\",\"arrow-down\",\"arrow-left\",\"arrow-right\",\"arrow-up\",\"arrows\",\"arrows-alt\",\"arrows-h\",\"arrows-v\",\"caret-down\",\"caret-left\",\"caret-right\",\"caret-square-o-down\",\"caret-square-o-left\",\"caret-square-o-right\",\"caret-square-o-up\",\"caret-up\",\"chevron-circle-down\",\"chevron-circle-left\",\"chevron-circle-right\",\"chevron-circle-up\",\"chevron-down\",\"chevron-left\",\"chevron-right\",\"chevron-up\",\"hand-o-down\",\"hand-o-left\",\"hand-o-right\",\"hand-o-up\",\"long-arrow-down\",\"long-arrow-left\",\"long-arrow-right\",\"long-arrow-up\",\"toggle-down\",\"toggle-left\",\"toggle-right\",\"toggle-up\",\"arrows-alt\",\"backward\",\"compress\",\"eject\",\"expand\",\"fast-backward\",\"fast-forward\",\"forward\",\"pause\",\"play\",\"play-circle\",\"play-circle-o\",\"step-backward\",\"step-forward\",\"stop\",\"youtube-play\",\"report an issue with Adblock Plus\",\"adn\",\"android\",\"angellist\",\"apple\",\"behance\",\"behance-square\",\"bitbucket\",\"bitbucket-square\",\"bitcoin\",\"btc\",\"buysellads\",\"cc-amex\",\"cc-discover\",\"cc-mastercard\",\"cc-paypal\",\"cc-stripe\",\"cc-visa\",\"codepen\",\"connectdevelop\",\"css3\",\"dashcube\",\"delicious\",\"deviantart\",\"digg\",\"dribbble\",\"dropbox\",\"drupal\",\"empire\",\"facebook\",\"facebook-f\",\"facebook-official\",\"facebook-square\",\"flickr\",\"forumbee\",\"foursquare\",\"ge\",\"git\",\"git-square\",\"github\",\"github-alt\",\"github-square\",\"gittip\",\"google\",\"google-plus\",\"google-plus-square\",\"google-wallet\",\"gratipay\",\"hacker-news\",\"html5\",\"instagram\",\"ioxhost\",\"joomla\",\"jsfiddle\",\"lastfm\",\"lastfm-square\",\"leanpub\",\"linkedin\",\"linkedin-square\",\"linux\",\"maxcdn\",\"meanpath\",\"medium\",\"openid\",\"pagelines\",\"paypal\",\"pied-piper\",\"pied-piper-alt\",\"pinterest\",\"pinterest-p\",\"pinterest-square\",\"qq\",\"ra\",\"rebel\",\"reddit\",\"reddit-square\",\"renren\",\"sellsy\",\"share-alt\",\"share-alt-square\",\"shirtsinbulk\",\"simplybuilt\",\"skyatlas\",\"skype\",\"slack\",\"slideshare\",\"soundcloud\",\"spotify\",\"stack-exchange\",\"stack-overflow\",\"steam\",\"steam-square\",\"stumbleupon\",\"stumbleupon-circle\",\"tencent-weibo\",\"trello\",\"tumblr\",\"tumblr-square\",\"twitch\",\"twitter\",\"twitter-square\",\"viacoin\",\"vimeo-square\",\"vine\",\"vk\",\"wechat\",\"weibo\",\"weixin\",\"whatsapp\",\"windows\",\"wordpress\",\"xing\",\"xing-square\",\"yahoo\",\"yelp\",\"youtube\",\"youtube-play\",\"youtube-square\",\"ambulance\",\"h-square\",\"heart\",\"heart-o\",\"heartbeat\",\"hospital-o\",\"medkit\",\"plus-square\",\"stethoscope\",\"user-md\",\"wheelchair\"]\n}"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/goto-line-dialog/goto-line-dialog.js",
    "content": "/*!\n * Goto line dialog plugin for Editor.md\n *\n * @file        goto-line-dialog.js\n * @author      pandao\n * @version     1.2.1\n * @updateTime  2015-06-09\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n\tvar factory = function (exports) {\n\n\t\tvar $            = jQuery;\n\t\tvar pluginName   = \"goto-line-dialog\";\n\n\t\tvar langs = {\n\t\t\t\"zh-cn\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\t\"goto-line\" : \"跳转到行\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\t\"goto-line\" : {\n\t\t\t\t\t\ttitle  : \"跳转到行\",\n\t\t\t\t\t\tlabel  : \"请输入行号\",\n\t\t\t\t\t\terror  : \"错误：\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"zh-tw\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\t\"goto-line\" : \"跳轉到行\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\t\"goto-line\" : {\n\t\t\t\t\t\ttitle  : \"跳轉到行\",\n\t\t\t\t\t\tlabel  : \"請輸入行號\",\n\t\t\t\t\t\terror  : \"錯誤：\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"en\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\t\"goto-line\" : \"Goto line\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\t\"goto-line\" : {\n\t\t\t\t\t\ttitle  : \"Goto line\",\n\t\t\t\t\t\tlabel  : \"Enter a line number, range \",\n\t\t\t\t\t\terror  : \"Error: \"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\texports.fn.gotoLineDialog = function() {\n\t\t\tvar _this       = this;\n\t\t\tvar cm          = this.cm;\n\t\t\tvar editor      = this.editor;\n\t\t\tvar settings    = this.settings;\n\t\t\tvar path        = settings.pluginPath + pluginName +\"/\";\n\t\t\tvar classPrefix = this.classPrefix;\n\t\t\tvar dialogName  = classPrefix + pluginName, dialog;\n\n\t\t\t$.extend(true, this.lang, langs[this.lang.name]);\n\t\t\tthis.setToolbar();\n\n\t\t\tvar lang        = this.lang;\n\t\t\tvar dialogLang  = lang.dialog[\"goto-line\"];\n\t\t\tvar lineCount   = cm.lineCount();\n\n\t\t\tdialogLang.error += dialogLang.label + \" 1-\" + lineCount;\n\n\t\t\tif (editor.find(\".\" + dialogName).length < 1) \n\t\t\t{\t\t\t\n\t\t\t\tvar dialogContent = [\n\t\t\t\t\t\"<div class=\\\"editormd-form\\\" style=\\\"padding: 10px 0;\\\">\",\n\t\t\t\t\t\"<p style=\\\"margin: 0;\\\">\" + dialogLang.label + \" 1-\" + lineCount +\"&nbsp;&nbsp;&nbsp;<input type=\\\"number\\\" class=\\\"number-input\\\" style=\\\"width: 60px;\\\" value=\\\"1\\\" max=\\\"\" + lineCount + \"\\\" min=\\\"1\\\" data-line-number /></p>\",\n\t\t\t\t\t\"</div>\"\n\t\t\t\t].join(\"\\n\");\n\n\t\t\t\tdialog = this.createDialog({\n\t\t\t\t\tname       : dialogName,\n\t\t\t\t\ttitle      : dialogLang.title,\n\t\t\t\t\twidth      : 400,\n\t\t\t\t\theight     : 180,\n\t\t\t\t\tmask       : settings.dialogShowMask,\n\t\t\t\t\tdrag       : settings.dialogDraggable,\n\t\t\t\t\tcontent    : dialogContent,\n\t\t\t\t\tlockScreen : settings.dialogLockScreen,\n\t\t\t\t\tmaskStyle  : {\n\t\t\t\t\t\topacity         : settings.dialogMaskOpacity,\n\t\t\t\t\t\tbackgroundColor : settings.dialogMaskBgColor\n\t\t\t\t\t},\n\t\t\t\t\tbuttons    : {\n                        enter : [lang.buttons.enter, function() {\n\t\t\t\t\t\t\tvar line   = parseInt(this.find(\"[data-line-number]\").val());\n\n\t\t\t\t\t\t\tif (line < 1 || line > lineCount) {\n\t\t\t\t\t\t\t\talert(dialogLang.error);\n\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t_this.gotoLine(line);\n\n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }],\n\n                        cancel : [lang.buttons.cancel, function() {                                   \n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }]\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tdialog = editor.find(\".\" + dialogName);\n\n\t\t\tthis.dialogShowMask(dialog);\n\t\t\tthis.dialogLockScreen();\n\t\t\tdialog.show();\n\t\t};\n\n\t};\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/help-dialog/help-dialog.js",
    "content": "/*!\n * Help dialog plugin for Editor.md\n *\n * @file        help-dialog.js\n * @author      pandao\n * @version     1.2.0\n * @updateTime  2015-03-08\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n\tvar factory = function (exports) {\n\n\t\tvar $            = jQuery;\n\t\tvar pluginName   = \"help-dialog\";\n\n\t\texports.fn.helpDialog = function() {\n\t\t\tvar _this       = this;\n\t\t\tvar lang        = this.lang;\n\t\t\tvar editor      = this.editor;\n\t\t\tvar settings    = this.settings;\n\t\t\tvar path        = settings.pluginPath + pluginName + \"/\";\n\t\t\tvar classPrefix = this.classPrefix;\n\t\t\tvar dialogName  = classPrefix + pluginName, dialog;\n\t\t\tvar dialogLang  = lang.dialog.help;\n\n\t\t\tif (editor.find(\".\" + dialogName).length < 1)\n\t\t\t{\t\t\t\n\t\t\t\tvar dialogContent = \"<div class=\\\"markdown-body\\\" style=\\\"font-family:微软雅黑, Helvetica, Tahoma, STXihei,Arial;height:390px;overflow:auto;font-size:14px;border-bottom:1px solid #ddd;padding:0 20px 20px 0;\\\"></div>\";\n\n\t\t\t\tdialog = this.createDialog({\n\t\t\t\t\tname       : dialogName,\n\t\t\t\t\ttitle      : dialogLang.title,\n\t\t\t\t\twidth      : 840,\n\t\t\t\t\theight     : 540,\n\t\t\t\t\tmask       : settings.dialogShowMask,\n\t\t\t\t\tdrag       : settings.dialogDraggable,\n\t\t\t\t\tcontent    : dialogContent,\n\t\t\t\t\tlockScreen : settings.dialogLockScreen,\n\t\t\t\t\tmaskStyle  : {\n\t\t\t\t\t\topacity         : settings.dialogMaskOpacity,\n\t\t\t\t\t\tbackgroundColor : settings.dialogMaskBgColor\n\t\t\t\t\t},\n\t\t\t\t\tbuttons    : {\n\t\t\t\t\t\tclose : [lang.buttons.close, function() {      \n\t\t\t\t\t\t\tthis.hide().lockScreen(false).hideMask();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tdialog = editor.find(\".\" + dialogName);\n\n\t\t\tthis.dialogShowMask(dialog);\n\t\t\tthis.dialogLockScreen();\n\t\t\tdialog.show();\n\n\t\t\tvar helpContent = dialog.find(\".markdown-body\");\n\n\t\t\tif (helpContent.html() === \"\") \n\t\t\t{\n\t\t\t\t$.get(path + \"help.md\", function(text) {\n\t\t\t\t\tvar md = exports.$marked(text);\n\t\t\t\t\thelpContent.html(md);\n                    \n                    helpContent.find(\"a\").attr(\"target\", \"_blank\");\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\n\t};\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/help-dialog/help.md",
    "content": "##### Markdown语法教程 (Markdown syntax tutorial)\n\n- [Markdown Syntax](http://daringfireball.net/projects/markdown/syntax/ \"Markdown Syntax\")\n- [Mastering Markdown](https://guides.github.com/features/mastering-markdown/ \"Mastering Markdown\")\n- [Markdown Basics](https://help.github.com/articles/markdown-basics/ \"Markdown Basics\")\n- [GitHub Flavored Markdown](https://help.github.com/articles/github-flavored-markdown/ \"GitHub Flavored Markdown\")\n- [Markdown 语法说明（简体中文）](http://www.markdown.cn/ \"Markdown 语法说明（简体中文）\")\n- [Markdown 語法說明（繁體中文）](http://markdown.tw/ \"Markdown 語法說明（繁體中文）\")\n\n##### 键盘快捷键 (Keyboard shortcuts)\n\n> If Editor.md code editor is on focus, you can use keyboard shortcuts.\n    \n| Keyboard shortcuts (键盘快捷键)                 |   说明                            | Description                                        |\n| :---------------------------------------------- |:--------------------------------- | :------------------------------------------------- |\n| F9                                              | 切换实时预览                      | Switch watch/unwatch                               |\n| F10                                             | 全屏HTML预览(按 Shift + ESC 退出) | Full preview HTML (Press Shift + ESC exit)         |\n| F11                                             | 切换全屏状态                      | Switch fullscreen (Press ESC exit)                 |\n| Ctrl + 1~6 / Command + 1~6                      | 插入标题1~6                       | Insert heading 1~6                                 |\n| Ctrl + A / Command + A                          | 全选                              | Select all                                         |\n| Ctrl + B / Command + B                          | 插入粗体                          | Insert bold                                        |\n| Ctrl + D / Command + D                          | 插入日期时间                      | Insert datetime                                    |\n| Ctrl + E / Command + E                          | 插入Emoji符号                     | Insert &#58;emoji&#58;                             |\n| Ctrl + F / Command + F                          | 查找/搜索                         | Start searching                                    |\n| Ctrl + G / Command + G                          | 切换到下一个搜索结果项            | Find next search results                           |\n| Ctrl + H / Command + H                          | 插入水平线                        | Insert horizontal rule                             |\n| Ctrl + I / Command + I                          | 插入斜体                          | Insert italic                                      |\n| Ctrl + K / Command + K                          | 插入行内代码                      | Insert inline code                                 |\n| Ctrl + L / Command + L                          | 插入链接                          | Insert link                                        |\n| Ctrl + U / Command + U                          | 插入无序列表                      | Insert unordered list                              |\n| Ctrl + Q                                        | 代码折叠切换                      | Switch code fold                                   |\n| Ctrl + Z / Command + Z                          | 撤销                              | Undo                                               |\n| Ctrl + Y / Command + Y                          | 重做                              | Redo                                               |\n| Ctrl + Shift + A                                | 插入@链接                         | Insert &#64;link                                   |\n| Ctrl + Shift + C                                | 插入行内代码                      | Insert inline code                                 |\n| Ctrl + Shift + E                                | 打开插入Emoji表情对话框           | Open emoji dialog                                  |\n| Ctrl + Shift + F / Command + Option + F         | 替换                              | Replace                                            |\n| Ctrl + Shift + G / Shift + Command + G          | 切换到上一个搜索结果项            | Find previous search results                       |\n| Ctrl + Shift + H                                | 打开HTML实体字符对话框            | Open HTML Entities dialog                          |\n| Ctrl + Shift + I                                | 插入图片                          | Insert image &#33;[]&#40;&#41;                     |\n| Ctrl + Shift + K                                | 插入TeX(KaTeX)公式符号            | Insert TeX(KaTeX) symbol &#36;&#36;TeX&#36;&#36;   |\n| Ctrl + Shift + L                                | 打开插入链接对话框                | Open link dialog                                   |\n| Ctrl + Shift + O                                | 插入有序列表                      | Insert ordered list                                |\n| Ctrl + Shift + P                                | 打开插入PRE对话框                 | Open Preformatted text dialog                      |\n| Ctrl + Shift + Q                                | 插入引用                          | Insert blockquotes                                 |\n| Ctrl + Shift + R / Shift + Command + Option + F | 全部替换                          | Replace all                                        |\n| Ctrl + Shift + S                                | 插入删除线                        | Insert strikethrough                               |\n| Ctrl + Shift + T                                | 打开插入表格对话框                | Open table dialog                                  |\n| Ctrl + Shift + U                                | 将所选文字转成大写                | Selection text convert to uppercase                |\n| Shift + Alt + C                                 | 插入```代码                       | Insert code blocks (```)                           |\n| Shift + Alt + H                                 | 打开使用帮助对话框                | Open help dialog                                   |\n| Shift + Alt + L                                 | 将所选文本转成小写                | Selection text convert to lowercase                |\n| Shift + Alt + P                                 | 插入分页符                        | Insert page break                                  |\n| Alt + L                                         | 将所选文本转成小写                | Selection text convert to lowercase                |\n| Shift + Alt + U                                 | 将所选的每个单词的首字母转成大写  | Selection words first letter convert to Uppercase  |\n| Ctrl + Shift + Alt + C                          | 打开插入代码块对话框层            | Open code blocks dialog                            |\n| Ctrl + Shift + Alt + I                          | 打开插入图片对话框层              | Open image dialog                                  |\n| Ctrl + Shift + Alt + U                          | 将所选文本的第一个首字母转成大写  | Selection text first letter convert to uppercase   |\n| Ctrl + Alt + G                                  | 跳转到指定的行                    | Goto line                                          |\n\n##### Emoji表情参考 (Emoji reference)\n\n- [Github emoji](http://www.emoji-cheat-sheet.com/ \"Github emoji\")\n- [Twitter Emoji \\(Twemoji\\)](http://twitter.github.io/twemoji/preview.html \"Twitter Emoji \\(Twemoji\\)\")\n- [FontAwesome icons emoji](http://fortawesome.github.io/Font-Awesome/icons/ \"FontAwesome icons emoji\")\n\n##### 流程图参考 (Flowchart reference)\n\n[http://adrai.github.io/flowchart.js/](http://adrai.github.io/flowchart.js/)\n\n##### 时序图参考 (SequenceDiagram reference)\n\n[http://bramp.github.io/js-sequence-diagrams/](http://bramp.github.io/js-sequence-diagrams/)\n\n##### TeX/LaTeX reference\n\n[http://meta.wikimedia.org/wiki/Help:Formula](http://meta.wikimedia.org/wiki/Help:Formula)\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/html-entities-dialog/html-entities-dialog.js",
    "content": "/*!\n * HTML entities dialog plugin for Editor.md\n *\n * @file        html-entities-dialog.js\n * @author      pandao\n * @version     1.2.0\n * @updateTime  2015-03-08\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n\tvar factory = function (exports) {\n\n\t\tvar $            = jQuery;\n\t\tvar pluginName   = \"html-entities-dialog\";\n\t\tvar selecteds    = [];\n\t\tvar entitiesData = [];\n\n\t\texports.fn.htmlEntitiesDialog = function() {\n\t\t\tvar _this       = this;\n\t\t\tvar cm          = this.cm;\n\t\t\tvar lang        = _this.lang;\n\t\t\tvar settings    = _this.settings;\n\t\t\tvar path        = settings.pluginPath + pluginName + \"/\";\n\t\t\tvar editor      = this.editor;\n\t\t\tvar cursor      = cm.getCursor();\n\t\t\tvar selection   = cm.getSelection();\n\t\t\tvar classPrefix = _this.classPrefix;\n\n\t\t\tvar dialogName  = classPrefix + \"dialog-\" + pluginName, dialog;\n\t\t\tvar dialogLang  = lang.dialog.htmlEntities;\n\n\t\t\tvar dialogContent = [\n\t\t\t\t'<div class=\"' + classPrefix + 'html-entities-box\" style=\\\"width: 760px;height: 334px;margin-bottom: 8px;overflow: hidden;overflow-y: auto;\\\">',\n\t\t\t\t'<div class=\"' + classPrefix + 'grid-table\">',\n\t\t\t\t'</div>',\n\t\t\t\t'</div>',\n\t\t\t].join(\"\\r\\n\");\n\n\t\t\tcm.focus();\n\n\t\t\tif (editor.find(\".\" + dialogName).length > 0) \n\t\t\t{\n                dialog = editor.find(\".\" + dialogName);\n\n\t\t\t\tselecteds = [];\n\t\t\t\tdialog.find(\"a\").removeClass(\"selected\");\n\n\t\t\t\tthis.dialogShowMask(dialog);\n\t\t\t\tthis.dialogLockScreen();\n\t\t\t\tdialog.show();\n\t\t\t} \n\t\t\telse\n\t\t\t{\n\t\t\t\tdialog = this.createDialog({\n\t\t\t\t\tname       : dialogName,\n\t\t\t\t\ttitle      : dialogLang.title,\n\t\t\t\t\twidth      : 800,\n\t\t\t\t\theight     : 475,\n\t\t\t\t\tmask       : settings.dialogShowMask,\n\t\t\t\t\tdrag       : settings.dialogDraggable,\n\t\t\t\t\tcontent    : dialogContent,\n\t\t\t\t\tlockScreen : settings.dialogLockScreen,\n\t\t\t\t\tmaskStyle  : {\n\t\t\t\t\t\topacity         : settings.dialogMaskOpacity,\n\t\t\t\t\t\tbackgroundColor : settings.dialogMaskBgColor\n\t\t\t\t\t},\n\t\t\t\t\tbuttons    : {\n\t\t\t\t\t\tenter  : [lang.buttons.enter, function() {\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tcm.replaceSelection(selecteds.join(\" \"));\n\t\t\t\t\t\t\tthis.hide().lockScreen(false).hideMask();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}],\n\t\t\t\t\t\tcancel : [lang.buttons.cancel, function() {                           \n\t\t\t\t\t\t\tthis.hide().lockScreen(false).hideMask();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\t\t\n\t\t\tvar table = dialog.find(\".\" + classPrefix + \"grid-table\");\n\n\t\t\tvar drawTable = function() {\n\n\t\t\t\tif (entitiesData.length < 1) return ;\n\n\t\t\t\tvar rowNumber = 20;\n\t\t\t\tvar pageTotal = Math.ceil(entitiesData.length / rowNumber);\n\n\t\t\t\ttable.html(\"\");\n\t\t\t\t\n\t\t\t\tfor (var i = 0; i < pageTotal; i++)\n\t\t\t\t{\n\t\t\t\t\tvar row = \"<div class=\\\"\" + classPrefix + \"grid-table-row\\\">\";\n\t\t\t\t\t\n\t\t\t\t\tfor (var x = 0; x < rowNumber; x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tvar entity = entitiesData[(i * rowNumber) + x];\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (typeof entity !== \"undefined\")\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tvar name = entity.name.replace(\"&amp;\", \"&\");\n\n\t\t\t\t\t\t\trow += \"<a href=\\\"javascript:;\\\" value=\\\"\" + entity.name + \"\\\" title=\\\"\" + name + \"\\\" class=\\\"\" + classPrefix + \"html-entity-btn\\\">\" + name + \"</a>\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\trow += \"</div>\";\n\t\t\t\t\t\n\t\t\t\t\ttable.append(row);\n\t\t\t\t}\n\n\t\t\t\tdialog.find(\".\" + classPrefix + \"html-entity-btn\").bind(exports.mouseOrTouch(\"click\", \"touchend\"), function() {\n\t\t\t\t\t$(this).toggleClass(\"selected\");\n\n\t\t\t\t\tif ($(this).hasClass(\"selected\")) \n\t\t\t\t\t{\n\t\t\t\t\t\tselecteds.push($(this).attr(\"value\"));\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t};\n\t\t\t\n\t\t\tif (entitiesData.length < 1) \n\t\t\t{            \n\t\t\t\tif (typeof (dialog.loading) == \"function\") dialog.loading(true);\n\n\t\t\t\t$.getJSON(path + pluginName.replace(\"-dialog\", \"\") + \".json\", function(json) {\n\n\t\t\t\t\tif (typeof (dialog.loading) == \"function\") dialog.loading(false);\n\n\t\t\t\t\tentitiesData = json;\n\t\t\t\t\tdrawTable();\n\t\t\t\t});\n\t\t\t}\n\t\t\telse\n\t\t\t{\t\t\n\t\t\t\tdrawTable();\n\t\t\t}\n\t\t};\n\n\t};\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/html-entities-dialog/html-entities.json",
    "content": "[\n\t{\n\t\t\"name\" : \"&amp;#64;\",\n\t\t\"description\":\"at symbol\"\t\t\n\t},\n\t{\n\t\t\"name\":\"&amp;copy;\",\n\t\t\"description\":\"copyright symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;reg;\",\n\t\t\"description\":\"registered symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;trade;\",\n\t\t\"description\":\"trademark symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;hearts;\",\n\t\t\"description\":\"heart\"\n\t},\n\t{\n\t\t\"name\":\"&amp;nbsp;\",\n\t\t\"description\":\"Inserts a non-breaking blank space\"\n\t},\n\t{\n\t\t\"name\":\"&amp;amp;\",\n\t\t\"description\":\"Ampersand\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#36;\",\n\t\t\"description\":\"dollar symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;cent;\",\n\t\t\"description\":\"Cent symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;pound;\",\n\t\t\"description\":\"Pound\"\n\t},\n\t{\n\t\t\"name\":\"&amp;yen;\",\n\t\t\"description\":\"Yen\"\n\t},\n\t{\n\t\t\"name\":\"&amp;euro;\",\n\t\t\"description\":\"Euro symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;quot;\",\n\t\t\"description\":\"quotation mark\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ldquo;\",\n\t\t\"description\":\"Opening Double Quotes \"\n\t},\n\t{\n\t\t\"name\":\"&amp;rdquo;\",\n\t\t\"description\":\"Closing Double Quotes \"\n\t},\n\t{\n\t\t\"name\":\"&amp;lsquo;\",\n\t\t\"description\":\"Opening Single Quote Mark \"\n\t},\n\t{\n\t\t\"name\":\"&amp;rsquo;\",\n\t\t\"description\":\"Closing Single Quote Mark \"\n\t},\n\t{\n\t\t\"name\":\"&amp;laquo;\",\n\t\t\"description\":\"angle quotation mark (left)\"\n\t},\n\t{\n\t\t\"name\":\"&amp;raquo;\",\n\t\t\"description\":\"angle quotation mark (right)\"\n\t},\n\t{\n\t\t\"name\":\"&amp;lsaquo;\",\n\t\t\"description\":\"single left angle quotation\"\n\t},\n\t{\n\t\t\"name\":\"&amp;rsaquo;\",\n\t\t\"description\":\"single right angle quotation\"\n\t},\n\t{\n\t\t\"name\":\"&amp;sect;\",\n\t\t\"description\":\"Section Symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;micro;\",\n\t\t\"description\":\"micro sign\"\n\t},\n\t{\n\t\t\"name\":\"&amp;para;\",\n\t\t\"description\":\"Paragraph symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;bull;\",\n\t\t\"description\":\"Big List Dot\"\n\t},\n\t{\n\t\t\"name\":\"&amp;middot;\",\n\t\t\"description\":\"Medium List Dot\"\n\t},\n\t{\n\t\t\"name\":\"&amp;hellip;\",\n\t\t\"description\":\"horizontal ellipsis\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#124;\",\n\t\t\"description\":\"vertical bar\"\n\t},\n\t{\n\t\t\"name\":\"&amp;brvbar;\",\n\t\t\"description\":\"broken vertical bar\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ndash;\",\n\t\t\"description\":\"en-dash\"\n\t},\n\t{\n\t\t\"name\":\"&amp;mdash;\",\n\t\t\"description\":\"em-dash\"\n\t},\n\t{\n\t\t\"name\":\"&amp;curren;\",\n\t\t\"description\":\"Generic currency symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#33;\",\n\t\t\"description\":\"exclamation point\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#35;\",\n\t\t\"description\":\"number sign\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#39;\",\n\t\t\"description\":\"single quote\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#40;\",\n\t\t\"description\":\"\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#41;\",\n\t\t\"description\":\"\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#42;\",\n\t\t\"description\":\"asterisk\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#43;\",\n\t\t\"description\":\"plus sign\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#44;\",\n\t\t\"description\":\"comma\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#45;\",\n\t\t\"description\":\"minus sign - hyphen\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#46;\",\n\t\t\"description\":\"period\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#47;\",\n\t\t\"description\":\"slash\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#48;\",\n\t\t\"description\":\"0\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#49;\",\n\t\t\"description\":\"1\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#50;\",\n\t\t\"description\":\"2\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#51;\",\n\t\t\"description\":\"3\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#52;\",\n\t\t\"description\":\"4\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#53;\",\n\t\t\"description\":\"5\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#54;\",\n\t\t\"description\":\"6\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#55;\",\n\t\t\"description\":\"7\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#56;\",\n\t\t\"description\":\"8\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#57;\",\n\t\t\"description\":\"9\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#58;\",\n\t\t\"description\":\"colon\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#59;\",\n\t\t\"description\":\"semicolon\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#61;\",\n\t\t\"description\":\"equal sign\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#63;\",\n\t\t\"description\":\"question mark\"\n\t},\n\t{\n\t\t\"name\":\"&amp;lt;\",\n\t\t\"description\":\"Less than\"\n\t},\n\t{\n\t\t\"name\":\"&amp;gt;\",\n\t\t\"description\":\"Greater than\"\n\t},\n\t{\n\t\t\"name\":\"&amp;le;\",\n\t\t\"description\":\"Less than or Equal to\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ge;\",\n\t\t\"description\":\"Greater than or Equal to\"\n\t},\n\t{\n\t\t\"name\":\"&amp;times;\",\n\t\t\"description\":\"Multiplication symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;divide;\",\n\t\t\"description\":\"Division symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;minus;\",\n\t\t\"description\":\"Minus symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;plusmn;\",\n\t\t\"description\":\"Plus/minus symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ne;\",\n\t\t\"description\":\"Not Equal\"\n\t},\n\t{\n\t\t\"name\":\"&amp;sup1;\",\n\t\t\"description\":\"Superscript 1\"\n\t},\n\t{\n\t\t\"name\":\"&amp;sup2;\",\n\t\t\"description\":\"Superscript 2\"\n\t},\n\t{\n\t\t\"name\":\"&amp;sup3;\",\n\t\t\"description\":\"Superscript 3\"\n\t},\n\t{\n\t\t\"name\":\"&amp;frac12;\",\n\t\t\"description\":\"Fraction ½\"\n\t},\n\t{\n\t\t\"name\":\"&amp;frac14;\",\n\t\t\"description\":\"Fraction ¼\"\n\t},\n\t{\n\t\t\"name\":\"&amp;frac34;\",\n\t\t\"description\":\"Fraction ¾\"\n\t},\n\t{\n\t\t\"name\":\"&amp;permil;\",\n\t\t\"description\":\"per mille\"\n\t},\n\t{\n\t\t\"name\":\"&amp;deg;\",\n\t\t\"description\":\"Degree symbol\"\n\t},\n\t{\n\t\t\"name\":\"&amp;radic;\",\n\t\t\"description\":\"square root\"\n\t},\n\t{\n\t\t\"name\":\"&amp;infin;\",\n\t\t\"description\":\"Infinity\"\n\t},\n\t{\n\t\t\"name\":\"&amp;larr;\",\n\t\t\"description\":\"left arrow\"\n\t},\n\t{\n\t\t\"name\":\"&amp;uarr;\",\n\t\t\"description\":\"up arrow\"\n\t},\n\t{\n\t\t\"name\":\"&amp;rarr;\",\n\t\t\"description\":\"right arrow\"\n\t},\n\t{\n\t\t\"name\":\"&amp;darr;\",\n\t\t\"description\":\"down arrow\"\n\t},\n\t{\n\t\t\"name\":\"&amp;harr;\",\n\t\t\"description\":\"left right arrow\"\n\t},\n\t{\n\t\t\"name\":\"&amp;crarr;\",\n\t\t\"description\":\"carriage return arrow\"\n\t},\n\t{\n\t\t\"name\":\"&amp;lceil;\",\n\t\t\"description\":\"left ceiling\"\n\t},\n\t{\n\t\t\"name\":\"&amp;rceil;\",\n\t\t\"description\":\"right ceiling\"\n\t},\n\t{\n\t\t\"name\":\"&amp;lfloor;\",\n\t\t\"description\":\"left floor\"\n\t},\n\t{\n\t\t\"name\":\"&amp;rfloor;\",\n\t\t\"description\":\"right floor\"\n\t},\n\t{\n\t\t\"name\":\"&amp;spades;\",\n\t\t\"description\":\"spade\"\n\t},\n\t{\n\t\t\"name\":\"&amp;clubs;\",\n\t\t\"description\":\"club\"\n\t},\n\t{\n\t\t\"name\":\"&amp;hearts;\",\n\t\t\"description\":\"heart\"\n\t},\n\t{\n\t\t\"name\":\"&amp;diams;\",\n\t\t\"description\":\"diamond\"\n\t},\n\t{\n\t\t\"name\":\"&amp;loz;\",\n\t\t\"description\":\"lozenge\"\n\t},\n\t{\n\t\t\"name\":\"&amp;dagger;\",\n\t\t\"description\":\"dagger\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Dagger;\",\n\t\t\"description\":\"double dagger\"\n\t},\n\t{\n\t\t\"name\":\"&amp;iexcl;\",\n\t\t\"description\":\"inverted exclamation mark\"\n\t},\n\t{\n\t\t\"name\":\"&amp;iquest;\",\n\t\t\"description\":\"inverted question mark\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#338;\",\n\t\t\"description\":\"latin capital letter OE\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#339;\",\n\t\t\"description\":\"latin small letter oe\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#352;\",\n\t\t\"description\":\"latin capital letter S with caron\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#353;\",\n\t\t\"description\":\"latin small letter s with caron\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#376;\",\n\t\t\"description\":\"latin capital letter Y with diaeresis\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#402;\",\n\t\t\"description\":\"latin small f with hook - function\"\n\t},\n\t{\n\t\t\"name\":\"&amp;not;\",\n\t\t\"description\":\"not sign\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ordf;\",\n\t\t\"description\":\"feminine ordinal indicator\"\n\t},\n\t{\n\t\t\"name\":\"&amp;uml;\",\n\t\t\"description\":\"spacing diaeresis - umlaut\"\n\t},\n\t{\n\t\t\"name\":\"&amp;macr;\",\n\t\t\"description\":\"spacing macron - overline\"\n\t},\n\t{\n\t\t\"name\":\"&amp;acute;\",\n\t\t\"description\":\"acute accent - spacing acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Agrave;\",\n\t\t\"description\":\"latin capital letter A with grave\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Aacute;\",\n\t\t\"description\":\"latin capital letter A with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Acirc;\",\n\t\t\"description\":\"latin capital letter A with circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Atilde;\",\n\t\t\"description\":\"latin capital letter A with tilde\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Auml;\",\n\t\t\"description\":\"latin capital letter A with diaeresis\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Aring;\",\n\t\t\"description\":\"latin capital letter A with ring above\"\n\t},\n\t{\n\t\t\"name\":\"&amp;AElig;\",\n\t\t\"description\":\"latin capital letter AE\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Ccedil;\",\n\t\t\"description\":\"latin capital letter C with cedilla\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Egrave;\",\n\t\t\"description\":\"latin capital letter E with grave\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Eacute;\",\n\t\t\"description\":\"latin capital letter E with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Ecirc;\",\n\t\t\"description\":\"latin capital letter E with circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Euml;\",\n\t\t\"description\":\"latin capital letter E with diaeresis\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Igrave;\",\n\t\t\"description\":\"latin capital letter I with grave\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Iacute;\",\n\t\t\"description\":\"latin capital letter I with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Icirc;\",\n\t\t\"description\":\"latin capital letter I with circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Iuml;\",\n\t\t\"description\":\"latin capital letter I with diaeresis\"\n\t},\n\n\t{\n\t\t\"name\":\"&amp;ETH;\",\n\t\t\"description\":\"latin capital letter ETH\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Ntilde;\",\n\t\t\"description\":\"latin capital letter N with tilde\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Ograve;\",\n\t\t\"description\":\"latin capital letter O with grave\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Oacute;\",\n\t\t\"description\":\"latin capital letter O with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Ocirc;\",\n\t\t\"description\":\"latin capital letter O with circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Otilde;\",\n\t\t\"description\":\"latin capital letter O with tilde\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Ouml;\",\n\t\t\"description\":\"latin capital letter O with diaeresis\"\n\t},\n\t{\n\t\t\"name\":\"&amp;times;\",\n\t\t\"description\":\"multiplication sign\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Oslash;\",\n\t\t\"description\":\"latin capital letter O with slash\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Ugrave;\",\n\t\t\"description\":\"latin capital letter U with grave\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Uacute;\",\n\t\t\"description\":\"latin capital letter U with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Ucirc;\",\n\t\t\"description\":\"latin capital letter U with circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Uuml;\",\n\t\t\"description\":\"latin capital letter U with diaeresis\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Yacute;\",\n\t\t\"description\":\"latin capital letter Y with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;THORN;\",\n\t\t\"description\":\"latin capital letter THORN\"\n\t},\n\t{\n\t\t\"name\":\"&amp;szlig;\",\n\t\t\"description\":\"latin small letter sharp s - ess-zed\"\n\t},\n\n\n\t{\n\t\t\"name\":\"&amp;eth;\",\n\t\t\"description\":\"latin capital letter eth\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ntilde;\",\n\t\t\"description\":\"latin capital letter n with tilde\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ograve;\",\n\t\t\"description\":\"latin capital letter o with grave\"\n\t},\n\t{\n\t\t\"name\":\"&amp;oacute;\",\n\t\t\"description\":\"latin capital letter o with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ocirc;\",\n\t\t\"description\":\"latin capital letter o with circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;otilde;\",\n\t\t\"description\":\"latin capital letter o with tilde\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ouml;\",\n\t\t\"description\":\"latin capital letter o with diaeresis\"\n\t},\n\t{\n\t\t\"name\":\"&amp;times;\",\n\t\t\"description\":\"multiplication sign\"\n\t},\n\t{\n\t\t\"name\":\"&amp;oslash;\",\n\t\t\"description\":\"latin capital letter o with slash\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ugrave;\",\n\t\t\"description\":\"latin capital letter u with grave\"\n\t},\n\t{\n\t\t\"name\":\"&amp;uacute;\",\n\t\t\"description\":\"latin capital letter u with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ucirc;\",\n\t\t\"description\":\"latin capital letter u with circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;uuml;\",\n\t\t\"description\":\"latin capital letter u with diaeresis\"\n\t},\n\t{\n\t\t\"name\":\"&amp;yacute;\",\n\t\t\"description\":\"latin capital letter y with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;thorn;\",\n\t\t\"description\":\"latin capital letter thorn\"\n\t},\n\t{\n\t\t\"name\":\"&amp;yuml;\",\n\t\t\"description\":\"latin small letter y with diaeresis\"\n\t},\n\n\t{\n\t\t\"name\":\"&amp;agrave;\",\n\t\t\"description\":\"latin capital letter a with grave\"\n\t},\n\t{\n\t\t\"name\":\"&amp;aacute;\",\n\t\t\"description\":\"latin capital letter a with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;acirc;\",\n\t\t\"description\":\"latin capital letter a with circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;atilde;\",\n\t\t\"description\":\"latin capital letter a with tilde\"\n\t},\n\t{\n\t\t\"name\":\"&amp;auml;\",\n\t\t\"description\":\"latin capital letter a with diaeresis\"\n\t},\n\t{\n\t\t\"name\":\"&amp;aring;\",\n\t\t\"description\":\"latin capital letter a with ring above\"\n\t},\n\t{\n\t\t\"name\":\"&amp;aelig;\",\n\t\t\"description\":\"latin capital letter ae\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ccedil;\",\n\t\t\"description\":\"latin capital letter c with cedilla\"\n\t},\n\t{\n\t\t\"name\":\"&amp;egrave;\",\n\t\t\"description\":\"latin capital letter e with grave\"\n\t},\n\t{\n\t\t\"name\":\"&amp;eacute;\",\n\t\t\"description\":\"latin capital letter e with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;ecirc;\",\n\t\t\"description\":\"latin capital letter e with circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;euml;\",\n\t\t\"description\":\"latin capital letter e with diaeresis\"\n\t},\n\t{\n\t\t\"name\":\"&amp;igrave;\",\n\t\t\"description\":\"latin capital letter i with grave\"\n\t},\n\t{\n\t\t\"name\":\"&amp;Iacute;\",\n\t\t\"description\":\"latin capital letter i with acute\"\n\t},\n\t{\n\t\t\"name\":\"&amp;icirc;\",\n\t\t\"description\":\"latin capital letter i with circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;iuml;\",\n\t\t\"description\":\"latin capital letter i with diaeresis\"\n\t},\n\n\t{\n\t\t\"name\":\"&amp;#65;\",\n\t\t\"description\":\"A\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#66;\",\n\t\t\"description\":\"B\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#67;\",\n\t\t\"description\":\"C\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#68;\",\n\t\t\"description\":\"D\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#69;\",\n\t\t\"description\":\"E\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#70;\",\n\t\t\"description\":\"F\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#71;\",\n\t\t\"description\":\"G\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#72;\",\n\t\t\"description\":\"H\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#73;\",\n\t\t\"description\":\"I\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#74;\",\n\t\t\"description\":\"J\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#75;\",\n\t\t\"description\":\"K\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#76;\",\n\t\t\"description\":\"L\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#77;\",\n\t\t\"description\":\"M\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#78;\",\n\t\t\"description\":\"N\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#79;\",\n\t\t\"description\":\"O\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#80;\",\n\t\t\"description\":\"P\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#81;\",\n\t\t\"description\":\"Q\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#82;\",\n\t\t\"description\":\"R\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#83;\",\n\t\t\"description\":\"S\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#84;\",\n\t\t\"description\":\"T\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#85;\",\n\t\t\"description\":\"U\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#86;\",\n\t\t\"description\":\"V\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#87;\",\n\t\t\"description\":\"W\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#88;\",\n\t\t\"description\":\"X\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#89;\",\n\t\t\"description\":\"Y\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#90;\",\n\t\t\"description\":\"Z\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#91;\",\n\t\t\"description\":\"opening bracket\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#92;\",\n\t\t\"description\":\"backslash\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#93;\",\n\t\t\"description\":\"closing bracket\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#94;\",\n\t\t\"description\":\"caret - circumflex\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#95;\",\n\t\t\"description\":\"underscore\"\n\t},\n\n\t{\n\t\t\"name\":\"&amp;#96;\",\n\t\t\"description\":\"grave accent\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#97;\",\n\t\t\"description\":\"a\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#98;\",\n\t\t\"description\":\"b\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#99;\",\n\t\t\"description\":\"c\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#100;\",\n\t\t\"description\":\"d\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#101;\",\n\t\t\"description\":\"e\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#102;\",\n\t\t\"description\":\"f\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#103;\",\n\t\t\"description\":\"g\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#104;\",\n\t\t\"description\":\"h\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#105;\",\n\t\t\"description\":\"i\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#106;\",\n\t\t\"description\":\"j\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#107;\",\n\t\t\"description\":\"k\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#108;\",\n\t\t\"description\":\"l\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#109;\",\n\t\t\"description\":\"m\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#110;\",\n\t\t\"description\":\"n\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#111;\",\n\t\t\"description\":\"o\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#112;\",\n\t\t\"description\":\"p\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#113;\",\n\t\t\"description\":\"q\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#114;\",\n\t\t\"description\":\"r\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#115;\",\n\t\t\"description\":\"s\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#116;\",\n\t\t\"description\":\"t\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#117;\",\n\t\t\"description\":\"u\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#118;\",\n\t\t\"description\":\"v\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#119;\",\n\t\t\"description\":\"w\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#120;\",\n\t\t\"description\":\"x\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#121;\",\n\t\t\"description\":\"y\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#122;\",\n\t\t\"description\":\"z\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#123;\",\n\t\t\"description\":\"opening brace\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#124;\",\n\t\t\"description\":\"vertical bar\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#125;\",\n\t\t\"description\":\"closing brace\"\n\t},\n\t{\n\t\t\"name\":\"&amp;#126;\",\n\t\t\"description\":\"equivalency sign - tilde\"\n\t}\n]"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/image-dialog/image-dialog.js",
    "content": "/*!\n * Image (upload) dialog plugin for Editor.md\n *\n * @file        image-dialog.js\n * @author      pandao\n * @version     1.3.4\n * @updateTime  2015-06-09\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n    var factory = function (exports) {\n\n\t\tvar pluginName   = \"image-dialog\";\n\n\t\texports.fn.imageDialog = function() {\n\n            var _this       = this;\n            var cm          = this.cm;\n            var lang        = this.lang;\n            var editor      = this.editor;\n            var settings    = this.settings;\n            var cursor      = cm.getCursor();\n            var selection   = cm.getSelection();\n            var imageLang   = lang.dialog.image;\n            var classPrefix = this.classPrefix;\n            var iframeName  = classPrefix + \"image-iframe\";\n\t\t\tvar dialogName  = classPrefix + pluginName, dialog;\n\n\t\t\tcm.focus();\n\n            var loading = function(show) {\n                var _loading = dialog.find(\".\" + classPrefix + \"dialog-mask\");\n                _loading[(show) ? \"show\" : \"hide\"]();\n            };\n\n            if (editor.find(\".\" + dialogName).length < 1)\n            {\n                var guid   = (new Date).getTime();\n                var action = settings.imageUploadURL + (settings.imageUploadURL.indexOf(\"?\") >= 0 ? \"&\" : \"?\") + \"guid=\" + guid;\n\n                if (settings.crossDomainUpload)\n                {\n                    action += \"&callback=\" + settings.uploadCallbackURL + \"&dialog_id=editormd-image-dialog-\" + guid;\n                }\n\n                var dialogContent = ( (settings.imageUpload) ? \"<form action=\\\"\" + action +\"\\\" target=\\\"\" + iframeName + \"\\\" method=\\\"post\\\" enctype=\\\"multipart/form-data\\\" class=\\\"\" + classPrefix + \"form\\\">\" : \"<div class=\\\"\" + classPrefix + \"form\\\">\" ) +\n                                        ( (settings.imageUpload) ? \"<iframe name=\\\"\" + iframeName + \"\\\" id=\\\"\" + iframeName + \"\\\" guid=\\\"\" + guid + \"\\\"></iframe>\" : \"\" ) +\n                                        \"<label>\" + imageLang.url + \"</label>\" +\n                                        \"<input type=\\\"text\\\" data-url />\" + (function(){\n                                            return (settings.imageUpload) ? \"<div class=\\\"\" + classPrefix + \"file-input\\\">\" +\n                                                                                \"<input type=\\\"file\\\" name=\\\"\" + classPrefix + \"image-file\\\" accept=\\\"image/*\\\" />\" +\n                                                                                \"<input type=\\\"submit\\\" value=\\\"\" + imageLang.uploadButton + \"\\\" />\" +\n                                                                            \"</div>\" : \"\";\n                                        })() +\n                                        \"<br/>\" +\n                                        \"<label>\" + imageLang.alt + \"</label>\" +\n                                        \"<input type=\\\"text\\\" value=\\\"\" + selection + \"\\\" data-alt />\" +\n                                        \"<br/>\" +\n                                        \"<label>\" + imageLang.link + \"</label>\" +\n                                        \"<input type=\\\"text\\\" value=\\\"http://\\\" data-link />\" +\n                                        \"<br/>\" +\n                                    ( (settings.imageUpload) ? \"</form>\" : \"</div>\");\n\n                //var imageFooterHTML = \"<button class=\\\"\" + classPrefix + \"btn \" + classPrefix + \"image-manager-btn\\\" style=\\\"float:left;\\\">\" + imageLang.managerButton + \"</button>\";\n\n                dialog = this.createDialog({\n                    title      : imageLang.title,\n                    width      : (settings.imageUpload) ? 465 : 380,\n                    height     : 254,\n                    name       : dialogName,\n                    content    : dialogContent,\n                    mask       : settings.dialogShowMask,\n                    drag       : settings.dialogDraggable,\n                    lockScreen : settings.dialogLockScreen,\n                    maskStyle  : {\n                        opacity         : settings.dialogMaskOpacity,\n                        backgroundColor : settings.dialogMaskBgColor\n                    },\n                    buttons : {\n                        enter : [lang.buttons.enter, function() {\n                            var url  = this.find(\"[data-url]\").val();\n                            var alt  = this.find(\"[data-alt]\").val();\n                            var link = this.find(\"[data-link]\").val();\n\n                            if (url === \"\")\n                            {\n                                alert(imageLang.imageURLEmpty);\n                                return false;\n                            }\n\n\t\t\t\t\t\t\tvar altAttr = (alt !== \"\") ? \" \\\"\" + alt + \"\\\"\" : \"\";\n\n                            if (link === \"\" || link === \"http://\")\n                            {\n                                cm.replaceSelection(\"![\" + alt + \"](\" + url + altAttr + \")\");\n                            }\n                            else\n                            {\n                                cm.replaceSelection(\"[![\" + alt + \"](\" + url + altAttr + \")](\" + link + altAttr + \")\");\n                            }\n\n                            if (alt === \"\") {\n                                cm.setCursor(cursor.line, cursor.ch + 2);\n                            }\n\n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }],\n\n                        cancel : [lang.buttons.cancel, function() {\n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }]\n                    }\n                });\n\n                dialog.attr(\"id\", classPrefix + \"image-dialog-\" + guid);\n\n\t\t\t\tif (!settings.imageUpload) {\n                    return ;\n                }\n\n\t\t\t\tvar fileInput  = dialog.find(\"[name=\\\"\" + classPrefix + \"image-file\\\"]\");\n\n\t\t\t\tfileInput.bind(\"change\", function() {\n\t\t\t\t\tvar fileName  = fileInput.val();\n\t\t\t\t\tvar isImage   = new RegExp(\"(\\\\.(\" + settings.imageFormats.join(\"|\") + \"))$\"); // /(\\.(webp|jpg|jpeg|gif|bmp|png))$/\n\n\t\t\t\t\tif (fileName === \"\")\n\t\t\t\t\t{\n\t\t\t\t\t\talert(imageLang.uploadFileEmpty);\n\n                        return false;\n\t\t\t\t\t}\n\n                    if (!isImage.test(fileName))\n\t\t\t\t\t{\n\t\t\t\t\t\talert(imageLang.formatNotAllowed + settings.imageFormats.join(\", \"));\n\n                        return false;\n\t\t\t\t\t}\n\n                    loading(true);\n\n                    var submitHandler = function() {\n\n                        var uploadIframe = document.getElementById(iframeName);\n\n                        uploadIframe.onload = function() {\n\n                            loading(false);\n\n                            var body = (uploadIframe.contentWindow ? uploadIframe.contentWindow : uploadIframe.contentDocument).document.body;\n                            var json = (body.innerText) ? body.innerText : ( (body.textContent) ? body.textContent : null);\n\n                            json = (typeof JSON.parse !== \"undefined\") ? JSON.parse(json) : eval(\"(\" + json + \")\");\n\n                            if(!settings.crossDomainUpload)\n                            {\n                              if (json.success === 1)\n                              {\n                                  dialog.find(\"[data-url]\").val(json.url);\n                              }\n                              else\n                              {\n                                  alert(json.message);\n                              }\n                            }\n\n                            return false;\n                        };\n                    };\n\n                    dialog.find(\"[type=\\\"submit\\\"]\").bind(\"click\", submitHandler).trigger(\"click\");\n\t\t\t\t});\n            }\n\n\t\t\tdialog = editor.find(\".\" + dialogName);\n\t\t\tdialog.find(\"[type=\\\"text\\\"]\").val(\"\");\n\t\t\tdialog.find(\"[type=\\\"file\\\"]\").val(\"\");\n\t\t\tdialog.find(\"[data-link]\").val(\"http://\");\n\n\t\t\tthis.dialogShowMask(dialog);\n\t\t\tthis.dialogLockScreen();\n\t\t\tdialog.show();\n\n\t\t};\n\n\t};\n\n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    {\n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t}\n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/link-dialog/link-dialog.js",
    "content": "/*!\n * Link dialog plugin for Editor.md\n *\n * @file        link-dialog.js\n * @author      pandao\n * @version     1.2.1\n * @updateTime  2015-06-09\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n    var factory = function (exports) {\n\n\t\tvar pluginName   = \"link-dialog\";\n\n\t\texports.fn.linkDialog = function() {\n\n\t\t\tvar _this       = this;\n\t\t\tvar cm          = this.cm;\n            var editor      = this.editor;\n            var settings    = this.settings;\n            var selection   = cm.getSelection();\n            var lang        = this.lang;\n            var linkLang    = lang.dialog.link;\n            var classPrefix = this.classPrefix;\n\t\t\tvar dialogName  = classPrefix + pluginName, dialog;\n\n\t\t\tcm.focus();\n\n            if (editor.find(\".\" + dialogName).length > 0)\n            {\n                dialog = editor.find(\".\" + dialogName);\n                dialog.find(\"[data-url]\").val(\"http://\");\n                dialog.find(\"[data-title]\").val(selection);\n\n                this.dialogShowMask(dialog);\n                this.dialogLockScreen();\n                dialog.show();\n            }\n            else\n            {\n                var dialogHTML = \"<div class=\\\"\" + classPrefix + \"form\\\">\" + \n                                        \"<label>\" + linkLang.url + \"</label>\" + \n                                        \"<input type=\\\"text\\\" value=\\\"http://\\\" data-url />\" +\n                                        \"<br/>\" + \n                                        \"<label>\" + linkLang.urlTitle + \"</label>\" + \n                                        \"<input type=\\\"text\\\" value=\\\"\" + selection + \"\\\" data-title />\" + \n                                        \"<br/>\" +\n                                    \"</div>\";\n\n                dialog = this.createDialog({\n                    title      : linkLang.title,\n                    width      : 380,\n                    height     : 211,\n                    content    : dialogHTML,\n                    mask       : settings.dialogShowMask,\n                    drag       : settings.dialogDraggable,\n                    lockScreen : settings.dialogLockScreen,\n                    maskStyle  : {\n                        opacity         : settings.dialogMaskOpacity,\n                        backgroundColor : settings.dialogMaskBgColor\n                    },\n                    buttons    : {\n                        enter  : [lang.buttons.enter, function() {\n                            var url   = this.find(\"[data-url]\").val();\n                            var title = this.find(\"[data-title]\").val();\n\n                            if (url === \"http://\" || url === \"\")\n                            {\n                                alert(linkLang.urlEmpty);\n                                return false;\n                            }\n\n                            /*if (title === \"\")\n                            {\n                                alert(linkLang.titleEmpty);\n                                return false;\n                            }*/\n                            \n                            var str = \"[\" + title + \"](\" + url + \" \\\"\" + title + \"\\\")\";\n                            \n                            if (title == \"\")\n                            {\n                                str = \"[\" + url + \"](\" + url + \")\";\n                            }                                \n\n                            cm.replaceSelection(str);\n\n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }],\n\n                        cancel : [lang.buttons.cancel, function() {                                   \n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }]\n                    }\n                });\n\t\t\t}\n\t\t};\n\n\t};\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/plugin-template.js",
    "content": "/*!\n * Link dialog plugin for Editor.md\n *\n * @file        link-dialog.js\n * @author      pandao\n * @version     1.2.0\n * @updateTime  2015-03-07\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n    var factory = function (exports) {\n\n\t\tvar $            = jQuery;           // if using module loader(Require.js/Sea.js).\n\n\t\tvar langs = {\n\t\t\t\"zh-cn\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\ttable : \"表格\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\ttable : {\n\t\t\t\t\t\ttitle      : \"添加表格\",\n\t\t\t\t\t\tcellsLabel : \"单元格数\",\n\t\t\t\t\t\talignLabel : \"对齐方式\",\n\t\t\t\t\t\trows       : \"行数\",\n\t\t\t\t\t\tcols       : \"列数\",\n\t\t\t\t\t\taligns     : [\"默认\", \"左对齐\", \"居中对齐\", \"右对齐\"]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"zh-tw\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\ttable : \"添加表格\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\ttable : {\n\t\t\t\t\t\ttitle      : \"添加表格\",\n\t\t\t\t\t\tcellsLabel : \"單元格數\",\n\t\t\t\t\t\talignLabel : \"對齊方式\",\n\t\t\t\t\t\trows       : \"行數\",\n\t\t\t\t\t\tcols       : \"列數\",\n\t\t\t\t\t\taligns     : [\"默認\", \"左對齊\", \"居中對齊\", \"右對齊\"]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"en\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\ttable : \"Tables\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\ttable : {\n\t\t\t\t\t\ttitle      : \"Tables\",\n\t\t\t\t\t\tcellsLabel : \"Cells\",\n\t\t\t\t\t\talignLabel : \"Align\",\n\t\t\t\t\t\trows       : \"Rows\",\n\t\t\t\t\t\tcols       : \"Cols\",\n\t\t\t\t\t\taligns     : [\"Default\", \"Left align\", \"Center align\", \"Right align\"]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\texports.fn.htmlEntities = function() {\n\t\t\t/*\n\t\t\tvar _this       = this; // this == the current instance object of Editor.md\n\t\t\tvar lang        = _this.lang;\n\t\t\tvar settings    = _this.settings;\n\t\t\tvar editor      = this.editor;\n\t\t\tvar cursor      = cm.getCursor();\n\t\t\tvar selection   = cm.getSelection();\n\t\t\tvar classPrefix = this.classPrefix;\n\n\t\t\t$.extend(true, this.lang, langs[this.lang.name]); // l18n\n\t\t\tthis.setToolbar();\n\n\t\t\tcm.focus();\n\t\t\t*/\n\t\t\t//....\n\t\t};\n\n\t};\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/preformatted-text-dialog/preformatted-text-dialog.js",
    "content": "/*!\n * Preformatted text dialog plugin for Editor.md\n *\n * @file        preformatted-text-dialog.js\n * @author      pandao\n * @version     1.2.0\n * @updateTime  2015-03-07\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n    var factory = function (exports) {\n\t\tvar cmEditor;\n\t\tvar pluginName   = \"preformatted-text-dialog\";\n\n\t\texports.fn.preformattedTextDialog = function() {\n\n            var _this       = this;\n            var cm          = this.cm;\n            var lang        = this.lang;\n\t\t\tvar editor      = this.editor;\n            var settings    = this.settings;\n            var cursor      = cm.getCursor();\n            var selection   = cm.getSelection();\n            var classPrefix = this.classPrefix;\n\t\t\tvar dialogLang  = lang.dialog.preformattedText;\n\t\t\tvar dialogName  = classPrefix + pluginName, dialog;\n\n\t\t\tcm.focus();\n\n            if (editor.find(\".\" + dialogName).length > 0)\n            {\n                dialog = editor.find(\".\" + dialogName);\n                dialog.find(\"textarea\").val(selection);\n\n                this.dialogShowMask(dialog);\n                this.dialogLockScreen();\n                dialog.show();\n            }\n            else \n            {      \n                var dialogContent = \"<textarea placeholder=\\\"coding now....\\\" style=\\\"display:none;\\\">\" + selection + \"</textarea>\";\n\n                dialog = this.createDialog({\n                    name   : dialogName,\n                    title  : dialogLang.title,\n                    width  : 780,\n                    height : 540,\n                    mask   : settings.dialogShowMask,\n                    drag   : settings.dialogDraggable,\n                    content : dialogContent,\n                    lockScreen : settings.dialogLockScreen,\n                    maskStyle  : {\n                        opacity         : settings.dialogMaskOpacity,\n                        backgroundColor : settings.dialogMaskBgColor\n                    },\n                    buttons : {\n                        enter  : [lang.buttons.enter, function() {\n                            var codeTexts  = this.find(\"textarea\").val();\n\n                            if (codeTexts === \"\")\n                            {\n                                alert(dialogLang.emptyAlert);\n                                return false;\n                            }\n\n                            codeTexts = codeTexts.split(\"\\n\");\n\n                            for (var i in codeTexts)\n                            {\n                                codeTexts[i] = \"    \" + codeTexts[i];\n                            }\n                            \n                            codeTexts = codeTexts.join(\"\\n\");\n                            \n                            if (cursor.ch !== 0) {\n                                codeTexts = \"\\r\\n\\r\\n\" + codeTexts;\n                            }\n\n                            cm.replaceSelection(codeTexts);\n\n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }],\n                        cancel : [lang.buttons.cancel, function() {                                  \n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }]\n                    }\n                });\n            }\n\t\t\n\t\t\tvar cmConfig = {\n\t\t\t\tmode                      : \"text/html\",\n\t\t\t\ttheme                     : settings.theme,\n\t\t\t\ttabSize                   : 4,\n\t\t\t\tautofocus                 : true,\n\t\t\t\tautoCloseTags             : true,\n\t\t\t\tindentUnit                : 4,\n\t\t\t\tlineNumbers               : true,\n\t\t\t\tlineWrapping              : true,\n\t\t\t\textraKeys                 : {\"Ctrl-Q\": function(cm){ cm.foldCode(cm.getCursor()); }},\n\t\t\t\tfoldGutter                : true,\n\t\t\t\tgutters                   : [\"CodeMirror-linenumbers\", \"CodeMirror-foldgutter\"],\n\t\t\t\tmatchBrackets             : true,\n\t\t\t\tindentWithTabs            : true,\n\t\t\t\tstyleActiveLine           : true,\n\t\t\t\tstyleSelectedText         : true,\n\t\t\t\tautoCloseBrackets         : true,\n\t\t\t\tshowTrailingSpace         : true,\n\t\t\t\thighlightSelectionMatches : true\n\t\t\t};\n\t\t\t\n\t\t\tvar textarea = dialog.find(\"textarea\");\n\t\t\tvar cmObj    = dialog.find(\".CodeMirror\");\n\n\t\t\tif (dialog.find(\".CodeMirror\").length < 1) \n\t\t\t{\n\t\t\t\tcmEditor = exports.$CodeMirror.fromTextArea(textarea[0], cmConfig);\n\t\t\t\tcmObj    = dialog.find(\".CodeMirror\");\n\n\t\t\t\tcmObj.css({\n\t\t\t\t\t\"float\"   : \"none\", \n\t\t\t\t\tmargin    : \"0 0 5px\",\n\t\t\t\t\tborder    : \"1px solid #ddd\",\n\t\t\t\t\tfontSize  : settings.fontSize,\n\t\t\t\t\twidth     : \"100%\",\n\t\t\t\t\theight    : \"410px\"\n\t\t\t\t});\n\n\t\t\t\tcmEditor.on(\"change\", function(cm) {\n\t\t\t\t\ttextarea.val(cm.getValue());\n\t\t\t\t});\n\t\t\t} \n\t\t\telse \n\t\t\t{\n\t\t\t\tcmEditor.setValue(cm.getSelection());\n\t\t\t}\n\t\t};\n\n\t};\n\n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/reference-link-dialog/reference-link-dialog.js",
    "content": "/*!\n * Reference link dialog plugin for Editor.md\n *\n * @file        reference-link-dialog.js\n * @author      pandao\n * @version     1.2.1\n * @updateTime  2015-06-09\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n    var factory = function (exports) {\n\n\t\tvar pluginName   = \"reference-link-dialog\";\n\t\tvar ReLinkId     = 1;\n\n\t\texports.fn.referenceLinkDialog = function() {\n\n            var _this       = this;\n            var cm          = this.cm;\n            var lang        = this.lang;\n\t\t\tvar editor      = this.editor;\n            var settings    = this.settings;\n            var cursor      = cm.getCursor();\n            var selection   = cm.getSelection();\n            var dialogLang  = lang.dialog.referenceLink;\n            var classPrefix = this.classPrefix;\n\t\t\tvar dialogName  = classPrefix + pluginName, dialog;\n\n\t\t\tcm.focus();\n\n            if (editor.find(\".\" + dialogName).length < 1)\n            {      \n                var dialogHTML = \"<div class=\\\"\" + classPrefix + \"form\\\">\" +\n                                        \"<label>\" + dialogLang.name + \"</label>\" +\n                                        \"<input type=\\\"text\\\" value=\\\"[\" + ReLinkId + \"]\\\" data-name />\" +  \n                                        \"<br/>\" +\n                                        \"<label>\" + dialogLang.urlId + \"</label>\" +\n                                        \"<input type=\\\"text\\\" data-url-id />\" +\n                                        \"<br/>\" +\n                                        \"<label>\" + dialogLang.url + \"</label>\" +\n                                        \"<input type=\\\"text\\\" value=\\\"http://\\\" data-url />\" + \n                                        \"<br/>\" +\n                                        \"<label>\" + dialogLang.urlTitle + \"</label>\" +\n                                        \"<input type=\\\"text\\\" value=\\\"\" + selection + \"\\\" data-title />\" +\n                                        \"<br/>\" +\n                                    \"</div>\";\n\n                dialog = this.createDialog({   \n                    name       : dialogName,\n                    title      : dialogLang.title,\n                    width      : 380,\n                    height     : 296,\n                    content    : dialogHTML,\n                    mask       : settings.dialogShowMask,\n                    drag       : settings.dialogDraggable,\n                    lockScreen : settings.dialogLockScreen,\n                    maskStyle  : {\n                        opacity         : settings.dialogMaskOpacity,\n                        backgroundColor : settings.dialogMaskBgColor\n                    },\n                    buttons : {\n                        enter  : [lang.buttons.enter, function() {\n                            var name  = this.find(\"[data-name]\").val();\n                            var url   = this.find(\"[data-url]\").val();\n                            var rid   = this.find(\"[data-url-id]\").val();\n                            var title = this.find(\"[data-title]\").val();\n\n                            if (name === \"\")\n                            {\n                                alert(dialogLang.nameEmpty);\n                                return false;\n                            }\n\n                            if (rid === \"\")\n                            {\n                                alert(dialogLang.idEmpty);\n                                return false;\n                            }\n\n                            if (url === \"http://\" || url === \"\")\n                            {\n                                alert(dialogLang.urlEmpty);\n                                return false;\n                            }\n\n                            //cm.replaceSelection(\"[\" + title + \"][\" + name + \"]\\n[\" + name + \"]: \" + url + \"\");\n                            cm.replaceSelection(\"[\" + name + \"][\" + rid + \"]\");\n\n                            if (selection === \"\") {\n                                cm.setCursor(cursor.line, cursor.ch + 1);\n                            }\n\n\t\t\t\t\t\t\ttitle = (title === \"\") ? \"\" : \" \\\"\" + title + \"\\\"\";\n\n\t\t\t\t\t\t\tcm.setValue(cm.getValue() + \"\\n[\" + rid + \"]: \" + url + title + \"\");\n\n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }],\n                        cancel : [lang.buttons.cancel, function() {                                   \n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }]\n                    }\n                });\n            }\n\n\t\t\tdialog = editor.find(\".\" + dialogName);\n\t\t\tdialog.find(\"[data-name]\").val(\"[\" + ReLinkId + \"]\");\n\t\t\tdialog.find(\"[data-url-id]\").val(\"\");\n\t\t\tdialog.find(\"[data-url]\").val(\"http://\");\n\t\t\tdialog.find(\"[data-title]\").val(selection);\n\n\t\t\tthis.dialogShowMask(dialog);\n\t\t\tthis.dialogLockScreen();\n\t\t\tdialog.show();\n\n\t\t\tReLinkId++;\n\t\t};\n\n\t};\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/table-dialog/table-dialog.js",
    "content": "/*!\n * Table dialog plugin for Editor.md\n *\n * @file        table-dialog.js\n * @author      pandao\n * @version     1.2.1\n * @updateTime  2015-06-09\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n\tvar factory = function (exports) {\n\n\t\tvar $            = jQuery;\n\t\tvar pluginName   = \"table-dialog\";\n\n\t\tvar langs = {\n\t\t\t\"zh-cn\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\ttable : \"表格\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\ttable : {\n\t\t\t\t\t\ttitle      : \"添加表格\",\n\t\t\t\t\t\tcellsLabel : \"单元格数\",\n\t\t\t\t\t\talignLabel : \"对齐方式\",\n\t\t\t\t\t\trows       : \"行数\",\n\t\t\t\t\t\tcols       : \"列数\",\n\t\t\t\t\t\taligns     : [\"默认\", \"左对齐\", \"居中对齐\", \"右对齐\"]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"zh-tw\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\ttable : \"添加表格\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\ttable : {\n\t\t\t\t\t\ttitle      : \"添加表格\",\n\t\t\t\t\t\tcellsLabel : \"單元格數\",\n\t\t\t\t\t\talignLabel : \"對齊方式\",\n\t\t\t\t\t\trows       : \"行數\",\n\t\t\t\t\t\tcols       : \"列數\",\n\t\t\t\t\t\taligns     : [\"默認\", \"左對齊\", \"居中對齊\", \"右對齊\"]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"en\" : {\n\t\t\t\ttoolbar : {\n\t\t\t\t\ttable : \"Tables\"\n\t\t\t\t},\n\t\t\t\tdialog : {\n\t\t\t\t\ttable : {\n\t\t\t\t\t\ttitle      : \"Tables\",\n\t\t\t\t\t\tcellsLabel : \"Cells\",\n\t\t\t\t\t\talignLabel : \"Align\",\n\t\t\t\t\t\trows       : \"Rows\",\n\t\t\t\t\t\tcols       : \"Cols\",\n\t\t\t\t\t\taligns     : [\"Default\", \"Left align\", \"Center align\", \"Right align\"]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\texports.fn.tableDialog = function() {\n\t\t\tvar _this       = this;\n\t\t\tvar cm          = this.cm;\n\t\t\tvar editor      = this.editor;\n\t\t\tvar settings    = this.settings;\n\t\t\tvar path        = settings.path + \"../plugins/\" + pluginName +\"/\";\n\t\t\tvar classPrefix = this.classPrefix;\n\t\t\tvar dialogName  = classPrefix + pluginName, dialog;\n\n\t\t\t$.extend(true, this.lang, langs[this.lang.name]);\n\t\t\tthis.setToolbar();\n\n\t\t\tvar lang        = this.lang;\n\t\t\tvar dialogLang  = lang.dialog.table;\n\t\t\t\n\t\t\tvar dialogContent = [\n\t\t\t\t\"<div class=\\\"editormd-form\\\" style=\\\"padding: 13px 0;\\\">\",\n\t\t\t\t\"<label>\" + dialogLang.cellsLabel + \"</label>\",\n\t\t\t\tdialogLang.rows + \" <input type=\\\"number\\\" value=\\\"3\\\" class=\\\"number-input\\\" style=\\\"width:40px;\\\" max=\\\"100\\\" min=\\\"2\\\" data-rows />&nbsp;&nbsp;\",\n\t\t\t\tdialogLang.cols + \" <input type=\\\"number\\\" value=\\\"2\\\" class=\\\"number-input\\\" style=\\\"width:40px;\\\" max=\\\"100\\\" min=\\\"1\\\" data-cols /><br/>\",\n\t\t\t\t\"<label>\" + dialogLang.alignLabel + \"</label>\",\n\t\t\t\t\"<div class=\\\"fa-btns\\\"></div>\",\n\t\t\t\t\"</div>\"\n\t\t\t].join(\"\\n\");\n\n\t\t\tif (editor.find(\".\" + dialogName).length > 0) \n\t\t\t{\n                dialog = editor.find(\".\" + dialogName);\n\n\t\t\t\tthis.dialogShowMask(dialog);\n\t\t\t\tthis.dialogLockScreen();\n\t\t\t\tdialog.show();\n\t\t\t} \n\t\t\telse\n\t\t\t{\n\t\t\t\tdialog = this.createDialog({\n\t\t\t\t\tname       : dialogName,\n\t\t\t\t\ttitle      : dialogLang.title,\n\t\t\t\t\twidth      : 360,\n\t\t\t\t\theight     : 226,\n\t\t\t\t\tmask       : settings.dialogShowMask,\n\t\t\t\t\tdrag       : settings.dialogDraggable,\n\t\t\t\t\tcontent    : dialogContent,\n\t\t\t\t\tlockScreen : settings.dialogLockScreen,\n\t\t\t\t\tmaskStyle  : {\n\t\t\t\t\t\topacity         : settings.dialogMaskOpacity,\n\t\t\t\t\t\tbackgroundColor : settings.dialogMaskBgColor\n\t\t\t\t\t},\n\t\t\t\t\tbuttons    : {\n                        enter : [lang.buttons.enter, function() {\n\t\t\t\t\t\t\tvar rows   = parseInt(this.find(\"[data-rows]\").val());\n\t\t\t\t\t\t\tvar cols   = parseInt(this.find(\"[data-cols]\").val());\n\t\t\t\t\t\t\tvar align  = this.find(\"[name=\\\"table-align\\\"]:checked\").val();\n\t\t\t\t\t\t\tvar table  = \"\";\n\t\t\t\t\t\t\tvar hrLine = \"------------\";\n\n\t\t\t\t\t\t\tvar alignSign = {\n\t\t\t\t\t\t\t\t_default : hrLine,\n\t\t\t\t\t\t\t\tleft     : \":\" + hrLine,\n\t\t\t\t\t\t\t\tcenter   : \":\" + hrLine + \":\",\n\t\t\t\t\t\t\t\tright    : hrLine + \":\"\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\tif ( rows > 1 && cols > 0) \n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tfor (var r = 0, len = rows; r < len; r++) \n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tvar row = [];\n\t\t\t\t\t\t\t\t\tvar head = [];\n\n\t\t\t\t\t\t\t\t\tfor (var c = 0, len2 = cols; c < len2; c++) \n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif (r === 1) {\n\t\t\t\t\t\t\t\t\t\t\thead.push(alignSign[align]);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\trow.push(\" \");\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tif (r === 1) {\n\t\t\t\t\t\t\t\t\t\ttable += \"| \" + head.join(\" | \") + \" |\" + \"\\n\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttable += \"| \" + row.join( (cols === 1) ? \"\" : \" | \" ) + \" |\" + \"\\n\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tcm.replaceSelection(table);\n\n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }],\n\n                        cancel : [lang.buttons.cancel, function() {                                   \n                            this.hide().lockScreen(false).hideMask();\n\n                            return false;\n                        }]\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tvar faBtns = dialog.find(\".fa-btns\");\n\n\t\t\tif (faBtns.html() === \"\")\n\t\t\t{\n\t\t\t\tvar icons  = [\"align-justify\", \"align-left\", \"align-center\", \"align-right\"];\n\t\t\t\tvar _lang  = dialogLang.aligns;\n\t\t\t\tvar values = [\"_default\", \"left\", \"center\", \"right\"];\n\n\t\t\t\tfor (var i = 0, len = icons.length; i < len; i++) \n\t\t\t\t{\n\t\t\t\t\tvar checked = (i === 0) ? \" checked=\\\"checked\\\"\" : \"\";\n\t\t\t\t\tvar btn = \"<a href=\\\"javascript:;\\\"><label for=\\\"editormd-table-dialog-radio\"+i+\"\\\" title=\\\"\" + _lang[i] + \"\\\">\";\n\t\t\t\t\tbtn += \"<input type=\\\"radio\\\" name=\\\"table-align\\\" id=\\\"editormd-table-dialog-radio\"+i+\"\\\" value=\\\"\" + values[i] + \"\\\"\" +checked + \" />&nbsp;\";\n\t\t\t\t\tbtn += \"<i class=\\\"fa fa-\" + icons[i] + \"\\\"></i>\";\n\t\t\t\t\tbtn += \"</label></a>\";\n\n\t\t\t\t\tfaBtns.append(btn);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t};\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/editormd/plugins/test-plugin/test-plugin.js",
    "content": "/*!\n * Test plugin for Editor.md\n *\n * @file        test-plugin.js\n * @author      pandao\n * @version     1.2.0\n * @updateTime  2015-03-07\n * {@link       https://github.com/pandao/editor.md}\n * @license     MIT\n */\n\n(function() {\n\n    var factory = function (exports) {\n\n\t\tvar $            = jQuery;           // if using module loader(Require.js/Sea.js).\n\n\t\texports.testPlugin = function(){\n\t\t\talert(\"testPlugin\");\n\t\t};\n\n\t\texports.fn.testPluginMethodA = function() {\n\t\t\t/*\n\t\t\tvar _this       = this; // this == the current instance object of Editor.md\n\t\t\tvar lang        = _this.lang;\n\t\t\tvar settings    = _this.settings;\n\t\t\tvar editor      = this.editor;\n\t\t\tvar cursor      = cm.getCursor();\n\t\t\tvar selection   = cm.getSelection();\n\t\t\tvar classPrefix = this.classPrefix;\n\n\t\t\tcm.focus();\n\t\t\t*/\n\t\t\t//....\n\n\t\t\talert(\"testPluginMethodA\");\n\t\t};\n\n\t};\n    \n\t// CommonJS/Node.js\n\tif (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\")\n    { \n        module.exports = factory;\n    }\n\telse if (typeof define === \"function\")  // AMD/CMD/Sea.js\n    {\n\t\tif (define.amd) { // for Require.js\n\n\t\t\tdefine([\"editormd\"], function(editormd) {\n                factory(editormd);\n            });\n\n\t\t} else { // for Sea.js\n\t\t\tdefine(function(require) {\n                var editormd = require(\"./../../editormd\");\n                factory(editormd);\n            });\n\t\t}\n\t} \n\telse\n\t{\n        factory(window.editormd);\n\t}\n\n})();\n"
  },
  {
    "path": "src/main/resources/static/lib/prism/prism.css",
    "content": "/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+c+asciidoc+aspnet+autoit+autohotkey+bash+basic+batch+bison+brainfuck+bro+cpp+csharp+arduino+coffeescript+ruby+css-extras+d+dart+django+diff+docker+eiffel+elixir+erlang+fsharp+fortran+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+http+icon+inform7+ini+j+pug+java+jolie+json+julia+keyman+kotlin+latex+less+livescript+lolcode+lua+makefile+markdown+matlab+mel+mizar+monkey+n4js+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+perl+php+php-extras+powershell+processing+prolog+properties+protobuf+puppet+pure+python+q+qore+r+jsx+renpy+reason+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+sql+stylus+swift+tcl+textile+twig+typescript+vbnet+verilog+vhdl+vim+wiki+xojo+yaml */\n/**\n * okaidia theme for JavaScript, CSS and HTML\n * Loosely based on Monokai textmate theme by http://www.monokai.nl/\n * @author ocodia\n */\n\ncode[class*=\"language-\"],\npre[class*=\"language-\"] {\n\tcolor: #f8f8f2;\n\tbackground: none;\n\ttext-shadow: 0 1px rgba(0, 0, 0, 0.3);\n\tfont-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tword-wrap: normal;\n\tline-height: 1.5;\n\n\t-moz-tab-size: 4;\n\t-o-tab-size: 4;\n\ttab-size: 4;\n\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n}\n\n/* Code blocks */\npre[class*=\"language-\"] {\n\tpadding: 1em;\n\tmargin: .5em 0;\n\toverflow: auto;\n\tborder-radius: 0.3em;\n}\n\n:not(pre) > code[class*=\"language-\"],\npre[class*=\"language-\"] {\n\tbackground: #272822;\n}\n\n/* Inline code */\n:not(pre) > code[class*=\"language-\"] {\n\tpadding: .1em;\n\tborder-radius: .3em;\n\twhite-space: normal;\n}\n\n.token.comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n\tcolor: slategray;\n}\n\n.token.punctuation {\n\tcolor: #f8f8f2;\n}\n\n.namespace {\n\topacity: .7;\n}\n\n.token.property,\n.token.tag,\n.token.constant,\n.token.symbol,\n.token.deleted {\n\tcolor: #f92672;\n}\n\n.token.boolean,\n.token.number {\n\tcolor: #ae81ff;\n}\n\n.token.selector,\n.token.attr-name,\n.token.string,\n.token.char,\n.token.builtin,\n.token.inserted {\n\tcolor: #a6e22e;\n}\n\n.token.operator,\n.token.entity,\n.token.url,\n.language-css .token.string,\n.style .token.string,\n.token.variable {\n\tcolor: #f8f8f2;\n}\n\n.token.atrule,\n.token.attr-value,\n.token.function {\n\tcolor: #e6db74;\n}\n\n.token.keyword {\n\tcolor: #66d9ef;\n}\n\n.token.regex,\n.token.important {\n\tcolor: #fd971f;\n}\n\n.token.important,\n.token.bold {\n\tfont-weight: bold;\n}\n.token.italic {\n\tfont-style: italic;\n}\n\n.token.entity {\n\tcursor: help;\n}\n\n"
  },
  {
    "path": "src/main/resources/static/lib/prism/prism.js",
    "content": "/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+c+asciidoc+aspnet+autoit+autohotkey+bash+basic+batch+bison+brainfuck+bro+cpp+csharp+arduino+coffeescript+ruby+css-extras+d+dart+django+diff+docker+eiffel+elixir+erlang+fsharp+fortran+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+http+icon+inform7+ini+j+pug+java+jolie+json+julia+keyman+kotlin+latex+less+livescript+lolcode+lua+makefile+markdown+matlab+mel+mizar+monkey+n4js+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+perl+php+php-extras+powershell+processing+prolog+properties+protobuf+puppet+pure+python+q+qore+r+jsx+renpy+reason+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+sql+stylus+swift+tcl+textile+twig+typescript+vbnet+verilog+vhdl+vim+wiki+xojo+yaml */\nvar _self=\"undefined\"!=typeof window?window:\"undefined\"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\\blang(?:uage)?-(\\w+)\\b/i,t=0,n=_self.Prism={manual:_self.Prism&&_self.Prism.manual,util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):\"Array\"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/\\u00a0/g,\" \")},type:function(e){return Object.prototype.toString.call(e).match(/\\[object (\\w+)\\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,\"__id\",{value:++t}),e.__id},clone:function(e){var t=n.util.type(e);switch(t){case\"Object\":var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]=n.util.clone(e[r]));return a;case\"Array\":return e.map(function(e){return n.util.clone(e)})}return e}},languages:{extend:function(e,t){var a=n.util.clone(n.languages[e]);for(var r in t)a[r]=t[r];return a},insertBefore:function(e,t,a,r){r=r||n.languages;var i=r[e];if(2==arguments.length){a=arguments[1];for(var l in a)a.hasOwnProperty(l)&&(i[l]=a[l]);return i}var o={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var l in a)a.hasOwnProperty(l)&&(o[l]=a[l]);o[s]=i[s]}return n.languages.DFS(n.languages,function(t,n){n===r[e]&&t!=e&&(this[t]=o)}),r[e]=o},DFS:function(e,t,a,r){r=r||{};for(var i in e)e.hasOwnProperty(i)&&(t.call(e,i,e[i],a||i),\"Object\"!==n.util.type(e[i])||r[n.util.objId(e[i])]?\"Array\"!==n.util.type(e[i])||r[n.util.objId(e[i])]||(r[n.util.objId(e[i])]=!0,n.languages.DFS(e[i],t,i,r)):(r[n.util.objId(e[i])]=!0,n.languages.DFS(e[i],t,null,r)))}},plugins:{},highlightAll:function(e,t){var a={callback:t,selector:'code[class*=\"language-\"], [class*=\"language-\"] code, code[class*=\"lang-\"], [class*=\"lang-\"] code'};n.hooks.run(\"before-highlightall\",a);for(var r,i=a.elements||document.querySelectorAll(a.selector),l=0;r=i[l++];)n.highlightElement(r,e===!0,a.callback)},highlightElement:function(t,a,r){for(var i,l,o=t;o&&!e.test(o.className);)o=o.parentNode;o&&(i=(o.className.match(e)||[,\"\"])[1].toLowerCase(),l=n.languages[i]),t.className=t.className.replace(e,\"\").replace(/\\s+/g,\" \")+\" language-\"+i,o=t.parentNode,/pre/i.test(o.nodeName)&&(o.className=o.className.replace(e,\"\").replace(/\\s+/g,\" \")+\" language-\"+i);var s=t.textContent,u={element:t,language:i,grammar:l,code:s};if(n.hooks.run(\"before-sanity-check\",u),!u.code||!u.grammar)return u.code&&(n.hooks.run(\"before-highlight\",u),u.element.textContent=u.code,n.hooks.run(\"after-highlight\",u)),n.hooks.run(\"complete\",u),void 0;if(n.hooks.run(\"before-highlight\",u),a&&_self.Worker){var g=new Worker(n.filename);g.onmessage=function(e){u.highlightedCode=e.data,n.hooks.run(\"before-insert\",u),u.element.innerHTML=u.highlightedCode,r&&r.call(u.element),n.hooks.run(\"after-highlight\",u),n.hooks.run(\"complete\",u)},g.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=n.highlight(u.code,u.grammar,u.language),n.hooks.run(\"before-insert\",u),u.element.innerHTML=u.highlightedCode,r&&r.call(t),n.hooks.run(\"after-highlight\",u),n.hooks.run(\"complete\",u)},highlight:function(e,t,r){var i=n.tokenize(e,t);return a.stringify(n.util.encode(i),r)},matchGrammar:function(e,t,a,r,i,l,o){var s=n.Token;for(var u in a)if(a.hasOwnProperty(u)&&a[u]){if(u==o)return;var g=a[u];g=\"Array\"===n.util.type(g)?g:[g];for(var c=0;c<g.length;++c){var h=g[c],f=h.inside,d=!!h.lookbehind,m=!!h.greedy,p=0,y=h.alias;if(m&&!h.pattern.global){var v=h.pattern.toString().match(/[imuy]*$/)[0];h.pattern=RegExp(h.pattern.source,v+\"g\")}h=h.pattern||h;for(var b=r,k=i;b<t.length;k+=t[b].length,++b){var w=t[b];if(t.length>e.length)return;if(!(w instanceof s)){h.lastIndex=0;var _=h.exec(w),P=1;if(!_&&m&&b!=t.length-1){if(h.lastIndex=k,_=h.exec(e),!_)break;for(var A=_.index+(d?_[1].length:0),j=_.index+_[0].length,x=b,O=k,S=t.length;S>x&&(j>O||!t[x].type&&!t[x-1].greedy);++x)O+=t[x].length,A>=O&&(++b,k=O);if(t[b]instanceof s||t[x-1].greedy)continue;P=x-b,w=e.slice(k,O),_.index-=k}if(_){d&&(p=_[1].length);var A=_.index+p,_=_[0].slice(p),j=A+_.length,N=w.slice(0,A),C=w.slice(j),E=[b,P];N&&(++b,k+=N.length,E.push(N));var I=new s(u,f?n.tokenize(_,f):_,y,_,m);if(E.push(I),C&&E.push(C),Array.prototype.splice.apply(t,E),1!=P&&n.matchGrammar(e,t,a,b,k,!0,u),l)break}else if(l)break}}}}},tokenize:function(e,t){var a=[e],r=t.rest;if(r){for(var i in r)t[i]=r[i];delete t.rest}return n.matchGrammar(e,a,t,0,0,!1),a},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var r,i=0;r=a[i++];)r(t)}}},a=n.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.length=0|(a||\"\").length,this.greedy=!!r};if(a.stringify=function(e,t,r){if(\"string\"==typeof e)return e;if(\"Array\"===n.util.type(e))return e.map(function(n){return a.stringify(n,t,e)}).join(\"\");var i={type:e.type,content:a.stringify(e.content,t,r),tag:\"span\",classes:[\"token\",e.type],attributes:{},language:t,parent:r};if(\"comment\"==i.type&&(i.attributes.spellcheck=\"true\"),e.alias){var l=\"Array\"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,l)}n.hooks.run(\"wrap\",i);var o=Object.keys(i.attributes).map(function(e){return e+'=\"'+(i.attributes[e]||\"\").replace(/\"/g,\"&quot;\")+'\"'}).join(\" \");return\"<\"+i.tag+' class=\"'+i.classes.join(\" \")+'\"'+(o?\" \"+o:\"\")+\">\"+i.content+\"</\"+i.tag+\">\"},!_self.document)return _self.addEventListener?(_self.addEventListener(\"message\",function(e){var t=JSON.parse(e.data),a=t.language,r=t.code,i=t.immediateClose;_self.postMessage(n.highlight(r,n.languages[a],a)),i&&_self.close()},!1),_self.Prism):_self.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName(\"script\")).pop();return r&&(n.filename=r.src,n.manual||r.hasAttribute(\"data-manual\")||(\"loading\"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener(\"DOMContentLoaded\",n.highlightAll))),_self.Prism}();\"undefined\"!=typeof module&&module.exports&&(module.exports=Prism),\"undefined\"!=typeof global&&(global.Prism=Prism);\nPrism.languages.markup={comment:/<!--[\\s\\S]*?-->/,prolog:/<\\?[\\s\\S]+?\\?>/,doctype:/<!DOCTYPE[\\s\\S]+?>/i,cdata:/<!\\[CDATA\\[[\\s\\S]*?]]>/i,tag:{pattern:/<\\/?(?!\\d)[^\\s>\\/=$<]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,inside:{tag:{pattern:/^<\\/?[^\\s>\\/]+/i,inside:{punctuation:/^<\\/?/,namespace:/^[^\\s>\\/:]+:/}},\"attr-value\":{pattern:/=(?:('|\")[\\s\\S]*?(\\1)|[^\\s>]+)/i,inside:{punctuation:/[=>\"']/}},punctuation:/\\/?>/,\"attr-name\":{pattern:/[^\\s>\\/]+/,inside:{namespace:/^[^\\s>\\/:]+:/}}}},entity:/&#?[\\da-z]{1,8};/i},Prism.languages.markup.tag.inside[\"attr-value\"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add(\"wrap\",function(a){\"entity\"===a.type&&(a.attributes.title=a.content.replace(/&amp;/,\"&\"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup;\nPrism.languages.css={comment:/\\/\\*[\\s\\S]*?\\*\\//,atrule:{pattern:/@[\\w-]+?.*?(;|(?=\\s*\\{))/i,inside:{rule:/@[\\w-]+/}},url:/url\\((?:([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1|.*?)\\)/i,selector:/[^\\{\\}\\s][^\\{\\};]*?(?=\\s*\\{)/,string:{pattern:/(\"|')(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},property:/(\\b|\\B)[\\w-]+(?=\\s*:)/i,important:/\\B!important\\b/i,\"function\":/[-a-z0-9]+(?=\\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore(\"markup\",\"tag\",{style:{pattern:/(<style[\\s\\S]*?>)[\\s\\S]*?(?=<\\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:\"language-css\"}}),Prism.languages.insertBefore(\"inside\",\"attr-value\",{\"style-attr\":{pattern:/\\s*style=(\"|').*?\\1/i,inside:{\"attr-name\":{pattern:/^\\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\\s*=\\s*['\"]|['\"]\\s*$/,\"attr-value\":{pattern:/.+/i,inside:Prism.languages.css}},alias:\"language-css\"}},Prism.languages.markup.tag));\nPrism.languages.clike={comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,lookbehind:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0}],string:{pattern:/([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},\"class-name\":{pattern:/((?:\\b(?:class|interface|extends|implements|trait|instanceof|new)\\s+)|(?:catch\\s+\\())[a-z0-9_\\.\\\\]+/i,lookbehind:!0,inside:{punctuation:/(\\.|\\\\)/}},keyword:/\\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\\b/,\"boolean\":/\\b(true|false)\\b/,\"function\":/[a-z0-9_]+(?=\\()/i,number:/\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)\\b/i,operator:/--?|\\+\\+?|!=?=?|<=?|>=?|==?=?|&&?|\\|\\|?|\\?|\\*|\\/|~|\\^|%/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.javascript=Prism.languages.extend(\"clike\",{keyword:/\\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b/,number:/\\b-?(0[xX][\\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|\\d*\\.?\\d+([Ee][+-]?\\d+)?|NaN|Infinity)\\b/,\"function\":/[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*(?=\\s*\\()/i,operator:/-[-=]?|\\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\\|[|=]?|\\*\\*?=?|\\/=?|~|\\^=?|%=?|\\?|\\.{3}/}),Prism.languages.insertBefore(\"javascript\",\"keyword\",{regex:{pattern:/(^|[^\\/])\\/(?!\\/)(\\[[^\\]\\r\\n]+]|\\\\.|[^\\/\\\\\\[\\r\\n])+\\/[gimyu]{0,5}(?=\\s*($|[\\r\\n,.;})]))/,lookbehind:!0,greedy:!0},\"function-variable\":{pattern:/[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*(?=\\s*=\\s*(?:function\\b|(?:\\([^()]*\\)|[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*)\\s*=>))/i,alias:\"function\"}}),Prism.languages.insertBefore(\"javascript\",\"string\",{\"template-string\":{pattern:/`(?:\\\\\\\\|\\\\?[^\\\\])*?`/,greedy:!0,inside:{interpolation:{pattern:/\\$\\{[^}]+\\}/,inside:{\"interpolation-punctuation\":{pattern:/^\\$\\{|\\}$/,alias:\"punctuation\"},rest:Prism.languages.javascript}},string:/[\\s\\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore(\"markup\",\"tag\",{script:{pattern:/(<script[\\s\\S]*?>)[\\s\\S]*?(?=<\\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:\"language-javascript\"}}),Prism.languages.js=Prism.languages.javascript;\nPrism.languages.abap={comment:/^\\*.*/m,string:/(`|')(\\\\?.)*?\\1/m,\"string-template\":{pattern:/(\\||\\})(\\\\?.)*?(?=\\||\\{)/,lookbehind:!0,alias:\"string\"},\"eol-comment\":{pattern:/(^|\\s)\".*/m,lookbehind:!0,alias:\"comment\"},keyword:{pattern:/(\\s|\\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\\/MM\\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\\/DD\\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\\/MM\\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\\/DD\\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|SELECTOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\\b/i,lookbehind:!0},number:/\\b\\d+\\b/,operator:{pattern:/(\\s)(?:\\*\\*?|<[=>]?|>=?|\\?=|[-+\\/=])(?=\\s)/,lookbehind:!0},\"string-operator\":{pattern:/(\\s)&&?(?=\\s)/,lookbehind:!0,alias:\"keyword\"},\"token-operator\":[{pattern:/(\\w)(?:->?|=>|[~|{}])(?=\\w)/,lookbehind:!0,alias:\"punctuation\"},{pattern:/[|{}]/,alias:\"punctuation\"}],punctuation:/[,.:()]/};\nPrism.languages.actionscript=Prism.languages.extend(\"javascript\",{keyword:/\\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\\b/,operator:/\\+\\+|--|(?:[+\\-*\\/%^]|&&?|\\|\\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),Prism.languages.actionscript[\"class-name\"].alias=\"function\",Prism.languages.markup&&Prism.languages.insertBefore(\"actionscript\",\"string\",{xml:{pattern:/(^|[^.])<\\/?\\w+(?:\\s+[^\\s>\\/=]+=(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\2)*\\s*\\/?>/,lookbehind:!0,inside:{rest:Prism.languages.markup}}});\nPrism.languages.ada={comment:/--.*/,string:/\"(?:\"\"|[^\"\\r\\f\\n])*\"/i,number:[{pattern:/\\b\\d(?:_?\\d)*#[0-9A-F](?:_?[0-9A-F])*(?:\\.[0-9A-F](?:_?[0-9A-F])*)?#(?:E[+-]?\\d(?:_?\\d)*)?/i},{pattern:/\\b\\d(?:_?\\d)*(?:\\.\\d(?:_?\\d)*)?(?:E[+-]?\\d(?:_?\\d)*)?\\b/i}],\"attr-name\":/\\b'\\w+/i,keyword:/\\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|new|return|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\\b/i,\"boolean\":/\\b(?:true|false)\\b/i,operator:/<[=>]?|>=?|=>?|:=|\\/=?|\\*\\*?|[&+-]/,punctuation:/\\.\\.?|[,;():]/,\"char\":/'.'/,variable:/\\b[a-z](?:[_a-z\\d])*\\b/i};\nPrism.languages.apacheconf={comment:/#.*/,\"directive-inline\":{pattern:/^(\\s*)\\b(AcceptFilter|AcceptPathInfo|AccessFileName|Action|AddAlt|AddAltByEncoding|AddAltByType|AddCharset|AddDefaultCharset|AddDescription|AddEncoding|AddHandler|AddIcon|AddIconByEncoding|AddIconByType|AddInputFilter|AddLanguage|AddModuleInfo|AddOutputFilter|AddOutputFilterByType|AddType|Alias|AliasMatch|Allow|AllowCONNECT|AllowEncodedSlashes|AllowMethods|AllowOverride|AllowOverrideList|Anonymous|Anonymous_LogEmail|Anonymous_MustGiveEmail|Anonymous_NoUserID|Anonymous_VerifyEmail|AsyncRequestWorkerFactor|AuthBasicAuthoritative|AuthBasicFake|AuthBasicProvider|AuthBasicUseDigestAlgorithm|AuthDBDUserPWQuery|AuthDBDUserRealmQuery|AuthDBMGroupFile|AuthDBMType|AuthDBMUserFile|AuthDigestAlgorithm|AuthDigestDomain|AuthDigestNonceLifetime|AuthDigestProvider|AuthDigestQop|AuthDigestShmemSize|AuthFormAuthoritative|AuthFormBody|AuthFormDisableNoStore|AuthFormFakeBasicAuth|AuthFormLocation|AuthFormLoginRequiredLocation|AuthFormLoginSuccessLocation|AuthFormLogoutLocation|AuthFormMethod|AuthFormMimetype|AuthFormPassword|AuthFormProvider|AuthFormSitePassphrase|AuthFormSize|AuthFormUsername|AuthGroupFile|AuthLDAPAuthorizePrefix|AuthLDAPBindAuthoritative|AuthLDAPBindDN|AuthLDAPBindPassword|AuthLDAPCharsetConfig|AuthLDAPCompareAsUser|AuthLDAPCompareDNOnServer|AuthLDAPDereferenceAliases|AuthLDAPGroupAttribute|AuthLDAPGroupAttributeIsDN|AuthLDAPInitialBindAsUser|AuthLDAPInitialBindPattern|AuthLDAPMaxSubGroupDepth|AuthLDAPRemoteUserAttribute|AuthLDAPRemoteUserIsDN|AuthLDAPSearchAsUser|AuthLDAPSubGroupAttribute|AuthLDAPSubGroupClass|AuthLDAPUrl|AuthMerging|AuthName|AuthnCacheContext|AuthnCacheEnable|AuthnCacheProvideFor|AuthnCacheSOCache|AuthnCacheTimeout|AuthnzFcgiCheckAuthnProvider|AuthnzFcgiDefineProvider|AuthType|AuthUserFile|AuthzDBDLoginToReferer|AuthzDBDQuery|AuthzDBDRedirectQuery|AuthzDBMType|AuthzSendForbiddenOnFailure|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|CacheDefaultExpire|CacheDetailHeader|CacheDirLength|CacheDirLevels|CacheDisable|CacheEnable|CacheFile|CacheHeader|CacheIgnoreCacheControl|CacheIgnoreHeaders|CacheIgnoreNoLastMod|CacheIgnoreQueryString|CacheIgnoreURLSessionIdentifiers|CacheKeyBaseURL|CacheLastModifiedFactor|CacheLock|CacheLockMaxAge|CacheLockPath|CacheMaxExpire|CacheMaxFileSize|CacheMinExpire|CacheMinFileSize|CacheNegotiatedDocs|CacheQuickHandler|CacheReadSize|CacheReadTime|CacheRoot|CacheSocache|CacheSocacheMaxSize|CacheSocacheMaxTime|CacheSocacheMinTime|CacheSocacheReadSize|CacheSocacheReadTime|CacheStaleOnError|CacheStoreExpired|CacheStoreNoStore|CacheStorePrivate|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|DeflateBufferSize|DeflateCompressionLevel|DeflateFilterNote|DeflateInflateLimitRequestBody|DeflateInflateRatioBurst|DeflateInflateRatioLimit|DeflateMemLevel|DeflateWindowSize|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|HeartbeatAddress|HeartbeatListen|HeartbeatMaxServers|HeartbeatStorage|HeartbeatStorage|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|IndexHeadInsert|IndexIgnore|IndexIgnoreReset|IndexOptions|IndexOrderDefault|IndexStyleSheet|InputSed|ISAPIAppendLogToErrors|ISAPIAppendLogToQuery|ISAPICacheFile|ISAPIFakeAsync|ISAPILogNotSupported|ISAPIReadAheadBuffer|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAPCacheEntries|LDAPCacheTTL|LDAPConnectionPoolTTL|LDAPConnectionTimeout|LDAPLibraryDebug|LDAPOpCacheEntries|LDAPOpCacheTTL|LDAPReferralHopLimit|LDAPReferrals|LDAPRetries|LDAPRetryDelay|LDAPSharedCacheFile|LDAPSharedCacheSize|LDAPTimeout|LDAPTrustedClientCert|LDAPTrustedGlobalCert|LDAPTrustedMode|LDAPVerifyServerCert|LimitInternalRecursion|LimitRequestBody|LimitRequestFields|LimitRequestFieldSize|LimitRequestLine|LimitXMLRequestBody|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|LuaHookAccessChecker|LuaHookAuthChecker|LuaHookCheckUserID|LuaHookFixups|LuaHookInsertFilter|LuaHookLog|LuaHookMapToStorage|LuaHookTranslateName|LuaHookTypeChecker|LuaInherit|LuaInputFilter|LuaMapHandler|LuaOutputFilter|LuaPackageCPath|LuaPackagePath|LuaQuickHandler|LuaRoot|LuaScope|MaxConnectionsPerChild|MaxKeepAliveRequests|MaxMemFree|MaxRangeOverlaps|MaxRangeReversals|MaxRanges|MaxRequestWorkers|MaxSpareServers|MaxSpareThreads|MaxThreads|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|ProxyAddHeaders|ProxyBadHeader|ProxyBlock|ProxyDomain|ProxyErrorOverride|ProxyExpressDBMFile|ProxyExpressDBMType|ProxyExpressEnable|ProxyFtpDirCharset|ProxyFtpEscapeWildcards|ProxyFtpListOnWildcard|ProxyHTMLBufSize|ProxyHTMLCharsetOut|ProxyHTMLDocType|ProxyHTMLEnable|ProxyHTMLEvents|ProxyHTMLExtended|ProxyHTMLFixups|ProxyHTMLInterp|ProxyHTMLLinks|ProxyHTMLMeta|ProxyHTMLStripComments|ProxyHTMLURLMap|ProxyIOBufferSize|ProxyMaxForwards|ProxyPass|ProxyPassInherit|ProxyPassInterpolateEnv|ProxyPassMatch|ProxyPassReverse|ProxyPassReverseCookieDomain|ProxyPassReverseCookiePath|ProxyPreserveHost|ProxyReceiveBufferSize|ProxyRemote|ProxyRemoteMatch|ProxyRequests|ProxySCGIInternalRedirect|ProxySCGISendfile|ProxySet|ProxySourceAddress|ProxyStatus|ProxyTimeout|ProxyVia|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIPHeader|RemoteIPInternalProxy|RemoteIPInternalProxyList|RemoteIPProxiesHeader|RemoteIPTrustedProxy|RemoteIPTrustedProxyList|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|RewriteBase|RewriteCond|RewriteEngine|RewriteMap|RewriteOptions|RewriteRule|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script|ScriptAlias|ScriptAliasMatch|ScriptInterpreterSource|ScriptLog|ScriptLogBuffer|ScriptLogLength|ScriptSock|SecureListen|SeeRequestTail|SendBufferSize|ServerAdmin|ServerAlias|ServerLimit|ServerName|ServerPath|ServerRoot|ServerSignature|ServerTokens|Session|SessionCookieName|SessionCookieName2|SessionCookieRemove|SessionCryptoCipher|SessionCryptoDriver|SessionCryptoPassphrase|SessionCryptoPassphraseFile|SessionDBDCookieName|SessionDBDCookieName2|SessionDBDCookieRemove|SessionDBDDeleteLabel|SessionDBDInsertLabel|SessionDBDPerUser|SessionDBDSelectLabel|SessionDBDUpdateLabel|SessionEnv|SessionExclude|SessionHeader|SessionInclude|SessionMaxAge|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSLCACertificateFile|SSLCACertificatePath|SSLCADNRequestFile|SSLCADNRequestPath|SSLCARevocationCheck|SSLCARevocationFile|SSLCARevocationPath|SSLCertificateChainFile|SSLCertificateFile|SSLCertificateKeyFile|SSLCipherSuite|SSLCompression|SSLCryptoDevice|SSLEngine|SSLFIPS|SSLHonorCipherOrder|SSLInsecureRenegotiation|SSLOCSPDefaultResponder|SSLOCSPEnable|SSLOCSPOverrideResponder|SSLOCSPResponderTimeout|SSLOCSPResponseMaxAge|SSLOCSPResponseTimeSkew|SSLOCSPUseRequestNonce|SSLOpenSSLConfCmd|SSLOptions|SSLPassPhraseDialog|SSLProtocol|SSLProxyCACertificateFile|SSLProxyCACertificatePath|SSLProxyCARevocationCheck|SSLProxyCARevocationFile|SSLProxyCARevocationPath|SSLProxyCheckPeerCN|SSLProxyCheckPeerExpire|SSLProxyCheckPeerName|SSLProxyCipherSuite|SSLProxyEngine|SSLProxyMachineCertificateChainFile|SSLProxyMachineCertificateFile|SSLProxyMachineCertificatePath|SSLProxyProtocol|SSLProxyVerify|SSLProxyVerifyDepth|SSLRandomSeed|SSLRenegBufferSize|SSLRequire|SSLRequireSSL|SSLSessionCache|SSLSessionCacheTimeout|SSLSessionTicketKeyFile|SSLSRPUnknownUserSeed|SSLSRPVerifierFile|SSLStaplingCache|SSLStaplingErrorCacheTimeout|SSLStaplingFakeTryLater|SSLStaplingForceURL|SSLStaplingResponderTimeout|SSLStaplingResponseMaxAge|SSLStaplingResponseTimeSkew|SSLStaplingReturnResponderErrors|SSLStaplingStandardCacheTimeout|SSLStrictSNIVHostCheck|SSLUserName|SSLUseStapling|SSLVerifyClient|SSLVerifyDepth|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|VirtualDocumentRoot|VirtualDocumentRootIP|VirtualScriptAlias|VirtualScriptAliasIP|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\\b/im,lookbehind:!0,alias:\"property\"},\"directive-block\":{pattern:/<\\/?\\b(AuthnProviderAlias|AuthzProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|RequireAll|RequireAny|RequireNone|VirtualHost)\\b *.*>/i,inside:{\"directive-block\":{pattern:/^<\\/?\\w+/,inside:{punctuation:/^<\\/?/},alias:\"tag\"},\"directive-block-parameter\":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/(\"|').*\\1/,inside:{variable:/(\\$|%)\\{?(\\w\\.?(\\+|\\-|:)?)+\\}?/}}},alias:\"attr-value\"},punctuation:/>/},alias:\"tag\"},\"directive-flags\":{pattern:/\\[(\\w,?)+\\]/,alias:\"keyword\"},string:{pattern:/(\"|').*\\1/,inside:{variable:/(\\$|%)\\{?(\\w\\.?(\\+|\\-|:)?)+\\}?/}},variable:/(\\$|%)\\{?(\\w\\.?(\\+|\\-|:)?)+\\}?/,regex:/\\^?.*\\$|\\^.*\\$?/};\nPrism.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\\r\\n]|'')*'/,greedy:!0},number:/¯?(?:\\d*\\.?\\d+(?:e[+¯]?\\d+)?|¯|∞)(?:j¯?(?:\\d*\\.?\\d+(?:e[\\+¯]?\\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\\b/,\"system-function\":{pattern:/⎕[A-Z]+/i,alias:\"function\"},constant:/[⍬⌾#⎕⍞]/,\"function\":/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,\"monadic-operator\":{pattern:/[\\\\\\/⌿⍀¨⍨⌶&∥]/,alias:\"operator\"},\"dyadic-operator\":{pattern:/[.⍣⍠⍤∘⌸@⌺]/,alias:\"operator\"},assignment:{pattern:/←/,alias:\"keyword\"},punctuation:/[\\[;\\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:\"builtin\"}};\nPrism.languages.applescript={comment:[/\\(\\*(?:\\(\\*[\\s\\S]*?\\*\\)|[\\s\\S])*?\\*\\)/,/--.+/,/#.+/],string:/\"(?:\\\\?.)*?\"/,number:/\\b-?\\d*\\.?\\d+([Ee]-?\\d+)?\\b/,operator:[/[&=≠≤≥*+\\-\\/÷^]|[<>]=?/,/\\b(?:(?:start|begin|end)s? with|(?:(?:does not|doesn't) contain|contains?)|(?:is|isn't|is not) (?:in|contained by)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:(?:does not|doesn't) come|comes) (?:before|after)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equals|equal to|isn't|is not)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|or|div|mod|as|not))\\b/],keyword:/\\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\\b/,\"class\":{pattern:/\\b(?:alias|application|boolean|class|constant|date|file|integer|list|number|POSIX file|real|record|reference|RGB color|script|text|centimetres|centimeters|feet|inches|kilometres|kilometers|metres|meters|miles|yards|square feet|square kilometres|square kilometers|square metres|square meters|square miles|square yards|cubic centimetres|cubic centimeters|cubic feet|cubic inches|cubic metres|cubic meters|cubic yards|gallons|litres|liters|quarts|grams|kilograms|ounces|pounds|degrees Celsius|degrees Fahrenheit|degrees Kelvin)\\b/,alias:\"builtin\"},punctuation:/[{}():,¬«»《》]/};\nPrism.languages.c=Prism.languages.extend(\"clike\",{keyword:/\\b(_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\\b/,operator:/\\-[>-]?|\\+\\+?|!=?|<<?=?|>>?=?|==?|&&?|\\|?\\||[~^%?*\\/]/,number:/\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)[ful]*\\b/i}),Prism.languages.insertBefore(\"c\",\"string\",{macro:{pattern:/(^\\s*)#\\s*[a-z]+([^\\r\\n\\\\]|\\\\.|\\\\(?:\\r\\n?|\\n))*/im,lookbehind:!0,alias:\"property\",inside:{string:{pattern:/(#\\s*include\\s*)(<.+?>|(\"|')(\\\\?.)+?\\3)/,lookbehind:!0},directive:{pattern:/(#\\s*)\\b(define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\\b/,lookbehind:!0,alias:\"keyword\"}}},constant:/\\b(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\\b/}),delete Prism.languages.c[\"class-name\"],delete Prism.languages.c[\"boolean\"];\n!function(a){var i={pattern:/(^[ \\t]*)\\[(?!\\[)(?:([\"'$`])(?:(?!\\2)[^\\\\]|\\\\.)*\\2|\\[(?:[^\\]\\\\]|\\\\.)*\\]|[^\\]\\\\]|\\\\.)*\\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\\1)[^\\\\]|\\\\.)*\\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\\\]|\\\\.)*'/,inside:{punctuation:/^'|'$/}},string:/\"(?:[^\"\\\\]|\\\\.)*\"/,variable:/\\w+(?==)/,punctuation:/^\\[|\\]$|,/,operator:/=/,\"attr-value\":/(?!^\\s+$).+/}};a.languages.asciidoc={\"comment-block\":{pattern:/^(\\/{4,})(?:\\r?\\n|\\r)(?:[\\s\\S]*(?:\\r?\\n|\\r))??\\1/m,alias:\"comment\"},table:{pattern:/^\\|={3,}(?:(?:\\r?\\n|\\r).*)*?(?:\\r?\\n|\\r)\\|={3,}$/m,inside:{specifiers:{pattern:/(?!\\|)(?:(?:(?:\\d+(?:\\.\\d+)?|\\.\\d+)[+*])?(?:[<^>](?:\\.[<^>])?|\\.[<^>])?[a-z]*)(?=\\|)/,alias:\"attr-value\"},punctuation:{pattern:/(^|[^\\\\])[|!]=*/,lookbehind:!0}}},\"passthrough-block\":{pattern:/^(\\+{4,})(?:\\r?\\n|\\r)(?:[\\s\\S]*(?:\\r?\\n|\\r))??\\1$/m,inside:{punctuation:/^\\++|\\++$/}},\"literal-block\":{pattern:/^(-{4,}|\\.{4,})(?:\\r?\\n|\\r)(?:[\\s\\S]*(?:\\r?\\n|\\r))??\\1$/m,inside:{punctuation:/^(?:-+|\\.+)|(?:-+|\\.+)$/}},\"other-block\":{pattern:/^(--|\\*{4,}|_{4,}|={4,})(?:\\r?\\n|\\r)(?:[\\s\\S]*(?:\\r?\\n|\\r))??\\1$/m,inside:{punctuation:/^(?:-+|\\*+|_+|=+)|(?:-+|\\*+|_+|=+)$/}},\"list-punctuation\":{pattern:/(^[ \\t]*)(?:-|\\*{1,5}|\\.{1,5}|(?:[a-z]|\\d+)\\.|[xvi]+\\))(?= )/im,lookbehind:!0,alias:\"punctuation\"},\"list-label\":{pattern:/(^[ \\t]*)[a-z\\d].+(?::{2,4}|;;)(?=\\s)/im,lookbehind:!0,alias:\"symbol\"},\"indented-block\":{pattern:/((\\r?\\n|\\r)\\2)([ \\t]+)\\S.*(?:(?:\\r?\\n|\\r)\\3.+)*(?=\\2{2}|$)/,lookbehind:!0},comment:/^\\/\\/.*/m,title:{pattern:/^.+(?:\\r?\\n|\\r)(?:={3,}|-{3,}|~{3,}|\\^{3,}|\\+{3,})$|^={1,5} +.+|^\\.(?![\\s.]).*/m,alias:\"important\",inside:{punctuation:/^(?:\\.|=+)|(?:=+|-+|~+|\\^+|\\++)$/}},\"attribute-entry\":{pattern:/^:[^:\\r\\n]+:(?: .*?(?: \\+(?:\\r?\\n|\\r).*?)*)?$/m,alias:\"tag\"},attributes:i,hr:{pattern:/^'{3,}$/m,alias:\"punctuation\"},\"page-break\":{pattern:/^<{3,}$/m,alias:\"punctuation\"},admonition:{pattern:/^(?:TIP|NOTE|IMPORTANT|WARNING|CAUTION):/m,alias:\"keyword\"},callout:[{pattern:/(^[ \\t]*)<?\\d*>/m,lookbehind:!0,alias:\"symbol\"},{pattern:/<\\d+>/,alias:\"symbol\"}],macro:{pattern:/\\b[a-z\\d][a-z\\d-]*::?(?:(?:\\S+)??\\[(?:[^\\]\\\\\"]|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*\\1|\\\\.)*\\])/,inside:{\"function\":/^[a-z\\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\\[(?:[^\\]\\\\\"]|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*\\1|\\\\.)*\\])/,inside:i.inside}}},inline:{pattern:/(^|[^\\\\])(?:(?:\\B\\[(?:[^\\]\\\\\"]|([\"'])(?:(?!\\2)[^\\\\]|\\\\.)*\\2|\\\\.)*\\])?(?:\\b_(?!\\s)(?: _|[^_\\\\\\r\\n]|\\\\.)+(?:(?:\\r?\\n|\\r)(?: _|[^_\\\\\\r\\n]|\\\\.)+)*_\\b|\\B``(?!\\s).+?(?:(?:\\r?\\n|\\r).+?)*''\\B|\\B`(?!\\s)(?: ['`]|.)+?(?:(?:\\r?\\n|\\r)(?: ['`]|.)+?)*['`]\\B|\\B(['*+#])(?!\\s)(?: \\3|(?!\\3)[^\\\\\\r\\n]|\\\\.)+(?:(?:\\r?\\n|\\r)(?: \\3|(?!\\3)[^\\\\\\r\\n]|\\\\.)+)*\\3\\B)|(?:\\[(?:[^\\]\\\\\"]|([\"'])(?:(?!\\4)[^\\\\]|\\\\.)*\\4|\\\\.)*\\])?(?:(__|\\*\\*|\\+\\+\\+?|##|\\$\\$|[~^]).+?(?:(?:\\r?\\n|\\r).+?)*\\5|\\{[^}\\r\\n]+\\}|\\[\\[\\[?.+?(?:(?:\\r?\\n|\\r).+?)*\\]?\\]\\]|<<.+?(?:(?:\\r?\\n|\\r).+?)*>>|\\(\\(\\(?.+?(?:(?:\\r?\\n|\\r).+?)*\\)?\\)\\)))/m,lookbehind:!0,inside:{attributes:i,url:{pattern:/^(?:\\[\\[\\[?.+?\\]?\\]\\]|<<.+?>>)$/,inside:{punctuation:/^(?:\\[\\[\\[?|<<)|(?:\\]\\]\\]?|>>)$/}},\"attribute-ref\":{pattern:/^\\{.+\\}$/,inside:{variable:{pattern:/(^\\{)[a-z\\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\\{|\\}$|::?/}},italic:{pattern:/^(['_])[\\s\\S]+\\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\\*[\\s\\S]+\\*$/,inside:{punctuation:/^\\*\\*?|\\*\\*?$/}},punctuation:/^(?:``?|\\+{1,3}|##?|\\$\\$|[~^]|\\(\\(\\(?)|(?:''?|\\+{1,3}|##?|\\$\\$|[~^`]|\\)?\\)\\))$/}},replacement:{pattern:/\\((?:C|TM|R)\\)/,alias:\"builtin\"},entity:/&#?[\\da-z]{1,8};/i,\"line-continuation\":{pattern:/(^| )\\+$/m,lookbehind:!0,alias:\"punctuation\"}},i.inside.interpreted.inside.rest={macro:a.languages.asciidoc.macro,inline:a.languages.asciidoc.inline,replacement:a.languages.asciidoc.replacement,entity:a.languages.asciidoc.entity},a.languages.asciidoc[\"passthrough-block\"].inside.rest={macro:a.languages.asciidoc.macro},a.languages.asciidoc[\"literal-block\"].inside.rest={callout:a.languages.asciidoc.callout},a.languages.asciidoc.table.inside.rest={\"comment-block\":a.languages.asciidoc[\"comment-block\"],\"passthrough-block\":a.languages.asciidoc[\"passthrough-block\"],\"literal-block\":a.languages.asciidoc[\"literal-block\"],\"other-block\":a.languages.asciidoc[\"other-block\"],\"list-punctuation\":a.languages.asciidoc[\"list-punctuation\"],\"indented-block\":a.languages.asciidoc[\"indented-block\"],comment:a.languages.asciidoc.comment,title:a.languages.asciidoc.title,\"attribute-entry\":a.languages.asciidoc[\"attribute-entry\"],attributes:a.languages.asciidoc.attributes,hr:a.languages.asciidoc.hr,\"page-break\":a.languages.asciidoc[\"page-break\"],admonition:a.languages.asciidoc.admonition,\"list-label\":a.languages.asciidoc[\"list-label\"],callout:a.languages.asciidoc.callout,macro:a.languages.asciidoc.macro,inline:a.languages.asciidoc.inline,replacement:a.languages.asciidoc.replacement,entity:a.languages.asciidoc.entity,\"line-continuation\":a.languages.asciidoc[\"line-continuation\"]},a.languages.asciidoc[\"other-block\"].inside.rest={table:a.languages.asciidoc.table,\"list-punctuation\":a.languages.asciidoc[\"list-punctuation\"],\"indented-block\":a.languages.asciidoc[\"indented-block\"],comment:a.languages.asciidoc.comment,\"attribute-entry\":a.languages.asciidoc[\"attribute-entry\"],attributes:a.languages.asciidoc.attributes,hr:a.languages.asciidoc.hr,\"page-break\":a.languages.asciidoc[\"page-break\"],admonition:a.languages.asciidoc.admonition,\"list-label\":a.languages.asciidoc[\"list-label\"],macro:a.languages.asciidoc.macro,inline:a.languages.asciidoc.inline,replacement:a.languages.asciidoc.replacement,entity:a.languages.asciidoc.entity,\"line-continuation\":a.languages.asciidoc[\"line-continuation\"]},a.languages.asciidoc.title.inside.rest={macro:a.languages.asciidoc.macro,inline:a.languages.asciidoc.inline,replacement:a.languages.asciidoc.replacement,entity:a.languages.asciidoc.entity},a.hooks.add(\"wrap\",function(a){\"entity\"===a.type&&(a.attributes.title=a.content.replace(/&amp;/,\"&\"))})}(Prism);\nPrism.languages.aspnet=Prism.languages.extend(\"markup\",{\"page-directive tag\":{pattern:/<%\\s*@.*%>/i,inside:{\"page-directive tag\":/<%\\s*@\\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,rest:Prism.languages.markup.tag.inside}},\"directive tag\":{pattern:/<%.*%>/i,inside:{\"directive tag\":/<%\\s*?[$=%#:]{0,2}|%>/i,rest:Prism.languages.csharp}}}),Prism.languages.aspnet.tag.pattern=/<(?!%)\\/?[^\\s>\\/]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,Prism.languages.insertBefore(\"inside\",\"punctuation\",{\"directive tag\":Prism.languages.aspnet[\"directive tag\"]},Prism.languages.aspnet.tag.inside[\"attr-value\"]),Prism.languages.insertBefore(\"aspnet\",\"comment\",{\"asp comment\":/<%--[\\s\\S]*?--%>/}),Prism.languages.insertBefore(\"aspnet\",Prism.languages.javascript?\"script\":\"tag\",{\"asp script\":{pattern:/(<script(?=.*runat=['\"]?server['\"]?)[\\s\\S]*?>)[\\s\\S]*?(?=<\\/script>)/i,lookbehind:!0,inside:Prism.languages.csharp||{}}});\nPrism.languages.autoit={comment:[/;.*/,{pattern:/(^\\s*)#(?:comments-start|cs)[\\s\\S]*?^\\s*#(?:comments-end|ce)/m,lookbehind:!0}],url:{pattern:/(^\\s*#include\\s+)(?:<[^\\r\\n>]+>|\"[^\\r\\n\"]+\")/m,lookbehind:!0},string:{pattern:/([\"'])(?:\\1\\1|(?!\\1)[^\\r\\n])*\\1/,greedy:!0,inside:{variable:/([%$@])\\w+\\1/}},directive:{pattern:/(^\\s*)#\\w+/m,lookbehind:!0,alias:\"keyword\"},\"function\":/\\b\\w+(?=\\()/,variable:/[$@]\\w+/,keyword:/\\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\\b/i,number:/\\b(?:0x[\\da-f]+|\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?)\\b/i,\"boolean\":/\\b(?:True|False)\\b/i,operator:/<[=>]?|[-+*\\/=&>]=?|[?^]|\\b(?:And|Or|Not)\\b/i,punctuation:/[\\[\\]().,:]/};\nPrism.languages.autohotkey={comment:{pattern:/(^[^\";\\n]*(\"[^\"\\n]*?\"[^\"\\n]*?)*)(;.*$|^\\s*\\/\\*[\\s\\S]*\\n\\*\\/)/m,lookbehind:!0},string:/\"(([^\"\\n\\r]|\"\")*)\"/m,\"function\":/[^\\(\\); \\t,\\n\\+\\*\\-=\\?>:\\\\\\/<&%\\[\\]]+?(?=\\()/m,tag:/^[ \\t]*[^\\s:]+?(?=:(?:[^:]|$))/m,variable:/%\\w+%/,number:/\\b-?(0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee]-?\\d+)?)\\b/,operator:/\\?|\\/\\/?=?|:=|\\|[=|]?|&[=&]?|\\+[=+]?|-[=-]?|\\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\\b(?:AND|NOT|OR)\\b/,punctuation:/[\\{}[\\]\\(\\):,]/,\"boolean\":/\\b(true|false)\\b/,selector:/\\b(AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\\b/i,constant:/\\b(a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_formatfloat|a_formatinteger|a_gui|a_guievent|a_guicontrol|a_guicontrolevent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|programfiles|a_programfiles|a_programs|a_programscommon|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel)\\b/i,builtin:/\\b(abs|acos|asc|asin|atan|ceil|chr|class|cos|dllcall|exp|fileexist|Fileopen|floor|il_add|il_create|il_destroy|instr|substr|isfunc|islabel|IsObject|ln|log|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|onmessage|numget|numput|registercallback|regexmatch|regexreplace|round|sin|tan|sqrt|strlen|sb_seticon|sb_setparts|sb_settext|strsplit|tv_add|tv_delete|tv_getchild|tv_getcount|tv_getnext|tv_get|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__New|__Call|__Get|__Set)\\b/i,symbol:/\\b(alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\\b/i,important:/#\\b(AllowSameLineComments|ClipboardTimeout|CommentFlag|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InstallKeybdHook|InstallMouseHook|KeyHistory|LTrim|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|WinActivateForce)\\b/i,keyword:/\\b(Abort|AboveNormal|Add|ahk_class|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Region|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|TryAgain|Type|UnCheck|underline|Unicode|Unlock|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\\b/i};\n!function(e){var t={variable:[{pattern:/\\$?\\(\\([\\s\\S]+?\\)\\)/,inside:{variable:[{pattern:/(^\\$\\(\\([\\s\\S]+)\\)\\)/,lookbehind:!0},/^\\$\\(\\(/],number:/\\b-?(?:0x[\\dA-Fa-f]+|\\d*\\.?\\d+(?:[Ee]-?\\d+)?)\\b/,operator:/--?|-=|\\+\\+?|\\+=|!=?|~|\\*\\*?|\\*=|\\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\\^=?|\\|\\|?|\\|=|\\?|:/,punctuation:/\\(\\(?|\\)\\)?|,|;/}},{pattern:/\\$\\([^)]+\\)|`[^`]+`/,inside:{variable:/^\\$\\(|^`|\\)$|`$/}},/\\$(?:[a-z0-9_#\\?\\*!@]+|\\{[^}]+\\})/i]};e.languages.bash={shebang:{pattern:/^#!\\s*\\/bin\\/bash|^#!\\s*\\/bin\\/sh/,alias:\"important\"},comment:{pattern:/(^|[^\"{\\\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\\s*)(?:\"|')?(\\w+?)(?:\"|')?\\s*\\r?\\n(?:[\\s\\S])*?\\r?\\n\\2/g,lookbehind:!0,greedy:!0,inside:t},{pattern:/([\"'])(?:\\\\\\\\|\\\\?[^\\\\])*?\\1/g,greedy:!0,inside:t}],variable:t.variable,\"function\":{pattern:/(^|\\s|;|\\||&)(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|npm|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|\\s|;|\\||&)/,lookbehind:!0},keyword:{pattern:/(^|\\s|;|\\||&)(?:let|:|\\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|\\s|;|\\||&)/,lookbehind:!0},\"boolean\":{pattern:/(^|\\s|;|\\||&)(?:true|false)(?=$|\\s|;|\\||&)/,lookbehind:!0},operator:/&&?|\\|\\|?|==?|!=?|<<<?|>>|<=?|>=?|=~/,punctuation:/\\$?\\(\\(?|\\)\\)?|\\.\\.|[{}[\\];]/};var a=t.variable[1].inside;a[\"function\"]=e.languages.bash[\"function\"],a.keyword=e.languages.bash.keyword,a.boolean=e.languages.bash.boolean,a.operator=e.languages.bash.operator,a.punctuation=e.languages.bash.punctuation}(Prism);\nPrism.languages.basic={string:/\"(?:\"\"|[!#$%&'()*,\\/:;<=>?^_ +\\-.A-Z\\d])*\"/i,comment:{pattern:/(?:!|REM\\b).+/i,inside:{keyword:/^REM/i}},number:/(?:\\b|\\B[.-])(?:\\d+\\.?\\d*)(?:E[+-]?\\d+)?/i,keyword:/\\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SHARED|SINGLE|SELECT CASE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\\$|\\b)/i,\"function\":/\\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\\$|\\b)/i,operator:/<[=>]?|>=?|[+\\-*\\/^=&]|\\b(?:AND|EQV|IMP|NOT|OR|XOR)\\b/i,punctuation:/[,;:()]/};\n!function(e){var r=/%%?[~:\\w]+%?|!\\S+!/,t={pattern:/\\/[a-z?]+(?=[ :]|$):?|-[a-z]\\b|--[a-z-]+\\b/im,alias:\"attr-name\",inside:{punctuation:/:/}},n=/\"[^\"]*\"/,i=/(?:\\b|-)\\d+\\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \\t]*)rem\\b(?:[^^&)\\r\\n]|\\^(?:\\r\\n|[\\s\\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:\"property\"},command:[{pattern:/((?:^|[&(])[ \\t]*)for(?: ?\\/[a-z?](?:[ :](?:\"[^\"]*\"|\\S+))?)* \\S+ in \\([^)]+\\) do/im,lookbehind:!0,inside:{keyword:/^for\\b|\\b(?:in|do)\\b/i,string:n,parameter:t,variable:r,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \\t]*)if(?: ?\\/[a-z?](?:[ :](?:\"[^\"]*\"|\\S+))?)* (?:not )?(?:cmdextversion \\d+|defined \\w+|errorlevel \\d+|exist \\S+|(?:\"[^\"]*\"|\\S+)?(?:==| (?:equ|neq|lss|leq|gtr|geq) )(?:\"[^\"]*\"|\\S+))/im,lookbehind:!0,inside:{keyword:/^if\\b|\\b(?:not|cmdextversion|defined|errorlevel|exist)\\b/i,string:n,parameter:t,variable:r,number:i,operator:/\\^|==|\\b(?:equ|neq|lss|leq|gtr|geq)\\b/i}},{pattern:/((?:^|[&()])[ \\t]*)else\\b/im,lookbehind:!0,inside:{keyword:/^else\\b/i}},{pattern:/((?:^|[&(])[ \\t]*)set(?: ?\\/[a-z](?:[ :](?:\"[^\"]*\"|\\S+))?)* (?:[^^&)\\r\\n]|\\^(?:\\r\\n|[\\s\\S]))*/im,lookbehind:!0,inside:{keyword:/^set\\b/i,string:n,parameter:t,variable:[r,/\\w+(?=(?:[*\\/%+\\-&^|]|<<|>>)?=)/],number:i,operator:/[*\\/%+\\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \\t]*@?)\\w+\\b(?:[^^&)\\r\\n]|\\^(?:\\r\\n|[\\s\\S]))*/im,lookbehind:!0,inside:{keyword:/^\\w+\\b/i,string:n,parameter:t,label:{pattern:/(^\\s*):\\S+/m,lookbehind:!0,alias:\"property\"},variable:r,number:i,operator:/\\^/}}],operator:/[&@]/,punctuation:/[()']/}}(Prism);\nPrism.languages.bison=Prism.languages.extend(\"c\",{}),Prism.languages.insertBefore(\"bison\",\"comment\",{bison:{pattern:/^[\\s\\S]*?%%[\\s\\S]*?%%/,inside:{c:{pattern:/%\\{[\\s\\S]*?%\\}|\\{(?:\\{[^}]*\\}|[^{}])*\\}/,inside:{delimiter:{pattern:/^%?\\{|%?\\}$/,alias:\"punctuation\"},\"bison-variable\":{pattern:/[$@](?:<[^\\s>]+>)?[\\w$]+/,alias:\"variable\",inside:{punctuation:/<|>/}},rest:Prism.languages.c}},comment:Prism.languages.c.comment,string:Prism.languages.c.string,property:/\\S+(?=:)/,keyword:/%\\w+/,number:{pattern:/(^|[^@])\\b(?:0x[\\da-f]+|\\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\\[\\]<>]/}}});\nPrism.languages.brainfuck={pointer:{pattern:/<|>/,alias:\"keyword\"},increment:{pattern:/\\+/,alias:\"inserted\"},decrement:{pattern:/-/,alias:\"deleted\"},branching:{pattern:/\\[|\\]/,alias:\"important\"},operator:/[.,]/,comment:/\\S+/};\nPrism.languages.bro={comment:{pattern:/(^|[^\\\\$])#.*/,lookbehind:!0,inside:{italic:/\\b(TODO|FIXME|XXX)\\b/}},string:{pattern:/([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},\"boolean\":/\\b(T|F)\\b/,\"function\":{pattern:/(?:function|hook|event) [a-zA-Z0-9_]+(::[a-zA-Z0-9_]+)?/,inside:{keyword:/^(?:function|hook|event)/}},variable:{pattern:/(?:global|local) [a-zA-Z0-9_]+/i,inside:{keyword:/(?:global|local)/}},builtin:/(@(load(-(sigs|plugin))?|unload|prefixes|ifn?def|else|(end)?if|DIR|FILENAME))|(&?(redef|priority|log|optional|default|add_func|delete_func|expire_func|read_expire|write_expire|create_expire|synchronized|persistent|rotate_interval|rotate_size|encrypt|raw_output|mergeable|group|error_handler|type_column))/,constant:{pattern:/const [a-zA-Z0-9_]+/i,inside:{keyword:/const/}},keyword:/\\b(break|next|continue|alarm|using|of|add|delete|export|print|return|schedule|when|timeout|addr|any|bool|count|double|enum|file|int|interval|pattern|opaque|port|record|set|string|subnet|table|time|vector|for|if|else|in|module|function)\\b/,operator:/--?|\\+\\+?|!=?=?|<=?|>=?|==?=?|&&|\\|\\|?|\\?|\\*|\\/|~|\\^|%/,number:/\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)\\b/i,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.cpp=Prism.languages.extend(\"c\",{keyword:/\\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\\b/,\"boolean\":/\\b(true|false)\\b/,operator:/[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\\->|:{1,2}|={1,2}|\\^|~|%|&{1,2}|\\|?\\||\\?|\\*|\\/|\\b(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\\b/}),Prism.languages.insertBefore(\"cpp\",\"keyword\",{\"class-name\":{pattern:/(class\\s+)[a-z0-9_]+/i,lookbehind:!0}});\nPrism.languages.csharp=Prism.languages.extend(\"clike\",{keyword:/\\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\\b/,string:[{pattern:/@(\"|')(\\1\\1|\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1/,greedy:!0},{pattern:/(\"|')(\\\\?.)*?\\1/,greedy:!0}],number:/\\b-?(0x[\\da-f]+|\\d*\\.?\\d+f?)\\b/i}),Prism.languages.insertBefore(\"csharp\",\"keyword\",{\"generic-method\":{pattern:/[a-z0-9_]+\\s*<[^>\\r\\n]+?>\\s*(?=\\()/i,alias:\"function\",inside:{keyword:Prism.languages.csharp.keyword,punctuation:/[<>(),.:]/}},preprocessor:{pattern:/(^\\s*)#.*/m,lookbehind:!0,alias:\"property\",inside:{directive:{pattern:/(\\s*#)\\b(define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\\b/,lookbehind:!0,alias:\"keyword\"}}}});\nPrism.languages.arduino=Prism.languages.extend(\"cpp\",{keyword:/\\b(setup|if|else|while|do|for|return|in|instanceof|default|function|loop|goto|switch|case|new|try|throw|catch|finally|null|break|continue|boolean|bool|void|byte|word|string|String|array|int|long|integer|double)\\b/,builtin:/\\b(KeyboardController|MouseController|SoftwareSerial|EthernetServer|EthernetClient|LiquidCrystal|LiquidCrystal_I2C|RobotControl|GSMVoiceCall|EthernetUDP|EsploraTFT|HttpClient|RobotMotor|WiFiClient|GSMScanner|FileSystem|Scheduler|GSMServer|YunClient|YunServer|IPAddress|GSMClient|GSMModem|Keyboard|Ethernet|Console|GSMBand|Esplora|Stepper|Process|WiFiUDP|GSM_SMS|Mailbox|USBHost|Firmata|PImage|Client|Server|GSMPIN|FileIO|Bridge|Serial|EEPROM|Stream|Mouse|Audio|Servo|File|Task|GPRS|WiFi|Wire|TFT|GSM|SPI|SD|runShellCommandAsynchronously|analogWriteResolution|retrieveCallingNumber|printFirmwareVersion|analogReadResolution|sendDigitalPortPair|noListenOnLocalhost|readJoystickButton|setFirmwareVersion|readJoystickSwitch|scrollDisplayRight|getVoiceCallStatus|scrollDisplayLeft|writeMicroseconds|delayMicroseconds|beginTransmission|getSignalStrength|runAsynchronously|getAsynchronously|listenOnLocalhost|getCurrentCarrier|readAccelerometer|messageAvailable|sendDigitalPorts|lineFollowConfig|countryNameWrite|runShellCommand|readStringUntil|rewindDirectory|readTemperature|setClockDivider|readLightSensor|endTransmission|analogReference|detachInterrupt|countryNameRead|attachInterrupt|encryptionType|readBytesUntil|robotNameWrite|readMicrophone|robotNameRead|cityNameWrite|userNameWrite|readJoystickY|readJoystickX|mouseReleased|openNextFile|scanNetworks|noInterrupts|digitalWrite|beginSpeaker|mousePressed|isActionDone|mouseDragged|displayLogos|noAutoscroll|addParameter|remoteNumber|getModifiers|keyboardRead|userNameRead|waitContinue|processInput|parseCommand|printVersion|readNetworks|writeMessage|blinkVersion|cityNameRead|readMessage|setDataMode|parsePacket|isListening|setBitOrder|beginPacket|isDirectory|motorsWrite|drawCompass|digitalRead|clearScreen|serialEvent|rightToLeft|setTextSize|leftToRight|requestFrom|keyReleased|compassRead|analogWrite|interrupts|WiFiServer|disconnect|playMelody|parseFloat|autoscroll|getPINUsed|setPINUsed|setTimeout|sendAnalog|readSlider|analogRead|beginWrite|createChar|motorsStop|keyPressed|tempoWrite|readButton|subnetMask|debugPrint|macAddress|writeGreen|randomSeed|attachGPRS|readString|sendString|remotePort|releaseAll|mouseMoved|background|getXChange|getYChange|answerCall|getResult|voiceCall|endPacket|constrain|getSocket|writeJSON|getButton|available|connected|findUntil|readBytes|exitValue|readGreen|writeBlue|startLoop|IPAddress|isPressed|sendSysex|pauseMode|gatewayIP|setCursor|getOemKey|tuneWrite|noDisplay|loadImage|switchPIN|onRequest|onReceive|changePIN|playFile|noBuffer|parseInt|overflow|checkPIN|knobRead|beginTFT|bitClear|updateIR|bitWrite|position|writeRGB|highByte|writeRed|setSpeed|readBlue|noStroke|remoteIP|transfer|shutdown|hangCall|beginSMS|endWrite|attached|maintain|noCursor|checkReg|checkPUK|shiftOut|isValid|shiftIn|pulseIn|connect|println|localIP|pinMode|getIMEI|display|noBlink|process|getBand|running|beginSD|drawBMP|lowByte|setBand|release|bitRead|prepare|pointTo|readRed|setMode|noFill|remove|listen|stroke|detach|attach|noTone|exists|buffer|height|bitSet|circle|config|cursor|random|IRread|setDNS|endSMS|getKey|micros|millis|begin|print|write|ready|flush|width|isPIN|blink|clear|press|mkdir|rmdir|close|point|yield|image|BSSID|click|delay|read|text|move|peek|beep|rect|line|open|seek|fill|size|turn|stop|home|find|step|tone|sqrt|RSSI|SSID|end|bit|tan|cos|sin|pow|map|abs|max|min|get|run|put)\\b/,constant:/\\b(DIGITAL_MESSAGE|FIRMATA_STRING|ANALOG_MESSAGE|REPORT_DIGITAL|REPORT_ANALOG|INPUT_PULLUP|SET_PIN_MODE|INTERNAL2V56|SYSTEM_RESET|LED_BUILTIN|INTERNAL1V1|SYSEX_START|INTERNAL|EXTERNAL|DEFAULT|OUTPUT|INPUT|HIGH|LOW)\\b/});\n!function(e){var t=/#(?!\\{).+/,n={pattern:/#\\{[^}]+\\}/,alias:\"variable\"};e.languages.coffeescript=e.languages.extend(\"javascript\",{comment:t,string:[{pattern:/'(?:\\\\?[^\\\\])*?'/,greedy:!0},{pattern:/\"(?:\\\\?[^\\\\])*?\"/,greedy:!0,inside:{interpolation:n}}],keyword:/\\b(and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\\b/,\"class-member\":{pattern:/@(?!\\d)\\w+/,alias:\"variable\"}}),e.languages.insertBefore(\"coffeescript\",\"comment\",{\"multiline-comment\":{pattern:/###[\\s\\S]+?###/,alias:\"comment\"},\"block-regex\":{pattern:/\\/{3}[\\s\\S]*?\\/{3}/,alias:\"regex\",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore(\"coffeescript\",\"string\",{\"inline-javascript\":{pattern:/`(?:\\\\?[\\s\\S])*?`/,inside:{delimiter:{pattern:/^`|`$/,alias:\"punctuation\"},rest:e.languages.javascript}},\"multiline-string\":[{pattern:/'''[\\s\\S]*?'''/,greedy:!0,alias:\"string\"},{pattern:/\"\"\"[\\s\\S]*?\"\"\"/,greedy:!0,alias:\"string\",inside:{interpolation:n}}]}),e.languages.insertBefore(\"coffeescript\",\"keyword\",{property:/(?!\\d)\\w+(?=\\s*:(?!:))/}),delete e.languages.coffeescript[\"template-string\"]}(Prism);\n!function(e){e.languages.ruby=e.languages.extend(\"clike\",{comment:[/#(?!\\{[^\\r\\n]*?\\}).*/,/^=begin(?:\\r?\\n|\\r)(?:.*(?:\\r?\\n|\\r))*?=end/m],keyword:/\\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\\b/});var n={pattern:/#\\{[^}]+\\}/,inside:{delimiter:{pattern:/^#\\{|\\}$/,alias:\"tag\"},rest:e.util.clone(e.languages.ruby)}};e.languages.insertBefore(\"ruby\",\"keyword\",{regex:[{pattern:/%r([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1[gim]{0,3}/,greedy:!0,inside:{interpolation:n}},{pattern:/%r\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[gim]{0,3}/,greedy:!0,inside:{interpolation:n}},{pattern:/%r\\{(?:[^#{}\\\\]|#(?:\\{[^}]+\\})?|\\\\[\\s\\S])*\\}[gim]{0,3}/,greedy:!0,inside:{interpolation:n}},{pattern:/%r\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\][gim]{0,3}/,greedy:!0,inside:{interpolation:n}},{pattern:/%r<(?:[^<>\\\\]|\\\\[\\s\\S])*>[gim]{0,3}/,greedy:!0,inside:{interpolation:n}},{pattern:/(^|[^\\/])\\/(?!\\/)(\\[.+?]|\\\\.|[^\\/\\\\\\r\\n])+\\/[gim]{0,3}(?=\\s*($|[\\r\\n,.;})]))/,lookbehind:!0,greedy:!0}],variable:/[@$]+[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\\b)/,symbol:/:[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\\b)/}),e.languages.insertBefore(\"ruby\",\"number\",{builtin:/\\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\\b/,constant:/\\b[A-Z][a-zA-Z_0-9]*(?:[?!]|\\b)/}),e.languages.ruby.string=[{pattern:/%[qQiIwWxs]?([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,greedy:!0,inside:{interpolation:n}},{pattern:/%[qQiIwWxs]?\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)/,greedy:!0,inside:{interpolation:n}},{pattern:/%[qQiIwWxs]?\\{(?:[^#{}\\\\]|#(?:\\{[^}]+\\})?|\\\\[\\s\\S])*\\}/,greedy:!0,inside:{interpolation:n}},{pattern:/%[qQiIwWxs]?\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\]/,greedy:!0,inside:{interpolation:n}},{pattern:/%[qQiIwWxs]?<(?:[^<>\\\\]|\\\\[\\s\\S])*>/,greedy:!0,inside:{interpolation:n}},{pattern:/(\"|')(#\\{[^}]+\\}|\\\\(?:\\r?\\n|\\r)|\\\\?.)*?\\1/,greedy:!0,inside:{interpolation:n}}]}(Prism);\nPrism.languages.css.selector={pattern:/[^\\{\\}\\s][^\\{\\}]*(?=\\s*\\{)/,inside:{\"pseudo-element\":/:(?:after|before|first-letter|first-line|selection)|::[-\\w]+/,\"pseudo-class\":/:[-\\w]+(?:\\(.*\\))?/,\"class\":/\\.[-:\\.\\w]+/,id:/#[-:\\.\\w]+/,attribute:/\\[[^\\]]+\\]/}},Prism.languages.insertBefore(\"css\",\"function\",{hexcode:/#[\\da-f]{3,8}/i,entity:/\\\\[\\da-f]{1,8}/i,number:/[\\d%\\.]+/});\nPrism.languages.d=Prism.languages.extend(\"clike\",{string:[/\\b[rx]\"(\\\\.|[^\\\\\"])*\"[cwd]?/,/\\bq\"(?:\\[[\\s\\S]*?\\]|\\([\\s\\S]*?\\)|<[\\s\\S]*?>|\\{[\\s\\S]*?\\})\"/,/\\bq\"([_a-zA-Z][_a-zA-Z\\d]*)(?:\\r?\\n|\\r)[\\s\\S]*?(?:\\r?\\n|\\r)\\1\"/,/\\bq\"(.)[\\s\\S]*?\\1\"/,/'(?:\\\\'|\\\\?[^']+)'/,/([\"`])(\\\\.|(?!\\1)[^\\\\])*\\1[cwd]?/],number:[/\\b0x\\.?[a-f\\d_]+(?:(?!\\.\\.)\\.[a-f\\d_]*)?(?:p[+-]?[a-f\\d_]+)?[ulfi]*/i,{pattern:/((?:\\.\\.)?)(?:\\b0b\\.?|\\b|\\.)\\d[\\d_]*(?:(?!\\.\\.)\\.[\\d_]*)?(?:e[+-]?\\d[\\d_]*)?[ulfi]*/i,lookbehind:!0}],keyword:/\\$|\\b(?:abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|public|pure|real|ref|return|scope|shared|short|static|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|__(?:(?:FILE|MODULE|LINE|FUNCTION|PRETTY_FUNCTION|DATE|EOF|TIME|TIMESTAMP|VENDOR|VERSION)__|gshared|traits|vector|parameters)|string|wstring|dstring|size_t|ptrdiff_t)\\b/,operator:/\\|[|=]?|&[&=]?|\\+[+=]?|-[-=]?|\\.?\\.\\.|=[>=]?|!(?:i[ns]\\b|<>?=?|>=?|=)?|\\bi[ns]\\b|(?:<[<>]?|>>?>?|\\^\\^|[*\\/%^~])=?/}),Prism.languages.d.comment=[/^\\s*#!.+/,{pattern:/(^|[^\\\\])\\/\\+(?:\\/\\+[\\s\\S]*?\\+\\/|[\\s\\S])*?\\+\\//,lookbehind:!0}].concat(Prism.languages.d.comment),Prism.languages.insertBefore(\"d\",\"comment\",{\"token-string\":{pattern:/\\bq\\{(?:|\\{[^}]*\\}|[^}])*\\}/,alias:\"string\"}}),Prism.languages.insertBefore(\"d\",\"keyword\",{property:/\\B@\\w*/}),Prism.languages.insertBefore(\"d\",\"function\",{register:{pattern:/\\b(?:[ABCD][LHX]|E[ABCD]X|E?(?:BP|SP|DI|SI)|[ECSDGF]S|CR[0234]|DR[012367]|TR[3-7]|X?MM[0-7]|R[ABCD]X|[BS]PL|R[BS]P|[DS]IL|R[DS]I|R(?:[89]|1[0-5])[BWD]?|XMM(?:[89]|1[0-5])|YMM(?:1[0-5]|\\d))\\b|\\bST(?:\\([0-7]\\)|\\b)/,alias:\"variable\"}});\nPrism.languages.dart=Prism.languages.extend(\"clike\",{string:[{pattern:/r?(\"\"\"|''')[\\s\\S]*?\\1/,greedy:!0},{pattern:/r?(\"|')(\\\\?.)*?\\1/,greedy:!0}],keyword:[/\\b(?:async|sync|yield)\\*/,/\\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|default|deferred|do|dynamic|else|enum|export|external|extends|factory|final|finally|for|get|if|implements|import|in|library|new|null|operator|part|rethrow|return|set|static|super|switch|this|throw|try|typedef|var|void|while|with|yield)\\b/],operator:/\\bis!|\\b(?:as|is)\\b|\\+\\+|--|&&|\\|\\||<<=?|>>=?|~(?:\\/=?)?|[+\\-*\\/%&^|=!<>]=?|\\?/}),Prism.languages.insertBefore(\"dart\",\"function\",{metadata:{pattern:/@\\w+/,alias:\"symbol\"}});\nvar _django_template={property:{pattern:/(?:{{|{%)[\\s\\S]*?(?:%}|}})/g,greedy:!0,inside:{string:{pattern:/(\"|')(?:\\\\\\\\|\\\\?[^\\\\\\r\\n])*?\\1/,greedy:!0},keyword:/\\b(?:\\||load|verbatim|widthratio|ssi|firstof|for|url|ifchanged|csrf_token|lorem|ifnotequal|autoescape|now|templatetag|debug|cycle|ifequal|regroup|comment|filter|endfilter|if|spaceless|with|extends|block|include|else|empty|endif|endfor|as|endblock|endautoescape|endverbatim|trans|endtrans|[Tt]rue|[Ff]alse|[Nn]one|in|is|static|macro|endmacro|call|endcall|set|endset|raw|endraw)\\b/,operator:/[-+=]=?|!=|\\*\\*?=?|\\/\\/?=?|<[<=>]?|>[=>]?|[&|^~]|\\b(?:or|and|not)\\b/,\"function\":/\\b(?:_|abs|add|addslashes|attr|batch|callable|capfirst|capitalize|center|count|cut|d|date|default|default_if_none|defined|dictsort|dictsortreversed|divisibleby|e|equalto|escape|escaped|escapejs|even|filesizeformat|first|float|floatformat|force_escape|forceescape|format|get_digit|groupby|indent|int|iriencode|iterable|join|last|length|length_is|linebreaks|linebreaksbr|linenumbers|list|ljust|lower|make_list|map|mapping|number|odd|phone2numeric|pluralize|pprint|random|reject|rejectattr|removetags|replace|reverse|rjust|round|safe|safeseq|sameas|select|selectattr|sequence|slice|slugify|sort|string|stringformat|striptags|sum|time|timesince|timeuntil|title|trim|truncate|truncatechars|truncatechars_html|truncatewords|truncatewords_html|undefined|unordered_list|upper|urlencode|urlize|urlizetrunc|wordcount|wordwrap|xmlattr|yesno)\\b/,important:/\\b-?\\d+(?:\\.\\d+)?\\b/,variable:/\\b\\w+?\\b/,punctuation:/[[\\];(),.:]/}}};Prism.languages.django=Prism.languages.extend(\"markup\",{comment:/(?:<!--|{#)[\\s\\S]*?(?:#}|-->)/}),Prism.languages.django.tag.pattern=/<\\/?(?!\\d)[^\\s>\\/=$<]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1|[^>=]+))?)*\\s*\\/?>/i,Prism.languages.insertBefore(\"django\",\"entity\",_django_template),Prism.languages.insertBefore(\"inside\",\"tag\",_django_template,Prism.languages.django.tag),Prism.languages.javascript&&(Prism.languages.insertBefore(\"inside\",\"string\",_django_template,Prism.languages.django.script),Prism.languages.django.script.inside.string.inside=_django_template),Prism.languages.css&&(Prism.languages.insertBefore(\"inside\",\"atrule\",{tag:_django_template.property},Prism.languages.django.style),Prism.languages.django.style.inside.string.inside=_django_template),Prism.languages.jinja2=Prism.languages.django;\nPrism.languages.diff={coord:[/^(?:\\*{3}|-{3}|\\+{3}).*$/m,/^@@.*@@$/m,/^\\d+.*$/m],deleted:/^[-<].*$/m,inserted:/^[+>].*$/m,diff:{pattern:/^!(?!!).+$/m,alias:\"important\"}};\nPrism.languages.docker={keyword:{pattern:/(^\\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\\s)/im,lookbehind:!0},string:/(\"|')(?:(?!\\1)[^\\\\\\r\\n]|\\\\(?:\\r\\n|[\\s\\S]))*?\\1/,comment:/#.*/,punctuation:/---|\\.\\.\\.|[:[\\]{}\\-,|>?]/},Prism.languages.dockerfile=Prism.languages.docker;\nPrism.languages.eiffel={comment:/--.*/,string:[{pattern:/\"([^[]*)\\[[\\s\\S]+?\\]\\1\"/,greedy:!0},{pattern:/\"([^{]*)\\{[\\s\\S]+?\\}\\1\"/,greedy:!0},{pattern:/\"(?:%\\s+%|%\"|.)*?\"/,greedy:!0}],\"char\":/'(?:%'|.)+?'/,keyword:/\\b(?:across|agent|alias|all|and|attached|as|assign|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\\b/i,\"boolean\":/\\b(?:True|False)\\b/i,\"class-name\":{pattern:/\\b[A-Z][\\dA-Z_]*\\b/g,alias:\"builtin\"},number:[/\\b0[xcb][\\da-f](?:_*[\\da-f])*\\b/i,/(?:\\d(?:_*\\d)*)?\\.(?:(?:\\d(?:_*\\d)*)?[eE][+-]?)?\\d(?:_*\\d)*|\\d(?:_*\\d)*\\.?/],punctuation:/:=|<<|>>|\\(\\||\\|\\)|->|\\.(?=\\w)|[{}[\\];(),:?]/,operator:/\\\\\\\\|\\|\\.\\.\\||\\.\\.|\\/[~\\/=]?|[><]=?|[-+*^=~]/};\nPrism.languages.elixir={comment:{pattern:/(^|[^#])#(?![{#]).*/m,lookbehind:!0},regex:/~[rR](?:(\"\"\"|'''|[\\/|\"'])(?:\\\\.|(?!\\1)[^\\\\])+\\1|\\((?:\\\\\\)|[^)])+\\)|\\[(?:\\\\\\]|[^\\]])+\\]|\\{(?:\\\\\\}|[^}])+\\}|<(?:\\\\>|[^>])+>)[uismxfr]*/,string:[{pattern:/~[cCsSwW](?:(\"\"\"|'''|[\\/|\"'])(?:\\\\.|(?!\\1)[^\\\\])+\\1|\\((?:\\\\\\)|[^)])+\\)|\\[(?:\\\\\\]|[^\\]])+\\]|\\{(?:\\\\\\}|#\\{[^}]+\\}|[^}])+\\}|<(?:\\\\>|[^>])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/(\"\"\"|''')[\\s\\S]*?\\1/,greedy:!0,inside:{}},{pattern:/(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\\w+/,lookbehind:!0,alias:\"symbol\"},\"attr-name\":/\\w+:(?!:)/,capture:{pattern:/(^|[^&])&(?:[^&\\s\\d()][^\\s()]*|(?=\\())/,lookbehind:!0,alias:\"function\"},argument:{pattern:/(^|[^&])&\\d+/,lookbehind:!0,alias:\"variable\"},attribute:{pattern:/@[\\S]+/,alias:\"variable\"},number:/\\b(?:0[box][a-f\\d_]+|\\d[\\d_]*)(?:\\.[\\d_]+)?(?:e[+-]?[\\d_]+)?\\b/i,keyword:/\\b(?:after|alias|and|case|catch|cond|def(?:callback|exception|impl|module|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|require|rescue|try|unless|use|when)\\b/,\"boolean\":/\\b(?:true|false|nil)\\b/,operator:[/\\bin\\b|&&?|\\|[|>]?|\\\\\\\\|::|\\.\\.\\.?|\\+\\+?|-[->]?|<[-=>]|>=|!==?|\\B!|=(?:==?|[>~])?|[*\\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\\[\\]{}()]/},Prism.languages.elixir.string.forEach(function(e){e.inside={interpolation:{pattern:/#\\{[^}]+\\}/,inside:{delimiter:{pattern:/^#\\{|\\}$/,alias:\"punctuation\"},rest:Prism.util.clone(Prism.languages.elixir)}}}});\nPrism.languages.erlang={comment:/%.+/,string:{pattern:/\"(?:\\\\?.)*?\"/,greedy:!0},\"quoted-function\":{pattern:/'(?:\\\\.|[^'\\\\])+'(?=\\()/,alias:\"function\"},\"quoted-atom\":{pattern:/'(?:\\\\.|[^'\\\\])+'/,alias:\"atom\"},\"boolean\":/\\b(?:true|false)\\b/,keyword:/\\b(?:fun|when|case|of|end|if|receive|after|try|catch)\\b/,number:[/\\$\\\\?./,/\\d+#[a-z0-9]+/i,/(?:\\b|-)\\d*\\.?\\d+([Ee][+-]?\\d+)?\\b/],\"function\":/\\b[a-z][\\w@]*(?=\\()/,variable:{pattern:/(^|[^@])(?:\\b|\\?)[A-Z_][\\w@]*/,lookbehind:!0},operator:[/[=\\/<>:]=|=[:\\/]=|\\+\\+?|--?|[=*\\/!]|\\b(?:bnot|div|rem|band|bor|bxor|bsl|bsr|not|and|or|xor|orelse|andalso)\\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\\b[a-z][\\w@]*/,punctuation:/[()[\\]{}:;,.#|]|<<|>>/};\nPrism.languages.fsharp=Prism.languages.extend(\"clike\",{comment:[{pattern:/(^|[^\\\\])\\(\\*[\\s\\S]*?\\*\\)/,lookbehind:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0}],keyword:/\\b(?:let|return|use|yield)(?:!\\B|\\b)|\\b(abstract|and|as|assert|base|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|global|if|in|inherit|inline|interface|internal|lazy|match|member|module|mutable|namespace|new|not|null|of|open|or|override|private|public|rec|select|static|struct|then|to|true|try|type|upcast|val|void|when|while|with|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|include|method|mixin|object|parallel|process|protected|pure|sealed|tailcall|trait|virtual|volatile)\\b/,string:{pattern:/(?:\"\"\"[\\s\\S]*?\"\"\"|@\"(?:\"\"|[^\"])*\"|(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1)B?/,greedy:!0},number:[/\\b-?0x[\\da-fA-F]+(un|lf|LF)?\\b/,/\\b-?0b[01]+(y|uy)?\\b/,/\\b-?(\\d*\\.?\\d+|\\d+\\.)([fFmM]|[eE][+-]?\\d+)?\\b/,/\\b-?\\d+(y|uy|s|us|l|u|ul|L|UL|I)?\\b/]}),Prism.languages.insertBefore(\"fsharp\",\"keyword\",{preprocessor:{pattern:/^[^\\r\\n\\S]*#.*/m,alias:\"property\",inside:{directive:{pattern:/(\\s*#)\\b(else|endif|if|light|line|nowarn)\\b/,lookbehind:!0,alias:\"keyword\"}}}});\nPrism.languages.fortran={\"quoted-number\":{pattern:/[BOZ](['\"])[A-F0-9]+\\1/i,alias:\"number\"},string:{pattern:/(?:\\w+_)?(['\"])(?:\\1\\1|&(?:\\r\\n?|\\n)(?:\\s*!.+(?:\\r\\n?|\\n))?|(?!\\1).)*(?:\\1|&)/,inside:{comment:{pattern:/(&(?:\\r\\n?|\\n)\\s*)!.*/,lookbehind:!0}}},comment:/!.*/,\"boolean\":/\\.(?:TRUE|FALSE)\\.(?:_\\w+)?/i,number:/(?:\\b|[+-])(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[ED][+-]?\\d+)?(?:_\\w+)?/i,keyword:[/\\b(?:INTEGER|REAL|DOUBLE ?PRECISION|COMPLEX|CHARACTER|LOGICAL)\\b/i,/\\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\\b/i,/\\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\\b/i,/\\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEWHERE|ELSEIF|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\\b/i],operator:[/\\*\\*|\\/\\/|=>|[=\\/]=|[<>]=?|::|[+\\-*=%]|\\.(?:EQ|NE|LT|LE|GT|GE|NOT|AND|OR|EQV|NEQV)\\.|\\.[A-Z]+\\./i,{pattern:/(^|(?!\\().)\\/(?!\\))/,lookbehind:!0}],punctuation:/\\(\\/|\\/\\)|[(),;:&]/};\nPrism.languages.gherkin={pystring:{pattern:/(\"\"\"|''')[\\s\\S]+?\\1/,alias:\"string\"},comment:{pattern:/((^|\\r?\\n|\\r)[ \\t]*)#.*/,lookbehind:!0},tag:{pattern:/((^|\\r?\\n|\\r)[ \\t]*)@\\S*/,lookbehind:!0},feature:{pattern:/((^|\\r?\\n|\\r)[ \\t]*)(Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|laH|Lastnost|Mak|Mogucnost|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|perbogh|poQbogh malja'|Potrzeba biznesowa|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):([^:]+(?:\\r?\\n|\\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\\r\\n]+/,lookbehind:!0},keyword:/[^:\\r\\n]+:/}},scenario:{pattern:/((^|\\r?\\n|\\r)[ \\t]*)(Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram senaryo|Dyagram Senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|Examples|EXAMPLZ|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|ghantoH|Grundlage|Hannergrond|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut|lut chovnatlh|lutmey|Lýsing Atburðarásar|Lýsing Dæma|Menggariskan Senario|MISHUN|MISHUN SRSLY|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan senaryo|Plan Senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo|Senaryo deskripsyon|Senaryo Deskripsyon|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie|Situasie Uiteensetting|Skenario|Skenario konsep|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa|Swa hwaer swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo\\-ho\\-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\\r\\n]*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\\r\\n]*/,lookbehind:!0},keyword:/[^:\\r\\n]+:/}},\"table-body\":{pattern:/((?:\\r?\\n|\\r)[ \\t]*\\|.+\\|[^\\r\\n]*)+/,lookbehind:!0,inside:{outline:{pattern:/<[^>]+?>/,alias:\"variable\"},td:{pattern:/\\s*[^\\s|][^|]*/,alias:\"string\"},punctuation:/\\|/}},\"table-head\":{pattern:/((?:\\r?\\n|\\r)[ \\t]*\\|.+\\|[^\\r\\n]*)/,inside:{th:{pattern:/\\s*[^\\s|][^|]*/,alias:\"variable\"},punctuation:/\\|/}},atrule:{pattern:/((?:\\r?\\n|\\r)[ \\t]+)('ach|'a|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cando|Cand|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|Dato|DEN|Den youse gotta|Dengan|De|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|Entonces|En|Epi|E|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kadar|Kada|Kad|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Majd|Maka|Manawa|Mas|Ma|Menawa|Men|Mutta|Nalikaning|Nalika|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Og|Och|Oletetaan|Onda|Ond|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|qaSDI'|Quando|Quand|Quan|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|ugeholl|Und|Un|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadani|Zadano|Zadan|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \\t]+)/,lookbehind:!0},string:{pattern:/(\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*')/,inside:{outline:{pattern:/<[^>]+?>/,alias:\"variable\"}}},outline:{pattern:/<[^>]+?>/,alias:\"variable\"}};\nPrism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\\+.*/m,string:/(\"|')(\\\\?.)*?\\1/m,command:{pattern:/^.*\\$ git .*$/m,inside:{parameter:/\\s(--|-)\\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \\w{40}$/m};\nPrism.languages.glsl=Prism.languages.extend(\"clike\",{comment:[/\\/\\*[\\s\\S]*?\\*\\//,/\\/\\/(?:\\\\(?:\\r\\n|[\\s\\S])|.)*/],number:/\\b(?:0x[\\da-f]+|(?:\\.\\d+|\\d+\\.?\\d*)(?:e[+-]?\\d+)?)[ulf]*\\b/i,keyword:/\\b(?:attribute|const|uniform|varying|buffer|shared|coherent|volatile|restrict|readonly|writeonly|atomic_uint|layout|centroid|flat|smooth|noperspective|patch|sample|break|continue|do|for|while|switch|case|default|if|else|subroutine|in|out|inout|float|double|int|void|bool|true|false|invariant|precise|discard|return|d?mat[234](?:x[234])?|[ibdu]?vec[234]|uint|lowp|mediump|highp|precision|[iu]?sampler[123]D|[iu]?samplerCube|sampler[12]DShadow|samplerCubeShadow|[iu]?sampler[12]DArray|sampler[12]DArrayShadow|[iu]?sampler2DRect|sampler2DRectShadow|[iu]?samplerBuffer|[iu]?sampler2DMS(?:Array)?|[iu]?samplerCubeArray|samplerCubeArrayShadow|[iu]?image[123]D|[iu]?image2DRect|[iu]?imageCube|[iu]?imageBuffer|[iu]?image[12]DArray|[iu]?imageCubeArray|[iu]?image2DMS(?:Array)?|struct|common|partition|active|asm|class|union|enum|typedef|template|this|resource|goto|inline|noinline|public|static|extern|external|interface|long|short|half|fixed|unsigned|superp|input|output|hvec[234]|fvec[234]|sampler3DRect|filter|sizeof|cast|namespace|using)\\b/}),Prism.languages.insertBefore(\"glsl\",\"comment\",{preprocessor:{pattern:/(^[ \\t]*)#(?:(?:define|undef|if|ifdef|ifndef|else|elif|endif|error|pragma|extension|version|line)\\b)?/m,lookbehind:!0,alias:\"builtin\"}});\nPrism.languages.go=Prism.languages.extend(\"clike\",{keyword:/\\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\\b/,builtin:/\\b(bool|byte|complex(64|128)|error|float(32|64)|rune|string|u?int(8|16|32|64|)|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(ln)?|real|recover)\\b/,\"boolean\":/\\b(_|iota|nil|true|false)\\b/,operator:/[*\\/%^!=]=?|\\+[=+]?|-[=-]?|\\|[=|]?|&(?:=|&|\\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\\.\\.\\./,number:/\\b(-?(0x[a-f\\d]+|(\\d+\\.?\\d*|\\.\\d+)(e[-+]?\\d+)?)i?)\\b/i,string:{pattern:/(\"|'|`)(\\\\?.|\\r|\\n)*?\\1/,greedy:!0}}),delete Prism.languages.go[\"class-name\"];\nPrism.languages.graphql={comment:/#.*/,string:{pattern:/\"(?:\\\\.|[^\\\\\"])*\"/,greedy:!0},number:/(?:\\B-|\\b)\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\b/,\"boolean\":/\\b(?:true|false)\\b/,variable:/\\$[a-z_]\\w*/i,directive:{pattern:/@[a-z_]\\w*/i,alias:\"function\"},\"attr-name\":/[a-z_]\\w*(?=\\s*:)/i,keyword:[{pattern:/(fragment\\s+(?!on)[a-z_]\\w*\\s+|\\.\\.\\.\\s*)on\\b/,lookbehind:!0},/\\b(?:query|fragment|mutation)\\b/],operator:/!|=|\\.{3}/,punctuation:/[!(){}\\[\\]:=,]/};\nPrism.languages.groovy=Prism.languages.extend(\"clike\",{keyword:/\\b(as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\\b/,string:[{pattern:/(\"\"\"|''')[\\s\\S]*?\\1|(\\$\\/)(\\$\\/\\$|[\\s\\S])*?\\/\\$/,greedy:!0},{pattern:/(\"|'|\\/)(?:\\\\?.)*?\\1/,greedy:!0}],number:/\\b(?:0b[01_]+|0x[\\da-f_]+(?:\\.[\\da-f_p\\-]+)?|[\\d_]+(?:\\.[\\d_]+)?(?:e[+-]?[\\d]+)?)[glidf]?\\b/i,operator:{pattern:/(^|[^.])(~|==?~?|\\?[.:]?|\\*(?:[.=]|\\*=?)?|\\.[@&]|\\.\\.<|\\.{1,2}(?!\\.)|-[-=>]?|\\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\\|[|=]?|\\/=?|\\^=?|%=?)/,lookbehind:!0},punctuation:/\\.+|[{}[\\];(),:$]/}),Prism.languages.insertBefore(\"groovy\",\"string\",{shebang:{pattern:/#!.+/,alias:\"comment\"}}),Prism.languages.insertBefore(\"groovy\",\"punctuation\",{\"spock-block\":/\\b(setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore(\"groovy\",\"function\",{annotation:{alias:\"punctuation\",pattern:/(^|[^.])@\\w+/,lookbehind:!0}}),Prism.hooks.add(\"wrap\",function(e){if(\"groovy\"===e.language&&\"string\"===e.type){var t=e.content[0];if(\"'\"!=t){var n=/([^\\\\])(\\$(\\{.*?\\}|[\\w\\.]+))/;\"$\"===t&&(n=/([^\\$])(\\$(\\{.*?\\}|[\\w\\.]+))/),e.content=e.content.replace(/&lt;/g,\"<\").replace(/&amp;/g,\"&\"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push(\"/\"===t?\"regex\":\"gstring\")}}});\n!function(e){e.languages.haml={\"multiline-comment\":{pattern:/((?:^|\\r?\\n|\\r)([\\t ]*))(?:\\/|-#).*((?:\\r?\\n|\\r)\\2[\\t ]+.+)*/,lookbehind:!0,alias:\"comment\"},\"multiline-code\":[{pattern:/((?:^|\\r?\\n|\\r)([\\t ]*)(?:[~-]|[&!]?=)).*,[\\t ]*((?:\\r?\\n|\\r)\\2[\\t ]+.*,[\\t ]*)*((?:\\r?\\n|\\r)\\2[\\t ]+.+)/,lookbehind:!0,inside:{rest:e.languages.ruby}},{pattern:/((?:^|\\r?\\n|\\r)([\\t ]*)(?:[~-]|[&!]?=)).*\\|[\\t ]*((?:\\r?\\n|\\r)\\2[\\t ]+.*\\|[\\t ]*)*/,lookbehind:!0,inside:{rest:e.languages.ruby}}],filter:{pattern:/((?:^|\\r?\\n|\\r)([\\t ]*)):[\\w-]+((?:\\r?\\n|\\r)(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+/,lookbehind:!0,inside:{\"filter-name\":{pattern:/^:[\\w-]+/,alias:\"variable\"}}},markup:{pattern:/((?:^|\\r?\\n|\\r)[\\t ]*)<.+/,lookbehind:!0,inside:{rest:e.languages.markup}},doctype:{pattern:/((?:^|\\r?\\n|\\r)[\\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\\r?\\n|\\r)[\\t ]*)[%.#][\\w\\-#.]*[\\w\\-](?:\\([^)]+\\)|\\{(?:\\{[^}]+\\}|[^}])+\\}|\\[[^\\]]+\\])*[\\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\\{(?:\\{[^}]+\\}|[^}])+\\}/,lookbehind:!0,inside:{rest:e.languages.ruby}},{pattern:/\\([^)]+\\)/,inside:{\"attr-value\":{pattern:/(=\\s*)(?:\"(?:\\\\?.)*?\"|[^)\\s]+)/,lookbehind:!0},\"attr-name\":/[\\w:-]+(?=\\s*!?=|\\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\\[[^\\]]+\\]/,inside:{rest:e.languages.ruby}}],punctuation:/[<>]/}},code:{pattern:/((?:^|\\r?\\n|\\r)[\\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:{rest:e.languages.ruby}},interpolation:{pattern:/#\\{[^}]+\\}/,inside:{delimiter:{pattern:/^#\\{|\\}$/,alias:\"punctuation\"},rest:e.languages.ruby}},punctuation:{pattern:/((?:^|\\r?\\n|\\r)[\\t ]*)[~=\\-&!]+/,lookbehind:!0}};for(var t=\"((?:^|\\\\r?\\\\n|\\\\r)([\\\\t ]*)):{{filter_name}}((?:\\\\r?\\\\n|\\\\r)(?:\\\\2[\\\\t ]+.+|\\\\s*?(?=\\\\r?\\\\n|\\\\r)))+\",r=[\"css\",{filter:\"coffee\",language:\"coffeescript\"},\"erb\",\"javascript\",\"less\",\"markdown\",\"ruby\",\"scss\",\"textile\"],n={},a=0,i=r.length;i>a;a++){var l=r[a];l=\"string\"==typeof l?{filter:l,language:l}:l,e.languages[l.language]&&(n[\"filter-\"+l.filter]={pattern:RegExp(t.replace(\"{{filter_name}}\",l.filter)),lookbehind:!0,inside:{\"filter-name\":{pattern:/^:[\\w-]+/,alias:\"variable\"},rest:e.languages[l.language]}})}e.languages.insertBefore(\"haml\",\"filter\",n)}(Prism);\n!function(e){var a=/\\{\\{\\{[\\s\\S]+?\\}\\}\\}|\\{\\{[\\s\\S]+?\\}\\}/g;e.languages.handlebars=e.languages.extend(\"markup\",{handlebars:{pattern:a,inside:{delimiter:{pattern:/^\\{\\{\\{?|\\}\\}\\}?$/i,alias:\"punctuation\"},string:/([\"'])(\\\\?.)*?\\1/,number:/\\b-?(0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee][+-]?\\d+)?)\\b/,\"boolean\":/\\b(true|false)\\b/,block:{pattern:/^(\\s*~?\\s*)[#\\/]\\S+?(?=\\s*~?\\s*$|\\s)/i,lookbehind:!0,alias:\"keyword\"},brackets:{pattern:/\\[[^\\]]+\\]/,inside:{punctuation:/\\[|\\]/,variable:/[\\s\\S]+/}},punctuation:/[!\"#%&'()*+,.\\/;<=>@\\[\\\\\\]^`{|}~]/,variable:/[^!\"#%&'()*+,.\\/;<=>@\\[\\\\\\]^`{|}~\\s]+/}}}),e.languages.insertBefore(\"handlebars\",\"tag\",{\"handlebars-comment\":{pattern:/\\{\\{![\\s\\S]*?\\}\\}/,alias:[\"handlebars\",\"comment\"]}}),e.hooks.add(\"before-highlight\",function(e){\"handlebars\"===e.language&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(a,function(a){for(var n=e.tokenStack.length;-1!==e.backupCode.indexOf(\"___HANDLEBARS\"+n+\"___\");)++n;return e.tokenStack[n]=a,\"___HANDLEBARS\"+n+\"___\"}))}),e.hooks.add(\"before-insert\",function(e){\"handlebars\"===e.language&&(e.code=e.backupCode,delete e.backupCode)}),e.hooks.add(\"after-highlight\",function(a){if(\"handlebars\"===a.language){for(var n=0,t=Object.keys(a.tokenStack);n<t.length;++n){var r=t[n],o=a.tokenStack[r];a.highlightedCode=a.highlightedCode.replace(\"___HANDLEBARS\"+r+\"___\",e.highlight(o,a.grammar,\"handlebars\").replace(/\\$/g,\"$$$$\"))}a.element.innerHTML=a.highlightedCode}})}(Prism);\nPrism.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\\\\/])(--[^-!#$%*+=?&@|~.:<>^\\\\\\/].*|{-[\\s\\S]*?-})/m,lookbehind:!0},\"char\":/'([^\\\\']|\\\\([abfnrtv\\\\\"'&]|\\^[A-Z@[\\]\\^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\\d+|o[0-7]+|x[0-9a-fA-F]+))'/,string:{pattern:/\"([^\\\\\"]|\\\\([abfnrtv\\\\\"'&]|\\^[A-Z@[\\]\\^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\\d+|o[0-7]+|x[0-9a-fA-F]+)|\\\\\\s+\\\\)*\"/,greedy:!0},keyword:/\\b(case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\\b/,import_statement:{pattern:/(\\r?\\n|\\r|^)\\s*import\\s+(qualified\\s+)?([A-Z][_a-zA-Z0-9']*)(\\.[A-Z][_a-zA-Z0-9']*)*(\\s+as\\s+([A-Z][_a-zA-Z0-9']*)(\\.[A-Z][_a-zA-Z0-9']*)*)?(\\s+hiding\\b)?/m,inside:{keyword:/\\b(import|qualified|as|hiding)\\b/}},builtin:/\\b(abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\\b/,number:/\\b(\\d+(\\.\\d+)?(e[+-]?\\d+)?|0o[0-7]+|0x[0-9a-f]+)\\b/i,operator:/\\s\\.\\s|[-!#$%*+=?&@|~.:<>^\\\\\\/]*\\.[-!#$%*+=?&@|~.:<>^\\\\\\/]+|[-!#$%*+=?&@|~.:<>^\\\\\\/]+\\.[-!#$%*+=?&@|~.:<>^\\\\\\/]*|[-!#$%*+=?&@|~:<>^\\\\\\/]+|`([A-Z][_a-zA-Z0-9']*\\.)*[_a-z][_a-zA-Z0-9']*`/,hvariable:/\\b([A-Z][_a-zA-Z0-9']*\\.)*[_a-z][_a-zA-Z0-9']*\\b/,constant:/\\b([A-Z][_a-zA-Z0-9']*\\.)*[A-Z][_a-zA-Z0-9']*\\b/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.haxe=Prism.languages.extend(\"clike\",{string:{pattern:/([\"'])(?:(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\\\])\\$(?:\\w+|\\{[^}]+\\})/,lookbehind:!0,inside:{interpolation:{pattern:/^\\$\\w*/,alias:\"variable\"}}}}},keyword:/\\bthis\\b|\\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|from|for|function|if|implements|import|in|inline|interface|macro|new|null|override|public|private|return|static|super|switch|throw|to|try|typedef|using|var|while)(?!\\.)\\b/,operator:/\\.{3}|\\+\\+?|-[->]?|[=!]=?|&&?|\\|\\|?|<[<=]?|>[>=]?|[*\\/%~^]/}),Prism.languages.insertBefore(\"haxe\",\"class-name\",{regex:{pattern:/~\\/(?:[^\\/\\\\\\r\\n]|\\\\.)+\\/[igmsu]*/,greedy:!0}}),Prism.languages.insertBefore(\"haxe\",\"keyword\",{preprocessor:{pattern:/#\\w+/,alias:\"builtin\"},metadata:{pattern:/@:?\\w+/,alias:\"symbol\"},reification:{pattern:/\\$(?:\\w+|(?=\\{))/,alias:\"variable\"}}),Prism.languages.haxe.string.inside.interpolation.inside.rest=Prism.util.clone(Prism.languages.haxe),delete Prism.languages.haxe[\"class-name\"];\nPrism.languages.http={\"request-line\":{pattern:/^(POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\\b\\shttps?:\\/\\/\\S+\\sHTTP\\/[0-9.]+/m,inside:{property:/^(POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\\b/,\"attr-name\":/:\\w+/}},\"response-status\":{pattern:/^HTTP\\/1.[01] \\d+.*/m,inside:{property:{pattern:/(^HTTP\\/1.[01] )\\d+.*/i,lookbehind:!0}}},\"header-name\":{pattern:/^[\\w-]+:(?=.)/m,alias:\"keyword\"}};var httpLanguages={\"application/json\":Prism.languages.javascript,\"application/xml\":Prism.languages.markup,\"text/xml\":Prism.languages.markup,\"text/html\":Prism.languages.markup};for(var contentType in httpLanguages)if(httpLanguages[contentType]){var options={};options[contentType]={pattern:new RegExp(\"(content-type:\\\\s*\"+contentType+\"[\\\\w\\\\W]*?)(?:\\\\r?\\\\n|\\\\r){2}[\\\\w\\\\W]*\",\"i\"),lookbehind:!0,inside:{rest:httpLanguages[contentType]}},Prism.languages.insertBefore(\"http\",\"header-name\",options)};\nPrism.languages.icon={comment:/#.*/,string:{pattern:/([\"'])(?:(?!\\1)[^\\\\\\r\\n]|\\\\.|_(?:\\r?\\n|\\r))*\\1/,greedy:!0},number:/\\b(?:\\d+r[a-z\\d]+|\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?)\\b|\\.\\d+\\b/i,\"builtin-keyword\":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\\b/,alias:\"variable\"},directive:{pattern:/\\$\\w+/,alias:\"builtin\"},keyword:/\\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\\b/,\"function\":/(?!\\d)\\w+(?=\\s*[({]|\\s*!\\s*\\[)/,operator:/[+-]:(?!=)|(?:[\\/?@^%&]|\\+\\+?|--?|==?=?|~==?=?|\\*\\*?|\\|\\|\\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\\\|~]/,punctuation:/[\\[\\](){},;]/};\nPrism.languages.inform7={string:{pattern:/\"[^\"]*\"/,inside:{substitution:{pattern:/\\[[^\\]]+\\]/,inside:{delimiter:{pattern:/\\[|\\]/,alias:\"punctuation\"}}}}},comment:{pattern:/\\[[^\\]]+\\]/,greedy:!0},title:{pattern:/^[ \\t]*(?:volume|book|part(?! of)|chapter|section|table)\\b.+/im,alias:\"important\"},number:{pattern:/(^|[^-])(?:(?:\\b|-)\\d+(?:\\.\\d+)?(?:\\^\\d+)?\\w*|\\b(?:one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve))\\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\\b(?:applying to|are|attacking|answering|asking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:s|ing)?|consulting|contain(?:s|ing)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:ve|s|ving)|hold(?:s|ing)?|impl(?:y|ies)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:s|ing)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:s|ing)?|setting|showing|singing|sleeping|smelling|squeezing|switching|support(?:s|ing)?|swearing|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:s|ing)?|var(?:y|ies|ying)|waiting|waking|waving|wear(?:s|ing)?)\\b(?!-)/i,lookbehind:!0,alias:\"operator\"},keyword:{pattern:/(^|[^-])\\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|unless|the story)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: on| off)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\\b(?!-)/i,lookbehind:!0,alias:\"symbol\"},position:{pattern:/(^|[^-])\\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\\b(?!-)/i,lookbehind:!0,alias:\"keyword\"},type:{pattern:/(^|[^-])\\b(?:actions?|activit(?:y|ies)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\\b(?!-)/i,lookbehind:!0,alias:\"variable\"},punctuation:/[.,:;(){}]/},Prism.languages.inform7.string.inside.substitution.inside.rest=Prism.util.clone(Prism.languages.inform7),Prism.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\\S(?:\\s*\\S)*/,alias:\"comment\"};\nPrism.languages.ini={comment:/^[ \\t]*;.*$/m,selector:/^[ \\t]*\\[.*?\\]/m,constant:/^[ \\t]*[^\\s=]+?(?=[ \\t]*=)/m,\"attr-value\":{pattern:/=.*/,inside:{punctuation:/^[=]/}}};\nPrism.languages.j={comment:/\\bNB\\..*/,string:{pattern:/'(?:''|[^'\\r\\n])*'/,greedy:!0},keyword:/\\b(?:(?:adverb|conjunction|CR|def|define|dyad|LF|monad|noun|verb)\\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\\w+|goto_\\w+|if|label_\\w+|return|select|throw|try|while|whilst)\\.)/,verb:{pattern:/(?!\\^:|;\\.|[=!][.:])(?:\\{(?:\\.|::?)?|p(?:\\.\\.?|:)|[=!\\]]|[<>+*\\-%$|,#][.:]?|[\\^?]\\.?|[;\\[]:?|[~}\"i][.:]|[ACeEIjLor]\\.|(?:[_\\/\\\\qsux]|_?\\d):)/,alias:\"keyword\"},number:/\\b_?(?:(?!\\d:)\\d+(?:\\.\\d+)?(?:(?:[ejpx]|ad|ar)_?\\d+(?:\\.\\d+)?)*(?:b_?[\\da-z]+(?:\\.[\\da-z]+)?)?|_(?!\\.))/,adverb:{pattern:/[~}]|[\\/\\\\]\\.?|[bfM]\\.|t[.:]/,alias:\"builtin\"},operator:/[=a][.:]|_\\./,conjunction:{pattern:/&(?:\\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\\.|`:?|[\\^LS]:|\"/,alias:\"variable\"},punctuation:/[()]/};\n!function(e){e.languages.pug={comment:{pattern:/(^([\\t ]*))\\/\\/.*((?:\\r?\\n|\\r)\\2[\\t ]+.+)*/m,lookbehind:!0},\"multiline-script\":{pattern:/(^([\\t ]*)script\\b.*\\.[\\t ]*)((?:\\r?\\n|\\r(?!\\n))(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+/m,lookbehind:!0,inside:{rest:e.languages.javascript}},filter:{pattern:/(^([\\t ]*)):.+((?:\\r?\\n|\\r(?!\\n))(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+/m,lookbehind:!0,inside:{\"filter-name\":{pattern:/^:[\\w-]+/,alias:\"variable\"}}},\"multiline-plain-text\":{pattern:/(^([\\t ]*)[\\w\\-#.]+\\.[\\t ]*)((?:\\r?\\n|\\r(?!\\n))(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\\t ]*)<.+/m,lookbehind:!0,inside:{rest:e.languages.markup}},doctype:{pattern:/((?:^|\\n)[\\t ]*)doctype(?: .+)?/,lookbehind:!0},\"flow-control\":{pattern:/(^[\\t ]*)(?:if|unless|else|case|when|default|each|while)\\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\\b/,inside:{keyword:/\\b(?:each|in)\\b/,punctuation:/,/}},branch:{pattern:/^(?:if|unless|else|case|when|default|while)\\b/,alias:\"keyword\"},rest:e.languages.javascript}},keyword:{pattern:/(^[\\t ]*)(?:block|extends|include|append|prepend)\\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,\"function\":/\\w+(?=\\s*\\(|\\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\\t ]*)\\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\\+\\w+/,alias:\"function\"},rest:e.languages.javascript}}],script:{pattern:/(^[\\t ]*script(?:(?:&[^(]+)?\\([^)]+\\))*[\\t ]+).+/m,lookbehind:!0,inside:{rest:e.languages.javascript}},\"plain-text\":{pattern:/(^[\\t ]*(?!-)[\\w\\-#.]*[\\w\\-](?:(?:&[^(]+)?\\([^)]+\\))*\\/?[\\t ]+).+/m,lookbehind:!0},tag:{pattern:/(^[\\t ]*)(?!-)[\\w\\-#.]*[\\w\\-](?:(?:&[^(]+)?\\([^)]+\\))*\\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\\([^)]+\\)/,inside:{rest:e.languages.javascript}},{pattern:/\\([^)]+\\)/,inside:{\"attr-value\":{pattern:/(=\\s*)(?:\\{[^}]*\\}|[^,)\\r\\n]+)/,lookbehind:!0,inside:{rest:e.languages.javascript}},\"attr-name\":/[\\w-]+(?=\\s*!?=|\\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/}},code:[{pattern:/(^[\\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:{rest:e.languages.javascript}}],punctuation:/[.\\-!=|]+/};for(var t=\"(^([\\\\t ]*)):{{filter_name}}((?:\\\\r?\\\\n|\\\\r(?!\\\\n))(?:\\\\2[\\\\t ]+.+|\\\\s*?(?=\\\\r?\\\\n|\\\\r)))+\",n=[{filter:\"atpl\",language:\"twig\"},{filter:\"coffee\",language:\"coffeescript\"},\"ejs\",\"handlebars\",\"hogan\",\"less\",\"livescript\",\"markdown\",\"mustache\",\"plates\",{filter:\"sass\",language:\"scss\"},\"stylus\",\"swig\"],a={},i=0,r=n.length;r>i;i++){var s=n[i];s=\"string\"==typeof s?{filter:s,language:s}:s,e.languages[s.language]&&(a[\"filter-\"+s.filter]={pattern:RegExp(t.replace(\"{{filter_name}}\",s.filter),\"m\"),lookbehind:!0,inside:{\"filter-name\":{pattern:/^:[\\w-]+/,alias:\"variable\"},rest:e.languages[s.language]}})}e.languages.insertBefore(\"pug\",\"filter\",a)}(Prism);\nPrism.languages.java=Prism.languages.extend(\"clike\",{keyword:/\\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\\b/,number:/\\b0b[01]+\\b|\\b0x[\\da-f]*\\.?[\\da-fp\\-]+\\b|\\b\\d*\\.?\\d+(?:e[+-]?\\d+)?[df]?\\b/i,operator:{pattern:/(^|[^.])(?:\\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\\|[|=]?|\\*=?|\\/=?|%=?|\\^=?|[?:~])/m,lookbehind:!0}}),Prism.languages.insertBefore(\"java\",\"function\",{annotation:{alias:\"punctuation\",pattern:/(^|[^.])@\\w+/,lookbehind:!0}});\nPrism.languages.jolie=Prism.languages.extend(\"clike\",{keyword:/\\b(?:include|define|is_defined|undef|main|init|outputPort|inputPort|Location|Protocol|Interfaces|RequestResponse|OneWay|type|interface|extender|throws|cset|csets|forward|Aggregates|Redirects|embedded|courier|extender|execution|sequential|concurrent|single|scope|install|throw|comp|cH|default|global|linkIn|linkOut|synchronized|this|new|for|if|else|while|in|Jolie|Java|Javascript|nullProcess|spawn|constants|with|provide|until|exit|foreach|instanceof|over|service)\\b/g,builtin:/\\b(?:undefined|string|int|void|long|Byte|bool|double|float|char|any)\\b/,number:/\\b\\d*\\.?\\d+(?:e[+-]?\\d+)?l?\\b/i,operator:/->|<<|[!+-<>=*]?=|[:<>!?*\\/%^]|&&|\\|\\||--?|\\+\\+?/g,symbol:/[|;@]/,punctuation:/[,.]/,string:{pattern:/([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0}}),delete Prism.languages.jolie[\"class-name\"],delete Prism.languages.jolie[\"function\"],Prism.languages.insertBefore(\"jolie\",\"keyword\",{\"function\":{pattern:/((?:\\b(?:outputPort|inputPort|in|service|courier)\\b|@)\\s*)\\w+/,lookbehind:!0},aggregates:{pattern:/(\\bAggregates\\s*:\\s*)(?:\\w+(?:\\s+with\\s+\\w+)?\\s*,\\s*)*\\w+(?:\\s+with\\s+\\w+)?/,lookbehind:!0,inside:{withExtension:{pattern:/\\bwith\\s+\\w+/,inside:{keyword:/\\bwith\\b/}},\"function\":{pattern:/\\w+/},punctuation:{pattern:/,/}}},redirects:{pattern:/(\\bRedirects\\s*:\\s*)(?:\\w+\\s*=>\\s*\\w+\\s*,\\s*)*(?:\\w+\\s*=>\\s*\\w+)/,lookbehind:!0,inside:{punctuation:{pattern:/,/},\"function\":{pattern:/\\w+/g},symbol:{pattern:/=>/g}}}});\nPrism.languages.json={property:/\"(?:\\\\.|[^\\\\\"])*\"(?=\\s*:)/gi,string:/\"(?!:)(?:\\\\.|[^\\\\\"])*\"(?!:)/g,number:/\\b-?(0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee][+-]?\\d+)?)\\b/g,punctuation:/[{}[\\]);,]/g,operator:/:/g,\"boolean\":/\\b(true|false)\\b/gi,\"null\":/\\bnull\\b/gi},Prism.languages.jsonp=Prism.languages.json;\nPrism.languages.julia={comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0},string:/\"\"\"[\\s\\S]+?\"\"\"|'''[\\s\\S]+?'''|(\"|')(\\\\?.)*?\\1/,keyword:/\\b(abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|let|local|macro|module|print|println|quote|return|try|type|typealias|using|while)\\b/,\"boolean\":/\\b(true|false)\\b/,number:/\\b-?(0[box])?(?:[\\da-f]+\\.?\\d*|\\.\\d+)(?:[efp][+-]?\\d+)?j?\\b/i,operator:/\\+=?|-=?|\\*=?|\\/[\\/=]?|\\\\=?|\\^=?|%=?|÷=?|!=?=?|&=?|\\|[=>]?|\\$=?|<(?:<=?|[=:])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥]/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.keyman={comment:/\\bc\\s.*/i,\"function\":/\\[\\s*((CTRL|SHIFT|ALT|LCTRL|RCTRL|LALT|RALT|CAPS|NCAPS)\\s+)*([TKU]_[a-z0-9_?]+|\".+?\"|'.+?')\\s*\\]/i,string:/(\"|')((?!\\1).)*\\1/,bold:[/&(baselayout|bitmap|capsononly|capsalwaysoff|shiftfreescaps|copyright|ethnologuecode|hotkey|includecodes|keyboardversion|kmw_embedcss|kmw_embedjs|kmw_helpfile|kmw_helptext|kmw_rtl|language|layer|layoutfile|message|mnemoniclayout|name|oldcharposmatching|platform|targets|version|visualkeyboard|windowslanguages)\\b/i,/\\b(bitmap|bitmaps|caps on only|caps always off|shift frees caps|copyright|hotkey|language|layout|message|name|version)\\b/i],keyword:/\\b(any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|return|reset|save|set|store|use)\\b/i,atrule:/\\b(ansi|begin|unicode|group|using keys|match|nomatch)\\b/i,number:/\\b(U\\+[\\dA-F]+|d\\d+|x[\\da-f]+|\\d+)\\b/i,operator:/[+>\\\\,()]/,tag:/\\$(keyman|kmfl|weaver|keymanweb|keymanonly):/i};\n!function(n){n.languages.kotlin=n.languages.extend(\"clike\",{keyword:{pattern:/(^|[^.])\\b(?:abstract|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|else|enum|final|finally|for|fun|get|if|import|in|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|out|override|package|private|protected|public|reified|return|sealed|set|super|tailrec|this|throw|to|try|val|var|when|where|while)\\b/,lookbehind:!0},\"function\":[/\\w+(?=\\s*\\()/,{pattern:/(\\.)\\w+(?=\\s*\\{)/,lookbehind:!0}],number:/\\b(?:0[bx][\\da-fA-F]+|\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?[fFL]?)\\b/,operator:/\\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\\/*%<>]=?|[?:]:?|\\.\\.|&&|\\|\\||\\b(?:and|inv|or|shl|shr|ushr|xor)\\b/}),delete n.languages.kotlin[\"class-name\"],n.languages.insertBefore(\"kotlin\",\"string\",{\"raw-string\":{pattern:/([\"'])\\1\\1[\\s\\S]*?\\1{3}/,alias:\"string\"}}),n.languages.insertBefore(\"kotlin\",\"keyword\",{annotation:{pattern:/\\B@(?:\\w+:)?(?:[A-Z]\\w*|\\[[^\\]]+\\])/,alias:\"builtin\"}}),n.languages.insertBefore(\"kotlin\",\"function\",{label:{pattern:/\\w+@|@\\w+/,alias:\"symbol\"}});var e=[{pattern:/\\$\\{[^}]+\\}/,inside:{delimiter:{pattern:/^\\$\\{|\\}$/,alias:\"variable\"},rest:n.util.clone(n.languages.kotlin)}},{pattern:/\\$\\w+/,alias:\"variable\"}];n.languages.kotlin.string.inside=n.languages.kotlin[\"raw-string\"].inside={interpolation:e}}(Prism);\n!function(a){var e=/\\\\([^a-z()[\\]]|[a-z\\*]+)/i,n={\"equation-command\":{pattern:e,alias:\"regex\"}};a.languages.latex={comment:/%.*/m,cdata:{pattern:/(\\\\begin\\{((?:verbatim|lstlisting)\\*?)\\})([\\s\\S]*?)(?=\\\\end\\{\\2\\})/,lookbehind:!0},equation:[{pattern:/\\$(?:\\\\?[\\s\\S])*?\\$|\\\\\\((?:\\\\?[\\s\\S])*?\\\\\\)|\\\\\\[(?:\\\\?[\\s\\S])*?\\\\\\]/,inside:n,alias:\"string\"},{pattern:/(\\\\begin\\{((?:equation|math|eqnarray|align|multline|gather)\\*?)\\})([\\s\\S]*?)(?=\\\\end\\{\\2\\})/,lookbehind:!0,inside:n,alias:\"string\"}],keyword:{pattern:/(\\\\(?:begin|end|ref|cite|label|usepackage|documentclass)(?:\\[[^\\]]+\\])?\\{)[^}]+(?=\\})/,lookbehind:!0},url:{pattern:/(\\\\url\\{)[^}]+(?=\\})/,lookbehind:!0},headline:{pattern:/(\\\\(?:part|chapter|section|subsection|frametitle|subsubsection|paragraph|subparagraph|subsubparagraph|subsubsubparagraph)\\*?(?:\\[[^\\]]+\\])?\\{)[^}]+(?=\\}(?:\\[[^\\]]+\\])?)/,lookbehind:!0,alias:\"class-name\"},\"function\":{pattern:e,alias:\"selector\"},punctuation:/[[\\]{}&]/}}(Prism);\nPrism.languages.less=Prism.languages.extend(\"css\",{comment:[/\\/\\*[\\s\\S]*?\\*\\//,{pattern:/(^|[^\\\\])\\/\\/.*/,lookbehind:!0}],atrule:{pattern:/@[\\w-]+?(?:\\([^{}]+\\)|[^(){};])*?(?=\\s*\\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\\{[\\w-]+\\}|[^{};\\s@])(?:@\\{[\\w-]+\\}|\\([^{}]*\\)|[^{};@])*?(?=\\s*\\{)/,inside:{variable:/@+[\\w-]+/}},property:/(?:@\\{[\\w-]+\\}|[\\w-])+(?:\\+_?)?(?=\\s*:)/i,punctuation:/[{}();:,]/,operator:/[+\\-*\\/]/}),Prism.languages.insertBefore(\"less\",\"punctuation\",{\"function\":Prism.languages.less.function}),Prism.languages.insertBefore(\"less\",\"property\",{variable:[{pattern:/@[\\w-]+\\s*:/,inside:{punctuation:/:/}},/@@?[\\w-]+/],\"mixin-usage\":{pattern:/([{;]\\s*)[.#](?!\\d)[\\w-]+.*?(?=[(;])/,lookbehind:!0,alias:\"function\"}});\nPrism.languages.livescript={\"interpolated-string\":{pattern:/(\"\"\"|\")(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1/,greedy:!0,inside:{variable:{pattern:/(^|[^\\\\])#[a-z_](?:-?[a-z]|\\d)*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\\\])#\\{[^}]+\\}/m,lookbehind:!0,inside:{\"interpolation-punctuation\":{pattern:/^#\\{|\\}$/,alias:\"variable\"}}},string:/[\\s\\S]+/}},comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\\\])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:/('''|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1/,greedy:!0},{pattern:/<\\[[\\s\\S]*?\\]>/,greedy:!0},/\\\\[^\\s,;\\])}]+/],regex:[{pattern:/\\/\\/(\\[.+?]|\\\\.|(?!\\/\\/)[^\\\\])+\\/\\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0}}},{pattern:/\\/(\\[.+?]|\\\\.|[^\\/\\\\\\r\\n])+\\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\\b/m,lookbehind:!0},\"keyword-operator\":{pattern:/(^|[^-])\\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?:nt| not)?|not|of|or|til|to|typeof|with|xor)(?!-)\\b)/m,lookbehind:!0,alias:\"operator\"},\"boolean\":{pattern:/(^|[^-])\\b(?:false|no|off|on|true|yes)(?!-)\\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\\.&\\.)[^&])&(?!&)\\d*/m,lookbehind:!0,alias:\"variable\"},number:/\\b(?:\\d+~[\\da-z]+|\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[a-z]\\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|\\d)*/i,operator:[{pattern:/( )\\.(?= )/,lookbehind:!0},/\\.(?:[=~]|\\.\\.?)|\\.(?:[&|^]|<<|>>>?)\\.|:(?:=|:=?)|&&|\\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\\+\\+?|@@?|%%?|\\*\\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\\^\\^?|[\\/?]/],punctuation:/[(){}\\[\\]|.,:;`]/},Prism.languages.livescript[\"interpolated-string\"].inside.interpolation.inside.rest=Prism.languages.livescript;\nPrism.languages.lolcode={comment:[/\\bOBTW\\s+[\\s\\S]*?\\s+TLDR\\b/,/\\bBTW.+/],string:{pattern:/\"(?::.|[^\"])*\"/,inside:{variable:/:\\{[^}]+\\}/,symbol:[/:\\([a-f\\d]+\\)/i,/:\\[[^\\]]+\\]/,/:[)>o\":]/]},greedy:!0},number:/(-|\\b)\\d*\\.?\\d+/,symbol:{pattern:/(^|\\s)(?:A )?(?:YARN|NUMBR|NUMBAR|TROOF|BUKKIT|NOOB)(?=\\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\\s)/}},label:{pattern:/((?:^|\\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\\w*/,lookbehind:!0,alias:\"string\"},\"function\":{pattern:/((?:^|\\s)(?:I IZ|HOW IZ I|IZ) )[a-zA-Z]\\w*/,lookbehind:!0},keyword:[{pattern:/(^|\\s)(?:O HAI IM|KTHX|HAI|KTHXBYE|I HAS A|ITZ(?: A)?|R|AN|MKAY|SMOOSH|MAEK|IS NOW(?: A)?|VISIBLE|GIMMEH|O RLY\\?|YA RLY|NO WAI|OIC|MEBBE|WTF\\?|OMG|OMGWTF|GTFO|IM IN YR|IM OUTTA YR|FOUND YR|YR|TIL|WILE|UPPIN|NERFIN|I IZ|HOW IZ I|IF U SAY SO|SRS|HAS A|LIEK(?: A)?|IZ)(?=\\s|,|$)/,lookbehind:!0},/'Z(?=\\s|,|$)/],\"boolean\":{pattern:/(^|\\s)(?:WIN|FAIL)(?=\\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\\s)IT(?=\\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:SUM|DIFF|PRODUKT|QUOSHUNT|MOD|BIGGR|SMALLR|BOTH|EITHER|WON|ALL|ANY) OF)(?=\\s|,|$)/,lookbehind:!0},punctuation:/\\.{3}|…|,|!/};\nPrism.languages.lua={comment:/^#!.+|--(?:\\[(=*)\\[[\\s\\S]*?\\]\\1\\]|.*)/m,string:{pattern:/([\"'])(?:(?!\\1)[^\\\\\\r\\n]|\\\\z(?:\\r\\n|\\s)|\\\\(?:\\r\\n|[\\s\\S]))*\\1|\\[(=*)\\[[\\s\\S]*?\\]\\2\\]/,greedy:!0},number:/\\b0x[a-f\\d]+\\.?[a-f\\d]*(?:p[+-]?\\d+)?\\b|\\b\\d+(?:\\.\\B|\\.?\\d*(?:e[+-]?\\d+)?\\b)|\\B\\.\\d+(?:e[+-]?\\d+)?\\b/i,keyword:/\\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\\b/,\"function\":/(?!\\d)\\w+(?=\\s*(?:[({]))/,operator:[/[-+*%^&|#]|\\/\\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\\.\\.(?!\\.)/,lookbehind:!0}],punctuation:/[\\[\\](){},;]|\\.+|:+/};\nPrism.languages.makefile={comment:{pattern:/(^|[^\\\\])#(?:\\\\(?:\\r\\n|[\\s\\S])|.)*/,lookbehind:!0},string:{pattern:/([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},builtin:/\\.[A-Z][^:#=\\s]+(?=\\s*:(?!=))/,symbol:{pattern:/^[^:=\\r\\n]+(?=\\s*:(?!=))/m,inside:{variable:/\\$+(?:[^(){}:#=\\s]+|(?=[({]))/}},variable:/\\$+(?:[^(){}:#=\\s]+|\\([@*%<^+?][DF]\\)|(?=[({]))/,keyword:[/-include\\b|\\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\\b/,{pattern:/(\\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \\t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/};\nPrism.languages.markdown=Prism.languages.extend(\"markup\",{}),Prism.languages.insertBefore(\"markdown\",\"prolog\",{blockquote:{pattern:/^>(?:[\\t ]*>)*/m,alias:\"punctuation\"},code:[{pattern:/^(?: {4}|\\t).+/m,alias:\"keyword\"},{pattern:/``.+?``|`[^`\\n]+`/,alias:\"keyword\"}],title:[{pattern:/\\w+.*(?:\\r?\\n|\\r)(?:==+|--+)/,alias:\"important\",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\\s*)#+.+/m,lookbehind:!0,alias:\"important\",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\\s*)([*-])([\\t ]*\\2){2,}(?=\\s*$)/m,lookbehind:!0,alias:\"punctuation\"},list:{pattern:/(^\\s*)(?:[*+-]|\\d+\\.)(?=[\\t ].)/m,lookbehind:!0,alias:\"punctuation\"},\"url-reference\":{pattern:/!?\\[[^\\]]+\\]:[\\t ]+(?:\\S+|<(?:\\\\.|[^>\\\\])+>)(?:[\\t ]+(?:\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*'|\\((?:\\\\.|[^)\\\\])*\\)))?/,inside:{variable:{pattern:/^(!?\\[)[^\\]]+/,lookbehind:!0},string:/(?:\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*'|\\((?:\\\\.|[^)\\\\])*\\))$/,punctuation:/^[\\[\\]!:]|[<>]/},alias:\"url\"},bold:{pattern:/(^|[^\\\\])(\\*\\*|__)(?:(?:\\r?\\n|\\r)(?!\\r?\\n|\\r)|.)+?\\2/,lookbehind:!0,inside:{punctuation:/^\\*\\*|^__|\\*\\*$|__$/}},italic:{pattern:/(^|[^\\\\])([*_])(?:(?:\\r?\\n|\\r)(?!\\r?\\n|\\r)|.)+?\\2/,lookbehind:!0,inside:{punctuation:/^[*_]|[*_]$/}},url:{pattern:/!?\\[[^\\]]+\\](?:\\([^\\s)]+(?:[\\t ]+\"(?:\\\\.|[^\"\\\\])*\")?\\)| ?\\[[^\\]\\n]*\\])/,inside:{variable:{pattern:/(!?\\[)[^\\]]+(?=\\]$)/,lookbehind:!0},string:{pattern:/\"(?:\\\\.|[^\"\\\\])*\"(?=\\)$)/}}}}),Prism.languages.markdown.bold.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.italic.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.bold.inside.italic=Prism.util.clone(Prism.languages.markdown.italic),Prism.languages.markdown.italic.inside.bold=Prism.util.clone(Prism.languages.markdown.bold);\nPrism.languages.matlab={string:/\\B'(?:''|[^'\\n])*'/,comment:[/%\\{[\\s\\S]*?\\}%/,/%.+/],number:/\\b-?(?:\\d*\\.?\\d+(?:[eE][+-]?\\d+)?(?:[ij])?|[ij])\\b/,keyword:/\\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\\b/,\"function\":/(?!\\d)\\w+(?=\\s*\\()/,operator:/\\.?[*^\\/\\\\']|[+\\-:@]|[<>=~]=?|&&?|\\|\\|?/,punctuation:/\\.{3}|[.,;\\[\\](){}!]/};\nPrism.languages.mel={comment:/\\/\\/.*/,code:{pattern:/`(?:\\\\.|[^\\\\`\\r\\n])*`/,greedy:!0,alias:\"italic\",inside:{delimiter:{pattern:/^`|`$/,alias:\"punctuation\"}}},string:{pattern:/\"(?:\\\\.|[^\\\\\"\\r\\n])*\"/,greedy:!0},variable:/\\$\\w+/,number:/(?:\\b|-)(?:0x[\\da-fA-F]+|\\d+\\.?\\d*)/,flag:{pattern:/-[^\\d\\W]\\w*/,alias:\"operator\"},keyword:/\\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\\b/,\"function\":/\\w+(?=\\()|\\b(?:about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|CBG|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|Mayatomr|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\\b/,operator:[/\\+[+=]?|-[-=]?|&&|\\|\\||[<>]=|[*\\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\\[\\](){}]/},Prism.languages.mel.code.inside.rest=Prism.util.clone(Prism.languages.mel);\nPrism.languages.mizar={comment:/::.+/,keyword:/@proof\\b|\\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|equals|end|environ|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:y|ies)|when|where|with|wrt)\\b/,parameter:{pattern:/\\$(?:10|\\d)/,alias:\"variable\"},variable:/\\w+(?=:)/,number:/(?:\\b|-)\\d+\\b/,operator:/\\.\\.\\.|->|&|\\.?=/,punctuation:/\\(#|#\\)|[,:;\\[\\](){}]/};\nPrism.languages.monkey={string:/\"[^\"\\r\\n]*\"/,comment:[/^#Rem\\s+[\\s\\S]*?^#End/im,/'.+/],preprocessor:{pattern:/(^[ \\t]*)#.+/m,lookbehind:!0,alias:\"comment\"},\"function\":/\\w+(?=\\()/,\"type-char\":{pattern:/(\\w)[?%#$]/,lookbehind:!0,alias:\"variable\"},number:{pattern:/((?:\\.\\.)?)(?:(?:\\b|\\B-\\.?|\\B\\.)\\d+((?!\\.\\.)\\.\\d*)?|\\$[\\da-f]+)/i,lookbehind:!0},keyword:/\\b(?:Void|Strict|Public|Private|Property|Bool|Int|Float|String|Array|Object|Continue|Exit|Import|Extern|New|Self|Super|Try|Catch|Eachin|True|False|Extends|Abstract|Final|Select|Case|Default|Const|Local|Global|Field|Method|Function|Class|End|If|Then|Else|ElseIf|EndIf|While|Wend|Repeat|Until|Forever|For|To|Step|Next|Return|Module|Interface|Implements|Inline|Throw|Null)\\b/i,operator:/\\.\\.|<[=>]?|>=?|:?=|(?:[+\\-*\\/&~|]|\\b(?:Mod|Shl|Shr)\\b)=?|\\b(?:And|Not|Or)\\b/i,punctuation:/[.,:;()\\[\\]]/};\nPrism.languages.n4js=Prism.languages.extend(\"javascript\",{keyword:/\\b(any|Array|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\\b/}),Prism.languages.insertBefore(\"n4js\",\"function\",{annotation:{pattern:/(@+\\w+)/,alias:\"operator\"}}),Prism.languages.n4jsd=Prism.languages.n4js;\nPrism.languages.nasm={comment:/;.*$/m,string:/(\"|'|`)(\\\\?.)*?\\1/m,label:{pattern:/(^\\s*)[A-Za-z._?$][\\w.?$@~#]*:/m,lookbehind:!0,alias:\"function\"},keyword:[/\\[?BITS (16|32|64)\\]?/m,{pattern:/(^\\s*)section\\s*[a-zA-Z\\.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\\r\\n]*/im,/(?:CPU|FLOAT|DEFAULT).*$/m],register:{pattern:/\\b(?:st\\d|[xyz]mm\\d\\d?|[cdt]r\\d|r\\d\\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(bp|sp|si|di)|[cdefgs]s)\\b/i,alias:\"variable\"},number:/(\\b|-|(?=\\$))(0[hx][\\da-f]*\\.?[\\da-f]+(p[+-]?\\d+)?|\\d[\\da-f]+[hx]|\\$\\d[\\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\\d+|\\d*\\.?\\d+(\\.?e[+-]?\\d+)?[dt]?)\\b/i,operator:/[\\[\\]*+\\-\\/%<>=&|$!]/};\nPrism.languages.nginx=Prism.languages.extend(\"clike\",{comment:{pattern:/(^|[^\"{\\\\])#.*/,lookbehind:!0},keyword:/\\b(?:CONTENT_|DOCUMENT_|GATEWAY_|HTTP_|HTTPS|if_not_empty|PATH_|QUERY_|REDIRECT_|REMOTE_|REQUEST_|SCGI|SCRIPT_|SERVER_|http|server|events|location|include|accept_mutex|accept_mutex_delay|access_log|add_after_body|add_before_body|add_header|addition_types|aio|alias|allow|ancient_browser|ancient_browser_value|auth|auth_basic|auth_basic_user_file|auth_http|auth_http_header|auth_http_timeout|autoindex|autoindex_exact_size|autoindex_localtime|break|charset|charset_map|charset_types|chunked_transfer_encoding|client_body_buffer_size|client_body_in_file_only|client_body_in_single_buffer|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|create_full_put_path|daemon|dav_access|dav_methods|debug_connection|debug_points|default_type|deny|devpoll_changes|devpoll_events|directio|directio_alignment|disable_symlinks|empty_gif|env|epoll_events|error_log|error_page|expires|fastcgi_buffer_size|fastcgi_buffers|fastcgi_busy_buffers_size|fastcgi_cache|fastcgi_cache_bypass|fastcgi_cache_key|fastcgi_cache_lock|fastcgi_cache_lock_timeout|fastcgi_cache_methods|fastcgi_cache_min_uses|fastcgi_cache_path|fastcgi_cache_purge|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_index|fastcgi_intercept_errors|fastcgi_keep_conn|fastcgi_max_temp_file_size|fastcgi_next_upstream|fastcgi_no_cache|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_read_timeout|fastcgi_redirect_errors|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_file_write_size|fastcgi_temp_path|flv|geo|geoip_city|geoip_country|google_perftools_profiles|gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_static|gzip_types|gzip_vary|if|if_modified_since|ignore_invalid_headers|image_filter|image_filter_buffer|image_filter_jpeg_quality|image_filter_sharpen|image_filter_transparency|imap_capabilities|imap_client_buffer|include|index|internal|ip_hash|keepalive|keepalive_disable|keepalive_requests|keepalive_timeout|kqueue_changes|kqueue_events|large_client_header_buffers|limit_conn|limit_conn_log_level|limit_conn_zone|limit_except|limit_rate|limit_rate_after|limit_req|limit_req_log_level|limit_req_zone|limit_zone|lingering_close|lingering_time|lingering_timeout|listen|location|lock_file|log_format|log_format_combined|log_not_found|log_subrequest|map|map_hash_bucket_size|map_hash_max_size|master_process|max_ranges|memcached_buffer_size|memcached_connect_timeout|memcached_next_upstream|memcached_pass|memcached_read_timeout|memcached_send_timeout|merge_slashes|min_delete_depth|modern_browser|modern_browser_value|mp4|mp4_buffer_size|mp4_max_buffer_size|msie_padding|msie_refresh|multi_accept|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|open_log_file_cache|optimize_server_names|override_charset|pcre_jit|perl|perl_modules|perl_require|perl_set|pid|pop3_auth|pop3_capabilities|port_in_redirect|post_action|postpone_output|protocol|proxy|proxy_buffer|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_lock|proxy_cache_lock_timeout|proxy_cache_methods|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_cookie_domain|proxy_cookie_path|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_http_version|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_pass_error_message|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_read_timeout|proxy_redirect|proxy_redirect_errors|proxy_send_lowat|proxy_send_timeout|proxy_set_body|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|proxy_timeout|proxy_upstream_fail_timeout|proxy_upstream_max_fails|random_index|read_ahead|real_ip_header|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|return|rewrite|root|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|rtsig_signo|satisfy|satisfy_any|secure_link_secret|send_lowat|send_timeout|sendfile|sendfile_max_chunk|server|server_name|server_name_in_redirect|server_names_hash_bucket_size|server_names_hash_max_size|server_tokens|set|set_real_ip_from|smtp_auth|smtp_capabilities|so_keepalive|source_charset|split_clients|ssi|ssi_silent_errors|ssi_types|ssi_value_length|ssl|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_client_certificate|ssl_crl|ssl_dhparam|ssl_engine|ssl_prefer_server_ciphers|ssl_protocols|ssl_session_cache|ssl_session_timeout|ssl_verify_client|ssl_verify_depth|starttls|stub_status|sub_filter|sub_filter_once|sub_filter_types|tcp_nodelay|tcp_nopush|timeout|timer_resolution|try_files|types|types_hash_bucket_size|types_hash_max_size|underscores_in_headers|uninitialized_variable_warn|upstream|use|user|userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service|valid_referers|variables_hash_bucket_size|variables_hash_max_size|worker_connections|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory|xclient|xml_entities|xslt_entities|xslt_stylesheet|xslt_types)\\b/i}),Prism.languages.insertBefore(\"nginx\",\"keyword\",{variable:/\\$[a-z_]+/i});\nPrism.languages.nim={comment:/#.*/,string:{pattern:/(?:(?:\\b(?!\\d)(?:\\w|\\\\x[8-9a-fA-F][0-9a-fA-F])+)?(?:\"\"\"[\\s\\S]*?\"\"\"(?!\")|\"(?:\\\\[\\s\\S]|\"\"|[^\"\\\\])*\")|'(?:\\\\(?:\\d+|x[\\da-fA-F]{2}|.)|[^'])')/,greedy:!0},number:/\\b(?:0[xXoObB][\\da-fA-F_]+|\\d[\\d_]*(?:(?!\\.\\.)\\.[\\d_]*)?(?:[eE][+-]?\\d[\\d_]*)?)(?:'?[iuf]\\d*)?/,keyword:/\\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\\b/,\"function\":{pattern:/(?:(?!\\d)(?:\\w|\\\\x[8-9a-fA-F][0-9a-fA-F])+|`[^`\\r\\n]+`)\\*?(?:\\[[^\\]]+\\])?(?=\\s*\\()/,inside:{operator:/\\*$/}},ignore:{pattern:/`[^`\\r\\n]+`/,inside:{punctuation:/`/}},operator:{pattern:/(^|[({\\[](?=\\.\\.)|(?![({\\[]\\.).)(?:(?:[=+\\-*\\/<>@$~&%|!?^:\\\\]|\\.\\.|\\.(?![)}\\]]))+|\\b(?:and|div|of|or|in|is|isnot|mod|not|notin|shl|shr|xor)\\b)/m,lookbehind:!0},punctuation:/[({\\[]\\.|\\.[)}\\]]|[`(){}\\[\\],:]/};\nPrism.languages.nix={comment:/\\/\\*[\\s\\S]*?\\*\\/|#.*/,string:{pattern:/\"(?:[^\"\\\\]|\\\\[\\s\\S])*\"|''(?:(?!'')[\\s\\S]|''(?:'|\\\\|\\$\\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\\\])\\$\\{(?:[^}]|\\{[^}]*\\})*}/,lookbehind:!0,inside:{antiquotation:{pattern:/^\\$(?=\\{)/,alias:\"variable\"}}}}},url:[/\\b(?:[a-z]{3,7}:\\/\\/)[\\w\\-+%~\\/.:#=?&]+/,{pattern:/([^\\/])(?:[\\w\\-+%~.:#=?&]*(?!\\/\\/)[\\w\\-+%~\\/.:#=?&])?(?!\\/\\/)\\/[\\w\\-+%~\\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\\$(?=\\{)/,alias:\"variable\"},number:/\\b\\d+\\b/,keyword:/\\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\\b/,\"function\":/\\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:url|Tarball)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\\b|\\bfoldl'\\B/,\"boolean\":/\\b(?:true|false)\\b/,operator:/[=!<>]=?|\\+\\+?|\\|\\||&&|\\/\\/|->?|[?@]/,punctuation:/[{}()[\\].,:;]/},Prism.languages.nix.string.inside.interpolation.inside.rest=Prism.util.clone(Prism.languages.nix);\nPrism.languages.nsis={comment:{pattern:/(^|[^\\\\])(\\/\\*[\\s\\S]*?\\*\\/|[#;].*)/,lookbehind:!0},string:{pattern:/(\"|')(\\\\?.)*?\\1/,greedy:!0},keyword:{pattern:/(^\\s*)(Abort|Add(BrandingImage|Size)|AdvSplash|Allow(RootDirInstall|SkipFiles)|AutoCloseWindow|Banner|BG(Font|Gradient|Image)|BrandingText|BringToFront|Call(InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|Create(Directory|Font|ShortCut)|Delete(INISec|INIStr|RegKey|RegValue)?|Detail(Print|sButtonText)|Dialer|Dir(Text|Var|Verify)|EnableWindow|Enum(RegKey|RegValue)|Exch|Exec(Shell(Wait)?|Wait)?|ExpandEnvStrings|File(BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|WriteUTF16LE|Seek|Write|WriteByte|WriteWord)?|Find(Close|First|Next|Window)|FlushINI|Get(CurInstType|CurrentAddress|DlgItem|DLLVersion(Local)?|ErrorLevel|FileTime(Local)?|FullPathName|Function(Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|Install(ButtonText|Colors|Dir(RegKey)?)|InstProgressFlags|Inst(Type(GetText|SetText)?)|Int(CmpU?|Fmt|Op)|IsWindow|Lang(DLL|String)|License(BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(Set|Text)|Manifest(DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|Name|Nop|ns(Dialogs|Exec)|NSISdl|OutFile|Page(Callbacks)?|Pop|Push|Quit|Read(EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|Section(End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(AutoClose|BrandingImage|Compress|Compressor(DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|RebootFlag|RegView|ShellVarContext|Silent)|Show(InstDetails|UninstDetails|Window)|Silent(Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(CmpS?|Cpy|Len)|SubCaption|System|Unicode|Uninstall(ButtonText|Caption|Icon|SubCaption|Text)|UninstPage|UnRegDLL|UserInfo|Var|VI(AddVersionKey|FileVersion|ProductVersion)|VPatch|WindowIcon|Write(INIStr|Reg(Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle)\\b/m,lookbehind:!0},property:/\\b(admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user|ARCHIVE|FILE_(ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK((CR|CU|LM)(32|64)?|DD|PD|U)|HKEY_(CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)\\b/,constant:/\\${[\\w\\.:\\^-]+}|\\$\\([\\w\\.:\\^-]+\\)/i,variable:/\\$\\w+/i,number:/\\b-?(0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee]-?\\d+)?)\\b/,operator:/--?|\\+\\+?|<=?|>=?|==?=?|&&?|\\|?\\||[?*\\/~^%]/,punctuation:/[{}[\\];(),.:]/,important:{pattern:/(^\\s*)!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversionsystem|ifdef|ifmacrodef|ifmacrondef|ifndef|if|include|insertmacro|macroend|macro|makensis|packhdr|pragma|searchparse|searchreplace|tempfile|undef|verbose|warning)\\b/im,lookbehind:!0}};\nPrism.languages.objectivec=Prism.languages.extend(\"c\",{keyword:/\\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\\b|(@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\\b/,string:/(\"|')(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1|@\"(\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"/,operator:/-[->]?|\\+\\+?|!=?|<<?=?|>>?=?|==?|&&?|\\|\\|?|[~^%?*\\/@]/});\nPrism.languages.ocaml={comment:/\\(\\*[\\s\\S]*?\\*\\)/,string:[{pattern:/\"(?:\\\\.|[^\\\\\\r\\n\"])*\"/,greedy:!0},{pattern:/(['`])(?:\\\\(?:\\d+|x[\\da-f]+|.)|(?!\\1)[^\\\\\\r\\n])\\1/i,greedy:!0}],number:/\\b-?(?:0x[\\da-f][\\da-f_]+|(?:0[bo])?\\d[\\d_]*\\.?[\\d_]*(?:e[+-]?[\\d_]+)?)/i,type:{pattern:/\\B['`][a-z\\d_]*/i,alias:\"variable\"},directive:{pattern:/\\B#[a-z\\d_]+/i,alias:\"function\"},keyword:/\\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|object|of|open|prefix|private|rec|then|sig|struct|to|try|type|val|value|virtual|where|while|with)\\b/,\"boolean\":/\\b(?:false|true)\\b/,operator:/:=|[=<>@^|&+\\-*\\/$%!?~][!$%&\\*+\\-.\\/:<=>?@^|~]*|\\b(?:and|asr|land|lor|lxor|lsl|lsr|mod|nor|or)\\b/,punctuation:/[(){}\\[\\]|_.,:;]/};\n!function(E){E.languages.opencl=E.languages.extend(\"c\",{keyword:/\\b(__attribute__|(__)?(constant|global|kernel|local|private|read_only|read_write|write_only)|_cl_(command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|auto|break|case|cl_(image_format|mem_fence_flags)|clk_event_t|complex|const|continue|default|do|(float|double)(16(x(1|16|2|4|8))?|1x(1|16|2|4|8)|2(x(1|16|2|4|8))?|3|4(x(1|16|2|4|8))?|8(x(1|16|2|4|8))?)?|else|enum|event_t|extern|for|goto|(u?(char|short|int|long)|half|quad|bool)(2|3|4|8|16)?|if|image(1d_(array_|buffer_)?t|2d_(array_(depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|imaginary|inline|intptr_t|ndrange_t|packed|pipe|ptrdiff_t|queue_t|register|reserve_id_t|restrict|return|sampler_t|signed|size_t|sizeof|static|struct|switch|typedef|uintptr_t|uniform|union|unsigned|void|volatile|while)\\b/,\"function-opencl-kernel\":{pattern:/\\b(abs(_diff)?|a?(cos|sin)(h|pi)?|add_sat|aligned|all|and|any|async(_work_group_copy|_work_group_strided_copy)?|atan(2?(pi)?|h)?|atom_(add|and|cmpxchg|dec|inc|max|min|or|sub|xchg|xor)|barrier|bitselect|cbrt|ceil|clamp|clz|copies|copysign|cross|degrees|distance|dot|endian|erf|erfc|exp(2|10)?|expm1|fabs|fast_(distance|length|normalize)|fdim|floor|fma|fmax|fmin|fract|frexp|fro|from|get_(global_(id|offset|size)|group_id|image_(channel_data_type|channel_order|depth|dim|height|width)|local(_id|_size)|num_groups|work_dim)|hadd|(half|native)_(cos|divide|exp(2|10)?|log(2|10)?|powr|recip|r?sqrt|sin|tan)|hypot|ilogb|is(equal|finite|greater(equal)?|inf|less(equal|greater)?|nan|normal|notequal|(un)?ordered)|ldexp|length|lgamma|lgamma_r|log(b|1p|2|10)?|mad(24|_hi|_sat)?|max|mem(_fence)?|min|mix|modf|mul24|mul_hi|nan|nextafter|normalize|pow(n|r)?|prefetch|radians|read_(image)(f|h|u?i)|read_mem_fence|remainder|remquo|reqd_work_group_size|rhadd|rint|rootn|rotate|round|rsqrt|select|shuffle2?|sign|signbit|sincos|smoothstep|sqrt|step|sub_sat|tan|tanh|tanpi|tgamma|to|trunc|upsample|vec_(step|type_hint)|v(load|store)(_half)?(2|3|4|8|16)?|v(loada_half|storea?(_half)?)(2|3|4|8|16)?(_(rte|rtn|rtp|rtz))?|wait_group_events|work_group_size_hint|write_image(f|h|u?i)|write_mem_fence)\\b/,alias:\"function\"},\"constant-opencl-kernel\":{pattern:/\\b(CHAR_(BIT|MAX|MIN)|CLK_(ADDRESS_(CLAMP(_TO_EDGE)?|NONE|REPEAT)|FILTER_(LINEAR|NEAREST)|(LOCAL|GLOBAL)_MEM_FENCE|NORMALIZED_COORDS_(FALSE|TRUE))|CL_(BGRA|(HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?(A|x)?|((UN)?SIGNED|(U|S)NORM)_(INT(8|16|32))|UNORM_(INT_101010|SHORT_(555|565)))|(DBL|FLT)_(DIG|EPSILON|MANT_DIG|(MIN|MAX)((_10)?_EXP)?)|FLT_RADIX|HUGE_VALF|INFINITY|(INT|LONG|SCHAR|SHRT|UCHAR|UINT|ULONG)_(MAX|MIN)|MAXFLOAT|M_((1|2)_PI|2_SQRTPI|E|LN(2|10)|LOG(10|2)E?|PI(2|4)?|SQRT(1_2|2))|NAN)\\b/,alias:\"constant\"}});var _={\"type-opencl-host\":{pattern:/\\b(cl_(GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(order|type)|(u?(char|short|int|long)|float|double)(2|3|4|8|16)?|command_(queue(_info|_properties)?|type)|context(_info|_properties)?|device_(exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(event|sampler)(_info)?|filter_mode|half|image_info|kernel(_info|_work_group_info)?|map_flags|mem(_flags|_info|_object_type)?|platform_(id|info)|profiling_info|program(_build_info|_info)?))\\b/,alias:\"keyword\"},\"boolean-opencl-host\":{pattern:/\\bCL_(TRUE|FALSE)\\b/,alias:\"boolean\"},\"constant-opencl-host\":{pattern:/\\bCL_(A|ABGR|ADDRESS_(CLAMP(_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(ACQUIRE_GL_OBJECTS|BARRIER|COPY_(BUFFER(_RECT|_TO_IMAGE)?|IMAGE(_TO_BUFFER)?)|FILL_(BUFFER|IMAGE)|MAP(_BUFFER|_IMAGE)|MARKER|MIGRATE(_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(BUFFER(_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(BUFFER(_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(_STENCIL)?|DEVICE_(ADDRESS_BITS|AFFINITY_DOMAIN_(L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(MEM_(CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(2D_MAX_(HEIGHT|WIDTH)|3D_MAX_(DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(ON_(DEVICE_(MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(_ID)?|VERSION)|DRIVER_VERSION|EVENT_(COMMAND_(EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(LINEAR|NEAREST)|FLOAT|FP_(CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(ARG_(ACCESS_(NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(HOST_MEMORY|RESOURCES)|PIPE_(MAX_PACKETS|PACKET_SIZE)|PLATFORM_(EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(COMMAND_(COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(BINARIES|BINARY_SIZES|BINARY_TYPE(_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(UN)?SIGNED_INT(8|16|32)|SNORM_INT(8|16)|SUBMITTED|SUCCESS|UNORM_INT(16|24|8|_101010|_101010_2)|UNORM_SHORT_(555|565)|VERSION_(1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\\b/,alias:\"constant\"},\"function-opencl-host\":{pattern:/\\bcl(BuildProgram|CloneKernel|CompileProgram|Create(Buffer|CommandQueue(WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue((Barrier|Marker)(WithWaitList)?|Copy(Buffer(Rect|ToImage)?|Image(ToBuffer)?)|(Fill|Map)(Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(Read|Write)(Buffer(Rect)?|Image)|SVM(Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(CommandQueueInfo|ContextInfo|Device(AndHostTimer|IDs|Info)|Event(Profiling)?Info|ExtensionFunctionAddress(ForPlatform)?|HostTimer|ImageInfo|Kernel(ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(IDs|Info)|Program(Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(Release|Retain)(CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(Alloc|Free)|Set(CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel(Arg(SVMPointer)?|ExecInfo)|Kernel|MemObjectDestructorCallback|UserEventStatus)|Unload(Platform)?Compiler|WaitForEvents)\\b/,alias:\"function\"}};E.languages.insertBefore(\"c\",\"keyword\",_),_[\"type-opencl-host-c++\"]={pattern:/\\b(Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|Sampler|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|UserEvent)\\b/,alias:\"keyword\"},E.languages.insertBefore(\"cpp\",\"keyword\",_)}(Prism);\nPrism.languages.oz={comment:/\\/\\*[\\s\\S]*?\\*\\/|%.*/,string:{pattern:/\"(?:[^\"\\\\]|\\\\[\\s\\S])*\"/,greedy:!0},atom:{pattern:/'(?:[^'\\\\]|\\\\.)*'/,greedy:!0,alias:\"builtin\"},keyword:/[$_]|\\[\\]|\\b(?:at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\\b/,\"function\":[/[a-z][A-Za-z\\d]*(?=\\()/,{pattern:/(\\{)[A-Z][A-Za-z\\d]*/,lookbehind:!0}],number:/\\b(?:0[bx][\\da-f]+|\\d+\\.?\\d*(?:e~?\\d+)?\\b)|&(?:[^\\\\]|\\\\(?:\\d{3}|.))/i,variable:/\\b[A-Z][A-Za-z\\d]*|`(?:[^`\\\\]|\\\\.)+`/,\"attr-name\":/\\w+(?=:)/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\\\=:?|!!?|[|#+\\-*\\/,~^@]|\\b(?:andthen|div|mod|orelse)\\b/,punctuation:/[\\[\\](){}.:;?]/};\nPrism.languages.parigp={comment:/\\/\\*[\\s\\S]*?\\*\\/|\\\\\\\\.*/,string:{pattern:/\"(?:[^\"\\\\]|\\\\.)*\"/,greedy:!0},keyword:function(){var r=[\"breakpoint\",\"break\",\"dbg_down\",\"dbg_err\",\"dbg_up\",\"dbg_x\",\"forcomposite\",\"fordiv\",\"forell\",\"forpart\",\"forprime\",\"forstep\",\"forsubgroup\",\"forvec\",\"for\",\"iferr\",\"if\",\"local\",\"my\",\"next\",\"return\",\"until\",\"while\"];return r=r.map(function(r){return r.split(\"\").join(\" *\")}).join(\"|\"),RegExp(\"\\\\b(?:\"+r+\")\\\\b\")}(),\"function\":/\\w[\\w ]*?(?= *\\()/,number:{pattern:/((?:\\. *\\. *)?)(?:\\d(?: *\\d)*(?: *(?!\\. *\\.)\\.(?: *\\d)*)?|\\. *\\d(?: *\\d)*)(?: *e *[+-]? *\\d(?: *\\d)*)?/i,lookbehind:!0},operator:/\\. *\\.|[*\\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\\+(?: *[+=])?|-(?: *[-=>])?|<(?:(?: *<)?(?: *=)?| *>)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\\\(?: *\\/)?(?: *=)?|&(?: *&)?|\\| *\\||['#~^]/,punctuation:/[\\[\\]{}().,:;|]/};\nPrism.languages.parser=Prism.languages.extend(\"markup\",{keyword:{pattern:/(^|[^^])(?:\\^(?:case|eval|for|if|switch|throw)\\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\\B\\$(?:\\w+|(?=[.\\{]))(?:(?:\\.|::?)\\w+)*(?:\\.|::?)?/,lookbehind:!0,inside:{punctuation:/\\.|:+/}},\"function\":{pattern:/(^|[^^])\\B[@^]\\w+(?:(?:\\.|::?)\\w+)*(?:\\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\\.|:+/}},escape:{pattern:/\\^(?:[$^;@()\\[\\]{}\"':]|#[a-f\\d]*)/i,alias:\"builtin\"},punctuation:/[\\[\\](){};]/}),Prism.languages.insertBefore(\"parser\",\"keyword\",{\"parser-comment\":{pattern:/(\\s)#.*/,lookbehind:!0,alias:\"comment\"},expression:{pattern:/(^|[^^])\\((?:[^()]|\\((?:[^()]|\\((?:[^()])*\\))*\\))*\\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])([\"'])(?:(?!\\2)[^^]|\\^[\\s\\S])*\\2/,lookbehind:!0},keyword:Prism.languages.parser.keyword,variable:Prism.languages.parser.variable,\"function\":Prism.languages.parser.function,\"boolean\":/\\b(?:true|false)\\b/,number:/\\b(?:0x[a-f\\d]+|\\d+\\.?\\d*(?:e[+-]?\\d+)?)\\b/i,escape:Prism.languages.parser.escape,operator:/[~+*\\/\\\\%]|!(?:\\|\\|?|=)?|&&?|\\|\\|?|==|<[<=]?|>[>=]?|-[fd]?|\\b(?:def|eq|ge|gt|in|is|le|lt|ne)\\b/,punctuation:Prism.languages.parser.punctuation}}}),Prism.languages.insertBefore(\"inside\",\"punctuation\",{expression:Prism.languages.parser.expression,keyword:Prism.languages.parser.keyword,variable:Prism.languages.parser.variable,\"function\":Prism.languages.parser.function,escape:Prism.languages.parser.escape,\"parser-punctuation\":{pattern:Prism.languages.parser.punctuation,alias:\"punctuation\"}},Prism.languages.parser.tag.inside[\"attr-value\"]);\nPrism.languages.pascal={comment:[/\\(\\*[\\s\\S]+?\\*\\)/,/\\{[\\s\\S]+?\\}/,/\\/\\/.*/],string:{pattern:/(?:'(?:''|[^'\\r\\n])*'|#[&$%]?[a-f\\d]+)+|\\^[a-z]/i,greedy:!0},keyword:[{pattern:/(^|[^&])\\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\\b/i,lookbehind:!0},{pattern:/(^|[^&])\\b(?:dispose|exit|false|new|true)\\b/i,lookbehind:!0},{pattern:/(^|[^&])\\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\\b/i,lookbehind:!0},{pattern:/(^|[^&])\\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\\b/i,lookbehind:!0}],number:[/[+-]?(?:[&%]\\d+|\\$[a-f\\d]+)/i,/([+-]|\\b)\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?/i],operator:[/\\.\\.|\\*\\*|:=|<[<=>]?|>[>=]?|[+\\-*\\/]=?|[@^=]/i,{pattern:/(^|[^&])\\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\\b/,lookbehind:!0}],punctuation:/\\(\\.|\\.\\)|[()\\[\\]:;,.]/};\nPrism.languages.perl={comment:[{pattern:/(^\\s*)=\\w+[\\s\\S]*?=cut.*/m,lookbehind:!0},{pattern:/(^|[^\\\\$])#.*/,lookbehind:!0}],string:[{pattern:/\\b(?:q|qq|qx|qw)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\]/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>/,greedy:!0},{pattern:/(\"|`)(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,greedy:!0},{pattern:/'(?:[^'\\\\\\r\\n]|\\\\.)*'/,greedy:!0}],regex:[{pattern:/\\b(?:m|qr)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\.)*?\\1[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\][msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>[msixpodualngc]*/,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\2(?:[^\\\\]|\\\\[\\s\\S])*?\\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\[\\s\\S])*?\\2(?:[^\\\\]|\\\\[\\s\\S])*?\\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\]\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\][msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/\\/(?:[^\\/\\\\\\r\\n]|\\\\.)*\\/[msixpodualngc]*(?=\\s*(?:$|[\\r\\n,.;})&|\\-+*~<>!?^]|(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\\b))/,greedy:!0}],variable:[/[&*$@%]\\{\\^[A-Z]+\\}/,/[&*$@%]\\^[A-Z_]/,/[&*$@%]#?(?=\\{)/,/[&*$@%]#?((::)*'?(?!\\d)[\\w$]+)+(::)*/i,/[&*$@%]\\d+/,/(?!%=)[$@%][!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\\S*>|\\b_\\b/,alias:\"symbol\"},vstring:{pattern:/v\\d+(\\.\\d+)*|\\d+(\\.\\d+){2,}/,alias:\"string\"},\"function\":{pattern:/sub [a-z0-9_]+/i,inside:{keyword:/sub/}},keyword:/\\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|say|state|sub|switch|undef|unless|until|use|when|while)\\b/,number:/\\b-?(0x[\\dA-Fa-f](_?[\\dA-Fa-f])*|0b[01](_?[01])*|(\\d(_?\\d)*)?\\.?\\d(_?\\d)*([Ee][+-]?\\d+)?)\\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\\b|\\+[+=]?|-[-=>]?|\\*\\*?=?|\\/\\/?=?|=[=~>]?|~[~=]?|\\|\\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\\.(?:=|\\.\\.?)?|[\\\\?]|\\bx(?:=|\\b)|\\b(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\\b/,punctuation:/[{}[\\];(),:]/};\nPrism.languages.php=Prism.languages.extend(\"clike\",{keyword:/\\b(and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\\b/i,constant:/\\b[A-Z0-9_]{2,}\\b/,comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0}}),Prism.languages.insertBefore(\"php\",\"class-name\",{\"shell-comment\":{pattern:/(^|[^\\\\])#.*/,lookbehind:!0,alias:\"comment\"}}),Prism.languages.insertBefore(\"php\",\"keyword\",{delimiter:{pattern:/\\?>|<\\?(?:php|=)?/i,alias:\"important\"},variable:/\\$\\w+\\b/i,\"package\":{pattern:/(\\\\|namespace\\s+|use\\s+)[\\w\\\\]+/,lookbehind:!0,inside:{punctuation:/\\\\/}}}),Prism.languages.insertBefore(\"php\",\"operator\",{property:{pattern:/(->)[\\w]+/,lookbehind:!0}}),Prism.languages.markup&&(Prism.hooks.add(\"before-highlight\",function(e){\"php\"===e.language&&/(?:<\\?php|<\\?)/gi.test(e.code)&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(/(?:<\\?php|<\\?)[\\s\\S]*?(?:\\?>|$)/gi,function(a){for(var n=e.tokenStack.length;-1!==e.backupCode.indexOf(\"___PHP\"+n+\"___\");)++n;return e.tokenStack[n]=a,\"___PHP\"+n+\"___\"}),e.grammar=Prism.languages.markup)}),Prism.hooks.add(\"before-insert\",function(e){\"php\"===e.language&&e.backupCode&&(e.code=e.backupCode,delete e.backupCode)}),Prism.hooks.add(\"after-highlight\",function(e){if(\"php\"===e.language&&e.tokenStack){e.grammar=Prism.languages.php;for(var a=0,n=Object.keys(e.tokenStack);a<n.length;++a){var t=n[a],r=e.tokenStack[t];e.highlightedCode=e.highlightedCode.replace(\"___PHP\"+t+\"___\",'<span class=\"token php language-php\">'+Prism.highlight(r,e.grammar,\"php\").replace(/\\$/g,\"$$$$\")+\"</span>\")}e.element.innerHTML=e.highlightedCode}}));\nPrism.languages.insertBefore(\"php\",\"variable\",{\"this\":/\\$this\\b/,global:/\\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)/,scope:{pattern:/\\b[\\w\\\\]+::/,inside:{keyword:/(static|self|parent)/,punctuation:/(::|\\\\)/}}});\nPrism.languages.powershell={comment:[{pattern:/(^|[^`])<#[\\s\\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/\"(`?[\\s\\S])*?\"/,greedy:!0,inside:{\"function\":{pattern:/[^`]\\$\\(.*?\\)/,inside:{}}}},{pattern:/'([^']|'')*'/,greedy:!0}],namespace:/\\[[a-z][\\s\\S]*?\\]/i,\"boolean\":/\\$(true|false)\\b/i,variable:/\\$\\w+\\b/i,\"function\":[/\\b(Add-(Computer|Content|History|Member|PSSnapin|Type)|Checkpoint-Computer|Clear-(Content|EventLog|History|Item|ItemProperty|Variable)|Compare-Object|Complete-Transaction|Connect-PSSession|ConvertFrom-(Csv|Json|StringData)|Convert-Path|ConvertTo-(Csv|Html|Json|Xml)|Copy-(Item|ItemProperty)|Debug-Process|Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Disconnect-PSSession|Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Enter-PSSession|Exit-PSSession|Export-(Alias|Clixml|Console|Csv|FormatData|ModuleMember|PSSession)|ForEach-Object|Format-(Custom|List|Table|Wide)|Get-(Alias|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Culture|Date|Event|EventLog|EventSubscriber|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|WmiObject)|Group-Object|Import-(Alias|Clixml|Csv|LocalizedData|Module|PSSession)|Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)|Join-Path|Limit-EventLog|Measure-(Command|Object)|Move-(Item|ItemProperty)|New-(Alias|Event|EventLog|Item|ItemProperty|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy)|Out-(Default|File|GridView|Host|Null|Printer|String)|Pop-Location|Push-Location|Read-Host|Receive-(Job|PSSession)|Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)|Remove-(Computer|Event|EventLog|Item|ItemProperty|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)|Rename-(Computer|Item|ItemProperty)|Reset-ComputerMachinePassword|Resolve-Path|Restart-(Computer|Service)|Restore-Computer|Resume-(Job|Service)|Save-Help|Select-(Object|String|Xml)|Send-MailMessage|Set-(Alias|Content|Date|Item|ItemProperty|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)|Show-(Command|ControlPanelItem|EventLog)|Sort-Object|Split-Path|Start-(Job|Process|Service|Sleep|Transaction)|Stop-(Computer|Job|Process|Service)|Suspend-(Job|Service)|Tee-Object|Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)|Trace-Command|Unblock-File|Undo-Transaction|Unregister-(Event|PSSessionConfiguration)|Update-(FormatData|Help|List|TypeData)|Use-Transaction|Wait-(Event|Job|Process)|Where-Object|Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning))\\b/i,/\\b(ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\\b/i],keyword:/\\b(Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\\b/i,operator:{pattern:/(\\W?)(!|-(eq|ne|gt|ge|lt|le|sh[lr]|not|b?(and|x?or)|(Not)?(Like|Match|Contains|In)|Replace|Join|is(Not)?|as)\\b|-[-=]?|\\+[+=]?|[*\\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\\];(),.]/},Prism.languages.powershell.string[0].inside.boolean=Prism.languages.powershell.boolean,Prism.languages.powershell.string[0].inside.variable=Prism.languages.powershell.variable,Prism.languages.powershell.string[0].inside.function.inside=Prism.util.clone(Prism.languages.powershell);\nPrism.languages.processing=Prism.languages.extend(\"clike\",{keyword:/\\b(?:break|catch|case|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\\b/,operator:/<[<=]?|>[>=]?|&&?|\\|\\|?|[%?]|[!=+\\-*\\/]=?/}),Prism.languages.insertBefore(\"processing\",\"number\",{constant:/\\b(?!XML\\b)[A-Z][A-Z\\d_]+\\b/,type:{pattern:/\\b(?:boolean|byte|char|color|double|float|int|XML|[A-Z][A-Za-z\\d_]*)\\b/,alias:\"variable\"}}),Prism.languages.processing[\"function\"].pattern=/[a-z0-9_]+(?=\\s*\\()/i,Prism.languages.processing[\"class-name\"].alias=\"variable\";\nPrism.languages.prolog={comment:[/%.+/,/\\/\\*[\\s\\S]*?\\*\\//],string:{pattern:/([\"'])(?:\\1\\1|\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},builtin:/\\b(?:fx|fy|xf[xy]?|yfx?)\\b/,variable:/\\b[A-Z_]\\w*/,\"function\":/\\b[a-z]\\w*(?:(?=\\()|\\/\\d+)/,number:/\\b\\d+\\.?\\d*/,operator:/[:\\\\=><\\-?*@\\/;+^|!$.]+|\\b(?:is|mod|not|xor)\\b/,punctuation:/[(){}\\[\\],]/};\nPrism.languages.properties={comment:/^[ \\t]*[#!].*$/m,\"attr-value\":{pattern:/(^[ \\t]*(?:\\\\(?:\\r\\n|[\\s\\S])|[^\\\\\\s:=])+?(?: *[=:] *| ))(?:\\\\(?:\\r\\n|[\\s\\S])|.)+/m,lookbehind:!0},\"attr-name\":/^[ \\t]*(?:\\\\(?:\\r\\n|[\\s\\S])|[^\\\\\\s:=])+?(?= *[ =:]| )/m,punctuation:/[=:]/};\nPrism.languages.protobuf=Prism.languages.extend(\"clike\",{keyword:/\\b(package|import|message|enum)\\b/,builtin:/\\b(required|repeated|optional|reserved)\\b/,primitive:{pattern:/\\b(double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\\b/,alias:\"symbol\"}});\n!function(e){e.languages.puppet={heredoc:[{pattern:/(@\\(\"([^\"\\r\\n\\/):]+)\"(?:\\/[nrts$uL]*)?\\).*(?:\\r?\\n|\\r))(?:.*(?:\\r?\\n|\\r))*?[ \\t]*\\|?[ \\t]*-?[ \\t]*\\2/,lookbehind:!0,alias:\"string\",inside:{punctuation:/(?=\\S).*\\S(?= *$)/}},{pattern:/(@\\(([^\"\\r\\n\\/):]+)(?:\\/[nrts$uL]*)?\\).*(?:\\r?\\n|\\r))(?:.*(?:\\r?\\n|\\r))*?[ \\t]*\\|?[ \\t]*-?[ \\t]*\\2/,lookbehind:!0,alias:\"string\",inside:{punctuation:/(?=\\S).*\\S(?= *$)/}},{pattern:/@\\(\"?(?:[^\"\\r\\n\\/):]+)\"?(?:\\/[nrts$uL]*)?\\)/,alias:\"string\",inside:{punctuation:{pattern:/(\\().+?(?=\\))/,lookbehind:!0}}}],\"multiline-comment\":{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0,alias:\"comment\"},regex:{pattern:/((?:\\bnode\\s+|[~=\\(\\[\\{,]\\s*|[=+]>\\s*|^\\s*))\\/(?:[^\\/\\\\]|\\\\[\\s\\S])+\\/(?:[imx]+\\b|\\B)/,lookbehind:!0,inside:{\"extended-regex\":{pattern:/^\\/(?:[^\\/\\\\]|\\\\[\\s\\S])+\\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0},string:{pattern:/([\"'])(?:\\$\\{(?:[^'\"}]|([\"'])(?:(?!\\2)[^\\\\]|\\\\[\\s\\S])*\\2)+\\}|(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1/,inside:{\"double-quoted\":{pattern:/^\"[\\s\\S]*\"$/,inside:{}}}},variable:{pattern:/\\$(?:::)?\\w+(?:::\\w+)*/,inside:{punctuation:/::/}},\"attr-name\":/(?:\\w+|\\*)(?=\\s*=>)/,\"function\":[{pattern:/(\\.)(?!\\d)\\w+/,lookbehind:!0},/\\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\\b|\\b(?!\\d)\\w+(?=\\()/],number:/\\b(?:0x[a-f\\d]+|\\d+(?:\\.\\d+)?(?:e-?\\d+)?)\\b/i,\"boolean\":/\\b(?:true|false)\\b/,keyword:/\\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\\b/,datatype:{pattern:/\\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\\b/,alias:\"symbol\"},operator:/=[=~>]?|![=~]?|<(?:<\\|?|[=~|-])?|>[>=]?|->?|~>|\\|>?>?|[*\\/%+?]|\\b(?:and|in|or)\\b/,punctuation:/[\\[\\]{}().,;]|:+/};var n=[{pattern:/(^|[^\\\\])\\$\\{(?:[^'\"{}]|\\{[^}]*\\}|([\"'])(?:(?!\\2)[^\\\\]|\\\\[\\s\\S])*\\2)+\\}/,lookbehind:!0,inside:{\"short-variable\":{pattern:/(^\\$\\{)(?!\\w+\\()(?:::)?\\w+(?:::\\w+)*/,lookbehind:!0,alias:\"variable\",inside:{punctuation:/::/}},delimiter:{pattern:/^\\$/,alias:\"variable\"},rest:e.util.clone(e.languages.puppet)}},{pattern:/(^|[^\\\\])\\$(?:::)?\\w+(?:::\\w+)*/,lookbehind:!0,alias:\"variable\",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=n,e.languages.puppet.string.inside[\"double-quoted\"].inside.interpolation=n}(Prism);\n!function(e){e.languages.pure={\"inline-lang\":{pattern:/%<[\\s\\S]+?%>/,inside:{lang:{pattern:/(^%< *)-\\*-.+?-\\*-/,lookbehind:!0,alias:\"comment\"},delimiter:{pattern:/^%<.*|%>$/,alias:\"punctuation\"}}},comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,greedy:!0,lookbehind:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0},/#!.+/],string:{pattern:/\"(?:\\\\.|[^\"\\\\\\r\\n])*\"/,greedy:!0},number:{pattern:/((?:\\.\\.)?)(?:\\b(?:inf|nan)\\b|\\b0x[\\da-f]+|(?:\\b(?:0b)?\\d+(?:\\.\\d)?|\\B\\.\\d)\\d*(?:e[+-]?\\d+)?L?)/i,lookbehind:!0},keyword:/\\b(?:ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|NULL|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\\b/,\"function\":/\\b(?:abs|add_(?:(?:fundef|interface|macdef|typedef)(?:_at)?|addr|constdef|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_(?:matrix|pointer)|byte_c?string(?:_pointer)?|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|short|sentry|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\\b/,special:{pattern:/\\b__[a-z]+__\\b/i,alias:\"builtin\"},operator:/(?=\\b_|[^_])[!\"#$%&'*+,\\-.\\/:<=>?@\\\\^_`|~\\u00a1-\\u00bf\\u00d7-\\u00f7\\u20d0-\\u2bff]+|\\b(?:and|div|mod|not|or)\\b/,punctuation:/[(){}\\[\\];,|]/};var t=[\"c\",{lang:\"c++\",alias:\"cpp\"},\"fortran\",\"ats\",\"dsp\"],a=\"%< *-\\\\*- *{lang}\\\\d* *-\\\\*-[\\\\s\\\\S]+?%>\";t.forEach(function(t){var r=t;if(\"string\"!=typeof t&&(r=t.alias,t=t.lang),e.languages[r]){var i={};i[\"inline-lang-\"+r]={pattern:RegExp(a.replace(\"{lang}\",t.replace(/([.+*?\\/\\\\(){}\\[\\]])/g,\"\\\\$1\")),\"i\"),inside:e.util.clone(e.languages.pure[\"inline-lang\"].inside)},i[\"inline-lang-\"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore(\"pure\",\"inline-lang\",i)}}),e.languages.c&&(e.languages.pure[\"inline-lang\"].inside.rest=e.util.clone(e.languages.c))}(Prism);\nPrism.languages.python={\"triple-quoted-string\":{pattern:/\"\"\"[\\s\\S]+?\"\"\"|'''[\\s\\S]+?'''/,alias:\"string\"},comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0},string:{pattern:/(\"|')(?:\\\\\\\\|\\\\?[^\\\\\\r\\n])*?\\1/,greedy:!0},\"function\":{pattern:/((?:^|\\s)def[ \\t]+)[a-zA-Z_][a-zA-Z0-9_]*(?=\\()/g,lookbehind:!0},\"class-name\":{pattern:/(\\bclass\\s+)[a-z0-9_]+/i,lookbehind:!0},keyword:/\\b(?:as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\\b/,\"boolean\":/\\b(?:True|False)\\b/,number:/\\b-?(?:0[bo])?(?:(?:\\d|0x[\\da-f])[\\da-f]*\\.?\\d*|\\.\\d+)(?:e[+-]?\\d+)?j?\\b/i,operator:/[-+%=]=?|!=|\\*\\*?=?|\\/\\/?=?|<[<=>]?|>[=>]?|[&|^~]|\\b(?:or|and|not)\\b/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.q={string:/\"(?:\\\\.|[^\"\\\\\\r\\n])*\"/,comment:[{pattern:/([\\t )\\]}])\\/.*/,lookbehind:!0},{pattern:/(^|\\r?\\n|\\r)\\/[\\t ]*(?:(?:\\r?\\n|\\r)(?:.*(?:\\r?\\n|\\r))*?(?:\\\\(?=[\\t ]*(?:\\r?\\n|\\r))|$)|\\S.*)/,lookbehind:!0},/^\\\\[\\t ]*(?:\\r?\\n|\\r)[\\s\\S]+/m,/^#!.+/m],symbol:/`(?::\\S+|[\\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\\d{4}\\.\\d\\d(?:m|\\.\\d\\d(?:T(?:\\d\\d(?::\\d\\d(?::\\d\\d(?:[.:]\\d\\d\\d)?)?)?)?)?[dz]?)|\\d\\d:\\d\\d(?::\\d\\d(?:[.:]\\d\\d\\d)?)?[uvt]?/,alias:\"number\"},number:/\\b-?(?![01]:)(?:0[wn]|0W[hj]?|0N[hje]?|0x[\\da-fA-F]+|\\d+\\.?\\d*(?:e[+-]?\\d+)?[hjfeb]?)/,keyword:/\\\\\\w+\\b|\\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\\b/,adverb:{pattern:/['\\/\\\\]:?|\\beach\\b/,alias:\"function\"},verb:{pattern:/(?:\\B\\.\\B|\\b[01]:|<[=>]?|>=?|[:+\\-*%,!?_~=|$&#@^]):?/,alias:\"operator\"},punctuation:/[(){}\\[\\];.]/};\nPrism.languages.qore=Prism.languages.extend(\"clike\",{comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|(?:\\/\\/|#).*)/,lookbehind:!0},string:{pattern:/(\"|')(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\])*\\1/,greedy:!0},variable:/\\$(?!\\d)\\w+\\b/,keyword:/\\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:int|float|number|bool|string|date|list)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\\b/,number:/\\b(?:0b[01]+|0x[\\da-f]*\\.?[\\da-fp\\-]+|\\d*\\.?\\d+e?\\d*[df]|\\d*\\.?\\d+)\\b/i,\"boolean\":/\\b(?:true|false)\\b/i,operator:{pattern:/(^|[^\\.])(?:\\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\\|[|=]?|[*\\/%^]=?|[~?])/,lookbehind:!0},\"function\":/\\$?\\b(?!\\d)\\w+(?=\\()/});\nPrism.languages.r={comment:/#.*/,string:{pattern:/(['\"])(?:\\\\?.)*?\\1/,greedy:!0},\"percent-operator\":{pattern:/%[^%\\s]*%/,alias:\"operator\"},\"boolean\":/\\b(?:TRUE|FALSE)\\b/,ellipsis:/\\.\\.(?:\\.|\\d+)/,number:[/\\b(?:NaN|Inf)\\b/,/\\b(?:0x[\\dA-Fa-f]+(?:\\.\\d*)?|\\d*\\.?\\d+)(?:[EePp][+-]?\\d+)?[iL]?\\b/],keyword:/\\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\\|\\|?|[+*\\/^$@~]/,punctuation:/[(){}\\[\\],;]/};\n!function(a){var e=a.util.clone(a.languages.javascript);a.languages.jsx=a.languages.extend(\"markup\",e),a.languages.jsx.tag.pattern=/<\\/?[\\w\\.:-]+\\s*(?:\\s+(?:[\\w\\.:-]+(?:=(?:(\"|')(\\\\?[\\s\\S])*?\\1|[^\\s'\">=]+|(\\{[\\s\\S]*?\\})))?|\\{\\.{3}\\w+\\}))*\\s*\\/?>/i,a.languages.jsx.tag.inside[\"attr-value\"].pattern=/=(?!\\{)(?:('|\")[\\s\\S]*?(\\1)|[^\\s>]+)/i,a.languages.insertBefore(\"inside\",\"attr-name\",{spread:{pattern:/\\{\\.{3}\\w+\\}/,inside:{punctuation:/\\{|\\}|\\./,\"attr-value\":/\\w+/}}},a.languages.jsx.tag);var s=a.util.clone(a.languages.jsx);delete s.punctuation,s=a.languages.insertBefore(\"jsx\",\"operator\",{punctuation:/=(?={)|[{}[\\];(),.:]/},{jsx:s}),a.languages.insertBefore(\"inside\",\"attr-value\",{script:{pattern:/=(\\{(?:\\{[^}]*\\}|[^}])+\\})/i,inside:s,alias:\"language-javascript\"}},a.languages.jsx.tag)}(Prism);\nPrism.languages.renpy={string:/\"\"\"[\\s\\S]+?\"\"\"|'''[\\s\\S]+?'''|(\"|')(\\\\?.)*?\\1|(^#?(?:(?:[0-9a-fA-F]{2}){3}|(?:[0-9a-fA-F]){3})$)/m,comment:{pattern:/(^|[^\\\\])#.+/,lookbehind:!0},\"function\":/[a-z_][a-z0-9_]*(?=\\()/i,property:/\\b(insensitive|idle|hover|selected_idle|selected_hover|background|position|alt|xpos|ypos|pos|xanchor|yanchor|anchor|xalign|yalign|align|xcenter|ycenter|xofsset|yoffset|ymaximum|maximum|xmaximum|xminimum|yminimum|minimum|xsize|ysizexysize|xfill|yfill|area|antialias|black_color|bold|caret|color|first_indent|font|size|italic|justify|kerning|language|layout|line_leading|line_overlap_split|line_spacing|min_width|newline_indent|outlines|rest_indent|ruby_style|slow_cps|slow_cps_multiplier|strikethrough|text_align|underline|hyperlink_functions|vertical|hinting|foreground|left_margin|xmargin|top_margin|bottom_margin|ymargin|left_padding|right_padding|xpadding|top_padding|bottom_padding|ypadding|size_group|child|hover_sound|activate_sound|mouse|focus_mask|keyboard_focus|bar_vertical|bar_invert|bar_resizing|left_gutter|right_gutter|top_gutter|bottom_gutter|left_bar|right_bar|top_bar|bottom_bar|thumb|thumb_shadow|thumb_offset|unscrollable|spacing|first_spacing|box_reverse|box_wrap|order_reverse|fit_first|ysize|thumbnail_width|thumbnail_height|help|text_ypos|text_xpos|idle_color|hover_color|selected_idle_color|selected_hover_color|insensitive_color|alpha|insensitive_background|hover_background|zorder|value|width|xadjustment|xanchoraround|xaround|xinitial|xoffset|xzoom|yadjustment|yanchoraround|yaround|yinitial|yzoom|zoom|ground|height|text_style|text_y_fudge|selected_insensitive|has_sound|has_music|has_voice|focus|hovered|image_style|length|minwidth|mousewheel|offset|prefix|radius|range|right_margin|rotate|rotate_pad|developer|screen_width|screen_height|window_title|name|version|windows_icon|default_fullscreen|default_text_cps|default_afm_time|main_menu_music|sample_sound|enter_sound|exit_sound|save_directory|enter_transition|exit_transition|intra_transition|main_game_transition|game_main_transition|end_splash_transition|end_game_transition|after_load_transition|window_show_transition|window_hide_transition|adv_nvl_transition|nvl_adv_transition|enter_yesno_transition|exit_yesno_transition|enter_replay_transition|exit_replay_transition|say_attribute_transition|directory_name|executable_name|include_update|window_icon|modal|google_play_key|google_play_salt|drag_name|drag_handle|draggable|dragged|droppable|dropped|narrator_menu|action|default_afm_enable|version_name|version_tuple|inside|fadeout|fadein|layers|layer_clipping|linear|scrollbars|side_xpos|side_ypos|side_spacing|edgescroll|drag_joined|drag_raise|drop_shadow|drop_shadow_color|subpixel|easein|easeout|time|crop|auto|update|get_installed_packages|can_update|UpdateVersion|Update|overlay_functions|translations|window_left_padding|show_side_image|show_two_window)\\b/,tag:/\\b(label|image|menu|[hv]box|frame|text|imagemap|imagebutton|bar|vbar|screen|textbutton|buttoscreenn|fixed|grid|input|key|mousearea|side|timer|viewport|window|hotspot|hotbar|self|button|drag|draggroup|tag|mm_menu_frame|nvl|block|parallel)\\b|\\$/,keyword:/\\b(as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|yield|adjustment|alignaround|allow|angle|around|box_layout|cache|changed|child_size|clicked|clipping|corner1|corner2|default|delay|exclude|scope|slow|slow_abortable|slow_done|sound|style_group|substitute|suffix|transform_anchor|transpose|unhovered|config|theme|mm_root|gm_root|rounded_window|build|disabled_text|disabled|widget_selected|widget_text|widget_hover|widget|updater|behind|call|expression|hide|init|jump|onlayer|python|renpy|scene|set|show|transform|play|queue|stop|pause|define|window|repeat|contains|choice|on|function|event|animation|clockwise|counterclockwise|circles|knot|null|None|random|has|add|use|fade|dissolve|style|store|id|voice|center|left|right|less_rounded|music|movie|clear|persistent|ui)\\b/,\"boolean\":/\\b([Tt]rue|[Ff]alse)\\b/,number:/\\b-?(?:0[bo])?(?:(?:\\d|0x[\\da-f])[\\da-f]*\\.?\\d*|\\.\\d+)(?:e[+-]?\\d+)?j?\\b/i,operator:/[-+%=]=?|!=|\\*\\*?=?|\\/\\/?=?|<[<=>]?|>[=>]?|[&|^~]|\\b(?:or|and|not|with|at)\\b/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.reason=Prism.languages.extend(\"clike\",{comment:{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0},string:{pattern:/\"(\\\\(?:\\r\\n|[\\s\\S])|[^\\\\\\r\\n\"])*\"/,greedy:!0},\"class-name\":/\\b[A-Z]\\w*/,keyword:/\\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\\b/,operator:/\\.{3}|:[:=]|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\\-*\\/]\\.?|\\b(?:mod|land|lor|lxor|lsl|lsr|asr)\\b/}),Prism.languages.insertBefore(\"reason\",\"class-name\",{character:{pattern:/'(?:\\\\x[\\da-f]{2}|\\\\o[0-3][0-7][0-7]|\\\\\\d{3}|\\\\.|[^'])'/,alias:\"string\"},constructor:{pattern:/\\b[A-Z]\\w*\\b(?!\\s*\\.)/,alias:\"variable\"},label:{pattern:/\\b[a-z]\\w*(?=::)/,alias:\"symbol\"}}),delete Prism.languages.reason.function;\nPrism.languages.rest={table:[{pattern:/(\\s*)(?:\\+[=-]+)+\\+(?:\\r?\\n|\\r)(?:\\1(?:[+|].+)+[+|](?:\\r?\\n|\\r))+\\1(?:\\+[=-]+)+\\+/,lookbehind:!0,inside:{punctuation:/\\||(?:\\+[=-]+)+\\+/}},{pattern:/(\\s*)(?:=+ +)+=+((?:\\r?\\n|\\r)\\1.+)+(?:\\r?\\n|\\r)\\1(?:=+ +)+=+(?=(?:\\r?\\n|\\r){2}|\\s*$)/,lookbehind:!0,inside:{punctuation:/[=-]+/}}],\"substitution-def\":{pattern:/(^\\s*\\.\\. )\\|(?:[^|\\s](?:[^|]*[^|\\s])?)\\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\\|(?:[^|\\s]|[^|\\s][^|]*[^|\\s])\\|/,alias:\"attr-value\",inside:{punctuation:/^\\||\\|$/}},directive:{pattern:/( +)[^:]+::/,lookbehind:!0,alias:\"function\",inside:{punctuation:/::$/}}}},\"link-target\":[{pattern:/(^\\s*\\.\\. )\\[[^\\]]+\\]/m,lookbehind:!0,alias:\"string\",inside:{punctuation:/^\\[|\\]$/}},{pattern:/(^\\s*\\.\\. )_(?:`[^`]+`|(?:[^:\\\\]|\\\\.)+):/m,lookbehind:!0,alias:\"string\",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^\\s*\\.\\. )[^:]+::/m,lookbehind:!0,alias:\"function\",inside:{punctuation:/::$/}},comment:{pattern:/(^\\s*\\.\\.)(?:(?: .+)?(?:(?:\\r?\\n|\\r).+)+| .+)(?=(?:\\r?\\n|\\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~])\\2+)(?:\\r?\\n|\\r).+(?:\\r?\\n|\\r)\\1$/m,inside:{punctuation:/^[!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~]+|[!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\\r?\\n|\\r){2}).+(?:\\r?\\n|\\r)([!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~])\\2+(?=\\r?\\n|\\r|$)/,lookbehind:!0,inside:{punctuation:/[!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\\r?\\n|\\r){2})([!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~])\\2{3,}(?=(?:\\r?\\n|\\r){2})/,lookbehind:!0,alias:\"punctuation\"},field:{pattern:/(^\\s*):[^:\\r\\n]+:(?= )/m,lookbehind:!0,alias:\"attr-name\"},\"command-line-option\":{pattern:/(^\\s*)(?:[+-][a-z\\d]|(?:\\-\\-|\\/)[a-z\\d-]+)(?:[ =](?:[a-z][a-z\\d_-]*|<[^<>]+>))?(?:, (?:[+-][a-z\\d]|(?:\\-\\-|\\/)[a-z\\d-]+)(?:[ =](?:[a-z][a-z\\d_-]*|<[^<>]+>))?)*(?=(?:\\r?\\n|\\r)? {2,}\\S)/im,lookbehind:!0,alias:\"symbol\"},\"literal-block\":{pattern:/::(?:\\r?\\n|\\r){2}([ \\t]+).+(?:(?:\\r?\\n|\\r)\\1.+)*/,inside:{\"literal-block-punctuation\":{pattern:/^::/,alias:\"punctuation\"}}},\"quoted-literal-block\":{pattern:/::(?:\\r?\\n|\\r){2}([!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~]).*(?:(?:\\r?\\n|\\r)\\1.*)*/,inside:{\"literal-block-punctuation\":{pattern:/^(?:::|([!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~])\\1*)/m,alias:\"punctuation\"}}},\"list-bullet\":{pattern:/(^\\s*)(?:[*+\\-•‣⁃]|\\(?(?:\\d+|[a-z]|[ivxdclm]+)\\)|(?:\\d+|[a-z]|[ivxdclm]+)\\.)(?= )/im,lookbehind:!0,alias:\"punctuation\"},\"doctest-block\":{pattern:/(^\\s*)>>> .+(?:(?:\\r?\\n|\\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\\s\\-:\\/'\"<(\\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\\*\\*?|``?|\\|)(?!\\s).*?[^\\s]\\2(?=[\\s\\-.,:;!?\\\\\\/'\")\\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\\*\\*).+(?=\\*\\*$)/,lookbehind:!0},italic:{pattern:/(^\\*).+(?=\\*$)/,lookbehind:!0},\"inline-literal\":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:\"symbol\"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:\"function\",inside:{punctuation:/^:|:$/}},\"interpreted-text\":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:\"attr-value\"},substitution:{pattern:/(^\\|).+(?=\\|$)/,lookbehind:!0,alias:\"attr-value\"},punctuation:/\\*\\*?|``?|\\|/}}],link:[{pattern:/\\[[^\\]]+\\]_(?=[\\s\\-.,:;!?\\\\\\/'\")\\]}]|$)/,alias:\"string\",inside:{punctuation:/^\\[|\\]_$/}},{pattern:/(?:\\b[a-z\\d](?:[_.:+]?[a-z\\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\\s\\-.,:;!?\\\\\\/'\")\\]}]|$)/i,alias:\"string\",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^\\s*)(?:\\|(?= |$)|(?:---?|—|\\.\\.|__)(?= )|\\.\\.$)/m,lookbehind:!0}};\nPrism.languages.rip={comment:/#.*/,keyword:/(?:=>|->)|\\b(?:class|if|else|switch|case|return|exit|try|catch|finally|raise)\\b/,builtin:/@|\\bSystem\\b/,\"boolean\":/\\b(?:true|false)\\b/,date:/\\b\\d{4}-\\d{2}-\\d{2}\\b/,time:/\\b\\d{2}:\\d{2}:\\d{2}\\b/,datetime:/\\b\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\b/,character:/\\B`[^\\s`'\",.:;#\\/\\\\()<>\\[\\]{}]\\b/,regex:{pattern:/(^|[^\\/])\\/(?!\\/)(\\[.+?]|\\\\.|[^\\/\\\\\\r\\n])+\\/(?=\\s*($|[\\r\\n,.;})]))/,lookbehind:!0,greedy:!0},symbol:/:[^\\d\\s`'\",.:;#\\/\\\\()<>\\[\\]{}][^\\s`'\",.:;#\\/\\\\()<>\\[\\]{}]*/,string:{pattern:/(\"|')(\\\\?.)*?\\1/,greedy:!0},number:/[+-]?(?:(?:\\d+\\.\\d+)|(?:\\d+))/,punctuation:/(?:\\.{2,3})|[`,.:;=\\/\\\\()<>\\[\\]{}]/,reference:/[^\\d\\s`'\",.:;#\\/\\\\()<>\\[\\]{}][^\\s`'\",.:;#\\/\\\\()<>\\[\\]{}]*/};\nPrism.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\\s)(?:(?:facet|instance of)(?=[ \\t]+[\\w-]+[ \\t]*\\{)|(?:external|import)\\b)/,lookbehind:!0},component:{pattern:/[\\w-]+(?=[ \\t]*\\{)/,alias:\"variable\"},property:/[\\w.-]+(?=[ \\t]*:)/,value:{pattern:/(=[ \\t]*)[^,;]+/,lookbehind:!0,alias:\"attr-value\"},optional:{pattern:/\\(optional\\)/,alias:\"builtin\"},wildcard:{pattern:/(\\.)\\*/,lookbehind:!0,alias:\"operator\"},punctuation:/[{},.;:=]/};\n!function(e){e.languages.crystal=e.languages.extend(\"ruby\",{keyword:[/\\b(?:abstract|alias|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|rescue|return|require|select|self|sizeof|struct|super|then|type|typeof|uninitialized|union|unless|until|when|while|with|yield|__DIR__|__END_LINE__|__FILE__|__LINE__)\\b/,{pattern:/(\\.\\s*)(?:is_a|responds_to)\\?/,lookbehind:!0}],number:/\\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[0-9a-fA-F_]*[0-9a-fA-F]|(?:\\d(?:[0-9_]*\\d)?)(?:\\.[0-9_]*\\d)?(?:[eE][+-]?[0-9_]*\\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\\b/});var t=e.util.clone(e.languages.crystal);e.languages.insertBefore(\"crystal\",\"string\",{attribute:{pattern:/@\\[.+?\\]/,alias:\"attr-name\",inside:{delimiter:{pattern:/^@\\[|\\]$/,alias:\"tag\"},rest:t}},expansion:[{pattern:/\\{\\{.+?\\}\\}/,inside:{delimiter:{pattern:/^\\{\\{|\\}\\}$/,alias:\"tag\"},rest:t}},{pattern:/\\{%.+?%\\}/,inside:{delimiter:{pattern:/^\\{%|%\\}$/,alias:\"tag\"},rest:t}}]})}(Prism);\nPrism.languages.rust={comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0}],string:[{pattern:/b?r(#*)\"(?:\\\\?.)*?\"\\1/,greedy:!0},{pattern:/b?(\"|')(?:\\\\?.)*?\\1/,greedy:!0}],keyword:/\\b(?:abstract|alignof|as|be|box|break|const|continue|crate|do|else|enum|extern|false|final|fn|for|if|impl|in|let|loop|match|mod|move|mut|offsetof|once|override|priv|pub|pure|ref|return|sizeof|static|self|struct|super|true|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\\b/,attribute:{pattern:/#!?\\[.+?\\]/,greedy:!0,alias:\"attr-name\"},\"function\":[/[a-z0-9_]+(?=\\s*\\()/i,/[a-z0-9_]+!(?=\\s*\\(|\\[)/i],\"macro-rules\":{pattern:/[a-z0-9_]+!/i,alias:\"function\"},number:/\\b-?(?:0x[\\dA-Fa-f](?:_?[\\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(\\d(_?\\d)*)?\\.?\\d(_?\\d)*([Ee][+-]?\\d+)?)(?:_?(?:[iu](?:8|16|32|64)?|f32|f64))?\\b/,\"closure-params\":{pattern:/\\|[^|]*\\|(?=\\s*[{-])/,inside:{punctuation:/[\\|:,]/,operator:/[&*]/}},punctuation:/[{}[\\];(),:]|\\.+|->/,operator:/[-+*\\/%!^=]=?|@|&[&=]?|\\|[|=]?|<<?=?|>>?=?/};\nPrism.languages.sas={datalines:{pattern:/^\\s*(?:(?:data)?lines|cards);[\\s\\S]+?(?:\\r?\\n|\\r);/im,alias:\"string\",inside:{keyword:{pattern:/^(\\s*)(?:(?:data)?lines|cards)/i,lookbehind:!0},punctuation:/;/}},comment:[{pattern:/(^\\s*|;\\s*)\\*.*;/m,lookbehind:!0},/\\/\\*[\\s\\S]+?\\*\\//],datetime:{pattern:/'[^']+'(?:dt?|t)\\b/i,alias:\"number\"},string:{pattern:/([\"'])(?:\\1\\1|(?!\\1)[\\s\\S])*\\1/,greedy:!0},keyword:/\\b(?:data|else|format|if|input|proc\\s\\w+|quit|run|then)\\b/i,number:/(?:\\B-|\\b)(?:[\\da-f]+x|\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?)/i,operator:/\\*\\*?|\\|\\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\\/=&]|[~¬^]=?|\\b(?:eq|ne|gt|lt|ge|le|in|not)\\b/i,punctuation:/[$%@.(){}\\[\\];,\\\\]/};\n!function(e){e.languages.sass=e.languages.extend(\"css\",{comment:{pattern:/^([ \\t]*)\\/[\\/*].*(?:(?:\\r?\\n|\\r)\\1[ \\t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore(\"sass\",\"atrule\",{\"atrule-line\":{pattern:/^(?:[ \\t]*)[@+=].+/m,inside:{atrule:/(?:@[\\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var a=/((\\$[-_\\w]+)|(#\\{\\$[-_\\w]+\\}))/i,t=[/[+*\\/%]|[=!]=|<=?|>=?|\\b(?:and|or|not)\\b/,{pattern:/(\\s+)-(?=\\s)/,lookbehind:!0}];e.languages.insertBefore(\"sass\",\"property\",{\"variable-line\":{pattern:/^[ \\t]*\\$.+/m,inside:{punctuation:/:/,variable:a,operator:t}},\"property-line\":{pattern:/^[ \\t]*(?:[^:\\s]+ *:.*|:[^:\\s]+.*)/m,inside:{property:[/[^:\\s]+(?=\\s*:)/,{pattern:/(:)[^:\\s]+/,lookbehind:!0}],punctuation:/:/,variable:a,operator:t,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,delete e.languages.sass.selector,e.languages.insertBefore(\"sass\",\"punctuation\",{selector:{pattern:/([ \\t]*)\\S(?:,?[^,\\r\\n]+)*(?:,(?:\\r?\\n|\\r)\\1[ \\t]+\\S(?:,?[^,\\r\\n]+)*)*/,lookbehind:!0}})}(Prism);\nPrism.languages.scss=Prism.languages.extend(\"css\",{comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0},atrule:{pattern:/@[\\w-]+(?:\\([^()]+\\)|[^(])*?(?=\\s+[{;])/,inside:{rule:/@[\\w-]+/}},url:/(?:[-a-z]+-)*url(?=\\()/i,selector:{pattern:/(?=\\S)[^@;\\{\\}\\(\\)]?([^@;\\{\\}\\(\\)]|&|#\\{\\$[-_\\w]+\\})+(?=\\s*\\{(\\}|\\s|[^\\}]+(:|\\{)[^\\}]+))/m,inside:{parent:{pattern:/&/,alias:\"important\"},placeholder:/%[-_\\w]+/,variable:/\\$[-_\\w]+|#\\{\\$[-_\\w]+\\}/}}}),Prism.languages.insertBefore(\"scss\",\"atrule\",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.scss.property={pattern:/(?:[\\w-]|\\$[-_\\w]+|#\\{\\$[-_\\w]+\\})+(?=\\s*:)/i,inside:{variable:/\\$[-_\\w]+|#\\{\\$[-_\\w]+\\}/}},Prism.languages.insertBefore(\"scss\",\"important\",{variable:/\\$[-_\\w]+|#\\{\\$[-_\\w]+\\}/}),Prism.languages.insertBefore(\"scss\",\"function\",{placeholder:{pattern:/%[-_\\w]+/,alias:\"selector\"},statement:{pattern:/\\B!(?:default|optional)\\b/i,alias:\"keyword\"},\"boolean\":/\\b(?:true|false)\\b/,\"null\":/\\bnull\\b/,operator:{pattern:/(\\s)(?:[-+*\\/%]|[=!]=|<=?|>=?|and|or|not)(?=\\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss);\nPrism.languages.scala=Prism.languages.extend(\"java\",{keyword:/<-|=>|\\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\\b/,string:[{pattern:/\"\"\"[\\s\\S]*?\"\"\"/,greedy:!0},{pattern:/(\"|')(?:\\\\\\\\|\\\\?[^\\\\\\r\\n])*?\\1/,greedy:!0}],builtin:/\\b(?:String|Int|Long|Short|Byte|Boolean|Double|Float|Char|Any|AnyRef|AnyVal|Unit|Nothing)\\b/,number:/\\b(?:0x[\\da-f]*\\.?[\\da-f]+|\\d*\\.?\\d+e?\\d*[dfl]?)\\b/i,symbol:/'[^\\d\\s\\\\]\\w*/}),delete Prism.languages.scala[\"class-name\"],delete Prism.languages.scala[\"function\"];\nPrism.languages.scheme={comment:/;.*/,string:{pattern:/\"(?:[^\"\\\\\\r\\n]|\\\\.)*?\"|'[^('\\s]*/,greedy:!0},keyword:{pattern:/(\\()(?:define(?:-syntax|-library|-values)?|(?:case-)?lambda|let(?:\\*|rec)?(?:-values)?|else|if|cond|begin|delay(?:-force)?|parameterize|guard|set!|(?:quasi-)?quote|syntax-rules)/,lookbehind:!0},builtin:{pattern:/(\\()(?:(?:cons|car|cdr|list|call-with-current-continuation|call\\/cc|append|abs|apply|eval)\\b|null\\?|pair\\?|boolean\\?|eof-object\\?|char\\?|procedure\\?|number\\?|port\\?|string\\?|vector\\?|symbol\\?|bytevector\\?)/,lookbehind:!0},number:{pattern:/(\\s|\\))[-+]?\\d*\\.?\\d+(?:\\s*[-+]\\s*\\d*\\.?\\d+i)?\\b/,lookbehind:!0},\"boolean\":/#[tf]/,operator:{pattern:/(\\()(?:[-+*%\\/]|[<>]=?|=>?)/,lookbehind:!0},\"function\":{pattern:/(\\()[^\\s()]*(?=\\s)/,lookbehind:!0},punctuation:/[()]/};\nPrism.languages.smalltalk={comment:/\"(?:\"\"|[^\"])+\"/,string:/'(?:''|[^'])+'/,symbol:/#[\\da-z]+|#(?:-|([+\\/\\\\*~<>=@%|&?!])\\1?)|#(?=\\()/i,\"block-arguments\":{pattern:/(\\[\\s*):[^\\[|]*?\\|/,lookbehind:!0,inside:{variable:/:[\\da-z]+/i,punctuation:/\\|/}},\"temporary-variables\":{pattern:/\\|[^|]+\\|/,inside:{variable:/[\\da-z]+/i,punctuation:/\\|/}},keyword:/\\b(?:nil|true|false|self|super|new)\\b/,character:{pattern:/\\$./,alias:\"string\"},number:[/\\d+r-?[\\dA-Z]+(?:\\.[\\dA-Z]+)?(?:e-?\\d+)?/,/(?:\\B-|\\b)\\d+(?:\\.\\d+)?(?:e-?\\d+)?/],operator:/[<=]=?|:=|~[~=]|\\/\\/?|\\\\\\\\|>[>=]?|[!^+\\-*&|,@]/,punctuation:/[.;:?\\[\\](){}]/};\n!function(e){var t=/\\{\\*[\\s\\S]+?\\*\\}|\\{[\\s\\S]+?\\}/g,a=\"{literal}\",n=\"{/literal}\",o=!1;e.languages.smarty=e.languages.extend(\"markup\",{smarty:{pattern:t,inside:{delimiter:{pattern:/^\\{|\\}$/i,alias:\"punctuation\"},string:/([\"'])(?:\\\\?.)*?\\1/,number:/\\b-?(?:0x[\\dA-Fa-f]+|\\d*\\.?\\d+(?:[Ee][-+]?\\d+)?)\\b/,variable:[/\\$(?!\\d)\\w+/,/#(?!\\d)\\w+#/,{pattern:/(\\.|->)(?!\\d)\\w+/,lookbehind:!0},{pattern:/(\\[)(?!\\d)\\w+(?=\\])/,lookbehind:!0}],\"function\":[{pattern:/(\\|\\s*)@?(?!\\d)\\w+/,lookbehind:!0},/^\\/?(?!\\d)\\w+/,/(?!\\d)\\w+(?=\\()/],\"attr-name\":{pattern:/\\w+\\s*=\\s*(?:(?!\\d)\\w+)?/,inside:{variable:{pattern:/(=\\s*)(?!\\d)\\w+/,lookbehind:!0},operator:/=/}},punctuation:[/[\\[\\]().,:`]|\\->/],operator:[/[+\\-*\\/%]|==?=?|[!<>]=?|&&|\\|\\|?/,/\\bis\\s+(?:not\\s+)?(?:div|even|odd)(?:\\s+by)?\\b/,/\\b(?:eq|neq?|gt|lt|gt?e|lt?e|not|mod|or|and)\\b/],keyword:/\\b(?:false|off|on|no|true|yes)\\b/}}}),e.languages.insertBefore(\"smarty\",\"tag\",{\"smarty-comment\":{pattern:/\\{\\*[\\s\\S]*?\\*\\}/,alias:[\"smarty\",\"comment\"]}}),e.hooks.add(\"before-highlight\",function(e){\"smarty\"===e.language&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(t,function(t){if(t===n&&(o=!1),!o){t===a&&(o=!0);for(var r=e.tokenStack.length;-1!==e.backupCode.indexOf(\"___SMARTY\"+r+\"___\");)++r;return e.tokenStack[r]=t,\"___SMARTY\"+r+\"___\"}return t}))}),e.hooks.add(\"before-insert\",function(e){\"smarty\"===e.language&&(e.code=e.backupCode,delete e.backupCode)}),e.hooks.add(\"after-highlight\",function(t){if(\"smarty\"===t.language){for(var a=0,n=Object.keys(t.tokenStack);a<n.length;++a){var o=n[a],r=t.tokenStack[o];t.highlightedCode=t.highlightedCode.replace(\"___SMARTY\"+o+\"___\",e.highlight(r,t.grammar,\"smarty\").replace(/\\$/g,\"$$$$\"))}t.element.innerHTML=t.highlightedCode}})}(Prism);\nPrism.languages.sql={comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|(?:--|\\/\\/|#).*)/,lookbehind:!0},string:{pattern:/(^|[^@\\\\])(\"|')(?:\\\\?[\\s\\S])*?\\2/,greedy:!0,lookbehind:!0},variable:/@[\\w.$]+|@(\"|'|`)(?:\\\\?[\\s\\S])+?\\1/,\"function\":/\\b(?:COUNT|SUM|AVG|MIN|MAX|FIRST|LAST|UCASE|LCASE|MID|LEN|ROUND|NOW|FORMAT)(?=\\s*\\()/i,keyword:/\\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR VARYING|CHARACTER (?:SET|VARYING)|CHARSET|CHECK|CHECKPOINT|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMN|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS|CONTAINSTABLE|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|DATA(?:BASES?)?|DATE(?:TIME)?|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITER(?:S)?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE(?: PRECISION)?|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE KEY|ELSE|ENABLE|ENCLOSED BY|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPE(?:D BY)?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTO|INVOKER|ISOLATION LEVEL|JOIN|KEYS?|KILL|LANGUAGE SQL|LAST|LEFT|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MODIFIES SQL DATA|MODIFY|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL(?: CHAR VARYING| CHARACTER(?: VARYING)?| VARCHAR)?|NATURAL|NCHAR(?: VARCHAR)?|NEXT|NO(?: SQL|CHECK|CYCLE)?|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READ(?:S SQL DATA|TEXT)?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEATABLE|REPLICATION|REQUIRE|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE MODE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|START(?:ING BY)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED BY|TEXT(?:SIZE)?|THEN|TIMESTAMP|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNPIVOT|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?)\\b/i,\"boolean\":/\\b(?:TRUE|FALSE|NULL)\\b/i,number:/\\b-?(?:0x)?\\d*\\.?[\\da-f]+\\b/,operator:/[-+*\\/=%^~]|&&?|\\|?\\||!=?|<(?:=>?|<|>)?|>[>=]?|\\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\\b/i,punctuation:/[;[\\]()`,.]/};\n!function(n){var t={url:/url\\(([\"']?).*?\\1\\)/i,string:{pattern:/(\"|')(?:[^\\\\\\r\\n]|\\\\(?:\\r\\n|[\\s\\S]))*?\\1/,greedy:!0},interpolation:null,func:null,important:/\\B!(?:important|optional)\\b/i,keyword:{pattern:/(^|\\s+)(?:(?:if|else|for|return|unless)(?=\\s+|$)|@[\\w-]+)/,lookbehind:!0},hexcode:/#[\\da-f]{3,6}/i,number:/\\b\\d+(?:\\.\\d+)?%?/,\"boolean\":/\\b(?:true|false)\\b/,operator:[/~|[+!\\/%<>?=]=?|[-:]=|\\*[*=]?|\\.+|&&|\\|\\||\\B-\\B|\\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\\b/],punctuation:/[{}()\\[\\];:,]/};t.interpolation={pattern:/\\{[^\\r\\n}:]+\\}/,alias:\"variable\",inside:n.util.clone(t)},t.func={pattern:/[\\w-]+\\([^)]*\\).*/,inside:{\"function\":/^[^(]+/,rest:n.util.clone(t)}},n.languages.stylus={comment:{pattern:/(^|[^\\\\])(\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0},\"atrule-declaration\":{pattern:/(^\\s*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\\w-]+/,rest:t}},\"variable-declaration\":{pattern:/(^[ \\t]*)[\\w$-]+\\s*.?=[ \\t]*(?:(?:\\{[^}]*\\}|.+)|$)/m,lookbehind:!0,inside:{variable:/^\\S+/,rest:t}},statement:{pattern:/(^[ \\t]*)(?:if|else|for|return|unless)[ \\t]+.+/m,lookbehind:!0,inside:{keyword:/^\\S+/,rest:t}},\"property-declaration\":{pattern:/((?:^|\\{)([ \\t]*))(?:[\\w-]|\\{[^}\\r\\n]+\\})+(?:\\s*:\\s*|[ \\t]+)[^{\\r\\n]*(?:;|[^{\\r\\n,](?=$)(?!(\\r?\\n|\\r)(?:\\{|\\2[ \\t]+)))/m,lookbehind:!0,inside:{property:{pattern:/^[^\\s:]+/,inside:{interpolation:t.interpolation}},rest:t}},selector:{pattern:/(^[ \\t]*)(?:(?=\\S)(?:[^{}\\r\\n:()]|::?[\\w-]+(?:\\([^)\\r\\n]*\\))?|\\{[^}\\r\\n]+\\})+)(?:(?:\\r?\\n|\\r)(?:\\1(?:(?=\\S)(?:[^{}\\r\\n:()]|::?[\\w-]+(?:\\([^)\\r\\n]*\\))?|\\{[^}\\r\\n]+\\})+)))*(?:,$|\\{|(?=(?:\\r?\\n|\\r)(?:\\{|\\1[ \\t]+)))/m,lookbehind:!0,inside:{interpolation:t.interpolation,punctuation:/[{},]/}},func:t.func,string:t.string,interpolation:t.interpolation,punctuation:/[{}()\\[\\];:.]/}}(Prism);\nPrism.languages.swift=Prism.languages.extend(\"clike\",{string:{pattern:/(\"|')(\\\\(?:\\((?:[^()]|\\([^)]+\\))+\\)|\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0,inside:{interpolation:{pattern:/\\\\\\((?:[^()]|\\([^)]+\\))+\\)/,inside:{delimiter:{pattern:/^\\\\\\(|\\)$/,alias:\"variable\"}}}}},keyword:/\\b(as|associativity|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic(?:Type)?|else|enum|extension|fallthrough|final|for|func|get|guard|if|import|in|infix|init|inout|internal|is|lazy|left|let|mutating|new|none|nonmutating|operator|optional|override|postfix|precedence|prefix|private|Protocol|public|repeat|required|rethrows|return|right|safe|self|Self|set|static|struct|subscript|super|switch|throws?|try|Type|typealias|unowned|unsafe|var|weak|where|while|willSet|__(?:COLUMN__|FILE__|FUNCTION__|LINE__))\\b/,number:/\\b([\\d_]+(\\.[\\de_]+)?|0x[a-f0-9_]+(\\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b/i,constant:/\\b(nil|[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\\b/,atrule:/@\\b(IB(?:Outlet|Designable|Action|Inspectable)|class_protocol|exported|noreturn|NS(?:Copying|Managed)|objc|UIApplicationMain|auto_closure)\\b/,builtin:/\\b([A-Z]\\S+|abs|advance|alignof(?:Value)?|assert|contains|count(?:Elements)?|debugPrint(?:ln)?|distance|drop(?:First|Last)|dump|enumerate|equal|filter|find|first|getVaList|indices|isEmpty|join|last|lexicographicalCompare|map|max(?:Element)?|min(?:Element)?|numericCast|overlaps|partition|print(?:ln)?|reduce|reflect|reverse|sizeof(?:Value)?|sort(?:ed)?|split|startsWith|stride(?:of(?:Value)?)?|suffix|swap|toDebugString|toString|transcode|underestimateCount|unsafeBitCast|with(?:ExtendedLifetime|Unsafe(?:MutablePointers?|Pointers?)|VaList))\\b/}),Prism.languages.swift.string.inside.interpolation.inside.rest=Prism.util.clone(Prism.languages.swift);\nPrism.languages.tcl={comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0},string:{pattern:/\"(?:[^\"\\\\\\r\\n]|\\\\(?:\\r\\n|[\\s\\S]))*\"/,greedy:!0},variable:[{pattern:/(\\$)(?:::)?(?:[a-zA-Z0-9]+::)*[a-zA-Z0-9_]+/,lookbehind:!0},{pattern:/(\\$){[^}]+}/,lookbehind:!0},{pattern:/(^\\s*set[ \\t]+)(?:::)?(?:[a-zA-Z0-9]+::)*[a-zA-Z0-9_]+/m,lookbehind:!0}],\"function\":{pattern:/(^\\s*proc[ \\t]+)[^\\s]+/m,lookbehind:!0},builtin:[{pattern:/(^\\s*)(?:proc|return|class|error|eval|exit|for|foreach|if|switch|while|break|continue)\\b/m,lookbehind:!0},/\\b(elseif|else)\\b/],scope:{pattern:/(^\\s*)(global|upvar|variable)\\b/m,lookbehind:!0,alias:\"constant\"},keyword:{pattern:/(^\\s*|\\[)(after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|Safe_Base|scan|seek|set|socket|source|split|string|subst|Tcl|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|wordBreak(?:After|Before)|test|vars)|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\\b/m,lookbehind:!0},operator:/!=?|\\*\\*?|==|&&?|\\|\\|?|<[=<]?|>[=>]?|[-+~\\/%?^]|\\b(?:eq|ne|in|ni)\\b/,punctuation:/[{}()\\[\\]]/};\n!function(e){var i=\"(?:\\\\([^|)]+\\\\)|\\\\[[^\\\\]]+\\\\]|\\\\{[^}]+\\\\})+\",n={css:{pattern:/\\{[^}]+\\}/,inside:{rest:e.languages.css}},\"class-id\":{pattern:/(\\()[^)]+(?=\\))/,lookbehind:!0,alias:\"attr-value\"},lang:{pattern:/(\\[)[^\\]]+(?=\\])/,lookbehind:!0,alias:\"attr-value\"},punctuation:/[\\\\\\/]\\d+|\\S/};e.languages.textile=e.languages.extend(\"markup\",{phrase:{pattern:/(^|\\r|\\n)\\S[\\s\\S]*?(?=$|\\r?\\n\\r?\\n|\\r\\r)/,lookbehind:!0,inside:{\"block-tag\":{pattern:RegExp(\"^[a-z]\\\\w*(?:\"+i+\"|[<>=()])*\\\\.\"),inside:{modifier:{pattern:RegExp(\"(^[a-z]\\\\w*)(?:\"+i+\"|[<>=()])+(?=\\\\.)\"),lookbehind:!0,inside:e.util.clone(n)},tag:/^[a-z]\\w*/,punctuation:/\\.$/}},list:{pattern:RegExp(\"^[*#]+(?:\"+i+\")?\\\\s+.+\",\"m\"),inside:{modifier:{pattern:RegExp(\"(^[*#]+)\"+i),lookbehind:!0,inside:e.util.clone(n)},punctuation:/^[*#]+/}},table:{pattern:RegExp(\"^(?:(?:\"+i+\"|[<>=()^~])+\\\\.\\\\s*)?(?:\\\\|(?:(?:\"+i+\"|[<>=()^~_]|[\\\\\\\\/]\\\\d+)+\\\\.)?[^|]*)+\\\\|\",\"m\"),inside:{modifier:{pattern:RegExp(\"(^|\\\\|(?:\\\\r?\\\\n|\\\\r)?)(?:\"+i+\"|[<>=()^~_]|[\\\\\\\\/]\\\\d+)+(?=\\\\.)\"),lookbehind:!0,inside:e.util.clone(n)},punctuation:/\\||^\\./}},inline:{pattern:RegExp(\"(\\\\*\\\\*|__|\\\\?\\\\?|[*_%@+\\\\-^~])(?:\"+i+\")?.+?\\\\1\"),inside:{bold:{pattern:RegExp(\"((^\\\\*\\\\*?)(?:\"+i+\")?).+?(?=\\\\2)\"),lookbehind:!0},italic:{pattern:RegExp(\"((^__?)(?:\"+i+\")?).+?(?=\\\\2)\"),lookbehind:!0},cite:{pattern:RegExp(\"(^\\\\?\\\\?(?:\"+i+\")?).+?(?=\\\\?\\\\?)\"),lookbehind:!0,alias:\"string\"},code:{pattern:RegExp(\"(^@(?:\"+i+\")?).+?(?=@)\"),lookbehind:!0,alias:\"keyword\"},inserted:{pattern:RegExp(\"(^\\\\+(?:\"+i+\")?).+?(?=\\\\+)\"),lookbehind:!0},deleted:{pattern:RegExp(\"(^-(?:\"+i+\")?).+?(?=-)\"),lookbehind:!0},span:{pattern:RegExp(\"(^%(?:\"+i+\")?).+?(?=%)\"),lookbehind:!0},modifier:{pattern:RegExp(\"(^\\\\*\\\\*|__|\\\\?\\\\?|[*_%@+\\\\-^~])\"+i),lookbehind:!0,inside:e.util.clone(n)},punctuation:/[*_%?@+\\-^~]+/}},\"link-ref\":{pattern:/^\\[[^\\]]+\\]\\S+$/m,inside:{string:{pattern:/(\\[)[^\\]]+(?=\\])/,lookbehind:!0},url:{pattern:/(\\])\\S+$/,lookbehind:!0},punctuation:/[\\[\\]]/}},link:{pattern:RegExp('\"(?:'+i+')?[^\"]+\":.+?(?=[^\\\\w/]?(?:\\\\s|$))'),inside:{text:{pattern:RegExp('(^\"(?:'+i+')?)[^\"]+(?=\")'),lookbehind:!0},modifier:{pattern:RegExp('(^\")'+i),lookbehind:!0,inside:e.util.clone(n)},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[\":]/}},image:{pattern:RegExp(\"!(?:\"+i+\"|[<>=()])*[^!\\\\s()]+(?:\\\\([^)]+\\\\))?!(?::.+?(?=[^\\\\w/]?(?:\\\\s|$)))?\"),inside:{source:{pattern:RegExp(\"(^!(?:\"+i+\"|[<>=()])*)[^!\\\\s()]+(?:\\\\([^)]+\\\\))?(?=!)\"),lookbehind:!0,alias:\"url\"},modifier:{pattern:RegExp(\"(^!)(?:\"+i+\"|[<>=()])+\"),lookbehind:!0,inside:e.util.clone(n)},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\\b\\[\\d+\\]/,alias:\"comment\",inside:{punctuation:/\\[|\\]/}},acronym:{pattern:/\\b[A-Z\\d]+\\([^)]+\\)/,inside:{comment:{pattern:/(\\()[^)]+(?=\\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\\b\\((TM|R|C)\\)/,alias:\"comment\",inside:{punctuation:/[()]/}}}}});var t={inline:e.util.clone(e.languages.textile.phrase.inside.inline),link:e.util.clone(e.languages.textile.phrase.inside.link),image:e.util.clone(e.languages.textile.phrase.inside.image),footnote:e.util.clone(e.languages.textile.phrase.inside.footnote),acronym:e.util.clone(e.languages.textile.phrase.inside.acronym),mark:e.util.clone(e.languages.textile.phrase.inside.mark)};e.languages.textile.tag.pattern=/<\\/?(?!\\d)[a-z0-9]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,e.languages.textile.phrase.inside.inline.inside.bold.inside=t,e.languages.textile.phrase.inside.inline.inside.italic.inside=t,e.languages.textile.phrase.inside.inline.inside.inserted.inside=t,e.languages.textile.phrase.inside.inline.inside.deleted.inside=t,e.languages.textile.phrase.inside.inline.inside.span.inside=t,e.languages.textile.phrase.inside.table.inside.inline=t.inline,e.languages.textile.phrase.inside.table.inside.link=t.link,e.languages.textile.phrase.inside.table.inside.image=t.image,e.languages.textile.phrase.inside.table.inside.footnote=t.footnote,e.languages.textile.phrase.inside.table.inside.acronym=t.acronym,e.languages.textile.phrase.inside.table.inside.mark=t.mark}(Prism);\nPrism.languages.twig={comment:/\\{#[\\s\\S]*?#\\}/,tag:{pattern:/\\{\\{[\\s\\S]*?\\}\\}|\\{%[\\s\\S]*?%\\}/,inside:{ld:{pattern:/^(?:\\{\\{\\-?|\\{%\\-?\\s*\\w+)/,inside:{punctuation:/^(?:\\{\\{|\\{%)\\-?/,keyword:/\\w+/}},rd:{pattern:/\\-?(?:%\\}|\\}\\})$/,inside:{punctuation:/.*/}},string:{pattern:/(\"|')(?:\\\\?.)*?\\1/,inside:{punctuation:/^['\"]|['\"]$/}},keyword:/\\b(?:even|if|odd)\\b/,\"boolean\":/\\b(?:true|false|null)\\b/,number:/\\b-?(?:0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee][-+]?\\d+)?)\\b/,operator:[{pattern:/(\\s)(?:and|b\\-and|b\\-xor|b\\-or|ends with|in|is|matches|not|or|same as|starts with)(?=\\s)/,lookbehind:!0},/[=<>]=?|!=|\\*\\*?|\\/\\/?|\\?:?|[-+~%|]/],property:/\\b[a-zA-Z_][a-zA-Z0-9_]*\\b/,punctuation:/[()\\[\\]{}:.,]/}},other:{pattern:/\\S(?:[\\s\\S]*\\S)?/,inside:Prism.languages.markup}};\nPrism.languages.typescript=Prism.languages.extend(\"javascript\",{keyword:/\\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield|false|true|module|declare|constructor|string|Function|any|number|boolean|Array|enum|symbol|namespace|abstract|require|type)\\b/}),Prism.languages.ts=Prism.languages.typescript;\nPrism.languages.vbnet=Prism.languages.extend(\"basic\",{keyword:/(?:\\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDEC|CDBL|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEFAULT|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LINE INPUT|LET|LIB|LIKE|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPERATOR|OPEN|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHORT|SINGLE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SYNCLOCK|SWAP|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\\$|\\b)/i,comment:[{pattern:/(?:!|REM\\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\\\:])'.*/,lookbehind:!0}]});\nPrism.languages.verilog={comment:/\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\//,string:{pattern:/\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"/,greedy:!0},property:/\\B\\$\\w+\\b/,constant:/\\B`\\w+\\b/,\"function\":/[a-z\\d_]+(?=\\()/i,keyword:/\\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|class|case|casex|casez|cell|chandle|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endspecify|endsequence|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_onevent|pulsestyle_ondetect|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\\b/,important:/\\b(?:always_latch|always_comb|always_ff|always)\\b ?@?/,number:/\\B##?\\d+|(?:\\b\\d+)?'[odbh] ?[\\da-fzx_?]+|\\b\\d*[._]?\\d+(?:e[-+]?\\d+)?/i,operator:/[-+{}^~%*\\/?=!<>&|]+/,punctuation:/[[\\];(),.:]/};\nPrism.languages.vhdl={comment:/--.+/,\"vhdl-vectors\":{pattern:/\\b[oxb]\"[\\da-f_]+\"|\"[01uxzwlh-]+\"/i,alias:\"number\"},\"quoted-function\":{pattern:/\"\\S+?\"(?=\\()/,alias:\"function\"},string:/\"(?:[^\\\\\\r\\n]|\\\\?(?:\\r\\n|[\\s\\S]))*?\"/,constant:/\\b(?:use|library)\\b/i,keyword:/\\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\\b/i,\"boolean\":/\\b(?:true|false)\\b/i,\"function\":/[a-z0-9_]+(?=\\()/i,number:/'[01uxzwlh-]'|\\b(?:\\d+#[\\da-f_.]+#|\\d[\\d_.]*)(?:e[-+]?\\d+)?/i,operator:/[<>]=?|:=|[-+*\\/&=]|\\b(?:abs|not|mod|rem|sll|srl|sla|sra|rol|ror|and|or|nand|xnor|xor|nor)\\b/i,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.vim={string:/\"(?:[^\"\\\\\\r\\n]|\\\\.)*\"|'(?:[^'\\r\\n]|'')*'/,comment:/\".*/,\"function\":/\\w+(?=\\()/,keyword:/\\b(?:ab|abbreviate|abc|abclear|abo|aboveleft|al|all|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|ar|args|argu|argument|as|ascii|bad|badd|ba|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bN|bNext|bo|botright|bp|bprevious|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|br|brewind|bro|browse|bufdo|b|buffer|buffers|bun|bunload|bw|bwipeout|ca|cabbrev|cabc|cabclear|caddb|caddbuffer|cad|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cgetb|cgetbuffer|cgete|cgetexpr|cg|cgetfile|c|change|changes|chd|chdir|che|checkpath|checkt|checktime|cla|clast|cl|clist|clo|close|cmapc|cmapclear|cnew|cnewer|cn|cnext|cN|cNext|cnf|cnfile|cNfcNfile|cnorea|cnoreabbrev|col|colder|colo|colorscheme|comc|comclear|comp|compiler|conf|confirm|con|continue|cope|copen|co|copy|cpf|cpfile|cp|cprevious|cq|cquit|cr|crewind|cuna|cunabbrev|cu|cunmap|cw|cwindow|debugg|debuggreedy|delc|delcommand|d|delete|delf|delfunction|delm|delmarks|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|di|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|earlier|echoe|echoerr|echom|echomsg|echon|e|edit|el|else|elsei|elseif|em|emenu|endfo|endfor|endf|endfunction|endfun|en|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fina|finally|fin|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|folddoc|folddoclosed|foldd|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|ha|hardcopy|h|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iuna|iunabbrev|iu|iunmap|j|join|ju|jumps|k|keepalt|keepj|keepjumps|kee|keepmarks|laddb|laddbuffer|lad|laddexpr|laddf|laddfile|lan|language|la|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|let|left|lefta|leftabove|lex|lexpr|lf|lfile|lfir|lfirst|lgetb|lgetbuffer|lgete|lgetexpr|lg|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|l|list|ll|lla|llast|lli|llist|lmak|lmake|lm|lmap|lmapc|lmapclear|lnew|lnewer|lne|lnext|lN|lNext|lnf|lnfile|lNf|lNfile|ln|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lpf|lpfile|lp|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|mak|make|ma|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkvie|mkview|mkv|mkvimrc|mod|mode|m|move|mzf|mzfile|mz|mzscheme|nbkey|new|n|next|N|Next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|omapc|omapclear|on|only|o|open|opt|options|ou|ounmap|pc|pclose|ped|pedit|pe|perl|perld|perldo|po|pop|popu|popu|popup|pp|ppop|pre|preserve|prev|previous|p|print|P|Print|profd|profdel|prof|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptN|ptNext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|pyf|pyfile|py|python|qa|qall|q|quit|quita|quitall|r|read|rec|recover|redi|redir|red|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|rub|ruby|rubyd|rubydo|rubyf|rubyfile|ru|runtime|rv|rviminfo|sal|sall|san|sandbox|sa|sargument|sav|saveas|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbN|sbNext|sbp|sbprevious|sbr|sbrewind|sb|sbuffer|scripte|scriptencoding|scrip|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sla|slast|sl|sleep|sm|smagic|sm|smap|smapc|smapclear|sme|smenu|sn|snext|sN|sNext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|sor|sort|so|source|spelld|spelldump|spe|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|sp|split|spr|sprevious|sre|srewind|sta|stag|startg|startgreplace|star|startinsert|startr|startreplace|stj|stjump|st|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tab|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabnew|tabn|tabnext|tabN|tabNext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|ta|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tm|tmenu|tn|tnext|tN|tNext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tu|tunmenu|una|unabbreviate|u|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|verb|verbose|ve|version|vert|vertical|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|vi|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|wa|wall|wh|while|winc|wincmd|windo|winp|winpos|win|winsize|wn|wnext|wN|wNext|wp|wprevious|wq|wqa|wqall|w|write|ws|wsverb|wv|wviminfo|X|xa|xall|x|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|XMLent|XMLns|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\\b/,builtin:/\\b(?:autocmd|acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|t_AB|t_AF|t_al|t_AL|t_bc|t_cd|t_ce|t_Ce|t_cl|t_cm|t_Co|t_cs|t_Cs|t_CS|t_CV|t_da|t_db|t_dl|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_fs|t_IE|t_IS|t_k1|t_K1|t_k2|t_k3|t_K3|t_k4|t_K4|t_k5|t_K5|t_k6|t_K6|t_k7|t_K7|t_k8|t_K8|t_k9|t_K9|t_KA|t_kb|t_kB|t_KB|t_KC|t_kd|t_kD|t_KD|t_ke|t_KE|t_KF|t_KG|t_kh|t_KH|t_kI|t_KI|t_KJ|t_KK|t_kl|t_KL|t_kN|t_kP|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_RI|t_RV|t_Sb|t_se|t_Sf|t_SI|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_WP|t_WS|t_xs|t_ZH|t_ZR)\\b/,number:/\\b(?:0x[\\da-f]+|\\d+(?:\\.\\d+)?)\\b/i,operator:/\\|\\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\\/%?]|\\b(?:is(?:not)?)\\b/,punctuation:/[{}[\\](),;:]/};\nPrism.languages.wiki=Prism.languages.extend(\"markup\",{\"block-comment\":{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0,alias:\"comment\"},heading:{pattern:/^(=+).+?\\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\\1/,inside:{\"bold italic\":{pattern:/(''''').+?(?=\\1)/,lookbehind:!0},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:\"punctuation\"},url:[/ISBN +(?:97[89][ -]?)?(?:\\d[ -]?){9}[\\dx]\\b|(?:RFC|PMID) +\\d+/i,/\\[\\[.+?\\]\\]|\\[.+?\\]/],variable:[/__[A-Z]+__/,/\\{{3}.+?\\}{3}/,/\\{\\{.+?}}/],symbol:[/^#redirect/im,/~{3,5}/],\"table-tag\":{pattern:/((?:^|[|!])[|!])[^|\\r\\n]+\\|(?!\\|)/m,lookbehind:!0,inside:{\"table-bar\":{pattern:/\\|$/,alias:\"punctuation\"},rest:Prism.languages.markup.tag.inside}},punctuation:/^(?:\\{\\||\\|\\}|\\|-|[*#:;!|])|\\|\\||!!/m}),Prism.languages.insertBefore(\"wiki\",\"tag\",{nowiki:{pattern:/<(nowiki|pre|source)\\b[\\s\\S]*?>[\\s\\S]*?<\\/\\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\\b[\\s\\S]*?>|<\\/(?:nowiki|pre|source)>/i,inside:Prism.languages.markup.tag.inside}}}});\nPrism.languages.xojo={comment:{pattern:/(?:'|\\/\\/|Rem\\b).+/i,inside:{keyword:/^Rem/i}},string:{pattern:/\"(?:\"\"|[^\"])*\"/,greedy:!0},number:[/(?:\\b|\\B[.-])(?:\\d+\\.?\\d*)(?:E[+-]?\\d+)?/i,/&[bchou][a-z\\d]+/i],symbol:/#(?:If|Else|ElseIf|Endif|Pragma)\\b/i,keyword:/\\b(?:AddHandler|App|Array|As(?:signs)?|By(?:Ref|Val)|Break|Call|Case|Catch|Const|Continue|CurrentMethodName|Declare|Dim|Do(?:wnTo)?|Each|Else(?:If)?|End|Exit|Extends|False|Finally|For|Global|If|In|Lib|Loop|Me|Next|Nil|Optional|ParamArray|Raise(?:Event)?|ReDim|Rem|RemoveHandler|Return|Select|Self|Soft|Static|Step|Super|Then|To|True|Try|Ubound|Until|Using|Wend|While)\\b/i,operator:/<[=>]?|>=?|[+\\-*\\/\\\\^=]|\\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|Xor|WeakAddressOf)\\b/i,punctuation:/[.,;:()]/};\nPrism.languages.yaml={scalar:{pattern:/([\\-:]\\s*(![^\\s]+)?[ \\t]*[|>])[ \\t]*(?:((?:\\r?\\n|\\r)[ \\t]+)[^\\r\\n]+(?:\\3[^\\r\\n]+)*)/,lookbehind:!0,alias:\"string\"},comment:/#.*/,key:{pattern:/(\\s*(?:^|[:\\-,[{\\r\\n?])[ \\t]*(![^\\s]+)?[ \\t]*)[^\\r\\n{[\\]},#\\s]+?(?=\\s*:\\s)/,lookbehind:!0,alias:\"atrule\"},directive:{pattern:/(^[ \\t]*)%.+/m,lookbehind:!0,alias:\"important\"},datetime:{pattern:/([:\\-,[{]\\s*(![^\\s]+)?[ \\t]*)(\\d{4}-\\d\\d?-\\d\\d?([tT]|[ \\t]+)\\d\\d?:\\d{2}:\\d{2}(\\.\\d*)?[ \\t]*(Z|[-+]\\d\\d?(:\\d{2})?)?|\\d{4}-\\d{2}-\\d{2}|\\d\\d?:\\d{2}(:\\d{2}(\\.\\d*)?)?)(?=[ \\t]*($|,|]|}))/m,lookbehind:!0,alias:\"number\"},\"boolean\":{pattern:/([:\\-,[{]\\s*(![^\\s]+)?[ \\t]*)(true|false)[ \\t]*(?=$|,|]|})/im,lookbehind:!0,alias:\"important\"},\"null\":{pattern:/([:\\-,[{]\\s*(![^\\s]+)?[ \\t]*)(null|~)[ \\t]*(?=$|,|]|})/im,lookbehind:!0,alias:\"important\"},string:{pattern:/([:\\-,[{]\\s*(![^\\s]+)?[ \\t]*)(\"(?:[^\"\\\\]|\\\\.)*\"|'(?:[^'\\\\]|\\\\.)*')(?=[ \\t]*($|,|]|}))/m,lookbehind:!0,greedy:!0},number:{pattern:/([:\\-,[{]\\s*(![^\\s]+)?[ \\t]*)[+\\-]?(0x[\\da-f]+|0o[0-7]+|(\\d+\\.?\\d*|\\.?\\d+)(e[\\+\\-]?\\d+)?|\\.inf|\\.nan)[ \\t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\\s]+/,important:/[&*][\\w]+/,punctuation:/---|[:[\\]{}\\-,|>?]|\\.\\.\\./};\n"
  },
  {
    "path": "src/main/resources/static/lib/tocbot/tocbot.css",
    "content": ".toc {\n    overflow-y: auto\n}\n\n.toc > ul {\n    overflow: hidden;\n    position: relative\n}\n\n.toc > ul li {\n    list-style: none\n}\n\n.toc-list {\n    list-style-type: none;\n    margin: 0;\n    padding-left: 10px\n}\n\n.toc-list li a {\n    display: block;\n    padding: 4px 0;\n    font-weight: 300;\n}\n.toc-list li a:hover {\n    color: #00B5AD;\n}\n\na.toc-link {\n    color: currentColor;\n    height: 100%\n}\n\n.is-collapsible {\n    max-height: 1000px;\n    overflow: hidden;\n    transition: all 300ms ease-in-out\n}\n\n.is-collapsed {\n    max-height: 0\n}\n\n.is-position-fixed {\n    position: fixed !important;\n    top: 0\n}\n\n.is-active-link {\n    font-weight: 700;\n    color: #00B5AD !important;\n}\n\n.toc-link::before {\n    /*background-color: #EEE;*/\n    content: ' ';\n    display: inline-block;\n    height: 20px;\n    left: 0;\n    margin-top: -1px;\n    position: absolute;\n    width: 2px\n}\n\n.is-active-link::before {\n    background-color: #54BC4B\n}\n"
  },
  {
    "path": "src/main/resources/static/lib/tocbot/tocbot.js",
    "content": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 5);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/* unknown exports provided */\n/* all exports used */\n/*!***********************************!*\\\n  !*** (webpack)/buildin/global.js ***!\n  \\***********************************/\n/***/ (function(module, exports) {\n\neval(\"var g;\\r\\n\\r\\n// This works in non-strict mode\\r\\ng = (function() {\\r\\n\\treturn this;\\r\\n})();\\r\\n\\r\\ntry {\\r\\n\\t// This works if eval is allowed (see CSP)\\r\\n\\tg = g || Function(\\\"return this\\\")() || (1,eval)(\\\"this\\\");\\r\\n} catch(e) {\\r\\n\\t// This works if the window reference is available\\r\\n\\tif(typeof window === \\\"object\\\")\\r\\n\\t\\tg = window;\\r\\n}\\r\\n\\r\\n// g can still be undefined, but nothing to do about it...\\r\\n// We return undefined, instead of nothing here, so it's\\r\\n// easier to handle this case. if(!global) { ...}\\r\\n\\r\\nmodule.exports = g;\\r\\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8od2VicGFjaykvYnVpbGRpbi9nbG9iYWwuanM/MzY5OCJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgZztcclxuXHJcbi8vIFRoaXMgd29ya3MgaW4gbm9uLXN0cmljdCBtb2RlXHJcbmcgPSAoZnVuY3Rpb24oKSB7XHJcblx0cmV0dXJuIHRoaXM7XHJcbn0pKCk7XHJcblxyXG50cnkge1xyXG5cdC8vIFRoaXMgd29ya3MgaWYgZXZhbCBpcyBhbGxvd2VkIChzZWUgQ1NQKVxyXG5cdGcgPSBnIHx8IEZ1bmN0aW9uKFwicmV0dXJuIHRoaXNcIikoKSB8fCAoMSxldmFsKShcInRoaXNcIik7XHJcbn0gY2F0Y2goZSkge1xyXG5cdC8vIFRoaXMgd29ya3MgaWYgdGhlIHdpbmRvdyByZWZlcmVuY2UgaXMgYXZhaWxhYmxlXHJcblx0aWYodHlwZW9mIHdpbmRvdyA9PT0gXCJvYmplY3RcIilcclxuXHRcdGcgPSB3aW5kb3c7XHJcbn1cclxuXHJcbi8vIGcgY2FuIHN0aWxsIGJlIHVuZGVmaW5lZCwgYnV0IG5vdGhpbmcgdG8gZG8gYWJvdXQgaXQuLi5cclxuLy8gV2UgcmV0dXJuIHVuZGVmaW5lZCwgaW5zdGVhZCBvZiBub3RoaW5nIGhlcmUsIHNvIGl0J3NcclxuLy8gZWFzaWVyIHRvIGhhbmRsZSB0aGlzIGNhc2UuIGlmKCFnbG9iYWwpIHsgLi4ufVxyXG5cclxubW9kdWxlLmV4cG9ydHMgPSBnO1xyXG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAod2VicGFjaykvYnVpbGRpbi9nbG9iYWwuanNcbi8vIG1vZHVsZSBpZCA9IDBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\");\n\n/***/ }),\n/* 1 */\n/* unknown exports provided */\n/* all exports used */\n/*!**********************************!*\\\n  !*** ./~/zenscroll/zenscroll.js ***!\n  \\**********************************/\n/***/ (function(module, exports, __webpack_require__) {\n\neval(\"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\\n * Zenscroll 4.0.0\\n * https://github.com/zengabor/zenscroll/\\n *\\n * Copyright 2015–2017 Gabor Lenard\\n *\\n * This is free and unencumbered software released into the public domain.\\n * \\n * Anyone is free to copy, modify, publish, use, compile, sell, or\\n * distribute this software, either in source code form or as a compiled\\n * binary, for any purpose, commercial or non-commercial, and by any\\n * means.\\n * \\n * In jurisdictions that recognize copyright laws, the author or authors\\n * of this software dedicate any and all copyright interest in the\\n * software to the public domain. We make this dedication for the benefit\\n * of the public at large and to the detriment of our heirs and\\n * successors. We intend this dedication to be an overt act of\\n * relinquishment in perpetuity of all present and future rights to this\\n * software under copyright law.\\n * \\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND,\\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\\n * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\\n * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\\n * OTHER DEALINGS IN THE SOFTWARE.\\n * \\n * For more information, please refer to <http://unlicense.org>\\n * \\n */\\n\\n/*jshint devel:true, asi:true */\\n\\n/*global define, module */\\n\\n\\n(function (root, factory) {\\n\\tif (true) {\\n\\t\\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory()),\\n\\t\\t\\t\\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\\n\\t\\t\\t\\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\\n\\t\\t\\t\\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))\\n\\t} else if (typeof module === \\\"object\\\" && module.exports) {\\n\\t\\tmodule.exports = factory()\\n\\t} else {\\n\\t\\t(function install() {\\n\\t\\t\\t// To make sure Zenscroll can be referenced from the header, before `body` is available\\n\\t\\t\\tif (document && document.body) {\\n\\t\\t\\t\\troot.zenscroll = factory()\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// retry 9ms later\\n\\t\\t\\t\\tsetTimeout(install, 9)\\n\\t\\t\\t}\\n\\t\\t})()\\n\\t}\\n}(this, function () {\\n\\t\\\"use strict\\\"\\n\\n\\n\\t// Detect if the browser already supports native smooth scrolling (e.g., Firefox 36+ and Chrome 49+) and it is enabled:\\n\\tvar isNativeSmoothScrollEnabledOn = function (elem) {\\n\\t\\treturn (\\\"getComputedStyle\\\" in window) &&\\n\\t\\t\\twindow.getComputedStyle(elem)[\\\"scroll-behavior\\\"] === \\\"smooth\\\"\\n\\t}\\n\\n\\n\\t// Exit if it’s not a browser environment:\\n\\tif (typeof window === \\\"undefined\\\" || !(\\\"document\\\" in window)) {\\n\\t\\treturn {}\\n\\t}\\n\\n\\n\\tvar makeScroller = function (container, defaultDuration, edgeOffset) {\\n\\n\\t\\t// Use defaults if not provided\\n\\t\\tdefaultDuration = defaultDuration || 999 //ms\\n\\t\\tif (!edgeOffset && edgeOffset !== 0) {\\n\\t\\t\\t// When scrolling, this amount of distance is kept from the edges of the container:\\n\\t\\t\\tedgeOffset = 9 //px\\n\\t\\t}\\n\\n\\t\\t// Handling the life-cycle of the scroller\\n\\t\\tvar scrollTimeoutId\\n\\t\\tvar setScrollTimeoutId = function (newValue) {\\n\\t\\t\\tscrollTimeoutId = newValue\\n\\t\\t}\\n\\n\\t\\t/**\\n\\t\\t * Stop the current smooth scroll operation immediately\\n\\t\\t */\\n\\t\\tvar stopScroll = function () {\\n\\t\\t\\tclearTimeout(scrollTimeoutId)\\n\\t\\t\\tsetScrollTimeoutId(0)\\n\\t\\t}\\n\\n\\t\\tvar getTopWithEdgeOffset = function (elem) {\\n\\t\\t\\treturn Math.max(0, container.getTopOf(elem) - edgeOffset)\\n\\t\\t}\\n\\n\\t\\t/**\\n\\t\\t * Scrolls to a specific vertical position in the document.\\n\\t\\t *\\n\\t\\t * @param {targetY} The vertical position within the document.\\n\\t\\t * @param {duration} Optionally the duration of the scroll operation.\\n\\t\\t *        If not provided the default duration is used.\\n\\t\\t * @param {onDone} An optional callback function to be invoked once the scroll finished.\\n\\t\\t */\\n\\t\\tvar scrollToY = function (targetY, duration, onDone) {\\n\\t\\t\\tstopScroll()\\n\\t\\t\\tif (duration === 0 || (duration && duration < 0) || isNativeSmoothScrollEnabledOn(container.body)) {\\n\\t\\t\\t\\tcontainer.toY(targetY)\\n\\t\\t\\t\\tif (onDone) {\\n\\t\\t\\t\\t\\tonDone()\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar startY = container.getY()\\n\\t\\t\\t\\tvar distance = Math.max(0, targetY) - startY\\n\\t\\t\\t\\tvar startTime = new Date().getTime()\\n\\t\\t\\t\\tduration = duration || Math.min(Math.abs(distance), defaultDuration);\\n\\t\\t\\t\\t(function loopScroll() {\\n\\t\\t\\t\\t\\tsetScrollTimeoutId(setTimeout(function () {\\n\\t\\t\\t\\t\\t\\t// Calculate percentage:\\n\\t\\t\\t\\t\\t\\tvar p = Math.min(1, (new Date().getTime() - startTime) / duration)\\n\\t\\t\\t\\t\\t\\t// Calculate the absolute vertical position:\\n\\t\\t\\t\\t\\t\\tvar y = Math.max(0, Math.floor(startY + distance*(p < 0.5 ? 2*p*p : p*(4 - p*2)-1)))\\n\\t\\t\\t\\t\\t\\tcontainer.toY(y)\\n\\t\\t\\t\\t\\t\\tif (p < 1 && (container.getHeight() + y) < container.body.scrollHeight) {\\n\\t\\t\\t\\t\\t\\t\\tloopScroll()\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\tsetTimeout(stopScroll, 99) // with cooldown time\\n\\t\\t\\t\\t\\t\\t\\tif (onDone) {\\n\\t\\t\\t\\t\\t\\t\\t\\tonDone()\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}, 9))\\n\\t\\t\\t\\t})()\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t/**\\n\\t\\t * Scrolls to the top of a specific element.\\n\\t\\t *\\n\\t\\t * @param {elem} The element to scroll to.\\n\\t\\t * @param {duration} Optionally the duration of the scroll operation.\\n\\t\\t * @param {onDone} An optional callback function to be invoked once the scroll finished.\\n\\t\\t */\\n\\t\\tvar scrollToElem = function (elem, duration, onDone) {\\n\\t\\t\\tscrollToY(getTopWithEdgeOffset(elem), duration, onDone)\\n\\t\\t}\\n\\n\\t\\t/**\\n\\t\\t * Scrolls an element into view if necessary.\\n\\t\\t *\\n\\t\\t * @param {elem} The element.\\n\\t\\t * @param {duration} Optionally the duration of the scroll operation.\\n\\t\\t * @param {onDone} An optional callback function to be invoked once the scroll finished.\\n\\t\\t */\\n\\t\\tvar scrollIntoView = function (elem, duration, onDone) {\\n\\t\\t\\tvar elemHeight = elem.getBoundingClientRect().height\\n\\t\\t\\tvar elemBottom = container.getTopOf(elem) + elemHeight\\n\\t\\t\\tvar containerHeight = container.getHeight()\\n\\t\\t\\tvar y = container.getY()\\n\\t\\t\\tvar containerBottom = y + containerHeight\\n\\t\\t\\tif (getTopWithEdgeOffset(elem) < y || (elemHeight + edgeOffset) > containerHeight) {\\n\\t\\t\\t\\t// Element is clipped at top or is higher than screen.\\n\\t\\t\\t\\tscrollToElem(elem, duration, onDone)\\n\\t\\t\\t} else if ((elemBottom + edgeOffset) > containerBottom) {\\n\\t\\t\\t\\t// Element is clipped at the bottom.\\n\\t\\t\\t\\tscrollToY(elemBottom - containerHeight + edgeOffset, duration, onDone)\\n\\t\\t\\t} else if (onDone) {\\n\\t\\t\\t\\tonDone()\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t/**\\n\\t\\t * Scrolls to the center of an element.\\n\\t\\t *\\n\\t\\t * @param {elem} The element.\\n\\t\\t * @param {duration} Optionally the duration of the scroll operation.\\n\\t\\t * @param {offset} Optionally the offset of the top of the element from the center of the screen.\\n\\t\\t * @param {onDone} An optional callback function to be invoked once the scroll finished.\\n\\t\\t */\\n\\t\\tvar scrollToCenterOf = function (elem, duration, offset, onDone) {\\n\\t\\t\\tscrollToY(Math.max(0, container.getTopOf(elem) - container.getHeight()/2 + (offset || elem.getBoundingClientRect().height/2)), duration, onDone)\\n\\t\\t}\\n\\n\\t\\t/**\\n\\t\\t * Changes default settings for this scroller.\\n\\t\\t *\\n\\t\\t * @param {newDefaultDuration} Optionally a new value for default duration, used for each scroll method by default.\\n\\t\\t *        Ignored if null or undefined.\\n\\t\\t * @param {newEdgeOffset} Optionally a new value for the edge offset, used by each scroll method by default. Ignored if null or undefined.\\n\\t\\t * @returns An object with the current values.\\n\\t\\t */\\n\\t\\tvar setup = function (newDefaultDuration, newEdgeOffset) {\\n\\t\\t\\tif (newDefaultDuration === 0 || newDefaultDuration) {\\n\\t\\t\\t\\tdefaultDuration = newDefaultDuration\\n\\t\\t\\t}\\n\\t\\t\\tif (newEdgeOffset === 0 || newEdgeOffset) {\\n\\t\\t\\t\\tedgeOffset = newEdgeOffset\\n\\t\\t\\t}\\n\\t\\t\\treturn {\\n\\t\\t\\t\\tdefaultDuration: defaultDuration,\\n\\t\\t\\t\\tedgeOffset: edgeOffset\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\treturn {\\n\\t\\t\\tsetup: setup,\\n\\t\\t\\tto: scrollToElem,\\n\\t\\t\\ttoY: scrollToY,\\n\\t\\t\\tintoView: scrollIntoView,\\n\\t\\t\\tcenter: scrollToCenterOf,\\n\\t\\t\\tstop: stopScroll,\\n\\t\\t\\tmoving: function () { return !!scrollTimeoutId },\\n\\t\\t\\tgetY: container.getY,\\n\\t\\t\\tgetTopOf: container.getTopOf\\n\\t\\t}\\n\\n\\t}\\n\\n\\n\\tvar docElem = document.documentElement\\n\\tvar getDocY = function () { return window.scrollY || docElem.scrollTop }\\n\\n\\t// Create a scroller for the document:\\n\\tvar zenscroll = makeScroller({\\n\\t\\tbody: document.scrollingElement || document.body,\\n\\t\\ttoY: function (y) { window.scrollTo(0, y) },\\n\\t\\tgetY: getDocY,\\n\\t\\tgetHeight: function () { return window.innerHeight || docElem.clientHeight },\\n\\t\\tgetTopOf: function (elem) { return elem.getBoundingClientRect().top + getDocY() - docElem.offsetTop }\\n\\t})\\n\\n\\n\\t/**\\n\\t * Creates a scroller from the provided container element (e.g., a DIV)\\n\\t *\\n\\t * @param {scrollContainer} The vertical position within the document.\\n\\t * @param {defaultDuration} Optionally a value for default duration, used for each scroll method by default.\\n\\t *        Ignored if 0 or null or undefined.\\n\\t * @param {edgeOffset} Optionally a value for the edge offset, used by each scroll method by default. \\n\\t *        Ignored if null or undefined.\\n\\t * @returns A scroller object, similar to `zenscroll` but controlling the provided element.\\n\\t */\\n\\tzenscroll.createScroller = function (scrollContainer, defaultDuration, edgeOffset) {\\n\\t\\treturn makeScroller({\\n\\t\\t\\tbody: scrollContainer,\\n\\t\\t\\ttoY: function (y) { scrollContainer.scrollTop = y },\\n\\t\\t\\tgetY: function () { return scrollContainer.scrollTop },\\n\\t\\t\\tgetHeight: function () { return Math.min(scrollContainer.clientHeight, window.innerHeight || docElem.clientHeight) },\\n\\t\\t\\tgetTopOf: function (elem) { return elem.offsetTop }\\n\\t\\t}, defaultDuration, edgeOffset)\\n\\t}\\n\\n\\n\\t// Automatic link-smoothing on achors\\n\\t// Exclude IE8- or when native is enabled or Zenscroll auto- is disabled\\n\\tif (\\\"addEventListener\\\" in window && !window.noZensmooth && !isNativeSmoothScrollEnabledOn(document.body)) {\\n\\n\\n\\t\\tvar isScrollRestorationSupported = \\\"scrollRestoration\\\" in history\\n\\n\\t\\t// On first load & refresh make sure the browser restores the position first\\n\\t\\tif (isScrollRestorationSupported) {\\n\\t\\t\\thistory.scrollRestoration = \\\"auto\\\"\\n\\t\\t}\\n\\n\\t\\twindow.addEventListener(\\\"load\\\", function () {\\n\\n\\t\\t\\tif (isScrollRestorationSupported) {\\n\\t\\t\\t\\t// Set it to manual\\n\\t\\t\\t\\tsetTimeout(function () { history.scrollRestoration = \\\"manual\\\" }, 9)\\n\\t\\t\\t\\twindow.addEventListener(\\\"popstate\\\", function (event) {\\n\\t\\t\\t\\t\\tif (event.state && \\\"zenscrollY\\\" in event.state) {\\n\\t\\t\\t\\t\\t\\tzenscroll.toY(event.state.zenscrollY)\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}, false)\\n\\t\\t\\t}\\n\\n\\t\\t\\t// Add edge offset on first load if necessary\\n\\t\\t\\t// This may not work on IE (or older computer?) as it requires more timeout, around 100 ms\\n\\t\\t\\tif (window.location.hash) {\\n\\t\\t\\t\\tsetTimeout(function () {\\n\\t\\t\\t\\t\\t// Adjustment is only needed if there is an edge offset:\\n\\t\\t\\t\\t\\tvar edgeOffset = zenscroll.setup().edgeOffset\\n\\t\\t\\t\\t\\tif (edgeOffset) {\\n\\t\\t\\t\\t\\t\\tvar targetElem = document.getElementById(window.location.href.split(\\\"#\\\")[1])\\n\\t\\t\\t\\t\\t\\tif (targetElem) {\\n\\t\\t\\t\\t\\t\\t\\tvar targetY = Math.max(0, zenscroll.getTopOf(targetElem) - edgeOffset)\\n\\t\\t\\t\\t\\t\\t\\tvar diff = zenscroll.getY() - targetY\\n\\t\\t\\t\\t\\t\\t\\t// Only do the adjustment if the browser is very close to the element:\\n\\t\\t\\t\\t\\t\\t\\tif (0 <= diff && diff < 9 ) {\\n\\t\\t\\t\\t\\t\\t\\t\\twindow.scrollTo(0, targetY)\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}, 9)\\n\\t\\t\\t}\\n\\n\\t\\t}, false)\\n\\n\\t\\t// Handling clicks on anchors\\n\\t\\tvar RE_noZensmooth = new RegExp(\\\"(^|\\\\\\\\s)noZensmooth(\\\\\\\\s|$)\\\")\\n\\t\\twindow.addEventListener(\\\"click\\\", function (event) {\\n\\t\\t\\tvar anchor = event.target\\n\\t\\t\\twhile (anchor && anchor.tagName !== \\\"A\\\") {\\n\\t\\t\\t\\tanchor = anchor.parentNode\\n\\t\\t\\t}\\n\\t\\t\\t// Let the browser handle the click if it wasn't with the primary button, or with some modifier keys:\\n\\t\\t\\tif (!anchor || event.which !== 1 || event.shiftKey || event.metaKey || event.ctrlKey || event.altKey) {\\n\\t\\t\\t\\treturn\\n\\t\\t\\t}\\n\\t\\t\\t// Save the current scrolling position so it can be used for scroll restoration:\\n\\t\\t\\tif (isScrollRestorationSupported) {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\thistory.replaceState({ zenscrollY: zenscroll.getY() }, \\\"\\\")\\n\\t\\t\\t\\t} catch (e) {\\n\\t\\t\\t\\t\\t// Avoid the Chrome Security exception on file protocol, e.g., file://index.html\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Find the referenced ID:\\n\\t\\t\\tvar href = anchor.getAttribute(\\\"href\\\") || \\\"\\\"\\n\\t\\t\\tif (href.indexOf(\\\"#\\\") === 0 && !RE_noZensmooth.test(anchor.className)) {\\n\\t\\t\\t\\tvar targetY = 0\\n\\t\\t\\t\\tvar targetElem = document.getElementById(href.substring(1))\\n\\t\\t\\t\\tif (href !== \\\"#\\\") {\\n\\t\\t\\t\\t\\tif (!targetElem) {\\n\\t\\t\\t\\t\\t\\t// Let the browser handle the click if the target ID is not found.\\n\\t\\t\\t\\t\\t\\treturn\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\ttargetY = zenscroll.getTopOf(targetElem)\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tevent.preventDefault()\\n\\t\\t\\t\\t// By default trigger the browser's `hashchange` event...\\n\\t\\t\\t\\tvar onDone = function () { window.location = href }\\n\\t\\t\\t\\t// ...unless there is an edge offset specified\\n\\t\\t\\t\\tvar edgeOffset = zenscroll.setup().edgeOffset\\n\\t\\t\\t\\tif (edgeOffset) {\\n\\t\\t\\t\\t\\ttargetY = Math.max(0, targetY - edgeOffset)\\n\\t\\t\\t\\t\\tonDone = function () { history.pushState(null, \\\"\\\", href) }\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tzenscroll.toY(targetY, null, onDone)\\n\\t\\t\\t}\\n\\t\\t}, false)\\n\\n\\t}\\n\\n\\n\\treturn zenscroll\\n\\n\\n}));\\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL34vemVuc2Nyb2xsL3plbnNjcm9sbC5qcz8yNzMyIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogWmVuc2Nyb2xsIDQuMC4wXG4gKiBodHRwczovL2dpdGh1Yi5jb20vemVuZ2Fib3IvemVuc2Nyb2xsL1xuICpcbiAqIENvcHlyaWdodCAyMDE14oCTMjAxNyBHYWJvciBMZW5hcmRcbiAqXG4gKiBUaGlzIGlzIGZyZWUgYW5kIHVuZW5jdW1iZXJlZCBzb2Z0d2FyZSByZWxlYXNlZCBpbnRvIHRoZSBwdWJsaWMgZG9tYWluLlxuICogXG4gKiBBbnlvbmUgaXMgZnJlZSB0byBjb3B5LCBtb2RpZnksIHB1Ymxpc2gsIHVzZSwgY29tcGlsZSwgc2VsbCwgb3JcbiAqIGRpc3RyaWJ1dGUgdGhpcyBzb2Z0d2FyZSwgZWl0aGVyIGluIHNvdXJjZSBjb2RlIGZvcm0gb3IgYXMgYSBjb21waWxlZFxuICogYmluYXJ5LCBmb3IgYW55IHB1cnBvc2UsIGNvbW1lcmNpYWwgb3Igbm9uLWNvbW1lcmNpYWwsIGFuZCBieSBhbnlcbiAqIG1lYW5zLlxuICogXG4gKiBJbiBqdXJpc2RpY3Rpb25zIHRoYXQgcmVjb2duaXplIGNvcHlyaWdodCBsYXdzLCB0aGUgYXV0aG9yIG9yIGF1dGhvcnNcbiAqIG9mIHRoaXMgc29mdHdhcmUgZGVkaWNhdGUgYW55IGFuZCBhbGwgY29weXJpZ2h0IGludGVyZXN0IGluIHRoZVxuICogc29mdHdhcmUgdG8gdGhlIHB1YmxpYyBkb21haW4uIFdlIG1ha2UgdGhpcyBkZWRpY2F0aW9uIGZvciB0aGUgYmVuZWZpdFxuICogb2YgdGhlIHB1YmxpYyBhdCBsYXJnZSBhbmQgdG8gdGhlIGRldHJpbWVudCBvZiBvdXIgaGVpcnMgYW5kXG4gKiBzdWNjZXNzb3JzLiBXZSBpbnRlbmQgdGhpcyBkZWRpY2F0aW9uIHRvIGJlIGFuIG92ZXJ0IGFjdCBvZlxuICogcmVsaW5xdWlzaG1lbnQgaW4gcGVycGV0dWl0eSBvZiBhbGwgcHJlc2VudCBhbmQgZnV0dXJlIHJpZ2h0cyB0byB0aGlzXG4gKiBzb2Z0d2FyZSB1bmRlciBjb3B5cmlnaHQgbGF3LlxuICogXG4gKiBUSEUgU09GVFdBUkUgSVMgUFJPVklERUQgXCJBUyBJU1wiLCBXSVRIT1VUIFdBUlJBTlRZIE9GIEFOWSBLSU5ELFxuICogRVhQUkVTUyBPUiBJTVBMSUVELCBJTkNMVURJTkcgQlVUIE5PVCBMSU1JVEVEIFRPIFRIRSBXQVJSQU5USUVTIE9GXG4gKiBNRVJDSEFOVEFCSUxJVFksIEZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFIEFORCBOT05JTkZSSU5HRU1FTlQuXG4gKiBJTiBOTyBFVkVOVCBTSEFMTCBUSEUgQVVUSE9SUyBCRSBMSUFCTEUgRk9SIEFOWSBDTEFJTSwgREFNQUdFUyBPUlxuICogT1RIRVIgTElBQklMSVRZLCBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgVE9SVCBPUiBPVEhFUldJU0UsXG4gKiBBUklTSU5HIEZST00sIE9VVCBPRiBPUiBJTiBDT05ORUNUSU9OIFdJVEggVEhFIFNPRlRXQVJFIE9SIFRIRSBVU0UgT1JcbiAqIE9USEVSIERFQUxJTkdTIElOIFRIRSBTT0ZUV0FSRS5cbiAqIFxuICogRm9yIG1vcmUgaW5mb3JtYXRpb24sIHBsZWFzZSByZWZlciB0byA8aHR0cDovL3VubGljZW5zZS5vcmc+XG4gKiBcbiAqL1xuXG4vKmpzaGludCBkZXZlbDp0cnVlLCBhc2k6dHJ1ZSAqL1xuXG4vKmdsb2JhbCBkZWZpbmUsIG1vZHVsZSAqL1xuXG5cbihmdW5jdGlvbiAocm9vdCwgZmFjdG9yeSkge1xuXHRpZiAodHlwZW9mIGRlZmluZSA9PT0gXCJmdW5jdGlvblwiICYmIGRlZmluZS5hbWQpIHtcblx0XHRkZWZpbmUoW10sIGZhY3RvcnkoKSlcblx0fSBlbHNlIGlmICh0eXBlb2YgbW9kdWxlID09PSBcIm9iamVjdFwiICYmIG1vZHVsZS5leHBvcnRzKSB7XG5cdFx0bW9kdWxlLmV4cG9ydHMgPSBmYWN0b3J5KClcblx0fSBlbHNlIHtcblx0XHQoZnVuY3Rpb24gaW5zdGFsbCgpIHtcblx0XHRcdC8vIFRvIG1ha2Ugc3VyZSBaZW5zY3JvbGwgY2FuIGJlIHJlZmVyZW5jZWQgZnJvbSB0aGUgaGVhZGVyLCBiZWZvcmUgYGJvZHlgIGlzIGF2YWlsYWJsZVxuXHRcdFx0aWYgKGRvY3VtZW50ICYmIGRvY3VtZW50LmJvZHkpIHtcblx0XHRcdFx0cm9vdC56ZW5zY3JvbGwgPSBmYWN0b3J5KClcblx0XHRcdH0gZWxzZSB7XG5cdFx0XHRcdC8vIHJldHJ5IDltcyBsYXRlclxuXHRcdFx0XHRzZXRUaW1lb3V0KGluc3RhbGwsIDkpXG5cdFx0XHR9XG5cdFx0fSkoKVxuXHR9XG59KHRoaXMsIGZ1bmN0aW9uICgpIHtcblx0XCJ1c2Ugc3RyaWN0XCJcblxuXG5cdC8vIERldGVjdCBpZiB0aGUgYnJvd3NlciBhbHJlYWR5IHN1cHBvcnRzIG5hdGl2ZSBzbW9vdGggc2Nyb2xsaW5nIChlLmcuLCBGaXJlZm94IDM2KyBhbmQgQ2hyb21lIDQ5KykgYW5kIGl0IGlzIGVuYWJsZWQ6XG5cdHZhciBpc05hdGl2ZVNtb290aFNjcm9sbEVuYWJsZWRPbiA9IGZ1bmN0aW9uIChlbGVtKSB7XG5cdFx0cmV0dXJuIChcImdldENvbXB1dGVkU3R5bGVcIiBpbiB3aW5kb3cpICYmXG5cdFx0XHR3aW5kb3cuZ2V0Q29tcHV0ZWRTdHlsZShlbGVtKVtcInNjcm9sbC1iZWhhdmlvclwiXSA9PT0gXCJzbW9vdGhcIlxuXHR9XG5cblxuXHQvLyBFeGl0IGlmIGl04oCZcyBub3QgYSBicm93c2VyIGVudmlyb25tZW50OlxuXHRpZiAodHlwZW9mIHdpbmRvdyA9PT0gXCJ1bmRlZmluZWRcIiB8fCAhKFwiZG9jdW1lbnRcIiBpbiB3aW5kb3cpKSB7XG5cdFx0cmV0dXJuIHt9XG5cdH1cblxuXG5cdHZhciBtYWtlU2Nyb2xsZXIgPSBmdW5jdGlvbiAoY29udGFpbmVyLCBkZWZhdWx0RHVyYXRpb24sIGVkZ2VPZmZzZXQpIHtcblxuXHRcdC8vIFVzZSBkZWZhdWx0cyBpZiBub3QgcHJvdmlkZWRcblx0XHRkZWZhdWx0RHVyYXRpb24gPSBkZWZhdWx0RHVyYXRpb24gfHwgOTk5IC8vbXNcblx0XHRpZiAoIWVkZ2VPZmZzZXQgJiYgZWRnZU9mZnNldCAhPT0gMCkge1xuXHRcdFx0Ly8gV2hlbiBzY3JvbGxpbmcsIHRoaXMgYW1vdW50IG9mIGRpc3RhbmNlIGlzIGtlcHQgZnJvbSB0aGUgZWRnZXMgb2YgdGhlIGNvbnRhaW5lcjpcblx0XHRcdGVkZ2VPZmZzZXQgPSA5IC8vcHhcblx0XHR9XG5cblx0XHQvLyBIYW5kbGluZyB0aGUgbGlmZS1jeWNsZSBvZiB0aGUgc2Nyb2xsZXJcblx0XHR2YXIgc2Nyb2xsVGltZW91dElkXG5cdFx0dmFyIHNldFNjcm9sbFRpbWVvdXRJZCA9IGZ1bmN0aW9uIChuZXdWYWx1ZSkge1xuXHRcdFx0c2Nyb2xsVGltZW91dElkID0gbmV3VmFsdWVcblx0XHR9XG5cblx0XHQvKipcblx0XHQgKiBTdG9wIHRoZSBjdXJyZW50IHNtb290aCBzY3JvbGwgb3BlcmF0aW9uIGltbWVkaWF0ZWx5XG5cdFx0ICovXG5cdFx0dmFyIHN0b3BTY3JvbGwgPSBmdW5jdGlvbiAoKSB7XG5cdFx0XHRjbGVhclRpbWVvdXQoc2Nyb2xsVGltZW91dElkKVxuXHRcdFx0c2V0U2Nyb2xsVGltZW91dElkKDApXG5cdFx0fVxuXG5cdFx0dmFyIGdldFRvcFdpdGhFZGdlT2Zmc2V0ID0gZnVuY3Rpb24gKGVsZW0pIHtcblx0XHRcdHJldHVybiBNYXRoLm1heCgwLCBjb250YWluZXIuZ2V0VG9wT2YoZWxlbSkgLSBlZGdlT2Zmc2V0KVxuXHRcdH1cblxuXHRcdC8qKlxuXHRcdCAqIFNjcm9sbHMgdG8gYSBzcGVjaWZpYyB2ZXJ0aWNhbCBwb3NpdGlvbiBpbiB0aGUgZG9jdW1lbnQuXG5cdFx0ICpcblx0XHQgKiBAcGFyYW0ge3RhcmdldFl9IFRoZSB2ZXJ0aWNhbCBwb3NpdGlvbiB3aXRoaW4gdGhlIGRvY3VtZW50LlxuXHRcdCAqIEBwYXJhbSB7ZHVyYXRpb259IE9wdGlvbmFsbHkgdGhlIGR1cmF0aW9uIG9mIHRoZSBzY3JvbGwgb3BlcmF0aW9uLlxuXHRcdCAqICAgICAgICBJZiBub3QgcHJvdmlkZWQgdGhlIGRlZmF1bHQgZHVyYXRpb24gaXMgdXNlZC5cblx0XHQgKiBAcGFyYW0ge29uRG9uZX0gQW4gb3B0aW9uYWwgY2FsbGJhY2sgZnVuY3Rpb24gdG8gYmUgaW52b2tlZCBvbmNlIHRoZSBzY3JvbGwgZmluaXNoZWQuXG5cdFx0ICovXG5cdFx0dmFyIHNjcm9sbFRvWSA9IGZ1bmN0aW9uICh0YXJnZXRZLCBkdXJhdGlvbiwgb25Eb25lKSB7XG5cdFx0XHRzdG9wU2Nyb2xsKClcblx0XHRcdGlmIChkdXJhdGlvbiA9PT0gMCB8fCAoZHVyYXRpb24gJiYgZHVyYXRpb24gPCAwKSB8fCBpc05hdGl2ZVNtb290aFNjcm9sbEVuYWJsZWRPbihjb250YWluZXIuYm9keSkpIHtcblx0XHRcdFx0Y29udGFpbmVyLnRvWSh0YXJnZXRZKVxuXHRcdFx0XHRpZiAob25Eb25lKSB7XG5cdFx0XHRcdFx0b25Eb25lKClcblx0XHRcdFx0fVxuXHRcdFx0fSBlbHNlIHtcblx0XHRcdFx0dmFyIHN0YXJ0WSA9IGNvbnRhaW5lci5nZXRZKClcblx0XHRcdFx0dmFyIGRpc3RhbmNlID0gTWF0aC5tYXgoMCwgdGFyZ2V0WSkgLSBzdGFydFlcblx0XHRcdFx0dmFyIHN0YXJ0VGltZSA9IG5ldyBEYXRlKCkuZ2V0VGltZSgpXG5cdFx0XHRcdGR1cmF0aW9uID0gZHVyYXRpb24gfHwgTWF0aC5taW4oTWF0aC5hYnMoZGlzdGFuY2UpLCBkZWZhdWx0RHVyYXRpb24pO1xuXHRcdFx0XHQoZnVuY3Rpb24gbG9vcFNjcm9sbCgpIHtcblx0XHRcdFx0XHRzZXRTY3JvbGxUaW1lb3V0SWQoc2V0VGltZW91dChmdW5jdGlvbiAoKSB7XG5cdFx0XHRcdFx0XHQvLyBDYWxjdWxhdGUgcGVyY2VudGFnZTpcblx0XHRcdFx0XHRcdHZhciBwID0gTWF0aC5taW4oMSwgKG5ldyBEYXRlKCkuZ2V0VGltZSgpIC0gc3RhcnRUaW1lKSAvIGR1cmF0aW9uKVxuXHRcdFx0XHRcdFx0Ly8gQ2FsY3VsYXRlIHRoZSBhYnNvbHV0ZSB2ZXJ0aWNhbCBwb3NpdGlvbjpcblx0XHRcdFx0XHRcdHZhciB5ID0gTWF0aC5tYXgoMCwgTWF0aC5mbG9vcihzdGFydFkgKyBkaXN0YW5jZSoocCA8IDAuNSA/IDIqcCpwIDogcCooNCAtIHAqMiktMSkpKVxuXHRcdFx0XHRcdFx0Y29udGFpbmVyLnRvWSh5KVxuXHRcdFx0XHRcdFx0aWYgKHAgPCAxICYmIChjb250YWluZXIuZ2V0SGVpZ2h0KCkgKyB5KSA8IGNvbnRhaW5lci5ib2R5LnNjcm9sbEhlaWdodCkge1xuXHRcdFx0XHRcdFx0XHRsb29wU2Nyb2xsKClcblx0XHRcdFx0XHRcdH0gZWxzZSB7XG5cdFx0XHRcdFx0XHRcdHNldFRpbWVvdXQoc3RvcFNjcm9sbCwgOTkpIC8vIHdpdGggY29vbGRvd24gdGltZVxuXHRcdFx0XHRcdFx0XHRpZiAob25Eb25lKSB7XG5cdFx0XHRcdFx0XHRcdFx0b25Eb25lKClcblx0XHRcdFx0XHRcdFx0fVxuXHRcdFx0XHRcdFx0fVxuXHRcdFx0XHRcdH0sIDkpKVxuXHRcdFx0XHR9KSgpXG5cdFx0XHR9XG5cdFx0fVxuXG5cdFx0LyoqXG5cdFx0ICogU2Nyb2xscyB0byB0aGUgdG9wIG9mIGEgc3BlY2lmaWMgZWxlbWVudC5cblx0XHQgKlxuXHRcdCAqIEBwYXJhbSB7ZWxlbX0gVGhlIGVsZW1lbnQgdG8gc2Nyb2xsIHRvLlxuXHRcdCAqIEBwYXJhbSB7ZHVyYXRpb259IE9wdGlvbmFsbHkgdGhlIGR1cmF0aW9uIG9mIHRoZSBzY3JvbGwgb3BlcmF0aW9uLlxuXHRcdCAqIEBwYXJhbSB7b25Eb25lfSBBbiBvcHRpb25hbCBjYWxsYmFjayBmdW5jdGlvbiB0byBiZSBpbnZva2VkIG9uY2UgdGhlIHNjcm9sbCBmaW5pc2hlZC5cblx0XHQgKi9cblx0XHR2YXIgc2Nyb2xsVG9FbGVtID0gZnVuY3Rpb24gKGVsZW0sIGR1cmF0aW9uLCBvbkRvbmUpIHtcblx0XHRcdHNjcm9sbFRvWShnZXRUb3BXaXRoRWRnZU9mZnNldChlbGVtKSwgZHVyYXRpb24sIG9uRG9uZSlcblx0XHR9XG5cblx0XHQvKipcblx0XHQgKiBTY3JvbGxzIGFuIGVsZW1lbnQgaW50byB2aWV3IGlmIG5lY2Vzc2FyeS5cblx0XHQgKlxuXHRcdCAqIEBwYXJhbSB7ZWxlbX0gVGhlIGVsZW1lbnQuXG5cdFx0ICogQHBhcmFtIHtkdXJhdGlvbn0gT3B0aW9uYWxseSB0aGUgZHVyYXRpb24gb2YgdGhlIHNjcm9sbCBvcGVyYXRpb24uXG5cdFx0ICogQHBhcmFtIHtvbkRvbmV9IEFuIG9wdGlvbmFsIGNhbGxiYWNrIGZ1bmN0aW9uIHRvIGJlIGludm9rZWQgb25jZSB0aGUgc2Nyb2xsIGZpbmlzaGVkLlxuXHRcdCAqL1xuXHRcdHZhciBzY3JvbGxJbnRvVmlldyA9IGZ1bmN0aW9uIChlbGVtLCBkdXJhdGlvbiwgb25Eb25lKSB7XG5cdFx0XHR2YXIgZWxlbUhlaWdodCA9IGVsZW0uZ2V0Qm91bmRpbmdDbGllbnRSZWN0KCkuaGVpZ2h0XG5cdFx0XHR2YXIgZWxlbUJvdHRvbSA9IGNvbnRhaW5lci5nZXRUb3BPZihlbGVtKSArIGVsZW1IZWlnaHRcblx0XHRcdHZhciBjb250YWluZXJIZWlnaHQgPSBjb250YWluZXIuZ2V0SGVpZ2h0KClcblx0XHRcdHZhciB5ID0gY29udGFpbmVyLmdldFkoKVxuXHRcdFx0dmFyIGNvbnRhaW5lckJvdHRvbSA9IHkgKyBjb250YWluZXJIZWlnaHRcblx0XHRcdGlmIChnZXRUb3BXaXRoRWRnZU9mZnNldChlbGVtKSA8IHkgfHwgKGVsZW1IZWlnaHQgKyBlZGdlT2Zmc2V0KSA+IGNvbnRhaW5lckhlaWdodCkge1xuXHRcdFx0XHQvLyBFbGVtZW50IGlzIGNsaXBwZWQgYXQgdG9wIG9yIGlzIGhpZ2hlciB0aGFuIHNjcmVlbi5cblx0XHRcdFx0c2Nyb2xsVG9FbGVtKGVsZW0sIGR1cmF0aW9uLCBvbkRvbmUpXG5cdFx0XHR9IGVsc2UgaWYgKChlbGVtQm90dG9tICsgZWRnZU9mZnNldCkgPiBjb250YWluZXJCb3R0b20pIHtcblx0XHRcdFx0Ly8gRWxlbWVudCBpcyBjbGlwcGVkIGF0IHRoZSBib3R0b20uXG5cdFx0XHRcdHNjcm9sbFRvWShlbGVtQm90dG9tIC0gY29udGFpbmVySGVpZ2h0ICsgZWRnZU9mZnNldCwgZHVyYXRpb24sIG9uRG9uZSlcblx0XHRcdH0gZWxzZSBpZiAob25Eb25lKSB7XG5cdFx0XHRcdG9uRG9uZSgpXG5cdFx0XHR9XG5cdFx0fVxuXG5cdFx0LyoqXG5cdFx0ICogU2Nyb2xscyB0byB0aGUgY2VudGVyIG9mIGFuIGVsZW1lbnQuXG5cdFx0ICpcblx0XHQgKiBAcGFyYW0ge2VsZW19IFRoZSBlbGVtZW50LlxuXHRcdCAqIEBwYXJhbSB7ZHVyYXRpb259IE9wdGlvbmFsbHkgdGhlIGR1cmF0aW9uIG9mIHRoZSBzY3JvbGwgb3BlcmF0aW9uLlxuXHRcdCAqIEBwYXJhbSB7b2Zmc2V0fSBPcHRpb25hbGx5IHRoZSBvZmZzZXQgb2YgdGhlIHRvcCBvZiB0aGUgZWxlbWVudCBmcm9tIHRoZSBjZW50ZXIgb2YgdGhlIHNjcmVlbi5cblx0XHQgKiBAcGFyYW0ge29uRG9uZX0gQW4gb3B0aW9uYWwgY2FsbGJhY2sgZnVuY3Rpb24gdG8gYmUgaW52b2tlZCBvbmNlIHRoZSBzY3JvbGwgZmluaXNoZWQuXG5cdFx0ICovXG5cdFx0dmFyIHNjcm9sbFRvQ2VudGVyT2YgPSBmdW5jdGlvbiAoZWxlbSwgZHVyYXRpb24sIG9mZnNldCwgb25Eb25lKSB7XG5cdFx0XHRzY3JvbGxUb1koTWF0aC5tYXgoMCwgY29udGFpbmVyLmdldFRvcE9mKGVsZW0pIC0gY29udGFpbmVyLmdldEhlaWdodCgpLzIgKyAob2Zmc2V0IHx8IGVsZW0uZ2V0Qm91bmRpbmdDbGllbnRSZWN0KCkuaGVpZ2h0LzIpKSwgZHVyYXRpb24sIG9uRG9uZSlcblx0XHR9XG5cblx0XHQvKipcblx0XHQgKiBDaGFuZ2VzIGRlZmF1bHQgc2V0dGluZ3MgZm9yIHRoaXMgc2Nyb2xsZXIuXG5cdFx0ICpcblx0XHQgKiBAcGFyYW0ge25ld0RlZmF1bHREdXJhdGlvbn0gT3B0aW9uYWxseSBhIG5ldyB2YWx1ZSBmb3IgZGVmYXVsdCBkdXJhdGlvbiwgdXNlZCBmb3IgZWFjaCBzY3JvbGwgbWV0aG9kIGJ5IGRlZmF1bHQuXG5cdFx0ICogICAgICAgIElnbm9yZWQgaWYgbnVsbCBvciB1bmRlZmluZWQuXG5cdFx0ICogQHBhcmFtIHtuZXdFZGdlT2Zmc2V0fSBPcHRpb25hbGx5IGEgbmV3IHZhbHVlIGZvciB0aGUgZWRnZSBvZmZzZXQsIHVzZWQgYnkgZWFjaCBzY3JvbGwgbWV0aG9kIGJ5IGRlZmF1bHQuIElnbm9yZWQgaWYgbnVsbCBvciB1bmRlZmluZWQuXG5cdFx0ICogQHJldHVybnMgQW4gb2JqZWN0IHdpdGggdGhlIGN1cnJlbnQgdmFsdWVzLlxuXHRcdCAqL1xuXHRcdHZhciBzZXR1cCA9IGZ1bmN0aW9uIChuZXdEZWZhdWx0RHVyYXRpb24sIG5ld0VkZ2VPZmZzZXQpIHtcblx0XHRcdGlmIChuZXdEZWZhdWx0RHVyYXRpb24gPT09IDAgfHwgbmV3RGVmYXVsdER1cmF0aW9uKSB7XG5cdFx0XHRcdGRlZmF1bHREdXJhdGlvbiA9IG5ld0RlZmF1bHREdXJhdGlvblxuXHRcdFx0fVxuXHRcdFx0aWYgKG5ld0VkZ2VPZmZzZXQgPT09IDAgfHwgbmV3RWRnZU9mZnNldCkge1xuXHRcdFx0XHRlZGdlT2Zmc2V0ID0gbmV3RWRnZU9mZnNldFxuXHRcdFx0fVxuXHRcdFx0cmV0dXJuIHtcblx0XHRcdFx0ZGVmYXVsdER1cmF0aW9uOiBkZWZhdWx0RHVyYXRpb24sXG5cdFx0XHRcdGVkZ2VPZmZzZXQ6IGVkZ2VPZmZzZXRcblx0XHRcdH1cblx0XHR9XG5cblx0XHRyZXR1cm4ge1xuXHRcdFx0c2V0dXA6IHNldHVwLFxuXHRcdFx0dG86IHNjcm9sbFRvRWxlbSxcblx0XHRcdHRvWTogc2Nyb2xsVG9ZLFxuXHRcdFx0aW50b1ZpZXc6IHNjcm9sbEludG9WaWV3LFxuXHRcdFx0Y2VudGVyOiBzY3JvbGxUb0NlbnRlck9mLFxuXHRcdFx0c3RvcDogc3RvcFNjcm9sbCxcblx0XHRcdG1vdmluZzogZnVuY3Rpb24gKCkgeyByZXR1cm4gISFzY3JvbGxUaW1lb3V0SWQgfSxcblx0XHRcdGdldFk6IGNvbnRhaW5lci5nZXRZLFxuXHRcdFx0Z2V0VG9wT2Y6IGNvbnRhaW5lci5nZXRUb3BPZlxuXHRcdH1cblxuXHR9XG5cblxuXHR2YXIgZG9jRWxlbSA9IGRvY3VtZW50LmRvY3VtZW50RWxlbWVudFxuXHR2YXIgZ2V0RG9jWSA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIHdpbmRvdy5zY3JvbGxZIHx8IGRvY0VsZW0uc2Nyb2xsVG9wIH1cblxuXHQvLyBDcmVhdGUgYSBzY3JvbGxlciBmb3IgdGhlIGRvY3VtZW50OlxuXHR2YXIgemVuc2Nyb2xsID0gbWFrZVNjcm9sbGVyKHtcblx0XHRib2R5OiBkb2N1bWVudC5zY3JvbGxpbmdFbGVtZW50IHx8IGRvY3VtZW50LmJvZHksXG5cdFx0dG9ZOiBmdW5jdGlvbiAoeSkgeyB3aW5kb3cuc2Nyb2xsVG8oMCwgeSkgfSxcblx0XHRnZXRZOiBnZXREb2NZLFxuXHRcdGdldEhlaWdodDogZnVuY3Rpb24gKCkgeyByZXR1cm4gd2luZG93LmlubmVySGVpZ2h0IHx8IGRvY0VsZW0uY2xpZW50SGVpZ2h0IH0sXG5cdFx0Z2V0VG9wT2Y6IGZ1bmN0aW9uIChlbGVtKSB7IHJldHVybiBlbGVtLmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpLnRvcCArIGdldERvY1koKSAtIGRvY0VsZW0ub2Zmc2V0VG9wIH1cblx0fSlcblxuXG5cdC8qKlxuXHQgKiBDcmVhdGVzIGEgc2Nyb2xsZXIgZnJvbSB0aGUgcHJvdmlkZWQgY29udGFpbmVyIGVsZW1lbnQgKGUuZy4sIGEgRElWKVxuXHQgKlxuXHQgKiBAcGFyYW0ge3Njcm9sbENvbnRhaW5lcn0gVGhlIHZlcnRpY2FsIHBvc2l0aW9uIHdpdGhpbiB0aGUgZG9jdW1lbnQuXG5cdCAqIEBwYXJhbSB7ZGVmYXVsdER1cmF0aW9ufSBPcHRpb25hbGx5IGEgdmFsdWUgZm9yIGRlZmF1bHQgZHVyYXRpb24sIHVzZWQgZm9yIGVhY2ggc2Nyb2xsIG1ldGhvZCBieSBkZWZhdWx0LlxuXHQgKiAgICAgICAgSWdub3JlZCBpZiAwIG9yIG51bGwgb3IgdW5kZWZpbmVkLlxuXHQgKiBAcGFyYW0ge2VkZ2VPZmZzZXR9IE9wdGlvbmFsbHkgYSB2YWx1ZSBmb3IgdGhlIGVkZ2Ugb2Zmc2V0LCB1c2VkIGJ5IGVhY2ggc2Nyb2xsIG1ldGhvZCBieSBkZWZhdWx0LiBcblx0ICogICAgICAgIElnbm9yZWQgaWYgbnVsbCBvciB1bmRlZmluZWQuXG5cdCAqIEByZXR1cm5zIEEgc2Nyb2xsZXIgb2JqZWN0LCBzaW1pbGFyIHRvIGB6ZW5zY3JvbGxgIGJ1dCBjb250cm9sbGluZyB0aGUgcHJvdmlkZWQgZWxlbWVudC5cblx0ICovXG5cdHplbnNjcm9sbC5jcmVhdGVTY3JvbGxlciA9IGZ1bmN0aW9uIChzY3JvbGxDb250YWluZXIsIGRlZmF1bHREdXJhdGlvbiwgZWRnZU9mZnNldCkge1xuXHRcdHJldHVybiBtYWtlU2Nyb2xsZXIoe1xuXHRcdFx0Ym9keTogc2Nyb2xsQ29udGFpbmVyLFxuXHRcdFx0dG9ZOiBmdW5jdGlvbiAoeSkgeyBzY3JvbGxDb250YWluZXIuc2Nyb2xsVG9wID0geSB9LFxuXHRcdFx0Z2V0WTogZnVuY3Rpb24gKCkgeyByZXR1cm4gc2Nyb2xsQ29udGFpbmVyLnNjcm9sbFRvcCB9LFxuXHRcdFx0Z2V0SGVpZ2h0OiBmdW5jdGlvbiAoKSB7IHJldHVybiBNYXRoLm1pbihzY3JvbGxDb250YWluZXIuY2xpZW50SGVpZ2h0LCB3aW5kb3cuaW5uZXJIZWlnaHQgfHwgZG9jRWxlbS5jbGllbnRIZWlnaHQpIH0sXG5cdFx0XHRnZXRUb3BPZjogZnVuY3Rpb24gKGVsZW0pIHsgcmV0dXJuIGVsZW0ub2Zmc2V0VG9wIH1cblx0XHR9LCBkZWZhdWx0RHVyYXRpb24sIGVkZ2VPZmZzZXQpXG5cdH1cblxuXG5cdC8vIEF1dG9tYXRpYyBsaW5rLXNtb290aGluZyBvbiBhY2hvcnNcblx0Ly8gRXhjbHVkZSBJRTgtIG9yIHdoZW4gbmF0aXZlIGlzIGVuYWJsZWQgb3IgWmVuc2Nyb2xsIGF1dG8tIGlzIGRpc2FibGVkXG5cdGlmIChcImFkZEV2ZW50TGlzdGVuZXJcIiBpbiB3aW5kb3cgJiYgIXdpbmRvdy5ub1plbnNtb290aCAmJiAhaXNOYXRpdmVTbW9vdGhTY3JvbGxFbmFibGVkT24oZG9jdW1lbnQuYm9keSkpIHtcblxuXG5cdFx0dmFyIGlzU2Nyb2xsUmVzdG9yYXRpb25TdXBwb3J0ZWQgPSBcInNjcm9sbFJlc3RvcmF0aW9uXCIgaW4gaGlzdG9yeVxuXG5cdFx0Ly8gT24gZmlyc3QgbG9hZCAmIHJlZnJlc2ggbWFrZSBzdXJlIHRoZSBicm93c2VyIHJlc3RvcmVzIHRoZSBwb3NpdGlvbiBmaXJzdFxuXHRcdGlmIChpc1Njcm9sbFJlc3RvcmF0aW9uU3VwcG9ydGVkKSB7XG5cdFx0XHRoaXN0b3J5LnNjcm9sbFJlc3RvcmF0aW9uID0gXCJhdXRvXCJcblx0XHR9XG5cblx0XHR3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcihcImxvYWRcIiwgZnVuY3Rpb24gKCkge1xuXG5cdFx0XHRpZiAoaXNTY3JvbGxSZXN0b3JhdGlvblN1cHBvcnRlZCkge1xuXHRcdFx0XHQvLyBTZXQgaXQgdG8gbWFudWFsXG5cdFx0XHRcdHNldFRpbWVvdXQoZnVuY3Rpb24gKCkgeyBoaXN0b3J5LnNjcm9sbFJlc3RvcmF0aW9uID0gXCJtYW51YWxcIiB9LCA5KVxuXHRcdFx0XHR3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcihcInBvcHN0YXRlXCIsIGZ1bmN0aW9uIChldmVudCkge1xuXHRcdFx0XHRcdGlmIChldmVudC5zdGF0ZSAmJiBcInplbnNjcm9sbFlcIiBpbiBldmVudC5zdGF0ZSkge1xuXHRcdFx0XHRcdFx0emVuc2Nyb2xsLnRvWShldmVudC5zdGF0ZS56ZW5zY3JvbGxZKVxuXHRcdFx0XHRcdH1cblx0XHRcdFx0fSwgZmFsc2UpXG5cdFx0XHR9XG5cblx0XHRcdC8vIEFkZCBlZGdlIG9mZnNldCBvbiBmaXJzdCBsb2FkIGlmIG5lY2Vzc2FyeVxuXHRcdFx0Ly8gVGhpcyBtYXkgbm90IHdvcmsgb24gSUUgKG9yIG9sZGVyIGNvbXB1dGVyPykgYXMgaXQgcmVxdWlyZXMgbW9yZSB0aW1lb3V0LCBhcm91bmQgMTAwIG1zXG5cdFx0XHRpZiAod2luZG93LmxvY2F0aW9uLmhhc2gpIHtcblx0XHRcdFx0c2V0VGltZW91dChmdW5jdGlvbiAoKSB7XG5cdFx0XHRcdFx0Ly8gQWRqdXN0bWVudCBpcyBvbmx5IG5lZWRlZCBpZiB0aGVyZSBpcyBhbiBlZGdlIG9mZnNldDpcblx0XHRcdFx0XHR2YXIgZWRnZU9mZnNldCA9IHplbnNjcm9sbC5zZXR1cCgpLmVkZ2VPZmZzZXRcblx0XHRcdFx0XHRpZiAoZWRnZU9mZnNldCkge1xuXHRcdFx0XHRcdFx0dmFyIHRhcmdldEVsZW0gPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCh3aW5kb3cubG9jYXRpb24uaHJlZi5zcGxpdChcIiNcIilbMV0pXG5cdFx0XHRcdFx0XHRpZiAodGFyZ2V0RWxlbSkge1xuXHRcdFx0XHRcdFx0XHR2YXIgdGFyZ2V0WSA9IE1hdGgubWF4KDAsIHplbnNjcm9sbC5nZXRUb3BPZih0YXJnZXRFbGVtKSAtIGVkZ2VPZmZzZXQpXG5cdFx0XHRcdFx0XHRcdHZhciBkaWZmID0gemVuc2Nyb2xsLmdldFkoKSAtIHRhcmdldFlcblx0XHRcdFx0XHRcdFx0Ly8gT25seSBkbyB0aGUgYWRqdXN0bWVudCBpZiB0aGUgYnJvd3NlciBpcyB2ZXJ5IGNsb3NlIHRvIHRoZSBlbGVtZW50OlxuXHRcdFx0XHRcdFx0XHRpZiAoMCA8PSBkaWZmICYmIGRpZmYgPCA5ICkge1xuXHRcdFx0XHRcdFx0XHRcdHdpbmRvdy5zY3JvbGxUbygwLCB0YXJnZXRZKVxuXHRcdFx0XHRcdFx0XHR9XG5cdFx0XHRcdFx0XHR9XG5cdFx0XHRcdFx0fVxuXHRcdFx0XHR9LCA5KVxuXHRcdFx0fVxuXG5cdFx0fSwgZmFsc2UpXG5cblx0XHQvLyBIYW5kbGluZyBjbGlja3Mgb24gYW5jaG9yc1xuXHRcdHZhciBSRV9ub1plbnNtb290aCA9IG5ldyBSZWdFeHAoXCIoXnxcXFxccylub1plbnNtb290aChcXFxcc3wkKVwiKVxuXHRcdHdpbmRvdy5hZGRFdmVudExpc3RlbmVyKFwiY2xpY2tcIiwgZnVuY3Rpb24gKGV2ZW50KSB7XG5cdFx0XHR2YXIgYW5jaG9yID0gZXZlbnQudGFyZ2V0XG5cdFx0XHR3aGlsZSAoYW5jaG9yICYmIGFuY2hvci50YWdOYW1lICE9PSBcIkFcIikge1xuXHRcdFx0XHRhbmNob3IgPSBhbmNob3IucGFyZW50Tm9kZVxuXHRcdFx0fVxuXHRcdFx0Ly8gTGV0IHRoZSBicm93c2VyIGhhbmRsZSB0aGUgY2xpY2sgaWYgaXQgd2Fzbid0IHdpdGggdGhlIHByaW1hcnkgYnV0dG9uLCBvciB3aXRoIHNvbWUgbW9kaWZpZXIga2V5czpcblx0XHRcdGlmICghYW5jaG9yIHx8IGV2ZW50LndoaWNoICE9PSAxIHx8IGV2ZW50LnNoaWZ0S2V5IHx8IGV2ZW50Lm1ldGFLZXkgfHwgZXZlbnQuY3RybEtleSB8fCBldmVudC5hbHRLZXkpIHtcblx0XHRcdFx0cmV0dXJuXG5cdFx0XHR9XG5cdFx0XHQvLyBTYXZlIHRoZSBjdXJyZW50IHNjcm9sbGluZyBwb3NpdGlvbiBzbyBpdCBjYW4gYmUgdXNlZCBmb3Igc2Nyb2xsIHJlc3RvcmF0aW9uOlxuXHRcdFx0aWYgKGlzU2Nyb2xsUmVzdG9yYXRpb25TdXBwb3J0ZWQpIHtcblx0XHRcdFx0dHJ5IHtcblx0XHRcdFx0XHRoaXN0b3J5LnJlcGxhY2VTdGF0ZSh7IHplbnNjcm9sbFk6IHplbnNjcm9sbC5nZXRZKCkgfSwgXCJcIilcblx0XHRcdFx0fSBjYXRjaCAoZSkge1xuXHRcdFx0XHRcdC8vIEF2b2lkIHRoZSBDaHJvbWUgU2VjdXJpdHkgZXhjZXB0aW9uIG9uIGZpbGUgcHJvdG9jb2wsIGUuZy4sIGZpbGU6Ly9pbmRleC5odG1sXG5cdFx0XHRcdH1cblx0XHRcdH1cblx0XHRcdC8vIEZpbmQgdGhlIHJlZmVyZW5jZWQgSUQ6XG5cdFx0XHR2YXIgaHJlZiA9IGFuY2hvci5nZXRBdHRyaWJ1dGUoXCJocmVmXCIpIHx8IFwiXCJcblx0XHRcdGlmIChocmVmLmluZGV4T2YoXCIjXCIpID09PSAwICYmICFSRV9ub1plbnNtb290aC50ZXN0KGFuY2hvci5jbGFzc05hbWUpKSB7XG5cdFx0XHRcdHZhciB0YXJnZXRZID0gMFxuXHRcdFx0XHR2YXIgdGFyZ2V0RWxlbSA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKGhyZWYuc3Vic3RyaW5nKDEpKVxuXHRcdFx0XHRpZiAoaHJlZiAhPT0gXCIjXCIpIHtcblx0XHRcdFx0XHRpZiAoIXRhcmdldEVsZW0pIHtcblx0XHRcdFx0XHRcdC8vIExldCB0aGUgYnJvd3NlciBoYW5kbGUgdGhlIGNsaWNrIGlmIHRoZSB0YXJnZXQgSUQgaXMgbm90IGZvdW5kLlxuXHRcdFx0XHRcdFx0cmV0dXJuXG5cdFx0XHRcdFx0fVxuXHRcdFx0XHRcdHRhcmdldFkgPSB6ZW5zY3JvbGwuZ2V0VG9wT2YodGFyZ2V0RWxlbSlcblx0XHRcdFx0fVxuXHRcdFx0XHRldmVudC5wcmV2ZW50RGVmYXVsdCgpXG5cdFx0XHRcdC8vIEJ5IGRlZmF1bHQgdHJpZ2dlciB0aGUgYnJvd3NlcidzIGBoYXNoY2hhbmdlYCBldmVudC4uLlxuXHRcdFx0XHR2YXIgb25Eb25lID0gZnVuY3Rpb24gKCkgeyB3aW5kb3cubG9jYXRpb24gPSBocmVmIH1cblx0XHRcdFx0Ly8gLi4udW5sZXNzIHRoZXJlIGlzIGFuIGVkZ2Ugb2Zmc2V0IHNwZWNpZmllZFxuXHRcdFx0XHR2YXIgZWRnZU9mZnNldCA9IHplbnNjcm9sbC5zZXR1cCgpLmVkZ2VPZmZzZXRcblx0XHRcdFx0aWYgKGVkZ2VPZmZzZXQpIHtcblx0XHRcdFx0XHR0YXJnZXRZID0gTWF0aC5tYXgoMCwgdGFyZ2V0WSAtIGVkZ2VPZmZzZXQpXG5cdFx0XHRcdFx0b25Eb25lID0gZnVuY3Rpb24gKCkgeyBoaXN0b3J5LnB1c2hTdGF0ZShudWxsLCBcIlwiLCBocmVmKSB9XG5cdFx0XHRcdH1cblx0XHRcdFx0emVuc2Nyb2xsLnRvWSh0YXJnZXRZLCBudWxsLCBvbkRvbmUpXG5cdFx0XHR9XG5cdFx0fSwgZmFsc2UpXG5cblx0fVxuXG5cblx0cmV0dXJuIHplbnNjcm9sbFxuXG5cbn0pKTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vfi96ZW5zY3JvbGwvemVuc2Nyb2xsLmpzXG4vLyBtb2R1bGUgaWQgPSAxXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\");\n\n/***/ }),\n/* 2 */\n/* unknown exports provided */\n/* all exports used */\n/*!******************************!*\\\n  !*** ./src/js/build-html.js ***!\n  \\******************************/\n/***/ (function(module, exports) {\n\neval(\"/**\\n * This file is responsible for building the DOM and updating DOM state.\\n *\\n * @author Tim Scanlin\\n */\\n\\nmodule.exports = function (options) {\\n  var forEach = [].forEach\\n  var some = [].some\\n  var body = document.body\\n  var currentlyHighlighting = true\\n  var SPACE_CHAR = ' '\\n\\n  /**\\n   * Create link and list elements.\\n   * @param {Object} d\\n   * @param {HTMLElement} container\\n   * @return {HTMLElement}\\n   */\\n  function createEl (d, container) {\\n    var link = container.appendChild(createLink(d))\\n    if (d.children.length) {\\n      var list = createList(d.isCollapsed)\\n      d.children.forEach(function (child) {\\n        createEl(child, list)\\n      })\\n      link.appendChild(list)\\n    }\\n  }\\n\\n  /**\\n   * Render nested heading array data into a given selector.\\n   * @param {String} selector\\n   * @param {Array} data\\n   * @return {HTMLElement}\\n   */\\n  function render (selector, data) {\\n    var collapsed = false\\n    var container = createList(collapsed)\\n\\n    data.forEach(function (d) {\\n      createEl(d, container)\\n    })\\n\\n    var parent = document.querySelector(selector)\\n\\n    // Return if no parent is found.\\n    if (parent === null) {\\n      return\\n    }\\n\\n    // Remove existing child if it exists.\\n    if (parent.firstChild) {\\n      parent.removeChild(parent.firstChild)\\n    }\\n\\n    // Append the Elements that have been created;\\n    return parent.appendChild(container)\\n  }\\n\\n  /**\\n   * Create link element.\\n   * @param {Object} data\\n   * @return {HTMLElement}\\n   */\\n  function createLink (data) {\\n    var item = document.createElement('li')\\n    var a = document.createElement('a')\\n    if (options.listItemClass) {\\n      item.setAttribute('class', options.listItemClass)\\n    }\\n    if (options.includeHtml && data.childNodes.length) {\\n      forEach.call(data.childNodes, function (node) {\\n        a.appendChild(node.cloneNode(true))\\n      })\\n    } else {\\n      // Default behavior.\\n      a.textContent = data.textContent\\n    }\\n    a.setAttribute('href', '#' + data.id)\\n    a.setAttribute('class', options.linkClass +\\n      SPACE_CHAR + 'node-name--' + data.nodeName +\\n      SPACE_CHAR + options.extraLinkClasses)\\n    item.appendChild(a)\\n    return item\\n  }\\n\\n  /**\\n   * Create list element.\\n   * @param {Boolean} isCollapsed\\n   * @return {HTMLElement}\\n   */\\n  function createList (isCollapsed) {\\n    var list = document.createElement('ul')\\n    var classes = options.listClass +\\n      SPACE_CHAR + options.extraListClasses\\n    if (isCollapsed) {\\n      classes += SPACE_CHAR + options.collapsibleClass\\n      classes += SPACE_CHAR + options.isCollapsedClass\\n    }\\n    list.setAttribute('class', classes)\\n    return list\\n  }\\n\\n  /**\\n   * Update fixed sidebar class.\\n   * @return {HTMLElement}\\n   */\\n  function updateFixedSidebarClass () {\\n    var top = document.documentElement.scrollTop || body.scrollTop\\n    var posFixedEl = document.querySelector(options.positionFixedSelector)\\n\\n    if (options.fixedSidebarOffset === 'auto') {\\n      options.fixedSidebarOffset = document.querySelector(options.tocSelector).offsetTop\\n    }\\n\\n    if (top > options.fixedSidebarOffset) {\\n      if (posFixedEl.className.indexOf(options.positionFixedClass) === -1) {\\n        posFixedEl.className += SPACE_CHAR + options.positionFixedClass\\n      }\\n    } else {\\n      posFixedEl.className = posFixedEl.className.split(SPACE_CHAR + options.positionFixedClass).join('')\\n    }\\n  }\\n\\n  /**\\n   * Update TOC highlighting and collpased groupings.\\n   */\\n  function updateToc (headingsArray) {\\n    var top = document.documentElement.scrollTop || body.scrollTop\\n\\n    // Add fixed class at offset;\\n    if (options.positionFixedSelector) {\\n      updateFixedSidebarClass()\\n    }\\n\\n    // Get the top most heading currently visible on the page so we know what to highlight.\\n    var headings = headingsArray\\n    var topHeader\\n    // Using some instead of each so that we can escape early.\\n    if (currentlyHighlighting &&\\n      document.querySelector(options.tocSelector) !== null &&\\n      headings.length > 0) {\\n      some.call(headings, function (heading, i) {\\n        if (heading.offsetTop > top + options.headingsOffset + 10) {\\n          // Don't allow negative index value.\\n          var index = (i === 0) ? i : i - 1\\n          topHeader = headings[index]\\n          return true\\n        } else if (i === headings.length - 1) {\\n          // This allows scrolling for the last heading on the page.\\n          topHeader = headings[headings.length - 1]\\n          return true\\n        }\\n      })\\n\\n      // Remove the active class from the other tocLinks.\\n      var tocLinks = document.querySelector(options.tocSelector)\\n        .querySelectorAll('.' + options.linkClass)\\n      forEach.call(tocLinks, function (tocLink) {\\n        tocLink.className = tocLink.className.split(SPACE_CHAR + options.activeLinkClass).join('')\\n      })\\n\\n      // Add the active class to the active tocLink.\\n      var activeTocLink = document.querySelector(options.tocSelector)\\n        .querySelector('.' + options.linkClass +\\n          '.node-name--' + topHeader.nodeName +\\n          '[href=\\\"#' + topHeader.id + '\\\"]')\\n      activeTocLink.className += SPACE_CHAR + options.activeLinkClass\\n\\n      var tocLists = document.querySelector(options.tocSelector)\\n        .querySelectorAll('.' + options.listClass + '.' + options.collapsibleClass)\\n\\n      // Collapse the other collapsible lists.\\n      forEach.call(tocLists, function (list) {\\n        var collapsedClass = SPACE_CHAR + options.isCollapsedClass\\n        if (list.className.indexOf(collapsedClass) === -1) {\\n          list.className += SPACE_CHAR + options.isCollapsedClass\\n        }\\n      })\\n\\n      // Expand the active link's collapsible list and its sibling if applicable.\\n      if (activeTocLink.nextSibling) {\\n        activeTocLink.nextSibling.className = activeTocLink.nextSibling.className.split(SPACE_CHAR + options.isCollapsedClass).join('')\\n      }\\n      removeCollapsedFromParents(activeTocLink.parentNode.parentNode)\\n    }\\n  }\\n\\n  /**\\n   * Remove collpased class from parent elements.\\n   * @param {HTMLElement} element\\n   * @return {HTMLElement}\\n   */\\n  function removeCollapsedFromParents (element) {\\n    if (element.className.indexOf(options.collapsibleClass) !== -1) {\\n      element.className = element.className.split(SPACE_CHAR + options.isCollapsedClass).join('')\\n      return removeCollapsedFromParents(element.parentNode.parentNode)\\n    }\\n    return element\\n  }\\n\\n  /**\\n   * Disable TOC Animation when a link is clicked.\\n   * @param {Event} event\\n   */\\n  function disableTocAnimation (event) {\\n    var target = event.target || event.srcElement\\n    if (typeof target.className !== 'string' || target.className.indexOf(options.linkClass) === -1) {\\n      return\\n    }\\n    // Bind to tocLink clicks to temporarily disable highlighting\\n    // while smoothScroll is animating.\\n    currentlyHighlighting = false\\n  }\\n\\n  /**\\n   * Enable TOC Animation.\\n   */\\n  function enableTocAnimation () {\\n    currentlyHighlighting = true\\n  }\\n\\n  return {\\n    enableTocAnimation: enableTocAnimation,\\n    disableTocAnimation: disableTocAnimation,\\n    render: render,\\n    updateToc: updateToc\\n  }\\n}\\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9qcy9idWlsZC1odG1sLmpzPzdkMDEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBUaGlzIGZpbGUgaXMgcmVzcG9uc2libGUgZm9yIGJ1aWxkaW5nIHRoZSBET00gYW5kIHVwZGF0aW5nIERPTSBzdGF0ZS5cbiAqXG4gKiBAYXV0aG9yIFRpbSBTY2FubGluXG4gKi9cblxubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAob3B0aW9ucykge1xuICB2YXIgZm9yRWFjaCA9IFtdLmZvckVhY2hcbiAgdmFyIHNvbWUgPSBbXS5zb21lXG4gIHZhciBib2R5ID0gZG9jdW1lbnQuYm9keVxuICB2YXIgY3VycmVudGx5SGlnaGxpZ2h0aW5nID0gdHJ1ZVxuICB2YXIgU1BBQ0VfQ0hBUiA9ICcgJ1xuXG4gIC8qKlxuICAgKiBDcmVhdGUgbGluayBhbmQgbGlzdCBlbGVtZW50cy5cbiAgICogQHBhcmFtIHtPYmplY3R9IGRcbiAgICogQHBhcmFtIHtIVE1MRWxlbWVudH0gY29udGFpbmVyXG4gICAqIEByZXR1cm4ge0hUTUxFbGVtZW50fVxuICAgKi9cbiAgZnVuY3Rpb24gY3JlYXRlRWwgKGQsIGNvbnRhaW5lcikge1xuICAgIHZhciBsaW5rID0gY29udGFpbmVyLmFwcGVuZENoaWxkKGNyZWF0ZUxpbmsoZCkpXG4gICAgaWYgKGQuY2hpbGRyZW4ubGVuZ3RoKSB7XG4gICAgICB2YXIgbGlzdCA9IGNyZWF0ZUxpc3QoZC5pc0NvbGxhcHNlZClcbiAgICAgIGQuY2hpbGRyZW4uZm9yRWFjaChmdW5jdGlvbiAoY2hpbGQpIHtcbiAgICAgICAgY3JlYXRlRWwoY2hpbGQsIGxpc3QpXG4gICAgICB9KVxuICAgICAgbGluay5hcHBlbmRDaGlsZChsaXN0KVxuICAgIH1cbiAgfVxuXG4gIC8qKlxuICAgKiBSZW5kZXIgbmVzdGVkIGhlYWRpbmcgYXJyYXkgZGF0YSBpbnRvIGEgZ2l2ZW4gc2VsZWN0b3IuXG4gICAqIEBwYXJhbSB7U3RyaW5nfSBzZWxlY3RvclxuICAgKiBAcGFyYW0ge0FycmF5fSBkYXRhXG4gICAqIEByZXR1cm4ge0hUTUxFbGVtZW50fVxuICAgKi9cbiAgZnVuY3Rpb24gcmVuZGVyIChzZWxlY3RvciwgZGF0YSkge1xuICAgIHZhciBjb2xsYXBzZWQgPSBmYWxzZVxuICAgIHZhciBjb250YWluZXIgPSBjcmVhdGVMaXN0KGNvbGxhcHNlZClcblxuICAgIGRhdGEuZm9yRWFjaChmdW5jdGlvbiAoZCkge1xuICAgICAgY3JlYXRlRWwoZCwgY29udGFpbmVyKVxuICAgIH0pXG5cbiAgICB2YXIgcGFyZW50ID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcihzZWxlY3RvcilcblxuICAgIC8vIFJldHVybiBpZiBubyBwYXJlbnQgaXMgZm91bmQuXG4gICAgaWYgKHBhcmVudCA9PT0gbnVsbCkge1xuICAgICAgcmV0dXJuXG4gICAgfVxuXG4gICAgLy8gUmVtb3ZlIGV4aXN0aW5nIGNoaWxkIGlmIGl0IGV4aXN0cy5cbiAgICBpZiAocGFyZW50LmZpcnN0Q2hpbGQpIHtcbiAgICAgIHBhcmVudC5yZW1vdmVDaGlsZChwYXJlbnQuZmlyc3RDaGlsZClcbiAgICB9XG5cbiAgICAvLyBBcHBlbmQgdGhlIEVsZW1lbnRzIHRoYXQgaGF2ZSBiZWVuIGNyZWF0ZWQ7XG4gICAgcmV0dXJuIHBhcmVudC5hcHBlbmRDaGlsZChjb250YWluZXIpXG4gIH1cblxuICAvKipcbiAgICogQ3JlYXRlIGxpbmsgZWxlbWVudC5cbiAgICogQHBhcmFtIHtPYmplY3R9IGRhdGFcbiAgICogQHJldHVybiB7SFRNTEVsZW1lbnR9XG4gICAqL1xuICBmdW5jdGlvbiBjcmVhdGVMaW5rIChkYXRhKSB7XG4gICAgdmFyIGl0ZW0gPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdsaScpXG4gICAgdmFyIGEgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdhJylcbiAgICBpZiAob3B0aW9ucy5saXN0SXRlbUNsYXNzKSB7XG4gICAgICBpdGVtLnNldEF0dHJpYnV0ZSgnY2xhc3MnLCBvcHRpb25zLmxpc3RJdGVtQ2xhc3MpXG4gICAgfVxuICAgIGlmIChvcHRpb25zLmluY2x1ZGVIdG1sICYmIGRhdGEuY2hpbGROb2Rlcy5sZW5ndGgpIHtcbiAgICAgIGZvckVhY2guY2FsbChkYXRhLmNoaWxkTm9kZXMsIGZ1bmN0aW9uIChub2RlKSB7XG4gICAgICAgIGEuYXBwZW5kQ2hpbGQobm9kZS5jbG9uZU5vZGUodHJ1ZSkpXG4gICAgICB9KVxuICAgIH0gZWxzZSB7XG4gICAgICAvLyBEZWZhdWx0IGJlaGF2aW9yLlxuICAgICAgYS50ZXh0Q29udGVudCA9IGRhdGEudGV4dENvbnRlbnRcbiAgICB9XG4gICAgYS5zZXRBdHRyaWJ1dGUoJ2hyZWYnLCAnIycgKyBkYXRhLmlkKVxuICAgIGEuc2V0QXR0cmlidXRlKCdjbGFzcycsIG9wdGlvbnMubGlua0NsYXNzICtcbiAgICAgIFNQQUNFX0NIQVIgKyAnbm9kZS1uYW1lLS0nICsgZGF0YS5ub2RlTmFtZSArXG4gICAgICBTUEFDRV9DSEFSICsgb3B0aW9ucy5leHRyYUxpbmtDbGFzc2VzKVxuICAgIGl0ZW0uYXBwZW5kQ2hpbGQoYSlcbiAgICByZXR1cm4gaXRlbVxuICB9XG5cbiAgLyoqXG4gICAqIENyZWF0ZSBsaXN0IGVsZW1lbnQuXG4gICAqIEBwYXJhbSB7Qm9vbGVhbn0gaXNDb2xsYXBzZWRcbiAgICogQHJldHVybiB7SFRNTEVsZW1lbnR9XG4gICAqL1xuICBmdW5jdGlvbiBjcmVhdGVMaXN0IChpc0NvbGxhcHNlZCkge1xuICAgIHZhciBsaXN0ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgndWwnKVxuICAgIHZhciBjbGFzc2VzID0gb3B0aW9ucy5saXN0Q2xhc3MgK1xuICAgICAgU1BBQ0VfQ0hBUiArIG9wdGlvbnMuZXh0cmFMaXN0Q2xhc3Nlc1xuICAgIGlmIChpc0NvbGxhcHNlZCkge1xuICAgICAgY2xhc3NlcyArPSBTUEFDRV9DSEFSICsgb3B0aW9ucy5jb2xsYXBzaWJsZUNsYXNzXG4gICAgICBjbGFzc2VzICs9IFNQQUNFX0NIQVIgKyBvcHRpb25zLmlzQ29sbGFwc2VkQ2xhc3NcbiAgICB9XG4gICAgbGlzdC5zZXRBdHRyaWJ1dGUoJ2NsYXNzJywgY2xhc3NlcylcbiAgICByZXR1cm4gbGlzdFxuICB9XG5cbiAgLyoqXG4gICAqIFVwZGF0ZSBmaXhlZCBzaWRlYmFyIGNsYXNzLlxuICAgKiBAcmV0dXJuIHtIVE1MRWxlbWVudH1cbiAgICovXG4gIGZ1bmN0aW9uIHVwZGF0ZUZpeGVkU2lkZWJhckNsYXNzICgpIHtcbiAgICB2YXIgdG9wID0gZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LnNjcm9sbFRvcCB8fCBib2R5LnNjcm9sbFRvcFxuICAgIHZhciBwb3NGaXhlZEVsID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcihvcHRpb25zLnBvc2l0aW9uRml4ZWRTZWxlY3RvcilcblxuICAgIGlmIChvcHRpb25zLmZpeGVkU2lkZWJhck9mZnNldCA9PT0gJ2F1dG8nKSB7XG4gICAgICBvcHRpb25zLmZpeGVkU2lkZWJhck9mZnNldCA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3Iob3B0aW9ucy50b2NTZWxlY3Rvcikub2Zmc2V0VG9wXG4gICAgfVxuXG4gICAgaWYgKHRvcCA+IG9wdGlvbnMuZml4ZWRTaWRlYmFyT2Zmc2V0KSB7XG4gICAgICBpZiAocG9zRml4ZWRFbC5jbGFzc05hbWUuaW5kZXhPZihvcHRpb25zLnBvc2l0aW9uRml4ZWRDbGFzcykgPT09IC0xKSB7XG4gICAgICAgIHBvc0ZpeGVkRWwuY2xhc3NOYW1lICs9IFNQQUNFX0NIQVIgKyBvcHRpb25zLnBvc2l0aW9uRml4ZWRDbGFzc1xuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICBwb3NGaXhlZEVsLmNsYXNzTmFtZSA9IHBvc0ZpeGVkRWwuY2xhc3NOYW1lLnNwbGl0KFNQQUNFX0NIQVIgKyBvcHRpb25zLnBvc2l0aW9uRml4ZWRDbGFzcykuam9pbignJylcbiAgICB9XG4gIH1cblxuICAvKipcbiAgICogVXBkYXRlIFRPQyBoaWdobGlnaHRpbmcgYW5kIGNvbGxwYXNlZCBncm91cGluZ3MuXG4gICAqL1xuICBmdW5jdGlvbiB1cGRhdGVUb2MgKGhlYWRpbmdzQXJyYXkpIHtcbiAgICB2YXIgdG9wID0gZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LnNjcm9sbFRvcCB8fCBib2R5LnNjcm9sbFRvcFxuXG4gICAgLy8gQWRkIGZpeGVkIGNsYXNzIGF0IG9mZnNldDtcbiAgICBpZiAob3B0aW9ucy5wb3NpdGlvbkZpeGVkU2VsZWN0b3IpIHtcbiAgICAgIHVwZGF0ZUZpeGVkU2lkZWJhckNsYXNzKClcbiAgICB9XG5cbiAgICAvLyBHZXQgdGhlIHRvcCBtb3N0IGhlYWRpbmcgY3VycmVudGx5IHZpc2libGUgb24gdGhlIHBhZ2Ugc28gd2Uga25vdyB3aGF0IHRvIGhpZ2hsaWdodC5cbiAgICB2YXIgaGVhZGluZ3MgPSBoZWFkaW5nc0FycmF5XG4gICAgdmFyIHRvcEhlYWRlclxuICAgIC8vIFVzaW5nIHNvbWUgaW5zdGVhZCBvZiBlYWNoIHNvIHRoYXQgd2UgY2FuIGVzY2FwZSBlYXJseS5cbiAgICBpZiAoY3VycmVudGx5SGlnaGxpZ2h0aW5nICYmXG4gICAgICBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKG9wdGlvbnMudG9jU2VsZWN0b3IpICE9PSBudWxsICYmXG4gICAgICBoZWFkaW5ncy5sZW5ndGggPiAwKSB7XG4gICAgICBzb21lLmNhbGwoaGVhZGluZ3MsIGZ1bmN0aW9uIChoZWFkaW5nLCBpKSB7XG4gICAgICAgIGlmIChoZWFkaW5nLm9mZnNldFRvcCA+IHRvcCArIG9wdGlvbnMuaGVhZGluZ3NPZmZzZXQgKyAxMCkge1xuICAgICAgICAgIC8vIERvbid0IGFsbG93IG5lZ2F0aXZlIGluZGV4IHZhbHVlLlxuICAgICAgICAgIHZhciBpbmRleCA9IChpID09PSAwKSA/IGkgOiBpIC0gMVxuICAgICAgICAgIHRvcEhlYWRlciA9IGhlYWRpbmdzW2luZGV4XVxuICAgICAgICAgIHJldHVybiB0cnVlXG4gICAgICAgIH0gZWxzZSBpZiAoaSA9PT0gaGVhZGluZ3MubGVuZ3RoIC0gMSkge1xuICAgICAgICAgIC8vIFRoaXMgYWxsb3dzIHNjcm9sbGluZyBmb3IgdGhlIGxhc3QgaGVhZGluZyBvbiB0aGUgcGFnZS5cbiAgICAgICAgICB0b3BIZWFkZXIgPSBoZWFkaW5nc1toZWFkaW5ncy5sZW5ndGggLSAxXVxuICAgICAgICAgIHJldHVybiB0cnVlXG4gICAgICAgIH1cbiAgICAgIH0pXG5cbiAgICAgIC8vIFJlbW92ZSB0aGUgYWN0aXZlIGNsYXNzIGZyb20gdGhlIG90aGVyIHRvY0xpbmtzLlxuICAgICAgdmFyIHRvY0xpbmtzID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcihvcHRpb25zLnRvY1NlbGVjdG9yKVxuICAgICAgICAucXVlcnlTZWxlY3RvckFsbCgnLicgKyBvcHRpb25zLmxpbmtDbGFzcylcbiAgICAgIGZvckVhY2guY2FsbCh0b2NMaW5rcywgZnVuY3Rpb24gKHRvY0xpbmspIHtcbiAgICAgICAgdG9jTGluay5jbGFzc05hbWUgPSB0b2NMaW5rLmNsYXNzTmFtZS5zcGxpdChTUEFDRV9DSEFSICsgb3B0aW9ucy5hY3RpdmVMaW5rQ2xhc3MpLmpvaW4oJycpXG4gICAgICB9KVxuXG4gICAgICAvLyBBZGQgdGhlIGFjdGl2ZSBjbGFzcyB0byB0aGUgYWN0aXZlIHRvY0xpbmsuXG4gICAgICB2YXIgYWN0aXZlVG9jTGluayA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3Iob3B0aW9ucy50b2NTZWxlY3RvcilcbiAgICAgICAgLnF1ZXJ5U2VsZWN0b3IoJy4nICsgb3B0aW9ucy5saW5rQ2xhc3MgK1xuICAgICAgICAgICcubm9kZS1uYW1lLS0nICsgdG9wSGVhZGVyLm5vZGVOYW1lICtcbiAgICAgICAgICAnW2hyZWY9XCIjJyArIHRvcEhlYWRlci5pZCArICdcIl0nKVxuICAgICAgYWN0aXZlVG9jTGluay5jbGFzc05hbWUgKz0gU1BBQ0VfQ0hBUiArIG9wdGlvbnMuYWN0aXZlTGlua0NsYXNzXG5cbiAgICAgIHZhciB0b2NMaXN0cyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3Iob3B0aW9ucy50b2NTZWxlY3RvcilcbiAgICAgICAgLnF1ZXJ5U2VsZWN0b3JBbGwoJy4nICsgb3B0aW9ucy5saXN0Q2xhc3MgKyAnLicgKyBvcHRpb25zLmNvbGxhcHNpYmxlQ2xhc3MpXG5cbiAgICAgIC8vIENvbGxhcHNlIHRoZSBvdGhlciBjb2xsYXBzaWJsZSBsaXN0cy5cbiAgICAgIGZvckVhY2guY2FsbCh0b2NMaXN0cywgZnVuY3Rpb24gKGxpc3QpIHtcbiAgICAgICAgdmFyIGNvbGxhcHNlZENsYXNzID0gU1BBQ0VfQ0hBUiArIG9wdGlvbnMuaXNDb2xsYXBzZWRDbGFzc1xuICAgICAgICBpZiAobGlzdC5jbGFzc05hbWUuaW5kZXhPZihjb2xsYXBzZWRDbGFzcykgPT09IC0xKSB7XG4gICAgICAgICAgbGlzdC5jbGFzc05hbWUgKz0gU1BBQ0VfQ0hBUiArIG9wdGlvbnMuaXNDb2xsYXBzZWRDbGFzc1xuICAgICAgICB9XG4gICAgICB9KVxuXG4gICAgICAvLyBFeHBhbmQgdGhlIGFjdGl2ZSBsaW5rJ3MgY29sbGFwc2libGUgbGlzdCBhbmQgaXRzIHNpYmxpbmcgaWYgYXBwbGljYWJsZS5cbiAgICAgIGlmIChhY3RpdmVUb2NMaW5rLm5leHRTaWJsaW5nKSB7XG4gICAgICAgIGFjdGl2ZVRvY0xpbmsubmV4dFNpYmxpbmcuY2xhc3NOYW1lID0gYWN0aXZlVG9jTGluay5uZXh0U2libGluZy5jbGFzc05hbWUuc3BsaXQoU1BBQ0VfQ0hBUiArIG9wdGlvbnMuaXNDb2xsYXBzZWRDbGFzcykuam9pbignJylcbiAgICAgIH1cbiAgICAgIHJlbW92ZUNvbGxhcHNlZEZyb21QYXJlbnRzKGFjdGl2ZVRvY0xpbmsucGFyZW50Tm9kZS5wYXJlbnROb2RlKVxuICAgIH1cbiAgfVxuXG4gIC8qKlxuICAgKiBSZW1vdmUgY29sbHBhc2VkIGNsYXNzIGZyb20gcGFyZW50IGVsZW1lbnRzLlxuICAgKiBAcGFyYW0ge0hUTUxFbGVtZW50fSBlbGVtZW50XG4gICAqIEByZXR1cm4ge0hUTUxFbGVtZW50fVxuICAgKi9cbiAgZnVuY3Rpb24gcmVtb3ZlQ29sbGFwc2VkRnJvbVBhcmVudHMgKGVsZW1lbnQpIHtcbiAgICBpZiAoZWxlbWVudC5jbGFzc05hbWUuaW5kZXhPZihvcHRpb25zLmNvbGxhcHNpYmxlQ2xhc3MpICE9PSAtMSkge1xuICAgICAgZWxlbWVudC5jbGFzc05hbWUgPSBlbGVtZW50LmNsYXNzTmFtZS5zcGxpdChTUEFDRV9DSEFSICsgb3B0aW9ucy5pc0NvbGxhcHNlZENsYXNzKS5qb2luKCcnKVxuICAgICAgcmV0dXJuIHJlbW92ZUNvbGxhcHNlZEZyb21QYXJlbnRzKGVsZW1lbnQucGFyZW50Tm9kZS5wYXJlbnROb2RlKVxuICAgIH1cbiAgICByZXR1cm4gZWxlbWVudFxuICB9XG5cbiAgLyoqXG4gICAqIERpc2FibGUgVE9DIEFuaW1hdGlvbiB3aGVuIGEgbGluayBpcyBjbGlja2VkLlxuICAgKiBAcGFyYW0ge0V2ZW50fSBldmVudFxuICAgKi9cbiAgZnVuY3Rpb24gZGlzYWJsZVRvY0FuaW1hdGlvbiAoZXZlbnQpIHtcbiAgICB2YXIgdGFyZ2V0ID0gZXZlbnQudGFyZ2V0IHx8IGV2ZW50LnNyY0VsZW1lbnRcbiAgICBpZiAodHlwZW9mIHRhcmdldC5jbGFzc05hbWUgIT09ICdzdHJpbmcnIHx8IHRhcmdldC5jbGFzc05hbWUuaW5kZXhPZihvcHRpb25zLmxpbmtDbGFzcykgPT09IC0xKSB7XG4gICAgICByZXR1cm5cbiAgICB9XG4gICAgLy8gQmluZCB0byB0b2NMaW5rIGNsaWNrcyB0byB0ZW1wb3JhcmlseSBkaXNhYmxlIGhpZ2hsaWdodGluZ1xuICAgIC8vIHdoaWxlIHNtb290aFNjcm9sbCBpcyBhbmltYXRpbmcuXG4gICAgY3VycmVudGx5SGlnaGxpZ2h0aW5nID0gZmFsc2VcbiAgfVxuXG4gIC8qKlxuICAgKiBFbmFibGUgVE9DIEFuaW1hdGlvbi5cbiAgICovXG4gIGZ1bmN0aW9uIGVuYWJsZVRvY0FuaW1hdGlvbiAoKSB7XG4gICAgY3VycmVudGx5SGlnaGxpZ2h0aW5nID0gdHJ1ZVxuICB9XG5cbiAgcmV0dXJuIHtcbiAgICBlbmFibGVUb2NBbmltYXRpb246IGVuYWJsZVRvY0FuaW1hdGlvbixcbiAgICBkaXNhYmxlVG9jQW5pbWF0aW9uOiBkaXNhYmxlVG9jQW5pbWF0aW9uLFxuICAgIHJlbmRlcjogcmVuZGVyLFxuICAgIHVwZGF0ZVRvYzogdXBkYXRlVG9jXG4gIH1cbn1cblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2pzL2J1aWxkLWh0bWwuanNcbi8vIG1vZHVsZSBpZCA9IDJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\");\n\n/***/ }),\n/* 3 */\n/* unknown exports provided */\n/* all exports used */\n/*!***********************************!*\\\n  !*** ./src/js/default-options.js ***!\n  \\***********************************/\n/***/ (function(module, exports) {\n\neval(\"module.exports = {\\n  // Where to render the table of contents.\\n  tocSelector: '.js-toc',\\n  // Where to grab the headings to build the table of contents.\\n  contentSelector: '.js-toc-content',\\n  // Which headings to grab inside of the contentSelector element.\\n  headingSelector: 'h1, h2, h3',\\n  // Headings that match the ignoreSelector will be skipped.\\n  ignoreSelector: '.js-toc-ignore',\\n  // Main class to add to links.\\n  linkClass: 'toc-link',\\n  // Extra classes to add to links.\\n  extraLinkClasses: '',\\n  // Class to add to active links,\\n  // the link corresponding to the top most heading on the page.\\n  activeLinkClass: 'is-active-link',\\n  // Main class to add to lists.\\n  listClass: 'toc-list',\\n  // Extra classes to add to lists.\\n  extraListClasses: '',\\n  // Class that gets added when a list should be collapsed.\\n  isCollapsedClass: 'is-collapsed',\\n  // Class that gets added when a list should be able\\n  // to be collapsed but isn't necessarily collpased.\\n  collapsibleClass: 'is-collapsible',\\n  // Class to add to list items.\\n  listItemClass: 'toc-list-item',\\n  // How many heading levels should not be collpased.\\n  // For example, number 6 will show everything since\\n  // there are only 6 heading levels and number 0 will collpase them all.\\n  // The sections that are hidden will open\\n  // and close as you scroll to headings within them.\\n  collapseDepth: 0,\\n  // Smooth scrolling enabled.\\n  smoothScroll: true,\\n  // Smooth scroll duration.\\n  smoothScrollDuration: 420,\\n  // Callback for scroll end (requires: smoothScroll).\\n  scrollEndCallback: function (e) {},\\n  // Headings offset between the headings and the top of the document.\\n  headingsOffset: 0,\\n  // Timeout between events firing to make sure it's\\n  // not too rapid (for performance reasons).\\n  throttleTimeout: 50,\\n  // Element to add the positionFixedClass to.\\n  positionFixedSelector: null,\\n  // Fixed position class to add to make sidebar fixed after scrolling\\n  // down past the fixedSidebarOffset.\\n  positionFixedClass: 'is-position-fixed',\\n  // fixedSidebarOffset can be any number but by default is set\\n  // to auto which sets the fixedSidebarOffset to the sidebar\\n  // element's offsetTop from the top of the document on init.\\n  fixedSidebarOffset: 'auto',\\n  // includeHtml can be set to true to include the HTML markup from the\\n  // heading node instead of just including the textContent.\\n  includeHtml: false\\n}\\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9qcy9kZWZhdWx0LW9wdGlvbnMuanM/MTg1MSJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IHtcbiAgLy8gV2hlcmUgdG8gcmVuZGVyIHRoZSB0YWJsZSBvZiBjb250ZW50cy5cbiAgdG9jU2VsZWN0b3I6ICcuanMtdG9jJyxcbiAgLy8gV2hlcmUgdG8gZ3JhYiB0aGUgaGVhZGluZ3MgdG8gYnVpbGQgdGhlIHRhYmxlIG9mIGNvbnRlbnRzLlxuICBjb250ZW50U2VsZWN0b3I6ICcuanMtdG9jLWNvbnRlbnQnLFxuICAvLyBXaGljaCBoZWFkaW5ncyB0byBncmFiIGluc2lkZSBvZiB0aGUgY29udGVudFNlbGVjdG9yIGVsZW1lbnQuXG4gIGhlYWRpbmdTZWxlY3RvcjogJ2gxLCBoMiwgaDMnLFxuICAvLyBIZWFkaW5ncyB0aGF0IG1hdGNoIHRoZSBpZ25vcmVTZWxlY3RvciB3aWxsIGJlIHNraXBwZWQuXG4gIGlnbm9yZVNlbGVjdG9yOiAnLmpzLXRvYy1pZ25vcmUnLFxuICAvLyBNYWluIGNsYXNzIHRvIGFkZCB0byBsaW5rcy5cbiAgbGlua0NsYXNzOiAndG9jLWxpbmsnLFxuICAvLyBFeHRyYSBjbGFzc2VzIHRvIGFkZCB0byBsaW5rcy5cbiAgZXh0cmFMaW5rQ2xhc3NlczogJycsXG4gIC8vIENsYXNzIHRvIGFkZCB0byBhY3RpdmUgbGlua3MsXG4gIC8vIHRoZSBsaW5rIGNvcnJlc3BvbmRpbmcgdG8gdGhlIHRvcCBtb3N0IGhlYWRpbmcgb24gdGhlIHBhZ2UuXG4gIGFjdGl2ZUxpbmtDbGFzczogJ2lzLWFjdGl2ZS1saW5rJyxcbiAgLy8gTWFpbiBjbGFzcyB0byBhZGQgdG8gbGlzdHMuXG4gIGxpc3RDbGFzczogJ3RvYy1saXN0JyxcbiAgLy8gRXh0cmEgY2xhc3NlcyB0byBhZGQgdG8gbGlzdHMuXG4gIGV4dHJhTGlzdENsYXNzZXM6ICcnLFxuICAvLyBDbGFzcyB0aGF0IGdldHMgYWRkZWQgd2hlbiBhIGxpc3Qgc2hvdWxkIGJlIGNvbGxhcHNlZC5cbiAgaXNDb2xsYXBzZWRDbGFzczogJ2lzLWNvbGxhcHNlZCcsXG4gIC8vIENsYXNzIHRoYXQgZ2V0cyBhZGRlZCB3aGVuIGEgbGlzdCBzaG91bGQgYmUgYWJsZVxuICAvLyB0byBiZSBjb2xsYXBzZWQgYnV0IGlzbid0IG5lY2Vzc2FyaWx5IGNvbGxwYXNlZC5cbiAgY29sbGFwc2libGVDbGFzczogJ2lzLWNvbGxhcHNpYmxlJyxcbiAgLy8gQ2xhc3MgdG8gYWRkIHRvIGxpc3QgaXRlbXMuXG4gIGxpc3RJdGVtQ2xhc3M6ICd0b2MtbGlzdC1pdGVtJyxcbiAgLy8gSG93IG1hbnkgaGVhZGluZyBsZXZlbHMgc2hvdWxkIG5vdCBiZSBjb2xscGFzZWQuXG4gIC8vIEZvciBleGFtcGxlLCBudW1iZXIgNiB3aWxsIHNob3cgZXZlcnl0aGluZyBzaW5jZVxuICAvLyB0aGVyZSBhcmUgb25seSA2IGhlYWRpbmcgbGV2ZWxzIGFuZCBudW1iZXIgMCB3aWxsIGNvbGxwYXNlIHRoZW0gYWxsLlxuICAvLyBUaGUgc2VjdGlvbnMgdGhhdCBhcmUgaGlkZGVuIHdpbGwgb3BlblxuICAvLyBhbmQgY2xvc2UgYXMgeW91IHNjcm9sbCB0byBoZWFkaW5ncyB3aXRoaW4gdGhlbS5cbiAgY29sbGFwc2VEZXB0aDogMCxcbiAgLy8gU21vb3RoIHNjcm9sbGluZyBlbmFibGVkLlxuICBzbW9vdGhTY3JvbGw6IHRydWUsXG4gIC8vIFNtb290aCBzY3JvbGwgZHVyYXRpb24uXG4gIHNtb290aFNjcm9sbER1cmF0aW9uOiA0MjAsXG4gIC8vIENhbGxiYWNrIGZvciBzY3JvbGwgZW5kIChyZXF1aXJlczogc21vb3RoU2Nyb2xsKS5cbiAgc2Nyb2xsRW5kQ2FsbGJhY2s6IGZ1bmN0aW9uIChlKSB7fSxcbiAgLy8gSGVhZGluZ3Mgb2Zmc2V0IGJldHdlZW4gdGhlIGhlYWRpbmdzIGFuZCB0aGUgdG9wIG9mIHRoZSBkb2N1bWVudC5cbiAgaGVhZGluZ3NPZmZzZXQ6IDAsXG4gIC8vIFRpbWVvdXQgYmV0d2VlbiBldmVudHMgZmlyaW5nIHRvIG1ha2Ugc3VyZSBpdCdzXG4gIC8vIG5vdCB0b28gcmFwaWQgKGZvciBwZXJmb3JtYW5jZSByZWFzb25zKS5cbiAgdGhyb3R0bGVUaW1lb3V0OiA1MCxcbiAgLy8gRWxlbWVudCB0byBhZGQgdGhlIHBvc2l0aW9uRml4ZWRDbGFzcyB0by5cbiAgcG9zaXRpb25GaXhlZFNlbGVjdG9yOiBudWxsLFxuICAvLyBGaXhlZCBwb3NpdGlvbiBjbGFzcyB0byBhZGQgdG8gbWFrZSBzaWRlYmFyIGZpeGVkIGFmdGVyIHNjcm9sbGluZ1xuICAvLyBkb3duIHBhc3QgdGhlIGZpeGVkU2lkZWJhck9mZnNldC5cbiAgcG9zaXRpb25GaXhlZENsYXNzOiAnaXMtcG9zaXRpb24tZml4ZWQnLFxuICAvLyBmaXhlZFNpZGViYXJPZmZzZXQgY2FuIGJlIGFueSBudW1iZXIgYnV0IGJ5IGRlZmF1bHQgaXMgc2V0XG4gIC8vIHRvIGF1dG8gd2hpY2ggc2V0cyB0aGUgZml4ZWRTaWRlYmFyT2Zmc2V0IHRvIHRoZSBzaWRlYmFyXG4gIC8vIGVsZW1lbnQncyBvZmZzZXRUb3AgZnJvbSB0aGUgdG9wIG9mIHRoZSBkb2N1bWVudCBvbiBpbml0LlxuICBmaXhlZFNpZGViYXJPZmZzZXQ6ICdhdXRvJyxcbiAgLy8gaW5jbHVkZUh0bWwgY2FuIGJlIHNldCB0byB0cnVlIHRvIGluY2x1ZGUgdGhlIEhUTUwgbWFya3VwIGZyb20gdGhlXG4gIC8vIGhlYWRpbmcgbm9kZSBpbnN0ZWFkIG9mIGp1c3QgaW5jbHVkaW5nIHRoZSB0ZXh0Q29udGVudC5cbiAgaW5jbHVkZUh0bWw6IGZhbHNlXG59XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9qcy9kZWZhdWx0LW9wdGlvbnMuanNcbi8vIG1vZHVsZSBpZCA9IDNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\");\n\n/***/ }),\n/* 4 */\n/* unknown exports provided */\n/* all exports used */\n/*!*********************************!*\\\n  !*** ./src/js/parse-content.js ***!\n  \\*********************************/\n/***/ (function(module, exports) {\n\neval(\"/**\\n * This file is responsible for parsing the content from the DOM and making\\n * sure data is nested properly.\\n *\\n * @author Tim Scanlin\\n */\\n\\nmodule.exports = function parseContent (options) {\\n  var reduce = [].reduce\\n\\n  /**\\n   * Get the last item in an array and return a reference to it.\\n   * @param {Array} array\\n   * @return {Object}\\n   */\\n  function getLastItem (array) {\\n    return array[array.length - 1]\\n  }\\n\\n  /**\\n   * Get heading level for a heading dom node.\\n   * @param {HTMLElement} heading\\n   * @return {Number}\\n   */\\n  function getHeadingLevel (heading) {\\n    return +heading.nodeName.split('H').join('')\\n  }\\n\\n  /**\\n   * Get important properties from a heading element and store in a plain object.\\n   * @param {HTMLElement} heading\\n   * @return {Object}\\n   */\\n  function getHeadingObject (heading) {\\n    var obj = {\\n      id: heading.id,\\n      children: [],\\n      nodeName: heading.nodeName,\\n      headingLevel: getHeadingLevel(heading),\\n      textContent: heading.textContent.trim()\\n    }\\n\\n    if (options.includeHtml) {\\n      obj.childNodes = heading.childNodes\\n    }\\n\\n    return obj\\n  }\\n\\n  /**\\n   * Add a node to the nested array.\\n   * @param {Object} node\\n   * @param {Array} nest\\n   * @return {Array}\\n   */\\n  function addNode (node, nest) {\\n    var obj = getHeadingObject(node)\\n    var level = getHeadingLevel(node)\\n    var array = nest\\n    var lastItem = getLastItem(array)\\n    var lastItemLevel = lastItem\\n      ? lastItem.headingLevel\\n      : 0\\n    var counter = level - lastItemLevel\\n\\n    while (counter > 0) {\\n      lastItem = getLastItem(array)\\n      if (lastItem && lastItem.children !== undefined) {\\n        array = lastItem.children\\n      }\\n      counter--\\n    }\\n\\n    if (level >= options.collapseDepth) {\\n      obj.isCollapsed = true\\n    }\\n\\n    array.push(obj)\\n    return array\\n  }\\n\\n  /**\\n   * Select headings in content area, exclude any selector in options.ignoreSelector\\n   * @param {String} contentSelector\\n   * @param {Array} headingSelector\\n   * @return {Array}\\n   */\\n  function selectHeadings (contentSelector, headingSelector) {\\n    var selectors = headingSelector\\n    if (options.ignoreSelector) {\\n      selectors = headingSelector.split(',')\\n        .map(function mapSelectors (selector) {\\n          return selector.trim() + ':not(' + options.ignoreSelector + ')'\\n        })\\n    }\\n    try {\\n      return document.querySelector(contentSelector)\\n        .querySelectorAll(selectors)\\n    } catch (e) {\\n      console.warn('Element not found: ' + contentSelector); // eslint-disable-line\\n      return null\\n    }\\n  }\\n\\n  /**\\n   * Nest headings array into nested arrays with 'children' property.\\n   * @param {Array} headingsArray\\n   * @return {Object}\\n   */\\n  function nestHeadingsArray (headingsArray) {\\n    return reduce.call(headingsArray, function reducer (prev, curr) {\\n      var currentHeading = getHeadingObject(curr)\\n\\n      addNode(currentHeading, prev.nest)\\n      return prev\\n    }, {\\n      nest: []\\n    })\\n  }\\n\\n  return {\\n    nestHeadingsArray: nestHeadingsArray,\\n    selectHeadings: selectHeadings\\n  }\\n}\\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9qcy9wYXJzZS1jb250ZW50LmpzPzg3ZjAiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBUaGlzIGZpbGUgaXMgcmVzcG9uc2libGUgZm9yIHBhcnNpbmcgdGhlIGNvbnRlbnQgZnJvbSB0aGUgRE9NIGFuZCBtYWtpbmdcbiAqIHN1cmUgZGF0YSBpcyBuZXN0ZWQgcHJvcGVybHkuXG4gKlxuICogQGF1dGhvciBUaW0gU2NhbmxpblxuICovXG5cbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gcGFyc2VDb250ZW50IChvcHRpb25zKSB7XG4gIHZhciByZWR1Y2UgPSBbXS5yZWR1Y2VcblxuICAvKipcbiAgICogR2V0IHRoZSBsYXN0IGl0ZW0gaW4gYW4gYXJyYXkgYW5kIHJldHVybiBhIHJlZmVyZW5jZSB0byBpdC5cbiAgICogQHBhcmFtIHtBcnJheX0gYXJyYXlcbiAgICogQHJldHVybiB7T2JqZWN0fVxuICAgKi9cbiAgZnVuY3Rpb24gZ2V0TGFzdEl0ZW0gKGFycmF5KSB7XG4gICAgcmV0dXJuIGFycmF5W2FycmF5Lmxlbmd0aCAtIDFdXG4gIH1cblxuICAvKipcbiAgICogR2V0IGhlYWRpbmcgbGV2ZWwgZm9yIGEgaGVhZGluZyBkb20gbm9kZS5cbiAgICogQHBhcmFtIHtIVE1MRWxlbWVudH0gaGVhZGluZ1xuICAgKiBAcmV0dXJuIHtOdW1iZXJ9XG4gICAqL1xuICBmdW5jdGlvbiBnZXRIZWFkaW5nTGV2ZWwgKGhlYWRpbmcpIHtcbiAgICByZXR1cm4gK2hlYWRpbmcubm9kZU5hbWUuc3BsaXQoJ0gnKS5qb2luKCcnKVxuICB9XG5cbiAgLyoqXG4gICAqIEdldCBpbXBvcnRhbnQgcHJvcGVydGllcyBmcm9tIGEgaGVhZGluZyBlbGVtZW50IGFuZCBzdG9yZSBpbiBhIHBsYWluIG9iamVjdC5cbiAgICogQHBhcmFtIHtIVE1MRWxlbWVudH0gaGVhZGluZ1xuICAgKiBAcmV0dXJuIHtPYmplY3R9XG4gICAqL1xuICBmdW5jdGlvbiBnZXRIZWFkaW5nT2JqZWN0IChoZWFkaW5nKSB7XG4gICAgdmFyIG9iaiA9IHtcbiAgICAgIGlkOiBoZWFkaW5nLmlkLFxuICAgICAgY2hpbGRyZW46IFtdLFxuICAgICAgbm9kZU5hbWU6IGhlYWRpbmcubm9kZU5hbWUsXG4gICAgICBoZWFkaW5nTGV2ZWw6IGdldEhlYWRpbmdMZXZlbChoZWFkaW5nKSxcbiAgICAgIHRleHRDb250ZW50OiBoZWFkaW5nLnRleHRDb250ZW50LnRyaW0oKVxuICAgIH1cblxuICAgIGlmIChvcHRpb25zLmluY2x1ZGVIdG1sKSB7XG4gICAgICBvYmouY2hpbGROb2RlcyA9IGhlYWRpbmcuY2hpbGROb2Rlc1xuICAgIH1cblxuICAgIHJldHVybiBvYmpcbiAgfVxuXG4gIC8qKlxuICAgKiBBZGQgYSBub2RlIHRvIHRoZSBuZXN0ZWQgYXJyYXkuXG4gICAqIEBwYXJhbSB7T2JqZWN0fSBub2RlXG4gICAqIEBwYXJhbSB7QXJyYXl9IG5lc3RcbiAgICogQHJldHVybiB7QXJyYXl9XG4gICAqL1xuICBmdW5jdGlvbiBhZGROb2RlIChub2RlLCBuZXN0KSB7XG4gICAgdmFyIG9iaiA9IGdldEhlYWRpbmdPYmplY3Qobm9kZSlcbiAgICB2YXIgbGV2ZWwgPSBnZXRIZWFkaW5nTGV2ZWwobm9kZSlcbiAgICB2YXIgYXJyYXkgPSBuZXN0XG4gICAgdmFyIGxhc3RJdGVtID0gZ2V0TGFzdEl0ZW0oYXJyYXkpXG4gICAgdmFyIGxhc3RJdGVtTGV2ZWwgPSBsYXN0SXRlbVxuICAgICAgPyBsYXN0SXRlbS5oZWFkaW5nTGV2ZWxcbiAgICAgIDogMFxuICAgIHZhciBjb3VudGVyID0gbGV2ZWwgLSBsYXN0SXRlbUxldmVsXG5cbiAgICB3aGlsZSAoY291bnRlciA+IDApIHtcbiAgICAgIGxhc3RJdGVtID0gZ2V0TGFzdEl0ZW0oYXJyYXkpXG4gICAgICBpZiAobGFzdEl0ZW0gJiYgbGFzdEl0ZW0uY2hpbGRyZW4gIT09IHVuZGVmaW5lZCkge1xuICAgICAgICBhcnJheSA9IGxhc3RJdGVtLmNoaWxkcmVuXG4gICAgICB9XG4gICAgICBjb3VudGVyLS1cbiAgICB9XG5cbiAgICBpZiAobGV2ZWwgPj0gb3B0aW9ucy5jb2xsYXBzZURlcHRoKSB7XG4gICAgICBvYmouaXNDb2xsYXBzZWQgPSB0cnVlXG4gICAgfVxuXG4gICAgYXJyYXkucHVzaChvYmopXG4gICAgcmV0dXJuIGFycmF5XG4gIH1cblxuICAvKipcbiAgICogU2VsZWN0IGhlYWRpbmdzIGluIGNvbnRlbnQgYXJlYSwgZXhjbHVkZSBhbnkgc2VsZWN0b3IgaW4gb3B0aW9ucy5pZ25vcmVTZWxlY3RvclxuICAgKiBAcGFyYW0ge1N0cmluZ30gY29udGVudFNlbGVjdG9yXG4gICAqIEBwYXJhbSB7QXJyYXl9IGhlYWRpbmdTZWxlY3RvclxuICAgKiBAcmV0dXJuIHtBcnJheX1cbiAgICovXG4gIGZ1bmN0aW9uIHNlbGVjdEhlYWRpbmdzIChjb250ZW50U2VsZWN0b3IsIGhlYWRpbmdTZWxlY3Rvcikge1xuICAgIHZhciBzZWxlY3RvcnMgPSBoZWFkaW5nU2VsZWN0b3JcbiAgICBpZiAob3B0aW9ucy5pZ25vcmVTZWxlY3Rvcikge1xuICAgICAgc2VsZWN0b3JzID0gaGVhZGluZ1NlbGVjdG9yLnNwbGl0KCcsJylcbiAgICAgICAgLm1hcChmdW5jdGlvbiBtYXBTZWxlY3RvcnMgKHNlbGVjdG9yKSB7XG4gICAgICAgICAgcmV0dXJuIHNlbGVjdG9yLnRyaW0oKSArICc6bm90KCcgKyBvcHRpb25zLmlnbm9yZVNlbGVjdG9yICsgJyknXG4gICAgICAgIH0pXG4gICAgfVxuICAgIHRyeSB7XG4gICAgICByZXR1cm4gZG9jdW1lbnQucXVlcnlTZWxlY3Rvcihjb250ZW50U2VsZWN0b3IpXG4gICAgICAgIC5xdWVyeVNlbGVjdG9yQWxsKHNlbGVjdG9ycylcbiAgICB9IGNhdGNoIChlKSB7XG4gICAgICBjb25zb2xlLndhcm4oJ0VsZW1lbnQgbm90IGZvdW5kOiAnICsgY29udGVudFNlbGVjdG9yKTsgLy8gZXNsaW50LWRpc2FibGUtbGluZVxuICAgICAgcmV0dXJuIG51bGxcbiAgICB9XG4gIH1cblxuICAvKipcbiAgICogTmVzdCBoZWFkaW5ncyBhcnJheSBpbnRvIG5lc3RlZCBhcnJheXMgd2l0aCAnY2hpbGRyZW4nIHByb3BlcnR5LlxuICAgKiBAcGFyYW0ge0FycmF5fSBoZWFkaW5nc0FycmF5XG4gICAqIEByZXR1cm4ge09iamVjdH1cbiAgICovXG4gIGZ1bmN0aW9uIG5lc3RIZWFkaW5nc0FycmF5IChoZWFkaW5nc0FycmF5KSB7XG4gICAgcmV0dXJuIHJlZHVjZS5jYWxsKGhlYWRpbmdzQXJyYXksIGZ1bmN0aW9uIHJlZHVjZXIgKHByZXYsIGN1cnIpIHtcbiAgICAgIHZhciBjdXJyZW50SGVhZGluZyA9IGdldEhlYWRpbmdPYmplY3QoY3VycilcblxuICAgICAgYWRkTm9kZShjdXJyZW50SGVhZGluZywgcHJldi5uZXN0KVxuICAgICAgcmV0dXJuIHByZXZcbiAgICB9LCB7XG4gICAgICBuZXN0OiBbXVxuICAgIH0pXG4gIH1cblxuICByZXR1cm4ge1xuICAgIG5lc3RIZWFkaW5nc0FycmF5OiBuZXN0SGVhZGluZ3NBcnJheSxcbiAgICBzZWxlY3RIZWFkaW5nczogc2VsZWN0SGVhZGluZ3NcbiAgfVxufVxuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvanMvcGFyc2UtY29udGVudC5qc1xuLy8gbW9kdWxlIGlkID0gNFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\");\n\n/***/ }),\n/* 5 */\n/* unknown exports provided */\n/* all exports used */\n/*!*************************!*\\\n  !*** ./src/js/index.js ***!\n  \\*************************/\n/***/ (function(module, exports, __webpack_require__) {\n\neval(\"/* WEBPACK VAR INJECTION */(function(global) {var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\\n * Tocbot\\n * Tocbot creates a toble of contents based on HTML headings on a page,\\n * this allows users to easily jump to different sections of the document.\\n * Tocbot was inspired by tocify (http://gregfranko.com/jquery.tocify.js/).\\n * The main differences are that it works natively without any need for jquery or jquery UI).\\n *\\n * @author Tim Scanlin\\n */\\n\\n/* globals define */\\n\\n(function (root, factory) {\\n  if (true) {\\n    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory(root)),\\n\\t\\t\\t\\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\\n\\t\\t\\t\\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\\n\\t\\t\\t\\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))\\n  } else if (typeof exports === 'object') {\\n    module.exports = factory(root)\\n  } else {\\n    root.tocbot = factory(root)\\n  }\\n})(typeof global !== 'undefined' ? global : this.window || this.global, function (root) {\\n  'use strict'\\n\\n  // Default options.\\n  var defaultOptions = __webpack_require__(/*! ./default-options.js */ 3)\\n  // Object to store current options.\\n  var options = {}\\n  // Object for public APIs.\\n  var tocbot = {}\\n\\n  var BuildHtml = __webpack_require__(/*! ./build-html.js */ 2)\\n  var ParseContent = __webpack_require__(/*! ./parse-content.js */ 4)\\n  // Keep these variables at top scope once options are passed in.\\n  var buildHtml\\n  var parseContent\\n\\n  // Just return if its not a browser.\\n  if (typeof window === 'undefined') {\\n    return\\n  }\\n  var supports = !!root.document.querySelector && !!root.addEventListener // Feature test\\n  var headingsArray\\n\\n  // From: https://github.com/Raynos/xtend\\n  var hasOwnProperty = Object.prototype.hasOwnProperty\\n  function extend () {\\n    var target = {}\\n    for (var i = 0; i < arguments.length; i++) {\\n      var source = arguments[i]\\n      for (var key in source) {\\n        if (hasOwnProperty.call(source, key)) {\\n          target[key] = source[key]\\n        }\\n      }\\n    }\\n    return target\\n  }\\n\\n  // From: https://remysharp.com/2010/07/21/throttling-function-calls\\n  function throttle (fn, threshhold, scope) {\\n    threshhold || (threshhold = 250)\\n    var last\\n    var deferTimer\\n    return function () {\\n      var context = scope || this\\n      var now = +new Date()\\n      var args = arguments\\n      if (last && now < last + threshhold) {\\n        // hold on to it\\n        clearTimeout(deferTimer)\\n        deferTimer = setTimeout(function () {\\n          last = now\\n          fn.apply(context, args)\\n        }, threshhold)\\n      } else {\\n        last = now\\n        fn.apply(context, args)\\n      }\\n    }\\n  }\\n\\n  /**\\n   * Destroy tocbot.\\n   */\\n  tocbot.destroy = function () {\\n    // Clear HTML.\\n    try {\\n      document.querySelector(options.tocSelector).innerHTML = ''\\n    } catch (e) {\\n      console.warn('Element not found: ' + options.tocSelector); // eslint-disable-line\\n    }\\n\\n    // Remove event listeners.\\n    document.removeEventListener('scroll', this._scrollListener, false)\\n    document.removeEventListener('resize', this._scrollListener, false)\\n    if (buildHtml) {\\n      document.removeEventListener('click', this._clickListener, false)\\n    }\\n  }\\n\\n  /**\\n   * Initialize tocbot.\\n   * @param {object} customOptions\\n   */\\n  tocbot.init = function (customOptions) {\\n    // feature test\\n    if (!supports) {\\n      return\\n    }\\n\\n    // Merge defaults with user options.\\n    // Set to options variable at the top.\\n    options = extend(defaultOptions, customOptions || {})\\n    this.options = options\\n    this.state = {}\\n\\n    // Init smooth scroll if enabled (default).\\n    if (options.smoothScroll) {\\n      tocbot.zenscroll = __webpack_require__(/*! zenscroll */ 1)\\n      tocbot.zenscroll.setup(options.smoothScrollDuration)\\n    }\\n\\n    // Pass options to these modules.\\n    buildHtml = BuildHtml(options)\\n    parseContent = ParseContent(options)\\n\\n    // For testing purposes.\\n    this._buildHtml = buildHtml\\n    this._parseContent = parseContent\\n\\n    // Destroy it if it exists first.\\n    tocbot.destroy()\\n\\n    // Get headings array.\\n    headingsArray = parseContent.selectHeadings(options.contentSelector, options.headingSelector)\\n    // Return if no headings are found.\\n    if (headingsArray === null) {\\n      return\\n    }\\n\\n    // Build nested headings array.\\n    var nestedHeadingsObj = parseContent.nestHeadingsArray(headingsArray)\\n    var nestedHeadings = nestedHeadingsObj.nest\\n\\n    // Render.\\n    buildHtml.render(options.tocSelector, nestedHeadings)\\n\\n    // Update Sidebar and bind listeners.\\n    this._scrollListener = throttle(function (e) {\\n      buildHtml.updateToc(headingsArray)\\n      var isTop = e && e.target && e.target.scrollingElement && e.target.scrollingElement.scrollTop === 0\\n      if ((e && e.eventPhase === 0) || isTop) {\\n        buildHtml.enableTocAnimation()\\n        buildHtml.updateToc(headingsArray)\\n        if (options.scrollEndCallback) {\\n          options.scrollEndCallback(e)\\n        }\\n      }\\n    }, options.throttleTimeout)\\n    this._scrollListener()\\n    document.addEventListener('scroll', this._scrollListener, false)\\n    document.addEventListener('resize', this._scrollListener, false)\\n\\n    // Bind click listeners to disable animation.\\n    this._clickListener = throttle(function (event) {\\n      if (options.smoothScroll) {\\n        buildHtml.disableTocAnimation(event)\\n      }\\n      buildHtml.updateToc(headingsArray)\\n    }, options.throttleTimeout)\\n    document.addEventListener('click', this._clickListener, false)\\n\\n    return this\\n  }\\n\\n  /**\\n   * Refresh tocbot.\\n   */\\n  tocbot.refresh = function (customOptions) {\\n    tocbot.destroy()\\n    tocbot.init(customOptions || this.options)\\n  }\\n\\n  // Make tocbot available globally.\\n  root.tocbot = tocbot\\n\\n  return tocbot\\n})\\n\\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../~/webpack/buildin/global.js */ 0)))//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9qcy9pbmRleC5qcz9iYzY2Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVG9jYm90XG4gKiBUb2Nib3QgY3JlYXRlcyBhIHRvYmxlIG9mIGNvbnRlbnRzIGJhc2VkIG9uIEhUTUwgaGVhZGluZ3Mgb24gYSBwYWdlLFxuICogdGhpcyBhbGxvd3MgdXNlcnMgdG8gZWFzaWx5IGp1bXAgdG8gZGlmZmVyZW50IHNlY3Rpb25zIG9mIHRoZSBkb2N1bWVudC5cbiAqIFRvY2JvdCB3YXMgaW5zcGlyZWQgYnkgdG9jaWZ5IChodHRwOi8vZ3JlZ2ZyYW5rby5jb20vanF1ZXJ5LnRvY2lmeS5qcy8pLlxuICogVGhlIG1haW4gZGlmZmVyZW5jZXMgYXJlIHRoYXQgaXQgd29ya3MgbmF0aXZlbHkgd2l0aG91dCBhbnkgbmVlZCBmb3IganF1ZXJ5IG9yIGpxdWVyeSBVSSkuXG4gKlxuICogQGF1dGhvciBUaW0gU2NhbmxpblxuICovXG5cbi8qIGdsb2JhbHMgZGVmaW5lICovXG5cbihmdW5jdGlvbiAocm9vdCwgZmFjdG9yeSkge1xuICBpZiAodHlwZW9mIGRlZmluZSA9PT0gJ2Z1bmN0aW9uJyAmJiBkZWZpbmUuYW1kKSB7XG4gICAgZGVmaW5lKFtdLCBmYWN0b3J5KHJvb3QpKVxuICB9IGVsc2UgaWYgKHR5cGVvZiBleHBvcnRzID09PSAnb2JqZWN0Jykge1xuICAgIG1vZHVsZS5leHBvcnRzID0gZmFjdG9yeShyb290KVxuICB9IGVsc2Uge1xuICAgIHJvb3QudG9jYm90ID0gZmFjdG9yeShyb290KVxuICB9XG59KSh0eXBlb2YgZ2xvYmFsICE9PSAndW5kZWZpbmVkJyA/IGdsb2JhbCA6IHRoaXMud2luZG93IHx8IHRoaXMuZ2xvYmFsLCBmdW5jdGlvbiAocm9vdCkge1xuICAndXNlIHN0cmljdCdcblxuICAvLyBEZWZhdWx0IG9wdGlvbnMuXG4gIHZhciBkZWZhdWx0T3B0aW9ucyA9IHJlcXVpcmUoJy4vZGVmYXVsdC1vcHRpb25zLmpzJylcbiAgLy8gT2JqZWN0IHRvIHN0b3JlIGN1cnJlbnQgb3B0aW9ucy5cbiAgdmFyIG9wdGlvbnMgPSB7fVxuICAvLyBPYmplY3QgZm9yIHB1YmxpYyBBUElzLlxuICB2YXIgdG9jYm90ID0ge31cblxuICB2YXIgQnVpbGRIdG1sID0gcmVxdWlyZSgnLi9idWlsZC1odG1sLmpzJylcbiAgdmFyIFBhcnNlQ29udGVudCA9IHJlcXVpcmUoJy4vcGFyc2UtY29udGVudC5qcycpXG4gIC8vIEtlZXAgdGhlc2UgdmFyaWFibGVzIGF0IHRvcCBzY29wZSBvbmNlIG9wdGlvbnMgYXJlIHBhc3NlZCBpbi5cbiAgdmFyIGJ1aWxkSHRtbFxuICB2YXIgcGFyc2VDb250ZW50XG5cbiAgLy8gSnVzdCByZXR1cm4gaWYgaXRzIG5vdCBhIGJyb3dzZXIuXG4gIGlmICh0eXBlb2Ygd2luZG93ID09PSAndW5kZWZpbmVkJykge1xuICAgIHJldHVyblxuICB9XG4gIHZhciBzdXBwb3J0cyA9ICEhcm9vdC5kb2N1bWVudC5xdWVyeVNlbGVjdG9yICYmICEhcm9vdC5hZGRFdmVudExpc3RlbmVyIC8vIEZlYXR1cmUgdGVzdFxuICB2YXIgaGVhZGluZ3NBcnJheVxuXG4gIC8vIEZyb206IGh0dHBzOi8vZ2l0aHViLmNvbS9SYXlub3MveHRlbmRcbiAgdmFyIGhhc093blByb3BlcnR5ID0gT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eVxuICBmdW5jdGlvbiBleHRlbmQgKCkge1xuICAgIHZhciB0YXJnZXQgPSB7fVxuICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7XG4gICAgICB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldXG4gICAgICBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7XG4gICAgICAgIGlmIChoYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkge1xuICAgICAgICAgIHRhcmdldFtrZXldID0gc291cmNlW2tleV1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgICByZXR1cm4gdGFyZ2V0XG4gIH1cblxuICAvLyBGcm9tOiBodHRwczovL3JlbXlzaGFycC5jb20vMjAxMC8wNy8yMS90aHJvdHRsaW5nLWZ1bmN0aW9uLWNhbGxzXG4gIGZ1bmN0aW9uIHRocm90dGxlIChmbiwgdGhyZXNoaG9sZCwgc2NvcGUpIHtcbiAgICB0aHJlc2hob2xkIHx8ICh0aHJlc2hob2xkID0gMjUwKVxuICAgIHZhciBsYXN0XG4gICAgdmFyIGRlZmVyVGltZXJcbiAgICByZXR1cm4gZnVuY3Rpb24gKCkge1xuICAgICAgdmFyIGNvbnRleHQgPSBzY29wZSB8fCB0aGlzXG4gICAgICB2YXIgbm93ID0gK25ldyBEYXRlKClcbiAgICAgIHZhciBhcmdzID0gYXJndW1lbnRzXG4gICAgICBpZiAobGFzdCAmJiBub3cgPCBsYXN0ICsgdGhyZXNoaG9sZCkge1xuICAgICAgICAvLyBob2xkIG9uIHRvIGl0XG4gICAgICAgIGNsZWFyVGltZW91dChkZWZlclRpbWVyKVxuICAgICAgICBkZWZlclRpbWVyID0gc2V0VGltZW91dChmdW5jdGlvbiAoKSB7XG4gICAgICAgICAgbGFzdCA9IG5vd1xuICAgICAgICAgIGZuLmFwcGx5KGNvbnRleHQsIGFyZ3MpXG4gICAgICAgIH0sIHRocmVzaGhvbGQpXG4gICAgICB9IGVsc2Uge1xuICAgICAgICBsYXN0ID0gbm93XG4gICAgICAgIGZuLmFwcGx5KGNvbnRleHQsIGFyZ3MpXG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLyoqXG4gICAqIERlc3Ryb3kgdG9jYm90LlxuICAgKi9cbiAgdG9jYm90LmRlc3Ryb3kgPSBmdW5jdGlvbiAoKSB7XG4gICAgLy8gQ2xlYXIgSFRNTC5cbiAgICB0cnkge1xuICAgICAgZG9jdW1lbnQucXVlcnlTZWxlY3RvcihvcHRpb25zLnRvY1NlbGVjdG9yKS5pbm5lckhUTUwgPSAnJ1xuICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgIGNvbnNvbGUud2FybignRWxlbWVudCBub3QgZm91bmQ6ICcgKyBvcHRpb25zLnRvY1NlbGVjdG9yKTsgLy8gZXNsaW50LWRpc2FibGUtbGluZVxuICAgIH1cblxuICAgIC8vIFJlbW92ZSBldmVudCBsaXN0ZW5lcnMuXG4gICAgZG9jdW1lbnQucmVtb3ZlRXZlbnRMaXN0ZW5lcignc2Nyb2xsJywgdGhpcy5fc2Nyb2xsTGlzdGVuZXIsIGZhbHNlKVxuICAgIGRvY3VtZW50LnJlbW92ZUV2ZW50TGlzdGVuZXIoJ3Jlc2l6ZScsIHRoaXMuX3Njcm9sbExpc3RlbmVyLCBmYWxzZSlcbiAgICBpZiAoYnVpbGRIdG1sKSB7XG4gICAgICBkb2N1bWVudC5yZW1vdmVFdmVudExpc3RlbmVyKCdjbGljaycsIHRoaXMuX2NsaWNrTGlzdGVuZXIsIGZhbHNlKVxuICAgIH1cbiAgfVxuXG4gIC8qKlxuICAgKiBJbml0aWFsaXplIHRvY2JvdC5cbiAgICogQHBhcmFtIHtvYmplY3R9IGN1c3RvbU9wdGlvbnNcbiAgICovXG4gIHRvY2JvdC5pbml0ID0gZnVuY3Rpb24gKGN1c3RvbU9wdGlvbnMpIHtcbiAgICAvLyBmZWF0dXJlIHRlc3RcbiAgICBpZiAoIXN1cHBvcnRzKSB7XG4gICAgICByZXR1cm5cbiAgICB9XG5cbiAgICAvLyBNZXJnZSBkZWZhdWx0cyB3aXRoIHVzZXIgb3B0aW9ucy5cbiAgICAvLyBTZXQgdG8gb3B0aW9ucyB2YXJpYWJsZSBhdCB0aGUgdG9wLlxuICAgIG9wdGlvbnMgPSBleHRlbmQoZGVmYXVsdE9wdGlvbnMsIGN1c3RvbU9wdGlvbnMgfHwge30pXG4gICAgdGhpcy5vcHRpb25zID0gb3B0aW9uc1xuICAgIHRoaXMuc3RhdGUgPSB7fVxuXG4gICAgLy8gSW5pdCBzbW9vdGggc2Nyb2xsIGlmIGVuYWJsZWQgKGRlZmF1bHQpLlxuICAgIGlmIChvcHRpb25zLnNtb290aFNjcm9sbCkge1xuICAgICAgdG9jYm90LnplbnNjcm9sbCA9IHJlcXVpcmUoJ3plbnNjcm9sbCcpXG4gICAgICB0b2Nib3QuemVuc2Nyb2xsLnNldHVwKG9wdGlvbnMuc21vb3RoU2Nyb2xsRHVyYXRpb24pXG4gICAgfVxuXG4gICAgLy8gUGFzcyBvcHRpb25zIHRvIHRoZXNlIG1vZHVsZXMuXG4gICAgYnVpbGRIdG1sID0gQnVpbGRIdG1sKG9wdGlvbnMpXG4gICAgcGFyc2VDb250ZW50ID0gUGFyc2VDb250ZW50KG9wdGlvbnMpXG5cbiAgICAvLyBGb3IgdGVzdGluZyBwdXJwb3Nlcy5cbiAgICB0aGlzLl9idWlsZEh0bWwgPSBidWlsZEh0bWxcbiAgICB0aGlzLl9wYXJzZUNvbnRlbnQgPSBwYXJzZUNvbnRlbnRcblxuICAgIC8vIERlc3Ryb3kgaXQgaWYgaXQgZXhpc3RzIGZpcnN0LlxuICAgIHRvY2JvdC5kZXN0cm95KClcblxuICAgIC8vIEdldCBoZWFkaW5ncyBhcnJheS5cbiAgICBoZWFkaW5nc0FycmF5ID0gcGFyc2VDb250ZW50LnNlbGVjdEhlYWRpbmdzKG9wdGlvbnMuY29udGVudFNlbGVjdG9yLCBvcHRpb25zLmhlYWRpbmdTZWxlY3RvcilcbiAgICAvLyBSZXR1cm4gaWYgbm8gaGVhZGluZ3MgYXJlIGZvdW5kLlxuICAgIGlmIChoZWFkaW5nc0FycmF5ID09PSBudWxsKSB7XG4gICAgICByZXR1cm5cbiAgICB9XG5cbiAgICAvLyBCdWlsZCBuZXN0ZWQgaGVhZGluZ3MgYXJyYXkuXG4gICAgdmFyIG5lc3RlZEhlYWRpbmdzT2JqID0gcGFyc2VDb250ZW50Lm5lc3RIZWFkaW5nc0FycmF5KGhlYWRpbmdzQXJyYXkpXG4gICAgdmFyIG5lc3RlZEhlYWRpbmdzID0gbmVzdGVkSGVhZGluZ3NPYmoubmVzdFxuXG4gICAgLy8gUmVuZGVyLlxuICAgIGJ1aWxkSHRtbC5yZW5kZXIob3B0aW9ucy50b2NTZWxlY3RvciwgbmVzdGVkSGVhZGluZ3MpXG5cbiAgICAvLyBVcGRhdGUgU2lkZWJhciBhbmQgYmluZCBsaXN0ZW5lcnMuXG4gICAgdGhpcy5fc2Nyb2xsTGlzdGVuZXIgPSB0aHJvdHRsZShmdW5jdGlvbiAoZSkge1xuICAgICAgYnVpbGRIdG1sLnVwZGF0ZVRvYyhoZWFkaW5nc0FycmF5KVxuICAgICAgdmFyIGlzVG9wID0gZSAmJiBlLnRhcmdldCAmJiBlLnRhcmdldC5zY3JvbGxpbmdFbGVtZW50ICYmIGUudGFyZ2V0LnNjcm9sbGluZ0VsZW1lbnQuc2Nyb2xsVG9wID09PSAwXG4gICAgICBpZiAoKGUgJiYgZS5ldmVudFBoYXNlID09PSAwKSB8fCBpc1RvcCkge1xuICAgICAgICBidWlsZEh0bWwuZW5hYmxlVG9jQW5pbWF0aW9uKClcbiAgICAgICAgYnVpbGRIdG1sLnVwZGF0ZVRvYyhoZWFkaW5nc0FycmF5KVxuICAgICAgICBpZiAob3B0aW9ucy5zY3JvbGxFbmRDYWxsYmFjaykge1xuICAgICAgICAgIG9wdGlvbnMuc2Nyb2xsRW5kQ2FsbGJhY2soZSlcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH0sIG9wdGlvbnMudGhyb3R0bGVUaW1lb3V0KVxuICAgIHRoaXMuX3Njcm9sbExpc3RlbmVyKClcbiAgICBkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCdzY3JvbGwnLCB0aGlzLl9zY3JvbGxMaXN0ZW5lciwgZmFsc2UpXG4gICAgZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lcigncmVzaXplJywgdGhpcy5fc2Nyb2xsTGlzdGVuZXIsIGZhbHNlKVxuXG4gICAgLy8gQmluZCBjbGljayBsaXN0ZW5lcnMgdG8gZGlzYWJsZSBhbmltYXRpb24uXG4gICAgdGhpcy5fY2xpY2tMaXN0ZW5lciA9IHRocm90dGxlKGZ1bmN0aW9uIChldmVudCkge1xuICAgICAgaWYgKG9wdGlvbnMuc21vb3RoU2Nyb2xsKSB7XG4gICAgICAgIGJ1aWxkSHRtbC5kaXNhYmxlVG9jQW5pbWF0aW9uKGV2ZW50KVxuICAgICAgfVxuICAgICAgYnVpbGRIdG1sLnVwZGF0ZVRvYyhoZWFkaW5nc0FycmF5KVxuICAgIH0sIG9wdGlvbnMudGhyb3R0bGVUaW1lb3V0KVxuICAgIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoJ2NsaWNrJywgdGhpcy5fY2xpY2tMaXN0ZW5lciwgZmFsc2UpXG5cbiAgICByZXR1cm4gdGhpc1xuICB9XG5cbiAgLyoqXG4gICAqIFJlZnJlc2ggdG9jYm90LlxuICAgKi9cbiAgdG9jYm90LnJlZnJlc2ggPSBmdW5jdGlvbiAoY3VzdG9tT3B0aW9ucykge1xuICAgIHRvY2JvdC5kZXN0cm95KClcbiAgICB0b2Nib3QuaW5pdChjdXN0b21PcHRpb25zIHx8IHRoaXMub3B0aW9ucylcbiAgfVxuXG4gIC8vIE1ha2UgdG9jYm90IGF2YWlsYWJsZSBnbG9iYWxseS5cbiAgcm9vdC50b2Nib3QgPSB0b2Nib3RcblxuICByZXR1cm4gdG9jYm90XG59KVxuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvanMvaW5kZXguanNcbi8vIG1vZHVsZSBpZCA9IDVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBIiwic291cmNlUm9vdCI6IiJ9\");\n\n/***/ })\n/******/ ]);"
  },
  {
    "path": "src/main/resources/templates/about.html",
    "content": "\n<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n    <!-- Standard Meta 适配移动设备 -->\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n\n    <title th:text=\"'关于我 | '+ #{web_Name}\"></title>\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n    <meta name=\"description\" th:content=\"#{web_Description}\">\n\n    <div th:insert=\"/fragments/header :: common-js\"></div>\n</head>\n<body>\n\n<div id=\"workingArea\">\n\n\n    <div th:replace=\"/fragments/header :: menu\"></div>\n\n    <div id=\"fillBackground\" class=\"\" >\n    </div>\n\n    <div class=\"pageHeadContainer\">\n        <img th:src=\"#{about_Background}\" class=\"ui image backgroundImg\">\n        <div class=\"backgroundLayout\">\n            <div class=\"myInfoDiv\" align=\"center\">\n                <div>\n                    <span class=\"name\" th:text=\"#{web_Name}\">博客名字</span>\n                </div>\n                <div class=\"word\">\n                    天生我材必有用\n                </div>\n            </div>\n        </div>\n    </div>\n\n    <div class=\"aboutMeContent\">\n        <div class=\"ui raised teal segment\">\n            <div class=\"ui vertical stackable grid container\">\n                <div class=\"row\">\n                    <h4 class=\"ui header aboutMeTitle\">关于我</h4>\n                </div>\n                <div class=\"typo ui\">\n                    <div class=\"aboutMe\">\n                        <div class=\"item\">\n                            <span class=\"span header\">个人介绍</span>\n                        </div>\n                        <div class=\"item\">\n                            <div class=\"itemContent\">\n                                <p> 大三学生，了解基本前端知识，主攻Java后端开发。 </p>\n                            </div>\n                        </div>\n                        <div class=\"item\">\n                            <span class=\"itemHeader\">擅长技术:</span>\n                            <div class=\"itemContent\">\n                                <p>熟悉 Java 语言基础（集合、反射、多线程等）</p>\n                                <p>熟悉基本数据结构以及常用算法</p>\n                                <p>熟悉 MySQL、Redis 的使用，了解 Mysql 索引、锁等基本原理</p>\n                                <p>熟悉计算机网络、计算机组成原理以及操作系统知识</p>\n                                <p>了解Spring、SpringMVC、SpringBoot、Mybatis等框架</p>\n                                <p>了解常用设计模式以及基本前端知识，了解JVM的基本知识</p>\n                                <p>工具：掌握Maven、Git、Linux等工具的常用命令 </p>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"blog\">\n                        <div class=\"item\">\n                            <span class=\"span header\">博客介绍</span>\n                        </div>\n                        <div class=\"item\">\n                            <span class=\"item\">博客名字:</span>\n                            <span class=\"spanContent\"> 文若君 </span>\n                        </div>\n                        <div class=\"item\">\n                            <span class=\"item\">博客网址:</span>\n                            <span class=\"spanContent\"> www.isbut.cn</span>\n                        </div>\n                        <div class=\"item\">\n                            <span class=\"item\">创建时间:</span>\n                            <span class=\"spanContent\"> 2021-03-15</span>\n                        </div>\n                        <div class=\"item\">\n                            <span class=\"itemHeader\">博客使用的技术:</span>\n                            <div class=\"itemContent\">\n                                <p>1、页面原型：html5，css3，js，jQuery，semantic UI以及一些插件</p>\n                                <p>2、后端：springboot，mybatis，mysql </p>\n                                <p>项目可能会存在小bug，如果发现了可以到Github提交issue修复</p>\n                                <p>Github项目地址:</p>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"futurePlan\">\n                        <div class=\"item\">\n                            <span class=\"span header\">我的规划</span>\n                        </div>\n                        <div class=\"item\">\n                            <div class=\"itemContent\">\n                                <p>1、巩固以前学的技术</p>\n                                <p>2、复习知识并且查漏补缺</p>\n                                <p>3、每日打卡自己定下的目标</p>\n                                <p>4、学习Vue后整合shiro升级博客</p>\n                            </div>\n                        </div>\n                        <div class=\"item\">\n                            <span class=\"itemHeader\">长远规划:</span>\n                            <div class=\"itemContent\">\n                                <p>1、好好学习</p>\n                                <p>2、快乐生活</p>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"logUpdate\">\n                        <div class=\"item\">\n                            <span class=\"span header\">更新日志</span>\n                        </div>\n                        <div class=\"item\">\n                            <div class=\"itemContent\">\n                                <p>暂时不写</p>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"row\">\n                    <h4 class=\"end\">我也是有底线的哦!</h4>\n                </div>\n            </div>\n        </div>\n    </div>\n    <!-- end  -->\n\n    <button  id=\"toTop\" class=\"circular ui icon button\" style=\"display: none;\">\n        <i class=\"ui caret up icon\"></i>\n    </button>\n\n\n    <div>\n        <div class=\"ui tiny modal tipModal\">\n            <div class=\"ui header\">提示</div>\n            <div class=\"content\">\n\n            </div>\n            <div class=\"actions\">\n                <div class=\"ui teal button\" id=\"tipCloseButton\">\n                    确定\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n\n</body>\n</html>\n"
  },
  {
    "path": "src/main/resources/templates/admin/ai-assistant.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n  <!--**********************************\n       Nav header start\n   ***********************************-->\n  <div class=\"nav-header\">\n    <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n      <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n          <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        </mask>\n        <g mask=\"\">\n          <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n          <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n        </g>\n      </svg>\n      <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n      </svg> </a>\n    <div class=\"nav-control\">\n      <div class=\"hamburger\">\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n      </div>\n    </div>\n  </div>\n  <!--**********************************\n       Nav header end\n   ***********************************-->\n  <!--**********************************\n       Sidebar start\n   ***********************************-->\n  <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n  <!--**********************************\n       Sidebar end\n   ***********************************-->\n  <!--**********************************\n       Content body start\n   ***********************************-->\n  <div class=\"content-body\">\n    <div class=\"container-fluid\">\n      <div class=\"row page-titles\">\n        <ol class=\"breadcrumb\">\n          <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n          <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">AI 智能助手</a></li>\n        </ol>\n      </div>\n\n      <!-- AI 状态提示 -->\n      <div class=\"row\">\n        <div class=\"col-lg-12\">\n          <div id=\"ai-status-alert\" class=\"alert alert-info\">\n            <strong>AI 状态：</strong> <span id=\"ai-status-text\">检测中...</span>\n          </div>\n        </div>\n      </div>\n\n      <!-- AI 功能卡片 -->\n      <div class=\"row\">\n        <!-- 文章摘要生成 -->\n        <div class=\"col-xl-6 col-lg-6 mb-4\">\n          <div class=\"card\">\n            <div class=\"card-header\">\n              <h4 class=\"card-title\">智能摘要生成</h4>\n            </div>\n            <div class=\"card-body\">\n              <p class=\"text-muted\">输入文章内容，AI 自动生成简洁的摘要。</p>\n              <div class=\"mb-3\">\n                <textarea id=\"summary-content\" class=\"form-control\" rows=\"6\" placeholder=\"粘贴文章内容...\"></textarea>\n              </div>\n              <button id=\"btn-summary\" onclick=\"generateSummary()\" class=\"btn btn-primary\">\n                <span class=\"spinner-border spinner-border-sm d-none\" id=\"summary-loading\"></span>\n                生成摘要\n              </button>\n              <div id=\"summary-result\" class=\"mt-3 alert alert-success d-none\"></div>\n            </div>\n          </div>\n        </div>\n\n        <!-- 标签推荐 -->\n        <div class=\"col-xl-6 col-lg-6 mb-4\">\n          <div class=\"card\">\n            <div class=\"card-header\">\n              <h4 class=\"card-title\">智能标签推荐</h4>\n            </div>\n            <div class=\"card-body\">\n              <p class=\"text-muted\">根据标题和内容，AI 推荐合适的标签。</p>\n              <div class=\"mb-3\">\n                <input type=\"text\" id=\"tag-title\" class=\"form-control mb-2\" placeholder=\"文章标题\">\n                <textarea id=\"tag-content\" class=\"form-control\" rows=\"4\" placeholder=\"文章内容...\"></textarea>\n              </div>\n              <button id=\"btn-tags\" onclick=\"suggestTags()\" class=\"btn btn-success\">\n                <span class=\"spinner-border spinner-border-sm d-none\" id=\"tag-loading\"></span>\n                获取推荐标签\n              </button>\n              <div id=\"tag-result\" class=\"mt-3 d-none\">\n                <strong>推荐标签：</strong>\n                <div id=\"tag-list\" class=\"mt-2\"></div>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <!-- 文章质量评分 -->\n        <div class=\"col-xl-6 col-lg-6 mb-4\">\n          <div class=\"card\">\n            <div class=\"card-header\">\n              <h4 class=\"card-title\">文章质量评分</h4>\n            </div>\n            <div class=\"card-body\">\n              <p class=\"text-muted\">AI 评估文章质量并给出改进建议。</p>\n              <div class=\"mb-3\">\n                <input type=\"text\" id=\"score-title\" class=\"form-control mb-2\" placeholder=\"文章标题\">\n                <textarea id=\"score-content\" class=\"form-control\" rows=\"4\" placeholder=\"文章内容...\"></textarea>\n              </div>\n              <button id=\"btn-score\" onclick=\"scoreArticle()\" class=\"btn btn-warning\">\n                <span class=\"spinner-border spinner-border-sm d-none\" id=\"score-loading\"></span>\n                开始评分\n              </button>\n              <div id=\"score-result\" class=\"mt-3 d-none\">\n                <div class=\"d-flex align-items-center mb-2\">\n                  <span class=\"display-4 me-3\" id=\"score-value\">0</span>\n                  <span class=\"badge\" id=\"score-level\">--</span>\n                </div>\n                <p id=\"score-suggestion\" class=\"text-muted\"></p>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <!-- 使用说明 -->\n        <div class=\"col-xl-6 col-lg-6 mb-4\">\n          <div class=\"card\">\n            <div class=\"card-header\">\n              <h4 class=\"card-title\">使用说明</h4>\n            </div>\n            <div class=\"card-body\">\n              <h6>配置 AI 服务</h6>\n              <p class=\"small text-muted\">\n                在 <code>application-dev.yml</code> 中配置：<br>\n                <code>ai.api.key: your-openai-api-key</code>\n              </p>\n\n              <h6>支持的模型</h6>\n              <ul class=\"small text-muted\">\n                <li>OpenAI GPT-3.5/4</li>\n                <li>阿里云通义千问</li>\n                <li>百度文心一言</li>\n                <li>其他兼容 OpenAI API 的模型</li>\n              </ul>\n\n              <h6>注意事项</h6>\n              <ul class=\"small text-muted\">\n                <li>API Key 请通过环境变量配置，不要硬编码</li>\n                <li>AI 生成功能需要联网</li>\n                <li>免费额度用完后可能需要付费</li>\n              </ul>\n            </div>\n          </div>\n        </div>\n      </div>\n\n      <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n    </div>\n  </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n<script>\n    // 检查 AI 状态\n    $(document).ready(function() {\n        $.get('/admin/ai/status', function(res) {\n            if (res.code === 200 && res.data.enabled) {\n                $('#ai-status-alert').removeClass('alert-info').addClass('alert-success');\n                $('#ai-status-text').text('AI 服务正常运行');\n            } else {\n                $('#ai-status-alert').removeClass('alert-info').addClass('alert-warning');\n                $('#ai-status-text').text('AI 服务未配置，请在 application-dev.yml 中设置 ai.api.key');\n            }\n        }).fail(function() {\n            $('#ai-status-alert').removeClass('alert-info').addClass('alert-danger');\n            $('#ai-status-text').text('无法连接 AI 服务');\n        });\n    });\n\n    // 生成摘要\n    function generateSummary() {\n        var content = $('#summary-content').val();\n        if (!content.trim()) {\n            alert('请输入文章内容');\n            return;\n        }\n\n        $('#summary-loading').removeClass('d-none');\n        $('#btn-summary').prop('disabled', true);\n        $.post('/admin/ai/summary', {content: content}, function(res) {\n            $('#summary-loading').addClass('d-none');\n            $('#btn-summary').prop('disabled', false);\n            if (res.code === 200) {\n                $('#summary-result').removeClass('d-none').text(res.data);\n            } else {\n                alert(res.msg || '生成失败');\n            }\n        }).fail(function() {\n            $('#summary-loading').addClass('d-none');\n            $('#btn-summary').prop('disabled', false);\n            alert('请求失败，请检查网络连接');\n        });\n    }\n\n    // 推荐标签\n    function suggestTags() {\n        var title = $('#tag-title').val();\n        var content = $('#tag-content').val();\n\n        if (!title.trim() || !content.trim()) {\n            alert('请输入标题和内容');\n            return;\n        }\n\n        $('#tag-loading').removeClass('d-none');\n        $('#btn-tags').prop('disabled', true);\n        $.post('/admin/ai/suggest-tags', {title: title, content: content}, function(res) {\n            $('#tag-loading').addClass('d-none');\n            $('#btn-tags').prop('disabled', false);\n            if (res.code === 200 && res.data) {\n                $('#tag-result').removeClass('d-none');\n                var tags = res.data;\n                var html = '';\n                tags.forEach(function(tag) {\n                    html += '<span class=\"badge badge-primary me-2 mb-1\">' + $('<span>').text(tag).html() + '</span> ';\n                });\n                $('#tag-list').html(html);\n            } else {\n                alert(res.msg || '获取失败');\n            }\n        }).fail(function() {\n            $('#tag-loading').addClass('d-none');\n            $('#btn-tags').prop('disabled', false);\n            alert('请求失败，请检查网络连接');\n        });\n    }\n\n    // 文章评分\n    function scoreArticle() {\n        var title = $('#score-title').val();\n        var content = $('#score-content').val();\n\n        if (!title.trim() || !content.trim()) {\n            alert('请输入标题和内容');\n            return;\n        }\n\n        $('#score-loading').removeClass('d-none');\n        $('#btn-score').prop('disabled', true);\n        $.post('/admin/ai/score', {title: title, content: content}, function(res) {\n            $('#score-loading').addClass('d-none');\n            $('#btn-score').prop('disabled', false);\n            if (res.code === 200) {\n                $('#score-result').removeClass('d-none');\n                $('#score-value').text(res.data.score);\n                $('#score-level').text(res.data.level)\n                                 .removeClass('badge-success badge-warning badge-danger')\n                                 .addClass(getScoreBadgeClass(res.data.score));\n                $('#score-suggestion').text(res.data.suggestion);\n            } else {\n                alert(res.msg || '评分失败');\n            }\n        }).fail(function() {\n            $('#score-loading').addClass('d-none');\n            $('#btn-score').prop('disabled', false);\n            alert('请求失败，请检查网络连接');\n        });\n    }\n\n    function getScoreBadgeClass(score) {\n        if (score >= 80) return 'badge-success';\n        if (score >= 60) return 'badge-warning';\n        return 'badge-danger';\n    }\n</script>\n</body>\n</html>\n"
  },
  {
    "path": "src/main/resources/templates/admin/blogs-input.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css\">\n<link rel=\"stylesheet\" href=\"/lib/editormd/css/editormd.min.css\" >\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css\">\n<style>\n  .ui.basic.teal.label {\n    background-color: #FFF!important;\n    color: #2f3030!important;\n    border-color: #433b34!important;\n  }\n</style>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n  <!--**********************************\n       Nav header start\n   ***********************************-->\n  <div class=\"nav-header\">\n    <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n      <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n          <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        </mask>\n        <g mask=\"\">\n          <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n          <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n        </g>\n      </svg>\n      <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n      </svg> </a>\n    <div class=\"nav-control\">\n      <div class=\"hamburger\">\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n      </div>\n    </div>\n  </div>\n  <!--**********************************\n       Nav header end\n   ***********************************-->\n  <!--**********************************\n       Chat box start\n   ***********************************-->\n  <!--**********************************\n       Chat box End\n   ***********************************-->\n  <!--**********************************\n       Header start\n   ***********************************-->\n  <!--**********************************\n       Header end ti-comment-alt\n   ***********************************-->\n  <!--**********************************\n       Sidebar start\n   ***********************************-->\n  <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n  <!--**********************************\n       Sidebar end\n   ***********************************-->\n  <!--**********************************\n       Content body start\n   ***********************************-->\n  <div class=\"content-body\">\n    <div class=\"container-fluid\">\n      <div class=\"row page-titles\">\n        <ol class=\"breadcrumb\">\n          <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n          <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">文章列表</a></li>\n        </ol>\n      </div>\n      <!-- row -->\n      <div class=\"row\">\n        <div class=\"col-lg-12\">\n          <div class=\"card\">\n            <div class=\"card-header\">\n              <h4 class=\"card-title\">最近发布的文章</h4>\n            </div>\n\n            <form id=\"blog-form\" action=\"#\" th:object=\"${blog}\" th:action=\"@{/admin/blogs}\" method=\"post\" class=\"ui form\" style=\"left: 20px\">\n              <input type=\"hidden\" name=\"published\" th:value=\"*{published}\">  <!--发布状态-->\n              <input type=\"hidden\" name=\"id\" th:value=\"*{id}\">\n              <div class=\"required field\">\n                <div class=\"ui left labeled input\">\n                  <div class=\"ui selection compact teal basic dropdown label\">\n                    <input type=\"hidden\" value=\"true\" name=\"flag\" th:value=\"*{flag}\" >\n                    <i class=\"dropdown icon\"></i>\n                    <div class=\"text\">原创</div>\n                    <div class=\"menu\">\n                      <div class=\"item\" data-value=\"true\" >原创</div>\n                      <div class=\"item\" data-value=\"false\" >转载</div>\n                    </div>\n                  </div>\n                  <input type=\"text\" name=\"title\" placeholder=\"标题\" th:value=\"*{title}\">\n                </div>\n              </div>\n\n              <div class=\"two fields\">\n\n                <div class=\"required field\">\n                  <div class=\"ui left labeled action input\">\n                    <label class=\"ui compact teal basic label\">分类</label>\n                    <div class=\"ui fluid selection dropdown\">\n                      <!-- type.id 会将id值赋给blog的type对象-->\n                      <input type=\"hidden\" name=\"type.id\" th:value=\"*{typeId}\">\n                      <i class=\"dropdown icon\"></i>\n                      <div class=\"default text\">分类</div>\n                      <div class=\"menu\">\n                        <div th:each=\"type : ${types}\" class=\"item\" data-value=\"1\" th:data-value=\"${type.id}\" th:text=\"${type.name}\">摸鱼方法</div>\n                      </div>\n                    </div>\n                  </div>\n                </div>\n\n                <div class=\" field\">\n                  <div class=\"ui left labeled action input\">\n                    <label class=\"ui compact teal basic label\">标签</label>\n                    <div class=\"ui fluid selection multiple search  dropdown\">\n                      <input type=\"hidden\" name=\"tagIds\" th:value=\"*{tagIds}\" >\n                      <i class=\"dropdown icon\"></i>\n                      <div class=\"default text\">标签</div>\n                      <div class=\"menu\">\n                        <div th:each=\"tag : ${tags}\" class=\"item\" data-value=\"1\" th:data-value=\"${tag.id}\" th:text=\"${tag.name}\">java</div>\n                      </div>\n                    </div>\n                  </div>\n                  <button type=\"button\" id=\"ai-suggest-tags-btn\" class=\"ui mini teal button\" style=\"margin-top: 5px;\" onclick=\"aiSuggestTags()\">\n                    <i class=\"magic icon\"></i> AI 推荐标签\n                  </button>\n                </div>\n              </div>\n\n              <div class=\"required field\">  <!--required表示必须要填-->\n                <div class=\"ui left labeled input\">\n                  <label class=\"ui teal basic label\">首图</label>\n                  <input type=\"text\" name=\"firstPicture\" th:value=\"*{firstPicture}\" placeholder=\"首图引用地址\">\n                </div>\n              </div>\n\n              <div class=\"required field\">\n                <div id=\"md-content\" style=\"z-index: 1 !important;\">\n                  <textarea name=\"content\" th:text=\"*{content}\" placeholder=\"博客内容...\" maxlength=\"300\"></textarea>\n                </div>\n              </div>\n\n              <div class=\"required field\">\n                <div style=\"margin-bottom: 5px;\">\n                  <button type=\"button\" id=\"ai-summary-btn\" class=\"ui mini teal button\" onclick=\"aiGenerateSummary()\">\n                    <i class=\"magic icon\"></i> AI 生成摘要\n                  </button>\n                </div>\n                <div id=\"md-description\" style=\"z-index: 1 !important;\">\n                  <textarea name=\"description\" th:text=\"*{description}\" placeholder=\"博客描述...\" maxlength=\"300\"></textarea>\n                </div>\n              </div>\n\n              <div class=\"inline fields\">\n\n                <div class=\"field\">\n                  <div class=\"ui checkbox\">\n                    <input type=\"checkbox\" id=\"recommend\" name=\"recommend\" checked th:checked=\"*{recommend}\" class=\"hidden\">\n                    <label for=\"recommend\">推荐</label>\n                  </div>\n                </div>\n\n                <div class=\"field\">\n                  <div class=\"ui checkbox\">\n                    <input type=\"checkbox\" id=\"shareStatement\" name=\"shareStatement\" th:checked=\"*{shareStatement}\" class=\"hidden\">\n                    <label for=\"shareStatement\">转载声明</label>\n                  </div>\n                </div>\n\n                <div class=\"field\">\n                  <div class=\"ui checkbox\">\n                    <input type=\"checkbox\" id=\"appreciation\" name=\"appreciation\" th:checked=\"*{appreciation}\" class=\"hidden\">\n                    <label for=\"appreciation\">赞赏</label>\n                  </div>\n                </div>\n\n                <div class=\"field\">\n                  <div class=\"ui checkbox\">\n                    <input type=\"checkbox\" id=\"commentable\" name=\"commentable\" th:checked=\"*{commentable}\" class=\"hidden\">\n                    <label for=\"commentable\">评论</label>\n                  </div>\n                </div>\n\n              </div>\n\n              <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n\n              <div class=\"ui right aligned container\" style=\"position:relative;height:50px\">\n                <button type=\"button\" class=\"ui button\" onclick=\"window.history.go(-1)\" >返回</button>\n                <button type=\"button\" id=\"save-btn\" class=\"ui secondary button\">保存</button>\n                <button type=\"button\" id=\"publish-btn\" class=\"ui teal button\">发布</button>\n              </div>\n\n            </form>\n          </div>\n        </div>\n      </div>\n      <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n    </div>\n  </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<!--**********************************\n      Footer start\n  ***********************************-->\n<!--**********************************\n      Footer end\n  ***********************************-->\n<!--**********************************\n     Support ticket button start\n  ***********************************-->\n<!--**********************************\n     Support ticket button end\n  ***********************************-->\n<!--**********************************\n  Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n<!--<script src=\"https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js\"></script>-->\n<script src=\"https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js\"></script>\n<script src=\"/lib/editormd/editormd.min.js\" ></script>\n<script>\n\n  //初始化Markdown编辑器\n  var contentEditor;\n  $(function() {\n    contentEditor = editormd(\"md-content\", {\n      width   : \"100%\",\n      height  : 640,\n      syncScrolling : \"single\",\n      path    : \"/lib/editormd/lib/\"\n    });\n  });\n\n  $('.menu.toggle').click(function () {\n    $('.m-item').toggleClass('m-mobile-hide');\n  });\n\n  $('.ui.dropdown').dropdown({\n    on : 'hover'\n  });\n\n  $('#save-btn').click(function () {     //点击保存，修改发布状态为false\n    $('[name=\"published\"]').val(false);\n    $('#blog-form').submit();\n  });\n\n\n  $('#publish-btn').click(function () {   //点击发布，修改发布状态为true\n    $('[name=\"published\"]').val(true);\n    $('#blog-form').submit();\n  });\n\n\n\n  $('.ui.form').form({    //表单元素非空验证\n    fields : {\n      title : {\n        identifier: 'title',\n        rules: [{\n          type : 'empty',\n          prompt: '标题：请输入博客标题'\n        }]\n      },\n      content : {\n        identifier: 'content',\n        rules: [{\n          type : 'empty',\n          prompt: '标题：请输入博客内容'\n        }]\n      },\n      typeId : {\n        identifier: 'type.id',\n        rules: [{\n          type : 'empty',\n          prompt: '标题：请输入博客分类'\n        }]\n      },\n      firstPicture : {\n        identifier: 'firstPicture',\n        rules: [{\n          type : 'empty',\n          prompt: '标题：请输入博客首图'\n        }]\n      },\n      description : {\n        identifier: 'description',\n        rules: [{\n          type : 'empty',\n          prompt: '标题：请输入博客描述'\n        }]\n      }\n    }\n  });\n\n  // AI 生成摘要\n  function aiGenerateSummary() {\n    var content = contentEditor.getMarkdown();\n    if (!content || !content.trim()) {\n      alert('请先输入博客内容');\n      return;\n    }\n    var $btn = $('#ai-summary-btn');\n    $btn.addClass('loading disabled');\n    $.post('/admin/ai/summary', {content: content}, function(res) {\n      $btn.removeClass('loading disabled');\n      if (res.code === 200 && res.data) {\n        // 将摘要填入描述编辑器\n        $('#md-description').find('textarea[name=\"description\"]').val(res.data);\n        // 如果 editormd 描述编辑器已初始化，也同步\n        if (typeof descriptionEditor !== 'undefined' && descriptionEditor) {\n          descriptionEditor.setMarkdown(res.data);\n        }\n        alert('摘要已生成并填入描述框');\n      } else {\n        alert(res.msg || 'AI 生成摘要失败');\n      }\n    }).fail(function() {\n      $btn.removeClass('loading disabled');\n      alert('请求失败，请检查 AI 服务是否已配置');\n    });\n  }\n\n  // AI 推荐标签\n  function aiSuggestTags() {\n    var title = $('input[name=\"title\"]').val();\n    var content = contentEditor.getMarkdown();\n    if (!title || !title.trim()) {\n      alert('请先输入文章标题');\n      return;\n    }\n    if (!content || !content.trim()) {\n      alert('请先输入博客内容');\n      return;\n    }\n    var $btn = $('#ai-suggest-tags-btn');\n    $btn.addClass('loading disabled');\n    $.post('/admin/ai/suggest-tags', {title: title, content: content}, function(res) {\n      $btn.removeClass('loading disabled');\n      if (res.code === 200 && res.data) {\n        var tags = res.data;\n        alert('AI 推荐标签：' + tags.join('、') + '\\n\\n请在标签下拉框中手动选择对应标签。');\n      } else {\n        alert(res.msg || 'AI 推荐标签失败');\n      }\n    }).fail(function() {\n      $btn.removeClass('loading disabled');\n      alert('请求失败，请检查 AI 服务是否已配置');\n    });\n  }\n\n</script>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/blogs.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n <body>\n  <header th:replace=\"admin/fragments/header::header\"></header>\n  <!--*******************\n    Preloader start\n********************-->\n  <!--*******************\n    Preloader end\n********************-->\n  <!--**********************************\n    Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n  <div id=\"main-wrapper\">\n   <!--**********************************\n        Nav header start\n    ***********************************-->\n   <div class=\"nav-header\">\n    <a href=\"/admin/index\" class=\"brand-logo\">\n     <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n      <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n      <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n       <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n      </mask>\n      <g mask=\"\">\n       <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n       <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n      </g>\n     </svg>\n     <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n      <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n      <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n      <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n      <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n      <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n     </svg> </a>\n    <div class=\"nav-control\">\n     <div class=\"hamburger\">\n      <span class=\"line\"></span>\n      <span class=\"line\"></span>\n      <span class=\"line\"></span>\n     </div>\n    </div>\n   </div>\n   <!--**********************************\n        Nav header end\n    ***********************************-->\n   <!--**********************************\n        Chat box start\n    ***********************************-->\n   <!--**********************************\n        Chat box End\n    ***********************************-->\n   <!--**********************************\n        Header start\n    ***********************************-->\n   <!--**********************************\n        Header end ti-comment-alt\n    ***********************************-->\n   <!--**********************************\n        Sidebar start\n    ***********************************-->\n   <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n   <!--**********************************\n        Sidebar end\n    ***********************************-->\n   <!--**********************************\n        Content body start\n    ***********************************-->\n   <div class=\"content-body\">\n    <div class=\"container-fluid\">\n     <div class=\"row page-titles\">\n      <ol class=\"breadcrumb\">\n       <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n       <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">文章列表</a></li>\n      </ol>\n     </div>\n     <!-- row -->\n     <div class=\"row\">\n      <div class=\"col-lg-12\">\n       <div class=\"card\">\n        <div class=\"card-header\">\n         <h4 class=\"card-title\">最近发布的文章</h4>\n        </div>\n\n\n        <div class=\"card-body\">\n         <div class=\"table-responsive\">\n          <table class=\"table table-responsive-md\">\n\n           <thead>\n            <tr>\n             <th style=\"width:80px;\"><strong>#</strong></th>\n             <th><strong>标题</strong></th>\n             <th><strong>类型</strong></th>\n             <th><strong>推荐</strong></th>\n             <th><strong>状态</strong></th>\n             <th><strong>更新时间</strong></th>\n             <th><strong>操作</strong></th>\n            </tr>\n           </thead>\n           <tbody>\n            <tr th:each=\"blog, iterStat : ${pageInfo.list}\">\n             <td th:text=\"${iterStat.count}\"><strong>序号</strong></td>\n             <td th:text=\"${blog.title}\">博客标题</td>\n             <td th:text=\"${blog.type.name}\">分类</td>\n             <td th:text=\"${blog.recommend} ? '是':'否'\">是</td>\n             <td><span th:class=\"${blog.published} ? 'badge light badge-success' : 'badge light badge-danger'\" th:text=\"${blog.published} ? '发布':'草稿'\">Successful</span></td>\n             <td th:text=\"${#dates.format(blog.updateTime,'yyyy-MM-dd')}\">时间</td>\n             <td>\n              <div class=\"dropdown\">\n               <button type=\"button\" class=\"btn btn-success light sharp\" data-bs-toggle=\"dropdown\">\n                <svg width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" >\n                 <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                  <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />\n                  <circle fill=\"#000000\" cx=\"5\" cy=\"12\" r=\"2\" />\n                  <circle fill=\"#000000\" cx=\"12\" cy=\"12\" r=\"2\" />\n                  <circle fill=\"#000000\" cx=\"19\" cy=\"12\" r=\"2\" />\n                 </g>\n                </svg> </button>\n               <div class=\"dropdown-menu\">\n                <a class=\"dropdown-item\" th:href=\"@{/admin/blogs/{id}/input(id=${blog.id})}\" href=\"#\">Edit</a>\n                <a class=\"dropdown-item\" th:href=\"@{/admin/blogs/{id}/delete(id=${blog.id})}\" onclick=\"return confirm('确定要删除该吗？三思啊! 删了可就没了！')\" href=\"#\">Delete</a>\n               </div>\n              </div> </td>\n            </tr>\n           </tbody>\n          </table>\n          <div class=\"ui segment m-inline-block\">\n           <p >当前第<span th:text=\"${pageInfo.pageNum}\"></span>页，总<span th:text=\"${pageInfo.pages}\"></span>页，共<span th:text=\"${pageInfo.total}\"></span>条记录</p>\n          </div>\n          <div class=\"card\">\n           <div class=\"card-body\">\n            <nav>\n             <ul class=\"pagination pagination-gutter\">\n              <li class=\"page-item page-indicator\">\n               <a class=\"page-link\" href=\"javascript:void(0)\" th:href=\"@{/admin/blogs(pageNum=${pageInfo.hasPreviousPage}?${pageInfo.prePage}:1)}\">\n                <i class=\"la la-angle-left\"></i></a></li>\n              <li class=\"page-item\" th:each=\"i:${#numbers.sequence(0,pageInfo.pages - 1)}\">\n               <a class=\"page-link\" th:href=\"@{/admin/blogs(pageNum=${i + 1})}\"  th:text=\"${i + 1}\">1</a>\n              </li>\n              <li class=\"page-item page-indicator\">\n               <a class=\"page-link\" href=\"javascript:void(0)\" th:href=\"@{/admin/blogs(pageNum=${pageInfo.hasNextPage}?${pageInfo.nextPage}:${pageInfo.pages})}\">\n                <i class=\"la la-angle-right\"></i></a></li>\n             </ul>\n            </nav>\n           </div>\n          </div>\n         </div>\n        </div>\n       </div>\n      </div>\n     </div>\n     <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n    </div>\n   </div>\n  </div>\n  <!--**********************************\n        Content body end\n    ***********************************-->\n  <!--**********************************\n        Footer start\n    ***********************************-->\n  <!--**********************************\n        Footer end\n    ***********************************-->\n  <!--**********************************\n       Support ticket button start\n    ***********************************-->\n  <!--**********************************\n       Support ticket button end\n    ***********************************-->\n  <!--**********************************\n    Main wrapper end\n***********************************-->\n  <div th:replace=\"admin/fragments/footer :: footer\"></div>\n  <!--**********************************\n    Scripts\n***********************************-->\n </body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/fragments/footer.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<div th:fragment=\"footer-content\">\n\n\n        <div class=\"copyright\">\n            <p>Copyright © Designed &amp; Developed by <a th:href=\"#{web_Github}\" target=\"_blank\" th:text=\"#{web_Name}\">学编程的文若</a> 2021</p>\n        </div>\n\n</div>\n<body th:fragment=\"footer\">\n<!-- Required vendors -->\n<script src=\"/backend/vendor/global/global.min.js\"></script>\n<script src=\"/backend/vendor/jquery-nice-select/js/jquery.nice-select.min.js\"></script>\n\n<!-- Dashboard 1 -->\n\n\n<script src=\"/backend/js/custom.min.js\"></script>\n<script src=\"/backend/js/deznav-init.js\"></script>\n<script src=\"/backend/js/demo.js\"></script>\n<script src=\"/backend/js/styleSwitcher.js\"></script>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/fragments/header.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header id=\"header\" class=\"header\" th:fragment=\"header\">\n\n        <meta charset=\"utf-8\">\n        <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n        <meta name=\"keywords\" th:content=\"#{web_Keywords}\" />\n        <meta name=\"author\" th:content=\"#{web_Name}\" />\n        <meta name=\"robots\" content=\"\" />\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n        <meta name=\"description\" content=\"\" />\n        <meta name=\"format-detection\" content=\"telephone=no\">\n        <!-- PAGE TITLE HERE -->\n        <title th:text=\"#{web_Name} + ' | 博客后台管理系统'\">博客后台管理系统</title>\n        <!-- FAVICONS ICON -->\n        <link rel=\"icon\" type=\"image/x-icon\" th:href=\"#{web_Ico}\" />\n        <link href=\"/backend/vendor/owl-carousel/owl.carousel.css\" rel=\"stylesheet\">\n        <link href=\"/backend/vendor/jquery-nice-select/css/nice-select.css\" rel=\"stylesheet\">\n        <!-- Style css -->\n        <link href=\"/backend/css/style.css\" rel=\"stylesheet\">\n</header>\n<div id=\"preloader\" th:fragment=\"preloader\">\n    <div style=\"width:40px;height:40px;border:4px solid #e0e0e0;border-top-color:#2258BF;border-radius:50%;animation:admin-spin .7s linear infinite\"></div>\n    <style>@keyframes admin-spin{to{transform:rotate(360deg)}}</style>\n</div>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/fragments/sidebar.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<aside id=\"sidebar\" class=\"sidebar\" th:fragment=\"sidebar\">\n    <div class=\"deznav\">\n        <div class=\"deznav-scroll\">\n            <div class=\"dropdown header-profile\">\n                <a class=\"nav-link\" href=\"javascript:void(0);\" role=\"button\" data-bs-toggle=\"dropdown\">\n                    <img src=\"/backend/images/profile/pic1.jpg\" width=\"20\" alt=\"\"  th:src=\"${session.user.getAvatar()}\" />\n                    <div class=\"header-info\">\n                        <span class=\"font-w400 mb-0\">Hello,<b th:text=\"${session.user.getNickname()}\">William</b></span>\n                        <small class=\"text-end font-w400\" th:text=\"${session.user.getEmail()}\">williamfrancisson@mail.com</small>\n                    </div>\n                </a>\n            </div>\n            <ul class=\"metismenu\" id=\"menu\">\n                <li><a href=\"/admin\" >\n                    <i class=\"flaticon-025-dashboard\"></i>\n                    <span class=\"nav-text\">仪表盘</span>\n                </a>\n\n                </li>\n                <li><a class=\"has-arrow ai-icon\" href=\"javascript:void(0)\" aria-expanded=\"false\">\n                    <i class=\"flaticon-381-notebook-5\"></i>\n                    <span class=\"nav-text\">文章管理</span>\n                </a>\n                    <ul aria-expanded=\"false\">\n                        <li><a th:href=\"@{/admin/blogs/input}\">发布文章</a></li>\n                        <li><a th:href=\"@{/admin/blogs}\">文章列表</a></li>\n                    </ul>\n                </li>\n                <li><a class=\"has-arrow ai-icon\" href=\"javascript:void(0)\" aria-expanded=\"false\">\n                    <i class=\"flaticon-041-graph\"></i>\n                    <span class=\"nav-text\">分类管理</span>\n                </a>\n                    <ul aria-expanded=\"false\">\n                        <li><a th:href=\"@{/admin/types/input}\">新增分类</a></li>\n                        <li><a th:href=\"@{/admin/types}\">分类列表</a></li>\n                    </ul>\n                </li>\n                <li><a class=\"has-arrow ai-icon\" href=\"javascript:void(0)\" aria-expanded=\"false\" >\n                    <i class=\"flaticon-086-star\"></i>\n                    <span class=\"nav-text\">标签管理</span>\n                </a>\n                    <ul aria-expanded=\"false\">\n                        <li><a th:href=\"@{/admin/tags/input}\">新增标签</a></li>\n                        <li><a th:href=\"@{/admin/tags}\">标签列表</a></li>\n                    </ul>\n                </li>\n                <li><a class=\"has-arrow ai-icon\" href=\"javascript:void(0)\" aria-expanded=\"false\" >\n                    <i class=\"flaticon-045-heart\"></i>\n                    <span class=\"nav-text\">友链管理</span>\n                </a>\n                    <ul >\n                        <li><a th:href=\"@{/admin/friendLinks/input}\">新增友链</a></li>\n                        <li><a th:href=\"@{/admin/friendLinks}\">友链管理</a></li>\n                    </ul>\n                </li>\n                <li><a class=\"has-arrow ai-icon\" href=\"javascript:void(0)\" aria-expanded=\"false\" >\n                    <i class=\"flaticon-381-user-8\"></i>\n                    <span class=\"nav-text\">用户管理</span>\n                </a>\n                    <ul >\n                        <li><a th:href=\"@{/admin/users/input}\">新增用户</a></li>\n                        <li><a th:href=\"@{/admin/users}\">用户列表</a></li>\n                        <li><a th:href=\"@{/admin/logout}\">注销</a></li>\n                    </ul>\n                </li>\n                <li><a class=\"has-arrow ai-icon\" href=\"/admin/ai/assistant\" aria-expanded=\"false\" >\n                    <i class=\"la la-magic\"></i>\n                    <span class=\"nav-text\">AI 助手</span>\n                </a>\n                </li>\n                <li><a class=\"has-arrow ai-icon\" href=\"/admin/settings\" aria-expanded=\"false\" >\n                    <i class=\"flaticon-022-copy\"></i>\n                    <span class=\"nav-text\">网站设置</span>\n                </a>\n                </li>\n            </ul>\n            <div class=\"copyright\">\n                <p><strong>博客后台管理</strong> © 2022 All Rights Reserved</p>\n                <p class=\"fs-12\">Made with <span class=\"heart heart-blast\"></span> by 学编程的文若</p>\n            </div>\n        </div>\n    </div>\n</aside>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/friendLinks-input.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n    <!--**********************************\n         Nav header start\n     ***********************************-->\n    <div class=\"nav-header\">\n        <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n            <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n                <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n                    <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n                </mask>\n                <g mask=\"\">\n                    <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n                    <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n                </g>\n            </svg>\n            <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n            </svg> </a>\n        <div class=\"nav-control\">\n            <div class=\"hamburger\">\n                <span class=\"line\"></span>\n                <span class=\"line\"></span>\n                <span class=\"line\"></span>\n            </div>\n        </div>\n    </div>\n    <!--**********************************\n         Nav header end\n     ***********************************-->\n    <!--**********************************\n         Chat box start\n     ***********************************-->\n    <!--**********************************\n         Chat box End\n     ***********************************-->\n    <!--**********************************\n         Header start\n     ***********************************-->\n    <!--**********************************\n         Header end ti-comment-alt\n     ***********************************-->\n    <!--**********************************\n         Sidebar start\n     ***********************************-->\n    <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n    <!--**********************************\n         Sidebar end\n     ***********************************-->\n    <!--**********************************\n         Content body start\n     ***********************************-->\n    <div class=\"content-body\">\n        <div class=\"container-fluid\">\n            <div class=\"row page-titles\">\n                <ol class=\"breadcrumb\">\n                    <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n                    <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">友链修改</a></li>\n                </ol>\n            </div>\n            <!-- row -->\n            <div class=\"row\">\n                <div class=\"col-lg-12\">\n                    <div class=\"card\">\n                        <div class=\"card-header\">\n                            <h4 class=\"card-title\">友链修改</h4>\n                        </div>\n\n\n                        <div class=\"card-body\">\n                            <form action=\"#\" method=\"post\" th:action=\"*{id}==null ? @{/admin/friendLinks} : @{/admin/friendLinks/{id}(id=*{id})} \" th:object=\"${friendLink}\" class=\"ui form\">\n                                <input type=\"hidden\" name=\"id\" th:value=\"*{id}\">\n                                <div class=\" field\">\n                                    <div class=\"input-group mb-3 \">\n                                        <span class=\"input-group-text\">博客名称</span>\n                                        <input type=\"text\" class=\"form-control input-default \"  name=\"blogName\" placeholder=\"博客名称\" th:value=\"*{blogName}\">\n                                    </div>\n                                    <div class=\"input-group mb-3 \">\n                                        <span class=\"input-group-text\">博客地址</span>\n                                        <input type=\"text\" class=\"form-control input-default \" name=\"blogAddress\" placeholder=\"博客地址\" th:value=\"*{blogAddress}\">\n                                    </div>\n                                    <div class=\"input-group mb-3 \">\n                                        <span class=\"input-group-text\">图片地址</span>\n                                        <input type=\"text\" class=\"form-control input-default \" name=\"pictureAddress\" placeholder=\"图片地址\" th:value=\"*{pictureAddress}\">\n                                    </div>\n                                </div>\n                                <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n                                <div class=\"ui right aligned container\">\n                                    <button type=\"button\" class=\"btn btn-rounded btn-dark\" onclick=\"window.history.go(-1)\" >返回</button>\n                                    <button class=\"btn btn-rounded btn-secondary\">提交</button>\n                                </div>\n\n                            </form>\n\n                        </div>\n                    </div>\n                </div>\n            </div>\n            <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n        </div>\n    </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<!--**********************************\n      Footer start\n  ***********************************-->\n<!--**********************************\n      Footer end\n  ***********************************-->\n<!--**********************************\n     Support ticket button start\n  ***********************************-->\n<!--**********************************\n     Support ticket button end\n  ***********************************-->\n<!--**********************************\n  Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n<script>\n\n\n    $('.ui.form').form({\n        fields : {\n            title : {\n                identifier: 'blogName',\n                rules: [{\n                    type : 'empty',\n                    prompt: '请输入友链名称'\n                }]\n            }\n        }\n    });\n\n</script>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/friendLinks.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n    <!--**********************************\n         Nav header start\n     ***********************************-->\n    <div class=\"nav-header\">\n        <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n            <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n                <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n                    <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n                </mask>\n                <g mask=\"\">\n                    <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n                    <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n                </g>\n            </svg>\n            <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n            </svg> </a>\n        <div class=\"nav-control\">\n            <div class=\"hamburger\">\n                <span class=\"line\"></span>\n                <span class=\"line\"></span>\n                <span class=\"line\"></span>\n            </div>\n        </div>\n    </div>\n    <!--**********************************\n         Nav header end\n     ***********************************-->\n    <!--**********************************\n         Chat box start\n     ***********************************-->\n    <!--**********************************\n         Chat box End\n     ***********************************-->\n    <!--**********************************\n         Header start\n     ***********************************-->\n    <!--**********************************\n         Header end ti-comment-alt\n     ***********************************-->\n    <!--**********************************\n         Sidebar start\n     ***********************************-->\n    <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n    <!--**********************************\n         Sidebar end\n     ***********************************-->\n    <!--**********************************\n         Content body start\n     ***********************************-->\n    <div class=\"content-body\">\n        <div class=\"container-fluid\">\n            <div class=\"row page-titles\">\n                <ol class=\"breadcrumb\">\n                    <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n                    <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">友链列表</a></li>\n                </ol>\n            </div>\n            <!-- row -->\n            <div class=\"row\">\n                <div class=\"col-lg-12\">\n                    <div class=\"card\">\n                        <div class=\"card-header\">\n                            <h4 class=\"card-title\">友链管理</h4>\n                        </div>\n\n\n                        <div class=\"card-body\">\n                            <div class=\"table-responsive\">\n                                <table class=\"table table-responsive-md\">\n\n                                    <thead>\n                                    <tr>\n                                        <th style=\"width:80px;\"><strong>#</strong></th>\n                                        <th><strong>博客名称</strong></th>\n                                        <th><strong>博客地址</strong></th>\n                                        <th><strong>图片地址</strong></th>\n                                        <th><strong>添加时间</strong></th>\n                                        <th><strong>操作</strong></th>\n                                    </tr>\n                                    </thead>\n                                    <tbody>\n                                    <tr th:each=\"friendLink, iterStat : ${pageInfo.list}\">\n                                        <td th:text=\"${iterStat.count}\"><strong>序号</strong></td>\n                                        <td th:text=\"${friendLink.blogName}\">网站名字</td>\n                                        <td th:text=\"${friendLink.blogAddress}\">address</td>\n                                        <td th:text=\"${friendLink.pictureAddress}\">picture</td>\n                                        <td th:text=\"${#dates.format(friendLink.createTime,'yyyy-MM-dd HH:mm')}\">时间</td>\n                                        <td>\n                                            <div class=\"dropdown\">\n                                                <button type=\"button\" class=\"btn btn-success light sharp\" data-bs-toggle=\"dropdown\">\n                                                    <svg width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" >\n                                                        <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                                                            <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />\n                                                            <circle fill=\"#000000\" cx=\"5\" cy=\"12\" r=\"2\" />\n                                                            <circle fill=\"#000000\" cx=\"12\" cy=\"12\" r=\"2\" />\n                                                            <circle fill=\"#000000\" cx=\"19\" cy=\"12\" r=\"2\" />\n                                                        </g>\n                                                    </svg> </button>\n                                                <div class=\"dropdown-menu\">\n                                                    <a class=\"dropdown-item\" th:href=\"@{/admin/friendLinks/{id}/input(id=${friendLink.id})}\" href=\"#\">Edit</a>\n                                                    <a class=\"dropdown-item\" th:href=\"@{/admin/friendLinks/{id}/delete(id=${friendLink.id})}\" onclick=\"return confirm('确定要删除吗？三思啊! 删了可就没了！')\" href=\"#\">Delete</a>\n                                                </div>\n                                            </div> </td>\n                                    </tr>\n                                    </tbody>\n                                </table>\n                                <div class=\"ui segment m-inline-block\">\n                                    <p >当前第<span th:text=\"${pageInfo.pageNum}\"></span>页，总<span th:text=\"${pageInfo.pages}\"></span>页，共<span th:text=\"${pageInfo.total}\"></span>条记录</p>\n                                </div>\n                                <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n                                <div class=\"card\">\n                                    <div class=\"card-body\">\n                                        <nav>\n                                            <ul class=\"pagination pagination-gutter\">\n                                                <li class=\"page-item page-indicator\">\n                                                    <a class=\"page-link\" href=\"javascript:void(0)\" th:href=\"@{/admin/friendLinks(pageNum=${pageInfo.hasPreviousPage}?${pageInfo.prePage}:1)}\">\n                                                        <i class=\"la la-angle-left\"></i></a></li>\n                                                <li class=\"page-item\" th:each=\"i:${#numbers.sequence(0,pageInfo.pages - 1)}\">\n                                                    <a class=\"page-link\" th:href=\"@{/admin/friendLinks(pageNum=${i + 1})}\"  th:text=\"${i + 1}\">1</a>\n                                                </li>\n                                                <li class=\"page-item page-indicator\">\n                                                    <a class=\"page-link\" href=\"javascript:void(0)\" th:href=\"@{/admin/friendLinks(pageNum=${pageInfo.hasNextPage}?${pageInfo.nextPage}:${pageInfo.pages})}\">\n                                                        <i class=\"la la-angle-right\"></i></a></li>\n                                            </ul>\n                                        </nav>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n            <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n        </div>\n    </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<!--**********************************\n      Footer start\n  ***********************************-->\n<!--**********************************\n      Footer end\n  ***********************************-->\n<!--**********************************\n     Support ticket button start\n  ***********************************-->\n<!--**********************************\n     Support ticket button end\n  ***********************************-->\n<!--**********************************\n  Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<header th:replace=\"admin/fragments/header::header\"></header>\n<link rel=\"stylesheet\" href=\"/backend/vendor/fullcalendar/css/main.min.css\">\n<body>\n\n<!--*******************\n    Preloader start\n********************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<!--*******************\n    Preloader end\n********************-->\n\n<!--**********************************\n    Main wrapper start\n***********************************-->\n<div id=\"main-wrapper\">\n\n    <!--**********************************\n        Nav header start\n    ***********************************-->\n    <div class=\"nav-header\">\n        <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n            <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewBox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\"/>\n                <mask maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n                    <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\"/>\n                </mask>\n                <g mask=\"\">\n                    <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\"/>\n                    <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\"/>\n                </g>\n            </svg>\n\n            <svg  class=\"brand-title\" width=\"79\" height=\"25\" viewBox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\"/>\n                <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\"/>\n                <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\"/>\n                <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\"/>\n                <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\"/>\n            </svg>\n\n        </a>\n        <div class=\"nav-control\">\n            <div class=\"hamburger\">\n                <span class=\"line\"></span><span class=\"line\"></span><span class=\"line\"></span>\n            </div>\n        </div>\n    </div>\n    <!--**********************************\n        Nav header end\n    ***********************************-->\n\n    <!--**********************************\n        Chat box start\n    ***********************************-->\n\n    <!--**********************************\n        Chat box End\n    ***********************************-->\n\n    <!--**********************************\n        Header start\n    ***********************************-->\n\n    <!--**********************************\n        Header end ti-comment-alt\n    ***********************************-->\n\n    <!--**********************************\n        Sidebar start\n    ***********************************-->\n<div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n    <!--**********************************\n        Sidebar end\n    ***********************************-->\n\n    <!--**********************************\n        Content body start\n    ***********************************-->\n    <div class=\"content-body\">\n        <div class=\"container-fluid\">\n            <div class=\"row page-titles\">\n                <ol class=\"breadcrumb\">\n                    <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">首页</a></li>\n                    <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">欢迎页</a></li>\n                </ol>\n            </div>\n            <!-- row -->\n            <div class=\"row\">\n\n                <div class=\"col-xl-3 col-xxl-6 col-lg-6 col-sm-6\">\n                    <div class=\"widget-stat card bg-danger\">\n                        <div class=\"card-body  p-4\">\n                            <div class=\"media\">\n\t\t\t\t\t\t\t\t\t<span class=\"me-3\">\n\t\t\t\t\t\t\t\t\t\t<i class=\"flaticon-381-calendar-1\"></i>\n\t\t\t\t\t\t\t\t\t</span>\n                                <div class=\"media-body text-white text-end\">\n                                    <p class=\"mb-1\">文章数量</p>\n                                    <h3 class=\"text-white\" th:text=\"${article_nums}\">76</h3>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"col-xl-3 col-xxl-6 col-lg-6 col-sm-6\">\n                    <div class=\"widget-stat card bg-success\">\n                        <div class=\"card-body p-4\">\n                            <div class=\"media\">\n\t\t\t\t\t\t\t\t\t<span class=\"me-3\">\n\t\t\t\t\t\t\t\t\t\t<i class=\"flaticon-381-diamond\"></i>\n\t\t\t\t\t\t\t\t\t</span>\n                                <div class=\"media-body text-white text-end\">\n                                    <p class=\"mb-1\">文章浏览量</p>\n                                    <h3 class=\"text-white\" th:text=\"${article_views}\">$56K</h3>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"col-xl-3 col-xxl-6 col-lg-6 col-sm-6\">\n                    <div class=\"widget-stat card bg-info\">\n                        <div class=\"card-body p-4\">\n                            <div class=\"media\">\n\t\t\t\t\t\t\t\t\t<span class=\"me-3\">\n\t\t\t\t\t\t\t\t\t\t<i class=\"flaticon-381-heart\"></i>\n\t\t\t\t\t\t\t\t\t</span>\n                                <div class=\"media-body text-white text-end\">\n                                    <p class=\"mb-1\">分类数量</p>\n                                    <h3 class=\"text-white\" th:text=\"${type_nums}\">783K</h3>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"col-xl-3 col-xxl-6 col-lg-6 col-sm-6\">\n                    <div class=\"widget-stat card bg-primary\">\n                        <div class=\"card-body p-4\">\n                            <div class=\"media\">\n\t\t\t\t\t\t\t\t\t<span class=\"me-3\">\n\t\t\t\t\t\t\t\t\t\t<i class=\"flaticon-381-heart\"></i>\n\t\t\t\t\t\t\t\t\t</span>\n                                <div class=\"media-body text-white text-end\">\n                                    <p class=\"mb-1\">标签数量</p>\n                                    <h3 class=\"text-white\" th:text=\"${tag_nums}\">$76</h3>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"col-xl-3 col-xxl-6 col-lg-6 col-sm-6\">\n                    <div class=\"widget-stat card bg-danger \">\n                        <div class=\"card-body p-4\">\n                            <div class=\"media\">\n\t\t\t\t\t\t\t\t\t<span class=\"me-3\">\n\t\t\t\t\t\t\t\t\t\t<i class=\"la la-dollar\"></i>\n\t\t\t\t\t\t\t\t\t</span>\n                                <div class=\"media-body text-white\">\n                                    <p class=\"mb-1\">平均阅读数</p>\n                                    <h3 class=\"text-white\" th:text=\"${avg_views}\">250$</h3>\n                                    <div class=\"progress mb-2 bg-secondary\">\n                                        <div class=\"progress-bar progress-animated bg-light\" style=\"width: 30%\"></div>\n                                    </div>\n                                    <small>文章平均阅读数</small>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"col-xl-3 col-xxl-6 col-lg-6 col-sm-6\">\n                    <div class=\"widget-stat card bg-primary\">\n                        <div class=\"card-body  p-4\">\n                            <div class=\"media\">\n\t\t\t\t\t\t\t\t\t<span class=\"me-3\">\n\t\t\t\t\t\t\t\t\t\t<i class=\"la la-users\"></i>\n\t\t\t\t\t\t\t\t\t</span>\n                                <div class=\"media-body text-white\">\n                                    <p class=\"mb-1\">留言数量</p>\n                                    <h3 class=\"text-white\" th:text=\"${message_nums}\">3280</h3>\n                                    <div class=\"progress mb-2 bg-secondary\">\n                                        <div class=\"progress-bar progress-animated bg-light\" style=\"width: 80%\"></div>\n                                    </div>\n                                    <small>留言墙上的留言</small>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"col-xl-3 col-xxl-6 col-lg-6 col-sm-6\">\n                    <div class=\"widget-stat card bg-warning\">\n                        <div class=\"card-body p-4\">\n                            <div class=\"media\">\n\t\t\t\t\t\t\t\t\t<span class=\"me-3\">\n\t\t\t\t\t\t\t\t\t\t<i class=\"la la-user\"></i>\n\t\t\t\t\t\t\t\t\t</span>\n                                <div class=\"media-body text-white\">\n                                    <p class=\"mb-1\">用户数量</p>\n                                    <h3 class=\"text-white\" th:text=\"${user_nums}\">245</h3>\n                                    <div class=\"progress mb-2 bg-primary\">\n                                        <div class=\"progress-bar progress-animated bg-light\" style=\"width: 50%\"></div>\n                                    </div>\n                                    <small>后台管理用户数</small>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"col-xl-3 col-xxl-6 col-lg-6 col-sm-6\">\n                    <div class=\"widget-stat card bg-secondary\">\n                        <div class=\"card-body p-4\">\n                            <div class=\"media\">\n\t\t\t\t\t\t\t\t\t<span class=\"me-3\">\n\t\t\t\t\t\t\t\t\t\t<i class=\"la la-graduation-cap\"></i>\n\t\t\t\t\t\t\t\t\t</span>\n                                <div class=\"media-body text-white\">\n                                    <p class=\"mb-1\">友链数量</p>\n                                    <h3 class=\"text-white\" th:text=\"${friendLink_nums}\">28</h3>\n                                    <div class=\"progress mb-2 bg-primary\">\n                                        <div class=\"progress-bar progress-animated bg-light\" style=\"width: 76%\"></div>\n                                    </div>\n                                    <small>交换友链有助于网站收录</small>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n\n            </div>\n\n            <!-- AI 状态 + 快捷操作 -->\n            <div class=\"row\">\n                <div class=\"col-xl-4 col-lg-6 mb-4\">\n                    <div class=\"card\">\n                        <div class=\"card-header\">\n                            <h4 class=\"card-title\">AI 服务状态</h4>\n                        </div>\n                        <div class=\"card-body\">\n                            <div th:if=\"${ai_enabled}\" class=\"d-flex align-items-center mb-3\">\n                                <span class=\"badge badge-success badge-lg me-3\" style=\"font-size:14px;\">运行中</span>\n                                <span>AI 智能助手已就绪</span>\n                            </div>\n                            <div th:unless=\"${ai_enabled}\" class=\"d-flex align-items-center mb-3\">\n                                <span class=\"badge badge-warning badge-lg me-3\" style=\"font-size:14px;\">未配置</span>\n                                <span>请在配置文件中设置 AI API Key</span>\n                            </div>\n                            <a href=\"/admin/ai/assistant\" class=\"btn btn-primary btn-sm\">\n                                <i class=\"la la-magic\"></i> 打开 AI 助手\n                            </a>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"col-xl-8 col-lg-6 mb-4\">\n                    <div class=\"card\">\n                        <div class=\"card-header\">\n                            <h4 class=\"card-title\">快捷操作</h4>\n                        </div>\n                        <div class=\"card-body\">\n                            <a th:href=\"@{/admin/blogs/input}\" class=\"btn btn-rounded btn-primary me-2 mb-2\">\n                                <i class=\"la la-pen\"></i> 发布文章\n                            </a>\n                            <a th:href=\"@{/admin/types/input}\" class=\"btn btn-rounded btn-info me-2 mb-2\">\n                                <i class=\"la la-folder-plus\"></i> 新增分类\n                            </a>\n                            <a th:href=\"@{/admin/tags/input}\" class=\"btn btn-rounded btn-success me-2 mb-2\">\n                                <i class=\"la la-tag\"></i> 新增标签\n                            </a>\n                            <a th:href=\"@{/admin/friendLinks/input}\" class=\"btn btn-rounded btn-warning me-2 mb-2\">\n                                <i class=\"la la-link\"></i> 新增友链\n                            </a>\n                            <a href=\"/admin/settings\" class=\"btn btn-rounded btn-secondary me-2 mb-2\">\n                                <i class=\"la la-cog\"></i> 网站设置\n                            </a>\n                            <a href=\"/admin/ai/assistant\" class=\"btn btn-rounded btn-dark me-2 mb-2\">\n                                <i class=\"la la-magic\"></i> AI 助手\n                            </a>\n                        </div>\n                    </div>\n                </div>\n            </div>\n\n            <!-- 最近发布的文章 -->\n            <div class=\"row\">\n                <div class=\"col-xl-12\">\n                    <div class=\"card\">\n                        <div class=\"card-header\">\n                            <h4 class=\"card-title\">最近发布的文章</h4>\n                            <a th:href=\"@{/admin/blogs}\" class=\"btn btn-primary btn-sm\">查看全部</a>\n                        </div>\n                        <div class=\"card-body\">\n                            <div class=\"table-responsive\">\n                                <table class=\"table table-hover table-responsive-md\">\n                                    <thead>\n                                        <tr>\n                                            <th>标题</th>\n                                            <th>分类</th>\n                                            <th>浏览量</th>\n                                            <th>状态</th>\n                                            <th>更新时间</th>\n                                        </tr>\n                                    </thead>\n                                    <tbody>\n                                        <tr th:each=\"blog : ${recentBlogs}\">\n                                            <td>\n                                                <a th:href=\"@{/blog/{id}(id=${blog.id})}\" target=\"_blank\" th:text=\"${blog.title}\">文章标题</a>\n                                            </td>\n                                            <td>\n                                                <span class=\"badge badge-primary\" th:text=\"${blog.type != null} ? ${blog.type.name} : '-'\">分类</span>\n                                            </td>\n                                            <td th:text=\"${blog.views}\">0</td>\n                                            <td>\n                                                <span th:if=\"${blog.published}\" class=\"badge badge-success\">已发布</span>\n                                                <span th:unless=\"${blog.published}\" class=\"badge badge-secondary\">草稿</span>\n                                            </td>\n                                            <td th:text=\"${blog.updateTime != null} ? ${#dates.format(blog.updateTime, 'yyyy-MM-dd HH:mm')} : '-'\">2024-01-01</td>\n                                        </tr>\n                                    </tbody>\n                                </table>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n\n        </div>\n    </div>\n    <!--**********************************\n        Content body end\n    ***********************************-->\n\n\n\n    <!--**********************************\n        Footer start\n    ***********************************-->\n    <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n\n    <!--**********************************\n        Footer end\n    ***********************************-->\n\n    <!--**********************************\n       Support ticket button start\n    ***********************************-->\n\n    <!--**********************************\n       Support ticket button end\n    ***********************************-->\n\n\n</div>\n<!--**********************************\n    Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n    Scripts\n***********************************-->\n<!-- Required vendors -->\n<script src=\"/backend/vendor/moment/moment.min.js\"></script>\n<script src=\"/backend/vendor/fullcalendar/js/main.min.js\"></script>\n<script src=\"/backend/js/fullcalendar-init.js\"></script>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/login.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" class=\"h-100\">\n\n<head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\" />\n    <meta name=\"author\" th:content=\"#{web_Name}\" />\n    <meta name=\"robots\" content=\"\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <meta name=\"description\" content=\"\" />\n    <meta name=\"format-detection\" content=\"telephone=no\">\n    <!-- PAGE TITLE HERE -->\n    <title th:text=\"#{web_Name} + ' | 博客后台管理系统'\">博客后台管理系统</title>\n    <!-- FAVICONS ICON -->\n    <link rel=\"shortcut icon\" type=\"image/png\" th:href=\"#{web_Ico}\" />\n\n    <!-- FAVICONS ICON -->\n    <link href=\"/backend/css/style.css\" rel=\"stylesheet\">\n\n</head>\n\n<body class=\"vh-100\">\n<div class=\"authincation h-100\">\n    <div class=\"container h-100\">\n        <div class=\"row justify-content-center h-100 align-items-center\">\n            <div class=\"col-md-6\">\n                <div class=\"authincation-content\">\n                    <div class=\"row no-gutters\">\n                        <div class=\"col-xl-12\">\n                            <div class=\"auth-form\">\n                                <div class=\"text-center mb-3\">\n                                    <a th:href=\"@{admin/index}\"><img src=\"/backend/images/logo-full.png\" alt=\"\"></a>\n                                </div>\n                                <h4 class=\"text-center mb-4\">管理界面</h4>\n                                <form method=\"post\" action=\"#\" th:action=\"@{admin/login}\">\n                                    <div class=\"mb-3\">\n                                        <label class=\"mb-1\"><strong>账号</strong></label>\n                                        <input type=\"username\" class=\"form-control\" name=\"username\">\n                                    </div>\n                                    <div class=\"mb-3\">\n                                        <label class=\"mb-1\"><strong>密码</strong></label>\n                                        <input type=\"password\" class=\"form-control\" name=\"password\">\n                                    </div>\n                                    <div class=\"row d-flex justify-content-between mt-4 mb-2\">\n                                        <div class=\"mb-3\">\n                                            <div class=\"form-check custom-checkbox ms-1\">\n                                                <input type=\"checkbox\" class=\"form-check-input\" id=\"basic_checkbox_1\">\n                                                <label class=\"form-check-label\" for=\"basic_checkbox_1\">Remember my preference</label>\n                                            </div>\n                                        </div>\n                                    </div>\n                                    <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n                                    <div class=\"text-center\">\n                                        <button type=\"submit\" class=\"btn btn-primary btn-block\">Sign Me In</button>\n                                     </div>\n                                </form>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n\n\n<!--**********************************\n    Scripts\n***********************************-->\n<!-- Required vendors -->\n<script src=\"/backend/vendor/global/global.min.js\"></script>\n<script src=\"/backend/js/custom.min.js\"></script>\n<script src=\"/backend/js/deznav-init.js\"></script>\n<script src=\"/backend/js/styleSwitcher.js\"></script>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/settings.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n  <!--**********************************\n       Nav header start\n   ***********************************-->\n  <div class=\"nav-header\">\n    <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n      <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n          <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        </mask>\n        <g mask=\"\">\n          <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n          <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n        </g>\n      </svg>\n      <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n      </svg> </a>\n    <div class=\"nav-control\">\n      <div class=\"hamburger\">\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n      </div>\n    </div>\n  </div>\n  <!--**********************************\n       Nav header end\n   ***********************************-->\n  <!--**********************************\n       Chat box start\n   ***********************************-->\n  <!--**********************************\n       Chat box End\n   ***********************************-->\n  <!--**********************************\n       Header start\n   ***********************************-->\n  <!--**********************************\n       Header end ti-comment-alt\n   ***********************************-->\n  <!--**********************************\n       Sidebar start\n   ***********************************-->\n  <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n  <!--**********************************\n       Sidebar end\n   ***********************************-->\n  <!--**********************************\n       Content body start\n   ***********************************-->\n  <div class=\"content-body\">\n    <div class=\"container-fluid\">\n      <div class=\"row page-titles\">\n        <ol class=\"breadcrumb\">\n          <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n          <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">网站设置</a></li>\n        </ol>\n      </div>\n      <!-- row -->\n      <div class=\"row\">\n        <div class=\"col-lg-12\">\n          <div class=\"card\">\n            <div class=\"card-header\">\n              <h4 class=\"card-title\">网站设置</h4>\n            </div>\n\n\n            <div class=\"card-body\">\n              <form action=\"/admin/settings\" method=\"post\" class=\"ui form\">\n                <div class=\" field\">\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">网站名字</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"网站名字\" name=\"web_Name\" th:value=\"${settings.web_Name}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">网页主页标题</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"网站主页标题\" name=\"web_IndexName\" th:value=\"${settings.web_IndexName}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">网站关键字</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"主页关键字\" name=\"web_Keywords\" th:value=\"${settings.web_Keywords}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">网站描述</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"网站描述\" name=\"web_Description\" th:value=\"${settings.web_Description}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">网站图标</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"网站图标\" name=\"web_Ico\" th:value=\"${settings.web_Ico}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">Github地址</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"Github地址\" name=\"web_Github\" th:value=\"${settings.web_Github}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">Csdn地址</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"Csdn地址\" name=\"web_Csdn\" th:value=\"${settings.web_Csdn}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">B站地址</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"B站地址\" name=\"web_Bilibili\" th:value=\"${settings.web_Bilibili}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">微信联系图片</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"微信联系图片\" name=\"web_Wechat\" th:value=\"${settings.web_Wechat}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">QQ联系图片</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"QQ联系图片\" name=\"web_QQ\" th:value=\"${settings.web_QQ}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">网站logo</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"网站logo\" name=\"web_Logo\" th:value=\"${settings.web_Logo}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">网站背景图</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"网站背景图\" name=\"web_Background\" th:value=\"${settings.web_Background}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">主页背景图</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"主页背景图\" name=\"web_Home\" th:value=\"${settings.web_Home}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">主页格言</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"主页格言\" name=\"web_GeYan\" th:value=\"${settings.web_GeYan}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">默认用户评论头像</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"默认用户评论头像\" name=\"default_avatar\" th:value=\"${settings.default_avatar}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">留言页背景图</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"留言页背景图\" name=\"message_Background\" th:value=\"${settings.message_Background}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">关于我页背景图</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"关于我页背景图\" name=\"about_Background\" th:value=\"${settings.about_Background}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">友链背景图</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"友链背景图\" name=\"friend_Background\" th:value=\"${settings.friend_Background}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">搜索页背景图</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"搜索页背景图\" name=\"search_Background\" th:value=\"${settings.search_Background}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">标签页背景图</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"标签页背景图\" name=\"tags_Background\" th:value=\"${settings.tags_Background}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">归档页背景图</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"归档页背景图\" name=\"time_Background\" th:value=\"${settings.time_Background}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">分类页背景图</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"分类页背景图\" name=\"types_Background\" th:value=\"${settings.types_Background}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">Valine评论id</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"Valine评论id\" name=\"valine_AppID\" th:value=\"${settings.valine_AppID}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">Valine评论key</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"Valine评论key\" name=\"valine_AppKey\" th:value=\"${settings.valine_AppKey}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">企业微信Webhook</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"webhook地址，为0则不启用\" name=\"wx_Webhook\" th:value=\"${settings.wx_Webhook}\">\n                  </div>\n                </div>\n\n                <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n                <div class=\"ui right aligned container\">\n                  <button type=\"button\" class=\"btn btn-rounded btn-dark\" onclick=\"window.history.go(-1)\" >返回</button>\n                  <button class=\"btn btn-rounded btn-secondary\">提交</button>\n                </div>\n\n              </form>\n\n            </div>\n          </div>\n        </div>\n      </div>\n      <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n    </div>\n  </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<!--**********************************\n      Footer start\n  ***********************************-->\n<!--**********************************\n      Footer end\n  ***********************************-->\n<!--**********************************\n     Support ticket button start\n  ***********************************-->\n<!--**********************************\n     Support ticket button end\n  ***********************************-->\n<!--**********************************\n  Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/tags-input.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n  <!--**********************************\n       Nav header start\n   ***********************************-->\n  <div class=\"nav-header\">\n    <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n      <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n          <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        </mask>\n        <g mask=\"\">\n          <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n          <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n        </g>\n      </svg>\n      <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n      </svg> </a>\n    <div class=\"nav-control\">\n      <div class=\"hamburger\">\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n      </div>\n    </div>\n  </div>\n  <!--**********************************\n       Nav header end\n   ***********************************-->\n  <!--**********************************\n       Chat box start\n   ***********************************-->\n  <!--**********************************\n       Chat box End\n   ***********************************-->\n  <!--**********************************\n       Header start\n   ***********************************-->\n  <!--**********************************\n       Header end ti-comment-alt\n   ***********************************-->\n  <!--**********************************\n       Sidebar start\n   ***********************************-->\n  <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n  <!--**********************************\n       Sidebar end\n   ***********************************-->\n  <!--**********************************\n       Content body start\n   ***********************************-->\n  <div class=\"content-body\">\n    <div class=\"container-fluid\">\n      <div class=\"row page-titles\">\n        <ol class=\"breadcrumb\">\n          <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n          <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">标签修改</a></li>\n        </ol>\n      </div>\n      <!-- row -->\n      <div class=\"row\">\n        <div class=\"col-lg-12\">\n          <div class=\"card\">\n            <div class=\"card-header\">\n              <h4 class=\"card-title\">标签修改</h4>\n            </div>\n\n\n            <div class=\"card-body\">\n              <form action=\"#\" th:object=\"${tag}\" th:action=\"*{id}==null ? @{/admin/tags} : @{/admin/tags/{id}(id=*{id})}\" method=\"post\" class=\"ui form\">\n                <input type=\"hidden\" name=\"id\" th:value=\"*{id}\">\n                <div class=\" field\">\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">标签名称</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"博客名称\" name=\"name\" th:value=\"*{name}\">\n                  </div>\n                </div>\n\n                <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n                <div class=\"ui right aligned container\">\n                  <button type=\"button\" class=\"btn btn-rounded btn-dark\" onclick=\"window.history.go(-1)\" >返回</button>\n                  <button class=\"btn btn-rounded btn-secondary\">提交</button>\n                </div>\n\n              </form>\n\n            </div>\n          </div>\n        </div>\n      </div>\n      <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n    </div>\n  </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<!--**********************************\n      Footer start\n  ***********************************-->\n<!--**********************************\n      Footer end\n  ***********************************-->\n<!--**********************************\n     Support ticket button start\n  ***********************************-->\n<!--**********************************\n     Support ticket button end\n  ***********************************-->\n<!--**********************************\n  Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n<script>\n\n\n  $('.ui.form').form({\n    fields : {\n      title : {\n        identifier: 'name',\n        rules: [{\n          type : 'empty',\n          prompt: '请输入标签名称'\n        }]\n      }\n    }\n  });\n\n</script>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/tags.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n    <!--**********************************\n         Nav header start\n     ***********************************-->\n    <div class=\"nav-header\">\n        <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n            <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n                <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n                    <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n                </mask>\n                <g mask=\"\">\n                    <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n                    <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n                </g>\n            </svg>\n            <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n            </svg> </a>\n        <div class=\"nav-control\">\n            <div class=\"hamburger\">\n                <span class=\"line\"></span>\n                <span class=\"line\"></span>\n                <span class=\"line\"></span>\n            </div>\n        </div>\n    </div>\n    <!--**********************************\n         Nav header end\n     ***********************************-->\n    <!--**********************************\n         Chat box start\n     ***********************************-->\n    <!--**********************************\n         Chat box End\n     ***********************************-->\n    <!--**********************************\n         Header start\n     ***********************************-->\n    <!--**********************************\n         Header end ti-comment-alt\n     ***********************************-->\n    <!--**********************************\n         Sidebar start\n     ***********************************-->\n    <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n    <!--**********************************\n         Sidebar end\n     ***********************************-->\n    <!--**********************************\n         Content body start\n     ***********************************-->\n    <div class=\"content-body\">\n        <div class=\"container-fluid\">\n            <div class=\"row page-titles\">\n                <ol class=\"breadcrumb\">\n                    <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n                    <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">标签列表</a></li>\n                </ol>\n            </div>\n            <!-- row -->\n            <div class=\"row\">\n                <div class=\"col-lg-12\">\n                    <div class=\"card\">\n                        <div class=\"card-header\">\n                            <h4 class=\"card-title\">标签管理</h4>\n                        </div>\n\n\n                        <div class=\"card-body\">\n                            <div class=\"table-responsive\">\n                                <table class=\"table table-responsive-md\">\n\n                                    <thead>\n                                    <tr>\n                                        <th style=\"width:80px;\"><strong>#</strong></th>\n                                        <th><strong>标签名称</strong></th>\n                                        <th><strong>操作</strong></th>\n                                    </tr>\n                                    </thead>\n                                    <tbody>\n                                    <tr th:each=\"tag, iterStat : ${pageInfo.list}\">\n                                        <td th:text=\"${iterStat.count}\"><strong>序号</strong></td>\n                                        <td th:text=\"${tag.name}\">标签名称</td>\n                                        <td>\n                                            <div class=\"dropdown\">\n                                                <button type=\"button\" class=\"btn btn-success light sharp\" data-bs-toggle=\"dropdown\">\n                                                    <svg width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" >\n                                                        <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                                                            <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />\n                                                            <circle fill=\"#000000\" cx=\"5\" cy=\"12\" r=\"2\" />\n                                                            <circle fill=\"#000000\" cx=\"12\" cy=\"12\" r=\"2\" />\n                                                            <circle fill=\"#000000\" cx=\"19\" cy=\"12\" r=\"2\" />\n                                                        </g>\n                                                    </svg> </button>\n                                                <div class=\"dropdown-menu\">\n                                                    <a class=\"dropdown-item\" th:href=\"@{/admin/tags/{id}/input(id=${tag.id})}\" href=\"#\">Edit</a>\n                                                    <a class=\"dropdown-item\" th:href=\"@{/admin/tags/{id}/delete(id=${tag.id})}\" onclick=\"return confirm('确定要删除吗？三思啊! 删了可就没了！')\" href=\"#\">Delete</a>\n                                                </div>\n                                            </div> </td>\n                                    </tr>\n                                    </tbody>\n                                </table>\n                                <div class=\"ui segment m-inline-block\">\n                                    <p >当前第<span th:text=\"${pageInfo.pageNum}\"></span>页，总<span th:text=\"${pageInfo.pages}\"></span>页，共<span th:text=\"${pageInfo.total}\"></span>条记录</p>\n                                </div>\n                                <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n\n                                <div class=\"card\">\n                                    <div class=\"card-body\">\n                                        <nav>\n                                            <ul class=\"pagination pagination-gutter\">\n                                                <li class=\"page-item page-indicator\">\n                                                    <a class=\"page-link\" href=\"javascript:void(0)\" th:href=\"@{/admin/tags(pageNum=${pageInfo.hasPreviousPage}?${pageInfo.prePage}:1)}\">\n                                                        <i class=\"la la-angle-left\"></i></a></li>\n                                                <li class=\"page-item\" th:each=\"i:${#numbers.sequence(0,pageInfo.pages - 1)}\">\n                                                    <a class=\"page-link\" th:href=\"@{/admin/tags(pageNum=${i + 1})}\"  th:text=\"${i + 1}\">1</a>\n                                                </li>\n                                                <li class=\"page-item page-indicator\">\n                                                    <a class=\"page-link\" href=\"javascript:void(0)\" th:href=\"@{/admin/tags(pageNum=${pageInfo.hasNextPage}?${pageInfo.nextPage}:${pageInfo.pages})}\">\n                                                        <i class=\"la la-angle-right\"></i></a></li>\n                                            </ul>\n                                        </nav>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n            <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n        </div>\n    </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<!--**********************************\n      Footer start\n  ***********************************-->\n<!--**********************************\n      Footer end\n  ***********************************-->\n<!--**********************************\n     Support ticket button start\n  ***********************************-->\n<!--**********************************\n     Support ticket button end\n  ***********************************-->\n<!--**********************************\n  Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/types-input.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n  <!--**********************************\n       Nav header start\n   ***********************************-->\n  <div class=\"nav-header\">\n    <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n      <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n          <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        </mask>\n        <g mask=\"\">\n          <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n          <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n        </g>\n      </svg>\n      <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n      </svg> </a>\n    <div class=\"nav-control\">\n      <div class=\"hamburger\">\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n      </div>\n    </div>\n  </div>\n  <!--**********************************\n       Nav header end\n   ***********************************-->\n  <!--**********************************\n       Chat box start\n   ***********************************-->\n  <!--**********************************\n       Chat box End\n   ***********************************-->\n  <!--**********************************\n       Header start\n   ***********************************-->\n  <!--**********************************\n       Header end ti-comment-alt\n   ***********************************-->\n  <!--**********************************\n       Sidebar start\n   ***********************************-->\n  <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n  <!--**********************************\n       Sidebar end\n   ***********************************-->\n  <!--**********************************\n       Content body start\n   ***********************************-->\n  <div class=\"content-body\">\n    <div class=\"container-fluid\">\n      <div class=\"row page-titles\">\n        <ol class=\"breadcrumb\">\n          <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n          <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">分类修改</a></li>\n        </ol>\n      </div>\n      <!-- row -->\n      <div class=\"row\">\n        <div class=\"col-lg-12\">\n          <div class=\"card\">\n            <div class=\"card-header\">\n              <h4 class=\"card-title\">分类修改</h4>\n            </div>\n\n\n            <div class=\"card-body\">\n              <form action=\"#\" th:object=\"${type}\" th:action=\"*{id}==null ? @{/admin/types} : @{/admin/types/{id}(id=*{id})}\" method=\"post\" class=\"ui form\">\n                <input type=\"hidden\" name=\"id\" th:value=\"*{id}\">\n                <div class=\" field\">\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">分类名称</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"分类名称\" name=\"name\" th:value=\"*{name}\">\n                  </div>\n                </div>\n\n                <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n                <div class=\"ui right aligned container\">\n                  <button type=\"button\" class=\"btn btn-rounded btn-dark\" onclick=\"window.history.go(-1)\" >返回</button>\n                  <button class=\"btn btn-rounded btn-secondary\">提交</button>\n                </div>\n\n              </form>\n\n            </div>\n          </div>\n        </div>\n      </div>\n      <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n    </div>\n  </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<!--**********************************\n      Footer start\n  ***********************************-->\n<!--**********************************\n      Footer end\n  ***********************************-->\n<!--**********************************\n     Support ticket button start\n  ***********************************-->\n<!--**********************************\n     Support ticket button end\n  ***********************************-->\n<!--**********************************\n  Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n<script>\n\n\n  $('.ui.form').form({\n    fields : {\n      title : {\n        identifier: 'name',\n        rules: [{\n          type : 'empty',\n          prompt: '请输入分类名称'\n        }]\n      }\n    }\n  });\n\n</script>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/types.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n  <!--**********************************\n       Nav header start\n   ***********************************-->\n  <div class=\"nav-header\">\n    <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n      <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n          <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        </mask>\n        <g mask=\"\">\n          <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n          <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n        </g>\n      </svg>\n      <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n      </svg> </a>\n    <div class=\"nav-control\">\n      <div class=\"hamburger\">\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n      </div>\n    </div>\n  </div>\n  <!--**********************************\n       Nav header end\n   ***********************************-->\n  <!--**********************************\n       Chat box start\n   ***********************************-->\n  <!--**********************************\n       Chat box End\n   ***********************************-->\n  <!--**********************************\n       Header start\n   ***********************************-->\n  <!--**********************************\n       Header end ti-comment-alt\n   ***********************************-->\n  <!--**********************************\n       Sidebar start\n   ***********************************-->\n  <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n  <!--**********************************\n       Sidebar end\n   ***********************************-->\n  <!--**********************************\n       Content body start\n   ***********************************-->\n  <div class=\"content-body\">\n    <div class=\"container-fluid\">\n      <div class=\"row page-titles\">\n        <ol class=\"breadcrumb\">\n          <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n          <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">分类列表</a></li>\n        </ol>\n      </div>\n      <!-- row -->\n      <div class=\"row\">\n        <div class=\"col-lg-12\">\n          <div class=\"card\">\n            <div class=\"card-header\">\n              <h4 class=\"card-title\">分类管理</h4>\n            </div>\n\n\n            <div class=\"card-body\">\n              <div class=\"table-responsive\">\n                <table class=\"table table-responsive-md\">\n\n                  <thead>\n                  <tr>\n                    <th style=\"width:80px;\"><strong>#</strong></th>\n                    <th><strong>分类名称</strong></th>\n                    <th><strong>操作</strong></th>\n                  </tr>\n                  </thead>\n                  <tbody>\n                  <tr th:each=\"type, iterStat : ${pageInfo.list}\">\n                    <td th:text=\"${iterStat.count}\"><strong>序号</strong></td>\n                    <td th:text=\"${type.name}\">分类名称</td>\n                    <td>\n                      <div class=\"dropdown\">\n                        <button type=\"button\" class=\"btn btn-success light sharp\" data-bs-toggle=\"dropdown\">\n                          <svg width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" >\n                            <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                              <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />\n                              <circle fill=\"#000000\" cx=\"5\" cy=\"12\" r=\"2\" />\n                              <circle fill=\"#000000\" cx=\"12\" cy=\"12\" r=\"2\" />\n                              <circle fill=\"#000000\" cx=\"19\" cy=\"12\" r=\"2\" />\n                            </g>\n                          </svg> </button>\n                        <div class=\"dropdown-menu\">\n                          <a class=\"dropdown-item\" th:href=\"@{/admin/types/{id}/input(id=${type.id})}\" href=\"#\">Edit</a>\n                          <a class=\"dropdown-item\" th:href=\"@{/admin/types/{id}/delete(id=${type.id})}\" onclick=\"return confirm('确定要删除吗？三思啊! 删了可就没了！')\" href=\"#\">Delete</a>\n                        </div>\n                      </div> </td>\n                  </tr>\n                  </tbody>\n                </table>\n                <div class=\"ui segment m-inline-block\">\n                  <p >当前第<span th:text=\"${pageInfo.pageNum}\"></span>页，总<span th:text=\"${pageInfo.pages}\"></span>页，共<span th:text=\"${pageInfo.total}\"></span>条记录</p>\n                </div>\n                <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n\n                <div class=\"card\">\n                  <div class=\"card-body\">\n                    <nav>\n                      <ul class=\"pagination pagination-gutter\">\n                        <li class=\"page-item page-indicator\">\n                          <a class=\"page-link\" href=\"javascript:void(0)\" th:href=\"@{/admin/types(pageNum=${pageInfo.hasPreviousPage}?${pageInfo.prePage}:1)}\">\n                            <i class=\"la la-angle-left\"></i></a></li>\n                        <li class=\"page-item\" th:each=\"i:${#numbers.sequence(0,pageInfo.pages - 1)}\">\n                          <a class=\"page-link\" th:href=\"@{/admin/types(pageNum=${i + 1})}\"  th:text=\"${i + 1}\">1</a>\n                        </li>\n                        <li class=\"page-item page-indicator\">\n                          <a class=\"page-link\" href=\"javascript:void(0)\" th:href=\"@{/admin/types(pageNum=${pageInfo.hasNextPage}?${pageInfo.nextPage}:${pageInfo.pages})}\">\n                            <i class=\"la la-angle-right\"></i></a></li>\n                      </ul>\n                    </nav>\n                  </div>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n      <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n    </div>\n  </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<!--**********************************\n      Footer start\n  ***********************************-->\n<!--**********************************\n      Footer end\n  ***********************************-->\n<!--**********************************\n     Support ticket button start\n  ***********************************-->\n<!--**********************************\n     Support ticket button end\n  ***********************************-->\n<!--**********************************\n  Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/users-input.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n  <!--**********************************\n       Nav header start\n   ***********************************-->\n  <div class=\"nav-header\">\n    <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n      <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n          <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n        </mask>\n        <g mask=\"\">\n          <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n          <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n        </g>\n      </svg>\n      <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n        <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n      </svg> </a>\n    <div class=\"nav-control\">\n      <div class=\"hamburger\">\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n        <span class=\"line\"></span>\n      </div>\n    </div>\n  </div>\n  <!--**********************************\n       Nav header end\n   ***********************************-->\n  <!--**********************************\n       Chat box start\n   ***********************************-->\n  <!--**********************************\n       Chat box End\n   ***********************************-->\n  <!--**********************************\n       Header start\n   ***********************************-->\n  <!--**********************************\n       Header end ti-comment-alt\n   ***********************************-->\n  <!--**********************************\n       Sidebar start\n   ***********************************-->\n  <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n  <!--**********************************\n       Sidebar end\n   ***********************************-->\n  <!--**********************************\n       Content body start\n   ***********************************-->\n  <div class=\"content-body\">\n    <div class=\"container-fluid\">\n      <div class=\"row page-titles\">\n        <ol class=\"breadcrumb\">\n          <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n          <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">用户修改</a></li>\n        </ol>\n      </div>\n      <!-- row -->\n      <div class=\"row\">\n        <div class=\"col-lg-12\">\n          <div class=\"card\">\n            <div class=\"card-header\">\n              <h4 class=\"card-title\">用户修改</h4>\n            </div>\n\n\n            <div class=\"card-body\">\n              <form action=\"#\" th:object=\"${user}\" th:action=\"*{id}==null ? @{/admin/users} : @{/admin/users/{id}(id=*{id})}\" method=\"post\" class=\"ui form\">\n                <input type=\"hidden\" name=\"id\" th:value=\"*{id}\">\n                <div class=\" field\">\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">登录名</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"登录名\" name=\"username\" th:value=\"*{username}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">用户名称</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"用户名称\" name=\"nickname\" th:value=\"*{nickname}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">用户邮箱</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"用户邮箱\" name=\"email\" th:value=\"*{email}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">用户头像</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"头像图床或地址\" name=\"avatar\" th:value=\"*{avatar}\">\n                  </div>\n                  <div class=\"input-group mb-3 \">\n                    <span class=\"input-group-text\">用户密码</span>\n                    <input type=\"text\" class=\"form-control input-default \" placeholder=\"输入即修改\" name=\"password\" th:value=\"*{password}\">\n                  </div>\n                </div>\n\n                <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n                <div class=\"ui right aligned container\">\n                  <button type=\"button\" class=\"btn btn-rounded btn-dark\" onclick=\"window.history.go(-1)\" >返回</button>\n                  <button class=\"btn btn-rounded btn-secondary\">提交</button>\n                </div>\n\n              </form>\n\n            </div>\n          </div>\n        </div>\n      </div>\n      <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n    </div>\n  </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<!--**********************************\n      Footer start\n  ***********************************-->\n<!--**********************************\n      Footer end\n  ***********************************-->\n<!--**********************************\n     Support ticket button start\n  ***********************************-->\n<!--**********************************\n     Support ticket button end\n  ***********************************-->\n<!--**********************************\n  Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n<script>\n\n  $('.ui.form').form({\n    fields : {\n      title : {\n        identifier: 'username',\n        rules: [{\n          type : 'empty',\n          prompt: '请输入用户名称'\n        }]\n      }\n    }\n  });\n\n</script>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/admin/users.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<body>\n<header th:replace=\"admin/fragments/header::header\"></header>\n<!--*******************\n  Preloader start\n********************-->\n<!--*******************\n  Preloader end\n********************-->\n<!--**********************************\n  Main wrapper start\n***********************************-->\n<div th:replace=\"admin/fragments/header :: preloader\"></div>\n<div id=\"main-wrapper\">\n    <!--**********************************\n         Nav header start\n     ***********************************-->\n    <div class=\"nav-header\">\n        <a th:href=\"@{admin/index}\" class=\"brand-logo\">\n            <svg class=\"logo-abbr\" width=\"54\" height=\"54\" viewbox=\"0 0 54 54\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <rect class=\"rect-primary-rect\" width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n                <mask maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"54\" height=\"54\">\n                    <rect width=\"54\" height=\"54\" rx=\"27\" fill=\"#2258BF\" />\n                </mask>\n                <g mask=\"\">\n                    <path d=\"M46.1676 26.5805C46.1217 26.129 45.8612 25.7806 45.4991 25.6835L34.9748 22.8635L42.8655 9.05303C43.0565 8.72265 43.1126 8.31849 43.0178 7.96681C42.9212 7.61451 42.6881 7.35877 42.388 7.27836L31.132 4.26233C30.7287 4.15426 30.2838 4.38142 30.0263 4.82453L14.9917 30.9187C14.8007 31.2491 14.744 31.6556 14.8406 32.0078C14.9329 32.3614 15.1678 32.6176 15.4698 32.6985L21.6719 34.3604L7.46102 59.0235C7.17542 59.5193 7.20173 60.1564 7.52473 60.5342C7.64091 60.6708 7.78346 60.7617 7.93918 60.8034C8.21123 60.8763 8.51961 60.7982 8.77813 60.5688L45.7105 27.791C46.0341 27.5062 46.2127 27.0345 46.1676 26.5805Z\" fill=\"#FFC42C\" />\n                    <path d=\"M43.3374 21.0401C43.2915 20.5885 43.0311 20.2402 42.669 20.1431L32.1446 17.3231L40.0354 3.51262C40.2264 3.18225 40.2825 2.77808 40.1877 2.42641C40.091 2.07411 39.858 1.81836 39.5579 1.73796L28.3019 -1.27807C27.8986 -1.38614 27.4536 -1.15898 27.1962 -0.715872L12.1615 25.3783C11.9705 25.7087 11.9138 26.1152 12.0105 26.4674C12.1028 26.821 12.3377 27.0772 12.6397 27.1581L18.8418 28.82L4.63088 53.4831C4.34528 53.9789 4.37159 54.616 4.69459 54.9938C4.81077 55.1304 4.95332 55.2213 5.10904 55.263C5.38109 55.3359 5.68947 55.2578 5.94799 55.0284L42.8804 22.2506C43.204 21.9658 43.3826 21.4941 43.3374 21.0401Z\" fill=\"white\" />\n                </g>\n            </svg>\n            <svg class=\"brand-title\" width=\"79\" height=\"25\" viewbox=\"0 0 79 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <path class=\"svg-title-path\" d=\"M0.951965 24V1.60001H13.944C15.0533 1.60001 16.056 1.84535 16.952 2.33601C17.8693 2.82668 18.5946 3.50935 19.128 4.38401C19.6826 5.25868 19.96 6.29335 19.96 7.48801C19.96 8.19201 19.8213 8.86401 19.544 9.50401C19.288 10.144 18.9146 10.7093 18.424 11.2C17.9546 11.6907 17.4106 12.0853 16.792 12.384C17.5173 12.6827 18.1573 13.1093 18.712 13.664C19.288 14.2187 19.736 14.8587 20.056 15.584C20.3973 16.3093 20.568 17.088 20.568 17.92C20.568 19.136 20.28 20.2027 19.704 21.12C19.1493 22.0373 18.4026 22.752 17.464 23.264C16.5253 23.7547 15.48 24 14.328 24H0.951965ZM6.32797 19.552H12.92C13.368 19.552 13.7626 19.4453 14.104 19.232C14.4666 19.0187 14.7546 18.7307 14.968 18.368C15.1813 18.0053 15.288 17.6107 15.288 17.184C15.288 16.736 15.1813 16.3413 14.968 16C14.7546 15.6373 14.4666 15.3493 14.104 15.136C13.7626 14.9227 13.368 14.816 12.92 14.816H6.32797V19.552ZM6.32797 10.528H12.376C12.8026 10.528 13.176 10.432 13.496 10.24C13.8373 10.0267 14.104 9.76001 14.296 9.44001C14.488 9.09868 14.584 8.72535 14.584 8.32001C14.584 7.89335 14.488 7.52001 14.296 7.20001C14.104 6.85868 13.8373 6.59201 13.496 6.40001C13.176 6.18668 12.8026 6.08002 12.376 6.08002H6.32797V10.528Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M31.7027 24.384C30.0174 24.384 28.5027 24.0107 27.1587 23.264C25.8147 22.5173 24.748 21.4933 23.9587 20.192C23.1907 18.8907 22.8067 17.4293 22.8067 15.808C22.8067 14.1653 23.1907 12.704 23.9587 11.424C24.748 10.1227 25.8147 9.09868 27.1587 8.35201C28.5027 7.58401 30.0174 7.20001 31.7027 7.20001C33.3881 7.20001 34.892 7.58401 36.2147 8.35201C37.5587 9.09868 38.6147 10.1227 39.3827 11.424C40.1721 12.704 40.5667 14.1653 40.5667 15.808C40.5667 17.4293 40.1721 18.8907 39.3827 20.192C38.6147 21.4933 37.5587 22.5173 36.2147 23.264C34.8707 24.0107 33.3667 24.384 31.7027 24.384ZM31.7027 20.064C32.492 20.064 33.1747 19.872 33.7507 19.488C34.3267 19.104 34.7747 18.592 35.0947 17.952C35.4147 17.312 35.5747 16.5867 35.5747 15.776C35.5747 14.9867 35.4147 14.272 35.0947 13.632C34.7747 12.992 34.3267 12.48 33.7507 12.096C33.1747 11.712 32.492 11.52 31.7027 11.52C30.9134 11.52 30.22 11.712 29.6227 12.096C29.0467 12.48 28.5987 12.992 28.2787 13.632C27.9587 14.272 27.7987 14.9867 27.7987 15.776C27.7987 16.5867 27.9587 17.312 28.2787 17.952C28.5987 18.592 29.0467 19.104 29.6227 19.488C30.22 19.872 30.9134 20.064 31.7027 20.064Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M43.5122 24V0.640015H48.4722V24H43.5122Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M58.1532 24C56.6385 24 55.4545 23.5733 54.6012 22.72C53.7479 21.8453 53.3212 20.672 53.3212 19.2V3.58401H58.3132V18.912C58.3132 19.168 58.3985 19.392 58.5692 19.584C58.7612 19.7547 58.9852 19.84 59.2412 19.84H62.8252V24H58.1532ZM50.6332 11.648V7.58401H62.8252V11.648H50.6332Z\" fill=\"#2258BF\" />\n                <path class=\"svg-title-path\" d=\"M69.408 24C68.4906 24 67.712 23.808 67.072 23.424C66.432 23.04 65.9306 22.528 65.568 21.888C65.2053 21.248 65.024 20.5547 65.024 19.808C65.024 19.0827 65.2053 18.432 65.568 17.856C65.952 17.2587 66.464 16.7573 67.104 16.352L72.96 12.448C73.0666 12.384 73.1413 12.32 73.184 12.256C73.2266 12.1707 73.248 12.1067 73.248 12.064C73.248 11.9573 73.2053 11.872 73.12 11.808C73.0346 11.7227 72.928 11.68 72.8 11.68H65.76L65.728 7.58401H74.528C75.3813 7.58401 76.1173 7.78668 76.736 8.19201C77.376 8.57601 77.8773 9.08801 78.24 9.72801C78.624 10.368 78.816 11.0613 78.816 11.808C78.816 12.512 78.6346 13.1733 78.272 13.792C77.9306 14.3893 77.4613 14.8907 76.864 15.296L71.008 19.136C70.9226 19.2 70.8586 19.264 70.816 19.328C70.7733 19.392 70.752 19.456 70.752 19.52C70.752 19.6267 70.7946 19.7227 70.88 19.808C70.9653 19.872 71.072 19.904 71.2 19.904H78.496V24H69.408Z\" fill=\"#2258BF\" />\n            </svg> </a>\n        <div class=\"nav-control\">\n            <div class=\"hamburger\">\n                <span class=\"line\"></span>\n                <span class=\"line\"></span>\n                <span class=\"line\"></span>\n            </div>\n        </div>\n    </div>\n    <!--**********************************\n         Nav header end\n     ***********************************-->\n    <!--**********************************\n         Chat box start\n     ***********************************-->\n    <!--**********************************\n         Chat box End\n     ***********************************-->\n    <!--**********************************\n         Header start\n     ***********************************-->\n    <!--**********************************\n         Header end ti-comment-alt\n     ***********************************-->\n    <!--**********************************\n         Sidebar start\n     ***********************************-->\n    <div th:replace=\"admin/fragments/sidebar :: sidebar \"></div>\n    <!--**********************************\n         Sidebar end\n     ***********************************-->\n    <!--**********************************\n         Content body start\n     ***********************************-->\n    <div class=\"content-body\">\n        <div class=\"container-fluid\">\n            <div class=\"row page-titles\">\n                <ol class=\"breadcrumb\">\n                    <li class=\"breadcrumb-item active\"><a href=\"javascript:void(0)\">管理</a></li>\n                    <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">用户列表</a></li>\n                </ol>\n            </div>\n            <!-- row -->\n            <div class=\"row\">\n                <div class=\"col-lg-12\">\n                    <div class=\"card\">\n                        <div class=\"card-header\">\n                            <h4 class=\"card-title\">用户管理</h4>\n                        </div>\n\n\n                        <div class=\"card-body\">\n                            <div class=\"table-responsive\">\n                                <table class=\"table table-responsive-md\">\n\n                                    <thead>\n                                    <tr>\n                                        <th style=\"width:80px;\"><strong>#</strong></th>\n                                        <th><strong>登录名</strong></th>\n                                        <th><strong>用户名称</strong></th>\n                                        <th><strong>用户邮箱</strong></th>\n                                        <th><strong>操作</strong></th>\n                                    </tr>\n                                    </thead>\n                                    <tbody>\n                                    <tr th:each=\"user, iterStat : ${pageInfo.list}\">\n                                        <td th:text=\"${iterStat.count}\"><strong>序号</strong></td>\n                                        <td th:text=\"${user.username}\">登录名</td>\n                                        <td th:text=\"${user.nickname}\">用户名称</td>\n                                        <td th:text=\"${user.email}\">用户邮箱</td>\n                                        <td>\n                                            <div class=\"dropdown\">\n                                                <button type=\"button\" class=\"btn btn-success light sharp\" data-bs-toggle=\"dropdown\">\n                                                    <svg width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" >\n                                                        <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                                                            <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />\n                                                            <circle fill=\"#000000\" cx=\"5\" cy=\"12\" r=\"2\" />\n                                                            <circle fill=\"#000000\" cx=\"12\" cy=\"12\" r=\"2\" />\n                                                            <circle fill=\"#000000\" cx=\"19\" cy=\"12\" r=\"2\" />\n                                                        </g>\n                                                    </svg> </button>\n                                                <div class=\"dropdown-menu\">\n                                                    <a class=\"dropdown-item\" th:href=\"@{/admin/users/{id}/input(id=${user.id})}\" href=\"#\">Edit</a>\n                                                    <a class=\"dropdown-item\" th:href=\"@{/admin/users/{id}/delete(id=${user.id})}\" onclick=\"return confirm('确定要删除吗？三思啊! 删了可就没了！')\" href=\"#\">Delete</a>\n                                                </div>\n                                            </div> </td>\n                                    </tr>\n                                    </tbody>\n                                </table>\n                                <div class=\"ui segment m-inline-block\">\n                                    <p >当前第<span th:text=\"${pageInfo.pageNum}\"></span>页，总<span th:text=\"${pageInfo.pages}\"></span>页，共<span th:text=\"${pageInfo.total}\"></span>条记录</p>\n                                </div>\n                                <div class=\"ui error message\" style=\"color: green; position: relative; left: auto; right: auto; text-align: center; size: 20px\" th:text=\"${msg} == null ? null : '🤷' + ${msg} + '🤷'\"></div>\n\n                                <div class=\"card\">\n                                    <div class=\"card-body\">\n                                        <nav>\n                                            <ul class=\"pagination pagination-gutter\">\n                                                <li class=\"page-item page-indicator\">\n                                                    <a class=\"page-link\" href=\"javascript:void(0)\" th:href=\"@{/admin/users(pageNum=${pageInfo.hasPreviousPage}?${pageInfo.prePage}:1)}\">\n                                                        <i class=\"la la-angle-left\"></i></a></li>\n                                                <li class=\"page-item\" th:each=\"i:${#numbers.sequence(0,pageInfo.pages - 1)}\">\n                                                    <a class=\"page-link\" th:href=\"@{/admin/users(pageNum=${i + 1})}\"  th:text=\"${i + 1}\">1</a>\n                                                </li>\n                                                <li class=\"page-item page-indicator\">\n                                                    <a class=\"page-link\" href=\"javascript:void(0)\" th:href=\"@{/admin/users(pageNum=${pageInfo.hasNextPage}?${pageInfo.nextPage}:${pageInfo.pages})}\">\n                                                        <i class=\"la la-angle-right\"></i></a></li>\n                                            </ul>\n                                        </nav>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n            <div th:replace=\"admin/fragments/footer :: footer-content\"></div>\n        </div>\n    </div>\n</div>\n<!--**********************************\n      Content body end\n  ***********************************-->\n<!--**********************************\n      Footer start\n  ***********************************-->\n<!--**********************************\n      Footer end\n  ***********************************-->\n<!--**********************************\n     Support ticket button start\n  ***********************************-->\n<!--**********************************\n     Support ticket button end\n  ***********************************-->\n<!--**********************************\n  Main wrapper end\n***********************************-->\n<div th:replace=\"admin/fragments/footer :: footer\"></div>\n<!--**********************************\n  Scripts\n***********************************-->\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/blog.html",
    "content": "<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n    <!-- Standard Meta 适配移动设备 -->\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n    <!--标记处-->\n    <title th:text=\"${blog.title}+ ' | ' +#{web_Name}\">博客标题</title>\n    <meta name=\"keywords\" th:content=\"${blog.tagsToNames()}\">\n    <meta name=\"description\" th:content=\"${blog.description} ? ${blog.description}: #{web_Description}\">\n    <!--标记处-->\n    <div th:replace=\"/fragments/header :: common-js\"></div>\n    <link rel=\"stylesheet\" href=\"/lib/prism/prism.css\" >\n    <link rel=\"stylesheet\" href=\"/css/donate.css\" >\n    <script type=\"text/javascript\" src=\"/js/article.js\"></script>\n    <script src=\"/lib/prism/prism.js\" ></script>\n</head>\n<body>\n\n\n<div id=\"workingArea\">\n\n    <div th:replace=\"/fragments/header :: menu\"></div>\n    <div class=\"pageHeadContainer\">\n        <img src=\"/images/geyan.jpg\" th:src=\"${blog.firstPicture}\" class=\"ui image backgroundImg\">\n        <div class=\"backgroundLayout\">\n            <div class=\"myInfoDiv\" align=\"center\">\n                <div>\n                    <span class=\"name\" th:text=\"#{web_Name}\"></span>\n                </div>\n                <div class=\"word\" th:text=\"${blog.description}\">\n                    梦里的四海为家，百花齐放，人来人往，花红柳绿。错过的年华在沙漠开出美丽的紫薇花、却荒废了轮回的春夏。缘来缘去缘如水，背负万丈尘寰，只为一句，等待下一次重逢。\n                </div>\n            </div>\n        </div>\n    </div>\n\n\n    <div class=\"blog-layout page-fade-in\">\n        <!-- 主内容 -->\n        <div class=\"blog-main\">\n            <div class=\"blog-card\">\n                <h1 class=\"blog-title\" th:text=\"${blog.title}\">article.articleTitle</h1>\n                <div class=\"blog-meta\">\n                    <span><i class=\"ui user circle icon\"></i><span th:text=\"${blog.user.nickname}\">作者</span></span>\n                    <span><i class=\"ui clock outline icon\"></i><span th:text=\"${#dates.format(blog.updateTime,'yyyy-MM-dd')}\">日期</span></span>\n                    <span><i class=\"ui eye icon\"></i><span th:text=\"${blog.views}\">0</span></span>\n                    <a class=\"blog-flag\" th:text=\"${blog.flag} ? '原创' : '转载'\">原创</a>\n                </div>\n                <div class=\"ui divider\"></div>\n                <div class=\"blog-body typo\" id=\"blogContent\" th:utext=\"${blog.content}\">\n                </div>\n                <div class=\"blog-tags\">\n                    <i class=\"tags icon\"></i>\n                    <a class=\"ui basic teal label\" th:each=\"tag : ${blog.tags}\" th:text=\"${tag.name}\">标签</a>\n                </div>\n            </div>\n\n            <!-- 赞赏 -->\n            <div class=\"blog-card\" th:if=\"${blog.appreciation}\" style=\"text-align:center;\">\n                <div class=\"operation\">\n                    <div class=\"ui blue button\" onclick=\"donateToggle()\" data-tooltip=\"谢谢你的支持哦！\" data-inverted=\"\"><i  class=\"ui star outline icon\"></i>赞赏</div>\n                    <div class=\"hide_box\"></div>\n                    <div class=\"shang_box\">\n                        <a class=\"shang_close\" href=\"javascript:void(0)\" onclick=\"donateToggle()\" title=\"关闭\"><img src=\"/images/close.jpg\" alt=\"取消\" /></a>\n                        <div class=\"shang_tit\"><p>感谢您的支持，我会继续努力的!</p></div>\n                        <div class=\"shang_payimg\"><img src=\"/images/alipayimg.png\" alt=\"扫码支持\" title=\"扫一扫\" /></div>\n                        <div class=\"pay_explain\">扫码打赏，你说多少就多少</div>\n                        <div class=\"shang_payselect\">\n                            <div class=\"pay_item checked\" data-id=\"alipay\">\n                                <span class=\"radiobox\"></span>\n                                <span class=\"pay_logo\"><img src=\"/images/alipay.jpg\" alt=\"支付宝\" /></span>\n                            </div>\n                            <div class=\"pay_item\" data-id=\"weipay\">\n                                <span class=\"radiobox\"></span>\n                                <span class=\"pay_logo\"><img src=\"/images/wechat.jpg\" alt=\"微信\" /></span>\n                            </div>\n                        </div>\n                        <div class=\"shang_info\"><p>打开<span id=\"shang_pay_txt\">支付宝</span>扫一扫，即可进行扫码打赏哦</p></div>\n                    </div>\n                </div>\n            </div>\n\n            <!-- 版权声明 -->\n            <div class=\"blog-card blog-copyright\">\n                <p><strong>本文作者：</strong> <span th:text=\"${blog.user.nickname}\">作者</span></p>\n                <p><strong>版权声明：</strong> 本博客所有文章除特别声明外，均采用 BY-NC-SA 许可协议。转载请注明出处！</p>\n            </div>\n\n            <!-- 相关文章推荐 -->\n            <div class=\"blog-card\" th:if=\"${relatedBlogs != null and !relatedBlogs.isEmpty()}\">\n                <div class=\"ai-related-header\">\n                    <span class=\"ai-related-icon\">&#10024;</span>\n                    <span class=\"ai-related-title\">相关文章推荐</span>\n                </div>\n                <div class=\"ai-related-grid\">\n                    <a class=\"ai-related-card\" th:each=\"related : ${relatedBlogs}\" th:href=\"@{/blog/{id}(id=${related.id})}\">\n                        <div class=\"ai-related-cover\" th:if=\"${related.firstPicture != null and !related.firstPicture.isEmpty()}\">\n                            <img th:src=\"${related.firstPicture}\" loading=\"lazy\" alt=\"\">\n                        </div>\n                        <div class=\"ai-related-info\">\n                            <div class=\"ai-related-card-title\" th:text=\"${related.title}\">文章标题</div>\n                            <div class=\"ai-related-meta\">\n                                <span><i class=\"eye icon\"></i><span th:text=\"${related.views}\">0</span> 阅读</span>\n                            </div>\n                        </div>\n                    </a>\n                </div>\n            </div>\n\n            <!-- 评论 -->\n            <div class=\"blog-card\" th:if=\"${blog.commentable}\">\n                <div id=\"comments\"></div>\n            </div>\n        </div>\n\n        <!-- 侧边栏 -->\n        <aside class=\"blog-sidebar\">\n            <div class=\"sidebar-card sidebar-author\">\n                <img th:src=\"${blog.user.avatar}\" class=\"sidebar-avatar\" alt=\"\">\n                <div class=\"sidebar-author-name\" th:text=\"${blog.user.nickname}\">作者</div>\n            </div>\n            <div class=\"sidebar-card sidebar-toc\" id=\"sidebarToc\">\n                <h4>目录</h4>\n                <div id=\"tocList\" class=\"toc-list\"></div>\n            </div>\n        </aside>\n    </div>\n\n    <!-- AI 问答浮窗 -->\n    <div id=\"ai-chat-widget\" class=\"ai-chat-widget\">\n        <div id=\"ai-chat-bubble\" class=\"ai-chat-bubble\" onclick=\"toggleAiChat()\">\n            <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <path d=\"M12 2C6.48 2 2 6.48 2 12C2 13.85 2.5 15.55 3.35 17L2 22L7 20.65C8.45 21.5 10.15 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 17H11V15H13V17ZM13 13H11V7H13V13Z\" fill=\"white\"/>\n            </svg>\n            <span class=\"ai-chat-bubble-text\">AI</span>\n        </div>\n        <div id=\"ai-chat-panel\" class=\"ai-chat-panel\" style=\"display:none;\">\n            <div class=\"ai-chat-header\">\n                <span>&#10024; AI 文章助手</span>\n                <span class=\"ai-chat-close\" onclick=\"toggleAiChat()\">&times;</span>\n            </div>\n            <div id=\"ai-chat-messages\" class=\"ai-chat-messages\">\n                <div class=\"ai-chat-msg ai-msg\">你好！我是本文的 AI 助手，可以回答关于这篇文章的任何问题。</div>\n            </div>\n            <div class=\"ai-chat-input-area\">\n                <input type=\"text\" id=\"ai-chat-input\" placeholder=\"输入关于本文的问题...\" onkeydown=\"if(event.key==='Enter')sendAiChat()\">\n                <button onclick=\"sendAiChat()\" id=\"ai-chat-send\">发送</button>\n            </div>\n        </div>\n    </div>\n\n    <button id=\"toTop\" class=\"circular ui icon button\" style=\"display: none;\">\n        <i class=\"ui caret up icon\"></i>\n    </button>\n    <!--评论显示区，请插入合适的位置-->\n</div>\n\n<input type=\"hidden\" th:value=\"#{valine_AppID}\" id=\"data_1\">\n<input type=\"hidden\" th:value=\"#{valine_AppKey}\" id=\"data_2\">\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n<script src='/js/Valine.min.js'></script>\n<script type=\"text/javascript\"  th:inline=\"javascript\">\n    $(function(){\n        $(\".pay_item\").click(function(){\n            $(this).addClass('checked').siblings('.pay_item').removeClass('checked');\n            const dataid = $(this).attr('data-id');\n            $(\".shang_payimg img\").attr(\"src\",\"/images/\"+dataid+\"img.png\");\n            $(\"#shang_pay_txt\").text(dataid===\"alipay\"?\"支付宝\":\"微信\");\n        });\n    });\n    function donateToggle(){\n        $(\".hide_box\").fadeToggle();\n        $(\".shang_box\").fadeToggle();\n    }\n\n    const data_1 = $(\"#data_1\").val();\n    const data_2 = $(\"#data_2\").val();\n    new Valine({\n        el: '#comments',\n        appId: data_1,\n        appKey: data_2\n    })\n\n    // AI Chat\n    var _blogId = /*[[${blog.id}]]*/ 0;\n\n    function toggleAiChat() {\n        var panel = document.getElementById('ai-chat-panel');\n        var bubble = document.getElementById('ai-chat-bubble');\n        if (panel.style.display === 'none') {\n            panel.style.display = 'flex';\n            bubble.style.display = 'none';\n            document.getElementById('ai-chat-input').focus();\n        } else {\n            panel.style.display = 'none';\n            bubble.style.display = 'flex';\n        }\n    }\n\n    function sendAiChat() {\n        var input = document.getElementById('ai-chat-input');\n        var question = input.value.trim();\n        if (!question) return;\n\n        var messages = document.getElementById('ai-chat-messages');\n        // User message\n        var userDiv = document.createElement('div');\n        userDiv.className = 'ai-chat-msg user-msg';\n        userDiv.textContent = question;\n        messages.appendChild(userDiv);\n        input.value = '';\n        messages.scrollTop = messages.scrollHeight;\n\n        // Loading\n        var loadDiv = document.createElement('div');\n        loadDiv.className = 'ai-chat-msg ai-msg ai-loading';\n        loadDiv.innerHTML = '<span class=\"ai-dots\"><span>.</span><span>.</span><span>.</span></span> 思考中';\n        messages.appendChild(loadDiv);\n        messages.scrollTop = messages.scrollHeight;\n\n        var sendBtn = document.getElementById('ai-chat-send');\n        sendBtn.disabled = true;\n        sendBtn.textContent = '...';\n\n        $.ajax({\n            url: '/api/ai/chat',\n            type: 'POST',\n            data: { blogId: _blogId, question: question },\n            success: function(res) {\n                loadDiv.remove();\n                var aiDiv = document.createElement('div');\n                aiDiv.className = 'ai-chat-msg ai-msg';\n                aiDiv.textContent = (res && res.data) ? res.data : (res && res.message ? res.message : '抱歉，暂时无法回答');\n                messages.appendChild(aiDiv);\n                messages.scrollTop = messages.scrollHeight;\n            },\n            error: function() {\n                loadDiv.remove();\n                var errDiv = document.createElement('div');\n                errDiv.className = 'ai-chat-msg ai-msg';\n                errDiv.textContent = '网络错误，请稍后再试';\n                messages.appendChild(errDiv);\n                messages.scrollTop = messages.scrollHeight;\n            },\n            complete: function() {\n                sendBtn.disabled = false;\n                sendBtn.textContent = '发送';\n            }\n        });\n    }\n\n    // Check AI status and hide chat if disabled\n    $.get('/api/ai/status', function(res) {\n        if (!res || !res.data || !res.data.enabled) {\n            var widget = document.getElementById('ai-chat-widget');\n            if (widget) widget.style.display = 'none';\n        }\n    });\n\n    // Generate TOC from article headings\n    (function() {\n        var content = document.getElementById('blogContent');\n        var tocList = document.getElementById('tocList');\n        var tocCard = document.getElementById('sidebarToc');\n        if (!content || !tocList) return;\n        var headings = content.querySelectorAll('h1,h2,h3,h4');\n        if (headings.length === 0) {\n            if (tocCard) tocCard.style.display = 'none';\n            return;\n        }\n        var html = '';\n        for (var i = 0; i < headings.length; i++) {\n            var h = headings[i];\n            var id = 'heading-' + i;\n            h.id = id;\n            var level = parseInt(h.tagName.charAt(1));\n            var indent = Math.max(0, level - 2) * 16;\n            html += '<a href=\"#' + id + '\" class=\"toc-item\" style=\"padding-left:' + indent + 'px;\">' + h.textContent + '</a>';\n        }\n        tocList.innerHTML = html;\n    })();\n\n</script>\n\n\n\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/error/404.html",
    "content": "<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n    <!-- Standard Meta 适配移动设备 -->\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n    <title th:text=\"'404页面 | '+ #{web_Name}\"></title>\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n    <meta name=\"description\" th:content=\"#{web_Description}\">\n    <div th:replace=\"/fragments/header :: common-js\"></div>\n\n</head>\n\n<body>\n\n<div id=\"workingArea\">\n    <div th:replace=\"/fragments/header :: menu\"></div>\n    <br>\n    <br>\n    <div class=\"errorContent\">\n        <div class=\"ui container\">\n            <div class=\"ui raised  segment  errorBackground error\">\n                <div class=\"main\">\n                    <h1 class=\"status\">\n                        404\n                    </h1>\n                    <p>\n\t\t\t\t\t<span>\n\t\t\t\t\t\tThere's a lot of reasons why this page is\n\t\t\t\t\t</span>\n                        <span class=\"error\">\n\t\t\t\t\t\t404\n\t\t\t\t\t</span>\n                    </p>\n                    <p class=\"message\">\n                        页面走丢了呀！\n                    </p>\n                    <div align=\"center\">\n                        <a href=\"/\" class=\"ui teal button\">\n                            返回\n                        </a>\n                    </div>\n                    <div class=\"icons\">\n                        <p>\n                            Follow us on:\n                        </p>\n                        <ul>\n                            <li>\n                                <a id=\"wechat\" class=\"ui wechat circular icon button\">\n                                    <i class=\"weixin icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a id=\"QQ\" class=\"ui qq circular icon button\">\n                                    <i class=\"qq icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a th:href=\"#{web_Github}\" target=\"_blank\" data-tooltip=\"点击进入github\"\n                                   data-position=\"bottom center\" data-inverted=\"\" class=\"ui circular icon button\">\n                                    <i class=\"github icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a th:href=\"#{web_Csdn}\" target=\"_blank\"\n                                   data-tooltip=\"点击进入csdn\" data-position=\"bottom center\" data-inverted=\"\"\n                                   class=\"ui circular icon button\">\n                                    <i class=\"cuttlefish icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a th:href=\"#{web_Bilibili}\" target=\"_blank\" data-tooltip=\"点击进入b站\"\n                                   data-position=\"bottom center\" data-inverted=\"\" class=\"ui circular icon button\">\n                                    <i class=\"bimobject icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <div id=\"wechatPic\" class=\"ui flowing popup transition hidden\">\n                                <img alt=\"wechat\" src=\"/images/aboutMe/contactOfWeChat.png\" th:src=\"#{web_Wechat}\" class=\"ui small rounded image\">\n                            </div>\n                            <div id=\"QQPic\" class=\"ui flowing popup transition hidden\">\n                                <img alt=\"QQ\" src=\"/images/aboutMe/contactOfQQ.png\" th:src=\"#{web_QQ}\" class=\"ui small rounded image\">\n                            </div>\n                        </ul>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n    <br>\n    <br>\n    <button id=\"toTop\" class=\"circular ui icon button\" style=\"display: none;\">\n        <i class=\"ui caret up icon\"></i>\n    </button>\n</div>\n\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n<script type=\"text/javascript\" src=\"/js/error.js\" th:src=\"@{/js/error.js}\"></script>\n\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/error/500.html",
    "content": "<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n    <!-- Standard Meta 适配移动设备 -->\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n    <title th:text=\"'500页面——'+#{web_Name}\"></title>\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n    <meta name=\"description\" th:content=\"#{web_Description}\">\n    <div th:replace=\"/fragments/header :: common-js\"></div>\n</head>\n\n<body>\n<div id=\"workingArea\">\n    <div th:replace=\"/fragments/header :: menu\"></div>\n    <br>\n    <br>\n    <div class=\"errorContent\">\n        <div class=\"ui container\">\n            <div class=\"ui raised  segment  errorBackground error\">\n                <div class=\"main\">\n                    <h1 class=\"status\">\n                        500\n                    </h1>\n                    <p>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t 阿！糟糕，是什么在召唤我，是\n\t\t\t\t\t</span>\n                        <span class=\"error\">\n\t\t\t\t\t\t心动！\n\t\t\t\t\t</span>\n                    </p>\n                    <p class=\"message\">\n                        服务器偷偷罢工了\n                    </p>\n                    <div align=\"center\">\n                        <a href=\"/\" class=\"ui teal button\">\n                            返回\n                        </a>\n                    </div>\n                    <div class=\"icons\">\n                        <p>\n                            Follow us on:\n                        </p>\n                        <ul>\n                            <li>\n                                <a id=\"wechat\" class=\"ui wechat circular icon button\">\n                                    <i class=\"weixin icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a id=\"QQ\" class=\"ui qq circular icon button\">\n                                    <i class=\"qq icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a th:href=\"#{web_Github}\" target=\"_blank\" data-tooltip=\"点击进入github\"\n                                   data-position=\"bottom center\" data-inverted=\"\" class=\"ui circular icon button\">\n                                    <i class=\"github icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a th:href=\"#{web_Csdn}\" target=\"_blank\"\n                                   data-tooltip=\"点击进入csdn\" data-position=\"bottom center\" data-inverted=\"\"\n                                   class=\"ui circular icon button\">\n                                    <i class=\"cuttlefish icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a th:href=\"#{web_Bilibili}\" target=\"_blank\" data-tooltip=\"点击进入b站\"\n                                   data-position=\"bottom center\" data-inverted=\"\" class=\"ui circular icon button\">\n                                    <i class=\"bimobject icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <div id=\"wechatPic\" class=\"ui flowing popup transition hidden\">\n                                <img alt=\"wechat\" src=\"/images/aboutMe/contactOfWeChat.png\" th:src=\"#{web_Wechat}\" class=\"ui small rounded image\">\n                            </div>\n                            <div id=\"QQPic\" class=\"ui flowing popup transition hidden\">\n                                <img alt=\"QQ\" src=\"/images/aboutMe/contactOfQQ.png\" th:src=\"#{web_QQ}\" class=\"ui small rounded image\">\n                            </div>\n                        </ul>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n    <br>\n    <br>\n    <button id=\"toTop\" class=\"circular ui icon button\" style=\"display: none;\">\n        <i class=\"ui caret up icon\"></i>\n    </button>\n</div>\n\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n<script type=\"text/javascript\" src=\"/js/error.js\" th:src=\"@{/js/error.js}\"></script>\n\n</body>\n</html>\n"
  },
  {
    "path": "src/main/resources/templates/error/error.html",
    "content": "<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n    <!-- Standard Meta 适配移动设备 -->\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n    <title th:text=\"'错误页——'+#{web_Name}\"></title>\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n    <meta name=\"description\" th:content=\"#{web_Description}\">\n    <div th:replace=\"/fragments/header :: common-js\"></div>\n\n</head>\n\n<body>\n\n<div id=\"workingArea\">\n    <div th:replace=\"/fragments/header :: menu\"></div>\n    <br>\n    <br>\n    <div class=\"errorContent\">\n        <div class=\"ui container\">\n            <div class=\"ui raised  segment  errorBackground error\">\n                <div class=\"main\">\n                    <h1 class=\"status\">\n                        Bug\n                    </h1>\n                    <p>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t 发生Bug了，What the hell?\n\t\t\t\t\t</span>\n                        <span class=\"error\">\n\t\t\t\t\t\t?\n\t\t\t\t\t</span>\n                    </p>\n                    <p class=\"message\">\n                        请偷偷反馈给博主噢\n                    </p>\n                    <div align=\"center\">\n                        <a href=\"/\" class=\"ui teal button\">\n                            返回\n                        </a>\n                    </div>\n                    <div class=\"icons\">\n                        <p>\n                            Follow us on:\n                        </p>\n                        <ul>\n                            <li>\n                                <a id=\"wechat\" class=\"ui wechat circular icon button\">\n                                    <i class=\"weixin icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a id=\"QQ\" class=\"ui qq circular icon button\">\n                                    <i class=\"qq icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a th:href=\"#{web_Github}\" target=\"_blank\" data-tooltip=\"点击进入github\"\n                                   data-position=\"bottom center\" data-inverted=\"\" class=\"ui circular icon button\">\n                                    <i class=\"github icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a th:href=\"#{web_Csdn}\" target=\"_blank\"\n                                   data-tooltip=\"点击进入csdn\" data-position=\"bottom center\" data-inverted=\"\"\n                                   class=\"ui circular icon button\">\n                                    <i class=\"cuttlefish icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <li>\n                                <a th:href=\"#{web_Bilibili}\" target=\"_blank\" data-tooltip=\"点击进入b站\"\n                                   data-position=\"bottom center\" data-inverted=\"\" class=\"ui circular icon button\">\n                                    <i class=\"bimobject icon\">\n                                    </i>\n                                </a>\n                            </li>\n                            <div id=\"wechatPic\" class=\"ui flowing popup transition hidden\">\n                                <img alt=\"wechat\" src=\"/images/aboutMe/contactOfWeChat.png\" th:src=\"#{web_Wechat}\" class=\"ui small rounded image\">\n                            </div>\n                            <div id=\"QQPic\" class=\"ui flowing popup transition hidden\">\n                                <img alt=\"QQ\" src=\"/images/aboutMe/contactOfQQ.png\" th:src=\"#{web_QQ}\" class=\"ui small rounded image\">\n                            </div>\n                        </ul>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n    <div>\n        <div th:utext=\"'&lt;!--'\" th:remove=\"tag\"></div>\n        <div th:utext=\"'Failed Request URL : ' + ${url}\" th:remove=\"tag\"></div>\n        <div th:utext=\"'Exception message : ' + ${exception.message}\" th:remove=\"tag\"></div>\n        <ul th:remove=\"tag\">\n            <li th:each=\"st : ${exception.stackTrace}\" th:remove=\"tag\"><span th:utext=\"${st}\" th:remove=\"tag\"></span></li>\n        </ul>\n        <div th:utext=\"'--&gt;'\" th:remove=\"tag\"></div>\n    </div>\n</div>\n\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n\n\n<script type=\"text/javascript\" src=\"/js/error.js\" th:src=\"@{/js/error.js}\"></script>\n</body>\n</html>\n"
  },
  {
    "path": "src/main/resources/templates/fragments/footer.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title>Title</title>\n</head>\n<body>\n<div class=\"ui inverted segment footerDiv\" th:fragment=\"footer-content\">\n    <div class=\"ui container\">\n        <div class=\"ui stackable inverted divided grid\" align=\"center\">\n            <div class=\"four wide column\">\n                <h4 class=\"ui inverted header\">联系我呀</h4>\n                <img class=\"ui small rounded image\" th:src=\"#{web_Wechat}\" />\n            </div>\n            <div class=\"four wide column\">\n                <h4 class=\"ui inverted header\">技术支持</h4>\n                <div class=\"ui animated inverted  list\">\n                    <a href=\"https://semantic-ui.com\" rel=\"nofollow\" target=\"_blank\" class=\"item\">Semantic UI</a>\n                    <a href=\"https://spring.io/\"  rel=\"nofollow\" target=\"_blank\" class=\"item\">Spring</a>\n                    <a href=\"https://redis.io/\"  rel=\"nofollow\" target=\"_blank\"  class=\"item\">Redis</a>\n                    <a href=\"https://mybatis.org/mybatis-3/\" rel=\"nofollow\"  target=\"_blank\"  class=\"item\">Mybatis</a>\n                </div>\n            </div>\n            <div class=\"four wide column\">\n                <h4 class=\"ui inverted header\">学习网站</h4>\n                <div class=\"ui animated inverted  list\">\n                    <a href=\"https://github.com/\" rel=\"nofollow\" target=\"_blank\" class=\"item\">Github</a>\n                    <a href=\"https://www.bilibili.com/\" rel=\"nofollow\"  target=\"_blank\" class=\"item\">BiliBili</a>\n                    <a href=\"https://www.mooc.cn/\" rel=\"nofollow\"  target=\"_blank\"  class=\"item\">MOOC</a>\n                    <a href=\"https://gitee.com/\" rel=\"nofollow\" target=\"_blank\" class=\"item\">Gitee</a>\n\n                </div>\n            </div>\n            <div class=\"four wide column\">\n                <h4 class=\"ui inverted header\">博主寄诗</h4>\n                <div class=\"ui inverted  list\">\n                    <h4 class=\"ui inverted header m-text-thin m-text-spaced \">虞美人·李煜</h4>\n                    <p class=\"m-text-thin m-text-spaced m-opacity-mini\">\n                        春花秋月何时了，往事知多少？小楼昨夜又东风，故国不堪回首月明中！</p>\n                    <p class=\"m-text-thin m-text-spaced m-opacity-mini\">\n                        雕阑玉砌应犹在，只是朱颜改。问君能有几多愁？恰似一江春水向东流。</p>\n                </div>\n            </div>\n        </div>\n        <div class=\"ui inverted divider\"></div>\n        <div class=\"ttl\" align=\"center\">网站已运行: <span id=\"webRuntime\" class=\"item m-text-thin\"></span> (*๓´╰╯`๓)</div>\n        <div class=\"copyRight\" align=\"center\">Copyright &copy; 2022-<span th:text=\"${#dates.format(#dates.createNow(), 'yyyy')}\">2026</span> <span th:text=\"#{web_Name}\">isbut.cn</span> All Rights Reserved.</div>\n    </div>\n    <script src=\"/js/semantic.min.js\"></script>\n    <script src=\"/js/moment.min.js\" type=\"text/javascript\"></script>\n\n    <script>\n        setInterval(setTime, 1000);\n    </script>\n\n    <script type=\"text/javascript\" src=\"/js/canvas-ribbon.js\"></script>\n    <script type=\"text/javascript\">\n        new Ribbons({\n            // ribbon color HSL saturation amount\n            colorSaturation: \"80%\",\n            // ribbon color HSL brightness amount\n            colorBrightness: \"50%\",\n            // ribbon color opacity amount\n            colorAlpha: 0.6,\n            // how fast to cycle through colors in the HSL color space\n            colorCycleSpeed: 10,\n            // where to start from on the Y axis on each side (top|min, middle|center, bottom|max, random)\n            verticalPosition: \"center\",\n            // how fast to get to the other side of the screen\n            horizontalSpeed: 0.8,\n            // how many ribbons to keep on screen at any given time\n            ribbonCount: 2,\n            // add stroke along with ribbon fill colors\n            strokeSize: 0,\n            // move ribbons vertically by a factor on page scroll\n            parallaxAmount: 0,\n            // add animation effect to each ribbon section over time\n            animateSections: true\n        });\n    </script>\n    <!--用户自定义js-->\n    <script>\n    // AI 智能搜索建议\n    (function(){\n        var timer = null;\n        var $input = $('#searchInput');\n        var $box = $('#searchSuggestions');\n        if (!$input.length) return;\n\n        $input.on('input', function(){\n            var q = $(this).val().trim();\n            clearTimeout(timer);\n            if (q.length < 1) { $box.hide().empty(); return; }\n            timer = setTimeout(function(){\n                $.get('/api/search/suggestions', {query: q}, function(data){\n                    if (!data || !data.length) { $box.hide().empty(); return; }\n                    var html = '';\n                    for (var i = 0; i < data.length; i++) {\n                        html += '<a href=\"/search?query=' + encodeURIComponent(data[i]) + '\" style=\"display:block;padding:8px 12px;color:#333;text-decoration:none;font-size:13px;border-bottom:1px solid #f0f0f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;\" onmouseover=\"this.style.background=\\'#f5f5f5\\'\" onmouseout=\"this.style.background=\\'#fff\\'\">' + $('<span>').text(data[i]).html() + '</a>';\n                    }\n                    $box.html(html).show();\n                });\n            }, 300);\n        });\n\n        $input.on('blur', function(){ setTimeout(function(){ $box.hide(); }, 200); });\n        $input.on('focus', function(){ if ($box.children().length) $box.show(); });\n    })();\n    </script>\n\n</div>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/fragments/header.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title>Title</title>\n    <th:block th:fragment=\"common-js\">\n        <script src=\"/js/jquery.min.js\" ></script>\n        <script src=\"/js/foreBlog.js\" type=\"text/javascript\" ></script>\n        <script src=\"/js/category.js\"></script>\n        <script>\n            /* 在页面渲染前注入预加载遮罩 */\n            document.addEventListener('DOMContentLoaded', function(){\n                var p = document.createElement('div');\n                p.id = 'page-preloader';\n                p.innerHTML = '<div class=\"spinner\"></div>';\n                document.body.insertBefore(p, document.body.firstChild);\n            });\n        </script>\n        <link rel=\"stylesheet\" href=\"/css/semantic.min.css\">\n        <link rel=\"stylesheet\" href=\"/css/typo.css\">\n        <link rel=\"stylesheet\" type=\"text/css\" href=\"/css/foreBlog.css\"/>\n        <link rel=\"icon\" href=\"/images/favicon.ico\" th:href=\"#{web_Ico}\" type=\"image/x-icon\"/>\n    </th:block>\n\n</head>\n<body>\n<div id=\"navMenu\" class=\"ui inverted segment navDiv-active \"  th:fragment=\"menu\">\n    <div class=\"ui  container\">\n        <div class=\"ui stackable inverted secondary menu\">\n            <img class=\"ui rounded image logo\" th:src=\"#{web_Logo}\" alt=\"logo\">\n            <a href=\"/\" class=\"item mobileHidden navItem\"><i class=\"home icon\"></i>首页</a>\n            <a href=\"/types\" class=\"item mobileHidden navItem\"><i class=\"list icon\"></i>分类</a>\n            <a href=\"/tags\" class=\"item mobileHidden navItem\"><i class=\"ui tag icon\"></i>标签</a>\n            <a href=\"/time\" class=\"item mobileHidden navItem\"><i class=\"youtube icon\"></i>归档</a>\n            <a href=\"/message\" class=\"item mobileHidden navItem\"><i class=\"comments outline icon\"></i>留言墙</a>\n            <a href=\"/about\" class=\"item mobileHidden navItem\"><i class=\"ui street view icon\"></i>关于我</a>\n            <a href=\"/friends\" class=\"item mobileHidden navItem\"><i class=\"ui linkify icon\"></i>友链</a>\n            <div id=\"searchItem \" class=\" right menu item mobileHidden navItem\">\n                <div class=\"ui icon search input\"   >\n                    <form name=\"search\" action=\"#\" method=\"get\" th:action=\"@{/search}\"  >\n                        <div class=\"ui icon search input\" style=\"position: relative;\">\n                            <input class=\"prompt\" id=\"searchInput\" type=\"text\" name=\"query\" placeholder=\"AI 智能搜索...\" th:value=\"${query}\" autocomplete=\"off\">\n                            <i onclick=\"document.forms['search'].submit()\" style=\"color: #d2691e\" class=\"search link icon\"></i>\n                            <div id=\"searchSuggestions\" style=\"display:none; position:absolute; top:100%; left:0; right:0; z-index:999; background:#fff; border:1px solid #ddd; border-radius:0 0 4px 4px; box-shadow:0 2px 8px rgba(0,0,0,0.15); max-height:200px; overflow-y:auto;\">\n                            </div>\n                        </div>\n                    </form>\n                </div>\n            </div>\n        </div>\n        <span class=\"mobileShow mobileTitle\" th:text=\"#{web_Name}\"></span>\n        <a class=\"ui black button mobileButton  mobileShow\"><i class=\"sidebar icon\"></i></a>\n    </div>\n</div>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/friends.html",
    "content": "<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n    <title th:text=\"'友情链接 | '+ #{web_Name}\"></title>\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n    <meta name=\"description\" th:content=\"#{web_Description}\">\n    <div th:replace=\"/fragments/header :: common-js\"></div>\n    <link rel=\"stylesheet\" href=\"../static/css/friend.css\" th:href=\"@{/css/friend.css}\">\n    <script src=\"/js/bluebird.min.js\"></script>\n    <script src=\"/js/whatwg-fetch@2.0.3_fetch.js\"></script>\n    <script>\n        fetch('https://v1.hitokoto.cn/?max_length=21')\n            .then(function (res){\n                return res.json();\n            })\n            .then(function (data) {\n                const hitokoto = document.getElementById('hitokoto');\n                hitokoto.innerText =data.hitokoto;\n            })\n            .catch(function (err) {\n                console.error(err);\n            })\n    </script>\n</head>\n\n<body>\n<div id=\"workingArea\">\n    <div th:replace=\"/fragments/header :: menu\">\n    </div>\n    <div class=\"pageHeadContainer\">\n        <img src=\"/images/background/background5.jpg\" th:src=\"#{friend_Background}\" class=\"ui image backgroundImg\">\n        <div class=\"backgroundLayout\">\n            <div class=\"myInfoDiv\" align=\"center\">\n                <div class=\"word\">\n                    <br>\n                    <div id=\"hitokoto\" style=\"font-size:30px;color:#ffffff;\">:D 获取中...</div>\n                </div>\n            </div>\n        </div>\n    </div>\n    <br>\n    <br>\n    <br>\n    <div class=\"m-margin- animated fadeIn\">\n        <div class=\"ui m-opacity container\">\n            <div class=\"box-shadow-max\">\n                <div class=\"ui segment m-padded-tb-large m-opacity\">\n                    <div class=\"ui container\">\n                        <div style=\"font-size: 35px;font-weight: bold\" align=\"center\">友人入帐须知</div>\n                        <ul class=\"list\">\n                            <div class=\"m-margin-left-mini m-margin-tb-tiny\" style=\"font-size: large;font-weight: bold\">网站要求</div>\n                            <br>\n                            <li class=\"m-margin-left-big m-margin-tb-tiny\" style=\"font-size: medium\">无色情内容，无政治敏感内容，网站要能长期正常访问</li>\n                            <li class=\"m-margin-left-big m-margin-tb-tiny\" style=\"font-size: medium\">二十篇以上个人原创文章，两个月内有新文章更新</li>\n                            <li class=\"m-margin-left-big m-margin-tb-tiny\" style=\"font-size: medium\">原创博客、技术博客、游记博客优先</li>\n                            <li class=\"m-margin-left-big m-margin-tb-tiny\" style=\"font-size: medium\">需要交换友链，先把本站添加到你的网站中，然后根据下面的格式，给我发email或在留言板给我留言~</li>\n                            <br>\n                            <div class=\"m-margin-left-mini m-margin-tb-tiny\" style=\"font-size: large;font-weight: bold\">申请格式</div>\n                            <br>\n                            <li class=\"m-margin-left-big m-margin-tb-tiny\" style=\"font-size: medium\">博客标题：百度</li>\n                            <li class=\"m-margin-left-big m-margin-tb-tiny\" style=\"font-size: medium\">博客地址：https://baidu.cn/</li>\n                            <li class=\"m-margin-left-big m-margin-tb-tiny\" style=\"font-size: medium\">图片地址：https://t1.picb.cc/uploads/2021/03/23/ZboTFi.jpg</li>\n                        </ul>\n                    </div>\n                </div>\n            </div>\n\n            <div class=\"box-shadow-max\">\n                <div class=\"ui top attached teal m-opacity segment box-shadow-max\">\n                    <div class=\"ui m-padded-tb-large m-container-tiny\">\n                        <div class=\"ui stackable m-container-mini m-opacity grid\">\n                            <div class=\"m-margin-tb-tiny four wide column\" th:each=\"friendlink : ${friendLinks}\">\n                                <a href=\"#\" class=\"class_outer\" th:href=\"${friendlink.blogAddress}\" target=\"_blank\">\n                                    <div align=\"center\">\n                                        <div class=\"friends-link\">\n                                            <img src=\"/images/me.jpg\" th:src=\"${friendlink.pictureAddress}\" alt=\"\" class=\"friends-link-image\">\n                                            <div class=\"m-margin-top\">\n                                                <h4 class=\"m-font-size-text-friends m-margin-tb-tiny\" th:text=\"${friendlink.blogName}\">文若君</h4>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </a>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n    <button id=\"toTop\" class=\"circular ui icon button\" style=\"display: none;\">\n        <i class=\"ui caret up icon\"></i>\n    </button>\n</div>\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n\n</body>\n</html>\n"
  },
  {
    "path": "src/main/resources/templates/index.html",
    "content": "<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\" lang=\"en\">\n<head>\n    <!-- Standard Meta 适配移动设备 -->\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n<!--标记处-->\n    <title th:text=\"#{web_IndexName}\"></title>\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n    <meta name=\"description\" th:content=\"#{web_Description}\">\n\n    <!--标记处-->\n    <div th:replace=\"/fragments/header :: common-js\"></div>\n    <!--实现每日一言-->\n    <script src=\"/js/bluebird.min.js\"></script>\n    <script src=\"/js/whatwg-fetch@2.0.3_fetch.js\"></script>\n    <!--End-->\n    <script>\n        fetch('https://v1.hitokoto.cn/?max_length=21')\n            .then(function (res){\n                return res.json();\n            })\n            .then(function (data) {\n                const hitokoto = document.getElementById('hitokoto');\n                hitokoto.innerText =data.hitokoto;\n            })\n            .catch(function (err) {\n                console.error(err);\n            })\n    </script>\n\n\n</head>\n<body>\n\n<div id=\"workingArea\">\n    <div th:replace=\"/fragments/header :: menu\">\n    </div>\n<!--首页顶部背景-->\n    <div class=\"headContainer\">\n        <!--标记处-->\n        <img src=\"/images/background/background5.jpg\"  th:src=\"#{web_Background}\" class=\"ui image backgroundImg\" alt=\"首页格言背景图\">\n        <div class=\"backgroundLayout\">\n            <div class=\"myInfoDiv\" align=\"center\">\n                <img class=\"ui tiny circular image\" src=\"/images/aboutMe/home.jpg\" th:src=\"#{web_Home}\" />\n                <div class=\"word\">\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t <div id=\"hitokoto\" style=\"font-size:30px;color:#ffffff;\">:D 获取中...</div>\n\t\t\t\t\t\t</span>\n                </div>\n                <div class=\"myLink\">\n                    <a id=\"wechat\" class=\"ui wechat circular icon button\"><i class=\"weixin icon\"></i></a>\n                    <a id=\"QQ\" class=\"ui qq circular icon button\"><i class=\"qq icon\"></i></a>\n                    <a th:href=\"#{web_Github}\" rel=\"nofollow\" target=\"_blank\" class=\"ui circular icon button\"\n                       data-tooltip=\"点击进入github\" data-position=\"bottom center\" data-inverted=\"\">\n                        <i class=\"github icon\"></i>\n                    </a>\n                    <a th:href=\"#{web_Csdn}\" rel=\"nofollow\" target=\"_blank\"\n                       class=\"ui circular icon button\" data-tooltip=\"点击进入csdn\" data-position=\"bottom center\"\n                       data-inverted=\"\">\n                        <i class=\"cuttlefish icon\"></i>\n                    </a>\n                    <a th:href=\"#{web_Bilibili}\" rel=\"nofollow\" target=\"_blank\" class=\"ui circular icon button\"\n                       data-tooltip=\"点击进入b站\" data-position=\"bottom center\" data-inverted=\"\">\n                        <i class=\"bimobject icon\"></i>\n                    </a>\n\n                    <div id=\"wechatPic\" class=\"ui flowing popup transition hidden\">\n                        <img class=\"ui small rounded image\" src=\"../static/images/aboutMe/contactOfWeChat.png\" th:src=\"#{web_Wechat}\" />\n                    </div>\n                    <div id=\"QQPic\" class=\"ui flowing popup transition hidden\">\n                        <img class=\"ui small rounded image\" src=\"../static/images/aboutMe/contactOfQQ.png\" th:src=\"#{web_QQ}\">\n                    </div>\n                </div>\n                <div id=\"indexNavMenu\" class=\"nav\">\n                    <a href=\"/types\" class=\"ui teal button\">\n                        <i class=\"google wallet icon\"></i>文章</a>\n                    <a href=\"/tags\" class=\"ui twitter button\">\n                        <i class=\"ui tag icon\"></i>标签</a>\n                    <a href=\"/message\" class=\"ui linkedin button\">\n                        <i class=\"modx icon\"></i>留言</a>\n                </div>\n                <div class=\"guidance\">\n                    <i class=\"ui chevron down icon\"></i>\n                </div>\n            </div>\n        </div>\n    </div>\n\n\n    <div class=\"recommendation page-fade-in\">\n        <div class=\"ui vertical stackable grid container\">\n            <div class=\"ui row\">\n                <div class=\"eight wide column\">\n                    <h3 class=\"ui header myWord\">寄语</h3>\n                    <p>\n                        If not to the sun for smiling, warm is still in the sun there, but we will laugh more confident\n                        calm;\n                    </p>\n                    <p>\n                        if turned to found his own shadow, appropriate escape, the sun will be through the heart,warm\n                        each place behind the corner;\n                    </p>\n                    <p>\n                        if an outstretched palm cannot fall butterfly, then clenched waving arms, given power;\n                    </p>\n                    <p>\n                        if I cant have bright smile, it will face to the sunshine, and sunshine smile together, in full\n                        bloom.\n                    </p>\n<!--格言随机背景图-->\n                </div>\n                <div class=\"eight wide column\" align=\"center\">\n                    <img class=\"ui rounded huge image\" th:src=\"#{web_GeYan}\">\n                </div>\n            </div>\n            <!-- AI 智能体验提示 -->\n            <div class=\"row\" style=\"padding: 1em 0;\">\n                <div class=\"sixteen wide column\">\n                    <div class=\"ai-experience-banner\">\n                        <div class=\"ai-banner-text\">\n                            <strong>&#10024; AI 智能体验</strong><br>\n                            搜索框输入关键词获得智能建议，文章详情页底部查看 AI 推荐文章，还可与 AI 助手实时对话\n                        </div>\n                        <a href=\"/search\" class=\"ai-banner-btn\">试试搜索 &rarr;</a>\n                    </div>\n                </div>\n            </div>\n<!--热点文章-->\n            <div class=\"row titleDiv\">\n                <a href=\"/category\" class=\"ui header title\"><i class=\"red fire icon\"></i>热点文章</a>\n            </div>\n            <div class=\"row hotArticles\">\n                <div class=\"four wide column hotArticle\" th:each=\"hotArticle:${hotBlogs}\">\n                    <a th:href=\"@{/blog/{id}(id=${hotArticle.id})}\">\n                        <div class=\"ui special cards\">\n                            <div class=\"ui fluid raised link card\">\n\n                                <div class=\"blurring dimmable image\" >\n                                    <img src=\"\" th:src=\"${hotArticle.firstPicture}\" loading=\"lazy\"  >\n                                </div>\n                            </div>\n                        </div>\n                    </a>\n                </div>\n            </div>\n<!--精选留言-->\n            <div class=\"row titleDiv\">\n                <a href=\"/message\" class=\"ui header title\"><i class=\"orange codiepie icon\"></i>最新留言</a>\n            </div>\n            <div class=\"row comments\">\n                <div class=\"four wide column comment\" th:each=\"message : ${messages}\">\n                    <a class=\"ui fluid raised link card\" href=\"/message\" >\n                        <div class=\"content\">\n                            <div class=\"header\" th:text=\"${message.nickname}\">评论名字</div>\n                            <div class=\"meta\">\n                                <span class=\"right floated time\" th:text=\"${#dates.format(message.createTime, 'yyyy-MM-dd')}\">创建时间</span>\n                                <span class=\"comment\">comment</span>\n                            </div>\n                            <div class=\"description\" th:text=\"${message.content}\">\n                              评论内容\n                            </div>\n                        </div>\n                        <div class=\"extra content\">\n                            <div class=\"right floated author\">\n                                <img class=\"ui avatar image\" src=\"/image/me.jpg\" th:src=\"${message.avatar}\" th:alt=\"${message.nickname}\">\n                            </div>\n                        </div>\n                    </a>\n                </div>\n            </div>\n<!--推荐文章-->\n            <div class=\"row recommendTitleDiv\">\n                <div class=\"ai-recommend-title\">\n                    <span style=\"font-size: 1.2em;\">&#10024;</span>\n                    <div class=\"recommendArticlesTitle\">AI 推荐文章</div>\n                    <span class=\"ai-badge\">AI</span>\n                </div>\n            </div>\n            <div class=\"three column row recommendArticles\">\n                <div class=\"column recommendArticle\" th:each=\"recommendBlog: ${recommendBlogs}\">\n                    <div class=\"ui fluid raised link card\">\n                        <a class=\"image\" th:href=\"@{/blog/{id}(id=${recommendBlog.id})}\">\n                            <img src=\"\" th:src=\"${recommendBlog.firstPicture}\" loading=\"lazy\">\n                        </a>\n                        <div class=\"ui circular articleInfo\">\n                            <div class=\"articleTitle\" th:text=\"${recommendBlog.title}\">推荐文章标题</div>\n                            <div class=\"description\">\n                                <span class=\"tipSpan\"><i class=\"ui eye icon\"></i><span class=\"viewNumber\" th:text=\"${recommendBlog.views}\">浏览量</span></span>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n    </div>\n\n<!--最新文章-->\n    <div class=\"newArticles page-fade-in\">\n        <div class=\"ui vertical stackable grid container\">\n            <div class=\"row titleDiv\">\n                <a href=\"/types\" class=\"ui header title\"><i class=\"green leaf icon\"></i>最新文章</a>\n            </div>\n            <div class=\"row ui raised link card segment article\" th:each=\"blog : ${pageInfo.list}\">\n                <div class=\"five wide column\">\n                    <img class=\" ui rounded image\" src=\"\" th:src=\"${blog.firstPicture}\" loading=\"lazy\">\n                </div>\n                <div class=\"eleven wide column\">\n                    <div class=\"content\">\n                        <a href=\"#\" th:href=\"@{/blog/{id}(id=${blog.id})}\"  class=\"ui teal right ribbon label\" th:text=\"${blog.flag} ? '原创' : '转载'\">\n                        </a>\n                        <div class=\"articleHeader\"><a th:href=\"@{/blog/{id}(id=${blog.id})}\" th:text=\"${blog.title}\"></a>\n                        </div>\n                        <div class=\"overView\">\n                            <a th:href=\"@{/blog/{id}(id=${blog.id})}\" th:text=\"${blog.description}\"></a>\n                        </div>\n                        <div class=\"description\">\n                            <span><i class=\"ui user circle icon\"></i>作者: <span class=\"author\" th:text=\"${blog.user.nickname}\">作者名字</span></span>\n                            <span><i class=\"ui clock outline icon\"></i>时间: <span class=\"publishDate\" th:text=\"${#dates.format(blog.updateTime, 'yyyy-MM-dd')}\">几月几号</span></span>\n                            <span><i class=\"ui tag icon\"></i>标签:\n                                         <span class=\"tags\" >\n                                        <a href=\"#\" th:href=\"@{/types/{id}(id=${blog.type.id})}\" target=\"_blank\" class=\"ui blue basic label m-padded-tiny m-text-thin\" th:text=\"${blog.type.name}\">摸鱼方法</a>\n                                         </span>\n                                 </span>\n                            <span><i class=\"ui eye icon\"></i>浏览量<span  class=\"viewNumber\" th:text=\"${blog.views}\"></span></span>\n                        </div>\n                    </div>\n       </div>\n            </div>\n\n<!-- 分页   -->\n            <div align=\"center\" class=\"pagination paginationDiv\">\n                <div class=\"ui middle aligned two column grid\">\n                    <div class=\"column\">\n                        <div class=\"item\"><a class=\"ui mini blue basic button\" th:href=\"${pageInfo.hasPreviousPage} ? @{/(pageNum=${pageInfo.prePage})} : @{/(pageNum=1)}\">上一页</a></div>\n                    </div>\n                    <div class=\"right aligned column\">\n                        <div class=\"item\"><a class=\"ui mini blue basic button\" th:href=\"${pageInfo.hasNextPage} ? @{/(pageNum=${pageInfo.nextPage})} : @{/(pageNum=${pageInfo.pages})}\">下一页</a></div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n\n    <button id=\"toTop\" class=\"circular ui icon button\" style=\"display: none;\">\n        <i class=\"ui caret up icon\"></i>\n    </button>\n\n    <div>\n        <div class=\"ui tiny modal tipModal\">\n            <div class=\"ui header\">提示</div>\n            <div class=\"content\">\n\n            </div>\n            <div class=\"actions\">\n                <div class=\"ui teal button\" id=\"tipCloseButton\">\n                    确定\n                </div>\n            </div>\n        </div>\n    </div>\n    </div>\n</div>\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n\n\n</body>\n</html>\n"
  },
  {
    "path": "src/main/resources/templates/message.html",
    "content": "\n<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n    <!-- Standard Meta 适配移动设备 -->\n    <meta charset=\"utf-8\" />\n    <title th:text=\"'留言墙 | '+ #{web_Name}\"></title>\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n    <meta name=\"description\" th:content=\"#{web_Description}\">\n\n    <script src=\"/js/bluebird.min.js\"></script>\n    <script src=\"/js/whatwg-fetch@2.0.3_fetch.js\"></script>\n    <!--End-->\n    <script>\n        fetch('https://v1.hitokoto.cn/?max_length=21')\n            .then(function (res){\n                return res.json();\n            })\n            .then(function (data) {\n                const hitokoto = document.getElementById('hitokoto');\n                hitokoto.innerText =data.hitokoto;\n            })\n            .catch(function (err) {\n                console.error(err);\n            })\n    </script>\n    <div th:replace=\"/fragments/header :: common-js\"></div>\n\n</head>\n<body>\n\n<!--导航-->\n<nav class=\"gird-header\">\n    <div th:replace=\"/fragments/header :: menu\">\n    </div>\n    <div class=\"pageHeadContainer\">\n        <img src=\"../static/images/background/background5.jpg\"  th:src=\"#{message_Background}\" class=\"ui image backgroundImg\">\n        <div class=\"backgroundLayout\">\n            <div class=\"myInfoDiv\" align=\"center\">\n                <div class=\"word\" >\n                    <br>\n                    <div id=\"hitokoto\" style=\"font-size:30px;color:#ffffff;\">:D 获取中...</div>\n                </div>\n            </div>\n        </div>\n    </div>\n</nav>\n\n<br>\n<br>\n<br>\n<!--中间内容-->\n<div id=\"waypoint\" class=\"m-margin- animated fadeIn\">\n    <div class=\"ui container m-opacity box-shadow-max\">\n        <!--                新增留言-->\n        <div id=\"message-form\" class=\"ui form\">\n            <input type=\"hidden\" name=\"parentMessage.id\" value=\"-1\">\n            <!--                    留言区-->\n            <div class=\"field\">\n                <textarea name=\"content\" placeholder=\"请输入留言信息... (AI 智能助手可能会协助博主回复)\"></textarea>\n            </div>\n            <div class=\"ui grid\">\n                <!--                    输入姓名-->\n                <div class=\"five wide column\">\n                    <div class=\"field m-mobile-wide m-margin-bottom-small\">\n                        <div class=\"ui left icon input\">\n                            <i class=\"user icon\"></i>\n                            <input type=\"text\" name=\"nickname\" placeholder=\"Id\" th:value=\"${session.user} == null ? '' : ${session.user.nickname}\">\n                        </div>\n                    </div>\n                </div>\n\n                <!--                        输入邮箱-->\n                <div class=\"five wide column\">\n                    <div class=\"field m-mobile-wide m-margin-bottom-small\">\n                        <div class=\"ui left icon input\">\n                            <i class=\"mail icon\"></i>\n                            <input type=\"text\" name=\"email\" placeholder=\"Email\" th:value=\"${session.user} == null ? '' :  ${session.user.email}\">\n                        </div>\n                    </div>\n                </div>\n\n                <div class=\"right aligned six wide column\">\n                    <div class=\"field m-mobile-wide m-margin-bottom-small\">\n                        <button id=\"messagepost-btn\" type=\"button\" class=\"ui teal button m-mobile-wide\"><i class=\"edit icon\"></i>发布</button>\n                    </div>\n                </div>\n            </div>\n        </div>\n        <br>\n        <br>\n        <!--留言区-->\n        <div class=\"ui bottom attached m-margin-top\">\n            <div id=\"message-container\" class=\"ui teal segment\">\n                <div th:fragment=\"messageList\">\n                    <div class=\"ui threaded comments\" style=\"max-width: 100%;\">\n                        <h3 class=\"ui dividing header\">留言</h3>\n                        <div class=\"comment\" th:each=\"message : ${messages}\">\n                            <a class=\"avatar\">\n                                <img src=\"/image/me.jpg\" th:src=\"${message.avatar}\">\n                            </a>\n                            <div class=\"content\">\n                                <a class=\"author\">\n                                    <span th:text=\"${message.nickname}\">Matt</span>\n                                    <div class=\"ui mini basic teal left pointing label m-padded-mini\" th:if=\"${message.adminMessage}\">栈主</div>\n                                </a>\n                                <div class=\"metadata\">\n                                    <span class=\"date\" th:text=\"${#dates.format(message.createTime,'yyyy-MM-dd HH:mm')}\">今天下午 5:42</span>\n                                </div>\n                                <div class=\"text\" th:text=\"${message.content}\">太赞了！ </div>\n                                <div class=\"actions\">\n                                    <a class=\"reply\" data-messageid=\"1\" data-messagenickname=\"Matt\" th:attr=\"data-messageid=${message.id},data-messagenickname=${message.nickname}\" onclick=\"reply(this)\">回复</a>\n                                    <form th:if=\"${session.user}\" th:action=\"@{/admin/messages/{id}/delete(id=${message.id})}\" method=\"post\" style=\"display:inline\">\n                                        <button type=\"submit\" class=\"delete\" onclick=\"return confirm('确定要删除该评论吗？三思啊! 删了可就没了！')\" style=\"background:none;border:none;cursor:pointer;color:rgba(0,0,0,.4);padding:0;font-size:inherit\">删除</button>\n                                    </form>\n                                </div>\n                            </div>\n                            <!--子集留言-->\n                            <div class=\"comments\" th:if=\"${#arrays.length(message.replyMessages)}>0\">\n                                <div class=\"comment\" th:each=\"reply : ${message.replyMessages}\">\n                                    <a class=\"avatar\">\n                                        <img src=\"/image/me.jpg\" th:src=\"${reply.avatar}\">\n                                    </a>\n                                    <div class=\"content\">\n                                        <a class=\"author\">\n                                            <span th:text=\"${reply.nickname}\">小红</span>\n                                            <div class=\"ui mini basic teal left pointing label m-padded-mini\" th:if=\"${reply.adminMessage}\">栈主</div>\n                                            &nbsp;<span th:text=\" ${reply.parentNickname} \" class=\"m-teal\">@ 小白</span>\n                                        </a>\n                                        <div class=\"metadata\">\n                                            <span class=\"date\" th:text=\"${#dates.format(reply.createTime,'yyyy-MM-dd HH:mm')}\">今天下午 5:42</span>\n                                        </div>\n                                        <div class=\"text\" th:text=\"${reply.content}\">太赞了！ </div>\n                                        <div class=\"actions\">\n                                            <a class=\"reply\" data-messageid=\"1\" data-messagenickname=\"Matt\" th:attr=\"data-messageid=${reply.id},data-messagenickname=${reply.nickname}\" onclick=\"reply(this)\">回复</a>\n                                            <form th:if=\"${session.user}\" th:action=\"@{/admin/messages/{id}/delete(id=${reply.id})}\" method=\"post\" style=\"display:inline\">\n                                                <button type=\"submit\" class=\"delete\" onclick=\"return confirm('确定要删除该评论吗？三思啊! 删了可就没了！')\" style=\"background:none;border:none;cursor:pointer;color:rgba(0,0,0,.4);padding:0;font-size:inherit\">删除</button>\n                                            </form>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n\n                    </div>\n                </div>\n\n            </div>\n\n        </div>\n\n        <br>\n        <br>\n\n    </div>\n</div>\n\n\n<br>\n<br>\n<br>\n\n\n<!--置顶图标-->\n<button id=\"toTop\" class=\"circular ui icon button\" style=\"display: none;\">\n    <i class=\"ui caret up icon\"></i>\n</button>\n\n\n\n<!--底部栏-->\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n\n\n\n\n<script>\n\n    $('#blog-message').load(\"/message\");\n\n    //评论表单验证\n    $('.ui.form').form({\n        fields: {\n            title: {\n                identifier: 'content',\n                rules: [{\n                    type: 'empty',\n                    prompt: '请输入评论内容'\n                }\n                ]\n            },\n            content: {\n                identifier: 'nickname',\n                rules: [{\n                    type: 'empty',\n                    prompt: '请输入你的大名'\n                }]\n            },\n            type: {\n                identifier: 'email',\n                rules: [{\n                    type: 'email',\n                    prompt: '请填写正确的邮箱地址'\n                }]\n            }\n        }\n    });\n\n    // 校验信息\n    $('#messagepost-btn').click(function () {\n        const boo = $('.ui.form').form('validate form');\n        if (boo) {\n            console.log('校验成功');\n            postData();\n        } else {\n            console.log('校验失败');\n        }\n    });\n\n    //发送请求给后端\n    function postData() {\n        $('#messagepost-btn').addClass('loading disabled');\n        $.ajax({\n            url:\"/message\" , // 请求路径\n            type:\"POST\" , //请求方式\n            data:{\"parentMessage.id\":$(\"[name='parentMessage.id']\").val(),\"nickname\":$(\"[name='nickname']\").val(),\"email\":$(\"[name='email']\").val(),\"content\":$(\"[name='content']\").val()},\n            success:function () {\n                alert(\"留言成功\");\n                location.reload();\n            },//响应成功后的回调函数\n            error:function () {\n                $('#messagepost-btn').removeClass('loading disabled');\n                alert(\"出错啦...\")\n            },//表示如果请求响应出现错误，会执行的回调函数\n            dataType:\"text\"//设置接受到的响应数据的格式\n        });\n    }\n\n    // 清除表单\n    function clearContent() {\n        $(\"[name='nickname']\").val('');\n        $(\"[name='email']\").val('');\n        $(\"[name='content']\").val('');\n        $(\"[name='parentMessage.id']\").val(-1);\n        $(\"[name='content']\").attr(\"placeholder\", \"请输入评论信息...\");\n    }\n\n    function reply(obj) {\n        const messageId = $(obj).data('messageid');\n        const messageNickname = $(obj).data('messagenickname');\n        $(\"[name='content']\").attr(\"placeholder\", \"@\"+messageNickname).focus();\n        $(\"[name='parentMessage.id']\").val(messageId);\n        $(window).scrollTo(0,500);\n    }\n\n</script>\n</body>\n</html>"
  },
  {
    "path": "src/main/resources/templates/search.html",
    "content": "<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n    <!-- Standard Meta 适配移动设备 -->\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n    <title th:text=\"'搜索结果 | '+ #{web_Name}\"></title>\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n    <meta name=\"description\" th:content=\"#{web_Description}\">\n    <div th:replace=\"/fragments/header :: common-js\"></div>\n</head>\n\n<body>\n\n<div id=\"workingArea\">\n\n    <div th:replace=\"/fragments/header :: menu\">\n    </div>\n    <div id=\"fillBackground\" class=\"\" >\n    </div>\n\n    <div class=\"pageHeadContainer\">\n        <img th:src=\"#{search_Background}\" class=\"ui image backgroundImg\">\n        <div class=\"backgroundLayout\">\n            <div class=\"myInfoDiv\" align=\"center\">\n                <div>\n                    <span class=\"name\" th:text=\"#{web_Name}\"></span>\n                </div>\n                <div class=\"word\" >\n                    想见即所得\n                </div>\n            </div>\n        </div>\n    </div>\n    <div class=\"search-results-wrap\">\n        <div class=\"search-results-container\">\n            <!--header-->\n            <div class=\"search-results-header\">\n                <h3 class=\"search-results-title\">搜索结果</h3>\n                <span class=\"search-results-count\">共 <strong th:text=\"${pageInfo.total}\">0</strong> 篇文章</span>\n            </div>\n\n            <!-- 无结果提示 -->\n            <div class=\"search-empty\" th:if=\"${pageInfo.total == 0}\">\n                <i class=\"search icon\" style=\"font-size:3em;color:#ccc;\"></i>\n                <p>没有找到相关文章，换个关键词试试吧</p>\n            </div>\n\n            <!-- 文章列表 -->\n            <div class=\"search-result-item\" th:each=\"blog : ${pageInfo.list}\">\n                <div class=\"search-result-content\">\n                    <h3><a th:href=\"@{/blog/{id}(id=${blog.id})}\" th:text=\"${blog.title}\">文章标题</a></h3>\n                    <p class=\"search-result-desc\" th:text=\"${blog.description}\">文章描述</p>\n                    <div class=\"search-result-meta\">\n                        <img th:src=\"@{${blog.user.avatar}}\" alt=\"\" class=\"ui avatar image\">\n                        <span th:text=\"${blog.user.nickname}\">作者</span>\n                        <span class=\"search-result-dot\"></span>\n                        <span th:text=\"${#dates.format(blog.updateTime, 'yyyy-MM-dd')}\">日期</span>\n                        <span class=\"search-result-dot\"></span>\n                        <i class=\"eye icon\"></i><span th:text=\"${blog.views}\">0</span>\n                        <span class=\"search-result-tag\">\n                            <a th:text=\"${blog.type.name}\" class=\"ui teal basic label m-padded-tiny m-text-thin\">分类</a>\n                        </span>\n                    </div>\n                </div>\n                <a class=\"search-result-img\" th:href=\"@{/blog/{id}(id=${blog.id})}\">\n                    <img th:src=\"@{${blog.firstPicture}}\" alt=\"\" class=\"ui rounded image\">\n                </a>\n            </div>\n\n            <!--分页-->\n            <div class=\"search-pagination\" th:if=\"${pageInfo.total > 0}\">\n                <a class=\"search-page-btn\" th:href=\"${pageInfo.hasPreviousPage} ? @{/search(query=${query},pageNum=${pageInfo.prePage})} : @{/search(query=${query},pageNum=1)}\">&laquo; 上一页</a>\n                <span class=\"search-page-info\">第 <span th:text=\"${pageInfo.pageNum}\">1</span> / <span th:text=\"${pageInfo.pages}\">1</span> 页</span>\n                <a class=\"search-page-btn\" th:href=\"${pageInfo.hasNextPage} ? @{/search(query=${query},pageNum=${pageInfo.nextPage})} : @{/search(query=${query},pageNum=${pageInfo.pages})}\">下一页 &raquo;</a>\n            </div>\n        </div>\n    </div>\n    <button id=\"toTop\" class=\"circular ui icon button\" style=\"display: none;\">\n        <i class=\"ui caret up icon\"></i>\n    </button>\n</div>\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n\n</body>\n</html>\n"
  },
  {
    "path": "src/main/resources/templates/tags.html",
    "content": "<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n    <!-- Standard Meta 适配移动设备 -->\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n    <title th:text=\"'标签页 | '+ #{web_Name}\"></title>\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n    <meta name=\"description\" th:content=\"#{web_Description}\">\n    <div th:replace=\"/fragments/header :: common-js\"></div>\n\n\n</head>\n\n<body>\n\n<div id=\"workingArea\" >\n    <div th:replace=\"/fragments/header :: menu\">\n    </div>\n    <div id=\"fillBackground\" class=\"\" >\n    </div>\n\n    <div class=\"pageHeadContainer\">\n        <img th:src=\"#{tags_Background}\" class=\"ui image backgroundImg\">\n        <div class=\"backgroundLayout\">\n            <div class=\"myInfoDiv\" align=\"center\">\n                <div>\n                    <span class=\"name\" th:text=\"#{web_Name}\">博客名字</span>\n                </div>\n                <div class=\"word\">\n                    太平洋的鲸鱼在慵懒漫游\n                    伯利兹的露水打湿了衣袖\n                </div>\n            </div>\n        </div>\n    </div>\n    <div  class=\"m-container-small m-padded-tb-big animated fadeIn\">\n        <div class=\"ui container\">\n            <br>\n            <br>\n            <br>\n            <!--header-->\n            <div class=\"ui top attached segment\">\n                <div class=\"ui middle aligned two column grid\">\n                    <div class=\"column\">\n                        <h3 class=\"ui pink header\">标签</h3>\n                    </div>\n                    <div class=\"right aligned column\">\n                        共 <strong style=\"color:#f2711c;font-size:1.3em;\" th:text=\"${#arrays.length(tags)}\">0</strong> 个标签\n                    </div>\n                </div>\n            </div>\n\n            <div class=\"ui attached segment m-padded-tb-large\">\n                <a href=\"#\" th:href=\"@{/tags/{id}(id=${tag.id})}\" class=\"ui basic left pointing large label m-margin-tb-tiny\" th:classappend=\"${tag.id==activeTagId} ? 'pink'\" th:each=\"tag : ${tags}\">\n                    <span th:text=\"${tag.name}\">方法论</span> <div class=\"detail\" th:text=\"${#arrays.length(tag.blogs)}\">23</div>\n                </a>\n            </div>\n\n            <div class=\"ui top attached pink segment\">\n                <div class=\"ui padded vertical segment m-padded-tb-large\" th:each=\"blog : ${pageInfo.list}\">\n                    <div class=\"ui middle aligned mobile reversed stackable grid\">\n                        <div class=\"eleven wide column\">\n                            <h3 class=\"ui header\" ><a href=\"#\" th:href=\"@{/blog/{id}(id=${blog.id})}\" target=\"_blank\" class=\"m-black\" th:text=\"${blog.title}\">你真的理解什么是财富自由吗?</a></h3>\n                            <p class=\"m-text\" th:text=\"|${blog.description}......|\">正确做好任何一件事情的前提是清晰、正确的理解目标。而事实是，我们很多人很多时候根本没有对目标正确的定义，甚至根本从来就没有想过，只是大家都那么做而已…...</p>\n                            <div class=\"ui grid\">\n                                <div class=\"eleven wide column\">\n                                    <div class=\"ui mini horizontal link list\">\n                                        <div class=\"item\">\n                                            <img src=\"https://unsplash.it/100/100?image=1005\" th:src=\"@{${blog.user.avatar}}\" alt=\"\" class=\"ui avatar image\">\n                                            <div class=\"content\"><a href=\"#\" class=\"header\" th:text=\"${blog.user.nickname}\" >朱一鸣</a></div>\n                                        </div>\n                                        <div class=\"item\">\n                                            <i class=\"calendar icon\"></i><span th:text=\"${#dates.format(blog.updateTime, 'yyyy-MM-dd')}\">2020-3-02</span>\n                                        </div>\n                                        <div class=\"item\">\n                                            <i class=\"eye icon\"></i> <span th:text=\"${blog.views}\">2342</span>\n                                        </div>\n                                    </div>\n                                </div>\n\n                            </div>\n                        </div>\n                        <div class=\"five wide column\">\n                            <a href=\"#\" th:href=\"@{/blog/{id}(id=${blog.id})}\" target=\"_blank\">\n                                <img src=\"https://unsplash.it/800/450?image=1005\" th:src=\"@{${blog.firstPicture}}\"  alt=\"\" class=\"ui rounded image\">\n                            </a>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"column\">\n                                <a href=\"#\" target=\"_blank\" class=\"ui pink basic label m-padded-tiny m-text-thin\" th:text=\"所属分类+':'+${blog.type.name}\">认知升级</a>\n                                <a href=\"#\" th:href=\"@{/tags/{id}(id=${tag.id})}\" class=\"ui basic pink left pointing label m-padded-mini m-text-thin\" th:each=\"tag : ${blog.tags}\" th:text=\"${tag.name}\">蹦蹦蹦</a>\n                            </div>\n                        </div>\n\n                    </div>\n                </div>\n\n            </div>\n\n            <!--footer-->\n            <div class=\"ui bottom attached segment\" >\n                <div class=\"ui middle aligned two column grid\">\n                    <div class=\"column\">\n                        <div class=\"item\"><a class=\"ui mini pink basic button\" th:href=\"@{/tags(pageNum=${pageInfo.hasPreviousPage}?${pageInfo.prePage}:1)}\">上一页</a></div>\n                    </div>\n                    <div class=\"right aligned column\">\n                        <div class=\"item\"><a class=\"ui mini pink basic button\" th:href=\"@{/tags(pageNum=${pageInfo.hasNextPage}?${pageInfo.nextPage}:${pageInfo.pages})}\">下一页</a></div>\n                    </div>\n                </div>\n            </div>\n\n            <div class=\"ui segment m-inline-block\">\n                <p >当前第<span th:text=\"${pageInfo.pageNum}\"></span>页，总<span th:text=\"${pageInfo.pages}\"></span>页，共<span th:text=\"${pageInfo.total}\"></span>条记录</p>\n            </div>\n\n        </div>\n    </div>\n    <div>\n        <div class=\"ui tiny modal tipModal\">\n            <div class=\"ui header\">提示</div>\n            <div class=\"content\">\n\n            </div>\n            <div class=\"actions\">\n                <div class=\"ui teal button\" id=\"tipCloseButton\">\n                    确定\n                </div>\n            </div>\n        </div>\n    </div>\n    <div>\n        <div class=\"ui tiny modal errorModal\">\n            <div class=\"ui header\">警告</div>\n            <div class=\"content\">\n\n            </div>\n            <div class=\"actions\">\n                <div class=\"ui teal button\" id=\"closeButton\">\n                    确定\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n<script type=\"text/javascript\" src=\"../static/js/tags.js\" th:src=\"@{/js/tags.js}\"></script></body>\n</html>\n        "
  },
  {
    "path": "src/main/resources/templates/time.html",
    "content": "\n<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n  <!-- Standard Meta 适配移动设备 -->\n  <meta charset=\"utf-8\" />\n  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n\n  <title th:text=\"'归档页 | '+ #{web_Name}\"></title>\n  <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n  <meta name=\"description\" th:content=\"#{web_Description}\">\n\n  <div th:replace=\"/fragments/header :: common-js\"></div>\n</head>\n<body>\n\n<div id=\"workingArea\">\n\n  <div id=\"fillBackground\" class=\"\" >\n  </div>\n\n  <div th:replace=\"/fragments/header :: menu\">\n  </div>\n\n  <div class=\"pageHeadContainer\">\n    <img th:src=\"#{time_Background}\" class=\"ui image backgroundImg\">\n    <div class=\"backgroundLayout\">\n      <div class=\"myInfoDiv\" align=\"center\">\n        <div>\n          <span class=\"name\" th:text=\"#{web_Name}\">博客名字</span>\n        </div>\n        <div class=\"word\">\n          这不是梦境你在台下我在台上\n          我没有学过吉他但是我会为你弹唱\n        </div>\n      </div>\n    </div>\n  </div>\n\n  <div class=\"Content\">\n    <div class=\"ui raised teal segment\">\n      <div class=\"ui vertical stackable grid container\">\n        <div class=\"row\">\n          <h4 class=\"ui header projectTitle\">博客文章归档</h4>\n        </div>\n\n        <div class=\"ui container\">\n          <!--header-->\n\n          <div class=\"right aligned column\">\n            <h2 class=\"ui center aligned header\" th:text=\"共+${blogCount}+篇博客\">2017</h2>\n          </div>\n\n          <th:block th:each=\"item : ${archiveMap}\">\n            <h2 class=\"ui center aligned header\" th:text=\"${item.key}\">2017</h2>\n            <div class=\"ui fluid vertical menu\">\n              <a href=\"#\" th:href=\"@{/blog/{id}(id=${blog.id})}\" target=\"_blank\" class=\"item\" th:each=\"blog : ${item.value}\">\n          <span>\n            <i class=\"mini orange circle icon\"> </i><span th:text=\"' '+ ${blog.title}\">关于刻意练习的清单</span>\n            <div class=\"ui orange basic left pointing label m-padded-mini \" th:text=\"${#dates.format(blog.updateTime,'MMMdd')}\">9月03</div>\n          </span>\n                <div class=\"ui orange basic left pointing label m-padded-mini \"  th:text=\"${blog.flag} ? '原创' : '转载'\">原创</div>\n              </a>\n              <!--/*-->\n              <!--*/-->\n            </div>\n          </th:block>\n\n        </div>\n\n        <div class=\"row\">\n          <h4 class=\"end\">我也是有底线的哦!</h4>\n        </div>\n      </div>\n    </div>\n  </div>\n  <!-- end  -->\n\n  <button  id=\"toTop\" class=\"circular ui icon button\" style=\"display: none;\">\n    <i class=\"ui caret up icon\"></i>\n  </button>\n\n\n  <div>\n    <div class=\"ui tiny modal tipModal\">\n      <div class=\"ui header\">提示</div>\n      <div class=\"content\">\n\n      </div>\n      <div class=\"actions\">\n        <div class=\"ui teal button\" id=\"tipCloseButton\">\n          确定\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n\n</body>\n</html>\n"
  },
  {
    "path": "src/main/resources/templates/types.html",
    "content": "\n<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\n      xmlns:th=\"http://www.thymeleaf.org\"\n      lang=\"en\">\n<head>\n    <!-- Standard Meta 适配移动设备 -->\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n    <title th:text=\"'分类页 | '+ #{web_Name}\"></title>\n    <meta name=\"keywords\" th:content=\"#{web_Keywords}\">\n    <meta name=\"description\" th:content=\"#{web_Description}\">\n    <!--实现每日一言-->\n    <script src=\"/js/bluebird.min.js\"></script>\n    <script src=\"/js/whatwg-fetch@2.0.3_fetch.js\"></script>\n    <!--End-->\n    <script>\n        fetch('https://v1.hitokoto.cn/?max_length=21')\n            .then(function (res){\n                return res.json();\n            })\n            .then(function (data) {\n                var hitokoto = document.getElementById('hitokoto');\n                hitokoto.innerText =data.hitokoto;\n            })\n            .catch(function (err) {\n                console.error(err);\n            })\n    </script>\n    <div th:replace=\"/fragments/header :: common-js\"></div>\n\n</head>\n<body>\n\n<div id=\"workingArea\">\n    <div th:replace=\"/fragments/header :: menu\">\n    </div>\n    <div class=\"pageHeadContainer\">\n        <img src=\"../static/images/background/background5.jpg\"  th:src=\"#{types_Background}\" class=\"ui image backgroundImg\">\n        <div class=\"backgroundLayout\">\n            <div class=\"myInfoDiv\" align=\"center\">\n                <div class=\"word\" >\n                    <br>\n                    <div id=\"hitokoto\"style=\"font-size:30px;color:#ffffff;\">:D 获取中...</div>\n                </div>\n            </div>\n        </div>\n    </div>\n    <div class=\"categoryContent\">\n        <div class=\"ui top attached segment\">\n            <div class=\"ui middle aligned two column grid\">\n                <div class=\"column\">\n                    <h3 class=\"ui violet header\">分类</h3>\n                </div>\n                <div class=\"right aligned column\">\n                    共 <strong style=\"color:#f2711c;font-size:1.3em;\" th:text=\"${#arrays.length(types)}\">0</strong> 个分类\n                </div>\n            </div>\n        </div>\n\n        <div class=\"ui attached segment m-padded-tb-large\">\n            <div class=\"ui labeled button m-margin-tb-tiny\" th:each=\"type : ${types}\">\n                <a href=\"#\" th:href=\"@{/types/{id}(id=${type.id})}\" class=\"ui basic  button\" th:classappend=\"${type.id==activeTypeId} ? 'violet'\" th:text=\"${type.name}\">思考与感悟</a>\n                <div class=\"ui basic  left pointing label\" th:classappend=\"${type.id==activeTypeId} ? 'violet'\" th:text=\"${#arrays.length(type.blogs)}\">24</div>\n            </div>\n        </div>\n\n        <div class=\"ui top attached violet segment\">\n            <div class=\"ui padded vertical segment m-padded-tb-large\" th:each=\"blog : ${pageInfo.list}\">\n                <div class=\"ui middle aligned mobile reversed stackable grid\">\n                    <div class=\"eleven wide column\">\n                        <h3 class=\"ui header\" ><a href=\"#\" th:href=\"@{/blog/{id}(id=${blog.id})}\" target=\"_blank\" class=\"m-black\" th:text=\"${blog.title}\">你真的理解什么是财富自由吗?</a></h3>\n                        <p class=\"m-text\" th:text=\"|${blog.description}......|\">正确做好任何一件事情的前提是清晰、正确的理解目标。而事实是，我们很多人很多时候根本没有对目标正确的定义，甚至根本从来就没有想过，只是大家都那么做而已…...</p>\n                        <div class=\"ui grid\">\n                            <div class=\"eleven wide column\">\n                                <div class=\"ui mini horizontal link list\">\n                                    <div class=\"item\">\n                                        <img src=\"https://unsplash.it/100/100?image=1005\" th:src=\"@{${blog.user.avatar}}\" alt=\"\" class=\"ui avatar image\">\n                                        <div class=\"content\"><a href=\"#\" class=\"header\" th:text=\"${blog.user.nickname}\" >朱一鸣</a></div>\n                                    </div>\n                                    <div class=\"item\">\n                                        <i class=\"calendar icon\"></i><span th:text=\"${#dates.format(blog.updateTime, 'yyyy-MM-dd')}\">2020-3-02</span>\n                                    </div>\n                                    <div class=\"item\">\n                                        <i class=\"eye icon\"></i> <span th:text=\"${blog.views}\">2342</span>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"right aligned five wide column\">\n                                <a href=\"#\" target=\"_blank\" class=\"ui violet basic label m-padded-tiny m-text-thin\" th:text=\"${blog.type.name}\">认知升级</a>\n                            </div>\n                        </div>\n                    </div>\n\n                    <div class=\"five wide column\">\n                        <a href=\"#\" th:href=\"@{/blog/{id}(id=${blog.id})}\" target=\"_blank\">\n                            <img src=\"https://unsplash.it/800/450?image=1005\" th:src=\"@{${blog.firstPicture}}\"  alt=\"\" class=\"ui rounded image\">\n                        </a>\n                    </div>\n\n                </div>\n            </div>\n\n        </div>\n        <!--分页-->\n        <div class=\"ui bottom attached segment m-opacity stackable grid\">\n            <div class=\"three wide column\" align=\"center\">\n                <a class=\"item\" th:href=\"@{/types(pageNum=${pageInfo.hasPreviousPage}?${pageInfo.prePage}:1)}\" th:unless=\"${pageInfo.isFirstPage}\">上一页</a>\n            </div>\n\n            <div class=\"ten wide column\" align=\"center\">\n                <p> <span th:text=\"${pageInfo.pageNum}\"></span> / <span th:text=\"${pageInfo.pages}\"></span> </p>\n            </div>\n\n            <div class=\"three wide column\" align=\"center\">\n                <a class=\"item\" th:href=\"@{/types(pageNum=${pageInfo.hasNextPage}?${pageInfo.nextPage}:${pageInfo.pages})}\" th:unless=\"${pageInfo.isLastPage}\">下一页</a>\n            </div>\n        </div>\n\n    </div>\n\n    <button id=\"toTop\" class=\"circular ui icon button\" style=\"display: none;\">\n        <i class=\"ui caret up icon\"></i>\n    </button>\n\n    </div>\n\n<script type=\"text/javascript\" src=\"/static/js/category.js\" th:src=\"@{/js/category.js}\"></script>\n\n<div th:replace=\"/fragments/footer :: footer-content\"></div>\n</body>\n</html>"
  },
  {
    "path": "src/test/java/com/blog/BlogApplicationTests.java",
    "content": "package com.blog;\n\nimport com.blog.dao.BlogDao;\nimport org.junit.jupiter.api.Test;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.boot.test.context.SpringBootTest;\n\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Set;\n\n@SpringBootTest\nclass BlogApplicationTests {\n\n\t@Test\n\tvoid contextLoads() {\n\t}\n\n}\n"
  },
  {
    "path": "src/test/java/com/blog/service/AIServiceTest.java",
    "content": "package com.blog.service;\n\nimport org.junit.jupiter.api.BeforeEach;\nimport org.junit.jupiter.api.Test;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.boot.test.context.SpringBootTest;\nimport org.springframework.test.context.TestPropertySource;\n\nimport static org.junit.jupiter.api.Assertions.*;\n\n/**\n * AI 服务单元测试\n * @author tangredtea\n */\n@SpringBootTest\n@TestPropertySource(properties = {\n    \"ai.api.key=test-key\",\n    \"ai.model=gpt-3.5-turbo\"\n})\nclass AIServiceTest {\n\n    @Autowired\n    private AIService aiService;\n\n    @BeforeEach\n    void setUp() {\n        // 测试前准备\n    }\n\n    @Test\n    void testGenerateSummary_WithLongContent() {\n        // Given\n        String content = \"这是一篇关于Spring Boot的博客文章。\" +\n                \"Spring Boot是一个简化Spring应用开发的框架。\" +\n                \"它提供了自动配置、起步依赖等特性，让开发者可以快速搭建项目。\" +\n                \"本文将详细介绍Spring Boot的核心特性和使用方法。\";\n\n        // When\n        String summary = aiService.generateSummary(content);\n\n        // Then\n        assertNotNull(summary);\n        assertTrue(summary.length() <= 200);\n    }\n\n    @Test\n    void testGenerateSummary_WithShortContent() {\n        // Given\n        String content = \"短文测试\";\n\n        // When\n        String summary = aiService.generateSummary(content);\n\n        // Then\n        assertNotNull(summary);\n        assertEquals(\"短文测试\", summary);\n    }\n\n    @Test\n    void testSuggestTags() {\n        // Given\n        String title = \"Spring Boot 入门教程\";\n        String content = \"本文介绍如何使用 Spring Boot 快速开发 Web 应用，包括自动配置、起步依赖等核心概念。\";\n\n        // When - 如果 AI 未启用，返回空数组\n        String[] tags = aiService.suggestTags(title, content);\n\n        // Then\n        assertNotNull(tags);\n        // 如果 AI 未配置，应该返回空数组而不是 null\n    }\n\n    @Test\n    void testScoreArticle() {\n        // Given\n        String title = \"测试文章标题\";\n        String content = \"这是一篇测试文章的内容，用于测试评分功能。\";\n\n        // When\n        AIService.ArticleScore score = aiService.scoreArticle(title, content);\n\n        // Then\n        assertNotNull(score);\n        assertTrue(score.getScore() >= 0 && score.getScore() <= 100);\n        assertNotNull(score.getSuggestion());\n    }\n\n    @Test\n    void testIsEnabled() {\n        // When & Then\n        // 由于配置了 test-key，应该返回 true\n        assertTrue(aiService.isEnabled());\n    }\n\n    @Test\n    void testLocalSummaryGeneration() {\n        // Given - HTML 内容\n        String htmlContent = \"<p>这是第一段</p><p>这是第二段，包含更多文字内容用于测试摘要生成功能。</p>\";\n\n        // When\n        String summary = aiService.generateSummary(htmlContent);\n\n        // Then\n        assertNotNull(summary);\n        assertFalse(summary.contains(\"<p>\")); // HTML 标签应该被去除\n    }\n}\n"
  },
  {
    "path": "src/test/java/com/blog/service/SitemapServiceTest.java",
    "content": "package com.blog.service;\n\nimport com.blog.dao.BlogDao;\nimport com.blog.entity.Blog;\nimport org.junit.jupiter.api.BeforeEach;\nimport org.junit.jupiter.api.Test;\nimport org.mockito.InjectMocks;\nimport org.mockito.Mock;\nimport org.mockito.MockitoAnnotations;\n\nimport java.util.Arrays;\nimport java.util.Date;\nimport java.util.List;\n\nimport static org.junit.jupiter.api.Assertions.*;\nimport static org.mockito.Mockito.*;\n\n/**\n * 站点地图服务单元测试\n * @author tangredtea\n */\nclass SitemapServiceTest {\n\n    @Mock\n    private BlogDao blogDao;\n\n    @InjectMocks\n    private SitemapService sitemapService;\n\n    @BeforeEach\n    void setUp() {\n        MockitoAnnotations.openMocks(this);\n    }\n\n    @Test\n    void testGenerateSitemap() {\n        // Given\n        Blog blog1 = new Blog();\n        blog1.setId(1L);\n        blog1.setTitle(\"文章1\");\n        blog1.setUpdateTime(new Date());\n\n        Blog blog2 = new Blog();\n        blog2.setId(2L);\n        blog2.setTitle(\"文章2\");\n        blog2.setUpdateTime(new Date());\n\n        List<Blog> blogs = Arrays.asList(blog1, blog2);\n        when(blogDao.getAllPublishedBlogs()).thenReturn(blogs);\n\n        // When\n        String sitemap = sitemapService.generateSitemap();\n\n        // Then\n        assertNotNull(sitemap);\n        assertTrue(sitemap.contains(\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\"));\n        assertTrue(sitemap.contains(\"<urlset xmlns=\\\"http://www.sitemaps.org/schemas/sitemap/0.9\\\">\"));\n        assertTrue(sitemap.contains(\"<loc>\"));\n        assertTrue(sitemap.contains(\"<priority>\"));\n        assertTrue(sitemap.contains(\"<changefreq>\"));\n        assertTrue(sitemap.contains(\"</urlset>\"));\n        \n        // 验证包含首页和文章链接\n        assertTrue(sitemap.contains(\"/blog/1\"));\n        assertTrue(sitemap.contains(\"/blog/2\"));\n        assertTrue(sitemap.contains(\"/types\"));\n        assertTrue(sitemap.contains(\"/tags\"));\n        \n        verify(blogDao, times(1)).getAllPublishedBlogs();\n    }\n\n    @Test\n    void testGenerateSitemap_WithEmptyBlogs() {\n        // Given\n        when(blogDao.getAllPublishedBlogs()).thenReturn(Arrays.asList());\n\n        // When\n        String sitemap = sitemapService.generateSitemap();\n\n        // Then\n        assertNotNull(sitemap);\n        assertTrue(sitemap.contains(\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\"));\n        // 即使没有文章，也应该包含基本页面\n        assertTrue(sitemap.contains(\"/types\"));\n        assertTrue(sitemap.contains(\"/tags\"));\n    }\n\n    @Test\n    void testGenerateSitemap_ContainsPriority() {\n        // Given\n        Blog blog = new Blog();\n        blog.setId(1L);\n        blog.setUpdateTime(new Date());\n        when(blogDao.getAllPublishedBlogs()).thenReturn(Arrays.asList(blog));\n\n        // When\n        String sitemap = sitemapService.generateSitemap();\n\n        // Then\n        assertTrue(sitemap.contains(\"<priority>1.0</priority>\")); // 首页优先级最高\n        assertTrue(sitemap.contains(\"<priority>0.9</priority>\")); // 文章优先级较高\n    }\n\n    @Test\n    void testGenerateSitemap_ContainsChangeFreq() {\n        // Given\n        when(blogDao.getAllPublishedBlogs()).thenReturn(Arrays.asList());\n\n        // When\n        String sitemap = sitemapService.generateSitemap();\n\n        // Then\n        assertTrue(sitemap.contains(\"<changefreq>daily</changefreq>\"));\n        assertTrue(sitemap.contains(\"<changefreq>weekly</changefreq>\"));\n        assertTrue(sitemap.contains(\"<changefreq>monthly</changefreq>\"));\n    }\n}\n"
  },
  {
    "path": "src/test/java/com/blog/util/PasswordUtilsTest.java",
    "content": "package com.blog.util;\n\nimport org.junit.jupiter.api.Test;\n\nimport static org.junit.jupiter.api.Assertions.*;\n\n/**\n * 密码工具类单元测试\n * @author tangredtea\n */\nclass PasswordUtilsTest {\n\n    @Test\n    void testEncode() {\n        // Given\n        String rawPassword = \"testPassword123\";\n\n        // When\n        String encoded = PasswordUtils.encode(rawPassword);\n\n        // Then\n        assertNotNull(encoded);\n        assertNotEquals(rawPassword, encoded); // 加密后应该不同\n        assertTrue(encoded.startsWith(\"$2a$\")); // BCrypt 格式\n    }\n\n    @Test\n    void testMatches_WithCorrectPassword() {\n        // Given\n        String rawPassword = \"mySecretPassword\";\n        String encodedPassword = PasswordUtils.encode(rawPassword);\n\n        // When\n        boolean matches = PasswordUtils.matches(rawPassword, encodedPassword);\n\n        // Then\n        assertTrue(matches);\n    }\n\n    @Test\n    void testMatches_WithWrongPassword() {\n        // Given\n        String rawPassword = \"correctPassword\";\n        String wrongPassword = \"wrongPassword\";\n        String encodedPassword = PasswordUtils.encode(rawPassword);\n\n        // When\n        boolean matches = PasswordUtils.matches(wrongPassword, encodedPassword);\n\n        // Then\n        assertFalse(matches);\n    }\n\n    @Test\n    void testEncode_DifferentResultsForSamePassword() {\n        // Given\n        String rawPassword = \"samePassword\";\n\n        // When - BCrypt 每次加密结果都不同（因为随机盐）\n        String encoded1 = PasswordUtils.encode(rawPassword);\n        String encoded2 = PasswordUtils.encode(rawPassword);\n\n        // Then\n        assertNotEquals(encoded1, encoded2); // 两次加密结果应该不同\n        assertTrue(PasswordUtils.matches(rawPassword, encoded1));\n        assertTrue(PasswordUtils.matches(rawPassword, encoded2));\n    }\n\n    @Test\n    void testMatches_WithEmptyPassword() {\n        // Given\n        String emptyPassword = \"\";\n        String encoded = PasswordUtils.encode(emptyPassword);\n\n        // When\n        boolean matches = PasswordUtils.matches(emptyPassword, encoded);\n\n        // Then\n        assertTrue(matches);\n    }\n\n    @Test\n    void testMatches_WithLongPassword() {\n        // Given\n        String longPassword = \"a\".repeat(100);\n        String encoded = PasswordUtils.encode(longPassword);\n\n        // When\n        boolean matches = PasswordUtils.matches(longPassword, encoded);\n\n        // Then\n        assertTrue(matches);\n    }\n}\n"
  },
  {
    "path": "src/test/java/com/blog/util/SEOUtilsTest.java",
    "content": "package com.blog.util;\n\nimport com.blog.entity.Blog;\nimport com.blog.entity.Type;\nimport com.blog.entity.User;\nimport org.junit.jupiter.api.BeforeEach;\nimport org.junit.jupiter.api.Test;\n\nimport java.util.Date;\n\nimport static org.junit.jupiter.api.Assertions.*;\n\n/**\n * SEO 工具类单元测试\n * @author tangredtea\n */\nclass SEOUtilsTest {\n\n    private SEOUtils seoUtils;\n    private Blog blog;\n\n    @BeforeEach\n    void setUp() {\n        seoUtils = new SEOUtils();\n        \n        // 创建测试博客对象\n        blog = new Blog();\n        blog.setId(1L);\n        blog.setTitle(\"Spring Boot 入门教程\");\n        blog.setDescription(\"本文介绍 Spring Boot 框架的基本使用方法\");\n        blog.setContent(\"<p>Spring Boot 是一个简化 Spring 应用开发的框架。</p><p>它提供了自动配置功能。</p>\");\n        blog.setFirstPicture(\"https://example.com/image.jpg\");\n        blog.setCreateTime(new Date());\n        blog.setUpdateTime(new Date());\n        blog.setTagIds(\"spring,boot,java\");\n        \n        Type type = new Type();\n        type.setName(\"后端开发\");\n        blog.setType(type);\n        \n        User user = new User();\n        user.setNickname(\"博主小明\");\n        blog.setUser(user);\n    }\n\n    @Test\n    void testGenerateMetaDescription_WithDescription() {\n        // When\n        String description = seoUtils.generateMetaDescription(blog);\n\n        // Then\n        assertNotNull(description);\n        assertTrue(description.contains(\"Spring Boot\"));\n        assertTrue(description.length() <= 160);\n    }\n\n    @Test\n    void testGenerateMetaDescription_WithoutDescription() {\n        // Given\n        blog.setDescription(null);\n\n        // When\n        String description = seoUtils.generateMetaDescription(blog);\n\n        // Then\n        assertNotNull(description);\n        assertFalse(description.contains(\"<p>\")); // HTML 标签应该被去除\n    }\n\n    @Test\n    void testGenerateMetaKeywords() {\n        // When\n        String keywords = seoUtils.generateMetaKeywords(blog);\n\n        // Then\n        assertNotNull(keywords);\n        assertTrue(keywords.contains(\"Spring Boot\"));\n        assertTrue(keywords.contains(\"spring\"));\n        assertTrue(keywords.contains(\"后端开发\"));\n    }\n\n    @Test\n    void testGenerateOpenGraphTags() {\n        // When\n        String ogTags = seoUtils.generateOpenGraphTags(blog, \"/blog/1\");\n\n        // Then\n        assertNotNull(ogTags);\n        assertTrue(ogTags.contains(\"og:type\"));\n        assertTrue(ogTags.contains(\"og:title\"));\n        assertTrue(ogTags.contains(\"og:description\"));\n        assertTrue(ogTags.contains(\"og:url\"));\n        assertTrue(ogTags.contains(\"og:image\"));\n        assertTrue(ogTags.contains(\"article:published_time\"));\n    }\n\n    @Test\n    void testGenerateTwitterCardTags() {\n        // When\n        String twitterTags = seoUtils.generateTwitterCardTags(blog);\n\n        // Then\n        assertNotNull(twitterTags);\n        assertTrue(twitterTags.contains(\"twitter:card\"));\n        assertTrue(twitterTags.contains(\"twitter:title\"));\n        assertTrue(twitterTags.contains(\"twitter:description\"));\n        assertTrue(twitterTags.contains(\"twitter:image\"));\n    }\n\n    @Test\n    void testGenerateJsonLd() {\n        // When\n        String jsonLd = seoUtils.generateJsonLd(blog, \"/blog/1\");\n\n        // Then\n        assertNotNull(jsonLd);\n        assertTrue(jsonLd.contains(\"@context\"));\n        assertTrue(jsonLd.contains(\"BlogPosting\"));\n        assertTrue(jsonLd.contains(\"headline\"));\n        assertTrue(jsonLd.contains(\"author\"));\n        assertTrue(jsonLd.contains(\"publisher\"));\n    }\n\n    @Test\n    void testGenerateBreadcrumbJsonLd() {\n        // When\n        String breadcrumb = seoUtils.generateBreadcrumbJsonLd(\n            \"首页\", \"/\",\n            \"文章列表\", \"/blogs\",\n            \"当前文章\", \"/blog/1\"\n        );\n\n        // Then\n        assertNotNull(breadcrumb);\n        assertTrue(breadcrumb.contains(\"BreadcrumbList\"));\n        assertTrue(breadcrumb.contains(\"ListItem\"));\n        assertTrue(breadcrumb.contains(\"首页\"));\n        assertTrue(breadcrumb.contains(\"文章列表\"));\n    }\n\n    @Test\n    void testGenerateFaqJsonLd() {\n        // Given\n        String[][] faqs = {\n            {\"什么是 Spring Boot？\", \"Spring Boot 是一个简化 Spring 开发的框架。\"},\n            {\"如何学习 Spring Boot？\", \"可以通过官方文档和实战项目学习。\"}\n        };\n\n        // When\n        String faqJson = seoUtils.generateFaqJsonLd(faqs);\n\n        // Then\n        assertNotNull(faqJson);\n        assertTrue(faqJson.contains(\"FAQPage\"));\n        assertTrue(faqJson.contains(\"Question\"));\n        assertTrue(faqJson.contains(\"Answer\"));\n    }\n\n    @Test\n    void testHtmlEscape() {\n        // Given\n        blog.setTitle(\"<script>alert('xss')</script>\");\n\n        // When\n        String ogTags = seoUtils.generateOpenGraphTags(blog, \"/blog/1\");\n\n        // Then\n        assertFalse(ogTags.contains(\"<script>\"));\n        assertTrue(ogTags.contains(\"&lt;script&gt;\"));\n    }\n}\n"
  }
]