{#Pour la traduction#}
{% if app is not null %}
{% set route = app.request.attributes.get('_route') %}
{% set route_params = app.request.attributes.get('_route_params') %}
{% set params = route_params|merge(app.request.query.all) %}
{% set currentLocale = app.request.getLocale() %}
{% set word = '' %}
{% endif %}
<!DOCTYPE html>
<html>
<head>
{{ include('layouts/header.html.twig') }}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-KW38N86');</script>
<!-- End Google Tag Manager -->
{# {% if cookie_acceptation is defined and cookie_acceptation == "all" %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-KW38N86');</script>
<!-- End Google Tag Manager -->
{% endif %}#}
{% if title is defined and title is iterable %}
{% for index, value in title %}
{% set word = '{ '~ index ~ ' }' %}
{% if metaTitle is defined %}
<title>{{ metaTitle|replace({(word) : value}) }} | 2tec2</title>
{% endif %}
{% if metaDescription is defined %}
<meta name="description" content="{{ metaDescription|replace({(word) : value}) }}"/>
{% endif %}
{% endfor %}
{% else %}
{% if metaTitle is defined %}
<title>{{ metaTitle }} | 2tec2</title>
{% endif %}
{% if metaDescription is defined %}
<meta name="description" content="{{ metaDescription }}"/>
{% endif %}
{% endif %}
<!-- Facebook Domain verification -->
<meta name="facebook-domain-verification" content="bstl9q5vgmjf81vkt3cbxd3ys7h9c1" />
<!-- End Facebook Domain verification -->
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
<link rel="shortcut icon" href="{{ asset('build/favicon/favicon.ico') }}">
<link href="https://fonts.googleapis.com/css?family=Zen Kaku Gothic Antique&display=swap" rel="stylesheet">
{% endblock %}
{% if currentLocale is defined %}
<input type="hidden" id="currentLocale" value="{{ currentLocale }}">
{% endif %}
<input type="hidden" id="baseUrl" value="{{ app.request.getSchemeAndHttpHost() }}">
{% if apiUrl is defined %}
<input type="hidden" id="apiUrl" value="{{ apiUrl }}">
{% endif %}
{% if removeAllFromCartAndDownloads is defined %}
<input type="hidden" id="removeAllFromCartAndDownloads" value="{{ removeAllFromCartAndDownloads }}">
{% endif %}
{% if emailHasBeenSent is defined %}
<input type="hidden" id="emailHasBeenSent" value="{{ emailHasBeenSent }}">
{% endif %}
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '3964154130338548');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=3964154130338548&ev=PageView&noscript=1"/></noscript>
<!-- End Facebook Pixel Code -->
</head>
<body class="body">
{{ include('layouts/block/toaster-div.html.twig') }}
{{ include('layouts/navbar.html.twig') }}
{{ include('layouts/sidebar.html.twig') }}
{% block body %}
{% block footer %}{% endblock %}
{% endblock %}
{{ include('layouts/modals/cookies.html.twig') }}
{% block javascripts %}
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KW38N86" height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
{# {% if cookie_acceptation is defined and cookie_acceptation == "all" %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KW38N86"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}#}
<!-- Linkedin script -->
<script type="text/javascript">
_linkedin_partner_id = "3576529";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
</script>
<script type="text/javascript">
(function(){var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})();
</script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3576529&fmt=gif" />
</noscript>
<!-- End Linkedin script -->
{{ encore_entry_script_tags('app') }}
{% endblock %}
</body>
</html>