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I,QAAQ,WAAUpI,EAAED,EAAE,EAAE7U,EAAE8U,EAAE,CAAC6R,YAAYlW,EAAEnb,QAAQ,SAASuf,EAAEC,GAAG,IAAInhB,EAAEmhB,EAAExmB,MAAMyN,EAAE+Y,EAAEljB,SAASyO,KAAKC,UAAU3M,KAAK0M,KAAKC,UAAUvE,KAAK6Z,EAAEf,GAAGpE,EAAEoE,EAAE,CAACvmB,MAAMqF,IAAI,EAAE4B,UAAUqgB,GAAG,CAAC,EAAE,MAAM,CAAClgB,QAAQ,SAASmf,GAAGA,EAAE+R,UAAU,gBAAgB5mB,EAAE,EAAE4mB,UAAU5mB,EAAE,G","sources":["webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/composables/usePopoverController/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useCountdownHover-BZ6NmVEL.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useModalManager-tL74pLur.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/directives/BToggle/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/plugins/popoverController/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/directives/BColorMode/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useId-BzCLXIGF.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/composables/useToastController/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useRadiusElementClasses-DtKYQuWz.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useFormInput-BA20uvAP.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/plugins/rtl/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/object-BWoyyA2y.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/composables/useBreadcrumb/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/plugins/toastController/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/composables/useModal/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/directives/BTooltip/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/plugins/bootstrap/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useColorVariantClasses-ZDE19TZw.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/plugins/breadcrumb/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useDefaults-DANje4tM.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useNumberishToStyle-yYj2DkI2.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useAlignment-Cw-9AVid.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useFormSelect-BrGF20vO.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useTransitions-BJccF5e-.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/utils-DPq73bs8.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useAriaInvalid-BTUbGj3Y.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/plugins/showHide/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/plugins/createBootstrap/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/composables/useModalController/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/plugins/modalManager/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useFormCheck-Bcx8Ea7M.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/composables/useScrollspy/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/plugins/modalController/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/composables/useColorMode/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/directives/BPopover/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useSafeScrollLock-iJTRWqXi.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useStateClass-BGbSLWFN.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/src/directives/BScrollspy/index.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/stringUtils-mwxHpj6j.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/useShowHide-DHtnuxfQ.mjs","webpack://vultan/./node_modules/click-outside-vue3/dist/v-click-outside.umd.js"],"sourcesContent":["import { inject } from \"vue\";\nimport { p as popoverPluginKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst usePopoverController = () => ({ ...inject(popoverPluginKey) });\nexport {\n usePopoverController\n};\n//# sourceMappingURL=index.mjs.map\n","import { k as useTimestamp, l as useElementHover } from \"./index-cC189kCW.mjs\";\nimport { readonly, toRef, ref, computed, watch, toValue } from \"vue\";\nconst useCountdown = (length, interval, timestampOpts = {}) => {\n const resolvedLength = readonly(toRef(length));\n const isPaused = ref(false);\n const target = ref(Date.now() + resolvedLength.value);\n const { isActive, pause, resume, timestamp } = useTimestamp({\n interval,\n controls: true,\n callback: (v) => {\n if (v >= target.value) {\n isPaused.value = false;\n pause();\n }\n },\n ...timestampOpts\n });\n const value = computed(() => target.value - timestamp.value);\n const restart = () => {\n target.value = Date.now() + resolvedLength.value;\n resume();\n };\n watch(resolvedLength, () => {\n restart();\n });\n const myPause = () => {\n isPaused.value = true;\n pause();\n };\n const myResume = () => {\n isPaused.value = false;\n const remainingTime = target.value - timestamp.value;\n target.value = Date.now() + remainingTime;\n resume();\n };\n const stop = () => {\n pause();\n timestamp.value = target.value;\n isPaused.value = false;\n };\n return {\n isActive: readonly(isActive),\n isPaused: readonly(isPaused),\n stop,\n pause: myPause,\n resume: myResume,\n restart,\n value\n };\n};\nconst useCountdownHover = (element, props, actions) => {\n const isHovering = useElementHover(element);\n const onMouseEnter = () => {\n if (toValue(props).noHoverPause) return;\n actions.pause();\n };\n const onMouseLeave = () => {\n if (toValue(props).noResumeOnHoverLeave) return;\n actions.resume();\n };\n watch(isHovering, (newValue) => {\n if (toValue(props).modelValueIgnoresHover) return;\n if (newValue) {\n onMouseEnter();\n return;\n }\n onMouseLeave();\n });\n return {\n isHovering\n };\n};\nexport {\n useCountdownHover as a,\n useCountdown as u\n};\n//# sourceMappingURL=useCountdownHover-BZ6NmVEL.mjs.map\n","import { g as getSSRHandler, e as unrefElement } from \"./index-cC189kCW.mjs\";\nimport { getCurrentInstance, watch, computed, toValue, inject } from \"vue\";\nimport { a as modalManagerPluginKey } from \"./keys-D3gOZjD-.mjs\";\nimport { d as tryOnScopeDispose } from \"./index-CLgoGrAV.mjs\";\nconst modalOpenClassName = \"modal-open\";\nconst useSharedModalStack = () => {\n const modalManagerPlugin = inject(modalManagerPluginKey);\n const dispose = (modal) => {\n modalManagerPlugin == null ? void 0 : modalManagerPlugin.removeStack(modal);\n modalManagerPlugin == null ? void 0 : modalManagerPlugin.removeRegistry(modal);\n };\n const updateHTMLAttrs = getSSRHandler(\"updateHTMLAttrs\", (selector, attribute, value) => {\n const el = typeof selector === \"string\" ? window == null ? void 0 : window.document.querySelector(selector) : unrefElement(selector);\n if (!el) return;\n if (attribute === \"class\") {\n el.classList.toggle(modalOpenClassName, value === modalOpenClassName);\n } else {\n el.setAttribute(attribute, value);\n }\n });\n tryOnScopeDispose(() => {\n updateHTMLAttrs(\"body\", \"class\", \"\");\n });\n watch(\n () => modalManagerPlugin == null ? void 0 : modalManagerPlugin.countStack.value,\n (newValue) => {\n if (newValue === void 0) return;\n updateHTMLAttrs(\"body\", \"class\", newValue > 0 ? modalOpenClassName : \"\");\n }\n );\n return {\n ...modalManagerPlugin,\n dispose\n };\n};\nconst useModalManager = (modalOpen, initialValue) => {\n const { pushRegistry, pushStack, removeStack, stack, dispose, countStack } = useSharedModalStack();\n const currentModal = getCurrentInstance();\n if (!currentModal || currentModal.type.__name !== \"BModal\") {\n throw new Error(\"useModalManager must only use in BModal component\");\n }\n pushRegistry == null ? void 0 : pushRegistry(currentModal);\n tryOnScopeDispose(() => {\n dispose(currentModal);\n });\n const setInStack = (newValue, oldValue) => {\n if (newValue) {\n pushStack == null ? void 0 : pushStack(currentModal);\n } else if (oldValue && !newValue) {\n removeStack == null ? void 0 : removeStack(currentModal);\n }\n };\n setInStack(initialValue, initialValue);\n watch(modalOpen, setInStack);\n return {\n activePosition: computed(\n () => stack == null ? void 0 : stack.value.findIndex((el) => {\n var _a, _b;\n return toValue((_a = el.exposed) == null ? void 0 : _a.id) === toValue((_b = currentModal.exposed) == null ? void 0 : _b.id);\n })\n ),\n activeModalCount: countStack,\n stackWithoutSelf: computed(\n () => (stack == null ? void 0 : stack.value.filter(\n (el) => {\n var _a, _b;\n return toValue((_a = el.exposed) == null ? void 0 : _a.id) !== toValue((_b = currentModal.exposed) == null ? void 0 : _b.id);\n }\n )) ?? []\n )\n };\n};\nexport {\n useModalManager as a,\n useSharedModalStack as u\n};\n//# sourceMappingURL=useModalManager-tL74pLur.mjs.map\n","import { n as RX_SPACE_SPLIT, o as RX_HASH_ID, p as RX_HASH } from \"../../../constants-COk0ugyL.mjs\";\nimport { f as findProvides } from \"../../../utils-DPq73bs8.mjs\";\nimport { g as globalShowHideStorageInjectionKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst getTargets = (binding, el) => {\n const { modifiers, arg, value } = binding;\n const targets = Object.keys(modifiers || {});\n const localValue = typeof value === \"string\" ? value.split(RX_SPACE_SPLIT) : value;\n if (el.tagName.toLowerCase() === \"a\") {\n const href = el.getAttribute(\"href\") || \"\";\n if (RX_HASH_ID.test(href)) {\n targets.push(href.replace(RX_HASH, \"\"));\n }\n }\n Array.prototype.concat.apply([], [arg, localValue]).forEach((t) => typeof t === \"string\" && targets.push(t));\n return targets.filter((t, index, arr) => t && arr.indexOf(t) === index);\n};\nconst toggle = (targetIds, el, binding, vnode) => {\n var _a;\n const provides = findProvides(binding, vnode);\n const showHide = (_a = provides[globalShowHideStorageInjectionKey]) == null ? void 0 : _a.map;\n targetIds.forEach((targetId) => {\n if (showHide == null ? void 0 : showHide[targetId]) {\n showHide[targetId].toggle();\n return;\n }\n const target = document.getElementById(targetId);\n if (target !== null) {\n target.dispatchEvent(new Event(\"bv-toggle\"));\n }\n });\n setTimeout(() => checkVisibility(targetIds, el), 50);\n};\nconst checkVisibility = (targetIds, el) => {\n let visible = false;\n targetIds.forEach((targetId) => {\n const target = document.getElementById(targetId);\n if (target == null ? void 0 : target.classList.contains(\"show\")) {\n visible = true;\n }\n if (target == null ? void 0 : target.classList.contains(\"closing\")) {\n visible = false;\n }\n });\n el.setAttribute(\"aria-expanded\", visible ? \"true\" : \"false\");\n el.classList.remove(visible ? \"collapsed\" : \"not-collapsed\");\n el.classList.add(visible ? \"not-collapsed\" : \"collapsed\");\n};\nconst handleUpdate = (el, binding, vnode) => {\n const targets = getTargets(binding, el);\n if (targets.length === 0) return;\n if (el.__toggle) {\n setTimeout(() => {\n el.removeEventListener(\"click\", el.__toggle);\n el.__toggle = () => toggle(targets, el, binding, vnode);\n el.addEventListener(\"click\", el.__toggle);\n }, 0);\n } else {\n el.__toggle = () => toggle(targets, el, binding, vnode);\n el.addEventListener(\"click\", el.__toggle);\n }\n el.setAttribute(\"aria-controls\", targets.join(\" \"));\n checkVisibility(targets, el);\n};\nconst vBToggle = {\n mounted: handleUpdate,\n updated: handleUpdate,\n unmounted(el) {\n el.removeEventListener(\"click\", el.__toggle);\n el.removeAttribute(\"aria-controls\");\n el.removeAttribute(\"aria-expanded\");\n }\n};\nexport {\n vBToggle\n};\n//# sourceMappingURL=index.mjs.map\n","import { ref, toValue, toRef, watch, isRef, onScopeDispose } from \"vue\";\nimport { p as popoverPluginKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst popoverPlugin = {\n install(app) {\n const popovers = ref(/* @__PURE__ */ new Map());\n const popover = (obj) => {\n var _a;\n const resolvedProps = toRef(obj);\n const _self = ((_a = resolvedProps.value) == null ? void 0 : _a.id) || Symbol(\"Popover controller\");\n watch(\n resolvedProps,\n (newValue) => {\n popovers.value.set(_self, {\n ...newValue,\n ...typeof newValue[\"modelValue\"] !== \"undefined\" && isRef(obj) ? {\n \"onUpdate:modelValue\": (val) => {\n var _a2;\n (_a2 = newValue[\"onUpdate:modelValue\"]) == null ? void 0 : _a2.call(newValue, val);\n obj.value.modelValue = val;\n }\n } : {}\n });\n },\n {\n immediate: true,\n deep: true\n }\n );\n onScopeDispose(() => popovers.value.delete(_self), true);\n return _self;\n };\n const setPopover = (self, val) => {\n const popover2 = popovers.value.get(self);\n if (!popover2) return;\n popovers.value.set(self, {\n ...popover2,\n ...toValue(val)\n });\n };\n const removePopover = (self) => popovers.value.delete(self);\n const tooltips = ref(/* @__PURE__ */ new Map());\n const tooltip = (obj) => {\n var _a;\n const resolvedProps = toRef(obj);\n const _self = ((_a = resolvedProps.value) == null ? void 0 : _a.id) || Symbol(\"Tooltip controller\");\n watch(\n resolvedProps,\n (newValue) => {\n popovers.value.set(_self, {\n ...newValue,\n ...typeof newValue[\"modelValue\"] !== \"undefined\" && isRef(obj) ? {\n \"onUpdate:modelValue\": (val) => {\n var _a2;\n (_a2 = newValue[\"onUpdate:modelValue\"]) == null ? void 0 : _a2.call(newValue, val);\n obj.value.modelValue = val;\n }\n } : {}\n });\n },\n {\n immediate: true,\n deep: true\n }\n );\n onScopeDispose(() => tooltips.value.delete(_self), true);\n return _self;\n };\n const setTooltip = (self, val) => {\n const tooltip2 = tooltips.value.get(self);\n if (!tooltip2) return;\n tooltips.value.set(self, {\n ...tooltip2,\n ...toValue(val)\n });\n };\n const removeTooltip = (self) => tooltips.value.delete(self);\n app.provide(popoverPluginKey, {\n popovers,\n tooltips,\n tooltip,\n popover,\n setPopover,\n setTooltip,\n removePopover,\n removeTooltip\n });\n }\n};\nexport {\n popoverPlugin\n};\n//# sourceMappingURL=index.mjs.map\n","const setTheme = (el, value) => el.setAttribute(\"data-bs-theme\", value);\nconst vBColorMode = {\n mounted(el, binding) {\n setTheme(el, binding.value);\n },\n updated(el, binding) {\n setTheme(el, binding.value);\n }\n};\nexport {\n vBColorMode\n};\n//# sourceMappingURL=index.mjs.map\n","import { useId as useId$1, computed, toValue } from \"vue\";\nimport { w as withBvnPrefix } from \"./keys-D3gOZjD-.mjs\";\nconst useId = (id, suffix) => {\n const genId = useId$1();\n return computed(() => toValue(id) || withBvnPrefix(genId || \"\", suffix));\n};\nexport {\n useId as u\n};\n//# sourceMappingURL=useId-BzCLXIGF.mjs.map\n","import { inject } from \"vue\";\nimport { t as toastPluginKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst useToastController = () => ({ ...inject(toastPluginKey) });\nexport {\n useToastController\n};\n//# sourceMappingURL=index.mjs.map\n","import { computed, toValue } from \"vue\";\nconst useRadiusElementClasses = (obj) => {\n const resolveRadiusElement = (value, str) => {\n const strValue = str === null ? \"\" : `-${str}`;\n return value === \"circle\" ? `rounded${strValue}-circle` : value === \"pill\" ? `rounded${strValue}-pill` : typeof value === \"number\" || value === \"0\" || value === \"1\" || value === \"2\" || value === \"3\" || value === \"4\" || value === \"5\" ? `rounded${strValue}-${value}` : value === \"none\" ? `rounded${strValue}-0` : value === \"sm\" ? `rounded${strValue}-1` : value === \"lg\" ? `rounded${strValue}-5` : `rounded${strValue}`;\n };\n return computed(() => {\n const props = toValue(obj);\n return {\n [`${resolveRadiusElement(props.rounded, null)}`]: !!props.rounded,\n [`${resolveRadiusElement(props.roundedTop, \"top\")}`]: !!props.roundedTop,\n [`${resolveRadiusElement(props.roundedBottom, \"bottom\")}`]: !!props.roundedBottom,\n [`${resolveRadiusElement(props.roundedStart, \"start\")}`]: !!props.roundedStart,\n [`${resolveRadiusElement(props.roundedEnd, \"end\")}`]: !!props.roundedEnd\n };\n });\n};\nexport {\n useRadiusElementClasses as u\n};\n//# sourceMappingURL=useRadiusElementClasses-DtKYQuWz.mjs.map\n","import { ref, inject, computed, onMounted, onActivated, nextTick } from \"vue\";\nimport { u as useAriaInvalid } from \"./useAriaInvalid-BTUbGj3Y.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { u as useFocus } from \"./index-cC189kCW.mjs\";\nimport { j as formGroupPluginKey } from \"./keys-D3gOZjD-.mjs\";\nimport { u as useStateClass } from \"./useStateClass-BGbSLWFN.mjs\";\nimport { u as useToNumber, r as useDebounceFn } from \"./index-CLgoGrAV.mjs\";\nconst normalizeInput = (v, modelModifiers) => {\n if (v === null) return;\n let update = v;\n if (modelModifiers.number && typeof update === \"string\" && update !== \"\") {\n const parsed = Number.parseFloat(update);\n update = Number.isNaN(parsed) ? update : parsed;\n }\n return update;\n};\nconst useFormInput = (props, input, modelValue, modelModifiers) => {\n var _a;\n const forceUpdateKey = ref(0);\n const computedId = useId(() => props.id, \"input\");\n const debounceNumber = useToNumber(() => props.debounce ?? 0);\n const debounceMaxWaitNumber = useToNumber(() => props.debounceMaxWait ?? NaN);\n const formGroupData = (_a = inject(formGroupPluginKey, null)) == null ? void 0 : _a(computedId);\n const computedState = computed(\n () => props.state !== void 0 ? props.state : (formGroupData == null ? void 0 : formGroupData.state.value) ?? null\n );\n const computedAriaInvalid = useAriaInvalid(() => props.ariaInvalid, computedState);\n const stateClass = useStateClass(computedState);\n const internalUpdateModelValue = useDebounceFn(\n (value) => {\n modelValue.value = value;\n },\n () => modelModifiers.lazy === true ? 0 : debounceNumber.value,\n { maxWait: () => modelModifiers.lazy === true ? NaN : debounceMaxWaitNumber.value }\n );\n const updateModelValue = (value, force = false) => {\n if (modelModifiers.lazy === true && force === false) return;\n internalUpdateModelValue(value);\n };\n const { focused } = useFocus(input, {\n initialValue: props.autofocus\n });\n const _formatValue = (value, evt, force = false) => {\n if (props.formatter !== void 0 && (!props.lazyFormatter || force)) {\n return props.formatter(value, evt);\n }\n return value;\n };\n onMounted(() => {\n var _a2;\n if (input.value) {\n input.value.value = ((_a2 = modelValue.value) == null ? void 0 : _a2.toString()) ?? \"\";\n }\n });\n onActivated(() => {\n nextTick(() => {\n if (props.autofocus) {\n focused.value = true;\n }\n });\n });\n const onInput = (evt) => {\n const { value } = evt.target;\n const formattedValue = _formatValue(value, evt);\n if (evt.defaultPrevented) {\n evt.preventDefault();\n return;\n }\n const nextModel = formattedValue;\n updateModelValue(nextModel);\n };\n const onChange = (evt) => {\n const { value } = evt.target;\n const formattedValue = _formatValue(value, evt);\n if (evt.defaultPrevented) {\n evt.preventDefault();\n return;\n }\n const nextModel = formattedValue;\n if (modelValue.value !== nextModel) {\n updateModelValue(formattedValue, true);\n }\n };\n const onBlur = (evt) => {\n if (!modelModifiers.lazy && !props.lazyFormatter && !modelModifiers.trim) return;\n const { value } = evt.target;\n const formattedValue = _formatValue(value, evt, true);\n const nextModel = modelModifiers.trim ? formattedValue.trim() : formattedValue;\n const needsForceUpdate = nextModel.length !== formattedValue.length;\n if (modelValue.value !== nextModel) {\n updateModelValue(formattedValue, true);\n }\n if (modelModifiers.trim && needsForceUpdate) {\n forceUpdateKey.value = forceUpdateKey.value + 1;\n }\n };\n const focus = () => {\n if (!props.disabled) {\n focused.value = true;\n }\n };\n const blur = () => {\n if (!props.disabled) {\n focused.value = false;\n }\n };\n return {\n input,\n computedId,\n computedAriaInvalid,\n onInput,\n onChange,\n onBlur,\n focus,\n blur,\n forceUpdateKey,\n stateClass\n };\n};\nexport {\n normalizeInput as n,\n useFormInput as u\n};\n//# sourceMappingURL=useFormInput-BA20uvAP.mjs.map\n","import { ref } from \"vue\";\nimport { r as rtlPluginKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst rtlPlugin = {\n install(app, options) {\n var _a, _b;\n const rtlDefault = false;\n const localeDefault = void 0;\n const rtlInitial = typeof (options == null ? void 0 : options.rtl) === \"boolean\" ? rtlDefault : ((_a = options == null ? void 0 : options.rtl) == null ? void 0 : _a.rtlInitial) ?? rtlDefault;\n const localeInitial = typeof (options == null ? void 0 : options.rtl) === \"boolean\" ? localeDefault : ((_b = options == null ? void 0 : options.rtl) == null ? void 0 : _b.localeInitial) ?? localeDefault;\n const isRtl = ref(rtlInitial);\n const locale = ref(localeInitial);\n app.provide(rtlPluginKey, { isRtl, locale });\n }\n};\nexport {\n rtlPlugin\n};\n//# sourceMappingURL=index.mjs.map\n","const omit = (objToPluck, keysToPluck) => Object.keys(objToPluck).filter((key) => !keysToPluck.map((el) => el.toString()).includes(key)).reduce((result, key) => ({ ...result, [key]: objToPluck[key] }), {});\nconst pick = (objToPluck, keysToPluck) => [...keysToPluck].reduce(\n (memo, prop) => {\n memo[prop] = objToPluck[prop];\n return memo;\n },\n {}\n);\nconst get = (value, path, defaultValue) => {\n const segments = path.split(/[.[\\]]/g);\n let current = value;\n for (const key of segments) {\n if (current === null) return defaultValue;\n if (current === void 0) return defaultValue;\n if (key.trim() === \"\") continue;\n current = current[key];\n }\n if (current === void 0) return defaultValue;\n return current;\n};\nconst set = (initial, path, value) => {\n const clone = (obj) => {\n const isPrimitive = (value2) => value2 === void 0 || value2 === null || typeof value2 !== \"object\" && typeof value2 !== \"function\";\n if (isPrimitive(obj)) {\n return obj;\n }\n if (typeof obj === \"function\") {\n return obj.bind({});\n }\n const newObj = new obj.constructor();\n Object.getOwnPropertyNames(obj).forEach((prop) => {\n newObj[prop] = obj[prop];\n });\n return newObj;\n };\n const toInt = (value2, defaultValue) => {\n const def = defaultValue;\n if (value2 === null || value2 === void 0) {\n return def;\n }\n const result = Number.parseInt(value2);\n return Number.isNaN(result) ? def : result;\n };\n if (!initial) return {};\n if (!path || value === void 0) return initial;\n const segments = path.split(/[.[\\]]/g).filter((x) => !!x.trim());\n const _set = (node) => {\n if (segments.length > 1) {\n const key = segments.shift();\n const nextIsNum = toInt(segments[0], null) === null ? false : true;\n node[key] = node[key] === void 0 ? nextIsNum ? [] : {} : node[key];\n _set(node[key]);\n } else {\n node[segments[0]] = value;\n }\n };\n const cloned = clone(initial);\n _set(cloned);\n return cloned;\n};\nexport {\n get as g,\n omit as o,\n pick as p,\n set as s\n};\n//# sourceMappingURL=object-BWoyyA2y.mjs.map\n","import { inject } from \"vue\";\nimport { b as breadcrumbPluginKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst useBreadcrumb = () => ({ ...inject(breadcrumbPluginKey) });\nexport {\n useBreadcrumb\n};\n//# sourceMappingURL=index.mjs.map\n","import { ref, markRaw, toRef, watch } from \"vue\";\nimport { t as toastPluginKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst posDefault = \"top-end\";\nconst toastPlugin = {\n install(app) {\n const toasts = ref([]);\n const _isAppend = ref(false);\n const _setIsAppend = (value) => {\n _isAppend.value = value;\n };\n const show = (obj = {}) => {\n var _a, _b, _c, _d;\n const resolvedProps = toRef(obj.props);\n const _self = ((_a = resolvedProps.value) == null ? void 0 : _a.id) || Symbol(\"Toast controller\");\n const toastToAdd = {\n component: !obj.component ? void 0 : markRaw(obj.component),\n props: {\n ...resolvedProps.value,\n pos: ((_b = resolvedProps.value) == null ? void 0 : _b.pos) || posDefault,\n _modelValue: ((_c = resolvedProps.value) == null ? void 0 : _c.value) || 5e3,\n _self\n }\n };\n if (((_d = resolvedProps.value) == null ? void 0 : _d.appendToast) !== void 0 ? resolvedProps.value.appendToast : _isAppend.value) {\n toasts.value.push(toastToAdd);\n } else {\n toasts.value.unshift(toastToAdd);\n }\n watch(resolvedProps, (newValue) => {\n const previousIndex = toasts.value.findIndex((el) => el.props._self === _self);\n if (previousIndex === -1) return;\n toasts.value.splice(previousIndex, 1, {\n component: !obj.component ? void 0 : markRaw(obj.component),\n props: {\n ...toasts.value[previousIndex].props,\n ...newValue,\n _modelValue: (newValue == null ? void 0 : newValue.value) || toasts.value[previousIndex].props._modelValue || 5e3\n }\n });\n });\n return _self;\n };\n const remove = (self) => {\n toasts.value = toasts.value.filter((el) => el.props._self !== self);\n };\n const leave = (self) => {\n const toastIndex = toasts.value.findIndex((el) => el.props._self === self);\n if (toastIndex === -1) return;\n toasts.value.splice(toastIndex, 1, {\n component: !toasts.value[toastIndex].component ? void 0 : markRaw(toasts.value[toastIndex].component),\n props: {\n ...toasts.value[toastIndex].props,\n _modelValue: false\n }\n });\n };\n app.provide(toastPluginKey, {\n _setIsAppend,\n toasts,\n show,\n remove,\n leave\n });\n }\n};\nexport {\n toastPlugin\n};\n//# sourceMappingURL=index.mjs.map\n","import { getCurrentInstance, computed, toValue } from \"vue\";\nimport { u as useSharedModalStack } from \"../../../useModalManager-tL74pLur.mjs\";\nconst useModal = (id = void 0) => {\n const { registry } = useSharedModalStack();\n const instance = getCurrentInstance();\n const findBModal = (component) => {\n if (!component.parent) {\n return null;\n }\n if (component.parent.type.__name === \"BModal\") {\n return component.parent;\n }\n return findBModal(component.parent);\n };\n const modalComponent = computed(() => {\n var _a;\n const resolvedId = toValue(id);\n if (resolvedId) {\n if (!registry) return null;\n for (const [, modal2] of registry.value) {\n if (toValue((_a = modal2 == null ? void 0 : modal2.exposed) == null ? void 0 : _a.id) === resolvedId) {\n return modal2;\n }\n }\n return null;\n }\n if (!instance) {\n return null;\n }\n return findBModal(instance);\n });\n const modal = computed(() => {\n var _a;\n return (_a = modalComponent.value) == null ? void 0 : _a.proxy;\n });\n return {\n show() {\n var _a, _b;\n (_b = (_a = modalComponent.value) == null ? void 0 : _a.exposed) == null ? void 0 : _b.show();\n },\n hide(trigger = \"\") {\n var _a, _b;\n (_b = (_a = modalComponent.value) == null ? void 0 : _a.exposed) == null ? void 0 : _b.hide(trigger);\n },\n modal\n };\n};\nexport {\n useModal\n};\n//# sourceMappingURL=index.mjs.map\n","import \"vue\";\nimport { u as unbind, r as resolveActiveStatus, a as resolveContent, b as bind, c as resolveDirectiveProps } from \"../../../floatingUi-DvHiyg2I.mjs\";\nimport { d as defaultsKey } from \"../../../keys-D3gOZjD-.mjs\";\nimport { f as findProvides } from \"../../../utils-DPq73bs8.mjs\";\nconst vBTooltip = {\n mounted(el, binding, vnode) {\n var _a;\n const defaults = (_a = findProvides(binding, vnode)[defaultsKey]) == null ? void 0 : _a.value;\n const isActive = resolveActiveStatus(binding.value);\n if (!isActive) return;\n const text = resolveContent(binding.value, el);\n if (!text.content && !text.title) return;\n el.$__binding = JSON.stringify([binding.modifiers, binding.value]);\n bind(el, binding, {\n noninteractive: true,\n ...defaults[\"BTooltip\"] || void 0,\n ...resolveDirectiveProps(binding, el),\n title: text.title ?? text.content ?? \"\",\n tooltip: isActive\n });\n },\n updated(el, binding, vnode) {\n var _a;\n const defaults = (_a = findProvides(binding, vnode)[defaultsKey]) == null ? void 0 : _a.value;\n const isActive = resolveActiveStatus(binding.value);\n if (!isActive) return;\n const text = resolveContent(binding.value, el);\n if (!text.content && !text.title) return;\n delete binding.oldValue;\n if (el.$__binding === JSON.stringify([binding.modifiers, binding.value])) return;\n unbind(el);\n bind(el, binding, {\n noninteractive: true,\n ...defaults[\"BTooltip\"] || void 0,\n ...resolveDirectiveProps(binding, el),\n title: text.title ?? text.content ?? \"\",\n tooltip: isActive\n });\n el.$__binding = JSON.stringify([binding.modifiers, binding.value]);\n },\n beforeUnmount(el) {\n unbind(el);\n }\n};\nexport {\n vBTooltip\n};\n//# sourceMappingURL=index.mjs.map\n","import { ref } from \"vue\";\nimport { d as defaultsKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst bootstrapPlugin = {\n install(app, options) {\n const val = (options == null ? void 0 : options.components) ?? {};\n app.provide(defaultsKey, ref(val));\n }\n};\nexport {\n bootstrapPlugin\n};\n//# sourceMappingURL=index.mjs.map\n","import { computed, toValue } from \"vue\";\nconst useColorVariantClasses = (obj) => computed(() => {\n let props = toValue(obj);\n props = {\n variant: props.variant ?? null,\n bgVariant: props.bgVariant ?? null,\n textVariant: props.textVariant ?? null,\n borderVariant: props.borderVariant ?? null\n };\n return {\n [`text-bg-${props.variant}`]: props.variant !== null,\n [`text-${props.textVariant}`]: props.textVariant !== null,\n [`bg-${props.bgVariant}`]: props.bgVariant !== null,\n [`border-${props.borderVariant}`]: props.borderVariant !== null\n };\n});\nexport {\n useColorVariantClasses as u\n};\n//# sourceMappingURL=useColorVariantClasses-ZDE19TZw.mjs.map\n","import { ref } from \"vue\";\nimport { b as breadcrumbPluginKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst breadcrumbPlugin = {\n install(app) {\n const items = ref([]);\n const reset = () => {\n items.value.splice(0, items.value.length);\n };\n app.provide(breadcrumbPluginKey, { items, reset });\n }\n};\nexport {\n breadcrumbPlugin\n};\n//# sourceMappingURL=index.mjs.map\n","import { inject, ref, computed, shallowRef, watchEffect, getCurrentInstance as getCurrentInstance$1, provide } from \"vue\";\nimport { d as defaultsKey } from \"./keys-D3gOZjD-.mjs\";\nfunction injectSelf(key, vm = getCurrentInstance(\"injectSelf\")) {\n const { provides } = vm;\n if (provides && key in provides) {\n return provides[key];\n }\n return void 0;\n}\nfunction getCurrentInstance(name, message) {\n const vm = getCurrentInstance$1();\n if (!vm) {\n throw new Error(`[Bvn] ${name} ${\"must be called from inside a setup function\"}`);\n }\n return vm;\n}\nconst toKebabCase = (str = \"\") => str.replace(/[^a-z]/gi, \"-\").replace(/\\B([A-Z])/g, \"-$1\").toLowerCase();\nconst isObject = (obj) => obj !== null && typeof obj === \"object\" && !Array.isArray(obj);\nfunction mergeDeep(source = {}, target = {}, arrayFn) {\n const out = {};\n for (const key in source) {\n out[key] = source[key];\n }\n for (const key in target) {\n const sourceProperty = source[key];\n const targetProperty = target[key];\n if (isObject(sourceProperty) && isObject(targetProperty)) {\n out[key] = mergeDeep(sourceProperty, targetProperty);\n continue;\n }\n out[key] = targetProperty;\n }\n return out;\n}\nconst propIsDefined = (vnode, prop) => {\n var _a, _b;\n return typeof ((_a = vnode.props) == null ? void 0 : _a[prop]) !== \"undefined\" || typeof ((_b = vnode.props) == null ? void 0 : _b[toKebabCase(prop)]) !== \"undefined\";\n};\nfunction internalUseDefaults(props = {}, name) {\n const defaults = inject(defaultsKey, ref({}));\n const vm = getCurrentInstance(\"useDefaults\");\n name = name ?? vm.type.name ?? vm.type.__name;\n if (!name) {\n throw new Error(\"[Bvn] Could not determine component name\");\n }\n const componentDefaults = computed(() => {\n var _a;\n return (_a = defaults.value) == null ? void 0 : _a[props._as ?? name];\n });\n const _props = new Proxy(props, {\n get(target, prop) {\n var _a, _b, _c, _d;\n const propValue = Reflect.get(target, prop);\n if (prop === \"class\" || prop === \"style\") {\n return [(_a = componentDefaults.value) == null ? void 0 : _a[prop], propValue].filter((v) => v != null);\n } else if (typeof prop === \"string\" && !propIsDefined(vm.vnode, prop)) {\n return ((_b = componentDefaults.value) == null ? void 0 : _b[prop]) ?? ((_d = (_c = defaults.value) == null ? void 0 : _c.global) == null ? void 0 : _d[prop]) ?? propValue;\n }\n return propValue;\n }\n });\n const _subcomponentDefaults = shallowRef();\n watchEffect(() => {\n if (componentDefaults.value) {\n const subComponents = Object.entries(componentDefaults.value).filter(\n ([key]) => key.startsWith(key[0].toUpperCase())\n );\n _subcomponentDefaults.value = subComponents.length ? Object.fromEntries(subComponents) : void 0;\n } else {\n _subcomponentDefaults.value = void 0;\n }\n });\n function provideSubDefaults() {\n const injected = injectSelf(defaultsKey, vm);\n provide(\n defaultsKey,\n computed(\n () => _subcomponentDefaults.value ? mergeDeep((injected == null ? void 0 : injected.value) ?? {}, _subcomponentDefaults.value) : injected == null ? void 0 : injected.value\n )\n );\n }\n return { props: _props, provideSubDefaults };\n}\nfunction useDefaults(props, name) {\n const { props: _props, provideSubDefaults } = internalUseDefaults(props, name);\n provideSubDefaults();\n return _props;\n}\nexport {\n useDefaults as u\n};\n//# sourceMappingURL=useDefaults-DANje4tM.mjs.map\n","import { computed, toValue } from \"vue\";\nimport { R as RX_NUMBER } from \"./constants-COk0ugyL.mjs\";\nconst useNumberishToStyle = (el, unit = \"px\") => computed(() => {\n const value = toValue(el);\n const resolvedUnit = toValue(unit);\n return RX_NUMBER.test(String(value)) ? `${Number(value)}${resolvedUnit}` : value;\n});\nexport {\n useNumberishToStyle as u\n};\n//# sourceMappingURL=useNumberishToStyle-yYj2DkI2.mjs.map\n","import { computed, toValue } from \"vue\";\nconst useAlignment = (align) => computed(() => {\n const value = toValue(align);\n return !value ? \"\" : `justify-content-${value}`;\n});\nexport {\n useAlignment as u\n};\n//# sourceMappingURL=useAlignment-Cw-9AVid.mjs.map\n","import { defineComponent, createElementBlock, openBlock, unref, renderSlot, computed, toValue } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { g as get } from \"./object-BWoyyA2y.mjs\";\nconst _hoisted_1 = [\"value\", \"disabled\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormSelectOption\",\n props: {\n disabled: { type: Boolean, default: false },\n value: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormSelectOption\");\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"option\", {\n value: unref(props).value,\n disabled: unref(props).disabled\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 8, _hoisted_1);\n };\n }\n});\nconst useFormSelect = (options, props) => {\n const isComplex = (option) => typeof option === \"object\" && option !== null && \"label\" in option;\n const normalizeOption = (option) => {\n const propsValue = toValue(props);\n if (typeof option === \"string\") {\n return { value: option, text: option };\n }\n if (typeof option === \"number\") {\n return { value: option, text: `${option}` };\n }\n if (option instanceof Date) {\n return { value: option, text: option.toLocaleString() };\n }\n const value = get(option, propsValue.valueField);\n const text = get(option, propsValue.textField);\n const disabled = get(option, propsValue.disabledField);\n const opts = propsValue.optionsField ? get(option, propsValue.optionsField) : void 0;\n if (opts !== void 0) {\n return {\n label: get(option, propsValue.labelField) || text,\n options: opts\n };\n }\n return {\n ...typeof option === \"object\" ? option : void 0,\n value,\n text,\n disabled\n };\n };\n const normalizeOptions = (opts) => opts.map((option) => normalizeOption(option));\n const normalizedOptions = computed(() => normalizeOptions(toValue(options)));\n return { normalizedOptions, isComplex };\n};\nexport {\n _sfc_main as _,\n useFormSelect as u\n};\n//# sourceMappingURL=useFormSelect-BrGF20vO.mjs.map\n","import { computed, toValue } from \"vue\";\nconst useFadeTransition = (fade) => computed(() => {\n const NO_FADE_PROPS = {\n name: \"\",\n enterActiveClass: \"\",\n enterToClass: \"\",\n leaveActiveClass: \"\",\n leaveToClass: \"showing\",\n enterFromClass: \"showing\",\n leaveFromClass: \"\"\n };\n const FADE_PROPS = {\n ...NO_FADE_PROPS,\n enterActiveClass: \"fade showing\",\n leaveActiveClass: \"fade showing\"\n };\n return toValue(fade) ? FADE_PROPS : NO_FADE_PROPS;\n});\nexport {\n useFadeTransition as u\n};\n//# sourceMappingURL=useTransitions-BJccF5e-.mjs.map\n","function findProvides(binding, vnode) {\n var _a, _b;\n const provides = (vnode.ctx === binding.instance.$ ? (_a = findComponentParent(vnode, binding.instance.$)) == null ? void 0 : _a.provides : (_b = vnode.ctx) == null ? void 0 : _b.provides) ?? binding.instance.$.provides;\n return provides;\n}\nfunction findComponentParent(vnode, root) {\n const stack = /* @__PURE__ */ new Set();\n const walk = (children) => {\n var _a, _b;\n for (const child of children) {\n if (!child) continue;\n if (child === vnode || child.el && vnode.el && child.el === vnode.el) {\n return true;\n }\n stack.add(child);\n let result2;\n if (child.suspense) {\n result2 = walk([child.ssContent]);\n } else if (Array.isArray(child.children)) {\n result2 = walk(child.children);\n } else if ((_a = child.component) == null ? void 0 : _a.vnode) {\n result2 = walk([(_b = child.component) == null ? void 0 : _b.subTree]);\n }\n if (result2) {\n return result2;\n }\n stack.delete(child);\n }\n return false;\n };\n if (!walk([root.subTree])) {\n console.error(\"Could not find original vnode, will not inherit provides\");\n return root;\n }\n const result = Array.from(stack).reverse();\n for (const child of result) {\n if (child.component) {\n return child.component;\n }\n }\n return root;\n}\nexport {\n findProvides as f\n};\n//# sourceMappingURL=utils-DPq73bs8.mjs.map\n","import { computed, toValue } from \"vue\";\nconst useAriaInvalid = (ariaInvalid, state) => computed(() => {\n const resolvedAriaInvalid = toValue(ariaInvalid);\n const resolvedState = toValue(state);\n const resolvedAriaInvalidValue = resolvedAriaInvalid === true ? \"true\" : typeof resolvedAriaInvalid === \"string\" ? resolvedAriaInvalid : resolvedState === false ? \"true\" : resolvedAriaInvalid === false ? \"false\" : void 0;\n return resolvedAriaInvalidValue;\n});\nexport {\n useAriaInvalid as u\n};\n//# sourceMappingURL=useAriaInvalid-BTUbGj3Y.mjs.map\n","import { reactive, readonly, computed } from \"vue\";\nimport { g as globalShowHideStorageInjectionKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst showHidePlugin = {\n install(app) {\n const values = reactive({});\n const fun = ({ id, value, toggle, show, hide }) => {\n values[id] = computed(() => ({ value: value.value, toggle, show, hide }));\n return {\n unregister() {\n delete values[id];\n }\n };\n };\n fun.map = readonly(values);\n app.provide(globalShowHideStorageInjectionKey, fun);\n }\n};\nexport {\n showHidePlugin\n};\n//# sourceMappingURL=index.mjs.map\n","import { breadcrumbPlugin } from \"../breadcrumb/index.mjs\";\nimport { bootstrapPlugin } from \"../bootstrap/index.mjs\";\nimport { modalControllerPlugin } from \"../modalController/index.mjs\";\nimport { modalManagerPlugin } from \"../modalManager/index.mjs\";\nimport { popoverPlugin } from \"../popoverController/index.mjs\";\nimport { rtlPlugin } from \"../rtl/index.mjs\";\nimport { toastPlugin } from \"../toastController/index.mjs\";\nimport { showHidePlugin } from \"../showHide/index.mjs\";\nconst createBootstrap = (pluginData = {}) => ({\n install(app) {\n if (pluginData.breadcrumb ?? true) {\n app.use(breadcrumbPlugin);\n }\n if (pluginData.modalController ?? true) {\n app.use(modalControllerPlugin);\n }\n if (pluginData.modalManager ?? true) {\n app.use(modalManagerPlugin);\n }\n if ((pluginData.rtl ?? true) || typeof pluginData.rtl === \"object\") {\n app.use(rtlPlugin, pluginData);\n }\n if (pluginData.toast ?? true) {\n app.use(toastPlugin);\n }\n if (pluginData.popover ?? true) {\n app.use(popoverPlugin);\n }\n app.use(showHidePlugin);\n app.use(bootstrapPlugin, pluginData);\n }\n});\nexport {\n createBootstrap\n};\n//# sourceMappingURL=index.mjs.map\n","import { inject } from \"vue\";\nimport { u as useSharedModalStack } from \"../../../useModalManager-tL74pLur.mjs\";\nimport { m as modalControllerPluginKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst useModalController = () => {\n const { lastStack, stack } = useSharedModalStack();\n const modalControllerPlugin = inject(modalControllerPluginKey);\n const hide = (trigger = \"\") => {\n var _a;\n if (lastStack == null ? void 0 : lastStack.value) {\n (_a = lastStack == null ? void 0 : lastStack.value.exposed) == null ? void 0 : _a.hide(trigger);\n }\n };\n const hideAll = (trigger = \"\") => {\n stack == null ? void 0 : stack.value.forEach((modal) => {\n var _a;\n (_a = modal.exposed) == null ? void 0 : _a.hide(trigger);\n });\n };\n return {\n ...modalControllerPlugin,\n hide,\n hideAll\n // Todo: Supports listening events globally in the future\n };\n};\nexport {\n useModalController\n};\n//# sourceMappingURL=index.mjs.map\n","import { ref, computed, readonly } from \"vue\";\nimport { a as modalManagerPluginKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst modalManagerPlugin = {\n install(app) {\n const stack = ref(/* @__PURE__ */ new Map());\n const countStack = computed(() => stack.value.size);\n const valuesStack = computed(() => [...stack.value.values()]);\n const lastStack = computed(() => valuesStack.value[valuesStack.value.length - 1]);\n const pushStack = (modal) => {\n stack.value.set(modal.uid, modal);\n };\n const removeStack = (modal) => {\n stack.value.delete(modal.uid);\n };\n const registry = ref(/* @__PURE__ */ new Map());\n const pushRegistry = (modal) => {\n registry.value.set(modal.uid, modal);\n };\n const removeRegistry = (modal) => {\n registry.value.delete(modal.uid);\n };\n app.provide(modalManagerPluginKey, {\n countStack,\n lastStack,\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n registry: readonly(registry),\n stack: valuesStack,\n pushStack,\n removeStack,\n pushRegistry,\n removeRegistry\n });\n }\n};\nexport {\n modalManagerPlugin\n};\n//# sourceMappingURL=index.mjs.map\n","import { computed, toValue, readonly, toRef } from \"vue\";\nimport { u as useAriaInvalid } from \"./useAriaInvalid-BTUbGj3Y.mjs\";\nimport { u as useStateClass } from \"./useStateClass-BGbSLWFN.mjs\";\nconst getClasses = (items) => computed(() => {\n const resolvedItems = toValue(items);\n return {\n \"form-check\": resolvedItems.plain === false && resolvedItems.button === false && resolvedItems.hasDefaultSlot,\n \"form-check-reverse\": resolvedItems.reverse === true,\n \"form-check-inline\": resolvedItems.inline === true,\n \"form-switch\": resolvedItems.switch === true,\n [`form-control-${resolvedItems.size}`]: resolvedItems.size !== void 0 && resolvedItems.size !== \"md\" && resolvedItems.button === false\n };\n});\nconst getInputClasses = (items) => {\n const resolvedItems = readonly(toRef(items));\n const stateClass = useStateClass(() => resolvedItems.value.state ?? null);\n return computed(() => [\n stateClass.value,\n {\n \"form-check-input\": resolvedItems.value.plain === false && resolvedItems.value.button === false,\n \"btn-check\": resolvedItems.value.button === true\n }\n ]);\n};\nconst getLabelClasses = (items) => computed(() => {\n const resolvedItems = toValue(items);\n return {\n \"form-check-label\": resolvedItems.plain === false && resolvedItems.button === false,\n \"btn\": resolvedItems.button === true,\n [`btn-${resolvedItems.buttonVariant}`]: resolvedItems.button === true && resolvedItems.buttonVariant !== void 0 && resolvedItems.buttonVariant !== null,\n [`btn-${resolvedItems.size}`]: resolvedItems.button && resolvedItems.size && resolvedItems.size !== \"md\"\n };\n});\nconst getGroupAttr = (items) => {\n const resolvedItems = readonly(toRef(items));\n const computedAriaInvalid = useAriaInvalid(\n () => resolvedItems.value.ariaInvalid,\n () => resolvedItems.value.state\n );\n return computed(() => ({\n \"aria-invalid\": computedAriaInvalid.value,\n \"aria-required\": resolvedItems.value.required === true ? true : void 0\n }));\n};\nconst getGroupClasses = (items) => computed(() => {\n const resolvedItems = toValue(items);\n return {\n \"was-validated\": resolvedItems.validated === true,\n \"btn-group\": resolvedItems.buttons === true && resolvedItems.stacked === false,\n \"btn-group-vertical\": resolvedItems.stacked === true && resolvedItems.buttons === true,\n [`btn-group-${resolvedItems.size}`]: resolvedItems.size !== void 0\n };\n});\nexport {\n getInputClasses as a,\n getLabelClasses as b,\n getGroupAttr as c,\n getGroupClasses as d,\n getClasses as g\n};\n//# sourceMappingURL=useFormCheck-Bcx8Ea7M.mjs.map\n","import { b as useIntersectionObserver, c as useMutationObserver } from \"../../../index-cC189kCW.mjs\";\nimport { toRef, ref, watch, getCurrentInstance, nextTick, onMounted, computed, readonly } from \"vue\";\nimport { g as getElement } from \"../../../getElement-D_JPfLJS.mjs\";\nimport { s as syncRef } from \"../../../index-CLgoGrAV.mjs\";\nconst useScrollspy = (content, target, options = {}) => {\n const cont = toRef(content);\n const tar = toRef(target);\n const resolvedContent = ref(getElement(cont.value));\n const resolvedTarget = ref(getElement(tar.value));\n watch([cont, tar], () => {\n updateList();\n });\n const {\n contentQuery = \":scope > [id]\",\n targetQuery = \"[href]\",\n manual = false,\n root,\n rootMargin = \"0px 0px -25%\",\n threshold = [0.1, 0.5, 1],\n watchChanges = true\n } = options;\n const current = ref(null);\n const list = ref([]);\n const nodeList = ref([]);\n const ctx = getCurrentInstance();\n if (!ctx) {\n nextTick(() => {\n updateList();\n });\n } else {\n onMounted(() => {\n syncRef(cont, resolvedContent, {\n transform: {\n ltr: (v) => getElement(v)\n },\n direction: \"ltr\",\n immediate: true\n });\n syncRef(tar, resolvedTarget, {\n transform: {\n ltr: (v) => getElement(v)\n },\n direction: \"ltr\",\n immediate: true\n });\n updateList();\n });\n }\n const updateList = () => {\n nodeList.value = resolvedContent.value ? Array.from(resolvedContent.value.querySelectorAll(contentQuery)) : [];\n list.value = nodeList.value.map((el) => ({\n id: el.id,\n el,\n visible: false,\n text: el.textContent\n }));\n };\n let isScrollingDown = true;\n let previousScrollTop = 0;\n const scrollRoot = computed(\n () => resolvedContent.value && getComputedStyle(resolvedContent.value).overflowY === \"visible\" ? null : resolvedContent.value\n );\n const iobs = useIntersectionObserver(\n nodeList,\n (entries) => {\n var _a, _b, _c, _d;\n const scrollTop = (_a = scrollRoot.value || (document == null ? void 0 : document.documentElement)) == null ? void 0 : _a.scrollTop;\n isScrollingDown = scrollTop > previousScrollTop;\n previousScrollTop = scrollTop;\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n list.value.forEach((node) => {\n if (node.el === entry.target) {\n node.visible = true;\n }\n });\n return;\n }\n list.value.forEach((node) => {\n if (node.el === entry.target) {\n node.visible = false;\n }\n });\n });\n let newId = null;\n if (isScrollingDown) {\n newId = ((_b = [...list.value].reverse().find((node) => node.visible)) == null ? void 0 : _b.id) || null;\n } else {\n newId = ((_c = list.value.find((node) => node.visible)) == null ? void 0 : _c.id) || null;\n }\n if (newId !== null) {\n current.value = newId;\n }\n if (!current.value) {\n current.value = ((_d = list.value[0]) == null ? void 0 : _d.id) || null;\n }\n },\n {\n root: root ? getElement(root) : scrollRoot,\n rootMargin,\n threshold\n }\n );\n watch(current, (newId) => {\n var _a;\n if (manual) return;\n const nodes = (_a = resolvedTarget.value) == null ? void 0 : _a.querySelectorAll(targetQuery);\n if (nodes === void 0) return;\n let foundParent = false;\n let activeElement = null;\n nodes.forEach((node) => {\n var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;\n const parentDropdown = node.closest(\".dropdown\");\n if ((_a2 = node.getAttribute(\"href\")) == null ? void 0 : _a2.includes(`#${newId}`)) {\n activeElement = node;\n node.classList.add(\"active\");\n if (parentDropdown) {\n (_b = parentDropdown == null ? void 0 : parentDropdown.querySelector(\".dropdown-toggle\")) == null ? void 0 : _b.classList.add(\"active\");\n foundParent = true;\n }\n let parentNav = (_c = node.closest(\".nav\")) == null ? void 0 : _c.previousSibling;\n while ((_d = parentNav == null ? void 0 : parentNav.classList) == null ? void 0 : _d.contains(\"nav-item\")) {\n foundParent = true;\n (_e = parentNav.querySelector(\".nav-link\")) == null ? void 0 : _e.classList.add(\"active\");\n parentNav = (_f = parentNav.closest(\".nav\")) == null ? void 0 : _f.previousSibling;\n }\n } else {\n node.classList.remove(\"active\");\n if (parentDropdown && !foundParent) {\n (_g = parentDropdown == null ? void 0 : parentDropdown.querySelector(\".dropdown-toggle\")) == null ? void 0 : _g.classList.remove(\"active\");\n }\n if (!foundParent) {\n let parentNav = (_h = node.closest(\".nav\")) == null ? void 0 : _h.previousSibling;\n while ((_i = parentNav == null ? void 0 : parentNav.classList) == null ? void 0 : _i.contains(\"nav-item\")) {\n foundParent = true;\n if (parentNav.querySelector(\".nav-link\") !== activeElement) {\n (_j = parentNav.querySelector(\".nav-link\")) == null ? void 0 : _j.classList.remove(\"active\");\n }\n parentNav = (_k = parentNav.closest(\".nav\")) == null ? void 0 : _k.previousSibling;\n }\n }\n }\n });\n });\n const mobs = !watchChanges ? { stop: () => {\n } } : useMutationObserver(\n resolvedContent,\n () => {\n updateList();\n },\n {\n childList: true\n }\n );\n const scrollIntoView = (event, smooth = false) => {\n var _a, _b;\n event.preventDefault();\n const href = (_b = (_a = event.target) == null ? void 0 : _a.getAttribute) == null ? void 0 : _b.call(_a, \"href\");\n const el = href ? document == null ? void 0 : document.querySelector(href) : null;\n if (el && resolvedContent.value) {\n if (resolvedContent.value.scrollTo) {\n resolvedContent.value.scrollTo({ top: el.offsetTop, behavior: smooth ? \"smooth\" : \"auto\" });\n } else {\n resolvedContent.value.scrollTop = el.offsetTop;\n }\n }\n };\n const cleanup = () => {\n iobs.stop();\n mobs.stop();\n };\n return {\n current: readonly(current),\n list,\n content: resolvedContent,\n target: resolvedTarget,\n scrollIntoView,\n updateList,\n cleanup\n };\n};\nexport {\n useScrollspy\n};\n//# sourceMappingURL=index.mjs.map\n","import { ref, toRef, markRaw, watch } from \"vue\";\nimport { m as modalControllerPluginKey } from \"../../../keys-D3gOZjD-.mjs\";\nconst modalControllerPlugin = {\n install(app) {\n const modals = ref(/* @__PURE__ */ new Map());\n const buildPromise = () => {\n let resolveFunc = () => {\n };\n const promise = new Promise((resolve) => {\n resolveFunc = resolve;\n });\n return {\n value: promise,\n resolve: resolveFunc\n };\n };\n const buildPrereqs = (id) => [buildPromise(), id || Symbol(\"Modals controller\"), true];\n const show = (obj = {}) => {\n var _a;\n const resolvedProps = toRef(obj.props);\n const [_promise, _self, _modelValue] = buildPrereqs((_a = resolvedProps.value) == null ? void 0 : _a.id);\n modals.value.set(_self, {\n component: !obj.component ? void 0 : markRaw(obj.component),\n props: { ...resolvedProps.value, _isConfirm: false, _promise, _modelValue }\n });\n watch(resolvedProps, (newValue) => {\n const previous = modals.value.get(_self);\n if (!previous) return;\n modals.value.set(_self, {\n component: !obj.component ? void 0 : markRaw(obj.component),\n props: { ...previous.props, ...newValue }\n });\n });\n return _promise.value;\n };\n const confirm = (obj = {}) => {\n var _a;\n const resolvedProps = toRef(obj.props);\n const [_promise, _self, _modelValue] = buildPrereqs((_a = resolvedProps.value) == null ? void 0 : _a.id);\n modals.value.set(_self, {\n component: !obj.component ? void 0 : markRaw(obj.component),\n props: { ...resolvedProps.value, _isConfirm: true, _promise, _modelValue }\n });\n watch(resolvedProps, (newValue) => {\n const previous = modals.value.get(_self);\n if (!previous) return;\n modals.value.set(_self, {\n component: !obj.component ? void 0 : markRaw(obj.component),\n props: { ...previous.props, ...newValue }\n });\n });\n return _promise.value;\n };\n const leave = (self) => {\n const modal = modals.value.get(self);\n if (!(modal == null ? void 0 : modal.props)) return;\n modal.props = {\n ...modal.props,\n _modelValue: false\n };\n };\n const remove = (self) => {\n modals.value.delete(self);\n };\n app.provide(modalControllerPluginKey, {\n modals,\n remove,\n show,\n confirm,\n leave\n });\n }\n};\nexport {\n modalControllerPlugin\n};\n//# sourceMappingURL=index.mjs.map\n","import { a as useColorMode$1 } from \"../../../index-cC189kCW.mjs\";\nconst useColorMode = (opts = {}) => {\n const persist = opts.persist ?? false;\n const attribute = \"data-bs-theme\";\n const selector = \"body\";\n return useColorMode$1({\n attribute,\n selector,\n storageKey: persist === true ? `bv-color-${opts.attribute ?? attribute}-${opts.selector ?? selector}` : null,\n ...opts\n });\n};\nexport {\n useColorMode\n};\n//# sourceMappingURL=index.mjs.map\n","import \"vue\";\nimport { u as unbind, r as resolveActiveStatus, a as resolveContent, b as bind, c as resolveDirectiveProps } from \"../../../floatingUi-DvHiyg2I.mjs\";\nimport { d as defaultsKey } from \"../../../keys-D3gOZjD-.mjs\";\nimport { f as findProvides } from \"../../../utils-DPq73bs8.mjs\";\nconst vBPopover = {\n mounted(el, binding, vnode) {\n var _a;\n const defaults = (_a = findProvides(binding, vnode)[defaultsKey]) == null ? void 0 : _a.value;\n const isActive = resolveActiveStatus(binding.value);\n if (!isActive) return;\n const text = resolveContent(binding.value, el);\n if (!text.content && !text.title) return;\n el.$__binding = JSON.stringify([binding.modifiers, binding.value]);\n bind(el, binding, {\n ...defaults[\"BPopover\"] || void 0,\n ...resolveDirectiveProps(binding, el),\n ...text\n });\n },\n updated(el, binding, vnode) {\n var _a;\n const defaults = (_a = findProvides(binding, vnode)[defaultsKey]) == null ? void 0 : _a.value;\n const isActive = resolveActiveStatus(binding.value);\n if (!isActive) return;\n const text = resolveContent(binding.value, el);\n if (!text.content && !text.title) return;\n delete binding.oldValue;\n if (el.$__binding === JSON.stringify([binding.modifiers, binding.value])) return;\n unbind(el);\n bind(el, binding, {\n ...defaults[\"BPopover\"] || void 0,\n ...resolveDirectiveProps(binding, el),\n ...text\n });\n el.$__binding = JSON.stringify([binding.modifiers, binding.value]);\n },\n beforeUnmount(el) {\n unbind(el);\n }\n};\nexport {\n vBPopover\n};\n//# sourceMappingURL=index.mjs.map\n","import { shallowRef, computed, toValue, watch, readonly, toRef, ref, onMounted, nextTick, useId, onUnmounted } from \"vue\";\nimport { e as unrefElement, c as useMutationObserver, n as useScrollLock$1 } from \"./index-cC189kCW.mjs\";\nimport { b as toArray, c as notNullish, d as tryOnScopeDispose, v as createSharedComposable } from \"./index-CLgoGrAV.mjs\";\n/*!\n* tabbable 6.2.0\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\nvar candidateSelectors = [\"input:not([inert])\", \"select:not([inert])\", \"textarea:not([inert])\", \"a[href]:not([inert])\", \"button:not([inert])\", \"[tabindex]:not(slot):not([inert])\", \"audio[controls]:not([inert])\", \"video[controls]:not([inert])\", '[contenteditable]:not([contenteditable=\"false\"]):not([inert])', \"details>summary:first-of-type:not([inert])\", \"details:not([inert])\"];\nvar candidateSelector = /* @__PURE__ */ candidateSelectors.join(\",\");\nvar NoElement = typeof Element === \"undefined\";\nvar matches = NoElement ? function() {\n} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function(element) {\n var _element$getRootNode;\n return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);\n} : function(element) {\n return element === null || element === void 0 ? void 0 : element.ownerDocument;\n};\nvar isInert = function isInert2(node, lookUp) {\n var _node$getAttribute;\n if (lookUp === void 0) {\n lookUp = true;\n }\n var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, \"inert\");\n var inert = inertAtt === \"\" || inertAtt === \"true\";\n var result = inert || lookUp && node && isInert2(node.parentNode);\n return result;\n};\nvar isContentEditable = function isContentEditable2(node) {\n var _node$getAttribute2;\n var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, \"contenteditable\");\n return attValue === \"\" || attValue === \"true\";\n};\nvar getCandidates = function getCandidates2(el, includeContainer, filter) {\n if (isInert(el)) {\n return [];\n }\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n candidates = candidates.filter(filter);\n return candidates;\n};\nvar getCandidatesIteratively = function getCandidatesIteratively2(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n if (isInert(element, false)) {\n continue;\n }\n if (element.tagName === \"SLOT\") {\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = getCandidatesIteratively2(content, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: nestedCandidates\n });\n }\n } else {\n var validCandidate = matches.call(element, candidateSelector);\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n }\n var shadowRoot = element.shadowRoot || // check for an undisclosed shadow\n typeof options.getShadowRoot === \"function\" && options.getShadowRoot(element);\n var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));\n if (shadowRoot && validShadowRoot) {\n var _nestedCandidates = getCandidatesIteratively2(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n return candidates;\n};\nvar hasTabIndex = function hasTabIndex2(node) {\n return !isNaN(parseInt(node.getAttribute(\"tabindex\"), 10));\n};\nvar getTabIndex = function getTabIndex2(node) {\n if (!node) {\n throw new Error(\"No node provided\");\n }\n if (node.tabIndex < 0) {\n if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {\n return 0;\n }\n }\n return node.tabIndex;\n};\nvar getSortOrderTabIndex = function getSortOrderTabIndex2(node, isScope) {\n var tabIndex = getTabIndex(node);\n if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n return 0;\n }\n return tabIndex;\n};\nvar sortOrderedTabbables = function sortOrderedTabbables2(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\nvar isInput = function isInput2(node) {\n return node.tagName === \"INPUT\";\n};\nvar isHiddenInput = function isHiddenInput2(node) {\n return isInput(node) && node.type === \"hidden\";\n};\nvar isDetailsWithSummary = function isDetailsWithSummary2(node) {\n var r = node.tagName === \"DETAILS\" && Array.prototype.slice.apply(node.children).some(function(child) {\n return child.tagName === \"SUMMARY\";\n });\n return r;\n};\nvar getCheckedRadio = function getCheckedRadio2(nodes, form) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\nvar isTabbableRadio = function isTabbableRadio2(node) {\n if (!node.name) {\n return true;\n }\n var radioScope = node.form || getRootNode(node);\n var queryRadios = function queryRadios2(name) {\n return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n };\n var radioSet;\n if (typeof window !== \"undefined\" && typeof window.CSS !== \"undefined\" && typeof window.CSS.escape === \"function\") {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n console.error(\"Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s\", err.message);\n return false;\n }\n }\n var checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\nvar isRadio = function isRadio2(node) {\n return isInput(node) && node.type === \"radio\";\n};\nvar isNonTabbableRadio = function isNonTabbableRadio2(node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\nvar isNodeAttached = function isNodeAttached2(node) {\n var _nodeRoot;\n var nodeRoot = node && getRootNode(node);\n var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;\n var attached = false;\n if (nodeRoot && nodeRoot !== node) {\n var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;\n attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));\n while (!attached && nodeRootHost) {\n var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;\n nodeRoot = getRootNode(nodeRootHost);\n nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;\n attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));\n }\n }\n return attached;\n};\nvar isZeroArea = function isZeroArea2(node) {\n var _node$getBoundingClie = node.getBoundingClientRect(), width = _node$getBoundingClie.width, height = _node$getBoundingClie.height;\n return width === 0 && height === 0;\n};\nvar isHidden = function isHidden2(node, _ref) {\n var displayCheck = _ref.displayCheck, getShadowRoot = _ref.getShadowRoot;\n if (getComputedStyle(node).visibility === \"hidden\") {\n return true;\n }\n var isDirectSummary = matches.call(node, \"details>summary:first-of-type\");\n var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n if (matches.call(nodeUnderDetails, \"details:not([open]) *\")) {\n return true;\n }\n if (!displayCheck || displayCheck === \"full\" || displayCheck === \"legacy-full\") {\n if (typeof getShadowRoot === \"function\") {\n var originalNode = node;\n while (node) {\n var parentElement = node.parentElement;\n var rootNode = getRootNode(node);\n if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true) {\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n node = rootNode.host;\n } else {\n node = parentElement;\n }\n }\n node = originalNode;\n }\n if (isNodeAttached(node)) {\n return !node.getClientRects().length;\n }\n if (displayCheck !== \"legacy-full\") {\n return true;\n }\n } else if (displayCheck === \"non-zero-area\") {\n return isZeroArea(node);\n }\n return false;\n};\nvar isDisabledFromFieldset = function isDisabledFromFieldset2(node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n var parentNode = node.parentElement;\n while (parentNode) {\n if (parentNode.tagName === \"FIELDSET\" && parentNode.disabled) {\n for (var i = 0; i < parentNode.children.length; i++) {\n var child = parentNode.children.item(i);\n if (child.tagName === \"LEGEND\") {\n return matches.call(parentNode, \"fieldset[disabled] *\") ? true : !child.contains(node);\n }\n }\n return true;\n }\n parentNode = parentNode.parentElement;\n }\n }\n return false;\n};\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable2(options, node) {\n if (node.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor\n // because we're limited in the type of selectors we can use in JSDom (see related\n // note related to `candidateSelectors`)\n isInert(node) || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n return false;\n }\n return true;\n};\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable2(options, node) {\n if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n return false;\n }\n return true;\n};\nvar isValidShadowRootTabbable = function isValidShadowRootTabbable2(shadowHostNode) {\n var tabIndex = parseInt(shadowHostNode.getAttribute(\"tabindex\"), 10);\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n }\n return false;\n};\nvar sortByOrder = function sortByOrder2(candidates) {\n var regularTabbables = [];\n var orderedTabbables = [];\n candidates.forEach(function(item, i) {\n var isScope = !!item.scopeParent;\n var element = isScope ? item.scopeParent : item;\n var candidateTabindex = getSortOrderTabIndex(element, isScope);\n var elements = isScope ? sortByOrder2(item.candidates) : element;\n if (candidateTabindex === 0) {\n isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item,\n isScope,\n content: elements\n });\n }\n });\n return orderedTabbables.sort(sortOrderedTabbables).reduce(function(acc, sortable) {\n sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n return acc;\n }, []).concat(regularTabbables);\n};\nvar tabbable = function tabbable2(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isValidShadowRootTabbable\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n }\n return sortByOrder(candidates);\n};\nvar focusable = function focusable2(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));\n }\n return candidates;\n};\nvar isTabbable = function isTabbable2(node, options) {\n options = options || {};\n if (!node) {\n throw new Error(\"No node provided\");\n }\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorTabbable(options, node);\n};\nvar focusableCandidateSelector = /* @__PURE__ */ candidateSelectors.concat(\"iframe\").join(\",\");\nvar isFocusable = function isFocusable2(node, options) {\n options = options || {};\n if (!node) {\n throw new Error(\"No node provided\");\n }\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorFocusable(options, node);\n};\n/*!\n* focus-trap 7.6.4\n* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE\n*/\nfunction _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nfunction _arrayWithoutHoles(r) {\n if (Array.isArray(r)) return _arrayLikeToArray(r);\n}\nfunction _defineProperty(e, r, t) {\n return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: true,\n configurable: true,\n writable: true\n }) : e[r] = t, e;\n}\nfunction _iterableToArray(r) {\n if (\"undefined\" != typeof Symbol && null != r[Symbol.iterator] || null != r[\"@@iterator\"]) return Array.from(r);\n}\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function(r2) {\n return Object.getOwnPropertyDescriptor(e, r2).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {\n _defineProperty(e, r2, t[r2]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {\n Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));\n });\n }\n return e;\n}\nfunction _toConsumableArray(r) {\n return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();\n}\nfunction _toPrimitive(t, r) {\n if (\"object\" != typeof t || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r);\n if (\"object\" != typeof i) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction _toPropertyKey(t) {\n var i = _toPrimitive(t, \"string\");\n return \"symbol\" == typeof i ? i : i + \"\";\n}\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return _arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;\n }\n}\nvar activeFocusTraps = {\n activateTrap: function activateTrap(trapStack, trap) {\n if (trapStack.length > 0) {\n var activeTrap = trapStack[trapStack.length - 1];\n if (activeTrap !== trap) {\n activeTrap._setPausedState(true);\n }\n }\n var trapIndex = trapStack.indexOf(trap);\n if (trapIndex === -1) {\n trapStack.push(trap);\n } else {\n trapStack.splice(trapIndex, 1);\n trapStack.push(trap);\n }\n },\n deactivateTrap: function deactivateTrap(trapStack, trap) {\n var trapIndex = trapStack.indexOf(trap);\n if (trapIndex !== -1) {\n trapStack.splice(trapIndex, 1);\n }\n if (trapStack.length > 0 && !trapStack[trapStack.length - 1]._isManuallyPaused()) {\n trapStack[trapStack.length - 1]._setPausedState(false);\n }\n }\n};\nvar isSelectableInput = function isSelectableInput2(node) {\n return node.tagName && node.tagName.toLowerCase() === \"input\" && typeof node.select === \"function\";\n};\nvar isEscapeEvent = function isEscapeEvent2(e) {\n return (e === null || e === void 0 ? void 0 : e.key) === \"Escape\" || (e === null || e === void 0 ? void 0 : e.key) === \"Esc\" || (e === null || e === void 0 ? void 0 : e.keyCode) === 27;\n};\nvar isTabEvent = function isTabEvent2(e) {\n return (e === null || e === void 0 ? void 0 : e.key) === \"Tab\" || (e === null || e === void 0 ? void 0 : e.keyCode) === 9;\n};\nvar isKeyForward = function isKeyForward2(e) {\n return isTabEvent(e) && !e.shiftKey;\n};\nvar isKeyBackward = function isKeyBackward2(e) {\n return isTabEvent(e) && e.shiftKey;\n};\nvar delay = function delay2(fn) {\n return setTimeout(fn, 0);\n};\nvar valueOrHandler = function valueOrHandler2(value) {\n for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n params[_key - 1] = arguments[_key];\n }\n return typeof value === \"function\" ? value.apply(void 0, params) : value;\n};\nvar getActualTarget = function getActualTarget2(event) {\n return event.target.shadowRoot && typeof event.composedPath === \"function\" ? event.composedPath()[0] : event.target;\n};\nvar internalTrapStack = [];\nvar createFocusTrap = function createFocusTrap2(elements, userOptions) {\n var doc = (userOptions === null || userOptions === void 0 ? void 0 : userOptions.document) || document;\n var trapStack = (userOptions === null || userOptions === void 0 ? void 0 : userOptions.trapStack) || internalTrapStack;\n var config = _objectSpread2({\n returnFocusOnDeactivate: true,\n escapeDeactivates: true,\n delayInitialFocus: true,\n isKeyForward,\n isKeyBackward\n }, userOptions);\n var state = {\n // containers given to createFocusTrap()\n // @type {Array}\n containers: [],\n // list of objects identifying tabbable nodes in `containers` in the trap\n // NOTE: it's possible that a group has no tabbable nodes if nodes get removed while the trap\n // is active, but the trap should never get to a state where there isn't at least one group\n // with at least one tabbable node in it (that would lead to an error condition that would\n // result in an error being thrown)\n // @type {Array<{\n // container: HTMLElement,\n // tabbableNodes: Array, // empty if none\n // focusableNodes: Array, // empty if none\n // posTabIndexesFound: boolean,\n // firstTabbableNode: HTMLElement|undefined,\n // lastTabbableNode: HTMLElement|undefined,\n // firstDomTabbableNode: HTMLElement|undefined,\n // lastDomTabbableNode: HTMLElement|undefined,\n // nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined\n // }>}\n containerGroups: [],\n // same order/length as `containers` list\n // references to objects in `containerGroups`, but only those that actually have\n // tabbable nodes in them\n // NOTE: same order as `containers` and `containerGroups`, but __not necessarily__\n // the same length\n tabbableGroups: [],\n nodeFocusedBeforeActivation: null,\n mostRecentlyFocusedNode: null,\n active: false,\n paused: false,\n manuallyPaused: false,\n // timer ID for when delayInitialFocus is true and initial focus in this trap\n // has been delayed during activation\n delayInitialFocusTimer: void 0,\n // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any\n recentNavEvent: void 0\n };\n var trap;\n var getOption = function getOption2(configOverrideOptions, optionName, configOptionName) {\n return configOverrideOptions && configOverrideOptions[optionName] !== void 0 ? configOverrideOptions[optionName] : config[configOptionName || optionName];\n };\n var findContainerIndex = function findContainerIndex2(element, event) {\n var composedPath = typeof (event === null || event === void 0 ? void 0 : event.composedPath) === \"function\" ? event.composedPath() : void 0;\n return state.containerGroups.findIndex(function(_ref) {\n var container = _ref.container, tabbableNodes = _ref.tabbableNodes;\n return container.contains(element) || // fall back to explicit tabbable search which will take into consideration any\n // web components if the `tabbableOptions.getShadowRoot` option was used for\n // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't\n // look inside web components even if open)\n (composedPath === null || composedPath === void 0 ? void 0 : composedPath.includes(container)) || tabbableNodes.find(function(node) {\n return node === element;\n });\n });\n };\n var getNodeForOption = function getNodeForOption2(optionName) {\n var _ref2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ref2$hasFallback = _ref2.hasFallback, hasFallback = _ref2$hasFallback === void 0 ? false : _ref2$hasFallback, _ref2$params = _ref2.params, params = _ref2$params === void 0 ? [] : _ref2$params;\n var optionValue = config[optionName];\n if (typeof optionValue === \"function\") {\n optionValue = optionValue.apply(void 0, _toConsumableArray(params));\n }\n if (optionValue === true) {\n optionValue = void 0;\n }\n if (!optionValue) {\n if (optionValue === void 0 || optionValue === false) {\n return optionValue;\n }\n throw new Error(\"`\".concat(optionName, \"` was specified but was not a node, or did not return a node\"));\n }\n var node = optionValue;\n if (typeof optionValue === \"string\") {\n try {\n node = doc.querySelector(optionValue);\n } catch (err) {\n throw new Error(\"`\".concat(optionName, '` appears to be an invalid selector; error=\"').concat(err.message, '\"'));\n }\n if (!node) {\n if (!hasFallback) {\n throw new Error(\"`\".concat(optionName, \"` as selector refers to no known node\"));\n }\n }\n }\n return node;\n };\n var getInitialFocusNode = function getInitialFocusNode2() {\n var node = getNodeForOption(\"initialFocus\", {\n hasFallback: true\n });\n if (node === false) {\n return false;\n }\n if (node === void 0 || node && !isFocusable(node, config.tabbableOptions)) {\n if (findContainerIndex(doc.activeElement) >= 0) {\n node = doc.activeElement;\n } else {\n var firstTabbableGroup = state.tabbableGroups[0];\n var firstTabbableNode = firstTabbableGroup && firstTabbableGroup.firstTabbableNode;\n node = firstTabbableNode || getNodeForOption(\"fallbackFocus\");\n }\n } else if (node === null) {\n node = getNodeForOption(\"fallbackFocus\");\n }\n if (!node) {\n throw new Error(\"Your focus-trap needs to have at least one focusable element\");\n }\n return node;\n };\n var updateTabbableNodes = function updateTabbableNodes2() {\n state.containerGroups = state.containers.map(function(container) {\n var tabbableNodes = tabbable(container, config.tabbableOptions);\n var focusableNodes = focusable(container, config.tabbableOptions);\n var firstTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[0] : void 0;\n var lastTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[tabbableNodes.length - 1] : void 0;\n var firstDomTabbableNode = focusableNodes.find(function(node) {\n return isTabbable(node);\n });\n var lastDomTabbableNode = focusableNodes.slice().reverse().find(function(node) {\n return isTabbable(node);\n });\n var posTabIndexesFound = !!tabbableNodes.find(function(node) {\n return getTabIndex(node) > 0;\n });\n return {\n container,\n tabbableNodes,\n focusableNodes,\n /** True if at least one node with positive `tabindex` was found in this container. */\n posTabIndexesFound,\n /** First tabbable node in container, __tabindex__ order; `undefined` if none. */\n firstTabbableNode,\n /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */\n lastTabbableNode,\n // NOTE: DOM order is NOT NECESSARILY \"document position\" order, but figuring that out\n // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition\n // because that API doesn't work with Shadow DOM as well as it should (@see\n // https://github.com/whatwg/dom/issues/320) and since this first/last is only needed, so far,\n // to address an edge case related to positive tabindex support, this seems like a much easier,\n // \"close enough most of the time\" alternative for positive tabindexes which should generally\n // be avoided anyway...\n /** First tabbable node in container, __DOM__ order; `undefined` if none. */\n firstDomTabbableNode,\n /** Last tabbable node in container, __DOM__ order; `undefined` if none. */\n lastDomTabbableNode,\n /**\n * Finds the __tabbable__ node that follows the given node in the specified direction,\n * in this container, if any.\n * @param {HTMLElement} node\n * @param {boolean} [forward] True if going in forward tab order; false if going\n * in reverse.\n * @returns {HTMLElement|undefined} The next tabbable node, if any.\n */\n nextTabbableNode: function nextTabbableNode(node) {\n var forward = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;\n var nodeIdx = tabbableNodes.indexOf(node);\n if (nodeIdx < 0) {\n if (forward) {\n return focusableNodes.slice(focusableNodes.indexOf(node) + 1).find(function(el) {\n return isTabbable(el);\n });\n }\n return focusableNodes.slice(0, focusableNodes.indexOf(node)).reverse().find(function(el) {\n return isTabbable(el);\n });\n }\n return tabbableNodes[nodeIdx + (forward ? 1 : -1)];\n }\n };\n });\n state.tabbableGroups = state.containerGroups.filter(function(group) {\n return group.tabbableNodes.length > 0;\n });\n if (state.tabbableGroups.length <= 0 && !getNodeForOption(\"fallbackFocus\")) {\n throw new Error(\"Your focus-trap must have at least one container with at least one tabbable node in it at all times\");\n }\n if (state.containerGroups.find(function(g) {\n return g.posTabIndexesFound;\n }) && state.containerGroups.length > 1) {\n throw new Error(\"At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.\");\n }\n };\n var _getActiveElement = function getActiveElement(el) {\n var activeElement = el.activeElement;\n if (!activeElement) {\n return;\n }\n if (activeElement.shadowRoot && activeElement.shadowRoot.activeElement !== null) {\n return _getActiveElement(activeElement.shadowRoot);\n }\n return activeElement;\n };\n var _tryFocus = function tryFocus(node) {\n if (node === false) {\n return;\n }\n if (node === _getActiveElement(document)) {\n return;\n }\n if (!node || !node.focus) {\n _tryFocus(getInitialFocusNode());\n return;\n }\n node.focus({\n preventScroll: !!config.preventScroll\n });\n state.mostRecentlyFocusedNode = node;\n if (isSelectableInput(node)) {\n node.select();\n }\n };\n var getReturnFocusNode = function getReturnFocusNode2(previousActiveElement) {\n var node = getNodeForOption(\"setReturnFocus\", {\n params: [previousActiveElement]\n });\n return node ? node : node === false ? false : previousActiveElement;\n };\n var findNextNavNode = function findNextNavNode2(_ref3) {\n var target = _ref3.target, event = _ref3.event, _ref3$isBackward = _ref3.isBackward, isBackward = _ref3$isBackward === void 0 ? false : _ref3$isBackward;\n target = target || getActualTarget(event);\n updateTabbableNodes();\n var destinationNode = null;\n if (state.tabbableGroups.length > 0) {\n var containerIndex = findContainerIndex(target, event);\n var containerGroup = containerIndex >= 0 ? state.containerGroups[containerIndex] : void 0;\n if (containerIndex < 0) {\n if (isBackward) {\n destinationNode = state.tabbableGroups[state.tabbableGroups.length - 1].lastTabbableNode;\n } else {\n destinationNode = state.tabbableGroups[0].firstTabbableNode;\n }\n } else if (isBackward) {\n var startOfGroupIndex = state.tabbableGroups.findIndex(function(_ref4) {\n var firstTabbableNode = _ref4.firstTabbableNode;\n return target === firstTabbableNode;\n });\n if (startOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target, false))) {\n startOfGroupIndex = containerIndex;\n }\n if (startOfGroupIndex >= 0) {\n var destinationGroupIndex = startOfGroupIndex === 0 ? state.tabbableGroups.length - 1 : startOfGroupIndex - 1;\n var destinationGroup = state.tabbableGroups[destinationGroupIndex];\n destinationNode = getTabIndex(target) >= 0 ? destinationGroup.lastTabbableNode : destinationGroup.lastDomTabbableNode;\n } else if (!isTabEvent(event)) {\n destinationNode = containerGroup.nextTabbableNode(target, false);\n }\n } else {\n var lastOfGroupIndex = state.tabbableGroups.findIndex(function(_ref5) {\n var lastTabbableNode = _ref5.lastTabbableNode;\n return target === lastTabbableNode;\n });\n if (lastOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target))) {\n lastOfGroupIndex = containerIndex;\n }\n if (lastOfGroupIndex >= 0) {\n var _destinationGroupIndex = lastOfGroupIndex === state.tabbableGroups.length - 1 ? 0 : lastOfGroupIndex + 1;\n var _destinationGroup = state.tabbableGroups[_destinationGroupIndex];\n destinationNode = getTabIndex(target) >= 0 ? _destinationGroup.firstTabbableNode : _destinationGroup.firstDomTabbableNode;\n } else if (!isTabEvent(event)) {\n destinationNode = containerGroup.nextTabbableNode(target);\n }\n }\n } else {\n destinationNode = getNodeForOption(\"fallbackFocus\");\n }\n return destinationNode;\n };\n var checkPointerDown = function checkPointerDown2(e) {\n var target = getActualTarget(e);\n if (findContainerIndex(target, e) >= 0) {\n return;\n }\n if (valueOrHandler(config.clickOutsideDeactivates, e)) {\n trap.deactivate({\n // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,\n // which will result in the outside click setting focus to the node\n // that was clicked (and if not focusable, to \"nothing\"); by setting\n // `returnFocus: true`, we'll attempt to re-focus the node originally-focused\n // on activation (or the configured `setReturnFocus` node), whether the\n // outside click was on a focusable node or not\n returnFocus: config.returnFocusOnDeactivate\n });\n return;\n }\n if (valueOrHandler(config.allowOutsideClick, e)) {\n return;\n }\n e.preventDefault();\n };\n var checkFocusIn = function checkFocusIn2(event) {\n var target = getActualTarget(event);\n var targetContained = findContainerIndex(target, event) >= 0;\n if (targetContained || target instanceof Document) {\n if (targetContained) {\n state.mostRecentlyFocusedNode = target;\n }\n } else {\n event.stopImmediatePropagation();\n var nextNode;\n var navAcrossContainers = true;\n if (state.mostRecentlyFocusedNode) {\n if (getTabIndex(state.mostRecentlyFocusedNode) > 0) {\n var mruContainerIdx = findContainerIndex(state.mostRecentlyFocusedNode);\n var tabbableNodes = state.containerGroups[mruContainerIdx].tabbableNodes;\n if (tabbableNodes.length > 0) {\n var mruTabIdx = tabbableNodes.findIndex(function(node) {\n return node === state.mostRecentlyFocusedNode;\n });\n if (mruTabIdx >= 0) {\n if (config.isKeyForward(state.recentNavEvent)) {\n if (mruTabIdx + 1 < tabbableNodes.length) {\n nextNode = tabbableNodes[mruTabIdx + 1];\n navAcrossContainers = false;\n }\n } else {\n if (mruTabIdx - 1 >= 0) {\n nextNode = tabbableNodes[mruTabIdx - 1];\n navAcrossContainers = false;\n }\n }\n }\n }\n } else {\n if (!state.containerGroups.some(function(g) {\n return g.tabbableNodes.some(function(n) {\n return getTabIndex(n) > 0;\n });\n })) {\n navAcrossContainers = false;\n }\n }\n } else {\n navAcrossContainers = false;\n }\n if (navAcrossContainers) {\n nextNode = findNextNavNode({\n // move FROM the MRU node, not event-related node (which will be the node that is\n // outside the trap causing the focus escape we're trying to fix)\n target: state.mostRecentlyFocusedNode,\n isBackward: config.isKeyBackward(state.recentNavEvent)\n });\n }\n if (nextNode) {\n _tryFocus(nextNode);\n } else {\n _tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());\n }\n }\n state.recentNavEvent = void 0;\n };\n var checkKeyNav = function checkKeyNav2(event) {\n var isBackward = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;\n state.recentNavEvent = event;\n var destinationNode = findNextNavNode({\n event,\n isBackward\n });\n if (destinationNode) {\n if (isTabEvent(event)) {\n event.preventDefault();\n }\n _tryFocus(destinationNode);\n }\n };\n var checkTabKey = function checkTabKey2(event) {\n if (config.isKeyForward(event) || config.isKeyBackward(event)) {\n checkKeyNav(event, config.isKeyBackward(event));\n }\n };\n var checkEscapeKey = function checkEscapeKey2(event) {\n if (isEscapeEvent(event) && valueOrHandler(config.escapeDeactivates, event) !== false) {\n event.preventDefault();\n trap.deactivate();\n }\n };\n var checkClick = function checkClick2(e) {\n var target = getActualTarget(e);\n if (findContainerIndex(target, e) >= 0) {\n return;\n }\n if (valueOrHandler(config.clickOutsideDeactivates, e)) {\n return;\n }\n if (valueOrHandler(config.allowOutsideClick, e)) {\n return;\n }\n e.preventDefault();\n e.stopImmediatePropagation();\n };\n var addListeners = function addListeners2() {\n if (!state.active) {\n return;\n }\n activeFocusTraps.activateTrap(trapStack, trap);\n state.delayInitialFocusTimer = config.delayInitialFocus ? delay(function() {\n _tryFocus(getInitialFocusNode());\n }) : _tryFocus(getInitialFocusNode());\n doc.addEventListener(\"focusin\", checkFocusIn, true);\n doc.addEventListener(\"mousedown\", checkPointerDown, {\n capture: true,\n passive: false\n });\n doc.addEventListener(\"touchstart\", checkPointerDown, {\n capture: true,\n passive: false\n });\n doc.addEventListener(\"click\", checkClick, {\n capture: true,\n passive: false\n });\n doc.addEventListener(\"keydown\", checkTabKey, {\n capture: true,\n passive: false\n });\n doc.addEventListener(\"keydown\", checkEscapeKey);\n return trap;\n };\n var removeListeners = function removeListeners2() {\n if (!state.active) {\n return;\n }\n doc.removeEventListener(\"focusin\", checkFocusIn, true);\n doc.removeEventListener(\"mousedown\", checkPointerDown, true);\n doc.removeEventListener(\"touchstart\", checkPointerDown, true);\n doc.removeEventListener(\"click\", checkClick, true);\n doc.removeEventListener(\"keydown\", checkTabKey, true);\n doc.removeEventListener(\"keydown\", checkEscapeKey);\n return trap;\n };\n var checkDomRemoval = function checkDomRemoval2(mutations) {\n var isFocusedNodeRemoved = mutations.some(function(mutation) {\n var removedNodes = Array.from(mutation.removedNodes);\n return removedNodes.some(function(node) {\n return node === state.mostRecentlyFocusedNode;\n });\n });\n if (isFocusedNodeRemoved) {\n _tryFocus(getInitialFocusNode());\n }\n };\n var mutationObserver = typeof window !== \"undefined\" && \"MutationObserver\" in window ? new MutationObserver(checkDomRemoval) : void 0;\n var updateObservedNodes = function updateObservedNodes2() {\n if (!mutationObserver) {\n return;\n }\n mutationObserver.disconnect();\n if (state.active && !state.paused) {\n state.containers.map(function(container) {\n mutationObserver.observe(container, {\n subtree: true,\n childList: true\n });\n });\n }\n };\n trap = {\n get active() {\n return state.active;\n },\n get paused() {\n return state.paused;\n },\n activate: function activate(activateOptions) {\n if (state.active) {\n return this;\n }\n var onActivate = getOption(activateOptions, \"onActivate\");\n var onPostActivate = getOption(activateOptions, \"onPostActivate\");\n var checkCanFocusTrap = getOption(activateOptions, \"checkCanFocusTrap\");\n if (!checkCanFocusTrap) {\n updateTabbableNodes();\n }\n state.active = true;\n state.paused = false;\n state.nodeFocusedBeforeActivation = doc.activeElement;\n onActivate === null || onActivate === void 0 || onActivate();\n var finishActivation = function finishActivation2() {\n if (checkCanFocusTrap) {\n updateTabbableNodes();\n }\n addListeners();\n updateObservedNodes();\n onPostActivate === null || onPostActivate === void 0 || onPostActivate();\n };\n if (checkCanFocusTrap) {\n checkCanFocusTrap(state.containers.concat()).then(finishActivation, finishActivation);\n return this;\n }\n finishActivation();\n return this;\n },\n deactivate: function deactivate(deactivateOptions) {\n if (!state.active) {\n return this;\n }\n var options = _objectSpread2({\n onDeactivate: config.onDeactivate,\n onPostDeactivate: config.onPostDeactivate,\n checkCanReturnFocus: config.checkCanReturnFocus\n }, deactivateOptions);\n clearTimeout(state.delayInitialFocusTimer);\n state.delayInitialFocusTimer = void 0;\n removeListeners();\n state.active = false;\n state.paused = false;\n updateObservedNodes();\n activeFocusTraps.deactivateTrap(trapStack, trap);\n var onDeactivate = getOption(options, \"onDeactivate\");\n var onPostDeactivate = getOption(options, \"onPostDeactivate\");\n var checkCanReturnFocus = getOption(options, \"checkCanReturnFocus\");\n var returnFocus = getOption(options, \"returnFocus\", \"returnFocusOnDeactivate\");\n onDeactivate === null || onDeactivate === void 0 || onDeactivate();\n var finishDeactivation = function finishDeactivation2() {\n delay(function() {\n if (returnFocus) {\n _tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));\n }\n onPostDeactivate === null || onPostDeactivate === void 0 || onPostDeactivate();\n });\n };\n if (returnFocus && checkCanReturnFocus) {\n checkCanReturnFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation)).then(finishDeactivation, finishDeactivation);\n return this;\n }\n finishDeactivation();\n return this;\n },\n pause: function pause(pauseOptions) {\n if (!state.active) {\n return this;\n }\n state.manuallyPaused = true;\n return this._setPausedState(true, pauseOptions);\n },\n unpause: function unpause(unpauseOptions) {\n if (!state.active) {\n return this;\n }\n state.manuallyPaused = false;\n if (trapStack[trapStack.length - 1] !== this) {\n return this;\n }\n return this._setPausedState(false, unpauseOptions);\n },\n updateContainerElements: function updateContainerElements(containerElements) {\n var elementsAsArray = [].concat(containerElements).filter(Boolean);\n state.containers = elementsAsArray.map(function(element) {\n return typeof element === \"string\" ? doc.querySelector(element) : element;\n });\n if (state.active) {\n updateTabbableNodes();\n }\n updateObservedNodes();\n return this;\n }\n };\n Object.defineProperties(trap, {\n _isManuallyPaused: {\n value: function value() {\n return state.manuallyPaused;\n }\n },\n _setPausedState: {\n value: function value(paused, options) {\n if (state.paused === paused) {\n return this;\n }\n state.paused = paused;\n if (paused) {\n var onPause = getOption(options, \"onPause\");\n var onPostPause = getOption(options, \"onPostPause\");\n onPause === null || onPause === void 0 || onPause();\n removeListeners();\n updateObservedNodes();\n onPostPause === null || onPostPause === void 0 || onPostPause();\n } else {\n var onUnpause = getOption(options, \"onUnpause\");\n var onPostUnpause = getOption(options, \"onPostUnpause\");\n onUnpause === null || onUnpause === void 0 || onUnpause();\n updateTabbableNodes();\n addListeners();\n updateObservedNodes();\n onPostUnpause === null || onPostUnpause === void 0 || onPostUnpause();\n }\n return this;\n }\n }\n });\n trap.updateContainerElements(elements);\n return trap;\n};\nfunction useFocusTrap(target, options = {}) {\n let trap;\n const { immediate, ...focusTrapOptions } = options;\n const hasFocus = shallowRef(false);\n const isPaused = shallowRef(false);\n const activate = (opts) => trap && trap.activate(opts);\n const deactivate = (opts) => trap && trap.deactivate(opts);\n const pause = () => {\n if (trap) {\n trap.pause();\n isPaused.value = true;\n }\n };\n const unpause = () => {\n if (trap) {\n trap.unpause();\n isPaused.value = false;\n }\n };\n const targets = computed(() => {\n const _targets = toValue(target);\n return toArray(_targets).map((el) => {\n const _el = toValue(el);\n return typeof _el === \"string\" ? _el : unrefElement(_el);\n }).filter(notNullish);\n });\n watch(\n targets,\n (els) => {\n if (!els.length)\n return;\n trap = createFocusTrap(els, {\n ...focusTrapOptions,\n onActivate() {\n hasFocus.value = true;\n if (options.onActivate)\n options.onActivate();\n },\n onDeactivate() {\n hasFocus.value = false;\n if (options.onDeactivate)\n options.onDeactivate();\n }\n });\n if (immediate)\n activate();\n },\n { flush: \"post\" }\n );\n tryOnScopeDispose(() => deactivate());\n return {\n hasFocus,\n isPaused,\n activate,\n deactivate,\n pause,\n unpause\n };\n}\nconst useActivatedFocusTrap = ({\n element,\n isActive,\n noTrap,\n fallbackFocus\n}, focusTrapOpts = {\n allowOutsideClick: true,\n fallbackFocus: fallbackFocus.ref.value ?? void 0,\n escapeDeactivates: false\n}) => {\n const resolvedIsActive = readonly(toRef(isActive));\n const resolvedNoTrap = readonly(toRef(noTrap));\n const checkNeedsFallback = () => {\n var _a;\n const tabbableElements = (_a = element.value) == null ? void 0 : _a.querySelectorAll(\n `a, button, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]):not(.${fallbackFocus.classSelector})`\n );\n return !(tabbableElements == null ? void 0 : tabbableElements.length);\n };\n const needsFallback = ref(false);\n onMounted(() => {\n needsFallback.value = checkNeedsFallback();\n useMutationObserver(\n element,\n () => {\n needsFallback.value = checkNeedsFallback();\n },\n { childList: true, subtree: true }\n );\n });\n const trap = useFocusTrap(element, focusTrapOpts);\n watch(resolvedIsActive, async (newValue) => {\n await nextTick();\n if (newValue && resolvedNoTrap.value === false) {\n trap.activate();\n } else {\n trap.deactivate();\n }\n });\n watch(resolvedNoTrap, (newValue) => {\n if (newValue === true) {\n trap.deactivate();\n }\n });\n return {\n needsFallback: readonly(needsFallback)\n };\n};\nconst useScrollLock = createSharedComposable(useScrollLock$1);\nlet prevousRightPadding = \"\";\nconst lockRegistry = /* @__PURE__ */ new Map();\nconst useSafeScrollLock = (isOpen, bodyScroll) => {\n const resolvedIsOpen = readonly(toRef(isOpen));\n const id = useId();\n const inverseBodyScrollingValue = computed(() => !toValue(bodyScroll));\n const isLocked = useScrollLock(\n typeof document !== \"undefined\" ? document.body : null,\n resolvedIsOpen.value && inverseBodyScrollingValue.value\n );\n onMounted(() => {\n if (typeof document === \"undefined\") return;\n lockRegistry.set(id, false);\n watch(\n [resolvedIsOpen, inverseBodyScrollingValue],\n ([modelVal, bodyVal]) => {\n const scrollBarGap = window.innerWidth - document.documentElement.clientWidth;\n const hasLocked = Array.from(lockRegistry.values()).some((val) => val === true);\n const myLocked = modelVal && bodyVal;\n lockRegistry.set(id, myLocked);\n if (myLocked && !hasLocked && !isLocked.value) {\n isLocked.value = true;\n if (scrollBarGap > 0) {\n prevousRightPadding = document.body.style.paddingRight;\n document.body.style.paddingRight = `${scrollBarGap + prevousRightPadding}px`;\n }\n }\n const hasLockedAfter = Array.from(lockRegistry.values()).some((val) => val === true);\n if (hasLocked && !hasLockedAfter) {\n lockRegistry.set(id, false);\n isLocked.value = false;\n document.body.style.paddingRight = prevousRightPadding;\n }\n },\n { immediate: true }\n );\n });\n onUnmounted(() => {\n lockRegistry.delete(id);\n const hasLockedAfter = Array.from(lockRegistry.values()).some((val) => val === true);\n if (!hasLockedAfter) {\n document.body.style.paddingRight = prevousRightPadding;\n isLocked.value = false;\n }\n });\n};\nexport {\n useActivatedFocusTrap as a,\n useSafeScrollLock as u\n};\n//# sourceMappingURL=useSafeScrollLock-iJTRWqXi.mjs.map\n","import { computed, toValue } from \"vue\";\nconst useStateClass = (value) => computed(() => {\n const resolvedValue = toValue(value);\n return resolvedValue === true ? \"is-valid\" : resolvedValue === false ? \"is-invalid\" : null;\n});\nexport {\n useStateClass as u\n};\n//# sourceMappingURL=useStateClass-BGbSLWFN.mjs.map\n","import \"vue\";\nimport { useScrollspy } from \"../../composables/useScrollspy/index.mjs\";\nimport { o as omit } from \"../../../object-BWoyyA2y.mjs\";\nconst bind = (el, binding) => {\n if (el.$__scrollspy) el.$__scrollspy.cleanup();\n const { arg, value } = binding;\n const isObject = typeof value === \"object\" && value !== null;\n const content = arg ? arg : typeof value === \"string\" ? value : isObject ? value.content || value.element : null;\n el.$__scrollspy = useScrollspy(content, el, isObject ? omit(value, [\"content\", \"element\"]) : {});\n};\nconst vBScrollspy = {\n mounted: bind,\n updated: bind,\n beforeUnmount(el) {\n if (el.$__scrollspy) el.$__scrollspy.cleanup();\n }\n};\nexport {\n vBScrollspy\n};\n//# sourceMappingURL=index.mjs.map\n","import { d as RX_SPACES, e as RX_REGEXP_REPLACE, f as RX_UNDERSCORE, g as RX_LOWER_UPPER, h as RX_FIRST_START_SPACE_WORD, i as RX_START_SPACE_WORD } from \"./constants-COk0ugyL.mjs\";\nconst startCase = (str) => str.replace(RX_UNDERSCORE, \" \").replace(RX_LOWER_UPPER, (_, $1, $2) => `${$1} ${$2}`).replace(RX_FIRST_START_SPACE_WORD, (_, $1, $2) => $1 + $2.toUpperCase());\nconst titleCase = (str) => str.replace(RX_UNDERSCORE, \" \").replace(RX_LOWER_UPPER, (_, $1, $2) => `${$1} ${$2}`).replace(RX_START_SPACE_WORD, (_, $1, $2) => $1 + $2.toUpperCase());\nconst upperFirst = (str) => {\n const trim = str.trim();\n return trim.charAt(0).toUpperCase() + trim.slice(1);\n};\nconst escapeRegExp = (str) => str.replace(RX_REGEXP_REPLACE, \"\\\\$&\");\nconst escapeRegExpChars = (str) => escapeRegExp(str).replace(RX_SPACES, \"\\\\s\");\nconst toPascalCase = (str) => str.replace(/-./g, (match) => match.charAt(1).toUpperCase()).replace(/\\b\\w/g, (match) => match.toUpperCase()).replace(/\\s+/g, \"\");\nexport {\n titleCase as a,\n escapeRegExpChars as e,\n startCase as s,\n toPascalCase as t,\n upperFirst as u\n};\n//# sourceMappingURL=stringUtils-mwxHpj6j.mjs.map\n","import { ref, watch, computed, onMounted, nextTick, inject, readonly, onBeforeUnmount } from \"vue\";\nimport { g as globalShowHideStorageInjectionKey } from \"./keys-D3gOZjD-.mjs\";\nimport { a as BvTriggerableEvent } from \"./classes-IC0yVJlq.mjs\";\nimport { d as useEventListener } from \"./index-cC189kCW.mjs\";\nimport { q as useThrottleFn } from \"./index-CLgoGrAV.mjs\";\nconst fadeBaseTransitionProps = {\n name: \"fade\",\n enterActiveClass: \"\",\n enterFromClass: \"showing\",\n enterToClass: \"\",\n leaveActiveClass: \"\",\n leaveFromClass: \"\",\n leaveToClass: \"showing\",\n css: true\n};\nconst useShowHide = (modelValue, props, emit, element, computedId, options = {\n transitionProps: {},\n showFn: () => {\n },\n hideFn: () => {\n }\n}) => {\n var _a;\n let noAction = false;\n const initialShow = !!modelValue.value && !props.initialAnimation || props.visible || false;\n const showRef = ref(initialShow);\n const renderRef = ref(initialShow);\n const renderBackdropRef = ref(initialShow);\n let isCountdown = typeof modelValue.value !== \"boolean\";\n watch(modelValue, () => {\n isCountdown = typeof modelValue.value !== \"boolean\";\n if (noAction) {\n noAction = false;\n return;\n }\n if (modelValue.value) {\n show();\n } else {\n hide();\n }\n });\n const localNoAnimation = ref(initialShow);\n const localTemporaryHide = ref(false);\n const computedNoAnimation = computed(\n () => props.noAnimation || props.noFade || localNoAnimation.value || false\n );\n onMounted(() => {\n var _a2;\n if (!props.show && initialShow) {\n const event = buildTriggerableEvent(\"show\", { cancelable: true });\n emit(\"show\", event);\n if (event.defaultPrevented) {\n emit(\"show-prevented\", buildTriggerableEvent(\"show-prevented\"));\n return;\n }\n localNoAnimation.value = true;\n if (!modelValue.value) {\n noAction = true;\n modelValue.value = true;\n }\n renderRef.value = true;\n renderBackdropRef.value = true;\n isVisible.value = true;\n backdropVisible.value = true;\n backdropReady.value = true;\n showRef.value = true;\n (_a2 = options.showFn) == null ? void 0 : _a2.call(options);\n } else if (props.show || !!modelValue.value && props.initialAnimation) {\n show();\n }\n });\n watch(\n () => props.visible,\n (newval) => {\n localNoAnimation.value = true;\n nextTick(() => {\n if (newval) isVisible.value = true;\n if (newval) {\n show();\n } else {\n hide();\n }\n });\n }\n );\n watch(\n () => props.show,\n (newval) => {\n if (newval) {\n show();\n } else {\n hide();\n }\n }\n );\n useEventListener(element, \"bv-toggle\", () => {\n modelValue.value = !modelValue.value;\n });\n const buildTriggerableEvent = (type, opts = {}) => new BvTriggerableEvent(type, {\n cancelable: false,\n target: (element == null ? void 0 : element.value) || null,\n relatedTarget: null,\n trigger: null,\n ...opts,\n componentId: computedId == null ? void 0 : computedId.value\n });\n let showTimeout;\n const show = () => {\n if (showRef.value) return;\n const event = buildTriggerableEvent(\"show\", { cancelable: true });\n emit(\"show\", event);\n if (event.defaultPrevented) {\n emit(\"show-prevented\", buildTriggerableEvent(\"show-prevented\"));\n if (isVisible.value) {\n isVisible.value = false;\n }\n if (modelValue.value && !isCountdown) {\n noAction = true;\n nextTick(() => {\n modelValue.value = false;\n });\n }\n return;\n }\n renderRef.value = true;\n renderBackdropRef.value = true;\n requestAnimationFrame(() => {\n var _a2;\n showTimeout = setTimeout(\n () => {\n var _a3;\n showRef.value = true;\n (_a3 = options.showFn) == null ? void 0 : _a3.call(options);\n if (!modelValue.value) {\n noAction = true;\n nextTick(() => {\n modelValue.value = true;\n });\n }\n },\n localNoAnimation.value ? 0 : typeof props.delay === \"number\" ? props.delay : ((_a2 = props.delay) == null ? void 0 : _a2.show) || 0\n );\n });\n };\n const hide = (trigger) => {\n var _a2;\n if (!showRef.value) return;\n const event = buildTriggerableEvent(\"hide\", { cancelable: true, trigger });\n const event2 = buildTriggerableEvent(trigger || \"ignore\", { cancelable: true, trigger });\n if (trigger === \"backdrop\" && props.noCloseOnBackdrop || trigger === \"esc\" && props.noCloseOnEsc) {\n emit(\"hide-prevented\", buildTriggerableEvent(\"hide-prevented\"));\n return;\n }\n if (showTimeout) {\n clearTimeout(showTimeout);\n showTimeout = void 0;\n }\n if (trigger) {\n emit(trigger, event2);\n }\n emit(\"hide\", event);\n if (event.defaultPrevented || event2.defaultPrevented) {\n emit(\"hide-prevented\", buildTriggerableEvent(\"hide-prevented\"));\n if (!modelValue.value) {\n nextTick(() => {\n noAction = true;\n modelValue.value = true;\n });\n }\n return;\n }\n setTimeout(\n () => {\n var _a3;\n isLeaving.value = true;\n showRef.value = false;\n (_a3 = options.hideFn) == null ? void 0 : _a3.call(options);\n if (modelValue.value) {\n noAction = true;\n modelValue.value = isCountdown ? 0 : false;\n }\n },\n localNoAnimation.value ? 0 : typeof props.delay === \"number\" ? props.delay : ((_a2 = props.delay) == null ? void 0 : _a2.hide) || 0\n );\n };\n const throttleHide = useThrottleFn((a) => hide(a), 500);\n const throttleShow = useThrottleFn(() => show(), 500);\n const toggle = () => {\n const e = buildTriggerableEvent(\"toggle\", { cancelable: true });\n emit(\"toggle\", e);\n if (e.defaultPrevented) {\n emit(\"toggle-prevented\", buildTriggerableEvent(\"toggle-prevented\"));\n return;\n }\n if (showRef.value) {\n hide();\n } else {\n show();\n }\n };\n const appRegistry = (_a = inject(\n globalShowHideStorageInjectionKey,\n void 0\n )) == null ? void 0 : _a({\n id: computedId.value,\n toggle,\n show,\n hide,\n value: readonly(showRef)\n });\n onBeforeUnmount(() => {\n appRegistry == null ? void 0 : appRegistry.unregister();\n });\n const lazyLoadCompleted = ref(false);\n const markLazyLoadCompleted = () => {\n if (props.lazy === true) lazyLoadCompleted.value = true;\n };\n const isLeaving = ref(false);\n const isActive = ref(initialShow);\n const isVisible = ref(initialShow);\n const onBeforeEnter = (el) => {\n var _a2, _b, _c, _d;\n (_b = (_a2 = options.transitionProps) == null ? void 0 : _a2.onBeforeEnter) == null ? void 0 : _b.call(_a2, el);\n (_d = (_c = props.transitionProps) == null ? void 0 : _c.onBeforeEnter) == null ? void 0 : _d.call(_c, el);\n isActive.value = true;\n };\n const onEnter = (el) => {\n var _a2, _b, _c, _d;\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n isVisible.value = true;\n });\n });\n (_b = (_a2 = options.transitionProps) == null ? void 0 : _a2.onEnter) == null ? void 0 : _b.call(_a2, el);\n (_d = (_c = props.transitionProps) == null ? void 0 : _c.onEnter) == null ? void 0 : _d.call(_c, el);\n };\n const onAfterEnter = (el) => {\n var _a2, _b, _c, _d;\n emit(\"shown\", buildTriggerableEvent(\"shown\"));\n markLazyLoadCompleted();\n (_b = (_a2 = options.transitionProps) == null ? void 0 : _a2.onAfterEnter) == null ? void 0 : _b.call(_a2, el);\n (_d = (_c = props.transitionProps) == null ? void 0 : _c.onAfterEnter) == null ? void 0 : _d.call(_c, el);\n if (localNoAnimation.value) {\n requestAnimationFrame(() => {\n localNoAnimation.value = false;\n });\n }\n if (localTemporaryHide.value) {\n localTemporaryHide.value = false;\n }\n };\n const onBeforeLeave = (el) => {\n var _a2, _b, _c, _d;\n if (!isLeaving.value) isLeaving.value = true;\n (_b = (_a2 = options.transitionProps) == null ? void 0 : _a2.onBeforeLeave) == null ? void 0 : _b.call(_a2, el);\n (_d = (_c = props.transitionProps) == null ? void 0 : _c.onBeforeLeave) == null ? void 0 : _d.call(_c, el);\n };\n const onLeave = (el) => {\n var _a2, _b, _c, _d;\n isVisible.value = false;\n (_b = (_a2 = options.transitionProps) == null ? void 0 : _a2.onLeave) == null ? void 0 : _b.call(_a2, el);\n (_d = (_c = props.transitionProps) == null ? void 0 : _c.onLeave) == null ? void 0 : _d.call(_c, el);\n };\n const onAfterLeave = (el) => {\n var _a2, _b, _c, _d;\n emit(\"hidden\", buildTriggerableEvent(\"hidden\"));\n (_b = (_a2 = options.transitionProps) == null ? void 0 : _a2.onAfterLeave) == null ? void 0 : _b.call(_a2, el);\n (_d = (_c = props.transitionProps) == null ? void 0 : _c.onAfterLeave) == null ? void 0 : _d.call(_c, el);\n isLeaving.value = false;\n isActive.value = false;\n if (localNoAnimation.value) {\n requestAnimationFrame(() => {\n localNoAnimation.value = false;\n });\n }\n requestAnimationFrame(() => {\n if (!localTemporaryHide.value) renderRef.value = false;\n });\n };\n const contentShowing = computed(\n () => localTemporaryHide.value === true || isActive.value === true || props.lazy === false || props.lazy === true && lazyLoadCompleted.value === true && props.unmountLazy === false\n );\n const trapActive = ref(false);\n watch(isVisible, (val) => {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n setTimeout(() => {\n trapActive.value = val;\n }, 32);\n });\n });\n });\n });\n });\n const backdropVisible = ref(false);\n const backdropReady = ref(false);\n const transitionFunctions = {\n ...options.transitionProps,\n onBeforeEnter,\n onEnter,\n onAfterEnter,\n onBeforeLeave,\n onLeave,\n onAfterLeave\n };\n return {\n showRef,\n renderRef,\n renderBackdropRef,\n isVisible,\n isActive,\n trapActive,\n show,\n hide,\n toggle,\n throttleHide,\n throttleShow,\n buildTriggerableEvent,\n computedNoAnimation,\n localNoAnimation,\n localTemporaryHide,\n isLeaving,\n transitionProps: {\n ...fadeBaseTransitionProps,\n ...props.transitionProps,\n ...transitionFunctions\n },\n lazyLoadCompleted,\n markLazyLoadCompleted,\n contentShowing,\n backdropReady,\n backdropVisible,\n backdropTransitionProps: {\n ...fadeBaseTransitionProps,\n onBeforeEnter: () => {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n backdropVisible.value = true;\n });\n });\n backdropReady.value = false;\n },\n onAfterEnter: () => {\n backdropReady.value = true;\n },\n onBeforeLeave: () => {\n backdropVisible.value = false;\n },\n onAfterLeave: () => {\n backdropReady.value = false;\n requestAnimationFrame(() => {\n renderBackdropRef.value = false;\n });\n }\n }\n };\n};\nexport {\n useShowHide as u\n};\n//# sourceMappingURL=useShowHide-DHtnuxfQ.mjs.map\n","!function(e,n){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=n():\"function\"==typeof define&&define.amd?define(n):(e||self)[\"v-click-outside\"]=n()}(this,function(){var e=\"__v-click-outside\",n=\"undefined\"!=typeof window,t=\"undefined\"!=typeof navigator,r=n&&(\"ontouchstart\"in window||t&&navigator.msMaxTouchPoints>0)?[\"touchstart\"]:[\"click\"],i=function(e){var n=e.event,t=e.handler;(0,e.middleware)(n)&&t(n)},a=function(n,t){var a=function(e){var n=\"function\"==typeof e;if(!n&&\"object\"!=typeof e)throw new Error(\"v-click-outside: Binding value must be a function or an object\");return{handler:n?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||r,isActive:!(!1===e.isActive),detectIframe:!(!1===e.detectIframe),capture:Boolean(e.capture)}}(t.value),o=a.handler,d=a.middleware,c=a.detectIframe,u=a.capture;if(a.isActive){if(n[e]=a.events.map(function(e){return{event:e,srcTarget:document.documentElement,handler:function(e){return function(e){var n=e.el,t=e.event,r=e.handler,a=e.middleware,o=t.path||t.composedPath&&t.composedPath();(o?o.indexOf(n)<0:!n.contains(t.target))&&i({event:t,handler:r,middleware:a})}({el:n,event:e,handler:o,middleware:d})},capture:u}}),c){var l={event:\"blur\",srcTarget:window,handler:function(e){return function(e){var n=e.el,t=e.event,r=e.handler,a=e.middleware;setTimeout(function(){var e=document.activeElement;e&&\"IFRAME\"===e.tagName&&!n.contains(e)&&i({event:t,handler:r,middleware:a})},0)}({el:n,event:e,handler:o,middleware:d})},capture:u};n[e]=[].concat(n[e],[l])}n[e].forEach(function(t){var r=t.event,i=t.srcTarget,a=t.handler;return setTimeout(function(){n[e]&&i.addEventListener(r,a,u)},0)})}},o=function(n){(n[e]||[]).forEach(function(e){return e.srcTarget.removeEventListener(e.event,e.handler,e.capture)}),delete n[e]},d=n?{beforeMount:a,updated:function(e,n){var t=n.value,r=n.oldValue;JSON.stringify(t)!==JSON.stringify(r)&&(o(e),a(e,{value:t}))},unmounted:o}:{};return{install:function(e){e.directive(\"click-outside\",d)},directive:d}});\n//# sourceMappingURL=v-click-outside.umd.js.map\n"],"names":["usePopoverController","p","useCountdown","length","interval","timestampOpts","resolvedLength","isPaused","target","Date","now","value","isActive","pause","resume","timestamp","controls","callback","v","restart","myPause","myResume","remainingTime","stop","useCountdownHover","element","props","actions","isHovering","onMouseEnter","noHoverPause","onMouseLeave","noResumeOnHoverLeave","newValue","modelValueIgnoresHover","modalOpenClassName","useSharedModalStack","modalManagerPlugin","dispose","modal","removeStack","removeRegistry","updateHTMLAttrs","g","selector","attribute","el","window","document","querySelector","classList","toggle","setAttribute","countStack","useModalManager","modalOpen","initialValue","pushRegistry","pushStack","stack","currentModal","type","__name","Error","setInStack","oldValue","activePosition","findIndex","_a","_b","exposed","id","activeModalCount","stackWithoutSelf","filter","getTargets","binding","modifiers","arg","targets","Object","keys","localValue","split","tagName","toLowerCase","href","getAttribute","test","push","replace","Array","prototype","concat","apply","forEach","t","index","arr","indexOf","targetIds","vnode","provides","f","showHide","map","targetId","getElementById","dispatchEvent","Event","setTimeout","checkVisibility","visible","contains","remove","add","handleUpdate","__toggle","removeEventListener","addEventListener","join","vBToggle","mounted","updated","unmounted","removeAttribute","popoverPlugin","install","app","popovers","Map","popover","obj","resolvedProps","_self","Symbol","set","val","_a2","call","modelValue","immediate","deep","delete","setPopover","self","popover2","get","removePopover","tooltips","tooltip","setTooltip","tooltip2","removeTooltip","provide","setTheme","vBColorMode","useId","suffix","genId","w","useToastController","useRadiusElementClasses","resolveRadiusElement","str","strValue","rounded","roundedTop","roundedBottom","roundedStart","roundedEnd","normalizeInput","modelModifiers","update","number","parsed","Number","parseFloat","isNaN","useFormInput","input","forceUpdateKey","computedId","u","debounceNumber","debounce","debounceMaxWaitNumber","debounceMaxWait","NaN","formGroupData","computedState","state","computedAriaInvalid","ariaInvalid","stateClass","internalUpdateModelValue","lazy","maxWait","updateModelValue","force","focused","autofocus","_formatValue","evt","formatter","lazyFormatter","toString","onInput","formattedValue","defaultPrevented","preventDefault","nextModel","onChange","onBlur","trim","needsForceUpdate","focus","disabled","blur","rtlPlugin","options","rtlDefault","localeDefault","rtlInitial","rtl","localeInitial","isRtl","locale","r","omit","objToPluck","keysToPluck","key","includes","reduce","result","pick","memo","prop","path","defaultValue","segments","current","initial","clone","isPrimitive","value2","bind","newObj","constructor","getOwnPropertyNames","toInt","def","parseInt","x","_set","node","shift","nextIsNum","cloned","useBreadcrumb","b","posDefault","toastPlugin","toasts","_isAppend","_setIsAppend","show","_c","_d","toastToAdd","component","pos","_modelValue","appendToast","unshift","previousIndex","splice","leave","toastIndex","useModal","registry","instance","findBModal","parent","modalComponent","resolvedId","modal2","proxy","hide","trigger","vBTooltip","defaults","d","text","content","title","$__binding","JSON","stringify","noninteractive","beforeUnmount","bootstrapPlugin","components","useColorVariantClasses","variant","bgVariant","textVariant","borderVariant","breadcrumbPlugin","items","reset","injectSelf","vm","getCurrentInstance","name","message","toKebabCase","isObject","isArray","mergeDeep","source","arrayFn","out","sourceProperty","targetProperty","propIsDefined","internalUseDefaults","componentDefaults","_as","_props","Proxy","propValue","Reflect","global","_subcomponentDefaults","provideSubDefaults","injected","subComponents","entries","startsWith","toUpperCase","fromEntries","useDefaults","useNumberishToStyle","unit","resolvedUnit","R","String","useAlignment","align","_hoisted_1","_sfc_main","Boolean","default","setup","__props","_ctx","_cache","$slots","useFormSelect","isComplex","option","normalizeOption","propsValue","toLocaleString","valueField","textField","disabledField","opts","optionsField","label","labelField","normalizeOptions","normalizedOptions","useFadeTransition","fade","NO_FADE_PROPS","enterActiveClass","enterToClass","leaveActiveClass","leaveToClass","enterFromClass","leaveFromClass","FADE_PROPS","findProvides","ctx","$","findComponentParent","root","Set","walk","children","child","result2","suspense","ssContent","subTree","console","error","from","reverse","useAriaInvalid","resolvedAriaInvalid","resolvedState","resolvedAriaInvalidValue","showHidePlugin","values","fun","unregister","createBootstrap","pluginData","breadcrumb","use","modalController","modalManager","toast","bootstrap","useModalController","lastStack","modalControllerPlugin","m","hideAll","size","valuesStack","uid","getClasses","resolvedItems","plain","button","hasDefaultSlot","inline","switch","getInputClasses","getLabelClasses","buttonVariant","getGroupAttr","required","getGroupClasses","validated","buttons","stacked","useScrollspy","cont","tar","resolvedContent","resolvedTarget","updateList","contentQuery","targetQuery","manual","rootMargin","threshold","watchChanges","list","nodeList","s","transform","ltr","direction","querySelectorAll","textContent","isScrollingDown","previousScrollTop","scrollRoot","getComputedStyle","overflowY","iobs","scrollTop","documentElement","entry","isIntersecting","newId","find","nodes","foundParent","activeElement","_e","_f","_g","_h","_i","_j","_k","parentDropdown","closest","parentNav","previousSibling","mobs","childList","scrollIntoView","event","smooth","scrollTo","top","offsetTop","behavior","cleanup","modals","buildPromise","resolveFunc","promise","Promise","resolve","buildPrereqs","_promise","_isConfirm","previous","confirm","useColorMode","persist","storageKey","vBPopover","candidateSelectors","candidateSelector","NoElement","Element","matches","msMatchesSelector","webkitMatchesSelector","getRootNode","_element$getRootNode","ownerDocument","isInert","isInert2","lookUp","_node$getAttribute","inertAtt","inert","parentNode","isContentEditable","_node$getAttribute2","attValue","getCandidates","includeContainer","candidates","slice","getCandidatesIteratively","getCandidatesIteratively2","elements","elementsToCheck","assigned","assignedElements","nestedCandidates","flatten","scopeParent","validCandidate","shadowRoot","getShadowRoot","validShadowRoot","shadowRootFilter","_nestedCandidates","hasTabIndex","getTabIndex","tabIndex","getSortOrderTabIndex","isScope","sortOrderedTabbables","a","documentOrder","isInput","isHiddenInput","isDetailsWithSummary","some","getCheckedRadio","form","i","checked","isTabbableRadio","radioSet","radioScope","queryRadios","CSS","escape","err","isRadio","isNonTabbableRadio","isNodeAttached","_nodeRoot","nodeRoot","nodeRootHost","host","attached","_nodeRootHost","_nodeRootHost$ownerDo","_node$ownerDocument","_nodeRoot2","_nodeRootHost2","_nodeRootHost2$ownerD","isZeroArea","_node$getBoundingClie","getBoundingClientRect","width","height","isHidden","_ref","displayCheck","visibility","isDirectSummary","nodeUnderDetails","parentElement","originalNode","rootNode","assignedSlot","getClientRects","isDisabledFromFieldset","item","isNodeMatchingSelectorFocusable","isNodeMatchingSelectorTabbable","isValidShadowRootTabbable","shadowHostNode","sortByOrder","sortByOrder2","regularTabbables","orderedTabbables","candidateTabindex","sort","acc","sortable","tabbable","container","focusable","isTabbable","focusableCandidateSelector","isFocusable","_arrayLikeToArray","e","n","_arrayWithoutHoles","_defineProperty","_toPropertyKey","defineProperty","enumerable","configurable","writable","_iterableToArray","iterator","_nonIterableSpread","TypeError","ownKeys","getOwnPropertySymbols","o","r2","getOwnPropertyDescriptor","_objectSpread2","arguments","getOwnPropertyDescriptors","defineProperties","_toConsumableArray","_unsupportedIterableToArray","_toPrimitive","toPrimitive","activeFocusTraps","activateTrap","trapStack","trap","activeTrap","_setPausedState","trapIndex","deactivateTrap","_isManuallyPaused","isSelectableInput","select","isEscapeEvent","keyCode","isTabEvent","isKeyForward","shiftKey","isKeyBackward","delay","fn","valueOrHandler","_len","params","_key","getActualTarget","composedPath","internalTrapStack","createFocusTrap","userOptions","doc","config","returnFocusOnDeactivate","escapeDeactivates","delayInitialFocus","containers","containerGroups","tabbableGroups","nodeFocusedBeforeActivation","mostRecentlyFocusedNode","active","paused","manuallyPaused","delayInitialFocusTimer","recentNavEvent","getOption","configOverrideOptions","optionName","configOptionName","findContainerIndex","tabbableNodes","getNodeForOption","_ref2","_ref2$hasFallback","hasFallback","_ref2$params","optionValue","getInitialFocusNode","tabbableOptions","firstTabbableGroup","firstTabbableNode","updateTabbableNodes","focusableNodes","lastTabbableNode","firstDomTabbableNode","lastDomTabbableNode","posTabIndexesFound","nextTabbableNode","forward","nodeIdx","group","_getActiveElement","_tryFocus","preventScroll","getReturnFocusNode","previousActiveElement","findNextNavNode","_ref3","_ref3$isBackward","isBackward","destinationNode","containerIndex","containerGroup","startOfGroupIndex","_ref4","destinationGroupIndex","destinationGroup","lastOfGroupIndex","_ref5","_destinationGroupIndex","_destinationGroup","checkPointerDown","clickOutsideDeactivates","deactivate","returnFocus","allowOutsideClick","checkFocusIn","targetContained","Document","nextNode","stopImmediatePropagation","navAcrossContainers","mruContainerIdx","mruTabIdx","checkKeyNav","checkTabKey","checkEscapeKey","checkClick","addListeners","capture","passive","removeListeners","checkDomRemoval","mutations","isFocusedNodeRemoved","mutation","removedNodes","mutationObserver","MutationObserver","updateObservedNodes","disconnect","observe","subtree","activate","activateOptions","this","onActivate","onPostActivate","checkCanFocusTrap","finishActivation","then","deactivateOptions","onDeactivate","onPostDeactivate","checkCanReturnFocus","clearTimeout","finishDeactivation","pauseOptions","unpause","unpauseOptions","updateContainerElements","containerElements","elementsAsArray","onPause","onPostPause","onUnpause","onPostUnpause","useFocusTrap","focusTrapOptions","hasFocus","_targets","_el","els","flush","useActivatedFocusTrap","noTrap","fallbackFocus","focusTrapOpts","ref","resolvedIsActive","resolvedNoTrap","checkNeedsFallback","tabbableElements","classSelector","needsFallback","async","useScrollLock","prevousRightPadding","lockRegistry","useSafeScrollLock","isOpen","bodyScroll","resolvedIsOpen","inverseBodyScrollingValue","isLocked","body","modelVal","bodyVal","scrollBarGap","innerWidth","clientWidth","hasLocked","myLocked","style","paddingRight","hasLockedAfter","useStateClass","resolvedValue","$__scrollspy","vBScrollspy","startCase","_","$1","$2","titleCase","upperFirst","charAt","escapeRegExp","escapeRegExpChars","toPascalCase","match","fadeBaseTransitionProps","css","useShowHide","emit","transitionProps","showFn","hideFn","noAction","initialShow","initialAnimation","showRef","renderRef","renderBackdropRef","isCountdown","localNoAnimation","localTemporaryHide","computedNoAnimation","noAnimation","noFade","buildTriggerableEvent","cancelable","isVisible","backdropVisible","backdropReady","newval","relatedTarget","componentId","showTimeout","requestAnimationFrame","_a3","event2","noCloseOnBackdrop","noCloseOnEsc","isLeaving","throttleHide","throttleShow","appRegistry","lazyLoadCompleted","markLazyLoadCompleted","onBeforeEnter","onEnter","onAfterEnter","onBeforeLeave","onLeave","onAfterLeave","contentShowing","unmountLazy","trapActive","transitionFunctions","backdropTransitionProps","module","exports","navigator","msMaxTouchPoints","handler","middleware","events","detectIframe","c","srcTarget","l","beforeMount","directive"],"sourceRoot":""}