#pragma checksum "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a1342e176c7059f58485bfaaeaeac3cdec226f44"
// <auto-generated/>
#pragma warning disable 1591
namespace BookRegistry.Client.Pages
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Components;
#nullable restore
#line 1 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using System.Net.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using System.Net.Http.Json;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing;

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Web;

#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.WebAssembly.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 11 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using CommonHelpers.WASM;

#line default
#line hidden
#nullable disable
#nullable restore
#line 12 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using AFXUI;

#line default
#line hidden
#nullable disable
#nullable restore
#line 14 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client;

#line default
#line hidden
#nullable disable
#nullable restore
#line 15 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.DB;

#line default
#line hidden
#nullable disable
#nullable restore
#line 16 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.Shared;

#line default
#line hidden
#nullable disable
#nullable restore
#line 17 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.Components;

#line default
#line hidden
#nullable disable
#nullable restore
#line 18 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.Pages;

#line default
#line hidden
#nullable disable
    [Microsoft.AspNetCore.Components.RouteAttribute("/error")]
    public partial class ErrorPage : APageComponent
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#nullable restore
#line 3 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
  try{

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
if (@HasError)
{

#line default
#line hidden
#nullable disable
            __builder.OpenComponent<BookRegistry.Client.Shared.AButton>(0);
            __builder.AddAttribute(1, "Style", "float: right");
            __builder.AddAttribute(2, "Title", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 7 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
                                     ForgetErrorTitle

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(3, "Focusable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 7 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
                                                                 false

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(4, "ON_Click", new System.Action(
#nullable restore
#line 8 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
                   ButtonForgetError_OnClick

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(5, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(6, "<img src=\"lib/open-iconic/png/x-2x.png\">&nbsp;&nbsp;");
                __builder2.AddMarkupContent(7, "<span style=\"vertical-align: middle\">Forget this error</span>");
            }
            ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(8, "\r\n");
            __builder.AddMarkupContent(9, "<p class=\"page_ImpressiveTitle\">\r\n   Error in <b>BookRegistry</b>-application (SPA)\r\n</p>");
#nullable restore
#line 14 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
}
else
{

#line default
#line hidden
#nullable disable
            __builder.AddMarkupContent(10, "<span class=\"page_ModestTitle\">\r\n   There is no last error information about application error.\r\n</span>");
#nullable restore
#line 20 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
}

#line default
#line hidden
#nullable disable
#nullable restore
#line 22 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
 if (ExceptionCause != null)
{

#line default
#line hidden
#nullable disable
            __builder.OpenElement(11, "p");
            __builder.AddAttribute(12, "id", "pg_error_ExceptionCause");
            __builder.AddContent(13, 
#nullable restore
#line 24 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
                                 ExceptionCause

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
#nullable restore
#line 25 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
}

#line default
#line hidden
#nullable disable
#nullable restore
#line 26 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
 if (ErrorMessageHtml != null)
{

#line default
#line hidden
#nullable disable
            __builder.OpenElement(14, "p");
            __builder.AddAttribute(15, "id", "pg_error_ErrorMessage");
            __builder.AddContent(16, 
#nullable restore
#line 28 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
                               ErrorMessageHtml

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
#nullable restore
#line 29 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
}

#line default
#line hidden
#nullable disable
#nullable restore
#line 30 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
 if (ExceptionMarkup.HasValue)
{

#line default
#line hidden
#nullable disable
            __builder.OpenElement(17, "p");
            __builder.AddAttribute(18, "class", 
#nullable restore
#line 32 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
          ExceptionMarkupClass

#line default
#line hidden
#nullable disable
            );
            __builder.AddContent(19, 
#nullable restore
#line 32 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
                                ExceptionMarkup.Value

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
#nullable restore
#line 33 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
}

#line default
#line hidden
#nullable disable
#nullable restore
#line 35 "D:\HANDICRAFT\BookRegistry\Client\Pages\ErrorPage.razor"
}catch(Exception e){ProcessRenderingError(GetType(),e,false);}

#line default
#line hidden
#nullable disable
        }
        #pragma warning restore 1998
    }
}
#pragma warning restore 1591
