var/cache/review/twig/1c/1c8c4cc74190d998dee8f2ab2b4d52c8.php line 78

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. /* __design/v2023/components/modal/subway.html.twig */
  14. class __TwigTemplate_c0b2dd91531eba9fd53bd2935990b220 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  30.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__design/v2023/components/modal/subway.html.twig"));
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__design/v2023/components/modal/subway.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__design/v2023/components/modal/subway.html.twig"));
  35.         // line 1
  36.         if (($this->extensions['App\Twig\DefaultCityExtension']->defaultCity() == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "attributes", [], "any"falsefalsefalse1), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse1))) {
  37.             // line 2
  38.             echo "<div
  39.       class=\"dialog-container subway-container\"
  40.       id=\"subway-dialog\"
  41.       aria-hidden=\"true\"
  42.       aria-labelledby=\"subway-dialog-title\"
  43.       aria-describedby=\"subway-dialog-description\"
  44.     >
  45. \t\t<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
  46. \t\t<div class=\"dialog-content subway-content d-flex\" role=\"document\">
  47. \t\t\t<div class=\"dialog-heading fw-600 d-flex-c\">
  48. \t\t\t\tПроститутки и индивидуалки по станциям метро
  49. \t\t\t\t<button
  50. \t\t\t\t\tdata-a11y-dialog-hide
  51. \t\t\t\t\tclass=\"dialog-close ml-auto\"
  52. \t\t\t\t\taria-label=\"Close this dialog window\"
  53. \t\t\t\t>
  54. \t\t\t\t\t<svg class=\"svg-icon\" viewBox=\"0 0 20 20\">
  55. \t\t\t\t\t\t<path
  56. \t\t\t\t\t\tfill=\"currentcolor\"
  57. \t\t\t\t\t\td=\"M15.898,4.045c-0.271-0.272-0.713-0.272-0.986,0l-4.71,4.711L5.493,4.045c-0.272-0.272-0.714-0.272-0.986,0s-0.272,0.714,0,0.986l4.709,4.711l-4.71,4.711c-0.272,0.271-0.272,0.713,0,0.986c0.136,0.136,0.314,0.203,0.492,0.203c0.179,0,0.357-0.067,0.493-0.203l4.711-4.711l4.71,4.711c0.137,0.136,0.314,0.203,0.494,0.203c0.178,0,0.355-0.067,0.492-0.203c0.273-0.273,0.273-0.715,0-0.986l-4.711-4.711l4.711-4.711C16.172,4.759,16.172,4.317,15.898,4.045z\"
  58. \t\t\t\t\t\t></path>
  59. \t\t\t\t\t</svg>
  60. \t\t\t\t</button>
  61. \t\t\t</div>
  62. \t\t\t";
  63.             // line 30
  64.             echo "\t\t\t";
  65.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\HttpCacheController::cityStations", ["city" => twig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'30$this->source); })()), "uriIdentity", [], "any"falsefalsefalse30), "_route" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'30$this->source); })()), "request", [], "any"falsefalsefalse30), "get", ["_route"], "method"falsefalsefalse30)]));
  66.             echo "
  67.         </div>
  68.     </div>
  69. </div>
  70. ";
  71.         }
  72.         
  73.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  74.         
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.     }
  79.     /**
  80.      * @codeCoverageIgnore
  81.      */
  82.     public function getTemplateName()
  83.     {
  84.         return "__design/v2023/components/modal/subway.html.twig";
  85.     }
  86.     /**
  87.      * @codeCoverageIgnore
  88.      */
  89.     public function isTraitable()
  90.     {
  91.         return false;
  92.     }
  93.     /**
  94.      * @codeCoverageIgnore
  95.      */
  96.     public function getDebugInfo()
  97.     {
  98.         return array (  77 => 30,  48 => 2,  46 => 1,);
  99.     }
  100.     public function getSourceContext()
  101.     {
  102.         return new Source("{% if default_city() == app.request.attributes.get('city', default_city()) %}
  103. <div
  104.       class=\"dialog-container subway-container\"
  105.       id=\"subway-dialog\"
  106.       aria-hidden=\"true\"
  107.       aria-labelledby=\"subway-dialog-title\"
  108.       aria-describedby=\"subway-dialog-description\"
  109.     >
  110. \t\t<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
  111. \t\t<div class=\"dialog-content subway-content d-flex\" role=\"document\">
  112. \t\t\t<div class=\"dialog-heading fw-600 d-flex-c\">
  113. \t\t\t\tПроститутки и индивидуалки по станциям метро
  114. \t\t\t\t<button
  115. \t\t\t\t\tdata-a11y-dialog-hide
  116. \t\t\t\t\tclass=\"dialog-close ml-auto\"
  117. \t\t\t\t\taria-label=\"Close this dialog window\"
  118. \t\t\t\t>
  119. \t\t\t\t\t<svg class=\"svg-icon\" viewBox=\"0 0 20 20\">
  120. \t\t\t\t\t\t<path
  121. \t\t\t\t\t\tfill=\"currentcolor\"
  122. \t\t\t\t\t\td=\"M15.898,4.045c-0.271-0.272-0.713-0.272-0.986,0l-4.71,4.711L5.493,4.045c-0.272-0.272-0.714-0.272-0.986,0s-0.272,0.714,0,0.986l4.709,4.711l-4.71,4.711c-0.272,0.271-0.272,0.713,0,0.986c0.136,0.136,0.314,0.203,0.492,0.203c0.179,0,0.357-0.067,0.493-0.203l4.711-4.711l4.71,4.711c0.137,0.136,0.314,0.203,0.494,0.203c0.178,0,0.355-0.067,0.492-0.203c0.273-0.273,0.273-0.715,0-0.986l-4.711-4.711l4.711-4.711C16.172,4.759,16.172,4.317,15.898,4.045z\"
  123. \t\t\t\t\t\t></path>
  124. \t\t\t\t\t</svg>
  125. \t\t\t\t</button>
  126. \t\t\t</div>
  127. \t\t\t{# Выбор метро только для москвы #}
  128. \t\t\t{{ render_esi(controller('App\\\\Controller\\\\HttpCacheController::cityStations', {'city': city.uriIdentity,'_route': app.request.get('_route')})) }}
  129.         </div>
  130.     </div>
  131. </div>
  132. {% endif %}""__design/v2023/components/modal/subway.html.twig""/app/templates/__design/v2023/components/modal/subway.html.twig");
  133.     }
  134. }