/*! * Bootstrap Native Alert v5.1.10 (https://thednp.github.io/bootstrap.native/) * Copyright 2026 © thednp * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE) */ "use strict"; import { Data, ObjectKeys, createCustomEvent, dispatchEvent, emulateTransitionEnd, getAttribute, getInstance, hasClass, isElement, isString, mouseclickEvent, normalizeOptions, querySelector, removeClass } from "@thednp/shorty"; import { addListener, removeListener } from "@thednp/event-listener"; //#endregion //#region src/strings/showClass.ts /** * Global namespace for most components `show` class. */ const showClass = "show"; //#endregion //#region src/strings/dataBsDismiss.ts /** * Global namespace for most components `dismiss` option. */ const dataBsDismiss = "data-bs-dismiss"; //#endregion //#region src/strings/alertString.ts /** @type {string} */ const alertString = "alert"; //#endregion //#region src/strings/alertComponent.ts /** @type {string} */ const alertComponent = "Alert"; //#endregion //#region src/util/isDisabled.ts /** * Check if interactive element is disabled. * @param target either a `