// Suppress the quoting calibration nudge banner for the rest of the browser session
// once the user dismisses it, so it doesn't reappear on every page visit.
(function () {
    var nudge = document.getElementById('quotingCalibrationNudge');
    if (!nudge) return;

    if (sessionStorage.getItem('quotingCalibrationDismissed')) {
        nudge.remove();
        return;
    }

    nudge.addEventListener('close.bs.alert', function () {
        sessionStorage.setItem('quotingCalibrationDismissed', '1');
    });
})();
