<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* ./pages/ddd.html.twig */
class __TwigTemplate_d5a5278eea6f67145c72f5a2c5470d8e extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "./pages/ddd.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "./pages/ddd.html.twig"));
// line 1
$context["url"] = (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "server", [], "any", false, false, false, 1), "get", ["REQUEST_SCHEME"], "method", false, false, false, 1) . "://") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "server", [], "any", false, false, false, 1), "get", ["SERVER_NAME"], "method", false, false, false, 1)) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "server", [], "any", false, false, false, 1), "get", ["REQUEST_URI"], "method", false, false, false, 1));
// line 2
$context["cruise"] = ((array_key_exists("cruise", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 2, $this->source); })()), (((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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", false, false, false, 2), "get", ["croisiere"], "method", false, false, false, 2)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['App\Twig\Cruise\CruiseExtension']->getCruiseById(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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", false, false, false, 2), "get", ["croisiere"], "method", false, false, false, 2))) : (null)))) : ((((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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", false, false, false, 2), "get", ["croisiere"], "method", false, false, false, 2)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['App\Twig\Cruise\CruiseExtension']->getCruiseById(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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", false, false, false, 2), "get", ["croisiere"], "method", false, false, false, 2))) : (null))));
// line 3
$context["cabinDatasTree"] = ((array_key_exists("cabinDatasTree", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["cabinDatasTree"]) || array_key_exists("cabinDatasTree", $context) ? $context["cabinDatasTree"] : (function () { throw new RuntimeError('Variable "cabinDatasTree" does not exist.', 3, $this->source); })()), (((($tmp = (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 3, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['App\Twig\Cabin\CabinDatasTreeExtension']->getCabinDatasTreeForCruise((isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 3, $this->source); })()))) : ([])))) : ((((($tmp = (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 3, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['App\Twig\Cabin\CabinDatasTreeExtension']->getCabinDatasTreeForCruise((isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 3, $this->source); })()))) : ([]))));
// line 4
$context["cabinDatasTreeJson"] = ((array_key_exists("cabinDatasTreeJson", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["cabinDatasTreeJson"]) || array_key_exists("cabinDatasTreeJson", $context) ? $context["cabinDatasTreeJson"] : (function () { throw new RuntimeError('Variable "cabinDatasTreeJson" does not exist.', 4, $this->source); })()), (((($tmp = (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 4, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['App\Twig\Cabin\CabinDatasTreeExtension']->getCabinDatasTreeJsonForCruise((isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 4, $this->source); })()))) : ([])))) : ((((($tmp = (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 4, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['App\Twig\Cabin\CabinDatasTreeExtension']->getCabinDatasTreeJsonForCruise((isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 4, $this->source); })()))) : ([]))));
// line 5
$context["hasAtmospheres"] = ((array_key_exists("hasAtmospheres", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["hasAtmospheres"]) || array_key_exists("hasAtmospheres", $context) ? $context["hasAtmospheres"] : (function () { throw new RuntimeError('Variable "hasAtmospheres" does not exist.', 5, $this->source); })()), (((($tmp = (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 5, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['App\Twig\Cabin\CabinDatasTreeExtension']->cruiseHasAtmospheres((isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 5, $this->source); })()))) : (false)))) : ((((($tmp = (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 5, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['App\Twig\Cabin\CabinDatasTreeExtension']->cruiseHasAtmospheres((isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 5, $this->source); })()))) : (false))));
// line 6
yield "
";
// line 7
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 10
yield "
";
// line 11
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 7
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 8
yield "\t<link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.9.4/dist/leaflet.css\" crossorigin=\"\"/>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 11
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 12
yield "\t";
$context["countries"] = [];
// line 13
yield "\t";
$context["drinks_packages"] = [];
// line 14
yield "\t";
$context["segments"] = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["cruise"] ?? null), "itinerary", [], "any", false, true, false, 14), "itinerarySegments", [], "any", true, true, false, 14)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 14, $this->source); })()), "itinerary", [], "any", false, false, false, 14), "itinerarySegments", [], "any", false, false, false, 14), [])) : ([]));
// line 15
yield "\t";
$context["atmospheres"] = [];
// line 16
yield "\t";
$context["pathImage"] = "/img/photos-temporaires/cruise/";
// line 17
yield "
\t";
// line 19
yield "\t";
$context["nb_days"] = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["cruise"] ?? null), "itinerary", [], "any", false, true, false, 19), "numberOfDays", [], "any", true, true, false, 19)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 19, $this->source); })()), "itinerary", [], "any", false, false, false, 19), "numberOfDays", [], "any", false, false, false, 19), 1)) : (1));
// line 20
yield "
\t";
// line 22
yield "\t";
$context["departure_date"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["cruise"] ?? null), "date", [], "any", true, true, false, 22)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 22, $this->source); })()), "date", [], "any", false, false, false, 22), "")) : (""));
// line 23
yield "\t";
$context["arrival_date"] = "";
// line 24
yield "
\t";
// line 25
$context["departurePort"] = ((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\Itinerary\ItineraryExtension']->getDeparturePort(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 25, $this->source); })()), "itinerary", [], "any", false, false, false, 25)), "name", [], "any", true, true, false, 25)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\Itinerary\ItineraryExtension']->getDeparturePort(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 25, $this->source); })()), "itinerary", [], "any", false, false, false, 25)), "name", [], "any", false, false, false, 25), "")) : (""));
// line 26
yield "\t";
$context["arrivalPort"] = ((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\Itinerary\ItineraryExtension']->getArrivalPort(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 26, $this->source); })()), "itinerary", [], "any", false, false, false, 26)), "name", [], "any", true, true, false, 26)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\Itinerary\ItineraryExtension']->getArrivalPort(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 26, $this->source); })()), "itinerary", [], "any", false, false, false, 26)), "name", [], "any", false, false, false, 26), (isset($context["departurePort"]) || array_key_exists("departurePort", $context) ? $context["departurePort"] : (function () { throw new RuntimeError('Variable "departurePort" does not exist.', 26, $this->source); })()))) : ((isset($context["departurePort"]) || array_key_exists("departurePort", $context) ? $context["departurePort"] : (function () { throw new RuntimeError('Variable "departurePort" does not exist.', 26, $this->source); })())));
// line 27
yield "
\t<div id=\"loader-wrapper\" class=\"loader-container\">
\t\t<div class=\"loader\"></div>
\t</div>
\t";
// line 32
$context["services"] = [];
// line 33
yield "\t";
$context["dddI18n"] = ["step_names" => ["1" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step.type"), "2" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step.atmosphere"), "3" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step.cabin"), "4" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step.quote"), "5" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.step_confirmation")], "step_title" => ["type" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step_title.type"), "atmosphere" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step_title.atmosphere"), "selection" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step_title.selection"), "quote" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step_title.quote")], "choose_cabin_type" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.choose_cabin_type"), "choose_atmosphere" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.choose_atmosphere"), "atmosphere_no_available" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.atmosphere.no_available"), "atmosphere_title_short" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.atmosphere.title_short"), "validate_choice" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.validate_choice"), "accessibility" => ["step_1" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.accessibility.step_1"), "step_2" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.accessibility.step_2"), "step_3" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.accessibility.step_3"), "step_4" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.accessibility.step_4"), "confirmation" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.accessibility.confirmation"), "reservation_progress" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.accessibility.reservation_progress")], "js" => ["unknown" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.unknown"), "cabin_fallback" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.cabin_fallback"), "atmosphere_fallback" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.atmosphere_fallback"), "parent_benefits_single" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.parent_benefits_single"), "parent_benefits_multiple" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.parent_benefits_multiple"), "quote_error" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.quote_error"), "copy_file_error" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.copy_file_error"), "copy_file_manual" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.copy_file_manual"), "copy_error_manual" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.copy_error_manual"), "copy_success" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.copy_success"), "pdf_no_data" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.pdf_no_data"), "cabin_details_title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.cabin_details_title"), "step_fallback" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.js.step_fallback"), "surface_label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.cabin_characteristics.surface_label"), "deck_label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.cabin_characteristics.decks")]];
// line 78
yield "\t<div
\t\tclass=\"content container-fluid cruise-container\"
\t\tdata-ddd-i18n=\"";
// line 80
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode((isset($context["dddI18n"]) || array_key_exists("dddI18n", $context) ? $context["dddI18n"] : (function () { throw new RuntimeError('Variable "dddI18n" does not exist.', 80, $this->source); })())), "html_attr");
yield "\"
\t\tdata-ddd-lazy=\"1\"
\t\tdata-cruise-id=\"";
// line 82
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["cruise"] ?? null), "id", [], "any", true, true, false, 82)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 82, $this->source); })()), "id", [], "any", false, false, false, 82), "")) : ("")), "html", null, true);
yield "\"
\t\tdata-has-atmospheres=\"";
// line 83
yield (string) (((($tmp = (isset($context["hasAtmospheres"]) || array_key_exists("hasAtmospheres", $context) ? $context["hasAtmospheres"] : (function () { throw new RuntimeError('Variable "hasAtmospheres" does not exist.', 83, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("1") : ("0"));
yield "\"
\t\tdata-cabin-datas-tree=\x27";
// line 84
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode((isset($context["cabinDatasTreeJson"]) || array_key_exists("cabinDatasTreeJson", $context) ? $context["cabinDatasTreeJson"] : (function () { throw new RuntimeError('Variable "cabinDatasTreeJson" does not exist.', 84, $this->source); })()), Twig\Extension\CoreExtension::constant("JSON_UNESCAPED_UNICODE")), "html_attr");
yield "\x27>
\t\t<div class=\"col-right\">
\t\t\t<h1 class=\"text-xl-bd color-secondary-dark\">";
// line 87
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.trip_summary"), "html", null, true);
yield "</h1>
\t\t\t<div class=\"ddd-aside\">
\t\t\t\t";
// line 89
yield from $this->load("pages/_includes/ddd/_summary.html.twig", 89)->unwrap()->yield(CoreExtension::merge($context, ["cruise" => // line 90
(isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 90, $this->source); })()), "itinerary" => CoreExtension::getAttribute($this->env, $this->source, // line 91
(isset($context["cruise"]) || array_key_exists("cruise", $context) ? $context["cruise"] : (function () { throw new RuntimeError('Variable "cruise" does not exist.', 91, $this->source); })()), "itinerary", [], "any", false, false, false, 91), "company" => (( // line 92
array_key_exists("company", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["company"]) || array_key_exists("company", $context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.', 92, $this->source); })()), null)) : (null)), "hasAtmospheres" => // line 93
(isset($context["hasAtmospheres"]) || array_key_exists("hasAtmospheres", $context) ? $context["hasAtmospheres"] : (function () { throw new RuntimeError('Variable "hasAtmospheres" does not exist.', 93, $this->source); })()), "companyLogoUrl" => (( // line 94
array_key_exists("companyLogoUrl", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["companyLogoUrl"]) || array_key_exists("companyLogoUrl", $context) ? $context["companyLogoUrl"] : (function () { throw new RuntimeError('Variable "companyLogoUrl" does not exist.', 94, $this->source); })()), null)) : (null)), "shipMainImageUrl" => (( // line 95
array_key_exists("shipMainImageUrl", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["shipMainImageUrl"]) || array_key_exists("shipMainImageUrl", $context) ? $context["shipMainImageUrl"] : (function () { throw new RuntimeError('Variable "shipMainImageUrl" does not exist.', 95, $this->source); })()), null)) : (null))]));
// line 97
yield "\t\t\t</div>
\t\t</div>
\t\t<div
\t\t\tclass=\"col-left\">
\t\t\t";
// line 104
yield "
\t\t\t<div class=\"thread\">
\t\t\t\t";
// line 107
yield "\t\t\t\t<button id=\"btn-back\" type=\"button\" class=\"btn medium style2 transparent-white text-md-sbd thread-back-desktop\">
\t\t\t\t\t<div class=\"icon\">";
// line 108
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("arrow-left");
yield "</div>
\t\t\t\t\t<span>";
// line 109
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.back"), "html", null, true);
yield "</span>
\t\t\t\t</button>
\t\t\t\t<div class=\"mobile-thread\">
\t\t\t\t\t<div class=\"mobile-thread-nav\">
\t\t\t\t\t\t<button type=\"button\" class=\"mobile-back-btn\" id=\"mobile-back-btn\" aria-label=\"";
// line 114
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.back"), "html", null, true);
yield "\">
\t\t\t\t\t\t\t<div class=\"icon\">";
// line 115
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("arrow-left");
yield "</div>
\t\t\t\t\t\t</button>
\t\t\t\t\t\t<div class=\"step-name\" id=\"mobile-step-name\">";
// line 117
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step.type"), "html", null, true);
yield "</div>
\t\t\t\t\t\t<div class=\"step-number\" id=\"mobile-step-number\">1/";
// line 118
yield (string) (((($tmp = (isset($context["hasAtmospheres"]) || array_key_exists("hasAtmospheres", $context) ? $context["hasAtmospheres"] : (function () { throw new RuntimeError('Variable "hasAtmospheres" does not exist.', 118, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (4) : (3));
yield "</div>
\t\t\t\t\t</div>
\t\t\t\t\t<button type=\"button\" class=\"mobile-recap-btn\" id=\"mobile-recap-btn\">
\t\t\t\t\t\t";
// line 122
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.mobile.recap_full"), "html", null, true);
yield "
\t\t\t\t\t</button>
\t\t\t\t</div>
\t\t\t\t<div id=\"reservation-thread\" class=\"\" data-visible-steps=\"";
// line 126
yield (string) (((($tmp = (isset($context["hasAtmospheres"]) || array_key_exists("hasAtmospheres", $context) ? $context["hasAtmospheres"] : (function () { throw new RuntimeError('Variable "hasAtmospheres" does not exist.', 126, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (4) : (3));
yield "\">
\t\t\t\t\t<div id=\"reservation-step-1\" class=\"current\" data-logical-step=\"1\">
\t\t\t\t\t\t<div class=\"icon br2\">";
// line 128
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("ratio");
yield "</div>
\t\t\t\t\t\t<div class=\"step step br1 text-xs-md color-secondary-dark\">";
// line 129
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step.type"), "html", null, true);
yield "</div>
\t\t\t\t\t</div>
\t\t\t\t\t";
// line 131
if ((($tmp = (isset($context["hasAtmospheres"]) || array_key_exists("hasAtmospheres", $context) ? $context["hasAtmospheres"] : (function () { throw new RuntimeError('Variable "hasAtmospheres" does not exist.', 131, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 132
yield "\t\t\t\t\t<div id=\"reservation-step-2\" class=\"\" data-logical-step=\"2\">
\t\t\t\t\t\t<div class=\"icon br2\">";
// line 133
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("sparkle");
yield "</div>
\t\t\t\t\t\t<div class=\"step br1 text-xs-md color-secondary-dark\">";
// line 134
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step.atmosphere"), "html", null, true);
yield "</div>
\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 137
yield "\t\t\t\t\t<div id=\"reservation-step-3\" class=\"\" data-logical-step=\"3\">
\t\t\t\t\t\t<div class=\"icon br2\">";
// line 138
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("bed-double");
yield "</div>
\t\t\t\t\t\t<div class=\"step br1 text-xs-md color-secondary-dark\">";
// line 139
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step.cabin"), "html", null, true);
yield "</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div id=\"reservation-step-4\" class=\"\" data-logical-step=\"4\">
\t\t\t\t\t\t<div class=\"icon br2\">";
// line 142
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("file-text");
yield "</div>
\t\t\t\t\t\t<div class=\"step br1 text-xs-md color-secondary-dark\">";
// line 143
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step.quote"), "html", null, true);
yield "</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div id=\"ddd-step-title-icons\" hidden aria-hidden=\"true\">
\t\t\t\t<span data-step=\"1\">";
// line 149
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("ratio");
yield "</span>
\t\t\t\t<span data-step=\"2\">";
// line 150
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("sparkle");
yield "</span>
\t\t\t\t<span data-step=\"3\">";
// line 151
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("bed-double");
yield "</span>
\t\t\t\t<span data-step=\"4\">";
// line 152
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("file-text");
yield "</span>
\t\t\t</div>
\t\t\t<h2 id=\"step-title\" class=\"step-title text-xl-bd color-secondary-dark\">
\t\t\t\t<span class=\"step-title__leading\" aria-hidden=\"true\">";
// line 156
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("ratio");
yield "</span>
\t\t\t\t<span class=\"step-title__text\">";
// line 157
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.step_title.type"), "html", null, true);
yield " </span>
\t\t\t\t<select name=\"select_cabin_type\" class=\"select-cabin-type\">
\t\t\t\t\t<option disabled selected value=\"\">";
// line 159
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::default($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.choose_cabin_type"), "Choisissez un type de cabine"), "html", null, true);
yield "</option>
\t\t\t\t\t";
// line 160
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["cabinDatasTree"]) || array_key_exists("cabinDatasTree", $context) ? $context["cabinDatasTree"] : (function () { throw new RuntimeError('Variable "cabinDatasTree" does not exist.', 160, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cabinTypeNode"]) {
// line 161
yield "\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(((CoreExtension::getAttribute($this->env, $this->source, $context["cabinTypeNode"], "cabinSubTypes", [], "any", true, true, false, 161)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["cabinTypeNode"], "cabinSubTypes", [], "any", false, false, false, 161), [])) : ([])));
foreach ($context['_seq'] as $context["_key"] => $context["subTypeNode"]) {
// line 162
yield "\t\t\t\t\t\t\t<option value=\"";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["subTypeNode"], "cabinSubType", [], "any", false, false, false, 162), "id", [], "any", false, false, false, 162), "html", null, true);
yield "\">";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["subTypeNode"], "cabinSubType", [], "any", false, false, false, 162), "name", [], "any", false, false, false, 162), "html", null, true);
yield "</option>
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['subTypeNode'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 164
yield "\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['cabinTypeNode'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 165
yield "\t\t\t\t</select>
\t\t\t\t<select name=\"select_atmosphere\" class=\"select-atmosphere\"";
// line 166
if ( !(($tmp = (isset($context["hasAtmospheres"]) || array_key_exists("hasAtmospheres", $context) ? $context["hasAtmospheres"] : (function () { throw new RuntimeError('Variable "hasAtmospheres" does not exist.', 166, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield " hidden";
}
yield ">
\t\t\t\t\t<option disabled selected value=\"\">";
// line 167
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ddd.choose_atmosphere"), "html", null, true);
yield "</option>
\t\t\t\t</select>
\t\t\t</h2>
\t\t\t<div class=\"ddd-main\">
\t\t\t";
// line 173
yield "\t\t\t<div id=\"step-type\" class=\"ddd-step-panel is-active\">
\t\t\t\t<div class=\"ddd-step-loader text-sm-md color-grey-text\" aria-live=\"polite\">
\t\t\t\t\t";
// line 175
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::default($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.loading"), "Chargement..."), "html", null, true);
yield "
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
// line 180
yield "\t\t\t";
if ((($tmp = (isset($context["hasAtmospheres"]) || array_key_exists("hasAtmospheres", $context) ? $context["hasAtmospheres"] : (function () { throw new RuntimeError('Variable "hasAtmospheres" does not exist.', 180, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 181
yield "\t\t\t<div id=\"step-atmosphere\" class=\"ddd-step-panel\">
\t\t\t\t<div class=\"ddd-step-loader text-sm-md color-grey-text\" aria-live=\"polite\">
\t\t\t\t\t";
// line 183
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::default($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.loading"), "Chargement..."), "html", null, true);
yield "
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
}
// line 187
yield "
\t\t\t";
// line 189
yield "\t\t\t<div id=\"step-subtype\" class=\"ddd-step-panel\">
\t\t\t\t<div class=\"ddd-step-loader text-sm-md color-grey-text\" aria-live=\"polite\">
\t\t\t\t\t";
// line 191
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::default($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.loading"), "Chargement..."), "html", null, true);
yield "
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
// line 196
yield "\t\t\t<div id=\"step-quote-form\" class=\"ddd-step-panel\">
\t\t\t\t<div class=\"ddd-step-loader text-sm-md color-grey-text\" aria-live=\"polite\">
\t\t\t\t\t";
// line 198
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::default($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.loading"), "Chargement..."), "html", null, true);
yield "
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
// line 203
yield "\t\t\t<div id=\"step-quote-summary\" style=\"display: none;\">
\t\t\t\t";
// line 204
yield from $this->load("pages/_includes/ddd/_quote_summary.html.twig", 204)->unwrap()->yield($context);
// line 205
yield "\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t";
// line 226
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "./pages/ddd.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 455 => 226, 445 => 205, 443 => 204, 440 => 203, 433 => 198, 429 => 196, 422 => 191, 418 => 189, 415 => 187, 408 => 183, 404 => 181, 401 => 180, 394 => 175, 390 => 173, 382 => 167, 376 => 166, 373 => 165, 366 => 164, 354 => 162, 349 => 161, 345 => 160, 341 => 159, 336 => 157, 332 => 156, 325 => 152, 321 => 151, 317 => 150, 313 => 149, 304 => 143, 300 => 142, 294 => 139, 290 => 138, 287 => 137, 281 => 134, 277 => 133, 274 => 132, 272 => 131, 267 => 129, 263 => 128, 258 => 126, 251 => 122, 244 => 118, 240 => 117, 235 => 115, 231 => 114, 223 => 109, 219 => 108, 216 => 107, 212 => 104, 204 => 97, 202 => 95, 201 => 94, 200 => 93, 199 => 92, 198 => 91, 197 => 90, 196 => 89, 191 => 87, 185 => 84, 181 => 83, 177 => 82, 172 => 80, 168 => 78, 165 => 33, 163 => 32, 156 => 27, 153 => 26, 151 => 25, 148 => 24, 145 => 23, 142 => 22, 139 => 20, 136 => 19, 133 => 17, 130 => 16, 127 => 15, 124 => 14, 121 => 13, 118 => 12, 105 => 11, 93 => 8, 80 => 7, 69 => 11, 66 => 10, 64 => 7, 61 => 6, 59 => 5, 57 => 4, 55 => 3, 53 => 2, 51 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% set url = app.request.server.get(\x27REQUEST_SCHEME\x27) ~ \x27://\x27 ~ app.request.server.get(\x27SERVER_NAME\x27) ~ app.request.server.get(\x27REQUEST_URI\x27) %}
{% set cruise = cruise|default(app.request.get(\x27croisiere\x27) ? getCruiseById(app.request.get(\x27croisiere\x27)) : null) %}
{% set cabinDatasTree = cabinDatasTree|default(cruise ? getCabinDatasTreeForCruise(cruise) : []) %}
{% set cabinDatasTreeJson = cabinDatasTreeJson|default(cruise ? getCabinDatasTreeJsonForCruise(cruise) : []) %}
{% set hasAtmospheres = hasAtmospheres|default(cruise ? cruiseHasAtmospheres(cruise) : false) %}
{% block stylesheets %}
\t<link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.9.4/dist/leaflet.css\" crossorigin=\"\"/>
{% endblock %}
{% block content %}
\t{% set countries = [] %}
\t{% set drinks_packages = [] %}
\t{% set segments = (cruise.itinerary.itinerarySegments|default([])) %}
\t{% set atmospheres = [] %}
\t{% set pathImage = \x27/img/photos-temporaires/cruise/\x27 %}
\t{# Utiliser cruise depuis le controller #}
\t{% set nb_days = cruise.itinerary.numberOfDays|default(1) %}
\t{# Calcul des dates de départ et d\x27arrivée #}
\t{% set departure_date = cruise.date|default(\x27\x27) %}
\t{% set arrival_date = \x27\x27 %}
\t{% set departurePort = get_departure_port(cruise.itinerary).name|default(\x27\x27) %}
\t{% set arrivalPort = get_arrival_port(cruise.itinerary).name|default(departurePort) %}
\t<div id=\"loader-wrapper\" class=\"loader-container\">
\t\t<div class=\"loader\"></div>
\t</div>
\t{% set services = [] %}
\t{% set dddI18n = {
\t\tstep_names: {
\t\t\t\x271\x27: \x27ddd.step.type\x27|trans,
\t\t\t\x272\x27: \x27ddd.step.atmosphere\x27|trans,
\t\t\t\x273\x27: \x27ddd.step.cabin\x27|trans,
\t\t\t\x274\x27: \x27ddd.step.quote\x27|trans,
\t\t\t\x275\x27: \x27ddd.js.step_confirmation\x27|trans,
\t\t},
\t\tstep_title: {
\t\t\ttype: \x27ddd.step_title.type\x27|trans,
\t\t\tatmosphere: \x27ddd.step_title.atmosphere\x27|trans,
\t\t\tselection: \x27ddd.step_title.selection\x27|trans,
\t\t\tquote: \x27ddd.step_title.quote\x27|trans,
\t\t},
\t\tchoose_cabin_type: \x27ddd.choose_cabin_type\x27|trans,
\t\tchoose_atmosphere: \x27ddd.choose_atmosphere\x27|trans,
\t\tatmosphere_no_available: \x27ddd.atmosphere.no_available\x27|trans,
\t\tatmosphere_title_short: \x27ddd.atmosphere.title_short\x27|trans,
\t\tvalidate_choice: \x27ddd.validate_choice\x27|trans,
\t\taccessibility: {
\t\t\tstep_1: \x27ddd.accessibility.step_1\x27|trans,
\t\t\tstep_2: \x27ddd.accessibility.step_2\x27|trans,
\t\t\tstep_3: \x27ddd.accessibility.step_3\x27|trans,
\t\t\tstep_4: \x27ddd.accessibility.step_4\x27|trans,
\t\t\tconfirmation: \x27ddd.accessibility.confirmation\x27|trans,
\t\t\treservation_progress: \x27ddd.accessibility.reservation_progress\x27|trans,
\t\t},
\t\tjs: {
\t\t\tunknown: \x27ddd.js.unknown\x27|trans,
\t\t\tcabin_fallback: \x27ddd.js.cabin_fallback\x27|trans,
\t\t\tatmosphere_fallback: \x27ddd.js.atmosphere_fallback\x27|trans,
\t\t\tparent_benefits_single: \x27ddd.js.parent_benefits_single\x27|trans,
\t\t\tparent_benefits_multiple: \x27ddd.js.parent_benefits_multiple\x27|trans,
\t\t\tquote_error: \x27ddd.js.quote_error\x27|trans,
\t\t\tcopy_file_error: \x27ddd.js.copy_file_error\x27|trans,
\t\t\tcopy_file_manual: \x27ddd.js.copy_file_manual\x27|trans,
\t\t\tcopy_error_manual: \x27ddd.js.copy_error_manual\x27|trans,
\t\t\tcopy_success: \x27ddd.js.copy_success\x27|trans,
\t\t\tpdf_no_data: \x27ddd.js.pdf_no_data\x27|trans,
\t\t\tcabin_details_title: \x27ddd.js.cabin_details_title\x27|trans,
\t\t\tstep_fallback: \x27ddd.js.step_fallback\x27|trans,
\t\t\tsurface_label: \x27ddd.cabin_characteristics.surface_label\x27|trans,
\t\t\tdeck_label: \x27ddd.cabin_characteristics.decks\x27|trans,
\t\t},
\t} %}
\t<div
\t\tclass=\"content container-fluid cruise-container\"
\t\tdata-ddd-i18n=\"{{ dddI18n|json_encode|e(\x27html_attr\x27) }}\"
\t\tdata-ddd-lazy=\"1\"
\t\tdata-cruise-id=\"{{ cruise.id|default(\x27\x27) }}\"
\t\tdata-has-atmospheres=\"{{ hasAtmospheres ? \x271\x27 : \x270\x27 }}\"
\t\tdata-cabin-datas-tree=\x27{{ cabinDatasTreeJson|json_encode(constant(\x27JSON_UNESCAPED_UNICODE\x27))|e(\x27html_attr\x27) }}\x27>
\t\t<div class=\"col-right\">
\t\t\t<h1 class=\"text-xl-bd color-secondary-dark\">{{ \x27ddd.trip_summary\x27|trans }}</h1>
\t\t\t<div class=\"ddd-aside\">
\t\t\t\t{% include \x27pages/_includes/ddd/_summary.html.twig\x27 with {
\t\t\t\t\tcruise: cruise,
\t\t\t\t\titinerary: cruise.itinerary,
\t\t\t\t\tcompany: company|default(null),
\t\t\t\t\thasAtmospheres: hasAtmospheres,
\t\t\t\t\tcompanyLogoUrl: companyLogoUrl|default(null),
\t\t\t\t\tshipMainImageUrl: shipMainImageUrl|default(null),
\t\t\t\t} %}
\t\t\t</div>
\t\t</div>
\t\t<div
\t\t\tclass=\"col-left\">
\t\t\t{# ---------- Fil du parcours ---------- #}
\t\t\t<div class=\"thread\">
\t\t\t\t{# Retour desktop uniquement — mobile : #mobile-back-btn #}
\t\t\t\t<button id=\"btn-back\" type=\"button\" class=\"btn medium style2 transparent-white text-md-sbd thread-back-desktop\">
\t\t\t\t\t<div class=\"icon\">{{ getLucidIcon(\x27arrow-left\x27) }}</div>
\t\t\t\t\t<span>{{ \x27common.back\x27|trans }}</span>
\t\t\t\t</button>
\t\t\t\t<div class=\"mobile-thread\">
\t\t\t\t\t<div class=\"mobile-thread-nav\">
\t\t\t\t\t\t<button type=\"button\" class=\"mobile-back-btn\" id=\"mobile-back-btn\" aria-label=\"{{ \x27common.back\x27|trans }}\">
\t\t\t\t\t\t\t<div class=\"icon\">{{ getLucidIcon(\x27arrow-left\x27) }}</div>
\t\t\t\t\t\t</button>
\t\t\t\t\t\t<div class=\"step-name\" id=\"mobile-step-name\">{{ \x27ddd.step.type\x27|trans }}</div>
\t\t\t\t\t\t<div class=\"step-number\" id=\"mobile-step-number\">1/{{ hasAtmospheres ? 4 : 3 }}</div>
\t\t\t\t\t</div>
\t\t\t\t\t<button type=\"button\" class=\"mobile-recap-btn\" id=\"mobile-recap-btn\">
\t\t\t\t\t\t{{ \x27ddd.mobile.recap_full\x27|trans }}
\t\t\t\t\t</button>
\t\t\t\t</div>
\t\t\t\t<div id=\"reservation-thread\" class=\"\" data-visible-steps=\"{{ hasAtmospheres ? 4 : 3 }}\">
\t\t\t\t\t<div id=\"reservation-step-1\" class=\"current\" data-logical-step=\"1\">
\t\t\t\t\t\t<div class=\"icon br2\">{{ getLucidIcon(\x27ratio\x27) }}</div>
\t\t\t\t\t\t<div class=\"step step br1 text-xs-md color-secondary-dark\">{{ \x27ddd.step.type\x27|trans }}</div>
\t\t\t\t\t</div>
\t\t\t\t\t{% if hasAtmospheres %}
\t\t\t\t\t<div id=\"reservation-step-2\" class=\"\" data-logical-step=\"2\">
\t\t\t\t\t\t<div class=\"icon br2\">{{ getLucidIcon(\x27sparkle\x27) }}</div>
\t\t\t\t\t\t<div class=\"step br1 text-xs-md color-secondary-dark\">{{ \x27ddd.step.atmosphere\x27|trans }}</div>
\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t\t<div id=\"reservation-step-3\" class=\"\" data-logical-step=\"3\">
\t\t\t\t\t\t<div class=\"icon br2\">{{ getLucidIcon(\x27bed-double\x27) }}</div>
\t\t\t\t\t\t<div class=\"step br1 text-xs-md color-secondary-dark\">{{ \x27ddd.step.cabin\x27|trans }}</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div id=\"reservation-step-4\" class=\"\" data-logical-step=\"4\">
\t\t\t\t\t\t<div class=\"icon br2\">{{ getLucidIcon(\x27file-text\x27) }}</div>
\t\t\t\t\t\t<div class=\"step br1 text-xs-md color-secondary-dark\">{{ \x27ddd.step.quote\x27|trans }}</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div id=\"ddd-step-title-icons\" hidden aria-hidden=\"true\">
\t\t\t\t<span data-step=\"1\">{{ getLucidIcon(\x27ratio\x27) }}</span>
\t\t\t\t<span data-step=\"2\">{{ getLucidIcon(\x27sparkle\x27) }}</span>
\t\t\t\t<span data-step=\"3\">{{ getLucidIcon(\x27bed-double\x27) }}</span>
\t\t\t\t<span data-step=\"4\">{{ getLucidIcon(\x27file-text\x27) }}</span>
\t\t\t</div>
\t\t\t<h2 id=\"step-title\" class=\"step-title text-xl-bd color-secondary-dark\">
\t\t\t\t<span class=\"step-title__leading\" aria-hidden=\"true\">{{ getLucidIcon(\x27ratio\x27) }}</span>
\t\t\t\t<span class=\"step-title__text\">{{ \x27ddd.step_title.type\x27|trans }} </span>
\t\t\t\t<select name=\"select_cabin_type\" class=\"select-cabin-type\">
\t\t\t\t\t<option disabled selected value=\"\">{{ \x27ddd.choose_cabin_type\x27|trans|default(\x27Choisissez un type de cabine\x27) }}</option>
\t\t\t\t\t{% for cabinTypeNode in cabinDatasTree %}
\t\t\t\t\t\t{% for subTypeNode in cabinTypeNode.cabinSubTypes|default([]) %}
\t\t\t\t\t\t\t<option value=\"{{ subTypeNode.cabinSubType.id }}\">{{ subTypeNode.cabinSubType.name }}</option>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% endfor %}
\t\t\t\t</select>
\t\t\t\t<select name=\"select_atmosphere\" class=\"select-atmosphere\"{% if not hasAtmospheres %} hidden{% endif %}>
\t\t\t\t\t<option disabled selected value=\"\">{{ \x27ddd.choose_atmosphere\x27|trans }}</option>
\t\t\t\t</select>
\t\t\t</h2>
\t\t\t<div class=\"ddd-main\">
\t\t\t{# ---------- Étape 1 : choix du type de cabine ---------- #}
\t\t\t<div id=\"step-type\" class=\"ddd-step-panel is-active\">
\t\t\t\t<div class=\"ddd-step-loader text-sm-md color-grey-text\" aria-live=\"polite\">
\t\t\t\t\t{{ \x27common.loading\x27|trans|default(\x27Chargement...\x27) }}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{# ---------- Étape 2 : choix de l\x27ambiance (si applicable) ---------- #}
\t\t\t{% if hasAtmospheres %}
\t\t\t<div id=\"step-atmosphere\" class=\"ddd-step-panel\">
\t\t\t\t<div class=\"ddd-step-loader text-sm-md color-grey-text\" aria-live=\"polite\">
\t\t\t\t\t{{ \x27common.loading\x27|trans|default(\x27Chargement...\x27) }}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# ---------- Étape 3 : choix de la cabine ---------- #}
\t\t\t<div id=\"step-subtype\" class=\"ddd-step-panel\">
\t\t\t\t<div class=\"ddd-step-loader text-sm-md color-grey-text\" aria-live=\"polite\">
\t\t\t\t\t{{ \x27common.loading\x27|trans|default(\x27Chargement...\x27) }}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{# ---------- Étape 4 : formulaire de demande de devis ---------- #}
\t\t\t<div id=\"step-quote-form\" class=\"ddd-step-panel\">
\t\t\t\t<div class=\"ddd-step-loader text-sm-md color-grey-text\" aria-live=\"polite\">
\t\t\t\t\t{{ \x27common.loading\x27|trans|default(\x27Chargement...\x27) }}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{# ---------- Confirmation après envoi du devis ---------- #}
\t\t\t<div id=\"step-quote-summary\" style=\"display: none;\">
\t\t\t\t{% include \x27pages/_includes/ddd/_quote_summary.html.twig\x27 %}
\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t{# <div class=\"validation\" style=\"\">
\t\t<div class=\"floa\">
\t\t\t{{ \x27ddd.pay_in_installments\x27|trans }}
\t\t\t<img src=\"https://www.croisiland.com/_imgs/floa/4X-bleu.svg?1710340929\" alt=\"FLOA\"/>
\t\t</div>
\t\t<div class=\"total-amount\">
\t\t\t<div class=\"final-price amount\">
\t\t\t\t<span></span>{{ \x27common.per_person_short\x27|trans }}
\t\t\t</div>
\t\t\t<button class=\"btn medium style5 disabled\" disabled>{{ \x27ddd.validate_choice\x27|trans }}</button>
\t\t</div>
\t</div> #}
{% endblock %}
", "./pages/ddd.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/ddd.html.twig");
}
}