<?php
namespace Claromentis\Pages\UseCase;

$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] ?: array()) + array("_838211affdd74e88e8" . "15ab0b2d317ef6" => base64_decode("RmllbGQgbm90I" . "GZvdW5k"), "_5c51b0e4b7267b43adabf8" . "015a8e1cf8" => base64_decode("Y2FsbGJhY2s" . "="));
use Claromentis\Core\Application;
use Claromentis\Pages\Exception\AjaxFieldLookupException;
use Claromentis\Pages\Repository\TileProvider;




class GetAjaxResults
{
    public function __construct(TileProvider $tile_provider, callable $_fb83e764e4585493fd342bef3f476506)
    {
        $this->tile_provider = $tile_provider;
        $this->lookup_service = $_fb83e764e4585493fd342bef3f476506;
    }
    public function GetResults($_3fe79c1c3dbe98dac252d4b18cccf315, $_66dc8b21e839a9a4739443a621ecc45a, $_918e0dcc556bc977f277818c7e2f3c6c, $_221da17e3055fae8d3ff516b832a5f3b)
    {
        $tile = $this->tile_provider->GetTile($_3fe79c1c3dbe98dac252d4b18cccf315);
        $_a0814aca3c0a1889b8fa232899f7af70 = ($this->lookup_service)($tile->class_key);
        $_1c7a5c39763d615d9d1c14cddceadb1b = $_a0814aca3c0a1889b8fa232899f7af70->GetOptions();
        if (isset($_1c7a5c39763d615d9d1c14cddceadb1b[$_66dc8b21e839a9a4739443a621ecc45a]) && isset($_1c7a5c39763d615d9d1c14cddceadb1b[$_66dc8b21e839a9a4739443a621ecc45a][$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_5c51b0e4b7267b43adabf8015" . "a8e1cf8"]])) {
            $_5c51b0e4b7267b43adabf8015a8e1cf8 = $_1c7a5c39763d615d9d1c14cddceadb1b[$_66dc8b21e839a9a4739443a621ecc45a][$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_5c51b0e4b7267b43adabf80" . "15a8e1cf8"]];
            return $_a0814aca3c0a1889b8fa232899f7af70->{$_5c51b0e4b7267b43adabf8015a8e1cf8}($_918e0dcc556bc977f277818c7e2f3c6c, $_221da17e3055fae8d3ff516b832a5f3b);
        }
        throw new AjaxFieldLookupException($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_838211affdd74e88" . "e815ab0b2d317ef6"]);
    }
}