var/cache/dev/twig/0d/0d8db3e4ea8979a998bfe157ec80102c6e66f22ef9645c072451b7c41e100202.php line 116

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @templates/RcaApp/Front/homepage.html.twig */
  14. class __TwigTemplate_cdead027cfc9fc35702539816ffbde322e032f268b79b7949b455b701eb6a770 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'metatags' => [$this'block_metatags'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.             'webpack_app' => [$this'block_webpack_app'],
  28.             'content' => [$this'block_content'],
  29.             'loaderContainer' => [$this'block_loaderContainer'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "@templates/Front/Shop/layout.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@templates/RcaApp/Front/homepage.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@templates/RcaApp/Front/homepage.html.twig"));
  44.         $this->parent $this->loadTemplate("@templates/Front/Shop/layout.html.twig""@templates/RcaApp/Front/homepage.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 3
  52.     public function block_title($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         echo " Vezi oferte RCA cât ai clipi si primesti asigurarea pe email ";
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.     }
  65.     // line 5
  66.     public function block_metatags($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  73.         // line 6
  74.         echo "    <meta name=\"description\" content=\"Site autorizat de ofertare asigurare auto RCA. Reînnoire asigurare auto RCA printr-un singur click! Afișăm toate mașinile într-un singur panou de control, și îl Alertăm Gratuit când expiră asigurarea auto RCA.\"/>
  75.     <meta name=\"keywords\" content=\"asigurare auto, asigurare RCA,  verificari asigurari auto; oferte RCA, RCA online\">
  76. ";
  77.         
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  79.         
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  81.     }
  82.     // line 10
  83.     public function block_stylesheets($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  90.         // line 11
  91.         echo "    ";
  92.         $this->displayParentBlock("stylesheets"$context$blocks);
  93.         echo "
  94.     ";
  95.         // line 12
  96.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("rca");
  97.         echo "
  98.     <link rel=\"stylesheet\" href=\"";
  99.         // line 13
  100.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/toast.min.css"), "html"nulltrue);
  101.         echo "\">
  102.     <link rel=\"stylesheet\" href=\"";
  103.         // line 14
  104.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/vue-select.min.css"), "html"nulltrue);
  105.         echo "\">
  106. ";
  107.         
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  109.         
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  111.     }
  112.     // line 17
  113.     public function block_javascripts($context, array $blocks = [])
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  120.         // line 18
  121.         echo "    ";
  122.         $this->displayParentBlock("javascripts"$context$blocks);
  123.         echo "
  124.     ";
  125.         // line 19
  126.         $this->displayBlock('webpack_app'$context$blocks);
  127.         // line 20
  128.         echo "    ";
  129.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("rca");
  130.         echo "
  131.     <script src=\"";
  132.         // line 21
  133.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/js/babel.min.js"), "html"nulltrue);
  134.         echo "\"></script>
  135.     <script src=\"";
  136.         // line 22
  137.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/js/float_label.js"), "html"nulltrue);
  138.         echo "\" type=\"text/babel\"></script>
  139. ";
  140.         
  141.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  142.         
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  144.     }
  145.     // line 19
  146.     public function block_webpack_app($context, array $blocks = [])
  147.     {
  148.         $macros $this->macros;
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  150.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""webpack_app"));
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""webpack_app"));
  153.         echo "";
  154.         
  155.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  156.         
  157.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  158.     }
  159.     // line 25
  160.     public function block_content($context, array $blocks = [])
  161.     {
  162.         $macros $this->macros;
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  164.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  166.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  167.         // line 26
  168.         echo "    ";
  169.         if ((twig_get_attribute($this->env$this->source, ($context["lastProductStatus"] ?? null), "rcaStatus", [], "any"truetruefalse26) || (isset($context["isAdmin"]) || array_key_exists("isAdmin"$context) ? $context["isAdmin"] : (function () { throw new RuntimeError('Variable "isAdmin" does not exist.'26$this->source); })()))) {
  170.             // line 27
  171.             echo "        <script>
  172.             const roadAssistanceTranslations = '";
  173.             // line 28
  174.             echo json_encode((isset($context["roadAssistanceTranslations"]) || array_key_exists("roadAssistanceTranslations"$context) ? $context["roadAssistanceTranslations"] : (function () { throw new RuntimeError('Variable "roadAssistanceTranslations" does not exist.'28$this->source); })()));
  175.             echo "';
  176.         </script>
  177.         <div id=\"app\">
  178.             <scala-front-homepage
  179.                     ref=\"scalaFrontHomepage\"
  180.                     :accordion-blocks-about-rca=\"";
  181.             // line 33
  182.             echo twig_escape_filter($this->envjson_encode((isset($context["accordionBlocksAboutRca"]) || array_key_exists("accordionBlocksAboutRca"$context) ? $context["accordionBlocksAboutRca"] : (function () { throw new RuntimeError('Variable "accordionBlocksAboutRca" does not exist.'33$this->source); })())), "html"nulltrue);
  183.             echo "\"
  184.                     :history-rca=\"";
  185.             // line 34
  186.             echo twig_escape_filter($this->envjson_encode((isset($context["historyRca"]) || array_key_exists("historyRca"$context) ? $context["historyRca"] : (function () { throw new RuntimeError('Variable "historyRca" does not exist.'34$this->source); })())), "html"nulltrue);
  187.             echo "\"
  188.                     :rca-mapped-category=\"";
  189.             // line 35
  190.             echo twig_escape_filter($this->envjson_encode((isset($context["rcaMappedCategoryList"]) || array_key_exists("rcaMappedCategoryList"$context) ? $context["rcaMappedCategoryList"] : (function () { throw new RuntimeError('Variable "rcaMappedCategoryList" does not exist.'35$this->source); })())), "html"nulltrue);
  191.             echo "\"
  192.                     :vehicle-type-list=\"";
  193.             // line 36
  194.             echo twig_escape_filter($this->envjson_encode((isset($context["vehicleTypeList"]) || array_key_exists("vehicleTypeList"$context) ? $context["vehicleTypeList"] : (function () { throw new RuntimeError('Variable "vehicleTypeList" does not exist.'36$this->source); })())), "html"nulltrue);
  195.             echo "\"
  196.                     :rca-mapped-category-list=\"";
  197.             // line 37
  198.             echo twig_escape_filter($this->envjson_encode((isset($context["rcaMappedCategoryList"]) || array_key_exists("rcaMappedCategoryList"$context) ? $context["rcaMappedCategoryList"] : (function () { throw new RuntimeError('Variable "rcaMappedCategoryList" does not exist.'37$this->source); })())), "html"nulltrue);
  199.             echo "\"
  200.                     :default-make-list=\"";
  201.             // line 38
  202.             echo twig_escape_filter($this->envjson_encode((isset($context["defaultMakeList"]) || array_key_exists("defaultMakeList"$context) ? $context["defaultMakeList"] : (function () { throw new RuntimeError('Variable "defaultMakeList" does not exist.'38$this->source); })())), "html"nulltrue);
  203.             echo "\"
  204.                     :fuel-type-list=\"";
  205.             // line 39
  206.             echo twig_escape_filter($this->envjson_encode((isset($context["fuelTypeList"]) || array_key_exists("fuelTypeList"$context) ? $context["fuelTypeList"] : (function () { throw new RuntimeError('Variable "fuelTypeList" does not exist.'39$this->source); })())), "html"nulltrue);
  207.             echo "\"
  208.                     :availability-interval-list=\"";
  209.             // line 40
  210.             echo twig_escape_filter($this->envjson_encode((isset($context["availabilityIntervalList"]) || array_key_exists("availabilityIntervalList"$context) ? $context["availabilityIntervalList"] : (function () { throw new RuntimeError('Variable "availabilityIntervalList" does not exist.'40$this->source); })())), "html"nulltrue);
  211.             echo "\"
  212.                     :insurance-company-list=\"";
  213.             // line 41
  214.             echo twig_escape_filter($this->envjson_encode((isset($context["insuranceCompanyList"]) || array_key_exists("insuranceCompanyList"$context) ? $context["insuranceCompanyList"] : (function () { throw new RuntimeError('Variable "insuranceCompanyList" does not exist.'41$this->source); })())), "html"nulltrue);
  215.             echo "\"
  216.                     :availability-list=\"";
  217.             // line 42
  218.             echo twig_escape_filter($this->envjson_encode((isset($context["availabilityList"]) || array_key_exists("availabilityList"$context) ? $context["availabilityList"] : (function () { throw new RuntimeError('Variable "availabilityList" does not exist.'42$this->source); })())), "html"nulltrue);
  219.             echo "\"
  220.                     :usage-type-list=\"";
  221.             // line 43
  222.             echo twig_escape_filter($this->envjson_encode((isset($context["usageTypeList"]) || array_key_exists("usageTypeList"$context) ? $context["usageTypeList"] : (function () { throw new RuntimeError('Variable "usageTypeList" does not exist.'43$this->source); })())), "html"nulltrue);
  223.             echo "\"
  224.                     :road-assistance-default-price=\"";
  225.             // line 44
  226.             echo twig_escape_filter($this->envjson_encode((isset($context["roadAssistanceDefaultPrice"]) || array_key_exists("roadAssistanceDefaultPrice"$context) ? $context["roadAssistanceDefaultPrice"] : (function () { throw new RuntimeError('Variable "roadAssistanceDefaultPrice" does not exist.'44$this->source); })())), "html"nulltrue);
  227.             echo "\"
  228.                     :road-assistance-terms-and-conditions=\"'";
  229.             // line 45
  230.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show", ["slug" => "terms-and-conditions-road-assistance"]);
  231.             echo "'\"
  232.                     :leasing-company-list=\"";
  233.             // line 46
  234.             echo twig_escape_filter($this->envjson_encode((isset($context["leasingCompanyList"]) || array_key_exists("leasingCompanyList"$context) ? $context["leasingCompanyList"] : (function () { throw new RuntimeError('Variable "leasingCompanyList" does not exist.'46$this->source); })())), "html"nulltrue);
  235.             echo "\"
  236.                     :county-list=\"";
  237.             // line 47
  238.             echo twig_escape_filter($this->envjson_encode((isset($context["countyList"]) || array_key_exists("countyList"$context) ? $context["countyList"] : (function () { throw new RuntimeError('Variable "countyList" does not exist.'47$this->source); })())), "html"nulltrue);
  239.             echo "\"
  240.                     :url-terms-gdpr=\"'";
  241.             // line 48
  242.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show", ["slug" => "protectia-datelor-rca"]);
  243.             echo "'\"
  244.                     :last-product-status=\"";
  245.             // line 49
  246.             echo twig_escape_filter($this->envjson_encode((isset($context["lastProductStatusArray"]) || array_key_exists("lastProductStatusArray"$context) ? $context["lastProductStatusArray"] : (function () { throw new RuntimeError('Variable "lastProductStatusArray" does not exist.'49$this->source); })())), "html"nulltrue);
  247.             echo "\"
  248.                     :last-campaign-status=\"";
  249.             // line 50
  250.             echo twig_escape_filter($this->envjson_encode((isset($context["lastCampaignStatusArray"]) || array_key_exists("lastCampaignStatusArray"$context) ? $context["lastCampaignStatusArray"] : (function () { throw new RuntimeError('Variable "lastCampaignStatusArray" does not exist.'50$this->source); })())), "html"nulltrue);
  251.             echo "\"
  252.                     :hash=\"'";
  253.             // line 51
  254.             echo twig_escape_filter($this->env, (isset($context["hash"]) || array_key_exists("hash"$context) ? $context["hash"] : (function () { throw new RuntimeError('Variable "hash" does not exist.'51$this->source); })()), "html"nulltrue);
  255.             echo "'\"
  256.                     :recaptcha-site-key=\"'";
  257.             // line 52
  258.             echo twig_escape_filter($this->env, (isset($context["recaptchaSiteKey"]) || array_key_exists("recaptchaSiteKey"$context) ? $context["recaptchaSiteKey"] : (function () { throw new RuntimeError('Variable "recaptchaSiteKey" does not exist.'52$this->source); })()), "html"nulltrue);
  259.             echo "'\"
  260.                     :old-vehicle=\"";
  261.             // line 53
  262.             (((isset($context["oldVehicle"]) || array_key_exists("oldVehicle"$context) ? $context["oldVehicle"] : (function () { throw new RuntimeError('Variable "oldVehicle" does not exist.'53$this->source); })())) ? (print (twig_escape_filter($this->envjson_encode((isset($context["oldVehicle"]) || array_key_exists("oldVehicle"$context) ? $context["oldVehicle"] : (function () { throw new RuntimeError('Variable "oldVehicle" does not exist.'53$this->source); })())), "html"nulltrue))) : (print ("{}")));
  263.             echo "\"
  264.                     :old-customer=\"";
  265.             // line 54
  266.             (((isset($context["oldCustomer"]) || array_key_exists("oldCustomer"$context) ? $context["oldCustomer"] : (function () { throw new RuntimeError('Variable "oldCustomer" does not exist.'54$this->source); })())) ? (print (twig_escape_filter($this->envjson_encode((isset($context["oldCustomer"]) || array_key_exists("oldCustomer"$context) ? $context["oldCustomer"] : (function () { throw new RuntimeError('Variable "oldCustomer" does not exist.'54$this->source); })())), "html"nulltrue))) : (print ("{}")));
  267.             echo "\"
  268.                     :old-offer=\"";
  269.             // line 55
  270.             (((isset($context["oldOffer"]) || array_key_exists("oldOffer"$context) ? $context["oldOffer"] : (function () { throw new RuntimeError('Variable "oldOffer" does not exist.'55$this->source); })())) ? (print (twig_escape_filter($this->envjson_encode((isset($context["oldOffer"]) || array_key_exists("oldOffer"$context) ? $context["oldOffer"] : (function () { throw new RuntimeError('Variable "oldOffer" does not exist.'55$this->source); })())), "html"nulltrue))) : (print ("{}")));
  271.             echo "\"
  272.                     :can-issue-road-assistance=\"";
  273.             // line 56
  274.             echo (((isset($context["canIssueRoadAssistance"]) || array_key_exists("canIssueRoadAssistance"$context) ? $context["canIssueRoadAssistance"] : (function () { throw new RuntimeError('Variable "canIssueRoadAssistance" does not exist.'56$this->source); })())) ? ("true") : ("false"));
  275.             echo "\"
  276.             >
  277.             </scala-front-homepage>
  278.         </div>
  279.         ";
  280.             // line 60
  281.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("vue");
  282.             echo "
  283.     ";
  284.         } else {
  285.             // line 62
  286.             echo "        <div class=\"card text-center my-3\">
  287.             <div class=\"card-header\">
  288.                 <h2>RCA ";
  289.             // line 64
  290.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.coming_soon"), "html"nulltrue);
  291.             echo "</h2>
  292.             </div>
  293.             <div class=\"card-body\">
  294.                 <a href=\"";
  295.             // line 67
  296.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_vignette");
  297.             echo "\">";
  298.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy_vignette_online"), "html"nulltrue);
  299.             echo "</a>
  300.             </div>
  301.         </div>
  302.     ";
  303.         }
  304.         
  305.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  306.         
  307.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  308.     }
  309.     // line 73
  310.     public function block_loaderContainer($context, array $blocks = [])
  311.     {
  312.         $macros $this->macros;
  313.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  314.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""loaderContainer"));
  315.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  316.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""loaderContainer"));
  317.         echo "";
  318.         
  319.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  320.         
  321.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  322.     }
  323.     public function getTemplateName()
  324.     {
  325.         return "@templates/RcaApp/Front/homepage.html.twig";
  326.     }
  327.     public function isTraitable()
  328.     {
  329.         return false;
  330.     }
  331.     public function getDebugInfo()
  332.     {
  333.         return array (  352 => 73,  335 => 67,  329 => 64,  325 => 62,  320 => 60,  313 => 56,  309 => 55,  305 => 54,  301 => 53,  297 => 52,  293 => 51,  289 => 50,  285 => 49,  281 => 48,  277 => 47,  273 => 46,  269 => 45,  265 => 44,  261 => 43,  257 => 42,  253 => 41,  249 => 40,  245 => 39,  241 => 38,  237 => 37,  233 => 36,  229 => 35,  225 => 34,  221 => 33,  213 => 28,  210 => 27,  207 => 26,  197 => 25,  178 => 19,  166 => 22,  162 => 21,  157 => 20,  155 => 19,  150 => 18,  140 => 17,  128 => 14,  124 => 13,  120 => 12,  115 => 11,  105 => 10,  93 => 6,  83 => 5,  64 => 3,  41 => 1,);
  334.     }
  335.     public function getSourceContext()
  336.     {
  337.         return new Source("{% extends '@templates/Front/Shop/layout.html.twig' %}
  338. {% block title %} Vezi oferte RCA cât ai clipi si primesti asigurarea pe email {% endblock %}
  339. {% block metatags %}
  340.     <meta name=\"description\" content=\"Site autorizat de ofertare asigurare auto RCA. Reînnoire asigurare auto RCA printr-un singur click! Afișăm toate mașinile într-un singur panou de control, și îl Alertăm Gratuit când expiră asigurarea auto RCA.\"/>
  341.     <meta name=\"keywords\" content=\"asigurare auto, asigurare RCA,  verificari asigurari auto; oferte RCA, RCA online\">
  342. {% endblock %}
  343. {% block stylesheets %}
  344.     {{ parent() }}
  345.     {{ encore_entry_link_tags('rca') }}
  346.     <link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/toast.min.css') }}\">
  347.     <link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/vue-select.min.css') }}\">
  348. {% endblock %}
  349. {% block javascripts %}
  350.     {{ parent() }}
  351.     {% block webpack_app '' %}
  352.     {{ encore_entry_script_tags('rca') }}
  353.     <script src=\"{{ asset('/assets/shop/js/babel.min.js') }}\"></script>
  354.     <script src=\"{{ asset('/assets/shop/js/float_label.js') }}\" type=\"text/babel\"></script>
  355. {% endblock %}
  356. {% block content %}
  357.     {% if lastProductStatus.rcaStatus  is defined  or isAdmin %}
  358.         <script>
  359.             const roadAssistanceTranslations = '{{ roadAssistanceTranslations|json_encode|raw }}';
  360.         </script>
  361.         <div id=\"app\">
  362.             <scala-front-homepage
  363.                     ref=\"scalaFrontHomepage\"
  364.                     :accordion-blocks-about-rca=\"{{ accordionBlocksAboutRca|json_encode }}\"
  365.                     :history-rca=\"{{ historyRca|json_encode }}\"
  366.                     :rca-mapped-category=\"{{ rcaMappedCategoryList|json_encode }}\"
  367.                     :vehicle-type-list=\"{{ vehicleTypeList|json_encode }}\"
  368.                     :rca-mapped-category-list=\"{{ rcaMappedCategoryList|json_encode }}\"
  369.                     :default-make-list=\"{{ defaultMakeList|json_encode }}\"
  370.                     :fuel-type-list=\"{{ fuelTypeList|json_encode }}\"
  371.                     :availability-interval-list=\"{{ availabilityIntervalList|json_encode }}\"
  372.                     :insurance-company-list=\"{{ insuranceCompanyList|json_encode }}\"
  373.                     :availability-list=\"{{ availabilityList|json_encode }}\"
  374.                     :usage-type-list=\"{{ usageTypeList|json_encode }}\"
  375.                     :road-assistance-default-price=\"{{ roadAssistanceDefaultPrice|json_encode }}\"
  376.                     :road-assistance-terms-and-conditions=\"'{{ path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'terms-and-conditions-road-assistance'}) }}'\"
  377.                     :leasing-company-list=\"{{ leasingCompanyList|json_encode }}\"
  378.                     :county-list=\"{{ countyList|json_encode }}\"
  379.                     :url-terms-gdpr=\"'{{ path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'protectia-datelor-rca'}) }}'\"
  380.                     :last-product-status=\"{{ lastProductStatusArray|json_encode }}\"
  381.                     :last-campaign-status=\"{{ lastCampaignStatusArray|json_encode }}\"
  382.                     :hash=\"'{{ hash }}'\"
  383.                     :recaptcha-site-key=\"'{{ recaptchaSiteKey }}'\"
  384.                     :old-vehicle=\"{{ oldVehicle ? oldVehicle|json_encode : '{}' }}\"
  385.                     :old-customer=\"{{ oldCustomer ? oldCustomer|json_encode : '{}' }}\"
  386.                     :old-offer=\"{{ oldOffer ? oldOffer|json_encode : '{}' }}\"
  387.                     :can-issue-road-assistance=\"{{ canIssueRoadAssistance ? 'true' : 'false' }}\"
  388.             >
  389.             </scala-front-homepage>
  390.         </div>
  391.         {{ encore_entry_script_tags('vue') }}
  392.     {% else %}
  393.         <div class=\"card text-center my-3\">
  394.             <div class=\"card-header\">
  395.                 <h2>RCA {{ 'app.ui.coming_soon'|trans }}</h2>
  396.             </div>
  397.             <div class=\"card-body\">
  398.                 <a href=\"{{ path('app_shop_vignette') }}\">{{ 'app.ui.buy_vignette_online'|trans }}</a>
  399.             </div>
  400.         </div>
  401.     {% endif %}
  402. {% endblock %}
  403. {% block loaderContainer '' %}
  404. ""@templates/RcaApp/Front/homepage.html.twig""/vhosts/roviniete-testing.roviniete.ro/templates/RcaApp/Front/homepage.html.twig");
  405.     }
  406. }