<?php
namespace Claromentis\Core\Mail\Send\Transport;

$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] ?: array()) + array("nam" . "e" => base64_decode("bmF" . "tZQ" . "=="), "_919ef4ce5cbe5c3250e38a8" . "3dbce3b90" => base64_decode("Tm8gcmVzcG9uc2UgYm" . "9keQ=="), "_01f117db67aa749d3ec8da7eb478730" . "c" => base64_decode("LCA" . "="), "tex" . "t" => base64_decode("dGV4dA=" . "="), "_a44dbea694708e0a72e3" . "0e979ea2fa71" => base64_decode("QXR0YWNobWVudCBtaXNzaW5nIGZpbGVuYW1lIGluIENvbnRlbnQtRGlz" . "cG9zaXRpb24sIHVzaW5nIGdlbmVyYXRlZCBuYW1lOiA="), "_03549e40a11" . "f60f091dcadc" . "a2b995aa6" => base64_decode("Q29udGVudC1EaXNwb3NpdGlv" . "bg=="), "i" . "d" => base64_decode("aWQ" . "="), "_b4e11a459d5f568cc7017d87f458" . "265c" => base64_decode("RW1haWwgc2VudCBzdWNjZ" . "XNzZnVsbHkgdmlhIE1pY3" . "Jvc29mdCBHcmFwaCBmcm9" . "tICIlcyIgdG8gIiVzIi4="), "_8ec8f26c" . "742278f90" . "615f50d68" . "2eea79" => base64_decode("UE9TVA" . "=="), "_28f1e5534d3bb4d10afe4adbc0bea" . "1d2" => base64_decode("RmFpbGVkIHRvIHNlbmQgZW1haWw" . "gdmlhIE1pY3Jvc29mdCBHcmFwaC" . "Bmb3Igc2VuZGVyICIlcyIuIFNlZ" . "SBsb2dzIGZvciBkZXRhaWxzLg=="), "_bbff707cd" . "90ebab6cf4" . "c12f7727ef" . "ab2" => base64_decode("TWljcm9zb2Z0IEdyYXBoIHJlcXVlc3QgZmFpbGVkIGZvciBzZW5kZXIgIiVzIjogJXMu" . "IFJlc3BvbnNlOiAlcw=="), "_38f12d8b8c" . "719a8ce0fc2" . "faefc225f35" => base64_decode("YXJyYX" . "lfbWFw"), "_decf18bb747cbba" . "55f12f65abcc0079" . "7" => base64_decode("aHR" . "tbA" . "=="), "_fd117e9de63f073e485ba" . "457c70cce31" => base64_decode("QW4gdW5leHBlY3RlZCBlcnJvciBvY2N1" . "cnJlZCBkdXJpbmcgTWljcm9zb2Z0IEdy" . "YXBoIHJlcXVlc3QgZm9yIHNlbmRlciAi" . "JXMiOiAlcw=="), "_c66482b2904aa3d76ae799b9065343" . "a5" => base64_decode("dW5pc" . "Wlk"), "_265a475ac7" . "f8b2def4b43" . "6901341c2fb" => base64_decode("L3VzZXJzL" . "w=="), "_437a3fd" . "eef848a3" . "1406efd8" . "dd07e368" . "2" => base64_decode("cmVzb3V" . "yY2VBY2" . "Nlc3M="), "_0b86dbc0608873e7cb33f924" . "df55f9e3" => base64_decode("YXR0YWN" . "obWVudF" . "8="), "_9354912012a4c1159e806b552fda" . "bf0e" => base64_decode("bWljcm9zb" . "2Z0K2dyYX" . "BoOi8vJXM" . "="), "_f5e4dfa" . "b63ed00b" . "06471ee9" . "4cb1b7bc" . "1" => base64_decode("RmFpbGVkIHRvIHRlc3QgY29ubmVjdGlvbiBmb3IgJXMuIFNlZS" . "Bsb2dzIGZvciBkZXRhaWxzLg=="), "_fff0a0055c6fbedade" . "f20337b80322f3" => base64_decode("I21pY3Jvc29mdC5ncmFwaC5maWxlQXR0Y" . "WNobWVudA=="), "_a595cc63126c9a4b24371947ab" . "606df2" => base64_decode("TWljcm9zb2Z0IEdyYXBoIHJlcXVlc3Qgc3VjY" . "2Vzc2Z1bCBmb3Igc2VuZGVyICIlcyI="), "_e05e0022a2e5ad344b9c4a" . "0d3f64e1a5" => base64_decode("bWVzc2" . "FnZQ=="), "_f3c89b1d625a5a2d6710246965" . "37a2f8" => base64_decode("YmFzZTY0" . "X2VuY29k" . "ZQ=="), "_8ee2511c9b63519ba6efba354c4" . "5d7cd" => base64_decode("YjYzM2UxYzUtYjU4Mi00MDQ4LWE5M2UtOWYxM" . "WI0NGM3ZTk2"), "_6596b8f6a4969f9a3f6a1b22b90e" . "9331" => base64_decode("c3ByaW50" . "Zg=="), "_56fee108ee9a079b5ff2b692743cc" . "fa8" => base64_decode("R0V" . "U"), "_f8a02f8ee6c8dce92589f0634" . "d8f21ed" => base64_decode("L3NlbmRNY" . "Wls"), "_5159b3572969e" . "ca46acd1b2e141" . "8459c" => base64_decode("aW1wbG9kZ" . "Q=="), "_4a47860dffc3af4" . "469ccaecc38d88b8" . "6" => base64_decode("cGFuZWxzLnN5c2FkbWluLm1haWwuY29uZm" . "lnLm1pY3Jvc29mdF9ncmFwaC5taXNzaW5n" . "X3Blcm1pc3Npb24="), "_c35473364f" . "a7a05029905" . "8f332ec29c1" => base64_decode("ZXh" . "jZX" . "B0a" . "W9u"), "_abfbefb13352347885067109c" . "c3b5023" => base64_decode("L2FwcGxpY2F0a" . "W9ucy8="));
use Beta\Microsoft\Graph\Model\Application;
use Claromentis\Core\Localization\Lmsg;
use Claromentis\Core\Mail\Exception\MailConnectionTestException;
use Claromentis\Core\Mail\Exception\MailSendException;
use Claromentis\Core\Mail\Exception\MicrosoftGraphClientException;
use Microsoft\Graph\Graph;
use Microsoft\Graph\Model\Recipient;
use Microsoft\Graph\Model\ItemBody;
use Microsoft\Graph\Model\Message;
use Microsoft\Graph\Model\FileAttachment;
use Symfony\Component\Mailer\SentMessage;
use Symfony\Component\Mailer\Transport\AbstractTransport;
use Symfony\Component\Mime\Address;
use Symfony\Component\Mime\Email;
use Symfony\Component\Mime\Part\DataPart;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use Psr\Log\LoggerInterface;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Psr7\Utils;
use Microsoft\Graph\Http\GraphRequest;
use Microsoft\Graph\Model\EmailAddress;
use Exception;
use Microsoft\Graph\Http\GraphResponse;
use Microsoft\Graph\Model\DirectoryObject;
class MicrosoftGraphTransport extends AbstractTransport
{
    private const RECIPIENT_TYPE_TO = 'to';
    private const RECIPIENT_TYPE_CC = 'cc';
    private const RECIPIENT_TYPE_BCC = 'bcc';
    
    
    
    
    
    
    private Graph $graph;
    
    
    
    
    
    
    private string $upn;
    
    
    
    
    private Lmsg $lmsg;
    
    
    
    
    
    
    
    
    
    
    public function __construct(Graph $_7136eb9540b8561071fef9f0d3c73ba0, string $_48ff585ffe724986368985db41a811da, Lmsg $lmsg, ?EventDispatcherInterface $_b497ce6f2af10f67516aed0ecf34d8cf = null, ?LoggerInterface $logger = null)
    {
        parent::__construct($_b497ce6f2af10f67516aed0ecf34d8cf, $logger);
        $this->graph = $_7136eb9540b8561071fef9f0d3c73ba0;
        $this->upn = $_48ff585ffe724986368985db41a811da;
        $this->lmsg = $lmsg;
    }
    
    
    
    
    
    
    public function __toString() : string
    {
        return $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_6596b8f6a4969f9a3f6a1b22b90e933" . "1"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_9354912012a4c1159e806b552fd" . "abf0e"], $this->upn);
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function testConnection(string $_2a3aee1600c02ac512ca28fdfc058486) : bool
    {
        $request = $this->graph->createRequest($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_56fee108ee9a079b5ff2b692743" . "ccfa8"], $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_abfbefb133" . "52347885067" . "109cc3b5023"] . $_2a3aee1600c02ac512ca28fdfc058486)->setReturnType(Application::class);
        
        
        
        
        $_fd5a3a643834299cbdadfc3540ba0bcb = $this->executeGraphRequest($request);
        if ($_fd5a3a643834299cbdadfc3540ba0bcb !== false) {
            
            
            $_c622d18126d1bc4cebef007887283b0c = $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_8ee2511c9b63519ba" . "6efba354c45d7cd"];
            $_4789548cce5a41286c388d5c88a2acf8 = $_fd5a3a643834299cbdadfc3540ba0bcb->getRequiredResourceAccess();
            foreach ($_4789548cce5a41286c388d5c88a2acf8 as $_437a3fdeef848a31406efd8dd07e3682) {
                
                
                foreach ($_437a3fdeef848a31406efd8dd07e3682[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_437a3fdeef848a31406efd8d" . "d07e3682"]] as $_d1071a032215f0eb5c4a8ef175f7049d) {
                    if ($_d1071a032215f0eb5c4a8ef175f7049d[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["i" . "d"]] === $_c622d18126d1bc4cebef007887283b0c) {
                        return true;
                    }
                }
            }
            throw new MailConnectionTestException(($this->lmsg)($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_4a47860dffc3af446" . "9ccaecc38d88b86"]));
        } else {
            $_c35473364fa7a050299058f332ec29c1 = new MicrosoftGraphClientException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_6596b8f6a4969f9a3f6a" . "1b22b90e9331"]($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_f5e4dfab63ed00b064" . "71ee94cb1b7bc1"], $this->upn));
            $this->getLogger()->error($_c35473364fa7a050299058f332ec29c1->getMessage());
            throw $_c35473364fa7a050299058f332ec29c1;
        }
        return true;
    }
    
    
    
    
    
    
    
    
    
    protected function doSend(SentMessage $_e05e0022a2e5ad344b9c4a0d3f64e1a5) : void
    {
        
        
        
        
        $_8c7a1f182a96a96aa81426385255e43d = $_e05e0022a2e5ad344b9c4a0d3f64e1a5->getOriginalMessage();
        $_98fc6cca4e35a90ce632d1d5a4764944 = $_e05e0022a2e5ad344b9c4a0d3f64e1a5->getEnvelope();
        \Webmozart\Assert\Assert::isInstanceOf($_8c7a1f182a96a96aa81426385255e43d, Email::class);
        $_bf35eb915bebd17db206bfa7e0393355 = new Message();
        $_bf35eb915bebd17db206bfa7e0393355->setSubject($_8c7a1f182a96a96aa81426385255e43d->getSubject());
        $this->setBody($_bf35eb915bebd17db206bfa7e0393355, $_8c7a1f182a96a96aa81426385255e43d);
        $this->setFrom($_bf35eb915bebd17db206bfa7e0393355, $_8c7a1f182a96a96aa81426385255e43d->getSender());
        $this->setRecipients($_bf35eb915bebd17db206bfa7e0393355, $_98fc6cca4e35a90ce632d1d5a4764944->getRecipients(), self::RECIPIENT_TYPE_TO);
        $this->setRecipients($_bf35eb915bebd17db206bfa7e0393355, $_8c7a1f182a96a96aa81426385255e43d->getCc(), self::RECIPIENT_TYPE_CC);
        $this->setRecipients($_bf35eb915bebd17db206bfa7e0393355, $_8c7a1f182a96a96aa81426385255e43d->getBcc(), self::RECIPIENT_TYPE_BCC);
        $this->addAttachments($_bf35eb915bebd17db206bfa7e0393355, $_8c7a1f182a96a96aa81426385255e43d->getAttachments());
        $_f4bd77b9d7574792bd46db73586ce19d = [$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_e05e0022a2e5ad344b" . "9c4a0d3f64e1a5"] => $_bf35eb915bebd17db206bfa7e0393355->jsonSerialize()];
        $request = $this->graph->createRequest($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_8ec8f26c742278f90615f50d682ee" . "a79"], $GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_265a475ac7f8b2def4b4369013" . "41c2fb"] . $this->upn . $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_f8a02f8ee6c8dce92589f0634d8" . "f21ed"])->attachBody($_f4bd77b9d7574792bd46db73586ce19d);
        if ($this->executeGraphRequest($request)) {
            $_d0faa89bbf68a3905f38d0ee47e6a67c = $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_5159b3572969" . "eca46acd1b2e1" . "418459c"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_01f117db67aa749d3ec8da7eb" . "478730c"], $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_38f12d8b8c719a8ce0f" . "c2faefc225f35"](function (Address $_5feede65e7cfe8f0b3d9854c0363d548) {
                return $_5feede65e7cfe8f0b3d9854c0363d548->toString();
            }, $_98fc6cca4e35a90ce632d1d5a4764944->getRecipients()));
            $this->getLogger()->info($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_6596b8f6a4" . "969f9a3f6a1" . "b22b90e9331"]($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_b4e11a459d5f568cc7" . "017d87f458265c"], $this->upn, $_d0faa89bbf68a3905f38d0ee47e6a67c));
        } else {
            $_c35473364fa7a050299058f332ec29c1 = new MailSendException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_6596b8f6a4969" . "f9a3f6a1b22b90" . "e9331"]($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_28f1e5534d3bb4d" . "10afe4adbc0bea1d" . "2"], $this->upn));
            $this->getLogger()->error($_c35473364fa7a050299058f332ec29c1);
            throw $_c35473364fa7a050299058f332ec29c1;
        }
    }
    
    
    
    
    
    
    
    
    private function setFrom(Message $_bf35eb915bebd17db206bfa7e0393355, ?Address $_0eb85af3fd019e91c2f55a5e6d53ec19) : void
    {
        if (!$_0eb85af3fd019e91c2f55a5e6d53ec19) {
            return;
        }
        $_1d6c68a0262e8fa0bed1215b7224a98e = new Recipient();
        $_4defe7be81f86ea1db6af4de0d32c046 = new EmailAddress();
        $_4defe7be81f86ea1db6af4de0d32c046->setAddress($_0eb85af3fd019e91c2f55a5e6d53ec19->getAddress());
        $_4defe7be81f86ea1db6af4de0d32c046->setName($_0eb85af3fd019e91c2f55a5e6d53ec19->getName());
        $_1d6c68a0262e8fa0bed1215b7224a98e->setEmailAddress($_4defe7be81f86ea1db6af4de0d32c046);
        $_bf35eb915bebd17db206bfa7e0393355->setFrom($_1d6c68a0262e8fa0bed1215b7224a98e);
    }
    
    
    
    
    
    
    
    
    
    private function setRecipients(Message $_bf35eb915bebd17db206bfa7e0393355, array $_19cced6c601c170ed1fd94a10f867778, string $type) : void
    {
        $_fa7526ba4ccc308fe61186445986ceaa = [];
        
        
        
        
        foreach ($_19cced6c601c170ed1fd94a10f867778 as $_0eb85af3fd019e91c2f55a5e6d53ec19) {
            $_1d6c68a0262e8fa0bed1215b7224a98e = new Recipient();
            $_4defe7be81f86ea1db6af4de0d32c046 = new EmailAddress();
            $_4defe7be81f86ea1db6af4de0d32c046->setAddress($_0eb85af3fd019e91c2f55a5e6d53ec19->getAddress());
            $_4defe7be81f86ea1db6af4de0d32c046->setName($_0eb85af3fd019e91c2f55a5e6d53ec19->getName());
            $_1d6c68a0262e8fa0bed1215b7224a98e->setEmailAddress($_4defe7be81f86ea1db6af4de0d32c046);
            $_fa7526ba4ccc308fe61186445986ceaa[] = $_1d6c68a0262e8fa0bed1215b7224a98e;
        }
        switch ($type) {
            case self::RECIPIENT_TYPE_TO:
                $_bf35eb915bebd17db206bfa7e0393355->setToRecipients($_fa7526ba4ccc308fe61186445986ceaa);
                break;
            case self::RECIPIENT_TYPE_CC:
                $_bf35eb915bebd17db206bfa7e0393355->setCcRecipients($_fa7526ba4ccc308fe61186445986ceaa);
                break;
            case self::RECIPIENT_TYPE_BCC:
                $_bf35eb915bebd17db206bfa7e0393355->setBccRecipients($_fa7526ba4ccc308fe61186445986ceaa);
                break;
        }
    }
    
    
    
    
    
    
    
    
    private function setBody(Message $_bf35eb915bebd17db206bfa7e0393355, Email $_c2f6f7dc50f77b2d217bd2e23a6ff2a0) : void
    {
        $_f50e845669e7cd06bbc643eeb57aa01d = new ItemBody();
        if ($_c2f6f7dc50f77b2d217bd2e23a6ff2a0->getHtmlBody()) {
            $_f50e845669e7cd06bbc643eeb57aa01d->setContentType($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_decf18bb747cbba55f12" . "f65abcc00797"]);
            $_f50e845669e7cd06bbc643eeb57aa01d->setContent($_c2f6f7dc50f77b2d217bd2e23a6ff2a0->getHtmlBody());
        } elseif ($_c2f6f7dc50f77b2d217bd2e23a6ff2a0->getTextBody()) {
            $_f50e845669e7cd06bbc643eeb57aa01d->setContentType($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["tex" . "t"]);
            $_f50e845669e7cd06bbc643eeb57aa01d->setContent($_c2f6f7dc50f77b2d217bd2e23a6ff2a0->getTextBody());
        }
        $_bf35eb915bebd17db206bfa7e0393355->setBody($_f50e845669e7cd06bbc643eeb57aa01d);
    }
    
    
    
    
    
    
    
    
    private function addAttachments(Message $_bf35eb915bebd17db206bfa7e0393355, array $_4e7ab34a53ffb13eb0838003f33034d4) : void
    {
        $_6317cbe9753903ab7b4ac31febecf487 = [];
        
        
        foreach ($_4e7ab34a53ffb13eb0838003f33034d4 as $_47eed1aeea2c92efe9af919c40d41358) {
            $_ae8907f9520f11c7db1c06aa305d9b89 = new FileAttachment();
            $_4010317756062a82dd44f8db74db2ed5 = $_47eed1aeea2c92efe9af919c40d41358->getPreparedHeaders()->getHeaderParameter($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_03549e40a11f60f091dc" . "adca2b995aa6"], $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["n" . "a" . "m" . "e"]);
            
            
            if ($_4010317756062a82dd44f8db74db2ed5 === null) {
                $filename = $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_0b86dbc06088" . "73e7cb33f924d" . "f55f9e3"] . $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_c66482b2904aa3d76ae799b9065343a" . "5"]();
                $this->getLogger()->info($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_a44dbea694" . "708e0a72e30" . "e979ea2fa71"] . $filename);
            }
            $_ae8907f9520f11c7db1c06aa305d9b89->setName($_4010317756062a82dd44f8db74db2ed5);
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setContentType($_47eed1aeea2c92efe9af919c40d41358->getMediaType(), $_47eed1aeea2c92efe9af919c40d41358->getMediaSubtype());
            
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setIsInline(false);
            $_ae8907f9520f11c7db1c06aa305d9b89->setContentBytes(Utils::streamFor($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_f3c89b1d625a5" . "a2d67102469653" . "7a2f8"]($_47eed1aeea2c92efe9af919c40d41358->getBody())));
            
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setOdataType($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_fff0a0055c6fbedadef20337b80322f" . "3"]);
            $_6317cbe9753903ab7b4ac31febecf487[] = $_ae8907f9520f11c7db1c06aa305d9b89;
        }
        $_bf35eb915bebd17db206bfa7e0393355->setAttachments($_6317cbe9753903ab7b4ac31febecf487);
    }
    
    
    
    
    
    
    
    private function executeGraphRequest(GraphRequest $request)
    {
        try {
            
            
            
            
            $_fd5a3a643834299cbdadfc3540ba0bcb = $request->execute();
            $this->getLogger()->info($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_6596b8f6a4969f" . "9a3f6a1b22b90e9" . "331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_a595cc63126c9a4b2437" . "1947ab606df2"], $this->upn));
            return $_fd5a3a643834299cbdadfc3540ba0bcb;
        } catch (ClientException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            $_75fe74c31c4fbd36147c9fdd5607b7b0 = $_fe441aa3ef350bfb1a1a1ad8520dd530->getResponse() ? $_fe441aa3ef350bfb1a1a1ad8520dd530->getResponse()->getBody()->getContents() : $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_919ef4ce5cbe5c3250e38a" . "83dbce3b90"];
            $_c8c3b03584386ec653b031e02fbe9c9f = $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_6596b8f6a4969f9a3f6a1b2" . "2b90e9331"]($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_bbff707cd90ebab6cf4c" . "12f7727efab2"], $this->upn, $_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_75fe74c31c4fbd36147c9fdd5607b7b0);
            $this->getLogger()->error($_c8c3b03584386ec653b031e02fbe9c9f, [$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_c3547336" . "4fa7a0502" . "99058f332" . "ec29c1"] => $_fe441aa3ef350bfb1a1a1ad8520dd530]);
            return false;
        } catch (Exception $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            $_c8c3b03584386ec653b031e02fbe9c9f = $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_6596b8f6a4969f9a3f6a1b22b90e93" . "31"]($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_fd117e9de63f" . "073e485ba457c" . "70cce31"], $this->upn, $_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage());
            $this->getLogger()->error($_c8c3b03584386ec653b031e02fbe9c9f, [$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_c35473364fa7a050299058f" . "332ec29c1"] => $_fe441aa3ef350bfb1a1a1ad8520dd530]);
            return false;
        }
    }
}