<?php
namespace Claromentis\Search;

$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("_27d36ba68a852179634" . "97e66d46a8f86" => base64_decode("Z2V0dH" . "lwZQ=="), "_679665a8d413f3af1393462bc4d2" . "894f" => base64_decode("IG" . "lz" . "IA" . "=="), "_5c535722540e1ef86eeede" . "2274ec9cd4" => base64_decode("Ojo" . "="), "_680cc2b8220e94c8c32b" . "8bc7c65519b4" => base64_decode("aXNfa" . "W50"), "_8ade8d758705e3ab55c8100e6ea" . "320d7" => base64_decode("KCkgbXVzdCBiZSBhIG5vbi1lbXB0eSBhcnJheSBvZiBzdHJpbmdzIG9yIGludGVnZXJzLCBlbXB0eSBhcnJheSBwcm92aWRl" . "ZA=="), "_5e30c4717ced36cff9e93e19a5c576" . "cc" => base64_decode("aXN" . "fc3" . "Rya" . "W5n"), "_ea7a040ae8d83797a9d1851" . "88ff864a2" => base64_decode("QXJndW1lbnQgMS" . "BwYXNzZWQgdG8g"), "_da3cd6b11b4ba42513099" . "2f549836b7f" => base64_decode("KCkgbXVzdCBiZSBhbiBhcnJheSBvZiBzdHJpbm" . "dzIG9yIGludGVnZXJzLCBvZmZzZXQg"));
use TypeError;






class Terms
{
    protected string $field;
    
    
    protected array $values = [];
    public function __construct(string $field, array $values)
    {
        $this->SetField($field);
        $this->SetValues($values);
    }
    
    
    
    
    
    
    public function GetValues() : array
    {
        return $this->values;
    }
    
    
    
    
    
    
    public function GetField() : string
    {
        return $this->field;
    }
    
    
    
    
    
    
    public function SetField(string $field) : void
    {
        $this->field = $field;
    }
    
    
    
    
    
    
    public function SetValues(array $values) : void
    {
        if (empty($values)) {
            throw new TypeError($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_ea7a040ae8d83797a9d18" . "5188ff864a2"] . self::class . $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_5c535722540e1ef86eeede2274ec9" . "cd4"] . __FUNCTION__ . $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_8ade8d758705e3ab55c" . "8100e6ea320d7"]);
        }
        foreach ($values as $_1f50e30be8c2fefa6881834e71d504a2 => $value) {
            if (!$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_680cc2b8220e94c8c32b8bc7c65519" . "b4"]($value) && !$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_5e30c4717ced36cff9e93e19a5" . "c576cc"]($value)) {
                throw new TypeError($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_ea7a040ae8d83797a" . "9d185188ff864a2"] . self::class . $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_5c535722540e1ef86ee" . "ede2274ec9cd4"] . __FUNCTION__ . ($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_da3cd6b11b4ba42513099" . "2f549836b7f"] . $_1f50e30be8c2fefa6881834e71d504a2 . $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_679665a8d413f3af1" . "393462bc4d2894f"]) . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_27d36ba68a8" . "5217963497e6" . "6d46a8f86"]($value));
            }
        }
        $this->values = $values;
    }
}