<?php if(isset($domainSelected)): ?>
    <div class="d-flex flex-column align-items-center justify-content-center">
        <div class="h-auto d-flex w-100 flex-row justify-content-around mt-5 mb-5 p-5">
            <?php if(!empty($notifiedMarket) && $notifiedMarket != 0): ?>
                <h3 class="bg-primary w-25 d-flex justify-content-center align-items-center text-white p-4 rounded">
                    <?php echo e($notifiedMarket === 1 ? $notifiedMarket . ' Marché notifié' : $notifiedMarket . ' Marchés notifiés'); ?>

                </h3>
            <?php endif; ?>
            <?php if(empty($activeMarkets) && $activeMarkets != 0 && $startDate): ?>
                <h3 class="w-25 d-flex justify-content-center p-4 rounded text-center">
                    Il n'y a pas de marché notifié pour la période de référence choisie.
                </h3>
            <?php endif; ?>
            <?php if(empty($activeMarkets) && $startDate === null): ?>
                <h3 class="w-25 d-flex justify-content-center p-4 rounded text-center">
                    Merci de sélectionner une date de début pour afficher les marchés notifiés.
                </h3>
            <?php endif; ?>
            <?php if(!empty($activeMarkets) && $activeMarkets != 0): ?>
                <h3 class="bg-primary w-25 d-flex justify-content-center align-items-center text-white p-4 rounded">
                    <?php echo e($activeMarkets === 1 ? $activeMarkets . ' Marché actif' : $activeMarkets . ' Marchés actifs'); ?>

                </h3>
            <?php endif; ?>
            <?php if(empty($activeMarkets) && $endDate): ?>
                <h3 class="w-25 d-flex justify-content-center p-4 rounded text-center">
                    Il n'y a pas de marché actif pour la période de référence choisie.
                </h3>
            <?php endif; ?>
            <?php if(empty($activeMarkets) && $endDate === null): ?>
                <h3 class="w-25 d-flex justify-content-center p-4 rounded text-center">
                    Merci de sélectionner une date de fin pour afficher les marchés actifs.
                </h3>
            <?php endif; ?>
        </div>
        <div class="h-auto w-75 d-flex justify-content-center align-items-center flex-column mt-5 mb-5 pt-5 pb-5">
            <?php if (isset($component)) { $__componentOriginal431edd6b7430e26ddf955f9aee926c87a33d0296 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Charts\RenewalMarketTab::class, []); ?>
<?php $component->withName('charts.renewalMarketTab'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php if (isset($__componentOriginal431edd6b7430e26ddf955f9aee926c87a33d0296)): ?>
<?php $component = $__componentOriginal431edd6b7430e26ddf955f9aee926c87a33d0296; ?>
<?php unset($__componentOriginal431edd6b7430e26ddf955f9aee926c87a33d0296); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
        </div>
        <div class="h-auto d-flex justify-content-center align-items-center flex-column mt-5 mb-5 pt-5 pb-5"
             style="width: 60%">
            <?php if (isset($component)) { $__componentOriginal731ae6d8b1c7d124c59391d41c4f7bb5bcff250a = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Charts\MarketByAmountChart::class, []); ?>
<?php $component->withName('charts.marketByAmountChart'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php if (isset($__componentOriginal731ae6d8b1c7d124c59391d41c4f7bb5bcff250a)): ?>
<?php $component = $__componentOriginal731ae6d8b1c7d124c59391d41c4f7bb5bcff250a; ?>
<?php unset($__componentOriginal731ae6d8b1c7d124c59391d41c4f7bb5bcff250a); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
        </div>
        <div class="h-auto w-75 d-flex justify-content-center align-items-center flex-column mt-5 mb-5 pt-5 pb-5">
            <?php if (isset($component)) { $__componentOriginalb4953f5a37e377921bb761e32705e24963398087 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Charts\MarketByAmountTab::class, []); ?>
<?php $component->withName('charts.marketByAmountTab'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php if (isset($__componentOriginalb4953f5a37e377921bb761e32705e24963398087)): ?>
<?php $component = $__componentOriginalb4953f5a37e377921bb761e32705e24963398087; ?>
<?php unset($__componentOriginalb4953f5a37e377921bb761e32705e24963398087); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
        </div>
    </div>
<?php else: ?>
    <div class="d-flex flex-column align-items-center justify-content-center">
        <h3 class="w-75 d-flex justify-content-center p-4 rounded">
            Merci de choisir un domaine pour afficher les données
        </h3>
    </div>
<?php endif; ?>
<?php /**PATH /var/www/html/resources/views/cartographie/charts/marketCharts.blade.php ENDPATH**/ ?>