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

$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] = (@$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] ?: array()) + array("_c35473364fa7" . "a050299058f33" . "2ec29c1" => base64_decode("ZXhjZXB0aW" . "9u"), "_f5e4dfab63ed00b06471ee94cb1b7b" . "c1" => base64_decode("RmFpbGVkIHRvIHRlc3Qg" . "Y29ubmVjdGlvbiBmb3Ig" . "JXMuIFNlZSBsb2dzIGZv" . "ciBkZXRhaWxzLg=="), "_8ee2511c9b63519ba6efba354c45d7" . "cd" => base64_decode("YjYzM2UxYzUtYjU4Mi00M" . "DQ4LWE5M2UtOWYxMWI0NG" . "M3ZTk2"), "_a595cc63126c9a4b243719" . "47ab606df2" => base64_decode("TWljcm9zb2Z0IEdyYXBoIHJlcXVlc3Qg" . "c3VjY2Vzc2Z1bCBmb3Igc2VuZGVyICIl" . "cyI="), "_8ec8f26c742278f90615f" . "50d682eea79" => base64_decode("UE9TVA" . "=="), "i" . "d" => base64_decode("aWQ" . "="), "_6596b8f6a4" . "969f9a3f6a1" . "b22b90e9331" => base64_decode("c3Bya" . "W50Zg" . "=="), "_56fee108ee9a079b5ff2b" . "692743ccfa8" => base64_decode("R0" . "VU"), "_abfbefb13352347885067109c" . "c3b5023" => base64_decode("L2FwcGxpY2F" . "0aW9ucy8="), "_f8a02f8ee6c8dce92589f0634d" . "8f21ed" => base64_decode("L3NlbmR" . "NYWls"), "_bbff707cd90ebab6cf4c12f772" . "7efab2" => base64_decode("TWljcm9zb2Z0IEdyYXBoIHJlcXVlc3QgZmFpb" . "GVkIGZvciBzZW5kZXIgIiVzIjogJXMuIFJlc3" . "BvbnNlOiAlcw=="), "tex" . "t" => base64_decode("dGV4dA=" . "="), "_fd117e9de63f073e485ba457c70cc" . "e31" => base64_decode("QW4gdW5leHBlY3RlZCBlcnJvciBvY2N1cnJlZCBkdXJpbmcgTWljcm9zb2Z0IEdyYXBoIHJlcXVlc3" . "QgZm9yIHNlbmRlciAiJXMiOiAlcw=="), "_437a3fdeef848a31406efd8dd07e3" . "682" => base64_decode("cmVzb3VyY2VB" . "Y2Nlc3M="), "_5159b357296" . "9eca46acd1b2" . "e1418459c" => base64_decode("aW1wbG9kZQ" . "=="), "_28f1e5534d" . "3bb4d10afe4" . "adbc0bea1d2" => base64_decode("RmFpbGVkIHRvIHNlbmQgZW1haWwgdmlhIE1pY3Jvc29mdCBHcmFwaCBmb3Igc2VuZGVyICIlcyI" . "uIFNlZSBsb2dzIGZvciBkZXRhaWxzLg=="), "_919ef4ce5cbe5c3250" . "e38a83dbce3b90" => base64_decode("Tm8gcmVzcG9uc" . "2UgYm9keQ=="), "_decf18bb747cbba55f12f65abcc007" . "97" => base64_decode("aH" . "Rt" . "bA" . "=="), "_01f117db67aa749d3ec8da7eb47873" . "0c" => base64_decode("L" . "C" . "A" . "="), "_265a475ac7f8b2def4b4" . "36901341c2fb" => base64_decode("L3VzZXJ" . "zLw=="), "na" . "me" => base64_decode("bmFtZ" . "Q=="), "_b4e11a459d5f568" . "cc7017d87f458265" . "c" => base64_decode("RW1haWwgc2VudCBzdWNjZXNzZn" . "VsbHkgdmlhIE1pY3Jvc29mdCBH" . "cmFwaCBmcm9tICIlcyIgdG8gIi" . "VzIi4="), "_38f12d8b8c719a8c" . "e0fc2faefc225f35" => base64_decode("YXJyYX" . "lfbWFw"), "_fff0a0055c6fbedadef20337b803" . "22f3" => base64_decode("I21pY3Jvc29mdC5ncmFwaC5maWxlQXR0YWNobWVu" . "dA=="), "_0b86dbc0608873" . "e7cb33f924df55f" . "9e3" => base64_decode("YXR0YWNobWV" . "udF8="), "_f3c89b1d" . "625a5a2d6" . "710246965" . "37a2f8" => base64_decode("YmFzZTY0X2VuY29kZ" . "Q=="), "_03549e40a11f" . "60f091dcadca2" . "b995aa6" => base64_decode("Q29udGVudC1EaXNwb3NpdGl" . "vbg=="), "_a44dbea6" . "94708e0a7" . "2e30e979e" . "a2fa71" => base64_decode("QXR0YWNobWVudCBtaXNzaW5nIGZpbGVuYW1lIGluIENvbnRlbnQtRGlzcG9zaXRpb24sIHVzaW5nIGdlbmVyYX" . "RlZCBuYW1lOiA="), "_c66482b2904aa" . "3d76ae799b9065" . "343a5" => base64_decode("dW" . "5p" . "cW" . "lk"), "_4a47860dffc3af446" . "9ccaecc38d88b86" => base64_decode("cGFuZWxzLnN5c2FkbWluLm1haWwuY29uZmlnLm1pY3Jvc29mdF9" . "ncmFwaC5taXNzaW5nX3Blcm1pc3Npb24="), "_e05e0022a2e5ad344b9c4a0d3f64e1" . "a5" => base64_decode("bWV" . "zc2" . "FnZ" . "Q=="), "_9354912012a4c1159e" . "806b552fdabf0e" => base64_decode("bWljcm9zb2Z0K2" . "dyYXBoOi8vJXM="));
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["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_6596b8f6a4969f9a3f6a1b2" . "2b90e9331"]($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_9354912012a4c1159e806b552f" . "dabf0e"], $this->upn);
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function testConnection(string $_2a3aee1600c02ac512ca28fdfc058486) : bool
    {
        $request = $this->graph->createRequest($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_56fee108ee9a079b5ff" . "2b692743ccfa8"], $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_abfbefb1335234788" . "5067109cc3b5023"] . $_2a3aee1600c02ac512ca28fdfc058486)->setReturnType(Application::class);
        
        
        
        
        $_fd5a3a643834299cbdadfc3540ba0bcb = $this->executeGraphRequest($request);
        if ($_fd5a3a643834299cbdadfc3540ba0bcb !== false) {
            
            
            $_c622d18126d1bc4cebef007887283b0c = $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_8ee2511c9b63519ba6efba" . "354c45d7cd"];
            $_4789548cce5a41286c388d5c88a2acf8 = $_fd5a3a643834299cbdadfc3540ba0bcb->getRequiredResourceAccess();
            foreach ($_4789548cce5a41286c388d5c88a2acf8 as $_437a3fdeef848a31406efd8dd07e3682) {
                
                
                foreach ($_437a3fdeef848a31406efd8dd07e3682[$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_437a3fdeef848a3140" . "6efd8dd07e3682"]] as $_d1071a032215f0eb5c4a8ef175f7049d) {
                    if ($_d1071a032215f0eb5c4a8ef175f7049d[$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["i" . "d"]] === $_c622d18126d1bc4cebef007887283b0c) {
                        return true;
                    }
                }
            }
            throw new MailConnectionTestException(($this->lmsg)($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_4a47860dffc3af4469ccaecc38" . "d88b86"]));
        } else {
            $_c35473364fa7a050299058f332ec29c1 = new MicrosoftGraphClientException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_6596b8f6a4969f9a3f6a" . "1b22b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_f5e4dfab6" . "3ed00b0647" . "1ee94cb1b7" . "bc1"], $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["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_e05e0022a" . "2e5ad344b9" . "c4a0d3f64e" . "1a5"] => $_bf35eb915bebd17db206bfa7e0393355->jsonSerialize()];
        $request = $this->graph->createRequest($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_8ec8f26c742278f90615f5" . "0d682eea79"], $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_265a475ac7f8b2def4b4369013" . "41c2fb"] . $this->upn . $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_f8a02f8ee6c8dce92" . "589f0634d8f21ed"])->attachBody($_f4bd77b9d7574792bd46db73586ce19d);
        if ($this->executeGraphRequest($request)) {
            $_d0faa89bbf68a3905f38d0ee47e6a67c = $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_5159b3572969eca46acd1b2e14" . "18459c"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_01f117db67aa749d3ec8d" . "a7eb478730c"], $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_38f12d8b8c719a8ce0fc2faefc2" . "25f35"](function (Address $_5feede65e7cfe8f0b3d9854c0363d548) {
                return $_5feede65e7cfe8f0b3d9854c0363d548->toString();
            }, $_98fc6cca4e35a90ce632d1d5a4764944->getRecipients()));
            $this->getLogger()->info($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_6596b8f6a4969f9a3" . "f6a1b22b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_b4e11a459d5f" . "568cc7017d87f" . "458265c"], $this->upn, $_d0faa89bbf68a3905f38d0ee47e6a67c));
        } else {
            $_c35473364fa7a050299058f332ec29c1 = new MailSendException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_6596b8f6a4969f9a3f" . "6a1b22b90e9331"]($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_28f1e5534d3bb4d10afe4" . "adbc0bea1d2"], $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["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_decf18bb747cbba5" . "5f12f65abcc00797"]);
            $_f50e845669e7cd06bbc643eeb57aa01d->setContent($_c2f6f7dc50f77b2d217bd2e23a6ff2a0->getHtmlBody());
        } elseif ($_c2f6f7dc50f77b2d217bd2e23a6ff2a0->getTextBody()) {
            $_f50e845669e7cd06bbc643eeb57aa01d->setContentType($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["te" . "xt"]);
            $_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["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_03549e40a11f60f091dcadca2b" . "995aa6"], $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["n" . "a" . "m" . "e"]);
            
            
            if ($_4010317756062a82dd44f8db74db2ed5 === null) {
                $filename = $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_0b86dbc0608873" . "e7cb33f924df55f" . "9e3"] . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_c66482b2904aa3d76ae79" . "9b9065343a5"]();
                $this->getLogger()->info($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_a44dbea694708e0a" . "72e30e979ea2fa71"] . $filename);
            }
            $_ae8907f9520f11c7db1c06aa305d9b89->setName($_4010317756062a82dd44f8db74db2ed5);
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setContentType($_47eed1aeea2c92efe9af919c40d41358->getMediaType(), $_47eed1aeea2c92efe9af919c40d41358->getMediaSubtype());
            
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setIsInline(false);
            $_ae8907f9520f11c7db1c06aa305d9b89->setContentBytes(Utils::streamFor($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_f3c89b1d625a5a2d671024696" . "537a2f8"]($_47eed1aeea2c92efe9af919c40d41358->getBody())));
            
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setOdataType($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_fff0a005" . "5c6fbedad" . "ef20337b8" . "0322f3"]);
            $_6317cbe9753903ab7b4ac31febecf487[] = $_ae8907f9520f11c7db1c06aa305d9b89;
        }
        $_bf35eb915bebd17db206bfa7e0393355->setAttachments($_6317cbe9753903ab7b4ac31febecf487);
    }
    
    
    
    
    
    
    
    private function executeGraphRequest(GraphRequest $request)
    {
        try {
            
            
            
            
            $_fd5a3a643834299cbdadfc3540ba0bcb = $request->execute();
            $this->getLogger()->info($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_6596b8f6a4969f9a3f" . "6a1b22b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_a595cc6312" . "6c9a4b24371" . "947ab606df2"], $this->upn));
            return $_fd5a3a643834299cbdadfc3540ba0bcb;
        } catch (ClientException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            $_75fe74c31c4fbd36147c9fdd5607b7b0 = $_fe441aa3ef350bfb1a1a1ad8520dd530->getResponse() ? $_fe441aa3ef350bfb1a1a1ad8520dd530->getResponse()->getBody()->getContents() : $GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_919ef4c" . "e5cbe5c3" . "250e38a8" . "3dbce3b9" . "0"];
            $_c8c3b03584386ec653b031e02fbe9c9f = $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_6596b8f6a4969f9a3f6a" . "1b22b90e9331"]($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_bbff707cd90ebab6cf4c" . "12f7727efab2"], $this->upn, $_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_75fe74c31c4fbd36147c9fdd5607b7b0);
            $this->getLogger()->error($_c8c3b03584386ec653b031e02fbe9c9f, [$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_c35473364fa7a05029905" . "8f332ec29c1"] => $_fe441aa3ef350bfb1a1a1ad8520dd530]);
            return false;
        } catch (Exception $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            $_c8c3b03584386ec653b031e02fbe9c9f = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_6596b8f6a4969f9a3" . "f6a1b22b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_fd117e9de" . "63f073e485" . "ba457c70cc" . "e31"], $this->upn, $_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage());
            $this->getLogger()->error($_c8c3b03584386ec653b031e02fbe9c9f, [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_c35473364fa7a050299058f33" . "2ec29c1"] => $_fe441aa3ef350bfb1a1a1ad8520dd530]);
            return false;
        }
    }
}