<?php
namespace Claromentis\Admin\Sysadmin\UseCase;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"] = (@$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] ?: array()) + array("_b8323c396da910cd2da11d4d" . "0985e9c5" => base64_decode("aXNfcnVubml" . "uZw=="), "document_co" . "nverter" => base64_decode("ZG9jdW1lbnR" . "fY29udmVydG" . "Vy"));
use Claromentis\Admin\Sysadmin\ServiceStatus;
use Claromentis\Core\DocumentConverter\DocumentConverterConstants;
use Claromentis\Core\DocumentConverter\DocumentConverterService;






class GetDocumentConverterStatus
{
    
    
    
    
    
    
    private DocumentConverterService $document_converter_service;
    
    
    
    
    
    
    public function __construct(DocumentConverterService $_37c3e61f2a610b215f22b164da832fdf)
    {
        $this->document_converter_service = $_37c3e61f2a610b215f22b164da832fdf;
    }
    
    
    
    
    
    
    public function GetSummaryStatus()
    {
        $_354ade7121deb022b926fb0c68fd259c = $this->document_converter_service->GetStatus();
        $_e488e883700c5a8ef9981f29ec7a06df = [];
        foreach ($_354ade7121deb022b926fb0c68fd259c as $_8dabb06efc95df4cff7c4afe91857b53 => $status) {
            
            
            if ($_8dabb06efc95df4cff7c4afe91857b53 === DocumentConverterConstants::CLAROMENTIS_DOCUMENT_CONVERTER) {
                $_8dabb06efc95df4cff7c4afe91857b53 = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["docum" . "ent_c" . "onver" . "ter"];
            }
            $_e488e883700c5a8ef9981f29ec7a06df[$_8dabb06efc95df4cff7c4afe91857b53] = $status[$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_b8323c39" . "6da910cd2" . "da11d4d09" . "85e9c5"]] ? ServiceStatus::OK : ServiceStatus::ERROR;
        }
        return $_e488e883700c5a8ef9981f29ec7a06df;
    }
}