var/cache/dev/twig/b5/b562ab40433978f107df9d68a6f1fab1402a170cf176ef38135175820f26deaa.php line 141

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. /* base.html.twig */
  14. class __TwigTemplate_99f991a6f44cd182e0566f2dd81b31590b0e25d27f5a406d5180d6bfb7db7414 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->parent false;
  23.         $this->blocks = [
  24.             'metaDescription' => [$this'block_metaDescription'],
  25.             'title' => [$this'block_title'],
  26.             'CSS' => [$this'block_CSS'],
  27.             'mainCSS' => [$this'block_mainCSS'],
  28.             'googleTags' => [$this'block_googleTags'],
  29.             'bodyClass' => [$this'block_bodyClass'],
  30.             'loaderStyle' => [$this'block_loaderStyle'],
  31.             'loaderText' => [$this'block_loaderText'],
  32.             'body' => [$this'block_body'],
  33.             'mainJS' => [$this'block_mainJS'],
  34.             'JS' => [$this'block_JS'],
  35.             'modals' => [$this'block_modals'],
  36.         ];
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  45.         // line 1
  46.         echo "<!DOCTYPE html>
  47. <html lang=\"";
  48.         // line 2
  49.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_split_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "_"), 0, [], "array"falsefalsefalse2), "html"nulltrue);
  50.         echo "\">
  51.     <head>
  52.         <meta charset=\"utf-8\">
  53.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  54.         <meta name=\"description\" content=\"";
  55.         // line 6
  56.         $this->displayBlock('metaDescription'$context$blocks);
  57.         echo "\">
  58.         <meta name=\"author\" content=\"Maturin\">
  59.         <link rel=\"shortcut icon\" type=\"image/png\" href=\"https://maturin.ca/favicon.png\"/>
  60.         <link rel=\"icon\" type=\"image/png\" href=\"https://maturin.ca/favicon.png\"/>
  61.         <link rel=\"apple-touch-icon\" href=\"https://maturin.ca/favicon.png\">
  62.         <title>";
  63.         // line 11
  64.         $this->displayBlock('title'$context$blocks);
  65.         echo "</title>
  66.         ";
  67.         // line 13
  68.         $this->displayBlock('CSS'$context$blocks);
  69.         // line 15
  70.         echo "
  71.         ";
  72.         // line 16
  73.         $this->displayBlock('mainCSS'$context$blocks);
  74.         // line 36
  75.         echo "        <script src=\"/assets/admin/js/modernizr.min.js\"></script>
  76.         <!-- Global site tag (gtag.js) - Google Analytics -->
  77.         <script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-128702569-1\"></script> 
  78.          <script>
  79.             window.dataLayer = window.dataLayer || [];
  80.             function gtag(){dataLayer.push(arguments);}
  81.             gtag('js', new Date());
  82.             gtag('config', 'UA-128702569-1');
  83.         </script>
  84.         <!-- Google Tag Manager -->
  85.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  86.             new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  87.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  88. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  89.         })(window,document,'script','dataLayer','GTM-T88BGD9');</script>
  90.         <!-- End Google Tag Manager -->
  91.         ";
  92.         // line 54
  93.         $this->displayBlock('googleTags'$context$blocks);
  94.         // line 56
  95.         echo "    </head>
  96.     <body class=\"";
  97.         // line 57
  98.         $this->displayBlock('bodyClass'$context$blocks);
  99.         echo "\">
  100.         <!-- Google Tag Manager (noscript) -->
  101.         <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-T88BGD9\"
  102.         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  103.         <!-- End Google Tag Manager (noscript) -->
  104.         ";
  105.         // line 63
  106.         if ((isset($context["loader"]) || array_key_exists("loader"$context))) {
  107.             // line 64
  108.             echo "            <div class=\"se-pre-con\" id=\"se-pre-con\" style=\"";
  109.             $this->displayBlock('loaderStyle'$context$blocks);
  110.             echo "\">
  111.             ";
  112.             // line 65
  113.             $this->displayBlock('loaderText'$context$blocks);
  114.             // line 66
  115.             echo "            </div>
  116.         ";
  117.         } else {
  118.             // line 68
  119.             echo "            <div class=\"se-pre-con\" id=\"se-pre-con\" style=\"display: none\">
  120.             </div>
  121.         ";
  122.         }
  123.         // line 72
  124.         echo "
  125.         ";
  126.         // line 73
  127.         $this->displayBlock('body'$context$blocks);
  128.         // line 74
  129.         echo "
  130.         ";
  131.         // line 76
  132.         echo "        <script>
  133.             window.addToCartNotification = 0;
  134.     function addToCart()
  135.     {
  136.         console.log('Base add to cart called');
  137.         event.preventDefault();
  138.         var type= this.getAttribute(\"data-type\");
  139.         var id= this.getAttribute(\"data-id\");
  140.         var quantityWidget = this.getAttribute('data-quantity');
  141.         if(quantityWidget && document.getElementById(quantityWidget)){
  142.             var quantity = document.getElementById(quantityWidget).value;
  143.         }else
  144.             var quantity = 1;
  145.         var xmlHttp = new XMLHttpRequest();
  146.         xmlHttp.onreadystatechange = function()
  147.         {
  148.             console.log(xmlHttp.readyState);
  149.             if(xmlHttp.readyState == 4 && xmlHttp.status == 200)
  150.             {
  151.                 var total = parseInt(document.getElementById('menu-cart-count').innerHTML);
  152.                 document.getElementById('menu-cart-count').innerHTML = total+1;
  153.                 document.getElementById('menu-cart-count').style.display = 'block';;
  154.                 window.addToCartNotification++;
  155.                 var json = JSON.parse(xmlHttp.responseText);
  156.                 console.log(json);
  157.                 if(document.getElementById('menu_subtotal_cart'))
  158.                     document.getElementById('menu_subtotal_cart').innerHTML = json.totalCart;
  159.                 if(document.getElementById('mobile_menu_subtotal_cart'))
  160.                     document.getElementById('mobile_menu_subtotal_cart').innerHTML = json.totalCart;
  161.             }
  162.         }
  163.         var subscribe = this.getAttribute('data-subscribe');
  164.         if( subscribe )
  165.             xmlHttp.open(\"post\", '/API/cart/add/'+id+'/'+quantity+'/'+subscribe);
  166.         else
  167.             xmlHttp.open(\"post\", '/API/cart/add/'+id+'/'+quantity);
  168.         xmlHttp.send();
  169.         /*
  170.         \$.ajax({
  171.             url: Routing.generate('addToCart', {id: id, quantity: quantity}),
  172.             method: 'POST',
  173.             dataType: 'json',
  174.             complete: _this.addedToCart
  175.         });
  176.          */
  177. }
  178. var classname = document.getElementsByClassName(\"add-to-cart\");
  179. for (var i = 0; i < classname.length; i++) {
  180.     if(!classname[i].classList.contains(\"binded\")){
  181.         var classString = classname[i].className;
  182.         var newClass = classString.concat(\" binded\");
  183.         classname[i].className = newClass;
  184.         classname[i].addEventListener('click', addToCart, false);
  185.     }
  186. }
  187.         </script>
  188.         ";
  189.         // line 145
  190.         echo "        <input type=\"hidden\" id=\"userLocale\" value='";
  191.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'145$this->source); })()), "request", [], "any"falsefalsefalse145), "locale", [], "any"falsefalsefalse145), "html"nulltrue);
  192.         echo "'>
  193.         <!-- END wrapper -->
  194.         ";
  195.         // line 149
  196.         $this->displayBlock('mainJS'$context$blocks);
  197.         // line 158
  198.         echo "
  199.         ";
  200.         // line 159
  201.         $this->displayBlock('JS'$context$blocks);
  202.         // line 161
  203.         echo "
  204.         ";
  205.         // line 162
  206.         $this->displayBlock('modals'$context$blocks);
  207.         // line 166
  208.         echo "        <div id=\"flashMessages\" style=\"position:absolute;top: -200px;\">
  209.             ";
  210.         // line 167
  211.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'167$this->source); })()), "request", [], "any"falsefalsefalse167), "hasPreviousSession", [], "any"falsefalsefalse167)) {
  212.             // line 168
  213.             echo "            ";
  214.             $context['_parent'] = $context;
  215.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'168$this->source); })()), "session", [], "any"falsefalsefalse168), "flashbag", [], "any"falsefalsefalse168), "all", [], "method"falsefalsefalse168));
  216.             foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
  217.                 // line 169
  218.                 echo "            ";
  219.                 $context['_parent'] = $context;
  220.                 $context['_seq'] = twig_ensure_traversable($context["messages"]);
  221.                 foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  222.                     // line 170
  223.                     echo "            <div class=\"flashMessage flash-";
  224.                     echo twig_escape_filter($this->env$context["type"], "html"nulltrue);
  225.                     echo "\" data-type=\"";
  226.                     echo twig_escape_filter($this->env$context["type"], "html"nulltrue);
  227.                     echo "\">
  228.                 ";
  229.                     // line 171
  230.                     echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  231.                     echo "
  232.             </div>
  233.             ";
  234.                 }
  235.                 $_parent $context['_parent'];
  236.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  237.                 $context array_intersect_key($context$_parent) + $_parent;
  238.                 // line 174
  239.                 echo "            ";
  240.             }
  241.             $_parent $context['_parent'];
  242.             unset($context['_seq'], $context['_iterated'], $context['type'], $context['messages'], $context['_parent'], $context['loop']);
  243.             $context array_intersect_key($context$_parent) + $_parent;
  244.             // line 175
  245.             echo "            ";
  246.         }
  247.         // line 176
  248.         echo "        </div>
  249.         <script src=\"/assets/admin/seo/optimization.js\"></script>
  250.         ";
  251.         // line 178
  252.         if (( !(isset($context["hideChat"]) || array_key_exists("hideChat"$context)) && (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'178$this->source); })()), "environment", [], "any"falsefalsefalse178) != "dev"))) {
  253.             // line 179
  254.             echo "        <script>
  255.             (function() {
  256.                 var wa = document.createElement('script'); wa.type = 'text/javascript'; wa.async = true;
  257.                 wa.src = 'https://d10lpsik1i8c69.cloudfront.net/w.js';
  258.                 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wa, s);
  259.             })();
  260.         </script>
  261.         <script type='text/javascript' data-cfasync='false'>window.purechatApi = { l: [], t: [], on: function () { this.l.push(arguments); } }; (function () { var done = false; var script = document.createElement('script'); script.async = true; script.type = 'text/javascript'; script.src = 'https://app.purechat.com/VisitorWidget/WidgetScript'; document.getElementsByTagName('HEAD').item(0).appendChild(script); script.onreadystatechange = script.onload = function (e) { if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) { var w = new PCWidget({c: 'fed674ea-4346-4843-82df-3fd025dbcfb0', f: true }); done = true; } }; })();</script>
  262.         ";
  263.         }
  264.         // line 195
  265.         echo "    </body>
  266. </html>
  267. ";
  268.         
  269.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  270.         
  271.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  272.     }
  273.     // line 6
  274.     public function block_metaDescription($context, array $blocks = [])
  275.     {
  276.         $macros $this->macros;
  277.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  278.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  279.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  280.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  281.         
  282.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  283.         
  284.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  285.     }
  286.     // line 11
  287.     public function block_title($context, array $blocks = [])
  288.     {
  289.         $macros $this->macros;
  290.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  291.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  292.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  293.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  294.         echo "Maturin - Dashboard";
  295.         
  296.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  297.         
  298.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  299.     }
  300.     // line 13
  301.     public function block_CSS($context, array $blocks = [])
  302.     {
  303.         $macros $this->macros;
  304.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  305.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""CSS"));
  306.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  307.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""CSS"));
  308.         // line 14
  309.         echo "        ";
  310.         
  311.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  312.         
  313.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  314.     }
  315.     // line 16
  316.     public function block_mainCSS($context, array $blocks = [])
  317.     {
  318.         $macros $this->macros;
  319.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  320.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainCSS"));
  321.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  322.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainCSS"));
  323.         // line 17
  324.         echo "            <link href=\"/assets/frontend/css/responsive.css?ver=";
  325.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'17$this->source); })()), "cssVersion", [], "any"falsefalsefalse17), "html"nulltrue);
  326.         echo "\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  327.             <link href=\"";
  328.         // line 18
  329.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/admin/dashboard.css"), "html"nulltrue);
  330.         echo "\" rel=\"stylesheet\" type=\"text/css\" />
  331.             <link href=\"/assets/admin/css/icons.css\" rel=\"stylesheet\" type=\"text/css\" />
  332.             <link href=\"";
  333.         // line 20
  334.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/base.css"), "html"nulltrue);
  335.         echo "\" rel=\"stylesheet\" type=\"text/css\" />
  336.             <script src=\"";
  337.         // line 21
  338.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/fosjsrouting/js/router.min.js"), "html"nulltrue);
  339.         echo "\"></script>
  340.             <script src=\"";
  341.         // line 22
  342.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
  343.         echo "\"></script>
  344. <style>
  345.     #mainSearch {
  346.         background-color: white!important;
  347.         color: black!important;
  348.     }
  349.     #mainSearch::placeholder {
  350.         color: black!important;
  351.     }
  352.     #btn-main-search { color: black!important }
  353. </style>
  354.         ";
  355.         
  356.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  357.         
  358.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  359.     }
  360.     // line 54
  361.     public function block_googleTags($context, array $blocks = [])
  362.     {
  363.         $macros $this->macros;
  364.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  365.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleTags"));
  366.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  367.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleTags"));
  368.         // line 55
  369.         echo "        ";
  370.         
  371.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  372.         
  373.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  374.     }
  375.     // line 57
  376.     public function block_bodyClass($context, array $blocks = [])
  377.     {
  378.         $macros $this->macros;
  379.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  380.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  381.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  382.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  383.         
  384.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  385.         
  386.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  387.     }
  388.     // line 64
  389.     public function block_loaderStyle($context, array $blocks = [])
  390.     {
  391.         $macros $this->macros;
  392.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  393.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""loaderStyle"));
  394.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  395.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""loaderStyle"));
  396.         
  397.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  398.         
  399.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  400.     }
  401.     // line 65
  402.     public function block_loaderText($context, array $blocks = [])
  403.     {
  404.         $macros $this->macros;
  405.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  406.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""loaderText"));
  407.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  408.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""loaderText"));
  409.         
  410.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  411.         
  412.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  413.     }
  414.     // line 73
  415.     public function block_body($context, array $blocks = [])
  416.     {
  417.         $macros $this->macros;
  418.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  419.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  420.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  421.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  422.         
  423.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  424.         
  425.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  426.     }
  427.     // line 149
  428.     public function block_mainJS($context, array $blocks = [])
  429.     {
  430.         $macros $this->macros;
  431.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  432.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainJS"));
  433.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  434.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainJS"));
  435.         // line 150
  436.         echo "        ";
  437.         // line 151
  438.         echo "        <script src=\"/assets/frontend/js/jquery-3.1.1.min.js\"></script>
  439.         <script src=\"";
  440.         // line 152
  441.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/fosjsrouting/js/router.min.js"), "html"nulltrue);
  442.         echo "\"></script>
  443.         <script src=\"";
  444.         // line 153
  445.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
  446.         echo "\"></script>
  447.         <script src=\"";
  448.         // line 154
  449.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/bazingajstranslation/js/translator.min.js"), "html"nulltrue);
  450.         echo "\"></script>
  451.         <!-- <script src=\"";
  452.         // line 155
  453.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("bazinga_jstranslation_js");
  454.         echo "\"></script> -->
  455.         <script src=\"";
  456.         // line 156
  457.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/base.js"), "html"nulltrue);
  458.         echo "\"></script>
  459.         ";
  460.         
  461.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  462.         
  463.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  464.     }
  465.     // line 159
  466.     public function block_JS($context, array $blocks = [])
  467.     {
  468.         $macros $this->macros;
  469.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  470.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""JS"));
  471.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  472.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""JS"));
  473.         // line 160
  474.         echo "        ";
  475.         
  476.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  477.         
  478.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  479.     }
  480.     // line 162
  481.     public function block_modals($context, array $blocks = [])
  482.     {
  483.         $macros $this->macros;
  484.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  485.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  486.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  487.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  488.         // line 163
  489.         echo "        ";
  490.         $this->loadTemplate("admin/modals/viewNotification.html.twig""base.html.twig"163)->display($context);
  491.         // line 164
  492.         echo "        ";
  493.         $this->loadTemplate("admin/modals/newMessage.html.twig""base.html.twig"164)->display($context);
  494.         // line 165
  495.         echo "        ";
  496.         
  497.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  498.         
  499.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  500.     }
  501.     public function getTemplateName()
  502.     {
  503.         return "base.html.twig";
  504.     }
  505.     public function isTraitable()
  506.     {
  507.         return false;
  508.     }
  509.     public function getDebugInfo()
  510.     {
  511.         return array (  592 => 165,  589 => 164,  586 => 163,  576 => 162,  566 => 160,  556 => 159,  544 => 156,  540 => 155,  536 => 154,  532 => 153,  528 => 152,  525 => 151,  523 => 150,  513 => 149,  495 => 73,  477 => 65,  459 => 64,  441 => 57,  431 => 55,  421 => 54,  397 => 22,  393 => 21,  389 => 20,  384 => 18,  379 => 17,  369 => 16,  359 => 14,  349 => 13,  330 => 11,  312 => 6,  300 => 195,  282 => 179,  280 => 178,  276 => 176,  273 => 175,  267 => 174,  258 => 171,  251 => 170,  246 => 169,  241 => 168,  239 => 167,  236 => 166,  234 => 162,  231 => 161,  229 => 159,  226 => 158,  224 => 149,  216 => 145,  146 => 76,  143 => 74,  141 => 73,  138 => 72,  132 => 68,  128 => 66,  126 => 65,  121 => 64,  119 => 63,  110 => 57,  107 => 56,  105 => 54,  85 => 36,  83 => 16,  80 => 15,  78 => 13,  73 => 11,  65 => 6,  58 => 2,  55 => 1,);
  512.     }
  513.     public function getSourceContext()
  514.     {
  515.         return new Source("<!DOCTYPE html>
  516. <html lang=\"{{ app.request.locale|split('_')[0] }}\">
  517.     <head>
  518.         <meta charset=\"utf-8\">
  519.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  520.         <meta name=\"description\" content=\"{% block metaDescription %}{% endblock %}\">
  521.         <meta name=\"author\" content=\"Maturin\">
  522.         <link rel=\"shortcut icon\" type=\"image/png\" href=\"https://maturin.ca/favicon.png\"/>
  523.         <link rel=\"icon\" type=\"image/png\" href=\"https://maturin.ca/favicon.png\"/>
  524.         <link rel=\"apple-touch-icon\" href=\"https://maturin.ca/favicon.png\">
  525.         <title>{% block title %}Maturin - Dashboard{% endblock %}</title>
  526.         {% block CSS %}
  527.         {% endblock %}
  528.         {% block mainCSS %}
  529.             <link href=\"/assets/frontend/css/responsive.css?ver={{global.cssVersion}}\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  530.             <link href=\"{{asset('build/admin/dashboard.css')}}\" rel=\"stylesheet\" type=\"text/css\" />
  531.             <link href=\"/assets/admin/css/icons.css\" rel=\"stylesheet\" type=\"text/css\" />
  532.             <link href=\"{{asset('build/base.css')}}\" rel=\"stylesheet\" type=\"text/css\" />
  533.             <script src=\"{{ asset('bundles/fosjsrouting/js/router.min.js') }}\"></script>
  534.             <script src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
  535. <style>
  536.     #mainSearch {
  537.         background-color: white!important;
  538.         color: black!important;
  539.     }
  540.     #mainSearch::placeholder {
  541.         color: black!important;
  542.     }
  543.     #btn-main-search { color: black!important }
  544. </style>
  545.         {% endblock %}
  546.         <script src=\"/assets/admin/js/modernizr.min.js\"></script>
  547.         <!-- Global site tag (gtag.js) - Google Analytics -->
  548.         <script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-128702569-1\"></script> 
  549.          <script>
  550.             window.dataLayer = window.dataLayer || [];
  551.             function gtag(){dataLayer.push(arguments);}
  552.             gtag('js', new Date());
  553.             gtag('config', 'UA-128702569-1');
  554.         </script>
  555.         <!-- Google Tag Manager -->
  556.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  557.             new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  558.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  559. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  560.         })(window,document,'script','dataLayer','GTM-T88BGD9');</script>
  561.         <!-- End Google Tag Manager -->
  562.         {% block googleTags %}
  563.         {% endblock %}
  564.     </head>
  565.     <body class=\"{% block bodyClass %}{% endblock%}\">
  566.         <!-- Google Tag Manager (noscript) -->
  567.         <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-T88BGD9\"
  568.         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  569.         <!-- End Google Tag Manager (noscript) -->
  570.         {% if loader is defined %}
  571.             <div class=\"se-pre-con\" id=\"se-pre-con\" style=\"{% block loaderStyle %}{% endblock %}\">
  572.             {% block loaderText %}{% endblock %}
  573.             </div>
  574.         {% else %}
  575.             <div class=\"se-pre-con\" id=\"se-pre-con\" style=\"display: none\">
  576.             </div>
  577.         {% endif %}
  578.         {% block body %}{% endblock %}
  579.         {# To fix a issue with mobile we do the cart adding in pure JS #}
  580.         <script>
  581.             window.addToCartNotification = 0;
  582.     function addToCart()
  583.     {
  584.         console.log('Base add to cart called');
  585.         event.preventDefault();
  586.         var type= this.getAttribute(\"data-type\");
  587.         var id= this.getAttribute(\"data-id\");
  588.         var quantityWidget = this.getAttribute('data-quantity');
  589.         if(quantityWidget && document.getElementById(quantityWidget)){
  590.             var quantity = document.getElementById(quantityWidget).value;
  591.         }else
  592.             var quantity = 1;
  593.         var xmlHttp = new XMLHttpRequest();
  594.         xmlHttp.onreadystatechange = function()
  595.         {
  596.             console.log(xmlHttp.readyState);
  597.             if(xmlHttp.readyState == 4 && xmlHttp.status == 200)
  598.             {
  599.                 var total = parseInt(document.getElementById('menu-cart-count').innerHTML);
  600.                 document.getElementById('menu-cart-count').innerHTML = total+1;
  601.                 document.getElementById('menu-cart-count').style.display = 'block';;
  602.                 window.addToCartNotification++;
  603.                 var json = JSON.parse(xmlHttp.responseText);
  604.                 console.log(json);
  605.                 if(document.getElementById('menu_subtotal_cart'))
  606.                     document.getElementById('menu_subtotal_cart').innerHTML = json.totalCart;
  607.                 if(document.getElementById('mobile_menu_subtotal_cart'))
  608.                     document.getElementById('mobile_menu_subtotal_cart').innerHTML = json.totalCart;
  609.             }
  610.         }
  611.         var subscribe = this.getAttribute('data-subscribe');
  612.         if( subscribe )
  613.             xmlHttp.open(\"post\", '/API/cart/add/'+id+'/'+quantity+'/'+subscribe);
  614.         else
  615.             xmlHttp.open(\"post\", '/API/cart/add/'+id+'/'+quantity);
  616.         xmlHttp.send();
  617.         /*
  618.         \$.ajax({
  619.             url: Routing.generate('addToCart', {id: id, quantity: quantity}),
  620.             method: 'POST',
  621.             dataType: 'json',
  622.             complete: _this.addedToCart
  623.         });
  624.          */
  625. }
  626. var classname = document.getElementsByClassName(\"add-to-cart\");
  627. for (var i = 0; i < classname.length; i++) {
  628.     if(!classname[i].classList.contains(\"binded\")){
  629.         var classString = classname[i].className;
  630.         var newClass = classString.concat(\" binded\");
  631.         classname[i].className = newClass;
  632.         classname[i].addEventListener('click', addToCart, false);
  633.     }
  634. }
  635.         </script>
  636.         {# end dirty fix add to cart #}
  637.         <input type=\"hidden\" id=\"userLocale\" value='{{ app.request.locale }}'>
  638.         <!-- END wrapper -->
  639.         {% block mainJS %}
  640.         {# To use the Routing System in the Javascript #}
  641.         <script src=\"/assets/frontend/js/jquery-3.1.1.min.js\"></script>
  642.         <script src=\"{{ asset('bundles/fosjsrouting/js/router.min.js') }}\"></script>
  643.         <script src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
  644.         <script src=\"{{ asset('bundles/bazingajstranslation/js/translator.min.js') }}\"></script>
  645.         <!-- <script src=\"{{ url('bazinga_jstranslation_js') }}\"></script> -->
  646.         <script src=\"{{ asset('build/base.js') }}\"></script>
  647.         {% endblock %}
  648.         {% block JS %}
  649.         {% endblock %}
  650.         {% block modals %}
  651.         {% include ('admin/modals/viewNotification.html.twig') %}
  652.         {% include ('admin/modals/newMessage.html.twig') %}
  653.         {% endblock %}
  654.         <div id=\"flashMessages\" style=\"position:absolute;top: -200px;\">
  655.             {% if app.request.hasPreviousSession %}
  656.             {% for type, messages in app.session.flashbag.all() %}
  657.             {% for message in messages %}
  658.             <div class=\"flashMessage flash-{{ type }}\" data-type=\"{{type}}\">
  659.                 {{ message }}
  660.             </div>
  661.             {% endfor %}
  662.             {% endfor %}
  663.             {% endif %}
  664.         </div>
  665.         <script src=\"/assets/admin/seo/optimization.js\"></script>
  666.         {% if hideChat is not defined and app.environment != 'dev' %}
  667.         <script>
  668.             (function() {
  669.                 var wa = document.createElement('script'); wa.type = 'text/javascript'; wa.async = true;
  670.                 wa.src = 'https://d10lpsik1i8c69.cloudfront.net/w.js';
  671.                 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wa, s);
  672.             })();
  673.         </script>
  674.         <script type='text/javascript' data-cfasync='false'>window.purechatApi = { l: [], t: [], on: function () { this.l.push(arguments); } }; (function () { var done = false; var script = document.createElement('script'); script.async = true; script.type = 'text/javascript'; script.src = 'https://app.purechat.com/VisitorWidget/WidgetScript'; document.getElementsByTagName('HEAD').item(0).appendChild(script); script.onreadystatechange = script.onload = function (e) { if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) { var w = new PCWidget({c: 'fed674ea-4346-4843-82df-3fd025dbcfb0', f: true }); done = true; } }; })();</script>
  675.         {% endif %}
  676.     </body>
  677. </html>
  678. ""base.html.twig""/var/www/html/Markego/templates/base.html.twig");
  679.     }
  680. }