{% from 'utils.html.twig' import imgUpload %}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
{% set pageTitle = [client.brand, client.slogan]|filter(tit => tit is not empty)|join(' - ') %}
{% block title %}
<title>{{ pageTitle }}</title>
<meta name="title" content="{{ pageTitle }}">
<meta property="og:title" content="{{ pageTitle }}">
{% endblock %}
{% block meta %}
{# OPEN GRAPH #}
{% set pathImageDefault = getFilePathComplete({
fileName: getConfig('image_default'),
pathConst: enum('AbstractEnum::PATH_OTHERS'),
addUpload: enum('AbstractEnum::YES')
}) %}
<meta property="og:image" content="https:{{ pathImageDefault.pathCdn }}">
<meta name="description" content="{{ client.description }}">
<meta property="og:description" content="{{ client.description }}">
{% endblock %}
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no user-scalable=0">
{% block metaIndex %}
<meta name="robots" content="index, follow">
{% endblock %}
{% block manifest %}
<link rel="manifest" href="/manifest.json">
{% if favicon %}
<meta name="msapplication-square70x70logo" content="{{ favicon }}?option=manifest-3">
<meta name="msapplication-square150x150logo" content="{{ favicon }}?option=manifest-4">
<meta name="msapplication-wide310x150logo" content="{{ favicon }}?option=manifest-5">
{% endif %}
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="{{ client.description }}">
{% if favicon %}
<link href="{{ favicon }}?option=manifest-7" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="{{ favicon }}?option=manifest-8" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="{{ favicon }}?option=manifest-9" media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image">
<link href="{{ favicon }}?option=manifest-10" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image">
<link href="{{ favicon }}?option=manifest-11" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="{{ favicon }}?option=manifest-12" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="{{ favicon }}?option=manifest-13" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
{% endif %}
{% endblock %}
<link rel="sitemap" href="/sitemap.xml">
<link rel="shortcut icon" href="{{ favicon ? favicon ~ '?option=favicon' : faviconCdn }}">
<meta name="theme-color" content="{{ getConfig('primary_color') }}">
{% block stylesheets %}
{# CONFIG THEME #}
<style type="text/css" nonce="{{ nonceHash }}">
{% block theme_css %}
{% include 'website/includes/css-config.html.twig' with { preventDarkTheme: false }%}
{% endblock %}
{% block category_css %}{% endblock %}
{% block product_detail_css %}{% endblock %}
</style>
{# MATERIAL ICONS #}
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
{# TINY SLIDER #}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.4/tiny-slider.css">
{# MAIN CSS #}
{% block mainCss %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{# CONFIG CUSTOM STYLES #}
<style type="text/css" nonce="{{ nonceHash }}">
{% if debug or not isLocal %}
{{ getCss('css')|raw }}
{% endif %}
</style>
{% endblock %}
{% block configTags %}
{{ getMeta('meta_tags')|raw }}
{% include 'website/includes/integrations-script-head.html.twig' %}
{% endblock %}
{% block headScripts %}{% endblock %}
{% include 'website/includes/img-error.js.twig' %}
</head>
{% block bodyComplete %}
{% block bodyTag %}
<body id="body" data-theme="{{ isDarkTheme? 'dark':'light' }}"{% if isDarkTheme %} data-hide-deco="{{ hideBgDeco? 1:0 }}"{% endif %}>
{% endblock %}
{% block wrapLogin %}{% endblock %}
{% block wrap %}
<div class="page-height">
{% block menu_topo %}
<div class="topo-bg">
<div class="container">
{% include 'website/includes/menu.html.twig' %}
</div>
</div>
{% endblock %}
{# BODY #}
{% block body %}
{% endblock %}
</div>
{# NOTIFICATIONS #}
<div class="fix-notifications fix-notifications-desktop" data-status="off">
<div class="overlay overlay-notifications"></div>
{% include 'website/includes/fix-notifications.html.twig' %}
</div>
{# MENU MOBILE #}
{% block menuMobile %}
{% embed 'website/includes/menu-mobile.html.twig'%}
{% block content %}
{# MENU MOBILE > SITE #}
{% include 'website/includes/menu-mobile-site.html.twig' %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endblock %}{# -/wrap #}
{% block footer %}
{% if isRestricted and user or not isRestricted %}
{% block newsletterSection %}
{# include 'website/home/newsletter-section.html.twig' #}
{% endblock %}
{% block socialSection %}
{% include 'website/includes/social-section.html.twig' %}
{% endblock %}
{% block institutionalSection %}
{% include 'website/institutional/institutional-section.html.twig' %}
{% endblock %}
{% if hasProducts or not isRestricted %}
{% block stampsSection %}
{% include 'website/includes/stamps-section.html.twig' %}
{% endblock %}
{% endif %}
{% endif %}
{% endblock %}
{# OVERLAY BACKGROUND #}
{# *!!! <div id="overlay" class="overlay js--modal-fecha js--contextual-fecha js--close-menu-mobile"></div> #}
<div id="overlay" class="overlay" data-status="closed"></div>
{# SEARCH OVERLAY #}
{% if isDarkTheme %}
{% include 'website/includes/search-overlay.html.twig' %}
{% endif %}
{# TOOLTIP #}
{% include 'website/includes/tooltip-container.html.twig' %}
{# COOKIES DISCLAIMER #}
{% include 'website/institutional/alert-terms-privacy.html.twig' %}
{# OVERLAY WARNINGS #}
{% block overlay %}{% endblock %}
{% include 'website/includes/integrations-script-footer.html.twig' %}
{% block javascripts_page %}{% endblock %}
{% block javascripts %}
{% include 'website/includes/scripts.html.twig' %}
{% include 'website/includes/websocket.html.twig' %}
{# <script src="{{ cdnFontawesome }}" crossorigin="anonymous"></script> #}
{{ encore_entry_script_tags('app') }}
{# CONFIG -- SCRIPTS #}
{% block config_scripts %}
{% if debug or not isLocal %}
{{ htmlDecode(getScript('scripts', nonceHash))|raw }}
{% endif %}
{% endblock %}
{% include 'website/includes/ead-rights-section.html.twig' %}
{% include 'website/includes/sc-activate.html.twig' %}
{% include 'website/includes/sw.html.twig' %}
{% endblock %}
{# TEST GUIDES #}
{# {% include 'test/includes/test-guides.html.twig' %} #}
</body>
{% endblock %}
</html>