{% extends '@DcSite/Lexus/template.html.twig' %}
{% block head %}
<title>{% if not carId %}
{{ 'seo.configurator.start.title'|trans({}, 'dc_lexus') }}
{% else %}
{{ 'seo.configurator.single.title'|trans({'%model%' : modelTitle }, 'dc_lexus') }}
{% endif %}</title>
<meta name="description" content="
{% if not carId %}
{{ 'seo.configurator.start.desciption'|trans({}, 'dc_lexus') }}
{% else %}
{{ 'seo.configurator.single.description'|trans({'%model%' : modelTitle }, 'dc_lexus') }}
{% endif %}" />
<meta name="keywords" content="" />
<link rel="stylesheet" type="text/css" href="/dist/{{ MODE }}/dcsite/lexus/css/lexusCarConfigurator.css?{{ VERSION }}">
<style>
.color__name #colorPrice{
color: #4589CE;
}
.box__modification-info-item svg fill {
fill: #4589CE;
}
</style>
{% endblock %}
{% block content %}
<div style="padding-bottom: 20px;">
{% include '@DcSite/Modules/configurator/index.html.twig' %}
</div>
{% endblock %}
{% block script %}
<script src="/dist/{{ MODE }}/dcsite/lexus/js/lexusCarConfigurator.js?{{ VERSION }}"></script>
<script>
$(() => {
window.initConfigurator({
el: '#carConfig',
carId: {{ carId }},
hash: '{{ hash }}',
initUrl: '{{ path('base_configurator_init', {id: '__id__'}) }}',
initByHashUrl: '{{ path('base_configurator_init_by_hash', {hash: '__hash__'}) }}',
totalInitUrl: '{{ path('base_configurator_init_total') }}',
initCreditUrl: '{{ path('base_configurator_init_credit') }}',
accessoryUrl: '{{ path('base_configurator_load_accessory') }}',
optionsUrl: '{{ path('base_configurator_load_options') }}',
initInsuranceUrl: '{{ path('base_casco_options') }}',
saveUrl: '{{ path('base_configurator_save') }}',
privacyUrl: '{{ privacyUrl }}',
baseCoefficientType: {{ baseType }},
listCoefficientType: {{ listType }},
optionCoefficientType: {{ optionType }}
});
});
</script>
{% endblock %}