<?php
namespace Claromentis\Search;

$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] ?: array()) + array("_2397f28de5e7da63cb6c89957c55" . "8c65" => base64_decode("KCkgbXVzdCBiZSBhbiBhcnJheSBvZiBzdHJ" . "pbmdzLCBvZmZzZXQg"), "_ea7a040ae8d83797a9d185188f" . "f864a2" => base64_decode("QXJndW1lbnQg" . "MSBwYXNzZWQg" . "dG8g"), "_5e30c4717ced" . "36cff9e93e19a" . "5c576cc" => base64_decode("aXNfc3" . "RyaW5n"), "_17a6e03f6ea2cb3182fe6" . "9cc5fbc89c6" => base64_decode("KCkgbXVzdCBiZSBhbiBhcnJheSBvZiBzdHJpbmdzLCBlbXB0eSBhcnJheSBwcm92aWRlZA" . "=="), "_5c535722540e1" . "ef86eeede2274e" . "c9cd4" => base64_decode("O" . "j" . "o" . "="), "_27d36ba68a85217963497e66d46" . "a8f86" => base64_decode("Z2V0dH" . "lwZQ=="), "_679665a8d413f3af1393462bc4d289" . "4f" => base64_decode("IGlzIA" . "=="));
use TypeError;





class MultiMatch
{
    
    
    private $value;
    
    
    private $fields;
    public function __construct(array $fields, $value)
    {
        $this->SetFields($fields);
        $this->SetValue($value);
    }
    
    
    
    
    
    
    public function GetFields() : array
    {
        return $this->fields;
    }
    
    
    
    
    
    
    public function GetValue()
    {
        return $this->value;
    }
    
    
    
    
    
    
    public function SetFields(array $fields) : void
    {
        if (empty($fields)) {
            throw new TypeError($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_ea7a040ae8d83797a" . "9d185188ff864a2"] . self::class . $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_5c535722540e1ef86eeede2274" . "ec9cd4"] . __FUNCTION__ . $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_17a6e03f6ea2" . "cb3182fe69cc5" . "fbc89c6"]);
        }
        foreach ($fields as $_1f50e30be8c2fefa6881834e71d504a2 => $field) {
            if (!$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_5e30c4717ced36cff9" . "e93e19a5c576cc"]($field)) {
                throw new TypeError($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_ea7a040ae8" . "d83797a9d18" . "5188ff864a2"] . self::class . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_5c535722540e1ef86ee" . "ede2274ec9cd4"] . __FUNCTION__ . ($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_2397f28de5e7da63cb6c89957c558c" . "65"] . $_1f50e30be8c2fefa6881834e71d504a2 . $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_679665a8d" . "413f3af139" . "3462bc4d28" . "94f"]) . $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_27d36ba68a8521" . "7963497e66d46a8" . "f86"]($field));
            }
        }
        $this->fields = $fields;
    }
    
    
    
    
    
    
    public function SetValue($value) : void
    {
        $this->value = $value;
    }
}