<?php
namespace Claromentis\Core\Security\EntryPoint;

$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] = (@$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] ?: array()) + array("_7aefd482de7885f42" . "93c2926df28c235" => base64_decode("anNvb" . "l9lbm" . "NvZGU" . "="), "_8e5d13906836d2ac773ce4f7cad665a" . "9" => base64_decode("L2xvZ2l" . "u"), "_4afcbf900d14" . "6eeb40e326a46" . "37a8e02" => base64_decode("P" . "w" . "=" . "="), "_0b4b5e044" . "b86c99e86f" . "b937c1eea6" . "a71" => base64_decode("JnB" . "hZ2" . "U9"), "_041e9a0de4bbd616ffe9f0a" . "0734ccfad" => base64_decode("dXJsZW" . "5jb2Rl"), "_ab2030555cfbe6" . "3c67a304c58283a" . "0a6" => base64_decode("aHR0cF9idWlsZF9xdWVy" . "eQ=="), "_9d563921fc01094b4d118c5b" . "f2187d4b" => base64_decode("Y2xhX2h0" . "bWxzYWZl"), "_8df4fa2d5c" . "8d8c2e6de45" . "77a36506bb1" => base64_decode("aXNfZXJyb3J" . "fbWVzc2FnZQ" . "=="), "_0ad955c1639c4f" . "1a8a3d13002228c" . "ae7" => base64_decode("ICsgZW5jb2RlVVJJQ29tcG9uZW50KGN1cl9sb2NhdGlvbik7CgkJPC9" . "zY3JpcHQ+CgkJPC9ib2R5PjwvaHRtbD4="), "_2b256e4db308056d5cfca994" . "8e2d8741" => base64_decode("IiBpZD0icmVkaXJlY3RfaHJlZiI+Q2xpY2sgaGVyZSB0byBjb250aW51ZTwvYT4KCQk8L3NwYW4+CgkJPHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPgoJCQl2YXIgY3VyX2xvY2F0aW9uID0gd2luZG93LmxvY2F0aW9uLnBhdGhuYW1lICsgd2luZG93LmxvY2F0aW9uLnNlYXJjaCArIHdpbmRvdy5sb2NhdGlvbi5oYXNoOwoJCQl2YXIgdGlwPWRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdyZWRpcmVjdF90aXAnKTsKCQkJdGlwLnN0eWxlLmRpc3BsYXk9J25" . "vbmUnOwoJCQl3aW5kb3cubG9jYXRpb24gPSA="), "_6cebb7a064" . "1521e5ad5e6" . "0b1e67d1afa" => base64_decode("PGh0bWw+PGhlYWQ+PE1FVEEgaHR0cC1lcXVpdj0icmVmcmVza" . "CIgY29udGVudD0iMTsgVVJMPQ=="), "_cc9b242b82b4cc" . "94ff6f6db88301d" . "256" => base64_decode("Ij48L2hlYWQ+CgkJPGJvZHk+CgkJPHNwYW4gaWQ9InJlZGlyZWN0X3RpcCIgc3R5bGU9ImZvbnQtc2l6ZTogMTFweDsgZm9udC1mYW" . "NlOiBUYWhvbWEiPjxhIGhyZWY9Ig=="), "_e05e0022a2e5ad344b9c4" . "a0d3f64e1a5" => base64_decode("bWVzc" . "2FnZQ" . "=="), "_221da17e3055fae8d3ff516b832a5" . "f3b" => base64_decode("cGFnZQ" . "=="));
use Claromentis\Core\Http\RedirectResponse;
use Claromentis\Core\Security\Exception\AccessDeniedException;
use Claromentis\Core\Security\Exception\AdminAccessDeniedException;
use Claromentis\Core\Security\Exception\AuthenticationException;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;




class HtmlPageEntryPoint implements AuthenticationEntryPointInterface
{
    
    
    
    
    
    
    
    
    
    public function start(Request $request, AuthenticationException $authException = null)
    {
        if (null !== ($_55f66c3c11d94d22f02e31da2cb21234 = $request->getQueryString())) {
            $_55f66c3c11d94d22f02e31da2cb21234 = $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_4afcbf900d146eeb40e326a4637a" . "8e02"] . $_55f66c3c11d94d22f02e31da2cb21234;
        }
        $_c927258f5322288a992c77be40ae0b53 = $request->getBaseUrl() . $request->getPathInfo() . $_55f66c3c11d94d22f02e31da2cb21234;
        $_f6dad07c07b4ad2b67749b28951702e5 = $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_8e5d1390683" . "6d2ac773ce4f" . "7cad665a9"];
        $_8179c8d2f967249134c7cbf4ec7d0ba3 = [];
        if ($authException !== null && !$authException->getPrevious() instanceof AccessDeniedException && !$authException->getPrevious() instanceof AdminAccessDeniedException) {
            $_8179c8d2f967249134c7cbf4ec7d0ba3[$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_e05e0022a2e5ad344b9c4a" . "0d3f64e1a5"]] = $authException->getMessage();
            $_8179c8d2f967249134c7cbf4ec7d0ba3[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_8df4fa2d5c8" . "d8c2e6de4577" . "a36506bb1"]] = 1;
        }
        
        
        
        $_74f76b8116dbfc2b2491a105b6def02e = $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_ab2030555cfbe63c67a304c58283a0" . "a6"]($_8179c8d2f967249134c7cbf4ec7d0ba3);
        $_24161dc8b79a68d282c4e8393285f08b = $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_7aefd482de7885f4293c2926" . "df28c235"]($_f6dad07c07b4ad2b67749b28951702e5 . $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_4afcbf900d146eeb40e326a4637a8e" . "02"] . $_74f76b8116dbfc2b2491a105b6def02e . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_0b4b5e044b86c99" . "e86fb937c1eea6a7" . "1"]);
        
        
        $_8179c8d2f967249134c7cbf4ec7d0ba3[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_221da17e3055f" . "ae8d3ff516b832" . "a5f3b"]] = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_041e9a0de4bbd616ffe9f0a073" . "4ccfad"]($_c927258f5322288a992c77be40ae0b53);
        $_0907aa2e732954d2c77d48e501221074 = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_9d56392" . "1fc01094" . "b4d118c5" . "bf2187d4" . "b"]($_f6dad07c07b4ad2b67749b28951702e5 . $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_4afcbf900" . "d146eeb40e" . "326a4637a8" . "e02"] . $_74f76b8116dbfc2b2491a105b6def02e);
        return new Response($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_6cebb7a0641521e5ad5e60b1e67" . "d1afa"] . $_0907aa2e732954d2c77d48e501221074 . $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_cc9b242b82b4cc94" . "ff6f6db88301d256"] . $_0907aa2e732954d2c77d48e501221074 . $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_2b256e4db308056d5cfc" . "a9948e2d8741"] . $_24161dc8b79a68d282c4e8393285f08b . $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_0ad955c" . "1639c4f1" . "a8a3d130" . "02228cae" . "7"]);
    }
}