var/cache/dev/twig/0b/0b49a8347446de107129e24f08866622.php line 59

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @DcSite/Toyota/Service/sign-in.html.twig */
  16. class __TwigTemplate_ced6afcfa4b9b51833ed7a7f4b3265a4 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'seo' => [$this'block_seo'],
  29.             'ogtagDynamic' => [$this'block_ogtagDynamic'],
  30.             'css' => [$this'block_css'],
  31.             'head' => [$this'block_head'],
  32.             'socialPreview' => [$this'block_socialPreview'],
  33.             'content' => [$this'block_content'],
  34.             'pageJS' => [$this'block_pageJS'],
  35.         ];
  36.     }
  37.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  38.     {
  39.         // line 1
  40.         return "@DcSite/Toyota/base.html.twig";
  41.     }
  42.     protected function doDisplay(array $context, array $blocks = []): iterable
  43.     {
  44.         $macros $this->macros;
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DcSite/Toyota/Service/sign-in.html.twig"));
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DcSite/Toyota/Service/sign-in.html.twig"));
  49.         $this->parent $this->load("@DcSite/Toyota/base.html.twig"1);
  50.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  51.         
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53.         
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55.     }
  56.     // line 2
  57.     /**
  58.      * @return iterable<null|scalar|\Stringable>
  59.      */
  60.     public function block_seo(array $context, array $blocks = []): iterable
  61.     {
  62.         $macros $this->macros;
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  67.         // line 3
  68.         yield "    <title>";
  69.         yield (((CoreExtension::getAttribute($this->env$this->source, ($context["seoMeta"] ?? null), "title", [], "any"truetruefalse3) &&  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'3$this->source); })()), "title", [], "any"falsefalsefalse3)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'3$this->source); })()), "title", [], "any"falsefalsefalse3), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.service.sign_in.seo_title", [], "dc_toyota"), "html"nulltrue)));
  70.         yield "</title>
  71.     <meta name=\"description\" content=\"";
  72.         // line 4
  73.         yield (((CoreExtension::getAttribute($this->env$this->source, ($context["seoMeta"] ?? null), "description", [], "any"truetruefalse4) &&  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'4$this->source); })()), "description", [], "any"falsefalsefalse4)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'4$this->source); })()), "description", [], "any"falsefalsefalse4), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.service.sign_in.seo_desc", [], "dc_toyota"), "html"nulltrue)));
  74.         yield "\" />
  75.     <meta name=\"keywords\"  content=\"";
  76.         // line 5
  77.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.service.sign_in.seo_key", [], "dc_toyota"), "html"nulltrue);
  78.         yield "\" />
  79.     ";
  80.         // line 6
  81.         if ((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'6$this->source); })()), "request", [], "any"falsefalsefalse6), "get", ["serviceType"], "method"falsefalsefalse6)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  82.             // line 7
  83.             yield "        <meta name=\"robots\" content=\"noindex\" />
  84.     ";
  85.         }
  86.         
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  88.         
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  90.         yield from [];
  91.     }
  92.     // line 11
  93.     /**
  94.      * @return iterable<null|scalar|\Stringable>
  95.      */
  96.     public function block_ogtagDynamic(array $context, array $blocks = []): iterable
  97.     {
  98.         $macros $this->macros;
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtagDynamic"));
  101.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtagDynamic"));
  103.         // line 12
  104.         yield "    <meta property=\"og:title\" content=\"";
  105.         yield (((CoreExtension::getAttribute($this->env$this->source, ($context["seoMeta"] ?? null), "title", [], "any"truetruefalse12) &&  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'12$this->source); })()), "title", [], "any"falsefalsefalse12)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'12$this->source); })()), "title", [], "any"falsefalsefalse12), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.service.sign_in.seo_title", [], "dc_toyota"), "html"nulltrue)));
  106.         yield "\"/>
  107.     <meta property=\"og:description\" content=\"";
  108.         // line 13
  109.         yield (((CoreExtension::getAttribute($this->env$this->source, ($context["seoMeta"] ?? null), "description", [], "any"truetruefalse13) &&  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'13$this->source); })()), "description", [], "any"falsefalsefalse13)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'13$this->source); })()), "description", [], "any"falsefalsefalse13), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.service.sign_in.seo_desc", [], "dc_toyota"), "html"nulltrue)));
  110.         yield "\"/>
  111. ";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.         yield from [];
  117.     }
  118.     // line 16
  119.     /**
  120.      * @return iterable<null|scalar|\Stringable>
  121.      */
  122.     public function block_css(array $context, array $blocks = []): iterable
  123.     {
  124.         $macros $this->macros;
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  129.         // line 17
  130.         yield "    <link type=\"text/css\" media=\"all\" href=\"";
  131.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/dcsite/css/toyota/service/sign-in.css"), "html"nulltrue);
  132.         yield "\" rel=\"stylesheet\"/>
  133.     <link rel=\"stylesheet\" href=\"";
  134.         // line 18
  135.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/css/modules/base-style/form-control.css"), "html"nulltrue);
  136.         yield "\">
  137.     <link rel=\"stylesheet\" href=\"";
  138.         // line 19
  139.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/core/css/modules/slick/slick.css"), "html"nulltrue);
  140.         yield "\">
  141.     <link rel=\"stylesheet\" href=\"";
  142.         // line 20
  143.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/css/toyota/modules/service-widget.css"), "html"nulltrue);
  144.         yield "\">
  145.     <link rel='stylesheet' type='text/css' href='";
  146.         // line 21
  147.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/insurance/css/jquery.mCustomScrollbar.css"), "html"nulltrue);
  148.         yield "'  />
  149.     <link type=\"text/css\" media=\"all\" href=\"";
  150.         // line 23
  151.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/dcsite/css/toyota/service/reg-to.css"), "html"nulltrue);
  152.         yield "\" rel=\"stylesheet\"/>
  153.     <link type=\"text/css\" media=\"all\" href=\"";
  154.         // line 24
  155.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/dcsite/css/toyota/service/for-service.css"), "html"nulltrue);
  156.         yield "\" rel=\"stylesheet\"/>
  157. ";
  158.         
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160.         
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162.         yield from [];
  163.     }
  164.     // line 27
  165.     /**
  166.      * @return iterable<null|scalar|\Stringable>
  167.      */
  168.     public function block_head(array $context, array $blocks = []): iterable
  169.     {
  170.         $macros $this->macros;
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  174.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  175.         // line 28
  176.         yield "    ";
  177.         yield from $this->yieldParentBlock("head"$context$blocks);
  178.         yield "
  179. ";
  180.         
  181.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  182.         
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  184.         yield from [];
  185.     }
  186.     // line 31
  187.     /**
  188.      * @return iterable<null|scalar|\Stringable>
  189.      */
  190.     public function block_socialPreview(array $context, array $blocks = []): iterable
  191.     {
  192.         $macros $this->macros;
  193.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  194.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""socialPreview"));
  195.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  196.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""socialPreview"));
  197.         // line 32
  198.         yield "    <!-- Google Tag Manager (noscript) -->
  199.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-N4CWV9G\"
  200.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  201.     <!-- End Google Tag Manager (noscript) -->
  202. ";
  203.         
  204.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  205.         
  206.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  207.         yield from [];
  208.     }
  209.     // line 38
  210.     /**
  211.      * @return iterable<null|scalar|\Stringable>
  212.      */
  213.     public function block_content(array $context, array $blocks = []): iterable
  214.     {
  215.         $macros $this->macros;
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  217.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  219.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  220.         // line 39
  221.         yield "    <main class=\"page signin\">
  222.         <section class=\"breadcrumbs__new\">
  223.             <div class=\"container\">
  224.                 <ol class=\"global_breadcrumbs__new\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
  225.                     <li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  226.                         itemtype=\"https://schema.org/ListItem\">
  227.                         <a itemprop=\"item\" href=\"";
  228.         // line 45
  229.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("toyota_homepage");
  230.         yield "\">
  231.                             <span class=\"breadcrumbs__link\" itemprop=\"name\">TOYOTA</span></a>
  232.                         <meta itemprop=\"position\" content=\"1\"/>
  233.                     </li>
  234.                     <div class=\"arrow-bcs\"> ❯ </div>
  235.                     <li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  236.                         itemtype=\"https://schema.org/ListItem\">
  237.                         <span style=\"color: #ABABAB;\" class=\"breadcrumbs__link\" itemprop=\"name\">";
  238.         // line 53
  239.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.service.index", [], "dc_toyota"), "html"nulltrue);
  240.         yield "</span>
  241.                         <meta itemprop=\"position\" content=\"2\"/>
  242.                     </li>
  243.                     <div class=\"arrow-bcs\"> ❯ </div>
  244.                     <li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  245.                         itemtype=\"https://schema.org/ListItem\">
  246.                         <span style=\"color: #ABABAB;\" class=\"breadcrumbs__link\" itemprop=\"name\">";
  247.         // line 60
  248.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.service.signin_service", [], "dc_toyota"), "html"nulltrue);
  249.         yield "</span>
  250.                         <meta itemprop=\"position\" content=\"3\"/>
  251.                     </li>
  252.                 </ol>
  253.             </div>
  254.         </section>
  255.         ";
  256.         // line 67
  257.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'67$this->source); })()), "request", [], "any"falsefalsefalse67), "locale", [], "any"falsefalsefalse67) == "ru")) {
  258.             // line 68
  259.             yield "            ";
  260.             yield from $this->load("@DcSite/Toyota/Service/translations/new-sign-in_ru.html.twig"68)->unwrap()->yield($context);
  261.             // line 69
  262.             yield "        ";
  263.         } else {
  264.             // line 70
  265.             yield "            ";
  266.             yield from $this->load("@DcSite/Toyota/Service/translations/new-sign-in_ua.html.twig"70)->unwrap()->yield($context);
  267.             // line 71
  268.             yield "        ";
  269.         }
  270.         // line 72
  271.         yield "
  272.     </main>
  273. ";
  274.         
  275.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  276.         
  277.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  278.         yield from [];
  279.     }
  280.     // line 77
  281.     /**
  282.      * @return iterable<null|scalar|\Stringable>
  283.      */
  284.     public function block_pageJS(array $context, array $blocks = []): iterable
  285.     {
  286.         $macros $this->macros;
  287.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  288.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageJS"));
  289.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageJS"));
  291.         // line 78
  292.         yield "    <script>
  293.         app.onCustomEvent('appInit', function () {
  294.             var readmore = function(target) {
  295.                 \$(\"#block-seo-content .seo-btn\").on(\"click\", function() {
  296.                     var \$this = \$(this);
  297.                     if (\$this.hasClass(\"more\")) {
  298.                         \$this
  299.                             .removeClass(\"more\")
  300.                             .addClass(\"less\")
  301.                             .text(\"";
  302.         // line 88
  303.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.hide", [], "dc_yamaha"), "html"nulltrue);
  304.         yield "\");
  305.                         target.collapse(\"show\");
  306.                     } else {
  307.                         \$this
  308.                             .removeClass(\"less\")
  309.                             .addClass(\"more\")
  310.                             .text(\"";
  311.         // line 94
  312.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main.details", [], "dc_suzuki"), "html"nulltrue);
  313.         yield "\");
  314.                         target.collapse(\"hide\");
  315.                     }
  316.                 });
  317.             };
  318.             var target = \$(\"#block-seo-content div.seo-block:nth-child(n+2)\");
  319.             readmore(target);
  320.         });
  321.     </script>
  322.     <script>
  323.         app.onCustomEvent('appInit', function () {
  324.             app.loadJs('";
  325.         // line 105
  326.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/core/js/modules/slick/slick.js"), "html"nulltrue);
  327.         yield "');
  328.             app.loadJs('";
  329.         // line 106
  330.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/insurance/js/jquery.mCustomScrollbar.concat.min.js"), "html"nulltrue);
  331.         yield "');
  332.             app.loadJs('";
  333.         // line 107
  334.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/dcsite/js/service-booking.js"), "html"nulltrue);
  335.         yield "',function () {
  336.                 initServiceBooking({
  337.                     locale: '";
  338.         // line 109
  339.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'109$this->source); })()), "request", [], "any"falsefalsefalse109), "locale", [], "any"falsefalsefalse109), "html"nulltrue);
  340.         yield "',
  341.                     initUrl: '";
  342.         // line 110
  343.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("online-service-init");
  344.         yield "',
  345.                     findUrl: '";
  346.         // line 111
  347.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("online-service-find");
  348.         yield "',
  349.                     findVariationsUrl: '";
  350.         // line 112
  351.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("online-service-find-variations");
  352.         yield "',
  353.                     saveCarUrl: '";
  354.         // line 113
  355.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("online-service-save-car");
  356.         yield "',
  357.                     byModelUrl: '";
  358.         // line 114
  359.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("online-service-load-by-model");
  360.         yield "',
  361.                     getTimesUrl: '";
  362.         // line 115
  363.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("online-service-get-time");
  364.         yield "',
  365.                     bookingUrl: '";
  366.         // line 116
  367.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("online-service-booking");
  368.         yield "',
  369.                     confirmBookingUrl: '";
  370.         // line 117
  371.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("online-service-booking-confirm");
  372.         yield "',
  373.                     agreementUrl: '";
  374.         // line 118
  375.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["privacyUrl"]) || array_key_exists("privacyUrl"$context) ? $context["privacyUrl"] : (function () { throw new RuntimeError('Variable "privacyUrl" does not exist.'118$this->source); })()), "html"nulltrue);
  376.         yield "',
  377.                     nightBookingAgreementUrl: '";
  378.         // line 119
  379.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_profile_night_service_agreement");
  380.         yield "',
  381.                     variationId: ";
  382.         // line 120
  383.         yield (((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'120$this->source); })()), "request", [], "any"falsefalsefalse120), "get", ["variation_id"], "method"falsefalsefalse120)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'120$this->source); })()), "request", [], "any"falsefalsefalse120), "get", ["variation_id"], "method"falsefalsefalse120), "html"nulltrue)) : (0));
  384.         yield ",
  385.                     regulationId: ";
  386.         // line 121
  387.         yield (((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'121$this->source); })()), "request", [], "any"falsefalsefalse121), "get", ["regulation_id"], "method"falsefalsefalse121)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'121$this->source); })()), "request", [], "any"falsefalsefalse121), "get", ["regulation_id"], "method"falsefalsefalse121), "html"nulltrue)) : (0));
  388.         yield ",
  389.                     dealerId: ";
  390.         // line 122
  391.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["dealer"]) || array_key_exists("dealer"$context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.'122$this->source); })()), "getId", [], "method"falsefalsefalse122), "html"nulltrue);
  392.         yield ",
  393.                     //successText: \"";
  394.         // line 123
  395.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("forms.success.message", ["%url%" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("toyota_about_contacts", [], true)], "dc_toyota");
  396.         yield "\",
  397.                     //successTitle: \"";
  398.         // line 124
  399.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("forms.success.title", [], "dc_toyota"), "html"nulltrue);
  400.         yield "\",
  401.                     //buttonHref: '";
  402.         // line 125
  403.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("toyota_homepage");
  404.         yield "',
  405.                     //buttonText: '";
  406.         // line 126
  407.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.base.return_to_main", [], "dc_base"), "html"nulltrue);
  408.         yield "',
  409.                     regulationsTo: true,
  410.                     replacementCarUrl: '";
  411.         // line 128
  412.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("toyota_service_replacement_car_single");
  413.         yield "',
  414.                     replacementCarText: '";
  415.         // line 129
  416.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("replacement_car.more_about_service", [], "dc_toyota"), "html"nulltrue);
  417.         yield "',
  418.                     successText: \"";
  419.         // line 130
  420.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("replacement_car.wait_message", [], "dc_toyota"), "html"nulltrue);
  421.         yield "\",
  422.                 });
  423.             });
  424.         });
  425.     </script>
  426. ";
  427.         
  428.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  429.         
  430.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  431.         yield from [];
  432.     }
  433.     /**
  434.      * @codeCoverageIgnore
  435.      */
  436.     public function getTemplateName(): string
  437.     {
  438.         return "@DcSite/Toyota/Service/sign-in.html.twig";
  439.     }
  440.     /**
  441.      * @codeCoverageIgnore
  442.      */
  443.     public function isTraitable(): bool
  444.     {
  445.         return false;
  446.     }
  447.     /**
  448.      * @codeCoverageIgnore
  449.      */
  450.     public function getDebugInfo(): array
  451.     {
  452.         return array (  470 => 130,  466 => 129,  462 => 128,  457 => 126,  453 => 125,  449 => 124,  445 => 123,  441 => 122,  437 => 121,  433 => 120,  429 => 119,  425 => 118,  421 => 117,  417 => 116,  413 => 115,  409 => 114,  405 => 113,  401 => 112,  397 => 111,  393 => 110,  389 => 109,  384 => 107,  380 => 106,  376 => 105,  362 => 94,  353 => 88,  341 => 78,  328 => 77,  314 => 72,  311 => 71,  308 => 70,  305 => 69,  302 => 68,  300 => 67,  290 => 60,  280 => 53,  269 => 45,  261 => 39,  248 => 38,  233 => 32,  220 => 31,  206 => 28,  193 => 27,  180 => 24,  176 => 23,  171 => 21,  167 => 20,  163 => 19,  159 => 18,  154 => 17,  141 => 16,  128 => 13,  123 => 12,  110 => 11,  97 => 7,  95 => 6,  91 => 5,  87 => 4,  82 => 3,  69 => 2,  46 => 1,);
  453.     }
  454.     public function getSourceContext(): Source
  455.     {
  456.         return new Source("{% extends '@DcSite/Toyota/base.html.twig' %}
  457. {% block seo %}
  458.     <title>{{ seoMeta.title ?? 'pages.service.sign_in.seo_title'|trans({}, 'dc_toyota') }}</title>
  459.     <meta name=\"description\" content=\"{{ seoMeta.description ?? 'pages.service.sign_in.seo_desc'|trans({}, 'dc_toyota') }}\" />
  460.     <meta name=\"keywords\"  content=\"{{ 'pages.service.sign_in.seo_key'|trans({}, 'dc_toyota') }}\" />
  461.     {% if app.request.get('serviceType') %}
  462.         <meta name=\"robots\" content=\"noindex\" />
  463.     {% endif %}
  464. {% endblock seo %}
  465. {% block ogtagDynamic %}
  466.     <meta property=\"og:title\" content=\"{{ seoMeta.title ?? 'pages.service.sign_in.seo_title'|trans({}, 'dc_toyota') }}\"/>
  467.     <meta property=\"og:description\" content=\"{{ seoMeta.description ?? 'pages.service.sign_in.seo_desc'|trans({}, 'dc_toyota') }}\"/>
  468. {% endblock ogtagDynamic %}
  469. {% block css %}
  470.     <link type=\"text/css\" media=\"all\" href=\"{{ asset('/bundles/dcsite/css/toyota/service/sign-in.css') }}\" rel=\"stylesheet\"/>
  471.     <link rel=\"stylesheet\" href=\"{{ asset('bundles/dcsite/css/modules/base-style/form-control.css') }}\">
  472.     <link rel=\"stylesheet\" href=\"{{ asset('/bundles/core/css/modules/slick/slick.css') }}\">
  473.     <link rel=\"stylesheet\" href=\"{{ asset('bundles/dcsite/css/toyota/modules/service-widget.css') }}\">
  474.     <link rel='stylesheet' type='text/css' href='{{ asset('/bundles/insurance/css/jquery.mCustomScrollbar.css') }}'  />
  475.     <link type=\"text/css\" media=\"all\" href=\"{{ asset('/bundles/dcsite/css/toyota/service/reg-to.css') }}\" rel=\"stylesheet\"/>
  476.     <link type=\"text/css\" media=\"all\" href=\"{{ asset('/bundles/dcsite/css/toyota/service/for-service.css') }}\" rel=\"stylesheet\"/>
  477. {% endblock %}
  478. {% block head %}
  479.     {{ parent() }}
  480. {% endblock %}
  481. {% block socialPreview %}
  482.     <!-- Google Tag Manager (noscript) -->
  483.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-N4CWV9G\"
  484.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  485.     <!-- End Google Tag Manager (noscript) -->
  486. {% endblock socialPreview %}
  487. {% block content %}
  488.     <main class=\"page signin\">
  489.         <section class=\"breadcrumbs__new\">
  490.             <div class=\"container\">
  491.                 <ol class=\"global_breadcrumbs__new\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
  492.                     <li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  493.                         itemtype=\"https://schema.org/ListItem\">
  494.                         <a itemprop=\"item\" href=\"{{ path('toyota_homepage') }}\">
  495.                             <span class=\"breadcrumbs__link\" itemprop=\"name\">TOYOTA</span></a>
  496.                         <meta itemprop=\"position\" content=\"1\"/>
  497.                     </li>
  498.                     <div class=\"arrow-bcs\"> ❯ </div>
  499.                     <li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  500.                         itemtype=\"https://schema.org/ListItem\">
  501.                         <span style=\"color: #ABABAB;\" class=\"breadcrumbs__link\" itemprop=\"name\">{{ 'base.service.index'|trans({}, 'dc_toyota') }}</span>
  502.                         <meta itemprop=\"position\" content=\"2\"/>
  503.                     </li>
  504.                     <div class=\"arrow-bcs\"> ❯ </div>
  505.                     <li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  506.                         itemtype=\"https://schema.org/ListItem\">
  507.                         <span style=\"color: #ABABAB;\" class=\"breadcrumbs__link\" itemprop=\"name\">{{ 'base.service.signin_service'|trans({}, 'dc_toyota') }}</span>
  508.                         <meta itemprop=\"position\" content=\"3\"/>
  509.                     </li>
  510.                 </ol>
  511.             </div>
  512.         </section>
  513.         {% if app.request.locale == 'ru' %}
  514.             {% include '@DcSite/Toyota/Service/translations/new-sign-in_ru.html.twig' %}
  515.         {% else %}
  516.             {% include '@DcSite/Toyota/Service/translations/new-sign-in_ua.html.twig' %}
  517.         {% endif %}
  518.     </main>
  519. {% endblock content %}
  520. {% block pageJS %}
  521.     <script>
  522.         app.onCustomEvent('appInit', function () {
  523.             var readmore = function(target) {
  524.                 \$(\"#block-seo-content .seo-btn\").on(\"click\", function() {
  525.                     var \$this = \$(this);
  526.                     if (\$this.hasClass(\"more\")) {
  527.                         \$this
  528.                             .removeClass(\"more\")
  529.                             .addClass(\"less\")
  530.                             .text(\"{{ 'pages.hide'|trans({}, 'dc_yamaha') }}\");
  531.                         target.collapse(\"show\");
  532.                     } else {
  533.                         \$this
  534.                             .removeClass(\"less\")
  535.                             .addClass(\"more\")
  536.                             .text(\"{{ 'main.details'|trans({}, 'dc_suzuki') }}\");
  537.                         target.collapse(\"hide\");
  538.                     }
  539.                 });
  540.             };
  541.             var target = \$(\"#block-seo-content div.seo-block:nth-child(n+2)\");
  542.             readmore(target);
  543.         });
  544.     </script>
  545.     <script>
  546.         app.onCustomEvent('appInit', function () {
  547.             app.loadJs('{{ asset('/bundles/core/js/modules/slick/slick.js') }}');
  548.             app.loadJs('{{ asset('/bundles/insurance/js/jquery.mCustomScrollbar.concat.min.js') }}');
  549.             app.loadJs('{{ asset('/bundles/dcsite/js/service-booking.js') }}',function () {
  550.                 initServiceBooking({
  551.                     locale: '{{ app.request.locale }}',
  552.                     initUrl: '{{ path('online-service-init') }}',
  553.                     findUrl: '{{ path('online-service-find') }}',
  554.                     findVariationsUrl: '{{ path('online-service-find-variations') }}',
  555.                     saveCarUrl: '{{ path('online-service-save-car') }}',
  556.                     byModelUrl: '{{ path('online-service-load-by-model') }}',
  557.                     getTimesUrl: '{{ path('online-service-get-time') }}',
  558.                     bookingUrl: '{{ path('online-service-booking') }}',
  559.                     confirmBookingUrl: '{{ path('online-service-booking-confirm') }}',
  560.                     agreementUrl: '{{ privacyUrl }}',
  561.                     nightBookingAgreementUrl: '{{ path('my_profile_night_service_agreement') }}',
  562.                     variationId: {{ app.request.get('variation_id') ? app.request.get('variation_id') : 0  }},
  563.                     regulationId: {{ app.request.get('regulation_id') ? app.request.get('regulation_id') : 0  }},
  564.                     dealerId: {{ dealer.getId() }},
  565.                     //successText: \"{{ 'forms.success.message'|trans({'%url%': path('toyota_about_contacts', [], true) },'dc_toyota')|raw }}\",
  566.                     //successTitle: \"{{ 'forms.success.title'|trans({},'dc_toyota') }}\",
  567.                     //buttonHref: '{{ path('toyota_homepage') }}',
  568.                     //buttonText: '{{ 'pages.base.return_to_main'|trans({}, 'dc_base') }}',
  569.                     regulationsTo: true,
  570.                     replacementCarUrl: '{{ path('toyota_service_replacement_car_single') }}',
  571.                     replacementCarText: '{{'replacement_car.more_about_service'|trans({}, 'dc_toyota') }}',
  572.                     successText: \"{{'replacement_car.wait_message'|trans({}, 'dc_toyota') }}\",
  573.                 });
  574.             });
  575.         });
  576.     </script>
  577. {% endblock pageJS %}
  578. ""@DcSite/Toyota/Service/sign-in.html.twig""/var/www/vidi.ua/releases/251030-0548d202/src/DcSiteBundle/Resources/views/Toyota/Service/sign-in.html.twig");
  579.     }
  580. }