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

$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] ?: array()) + array("_38f12d8b8c719a8ce0f" . "c2faefc225f35" => base64_decode("YXJyY" . "XlfbW" . "Fw"), "_b4e11a459d5f568cc7017d87f" . "458265c" => base64_decode("RW1haWwgc2VudCBzdWNjZXNzZn" . "VsbHkgdmlhIE1pY3Jvc29mdCBH" . "cmFwaCBmcm9tICIlcyIgdG8gIi" . "VzIi4="), "_abfbefb13352347885067109cc3" . "b5023" => base64_decode("L2FwcGxpY2" . "F0aW9ucy8="), "_8ee2511c9b63519ba6efba354c4" . "5d7cd" => base64_decode("YjYzM2UxYzUtYjU4Mi00MDQ4L" . "WE5M2UtOWYxMWI0NGM3ZTk2"), "n" . "a" . "m" . "e" => base64_decode("bmF" . "tZQ" . "=="), "_a595cc63126c9a4b2437" . "1947ab606df2" => base64_decode("TWljcm9zb2Z0IEdyYXBoIHJlcXVlc3Qgc3VjY2Vzc2Z1bCBmb3Ig" . "c2VuZGVyICIlcyI="), "_919ef4ce5cbe5c3250e38a83dbc" . "e3b90" => base64_decode("Tm8gcmVzcG9uc2UgYm9keQ=" . "="), "_8ec8f26c742278f90615f50d682eea" . "79" => base64_decode("UE9TV" . "A=="), "_5159b3572969ec" . "a46acd1b2e14184" . "59c" => base64_decode("aW1wb" . "G9kZQ" . "=="), "_bbff707cd90eba" . "b6cf4c12f7727ef" . "ab2" => base64_decode("TWljcm9zb2Z0IEdyYXBoIHJlcXVlc3QgZmFpbGVkIGZvciBzZW5kZXIgIiVzIjogJXMuIFJlc3BvbnNlO" . "iAlcw=="), "_fff0a00" . "55c6fbed" . "adef2033" . "7b80322f" . "3" => base64_decode("I21pY3Jvc29mdC5ncmFwaC5maWxl" . "QXR0YWNobWVudA=="), "_f8a02f8ee6c8dce92589f0634d8f2" . "1ed" => base64_decode("L3Nl" . "bmRN" . "YWls"), "_e05e0022a2e5ad344b9c4a0d3f64e1" . "a5" => base64_decode("bWVz" . "c2Fn" . "ZQ=="), "_6596b8f6a4969f9a" . "3f6a1b22b90e9331" => base64_decode("c3ByaW50" . "Zg=="), "i" . "d" => base64_decode("aWQ" . "="), "_f3c89b1d625a5a2d67102469653" . "7a2f8" => base64_decode("YmFzZTY0X2Vu" . "Y29kZQ=="), "_437a3fdeef848a31406efd8dd0" . "7e3682" => base64_decode("cmVzb3" . "VyY2VB" . "Y2Nlc3" . "M="), "_c66482b2904aa3d76ae" . "799b9065343a5" => base64_decode("dW" . "5p" . "cW" . "lk"), "_03549e40a11f60f0" . "91dcadca2b995aa6" => base64_decode("Q29udGVudC1EaXNwb3NpdGlvbg=" . "="), "_a51236f5e7f12cf84a7761520" . "98d24a9" => base64_decode("dGV4" . "dA=="), "_265a475ac7f8" . "b2def4b436901" . "341c2fb" => base64_decode("L3VzZX" . "JzLw=="), "_56fee108ee9a079b5f" . "f2b692743ccfa8" => base64_decode("R0" . "VU"), "_01f117db67aa749d3ec8da7e" . "b478730c" => base64_decode("LCA" . "="), "_c35473364fa7a05029" . "9058f332ec29c1" => base64_decode("ZXhj" . "ZXB0" . "aW9u"), "_28f1e5534d3bb4d10afe4adbc0b" . "ea1d2" => base64_decode("RmFpbGVkIHRvIHNlbmQgZW1haWwgdmlhIE1pY3Jvc29mdCBH" . "cmFwaCBmb3Igc2VuZGVyICIlcyIuIFNlZSBsb2dzIGZvciBk" . "ZXRhaWxzLg=="), "_4a47860dffc3af4" . "469ccaecc38d88b8" . "6" => base64_decode("cGFuZWxzLnN5c2FkbWluLm1haWwuY29uZmlnLm1pY3Jvc29mdF9n" . "cmFwaC5taXNzaW5nX3Blcm1pc3Npb24="), "_0b86dbc0608873e7cb33f9" . "24df55f9e3" => base64_decode("YXR0YWNobWVudF" . "8="), "_fd117e9de63f07" . "3e485ba457c70cc" . "e31" => base64_decode("QW4gdW5leHBlY3RlZCBlcnJvciBvY2N1cnJlZCBkdXJpbmcgTWljcm9zb2Z0IEdyYXBoIHJlcXVlc3QgZm9yIHNlbmR" . "lciAiJXMiOiAlcw=="), "_a44dbea69" . "4708e0a72e" . "30e979ea2f" . "a71" => base64_decode("QXR0YWNobWVudCBtaXNzaW5nIGZp" . "bGVuYW1lIGluIENvbnRlbnQtRGlz" . "cG9zaXRpb24sIHVzaW5nIGdlbmVy" . "YXRlZCBuYW1lOiA="), "_decf18bb" . "747cbba55" . "f12f65abc" . "c00797" => base64_decode("aHRtb" . "A=="), "_9354912012a4c1159e806b552fd" . "abf0e" => base64_decode("bWljcm9zb2Z0K2dyYXBoOi8vJ" . "XM="), "_f5e4dfab63ed00b" . "06471ee94cb1b7bc" . "1" => base64_decode("RmFpbGVkIHRvIHRlc3QgY29ubmVjd" . "GlvbiBmb3IgJXMuIFNlZSBsb2dzIG" . "ZvciBkZXRhaWxzLg=="));
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["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_6596b8f6a" . "4969f9a3f6" . "a1b22b90e9" . "331"]($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_9354912012a4" . "c1159e806b552" . "fdabf0e"], $this->upn);
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function testConnection(string $_2a3aee1600c02ac512ca28fdfc058486) : bool
    {
        $request = $this->graph->createRequest($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_56fee108ee9a079b5ff2b6" . "92743ccfa8"], $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_abfbefb13352" . "347885067109c" . "c3b5023"] . $_2a3aee1600c02ac512ca28fdfc058486)->setReturnType(Application::class);
        
        
        
        
        $_fd5a3a643834299cbdadfc3540ba0bcb = $this->executeGraphRequest($request);
        if ($_fd5a3a643834299cbdadfc3540ba0bcb !== false) {
            
            
            $_c622d18126d1bc4cebef007887283b0c = $GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_8ee2511" . "c9b63519" . "ba6efba3" . "54c45d7c" . "d"];
            $_4789548cce5a41286c388d5c88a2acf8 = $_fd5a3a643834299cbdadfc3540ba0bcb->getRequiredResourceAccess();
            foreach ($_4789548cce5a41286c388d5c88a2acf8 as $_437a3fdeef848a31406efd8dd07e3682) {
                
                
                foreach ($_437a3fdeef848a31406efd8dd07e3682[$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_437a3fdeef848a" . "31406efd8dd07e3" . "682"]] as $_d1071a032215f0eb5c4a8ef175f7049d) {
                    if ($_d1071a032215f0eb5c4a8ef175f7049d[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["i" . "d"]] === $_c622d18126d1bc4cebef007887283b0c) {
                        return true;
                    }
                }
            }
            throw new MailConnectionTestException(($this->lmsg)($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_4a47860dffc3af4469ccaecc38" . "d88b86"]));
        } else {
            $_c35473364fa7a050299058f332ec29c1 = new MicrosoftGraphClientException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_6596b8f6a4969f9a3f6a1b22" . "b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_f5e4dfab63ed00b0647" . "1ee94cb1b7bc1"], $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"]["_e05e0022a2e5ad34" . "4b9c4a0d3f64e1a5"] => $_bf35eb915bebd17db206bfa7e0393355->jsonSerialize()];
        $request = $this->graph->createRequest($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_8ec8f26" . "c742278f" . "90615f50" . "d682eea7" . "9"], $GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_265a475ac7f8b2def4b436901341c" . "2fb"] . $this->upn . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_f8a02f8ee6c8dce92589f0634" . "d8f21ed"])->attachBody($_f4bd77b9d7574792bd46db73586ce19d);
        if ($this->executeGraphRequest($request)) {
            $_d0faa89bbf68a3905f38d0ee47e6a67c = $GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_5159b35" . "72969eca" . "46acd1b2" . "e1418459" . "c"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_01f117db67aa749d3ec8da7" . "eb478730c"], $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_38f12d8b8c719a8ce0fc2faefc22" . "5f35"](function (Address $_5feede65e7cfe8f0b3d9854c0363d548) {
                return $_5feede65e7cfe8f0b3d9854c0363d548->toString();
            }, $_98fc6cca4e35a90ce632d1d5a4764944->getRecipients()));
            $this->getLogger()->info($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_6596b8f6a4969f9a3" . "f6a1b22b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_b4e11a45" . "9d5f568cc" . "7017d87f4" . "58265c"], $this->upn, $_d0faa89bbf68a3905f38d0ee47e6a67c));
        } else {
            $_c35473364fa7a050299058f332ec29c1 = new MailSendException($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_6596b8f6a4969f9a3f6a1b22" . "b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_28f1e5534d3bb4d10afe4ad" . "bc0bea1d2"], $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["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_decf18bb747cbba55f12f65abcc0" . "0797"]);
            $_f50e845669e7cd06bbc643eeb57aa01d->setContent($_c2f6f7dc50f77b2d217bd2e23a6ff2a0->getHtmlBody());
        } elseif ($_c2f6f7dc50f77b2d217bd2e23a6ff2a0->getTextBody()) {
            $_f50e845669e7cd06bbc643eeb57aa01d->setContentType($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_a51236f5e7f12cf84a776152" . "098d24a9"]);
            $_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["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_03549e40a11f60f091dc" . "adca2b995aa6"], $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["n" . "a" . "m" . "e"]);
            
            
            if ($_4010317756062a82dd44f8db74db2ed5 === null) {
                $filename = $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_0b86dbc0608873e7cb33" . "f924df55f9e3"] . $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_c66482b2904" . "aa3d76ae799b" . "9065343a5"]();
                $this->getLogger()->info($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_a44dbea694708e0a72" . "e30e979ea2fa71"] . $filename);
            }
            $_ae8907f9520f11c7db1c06aa305d9b89->setName($_4010317756062a82dd44f8db74db2ed5);
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setContentType($_47eed1aeea2c92efe9af919c40d41358->getMediaType(), $_47eed1aeea2c92efe9af919c40d41358->getMediaSubtype());
            
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setIsInline(false);
            $_ae8907f9520f11c7db1c06aa305d9b89->setContentBytes(Utils::streamFor($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_f3c89b1d" . "625a5a2d6" . "710246965" . "37a2f8"]($_47eed1aeea2c92efe9af919c40d41358->getBody())));
            
            
            
            $_ae8907f9520f11c7db1c06aa305d9b89->setOdataType($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_fff0a0055c6fbedad" . "ef20337b80322f3"]);
            $_6317cbe9753903ab7b4ac31febecf487[] = $_ae8907f9520f11c7db1c06aa305d9b89;
        }
        $_bf35eb915bebd17db206bfa7e0393355->setAttachments($_6317cbe9753903ab7b4ac31febecf487);
    }
    
    
    
    
    
    
    
    private function executeGraphRequest(GraphRequest $request)
    {
        try {
            
            
            
            
            $_fd5a3a643834299cbdadfc3540ba0bcb = $request->execute();
            $this->getLogger()->info($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_6596b8f6a4969f9" . "a3f6a1b22b90e933" . "1"]($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_a595cc63126c9a4" . "b24371947ab606df" . "2"], $this->upn));
            return $_fd5a3a643834299cbdadfc3540ba0bcb;
        } catch (ClientException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            $_75fe74c31c4fbd36147c9fdd5607b7b0 = $_fe441aa3ef350bfb1a1a1ad8520dd530->getResponse() ? $_fe441aa3ef350bfb1a1a1ad8520dd530->getResponse()->getBody()->getContents() : $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_919ef4ce5cbe5c3250e38a83dbce" . "3b90"];
            $_c8c3b03584386ec653b031e02fbe9c9f = $GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_6596b8f6a4969f9a3f6a1b22b90e" . "9331"]($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_bbff707c" . "d90ebab6c" . "f4c12f772" . "7efab2"], $this->upn, $_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_75fe74c31c4fbd36147c9fdd5607b7b0);
            $this->getLogger()->error($_c8c3b03584386ec653b031e02fbe9c9f, [$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_c35473364fa7a050299058f332ec" . "29c1"] => $_fe441aa3ef350bfb1a1a1ad8520dd530]);
            return false;
        } catch (Exception $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            $_c8c3b03584386ec653b031e02fbe9c9f = $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_6596b8f6a4969f9a3f6a1b" . "22b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_fd117e9d" . "e63f073e4" . "85ba457c7" . "0cce31"], $this->upn, $_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage());
            $this->getLogger()->error($_c8c3b03584386ec653b031e02fbe9c9f, [$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_c35473364fa7a050299" . "058f332ec29c1"] => $_fe441aa3ef350bfb1a1a1ad8520dd530]);
            return false;
        }
    }
}