<?php
namespace Claromentis\People\Validator;

$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] ?: array()) + array("_6d071c0418b0a405ddf1ffd035775" . "579" => base64_decode("VXNlciBkb2VzIG5vdCBle" . "GlzdA=="), "_f07ee16d1c011fc613f3" . "83e2a8833144" => base64_decode("VXNlciBJRCBtdXN0I" . "GJlIG51bWVyaWM="), "_3f03133" . "cbe79463" . "7b2d30fe" . "02736ac2" . "5" => base64_decode("TWFuYWdlciBkb2VzIG" . "5vdCBleGlzdA=="), "_f1acb87c88dcec9ed59d" . "d2dce11427c0" => base64_decode("TWFuYWdlciBJRCBtdX" . "N0IGJlIG51bWVyaWM="), "_62d701c3c53" . "404f06345eb3" . "5720a47b4" => base64_decode("aXNfbnVtZX" . "JpYw=="));
use Claromentis\People\Exception\ValidationException;
use Claromentis\People\Repository\UserRepository;
class ValidateSetManager
{
    
    
    
    
    protected $repository;
    public function __construct(UserRepository $_8652ba33e6ffeba02459fa9cbb320851)
    {
        $this->repository = $_8652ba33e6ffeba02459fa9cbb320851;
    }
    
    
    
    
    
    
    public function Validate($user_id, $_b324f64f5346fe6cd20483e208d94430)
    {
        if (!$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_62d701c3c5340" . "4f06345eb35720" . "a47b4"]($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_f07ee16d1c011fc6" . "13f383e2a8833144"]);
        }
        if (!$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_62d701c3c" . "53404f0634" . "5eb35720a4" . "7b4"]($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_f1acb87c88dce" . "c9ed59dd2dce11" . "427c0"]);
        }
        if (!$this->repository->find($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_6d071c0418b0a405" . "ddf1ffd035775579"]);
        }
        if (!$this->repository->find($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_3f03133cb" . "e794637b2d" . "30fe02736a" . "c25"]);
        }
    }
}