var/cache/dev/twig/77/77934a73f91412388fb63ddab40fbe20.php line 165

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/template.html.twig */
  16. class __TwigTemplate_a053fb24aba5a551632ba9a4bb47a1ad 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->parent false;
  28.         $this->blocks = [
  29.             'canonical' => [$this'block_canonical'],
  30.             'head' => [$this'block_head'],
  31.             'ogtagStatic' => [$this'block_ogtagStatic'],
  32.             'ogtagDynamicImage' => [$this'block_ogtagDynamicImage'],
  33.             'ogtagDynamic' => [$this'block_ogtagDynamic'],
  34.             'socialPreview' => [$this'block_socialPreview'],
  35.             'content' => [$this'block_content'],
  36.             'script' => [$this'block_script'],
  37.         ];
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = []): iterable
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DcSite/Toyota/template.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DcSite/Toyota/template.html.twig"));
  46.         // line 1
  47.         yield "<!DOCTYPE html>
  48. <html lang=\"";
  49.         // line 2
  50.         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.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "locale", [], "any"falsefalsefalse2) == "ua")) {
  51.             yield "uk-ua";
  52.         } else {
  53.             yield "ru-ua";
  54.         }
  55.         yield "\">
  56. <head>
  57. ";
  58.         // line 4
  59.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'4$this->source); })()), "environment", [], "any"falsefalsefalse4) == "dev")) {
  60.             // line 5
  61.             yield "    <meta name=\"robots\" content=\"noindex, nofollow\">
  62.     <meta name=\"google-site-verification\" content=\"FWJj2KVU8sswZ4I7nJAffMG7Tj8xgkCr3XX-FgBmAus\" />
  63. ";
  64.         }
  65.         // line 8
  66.         yield "    <link rel=\"alternate\" type=\"application/rss+xml\" title=\"";
  67.         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.'8$this->source); })()), "name", [], "any"falsefalsefalse8), "html"nulltrue);
  68.         yield "\" href=\"https://";
  69.         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.'8$this->source); })()), "domain", [], "any"falsefalsefalse8), "html"nulltrue);
  70.         yield "/rss/\"/>
  71.     <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">
  72.     <meta name=viewport content=\"width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=0\">
  73.     <link rel=\"icon\" href=\"";
  74.         // line 11
  75.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/favicon.ico"), "html"nulltrue);
  76.         yield "\" type=\"image/x-icon\">
  77.     <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"";
  78.         // line 12
  79.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/apple-touch-icon.png"), "html"nulltrue);
  80.         yield "\">
  81.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  82.         // line 13
  83.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/favicon-32x32.png"), "html"nulltrue);
  84.         yield "\">
  85.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  86.         // line 14
  87.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/favicon-16x16.png"), "html"nulltrue);
  88.         yield "\">
  89.     <link rel=\"manifest\" href=\"";
  90.         // line 15
  91.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/site.webmanifest"), "html"nulltrue);
  92.         yield "\">
  93.     <link rel=\"mask-icon\" href=\"";
  94.         // line 16
  95.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/safari-pinned-tab.svg"), "html"nulltrue);
  96.         yield "\" color=\"#da2728\">
  97.     <meta name=\"msapplication-TileColor\" content=\"#da2728\">
  98.     <meta name=\"theme-color\" content=\"#da2728\">
  99.     <link rel=\"preconnect\" href=\"https://accounts.google.com\" crossorigin>
  100.     <link rel=\"preconnect\" href=\"https://connect.facebook.net\" crossorigin>
  101.     <link rel=\"preconnect\" href=\"https://maps.googleapis.com\" crossorigin>
  102.     <link rel=\"preconnect\" href=\"https://maps.gstatic.com\" crossorigin>
  103.     <link rel=\"preconnect\" href=\"https://stats.g.doubleclick.net\" crossorigin>
  104.     <link rel=\"preconnect\" href=\"https://www.facebook.com\" crossorigin>
  105.     <link rel=\"preconnect\" href=\"https://www.google-analytics.com\" crossorigin>
  106.     <link rel=\"preconnect\" href=\"https://www.google.com.ua\" crossorigin>
  107.     <link rel=\"preconnect\" href=\"https://www.google.com\" crossorigin>
  108.     <link rel=\"preconnect\" href=\"https://www.googletagmanager.com\" crossorigin>
  109.     <link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
  110.           href=\"/dist/";
  111.         // line 32
  112.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["MODE"]) || array_key_exists("MODE"$context) ? $context["MODE"] : (function () { throw new RuntimeError('Variable "MODE" does not exist.'32$this->source); })()), "html"nulltrue);
  113.         yield "/dcsite/toyota/fonts/ToyotaType-Regular.woff2\">
  114.     <link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
  115.           href=\"/dist/";
  116.         // line 34
  117.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["MODE"]) || array_key_exists("MODE"$context) ? $context["MODE"] : (function () { throw new RuntimeError('Variable "MODE" does not exist.'34$this->source); })()), "html"nulltrue);
  118.         yield "/dcsite/toyota/fonts/ToyotaType-Book.woff2\">
  119.     <link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
  120.           href=\"/dist/";
  121.         // line 36
  122.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["MODE"]) || array_key_exists("MODE"$context) ? $context["MODE"] : (function () { throw new RuntimeError('Variable "MODE" does not exist.'36$this->source); })()), "html"nulltrue);
  123.         yield "/dcsite/toyota/fonts/ToyotaType-Semibold.woff2\">
  124.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/";
  125.         // line 38
  126.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["MODE"]) || array_key_exists("MODE"$context) ? $context["MODE"] : (function () { throw new RuntimeError('Variable "MODE" does not exist.'38$this->source); })()), "html"nulltrue);
  127.         yield "/dcsite/toyota/css/toyota.css?";
  128.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["VERSION"]) || array_key_exists("VERSION"$context) ? $context["VERSION"] : (function () { throw new RuntimeError('Variable "VERSION" does not exist.'38$this->source); })()), "html"nulltrue);
  129.         yield "\">
  130.     <meta name=\"dmca-site-verification\" content=\"MlgvM0V5b2lmbitDN1N5bHNqUmwrZz090\">
  131.     <meta name=\"facebook-domain-verification\" content=\"oiuuib78vzte2vdu28uxq9f5zycn0g\">
  132.     <meta name=\"google-site-verification\" content=\"gboUNadhhEyBztnrR7iBIU5BZf_sUV0rIuRsXq2bcH8\">
  133.     <meta name=\"google-site-verification\" content=\"XF69SDZL3figV8805mrNn-kE45qtxSP7CCEKliOYE1A\">
  134.     ";
  135.         // line 45
  136.         yield from $this->unwrap()->yieldBlock('canonical'$context$blocks);
  137.         // line 48
  138.         yield "
  139.     ";
  140.         // line 49
  141.         yield from $this->unwrap()->yieldBlock('head'$context$blocks);
  142.         // line 51
  143.         yield "
  144.     ";
  145.         // line 52
  146.         yield from $this->unwrap()->yieldBlock('ogtagStatic'$context$blocks);
  147.         // line 55
  148.         yield "
  149.     ";
  150.         // line 56
  151.         yield from $this->unwrap()->yieldBlock('ogtagDynamicImage'$context$blocks);
  152.         // line 59
  153.         yield "
  154.     ";
  155.         // line 60
  156.         yield from $this->unwrap()->yieldBlock('ogtagDynamic'$context$blocks);
  157.         // line 62
  158.         yield "
  159.     ";
  160.         // line 63
  161.         if ((($tmp = (isset($context["INCLUDE_ANALYTICS"]) || array_key_exists("INCLUDE_ANALYTICS"$context) ? $context["INCLUDE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "INCLUDE_ANALYTICS" does not exist.'63$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  162.             // line 64
  163.             yield "        ";
  164.             yield from $this->load("@DcSite/Modules/pixel-code.html.twig"64)->unwrap()->yield($context);
  165.             // line 65
  166.             yield "        ";
  167.             yield from $this->load("@DcSite/Modules/google-tag-manager.html.twig"65)->unwrap()->yield(CoreExtension::merge($context, ["domain" => 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.'65$this->source); })()), "domain", [], "any"falsefalsefalse65), "gtmIdCode" => "GTM-N4CWV9G"]));
  168.             // line 66
  169.             yield "    ";
  170.         }
  171.         // line 67
  172.         yield "</head>
  173. <body>
  174. ";
  175.         // line 70
  176.         if ((($tmp = (isset($context["INCLUDE_ANALYTICS"]) || array_key_exists("INCLUDE_ANALYTICS"$context) ? $context["INCLUDE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "INCLUDE_ANALYTICS" does not exist.'70$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  177.             // line 71
  178.             yield "    <!-- Google Tag Manager (noscript) -->
  179.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-N4CWV9G\"
  180.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  181.     <!-- End Google Tag Manager (noscript) -->
  182. ";
  183.         }
  184.         // line 76
  185.         yield from $this->unwrap()->yieldBlock('socialPreview'$context$blocks);
  186.         // line 78
  187.         yield "
  188. <div class=\"wrapper\">
  189.     <div class=\"container-fluid h-100\">
  190.         <div class=\"row h-100 flex-column flex-nowrap scroll__model__line\">
  191.             ";
  192.         // line 82
  193.         yield from $this->load("@DcSite/Toyota/header.html.twig"82)->unwrap()->yield($context);
  194.         // line 83
  195.         yield "
  196.             <main class=\"main\">
  197.                 ";
  198.         // line 85
  199.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  200.         // line 87
  201.         yield "            </main>
  202.             ";
  203.         // line 89
  204.         yield from $this->load("@DcSite/Toyota/leads.html.twig"89)->unwrap()->yield($context);
  205.         // line 90
  206.         yield "            ";
  207.         yield from $this->load("@DcSite/Toyota/footer-new.html.twig"90)->unwrap()->yield($context);
  208.         // line 91
  209.         yield "            ";
  210.         yield from $this->load("@DcSite/Modules/callback/widget.html.twig"91)->unwrap()->yield($context);
  211.         // line 92
  212.         yield "            ";
  213.         yield from $this->load("@DcSite/Modules/feedback-popup.html.twig"92)->unwrap()->yield($context);
  214.         // line 93
  215.         yield "            ";
  216.         yield from $this->load("@DcSite/Modules/sps-popup.html.twig"93)->unwrap()->yield($context);
  217.         // line 94
  218.         yield "            ";
  219.         yield from $this->load("@DcSite/Modules/vidiCoreMessageWrapper.html.twig"94)->unwrap()->yield($context);
  220.         // line 95
  221.         yield "            ";
  222.         // line 96
  223.         yield "            ";
  224.         yield from $this->load("@My/Modules/auth.html.twig"96)->unwrap()->yield($context);
  225.         // line 98
  226.         yield "        </div>
  227.     </div>
  228. </div>
  229. ";
  230.         // line 104
  231.         yield "
  232. ";
  233.         // line 105
  234.         $context["urlResult"] = (((array_key_exists("backLoginUrl"$context) && (isset($context["backLoginUrl"]) || array_key_exists("backLoginUrl"$context) ? $context["backLoginUrl"] : (function () { throw new RuntimeError('Variable "backLoginUrl" does not exist.'105$this->source); })()))) ? ((isset($context["backLoginUrl"]) || array_key_exists("backLoginUrl"$context) ? $context["backLoginUrl"] : (function () { throw new RuntimeError('Variable "backLoginUrl" does not exist.'105$this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_about_car")));
  235.         // line 106
  236.         yield "<script>
  237.     window.INCLUDE_ANALYTICS = ";
  238.         // line 107
  239.         yield (((($tmp = (isset($context["INCLUDE_ANALYTICS"]) || array_key_exists("INCLUDE_ANALYTICS"$context) ? $context["INCLUDE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "INCLUDE_ANALYTICS" does not exist.'107$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ("true") : ("false"));
  240.         yield ";
  241. </script>
  242. <script src=\"/dist/";
  243.         // line 109
  244.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["MODE"]) || array_key_exists("MODE"$context) ? $context["MODE"] : (function () { throw new RuntimeError('Variable "MODE" does not exist.'109$this->source); })()), "html"nulltrue);
  245.         yield "/dcsite/toyota/js/toyota.js?";
  246.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["VERSION"]) || array_key_exists("VERSION"$context) ? $context["VERSION"] : (function () { throw new RuntimeError('Variable "VERSION" does not exist.'109$this->source); })()), "html"nulltrue);
  247.         yield "\"></script>
  248. <script>
  249.     window.dataLayer = window.dataLayer || [];
  250.     window.app = {
  251.         options: {
  252.             version: '";
  253.         // line 114
  254.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["VERSION"]) || array_key_exists("VERSION"$context) ? $context["VERSION"] : (function () { throw new RuntimeError('Variable "VERSION" does not exist.'114$this->source); })()), "html"nulltrue);
  255.         yield "',
  256.             locale: '";
  257.         // line 115
  258.         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.'115$this->source); })()), "request", [], "any"falsefalsefalse115), "locale", [], "any"falsefalsefalse115), "html"nulltrue);
  259.         yield "',
  260.             refererAuth: '";
  261.         // line 116
  262.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_login_page");
  263.         yield "?referer=";
  264.         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.'116$this->source); })()), "request", [], "any"falsefalsefalse116), "uri", [], "any"falsefalsefalse116), "html"nulltrue);
  265.         yield "'
  266.         },
  267.         user: {
  268.             id: ";
  269.         // line 119
  270.         if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'119$this->source); })()), "user", [], "any"falsefalsefalse119)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  271.             yield " ";
  272.             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.'119$this->source); })()), "user", [], "any"falsefalsefalse119), "id", [], "any"falsefalsefalse119), "html"nulltrue);
  273.             yield " ";
  274.         } else {
  275.             yield "null";
  276.         }
  277.         yield ",
  278.             name: ";
  279.         // line 120
  280.         if ((($tmp CoreExtension::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); })()), "user", [], "any"falsefalsefalse120)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  281.             yield " '";
  282.             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.'120$this->source); })()), "user", [], "any"falsefalsefalse120), "fullName", [], "any"falsefalsefalse120), "html"nulltrue);
  283.             yield "' ";
  284.         } else {
  285.             yield "null";
  286.         }
  287.         // line 121
  288.         yield "        }
  289.     };
  290.     \$(() => {
  291.         window.app.message = core.modules.initMessage({
  292.             templateUrl: \"";
  293.         // line 126
  294.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("core_message_load_template");
  295.         yield "\",
  296.             text: {
  297.                 btnCancel: \"";
  298.         // line 128
  299.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.message.cancel", [], "core"), "html"nulltrue);
  300.         yield "\"
  301.             }
  302.         });
  303.         window.app.http = core.modules.initHttp({
  304.             requestErrorText: \"";
  305.         // line 132
  306.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.http.server_error", [], "core"), "html"nulltrue);
  307.         yield "\"
  308.         });
  309.         window.app.preLoader = core.modules.initPreloader({
  310.             templateUrl: \"";
  311.         // line 135
  312.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("core_preloader_load_template");
  313.         yield "\"
  314.         });
  315.         window.app.leadForms = core.modules.initLeadForms({
  316.             captchaUrl: '";
  317.         // line 138
  318.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_capthcha_init");
  319.         yield "',
  320.             text: {
  321.                 successTitle: '";
  322.         // line 140
  323.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("modules.sps_form_title", [], "dc_base"), "html"nulltrue);
  324.         yield "',
  325.                 successText: '";
  326.         // line 141
  327.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("modules.sps_form_subtitle", [], "dc_base"), "html"nulltrue);
  328.         yield "',
  329.                 buttonText: '";
  330.         // line 142
  331.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.base.ok", [], "dc_base"), "html"nulltrue);
  332.         yield "'
  333.             },
  334.             href: {
  335.                 buttonSuccess: null,
  336.             },
  337.         });
  338.         window.app.Favorit = core.modules.initFavorite({
  339.             addUrl: \"";
  340.         // line 149
  341.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_add_favl");
  342.         yield "\",
  343.             removeUrl: \"";
  344.         // line 150
  345.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_remove_favl");
  346.         yield "\"
  347.         });
  348.         window.app.Compare = core.modules.initCompare();
  349.         window.Track = core.modules.initTrack();
  350.         ";
  351.         // line 158
  352.         yield "        ";
  353.         // line 159
  354.         yield "        ";
  355.         // line 160
  356.         yield "        core.modules.initCallbacks({
  357.             initUrl: '";
  358.         // line 161
  359.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_init");
  360.         yield "',
  361.             createUrl: '";
  362.         // line 162
  363.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_create_request");
  364.         yield "',
  365.             getStateUrl: '";
  366.         // line 163
  367.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_get_state");
  368.         yield "',
  369.             privacyUrl: '";
  370.         // line 164
  371.         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.'164$this->source); })()), "html"nulltrue);
  372.         yield "',
  373.             callBackMinute: '";
  374.         // line 165
  375.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.title", [], "dc_base");
  376.         yield "',
  377.             callBackWorkingHours: '";
  378.         // line 166
  379.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.working_hours", [], "dc_base"), "html"nulltrue);
  380.         yield "'
  381.         });
  382.     });
  383. </script>
  384. ";
  385.         // line 170
  386.         if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'170$this->source); })()), "user", [], "any"falsefalsefalse170)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  387.             // line 171
  388.             yield "<script type=\"text/javascript\">
  389.     window.dataLayer.push({'user_id': ";
  390.             // line 172
  391.             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.'172$this->source); })()), "user", [], "any"falsefalsefalse172), "id", [], "any"falsefalsefalse172), "html"nulltrue);
  392.             yield "});
  393. </script>
  394. ";
  395.         }
  396.         // line 175
  397.         yield from $this->unwrap()->yieldBlock('script'$context$blocks);
  398.         // line 177
  399.         yield "
  400. ";
  401.         // line 179
  402.         if (array_key_exists("helpCrunch"$context)) {
  403.             // line 180
  404.             yield "<script type=\"text/javascript\" defer>
  405.     window.helpcrunchSettings = {
  406.         organization: '";
  407.             // line 182
  408.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["helpCrunch"]) || array_key_exists("helpCrunch"$context) ? $context["helpCrunch"] : (function () { throw new RuntimeError('Variable "helpCrunch" does not exist.'182$this->source); })()), "organization", [], "array"falsefalsefalse182), "html"nulltrue);
  409.             yield "',
  410.         appId: '";
  411.             // line 183
  412.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["helpCrunch"]) || array_key_exists("helpCrunch"$context) ? $context["helpCrunch"] : (function () { throw new RuntimeError('Variable "helpCrunch" does not exist.'183$this->source); })()), "appId", [], "array"falsefalsefalse183), "html"nulltrue);
  413.             yield "',
  414.     };
  415.     const deferTime = 3000;
  416.     (function(w,d){var hS=w.helpcrunchSettings;if(!hS||!hS.organization){return;}var widgetSrc='https://'+hS.organization+'.widget.helpcrunch.com/';w.HelpCrunch=function(){w.HelpCrunch.q.push(arguments)};w.HelpCrunch.q=[];function r(){if (d.querySelector('script[src=\"' + widgetSrc + '\"')) { return; } core.modules.deferScript('https://";
  417.             // line 186
  418.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["helpCrunch"]) || array_key_exists("helpCrunch"$context) ? $context["helpCrunch"] : (function () { throw new RuntimeError('Variable "helpCrunch" does not exist.'186$this->source); })()), "organization", [], "array"falsefalsefalse186), "html"nulltrue);
  419.             yield ".widget.helpcrunch.com/', deferTime);}if(d.readyState === 'complete'||hS.loadImmediately){r();} else if(w.attachEvent){w.attachEvent('onload',r)}else{w.addEventListener('load',r,false)}})(window, document)
  420. </script>
  421. ";
  422.         }
  423.         // line 193
  424.         yield "
  425. <script type=\"application/ld+json\">
  426. {
  427.     \"@context\": \"https://schema.org/\",
  428.     \"@type\": \"WebSite\",
  429.     \"name\": \"";
  430.         // line 198
  431.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["dealer"]) || array_key_exists("dealer"$context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.'198$this->source); })()), "brand", [], "any"falsefalsefalse198), "name", [], "any"falsefalsefalse198), "html"nulltrue);
  432.         yield "\",
  433.     \"url\": \"";
  434.         // line 199
  435.         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.'199$this->source); })()), "request", [], "any"falsefalsefalse199), "uri", [], "any"falsefalsefalse199), "html"nulltrue);
  436.         yield "\"
  437. }
  438. </script>
  439. <script type=\"application/ld+json\">
  440. {
  441.     \"@context\": \"https://schema.org\",
  442.     \"@type\": \"AutoDealer\",
  443.     \"name\": \"";
  444.         // line 206
  445.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["dealer"]) || array_key_exists("dealer"$context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.'206$this->source); })()), "brand", [], "any"falsefalsefalse206), "name", [], "any"falsefalsefalse206), "html"nulltrue);
  446.         yield "\",
  447.     \"image\": \"https://toyota-ua.com/bundles/dcsite/img/toyota/logo-toyota.png\",
  448.     \"url\": \"";
  449.         // line 208
  450.         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.'208$this->source); })()), "request", [], "any"falsefalsefalse208), "uri", [], "any"falsefalsefalse208), "html"nulltrue);
  451.         yield "\",
  452.     \"telephone\": \"";
  453.         // line 209
  454.         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.'209$this->source); })()), "phone", [], "any"falsefalsefalse209), "html"nulltrue);
  455.         yield "\",
  456.     \"address\": {
  457.     \"@type\": \"PostalAddress\",
  458.     \"streetAddress\": \" ";
  459.         // line 212
  460.         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.'212$this->source); })()), "addressUa", [], "any"falsefalsefalse212), "html"nulltrue);
  461.         yield "\",
  462.     \"addressLocality\": \"Київ\"
  463.     },
  464.     \"sameAs\": [
  465.     \"";
  466.         // line 216
  467.         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.'216$this->source); })()), "linkFacebook", [], "any"falsefalsefalse216), "html"nulltrue);
  468.         yield "\",
  469.     \"";
  470.         // line 217
  471.         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.'217$this->source); })()), "linkInstagram", [], "any"falsefalsefalse217), "html"nulltrue);
  472.         yield "\",
  473.     \"";
  474.         // line 218
  475.         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.'218$this->source); })()), "linkYoutube", [], "any"falsefalsefalse218), "html"nulltrue);
  476.         yield "\"
  477.     ]
  478. }
  479. </script>
  480. <script type=\"application/ld+json\">
  481. {
  482.     \"@context\": \"https://schema.org\",
  483.     \"@type\": \"Organization\",
  484.     \"url\": \"";
  485.         // line 226
  486.         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.'226$this->source); })()), "request", [], "any"falsefalsefalse226), "uri", [], "any"falsefalsefalse226), "html"nulltrue);
  487.         yield "\",
  488.     \"logo\": \"https://toyota-ua.com/bundles/dcsite/img/toyota/logo-toyota.png\"
  489. }
  490. </script>
  491. </body>
  492. </html>
  493. ";
  494.         
  495.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  496.         
  497.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  498.         yield from [];
  499.     }
  500.     // line 45
  501.     /**
  502.      * @return iterable<null|scalar|\Stringable>
  503.      */
  504.     public function block_canonical(array $context, array $blocks = []): iterable
  505.     {
  506.         $macros $this->macros;
  507.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  508.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  509.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  510.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  511.         // line 46
  512.         yield "    ";
  513.         yield from $this->load("@DcSite/Modules/canonical.html.twig"46)->unwrap()->yield($context);
  514.         // line 47
  515.         yield "    ";
  516.         
  517.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  518.         
  519.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  520.         yield from [];
  521.     }
  522.     // line 49
  523.     /**
  524.      * @return iterable<null|scalar|\Stringable>
  525.      */
  526.     public function block_head(array $context, array $blocks = []): iterable
  527.     {
  528.         $macros $this->macros;
  529.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  530.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  531.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  532.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  533.         // line 50
  534.         yield "    ";
  535.         
  536.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  537.         
  538.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  539.         yield from [];
  540.     }
  541.     // line 52
  542.     /**
  543.      * @return iterable<null|scalar|\Stringable>
  544.      */
  545.     public function block_ogtagStatic(array $context, array $blocks = []): iterable
  546.     {
  547.         $macros $this->macros;
  548.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  549.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtagStatic"));
  550.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  551.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtagStatic"));
  552.         // line 53
  553.         yield "        ";
  554.         yield from $this->load("@DcSite/Modules/og-tag.html.twig"53)->unwrap()->yield($context);
  555.         // line 54
  556.         yield "    ";
  557.         
  558.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  559.         
  560.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  561.         yield from [];
  562.     }
  563.     // line 56
  564.     /**
  565.      * @return iterable<null|scalar|\Stringable>
  566.      */
  567.     public function block_ogtagDynamicImage(array $context, array $blocks = []): iterable
  568.     {
  569.         $macros $this->macros;
  570.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  571.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtagDynamicImage"));
  572.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  573.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtagDynamicImage"));
  574.         // line 57
  575.         yield "        ";
  576.         if ((($tmp 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.'57$this->source); })()), "brand", [], "any"falsefalsefalse57)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  577.             yield "<meta property=\"og:image\" content=\"";
  578.             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.'57$this->source); })()), "request", [], "any"falsefalsefalse57), "httpHost", [], "any"falsefalsefalse57), "html"nulltrue);
  579.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->path(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["dealer"]) || array_key_exists("dealer"$context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.'57$this->source); })()), "brand", [], "any"falsefalsefalse57), "logo", [], "any"falsefalsefalse57), "reference"), "html"nulltrue);
  580.             yield "\">";
  581.         } else {
  582.             yield "<meta property=\"og:image\" content=\"/bundles/portal/img/front/logo.jpg\" />";
  583.         }
  584.         // line 58
  585.         yield "    ";
  586.         
  587.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  588.         
  589.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  590.         yield from [];
  591.     }
  592.     // line 60
  593.     /**
  594.      * @return iterable<null|scalar|\Stringable>
  595.      */
  596.     public function block_ogtagDynamic(array $context, array $blocks = []): iterable
  597.     {
  598.         $macros $this->macros;
  599.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  600.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtagDynamic"));
  601.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  602.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtagDynamic"));
  603.         // line 61
  604.         yield "    ";
  605.         
  606.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  607.         
  608.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  609.         yield from [];
  610.     }
  611.     // line 76
  612.     /**
  613.      * @return iterable<null|scalar|\Stringable>
  614.      */
  615.     public function block_socialPreview(array $context, array $blocks = []): iterable
  616.     {
  617.         $macros $this->macros;
  618.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  619.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""socialPreview"));
  620.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  621.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""socialPreview"));
  622.         
  623.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  624.         
  625.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  626.         yield from [];
  627.     }
  628.     // line 85
  629.     /**
  630.      * @return iterable<null|scalar|\Stringable>
  631.      */
  632.     public function block_content(array $context, array $blocks = []): iterable
  633.     {
  634.         $macros $this->macros;
  635.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  636.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  637.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  638.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  639.         // line 86
  640.         yield "                ";
  641.         
  642.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  643.         
  644.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  645.         yield from [];
  646.     }
  647.     // line 175
  648.     /**
  649.      * @return iterable<null|scalar|\Stringable>
  650.      */
  651.     public function block_script(array $context, array $blocks = []): iterable
  652.     {
  653.         $macros $this->macros;
  654.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  655.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  656.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  657.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  658.         
  659.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  660.         
  661.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  662.         yield from [];
  663.     }
  664.     /**
  665.      * @codeCoverageIgnore
  666.      */
  667.     public function getTemplateName(): string
  668.     {
  669.         return "@DcSite/Toyota/template.html.twig";
  670.     }
  671.     /**
  672.      * @codeCoverageIgnore
  673.      */
  674.     public function isTraitable(): bool
  675.     {
  676.         return false;
  677.     }
  678.     /**
  679.      * @codeCoverageIgnore
  680.      */
  681.     public function getDebugInfo(): array
  682.     {
  683.         return array (  707 => 175,  696 => 86,  683 => 85,  661 => 76,  650 => 61,  637 => 60,  626 => 58,  616 => 57,  603 => 56,  592 => 54,  589 => 53,  576 => 52,  565 => 50,  552 => 49,  541 => 47,  538 => 46,  525 => 45,  507 => 226,  496 => 218,  492 => 217,  488 => 216,  481 => 212,  475 => 209,  471 => 208,  466 => 206,  456 => 199,  452 => 198,  445 => 193,  439 => 186,  433 => 183,  429 => 182,  425 => 180,  423 => 179,  420 => 177,  418 => 175,  412 => 172,  409 => 171,  407 => 170,  400 => 166,  396 => 165,  392 => 164,  388 => 163,  384 => 162,  380 => 161,  377 => 160,  375 => 159,  373 => 158,  363 => 150,  359 => 149,  349 => 142,  345 => 141,  341 => 140,  336 => 138,  330 => 135,  324 => 132,  317 => 128,  312 => 126,  305 => 121,  297 => 120,  287 => 119,  279 => 116,  275 => 115,  271 => 114,  261 => 109,  256 => 107,  253 => 106,  251 => 105,  248 => 104,  242 => 98,  239 => 96,  237 => 95,  234 => 94,  231 => 93,  228 => 92,  225 => 91,  222 => 90,  220 => 89,  216 => 87,  214 => 85,  210 => 83,  208 => 82,  202 => 78,  200 => 76,  193 => 71,  191 => 70,  186 => 67,  183 => 66,  180 => 65,  177 => 64,  175 => 63,  172 => 62,  170 => 60,  167 => 59,  165 => 56,  162 => 55,  160 => 52,  157 => 51,  155 => 49,  152 => 48,  150 => 45,  138 => 38,  133 => 36,  128 => 34,  123 => 32,  104 => 16,  100 => 15,  96 => 14,  92 => 13,  88 => 12,  84 => 11,  75 => 8,  70 => 5,  68 => 4,  59 => 2,  56 => 1,);
  684.     }
  685.     public function getSourceContext(): Source
  686.     {
  687.         return new Source("<!DOCTYPE html>
  688. <html lang=\"{% if app.request.locale == 'ua' %}uk-ua{% else %}ru-ua{% endif %}\">
  689. <head>
  690. {% if app.environment == 'dev' %}
  691.     <meta name=\"robots\" content=\"noindex, nofollow\">
  692.     <meta name=\"google-site-verification\" content=\"FWJj2KVU8sswZ4I7nJAffMG7Tj8xgkCr3XX-FgBmAus\" />
  693. {% endif %}
  694.     <link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ dealer.name }}\" href=\"https://{{ dealer.domain }}/rss/\"/>
  695.     <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">
  696.     <meta name=viewport content=\"width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=0\">
  697.     <link rel=\"icon\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/favicon.ico') }}\" type=\"image/x-icon\">
  698.     <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/apple-touch-icon.png') }}\">
  699.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/favicon-32x32.png') }}\">
  700.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/favicon-16x16.png') }}\">
  701.     <link rel=\"manifest\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/site.webmanifest') }}\">
  702.     <link rel=\"mask-icon\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/safari-pinned-tab.svg') }}\" color=\"#da2728\">
  703.     <meta name=\"msapplication-TileColor\" content=\"#da2728\">
  704.     <meta name=\"theme-color\" content=\"#da2728\">
  705.     <link rel=\"preconnect\" href=\"https://accounts.google.com\" crossorigin>
  706.     <link rel=\"preconnect\" href=\"https://connect.facebook.net\" crossorigin>
  707.     <link rel=\"preconnect\" href=\"https://maps.googleapis.com\" crossorigin>
  708.     <link rel=\"preconnect\" href=\"https://maps.gstatic.com\" crossorigin>
  709.     <link rel=\"preconnect\" href=\"https://stats.g.doubleclick.net\" crossorigin>
  710.     <link rel=\"preconnect\" href=\"https://www.facebook.com\" crossorigin>
  711.     <link rel=\"preconnect\" href=\"https://www.google-analytics.com\" crossorigin>
  712.     <link rel=\"preconnect\" href=\"https://www.google.com.ua\" crossorigin>
  713.     <link rel=\"preconnect\" href=\"https://www.google.com\" crossorigin>
  714.     <link rel=\"preconnect\" href=\"https://www.googletagmanager.com\" crossorigin>
  715.     <link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
  716.           href=\"/dist/{{ MODE }}/dcsite/toyota/fonts/ToyotaType-Regular.woff2\">
  717.     <link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
  718.           href=\"/dist/{{ MODE }}/dcsite/toyota/fonts/ToyotaType-Book.woff2\">
  719.     <link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
  720.           href=\"/dist/{{ MODE }}/dcsite/toyota/fonts/ToyotaType-Semibold.woff2\">
  721.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/{{ MODE }}/dcsite/toyota/css/toyota.css?{{ VERSION }}\">
  722.     <meta name=\"dmca-site-verification\" content=\"MlgvM0V5b2lmbitDN1N5bHNqUmwrZz090\">
  723.     <meta name=\"facebook-domain-verification\" content=\"oiuuib78vzte2vdu28uxq9f5zycn0g\">
  724.     <meta name=\"google-site-verification\" content=\"gboUNadhhEyBztnrR7iBIU5BZf_sUV0rIuRsXq2bcH8\">
  725.     <meta name=\"google-site-verification\" content=\"XF69SDZL3figV8805mrNn-kE45qtxSP7CCEKliOYE1A\">
  726.     {% block canonical %}
  727.     {% include '@DcSite/Modules/canonical.html.twig' %}
  728.     {% endblock canonical %}
  729.     {% block head %}
  730.     {% endblock head %}
  731.     {% block ogtagStatic %}
  732.         {% include '@DcSite/Modules/og-tag.html.twig' %}
  733.     {% endblock ogtagStatic %}
  734.     {% block ogtagDynamicImage %}
  735.         {% if dealer.brand %}<meta property=\"og:image\" content=\"{{ app.request.httpHost }}{{ sonata_path(dealer.brand.logo, 'reference') }}\">{% else %}<meta property=\"og:image\" content=\"/bundles/portal/img/front/logo.jpg\" />{% endif %}
  736.     {% endblock ogtagDynamicImage %}
  737.     {% block ogtagDynamic %}
  738.     {% endblock ogtagDynamic %}
  739.     {% if INCLUDE_ANALYTICS %}
  740.         {% include '@DcSite/Modules/pixel-code.html.twig' %}
  741.         {% include '@DcSite/Modules/google-tag-manager.html.twig' with { 'domain': dealer.domain, 'gtmIdCode': 'GTM-N4CWV9G' } %}
  742.     {% endif %}
  743. </head>
  744. <body>
  745. {% if INCLUDE_ANALYTICS %}
  746.     <!-- Google Tag Manager (noscript) -->
  747.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-N4CWV9G\"
  748.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  749.     <!-- End Google Tag Manager (noscript) -->
  750. {% endif %}
  751. {% block socialPreview %}
  752. {% endblock socialPreview %}
  753. <div class=\"wrapper\">
  754.     <div class=\"container-fluid h-100\">
  755.         <div class=\"row h-100 flex-column flex-nowrap scroll__model__line\">
  756.             {% include '@DcSite/Toyota/header.html.twig' %}
  757.             <main class=\"main\">
  758.                 {% block content %}
  759.                 {% endblock content %}
  760.             </main>
  761.             {% include '@DcSite/Toyota/leads.html.twig' %}
  762.             {% include '@DcSite/Toyota/footer-new.html.twig' %}
  763.             {% include '@DcSite/Modules/callback/widget.html.twig' %}
  764.             {% include '@DcSite/Modules/feedback-popup.html.twig' %}
  765.             {% include '@DcSite/Modules/sps-popup.html.twig' %}
  766.             {% include '@DcSite/Modules/vidiCoreMessageWrapper.html.twig' %}
  767.             {# {% include '@DcSite/Modules/vidiPulse.html.twig' with {'phone': '+380445915004'} %} #}
  768.             {% include '@My/Modules/auth.html.twig' %}
  769. {#            {% include '@My/Modules/cookies-warning.html.twig' %}#}
  770.         </div>
  771.     </div>
  772. </div>
  773. {# NOTE: Marked as unnecessary now #}
  774. {# <iframe style=\"display: none\" src=\"{{ path('my_ios_cross_domain_auth') }}\"></iframe> #}
  775. {% set urlResult = backLoginUrl is defined and backLoginUrl ? backLoginUrl : path('my_about_car') %}
  776. <script>
  777.     window.INCLUDE_ANALYTICS = {{ INCLUDE_ANALYTICS ? 'true' : 'false' }};
  778. </script>
  779. <script src=\"/dist/{{ MODE }}/dcsite/toyota/js/toyota.js?{{ VERSION }}\"></script>
  780. <script>
  781.     window.dataLayer = window.dataLayer || [];
  782.     window.app = {
  783.         options: {
  784.             version: '{{ VERSION }}',
  785.             locale: '{{ app.request.locale }}',
  786.             refererAuth: '{{ path('my_login_page') }}?referer={{ app.request.uri }}'
  787.         },
  788.         user: {
  789.             id: {% if app.user %} {{ app.user.id }} {% else %}null{% endif %},
  790.             name: {% if app.user %} '{{ app.user.fullName }}' {% else %}null{% endif %}
  791.         }
  792.     };
  793.     \$(() => {
  794.         window.app.message = core.modules.initMessage({
  795.             templateUrl: \"{{ path('core_message_load_template') }}\",
  796.             text: {
  797.                 btnCancel: \"{{ 'app.message.cancel'|trans({},'core') }}\"
  798.             }
  799.         });
  800.         window.app.http = core.modules.initHttp({
  801.             requestErrorText: \"{{ 'app.http.server_error'|trans({},'core') }}\"
  802.         });
  803.         window.app.preLoader = core.modules.initPreloader({
  804.             templateUrl: \"{{ path('core_preloader_load_template') }}\"
  805.         });
  806.         window.app.leadForms = core.modules.initLeadForms({
  807.             captchaUrl: '{{ path('base_capthcha_init') }}',
  808.             text: {
  809.                 successTitle: '{{ 'modules.sps_form_title'|trans({}, 'dc_base') }}',
  810.                 successText: '{{ 'modules.sps_form_subtitle'|trans({}, 'dc_base') }}',
  811.                 buttonText: '{{ 'pages.base.ok'|trans({}, 'dc_base') }}'
  812.             },
  813.             href: {
  814.                 buttonSuccess: null,
  815.             },
  816.         });
  817.         window.app.Favorit = core.modules.initFavorite({
  818.             addUrl: \"{{ path('portal_add_favl') }}\",
  819.             removeUrl: \"{{ path('portal_remove_favl') }}\"
  820.         });
  821.         window.app.Compare = core.modules.initCompare();
  822.         window.Track = core.modules.initTrack();
  823.         {#core.modules.initCookies({#}
  824.         {#    policyUrl: \"{{ privacyUrl }}\"#}
  825.         {#});#}
  826.         core.modules.initCallbacks({
  827.             initUrl: '{{ path('callback_widget_init') }}',
  828.             createUrl: '{{ path('callback_widget_create_request') }}',
  829.             getStateUrl: '{{ path('callback_widget_get_state') }}',
  830.             privacyUrl: '{{ privacyUrl }}',
  831.             callBackMinute: '{{ 'callback_widget.title'|trans({}, 'dc_base')|raw }}',
  832.             callBackWorkingHours: '{{ 'callback_widget.working_hours'|trans({}, 'dc_base') }}'
  833.         });
  834.     });
  835. </script>
  836. {% if app.user %}
  837. <script type=\"text/javascript\">
  838.     window.dataLayer.push({'user_id': {{ app.user.id }}});
  839. </script>
  840. {% endif %}
  841. {% block script %}
  842. {% endblock %}
  843. {# {% if app.environment == 'prod' %} #}
  844. {% if helpCrunch is defined %}
  845. <script type=\"text/javascript\" defer>
  846.     window.helpcrunchSettings = {
  847.         organization: '{{ helpCrunch['organization'] }}',
  848.         appId: '{{ helpCrunch['appId'] }}',
  849.     };
  850.     const deferTime = 3000;
  851.     (function(w,d){var hS=w.helpcrunchSettings;if(!hS||!hS.organization){return;}var widgetSrc='https://'+hS.organization+'.widget.helpcrunch.com/';w.HelpCrunch=function(){w.HelpCrunch.q.push(arguments)};w.HelpCrunch.q=[];function r(){if (d.querySelector('script[src=\"' + widgetSrc + '\"')) { return; } core.modules.deferScript('https://{{ helpCrunch['organization'] }}.widget.helpcrunch.com/', deferTime);}if(d.readyState === 'complete'||hS.loadImmediately){r();} else if(w.attachEvent){w.attachEvent('onload',r)}else{w.addEventListener('load',r,false)}})(window, document)
  852. </script>
  853. {# <script type=\"text/javascript\" defer>
  854.     (function(w,d){var hS=w.helpcrunchSettings;if(!hS||!hS.organization){return;}var widgetSrc='https://'+hS.organization+'.widget.helpcrunch.com/';w.HelpCrunch=function(){w.HelpCrunch.q.push(arguments)};w.HelpCrunch.q=[];function r(){if (d.querySelector('script[src=\"' + widgetSrc + '\"')) { return; }var s=d.createElement('script');s.defer=1;s.type='text/javascript';s.src=widgetSrc;(d.body||d.head).appendChild(s);}if(d.readyState === 'complete'||hS.loadImmediately){r();} else if(w.attachEvent){w.attachEvent('onload',r)}else{w.addEventListener('load',r,false)}})(window, document)
  855. </script> #}
  856. {% endif %}
  857. {# {% endif %} #}
  858. <script type=\"application/ld+json\">
  859. {
  860.     \"@context\": \"https://schema.org/\",
  861.     \"@type\": \"WebSite\",
  862.     \"name\": \"{{ dealer.brand.name }}\",
  863.     \"url\": \"{{ app.request.uri }}\"
  864. }
  865. </script>
  866. <script type=\"application/ld+json\">
  867. {
  868.     \"@context\": \"https://schema.org\",
  869.     \"@type\": \"AutoDealer\",
  870.     \"name\": \"{{ dealer.brand.name }}\",
  871.     \"image\": \"https://toyota-ua.com/bundles/dcsite/img/toyota/logo-toyota.png\",
  872.     \"url\": \"{{ app.request.uri }}\",
  873.     \"telephone\": \"{{ dealer.phone }}\",
  874.     \"address\": {
  875.     \"@type\": \"PostalAddress\",
  876.     \"streetAddress\": \" {{ dealer.addressUa }}\",
  877.     \"addressLocality\": \"Київ\"
  878.     },
  879.     \"sameAs\": [
  880.     \"{{ dealer.linkFacebook }}\",
  881.     \"{{ dealer.linkInstagram }}\",
  882.     \"{{ dealer.linkYoutube }}\"
  883.     ]
  884. }
  885. </script>
  886. <script type=\"application/ld+json\">
  887. {
  888.     \"@context\": \"https://schema.org\",
  889.     \"@type\": \"Organization\",
  890.     \"url\": \"{{ app.request.uri }}\",
  891.     \"logo\": \"https://toyota-ua.com/bundles/dcsite/img/toyota/logo-toyota.png\"
  892. }
  893. </script>
  894. </body>
  895. </html>
  896. ""@DcSite/Toyota/template.html.twig""/var/www/vidi.ua/releases/251103-152e0038/src/DcSiteBundle/Resources/views/Toyota/template.html.twig");
  897.     }
  898. }