Deprecated: Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/translation/Resources/functions.php on line 18

Deprecated: Symfony\Component\Dotenv\Dotenv::loadEnv(): Implicitly marking parameter $envKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/dotenv/Dotenv.php on line 110

Deprecated: Symfony\Component\Runtime\GenericRuntime::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/GenericRuntime.php on line 89

Deprecated: Symfony\Component\Runtime\RuntimeInterface::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/RuntimeInterface.php on line 26

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/Input.php on line 36

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

var/cache/dev/twig/01/018ae8be4b590da53963e3aeafe0c9cf.php line 54

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @WebProfiler/Collector/form.html.twig */
  14. class __TwigTemplate_e13b210c28ca82b0b9d5dc6b3f109dee extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'toolbar' => [$this'block_toolbar'],
  24.             'menu' => [$this'block_menu'],
  25.             'head' => [$this'block_head'],
  26.             'panel' => [$this'block_panel'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@WebProfiler/Profiler/layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Collector/form.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Collector/form.html.twig"));
  41.         // line 3
  42.         $macros["__internal_parse_0"] = $this->macros["__internal_parse_0"] = $this;
  43.         // line 1
  44.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig""@WebProfiler/Collector/form.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 5
  52.     public function block_toolbar($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  59.         // line 6
  60.         echo "    ";
  61.         if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'6$this->source); })()), "data", [], "any"falsefalsefalse6), "nb_errors", [], "any"falsefalsefalse6) > 0) || twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'6$this->source); })()), "data", [], "any"falsefalsefalse6), "forms", [], "any"falsefalsefalse6)))) {
  62.             // line 7
  63.             echo "        ";
  64.             $context["status_color"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'7$this->source); })()), "data", [], "any"falsefalsefalse7), "nb_errors", [], "any"falsefalsefalse7)) ? ("red") : (""));
  65.             // line 8
  66.             echo "        ";
  67.             ob_start();
  68.             // line 9
  69.             echo "            ";
  70.             echo twig_include($this->env$context"@WebProfiler/Icon/form.svg");
  71.             echo "
  72.             <span class=\"sf-toolbar-value\">
  73.                 ";
  74.             // line 11
  75.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'11$this->source); })()), "data", [], "any"falsefalsefalse11), "nb_errors", [], "any"falsefalsefalse11)) ?: (twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'11$this->source); })()), "data", [], "any"falsefalsefalse11), "forms", [], "any"falsefalsefalse11)))), "html"nulltrue);
  76.             echo "
  77.             </span>
  78.         ";
  79.             $context["icon"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  80.             // line 14
  81.             echo "
  82.         ";
  83.             // line 15
  84.             ob_start();
  85.             // line 16
  86.             echo "            <div class=\"sf-toolbar-info-piece\">
  87.                 <b>Number of forms</b>
  88.                 <span class=\"sf-toolbar-status\">";
  89.             // line 18
  90.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'18$this->source); })()), "data", [], "any"falsefalsefalse18), "forms", [], "any"falsefalsefalse18)), "html"nulltrue);
  91.             echo "</span>
  92.             </div>
  93.             <div class=\"sf-toolbar-info-piece\">
  94.                 <b>Number of errors</b>
  95.                 <span class=\"sf-toolbar-status sf-toolbar-status-";
  96.             // line 22
  97.             echo (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'22$this->source); })()), "data", [], "any"falsefalsefalse22), "nb_errors", [], "any"falsefalsefalse22) > 0)) ? ("red") : (""));
  98.             echo "\">";
  99.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'22$this->source); })()), "data", [], "any"falsefalsefalse22), "nb_errors", [], "any"falsefalsefalse22), "html"nulltrue);
  100.             echo "</span>
  101.             </div>
  102.         ";
  103.             $context["text"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  104.             // line 25
  105.             echo "
  106.         ";
  107.             // line 26
  108.             echo twig_include($this->env$context"@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => (isset($context["profiler_url"]) || array_key_exists("profiler_url"$context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.'26$this->source); })()), "status" => (isset($context["status_color"]) || array_key_exists("status_color"$context) ? $context["status_color"] : (function () { throw new RuntimeError('Variable "status_color" does not exist.'26$this->source); })())]);
  109.             echo "
  110.     ";
  111.         }
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.     }
  117.     // line 30
  118.     public function block_menu($context, array $blocks = [])
  119.     {
  120.         $macros $this->macros;
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  125.         // line 31
  126.         echo "    <span class=\"label label-status-";
  127.         echo ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'31$this->source); })()), "data", [], "any"falsefalsefalse31), "nb_errors", [], "any"falsefalsefalse31)) ? ("error") : (""));
  128.         echo " ";
  129.         echo ((twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'31$this->source); })()), "data", [], "any"falsefalsefalse31), "forms", [], "any"falsefalsefalse31))) ? ("disabled") : (""));
  130.         echo "\">
  131.         <span class=\"icon\">";
  132.         // line 32
  133.         echo twig_include($this->env$context"@WebProfiler/Icon/form.svg");
  134.         echo "</span>
  135.         <strong>Forms</strong>
  136.         ";
  137.         // line 34
  138.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'34$this->source); })()), "data", [], "any"falsefalsefalse34), "nb_errors", [], "any"falsefalsefalse34) > 0)) {
  139.             // line 35
  140.             echo "            <span class=\"count\">
  141.                 <span>";
  142.             // line 36
  143.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'36$this->source); })()), "data", [], "any"falsefalsefalse36), "nb_errors", [], "any"falsefalsefalse36), "html"nulltrue);
  144.             echo "</span>
  145.             </span>
  146.         ";
  147.         }
  148.         // line 39
  149.         echo "    </span>
  150. ";
  151.         
  152.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  153.         
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  155.     }
  156.     // line 42
  157.     public function block_head($context, array $blocks = [])
  158.     {
  159.         $macros $this->macros;
  160.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  163.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  164.         // line 43
  165.         echo "    ";
  166.         $this->displayParentBlock("head"$context$blocks);
  167.         echo "
  168.     <style>
  169.         #tree-menu {
  170.             float: left;
  171.             padding-right: 10px;
  172.             width: 230px;
  173.         }
  174.         #tree-menu ul {
  175.             list-style: none;
  176.             margin: 0;
  177.             padding-left: 0;
  178.         }
  179.         #tree-menu li {
  180.             margin: 0;
  181.             padding: 0;
  182.             width: 100%;
  183.         }
  184.         #tree-menu .empty {
  185.             border: 0;
  186.             padding: 0;
  187.         }
  188.         #tree-details-container {
  189.             border-left: 1px solid #DDD;
  190.             margin-left: 250px;
  191.             padding-left: 20px;
  192.         }
  193.         .tree-details {
  194.             padding-bottom: 40px;
  195.         }
  196.         .tree-details h3 {
  197.             font-size: 18px;
  198.             position: relative;
  199.         }
  200.         .toggle-icon {
  201.             display: inline-block;
  202.             background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDgwx4LcKwAAAABVQTFRFAAAA////////////////ZmZm////bvjBwAAAAAV0Uk5TABZwsuCVEUjgAAAAAWJLR0QF+G/pxwAAAE1JREFUGNNjSHMSYGBgUEljSGYAAzMGBwiDhUEBwmBiEIAwGBmwgTQgQGWgA7h2uIFwK+CWwp1BpHvYEqDuATEYkBlY3IOmBq6dCPcAAIT5Eg2IksjQAAAAAElFTkSuQmCC\") no-repeat top left #5eb5e0;
  203.         }
  204.         .closed .toggle-icon, .closed.toggle-icon {
  205.             background-position: bottom left;
  206.         }
  207.         .toggle-icon.empty {
  208.             background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAZgBmAGYHukptAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDhIf6CA40AAAAFRJREFUOMvtk7ENACEMA61vfx767MROWfO+AdGBHlNyTZrYUZRYDBII4NWE1pNdpFarfgLUbpDaBEgBYRiEVjsvDLa1l6O4Z3wkFWN+OfLKdpisOH/TlICzukmUJwAAAABJRU5ErkJggg==\");
  209.         }
  210.         .tree .tree-inner {
  211.             cursor: pointer;
  212.             padding: 5px 7px 5px 22px;
  213.             position: relative;
  214.             overflow: hidden;
  215.             text-overflow: ellipsis;
  216.         }
  217.         .tree .toggle-button {
  218.             /* provide a bigger clickable area than just 10x10px */
  219.             width: 16px;
  220.             height: 16px;
  221.             margin-left: -18px;
  222.         }
  223.         .tree .toggle-icon {
  224.             width: 10px;
  225.             height: 10px;
  226.             /* position the icon in the center of the clickable area */
  227.             margin-left: 3px;
  228.             margin-top: 3px;
  229.             background-size: 10px 20px;
  230.             background-color: #AAA;
  231.         }
  232.         .tree .toggle-icon.empty {
  233.             width: 10px;
  234.             height: 10px;
  235.             position: absolute;
  236.             top: 50%;
  237.             margin-top: -5px;
  238.             margin-left: -15px;
  239.             background-size: 10px 10px;
  240.         }
  241.         .tree ul ul .tree-inner {
  242.             padding-left: 37px;
  243.         }
  244.         .tree ul ul ul .tree-inner {
  245.             padding-left: 52px;
  246.         }
  247.         .tree ul ul ul ul .tree-inner {
  248.             padding-left: 67px;
  249.         }
  250.         .tree ul ul ul ul ul .tree-inner {
  251.             padding-left: 82px;
  252.         }
  253.         .tree .tree-inner:hover {
  254.             background: #dfdfdf;
  255.         }
  256.         .tree .tree-inner:hover span:not(.has-error) {
  257.             color: var(--base-0);
  258.         }
  259.         .tree .tree-inner.active, .tree .tree-inner.active:hover {
  260.             background: var(--tree-active-background);
  261.             font-weight: bold;
  262.         }
  263.         .tree .tree-inner.active .toggle-icon, .tree .tree-inner:hover .toggle-icon, .tree .tree-inner.active:hover .toggle-icon {
  264.             background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDhEYXWn+sAAAABhQTFRFAAAA39/f39/f39/f39/fZmZm39/f////gc3YPwAAAAV0Uk5TAAtAc6ZeVyCYAAAAAWJLR0QF+G/pxwAAAE1JREFUGNNjSHMSYGBgUEljSGYAAzMGBwiDhUEBwmBiEIAwGBmwgXIgQGWgA7h2uIFwK+CWwp1BpHvYC6DuATEYkBlY3IOmBq6dCPcAADqLE4MnBi/fAAAAAElFTkSuQmCC\");
  265.             background-color: #999;
  266.         }
  267.         .tree .tree-inner.active .toggle-icon.empty, .tree .tree-inner:hover .toggle-icon.empty, .tree .tree-inner.active:hover .toggle-icon.empty {
  268.             background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDhoucSey4gAAABVQTFRFAAAA39/f39/f39/f39/fZmZm39/fD5Dx2AAAAAV0Uk5TAAtAc6ZeVyCYAAAAAWJLR0QF+G/pxwAAADJJREFUCNdjSHMSYGBgUEljSGYAAzMGBwiDhUEBwmBiEIAwGBnIA3DtcAPhVsAthTkDAFOfBKW9C1iqAAAAAElFTkSuQmCC\");
  269.         }
  270.         .tree-details .toggle-icon {
  271.             width: 16px;
  272.             height: 16px;
  273.             /* vertically center the button */
  274.             position: absolute;
  275.             top: 50%;
  276.             margin-top: -9px;
  277.             margin-left: 6px;
  278.         }
  279.         .badge-error {
  280.             float: right;
  281.             background: var(--background-error);
  282.             color: #FFF;
  283.             padding: 1px 4px;
  284.             font-size: 10px;
  285.             font-weight: bold;
  286.             vertical-align: middle;
  287.         }
  288.         .has-error {
  289.             color: var(--color-error);
  290.         }
  291.         .errors h3 {
  292.             color: var(--color-error);
  293.         }
  294.         .errors th {
  295.             background: var(--background-error);
  296.             color: #FFF;
  297.         }
  298.         .errors .toggle-icon {
  299.             background-color: var(--background-error);
  300.         }
  301.         h3 a, h3 a:hover, h3 a:focus {
  302.             color: inherit;
  303.             text-decoration: inherit;
  304.         }
  305.         h2 + h3.form-data-type {
  306.             margin-top: 0;
  307.         }
  308.         h3.form-data-type + h3 {
  309.             margin-top: 1em;
  310.         }
  311.         .theme-dark .toggle-icon {
  312.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAVUExURUdwTH+Ag0lNUZiYmGRmbP///zU5P2n9VV4AAAAFdFJOUwCv+yror0g1sQAAAE1JREFUGNNjSFM0YGBgEEpjSGEAAzcGBQiDiUEAwmBkMIAwmBmwgVAgQGWgA7h2uIFwK+CWwp1BpHtYA6DuATEYkBlY3IOmBq6dCPcAAKMtEEs3tfChAAAAAElFTkSuQmCC');
  313.         }
  314.         .theme-dark .toggle-icon.empty {
  315.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAASUExURUdwTDI3OzQ5PS4uLjU3PzU5P4keoyIAAAAFdFJOUwBApgtzrnKGEwAAADJJREFUCNdjCFU0YGBgEAplCGEAA1cGBQiDiUEAwmBkMIAwmBnIA3DtcAPhVsAthTkDACsZBBmrTTSxAAAAAElFTkSuQmCC');
  316.         }
  317.         .theme-dark .tree .tree-inner.active .toggle-icon, .theme-dark .tree .tree-inner:hover .toggle-icon, .theme-dark  .tree .tree-inner.active:hover .toggle-icon {
  318.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAAD1BMVEVHcEx/gIOYmJiZmZn///+IJ2wIAAAAA3RSTlMAryoIUq0uAAAAUElEQVQY02NgYFQ2NjYWYGBgMAYDBgZmCMOAQRjCMGRQhjCMoEqAipAYLkCAykBXA9cONxBuBdxShDOIc4+JM9Q9IIYxMgOLe9DUwLUT4R4AznguG0qfEa0AAAAASUVORK5CYII=');
  319.             background-color: transparent;
  320.         }
  321.         .theme-dark .tree .tree-inner.active .toggle-icon.empty, .theme-dark .tree .tree-inner:hover .toggle-icon.empty, .theme-dark  .tree .tree-inner.active:hover .toggle-icon.empty {
  322.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEVHcEwyNzuqqqrd9nIgAAAAAnRSTlMAQABPjKgAAAArSURBVAjXY2BctcqBgWvVqgUMWqtWrWDIWrVqJcMqICCGACsGawMbADIKANflJYEoGMqtAAAAAElFTkSuQmCC');
  323.             background-color: transparent;
  324.         }
  325.     </style>
  326. ";
  327.         
  328.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  329.         
  330.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  331.     }
  332.     // line 207
  333.     public function block_panel($context, array $blocks = [])
  334.     {
  335.         $macros $this->macros;
  336.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  337.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  338.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  339.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  340.         // line 208
  341.         echo "    <h2>Forms</h2>
  342.     ";
  343.         // line 210
  344.         if (twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'210$this->source); })()), "data", [], "any"falsefalsefalse210), "forms", [], "any"falsefalsefalse210))) {
  345.             // line 211
  346.             echo "        <div id=\"tree-menu\" class=\"tree\">
  347.             <ul>
  348.             ";
  349.             // line 213
  350.             $context['_parent'] = $context;
  351.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'213$this->source); })()), "data", [], "any"falsefalsefalse213), "forms", [], "any"falsefalsefalse213));
  352.             foreach ($context['_seq'] as $context["formName"] => $context["formData"]) {
  353.                 // line 214
  354.                 echo "                ";
  355.                 echo twig_call_macro($macros["__internal_parse_0"], "macro_form_tree_entry", [$context["formName"], $context["formData"], true], 214$context$this->getSourceContext());
  356.                 echo "
  357.             ";
  358.             }
  359.             $_parent $context['_parent'];
  360.             unset($context['_seq'], $context['_iterated'], $context['formName'], $context['formData'], $context['_parent'], $context['loop']);
  361.             $context array_intersect_key($context$_parent) + $_parent;
  362.             // line 216
  363.             echo "            </ul>
  364.         </div>
  365.         <div id=\"tree-details-container\">
  366.             ";
  367.             // line 220
  368.             $context['_parent'] = $context;
  369.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'220$this->source); })()), "data", [], "any"falsefalsefalse220), "forms", [], "any"falsefalsefalse220));
  370.             $context['loop'] = [
  371.               'parent' => $context['_parent'],
  372.               'index0' => 0,
  373.               'index'  => 1,
  374.               'first'  => true,
  375.             ];
  376.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  377.                 $length count($context['_seq']);
  378.                 $context['loop']['revindex0'] = $length 1;
  379.                 $context['loop']['revindex'] = $length;
  380.                 $context['loop']['length'] = $length;
  381.                 $context['loop']['last'] = === $length;
  382.             }
  383.             foreach ($context['_seq'] as $context["formName"] => $context["formData"]) {
  384.                 // line 221
  385.                 echo "                ";
  386.                 echo twig_call_macro($macros["__internal_parse_0"], "macro_form_tree_details", [$context["formName"], $context["formData"], twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'221$this->source); })()), "data", [], "any"falsefalsefalse221), "forms_by_hash", [], "any"falsefalsefalse221), twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse221)], 221$context$this->getSourceContext());
  387.                 echo "
  388.             ";
  389.                 ++$context['loop']['index0'];
  390.                 ++$context['loop']['index'];
  391.                 $context['loop']['first'] = false;
  392.                 if (isset($context['loop']['length'])) {
  393.                     --$context['loop']['revindex0'];
  394.                     --$context['loop']['revindex'];
  395.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  396.                 }
  397.             }
  398.             $_parent $context['_parent'];
  399.             unset($context['_seq'], $context['_iterated'], $context['formName'], $context['formData'], $context['_parent'], $context['loop']);
  400.             $context array_intersect_key($context$_parent) + $_parent;
  401.             // line 223
  402.             echo "        </div>
  403.     ";
  404.         } else {
  405.             // line 225
  406.             echo "        <div class=\"empty\">
  407.             <p>No forms were submitted for this request.</p>
  408.         </div>
  409.     ";
  410.         }
  411.         // line 229
  412.         echo "
  413.     <script>
  414.     function Toggler(storage) {
  415.         \"use strict\";
  416.         var STORAGE_KEY = 'sf_toggle_data',
  417.             states = {},
  418.             isCollapsed = function (button) {
  419.                 return Sfjs.hasClass(button, 'closed');
  420.             },
  421.             isExpanded = function (button) {
  422.                 return !isCollapsed(button);
  423.             },
  424.             expand = function (button) {
  425.                 var targetId = button.dataset.toggleTargetId,
  426.                     target = document.getElementById(targetId);
  427.                 if (!target) {
  428.                     throw \"Toggle target \" + targetId + \" does not exist\";
  429.                 }
  430.                 if (isCollapsed(button)) {
  431.                     Sfjs.removeClass(button, 'closed');
  432.                     Sfjs.removeClass(target, 'hidden');
  433.                     states[targetId] = 1;
  434.                     storage.setItem(STORAGE_KEY, states);
  435.                 }
  436.             },
  437.             collapse = function (button) {
  438.                 var targetId = button.dataset.toggleTargetId,
  439.                     target = document.getElementById(targetId);
  440.                 if (!target) {
  441.                     throw \"Toggle target \" + targetId + \" does not exist\";
  442.                 }
  443.                 if (isExpanded(button)) {
  444.                     Sfjs.addClass(button, 'closed');
  445.                     Sfjs.addClass(target, 'hidden');
  446.                     states[targetId] = 0;
  447.                     storage.setItem(STORAGE_KEY, states);
  448.                 }
  449.             },
  450.             toggle = function (button) {
  451.                 if (Sfjs.hasClass(button, 'closed')) {
  452.                     expand(button);
  453.                 } else {
  454.                     collapse(button);
  455.                 }
  456.             },
  457.             initButtons = function (buttons) {
  458.                 states = storage.getItem(STORAGE_KEY, {});
  459.                 // must be an object, not an array or anything else
  460.                 // `typeof` returns \"object\" also for arrays, so the following
  461.                 // check must be done
  462.                 // see http://stackoverflow.com/questions/4775722/check-if-object-is-array
  463.                 if ('[object Object]' !== Object.prototype.toString.call(states)) {
  464.                     states = {};
  465.                 }
  466.                 for (var i = 0, l = buttons.length; i < l; ++i) {
  467.                     var targetId = buttons[i].dataset.toggleTargetId,
  468.                         target = document.getElementById(targetId);
  469.                     if (!target) {
  470.                         throw \"Toggle target \" + targetId + \" does not exist\";
  471.                     }
  472.                     // correct the initial state of the button
  473.                     if (Sfjs.hasClass(target, 'hidden')) {
  474.                         Sfjs.addClass(buttons[i], 'closed');
  475.                     }
  476.                     // attach listener for expanding/collapsing the target
  477.                     clickHandler(buttons[i], toggle);
  478.                     if (states.hasOwnProperty(targetId)) {
  479.                         // open or collapse based on stored data
  480.                         if (0 === states[targetId]) {
  481.                             collapse(buttons[i]);
  482.                         } else {
  483.                             expand(buttons[i]);
  484.                         }
  485.                     }
  486.                 }
  487.             };
  488.         return {
  489.             initButtons: initButtons,
  490.             toggle: toggle,
  491.             isExpanded: isExpanded,
  492.             isCollapsed: isCollapsed,
  493.             expand: expand,
  494.             collapse: collapse
  495.         };
  496.     }
  497.     function JsonStorage(storage) {
  498.         var setItem = function (key, data) {
  499.                 storage.setItem(key, JSON.stringify(data));
  500.             },
  501.             getItem = function (key, defaultValue) {
  502.                 var data = storage.getItem(key);
  503.                 if (null !== data) {
  504.                     try {
  505.                         return JSON.parse(data);
  506.                     } catch(e) {
  507.                     }
  508.                 }
  509.                 return defaultValue;
  510.             };
  511.         return {
  512.             setItem: setItem,
  513.             getItem: getItem
  514.         };
  515.     }
  516.     function TabView() {
  517.         \"use strict\";
  518.         var activeTab = null,
  519.             activeTarget = null,
  520.             select = function (tab) {
  521.                 var targetId = tab.dataset.tabTargetId,
  522.                     target = document.getElementById(targetId);
  523.                 if (!target) {
  524.                     throw \"Tab target \" + targetId + \" does not exist\";
  525.                 }
  526.                 if (activeTab) {
  527.                     Sfjs.removeClass(activeTab, 'active');
  528.                 }
  529.                 if (activeTarget) {
  530.                     Sfjs.addClass(activeTarget, 'hidden');
  531.                 }
  532.                 Sfjs.addClass(tab, 'active');
  533.                 Sfjs.removeClass(target, 'hidden');
  534.                 activeTab = tab;
  535.                 activeTarget = target;
  536.             },
  537.             initTabs = function (tabs) {
  538.                 for (var i = 0, l = tabs.length; i < l; ++i) {
  539.                     var targetId = tabs[i].dataset.tabTargetId,
  540.                         target = document.getElementById(targetId);
  541.                     if (!target) {
  542.                         throw \"Tab target \" + targetId + \" does not exist\";
  543.                     }
  544.                     clickHandler(tabs[i], select);
  545.                     Sfjs.addClass(target, 'hidden');
  546.                 }
  547.                 if (tabs.length > 0) {
  548.                     select(tabs[0]);
  549.                 }
  550.             };
  551.         return {
  552.             initTabs: initTabs,
  553.             select: select
  554.         };
  555.     }
  556.     var tabTarget = new TabView(),
  557.         toggler = new Toggler(new JsonStorage(sessionStorage)),
  558.         clickHandler = function (element, callback) {
  559.             Sfjs.addEventListener(element, 'click', function (e) {
  560.                 if (!e) {
  561.                     e = window.event;
  562.                 }
  563.                 callback(this);
  564.                 if (e.preventDefault) {
  565.                     e.preventDefault();
  566.                 } else {
  567.                     e.returnValue = false;
  568.                 }
  569.                 e.stopPropagation();
  570.                 return false;
  571.             });
  572.         };
  573.     tabTarget.initTabs(document.querySelectorAll('.tree .tree-inner'));
  574.     toggler.initButtons(document.querySelectorAll('a.toggle-button'));
  575.     </script>
  576. ";
  577.         
  578.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  579.         
  580.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  581.     }
  582.     // line 449
  583.     public function macro_form_tree_entry($__name__ null$__data__ null$__is_root__ null, ...$__varargs__)
  584.     {
  585.         $macros $this->macros;
  586.         $context $this->env->mergeGlobals([
  587.             "name" => $__name__,
  588.             "data" => $__data__,
  589.             "is_root" => $__is_root__,
  590.             "varargs" => $__varargs__,
  591.         ]);
  592.         $blocks = [];
  593.         ob_start();
  594.         try {
  595.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  596.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""form_tree_entry"));
  597.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  598.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""form_tree_entry"));
  599.             // line 450
  600.             echo "    ";
  601.             $macros["tree"] = $this;
  602.             // line 451
  603.             echo "    ";
  604.             $context["has_error"] = (twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "errors", [], "any"truetruefalse451) && (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'451$this->source); })()), "errors", [], "any"falsefalsefalse451)) > 0));
  605.             // line 452
  606.             echo "    <li>
  607.         <div class=\"tree-inner\" data-tab-target-id=\"";
  608.             // line 453
  609.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'453$this->source); })()), "id", [], "any"falsefalsefalse453), "html"nulltrue);
  610.             echo "-details\" title=\"";
  611.             echo twig_escape_filter($this->env, ((array_key_exists("name"$context)) ? (_twig_default_filter((isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'453$this->source); })()), "(no name)")) : ("(no name)")), "html"nulltrue);
  612.             echo "\">
  613.             ";
  614.             // line 454
  615.             if ((isset($context["has_error"]) || array_key_exists("has_error"$context) ? $context["has_error"] : (function () { throw new RuntimeError('Variable "has_error" does not exist.'454$this->source); })())) {
  616.                 // line 455
  617.                 echo "                <div class=\"badge-error\">";
  618.                 echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'455$this->source); })()), "errors", [], "any"falsefalsefalse455)), "html"nulltrue);
  619.                 echo "</div>
  620.             ";
  621.             }
  622.             // line 457
  623.             echo "
  624.             ";
  625.             // line 458
  626.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'458$this->source); })()), "children", [], "any"falsefalsefalse458))) {
  627.                 // line 459
  628.                 echo "                <a class=\"toggle-button\" data-toggle-target-id=\"";
  629.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'459$this->source); })()), "id", [], "any"falsefalsefalse459), "html"nulltrue);
  630.                 echo "-children\" href=\"#\"><span class=\"toggle-icon\"></span></a>
  631.             ";
  632.             } else {
  633.                 // line 461
  634.                 echo "                <div class=\"toggle-icon empty\"></div>
  635.             ";
  636.             }
  637.             // line 463
  638.             echo "
  639.             <span ";
  640.             // line 464
  641.             if (((isset($context["has_error"]) || array_key_exists("has_error"$context) ? $context["has_error"] : (function () { throw new RuntimeError('Variable "has_error" does not exist.'464$this->source); })()) || ((twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "has_children_error", [], "any"truetruefalse464)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "has_children_error", [], "any"falsefalsefalse464), false)) : (false)))) {
  642.                 echo "class=\"has-error\"";
  643.             }
  644.             echo ">
  645.                 ";
  646.             // line 465
  647.             echo twig_escape_filter($this->env, ((array_key_exists("name"$context)) ? (_twig_default_filter((isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'465$this->source); })()), "(no name)")) : ("(no name)")), "html"nulltrue);
  648.             echo "
  649.             </span>
  650.         </div>
  651.         ";
  652.             // line 469
  653.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'469$this->source); })()), "children", [], "any"falsefalsefalse469))) {
  654.                 // line 470
  655.                 echo "            <ul id=\"";
  656.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'470$this->source); })()), "id", [], "any"falsefalsefalse470), "html"nulltrue);
  657.                 echo "-children\" ";
  658.                 if (( !(isset($context["is_root"]) || array_key_exists("is_root"$context) ? $context["is_root"] : (function () { throw new RuntimeError('Variable "is_root" does not exist.'470$this->source); })()) &&  !((twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "has_children_error", [], "any"truetruefalse470)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "has_children_error", [], "any"falsefalsefalse470), false)) : (false)))) {
  659.                     echo "class=\"hidden\"";
  660.                 }
  661.                 echo ">
  662.                 ";
  663.                 // line 471
  664.                 $context['_parent'] = $context;
  665.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'471$this->source); })()), "children", [], "any"falsefalsefalse471));
  666.                 foreach ($context['_seq'] as $context["childName"] => $context["childData"]) {
  667.                     // line 472
  668.                     echo "                    ";
  669.                     echo twig_call_macro($macros["tree"], "macro_form_tree_entry", [$context["childName"], $context["childData"], false], 472$context$this->getSourceContext());
  670.                     echo "
  671.                 ";
  672.                 }
  673.                 $_parent $context['_parent'];
  674.                 unset($context['_seq'], $context['_iterated'], $context['childName'], $context['childData'], $context['_parent'], $context['loop']);
  675.                 $context array_intersect_key($context$_parent) + $_parent;
  676.                 // line 474
  677.                 echo "            </ul>
  678.         ";
  679.             }
  680.             // line 476
  681.             echo "    </li>
  682. ";
  683.             
  684.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  685.             
  686.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  687.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  688.         } finally {
  689.             ob_end_clean();
  690.         }
  691.     }
  692.     // line 479
  693.     public function macro_form_tree_details($__name__ null$__data__ null$__forms_by_hash__ null$__show__ null, ...$__varargs__)
  694.     {
  695.         $macros $this->macros;
  696.         $context $this->env->mergeGlobals([
  697.             "name" => $__name__,
  698.             "data" => $__data__,
  699.             "forms_by_hash" => $__forms_by_hash__,
  700.             "show" => $__show__,
  701.             "varargs" => $__varargs__,
  702.         ]);
  703.         $blocks = [];
  704.         ob_start();
  705.         try {
  706.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  707.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""form_tree_details"));
  708.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  709.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""form_tree_details"));
  710.             // line 480
  711.             echo "    ";
  712.             $macros["tree"] = $this;
  713.             // line 481
  714.             echo "    <div class=\"tree-details";
  715.             if ( !((array_key_exists("show"$context)) ? (_twig_default_filter((isset($context["show"]) || array_key_exists("show"$context) ? $context["show"] : (function () { throw new RuntimeError('Variable "show" does not exist.'481$this->source); })()), false)) : (false))) {
  716.                 echo " hidden";
  717.             }
  718.             echo "\" ";
  719.             if (twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "id", [], "any"truetruefalse481)) {
  720.                 echo "id=\"";
  721.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'481$this->source); })()), "id", [], "any"falsefalsefalse481), "html"nulltrue);
  722.                 echo "-details\"";
  723.             }
  724.             echo ">
  725.         <h2>";
  726.             // line 482
  727.             echo twig_escape_filter($this->env, ((array_key_exists("name"$context)) ? (_twig_default_filter((isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'482$this->source); })()), "(no name)")) : ("(no name)")), "html"nulltrue);
  728.             echo "</h2>
  729.         ";
  730.             // line 483
  731.             if (twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "type_class", [], "any"truetruefalse483)) {
  732.                 // line 484
  733.                 echo "            <h3 class=\"dump-inline form-data-type\">";
  734.                 echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'484$this->source); })()), "type_class", [], "any"falsefalsefalse484));
  735.                 echo "</h3>
  736.         ";
  737.             }
  738.             // line 486
  739.             echo "
  740.         ";
  741.             // line 487
  742.             if ((twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "errors", [], "any"truetruefalse487) && (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'487$this->source); })()), "errors", [], "any"falsefalsefalse487)) > 0))) {
  743.                 // line 488
  744.                 echo "        <div class=\"errors\">
  745.             <h3>
  746.                 <a class=\"toggle-button\" data-toggle-target-id=\"";
  747.                 // line 490
  748.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'490$this->source); })()), "id", [], "any"falsefalsefalse490), "html"nulltrue);
  749.                 echo "-errors\" href=\"#\">
  750.                     Errors <span class=\"toggle-icon\"></span>
  751.                 </a>
  752.             </h3>
  753.             <table id=\"";
  754.                 // line 495
  755.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'495$this->source); })()), "id", [], "any"falsefalsefalse495), "html"nulltrue);
  756.                 echo "-errors\">
  757.                 <thead>
  758.                     <tr>
  759.                         <th>Message</th>
  760.                         <th>Origin</th>
  761.                         <th>Cause</th>
  762.                     </tr>
  763.                 </thead>
  764.                 <tbody>
  765.                 ";
  766.                 // line 504
  767.                 $context['_parent'] = $context;
  768.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'504$this->source); })()), "errors", [], "any"falsefalsefalse504));
  769.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  770.                     // line 505
  771.                     echo "                <tr>
  772.                     <td>";
  773.                     // line 506
  774.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["error"], "message", [], "any"falsefalsefalse506), "html"nulltrue);
  775.                     echo "</td>
  776.                     <td>
  777.                         ";
  778.                     // line 508
  779.                     if (twig_test_empty(twig_get_attribute($this->env$this->source$context["error"], "origin", [], "any"falsefalsefalse508))) {
  780.                         // line 509
  781.                         echo "                            <em>This form.</em>
  782.                         ";
  783.                     } elseif ( !twig_get_attribute($this->env$this->source,                     // line 510
  784. ($context["forms_by_hash"] ?? null), twig_get_attribute($this->env$this->source$context["error"], "origin", [], "any"falsefalsefalse510), [], "array"truetruefalse510)) {
  785.                         // line 511
  786.                         echo "                            <em>Unknown.</em>
  787.                         ";
  788.                     } else {
  789.                         // line 513
  790.                         echo "                            ";
  791.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["forms_by_hash"]) || array_key_exists("forms_by_hash"$context) ? $context["forms_by_hash"] : (function () { throw new RuntimeError('Variable "forms_by_hash" does not exist.'513$this->source); })()), twig_get_attribute($this->env$this->source$context["error"], "origin", [], "any"falsefalsefalse513), [], "array"falsefalsefalse513), "name", [], "any"falsefalsefalse513), "html"nulltrue);
  792.                         echo "
  793.                         ";
  794.                     }
  795.                     // line 515
  796.                     echo "                    </td>
  797.                     <td>
  798.                         ";
  799.                     // line 517
  800.                     if (twig_get_attribute($this->env$this->source$context["error"], "trace", [], "any"falsefalsefalse517)) {
  801.                         // line 518
  802.                         echo "                            <span class=\"newline\">Caused by:</span>
  803.                             ";
  804.                         // line 519
  805.                         $context['_parent'] = $context;
  806.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["error"], "trace", [], "any"falsefalsefalse519));
  807.                         foreach ($context['_seq'] as $context["_key"] => $context["stacked"]) {
  808.                             // line 520
  809.                             echo "                                ";
  810.                             echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env$context["stacked"]);
  811.                             echo "
  812.                             ";
  813.                         }
  814.                         $_parent $context['_parent'];
  815.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stacked'], $context['_parent'], $context['loop']);
  816.                         $context array_intersect_key($context$_parent) + $_parent;
  817.                         // line 522
  818.                         echo "                        ";
  819.                     } else {
  820.                         // line 523
  821.                         echo "                            <em>Unknown.</em>
  822.                         ";
  823.                     }
  824.                     // line 525
  825.                     echo "                    </td>
  826.                 </tr>
  827.                 ";
  828.                 }
  829.                 $_parent $context['_parent'];
  830.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  831.                 $context array_intersect_key($context$_parent) + $_parent;
  832.                 // line 528
  833.                 echo "                </tbody>
  834.             </table>
  835.         </div>
  836.         ";
  837.             }
  838.             // line 532
  839.             echo "
  840.         ";
  841.             // line 533
  842.             if (twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "default_data", [], "any"truetruefalse533)) {
  843.                 // line 534
  844.                 echo "        <h3>
  845.             <a class=\"toggle-button\" data-toggle-target-id=\"";
  846.                 // line 535
  847.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'535$this->source); })()), "id", [], "any"falsefalsefalse535), "html"nulltrue);
  848.                 echo "-default_data\" href=\"#\">
  849.                 Default Data <span class=\"toggle-icon\"></span>
  850.             </a>
  851.         </h3>
  852.         <div id=\"";
  853.                 // line 540
  854.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'540$this->source); })()), "id", [], "any"falsefalsefalse540), "html"nulltrue);
  855.                 echo "-default_data\">
  856.             <table>
  857.                 <thead>
  858.                     <tr>
  859.                         <th width=\"180\">Property</th>
  860.                         <th>Value</th>
  861.                     </tr>
  862.                 </thead>
  863.                 <tbody>
  864.                     <tr>
  865.                         <th class=\"font-normal\" scope=\"row\">Model Format</th>
  866.                         <td>
  867.                             ";
  868.                 // line 552
  869.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["data"] ?? null), "default_data", [], "any"falsetruefalse552), "model", [], "any"truetruefalse552)) {
  870.                     // line 553
  871.                     echo "                                ";
  872.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'553$this->source); })()), "default_data", [], "any"falsefalsefalse553), "seek", ["model"], "method"falsefalsefalse553));
  873.                     echo "
  874.                             ";
  875.                 } else {
  876.                     // line 555
  877.                     echo "                                <em class=\"font-normal text-muted\">same as normalized format</em>
  878.                             ";
  879.                 }
  880.                 // line 557
  881.                 echo "                        </td>
  882.                     </tr>
  883.                     <tr>
  884.                         <th class=\"font-normal\" scope=\"row\">Normalized Format</th>
  885.                         <td>";
  886.                 // line 561
  887.                 echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'561$this->source); })()), "default_data", [], "any"falsefalsefalse561), "seek", ["norm"], "method"falsefalsefalse561));
  888.                 echo "</td>
  889.                     </tr>
  890.                     <tr>
  891.                         <th class=\"font-normal\" scope=\"row\">View Format</th>
  892.                         <td>
  893.                             ";
  894.                 // line 566
  895.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["data"] ?? null), "default_data", [], "any"falsetruefalse566), "view", [], "any"truetruefalse566)) {
  896.                     // line 567
  897.                     echo "                                ";
  898.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'567$this->source); })()), "default_data", [], "any"falsefalsefalse567), "seek", ["view"], "method"falsefalsefalse567));
  899.                     echo "
  900.                             ";
  901.                 } else {
  902.                     // line 569
  903.                     echo "                                <em class=\"font-normal text-muted\">same as normalized format</em>
  904.                             ";
  905.                 }
  906.                 // line 571
  907.                 echo "                        </td>
  908.                     </tr>
  909.                 </tbody>
  910.             </table>
  911.         </div>
  912.         ";
  913.             }
  914.             // line 577
  915.             echo "
  916.         ";
  917.             // line 578
  918.             if (twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "submitted_data", [], "any"truetruefalse578)) {
  919.                 // line 579
  920.                 echo "        <h3>
  921.             <a class=\"toggle-button\" data-toggle-target-id=\"";
  922.                 // line 580
  923.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'580$this->source); })()), "id", [], "any"falsefalsefalse580), "html"nulltrue);
  924.                 echo "-submitted_data\" href=\"#\">
  925.                 Submitted Data <span class=\"toggle-icon\"></span>
  926.             </a>
  927.         </h3>
  928.         <div id=\"";
  929.                 // line 585
  930.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'585$this->source); })()), "id", [], "any"falsefalsefalse585), "html"nulltrue);
  931.                 echo "-submitted_data\">
  932.         ";
  933.                 // line 586
  934.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["data"] ?? null), "submitted_data", [], "any"falsetruefalse586), "norm", [], "any"truetruefalse586)) {
  935.                     // line 587
  936.                     echo "            <table>
  937.                 <thead>
  938.                     <tr>
  939.                         <th width=\"180\">Property</th>
  940.                         <th>Value</th>
  941.                     </tr>
  942.                 </thead>
  943.                 <tbody>
  944.                     <tr>
  945.                         <th class=\"font-normal\" scope=\"row\">View Format</th>
  946.                         <td>
  947.                             ";
  948.                     // line 598
  949.                     if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["data"] ?? null), "submitted_data", [], "any"falsetruefalse598), "view", [], "any"truetruefalse598)) {
  950.                         // line 599
  951.                         echo "                                ";
  952.                         echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'599$this->source); })()), "submitted_data", [], "any"falsefalsefalse599), "seek", ["view"], "method"falsefalsefalse599));
  953.                         echo "
  954.                             ";
  955.                     } else {
  956.                         // line 601
  957.                         echo "                                <em class=\"font-normal text-muted\">same as normalized format</em>
  958.                             ";
  959.                     }
  960.                     // line 603
  961.                     echo "                        </td>
  962.                     </tr>
  963.                     <tr>
  964.                         <th class=\"font-normal\" scope=\"row\">Normalized Format</th>
  965.                         <td>";
  966.                     // line 607
  967.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'607$this->source); })()), "submitted_data", [], "any"falsefalsefalse607), "seek", ["norm"], "method"falsefalsefalse607));
  968.                     echo "</td>
  969.                     </tr>
  970.                     <tr>
  971.                         <th class=\"font-normal\" scope=\"row\">Model Format</th>
  972.                         <td>
  973.                             ";
  974.                     // line 612
  975.                     if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["data"] ?? null), "submitted_data", [], "any"falsetruefalse612), "model", [], "any"truetruefalse612)) {
  976.                         // line 613
  977.                         echo "                                ";
  978.                         echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'613$this->source); })()), "submitted_data", [], "any"falsefalsefalse613), "seek", ["model"], "method"falsefalsefalse613));
  979.                         echo "
  980.                             ";
  981.                     } else {
  982.                         // line 615
  983.                         echo "                                <em class=\"font-normal text-muted\">same as normalized format</em>
  984.                             ";
  985.                     }
  986.                     // line 617
  987.                     echo "                        </td>
  988.                     </tr>
  989.                 </tbody>
  990.             </table>
  991.         ";
  992.                 } else {
  993.                     // line 622
  994.                     echo "            <div class=\"empty\">
  995.                 <p>This form was not submitted.</p>
  996.             </div>
  997.         ";
  998.                 }
  999.                 // line 626
  1000.                 echo "        </div>
  1001.         ";
  1002.             }
  1003.             // line 628
  1004.             echo "
  1005.         ";
  1006.             // line 629
  1007.             if (twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "passed_options", [], "any"truetruefalse629)) {
  1008.                 // line 630
  1009.                 echo "        <h3>
  1010.             <a class=\"toggle-button\" data-toggle-target-id=\"";
  1011.                 // line 631
  1012.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'631$this->source); })()), "id", [], "any"falsefalsefalse631), "html"nulltrue);
  1013.                 echo "-passed_options\" href=\"#\">
  1014.                 Passed Options <span class=\"toggle-icon\"></span>
  1015.             </a>
  1016.         </h3>
  1017.         <div id=\"";
  1018.                 // line 636
  1019.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'636$this->source); })()), "id", [], "any"falsefalsefalse636), "html"nulltrue);
  1020.                 echo "-passed_options\">
  1021.             ";
  1022.                 // line 637
  1023.                 if (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'637$this->source); })()), "passed_options", [], "any"falsefalsefalse637))) {
  1024.                     // line 638
  1025.                     echo "            <table>
  1026.                 <thead>
  1027.                     <tr>
  1028.                         <th width=\"180\">Option</th>
  1029.                         <th>Passed Value</th>
  1030.                         <th>Resolved Value</th>
  1031.                     </tr>
  1032.                 </thead>
  1033.                 <tbody>
  1034.                 ";
  1035.                     // line 647
  1036.                     $context['_parent'] = $context;
  1037.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'647$this->source); })()), "passed_options", [], "any"falsefalsefalse647));
  1038.                     foreach ($context['_seq'] as $context["option"] => $context["value"]) {
  1039.                         // line 648
  1040.                         echo "                <tr>
  1041.                     <th>";
  1042.                         // line 649
  1043.                         echo twig_escape_filter($this->env$context["option"], "html"nulltrue);
  1044.                         echo "</th>
  1045.                     <td>";
  1046.                         // line 650
  1047.                         echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env$context["value"]);
  1048.                         echo "</td>
  1049.                     <td>
  1050.                         ";
  1051.                         // line 653
  1052.                         echo "                        ";
  1053.                         $context["option_value"] = ((twig_get_attribute($this->env$this->source$context["value"], "value", [], "any"truetruefalse653)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["value"], "value", [], "any"falsefalsefalse653), $context["value"])) : ($context["value"]));
  1054.                         // line 654
  1055.                         echo "                        ";
  1056.                         $context["resolved_option_value"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["data"] ?? null), "resolved_options", [], "any"falsetruefalse654), $context["option"], [], "array"falsetruefalse654), "value", [], "any"truetruefalse654)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["data"] ?? null), "resolved_options", [], "any"falsetruefalse654), $context["option"], [], "array"falsetruefalse654), "value", [], "any"falsefalsefalse654), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'654$this->source); })()), "resolved_options", [], "any"falsefalsefalse654), $context["option"], [], "array"falsefalsefalse654))) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'654$this->source); })()), "resolved_options", [], "any"falsefalsefalse654), $context["option"], [], "array"falsefalsefalse654)));
  1057.                         // line 655
  1058.                         echo "                        ";
  1059.                         if (((isset($context["resolved_option_value"]) || array_key_exists("resolved_option_value"$context) ? $context["resolved_option_value"] : (function () { throw new RuntimeError('Variable "resolved_option_value" does not exist.'655$this->source); })()) == (isset($context["option_value"]) || array_key_exists("option_value"$context) ? $context["option_value"] : (function () { throw new RuntimeError('Variable "option_value" does not exist.'655$this->source); })()))) {
  1060.                             // line 656
  1061.                             echo "                            <em class=\"font-normal text-muted\">same as passed value</em>
  1062.                         ";
  1063.                         } else {
  1064.                             // line 658
  1065.                             echo "                            ";
  1066.                             echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'658$this->source); })()), "resolved_options", [], "any"falsefalsefalse658), "seek", [$context["option"]], "method"falsefalsefalse658));
  1067.                             echo "
  1068.                         ";
  1069.                         }
  1070.                         // line 660
  1071.                         echo "                    </td>
  1072.                 </tr>
  1073.                 ";
  1074.                     }
  1075.                     $_parent $context['_parent'];
  1076.                     unset($context['_seq'], $context['_iterated'], $context['option'], $context['value'], $context['_parent'], $context['loop']);
  1077.                     $context array_intersect_key($context$_parent) + $_parent;
  1078.                     // line 663
  1079.                     echo "                </tbody>
  1080.             </table>
  1081.             ";
  1082.                 } else {
  1083.                     // line 666
  1084.                     echo "                <div class=\"empty\">
  1085.                     <p>No options were passed when constructing this form.</p>
  1086.                 </div>
  1087.             ";
  1088.                 }
  1089.                 // line 670
  1090.                 echo "        </div>
  1091.         ";
  1092.             }
  1093.             // line 672
  1094.             echo "
  1095.         ";
  1096.             // line 673
  1097.             if (twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "resolved_options", [], "any"truetruefalse673)) {
  1098.                 // line 674
  1099.                 echo "        <h3>
  1100.             <a class=\"toggle-button\" data-toggle-target-id=\"";
  1101.                 // line 675
  1102.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'675$this->source); })()), "id", [], "any"falsefalsefalse675), "html"nulltrue);
  1103.                 echo "-resolved_options\" href=\"#\">
  1104.                 Resolved Options <span class=\"toggle-icon\"></span>
  1105.             </a>
  1106.         </h3>
  1107.         <div id=\"";
  1108.                 // line 680
  1109.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'680$this->source); })()), "id", [], "any"falsefalsefalse680), "html"nulltrue);
  1110.                 echo "-resolved_options\" class=\"hidden\">
  1111.             <table>
  1112.                 <thead>
  1113.                     <tr>
  1114.                         <th width=\"180\">Option</th>
  1115.                         <th>Value</th>
  1116.                     </tr>
  1117.                 </thead>
  1118.                 <tbody>
  1119.                 ";
  1120.                 // line 689
  1121.                 $context['_parent'] = $context;
  1122.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'689$this->source); })()), "resolved_options", [], "any"falsefalsefalse689));
  1123.                 foreach ($context['_seq'] as $context["option"] => $context["value"]) {
  1124.                     // line 690
  1125.                     echo "                <tr>
  1126.                     <th scope=\"row\">";
  1127.                     // line 691
  1128.                     echo twig_escape_filter($this->env$context["option"], "html"nulltrue);
  1129.                     echo "</th>
  1130.                     <td>";
  1131.                     // line 692
  1132.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env$context["value"]);
  1133.                     echo "</td>
  1134.                 </tr>
  1135.                 ";
  1136.                 }
  1137.                 $_parent $context['_parent'];
  1138.                 unset($context['_seq'], $context['_iterated'], $context['option'], $context['value'], $context['_parent'], $context['loop']);
  1139.                 $context array_intersect_key($context$_parent) + $_parent;
  1140.                 // line 695
  1141.                 echo "                </tbody>
  1142.             </table>
  1143.         </div>
  1144.         ";
  1145.             }
  1146.             // line 699
  1147.             echo "
  1148.         ";
  1149.             // line 700
  1150.             if (twig_get_attribute($this->env$this->source, ($context["data"] ?? null), "view_vars", [], "any"truetruefalse700)) {
  1151.                 // line 701
  1152.                 echo "        <h3>
  1153.             <a class=\"toggle-button\" data-toggle-target-id=\"";
  1154.                 // line 702
  1155.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'702$this->source); })()), "id", [], "any"falsefalsefalse702), "html"nulltrue);
  1156.                 echo "-view_vars\" href=\"#\">
  1157.                 View Variables <span class=\"toggle-icon\"></span>
  1158.             </a>
  1159.         </h3>
  1160.         <div id=\"";
  1161.                 // line 707
  1162.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'707$this->source); })()), "id", [], "any"falsefalsefalse707), "html"nulltrue);
  1163.                 echo "-view_vars\" class=\"hidden\">
  1164.             <table>
  1165.                 <thead>
  1166.                     <tr>
  1167.                         <th width=\"180\">Variable</th>
  1168.                         <th>Value</th>
  1169.                     </tr>
  1170.                 </thead>
  1171.                 <tbody>
  1172.                 ";
  1173.                 // line 716
  1174.                 $context['_parent'] = $context;
  1175.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'716$this->source); })()), "view_vars", [], "any"falsefalsefalse716));
  1176.                 foreach ($context['_seq'] as $context["variable"] => $context["value"]) {
  1177.                     // line 717
  1178.                     echo "                <tr>
  1179.                     <th scope=\"row\">";
  1180.                     // line 718
  1181.                     echo twig_escape_filter($this->env$context["variable"], "html"nulltrue);
  1182.                     echo "</th>
  1183.                     <td>";
  1184.                     // line 719
  1185.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env$context["value"]);
  1186.                     echo "</td>
  1187.                 </tr>
  1188.                 ";
  1189.                 }
  1190.                 $_parent $context['_parent'];
  1191.                 unset($context['_seq'], $context['_iterated'], $context['variable'], $context['value'], $context['_parent'], $context['loop']);
  1192.                 $context array_intersect_key($context$_parent) + $_parent;
  1193.                 // line 722
  1194.                 echo "                </tbody>
  1195.             </table>
  1196.         </div>
  1197.         ";
  1198.             }
  1199.             // line 726
  1200.             echo "    </div>
  1201.     ";
  1202.             // line 728
  1203.             $context['_parent'] = $context;
  1204.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'728$this->source); })()), "children", [], "any"falsefalsefalse728));
  1205.             foreach ($context['_seq'] as $context["childName"] => $context["childData"]) {
  1206.                 // line 729
  1207.                 echo "        ";
  1208.                 echo twig_call_macro($macros["tree"], "macro_form_tree_details", [$context["childName"], $context["childData"], (isset($context["forms_by_hash"]) || array_key_exists("forms_by_hash"$context) ? $context["forms_by_hash"] : (function () { throw new RuntimeError('Variable "forms_by_hash" does not exist.'729$this->source); })())], 729$context$this->getSourceContext());
  1209.                 echo "
  1210.     ";
  1211.             }
  1212.             $_parent $context['_parent'];
  1213.             unset($context['_seq'], $context['_iterated'], $context['childName'], $context['childData'], $context['_parent'], $context['loop']);
  1214.             $context array_intersect_key($context$_parent) + $_parent;
  1215.             
  1216.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1217.             
  1218.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1219.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  1220.         } finally {
  1221.             ob_end_clean();
  1222.         }
  1223.     }
  1224.     /**
  1225.      * @codeCoverageIgnore
  1226.      */
  1227.     public function getTemplateName()
  1228.     {
  1229.         return "@WebProfiler/Collector/form.html.twig";
  1230.     }
  1231.     /**
  1232.      * @codeCoverageIgnore
  1233.      */
  1234.     public function isTraitable()
  1235.     {
  1236.         return false;
  1237.     }
  1238.     /**
  1239.      * @codeCoverageIgnore
  1240.      */
  1241.     public function getDebugInfo()
  1242.     {
  1243.         return array (  1318 => 729,  1314 => 728,  1310 => 726,  1304 => 722,  1295 => 719,  1291 => 718,  1288 => 717,  1284 => 716,  1272 => 707,  1264 => 702,  1261 => 701,  1259 => 700,  1256 => 699,  1250 => 695,  1241 => 692,  1237 => 691,  1234 => 690,  1230 => 689,  1218 => 680,  1210 => 675,  1207 => 674,  1205 => 673,  1202 => 672,  1198 => 670,  1192 => 666,  1187 => 663,  1179 => 660,  1173 => 658,  1169 => 656,  1166 => 655,  1163 => 654,  1160 => 653,  1155 => 650,  1151 => 649,  1148 => 648,  1144 => 647,  1133 => 638,  1131 => 637,  1127 => 636,  1119 => 631,  1116 => 630,  1114 => 629,  1111 => 628,  1107 => 626,  1101 => 622,  1094 => 617,  1090 => 615,  1084 => 613,  1082 => 612,  1074 => 607,  1068 => 603,  1064 => 601,  1058 => 599,  1056 => 598,  1043 => 587,  1041 => 586,  1037 => 585,  1029 => 580,  1026 => 579,  1024 => 578,  1021 => 577,  1013 => 571,  1009 => 569,  1003 => 567,  1001 => 566,  993 => 561,  987 => 557,  983 => 555,  977 => 553,  975 => 552,  960 => 540,  952 => 535,  949 => 534,  947 => 533,  944 => 532,  938 => 528,  930 => 525,  926 => 523,  923 => 522,  914 => 520,  910 => 519,  907 => 518,  905 => 517,  901 => 515,  895 => 513,  891 => 511,  889 => 510,  886 => 509,  884 => 508,  879 => 506,  876 => 505,  872 => 504,  860 => 495,  852 => 490,  848 => 488,  846 => 487,  843 => 486,  837 => 484,  835 => 483,  831 => 482,  818 => 481,  815 => 480,  793 => 479,  777 => 476,  773 => 474,  764 => 472,  760 => 471,  751 => 470,  749 => 469,  742 => 465,  736 => 464,  733 => 463,  729 => 461,  723 => 459,  721 => 458,  718 => 457,  712 => 455,  710 => 454,  704 => 453,  701 => 452,  698 => 451,  695 => 450,  674 => 449,  446 => 229,  440 => 225,  436 => 223,  419 => 221,  402 => 220,  396 => 216,  387 => 214,  383 => 213,  379 => 211,  377 => 210,  373 => 208,  363 => 207,  189 => 43,  179 => 42,  168 => 39,  162 => 36,  159 => 35,  157 => 34,  152 => 32,  145 => 31,  135 => 30,  122 => 26,  119 => 25,  111 => 22,  104 => 18,  100 => 16,  98 => 15,  95 => 14,  89 => 11,  83 => 9,  80 => 8,  77 => 7,  74 => 6,  64 => 5,  53 => 1,  51 => 3,  38 => 1,);
  1244.     }
  1245.     public function getSourceContext()
  1246.     {
  1247.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  1248. {% from _self import form_tree_entry, form_tree_details %}
  1249. {% block toolbar %}
  1250.     {% if collector.data.nb_errors > 0 or collector.data.forms|length %}
  1251.         {% set status_color = collector.data.nb_errors ? 'red' %}
  1252.         {% set icon %}
  1253.             {{ include('@WebProfiler/Icon/form.svg') }}
  1254.             <span class=\"sf-toolbar-value\">
  1255.                 {{ collector.data.nb_errors ?: collector.data.forms|length }}
  1256.             </span>
  1257.         {% endset %}
  1258.         {% set text %}
  1259.             <div class=\"sf-toolbar-info-piece\">
  1260.                 <b>Number of forms</b>
  1261.                 <span class=\"sf-toolbar-status\">{{ collector.data.forms|length }}</span>
  1262.             </div>
  1263.             <div class=\"sf-toolbar-info-piece\">
  1264.                 <b>Number of errors</b>
  1265.                 <span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.data.nb_errors > 0 ? 'red' }}\">{{ collector.data.nb_errors }}</span>
  1266.             </div>
  1267.         {% endset %}
  1268.         {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }}
  1269.     {% endif %}
  1270. {% endblock %}
  1271. {% block menu %}
  1272.     <span class=\"label label-status-{{ collector.data.nb_errors ? 'error' }} {{ collector.data.forms is empty ? 'disabled' }}\">
  1273.         <span class=\"icon\">{{ include('@WebProfiler/Icon/form.svg') }}</span>
  1274.         <strong>Forms</strong>
  1275.         {% if collector.data.nb_errors > 0 %}
  1276.             <span class=\"count\">
  1277.                 <span>{{ collector.data.nb_errors }}</span>
  1278.             </span>
  1279.         {% endif %}
  1280.     </span>
  1281. {% endblock %}
  1282. {% block head %}
  1283.     {{ parent() }}
  1284.     <style>
  1285.         #tree-menu {
  1286.             float: left;
  1287.             padding-right: 10px;
  1288.             width: 230px;
  1289.         }
  1290.         #tree-menu ul {
  1291.             list-style: none;
  1292.             margin: 0;
  1293.             padding-left: 0;
  1294.         }
  1295.         #tree-menu li {
  1296.             margin: 0;
  1297.             padding: 0;
  1298.             width: 100%;
  1299.         }
  1300.         #tree-menu .empty {
  1301.             border: 0;
  1302.             padding: 0;
  1303.         }
  1304.         #tree-details-container {
  1305.             border-left: 1px solid #DDD;
  1306.             margin-left: 250px;
  1307.             padding-left: 20px;
  1308.         }
  1309.         .tree-details {
  1310.             padding-bottom: 40px;
  1311.         }
  1312.         .tree-details h3 {
  1313.             font-size: 18px;
  1314.             position: relative;
  1315.         }
  1316.         .toggle-icon {
  1317.             display: inline-block;
  1318.             background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDgwx4LcKwAAAABVQTFRFAAAA////////////////ZmZm////bvjBwAAAAAV0Uk5TABZwsuCVEUjgAAAAAWJLR0QF+G/pxwAAAE1JREFUGNNjSHMSYGBgUEljSGYAAzMGBwiDhUEBwmBiEIAwGBmwgTQgQGWgA7h2uIFwK+CWwp1BpHvYEqDuATEYkBlY3IOmBq6dCPcAAIT5Eg2IksjQAAAAAElFTkSuQmCC\") no-repeat top left #5eb5e0;
  1319.         }
  1320.         .closed .toggle-icon, .closed.toggle-icon {
  1321.             background-position: bottom left;
  1322.         }
  1323.         .toggle-icon.empty {
  1324.             background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAZgBmAGYHukptAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDhIf6CA40AAAAFRJREFUOMvtk7ENACEMA61vfx767MROWfO+AdGBHlNyTZrYUZRYDBII4NWE1pNdpFarfgLUbpDaBEgBYRiEVjsvDLa1l6O4Z3wkFWN+OfLKdpisOH/TlICzukmUJwAAAABJRU5ErkJggg==\");
  1325.         }
  1326.         .tree .tree-inner {
  1327.             cursor: pointer;
  1328.             padding: 5px 7px 5px 22px;
  1329.             position: relative;
  1330.             overflow: hidden;
  1331.             text-overflow: ellipsis;
  1332.         }
  1333.         .tree .toggle-button {
  1334.             /* provide a bigger clickable area than just 10x10px */
  1335.             width: 16px;
  1336.             height: 16px;
  1337.             margin-left: -18px;
  1338.         }
  1339.         .tree .toggle-icon {
  1340.             width: 10px;
  1341.             height: 10px;
  1342.             /* position the icon in the center of the clickable area */
  1343.             margin-left: 3px;
  1344.             margin-top: 3px;
  1345.             background-size: 10px 20px;
  1346.             background-color: #AAA;
  1347.         }
  1348.         .tree .toggle-icon.empty {
  1349.             width: 10px;
  1350.             height: 10px;
  1351.             position: absolute;
  1352.             top: 50%;
  1353.             margin-top: -5px;
  1354.             margin-left: -15px;
  1355.             background-size: 10px 10px;
  1356.         }
  1357.         .tree ul ul .tree-inner {
  1358.             padding-left: 37px;
  1359.         }
  1360.         .tree ul ul ul .tree-inner {
  1361.             padding-left: 52px;
  1362.         }
  1363.         .tree ul ul ul ul .tree-inner {
  1364.             padding-left: 67px;
  1365.         }
  1366.         .tree ul ul ul ul ul .tree-inner {
  1367.             padding-left: 82px;
  1368.         }
  1369.         .tree .tree-inner:hover {
  1370.             background: #dfdfdf;
  1371.         }
  1372.         .tree .tree-inner:hover span:not(.has-error) {
  1373.             color: var(--base-0);
  1374.         }
  1375.         .tree .tree-inner.active, .tree .tree-inner.active:hover {
  1376.             background: var(--tree-active-background);
  1377.             font-weight: bold;
  1378.         }
  1379.         .tree .tree-inner.active .toggle-icon, .tree .tree-inner:hover .toggle-icon, .tree .tree-inner.active:hover .toggle-icon {
  1380.             background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDhEYXWn+sAAAABhQTFRFAAAA39/f39/f39/f39/fZmZm39/f////gc3YPwAAAAV0Uk5TAAtAc6ZeVyCYAAAAAWJLR0QF+G/pxwAAAE1JREFUGNNjSHMSYGBgUEljSGYAAzMGBwiDhUEBwmBiEIAwGBmwgXIgQGWgA7h2uIFwK+CWwp1BpHvYC6DuATEYkBlY3IOmBq6dCPcAADqLE4MnBi/fAAAAAElFTkSuQmCC\");
  1381.             background-color: #999;
  1382.         }
  1383.         .tree .tree-inner.active .toggle-icon.empty, .tree .tree-inner:hover .toggle-icon.empty, .tree .tree-inner.active:hover .toggle-icon.empty {
  1384.             background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDhoucSey4gAAABVQTFRFAAAA39/f39/f39/f39/fZmZm39/fD5Dx2AAAAAV0Uk5TAAtAc6ZeVyCYAAAAAWJLR0QF+G/pxwAAADJJREFUCNdjSHMSYGBgUEljSGYAAzMGBwiDhUEBwmBiEIAwGBnIA3DtcAPhVsAthTkDAFOfBKW9C1iqAAAAAElFTkSuQmCC\");
  1385.         }
  1386.         .tree-details .toggle-icon {
  1387.             width: 16px;
  1388.             height: 16px;
  1389.             /* vertically center the button */
  1390.             position: absolute;
  1391.             top: 50%;
  1392.             margin-top: -9px;
  1393.             margin-left: 6px;
  1394.         }
  1395.         .badge-error {
  1396.             float: right;
  1397.             background: var(--background-error);
  1398.             color: #FFF;
  1399.             padding: 1px 4px;
  1400.             font-size: 10px;
  1401.             font-weight: bold;
  1402.             vertical-align: middle;
  1403.         }
  1404.         .has-error {
  1405.             color: var(--color-error);
  1406.         }
  1407.         .errors h3 {
  1408.             color: var(--color-error);
  1409.         }
  1410.         .errors th {
  1411.             background: var(--background-error);
  1412.             color: #FFF;
  1413.         }
  1414.         .errors .toggle-icon {
  1415.             background-color: var(--background-error);
  1416.         }
  1417.         h3 a, h3 a:hover, h3 a:focus {
  1418.             color: inherit;
  1419.             text-decoration: inherit;
  1420.         }
  1421.         h2 + h3.form-data-type {
  1422.             margin-top: 0;
  1423.         }
  1424.         h3.form-data-type + h3 {
  1425.             margin-top: 1em;
  1426.         }
  1427.         .theme-dark .toggle-icon {
  1428.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAVUExURUdwTH+Ag0lNUZiYmGRmbP///zU5P2n9VV4AAAAFdFJOUwCv+yror0g1sQAAAE1JREFUGNNjSFM0YGBgEEpjSGEAAzcGBQiDiUEAwmBkMIAwmBmwgVAgQGWgA7h2uIFwK+CWwp1BpHtYA6DuATEYkBlY3IOmBq6dCPcAAKMtEEs3tfChAAAAAElFTkSuQmCC');
  1429.         }
  1430.         .theme-dark .toggle-icon.empty {
  1431.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAASUExURUdwTDI3OzQ5PS4uLjU3PzU5P4keoyIAAAAFdFJOUwBApgtzrnKGEwAAADJJREFUCNdjCFU0YGBgEAplCGEAA1cGBQiDiUEAwmBkMIAwmBnIA3DtcAPhVsAthTkDACsZBBmrTTSxAAAAAElFTkSuQmCC');
  1432.         }
  1433.         .theme-dark .tree .tree-inner.active .toggle-icon, .theme-dark .tree .tree-inner:hover .toggle-icon, .theme-dark  .tree .tree-inner.active:hover .toggle-icon {
  1434.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAAD1BMVEVHcEx/gIOYmJiZmZn///+IJ2wIAAAAA3RSTlMAryoIUq0uAAAAUElEQVQY02NgYFQ2NjYWYGBgMAYDBgZmCMOAQRjCMGRQhjCMoEqAipAYLkCAykBXA9cONxBuBdxShDOIc4+JM9Q9IIYxMgOLe9DUwLUT4R4AznguG0qfEa0AAAAASUVORK5CYII=');
  1435.             background-color: transparent;
  1436.         }
  1437.         .theme-dark .tree .tree-inner.active .toggle-icon.empty, .theme-dark .tree .tree-inner:hover .toggle-icon.empty, .theme-dark  .tree .tree-inner.active:hover .toggle-icon.empty {
  1438.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEVHcEwyNzuqqqrd9nIgAAAAAnRSTlMAQABPjKgAAAArSURBVAjXY2BctcqBgWvVqgUMWqtWrWDIWrVqJcMqICCGACsGawMbADIKANflJYEoGMqtAAAAAElFTkSuQmCC');
  1439.             background-color: transparent;
  1440.         }
  1441.     </style>
  1442. {% endblock %}
  1443. {% block panel %}
  1444.     <h2>Forms</h2>
  1445.     {% if collector.data.forms|length %}
  1446.         <div id=\"tree-menu\" class=\"tree\">
  1447.             <ul>
  1448.             {% for formName, formData in collector.data.forms %}
  1449.                 {{ form_tree_entry(formName, formData, true) }}
  1450.             {% endfor %}
  1451.             </ul>
  1452.         </div>
  1453.         <div id=\"tree-details-container\">
  1454.             {% for formName, formData in collector.data.forms %}
  1455.                 {{ form_tree_details(formName, formData, collector.data.forms_by_hash, loop.first) }}
  1456.             {% endfor %}
  1457.         </div>
  1458.     {% else %}
  1459.         <div class=\"empty\">
  1460.             <p>No forms were submitted for this request.</p>
  1461.         </div>
  1462.     {% endif %}
  1463.     <script>
  1464.     function Toggler(storage) {
  1465.         \"use strict\";
  1466.         var STORAGE_KEY = 'sf_toggle_data',
  1467.             states = {},
  1468.             isCollapsed = function (button) {
  1469.                 return Sfjs.hasClass(button, 'closed');
  1470.             },
  1471.             isExpanded = function (button) {
  1472.                 return !isCollapsed(button);
  1473.             },
  1474.             expand = function (button) {
  1475.                 var targetId = button.dataset.toggleTargetId,
  1476.                     target = document.getElementById(targetId);
  1477.                 if (!target) {
  1478.                     throw \"Toggle target \" + targetId + \" does not exist\";
  1479.                 }
  1480.                 if (isCollapsed(button)) {
  1481.                     Sfjs.removeClass(button, 'closed');
  1482.                     Sfjs.removeClass(target, 'hidden');
  1483.                     states[targetId] = 1;
  1484.                     storage.setItem(STORAGE_KEY, states);
  1485.                 }
  1486.             },
  1487.             collapse = function (button) {
  1488.                 var targetId = button.dataset.toggleTargetId,
  1489.                     target = document.getElementById(targetId);
  1490.                 if (!target) {
  1491.                     throw \"Toggle target \" + targetId + \" does not exist\";
  1492.                 }
  1493.                 if (isExpanded(button)) {
  1494.                     Sfjs.addClass(button, 'closed');
  1495.                     Sfjs.addClass(target, 'hidden');
  1496.                     states[targetId] = 0;
  1497.                     storage.setItem(STORAGE_KEY, states);
  1498.                 }
  1499.             },
  1500.             toggle = function (button) {
  1501.                 if (Sfjs.hasClass(button, 'closed')) {
  1502.                     expand(button);
  1503.                 } else {
  1504.                     collapse(button);
  1505.                 }
  1506.             },
  1507.             initButtons = function (buttons) {
  1508.                 states = storage.getItem(STORAGE_KEY, {});
  1509.                 // must be an object, not an array or anything else
  1510.                 // `typeof` returns \"object\" also for arrays, so the following
  1511.                 // check must be done
  1512.                 // see http://stackoverflow.com/questions/4775722/check-if-object-is-array
  1513.                 if ('[object Object]' !== Object.prototype.toString.call(states)) {
  1514.                     states = {};
  1515.                 }
  1516.                 for (var i = 0, l = buttons.length; i < l; ++i) {
  1517.                     var targetId = buttons[i].dataset.toggleTargetId,
  1518.                         target = document.getElementById(targetId);
  1519.                     if (!target) {
  1520.                         throw \"Toggle target \" + targetId + \" does not exist\";
  1521.                     }
  1522.                     // correct the initial state of the button
  1523.                     if (Sfjs.hasClass(target, 'hidden')) {
  1524.                         Sfjs.addClass(buttons[i], 'closed');
  1525.                     }
  1526.                     // attach listener for expanding/collapsing the target
  1527.                     clickHandler(buttons[i], toggle);
  1528.                     if (states.hasOwnProperty(targetId)) {
  1529.                         // open or collapse based on stored data
  1530.                         if (0 === states[targetId]) {
  1531.                             collapse(buttons[i]);
  1532.                         } else {
  1533.                             expand(buttons[i]);
  1534.                         }
  1535.                     }
  1536.                 }
  1537.             };
  1538.         return {
  1539.             initButtons: initButtons,
  1540.             toggle: toggle,
  1541.             isExpanded: isExpanded,
  1542.             isCollapsed: isCollapsed,
  1543.             expand: expand,
  1544.             collapse: collapse
  1545.         };
  1546.     }
  1547.     function JsonStorage(storage) {
  1548.         var setItem = function (key, data) {
  1549.                 storage.setItem(key, JSON.stringify(data));
  1550.             },
  1551.             getItem = function (key, defaultValue) {
  1552.                 var data = storage.getItem(key);
  1553.                 if (null !== data) {
  1554.                     try {
  1555.                         return JSON.parse(data);
  1556.                     } catch(e) {
  1557.                     }
  1558.                 }
  1559.                 return defaultValue;
  1560.             };
  1561.         return {
  1562.             setItem: setItem,
  1563.             getItem: getItem
  1564.         };
  1565.     }
  1566.     function TabView() {
  1567.         \"use strict\";
  1568.         var activeTab = null,
  1569.             activeTarget = null,
  1570.             select = function (tab) {
  1571.                 var targetId = tab.dataset.tabTargetId,
  1572.                     target = document.getElementById(targetId);
  1573.                 if (!target) {
  1574.                     throw \"Tab target \" + targetId + \" does not exist\";
  1575.                 }
  1576.                 if (activeTab) {
  1577.                     Sfjs.removeClass(activeTab, 'active');
  1578.                 }
  1579.                 if (activeTarget) {
  1580.                     Sfjs.addClass(activeTarget, 'hidden');
  1581.                 }
  1582.                 Sfjs.addClass(tab, 'active');
  1583.                 Sfjs.removeClass(target, 'hidden');
  1584.                 activeTab = tab;
  1585.                 activeTarget = target;
  1586.             },
  1587.             initTabs = function (tabs) {
  1588.                 for (var i = 0, l = tabs.length; i < l; ++i) {
  1589.                     var targetId = tabs[i].dataset.tabTargetId,
  1590.                         target = document.getElementById(targetId);
  1591.                     if (!target) {
  1592.                         throw \"Tab target \" + targetId + \" does not exist\";
  1593.                     }
  1594.                     clickHandler(tabs[i], select);
  1595.                     Sfjs.addClass(target, 'hidden');
  1596.                 }
  1597.                 if (tabs.length > 0) {
  1598.                     select(tabs[0]);
  1599.                 }
  1600.             };
  1601.         return {
  1602.             initTabs: initTabs,
  1603.             select: select
  1604.         };
  1605.     }
  1606.     var tabTarget = new TabView(),
  1607.         toggler = new Toggler(new JsonStorage(sessionStorage)),
  1608.         clickHandler = function (element, callback) {
  1609.             Sfjs.addEventListener(element, 'click', function (e) {
  1610.                 if (!e) {
  1611.                     e = window.event;
  1612.                 }
  1613.                 callback(this);
  1614.                 if (e.preventDefault) {
  1615.                     e.preventDefault();
  1616.                 } else {
  1617.                     e.returnValue = false;
  1618.                 }
  1619.                 e.stopPropagation();
  1620.                 return false;
  1621.             });
  1622.         };
  1623.     tabTarget.initTabs(document.querySelectorAll('.tree .tree-inner'));
  1624.     toggler.initButtons(document.querySelectorAll('a.toggle-button'));
  1625.     </script>
  1626. {% endblock %}
  1627. {% macro form_tree_entry(name, data, is_root) %}
  1628.     {% import _self as tree %}
  1629.     {% set has_error = data.errors is defined and data.errors|length > 0 %}
  1630.     <li>
  1631.         <div class=\"tree-inner\" data-tab-target-id=\"{{ data.id }}-details\" title=\"{{ name|default('(no name)') }}\">
  1632.             {% if has_error %}
  1633.                 <div class=\"badge-error\">{{ data.errors|length }}</div>
  1634.             {% endif %}
  1635.             {% if data.children is not empty %}
  1636.                 <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-children\" href=\"#\"><span class=\"toggle-icon\"></span></a>
  1637.             {% else %}
  1638.                 <div class=\"toggle-icon empty\"></div>
  1639.             {% endif %}
  1640.             <span {% if has_error or data.has_children_error|default(false) %}class=\"has-error\"{% endif %}>
  1641.                 {{ name|default('(no name)') }}
  1642.             </span>
  1643.         </div>
  1644.         {% if data.children is not empty %}
  1645.             <ul id=\"{{ data.id }}-children\" {% if not is_root and not data.has_children_error|default(false) %}class=\"hidden\"{% endif %}>
  1646.                 {% for childName, childData in data.children %}
  1647.                     {{ tree.form_tree_entry(childName, childData, false) }}
  1648.                 {% endfor %}
  1649.             </ul>
  1650.         {% endif %}
  1651.     </li>
  1652. {% endmacro %}
  1653. {% macro form_tree_details(name, data, forms_by_hash, show) %}
  1654.     {% import _self as tree %}
  1655.     <div class=\"tree-details{% if not show|default(false) %} hidden{% endif %}\" {% if data.id is defined %}id=\"{{ data.id }}-details\"{% endif %}>
  1656.         <h2>{{ name|default('(no name)') }}</h2>
  1657.         {% if data.type_class is defined %}
  1658.             <h3 class=\"dump-inline form-data-type\">{{ profiler_dump(data.type_class) }}</h3>
  1659.         {% endif %}
  1660.         {% if data.errors is defined and data.errors|length > 0 %}
  1661.         <div class=\"errors\">
  1662.             <h3>
  1663.                 <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-errors\" href=\"#\">
  1664.                     Errors <span class=\"toggle-icon\"></span>
  1665.                 </a>
  1666.             </h3>
  1667.             <table id=\"{{ data.id }}-errors\">
  1668.                 <thead>
  1669.                     <tr>
  1670.                         <th>Message</th>
  1671.                         <th>Origin</th>
  1672.                         <th>Cause</th>
  1673.                     </tr>
  1674.                 </thead>
  1675.                 <tbody>
  1676.                 {% for error in data.errors %}
  1677.                 <tr>
  1678.                     <td>{{ error.message }}</td>
  1679.                     <td>
  1680.                         {% if error.origin is empty %}
  1681.                             <em>This form.</em>
  1682.                         {% elseif forms_by_hash[error.origin] is not defined %}
  1683.                             <em>Unknown.</em>
  1684.                         {% else %}
  1685.                             {{ forms_by_hash[error.origin].name }}
  1686.                         {% endif %}
  1687.                     </td>
  1688.                     <td>
  1689.                         {% if error.trace %}
  1690.                             <span class=\"newline\">Caused by:</span>
  1691.                             {% for stacked in error.trace %}
  1692.                                 {{ profiler_dump(stacked) }}
  1693.                             {% endfor %}
  1694.                         {% else %}
  1695.                             <em>Unknown.</em>
  1696.                         {% endif %}
  1697.                     </td>
  1698.                 </tr>
  1699.                 {% endfor %}
  1700.                 </tbody>
  1701.             </table>
  1702.         </div>
  1703.         {% endif %}
  1704.         {% if data.default_data is defined %}
  1705.         <h3>
  1706.             <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-default_data\" href=\"#\">
  1707.                 Default Data <span class=\"toggle-icon\"></span>
  1708.             </a>
  1709.         </h3>
  1710.         <div id=\"{{ data.id }}-default_data\">
  1711.             <table>
  1712.                 <thead>
  1713.                     <tr>
  1714.                         <th width=\"180\">Property</th>
  1715.                         <th>Value</th>
  1716.                     </tr>
  1717.                 </thead>
  1718.                 <tbody>
  1719.                     <tr>
  1720.                         <th class=\"font-normal\" scope=\"row\">Model Format</th>
  1721.                         <td>
  1722.                             {% if data.default_data.model is defined %}
  1723.                                 {{ profiler_dump(data.default_data.seek('model')) }}
  1724.                             {% else %}
  1725.                                 <em class=\"font-normal text-muted\">same as normalized format</em>
  1726.                             {% endif %}
  1727.                         </td>
  1728.                     </tr>
  1729.                     <tr>
  1730.                         <th class=\"font-normal\" scope=\"row\">Normalized Format</th>
  1731.                         <td>{{ profiler_dump(data.default_data.seek('norm')) }}</td>
  1732.                     </tr>
  1733.                     <tr>
  1734.                         <th class=\"font-normal\" scope=\"row\">View Format</th>
  1735.                         <td>
  1736.                             {% if data.default_data.view is defined %}
  1737.                                 {{ profiler_dump(data.default_data.seek('view')) }}
  1738.                             {% else %}
  1739.                                 <em class=\"font-normal text-muted\">same as normalized format</em>
  1740.                             {% endif %}
  1741.                         </td>
  1742.                     </tr>
  1743.                 </tbody>
  1744.             </table>
  1745.         </div>
  1746.         {% endif %}
  1747.         {% if data.submitted_data is defined %}
  1748.         <h3>
  1749.             <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-submitted_data\" href=\"#\">
  1750.                 Submitted Data <span class=\"toggle-icon\"></span>
  1751.             </a>
  1752.         </h3>
  1753.         <div id=\"{{ data.id }}-submitted_data\">
  1754.         {% if data.submitted_data.norm is defined %}
  1755.             <table>
  1756.                 <thead>
  1757.                     <tr>
  1758.                         <th width=\"180\">Property</th>
  1759.                         <th>Value</th>
  1760.                     </tr>
  1761.                 </thead>
  1762.                 <tbody>
  1763.                     <tr>
  1764.                         <th class=\"font-normal\" scope=\"row\">View Format</th>
  1765.                         <td>
  1766.                             {% if data.submitted_data.view is defined %}
  1767.                                 {{ profiler_dump(data.submitted_data.seek('view')) }}
  1768.                             {% else %}
  1769.                                 <em class=\"font-normal text-muted\">same as normalized format</em>
  1770.                             {% endif %}
  1771.                         </td>
  1772.                     </tr>
  1773.                     <tr>
  1774.                         <th class=\"font-normal\" scope=\"row\">Normalized Format</th>
  1775.                         <td>{{ profiler_dump(data.submitted_data.seek('norm')) }}</td>
  1776.                     </tr>
  1777.                     <tr>
  1778.                         <th class=\"font-normal\" scope=\"row\">Model Format</th>
  1779.                         <td>
  1780.                             {% if data.submitted_data.model is defined %}
  1781.                                 {{ profiler_dump(data.submitted_data.seek('model')) }}
  1782.                             {% else %}
  1783.                                 <em class=\"font-normal text-muted\">same as normalized format</em>
  1784.                             {% endif %}
  1785.                         </td>
  1786.                     </tr>
  1787.                 </tbody>
  1788.             </table>
  1789.         {% else %}
  1790.             <div class=\"empty\">
  1791.                 <p>This form was not submitted.</p>
  1792.             </div>
  1793.         {% endif %}
  1794.         </div>
  1795.         {% endif %}
  1796.         {% if data.passed_options is defined %}
  1797.         <h3>
  1798.             <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-passed_options\" href=\"#\">
  1799.                 Passed Options <span class=\"toggle-icon\"></span>
  1800.             </a>
  1801.         </h3>
  1802.         <div id=\"{{ data.id }}-passed_options\">
  1803.             {% if data.passed_options|length %}
  1804.             <table>
  1805.                 <thead>
  1806.                     <tr>
  1807.                         <th width=\"180\">Option</th>
  1808.                         <th>Passed Value</th>
  1809.                         <th>Resolved Value</th>
  1810.                     </tr>
  1811.                 </thead>
  1812.                 <tbody>
  1813.                 {% for option, value in data.passed_options %}
  1814.                 <tr>
  1815.                     <th>{{ option }}</th>
  1816.                     <td>{{ profiler_dump(value) }}</td>
  1817.                     <td>
  1818.                         {# values can be stubs #}
  1819.                         {% set option_value = value.value|default(value) %}
  1820.                         {% set resolved_option_value = data.resolved_options[option].value|default(data.resolved_options[option]) %}
  1821.                         {% if resolved_option_value == option_value %}
  1822.                             <em class=\"font-normal text-muted\">same as passed value</em>
  1823.                         {% else %}
  1824.                             {{ profiler_dump(data.resolved_options.seek(option)) }}
  1825.                         {% endif %}
  1826.                     </td>
  1827.                 </tr>
  1828.                 {% endfor %}
  1829.                 </tbody>
  1830.             </table>
  1831.             {% else %}
  1832.                 <div class=\"empty\">
  1833.                     <p>No options were passed when constructing this form.</p>
  1834.                 </div>
  1835.             {% endif %}
  1836.         </div>
  1837.         {% endif %}
  1838.         {% if data.resolved_options is defined %}
  1839.         <h3>
  1840.             <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-resolved_options\" href=\"#\">
  1841.                 Resolved Options <span class=\"toggle-icon\"></span>
  1842.             </a>
  1843.         </h3>
  1844.         <div id=\"{{ data.id }}-resolved_options\" class=\"hidden\">
  1845.             <table>
  1846.                 <thead>
  1847.                     <tr>
  1848.                         <th width=\"180\">Option</th>
  1849.                         <th>Value</th>
  1850.                     </tr>
  1851.                 </thead>
  1852.                 <tbody>
  1853.                 {% for option, value in data.resolved_options %}
  1854.                 <tr>
  1855.                     <th scope=\"row\">{{ option }}</th>
  1856.                     <td>{{ profiler_dump(value) }}</td>
  1857.                 </tr>
  1858.                 {% endfor %}
  1859.                 </tbody>
  1860.             </table>
  1861.         </div>
  1862.         {% endif %}
  1863.         {% if data.view_vars is defined %}
  1864.         <h3>
  1865.             <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-view_vars\" href=\"#\">
  1866.                 View Variables <span class=\"toggle-icon\"></span>
  1867.             </a>
  1868.         </h3>
  1869.         <div id=\"{{ data.id }}-view_vars\" class=\"hidden\">
  1870.             <table>
  1871.                 <thead>
  1872.                     <tr>
  1873.                         <th width=\"180\">Variable</th>
  1874.                         <th>Value</th>
  1875.                     </tr>
  1876.                 </thead>
  1877.                 <tbody>
  1878.                 {% for variable, value in data.view_vars %}
  1879.                 <tr>
  1880.                     <th scope=\"row\">{{ variable }}</th>
  1881.                     <td>{{ profiler_dump(value) }}</td>
  1882.                 </tr>
  1883.                 {% endfor %}
  1884.                 </tbody>
  1885.             </table>
  1886.         </div>
  1887.         {% endif %}
  1888.     </div>
  1889.     {% for childName, childData in data.children %}
  1890.         {{ tree.form_tree_details(childName, childData, forms_by_hash) }}
  1891.     {% endfor %}
  1892. {% endmacro %}
  1893. ""@WebProfiler/Collector/form.html.twig""/var/www/html/t/taurushr/vendor/symfony/web-profiler-bundle/Resources/views/Collector/form.html.twig");
  1894.     }
  1895. }