var/cache/dev/twig/d0/d0f581db0400a78deebf9e5aabd8bd31.php line 420

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_1f2dc7fdf82aa1951cd9edd5958bc0c3 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_1"] = $this->macros["__internal_parse_1"] = $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_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_1"], "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_1"], "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.     public function getTemplateName()
  1225.     {
  1226.         return "@WebProfiler/Collector/form.html.twig";
  1227.     }
  1228.     public function isTraitable()
  1229.     {
  1230.         return false;
  1231.     }
  1232.     public function getDebugInfo()
  1233.     {
  1234.         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,);
  1235.     }
  1236.     public function getSourceContext()
  1237.     {
  1238.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  1239. {% from _self import form_tree_entry, form_tree_details %}
  1240. {% block toolbar %}
  1241.     {% if collector.data.nb_errors > 0 or collector.data.forms|length %}
  1242.         {% set status_color = collector.data.nb_errors ? 'red' %}
  1243.         {% set icon %}
  1244.             {{ include('@WebProfiler/Icon/form.svg') }}
  1245.             <span class=\"sf-toolbar-value\">
  1246.                 {{ collector.data.nb_errors ?: collector.data.forms|length }}
  1247.             </span>
  1248.         {% endset %}
  1249.         {% set text %}
  1250.             <div class=\"sf-toolbar-info-piece\">
  1251.                 <b>Number of forms</b>
  1252.                 <span class=\"sf-toolbar-status\">{{ collector.data.forms|length }}</span>
  1253.             </div>
  1254.             <div class=\"sf-toolbar-info-piece\">
  1255.                 <b>Number of errors</b>
  1256.                 <span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.data.nb_errors > 0 ? 'red' }}\">{{ collector.data.nb_errors }}</span>
  1257.             </div>
  1258.         {% endset %}
  1259.         {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }}
  1260.     {% endif %}
  1261. {% endblock %}
  1262. {% block menu %}
  1263.     <span class=\"label label-status-{{ collector.data.nb_errors ? 'error' }} {{ collector.data.forms is empty ? 'disabled' }}\">
  1264.         <span class=\"icon\">{{ include('@WebProfiler/Icon/form.svg') }}</span>
  1265.         <strong>Forms</strong>
  1266.         {% if collector.data.nb_errors > 0 %}
  1267.             <span class=\"count\">
  1268.                 <span>{{ collector.data.nb_errors }}</span>
  1269.             </span>
  1270.         {% endif %}
  1271.     </span>
  1272. {% endblock %}
  1273. {% block head %}
  1274.     {{ parent() }}
  1275.     <style>
  1276.         #tree-menu {
  1277.             float: left;
  1278.             padding-right: 10px;
  1279.             width: 230px;
  1280.         }
  1281.         #tree-menu ul {
  1282.             list-style: none;
  1283.             margin: 0;
  1284.             padding-left: 0;
  1285.         }
  1286.         #tree-menu li {
  1287.             margin: 0;
  1288.             padding: 0;
  1289.             width: 100%;
  1290.         }
  1291.         #tree-menu .empty {
  1292.             border: 0;
  1293.             padding: 0;
  1294.         }
  1295.         #tree-details-container {
  1296.             border-left: 1px solid #DDD;
  1297.             margin-left: 250px;
  1298.             padding-left: 20px;
  1299.         }
  1300.         .tree-details {
  1301.             padding-bottom: 40px;
  1302.         }
  1303.         .tree-details h3 {
  1304.             font-size: 18px;
  1305.             position: relative;
  1306.         }
  1307.         .toggle-icon {
  1308.             display: inline-block;
  1309.             background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDgwx4LcKwAAAABVQTFRFAAAA////////////////ZmZm////bvjBwAAAAAV0Uk5TABZwsuCVEUjgAAAAAWJLR0QF+G/pxwAAAE1JREFUGNNjSHMSYGBgUEljSGYAAzMGBwiDhUEBwmBiEIAwGBmwgTQgQGWgA7h2uIFwK+CWwp1BpHvYEqDuATEYkBlY3IOmBq6dCPcAAIT5Eg2IksjQAAAAAElFTkSuQmCC\") no-repeat top left #5eb5e0;
  1310.         }
  1311.         .closed .toggle-icon, .closed.toggle-icon {
  1312.             background-position: bottom left;
  1313.         }
  1314.         .toggle-icon.empty {
  1315.             background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAZgBmAGYHukptAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDhIf6CA40AAAAFRJREFUOMvtk7ENACEMA61vfx767MROWfO+AdGBHlNyTZrYUZRYDBII4NWE1pNdpFarfgLUbpDaBEgBYRiEVjsvDLa1l6O4Z3wkFWN+OfLKdpisOH/TlICzukmUJwAAAABJRU5ErkJggg==\");
  1316.         }
  1317.         .tree .tree-inner {
  1318.             cursor: pointer;
  1319.             padding: 5px 7px 5px 22px;
  1320.             position: relative;
  1321.             overflow: hidden;
  1322.             text-overflow: ellipsis;
  1323.         }
  1324.         .tree .toggle-button {
  1325.             /* provide a bigger clickable area than just 10x10px */
  1326.             width: 16px;
  1327.             height: 16px;
  1328.             margin-left: -18px;
  1329.         }
  1330.         .tree .toggle-icon {
  1331.             width: 10px;
  1332.             height: 10px;
  1333.             /* position the icon in the center of the clickable area */
  1334.             margin-left: 3px;
  1335.             margin-top: 3px;
  1336.             background-size: 10px 20px;
  1337.             background-color: #AAA;
  1338.         }
  1339.         .tree .toggle-icon.empty {
  1340.             width: 10px;
  1341.             height: 10px;
  1342.             position: absolute;
  1343.             top: 50%;
  1344.             margin-top: -5px;
  1345.             margin-left: -15px;
  1346.             background-size: 10px 10px;
  1347.         }
  1348.         .tree ul ul .tree-inner {
  1349.             padding-left: 37px;
  1350.         }
  1351.         .tree ul ul ul .tree-inner {
  1352.             padding-left: 52px;
  1353.         }
  1354.         .tree ul ul ul ul .tree-inner {
  1355.             padding-left: 67px;
  1356.         }
  1357.         .tree ul ul ul ul ul .tree-inner {
  1358.             padding-left: 82px;
  1359.         }
  1360.         .tree .tree-inner:hover {
  1361.             background: #dfdfdf;
  1362.         }
  1363.         .tree .tree-inner:hover span:not(.has-error) {
  1364.             color: var(--base-0);
  1365.         }
  1366.         .tree .tree-inner.active, .tree .tree-inner.active:hover {
  1367.             background: var(--tree-active-background);
  1368.             font-weight: bold;
  1369.         }
  1370.         .tree .tree-inner.active .toggle-icon, .tree .tree-inner:hover .toggle-icon, .tree .tree-inner.active:hover .toggle-icon {
  1371.             background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDhEYXWn+sAAAABhQTFRFAAAA39/f39/f39/f39/fZmZm39/f////gc3YPwAAAAV0Uk5TAAtAc6ZeVyCYAAAAAWJLR0QF+G/pxwAAAE1JREFUGNNjSHMSYGBgUEljSGYAAzMGBwiDhUEBwmBiEIAwGBmwgXIgQGWgA7h2uIFwK+CWwp1BpHvYC6DuATEYkBlY3IOmBq6dCPcAADqLE4MnBi/fAAAAAElFTkSuQmCC\");
  1372.             background-color: #999;
  1373.         }
  1374.         .tree .tree-inner.active .toggle-icon.empty, .tree .tree-inner:hover .toggle-icon.empty, .tree .tree-inner.active:hover .toggle-icon.empty {
  1375.             background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QweDhoucSey4gAAABVQTFRFAAAA39/f39/f39/f39/fZmZm39/fD5Dx2AAAAAV0Uk5TAAtAc6ZeVyCYAAAAAWJLR0QF+G/pxwAAADJJREFUCNdjSHMSYGBgUEljSGYAAzMGBwiDhUEBwmBiEIAwGBnIA3DtcAPhVsAthTkDAFOfBKW9C1iqAAAAAElFTkSuQmCC\");
  1376.         }
  1377.         .tree-details .toggle-icon {
  1378.             width: 16px;
  1379.             height: 16px;
  1380.             /* vertically center the button */
  1381.             position: absolute;
  1382.             top: 50%;
  1383.             margin-top: -9px;
  1384.             margin-left: 6px;
  1385.         }
  1386.         .badge-error {
  1387.             float: right;
  1388.             background: var(--background-error);
  1389.             color: #FFF;
  1390.             padding: 1px 4px;
  1391.             font-size: 10px;
  1392.             font-weight: bold;
  1393.             vertical-align: middle;
  1394.         }
  1395.         .has-error {
  1396.             color: var(--color-error);
  1397.         }
  1398.         .errors h3 {
  1399.             color: var(--color-error);
  1400.         }
  1401.         .errors th {
  1402.             background: var(--background-error);
  1403.             color: #FFF;
  1404.         }
  1405.         .errors .toggle-icon {
  1406.             background-color: var(--background-error);
  1407.         }
  1408.         h3 a, h3 a:hover, h3 a:focus {
  1409.             color: inherit;
  1410.             text-decoration: inherit;
  1411.         }
  1412.         h2 + h3.form-data-type {
  1413.             margin-top: 0;
  1414.         }
  1415.         h3.form-data-type + h3 {
  1416.             margin-top: 1em;
  1417.         }
  1418.         .theme-dark .toggle-icon {
  1419.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAVUExURUdwTH+Ag0lNUZiYmGRmbP///zU5P2n9VV4AAAAFdFJOUwCv+yror0g1sQAAAE1JREFUGNNjSFM0YGBgEEpjSGEAAzcGBQiDiUEAwmBkMIAwmBmwgVAgQGWgA7h2uIFwK+CWwp1BpHtYA6DuATEYkBlY3IOmBq6dCPcAAKMtEEs3tfChAAAAAElFTkSuQmCC');
  1420.         }
  1421.         .theme-dark .toggle-icon.empty {
  1422.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAASUExURUdwTDI3OzQ5PS4uLjU3PzU5P4keoyIAAAAFdFJOUwBApgtzrnKGEwAAADJJREFUCNdjCFU0YGBgEAplCGEAA1cGBQiDiUEAwmBkMIAwmBnIA3DtcAPhVsAthTkDACsZBBmrTTSxAAAAAElFTkSuQmCC');
  1423.         }
  1424.         .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 {
  1425.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAgBAMAAADpp+X/AAAAD1BMVEVHcEx/gIOYmJiZmZn///+IJ2wIAAAAA3RSTlMAryoIUq0uAAAAUElEQVQY02NgYFQ2NjYWYGBgMAYDBgZmCMOAQRjCMGRQhjCMoEqAipAYLkCAykBXA9cONxBuBdxShDOIc4+JM9Q9IIYxMgOLe9DUwLUT4R4AznguG0qfEa0AAAAASUVORK5CYII=');
  1426.             background-color: transparent;
  1427.         }
  1428.         .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 {
  1429.             background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEVHcEwyNzuqqqrd9nIgAAAAAnRSTlMAQABPjKgAAAArSURBVAjXY2BctcqBgWvVqgUMWqtWrWDIWrVqJcMqICCGACsGawMbADIKANflJYEoGMqtAAAAAElFTkSuQmCC');
  1430.             background-color: transparent;
  1431.         }
  1432.     </style>
  1433. {% endblock %}
  1434. {% block panel %}
  1435.     <h2>Forms</h2>
  1436.     {% if collector.data.forms|length %}
  1437.         <div id=\"tree-menu\" class=\"tree\">
  1438.             <ul>
  1439.             {% for formName, formData in collector.data.forms %}
  1440.                 {{ form_tree_entry(formName, formData, true) }}
  1441.             {% endfor %}
  1442.             </ul>
  1443.         </div>
  1444.         <div id=\"tree-details-container\">
  1445.             {% for formName, formData in collector.data.forms %}
  1446.                 {{ form_tree_details(formName, formData, collector.data.forms_by_hash, loop.first) }}
  1447.             {% endfor %}
  1448.         </div>
  1449.     {% else %}
  1450.         <div class=\"empty\">
  1451.             <p>No forms were submitted for this request.</p>
  1452.         </div>
  1453.     {% endif %}
  1454.     <script>
  1455.     function Toggler(storage) {
  1456.         \"use strict\";
  1457.         var STORAGE_KEY = 'sf_toggle_data',
  1458.             states = {},
  1459.             isCollapsed = function (button) {
  1460.                 return Sfjs.hasClass(button, 'closed');
  1461.             },
  1462.             isExpanded = function (button) {
  1463.                 return !isCollapsed(button);
  1464.             },
  1465.             expand = function (button) {
  1466.                 var targetId = button.dataset.toggleTargetId,
  1467.                     target = document.getElementById(targetId);
  1468.                 if (!target) {
  1469.                     throw \"Toggle target \" + targetId + \" does not exist\";
  1470.                 }
  1471.                 if (isCollapsed(button)) {
  1472.                     Sfjs.removeClass(button, 'closed');
  1473.                     Sfjs.removeClass(target, 'hidden');
  1474.                     states[targetId] = 1;
  1475.                     storage.setItem(STORAGE_KEY, states);
  1476.                 }
  1477.             },
  1478.             collapse = function (button) {
  1479.                 var targetId = button.dataset.toggleTargetId,
  1480.                     target = document.getElementById(targetId);
  1481.                 if (!target) {
  1482.                     throw \"Toggle target \" + targetId + \" does not exist\";
  1483.                 }
  1484.                 if (isExpanded(button)) {
  1485.                     Sfjs.addClass(button, 'closed');
  1486.                     Sfjs.addClass(target, 'hidden');
  1487.                     states[targetId] = 0;
  1488.                     storage.setItem(STORAGE_KEY, states);
  1489.                 }
  1490.             },
  1491.             toggle = function (button) {
  1492.                 if (Sfjs.hasClass(button, 'closed')) {
  1493.                     expand(button);
  1494.                 } else {
  1495.                     collapse(button);
  1496.                 }
  1497.             },
  1498.             initButtons = function (buttons) {
  1499.                 states = storage.getItem(STORAGE_KEY, {});
  1500.                 // must be an object, not an array or anything else
  1501.                 // `typeof` returns \"object\" also for arrays, so the following
  1502.                 // check must be done
  1503.                 // see http://stackoverflow.com/questions/4775722/check-if-object-is-array
  1504.                 if ('[object Object]' !== Object.prototype.toString.call(states)) {
  1505.                     states = {};
  1506.                 }
  1507.                 for (var i = 0, l = buttons.length; i < l; ++i) {
  1508.                     var targetId = buttons[i].dataset.toggleTargetId,
  1509.                         target = document.getElementById(targetId);
  1510.                     if (!target) {
  1511.                         throw \"Toggle target \" + targetId + \" does not exist\";
  1512.                     }
  1513.                     // correct the initial state of the button
  1514.                     if (Sfjs.hasClass(target, 'hidden')) {
  1515.                         Sfjs.addClass(buttons[i], 'closed');
  1516.                     }
  1517.                     // attach listener for expanding/collapsing the target
  1518.                     clickHandler(buttons[i], toggle);
  1519.                     if (states.hasOwnProperty(targetId)) {
  1520.                         // open or collapse based on stored data
  1521.                         if (0 === states[targetId]) {
  1522.                             collapse(buttons[i]);
  1523.                         } else {
  1524.                             expand(buttons[i]);
  1525.                         }
  1526.                     }
  1527.                 }
  1528.             };
  1529.         return {
  1530.             initButtons: initButtons,
  1531.             toggle: toggle,
  1532.             isExpanded: isExpanded,
  1533.             isCollapsed: isCollapsed,
  1534.             expand: expand,
  1535.             collapse: collapse
  1536.         };
  1537.     }
  1538.     function JsonStorage(storage) {
  1539.         var setItem = function (key, data) {
  1540.                 storage.setItem(key, JSON.stringify(data));
  1541.             },
  1542.             getItem = function (key, defaultValue) {
  1543.                 var data = storage.getItem(key);
  1544.                 if (null !== data) {
  1545.                     try {
  1546.                         return JSON.parse(data);
  1547.                     } catch(e) {
  1548.                     }
  1549.                 }
  1550.                 return defaultValue;
  1551.             };
  1552.         return {
  1553.             setItem: setItem,
  1554.             getItem: getItem
  1555.         };
  1556.     }
  1557.     function TabView() {
  1558.         \"use strict\";
  1559.         var activeTab = null,
  1560.             activeTarget = null,
  1561.             select = function (tab) {
  1562.                 var targetId = tab.dataset.tabTargetId,
  1563.                     target = document.getElementById(targetId);
  1564.                 if (!target) {
  1565.                     throw \"Tab target \" + targetId + \" does not exist\";
  1566.                 }
  1567.                 if (activeTab) {
  1568.                     Sfjs.removeClass(activeTab, 'active');
  1569.                 }
  1570.                 if (activeTarget) {
  1571.                     Sfjs.addClass(activeTarget, 'hidden');
  1572.                 }
  1573.                 Sfjs.addClass(tab, 'active');
  1574.                 Sfjs.removeClass(target, 'hidden');
  1575.                 activeTab = tab;
  1576.                 activeTarget = target;
  1577.             },
  1578.             initTabs = function (tabs) {
  1579.                 for (var i = 0, l = tabs.length; i < l; ++i) {
  1580.                     var targetId = tabs[i].dataset.tabTargetId,
  1581.                         target = document.getElementById(targetId);
  1582.                     if (!target) {
  1583.                         throw \"Tab target \" + targetId + \" does not exist\";
  1584.                     }
  1585.                     clickHandler(tabs[i], select);
  1586.                     Sfjs.addClass(target, 'hidden');
  1587.                 }
  1588.                 if (tabs.length > 0) {
  1589.                     select(tabs[0]);
  1590.                 }
  1591.             };
  1592.         return {
  1593.             initTabs: initTabs,
  1594.             select: select
  1595.         };
  1596.     }
  1597.     var tabTarget = new TabView(),
  1598.         toggler = new Toggler(new JsonStorage(sessionStorage)),
  1599.         clickHandler = function (element, callback) {
  1600.             Sfjs.addEventListener(element, 'click', function (e) {
  1601.                 if (!e) {
  1602.                     e = window.event;
  1603.                 }
  1604.                 callback(this);
  1605.                 if (e.preventDefault) {
  1606.                     e.preventDefault();
  1607.                 } else {
  1608.                     e.returnValue = false;
  1609.                 }
  1610.                 e.stopPropagation();
  1611.                 return false;
  1612.             });
  1613.         };
  1614.     tabTarget.initTabs(document.querySelectorAll('.tree .tree-inner'));
  1615.     toggler.initButtons(document.querySelectorAll('a.toggle-button'));
  1616.     </script>
  1617. {% endblock %}
  1618. {% macro form_tree_entry(name, data, is_root) %}
  1619.     {% import _self as tree %}
  1620.     {% set has_error = data.errors is defined and data.errors|length > 0 %}
  1621.     <li>
  1622.         <div class=\"tree-inner\" data-tab-target-id=\"{{ data.id }}-details\" title=\"{{ name|default('(no name)') }}\">
  1623.             {% if has_error %}
  1624.                 <div class=\"badge-error\">{{ data.errors|length }}</div>
  1625.             {% endif %}
  1626.             {% if data.children is not empty %}
  1627.                 <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-children\" href=\"#\"><span class=\"toggle-icon\"></span></a>
  1628.             {% else %}
  1629.                 <div class=\"toggle-icon empty\"></div>
  1630.             {% endif %}
  1631.             <span {% if has_error or data.has_children_error|default(false) %}class=\"has-error\"{% endif %}>
  1632.                 {{ name|default('(no name)') }}
  1633.             </span>
  1634.         </div>
  1635.         {% if data.children is not empty %}
  1636.             <ul id=\"{{ data.id }}-children\" {% if not is_root and not data.has_children_error|default(false) %}class=\"hidden\"{% endif %}>
  1637.                 {% for childName, childData in data.children %}
  1638.                     {{ tree.form_tree_entry(childName, childData, false) }}
  1639.                 {% endfor %}
  1640.             </ul>
  1641.         {% endif %}
  1642.     </li>
  1643. {% endmacro %}
  1644. {% macro form_tree_details(name, data, forms_by_hash, show) %}
  1645.     {% import _self as tree %}
  1646.     <div class=\"tree-details{% if not show|default(false) %} hidden{% endif %}\" {% if data.id is defined %}id=\"{{ data.id }}-details\"{% endif %}>
  1647.         <h2>{{ name|default('(no name)') }}</h2>
  1648.         {% if data.type_class is defined %}
  1649.             <h3 class=\"dump-inline form-data-type\">{{ profiler_dump(data.type_class) }}</h3>
  1650.         {% endif %}
  1651.         {% if data.errors is defined and data.errors|length > 0 %}
  1652.         <div class=\"errors\">
  1653.             <h3>
  1654.                 <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-errors\" href=\"#\">
  1655.                     Errors <span class=\"toggle-icon\"></span>
  1656.                 </a>
  1657.             </h3>
  1658.             <table id=\"{{ data.id }}-errors\">
  1659.                 <thead>
  1660.                     <tr>
  1661.                         <th>Message</th>
  1662.                         <th>Origin</th>
  1663.                         <th>Cause</th>
  1664.                     </tr>
  1665.                 </thead>
  1666.                 <tbody>
  1667.                 {% for error in data.errors %}
  1668.                 <tr>
  1669.                     <td>{{ error.message }}</td>
  1670.                     <td>
  1671.                         {% if error.origin is empty %}
  1672.                             <em>This form.</em>
  1673.                         {% elseif forms_by_hash[error.origin] is not defined %}
  1674.                             <em>Unknown.</em>
  1675.                         {% else %}
  1676.                             {{ forms_by_hash[error.origin].name }}
  1677.                         {% endif %}
  1678.                     </td>
  1679.                     <td>
  1680.                         {% if error.trace %}
  1681.                             <span class=\"newline\">Caused by:</span>
  1682.                             {% for stacked in error.trace %}
  1683.                                 {{ profiler_dump(stacked) }}
  1684.                             {% endfor %}
  1685.                         {% else %}
  1686.                             <em>Unknown.</em>
  1687.                         {% endif %}
  1688.                     </td>
  1689.                 </tr>
  1690.                 {% endfor %}
  1691.                 </tbody>
  1692.             </table>
  1693.         </div>
  1694.         {% endif %}
  1695.         {% if data.default_data is defined %}
  1696.         <h3>
  1697.             <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-default_data\" href=\"#\">
  1698.                 Default Data <span class=\"toggle-icon\"></span>
  1699.             </a>
  1700.         </h3>
  1701.         <div id=\"{{ data.id }}-default_data\">
  1702.             <table>
  1703.                 <thead>
  1704.                     <tr>
  1705.                         <th width=\"180\">Property</th>
  1706.                         <th>Value</th>
  1707.                     </tr>
  1708.                 </thead>
  1709.                 <tbody>
  1710.                     <tr>
  1711.                         <th class=\"font-normal\" scope=\"row\">Model Format</th>
  1712.                         <td>
  1713.                             {% if data.default_data.model is defined %}
  1714.                                 {{ profiler_dump(data.default_data.seek('model')) }}
  1715.                             {% else %}
  1716.                                 <em class=\"font-normal text-muted\">same as normalized format</em>
  1717.                             {% endif %}
  1718.                         </td>
  1719.                     </tr>
  1720.                     <tr>
  1721.                         <th class=\"font-normal\" scope=\"row\">Normalized Format</th>
  1722.                         <td>{{ profiler_dump(data.default_data.seek('norm')) }}</td>
  1723.                     </tr>
  1724.                     <tr>
  1725.                         <th class=\"font-normal\" scope=\"row\">View Format</th>
  1726.                         <td>
  1727.                             {% if data.default_data.view is defined %}
  1728.                                 {{ profiler_dump(data.default_data.seek('view')) }}
  1729.                             {% else %}
  1730.                                 <em class=\"font-normal text-muted\">same as normalized format</em>
  1731.                             {% endif %}
  1732.                         </td>
  1733.                     </tr>
  1734.                 </tbody>
  1735.             </table>
  1736.         </div>
  1737.         {% endif %}
  1738.         {% if data.submitted_data is defined %}
  1739.         <h3>
  1740.             <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-submitted_data\" href=\"#\">
  1741.                 Submitted Data <span class=\"toggle-icon\"></span>
  1742.             </a>
  1743.         </h3>
  1744.         <div id=\"{{ data.id }}-submitted_data\">
  1745.         {% if data.submitted_data.norm is defined %}
  1746.             <table>
  1747.                 <thead>
  1748.                     <tr>
  1749.                         <th width=\"180\">Property</th>
  1750.                         <th>Value</th>
  1751.                     </tr>
  1752.                 </thead>
  1753.                 <tbody>
  1754.                     <tr>
  1755.                         <th class=\"font-normal\" scope=\"row\">View Format</th>
  1756.                         <td>
  1757.                             {% if data.submitted_data.view is defined %}
  1758.                                 {{ profiler_dump(data.submitted_data.seek('view')) }}
  1759.                             {% else %}
  1760.                                 <em class=\"font-normal text-muted\">same as normalized format</em>
  1761.                             {% endif %}
  1762.                         </td>
  1763.                     </tr>
  1764.                     <tr>
  1765.                         <th class=\"font-normal\" scope=\"row\">Normalized Format</th>
  1766.                         <td>{{ profiler_dump(data.submitted_data.seek('norm')) }}</td>
  1767.                     </tr>
  1768.                     <tr>
  1769.                         <th class=\"font-normal\" scope=\"row\">Model Format</th>
  1770.                         <td>
  1771.                             {% if data.submitted_data.model is defined %}
  1772.                                 {{ profiler_dump(data.submitted_data.seek('model')) }}
  1773.                             {% else %}
  1774.                                 <em class=\"font-normal text-muted\">same as normalized format</em>
  1775.                             {% endif %}
  1776.                         </td>
  1777.                     </tr>
  1778.                 </tbody>
  1779.             </table>
  1780.         {% else %}
  1781.             <div class=\"empty\">
  1782.                 <p>This form was not submitted.</p>
  1783.             </div>
  1784.         {% endif %}
  1785.         </div>
  1786.         {% endif %}
  1787.         {% if data.passed_options is defined %}
  1788.         <h3>
  1789.             <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-passed_options\" href=\"#\">
  1790.                 Passed Options <span class=\"toggle-icon\"></span>
  1791.             </a>
  1792.         </h3>
  1793.         <div id=\"{{ data.id }}-passed_options\">
  1794.             {% if data.passed_options|length %}
  1795.             <table>
  1796.                 <thead>
  1797.                     <tr>
  1798.                         <th width=\"180\">Option</th>
  1799.                         <th>Passed Value</th>
  1800.                         <th>Resolved Value</th>
  1801.                     </tr>
  1802.                 </thead>
  1803.                 <tbody>
  1804.                 {% for option, value in data.passed_options %}
  1805.                 <tr>
  1806.                     <th>{{ option }}</th>
  1807.                     <td>{{ profiler_dump(value) }}</td>
  1808.                     <td>
  1809.                         {# values can be stubs #}
  1810.                         {% set option_value = value.value|default(value) %}
  1811.                         {% set resolved_option_value = data.resolved_options[option].value|default(data.resolved_options[option]) %}
  1812.                         {% if resolved_option_value == option_value %}
  1813.                             <em class=\"font-normal text-muted\">same as passed value</em>
  1814.                         {% else %}
  1815.                             {{ profiler_dump(data.resolved_options.seek(option)) }}
  1816.                         {% endif %}
  1817.                     </td>
  1818.                 </tr>
  1819.                 {% endfor %}
  1820.                 </tbody>
  1821.             </table>
  1822.             {% else %}
  1823.                 <div class=\"empty\">
  1824.                     <p>No options were passed when constructing this form.</p>
  1825.                 </div>
  1826.             {% endif %}
  1827.         </div>
  1828.         {% endif %}
  1829.         {% if data.resolved_options is defined %}
  1830.         <h3>
  1831.             <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-resolved_options\" href=\"#\">
  1832.                 Resolved Options <span class=\"toggle-icon\"></span>
  1833.             </a>
  1834.         </h3>
  1835.         <div id=\"{{ data.id }}-resolved_options\" class=\"hidden\">
  1836.             <table>
  1837.                 <thead>
  1838.                     <tr>
  1839.                         <th width=\"180\">Option</th>
  1840.                         <th>Value</th>
  1841.                     </tr>
  1842.                 </thead>
  1843.                 <tbody>
  1844.                 {% for option, value in data.resolved_options %}
  1845.                 <tr>
  1846.                     <th scope=\"row\">{{ option }}</th>
  1847.                     <td>{{ profiler_dump(value) }}</td>
  1848.                 </tr>
  1849.                 {% endfor %}
  1850.                 </tbody>
  1851.             </table>
  1852.         </div>
  1853.         {% endif %}
  1854.         {% if data.view_vars is defined %}
  1855.         <h3>
  1856.             <a class=\"toggle-button\" data-toggle-target-id=\"{{ data.id }}-view_vars\" href=\"#\">
  1857.                 View Variables <span class=\"toggle-icon\"></span>
  1858.             </a>
  1859.         </h3>
  1860.         <div id=\"{{ data.id }}-view_vars\" class=\"hidden\">
  1861.             <table>
  1862.                 <thead>
  1863.                     <tr>
  1864.                         <th width=\"180\">Variable</th>
  1865.                         <th>Value</th>
  1866.                     </tr>
  1867.                 </thead>
  1868.                 <tbody>
  1869.                 {% for variable, value in data.view_vars %}
  1870.                 <tr>
  1871.                     <th scope=\"row\">{{ variable }}</th>
  1872.                     <td>{{ profiler_dump(value) }}</td>
  1873.                 </tr>
  1874.                 {% endfor %}
  1875.                 </tbody>
  1876.             </table>
  1877.         </div>
  1878.         {% endif %}
  1879.     </div>
  1880.     {% for childName, childData in data.children %}
  1881.         {{ tree.form_tree_details(childName, childData, forms_by_hash) }}
  1882.     {% endfor %}
  1883. {% endmacro %}
  1884. ""@WebProfiler/Collector/form.html.twig""/var/www/html/courier/vendor/symfony/web-profiler-bundle/Resources/views/Collector/form.html.twig");
  1885.     }
  1886. }