UNPKG

bootstrap-vue

Version:

BootstrapVue, with over 40 plugins and more than 80 custom components, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-ARIA accessibility markup.

10 lines 291 kB
/*! * BoostrapVue 2.1.0 * * @link https://bootstrap-vue.js.org * @source https://github.com/bootstrap-vue/bootstrap-vue * @copyright (c) 2016-2019 BootstrapVue * @license MIT * https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE */ "use strict";function _interopDefault(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(exports,"__esModule",{value:!0});var Vue=_interopDefault(require("vue")),vueFunctionalDataMerge=require("vue-functional-data-merge"),Popper=_interopDefault(require("popper.js")),portalVue=require("portal-vue");function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _createClass(t,e,i){return e&&_defineProperties(t.prototype,e),i&&_defineProperties(t,i),t}function _defineProperty(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function ownKeys(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function _objectSpread2(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(i,!0).forEach((function(e){_defineProperty(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(i).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function _construct(t,e,i){return(_construct=isNativeReflectConstruct()?Reflect.construct:function(t,e,i){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return i&&_setPrototypeOf(o,i.prototype),o}).apply(null,arguments)}function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function _wrapNativeSuper(t){var e="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!=typeof e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(i,t)})(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _possibleConstructorReturn(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?_assertThisInitialized(t):e}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _get(t,e,i){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=_superPropBase(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(i):o.value}})(t,e,i||t)}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_nonIterableSpread()}function _arrayWithoutHoles(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}function _iterableToArray(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var hasWindowSupport="undefined"!=typeof window,hasDocumentSupport="undefined"!=typeof document,hasNavigatorSupport="undefined"!=typeof navigator,hasPromiseSupport="undefined"!=typeof Promise,hasMutationObserverSupport="undefined"!=typeof MutationObserver||"undefined"!=typeof WebKitMutationObserver||"undefined"!=typeof MozMutationObserver,isBrowser=hasWindowSupport&&hasDocumentSupport&&hasNavigatorSupport,userAgent=isBrowser?window.navigator.userAgent.toLowerCase():"",isJSDOM=userAgent.indexOf("jsdom")>0,isIE=/msie|trident/.test(userAgent),hasPassiveEventSupport=function(){var t=!1;if(isBrowser)try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}(),hasTouchSupport=isBrowser&&("ontouchstart"in document.documentElement||navigator.maxTouchPoints>0),hasPointerEventSupport=isBrowser&&Boolean(window.PointerEvent||window.MSPointerEvent),hasIntersectionObserverSupport=isBrowser&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,getEnv=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i="undefined"!=typeof process&&process&&process.env||{};return t?i[t]||e:i},getNoWarn=function(){return getEnv("BOOTSTRAP_VUE_NO_WARN")},warn=function(t){getNoWarn()||console.warn("[BootstrapVue warn]: ".concat(t))},warnNotClient=function(t){return!isBrowser&&(warn("".concat(t,": Can not be called during SSR.")),!0)},warnNoPromiseSupport=function(t){return!hasPromiseSupport&&(warn("".concat(t,": Requires Promise support.")),!0)},warnNoMutationObserverSupport=function(t){return!hasMutationObserverSupport&&(warn("".concat(t,": Requires MutationObserver support.")),!0)},from=Array.from,isArray=Array.isArray,arrayIncludes=function(t,e){return-1!==t.indexOf(e)},concat=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return Array.prototype.concat.apply([],e)},assign=Object.assign,getOwnPropertyNames=Object.getOwnPropertyNames,keys=Object.keys,defineProperties=Object.defineProperties,defineProperty=Object.defineProperty,freeze=Object.freeze,create=Object.create,hasOwnProperty=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},toString=function(t){return Object.prototype.toString.call(t)},isObject=function(t){return null!==t&&"object"===_typeof(t)},isPlainObject=function(t){return"[object Object]"===Object.prototype.toString.call(t)},clone=function(t){return _objectSpread2({},t)},omit=function(t,e){return keys(t).filter((function(t){return-1===e.indexOf(t)})).reduce((function(e,i){return _objectSpread2({},e,_defineProperty({},i,t[i]))}),{})},readonlyDescriptor=function(){return{enumerable:!0,configurable:!1,writable:!1}},deepFreeze=function t(e){return keys(e).forEach((function(i){var n=e[i];e[i]=n&&(isPlainObject(n)||isArray(n))?t(n):n})),freeze(e)},w=hasWindowSupport?window:{},Element$1=hasWindowSupport?w.Element:function(t){function e(){return _classCallCheck(this,e),_possibleConstructorReturn(this,_getPrototypeOf(e).apply(this,arguments))}return _inherits(e,_wrapNativeSuper(Object)),e}(),HTMLElement=hasWindowSupport?w.HTMLElement:function(t){function e(){return _classCallCheck(this,e),_possibleConstructorReturn(this,_getPrototypeOf(e).apply(this,arguments))}return _inherits(e,Element$1),e}(),SVGElement=hasWindowSupport?w.SVGElement:function(t){function e(){return _classCallCheck(this,e),_possibleConstructorReturn(this,_getPrototypeOf(e).apply(this,arguments))}return _inherits(e,Element$1),e}(),File=hasWindowSupport?w.File:function(t){function e(){return _classCallCheck(this,e),_possibleConstructorReturn(this,_getPrototypeOf(e).apply(this,arguments))}return _inherits(e,_wrapNativeSuper(Object)),e}(),toType=function(t){return _typeof(t)},toRawType=function(t){return Object.prototype.toString.call(t).slice(8,-1)},isUndefined=function(t){return void 0===t},isNull=function(t){return null===t},isUndefinedOrNull=function(t){return isUndefined(t)||isNull(t)},isFunction=function(t){return"function"===toType(t)},isBoolean=function(t){return"boolean"===toType(t)},isString=function(t){return"string"===toType(t)},isNumber=function(t){return"number"===toType(t)},isDate=function(t){return t instanceof Date},isEvent=function(t){return t instanceof Event},isFile=function(t){return t instanceof File},isRegExp=function(t){return"RegExp"===toRawType(t)},isPromise=function(t){return!isUndefinedOrNull(t)&&isFunction(t.then)&&isFunction(t.catch)},cloneDeep=function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return isArray(e)?e.reduce((function(e,i){return[].concat(_toConsumableArray(e),[t(i,i)])}),[]):isPlainObject(e)?keys(e).reduce((function(i,n){return _objectSpread2({},i,_defineProperty({},n,t(e[n],e[n])))}),{}):i},get=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!(e=isArray(e)?e.join("."):e)||!isObject(t))return i;if(e in t)return t[e];var n=(e=String(e).replace(/\[(\d+)]/g,".$1")).split(".").filter(Boolean);return 0===n.length?i:n.every((function(e){return isObject(t)&&e in t&&null!=(t=t[e])}))?t:i},DEFAULTS=deepFreeze({breakpoints:["xs","sm","md","lg","xl"],formControls:{size:null},BAlert:{dismissLabel:"Close",variant:"info"},BBadge:{variant:"secondary"},BButton:{size:null,variant:"secondary"},BButtonClose:{textVariant:null,ariaLabel:"Close"},BCardSubTitle:{subTitleTextVariant:"muted"},BCarousel:{labelPrev:"Previous Slide",labelNext:"Next Slide",labelGotoSlide:"Goto Slide",labelIndicators:"Select a slide to display"},BDropdown:{toggleText:"Toggle Dropdown",size:null,variant:"secondary",splitVariant:null},BFormFile:{browseText:"Browse",placeholder:"No file chosen",dropPlaceholder:"Drop files here"},BFormText:{textVariant:"muted"},BImg:{blankColor:"transparent"},BImgLazy:{blankColor:"transparent"},BInputGroup:{size:null},BJumbotron:{bgVariant:null,borderVariant:null,textVariant:null},BListGroupItem:{variant:null},BModal:{titleTag:"h5",size:"md",headerBgVariant:null,headerBorderVariant:null,headerTextVariant:null,headerCloseVariant:null,bodyBgVariant:null,bodyTextVariant:null,footerBgVariant:null,footerBorderVariant:null,footerTextVariant:null,cancelTitle:"Cancel",cancelVariant:"secondary",okTitle:"OK",okVariant:"primary",headerCloseLabel:"Close"},BNavbar:{variant:null},BNavbarToggle:{label:"Toggle navigation"},BPagination:{size:null},BPaginationNav:{size:null},BPopover:{boundary:"scrollParent",boundaryPadding:5,customClass:null,delay:50,variant:null},BProgress:{variant:null},BProgressBar:{variant:null},BSpinner:{variant:null},BTable:{selectedVariant:"active",headVariant:null,footVariant:null},BToast:{toaster:"b-toaster-top-right",autoHideDelay:5e3,variant:null,toastClass:null,headerClass:null,bodyClass:null},BToaster:{ariaLive:null,ariaAtomic:null,role:null},BTooltip:{boundary:"scrollParent",boundaryPadding:5,customClass:null,delay:50,variant:null}}),PROP_NAME="$bvConfig",BvConfig=function(){function t(){_classCallCheck(this,t),this.$_config={},this.$_cachedBreakpoints=null}return _createClass(t,[{key:"getDefaults",value:function(){return this.defaults}},{key:"setConfig",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(isPlainObject(e)){var i=getOwnPropertyNames(e);i.forEach((function(i){if(hasOwnProperty(DEFAULTS,i)){var n=e[i];if("breakpoints"===i){var o=e.breakpoints;!isArray(o)||o.length<2||o.some((function(t){return!isString(t)||0===t.length}))?warn('config: "breakpoints" must be an array of at least 2 breakpoint names'):t.$_config.breakpoints=cloneDeep(o)}else if(isPlainObject(n)){getOwnPropertyNames(n).forEach((function(e){hasOwnProperty(DEFAULTS[i],e)?(t.$_config[i]=t.$_config[i]||{},isUndefined(n[e])||(t.$_config[i][e]=cloneDeep(n[e]))):warn('config: unknown config property "'.concat(i,".").concat(e,'"'))}))}}else warn('config: unknown config property "'.concat(i,'"'))}))}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return cloneDeep(this.$_config)}},{key:"getConfigValue",value:function(t){return cloneDeep(get(this.$_config,t,get(DEFAULTS,t)))}},{key:"defaults",get:function(){return DEFAULTS}}],[{key:"Defaults",get:function(){return DEFAULTS}}]),t}(),setConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vue;e.prototype[PROP_NAME]=Vue.prototype[PROP_NAME]=e.prototype[PROP_NAME]||Vue.prototype[PROP_NAME]||new BvConfig,e.prototype[PROP_NAME].setConfig(t)},checkMultipleVue=function(){var t=!1,e=["Multiple instances of Vue detected!","You may need to set up an alias for Vue in your bundler config.","See: https://bootstrap-vue.js.org/docs#using-module-bundlers"].join("\n");return function(i){t||Vue===i||isJSDOM||warn(e),t=!0}}(),installFactory=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,i=t.directives,n=t.plugins,o=function t(o){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,checkMultipleVue(o),setConfig(r,o),registerComponents(o,e),registerDirectives(o,i),registerPlugins(o,n))};return o.installed=!1,o},pluginFactory=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _objectSpread2({},e,{install:installFactory(t)})},registerPlugins=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)i&&e[i]&&t.use(e[i])},registerComponent=function(t,e,i){t&&e&&i&&t.component(e,i)},registerComponents=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)registerComponent(t,i,e[i])},registerDirective=function(t,e,i){t&&e&&i&&t.directive(e.replace(/^VB/,"B"),i)},registerDirectives=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)registerDirective(t,i,e[i])},memoize=function(t){var e=create(null);return function(){for(var i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];var r=JSON.stringify(n);return e[r]=e[r]||t.apply(null,n)}},PROP_NAME$1="$bvConfig",VueProto=Vue.prototype,getConfigValue=function(t){return VueProto[PROP_NAME$1]?VueProto[PROP_NAME$1].getConfigValue(t):cloneDeep(get(DEFAULTS,t))},getComponentConfig=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?getConfigValue("".concat(t,".").concat(e)):getConfigValue(t)||{}},getBreakpoints=function(){return getConfigValue("breakpoints")},_getBreakpointsCached=memoize((function(){return getBreakpoints()})),getBreakpointsCached=function(){return cloneDeep(_getBreakpointsCached())},getBreakpointsUpCached=memoize((function(){var t=getBreakpointsCached();return t[0]="",t})),w$1=hasWindowSupport?window:{},d=hasDocumentSupport?document:{},elProto="undefined"!=typeof Element?Element.prototype:{},matchesEl=elProto.matches||elProto.msMatchesSelector||elProto.webkitMatchesSelector,closestEl=elProto.closest||function(t){var e=this;do{if(matches(e,t))return e;e=e.parentElement||e.parentNode}while(!isNull(e)&&e.nodeType===Node.ELEMENT_NODE);return null},requestAF=w$1.requestAnimationFrame||w$1.webkitRequestAnimationFrame||w$1.mozRequestAnimationFrame||w$1.msRequestAnimationFrame||w$1.oRequestAnimationFrame||function(t){return setTimeout(t,16)},MutationObs=w$1.MutationObserver||w$1.WebKitMutationObserver||w$1.MozMutationObserver||null,parseEventOptions=function(t){return hasPassiveEventSupport?isObject(t)?t:{useCapture:Boolean(t||!1)}:Boolean(isObject(t)?t.useCapture:t)},eventOn=function(t,e,i,n){t&&t.addEventListener&&t.addEventListener(e,i,parseEventOptions(n))},eventOff=function(t,e,i,n){t&&t.removeEventListener&&t.removeEventListener(e,i,parseEventOptions(n))},isElement=function(t){return Boolean(t&&t.nodeType===Node.ELEMENT_NODE)},isVisible=function(t){if(!isElement(t)||!contains(d.body,t))return!1;if("none"===t.style.display)return!1;var e=getBCR(t);return Boolean(e&&e.height>0&&e.width>0)},isDisabled=function(t){return!isElement(t)||t.disabled||Boolean(getAttr(t,"disabled"))||hasClass(t,"disabled")},reflow=function(t){return isElement(t)&&t.offsetHeight},selectAll=function(t,e){return from((isElement(e)?e:d).querySelectorAll(t))},select=function(t,e){return(isElement(e)?e:d).querySelector(t)||null},matches=function(t,e){return!!isElement(t)&&matchesEl.call(t,e)},closest=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!isElement(e))return null;var n=closestEl.call(e,t);return i?n:n===e?null:n},contains=function(t,e){return!(!t||!isFunction(t.contains))&&t.contains(e)},getById=function(t){return d.getElementById(/^#/.test(t)?t.slice(1):t)||null},addClass=function(t,e){e&&isElement(t)&&t.classList&&t.classList.add(e)},removeClass=function(t,e){e&&isElement(t)&&t.classList&&t.classList.remove(e)},hasClass=function(t,e){return!!(e&&isElement(t)&&t.classList)&&t.classList.contains(e)},setAttr=function(t,e,i){e&&isElement(t)&&t.setAttribute(e,i)},removeAttr=function(t,e){e&&isElement(t)&&t.removeAttribute(e)},getAttr=function(t,e){return e&&isElement(t)?t.getAttribute(e):null},hasAttr=function(t,e){return e&&isElement(t)?t.hasAttribute(e):null},getBCR=function(t){return isElement(t)?t.getBoundingClientRect():null},getCS=function(t){return hasWindowSupport&&isElement(t)?w$1.getComputedStyle(t):{}},getSel=function(){return hasWindowSupport&&w$1.getSelection?w$1.getSelection():null},offset=function(t){var e={top:0,left:0};if(!isElement(t)||0===t.getClientRects().length)return e;var i=getBCR(t);if(i){var n=t.ownerDocument.defaultView;e.top=i.top+n.pageYOffset,e.left=i.left+n.pageXOffset}return e},position=function(t){var e={top:0,left:0};if(!isElement(t))return e;var i={top:0,left:0},n=getCS(t);if("fixed"===n.position)e=getBCR(t)||e;else{e=offset(t);for(var o=t.ownerDocument,r=t.offsetParent||o.documentElement;r&&(r===o.body||r===o.documentElement)&&"static"===getCS(r).position;)r=r.parentNode;if(r&&r!==t&&r.nodeType===Node.ELEMENT_NODE){i=offset(r);var a=getCS(r);i.top+=parseFloat(a.borderTopWidth),i.left+=parseFloat(a.borderLeftWidth)}}return{top:e.top-i.top-parseFloat(n.marginTop),left:e.left-i.left-parseFloat(n.marginLeft)}},NO_FADE_PROPS={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},FADE_PROPS=_objectSpread2({},NO_FADE_PROPS,{enterActiveClass:"fade",leaveActiveClass:"fade"}),BVTransition=Vue.extend({name:"BVTransition",functional:!0,props:{noFade:{type:Boolean,default:!1},appear:{type:Boolean,default:!1},mode:{type:String},transProps:{type:Object,default:null}},render:function(t,e){var i=e.children,n=e.data,o=(e.listeners,e.props),r=o.transProps;return isPlainObject(r)||(r=o.noFade?NO_FADE_PROPS:FADE_PROPS,o.appear&&(r=_objectSpread2({},r,{appear:!0,appearClass:r.enterClass,appearActiveClass:r.enterActiveClass,appearToClass:r.enterToClass}))),r=_objectSpread2({mode:o.mode},r,{css:!0}),t("transition",vueFunctionalDataMerge.mergeData(n,{props:r}),i)}}),hasNormalizedSlot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(t=concat(t).filter(Boolean)).some((function(t){return e[t]||i[t]}))},normalizeSlot=function(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=concat(t).filter(Boolean);for(var r=0;r<t.length&&!e;r++){var a=t[r];e=n[a]||o[a]}return isFunction(e)?e(i):e},normalizeSlotMixin={methods:{hasNormalizedSlot:function(t){return hasNormalizedSlot(t,this.$scopedSlots,this.$slots)},normalizeSlot:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=normalizeSlot(t,e,this.$scopedSlots,this.$slots);return i?concat(i):i}}},NAME="BButtonClose",props={disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:function(){return getComponentConfig(NAME,"ariaLabel")}},textVariant:{type:String,default:function(){return getComponentConfig(NAME,"textVariant")}}},BButtonClose=Vue.extend({name:NAME,functional:!0,props:props,render:function(t,e){var i=e.props,n=e.data,o=(e.listeners,e.slots),r=e.scopedSlots,a=o(),s=r||{},l={staticClass:"close",class:_defineProperty({},"text-".concat(i.textVariant),i.textVariant),attrs:{type:"button",disabled:i.disabled,"aria-label":i.ariaLabel?String(i.ariaLabel):null},on:{click:function(t){i.disabled&&isEvent(t)&&(t.stopPropagation(),t.preventDefault())}}};return hasNormalizedSlot("default",s,a)||(l.domProps={innerHTML:"&times;"}),t("button",vueFunctionalDataMerge.mergeData(n,l),normalizeSlot("default",{},s,a))}}),NAME$1="BAlert",parseCountDown=function(t){return""===t||isBoolean(t)?0:(t=parseInt(t,10))>0?t:0},parseShow=function(t){return""===t||!0===t||!(parseInt(t,10)<1)&&Boolean(t)},isNumericLike=function(t){return!isNaN(parseInt(t,10))},BAlert=Vue.extend({name:NAME$1,mixins:[normalizeSlotMixin],model:{prop:"show",event:"input"},props:{variant:{type:String,default:function(){return getComponentConfig(NAME$1,"variant")}},dismissible:{type:Boolean,default:!1},dismissLabel:{type:String,default:function(){return getComponentConfig(NAME$1,"dismissLabel")}},show:{type:[Boolean,Number,String],default:!1},fade:{type:Boolean,default:!1}},data:function(){return{countDownTimerId:null,countDown:0,localShow:parseShow(this.show)}},watch:{show:function(t){this.countDown=parseCountDown(t),this.localShow=parseShow(t)},countDown:function(t){var e=this;this.clearTimer(),isNumericLike(this.show)&&(this.$emit("dismiss-count-down",t),this.show!==t&&this.$emit("input",t),t>0?(this.localShow=!0,this.countDownTimerId=setTimeout((function(){e.countDown--}),1e3)):this.$nextTick((function(){requestAF((function(){e.localShow=!1}))})))},localShow:function(t){t||!this.dismissible&&!isNumericLike(this.show)||this.$emit("dismissed"),isNumericLike(this.show)||this.show===t||this.$emit("input",t)}},created:function(){this.countDown=parseCountDown(this.show),this.localShow=parseShow(this.show)},mounted:function(){this.countDown=parseCountDown(this.show),this.localShow=parseShow(this.show)},beforeDestroy:function(){this.clearTimer()},methods:{dismiss:function(){this.clearTimer(),this.countDown=0,this.localShow=!1},clearTimer:function(){this.countDownTimerId&&(clearInterval(this.countDownTimerId),this.countDownTimerId=null)}},render:function(t){var e;if(this.localShow){var i=t();this.dismissible&&(i=t(BButtonClose,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot("dismiss")])),e=[e=t("div",{key:this._uid,staticClass:"alert",class:_defineProperty({"alert-dismissible":this.dismissible},"alert-".concat(this.variant),this.variant),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0}},[i,this.normalizeSlot("default")])]}return t(BVTransition,{props:{noFade:!this.fade}},e)}}),AlertPlugin=pluginFactory({components:{BAlert:BAlert}}),identity=function(t){return t},pluckProps=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:identity;return(isArray(t)?t.slice():keys(t)).reduce((function(t,n){return t[i(n)]=e[n],t}),{})},toString$1=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return isUndefinedOrNull(t)?"":isArray(t)||isPlainObject(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},ANCHOR_TAG="a",commaRE=/%2C/g,encodeReserveRE=/[!'()*]/g,encodeReserveReplacer=function(t){return"%"+t.charCodeAt(0).toString(16)},encode=function(t){return encodeURIComponent(toString$1(t)).replace(encodeReserveRE,encodeReserveReplacer).replace(commaRE,",")},decode=decodeURIComponent,stringifyQueryObj=function(t){if(!isPlainObject(t))return"";var e=keys(t).map((function(e){var i=t[e];return isUndefined(i)?"":isNull(i)?encode(e):isArray(i)?i.reduce((function(t,i){return isNull(i)?t.push(encode(e)):isUndefined(i)||t.push(encode(e)+"="+encode(i)),t}),[]).join("&"):encode(e)+"="+encode(i)})).filter((function(t){return t.length>0})).join("&");return e?"?".concat(e):""},parseQuery=function(t){var e={};return(t=toString$1(t).trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var i=t.replace(/\+/g," ").split("="),n=decode(i.shift()),o=i.length>0?decode(i.join("=")):null;isUndefined(e[n])?e[n]=o:isArray(e[n])?e[n].push(o):e[n]=[e[n],o]})),e):e},isRouterLink=function(t){return toString$1(t).toLowerCase()!==ANCHOR_TAG},computeTag=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.to,i=t.disabled,n=arguments.length>1?arguments[1]:void 0;return n.$router&&e&&!i?n.$nuxt?"nuxt-link":"router-link":ANCHOR_TAG},computeRel=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,i=t.rel;return"_blank"===e&&isNull(i)?"noopener":i||null},computeHref=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.href,i=t.to,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ANCHOR_TAG,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(isRouterLink(n))return null;if(e)return e;if(i){if(isString(i))return i||r;if(isPlainObject(i)&&(i.path||i.query||i.hash)){var a=toString$1(i.path),s=stringifyQueryObj(i.query),l=toString$1(i.hash);return l=l&&"#"!==l.charAt(0)?"#".concat(l):l,"".concat(a).concat(s).concat(l)||r}}return o},propsFactory=function(){return{href:{type:String,default:null},rel:{type:String,default:null},target:{type:String,default:"_self"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{type:[String,Object],default:null},append:{type:Boolean,default:!1},replace:{type:Boolean,default:!1},event:{type:[String,Array],default:"click"},activeClass:{type:String},exact:{type:Boolean,default:!1},exactActiveClass:{type:String},routerTag:{type:String,default:"a"},noPrefetch:{type:Boolean,default:!1}}},BLink=Vue.extend({name:"BLink",mixins:[normalizeSlotMixin],inheritAttrs:!1,props:propsFactory(),computed:{computedTag:function(){return computeTag({to:this.to,disabled:this.disabled},this)},isRouterLink:function(){return isRouterLink(this.computedTag)},computedRel:function(){return computeRel({target:this.target,rel:this.rel})},computedHref:function(){return computeHref({to:this.to,href:this.href},this.computedTag)},computedProps:function(){return this.isRouterLink?_objectSpread2({},this.$props,{tag:this.routerTag}):{}}},methods:{onClick:function(t){var e=arguments,i=isEvent(t),n=this.isRouterLink,o=this.$listeners.click;i&&this.disabled?(t.stopPropagation(),t.stopImmediatePropagation()):(n&&t.currentTarget.__vue__&&t.currentTarget.__vue__.$emit("click",t),concat(o).filter((function(t){return isFunction(t)})).forEach((function(t){t.apply(void 0,_toConsumableArray(e))})),this.$root.$emit("clicked::link",t)),i&&(this.disabled||!n&&"#"===this.computedHref)&&t.preventDefault()},focus:function(){this.$el&&this.$el.focus&&this.$el.focus()},blur:function(){this.$el&&this.$el.blur&&this.$el.blur()}},render:function(t){var e=this.computedTag,i=this.computedRel,n=this.computedHref,o=this.isRouterLink,r={class:{active:this.active,disabled:this.disabled},attrs:_objectSpread2({},this.$attrs,{rel:i,target:this.target,tabindex:this.disabled?"-1":isUndefined(this.$attrs.tabindex)?null:this.$attrs.tabindex,"aria-disabled":this.disabled?"true":null}),props:this.computedProps};return r[o?"nativeOn":"on"]=_objectSpread2({},this.$listeners,{click:this.onClick}),n?r.attrs.href=n:delete r.props.href,t(e,r,this.normalizeSlot("default"))}}),NAME$2="BBadge",linkProps=propsFactory();delete linkProps.href.default,delete linkProps.to.default;var props$1=_objectSpread2({},linkProps,{tag:{type:String,default:"span"},variant:{type:String,default:function(){return getComponentConfig(NAME$2,"variant")}},pill:{type:Boolean,default:!1}}),BBadge=Vue.extend({name:NAME$2,functional:!0,props:props$1,render:function(t,e){var i=e.props,n=e.data,o=e.children,r=i.href||i.to?BLink:i.tag,a={staticClass:"badge",class:[i.variant?"badge-".concat(i.variant):"badge-secondary",{"badge-pill":Boolean(i.pill),active:i.active,disabled:i.disabled}],props:pluckProps(linkProps,i)};return t(r,vueFunctionalDataMerge.mergeData(n,a),o)}}),BadgePlugin=pluginFactory({components:{BBadge:BBadge}}),stripTagsRegex=/(<([^>]+)>)/gi,stripTags=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(stripTagsRegex,"")},htmlOrText=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}},props$2=_objectSpread2({},propsFactory(),{text:{type:String,default:null},html:{type:String,default:null},ariaCurrent:{type:String,default:"location"}}),BBreadcrumbLink=Vue.extend({name:"BBreadcrumbLink",functional:!0,props:props$2,render:function(t,e){var i=e.props,n=e.data,o=e.children,r=i.active?"span":BLink,a={props:pluckProps(props$2,i)};return i.active&&(a.attrs={"aria-current":i.ariaCurrent}),o||(a.domProps=htmlOrText(i.html,i.text)),t(r,vueFunctionalDataMerge.mergeData(n,a),o)}}),BBreadcrumbItem=Vue.extend({name:"BBreadcrumbItem",functional:!0,props:props$2,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t("li",vueFunctionalDataMerge.mergeData(n,{staticClass:"breadcrumb-item",class:{active:i.active}}),[t(BBreadcrumbLink,{props:i},o)])}}),props$3={items:{type:Array,default:null}},BBreadcrumb=Vue.extend({name:"BBreadcrumb",functional:!0,props:props$3,render:function(t,e){var i=e.props,n=e.data,o=e.children;if(isArray(i.items)){var r=!1;o=i.items.map((function(e,n){isObject(e)||(e={text:toString$1(e)});var o=e.active;return o&&(r=!0),o||r||(o=n+1===i.items.length),t(BBreadcrumbItem,{props:_objectSpread2({},e,{active:o})})}))}return t("ol",vueFunctionalDataMerge.mergeData(n,{staticClass:"breadcrumb"}),o)}}),BreadcrumbPlugin=pluginFactory({components:{BBreadcrumb:BBreadcrumb,BBreadcrumbItem:BBreadcrumbItem,BBreadcrumbLink:BBreadcrumbLink}}),NAME$3="BButton",btnProps={block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String,default:function(){return getComponentConfig(NAME$3,"size")}},variant:{type:String,default:function(){return getComponentConfig(NAME$3,"variant")}},type:{type:String,default:"button"},tag:{type:String,default:"button"},pill:{type:Boolean,default:!1},squared:{type:Boolean,default:!1},pressed:{type:Boolean,default:null}},linkProps$1=propsFactory();delete linkProps$1.href.default,delete linkProps$1.to.default;var linkPropKeys=keys(linkProps$1),props$4=_objectSpread2({},linkProps$1,{},btnProps),handleFocus=function(t){"focusin"===t.type?addClass(t.target,"focus"):"focusout"===t.type&&removeClass(t.target,"focus")},isLink=function(t){return Boolean(t.href||t.to||t.tag&&"a"===String(t.tag).toLowerCase())},isToggle=function(t){return isBoolean(t.pressed)},isButton=function(t){return!isLink(t)&&(!t.tag||"button"===String(t.tag).toLowerCase())},isNonStandardTag=function(t){return!isLink(t)&&!isButton(t)},computeClass=function(t){var e;return["btn-".concat(t.variant||getComponentConfig(NAME$3,"variant")),(e={},_defineProperty(e,"btn-".concat(t.size),Boolean(t.size)),_defineProperty(e,"btn-block",t.block),_defineProperty(e,"rounded-pill",t.pill),_defineProperty(e,"rounded-0",t.squared&&!t.pill),_defineProperty(e,"disabled",t.disabled),_defineProperty(e,"active",t.pressed),e)]},computeLinkProps=function(t){return isLink(t)?pluckProps(linkPropKeys,t):null},computeAttrs=function(t,e){var i=isButton(t),n=isLink(t),o=isToggle(t),r=isNonStandardTag(t),a=e.attrs&&e.attrs.role?e.attrs.role:null,s=e.attrs?e.attrs.tabindex:null;return r&&(s="0"),{type:i&&!n?t.type:null,disabled:i?t.disabled:null,role:r?"button":a,"aria-disabled":r?String(t.disabled):null,"aria-pressed":o?String(t.pressed):null,autocomplete:o?"off":null,tabindex:t.disabled&&!i?"-1":s}},BButton=Vue.extend({name:NAME$3,functional:!0,props:props$4,render:function(t,e){var i=e.props,n=e.data,o=e.listeners,r=e.children,a=isToggle(i),s=isLink(i),l={click:function(t){i.disabled&&isEvent(t)?(t.stopPropagation(),t.preventDefault()):a&&o&&o["update:pressed"]&&concat(o["update:pressed"]).forEach((function(t){isFunction(t)&&t(!i.pressed)}))}};a&&(l.focusin=handleFocus,l.focusout=handleFocus);var u={staticClass:"btn",class:computeClass(i),props:computeLinkProps(i),attrs:computeAttrs(i,n),on:l};return t(s?BLink:i.tag,vueFunctionalDataMerge.mergeData(n,u),r)}}),ButtonPlugin=pluginFactory({components:{BButton:BButton,BBtn:BButton,BButtonClose:BButtonClose,BBtnClose:BButtonClose}}),NAME$4="BButtonGroup",props$5={vertical:{type:Boolean,default:!1},size:{type:String,default:function(){return getComponentConfig("BButton","size")}},tag:{type:String,default:"div"},ariaRole:{type:String,default:"group"}},BButtonGroup=Vue.extend({name:NAME$4,functional:!0,props:props$5,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,vueFunctionalDataMerge.mergeData(n,{class:_defineProperty({"btn-group":!i.vertical,"btn-group-vertical":i.vertical},"btn-group-".concat(i.size),Boolean(i.size)),attrs:{role:i.ariaRole}}),o)}}),ButtonGroupPlugin=pluginFactory({components:{BButtonGroup:BButtonGroup,BBtnGroup:BButtonGroup}}),KEY_CODES={SPACE:32,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,PAGEUP:33,PAGEDOWN:34,HOME:36,END:35,TAB:9,SHIFT:16,CTRL:17,BACKSPACE:8,ALT:18,PAUSE:19,BREAK:19,INSERT:45,INS:45,DELETE:46},ITEM_SELECTOR=[".btn:not(.disabled):not([disabled]):not(.dropdown-item)",".form-control:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])",'input[type="checkbox"]:not(.disabled)','input[type="radio"]:not(.disabled)'].join(","),BButtonToolbar=Vue.extend({name:"BButtonToolbar",mixins:[normalizeSlotMixin],props:{justify:{type:Boolean,default:!1},keyNav:{type:Boolean,default:!1}},mounted:function(){this.keyNav&&this.getItems()},methods:{onFocusin:function(t){t.target===this.$el&&(t.preventDefault(),t.stopPropagation(),this.focusFirst(t))},stop:function(t){t.preventDefault(),t.stopPropagation()},onKeydown:function(t){if(this.keyNav){var e=t.keyCode,i=t.shiftKey;e===KEY_CODES.UP||e===KEY_CODES.LEFT?(this.stop(t),i?this.focusFirst(t):this.focusPrev(t)):e!==KEY_CODES.DOWN&&e!==KEY_CODES.RIGHT||(this.stop(t),i?this.focusLast(t):this.focusNext(t))}},setItemFocus:function(t){t&&t.focus&&t.focus()},focusFirst:function(t){var e=this.getItems();this.setItemFocus(e[0])},focusPrev:function(t){var e=this.getItems(),i=e.indexOf(t.target);i>-1&&(e=e.slice(0,i).reverse(),this.setItemFocus(e[0]))},focusNext:function(t){var e=this.getItems(),i=e.indexOf(t.target);i>-1&&(e=e.slice(i+1),this.setItemFocus(e[0]))},focusLast:function(t){var e=this.getItems().reverse();this.setItemFocus(e[0])},getItems:function(){var t=selectAll(ITEM_SELECTOR,this.$el);return t.forEach((function(t){t.tabIndex=-1})),t.filter((function(t){return isVisible(t)}))}},render:function(t){return t("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:this.keyNav?"0":null},on:this.keyNav?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot("default")])}}),ButtonToolbarPlugin=pluginFactory({components:{BButtonToolbar:BButtonToolbar,BBtnToolbar:BButtonToolbar}}),upperFirst=function(t){return isString(t)||(t=String(t)),(t=t.trim()).charAt(0).toUpperCase()+t.slice(1)},prefixPropName=function(t,e){return t+upperFirst(e)},lowerFirst=function(t){return(t=String(t)).charAt(0).toLowerCase()+t.slice(1)},unprefixPropName=function(t,e){return lowerFirst(e.replace(t,""))},copyProps=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:identity;if(isArray(t))return t.map(e);var i={};for(var n in t)t.hasOwnProperty(n)&&(i[e(n)]=isObject(t[n])?clone(t[n]):t[n]);return i},cardMixin={props:{tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}}},props$6={title:{type:String,default:""},titleTag:{type:String,default:"h4"}},BCardTitle=Vue.extend({name:"BCardTitle",functional:!0,props:props$6,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.titleTag,vueFunctionalDataMerge.mergeData(n,{staticClass:"card-title"}),o||i.title)}}),NAME$5="BCardSubTitle",props$7={subTitle:{type:String,default:""},subTitleTag:{type:String,default:"h6"},subTitleTextVariant:{type:String,default:function(){return getComponentConfig(NAME$5,"subTitleTextVariant")}}},BCardSubTitle=Vue.extend({name:NAME$5,functional:!0,props:props$7,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.subTitleTag,vueFunctionalDataMerge.mergeData(n,{staticClass:"card-subtitle",class:[i.subTitleTextVariant?"text-".concat(i.subTitleTextVariant):null]}),o||i.subTitle)}}),props$8=_objectSpread2({},copyProps(cardMixin.props,prefixPropName.bind(null,"body")),{bodyClass:{type:[String,Object,Array],default:null}},props$6,{},props$7,{overlay:{type:Boolean,default:!1}}),BCardBody=Vue.extend({name:"BCardBody",functional:!0,props:props$8,render:function(t,e){var i,n=e.props,o=e.data,r=e.children,a=t(),s=t(),l=r||[t()];return n.title&&(a=t(BCardTitle,{props:pluckProps(props$6,n)})),n.subTitle&&(s=t(BCardSubTitle,{props:pluckProps(props$7,n),class:["mb-2"]})),t(n.bodyTag,vueFunctionalDataMerge.mergeData(o,{staticClass:"card-body",class:[(i={"card-img-overlay":n.overlay},_defineProperty(i,"bg-".concat(n.bodyBgVariant),Boolean(n.bodyBgVariant)),_defineProperty(i,"border-".concat(n.bodyBorderVariant),Boolean(n.bodyBorderVariant)),_defineProperty(i,"text-".concat(n.bodyTextVariant),Boolean(n.bodyTextVariant)),i),n.bodyClass||{}]}),[a,s].concat(_toConsumableArray(l)))}}),props$9=_objectSpread2({},copyProps(cardMixin.props,prefixPropName.bind(null,"header")),{header:{type:String,default:null},headerHtml:{type:String,default:null},headerClass:{type:[String,Object,Array],default:null}}),BCardHeader=Vue.extend({name:"BCardHeader",functional:!0,props:props$9,render:function(t,e){var i,n=e.props,o=e.data,r=e.children;return t(n.headerTag,vueFunctionalDataMerge.mergeData(o,{staticClass:"card-header",class:[n.headerClass,(i={},_defineProperty(i,"bg-".concat(n.headerBgVariant),Boolean(n.headerBgVariant)),_defineProperty(i,"border-".concat(n.headerBorderVariant),Boolean(n.headerBorderVariant)),_defineProperty(i,"text-".concat(n.headerTextVariant),Boolean(n.headerTextVariant)),i)]}),r||[t("div",{domProps:htmlOrText(n.headerHtml,n.header)})])}}),props$a=_objectSpread2({},copyProps(cardMixin.props,prefixPropName.bind(null,"footer")),{footer:{type:String,default:null},footerHtml:{type:String,default:null},footerClass:{type:[String,Object,Array],default:null}}),BCardFooter=Vue.extend({name:"BCardFooter",functional:!0,props:props$a,render:function(t,e){var i,n=e.props,o=e.data,r=e.children;return t(n.footerTag,vueFunctionalDataMerge.mergeData(o,{staticClass:"card-footer",class:[n.footerClass,(i={},_defineProperty(i,"bg-".concat(n.footerBgVariant),Boolean(n.footerBgVariant)),_defineProperty(i,"border-".concat(n.footerBorderVariant),Boolean(n.footerBorderVariant)),_defineProperty(i,"text-".concat(n.footerTextVariant),Boolean(n.footerTextVariant)),i)]}),r||[t("div",{domProps:htmlOrText(n.footerHtml,n.footer)})])}}),props$b={src:{type:String,default:null,required:!0},alt:{type:String,default:null},top:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},start:{type:Boolean,default:!1},left:{type:Boolean,default:!1},end:{type:Boolean,default:!1},right:{type:Boolean,default:!1},height:{type:[Number,String],default:null},width:{type:[Number,String],default:null}},BCardImg=Vue.extend({name:"BCardImg",functional:!0,props:props$b,render:function(t,e){var i=e.props,n=e.data,o="card-img";return i.top?o+="-top":i.right||i.end?o+="-right":i.bottom?o+="-bottom":(i.left||i.start)&&(o+="-left"),t("img",vueFunctionalDataMerge.mergeData(n,{class:[o],attrs:{src:i.src,alt:i.alt,height:i.height,width:i.width}}))}}),cardImgProps=copyProps(props$b,prefixPropName.bind(null,"img"));cardImgProps.imgSrc.required=!1;var props$c=_objectSpread2({},props$8,{},props$9,{},props$a,{},cardImgProps,{},copyProps(cardMixin.props),{align:{type:String,default:null},noBody:{type:Boolean,default:!1}}),BCard=Vue.extend({name:"BCard",functional:!0,props:props$c,render:function(t,e){var i,n=e.props,o=e.data,r=e.slots,a=e.scopedSlots,s=r(),l=a||{},u=t(),c=t(),d=t(),p=t(),h=t();if(n.imgSrc){var f=t(BCardImg,{props:pluckProps(cardImgProps,n,unprefixPropName.bind(null,"img"))});n.imgBottom?h=f:u=f}return(n.header||hasNormalizedSlot("header",l,s))&&(c=t(BCardHeader,{props:pluckProps(props$9,n)},normalizeSlot("header",{},l,s))),d=normalizeSlot("default",{},l,s)||[],n.noBody||(d=[t(BCardBody,{props:pluckProps(props$8,n)},_toConsumableArray(d))]),(n.footer||hasNormalizedSlot("footer",l,s))&&(p=t(BCardFooter,{props:pluckProps(props$a,n)},normalizeSlot("footer",{},l,s))),t(n.tag,vueFunctionalDataMerge.mergeData(o,{staticClass:"card",class:(i={"flex-row":n.imgLeft||n.imgStart,"flex-row-reverse":(n.imgRight||n.imgEnd)&&!(n.imgLeft||n.imgStart)},_defineProperty(i,"text-".concat(n.align),Boolean(n.align)),_defineProperty(i,"bg-".concat(n.bgVariant),Boolean(n.bgVariant)),_defineProperty(i,"border-".concat(n.borderVariant),Boolean(n.borderVariant)),_defineProperty(i,"text-".concat(n.textVariant),Boolean(n.textVariant)),i)}),[u,c].concat(_toConsumableArray(d),[p,h]))}}),compareArrays=function(t,e){if(t.length!==e.length)return!1;for(var i=!0,n=0;i&&n<t.length;n++)i=looseEqual(t[n],e[n]);return i},looseEqual=function t(e,i){if(e===i)return!0;var n=isDate(e),o=isDate(i);if(n||o)return!(!n||!o)&&e.getTime()===i.getTime();if(n=isArray(e),o=isArray(i),n||o)return!(!n||!o)&&compareArrays(e,i);if(n=isObject(e),o=isObject(i),n||o){if(!n||!o)return!1;if(keys(e).length!==keys(i).length)return!1;for(var r in e){var a=e.hasOwnProperty(r),s=i.hasOwnProperty(r);if(a&&!s||!a&&s||!t(e[r],i[r]))return!1}}return String(e)===String(i)},OBSERVER_PROP_NAME="__bv__visibility_observer",VisibilityObserver=function(){function t(e,i,n){_classCallCheck(this,t),this.el=e,this.callback=i.callback,this.margin=i.margin||0,this.once=i.once||!1,this.observer=null,this.visible=void 0,this.doneOnce=!1,this.createObserver(n)}return _createClass(t,[{key:"createObserver",value:function(t){var e=this;if(this.observer&&this.stop(),!this.doneOnce&&isFunction(this.callback)){try{this.observer=new IntersectionObserver(this.handler.bind(this),{root:null,rootMargin:this.margin,threshold:0})}catch(t){return this.doneOnce=!0,this.observer=void 0,void this.callback(null)}t.context.$nextTick((function(){requestAF((function(){e.observer&&e.observer.observe(e.el)}))}))}}},{key:"handler",value:function(t){var e=t?t[0]:{},i=Boolean(e.isIntersecting||e.intersectionRatio>0);i!==this.visible&&(this.visible=i,this.callback(i),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){var t=this.observer;t&&t.disconnect&&t.disconnect(),this.observer=null}}]),t}(),destroy=function(t){var e=t[OBSERVER_PROP_NAME];e&&e.stop&&e.stop(),delete t[OBSERVER_PROP_NAME]},bind=function(t,e,i){var n=e.value,o=e.modifiers,r={margin:"0px",once:!1,callback:n};keys(o).forEach((function(t){/^\d+$/.test(t)?r.margin="".concat(t,"px"):"once"===t.toLowerCase()&&(r.once=!0)})),destroy(t),t[OBSERVER_PROP_NAME]=new VisibilityObserver(t,r,i),t[OBSERVER_PROP_NAME]._prevModifiers=clone(o)},componentUpdated=function(t,e,i){var n=e.value,o=e.oldValue,r=e.modifiers;r=clone(r),!t||n===o&&t[OBSERVER_PROP_NAME]&&looseEqual(r,t[OBSERVER_PROP_NAME]._prevModifiers)||bind(t,{value:n,modifiers:r},i)},unbind=function(t){destroy(t)},VBVisible={bind:bind,componentUpdated:componentUpdated,unbind:unbind},NAME$6="BImg",BLANK_TEMPLATE='<svg width="%{w}" height="%{h}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 %{w} %{h}" preserveAspectRatio="none"><rect width="100%" height="100%" style="fill:%{f};"></rect></svg>',props$d={src:{type:String,default:null},srcset:{type:[String,Array],default:null},sizes:{type:[String,Array],default:null},alt:{type:String,default:null},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},block:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},thumbnail:{type:Boolean,default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},blank:{type:Boolean,default:!1},blankColor:{type:String,default:function(){return getComponentConfig(NAME$6,"blankColor")}}},makeBlankImgSrc=function(t,e,i){var n=encodeURIComponent(BLANK_TEMPLATE.replace("%{w}",String(t)).replace("%{h}",String(e)).replace("%{f}",i));return"data:image/svg+xml;charset=UTF-8,".concat(n)},BImg=Vue.extend({name:NAME$6,functional:!0,props:props$d,render:function(t,e){var i,n=e.props,o=e.data,r=n.src,a=parseInt(n.width,10)?parseInt(n.width,10):null,s=parseInt(n.height,10)?parseInt(n.height,10):null,l=null,u=n.block,c=concat(n.srcset).filter(Boolean).join(","),d=concat(n.sizes).filter(Boolean).join(",");return n.blank&&(!s&&Boolean(a)?s=a:!a&&Boolean(s)&&(a=s),a||s||(a=1,s=1),r=makeBlankImgSrc(a,s,n.blankColor||"transparent"),c=null,d=null),n.left?l="float-left":n.right?l="float-right":n.center&&(l="mx-auto",u=!0),t("img",vueFunctionalDataMerge.mergeData(o,{attrs:{src:r,alt:n.alt,width:a?String(a):null,height:s?String(s):null,srcset:c||null,sizes:d||null},class:(i={"img-thumbnail":n.thumbnail,"img-fluid":n.fluid||n.fluidGrow,"w-100":n.fluidGrow,rounded:""===n.rounded||!0===n.rounded},_defineProperty(i,"rounded-".concat(n.rounded),isString(n.rounded)&&""!==n.rounded),_defineProperty(i,l,Boolean(l)),_defineProperty(i,"d-block",u),i)}))}}),NAME$7="BImgLazy",props$e={src:{type:String,default:null,required:!0},srcset:{type:[String,Array],default:null},sizes:{type:[String,Array],default:null},alt:{type:String,default:null},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},blankSrc:{type:String,default:null},blankColor:{type:String,default:function(){return getComponentConfig(NAME$7,"blankColor")}},blankWidth:{type:[Number,String],default:null},blankHeight:{type:[Number,String],default:null},show:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},block:{type:Boolean,default:!1},thumbnail:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},offset:{type:[Number,String],default:360}},BImgLazy=Vue.extend({name:NAME$7,directives:{bVisible:VBVisible},props:props$e,data:function(){return{isShown:this.show}},computed:{computedSrc:function(){return!this.blankSrc||this.isShown?this.src:this.blankSrc},computedBlank:function(){return!(this.isShown||this.blankSrc)},computedWidth:function(){return this.isShown?this.width:this.blankWidth||this.width},computedHeight:function(){return this.isShown?this.height:this.blankHeight||this.height},computedSrcset:function(){var t=concat(this.srcset).filter(Boolean).join(",");return!this.blankSrc||this.isShown?t:null},computedSizes:function(){var t=concat(this.sizes).filter(Boolean).join(",");return!this.blankSrc||this.isShown?t:null}},watch:{show:function(t,e){if(t!==e){var i=!hasIntersectionObserverSupport||t;this.isShown=i,i!==t&&this.$nextTick(this.updateShowProp)}},isShown:function(t,e){t!==e&&this.updateShowProp()}},mounted:function(){this.isShown=!hasIntersectionObserverSupport||this.show},methods:{updateShowProp:function(){this.$emit("update:show",this.isShown)},doShow:function(t){!t&&null!==t||this.isShown||(this.isShown=!0)}},render:function(t){var e,i=[];this.isShown||i.push({name:"b-visible",value:this.doShow,modifiers:(e={},_defineProperty(e,"".concat(parseInt(this.offset,10)||0),!0),_defineProperty(e,"once",!0),e)});return t(BImg,{directives:i,props:{src:this.computedSrc,blank:this.computedBlank,width:this.computedWidth,height:this.computedHeight,srcset:this.computedSrcset||null,sizes:this.computedSizes||null,alt:this.alt,blankColor:this.blankColor,fluid:this.fluid,fluidGrow:this.fluidGrow,block:this.block,thumbnail:this.thumbnail,rounded:this.rounded,left:this.left,right:this.right,center:this.center}})}}),lazyProps=omit(props$e,["left","right","center","block","rounded","thumbnail","fluid","fluidGrow"]),props$f=_objectSpread2({},lazyProps,{top:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},start:{type:Boolean,default:!1},left:{type:Boolean,default:!1},end:{type:Boolean,default:!1},right:{type:Boolean,default:!1}}),BCardImgLazy=Vue.extend({name:"BCardImgLazy",functional:!0,props:props$f,render:function(t,e){var i=e.props,n=e.data,o="card-img";i.top?o+="-top":i.right||i.end?o+="-right":i.bottom?o+="-bottom":(i.left||i.start)&&(o+="-left");var r=_objectSpread2({},i,{left:!1,right:!1,center:!1});return t(BImgLazy,vueFunctionalDataMerge.mergeData(n,{class:[o],props:r}))}}),props$g={textTag:{type:String,default:"p"}},BCardText=Vue.extend({name:"BCardText",functional:!0,props:props$g,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.textTag,vueFunctionalDataMerge.mergeData(n,{staticClass:"card-text"}),o)}}),props$h={tag:{type:String,default:"div"},deck:{type:Boolean,default:!1},columns:{type:Boolean,default:!1}},BCardGroup=Vue.extend({name:"BCardGroup",functional:!0,props:props$h,render:function(t,e){var i=e.props,n=e.data,o=e.children,r="card-group";return