!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("marked"),require("prismjs")):"function"==typeof define&&define.amd?define(["marked","prismjs"],t):e.Docsify=t(e.marked,e.Prism)}(this,function(e,t){"use strict";function n(){function e(){for(var e=0,t=n.length;e150){var l=i[r.id];if(l===o)return;return o&&o.classList.remove("active"),l.classList.add("active"),void(o=l)}}}function t(){var e=window.location.hash.slice(1);if(e){var t=document.querySelector("#"+e);t&&t.scrollIntoView()}}if(!/mobile/i.test(navigator.userAgent)){for(var n=document.querySelectorAll(".anchor"),i={},r=document.querySelectorAll(".sidebar li"),o=null,s=0,l=r.length;s'+e.title+"",e.children&&(t+='
    • '+o(e.children)+"")}),t+"
    "):""},s=function(e){return o(r(e),"
      ")},l=[],a=new e.Renderer;a.heading=function(e,t){var n=e.toLowerCase().replace(/[\s\n\t]+/g,"-");return l.push({level:t,slug:n,title:e}),"'+e+""},e.setOptions({renderer:a,highlight:function(e,n){return t.highlight(e,t.languages[n]||t.languages.markup)}});var c=function(t){var n='
      \n
      '+e(t)+"
      \n
      ",i='";return"
      "+i+n+"
      "},u=function(){n()},d={el:"#app",title:document.title,sep:" - "},h=function e(t){e.installed=!0,this.replace=!0,this.opts=Object.assign({},t,d),this.dom=document.querySelector(this.opts.el),this.dom||(this.dom=document.body,this.replace=!1),this.loc=document.location.pathname,/\/$/.test(this.loc)&&(this.loc+="README"),this.load()};return h.prototype.load=function(){var e=this;i(this.loc+".md").then(function(t){var n=t.target;n.status>=400?e.render("not found"):(e.render(t.target.response),u())})},h.prototype.render=function(e){document.title=this.loc.slice(1)+this.opts.sep+this.opts.title,this.dom[this.replace?"outerHTML":"innerHTML"]=c(e)},h.use=function(){var e=arguments[0];if("function"!=typeof e)throw TypeError("[docsify] Invalid plugin "+e.name);e.call(h)},window.addEventListener("load",function(){h.installed||new h}),h});