<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;

/* components/form/fields_macros.html.twig */
class __TwigTemplate_f386629d4114c684b4a8a69cf056842e extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 32
        yield "
";
        // line 52
        yield "
";
        // line 69
        yield "
";
        // line 85
        yield "

";
        // line 106
        yield "

";
        // line 128
        yield "

";
        // line 157
        yield "

";
        // line 182
        yield "

";
        // line 197
        yield "

";
        // line 279
        yield "
";
        // line 321
        yield "
";
        // line 355
        yield "
";
        // line 398
        yield "
";
        // line 428
        yield "
";
        // line 467
        yield "
";
        // line 472
        yield "
";
        // line 494
        yield "
";
        // line 519
        yield "
";
        // line 547
        yield "
";
        // line 564
        yield "
";
        // line 587
        yield "
";
        // line 611
        yield "
";
        // line 634
        yield "
";
        // line 656
        yield "
";
        // line 681
        yield "
";
        // line 692
        yield "
";
        // line 714
        yield "
";
        // line 737
        yield "
";
        // line 771
        yield "
";
        // line 782
        yield "
";
        // line 817
        yield "
";
        // line 828
        yield "
";
        // line 838
        yield "

";
        // line 856
        yield "

";
        // line 918
        yield "

";
        // line 949
        yield "

";
        yield from [];
    }

    // line 33
    public function macro_largeTitle($label = null, $icon = "", $first = false, ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "label" => $label,
            "icon" => $icon,
            "first" => $first,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 34
            yield "   ";
            $context["margins"] = "mt-3";
            // line 35
            yield "   ";
            if ((($tmp = ($context["first"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 36
                yield "      ";
                $context["margins"] = "mt-n2";
                // line 37
                yield "   ";
            }
            // line 38
            yield "
   <div class=\"card border-0 shadow-none p-0 m-0 ";
            // line 39
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["margins"] ?? null), "html", null, true);
            yield "\">
      <div class=\"card-header mb-3\">
         <h4 class=\"card-title ";
            // line 41
            yield (((($tmp = Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["icon"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("ms-4") : (""));
            yield "\">
            ";
            // line 42
            if ((($tmp = Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["icon"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 43
                yield "               <div class=\"ribbon ribbon-bookmark ribbon-top ribbon-start bg-blue s-1\">
                  <i class=\"fa-2x ";
                // line 44
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["icon"] ?? null), "html", null, true);
                yield "\"></i>
               </div>
            ";
            }
            // line 47
            yield "            ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["label"] ?? null), "html", null, true);
            yield "
         </h4>
      </div>
   </div>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 53
    public function macro_smallTitle($label = null, $icon = "", ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "label" => $label,
            "icon" => $icon,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 54
            yield "   ";
            $context["margins"] = "mt-2 mb-2";
            // line 55
            yield "
   <div class=\"card border-0 shadow-none p-0 m-0 ";
            // line 56
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["margins"] ?? null), "html", null, true);
            yield "\">
      <div class=\"card-header mb-1 p-0 ps-3\">
         <h4 class=\"card-subtitle ";
            // line 58
            yield (((($tmp = Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["icon"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("ms-4") : (""));
            yield "\">
            ";
            // line 59
            if ((($tmp = Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["icon"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 60
                yield "               <div class=\"ribbon ribbon-bookmark ribbon-top ribbon-start bg-blue s-1\">
                  <i class=\"fa-2x ";
                // line 61
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["icon"] ?? null), "html", null, true);
                yield "\"></i>
               </div>
            ";
            }
            // line 64
            yield "            ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["label"] ?? null), "html", null, true);
            yield "
         </h4>
      </div>
   </div>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 70
    public function macro_autoNameField($name = null, $item = null, $label = "", $withtemplate = null, $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "item" => $item,
            "label" => $label,
            "withtemplate" => $withtemplate,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 71
            yield "   ";
            $context["tpl_value"] = (((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["option"] ?? null), "value", [], "any", false, false, false, 71)) > 0)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["option"] ?? null), "value", [], "any", false, false, false, 71)) : ($this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue((($_v0 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 71)) && is_array($_v0) || $_v0 instanceof ArrayAccess ? ($_v0[($context["name"] ?? null)] ?? null) : null))));
            // line 72
            yield "   ";
            $context["tplmark"] = "";
            // line 73
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isTemplate", [], "method", false, false, false, 73)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                yield " ";
                // line 74
                yield "      ";
                $context["tplmark"] = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getAutofillMark", [($context["name"] ?? null), ["withtemplate" => ($context["withtemplate"] ?? null)], ($context["tpl_value"] ?? null)], "method", false, false, false, 74);
                // line 75
                yield "   ";
            }
            // line 76
            yield "   ";
            if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, true, false, 76), ($context["name"] ?? null), [], "array", true, true, false, 76) &&  !(null === (($_v1 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 76)) && is_array($_v1) || $_v1 instanceof ArrayAccess ? ($_v1[($context["name"] ?? null)] ?? null) : null)))) {
                // line 77
                yield "      ";
                $context["value"] = $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("autoName", [$this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue((($_v2 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 77)) && is_array($_v2) || $_v2 instanceof ArrayAccess ? ($_v2[($context["name"] ?? null)] ?? null) : null)), ($context["name"] ?? null), (($context["withtemplate"] ?? null) == 2), CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 77), (($_v3 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 77)) && is_array($_v3) || $_v3 instanceof ArrayAccess ? ($_v3["entities_id"] ?? null) : null)]);
                // line 78
                yield "   ";
            } else {
                // line 79
                yield "      ";
                $context["value"] = null;
                // line 80
                yield "   ";
            }
            // line 81
            yield "   ";
            $context["label"] = Twig\Extension\CoreExtension::sprintf(__("%1\$s%2\$s"), ($context["label"] ?? null), ($context["tplmark"] ?? null));
            // line 82
            yield "
   ";
            // line 83
            yield $this->getTemplateForMacro("macro_textField", $context, 83, $this->getSourceContext())->macro_textField(...[($context["name"] ?? null), ($context["value"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 87
    public function macro_textField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 88
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["type" => "text"], ($context["options"] ?? null));
            // line 89
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 89), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 89)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 90
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true], ($context["options"] ?? null));
                // line 91
                yield "   ";
            }
            // line 92
            yield "
   ";
            // line 93
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 94
                yield "      <input type=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "type", [], "any", false, false, false, 94), "html", null, true);
                yield "\" id=\"%id%\"
             class=\"form-control ";
                // line 95
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_addclass", [], "any", false, false, false, 95), "html", null, true);
                yield "\"
             name=\"";
                // line 96
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                yield "\" value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue(($context["value"] ?? null)), "html", null, true);
                yield "\"
             ";
                // line 97
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "maxlength", [], "any", false, false, false, 97)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("maxlength=" . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "maxlength", [], "any", false, false, false, 97)), "html", null, true)) : (""));
                yield "
             ";
                // line 98
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 98)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("readonly") : (""));
                yield "
             ";
                // line 99
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 99)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
                yield "
             ";
                // line 100
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "multiple", [], "any", false, false, false, 100)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("multiple") : (""));
                yield " ";
                // line 101
                yield "             ";
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 101)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
                yield " />
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 103
            yield "
   ";
            // line 104
            yield $this->getTemplateForMacro("macro_field", $context, 104, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 108
    public function macro_checkboxField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 109
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 109), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 109)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 110
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true], ($context["options"] ?? null));
                // line 111
                yield "   ";
            }
            // line 112
            yield "
   ";
            // line 113
            $context["options"] = Twig\Extension\CoreExtension::merge(["center" => true],             // line 115
($context["options"] ?? null));
            // line 116
            yield "
   ";
            // line 117
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 118
                yield "      <input type=\"hidden\"   name=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                yield "\" value=\"0\" />
      <input type=\"checkbox\" name=\"";
                // line 119
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                yield "\" value=\"1\" class=\"form-check-input\" id=\"%id%\"
             ";
                // line 120
                yield (((($context["value"] ?? null) == 1)) ? ("checked") : (""));
                yield "
             ";
                // line 121
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 121)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("readonly") : (""));
                yield "
             ";
                // line 122
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 122)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
                yield "
             ";
                // line 123
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 123)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
                yield " />
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 125
            yield "
   ";
            // line 126
            yield $this->getTemplateForMacro("macro_field", $context, 126, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 130
    public function macro_sliderField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 131
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 131), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 131)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 132
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true],                 // line 134
($context["options"] ?? null));
                // line 135
                yield "   ";
            }
            // line 136
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["no_value" => 0, "yes_value" => 1],             // line 139
($context["options"] ?? null));
            // line 140
            yield "
   ";
            // line 141
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 142
                yield "      <label class=\"form-check form-switch mt-2\">
         <input type=\"hidden\"   name=\"";
                // line 143
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                yield "\" value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "no_value", [], "any", false, false, false, 143), "html", null, true);
                yield "\" />
         <input type=\"checkbox\" name=\"";
                // line 144
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                yield "\" value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "yes_value", [], "any", false, false, false, 144), "html", null, true);
                yield "\" class=\"form-check-input\" id=\"%id%\"
                ";
                // line 145
                yield (((($context["value"] ?? null) == 1)) ? ("checked") : (""));
                yield "
                ";
                // line 146
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 146)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("readonly") : (""));
                yield "
                ";
                // line 147
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 147)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
                yield "
                ";
                // line 148
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 148)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
                yield " />
         ";
                // line 149
                if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "label2", [], "any", false, false, false, 149)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 150
                    yield "            <span class=\"form-check-label\">";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "label2", [], "any", false, false, false, 150), "html", null, true);
                    yield "</span>
         ";
                }
                // line 152
                yield "      </label>
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 154
            yield "
   ";
            // line 155
            yield $this->getTemplateForMacro("macro_field", $context, 155, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 159
    public function macro_numberField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 160
            yield "   ";
            if (((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "step", [], "any", false, false, false, 160) != "any") && (Twig\Extension\CoreExtension::round(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "step", [], "any", false, false, false, 160), 0, "floor") != CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "step", [], "any", false, false, false, 160)))) {
                // line 161
                yield "      ";
                // line 162
                yield "      ";
                $context["value"] = $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Html::formatNumber", [($context["value"] ?? null), true]);
                // line 163
                yield "   ";
            }
            // line 164
            yield "
   ";
            // line 165
            if ((($context["value"] ?? null) == "")) {
                // line 166
                yield "      ";
                $context["value"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "min", [], "any", true, true, false, 166)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "min", [], "any", false, false, false, 166)) : (0));
                // line 167
                yield "   ";
            }
            // line 168
            yield "
   ";
            // line 169
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 170
                yield "      <input type=\"number\" id=\"%id%\"
             class=\"form-control ";
                // line 171
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_addclass", [], "any", false, false, false, 171), "html", null, true);
                yield "\"
             name=\"";
                // line 172
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                yield "\" value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true);
                yield "\"
         ";
                // line 173
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 173)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("readonly") : (""));
                yield "
         ";
                // line 174
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 174)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
                yield "
         ";
                // line 175
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 175)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
                yield "
         ";
                // line 176
                if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "min", [], "any", true, true, false, 176)) {
                    yield "min=\"";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "min", [], "any", false, false, false, 176), "html", null, true);
                    yield "\"";
                }
                // line 177
                yield "         ";
                if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "max", [], "any", true, true, false, 177)) {
                    yield "max=\"";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "max", [], "any", false, false, false, 177), "html", null, true);
                    yield "\"";
                }
                // line 178
                yield "         ";
                if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "step", [], "any", true, true, false, 178)) {
                    yield "step=\"";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "step", [], "any", false, false, false, 178), "html", null, true);
                    yield "\"";
                }
                yield " />
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 180
            yield "   ";
            yield $this->getTemplateForMacro("macro_field", $context, 180, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 184
    public function macro_readOnlyField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 185
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["readonly" => true]);
            // line 186
            yield "   ";
            $context["value"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 187
                yield "      <span class=\"form-control ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_addclass", [], "any", false, false, false, 187), "html", null, true);
                yield "\" readonly>
         ";
                // line 188
                if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["value"] ?? null)) == 0)) {
                    // line 189
                    yield "            &nbsp;
         ";
                } else {
                    // line 191
                    yield "            ";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue(($context["value"] ?? null)), "html", null, true);
                    yield "
         ";
                }
                // line 193
                yield "      </span>
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 195
            yield "   ";
            yield $this->getTemplateForMacro("macro_field", $context, 195, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["value"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 199
    public function macro_textareaField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 200
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "enable_richtext" => false, "enable_images" => true, "enable_fileupload" => false, "enable_mentions" => false, "entities_id" => $this->extensions['Glpi\Application\View\Extension\SessionExtension']->session("glpiactive_entity"), "uploads" => []],             // line 208
($context["options"] ?? null));
            // line 209
            yield "
   ";
            // line 210
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 210), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 210)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 211
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true], ($context["options"] ?? null));
                // line 212
                yield "   ";
            }
            // line 213
            yield "   ";
            $context["id"] = (((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 213)) > 0)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 213)) : (((($context["name"] ?? null) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 213))));
            // line 214
            yield "
   ";
            // line 215
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 216
                yield "      ";
                // line 217
                yield "      <textarea class=\"form-control ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_addclass", [], "any", false, false, false, 217), "html", null, true);
                yield "\" id=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id"] ?? null), "html", null, true);
                yield "\" name=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                yield "\" rows=\"3\"
                style=\"width: 100%;\"
                ";
                // line 219
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 219)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
                yield "
                ";
                // line 220
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 220)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("readonly") : (""));
                yield "
                ";
                // line 221
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 221)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
                yield ">";
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "enable_richtext", [], "any", false, false, false, 221)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getSafeHtml(($context["value"] ?? null)))) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue(($context["value"] ?? null)), "html", null, true)));
                yield "</textarea>
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 223
            yield "
   ";
            // line 224
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "enable_richtext", [], "any", false, false, false, 224)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 225
                yield "      ";
                $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Html::initEditorSystem", [                // line 226
($context["id"] ?? null), CoreExtension::getAttribute($this->env, $this->source,                 // line 227
($context["options"] ?? null), "rand", [], "any", false, false, false, 227), true, ((CoreExtension::getAttribute($this->env, $this->source,                 // line 229
($context["options"] ?? null), "disabled", [], "any", true, true, false, 229)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 229), false)) : (false)), CoreExtension::getAttribute($this->env, $this->source,                 // line 230
($context["options"] ?? null), "enable_images", [], "any", false, false, false, 230)]);
                // line 232
                yield "   ";
            }
            // line 233
            yield "
   ";
            // line 234
            $context["add_html"] = "";
            // line 235
            yield "   ";
            if (( !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 235) && CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "enable_fileupload", [], "any", false, false, false, 235))) {
                // line 236
                yield "      ";
                $context["add_html"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                    // line 237
                    yield "         ";
                    $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Html::file", [["editor_id" =>                     // line 238
($context["id"] ?? null), "multiple" => true, "uploads" => CoreExtension::getAttribute($this->env, $this->source,                     // line 240
($context["options"] ?? null), "uploads", [], "any", false, false, false, 240), "required" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,                     // line 241
($context["options"] ?? null), "fields_template", [], "any", false, false, false, 241), "isMandatoryField", ["_documents_id"], "method", false, false, false, 241)]]);
                    // line 243
                    yield "      ";
                    yield from [];
                })())) ? '' : new Markup($tmp, $this->env->getCharset());
                // line 244
                yield "   ";
            } elseif (((( !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 244) &&  !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "enable_fileupload", [], "any", false, false, false, 244)) && CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "enable_richtext", [], "any", false, false, false, 244)) && CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "enable_images", [], "any", false, false, false, 244))) {
                // line 245
                yield "      ";
                $context["add_html"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                    // line 246
                    yield "         ";
                    $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Html::file", [["editor_id" =>                     // line 247
($context["id"] ?? null), "name" =>                     // line 248
($context["name"] ?? null), "only_uploaded_files" => true, "uploads" => CoreExtension::getAttribute($this->env, $this->source,                     // line 250
($context["options"] ?? null), "uploads", [], "any", false, false, false, 250), "required" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,                     // line 251
($context["options"] ?? null), "fields_template", [], "any", false, false, false, 251), "isMandatoryField", ["_documents_id"], "method", false, false, false, 251)]]);
                    // line 253
                    yield "      ";
                    yield from [];
                })())) ? '' : new Markup($tmp, $this->env->getCharset());
                // line 254
                yield "   ";
            }
            // line 255
            yield "
   ";
            // line 256
            if ((($context["add_html"] ?? null) != "")) {
                // line 257
                yield "      ";
                if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "add_field_html", [], "any", true, true, false, 257)) {
                    // line 258
                    yield "         ";
                    $context["add_html"] = (($context["add_html"] ?? null) . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "add_field_html", [], "any", false, false, false, 258));
                    // line 259
                    yield "      ";
                }
                // line 260
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["add_field_html" => ($context["add_html"] ?? null)]);
                // line 261
                yield "   ";
            }
            // line 262
            yield "
   ";
            // line 263
            yield $this->getTemplateForMacro("macro_field", $context, 263, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
   ";
            // line 264
            if ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "enable_mentions", [], "any", false, false, false, 264) && $this->extensions['Glpi\Application\View\Extension\ConfigExtension']->config("use_notifications"))) {
                // line 265
                yield "      <script>
         \$(
            function() {
               const user_mention = new GLPI.RichText.UserMention(
                  tinymce.get(\x27";
                // line 269
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id"] ?? null), "html", null, true);
                yield "\x27),
                  ";
                // line 270
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "entities_id", [], "any", false, false, false, 270), "html", null, true);
                yield ",
                  \x27";
                // line 271
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Session::getNewIDORToken("User", ["right" => "all", "entity_restrict" => CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "entities_id", [], "any", false, false, false, 271)]), "html", null, true);
                yield "\x27
               );
               user_mention.register();
            }
         )
      </script>
   ";
            }
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 280
    public function macro_flatpickrHtmlInput($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 281
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["readonly" => false, "disabled" => false],             // line 284
($context["options"] ?? null));
            // line 285
            yield "
   ";
            // line 286
            $context["editable"] = ( !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 286) &&  !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 286));
            // line 287
            yield "
   ";
            // line 288
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 288), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 288)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 289
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true], ($context["options"] ?? null));
                // line 290
                yield "   ";
            }
            // line 291
            yield "
   ";
            // line 292
            if ((($context["value"] ?? null) == "NULL")) {
                // line 293
                yield "      ";
                $context["value"] = null;
                // line 294
                yield "   ";
            }
            // line 295
            yield "
   ";
            // line 296
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "checkIsExpired", [], "any", false, false, false, 296)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 297
                yield "      ";
                if (($this->extensions['Twig\Extension\CoreExtension']->formatDate(($context["value"] ?? null), "Y-m-d H:i:s") < $this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y-m-d H:i:s"))) {
                    // line 298
                    yield "         ";
                    $context["class"] = "warn";
                    // line 299
                    yield "      ";
                }
                // line 300
                yield "   ";
            } else {
                // line 301
                yield "      ";
                if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "expiration_class", [], "any", true, true, false, 301)) {
                    // line 302
                    yield "         ";
                    $context["class"] = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "expiration_class", [], "any", false, false, false, 302);
                    // line 303
                    yield "      ";
                } else {
                    // line 304
                    yield "         ";
                    $context["class"] = "";
                    // line 305
                    yield "      ";
                }
                // line 306
                yield "   ";
            }
            // line 307
            yield "
   <div class=\"input-group flex-grow-1 flatpickr\" id=\"";
            // line 308
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 308), "html", null, true);
            yield "\">
      ";
            // line 310
            yield "      ";
            // line 311
            yield "      <input type=\"text\" class=\"form-control rounded-start ps-2 ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_addclass", [], "any", false, false, false, 311), "html", null, true);
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["class"] ?? null), "html", null, true);
            yield "\" data-input
             name=\"";
            // line 312
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
            yield "\" value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue(($context["value"] ?? null)), "html", null, true);
            yield "\"
             ";
            // line 313
            yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 313)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
            yield "
             ";
            // line 314
            yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 314)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("readonly") : (""));
            yield "
             ";
            // line 315
            yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 315)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
            yield " />
      ";
            // line 316
            if ((($tmp = ($context["editable"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 317
                yield "         <i class=\"input-group-text far fa-calendar-alt\" data-toggle role=\"button\"></i>
      ";
            }
            // line 319
            yield "   </div>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 322
    public function macro_dateField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 323
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset())], ($context["options"] ?? null));
            // line 324
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["id" => (($this->extensions['Twig\Extra\String\StringExtension']->createSlug(($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 324))], ($context["options"] ?? null));
            // line 325
            yield "   ";
            $context["locale"] = $this->extensions['Glpi\Application\View\Extension\I18nExtension']->getCurrentLocale();
            // line 326
            yield "
   ";
            // line 327
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 328
                yield "      ";
                yield $this->getTemplateForMacro("macro_flatpickrHtmlInput", $context, 328, $this->getSourceContext())->macro_flatpickrHtmlInput(...[($context["name"] ?? null), ($context["value"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
                yield "
      <script>
      \$(function() {
         \$(\"#";
                // line 331
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 331), "html", null, true);
                yield "\").flatpickr({
            wrap: true,
            altInput: true,
            altFormat: \x27";
                // line 334
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Toolbox::getDateFormat", ["js"]), "html", null, true);
                yield "\x27,
            dateFormat: \x27Y-m-d\x27,
            enableTime: false,
            weekNumbers: true,
            time_24hr: true,
            allowInput: ";
                // line 339
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 339)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("false") : ("true"));
                yield ",
            clickOpens: ";
                // line 340
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 340)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("false") : ("true"));
                yield ",
            locale: getFlatPickerLocale(\"";
                // line 341
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v4 = ($context["locale"] ?? null)) && is_array($_v4) || $_v4 instanceof ArrayAccess ? ($_v4["language"] ?? null) : null), "html", null, true);
                yield "\", \"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v5 = ($context["locale"] ?? null)) && is_array($_v5) || $_v5 instanceof ArrayAccess ? ($_v5["region"] ?? null) : null), "html", null, true);
                yield "\"),
            onClose(dates, currentdatestring, picker) {
               picker.setDate(picker.altInput.value, true, picker.config.altFormat)
            },
            plugins: [
               CustomFlatpickrButtons()
            ]
         });
      });
      </script>
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 352
            yield "
   ";
            // line 353
            yield $this->getTemplateForMacro("macro_field", $context, 353, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 356
    public function macro_datetimeField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 357
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "readonly" => false, "disabled" => false],             // line 361
($context["options"] ?? null));
            // line 362
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["id" => (($this->extensions['Twig\Extra\String\StringExtension']->createSlug(($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 362))], ($context["options"] ?? null));
            // line 363
            yield "
   ";
            // line 364
            $context["locale"] = $this->extensions['Glpi\Application\View\Extension\I18nExtension']->getCurrentLocale();
            // line 365
            yield "   ";
            $context["editable"] = ( !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 365) &&  !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 365));
            // line 366
            yield "
   ";
            // line 367
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 368
                yield "       ";
                yield $this->getTemplateForMacro("macro_flatpickrHtmlInput", $context, 368, $this->getSourceContext())->macro_flatpickrHtmlInput(...[($context["name"] ?? null), ($context["value"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
                yield "
       ";
                // line 369
                if ((($tmp = ($context["editable"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 370
                    yield "           <script>
               \$(function () {
                   \$(\x27#";
                    // line 372
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 372), "html", null, true);
                    yield "\x27).flatpickr({
                       altInput: true,
                       dateFormat: \x27Y-m-d H:i:S\x27,
                       altFormat: \x27";
                    // line 375
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Toolbox::getDateFormat", ["js"]), "html", null, true);
                    yield " H:i:S\x27,
                       enableTime: true,
                       wrap: true,
                       enableSeconds: true,
                       weekNumbers: true,
                       time_24hr: true,
                       allowInput: ";
                    // line 381
                    yield (((($tmp = ($context["editable"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("true") : ("false"));
                    yield ",
                       clickOpens: ";
                    // line 382
                    yield (((($tmp = ($context["editable"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("true") : ("false"));
                    yield ",
                       locale: getFlatPickerLocale(\x27";
                    // line 383
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v6 = ($context["locale"] ?? null)) && is_array($_v6) || $_v6 instanceof ArrayAccess ? ($_v6["language"] ?? null) : null), "html", null, true);
                    yield "\x27, \x27";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v7 = ($context["locale"] ?? null)) && is_array($_v7) || $_v7 instanceof ArrayAccess ? ($_v7["region"] ?? null) : null), "html", null, true);
                    yield "\x27),
                       onClose(dates, currentdatestring, picker) {
                           picker.setDate(picker.altInput.value, true, picker.config.altFormat)
                       },
                       plugins: [
                           CustomFlatpickrButtons()
                       ]
                   });
               });
           </script>
       ";
                }
                // line 394
                yield "   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 395
            yield "
   ";
            // line 396
            yield $this->getTemplateForMacro("macro_field", $context, 396, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 399
    public function macro_colorField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 400
            yield "   ";
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 401
                yield "      <input id=\"%id%\"
             class=\"form-control ";
                // line 402
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_addclass", [], "any", false, false, false, 402), "html", null, true);
                yield "\"
             name=\"";
                // line 403
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                yield "\" value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue(($context["value"] ?? null)), "html", null, true);
                yield "\"
         ";
                // line 404
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 404)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("readonly") : (""));
                yield "
         ";
                // line 405
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 405)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
                yield "
         ";
                // line 406
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 406)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
                yield " />
      <script>
      \$(function() {
        \$(\"#%id%\").spectrum({
            showInput: true,
            preferredFormat: \"hex\",
            type: \"text\",
            cancelText: \"";
                // line 413
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Cancel"), "html", null, true);
                yield "\",
            chooseText: \"";
                // line 414
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Validate"), "html", null, true);
                yield "\",
            change: function(color) {
                if (color !== null && color.getAlpha() !== 1) {
                    let hex = color.toHexString();
                    hex += (\"0\" + Math.round(parseFloat(color.getAlpha()) * 255).toString(16)).slice(-2);
                    this.value = hex;
                }
            }
        });
      });
      </script>
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 426
            yield "   ";
            yield $this->getTemplateForMacro("macro_field", $context, 426, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 429
    public function macro_passwordField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 430
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["autocomplete" => "new-password", "is_disclosable" => false, "rand" => (((CoreExtension::getAttribute($this->env, $this->source,             // line 433
($context["options"] ?? null), "rand", [], "any", true, true, false, 433) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 433)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 433)) : (Twig\Extension\CoreExtension::random($this->env->getCharset())))],             // line 434
($context["options"] ?? null));
            // line 435
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["id" => ((CoreExtension::getAttribute($this->env, $this->source,             // line 436
($context["options"] ?? null), "id", [], "any", true, true, false, 436)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 436)) : ((($context["name"] ?? null) . Twig\Extension\CoreExtension::random($this->env->getCharset())))), "clearable" => ((CoreExtension::getAttribute($this->env, $this->source,             // line 437
($context["options"] ?? null), "clearable", [], "any", true, true, false, 437)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "clearable", [], "any", false, false, false, 437)) : ( !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "is_disclosable", [], "any", false, false, false, 437)))],             // line 438
($context["options"] ?? null));
            // line 439
            yield "
   ";
            // line 440
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 441
                yield "      <input type=\"password\" id=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 441), "html", null, true);
                yield "\"
             class=\"form-control ";
                // line 442
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_addclass", [], "any", false, false, false, 442), "html", null, true);
                yield "\"
             name=\"";
                // line 443
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                yield "\"
             value=\"";
                // line 444
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "is_disclosable", [], "any", false, false, false, 444)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true)) : (""));
                yield "\"
         ";
                // line 445
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 445)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("readonly") : (""));
                yield "
         ";
                // line 446
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 446)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
                yield "
         ";
                // line 447
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 447)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
                yield " />
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 449
            yield "   ";
            $context["btn_group"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 450
                yield "      &nbsp;<i class=\"far fa-eye pointer disclose\" onmousedown=\"showDisclosablePasswordField(\x27";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 450), "html", null, true);
                yield "\x27)\"
               onmouseup=\"hideDisclosablePasswordField(\x27";
                // line 451
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 451), "html", null, true);
                yield "\x27)\"
               onmouseout=\"hideDisclosablePasswordField(\x27";
                // line 452
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 452), "html", null, true);
                yield "\x27)\"></i>
      &nbsp;<i class=\"fa fa-paste pointer disclose\" onclick=\"copyDisclosablePasswordFieldToClipboard(\x27";
                // line 453
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 453), "html", null, true);
                yield "\x27)\"></i>
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 455
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "is_disclosable", [], "any", false, false, false, 455)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 456
                yield "      ";
                $context["label"] = (($context["label"] ?? null) . ($context["btn_group"] ?? null));
                // line 457
                yield "   ";
            }
            // line 458
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "clearable", [], "any", false, false, false, 458)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 459
                yield "      ";
                $context["clear_chk"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                    // line 460
                    yield "         <input type=\"checkbox\" name=\"_blank_";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                    yield "\" id=\"_blank_";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                    yield "\">&nbsp;<label for=\"_blank_";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                    yield "\">";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Clear"), "html", null, true);
                    yield "</label>
      ";
                    yield from [];
                })())) ? '' : new Markup($tmp, $this->env->getCharset());
                // line 462
                yield "      ";
                $context["field"] = (($context["field"] ?? null) . ($context["clear_chk"] ?? null));
                // line 463
                yield "   ";
            }
            // line 464
            yield "
   ";
            // line 465
            yield $this->getTemplateForMacro("macro_field", $context, 465, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 468
    public function macro_emailField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 469
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["type" => "email"], ($context["options"] ?? null));
            // line 470
            yield "   ";
            yield $this->getTemplateForMacro("macro_textField", $context, 470, $this->getSourceContext())->macro_textField(...[($context["name"] ?? null), ($context["value"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 473
    public function macro_fileField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 474
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "name" =>             // line 476
($context["name"] ?? null), "simple" => false],             // line 478
($context["options"] ?? null));
            // line 479
            yield "   ";
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 480
                yield "      ";
                if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "simple", [], "any", false, false, false, 480)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 481
                    yield "        <input type=\"file\" id=\"%id%\"
               class=\"form-control ";
                    // line 482
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_addclass", [], "any", false, false, false, 482), "html", null, true);
                    yield "\"
               name=\"";
                    // line 483
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                    yield "\"
               ";
                    // line 484
                    yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "multiple", [], "any", false, false, false, 484)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("multiple") : (""));
                    yield "
               ";
                    // line 485
                    yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 485)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("readonly") : (""));
                    yield "
               ";
                    // line 486
                    yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 486)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
                    yield "
               ";
                    // line 487
                    yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 487)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
                    yield " />
      ";
                } else {
                    // line 489
                    yield "        ";
                    $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Html::file", [($context["options"] ?? null)]);
                    // line 490
                    yield "      ";
                }
                // line 491
                yield "   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 492
            yield "   ";
            yield $this->getTemplateForMacro("macro_field", $context, 492, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 495
    public function macro_imageField($name = null, $value = null, $label = "", $options = [], $link_options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "link_options" => $link_options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 496
            yield "   ";
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 497
                yield "      <div class=\"img-overlay-wrapper position-relative\">
         ";
                // line 498
                $context["clearable"] = (($_v8 = ($context["options"] ?? null)) && is_array($_v8) || $_v8 instanceof ArrayAccess ? ($_v8["clearable"] ?? null) : null);
                // line 499
                yield "         ";
                $context["url"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "url", [], "array", true, true, false, 499) &&  !(null === (($_v9 = ($context["options"] ?? null)) && is_array($_v9) || $_v9 instanceof ArrayAccess ? ($_v9["url"] ?? null) : null)))) ? ((($_v10 = ($context["options"] ?? null)) && is_array($_v10) || $_v10 instanceof ArrayAccess ? ($_v10["url"] ?? null) : null)) : (null));
                // line 500
                yield "         ";
                $context["options"] = Twig\Extension\CoreExtension::filter($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->isSandboxed($this->source), ($context["options"] ?? null), function ($__v__, $__k__) use ($context, $macros) { $context["v"] = $__v__; $context["k"] = $__k__; return ((($context["k"] ?? null) != "url") && (($context["k"] ?? null) != "clearable")); });
                // line 501
                yield "         ";
                if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(($context["url"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 502
                    yield "            <a href=\"";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["url"] ?? null), "html", null, true);
                    yield "\" ";
                    yield $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Html::parseAttributes", [($context["link_options"] ?? null)]);
                    yield ">
         ";
                }
                // line 504
                yield "               <img src=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue(($context["value"] ?? null)), "html", null, true);
                yield "\" ";
                yield $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Html::parseAttributes", [($context["options"] ?? null)]);
                yield " />
         ";
                // line 505
                if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(($context["url"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 506
                    yield "            </a>
         ";
                }
                // line 508
                yield "         ";
                if ((($tmp = ($context["clearable"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 509
                    yield "            <input type=\"hidden\" name=\"_blank_";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                    yield "\" />
            <button type=\"button\" class=\"btn p-2 position-absolute top-0 start-0\" title=\"";
                    // line 510
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Delete"), "html", null, true);
                    yield "\"
                    onclick=\"const blank_input = \$(\x27input[name=\\\x27_blank_";
                    // line 511
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                    yield "\\\x27]\x27); blank_input.val(blank_input.val() ? \x27\x27 : true); \$(this).toggleClass(\x27btn-danger\x27)\">
               <i class=\"ti ti-x\"></i>
            </button>
         ";
                }
                // line 515
                yield "      </div>
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 517
            yield "   ";
            yield $this->getTemplateForMacro("macro_field", $context, 517, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 520
    public function macro_imageGalleryField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 521
            yield "   ";
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 522
                yield "      <div class=\"picture_gallery d-flex flex-wrap overflow-auto p-3\">
         ";
                // line 523
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable(($context["value"] ?? null));
                foreach ($context['_seq'] as $context["i"] => $context["picture"]) {
                    // line 524
                    yield "            <div style=\"position: relative; width: fit-content\">
               ";
                    // line 525
                    yield $this->getTemplateForMacro("macro_imageField", $context, 525, $this->getSourceContext())->macro_imageField(...[((($context["name"] ?? null) . "_") . $context["i"]), $context["picture"], "", ["style" => "max-width: 300px; max-height: 150px", "class" => "picture_square", "clearable" => (($_v11 =                     // line 528
($context["options"] ?? null)) && is_array($_v11) || $_v11 instanceof ArrayAccess ? ($_v11["clearable"] ?? null) : null), "no_label" => true]]);
                    // line 530
                    yield "
            </div>
         ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['i'], $context['picture'], $context['_parent']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 533
                yield "      </div>
      ";
                // line 534
                yield $this->getTemplateForMacro("macro_fileField", $context, 534, $this->getSourceContext())->macro_fileField(...[($context["name"] ?? null), null, "", ["onlyimages" => true, "multiple" => true]]);
                // line 537
                yield "
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 539
            yield "
   ";
            // line 540
            $context["id"] = (((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 540)) > 0)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 540)) : (((($context["name"] ?? null) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 540))));
            // line 541
            yield "   ";
            yield $this->getTemplateForMacro("macro_label", $context, 541, $this->getSourceContext())->macro_label(...[($context["label"] ?? null), ($context["id"] ?? null), ($context["options"] ?? null)]);
            yield "
   ";
            // line 542
            yield $this->getTemplateForMacro("macro_field", $context, 542, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["full_width" => true, "no_label" => true])]);
            // line 545
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 548
    public function macro_hiddenField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 549
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "no_label", [], "any", false, false, false, 549)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 550
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["mb" => "mb-0"],                 // line 552
($context["options"] ?? null));
                // line 553
                yield "   ";
            }
            // line 554
            yield "   ";
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 555
                yield "      <input type=\"hidden\" id=\"%id%\"
             class=\"form-control ";
                // line 556
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_addclass", [], "any", false, false, false, 556), "html", null, true);
                yield "\"
             name=\"";
                // line 557
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
                yield "\" value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue(($context["value"] ?? null)), "html", null, true);
                yield "\"
         ";
                // line 558
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "readonly", [], "any", false, false, false, 558)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("readonly") : (""));
                yield "
         ";
                // line 559
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 559)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
                yield "
         ";
                // line 560
                yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 560)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
                yield " />
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 562
            yield "   ";
            yield $this->getTemplateForMacro("macro_field", $context, 562, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 565
    public function macro_dropdownNumberField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 566
            yield "    ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "width" => "100%"],             // line 569
($context["options"] ?? null));
            // line 570
            yield "
   ";
            // line 571
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 571)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 572
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["specific_tags" => ["disabled" => "disabled"]]);
                // line 573
                yield "   ";
            }
            // line 574
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 574), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 574)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 575
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["specific_tags" => ["required" => true]], ($context["options"] ?? null));
                // line 576
                yield "   ";
            }
            // line 577
            yield "
   ";
            // line 578
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 579
                yield "      ";
                $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Dropdown::showNumber", [($context["name"] ?? null), Twig\Extension\CoreExtension::merge(["value" =>                 // line 580
($context["value"] ?? null), "rand" =>                 // line 581
($context["rand"] ?? null)],                 // line 582
($context["options"] ?? null))]);
                // line 583
                yield "   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 584
            yield "
   ";
            // line 585
            yield $this->getTemplateForMacro("macro_field", $context, 585, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["id" => ((("dropdown_" . ($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 585))])]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 588
    public function macro_dropdownArrayField($name = null, $value = null, $elements = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "elements" => $elements,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 589
            yield "    ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "width" => "100%"],             // line 592
($context["options"] ?? null));
            // line 593
            yield "
   ";
            // line 594
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 594)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 595
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["specific_tags" => ["disabled" => "disabled"]]);
                // line 596
                yield "   ";
            }
            // line 597
            yield "
   ";
            // line 598
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 598), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 598)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 599
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true], ($context["options"] ?? null));
                // line 600
                yield "   ";
            }
            // line 601
            yield "
   ";
            // line 602
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 603
                yield "      ";
                $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Dropdown::showFromArray", [($context["name"] ?? null), ($context["elements"] ?? null), Twig\Extension\CoreExtension::merge(["value" => $this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue(                // line 604
($context["value"] ?? null)), "rand" =>                 // line 605
($context["rand"] ?? null)],                 // line 606
($context["options"] ?? null))]);
                // line 607
                yield "   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 608
            yield "
   ";
            // line 609
            yield $this->getTemplateForMacro("macro_field", $context, 609, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["id" => ((("dropdown_" . ($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 609))])]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 612
    public function macro_dropdownTimestampField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 613
            yield "    ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "width" => "100%"],             // line 616
($context["options"] ?? null));
            // line 617
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 617), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 617)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 618
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true], ($context["options"] ?? null));
                // line 619
                yield "   ";
            }
            // line 620
            yield "
   ";
            // line 621
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 621)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 622
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["specific_tags" => ["disabled" => "disabled"]]);
                // line 623
                yield "   ";
            }
            // line 624
            yield "
   ";
            // line 625
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 626
                yield "      ";
                $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Dropdown::showTimestamp", [($context["name"] ?? null), Twig\Extension\CoreExtension::merge(["value" =>                 // line 627
($context["value"] ?? null), "rand" =>                 // line 628
($context["rand"] ?? null)],                 // line 629
($context["options"] ?? null))]);
                // line 630
                yield "   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 631
            yield "
   ";
            // line 632
            yield $this->getTemplateForMacro("macro_field", $context, 632, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["id" => ((("dropdown_" . ($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 632))])]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 635
    public function macro_dropdownYesNo($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 636
            yield "    ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "width" => "100%"],             // line 639
($context["options"] ?? null));
            // line 640
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 640), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 640)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 641
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true], ($context["options"] ?? null));
                // line 642
                yield "   ";
            }
            // line 643
            yield "
   ";
            // line 644
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 644)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 645
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["specific_tags" => ["disabled" => "disabled"]]);
                // line 646
                yield "   ";
            }
            // line 647
            yield "
   ";
            // line 648
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 649
                yield "      ";
                $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Dropdown::showYesNo", [($context["name"] ?? null), ($context["value"] ?? null),  -1, Twig\Extension\CoreExtension::merge(["rand" =>                 // line 650
($context["rand"] ?? null)],                 // line 651
($context["options"] ?? null))]);
                // line 652
                yield "   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 653
            yield "
   ";
            // line 654
            yield $this->getTemplateForMacro("macro_field", $context, 654, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["id" => ((("dropdown_" . ($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 654))])]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 657
    public function macro_dropdownItemTypes($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 658
            yield "    ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "width" => "100%"],             // line 661
($context["options"] ?? null));
            // line 662
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 662), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 662)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 663
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true], ($context["options"] ?? null));
                // line 664
                yield "   ";
            }
            // line 665
            yield "
   ";
            // line 666
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 666)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 667
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["specific_tags" => ["disabled" => "disabled"]]);
                // line 668
                yield "   ";
            }
            // line 669
            yield "
   ";
            // line 670
            $context["types"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "types", [], "array", true, true, false, 670)) ? (Twig\Extension\CoreExtension::default((($_v12 = ($context["options"] ?? null)) && is_array($_v12) || $_v12 instanceof ArrayAccess ? ($_v12["types"] ?? null) : null), [])) : ([]));
            // line 671
            yield "
   ";
            // line 672
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 673
                yield "      ";
                $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Dropdown::showItemTypes", [($context["name"] ?? null), ($context["types"] ?? null), Twig\Extension\CoreExtension::merge(["rand" =>                 // line 674
($context["rand"] ?? null), "value" =>                 // line 675
($context["value"] ?? null)],                 // line 676
($context["options"] ?? null))]);
                // line 677
                yield "   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 678
            yield "
   ";
            // line 679
            yield $this->getTemplateForMacro("macro_field", $context, 679, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["id" => ((("dropdown_" . ($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 679))])]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 682
    public function macro_dropdownItemsFromItemtypes($name = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 683
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset())],             // line 685
($context["options"] ?? null));
            // line 686
            yield "
   ";
            // line 687
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 688
                yield "      ";
                $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Dropdown::showSelectItemFromItemtypes", [($context["options"] ?? null)]);
                // line 689
                yield "   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 690
            yield "   ";
            yield $this->getTemplateForMacro("macro_field", $context, 690, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["id" => ((("dropdown_" . ($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 690))])]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 693
    public function macro_dropdownIcons($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 694
            yield "    ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "width" => "100%"],             // line 697
($context["options"] ?? null));
            // line 698
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 698), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 698)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 699
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true], ($context["options"] ?? null));
                // line 700
                yield "   ";
            }
            // line 701
            yield "
   ";
            // line 702
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 702)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 703
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["specific_tags" => ["disabled" => "disabled"]]);
                // line 704
                yield "   ";
            }
            // line 705
            yield "
   ";
            // line 706
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 707
                yield "      ";
                $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Dropdown::dropdownIcons", [($context["name"] ?? null), ($context["value"] ?? null), (Twig\Extension\CoreExtension::constant("GLPI_ROOT") . "/pics/icones"), Twig\Extension\CoreExtension::merge(["rand" =>                 // line 708
($context["rand"] ?? null)],                 // line 709
($context["options"] ?? null))]);
                // line 710
                yield "   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 711
            yield "
   ";
            // line 712
            yield $this->getTemplateForMacro("macro_field", $context, 712, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["id" => ((("dropdown_" . ($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 712))])]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 715
    public function macro_dropdownHoursField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 716
            yield "    ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "width" => "100%"],             // line 719
($context["options"] ?? null));
            // line 720
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 720), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 720)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 721
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["required" => true], ($context["options"] ?? null));
                // line 722
                yield "   ";
            }
            // line 723
            yield "
   ";
            // line 724
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 724)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 725
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["specific_tags" => ["disabled" => "disabled"]]);
                // line 726
                yield "   ";
            }
            // line 727
            yield "
   ";
            // line 728
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 729
                yield "      ";
                $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Dropdown::showHours", [($context["name"] ?? null), Twig\Extension\CoreExtension::merge(["rand" =>                 // line 730
($context["rand"] ?? null), "value" =>                 // line 731
($context["value"] ?? null)],                 // line 732
($context["options"] ?? null))]);
                // line 733
                yield "   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 734
            yield "
   ";
            // line 735
            yield $this->getTemplateForMacro("macro_field", $context, 735, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["id" => ((("dropdown_" . ($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 735))])]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 738
    public function macro_dropdownField($itemtype = null, $name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "itemtype" => $itemtype,
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 739
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "multiple", [], "any", false, false, false, 739)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 740
                yield "      ";
                // line 741
                yield "      ";
                $context["defined_input_name"] = (("_" . ($context["name"] ?? null)) . "_defined");
                // line 742
                yield "      <input type=\"hidden\" name=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["defined_input_name"] ?? null), "html", null, true);
                yield "\" value=\"1\"></input>

      ";
                // line 745
                yield "      ";
                $context["name"] = (($context["name"] ?? null) . "[]");
                // line 746
                yield "   ";
            }
            // line 747
            yield "    ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "width" => "100%"],             // line 750
($context["options"] ?? null));
            // line 751
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 751), "isMandatoryField", [($context["name"] ?? null)], "method", false, false, false, 751)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 752
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["specific_tags" => ["required" => true]], ($context["options"] ?? null));
                // line 753
                yield "   ";
            }
            // line 754
            yield "
   ";
            // line 755
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "disabled", [], "any", false, false, false, 755)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 756
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["specific_tags" => ["disabled" => "disabled"]]);
                // line 757
                yield "   ";
            }
            // line 758
            yield "
   ";
            // line 759
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 760
                yield "      ";
                yield $this->extensions['Glpi\Application\View\Extension\ItemtypeExtension']->getItemtypeDropdown(($context["itemtype"] ?? null), Twig\Extension\CoreExtension::merge(["name" =>                 // line 761
($context["name"] ?? null), "value" =>                 // line 762
($context["value"] ?? null), "rand" =>                 // line 763
($context["rand"] ?? null)],                 // line 764
($context["options"] ?? null)));
                yield "
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 766
            yield "
   ";
            // line 767
            if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(Twig\Extension\CoreExtension::trim(($context["field"] ?? null)))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 768
                yield "      ";
                yield $this->getTemplateForMacro("macro_field", $context, 768, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["id" => ((("dropdown_" . ($context["name"] ?? null)) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 768))])]);
                yield "
   ";
            }
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 772
    public function macro_htmlField($name = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 773
            yield "   ";
            if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["value"] ?? null)) == 0)) {
                // line 774
                yield "      ";
                $context["value"] = "&nbsp;";
                // line 775
                yield "   ";
            }
            // line 776
            yield "
   ";
            // line 777
            $context["value"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 778
                yield "      <span class=\"form-control-plaintext\">";
                yield ($context["value"] ?? null);
                yield "</span>
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 780
            yield "   ";
            yield $this->getTemplateForMacro("macro_field", $context, 780, $this->getSourceContext())->macro_field(...[($context["name"] ?? null), ($context["value"] ?? null), ($context["label"] ?? null), ($context["options"] ?? null)]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 783
    public function macro_field($name = null, $field = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "name" => $name,
            "field" => $field,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 784
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["rand" => Twig\Extension\CoreExtension::random($this->env->getCharset()), "is_horizontal" => true, "include_field" => true, "add_field_html" => "", "locked" => false, "locked_fields" => []],             // line 791
($context["options"] ?? null));
            // line 792
            yield "
   ";
            // line 793
            if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "locked_fields", [], "any", false, true, false, 793), ($context["name"] ?? null), [], "array", true, true, false, 793)) {
                // line 794
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["locked" => true, "locked_value" => (($_v13 = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "locked_fields", [], "any", false, false, false, 794)) && is_array($_v13) || $_v13 instanceof ArrayAccess ? ($_v13[($context["name"] ?? null)] ?? null) : null)]);
                // line 795
                yield "   ";
            } elseif (CoreExtension::inFilter(($context["name"] ?? null), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "locked_fields", [], "any", false, false, false, 795))) {
                // line 796
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["locked" => true]);
                // line 797
                yield "   ";
            }
            // line 798
            yield "
   ";
            // line 799
            if ((($tmp =  !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "include_field", [], "any", false, false, false, 799)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 800
                yield "      ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["field"] ?? null), "html", null, true);
                yield "
   ";
            } else {
                // line 802
                yield "      ";
                $context["id"] = (((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 802)) > 0)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 802)) : (((($context["name"] ?? null) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 802))));
                // line 803
                yield "      ";
                $context["field"] = Twig\Extension\CoreExtension::replace(($context["field"] ?? null), ["%id%" => ($context["id"] ?? null)]);
                // line 804
                yield "      ";
                $context["add_field_html"] = (((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "add_field_html", [], "any", false, false, false, 804)) > 0)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "add_field_html", [], "any", false, false, false, 804)) : (""));
                // line 805
                yield "
      ";
                // line 806
                if (( !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", true, true, false, 806) ||  !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 806), "isHiddenField", [($context["name"] ?? null)], "method", false, false, false, 806))) {
                    // line 807
                    yield "         ";
                    if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "no_label", [], "any", false, false, false, 807)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                        // line 808
                        yield "            ";
                        yield $this->getTemplateForMacro("macro_noLabelField", $context, 808, $this->getSourceContext())->macro_noLabelField(...[($context["field"] ?? null), ($context["id"] ?? null), ($context["add_field_html"] ?? null), ($context["options"] ?? null)]);
                        yield "
         ";
                    } elseif ((($tmp = CoreExtension::getAttribute($this->env, $this->source,                     // line 809
($context["options"] ?? null), "is_horizontal", [], "any", false, false, false, 809)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                        // line 810
                        yield "            ";
                        yield $this->getTemplateForMacro("macro_horizontalField", $context, 810, $this->getSourceContext())->macro_horizontalField(...[($context["label"] ?? null), ($context["field"] ?? null), ($context["id"] ?? null), ($context["add_field_html"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["name" => ($context["name"] ?? null)])]);
                        yield "
         ";
                    } else {
                        // line 812
                        yield "            ";
                        yield $this->getTemplateForMacro("macro_verticalField", $context, 812, $this->getSourceContext())->macro_verticalField(...[($context["label"] ?? null), ($context["field"] ?? null), ($context["id"] ?? null), ($context["add_field_html"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["name" => ($context["name"] ?? null)])]);
                        yield "
         ";
                    }
                    // line 814
                    yield "      ";
                }
                // line 815
                yield "   ";
            }
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 818
    public function macro_ajaxField($id = null, $value = null, $label = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "id" => $id,
            "value" => $value,
            "label" => $label,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 819
            yield "   ";
            $context["field"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 820
                yield "      <div id=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id"] ?? null), "html", null, true);
                yield "\" class=\"form-field-ajax\">
         ";
                // line 821
                if ((($tmp =  !(null === ($context["value"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 822
                    yield "            ";
                    yield ($context["value"] ?? null);
                    yield "
         ";
                }
                // line 824
                yield "      </div>
   ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 826
            yield "   ";
            yield $this->getTemplateForMacro("macro_field", $context, 826, $this->getSourceContext())->macro_field(...[($context["id"] ?? null), ($context["field"] ?? null), ($context["label"] ?? null), Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["id" => ((($context["id"] ?? null) . "_") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rand", [], "any", false, false, false, 826))])]);
            yield "
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 829
    public function macro_nullField($options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 830
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["is_horizontal" => true], ($context["options"] ?? null));
            // line 831
            yield "
   ";
            // line 832
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "is_horizontal", [], "any", false, false, false, 832)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 833
                yield "      ";
                yield $this->getTemplateForMacro("macro_horizontalField", $context, 833, $this->getSourceContext())->macro_horizontalField(...[($context["label"] ?? null), ($context["field"] ?? null), ($context["id"] ?? null), ($context["add_field_html"] ?? null), ($context["options"] ?? null)]);
                yield "
   ";
            } else {
                // line 835
                yield "      ";
                yield $this->getTemplateForMacro("macro_verticalField", $context, 835, $this->getSourceContext())->macro_verticalField(...[($context["label"] ?? null), ($context["field"] ?? null), ($context["id"] ?? null), ($context["add_field_html"] ?? null), ($context["options"] ?? null)]);
                yield "
   ";
            }
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 840
    public function macro_noLabelField($field = null, $id = "", $add_field_html = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "field" => $field,
            "id" => $id,
            "add_field_html" => $add_field_html,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 841
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["full_width" => false, "mb" => "mb-3"],             // line 844
($context["options"] ?? null));
            // line 845
            yield "
   ";
            // line 846
            $context["class"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "field_class", [], "any", true, true, false, 846) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "field_class", [], "any", false, false, false, 846)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "field_class", [], "any", false, false, false, 846)) : ("col-12 col-sm-6"));
            // line 847
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "full_width", [], "any", false, false, false, 847)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 848
                yield "      ";
                $context["class"] = "col-12";
                // line 849
                yield "   ";
            }
            // line 850
            yield "
   <div class=\"";
            // line 851
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["class"] ?? null), "html", null, true);
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "mb", [], "any", false, false, false, 851), "html", null, true);
            yield "\">
      ";
            // line 852
            yield ($context["field"] ?? null);
            yield "
      ";
            // line 853
            yield ($context["add_field_html"] ?? null);
            yield "
   </div>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 858
    public function macro_horizontalField($label = null, $field = null, $id = null, $add_field_html = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "label" => $label,
            "field" => $field,
            "id" => $id,
            "add_field_html" => $add_field_html,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 859
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["full_width" => false, "full_width_adapt_column" => true, "align_label_right" => true, "mb" => "mb-2", "field_class" => "col-12 col-sm-6", "add_field_class" => "", "add_field_attribs" => [], "center" => false],             // line 868
($context["options"] ?? null));
            // line 869
            yield "
   ";
            // line 870
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "icon_label", [], "any", false, false, false, 870)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 871
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(["label_class" => "col-2", "input_class" => "col-10"],                 // line 874
($context["options"] ?? null));
                // line 875
                yield "   ";
            }
            // line 876
            yield "
   ";
            // line 877
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "full_width", [], "any", false, false, false, 877)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 878
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["field_class" => "col-12"]);
                // line 881
                yield "
      ";
                // line 882
                if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "full_width_adapt_column", [], "any", false, false, false, 882)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 883
                    yield "         ";
                    $context["options"] = Twig\Extension\CoreExtension::merge(["label_class" => "col-xxl-4", "input_class" => "col-xxl-8"],                     // line 886
($context["options"] ?? null));
                    // line 887
                    yield "      ";
                }
                // line 888
                yield "   ";
            }
            // line 889
            yield "
   ";
            // line 890
            $context["options"] = Twig\Extension\CoreExtension::merge(["label_class" => "col-xxl-5", "input_class" => "col-xxl-7"],             // line 893
($context["options"] ?? null));
            // line 894
            yield "
   ";
            // line 895
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "align_label_right", [], "any", false, false, false, 895)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 896
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["label_class" => (CoreExtension::getAttribute($this->env, $this->source,                 // line 897
($context["options"] ?? null), "label_class", [], "any", false, false, false, 897) . " text-xxl-end")]);
                // line 899
                yield "   ";
            }
            // line 900
            yield "
   ";
            // line 901
            if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "add_field_attribs", [], "any", false, false, false, 901))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 902
                yield "      ";
                $context["extra_attribs"] = $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Html::parseAttributes", ["options" => CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "add_field_attribs", [], "any", false, false, false, 902)]);
                // line 903
                yield "   ";
            } else {
                // line 904
                yield "      ";
                $context["extra_attribs"] = "";
                // line 905
                yield "   ";
            }
            // line 906
            yield "
   <div class=\"form-field row ";
            // line 907
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "field_class", [], "any", false, false, false, 907), "html", null, true);
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "add_field_class", [], "any", false, false, false, 907), "html", null, true);
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "mb", [], "any", false, false, false, 907), "html", null, true);
            yield "\" ";
            yield ($context["extra_attribs"] ?? null);
            yield ">
      ";
            // line 908
            yield $this->getTemplateForMacro("macro_label", $context, 908, $this->getSourceContext())->macro_label(...[($context["label"] ?? null), ($context["id"] ?? null), ($context["options"] ?? null), ("col-form-label " . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "label_class", [], "any", false, false, false, 908))]);
            yield "
      ";
            // line 909
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "center", [], "any", false, false, false, 909)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 910
                yield "         ";
                $context["flex_class"] = "d-flex align-items-center";
                // line 911
                yield "      ";
            }
            // line 912
            yield "      <div class=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_class", [], "any", false, false, false, 912), "html", null, true);
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["flex_class"] ?? null), "html", null, true);
            yield " field-container\">
         ";
            // line 913
            yield ($context["field"] ?? null);
            yield "
         ";
            // line 914
            yield ($context["add_field_html"] ?? null);
            yield "
      </div>
   </div>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 920
    public function macro_verticalField($label = null, $field = null, $id = null, $add_field_html = "", $options = [], ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "label" => $label,
            "field" => $field,
            "id" => $id,
            "add_field_html" => $add_field_html,
            "options" => $options,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 921
            yield "   ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["full_width" => false, "mb" => "mb-2", "field_class" => "col-12 col-sm-6", "add_field_class" => "", "add_field_attribs" => []],             // line 927
($context["options"] ?? null));
            // line 928
            yield "
   ";
            // line 929
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "full_width", [], "any", false, false, false, 929)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 930
                yield "      ";
                $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["field_class" => "col-12"]);
                // line 933
                yield "   ";
            }
            // line 934
            yield "
   ";
            // line 935
            if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "add_field_attribs", [], "any", false, false, false, 935))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 936
                yield "      ";
                $context["extra_attribs"] = $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Html::parseAttributes", ["options" => CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "add_field_attribs", [], "any", false, false, false, 936)]);
                // line 937
                yield "   ";
            } else {
                // line 938
                yield "      ";
                $context["extra_attribs"] = "";
                // line 939
                yield "   ";
            }
            // line 940
            yield "
   <div class=\"form-field ";
            // line 941
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "field_class", [], "any", false, false, false, 941), "html", null, true);
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "add_field_class", [], "any", false, false, false, 941), "html", null, true);
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "mb", [], "any", false, false, false, 941), "html", null, true);
            yield "\" ";
            yield ($context["extra_attribs"] ?? null);
            yield ">
      ";
            // line 942
            yield $this->getTemplateForMacro("macro_label", $context, 942, $this->getSourceContext())->macro_label(...[($context["label"] ?? null), ($context["id"] ?? null), ($context["options"] ?? null), ("col-form-label " . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "label_class", [], "any", false, false, false, 942))]);
            yield "
      <div class=\"";
            // line 943
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "input_class", [], "any", false, false, false, 943), "html", null, true);
            yield " field-container\">
         ";
            // line 944
            yield ($context["field"] ?? null);
            yield "
      </div>
      ";
            // line 946
            yield ($context["add_field_html"] ?? null);
            yield "
   </div>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    // line 951
    public function macro_label($label = null, $id = null, $options = [], $class = "form-label", ...$varargs)/*: string|Markup*/
    {
        $macros = $this->macros;
        $context = [
            "label" => $label,
            "id" => $id,
            "options" => $options,
            "class" => $class,
            "varargs" => $varargs,
        ] + $this->env->getGlobals();

        $blocks = [];

        return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 952
            yield "    ";
            $context["options"] = Twig\Extension\CoreExtension::merge(["locked" => false, "locked_value" => null],             // line 955
($context["options"] ?? null));
            // line 956
            yield "
   ";
            // line 957
            $context["required_mark"] = "";
            // line 958
            yield "   ";
            if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "fields_template", [], "any", false, false, false, 958), "isMandatoryField", [CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "name", [], "any", false, false, false, 958)], "method", false, false, false, 958) || CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "required", [], "any", false, false, false, 958))) {
                // line 959
                yield "      ";
                $context["required_mark"] = "<span class=\"required\">*</span>";
                // line 960
                yield "   ";
            }
            // line 961
            yield "
   ";
            // line 962
            $context["helper"] = "";
            // line 963
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "helper", [], "any", false, false, false, 963)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 964
                yield "      ";
                $context["helper"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                    // line 965
                    yield "         <span class=\"form-help\" data-bs-toggle=\"popover\" data-bs-placement=\"top\" data-bs-html=\"true\"
               data-bs-content=\"";
                    // line 966
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "helper", [], "any", false, false, false, 966), "html", null, true);
                    yield "\">
            ?
         </span>
      ";
                    yield from [];
                })())) ? '' : new Markup($tmp, $this->env->getCharset());
                // line 970
                yield "   ";
            }
            // line 971
            yield "
   ";
            // line 972
            $context["locked_mark"] = "";
            // line 973
            yield "   ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "locked", [], "any", false, false, false, 973)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 974
                yield "      ";
                $context["locked_mark"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                    // line 975
                    yield "        ";
                    $context["locked_title"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Field will not be updated from inventory"), "html", null, true);
                        yield from [];
                    })())) ? '' : new Markup($tmp, $this->env->getCharset());
                    // line 976
                    yield "        ";
                    if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "locked_value", [], "any", false, false, false, 976))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                        // line 977
                        yield "            ";
                        $context["locked_title"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["locked_title"] ?? null), "html", null, true);
                            yield " - ";
                            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((__("Last inventory value was:") . " ") . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "locked_value", [], "any", false, false, false, 977)), "html", null, true);
                            yield from [];
                        })())) ? '' : new Markup($tmp, $this->env->getCharset());
                        // line 978
                        yield "        ";
                    }
                    // line 979
                    yield "        <i class=\"ti ti-lock\"
           title=\"";
                    // line 980
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["locked_title"] ?? null), "html", null, true);
                    yield "\"
           data-bs-toggle=\"tooltip\"></i>
      ";
                    yield from [];
                })())) ? '' : new Markup($tmp, $this->env->getCharset());
                // line 983
                yield "   ";
            }
            // line 984
            yield "
   <label class=\"";
            // line 985
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["class"] ?? null), "html", null, true);
            yield "\" for=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id"] ?? null), "html", null, true);
            yield "\">
      ";
            // line 986
            yield ($context["label"] ?? null);
            yield "
      ";
            // line 987
            yield ($context["locked_mark"] ?? null);
            yield "
      ";
            // line 988
            yield ($context["required_mark"] ?? null);
            yield "
      ";
            // line 989
            yield ($context["helper"] ?? null);
            yield "
   </label>
";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "components/form/fields_macros.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  2956 => 989,  2952 => 988,  2948 => 987,  2944 => 986,  2938 => 985,  2935 => 984,  2932 => 983,  2925 => 980,  2922 => 979,  2919 => 978,  2911 => 977,  2908 => 976,  2902 => 975,  2899 => 974,  2896 => 973,  2894 => 972,  2891 => 971,  2888 => 970,  2880 => 966,  2877 => 965,  2874 => 964,  2871 => 963,  2869 => 962,  2866 => 961,  2863 => 960,  2860 => 959,  2857 => 958,  2855 => 957,  2852 => 956,  2850 => 955,  2848 => 952,  2833 => 951,  2824 => 946,  2819 => 944,  2815 => 943,  2811 => 942,  2801 => 941,  2798 => 940,  2795 => 939,  2792 => 938,  2789 => 937,  2786 => 936,  2784 => 935,  2781 => 934,  2778 => 933,  2775 => 930,  2773 => 929,  2770 => 928,  2768 => 927,  2766 => 921,  2750 => 920,  2740 => 914,  2736 => 913,  2729 => 912,  2726 => 911,  2723 => 910,  2721 => 909,  2717 => 908,  2707 => 907,  2704 => 906,  2701 => 905,  2698 => 904,  2695 => 903,  2692 => 902,  2690 => 901,  2687 => 900,  2684 => 899,  2682 => 897,  2680 => 896,  2678 => 895,  2675 => 894,  2673 => 893,  2672 => 890,  2669 => 889,  2666 => 888,  2663 => 887,  2661 => 886,  2659 => 883,  2657 => 882,  2654 => 881,  2651 => 878,  2649 => 877,  2646 => 876,  2643 => 875,  2641 => 874,  2639 => 871,  2637 => 870,  2634 => 869,  2632 => 868,  2630 => 859,  2614 => 858,  2605 => 853,  2601 => 852,  2595 => 851,  2592 => 850,  2589 => 849,  2586 => 848,  2583 => 847,  2581 => 846,  2578 => 845,  2576 => 844,  2574 => 841,  2559 => 840,  2549 => 835,  2543 => 833,  2541 => 832,  2538 => 831,  2535 => 830,  2523 => 829,  2514 => 826,  2509 => 824,  2503 => 822,  2501 => 821,  2496 => 820,  2493 => 819,  2478 => 818,  2471 => 815,  2468 => 814,  2462 => 812,  2456 => 810,  2454 => 809,  2449 => 808,  2446 => 807,  2444 => 806,  2441 => 805,  2438 => 804,  2435 => 803,  2432 => 802,  2426 => 800,  2424 => 799,  2421 => 798,  2418 => 797,  2415 => 796,  2412 => 795,  2409 => 794,  2407 => 793,  2404 => 792,  2402 => 791,  2400 => 784,  2385 => 783,  2376 => 780,  2369 => 778,  2367 => 777,  2364 => 776,  2361 => 775,  2358 => 774,  2355 => 773,  2340 => 772,  2330 => 768,  2328 => 767,  2325 => 766,  2319 => 764,  2318 => 763,  2317 => 762,  2316 => 761,  2314 => 760,  2312 => 759,  2309 => 758,  2306 => 757,  2303 => 756,  2301 => 755,  2298 => 754,  2295 => 753,  2292 => 752,  2289 => 751,  2287 => 750,  2285 => 747,  2282 => 746,  2279 => 745,  2273 => 742,  2270 => 741,  2268 => 740,  2265 => 739,  2249 => 738,  2241 => 735,  2238 => 734,  2234 => 733,  2232 => 732,  2231 => 731,  2230 => 730,  2228 => 729,  2226 => 728,  2223 => 727,  2220 => 726,  2217 => 725,  2215 => 724,  2212 => 723,  2209 => 722,  2206 => 721,  2203 => 720,  2201 => 719,  2199 => 716,  2184 => 715,  2176 => 712,  2173 => 711,  2169 => 710,  2167 => 709,  2166 => 708,  2164 => 707,  2162 => 706,  2159 => 705,  2156 => 704,  2153 => 703,  2151 => 702,  2148 => 701,  2145 => 700,  2142 => 699,  2139 => 698,  2137 => 697,  2135 => 694,  2120 => 693,  2111 => 690,  2107 => 689,  2104 => 688,  2102 => 687,  2099 => 686,  2097 => 685,  2095 => 683,  2081 => 682,  2073 => 679,  2070 => 678,  2066 => 677,  2064 => 676,  2063 => 675,  2062 => 674,  2060 => 673,  2058 => 672,  2055 => 671,  2053 => 670,  2050 => 669,  2047 => 668,  2044 => 667,  2042 => 666,  2039 => 665,  2036 => 664,  2033 => 663,  2030 => 662,  2028 => 661,  2026 => 658,  2011 => 657,  2003 => 654,  2000 => 653,  1996 => 652,  1994 => 651,  1993 => 650,  1991 => 649,  1989 => 648,  1986 => 647,  1983 => 646,  1980 => 645,  1978 => 644,  1975 => 643,  1972 => 642,  1969 => 641,  1966 => 640,  1964 => 639,  1962 => 636,  1947 => 635,  1939 => 632,  1936 => 631,  1932 => 630,  1930 => 629,  1929 => 628,  1928 => 627,  1926 => 626,  1924 => 625,  1921 => 624,  1918 => 623,  1915 => 622,  1913 => 621,  1910 => 620,  1907 => 619,  1904 => 618,  1901 => 617,  1899 => 616,  1897 => 613,  1882 => 612,  1874 => 609,  1871 => 608,  1867 => 607,  1865 => 606,  1864 => 605,  1863 => 604,  1861 => 603,  1859 => 602,  1856 => 601,  1853 => 600,  1850 => 599,  1848 => 598,  1845 => 597,  1842 => 596,  1839 => 595,  1837 => 594,  1834 => 593,  1832 => 592,  1830 => 589,  1814 => 588,  1806 => 585,  1803 => 584,  1799 => 583,  1797 => 582,  1796 => 581,  1795 => 580,  1793 => 579,  1791 => 578,  1788 => 577,  1785 => 576,  1782 => 575,  1779 => 574,  1776 => 573,  1773 => 572,  1771 => 571,  1768 => 570,  1766 => 569,  1764 => 566,  1749 => 565,  1740 => 562,  1734 => 560,  1730 => 559,  1726 => 558,  1720 => 557,  1716 => 556,  1713 => 555,  1710 => 554,  1707 => 553,  1705 => 552,  1703 => 550,  1700 => 549,  1685 => 548,  1678 => 545,  1676 => 542,  1671 => 541,  1669 => 540,  1666 => 539,  1661 => 537,  1659 => 534,  1656 => 533,  1648 => 530,  1646 => 528,  1645 => 525,  1642 => 524,  1638 => 523,  1635 => 522,  1632 => 521,  1617 => 520,  1608 => 517,  1603 => 515,  1596 => 511,  1592 => 510,  1587 => 509,  1584 => 508,  1580 => 506,  1578 => 505,  1571 => 504,  1563 => 502,  1560 => 501,  1557 => 500,  1554 => 499,  1552 => 498,  1549 => 497,  1546 => 496,  1530 => 495,  1521 => 492,  1517 => 491,  1514 => 490,  1511 => 489,  1506 => 487,  1502 => 486,  1498 => 485,  1494 => 484,  1490 => 483,  1486 => 482,  1483 => 481,  1480 => 480,  1477 => 479,  1475 => 478,  1474 => 476,  1472 => 474,  1457 => 473,  1448 => 470,  1445 => 469,  1430 => 468,  1422 => 465,  1419 => 464,  1416 => 463,  1413 => 462,  1400 => 460,  1397 => 459,  1394 => 458,  1391 => 457,  1388 => 456,  1385 => 455,  1379 => 453,  1375 => 452,  1371 => 451,  1366 => 450,  1363 => 449,  1357 => 447,  1353 => 446,  1349 => 445,  1345 => 444,  1341 => 443,  1337 => 442,  1332 => 441,  1330 => 440,  1327 => 439,  1325 => 438,  1324 => 437,  1323 => 436,  1321 => 435,  1319 => 434,  1318 => 433,  1316 => 430,  1301 => 429,  1292 => 426,  1276 => 414,  1272 => 413,  1262 => 406,  1258 => 405,  1254 => 404,  1248 => 403,  1244 => 402,  1241 => 401,  1238 => 400,  1223 => 399,  1215 => 396,  1212 => 395,  1208 => 394,  1192 => 383,  1188 => 382,  1184 => 381,  1175 => 375,  1169 => 372,  1165 => 370,  1163 => 369,  1158 => 368,  1156 => 367,  1153 => 366,  1150 => 365,  1148 => 364,  1145 => 363,  1142 => 362,  1140 => 361,  1138 => 357,  1123 => 356,  1115 => 353,  1112 => 352,  1095 => 341,  1091 => 340,  1087 => 339,  1079 => 334,  1073 => 331,  1066 => 328,  1064 => 327,  1061 => 326,  1058 => 325,  1055 => 324,  1052 => 323,  1037 => 322,  1030 => 319,  1026 => 317,  1024 => 316,  1020 => 315,  1016 => 314,  1012 => 313,  1006 => 312,  999 => 311,  997 => 310,  993 => 308,  990 => 307,  987 => 306,  984 => 305,  981 => 304,  978 => 303,  975 => 302,  972 => 301,  969 => 300,  966 => 299,  963 => 298,  960 => 297,  958 => 296,  955 => 295,  952 => 294,  949 => 293,  947 => 292,  944 => 291,  941 => 290,  938 => 289,  936 => 288,  933 => 287,  931 => 286,  928 => 285,  926 => 284,  924 => 281,  909 => 280,  895 => 271,  891 => 270,  887 => 269,  881 => 265,  879 => 264,  875 => 263,  872 => 262,  869 => 261,  866 => 260,  863 => 259,  860 => 258,  857 => 257,  855 => 256,  852 => 255,  849 => 254,  845 => 253,  843 => 251,  842 => 250,  841 => 248,  840 => 247,  838 => 246,  835 => 245,  832 => 244,  828 => 243,  826 => 241,  825 => 240,  824 => 238,  822 => 237,  819 => 236,  816 => 235,  814 => 234,  811 => 233,  808 => 232,  806 => 230,  805 => 229,  804 => 227,  803 => 226,  801 => 225,  799 => 224,  796 => 223,  788 => 221,  784 => 220,  780 => 219,  770 => 217,  768 => 216,  766 => 215,  763 => 214,  760 => 213,  757 => 212,  754 => 211,  752 => 210,  749 => 209,  747 => 208,  745 => 200,  730 => 199,  721 => 195,  716 => 193,  710 => 191,  706 => 189,  704 => 188,  699 => 187,  696 => 186,  693 => 185,  678 => 184,  669 => 180,  658 => 178,  651 => 177,  645 => 176,  641 => 175,  637 => 174,  633 => 173,  627 => 172,  623 => 171,  620 => 170,  618 => 169,  615 => 168,  612 => 167,  609 => 166,  607 => 165,  604 => 164,  601 => 163,  598 => 162,  596 => 161,  593 => 160,  578 => 159,  570 => 155,  567 => 154,  562 => 152,  556 => 150,  554 => 149,  550 => 148,  546 => 147,  542 => 146,  538 => 145,  532 => 144,  526 => 143,  523 => 142,  521 => 141,  518 => 140,  516 => 139,  514 => 136,  511 => 135,  509 => 134,  507 => 132,  504 => 131,  489 => 130,  481 => 126,  478 => 125,  472 => 123,  468 => 122,  464 => 121,  460 => 120,  456 => 119,  451 => 118,  449 => 117,  446 => 116,  444 => 115,  443 => 113,  440 => 112,  437 => 111,  434 => 110,  431 => 109,  416 => 108,  408 => 104,  405 => 103,  398 => 101,  395 => 100,  391 => 99,  387 => 98,  383 => 97,  377 => 96,  373 => 95,  368 => 94,  366 => 93,  363 => 92,  360 => 91,  357 => 90,  354 => 89,  351 => 88,  336 => 87,  328 => 83,  325 => 82,  322 => 81,  319 => 80,  316 => 79,  313 => 78,  310 => 77,  307 => 76,  304 => 75,  301 => 74,  297 => 73,  294 => 72,  291 => 71,  275 => 70,  263 => 64,  257 => 61,  254 => 60,  252 => 59,  248 => 58,  243 => 56,  240 => 55,  237 => 54,  224 => 53,  212 => 47,  206 => 44,  203 => 43,  201 => 42,  197 => 41,  192 => 39,  189 => 38,  186 => 37,  183 => 36,  180 => 35,  177 => 34,  163 => 33,  156 => 949,  152 => 918,  148 => 856,  144 => 838,  141 => 828,  138 => 817,  135 => 782,  132 => 771,  129 => 737,  126 => 714,  123 => 692,  120 => 681,  117 => 656,  114 => 634,  111 => 611,  108 => 587,  105 => 564,  102 => 547,  99 => 519,  96 => 494,  93 => 472,  90 => 467,  87 => 428,  84 => 398,  81 => 355,  78 => 321,  75 => 279,  71 => 197,  67 => 182,  63 => 157,  59 => 128,  55 => 106,  51 => 85,  48 => 69,  45 => 52,  42 => 32,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "components/form/fields_macros.html.twig", "C:\\xampp\\htdocs\\itsm\\templates\\components\\form\\fields_macros.html.twig");
    }
}
