<?php
/**
 * Copyright 2022 Adobe
 * All Rights Reserved.
 *
 * NOTICE: Adobe permits you to use, modify, and distribute this file in
 * accordance with the terms of the Adobe license agreement accompanying
 * it.
 */
?>
<?php $badgeMap = [
    1 => '<span class="badge critical-bg" data-level="1"><i class="bi-shield-slash-fill"></i> [CRITICAL]</span>',
    2 => '<span class="badge error-bg" data-level="2"><i class="bi-shield-fill-x"></i> [ERROR]</span>',
    3 => '<span class="badge warning-bg text-dark" data-level="3">' .
            '<i class="bi-shield-fill-exclamation"></i> [WARNING]</span>'
]; ?>
<div class="alert alert-warning bubble-chart-disclaimer">
    <small>
        <span>
            This chart has been generated using minimum issue level:
            <?= /* @noEscape */ $badgeMap[1] ?>
            <?= /* @noEscape */ $badgeMap[2] ?>
            <?= /* @noEscape */ $badgeMap[3] ?>
        </span>
        -
        <span>
            The results can be filtered using the minimum issue level dropdown at the top right corner of this page.
        </span>
    </small>
</div>
