<?php
namespace Claromentis\Core\Session\UseCase;

$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("_51bc87419" . "392057f003" . "833525338d" . "ee5" => base64_decode("Z3JvdXB0" . "cmVl"), "_d1071a032" . "215f0eb5c4" . "a8ef175f70" . "49d" => base64_decode("cm9s" . "ZQ=="), "_7d7a80100a3" . "262da81f59ab" . "3bf45a92f" => base64_decode("Rm9yY2VHZXRHcm9" . "1cHM="), "_9fc419c25a65c6" . "2d0abd7e4e34fa0" . "1df" => base64_decode("Rm9yY2VHZX" . "RHcm91cHNU" . "cmVl"), "_a46502823578fcaccfc6d90a65bf1f" . "49" => base64_decode("Rm9yY2VHZXRSb2" . "xlcw=="), "_e9208e4fb555ac989f751" . "9e19c1da810" => base64_decode("Z3" . "Jv" . "dX" . "A="));
use Claromentis\Core\Security\SecurityContext;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
class UserGroupRoleCacheInvalidator
{
    protected GlobalTimestampGetter $gt;
    protected LocalTimestampGetter $lt;
    protected SecurityContext $context;
    protected SessionInterface $session;
    public function __construct(GlobalTimestampGetter $_89ec935737baab13a7a2a67ca96698cc, LocalTimestampGetter $_bdcd291bc93c7fda12750881300b2c23, SessionInterface $session, SecurityContext $context)
    {
        $this->gt = $_89ec935737baab13a7a2a67ca96698cc;
        $this->lt = $_bdcd291bc93c7fda12750881300b2c23;
        $this->session = $session;
        $this->context = $context;
    }
    public function InvalidateCache()
    {
        $_9ea88751b5f9c1e8ed487652a8f3db8e = [$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_e9208e4fb555ac989f751" . "9e19c1da810"] => $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_7d7a80100a3262da81f59ab" . "3bf45a92f"], $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_51bc874193" . "92057f00383" . "3525338dee5"] => $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_9fc419c25a" . "65c62d0abd7" . "e4e34fa01df"], $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_d1071a032215" . "f0eb5c4a8ef17" . "5f7049d"] => $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_a465028" . "23578fca" . "ccfc6d90" . "a65bf1f4" . "9"]];
        $_e0901c3fe6c71ac3f1c3141119727986 = $this->lt->GetTimestamps($this->session);
        $_1721164b1d3725a83aa723b3f43bbc83 = $this->gt->GetTimestamps($this->context);
        $_db02087c507cbc1cfdf6b2bd4a67b55b = false;
        foreach ($_e0901c3fe6c71ac3f1c3141119727986 as $key => $_97ea09a7faf27c52c6eff69773df1d8a) {
            if ($_97ea09a7faf27c52c6eff69773df1d8a < $_1721164b1d3725a83aa723b3f43bbc83[$key]) {
                [$this->context, $_9ea88751b5f9c1e8ed487652a8f3db8e[$key]]();
                $_db02087c507cbc1cfdf6b2bd4a67b55b = true;
            }
        }
        if ($_db02087c507cbc1cfdf6b2bd4a67b55b) {
            $this->context->PopulateSession($this->session);
        }
    }
}