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

$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"] ?: array()) + array("_8e5d13906836d2" . "ac773ce4f7cad66" . "5a9" => base64_decode("L2" . "xv" . "Z2" . "lu"), "_041e9a0de4bbd616ffe9f0a0734ccfa" . "d" => base64_decode("dXJs" . "ZW5j" . "b2Rl"), "_cc9b242b82b4cc9" . "4ff6f6db88301d25" . "6" => base64_decode("Ij48L2hlYWQ+CgkJPGJvZHk+CgkJPHNwYW4gaWQ9InJlZGlyZWN0X3RpcCIgc3R5bGU9ImZvbnQtc2l6ZTogMTFw" . "eDsgZm9udC1mYWNlOiBUYWhvbWEiPjxhIGhyZWY9Ig=="), "_ab2030555cfbe63c67a304c58283a0" . "a6" => base64_decode("aHR0cF" . "9idWls" . "ZF9xdW" . "VyeQ=="), "_8df4fa2d5c8d" . "8c2e6de4577a3" . "6506bb1" => base64_decode("aXNfZXJ" . "yb3JfbW" . "Vzc2FnZ" . "Q=="), "_0ad955c16" . "39c4f1a8a3" . "d13002228c" . "ae7" => base64_decode("ICsgZW5jb2RlVVJJQ29tcG9uZW50KGN1cl9sb2NhdGlvbik7CgkJPC9zY3JpcHQ+CgkJPC9ib2R5PjwvaH" . "RtbD4="), "_e05e002" . "2a2e5ad3" . "44b9c4a0" . "d3f64e1a" . "5" => base64_decode("bWVzc2F" . "nZQ=="), "_2b256e4db308056d5cfca9948e2d874" . "1" => base64_decode("IiBpZD0icmVkaXJlY3RfaHJlZiI+Q2xpY2sgaGVyZSB0byBjb250aW51ZTwvYT4KCQk8L3NwYW4+CgkJPHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiP" . "goJCQl2YXIgY3VyX2xvY2F0aW9uID0gd2luZG93LmxvY2F0aW9uLnBhdGhuYW1lICsgd2luZG93LmxvY2F0aW9uLnNlYXJjaCArIHdpbmRvdy5sb2NhdGlvbi" . "5oYXNoOwoJCQl2YXIgdGlwPWRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdyZWRpcmVjdF90aXAnKTsKCQkJdGlwLnN0eWxlLmRpc3BsYXk9J25vbmUnOwoJCQl" . "3aW5kb3cubG9jYXRpb24gPSA="), "_0b4b5e044b86c99e86fb93" . "7c1eea6a71" => base64_decode("JnBhZ2U" . "9"), "_221da17e305" . "5fae8d3ff516" . "b832a5f3b" => base64_decode("cGFnZQ" . "=="), "_7aefd482de7885f4293c2926df" . "28c235" => base64_decode("anNvbl9lbmNvZ" . "GU="), "_9d563921fc01094b4d118c5bf" . "2187d4b" => base64_decode("Y2xhX2h" . "0bWxzYW" . "Zl"), "_4afcbf900d146eeb40" . "e326a4637a8e02" => base64_decode("Pw=" . "="), "_6cebb7a0641521e5ad" . "5e60b1e67d1afa" => base64_decode("PGh0bWw+PGhlYWQ+PE1FVEEgaHR0cC1lcXVpdj0icmVmcmVzaCIgY29udGVudD0iMTsgVVJMP" . "Q=="));
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["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_4afcbf900d146eeb40e" . "326a4637a8e02"] . $_55f66c3c11d94d22f02e31da2cb21234;
        }
        $_c927258f5322288a992c77be40ae0b53 = $request->getBaseUrl() . $request->getPathInfo() . $_55f66c3c11d94d22f02e31da2cb21234;
        $_f6dad07c07b4ad2b67749b28951702e5 = $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_8e5d13906836d2ac7" . "73ce4f7cad665a9"];
        $_8179c8d2f967249134c7cbf4ec7d0ba3 = [];
        if ($authException !== null && !$authException->getPrevious() instanceof AccessDeniedException && !$authException->getPrevious() instanceof AdminAccessDeniedException) {
            $_8179c8d2f967249134c7cbf4ec7d0ba3[$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_e05e002" . "2a2e5ad3" . "44b9c4a0" . "d3f64e1a" . "5"]] = $authException->getMessage();
            $_8179c8d2f967249134c7cbf4ec7d0ba3[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_8df4fa2d5c8d8c2e6de4" . "577a36506bb1"]] = 1;
        }
        
        
        
        $_74f76b8116dbfc2b2491a105b6def02e = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_ab2030555" . "cfbe63c67a" . "304c58283a" . "0a6"]($_8179c8d2f967249134c7cbf4ec7d0ba3);
        $_24161dc8b79a68d282c4e8393285f08b = $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_7aefd482de7885f4293c2926df28c23" . "5"]($_f6dad07c07b4ad2b67749b28951702e5 . $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_4afcbf900d146e" . "eb40e326a4637a8" . "e02"] . $_74f76b8116dbfc2b2491a105b6def02e . $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_0b4b5e044b86c99e86fb937c1eea6" . "a71"]);
        
        
        $_8179c8d2f967249134c7cbf4ec7d0ba3[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_221da17e3055fae8d3ff516b8" . "32a5f3b"]] = $GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_041e9a0de4bbd616ffe9f" . "0a0734ccfad"]($_c927258f5322288a992c77be40ae0b53);
        $_0907aa2e732954d2c77d48e501221074 = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_9d563921fc01" . "094b4d118c5bf" . "2187d4b"]($_f6dad07c07b4ad2b67749b28951702e5 . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_4afcbf90" . "0d146eeb4" . "0e326a463" . "7a8e02"] . $_74f76b8116dbfc2b2491a105b6def02e);
        return new Response($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_6cebb7a0641521e5ad5e60b1e67d1af" . "a"] . $_0907aa2e732954d2c77d48e501221074 . $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_cc9b242b82b4cc94ff6f6db8830" . "1d256"] . $_0907aa2e732954d2c77d48e501221074 . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_2b256e4db308056d5cfca9948e2" . "d8741"] . $_24161dc8b79a68d282c4e8393285f08b . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_0ad955c1639c" . "4f1a8a3d13002" . "228cae7"]);
    }
}