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

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] ?: array()) + array("_6596b8f6a4969f9a3f6a1b22b90e933" . "1" => base64_decode("c3B" . "yaW" . "50Z" . "g=="), "_a595cc6" . "3126c9a4" . "b2437194" . "7ab606df" . "2" => base64_decode("TWljcm9zb2Z0IEdyYXBoIHJlcXVl" . "c3Qgc3VjY2Vzc2Z1bCBmb3Igc2Vu" . "ZGVyICIlcyI="), "_01f117db" . "67aa749d3" . "ec8da7eb4" . "78730c" => base64_decode("LC" . "A="), "_bbff707cd90ebab6cf4c12f" . "7727efab2" => base64_decode("TWljcm9zb2Z0IEdyYXBoIHJlcXVlc3QgZmFpbGVkI" . "GZvciBzZW5kZXIgIiVzIjogJXMuIFJlc3BvbnNlOi" . "Alcw=="), "_437a3fdeef848a31406efd8dd07e" . "3682" => base64_decode("cmVzb3VyY2VBY2Nl" . "c3M="), "_38f12d8b8c719a8ce0fc2" . "faefc225f35" => base64_decode("YXJyYX" . "lfbWFw"), "_c66482b2904aa3d76ae799b9" . "065343a5" => base64_decode("dW5pcWl" . "k"), "_919ef4ce5cbe5c3250e38" . "a83dbce3b90" => base64_decode("Tm8gcmVzcG9uc" . "2UgYm9keQ=="), "_4a47860dffc3af4469c" . "caecc38d88b86" => base64_decode("cGFuZWxzLnN5c2FkbWluLm1haWwuY29uZmlnLm1pY3Jvc29mdF9" . "ncmFwaC5taXNzaW5nX3Blcm1pc3Npb24="), "_8ec8f26c742278f9" . "0615f50d682eea79" => base64_decode("UE" . "9T" . "VA" . "=="), "_8ee2511c" . "9b63519ba" . "6efba354c" . "45d7cd" => base64_decode("YjYzM2UxYzUtYjU4Mi00MDQ4LWE5M2UtOWYxMWI0NG" . "M3ZTk2"), "_28f1e5534d" . "3bb4d10afe4" . "adbc0bea1d2" => base64_decode("RmFpbGVkIHRvIHNlbmQgZW1haWwgdmlhIE1pY3Jvc29mdCBHcmFwaCBmb3Igc2VuZGVyICIlcyIuIFNlZSBsb2dzIGZvciBkZXR" . "haWxzLg=="), "_0b86dbc0608873e7cb33f924df5" . "5f9e3" => base64_decode("YXR0YWNob" . "WVudF8="), "_265a475ac7f" . "8b2def4b4369" . "01341c2fb" => base64_decode("L3VzZXJ" . "zLw=="), "_e05e0022a2e5ad344b9c4a" . "0d3f64e1a5" => base64_decode("bWVzc" . "2FnZQ" . "=="), "_5159b3572969eca46acd1b2e141" . "8459c" => base64_decode("aW1" . "wbG" . "9kZ" . "Q=="), "_f5e4dfab63ed0" . "0b06471ee94cb1" . "b7bc1" => base64_decode("RmFpbGVkIHRvIHRlc3QgY29ubmVjdGlvbiBmb3IgJXMu" . "IFNlZSBsb2dzIGZvciBkZXRhaWxzLg=="), "_abfbefb13352347885067109cc3" . "b5023" => base64_decode("L2FwcGxpY2F0" . "aW9ucy8="), "_03549e40a11f" . "60f091dcadca2" . "b995aa6" => base64_decode("Q29udGVu" . "dC1EaXNw" . "b3NpdGlv" . "bg=="), "_f8a02f8ee6c8dce92589f0634d8f21e" . "d" => base64_decode("L3NlbmRN" . "YWls"), "_b4e11a459d5f568c" . "c7017d87f458265c" => base64_decode("RW1haWwgc2VudCBzdWNjZXNzZnVsbHkgdmlhIE1pY3Jvc29mdCBHcmFwa" . "CBmcm9tICIlcyIgdG8gIiVzIi4="), "_fff0a0055c" . "6fbedadef20" . "337b80322f3" => base64_decode("I21pY3Jvc29mdC5ncmFwaC5maWxlQXR0YWNobW" . "VudA=="), "_c35473364fa7a" . "050299058f332e" . "c29c1" => base64_decode("ZXhj" . "ZXB0" . "aW9u"), "_a44dbea694708" . "e0a72e30e979ea" . "2fa71" => base64_decode("QXR0YWNobWVudCBtaXNzaW5nIGZpbGV" . "uYW1lIGluIENvbnRlbnQtRGlzcG9zaX" . "Rpb24sIHVzaW5nIGdlbmVyYXRlZCBuY" . "W1lOiA="), "te" . "xt" => base64_decode("dGV4d" . "A=="), "_56fee108ee9a079b5ff2b692743ccfa" . "8" => base64_decode("R0V" . "U"), "na" . "me" => base64_decode("bm" . "Ft" . "ZQ" . "=="), "_decf18b" . "b747cbba" . "55f12f65" . "abcc0079" . "7" => base64_decode("aHRtbA" . "=="), "_f3c89b1d625a5a2d" . "671024696537a2f8" => base64_decode("YmFzZTY0X2" . "VuY29kZQ=="), "_fd117e9de63f073e48" . "5ba457c70cce31" => base64_decode("QW4gdW5leHBlY3RlZCBlcnJvciBvY2N1" . "cnJlZCBkdXJpbmcgTWljcm9zb2Z0IEdy" . "YXBoIHJlcXVlc3QgZm9yIHNlbmRlciAi" . "JXMiOiAlcw=="), "_9354912012a4c1159" . "e806b552fdabf0e" => base64_decode("bWljcm9zb2" . "Z0K2dyYXBo" . "Oi8vJXM="), "i" . "d" => base64_decode("a" . "W" . "Q" . "="));
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["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_6596b8f6a4969f9a3f6a" . "1b22b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_9354912012a4" . "c1159e806b552" . "fdabf0e"], $this->upn);
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function testConnection(string $_2a3aee1600c02ac512ca28fdfc058486) : bool
    {
        $request = $this->graph->createRequest($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_56fee108ee9a079b5ff2b6" . "92743ccfa8"], $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_abfbefb13352347885067109cc3" . "b5023"] . $_2a3aee1600c02ac512ca28fdfc058486)->setReturnType(Application::class);
        
        
        
        
        $_fd5a3a643834299cbdadfc3540ba0bcb = $this->executeGraphRequest($request);
        if ($_fd5a3a643834299cbdadfc3540ba0bcb !== false) {
            
            
            $_c622d18126d1bc4cebef007887283b0c = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_8ee2511c9b63519ba6efba354c45d7c" . "d"];
            $_4789548cce5a41286c388d5c88a2acf8 = $_fd5a3a643834299cbdadfc3540ba0bcb->getRequiredResourceAccess();
            foreach ($_4789548cce5a41286c388d5c88a2acf8 as $_437a3fdeef848a31406efd8dd07e3682) {
                
                
                foreach ($_437a3fdeef848a31406efd8dd07e3682[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_437a3fdeef848a31406efd8dd07e368" . "2"]] as $_d1071a032215f0eb5c4a8ef175f7049d) {
                    if ($_d1071a032215f0eb5c4a8ef175f7049d[$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["i" . "d"]] === $_c622d18126d1bc4cebef007887283b0c) {
                        return true;
                    }
                }
            }
            throw new MailConnectionTestException(($this->lmsg)($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_4a47860dffc3af4469ccaecc38d8" . "8b86"]));
        } else {
            $_c35473364fa7a050299058f332ec29c1 = new MicrosoftGraphClientException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_6596b8f6a496" . "9f9a3f6a1b22b" . "90e9331"]($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_f5e4dfab63ed00b06471ee94cb1" . "b7bc1"], $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"]["_e05e0022a2e" . "5ad344b9c4a0" . "d3f64e1a5"] => $_bf35eb915bebd17db206bfa7e0393355->jsonSerialize()];
        $request = $this->graph->createRequest($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_8ec8f26c742" . "278f90615f50" . "d682eea79"], $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_265a475" . "ac7f8b2d" . "ef4b4369" . "01341c2f" . "b"] . $this->upn . $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_f8a02f8ee6c" . "8dce92589f06" . "34d8f21ed"])->attachBody($_f4bd77b9d7574792bd46db73586ce19d);
        if ($this->executeGraphRequest($request)) {
            $_d0faa89bbf68a3905f38d0ee47e6a67c = $GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_5159b3572969eca46ac" . "d1b2e1418459c"]($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_01f117db67aa749d3ec8d" . "a7eb478730c"], $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_38f12d8b8c719a8ce0fc2faefc22" . "5f35"](function (Address $_5feede65e7cfe8f0b3d9854c0363d548) {
                return $_5feede65e7cfe8f0b3d9854c0363d548->toString();
            }, $_98fc6cca4e35a90ce632d1d5a4764944->getRecipients()));
            $this->getLogger()->info($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_6596b8f6a4969f9a3f6a1b22b90e9" . "331"]($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_b4e11a459d5f568cc7017d8" . "7f458265c"], $this->upn, $_d0faa89bbf68a3905f38d0ee47e6a67c));
        } else {
            $_c35473364fa7a050299058f332ec29c1 = new MailSendException($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_6596b8f6a4969f9a3f6a1b22b90" . "e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_28f1e5534d3bb4d10" . "afe4adbc0bea1d2"], $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["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_decf18bb747cbba55f12f65" . "abcc00797"]);
            $_f50e845669e7cd06bbc643eeb57aa01d->setContent($_c2f6f7dc50f77b2d217bd2e23a6ff2a0->getHtmlBody());
        } elseif ($_c2f6f7dc50f77b2d217bd2e23a6ff2a0->getTextBody()) {
            $_f50e845669e7cd06bbc643eeb57aa01d->setContentType($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["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["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_03549e40a11f60f091dc" . "adca2b995aa6"], $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["na" . "me"]);
            
            
            if ($_4010317756062a82dd44f8db74db2ed5 === null) {
                $filename = $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_0b86dbc0608873e7cb33f" . "924df55f9e3"] . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_c66482b2904aa3d76ae799b9065" . "343a5"]();
                $this->getLogger()->info($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_a44dbea694708e0a72e30e979ea" . "2fa71"] . $filename);
            }
            $_ae8907f9520f11c7db1c06aa305d9b89->setName($_4010317756062a82dd44f8db74db2ed5);
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setContentType($_47eed1aeea2c92efe9af919c40d41358->getMediaType(), $_47eed1aeea2c92efe9af919c40d41358->getMediaSubtype());
            
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setIsInline(false);
            $_ae8907f9520f11c7db1c06aa305d9b89->setContentBytes(Utils::streamFor($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_f3c89b1d625a5a2d671024696537a2f" . "8"]($_47eed1aeea2c92efe9af919c40d41358->getBody())));
            
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setOdataType($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_fff0a0055c6fbedadef20" . "337b80322f3"]);
            $_6317cbe9753903ab7b4ac31febecf487[] = $_ae8907f9520f11c7db1c06aa305d9b89;
        }
        $_bf35eb915bebd17db206bfa7e0393355->setAttachments($_6317cbe9753903ab7b4ac31febecf487);
    }
    
    
    
    
    
    
    
    private function executeGraphRequest(GraphRequest $request)
    {
        try {
            
            
            
            
            $_fd5a3a643834299cbdadfc3540ba0bcb = $request->execute();
            $this->getLogger()->info($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_6596b8f6a49" . "69f9a3f6a1b2" . "2b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_a595cc63126c9a4b2437194" . "7ab606df2"], $this->upn));
            return $_fd5a3a643834299cbdadfc3540ba0bcb;
        } catch (ClientException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            $_75fe74c31c4fbd36147c9fdd5607b7b0 = $_fe441aa3ef350bfb1a1a1ad8520dd530->getResponse() ? $_fe441aa3ef350bfb1a1a1ad8520dd530->getResponse()->getBody()->getContents() : $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_919ef4ce5cbe5c3250e38a83dbce3" . "b90"];
            $_c8c3b03584386ec653b031e02fbe9c9f = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_6596b8f6a4969f9a3f6a1" . "b22b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_bbff707cd90ebab6cf4c12f772" . "7efab2"], $this->upn, $_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_75fe74c31c4fbd36147c9fdd5607b7b0);
            $this->getLogger()->error($_c8c3b03584386ec653b031e02fbe9c9f, [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_c35473364fa7a050299058f3" . "32ec29c1"] => $_fe441aa3ef350bfb1a1a1ad8520dd530]);
            return false;
        } catch (Exception $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            $_c8c3b03584386ec653b031e02fbe9c9f = $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_6596b8f6a4969f9a" . "3f6a1b22b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_fd117e9de63f073e485ba457c70cce" . "31"], $this->upn, $_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage());
            $this->getLogger()->error($_c8c3b03584386ec653b031e02fbe9c9f, [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_c35473364fa7a0" . "50299058f332ec2" . "9c1"] => $_fe441aa3ef350bfb1a1a1ad8520dd530]);
            return false;
        }
    }
}