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

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

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

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

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

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

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

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

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

var/cache/dev/twig/bb/bbde560b743012b23a52ca3767032fa8.php line 55

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. /* @TwigComponent/Collector/twig_component.html.twig */
  14. class __TwigTemplate_d859fe0ab1cf5f22c15971b9d09b796f 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.             'page_title' => [$this'block_page_title'],
  24.             'head' => [$this'block_head'],
  25.             'toolbar' => [$this'block_toolbar'],
  26.             'menu' => [$this'block_menu'],
  27.             'panel' => [$this'block_panel'],
  28.             'table_components' => [$this'block_table_components'],
  29.             'table_renders' => [$this'block_table_renders'],
  30.         ];
  31.         $macros["_self"] = $this->macros["_self"] = $this;
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "@WebProfiler/Profiler/layout.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@TwigComponent/Collector/twig_component.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@TwigComponent/Collector/twig_component.html.twig"));
  45.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig""@TwigComponent/Collector/twig_component.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_page_title($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  60.         echo "Twig Components";
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.         
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65.     }
  66.     // line 5
  67.     public function block_head($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  74.         // line 6
  75.         echo "    ";
  76.         $this->displayParentBlock("head"$context$blocks);
  77.         echo "
  78.     <style>
  79.         .twig-component-dump {
  80.             display: block;
  81.             background: rgba(0, 0, 0, .15);
  82.             --font-size-monospace: 12px;
  83.             font-weight: 400;
  84.             border-radius: 4px;
  85.             padding: 5px;
  86.         }
  87.         .twig-component-metrics {
  88.             margin-block-end: 3rem;
  89.         }
  90.         .twig-component-component {
  91.             margin-block-end: 3rem;
  92.         }
  93.         .twig-component-component th:first-child,
  94.         .twig-component-component td:first-child {
  95.             width: 25%;
  96.         }
  97.         .twig-component-component thead th {
  98.             font-weight: 200;
  99.             vertical-align: middle;
  100.             padding: .75rem 1rem;
  101.         }
  102.         .twig-component-component thead strong {
  103.             font-weight: 600;
  104.             display: block;
  105.         }
  106.         .twig-component-component td {
  107.             vertical-align: middle;
  108.             padding: .75rem 1rem;
  109.         }
  110.         .twig-component-component tbody td.metric {
  111.             text-align: right;
  112.         }
  113.         .twig-component-component thead small,
  114.         .twig-component-component thead strong {
  115.             display: block;
  116.         }
  117.         .twig-component-component .cell-right {
  118.             width: 4rem;
  119.             text-align: right;
  120.         }
  121.         .twig-component-renders {
  122.             margin-bottom: 2rem;
  123.         }
  124.         .twig-component-render {
  125.             margin-left: calc(var(--render-depth) * .5rem);
  126.             width: calc(100% - calc(var(--render-depth) * .5rem));
  127.         }
  128.         .twig-component-render thead th {
  129.             text-align: left;
  130.             border-bottom: none;
  131.             vertical-align: middle;
  132.         }
  133.         .twig-component-render thead tr {
  134.             vertical-align: middle;
  135.             opacity: .9;
  136.         }
  137.         .twig-component-render thead tr:hover {
  138.             opacity: 1;
  139.             cursor: pointer;
  140.         }
  141.         .twig-component-render .sf-toggle .toggle-button {
  142.             color: inherit;
  143.         }
  144.         .twig-component-render .sf-toggle-on .toggle-button {
  145.             transform: rotate(0deg);
  146.             opacity: 1;
  147.             transition: all 150ms ease-in-out;
  148.         }
  149.         .twig-component-render .sf-toggle-off .toggle-button {
  150.             transform: rotate(90deg);
  151.             opacity: .85;
  152.             transition: all 250ms ease-in-out;
  153.         }
  154.         .twig-component-render th:first-child,
  155.         .twig-component-render tr:first-child {
  156.             width: 25%;
  157.         }
  158.         .twig-component-render th,
  159.         .twig-component-render tbody th {
  160.             font-weight: normal;
  161.         }
  162.         .twig-component-render th:first-child {
  163.             font-weight: bolder;
  164.         }
  165.         .twig-component-render th:first-child svg {
  166.             transform: rotate(45deg);
  167.             transform-origin: inherit;
  168.             transform-style: initial;
  169.             width: 1.25rem;
  170.             vertical-align: inherit;
  171.         }
  172.         .twig-component-render th:last-child {
  173.             width: 2rem;
  174.         }
  175.         .twig-component-render th.renderTime {
  176.             width: 4rem;
  177.             font-weight: initial;
  178.         }
  179.         .twig-component-render tbody.sf-toggle-visible {
  180.             display: table-row-group;
  181.             width: inherit;
  182.         }
  183.         .twig-component-render tbody th {
  184.             font-weight: normal !important;
  185.         }
  186.     </style>
  187. ";
  188.         
  189.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  190.         
  191.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  192.     }
  193.     // line 120
  194.     public function block_toolbar($context, array $blocks = [])
  195.     {
  196.         $macros $this->macros;
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  198.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  201.         // line 121
  202.         echo "    ";
  203.         if (twig_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.'121$this->source); })()), "renderCount", [], "any"falsefalsefalse121)) {
  204.             // line 122
  205.             echo "
  206.         ";
  207.             // line 123
  208.             ob_start();
  209.             // line 124
  210.             echo "            ";
  211.             echo twig_source($this->env"@TwigComponent/Collector/icon.svg");
  212.             echo "
  213.             <span class=\"sf-toolbar-value\">";
  214.             // line 125
  215.             echo twig_escape_filter($this->envtwig_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.'125$this->source); })()), "renderCount", [], "any"falsefalsefalse125), "html"nulltrue);
  216.             echo "</span>
  217.             <span class=\"sf-toolbar-info-piece-additional-detail\">
  218.                 <span class=\"sf-toolbar-label\">in</span>
  219.                 <span class=\"sf-toolbar-value\">";
  220.             // line 128
  221.             echo twig_escape_filter($this->envtwig_round(twig_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.'128$this->source); })()), "renderTime", [], "any"falsefalsefalse128)), "html"nulltrue);
  222.             echo "</span>
  223.                 <span class=\"sf-toolbar-label\">ms</span>
  224.             </span>
  225.         ";
  226.             $context["icon"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  227.             // line 132
  228.             echo "
  229.         ";
  230.             // line 133
  231.             ob_start();
  232.             // line 134
  233.             echo "            ";
  234.             $context['_parent'] = $context;
  235.             $context['_seq'] = twig_ensure_traversable(twig_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.'134$this->source); })()), "components", [], "any"falsefalsefalse134));
  236.             foreach ($context['_seq'] as $context["_key"] => $context["_component"]) {
  237.                 // line 135
  238.                 echo "                <div class=\"sf-toolbar-info-piece\">
  239.                     <b class=\"label\">";
  240.                 // line 136
  241.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["_component"], "name", [], "any"falsefalsefalse136), "html"nulltrue);
  242.                 echo "</b>
  243.                     <span class=\"sf-toolbar-status\">";
  244.                 // line 137
  245.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["_component"], "render_count", [], "any"falsefalsefalse137), "html"nulltrue);
  246.                 echo "</span>
  247.                 </div>
  248.             ";
  249.             }
  250.             $_parent $context['_parent'];
  251.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['_component'], $context['_parent'], $context['loop']);
  252.             $context array_intersect_key($context$_parent) + $_parent;
  253.             // line 140
  254.             echo "        ";
  255.             $context["text"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  256.             // line 141
  257.             echo "
  258.         ";
  259.             // line 142
  260.             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.'142$this->source); })())]);
  261.             echo "
  262.     ";
  263.         }
  264.         
  265.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  266.         
  267.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  268.     }
  269.     // line 147
  270.     public function block_menu($context, array $blocks = [])
  271.     {
  272.         $macros $this->macros;
  273.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  274.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  275.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  276.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  277.         // line 148
  278.         echo "    <span class=\"label";
  279.         echo ((twig_test_empty(twig_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.'148$this->source); })()), "components", [], "any"falsefalsefalse148))) ? (" disabled") : (""));
  280.         echo "\">
  281.         <span class=\"icon\">";
  282.         // line 149
  283.         echo twig_source($this->env"@TwigComponent/Collector/icon.svg");
  284.         echo "</span>
  285.         <strong>Twig Components</strong>
  286.     </span>
  287. ";
  288.         
  289.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  290.         
  291.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  292.     }
  293.     // line 154
  294.     public function block_panel($context, array $blocks = [])
  295.     {
  296.         $macros $this->macros;
  297.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  298.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  299.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  300.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  301.         // line 155
  302.         echo "    <h2>Components</h2>
  303.     ";
  304.         // line 156
  305.         if ( !((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "componentCount", [], "any"truetruefalse156)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "componentCount", [], "any"falsefalsefalse156))) : (""))) {
  306.             // line 157
  307.             echo "        <div class=\"empty empty-panel\">
  308.             <p>No component were rendered for this request.</p>
  309.         </div>
  310.     ";
  311.         } else {
  312.             // line 161
  313.             echo "        <section class=\"twig-component-metrics metrics\">
  314.             <div class=\"metric-group\">
  315.                 ";
  316.             // line 163
  317.             echo twig_call_macro($macros["_self"], "macro_metric", [twig_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.'163$this->source); })()), "componentCount", [], "any"falsefalsefalse163), "Twig Components"], 163$context$this->getSourceContext());
  318.             echo "
  319.             </div>
  320.             <div class=\"metric-divider\"></div>
  321.             <div class=\"metric-group\">
  322.                 ";
  323.             // line 167
  324.             echo twig_call_macro($macros["_self"], "macro_metric", [twig_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.'167$this->source); })()), "renderCount", [], "any"falsefalsefalse167), "Render Count"], 167$context$this->getSourceContext());
  325.             echo "
  326.                 ";
  327.             // line 168
  328.             echo twig_call_macro($macros["_self"], "macro_metric", [twig_round(twig_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.'168$this->source); })()), "renderTime", [], "any"falsefalsefalse168)), "Render Time""ms"], 168$context$this->getSourceContext());
  329.             echo "
  330.             </div>
  331.             <div class=\"metric-divider\"></div>
  332.             <div class=\"metric-group\">
  333.                 ";
  334.             // line 172
  335.             echo twig_call_macro($macros["_self"], "macro_metric", [twig_number_format_filter($this->env, ((twig_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.'172$this->source); })()), "peakMemoryUsage", [], "any"falsefalsefalse172) / 1024) / 1024), 1), "Memory Usage""MiB"], 172$context$this->getSourceContext());
  336.             echo "
  337.             </div>
  338.         </section>
  339.         <section class=\"twig-component-components\">
  340.             <h3>Components</h3>
  341.             ";
  342.             // line 177
  343.             $this->displayBlock("table_components"$context$blocks);
  344.             echo "
  345.         </section>
  346.         <section class=\"twig-component-renders\">
  347.             <h3>Render calls</h3>
  348.             ";
  349.             // line 181
  350.             $this->displayBlock("table_renders"$context$blocks);
  351.             echo "
  352.         </section>
  353.     ";
  354.         }
  355.         
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  357.         
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  359.     }
  360.     // line 200
  361.     public function block_table_components($context, array $blocks = [])
  362.     {
  363.         $macros $this->macros;
  364.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  365.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_components"));
  366.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  367.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_components"));
  368.         // line 201
  369.         echo "    <table class=\"twig-component-component\">
  370.         <thead>
  371.         <tr>
  372.             <th class=\"key\">
  373.                 <strong>Name</strong>
  374.             </th>
  375.             <th>
  376.                 <strong>Metadata</strong>
  377.             </th>
  378.             <th class=\"cell-right\">
  379.                 <small>Render</small>
  380.                 <strong>Count</strong>
  381.             </th>
  382.             <th class=\"cell-right\">
  383.                 <small>Render</small>
  384.                 <strong>Time</strong>
  385.             </th>
  386.         </tr>
  387.         </thead>
  388.         <tbody>
  389.             ";
  390.         // line 221
  391.         $context['_parent'] = $context;
  392.         $context['_seq'] = twig_ensure_traversable(twig_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); })()), "components", [], "any"falsefalsefalse221));
  393.         foreach ($context['_seq'] as $context["_key"] => $context["component"]) {
  394.             // line 222
  395.             echo "                <tr>
  396.                     <td>";
  397.             // line 223
  398.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["component"], "name", [], "any"falsefalsefalse223), "html"nulltrue);
  399.             echo "</td>
  400.                     <td>
  401.                         ";
  402.             // line 225
  403.             if ((twig_get_attribute($this->env$this->source$context["component"], "class", [], "any"falsefalsefalse225) == "Symfony\\UX\\TwigComponent\\AnonymousComponent")) {
  404.                 // line 226
  405.                 echo "                            <pre class=\"sf-dump\"><span class=\"text-muted\">[Anonymous]</span></pre>
  406.                         ";
  407.             } else {
  408.                 // line 228
  409.                 echo "                            ";
  410.                 echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["component"], "class_stub", [], "any"falsefalsefalse228));
  411.                 echo "
  412.                         ";
  413.             }
  414.             // line 230
  415.             echo "                        ";
  416.             if (twig_get_attribute($this->env$this->source$context["component"], "template_path", [], "any"falsefalsefalse230)) {
  417.                 // line 231
  418.                 echo "                            <a class=text-muted\" href=\"";
  419.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env$this->source$context["component"], "template_path", [], "any"falsefalsefalse231), 1), "html"nulltrue);
  420.                 echo "\">";
  421.                 // line 232
  422.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["component"], "template", [], "any"falsefalsefalse232), "html"nulltrue);
  423.                 // line 233
  424.                 echo "</a>
  425.                         ";
  426.             } else {
  427.                 // line 235
  428.                 echo "                            <span class=text-muted\">";
  429.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["component"], "template", [], "any"falsefalsefalse235), "html"nulltrue);
  430.                 echo "</span>
  431.                         ";
  432.             }
  433.             // line 237
  434.             echo "                    </td>
  435.                     <td class=\"cell-right\">";
  436.             // line 238
  437.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["component"], "render_count", [], "any"falsefalsefalse238), "html"nulltrue);
  438.             echo "</td>
  439.                     <td class=\"cell-right\">";
  440.             // line 240
  441.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["component"], "render_time", [], "any"falsefalsefalse240), 2), "html"nulltrue);
  442.             // line 241
  443.             echo "<span class=\"text-muted text-small\">ms</span>
  444.                     </td>
  445.                 </tr>
  446.             ";
  447.         }
  448.         $_parent $context['_parent'];
  449.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['component'], $context['_parent'], $context['loop']);
  450.         $context array_intersect_key($context$_parent) + $_parent;
  451.         // line 245
  452.         echo "        </tbody>
  453.     </table>
  454. ";
  455.         
  456.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  457.         
  458.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  459.     }
  460.     // line 249
  461.     public function block_table_renders($context, array $blocks = [])
  462.     {
  463.         $macros $this->macros;
  464.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  465.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_renders"));
  466.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  467.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_renders"));
  468.         // line 250
  469.         echo "    <div class=\"twig-component-renders\">
  470.         ";
  471.         // line 251
  472.         $context["_memory"] = null;
  473.         // line 252
  474.         echo "        ";
  475.         $context['_parent'] = $context;
  476.         $context['_seq'] = twig_ensure_traversable(twig_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.'252$this->source); })()), "renders", [], "any"falsefalsefalse252));
  477.         $context['loop'] = [
  478.           'parent' => $context['_parent'],
  479.           'index0' => 0,
  480.           'index'  => 1,
  481.           'first'  => true,
  482.         ];
  483.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  484.             $length count($context['_seq']);
  485.             $context['loop']['revindex0'] = $length 1;
  486.             $context['loop']['revindex'] = $length;
  487.             $context['loop']['length'] = $length;
  488.             $context['loop']['last'] = === $length;
  489.         }
  490.         foreach ($context['_seq'] as $context["_key"] => $context["render"]) {
  491.             // line 253
  492.             echo "            <table class=\"twig-component-render\" style=\"--render-depth:";
  493.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["render"], "depth", [], "any"falsefalsefalse253), "html"nulltrue);
  494.             echo ";\">
  495.                 <thead
  496.                     class=\"sf-toggle ";
  497.             // line 255
  498.             echo (((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse255) == 1)) ? ("sf-toggle-on") : ("sf-toggle-off"));
  499.             echo "\"
  500.                    data-toggle-selector=\"#render-";
  501.             // line 256
  502.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse256), "html"nulltrue);
  503.             echo "--details\"
  504.                    data-toggle-initial=\"";
  505.             // line 257
  506.             echo (((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse257) == 1)) ? ("display") : (""));
  507.             echo "\"
  508.                 >
  509.                     <tr>
  510.                         <th class=\"key\">";
  511.             // line 260
  512.             echo ((twig_get_attribute($this->env$this->source$context["render"], "depth", [], "any"falsefalsefalse260)) ? (twig_source($this->env"@TwigComponent/Collector/chevron-down.svg")) : (""));
  513.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["render"], "name", [], "any"falsefalsefalse260), "html"nulltrue);
  514.             echo "</th>
  515.                         <th>
  516.                             ";
  517.             // line 262
  518.             if ((twig_get_attribute($this->env$this->source$context["render"], "class", [], "any"falsefalsefalse262) == "Symfony\\UX\\TwigComponent\\AnonymousComponent")) {
  519.                 // line 263
  520.                 echo "                                <pre class=\"sf-dump\"><span class=\"text-muted\">[Anonymous]</span></pre>
  521.                             ";
  522.             } else {
  523.                 // line 265
  524.                 echo "                                ";
  525.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["render"], "class", [], "any"falsefalsefalse265), "html"nulltrue);
  526.                 echo "
  527.                             ";
  528.             }
  529.             // line 267
  530.             echo "                        </th>
  531.                         <th class=\"cell-right renderTime\">
  532.                             ";
  533.             // line 269
  534.             $context["_render_memory"] = ((((twig_get_attribute($this->env$this->source$context["render"], "render_memory", [], "any"truetruefalse269)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["render"], "render_memory", [], "any"falsefalsefalse269), 0)) : (0)) / 1024) / 1024);
  535.             // line 270
  536.             echo "                            <span class=\"";
  537.             echo ((((isset($context["_render_memory"]) || array_key_exists("_render_memory"$context) ? $context["_render_memory"] : (function () { throw new RuntimeError('Variable "_render_memory" does not exist.'270$this->source); })()) == (isset($context["_memory"]) || array_key_exists("_memory"$context) ? $context["_memory"] : (function () { throw new RuntimeError('Variable "_memory" does not exist.'270$this->source); })()))) ? ("text-muted") : (""));
  538.             echo "\">";
  539.             // line 271
  540.             echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["_render_memory"]) || array_key_exists("_render_memory"$context) ? $context["_render_memory"] : (function () { throw new RuntimeError('Variable "_render_memory" does not exist.'271$this->source); })()), 1), "html"nulltrue);
  541.             // line 272
  542.             echo "</span>
  543.                             <span class=\"text-muted text-small\">MiB</span>
  544.                             ";
  545.             // line 274
  546.             $context["_memory"] = (isset($context["_render_memory"]) || array_key_exists("_render_memory"$context) ? $context["_render_memory"] : (function () { throw new RuntimeError('Variable "_render_memory" does not exist.'274$this->source); })());
  547.             // line 275
  548.             echo "                        </th>
  549.                         <th class=\"cell-right renderTime\">
  550.                             ";
  551.             // line 277
  552.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["render"], "render_time", [], "any"falsefalsefalse277), 2), "html"nulltrue);
  553.             echo "
  554.                             <span class=\"text-muted text-small\">ms</span>
  555.                         </th>
  556.                         <th class=\"cell-right\">
  557.                             <button class=\"btn btn-link toggle-button\" type=\"button\" aria-label=\"Toggle details\">
  558.                                 ";
  559.             // line 282
  560.             echo twig_source($this->env"@TwigComponent/Collector/chevron-down.svg");
  561.             echo "
  562.                             </button>
  563.                         </th>
  564.                     </tr>
  565.                 </thead>
  566.                 <tbody id=\"render-";
  567.             // line 287
  568.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse287), "html"nulltrue);
  569.             echo "--details\">
  570.                     <tr class=\"";
  571.             // line 288
  572.             echo (( !((twig_get_attribute($this->env$this->source$context["render"], "input_props", [], "any"truetruefalse288)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["render"], "input_props", [], "any"falsefalsefalse288))) : (""))) ? ("opacity-50") : (""));
  573.             echo "\">
  574.                         <th scope=\"row\">Input props</th>
  575.                         <td colspan=\"4\">";
  576.             // line 290
  577.             echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["render"], "input_props", [], "any"falsefalsefalse290));
  578.             echo "</td>
  579.                     </tr>
  580.                     <tr class=\"";
  581.             // line 292
  582.             echo (( !((twig_get_attribute($this->env$this->source$context["render"], "attributes", [], "any"truetruefalse292)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["render"], "attributes", [], "any"falsefalsefalse292))) : (""))) ? ("opacity-50") : (""));
  583.             echo "\">
  584.                         <th scope=\"row\">Attributes</th>
  585.                         <td colspan=\"4\">";
  586.             // line 294
  587.             echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["render"], "attributes", [], "any"falsefalsefalse294));
  588.             echo "</td>
  589.                     </tr>
  590.                     <tr>
  591.                         <th scope=\"row\">Component</th>
  592.                         <td colspan=\"4\">";
  593.             // line 298
  594.             echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["render"], "component", [], "any"falsefalsefalse298));
  595.             echo "</td>
  596.                     </tr>
  597.                 </tbody>
  598.             </table>
  599.         ";
  600.             ++$context['loop']['index0'];
  601.             ++$context['loop']['index'];
  602.             $context['loop']['first'] = false;
  603.             if (isset($context['loop']['length'])) {
  604.                 --$context['loop']['revindex0'];
  605.                 --$context['loop']['revindex'];
  606.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  607.             }
  608.         }
  609.         $_parent $context['_parent'];
  610.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['render'], $context['_parent'], $context['loop']);
  611.         $context array_intersect_key($context$_parent) + $_parent;
  612.         // line 303
  613.         echo "    </div>
  614. ";
  615.         
  616.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  617.         
  618.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  619.     }
  620.     // line 186
  621.     public function macro_metric($__value__ null$__label__ null$__unit__ "", ...$__varargs__)
  622.     {
  623.         $macros $this->macros;
  624.         $context $this->env->mergeGlobals([
  625.             "value" => $__value__,
  626.             "label" => $__label__,
  627.             "unit" => $__unit__,
  628.             "varargs" => $__varargs__,
  629.         ]);
  630.         $blocks = [];
  631.         ob_start();
  632.         try {
  633.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  634.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""metric"));
  635.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  636.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""metric"));
  637.             // line 187
  638.             echo "    <div class=\"metric\">
  639.         <span class=\"value\">
  640.             ";
  641.             // line 189
  642.             echo twig_escape_filter($this->env, (isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'189$this->source); })()), "html"nulltrue);
  643.             echo "
  644.             ";
  645.             // line 190
  646.             if ((isset($context["unit"]) || array_key_exists("unit"$context) ? $context["unit"] : (function () { throw new RuntimeError('Variable "unit" does not exist.'190$this->source); })())) {
  647.                 // line 191
  648.                 echo "                <span class=\"unit text-small\">";
  649.                 echo twig_escape_filter($this->env, (isset($context["unit"]) || array_key_exists("unit"$context) ? $context["unit"] : (function () { throw new RuntimeError('Variable "unit" does not exist.'191$this->source); })()), "html"nulltrue);
  650.                 echo "</span>
  651.             ";
  652.             }
  653.             // line 193
  654.             echo "        </span>
  655.         <span class=\"label\">";
  656.             // line 195
  657.             echo twig_escape_filter($this->env, (isset($context["label"]) || array_key_exists("label"$context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.'195$this->source); })()), "html"nulltrue);
  658.             // line 196
  659.             echo "</span>
  660.     </div>
  661. ";
  662.             
  663.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  664.             
  665.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  666.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  667.         } finally {
  668.             ob_end_clean();
  669.         }
  670.     }
  671.     /**
  672.      * @codeCoverageIgnore
  673.      */
  674.     public function getTemplateName()
  675.     {
  676.         return "@TwigComponent/Collector/twig_component.html.twig";
  677.     }
  678.     /**
  679.      * @codeCoverageIgnore
  680.      */
  681.     public function isTraitable()
  682.     {
  683.         return false;
  684.     }
  685.     /**
  686.      * @codeCoverageIgnore
  687.      */
  688.     public function getDebugInfo()
  689.     {
  690.         return array (  713 => 196,  711 => 195,  708 => 193,  702 => 191,  700 => 190,  696 => 189,  692 => 187,  671 => 186,  660 => 303,  641 => 298,  634 => 294,  629 => 292,  624 => 290,  619 => 288,  615 => 287,  607 => 282,  599 => 277,  595 => 275,  593 => 274,  589 => 272,  587 => 271,  583 => 270,  581 => 269,  577 => 267,  571 => 265,  567 => 263,  565 => 262,  559 => 260,  553 => 257,  549 => 256,  545 => 255,  539 => 253,  521 => 252,  519 => 251,  516 => 250,  506 => 249,  494 => 245,  485 => 241,  483 => 240,  479 => 238,  476 => 237,  470 => 235,  466 => 233,  464 => 232,  460 => 231,  457 => 230,  451 => 228,  447 => 226,  445 => 225,  440 => 223,  437 => 222,  433 => 221,  411 => 201,  401 => 200,  387 => 181,  380 => 177,  372 => 172,  365 => 168,  361 => 167,  354 => 163,  350 => 161,  344 => 157,  342 => 156,  339 => 155,  329 => 154,  315 => 149,  310 => 148,  300 => 147,  286 => 142,  283 => 141,  280 => 140,  271 => 137,  267 => 136,  264 => 135,  259 => 134,  257 => 133,  254 => 132,  247 => 128,  241 => 125,  236 => 124,  234 => 123,  231 => 122,  228 => 121,  218 => 120,  94 => 6,  84 => 5,  65 => 3,  42 => 1,);
  691.     }
  692.     public function getSourceContext()
  693.     {
  694.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  695. {% block page_title 'Twig Components' %}
  696. {% block head %}
  697.     {{ parent() }}
  698.     <style>
  699.         .twig-component-dump {
  700.             display: block;
  701.             background: rgba(0, 0, 0, .15);
  702.             --font-size-monospace: 12px;
  703.             font-weight: 400;
  704.             border-radius: 4px;
  705.             padding: 5px;
  706.         }
  707.         .twig-component-metrics {
  708.             margin-block-end: 3rem;
  709.         }
  710.         .twig-component-component {
  711.             margin-block-end: 3rem;
  712.         }
  713.         .twig-component-component th:first-child,
  714.         .twig-component-component td:first-child {
  715.             width: 25%;
  716.         }
  717.         .twig-component-component thead th {
  718.             font-weight: 200;
  719.             vertical-align: middle;
  720.             padding: .75rem 1rem;
  721.         }
  722.         .twig-component-component thead strong {
  723.             font-weight: 600;
  724.             display: block;
  725.         }
  726.         .twig-component-component td {
  727.             vertical-align: middle;
  728.             padding: .75rem 1rem;
  729.         }
  730.         .twig-component-component tbody td.metric {
  731.             text-align: right;
  732.         }
  733.         .twig-component-component thead small,
  734.         .twig-component-component thead strong {
  735.             display: block;
  736.         }
  737.         .twig-component-component .cell-right {
  738.             width: 4rem;
  739.             text-align: right;
  740.         }
  741.         .twig-component-renders {
  742.             margin-bottom: 2rem;
  743.         }
  744.         .twig-component-render {
  745.             margin-left: calc(var(--render-depth) * .5rem);
  746.             width: calc(100% - calc(var(--render-depth) * .5rem));
  747.         }
  748.         .twig-component-render thead th {
  749.             text-align: left;
  750.             border-bottom: none;
  751.             vertical-align: middle;
  752.         }
  753.         .twig-component-render thead tr {
  754.             vertical-align: middle;
  755.             opacity: .9;
  756.         }
  757.         .twig-component-render thead tr:hover {
  758.             opacity: 1;
  759.             cursor: pointer;
  760.         }
  761.         .twig-component-render .sf-toggle .toggle-button {
  762.             color: inherit;
  763.         }
  764.         .twig-component-render .sf-toggle-on .toggle-button {
  765.             transform: rotate(0deg);
  766.             opacity: 1;
  767.             transition: all 150ms ease-in-out;
  768.         }
  769.         .twig-component-render .sf-toggle-off .toggle-button {
  770.             transform: rotate(90deg);
  771.             opacity: .85;
  772.             transition: all 250ms ease-in-out;
  773.         }
  774.         .twig-component-render th:first-child,
  775.         .twig-component-render tr:first-child {
  776.             width: 25%;
  777.         }
  778.         .twig-component-render th,
  779.         .twig-component-render tbody th {
  780.             font-weight: normal;
  781.         }
  782.         .twig-component-render th:first-child {
  783.             font-weight: bolder;
  784.         }
  785.         .twig-component-render th:first-child svg {
  786.             transform: rotate(45deg);
  787.             transform-origin: inherit;
  788.             transform-style: initial;
  789.             width: 1.25rem;
  790.             vertical-align: inherit;
  791.         }
  792.         .twig-component-render th:last-child {
  793.             width: 2rem;
  794.         }
  795.         .twig-component-render th.renderTime {
  796.             width: 4rem;
  797.             font-weight: initial;
  798.         }
  799.         .twig-component-render tbody.sf-toggle-visible {
  800.             display: table-row-group;
  801.             width: inherit;
  802.         }
  803.         .twig-component-render tbody th {
  804.             font-weight: normal !important;
  805.         }
  806.     </style>
  807. {% endblock %}
  808. {% block toolbar %}
  809.     {% if collector.renderCount %}
  810.         {% set icon %}
  811.             {{ source('@TwigComponent/Collector/icon.svg') }}
  812.             <span class=\"sf-toolbar-value\">{{ collector.renderCount }}</span>
  813.             <span class=\"sf-toolbar-info-piece-additional-detail\">
  814.                 <span class=\"sf-toolbar-label\">in</span>
  815.                 <span class=\"sf-toolbar-value\">{{ collector.renderTime|round }}</span>
  816.                 <span class=\"sf-toolbar-label\">ms</span>
  817.             </span>
  818.         {% endset %}
  819.         {% set text %}
  820.             {% for _component in collector.components %}
  821.                 <div class=\"sf-toolbar-info-piece\">
  822.                     <b class=\"label\">{{ _component.name }}</b>
  823.                     <span class=\"sf-toolbar-status\">{{ _component.render_count }}</span>
  824.                 </div>
  825.             {% endfor %}
  826.         {% endset %}
  827.         {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', {link: profiler_url}) }}
  828.     {% endif %}
  829. {% endblock %}
  830. {% block menu %}
  831.     <span class=\"label{{ collector.components is empty ? ' disabled' }}\">
  832.         <span class=\"icon\">{{ source('@TwigComponent/Collector/icon.svg') }}</span>
  833.         <strong>Twig Components</strong>
  834.     </span>
  835. {% endblock %}
  836. {% block panel %}
  837.     <h2>Components</h2>
  838.     {% if not collector.componentCount|default %}
  839.         <div class=\"empty empty-panel\">
  840.             <p>No component were rendered for this request.</p>
  841.         </div>
  842.     {% else %}
  843.         <section class=\"twig-component-metrics metrics\">
  844.             <div class=\"metric-group\">
  845.                 {{ _self.metric(collector.componentCount, \"Twig Components\") }}
  846.             </div>
  847.             <div class=\"metric-divider\"></div>
  848.             <div class=\"metric-group\">
  849.                 {{ _self.metric(collector.renderCount, \"Render Count\") }}
  850.                 {{ _self.metric(collector.renderTime|round, \"Render Time\", \"ms\") }}
  851.             </div>
  852.             <div class=\"metric-divider\"></div>
  853.             <div class=\"metric-group\">
  854.                 {{ _self.metric((collector.peakMemoryUsage / 1024 / 1024)|number_format(1), \"Memory Usage\", \"MiB\") }}
  855.             </div>
  856.         </section>
  857.         <section class=\"twig-component-components\">
  858.             <h3>Components</h3>
  859.             {{ block('table_components') }}
  860.         </section>
  861.         <section class=\"twig-component-renders\">
  862.             <h3>Render calls</h3>
  863.             {{ block('table_renders') }}
  864.         </section>
  865.     {% endif %}
  866. {% endblock %}
  867. {% macro metric(value, label, unit = '') %}
  868.     <div class=\"metric\">
  869.         <span class=\"value\">
  870.             {{ value }}
  871.             {% if unit %}
  872.                 <span class=\"unit text-small\">{{ unit }}</span>
  873.             {% endif %}
  874.         </span>
  875.         <span class=\"label\">
  876.             {{- label -}}
  877.         </span>
  878.     </div>
  879. {% endmacro %}
  880. {% block table_components %}
  881.     <table class=\"twig-component-component\">
  882.         <thead>
  883.         <tr>
  884.             <th class=\"key\">
  885.                 <strong>Name</strong>
  886.             </th>
  887.             <th>
  888.                 <strong>Metadata</strong>
  889.             </th>
  890.             <th class=\"cell-right\">
  891.                 <small>Render</small>
  892.                 <strong>Count</strong>
  893.             </th>
  894.             <th class=\"cell-right\">
  895.                 <small>Render</small>
  896.                 <strong>Time</strong>
  897.             </th>
  898.         </tr>
  899.         </thead>
  900.         <tbody>
  901.             {% for component in collector.components %}
  902.                 <tr>
  903.                     <td>{{ component.name }}</td>
  904.                     <td>
  905.                         {% if component.class == 'Symfony\\\\UX\\\\TwigComponent\\\\AnonymousComponent' %}
  906.                             <pre class=\"sf-dump\"><span class=\"text-muted\">[Anonymous]</span></pre>
  907.                         {% else %}
  908.                             {{ profiler_dump(component.class_stub) }}
  909.                         {% endif %}
  910.                         {% if component.template_path %}
  911.                             <a class=text-muted\" href=\"{{ component.template_path|file_link(1) }}\">
  912.                                 {{- component.template -}}
  913.                             </a>
  914.                         {% else %}
  915.                             <span class=text-muted\">{{ component.template }}</span>
  916.                         {% endif %}
  917.                     </td>
  918.                     <td class=\"cell-right\">{{ component.render_count }}</td>
  919.                     <td class=\"cell-right\">
  920.                         {{- component.render_time|number_format(2) -}}
  921.                         <span class=\"text-muted text-small\">ms</span>
  922.                     </td>
  923.                 </tr>
  924.             {% endfor %}
  925.         </tbody>
  926.     </table>
  927. {% endblock %}
  928. {% block table_renders %}
  929.     <div class=\"twig-component-renders\">
  930.         {% set _memory = null %}
  931.         {% for render in collector.renders %}
  932.             <table class=\"twig-component-render\" style=\"--render-depth:{{ render.depth }};\">
  933.                 <thead
  934.                     class=\"sf-toggle {{ loop.index == 1 ? 'sf-toggle-on' : 'sf-toggle-off' }}\"
  935.                    data-toggle-selector=\"#render-{{ loop.index }}--details\"
  936.                    data-toggle-initial=\"{{ loop.index == 1 ? 'display' }}\"
  937.                 >
  938.                     <tr>
  939.                         <th class=\"key\">{{ render.depth ? source('@TwigComponent/Collector/chevron-down.svg') }}{{ render.name }}</th>
  940.                         <th>
  941.                             {% if render.class == 'Symfony\\\\UX\\\\TwigComponent\\\\AnonymousComponent' %}
  942.                                 <pre class=\"sf-dump\"><span class=\"text-muted\">[Anonymous]</span></pre>
  943.                             {% else %}
  944.                                 {{ render.class }}
  945.                             {% endif %}
  946.                         </th>
  947.                         <th class=\"cell-right renderTime\">
  948.                             {% set _render_memory = render.render_memory|default(0) / 1024 / 1024 %}
  949.                             <span class=\"{{ _render_memory == _memory ? 'text-muted' }}\">
  950.                                 {{- _render_memory|number_format(1) -}}
  951.                             </span>
  952.                             <span class=\"text-muted text-small\">MiB</span>
  953.                             {% set _memory = _render_memory %}
  954.                         </th>
  955.                         <th class=\"cell-right renderTime\">
  956.                             {{ render.render_time|number_format(2) }}
  957.                             <span class=\"text-muted text-small\">ms</span>
  958.                         </th>
  959.                         <th class=\"cell-right\">
  960.                             <button class=\"btn btn-link toggle-button\" type=\"button\" aria-label=\"Toggle details\">
  961.                                 {{ source('@TwigComponent/Collector/chevron-down.svg') }}
  962.                             </button>
  963.                         </th>
  964.                     </tr>
  965.                 </thead>
  966.                 <tbody id=\"render-{{ loop.index }}--details\">
  967.                     <tr class=\"{{ not render.input_props|default ? 'opacity-50' }}\">
  968.                         <th scope=\"row\">Input props</th>
  969.                         <td colspan=\"4\">{{ profiler_dump(render.input_props) }}</td>
  970.                     </tr>
  971.                     <tr class=\"{{ not render.attributes|default ? 'opacity-50' }}\">
  972.                         <th scope=\"row\">Attributes</th>
  973.                         <td colspan=\"4\">{{ profiler_dump(render.attributes) }}</td>
  974.                     </tr>
  975.                     <tr>
  976.                         <th scope=\"row\">Component</th>
  977.                         <td colspan=\"4\">{{ profiler_dump(render.component) }}</td>
  978.                     </tr>
  979.                 </tbody>
  980.             </table>
  981.         {% endfor %}
  982.     </div>
  983. {% endblock %}
  984. ""@TwigComponent/Collector/twig_component.html.twig""/var/www/html/t/taurushr/vendor/symfony/ux-twig-component/templates/Collector/twig_component.html.twig");
  985.     }
  986. }