@if (fieldPropertyValue('fv_type', $project->topPage) == FvType::MOVIE)
{!! fieldPropertyValue('movie_tag', $project->topPage) !!}
@if ($lang != MultiLangMode::ENGLISH)
{!! setTextDefault(fieldPropertyValue('note_heading', $project->topPage)) !!}
@endif
{!! textLocale('note', $project->topPage, $lang) !!}
@else
@for ($i = 0; $i < count($listImagePc); $i++)
@endfor
@for ($i = 0; $i < count($listImagePc); $i++)
@if ($lang != MultiLangMode::ENGLISH)
{!! setTextDefault(fieldPropertyValue('note_heading', $project->topPage)) !!}
@endif
{!! textLocale('note', $project->topPage, $lang) !!}
@endfor
@endif
@if (fieldPropertyValue('fv_type_sp', $project->topPage) == FvType::MOVIE)
{!! fieldPropertyValue('movie_tag_sp', $project->topPage) !!}
@else
@for ($i = 0; $i < count($listImageSp); $i++)
@endfor
@for ($i = 0; $i < count($listImageSp); $i++)
@if ($lang != MultiLangMode::ENGLISH)
{!! setTextDefault(fieldPropertyValue('note_heading_sp', $project->topPage)) !!}
@endif
{!! textLocale('note_sp', $project->topPage, $lang) !!}
@endfor
@endif
@if (showSearchRoom(fieldPropertyValue('reservation_engine', $basic)))
@endif
@if (showSearchRoom(fieldPropertyValue('reservation_engine', $basic)))
@if (showSearchPeople(fieldPropertyValue('reservation_engine', $basic)))
&
@endif
@endif
@if (showSearchPeople(fieldPropertyValue('reservation_engine', $basic)))
@endif
@if (showSearchRoom(fieldPropertyValue('reservation_engine', $basic)))
@if (showSearchPeople(fieldPropertyValue('reservation_engine', $basic)))
-
@endif
@endif
@if (showSearchPeople(fieldPropertyValue('reservation_engine', $basic)))
@endif
@if (showSearchPeople(fieldPropertyValue('reservation_engine', $basic)))
@endif
@foreach ($elements as $item)
@if (fieldPropertyValue('status', $item))
@if (fieldPropertyValue('element_type', $item) == ElementType::DEFAULT)
@switch(fieldPropertyValue('default_element_type', $item))
@case(TopElementDefault::PICKUP)
@include('preview.mercure.defaults.tops.pickup')
@break
@case(TopElementDefault::CONCEPT)
@include('preview.mercure.defaults.tops.concept')
@break
@case(TopElementDefault::CHILD_PAGE_TRANSITION)
@include('preview.mercure.defaults.tops.childPageTransition')
@break
@case(TopElementDefault::PLAN)
@include('preview.mercure.commons.plan')
@break
@case(TopElementDefault::FOUR_SEASONS)
@include('preview.mercure.defaults.tops.fourSeason')
@break
@case(TopElementDefault::INSTAGRAM)
@include('preview.mercure.defaults.tops.instagram')
@break
@case(TopElementDefault::CV_NEXT)
@php
$reserve = $item;
@endphp
@break
@endswitch
@endif
@endif
@if (textLocale('status', $item, $lang) &&
fieldPropertyValue('custom_element_type', $item) >= CustomElementType::ONE_COLUMN &&
fieldPropertyValue('custom_element_type', $item) <= CustomElementType::SIDE_CONTENT_V2)
@include('preview.customs.customContent')
@endif
@endforeach
@if ($project->show_news && $project->noticePage)
@include('preview.mercure.defaults.tops.newsContent')
@endif
@include('preview.mercure.commons.allContaintSP')
@if (!empty($reserve))
@include('preview.mercure.commons.reserve')
@endif
@endsection