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wB,SAAS,KAAM,IACxCvB,EAAa/wB,MAAQoxB,EAAUpxB,WAAQ,KAGvCgxB,EAAWhxB,OAASkxB,EAAiBlxB,MAAQqyB,EAAkBryB,WAAQ,MAE5E,MAAO,CAACE,EAAMC,MACL,WAAa,SAAY,SAAwB,QAAMa,KAAO,QAAW,CAC9EV,MAAOT,EAAgBG,MACvB4D,QAAQ,QAAMjH,GAAOiH,OACrBb,MAAM,QAAMwuB,GACZ/tB,IAAK2uB,EAAYnyB,MACjBsE,SAAU8tB,EAAiBpyB,MAC3B,mBAAiB,QAAMrD,GAAOW,UAAkB,MAC/Cg1B,EAAsBtyB,MAAO,CAC9BuE,QAASpE,EAAO,KAAOA,EAAO,GAAMkC,IAClC,IAAI2E,EACJ0H,EAAQrM,GACc,OAArB2E,GAAK,QAAMsqB,KAA0BtqB,EAAGurB,SAASlwB,EAAE,KAEpD,CACFxF,SAAS,SAAQ,IAAM,EACrB,QAAWqD,EAAKkB,OAAQ,cAE1BC,EAAG,GACF,GAAI,CAAC,QAAS,SAAU,OAAQ,MAAO,WAAY,kBAE1D,G","sources":["webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormInput.vue_vue_type_script_setup_true_lang-DFp_G5MZ.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BNavText.vue_vue_type_script_setup_true_lang-CpHz539e.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormSelect.vue_vue_type_script_setup_true_lang-1z6NZtLV.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormTextarea.vue_vue_type_script_setup_true_lang-Dsl-lX8t.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormValidFeedback.vue_vue_type_script_setup_true_lang-D2f9fSp7.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BForm.vue_vue_type_script_setup_true_lang-PYY2WOtY.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BNavbarToggle.vue_vue_type_script_setup_true_lang-Cr7xqOoW.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BDropdownText.vue_vue_type_script_setup_true_lang-BbFXYMbV.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormFile.vue_vue_type_script_setup_true_lang-C2z3iqJ-.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BInputGroupText.vue_vue_type_script_setup_true_lang-BVvl0U34.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormGroup.vue_vue_type_script_setup_true_lang-BfWpvBBH.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BModalOrchestrator.vue_vue_type_script_setup_true_lang-Vpb9dNna.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BListGroupItem.vue_vue_type_script_setup_true_lang-DF5MpHVf.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormCheckboxGroup.vue_vue_type_script_setup_true_lang-B5Msdqj3.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BDropdown-CmJPEOPT.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormFloatingLabel.vue_vue_type_script_setup_true_lang-CqEz9Ydj.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormTags.vue_vue_type_script_setup_true_lang-CtevLJ_Z.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BOffcanvas-BIRIpipC.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormRadioGroup.vue_vue_type_script_setup_true_lang-Bnc5FVv5.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BFormSpinbutton.vue_vue_type_script_setup_true_lang-CNXr3MuF.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BImg.vue_vue_type_script_setup_true_lang-MMXD4NiQ.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BLink.vue_vue_type_script_setup_true_lang-CinzoAgQ.mjs"],"sourcesContent":["import { defineComponent, mergeModels, useModel, useTemplateRef, computed, createElementBlock, openBlock, unref, normalizeClass } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { n as normalizeInput, u as useFormInput } from \"./useFormInput-BA20uvAP.mjs\";\nconst _hoisted_1 = [\"id\", \"value\", \"name\", \"form\", \"type\", \"disabled\", \"placeholder\", \"required\", \"autocomplete\", \"readonly\", \"min\", \"max\", \"step\", \"list\", \"aria-required\", \"aria-invalid\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormInput\",\n props: /* @__PURE__ */ mergeModels({\n max: { default: void 0 },\n min: { default: void 0 },\n step: { default: void 0 },\n type: { default: \"text\" },\n ariaInvalid: { type: [Boolean, String], default: void 0 },\n autocomplete: { default: void 0 },\n autofocus: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n form: { default: void 0 },\n formatter: { type: Function, default: void 0 },\n id: { default: void 0 },\n lazyFormatter: { type: Boolean, default: false },\n list: { default: void 0 },\n name: { default: void 0 },\n placeholder: { default: void 0 },\n plaintext: { type: Boolean, default: false },\n readonly: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n size: { default: void 0 },\n state: { type: [Boolean, null], default: void 0 },\n debounce: { default: 0 },\n debounceMaxWait: { default: NaN }\n }, {\n \"modelValue\": {\n default: \"\"\n },\n \"modelModifiers\": {}\n }),\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose }) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormInput\");\n const [modelValue, modelModifiers] = useModel(__props, \"modelValue\", {\n set: (v) => normalizeInput(v, modelModifiers)\n });\n const input = useTemplateRef(\"_input\");\n const {\n computedId,\n computedAriaInvalid,\n onInput,\n onChange,\n onBlur,\n stateClass,\n focus,\n blur,\n forceUpdateKey\n } = useFormInput(props, input, modelValue, modelModifiers);\n const computedClasses = computed(() => {\n const isRange = props.type === \"range\";\n const isColor = props.type === \"color\";\n return [\n stateClass.value,\n {\n \"form-range\": isRange,\n \"form-control\": isColor || !props.plaintext && !isRange,\n \"form-control-color\": isColor,\n \"form-control-plaintext\": props.plaintext && !isRange && !isColor,\n [`form-control-${props.size}`]: !!props.size\n }\n ];\n });\n __expose({\n blur,\n element: input,\n focus\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"input\", {\n id: unref(computedId),\n ref: \"_input\",\n key: unref(forceUpdateKey),\n value: unref(modelValue),\n class: normalizeClass(computedClasses.value),\n name: unref(props).name || void 0,\n form: unref(props).form || void 0,\n type: unref(props).type,\n disabled: unref(props).disabled,\n placeholder: unref(props).placeholder,\n required: unref(props).required || void 0,\n autocomplete: unref(props).autocomplete || void 0,\n readonly: unref(props).readonly || unref(props).plaintext,\n min: unref(props).min,\n max: unref(props).max,\n step: unref(props).step,\n list: unref(props).type !== \"password\" ? unref(props).list : void 0,\n \"aria-required\": unref(props).required || void 0,\n \"aria-invalid\": unref(computedAriaInvalid),\n onInput: _cache[0] || (_cache[0] = //@ts-ignore\n (...args) => unref(onInput) && unref(onInput)(...args)),\n onChange: _cache[1] || (_cache[1] = //@ts-ignore\n (...args) => unref(onChange) && unref(onChange)(...args)),\n onBlur: _cache[2] || (_cache[2] = //@ts-ignore\n (...args) => unref(onBlur) && unref(onBlur)(...args))\n }, null, 42, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BFormInput.vue_vue_type_script_setup_true_lang-DFp_G5MZ.mjs.map\n","import { defineComponent, computed, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, renderSlot, useAttrs, createElementBlock, mergeProps, createVNode, withModifiers, mergeModels, useModel, useTemplateRef, createTextVNode, toDisplayString } from \"vue\";\nimport { u as useAlignment } from \"./useAlignment-Cw-9AVid.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { _ as _sfc_main$5 } from \"./BForm.vue_vue_type_script_setup_true_lang-PYY2WOtY.mjs\";\nimport { _ as _sfc_main$6 } from \"./BLink.vue_vue_type_script_setup_true_lang-CinzoAgQ.mjs\";\nimport { p as pick } from \"./object-BWoyyA2y.mjs\";\nimport { B as BDropdown } from \"./BDropdown-CmJPEOPT.mjs\";\nconst _sfc_main$4 = /* @__PURE__ */ defineComponent({\n __name: \"BNav\",\n props: {\n align: { default: void 0 },\n cardHeader: { type: Boolean, default: false },\n fill: { type: Boolean, default: false },\n justified: { type: Boolean, default: false },\n pills: { type: Boolean, default: false },\n small: { type: Boolean, default: false },\n tabs: { type: Boolean, default: false },\n tag: { default: \"ul\" },\n underline: { type: Boolean, default: false },\n vertical: { type: Boolean, default: false }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BNav\");\n const alignment = useAlignment(() => props.align);\n const computedClasses = computed(() => ({\n \"nav-tabs\": props.tabs,\n \"nav-pills\": props.pills && !props.tabs,\n \"card-header-tabs\": !props.vertical && props.cardHeader && props.tabs,\n \"card-header-pills\": !props.vertical && props.cardHeader && props.pills && !props.tabs,\n \"flex-column\": props.vertical,\n \"nav-fill\": !props.vertical && props.fill,\n \"nav-justified\": !props.vertical && props.justified,\n [alignment.value]: !props.vertical && props.align !== void 0,\n \"small\": props.small,\n \"nav-underline\": props.underline\n }));\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n class: normalizeClass([\"nav\", computedClasses.value])\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"class\"]);\n };\n }\n});\nconst _sfc_main$3 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BNavForm\",\n props: {\n role: { default: void 0 },\n wrapperAttrs: { default: void 0 },\n formClass: { default: void 0 },\n floating: { type: Boolean, default: void 0 },\n id: { default: void 0 },\n novalidate: { type: Boolean, default: void 0 },\n validated: { type: Boolean, default: void 0 }\n },\n emits: [\"submit\"],\n setup(__props, { emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BNavForm\");\n const emit = __emit;\n const attrs = useAttrs();\n const processedAttrs = computed(() => {\n const { class: wrapperClass, ...formAttrs } = attrs;\n return { wrapperClass, formAttrs };\n });\n const submitted = (e) => {\n emit(\"submit\", e);\n };\n const liClasses = computed(() => [\n \"d-flex\",\n \"flex-row\",\n \"align-items-center\",\n \"flex-wrap\",\n processedAttrs.value.wrapperClass\n ]);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", mergeProps({ class: liClasses.value }, _ctx.wrapperAttrs), [\n createVNode(_sfc_main$5, mergeProps(processedAttrs.value.formAttrs, {\n id: unref(props).id,\n floating: unref(props).floating,\n role: unref(props).role,\n novalidate: unref(props).novalidate,\n validated: unref(props).validated,\n class: [\"d-flex\", unref(props).formClass],\n onSubmit: withModifiers(submitted, [\"prevent\"])\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"id\", \"floating\", \"role\", \"novalidate\", \"validated\", \"class\"])\n ], 16);\n };\n }\n});\nconst _hoisted_1$2 = { class: \"nav-item\" };\nconst _sfc_main$2 = /* @__PURE__ */ defineComponent({\n __name: \"BNavItem\",\n props: {\n linkAttrs: { default: void 0 },\n linkClass: { default: void 0 },\n active: { type: Boolean, default: void 0 },\n activeClass: { default: void 0 },\n disabled: { type: Boolean, default: void 0 },\n exactActiveClass: { default: void 0 },\n href: { default: void 0 },\n icon: { type: Boolean, default: void 0 },\n noRel: { type: Boolean },\n opacity: { default: void 0 },\n opacityHover: { default: void 0 },\n prefetch: { type: Boolean },\n prefetchOn: {},\n noPrefetch: { type: Boolean },\n prefetchedClass: {},\n rel: { default: void 0 },\n replace: { type: Boolean, default: void 0 },\n routerComponentName: { default: void 0 },\n stretched: { type: Boolean, default: false },\n target: { default: void 0 },\n to: { default: void 0 },\n underlineOffset: { default: void 0 },\n underlineOffsetHover: { default: void 0 },\n underlineOpacity: { default: void 0 },\n underlineOpacityHover: { default: void 0 },\n underlineVariant: { default: void 0 },\n variant: { default: void 0 }\n },\n emits: [\"click\"],\n setup(__props, { emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BNavItem\");\n const emit = __emit;\n const computedLinkProps = computed(\n () => pick(props, [\n \"active\",\n \"activeClass\",\n \"exactActiveClass\",\n \"append\",\n \"disabled\",\n \"href\",\n \"icon\",\n \"opacity\",\n \"opacityHover\",\n \"rel\",\n \"replace\",\n \"routerComponentName\",\n \"target\",\n \"to\",\n \"underlineOffset\",\n \"underlineOffsetHover\",\n \"underlineOpacity\",\n \"underlineOpacityHover\",\n \"underlineVariant\",\n \"variant\"\n ])\n );\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", _hoisted_1$2, [\n createVNode(_sfc_main$6, mergeProps({\n class: [\"nav-link\", _ctx.linkClass],\n tabindex: unref(props).disabled ? -1 : void 0,\n \"aria-disabled\": unref(props).disabled ? true : void 0\n }, { ...computedLinkProps.value, ..._ctx.linkAttrs }, {\n onClick: _cache[0] || (_cache[0] = ($event) => emit(\"click\", $event))\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"class\", \"tabindex\", \"aria-disabled\"]),\n renderSlot(_ctx.$slots, \"after\")\n ]);\n };\n }\n});\nconst _hoisted_1$1 = { class: \"nav-item dropdown\" };\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BNavItemDropdown\",\n props: /* @__PURE__ */ mergeModels({\n ariaLabel: { default: void 0 },\n autoClose: { type: [Boolean, String], default: true },\n boundary: { default: \"clippingAncestors\" },\n boundaryPadding: { default: void 0 },\n disabled: { type: Boolean, default: false },\n floatingMiddleware: { default: void 0 },\n id: { default: void 0 },\n isNav: { type: Boolean, default: true },\n menuClass: { default: void 0 },\n noCaret: { type: Boolean, default: false },\n noFlip: { type: Boolean, default: false },\n noShift: { type: Boolean, default: false },\n noSize: { type: Boolean, default: false },\n offset: { default: 0 },\n role: { default: \"menu\" },\n size: { default: \"md\" },\n noWrapper: { type: Boolean, default: void 0 },\n split: { type: Boolean, default: false },\n splitButtonType: { default: \"button\" },\n splitClass: { default: void 0 },\n splitDisabled: { type: Boolean, default: void 0 },\n splitHref: { default: void 0 },\n splitTo: { default: void 0 },\n splitVariant: { default: void 0 },\n strategy: { default: \"absolute\" },\n text: { default: void 0 },\n toggleClass: { default: void 0 },\n toggleText: { default: \"Toggle dropdown\" },\n variant: { default: \"link\" },\n wrapperClass: { default: void 0 },\n placement: { default: void 0 },\n teleportDisabled: { type: Boolean, default: false },\n teleportTo: { default: void 0 },\n initialAnimation: { type: Boolean, default: false },\n noAnimation: { type: Boolean },\n noFade: { type: Boolean },\n lazy: { type: Boolean, default: false },\n unmountLazy: { type: Boolean },\n show: { type: Boolean },\n transProps: {},\n visible: { type: Boolean }\n }, {\n \"modelValue\": { type: Boolean, ...{ default: false } },\n \"modelModifiers\": {}\n }),\n emits: /* @__PURE__ */ mergeModels([\"split-click\", \"hide\", \"hide-prevented\", \"hidden\", \"show\", \"show-prevented\", \"shown\", \"toggle\", \"toggle-prevented\"], [\"update:modelValue\"]),\n setup(__props, { expose: __expose, emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BNavItemDropdown\");\n const emit = __emit;\n const modelValue = useModel(__props, \"modelValue\");\n const dropdown = useTemplateRef(\"_dropdown\");\n const hide = () => {\n var _a;\n (_a = dropdown.value) == null ? void 0 : _a.hide();\n };\n const show = () => {\n var _a;\n (_a = dropdown.value) == null ? void 0 : _a.show();\n };\n const toggle = () => {\n var _a;\n (_a = dropdown.value) == null ? void 0 : _a.toggle();\n };\n __expose({\n hide,\n show,\n toggle\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", _hoisted_1$1, [\n createVNode(BDropdown, mergeProps({ ref: \"_dropdown\" }, unref(props), {\n modelValue: modelValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),\n \"is-nav\": \"\",\n onShow: _cache[1] || (_cache[1] = ($event) => emit(\"show\", $event)),\n onShown: _cache[2] || (_cache[2] = ($event) => emit(\"shown\", $event)),\n onHide: _cache[3] || (_cache[3] = ($event) => emit(\"hide\", $event)),\n onHidden: _cache[4] || (_cache[4] = ($event) => emit(\"hidden\", $event)),\n onHidePrevented: _cache[5] || (_cache[5] = ($event) => emit(\"hide-prevented\", $event)),\n onShowPrevented: _cache[6] || (_cache[6] = ($event) => emit(\"show-prevented\", $event)),\n onTogglePrevented: _cache[7] || (_cache[7] = ($event) => emit(\"toggle-prevented\", $event)),\n onToggle: _cache[8] || (_cache[8] = ($event) => emit(\"toggle\", $event)),\n onSplitClick: _cache[9] || (_cache[9] = ($event) => emit(\"split-click\", $event))\n }), {\n \"button-content\": withCtx(() => [\n renderSlot(_ctx.$slots, \"button-content\")\n ]),\n \"toggle-text\": withCtx(() => [\n renderSlot(_ctx.$slots, \"toggle-text\")\n ]),\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", {\n hide,\n show\n })\n ]),\n _: 3\n }, 16, [\"modelValue\"])\n ]);\n };\n }\n});\nconst _hoisted_1 = { class: \"navbar-text\" };\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BNavText\",\n props: {\n text: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BNavText\");\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", _hoisted_1, [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(unref(props).text), 1)\n ])\n ]);\n };\n }\n});\nexport {\n _sfc_main$4 as _,\n _sfc_main$3 as a,\n _sfc_main$2 as b,\n _sfc_main$1 as c,\n _sfc_main as d\n};\n//# sourceMappingURL=BNavText.vue_vue_type_script_setup_true_lang-CpHz539e.mjs.map\n","import { defineComponent, computed, createElementBlock, openBlock, unref, renderSlot, Fragment, renderList, createBlock, mergeProps, withCtx, createTextVNode, toDisplayString, mergeModels, useModel, useTemplateRef, withDirectives, normalizeClass, vModelSelect } from \"vue\";\nimport { u as useFormSelect, _ as _sfc_main$2 } from \"./useFormSelect-BrGF20vO.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useAriaInvalid } from \"./useAriaInvalid-BTUbGj3Y.mjs\";\nimport { u as useFocus } from \"./index-cC189kCW.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { u as useStateClass } from \"./useStateClass-BGbSLWFN.mjs\";\nimport { u as useToNumber } from \"./index-CLgoGrAV.mjs\";\nconst _hoisted_1$1 = [\"label\"];\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BFormSelectOptionGroup\",\n props: {\n disabledField: { default: \"disabled\" },\n label: { default: void 0 },\n options: { default: () => [] },\n textField: { default: \"text\" },\n valueField: { default: \"value\" }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormSelectOptionGroup\");\n const { normalizedOptions } = useFormSelect(() => props.options, props);\n const normalizedOptsWrapper = computed(() => normalizedOptions.value);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"optgroup\", {\n label: unref(props).label\n }, [\n renderSlot(_ctx.$slots, \"first\"),\n (openBlock(true), createElementBlock(Fragment, null, renderList(normalizedOptsWrapper.value, (option, index) => {\n return openBlock(), createBlock(_sfc_main$2, mergeProps({\n key: index,\n disabled: option.disabled,\n value: option.value,\n ref_for: true\n }, _ctx.$attrs), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"option\", mergeProps({ ref_for: true }, option), () => [\n createTextVNode(toDisplayString(option.text), 1)\n ])\n ]),\n _: 2\n }, 1040, [\"disabled\", \"value\"]);\n }), 128)),\n renderSlot(_ctx.$slots, \"default\")\n ], 8, _hoisted_1$1);\n };\n }\n});\nconst _hoisted_1 = [\"id\", \"name\", \"form\", \"multiple\", \"size\", \"disabled\", \"required\", \"aria-required\", \"aria-invalid\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormSelect\",\n props: /* @__PURE__ */ mergeModels({\n ariaInvalid: { type: [Boolean, String], default: void 0 },\n autofocus: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n disabledField: { default: \"disabled\" },\n form: { default: void 0 },\n id: { default: void 0 },\n labelField: { default: \"label\" },\n multiple: { type: Boolean, default: false },\n name: { default: void 0 },\n options: { default: () => [] },\n optionsField: { default: \"options\" },\n plain: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n selectSize: { default: 0 },\n size: { default: \"md\" },\n state: { type: [Boolean, null], default: null },\n textField: { default: \"text\" },\n valueField: { default: \"value\" }\n }, {\n \"modelValue\": {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n default: \"\"\n },\n \"modelModifiers\": {}\n }),\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose }) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormSelect\");\n const modelValue = useModel(__props, \"modelValue\");\n const computedId = useId(() => props.id, \"input\");\n const selectSizeNumber = useToNumber(() => props.selectSize);\n const stateClass = useStateClass(() => props.state);\n const input = useTemplateRef(\"_input\");\n const { focused } = useFocus(input, {\n initialValue: props.autofocus\n });\n const computedClasses = computed(() => [\n stateClass.value,\n {\n \"form-control\": props.plain,\n [`form-control-${props.size}`]: props.size !== \"md\" && props.plain,\n \"form-select\": !props.plain,\n [`form-select-${props.size}`]: props.size !== \"md\" && !props.plain\n }\n ]);\n const computedSelectSize = computed(\n () => selectSizeNumber.value || props.plain ? selectSizeNumber.value : void 0\n );\n const computedAriaInvalid = useAriaInvalid(\n () => props.ariaInvalid,\n () => props.state\n );\n const { normalizedOptions, isComplex } = useFormSelect(() => props.options, props);\n const normalizedOptsWrapper = computed(\n () => normalizedOptions.value\n );\n const localValue = computed({\n get: () => modelValue.value,\n set: (newValue) => {\n modelValue.value = newValue;\n }\n });\n __expose({\n blur: () => {\n focused.value = false;\n },\n element: input,\n focus: () => {\n focused.value = true;\n }\n });\n return (_ctx, _cache) => {\n return withDirectives((openBlock(), createElementBlock(\"select\", {\n id: unref(computedId),\n ref: \"_input\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => localValue.value = $event),\n class: normalizeClass(computedClasses.value),\n name: unref(props).name,\n form: unref(props).form || void 0,\n multiple: unref(props).multiple || void 0,\n size: computedSelectSize.value,\n disabled: unref(props).disabled,\n required: unref(props).required || void 0,\n \"aria-required\": unref(props).required || void 0,\n \"aria-invalid\": unref(computedAriaInvalid)\n }, [\n renderSlot(_ctx.$slots, \"first\"),\n (openBlock(true), createElementBlock(Fragment, null, renderList(normalizedOptsWrapper.value, (option, index) => {\n return openBlock(), createElementBlock(Fragment, { key: index }, [\n unref(isComplex)(option) ? (openBlock(), createBlock(_sfc_main$1, {\n key: 0,\n label: option.label,\n options: option.options,\n \"value-field\": unref(props).valueField,\n \"text-field\": unref(props).textField,\n \"disabled-field\": unref(props).disabledField\n }, null, 8, [\"label\", \"options\", \"value-field\", \"text-field\", \"disabled-field\"])) : (openBlock(), createBlock(_sfc_main$2, {\n key: 1,\n value: option.value,\n disabled: option.disabled\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"option\", mergeProps({ ref_for: true }, option), () => [\n createTextVNode(toDisplayString(option.text), 1)\n ])\n ]),\n _: 2\n }, 1032, [\"value\", \"disabled\"]))\n ], 64);\n }), 128)),\n renderSlot(_ctx.$slots, \"default\")\n ], 10, _hoisted_1)), [\n [vModelSelect, localValue.value]\n ]);\n };\n }\n});\nexport {\n _sfc_main as _,\n _sfc_main$1 as a\n};\n//# sourceMappingURL=BFormSelect.vue_vue_type_script_setup_true_lang-1z6NZtLV.mjs.map\n","import { ref, readonly, toRef, computed, onMounted, nextTick, defineComponent, mergeModels, useModel, useTemplateRef, createElementBlock, openBlock, unref, normalizeStyle, normalizeClass } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { n as normalizeInput, u as useFormInput } from \"./useFormInput-BA20uvAP.mjs\";\nimport { a as isVisible } from \"./dom-BK2w00Ec.mjs\";\nimport { u as useToNumber } from \"./index-CLgoGrAV.mjs\";\nconst useTextareaResize = (input, props) => {\n const height = ref(0);\n const resolvedProps = readonly(toRef(props));\n const maxRowsNumber = useToNumber(() => resolvedProps.value.maxRows || NaN, {\n method: \"parseInt\",\n nanToZero: true\n });\n const rowsNumber = useToNumber(() => resolvedProps.value.rows || NaN, {\n method: \"parseInt\",\n nanToZero: true\n });\n const computedMinRows = computed(() => Math.max(rowsNumber.value || 2, 2));\n const computedMaxRows = computed(() => Math.max(computedMinRows.value, maxRowsNumber.value || 0));\n const computedRows = computed(\n () => computedMinRows.value === computedMaxRows.value ? computedMinRows.value : null\n );\n const handleHeightChange = async () => {\n if (!input.value || !isVisible(input.value)) {\n height.value = null;\n return;\n }\n const computedStyle = getComputedStyle(input.value);\n const lineHeight = Number.parseFloat(computedStyle.lineHeight) || 1;\n const border = (Number.parseFloat(computedStyle.borderTopWidth) || 0) + (Number.parseFloat(computedStyle.borderBottomWidth) || 0);\n const padding = (Number.parseFloat(computedStyle.paddingTop) || 0) + (Number.parseFloat(computedStyle.paddingBottom) || 0);\n const offset = border + padding;\n const minHeight = lineHeight * computedMinRows.value + offset;\n const oldHeight = input.value.style.height || computedStyle.height;\n height.value = \"auto\";\n await nextTick();\n const { scrollHeight } = input.value;\n height.value = oldHeight;\n await nextTick();\n const contentRows = Math.max((scrollHeight - padding) / lineHeight, 2);\n const rows = Math.min(Math.max(contentRows, computedMinRows.value), computedMaxRows.value);\n const newHeight = Math.max(Math.ceil(rows * lineHeight + offset), minHeight);\n if (resolvedProps.value.noAutoShrink && (Number.parseFloat(oldHeight.toString()) || 0) > newHeight) {\n height.value = oldHeight;\n return;\n }\n height.value = `${newHeight}px`;\n };\n onMounted(handleHeightChange);\n const computedStyles = computed(() => ({\n resize: \"none\",\n height: typeof height.value === \"string\" ? height.value : height.value ? `${height.value}px` : void 0\n }));\n return {\n onInput: handleHeightChange,\n computedStyles,\n computedRows\n };\n};\nconst _hoisted_1 = [\"id\", \"name\", \"form\", \"value\", \"disabled\", \"placeholder\", \"required\", \"autocomplete\", \"readonly\", \"aria-required\", \"aria-invalid\", \"rows\", \"wrap\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormTextarea\",\n props: /* @__PURE__ */ mergeModels({\n noResize: { type: Boolean, default: false },\n rows: { default: 2 },\n wrap: { default: \"soft\" },\n noAutoShrink: { type: Boolean, default: false },\n maxRows: { default: void 0 },\n ariaInvalid: { type: [Boolean, String], default: void 0 },\n autocomplete: { default: void 0 },\n autofocus: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n form: { default: void 0 },\n formatter: { type: Function, default: void 0 },\n id: { default: void 0 },\n lazyFormatter: { type: Boolean, default: false },\n list: { default: void 0 },\n name: { default: void 0 },\n placeholder: { default: void 0 },\n plaintext: { type: Boolean, default: false },\n readonly: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n size: { default: void 0 },\n state: { type: [Boolean, null], default: void 0 },\n debounce: { default: 0 },\n debounceMaxWait: { default: NaN }\n }, {\n \"modelValue\": {\n default: \"\"\n },\n \"modelModifiers\": {}\n }),\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose }) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormTextarea\");\n const [modelValue, modelModifiers] = useModel(__props, \"modelValue\", {\n set: (v) => normalizeInput(v, modelModifiers)\n });\n const input = useTemplateRef(\"_input\");\n const {\n computedId,\n forceUpdateKey,\n computedAriaInvalid,\n onInput,\n stateClass,\n onChange,\n onBlur,\n focus,\n blur\n } = useFormInput(props, input, modelValue, modelModifiers);\n const computedClasses = computed(() => [\n stateClass.value,\n props.plaintext ? \"form-control-plaintext\" : \"form-control\",\n {\n [`form-control-${props.size}`]: !!props.size\n }\n ]);\n const {\n computedStyles: resizeStyles,\n onInput: handleHeightChange,\n computedRows\n } = useTextareaResize(\n input,\n computed(() => ({\n maxRows: props.maxRows,\n rows: props.rows,\n noAutoShrink: props.noAutoShrink\n }))\n );\n const computedStyles = computed(() => ({\n resize: props.noResize ? \"none\" : void 0,\n ...props.maxRows || props.noAutoShrink ? resizeStyles.value : void 0\n }));\n __expose({\n blur,\n element: input,\n focus\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"textarea\", {\n id: unref(computedId),\n ref: \"_input\",\n key: unref(forceUpdateKey),\n class: normalizeClass(computedClasses.value),\n name: unref(props).name || void 0,\n form: unref(props).form || void 0,\n value: unref(modelValue) ?? void 0,\n disabled: unref(props).disabled,\n placeholder: unref(props).placeholder,\n required: unref(props).required || void 0,\n autocomplete: unref(props).autocomplete || void 0,\n readonly: unref(props).readonly || unref(props).plaintext,\n \"aria-required\": unref(props).required || void 0,\n \"aria-invalid\": unref(computedAriaInvalid),\n rows: unref(computedRows) || 2,\n style: normalizeStyle(computedStyles.value),\n wrap: unref(props).wrap || void 0,\n onInput: _cache[0] || (_cache[0] = (e) => {\n unref(onInput)(e);\n unref(handleHeightChange)();\n }),\n onChange: _cache[1] || (_cache[1] = //@ts-ignore\n (...args) => unref(onChange) && unref(onChange)(...args)),\n onBlur: _cache[2] || (_cache[2] = //@ts-ignore\n (...args) => unref(onBlur) && unref(onBlur)(...args))\n }, null, 46, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BFormTextarea.vue_vue_type_script_setup_true_lang-Dsl-lX8t.mjs.map\n","import { defineComponent, computed, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, renderSlot, createTextVNode, toDisplayString } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nconst _sfc_main$3 = /* @__PURE__ */ defineComponent({\n __name: \"BFormInvalidFeedback\",\n props: {\n ariaLive: { default: void 0 },\n forceShow: { type: Boolean, default: false },\n id: { default: void 0 },\n role: { default: void 0 },\n state: { type: [Boolean, null], default: null },\n tag: { default: \"div\" },\n text: { default: void 0 },\n tooltip: { type: Boolean, default: false }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormInvalidFeedback\");\n const computedShow = computed(() => props.forceShow === true || props.state === false);\n const computedClasses = computed(() => ({\n \"d-block\": computedShow.value,\n \"invalid-feedback\": !props.tooltip,\n \"invalid-tooltip\": props.tooltip\n }));\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n id: unref(props).id,\n role: unref(props).role,\n \"aria-live\": unref(props).ariaLive,\n \"aria-atomic\": unref(props).ariaLive ? true : void 0,\n class: normalizeClass(computedClasses.value)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(unref(props).text), 1)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"role\", \"aria-live\", \"aria-atomic\", \"class\"]);\n };\n }\n});\nconst _sfc_main$2 = /* @__PURE__ */ defineComponent({\n __name: \"BFormRow\",\n props: {\n tag: { default: \"div\" }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormRow\");\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), { class: \"row d-flex flex-wrap\" }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n });\n };\n }\n});\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BFormText\",\n props: {\n id: { default: void 0 },\n inline: { type: Boolean, default: false },\n tag: { default: \"small\" },\n text: { default: void 0 },\n textVariant: { default: \"body-secondary\" }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormText\");\n const colorClasses = useColorVariantClasses(props);\n const computedClasses = computed(() => [\n colorClasses.value,\n {\n \"form-text\": !props.inline\n }\n ]);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n id: unref(props).id,\n class: normalizeClass(computedClasses.value)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(unref(props).text), 1)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"class\"]);\n };\n }\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormValidFeedback\",\n props: {\n ariaLive: { default: void 0 },\n forceShow: { type: Boolean, default: false },\n id: { default: void 0 },\n role: { default: void 0 },\n state: { type: [Boolean, null], default: null },\n tag: { default: \"div\" },\n text: { default: void 0 },\n tooltip: { type: Boolean, default: false }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormInvalidFeedback\");\n const computedShow = computed(() => props.forceShow === true || props.state === true);\n const computedClasses = computed(() => ({\n \"d-block\": computedShow.value,\n \"valid-feedback\": !props.tooltip,\n \"valid-tooltip\": props.tooltip\n }));\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n id: unref(props).id,\n role: unref(props).role,\n \"aria-live\": unref(props).ariaLive,\n \"aria-atomic\": unref(props).ariaLive ? true : void 0,\n class: normalizeClass(computedClasses.value)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(unref(props).text), 1)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"role\", \"aria-live\", \"aria-atomic\", \"class\"]);\n };\n }\n});\nexport {\n _sfc_main$3 as _,\n _sfc_main$2 as a,\n _sfc_main$1 as b,\n _sfc_main as c\n};\n//# sourceMappingURL=BFormValidFeedback.vue_vue_type_script_setup_true_lang-D2f9fSp7.mjs.map\n","import { defineComponent, useTemplateRef, computed, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nconst _hoisted_1 = [\"id\", \"novalidate\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BForm\",\n props: {\n floating: { type: Boolean, default: false },\n id: { default: void 0 },\n novalidate: { type: Boolean, default: false },\n validated: { type: Boolean, default: false }\n },\n setup(__props, { expose: __expose }) {\n const _props = __props;\n const props = useDefaults(_props, \"BForm\");\n const element = useTemplateRef(\"_element\");\n const computedClasses = computed(() => ({\n \"form-floating\": props.floating,\n \"was-validated\": props.validated\n }));\n __expose({\n element\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"form\", {\n id: unref(props).id,\n ref: \"_element\",\n novalidate: unref(props).novalidate,\n class: normalizeClass(computedClasses.value)\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 10, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BForm.vue_vue_type_script_setup_true_lang-PYY2WOtY.mjs.map\n","import { computed, toValue, defineComponent, provide, toRef, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, createElementBlock, renderSlot, mergeProps, inject, createElementVNode } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { v as navbarInjectionKey, g as globalShowHideStorageInjectionKey } from \"./keys-D3gOZjD-.mjs\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nimport { u as useBLinkHelper, _ as _sfc_main$4 } from \"./BLink.vue_vue_type_script_setup_true_lang-CinzoAgQ.mjs\";\nimport { u as useAlignment } from \"./useAlignment-Cw-9AVid.mjs\";\nconst useContainerClasses = (value) => computed(() => {\n const resolvedValue = toValue(value);\n return {\n container: resolvedValue === true,\n [`container-${resolvedValue}`]: typeof resolvedValue === \"string\"\n };\n});\nconst _sfc_main$3 = /* @__PURE__ */ defineComponent({\n __name: \"BNavbar\",\n props: {\n autoClose: { type: Boolean, default: true },\n container: { type: [Boolean, String], default: \"fluid\" },\n fixed: { default: void 0 },\n print: { type: Boolean, default: false },\n sticky: { default: void 0 },\n tag: { default: \"nav\" },\n toggleable: { type: [Boolean, String], default: false },\n variant: { default: null }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BNavbar\");\n const computedRole = computed(() => props.tag === \"nav\" ? void 0 : \"navigation\");\n const containerClass = useContainerClasses(() => props.container);\n const colorClasses = useColorVariantClasses(\n computed(() => ({\n bgVariant: props.variant\n }))\n );\n const computedClasses = computed(() => [\n colorClasses.value,\n {\n \"d-print\": props.print,\n [`sticky-${props.sticky}`]: props.sticky !== void 0,\n [`fixed-${props.fixed}`]: props.fixed !== void 0,\n \"navbar-expand\": props.toggleable === false,\n [`navbar-expand-${props.toggleable}`]: typeof props.toggleable === \"string\"\n }\n ]);\n provide(navbarInjectionKey, {\n tag: toRef(() => props.tag),\n autoClose: toRef(() => props.autoClose)\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n class: normalizeClass([\"navbar\", computedClasses.value]),\n role: computedRole.value\n }, {\n default: withCtx(() => [\n unref(props).container !== false ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(containerClass))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2)) : renderSlot(_ctx.$slots, \"default\", { key: 1 })\n ]),\n _: 3\n }, 8, [\"class\", \"role\"]);\n };\n }\n});\nconst _sfc_main$2 = /* @__PURE__ */ defineComponent({\n __name: \"BNavbarBrand\",\n props: {\n tag: { default: \"div\" },\n active: { type: Boolean, default: void 0 },\n activeClass: { default: void 0 },\n disabled: { type: Boolean, default: void 0 },\n exactActiveClass: { default: void 0 },\n href: { default: void 0 },\n icon: { type: Boolean, default: void 0 },\n noRel: { type: Boolean },\n opacity: { default: void 0 },\n opacityHover: { default: void 0 },\n prefetch: { type: Boolean },\n prefetchOn: {},\n noPrefetch: { type: Boolean },\n prefetchedClass: {},\n rel: { default: void 0 },\n replace: { type: Boolean, default: void 0 },\n routerComponentName: { default: void 0 },\n stretched: { type: Boolean, default: false },\n target: { default: void 0 },\n to: { default: void 0 },\n underlineOffset: { default: void 0 },\n underlineOffsetHover: { default: void 0 },\n underlineOpacity: { default: void 0 },\n underlineOpacityHover: { default: void 0 },\n underlineVariant: { default: void 0 },\n variant: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BNavbarBrand\");\n const { computedLink, computedLinkProps } = useBLinkHelper(props, [\n \"active\",\n \"activeClass\",\n \"append\",\n \"disabled\",\n \"href\",\n \"rel\",\n \"replace\",\n \"routerComponentName\",\n \"target\",\n \"to\",\n \"variant\",\n \"opacity\",\n \"opacityHover\",\n \"underlineVariant\",\n \"underlineOffset\",\n \"underlineOffsetHover\",\n \"underlineOpacity\",\n \"underlineOpacityHover\",\n \"icon\"\n ]);\n const computedTag = computed(() => computedLink.value ? _sfc_main$4 : props.tag);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(computedTag.value), mergeProps({ class: \"navbar-brand\" }, unref(computedLinkProps)), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16);\n };\n }\n});\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BNavbarNav\",\n props: {\n align: { default: void 0 },\n fill: { type: Boolean, default: false },\n justified: { type: Boolean, default: false },\n small: { type: Boolean, default: false },\n tag: { default: \"ul\" }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BNavbarNav\");\n const alignment = useAlignment(() => props.align);\n const computedClasses = computed(() => ({\n \"nav-fill\": props.fill,\n \"nav-justified\": props.justified,\n [alignment.value]: props.align !== void 0,\n \"small\": props.small\n }));\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"ul\", {\n class: normalizeClass([\"navbar-nav\", computedClasses.value])\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nconst _hoisted_1 = [\"disabled\", \"aria-label\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BNavbarToggle\",\n props: {\n disabled: { type: Boolean, default: false },\n label: { default: \"Toggle navigation\" },\n target: { default: void 0 }\n },\n emits: [\"click\"],\n setup(__props, { emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BNavbarToggle\");\n const emit = __emit;\n const computedClasses = computed(() => ({\n disabled: props.disabled\n }));\n const showHideData = inject(globalShowHideStorageInjectionKey, void 0);\n const collapseExpanded = computed(() => {\n var _a;\n if (!props.target || !showHideData) return false;\n if (typeof props.target === \"string\") return ((_a = showHideData.map[props.target]) == null ? void 0 : _a.value) || false;\n return props.target.some((target) => {\n var _a2;\n return (_a2 = showHideData.map[target]) == null ? void 0 : _a2.value;\n });\n });\n const toggleExpand = () => {\n var _a;\n if (!props.target || !showHideData) return;\n if (typeof props.target === \"string\") {\n (_a = showHideData.map[props.target]) == null ? void 0 : _a.toggle();\n return;\n }\n props.target.forEach((target) => {\n var _a2;\n return (_a2 = showHideData.map[target]) == null ? void 0 : _a2.toggle();\n });\n };\n const onClick = (e) => {\n if (!props.disabled) {\n emit(\"click\", e);\n toggleExpand();\n }\n };\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"button\", {\n class: normalizeClass([\"navbar-toggler\", computedClasses.value]),\n type: \"button\",\n disabled: unref(props).disabled,\n \"aria-label\": unref(props).label,\n onClick\n }, [\n renderSlot(_ctx.$slots, \"default\", { expanded: collapseExpanded.value }, () => [\n _cache[0] || (_cache[0] = createElementVNode(\"span\", { class: \"navbar-toggler-icon\" }, null, -1))\n ])\n ], 10, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main$3 as _,\n _sfc_main$2 as a,\n _sfc_main$1 as b,\n _sfc_main as c\n};\n//# sourceMappingURL=BNavbarToggle.vue_vue_type_script_setup_true_lang-Cr7xqOoW.mjs.map\n","import { defineComponent, useAttrs, computed, createElementBlock, openBlock, mergeProps, createBlock, resolveDynamicComponent, unref, createElementVNode, renderSlot, normalizeClass, withCtx, createTextVNode, toDisplayString, inject } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nimport { u as useBLinkHelper, _ as _sfc_main$7 } from \"./BLink.vue_vue_type_script_setup_true_lang-CinzoAgQ.mjs\";\nimport { c as collapseInjectionKey, s as dropdownInjectionKey, v as navbarInjectionKey } from \"./keys-D3gOZjD-.mjs\";\nconst _sfc_main$6 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BDropdownDivider\",\n props: {\n dividerClass: { default: void 0 },\n tag: { default: \"hr\" },\n variant: {},\n wrapperAttrs: { default: void 0 }\n },\n setup(__props) {\n const attrs = useAttrs();\n const processedAttrs = computed(() => {\n const { class: wrapperClass, ...dividerAttrs } = attrs;\n return { wrapperClass, dividerAttrs };\n });\n const _props = __props;\n const props = useDefaults(_props, \"BDropdownDivider\");\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", mergeProps({\n role: \"presentation\",\n class: processedAttrs.value.wrapperClass\n }, _ctx.wrapperAttrs), [\n (openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), mergeProps({\n class: [\"dropdown-divider\", unref(props).dividerClass],\n role: \"separator\",\n \"aria-orientation\": \"horizontal\"\n }, processedAttrs.value.dividerAttrs), null, 16, [\"class\"]))\n ], 16);\n };\n }\n});\nconst _hoisted_1$2 = [\"novalidate\"];\nconst _sfc_main$5 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BDropdownForm\",\n props: {\n formClass: { default: void 0 },\n novalidate: { type: Boolean, default: void 0 },\n validated: { type: Boolean, default: void 0 },\n wrapperAttrs: { default: void 0 }\n },\n setup(__props) {\n const attrs = useAttrs();\n const processedAttrs = computed(() => {\n const { class: wrapperClass, ...formAttrs } = attrs;\n return { wrapperClass, formAttrs };\n });\n const _props = __props;\n const props = useDefaults(_props, \"BDropdownForm\");\n const computedClasses = computed(() => ({\n \"was-validated\": props.validated,\n ...props.formClass\n }));\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", mergeProps({\n role: \"presentation\",\n class: processedAttrs.value.wrapperClass\n }, unref(props).wrapperAttrs), [\n createElementVNode(\"form\", mergeProps({\n class: [\"dropdown-item-text\", computedClasses.value],\n novalidate: unref(props).novalidate\n }, processedAttrs.value.formAttrs), [\n renderSlot(_ctx.$slots, \"default\")\n ], 16, _hoisted_1$2)\n ], 16);\n };\n }\n});\nconst _hoisted_1$1 = { role: \"presentation\" };\nconst _hoisted_2 = [\"id\", \"aria-describedby\"];\nconst _sfc_main$4 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BDropdownGroup\",\n props: {\n ariaDescribedby: { default: void 0 },\n header: { default: void 0 },\n headerClass: { default: void 0 },\n headerTag: { default: \"header\" },\n headerVariant: { default: null },\n id: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BDropdownGroup\");\n const headerId = computed(() => props.id ? `${props.id}_group_dd_header` : void 0);\n const headerRole = computed(() => props.headerTag === \"header\" ? void 0 : \"heading\");\n const colorClasses = useColorVariantClasses(\n computed(() => ({\n textVariant: props.headerVariant\n }))\n );\n const computedClasses = computed(() => [props.headerClass, colorClasses.value]);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", _hoisted_1$1, [\n (openBlock(), createBlock(resolveDynamicComponent(unref(props).headerTag), {\n id: headerId.value,\n class: normalizeClass([\"dropdown-header\", computedClasses.value]),\n role: headerRole.value\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"header\", {}, () => [\n createTextVNode(toDisplayString(unref(props).header), 1)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"class\", \"role\"])),\n createElementVNode(\"ul\", mergeProps({\n id: unref(props).id,\n role: \"group\",\n class: \"list-unstyled\"\n }, _ctx.$attrs, {\n \"aria-describedby\": unref(props).ariaDescribedby || headerId.value\n }), [\n renderSlot(_ctx.$slots, \"default\")\n ], 16, _hoisted_2)\n ]);\n };\n }\n});\nconst _sfc_main$3 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BDropdownHeader\",\n props: {\n headerClass: { default: void 0 },\n tag: { default: \"h6\" },\n text: { default: void 0 },\n variant: { default: null },\n wrapperAttrs: { default: void 0 }\n },\n setup(__props) {\n const attrs = useAttrs();\n const processedAttrs = computed(() => {\n const { class: wrapperClass, ...headerAttrs } = attrs;\n return { wrapperClass, headerAttrs };\n });\n const _props = __props;\n const props = useDefaults(_props, \"BDropdownHeader\");\n const colorClasses = useColorVariantClasses(\n computed(() => ({\n textVariant: props.variant\n }))\n );\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", mergeProps({\n role: \"presentation\",\n class: processedAttrs.value.wrapperClass\n }, _ctx.wrapperAttrs), [\n (openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), mergeProps({\n class: [\"dropdown-header\", [unref(colorClasses), unref(props).headerClass]]\n }, processedAttrs.value.headerAttrs), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(unref(props).text), 1)\n ])\n ]),\n _: 3\n }, 16, [\"class\"]))\n ], 16);\n };\n }\n});\nconst _sfc_main$2 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BDropdownItem\",\n props: {\n linkClass: { default: void 0 },\n wrapperAttrs: { default: void 0 },\n active: { type: Boolean, default: void 0 },\n activeClass: { default: void 0 },\n disabled: { type: Boolean, default: void 0 },\n exactActiveClass: { default: void 0 },\n href: { default: void 0 },\n icon: { type: Boolean, default: void 0 },\n noRel: { type: Boolean },\n opacity: { default: void 0 },\n opacityHover: { default: void 0 },\n prefetch: { type: Boolean },\n prefetchOn: {},\n noPrefetch: { type: Boolean },\n prefetchedClass: {},\n rel: { default: void 0 },\n replace: { type: Boolean, default: void 0 },\n routerComponentName: { default: void 0 },\n stretched: { type: Boolean, default: false },\n target: { default: void 0 },\n to: { default: void 0 },\n underlineOffset: { default: void 0 },\n underlineOffsetHover: { default: void 0 },\n underlineOpacity: { default: void 0 },\n underlineOpacityHover: { default: void 0 },\n underlineVariant: { default: void 0 },\n variant: { default: null }\n },\n emits: [\"click\"],\n setup(__props, { emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BDropdownItem\");\n const emit = __emit;\n const attrs = useAttrs();\n const processedAttrs = computed(() => {\n const { class: wrapperClass, ...dropdownItemAttrs } = attrs;\n return { wrapperClass, dropdownItemAttrs };\n });\n const { computedLink, computedLinkProps } = useBLinkHelper(props);\n const colorClasses = useColorVariantClasses(\n computed(() => ({\n textVariant: props.variant\n }))\n );\n const computedClasses = computed(() => [\n props.linkClass,\n colorClasses.value,\n {\n active: props.active,\n disabled: props.disabled\n }\n ]);\n const computedTag = computed(() => computedLink.value ? _sfc_main$7 : props.href ? \"a\" : \"button\");\n const collapseData = inject(collapseInjectionKey, null);\n const dropdownData = inject(dropdownInjectionKey, null);\n const navbarData = inject(navbarInjectionKey, null);\n const clicked = (e) => {\n var _a, _b, _c;\n emit(\"click\", e);\n if (navbarData !== null && ((_a = navbarData == null ? void 0 : navbarData.autoClose) == null ? void 0 : _a.value) === true) {\n (_b = collapseData == null ? void 0 : collapseData.hide) == null ? void 0 : _b.call(collapseData);\n }\n (_c = dropdownData == null ? void 0 : dropdownData.hide) == null ? void 0 : _c.call(dropdownData);\n };\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", mergeProps({\n role: \"presentation\",\n class: processedAttrs.value.wrapperClass\n }, unref(props).wrapperAttrs), [\n (openBlock(), createBlock(resolveDynamicComponent(computedTag.value), mergeProps({\n class: [\"dropdown-item\", computedClasses.value],\n disabled: unref(props).disabled,\n \"aria-disabled\": unref(props).disabled ? true : null,\n \"aria-current\": unref(props).active ? true : null,\n href: computedTag.value === \"a\" ? unref(props).href : null,\n rel: unref(props).rel,\n role: \"menuitem\",\n type: computedTag.value === \"button\" ? \"button\" : null,\n target: unref(props).target\n }, { ...unref(computedLinkProps), ...processedAttrs.value.dropdownItemAttrs }, { onClick: clicked }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"class\", \"disabled\", \"aria-disabled\", \"aria-current\", \"href\", \"rel\", \"type\", \"target\"]))\n ], 16);\n };\n }\n});\nconst _hoisted_1 = [\"disabled\"];\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BDropdownItemButton\",\n props: {\n active: { type: Boolean, default: false },\n activeClass: { default: \"active\" },\n buttonClass: { default: void 0 },\n wrapperAttrs: { default: void 0 },\n disabled: { type: Boolean, default: false },\n variant: { default: null }\n },\n emits: [\"click\"],\n setup(__props, { emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BDropdownItemButton\");\n const emit = __emit;\n const attrs = useAttrs();\n const processedAttrs = computed(() => {\n const { class: wrapperClass, ...buttonAttrs } = attrs;\n return { wrapperClass, buttonAttrs };\n });\n const colorClasses = useColorVariantClasses(\n computed(() => ({\n textVariant: props.variant\n }))\n );\n const computedClasses = computed(() => [\n props.buttonClass,\n colorClasses.value,\n {\n [props.activeClass]: props.active,\n disabled: props.disabled\n }\n ]);\n const clicked = (e) => {\n if (props.disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n emit(\"click\", e);\n };\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", mergeProps({\n role: \"presentation\",\n class: processedAttrs.value.wrapperClass\n }, unref(props).wrapperAttrs), [\n createElementVNode(\"button\", mergeProps({\n role: \"menu\",\n type: \"button\",\n class: [\"dropdown-item\", computedClasses.value],\n disabled: unref(props).disabled\n }, processedAttrs.value.buttonAttrs, { onClick: clicked }), [\n renderSlot(_ctx.$slots, \"default\")\n ], 16, _hoisted_1)\n ], 16);\n };\n }\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BDropdownText\",\n props: {\n textClass: { default: void 0 },\n tag: { default: \"span\" },\n text: { default: void 0 },\n variant: { default: null },\n wrapperAttrs: { default: void 0 }\n },\n setup(__props) {\n const attrs = useAttrs();\n const processedAttrs = computed(() => {\n const { class: wrapperClass, ...textAttrs } = attrs;\n return { wrapperClass, textAttrs };\n });\n const _props = __props;\n const props = useDefaults(_props, \"BDropdownText\");\n const colorClasses = useColorVariantClasses(\n computed(() => ({\n textVariant: props.variant\n }))\n );\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"li\", mergeProps({\n role: \"presentation\",\n class: processedAttrs.value.wrapperClass\n }, _ctx.wrapperAttrs), [\n (openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), mergeProps({\n class: [\"dropdown-item-text\", [unref(colorClasses), unref(props).textClass]]\n }, processedAttrs.value.textAttrs), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(unref(props).text), 1)\n ])\n ]),\n _: 3\n }, 16, [\"class\"]))\n ], 16);\n };\n }\n});\nexport {\n _sfc_main$6 as _,\n _sfc_main$5 as a,\n _sfc_main$4 as b,\n _sfc_main$3 as c,\n _sfc_main$2 as d,\n _sfc_main$1 as e,\n _sfc_main as f\n};\n//# sourceMappingURL=BDropdownText.vue_vue_type_script_setup_true_lang-BbFXYMbV.mjs.map\n","import { defineComponent, mergeModels, useSlots, useModel, useTemplateRef, computed, watch, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, unref, normalizeClass, renderSlot, createTextVNode, toDisplayString, mergeProps } from \"vue\";\nimport { u as useFocus } from \"./index-cC189kCW.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { u as useStateClass } from \"./useStateClass-BGbSLWFN.mjs\";\nimport { i as isEmptySlot } from \"./dom-BK2w00Ec.mjs\";\nconst _hoisted_1 = [\"for\"];\nconst _hoisted_2 = [\"id\", \"form\", \"name\", \"multiple\", \"disabled\", \"capture\", \"accept\", \"required\", \"aria-label\", \"aria-labelledby\", \"aria-required\", \"directory\", \"webkitdirectory\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BFormFile\",\n props: /* @__PURE__ */ mergeModels({\n ariaLabel: { default: void 0 },\n ariaLabelledby: { default: void 0 },\n accept: { default: \"\" },\n autofocus: { type: Boolean, default: false },\n capture: { type: [Boolean, String], default: void 0 },\n directory: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n form: { default: void 0 },\n id: { default: void 0 },\n label: { default: \"\" },\n labelClass: { default: void 0 },\n multiple: { type: Boolean, default: false },\n name: { default: void 0 },\n noButton: { type: Boolean, default: false },\n noDrop: { type: Boolean, default: false },\n noTraverse: { type: Boolean, default: false },\n plain: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n size: { default: void 0 },\n state: { type: [Boolean, null], default: null }\n }, {\n \"modelValue\": {\n default: null\n },\n \"modelModifiers\": {}\n }),\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose }) {\n const slots = useSlots();\n const _props = __props;\n const props = useDefaults(_props, \"BFormFile\");\n const modelValue = useModel(__props, \"modelValue\");\n const computedId = useId(() => props.id);\n const stateClass = useStateClass(() => props.state);\n const input = useTemplateRef(\"_input\");\n const { focused } = useFocus(input, { initialValue: props.autofocus });\n const hasLabelSlot = computed(() => !isEmptySlot(slots[\"label\"]));\n const computedAccept = computed(\n () => typeof props.accept === \"string\" ? props.accept : props.accept.join(\",\")\n );\n const computedClasses = computed(() => [\n stateClass.value,\n {\n [`form-control-${props.size}`]: props.size !== void 0,\n \"form-control\": !props.plain,\n \"form-control-input-file-hide-button\": props.noButton\n }\n ]);\n const onChange = () => {\n var _a, _b;\n const value = ((_a = input.value) == null ? void 0 : _a.files) === null || ((_b = input.value) == null ? void 0 : _b.files) === void 0 ? null : [...input.value.files];\n modelValue.value = value === null ? null : props.multiple === true ? value : value[0];\n };\n const onDrop = (e) => {\n if (props.noDrop === true) {\n e.preventDefault();\n }\n };\n const reset = () => {\n modelValue.value = null;\n };\n watch(modelValue, (newValue) => {\n if (newValue === null && input.value !== null) {\n input.value.value = \"\";\n }\n });\n __expose({\n blur: () => {\n focused.value = false;\n },\n element: input,\n focus: () => {\n focused.value = true;\n },\n reset\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(Fragment, null, [\n hasLabelSlot.value || unref(props).label ? (openBlock(), createElementBlock(\"label\", {\n key: 0,\n class: normalizeClass([\"form-label\", unref(props).labelClass]),\n for: unref(computedId)\n }, [\n renderSlot(_ctx.$slots, \"label\", {}, () => [\n createTextVNode(toDisplayString(unref(props).label), 1)\n ])\n ], 10, _hoisted_1)) : createCommentVNode(\"\", true),\n createElementVNode(\"input\", mergeProps({ id: unref(computedId) }, _ctx.$attrs, {\n ref: \"_input\",\n type: \"file\",\n class: computedClasses.value,\n form: unref(props).form,\n name: unref(props).name,\n multiple: unref(props).multiple,\n disabled: unref(props).disabled,\n capture: unref(props).capture,\n accept: computedAccept.value || void 0,\n required: unref(props).required || void 0,\n \"aria-label\": unref(props).ariaLabel,\n \"aria-labelledby\": unref(props).ariaLabelledby,\n \"aria-required\": unref(props).required || void 0,\n directory: unref(props).directory,\n webkitdirectory: unref(props).directory,\n onChange,\n onDrop\n }), null, 16, _hoisted_2)\n ], 64);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BFormFile.vue_vue_type_script_setup_true_lang-C2z3iqJ-.mjs.map\n","import { defineComponent, provide, computed, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, renderSlot, createElementBlock, createCommentVNode, createElementVNode, toDisplayString, createTextVNode } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { l as inputGroupKey } from \"./keys-D3gOZjD-.mjs\";\nconst _hoisted_1 = {\n key: 0,\n class: \"input-group-text\"\n};\nconst _hoisted_2 = {\n key: 0,\n class: \"input-group-text\"\n};\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BInputGroup\",\n props: {\n append: { default: void 0 },\n id: { default: void 0 },\n prepend: { default: void 0 },\n size: { default: \"md\" },\n tag: { default: \"div\" }\n },\n setup(__props) {\n provide(inputGroupKey, true);\n const _props = __props;\n const props = useDefaults(_props, \"BInputGroup\");\n const computedClasses = computed(() => ({\n [`input-group-${props.size}`]: props.size !== \"md\"\n }));\n const hasAppend = computed(() => !!props.append);\n const hasPrepend = computed(() => !!props.prepend);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n id: unref(props).id,\n class: normalizeClass([\"input-group\", computedClasses.value]),\n role: \"group\"\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"prepend\", {}, () => [\n hasPrepend.value ? (openBlock(), createElementBlock(\"span\", _hoisted_1, [\n createElementVNode(\"span\", null, toDisplayString(unref(props).prepend), 1)\n ])) : createCommentVNode(\"\", true)\n ]),\n renderSlot(_ctx.$slots, \"default\"),\n renderSlot(_ctx.$slots, \"append\", {}, () => [\n hasAppend.value ? (openBlock(), createElementBlock(\"span\", _hoisted_2, [\n createElementVNode(\"span\", null, toDisplayString(unref(props).append), 1)\n ])) : createCommentVNode(\"\", true)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"class\"]);\n };\n }\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BInputGroupText\",\n props: {\n tag: { default: \"div\" },\n text: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BInputGroupText\");\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), { class: \"input-group-text\" }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(unref(props).text), 1)\n ])\n ]),\n _: 3\n });\n };\n }\n});\nexport {\n _sfc_main$1 as _,\n _sfc_main as a\n};\n//# sourceMappingURL=BInputGroupText.vue_vue_type_script_setup_true_lang-BVvl0U34.mjs.map\n","import { defineComponent, useSlots, toRef, ref, provide, computed, useTemplateRef, createBlock, openBlock, resolveDynamicComponent, normalizeClass, unref, withCtx, createVNode, createElementBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, Fragment, normalizeProps, mergeProps } from \"vue\";\nimport { u as useAriaInvalid } from \"./useAriaInvalid-BTUbGj3Y.mjs\";\nimport { a as isVisible, b as attemptFocus } from \"./dom-BK2w00Ec.mjs\";\nimport { _ as _sfc_main$4 } from \"./BCol.vue_vue_type_script_setup_true_lang-D9P1sZki.mjs\";\nimport { _ as _sfc_main$1, c as _sfc_main$2, b as _sfc_main$3, a as _sfc_main$5 } from \"./BFormValidFeedback.vue_vue_type_script_setup_true_lang-D2f9fSp7.mjs\";\nimport { u as upperFirst } from \"./stringUtils-mwxHpj6j.mjs\";\nimport { u as useStateClass } from \"./useStateClass-BGbSLWFN.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { f as createReusableTemplate } from \"./index-cC189kCW.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { j as formGroupPluginKey } from \"./keys-D3gOZjD-.mjs\";\nconst suffixPropName = (suffix, value) => value + (suffix ? upperFirst(suffix) : \"\");\nconst _hoisted_1 = {\n key: 0,\n ref: \"_content\",\n class: \"form-floating\"\n};\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormGroup\",\n props: {\n contentCols: { type: [Boolean, String, Number], default: void 0 },\n labelCols: { type: [Boolean, String, Number], default: void 0 },\n labelAlign: { default: void 0 },\n ariaInvalid: { type: [Boolean, String], default: void 0 },\n description: { default: void 0 },\n disabled: { type: Boolean, default: false },\n feedbackAriaLive: { default: \"assertive\" },\n floating: { type: Boolean, default: false },\n id: { default: void 0 },\n invalidFeedback: { default: void 0 },\n label: { default: void 0 },\n labelClass: { default: void 0 },\n labelFor: { default: void 0 },\n labelSize: { default: void 0 },\n labelVisuallyHidden: { type: Boolean, default: false },\n state: { type: [Boolean, null], default: null },\n tooltip: { type: Boolean, default: false },\n validFeedback: { default: void 0 },\n validated: { type: Boolean, default: false },\n contentColsSm: { type: [Boolean, String, Number], default: void 0 },\n contentColsMd: { type: [Boolean, String, Number], default: void 0 },\n contentColsLg: { type: [Boolean, String, Number], default: void 0 },\n contentColsXl: { type: [Boolean, String, Number], default: void 0 },\n labelColsSm: { type: [Boolean, String, Number], default: void 0 },\n labelColsMd: { type: [Boolean, String, Number], default: void 0 },\n labelColsLg: { type: [Boolean, String, Number], default: void 0 },\n labelColsXl: { type: [Boolean, String, Number], default: void 0 },\n labelAlignSm: { default: void 0 },\n labelAlignMd: { default: void 0 },\n labelAlignLg: { default: void 0 },\n labelAlignXl: { default: void 0 }\n },\n setup(__props) {\n const INPUTS = [\"input\", \"select\", \"textarea\"];\n const _props = __props;\n const props = useDefaults(_props, \"BFormGroup\");\n const slots = useSlots();\n const LabelContentTemplate = createReusableTemplate();\n const ContentTemplate = createReusableTemplate();\n const computedState = toRef(() => props.state);\n const childId = ref([]);\n provide(formGroupPluginKey, (id) => {\n childId.value = [id];\n return {\n state: computedState\n };\n });\n const computedLabelFor = computed(() => {\n if (props.labelFor !== void 0) return props.labelFor;\n if (childId.value[0] && childId.value[0].value) return childId.value[0].value;\n return null;\n });\n const breakPoints = [\"xs\", \"sm\", \"md\", \"lg\", \"xl\"];\n const getColProps = (props2, prefix) => (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n breakPoints.reduce((result, breakpoint) => {\n const suffix = suffixPropName(breakpoint === \"xs\" ? \"\" : breakpoint, `${prefix}Cols`);\n let propValue = props2[suffix];\n propValue = propValue === \"\" ? true : propValue || false;\n if (!(typeof propValue === \"boolean\") && propValue !== \"auto\") {\n const val = Number.parseInt(propValue);\n propValue = Number.isNaN(val) ? 0 : val;\n propValue = propValue > 0 ? propValue : false;\n }\n if (propValue) {\n if (breakpoint === \"xs\") {\n result[typeof propValue === \"boolean\" ? \"col\" : \"cols\"] = propValue;\n } else {\n result[breakpoint || (typeof propValue === \"boolean\" ? \"col\" : \"cols\")] = propValue;\n }\n }\n return result;\n }, {})\n );\n const content = useTemplateRef(\"_content\");\n const contentColProps = computed(() => getColProps(props, \"content\"));\n const labelAlignClasses = computed(\n () => ((props2, prefix) => breakPoints.reduce((result, breakpoint) => {\n const suffix = suffixPropName(\n breakpoint === \"xs\" ? \"\" : breakpoint,\n `${prefix}Align`\n );\n const propValue = props2[suffix] || null;\n if (propValue) {\n if (breakpoint === \"xs\") {\n result.push(`text-${propValue}`);\n } else {\n result.push(`text-${breakpoint}-${propValue}`);\n }\n }\n return result;\n }, []))(props, \"label\")\n );\n const labelColProps = computed(() => getColProps(props, \"label\"));\n const isHorizontal = computed(\n () => Object.keys(contentColProps.value).length > 0 || Object.keys(labelColProps.value).length > 0\n );\n const stateClass = useStateClass(computedState);\n const computedAriaInvalid = useAriaInvalid(() => props.ariaInvalid, computedState);\n const onLegendClick = (event) => {\n if (computedLabelFor.value || content.value === null) return;\n const { target } = event;\n const tagName = target ? target.tagName : \"\";\n if ([...INPUTS, \"a\", \"button\", \"label\"].indexOf(tagName) !== -1) return;\n const inputs = [\n ...content.value.querySelectorAll(INPUTS.map((v) => `${v}:not([disabled])`).join())\n ].filter(isVisible);\n const [inp] = inputs;\n if (inputs.length === 1 && inp instanceof HTMLElement) {\n attemptFocus(inp);\n }\n };\n const computedId = useId(() => props.id);\n const labelId = useId(void 0, \"_BV_label_\");\n const labelTag = computed(() => !computedLabelFor.value ? \"legend\" : \"label\");\n const labelClasses = computed(() => [\n isHorizontal.value ? \"col-form-label\" : \"form-label\",\n {\n \"bv-no-focus-ring\": !computedLabelFor.value,\n \"col-form-label\": isHorizontal.value || !computedLabelFor.value,\n \"pt-0\": !isHorizontal.value && !computedLabelFor.value,\n \"d-block\": !isHorizontal.value && computedLabelFor.value,\n [`col-form-label-${props.labelSize}`]: !!props.labelSize,\n \"visually-hidden\": props.labelVisuallyHidden\n },\n labelAlignClasses.value,\n props.labelClass\n ]);\n const invalidFeedbackId = useId(void 0, \"_BV_feedback_invalid_\");\n const validFeedbackId = useId(void 0, \"_BV_feedback_valid_\");\n const descriptionId = useId(void 0, \"_BV_description_\");\n const isFieldset = computed(() => !computedLabelFor.value);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(isFieldset.value ? \"fieldset\" : \"div\"), {\n id: unref(computedId),\n disabled: isFieldset.value ? unref(props).disabled : null,\n role: isFieldset.value ? null : \"group\",\n \"aria-invalid\": unref(computedAriaInvalid),\n \"aria-labelledby\": isFieldset.value && isHorizontal.value ? unref(labelId) : null,\n class: normalizeClass([[unref(stateClass), { \"was-validated\": unref(props).validated }], \"b-form-group\"])\n }, {\n default: withCtx(() => [\n createVNode(unref(ContentTemplate).define, null, {\n default: withCtx(() => [\n slots[\"invalid-feedback\"] || unref(props).invalidFeedback ? (openBlock(), createBlock(_sfc_main$1, {\n key: 0,\n id: unref(invalidFeedbackId),\n \"aria-live\": unref(props).feedbackAriaLive,\n state: computedState.value,\n tooltip: unref(props).tooltip\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"invalid-feedback\", {}, () => [\n createTextVNode(toDisplayString(unref(props).invalidFeedback), 1)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"aria-live\", \"state\", \"tooltip\"])) : createCommentVNode(\"\", true),\n slots[\"valid-feedback\"] || unref(props).validFeedback ? (openBlock(), createBlock(_sfc_main$2, {\n key: 1,\n id: unref(validFeedbackId),\n \"aria-live\": unref(props).feedbackAriaLive,\n state: computedState.value,\n tooltip: unref(props).tooltip\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"valid-feedback\", {}, () => [\n createTextVNode(toDisplayString(unref(props).validFeedback), 1)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"aria-live\", \"state\", \"tooltip\"])) : createCommentVNode(\"\", true),\n slots.description || unref(props).description ? (openBlock(), createBlock(_sfc_main$3, {\n key: 2,\n id: unref(descriptionId)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"description\", {}, () => [\n createTextVNode(toDisplayString(unref(props).description), 1)\n ])\n ]),\n _: 3\n }, 8, [\"id\"])) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }),\n createVNode(unref(LabelContentTemplate).define, null, {\n default: withCtx(() => [\n slots.label || unref(props).label || isHorizontal.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n isHorizontal.value ? (openBlock(), createBlock(_sfc_main$4, normalizeProps(mergeProps({ key: 0 }, labelColProps.value)), {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(labelTag.value), {\n id: unref(labelId),\n for: computedLabelFor.value || null,\n tabindex: isFieldset.value ? \"-1\" : null,\n class: normalizeClass(labelClasses.value),\n onClick: _cache[0] || (_cache[0] = ($event) => isFieldset.value ? onLegendClick : null)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"label\", {}, () => [\n createTextVNode(toDisplayString(unref(props).label), 1)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"for\", \"tabindex\", \"class\"]))\n ]),\n _: 3\n }, 16)) : (openBlock(), createBlock(resolveDynamicComponent(labelTag.value), {\n key: 1,\n id: unref(labelId),\n for: computedLabelFor.value || null,\n tabindex: isFieldset.value ? \"-1\" : null,\n class: normalizeClass(labelClasses.value),\n onClick: _cache[1] || (_cache[1] = ($event) => isFieldset.value ? onLegendClick : null)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"label\", {}, () => [\n createTextVNode(toDisplayString(unref(props).label), 1)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"for\", \"tabindex\", \"class\"]))\n ], 64)) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }),\n isHorizontal.value ? (openBlock(), createBlock(_sfc_main$5, { key: 0 }, {\n default: withCtx(() => [\n createVNode(unref(LabelContentTemplate).reuse),\n createVNode(_sfc_main$4, mergeProps(contentColProps.value, { ref: \"_content\" }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", {\n id: unref(computedId),\n ariaDescribedby: null,\n descriptionId: unref(descriptionId),\n labelId: unref(labelId)\n }),\n createVNode(unref(ContentTemplate).reuse)\n ]),\n _: 3\n }, 16)\n ]),\n _: 3\n })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n unref(props).floating && !isHorizontal.value ? (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n renderSlot(_ctx.$slots, \"default\", {\n id: unref(computedId),\n ariaDescribedby: null,\n descriptionId: unref(descriptionId),\n labelId: unref(labelId)\n }),\n createVNode(unref(LabelContentTemplate).reuse),\n createVNode(unref(ContentTemplate).reuse)\n ], 512)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n createVNode(unref(LabelContentTemplate).reuse),\n renderSlot(_ctx.$slots, \"default\", {\n id: unref(computedId),\n ariaDescribedby: null,\n descriptionId: unref(descriptionId),\n labelId: unref(labelId)\n }),\n createVNode(unref(ContentTemplate).reuse)\n ], 64))\n ], 64))\n ]),\n _: 3\n }, 8, [\"id\", \"disabled\", \"role\", \"aria-invalid\", \"aria-labelledby\", \"class\"]);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BFormGroup.vue_vue_type_script_setup_true_lang-BfWpvBBH.mjs.map\n","import { defineComponent, mergeModels, useSlots, useModel, useTemplateRef, computed, watch, createBlock, openBlock, unref, withCtx, createCommentVNode, renderSlot, Transition, mergeProps, withDirectives, createElementVNode, withModifiers, createElementBlock, normalizeClass, normalizeProps, guardReactiveProps, resolveDynamicComponent, createTextVNode, toDisplayString, Fragment, createVNode, vShow, normalizeStyle, renderList } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { o as onKeyStroke, u as useFocus } from \"./index-cC189kCW.mjs\";\nimport { a as useActivatedFocusTrap, u as useSafeScrollLock } from \"./useSafeScrollLock-iJTRWqXi.mjs\";\nimport { _ as _sfc_main$3 } from \"./BButton.vue_vue_type_script_setup_true_lang-ByjfGDl1.mjs\";\nimport { _ as _sfc_main$4 } from \"./BCloseButton.vue_vue_type_script_setup_true_lang-Dh0Odbqa.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { i as isEmptySlot } from \"./dom-BK2w00Ec.mjs\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nimport { a as useModalManager } from \"./useModalManager-tL74pLur.mjs\";\nimport { u as useShowHide } from \"./useShowHide-DHtnuxfQ.mjs\";\nimport { _ as _sfc_main$2 } from \"./ConditionalTeleport.vue_vue_type_script_lang-2PJ2jBTg.mjs\";\nimport { _ as _export_sfc } from \"./_plugin-vue_export-helper-1tPrXgE0.mjs\";\nimport { useModalController } from \"./src/composables/useModalController/index.mjs\";\nconst _hoisted_1 = [\"id\", \"aria-labelledby\", \"aria-describedby\"];\nconst _hoisted_2 = [\"id\"];\nconst fallbackClassSelector = \"modal-fallback-focus\";\nconst defaultModalDialogZIndex = 1056;\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BModal\",\n props: /* @__PURE__ */ mergeModels({\n autofocus: { type: Boolean, default: true },\n autofocusButton: { default: void 0 },\n backdropFirst: { type: Boolean, default: false },\n body: { default: void 0 },\n bodyAttrs: { default: void 0 },\n bodyBgVariant: { default: null },\n bodyClass: { default: null },\n bodyScrolling: { type: Boolean, default: false },\n bodyTextVariant: { default: null },\n bodyVariant: { default: null },\n busy: { type: Boolean, default: false },\n buttonSize: { default: \"md\" },\n cancelDisabled: { type: Boolean, default: false },\n cancelTitle: { default: \"Cancel\" },\n cancelVariant: { default: \"secondary\" },\n centered: { type: Boolean, default: false },\n contentClass: { default: void 0 },\n dialogClass: { default: void 0 },\n footerBgVariant: { default: null },\n footerBorderVariant: { default: null },\n footerClass: { default: void 0 },\n footerTextVariant: { default: null },\n footerVariant: { default: null },\n fullscreen: { type: [Boolean, String], default: false },\n headerBgVariant: { default: null },\n headerBorderVariant: { default: null },\n headerClass: { default: void 0 },\n headerCloseClass: { default: void 0 },\n headerCloseLabel: { default: \"Close\" },\n headerCloseVariant: { default: \"secondary\" },\n headerTextVariant: { default: null },\n headerVariant: { default: null },\n noBackdrop: { type: Boolean, default: false },\n noFooter: { type: Boolean, default: false },\n noHeader: { type: Boolean, default: false },\n noHeaderClose: { type: Boolean, default: false },\n id: { default: void 0 },\n modalClass: { default: void 0 },\n noCloseOnBackdrop: { type: Boolean, default: false },\n noCloseOnEsc: { type: Boolean, default: false },\n noTrap: { type: Boolean, default: false },\n noStacking: { type: Boolean },\n okDisabled: { type: Boolean, default: false },\n okOnly: { type: Boolean, default: false },\n okTitle: { default: \"OK\" },\n okVariant: { default: \"primary\" },\n scrollable: { type: Boolean, default: false },\n size: { default: \"md\" },\n title: { default: void 0 },\n titleClass: { default: void 0 },\n titleVisuallyHidden: { type: Boolean, default: false },\n titleTag: { default: \"h5\" },\n teleportDisabled: { type: Boolean, default: false },\n teleportTo: { default: \"body\" },\n initialAnimation: { type: Boolean, default: false },\n noAnimation: { type: Boolean },\n noFade: { type: Boolean, default: false },\n lazy: { type: Boolean, default: false },\n unmountLazy: { type: Boolean, default: false },\n show: { type: Boolean, default: false },\n transProps: { default: void 0 },\n visible: { type: Boolean, default: false }\n }, {\n \"modelValue\": { type: Boolean, ...{ default: false } },\n \"modelModifiers\": {}\n }),\n emits: /* @__PURE__ */ mergeModels([\"backdrop\", \"cancel\", \"close\", \"esc\", \"ok\", \"hide\", \"hide-prevented\", \"hidden\", \"show\", \"show-prevented\", \"shown\", \"toggle\", \"toggle-prevented\"], [\"update:modelValue\"]),\n setup(__props, { expose: __expose, emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BModal\");\n const emit = __emit;\n const slots = useSlots();\n const computedId = useId(() => props.id, \"modal\");\n const modelValue = useModel(__props, \"modelValue\");\n const element = useTemplateRef(\"_element\");\n const fallbackFocusElement = useTemplateRef(\"_fallbackFocusElement\");\n const okButton = useTemplateRef(\"_okButton\");\n const cancelButton = useTemplateRef(\"_cancelButton\");\n const closeButton = useTemplateRef(\"_closeButton\");\n const pickFocusItem = () => {\n if (props.autofocus === false) return;\n if (props.autofocusButton === \"ok\") {\n okButtonFocus.value = true;\n } else if (props.autofocusButton === \"close\") {\n closeButtonFocus.value = true;\n } else if (props.autofocusButton === \"cancel\") {\n cancelButtonFocus.value = true;\n } else {\n modalFocus.value = true;\n }\n };\n const onAfterEnter = () => {\n pickFocusItem();\n };\n const {\n showRef,\n renderRef,\n renderBackdropRef,\n hide,\n show,\n toggle,\n computedNoAnimation,\n transitionProps,\n backdropTransitionProps,\n isLeaving,\n isVisible,\n trapActive,\n contentShowing,\n backdropReady,\n backdropVisible\n } = useShowHide(modelValue, props, emit, element, computedId, {\n // addShowClass: false,\n transitionProps: {\n onAfterEnter\n }\n });\n const { needsFallback } = useActivatedFocusTrap({\n element,\n isActive: trapActive,\n noTrap: () => props.noTrap,\n fallbackFocus: {\n ref: fallbackFocusElement,\n classSelector: fallbackClassSelector\n }\n });\n onKeyStroke(\n \"Escape\",\n () => {\n hide(\"esc\");\n },\n { target: element }\n );\n useSafeScrollLock(showRef, () => props.bodyScrolling);\n const { focused: modalFocus } = useFocus(element, {\n initialValue: modelValue.value && props.autofocusButton === void 0 && props.autofocus === true\n });\n const { focused: okButtonFocus } = useFocus(okButton, {\n initialValue: modelValue.value && props.autofocusButton === \"ok\" && props.autofocus === true\n });\n const { focused: cancelButtonFocus } = useFocus(cancelButton, {\n initialValue: modelValue.value && props.autofocusButton === \"cancel\" && props.autofocus === true\n });\n const { focused: closeButtonFocus } = useFocus(closeButton, {\n initialValue: modelValue.value && props.autofocusButton === \"close\" && props.autofocus === true\n });\n const hasHeaderCloseSlot = computed(() => !isEmptySlot(slots[\"header-close\"]));\n const modalDialogClasses = computed(() => [\n props.dialogClass,\n {\n \"modal-fullscreen\": props.fullscreen === true,\n [`modal-fullscreen-${props.fullscreen}-down`]: typeof props.fullscreen === \"string\",\n [`modal-${props.size}`]: props.size !== \"md\",\n \"modal-dialog-centered\": props.centered,\n \"modal-dialog-scrollable\": props.scrollable\n }\n ]);\n const bodyColorClasses = useColorVariantClasses(() => ({\n bgVariant: props.bodyBgVariant,\n textVariant: props.bodyTextVariant,\n variant: props.bodyVariant\n }));\n const bodyClasses = computed(() => [props.bodyClass, bodyColorClasses.value]);\n const headerColorClasses = useColorVariantClasses(() => ({\n bgVariant: props.headerBgVariant,\n textVariant: props.headerTextVariant,\n variant: props.headerVariant,\n borderVariant: props.headerBorderVariant\n }));\n const headerClasses = computed(() => [props.headerClass, headerColorClasses.value]);\n const headerCloseAttrs = computed(() => ({\n variant: hasHeaderCloseSlot.value ? props.headerCloseVariant : void 0,\n class: props.headerCloseClass\n }));\n const footerColorClasses = useColorVariantClasses(() => ({\n bgVariant: props.footerBgVariant,\n textVariant: props.footerTextVariant,\n variant: props.footerVariant,\n borderVariant: props.footerBorderVariant\n }));\n const footerClasses = computed(() => [props.footerClass, footerColorClasses.value]);\n const titleClasses = computed(() => [\n props.titleClass,\n {\n [\"visually-hidden\"]: props.titleVisuallyHidden\n }\n ]);\n const disableCancel = computed(() => props.cancelDisabled || props.busy);\n const disableOk = computed(() => props.okDisabled || props.busy);\n const { activePosition, activeModalCount, stackWithoutSelf } = useModalManager(\n showRef,\n modelValue.value\n );\n watch(stackWithoutSelf, (newValue, oldValue) => {\n if (newValue.length > oldValue.length && showRef.value === true && props.noStacking === true)\n hide();\n });\n const computedZIndexNumber = computed(\n () => (\n // Make sure that newly opened modals have a higher z-index than currently active ones.\n // All active modals have a z-index of ('defaultZIndex' - 'stackSize' - 'positionInStack').\n //\n // This means inactive modals will already be higher than active ones when opened.\n showRef.value || isLeaving.value ? (\n // Just for reference there is a single frame in which the modal is not active but still has a higher z-index than the active ones due to _when_ it calculates its position. It's a small visual effect\n defaultModalDialogZIndex - (((activeModalCount == null ? void 0 : activeModalCount.value) ?? 0) * 2 - ((activePosition == null ? void 0 : activePosition.value) ?? 0) * 2)\n ) : defaultModalDialogZIndex\n )\n );\n const computedZIndex = computed(() => ({\n \"z-index\": computedZIndexNumber.value\n }));\n const computedZIndexBackdrop = computed(() => ({\n \"z-index\": computedZIndexNumber.value - 1\n }));\n const sharedSlots = computed(() => ({\n cancel: () => {\n hide(\"cancel\");\n },\n close: () => {\n hide(\"close\");\n },\n hide,\n ok: () => {\n hide(\"ok\");\n },\n active: showRef.value,\n visible: showRef.value\n }));\n __expose({\n hide,\n id: computedId,\n show,\n toggle\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$2, {\n to: unref(props).teleportTo,\n disabled: unref(props).teleportDisabled\n }, {\n default: withCtx(() => [\n unref(renderRef) || unref(contentShowing) ? (openBlock(), createBlock(Transition, mergeProps({ key: 0 }, unref(transitionProps), {\n appear: modelValue.value || unref(props).visible,\n onAfterEnter\n }), {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"div\", mergeProps({\n id: unref(computedId),\n ref: \"_element\",\n class: [\"modal\", [\n unref(props).modalClass,\n {\n fade: !unref(computedNoAnimation),\n show: unref(isVisible)\n }\n ]],\n role: \"dialog\",\n \"aria-labelledby\": !unref(props).noHeader ? `${unref(computedId)}-label` : void 0,\n \"aria-describedby\": `${unref(computedId)}-body`,\n tabindex: \"-1\"\n }, _ctx.$attrs, {\n style: computedZIndex.value,\n onClick: _cache[4] || (_cache[4] = withModifiers(($event) => unref(hide)(\"backdrop\"), [\"self\"]))\n }), [\n createElementVNode(\"div\", {\n class: normalizeClass([\"modal-dialog\", modalDialogClasses.value])\n }, [\n unref(contentShowing) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass([\"modal-content\", unref(props).contentClass])\n }, [\n !unref(props).noHeader ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass([\"modal-header\", headerClasses.value])\n }, [\n renderSlot(_ctx.$slots, \"header\", normalizeProps(guardReactiveProps(sharedSlots.value)), () => [\n (openBlock(), createBlock(resolveDynamicComponent(unref(props).titleTag), {\n id: `${unref(computedId)}-label`,\n class: normalizeClass([\"modal-title\", titleClasses.value])\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"title\", normalizeProps(guardReactiveProps(sharedSlots.value)), () => [\n createTextVNode(toDisplayString(unref(props).title), 1)\n ], true)\n ]),\n _: 3\n }, 8, [\"id\", \"class\"])),\n !unref(props).noHeaderClose ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n hasHeaderCloseSlot.value ? (openBlock(), createBlock(_sfc_main$3, mergeProps({ key: 0 }, headerCloseAttrs.value, {\n onClick: _cache[0] || (_cache[0] = ($event) => unref(hide)(\"close\"))\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"header-close\", {}, void 0, true)\n ]),\n _: 3\n }, 16)) : (openBlock(), createBlock(_sfc_main$4, mergeProps({\n key: 1,\n \"aria-label\": unref(props).headerCloseLabel\n }, headerCloseAttrs.value, {\n onClick: _cache[1] || (_cache[1] = ($event) => unref(hide)(\"close\"))\n }), null, 16, [\"aria-label\"]))\n ], 64)) : createCommentVNode(\"\", true)\n ], true)\n ], 2)) : createCommentVNode(\"\", true),\n createElementVNode(\"div\", mergeProps({\n id: `${unref(computedId)}-body`,\n class: [\"modal-body\", bodyClasses.value]\n }, unref(props).bodyAttrs), [\n renderSlot(_ctx.$slots, \"default\", normalizeProps(guardReactiveProps(sharedSlots.value)), () => [\n createTextVNode(toDisplayString(unref(props).body), 1)\n ], true)\n ], 16, _hoisted_2),\n !unref(props).noFooter ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n class: normalizeClass([\"modal-footer\", footerClasses.value])\n }, [\n renderSlot(_ctx.$slots, \"footer\", normalizeProps(guardReactiveProps(sharedSlots.value)), () => [\n renderSlot(_ctx.$slots, \"cancel\", normalizeProps(guardReactiveProps(sharedSlots.value)), () => [\n !unref(props).okOnly ? (openBlock(), createBlock(_sfc_main$3, {\n key: 0,\n ref: \"_cancelButton\",\n disabled: disableCancel.value,\n size: unref(props).buttonSize,\n variant: unref(props).cancelVariant,\n onClick: _cache[2] || (_cache[2] = ($event) => unref(hide)(\"cancel\"))\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(unref(props).cancelTitle), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"size\", \"variant\"])) : createCommentVNode(\"\", true)\n ], true),\n renderSlot(_ctx.$slots, \"ok\", normalizeProps(guardReactiveProps(sharedSlots.value)), () => [\n createVNode(_sfc_main$3, {\n ref: \"_okButton\",\n disabled: disableOk.value,\n size: unref(props).buttonSize,\n variant: unref(props).okVariant,\n onClick: _cache[3] || (_cache[3] = ($event) => unref(hide)(\"ok\"))\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(unref(props).okTitle), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"size\", \"variant\"])\n ], true)\n ], true)\n ], 2)) : createCommentVNode(\"\", true)\n ], 2)) : createCommentVNode(\"\", true)\n ], 2),\n unref(needsFallback) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n ref: \"_fallbackFocusElement\",\n class: normalizeClass(fallbackClassSelector),\n tabindex: \"0\",\n style: { \"width\": \"0\", \"height\": \"0\", \"overflow\": \"hidden\" }\n }, null, 512)) : createCommentVNode(\"\", true)\n ], 16, _hoisted_1), [\n [vShow, unref(showRef) && (unref(backdropReady) && unref(props).backdropFirst || !unref(props).backdropFirst)]\n ])\n ]),\n _: 3\n }, 16, [\"appear\"])) : createCommentVNode(\"\", true),\n !unref(props).noBackdrop ? renderSlot(_ctx.$slots, \"backdrop\", normalizeProps(mergeProps({ key: 1 }, sharedSlots.value)), () => [\n unref(renderBackdropRef) ? (openBlock(), createBlock(Transition, normalizeProps(mergeProps({ key: 0 }, unref(backdropTransitionProps))), {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"div\", {\n class: normalizeClass([\"modal-backdrop\", {\n fade: !unref(computedNoAnimation),\n show: unref(backdropVisible) || unref(computedNoAnimation)\n }]),\n style: normalizeStyle(computedZIndexBackdrop.value),\n onClick: _cache[5] || (_cache[5] = ($event) => unref(hide)(\"backdrop\"))\n }, null, 6), [\n [vShow, unref(showRef) || unref(isLeaving) && unref(props).backdropFirst && !unref(computedNoAnimation)]\n ])\n ]),\n _: 1\n }, 16)) : createCommentVNode(\"\", true)\n ], true) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"to\", \"disabled\"]);\n };\n }\n});\nconst BModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [[\"__scopeId\", \"data-v-93972863\"]]);\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BModalOrchestrator\",\n props: {\n teleportDisabled: { type: Boolean, default: false },\n teleportTo: { default: \"body\" }\n },\n setup(__props, { expose: __expose }) {\n const _props = __props;\n const props = useDefaults(_props, \"BModalOrchestrator\");\n const tools = useModalController();\n __expose({\n ...tools\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$2, {\n to: unref(props).teleportTo,\n disabled: unref(props).teleportDisabled\n }, {\n default: withCtx(() => {\n var _a;\n return [\n createElementVNode(\"div\", mergeProps({ id: \"__BVID__modal-container\" }, _ctx.$attrs), [\n (openBlock(true), createElementBlock(Fragment, null, renderList((_a = unref(tools).modals) == null ? void 0 : _a.value, ([self, modal]) => {\n return openBlock(), createBlock(resolveDynamicComponent(modal.component ?? BModal), mergeProps({\n key: self,\n ref_for: true\n }, modal.props, {\n modelValue: modal.props._modelValue,\n \"onUpdate:modelValue\": [($event) => modal.props._modelValue = $event, ($event) => {\n var _a2, _b;\n return (_b = (_a2 = unref(tools)).leave) == null ? void 0 : _b.call(_a2, self);\n }],\n \"initial-animation\": \"\",\n \"teleport-disabled\": true,\n onHide: (e) => {\n if (modal.props._isConfirm === true) {\n if (e.trigger === \"ok\") {\n modal.props._promise.resolve(true);\n return;\n }\n if (e.trigger === \"cancel\") {\n modal.props._promise.resolve(false);\n return;\n }\n modal.props._promise.resolve(null);\n }\n modal.props._promise.resolve(true);\n },\n onHidden: ($event) => {\n var _a2, _b;\n return (_b = (_a2 = unref(tools)).remove) == null ? void 0 : _b.call(_a2, self);\n }\n }), null, 16, [\"modelValue\", \"onUpdate:modelValue\", \"onHide\", \"onHidden\"]);\n }), 128))\n ], 16)\n ];\n }),\n _: 1\n }, 8, [\"to\", \"disabled\"]);\n };\n }\n});\nexport {\n BModal as B,\n _sfc_main as _\n};\n//# sourceMappingURL=BModalOrchestrator.vue_vue_type_script_setup_true_lang-Vpb9dNna.mjs.map\n","import { defineComponent, computed, provide, toRef, createBlock, openBlock, resolveDynamicComponent, normalizeClass, withCtx, renderSlot, useAttrs, inject, mergeProps, unref } from \"vue\";\nimport { n as listGroupInjectionKey } from \"./keys-D3gOZjD-.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useBLinkHelper, _ as _sfc_main$2 } from \"./BLink.vue_vue_type_script_setup_true_lang-CinzoAgQ.mjs\";\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BListGroup\",\n props: {\n flush: { type: Boolean, default: false },\n horizontal: { type: [Boolean, String], default: false },\n numbered: { type: Boolean, default: false },\n tag: { default: \"div\" }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BListGroup\");\n const computedClasses = computed(() => {\n const horizontal = props.flush ? false : props.horizontal;\n return {\n \"list-group-flush\": props.flush,\n \"list-group-horizontal\": horizontal === true,\n [`list-group-horizontal-${horizontal}`]: typeof horizontal === \"string\",\n \"list-group-numbered\": props.numbered\n };\n });\n const computedTag = computed(() => props.numbered === true ? \"ol\" : props.tag);\n provide(listGroupInjectionKey, {\n numbered: toRef(() => props.numbered)\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(computedTag.value), {\n class: normalizeClass([\"list-group\", computedClasses.value])\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"class\"]);\n };\n }\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BListGroupItem\",\n props: {\n action: { type: Boolean, default: false },\n button: { type: Boolean, default: false },\n tag: { default: \"div\" },\n active: { type: Boolean, default: false },\n activeClass: { default: void 0 },\n disabled: { type: Boolean, default: void 0 },\n exactActiveClass: { default: void 0 },\n href: { default: void 0 },\n icon: { type: Boolean, default: void 0 },\n noRel: { type: Boolean },\n opacity: { default: void 0 },\n opacityHover: { default: void 0 },\n prefetch: { type: Boolean },\n prefetchOn: {},\n noPrefetch: { type: Boolean },\n prefetchedClass: {},\n rel: { default: void 0 },\n replace: { type: Boolean, default: void 0 },\n routerComponentName: { default: void 0 },\n stretched: { type: Boolean, default: false },\n target: { default: void 0 },\n to: { default: void 0 },\n underlineOffset: { default: void 0 },\n underlineOffsetHover: { default: void 0 },\n underlineOpacity: { default: void 0 },\n underlineOpacityHover: { default: void 0 },\n underlineVariant: { default: void 0 },\n variant: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BListGroupItem\");\n const attrs = useAttrs();\n const parentData = inject(listGroupInjectionKey, null);\n const { computedLink } = useBLinkHelper(props);\n const isLink = computed(() => !props.button && computedLink.value);\n const tagComputed = computed(\n () => (parentData == null ? void 0 : parentData.numbered.value) ? \"li\" : props.button ? \"button\" : !isLink.value ? props.tag : _sfc_main$2\n );\n const isAction = computed(\n () => props.action || isLink.value || props.button || [\"a\", \"router-link\", \"button\", \"b-link\"].includes(props.tag)\n );\n const computedClasses = computed(() => ({\n [`list-group-item-${props.variant}`]: props.variant !== null && props.variant !== void 0,\n \"list-group-item-action\": isAction.value,\n \"active\": props.active,\n \"disabled\": props.disabled\n }));\n const computedAttrs = computed(() => {\n const localAttrs = {};\n if (props.button) {\n if (!attrs || !attrs.type) {\n localAttrs.type = \"button\";\n }\n if (props.disabled) {\n localAttrs.disabled = true;\n }\n }\n return localAttrs;\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(tagComputed.value), mergeProps({\n class: [\"list-group-item\", computedClasses.value],\n \"aria-current\": unref(props).active ? true : void 0,\n \"aria-disabled\": unref(props).disabled ? true : void 0,\n target: isLink.value ? unref(props).target : void 0,\n href: !unref(props).button ? unref(props).href : void 0,\n to: !unref(props).button ? unref(props).to : void 0\n }, computedAttrs.value), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"class\", \"aria-current\", \"aria-disabled\", \"target\", \"href\", \"to\"]);\n };\n }\n});\nexport {\n _sfc_main$1 as _,\n _sfc_main as a\n};\n//# sourceMappingURL=BListGroupItem.vue_vue_type_script_setup_true_lang-DF5MpHVf.mjs.map\n","import { defineComponent, mergeModels, useAttrs, computed, useSlots, useModel, inject, useTemplateRef, createBlock, openBlock, mergeProps, unref, withCtx, withDirectives, createElementBlock, createCommentVNode, createElementVNode, vModelCheckbox, normalizeClass, renderSlot, provide, toRef, Fragment, renderList, createTextVNode, toDisplayString } from \"vue\";\nimport { u as useFocus } from \"./index-cC189kCW.mjs\";\nimport { g as getClasses, a as getInputClasses, b as getLabelClasses, c as getGroupAttr, d as getGroupClasses } from \"./useFormCheck-Bcx8Ea7M.mjs\";\nimport { i as checkboxGroupKey } from \"./keys-D3gOZjD-.mjs\";\nimport { _ as _sfc_main$2 } from \"./ConditionalWrapper.vue_vue_type_script_lang-CUX3HBqw.mjs\";\nimport { i as isEmptySlot } from \"./dom-BK2w00Ec.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nconst _hoisted_1$1 = [\"id\", \"disabled\", \"required\", \"name\", \"form\", \"aria-label\", \"aria-labelledby\", \"aria-required\", \"value\", \"true-value\", \"false-value\", \"indeterminate\"];\nconst _hoisted_2 = [\"for\"];\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BFormCheckbox\",\n props: /* @__PURE__ */ mergeModels({\n ariaLabel: { default: void 0 },\n ariaLabelledby: { default: void 0 },\n autofocus: { type: Boolean, default: false },\n button: { type: Boolean, default: false },\n buttonGroup: { type: Boolean, default: false },\n buttonVariant: { default: null },\n disabled: { type: Boolean, default: false },\n form: { default: void 0 },\n id: { default: void 0 },\n inline: { type: Boolean, default: false },\n name: { default: void 0 },\n plain: { type: Boolean, default: false },\n required: { type: Boolean, default: void 0 },\n reverse: { type: Boolean, default: false },\n size: { default: void 0 },\n state: { type: [Boolean, null], default: null },\n switch: { type: Boolean, default: false },\n uncheckedValue: { type: [Array, Set, String, Boolean, Object, Number, null], default: false },\n wrapperAttrs: { default: void 0 },\n inputClass: { default: void 0 },\n value: { type: [String, Boolean, Array, Set, Object, Number, null], default: true }\n }, {\n \"modelValue\": { type: [Array, Set, String, Boolean, Object, Number, null], ...{\n default: void 0\n } },\n \"modelModifiers\": {},\n \"indeterminate\": { type: Boolean, ...{\n default: false\n } },\n \"indeterminateModifiers\": {}\n }),\n emits: [\"update:modelValue\", \"update:indeterminate\"],\n setup(__props, { expose: __expose }) {\n const attrs = useAttrs();\n const processedAttrs = computed(() => {\n const { class: wrapperClass, ...inputAttrs } = attrs;\n return { wrapperClass, inputAttrs };\n });\n const _props = __props;\n const props = useDefaults(_props, \"BFormCheckbox\");\n const slots = useSlots();\n const modelValue = useModel(__props, \"modelValue\");\n const indeterminate = useModel(\n __props,\n \"indeterminate\"\n );\n const computedId = useId(() => props.id, \"form-check\");\n const parentData = inject(checkboxGroupKey, null);\n const input = useTemplateRef(\"_input\");\n const { focused } = useFocus(input, {\n initialValue: props.autofocus\n });\n const hasDefaultSlot = computed(() => !isEmptySlot(slots.default));\n const localValue = computed({\n get: () => parentData ? parentData.modelValue.value : modelValue.value,\n set: (newVal) => {\n if (newVal === void 0) return;\n indeterminate.value = false;\n if (parentData !== null && Array.isArray(newVal)) {\n parentData.modelValue.value = newVal;\n return;\n }\n modelValue.value = newVal;\n }\n });\n const computedRequired = computed(\n () => !!(props.name ?? (parentData == null ? void 0 : parentData.name.value)) && (props.required || (parentData == null ? void 0 : parentData.required.value))\n );\n const isButtonGroup = computed(() => props.buttonGroup || ((parentData == null ? void 0 : parentData.buttons.value) ?? false));\n const classesObject = computed(() => ({\n plain: props.plain || ((parentData == null ? void 0 : parentData.plain.value) ?? false),\n button: props.button || ((parentData == null ? void 0 : parentData.buttons.value) ?? false),\n inline: props.inline || ((parentData == null ? void 0 : parentData.inline.value) ?? false),\n reverse: props.reverse || ((parentData == null ? void 0 : parentData.reverse.value) ?? false),\n switch: props.switch || ((parentData == null ? void 0 : parentData.switch.value) ?? false),\n state: props.state === true || props.state === false ? props.state : (parentData == null ? void 0 : parentData.state.value) ?? null,\n size: props.size ?? (parentData == null ? void 0 : parentData.size.value) ?? \"md\",\n // This is where the true default is made\n buttonVariant: props.buttonVariant ?? (parentData == null ? void 0 : parentData.buttonVariant.value) ?? \"secondary\",\n // This is where the true default is made\n hasDefaultSlot: hasDefaultSlot.value\n }));\n const wrapperClasses = getClasses(classesObject);\n const computedWrapperClasses = computed(() => [\n wrapperClasses.value,\n processedAttrs.value.wrapperClass\n ]);\n const inputClasses = getInputClasses(classesObject);\n const computedInputClasses = computed(() => [inputClasses.value, props.inputClass]);\n const labelClasses = getLabelClasses(classesObject);\n __expose({\n blur: () => {\n focused.value = false;\n },\n element: input,\n focus: () => {\n focused.value = true;\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$2, mergeProps({ skip: isButtonGroup.value }, unref(props).wrapperAttrs, { class: computedWrapperClasses.value }), {\n default: withCtx(() => {\n var _a, _b, _c;\n return [\n withDirectives(createElementVNode(\"input\", mergeProps({\n id: unref(computedId),\n ref: \"_input\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => localValue.value = $event),\n class: computedInputClasses.value,\n type: \"checkbox\",\n disabled: unref(props).disabled || ((_a = unref(parentData)) == null ? void 0 : _a.disabled.value),\n required: computedRequired.value || void 0,\n name: unref(props).name || ((_b = unref(parentData)) == null ? void 0 : _b.name.value),\n form: unref(props).form || ((_c = unref(parentData)) == null ? void 0 : _c.form.value),\n \"aria-label\": unref(props).ariaLabel,\n \"aria-labelledby\": unref(props).ariaLabelledby,\n \"aria-required\": computedRequired.value || void 0,\n value: unref(props).value,\n \"true-value\": unref(props).value,\n \"false-value\": unref(props).uncheckedValue,\n indeterminate: indeterminate.value || void 0\n }, processedAttrs.value.inputAttrs), null, 16, _hoisted_1$1), [\n [vModelCheckbox, localValue.value]\n ]),\n hasDefaultSlot.value || unref(props).plain === false ? (openBlock(), createElementBlock(\"label\", {\n key: 0,\n for: unref(computedId),\n class: normalizeClass(unref(labelClasses))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 10, _hoisted_2)) : createCommentVNode(\"\", true)\n ];\n }),\n _: 3\n }, 16, [\"skip\", \"class\"]);\n };\n }\n});\nconst _hoisted_1 = [\"id\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormCheckboxGroup\",\n props: /* @__PURE__ */ mergeModels({\n ariaInvalid: { type: [Boolean, String], default: void 0 },\n autofocus: { type: Boolean, default: false },\n buttonVariant: { default: \"secondary\" },\n buttons: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n disabledField: { default: \"disabled\" },\n form: { default: void 0 },\n id: { default: void 0 },\n name: { default: void 0 },\n options: { default: () => [] },\n plain: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n reverse: { type: Boolean, default: false },\n size: { default: \"md\" },\n stacked: { type: Boolean, default: false },\n state: { type: [Boolean, null], default: null },\n switches: { type: Boolean, default: false },\n textField: { default: \"text\" },\n validated: { type: Boolean, default: false },\n valueField: { default: \"value\" }\n }, {\n \"modelValue\": {\n default: () => []\n },\n \"modelModifiers\": {}\n }),\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose }) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormCheckboxGroup\");\n const modelValue = useModel(__props, \"modelValue\");\n const computedId = useId(() => props.id, \"checkbox\");\n const computedName = useId(() => props.name, \"checkbox\");\n const element = useTemplateRef(\"_element\");\n const { focused } = useFocus(element, {\n initialValue: props.autofocus\n });\n provide(checkboxGroupKey, {\n modelValue,\n switch: toRef(() => props.switches),\n buttonVariant: toRef(() => props.buttonVariant),\n form: toRef(() => props.form),\n name: computedName,\n state: toRef(() => props.state),\n plain: toRef(() => props.plain),\n size: toRef(() => props.size),\n inline: toRef(() => !props.stacked),\n reverse: toRef(() => props.reverse),\n required: toRef(() => props.required),\n buttons: toRef(() => props.buttons),\n disabled: toRef(() => props.disabled)\n });\n const normalizeOptions = computed(\n () => props.options.map(\n (el) => typeof el === \"string\" || typeof el === \"number\" ? {\n value: el,\n disabled: props.disabled,\n text: el.toString()\n } : {\n ...el,\n value: el[props.valueField],\n disabled: el[props.disabledField],\n text: el[props.textField]\n }\n )\n );\n const classesObject = computed(() => ({\n required: props.required,\n ariaInvalid: props.ariaInvalid,\n state: props.state,\n validated: props.validated,\n buttons: props.buttons,\n stacked: props.stacked,\n size: props.size\n }));\n const computedAttrs = getGroupAttr(classesObject);\n const computedClasses = getGroupClasses(classesObject);\n __expose({\n blur: () => {\n focused.value = false;\n },\n focus: () => {\n focused.value = true;\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", mergeProps(unref(computedAttrs), {\n id: unref(computedId),\n ref: \"_element\",\n role: \"group\",\n class: [unref(computedClasses), \"bv-no-focus-ring\"],\n tabindex: \"-1\"\n }), [\n renderSlot(_ctx.$slots, \"first\"),\n (openBlock(true), createElementBlock(Fragment, null, renderList(normalizeOptions.value, (item, index) => {\n return openBlock(), createBlock(_sfc_main$1, mergeProps({\n key: index,\n ref_for: true\n }, item), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"option\", mergeProps({ ref_for: true }, item), () => [\n createTextVNode(toDisplayString(item.text), 1)\n ])\n ]),\n _: 2\n }, 1040);\n }), 128)),\n renderSlot(_ctx.$slots, \"default\")\n ], 16, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main$1 as _,\n _sfc_main as a\n};\n//# sourceMappingURL=BFormCheckboxGroup.vue_vue_type_script_setup_true_lang-B5Msdqj3.mjs.map\n","import { defineComponent, mergeModels, useModel, inject, computed, useTemplateRef, ref, toRef, watch, provide, createBlock, openBlock, unref, normalizeClass, withCtx, createVNode, createCommentVNode, renderSlot, createTextVNode, toDisplayString, createElementVNode, Transition, mergeProps, withDirectives, normalizeStyle, vShow, nextTick } from \"vue\";\nimport { i as isBoundary, d as isRootBoundary, o as offset, f as flip, s as shift, e as size, g as useFloating, h as resolveBootstrapCaret, j as autoUpdate } from \"./floatingUi-DvHiyg2I.mjs\";\nimport { o as onKeyStroke, h as onClickOutside } from \"./index-cC189kCW.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { _ as _sfc_main$2 } from \"./BButton.vue_vue_type_script_setup_true_lang-ByjfGDl1.mjs\";\nimport { _ as _sfc_main$1 } from \"./ConditionalWrapper.vue_vue_type_script_lang-CUX3HBqw.mjs\";\nimport { _ as _sfc_main$3 } from \"./ConditionalTeleport.vue_vue_type_script_lang-2PJ2jBTg.mjs\";\nimport { g as getElement } from \"./getElement-D_JPfLJS.mjs\";\nimport { l as inputGroupKey, h as buttonGroupKey, s as dropdownInjectionKey } from \"./keys-D3gOZjD-.mjs\";\nimport { u as useShowHide } from \"./useShowHide-DHtnuxfQ.mjs\";\nimport { u as useToNumber } from \"./index-CLgoGrAV.mjs\";\nimport { _ as _export_sfc } from \"./_plugin-vue_export-helper-1tPrXgE0.mjs\";\nconst _hoisted_1 = { class: \"visually-hidden\" };\nconst _hoisted_2 = [\"id\", \"aria-labelledby\", \"role\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BDropdown\",\n props: /* @__PURE__ */ mergeModels({\n ariaLabel: { default: void 0 },\n autoClose: { type: [Boolean, String], default: true },\n boundary: { default: \"clippingAncestors\" },\n boundaryPadding: { default: void 0 },\n disabled: { type: Boolean, default: false },\n floatingMiddleware: { default: void 0 },\n id: { default: void 0 },\n isNav: { type: Boolean, default: false },\n menuClass: { default: void 0 },\n noCaret: { type: Boolean, default: false },\n noFlip: { type: Boolean, default: false },\n noShift: { type: Boolean, default: false },\n noSize: { type: Boolean, default: false },\n offset: { default: 0 },\n role: { default: \"menu\" },\n size: { default: \"md\" },\n noWrapper: { type: Boolean, default: false },\n split: { type: Boolean, default: false },\n splitButtonType: { default: \"button\" },\n splitClass: { default: void 0 },\n splitDisabled: { type: Boolean, default: void 0 },\n splitHref: { default: void 0 },\n splitTo: { default: void 0 },\n splitVariant: { default: void 0 },\n strategy: { default: \"absolute\" },\n text: { default: void 0 },\n toggleClass: { default: void 0 },\n toggleText: { default: \"Toggle dropdown\" },\n variant: { default: \"secondary\" },\n wrapperClass: { default: void 0 },\n placement: { default: \"bottom-start\" },\n teleportDisabled: { type: Boolean, default: false },\n teleportTo: { default: void 0 },\n initialAnimation: { type: Boolean, default: false },\n noAnimation: { type: Boolean },\n noFade: { type: Boolean, default: false },\n lazy: { type: Boolean, default: false },\n unmountLazy: { type: Boolean, default: false },\n show: { type: Boolean, default: false },\n transProps: { default: void 0 },\n visible: { type: Boolean, default: false }\n }, {\n \"modelValue\": { type: Boolean, ...{ default: false } },\n \"modelModifiers\": {}\n }),\n emits: /* @__PURE__ */ mergeModels([\"split-click\", \"hide\", \"hide-prevented\", \"hidden\", \"show\", \"show-prevented\", \"shown\", \"toggle\", \"toggle-prevented\"], [\"update:modelValue\"]),\n setup(__props, { expose: __expose, emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BDropdown\");\n const emit = __emit;\n const computedId = useId(() => props.id, \"dropdown\");\n const modelValue = useModel(__props, \"modelValue\");\n const inInputGroup = inject(inputGroupKey, false);\n const inButtonGroup = inject(buttonGroupKey, false);\n const computedOffset = computed(\n () => typeof props.offset === \"string\" || typeof props.offset === \"number\" ? props.offset : NaN\n );\n const offsetToNumber = useToNumber(computedOffset);\n const floating = useTemplateRef(\"_floating\");\n const button = useTemplateRef(\"_button\");\n const splitButton = useTemplateRef(\"_splitButton\");\n const boundary = computed(\n () => isBoundary(props.boundary) ? props.boundary : void 0\n );\n const rootBoundary = computed(\n () => isRootBoundary(props.boundary) ? props.boundary : void 0\n );\n const referencePlacement = computed(() => !props.split ? splitButton.value : button.value);\n const {\n showRef,\n renderRef,\n hide,\n show,\n toggle,\n computedNoAnimation,\n transitionProps,\n contentShowing,\n isVisible\n } = useShowHide(modelValue, props, emit, referencePlacement, computedId);\n const computedMenuClasses = computed(() => [\n {\n show: isVisible.value,\n fade: !computedNoAnimation.value\n }\n ]);\n onKeyStroke(\n \"Escape\",\n () => {\n var _a;\n hide();\n (_a = getElement(referencePlacement.value)) == null ? void 0 : _a.focus();\n },\n { target: referencePlacement }\n );\n onKeyStroke(\n \"Escape\",\n () => {\n var _a;\n hide();\n (_a = getElement(referencePlacement.value)) == null ? void 0 : _a.focus();\n },\n { target: floating }\n );\n const keynav = (e, v) => {\n var _a, _b, _c, _d, _e, _f, _g;\n if ((_b = floating.value) == null ? void 0 : _b.contains((_a = e.target) == null ? void 0 : _a.closest(\"form\"))) return;\n if (/input|select|option|textarea|form/i.test((_c = e.target) == null ? void 0 : _c.tagName)) return;\n e.preventDefault();\n if (!showRef.value) {\n show();\n const loop = setInterval(() => {\n if (isVisible.value) {\n clearInterval(loop);\n nextTick(() => keynav(e, v));\n }\n }, 16);\n return;\n }\n const list = (_d = floating.value) == null ? void 0 : _d.querySelectorAll(\".dropdown-item:not(.disabled):not(:disabled)\");\n if (!list) return;\n if ((_e = floating.value) == null ? void 0 : _e.contains(document.activeElement)) {\n const active = floating.value.querySelector(\".dropdown-item:focus\");\n const index = Array.prototype.indexOf.call(list, active) + v;\n if (index >= 0 && index < (list == null ? void 0 : list.length)) (_f = list[index]) == null ? void 0 : _f.focus();\n } else {\n (_g = list[v === -1 ? list.length - 1 : 0]) == null ? void 0 : _g.focus();\n }\n };\n onKeyStroke(\"ArrowUp\", (e) => keynav(e, -1), { target: referencePlacement });\n onKeyStroke(\"ArrowDown\", (e) => keynav(e, 1), { target: referencePlacement });\n onKeyStroke(\"ArrowUp\", (e) => keynav(e, -1), { target: floating });\n onKeyStroke(\"ArrowDown\", (e) => keynav(e, 1), { target: floating });\n const sizeStyles = ref({});\n const floatingMiddleware = computed(() => {\n if (props.floatingMiddleware !== void 0) {\n return props.floatingMiddleware;\n }\n const localOffset = typeof props.offset === \"string\" || typeof props.offset === \"number\" ? offsetToNumber.value : props.offset;\n const arr = [offset(localOffset)];\n if (props.noFlip === false) {\n arr.push(\n flip({\n boundary: boundary.value,\n rootBoundary: rootBoundary.value,\n padding: props.boundaryPadding\n })\n );\n }\n if (props.noShift === false) {\n arr.push(\n shift({\n boundary: boundary.value,\n rootBoundary: rootBoundary.value,\n padding: props.boundaryPadding\n })\n );\n }\n if (props.noSize === false) {\n arr.push(\n size({\n boundary: boundary.value,\n rootBoundary: rootBoundary.value,\n padding: props.boundaryPadding,\n apply({ availableWidth, availableHeight }) {\n var _a, _b;\n sizeStyles.value = {\n maxHeight: availableHeight >= (((_a = floating.value) == null ? void 0 : _a.scrollHeight) ?? 0) ? void 0 : availableHeight ? `${Math.max(0, availableHeight)}px` : void 0,\n maxWidth: availableWidth >= (((_b = floating.value) == null ? void 0 : _b.scrollWidth) ?? 0) ? void 0 : availableWidth ? `${Math.max(0, availableWidth)}px` : void 0\n };\n }\n })\n );\n }\n return arr;\n });\n const { update, floatingStyles } = useFloating(referencePlacement, floating, {\n placement: () => props.placement,\n middleware: floatingMiddleware,\n strategy: toRef(() => props.strategy),\n whileElementsMounted: autoUpdate\n });\n const inButtonGroupAttributes = inButtonGroup ? {\n class: \"btn-group\",\n role: \"group\"\n } : void 0;\n const computedClasses = computed(() => [\n inButtonGroupAttributes == null ? void 0 : inButtonGroupAttributes.class,\n props.wrapperClass,\n {\n \"btn-group\": !props.wrapperClass && props.split,\n [`drop${resolveBootstrapCaret(props.placement)}`]: !props.wrapperClass,\n \"position-static\": props.boundary !== \"clippingAncestors\" && !props.isNav\n }\n ]);\n const buttonClasses = computed(() => [\n props.split ? props.splitClass : props.toggleClass,\n {\n \"nav-link\": props.isNav,\n \"dropdown-toggle\": !props.split,\n \"dropdown-toggle-no-caret\": props.noCaret && !props.split,\n \"show\": props.split ? void 0 : showRef.value\n }\n ]);\n const onButtonClick = () => {\n toggle();\n };\n const onSplitClick = (event) => {\n if (props.split) {\n emit(\"split-click\", event);\n return;\n }\n onButtonClick();\n };\n onClickOutside(\n floating,\n () => {\n if (showRef.value && (props.autoClose === true || props.autoClose === \"outside\")) {\n hide();\n }\n },\n { ignore: [button, splitButton] }\n );\n const onClickInside = () => {\n if (showRef.value && (props.autoClose === true || props.autoClose === \"inside\")) {\n hide();\n }\n };\n watch(isVisible, () => {\n update();\n });\n __expose({\n hide,\n show,\n toggle\n });\n provide(dropdownInjectionKey, {\n id: computedId,\n show,\n hide,\n toggle,\n visible: toRef(() => showRef.value),\n isNav: toRef(() => props.isNav)\n });\n return (_ctx, _cache) => {\n var _a;\n return openBlock(), createBlock(_sfc_main$1, {\n skip: unref(inInputGroup) || unref(props).noWrapper,\n class: normalizeClass(computedClasses.value),\n role: (_a = unref(inButtonGroupAttributes)) == null ? void 0 : _a.role\n }, {\n default: withCtx(() => [\n createVNode(_sfc_main$2, {\n id: unref(computedId),\n ref: \"_splitButton\",\n variant: unref(props).splitVariant || unref(props).variant,\n size: unref(props).size,\n class: normalizeClass(buttonClasses.value),\n disabled: unref(props).splitDisabled || unref(props).disabled,\n type: unref(props).splitButtonType,\n \"aria-label\": unref(props).ariaLabel,\n \"aria-expanded\": unref(props).split ? void 0 : unref(showRef),\n \"aria-haspopup\": unref(props).split ? void 0 : \"menu\",\n href: unref(props).split ? unref(props).splitHref : void 0,\n to: unref(props).split && unref(props).splitTo ? unref(props).splitTo : void 0,\n onClick: onSplitClick\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"button-content\", {}, () => [\n createTextVNode(toDisplayString(unref(props).text), 1)\n ], true)\n ]),\n _: 3\n }, 8, [\"id\", \"variant\", \"size\", \"class\", \"disabled\", \"type\", \"aria-label\", \"aria-expanded\", \"aria-haspopup\", \"href\", \"to\"]),\n unref(props).split ? (openBlock(), createBlock(_sfc_main$2, {\n key: 0,\n id: unref(computedId) + \"-split\",\n ref: \"_button\",\n variant: unref(props).variant,\n size: unref(props).size,\n disabled: unref(props).disabled,\n class: normalizeClass([[unref(props).toggleClass, { show: unref(showRef) }], \"dropdown-toggle-split dropdown-toggle\"]),\n \"aria-expanded\": unref(showRef),\n \"aria-haspopup\": \"menu\",\n onClick: onButtonClick\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", _hoisted_1, [\n renderSlot(_ctx.$slots, \"toggle-text\", {}, () => [\n createTextVNode(toDisplayString(unref(props).toggleText), 1)\n ], true)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"variant\", \"size\", \"disabled\", \"class\", \"aria-expanded\"])) : createCommentVNode(\"\", true),\n createVNode(_sfc_main$3, {\n to: unref(props).teleportTo,\n disabled: !unref(props).teleportTo || unref(props).teleportDisabled\n }, {\n default: withCtx(() => [\n unref(renderRef) || unref(contentShowing) ? (openBlock(), createBlock(Transition, mergeProps({ key: 0 }, unref(transitionProps), {\n appear: modelValue.value || unref(props).visible\n }), {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"ul\", {\n id: unref(computedId) + \"-menu\",\n ref: \"_floating\",\n style: normalizeStyle([unref(floatingStyles), sizeStyles.value]),\n class: normalizeClass([\"dropdown-menu overflow-auto\", [unref(props).menuClass, computedMenuClasses.value]]),\n \"aria-labelledby\": unref(computedId),\n role: unref(props).role,\n onClick: onClickInside\n }, [\n unref(contentShowing) ? renderSlot(_ctx.$slots, \"default\", {\n key: 0,\n hide: unref(hide),\n show: unref(show),\n visible: unref(showRef)\n }, void 0, true) : createCommentVNode(\"\", true)\n ], 14, _hoisted_2), [\n [vShow, unref(showRef)]\n ])\n ]),\n _: 3\n }, 16, [\"appear\"])) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"to\", \"disabled\"])\n ]),\n _: 3\n }, 8, [\"skip\", \"class\", \"role\"]);\n };\n }\n});\nconst BDropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__scopeId\", \"data-v-8ac2524d\"]]);\nexport {\n BDropdown as B\n};\n//# sourceMappingURL=BDropdown-CmJPEOPT.mjs.map\n","import { defineComponent, computed, createElementBlock, openBlock, unref, renderSlot, Fragment, renderList, createBlock, mergeProps, withCtx, createTextVNode, toDisplayString, createElementVNode } from \"vue\";\nimport { u as useFormSelect, _ as _sfc_main$2 } from \"./useFormSelect-BrGF20vO.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nconst _hoisted_1$1 = [\"id\"];\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BFormDatalist\",\n props: {\n disabledField: { default: \"disabled\" },\n id: { default: void 0 },\n options: { default: () => [] },\n textField: { default: \"text\" },\n valueField: { default: \"value\" }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormDatalist\");\n const computedId = useId(() => props.id, \"datalist\");\n const { normalizedOptions, isComplex } = useFormSelect(\n () => props.options,\n computed(() => ({ ...props, optionsField: \"options\", labelField: \"label\" }))\n );\n const normalizedOptsWrapper = computed(\n () => (\n // Datalist doesn't support complex options\n normalizedOptions.value.filter((opt) => !isComplex(opt))\n )\n );\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"datalist\", { id: unref(computedId) }, [\n renderSlot(_ctx.$slots, \"first\"),\n (openBlock(true), createElementBlock(Fragment, null, renderList(normalizedOptsWrapper.value, (option, index) => {\n return openBlock(), createBlock(_sfc_main$2, mergeProps({\n key: index,\n ref_for: true\n }, option), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"option\", mergeProps({ ref_for: true }, option), () => [\n createTextVNode(toDisplayString(option.text), 1)\n ])\n ]),\n _: 2\n }, 1040);\n }), 128)),\n renderSlot(_ctx.$slots, \"default\")\n ], 8, _hoisted_1$1);\n };\n }\n});\nconst _hoisted_1 = { class: \"form-floating\" };\nconst _hoisted_2 = [\"for\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormFloatingLabel\",\n props: {\n label: { default: void 0 },\n labelFor: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormFloatingLabel\");\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", _hoisted_1, [\n renderSlot(_ctx.$slots, \"default\"),\n createElementVNode(\"label\", {\n for: unref(props).labelFor\n }, [\n renderSlot(_ctx.$slots, \"label\", {}, () => [\n createTextVNode(toDisplayString(unref(props).label), 1)\n ])\n ], 8, _hoisted_2)\n ]);\n };\n }\n});\nexport {\n _sfc_main$1 as _,\n _sfc_main as a\n};\n//# sourceMappingURL=BFormFloatingLabel.vue_vue_type_script_setup_true_lang-CqEz9Ydj.mjs.map\n","import { defineComponent, useSlots, computed, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, createElementVNode, createCommentVNode, renderSlot, createTextVNode, toDisplayString, mergeModels, useModel, useTemplateRef, ref, createElementBlock, normalizeProps, guardReactiveProps, Fragment, renderList, mergeProps } from \"vue\";\nimport { u as useFocus, o as onKeyStroke } from \"./index-cC189kCW.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { e as escapeRegExpChars } from \"./stringUtils-mwxHpj6j.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { _ as _sfc_main$2 } from \"./BCloseButton.vue_vue_type_script_setup_true_lang-Dh0Odbqa.mjs\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nimport { u as useStateClass } from \"./useStateClass-BGbSLWFN.mjs\";\nimport { u as useToNumber, s as syncRef } from \"./index-CLgoGrAV.mjs\";\nconst _hoisted_1$1 = [\"id\"];\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BFormTag\",\n props: {\n disabled: { type: Boolean, default: false },\n id: { default: void 0 },\n noRemove: { type: Boolean, default: false },\n pill: { type: Boolean, default: false },\n removeLabel: { default: \"Remove tag\" },\n tag: { default: \"span\" },\n title: { default: void 0 },\n variant: { default: \"secondary\" }\n },\n emits: [\"remove\"],\n setup(__props, { emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormTag\");\n const emit = __emit;\n const slots = useSlots();\n const computedId = useId(() => props.id);\n const tagText = computed(\n () => {\n var _a;\n return ((((_a = slots.default) == null ? void 0 : _a.call(slots, {})[0].children) ?? \"\").toString() || props.title) ?? \"\";\n }\n );\n const taglabelId = computed(() => `${computedId.value}taglabel__`);\n const colorClasses = useColorVariantClasses(props);\n const computedClasses = computed(() => [\n colorClasses.value,\n {\n \"rounded-pill\": props.pill,\n \"disabled\": props.disabled\n }\n ]);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n id: unref(computedId),\n title: tagText.value,\n class: normalizeClass([\"badge b-form-tag d-inline-flex align-items-center mw-100\", computedClasses.value]),\n \"aria-labelledby\": taglabelId.value\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", {\n id: taglabelId.value,\n class: \"b-form-tag-content flex-grow-1 text-truncate\"\n }, [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(tagText.value), 1)\n ])\n ], 8, _hoisted_1$1),\n !unref(props).disabled && !unref(props).noRemove ? (openBlock(), createBlock(_sfc_main$2, {\n key: 0,\n \"aria-keyshortcuts\": \"Delete\",\n \"aria-label\": unref(props).removeLabel,\n class: \"b-form-tag-remove\",\n \"aria-describedby\": taglabelId.value,\n \"aria-controls\": unref(props).id,\n onClick: _cache[0] || (_cache[0] = ($event) => emit(\"remove\", tagText.value))\n }, null, 8, [\"aria-label\", \"aria-describedby\", \"aria-controls\"])) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"id\", \"title\", \"class\", \"aria-labelledby\"]);\n };\n }\n});\nconst _hoisted_1 = [\"id\"];\nconst _hoisted_2 = [\"id\", \"for\", \"aria-live\"];\nconst _hoisted_3 = [\"id\", \"aria-live\"];\nconst _hoisted_4 = [\"id\"];\nconst _hoisted_5 = [\"aria-controls\"];\nconst _hoisted_6 = {\n role: \"group\",\n class: \"d-flex\"\n};\nconst _hoisted_7 = [\"id\", \"disabled\", \"value\", \"type\", \"placeholder\", \"form\", \"required\", \"aria-required\"];\nconst _hoisted_8 = [\"disabled\"];\nconst _hoisted_9 = {\n \"aria-live\": \"polite\",\n \"aria-atomic\": \"true\"\n};\nconst _hoisted_10 = {\n key: 0,\n class: \"d-block invalid-feedback\"\n};\nconst _hoisted_11 = {\n key: 1,\n class: \"form-text text-body-secondary\"\n};\nconst _hoisted_12 = {\n key: 2,\n class: \"form-text text-body-secondary\"\n};\nconst _hoisted_13 = [\"name\", \"value\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormTags\",\n props: /* @__PURE__ */ mergeModels({\n addButtonText: { default: \"Add\" },\n addButtonVariant: { default: \"outline-secondary\" },\n addOnChange: { type: Boolean, default: false },\n autofocus: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n duplicateTagText: { default: \"Duplicate tag(s)\" },\n form: { default: void 0 },\n inputAttrs: { default: void 0 },\n inputClass: { default: void 0 },\n inputId: { default: void 0 },\n inputType: { default: \"text\" },\n invalidTagText: { default: \"Invalid tag(s)\" },\n limit: { default: void 0 },\n limitTagsText: { default: \"Tag limit reached\" },\n name: { default: void 0 },\n noAddOnEnter: { type: Boolean, default: false },\n noOuterFocus: { type: Boolean, default: false },\n noTagRemove: { type: Boolean, default: false },\n placeholder: { default: \"Add tag...\" },\n removeOnDelete: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n separator: { default: void 0 },\n size: { default: \"md\" },\n state: { type: [Boolean, null], default: null },\n tagClass: { default: void 0 },\n tagPills: { type: Boolean, default: false },\n tagRemoveLabel: { default: void 0 },\n tagRemovedLabel: { default: \"Tag removed\" },\n tagValidator: { type: Function, default: () => true },\n tagVariant: { default: \"secondary\" }\n }, {\n \"modelValue\": {\n default: () => []\n },\n \"modelModifiers\": {}\n }),\n emits: /* @__PURE__ */ mergeModels([\"blur\", \"focus\", \"focusin\", \"focusout\", \"tag-state\"], [\"update:modelValue\"]),\n setup(__props, { expose: __expose, emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormTags\");\n const emit = __emit;\n const modelValue = useModel(__props, \"modelValue\");\n const computedId = useId();\n const limitNumber = useToNumber(() => props.limit ?? NaN);\n const stateClass = useStateClass(() => props.state);\n const input = useTemplateRef(\"_input\");\n const { focused } = useFocus(input, {\n initialValue: props.autofocus\n });\n const _inputId = computed(() => props.inputId || `${computedId.value}input__`);\n const tags = ref([...modelValue.value]);\n const inputValue = ref(\"\");\n const shouldRemoveOnDelete = ref(modelValue.value.length > 0);\n const lastRemovedTag = ref(\"\");\n const validTags = ref([]);\n const invalidTags = ref([]);\n const duplicateTags = ref([]);\n syncRef(modelValue, tags, {\n direction: \"ltr\",\n transform: {\n ltr: (v) => [...v]\n }\n });\n const computedClasses = computed(() => [\n stateClass.value,\n {\n [`form-control-${props.size}`]: props.size !== \"md\",\n disabled: props.disabled,\n focus: focused.value\n }\n ]);\n const isDuplicate = computed(() => tags.value.includes(inputValue.value));\n const isInvalid = computed(\n () => inputValue.value === \"\" ? false : !props.tagValidator(inputValue.value)\n );\n const isLimitReached = computed(() => tags.value.length === limitNumber.value);\n const disableAddButton = computed(() => !isInvalid.value && !isDuplicate.value);\n const slotAttrs = computed(() => ({\n addButtonText: props.addButtonText,\n addButtonVariant: props.addButtonVariant,\n addTag,\n disableAddButton: disableAddButton.value,\n disabled: props.disabled,\n duplicateTagText: props.duplicateTagText,\n duplicateTags: duplicateTags.value,\n form: props.form,\n inputAttrs: {\n ...props.inputAttrs,\n disabled: props.disabled,\n form: props.form,\n id: _inputId.value,\n value: inputValue.value\n },\n inputClass: props.inputClass,\n inputHandlers: {\n input: onInput,\n keydown: onKeydown,\n change: onChange\n },\n inputId: _inputId.value,\n inputType: props.inputType,\n invalidTagText: props.invalidTagText,\n invalidTags: invalidTags.value,\n isDuplicate: isDuplicate.value,\n isInvalid: isInvalid.value,\n isLimitReached: isLimitReached.value,\n limitTagsText: props.limitTagsText,\n limit: limitNumber.value,\n noTagRemove: props.noTagRemove,\n placeholder: props.placeholder,\n removeTag,\n required: props.required,\n separator: props.separator,\n size: props.size,\n state: props.state,\n tagClass: props.tagClass,\n tagPills: props.tagPills,\n tagRemoveLabel: props.tagRemoveLabel,\n tagVariant: props.tagVariant,\n tags: tags.value\n }));\n const onFocusin = (e) => {\n if (props.disabled) {\n const target = e.target;\n target.blur();\n return;\n }\n emit(\"focusin\", e);\n };\n const onFocus = (e) => {\n if (props.disabled || props.noOuterFocus) {\n return;\n }\n focused.value = true;\n emit(\"focus\", e);\n };\n const onBlur = (e) => {\n focused.value = false;\n emit(\"blur\", e);\n };\n const onInput = (e) => {\n var _a, _b;\n const value = typeof e === \"string\" ? e : e.target.value;\n shouldRemoveOnDelete.value = false;\n if (((_a = props.separator) == null ? void 0 : _a.includes(value.charAt(0))) && value.length > 0) {\n if (input.value) {\n input.value.value = \"\";\n }\n return;\n }\n inputValue.value = value;\n if ((_b = props.separator) == null ? void 0 : _b.includes(value.charAt(value.length - 1))) {\n addTag(value.slice(0, value.length - 1));\n return;\n }\n validTags.value = props.tagValidator(value) && !isDuplicate.value ? [value] : [];\n invalidTags.value = props.tagValidator(value) ? [] : [value];\n duplicateTags.value = isDuplicate.value ? [value] : [];\n emit(\"tag-state\", validTags.value, invalidTags.value, duplicateTags.value);\n };\n const onChange = (e) => {\n if (props.addOnChange) {\n onInput(e);\n if (!isDuplicate.value) {\n addTag(inputValue.value);\n }\n }\n };\n const onKeydown = (e) => {\n if (e.key === \"Enter\" && !props.noAddOnEnter) {\n addTag(inputValue.value);\n return;\n }\n if ((e.key === \"Backspace\" || e.key === \"Delete\") && props.removeOnDelete && inputValue.value === \"\" && shouldRemoveOnDelete.value && tags.value.length > 0) {\n removeTag(tags.value[tags.value.length - 1]);\n } else {\n shouldRemoveOnDelete.value = true;\n }\n };\n onKeyStroke(onKeydown, { target: input });\n const separator = computed(() => {\n if (!props.separator) {\n return;\n }\n return typeof props.separator === \"string\" ? props.separator : props.separator.join(\"\");\n });\n const separatorRegExp = computed(() => {\n if (!separator.value) {\n return;\n }\n return new RegExp(`[${escapeRegExpChars(separator.value)}]+`);\n });\n const addTag = (tag) => {\n tag = (tag ?? inputValue.value).trim();\n const newTags = separatorRegExp.value ? tag.split(separatorRegExp.value).map((t) => t.trim()) : [tag];\n const validTags2 = [];\n for (const newTag of newTags) {\n if (newTag === \"\" || isDuplicate.value || !props.tagValidator(newTag)) {\n continue;\n }\n if (limitNumber.value && isLimitReached.value) {\n break;\n }\n validTags2.push(newTag);\n }\n const newValue = [...modelValue.value, ...validTags2];\n inputValue.value = \"\";\n shouldRemoveOnDelete.value = true;\n modelValue.value = newValue;\n focused.value = true;\n };\n const removeTag = (tag) => {\n const tagIndex = tags.value.indexOf((tag == null ? void 0 : tag.toString()) ?? \"\");\n if (tagIndex === -1) return;\n lastRemovedTag.value = tags.value.splice(tagIndex, 1).toString();\n modelValue.value = tags.value;\n };\n __expose({\n blur: () => {\n focused.value = false;\n },\n element: input,\n focus: () => {\n focused.value = true;\n },\n inputValue\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n id: unref(computedId),\n class: normalizeClass([\"b-form-tags form-control h-auto\", computedClasses.value]),\n role: \"group\",\n tabindex: \"-1\",\n onFocusin,\n onFocusout: _cache[1] || (_cache[1] = ($event) => emit(\"focusout\", $event))\n }, [\n createElementVNode(\"output\", {\n id: `${unref(computedId)}selected_tags__`,\n class: \"visually-hidden\",\n for: _inputId.value,\n \"aria-live\": unref(focused) ? \"polite\" : \"off\",\n \"aria-atomic\": \"true\",\n \"aria-relevant\": \"additions text\"\n }, toDisplayString(tags.value.join(\", \")), 9, _hoisted_2),\n createElementVNode(\"div\", {\n id: `${unref(computedId)}removed_tags__`,\n role: \"status\",\n \"aria-live\": unref(focused) ? \"assertive\" : \"off\",\n \"aria-atomic\": \"true\",\n class: \"visually-hidden\"\n }, \" (\" + toDisplayString(unref(props).tagRemovedLabel) + \") \" + toDisplayString(lastRemovedTag.value), 9, _hoisted_3),\n renderSlot(_ctx.$slots, \"default\", normalizeProps(guardReactiveProps(slotAttrs.value)), () => [\n createElementVNode(\"ul\", {\n id: `${unref(computedId)}tag_list__`,\n class: \"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center\"\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(tags.value, (tag, index) => {\n return renderSlot(_ctx.$slots, \"tag\", {\n key: index,\n tag,\n tagClass: unref(props).tagClass,\n tagVariant: unref(props).tagVariant,\n tagPills: unref(props).tagPills,\n removeTag\n }, () => [\n (openBlock(), createBlock(_sfc_main$1, {\n key: tag,\n class: normalizeClass(unref(props).tagClass),\n tag: \"li\",\n variant: unref(props).tagVariant,\n pill: unref(props).tagPills,\n onRemove: removeTag\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(tag), 1)\n ]),\n _: 2\n }, 1032, [\"class\", \"variant\", \"pill\"]))\n ]);\n }), 128)),\n createElementVNode(\"li\", {\n role: \"none\",\n \"aria-live\": \"off\",\n class: \"b-from-tags-field flex-grow-1\",\n \"aria-controls\": `${unref(computedId)}tag_list__`\n }, [\n createElementVNode(\"div\", _hoisted_6, [\n createElementVNode(\"input\", mergeProps({\n id: _inputId.value,\n ref: \"_input\",\n disabled: unref(props).disabled,\n value: inputValue.value,\n type: unref(props).inputType,\n placeholder: unref(props).placeholder,\n class: \"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0\",\n style: { \"outline\": \"currentcolor none 0px\", \"min-width\": \"5rem\" }\n }, unref(props).inputAttrs, {\n form: unref(props).form,\n required: unref(props).required || void 0,\n \"aria-required\": unref(props).required || void 0,\n onInput,\n onChange,\n onFocus,\n onBlur\n }), null, 16, _hoisted_7),\n disableAddButton.value ? (openBlock(), createElementBlock(\"button\", {\n key: 0,\n type: \"button\",\n class: normalizeClass([\"btn b-form-tags-button py-0\", [\n _ctx.inputClass,\n {\n [`btn-${unref(props).addButtonVariant}`]: unref(props).addButtonVariant !== null,\n \"disabled invisible\": inputValue.value.length === 0\n }\n ]]),\n style: { \"font-size\": \"90%\" },\n disabled: unref(props).disabled || inputValue.value.length === 0 || isLimitReached.value,\n onClick: _cache[0] || (_cache[0] = ($event) => addTag(inputValue.value))\n }, [\n renderSlot(_ctx.$slots, \"add-button-text\", {}, () => [\n createTextVNode(toDisplayString(unref(props).addButtonText), 1)\n ])\n ], 10, _hoisted_8)) : createCommentVNode(\"\", true)\n ])\n ], 8, _hoisted_5)\n ], 8, _hoisted_4),\n createElementVNode(\"div\", _hoisted_9, [\n isInvalid.value ? (openBlock(), createElementBlock(\"div\", _hoisted_10, toDisplayString(unref(props).invalidTagText) + \": \" + toDisplayString(inputValue.value), 1)) : createCommentVNode(\"\", true),\n isDuplicate.value ? (openBlock(), createElementBlock(\"small\", _hoisted_11, toDisplayString(unref(props).duplicateTagText) + \": \" + toDisplayString(inputValue.value), 1)) : createCommentVNode(\"\", true),\n tags.value.length === unref(props).limit ? (openBlock(), createElementBlock(\"small\", _hoisted_12, toDisplayString(unref(props).limitTagsText), 1)) : createCommentVNode(\"\", true)\n ])\n ]),\n unref(props).name ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(tags.value, (tag, index) => {\n return openBlock(), createElementBlock(\"input\", {\n key: index,\n type: \"hidden\",\n name: unref(props).name,\n value: tag\n }, null, 8, _hoisted_13);\n }), 128)) : createCommentVNode(\"\", true)\n ], 42, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main as _,\n _sfc_main$1 as a\n};\n//# sourceMappingURL=BFormTags.vue_vue_type_script_setup_true_lang-CtevLJ_Z.mjs.map\n","import { defineComponent, mergeModels, useSlots, useModel, useTemplateRef, ref, onMounted, computed, watch, createBlock, openBlock, unref, withCtx, createCommentVNode, renderSlot, Transition, mergeProps, withDirectives, createElementVNode, createElementBlock, Fragment, normalizeClass, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, vShow, nextTick } from \"vue\";\nimport { i as useBreakpoints, o as onKeyStroke, u as useFocus, j as breakpointsBootstrapV5 } from \"./index-cC189kCW.mjs\";\nimport { u as useSafeScrollLock, a as useActivatedFocusTrap } from \"./useSafeScrollLock-iJTRWqXi.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { _ as _sfc_main$2 } from \"./BButton.vue_vue_type_script_setup_true_lang-ByjfGDl1.mjs\";\nimport { _ as _sfc_main$3 } from \"./BCloseButton.vue_vue_type_script_setup_true_lang-Dh0Odbqa.mjs\";\nimport { _ as _sfc_main$1 } from \"./ConditionalTeleport.vue_vue_type_script_lang-2PJ2jBTg.mjs\";\nimport { i as isEmptySlot } from \"./dom-BK2w00Ec.mjs\";\nimport { u as useShowHide } from \"./useShowHide-DHtnuxfQ.mjs\";\nimport { _ as _export_sfc } from \"./_plugin-vue_export-helper-1tPrXgE0.mjs\";\nconst _hoisted_1 = [\"id\", \"aria-labelledby\"];\nconst _hoisted_2 = [\"id\"];\nconst fallbackClassSelector = \"offcanvas-fallback-focus\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BOffcanvas\",\n props: /* @__PURE__ */ mergeModels({\n noBackdrop: { type: Boolean, default: false },\n backdropFirst: { type: Boolean, default: false },\n bodyAttrs: { default: void 0 },\n bodyClass: { default: void 0 },\n bodyScrolling: { type: Boolean, default: false },\n footerClass: { default: void 0 },\n headerClass: { default: void 0 },\n headerCloseClass: { default: void 0 },\n headerCloseLabel: { default: \"Close\" },\n headerCloseVariant: { default: \"secondary\" },\n id: { default: void 0 },\n noCloseOnBackdrop: { type: Boolean, default: false },\n noCloseOnEsc: { type: Boolean, default: false },\n noFocus: { type: Boolean, default: false },\n noHeader: { type: Boolean, default: false },\n noTrap: { type: Boolean, default: false },\n noHeaderClose: { type: Boolean, default: false },\n placement: { default: \"start\" },\n shadow: { type: [String, Boolean], default: false },\n title: { default: void 0 },\n responsive: {},\n width: { default: void 0 },\n teleportDisabled: { type: Boolean, default: false },\n teleportTo: { default: \"body\" },\n initialAnimation: { type: Boolean, default: false },\n noAnimation: { type: Boolean, default: false },\n noFade: { type: Boolean },\n lazy: { type: Boolean, default: false },\n unmountLazy: { type: Boolean, default: false },\n show: { type: Boolean, default: false },\n transProps: {},\n visible: { type: Boolean, default: false }\n }, {\n \"modelValue\": { type: Boolean, ...{\n default: false\n } },\n \"modelModifiers\": {}\n }),\n emits: /* @__PURE__ */ mergeModels([\"close\", \"esc\", \"backdrop\", \"breakpoint\", \"hide\", \"hide-prevented\", \"hidden\", \"show\", \"show-prevented\", \"shown\", \"toggle\", \"toggle-prevented\"], [\"update:modelValue\"]),\n setup(__props, { expose: __expose, emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BOffcanvas\");\n const emit = __emit;\n const slots = useSlots();\n const modelValue = useModel(__props, \"modelValue\");\n const computedId = useId(() => props.id, \"offcanvas\");\n const element = useTemplateRef(\"_element\");\n const fallbackFocusElement = useTemplateRef(\"_fallbackFocusElement\");\n const onAfterEnter = () => {\n nextTick(() => {\n if (props.noFocus === false && !isOpenByBreakpoint.value) {\n focused.value = true;\n }\n });\n };\n const {\n showRef,\n renderRef,\n renderBackdropRef,\n hide,\n show,\n toggle,\n computedNoAnimation,\n contentShowing,\n transitionProps,\n backdropReady,\n backdropTransitionProps,\n backdropVisible,\n isVisible,\n buildTriggerableEvent,\n localNoAnimation,\n isLeaving,\n trapActive\n } = useShowHide(modelValue, props, emit, element, computedId, {\n transitionProps: {\n onAfterEnter,\n enterToClass: \"showing\",\n leaveToClass: \"hiding\",\n enterActiveClass: \"\",\n leaveActiveClass: \"\",\n enterFromClass: \"\",\n leaveFromClass: \"\"\n }\n });\n const breakpoints = useBreakpoints(breakpointsBootstrapV5);\n const smallerOrEqualToBreakpoint = breakpoints.smallerOrEqual(() => props.responsive ?? \"xs\");\n const isOpenByBreakpoint = ref(props.responsive !== void 0 && !smallerOrEqualToBreakpoint.value);\n onMounted(() => {\n if (props.responsive !== void 0)\n emit(\"breakpoint\", buildTriggerableEvent(\"breakpoint\"), isOpenByBreakpoint.value);\n });\n useSafeScrollLock(showRef, () => props.bodyScrolling || isOpenByBreakpoint.value);\n onKeyStroke(\n \"Escape\",\n () => {\n hide(\"esc\");\n },\n { target: element }\n );\n const { focused } = useFocus(element, {\n initialValue: modelValue.value && props.noFocus === false && !isOpenByBreakpoint.value\n });\n const { needsFallback } = useActivatedFocusTrap({\n element,\n isActive: trapActive,\n noTrap: () => props.noTrap || isOpenByBreakpoint.value,\n fallbackFocus: {\n classSelector: fallbackClassSelector,\n ref: fallbackFocusElement\n }\n });\n const showBackdrop = computed(\n () => (props.responsive === void 0 || !isOpenByBreakpoint.value) && props.noBackdrop === false && (showRef.value === true || isLeaving.value && props.backdropFirst && !computedNoAnimation.value)\n );\n const hasHeaderCloseSlot = computed(() => !isEmptySlot(slots[\"header-close\"]));\n const headerCloseClasses = computed(() => [\n { \"text-reset\": !hasHeaderCloseSlot.value },\n props.headerCloseClass\n ]);\n const headerCloseAttrs = computed(() => ({\n variant: hasHeaderCloseSlot.value ? props.headerCloseVariant : void 0,\n class: headerCloseClasses.value\n }));\n const hasFooterSlot = computed(() => !isEmptySlot(slots.footer));\n const computedClasses = computed(() => [\n props.responsive === void 0 ? \"offcanvas\" : `offcanvas-${props.responsive}`,\n `offcanvas-${props.placement}`,\n {\n \"show\": isVisible.value,\n [`shadow-${props.shadow}`]: !!props.shadow,\n \"no-transition\": computedNoAnimation.value\n }\n ]);\n const computedStyles = computed(() => ({\n width: props.width\n }));\n const sharedSlots = computed(() => ({\n visible: showRef.value,\n placement: props.placement,\n hide\n }));\n watch(smallerOrEqualToBreakpoint, (newValue) => {\n if (props.responsive === void 0) return;\n if (newValue === true) {\n const opened = false;\n localNoAnimation.value = true;\n requestAnimationFrame(() => {\n isOpenByBreakpoint.value = opened;\n });\n emit(\"breakpoint\", buildTriggerableEvent(\"breakpoint\"), opened);\n emit(\"hide\", buildTriggerableEvent(\"hide\"));\n } else {\n const opened = true;\n localNoAnimation.value = true;\n requestAnimationFrame(() => {\n isOpenByBreakpoint.value = opened;\n });\n emit(\"breakpoint\", buildTriggerableEvent(\"breakpoint\"), opened);\n emit(\"show\", buildTriggerableEvent(\"show\"));\n }\n });\n __expose({\n hide,\n show,\n toggle,\n isOpenByBreakpoint\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$1, {\n to: unref(props).teleportTo,\n disabled: unref(props).teleportDisabled || isOpenByBreakpoint.value\n }, {\n default: withCtx(() => [\n unref(renderRef) || unref(contentShowing) || isOpenByBreakpoint.value ? (openBlock(), createBlock(Transition, mergeProps({ key: 0 }, unref(transitionProps), {\n appear: modelValue.value || unref(props).visible\n }), {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"div\", mergeProps({\n id: unref(computedId),\n ref: \"_element\",\n \"aria-modal\": \"true\",\n role: \"dialog\",\n class: computedClasses.value,\n style: computedStyles.value,\n tabindex: \"-1\",\n \"aria-labelledby\": `${unref(computedId)}-offcanvas-label`,\n \"data-bs-backdrop\": \"false\"\n }, _ctx.$attrs), [\n unref(contentShowing) || isOpenByBreakpoint.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n !unref(props).noHeader ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass([\"offcanvas-header\", unref(props).headerClass])\n }, [\n renderSlot(_ctx.$slots, \"header\", normalizeProps(guardReactiveProps(sharedSlots.value)), () => [\n createElementVNode(\"h5\", {\n id: `${unref(computedId)}-offcanvas-label`,\n class: \"offcanvas-title\"\n }, [\n renderSlot(_ctx.$slots, \"title\", normalizeProps(guardReactiveProps(sharedSlots.value)), () => [\n createTextVNode(toDisplayString(unref(props).title), 1)\n ], true)\n ], 8, _hoisted_2),\n !unref(props).noHeaderClose ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n hasHeaderCloseSlot.value ? (openBlock(), createBlock(_sfc_main$2, mergeProps({ key: 0 }, headerCloseAttrs.value, {\n onClick: _cache[0] || (_cache[0] = ($event) => unref(hide)(\"close\"))\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"header-close\", {}, void 0, true)\n ]),\n _: 3\n }, 16)) : (openBlock(), createBlock(_sfc_main$3, mergeProps({\n key: 1,\n \"aria-label\": unref(props).headerCloseLabel\n }, headerCloseAttrs.value, {\n onClick: _cache[1] || (_cache[1] = ($event) => unref(hide)(\"close\"))\n }), null, 16, [\"aria-label\"]))\n ], 64)) : createCommentVNode(\"\", true)\n ], true)\n ], 2)) : createCommentVNode(\"\", true),\n createElementVNode(\"div\", mergeProps({\n class: [\"offcanvas-body\", unref(props).bodyClass]\n }, unref(props).bodyAttrs), [\n renderSlot(_ctx.$slots, \"default\", normalizeProps(guardReactiveProps(sharedSlots.value)), void 0, true)\n ], 16),\n hasFooterSlot.value ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n class: normalizeClass(unref(props).footerClass)\n }, [\n renderSlot(_ctx.$slots, \"footer\", normalizeProps(guardReactiveProps(sharedSlots.value)), void 0, true)\n ], 2)) : createCommentVNode(\"\", true)\n ], 64)) : createCommentVNode(\"\", true),\n unref(needsFallback) ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n ref: \"_fallbackFocusElement\",\n class: normalizeClass(fallbackClassSelector),\n tabindex: \"0\",\n style: { \"width\": \"0\", \"height\": \"0\", \"overflow\": \"hidden\" }\n }, null, 512)) : createCommentVNode(\"\", true)\n ], 16, _hoisted_1), [\n [\n vShow,\n unref(showRef) && (unref(backdropReady) && unref(props).backdropFirst || !unref(props).backdropFirst) || isOpenByBreakpoint.value\n ]\n ])\n ]),\n _: 3\n }, 16, [\"appear\"])) : createCommentVNode(\"\", true),\n !unref(props).noBackdrop ? renderSlot(_ctx.$slots, \"backdrop\", normalizeProps(mergeProps({ key: 1 }, sharedSlots.value)), () => [\n unref(renderBackdropRef) ? (openBlock(), createBlock(Transition, normalizeProps(mergeProps({ key: 0 }, unref(backdropTransitionProps))), {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"div\", {\n class: normalizeClass([\"offcanvas-backdrop\", {\n fade: !unref(computedNoAnimation),\n show: unref(backdropVisible) || unref(computedNoAnimation)\n }]),\n onClick: _cache[2] || (_cache[2] = ($event) => unref(hide)(\"backdrop\"))\n }, null, 2), [\n [vShow, showBackdrop.value]\n ])\n ]),\n _: 1\n }, 16)) : createCommentVNode(\"\", true)\n ], true) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"to\", \"disabled\"]);\n };\n }\n});\nconst BOffcanvas = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__scopeId\", \"data-v-77d852fe\"]]);\nexport {\n BOffcanvas as B\n};\n//# sourceMappingURL=BOffcanvas-BIRIpipC.mjs.map\n","import { defineComponent, mergeModels, useSlots, useModel, inject, useTemplateRef, computed, createBlock, openBlock, normalizeClass, unref, withCtx, withDirectives, createElementBlock, createCommentVNode, createElementVNode, mergeProps, vModelRadio, renderSlot, provide, toRef, Fragment, renderList, createTextVNode, toDisplayString } from \"vue\";\nimport { k as radioGroupKey } from \"./keys-D3gOZjD-.mjs\";\nimport { u as useFocus } from \"./index-cC189kCW.mjs\";\nimport { g as getClasses, a as getInputClasses, b as getLabelClasses, c as getGroupAttr, d as getGroupClasses } from \"./useFormCheck-Bcx8Ea7M.mjs\";\nimport { i as isEmptySlot } from \"./dom-BK2w00Ec.mjs\";\nimport { _ as _sfc_main$2 } from \"./ConditionalWrapper.vue_vue_type_script_lang-CUX3HBqw.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nconst _hoisted_1$1 = [\"id\", \"disabled\", \"required\", \"name\", \"form\", \"aria-label\", \"aria-labelledby\", \"value\", \"aria-required\"];\nconst _hoisted_2 = [\"for\"];\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BFormRadio\",\n props: /* @__PURE__ */ mergeModels({\n ariaLabel: { default: void 0 },\n ariaLabelledby: { default: void 0 },\n autofocus: { type: Boolean, default: false },\n button: { type: Boolean, default: false },\n buttonGroup: { type: Boolean, default: false },\n buttonVariant: { default: null },\n disabled: { type: Boolean, default: false },\n form: { default: void 0 },\n id: { default: void 0 },\n inline: { type: Boolean, default: false },\n name: { default: void 0 },\n plain: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n reverse: { type: Boolean, default: false },\n size: { default: void 0 },\n state: { type: [Boolean, null], default: null },\n value: { type: [Boolean, String, Array, Object, Number, null], default: true }\n }, {\n \"modelValue\": { type: [Boolean, String, Array, Object, Number, null], ...{\n default: void 0\n } },\n \"modelModifiers\": {}\n }),\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose }) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormRadio\");\n const slots = useSlots();\n const modelValue = useModel(__props, \"modelValue\");\n const computedId = useId(() => props.id, \"form-check\");\n const parentData = inject(radioGroupKey, null);\n const input = useTemplateRef(\"_input\");\n const { focused } = useFocus(input, {\n initialValue: props.autofocus\n });\n const hasDefaultSlot = computed(() => !isEmptySlot(slots.default));\n const localValue = computed({\n get: () => parentData ? parentData.modelValue.value : modelValue.value,\n set: (newValue) => {\n if (newValue === void 0) return;\n if (parentData !== null) {\n parentData.modelValue.value = newValue;\n return;\n }\n modelValue.value = newValue;\n }\n });\n const computedRequired = computed(\n () => !!(props.name ?? (parentData == null ? void 0 : parentData.name.value)) && (props.required || (parentData == null ? void 0 : parentData.required.value))\n );\n const isButtonGroup = computed(() => props.buttonGroup || ((parentData == null ? void 0 : parentData.buttons.value) ?? false));\n const classesObject = computed(() => ({\n plain: props.plain || ((parentData == null ? void 0 : parentData.plain.value) ?? false),\n button: props.button || ((parentData == null ? void 0 : parentData.buttons.value) ?? false),\n inline: props.inline || ((parentData == null ? void 0 : parentData.inline.value) ?? false),\n state: props.state || (parentData == null ? void 0 : parentData.state.value),\n reverse: props.reverse || ((parentData == null ? void 0 : parentData.reverse.value) ?? false),\n size: props.size ?? (parentData == null ? void 0 : parentData.size.value) ?? \"md\",\n // This is where the true default is made\n buttonVariant: props.buttonVariant ?? (parentData == null ? void 0 : parentData.buttonVariant.value) ?? \"secondary\",\n // This is where the true default is made\n hasDefaultSlot: hasDefaultSlot.value\n }));\n const computedClasses = getClasses(classesObject);\n const inputClasses = getInputClasses(classesObject);\n const labelClasses = getLabelClasses(classesObject);\n __expose({\n blur: () => {\n focused.value = false;\n },\n element: input,\n focus: () => {\n focused.value = true;\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$2, {\n skip: isButtonGroup.value,\n class: normalizeClass(unref(computedClasses))\n }, {\n default: withCtx(() => {\n var _a, _b, _c;\n return [\n withDirectives(createElementVNode(\"input\", mergeProps({ id: unref(computedId) }, _ctx.$attrs, {\n ref: \"_input\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => localValue.value = $event),\n class: unref(inputClasses),\n type: \"radio\",\n disabled: unref(props).disabled || ((_a = unref(parentData)) == null ? void 0 : _a.disabled.value),\n required: computedRequired.value || void 0,\n name: unref(props).name || ((_b = unref(parentData)) == null ? void 0 : _b.name.value),\n form: unref(props).form || ((_c = unref(parentData)) == null ? void 0 : _c.form.value),\n \"aria-label\": unref(props).ariaLabel,\n \"aria-labelledby\": unref(props).ariaLabelledby,\n value: unref(props).value,\n \"aria-required\": computedRequired.value || void 0\n }), null, 16, _hoisted_1$1), [\n [vModelRadio, localValue.value]\n ]),\n hasDefaultSlot.value || unref(props).plain === false ? (openBlock(), createElementBlock(\"label\", {\n key: 0,\n for: unref(computedId),\n class: normalizeClass(unref(labelClasses))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 10, _hoisted_2)) : createCommentVNode(\"\", true)\n ];\n }),\n _: 3\n }, 8, [\"skip\", \"class\"]);\n };\n }\n});\nconst _hoisted_1 = [\"id\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormRadioGroup\",\n props: /* @__PURE__ */ mergeModels({\n ariaInvalid: { type: [Boolean, String], default: void 0 },\n autofocus: { type: Boolean, default: false },\n buttonVariant: { default: \"secondary\" },\n buttons: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n disabledField: { default: \"disabled\" },\n form: { default: void 0 },\n id: { default: void 0 },\n name: { default: void 0 },\n options: { default: () => [] },\n plain: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n reverse: { type: Boolean, default: false },\n size: { default: \"md\" },\n stacked: { type: Boolean, default: false },\n state: { type: [Boolean, null], default: null },\n textField: { default: \"text\" },\n validated: { type: Boolean, default: false },\n valueField: { default: \"value\" }\n }, {\n \"modelValue\": {\n default: null\n },\n \"modelModifiers\": {}\n }),\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose }) {\n const _props = __props;\n const props = useDefaults(_props, \"BFormRadioGroup\");\n const modelValue = useModel(__props, \"modelValue\");\n const computedId = useId(() => props.id, \"radio\");\n const computedName = useId(() => props.name, \"checkbox\");\n const element = useTemplateRef(\"_element\");\n const { focused } = useFocus(element, {\n initialValue: props.autofocus\n });\n provide(radioGroupKey, {\n modelValue,\n buttonVariant: toRef(() => props.buttonVariant),\n form: toRef(() => props.form),\n name: computedName,\n buttons: toRef(() => props.buttons),\n state: toRef(() => props.state),\n plain: toRef(() => props.plain),\n size: toRef(() => props.size),\n inline: toRef(() => !props.stacked),\n reverse: toRef(() => props.reverse),\n required: toRef(() => props.required),\n disabled: toRef(() => props.disabled)\n });\n const normalizeOptions = computed(\n () => props.options.map(\n (el) => typeof el === \"string\" || typeof el === \"number\" ? {\n value: el,\n disabled: props.disabled,\n text: el.toString()\n } : {\n ...el,\n value: el[props.valueField],\n disabled: el[props.disabledField],\n text: el[props.textField]\n }\n )\n );\n const classesObject = computed(() => ({\n required: props.required,\n ariaInvalid: props.ariaInvalid,\n state: props.state,\n validated: props.validated,\n buttons: props.buttons,\n stacked: props.stacked,\n size: props.size\n }));\n const computedAttrs = getGroupAttr(classesObject);\n const computedClasses = getGroupClasses(classesObject);\n __expose({\n blur: () => {\n focused.value = false;\n },\n focus: () => {\n focused.value = true;\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", mergeProps(unref(computedAttrs), {\n id: unref(computedId),\n ref: \"_element\",\n role: \"radiogroup\",\n class: [unref(computedClasses), \"bv-no-focus-ring\"],\n tabindex: \"-1\"\n }), [\n renderSlot(_ctx.$slots, \"first\"),\n (openBlock(true), createElementBlock(Fragment, null, renderList(normalizeOptions.value, (item, index) => {\n return openBlock(), createBlock(_sfc_main$1, mergeProps({\n key: index,\n ref_for: true\n }, item), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"option\", mergeProps({ ref_for: true }, item), () => [\n createTextVNode(toDisplayString(item.text), 1)\n ])\n ]),\n _: 2\n }, 1040);\n }), 128)),\n renderSlot(_ctx.$slots, \"default\")\n ], 16, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main$1 as _,\n _sfc_main as a\n};\n//# sourceMappingURL=BFormRadioGroup.vue_vue_type_script_setup_true_lang-Bnc5FVv5.mjs.map\n","import { inject, onMounted, watch, defineComponent, mergeModels, useModel, useTemplateRef, computed, createElementBlock, openBlock, unref, normalizeClass, renderSlot, createCommentVNode, createElementVNode, mergeProps, normalizeProps, guardReactiveProps, toDisplayString } from \"vue\";\nimport { s as stopEvent, e as eventOnOff } from \"./event-a_bi5ysw.mjs\";\nimport { a as CODE_UP, c as CODE_DOWN, j as CODE_PAGEUP, k as CODE_PAGEDOWN, l as CODE_HOME, m as CODE_END } from \"./constants-COk0ugyL.mjs\";\nimport { u as useFocus, o as onKeyStroke } from \"./index-cC189kCW.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { r as rtlPluginKey } from \"./keys-D3gOZjD-.mjs\";\nimport { u as useToNumber } from \"./index-CLgoGrAV.mjs\";\nconst useRtl = () => {\n const rtlPlugin = inject(rtlPluginKey);\n onMounted(() => {\n watch(\n () => rtlPlugin == null ? void 0 : rtlPlugin.locale.value,\n (newValue) => {\n const html = document.documentElement;\n html.setAttribute(\"lang\", newValue ?? \"\");\n },\n { immediate: true }\n );\n watch(\n () => rtlPlugin == null ? void 0 : rtlPlugin.isRtl.value,\n (newValue) => {\n const html = document.documentElement;\n html.setAttribute(\"dir\", newValue ?? false ? \"rtl\" : \"ltr\");\n },\n { immediate: true }\n );\n });\n return { ...rtlPlugin };\n};\nconst _hoisted_1 = [\"lang\", \"tabindex\", \"title\"];\nconst _hoisted_2 = [\"name\", \"form\", \"value\"];\nconst _hoisted_3 = [\"id\", \"dir\", \"tabindex\", \"aria-label\", \"aria-invalid\", \"aria-required\", \"aria-valuemin\", \"aria-valuemax\", \"aria-valuenow\", \"aria-valuetext\"];\nconst defaultValues = {\n min: 1,\n max: 100,\n step: 1,\n repeatDelay: 500,\n repeatInterval: 100,\n repeatThreshold: 10,\n repeatMultiplier: 4\n};\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BFormSpinbutton\",\n props: /* @__PURE__ */ mergeModels({\n ariaControls: { default: void 0 },\n ariaLabel: { default: void 0 },\n disabled: { type: Boolean, default: false },\n form: { default: void 0 },\n formatterFn: { type: Function, default: void 0 },\n id: { default: void 0 },\n inline: { type: Boolean, default: false },\n labelDecrement: { default: \"Decrement\" },\n labelIncrement: { default: \"Increment\" },\n locale: { default: void 0 },\n max: { default: defaultValues.max },\n min: { default: defaultValues.min },\n name: { default: void 0 },\n placeholder: { default: void 0 },\n readonly: { type: Boolean, default: false },\n repeatDelay: { default: defaultValues.repeatDelay },\n repeatInterval: { default: defaultValues.repeatInterval },\n repeatStepMultiplier: { default: defaultValues.repeatMultiplier },\n repeatThreshold: { default: defaultValues.repeatThreshold },\n required: { type: Boolean, default: false },\n size: { default: void 0 },\n state: { type: [Boolean, null], default: null },\n step: { default: defaultValues.step },\n vertical: { type: Boolean, default: false },\n wrap: { type: Boolean, default: false }\n }, {\n \"modelValue\": {\n default: null\n },\n \"modelModifiers\": {}\n }),\n emits: /* @__PURE__ */ mergeModels([\"change\"], [\"update:modelValue\"]),\n setup(__props, { emit: __emit }) {\n const KEY_CODES = [CODE_UP, CODE_DOWN, CODE_HOME, CODE_END, CODE_PAGEUP, CODE_PAGEDOWN];\n const _props = __props;\n const props = useDefaults(_props, \"BFormSpinbutton\");\n const emit = __emit;\n const modelValue = useModel(__props, \"modelValue\");\n const element = useTemplateRef(\"_element\");\n const { focused } = useFocus(element);\n const computedId = useId(() => props.id, \"spinbutton\");\n const computedClasses = computed(() => ({\n \"disabled\": props.disabled,\n \"readonly\": props.readonly,\n \"focus\": focused.value,\n \"d-inline-flex\": props.inline || props.vertical,\n \"d-flex\": !props.inline && !props.vertical,\n \"align-items-stretch\": !props.vertical,\n \"flex-column\": props.vertical,\n [`form-control-${props.size}`]: props.size !== void 0\n }));\n const computedSpinClasses = computed(() => ({\n \"d-flex\": props.vertical,\n \"align-self-center\": !props.vertical,\n \"align-items-center\": props.vertical,\n \"border-top\": props.vertical,\n \"border-bottom\": props.vertical,\n \"border-start\": !props.vertical,\n \"border-end\": !props.vertical\n }));\n let $_autoDelayTimer;\n let $_autoRepeatTimer;\n let $_keyIsDown = false;\n const stepNumber = useToNumber(() => props.step);\n const computedStep = computed(\n () => Number.isNaN(stepNumber.value) ? defaultValues.step : stepNumber.value\n );\n const minNumber = useToNumber(() => props.min);\n const computedMin = computed(\n () => Number.isNaN(minNumber.value) ? defaultValues.min : minNumber.value\n );\n const maxNumber = useToNumber(() => props.max);\n const computedMax = computed(() => {\n const step = computedStep.value;\n const min = computedMin.value;\n return Math.floor((maxNumber.value - min) / step) * step + min;\n });\n const repeatDelayNumber = useToNumber(() => props.repeatDelay, {\n nanToZero: true,\n method: \"parseInt\"\n });\n const computedDelay = computed(\n () => repeatDelayNumber.value > 0 ? repeatDelayNumber.value : defaultValues.repeatDelay\n );\n const repeatIntervalNumber = useToNumber(() => props.repeatInterval, {\n nanToZero: true,\n method: \"parseInt\"\n });\n const computedInterval = computed(\n () => repeatIntervalNumber.value > 0 ? repeatIntervalNumber.value : defaultValues.repeatInterval\n );\n const repeatThresholdNumber = useToNumber(() => props.repeatThreshold, {\n nanToZero: true,\n method: \"parseInt\"\n });\n const computedThreshold = computed(\n () => Math.max(\n Number.isNaN(repeatThresholdNumber.value) ? defaultValues.repeatThreshold : repeatThresholdNumber.value,\n 1\n )\n );\n const repeatStepMultiplierNumber = useToNumber(() => props.repeatStepMultiplier, {\n nanToZero: true,\n method: \"parseInt\"\n });\n const computedStepMultiplier = computed(\n () => Math.max(\n Number.isNaN(repeatStepMultiplierNumber.value) ? defaultValues.repeatMultiplier : repeatStepMultiplierNumber.value,\n 1\n )\n );\n const computedPrecision = computed(() => {\n const step = computedStep.value;\n return Math.floor(step) === step ? 0 : (step.toString().split(\".\")[1] || \"\").length;\n });\n const computedMultiplier = computed(() => Math.pow(10, computedPrecision.value || 0));\n const valueAsFixed = computed(\n () => modelValue.value === null ? \"\" : modelValue.value.toFixed(computedPrecision.value)\n );\n const { isRtl, locale: globalLocale } = useRtl();\n const computedLocale = computed(() => {\n const loc = (props.locale ?? (globalLocale == null ? void 0 : globalLocale.value)) || \"locale\";\n const locales = [loc];\n const nf = new Intl.NumberFormat(locales);\n return nf.resolvedOptions().locale;\n });\n const defaultFormatter = () => new Intl.NumberFormat(computedLocale.value, {\n style: \"decimal\",\n useGrouping: false,\n minimumIntegerDigits: 1,\n minimumFractionDigits: computedPrecision.value,\n maximumFractionDigits: computedPrecision.value,\n notation: \"standard\"\n }).format;\n const computedFormatter = computed(() => props.formatterFn ?? defaultFormatter());\n const stepValue = (direction) => {\n let { value } = modelValue;\n if (!props.disabled && value !== null) {\n const step = computedStep.value * direction;\n const min = computedMin.value;\n const max = computedMax.value;\n const multiplier = computedMultiplier.value;\n const { wrap } = props;\n value = Math.round((value - min) / step) * step + min + step;\n value = Math.round(value * multiplier) / multiplier;\n modelValue.value = value > max ? wrap ? min : max : value < min ? wrap ? max : min : value;\n }\n };\n const stepUp = (multiplier = 1) => {\n if (modelValue.value === null) {\n modelValue.value = computedMin.value;\n return;\n }\n stepValue(1 * multiplier);\n };\n const stepDown = (multiplier = 1) => {\n if (modelValue.value === null) {\n modelValue.value = props.wrap ? computedMax.value : computedMin.value;\n return;\n }\n stepValue(-1 * multiplier);\n };\n onKeyStroke(\n KEY_CODES,\n (event) => {\n const { code, altKey, ctrlKey, metaKey } = event;\n if (props.disabled || props.readonly || altKey || ctrlKey || metaKey) return;\n stopEvent(event, { immediatePropagation: true });\n if ($_keyIsDown) {\n return;\n }\n resetTimers();\n if ([CODE_UP, CODE_DOWN].includes(code)) {\n $_keyIsDown = true;\n if (code === CODE_UP) {\n handleStepRepeat(event, stepUp);\n return;\n }\n if (code === CODE_DOWN) {\n handleStepRepeat(event, stepDown);\n }\n return;\n }\n if (code === CODE_PAGEUP) {\n stepUp(computedStepMultiplier.value);\n return;\n }\n if (code === CODE_PAGEDOWN) {\n stepDown(computedStepMultiplier.value);\n return;\n }\n if (code === CODE_HOME) {\n modelValue.value = computedMin.value;\n return;\n }\n if (code === CODE_END) {\n modelValue.value = computedMax.value;\n }\n },\n { target: element, eventName: \"keydown\" }\n );\n onKeyStroke(\n KEY_CODES,\n (event) => {\n const { altKey, ctrlKey, metaKey } = event;\n if (props.disabled || props.readonly || altKey || ctrlKey || metaKey) return;\n stopEvent(event, { immediatePropagation: true });\n resetTimers();\n $_keyIsDown = false;\n emit(\"change\", modelValue.value);\n },\n { target: element, eventName: \"keyup\" }\n );\n const handleStepRepeat = (event, stepper) => {\n const { type } = event || {};\n if (!props.disabled && !props.readonly) {\n if (isMouseEvent(event)) {\n if (type === \"mousedown\" && event.button) return;\n }\n resetTimers();\n stepper(1);\n const threshold = computedThreshold.value;\n const multiplier = computedStepMultiplier.value;\n const delay = computedDelay.value;\n const interval = computedInterval.value;\n $_autoDelayTimer = setTimeout(() => {\n let count = 0;\n $_autoRepeatTimer = setInterval(() => {\n stepper(count < threshold ? 1 : multiplier);\n count++;\n }, interval);\n }, delay);\n }\n };\n const isMouseEvent = (evt) => evt.type === \"mouseup\" || evt.type === \"mousedown\";\n const onMouseup = (event) => {\n if (isMouseEvent(event)) {\n if (event.type === \"mouseup\" && event.button) {\n return;\n }\n }\n stopEvent(event, { immediatePropagation: true });\n resetTimers();\n setMouseup(false);\n emit(\"change\", modelValue.value);\n };\n const setMouseup = (on) => {\n try {\n eventOnOff(on, [document.body, \"mouseup\", onMouseup, false]);\n eventOnOff(on, [document.body, \"touchend\", onMouseup, false]);\n } catch {\n }\n };\n const resetTimers = () => {\n clearTimeout($_autoDelayTimer);\n clearInterval($_autoRepeatTimer);\n $_autoDelayTimer = void 0;\n $_autoRepeatTimer = void 0;\n };\n const buttons = computed(() => {\n const incrementSvgAttrs = {\n svg: {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"16\",\n height: \"16\",\n fill: \"currentColor\",\n class: \"bi bi-plus\",\n viewBox: \"0 0 16 16\"\n },\n path: {\n d: \"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z\"\n }\n };\n const decrementSvgAttrs = {\n svg: {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"16\",\n height: \"16\",\n fill: \"currentColor\",\n class: \"bi bi-dash\",\n viewBox: \"0 0 16 16\"\n },\n path: { d: \"M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z\" }\n };\n const sharedButtonAttrs = {\n \"class\": [{ \"py-0\": !props.vertical }, \"btn\", \"btn-sm\", \"border-0\", \"rounded-0\"],\n \"tabindex\": \"-1\",\n \"type\": \"button\",\n \"disabled\": props.disabled || props.readonly,\n \"aria-disabled\": props.disabled || props.readonly ? true : void 0,\n \"aria-controls\": computedId.value\n };\n const sharedSvgAttrs = {\n \"aria-hidden\": true,\n \"scale\": focused.value ? 1.5 : 1.25\n };\n const handler = (event, stepper) => {\n if (!props.disabled && !props.readonly) {\n stopEvent(event, { immediatePropagation: true });\n setMouseup(true);\n focused.value = true;\n handleStepRepeat(event, stepper);\n }\n };\n const incrementAttrs = {\n button: {\n ...sharedButtonAttrs,\n \"aria-label\": props.labelIncrement || void 0,\n \"aria-keyshortcuts\": \"ArrowUp\"\n },\n svg: {\n ...sharedSvgAttrs,\n ...incrementSvgAttrs.svg\n },\n path: {\n ...incrementSvgAttrs.path\n },\n slot: {\n name: \"increment\"\n },\n handler: (e) => handler(e, stepUp)\n };\n const decrementAttrs = {\n button: {\n ...sharedButtonAttrs,\n \"aria-label\": props.labelDecrement || void 0,\n \"aria-keyshortcuts\": \"ArrowDown\"\n },\n svg: {\n ...sharedSvgAttrs,\n ...decrementSvgAttrs.svg\n },\n path: {\n ...decrementSvgAttrs.path\n },\n slot: {\n name: \"decrement\"\n },\n handler: (e) => handler(e, stepDown)\n };\n return {\n top: {\n ...props.vertical ? incrementAttrs : decrementAttrs\n },\n bottom: {\n ...!props.vertical ? incrementAttrs : decrementAttrs\n }\n };\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n ref: \"_element\",\n class: normalizeClass([\"b-form-spinbutton form-control\", computedClasses.value]),\n role: \"group\",\n lang: computedLocale.value,\n tabindex: unref(props).disabled ? void 0 : \"-1\",\n title: unref(props).ariaLabel,\n onClick: _cache[4] || (_cache[4] = ($event) => focused.value = true)\n }, [\n renderSlot(_ctx.$slots, buttons.value.top.slot.name, { hasFocus: unref(focused) }, () => [\n createElementVNode(\"button\", mergeProps(buttons.value.top.button, {\n onMousedown: _cache[0] || (_cache[0] = //@ts-ignore\n (...args) => buttons.value.top.handler && buttons.value.top.handler(...args)),\n onTouchstart: _cache[1] || (_cache[1] = //@ts-ignore\n (...args) => buttons.value.top.handler && buttons.value.top.handler(...args))\n }), [\n (openBlock(), createElementBlock(\"svg\", normalizeProps(guardReactiveProps(buttons.value.top.svg)), [\n createElementVNode(\"path\", normalizeProps(guardReactiveProps(buttons.value.top.path)), null, 16)\n ], 16))\n ], 16)\n ]),\n unref(props).name && !unref(props).disabled ? (openBlock(), createElementBlock(\"input\", {\n key: \"hidden\",\n type: \"hidden\",\n name: unref(props).name,\n form: unref(props).form,\n value: valueAsFixed.value\n }, null, 8, _hoisted_2)) : createCommentVNode(\"\", true),\n createElementVNode(\"output\", {\n id: unref(computedId),\n key: \"output\",\n class: normalizeClass([\"flex-grow-1\", computedSpinClasses.value]),\n dir: unref(isRtl) ?? false ? \"rtl\" : \"ltr\",\n tabindex: unref(props).disabled ? void 0 : \"0\",\n role: \"spinbutton\",\n \"aria-live\": \"off\",\n \"aria-label\": unref(props).ariaLabel || void 0,\n \"aria-invalid\": unref(props).state === false || !modelValue.value !== null && unref(props).required ? true : void 0,\n \"aria-required\": unref(props).required ? true : void 0,\n \"aria-valuemin\": computedMin.value,\n \"aria-valuemax\": computedMax.value,\n \"aria-valuenow\": modelValue.value !== null ? modelValue.value : void 0,\n \"aria-valuetext\": modelValue.value !== null ? computedFormatter.value(modelValue.value) : void 0\n }, [\n createElementVNode(\"bdi\", null, toDisplayString((modelValue.value !== null ? computedFormatter.value(modelValue.value) : unref(props).placeholder) || \"\"), 1)\n ], 10, _hoisted_3),\n renderSlot(_ctx.$slots, buttons.value.bottom.slot.name, { hasFocus: unref(focused) }, () => [\n createElementVNode(\"button\", mergeProps(buttons.value.bottom.button, {\n onMousedown: _cache[2] || (_cache[2] = //@ts-ignore\n (...args) => buttons.value.bottom.handler && buttons.value.bottom.handler(...args)),\n onTouchstart: _cache[3] || (_cache[3] = //@ts-ignore\n (...args) => buttons.value.bottom.handler && buttons.value.bottom.handler(...args))\n }), [\n (openBlock(), createElementBlock(\"svg\", normalizeProps(guardReactiveProps(buttons.value.bottom.svg)), [\n createElementVNode(\"path\", normalizeProps(guardReactiveProps(buttons.value.bottom.path)), null, 16)\n ], 16))\n ], 16)\n ])\n ], 10, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BFormSpinbutton.vue_vue_type_script_setup_true_lang-CNXr3MuF.mjs.map\n","import { defineComponent, computed, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useRadiusElementClasses } from \"./useRadiusElementClasses-DtKYQuWz.mjs\";\nimport { u as useToNumber } from \"./index-CLgoGrAV.mjs\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BImg\",\n props: {\n blank: { type: Boolean, default: false },\n blankColor: { default: \"transparent\" },\n block: { type: Boolean, default: false },\n fluid: { type: Boolean, default: false },\n fluidGrow: { type: Boolean, default: false },\n height: { default: void 0 },\n tag: { default: \"img\" },\n lazy: { type: Boolean, default: false },\n sizes: { default: void 0 },\n src: { default: void 0 },\n srcset: { default: void 0 },\n thumbnail: { type: Boolean, default: false },\n width: { default: void 0 },\n placement: { default: void 0 },\n rounded: { type: [Boolean, String, Number], default: false },\n roundedTop: { type: [Boolean, String, Number], default: void 0 },\n roundedBottom: { type: [Boolean, String, Number], default: void 0 },\n roundedStart: { type: [Boolean, String, Number], default: void 0 },\n roundedEnd: { type: [Boolean, String, Number], default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BImg\");\n const heightNumber = useToNumber(() => props.height ?? NaN);\n const widthNumber = useToNumber(() => props.width ?? NaN);\n const radiusElementClasses = useRadiusElementClasses(() => ({\n rounded: props.rounded,\n roundedTop: props.roundedTop,\n roundedBottom: props.roundedBottom,\n roundedStart: props.roundedStart,\n roundedEnd: props.roundedEnd\n }));\n const computedSrcset = computed(\n () => typeof props.srcset === \"string\" ? props.srcset.split(\",\").filter((x) => x).join(\",\") : Array.isArray(props.srcset) ? props.srcset.filter((x) => x).join(\",\") : void 0\n );\n const computedSizes = computed(\n () => typeof props.sizes === \"string\" ? props.sizes.split(\",\").filter((x) => x).join(\",\") : Array.isArray(props.sizes) ? props.sizes.filter((x) => x).join(\",\") : void 0\n );\n const computedDimentions = computed(() => {\n const width = Number.isNaN(widthNumber.value) ? void 0 : widthNumber.value;\n const height = Number.isNaN(heightNumber.value) ? void 0 : heightNumber.value;\n if (props.blank) {\n if (width !== void 0 && height === void 0) return { height: width, width };\n if (width === void 0 && height !== void 0) return { height, width: height };\n if (width === void 0 && height === void 0) return { height: 1, width: 1 };\n }\n return {\n width,\n height\n };\n });\n const computedBlankImgSrc = computed(\n () => makeBlankImgSrc(computedDimentions.value.width, computedDimentions.value.height, props.blankColor)\n );\n const computedAlignment = computed(() => ({\n \"float-start\": props.placement === \"start\",\n \"float-end\": props.placement === \"end\",\n \"mx-auto\": props.placement === \"center\"\n }));\n const computedClasses = computed(() => [\n radiusElementClasses.value,\n computedAlignment.value,\n {\n \"img-thumbnail\": props.thumbnail,\n \"img-fluid\": props.fluid || props.fluidGrow,\n \"w-100\": props.fluidGrow,\n \"d-block\": props.block || props.placement === \"center\"\n }\n ]);\n const makeBlankImgSrc = (width, height, color) => `data:image/svg+xml;charset=UTF-8,${encodeURIComponent(`\n \n `)}`;\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n class: normalizeClass([computedClasses.value, \"b-img\"]),\n src: !unref(props).blank ? unref(props).src : computedBlankImgSrc.value,\n width: computedDimentions.value.width || void 0,\n height: computedDimentions.value.height || void 0,\n srcset: !unref(props).blank ? computedSrcset.value : void 0,\n sizes: !unref(props).blank ? computedSizes.value : void 0,\n loading: unref(props).lazy ? \"lazy\" : \"eager\"\n }, null, 8, [\"class\", \"src\", \"width\", \"height\", \"srcset\", \"sizes\", \"loading\"]);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BImg.vue_vue_type_script_setup_true_lang-MMXD4NiQ.mjs.map\n","import { readonly, toRef, computed, getCurrentInstance, resolveDynamicComponent, toValue, defineComponent, useAttrs, inject, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { c as collapseInjectionKey, v as navbarInjectionKey } from \"./keys-D3gOZjD-.mjs\";\nimport { p as pick } from \"./object-BWoyyA2y.mjs\";\nimport { t as toPascalCase } from \"./stringUtils-mwxHpj6j.mjs\";\nconst isLink = (props) => !!(props.href || props.to);\nconst useBLinkHelper = (props, pickProps) => {\n const pickPropsResolved = readonly(toRef(pickProps));\n const resolvedProps = readonly(toRef(props));\n const computedLink = computed(() => isLink(resolvedProps.value));\n const computedLinkProps = computed(\n () => computedLink.value ? pick(\n resolvedProps.value,\n pickPropsResolved.value ?? [\n \"active\",\n \"activeClass\",\n \"append\",\n \"href\",\n \"rel\",\n \"replace\",\n \"routerComponentName\",\n \"target\",\n \"to\",\n \"variant\",\n \"opacity\",\n \"opacityHover\",\n \"underlineVariant\",\n \"underlineOffset\",\n \"underlineOffsetHover\",\n \"underlineOpacity\",\n \"underlineOpacityHover\"\n ]\n ) : {}\n );\n return { computedLink, computedLinkProps };\n};\nconst useBLinkTagResolver = (props) => {\n const instance = getCurrentInstance();\n const router = instance == null ? void 0 : instance.appContext.app.config.globalProperties.$router;\n const route = instance == null ? void 0 : instance.appContext.app.config.globalProperties.$route;\n const RouterLinkComponent = resolveDynamicComponent(\"RouterLink\");\n const useLink = typeof RouterLinkComponent === \"string\" ? null : RouterLinkComponent.useLink;\n const resolvedProps = toRef(props);\n const resolvedTo = toRef(() => resolvedProps.value.to || \"\");\n const resolvedReplace = toRef(() => resolvedProps.value.replace);\n const routerName = computed(() => toPascalCase(resolvedProps.value.routerComponentName));\n const tag = computed(() => {\n const hasRouter = (instance == null ? void 0 : instance.appContext.app.component(routerName.value)) !== void 0;\n if (!hasRouter || resolvedProps.value.disabled || !resolvedProps.value.to) {\n return \"a\";\n }\n return routerName.value;\n });\n const isRouterLink = computed(() => tag.value === \"RouterLink\");\n const isNuxtLink = computed(\n // @ts-expect-error we're doing an explicit check for Nuxt, so we can safely ignore this\n () => isRouterLink.value && typeof (instance == null ? void 0 : instance.appContext.app.$nuxt) !== \"undefined\"\n );\n const isNonStandardTag = computed(\n () => tag.value !== \"a\" && !isRouterLink.value && !isNuxtLink.value\n );\n const isOfRouterType = computed(() => isRouterLink.value || isNuxtLink.value);\n const linkProps = computed(() => ({\n to: resolvedTo.value,\n replace: resolvedReplace.value\n }));\n const _link = useLink == null ? void 0 : useLink({\n to: resolvedTo,\n replace: resolvedReplace\n });\n const link = computed(() => isOfRouterType.value ? _link : null);\n const computedHref = computed(() => {\n var _a;\n if ((_a = link.value) == null ? void 0 : _a.href.value) return link.value.href.value;\n const toFallback = \"#\";\n if (resolvedProps.value.href) return resolvedProps.value.href;\n if (typeof resolvedProps.value.to === \"string\") return resolvedProps.value.to || toFallback;\n const { to: stableTo } = resolvedProps.value;\n if (stableTo !== void 0 && \"path\" in stableTo) {\n const path = stableTo.path || \"\";\n const query = stableTo.query ? `?${Object.keys(stableTo.query).map((e) => {\n var _a2;\n return `${e}=${(_a2 = stableTo.query) == null ? void 0 : _a2[e]}`;\n }).join(\"=\")}` : \"\";\n const hash = !stableTo.hash || stableTo.hash.charAt(0) === \"#\" ? stableTo.hash || \"\" : `#${stableTo.hash}`;\n return `${path}${query}${hash}` || toFallback;\n }\n return toFallback;\n });\n return {\n isNonStandardTag,\n tag,\n isRouterLink,\n isNuxtLink,\n computedHref,\n routerName,\n router,\n route,\n link,\n linkProps\n };\n};\nconst useLinkClasses = (linkProps) => computed(() => {\n const props = toValue(linkProps);\n return {\n [`link-${props.variant}`]: props.variant !== null,\n [`link-opacity-${props.opacity}`]: props.opacity !== void 0,\n [`link-opacity-${props.opacityHover}-hover`]: props.opacityHover !== void 0,\n [`link-underline-${props.underlineVariant}`]: props.underlineVariant !== null,\n [`link-offset-${props.underlineOffset}`]: props.underlineOffset !== void 0,\n [`link-offset-${props.underlineOffsetHover}-hover`]: props.underlineOffsetHover !== void 0,\n [\"link-underline\"]: props.underlineVariant === null && (props.underlineOpacity !== void 0 || props.underlineOpacityHover !== void 0),\n [`link-underline-opacity-${props.underlineOpacity}`]: props.underlineOpacity !== void 0,\n [`link-underline-opacity-${props.underlineOpacityHover}-hover`]: props.underlineOpacityHover !== void 0,\n \"icon-link\": props.icon === true\n };\n});\nconst defaultActiveClass = \"active\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BLink\",\n props: {\n active: { type: Boolean, default: void 0 },\n activeClass: { default: \"router-link-active\" },\n disabled: { type: Boolean, default: false },\n exactActiveClass: { default: \"router-link-exact-active\" },\n href: { default: void 0 },\n icon: { type: Boolean, default: false },\n noRel: { type: Boolean, default: false },\n opacity: { default: void 0 },\n opacityHover: { default: void 0 },\n prefetch: { type: Boolean, default: void 0 },\n prefetchOn: { default: void 0 },\n noPrefetch: { type: Boolean, default: void 0 },\n prefetchedClass: { default: void 0 },\n rel: { default: void 0 },\n replace: { type: Boolean, default: false },\n routerComponentName: { default: \"router-link\" },\n routerTag: { default: \"a\" },\n stretched: { type: Boolean, default: false },\n target: { default: void 0 },\n to: { default: void 0 },\n underlineOffset: { default: void 0 },\n underlineOffsetHover: { default: void 0 },\n underlineOpacity: { default: void 0 },\n underlineOpacityHover: { default: void 0 },\n underlineVariant: { default: null },\n variant: { default: null }\n },\n emits: [\"click\"],\n setup(__props, { emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BLink\");\n const emit = __emit;\n const attrs = useAttrs();\n const { computedHref, tag, link, isNuxtLink, isRouterLink, linkProps, isNonStandardTag } = useBLinkTagResolver(\n computed(() => ({\n routerComponentName: props.routerComponentName,\n disabled: props.disabled,\n to: props.to,\n replace: props.replace,\n href: props.href\n }))\n );\n const collapseData = inject(collapseInjectionKey, null);\n const navbarData = inject(navbarInjectionKey, null);\n const linkValueClasses = useLinkClasses(props);\n const computedClasses = computed(() => {\n var _a, _b;\n return [\n linkValueClasses.value,\n attrs.class,\n computedLinkClasses.value,\n {\n [defaultActiveClass]: props.active,\n [props.activeClass]: ((_a = link.value) == null ? void 0 : _a.isActive.value) || false,\n [props.exactActiveClass]: ((_b = link.value) == null ? void 0 : _b.isExactActive.value) || false,\n \"stretched-link\": props.stretched === true\n }\n ];\n });\n const computedLinkClasses = computed(() => ({\n [defaultActiveClass]: props.active,\n disabled: props.disabled\n }));\n const clicked = (e) => {\n var _a, _b, _c;\n if (props.disabled) {\n e.preventDefault();\n e.stopImmediatePropagation();\n return;\n }\n if (((_a = collapseData == null ? void 0 : collapseData.isNav) == null ? void 0 : _a.value) === true && navbarData === null || navbarData !== null && ((_b = navbarData.autoClose) == null ? void 0 : _b.value) === true) {\n (_c = collapseData == null ? void 0 : collapseData.hide) == null ? void 0 : _c.call(collapseData);\n }\n emit(\"click\", e);\n };\n const computedRel = computed(\n () => props.target === \"_blank\" ? !props.rel && props.noRel ? \"noopener\" : props.rel : void 0\n );\n const computedTabIndex = computed(\n () => props.disabled ? \"-1\" : typeof attrs.tabindex === \"undefined\" ? null : attrs.tabindex\n );\n const nuxtSpecificProps = computed(() => ({\n prefetch: props.prefetch,\n noPrefetch: props.noPrefetch,\n prefetchOn: props.prefetchOn,\n prefetchedClass: props.prefetchedClass,\n ...linkProps.value\n }));\n const computedSpecificProps = computed(() => ({\n ...isRouterLink.value ? linkProps.value : void 0,\n // In addition to being Nuxt specific, we add these values if it's some non-standard tag. We don't know what it is,\n // So we just add it anyways. It will be made as an attr if it's unused so it's fine\n ...isNuxtLink.value || isNonStandardTag.value ? nuxtSpecificProps.value : void 0\n }));\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(tag)), mergeProps({\n class: computedClasses.value,\n target: unref(props).target,\n href: unref(computedHref),\n rel: computedRel.value,\n tabindex: computedTabIndex.value,\n \"aria-disabled\": unref(props).disabled ? true : null\n }, computedSpecificProps.value, {\n onClick: _cache[0] || (_cache[0] = (e) => {\n var _a;\n clicked(e);\n (_a = unref(link)) == null ? void 0 : _a.navigate(e);\n })\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"class\", \"target\", \"href\", \"rel\", \"tabindex\", \"aria-disabled\"]);\n };\n }\n});\nexport {\n _sfc_main as _,\n useLinkClasses as a,\n useBLinkHelper as u\n};\n//# sourceMappingURL=BLink.vue_vue_type_script_setup_true_lang-CinzoAgQ.mjs.map\n"],"names":["_hoisted_1","_sfc_main","__name","props","max","default","min","step","type","ariaInvalid","Boolean","String","autocomplete","autofocus","disabled","form","formatter","Function","id","lazyFormatter","list","name","placeholder","plaintext","readonly","required","size","state","debounce","debounceMaxWait","NaN","emits","setup","__props","expose","__expose","_props","u","modelValue","modelModifiers","set","v","n","input","computedId","computedAriaInvalid","onInput","onChange","onBlur","stateClass","focus","blur","forceUpdateKey","computedClasses","isRange","isColor","value","element","_ctx","_cache","ref","key","class","args","_sfc_main$4","align","cardHeader","fill","justified","pills","small","tabs","tag","underline","vertical","alignment","$slots","_","_sfc_main$3","inheritAttrs","role","wrapperAttrs","formClass","floating","novalidate","validated","emit","__emit","attrs","processedAttrs","wrapperClass","formAttrs","submitted","e","liClasses","onSubmit","_hoisted_1$2","_sfc_main$2","linkAttrs","linkClass","active","activeClass","exactActiveClass","href","icon","noRel","opacity","opacityHover","prefetch","prefetchOn","noPrefetch","prefetchedClass","rel","replace","routerComponentName","stretched","target","to","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover","underlineVariant","variant","computedLinkProps","p","tabindex","onClick","$event","_hoisted_1$1","_sfc_main$1","ariaLabel","autoClose","boundary","boundaryPadding","floatingMiddleware","isNav","menuClass","noCaret","noFlip","noShift","noSize","offset","noWrapper","split","splitButtonType","splitClass","splitDisabled","splitHref","splitTo","splitVariant","strategy","text","toggleClass","toggleText","placement","teleportDisabled","teleportTo","initialAnimation","noAnimation","noFade","lazy","unmountLazy","show","transProps","visible","dropdown","hide","_a","toggle","B","onShow","onShown","onHide","onHidden","onHidePrevented","onShowPrevented","onTogglePrevented","onToggle","onSplitClick","disabledField","label","options","textField","valueField","normalizedOptions","normalizedOptsWrapper","option","index","ref_for","$attrs","labelField","multiple","optionsField","plain","selectSize","selectSizeNumber","focused","initialValue","computedSelectSize","isComplex","localValue","get","newValue","useTextareaResize","height","resolvedProps","maxRowsNumber","maxRows","method","nanToZero","rowsNumber","rows","computedMinRows","Math","computedMaxRows","computedRows","handleHeightChange","async","computedStyle","getComputedStyle","lineHeight","Number","parseFloat","border","borderTopWidth","borderBottomWidth","padding","paddingTop","paddingBottom","minHeight","oldHeight","style","scrollHeight","contentRows","newHeight","ceil","noAutoShrink","toString","computedStyles","resize","noResize","wrap","resizeStyles","ariaLive","forceShow","tooltip","computedShow","inline","textVariant","colorClasses","useContainerClasses","resolvedValue","container","fixed","print","sticky","toggleable","computedRole","containerClass","bgVariant","computedLink","computedTag","showHideData","g","collapseExpanded","map","some","_a2","toggleExpand","forEach","expanded","_sfc_main$6","dividerClass","dividerAttrs","_sfc_main$5","_hoisted_2","ariaDescribedby","header","headerClass","headerTag","headerVariant","headerId","headerRole","headerAttrs","dropdownItemAttrs","collapseData","c","dropdownData","navbarData","clicked","_b","_c","call","buttonClass","buttonAttrs","preventDefault","stopPropagation","textClass","textAttrs","ariaLabelledby","accept","capture","directory","labelClass","noButton","noDrop","noTraverse","slots","hasLabelSlot","i","computedAccept","join","files","onDrop","reset","for","webkitdirectory","append","prepend","hasAppend","hasPrepend","suffixPropName","suffix","contentCols","labelCols","labelAlign","description","feedbackAriaLive","invalidFeedback","labelFor","labelSize","labelVisuallyHidden","validFeedback","contentColsSm","contentColsMd","contentColsLg","contentColsXl","labelColsSm","labelColsMd","labelColsLg","labelColsXl","labelAlignSm","labelAlignMd","labelAlignLg","labelAlignXl","INPUTS","LabelContentTemplate","ContentTemplate","computedState","childId","computedLabelFor","breakPoints","getColProps","props2","prefix","reduce","result","breakpoint","propValue","val","parseInt","isNaN","content","contentColProps","labelAlignClasses","push","labelColProps","isHorizontal","Object","keys","length","onLegendClick","event","tagName","indexOf","inputs","querySelectorAll","filter","inp","HTMLElement","labelId","labelTag","labelClasses","invalidFeedbackId","validFeedbackId","descriptionId","isFieldset","define","reuse","fallbackClassSelector","defaultModalDialogZIndex","autofocusButton","backdropFirst","body","bodyAttrs","bodyBgVariant","bodyClass","bodyScrolling","bodyTextVariant","bodyVariant","busy","buttonSize","cancelDisabled","cancelTitle","cancelVariant","centered","contentClass","dialogClass","footerBgVariant","footerBorderVariant","footerClass","footerTextVariant","footerVariant","fullscreen","headerBgVariant","headerBorderVariant","headerCloseClass","headerCloseLabel","headerCloseVariant","headerTextVariant","noBackdrop","noFooter","noHeader","noHeaderClose","modalClass","noCloseOnBackdrop","noCloseOnEsc","noTrap","noStacking","okDisabled","okOnly","okTitle","okVariant","scrollable","title","titleClass","titleVisuallyHidden","titleTag","fallbackFocusElement","okButton","cancelButton","closeButton","pickFocusItem","okButtonFocus","closeButtonFocus","cancelButtonFocus","modalFocus","onAfterEnter","showRef","renderRef","renderBackdropRef","computedNoAnimation","transitionProps","backdropTransitionProps","isLeaving","isVisible","trapActive","contentShowing","backdropReady","backdropVisible","needsFallback","isActive","fallbackFocus","classSelector","o","hasHeaderCloseSlot","modalDialogClasses","bodyColorClasses","bodyClasses","headerColorClasses","borderVariant","headerClasses","headerCloseAttrs","footerColorClasses","footerClasses","titleClasses","disableCancel","disableOk","activePosition","activeModalCount","stackWithoutSelf","oldValue","computedZIndexNumber","computedZIndex","computedZIndexBackdrop","sharedSlots","cancel","close","ok","appear","fade","BModal","tools","modals","self","modal","component","_modelValue","leave","_isConfirm","trigger","_promise","resolve","remove","flush","horizontal","numbered","action","button","parentData","isLink","tagComputed","isAction","includes","computedAttrs","localAttrs","buttonGroup","buttonVariant","reverse","switch","uncheckedValue","Array","Set","inputClass","inputAttrs","indeterminate","hasDefaultSlot","newVal","isArray","computedRequired","isButtonGroup","buttons","classesObject","wrapperClasses","computedWrapperClasses","inputClasses","computedInputClasses","skip","stacked","switches","computedName","normalizeOptions","el","item","inInputGroup","inButtonGroup","computedOffset","offsetToNumber","splitButton","rootBoundary","referencePlacement","computedMenuClasses","keynav","_d","_e","_f","_g","contains","closest","test","loop","setInterval","clearInterval","document","activeElement","querySelector","prototype","sizeStyles","localOffset","arr","f","s","apply","availableWidth","availableHeight","maxHeight","maxWidth","scrollWidth","update","floatingStyles","middleware","whileElementsMounted","inButtonGroupAttributes","buttonClasses","onButtonClick","ignore","onClickInside","BDropdown","opt","noRemove","pill","removeLabel","tagText","children","taglabelId","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","addButtonText","addButtonVariant","addOnChange","duplicateTagText","inputId","inputType","invalidTagText","limit","limitTagsText","noAddOnEnter","noOuterFocus","noTagRemove","removeOnDelete","separator","tagClass","tagPills","tagRemoveLabel","tagRemovedLabel","tagValidator","tagVariant","limitNumber","_inputId","tags","inputValue","shouldRemoveOnDelete","lastRemovedTag","validTags","invalidTags","duplicateTags","direction","transform","ltr","isDuplicate","isInvalid","isLimitReached","disableAddButton","slotAttrs","addTag","inputHandlers","keydown","onKeydown","change","removeTag","onFocusin","onFocus","charAt","slice","separatorRegExp","RegExp","trim","newTags","t","validTags2","newTag","tagIndex","splice","onFocusout","onRemove","noFocus","shadow","responsive","width","isOpenByBreakpoint","buildTriggerableEvent","localNoAnimation","enterToClass","leaveToClass","enterActiveClass","leaveActiveClass","enterFromClass","leaveFromClass","breakpoints","smallerOrEqualToBreakpoint","smallerOrEqual","showBackdrop","headerCloseClasses","hasFooterSlot","footer","opened","requestAnimationFrame","BOffcanvas","useRtl","rtlPlugin","r","locale","html","documentElement","setAttribute","immediate","isRtl","defaultValues","repeatDelay","repeatInterval","repeatThreshold","repeatMultiplier","ariaControls","formatterFn","labelDecrement","labelIncrement","repeatStepMultiplier","KEY_CODES","computedSpinClasses","$_autoDelayTimer","$_autoRepeatTimer","$_keyIsDown","stepNumber","computedStep","minNumber","computedMin","maxNumber","computedMax","floor","repeatDelayNumber","computedDelay","repeatIntervalNumber","computedInterval","repeatThresholdNumber","computedThreshold","repeatStepMultiplierNumber","computedStepMultiplier","computedPrecision","computedMultiplier","pow","valueAsFixed","toFixed","globalLocale","computedLocale","loc","locales","nf","Intl","NumberFormat","resolvedOptions","defaultFormatter","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","notation","format","computedFormatter","stepValue","multiplier","round","stepUp","stepDown","code","altKey","ctrlKey","metaKey","immediatePropagation","resetTimers","handleStepRepeat","eventName","stepper","isMouseEvent","threshold","delay","interval","setTimeout","count","evt","onMouseup","setMouseup","on","clearTimeout","incrementSvgAttrs","svg","xmlns","viewBox","path","d","decrementSvgAttrs","sharedButtonAttrs","sharedSvgAttrs","handler","incrementAttrs","slot","decrementAttrs","top","bottom","lang","hasFocus","onMousedown","onTouchstart","dir","blank","blankColor","block","fluid","fluidGrow","sizes","src","srcset","thumbnail","rounded","roundedTop","roundedBottom","roundedStart","roundedEnd","heightNumber","widthNumber","radiusElementClasses","computedSrcset","x","computedSizes","computedDimentions","computedBlankImgSrc","makeBlankImgSrc","computedAlignment","color","encodeURIComponent","loading","useBLinkHelper","pickProps","pickPropsResolved","useBLinkTagResolver","instance","router","appContext","app","config","globalProperties","$router","route","$route","RouterLinkComponent","useLink","resolvedTo","resolvedReplace","routerName","hasRouter","isRouterLink","isNuxtLink","$nuxt","isNonStandardTag","isOfRouterType","linkProps","_link","link","computedHref","toFallback","stableTo","query","hash","useLinkClasses","defaultActiveClass","routerTag","linkValueClasses","computedLinkClasses","isExactActive","stopImmediatePropagation","computedRel","computedTabIndex","nuxtSpecificProps","computedSpecificProps","navigate"],"sourceRoot":""}