public static System.Web.WebPages.HelperResult Toc(TocModel toc)
{
#line default
#line hidden
return new System.Web.WebPages.HelperResult(__razor_helper_writer => {
 

WriteLiteralTo(__razor_helper_writer, "\t<ul");

WriteLiteralTo(__razor_helper_writer, " class=\"nav\"");

WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t<li");

WriteLiteralTo(__razor_helper_writer, " class=\"units-list-item full-width units-list-item-text course-name\"");

WriteLiteralTo(__razor_helper_writer, "><a");

WriteLiteralTo(__razor_helper_writer, " data-score=\"");

                                                                 WriteTo(__razor_helper_writer, SlideHtml.Score(toc.Score, toc.MaxScore));

WriteLiteralTo(__razor_helper_writer, "\"");

WriteLiteralTo(__razor_helper_writer, ">");

                                                                                                            WriteTo(__razor_helper_writer, toc.Course.Title);

WriteLiteralTo(__razor_helper_writer, "</a></li>\r\n");

		
          
			int iUnit = 0;
			foreach (var unit in toc.Units)
			{
				
WriteTo(__razor_helper_writer, TocUnit(unit, iUnit));

                                     
				iUnit++;
			}
		
WriteLiteralTo(__razor_helper_writer, "\r\n\t</ul>\r\n");


});

#line default
#line hidden
}
public static System.Web.WebPages.HelperResult Page(Course course, Slide slide, TocModel toc, IEnumerable<string> cssFiles, IEnumerable<string> jsFiles)
{
return new System.Web.WebPages.HelperResult(__razor_helper_writer => {


 

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t<html>\r\n\t<head>\r\n\t\t<title>Preview: ");


WebViewPage.WriteTo(@__razor_helper_writer, course.Title);

WebViewPage.WriteLiteralTo(@__razor_helper_writer, " — ");


WebViewPage.WriteTo(@__razor_helper_writer, slide.Title);

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "</title>\r\n\t\t<link rel=\"shortcut icon\" href=\"favicon.ico?v=1\" />\r\n\t\t<meta charset=" +
"\'UTF-8\'>\r\n");


 		foreach (var cssFile in cssFiles)
		{

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t\t\t<link href=\'");


WebViewPage.WriteTo(@__razor_helper_writer, cssFile);

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\' rel=\'stylesheet\' />\r\n");


		}

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t</head>\r\n\t<body>\r\n\t\t<div class=\'side-bar navbar-collapse collapse navbar-nav con" +
"tainer\'>\r\n\t\t\t");


WebViewPage.WriteTo(@__razor_helper_writer, TableOfContents.Toc(toc));

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n\t\t</div>\r\n\r\n\t\t<div class=\"slide-container\">\r\n\t\t\t<div class=\"container body-cont" +
"ent\">\r\n\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t");


WebViewPage.WriteTo(@__razor_helper_writer, SlideHtml.Slide(new BlockRenderContext(course, slide, "/static/", 
						slide.Blocks.Select(
							(b, i) => b is ExerciseBlock 
								? new ExerciseBlockData { RunSolutionUrl = "/" + slide.Index.ToString("000") + ".html?query=submit", DebugView = true } 
								: b is AbstractQuestionBlock 
									? new QuizInfoModel(new QuizModel() {AnswersToQuizes = slide.Blocks.OfType<AbstractQuestionBlock>().ToDictionary(x => x.Id, x => new List<string>())}, b, i, QuizState.Total) 
									: (dynamic)null
							).ToArray()
						)
					));

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\r\n");


 		foreach (var jsFile in jsFiles)
		{

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t\t\t<script src=\'");


WebViewPage.WriteTo(@__razor_helper_writer, jsFile);

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\'></script>\r\n");


		}

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t</body>\r\n</html>\r\n");



});

}
public static System.Web.WebPages.HelperResult Page(Course course, Slide slide, TocModel toc, IEnumerable<string> cssFiles, IEnumerable<string> jsFiles)
{
return new System.Web.WebPages.HelperResult(__razor_helper_writer => {


 

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t<html>\r\n\t<head>\r\n\t\t<title>Preview: ");


WebViewPage.WriteTo(@__razor_helper_writer, course.Title);

WebViewPage.WriteLiteralTo(@__razor_helper_writer, " — ");


WebViewPage.WriteTo(@__razor_helper_writer, slide.Title);

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "</title>\r\n\t\t<meta charset=\'UTF-8\'>\r\n");


 		foreach (var cssFile in cssFiles)
		{

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t\t\t<link href=\'");


WebViewPage.WriteTo(@__razor_helper_writer, cssFile);

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\' rel=\'stylesheet\' />\r\n");


		}

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t</head>\r\n\t<body>\r\n\t\t<div class=\'side-bar navbar-collapse collapse navbar-nav con" +
"tainer\'>\r\n\t\t\t");


WebViewPage.WriteTo(@__razor_helper_writer, TableOfContents.Toc(toc));

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n\t\t</div>\r\n\r\n\t\t<div class=\"slide-container\">\r\n\t\t\t<div class=\"container body-cont" +
"ent\">\r\n\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t");


WebViewPage.WriteTo(@__razor_helper_writer, SlideHtml.Slide(new BlockRenderContext(course, slide, slide.Info.SlideFile.Directory.FullName, slide.Blocks.Select(b => (dynamic)null).ToArray())));

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\r\n");


 		foreach (var jsFile in jsFiles)
		{

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t\t\t<script src=\'");


WebViewPage.WriteTo(@__razor_helper_writer, jsFile);

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\'></script>\r\n");


		}

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t</body>\r\n</html>\r\n");



});

}
public static System.Web.WebPages.HelperResult Toc(TocModel toc)
{
return new System.Web.WebPages.HelperResult(__razor_helper_writer => {



#line 39 "..\..\Views\SlideNavigation\TableOfContents.cshtml"
 

#line default
#line hidden

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t<ul class=\"nav\">\r\n\t\t<li class=\"units-list-item full-width units-list-item-text c" +
"ourse-name\"><a data-score=\"");



#line 41 "..\..\Views\SlideNavigation\TableOfContents.cshtml"
                                              WebViewPage.WriteTo(@__razor_helper_writer, SlideHtml.Score(toc.Score, toc.MaxScore));

#line default
#line hidden

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\">");



#line 41 "..\..\Views\SlideNavigation\TableOfContents.cshtml"
                                                                                         WebViewPage.WriteTo(@__razor_helper_writer, toc.Course.Title);

#line default
#line hidden

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "</a></li>\r\n");



#line 42 "..\..\Views\SlideNavigation\TableOfContents.cshtml"
  		
			int iUnit = 0;
			foreach (var unit in toc.Units)
			{
				
#line default
#line hidden


#line 46 "..\..\Views\SlideNavigation\TableOfContents.cshtml"
WebViewPage.WriteTo(@__razor_helper_writer, TocUnit(unit, iUnit));

#line default
#line hidden


#line 46 "..\..\Views\SlideNavigation\TableOfContents.cshtml"
                         
				iUnit++;
			}
		

#line default
#line hidden

WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t</ul>\r\n");



#line 51 "..\..\Views\SlideNavigation\TableOfContents.cshtml"

#line default
#line hidden

});

}