<!doctype html>
<html class="default no-js">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>{{#ifCond model.name '==' project.name}}{{project.name}}{{else}}{{model.name}}
			| {{project.name}}{{/ifCond}}</title>
		<meta name="description" content="">
		<meta name="viewport" content="width=device-width, initial-scale=1">

		<link rel="stylesheet" href="{{relativeURL "assets/css/main.css"}}">
	</head>
	<body>

		{{> header}}

		<div class="container container-main">
			<div class="row">
				<div class="col-8 col-content">
					{{{contents}}}
				</div>
				<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
					<nav class="tsd-navigation primary">
						<ul>
							{{#each navigation.children}}
								{{> navigation}}
							{{/each}}
						</ul>
					</nav>

					<nav class="tsd-navigation secondary menu-sticky">
						<ul class="before-current">
							{{#each toc.children}}
								{{> toc.root}}
							{{/each}}
						</ul>
					</nav>
				</div>
			</div>
		</div>

		<div class="overlay"></div>
		<script src="{{relativeURL "assets/js/main.js"}}"></script>
		<script>if (location.protocol == 'file:') document.write('<script src="{{relativeURL "assets/js/search.js"}}"><' + '/script>');</script>
		<script>
			Array.from(document.getElementsByClassName('tsd-description')).forEach(description => {
				let pres = Array.from(description.getElementsByTagName('pre'));
				pres.forEach(pre => {
					if (pre.previousElementSibling && pre.previousElementSibling.tagName.toLowerCase() === 'p') {
						pre.className = 'content';
						pre.previousElementSibling.className = 'collapsible';
					}
				});
			});

			var coll = document.getElementsByClassName("collapsible");
			var i;

			for (i = 0; i < coll.length; i++) {
				coll[i].addEventListener("click", function() {
					this.classList.toggle("active");
					var content = this.nextElementSibling;
					if (content.style.display === "block") {
						content.style.display = "none";
					} else {
						content.style.display = "block";
					}
				});
			}
		</script>
	</body>
</html>